data.js文件 谁帮我解释一下所有代码的意思及用意
发布于 6 年前 作者 yangxiong 11979 次浏览 来自 问答

var DUOGUAN_HOST_URL = https://15410.ixihocssngxu.cc;

var ZHINGYUAN_LOCAL_URL = https://zkdajian.cn/recsing;

var user_token = “sh_3218f4555h81b”;

var app_config_version =

345233

;

var dg_ext = wx.getExtConfigSync();

if (dg_ext && dg_ext.host) {DUOGUAN_HOST_URL = dg_ext.host;user_token = dg_ext.token;app_config_version = dg_ext.version;}

module.exports = {

duoguan_host_api_url:DUOGUAN_HOST_URL,

zkdajian

_local_api_url: ZKDAJIAN_LOCAL_URL,

duoguan_user_token: user_token,

duoguan_share_info:’’,

duoguan_config_version:app_config_version,

}

回到顶部