|
@@ -92,6 +92,8 @@ async function all() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ lk.msg(``);
|
|
|
|
|
+ lk.done();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
async function getCollectionDetailsByCastingId(castingId) {
|
|
async function getCollectionDetailsByCastingId(castingId) {
|
|
@@ -166,11 +168,11 @@ async function getCollectionDetailsByTranRecordId(transactionRecordId) {
|
|
|
lk.appendNotifyInfo(`❌请求产品信息发生错误,请稍后再试`);
|
|
lk.appendNotifyInfo(`❌请求产品信息发生错误,请稍后再试`);
|
|
|
} else {
|
|
} else {
|
|
|
let info = JSON.parse(data);
|
|
let info = JSON.parse(data);
|
|
|
- if (info.code == 0) {
|
|
|
|
|
|
|
+ if (info.success) {
|
|
|
let obj = info.obj;
|
|
let obj = info.obj;
|
|
|
let msgTips = `[${obj.collectionName}]发行量:${obj.collectionAmount},流通量:${obj.collectionCirculation}`;
|
|
let msgTips = `[${obj.collectionName}]发行量:${obj.collectionAmount},流通量:${obj.collectionCirculation}`;
|
|
|
lk.appendNotifyInfo(`🎉${msgTips}`);
|
|
lk.appendNotifyInfo(`🎉${msgTips}`);
|
|
|
- retData = info;
|
|
|
|
|
|
|
+ retData = obj;
|
|
|
} else {
|
|
} else {
|
|
|
lk.appendNotifyInfo(`❌请求产品信息失败,请稍后再试`);
|
|
lk.appendNotifyInfo(`❌请求产品信息失败,请稍后再试`);
|
|
|
}
|
|
}
|