简要描述:

  • 接口版本:

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

请求URL:

请求方式:

  • GET

请求头:

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

请求参数:

参数名 是否必须 类型 说明
page string 页码
pagesize string 条数
contract_name string 档案名称
username string 名称
phone string 手机号
status string 状态【1=待审核,2=处理完成,3=审核失败,4=待处理 , 5=已撤回,6=履约中】
min_price string 最小价格
max_price string 最大价格
date string 日期范围,例如2022-01-01 - 2022-03-31

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "contract_id": 50,
                "label_name": "服务,交货,应收",
                "money_flow": "应收",
                "contract_name": "提交档案00",
                "contract_price": "1000.00",
                "operator_information_name": "王一",
                "operator_information_phone": "14113690001",
                "contacts_name": "王二",
                "contacts_phone": "14113690002",
                "status": 3,
                "created_at": "2022-02-23 17:36:45",
                "word_file": "http://yht.com/uploads/contract/2021-06-04/60b9d05fb4e4e.doc",
                "add_user": {
                    "uid": 8,
                    "username": "131****00015921",
                    "nickname": "131****0001"
                },
                "belong_user": {
                    "uid": 8,
                    "username": "131****00015921",
                    "nickname": "131****0001"
                },
                "contacts_deal_type_msg": "归档 | 履约"
            }
        ],
        "page": 1,
        "pagesize": 10,
        "total": 1
    },
    "other": {
        "dateArr": {
            "w": "2022-02-21_2022-02-27",
            "m": "2022-02-01_2022-02-28",
            "q": "2022-01-01_2022-03-31"
        }
    }
}

错误时返回:

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

data返回参数说明:

参数名 类型 说明
contract_id string id
label_name string 标签名称
money_flow string 资金流向
contract_name string 档案名称
contract_price string 价格
operator_information_name string 甲方姓名
operator_information_phone string 甲方手机号
contacts_name string 乙方姓名
contacts_phone string 乙方手机号
status string 审核状态【1=处理完成,2=审核失败,3=待处理 , 4=已撤回,5=履约中】
created_at string 创建时间
word_file string 备注
add_user.uid string 上传者uid
add_user.nickname string 上传者昵称
belong_user.uid string 归属者uid
belong_user.nickname string 归属者昵称
contacts_deal_type_msg string 档案处理类型

other.dateArr返回参数说明:

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

备注:

文档更新时间: 2022-04-25 14:41   作者:admin