|
@@ -0,0 +1,2813 @@
|
|
|
+{
|
|
|
+ "openapi": "3.0.1",
|
|
|
+ "info": {
|
|
|
+ "title": "小小egAPI接口文档",
|
|
|
+ "description": "小小egAPI接口文档",
|
|
|
+ "contact": {
|
|
|
+ "name": "xxeg"
|
|
|
+ },
|
|
|
+ "version": "1.0"
|
|
|
+ },
|
|
|
+ "servers": [
|
|
|
+ {
|
|
|
+ "url": "http://localhost:8501",
|
|
|
+ "description": "Generated server url"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "paths": {
|
|
|
+ "/admin/system/sysUser/updateSysUser": {
|
|
|
+ "put": {
|
|
|
+ "tags": [
|
|
|
+ "sys-user-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "updateSysUser",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/SysUser"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysRole/updateSysRole": {
|
|
|
+ "put": {
|
|
|
+ "tags": [
|
|
|
+ "sys-role-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "updateSysRole",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/SysRole"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysMenu/updateById": {
|
|
|
+ "put": {
|
|
|
+ "tags": [
|
|
|
+ "sys-menu-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "updateById",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/SysMenu"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/productSpec/updateById": {
|
|
|
+ "put": {
|
|
|
+ "tags": [
|
|
|
+ "product-spec-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "updateById_1",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ProductSpec"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/product/updateById": {
|
|
|
+ "put": {
|
|
|
+ "tags": [
|
|
|
+ "product-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "updateById_2",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Product"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/categoryBrand/updateById": {
|
|
|
+ "put": {
|
|
|
+ "tags": [
|
|
|
+ "category-brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "updateById_3",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/CategoryBrand"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/brand/updateById": {
|
|
|
+ "put": {
|
|
|
+ "tags": [
|
|
|
+ "brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "updateById_4",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Brand"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysUser/saveSysUser": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "sys-user-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "saveSysUser",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/SysUser"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysRoleUser/doAssign": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "sys-role-user-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "doAssign",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/AssginRoleDto"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysRoleMenu/doAssign": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "sys-role-menu-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "doAssign_1",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/AssginMenuDto"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysRole/saveSysRole": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "sys-role-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "saveSysRole",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/SysRole"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysRole/findByPage/{pageNum}/{pageSize}": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "sys-role-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findByPage",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "sysRoleDto",
|
|
|
+ "in": "query",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/SysRoleDto"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "pageNum",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "pageSize",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultPageInfoSysRole"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysMenu/save": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "sys-menu-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "save",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/SysMenu"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/index/login": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "用户接口"
|
|
|
+ ],
|
|
|
+ "summary": "登录接口",
|
|
|
+ "operationId": "login",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/LoginDto"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultLoginVo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/fileUpload": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "file-upload-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "fileUploadService",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "required": [
|
|
|
+ "file"
|
|
|
+ ],
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "file": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "binary"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultString"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/productSpec/save": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "product-spec-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "save_1",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ProductSpec"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/product/save": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "product-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "save_2",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Product"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/categoryBrand/save": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "category-brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "save_3",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/CategoryBrand"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/category/importData": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "category-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "importData",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "file",
|
|
|
+ "in": "query",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "binary"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/brand/save": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "save_4",
|
|
|
+ "requestBody": {
|
|
|
+ "content": {
|
|
|
+ "application/json": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Brand"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": true
|
|
|
+ },
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysUser/findByPage/{pageNum}/{pageSize}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "sys-user-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findByPage_1",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "sysUserDto",
|
|
|
+ "in": "query",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/SysUserDto"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "pageNum",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "pageSize",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultPageInfoSysRole"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysRoleMenu/findSysRoleMenuByRoleId/{roleId}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "sys-role-menu-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findSysRoleMenuByRoleId",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "roleId",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultMapStringObject"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysRole/findAllRoles": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "sys-role-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findAllRoles",
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultMapStringObject"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysRole/findAllRoles/{userId}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "sys-role-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findAllRoles_1",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "userId",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultMapStringObject"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysMenu/findNodes": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "sys-menu-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findNodes",
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultListSysMenu"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/index/menus": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "用户接口"
|
|
|
+ ],
|
|
|
+ "operationId": "menus",
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/index/logout": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "用户接口"
|
|
|
+ ],
|
|
|
+ "operationId": "logout",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "token",
|
|
|
+ "in": "header",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/index/getUserInfo": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "用户接口"
|
|
|
+ ],
|
|
|
+ "operationId": "getUserInfo",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "token",
|
|
|
+ "in": "header",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultSysUser"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/index/generateValidateCode": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "用户接口"
|
|
|
+ ],
|
|
|
+ "operationId": "generateValidateCode",
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultValidateCodeVo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/productUnit/findAll": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "product-unit-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findAll",
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultListProductUnit"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/productSpec/{page}/{limit}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "product-spec-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findByPage_2",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "page",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "limit",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultPageInfoProductSpec"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/productSpec/findAll": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "product-spec-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findAll_1",
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/product/{page}/{limit}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "product-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findByPage_3",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "page",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "limit",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "productDto",
|
|
|
+ "in": "query",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ProductDto"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultPageInfoProduct"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/product/updateStatus/{id}/{status}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "product-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "updateStatus",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "status",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/product/updateAuditStatus/{id}/{auditStatus}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "product-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "updateAuditStatus",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "auditStatus",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/product/getById/{id}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "product-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "getById",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultProduct"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/categoryBrand/{page}/{limit}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "category-brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findByPage_4",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "page",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "limit",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "CategoryBrandDto",
|
|
|
+ "in": "query",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/CategoryBrandDto"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultPageInfoCategoryBrand"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/categoryBrand/findBrandByCategoryId/{categoryId}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "category-brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findBrandByCategoryId",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "categoryId",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/category/findByParentId/{parentId}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "category-controller"
|
|
|
+ ],
|
|
|
+ "summary": "根据parentId获取下级节点",
|
|
|
+ "operationId": "findByParentId",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "parentId",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultListCategory"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/category/exportData": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "category-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "exportData",
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/brand/{page}/{limit}": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findByPage_5",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "page",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "limit",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultPageInfoBrand"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/brand/findAll": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "findAll_2",
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/order/orderInfo/getOrderStatisticsData": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "order-info-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "getOrderStatisticsData",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "orderStatisticsDto",
|
|
|
+ "in": "query",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/OrderStatisticsDto"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/ResultOrderStatisticsVo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysUser/deleteById/{userId}": {
|
|
|
+ "delete": {
|
|
|
+ "tags": [
|
|
|
+ "sys-user-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "deleteById",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "userId",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysRole/deleteById/{roleId}": {
|
|
|
+ "delete": {
|
|
|
+ "tags": [
|
|
|
+ "sys-role-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "deleteById_1",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "roleId",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/system/sysMenu/removeById/{id}": {
|
|
|
+ "delete": {
|
|
|
+ "tags": [
|
|
|
+ "sys-menu-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "removeById",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/productSpec/deleteById/{id}": {
|
|
|
+ "delete": {
|
|
|
+ "tags": [
|
|
|
+ "product-spec-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "removeById_1",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/product/deleteById/{id}": {
|
|
|
+ "delete": {
|
|
|
+ "tags": [
|
|
|
+ "product-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "deleteById_2",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "path",
|
|
|
+ "description": "商品id",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/categoryBrand/deleteById/{id}": {
|
|
|
+ "delete": {
|
|
|
+ "tags": [
|
|
|
+ "category-brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "deleteById_3",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/admin/product/brand/deleteById/{id}": {
|
|
|
+ "delete": {
|
|
|
+ "tags": [
|
|
|
+ "brand-controller"
|
|
|
+ ],
|
|
|
+ "operationId": "deleteById_4",
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "id",
|
|
|
+ "in": "path",
|
|
|
+ "required": true,
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "OK",
|
|
|
+ "content": {
|
|
|
+ "*/*": {
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/components/schemas/Result"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "components": {
|
|
|
+ "schemas": {
|
|
|
+ "SysUser": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "userName": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "password": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "name": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "phone": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "avatar": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "description": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "Result": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "type": "object"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "SysRole": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "roleName": {
|
|
|
+ "type": "string",
|
|
|
+ "description": "角色名称"
|
|
|
+ },
|
|
|
+ "roleCode": {
|
|
|
+ "type": "string",
|
|
|
+ "description": "角色编码"
|
|
|
+ },
|
|
|
+ "description": {
|
|
|
+ "type": "string",
|
|
|
+ "description": "描述"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "description": "SysRole"
|
|
|
+ },
|
|
|
+ "SysMenu": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "parentId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "title": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "component": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "sortValue": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "children": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/SysMenu"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ProductSpec": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "specName": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "specValue": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "Product": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "name": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "brandId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "category1Id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "category2Id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "category3Id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "unitName": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "sliderUrls": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "specValue": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "auditStatus": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "auditMessage": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "brandName": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "category1Name": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "category2Name": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "category3Name": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "productSkuList": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/ProductSku"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "detailsImageUrls": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "description": "请求参数实体类"
|
|
|
+ },
|
|
|
+ "ProductSku": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "skuCode": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "skuName": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "productId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "thumbImg": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "salePrice": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "marketPrice": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "costPrice": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "stockNum": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "saleNum": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "skuSpec": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "weight": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "volume": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "CategoryBrand": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "brandId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "categoryId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "categoryName": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "brandName": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "logo": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "Brand": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "name": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "logo": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "AssginRoleDto": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "userId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "roleIdList": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "AssginMenuDto": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "roleId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "menuIdList": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "object",
|
|
|
+ "additionalProperties": {
|
|
|
+ "type": "number"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "SysRoleDto": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "roleName": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "PageInfoSysRole": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "total": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "list": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/SysRole"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pageNum": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "pageSize": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "size": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "startRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "endRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "pages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "prePage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "nextPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "isFirstPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "isLastPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasPreviousPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasNextPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "navigatePages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigatepageNums": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "navigateFirstPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigateLastPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultPageInfoSysRole": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/PageInfoSysRole"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "LoginDto": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "userName": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "password": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "captcha": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "codeKey": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "LoginVo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "token": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "refresh_token": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultLoginVo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/LoginVo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultString": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "SysUserDto": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "keyword": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "createTimeBegin": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "createTimeEnd": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultMapStringObject": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "type": "object",
|
|
|
+ "additionalProperties": {
|
|
|
+ "type": "object"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultListSysMenu": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/SysMenu"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultSysUser": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/SysUser"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultValidateCodeVo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/ValidateCodeVo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ValidateCodeVo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "codeKey": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "codeValue": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ProductUnit": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "name": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultListProductUnit": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/ProductUnit"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "PageInfoProductSpec": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "total": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "list": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/ProductSpec"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pageNum": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "pageSize": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "size": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "startRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "endRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "pages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "prePage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "nextPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "isFirstPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "isLastPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasPreviousPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasNextPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "navigatePages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigatepageNums": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "navigateFirstPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigateLastPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultPageInfoProductSpec": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/PageInfoProductSpec"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ProductDto": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "brandId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "category1Id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "category2Id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "category3Id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "PageInfoProduct": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "total": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "list": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/Product"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pageNum": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "pageSize": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "size": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "startRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "endRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "pages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "prePage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "nextPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "isFirstPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "isLastPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasPreviousPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasNextPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "navigatePages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigatepageNums": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "navigateFirstPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigateLastPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultPageInfoProduct": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/PageInfoProduct"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultProduct": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/Product"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "CategoryBrandDto": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "brandId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "categoryId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "PageInfoCategoryBrand": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "total": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "list": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/CategoryBrand"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pageNum": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "pageSize": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "size": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "startRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "endRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "pages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "prePage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "nextPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "isFirstPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "isLastPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasPreviousPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasNextPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "navigatePages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigatepageNums": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "navigateFirstPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigateLastPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultPageInfoCategoryBrand": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/PageInfoCategoryBrand"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "Category": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "createTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "updateTime": {
|
|
|
+ "type": "string",
|
|
|
+ "format": "date-time"
|
|
|
+ },
|
|
|
+ "isDeleted": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "name": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "imageUrl": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "parentId": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "orderNum": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "hasChildren": {
|
|
|
+ "type": "boolean"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultListCategory": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/Category"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "PageInfoBrand": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "total": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "list": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/Brand"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pageNum": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "pageSize": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "size": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "startRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "endRow": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int64"
|
|
|
+ },
|
|
|
+ "pages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "prePage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "nextPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "isFirstPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "isLastPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasPreviousPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "hasNextPage": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "navigatePages": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigatepageNums": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "navigateFirstPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "navigateLastPage": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultPageInfoBrand": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/PageInfoBrand"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "OrderStatisticsDto": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "createTimeBegin": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "createTimeEnd": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "OrderStatisticsVo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "dateList": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "amountList": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "number"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "ResultOrderStatisticsVo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "code": {
|
|
|
+ "type": "integer",
|
|
|
+ "format": "int32"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "data": {
|
|
|
+ "$ref": "#/components/schemas/OrderStatisticsVo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|