sdk:childGameId格式
This commit is contained in:
@@ -39,7 +39,7 @@ export class LoginValidateData37 {
|
||||
unique_realname_id: string; // 用户身份证唯一标识
|
||||
|
||||
@prop({ required: true })
|
||||
childGameId: number; // 子游戏id
|
||||
childGameId: string; // 子游戏id
|
||||
|
||||
@prop({ required: true })
|
||||
platformAppid: string; // 渠道标识
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user