Browse Source

添加评论

whitefang 1 năm trước cách đây
mục cha
commit
46ca09c64f

+ 1 - 1
app/api/controller/GoodsReviewsController.php

@@ -33,6 +33,6 @@ class GoodsReviewsController extends BaseApiController
         if (false === $result) {
         if (false === $result) {
             return $this->fail(GoodsReviewsLogic::getError());
             return $this->fail(GoodsReviewsLogic::getError());
         }
         }
-        return $this->data($result);
+        return $this->success('评论成功', [], 1, 1);
     }
     }
 }
 }