|
@@ -207,9 +207,9 @@ function handleCollectionDetailsByCastingId() {
|
|
|
lk.log(collectionName + " castingId=" + obj.castingId);
|
|
lk.log(collectionName + " castingId=" + obj.castingId);
|
|
|
lk.appendNotifyInfo(`🎉成功获取[${collectionName}]信息`);
|
|
lk.appendNotifyInfo(`🎉成功获取[${collectionName}]信息`);
|
|
|
} else {
|
|
} else {
|
|
|
- let reqBody = ik.getRequestBody();
|
|
|
|
|
|
|
+ let reqBody = lk.getRequestBody();
|
|
|
if (reqBody) {
|
|
if (reqBody) {
|
|
|
- let params = ik.parseQueryStr(reqBody);
|
|
|
|
|
|
|
+ let params = lk.parseQueryStr(reqBody);
|
|
|
castingId = params.castingId;
|
|
castingId = params.castingId;
|
|
|
lk.setVal(GandartConstKey.CastingId, castingId);
|
|
lk.setVal(GandartConstKey.CastingId, castingId);
|
|
|
|
|
|
|
@@ -335,7 +335,7 @@ async function all() {
|
|
|
lk.done();
|
|
lk.done();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-function refreshLstOnSale(castingId, price) {
|
|
|
|
|
|
|
+async function refreshLstOnSale(castingId, price) {
|
|
|
return new Promise((resolve, _reject) => {
|
|
return new Promise((resolve, _reject) => {
|
|
|
try {
|
|
try {
|
|
|
const headers = GCommonGandartHeads;
|
|
const headers = GCommonGandartHeads;
|
|
@@ -346,7 +346,7 @@ function refreshLstOnSale(castingId, price) {
|
|
|
signData.pageSize = 15;
|
|
signData.pageSize = 15;
|
|
|
signData.sort = 2;// 1=编号,2=价格
|
|
signData.sort = 2;// 1=编号,2=价格
|
|
|
signData.transactionStatus = 2;
|
|
signData.transactionStatus = 2;
|
|
|
- let body = ik.objToQueryStr(signData);
|
|
|
|
|
|
|
+ let body = lk.objToQueryStr(signData);
|
|
|
let url = {
|
|
let url = {
|
|
|
url: `${config.RESALE_API_V2}/resaleManage/resale/onSale`,
|
|
url: `${config.RESALE_API_V2}/resaleManage/resale/onSale`,
|
|
|
headers: headers,
|
|
headers: headers,
|