新增医生开具处方对接ca平台
This commit is contained in:
@@ -5,6 +5,7 @@ namespace App\Controller;
|
||||
use App\Amqp\Producer\AssignDoctorProducer;
|
||||
use App\Amqp\Producer\CancelUnpayOrdersDelayDirectProducer;
|
||||
use App\Constants\HttpEnumCode;
|
||||
use App\Exception\BusinessException;
|
||||
use App\Model\DoctorInquiryTime;
|
||||
use App\Model\DoctorPharmacistCert;
|
||||
use App\Model\OrderInquiry;
|
||||
@@ -503,7 +504,17 @@ class TestController extends AbstractController
|
||||
}
|
||||
|
||||
public function test_11(){
|
||||
$OrderPrescriptionService = new OrderPrescriptionService();
|
||||
$result = $OrderPrescriptionService->doctorOpenPrescription("499871705345941504",1);
|
||||
// $ca = new Ca();
|
||||
// $prescription_pdf_result = $ca->getSignedFile("491925054435950592","1641368425758359554");
|
||||
// if (empty($prescription_pdf_result)){
|
||||
// throw new BusinessException("下载处方签章文件失败");
|
||||
// }
|
||||
//
|
||||
// $oss = new Oss();
|
||||
// $filename = "applet/prescription/" . "499993319660314624" . '.' . 'pdf';
|
||||
// $prescription_pdf_url = $oss->putObject($filename, $prescription_pdf_result);
|
||||
|
||||
// $OrderPrescriptionService = new OrderPrescriptionService();
|
||||
// $result = $OrderPrescriptionService->openPrescription("499871705345941504",1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user