Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2883 #2882 #2892

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ public static UploadPrivacyExtFileResult UploadPrivacyExtFile(string componentAc
/// <returns></returns>
public static ModifyWxaServerDomainResult ModifyWxaServerDomain(string componentAccessToken, ModifyWxaServerDomain_Action action, string wxa_server_domain = null, bool? is_modify_published_together = null, int timeOut = Config.TIME_OUT)
{
var urlFormat = Config.ApiMpHost + "/cgi-bin/component/modify_wxa_jump_domain?access_token={0}";
var urlFormat = Config.ApiMpHost + "/cgi-bin/component/modify_wxa_server_domain?access_token={0}";
var data = new
{
action = action.ToString(),
Expand Down Expand Up @@ -1199,7 +1199,7 @@ public static async Task<UploadPrivacyExtFileResult> UploadPrivacyExtFileAsync(s
/// <returns></returns>
public static async Task<ModifyWxaServerDomainResult> ModifyWxaServerDomainAsync(string componentAccessToken, ModifyWxaServerDomain_Action action, string wxa_server_domain = null, bool? is_modify_published_together = null, int timeOut = Config.TIME_OUT)
{
var urlFormat = Config.ApiMpHost + "/cgi-bin/component/modify_wxa_jump_domain?access_token={0}";
var urlFormat = Config.ApiMpHost + "/cgi-bin/component/modify_wxa_server_domain?access_token={0}";
var data = new
{
action = action.ToString(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
修改描述:v4.5.4.1 GetAuditStatusResultJson 改名为 GetAuditResultJson,保持全局命名唯一性
----------------------------------------------------------------*/

using Senparc.NeuChar.Entities;
using System;

namespace Senparc.Weixin.Open
{
/// <summary>
Expand All @@ -35,12 +32,19 @@ public override RequestInfoType InfoType
/// </summary>
public string appid { get; set; }

/// <summary>
///
/// </summary>
public ReturnCode status { get; set; }

/// <summary>
/// 第三方授权码
/// </summary>
public string auth_code { get; set; }

/// <summary>
///
/// </summary>
public string msg { get; set; }

/// <summary>
Expand All @@ -49,35 +53,49 @@ public override RequestInfoType InfoType
public ThirdFasteRegisterInfo info {get;set;}
}

///// <summary>
///// 注册时提交的资料信息
///// </summary>
//public class info
//{
// /// <summary>
// /// 企业名称
// /// </summary>
// public string name { get; set; }
/// <summary>
/// 注册时提交的资料信息
/// </summary>
public class ThirdFasteRegisterInfo
{
/// <summary>
/// 企业小程序 - 企业名称
/// </summary>
public string name { get; set; }
/// <summary>
/// 企业小程序 - 企业代码
/// </summary>
public string code { get; set; }
/// <summary>
/// 企业小程序 - 企业代码类型
/// </summary>
public CodeType code_type { get; set; }
/// <summary>
/// 企业小程序 - 法人微信号
/// </summary>
public string legal_persona_wechat { get; set; }
/// <summary>
/// 企业小程序 - 法人姓名
/// </summary>
public string legal_persona_name { get; set; }

#region 公共
/// <summary>
/// 公共 - 第三方联系电话
/// </summary>
public string component_phone { get; set; }
#endregion


// /// <summary>
// /// 企业代码
// /// </summary>
// public string code { get; set; }
// /// <summary>
// /// 企业代码类型
// /// </summary>
// public CodeType code_type { get; set; }
// /// <summary>
// /// 法人微信号
// /// </summary>
// public string legal_persona_wechat { get; set; }
// /// <summary>
// /// 法人姓名
// /// </summary>
// public string legal_persona_name { get; set; }
// /// <summary>
// /// 第三方联系电话
// /// </summary>
// public string component_phone { get; set; }
//}
#region 个人
/// <summary>
/// 个人小程序 - 用户微信号
/// </summary>
public string wxuser { get; set; }
/// <summary>
/// 个人小程序 - 用户姓名
/// </summary>
public string idname { get; set; }
#endregion
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#region Apache License Version 2.0
/*----------------------------------------------------------------

Copyright 2023 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing permissions
and limitations under the License.

Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md

----------------------------------------------------------------*/
#endregion Apache License Version 2.0

/*----------------------------------------------------------------
Copyright (C) 2023 Senparc

文件名:SetPrefetchDNSDomain.cs
文件功能描述:设置DNS预解析域名请求参数


创建标识:Yaofeng - 20220809


----------------------------------------------------------------*/

namespace Senparc.Weixin.Open.WxaAPIs.Domain
{
/// <summary>
/// 获取DNS预解析域名
/// </summary>
public class GetPrefetchDNSDomainData
{
/// <summary>
///
/// </summary>
public string url { get; set; }

/// <summary>
///
/// </summary>
public int status { get; set; }
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public class GetPrefetchDNSDomainResultJson : WxJsonResult
/// <summary>
/// 预解析 dns 域名
/// </summary>
public List<SetPrefetchDNSDomainData> prefetch_dns_domain { get; set; }
public List<GetPrefetchDNSDomainData> prefetch_dns_domain { get; set; }

/// <summary>
/// 总共可配置域名个数
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ public class SetPrefetchDNSDomainData
///
/// </summary>
public string url { get; set; }

/// <summary>
///
/// </summary>
public int status { get; set; }
}

}