mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 18:22:24 +08:00
Merge branch 'main' of https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat
This commit is contained in:
@@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
<summary>SKIT.FlurlHttpClient.Wechat 更新日志</summary>
|
<summary>SKIT.FlurlHttpClient.Wechat 更新日志</summary>
|
||||||
|
|
||||||
|
- Release 1.0.3
|
||||||
|
|
||||||
|
- **修复**:显式依赖 `System.Text.Encodings.Web`,修复部分场景下程序集加载问题。
|
||||||
|
|
||||||
- Release 1.0.2
|
- Release 1.0.2
|
||||||
|
|
||||||
- **新增**:新增 `IWechatClient.JsonSerializer` 属性。
|
- **新增**:新增 `IWechatClient.JsonSerializer` 属性。
|
||||||
@@ -26,6 +30,10 @@
|
|||||||
|
|
||||||
<summary>SKIT.FlurlHttpClient.Wechat.Api 更新日志</summary>
|
<summary>SKIT.FlurlHttpClient.Wechat.Api 更新日志</summary>
|
||||||
|
|
||||||
|
- Release 1.2.1
|
||||||
|
|
||||||
|
- **修复**:修复生成小程序码接口的模型定义错误。
|
||||||
|
|
||||||
- Release 1.2.0
|
- Release 1.2.0
|
||||||
|
|
||||||
- **新增**:新增 `WechatApiClient.Credentials` 属性。
|
- **新增**:新增 `WechatApiClient.Credentials` 属性。
|
||||||
|
@@ -189,4 +189,4 @@ else
|
|||||||
|
|
||||||
为方便开发者快速掌握本库的使用方法,这里提供一个示例项目以供参考。
|
为方便开发者快速掌握本库的使用方法,这里提供一个示例项目以供参考。
|
||||||
|
|
||||||
请阅读[《示例项目说明》](./Sample.md)
|
请阅读[《示例项目说明》](./Sample.md)。
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net461; netstandard2.0</TargetFrameworks>
|
<TargetFrameworks>net461; netstandard2.0; net5.0</TargetFrameworks>
|
||||||
<LangVersion>8.0</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<NullableReferenceTypes>true</NullableReferenceTypes>
|
<NullableReferenceTypes>true</NullableReferenceTypes>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
||||||
<PackageTags>Flurl.Http Wechat Weixin MicroMessage WechatAds WechatAdvertisting 微信 广告平台 微信广告平台 腾讯广告平台 广点通 微信广点通 腾讯广点通</PackageTags>
|
<PackageTags>Flurl.Http Wechat Weixin MicroMessage WechatAds WechatAdvertisting 微信 广告平台 微信广告平台 腾讯广告平台 广点通 微信广点通 腾讯广点通</PackageTags>
|
||||||
<Version>1.0.0-beta.210727</Version>
|
<Version>1.0.0-beta.210729</Version>
|
||||||
<Description>Flurl.Http client for Wechat Ads Open API. 基于 Flurl.Http 的微信广告平台(广点通)API 客户端。</Description>
|
<Description>Flurl.Http client for Wechat Ads Open API. 基于 Flurl.Http 的微信广告平台(广点通)API 客户端。</Description>
|
||||||
<Authors>Fu Diwei</Authors>
|
<Authors>Fu Diwei</Authors>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
|
@@ -40,7 +40,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("path")]
|
[Newtonsoft.Json.JsonProperty("path")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("path")]
|
[System.Text.Json.Serialization.JsonPropertyName("path")]
|
||||||
public string? Path { get; set; }
|
public string? PagePath { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置二维码的宽度(单位:像素)。
|
/// 获取或设置二维码的宽度(单位:像素)。
|
||||||
|
@@ -6,13 +6,55 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>表示 [POST] /wxa/getwxacodeunlimit 接口的请求。</para>
|
/// <para>表示 [POST] /wxa/getwxacodeunlimit 接口的请求。</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class WxaGetWxaCodeUnlimitRequest : WxaGetWxaCodeRequest
|
public class WxaGetWxaCodeUnlimitRequest : WechatApiRequest
|
||||||
{
|
{
|
||||||
|
public static class Types
|
||||||
|
{
|
||||||
|
public class Color : WxaGetWxaCodeRequest.Types.Color
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置扫码场景值。
|
/// 获取或设置扫码场景值。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("scene")]
|
[Newtonsoft.Json.JsonProperty("scene")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("scene")]
|
[System.Text.Json.Serialization.JsonPropertyName("scene")]
|
||||||
public string Scene { get; set; } = string.Empty;
|
public string Scene { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置扫码进入的小程序页面路径。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("page")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("page")]
|
||||||
|
public string? PagePath { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置二维码的宽度(单位:像素)。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("width")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("width")]
|
||||||
|
public int? Width { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置是否自动配置线条颜色。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("auto_color")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("auto_color")]
|
||||||
|
public bool? IsAutoColor { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置线条颜色信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("line_color")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("line_color")]
|
||||||
|
public Types.Color? LineColor { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置是否需要透明底色。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("is_hyaline")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("is_hyaline")]
|
||||||
|
public bool? IsHyaline { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net461; netstandard2.0</TargetFrameworks>
|
<TargetFrameworks>net461; netstandard2.0; net5.0</TargetFrameworks>
|
||||||
<LangVersion>8.0</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<NullableReferenceTypes>true</NullableReferenceTypes>
|
<NullableReferenceTypes>true</NullableReferenceTypes>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
||||||
<PackageTags>Flurl.Http Wechat Weixin MicroMessage MiniProgram MiniGame MiniStore 微信 公众号 服务号 订阅号 小程序 小游戏 小商店 公众平台 开放平台 微信公众号 微信服务号 微信订阅号 微信小程序 微信小游戏 微信小商店 微信公众平台 微信开放平台</PackageTags>
|
<PackageTags>Flurl.Http Wechat Weixin MicroMessage MiniProgram MiniGame MiniStore 微信 公众号 服务号 订阅号 小程序 小游戏 小商店 公众平台 开放平台 微信公众号 微信服务号 微信订阅号 微信小程序 微信小游戏 微信小商店 微信公众平台 微信开放平台</PackageTags>
|
||||||
<Version>1.2.0</Version>
|
<Version>1.2.1</Version>
|
||||||
<Description>Flurl.Http client for Wechat API. 基于 Flurl.Http 的微信 API 客户端,支持公众平台(订阅号、服务号、小程序、小游戏、小商店)、开放平台等平台,支持基础服务、模板消息、订阅消息、客服消息、动态消息、菜单管理、素材管理、留言管理、用户管理、账号管理、数据统计、微信门店、微信小店、智能接口、一物一码、微信发票、微信非税缴费、插件管理、附近的小程序、小程序码、小程序搜索、URL Scheme、URL Link、即时配送、物流助手、直播、生物认证、虚拟支付、开放数据、对局匹配、帧同步、内容安全、安全风控、第三方平台等功能。</Description>
|
<Description>Flurl.Http client for Wechat API. 基于 Flurl.Http 的微信 API 客户端,支持公众平台(订阅号、服务号、小程序、小游戏、小商店)、开放平台等平台,支持基础服务、模板消息、订阅消息、客服消息、动态消息、菜单管理、素材管理、留言管理、用户管理、账号管理、数据统计、微信门店、微信小店、智能接口、一物一码、微信发票、微信非税缴费、插件管理、附近的小程序、小程序码、小程序搜索、URL Scheme、URL Link、即时配送、物流助手、直播、生物认证、虚拟支付、开放数据、对局匹配、帧同步、内容安全、安全风控、第三方平台等功能。</Description>
|
||||||
<Authors>Fu Diwei</Authors>
|
<Authors>Fu Diwei</Authors>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net461; netstandard2.0</TargetFrameworks>
|
<TargetFrameworks>net461; netstandard2.0; net5.0</TargetFrameworks>
|
||||||
<LangVersion>8.0</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<NullableReferenceTypes>true</NullableReferenceTypes>
|
<NullableReferenceTypes>true</NullableReferenceTypes>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
||||||
<PackageTags>Flurl.Http Wechat Weixin MicroMessage Tenpay WechatPay WeixinPay Wxpay 微信 微信支付 微信商户</PackageTags>
|
<PackageTags>Flurl.Http Wechat Weixin MicroMessage Tenpay WechatPay WeixinPay Wxpay 微信 微信支付 微信商户</PackageTags>
|
||||||
<Version>1.4.0</Version>
|
<Version>1.4.1</Version>
|
||||||
<Description>Flurl.Http client for Wechat Tenpay API. 基于 Flurl.Http 的微信支付 API v3 版客户端,支持直连商户、服务商模式,支持基础支付、代金券、商家券、委托营销、消费卡、支付有礼、微信支付分、微信先享卡、支付即服务、点金计划、智慧商圈、电商收付通、消费者投诉等功能。</Description>
|
<Description>Flurl.Http client for Wechat Tenpay API. 基于 Flurl.Http 的微信支付 API v3 版客户端,支持直连商户、服务商模式,支持基础支付、代金券、商家券、委托营销、消费卡、支付有礼、微信支付分、微信先享卡、支付即服务、点金计划、智慧商圈、电商收付通、消费者投诉等功能。</Description>
|
||||||
<Authors>Fu Diwei</Authors>
|
<Authors>Fu Diwei</Authors>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net461; netstandard2.0</TargetFrameworks>
|
<TargetFrameworks>net461; netstandard2.0; net5.0</TargetFrameworks>
|
||||||
<LangVersion>8.0</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<NullableReferenceTypes>true</NullableReferenceTypes>
|
<NullableReferenceTypes>true</NullableReferenceTypes>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
||||||
<PackageTags>Flurl.Http Wechat Weixin MicroMessage WechatWork WeixinWork Wxwork 微信 企业微信 企业号 微信企业号</PackageTags>
|
<PackageTags>Flurl.Http Wechat Weixin MicroMessage WechatWork WeixinWork Wxwork 微信 企业微信 企业号 微信企业号</PackageTags>
|
||||||
<Version>1.2.0</Version>
|
<Version>1.2.1</Version>
|
||||||
<Description>Flurl.Http client for Wechat Work Open API. 基于 Flurl.Http 的企业微信 API 客户端,支持企业内部开发、第三方应用开发、智慧硬件开发模式,支持基础服务、通讯录管理、客户联系、身份验证、应用管理、素材管理、设备管理、消息推送、OA、效率工具、企业互联、电子发票、家校沟通、家校应用、政民沟通等功能。</Description>
|
<Description>Flurl.Http client for Wechat Work Open API. 基于 Flurl.Http 的企业微信 API 客户端,支持企业内部开发、第三方应用开发、智慧硬件开发模式,支持基础服务、通讯录管理、客户联系、身份验证、应用管理、素材管理、设备管理、消息推送、OA、效率工具、企业互联、电子发票、家校沟通、家校应用、政民沟通等功能。</Description>
|
||||||
<Authors>Fu Diwei</Authors>
|
<Authors>Fu Diwei</Authors>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net461; netstandard2.0</TargetFrameworks>
|
<TargetFrameworks>net461; netstandard2.0; net5.0</TargetFrameworks>
|
||||||
<LangVersion>8.0</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<NullableReferenceTypes>true</NullableReferenceTypes>
|
<NullableReferenceTypes>true</NullableReferenceTypes>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
||||||
<PackageTags>Flurl.Http Wechat Weixin MicroMessage 微信</PackageTags>
|
<PackageTags>Flurl.Http Wechat Weixin MicroMessage 微信</PackageTags>
|
||||||
<Version>1.0.2</Version>
|
<Version>1.0.3</Version>
|
||||||
<Description>The core of a Flurl.Http client for Wechat. SKIT.FlurlClient.Wechat(含 SKIT.FlurlHttpClient.Wechat.Api、SKIT.FlurlHttpClient.Wechat.TenpayV3、SKIT.FlurlHttpClient.Wechat.Work、SKIT.FlurlHttpClient.Wechat.Ads 等模块)的核心库,具体用法请参阅开发文档。</Description>
|
<Description>The core of a Flurl.Http client for Wechat. SKIT.FlurlClient.Wechat(含 SKIT.FlurlHttpClient.Wechat.Api、SKIT.FlurlHttpClient.Wechat.TenpayV3、SKIT.FlurlHttpClient.Wechat.Work、SKIT.FlurlHttpClient.Wechat.Ads 等模块)的核心库,具体用法请参阅开发文档。</Description>
|
||||||
<Authors>Fu Diwei</Authors>
|
<Authors>Fu Diwei</Authors>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
@@ -26,6 +26,7 @@
|
|||||||
<PackageReference Include="Flurl" Version="3.0.2" />
|
<PackageReference Include="Flurl" Version="3.0.2" />
|
||||||
<PackageReference Include="Flurl.Http" Version="3.2.0" />
|
<PackageReference Include="Flurl.Http" Version="3.2.0" />
|
||||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
||||||
|
<PackageReference Include="System.Text.Encodings.Web" Version="5.0.1" />
|
||||||
<PackageReference Include="System.Text.Json" Version="5.0.2" />
|
<PackageReference Include="System.Text.Json" Version="5.0.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
@@ -1,4 +1,11 @@
|
|||||||
{
|
{
|
||||||
"path": "page/index/index",
|
"path": "page/index/index",
|
||||||
"width": 430
|
"width": 430,
|
||||||
|
"auto_color": false,
|
||||||
|
"line_color": {
|
||||||
|
"r": 0,
|
||||||
|
"g": 0,
|
||||||
|
"b": 0
|
||||||
|
},
|
||||||
|
"is_hyaline": false
|
||||||
}
|
}
|
@@ -1,3 +1,12 @@
|
|||||||
{
|
{
|
||||||
"scene": "a=1"
|
"scene": "a=1",
|
||||||
|
"page": "page/index/index",
|
||||||
|
"width": 430,
|
||||||
|
"auto_color": false,
|
||||||
|
"line_color": {
|
||||||
|
"r": 0,
|
||||||
|
"g": 0,
|
||||||
|
"b": 0
|
||||||
|
},
|
||||||
|
"is_hyaline": false
|
||||||
}
|
}
|
Reference in New Issue
Block a user