mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
25 lines
869 B
C#
25 lines
869 B
C#
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
|
|
{
|
|
internal class TestClients
|
|
{
|
|
static TestClients()
|
|
{
|
|
InstanceForPlatform = new WechatOpenAIPlatformClient(new WechatOpenAIPlatformClientOptions()
|
|
{
|
|
AppId = TestConfigs.WechatAppId,
|
|
Token = TestConfigs.WechatToken,
|
|
EncodingAESKey = TestConfigs.WechatEncodingAESKey
|
|
});
|
|
|
|
InstanceForThirdParty = new WechatOpenAIThirdPartyClient(new WechatOpenAIThirdPartyClientOptions()
|
|
{
|
|
ClientId = TestConfigs.WechatClientId,
|
|
ClientKey = TestConfigs.WechatClientKey
|
|
});
|
|
}
|
|
|
|
public static readonly WechatOpenAIPlatformClient InstanceForPlatform;
|
|
public static readonly WechatOpenAIThirdPartyClient InstanceForThirdParty;
|
|
}
|
|
}
|