账号标识
This commit is contained in:
parent
42f1d7181e
commit
808e8842f7
@ -104,7 +104,7 @@ async def role_idx(request, rdb, data):
|
|||||||
if data.get('#type') == 'track' and data.get('#event_name') == 'create_role':
|
if data.get('#type') == 'track' and data.get('#event_name') == 'create_role':
|
||||||
|
|
||||||
# key = $appid.$binduid v : uid
|
# key = $appid.$binduid v : uid
|
||||||
account = data.get("properties", {}).get("account")
|
account = data.get("properties", {}).get("binduid")
|
||||||
account_id = data.get("#account_id")
|
account_id = data.get("#account_id")
|
||||||
if account and account_id:
|
if account and account_id:
|
||||||
key = f'{data["#app_id"]}_{account}_roles'
|
key = f'{data["#app_id"]}_{account}_roles'
|
||||||
|
Loading…
Reference in New Issue
Block a user