How to store the new file name in the database after uploading the file in Thinkphp6!
A _ Q _i_
A _ Q _i_ 2021-11-27 10:49:56
0
1
988
新文件名称为 $saveName
我也尝试在类里面定义一个属性性 public $name 通过来获取这个$saveName,但是放到属性里面都无法获取 NULL

QQ图片20211127104530.png

A _ Q _i_
A _ Q _i_

reply all(1)
demo

$saveName I don’t know where you defined it? But the assignment is in the method, and the assignment can only be completed after the method is executed

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template