更改 注册时间只上传一次

This commit is contained in:
COMPUTER\EDY 2026-02-06 14:34:44 +08:00
parent cfa61b9fdb
commit dec5f2a745

View File

@ -1591,8 +1591,8 @@ export namespace MiniGameSdk {
//@ts-ignore //@ts-ignore
if ((typeof wx !== 'undefined' && wx !== null) || (typeof tt !== 'undefined' && tt !== null)) { if ((typeof wx !== 'undefined' && wx !== null) || (typeof tt !== 'undefined' && tt !== null)) {
// console.log("设置用户注册属性"); // console.log("设置用户注册属性");
API._ta.userSet({ register_time: time }); API._ta.userSetOnce({ register_time: time });
API._ta.userSet({ uid: cc.fx.GameConfig.GM_INFO.userId.toString() }); API._ta.userSetOnce({ uid: cc.fx.GameConfig.GM_INFO.userId.toString() });
} }
} }