project init

This commit is contained in:
zxy
2024-02-02 10:24:54 +08:00
commit 21a84c3035
253 changed files with 25212 additions and 0 deletions

42
api/forgetPW.js Normal file
View File

@@ -0,0 +1,42 @@
import {
request
} from '@/untils/AxiosUtils.js';
export const forgetPW = (mobile, password, code) => request({
url: '/api/jobslink-api/user/front/account/password',
method: 'post',
headers: {
'SCaptcha-Key': mobile,
'SCaptcha-Code': code,
},
params: {
mobile,
password,
}
});
export const accountsendValidate = (mobile, key, code) => request({
url: '/api/jobslink-api/user/front/account/password/sendValidate',
method: 'get',
headers: {
'Captcha-Key': key,
'Captcha-Code': code,
},
params: {
mobile
}
});
export const getCaptcha = () => request({
url: '/api/jobslink-api/user/front/account/oauth/captcha',
method: 'get'
});
export const validateCode = (mobile, code) => request({
url: '/api/jobslink-api/user/front/account/validate/code',
method: 'get',
headers: {
'SCaptcha-Key': mobile,
'SCaptcha-Code': code,
}
});