...
|
...
|
@@ -27,21 +27,21 @@ public class TestApiController { |
|
|
return testResult;
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/doUpdateProductIndexHeatValue")
|
|
|
@ResponseBody
|
|
|
public Map<String, Object> doUpdateProductIndexHeatValue() {
|
|
|
Map<String, Object> returnMap = new HashMap<String, Object>();
|
|
|
try {
|
|
|
returnMap.put("code", 200);
|
|
|
returnMap.put("message", "success");
|
|
|
productHeatValueJob.doUpdateProductIndexHeatValue();
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
returnMap.put("code", 400);
|
|
|
returnMap.put("message", e.getMessage());
|
|
|
}
|
|
|
return returnMap;
|
|
|
}
|
|
|
// @RequestMapping(value = "/doUpdateProductIndexHeatValue")
|
|
|
// @ResponseBody
|
|
|
// public Map<String, Object> doUpdateProductIndexHeatValue() {
|
|
|
// Map<String, Object> returnMap = new HashMap<String, Object>();
|
|
|
// try {
|
|
|
// returnMap.put("code", 200);
|
|
|
// returnMap.put("message", "success");
|
|
|
// productHeatValueJob.doUpdateProductIndexHeatValue();
|
|
|
// } catch (Exception e) {
|
|
|
// e.printStackTrace();
|
|
|
// returnMap.put("code", 400);
|
|
|
// returnMap.put("message", e.getMessage());
|
|
|
// }
|
|
|
// return returnMap;
|
|
|
// }
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/doCleanHeatValue")
|
...
|
...
|
|