zhuyiyi 1 ヶ月 前
コミット
bc7993a090

+ 2 - 2
SiteCore/taobao/preSalesHelper.cs

@@ -827,7 +827,7 @@ namespace SiteCore.Handler
                     LogHelper.addLog(tid, UserID, "上传文件地址修改备注:" + systemRemark, 6);
                     ceErpTradeCell.Update();
                 }
-                ceErpTrade.Attachments = "https://dfdiyfile.oss-cn-fuzhou.aliyuncs.com/" + atta;
+                ceErpTrade.Attachments = "https://ltcloudfile.oss-cn-hangzhou.aliyuncs.com/" + atta;
                 ceErpTrade.Update();
                 LogHelper.addLog(tid, UserID, "上传文件地址:" + ceErpTrade.Attachments, 6);
                 returnSuccessMsg("上传成功!");
@@ -2451,7 +2451,7 @@ namespace SiteCore.Handler
             trade.posCode = bizOrder.shopCode;
             if (!string.IsNullOrEmpty(bizOrder.addressFileUrl))
             {
-                trade.Attachments = "https://dfdiyfile.oss-cn-fuzhou.aliyuncs.com/" + bizOrder.addressFileUrl;
+                trade.Attachments = "https://ltcloudfile.oss-cn-hangzhou.aliyuncs.com/" + bizOrder.addressFileUrl;
             }
             if (isCreate)
             {

+ 1 - 1
Web/EDelivery/js/ChangeDelivery.js

@@ -154,7 +154,7 @@ function actionRenderer(e) {
     if (!!record.attachments) {
         let url = record.attachments;
         if (url.indexOf("http:") == -1 && url.indexOf("https:") == -1) {
-            url = "https://dfdiyfile.oss-cn-fuzhou.aliyuncs.com/" + url;
+            url = "https://ltcloudfile.oss-cn-hangzhou.aliyuncs.com/" + url;
         }
         html += getGridBtn("view", "下载附件", "downAddressFile('" + url + "')");
     }

+ 1 - 1
Web/EDelivery/js/DeliveredList.js

@@ -294,7 +294,7 @@ function actionRenderer(e) {
     if (!!record.attachments) {
         let url = record.attachments;
         if (url.indexOf("http:") == -1 && url.indexOf("https:") == -1) {
-            url = "https://dfdiyfile.oss-cn-fuzhou.aliyuncs.com/" + url;
+            url = "https://ltcloudfile.oss-cn-hangzhou.aliyuncs.com/" + url;
         }
         html += getGridBtn("view", "下载附件", "downAtta('" + url + "')");
     }

+ 1 - 1
Web/EDelivery/js/PddDelivered.js

@@ -313,7 +313,7 @@ function actionRenderer(e) {
     if (!!record.attachments) {
         let url = record.attachments;
         if (url.indexOf("http:") == -1 && url.indexOf("https:") == -1) {
-            url = "https://dfdiyfile.oss-cn-fuzhou.aliyuncs.com/" + url;
+            url = "https://ltcloudfile.oss-cn-hangzhou.aliyuncs.com/" + url;
         }
         html += getGridBtn("view", "下载附件", "downAtta('" + url + "')");
     }

+ 1 - 1
Web/EDelivery/js/PddDelivering.js

@@ -184,7 +184,7 @@ function actionRenderer(e) {
     if (!!record.attachments) {
         let url = record.attachments;
         if (url.indexOf("http:") == -1 && url.indexOf("https:") == -1) {
-            url = "https://dfdiyfile.oss-cn-fuzhou.aliyuncs.com/" + url;
+            url = "https://ltcloudfile.oss-cn-hangzhou.aliyuncs.com/" + url;
         }
         html += getGridBtn("view", "下载附件", "downAtta('" + url + "')");
     }

+ 1 - 1
Web/EDelivery/js/WaitingDelivery.js

@@ -157,7 +157,7 @@ function actionRenderer(e) {
     if (!!record.attachments) {
         let url = record.attachments;
         if (url.indexOf("http:") == -1 && url.indexOf("https:") == -1) {
-            url = "https://dfdiyfile.oss-cn-fuzhou.aliyuncs.com/" + url;
+            url = "https://ltcloudfile.oss-cn-hangzhou.aliyuncs.com/" + url;
         }
         html += getGridBtn("view", "下载附件", "downAtta('" + url + "')");
     }

+ 3 - 3
Web/EOrder/OrderList.aspx

@@ -1089,13 +1089,13 @@
 
         const client = new OSS({
             // yourregion填写Bucket所在地域。以华东1(杭州)为例,Region填写为oss-cn-hangzhou。
-            region: "oss-cn-fuzhou",
+            region: "oss-cn-hangzhou",
             // 从环境变量中获取访问凭证。运行本代码示例之前,请确保已设置环境变量OSS_ACCESS_KEY_ID和OSS_ACCESS_KEY_SECRET。
             accessKeyId: "LTAI5tE7wuNkeT9jZ42bQnyr",
             accessKeySecret: "NnutvWhKl4HbQFSad3HosYbCkEkbjN",
             // 填写存储空间名称。
-            bucket: "dfdiyfile",
-            endpoint: "https://oss-cn-fuzhou.aliyuncs.com",
+            bucket: "ltcloudfile",
+            endpoint: "https://oss-cn-hangzhou.aliyuncs.com",
         });
 
         async function putObject(file) {

+ 1 - 1
Web/EOrder/js/p_order.js

@@ -1635,7 +1635,7 @@ function mymemoFn(eid) {
 }
 
 function downTemplete() {
-    window.open("https://dfdiyfile.oss-cn-fuzhou.aliyuncs.com/%E4%B8%8A%E4%BC%A0%E5%9C%B0%E5%9D%80%E6%A8%A1%E6%9D%BF.xls");
+    window.open("https://ltcloudfile.oss-cn-hangzhou.aliyuncs.com/%E4%B8%8A%E4%BC%A0%E5%9C%B0%E5%9D%80%E6%A8%A1%E6%9D%BF.xls");
 }
 
 //保存备注