import { UserApi } from '@/apis' ; import { request } from 'umi' ; export const LoadUser = ( param ) : Promise < Types . AjaxResult > => request < Types . AjaxResult > ( UserApi . loadUser , { params : param , method : 'GET' } ) ; param data export const ChangePasswordAPI = async ( data ) : Promise < any > => { request ( 'Identity/ChangePassword' , { data : data , method : 'POST' } ) ; } ;