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/contact.go |   34 +++++++++++++++++++---------------
 1 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/model/request/contact.go b/model/request/contact.go
index de6601f..2a788d5 100644
--- a/model/request/contact.go
+++ b/model/request/contact.go
@@ -1,25 +1,29 @@
 package request
 
+import "aps_crm/proto/code"
+
 type AddContact struct {
 	Contact
 }
 
 type Contact struct {
-	Name       string `json:"name"`                                   // 鑱旂郴浜哄悕绉�
-	Number     string `json:"number"`                                 // 鑱旂郴浜虹紪鍙�
-	MemberId   int    `json:"member_id"`                              // 鎵�灞炴垚鍛業D
-	ClientId   int    `json:"client_id"`                              // 鎵�灞炲叕鍙窱D
-	Position   string `json:"position"`                               // 鑱屼綅
-	Phone      string `json:"phone"`                                  // 鎵嬫満鍙�
-	IsFirst    bool   `json:"is_first"`                               // 鏄惁棣栬鑱旂郴浜�
-	Wechat     string `json:"wechat"`                                 // 寰俊鍙�
-	Birthday   string `json:"birthday" example:"1970-01-01 08:00:00"` // 鐢熸棩
-	Email      string `json:"email"`                                  // 閭
-	Desc       string `json:"desc"`                                   // 澶囨敞
-	CountryId  int    `json:"country_id"`                             // 鍥藉ID
-	ProvinceId int    `json:"province_id"`                            // 鐪佷唤ID
-	CityId     int    `json:"city_id"`                                // 鍩庡競ID
-	RegionId   int    `json:"region_id"`                              // 鍖哄煙ID
+	Name        string            `json:"name"`                                   // 鑱旂郴浜哄悕绉�
+	Number      string            `json:"number"`                                 // 鑱旂郴浜虹紪鍙�
+	MemberId    int               `json:"member_id"`                              // 鎵�灞炴垚鍛業D
+	ClientId    int               `json:"client_id"`                              // 鎵�灞炲叕鍙窱D
+	Position    string            `json:"position"`                               // 鑱屼綅
+	Phone       string            `json:"phone"`                                  // 鎵嬫満鍙�
+	IsFirst     bool              `json:"is_first"`                               // 鏄惁棣栬鑱旂郴浜�
+	Wechat      string            `json:"wechat"`                                 // 寰俊鍙�
+	Birthday    string            `json:"birthday" example:"1970-01-01 08:00:00"` // 鐢熸棩
+	Email       string            `json:"email"`                                  // 閭
+	Desc        string            `json:"desc"`                                   // 澶囨敞
+	CountryId   int               `json:"country_id"`                             // 鍥藉ID
+	ProvinceId  int               `json:"province_id"`                            // 鐪佷唤ID
+	CityId      int               `json:"city_id"`                                // 鍩庡競ID
+	RegionId    int               `json:"region_id"`                              // 鍖哄煙ID
+	CodeStandID string            `json:"codeStandID"`                            //缂栫爜id
+	CodeRule    code.CodeStandard `json:"codeRule"`
 }
 
 type UpdateContact struct {

--
Gitblit v1.8.0