文档
测试

消息列表

POST
http://pig.xinghaoruiye.com/wechat/news/index

请求参数

参数名
类型
描述
必填
userId
int
示例:5
必填
type
int
示例:1 //1未读,2已读
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
data
array
数据列表
必填
id
int
示例:1
必填
factory_id
int
示例:1
必填
title
string
示例:当月流产母猪>1%基础母猪总数
必填
content
string
示例:当月流产母猪>1%基础母猪总数
必填
type
int
示例:1//1,流产提醒,2采购申请,3检测申请,4维修申请,5批次转厂长,6母猪转重胎,7母猪转待配种,8请假申请,9任务,10保健/换料提醒,11未打疫苗提醒,12待产
必填
create_time
string
示例:2021-05-21 11:36:54
必填
update_time
string
示例:2021-05-21 11:37:00
必填
status
int
示例:1//1未读,2已读
必填
relation_id
int
示例: //type对应的id
必填