文档
测试

获取项目合同列表

GET
https://test.52miaosuan.com:8090/miaosuan/finance/project/contract/list

接口描述

获取项目合同列表

请求头

参数名
类型
描述
必填
user_id
int
用户编号
必填

请求参数

参数名
类型
描述
必填
project_id
int
项目ID
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:成功
必填
data
array
数据列表
必填
id
int
合同ID
必填
company_id
int
合同所属公司ID
必填
finance_project_id
int
合同所属项目ID
必填
contract_name
string
合同名称
必填
contract_amount
float
合同金额
必填
paid_period
int
合同期数
必填
already_paid_period
object
已付期数
必填
amount_way
int
合同收款方式:按比率、按金额
必填
first_num
int
第一期金额
必填
second_num
int
第一期金额
必填
third_num
float
第一期金额
必填
fourth_num
int
第一期金额
必填
related_files
array
关联的附件列表
必填
file_name
string
文件名
必填
file_url
string
文件链接
必填
file_id
int
文件编号
必填
description
string
合同备注
必填

说明 / 示例

返回响应: ```json { "code": 0, "msg": "成功", "data": [ { "id": 1, "company_id": 10, "finance_project_id": 1, "contract_name": "ceshi12", "contract_amount": 300.80, "description": "合同备注", "paid_period": 3, "already_paid_period": null, "amount_way": 1, "first_num": 100.00, "second_num": 40.00, "third_num": 20.80, "fourth_num": 40.00, "related_files": [ { "file_name": "test.png", "file_url": "http://xxxx", "file_id: 1 } ] } ] } ```