mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(openai): 新增 v2 版机器人配置相关接口
This commit is contained in:
@@ -21,6 +21,7 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
|
||||
WechatAppId = config.GetProperty("AppId").GetString()!;
|
||||
WechatToken = config.GetProperty("Token").GetString()!;
|
||||
WechatEncodingAESKey = config.GetProperty("EncodingAESKey").GetString()!;
|
||||
WechatAccountId = config.GetProperty("AccountId").GetString()!;
|
||||
WechatAccessToken = config.GetProperty("AccessToken").GetString()!;
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -32,6 +33,7 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
|
||||
public static readonly string WechatAppId;
|
||||
public static readonly string WechatToken;
|
||||
public static readonly string WechatEncodingAESKey;
|
||||
public static readonly string WechatAccountId;
|
||||
public static readonly string WechatAccessToken;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user