This commit is contained in:
yumoqing 2025-12-16 11:31:09 +08:00
parent 067b69d8db
commit cef48c4ea0

View File

@ -47,6 +47,8 @@ class RechargeBiz(PFBiz):
return '0'
if role == 'customer':
return self.customerid
if role is None or role == 'null':
return None
e = Exception(f'unknown role({role})')
exception(f'Exception:{e}')
raise e