记得上下班打卡 | git大法好,push需谨慎

Commit bac6ac29 authored by jiangxiulong's avatar jiangxiulong

sweet

parent 3cd6b98b
...@@ -8,6 +8,7 @@ import cn.binarywang.wx.miniapp.bean.WxMaUserInfo; ...@@ -8,6 +8,7 @@ import cn.binarywang.wx.miniapp.bean.WxMaUserInfo;
import cn.binarywang.wx.miniapp.config.WxMaConfig; import cn.binarywang.wx.miniapp.config.WxMaConfig;
import cn.binarywang.wx.miniapp.config.impl.WxMaDefaultConfigImpl; import cn.binarywang.wx.miniapp.config.impl.WxMaDefaultConfigImpl;
import com.liquidnet.service.base.ResponseDto; import com.liquidnet.service.base.ResponseDto;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -23,6 +24,7 @@ import java.util.Objects; ...@@ -23,6 +24,7 @@ import java.util.Objects;
* @author liquidnet * @author liquidnet
* @since 2021-07-27 * @since 2021-07-27
*/ */
@Slf4j
@Service @Service
public class SweetWechatLoginServiceImpl { public class SweetWechatLoginServiceImpl {
...@@ -92,6 +94,8 @@ public class SweetWechatLoginServiceImpl { ...@@ -92,6 +94,8 @@ public class SweetWechatLoginServiceImpl {
return ResponseDto.success(userInfo); return ResponseDto.success(userInfo);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
log.error(e.getMessage());
return ResponseDto.failure(); return ResponseDto.failure();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment