-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXEngine_Config.json
More file actions
93 lines (93 loc) · 2.88 KB
/
XEngine_Config.json
File metadata and controls
93 lines (93 loc) · 2.88 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
{
"tszIPAddr": "192.168.1.8",
"bDeamon": false,
"bShowWnd": true,
"nHttpPort": 5501,
"nRFCPort": 5502,
"nNTPPort": 0,
"nDNSPort": 0,
"XMax": {
"nMaxClient": 10000,
"nMaxQueue": 10000,
"nIOThread": 2,
"nHttpThread": 2
},
"XTime": {
"nTimeCheck": 3,
"nHttpTimeOut": 5,
"nP2PTimeOut": 60
},
"XLog": {
"tszAPIFile": "./XEngine_Log/XEngine_HttpApp.Log",
"tszServiceFile": "./XEngine_Log/XEngine_ServiceApp.Log",
"MaxSize": 1024000,
"MaxCount": 10,
"LogLeave": 17,
"LogType": 32
},
"XSql": {
"bEnable": false,
"SQLAddr": "10.0.2.6",
"SQLPort": 3306,
"SQLUser": "root",
"SQLPass": "123123aa"
},
"XApi": {
"tszWeatherUrl": "https://restapi.amap.com/v3/weather/weatherInfo?city=%s&key=3239fc302d6480ce49973f4d1c59e5d8",
"tszBankUrl": "https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?cardNo=%s&cardBinCheck=true",
"tszOilUrl": "https://www.iamwawa.cn/oilprice/api?area=%s",
"st_TranslationInfo": {
"url": "https://fanyi-api.baidu.com/api/trans/vip/translate",
"appid": "20231228001924304",
"key": "udXGjpmNVeQHml1FjT8E"
}
},
"XPlugin": {
"bEnable": true,
"tszLibPlugin": "./XEngine_LibPlugin",
"tszLuaPlugin": "./XEngine_LuaPlugin"
},
"XConfig": {
"st_ConfigQRCode": {
"tszModelDetect": "./XEngine_Config/qrmodel/detect.caffemodel",
"tszModelSr": "./XEngine_Config/qrmodel/sr.caffemodel",
"tszProtoDetect": "./XEngine_Config/qrmodel/detect.prototxt",
"tszProtoSr": "./XEngine_Config/qrmodel/sr.prototxt"
},
"tszConfigDeamon": "./XEngine_Config/XEngine_DeamonConfig.json",
"tszConfigHTTPMime": "./XEngine_Config/HttpMime.types",
"tszConfigHTTPCode": "./XEngine_Config/HttpCode.types"
},
"XShortLink": {
"tszHostUrl": "url.xyry.org",
"nHTTPCode": 301
},
"XVerification": {
"tszUserName": "xyry",
"tszUserPass": "11",
"tszAPIAuth": "",
"nVType": 1,
"bEnable": false,
"st_VerSwitch": {
"bBackService": true,
"bDeamon": true
}
},
"XReport": {
"bEnable": true,
"tszAPIUrl": "http://app.xyry.org:5501/api?function=machine",
"tszServiceName": "XEngine_APIService"
},
"XImageText": {
"bEnable": true,
"tszImagePath": "./XEngine_Config/tessdata",
"tszImageLanguage": "chi_sim+eng"
},
"XAPIModule": {
"bEnable": true,
"tszDBPhone": "./XEngine_DBFile/phone.xdb",
"tszDBMac": "./XEngine_DBFile/macaddr.xdb",
"tszDBIPAddr": "./XEngine_DBFile/GeoLite2-City.mmdb",
"tszDBISPAddr": "./XEngine_DBFile/GeoLite2-ASN.mmdb"
}
}