@@ -19,7 +19,7 @@ Support privatization deployment, free, safe, open source, controllable
1919
2020## Software feature
21211 . permission verication
22- 2 . support ip address location information query(IPV4 and IPV6)
22+ 2 . support ip address location information query
23233 . support ID verification and information query
24244 . support phone number information query
25255 . Weather forecast (planned)
@@ -40,10 +40,11 @@ Support privatization deployment, free, safe, open source, controllable
404020 . Metering Conversion
414121 . CDKey Creator
424222 . Distributed lock
43- 23 . short url creator
43+ 23 . short url creator(planned)
444424 . local system time
454525 . math Calculation
46- 26 . log service(plan)
46+ 26 . log service
47+ 27 . Plugin hot reload(planned)
4748
4849## install
4950
@@ -58,13 +59,17 @@ window Exection XEngine_WINEnv.bat
5859Linux Exection: sudo ./XEngine_LINEnv.sh -i 3
5960Macos Exection:./XEngine_LINEnv.sh -i 3
6061
62+ #### Database Env
63+ MYSQL database version 8.0 or above is required. Create a table through CreateDatabase.sql, and then import the table with XEngine_APIInfo.sql
64+ Modify the database configuration in XSQL in the configuration file to your
65+
6166#### Windows
6267need to vcpkg configure third-part env.refer vcpkg install guide.after installed and execution: vcpkg .exe install lua lua: x64-windows opencc opencc: x64-windows
6368use vs open and compile,suport windows 7sp1 and above
6469Just Run it
6570
6671#### Linux
67- install opencc, ubuntu: sudo apt install libopencc-dev
72+ ubuntu: sudo apt install libopencc-dev
6873centos: compile by self
6974use makefile compile,UBUNTU20.04 x64 or CENTOS8 x64
7075Run it on the terminal
@@ -111,41 +116,6 @@ You can refer to the document under the docment directory. It contains API proto
111116Address: app .xyry.org,Port:5501
112117#### example
113118For more information please refer to the documentation
114- phone information query
115- api:http://app.xyry.org:5501/api?function=phone¶ms1=13699439999
116- ``` json
117- {
118- "code" :0 ,
119- "data" :{
120- "nAreaCode" :28 ,
121- "nPhoneNumber" :13699439999 ,
122- "nZipCode" :610000 ,
123- "tszCity" :" 成都" ,
124- "tszProvincer" :" 四川"
125- },
126- "msg" :" success"
127- }
128- ```
129- ip address information
130- api:http://app.xyry.org:5501/api?function=ip¶ms1=1.29.164.255
131- ``` json
132- {
133- "code" :0 ,
134- "data" :{
135- "tszIPAddr" :" 1.29.164.255" ,
136- "tszIPAddress" :" 内蒙古通辽市霍林郭勒市" ,
137- "tszIPCity" :" 通辽市" ,
138- "tszIPCountry" :" 中国" ,
139- "tszIPCounty" :" 霍林郭勒市" ,
140- "tszIPEnd" :" 1.29.164.255" ,
141- "tszIPISP" :" 联通" ,
142- "tszIPProvince" :" 内蒙古" ,
143- "tszIPStart" :" 1.29.164.0" ,
144- "tszIPTime" :" 2021-11-03 07:33:50"
145- },
146- "msg" :" success"
147- }
148- ```
149119id information query
150120api:http://app.xyry.org:5501/api?function=id¶ms1=511025198800000000
151121``` json
0 commit comments