新生报到移动端V1.0

This commit is contained in:
2025-07-16 17:44:45 +08:00
commit 50d2d6a12d
1058 changed files with 146425 additions and 0 deletions

66
api/validApi.js Normal file
View File

@@ -0,0 +1,66 @@
import axios from "@/config/api.js";
export function validToken(){
return axios.post("/system/order/validToken")
}
export function getUserInfo(){
return axios.post("/system/reg/getOwnInfo")
}
export function doLogin(data){
return axios.post("/login",data);
}
export function doAct(data){
return axios.post("/system/reg/verifyXX",data)
}
export function doSendMsg(data){
return axios.post("/system/queue/sendSms",data)
}
export function changePwd(data){
return axios.post("/system/user/resetPwdUpdate",data)
}
export function editInfo(data){
return axios.post("/system/reg/stuInfo",data);
}
export function getInfo(data){
return axios.get("/system/reg/stuInfo");
}
export function getOwnTodoInfo(id){
return axios.get("/system/todo/getInfoByStudent/"+id);
}
// 根据手机号获取手机验证码 更换手机号
export function verifyPhone(data){
return axios.post("/system/reg/verifyPhone",data);
}
//根据考生号获取考试原始信息
export function getOwnInfo(data){
return axios.post("/system/reg/getOwnInfo?ksh="+data);
}
// 修改手机号发送验证码
// sendSmsUpdatePhone
export function sendSmsUpdatePhone(data){
return axios.post("/system/queue/sendSmsUpdatePhone",data);
}
//退出登录
export function exitLogin(){
return axios.post("/logout");
}
//获取修改电话信息
export function GetOwnInfo(){
return axios.post("/stureg/checkphone/getOwnInfo");
}
//修改电话
export function updateNumber(data){
return axios.post("/stureg/checkphone/update",data);
}