添加项目文件。

This commit is contained in:
JianWeie
2021-12-20 21:27:32 +08:00
parent 747486f5cb
commit 82d825b7a5
3514 changed files with 887941 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/30 14:19:49
* Description: 暂无
***********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreCms.Net.WeChat.Service.Configuration
{
/// <summary>
/// 常见消息类型
/// </summary>
public static class EventType
{
#region
/// <summary>
/// 关注
/// </summary>
public const string Subscribe = "subscribe";
/// <summary>
/// 取消订阅
/// </summary>
public const string Unsubscribe = "unsubscribe";
/// <summary>
/// 上报地理位置事件
/// 用户同意上报地理位置后每次进入公众号会话时都会在进入时上报地理位置或在进入会话后每5秒上报一次地理位置公众号可以在公众平台网站中修改以上设置。上报地理位置时微信会将上报地理位置事件推送到开发者填写的URL。
/// </summary>
public const string Localtion = "LOCATION";
/// <summary>
/// 自定义菜单事件-用户点击自定义菜单后,微信会把点击事件推送给开发者,请注意,点击菜单弹出子菜单,不会产生上报。
/// </summary>
public const string Click = "CLICK";
#endregion
#region
#endregion
#region
#endregion
/// <summary>
/// 图片消息
/// </summary>
public const string Image = "image";
}
}

View File

@@ -0,0 +1,69 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/30 14:19:49
* Description: 暂无
***********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreCms.Net.WeChat.Service.Configuration
{
/// <summary>
/// 常用常量配置
/// </summary>
public static class RequestMsgType
{
// 各种消息类型,除了扫带二维码事件
/// <summary>
/// 文本消息
/// </summary>
public const string Text = "text";
/// <summary>
/// 图片消息
/// </summary>
public const string Image = "image";
/// <summary>
/// 语音消息
/// </summary>
public const string Voice = "voice";
/// <summary>
/// 视频消息
/// </summary>
public const string Video = "video";
/// <summary>
/// 小视频消息
/// </summary>
public const string ShortVideo = "shortvideo";
/// <summary>
/// 地理位置消息
/// </summary>
public const string Location = "location";
/// <summary>
/// 链接消息
/// </summary>
public const string Link = "link";
/// <summary>
/// 事件推送消息
/// </summary>
public const string MessageEvent = "event";
}
}