import { Parameters, Result } from './PostConfigInfoDeclare';
import { ServiceClient } from 'cn.keytop.stc.midend.ms.client';


const client = new ServiceClient()
const method = 'POST'
const enctype = 'application/json'

/**
* 平台车场配置更新上报 
* method:POST
* enctype:application/json
* pid:hefeichangfeng-activemq
* sid:hefeichangfeng-activemqpostConfigInfo
* version:1.0
* @param parameters
*/
export async function postConfigInfo(parameters: Parameters): Promise<Result> {
    const headers = {
        'pid': 'hefeichangfeng-activemq',
        'sid': 'hefeichangfeng-activemqpostConfigInfo',
        'uri': '1126238/PostConfigInfo',
        'version': '1.0'
    }
    return await client.request(method, enctype, headers, parameters)
}
