From eea24611a833b824b255feecf988ce28d0ee156b Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 28 Feb 2019 12:09:46 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9config=E6=96=87=E4=BB=B6]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/config.js b/config/config.js index cedc5cd..3cbdd61 100755 --- a/config/config.js +++ b/config/config.js @@ -1,8 +1,8 @@ -var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; -var weappId = extConfig.weappId; -console.log(weappId) +const extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {} +let weappId = extConfig.weappId; +console.log(extConfig) var config = { - url: "https://ciformall.youlane.cn/C/api", + url: extConfig.attr.configUrl, api: { /** * 接口用途:login