2022-05-17 18:57:32 +08:00

13 lines
231 B
TypeScript

import useAxiosApi from '@/utils/useAxiosApi';
/**
* 账号密码登录
* @returns UseAxiosReturn
*/
export function loginPassword() {
return useAxiosApi(`/api/login`, {
method: 'POST',
data: { name: '123' },
});
}