作者 lyh

gx

... ... @@ -523,9 +523,9 @@ class BTemplateLogic extends BaseLogic
$info = $templateComModel->read($condition);
if($info === false){
$param = array_merge($param,$condition);
$this->model->add($param);
$templateComModel->add($param);
}else{
$this->model->edit($param,$condition);
$templateComModel->edit($param,$condition);
}
}
return $this->success();
... ...