|
|
@@ -1252,6 +1252,9 @@ class wxUtil
|
|
|
$url = "https://api.weixin.qq.com/wxa/setwebviewdomain?access_token=" . $accessToken;
|
|
|
$curl = new curl\Curl();
|
|
|
$mallHost = Yii::$app->params['mallHost'];
|
|
|
+ if ($isOpen == 1) {
|
|
|
+ $mallHost = Yii::$app->params['shopHost'];
|
|
|
+ }
|
|
|
$has = strpos($mallHost, 'https');
|
|
|
//如果不是https则换成https
|
|
|
if ($has === false) {
|