Skip to content

Commit

Permalink
Merge pull request #2698 from mojinxun/master
Browse files Browse the repository at this point in the history
完善第三方平台API-待商家管理小程序-小程序域名管理所有接口
  • Loading branch information
JeffreySu authored Aug 20, 2022
2 parents cb6a6aa + f98c6c3 commit 486b639
Show file tree
Hide file tree
Showing 13 changed files with 1,036 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 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) 2022 Senparc
文件名:GetEffectiveDomainResultJson.cs
文件功能描述:获取发布后生效服务器域名列表接口返回类型
创建标识:Yaofeng - 20220809
----------------------------------------------------------------*/

using Senparc.Weixin.Entities;
using System.Collections.Generic;

namespace Senparc.Weixin.Open.WxaAPIs.Domain
{
/// <summary>
/// 获取发布后生效服务器域名列表
/// </summary>
public class GetEffectiveDomainResultJson : WxJsonResult
{
public GetEffectiveDomainResultDomain mp_domain { get; set; }
public GetEffectiveDomainResultDomain third_domain { get; set; }
public GetEffectiveDomainResultDomain direct_domain { get; set; }
public GetEffectiveDomainResultDomain effective_domain { get; set; }
}

public class GetEffectiveDomainResultDomain
{
public List<string> requestdomain { get; set; }
public List<string> wsrequestdomain { get; set; }
public List<string> uploaddomain { get; set; }
public List<string> downloaddomain { get; set; }
public List<string> udpdomain { get; set; }
public List<string> tcpdomain { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 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) 2022 Senparc
文件名:GetEffectiveWebViewDomainResultJson.cs
文件功能描述:获取发布后生效业务域名列表接口返回类型
创建标识:Yaofeng - 20220809
----------------------------------------------------------------*/

using Senparc.Weixin.Entities;
using System.Collections.Generic;

namespace Senparc.Weixin.Open.WxaAPIs.Domain
{
/// <summary>
/// 获取发布后生效业务域名列表
/// </summary>
public class GetEffectiveWebViewDomainResultJson : WxJsonResult
{
public List<string> mp_webviewdomain { get; set; }
public List<string> third_webviewdomain { get; set; }
public List<string> direct_webviewdomain { get; set; }
public List<string> effective_webviewdomain { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 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) 2022 Senparc
文件名:GetPrefetchDNSDomainResultJson.cs
文件功能描述:获取DNS预解析域名 接口返回类型
创建标识:Yaofeng - 20220809
----------------------------------------------------------------*/

using Senparc.Weixin.Entities;
using System.Collections.Generic;

namespace Senparc.Weixin.Open.WxaAPIs.Domain
{
/// <summary>
/// 获取DNS预解析域名 接口返回类型
/// </summary>
public class GetPrefetchDNSDomainResultJson : WxJsonResult
{
/// <summary>
/// 预解析 dns 域名
/// </summary>
public List<SetPrefetchDNSDomainData> prefetch_dns_domain { get; set; }
/// <summary>
/// 总共可配置域名个数
/// </summary>
public int size_limit { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 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) 2022 Senparc
文件名:GetWebViewDomainConfirmFileResultJson.cs
文件功能描述:获取业务域名校验文件接口返回类型
创建标识:Yaofeng - 20220809
----------------------------------------------------------------*/

using Senparc.Weixin.Entities;

namespace Senparc.Weixin.Open.WxaAPIs.Domain
{
/// <summary>
/// 获取业务域名校验文件
/// </summary>
public class GetWebViewDomainConfirmFileResultJson : WxJsonResult
{
//以下字段仅在get时返回

public string file_name { get; set; }
public string file_content { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 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) 2022 Senparc
文件名:ModifyDomainDirectlyResultJson.cs
文件功能描述:快速配置小程序服务器域名接口返回类型
创建标识:Yaofeng - 20220809
----------------------------------------------------------------*/

using Senparc.Weixin.Entities;
using System.Collections.Generic;

namespace Senparc.Weixin.Open.WxaAPIs.Domain
{
/// <summary>
/// 快速配置小程序服务器域名接口返回类型
/// </summary>
public class ModifyDomainDirectlyResultJson : WxJsonResult
{
//以下字段仅在get时返回

public List<string> requestdomain { get; set; }
public List<string> wsrequestdomain { get; set; }
public List<string> uploaddomain { get; set; }
public List<string> downloaddomain { get; set; }
public List<string> udpdomain { get; set; }
public List<string> tcpdomain { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 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) 2022 Senparc
文件名:ModifyDomainResultJson.cs
文件功能描述:修改域名接口返回类型
创建标识:Yaofeng - 20220809
----------------------------------------------------------------*/

using Senparc.Weixin.Entities;
using System.Collections.Generic;

namespace Senparc.Weixin.Open.WxaAPIs.Domain
{
/// <summary>
/// 修改域名接口返回类型
/// </summary>
public class ModifyDomainResultJson : WxJsonResult
{
//以下字段仅在get时返回

public List<string> requestdomain { get; set; }
public List<string> wsrequestdomain { get; set; }
public List<string> uploaddomain { get; set; }
public List<string> downloaddomain { get; set; }
public List<string> udpdomain { get; set; }
public List<string> tcpdomain { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 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) 2022 Senparc
文件名:SetPrefetchDNSDomain.cs
文件功能描述:设置DNS预解析域名请求参数
创建标识:Yaofeng - 20220809
----------------------------------------------------------------*/

namespace Senparc.Weixin.Open.WxaAPIs.Domain
{
/// <summary>
/// 预览信息(小程序页面截图和操作录屏)
/// </summary>
public class SetPrefetchDNSDomainData
{
/// <summary>
///
/// </summary>
public string url { get; set; }

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

}
Loading

0 comments on commit 486b639

Please sign in to comment.