1
PC-20250623MANY\Administrator
2025-07-22 9ec3bd6e8d7357927533d8966f882cb5d28b3e0f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import { httpJson } from "@/request/http";
// 网络请求demo 列子
 
// 获取当前项目信息
// export const getCurrentProjectInfo = {
//     url: "projectInfoApp/getCurrentProjectInfo",
//     method: "get",
//     isLoading: true
// }
 
const getCurrentProjectInfo = (params) => {
    return httpJson({
        url: "projectInfoApp/getCurrentProjectInfo",
        method: "get",
        isLoading: true
    }, params)
};
//注册用户
///
const registerUser = (params) => {
    return httpJson({
        url: "/api/localuser!registerNoVerifcode.action",
        method: "get",
        isLoading: true
    }, params)
};
//登录
const loginUser = (params) => {
    return httpJson({
        url: "/api/user!login.action",
        method: "get",
        isLoading: true
    }, params)
};
 
 
/// 发送邮箱 手机验证码
const sendVerifyCode = (params) => {
    return httpJson({
        url: "/api/idcode!execute.action",
        method: "get",
        isLoading: false
    }, params)
};
 
/// 帮助中心
const helpCenter = (params) => {
    return httpJson({
        url: "/api/cms!list.action",
        method: "get",
        isLoading: false
    }, params)
};
 
//试用注册登录
const registerTest = (params) => {
    return httpJson({
        url: "/api/localuser!registerTest.action",
        method: "get",
        isLoading: true
    }, params)
};
 
 
const apiList = {
    getCurrentProjectInfo, registerUser, sendVerifyCode, loginUser, helpCenter, registerTest
}
 
export default apiList