From 6befd5f2fe9779883993b87f2e686885c147bc34 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 20 三月 2024 14:43:20 +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