mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 20:54:26 +08:00
style: 添加注释和移除空行
This commit is contained in:
parent
3db1d6fd42
commit
c499fb91da
@ -13,6 +13,7 @@ import java.util.Set;
|
||||
/**
|
||||
* 描述: [类型描述]
|
||||
* 创建时间: 2021-06-08
|
||||
*
|
||||
* @author hxr
|
||||
* @version 1.0.0
|
||||
* @update [序号][日期YYYY-MM-DD] [更改人姓名][变更描述]
|
||||
|
@ -7,8 +7,6 @@ import lombok.Data;
|
||||
* 创建时间: 2021/6/8
|
||||
*
|
||||
* @author hxr
|
||||
* @version 1.0.0
|
||||
* @update [序号][日期YYYY-MM-DD] [更改人姓名][变更描述]
|
||||
*/
|
||||
@Data
|
||||
public class UserInfo {
|
||||
|
@ -40,6 +40,7 @@ public class WechatAuthServiceImpl implements IAuthService {
|
||||
@SneakyThrows
|
||||
@Override
|
||||
public OAuthToken login(String code, UserInfo userInfo) {
|
||||
// 微信小程序的授权code获取openid
|
||||
WxMaJscode2SessionResult sessionInfo = wxMaService.getUserService().getSessionInfo(code);
|
||||
String openid = sessionInfo.getOpenid();
|
||||
Result<UmsMember> result = memberFeignClient.getByOpenid(openid);
|
||||
|
@ -39,7 +39,6 @@ public class FeignConfig {
|
||||
*
|
||||
* @return 拦截器
|
||||
*/
|
||||
|
||||
@Bean
|
||||
public RequestInterceptor requestInterceptor() {
|
||||
return (template) -> {
|
||||
|
Loading…
Reference in New Issue
Block a user