作者 lyh

gx

... ... @@ -587,7 +587,7 @@ class ProjectController extends BaseController
*/
public function getServiceConfig(){
$serviceConfigModel = new ServerConfig();
$list = $serviceConfigModel->list($this->param,'id',['id','type','title','init_domain','service_type']);
$list = $serviceConfigModel->list($this->param,'id',['id','type','title','count','init_domain','service_type']);
$this->response('success',Code::SUCCESS,$list);
}
... ...
... ... @@ -149,7 +149,7 @@ class CustomModuleContentLogic extends BaseLogic
* @time :2023/12/7 15:04
*/
public function contentAdd(){
// try {
try {
$this->param['sort'] = $this->setNewsSort();
$id = $this->model->addReturnId($this->param);
$route = RouteMap::setRoute($this->param['route'], RouteMap::SOURCE_MODULE,
... ... @@ -157,9 +157,9 @@ class CustomModuleContentLogic extends BaseLogic
$this->addUpdateNotify(RouteMap::SOURCE_MODULE,$route);
$this->curlDelRoute(['new_route'=>$route]);
$this->edit(['route' => $route], ['id' => $id]);
// }catch (\Exception $e){
// $this->fail('系统错误,请联系管理员');
// }
}catch (\Exception $e){
$this->fail('系统错误,请联系管理员');
}
return $id;
}
... ...