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

完善第三方平台API-待商家管理小程序-小程序域名管理所有接口 #2698

Merged
merged 2 commits into from
Aug 20, 2022
Merged
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

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