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

+ 1 - 2
app-hd/controllers/RechargeController.php

@@ -26,8 +26,7 @@ class RechargeController extends BaseController
     //获取商城端充值页小程序短链接和说明内容
     public function actionGetMallRechargeShortLink()
     {
-        $get = Yii::$app->request->get();
-        $account = $get['account'] ?? 0;
+        $account = $this->shopId;
         $page = 'pages/member/recharge?account=' . $account;
         $ret = WxMiniClass::getShortLink($page);
         $link = $ret['link'] ?? '';