Skip to content

Commit 1e883e6

Browse files
committed
update:docment and readme
1 parent c05869f commit 1e883e6

File tree

7 files changed

+55
-23
lines changed

7 files changed

+55
-23
lines changed

CHANGELOG

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
XEngine_Authorize V3.10.0.1001
2+
3+
增加:临时验证超时时间字段支持
4+
增加:临时验证TOKEN权限检查
5+
增加:临时验证增加管理代码,支持枚举,删除和修改
6+
增加:编译选项支持客户端链接和客户端临时验证
7+
增加:验证客户端模块,支持网络授权和临时试用
8+
修正:超时时间一直为1的问题
9+
修正:超时时间处理不正确的问题
10+
修正:试用时间类型不正确并且修改过期时间
11+
修正:试用删除数据库语法错误
12+
修正:临时验证过期时间计算方法不正确
13+
14+
added:temp ver left time field supported
15+
added:temporary verification token ver supported
16+
added:mangement code for temporary verification
17+
added:build switch supported and added client connect and temp ver supported
18+
added:auth client module
19+
fixed:The remaining time after timeout is 1
20+
fixed:try type time handle is incorrent
21+
fixed:try time type is incorrent and modify to left time
22+
fixed:try delete sql syntax is incorrent
23+
fixed:temp ver left time cal is incorrent
24+
================================================================
125
XEngine_Authorize V3.9.1.1001
226

327
修改:管理程序禁用了天数卡生成选项

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
c c++网络验证服务器 网络授权服务器
88
c c++network Authorize service
99
这是网络授权验证服务器的代码库,这个服务主要提供网络授权验证功能.支持本地和网络两种验证模式
10-
网络验证支持TCP和WEBSOCKET以及HTTP协议验证,也就是说,支持APP程序和WEB网页端
10+
网络验证支持TCP和WEBSOCKET验证,也就是说,支持APP程序和WEB网页端
1111
全国首款开源C/C++ 网络验证服务器,支持各种语言各种平台进行网络验证和授时服务
1212
这是一个跨平台简单高性能网络授权服务器,提供了完整的演示代码
1313

@@ -153,4 +153,5 @@ mysql支持
153153
支持绑定自定义内容
154154
自动售卡(支付宝,微信)
155155
MQTT协议支持,让你的嵌入式设备也用上授时验证
156-
支持三方验证(其他服务也可以发送验证请求给验证服务来做验证)
156+
支持三方验证(其他服务也可以发送验证请求给验证服务来做验证)
157+
优化第三方验证(密码系统的适配问题修改)

XEngine_Docment/Docment_en.docx

1.91 KB
Binary file not shown.

XEngine_Docment/Docment_zh.docx

2.27 KB
Binary file not shown.
0 Bytes
Binary file not shown.

XEngine_SQL/main.sql

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Target Server Version : 3035005 (3.35.5)
1111
File Encoding : 65001
1212
13-
Date: 24/02/2023 14:43:17
13+
Date: 09/01/2024 14:12:10
1414
*/
1515

