|
|
@@ -24,10 +24,14 @@ public class ERPController {
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value="/erp/testConnect")
|
|
|
- public String testConnect() {
|
|
|
- return "test";
|
|
|
+ @ResponseBody
|
|
|
+ public Map<String, Object> testConnect() {
|
|
|
+ Map<String, Object> modelMap = new HashMap<String, Object>();
|
|
|
+ modelMap.put("test","123");
|
|
|
+ return modelMap;
|
|
|
}
|
|
|
@RequestMapping(value="/erp/testParam")
|
|
|
+ @ResponseBody
|
|
|
public Map<String, Object> testParam(String master, Integer id, String action){
|
|
|
Map<String, Object> modelMap = new HashMap<String, Object>();
|
|
|
modelMap.put("master",master);
|