Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exce

没有写@ApiImplicitParam( paramType = “path” ) 会提示类型转换String convert to Integer错误

/**
     * 删除 修改状态  有效/无效
     *
     * @return
     */
    @ApiOperation("修改状态/删除")
    @ApiImplicitParam(name = "id", value = "频道id", required = true, paramType = "path", dataType = "Integer")
    public ResponseResult del(Integer id);