mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-25 00:37:20 +08:00
【优化】优化接口端新增加的几个controller的,增加httppost或者httpget的属性,防止swagger生成文档检测失败的情况。
This commit is contained in:
@@ -31,7 +31,7 @@ namespace CoreCms.Net.Web.Controllers.WeChat
|
||||
/// <summary>
|
||||
/// 微信公众号消息推送对接
|
||||
/// </summary>
|
||||
public class WeChatOffiaccountNotifyController : Controller
|
||||
public class WeChatOffiaccountNotifyController : ControllerBase
|
||||
{
|
||||
private readonly IWeChatApiHttpClientFactory _weChatApiHttpClientFactory;
|
||||
private readonly WeChatOptions _weChatOptions;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CoreCms.Net.Web.Controllers.WeChat
|
||||
/// <summary>
|
||||
/// 微信公众号用户授权事件
|
||||
/// </summary>
|
||||
public class WeChatOffiaccountOAuth2Controller : Controller
|
||||
public class WeChatOffiaccountOAuth2Controller : ControllerBase
|
||||
{
|
||||
//private readonly string _weChatAppId = AppSettingsConstVars.WeiXinAppId;
|
||||
//private readonly string _weChatSecret = AppSettingsConstVars.WeiXinAppSecret;
|
||||
@@ -48,6 +48,7 @@ namespace CoreCms.Net.Web.Controllers.WeChat
|
||||
/// <param name="state"></param>
|
||||
/// <param name="bkUrl"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public async Task<ActionResult> UserInfoCallback(string code, string state, string bkUrl)
|
||||
{
|
||||
if (string.IsNullOrEmpty(code))
|
||||
|
||||
Reference in New Issue
Block a user