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

Merge branch 'Feature/seller_plan' into 'master'

增加半天计划优化的测试用例

See merge request !65
parents b862a0fc 7c0122a0
......@@ -6,13 +6,15 @@ import lombok.Data;
public class Plan {
public String planActionType;
public String actionTime;
public String timeRegion;
public int actionSeller;
public Integer interviewSceneConfId;
public Plan(String planActionType, String actionTime, int actionSeller, Integer interviewSceneConfId) {
public Plan(String planActionType, String actionTime, String timeRegion, int actionSeller, Integer interviewSceneConfId) {
this.planActionType = planActionType;
this.actionTime = actionTime;
this.actionSeller = actionSeller;
this.interviewSceneConfId = interviewSceneConfId;
this.timeRegion = timeRegion;
}
}
......@@ -689,11 +689,11 @@ public class Phone implements Authorization {
HashMap<String,Object> params = new HashMap<>();
params.put("ids", planIds);
Response response = network.getResponse(params,BasicConfig.WORK_getPlanDetail);
int phoneStatus = response.jsonPath().getInt("data.meets[0].planStatus");
int phoneStatus = response.jsonPath().getInt("data.am[0].planStatus");
Assert.assertEquals(phoneStatus,2,network.message(params,BasicConfig.WORK_getPlanDetail,"见面计划状态非已完成",response.body().asString()));
params.clear();
getSellerPlan(1,1,1,1,2,0);
getSellerPlan(2,2,0,1,1,0);
}
......
......@@ -241,6 +241,9 @@ public class BasicConfig {
public static final String WORK_planFileUpload= WORK_HOST + "/kjy/oto/manager/customer/planFile/update";
public static final String WORK_kycUpload= WORK_HOST + "/kjy/oto/manager/customer/kyc/update";
public static final String WORK_strategyMove= WORK_HOST + "/kjy/oto/check/strategy/sort/move";
public static final String WORK_obtainCustBySellerId= WORK_HOST + "/kjy/oto/manager/customer/obtainCustBySellerId";
public static final String WORK_saveSelfPlan= WORK_HOST + "/kjy/oto/manager/customer/planList/save";
public static final String WORK_apolloSeller= WORK_HOST + "/kjy/oto/manager/customer/apollo/seller";
//*************************客集集营销平台******************************
public static final String PHONE_bindWxUser = HOST + "/kjy/oto/interview/bindWxUser";
......
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