1
0
mirror of synced 2025-12-23 02:18:07 +08:00

issue #3 获取用户基本信息

This commit is contained in:
Daniel Qian
2014-08-26 12:37:38 +08:00
parent e03bb0dfb8
commit 4c8c42475e
6 changed files with 181 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ import chanjarster.weixin.bean.WxMenu;
import chanjarster.weixin.bean.result.WxMassSendResult;
import chanjarster.weixin.bean.result.WxMassUploadResult;
import chanjarster.weixin.bean.result.WxMediaUploadResult;
import chanjarster.weixin.bean.result.WxUser;
import chanjarster.weixin.exception.WxErrorException;
/**
@@ -238,7 +239,6 @@ public interface WxService {
* <pre>
* 设置用户备注名接口
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=设置用户备注名接口
*
* </pre>
* @param openid 用户openid
* @param remark 备注名
@@ -246,6 +246,18 @@ public interface WxService {
*/
public void userUpdateRemark(String openid, String remark) throws WxErrorException;
/**
* <pre>
* 获取用户基本信息
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=获取用户基本信息
* </pre>
* @param openid 用户openid
* @param lang 语言zh_CN 简体(默认)zh_TW 繁体en 英语
* @return
* @throws WxErrorException
*/
public WxUser userInfo(String openid, String lang) throws WxErrorException;
/**
* 注入 {@link WxConfigStorage} 的实现
* @param wxConfigProvider