作者 lyh

gx

... ... @@ -14,6 +14,6 @@ class WebSettingCountryController extends BaseController
* @time :2023/4/28 14:40
*/
public function lists(WebSettingCountryLogic $webSettingCountryLogic){
}
}
... ...
... ... @@ -44,6 +44,7 @@ class WebSettingLogic extends BaseLogic
//查看数据是否存在
$info = $this->model->read(['project_id'=>$this->user['project_id']]);
if($info === false){
$this->param['operator_id'] = $this->user['id'];
$this->param['project_id'] = $this->user['project_id'];
$rs = $this->model->add($this->param);
}else{
... ...
... ... @@ -129,7 +129,7 @@ return [
],
//操作日志
'operator_log' =>[
'log'=>true,//true开启
'log'=>false,//true开启
'action' => [],//不需要写入日志的方法
],
];
... ...