-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91d484f
commit 37a009c
Showing
6 changed files
with
131 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...in-java-cp/src/main/java/me/chanjar/weixin/cp/bean/message/WxCpMessageSendStatistics.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package me.chanjar.weixin.cp.bean.message; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* 应用消息发送统计信息. | ||
* | ||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | ||
* @date 2020-09-13 | ||
*/ | ||
@Data | ||
public class WxCpMessageSendStatistics { | ||
public static WxCpMessageSendStatistics fromJson(String json) { | ||
return WxCpGsonBuilder.create().fromJson(json, WxCpMessageSendStatistics.class); | ||
} | ||
|
||
private List<StatisticItem> statistics; | ||
|
||
@Data | ||
public static class StatisticItem { | ||
/** | ||
* 应用名 | ||
*/ | ||
@SerializedName("app_name") | ||
private String appName; | ||
|
||
/** | ||
* 应用id | ||
*/ | ||
@SerializedName("agentid") | ||
private Integer agentId; | ||
|
||
/** | ||
* 发消息成功人次 | ||
*/ | ||
@SerializedName("count") | ||
private Integer count; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters