Open shangmingzhen opened 4 years ago
hello, i use filp in my project, while, it seems that reqest does not going to flip AOP. here is my main step: first : add dependency
then use in controller @RequestMapping(value = "/getUserByNickName", produces = {"application/json;charset=UTF-8"}, method = RequestMethod.GET) @FlipOnEnvironmentProperty(property = "test.pure.newwork", expectedValue = "Y") public JSONObject getUserByNickName(String nickName){ JSONObject userInfo = userService.getUserByNickName(nickName); return userInfo; }
it is nice to hear your reply.
hello, i use filp in my project, while, it seems that reqest does not going to flip AOP. here is my main step: first : add dependency
then use in controller @RequestMapping(value = "/getUserByNickName", produces = {"application/json;charset=UTF-8"}, method = RequestMethod.GET) @FlipOnEnvironmentProperty(property = "test.pure.newwork", expectedValue = "Y") public JSONObject getUserByNickName(String nickName){ JSONObject userInfo = userService.getUserByNickName(nickName); return userInfo; }
it is nice to hear your reply.