From fdde31710cf0b94560583e1039088c90a21de5d6 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 18 七月 2023 15:12:56 +0800
Subject: [PATCH] add
---
docs/swagger.yaml | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 114 insertions(+), 2 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 5d4b73c..9ebebbd 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -2707,6 +2707,89 @@
$ref: '#/definitions/model.Country'
type: array
type: object
+ response.DataResponse:
+ properties:
+ city:
+ description: 鍩庡競鏁版嵁
+ items:
+ $ref: '#/definitions/model.City'
+ type: array
+ client_level:
+ description: 瀹㈡埛绛夌骇
+ items:
+ $ref: '#/definitions/model.ClientLevel'
+ type: array
+ client_origin:
+ description: 瀹㈡埛鏉ユ簮
+ items:
+ $ref: '#/definitions/model.ClientOrigin'
+ type: array
+ client_status:
+ description: 瀹㈡埛鐘舵��
+ items:
+ $ref: '#/definitions/model.ClientStatus'
+ type: array
+ client_type:
+ description: 瀹㈡埛绫诲瀷
+ items:
+ $ref: '#/definitions/model.ClientType'
+ type: array
+ country:
+ description: 鍥藉鏁版嵁
+ items:
+ $ref: '#/definitions/model.Country'
+ type: array
+ enterprise_nature:
+ description: 浼佷笟鎬ц川
+ items:
+ $ref: '#/definitions/model.EnterpriseNature'
+ type: array
+ enterprise_scale:
+ description: 浼佷笟瑙勬ā
+ items:
+ $ref: '#/definitions/model.EnterpriseScale'
+ type: array
+ industry:
+ description: 琛屼笟
+ items:
+ $ref: '#/definitions/model.Industry'
+ type: array
+ province:
+ description: 鐪佷唤鏁版嵁
+ items:
+ $ref: '#/definitions/model.Province'
+ type: array
+ region:
+ description: 鍖哄煙鏁版嵁
+ items:
+ $ref: '#/definitions/model.Region'
+ type: array
+ registered_capital:
+ description: 娉ㄥ唽璧勯噾
+ items:
+ $ref: '#/definitions/model.RegisteredCapital'
+ type: array
+ regular_customers:
+ description: 鑰佸鎴疯惀閿�
+ items:
+ $ref: '#/definitions/model.RegularCustomers'
+ type: array
+ sale_stage:
+ description: 閿�鍞樁娈�
+ items:
+ $ref: '#/definitions/model.SaleStage'
+ type: array
+ sale_type:
+ description: 閿�鍞被鍨�
+ items:
+ $ref: '#/definitions/model.SaleType'
+ type: array
+ sales_source:
+ description: 鍟嗘満鏉ユ簮
+ items:
+ $ref: '#/definitions/model.SalesSources'
+ type: array
+ type: object
response.EnterpriseNatureResponse:
properties:
list:
@@ -3024,7 +3107,7 @@
parameters:
- description: 鐪佷唤ID
in: query
- name: provinceId
+ name: province_id
type: integer
produces:
- application/json
@@ -3134,7 +3217,7 @@
tags:
- Client
/api/client/update:
- post:
+ put:
parameters:
- description: 鏌ヨ鍙傛暟
in: body
@@ -3732,6 +3815,23 @@
summary: 鏇存柊瀹㈡湇鍗�
tags:
- CustomerServiceSheet
+ /api/data/getAllData:
+ get:
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: OK
+ schema:
+ allOf:
+ - $ref: '#/definitions/contextx.Response'
+ - properties:
+ data:
+ $ref: '#/definitions/response.DataResponse'
+ type: object
+ summary: 鑾峰彇鎵�鏈夋暟鎹�
+ tags:
+ - Data
/api/enterpriseNature/add:
post:
parameters:
@@ -4392,6 +4492,12 @@
- Province
/api/province/list:
get:
+ parameters:
+ - description: 鍥藉ID
+ in: query
+ name: country_id
+ required: true
+ type: integer
produces:
- application/json
responses:
@@ -4557,6 +4663,12 @@
- Region
/api/region/list:
get:
+ parameters:
+ - description: 鍩庡競ID
+ in: query
+ name: city_id
+ required: true
+ type: integer
produces:
- application/json
responses:
--
Gitblit v1.8.0