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);

 

posted @ 2021-04-13 11:14  厚我  阅读(1666)  评论(0编辑  收藏  举报