新增药品订单接口
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user