优化上传文件代码

dev
曾超新 5 years ago
parent 1445ffa914
commit d91111d907
  1. 2
      frontend/controllers/CommonController.php

@ -365,6 +365,8 @@ class CommonController extends \yii\web\Controller
}
public function actionUpload(){
set_time_limit(0);
ini_set('memory_limit', '3072M');
Yii::$app->response->format = Response::FORMAT_JSON;
$request = Yii::$app->request;
$data = array();

Loading…
Cancel
Save