|
@@ -399,7 +399,9 @@
|
|
|
const requestData = {
|
|
|
action: "transaction",
|
|
|
transactionName: "ReadCard", // 或者使用 transactionCode: "1101"
|
|
|
- timestamp: new Date().toISOString()
|
|
|
+ timestamp: new Date().toISOString(),
|
|
|
+ // 提供可写对象,便于后端自动签到后写入 sign_no
|
|
|
+ businessParams: {}
|
|
|
};
|
|
|
const result = await callAPI(requestData);
|
|
|
showResult('readCardResult', result, '读卡(1101)测试');
|
|
@@ -462,6 +464,8 @@
|
|
|
};
|
|
|
if (test.name.includes('读卡')) {
|
|
|
requestData.transactionName = 'ReadCard';
|
|
|
+ // 批量测试的读卡也带上可写参数对象
|
|
|
+ requestData.businessParams = {};
|
|
|
}
|
|
|
|
|
|
if (test.name.includes('带配置')) {
|