作者 sgj
1 个管道 的构建 通过 耗费 2 秒

积分bug修改

  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 +}
  1 +<?php
  2 +/**
  3 + * Created by PhpStorm.
  4 + * auther: sgj
  5 + * Date: 2019/1/19
  6 + * Time: 15:23
  7 + */
  8 +
  9 +namespace app\admin\model;
  10 +
  11 +
  12 +use think\Model;
  13 +
  14 +class OrderModel extends Model
  15 +{
  16 + public function index(){
  17 +
  18 + }
  19 +}