15954078560 3 роки тому
батько
коміт
a9b3ef7fed
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      application/api/controller/Eyemargin.php

+ 2 - 2
application/api/controller/Eyemargin.php

@@ -36,8 +36,8 @@ class Eyemargin extends Common
             $this->error(__('发布内容存在敏感词汇:'.$str_arr['sensitiveWord'].' 请重新编辑后发布!'));
         }
         // 判断当前用户是否实名认证
-        $userAuthInfo = \app\common\model\UserAuth::userIsAuth($this->auth->id);
-        if($userAuthInfo['status'] == 0) $this->error($userAuthInfo['msg']);
+//        $userAuthInfo = \app\common\model\UserAuth::userIsAuth($this->auth->id);
+//        if($userAuthInfo['status'] == 0) $this->error($userAuthInfo['msg']);
 
         //限制视频数量
         $eyemargin_count = Db::name('eyemargin')->where(['user_id' => $this->auth->id])->count('id');