Commit 8b389c18257891a566434b3a8b55a32a707b4796
1 parent
f07990bb
fix(get publicInterface): 修复获取公共接口参数传递错误
Showing
1 changed file
with
1 additions
and
2 deletions
... | ... | @@ -55,7 +55,6 @@ export const getDeviceInterfaceDetail = async (interfaces: string[]) => { |
55 | 55 | |
56 | 56 | export const getAllPublicInterface = async (params?: { state: PublicInterfaceStateEnum }) => { |
57 | 57 | return defHttp.get<PublicInterfaceRecord[]>({ |
58 | - // url: `${Api.GET_PUBLIC_INTERFACE_ALL}${params?.state ? `/${params.state}` : ''}`, | |
59 | - url: Api.GET_PUBLIC_INTERFACE_ALL, | |
58 | + url: `${Api.GET_PUBLIC_INTERFACE_ALL}${params?.state ? `/${params.state}` : ''}` | |
60 | 59 | }) |
61 | 60 | } | ... | ... |