简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2022-02-24

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
page string 页码
pagesize string 条数
contract_id string 档案id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "plan_id": 21,
                "contract_id": 32,
                "title": "乙方交货",
                "type": "3",
                "price": "0.00",
                "date": "2021-07-23",
                "status": 2,
                "created_at": "2021-07-23 20:28:54",
                "is_push": 1,
                "performing_party": 2,
                "is_read": 2,
                "contract_name": "收款1000",
                "contract_price": "1000.00",
                "a_name": "深圳市天意科技有限公司",
                "b_name": "深圳市唯一科技有限公司",
                "recipient_a": [
                    {
                        "id": 27,
                        "company": "",
                        "username": "深圳市唯一科技有限公司",
                        "phone": "13123690001",
                        "email": "938446087@qq.com"
                    }
                ],
                "recipient_b": [
                    {
                        "id": 26,
                        "company": "",
                        "username": "深圳市天意科技有限公司",
                        "phone": "13123690000",
                        "email": "938446087@qq.com"
                    }
                ]
            }
        ],
        "page": 1,
        "pagesize": 1,
        "total": 9
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "key错误"
}

data返回参数说明:

参数名 类型 说明
plan_id string 条款id
contract_id string 档案id
title string 条款标题
type string 条款类型
price string 金额
date string 计划日期
status string 状态【0=待履约,1=全部履约,2=履约失败,3=部分履约】
created_at string 创建时间
is_push string 是否推送【1=推送,2=不推送】
performing_party string 履约方【1=甲方,2=乙方】
is_read string 是否已读【1=已读,2=未读,3=审核后未读,列表读取后更新为1】
contract_name string 档案名称
contract_price string 档案价格
a_name string 甲方名称
b_name string 乙方名称
recipient_a.id string 甲方id
recipient_a.company string 甲方公司
recipient_a.username string 甲方名称
recipient_a.phone string 甲方手机
recipient_a.email string 甲方邮箱
recipient_b.id string 乙方id
recipient_b.company string 乙方公司
recipient_b.username string 乙方名称
recipient_b.phone string 乙方手机
recipient_b.email string 乙方邮箱

other.dateArr返回参数说明:

参数名 类型 说明
w string 本周时间范围
m string 本月时间范围
q string 本季时间范围

备注:

文档更新时间: 2022-02-24 14:14   作者:admin