1234567891011121314151617181920212223242526 |
- <?php
- namespace app\mobile\controller;
- use app\BaseController;
- use app\mobile\logic\OrderLogic;
- //【订单】
- class Order extends BaseController
- {
- //订单列表
- public function list(){
- $param = $this->request->only(['page' => 1, 'size' => 10,'status'=>''], 'post');
- return OrderLogic::list($param);
- }
- //订单详情
- public function info(){
- $id = $this->request->post('id/d', 0);
- return OrderLogic::info($id);
- }
- }
|