|
@@ -226,6 +226,14 @@ export const gatewayLinkProtocolReset = async (protocolReset: ProtocolReset) =>
|
|
|
});
|
|
|
};
|
|
|
|
|
|
+export const postProtocolCandidatesList = async (protocolList: ProtocolList, gatewayId: number) => {
|
|
|
+ const data = await request<ProtocolItemData>(apiBiz(`${'/gatewayLinkProtocol/getProtocolCandidates/'}${gatewayId}`), {
|
|
|
+ method: 'POST',
|
|
|
+ body: JSON.stringify(protocolList),
|
|
|
+ });
|
|
|
+ return data;
|
|
|
+};
|
|
|
+
|
|
|
// 组织网关
|
|
|
|
|
|
export const orgGatewayRegister = async (gatewayId: number) => {
|