Commit c5e0db75 by 李嘉林

获取微信地址json

parent 9c3426fe
......@@ -25,7 +25,8 @@ module.exports = merge(prodEnv, {//zjgyl
// OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN: '"http://test-bucket-ant.oss-cn-shanghai.aliyuncs.com"',
POSTHOG_KEY: '"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"',
POSTHOG_HOST: '"https://posthog.mayi118.com"'
POSTHOG_HOST: '"https://posthog.mayi118.com"',
AREA_JSON: '"https://mayi-newshop.oss-cn-shanghai.aliyuncs.com/static/js/app.area.json"'
// IMG_DOMAIN: '"http://cdn.mayi888.com"',
})
......@@ -9,6 +9,7 @@ module.exports = {
OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN: '"https://mayi-newshop.oss-cn-shanghai.aliyuncs.com"',
POSTHOG_KEY: '"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"',
POSTHOG_HOST: '"https://posthog.mayi118.com"'
POSTHOG_HOST: '"https://posthog.mayi118.com"',
AREA_JSON: '"https://mayi-newshop.oss-cn-shanghai.aliyuncs.com/static/js/app.area.json"'
// IMG_DOMAIN: '"http://cdn.mayi888.com"'
}
......@@ -25,7 +25,8 @@ module.exports = merge(prodEnv, {//zjgyl
// OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN: '"http://new-xhyx-uat.oss-cn-zhangjiakou.aliyuncs.com"',
POSTHOG_KEY: '"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"',
POSTHOG_HOST: '"https://posthog.mayi118.com"'
POSTHOG_HOST: '"https://posthog.mayi118.com"',
AREA_JSON: '"https://new-xhyx-uat.oss-cn-zhangjiakou.aliyuncs.com/public/json/f7746156-6329-4130-b724-eda06215ddea.json"'
// IMG_DOMAIN: '"http://cdn.mayi888.com"',
})
......@@ -16,12 +16,12 @@ export default {
if (JSON.stringify(extConfig) == "{}") {
let shopItem = {
development: { mixid: "antgood", "shopid": 67},
// production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可
production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可
// production: { "mixid":"5I5Dyk", "shopid": 1306 }, // 星期八
// production: { "mixid":"RON", "shopid": 1503 }, // 荣恩
production: { "mixid":"ant", "shopid": 6 }, // 小工蚁
// production: { "mixid":"ant", "shopid": 6 }, // 小工蚁
// production: { "mixid":"MetaSense", "shopid": 1237 }, // 册为
production: { "mixid":"5BkDRR", "shopid": 1316 }, // lost in echo订货
// production: { "mixid":"5BkDRR", "shopid": 1316 }, // lost in echo订货
xhyx_uat: { "mixid":"xhyxshop", "shopid": 1 },
xhyx_prod: { "mixid":"antgood", "shopid": 67 },
}
......
......@@ -4,7 +4,7 @@ const appArea = () => {
console.log("---appArea");
return new Promise(async (response, reject) => {
await wx.request({
url: `https://cdn.mayi888.com/static/js/app.area.json`,
url: process.env.AREA_JSON,
success: res => {
obj = res.data;
response(obj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment