mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(wxapi): 封装公众平台、开放平台接口
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 EVENT.LOCATION 事件的数据。</para>
|
||||
/// <para>REF: https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Receiving_event_pushes.html#%E4%B8%8A%E6%8A%A5%E5%9C%B0%E7%90%86%E4%BD%8D%E7%BD%AE%E4%BA%8B%E4%BB%B6 </para>
|
||||
/// </summary>
|
||||
public class LocationPushEvent : WechatApiEvent, WechatApiEvent.Types.IXmlSerializable
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置地理位置纬度。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("Latitude")]
|
||||
public double Latitude { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置地理位置经度。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("Longitude")]
|
||||
public double Longitude { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置地理位置精度。
|
||||
/// </summary>
|
||||
[System.Xml.Serialization.XmlElement("Precision")]
|
||||
public double Precision { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user