|
@@ -25,6 +25,7 @@ using Dm.filter;
|
|
|
using Hotline.Share.Dtos.Snapshot;
|
|
|
using DataSharing.Share.Dtos.CityStateDataExchange;
|
|
|
using static Lucene.Net.Util.Fst.Util;
|
|
|
+using DataSharing.Share.Enums;
|
|
|
|
|
|
namespace DataSharing.Host.Controllers.LuZhou
|
|
|
{
|
|
@@ -106,6 +107,10 @@ namespace DataSharing.Host.Controllers.LuZhou
|
|
|
|
|
|
#region 绑定数据
|
|
|
|
|
|
+ var platformSource = accountDto.PlatformSource;
|
|
|
+ if (platformSource == "JCeT")
|
|
|
+ platformSource = "WineCity";
|
|
|
+
|
|
|
AddOrderDto data = new()
|
|
|
{
|
|
|
Title = winCity.Title,
|
|
@@ -114,7 +119,7 @@ namespace DataSharing.Host.Controllers.LuZhou
|
|
|
FullAddress = winCity.Address,
|
|
|
Content = winCity.Content,
|
|
|
IsSecret = winCity.SFlag == "0" ? false : true,
|
|
|
- Source = (Hotline.Share.Enums.Order.ESource)System.Enum.Parse(typeof(Hotline.Share.Enums.Order.ESource), accountDto.PlatformSource),
|
|
|
+ Source = (Hotline.Share.Enums.Order.ESource)System.Enum.Parse(typeof(Hotline.Share.Enums.Order.ESource), platformSource),
|
|
|
FromGender = winCity.LinkSex switch
|
|
|
{
|
|
|
"1" => Hotline.Share.Enums.Order.EGender.Male,
|
|
@@ -129,7 +134,7 @@ namespace DataSharing.Host.Controllers.LuZhou
|
|
|
|
|
|
switch (accountDto.PlatformSource)
|
|
|
{
|
|
|
- case "WineCity":
|
|
|
+ case "JCeT":
|
|
|
data.SourceChannel = "酒城一通";
|
|
|
data.SourceChannelCode = accountDto.PlatformSource;
|
|
|
break;
|