File tree 2 files changed +4
-4
lines changed
application/common/controller
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 39
39
...
40
40
41
41
### 🛠 安装要求
42
- * PHP 版本 &ge ; 5.6( & le ; 7.3)
42
+ * PHP 版本 &ge ; 5.6
43
43
* mysql 版本 &ge ; 5.5
44
44
* PDO 拓展
45
45
* ZipArchive 支持
46
46
* fileinfo 拓展
47
47
* curl 拓展
48
48
49
- 注:推荐使用 PHP 7.3, 如果使用 FTP 功能,需要开启 PHP 的 FTP 拓展
49
+ 注:如果使用 FTP 功能,需要开启 PHP 的 FTP 拓展
50
50
51
51
### 🔍 安装教程
52
52
1 . 下载兰空,上传至 web 运行环境,解压。
Original file line number Diff line number Diff line change @@ -171,13 +171,13 @@ public function exec()
171
171
$ imageData ['folder_id ' ] = $ folderId ;
172
172
}
173
173
174
- if (!$ img = Images::create ($ imageData )) {
174
+ if (!$ model = Images::create ($ imageData )) {
175
175
$ this ->strategy ->delete ($ pathname );
176
176
throw new Exception ('图片数据保存失败 ' );
177
177
}
178
178
179
179
$ data = [
180
- 'id ' => $ img ->id ,
180
+ 'id ' => $ model ->id ,
181
181
'name ' => $ image ->getInfo ('name ' ),
182
182
'url ' => $ url ,
183
183
'size ' => $ size ,
You can’t perform that action at this time.
0 commit comments