Authored by 李奇

埋点修改

... ... @@ -9,7 +9,6 @@ import commonModel from './models/common';
import { stringify } from './vendors/query-stringify';
import './router/index';
import Yas from './common/yas';
import config from './config';
let yas;
... ... @@ -300,8 +299,7 @@ App({
return this.globalData.unionShop && this.globalData.unionShop.appType;
},
getAppId() {
// 兼容处理: 解决手机扫码预览无法获取 wx.getExtConfigSync()
return wx.getExtConfigSync().extAppid || config.previewExtAppid;
return wx.getExtConfigSync().extAppid;
},
getSystemInfo() {
return this.globalData.systemInfo;
... ...
... ... @@ -2,10 +2,10 @@
export default {
"domains": {
// 线上
// "api": "https://api.yoho.cn",
"api": "https://api.yoho.cn",
// 测试
"api": "http://api-test3.dev.yohocorp.com",
// "api": "http://api-test3.dev.yohocorp.com",
"yasApi": "https://analysis.yohobuy.com/yas_mobile"
},
"apiParams": {
... ... @@ -15,6 +15,5 @@ export default {
"app_version": "6.6.0"
},
"appid": "wxe8bfc9b404772199",
"mini_app_type": "6",
"previewExtAppid": "wxe8bfc9b404772199"
"mini_app_type": "6"
}
\ No newline at end of file
... ...
... ... @@ -4,7 +4,7 @@
"directCommit": false,
"ext": {
"name": "wechat",
"extAppid": "wxe8bfc9b404772199",
"extAppid": "wx99b80a337c6c41ed",
"miniappType": "5",
"miniappName": "测试店铺名",
"attr": {
... ...
... ... @@ -9,7 +9,7 @@
},
"compileType": "miniprogram",
"libVersion": "1.9.1",
"appid": "wxe8bfc9b404772199",
"appid": "wx39f299b6485cf97a",
"projectname": "%E6%9C%89%E8%B4%A7%E6%9C%89%E7%9B%9F%E6%A8%A1%E6%9D%BF",
"condition": {
"search": {
... ...