zhaolei
4 days ago 0b51bf5178442b800fd76f4ff1df5b8e47af7525
commit | author | age
4a2e5b 1 {
Z 2   "Logging": {
3     "IncludeScopes": false,
4     "LogLevel": {
5       "Default": "Warning"
6     },
7     "LgbFile": {
8       "IncludeScopes": true,
9       "LogLevel": {
10         "Default": "Error"
11       },
12       "FileName": "Error\\Log.log"
13     },
14     "Cloud": {
15       "LogLevel": {
16         "Default": "Error"
17       },
18       "Url": "https://client.sdgxgz.com/api/Interface/Log"
19     }
20   },
21   "ConnectionStrings": {
0b51bf 22     "ba": "Data Source=123.56.102.130;Initial Catalog=XNJK;User ID=sa;Password=cqprow1234."
4a2e5b 23   },
Z 24   "AutoGenerateDatabase": false,
25   "DB": [
26     {
27       "Enabled": true,
28       "ProviderName": "SqlServer",
29       "ConnectionStrings": {
0b51bf 30         "ba": "Data Source=123.56.102.130;Initial Catalog=XNJK;User ID=sa;Password=cqprow1234."
4a2e5b 31       }
Z 32     },
33     {
34       "Enabled": false,
35       "ProviderName": "Sqlite",
36       "ConnectionStrings": {
37         "ba": "Data Source=BootstrapAdmin.db;"
38       }
39     },
40     {
41       "Enabled": false,
42       "ProviderName": "MySql",
43       "ConnectionStrings": {
44         "ba": "Server=localhost;Database=BA;Uid=argozhang;Pwd=argo@163.com;SslMode=none;"
45       }
46     },
47     {
48       "Enabled": false,
49       "ProviderName": "Npgsql",
50       "ConnectionStrings": {
51         "ba": "Server=localhost;Database=BootstrapAdmin;User ID=argozhang;Password=argo@163.com;"
52       }
53     },
54     {
55       "Enabled": false,
56       "Widget": "Bootstrap.DataAccess.MongoDB",
57       "ProviderName": "MongoDB",
58       "ConnectionStrings": {
59         "ba": "mongodb://localhost:27017/BootstrapAdmin"
60       }
61     }
62   ],
63   "AppId": "BA",
64   "UseHttps": true,
65   "SwaggerPathBase": "",
66   "AllowOrigins": "http://localhost,http://ba.sdgxgz.cn",
67   "HealthsCloudUrl": "https://client.sdgxgz.com/api/Interface/Healths",
68   "GiteeHealthChecks": false,
69   "Sentry": {
70     "Dsn": "https://70bdfff562e84fa7b9a43d65924ab9ad@sentry.io/1469396"
71   },
72   "TokenValidateOption": {
73     "Issuer": "BA",
74     "Audience": "api",
75     "Expires": 5,
76     "SecurityKey": "BootstrapAdmin-V1.1"
77   },  
78   "TaskServicesOptions": {
79     "ShutdownTimeout": "00:00:05"
80   },
81   "FileStorageOptions": {
82     "Enabled": true,
83     "Folder": "TaskStorage",
84     "Secure": true
85   },
86   "GiteeOptions": {
87     "Enabled": true,
88     "ClientId": "<ClientId>",
89     "ClientSecret": "<ClientSecret>",
90     "CallbackPath": "/signin-gitee",
91     "HomePath": "/Home/Index",
92     "Scope": [ "user_info", "projects" ],
93     "Roles": [ "Default" ],
94     "App": "Demo"
95   },
96   "GitHubOptions": {
97     "Enabled": true,
98     "ClientId": "<ClientId>",
99     "ClientSecret": "<ClientSecret>",
100     "CallbackPath": "/signin-github",
101     "HomePath": "/Home/Index",
102     "Scope": [ "user_info", "repo" ],
103     "Roles": [ "Default" ],
104     "App": "Demo"
105   },
106   "WeChatOptions": {
107     "Enabled": true,
108     "ClientId": "<ClientId>",
109     "ClientSecret": "<secret>",
110     "CallbackPath": "/signin-weixin",
111     "HomePath": "/Admin/Profiles",
112     "Scope": [ "snsapi_login" ],
113     "Roles": [ "Default" ],
114     "App": "Demo"
115   },
116   "TencentOptions": {
117     "Enabled": true,
118     "ClientId": "<ClientId>",
119     "ClientSecret": "<ClientSecret>",
120     "CallbackPath": "/signin-tencent",
121     "HomePath": "/Admin/Profiles",
122     "Scope": [ "get_user_info" ],
123     "Roles": [ "Administrators" ],
124     "App": "Demo"
125   },
126   "AlipayOptions": {
127     "Enabled": true,
128     "ClientId": "<ClientId>",
129     "ClientSecret": "<ClientSecret>",
130     "CallbackPath": "/signin-alipay",
131     "HomePath": "/Admin/Profiles",
132     "SignKey": "",
133     "Scope": [ "auth_user" ],
134     "Roles": [ "Administrators" ],
135     "App": "Demo"
136   },
137   "SMSOptions": {
138     "CompanyCode": "<CompanyCode>",
139     "MD5Key": "MD5Key",
140     "Roles": [ "Default" ],
141     "HomePath": "/Home/Index",
142     "App": "Demo"
143   },
144   "TencentSMSOptions": {
145     "AppId": "<TencentAppId>",
146     "AppKey": "<TencentAppKey>",
147     "TplId": 0,
148     "Sign": "<TencentSign>",
149     "Roles": [ "Default" ],
150     "HomePath": "/Admin/Profiles",
151     "App": "Demo"
152   },
153   "LongbowCache": {
154     "Enabled": true,
155     "CorsItems": [
156       {
157         "Enabled": true,
158         "Key": "ba",
159         "Url": "CacheList.axd",
160         "Desc": "后台管理数据缓存接口",
161         "Self": true
162       },
163       {
164         "Enabled": true,
165         "Key": "App",
166         "Url": "../Client/CacheList.axd",
167         "Desc": "测试系统",
168         "Self": false
169       }
170     ],
171     "CacheItems": [
172       {
173         "Enabled": true,
174         "Key": "RoleHelper-RetrieveRolesByUserName",
175         "Interval": 600000,
176         "SlidingExpiration": true,
177         "Desc": "指定用户角色数据缓存"
178       },
179       {
180         "Enabled": true,
181         "Key": "RoleHelper-RetrieveRolesByUrl",
182         "Interval": 600000,
183         "SlidingExpiration": true,
184         "Desc": "通过菜单获得角色数据"
185       },
186       {
187         "Enabled": true,
188         "Key": "AppHelper-RetrieveAppsByUserName",
189         "Interval": 600000,
190         "SlidingExpiration": true,
191         "Desc": "指定用户授权应用数据缓存"
192       },
193       {
194         "Enabled": true,
195         "Key": "BootstrapUser-RetrieveUsersByName",
196         "Interval": 600000,
197         "SlidingExpiration": true,
198         "Desc": "登录用户数据"
199       },
200       {
201         "Enabled": true,
202         "Key": "BootstrapDict-RetrieveDicts",
203         "Interval": 600000,
204         "SlidingExpiration": true,
205         "Desc": "所有字典数据缓存"
206       },
207       {
208         "Enabled": true,
209         "Key": "BootstrapMenu-RetrieveMenus",
210         "Interval": 600000,
211         "SlidingExpiration": true,
212         "Desc": "用户所有菜单数据缓存"
213       },
214       {
215         "Enabled": true,
216         "Key": "GroupHelper-RetrieveGroupsByUserName",
217         "Interval": 600000,
218         "SlidingExpiration": true,
219         "Desc": "指定用户组数据缓存"
220       },
221       {
222         "Enabled": true,
223         "Key": "UserHelper-RetrieveUsers",
224         "Interval": 600000,
225         "SlidingExpiration": true,
226         "Desc": "所有用户数据"
227       },
228       {
229         "Enabled": true,
230         "Key": "UserHelper-RetrieveUsersByRoleId",
231         "Interval": 600000,
232         "SlidingExpiration": true,
233         "Desc": "通过角色ID获得所有用户数据"
234       },
235       {
236         "Enabled": true,
237         "Key": "UserHelper-RetrieveUsersByGroupId",
238         "Interval": 600000,
239         "SlidingExpiration": true,
240         "Desc": "通过部门ID获得所有用户数据"
241       },
242       {
243         "Enabled": true,
244         "Key": "UserHelper-RetrieveNewUsers",
245         "Interval": 600000,
246         "SlidingExpiration": true,
247         "Desc": "新用户数据"
248       },
249       {
250         "Enabled": true,
251         "Key": "MenuHelper-RetrieveMenusByRoleId",
252         "Interval": 600000,
253         "SlidingExpiration": true,
254         "Desc": "通过角色ID获得所有菜单数据"
255       },
256       {
257         "Enabled": true,
258         "Key": "RoleHelper-RetrieveRoles",
259         "Interval": 600000,
260         "SlidingExpiration": true,
261         "Desc": "所有角色数据"
262       },
263       {
264         "Enabled": true,
265         "Key": "RoleHelper-RetrieveRolesByUserId",
266         "Interval": 600000,
267         "SlidingExpiration": true,
268         "Desc": "通过用户ID获得所有角色数据"
269       },
270       {
271         "Enabled": true,
272         "Key": "RoleHelper-RetrieveRolesByMenuId",
273         "Interval": 600000,
274         "SlidingExpiration": true,
275         "Desc": "通过菜单ID获得所有角色数据"
276       },
277       {
278         "Enabled": true,
279         "Key": "RoleHelper-RetrieveRolesByGroupId",
280         "Interval": 600000,
281         "SlidingExpiration": true,
282         "Desc": "通过部门ID获得所有角色数据"
283       },
284       {
285         "Enabled": true,
286         "Key": "GroupHelper-RetrieveGroups",
287         "Interval": 600000,
288         "SlidingExpiration": true,
289         "Desc": "所有部门数据"
290       },
291       {
292         "Enabled": true,
293         "Key": "GroupHelper-RetrieveGroupsByUserId",
294         "Interval": 600000,
295         "SlidingExpiration": true,
296         "Desc": "通过用户ID获得所有部门数据"
297       },
298       {
299         "Enabled": true,
300         "Key": "GroupHelper-RetrieveGroupsByRoleId",
301         "Interval": 600000,
302         "SlidingExpiration": true,
303         "Desc": "通过角色ID获得所有部门数据"
304       },
305       {
306         "Enabled": true,
307         "Key": "AppHelper-RetrieveAppsByRoleId",
308         "Interval": 600000,
309         "SlidingExpiration": true,
310         "Desc": "通过角色ID获得所有应用程序数据"
311       },
312       {
313         "Enabled": true,
314         "Key": "DictHelper-RetrieveDictsCategory",
315         "Interval": 600000,
316         "SlidingExpiration": true,
317         "Desc": "字典分类数据"
318       },
319       {
320         "Enabled": true,
321         "Key": "ExceptionHelper-RetrieveExceptions",
322         "Interval": 600000,
323         "SlidingExpiration": true,
324         "Desc": "程序异常数据"
325       },
326       {
327         "Enabled": true,
328         "Key": "MessageHelper-RetrieveMessages",
329         "Interval": 600000,
330         "SlidingExpiration": true,
331         "Desc": "站内消息数据"
332       },
333       {
334         "Enabled": true,
335         "Key": "TaskHelper-RetrieveTasks",
336         "Interval": 600000,
337         "SlidingExpiration": true,
338         "Desc": "所有任务数据"
339       }
340     ]
341   }
342 }