|
|
using Forks.EnterpriseServices;
|
|
using Forks.Utils.Configuration;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using TSingSoft.WebPluginFramework;
|
|
|
|
namespace BWP.B3WeChat
|
|
{
|
|
[ConfigurationEnabled]
|
|
public class B3WeChatConfig
|
|
{
|
|
public B3WeChatConfig()
|
|
{
|
|
ConfigurationUtil.Fill(this);
|
|
}
|
|
|
|
StringConfigRef mToken = new StringConfigRef(string.Empty);
|
|
[LogicName("微信Token")]
|
|
public StringConfigRef Token
|
|
{
|
|
get
|
|
{
|
|
return mToken;
|
|
}
|
|
set
|
|
{
|
|
mToken = value;
|
|
}
|
|
}
|
|
|
|
StringConfigRef mAppID = new StringConfigRef(string.Empty);
|
|
[LogicName("微信AppID")]
|
|
public StringConfigRef AppID
|
|
{
|
|
get
|
|
{
|
|
return mAppID;
|
|
}
|
|
set
|
|
{
|
|
mAppID = value;
|
|
}
|
|
}
|
|
|
|
StringConfigRef mAppSecret = new StringConfigRef(string.Empty);
|
|
[LogicName("微信AppSecret")]
|
|
public StringConfigRef AppSecret
|
|
{
|
|
get
|
|
{
|
|
return mAppSecret;
|
|
}
|
|
set
|
|
{
|
|
mAppSecret = value;
|
|
}
|
|
}
|
|
|
|
StringConfigRef mSelfAppID = new StringConfigRef(string.Empty);
|
|
[LogicName("微信SelfAppID")]
|
|
public StringConfigRef SelfAppID
|
|
{
|
|
get
|
|
{
|
|
return mSelfAppID;
|
|
}
|
|
set
|
|
{
|
|
mSelfAppID = value;
|
|
}
|
|
}
|
|
}
|
|
}
|