加入微信客服相关功能 40%
This commit is contained in:
1 parent
f71cb1bba8
commit
c05c7e4f23
93 files changed
+2824
-356
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using TemuKJD.WXForms.TalkForms.TalkModel;
|
||||
|
||||
namespace TemuKJD.WXForms.TalkForms.TalkHelper
|
||||
{
|
||||
public class ChatConfig
|
||||
{
|
||||
public static ChatSettingsParam ChatSettingConfig { get; set; }
|
||||
|
||||
public static void LoadChatSetting()
|
||||
{
|
||||
ChatConfig.ChatSettingConfig = NaiBa.Util.Helper.ConfigHelper.LoadConfig<ChatSettingsParam>("chat_setting");
|
||||
if (ChatConfig.ChatSettingConfig == null)
|
||||
ChatConfig.ChatSettingConfig = new ChatSettingsParam();
|
||||
}
|
||||
|
||||
public static void SaveChatSettingParam()
|
||||
{
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("chat_setting", ChatConfig.ChatSettingConfig);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user