|
|
@@ -34,6 +34,10 @@ class MainController extends BaseController
|
|
|
$merchant = WxOpenClass::getMallWxInfo();
|
|
|
$ptStyle = dict::getDict('ptStyle', 'mall');
|
|
|
|
|
|
+ if (getenv('YII_ENV') != 'production') {
|
|
|
+ util::success(['goodsUrl' => 'www.google.com', 'imgUrl' => 'www.google.com', 'itemUrl' => 'www.google.com']);
|
|
|
+ }
|
|
|
+
|
|
|
$goodsShortUrl = 'wx_mini_goods_short_url';
|
|
|
$itemShortUrl = 'wx_mini_item_short_url';
|
|
|
$imageShortUrl = 'wx_mini_image_short_url';
|