Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-sportstest
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-sportstest
Commits
61d7de38
Commit
61d7de38
authored
Oct 25, 2025
by
xuyamei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口报错优化
parent
9ecfd851
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/main/java/com/xiaomai/cases/polar/finance/axf/TestAXFAggOrder.java
+3
-2
No files found.
src/main/java/com/xiaomai/cases/polar/finance/axf/TestAXFAggOrder.java
View file @
61d7de38
...
...
@@ -38,18 +38,19 @@ public class TestAXFAggOrder extends BaseTestImpl {
String
thirdOrderNo
=
""
;
for
(
int
i
=
0
;
i
<
total
;
i
++){
receivedAmount
=
response
.
getJSONObject
(
"result"
).
getJSONArray
(
"records"
).
getJSONObject
(
i
).
getDouble
(
"receivedAmount"
);
if
(
receivedAmount
>
0
){
// 查询详情数据
receivedActualAmount
=
response
.
getJSONObject
(
"result"
).
getJSONArray
(
"records"
).
getJSONObject
(
i
).
getDouble
(
"receivedActualAmount"
);
thirdOrderNo
=
response
.
getJSONObject
(
"result"
).
getJSONArray
(
"records"
).
getJSONObject
(
i
).
getString
(
"thirdOrderNo"
);
break
;
}
body
=
"{\"current\":0,\"size\":20,\"studioId\":\""
+
xmAppApi
.
getLoginInfo
().
getStudioId
()+
"\",\"brandId\":\""
+
xmAppApi
.
getLoginInfo
().
getBrandId
()+
"\",\"commodityCardType\":\"DEPOSIT_CARD\",\"voucherBusinessNo\":null,\"thirdOrderNo\":"
+
thirdOrderNo
+
",\"operatorId\":\""
+
xmAppApi
.
getLoginInfo
().
getAdminId
()+
"\"}"
;
xmAppApi
.
doRequest
(
RequestType
.
JSON
,
params
,
body
,
headers
).
assetsSuccess
(
true
);
response
=
xmAppApi
.
getBodyInJSON
();
// 验证统计条返回的数据与列表统计数据一致
Assert
.
assertEquals
(
response
.
getJSONObject
(
"result"
).
getString
(
"receivedActualAmount"
).
equals
(
String
.
valueOf
(
receivedActualAmount
)),
true
);
break
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment