mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-12-03 03:44:06 +08:00
根据java命名规范重新命名字段
This commit is contained in:
@@ -38,7 +38,7 @@ wxService.setWxConfigStorage(config);
|
||||
|
||||
// 用户的openid在下面地址获得
|
||||
// https://mp.weixin.qq.com/debug/cgi-bin/apiinfo?t=index&type=用户管理&form=获取关注者列表接口%20/user/get
|
||||
String openid = ...;
|
||||
WxCustomMessage message = WxCustomMessage.TEXT().toUser(openid).content("Hello World").build();
|
||||
String openId = ...;
|
||||
WxCustomMessage message = WxCustomMessage.TEXT().toUser(openId).content("Hello World").build();
|
||||
wxService.customMessageSend(message);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user