-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.js
61 lines (58 loc) · 931 Bytes
/
plugin.js
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
exports.static = true
exports.session = true
exports.cors = {
enable: true,
package: 'egg-cors'
}
exports.validate = {
enable: true,
package: 'egg-validate'
}
exports.mysql = {
enable: true,
package: 'egg-mysql'
}
exports.jwt = {
enable: true,
package: 'egg-jwt'
}
exports.passport = {
enable: true,
package: 'egg-passport'
}
exports.passportGithub = {
enable: true,
package: 'egg-passport-github'
}
exports.sessionRedis = {
enable: false,
package: 'egg-session-redis'
}
exports.redis = {
enable: false,
package: 'egg-redis'
}
exports.bizerror = {
enable: false,
package: 'egg-bizerror'
}
exports.email = {
enable: true,
package: 'egg-mail'
}
exports.captcha = {
enable: true,
package: 'egg-captcha'
}
exports.qiniu = {
enable: true,
package: 'egg-qiniu-upload'
}
exports.xlsx = {
enable: true,
package: 'egg-xlsx'
}
exports.io = {
enable: true,
package: 'egg-socket.io'
}