数数:修改创建角色逻辑

This commit is contained in:
luying
2022-05-19 11:56:40 +08:00
parent 77e6c3ba8e
commit afecae3303
10 changed files with 67 additions and 48 deletions
+2
View File
@@ -369,6 +369,7 @@ export default class Sdk extends Service {
public reportTAEventWithDistinctId(distinctId: string, eventName: string, properties: any, ip: string) {
let ta = this.app.context.ta;
if(!ta) return
let event = {
// 账号 ID (可选)
accountId: "",
@@ -392,6 +393,7 @@ export default class Sdk extends Service {
public reportTAEventWithRoleIdAndDistinctId(roleId: string, distinctId: string, eventName: string, properties: any, ip?: string) {
let ta = this.app.context.ta;
if(!ta) return
let event = {
// 账号 ID (可选)
accountId: `${roleId}`,