新增药品订单接口

This commit is contained in:
2023-03-11 17:43:41 +08:00
parent 9a311d78f3
commit 9fd87ac071
7 changed files with 232 additions and 24 deletions
+22
View File
@@ -103,4 +103,26 @@ class PatientOrderController extends AbstractController
$data = $PatientOrderService->getPatientProductOrderInfo();
return $this->response->json($data);
}
/**
* 药品订单取消支付
* @return ResponseInterface
*/
public function putPatientProductOrderCancelPay(): ResponseInterface
{
$PatientOrderService = new PatientOrderService();
$data = $PatientOrderService->putPatientProductOrderCancelPay();
return $this->response->json($data);
}
/**
* 删除药品订单
* @return ResponseInterface
*/
public function deletePatientProductOrder(): ResponseInterface
{
$PatientOrderService = new PatientOrderService();
$data = $PatientOrderService->deletePatientProductOrder();
return $this->response->json($data);
}
}
+16 -7
View File
@@ -152,23 +152,32 @@ class UserController extends AbstractController
// 发送消息
// $arg = array();
// $arg['From_Account'] = "10000"; // 发送方user_id 如系统发送,无需填写
// $arg['To_Account'] = "123456"; // 接收方user_id
// $arg['ForbidCallbackControl'] = ['ForbidBeforeSendMsgCallback'];
// $arg['SendMsgControl'] = [];
//// $arg['From_Account'] = "10000"; // 发送方user_id 如系统发送,无需填写
// $arg['To_Account'] = "10000"; // 接收方user_id
//// $arg['ForbidCallbackControl'] = ['ForbidBeforeSendMsgCallback'];
//// $arg['SendMsgControl'] = [];
//
// $arg['MsgBody'] = [
//// [
//// "MsgType" => "TIMTextElem",
//// "MsgContent" => [
//// "Text" => "ceshi",
//// ],
//// ]
// [
// "MsgType" => "TIMTextElem",
// "MsgType" => "TIMCustomElem",
// "MsgContent" => [
// "Text" => "发送11122",
// "Data" => "{\"message_type\":1,\"content\":\"\"}",
// "Desc" => "自定义消息",
// "Ext" => "url",
// "Sound" => "dingdong.aiff",
// ],
// ]
// ];
//
// // 自定义消息
// $cloud_custom_data = array();
// $cloud_custom_data['order_inquiry_id'] = 491963820554948608;
// $cloud_custom_data['order_inquiry_id'] = 1;
// $cloud_custom_data['is_system'] = 0;
// $cloud_custom_data['inquiry_type'] = 2;
//