Commit 8650d0f9 authored by luyuan's avatar luyuan

update cros

parent bb701222
......@@ -13,7 +13,6 @@ import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
@CrossOrigin
public @interface Java110Cmd {
@AliasFor("name")
String value() default "";
......
......@@ -18,6 +18,7 @@ import com.java110.vo.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.client.RestTemplate;
import javax.servlet.http.HttpServletRequest;
......@@ -28,6 +29,8 @@ import java.util.*;
* 或公用逻辑处理
* Created by wuxw on 2017/2/23.
*/
@CrossOrigin
public class BaseController extends AppBase {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment