This commit is contained in:
yumoqing 2025-07-23 15:27:07 +08:00
parent b9c02abfda
commit fba8d92952

View File

@ -63,10 +63,8 @@ async def dearer_header(request, appid):
if r is None:
return None
dearer = build_dearerdata(r.apikey)
return {
"Authorization": dearer
}
return {}
return dearer
return None
async def manis_header(request, appid):
db = DBPools()
@ -77,10 +75,8 @@ async def manis_header(request, appid):
if r is None:
return None
manis = build_manisdata(r.myid, r.apikey, r.secretkey)
return {
"Authorization": manis
}
return {}
return manis
return None
class UAPI:
def __init__(self, env={}):