18 lines
313 B
TypeScript
Raw Normal View History

2025-07-06 16:08:38 +08:00
import http from "@/utils/request";
2025-07-06 20:45:20 +08:00
//是否第一次注册
2025-07-06 16:08:38 +08:00
export const isNewUser = () => {
2025-07-06 20:45:20 +08:00
return http({
url: "/api/UserInfo/IsNewUser",
method: "GET",
});
};
// 获取用户信息
export const getUserInfo = () => {
2025-07-06 16:08:38 +08:00
return http({
2025-07-06 20:45:20 +08:00
url:'/api/UserInfo/My',
2025-07-06 16:08:38 +08:00
method:'GET'
})
2025-07-06 20:45:20 +08:00
};