From e338de93e52c51d42606e5413cd768a4324f12f7 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期三, 02 八月 2023 19:39:39 +0800 Subject: [PATCH] fix --- docs/docs.go | 4211 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 3,978 insertions(+), 233 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 85c7809..c98b043 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -16,6 +16,155 @@ "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/assign/assign": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Assign" + ], + "summary": "瀹℃牳", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Assign" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/authority/add": { "post": { "security": [ @@ -352,7 +501,7 @@ } } }, - "/api/client/delete/{id}": { + "/api/client/delete": { "delete": { "produces": [ "application/json" @@ -363,11 +512,13 @@ "summary": "鍒犻櫎瀹㈡埛", "parameters": [ { - "type": "integer", - "description": "瀹㈡埛ID", - "name": "id", - "in": "path", - "required": true + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteClient" + } } ], "responses": { @@ -381,14 +532,25 @@ } }, "/api/client/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "Client" ], - "summary": "鑾峰彇瀹㈡埛鍒楄〃", + "summary": "瀹㈡埛鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetClientList" + } + } + ], "responses": { "200": { "description": "OK", @@ -947,7 +1109,7 @@ } } }, - "/api/contact/delete/{id}": { + "/api/contact/delete": { "delete": { "produces": [ "application/json" @@ -958,11 +1120,13 @@ "summary": "鍒犻櫎鑱旂郴浜�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteContact" + } } ], "responses": { @@ -976,7 +1140,7 @@ } }, "/api/contact/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -984,6 +1148,17 @@ "Contact" ], "summary": "鑱旂郴浜哄垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetContactList" + } + } + ], "responses": { "200": { "description": "OK", @@ -1095,14 +1270,25 @@ } }, "/api/contract/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "Contract" ], - "summary": "鑾峰彇鍚堝悓鍒楄〃", + "summary": "閿�鍞悎鍚屽垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetContractList" + } + } + ], "responses": { "200": { "description": "OK", @@ -1263,6 +1449,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateCountry" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/currency/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Currency" + ], + "summary": "娣诲姞甯佺", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddCurrency" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/currency/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "Currency" + ], + "summary": "鍒犻櫎甯佺", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/currency/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "Currency" + ], + "summary": "鑾峰彇甯佺鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.CurrencyResponse" + } + } + } + ] + } + } + } + } + }, + "/api/currency/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "Currency" + ], + "summary": "鏇存柊甯佺", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateCurrencys" } } ], @@ -1801,7 +2106,7 @@ } } }, - "/api/followRecord/delete/{id}": { + "/api/followRecord/delete": { "delete": { "produces": [ "application/json" @@ -1812,11 +2117,13 @@ "summary": "鍒犻櫎璺熻繘璁板綍", "parameters": [ { - "type": "string", - "description": "璺熻繘璁板綍id", - "name": "id", - "in": "path", - "required": true + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteFollowRecord" + } } ], "responses": { @@ -1830,14 +2137,25 @@ } }, "/api/followRecord/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "FollowRecord" ], - "summary": "鑾峰彇璺熻繘璁板綍鍒楄〃", + "summary": "鍥炶璁板綍鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetFollowRecordList" + } + } + ], "responses": { "200": { "description": "OK", @@ -2040,6 +2358,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": [ @@ -2099,14 +2655,25 @@ } }, "/api/masterOrder/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "MasterOrder" ], - "summary": "涓昏鍗曞垪琛�", + "summary": "閿�鍞�诲崟鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetMasterOrderList" + } + } + ], "responses": { "200": { "description": "OK", @@ -2212,7 +2779,7 @@ "tags": [ "OrderManage" ], - "summary": "娣诲姞璁㈠崟", + "summary": "娣诲姞宸ュ崟", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -2242,7 +2809,7 @@ "tags": [ "OrderManage" ], - "summary": "鍒犻櫎璁㈠崟", + "summary": "鍒犻櫎宸ュ崟", "parameters": [ { "type": "integer", @@ -2263,19 +2830,42 @@ } }, "/api/orderManage/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "OrderManage" ], - "summary": "璁㈠崟鍒楄〃", + "summary": "宸ュ崟绠$悊鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetOrderManageList" + } + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/contextx.Response" + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.OrderManageResponse" + } + } + } + ] } } } @@ -2289,7 +2879,7 @@ "tags": [ "OrderManage" ], - "summary": "鏇存柊璁㈠崟", + "summary": "鏇存柊宸ュ崟", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -2298,6 +2888,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" } } ], @@ -2370,14 +3079,25 @@ } }, "/api/plan/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "Plan" ], - "summary": "鑾峰彇璁″垝鍒楄〃", + "summary": "鐢熸垚璁″垝鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetPlanList" + } + } + ], "responses": { "200": { "description": "OK", @@ -2766,7 +3486,7 @@ } }, "/api/quotation/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -2774,6 +3494,17 @@ "Quotation" ], "summary": "鎶ヤ环鍗曞垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetQuotationList" + } + } + ], "responses": { "200": { "description": "OK", @@ -2813,6 +3544,244 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateQuotation" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/quotationStatus/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "QuotationStatus" + ], + "summary": "娣诲姞鎶ヤ环鍗曠姸鎬�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddQuotationStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/quotationStatus/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "QuotationStatus" + ], + "summary": "鍒犻櫎鎶ヤ环鍗曠姸鎬�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/quotationStatus/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "QuotationStatus" + ], + "summary": "鑾峰彇鎶ヤ环鍗曠姸鎬佸垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.QuotationStatusResponse" + } + } + } + ] + } + } + } + } + }, + "/api/quotationStatus/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "QuotationStatus" + ], + "summary": "鏇存柊鎶ヤ环鍗曠姸鎬�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateQuotationStatuss" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/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" } } ], @@ -3210,6 +4179,244 @@ } } }, + "/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" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/repository/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Repository" + ], + "summary": "娣诲姞閫�璐т粨搴�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddRepository" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/repository/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "Repository" + ], + "summary": "鍒犻櫎閫�璐т粨搴�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/repository/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "Repository" + ], + "summary": "鑾峰彇閫�璐т粨搴撳垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.RepositoryResponse" + } + } + } + ] + } + } + } + } + }, + "/api/repository/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "Repository" + ], + "summary": "鏇存柊閫�璐т粨搴�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateRepositorys" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/saleChance/add": { "post": { "produces": [ @@ -3269,14 +4476,25 @@ } }, "/api/saleChance/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SaleChance" ], - "summary": "鑾峰彇閿�鍞満浼氬垪琛�", + "summary": "閿�鍞満浼氬垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSaleChanceList" + } + } + ], "responses": { "200": { "description": "OK", @@ -3626,14 +4844,25 @@ } }, "/api/salesDetails/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SalesDetails" ], - "summary": "鑾峰彇閿�鍞槑缁嗗垪琛�", + "summary": "閿�鍞槑缁嗗崟鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSalesDetailsList" + } + } + ], "responses": { "200": { "description": "OK", @@ -3716,7 +4945,7 @@ } } }, - "/api/salesLeads/delete/{id}": { + "/api/salesLeads/delete": { "delete": { "produces": [ "application/json" @@ -3727,11 +4956,13 @@ "summary": "鍒犻櫎閿�鍞嚎绱�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteSalesLeads" + } } ], "responses": { @@ -3745,14 +4976,25 @@ } }, "/api/salesLeads/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SalesLeads" ], - "summary": "鑾峰彇閿�鍞嚎绱㈠垪琛�", + "summary": "閿�鍞嚎绱㈠垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSalesLeadsList" + } + } + ], "responses": { "200": { "description": "OK", @@ -3864,14 +5106,25 @@ } }, "/api/salesRefund/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SalesRefund" ], - "summary": "閿�鍞��娆惧垪琛�", + "summary": "閿�鍞��娆惧崟鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSalesRefundList" + } + } + ], "responses": { "200": { "description": "OK", @@ -3983,25 +5236,48 @@ } }, "/api/salesReturn/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SalesReturn" ], - "summary": "鑾峰彇閿�鍞��璐у垪琛�", + "summary": "閿�鍞��璐у崟鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSalesReturnList" + } + } + ], "responses": { "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" @@ -4018,6 +5294,125 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesReturnRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/salesReturnStatus/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesReturnStatus" + ], + "summary": "娣诲姞閫�璐у崟鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddSalesReturnStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/salesReturnStatus/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesReturnStatus" + ], + "summary": "鍒犻櫎閫�璐у崟鐘舵��", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/salesReturnStatus/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesReturnStatus" + ], + "summary": "鑾峰彇閫�璐у崟鐘舵�佸垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SalesReturnStatusResponse" + } + } + } + ] + } + } + } + } + }, + "/api/salesReturnStatus/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesReturnStatus" + ], + "summary": "鏇存柊閫�璐у崟鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateSalesReturnStatuss" } } ], @@ -4150,6 +5545,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": [ @@ -4209,14 +5723,25 @@ } }, "/api/serviceContract/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "ServiceContract" ], - "summary": "鏈嶅姟鍚堝悓鍒楄〃", + "summary": "鐢熸垚璁″垝鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceContractList" + } + } + ], "responses": { "200": { "description": "OK", @@ -4256,6 +5781,244 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceContract" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/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" } } ], @@ -4328,7 +6091,7 @@ } }, "/api/serviceFeeManage/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -4336,6 +6099,17 @@ "ServiceFeeManage" ], "summary": "鏈嶅姟璐圭鐞嗗垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceFeeManageList" + } + } + ], "responses": { "200": { "description": "OK", @@ -4447,14 +6221,25 @@ } }, "/api/serviceFollowup/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "ServiceFollowup" ], - "summary": "鏈嶅姟璺熻繘鍒楄〃", + "summary": "鍥炶鍗曠鐞嗗垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceFollowupList" + } + } + ], "responses": { "200": { "description": "OK", @@ -4507,13 +6292,132 @@ } } }, + "/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" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/status/add": { "post": { "produces": [ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "娣诲姞鐘舵��", "parameters": [ @@ -4543,7 +6447,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "鍒犻櫎鐘舵��", "parameters": [ @@ -4571,7 +6475,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "鐘舵�佸垪琛�", "responses": { @@ -4590,7 +6494,7 @@ "application/json" ], "tags": [ - "Status" + "SalesReturnStatus" ], "summary": "鏇存柊鐘舵��", "parameters": [ @@ -4673,14 +6577,25 @@ } }, "/api/subOrder/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "SubOrder" ], - "summary": "鑾峰彇瀛愯鍗曞垪琛�", + "summary": "閿�鍞瓙鍗曞垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetSubOrderList" + } + } + ], "responses": { "200": { "description": "OK", @@ -4720,6 +6635,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" } } ], @@ -4985,30 +7019,69 @@ } } } + }, + "/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" + } + } + } + } + }, + "/api/vetting/update": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Vetting" + ], + "summary": "鏇存柊瀹℃壒", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateVetting" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } } }, "definitions": { - "constvar.CurrencyType": { - "type": "integer", - "enum": [ - 1, - 2, - 3, - 4 - ], - "x-enum-comments": { - "CurrencyTypeCNY": "浜烘皯甯�", - "CurrencyTypeEUR": "娆у厓", - "CurrencyTypeGBP": "鑻遍晳", - "CurrencyTypeUSD": "缇庡厓" - }, - "x-enum-varnames": [ - "CurrencyTypeCNY", - "CurrencyTypeUSD", - "CurrencyTypeEUR", - "CurrencyTypeGBP" - ] - }, "constvar.SalesStatus": { "type": "integer", "enum": [ @@ -5061,6 +7134,17 @@ }, "data": {}, "msg": { + "type": "string" + } + } + }, + "model.AccountId": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { "type": "string" } } @@ -5459,6 +7543,17 @@ } } }, + "model.Currency": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.CustomerServiceSheet": { "type": "object", "properties": { @@ -5585,9 +7680,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" }, @@ -5634,6 +7754,55 @@ "type": "string" }, "title": { + "type": "string" + } + } + }, + "model.OrderManage": { + "type": "object", + "properties": { + "client": { + "$ref": "#/definitions/model.Client" + }, + "clientId": { + "type": "integer" + }, + "contactId": { + "type": "integer" + }, + "file": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "number": { + "type": "string" + }, + "orderType": { + "type": "integer" + }, + "problemDescription": { + "type": "string" + }, + "reportSourceId": { + "type": "integer" + }, + "sourceSheet": { + "type": "integer" + } + } + }, + "model.OrderType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { "type": "string" } } @@ -5777,6 +7946,28 @@ } } }, + "model.QuotationStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.RefundMethod": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Region": { "type": "object", "properties": { @@ -5800,6 +7991,28 @@ } }, "model.RegularCustomers": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.ReportSource": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.Repository": { "type": "object", "properties": { "id": { @@ -5850,7 +8063,10 @@ "type": "integer" }, "currency": { - "$ref": "#/definitions/constvar.CurrencyType" + "type": "integer" + }, + "detail_address": { + "type": "string" }, "disadvantages": { "type": "string" @@ -5905,6 +8121,9 @@ }, "regular_customers_id": { "type": "integer" + }, + "remark": { + "type": "string" }, "sale_stage_id": { "type": "integer" @@ -5963,6 +8182,9 @@ "addressee": { "type": "string" }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" }, @@ -5974,6 +8196,15 @@ }, "id": { "type": "integer" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { + "type": "string" }, "memberId": { "type": "integer" @@ -6110,7 +8341,64 @@ } } }, + "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" + }, + "salesReturnStatus": { + "type": "integer" + } + } + }, + "model.SalesReturnStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.SalesSources": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.Satisfaction": { "type": "object", "properties": { "id": { @@ -6160,6 +8448,12 @@ "saleChanceId": { "type": "integer" }, + "serviceContractStatusId": { + "type": "integer" + }, + "serviceContractTypeId": { + "type": "integer" + }, "serviceTimes": { "type": "integer" }, @@ -6169,14 +8463,30 @@ "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" } } }, @@ -6224,7 +8534,7 @@ "id": { "type": "integer" }, - "isVisit": { + "isVisitId": { "type": "integer" }, "memberId": { @@ -6242,23 +8552,48 @@ "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.Status": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, "model.SubOrder": { "type": "object", "properties": { + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" }, @@ -6282,6 +8617,17 @@ } } }, + "model.TimelyRate": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.User": { "type": "object", "properties": { @@ -6302,7 +8648,7 @@ "type": "string" }, "id": { - "type": "string" + "type": "integer" }, "menuIds": { "description": "鑿滃崟ID鍒楄〃", @@ -6327,6 +8673,20 @@ "$ref": "#/definitions/constvar.UserType" }, "username": { + "type": "string" + }, + "uuid": { + "type": "string" + } + } + }, + "request.AddAccountId": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { "type": "string" } } @@ -6584,6 +8944,17 @@ } } }, + "request.AddCurrency": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddCustomerServiceSheet": { "type": "object", "properties": { @@ -6659,6 +9030,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": { @@ -6672,7 +9065,7 @@ "type": "integer" }, "money": { - "type": "string" + "type": "number" }, "number": { "type": "string" @@ -6711,6 +9104,17 @@ }, "sourceSheet": { "type": "integer" + } + } + }, + "request.AddOrderType": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" } } }, @@ -6774,6 +9178,28 @@ } } }, + "request.AddQuotationStatus": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddRefundMethod": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddRegion": { "type": "object", "properties": { @@ -6795,6 +9221,28 @@ } }, "request.AddRegularCustomers": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddReportSource": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddRepository": { "type": "object", "required": [ "name" @@ -6834,6 +9282,9 @@ }, "currency": { "type": "integer" + }, + "detail_address": { + "type": "string" }, "disadvantages": { "type": "string" @@ -6879,6 +9330,9 @@ }, "regular_customers_id": { "type": "integer" + }, + "remark": { + "type": "string" }, "sale_stage_id": { "type": "integer" @@ -6998,7 +9452,29 @@ } } }, + "request.AddSalesReturnStatus": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddSalesSources": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddSatisfaction": { "type": "object", "required": [ "name" @@ -7065,23 +9541,127 @@ } } }, + "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": { - "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" } } }, @@ -7129,6 +9709,17 @@ } } }, + "request.AddSolveRate": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "request.AddStatus": { "type": "object", "required": [ @@ -7143,8 +9734,75 @@ "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.Assign": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "member_id": { + "type": "integer" + }, + "type": { + "type": "string" } } }, @@ -7200,102 +9858,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" } } }, @@ -7365,12 +9927,56 @@ } } }, + "request.DeleteClient": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteContact": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "request.DeleteCountry": { "type": "object", "properties": { "id": { "description": "鍥藉ID", "type": "integer" + } + } + }, + "request.DeleteFollowRecord": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteSalesLeads": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -7427,6 +10033,279 @@ }, "topic": { "type": "string" + } + } + }, + "request.GetClientList": { + "type": "object", + "properties": { + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "search_map": { + "type": "object", + "additionalProperties": true + } + } + }, + "request.GetContactList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetContractList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetFollowRecordList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetMasterOrderList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetOrderManageList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetPlanList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetQuotationList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSaleChanceList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSalesDetailsList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSalesLeadsList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSalesRefundList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSalesReturnList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetServiceContractList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetServiceFeeManageList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetServiceFollowupList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, + "request.GetSubOrderList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" } } }, @@ -7562,6 +10441,15 @@ "type": "string" }, "deliveryDate": { + "type": "string" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { "type": "string" }, "memberId": { @@ -7725,25 +10613,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" } } } @@ -8093,6 +10987,35 @@ } } }, + "request.UpdateCurrency": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateCurrencys": { + "type": "object", + "required": [ + "currency" + ], + "properties": { + "currency": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateCurrency" + } + } + } + }, "request.UpdateCustomerServiceSheet": { "type": "object", "properties": { @@ -8240,6 +11163,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": { @@ -8256,7 +11237,7 @@ "type": "integer" }, "money": { - "type": "string" + "type": "number" }, "number": { "type": "string" @@ -8298,6 +11279,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" + } } } }, @@ -8401,6 +11411,64 @@ } } }, + "request.UpdateQuotationStatus": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateQuotationStatuss": { + "type": "object", + "required": [ + "quotation_status" + ], + "properties": { + "quotation_status": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateQuotationStatus" + } + } + } + }, + "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": { @@ -8481,6 +11549,64 @@ } } }, + "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.UpdateRepository": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateRepositorys": { + "type": "object", + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "array", + "items": { + "$ref": "#/definitions/request.UpdateRepository" + } + } + } + }, "request.UpdateSaleChance": { "type": "object", "required": [ @@ -8513,6 +11639,9 @@ }, "currency": { "type": "integer" + }, + "detail_address": { + "type": "string" }, "disadvantages": { "type": "string" @@ -8561,6 +11690,9 @@ }, "regular_customers_id": { "type": "integer" + }, + "remark": { + "type": "string" }, "sale_stage_id": { "type": "integer" @@ -8720,35 +11852,40 @@ "request.UpdateSalesReturnRequest": { "type": "object", "properties": { - "clientId": { - "type": "integer" - }, "id": { "type": "integer" }, - "memberId": { + "salesReturn": { + "$ref": "#/definitions/request.SalesReturn" + } + } + }, + "request.UpdateSalesReturnStatus": { + "type": "object", + "required": [ + "id", + "name" + ], + "properties": { + "id": { "type": "integer" }, - "number": { + "name": { "type": "string" - }, - "products": { + } + } + }, + "request.UpdateSalesReturnStatuss": { + "type": "object", + "required": [ + "sales_return_status" + ], + "properties": { + "sales_return_status": { "type": "array", "items": { - "$ref": "#/definitions/model.Product" + "$ref": "#/definitions/request.UpdateSalesReturnStatus" } - }, - "reason": { - "type": "string" - }, - "repository": { - "type": "string" - }, - "returnDate": { - "type": "string" - }, - "status": { - "type": "integer" } } }, @@ -8774,6 +11911,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" } } } @@ -8837,13 +12003,106 @@ } } }, + "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": { - "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": { @@ -8852,14 +12111,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" } } }, @@ -8907,6 +12208,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" + } } } }, @@ -8965,6 +12295,61 @@ } } }, + "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" + } + } + } + }, + "request.UpdateVetting": { + "type": "object", + "required": [ + "id", + "status" + ], + "properties": { + "id": { + "type": "integer" + }, + "status": { + "type": "integer" + } + } + }, + "response.AccountIdResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.AccountId" + } + } + } + }, "response.CityResponse": { "type": "object", "properties": { @@ -9001,6 +12386,9 @@ "response.ClientResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9034,6 +12422,9 @@ "response.ContactResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9045,6 +12436,9 @@ "response.ContractResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9064,9 +12458,27 @@ } } }, + "response.CurrencyResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Currency" + } + } + } + }, "response.DataResponse": { "type": "object", "properties": { + "accountId": { + "description": "璐︽埛", + "type": "array", + "items": { + "$ref": "#/definitions/model.AccountId" + } + }, "city": { "description": "鍩庡競鏁版嵁", "type": "array", @@ -9109,6 +12521,20 @@ "$ref": "#/definitions/model.Country" } }, + "currency": { + "description": "甯佺", + "type": "array", + "items": { + "$ref": "#/definitions/model.Currency" + } + }, + "department": { + "description": "閮ㄩ棬", + "type": "array", + "items": { + "$ref": "#/definitions/model.Department" + } + }, "enterprise_nature": { "description": "浼佷笟鎬ц川", "type": "array", @@ -9130,11 +12556,60 @@ "$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" + } + }, + "possibility": { + "description": "鍙兘鎬�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Possibility" + } + }, "province": { "description": "鐪佷唤鏁版嵁", "type": "array", "items": { "$ref": "#/definitions/model.Province" + } + }, + "quotationStatus": { + "description": "鎶ヤ环鍗曠姸鎬�", + "type": "array", + "items": { + "$ref": "#/definitions/model.QuotationStatus" + } + }, + "refundMethod": { + "description": "閫�娆炬柟寮�", + "type": "array", + "items": { + "$ref": "#/definitions/model.RefundMethod" } }, "region": { @@ -9158,6 +12633,20 @@ "$ref": "#/definitions/model.RegularCustomers" } }, + "reportSource": { + "description": "鎶ヨ〃鏉ユ簮", + "type": "array", + "items": { + "$ref": "#/definitions/model.ReportSource" + } + }, + "repository": { + "description": "閫�璐т粨搴�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Repository" + } + }, "sale_stage": { "description": "閿�鍞樁娈�", "type": "array", @@ -9172,11 +12661,60 @@ "$ref": "#/definitions/model.SaleType" } }, + "salesReturnStatus": { + "description": "閫�璐у崟鐘舵��", + "type": "array", + "items": { + "$ref": "#/definitions/model.SalesReturnStatus" + } + }, "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" + } + }, + "status": { + "description": "鐘舵��", + "type": "array", + "items": { + "$ref": "#/definitions/model.Status" + } + }, + "timely_rate": { + "description": "鍙婃椂鐜�", + "type": "array", + "items": { + "$ref": "#/definitions/model.TimelyRate" } } } @@ -9217,6 +12755,9 @@ "response.FollowRecordResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9232,6 +12773,28 @@ "type": "array", "items": { "$ref": "#/definitions/model.Industry" + } + } + } + }, + "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" } } } @@ -9253,6 +12816,9 @@ "response.MasterOrderResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9268,6 +12834,31 @@ "type": "array", "items": { "$ref": "#/definitions/model.Menu" + } + } + } + }, + "response.OrderManageResponse": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.OrderManage" + } + } + } + }, + "response.OrderTypeResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.OrderType" } } } @@ -9290,6 +12881,9 @@ "response.PlanResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9323,10 +12917,35 @@ "response.QuotationResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.Quotation" + } + } + } + }, + "response.QuotationStatusResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.QuotationStatus" + } + } + } + }, + "response.RefundMethodResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.RefundMethod" } } } @@ -9353,9 +12972,34 @@ } } }, + "response.ReportSourceResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ReportSource" + } + } + } + }, + "response.RepositoryResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Repository" + } + } + } + }, "response.SaleChanceResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9389,6 +13033,9 @@ "response.SalesDetailsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9400,6 +13047,9 @@ "response.SalesLeadsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9411,10 +13061,38 @@ "response.SalesRefundResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { "$ref": "#/definitions/model.SalesRefund" + } + } + } + }, + "response.SalesReturnResponse": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.SalesReturn" + } + } + } + }, + "response.SalesReturnStatusResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.SalesReturnStatus" } } } @@ -9430,9 +13108,45 @@ } } }, + "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" + } + } + } + }, "response.ServiceContractsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9444,6 +13158,9 @@ "response.ServiceFeeManageResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9455,6 +13172,9 @@ "response.ServiceFollowupResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { @@ -9463,17 +13183,42 @@ } } }, - "response.SubOrderResponse": { + "response.SolveRateResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { + "$ref": "#/definitions/model.SolveRate" + } + } + } + }, + "response.SubOrderResponse": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "list": { + "type": "array", + "items": { "$ref": "#/definitions/model.SubOrder" } } } }, + "response.TimelyRateResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.TimelyRate" + } + } + } + }, "response.UserResponse": { "type": "object", "properties": { -- Gitblit v1.8.0