public class WxUserManager extends Object
Constructor and Description |
---|
WxUserManager(WxBaseService wxBaseService,
WxApiService wxApiService) |
Modifier and Type | Method and Description |
---|---|
WxUser |
getWxUser(String openId) |
WxUser |
getWxUserByWxWebUser(WxWebUser wxWebUser)
只针对未认证的情况
|
WxWebUser |
getWxWebUser(String code)
这里对code做缓存,会带来安全漏洞,其他人可以把自己的code发给别人
打开方打开后session中其实不是自己的,在上面的所有操作都不是自己的,做一些充值动作,其实是给别人充值。
|
public WxUserManager(WxBaseService wxBaseService, WxApiService wxApiService)
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.