Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发现的两个问题 #4

Open
wimdoan opened this issue Nov 11, 2021 · 3 comments
Open

发现的两个问题 #4

wimdoan opened this issue Nov 11, 2021 · 3 comments

Comments

@wimdoan
Copy link

wimdoan commented Nov 11, 2021

感谢作者分享这套代码,模块简洁清晰,代码结构很好
跑了下代码,还不能完整跑起来,有以下问题希望作者能提供帮助
1.缺少oauth2代码模块,管理后台无法完成授权验证
2.商品库存量是绑定在商品基本信息里,sku信息里没有库存量,不知道这块作者的设计初衷是什么?

发现的其他次要问题:
1.go.mod 文件引用了两个版本的gorm,会造成有些db操作出错,删掉老版本gorm然后调整代码就好了
2.购物车数据接口返回的商品价格计算时用商品基本价格+上了sku计算的offsetPrice,造成价格翻倍,这个应该是bug吧?

以上问题,主要是第一条oauth模块缺失问题,麻烦作者给予解答,感谢!

@xxjwxc
Copy link
Owner

xxjwxc commented Nov 11, 2021

oauth2请参考
https://github.com/xxjwxc/oauth2

有bug可以提mr,欢迎一起维护

这个oauth2可能有更新!主要是admin管理端使用

@xxjwxc
Copy link
Owner

xxjwxc commented Nov 11, 2021

期待你的pr

@wimdoan
Copy link
Author

wimdoan commented Nov 11, 2021

好的,感谢快速回复👍
我先研究下,把代码完整跑起来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants