package com.example.demo.starvcenter; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.TypeReference; import com.example.demo.config.BusinessException; import com.example.demo.starvcenter.vo.StarVcenterDataVO; import com.example.demo.starvcenter.vo.StarVcenterRequestResult; import com.example.demo.starvcenter.vo.StarVcenterTokenDto; import lombok.extern.slf4j.Slf4j; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Component; import org.springframework.util.base64Utils; import org.springframework.util.CollectionUtils; import org.springframework.util.linkedMultiValueMap; import org.springframework.util.MultiValueMap; import org.springframework.web.client.RestTemplate; import javax.annotation.Resource; import java.nio.charset.StandardCharsets; import java.u



