@RequestMapping(value = "/friendlink_list/province_list", produces = {"application/json;charset=UTF-8"}, method = RequestMethod.GET) @ResponseBody public String province_list(HttpServletRequest request, HttpServletResponse response) throws IOException { FriendLinkService fls = new FriendLinkService(); String[] plist = fls.getPlist(); String pl = JSONObject.toJSONString(plist); return pl; }
fastjson string[]转 json字符串
猜你喜欢
转载自www.cnblogs.com/jnhs/p/10178607.html
今日推荐
周排行