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


const client = new ServiceClient()
const method = 'GET'
const enctype = 'application/x-www-form-urlencoded'

/**
* 通过用户ID获取用户基本信息3 
* method:GET
* enctype:application/x-www-form-urlencoded
* pid:stc.ms.UserAdmin
* sid:stc.ms.UserAdminget
* version:1.2
* @param parameters
*/
export async function get(parameters: Parameters): Promise<Result> {
    const headers = {
        'pid': 'stc.ms.UserAdmin',
        'sid': 'stc.ms.UserAdminget',
        'uri': 'user/get',
        'version': '1.2'
    }
    return await client.request(method, enctype, headers, parameters)
}
