auth.js
3.0 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
let payRoll = require("../json/payRoll.json");
module.exports = (app) => {
const { router, controller } = app;
router.get("/signOut", controller.signOut);
router.get("/img/*", controller.getImg);
router.get("/", controller.indexPrefix);
router.get("/productDes", controller.productDes);
router.get("/register", controller.register);
router.get("/mobileRegister", controller.mobileRegister);
router.get("/mobileRegisterSuccess", controller.mobileRegisterSuccess);
router.get("/signIn", controller.signIn);
router.post("/doLogin", controller.doLogin);
router.get("/signOut", controller.signOut);
router.post("/smsCodes", controller.smsCodes);
router.post("/tenants", controller.tenants);
router.post("/resetPass", controller.resetPass);
router.post("/updatePassword", controller.updatePassword);
router.post("/loadUserInfo", controller.loadUserInfo);
router.post("/getUploaderToken", controller.getUploaderToken);
router.post("/delOSSObject", controller.delOSSObject);
router.post("/smsVerification", controller.smsVerification);
router.post("/getObjectTokenByID", controller.getObjectTokenByID);
router.post("/getUserRoles", controller.getUserRoles);
router.post("/getRoles", controller.getRoles);
router.post("/updateUserRoles", controller.updateUserRoles);
router.post("/getTenant", controller.getTenant);
router.post("/updateTenant", controller.updateTenant);
router.get("/offer/:requestId", controller.offer);
router.post("/onboardStatus", controller.onboardStatus);
router.get("/downloadApp", controller.dowloadApp);
router.get("/info/policy", controller.softwareLicense);
router.get("/payRoll", function (req, res, next) {
res.send(payRoll);
});
router.get("/recharge", controller.recharge);
router.post("/changePassForRegister", controller.changePassForRegister);
router.post("/changeTenant", controller.changeTenant);
router.post("/hr/sendRejectOffer", controller.sendRejectOffer);
router.post("/hr/acceptOffer", controller.acceptOffer);
router.post("/imTokens", controller.imTokens);
router.post("/listChannels", controller.listChannels);
router.post("/getTastLink", controller.getTastLink);
router.get("/filemeta", controller.filemeta);
router.get("/getCustomerQrcode", controller.getCustomerQrcode);
router.get("/getPositionQrcode", controller.getPositionQrcode);
router.get("/minishop/:id", controller.weidianTempLate);
router.get("/wso-workai", controller.workaiSecurityOAuth);
router.get(
"/socialwork/freedom-jobs/emps/:id/:verification",
controller.freedomJobsEmp
);
router.get("/socialwork/freedom-jobs/emps/:id", controller.freedomJobsEmp);
router.get("/getShortToken", controller.getShortToken);
router.get("/gainianrenli/*", controller.getImg);
router.get("/waifu_img/*", controller.getImg);
router.get("/my_img/*", controller.getImg);
router.get("/invoice_file_icon/*", controller.getImg);
router.get("/gainianrenli/*", controller.getImg);
router.get("/claim_icons/*", controller.getImg);
};