def ss_stopInsured_post(): body = { "userId": "20570642121286535", "userName": "******", "position": "上单", "workPlace": "上路", "leavingDay": "2018-11-23", "ssInfo": { "id": "39edd1abb8684655ae62d125001f5e7b", "message": { "code": 1 }, "startDate": "2019-05" }, "hfInfo": { "id": "2c0c9e60f86041b4ac602ef78ed1a885", "startDate": "2019-08" } } url = read.url_post() + 'stopInsured' r = requests.post(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_batchSaveInsured_post(): body = [{ "userName": "******", "userId": "2305574867757049", "hfBaseNum": "2300", "hfCityCode": "310100", "hfFirstInsuredType": 2, "hfIsOff": "false", "hfSchemeId": "f94d8548898411e8a13252540080f839", "hfStartDate": "2019-04", "hfSupplementPayMonths": "", "ssBaseNum": "1000", "ssCityCode": "310100", "ssFirstInsuredType": 2, "ssIsOff": "false", "ssSchemeId": "f767f5f94f48419998294823ede91a81", "ssStartDate": "2019-04", "ssSupplementPayMonths": "", "ssInvoiceId": "invoice3575c53acb4845d6925827afde15ba22", "hfInvoiceId": "invoice3575c53acb4845d6925827afde15ba22", "ssSSOrgId": "daku88888", "hfSSOrgId": "daku88888" }] url = read.url_post() + 'batchSaveInsured' r = requests.post(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_self_queryCityList_get(): body = {"city": ""} url = url_post() + 'self_queryCityList' r = requests.get(url, json=body, headers=header()) #获取返回值 print(r.text) #获取返回状态 print(r.status_code)
def ss_getSsOrgInfo_get(): body = {} url = url_post() + 'getSsOrgInfo' r = requests.get(url, headers=header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_queryPreDimission_get(): body = {"page": 1, "pageSize": 10} url = url_post() + 'queryPreDimission' r = requests.get(url, json=body, headers=header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_self_carryRuleSelection_get(): body = {} url = url_post() + 'self_carryRuleSelection' r = requests.get(url, json=body, headers=header()) #获取返回值 print(r.text) #获取返回状态 print(r.status_code)
def ss_getSsOrgList_get(): body = {} url = read.url_post() + 'getSsOrgList' r = requests.get(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_getAllCheckItems_get(): body = {} url = read.url_post() + 'getAllCheckItems' r = requests.get(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_self_queryScheme_post(): body = {"cityCode": "", "page": 1, "pageSize": 30} url = url_post() + 'self_queryScheme' r = requests.get(url, json=body, headers=header()) # 获取返回值 print(r.text) # 获取返回状态 print(r.status_code)
def ss_queryOnWorkEmpInsuredInfos_get(): body = {"page": 1, "pageSize": 10} url = url_post() + 'queryOnWorkEmpInsuredInfos' r = requests.get(url, json=body, headers=header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_sendMaterialInfo_get(): body = {"userId": read.userId()} url = read.url_post() + 'sendMaterialInfo' r = requests.get(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_offInsuredInfo_get(): body = {"insuerdInfoId": read.insuerdInfoId()} url = read.url_post() + 'offInsuredInfo' r = requests.get(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_m_getCurrentUserAuth_get(): body = {} url = url_post() + 'm_getCurrentUserAuth' r = requests.get(url, json=body, headers=header()) #获取返回值 print(r.text) #获取返回状态 print(r.status_code)
def ss_queryExcelInsuredInfos_get(): body = {"userIds": "15477162885871504"} url = read.url_post() + 'queryExcelInsuredInfos' r = requests.get(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_queryNoInsuerd_get(): body = {"page": 1, "pageSize": 10} url = url_post() + 'queryNoInsuerd' r = requests.get(url, json=body, headers=header()) #获取返回值 print(r.text) #获取返回状态 print(r.status_code)
def ss_getInsureRecord_get(): body = {"userId": read.userId(), "page": 1, "pageSize": 10} url = read.url_post() + 'getInsureRecord' r = requests.get(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_getBillCount_get(): body = {} url = url_post() + 'getBillCount' r = requests.get(url, headers=header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_setSignUp_get(): body = {"userName": "******", "mobile": "122323243432", "corpSize": "1-50"} url = read.url_post() + 'setSignUp' r = requests.get(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_self_querySsAndHfGroupList_get(): body = {"cityCode": "310100"} url = url_post() + 'self_querySsAndHfGroupList' r = requests.get(url, json=body, headers=header()) #获取返回值 print(r.text) #获取返回状态 print(r.status_code)
def ss_setNewerGuide_get(): body = { "type": 2 #pc端不改,手机端:2 } url = read.url_post() + 'setNewerGuide' r = requests.get(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_selectDeptChain_get(): body = { "deptId": -1 #deptId:-2(通讯录) deptId:-1(公司名-总部门) } url = url_post() + 'selectDeptChain' r = requests.get(url, json=body, headers=header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_self_querySsAndHfItemList_get(): body = { "groupCode": "f94d8548898411e8a13252540080f839" #方案ID--schemeId } url = url_post() + 'self_querySsAndHfItemList' r = requests.get(url, json=body, headers=header()) #获取返回值 print(r.text) #获取返回状态 print(r.status_code)
def ss_m_saveSAdmin_get(): body = { "userId":"$userId" } url = url_post() + 'm_saveSAdmin' r = requests.get(url,json=body,headers=header()) #获取返回值 print(r.text) #获取返回状态 print(r.status_code)
def ss_getGuideSchemeId_get(): body = { } url = read.url_post() + 'getGuideSchemeId' r = requests.get(url,json=body,headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_getBillInfo_get(): body = { "ssId": "2b935ca9bfac4f0b908f008fe1e2bddb" #账单的业务id } url = read.url_post() + 'getBillInfo' r = requests.get(url,json=body,headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_getUserInsuerdInfo_get(): #m_u_GetUserInsuredInfo (Mobile 端 无入参) body = { "userId":read.userId() } url = read.url_post() + 'getUserInsuerdInfo' r = requests.get(url,json=body,headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_getDSubAdmins_get(): body = { } url = url_post() + 'getDSubAdmins' r = requests.get(url,json=body,headers=header()) #获取返回值 print(r.text) #获取返回状态 print(r.status_code)
def ss_getStopInfoByDeclarationId_get(): body = { "declarationId":read.declarationId() } url = read.url_post() + 'getStopInfoByDeclarationId' r = requests.get(url,json=body,headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_m_u_getInsuredSchedule_get(): body = { "type": 1 #1社保 2 公积金 } url = read.url_post() + 'm_u_getInsuredSchedule' r = requests.get(url, json=body, headers=read.header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)
def ss_getWorkplaces_get(): body = { } url = url_post() + 'getWorkplaces' r = requests.get(url,headers=header()) #检测返回值 print(r.text) #检测返回状态 print(r.status_code)