zhuyiyi 1 сар өмнө
parent
commit
7bf330d247

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

@@ -14115,6 +14115,10 @@ namespace SiteCore.Handler
             string del = GetPostString("del");
             if (Enum.TryParse(type, out TradeCellFile tradeCellFile))
             {
+                if (tradeCellFile == TradeCellFile.AUTH_FILE)
+                {
+                    ctid = tid;
+                }
                 if ("1".Equals(del))
                 {
                     CeErpTradeCellFile.delByCtid(tid, ctid, tradeCellFile.ToString());
@@ -14142,6 +14146,10 @@ namespace SiteCore.Handler
             string type = GetPostString("type");
             if (Enum.TryParse(type, out TradeCellFile tradeCellFile))
             {
+                if (tradeCellFile == TradeCellFile.AUTH_FILE)
+                {
+                    ctid = tid;
+                }
                 string sql = string.Format("SELECT * FROM [dbo].[CE_ErpTradeCellFile] WHERE isDel=0 and tid='{0}' and ctid='{1}' and type='{2}';", tid, ctid, tradeCellFile);
                 DataTable dt = DbHelper.DbConn.ExecuteDataset(sql).Tables[0];
                 ReturnSuccess(Utils.Serialization.JsonString.DataTable2MiniAjaxJson(dt));

+ 0 - 4
SiteCore/taobao/designHelper.cs

@@ -457,10 +457,6 @@ namespace SiteCore.Handler
             {
                 byte[] ret = wc.UploadValues(post_url, "POST", PostVars);
                 remoteInfo = Encoding.GetEncoding("utf-8").GetString(ret);
-                if ("orderRemarks".Equals(vo.actionName))
-                {
-                    XLog.SaveLog(0, "API_WorkCore:" + vo.orderNumber + "—" + remoteInfo + vo.actionName);
-                }
             }
             catch (Exception ex)
             {