style: 添加注释和移除空行

This commit is contained in:
有来技术 2021-08-15 01:18:51 +08:00
parent 3db1d6fd42
commit c499fb91da
4 changed files with 2 additions and 3 deletions

View File

@ -13,6 +13,7 @@ import java.util.Set;
/** /**
* 描述: [类型描述] * 描述: [类型描述]
* 创建时间: 2021-06-08 * 创建时间: 2021-06-08
*
* @author hxr * @author hxr
* @version 1.0.0 * @version 1.0.0
* @update [序号][日期YYYY-MM-DD] [更改人姓名][变更描述] * @update [序号][日期YYYY-MM-DD] [更改人姓名][变更描述]

View File

@ -7,8 +7,6 @@ import lombok.Data;
* 创建时间: 2021/6/8 * 创建时间: 2021/6/8
* *
* @author hxr * @author hxr
* @version 1.0.0
* @update [序号][日期YYYY-MM-DD] [更改人姓名][变更描述]
*/ */
@Data @Data
public class UserInfo { public class UserInfo {

View File

@ -40,6 +40,7 @@ public class WechatAuthServiceImpl implements IAuthService {
@SneakyThrows @SneakyThrows
@Override @Override
public OAuthToken login(String code, UserInfo userInfo) { public OAuthToken login(String code, UserInfo userInfo) {
// 微信小程序的授权code获取openid
WxMaJscode2SessionResult sessionInfo = wxMaService.getUserService().getSessionInfo(code); WxMaJscode2SessionResult sessionInfo = wxMaService.getUserService().getSessionInfo(code);
String openid = sessionInfo.getOpenid(); String openid = sessionInfo.getOpenid();
Result<UmsMember> result = memberFeignClient.getByOpenid(openid); Result<UmsMember> result = memberFeignClient.getByOpenid(openid);

View File

@ -39,7 +39,6 @@ public class FeignConfig {
* *
* @return 拦截器 * @return 拦截器
*/ */
@Bean @Bean
public RequestInterceptor requestInterceptor() { public RequestInterceptor requestInterceptor() {
return (template) -> { return (template) -> {