Browse Source

fix:提示信息

super-yimizi 12 hours ago
parent
commit
c05867cc9e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      application/api/controller/user/Account.php

+ 3 - 3
application/api/controller/user/Account.php

@@ -32,9 +32,9 @@ class Account extends Base
         }
 
         $data = AccountModel::where($where)->order('updatetime desc')->find();
-        if (!$data) {
-            $this->error(__('No Results were found'));
-        }
+        // if (!$data) {
+        //     $this->error(__('No Results were found'));
+        // }
 
         $this->success('获取成功', $data);
     }