From 25fcc66e4c844306489dcfec6880004157a2dff7 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 20 七月 2023 17:24:47 +0800
Subject: [PATCH] fix
---
docs/docs.go | 1246 +++++++++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 1,034 insertions(+), 212 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index 63dbcf3..6d6eace 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -54,6 +54,44 @@
}
}
},
+ "/api/authority/setMenuAuthority": {
+ "post": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Authority"
+ ],
+ "summary": "璁剧疆瑙掕壊鑿滃崟",
+ "parameters": [
+ {
+ "description": "璁剧疆瑙掕壊璧勬簮鏉冮檺",
+ "name": "data",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.SetAuthorityMenu"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/base/captcha": {
"post": {
"produces": [
@@ -194,6 +232,14 @@
"City"
],
"summary": "鑾峰彇鍩庡競鍒楄〃",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鐪佷唤ID",
+ "name": "province_id",
+ "in": "query"
+ }
+ ],
"responses": {
"200": {
"description": "鎴愬姛",
@@ -366,7 +412,7 @@
}
},
"/api/client/update": {
- "post": {
+ "put": {
"produces": [
"application/json"
],
@@ -1337,6 +1383,156 @@
}
}
},
+ "/api/data/getAllData": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Data"
+ ],
+ "summary": "鑾峰彇鎵�鏈夋暟鎹�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.DataResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/department/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Department"
+ ],
+ "summary": "娣诲姞閮ㄩ棬",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddDepartment"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/department/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Department"
+ ],
+ "summary": "鍒犻櫎閮ㄩ棬",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "閮ㄩ棬ID",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/department/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Department"
+ ],
+ "summary": "閮ㄩ棬鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.DepartmentResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/department/update/{id}": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Department"
+ ],
+ "summary": "鏇存柊閮ㄩ棬",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateDepartmentList"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/enterpriseNature/add": {
"post": {
"produces": [
@@ -1965,6 +2161,11 @@
},
"/api/menu/getMenu": {
"get": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
"produces": [
"application/json"
],
@@ -1972,6 +2173,15 @@
"Menu"
],
"summary": "鑾峰彇鑿滃崟鏍�",
+ "parameters": [
+ {
+ "type": "string",
+ "description": "Authorization",
+ "name": "Authorization",
+ "in": "header",
+ "required": true
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -2406,6 +2616,15 @@
"Province"
],
"summary": "鑾峰彇鐪佷唤鍒楄〃",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鍥藉ID",
+ "name": "country_id",
+ "in": "query",
+ "required": true
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -2674,6 +2893,15 @@
"Region"
],
"summary": "鍦板尯鍒楄〃",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鍩庡競ID",
+ "name": "city_id",
+ "in": "query",
+ "required": true
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -3767,13 +3995,25 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/contextx.Response"
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.SalesReturnResponse"
+ }
+ }
+ }
+ ]
}
}
}
}
},
- "/api/salesReturn/update/{id}": {
+ "/api/salesReturn/update": {
"put": {
"produces": [
"application/json"
@@ -3909,6 +4149,125 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateSalesSourcesList"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/satisfaction/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Satisfaction"
+ ],
+ "summary": "娣诲姞婊℃剰搴�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddSatisfaction"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/satisfaction/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Satisfaction"
+ ],
+ "summary": "鍒犻櫎婊℃剰搴�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/satisfaction/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Satisfaction"
+ ],
+ "summary": "婊℃剰搴﹀垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.SatisfactionResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/satisfaction/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Satisfaction"
+ ],
+ "summary": "鏇存柊婊℃剰搴�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateSatisfactions"
}
}
],
@@ -4758,35 +5117,34 @@
}
}
},
- "/authority/setDataAuthority": {
+ "/api/vetting/add": {
"post": {
- "security": [
- {
- "ApiKeyAuth": []
- }
- ],
- "consumes": [
- "application/json"
- ],
"produces": [
"application/json"
],
"tags": [
- "Authority"
+ "Vetting"
],
- "summary": "璁剧疆瑙掕壊璧勬簮鏉冮檺",
+ "summary": "娣诲姞瀹℃壒",
"parameters": [
{
- "description": "璁剧疆瑙掕壊璧勬簮鏉冮檺",
- "name": "data",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/request.AddAuthority"
+ "$ref": "#/definitions/request.AddVetting"
}
}
],
- "responses": {}
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
}
}
},
@@ -4868,6 +5226,29 @@
}
}
},
+ "model.Authority": {
+ "type": "object",
+ "properties": {
+ "authorityName": {
+ "description": "瑙掕壊鍚�",
+ "type": "string"
+ },
+ "defaultRouter": {
+ "description": "榛樿鑿滃崟(榛樿dashboard)",
+ "type": "string"
+ },
+ "id": {
+ "description": "瑙掕壊ID",
+ "type": "integer"
+ },
+ "menus": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Menu"
+ }
+ }
+ }
+ },
"model.City": {
"type": "object",
"properties": {
@@ -4897,14 +5278,26 @@
"city_id": {
"type": "integer"
},
+ "client_level": {
+ "$ref": "#/definitions/model.ClientLevel"
+ },
"client_level_id": {
"type": "integer"
+ },
+ "client_origin": {
+ "$ref": "#/definitions/model.ClientOrigin"
},
"client_origin_id": {
"type": "integer"
},
+ "client_status": {
+ "$ref": "#/definitions/model.ClientStatus"
+ },
"client_status_id": {
"type": "integer"
+ },
+ "client_type": {
+ "$ref": "#/definitions/model.ClientType"
},
"client_type_id": {
"type": "integer"
@@ -5253,6 +5646,17 @@
}
}
},
+ "model.Department": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"model.EnterpriseNature": {
"type": "object",
"properties": {
@@ -5278,11 +5682,17 @@
"model.FollowRecord": {
"type": "object",
"properties": {
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"client_id": {
"type": "integer"
},
"client_status_id": {
"type": "integer"
+ },
+ "contact": {
+ "$ref": "#/definitions/model.Contact"
},
"contact_id": {
"type": "integer"
@@ -5339,6 +5749,9 @@
"model.MasterOrder": {
"type": "object",
"properties": {
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"client_id": {
"type": "integer"
},
@@ -5603,6 +6016,9 @@
"currency": {
"$ref": "#/definitions/constvar.CurrencyType"
},
+ "detail_address": {
+ "type": "string"
+ },
"disadvantages": {
"type": "string"
},
@@ -5656,6 +6072,9 @@
},
"regular_customers_id": {
"type": "integer"
+ },
+ "remark": {
+ "type": "string"
},
"sale_stage_id": {
"type": "integer"
@@ -5713,6 +6132,9 @@
},
"addressee": {
"type": "string"
+ },
+ "client": {
+ "$ref": "#/definitions/model.Client"
},
"clientId": {
"type": "integer"
@@ -5861,7 +6283,53 @@
}
}
},
+ "model.SalesReturn": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
+ "reason": {
+ "type": "string"
+ },
+ "repository": {
+ "type": "string"
+ },
+ "returnDate": {
+ "type": "string"
+ },
+ "status": {
+ "type": "integer"
+ }
+ }
+ },
"model.SalesSources": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "model.Satisfaction": {
"type": "object",
"properties": {
"id": {
@@ -6010,6 +6478,9 @@
"model.SubOrder": {
"type": "object",
"properties": {
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"clientId": {
"type": "integer"
},
@@ -6036,27 +6507,24 @@
"model.User": {
"type": "object",
"properties": {
- "companyName": {
- "type": "string"
+ "authority": {
+ "$ref": "#/definitions/model.Authority"
},
- "createAt": {
- "description": "鍒涘缓鏃堕棿",
- "type": "string"
+ "authorityId": {
+ "description": "鐢ㄦ埛瑙掕壊ID",
+ "type": "integer"
+ },
+ "departmentId": {
+ "type": "integer"
},
"email": {
"type": "string"
- },
- "enable": {
- "type": "boolean"
},
"headerImg": {
"type": "string"
},
"id": {
- "type": "string"
- },
- "ip": {
- "type": "string"
+ "type": "integer"
},
"menuIds": {
"description": "鑿滃崟ID鍒楄〃",
@@ -6068,32 +6536,22 @@
"nickName": {
"type": "string"
},
- "parentId": {
- "type": "string"
- },
- "parentName": {
- "type": "string"
- },
"phone": {
- "type": "string"
- },
- "port": {
"type": "string"
},
"pos": {
"type": "string"
},
- "status": {
- "type": "integer"
- },
- "updateAt": {
- "description": "鏇存柊鏃堕棿",
+ "realName": {
"type": "string"
},
"userType": {
"$ref": "#/definitions/constvar.UserType"
},
"username": {
+ "type": "string"
+ },
+ "uuid": {
"type": "string"
}
}
@@ -6103,6 +6561,12 @@
"properties": {
"authorityName": {
"type": "string"
+ },
+ "casbinInfos": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.CasbinInfo"
+ }
}
}
},
@@ -6365,6 +6829,17 @@
}
}
},
+ "request.AddDepartment": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"request.AddEnterpriseNature": {
"type": "object",
"required": [
@@ -6422,7 +6897,7 @@
"type": "integer"
},
"money": {
- "type": "string"
+ "type": "number"
},
"number": {
"type": "string"
@@ -6585,6 +7060,9 @@
"currency": {
"type": "integer"
},
+ "detail_address": {
+ "type": "string"
+ },
"disadvantages": {
"type": "string"
},
@@ -6629,6 +7107,9 @@
},
"regular_customers_id": {
"type": "integer"
+ },
+ "remark": {
+ "type": "string"
},
"sale_stage_id": {
"type": "integer"
@@ -6759,6 +7240,17 @@
}
}
},
+ "request.AddSatisfaction": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"request.AddServiceContract": {
"type": "object",
"properties": {
@@ -6818,20 +7310,102 @@
"request.AddServiceFeeManage": {
"type": "object",
"properties": {
- "client_id": {
+ "business_scope": {
+ "description": "缁忚惀鑼冨洿",
+ "type": "string"
+ },
+ "city_id": {
+ "type": "integer"
+ },
+ "client_level_id": {
+ "description": "瀹㈡埛绛夌骇ID",
+ "type": "integer"
+ },
+ "client_origin_id": {
+ "description": "瀹㈡埛鏉ユ簮ID",
+ "type": "integer"
+ },
+ "client_status_id": {
+ "description": "瀹㈡埛鐘舵�両D",
+ "type": "integer"
+ },
+ "client_type_id": {
+ "description": "瀹㈡埛绫诲瀷ID",
+ "type": "integer"
+ },
+ "contact": {
+ "$ref": "#/definitions/request.Contact"
+ },
+ "country_id": {
+ "type": "integer"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
+ "type": "string"
+ },
+ "enterprise_nature_id": {
+ "description": "浼佷笟鎬ц川",
+ "type": "integer"
+ },
+ "enterprise_scale_id": {
+ "description": "浼佷笟瑙勬ā",
"type": "integer"
},
"file": {
"type": "string"
},
+ "industry_id": {
+ "description": "鎵�灞炶涓�",
+ "type": "integer"
+ },
"latest_date": {
"type": "string"
},
+ "latest_service_time": {
+ "description": "鏈�鏅氭湇鍔℃椂闂�",
+ "type": "string"
+ },
"member_id": {
+ "description": "閿�鍞礋璐d汉ID",
"type": "integer"
},
- "remark": {
+ "name": {
+ "description": "鍏徃鍚嶇О",
"type": "string"
+ },
+ "next_visit_time": {
+ "description": "涓嬫鍥炶鏃堕棿",
+ "type": "string"
+ },
+ "number": {
+ "description": "鍏徃缂栧彿",
+ "type": "string"
+ },
+ "province_id": {
+ "type": "integer"
+ },
+ "region_id": {
+ "type": "integer"
+ },
+ "registered_capital_id": {
+ "description": "娉ㄥ唽璧勯噾",
+ "type": "integer"
+ },
+ "registration_time": {
+ "description": "娉ㄥ唽鏃堕棿",
+ "type": "string"
+ },
+ "remark": {
+ "description": "澶囨敞",
+ "type": "string"
+ },
+ "representative": {
+ "description": "娉曚汉浠h〃",
+ "type": "string"
+ },
+ "service_member_id": {
+ "description": "鏈嶅姟璐熻矗浜篒D",
+ "type": "integer"
}
}
},
@@ -6893,8 +7467,63 @@
"request.AddSubOrder": {
"type": "object",
"properties": {
- "subOrder": {
- "$ref": "#/definitions/request.SubOrder"
+ "clientId": {
+ "type": "integer"
+ },
+ "masterOrderId": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "product": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ }
+ }
+ },
+ "request.AddVetting": {
+ "type": "object",
+ "required": [
+ "opinion",
+ "status",
+ "userId",
+ "vettingId",
+ "vettingType"
+ ],
+ "properties": {
+ "opinion": {
+ "type": "string"
+ },
+ "status": {
+ "type": "integer"
+ },
+ "userId": {
+ "type": "integer"
+ },
+ "vettingId": {
+ "type": "integer"
+ },
+ "vettingType": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.CasbinInfo": {
+ "type": "object",
+ "properties": {
+ "method": {
+ "description": "鏂规硶",
+ "type": "string"
+ },
+ "path": {
+ "description": "璺緞",
+ "type": "string"
}
}
},
@@ -6937,102 +7566,6 @@
"pos": {
"description": "鐢ㄦ埛宀椾綅",
"type": "string"
- }
- }
- },
- "request.Client": {
- "type": "object",
- "properties": {
- "business_scope": {
- "description": "缁忚惀鑼冨洿",
- "type": "string"
- },
- "city_id": {
- "type": "integer"
- },
- "client_level_id": {
- "description": "瀹㈡埛绛夌骇ID",
- "type": "integer"
- },
- "client_origin_id": {
- "description": "瀹㈡埛鏉ユ簮ID",
- "type": "integer"
- },
- "client_status_id": {
- "description": "瀹㈡埛鐘舵�両D",
- "type": "integer"
- },
- "client_type_id": {
- "description": "瀹㈡埛绫诲瀷ID",
- "type": "integer"
- },
- "contact": {
- "$ref": "#/definitions/request.Contact"
- },
- "country_id": {
- "type": "integer"
- },
- "detail_address": {
- "description": "璇︾粏鍦板潃",
- "type": "string"
- },
- "enterprise_nature_id": {
- "description": "浼佷笟鎬ц川",
- "type": "integer"
- },
- "enterprise_scale_id": {
- "description": "浼佷笟瑙勬ā",
- "type": "integer"
- },
- "industry_id": {
- "description": "鎵�灞炶涓�",
- "type": "integer"
- },
- "latest_service_time": {
- "description": "鏈�鏅氭湇鍔℃椂闂�",
- "type": "string"
- },
- "member_id": {
- "description": "閿�鍞礋璐d汉ID",
- "type": "integer"
- },
- "name": {
- "description": "鍏徃鍚嶇О",
- "type": "string"
- },
- "next_visit_time": {
- "description": "涓嬫鍥炶鏃堕棿",
- "type": "string"
- },
- "number": {
- "description": "鍏徃缂栧彿",
- "type": "string"
- },
- "province_id": {
- "type": "integer"
- },
- "region_id": {
- "type": "integer"
- },
- "registered_capital_id": {
- "description": "娉ㄥ唽璧勯噾",
- "type": "integer"
- },
- "registration_time": {
- "description": "娉ㄥ唽鏃堕棿",
- "type": "string"
- },
- "remark": {
- "description": "澶囨敞",
- "type": "string"
- },
- "representative": {
- "description": "娉曚汉浠h〃",
- "type": "string"
- },
- "service_member_id": {
- "description": "鏈嶅姟璐熻矗浜篒D",
- "type": "integer"
}
}
},
@@ -7240,29 +7773,46 @@
"request.Register": {
"type": "object",
"properties": {
+ "authorityId": {
+ "description": "鐢ㄦ埛瑙掕壊ID",
+ "type": "integer"
+ },
+ "departmentId": {
+ "type": "integer"
+ },
"email": {
- "type": "string",
- "example": "鐢靛瓙閭"
+ "type": "string"
},
"headerImg": {
- "type": "string",
- "example": "澶村儚閾炬帴"
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
},
"nickName": {
- "type": "string",
- "example": "鏄电О"
+ "type": "string"
},
- "passWord": {
- "type": "string",
- "example": "瀵嗙爜"
+ "password": {
+ "type": "string"
},
"phone": {
- "type": "string",
- "example": "鐢佃瘽鍙风爜"
+ "type": "string"
},
- "userName": {
- "type": "string",
- "example": "鐢ㄦ埛鍚�"
+ "pos": {
+ "type": "string"
+ },
+ "rePassword": {
+ "description": "纭瀵嗙爜",
+ "type": "string"
+ },
+ "realName": {
+ "type": "string"
+ },
+ "userType": {
+ "$ref": "#/definitions/constvar.UserType"
+ },
+ "username": {
+ "type": "string"
}
}
},
@@ -7383,6 +7933,20 @@
}
}
},
+ "request.SetAuthorityMenu": {
+ "type": "object",
+ "properties": {
+ "authorityId": {
+ "type": "integer"
+ },
+ "menus": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
"request.SetCity": {
"type": "object",
"properties": {
@@ -7427,29 +7991,6 @@
"type": "array",
"items": {
"type": "integer"
- }
- }
- }
- },
- "request.SubOrder": {
- "type": "object",
- "properties": {
- "clientId": {
- "type": "integer"
- },
- "masterOrderId": {
- "type": "integer"
- },
- "memberId": {
- "type": "integer"
- },
- "number": {
- "type": "string"
- },
- "product": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/model.Product"
}
}
}
@@ -7822,6 +8363,35 @@
}
}
},
+ "request.UpdateDepartment": {
+ "type": "object",
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateDepartmentList": {
+ "type": "object",
+ "required": [
+ "departments"
+ ],
+ "properties": {
+ "departments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.UpdateDepartment"
+ }
+ }
+ }
+ },
"request.UpdateEnterpriseNature": {
"type": "object",
"required": [
@@ -7933,7 +8503,7 @@
"type": "integer"
},
"money": {
- "type": "string"
+ "type": "number"
},
"number": {
"type": "string"
@@ -8191,6 +8761,9 @@
"currency": {
"type": "integer"
},
+ "detail_address": {
+ "type": "string"
+ },
"disadvantages": {
"type": "string"
},
@@ -8238,6 +8811,9 @@
},
"regular_customers_id": {
"type": "integer"
+ },
+ "remark": {
+ "type": "string"
},
"sale_stage_id": {
"type": "integer"
@@ -8397,35 +8973,11 @@
"request.UpdateSalesReturnRequest": {
"type": "object",
"properties": {
- "clientId": {
- "type": "integer"
- },
"id": {
"type": "integer"
},
- "memberId": {
- "type": "integer"
- },
- "number": {
- "type": "string"
- },
- "products": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/model.Product"
- }
- },
- "reason": {
- "type": "string"
- },
- "repository": {
- "type": "string"
- },
- "returnDate": {
- "type": "string"
- },
- "status": {
- "type": "integer"
+ "salesReturn": {
+ "$ref": "#/definitions/request.SalesReturn"
}
}
},
@@ -8451,6 +9003,35 @@
"type": "array",
"items": {
"$ref": "#/definitions/request.UpdateSalesSources"
+ }
+ }
+ }
+ },
+ "request.UpdateSatisfaction": {
+ "type": "object",
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateSatisfactions": {
+ "type": "object",
+ "required": [
+ "satisfactions"
+ ],
+ "properties": {
+ "satisfactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.UpdateSatisfaction"
}
}
}
@@ -8517,10 +9098,45 @@
"request.UpdateServiceFeeManage": {
"type": "object",
"properties": {
- "client": {
- "$ref": "#/definitions/request.Client"
+ "business_scope": {
+ "description": "缁忚惀鑼冨洿",
+ "type": "string"
},
- "client_id": {
+ "city_id": {
+ "type": "integer"
+ },
+ "client_level_id": {
+ "description": "瀹㈡埛绛夌骇ID",
+ "type": "integer"
+ },
+ "client_origin_id": {
+ "description": "瀹㈡埛鏉ユ簮ID",
+ "type": "integer"
+ },
+ "client_status_id": {
+ "description": "瀹㈡埛鐘舵�両D",
+ "type": "integer"
+ },
+ "client_type_id": {
+ "description": "瀹㈡埛绫诲瀷ID",
+ "type": "integer"
+ },
+ "contact": {
+ "$ref": "#/definitions/request.Contact"
+ },
+ "country_id": {
+ "type": "integer"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
+ "type": "string"
+ },
+ "enterprise_nature_id": {
+ "description": "浼佷笟鎬ц川",
+ "type": "integer"
+ },
+ "enterprise_scale_id": {
+ "description": "浼佷笟瑙勬ā",
"type": "integer"
},
"file": {
@@ -8529,14 +9145,56 @@
"id": {
"type": "integer"
},
+ "industry_id": {
+ "description": "鎵�灞炶涓�",
+ "type": "integer"
+ },
"latest_date": {
+ "type": "string"
+ },
+ "latest_service_time": {
+ "description": "鏈�鏅氭湇鍔℃椂闂�",
"type": "string"
},
"member_id": {
"type": "integer"
},
+ "name": {
+ "description": "鍏徃鍚嶇О",
+ "type": "string"
+ },
+ "next_visit_time": {
+ "description": "涓嬫鍥炶鏃堕棿",
+ "type": "string"
+ },
+ "number": {
+ "description": "鍏徃缂栧彿",
+ "type": "string"
+ },
+ "province_id": {
+ "type": "integer"
+ },
+ "region_id": {
+ "type": "integer"
+ },
+ "registered_capital_id": {
+ "description": "娉ㄥ唽璧勯噾",
+ "type": "integer"
+ },
+ "registration_time": {
+ "description": "娉ㄥ唽鏃堕棿",
+ "type": "string"
+ },
"remark": {
"type": "string"
+ },
+ "representative": {
+ "description": "娉曚汉浠h〃",
+ "type": "string"
+ },
+ "service_member_id": {
+ "description": "鏈嶅姟璐熻矗浜篒D",
+ "type": "integer"
}
}
},
@@ -8737,6 +9395,148 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.Country"
+ }
+ }
+ }
+ },
+ "response.DataResponse": {
+ "type": "object",
+ "properties": {
+ "city": {
+ "description": "鍩庡競鏁版嵁",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.City"
+ }
+ },
+ "client_level": {
+ "description": "瀹㈡埛绛夌骇",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ClientLevel"
+ }
+ },
+ "client_origin": {
+ "description": "瀹㈡埛鏉ユ簮",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ClientOrigin"
+ }
+ },
+ "client_status": {
+ "description": "瀹㈡埛鐘舵��",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ClientStatus"
+ }
+ },
+ "client_type": {
+ "description": "瀹㈡埛绫诲瀷",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ClientType"
+ }
+ },
+ "country": {
+ "description": "鍥藉鏁版嵁",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Country"
+ }
+ },
+ "department": {
+ "description": "閮ㄩ棬",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Department"
+ }
+ },
+ "enterprise_nature": {
+ "description": "浼佷笟鎬ц川",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.EnterpriseNature"
+ }
+ },
+ "enterprise_scale": {
+ "description": "浼佷笟瑙勬ā",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.EnterpriseScale"
+ }
+ },
+ "industry": {
+ "description": "琛屼笟",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Industry"
+ }
+ },
+ "member": {
+ "description": "Member",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.User"
+ }
+ },
+ "province": {
+ "description": "鐪佷唤鏁版嵁",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Province"
+ }
+ },
+ "region": {
+ "description": "鍖哄煙鏁版嵁",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Region"
+ }
+ },
+ "registered_capital": {
+ "description": "娉ㄥ唽璧勯噾",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.RegisteredCapital"
+ }
+ },
+ "regular_customers": {
+ "description": "鑰佸鎴疯惀閿�",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.RegularCustomers"
+ }
+ },
+ "sale_stage": {
+ "description": "閿�鍞樁娈�",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SaleStage"
+ }
+ },
+ "sale_type": {
+ "description": "閿�鍞被鍨�",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SaleType"
+ }
+ },
+ "sales_source": {
+ "description": "鍟嗘満鏉ユ簮",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SalesSources"
+ }
+ }
+ }
+ },
+ "response.DepartmentResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Department"
}
}
}
@@ -8968,6 +9768,17 @@
}
}
},
+ "response.SalesReturnResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SalesReturn"
+ }
+ }
+ }
+ },
"response.SalesSourceResponse": {
"type": "object",
"properties": {
@@ -8979,6 +9790,17 @@
}
}
},
+ "response.SatisfactionResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Satisfaction"
+ }
+ }
+ }
+ },
"response.ServiceContractsResponse": {
"type": "object",
"properties": {
--
Gitblit v1.8.0