api调用加入代发相关逻辑
This commit is contained in:
1 parent
6b1b8507c7
commit
dacacb352c
7 files changed
+167
-38
No files matched your search
+12
-6
@@ -2,6 +2,8 @@
|
||||
using AllBase.DouYinModel.Param.ConfigManage;
|
||||
using AllBase.Helper;
|
||||
using AllBase.Model.Config;
|
||||
using AllBase.Model.DBModel;
|
||||
using NaiBa.Util;
|
||||
using NaiBa.Util.Helper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -14,12 +16,16 @@ namespace _29WxOrderWpf
|
||||
{
|
||||
public class StartUp
|
||||
{
|
||||
public static void Init()
|
||||
{
|
||||
GlobalConfig.BuyConfig = ConfigHelper.LoadConfig<BuyConfig>("buy_config_260708");
|
||||
if (GlobalConfig.BuyConfig == null)
|
||||
GlobalConfig.BuyConfig = new BuyConfig();
|
||||
}
|
||||
public static void Init()
|
||||
{
|
||||
GlobalConfig.BuyConfig = ConfigHelper.LoadConfig<BuyConfig>("buy_config_260708");
|
||||
if (GlobalConfig.BuyConfig == null)
|
||||
GlobalConfig.BuyConfig = new BuyConfig();
|
||||
|
||||
GlobalConfig.lstWXShopTokenInfo = ConfigHelper.LoadConfig<ConcurrentList<WXShopTokenInfo>>("wx_shop_token_list");
|
||||
if (GlobalConfig.lstWXShopTokenInfo == null)
|
||||
GlobalConfig.lstWXShopTokenInfo = new ConcurrentList<WXShopTokenInfo>();
|
||||
}
|
||||
|
||||
public static void SaveBuyConfig()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user