shish hace 1 año
padre
commit
2514683f6e
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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'] ?? '';