81,094
社区成员
发帖
与我相关
我的任务
分享
@ResponseBody
@RequestMapping(value = "/getDict", method = RequestMethod.POST)
public List<Map<String, String>> getDict(@RequestBody Map<String, String> param){
return dictionaryService.getDict(param);
}
$.ajax({
type:'POST',
url:path+"/dict/getDict.do",
contentType:'application/json',
data:JSON.stringify({type:'YN',table:'code_list'}),
success:function () {
}
})
$.post(path+"/dict/getDict.do",JSON.stringify({type:'YN',table:'code_list'}),function(data){
});
$.post(path+"/dict/getDict.do",JSON.stringify({type:'YN',table:'code_list'}),function(data){
},'json');