buggix
This commit is contained in:
parent
666f484d62
commit
60bf3950b0
@ -22,15 +22,17 @@ try:
|
|||||||
"orgid": orgid
|
"orgid": orgid
|
||||||
}
|
}
|
||||||
await sor.C('downapp', ns.copy())
|
await sor.C('downapp', ns.copy())
|
||||||
|
apikey = password_encode(uuid()),
|
||||||
ns1 = {
|
ns1 = {
|
||||||
"id": uuid(),
|
"id": uuid(),
|
||||||
"dappid": dappid,
|
"dappid": dappid,
|
||||||
"userid": userid,
|
"userid": userid,
|
||||||
"apikey": password_encode(uuid()),
|
"apikey": password_encode(apikey),
|
||||||
"enabled_date": curDateString(),
|
"enabled_date": curDateString(),
|
||||||
"expired_date": '9999-12-31'
|
"expired_date": '9999-12-31'
|
||||||
}
|
}
|
||||||
await sor.C('downapikey', ns1)
|
await sor.C('downapikey', ns1)
|
||||||
|
ns['apikey'] = apikey
|
||||||
return {
|
return {
|
||||||
"status": "ok",
|
"status": "ok",
|
||||||
"data": ns
|
"data": ns
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user