Skip to content

Commit b500085

Browse files
committed
update:docment and readme
1 parent 8fc8483 commit b500085

File tree

6 files changed

+69
-67
lines changed

6 files changed

+69
-67
lines changed

CHANGELOG

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
XEngine_APIService V3.2.0.1001
2+
3+
增加:编译开关日志提示
4+
增加:lua脚本功能开关编译选项
5+
修改:LUA,二维码和图像处理现在默认关闭
6+
修改:LUA,二维码和图像处理没有启用的时候返回501了
7+
修改:现在makefile支持linux和macos的编译开关了
8+
修改:不在需要bank和id处理的utf转换了
9+
修改:重新设计了语言翻译从有道改为百度
10+
修改:翻译语言日志提示
11+
修改:翻译类型使用枚举型替代
12+
修复:没有启用音频还开始录制的问题
13+
删除:lua init 变量
14+
删除:OPENCC库和相关代码已经被移除使用翻译替代
15+
16+
added:build switch tips
17+
added:lua buid switch
18+
modify:lua and qr and image switch defualt is close
19+
modify:lua and qr and image reply is 501 when they is disable
20+
modify:makefile support linux and macos for build switch
21+
modify:does not need utf convert for bank and idcard
22+
modify:Redesigning translation from youdao to baidu
23+
modify:translation language tips
24+
modify:translation type used enum instead.
25+
fixed:not enable audio then start
26+
delete:lua init value
27+
delete:opencc library and code,use translation instead
28+
======================================================================================
129
XEngine_APIService V3.1.0.1001
230

331
增加:为opencv和qr增加自定义编译开关

README.en.md

Lines changed: 20 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,20 @@ Support privatization deployment, free, safe, open source, controllable
3535
14. Bank card verification
3636
15. Exchange rate calculation (planned)
3737
16. QR code generation and parse
38-
17. Simplified and Traditional Conversion
39-
18. Twenty-four solar terms (planned)
40-
19. Xinhua Dictionary
41-
20. Metering Conversion
42-
21. network test
43-
22. Distributed lock
44-
23. short url creator and forward
45-
24. local system time
46-
25. math Calculation
47-
26. log service
48-
27. Plugin hot reload
49-
28. Sensitive word detection
50-
29. remote control(back management)
51-
30. Image Process
52-
31. process deamon
38+
17. Twenty-four solar terms (planned)
39+
18. Translation
40+
19. Metering Conversion
41+
20. network test
42+
21. Distributed lock
43+
22. short url creator and forward
44+
23. local system time
45+
24. math Calculation
46+
25. log service
47+
26. Plugin hot reload
48+
27. Sensitive word detection
49+
28. remote control(back management)
50+
29. Image Process
51+
30. process deamon
5352

5453
## install
5554

@@ -69,7 +68,7 @@ MYSQL database version 8.0 or above is required. Create a table through CreateDa
6968
Modify the database configuration in XSQL in the configuration file to your
7069

7170
#### Windows
72-
need to vcpkg configure third-part env.refer vcpkg install guide.after installed and execution:vcpkg.exe install lua:x86-windows opencc:x86-windows opencv[contrib]:x86-windows libqrencode:x86-windows lua:x64-windows opencc:x64-windows opencv[contrib]:x64-windows libqrencode:x64-windows
71+
need to vcpkg configure third-part env.refer vcpkg install guide.after installed and execution:vcpkg.exe install lua:x86-windows opencv[contrib]:x86-windows libqrencode:x86-windows lua:x64-windows opencv[contrib]:x64-windows libqrencode:x64-windows
7372
use vs open and compile,suport windows 7sp1 and above
7473
Just Run it
7574

@@ -165,28 +164,16 @@ api:http://app.xyry.org:5501/api?function=bank&params1=6214832830000000
165164
"msg":"success"
166165
}
167166
```
168-
language
169-
api:http://app.xyry.org:5501/api?function=language&params1=简体到繁体&params2=1
170-
```json
171-
{
172-
"code":0,
173-
"data":{
174-
"enType":1,
175-
"tszDestStr":"簡體到繁體",
176-
"tszSourceStr":"简体到繁体"
177-
},
178-
"msg":"success"
179-
}
180-
```
181167
translation
182-
api:http://app.xyry.org:5501/api?function=translation&params1=中国&params2=0
168+
api:http://127.0.0.1:5501/api?function=translation&msg=中文翻译成英文&src=1&dst=2
183169
```json
184170
{
185171
"code":0,
186172
"data":{
187-
"enType":0,
188-
"tszDestStr":"China",
189-
"tszSourceStr":"中国"
173+
"tszDestStr":"Translate from Chinese to English",
174+
"tszFromStr":"zh",
175+
"tszSourceStr":"中文翻译成英文",
176+
"tszToStr":"en"
190177
},
191178
"msg":"success"
192179
}

