123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- namespace app\adminapi\controller\diy;
- use app\service\admin\diy\DiyConfigService;
- use core\base\BaseAdminController;
- use think\Response;
- class Config extends BaseAdminController
- {
-
- public function getBottomList()
- {
- return success(( new DiyConfigService() )->getBottomList());
- }
-
- public function getBottomConfig()
- {
- return success(( new DiyConfigService() )->getBottomConfig());
- }
-
- public function setBottomConfig()
- {
- $data = $this->request->params([
- [ 'value', [] ],
- ]);
- ( new DiyConfigService() )->setBottomConfig($data[ 'value' ]);
- return success();
- }
- }
|