*/
@RequestMapping(params = "save")
@ResponseBody
public AjaxJson save(TSConfig tsConfig,HttpServletRequest request) {
if (StringUtil.isEmpty(tsConfig.getId())) {
TSConfig tsConfig2=systemService.findUniqueByProperty(TSConfig.class, "code", tsConfig.getCode());
if(tsConfig2!=null){
message = "编码为: " + tsConfig.getCode() + "的配置信息已存在";
}else{
tsConfig.setTSUser(ResourceUtil.getSessionUserName());
systemService.save(tsConfig);