Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop
正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -124,7 +124,7 @@ class ATemplateController extends BaseController | @@ -124,7 +124,7 @@ class ATemplateController extends BaseController | ||
| 124 | * @time :2023/7/10 15:30 | 124 | * @time :2023/7/10 15:30 |
| 125 | */ | 125 | */ |
| 126 | public function getHeadFooter(ATemplateLogic $aTemplateLogic){ | 126 | public function getHeadFooter(ATemplateLogic $aTemplateLogic){ |
| 127 | - $info = $aTemplateLogic->getHeadFooterInfo(); | 127 | + $info = $aTemplateLogic->getHeadFooterList(); |
| 128 | $this->response('success',Code::SUCCESS,$info); | 128 | $this->response('success',Code::SUCCESS,$info); |
| 129 | } | 129 | } |
| 130 | } | 130 | } |
| @@ -151,9 +151,9 @@ class ATemplateLogic extends BaseLogic | @@ -151,9 +151,9 @@ class ATemplateLogic extends BaseLogic | ||
| 151 | * @method :post | 151 | * @method :post |
| 152 | * @time :2023/7/10 15:33 | 152 | * @time :2023/7/10 15:33 |
| 153 | */ | 153 | */ |
| 154 | - public function getHeadFooterInfo(){ | 154 | + public function getHeadFooterList(){ |
| 155 | $serviceSettingModel = new ServiceSettingModel(); | 155 | $serviceSettingModel = new ServiceSettingModel(); |
| 156 | - $info = $serviceSettingModel->list(['type'=>2],'created_at',['key','values','created_at']); | ||
| 157 | - return $this->success($info); | 156 | + $list = $serviceSettingModel->list(['type'=>2]); |
| 157 | + return $this->success($list); | ||
| 158 | } | 158 | } |
| 159 | } | 159 | } |
-
请 注册 或 登录 后发表评论