修改消息推送
This commit is contained in:
@@ -10,6 +10,7 @@ use App\Model\DoctorInquiryTime;
|
||||
use App\Model\OrderPrescriptionProduct;
|
||||
use App\Model\OrderProduct;
|
||||
use App\Model\OrderProductItem;
|
||||
use App\Model\User;
|
||||
use App\Model\UserCaCert;
|
||||
use App\Model\OrderInquiry;
|
||||
use App\Model\OrderPrescription;
|
||||
@@ -29,6 +30,8 @@ use Hyperf\Utils\ApplicationContext;
|
||||
use Imagick;
|
||||
use Intervention\Image\ImageManager;
|
||||
use Spatie\PdfToImage\Pdf;
|
||||
use Swoole\Coroutine;
|
||||
use Swoole\Coroutine\WaitGroup;
|
||||
use TCPDF;
|
||||
|
||||
class TestController extends AbstractController
|
||||
@@ -578,16 +581,6 @@ class TestController extends AbstractController
|
||||
}
|
||||
|
||||
public function test_11(){
|
||||
$PatientOrderService = new PatientOrderService();
|
||||
$order_inquiry_id = $PatientOrderService->getNotFinishedOrderInquiry(4,"501764342039097344");
|
||||
dump($order_inquiry_id);
|
||||
dump(!empty($order_inquiry_id));
|
||||
if (!empty($order_inquiry_id)) {
|
||||
return 111;
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "当前患者存在进行中的问诊订单");
|
||||
}
|
||||
|
||||
die;
|
||||
$order_prescription_id = "501751534291394561";
|
||||
|
||||
// 获取处方数据
|
||||
@@ -637,6 +630,8 @@ class TestController extends AbstractController
|
||||
$order_prescription_product->toArray(),
|
||||
$order_product->toArray()
|
||||
);
|
||||
|
||||
dump($result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user