Kaynağa Gözat

支付 不需要登录

shish 1 yıl önce
ebeveyn
işleme
23b7debea5
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      app-hd/controllers/PurchaseController.php

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

@@ -34,7 +34,7 @@ use common\components\qrCodeUtil;
 class PurchaseController extends BaseController
 {
 
-    public $guestAccess = ['detail', 'ali-pay', 'get-ali-pay-code'];
+    public $guestAccess = ['detail', 'ali-pay', 'get-ali-pay-code', 'wx-pay'];
 
     //获取支付宝付款码 ssh 20240713
     public function actionGetAliPayCode()
@@ -997,7 +997,7 @@ class PurchaseController extends BaseController
 
         $ghsShopName = $ghsShop->shopName ?? '';
         //要带上哪个店的,这样才知道客户下的单是哪个店的,客户很多有多家店
-        $name = $ghsShopName." 花材 " . $orderSn;
+        $name = $ghsShopName . " 花材 " . $orderSn;
         $totalFee = $order->realPrice;
         $purchaseCapital = dict::getDict('capitalType', 'xhPurchase', 'id');
         $ghsId = $order->ghsId ?? 0;
@@ -1136,7 +1136,7 @@ class PurchaseController extends BaseController
 
         $ghsShopName = $ghsShop->shopName ?? '';
         //要带上哪个店的,这样才知道客户下的单是哪个店的,客户很多有多家店
-        $name = $ghsShopName." 花材 " . $orderSn;
+        $name = $ghsShopName . " 花材 " . $orderSn;
         $totalFee = $order->realPrice;
         $openId = '';
         if (isset($post['currentMiniOpenId']) && !empty($post['currentMiniOpenId'])) {