From f2c7c7aa3218cd5ef688975ea9b5a0f3a6e5e74f Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期四, 10 八月 2023 16:38:41 +0800 Subject: [PATCH] temp --- docs/swagger.yaml | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 53 insertions(+), 1 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 058fde4..fb0cc54 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -670,6 +670,10 @@ principalId: description: 閿�鍞礋璐d汉id type: integer + products: + items: + $ref: '#/definitions/model.Product' + type: array sourceId: description: 婧愬崟id type: integer @@ -832,7 +836,7 @@ model.Product: properties: amount: - type: integer + type: number desc: type: string id: @@ -1281,6 +1285,11 @@ amountReceived: description: 宸叉敹閲戦 type: number + amountUnInvoiced: + description: 鏈紑绁ㄩ噾棰� + type: number + client: + $ref: '#/definitions/model.Client' clientId: type: integer contactId: @@ -1744,6 +1753,18 @@ required: - name type: object + request.AddCollectionProjection: + properties: + estimated_collection_amount: + description: 棰勮鏀舵閲戦 + type: number + estimated_collection_time: + description: 棰勮鏀舵鏃堕棿 + type: string + sale_chance_id: + description: 閿�鍞満浼歩d + type: integer + type: object request.AddContact: properties: birthday: @@ -1916,6 +1937,11 @@ principalId: description: 閿�鍞礋璐d汉id type: integer + products: + description: 鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙� + items: + $ref: '#/definitions/model.Product' + type: array sourceId: description: 婧愬崟id type: integer @@ -3711,6 +3737,11 @@ principalId: description: 閿�鍞礋璐d汉id type: integer + products: + description: 鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙� + items: + $ref: '#/definitions/model.Product' + type: array sourceId: description: 婧愬崟id type: integer @@ -3723,6 +3754,8 @@ taxpayerIdNumber: description: 绾崇◣璇嗗埆鍙� type: string + required: + - id type: object request.UpdateInvoiceStatus: properties: @@ -6067,6 +6100,25 @@ summary: 鏇存柊瀹㈡埛绫诲瀷 tags: - ClientType + /api/collectionProjection/add: + post: + parameters: + - description: 鏌ヨ鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.AddCollectionProjection' + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/contextx.Response' + summary: 娣诲姞鏀舵棰勬祴 + tags: + - CollectionProjection /api/contact/add: post: parameters: -- Gitblit v1.8.0