Package com.foxinmy.weixin4j.mp.test
Class MassTest
- java.lang.Object
-
- com.foxinmy.weixin4j.mp.test.TokenTest
-
- com.foxinmy.weixin4j.mp.test.MassTest
-
public class MassTest extends TokenTest
群发消息- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Field Summary
-
Fields inherited from class com.foxinmy.weixin4j.mp.test.TokenTest
tokenManager, weixinAccount
-
-
Constructor Summary
Constructors Constructor Description MassTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteMass()
void
getMassNews()
void
init()
void
massArticleByGroup()
void
massArticleByOpenIds()
void
massByGroupId()
void
massByOpenIds()
void
previewMass()
void
uploadArticle()
-
-
-
Method Detail
-
init
public void init()
-
uploadArticle
public void uploadArticle() throws IOException, com.foxinmy.weixin4j.exception.WeixinException
- Throws:
IOException
com.foxinmy.weixin4j.exception.WeixinException
-
massByGroupId
public void massByGroupId() throws com.foxinmy.weixin4j.exception.WeixinException
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
-
massByOpenIds
public void massByOpenIds() throws com.foxinmy.weixin4j.exception.WeixinException
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
-
massArticleByGroup
public void massArticleByGroup() throws IOException, com.foxinmy.weixin4j.exception.WeixinException
- Throws:
IOException
com.foxinmy.weixin4j.exception.WeixinException
-
massArticleByOpenIds
public void massArticleByOpenIds() throws IOException, com.foxinmy.weixin4j.exception.WeixinException
- Throws:
IOException
com.foxinmy.weixin4j.exception.WeixinException
-
deleteMass
public void deleteMass() throws com.foxinmy.weixin4j.exception.WeixinException
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
-
previewMass
public void previewMass() throws com.foxinmy.weixin4j.exception.WeixinException
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
-
getMassNews
public void getMassNews() throws com.foxinmy.weixin4j.exception.WeixinException
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
-
-