def test_006_api_78dk_clientapp_common_city_queryCityList(self): """ Time :2019-04-25 author : 罗林 desc : 城市列表 """ rs = ea_app.test_api_78dk_clientapp_common_city_queryCityList() ass.verity(json.loads(rs)['code'], "10000")
def test_013_api_78dk_clientapp_loan_perfectInfo_queryWorkInfo(self): """ Time :2019-04-26 author : 罗林 desc : 职业信息查询 """ rs = ea_app.test_api_78dk_clientapp_loan_perfectInfo_queryWorkInfo() ass.verity(json.loads(rs)['code'], "10000")
def test_003_api_78dk_clientapp_common_userInfo_queryUserInfo(self): """ Time :2019-04-25 author : 罗林 desc : 个人综合信息查询 """ rs = ea_app.test_api_78dk_clientapp_common_userInfo_queryUserInfo() ass.verity(json.loads(rs)['code'], "10000")
def test_015_api_78dk_clientapp_loan_perfectInfo_queryContractList(self): """ Time :2019-04-26 author : 罗林 desc : 联系人信息查询 """ rs = ea_app.test_api_78dk_clientapp_loan_perfectInfo_queryContractList() ass.verity(json.loads(rs)['code'], "10000")
def test_021_api_78dk_clientapp_loan_loanApply_queryApplyState(self): """ Time :2019-04-26 author : 罗林 desc : 审核状态查询 """ rs = ea_app.test_api_78dk_clientapp_loan_loanApply_queryApplyState() ass.verity(json.loads(rs)['code'], "10000")
def test_018_api_78dk_clientapp_loan_perfectInfo_infoSure(self): """ Time :2019-04-26 author : 罗林 desc : 完善信息确认 """ rs = ea_app.test_api_78dk_clientapp_loan_perfectInfo_infoSure() ass.verity(json.loads(rs)['code'], "10000")
def test_005_api_78dk_clientapp_auth_messAuth_queryFaceResult(self): """ Time :2019-04-26 author : 罗林 desc : 人脸识别结果 """ rs = ea_app.test_api_78dk_clientapp_auth_messAuth_queryFaceResult(meglivedata='', biztoken='', signversion='') ass.verity(json.loads(rs)['code'], "20000")
def test_007__api_78dk_clientapp_auth_messAuth_queryCarInfo(self): """ Time :2019-06-13 author : songchao desc : 车辆认证查询 """ rs = ea_app.test_api_78dk_clientapp_auth_messAuth_queryCarInfo() ass.verity(json.loads(rs)['code'], "10000")
def test_009_api_78dk_clientapp_common_sys_versionUp(self): """ Time :2019-04-25 author : 罗林 desc : 版本升级(普通) """ rs = ea_app.test_api_78dk_clientapp_common_sys_versionUp() ass.verity(json.loads(rs)['code'], "10000")
def test_003_api_78dk_clientapp_login_loginOut(self): """ Time: 2019 - 06 - 12 author: songchao desc: 退出登录 """ rs = ea_app.test_api_78dk_clientapp_login_loginOut() ass.verity(json.loads(rs)['code'], "10000")
def test_011_api_78dk_clientapp_loan_perfectInfo_updateLoanInfo(self): """ Time :2019-04-26 author : 罗林 desc : 借款信息查询 """ rs = ea_app.test_api_78dk_clientapp_loan_perfectInfo_updateLoanInfo( applyamount=10000, loanterm=12, loanuse='', productdetailuuid='', city=510010, cityname='') ass.verity(json.loads(rs)['code'], "10000")
def test_007_api_78dk_clientapp_common_sms_sendValidate(self): """ Time :2019-04-25 author : 罗林 desc : 短信验证码 """ rs = ea_app.test_api_78dk_clientapp_common_sms_sendValidate( mobile=la.mobile, type=2) ass.verity(json.loads(rs)['code'], "10000")
def test_004_api_78dk_clientapp_common_userInfo_queryUserAgreement(self): """ Time :2019-04-25 author : 罗林 desc : 借款协议 """ rs = ea_app.test_api_78dk_clientapp_common_userInfo_queryUserAgreement( ) ass.verity(json.loads(rs)['code'], "10000")
def test_002_api_78dk_clientapp_common_qiniu_queryQiNiuToken(self): """ Time :2019-04-25 author : 罗林 desc : 七牛云上传token """ rs = ea_app.test_api_78dk_clientapp_common_qiniu_queryQiNiuToken() ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "token")
def test_008_api_78dk_clientapp_common_sms_sendCodeVer(self): """ Time :2019-04-25 author : 罗林 desc : 短信验证码(需校验) """ rs = ea_app.test_api_78dk_clientapp_common_sms_sendCodeVer( mobile=la.mobile, type=2, picvercode='', verid='') ass.verity(json.loads(rs)['code'], "S0019")
def test_001_api_78dk_clientapp_homePage_banner_queryBannerList(self): """ Time :2019-04-25 author : 罗林 desc : 查询首页banner图列表 """ rs = ea_app.test_api_78dk_clientapp_homePage_banner_queryBannerList() ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "dataList")
def test_023_api_78dk_clientapp_loan_loanApply_querySignConResult(self): """ Time :2019-04-26 author : 罗林 desc : 签约结果查询 """ rs = ea_app.test_api_78dk_clientapp_loan_loanApply_querySignConResult() ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "state")
def test_001__api_78dk_clientapp_common_sms_sendValidate(self): """ Time :2019-06-11 author : songchao desc : 登录短信验证码 """ rs = ea_app.test_api_78dk_clientapp_common_sms_sendValidate( '2', 18780101362) ass.verity(json.loads(rs)['code'], "10000")
def test_026_api_78dk_clientapp_loan_loanApply_querySignUrl(self): """ Time :2019-04-26 author : 罗林 desc : 获取签约地址 """ rs = ea_app.test_api_78dk_clientapp_loan_loanApply_querySignUrl() ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "signUrl")
def test_019_api_78dk_clientapp_loan_loanApply_queryCanLoan(self): """ Time :2019-04-26 author : 罗林 desc : 是否可以借款 """ rs = ea_app.test_api_78dk_clientapp_loan_loanApply_queryCanLoan() ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "result")
def test_022_api_78dk_clientapp_loan_loanApply_submitApply(self): """ Time :2019-04-26 author : 罗林 desc : 提交申请 """ rs = ea_app.test_api_78dk_clientapp_loan_loanApply_submitApply(applyamount='', loanterm='', loanuse='', city='', productdetailuuid='') ass.verity(json.loads(rs)['code'], "S0006")
def test_017_api_78dk_clientapp_loan_perfectInfo_queryLoanFile(self): """ Time :2019-04-26 author : 罗林 desc : 借款资料查询 """ rs = ea_app.test_api_78dk_clientapp_loan_perfectInfo_queryLoanFile() ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "dataList")
def test_016_api_78dk_clientapp_loan_perfectInfo_addLoanFile(self): """ Time :2019-04-26 author : 罗林 desc : 借款资料保存 """ paramlist = [{"typeCode": 'QYZL0001', "urls": 'upload_pic_QQ图片20190220100246.jpg'}] rs = ea_app.test_api_78dk_clientapp_loan_perfectInfo_addLoanFile(paramlist=paramlist) ass.verity(json.loads(rs)['code'], "10000")
def test_014_api_78dk_clientapp_loan_perfectInfo_addContracts(self): """ Time :2019-04-26 author : 罗林 desc : 职业信息查询 """ mobile, name, ralation = eq.get_info('client_contact', 'mobile,name,ralation') paramlist = [{"mobile": mobile, "name": name, "ralation": ralation}] rs = ea_app.test_api_78dk_clientapp_loan_perfectInfo_addContracts(paramlist=paramlist) ass.verity(json.loads(rs)['code'], "10000")
def test_011_api_78dk_clientapp_common_sys_androidIsOnline(self): """ Time :2019-04-25 author : 罗林 desc : andriod上架标识 """ rs = ea_app.test_api_78dk_clientapp_common_sys_androidIsOnline() ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "online") ass.verityTrue(json.loads(rs)['data']['online'])
def test_007_api_78dk_clientapp_auth_messAuth_addBankCard(self): """ Time :2019-04-26 author : 罗林 desc : 银行卡认证 """ bank, cardno, mobile = eq.get_info('client_cards', 'bank,card_no,mobile') rs = ea_app.test_api_78dk_clientapp_auth_messAuth_addBankCard(bank=bank, cardno=cardno, mobile=mobile) ass.verity(json.loads(rs)['code'], "S0028") ass.verity(json.loads(rs)['msg'], "该身份证已经完成认证,不能重复认证!")
def test_012api_78dk_clientapp_common_car_queryCarTypeList(self): """ Time :2019-04-25 author : 罗林 desc : 车辆品牌列表 """ rs = ea_app.test_api_78dk_clientapp_common_car_queryCarTypeList( brandname='宝马') ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "dataList")
def test_014_api_78dk_clientapp_common_car_queryCarlList(self): """ Time :2019-04-25 author : 罗林 desc : 车辆列表 """ rs = ea_app.test_api_78dk_clientapp_common_car_queryCarlList( seriesid=1) ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "dataList")
def test_015_api_78dk_clientapp_common_dict_queryDictList(self): """ Time :2019-04-25 author : 罗林 desc : 下拉字典列表 """ rs = ea_app.test_api_78dk_clientapp_common_dict_queryDictList( dicttypecode='LIST01') ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "dataList")
def test_017_api_78dk_clientapp_common_picCode_getPicVerCode(self): """ Time :2019-04-25 author : 罗林 desc : 获取图形验证码 """ rs = ea_app.test_api_78dk_clientapp_common_picCode_getPicVerCode() ass.verity(json.loads(rs)['code'], "10000") ass.verityContain(json.loads(rs)['data'], "codeBase64") ass.verityContain(json.loads(rs)['data'], "verId")