浏览代码

Merge pull request #300 from jiguang/patch-1

add shortvideo type
dodge 8 年之前
父节点
当前提交
5698661515
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      wechat.class.php

+ 1 - 0
wechat.class.php

@@ -52,6 +52,7 @@ class Wechat
 	const MSGTYPE_NEWS = 'news';
 	const MSGTYPE_VOICE = 'voice';
 	const MSGTYPE_VIDEO = 'video';
+	const MSGTYPE_SHORTVIDEO = 'shortvideo';
 	const EVENT_SUBSCRIBE = 'subscribe';       //订阅
 	const EVENT_UNSUBSCRIBE = 'unsubscribe';   //取消订阅
 	const EVENT_SCAN = 'SCAN';                 //扫描带参数二维码