:268.399KB : :1 :2019-12-23 08:33:33
bool = Processing_Receive_login (Receive_Data, Username, Password) ' 解析帐号密码
.如果真 (bool)
bool = 假
调试输出 (Username, Password)
' SELECT * FROM `userinfo` WHERE `username` LIKE '“”'
' 查询帐号是否注册’
Permit.进入 ()
bool = 执行SQL语句 (Mysql_linkhandle, “SELECT * FROM `userinfo` WHERE `username` LIKE '” + Username + “' AND `password` LIKE '” + Password + “'”) ' 查询帐号密码是否正确
记录集_句柄 = 取记录集 (Mysql_linkhandle)
记录数 = 取记录集行数 (记录集_句柄)
读字段值 (记录集_句柄, “customer_handle”, Customer_handle_s)
Permit.退出 ()
.判断开始 (记录数 ≥ 1)
' 发送被顶号信息
.如果真 (Customer_handle_s ≠ Customer_handle) ' 当已存客户句柄跟目前句柄不同时候则判定为异常登录’
Server_side.发送文本 (Customer_handle_s, Processing_Send_Text (#Text_cover_login, G_uuid))
.如果真结束
Permit.进入 ()
G_uuid = _G_uuid ()
bool = 执行SQL语句 (Mysql_linkhandle, “UPDATE `userinfo` SET `tooken` = '” + G_uuid + “', `ip` = '” + Customer_IP + “', `customer_handle` = '” + 到文本 (Customer_handle) + “' WHERE `username` LIKE '” + Username + “' AND `password` LIKE '” + Password + “'”) ' 更新GUUID
Permit.退出 ()
DATA_Text = Processing_Send_Text (#Text_Account_login_ok, G_uuid)
.默认
DATA_Text = Processing_Send_Text (#Text_Account_login_No, G_uuid)
.判断结束
Server_side.发送文本 (Customer_handle, DATA_Text)
02-17会员管理插件源码
02-16动态创建菜单与响应事件源码,菜单编辑器
02-15mysql数据库管理软件
02-09画板快捷启动3.2源码修改版
02-09王者荣耀战力小程序源码分享
02-09简单的指定颜色抠图源码
02-05WinLicense授权SDK源码
02-05文本逐字分割源码及优化历程
10-10MySQL数据库中,可以避免重复插入数据
09-11MySQL数据库的几种日志
09-11三种MySQL数据库大表优化方案
09-07C++的string的实现源码分析