修改代码字符编码
This commit is contained in:
+4
-4
@@ -14,7 +14,7 @@ import com.fangjia.auto.service.AutocompleteService;
|
||||
import com.fangjia.core.util.DataUtil;
|
||||
|
||||
/**
|
||||
* 自动完成接口
|
||||
* 自动完成接口
|
||||
*
|
||||
* @author dxy
|
||||
* @deprecated instead of {@link AutocompleteController}
|
||||
@@ -22,7 +22,7 @@ import com.fangjia.core.util.DataUtil;
|
||||
*/
|
||||
public class AutoController {
|
||||
/**
|
||||
* 自动完成
|
||||
* 自动完成
|
||||
*
|
||||
* @deprecated
|
||||
* @param model
|
||||
@@ -40,7 +40,7 @@ public class AutoController {
|
||||
DataUtil.escapeSolr(model.getQ()), (model.getLimit() > 100 || model.getLimit() <= 0 ? 10 : model.getLimit()));
|
||||
|
||||
/**
|
||||
* 该方法以及过期,这个地方仅仅是为了兼容老版本
|
||||
* 该方法以及过期,这个地方仅仅是为了兼容老版本
|
||||
*/
|
||||
List<Map<String, Object>> suggestList = new ArrayList<Map<String, Object>>();
|
||||
for (Map<String, Object> obj : list) {
|
||||
@@ -63,7 +63,7 @@ public class AutoController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 输入纠错
|
||||
* 输入纠错
|
||||
*
|
||||
* @deprecated
|
||||
* @param model
|
||||
|
||||
+3
-3
@@ -9,7 +9,7 @@ import com.fangjia.auto.service.AutocompleteService;
|
||||
import com.fangjia.core.util.DataUtil;
|
||||
|
||||
/**
|
||||
* 新自动完成接口
|
||||
* 新自动完成接口
|
||||
*
|
||||
* @author dxy
|
||||
*
|
||||
@@ -17,7 +17,7 @@ import com.fangjia.core.util.DataUtil;
|
||||
public class AutocompleteController {
|
||||
|
||||
/**
|
||||
* 自动完成
|
||||
* 自动完成
|
||||
*
|
||||
* @param model
|
||||
* @return
|
||||
@@ -34,7 +34,7 @@ public class AutocompleteController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 输入纠错
|
||||
* 输入纠错
|
||||
*
|
||||
* @param model
|
||||
* @return
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.fangjia.auto.model;
|
||||
import org.sothis.web.mvc.ModelAndViewSupport;
|
||||
|
||||
/**
|
||||
* ÓÃÓÚrestAPIµÄModelAndView
|
||||
* 用于restAPI的ModelAndView
|
||||
*
|
||||
* @author velna
|
||||
*
|
||||
|
||||
+3
-3
@@ -79,13 +79,13 @@ public class AutocompleteService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 自动完成
|
||||
* 自动完成
|
||||
*
|
||||
* @param cat
|
||||
* @param city
|
||||
* @param keyword
|
||||
* @param limit
|
||||
* @param isDupl 默认不重复
|
||||
* @param isDupl 默认不重复
|
||||
* @return
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@@ -168,7 +168,7 @@ public class AutocompleteService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 输入纠错
|
||||
* 输入纠错
|
||||
*
|
||||
* @param cat
|
||||
* @param type
|
||||
|
||||
Reference in New Issue
Block a user