Quellcode durchsuchen

上传不需要登录

lizhen_gitee vor 2 Jahren
Ursprung
Commit
75666f05ea
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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
 class Common extends Api
 {
 {
-    protected $noNeedLogin = ['init'];
+    protected $noNeedLogin = ['init','upload'];
     protected $noNeedRight = '*';
     protected $noNeedRight = '*';
 
 
     /**
     /**