Order.php 478 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace app\mobile\controller;
  3. use app\BaseController;
  4. use app\mobile\logic\OrderLogic;
  5. //【订单】
  6. class Order extends BaseController
  7. {
  8. //订单列表
  9. public function list(){
  10. $param = $this->request->only(['page' => 1, 'size' => 10,'status'=>''], 'post');
  11. return OrderLogic::list($param);
  12. }
  13. //订单详情
  14. public function info(){
  15. $id = $this->request->post('id/d', 0);
  16. return OrderLogic::info($id);
  17. }
  18. }