From 34ef7217a034599217a7fdd1e28e1ae6910e1b4b Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 11 十月 2023 20:15:21 +0800 Subject: [PATCH] 菜单获取编码规则 --- model/request/salesLeads.go | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) diff --git a/model/request/salesLeads.go b/model/request/salesLeads.go index b29c4fb..821be06 100644 --- a/model/request/salesLeads.go +++ b/model/request/salesLeads.go @@ -1,21 +1,26 @@ package request -import "aps_crm/constvar" +import ( + "aps_crm/constvar" + "aps_crm/proto/code" +) type AddSalesLeads struct { SalesLeads } type SalesLeads struct { - Name string `json:"name"` // 鍏徃鍚嶇О - Number string `json:"number"` // 閿�鍞嚎绱㈢紪鍙� - ContactName string `json:"contact_name"` // 鑱旂郴浜哄鍚� - ContactPhone string `json:"contact_phone"` // 鑱旂郴浜虹數璇� - ContactPosition string `json:"contact_position"` // 鑱旂郴浜鸿亴浣� - SalesSourcesId int `json:"sales_sources_id"` // 鍟嗘満鏉ユ簮ID - MemberId int `json:"member_id"` // 閿�鍞礋璐d汉ID - Desc string `json:"desc"` // 澶囨敞 - DetailAddress string `json:"detail_address"` // 璇︾粏鍦板潃 + Name string `json:"name"` // 鍏徃鍚嶇О + Number string `json:"number"` // 閿�鍞嚎绱㈢紪鍙� + ContactName string `json:"contact_name"` // 鑱旂郴浜哄鍚� + ContactPhone string `json:"contact_phone"` // 鑱旂郴浜虹數璇� + ContactPosition string `json:"contact_position"` // 鑱旂郴浜鸿亴浣� + SalesSourcesId int `json:"sales_sources_id"` // 鍟嗘満鏉ユ簮ID + MemberId int `json:"member_id"` // 閿�鍞礋璐d汉ID + Desc string `json:"desc"` // 澶囨敞 + DetailAddress string `json:"detail_address"` // 璇︾粏鍦板潃 + CodeStandID string `json:"codeStandID"` //缂栫爜id + CodeRule code.CodeStandard `json:"codeRule"` Address } -- Gitblit v1.8.0