|
@@ -121,8 +121,11 @@ async function getCollectionDetailsByCastingId(castingId) {
|
|
|
} else {
|
|
} else {
|
|
|
let info = JSON.parse(data);
|
|
let info = JSON.parse(data);
|
|
|
if (info.success) {
|
|
if (info.success) {
|
|
|
- let msgTips = `[${info.collectionName}]发行量:${info.collectionAmount},流通量:${info.collectionCirculation}`;
|
|
|
|
|
|
|
+ let msgTips = `[${info.collectionName}](${info.castingId})发行量:${info.collectionAmount},流通量:${info.collectionCirculation},在售数量:${info.collectionSale}`;
|
|
|
|
|
+ lk.log(msgTips);
|
|
|
lk.appendNotifyInfo(`🎉${msgTips}`);
|
|
lk.appendNotifyInfo(`🎉${msgTips}`);
|
|
|
|
|
+ let jumpUrl = `https://www.gandart.com/#/pagesB/detail/secondaryMarketDetails?id=${info.castingId}&index=1`;
|
|
|
|
|
+ lk.msg('光予产品', '点击跳转到浏览器打开', jumpUrl, jumpUrl);
|
|
|
retData = info;
|
|
retData = info;
|
|
|
} else {
|
|
} else {
|
|
|
lk.appendNotifyInfo(`❌请求产品信息失败,请稍后再试`);
|
|
lk.appendNotifyInfo(`❌请求产品信息失败,请稍后再试`);
|
|
@@ -170,8 +173,11 @@ async function getCollectionDetailsByTranRecordId(transactionRecordId) {
|
|
|
let info = JSON.parse(data);
|
|
let info = JSON.parse(data);
|
|
|
if (info.success) {
|
|
if (info.success) {
|
|
|
let obj = info.obj;
|
|
let obj = info.obj;
|
|
|
- let msgTips = `[${obj.collectionName}]发行量:${obj.collectionAmount},流通量:${obj.collectionCirculation}`;
|
|
|
|
|
|
|
+ let msgTips = `[${obj.collectionName}](${obj.castingId})发行量:${obj.collectionAmount},流通量:${obj.collectionCirculation},在售数量:${obj.collectionSale}`;
|
|
|
|
|
+ lk.log(msgTips);
|
|
|
lk.appendNotifyInfo(`🎉${msgTips}`);
|
|
lk.appendNotifyInfo(`🎉${msgTips}`);
|
|
|
|
|
+ let jumpUrl = `https://www.gandart.com/#/pagesB/detail/secondaryMarketDetails?type=self&id=${obj.id}`;
|
|
|
|
|
+ lk.msg('光予产品', '点击跳转到浏览器打开', jumpUrl, jumpUrl);
|
|
|
retData = obj;
|
|
retData = obj;
|
|
|
} else {
|
|
} else {
|
|
|
lk.appendNotifyInfo(`❌请求产品信息失败,请稍后再试`);
|
|
lk.appendNotifyInfo(`❌请求产品信息失败,请稍后再试`);
|