From 99206c8d2d2579cf94a47166a1bf202b9290b822 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 13 十月 2023 17:05:48 +0800 Subject: [PATCH] bug修改2 --- docs/docs.go | 495 +----------------------------------------------------- 1 files changed, 11 insertions(+), 484 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 795c9c9..ab2884d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -404,79 +404,6 @@ } } }, - "/api/base/captcha": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "Base" - ], - "summary": "鑾峰彇楠岃瘉鐮�", - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.LoginResponse" - } - } - } - ] - } - } - } - } - }, - "/api/base/login": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "Base" - ], - "summary": "鐢ㄦ埛鐧诲綍", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.Login" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.LoginResponse" - } - } - } - ] - } - } - } - } - }, "/api/city/add": { "post": { "produces": [ @@ -9775,259 +9702,6 @@ } } }, - "/api/user/changePassword": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鐢ㄦ埛淇敼瀵嗙爜", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangePasswordReq" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/deleteUser": { - "delete": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鍒犻櫎鐢ㄦ埛", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.DeleteUserReq" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/getUserInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鑾峰彇鑷韩淇℃伅", - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/getUserList": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃(涓嶄紶鍒嗛〉鍙傛暟锛岃幏鍙栧叏閮�)", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.GetUserList" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.PageResult" - } - } - } - ] - } - } - } - } - }, - "/api/user/register": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "娉ㄥ唽璐﹀彿", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.Register" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.UserResponse" - } - } - } - ] - } - } - } - } - }, - "/api/user/resetPassword": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "閲嶇疆鐢ㄦ埛瀵嗙爜", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/model.User" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/setSelfInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "璁剧疆鐢ㄦ埛淇℃伅", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangeUserInfo" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/setUserInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "璁剧疆鐢ㄦ埛淇℃伅", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangeUserInfo" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, "/api/vetting/add": { "post": { "produces": [ @@ -11892,6 +11566,9 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "type": "string" }, "quotation_status": { "$ref": "#/definitions/model.QuotationStatus" @@ -14089,6 +13766,10 @@ "$ref": "#/definitions/model.Product" } }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" + }, "quotation_status_id": { "type": "integer" }, @@ -15145,48 +14826,6 @@ } } }, - "request.ChangePasswordReq": { - "type": "object", - "properties": { - "newPassword": { - "description": "鏂板瘑鐮�", - "type": "string" - }, - "password": { - "description": "瀵嗙爜", - "type": "string" - } - } - }, - "request.ChangeUserInfo": { - "type": "object", - "properties": { - "email": { - "description": "鐢ㄦ埛閭", - "type": "string" - }, - "headerImg": { - "description": "鐢ㄦ埛澶村儚", - "type": "string" - }, - "id": { - "description": "鐢ㄦ埛ID", - "type": "string" - }, - "nickName": { - "description": "鐢ㄦ埛鏄电О", - "type": "string" - }, - "phone": { - "description": "鐢ㄦ埛鎵嬫満鍙�", - "type": "string" - }, - "pos": { - "description": "鐢ㄦ埛宀椾綅", - "type": "string" - } - } - }, "request.CheckClientName": { "type": "object", "properties": { @@ -15420,15 +15059,6 @@ "items": { "type": "integer" } - } - } - }, - "request.DeleteUserReq": { - "type": "object", - "properties": { - "userId": { - "description": "鐢ㄦ埛ID", - "type": "string" } } }, @@ -15966,44 +15596,6 @@ } } }, - "request.GetUserList": { - "type": "object", - "properties": { - "keyword": { - "description": "妯$硦鏌ヨ鍏抽敭瀛�", - "type": "string" - }, - "page": { - "description": "椤电爜", - "type": "integer" - }, - "pageSize": { - "description": "姣忛〉澶у皬", - "type": "integer" - } - } - }, - "request.Login": { - "type": "object", - "properties": { - "captcha": { - "description": "楠岃瘉鐮�", - "type": "string" - }, - "captchaId": { - "description": "楠岃瘉鐮両D", - "type": "string" - }, - "password": { - "description": "瀵嗙爜", - "type": "string" - }, - "username": { - "description": "鐢ㄦ埛鍚�", - "type": "string" - } - } - }, "request.Plan": { "type": "object", "properties": { @@ -16067,52 +15659,6 @@ "$ref": "#/definitions/constvar.SalesStatus" } ] - } - } - }, - "request.Register": { - "type": "object", - "properties": { - "authorityId": { - "description": "鐢ㄦ埛瑙掕壊ID", - "type": "integer" - }, - "departmentId": { - "type": "integer" - }, - "email": { - "type": "string" - }, - "headerImg": { - "type": "string" - }, - "id": { - "type": "string" - }, - "nickName": { - "type": "string" - }, - "password": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "pos": { - "type": "string" - }, - "rePassword": { - "description": "纭瀵嗙爜", - "type": "string" - }, - "realName": { - "type": "string" - }, - "userType": { - "$ref": "#/definitions/constvar.UserType" - }, - "username": { - "type": "string" } } }, @@ -17368,6 +16914,10 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" }, "quotation_status_id": { "type": "integer" @@ -19255,21 +18805,6 @@ } } }, - "response.PageResult": { - "type": "object", - "properties": { - "list": {}, - "page": { - "type": "integer" - }, - "pageSize": { - "type": "integer" - }, - "total": { - "type": "integer" - } - } - }, "response.PlanResponse": { "type": "object", "properties": { @@ -19597,14 +19132,6 @@ "items": { "$ref": "#/definitions/model.TimelyRate" } - } - } - }, - "response.UserResponse": { - "type": "object", - "properties": { - "user": { - "$ref": "#/definitions/model.User" } } } -- Gitblit v1.8.0