@RequestMapping(value = "/item", method = RequestMethod.POST)
    @ResponseBody
    public JsonObjectBase newItem(@Valid ConfNewItemForm confNewForm) {

        // 业务校验
        configValidator.validateNew(confNewForm, DisConfigTypeEnum.ITEM);

        //
        configMgr.newConfig(confNewForm, DisConfigTypeEnum.ITEM);

        return buildSuccess("创建成功");
    }
@ RequestMapping ( value = "/item" , method = RequestMethod . POST ) @ ResponseBody public JsonObjectBase newItem ( @ Valid ConfNewItemForm confNewForm ) { configValidator . validateNew ( confNewForm , DisConfigTypeEnum . ITEM ) ; configMgr . newConfig ( confNewForm , DisConfigTypeEnum . ITEM ) ; return buildSuccess ( "创建成功" ) ; }
配置项的新建

@param confNewForm

@return