|
|
@@ -61,7 +61,7 @@ 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)){
|