-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2607 from mc7246/master
试用小程序接口及权限集更新
- Loading branch information
Showing
7 changed files
with
384 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
...eixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentJson/FastRegisterBetaWeAppResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#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 | ||
文件名:FastRegisterBetaWeAppResult.cs | ||
文件功能描述:创建试用小程序接口返回结果 | ||
创建标识: mc7246 - 20220329 | ||
----------------------------------------------------------------*/ | ||
|
||
using Senparc.Weixin.Entities; | ||
using System; | ||
|
||
namespace Senparc.Weixin.Open.ComponentAPIs | ||
{ | ||
/// <summary> | ||
/// 创建试用小程序接口返回结果 | ||
/// </summary> | ||
[Serializable] | ||
public class FastRegisterBetaWeAppResult : WxJsonResult | ||
{ | ||
/// <summary> | ||
/// 该请求的唯一标识符,用于关联微信用户和后面产生的appid | ||
/// </summary> | ||
public string unique_id { get; set; } | ||
|
||
/// <summary> | ||
/// 用户授权确认url,需将该url发送给用户,用户进入授权页面完成授权方可创建小程序 | ||
/// </summary> | ||
public string authorize_url { get; set; } | ||
|
||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
....Weixin.Open/Senparc.Weixin.Open/Entities/Request/RequestMessageFastRegisterBetaAppApp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/*---------------------------------------------------------------- | ||
Copyright (C) 2022 Senparc | ||
文件名:RequestMessageFastRegisterBetaAppApp.cs | ||
文件功能描述:创建试用小程序事件推送 | ||
创建标识:mc7246 - 20220329 | ||
----------------------------------------------------------------*/ | ||
|
||
using Senparc.NeuChar.Entities; | ||
using System; | ||
|
||
namespace Senparc.Weixin.Open | ||
{ | ||
/// <summary> | ||
/// 创建试用小程序事件推送 | ||
/// </summary> | ||
public class RequestMessageFastRegisterBetaAppApp : RequestMessageBase | ||
{ | ||
public override RequestInfoType InfoType | ||
{ | ||
get { return RequestInfoType.notify_third_fastregisterbetaapp; } | ||
} | ||
|
||
/// <summary> | ||
/// 创建小程序appid | ||
/// </summary> | ||
public string appid { get; set; } | ||
|
||
public ReturnCode status { get; set; } | ||
|
||
public string msg { get; set; } | ||
|
||
public ThirdFastRegisterBetaAppInfo info {get;set;} | ||
} | ||
|
||
public class ThirdFastRegisterBetaAppInfo | ||
{ | ||
/// <summary> | ||
/// 唯一标识符 | ||
/// </summary> | ||
public string unique_id { get; set; } | ||
|
||
/// <summary> | ||
/// 小程序名称 | ||
/// </summary> | ||
public string name { get; set; } | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...nparc.Weixin.Open/Senparc.Weixin.Open/Entities/Request/RequestMessageFastVerifyBetaApp.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/*---------------------------------------------------------------- | ||
Copyright (C) 2022 Senparc | ||
文件名:RequestMessageFastVerifyBetaApp.cs | ||
文件功能描述:试用小程序快速认证事件推送 | ||
创建标识:mc7246 - 20220329 | ||
----------------------------------------------------------------*/ | ||
|
||
using Senparc.NeuChar.Entities; | ||
using System; | ||
|
||
namespace Senparc.Weixin.Open | ||
{ | ||
/// <summary> | ||
/// 试用小程序快速认证事件推送 | ||
/// </summary> | ||
public class RequestMessageFastVerifyBetaApp : RequestMessageBase | ||
{ | ||
public override RequestInfoType InfoType | ||
{ | ||
get { return RequestInfoType.notify_third_fastverifybetaapp; } | ||
} | ||
|
||
/// <summary> | ||
/// 创建小程序appid | ||
/// </summary> | ||
public string appid { get; set; } | ||
|
||
public ReturnCode status { get; set; } | ||
|
||
public string msg { get; set; } | ||
|
||
/// <summary> | ||
/// 注册时提交的资料 | ||
/// </summary> | ||
public ThirdFasteRegisterInfo info {get;set;} | ||
} | ||
} |
Oops, something went wrong.