|
@@ -79,6 +79,7 @@ class OpenTransferService:
|
|
|
return False
|
|
return False
|
|
|
|
|
|
|
|
auth.tenant_id = open_data.tenant_id
|
|
auth.tenant_id = open_data.tenant_id
|
|
|
|
|
+ auth.check_data_scope = True
|
|
|
conf = await OpenConfService.get_conf_service(auth)
|
|
conf = await OpenConfService.get_conf_service(auth)
|
|
|
if not conf:
|
|
if not conf:
|
|
|
log.info("回调通知: 开放转账配置不存在, tenant_id={}", auth.tenant_id)
|
|
log.info("回调通知: 开放转账配置不存在, tenant_id={}", auth.tenant_id)
|
|
@@ -173,7 +174,7 @@ class OpenConfService:
|
|
|
查询开放配置
|
|
查询开放配置
|
|
|
"""
|
|
"""
|
|
|
crud = OpenConfCRUD(auth)
|
|
crud = OpenConfCRUD(auth)
|
|
|
- result = await crud.get_first()
|
|
|
|
|
|
|
+ result = await crud.get(tenant_id=auth.tenant_id)
|
|
|
|
|
|
|
|
if result is not None:
|
|
if result is not None:
|
|
|
return OpenConfOutSchema.model_validate(result)
|
|
return OpenConfOutSchema.model_validate(result)
|