增加产品推荐接口

This commit is contained in:
laodaming 2023-06-06 18:27:28 +08:00
parent cf852c5a87
commit 21b22a3409
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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