Skip to content

Commit e3f0234

Browse files
committed
update:readme and docment
1 parent 24b65d1 commit e3f0234

File tree

5 files changed

+90
-4
lines changed

5 files changed

+90
-4
lines changed

CHANGELOG

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
XEngine_APIService V2.4.0.1001
2+
3+
添加:分布式锁
4+
添加:cdkey授权功能支持
5+
修改:插件文件名支持自适应了
6+
修改:linux和macos的程序名称
7+
修改:p2pcomm函数为comm公用函数
8+
修改:密码函数类型支持整数和字母了
9+
修复:提交方法没有释放头列表内存的问题
10+
11+
added:Distributed lock
12+
added:cdkey create function
13+
modify:plugin file name was support adaptive
14+
modify:linux and macos app name
15+
modify:p2pcomm function to comm
16+
modify:Password types support int and words
17+
fixed:post method does not free header list memory
18+
======================================================================================
119
XEngine_APIService V2.3.0.1001
220

321
添加:服务器能力查询接口函数

README.en.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Support privatization deployment, free, safe, open source, controllable
3838
18. Twenty-four solar terms (planned)
3939
19. Xinhua Dictionary
4040
20. Metering Conversion
41-
21. CDKey Creator (planned)
42-
22. Distributed lock (planned)
41+
21. CDKey Creator
42+
22. Distributed lock
4343

4444
## install
4545

@@ -200,6 +200,40 @@ api:http://app.xyry.org:5501/api?function=translation&params1=中国&params2=0&p
200200
"msg":"success"
201201
}
202202
```
203+
Authorize CDKey
204+
Api:http://app.xyry.org:5501/api?function=cdkey&params1=0
205+
```json
206+
{
207+
"tszAddr":"服务器地址",
208+
"nPort":5000,
209+
"st_AuthAppInfo":{
210+
"tszAppName":"自定义名称",
211+
"tszAppVer":"自定义版本"
212+
},
213+
"st_AuthRegInfo":{
214+
"tszHardware":"硬件吗",
215+
"enSerialType":1,
216+
"enRegType":1,
217+
"enHWType":1
218+
},
219+
"st_AuthUserInfo":{
220+
"tszUserName":"注册的用户名",
221+
"tszUserContact":"联系方式",
222+
"tszCustom":"自定义,可选参数"
223+
}
224+
}
225+
```
226+
Distributed Lock
227+
Api:http://app.xyry.org:5501/api?function=lock&params1=1000154321&params2=1
228+
```json
229+
{
230+
"code":0,
231+
"data":{
232+
"xhToken":1000154321
233+
},
234+
"msg":"success"
235+
}
236+
```
203237
## Participate in contribution
204238
I hope you will submit more code to participate in the contribution
205239

README.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ c c++ interface api service
3838
18. 二十四节气(计划中)
3939
19. 新华词典
4040
20. 计量转换(计划中)
41-
21. CDKey创建支持(计划中)
42-
22. 分布式锁API(计划中)
41+
21. CDKey创建支持
42+
22. 分布式锁API
4343

4444
## 安装教程
4545

@@ -198,6 +198,40 @@ IP地址查询
198198
"msg":"success"
199199
}
200200
```
201+
CDKey授权
202+
接口:http://app.xyry.org:5501/api?function=cdkey&params1=0
203+
```json
204+
{
205+
"tszAddr":"服务器地址",
206+
"nPort":5000,
207+
"st_AuthAppInfo":{
208+
"tszAppName":"自定义名称",
209+
"tszAppVer":"自定义版本"
210+
},
211+
"st_AuthRegInfo":{
212+
"tszHardware":"硬件吗",
213+
"enSerialType":1,
214+
"enRegType":1,
215+
"enHWType":1
216+
},
217+
"st_AuthUserInfo":{
218+
"tszUserName":"注册的用户名",
219+
"tszUserContact":"联系方式",
220+
"tszCustom":"自定义,可选参数"
221+
}
222+
}
223+
```
224+
分布式锁
225+
接口:http://app.xyry.org:5501/api?function=lock&params1=1000154321&params2=1
226+
```json
227+
{
228+
"code":0,
229+
"data":{
230+
"xhToken":1000154321
231+
},
232+
"msg":"success"
233+
}
234+
```
201235
## 参与贡献
202236
希望大家多多提交代码参与贡献
203237

XEngine_Docment/Docment_en.docx

3.75 KB
Binary file not shown.

XEngine_Docment/Docment_zh.docx

3.87 KB
Binary file not shown.

0 commit comments

Comments
 (0)