README.md

Lines changed: 20 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,20 @@ c c++ interface api service
3434
14. 银行卡验证
3535
15. 汇率计算(计划中)
3636
16. 二维码生成解析
37-
17. 简繁转换
38-
18. 二十四节气(计划中)
39-
19. 新华词典
40-
20. 计量转换
41-
21. 网络测试
42-
22. 分布式锁API
43-
23. 短连接生成和转发
44-
24. 本地标准时间
45-
25. 数学计算
46-
26. 日志服务
47-
27. 插件脚本热重载
48-
28. 敏感词检测
49-
29. 远程控制(后台管理)
50-
30. 图像处理
51-
31. 进程守护
37+
17. 二十四节气(计划中)
38+
18. 翻译
39+
19. 计量转换
40+
20. 网络测试
41+
21. 分布式锁API
42+
22. 短连接生成和转发
43+
23. 本地标准时间
44+
24. 数学计算
45+
25. 日志服务
46+
26. 插件脚本热重载
47+
27. 敏感词检测
48+
28. 远程控制(后台管理)
49+
29. 图像处理
50+
30. 进程守护
5251

5352
## 安装教程
5453

@@ -68,7 +67,7 @@ macos执行:./XEngine_LINEnv.sh -i 3
6867
修改配置文件里面XSQL里面的数据库配置为你的
6968

7069
#### Windows
71-
需要vcpkg配置第三方环境,具体参考vcpkg安装方式,安装好后执行:vcpkg.exe install lua:x86-windows opencc:x86-windows opencv[contrib]:x86-windows libqrencode:x86-windows lua:x64-windows opencc:x64-windows opencv[contrib]:x64-windows libqrencode:x64-windows
70+
需要vcpkg配置第三方环境,具体参考vcpkg安装方式,安装好后执行:vcpkg.exe install lua:x86-windows opencv[contrib]:x86-windows libqrencode:x86-windows lua:x64-windows opencv[contrib]:x64-windows libqrencode:x64-windows
7271
使用VS打开并且编译,支持WINDOWS 7SP1以上系统
7372
直接运行即可
7473

@@ -163,28 +162,16 @@ make FLAGS=CleanAll 清理编译
163162
"msg":"success"
164163
}
165164
```
166-
语言转换
167-
接口:http://app.xyry.org:5501/api?function=language&params1=简体到繁体&params2=1
168-
```json
169-
{
170-
"code":0,
171-
"data":{
172-
"enType":1,
173-
"tszDestStr":"簡體到繁體",
174-
"tszSourceStr":"简体到繁体"
175-
},
176-
"msg":"success"
177-
}
178-
```
179165
翻译
180-
接口:http://app.xyry.org:5501/api?function=translation&params1=中国&params2=0
166+
接口:http://127.0.0.1:5501/api?function=translation&msg=中文翻译成英文&src=1&dst=2
181167
```json
182168
{
183169
"code":0,
184170
"data":{
185-
"enType":0,
186-
"tszDestStr":"China",
187-
"tszSourceStr":"中国"
171+
"tszDestStr":"Translate from Chinese to English",
172+
"tszFromStr":"zh",
173+
"tszSourceStr":"中文翻译成英文",
174+
"tszToStr":"en"
188175
},
189176
"msg":"success"
190177
}

XEngine_Docment/Docment_en.docx

-449 Bytes
Binary file not shown.

XEngine_Docment/Docment_zh.docx

48 Bytes
Binary file not shown.

XEngine_Source/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ RELEASE = 0
22
UNICODE = 0
33
PLATFORM=linux
44
FLAGS=
5-
5+
#编译开关
66
QR=1
77
LUA=1
88
OPENCV=1

0 commit comments

Comments
 (0)