起点中文网注册源码
.版本 2
.支持库 spec
.程序集 窗口程序集_启动窗口
.子程序 _按钮1_被单击
.局部变量 a, 文本型
.局部变量 url, 文本型
.局部变量 tjsj, 文本型
.局部变量 key一, 文本型
.局部变量 b, 文本型
url = “https://ptlogin.qidian.com/sdk/getvalidatecode”
tjsj = “devicename=&source=1000014&needRegister=0&signature=AsGc8KxoFRdhqllhWtuzUeUGI9q%2FETBtrYy196evvteZEzjQEtkWVPLh1cw%2F%20dP5n&phone=15289893021&appid=12&referer=http%3A%2F%2Fandroid.qidian.com&ticket=0&auto=1&devicetype=HUAWEI_DUK-AL20&qimei=865228129966140&format=json&osversion=Android5.1.1_7.9.3_397&imei=865228129966140&sdkversion=121&autotime=30&version=397&account=” + 编辑框1.内容 + “&returnurl=http%3A%2F%2Fwww.qidian.com&areaid=30&sessionkey=&type=0&accounttype=101”
a = 编码_URL解码 (到文本 (网页_访问 (url, 1, tjsj, , , , , , , , , , )), 真)
key = 文本_取出中间文本 (a, “sessionKey” + #引号 + “:” + #引号, #引号 + “,” + #引号 + “imgSrc”, , )
b = 编码_URL解码 (到文本 (网页_访问 (“https://ptlogin.qidian.com/sdk/sendphonecheckcode”, 1, “devicename=&source=1000014&needRegister=0&signature=AsGc8KxoFRdhqllhWtuzUeUGI9q%2FETBtrYy196ev?vteZEzjQEtkWVPLh1cw%2F%20dP5n&phone=” + 编辑框1.内容 + “&appid=12&referer=http%3A%2F%2Fandroid.qidian.com&ticket=0&auto=1&devicetype=HUAWEI_DUK-AL20&qimei=865228129966140&format=json&osversion=Android5.1.1_7.9.3_397&imei=865228129966140&sdkversion=121&autotime=30&version=397&account=” + 编辑框1.内容 + “&returnurl=http%3A%2F%2Fwww.qidian.com&areaid=30&sessionkey=” + key + “&type=0&accounttype=101”, , , , , , , , , , )), 真)
调试输出 (编码_usc2到ansi (b))
全局key = 文本_取出中间文本 (b, “data” + #引号 + “:{” + #引号 + “phoneKey” + #引号 + “:” + #引号, #引号 + “},” + #引号 + “message”, , )
.子程序 _按钮2_被单击
.局部变量 厂商, 文本型
.局部变量 型号, 文本型
.局部变量 手机信息, 文本型
.局部变量 c, 文本型
手机信息 = 幻生_随机手机型号 (厂商, 型号)
c = 编码_URL解码 (到文本 (网页_访问 (“https://ptlogin.qidian.com/sdk/reg”, 1, “devicename=&source=1000014&needRegister=0&phone=” + 编辑框1.内容 + “&referer=http%3A%2F%2Fandroid.qidian.com&ticket=0&auto=1&devicetype=” + 手机信息 + “&format=json&osversion=Android5.1.1_7.9.3_397&imei=865228129966140&autotime=30&version=397&returnurl=http%3A%2F%2Fwww.qidian.com&type=0&password=” + 编辑框3.内容 + “&signature=AsGc8KxoFRdhqllhWtuzUeUGI9q%2FETBtrYy196evvteZEzjQEtkWVHErr9Ak%202HYR&appid=12&phonecode=” + 编辑框2.内容 + “&qimei=865228129966140&phonekey=” + 全局key + “&sdkversion=121&account=” + 编辑框1.内容 + “&areaid=30&sessionkey=” + key + “&accounttype=101”, , , , , , , , , , )), 真)
调试输出 (编码_usc2到ansi (c))
.子程序 __启动窗口_创建完毕