From 34c99ef40f26f8812610e7ca14c56825f9bf2c3c Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期五, 21 七月 2023 11:46:56 +0800 Subject: [PATCH] add --- docs/docs.go | 3378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 3,280 insertions(+), 98 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index efd3896..e97a5e1 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -16,6 +16,201 @@ "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { + "/api/accountId/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "AccountId" + ], + "summary": "娣诲姞璐︽埛", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddAccountId" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/accountId/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "AccountId" + ], + "summary": "鍒犻櫎璐︽埛", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/accountId/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "AccountId" + ], + "summary": "鑾峰彇璐︽埛鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.AccountIdResponse" + } + } + } + ] + } + } + } + } + }, + "/api/accountId/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "AccountId" + ], + "summary": "鏇存柊璐︽埛", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateAccountIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/authority/add": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authority" + ], + "summary": "鍒涘缓瑙掕壊", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddAuthority" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/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": [ @@ -156,6 +351,14 @@ "City" ], "summary": "鑾峰彇鍩庡競鍒楄〃", + "parameters": [ + { + "type": "integer", + "description": "鐪佷唤ID", + "name": "province_id", + "in": "query" + } + ], "responses": { "200": { "description": "鎴愬姛", @@ -328,7 +531,7 @@ } }, "/api/client/update": { - "post": { + "put": { "produces": [ "application/json" ], @@ -1299,6 +1502,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": [ @@ -1806,6 +2159,244 @@ } } }, + "/api/isInvoice/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "娣诲姞鏄惁寮�绁�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddIsInvoice" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isInvoice/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "鍒犻櫎鏄惁寮�绁�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isInvoice/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "鑾峰彇鏄惁寮�绁ㄥ垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.IsInvoiceResponse" + } + } + } + ] + } + } + } + } + }, + "/api/isInvoice/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "IsInvoice" + ], + "summary": "鏇存柊鏄惁寮�绁�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateIsInvoices" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isVisit/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "IsVisit" + ], + "summary": "娣诲姞鏈嶅姟浜哄憳鏄惁鏉ヨ繃", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddIsVisit" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isVisit/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "IsVisit" + ], + "summary": "鍒犻櫎鏈嶅姟浜哄憳鏄惁鏉ヨ繃", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/isVisit/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "IsVisit" + ], + "summary": "鑾峰彇鏈嶅姟浜哄憳鏄惁鏉ヨ繃鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.IsVisitResponse" + } + } + } + ] + } + } + } + } + }, + "/api/isVisit/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "IsVisit" + ], + "summary": "鏇存柊鏈嶅姟浜哄憳鏄惁鏉ヨ繃", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateIsVisits" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/masterOrder/add": { "post": { "produces": [ @@ -1925,6 +2516,51 @@ } } }, + "/api/menu/getMenu": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "Menu" + ], + "summary": "鑾峰彇鑿滃崟鏍�", + "parameters": [ + { + "type": "string", + "description": "Authorization", + "name": "Authorization", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.MenuTreeResponse" + } + } + } + ] + } + } + } + } + }, "/api/orderManage/add": { "post": { "produces": [ @@ -1933,7 +2569,7 @@ "tags": [ "OrderManage" ], - "summary": "娣诲姞璁㈠崟", + "summary": "娣诲姞宸ュ崟", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -1963,7 +2599,7 @@ "tags": [ "OrderManage" ], - "summary": "鍒犻櫎璁㈠崟", + "summary": "鍒犻櫎宸ュ崟", "parameters": [ { "type": "integer", @@ -1991,7 +2627,7 @@ "tags": [ "OrderManage" ], - "summary": "璁㈠崟鍒楄〃", + "summary": "宸ュ崟鍒楄〃", "responses": { "200": { "description": "OK", @@ -2010,7 +2646,7 @@ "tags": [ "OrderManage" ], - "summary": "鏇存柊璁㈠崟", + "summary": "鏇存柊宸ュ崟", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -2019,6 +2655,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateOrderManage" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/orderType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "OrderType" + ], + "summary": "娣诲姞宸ュ崟绫诲瀷", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddOrderType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/orderType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "OrderType" + ], + "summary": "鍒犻櫎宸ュ崟绫诲瀷", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/orderType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "OrderType" + ], + "summary": "鑾峰彇宸ュ崟绫诲瀷鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.OrderTypeResponse" + } + } + } + ] + } + } + } + } + }, + "/api/orderType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "OrderType" + ], + "summary": "鏇存柊宸ュ崟绫诲瀷", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateOrderTypes" } } ], @@ -2337,6 +3092,15 @@ "Province" ], "summary": "鑾峰彇鐪佷唤鍒楄〃", + "parameters": [ + { + "type": "integer", + "description": "鍥藉ID", + "name": "country_id", + "in": "query", + "required": true + } + ], "responses": { "200": { "description": "OK", @@ -2538,6 +3302,125 @@ } } }, + "/api/refundMethod/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "RefundMethod" + ], + "summary": "娣诲姞閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddRefundMethod" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundMethod/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "RefundMethod" + ], + "summary": "鍒犻櫎閫�娆炬柟寮�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundMethod/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "RefundMethod" + ], + "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.RefundMethodResponse" + } + } + } + ] + } + } + } + } + }, + "/api/refundMethod/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "RefundMethod" + ], + "summary": "鏇存柊閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateRefundMethods" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/region/add": { "post": { "produces": [ @@ -2605,6 +3488,15 @@ "Region" ], "summary": "鍦板尯鍒楄〃", + "parameters": [ + { + "type": "integer", + "description": "鍩庡競ID", + "name": "city_id", + "in": "query", + "required": true + } + ], "responses": { "200": { "description": "OK", @@ -2900,6 +3792,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateRegularCustomersList" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/reportSource/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "ReportSource" + ], + "summary": "娣诲姞鎶ヨ〃鏉ユ簮", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddReportSource" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/reportSource/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "ReportSource" + ], + "summary": "鍒犻櫎鎶ヨ〃鏉ユ簮", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/reportSource/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "ReportSource" + ], + "summary": "鑾峰彇鎶ヨ〃鏉ユ簮鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ReportSourceResponse" + } + } + } + ] + } + } + } + } + }, + "/api/reportSource/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "ReportSource" + ], + "summary": "鏇存柊鎶ヨ〃鏉ユ簮", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateReportSources" } } ], @@ -3698,13 +4709,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" @@ -3853,6 +4876,125 @@ } } }, + "/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" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/serviceContract/add": { "post": { "produces": [ @@ -3972,6 +5114,363 @@ } } }, + "/api/serviceContractStatus/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractStatus" + ], + "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceContractStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceContractStatus/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractStatus" + ], + "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceContractStatus/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractStatus" + ], + "summary": "鑾峰彇鏈嶅姟鍚堝悓鐘舵�佸垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ServiceContractStatusResponse" + } + } + } + ] + } + } + } + } + }, + "/api/serviceContractStatus/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractStatus" + ], + "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceContractStatuss" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceContractType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractType" + ], + "summary": "娣诲姞鏈嶅姟鍚堝悓绫诲瀷", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceContractType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceContractType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractType" + ], + "summary": "鍒犻櫎鏈嶅姟鍚堝悓绫诲瀷", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceContractType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractType" + ], + "summary": "鑾峰彇鏈嶅姟鍚堝悓绫诲瀷鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ServiceContractTypeResponse" + } + } + } + ] + } + } + } + } + }, + "/api/serviceContractType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceContractType" + ], + "summary": "鏇存柊鏈嶅姟鍚堝悓绫诲瀷", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceContractTypes" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceFeeManage/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceFeeManage" + ], + "summary": "娣诲姞鏈嶅姟璐圭鐞�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceFeeManage" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceFeeManage/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceFeeManage" + ], + "summary": "鍒犻櫎鏈嶅姟璐圭鐞�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceFeeManage/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceFeeManage" + ], + "summary": "鏈嶅姟璐圭鐞嗗垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ServiceFeeManageResponse" + } + } + } + ] + } + } + } + } + }, + "/api/serviceFeeManage/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "ServiceFeeManage" + ], + "summary": "鏇存柊鏈嶅姟璐圭鐞�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceFeeManage" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/serviceFollowup/add": { "post": { "produces": [ @@ -4078,6 +5577,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceFollowup" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/solveRate/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SolveRate" + ], + "summary": "娣诲姞瑙e喅鐜�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddSolveRate" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/solveRate/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "SolveRate" + ], + "summary": "鍒犻櫎瑙e喅鐜�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/solveRate/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "SolveRate" + ], + "summary": "鑾峰彇瑙e喅鐜囧垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SolveRateResponse" + } + } + } + ] + } + } + } + } + }, + "/api/solveRate/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "SolveRate" + ], + "summary": "鏇存柊瑙e喅鐜�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateSolveRates" } } ], @@ -4304,6 +5922,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateSubOrder" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/timelyRate/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "TimelyRate" + ], + "summary": "娣诲姞閿�鍞樁娈�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddTimelyRate" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/timelyRate/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "TimelyRate" + ], + "summary": "鍒犻櫎閿�鍞樁娈�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/timelyRate/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "TimelyRate" + ], + "summary": "鑾峰彇閿�鍞樁娈靛垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.TimelyRateResponse" + } + } + } + ] + } + } + } + } + }, + "/api/timelyRate/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "TimelyRate" + ], + "summary": "鏇存柊閿�鍞樁娈�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateTimelyRates" } } ], @@ -4569,6 +6306,36 @@ } } } + }, + "/api/vetting/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Vetting" + ], + "summary": "娣诲姞瀹℃壒", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddVetting" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } } }, "definitions": { @@ -4649,6 +6416,40 @@ } } }, + "model.AccountId": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "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": { @@ -4678,14 +6479,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" @@ -5008,6 +6821,43 @@ } } }, + "model.CustomerServiceSheet": { + "type": "object", + "properties": { + "handleStatus": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "memberId": { + "type": "integer" + }, + "number": { + "type": "string" + }, + "priority": { + "type": "integer" + }, + "serviceFollowupId": { + "type": "integer" + }, + "serviceMode": { + "type": "integer" + } + } + }, + "model.Department": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.EnterpriseNature": { "type": "object", "properties": { @@ -5033,11 +6883,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" @@ -5091,9 +6947,34 @@ } } }, + "model.IsInvoice": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.IsVisit": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.MasterOrder": { "type": "object", "properties": { + "client": { + "$ref": "#/definitions/model.Client" + }, "client_id": { "type": "integer" }, @@ -5113,6 +6994,44 @@ "type": "string" }, "start_time": { + "type": "string" + } + } + }, + "model.Menu": { + "type": "object", + "properties": { + "children": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Menu" + } + }, + "id": { + "description": "涓婚敭ID", + "type": "integer" + }, + "name": { + "type": "string" + }, + "parentId": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "model.OrderType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { "type": "string" } } @@ -5256,6 +7175,17 @@ } } }, + "model.RefundMethod": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Region": { "type": "object", "properties": { @@ -5279,6 +7209,17 @@ } }, "model.RegularCustomers": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.ReportSource": { "type": "object", "properties": { "id": { @@ -5330,6 +7271,9 @@ }, "currency": { "$ref": "#/definitions/constvar.CurrencyType" + }, + "detail_address": { + "type": "string" }, "disadvantages": { "type": "string" @@ -5384,6 +7328,9 @@ }, "regular_customers_id": { "type": "integer" + }, + "remark": { + "type": "string" }, "sale_stage_id": { "type": "integer" @@ -5441,6 +7388,9 @@ }, "addressee": { "type": "string" + }, + "client": { + "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" @@ -5589,7 +7539,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": { @@ -5639,6 +7635,12 @@ "saleChanceId": { "type": "integer" }, + "serviceContractStatusId": { + "type": "integer" + }, + "serviceContractTypeId": { + "type": "integer" + }, "serviceTimes": { "type": "integer" }, @@ -5648,14 +7650,56 @@ "startTime": { "type": "string" }, - "statusId": { - "type": "integer" - }, "terms": { "type": "string" - }, - "typeId": { + } + } + }, + "model.ServiceContractStatus": { + "type": "object", + "properties": { + "id": { "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.ServiceContractType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.ServiceFeeManage": { + "type": "object", + "properties": { + "client": { + "$ref": "#/definitions/model.Client" + }, + "client_id": { + "type": "integer" + }, + "file": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "latest_date": { + "type": "string" + }, + "member_id": { + "type": "integer" + }, + "remark": { + "type": "string" } } }, @@ -5668,13 +7712,16 @@ "contactId": { "type": "integer" }, + "customerServiceSheet": { + "$ref": "#/definitions/model.CustomerServiceSheet" + }, "file": { "type": "string" }, "id": { "type": "integer" }, - "isVisit": { + "isVisitId": { "type": "integer" }, "memberId": { @@ -5692,23 +7739,37 @@ "remark": { "type": "string" }, - "satisfaction": { + "satisfactionId": { "type": "integer" }, "serviceId": { "type": "integer" }, - "solveRate": { + "solveRateId": { "type": "integer" }, - "timelyRate": { + "timelyRateId": { "type": "integer" + } + } + }, + "model.SolveRate": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, "model.SubOrder": { "type": "object", "properties": { + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" }, @@ -5732,30 +7793,38 @@ } } }, + "model.TimelyRate": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "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鍒楄〃", @@ -5767,26 +7836,13 @@ "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": { @@ -5794,6 +7850,34 @@ }, "username": { "type": "string" + }, + "uuid": { + "type": "string" + } + } + }, + "request.AddAccountId": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddAuthority": { + "type": "object", + "properties": { + "authorityName": { + "type": "string" + }, + "casbinInfos": { + "type": "array", + "items": { + "$ref": "#/definitions/request.CasbinInfo" + } } } }, @@ -6056,6 +8140,17 @@ } } }, + "request.AddDepartment": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddEnterpriseNature": { "type": "object", "required": [ @@ -6100,6 +8195,28 @@ } } }, + "request.AddIsInvoice": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddIsVisit": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddMasterOrder": { "type": "object", "properties": { @@ -6113,7 +8230,7 @@ "type": "integer" }, "money": { - "type": "string" + "type": "number" }, "number": { "type": "string" @@ -6152,6 +8269,17 @@ }, "sourceSheet": { "type": "integer" + } + } + }, + "request.AddOrderType": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" } } }, @@ -6215,6 +8343,17 @@ } } }, + "request.AddRefundMethod": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddRegion": { "type": "object", "properties": { @@ -6236,6 +8375,17 @@ } }, "request.AddRegularCustomers": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddReportSource": { "type": "object", "required": [ "name" @@ -6275,6 +8425,9 @@ }, "currency": { "type": "integer" + }, + "detail_address": { + "type": "string" }, "disadvantages": { "type": "string" @@ -6320,6 +8473,9 @@ }, "regular_customers_id": { "type": "integer" + }, + "remark": { + "type": "string" }, "sale_stage_id": { "type": "integer" @@ -6450,6 +8606,17 @@ } } }, + "request.AddSatisfaction": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddServiceContract": { "type": "object", "properties": { @@ -6506,6 +8673,130 @@ } } }, + "request.AddServiceContractStatus": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddServiceContractType": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddServiceFeeManage": { + "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" + }, + "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" + }, + "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" + } + } + }, "request.AddServiceFollowup": { "type": "object", "properties": { @@ -6550,6 +8841,17 @@ } } }, + "request.AddSolveRate": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddStatus": { "type": "object", "required": [ @@ -6564,8 +8866,74 @@ "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.AddTimelyRate": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "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" } } }, @@ -6815,29 +9183,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" } } }, @@ -6958,6 +9343,20 @@ } } }, + "request.SetAuthorityMenu": { + "type": "object", + "properties": { + "authorityId": { + "type": "integer" + }, + "menus": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "request.SetCity": { "type": "object", "properties": { @@ -7006,25 +9405,31 @@ } } }, - "request.SubOrder": { + "request.UpdateAccountId": { "type": "object", + "required": [ + "id", + "name" + ], "properties": { - "clientId": { + "id": { "type": "integer" }, - "masterOrderId": { - "type": "integer" - }, - "memberId": { - "type": "integer" - }, - "number": { + "name": { "type": "string" - }, - "product": { + } + } + }, + "request.UpdateAccountIds": { + "type": "object", + "required": [ + "account_id" + ], + "properties": { + "account_id": { "type": "array", "items": { - "$ref": "#/definitions/model.Product" + "$ref": "#/definitions/request.UpdateAccountId" } } } @@ -7397,6 +9802,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": [ @@ -7492,6 +9926,64 @@ } } }, + "request.UpdateIsInvoice": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateIsInvoices": { + "type": "object", + "required": [ + "is_invoice" + ], + "properties": { + "is_invoice": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateIsInvoice" + } + } + } + }, + "request.UpdateIsVisit": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateIsVisits": { + "type": "object", + "required": [ + "is_visit" + ], + "properties": { + "is_visit": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateIsVisit" + } + } + } + }, "request.UpdateMasterOrder": { "type": "object", "properties": { @@ -7508,7 +10000,7 @@ "type": "integer" }, "money": { - "type": "string" + "type": "number" }, "number": { "type": "string" @@ -7550,6 +10042,35 @@ }, "sourceSheet": { "type": "integer" + } + } + }, + "request.UpdateOrderType": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateOrderTypes": { + "type": "object", + "required": [ + "order_type" + ], + "properties": { + "order_type": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateOrderType" + } } } }, @@ -7653,6 +10174,35 @@ } } }, + "request.UpdateRefundMethod": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateRefundMethods": { + "type": "object", + "required": [ + "refund_method" + ], + "properties": { + "refund_method": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateRefundMethod" + } + } + } + }, "request.UpdateRegion": { "type": "object", "properties": { @@ -7733,6 +10283,35 @@ } } }, + "request.UpdateReportSource": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateReportSources": { + "type": "object", + "required": [ + "report_source" + ], + "properties": { + "report_source": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateReportSource" + } + } + } + }, "request.UpdateSaleChance": { "type": "object", "required": [ @@ -7765,6 +10344,9 @@ }, "currency": { "type": "integer" + }, + "detail_address": { + "type": "string" }, "disadvantages": { "type": "string" @@ -7813,6 +10395,9 @@ }, "regular_customers_id": { "type": "integer" + }, + "remark": { + "type": "string" }, "sale_stage_id": { "type": "integer" @@ -7972,35 +10557,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" } } }, @@ -8026,6 +10587,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" } } } @@ -8089,6 +10679,167 @@ } } }, + "request.UpdateServiceContractStatus": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateServiceContractStatuss": { + "type": "object", + "required": [ + "service_contract_status" + ], + "properties": { + "service_contract_status": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateServiceContractStatus" + } + } + } + }, + "request.UpdateServiceContractType": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateServiceContractTypes": { + "type": "object", + "required": [ + "service_contract_type" + ], + "properties": { + "service_contract_type": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateServiceContractType" + } + } + } + }, + "request.UpdateServiceFeeManage": { + "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" + }, + "file": { + "type": "string" + }, + "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" + } + } + }, "request.UpdateServiceFollowup": { "type": "object", "properties": { @@ -8133,6 +10884,35 @@ }, "timelyRate": { "type": "integer" + } + } + }, + "request.UpdateSolveRate": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateSolveRates": { + "type": "object", + "required": [ + "solve_rate" + ], + "properties": { + "solve_rate": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateSolveRate" + } } } }, @@ -8187,6 +10967,46 @@ "type": "array", "items": { "$ref": "#/definitions/model.Product" + } + } + } + }, + "request.UpdateTimelyRate": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateTimelyRates": { + "type": "object", + "required": [ + "timely_rate" + ], + "properties": { + "timely_rate": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateTimelyRate" + } + } + } + }, + "response.AccountIdResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.AccountId" } } } @@ -8290,6 +11110,225 @@ } } }, + "response.DataResponse": { + "type": "object", + "properties": { + "accountId": { + "description": "璐︽埛", + "type": "array", + "items": { + "$ref": "#/definitions/model.AccountId" + } + }, + "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" + } + }, + "isInvoice": { + "description": "鏄惁寮�绁�", + "type": "array", + "items": { + "$ref": "#/definitions/model.IsInvoice" + } + }, + "isVisit": { + "description": "鏈嶅姟浜哄憳鏄惁鏉ヨ繃", + "type": "array", + "items": { + "$ref": "#/definitions/model.IsVisit" + } + }, + "member": { + "description": "Member", + "type": "array", + "items": { + "$ref": "#/definitions/model.User" + } + }, + "orderType": { + "description": "宸ュ崟绫诲瀷", + "type": "array", + "items": { + "$ref": "#/definitions/model.OrderType" + } + }, + "province": { + "description": "鐪佷唤鏁版嵁", + "type": "array", + "items": { + "$ref": "#/definitions/model.Province" + } + }, + "refundMethod": { + "description": "閫�娆炬柟寮�", + "type": "array", + "items": { + "$ref": "#/definitions/model.RefundMethod" + } + }, + "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" + } + }, + "reportSource": { + "description": "鎶ヨ〃鏉ユ簮", + "type": "array", + "items": { + "$ref": "#/definitions/model.ReportSource" + } + }, + "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" + } + }, + "satisfaction": { + "description": "婊℃剰搴�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Satisfaction" + } + }, + "serviceContractStatus": { + "description": "鏈嶅姟鍚堝悓鐘舵��", + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceContractStatus" + } + }, + "serviceContractType": { + "description": "鏈嶅姟鍚堝悓绫诲瀷", + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceContractType" + } + }, + "solve_rate": { + "description": "瑙e喅鐜�", + "type": "array", + "items": { + "$ref": "#/definitions/model.SolveRate" + } + }, + "timely_rate": { + "description": "鍙婃椂鐜�", + "type": "array", + "items": { + "$ref": "#/definitions/model.TimelyRate" + } + } + } + }, + "response.DepartmentResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Department" + } + } + } + }, "response.EnterpriseNatureResponse": { "type": "object", "properties": { @@ -8334,6 +11373,28 @@ } } }, + "response.IsInvoiceResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.IsInvoice" + } + } + } + }, + "response.IsVisitResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.IsVisit" + } + } + } + }, "response.LoginResponse": { "type": "object", "properties": { @@ -8355,6 +11416,28 @@ "type": "array", "items": { "$ref": "#/definitions/model.MasterOrder" + } + } + } + }, + "response.MenuTreeResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Menu" + } + } + } + }, + "response.OrderTypeResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.OrderType" } } } @@ -8418,6 +11501,17 @@ } } }, + "response.RefundMethodResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.RefundMethod" + } + } + } + }, "response.RegisteredCapitalResponse": { "type": "object", "properties": { @@ -8436,6 +11530,17 @@ "type": "array", "items": { "$ref": "#/definitions/model.RegularCustomers" + } + } + } + }, + "response.ReportSourceResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ReportSource" } } } @@ -8506,6 +11611,17 @@ } } }, + "response.SalesReturnResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.SalesReturn" + } + } + } + }, "response.SalesSourceResponse": { "type": "object", "properties": { @@ -8513,6 +11629,39 @@ "type": "array", "items": { "$ref": "#/definitions/model.SalesSources" + } + } + } + }, + "response.SatisfactionResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Satisfaction" + } + } + } + }, + "response.ServiceContractStatusResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceContractStatus" + } + } + } + }, + "response.ServiceContractTypeResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceContractType" } } } @@ -8528,6 +11677,17 @@ } } }, + "response.ServiceFeeManageResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceFeeManage" + } + } + } + }, "response.ServiceFollowupResponse": { "type": "object", "properties": { @@ -8539,6 +11699,17 @@ } } }, + "response.SolveRateResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.SolveRate" + } + } + } + }, "response.SubOrderResponse": { "type": "object", "properties": { @@ -8550,6 +11721,17 @@ } } }, + "response.TimelyRateResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.TimelyRate" + } + } + } + }, "response.UserResponse": { "type": "object", "properties": { -- Gitblit v1.8.0