import { AuthApi } from '@/apis' ; import { request } from 'umi' ; export const Login = ( param ) : Promise < Types . AjaxResult > => request < Types . AjaxResult > ( AuthApi . login , { data : param , method : 'POST' } ) ;