MarkDown 测试页面
2016-10-11 本文已影响38人
andy0898
package com.Master.VTAS.controller;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.Master.VTAS.service.traficdatadict.TraficDataDictService;
import com.Master.VTAS.vo.DataDictParams;
@Controller
public class DataDictController {
@Autowired
private TraficDataDictService traficDataDictService;
@RequestMapping("datadict/traffic")
@ResponseBody
public Map<String,String> getTrafficDatadictByType(DataDictParams params){
return traficDataDictService.getTraficDataDictByType(params);
}
}