opt 1.2.3

This commit is contained in:
Tokumeikoi 2020-03-10 13:47:50 +08:00
parent 97056be8c3
commit 8ac8427c2f

View File

@ -178,7 +178,7 @@ class ServerController extends Controller
if (!$server) {
abort(500, '服务器不存在');
}
if (!Server::create($server)) {
if (!Server::create($server->toArray())) {
abort(500, '复制失败');
}