123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- /**
- *
- * @author: xaboy<365615158@qq.com>
- * @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));
- }
- }
|