合并分支 'master-server' 到 'master'
gx小语种监控 查看合并请求 !937
正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -41,7 +41,9 @@ class OperationHeartbeatController extends BaseController | @@ -41,7 +41,9 @@ class OperationHeartbeatController extends BaseController | ||
| 41 | 'is_custom.required' => '是否为扩展模版', | 41 | 'is_custom.required' => '是否为扩展模版', |
| 42 | 'is_template.required' => '详情页/可视化', | 42 | 'is_template.required' => '详情页/可视化', |
| 43 | ]); | 43 | ]); |
| 44 | - | 44 | + if(empty($this->param['source_id'])){ |
| 45 | + $this->response('success'); | ||
| 46 | + } | ||
| 45 | $condition = ['project_id'=>$this->user['project_id'],'source'=>$this->param['source'],'source_id'=>$this->param['source_id'], | 47 | $condition = ['project_id'=>$this->user['project_id'],'source'=>$this->param['source'],'source_id'=>$this->param['source_id'], |
| 46 | 'is_list'=>$this->param['is_list'],'is_custom'=>$this->param['is_custom'],'is_template'=>$this->param['is_template']]; | 48 | 'is_list'=>$this->param['is_list'],'is_custom'=>$this->param['is_custom'],'is_template'=>$this->param['is_template']]; |
| 47 | $operationHeartbeatModel = new OperationHeartbeat(); | 49 | $operationHeartbeatModel = new OperationHeartbeat(); |
-
请 注册 或 登录 后发表评论