fix
wangpengfei
2023-09-01 0b405c63b26629e0c9e4040b78020da0f11e8eb0
fix

change gormModel to CrmModel
4个文件已修改
37 ■■■■■ 已修改文件
docs/docs.go 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.json 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.yaml 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
model/client.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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"
                }
            }
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"
                }
            }
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:
model/client.go
@@ -33,7 +33,7 @@
        FollowRecord      []FollowRecord `json:"follow_record" gorm:"foreignKey:ClientId"`
        Address
        Business
        gormModel
        CrmModel
    }
    ClientSearch struct {