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


const method = 'PUT'
const enctype = 'multipart/form-data'
const headers = {
    'pid': 'cn.keytop.stc.demo',
    'sid': 'cn.keytop.stc.demo.test2',
    'version': '1.2.2'
}

/**
* 微服务请求
* method:PUT
* enctype:multipart/form-data
* pid:cn.keytop.stc.demo
* sid:cn.keytop.stc.demo.test2
* version:1.2.2
* @param parameters
*/
export async function test2(parameters: Parameters): Promise<Result> {
    return await msConfig.httpClient!!.request(method, enctype, headers, parameters);
}
