From fdde31710cf0b94560583e1039088c90a21de5d6 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 18 七月 2023 15:12:56 +0800
Subject: [PATCH] add
---
docs/swagger.json | 3929 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 3,927 insertions(+), 2 deletions(-)
diff --git a/docs/swagger.json b/docs/swagger.json
index 6e7d691..77ee54e 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -4,6 +4,82 @@
"contact": {}
},
"paths": {
+ "/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": [
@@ -144,6 +220,14 @@
"City"
],
"summary": "鑾峰彇鍩庡競鍒楄〃",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鐪佷唤ID",
+ "name": "province_id",
+ "in": "query"
+ }
+ ],
"responses": {
"200": {
"description": "鎴愬姛",
@@ -316,7 +400,7 @@
}
},
"/api/client/update": {
- "post": {
+ "put": {
"produces": [
"application/json"
],
@@ -940,6 +1024,125 @@
}
}
},
+ "/api/contract/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "娣诲姞鍚堝悓",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddContract"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/contract/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "鍒犻櫎鍚堝悓",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/contract/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "鑾峰彇鍚堝悓鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.ContractResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/contract/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Contract"
+ ],
+ "summary": "鏇存柊鍚堝悓",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateContract"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/country/add": {
"post": {
"produces": [
@@ -1056,6 +1259,144 @@
"description": "OK",
"schema": {
"$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/customerServiceSheet/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "CustomerServiceSheet"
+ ],
+ "summary": "娣诲姞瀹㈡湇鍗�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddCustomerServiceSheet"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/customerServiceSheet/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "CustomerServiceSheet"
+ ],
+ "summary": "鍒犻櫎瀹㈡湇鍗�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/customerServiceSheet/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "CustomerServiceSheet"
+ ],
+ "summary": "鑾峰彇瀹㈡湇鍗曞垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/customerServiceSheet/update/{id}": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "CustomerServiceSheet"
+ ],
+ "summary": "鏇存柊瀹㈡湇鍗�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateCustomerServiceSheet"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/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"
+ }
+ }
+ }
+ ]
}
}
}
@@ -1568,6 +1909,515 @@
}
}
},
+ "/api/masterOrder/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "MasterOrder"
+ ],
+ "summary": "娣诲姞涓昏鍗�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddMasterOrder"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/masterOrder/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "MasterOrder"
+ ],
+ "summary": "鍒犻櫎涓昏鍗�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/masterOrder/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "MasterOrder"
+ ],
+ "summary": "涓昏鍗曞垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.MasterOrderResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/masterOrder/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "MasterOrder"
+ ],
+ "summary": "鏇存柊涓昏鍗�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateMasterOrder"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/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": [
+ "application/json"
+ ],
+ "tags": [
+ "OrderManage"
+ ],
+ "summary": "娣诲姞璁㈠崟",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddOrderManage"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/orderManage/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "OrderManage"
+ ],
+ "summary": "鍒犻櫎璁㈠崟",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/orderManage/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "OrderManage"
+ ],
+ "summary": "璁㈠崟鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/orderManage/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "OrderManage"
+ ],
+ "summary": "鏇存柊璁㈠崟",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateOrderManage"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/plan/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Plan"
+ ],
+ "summary": "娣诲姞璁″垝",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddPlan"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/plan/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Plan"
+ ],
+ "summary": "鍒犻櫎璁″垝",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/plan/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Plan"
+ ],
+ "summary": "鑾峰彇璁″垝鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.PlanResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/plan/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Plan"
+ ],
+ "summary": "鏇存柊璁″垝",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdatePlan"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/possibility/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Possibility"
+ ],
+ "summary": "娣诲姞鍟嗘満鍙兘鎬�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddPossibility"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/possibility/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Possibility"
+ ],
+ "summary": "鍒犻櫎鍟嗘満鍙兘鎬�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/possibility/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Possibility"
+ ],
+ "summary": "鍟嗘満鍙兘鎬у垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.PossibilityResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/possibility/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Possibility"
+ ],
+ "summary": "鏇存柊鍟嗘満鍙兘鎬�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdatePossibilities"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/province/add": {
"post": {
"produces": [
@@ -1635,6 +2485,15 @@
"Province"
],
"summary": "鑾峰彇鐪佷唤鍒楄〃",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鍥藉ID",
+ "name": "country_id",
+ "in": "query",
+ "required": true
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -1717,6 +2576,125 @@
}
}
},
+ "/api/quotation/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Quotation"
+ ],
+ "summary": "娣诲姞鎶ヤ环鍗�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddQuotation"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/quotation/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Quotation"
+ ],
+ "summary": "鍒犻櫎鎶ヤ环鍗�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/quotation/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Quotation"
+ ],
+ "summary": "鎶ヤ环鍗曞垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.QuotationResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/quotation/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Quotation"
+ ],
+ "summary": "鏇存柊鎶ヤ环鍗�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateQuotation"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/region/add": {
"post": {
"produces": [
@@ -1784,6 +2762,15 @@
"Region"
],
"summary": "鍦板尯鍒楄〃",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鍩庡競ID",
+ "name": "city_id",
+ "in": "query",
+ "required": true
+ }
+ ],
"responses": {
"200": {
"description": "OK",
@@ -1960,6 +2947,125 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateRegisteredCapitals"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/regularCustomers/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "RegularCustomers"
+ ],
+ "summary": "娣诲姞甯稿",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddRegularCustomers"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/regularCustomers/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "RegularCustomers"
+ ],
+ "summary": "鍒犻櫎甯稿",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/regularCustomers/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "RegularCustomers"
+ ],
+ "summary": "甯稿鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.RegularCustomersResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/regularCustomers/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "RegularCustomers"
+ ],
+ "summary": "鏇存柊甯稿",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateRegularCustomersList"
}
}
],
@@ -2330,6 +3436,125 @@
}
}
},
+ "/api/salesDetails/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "娣诲姞閿�鍞槑缁�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddSalesDetails"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesDetails/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鍒犻櫎閿�鍞槑缁�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesDetails/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鑾峰彇閿�鍞槑缁嗗垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.SalesDetailsResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/salesDetails/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesDetails"
+ ],
+ "summary": "鏇存柊閿�鍞槑缁�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateSalesDetails"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/salesLeads/add": {
"post": {
"produces": [
@@ -2449,6 +3674,232 @@
}
}
},
+ "/api/salesRefund/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesRefund"
+ ],
+ "summary": "娣诲姞閿�鍞��娆�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddSalesRefundRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesRefund/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesRefund"
+ ],
+ "summary": "鍒犻櫎閿�鍞��娆�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesRefund/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesRefund"
+ ],
+ "summary": "閿�鍞��娆惧垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.SalesRefundResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/salesRefund/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesRefund"
+ ],
+ "summary": "鏇存柊閿�鍞��娆�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateSalesRefundRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesReturn/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesReturn"
+ ],
+ "summary": "娣诲姞閿�鍞��璐�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddSalesReturnRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesReturn/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesReturn"
+ ],
+ "summary": "鍒犻櫎閿�鍞��璐�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesReturn/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesReturn"
+ ],
+ "summary": "鑾峰彇閿�鍞��璐у垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/salesReturn/update/{id}": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SalesReturn"
+ ],
+ "summary": "鏇存柊閿�鍞��璐�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateSalesReturnRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
"/api/salesSources/add": {
"post": {
"produces": [
@@ -2555,6 +4006,589 @@
"required": true,
"schema": {
"$ref": "#/definitions/request.UpdateSalesSourcesList"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/serviceContract/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "ServiceContract"
+ ],
+ "summary": "娣诲姞鏈嶅姟鍚堝悓",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddServiceContract"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/serviceContract/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "ServiceContract"
+ ],
+ "summary": "鍒犻櫎鏈嶅姟鍚堝悓",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/serviceContract/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "ServiceContract"
+ ],
+ "summary": "鏈嶅姟鍚堝悓鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.ServiceContractsResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/serviceContract/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "ServiceContract"
+ ],
+ "summary": "鏇存柊鏈嶅姟鍚堝悓",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateServiceContract"
+ }
+ }
+ ],
+ "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": [
+ "application/json"
+ ],
+ "tags": [
+ "ServiceFollowup"
+ ],
+ "summary": "娣诲姞鏈嶅姟璺熻繘",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddServiceFollowup"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/serviceFollowup/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "ServiceFollowup"
+ ],
+ "summary": "鍒犻櫎鏈嶅姟璺熻繘",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/serviceFollowup/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "ServiceFollowup"
+ ],
+ "summary": "鏈嶅姟璺熻繘鍒楄〃",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.ServiceFollowupResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/serviceFollowup/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "ServiceFollowup"
+ ],
+ "summary": "鏇存柊鏈嶅姟璺熻繘",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateServiceFollowup"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/status/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Status"
+ ],
+ "summary": "娣诲姞鐘舵��",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddStatus"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/status/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Status"
+ ],
+ "summary": "鍒犻櫎鐘舵��",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/status/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Status"
+ ],
+ "summary": "鐘舵�佸垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/status/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "Status"
+ ],
+ "summary": "鏇存柊鐘舵��",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateStatusList"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/subOrder/add": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SubOrder"
+ ],
+ "summary": "娣诲姞瀛愯鍗�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.AddSubOrder"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/subOrder/delete/{id}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SubOrder"
+ ],
+ "summary": "鍒犻櫎瀛愯鍗�",
+ "parameters": [
+ {
+ "type": "integer",
+ "description": "鏌ヨ鍙傛暟",
+ "name": "id",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/contextx.Response"
+ }
+ }
+ }
+ }
+ },
+ "/api/subOrder/list": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SubOrder"
+ ],
+ "summary": "鑾峰彇瀛愯鍗曞垪琛�",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/contextx.Response"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/response.SubOrderResponse"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "/api/subOrder/update": {
+ "put": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "SubOrder"
+ ],
+ "summary": "鏇存柊瀛愯鍗�",
+ "parameters": [
+ {
+ "description": "鏌ヨ鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.UpdateSubOrder"
}
}
],
@@ -2900,6 +4934,29 @@
}
}
},
+ "model.Authority": {
+ "type": "object",
+ "properties": {
+ "authorityName": {
+ "description": "瑙掕壊鍚�",
+ "type": "string"
+ },
+ "defaultRouter": {
+ "description": "榛樿鑿滃崟(榛樿dashboard)",
+ "type": "string"
+ },
+ "id": {
+ "description": "瑙掕壊ID",
+ "type": "integer"
+ },
+ "menus": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Menu"
+ }
+ }
+ }
+ },
"model.City": {
"type": "object",
"properties": {
@@ -2929,14 +4986,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"
@@ -3213,6 +5282,35 @@
}
}
},
+ "model.Contract": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "quotation": {
+ "$ref": "#/definitions/model.Quotation"
+ },
+ "quotationId": {
+ "type": "integer"
+ },
+ "statusId": {
+ "type": "integer"
+ }
+ }
+ },
"model.Country": {
"type": "object",
"properties": {
@@ -3227,6 +5325,32 @@
"items": {
"$ref": "#/definitions/model.Province"
}
+ }
+ }
+ },
+ "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"
}
}
},
@@ -3255,11 +5379,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"
@@ -3313,6 +5443,137 @@
}
}
},
+ "model.MasterOrder": {
+ "type": "object",
+ "properties": {
+ "client_id": {
+ "type": "integer"
+ },
+ "end_time": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "money": {
+ "type": "number"
+ },
+ "number": {
+ "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.Plan": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "content": {
+ "type": "string"
+ },
+ "endTime": {
+ "type": "string"
+ },
+ "file": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "salesDetails": {
+ "$ref": "#/definitions/model.SalesDetails"
+ },
+ "salesDetailsId": {
+ "type": "integer"
+ },
+ "startTime": {
+ "type": "string"
+ },
+ "subOrder": {
+ "$ref": "#/definitions/model.SubOrder"
+ },
+ "subOrderId": {
+ "type": "integer"
+ }
+ }
+ },
+ "model.Possibility": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "model.Product": {
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "integer"
+ },
+ "desc": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "number": {
+ "type": "string"
+ },
+ "price": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ }
+ },
"model.Province": {
"type": "object",
"properties": {
@@ -3330,6 +5591,50 @@
}
}
},
+ "model.Quotation": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
+ "client_id": {
+ "type": "integer"
+ },
+ "conditions": {
+ "type": "string"
+ },
+ "contact": {
+ "$ref": "#/definitions/model.Contact"
+ },
+ "contact_id": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "quotation_status_id": {
+ "type": "integer"
+ },
+ "sale_chance": {
+ "$ref": "#/definitions/model.SaleChance"
+ },
+ "sale_chance_id": {
+ "type": "integer"
+ },
+ "validity_date": {
+ "type": "string"
+ }
+ }
+ },
"model.Region": {
"type": "object",
"properties": {
@@ -3342,6 +5647,17 @@
}
},
"model.RegisteredCapital": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "model.RegularCustomers": {
"type": "object",
"properties": {
"id": {
@@ -3424,7 +5740,7 @@
"pain_points": {
"type": "string"
},
- "possibilities": {
+ "possibilities_id": {
"type": "integer"
},
"process": {
@@ -3496,6 +5812,59 @@
}
}
},
+ "model.SalesDetails": {
+ "type": "object",
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "addressee": {
+ "type": "string"
+ },
+ "clientId": {
+ "type": "integer"
+ },
+ "conditions": {
+ "type": "string"
+ },
+ "deliveryDate": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
+ "remark": {
+ "type": "string"
+ },
+ "saleChanceId": {
+ "type": "integer"
+ },
+ "saleType": {
+ "type": "integer"
+ },
+ "signTime": {
+ "type": "string"
+ },
+ "wechatOrderStatus": {
+ "type": "integer"
+ }
+ }
+ },
"model.SalesLeads": {
"type": "object",
"properties": {
@@ -3561,6 +5930,44 @@
}
}
},
+ "model.SalesRefund": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "integer"
+ },
+ "clientId": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "isInvoice": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
+ "reason": {
+ "type": "string"
+ },
+ "refundDate": {
+ "type": "string"
+ },
+ "refundMethod": {
+ "type": "string"
+ }
+ }
+ },
"model.SalesSources": {
"type": "object",
"properties": {
@@ -3572,9 +5979,177 @@
}
}
},
+ "model.ServiceContract": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "contactId": {
+ "type": "integer"
+ },
+ "contractId": {
+ "type": "integer"
+ },
+ "endTime": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
+ "quotationId": {
+ "type": "integer"
+ },
+ "remark": {
+ "type": "string"
+ },
+ "saleChanceId": {
+ "type": "integer"
+ },
+ "serviceTimes": {
+ "type": "integer"
+ },
+ "signTime": {
+ "type": "string"
+ },
+ "startTime": {
+ "type": "string"
+ },
+ "statusId": {
+ "type": "integer"
+ },
+ "terms": {
+ "type": "string"
+ },
+ "typeId": {
+ "type": "integer"
+ }
+ }
+ },
+ "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"
+ }
+ }
+ },
+ "model.ServiceFollowup": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "contactId": {
+ "type": "integer"
+ },
+ "customerServiceSheet": {
+ "$ref": "#/definitions/model.CustomerServiceSheet"
+ },
+ "file": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "isVisit": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "oldMemberId": {
+ "type": "integer"
+ },
+ "planId": {
+ "type": "integer"
+ },
+ "remark": {
+ "type": "string"
+ },
+ "satisfaction": {
+ "type": "integer"
+ },
+ "serviceId": {
+ "type": "integer"
+ },
+ "solveRate": {
+ "type": "integer"
+ },
+ "timelyRate": {
+ "type": "integer"
+ }
+ }
+ },
+ "model.SubOrder": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "masterOrderId": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ }
+ }
+ },
"model.User": {
"type": "object",
"properties": {
+ "authority": {
+ "$ref": "#/definitions/model.Authority"
+ },
+ "authorityId": {
+ "description": "鐢ㄦ埛瑙掕壊ID",
+ "type": "integer"
+ },
"companyName": {
"type": "string"
},
@@ -3634,6 +6209,20 @@
},
"username": {
"type": "string"
+ }
+ }
+ },
+ "request.AddAuthority": {
+ "type": "object",
+ "properties": {
+ "authorityName": {
+ "type": "string"
+ },
+ "casbinInfos": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.CasbinInfo"
+ }
}
}
},
@@ -3844,12 +6433,55 @@
}
}
},
+ "request.AddContract": {
+ "type": "object",
+ "properties": {
+ "client_id": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "quotation_id": {
+ "type": "integer"
+ },
+ "status_id": {
+ "type": "integer"
+ }
+ }
+ },
"request.AddCountry": {
"type": "object",
"properties": {
"name": {
"description": "鍥藉鍚嶇О",
"type": "string"
+ }
+ }
+ },
+ "request.AddCustomerServiceSheet": {
+ "type": "object",
+ "properties": {
+ "handleStatus": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "priority": {
+ "type": "integer"
+ },
+ "serviceMode": {
+ "type": "integer"
}
}
},
@@ -3897,11 +6529,117 @@
}
}
},
+ "request.AddMasterOrder": {
+ "type": "object",
+ "properties": {
+ "client_id": {
+ "type": "integer"
+ },
+ "end_time": {
+ "type": "string"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "money": {
+ "type": "string"
+ },
+ "number": {
+ "type": "string"
+ },
+ "start_time": {
+ "type": "string"
+ }
+ }
+ },
+ "request.AddOrderManage": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "contactId": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "number": {
+ "type": "string"
+ },
+ "orderType": {
+ "type": "integer"
+ },
+ "problemDescription": {
+ "type": "string"
+ },
+ "reportSourceId": {
+ "type": "integer"
+ },
+ "sourceSheet": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.AddPlan": {
+ "type": "object",
+ "properties": {
+ "plan": {
+ "$ref": "#/definitions/request.Plan"
+ }
+ }
+ },
+ "request.AddPossibility": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"request.AddProvince": {
"type": "object",
"properties": {
"name": {
"description": "鐪佷唤鍚嶇О",
+ "type": "string"
+ }
+ }
+ },
+ "request.AddQuotation": {
+ "type": "object",
+ "properties": {
+ "client_id": {
+ "type": "integer"
+ },
+ "conditions": {
+ "type": "string"
+ },
+ "contact_id": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "quotation_status_id": {
+ "type": "integer"
+ },
+ "sale_chance_id": {
+ "type": "integer"
+ },
+ "validity_date": {
"type": "string"
}
}
@@ -3916,6 +6654,17 @@
}
},
"request.AddRegisteredCapital": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.AddRegularCustomers": {
"type": "object",
"required": [
"name"
@@ -4046,6 +6795,14 @@
}
}
},
+ "request.AddSalesDetails": {
+ "type": "object",
+ "properties": {
+ "salesDetails": {
+ "$ref": "#/definitions/request.SalesDetails"
+ }
+ }
+ },
"request.AddSalesLeads": {
"type": "object",
"properties": {
@@ -4095,6 +6852,22 @@
}
}
},
+ "request.AddSalesRefundRequest": {
+ "type": "object",
+ "properties": {
+ "salesRefund": {
+ "$ref": "#/definitions/request.SalesRefund"
+ }
+ }
+ },
+ "request.AddSalesReturnRequest": {
+ "type": "object",
+ "properties": {
+ "salesReturn": {
+ "$ref": "#/definitions/request.SalesReturn"
+ }
+ }
+ },
"request.AddSalesSources": {
"type": "object",
"required": [
@@ -4102,6 +6875,158 @@
],
"properties": {
"name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.AddServiceContract": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "contactId": {
+ "type": "integer"
+ },
+ "contractId": {
+ "type": "integer"
+ },
+ "endTime": {
+ "type": "string"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
+ "quotationId": {
+ "type": "integer"
+ },
+ "remark": {
+ "type": "string"
+ },
+ "saleChanceId": {
+ "type": "integer"
+ },
+ "serviceTimes": {
+ "type": "integer"
+ },
+ "signTime": {
+ "type": "string"
+ },
+ "startTime": {
+ "type": "string"
+ },
+ "statusId": {
+ "type": "integer"
+ },
+ "terms": {
+ "type": "string"
+ },
+ "typeId": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.AddServiceFeeManage": {
+ "type": "object",
+ "properties": {
+ "client_id": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "latest_date": {
+ "type": "string"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "remark": {
+ "type": "string"
+ }
+ }
+ },
+ "request.AddServiceFollowup": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "contactId": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "isVisit": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "oldMemberId": {
+ "type": "integer"
+ },
+ "planId": {
+ "type": "integer"
+ },
+ "remark": {
+ "type": "string"
+ },
+ "satisfaction": {
+ "type": "integer"
+ },
+ "serviceId": {
+ "type": "integer"
+ },
+ "solveRate": {
+ "type": "integer"
+ },
+ "timelyRate": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.AddStatus": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.AddSubOrder": {
+ "type": "object",
+ "properties": {
+ "subOrder": {
+ "$ref": "#/definitions/request.SubOrder"
+ }
+ }
+ },
+ "request.CasbinInfo": {
+ "type": "object",
+ "properties": {
+ "method": {
+ "description": "鏂规硶",
+ "type": "string"
+ },
+ "path": {
+ "description": "璺緞",
"type": "string"
}
}
@@ -4145,6 +7070,102 @@
"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"
}
}
},
@@ -4317,6 +7338,38 @@
}
}
},
+ "request.Plan": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "content": {
+ "type": "string"
+ },
+ "endTime": {
+ "type": "string"
+ },
+ "file": {
+ "type": "string"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "salesDetailsId": {
+ "type": "integer"
+ },
+ "startTime": {
+ "type": "string"
+ },
+ "subOrderId": {
+ "type": "integer"
+ }
+ }
+ },
"request.Register": {
"type": "object",
"properties": {
@@ -4343,6 +7396,137 @@
"userName": {
"type": "string",
"example": "鐢ㄦ埛鍚�"
+ }
+ }
+ },
+ "request.SalesDetails": {
+ "type": "object",
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "addressee": {
+ "type": "string"
+ },
+ "clientId": {
+ "type": "integer"
+ },
+ "conditions": {
+ "type": "string"
+ },
+ "deliveryDate": {
+ "type": "string"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
+ "remark": {
+ "type": "string"
+ },
+ "saleChanceId": {
+ "type": "integer"
+ },
+ "saleType": {
+ "type": "integer"
+ },
+ "signTime": {
+ "type": "string"
+ },
+ "wechatOrderStatus": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.SalesRefund": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "integer"
+ },
+ "clientId": {
+ "type": "integer"
+ },
+ "isInvoice": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
+ "reason": {
+ "type": "string"
+ },
+ "refundDate": {
+ "type": "string"
+ },
+ "refundMethod": {
+ "type": "string"
+ }
+ }
+ },
+ "request.SalesReturn": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "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"
+ }
+ }
+ },
+ "request.SetAuthorityMenu": {
+ "type": "object",
+ "properties": {
+ "authorityId": {
+ "type": "integer"
+ },
+ "menus": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
}
}
},
@@ -4390,6 +7574,29 @@
"type": "array",
"items": {
"type": "integer"
+ }
+ }
+ }
+ },
+ "request.SubOrder": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "masterOrderId": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "product": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
}
}
}
@@ -4700,6 +7907,32 @@
}
}
},
+ "request.UpdateContract": {
+ "type": "object",
+ "properties": {
+ "client_id": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "quotation_id": {
+ "type": "integer"
+ },
+ "status_id": {
+ "type": "integer"
+ }
+ }
+ },
"request.UpdateCountry": {
"type": "object",
"properties": {
@@ -4710,6 +7943,29 @@
"name": {
"description": "鍥藉鍚嶇О",
"type": "string"
+ }
+ }
+ },
+ "request.UpdateCustomerServiceSheet": {
+ "type": "object",
+ "properties": {
+ "handleStatus": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "priority": {
+ "type": "integer"
+ },
+ "serviceMode": {
+ "type": "integer"
}
}
},
@@ -4808,6 +8064,107 @@
}
}
},
+ "request.UpdateMasterOrder": {
+ "type": "object",
+ "properties": {
+ "client_id": {
+ "type": "integer"
+ },
+ "end_time": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "money": {
+ "type": "string"
+ },
+ "number": {
+ "type": "string"
+ },
+ "start_time": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateOrderManage": {
+ "type": "object",
+ "properties": {
+ "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"
+ }
+ }
+ },
+ "request.UpdatePlan": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "plan": {
+ "$ref": "#/definitions/request.Plan"
+ }
+ }
+ },
+ "request.UpdatePossibilities": {
+ "type": "object",
+ "required": [
+ "possibilities"
+ ],
+ "properties": {
+ "possibilities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.UpdatePossibility"
+ }
+ }
+ }
+ },
+ "request.UpdatePossibility": {
+ "type": "object",
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"request.UpdateProvince": {
"type": "object",
"properties": {
@@ -4830,6 +8187,41 @@
"items": {
"$ref": "#/definitions/request.UpdateProvince"
}
+ }
+ }
+ },
+ "request.UpdateQuotation": {
+ "type": "object",
+ "properties": {
+ "client_id": {
+ "type": "integer"
+ },
+ "conditions": {
+ "type": "string"
+ },
+ "contact_id": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "quotation_status_id": {
+ "type": "integer"
+ },
+ "sale_chance_id": {
+ "type": "integer"
+ },
+ "validity_date": {
+ "type": "string"
}
}
},
@@ -4880,6 +8272,35 @@
"type": "array",
"items": {
"$ref": "#/definitions/request.UpdateRegisteredCapital"
+ }
+ }
+ }
+ },
+ "request.UpdateRegularCustomers": {
+ "type": "object",
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateRegularCustomersList": {
+ "type": "object",
+ "required": [
+ "regularCustomers"
+ ],
+ "properties": {
+ "regularCustomers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.UpdateRegularCustomers"
}
}
}
@@ -5046,6 +8467,17 @@
}
}
},
+ "request.UpdateSalesDetails": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "salesDetails": {
+ "$ref": "#/definitions/request.SalesDetails"
+ }
+ }
+ },
"request.UpdateSalesLeads": {
"type": "object",
"properties": {
@@ -5098,6 +8530,52 @@
}
}
},
+ "request.UpdateSalesRefundRequest": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "salesRefund": {
+ "$ref": "#/definitions/request.SalesRefund"
+ }
+ }
+ },
+ "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"
+ }
+ }
+ },
"request.UpdateSalesSources": {
"type": "object",
"required": [
@@ -5120,6 +8598,193 @@
"type": "array",
"items": {
"$ref": "#/definitions/request.UpdateSalesSources"
+ }
+ }
+ }
+ },
+ "request.UpdateServiceContract": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "contactId": {
+ "type": "integer"
+ },
+ "contractId": {
+ "type": "integer"
+ },
+ "endTime": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "products": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
+ }
+ },
+ "quotationId": {
+ "type": "integer"
+ },
+ "remark": {
+ "type": "string"
+ },
+ "saleChanceId": {
+ "type": "integer"
+ },
+ "serviceTimes": {
+ "type": "integer"
+ },
+ "signTime": {
+ "type": "string"
+ },
+ "startTime": {
+ "type": "string"
+ },
+ "statusId": {
+ "type": "integer"
+ },
+ "terms": {
+ "type": "string"
+ },
+ "typeId": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.UpdateServiceFeeManage": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "$ref": "#/definitions/request.Client"
+ },
+ "client_id": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "latest_date": {
+ "type": "string"
+ },
+ "member_id": {
+ "type": "integer"
+ },
+ "remark": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateServiceFollowup": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "contactId": {
+ "type": "integer"
+ },
+ "file": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "isVisit": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "oldMemberId": {
+ "type": "integer"
+ },
+ "planId": {
+ "type": "integer"
+ },
+ "remark": {
+ "type": "string"
+ },
+ "satisfaction": {
+ "type": "integer"
+ },
+ "serviceId": {
+ "type": "integer"
+ },
+ "solveRate": {
+ "type": "integer"
+ },
+ "timelyRate": {
+ "type": "integer"
+ }
+ }
+ },
+ "request.UpdateStatus": {
+ "type": "object",
+ "required": [
+ "id",
+ "name"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "request.UpdateStatusList": {
+ "type": "object",
+ "required": [
+ "list"
+ ],
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.UpdateStatus"
+ }
+ }
+ }
+ },
+ "request.UpdateSubOrder": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "masterOrderId": {
+ "type": "integer"
+ },
+ "memberId": {
+ "type": "integer"
+ },
+ "number": {
+ "type": "string"
+ },
+ "product": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Product"
}
}
}
@@ -5201,6 +8866,17 @@
}
}
},
+ "response.ContractResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Contract"
+ }
+ }
+ }
+ },
"response.CountryResponse": {
"type": "object",
"properties": {
@@ -5208,6 +8884,123 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.Country"
+ }
+ }
+ }
+ },
+ "response.DataResponse": {
+ "type": "object",
+ "properties": {
+ "city": {
+ "description": "鍩庡競鏁版嵁",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.City"
+ }
+ },
+ "client_level": {
+ "description": "瀹㈡埛绛夌骇",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ClientLevel"
+ }
+ },
+ "client_origin": {
+ "description": "瀹㈡埛鏉ユ簮",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ClientOrigin"
+ }
+ },
+ "client_status": {
+ "description": "瀹㈡埛鐘舵��",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ClientStatus"
+ }
+ },
+ "client_type": {
+ "description": "瀹㈡埛绫诲瀷",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ClientType"
+ }
+ },
+ "country": {
+ "description": "鍥藉鏁版嵁",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Country"
+ }
+ },
+ "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"
+ }
+ },
+ "province": {
+ "description": "鐪佷唤鏁版嵁",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Province"
+ }
+ },
+ "region": {
+ "description": "鍖哄煙鏁版嵁",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Region"
+ }
+ },
+ "registered_capital": {
+ "description": "娉ㄥ唽璧勯噾",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.RegisteredCapital"
+ }
+ },
+ "regular_customers": {
+ "description": "鑰佸鎴疯惀閿�",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.RegularCustomers"
+ }
+ },
+ "sale_stage": {
+ "description": "閿�鍞樁娈�",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SaleStage"
+ }
+ },
+ "sale_type": {
+ "description": "閿�鍞被鍨�",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SaleType"
+ }
+ },
+ "sales_source": {
+ "description": "鍟嗘満鏉ユ簮",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SalesSources"
}
}
}
@@ -5270,6 +9063,28 @@
}
}
},
+ "response.MasterOrderResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.MasterOrder"
+ }
+ }
+ }
+ },
+ "response.MenuTreeResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Menu"
+ }
+ }
+ }
+ },
"response.PageResult": {
"type": "object",
"properties": {
@@ -5285,6 +9100,28 @@
}
}
},
+ "response.PlanResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Plan"
+ }
+ }
+ }
+ },
+ "response.PossibilityResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Possibility"
+ }
+ }
+ }
+ },
"response.ProvinceResponse": {
"type": "object",
"properties": {
@@ -5296,6 +9133,17 @@
}
}
},
+ "response.QuotationResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Quotation"
+ }
+ }
+ }
+ },
"response.RegisteredCapitalResponse": {
"type": "object",
"properties": {
@@ -5303,6 +9151,17 @@
"type": "array",
"items": {
"$ref": "#/definitions/model.RegisteredCapital"
+ }
+ }
+ }
+ },
+ "response.RegularCustomersResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.RegularCustomers"
}
}
}
@@ -5340,6 +9199,17 @@
}
}
},
+ "response.SalesDetailsResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SalesDetails"
+ }
+ }
+ }
+ },
"response.SalesLeadsResponse": {
"type": "object",
"properties": {
@@ -5351,6 +9221,17 @@
}
}
},
+ "response.SalesRefundResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SalesRefund"
+ }
+ }
+ }
+ },
"response.SalesSourceResponse": {
"type": "object",
"properties": {
@@ -5362,6 +9243,50 @@
}
}
},
+ "response.ServiceContractsResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ServiceContract"
+ }
+ }
+ }
+ },
+ "response.ServiceFeeManageResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ServiceFeeManage"
+ }
+ }
+ }
+ },
+ "response.ServiceFollowupResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.ServiceFollowup"
+ }
+ }
+ }
+ },
+ "response.SubOrderResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.SubOrder"
+ }
+ }
+ }
+ },
"response.UserResponse": {
"type": "object",
"properties": {
--
Gitblit v1.8.0