This commit is contained in:
yumoqing 2025-08-12 17:39:30 +08:00
parent aba13ae60b
commit b58db772b6

View File

@ -43,6 +43,7 @@ where a.orgid = b.orgid
if len(recs) > 0: if len(recs) > 0:
r = recs[0] r = recs[0]
return r.quota, r.expired_date return r.quota, r.expired_date
return None, None
async def get_service_params(self,orgid): async def get_service_params(self,orgid):
""" 根据 orgid 从数据库获取服务参数 (仅 upappid),假设 service_opts 表返回单条记录。 """ """ 根据 orgid 从数据库获取服务参数 (仅 upappid),假设 service_opts 表返回单条记录。 """