正在显示
2 个修改的文件
包含
19 行增加
和
0 行删除
app/admin/controller/GiftController.php
0 → 100644
1 | +<?php | ||
2 | +namespace app\admin\controller; | ||
3 | +use cmf\controller\AdminBaseController; | ||
4 | +use think\Db; | ||
5 | + | ||
6 | +class GiftController extends AdminBaseController { | ||
7 | + | ||
8 | + public function index() { | ||
9 | + $request = request(); | ||
10 | + if($request->isPost()) { | ||
11 | + | ||
12 | + }else { | ||
13 | + return $this->fetch('', [ | ||
14 | + 'data' => Db::name('sami_gift')->where(['id'=>1])->find() | ||
15 | + ]); | ||
16 | + } | ||
17 | + } | ||
18 | + | ||
19 | +} |
-
请 注册 或 登录 后发表评论