|
@@ -8,6 +8,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.CrossOrigin;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -24,6 +25,7 @@ import java.util.List;
|
|
|
@Slf4j
|
|
|
@Api(value = "恩泽服务接口")
|
|
|
@RestController
|
|
|
+@CrossOrigin(origins = "*",maxAge = 3600)
|
|
|
@RequestMapping(value = "ez")
|
|
|
public class EzController {
|
|
|
|