微信小店地址管理

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

+13
View File
@@ -24,6 +24,7 @@ using TemuKJD.KJDForms.ShopForms;
using TemuKJD.KJDForms.AdminForms;
using TemuKJD.BLL.PddApi;
using TemuKJD.PDDForms.ProductForms;
using TemuKJD.WXForms.ShopForms;
namespace TemuKJD
{
@@ -80,6 +81,12 @@ namespace TemuKJD
#endregion
#endregion
GlobalConfig.GlobalSettings = NaiBa.Util.Helper.ConfigHelper.LoadConfig<GlobalSettings>("global_settings");
if (GlobalConfig.GlobalSettings == null)
{
GlobalConfig.GlobalSettings = new GlobalSettings();
}
#region 店铺登录信息
Task.Run((Action)(() =>
{
@@ -89,6 +96,7 @@ namespace TemuKJD
ShopListForm.UpdateShop();
PddApiHelper.GetPddClientInfo();
PddApiHelper.GetShopClientInfo();
WXShopDefaultAddressListForm.GetShopDefaultAddress();
IsShopInit = true;
}));
@@ -407,6 +415,11 @@ namespace TemuKJD
//NaiBa.Util.Helper.ConfigHelper.SaveConfig("dou_shop_login", shopLoginListCopy);
}
public static void SaveGlobalSettings()
{
NaiBa.Util.Helper.ConfigHelper.SaveConfig("global_settings", GlobalConfig.GlobalSettings);
}
public static void SaveTemuShopSettingParam()
{
NaiBa.Util.Helper.ConfigHelper.SaveConfig("temu_shop_setting_param", GlobalConfig.TemuShopSettingParam);