| | |
| | | if (StringUtil.isNullOrEmpty(method)) |
| | | return; |
| | | |
| | | if (method.equalsIgnoreCase("getConfig")) {// 获取用户编号 |
| | | if (method.equalsIgnoreCase("getConfig")) {// 获取配置信息 |
| | | configParser.getConfig(acceptData, request, out); |
| | | } |
| | | |
| | | out.close(); |
| | | } |
| | | |
| | | // 搜索类接口 |
| | | @RequestMapping(value = "/search/{method}", method = RequestMethod.POST) |
| | | public void search(AcceptData acceptData, @PathVariable String method, HttpServletRequest request, PrintWriter out) { |
| | | if (StringUtil.isNullOrEmpty(method)) |
| | | return; |
| | | |
| | | if (method.equalsIgnoreCase("getConfig")) {// 获取配置信息 |
| | | configParser.getConfig(acceptData, request, out); |
| | | } |
| | | |