|
...
|
...
|
@@ -78,6 +78,8 @@ class ServerConfigLogic extends BaseLogic |
|
|
|
DB::beginTransaction();
|
|
|
|
try {
|
|
|
|
//保存配置
|
|
|
|
$this->param['create_at'] = date('Y-m-d H:i:s');
|
|
|
|
$this->param['updated_at'] = $this->param['create_at'];
|
|
|
|
$res = $this->model->insertGetId($this->param);
|
|
|
|
if ($this->param['type'] == ServerConfig::TYPE_SERVER) {
|
|
|
|
$data['serve_id'] = $res;
|
...
|
...
|
|