1部分废弃功能注释 2数据库商品车队费、贴单费等设置 3账户授权金额设置 4jit核价商品还原逻辑调整

This commit is contained in:
wule committed 2025-12-03 11:04:58 +08:00
1 parent 480d8c2cd4
commit 165df61234
52 files changed
+2019 -1023

No files matched your search

+2 -1
View File
@@ -201,7 +201,7 @@
<Compile Include="Model\Param\PDDProdParam\PDDProductUploadParam.cs" />
<Compile Include="Model\Param\SalesManage\PromotionAddParam.cs" />
<Compile Include="Model\Param\SalesManage\TemuActivityParam.cs" />
<Compile Include="Model\Param\ShopManage\DouShopSettingParam.cs" />
<Compile Include="Model\Param\ShopManage\TemuShopSettingParam.cs" />
<Compile Include="Model\Param\TemuProductManage\TemuProductWords.cs" />
<Compile Include="Model\Param\TemuProductManage\TemuSizeSpecParam.cs" />
<Compile Include="Model\Result\PDDResult\PDDActivitiInfo.cs" />
@@ -219,6 +219,7 @@
<Compile Include="Model\Result\TemuActivityInfo.cs" />
<Compile Include="Model\Result\TemuActivityMatchProductInfo.cs" />
<Compile Include="Model\Result\TemuCategoryTemplateInfo.cs" />
<Compile Include="Model\Result\TemuDBProdMapResult.cs" />
<Compile Include="Model\Result\TemuForChainProductInfo.cs" />
<Compile Include="Model\Result\TemuDBExtCodePriceInfo.cs" />
<Compile Include="Model\Result\TemuDBProductPurchasePriceInfo.cs" />
+2 -1
View File
@@ -27,7 +27,7 @@ namespace AllBase
/// <summary>
/// 版本ID
/// </summary>
public static int VersionCount = 702;
public static int VersionCount = 706;
//public static int VersionCount = 613;
/// <summary>
@@ -301,6 +301,7 @@ namespace AllBase
public static string UserName = "";
//public static bool IsSa;
public static int SaLevel = 0;
public static decimal? AuthorizedAmount = null;
/// <summary>
/// 注册昵称
/// </summary>
+17
View File
@@ -532,6 +532,23 @@ namespace AllBase
return 0;
}
/// <summary>
/// 获取值
/// </summary>
/// <param name="html"></param>
/// <param name="reg"></param>
/// <returns></returns>
public static decimal? GetNullableDecimalJson(ref string html, string reg)
{
string temp = GetMatchRegexString(html, @"['""]" + reg + @"['""][\s]*:[\s]*['""]([^']+?)['""]");
if (string.IsNullOrEmpty(temp))
temp = GetMatchRegexString(html, @"['""]" + reg + @"['""][\s]*:[\s]*([\d-\.]+)");
decimal i = 0;
if (decimal.TryParse(temp, out i))
return i;
return null;
}
/// <summary>
/// 获取值
/// </summary>
+1 -1
View File
@@ -25,7 +25,7 @@ namespace AllBase.Helper
/// <summary>
/// 店铺设置参数
/// </summary>
public static DouShopSettingParam DouShopSettingParam { get; set; }
public static TemuShopSettingParam TemuShopSettingParam { get; set; } = new TemuShopSettingParam();
/// <summary>
/// 抖音号cookie
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace AllBase.Model.Param.ShopManage
{
public class DouShopSettingParam
public class TemuShopSettingParam
{
public bool IsAutoDragLogin { get; set; } = false;
}
+4 -2
View File
@@ -46,11 +46,13 @@ namespace AllBase.Model.Result
public int product_get_type { get; set; }
public string head_words { get; set; }
public string end_words { get; set; }
public string fission_words { get; set; }
/// <summary>
/// temu 成本价
/// </summary>
public string cost_price { get; set; }
public string fission_words { get; set; }
public decimal? cost_price { get; set; }
public decimal? delivery_fee { get; set; }
public decimal? mark_fee { get; set; }
// 是否拼多多上传成功
public bool isPddUpLoad { get; set; } = false;
+5 -1
View File
@@ -201,6 +201,7 @@ namespace AllBase.Model.Result
public class SubAccountInfo
{
public int id { get; set; }
public string user_name { get; set; }
public string nick_name { get; set; }
public string mobile { get; set; }
@@ -241,7 +242,10 @@ namespace AllBase.Model.Result
return s;
}
}
public int id { get; set; }
/// <summary>
/// 用户(JIT推单)授权金额
/// </summary>
public decimal? authorized_amount { get; set; }
}
public class ShopSubAccountInfo : SubAccountInfo
@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result
{
public class DBProdDbIdMapProductIdInfo
{
public int id { get; set; }
public int product_select_db_id { get; set; }
public long product_id { get; set; }
public long shop_id { get; set; }
public DateTime add_time { get; set; }
}
public class DBProdDraftIdMapUpSpuIdInfo
{
public int id { get; set; }
public long draft_id { get; set; }
public long from_spu_id { get; set; }
public long shop_id { get; set; }
public DateTime add_time { get; set; }
public decimal? cost_price { get; set; }
public decimal? delivery_fee { get; set; }
public decimal? mark_fee { get; set; }
}
}