feat(wxapi): 新增 Credentials 类型,存储初始化客户端时的凭证副本

This commit is contained in:
Fu Diwei
2021-07-27 00:49:38 +08:00
parent 3744c2fea6
commit ee8fb3824c
16 changed files with 96 additions and 81 deletions

View File

@@ -21,7 +21,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
if (client == null) throw new ArgumentNullException(nameof(client));
if (string.IsNullOrEmpty(callbackJson)) throw new ArgumentNullException(callbackJson);
return client.FlurlJsonSerializer.Deserialize<TEvent>(callbackJson);
return client.JsonSerializer.Deserialize<TEvent>(callbackJson);
}
/// <summary>