sdk:childGameId格式

This commit is contained in:
luying
2022-04-25 18:03:55 +08:00
parent f1492cb952
commit bd8a5d0f86
2 changed files with 2 additions and 2 deletions

View File

@@ -414,7 +414,7 @@ export default class Auth extends Service {
let channelId = getChannelId(channelType, requestResult.data.uid);
const token = ctx.service.utils.generateStr(256);
let { isCreate, user} = await UserModel.createOrUpdateChannelUser(channelId, channelType, {
...requestResult.data, childGameId, platformAppid
...requestResult.data, childGameId:`${childGameId}`, platformAppid
}, token, platform, pkgName, serverType, deviceId, ctx.clientIp);
if(isCreate) {
// ctx.service.sdk.reportTAEventWithDistinctId(distinctId, TA_EVENT.REGISTER, null, ctx.clientIp);