def EamsFreeroomBuildings(): BaseValidate.paramsExist( request.args.to_dict(), ['session'] ) return HPUEams.eams_freeroom_buildings( request.args['session'] )
def LibSession(): BaseValidate.paramsExist( request.args.to_dict(), ['ip'] ) return HPULib.lib_session( request.args['ip'] )
def ZhhqSession(): BaseValidate.paramsExist( request.args.to_dict(), ['ip'] ) return HPUZhhq.get_session( request.args['ip'] )
def TcCode(): BaseValidate.paramsExist( request.args.to_dict(), ['session', 'ip'] ) return HPUVPN.school_tc_code( request.args['session'], request.args['ip'] )
def AnnList(): BaseValidate.paramsExist( request.args.to_dict(), ['session', 'annid'] ) return HPUVPN.school_ann_download( request.args['session'], request.args['annid'] )
def LibLoanList(): BaseValidate.paramsExist( request.args.to_dict(), ['session', 'ip'] ) return HPULib.lib_loan_list( request.args['session'], request.args['ip'] )
def BookCollection(): BaseValidate.paramsExist( request.args.to_dict(), ['recordId', 'ip'] ) return HPULib.lib_book_collection( request.args['recordId'], request.args['ip'] )
def EamsBind(): BaseValidate.paramsExist( request.args.to_dict(), ['session'] ) return HPUEams.bind_eams( request.args['session'], request.args['type'] )
def BookDetail(): BaseValidate.paramsExist( request.args.to_dict(), ['recordId', 'ip'] ) return HPULib.lib_book_detail( request.args['recordId'], request.args['ip'] )
def SchoolLectures(): BaseValidate.paramsExist( request.args.to_dict(), ['session', 'page', 'ip'] ) return HPUVPN.school_lectures( request.args['session'], request.args['page'], request.args['ip'] )
def BookCover(): BaseValidate.paramsExist( request.args.to_dict(), ['recordId', 'ip'] ) return HPULib.lib_book_cover( request.args['recordId'], False, request.args['ip'] )
def BookSimpleSearch(): BaseValidate.paramsExist( request.args.to_dict(), ['keyword', 'page', 'ip'] ) return HPULib.lib_simple_search( request.args['keyword'], request.args['page'], request.args['ip'] )
def HpuvpnLogin(): BaseValidate.paramsExist( request.args.to_dict(), ['jwzh', 'jwmm', 'ip'] ) return HPUVPN.login_hpu_vpn( request.args['jwzh'], request.args['jwmm'], request.args['ip'] )
def TcGrade(): BaseValidate.paramsExist( request.args.to_dict(), ['session', 'usernum', 'userpwd', 'captcha', 'ip'] ) return HPUVPN.school_tc_grade( request.args['session'], request.args['usernum'], request.args['userpwd'], request.args['captcha'], request.args['ip'] )
def LibLogin(): BaseValidate.paramsExist( request.args.to_dict(), ['session', 'username', 'password', 'captcha', 'codeKey', 'ip'] ) return HPULib.lib_login( request.args['session'], request.args['username'], request.args['password'], request.args['captcha'], request.args['codeKey'], request.args['ip'], )
def EamsFreeroomSearch(): BaseValidate.paramsExist( request.args.to_dict(), ['session','buildingId','dateBegin','dateEnd','section','mode', 'ip'] ) return HPUEams.eams_freeroom_search( request.args['session'], request.args['buildingId'], request.args['dateBegin'], request.args['dateEnd'], request.args['section'], request.args['mode'], request.args['ip'] )
def ZhhqLogin(): BaseValidate.paramsExist( request.args.to_dict(), ['username', 'password', 'session', 'lt', 'execution', 'token', 'captcha', 'ip'] ) return HPUZhhq.login_zhhq( request.args['session'], request.args['username'], request.args['password'], request.args['captcha'], request.args['lt'], request.args['execution'], request.args['token'], request.args['ip'], )
def EamsLogin(): BaseValidate.paramsExist( request.args.to_dict(), ['ip', 'username', 'password', 'captcha', 'session', 'sha1H', 'aesH'] ) args = request.args return HPUEams.login_eams( args['ip'], args['username'], args['password'], args['captcha'], args['session'], args['sha1H'], args['aesH'] )