fix
This commit is contained in:
parent
baba117865
commit
42f31ed4cc
|
@ -87,7 +87,7 @@ func (l *GetCartNumLogic) GetCartNum(req *types.Request, userinfo *auth.UserInfo
|
||||||
return resp.SetStatusWithMessage(basic.CodeServiceErr, "system err:failed to check shopping cart change data")
|
return resp.SetStatusWithMessage(basic.CodeServiceErr, "system err:failed to check shopping cart change data")
|
||||||
}
|
}
|
||||||
return resp.SetStatusWithMessage(basic.CodeOK, "success", types.GetCartNumRsp{
|
return resp.SetStatusWithMessage(basic.CodeOK, "success", types.GetCartNumRsp{
|
||||||
TotalCount: total - int64(len(mapCartChange)),
|
TotalCount: total - int64(len(mapCartChange)), //总数 - 失效的
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user