@ -63,6 +63,7 @@ $configs = array(
'password' => '88888888',
'captcha' => true, //后台登陆是否开启验证码
'maxUploadFileNumber' => 5, //一次批量上传文件数量
'maxUploadFileSize' => 20, //单位:Mb
'allowedUploadFileTypes' => array(
'image/jpeg',
@ -793,6 +793,7 @@ Class ApiController extends Controller {
$data['admin_captcha'] = $configs['admin']['captcha'];
$data['admin_maxUploadFileSize'] = $configs['admin']['maxUploadFileSize'] * 1024*1024;
$data['admin_supportedFileTypes'] = $configs['admin']['allowedUploadFileTypes'];
$data['admin_maxUploadFileNumber'] = $configs['admin']['maxUploadFileNumber'];
$code = 1;
$msg = '';