暂时不登录
This commit is contained in:
@@ -14,6 +14,11 @@ use support\Request;
|
||||
|
||||
class UploadController
|
||||
{
|
||||
|
||||
/**
|
||||
* 不需要登录的方法
|
||||
*/
|
||||
protected $noNeedLogin = ['uploadImage'];
|
||||
// 允许的文件类型
|
||||
protected $allowedMimeTypes = [
|
||||
'image/jpeg',
|
||||
|
||||
Reference in New Issue
Block a user