Commit 1ba639a1 authored by haiyoucuv's avatar haiyoucuv

1111

parent f0c5a869
This diff is collapsed.
......@@ -7133,5 +7133,5 @@ export const ResJson = {
}
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/anything/1592385249/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/anything/1592446436/resource/"
}
\ No newline at end of file
......@@ -8,7 +8,7 @@ import OptionPool from "../const/OptionPool";
import PlantEffectPool from "../const/PlantEffectPool";
import { RES } from "../../module/RES";
import { gameResource } from "../const/staticData";
import { checkShopFavoredStatus, getAuthUserInfo } from "../utils";
import { checkShopFavoredStatus, getAuthUserInfo, taobaoReport } from "../utils";
import Container = FYGE.Container;
import Sprite = FYGE.Sprite;
import Tween = FYGE.Tween;
......@@ -55,12 +55,12 @@ export class LoadingScene extends Scene {
});
/// test
var isFollow = true;
var isFollow = false;
// @ts-ignore
// isFollow = await checkShopFavoredStatus(sellerId).catch((err) => {
// console.log(err);
// isFollow = false;
// });
isFollow = await checkShopFavoredStatus(sellerId).catch((err) => {
console.log(err);
isFollow = false;
});
console.log('isFollow', isFollow);
setTbData(TbNetName.isFollow, {
......@@ -145,6 +145,8 @@ export class LoadingScene extends Scene {
});
});
taobaoReport('in_index');
for (let i = 0; i <= 20; i++) {
MPush(new ShopItemExchangeInfo());
}
......
......@@ -314,3 +314,16 @@ export const getUserAddress = (opts = {}) => {
});
};
/**
* 自定义分析数据的上报接口
* @param logkey
*/
export const taobaoReport = logkey => {
// @ts-ignore
my.reportAnalytics('click', {
// 标志某一类事件,方便数据分析进行分组
'logkey': logkey
})
};
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