mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
style: 添加注释和移除空行
This commit is contained in:
parent
3db1d6fd42
commit
c499fb91da
@ -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] [更改人姓名][变更描述]
|
||||||
|
@ -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 {
|
||||||
|
@ -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);
|
||||||
|
@ -39,7 +39,6 @@ public class FeignConfig {
|
|||||||
*
|
*
|
||||||
* @return 拦截器
|
* @return 拦截器
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public RequestInterceptor requestInterceptor() {
|
public RequestInterceptor requestInterceptor() {
|
||||||
return (template) -> {
|
return (template) -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user