1616
PRAGMA foreign_keys = false;
@@ -62,22 +62,6 @@ CREATE TABLE "Authorize_BannedUser" (
6262
-- Records of Authorize_BannedUser
6363
-- ----------------------------
6464

65-
-- ----------------------------
66-
-- Table structure for Authorize_NetVer
67-
-- ----------------------------
68-
DROP TABLE IF EXISTS "Authorize_NetVer";
69-
CREATE TABLE "Authorize_NetVer" (
70-
"ID" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
71-
"VerSerial" TEXT NOT NULL,
72-
"VerMode" integer NOT NULL,
73-
"TryTime" integer NOT NULL,
74-
"CreateTime" TEXT NOT NULL
75-
);
76-
77-
-- ----------------------------
78-
-- Records of Authorize_NetVer
79-
-- ----------------------------
80-
8165
-- ----------------------------
8266
-- Table structure for Authorize_Serial
8367
-- ----------------------------
@@ -96,6 +80,23 @@ CREATE TABLE "Authorize_Serial" (
9680
-- Records of Authorize_Serial
9781
-- ----------------------------
9882

83+
-- ----------------------------
84+
-- Table structure for Authorize_TempVer
85+
-- ----------------------------
86+
DROP TABLE IF EXISTS "Authorize_TempVer";
87+
CREATE TABLE "Authorize_TempVer" (
88+
"ID" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
89+
"tszVSerial" TEXT NOT NULL,
90+
"nVMode" integer NOT NULL,
91+
"nVTime" integer NOT NULL,
92+
"nLTime" integer NOT NULL,
93+
"CreateTime" TEXT NOT NULL
94+
);
95+
96+
-- ----------------------------
97+
-- Records of Authorize_TempVer
98+
-- ----------------------------
99+
99100
-- ----------------------------
100101
-- Table structure for Authorize_User
101102
-- ----------------------------
@@ -131,9 +132,10 @@ CREATE TABLE "sqlite_sequence" (
131132
-- ----------------------------
132133
-- Records of sqlite_sequence
133134
-- ----------------------------
134-
INSERT INTO "sqlite_sequence" VALUES ('Authorize_User', 2);
135135
INSERT INTO "sqlite_sequence" VALUES ('Authorize_BannedUser', 6);
136136
INSERT INTO "sqlite_sequence" VALUES ('Authorize_BannedAddr', 5);
137+
INSERT INTO "sqlite_sequence" VALUES ('Authorize_User', 2);
138+
INSERT INTO "sqlite_sequence" VALUES ('Authorize_TempVer', 1);
137139

138140
-- ----------------------------
139141
-- Auto increment value for Authorize_BannedAddr
@@ -145,6 +147,11 @@ UPDATE "sqlite_sequence" SET seq = 5 WHERE name = 'Authorize_BannedAddr';
145147
-- ----------------------------
146148
UPDATE "sqlite_sequence" SET seq = 6 WHERE name = 'Authorize_BannedUser';
147149

150+
-- ----------------------------
151+
-- Auto increment value for Authorize_TempVer
152+
-- ----------------------------
153+
UPDATE "sqlite_sequence" SET seq = 1 WHERE name = 'Authorize_TempVer';
154+
148155
-- ----------------------------
149156
-- Auto increment value for Authorize_User
150157
-- ----------------------------

XEngine_Source/AuthorizeModule_Client/AuthorizeModule_Client.vcxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,19 @@
7171
</ImportGroup>
7272
<PropertyGroup Label="UserMacros" />
7373
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
74-
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
74+
<IncludePath>$(XEngine_Include);../XEngine_ThirdPart/jsoncpp;$(IncludePath)</IncludePath>
7575
<LibraryPath>$(XEngine_Lib32);$(LibraryPath)</LibraryPath>
7676
</PropertyGroup>
7777
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7878
<IncludePath>$(XEngine_Include);../XEngine_ThirdPart/jsoncpp;$(IncludePath)</IncludePath>
7979
<LibraryPath>$(XEngine_Lib32);$(LibraryPath)</LibraryPath>
8080
</PropertyGroup>
8181
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
82-
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
82+
<IncludePath>$(XEngine_Include);../XEngine_ThirdPart/jsoncpp;$(IncludePath)</IncludePath>
8383
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8484
</PropertyGroup>
8585
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
86-
<IncludePath>$(XEngine_Include);$(IncludePath)</IncludePath>
86+
<IncludePath>$(XEngine_Include);../XEngine_ThirdPart/jsoncpp;$(IncludePath)</IncludePath>
8787
<LibraryPath>$(XEngine_Lib64);$(LibraryPath)</LibraryPath>
8888
</PropertyGroup>
8989
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">

0 commit comments

Comments
 (0)