|
|
|
@@ -0,0 +1,11 @@ |
|
|
|
package com.iformall.config; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.ControllerAdvice; |
|
|
|
import org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice; |
|
|
|
|
|
|
|
@ControllerAdvice |
|
|
|
public class JsonpAdvice extends AbstractJsonpResponseBodyAdvice { |
|
|
|
public JsonpAdvice() { |
|
|
|
super("callback"); |
|
|
|
} |
|
|
|
} |