This commit is contained in:
yumoqing 2025-08-13 15:21:29 +08:00
parent 09ad07eb5e
commit f7aca36265

View File

@ -41,6 +41,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 表返回单条记录。 """