新增服务包支付回调处理

This commit is contained in:
2024-04-11 16:25:30 +08:00
parent d7338c495b
commit 8bda29a15e
8 changed files with 561 additions and 4 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ class WechatPay
/**
* @param string $user_type 用户类型(1:患者端 2:专家端 3:药师端)
* @param int $order_type 订单类型(1:问诊订单 2:药品订单 3:检测订单 4:随访包订单 5:健康包订单)
* @param int $order_type 订单类型(1:问诊订单 2:药品订单 3:检测订单 4:服务包订单)
*/
public function __construct(string $user_type,int $order_type)
{
@@ -69,7 +69,7 @@ class WechatPay
$this->pay_config = config("we_chat.applets.pay.1636644248");
}
if ($order_type == 4 || $order_type == 5){
if ($order_type == 4){
$this->pay_notify_url = $this->config['service_pay_notify_url'];
$this->refund_notify_url = $this->config['service_refund_notify_url'];