From 0b405c63b26629e0c9e4040b78020da0f11e8eb0 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 01 九月 2023 16:29:07 +0800
Subject: [PATCH] fix
---
model/client.go | 2 +-
docs/swagger.yaml | 15 ++++-----------
docs/docs.go | 10 +++++-----
docs/swagger.json | 10 +++++-----
4 files changed, 15 insertions(+), 22 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index d67f59a..049bf2e 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -10881,8 +10881,10 @@
"country_id": {
"type": "integer"
},
- "created_at": {
- "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
"type": "string"
},
"creator_id": {
@@ -10910,7 +10912,6 @@
}
},
"id": {
- "description": "The ID of the item\nexample: 1",
"type": "integer"
},
"industry": {
@@ -10967,8 +10968,7 @@
"service_member_id": {
"type": "integer"
},
- "updated_at": {
- "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
+ "updateTime": {
"type": "string"
}
}
diff --git a/docs/swagger.json b/docs/swagger.json
index 27d99f4..47c9204 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -10869,8 +10869,10 @@
"country_id": {
"type": "integer"
},
- "created_at": {
- "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
+ "createTime": {
+ "type": "string"
+ },
+ "creatorName": {
"type": "string"
},
"creator_id": {
@@ -10898,7 +10900,6 @@
}
},
"id": {
- "description": "The ID of the item\nexample: 1",
"type": "integer"
},
"industry": {
@@ -10955,8 +10956,7 @@
"service_member_id": {
"type": "integer"
},
- "updated_at": {
- "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
+ "updateTime": {
"type": "string"
}
}
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 04cab2b..939b48c 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -475,13 +475,12 @@
$ref: '#/definitions/model.Country'
country_id:
type: integer
- created_at:
- description: |-
- The date when the item was created
- example: 2023-08-10 15:48:25
+ createTime:
type: string
creator_id:
type: integer
+ creatorName:
+ type: string
detail_address:
type: string
enterprise_nature_id:
@@ -497,9 +496,6 @@
$ref: '#/definitions/model.FollowRecord'
type: array
id:
- description: |-
- The ID of the item
- example: 1
type: integer
industry:
$ref: '#/definitions/model.Industry'
@@ -537,10 +533,7 @@
type: string
service_member_id:
type: integer
- updated_at:
- description: |-
- The date when the item was last updated
- example: 2023-08-10 15:48:25
+ updateTime:
type: string
type: object
model.ClientLevel:
diff --git a/model/client.go b/model/client.go
index fcd3023..f425230 100644
--- a/model/client.go
+++ b/model/client.go
@@ -33,7 +33,7 @@
FollowRecord []FollowRecord `json:"follow_record" gorm:"foreignKey:ClientId"`
Address
Business
- gormModel
+ CrmModel
}
ClientSearch struct {
--
Gitblit v1.8.0