|
@@ -6,6 +6,7 @@ import cn.rankin.data.api.auth.vo.AuthResult;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
|
|
|
@Service
|
|
@Service
|
|
@Slf4j
|
|
@Slf4j
|
|
@@ -21,6 +22,7 @@ public class AuthService{
|
|
authDTO.setUserId(userId);
|
|
authDTO.setUserId(userId);
|
|
authDTO.setMerchantId(merchantId);
|
|
authDTO.setMerchantId(merchantId);
|
|
APIResult<AuthResult> apiResult = authClient.auth(authDTO);
|
|
APIResult<AuthResult> apiResult = authClient.auth(authDTO);
|
|
|
|
+ log.info("auth api result: {}", JSON.toJSONString(apiResult));
|
|
return apiResult;
|
|
return apiResult;
|
|
}
|
|
}
|
|
|
|
|