优化安装命令

This commit is contained in:
kuaifan
2021-12-08 17:27:16 +08:00
parent 43a5fb4bd3
commit f796c2c1e2
13 changed files with 159 additions and 90 deletions

View File

@@ -353,7 +353,7 @@ class FileController extends AbstractController
//
if ($status === 2) {
$parse = parse_url($url);
$from = 'http://10.22.22.6' . $parse['path'] . '?' . $parse['query'];
$from = 'http://' . env('APP_IPPR') . '.6' . $parse['path'] . '?' . $parse['query'];
$path = 'uploads/office/' . date("Ym") . '/' . $file->id . '/' . $user->userid . '-' . $key;
$save = public_path($path);
Base::makeDir(dirname($save));

View File

@@ -175,9 +175,9 @@ class UsersController extends AbstractController
"userimg": "",
"login_num": 10,
"changepass": 0,
"last_ip": "10.22.22.1",
"last_ip": "127.0.0.1",
"last_at": "2021-06-01 12:00:00",
"line_ip": "10.22.22.1",
"line_ip": "127.0.0.1",
"line_at": "2021-06-01 12:00:00",
"created_ip": "",
}