瀏覽代碼

填写邀请人

lizhen_gitee 1 年之前
父節點
當前提交
e9367e5e2d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/User.php

+ 1 - 1
application/api/controller/User.php

@@ -139,7 +139,7 @@ class User extends Api
         }
         $user_id = $this->auth->id;
 
-        if(!empty($this->auth->pre_userid)){
+        if($this->auth->pre_userid){
             $this->error('您已经填写过邀请人');
         }