增加产品推荐接口
This commit is contained in:
parent
cf852c5a87
commit
21b22a3409
|
@ -21,7 +21,7 @@ func GetProductListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
|||
if err := httpx.Parse(r, &req); err != nil {
|
||||
httpx.OkJsonCtx(r.Context(), w, &types.Response{
|
||||
Code: 510,
|
||||
Message: "parameter error",
|
||||
Message: err.Error(),
|
||||
})
|
||||
logx.Info(err)
|
||||
return
|
||||
|
|
|
@ -21,7 +21,7 @@ func GetSuccessRecommandHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
|||
if err := httpx.Parse(r, &req); err != nil {
|
||||
httpx.OkJsonCtx(r.Context(), w, &types.Response{
|
||||
Code: 510,
|
||||
Message: "parameter error",
|
||||
Message: err.Error(),
|
||||
})
|
||||
logx.Info(err)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user