This commit is contained in:
yumoqing 2026-05-22 14:08:01 +08:00
parent 666f484d62
commit 60bf3950b0

View File

@ -22,15 +22,17 @@ try:
"orgid": orgid
}
await sor.C('downapp', ns.copy())
apikey = password_encode(uuid()),
ns1 = {
"id": uuid(),
"dappid": dappid,
"userid": userid,
"apikey": password_encode(uuid()),
"apikey": password_encode(apikey),
"enabled_date": curDateString(),
"expired_date": '9999-12-31'
}
await sor.C('downapikey', ns1)
ns['apikey'] = apikey
return {
"status": "ok",
"data": ns