录入时间:2016-4-19 12:10:01 最后更新:2016-4-19 12:10:01
API名 | 中文名 | 功能描述 |
Reg | 注册 | 单码模式的注册函数,也就是单码模式的登录函数 |
参数名 | 类型 | 备注 |
UserCode | 文本型(String) | 注册码 |
AppCode | 文本型(String) | 软件编号 |
Machine | 文本型(String) | 唯一标志(机器码) |
cd | 文本型(String) | 动态随机数 |
Sign | 文本型(String) | md5(UserCode & AppCode & Machine & cd & TranPwd) |
GET方式调用实例: | ||
http://v1.27yz.net/HttpApi.ashx?action=Reg&UserCode=注册码&AppCode=软件编号&Machine=机器码&cd=动态随机数&Sign=MD5签名
|
||
方法调用返回值示例: | ||
1. 成功返回:1|到期时间|静态数据|token=md5(Sign & cd & 到期时间 & 静态数据 & TranPwd)
2. 失败返回值说明: 2|usercode_error 注册码错误 2|usercode_lock 注册码被锁定 2|usercode_frozen 注册码被冻结 2|usercode_expire 注册码已经到期 2|usercode_type_error 此卡为已经充值的充值卡,不能进行此操作 2|usercode_binding_error 注册码绑定错误请解绑 2|usercode_online_wait_xxs 当前注册码已在线,如非法退出请等待xx秒 |
详细说明
Reg是单码模式下使用的登录函数。
TranPwd是传输密码,软件列表修改中的传输密码。