微信小店地址管理
This commit is contained in:
1 parent
0c5ebf421e
commit
5ac8eb2571
29 files changed
+1489
-378
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user