修改\app\common\middleware\MerchantCheckBaseInfoMiddleware.php文件,内容如下
protected $rules = [
'merchantAttachmentCategoryCreate',
'merchantUpdate',
'merchantUploadImage',
'merchant.Common/uploadCertificate',
'merchantAttachmentCategoryUpdate',
'merchantAttachmentCategoryDelete',
'merchantAttachmentUpdate',
'merchantAttachmentDelete'
];
修改完后记得重启 swoole 服务