代码失误,少写了个$

This commit is contained in:
hdm 2023-02-27 09:36:33 +08:00
parent ce48005ed9
commit 257cd58224

View File

@ -83,7 +83,7 @@ class Index extends BaseController
$data['action'] = app('request')->action();
$data['uploadip'] = app('request')->ip();
$data['create_time'] = time();
$data['user_id'] = this->uid;
$data['user_id'] = $this->uid;
if ($data['module'] = 'admin') {
//通过后台上传的文件直接审核通过
$data['status'] = 1;