zhuyiyi 10 달 전
부모
커밋
7bdbc83194
3개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 0
      SiteCore/Handler/sync.order.cs
  2. 3 2
      SiteCore/taobao/dataHelper.cs
  3. 2 2
      SiteCore/taobao/designHelper.cs

+ 1 - 0
SiteCore/Handler/sync.order.cs

@@ -56,6 +56,7 @@ namespace SiteCore.Handler
 
 
             string poscode = CurrentUser.UserPost.Post.Code;
             string poscode = CurrentUser.UserPost.Post.Code;
             DataStruct dStruct = GetPostStruct();
             DataStruct dStruct = GetPostStruct();
+            //jiemiUtils.ossFileDecrypt("C:\\Users\\231010\\Downloads\\1.xls");
             //apiHelper.Api_SyncOrderByTime("598825");
             //apiHelper.Api_SyncOrderByTime("598825");
             //apiHelper.API_GetWaybill("ZTO-CAINIAO-TZJK", "4233447147588233939");
             //apiHelper.API_GetWaybill("ZTO-CAINIAO-TZJK", "4233447147588233939");
             //apiHelper.Api_SyacOrder("2460143282114312263", "yujia");
             //apiHelper.Api_SyacOrder("2460143282114312263", "yujia");

+ 3 - 2
SiteCore/taobao/dataHelper.cs

@@ -381,14 +381,15 @@ namespace SiteCore.Handler
             }
             }
             catch (Exception ex)
             catch (Exception ex)
             {
             {
+                XLog.SaveLog(0, "getSaleOrderSn:" + ex.Message);
             }
             }
             return orderSn;
             return orderSn;
         }
         }
 
 
         public static void api_orderBack(string orderNumber, string state, string content)
         public static void api_orderBack(string orderNumber, string state, string content)
         {
         {
-            //string post_url = "http://api.presales.lingtao8.com/open/order/orderProcessReturn";
-            string post_url = "http://admin.lingtao.zmht888.com/prod-api/open/order/orderProcessReturn";
+            string post_url = "http://api.presales.lingtao8.com/open/order/orderProcessReturn";
+            //string post_url = "http://admin.lingtao.zmht888.com/prod-api/open/order/orderProcessReturn";
             string remoteInfo = "";
             string remoteInfo = "";
             string param = JsonConvert.SerializeObject(new
             string param = JsonConvert.SerializeObject(new
             {
             {

+ 2 - 2
SiteCore/taobao/designHelper.cs

@@ -57,8 +57,8 @@ namespace SiteCore.Handler
                 }
                 }
             }
             }
         }
         }
-        //static string pUrl = "http://api.lingtao8.com/api/manager/";
-        static string pUrl = "http://47.122.40.91:8099/api/manager/";
+        static string pUrl = "http://api.lingtao8.com/api/manager/";
+        //static string pUrl = "http://47.122.40.91:8099/api/manager/";
 
 
         static HttpHelper tb_http = new HttpHelper();
         static HttpHelper tb_http = new HttpHelper();