C:\Users\v_jianjpeng>curl "http://www.pengjiandry.com:7080/api/v1/get/articles?page=1&pageSize=10&type=doing&keyword=&startDate=&endDate=" | json
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3495 100 3495 0 0 3495 0 0:00:01 --:--:-- 0:00:01 44807
{
"data": {
"total": 1,
"pageSize": "10",
"page": "1",
"data": [
{
"_id": "5e5bbb19915c07ce2efc772c",
"title": "centos7 安装使用 redis",
"tag": [
"Redis",
"Centos7"
],
"state": "doing",
"content": "https://zhuanlan.zhihu.com/p/34527270\n```\nsudo yum -y install redis\n```\n\n```\nsudo systemctl start redis\n```\n\n```\nsudo systemctl restart redis\n```\n\n```\nvi /etc/redis.conf\n\n# bind 127.0.0.1\nrequirepass password\n```\n\n```\nsystemctl start redis.service #启动redis服务器\n\nsystemctl stop redis.service #停止redis服务器\n\nsystemctl restart redis.service #重新启动redis服务器\n\nsystemctl status redis.service #获取redis服务器的运行状态\n\nsystemctl enable redis.service #开机启动redis服务器\n\nsystemctl disable redis.service #开机禁用redis服务器\n```\n\n```\nsystemctl restart redis.service\n```",
"createTime": "2020-03-02 15:06:19",
"updateTime": "2020-03-02 15:17:04",
"history": [
{
"_id": "5e5bbb19915c07ce2efc772c",
"title": "centos 7 安装使用 redis",
"tag": [
"Mac"
],
"content": "https://zhuanlan.zhihu.com/p/34527270\n```\nsudo yum -y install redis\n```\n\n```\nsudo systemctl start redis\n```\n\n```\nsudo systemctl restart redis\n```\n\n```\nvi /etc/redis.conf\n\n# bind 127.0.0.1\nrequirepass password\n```\n\n```\nsystemctl start redis.service #启动redis服务器\n\nsystemctl stop redis.service #停止redis服务器\n\nsystemctl restart redis.service #重新启动redis服务器\n\nsystemctl status redis.service #获取redis服务器的运行状态\n\nsystemctl enable redis.service #开机启动redis服务器\n\nsystemctl disable redis.service #开机禁用redis服务器\n```\n\n```\nsystemctl restart redis.service\n```",
"createTime": "2020-03-01 21:39:37",
"updateTime": "2020-03-01 21:39:37"
},
{
"_id": "5e5bbb19915c07ce2efc772c",
"title": "centos 7 安装使用 redis",
"tag": [
"Redis"
],
"content": "https://zhuanlan.zhihu.com/p/34527270\n```\nsudo yum -y install redis\n```\n\n```\nsudo systemctl start redis\n```\n\n```\nsudo systemctl restart redis\n```\n\n```\nvi /etc/redis.conf\n\n# bind 127.0.0.1\nrequirepass password\n```\n\n```\nsystemctl start redis.service #启动redis服务器\n\nsystemctl stop redis.service #停止redis服务器\n\nsystemctl restart redis.service #重新启动redis服务器\n\nsystemctl status redis.service #获取redis服务器的运行状态\n\nsystemctl enable redis.service #开机启动redis服务器\n\nsystemctl disable redis.service #开机禁用redis服务器\n```\n\n```\nsystemctl restart redis.service\n```",
"createTime": "2020-03-02 15:06:19",
"updateTime": "2020-03-02 15:06:19",
"version": 1
},
{
"_id": "5e5bbb19915c07ce2efc772c",
"title": "centos 7 安装使用 redis",
"tag": [
"Redis",
"Centos7"
],
"content": "https://zhuanlan.zhihu.com/p/34527270\n```\nsudo yum -y install redis\n```\n\n```\nsudo systemctl start redis\n```\n\n```\nsudo systemctl restart redis\n```\n\n```\nvi /etc/redis.conf\n\n# bind 127.0.0.1\nrequirepass password\n```\n\n```\nsystemctl start redis.service #启动redis服务器\n\nsystemctl stop redis.service #停止redis服务器\n\nsystemctl restart redis.service #重新启动redis服务器\n\nsystemctl status redis.service #获取redis服务器的运行状态\n\nsystemctl enable redis.service #开机启动redis服务器\n\nsystemctl disable redis.service #开机禁用redis服务器\n```\n\n```\nsystemctl restart redis.service\n```",
"createTime": "2020-03-02 15:06:19",
"updateTime": "2020-03-02 15:13:28",
"version": "2"
}
],
"version": 3
}
],
"keyword": "",
"type": "doing",
"startDate": "",
"endDate": ""
}
}