fix: 添加亚控通用调用接口 bug2

This commit is contained in:
caoqianming 2024-06-19 15:38:26 +08:00
parent d78c8b10dc
commit b0dfb020ce
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class KingCommonViewSet(CreateModelMixin, CustomGenericViewSet):
raise ParseError(**TAPI_CODE_WRONG)
vdata['url'] = kapi['url']
vdata['method'] = kapi['method']
_, res = dhClient.request(
_, res = kingClient.request(
url=vdata['url'],
method=vdata.get('method', 'post'),
params=vdata.get('params', {}),