Browse Source

上传不需要登录

lizhen_gitee 1 year ago
parent
commit
75666f05ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Common.php

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

@@ -16,7 +16,7 @@ use think\Hook;
  */
 class Common extends Api
 {
-    protected $noNeedLogin = ['init'];
+    protected $noNeedLogin = ['init','upload'];
     protected $noNeedRight = '*';
 
     /**