import { Parameters, Result } from './CnGatewayUpdateDeclare';
import msConfig from '../mslib/MsConfig';


const method = 'POST'
const enctype = 'application/json'
const headers = {
    'pid': 'cn.ketyop.cn.bm.admin-front',
    'sid': 'cn.ketyop.cn.bm.admin-front.cngatewayupdate',
    'version': '1.0.0'
}

/**
* 微服务请求
* method:POST
* enctype:application/json
* pid:cn.ketyop.cn.bm.admin-front
* sid:cn.ketyop.cn.bm.admin-front.cngatewayupdate
* version:1.0.0
* @param parameters
* @param ext 前端自定义扩展参数
*/
export async function cnGatewayUpdate(parameters: Parameters,ext?: any): Promise<Result> {
    return await msConfig.httpClient!!.request(method, enctype, headers, parameters,ext);
}
