nizongfeng 3 anni fa
parent
commit
5ae3dbff1f
1 ha cambiato i file con 23 aggiunte e 0 eliminazioni
  1. +23
    -0
      application/admin/controller/ReceiptOrder.php

+ 23
- 0
application/admin/controller/ReceiptOrder.php Vedi File

@@ -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);
}

}

Caricamento…
Annulla
Salva