正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -78,8 +78,8 @@ class ServerConfigLogic extends BaseLogic | @@ -78,8 +78,8 @@ class ServerConfigLogic extends BaseLogic | ||
| 78 | DB::beginTransaction(); | 78 | DB::beginTransaction(); |
| 79 | try { | 79 | try { |
| 80 | //保存配置 | 80 | //保存配置 |
| 81 | - $this->param['create_at'] = date('Y-m-d H:i:s'); | ||
| 82 | - $this->param['updated_at'] = $this->param['create_at']; | 81 | + $this->param['created_at'] = date('Y-m-d H:i:s'); |
| 82 | + $this->param['updated_at'] = $this->param['created_at']; | ||
| 83 | $res = $this->model->insertGetId($this->param); | 83 | $res = $this->model->insertGetId($this->param); |
| 84 | if ($this->param['type'] == ServerConfig::TYPE_SERVER) { | 84 | if ($this->param['type'] == ServerConfig::TYPE_SERVER) { |
| 85 | $data['serve_id'] = $res; | 85 | $data['serve_id'] = $res; |
-
请 注册 或 登录 后发表评论