正在显示
2 个修改的文件
包含
43 行增加
和
1 行删除
cmd/discuss/api/etc/core copy.yaml
0 → 100644
1 | +Name: discuss | ||
2 | +Host: 0.0.0.0 | ||
3 | +Port: 8081 | ||
4 | +Verbose: false | ||
5 | +Migrate: false | ||
6 | +Timeout: 30000 | ||
7 | +# CertFile: ./key/fjmaimaimai.com_bundle.crt | ||
8 | +# KeyFile: ./key/fjmaimaimai.com.key | ||
9 | +LogRequest: true # 记录详细请求日志 | ||
10 | + | ||
11 | +Log: | ||
12 | + Mode: file | ||
13 | + Encoding: plain | ||
14 | + Level: debug # info | ||
15 | + MaxSize: 1 # 2MB | ||
16 | + TimeFormat: 2006-01-02 15:04:05 | ||
17 | + Rotation: size | ||
18 | + MaxContentLength: 10240 | ||
19 | + | ||
20 | +SystemAuth: | ||
21 | + AccessSecret: digital-platform | ||
22 | + AccessExpire: 360000 | ||
23 | + | ||
24 | +MiniAuth: | ||
25 | + AccessSecret: discuss-secret | ||
26 | + AccessExpire: 360000 | ||
27 | + | ||
28 | +Redis: | ||
29 | + Host: 192.168.0.247:30379 | ||
30 | + Type: node | ||
31 | + Pass: | ||
32 | +DB: | ||
33 | + DataSource: host=114.55.200.59 user=postgres password=eagle1010 dbname=sumifcc-discuss-prd port=31544 sslmode=disable TimeZone=Asia/Shanghai | ||
34 | + | ||
35 | +ApiAuth: | ||
36 | + Name: ApiAuth | ||
37 | + Host: http://digital-platform-dev.fjmaimaimai.com | ||
38 | + Timeout: 0s | ||
39 | + | ||
40 | +Wechat: | ||
41 | + AppID: wxae5b305849343ec8 | ||
42 | + AppSecret: f584adb68f7d784425b60e1ebb2ffd4b |
@@ -30,7 +30,7 @@ Redis: | @@ -30,7 +30,7 @@ Redis: | ||
30 | Type: node | 30 | Type: node |
31 | Pass: | 31 | Pass: |
32 | DB: | 32 | DB: |
33 | - DataSource: host=114.55.200.59 user=postgres password=eagle1010 dbname=sumifcc-discuss-dev port=31543 sslmode=disable TimeZone=Asia/Shanghai | 33 | + DataSource: host=114.55.200.59 user=postgres password=eagle1010 dbname=sumifcc-discuss-prd port=31544 sslmode=disable TimeZone=Asia/Shanghai |
34 | 34 | ||
35 | ApiAuth: | 35 | ApiAuth: |
36 | Name: ApiAuth | 36 | Name: ApiAuth |
-
请 注册 或 登录 后发表评论