fix
This commit is contained in:
@@ -122,5 +122,5 @@ func (l *CartAddLogic) CartAdd(req *types.CartAddReq, userinfo *auth.UserInfo) (
|
||||
logx.Error(err)
|
||||
return resp.SetStatusWithMessage(basic.CodeServiceErr, "failed to add to cart")
|
||||
}
|
||||
return resp.SetStatus(basic.CodeOK)
|
||||
return resp.SetStatusWithMessage(basic.CodeOK, "add to cart success")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user