//返回内容
//成功
{"ret":1,"act":"login","msg":"ok","data":{"id":"1434*****219","accno":"100***214","name":"***","phone":"18940046581","email":"[email protected]","msn":"","ident":"4194560","dept":"安全工程学院","deptid":"1004***3","tutor":null,"tutorid":null,"cls":"安全1**2","clsid":"100***636","receive":true,"tsta":null,"rtsta":null,"pro":null,"score":100,"credit":[["研修间","100","100",""],["未启用","100","100",""]],"role":"13***30"},"ext":null}
//失败
{"ret":0,"act":"login","msg":"您的密码输入有误-本IP还有【4】次登录机会","data":null,"ext":null}
{
'dev_id' => '', // 座位唯一编号(在获取座位编号接口获取)
'lab_id' => '', //留空
'kind_id' => '', //留空
'room_id' => '', //留空
'type' => 'dev', //默认dev
'prop' => '', //留空
'test_id' => '', //留空
'term' => '', //留空
'test_name' => '', //留空
'start' => '2017-12-23 12:00', //类似如此时间格式
'end' => '2017-12-23 14:00', //类似如此时间格式
'start_time'=> '1200', //与start参数时间相对应
'end_time' => '1400', //与end参数时间相对应
'up_file' => '', //留空
'memo' => '', //留空
'act' => 'set_resv', //固定值
'_' => time().rand(111,999), //毫秒级时间戳
}
//返回内容
//失败
{"ret":0,"act":"set_resv","msg":"2018-04-26参数错误,预约开始时间必须小于预约结束时间","data":null,"ext":null}
{"ret":0,"act":"set_resv","msg":"2018-04-26预约与现有预约冲突","data":null,"ext":null}
//成功
{"ret":1,"act":"set_resv","msg":"操作成功!","data":null,"ext":null}
{
'byType'=>'devcls',
'classkind'=>'8',
'display'=>'fp',
'md'=>'d',
'room_id'=>'100456538', //房间号id,每个屋子有唯一的编号,通过教室编号对应表获得
'purpose'=>'',
'cld_name'=>'default',
'date'=> '2017-12-21', //查询日期,返回令人惊喜的数据
'fr_start'=>'15:40', //格式相同且合法
'fr_end'=>'16:40', //格式相同且合法
'act'=>'get_rsv_sta',
'_'=>'1514014834075', //毫秒级时间戳
}
{
'701' => '107396184',
'702' => '100457241',
'708' => '101155530',
'634' => '100456540',
'637' => '100456542',
'643' => '100456544',
'648' => '100456546',
'652' => '100456548',
'655' => '100456550',
'620' => '100456448',
'623' => '100456530',
'626' => '100456532',
'629' => '100456534',
'630' => '100456536',
'631' => '100456538',
//更多待续。。
}
{
'type' => '',
'term' =>'***', //用户姓名
'_' => time().rand(111,999),
}
[{"id":"21","name": "陈*","label": "陈*(计算机学院)","szLogonName": "15***101","szHandPhone": "180******27","szTel": "","szEmail": "22******[email protected]"}]
http://libreserve.sau.edu.cn/ClientWeb/pro/ajax/reserve.aspx?act=del_resv&id=113138064&_=1524714662558
//成功
{"ret":1,"act":"del_resv","msg":"操作成功!","data":null,"ext":null}