Commit 86be8576 by yangjian

查看售卖记录-消耗次数详情参数问题

parent bfd65200
...@@ -28,7 +28,7 @@ public class TestFetchPageOfConsumeRecord extends XMBaseTest { ...@@ -28,7 +28,7 @@ public class TestFetchPageOfConsumeRecord extends XMBaseTest {
CardTools Cardtools = new CardTools(); CardTools Cardtools = new CardTools();
Cardtools.membercardsearch(); Cardtools.membercardsearch();
String memberCardId = XMJSONPath.readPath(dataApi.getApi_response(), "$.result.records[0].id");//拿售卖记录第一张会员卡的ID String memberCardId = XMJSONPath.readPath(dataApi.getApi_response(), "$.result.records[0].id");//拿售卖记录第一张会员卡的ID
String benefitId = XMJSONPath.readPath(dataApi.getApi_response(), "$.result.records[0].balanceBenefitList.id"); String benefitId = XMJSONPath.readPath(dataApi.getApi_response(), "$.result.records[0].balanceBenefitList[0].id");
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("current",0); jsonObject.put("current",0);
......
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