shawenguan 1 yıl önce
ebeveyn
işleme
7bd3c93588

Dosya farkı çok büyük olduğundan ihmal edildi
+ 368 - 0
Scripts/wubian/wubianConsignment.js


+ 7 - 0
Scripts/wubian/wubianHelper.js

@@ -632,6 +632,13 @@ function handleGoodsInfo() {
     let artInfo = rspData.data.info;
     let authorInfo = rspData.data.author;
     let paymentInfo = rspData.data.paymentInfo;
+    if (typeof paymentInfo.saleMinPrice == 'string' && paymentInfo.saleMinPrice.length == 0) {
+        paymentInfo.saleMinPrice = 1;
+    }
+    if (typeof paymentInfo.saleMaxPrice == 'string' && paymentInfo.saleMaxPrice.length == 0) {
+        paymentInfo.saleMaxPrice = 99999;
+    }
+
     let buttons = rspData.data.button;
     if (buttons[0].disable == 1) {
         // let map = [

+ 6 - 1
Scripts/wubian/wubianNotice.js

@@ -94,8 +94,13 @@ function updateHeaders() {
     gCommonHeaders['cookie'] = `token=${gToken}`;
 }
 
-async function tryNewNotice() {
+function getTenantId() {
     let tenantId = magicJS.data.read(WuBianConstKey.TenantId, '238bw8l9n5');
+    return tenantId;
+}
+
+async function tryNewNotice() {
+    let tenantId = getTenantId();
     let retData = await getNoticeListByCategory(1, 1, 20, tenantId);
     if (retData && retData.code == 200) {
         let nowTime = Date.now();

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor