瀏覽代碼

会员升级

Kirin 2 年之前
父節點
當前提交
78c280c522
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/api/v1/user/UserController.php

+ 1 - 1
app/controller/api/v1/user/UserController.php

@@ -273,7 +273,7 @@ class UserController
     public function awardIntegralList(Request $request, UserAwardIntegralServices $services, $type = 0)
     {
         $where = ['uid' => $request->uid()];
-        if ($type > 0) {
+        if ($type <= 1) {
             $where['type'] = ($type == 1 ? 1 : 0);
         }
         return app('json')->success($services->getIntegralList($where));