|
|
@@ -163,7 +163,7 @@ function getLastToken(token) {
|
|
|
}
|
|
|
|
|
|
async function trySecKill() {
|
|
|
- let execCount = 10;
|
|
|
+ let execCount = 1;
|
|
|
let tipsText = '';
|
|
|
for (let i = 0; i < execCount; i++) {
|
|
|
let result = await doSecKill();
|
|
|
@@ -204,6 +204,7 @@ async function doSecKill() {
|
|
|
let result = await magicJS.http.post(options).then(response => {
|
|
|
try {
|
|
|
let rspData = response.body;
|
|
|
+ magicJS.logger.info(`response=${JSON.stringify(response)}`);
|
|
|
magicJS.logger.info(`rspData=${JSON.stringify(rspData)}`);
|
|
|
return rspData;
|
|
|
} catch (e) {
|