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


const method = 'POST'
const enctype = 'application/json'
const headers = {
    'pid': 'cn.keytop.ns.tc.1028422',
    'sid': 'cn.keytop.ns.tc.1028422.timelock',
    'version': '1.1.0'
}

/**
* 微服务请求
* method:POST
* enctype:application/json
* pid:cn.keytop.ns.tc.1028422
* sid:cn.keytop.ns.tc.1028422.timelock
* version:1.1.0
* @param parameters
*/
export async function timeLock(parameters: Parameters): Promise<Result> {
    return await msConfig.httpClient!!.request(method, enctype, headers, parameters);
}
