123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- namespace app\admin\controller\decoration;
- use app\admin\logic\decoration\BottomNavLogic;
- use app\common\basics\AdminBase;
- use app\common\server\JsonServer;
-
- class BottomNav extends AdminBase{
-
-
-
- public function lists(){
- if($this->request->isAjax()){
- $list = BottomNavLogic::lists();
- return JsonServer::success('',$list);
- }
- return view();
- }
-
-
-
- public function edit(){
- if($this->request->isAjax()){
- $post = $this->request->post();
- BottomNavLogic::edit($post);
- return JsonServer::success('修改成功');
-
- }
- $id = $this->request->get('id');
- $detail = BottomNavLogic::getBootomNav($id);
- return view('',['detail'=>$detail]);
-
-
- }
- }
|