From 6aa75c2a266a2522ae713b13dc702b5ad0a08f87 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 24 十月 2023 13:50:23 +0800
Subject: [PATCH] 编码规则需求功能开发
---
model/request/serviceCollectionPlan.go | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/model/request/serviceCollectionPlan.go b/model/request/serviceCollectionPlan.go
index b8e4f35..b8e9639 100644
--- a/model/request/serviceCollectionPlan.go
+++ b/model/request/serviceCollectionPlan.go
@@ -1,11 +1,12 @@
package request
import (
+ "aps_crm/constvar"
"aps_crm/model"
)
type AddServiceCollectionPlan struct {
- List []*model.ServiceCollectionPlan
+ List []*model.ServiceCollectionPlan `json:"list" binding:"required"`
}
type UpdateServiceCollectionPlan struct {
@@ -14,5 +15,6 @@
}
type GetServiceCollectionPlanList struct {
- ServiceContractId int `gorm:"service_contract_id" form:"serviceContractId"` // 鏈嶅姟鍚堝悓id
+ SourceType constvar.CollectionSourceType `json:"sourceType" form:"sourceType" binding:"required"`
+ SourceId int `json:"sourceId" form:"sourceId" binding:"required"`
}
--
Gitblit v1.8.0