mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
注释文件写入接口
This commit is contained in:
parent
2e7f25d6e9
commit
d765fd29e9
@ -60,6 +60,8 @@ class SystemFile extends AuthController
|
||||
//保存文件
|
||||
public function savefile()
|
||||
{
|
||||
return app('json')->fail('请勿在生产环境使用,该接口存在危险性!!!');//如果开发环境,可以注释本行
|
||||
|
||||
$comment = $this->request->param('comment');
|
||||
$filepath = $this->request->param('filepath');
|
||||
if(empty($comment) || empty($filepath)){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user