File tree Expand file tree Collapse file tree
weixin-java-common/src/main/java/me/chanjar/weixin/common/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,19 +136,23 @@ public class WxConsts {
136136 public static final String MEDIA_VIDEO = "video" ;
137137 public static final String MEDIA_THUMB = "thumb" ;
138138 public static final String MEDIA_FILE = "file" ;
139- /**
140- * 点击推事件
141- */
142- public static final String BUTTON_CLICK = "click" ;
143139
144140
145141 ///////////////////////
146142 // 自定义菜单的按钮类型
147143 ///////////////////////
144+ /**
145+ * 点击推事件
146+ */
147+ public static final String BUTTON_CLICK = "click" ;
148148 /**
149149 * 跳转URL
150150 */
151151 public static final String BUTTON_VIEW = "view" ;
152+ /**
153+ * 跳转到小程序
154+ */
155+ public static final String BUTTON_MINIPROGRAM = "miniprogram" ;
152156 /**
153157 * 扫码推事件
154158 */
@@ -181,6 +185,7 @@ public class WxConsts {
181185 * 跳转图文消息URL
182186 */
183187 public static final String BUTTON_VIEW_LIMITED = "view_limited" ;
188+
184189 /**
185190 * 不弹出授权页面,直接跳转,只能获取用户openid
186191 */
You can’t perform that action at this time.
0 commit comments