文档
测试

getArticleCountByTitle((得到通过title模糊查询到的对象数量))

GET
http://localhost:8081/article/getArticleCountByTitle

接口描述

模糊查询,查出文章数量

请求参数

参数名
类型
描述
必填
title
string
示例:by
可选

响应参数

参数名
类型
描述
必填
RespBean
自定义类
必填

说明 / 示例

if (result != 0) { return new RespBean("success", "共有"+result+"篇文章"); } else { return new RespBean("error", "无文章或查询失败!"); }