Commit fefc121d by howie

Merge branch 'nativehome_tst' of http://code.mayi888.com/chengmo/mayi-mp-shop into nativehome_tst

parents 6bd2f956 c5e0db75
...@@ -25,7 +25,8 @@ module.exports = merge(prodEnv, {//zjgyl ...@@ -25,7 +25,8 @@ module.exports = merge(prodEnv, {//zjgyl
// OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"', // OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN: '"http://test-bucket-ant.oss-cn-shanghai.aliyuncs.com"', IMG_DOMAIN: '"http://test-bucket-ant.oss-cn-shanghai.aliyuncs.com"',
POSTHOG_KEY: '"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"', 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"', // IMG_DOMAIN: '"http://cdn.mayi888.com"',
}) })
...@@ -9,6 +9,7 @@ module.exports = { ...@@ -9,6 +9,7 @@ module.exports = {
OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"', OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN: '"https://mayi-newshop.oss-cn-shanghai.aliyuncs.com"', IMG_DOMAIN: '"https://mayi-newshop.oss-cn-shanghai.aliyuncs.com"',
POSTHOG_KEY: '"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"', 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"' // IMG_DOMAIN: '"http://cdn.mayi888.com"'
} }
...@@ -25,7 +25,8 @@ module.exports = merge(prodEnv, {//zjgyl ...@@ -25,7 +25,8 @@ module.exports = merge(prodEnv, {//zjgyl
// OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"', // OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN: '"http://new-xhyx-uat.oss-cn-zhangjiakou.aliyuncs.com"', IMG_DOMAIN: '"http://new-xhyx-uat.oss-cn-zhangjiakou.aliyuncs.com"',
POSTHOG_KEY: '"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"', 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"', // IMG_DOMAIN: '"http://cdn.mayi888.com"',
}) })
...@@ -16,12 +16,12 @@ export default { ...@@ -16,12 +16,12 @@ export default {
if (JSON.stringify(extConfig) == "{}") { if (JSON.stringify(extConfig) == "{}") {
let shopItem = { let shopItem = {
development: { mixid: "antgood", "shopid": 67}, development: { mixid: "antgood", "shopid": 67},
// production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可 production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可
// production: { "mixid":"5I5Dyk", "shopid": 1306 }, // 星期八 // production: { "mixid":"5I5Dyk", "shopid": 1306 }, // 星期八
// production: { "mixid":"RON", "shopid": 1503 }, // 荣恩 // production: { "mixid":"RON", "shopid": 1503 }, // 荣恩
production: { "mixid":"ant", "shopid": 6 }, // 小工蚁 // production: { "mixid":"ant", "shopid": 6 }, // 小工蚁
// production: { "mixid":"MetaSense", "shopid": 1237 }, // 册为 // 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_uat: { "mixid":"xhyxshop", "shopid": 1 },
xhyx_prod: { "mixid":"antgood", "shopid": 67 }, xhyx_prod: { "mixid":"antgood", "shopid": 67 },
} }
......
...@@ -530,7 +530,7 @@ export function themeScanningCodeClick() { ...@@ -530,7 +530,7 @@ export function themeScanningCodeClick() {
// 搜索无结果,跳转搜索页展示无识别结果 // 搜索无结果,跳转搜索页展示无识别结果
$themeToLink({ $themeToLink({
type: 1, type: 1,
link: `/goodsSearch/goodsSearch?isNoResult=${true}` link: `/goodsSearch/goodsSearch?search_txt=${result}&isNoResult=${true}`
}); });
} }
}) })
......
...@@ -4,7 +4,7 @@ const appArea = () => { ...@@ -4,7 +4,7 @@ const appArea = () => {
console.log("---appArea"); console.log("---appArea");
return new Promise(async (response, reject) => { return new Promise(async (response, reject) => {
await wx.request({ await wx.request({
url: `https://cdn.mayi888.com/static/js/app.area.json`, url: process.env.AREA_JSON,
success: res => { success: res => {
obj = res.data; obj = res.data;
response(obj); 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