fix
This commit is contained in:
parent
c94e59c907
commit
668db55e6b
|
@ -39,7 +39,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