You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
423 B
19 lines
423 B
import request from '@/utils/request';
|
|
|
|
export interface LoginParamsType {
|
|
userName: string;
|
|
password: string;
|
|
mobile: string;
|
|
captcha: string;
|
|
}
|
|
|
|
export async function fakeAccountLogin(params: LoginParamsType) {
|
|
return request('/api/login/account', {
|
|
method: 'POST',
|
|
data: params,
|
|
});
|
|
}
|
|
|
|
export async function getFakeCaptcha(mobile: string) {
|
|
return request(`/api/login/captcha?mobile=${mobile}`);
|
|
}
|
|
|