| | |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Text.Json.Serialization; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace ApiTools.Core |
| | |
| | | /// <summary> |
| | | /// 签名 |
| | | /// </summary> |
| | | [JsonProperty("signature")] |
| | | public string Signature { get; set; } |
| | | /// <summary> |
| | | /// 时间戳 |
| | | /// </summary> |
| | | [JsonProperty("timestamp")] |
| | | public string Timestamp { get; set; } |
| | | /// <summary> |
| | | /// 随机数 |
| | | /// </summary> |
| | | [JsonProperty("nonce")] |
| | | public string Nonce { get; set; } |
| | | /// <summary> |
| | | /// 随机字符串 |
| | | /// </summary> |
| | | [JsonProperty("echostr")] |
| | | public string Echostr { get; set; } |
| | | } |
| | | } |
| | |
| | | using ApiTools.Core; |
| | | using Furion.DataEncryption; |
| | | using Furion.DynamicApiController; |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Microsoft.Extensions.Options; |
| | | |
| | |
| | | private readonly IOptions<WxmpOptions> options = options; |
| | | |
| | | [HttpGet("subscribMessageNotify")] |
| | | [AllowAnonymous] |
| | | public IActionResult SubscribMessageNotify([FromQuery] WxmpSubscribMessageNotifyRequestQuery request) |
| | | { |
| | | var @params = new[] |
| | |
| | | } |
| | | ], |
| | | "SubscribMessage": { |
| | | "Url": "https://sms.81812333.com/api/common/wxmp/wxmpSubscribMessageNotify", |
| | | "Url": "http://118.178.252.28:8780/api/common/wxmp/subscribMessageNotify", |
| | | "Token": "8Uu6CZ9KM2CAr3Q3O0YdWUYPfcXFhgMK", |
| | | "EncodingAESKey": "tbBkUB7nCgZlfton3aKMlfzHSm7QdWgnpKFibl6sjn7" |
| | | }, |