|
@@ -19,11 +19,8 @@ import org.springframework.http.HttpEntity;
|
|
|
import org.springframework.http.HttpHeaders;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
@@ -40,6 +37,7 @@ import java.util.Map;
|
|
|
* @author zn
|
|
|
* @since 2022-12-15
|
|
|
*/
|
|
|
+@CrossOrigin
|
|
|
@RestController
|
|
|
@RequestMapping("/v1.0.0/overview")
|
|
|
public class OverviewController {
|