微信小店地址管理

This commit is contained in:
wule committed 2026-05-02 10:15:04 +08:00
1 parent 0c5ebf421e
commit 5ac8eb2571
29 files changed
+1489 -378

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ namespace AllBase
/// <summary>
/// 版本ID
/// </summary>
public static int VersionCount = 1022;
public static int VersionCount = 1027;
//public static int VersionCount = 613;
/// <summary>
+14
View File
@@ -18,11 +18,17 @@ namespace AllBase.Helper
{
public class GlobalConfig
{
public static GlobalSettings GlobalSettings { get; set; } = new GlobalSettings();
/// <summary>
/// 店铺列表
/// </summary>
public static ConcurrentList<ShopLoginInfo> ShopLoginList { get; set; } = new ConcurrentList<ShopLoginInfo>();
/// <summary>
/// 店铺默认地址
/// </summary>
public static ConcurrentList<WXShopDefaultAddressInfo> WXShopDefaultAddressList = new ConcurrentList<WXShopDefaultAddressInfo>();
/// <summary>
/// 拼多多买手列表
/// </summary>
public static ConcurrentList<BuyerLoginInfo> BuyerLoginList { get; set; } = new ConcurrentList<BuyerLoginInfo>();
@@ -81,4 +87,12 @@ namespace AllBase.Helper
[Description("阿里巴巴")]
Alibaba = 6,
}
public class GlobalSettings
{
/// <summary>
/// 微信使用软件设置的默认上货地址
/// </summary>
public bool IsWxUseSoftwareDefaultAddress { get; set; } = true;
}
}
@@ -51,6 +51,7 @@ namespace AllBase.Model.Result
public int product_get_type { get; set; }
public KJDDBProduct kjdDbProduct { get; set; } = null;
public WXUploadProductParam wxDraftProduct { get; set; } = null;
public string product_get_type_text { get; set; }
#endregion
}
}
@@ -19,5 +19,14 @@ namespace AllBase.Model.Result.WXResult
public string user_name { get; set; }
public DateTime add_time { get; set; }
public DateTime mdy_time { get; set; }
public bool isFullAddress
{
get
{
return !string.IsNullOrEmpty(user_id) && !string.IsNullOrEmpty(shop_id) && !string.IsNullOrEmpty(province_name) && !string.IsNullOrEmpty(city_name) &&
!string.IsNullOrEmpty(county_name) && !string.IsNullOrEmpty(detail_info) && !string.IsNullOrEmpty(tel_number) && !string.IsNullOrEmpty(user_name);
}
}
}
}