Skip to content

Commit

Permalink
Merge pull request #2715 from JeffreySu/Developer
Browse files Browse the repository at this point in the history
Developer
  • Loading branch information
JeffreySu authored Sep 18, 2022
2 parents 0045390 + 9e59c5b commit 9385c73
Show file tree
Hide file tree
Showing 15 changed files with 1,061 additions and 40 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>4.14.9</Version>
<Version>4.14.10</Version>
<AssemblyName>Senparc.Weixin.Open</AssemblyName>
<RootNamespace>Senparc.Weixin.Open</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
Expand Down Expand Up @@ -205,6 +205,7 @@
设置DNS预解析域名
修改:
设置其他的两个 API 为 Obsolete
v4.14.10 “小程序版本回退”接口更新返回参数内容
</PackageReleaseNotes>
<RepositoryUrl>https://github.com/JeffreySu/WeiXinMPSDK</RepositoryUrl>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ public static CodeResultJson ChangeVisitStatus(string accessToken, ChangVisitSta
}
/// <summary>
/// 小程序版本回退(仅供第三方代小程序调用)
/// <para>文档:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/get_history_version.html</para>
/// </summary>
/// <param name="accessToken">从第三方平台获取到的该小程序授权</param>
/// <param name="timeOut"></param>
Expand Down Expand Up @@ -601,6 +602,8 @@ public static async Task<CodeResultJson> ChangeVisitStatusAsync(string accessTok
}
/// <summary>
/// 小程序版本回退(仅供第三方代小程序调用)
/// <para>文档:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/get_history_version.html</para>
/// <para>文档:</para>
/// </summary>
/// <param name="accessToken">从第三方平台获取到的该小程序授权</param>
/// <param name="timeOut"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ and limitations under the License.
创建标识:Senparc - 20170726
修改标识:Senparc - 20220918
修改描述:v4.14.10 “小程序版本回退”接口更新返回参数内容
----------------------------------------------------------------*/


Expand All @@ -42,5 +43,30 @@ namespace Senparc.Weixin.Open.WxaAPIs
{
public class CodeResultJson : WxJsonResult
{
/// <summary>
/// 模板信息列表
/// </summary>
public Version_List[] version_list { get; set; }
}

public class Version_List
{
/// <summary>
/// 更新时间,时间戳
/// </summary>
public long commit_time { get; set; }
/// <summary>
/// 模板版本号,开发者自定义字段
/// </summary>
public string user_version { get; set; }
/// <summary>
/// 模板描述,开发者自定义字段
/// </summary>
public string user_desc { get; set; }
/// <summary>
/// 小程序版本
/// </summary>
public int app_version { get; set; }
}

}
Loading

0 comments on commit 9385c73

Please sign in to comment.