正在显示
2 个修改的文件
包含
68 行增加
和
0 行删除
app/admin/controller/OrderConttoller.php
0 → 100644
1 | +<?php | ||
2 | +/** | ||
3 | + * Created by PhpStorm. | ||
4 | + * auther: sgj | ||
5 | + * Date: 2019/1/19 | ||
6 | + * Time: 15:17 | ||
7 | + */ | ||
8 | + | ||
9 | +namespace app\admin\controller; | ||
10 | + | ||
11 | + | ||
12 | +use cmf\controller\AdminBaseController; | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | +/** | ||
17 | + * Class OrderController | ||
18 | + * @package app\admin\controller | ||
19 | + * @adminMenuRoot( | ||
20 | + * 'name' =>'订单管理', | ||
21 | + * 'action' =>'default', | ||
22 | + * 'parent' =>'', | ||
23 | + * 'display'=> true, | ||
24 | + * 'order' => 30, | ||
25 | + * 'icon' =>'th', | ||
26 | + * 'remark' =>'订单管理' | ||
27 | + * ) | ||
28 | + */ | ||
29 | +class OrderConttoller extends AdminBaseController | ||
30 | +{ | ||
31 | + /** | ||
32 | + *订单列表 | ||
33 | + * @adminMenu( | ||
34 | + * 'name' => '订单列表', | ||
35 | + * 'parent' => 'default', | ||
36 | + * 'display'=> true, | ||
37 | + * 'hasView'=> true, | ||
38 | + * 'order' => 10000, | ||
39 | + * 'icon' => '', | ||
40 | + * 'remark' => '订单列表', | ||
41 | + * 'param' => '' | ||
42 | + * ) | ||
43 | + */ | ||
44 | + public function index(){ | ||
45 | + | ||
46 | + return $this->fetch(); | ||
47 | + } | ||
48 | + | ||
49 | +} |
app/admin/model/OrderModel.php
0 → 100644
-
请 注册 或 登录 后发表评论