spring jsonp实现
@ControllerAdvice(basePackages = {"com.meizu.test.jsonp"})
public class JsonpAdvice extends AbstractJsonpResponseBodyAdvice {
public JsonpAdvice() {
super("callback");
}
}
spring jsonp实现
@ControllerAdvice(basePackages = {"com.meizu.test.jsonp"})
public class JsonpAdvice extends AbstractJsonpResponseBodyAdvice {
public JsonpAdvice() {
super("callback");
}
}