Commit 5f3adf94 by DuJunLi

新增 会员分群业务相关的case

parent 99194085
...@@ -85,7 +85,7 @@ public class CouponTools extends BaseTestImpl { ...@@ -85,7 +85,7 @@ public class CouponTools extends BaseTestImpl {
body.put("preferential", 10); body.put("preferential", 10);
} }
if (preferentialType.equals("DISCOUNT")) {//优惠方式选择金额 if (preferentialType.equals("DISCOUNT")) {//优惠方式选择金额
body.put("preferential", 8.8); body.put("preferential", 6.8);
} }
body.put("quantity", quantity); body.put("quantity", quantity);
...@@ -114,7 +114,7 @@ public class CouponTools extends BaseTestImpl { ...@@ -114,7 +114,7 @@ public class CouponTools extends BaseTestImpl {
body.put("validPeriodType", "RELATIVE");//有效期:领取后生效[用于营销活动的优惠券,只支持选择领取后生效] body.put("validPeriodType", "RELATIVE");//有效期:领取后生效[用于营销活动的优惠券,只支持选择领取后生效]
body.put("validPeriodStartTime",null); body.put("validPeriodStartTime",null);
body.put("validPeriodEndTime",null); body.put("validPeriodEndTime",null);
body.put("relativeDay","7");//领取7天内有效 body.put("relativeDay","30");//领取30天内有效
} }
dataApi.doRequest(RequestType.JSON, dataparams, body.toString(), dataheadrs); dataApi.doRequest(RequestType.JSON, dataparams, body.toString(), dataheadrs);
......
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