shish 1 день назад
Родитель
Сommit
a44e2c7580
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      app-hd/controllers/CustomController.php

+ 4 - 2
app-hd/controllers/CustomController.php

@@ -668,8 +668,9 @@ class CustomController extends BaseController
     }
 
     /**
-     * 客户余额页小程序码(隔天/无原单返余额海报用)
+     * 客户充值页小程序码(隔天/无原单返余额海报用)
      * GET: id=customId
+     * 落地页:mallApp pages/member/recharge,scene 带店铺 id(s=shopId → account)
      */
     public function actionGetGatheringMiniCode()
     {
@@ -683,7 +684,8 @@ class CustomController extends BaseController
             util::fail('不是你的客户');
         }
         $merchant = \bizHd\wx\classes\WxOpenClass::getMallWxInfo();
-        $page = 'pages/home/user';
+        // 与扫码充值码一致,扫码进入商城充值页
+        $page = 'pages/member/recharge';
         $ptStyle = \common\components\dict::getDict('ptStyle', 'mall');
         $scene = 's=' . $this->shopId;
         $envVersion = \common\components\miniUtil::normalizeMiniEnvVersion($get['env_version'] ?? 'release');