shish 5 سال پیش
والد
کامیت
261ab88995
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      app-hd/controllers/OrderController.php

+ 3 - 3
app-hd/controllers/OrderController.php

@@ -285,7 +285,7 @@ class OrderController extends BaseController
         $input->SetTime_start(date("YmdHis", $now));
         $input->SetAttach($attach);//将流水类型、代金劵等传给微信再回传
         $input->SetTime_expire(date("YmdHis", $expireTime));
-        $input->SetNotify_url(Yii::$app->params['mallHost'] . '/notice/wx-callback/');
+        $input->SetNotify_url(Yii::$app->params['hdHost'] . '/notice/wx-callback/');
         $input->SetTrade_type("JSAPI");
 
         //花卉宝代为申请的微信支付
@@ -399,7 +399,7 @@ class OrderController extends BaseController
             $input->SetAttach($attach);
             //设置订单有效期5分钟
             $input->SetTime_expire(date("YmdHis", $expireTime));
-            $input->SetNotify_url(Yii::$app->params['mallHost'] . '/notice/wx-callback/');
+            $input->SetNotify_url(Yii::$app->params['hdHost'] . '/notice/wx-callback/');
             $input->SetTrade_type("JSAPI");
 
             //花卉宝代为申请的微信支付
@@ -431,7 +431,7 @@ class OrderController extends BaseController
                 //商户私钥,您的原始格式RSA私钥
                 'merchant_private_key' => $extend['alipayKey'],
                 //异步通知地址
-                'notify_url' => Yii::$app->params['mallHost'] . "/notice/ali-callback",
+                'notify_url' => Yii::$app->params['hdHost'] . "/notice/ali-callback",
                 //同步跳转
                 'return_url' => "",
                 //编码格式