tangjiang il y a 7 mois
Parent
commit
edcf6914ea

+ 17 - 0
src/DataSharing.Host/Controllers/YiBin/ConvergenceMediaController.cs

@@ -1069,6 +1069,23 @@ namespace DataSharing.Host.Controllers.YiBin
 
         #region 私有方法-将文件转化为文件流
 
+        private string GetChannelCode(string platformSource)
+        {
+            var sourceChannelCode = "";
+            switch (platformSource)
+            {
+                case "ConvergenceMedia":
+                    sourceChannelCode = "YBRMT";
+                    break;
+                case "IYIBIN":
+                    sourceChannelCode = "IYB";
+                    break;
+                default:
+                    break;
+            }
+            return sourceChannelCode;
+        }
+
         /// <summary>
         /// 将文件流上传到附件服务器    
         /// </summary>