新增取消订单恢复优惠卷,新增获取订单支付数据接口
This commit is contained in:
@@ -8,7 +8,9 @@ use App\Constants\HttpEnumCode;
|
||||
use App\Exception\BusinessException;
|
||||
use App\Model\Hospital;
|
||||
use App\Model\OrderInquiry;
|
||||
use App\Model\OrderInquiryCoupon;
|
||||
use App\Model\OrderInquiryRefund;
|
||||
use App\Model\UserCoupon;
|
||||
use App\Model\UserDoctor;
|
||||
use App\Model\UserPatient;
|
||||
use App\Services\BaseService;
|
||||
|
||||
@@ -125,4 +125,20 @@ class PatientOrderController extends AbstractController
|
||||
$data = $PatientOrderService->deletePatientProductOrder();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取患者订单支付数据
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getPatientOrderPayInfo(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(PatientOrderRequest::class);
|
||||
$request->scene('getPatientOrderPayInfo')->validateResolved();
|
||||
|
||||
$PatientOrderService = new PatientOrderService();
|
||||
$data = $PatientOrderService->getPatientOrderPayInfo();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
@@ -221,5 +221,6 @@ class UserController extends AbstractController
|
||||
// $imService->addRecentContactRecordCache("491925054779883520", 2, 10004, $data);
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user