This commit is contained in:
parent
270db5c040
commit
6e90c52cb8
@ -394,7 +394,7 @@ class OrderPrescriptionService extends BaseService
|
||||
|
||||
$arg = array();
|
||||
// $arg['terminalCode'] = "ZD-10003";
|
||||
$arg['terminalCode'] = "ZD-10199";
|
||||
$arg['terminalCode'] = config('prescription_platform.terminal_code');
|
||||
$arg['orderNo'] = $order_product['order_product_no']; // 订单编号
|
||||
$arg['transactNo'] = $order_product['escrow_trade_no']; // 流水单号
|
||||
$arg['payDate'] = $order_product['pay_time']; // 支付时间
|
||||
|
||||
@ -113,7 +113,9 @@ return [
|
||||
"client_id" => env('PRE_PLAT_CLIENT_ID', 'ZD-004'),
|
||||
"client_secret" => env('PRE_PLAT_CLIENT_SECRET', '0baa5927164710b9f800bf33546b6da3'),
|
||||
"api_url" => env('PRE_PLAT_APP_URL', 'http://49.233.3.200:6304/api/thridapi/'),
|
||||
"pharmacy_code" => env('PRE_PLAT_PHARMACY_CODE', 'ZD-10003'), // 药店编码
|
||||
"pharmacy_code" => env('PRE_PLAT_PHARMACY_CODE', 'ZD-10198'), // 药店编码
|
||||
"zhongduan_code" => env('PRE_PLAT_ZHONGDUAN_CODE', 'ZD-10199'), // 终端编码
|
||||
"terminal_code" => env('PRE_PLAT_TERMINAL_CODE', 'ZD-10199'), // 机构编码
|
||||
],
|
||||
'regulatory_platform' => [ // 四川省互联网医疗服务监管平台
|
||||
"client_id" => env('REG_PLAT_CLIENT_ID', '09b117f8d1eb4dbfbf565447205ea60f'),
|
||||
|
||||
@ -226,9 +226,10 @@ class Prescription
|
||||
*/
|
||||
public function getPrescription(string $order_product_no,string $prescription_code): array
|
||||
{
|
||||
$terminal_code = config('prescription_platform.terminal_code');
|
||||
$option = [
|
||||
"json" => [
|
||||
"terminalCode" => "ZD-10003",
|
||||
"terminalCode" => $terminal_code,
|
||||
"orderNo" => $order_product_no,
|
||||
"prescriptionNo" => $prescription_code,
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user