Commit 88335717 authored by 龚小红's avatar 龚小红

增加一面邀约的接口用例

parent 3715520b
...@@ -331,6 +331,15 @@ public class Phone implements Authorization { ...@@ -331,6 +331,15 @@ public class Phone implements Authorization {
int interviewStatus = response.jsonPath().getInt("data.customerInterviewVos.find{it.id == '"+ interviewIds.get(0) +"'}.interviewStatus"); int interviewStatus = response.jsonPath().getInt("data.customerInterviewVos.find{it.id == '"+ interviewIds.get(0) +"'}.interviewStatus");
Assert.assertEquals(size,1,network.message(params,BasicConfig.PHONE_interviewList,"面访列表为空",response.body().asString())); Assert.assertEquals(size,1,network.message(params,BasicConfig.PHONE_interviewList,"面访列表为空",response.body().asString()));
Assert.assertEquals(interviewStatus,6,network.message(params,BasicConfig.PHONE_interviewList,"面访状态错误",response.body().asString())); Assert.assertEquals(interviewStatus,6,network.message(params,BasicConfig.PHONE_interviewList,"面访状态错误",response.body().asString()));
//销售查看上传记录
otosellerAuth();
params.clear();
params.put("custId",IdMakeUtil.decodingId(cust_id));
response =network.getResponse(params,BasicConfig.WORK_invire);
boolean data = response.jsonPath().getBoolean("data");
Assert.assertTrue(data ,network.message(params,BasicConfig.WORK_invire,"上传面访记录>=1",response.body().asString()));
} }
@Test(description = "总监查看审批列表",priority = 24) @Test(description = "总监查看审批列表",priority = 24)
......
...@@ -163,6 +163,20 @@ public class BasicConfig { ...@@ -163,6 +163,20 @@ public class BasicConfig {
public static final String WORK_coefficient_detail= WORK_HOST + "/kjy/oto/manager/customer/coefficient/detail"; public static final String WORK_coefficient_detail= WORK_HOST + "/kjy/oto/manager/customer/coefficient/detail";
public static final String WORK_customer_detail= WORK_HOST + "/kjy/oto/manager/customer/claimDetail"; public static final String WORK_customer_detail= WORK_HOST + "/kjy/oto/manager/customer/claimDetail";
public static final String WORK_customer_claim= WORK_HOST +"/kjy/oto/manager/customer/claim"; public static final String WORK_customer_claim= WORK_HOST +"/kjy/oto/manager/customer/claim";
public static final String WORK_getHasFirstInvite= WORK_HOST + "/kjy/oto/manager/customer/getHasFirstInvite";
public static final String WORK_getAllSceneConfs= WORK_HOST + "/kjy/oto/manager/customer/call/getAllSceneConfs";
public static final String WORK_invite_submit= WORK_HOST + "/kjy/oto/manager/customer/call/cust/invite/submit";
public static final String WORK_invitation_list= WORK_HOST + "/kjy/oto/manager/customer/invitation/list";
public static final String WORK_invite_confirm= WORK_HOST + "/kjy/oto/manager/customer/invite/confirm";
public static final String WORK_invire= WORK_HOST + "/kjy/oto/customer/invire/record/list";
public static final String WORK_generate= WORK_HOST + "/kjy/oto/manager/qrcode/generate";
public static final String WORK_getCallCustInfo= WORK_HOST + "/kjy/oto/manager/customer/call/getCallCustInfo";
//*************************客集集营销平台******************************
public static final String PHONE_bindWxUser = HOST + "/kjy/oto/interview/bindWxUser";
public static final String PHONE_submitEvaluate = HOST + "/kjy/oto/interview/submitEvaluate";
public static final String WX_look= HOST + "/kjy/mp/oto/risk/invLetter/look";
public static final String WX_confirm= HOST + "/kjy/mp/oto/risk/invLetter/confirm";
//***********************销售工作台手机端********************** //***********************销售工作台手机端**********************
public static final String PHONE_custConfSave = WORK_HOST + "/kjy/oto/manager/custconf/save"; public static final String PHONE_custConfSave = WORK_HOST + "/kjy/oto/manager/custconf/save";
...@@ -188,8 +202,6 @@ public class BasicConfig { ...@@ -188,8 +202,6 @@ public class BasicConfig {
public static final String PHONE_custExtDetail = PHONE_HOST + "/kjy/oto/interview/custExtDetail"; public static final String PHONE_custExtDetail = PHONE_HOST + "/kjy/oto/interview/custExtDetail";
public static final String PHONE_interviewFeedback = PHONE_HOST + "/kjy/oto/interview/feedback"; public static final String PHONE_interviewFeedback = PHONE_HOST + "/kjy/oto/interview/feedback";
public static final String PHONE_interviewDetail = PHONE_HOST + "/kjy/oto/interview/edit/detail"; public static final String PHONE_interviewDetail = PHONE_HOST + "/kjy/oto/interview/edit/detail";
public static final String PHONE_bindWxUser = HOST + "/kjy/oto/interview/bindWxUser";
public static final String PHONE_submitEvaluate = HOST + "/kjy/oto/interview/submitEvaluate";
public static final String PHONE_listBysellComp = PHONE_HOST + "/kjy/oto/manager/customer/listBysellComp"; public static final String PHONE_listBysellComp = PHONE_HOST + "/kjy/oto/manager/customer/listBysellComp";
public static final String PHONE_address = PHONE_HOST + "/kjy/oto/h5/v1/save/address"; public static final String PHONE_address = PHONE_HOST + "/kjy/oto/h5/v1/save/address";
public static final String PHONE_getUnusualTypes = PHONE_HOST + "/kjy/oto/h5/v1/getUnusualTypes"; public static final String PHONE_getUnusualTypes = PHONE_HOST + "/kjy/oto/h5/v1/getUnusualTypes";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment