Browse Source

fix:配置增加跳转小程序的

super-yimizi 1 month ago
parent
commit
8361ea0af9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      application/api/controller/Common.php

+ 2 - 0
application/api/controller/Common.php

@@ -161,6 +161,8 @@ class Common extends Api
         $config['wx_universal_link'] = Config::get('shop.wx_universal_link');
         $config['wx_universal_link'] = Config::get('shop.wx_universal_link');
         // 微信appid
         // 微信appid
         $config['wx_appid'] = Config::get('shop.wx_appid');
         $config['wx_appid'] = Config::get('shop.wx_appid');
+        // APP微信登录使用的开放平台ID
+        $config['app_wx_appid'] = Config::get('shop.app_id');
         //  微信小程序跳转
         //  微信小程序跳转
         //$config['wechat_min_program'] = ;
         //$config['wechat_min_program'] = ;