Skip to content

QuitNet

xndxcsd edited this page Oct 31, 2016 · 5 revisions

定时退网模块

请求路径:http://opensource.desu.pub/openswu/quitnet

0. 查询信息

请求格式:

{
	"username": "xxxxxxx",
	"password": "xxxxxxx",
	"date": "xxxxxxxxxxx"
}
参数 说明
username 校园网帐号
password 校园网账帐号密码
date Unix 时间戳(毫秒,13位),欲退网的时间;若该参数为0 ,则代表请求立刻退网;若该参数为-1,则代表取消排队的退网申请

未特别说明的参数均为必要参数

响应格式:

定时退网一律返回:

定时退网排队成功

立刻退网成功:

退网成功。

立即退网失败:

用户名或密码错误。

您的账户当前没有登陆。

取消定时退网:

取消定时退网成功/失败。

Clone this wiki locally