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, WeixinException
- Throws:
IOException
WeixinException
-
massByGroupId
public void massByGroupId() throws WeixinException
- Throws:
WeixinException
-
massByOpenIds
public void massByOpenIds() throws WeixinException
- Throws:
WeixinException
-
massArticleByGroup
public void massArticleByGroup() throws IOException, WeixinException
- Throws:
IOException
WeixinException
-
massArticleByOpenIds
public void massArticleByOpenIds() throws IOException, WeixinException
- Throws:
IOException
WeixinException
-
deleteMass
public void deleteMass() throws WeixinException
- Throws:
WeixinException
-
previewMass
public void previewMass() throws WeixinException
- Throws:
WeixinException
-
getMassNews
public void getMassNews() throws WeixinException
- Throws:
WeixinException
-
-