123456789101112131415161718192021222324252627 |
- <?php
- namespace app\api\controller\v1;
- use app\hander\HelpHander;
- use think\Controller;
- use think\Db;
- class Common extends Controller
- {
- public function loginBanner(){
- $lists = Db::name('banner')
- ->where('type',0)
- ->where('del',0)
- ->where('enable',1)
- ->order('sort asc,id asc')
- ->select();
- $lists = $lists?$lists:[];
- HelpHander::success($lists);
- }
- public function newAppMgr(){
- $ret = model('AppMgr')->appMgr(1);
- HelpHander::success($ret);
- }
- }
|