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