nizongfeng 3 年之前
父節點
當前提交
5ae3dbff1f
共有 1 個檔案被更改,包括 23 行新增0 行删除
  1. +23
    -0
      application/admin/controller/ReceiptOrder.php

+ 23
- 0
application/admin/controller/ReceiptOrder.php 查看文件

@@ -196,4 +196,27 @@ class ReceiptOrder extends Backend
$result = $service->save($params);
return json($result);
}

/**
* 获取列表
* @return \think\response\Json
*/
public function getList(){
$params=$this->request->post();
$service = new ReceiptOrderDao();
$result = $service->getList($params);
return json($result);
}

/**
* 状态设置
* @return \think\response\Json
*/
public function setStatus(){
$params=$this->request->post();
$service = new ReceiptOrderDao();
$result = $service->setStatus($params['id'],$params['status']);
return json($result);
}

}

Loading…
取消
儲存