fix
This commit is contained in:
parent
6987f2c2d1
commit
246e03d792
|
@ -38,7 +38,6 @@ func NewGetCartsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCarts
|
||||||
// }
|
// }
|
||||||
|
|
||||||
func (l *GetCartsLogic) GetCarts(req *types.GetCartsReq, userinfo *auth.UserInfo) (resp *basic.Response) {
|
func (l *GetCartsLogic) GetCarts(req *types.GetCartsReq, userinfo *auth.UserInfo) (resp *basic.Response) {
|
||||||
userinfo.UserId = 39
|
|
||||||
if req.CurrentPage <= 0 {
|
if req.CurrentPage <= 0 {
|
||||||
req.CurrentPage = constants.DEFAULT_PAGE
|
req.CurrentPage = constants.DEFAULT_PAGE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user