From 9a7e0a7da01a9f9625ceaca0c61a59c540c6438f Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期五, 18 八月 2023 17:32:10 +0800 Subject: [PATCH] fix --- model/request/collectionProjection.go | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/model/request/collectionProjection.go b/model/request/collectionProjection.go index e5f1202..5472cb0 100644 --- a/model/request/collectionProjection.go +++ b/model/request/collectionProjection.go @@ -2,10 +2,20 @@ type AddCollectionProjection struct { CollectionProjection + SaleChanceId int `json:"sale_chance_id"` // 閿�鍞満浼歩d } type CollectionProjection struct { EstimatedCollectionAmount float64 `json:"estimated_collection_amount"` // 棰勮鏀舵閲戦 EstimatedCollectionTime string `json:"estimated_collection_time"` // 棰勮鏀舵鏃堕棿 - SaleChanceId int `json:"sale_chance_id"` // 閿�鍞満浼歩d +} + +type UpdateCollectionProjection struct { + Id int `json:"id"` + CollectionProjection +} + +type GetCollectionProjectionList struct { + PageInfo + SearchMap map[string]interface{} // 鎼滅储鏉′欢: map[string]interface{}{"name": "xxx"}; {"sale_chance_id": 閿�鍞満浼歩d} } -- Gitblit v1.8.0