* @day: 2017/11/11 */ namespace app\admin\controller\order; use app\admin\controller\AuthController; use crmeb\repositories\OrderRepository; use crmeb\repositories\ShortLetterRepositories; use crmeb\services\{ExpressService, JsonService, JsonService as Json, MiniProgramService, WechatService, FormBuilder as Form, CacheService, UtilService as Util}; use app\admin\model\ump\StorePink; use crmeb\basic\BaseModel; use think\facade\Route as Url; use crmeb\services\YLYService; use think\facade\Log; use think\facade\Validate; /** * 订单管理控制器 同一个订单表放在一个控制器 * Class StoreOrder * @package app\admin\controller\store */ class StoreOrderIncrement extends AuthController { /** * @return mixed */ public function index() { $this->assign([ 'year' => get_month(), ]); return $this->fetch(); } public function list() { $where = Util::getMore([ ['status', ''], ['page', 1], ['limit', 20], ['name', ''], ['data', ''], ['order', ''], ]); return Json::successlayui(\app\models\store\StoreOrderIncrement::list($where)); } }