{ "swagger": "2.0", "info": { "description": "后台API接口", "version": "1.0", "title": "后台服务API接口文档", "contact": { "name": "*********有限公司", "url": "*********有限公司", "email": "*********@qq.com" } }, "host": "127.0.0.1", "tags": [ { "name": "个人中心", "x-order": "2147483647" }, { "name": "公共配置接口", "x-order": "2147483647" }, { "name": "授权登录", "x-order": "2147483647" }, { "name": "订单接口", "x-order": "2147483647" }, { "name": "购物车相关接口", "x-order": "2147483647" }, { "name": "首页接口", "x-order": "2147483647" } ], "paths": { "/building-admin/all_login/appletLogin": { "get": { "tags": [ "授权登录" ], "summary": "微信小程序授权登录", "description": "微信小程序授权登录", "operationId": "appletLoginUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "code", "in": "query", "description": "参数信息", "required": false, "type": "string" }, { "name": "encryptedData", "in": "query", "description": "解密", "required": false, "type": "string" }, { "name": "headimgurl", "in": "query", "description": "用户头像", "required": false, "type": "string" }, { "name": "id", "in": "query", "description": "标识", "required": false, "type": "string" }, { "name": "iv", "in": "query", "description": "解密标签", "required": false, "type": "string" }, { "name": "nickName", "in": "query", "description": "用户姓名", "required": false, "type": "string" }, { "name": "openid", "in": "query", "description": "用户唯一标识", "required": false, "type": "string" }, { "name": "session_key", "in": "query", "description": "会话密钥", "required": false, "type": "string" }, { "name": "shareId", "in": "query", "description": "邀请者销售标识", "required": false, "type": "string" }, { "name": "state", "in": "query", "description": "类型", "required": false, "type": "string" }, { "name": "vid", "in": "query", "description": "参数信息", "required": false, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/all_login/bindPhone": { "get": { "tags": [ "授权登录" ], "summary": "绑定手机号码", "description": "绑定手机号码", "operationId": "bindPhoneUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "code", "in": "query", "description": "code", "required": false, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/cat/addCart": { "get": { "tags": [ "购物车相关接口" ], "summary": "加入购物车 传入token shopId num", "description": "加入购物车 传入token shopId num", "operationId": "addCartUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "num", "in": "query", "description": "num", "required": false, "type": "integer", "format": "int32" }, { "name": "shopId", "in": "query", "description": "shopId", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/cat/deleteCart": { "post": { "tags": [ "购物车相关接口" ], "summary": "删除购物车信息", "description": "删除购物车信息", "operationId": "deleteCartUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "ids", "in": "query", "description": "ids", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/cat/getCartPageList": { "get": { "tags": [ "购物车相关接口" ], "summary": "获取购物车信息列表带分页", "description": "获取购物车信息列表带分页", "operationId": "getCartPageListUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "pageNo", "in": "query", "description": "当前页", "required": false, "type": "integer", "format": "int32" }, { "name": "pageSize", "in": "query", "description": "显示条数", "required": false, "type": "integer", "format": "int32" }, { "name": "title", "in": "query", "description": "搜索标题", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/cat/updateCartNum": { "post": { "tags": [ "购物车相关接口" ], "summary": "修改购物车信息数量", "description": "修改购物车信息数量", "operationId": "updateCartNumUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "id", "in": "query", "description": "id", "required": false, "type": "string" }, { "name": "num", "in": "query", "description": "num", "required": false, "type": "integer", "format": "int32" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/conf/getConfig": { "get": { "tags": [ "公共配置接口" ], "summary": "获取平台基础配置", "description": "获取平台基础配置", "operationId": "getConfigUsingGET", "produces": [ "*/*" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/addOrder": { "post": { "tags": [ "首页接口" ], "summary": "快捷下单-拍照下单/语音下单", "description": "快捷下单-拍照下单/语音下单", "operationId": "addOrderUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "commonShop[0].cityId", "in": "query", "description": "城市", "required": false, "type": "string" }, { "name": "commonShop[0].createBy", "in": "query", "description": "创建人", "required": false, "type": "string" }, { "name": "commonShop[0].createTime", "in": "query", "description": "创建日期", "required": false, "type": "string", "format": "date-time" }, { "name": "commonShop[0].details", "in": "query", "description": "x详情富文本", "required": false, "type": "string" }, { "name": "commonShop[0].id", "in": "query", "description": "主键", "required": false, "type": "string" }, { "name": "commonShop[0].image", "in": "query", "description": "商品图片", "required": false, "type": "string" }, { "name": "commonShop[0].isOpen", "in": "query", "description": "是否上架", "required": false, "type": "string" }, { "name": "commonShop[0].material", "in": "query", "description": "材料", "required": false, "type": "string" }, { "name": "commonShop[0].name", "in": "query", "description": "商品标题", "required": false, "type": "string" }, { "name": "commonShop[0].num", "in": "query", "description": "库存", "required": false, "type": "integer", "format": "int32" }, { "name": "commonShop[0].oneMoney", "in": "query", "description": "直接推荐佣金", "required": false, "type": "number" }, { "name": "commonShop[0].parameter", "in": "query", "description": "参数", "required": false, "type": "string" }, { "name": "commonShop[0].payNum", "in": "query", "description": "购买量", "required": false, "type": "integer", "format": "int32" }, { "name": "commonShop[0].price", "in": "query", "description": "价格", "required": false, "type": "number" }, { "name": "commonShop[0].service", "in": "query", "description": "服务", "required": false, "type": "string" }, { "name": "commonShop[0].shopCion", "in": "query", "description": "所属区域", "required": false, "type": "string" }, { "name": "commonShop[0].shopClass", "in": "query", "description": "商品分类", "required": false, "type": "string" }, { "name": "commonShop[0].twoMoney", "in": "query", "description": "间接推荐佣金", "required": false, "type": "number" }, { "name": "commonShop[0].unit", "in": "query", "description": "单位", "required": false, "type": "string" }, { "name": "commonShop[0].updateBy", "in": "query", "description": "更新人", "required": false, "type": "string" }, { "name": "commonShop[0].updateTime", "in": "query", "description": "更新日期", "required": false, "type": "string", "format": "date-time" }, { "name": "createBy", "in": "query", "description": "创建人", "required": false, "type": "string" }, { "name": "createTime", "in": "query", "description": "创建日期", "required": false, "type": "string", "format": "date-time" }, { "name": "id", "in": "query", "description": "主键", "required": false, "type": "string" }, { "name": "imageUrl", "in": "query", "description": "内容图片", "required": false, "type": "string" }, { "name": "isPay", "in": "query", "description": "是否支付", "required": false, "type": "string" }, { "name": "shopId", "in": "query", "description": "推荐商品", "required": false, "type": "string" }, { "name": "status", "in": "query", "description": "审核状态", "required": false, "type": "string" }, { "name": "type", "in": "query", "description": "类型", "required": false, "type": "string" }, { "name": "updateBy", "in": "query", "description": "更新人", "required": false, "type": "string" }, { "name": "updateTime", "in": "query", "description": "更新日期", "required": false, "type": "string", "format": "date-time" }, { "name": "userId", "in": "query", "description": "提交用户", "required": false, "type": "string" }, { "name": "voiceUrl", "in": "query", "description": "语音图片", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/cancelOrder": { "post": { "tags": [ "首页接口" ], "summary": "取消快捷订单", "description": "取消快捷订单", "operationId": "cancelOrderUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "orderId", "in": "query", "description": "orderId", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/createOrder": { "post": { "tags": [ "首页接口" ], "summary": "创建订单", "description": "创建订单", "operationId": "createOrderUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "addressId", "in": "query", "description": "addressId", "required": false, "type": "string" }, { "name": "orderNum", "in": "query", "description": "orderNum", "required": false, "type": "integer", "format": "int32" }, { "name": "payType", "in": "query", "description": "payType", "required": false, "type": "integer", "format": "int32" }, { "name": "productId", "in": "query", "description": "productId", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/getAddOrderInfo": { "get": { "tags": [ "首页接口" ], "summary": "查询快捷订单详情", "description": "查询快捷订单详情", "operationId": "getAddOrderInfoUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "orderId", "in": "query", "description": "orderId", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/getAddOrderPageBean": { "get": { "tags": [ "首页接口" ], "summary": "快捷订单列表数据带分页", "description": "快捷订单列表数据带分页", "operationId": "getAddOrderPageBeanUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "pageNo", "in": "query", "description": "当前页", "required": false, "type": "integer", "format": "int32" }, { "name": "pageSize", "in": "query", "description": "显示条数", "required": false, "type": "integer", "format": "int32" }, { "name": "state", "in": "query", "description": "state", "required": false, "type": "string" }, { "name": "title", "in": "query", "description": "搜索标题", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/getBanner": { "get": { "tags": [ "首页接口" ], "summary": "获取banner", "description": "获取banner", "operationId": "getBannerUsingGET", "produces": [ "*/*" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/getCity": { "get": { "tags": [ "首页接口" ], "summary": "获取城市", "description": "获取城市", "operationId": "getCityUsingGET", "produces": [ "*/*" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/getClassify": { "get": { "tags": [ "首页接口" ], "summary": "获取分类", "description": "获取分类", "operationId": "getClassifyUsingGET", "produces": [ "*/*" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/getIcon": { "get": { "tags": [ "首页接口" ], "summary": "获取金刚区icon", "description": "获取金刚区icon", "operationId": "getIconUsingGET", "produces": [ "*/*" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/getOrderInfo": { "get": { "tags": [ "首页接口" ], "summary": "根据用户登录信息获取当前是否有快捷下单订单", "description": "根据用户登录信息获取当前是否有快捷下单订单", "operationId": "getOrderInfoUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/getProductDetail": { "get": { "tags": [ "首页接口" ], "summary": "获取商品信息详情", "description": "获取商品信息详情", "operationId": "getProductDetailUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "productId", "in": "query", "description": "productId", "required": false, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/getProductList": { "get": { "tags": [ "首页接口" ], "summary": "获取建材商品信息列表", "description": "获取建材商品信息列表", "operationId": "getProductListUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "cityId", "in": "query", "description": "cityId", "required": false, "type": "string" }, { "name": "pageNo", "in": "query", "description": "当前页", "required": false, "type": "integer", "format": "int32" }, { "name": "pageSize", "in": "query", "description": "显示条数", "required": false, "type": "integer", "format": "int32" }, { "name": "shopClassId", "in": "query", "description": "shopClassId", "required": false, "type": "string" }, { "name": "shopIconId", "in": "query", "description": "shopIconId", "required": false, "type": "string" }, { "name": "title", "in": "query", "description": "搜索标题", "required": false, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/index/payOrder": { "post": { "tags": [ "首页接口" ], "summary": "立即支付", "description": "立即支付", "operationId": "payOrderUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "orderId", "in": "query", "description": "orderId", "required": false, "type": "string" }, { "name": "type", "in": "query", "description": "type", "required": false, "type": "integer", "format": "int32" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/addHelp": { "post": { "tags": [ "个人中心" ], "summary": "添加帮助", "description": "添加帮助", "operationId": "addHelpUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "createBy", "in": "query", "description": "创建人", "required": false, "type": "string" }, { "name": "createTime", "in": "query", "description": "创建日期", "required": false, "type": "string", "format": "date-time" }, { "name": "id", "in": "query", "description": "主键", "required": false, "type": "string" }, { "name": "image", "in": "query", "description": "问题截图", "required": false, "type": "string" }, { "name": "name", "in": "query", "description": "姓名", "required": false, "type": "string" }, { "name": "phone", "in": "query", "description": "联系方式", "required": false, "type": "string" }, { "name": "title", "in": "query", "description": "描述内容", "required": false, "type": "string" }, { "name": "updateBy", "in": "query", "description": "更新人", "required": false, "type": "string" }, { "name": "updateTime", "in": "query", "description": "更新日期", "required": false, "type": "string", "format": "date-time" }, { "name": "userId", "in": "query", "description": "提交用户", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/createQrCode": { "get": { "tags": [ "个人中心" ], "summary": "获取个人邀请码", "description": "获取个人邀请码", "operationId": "createQrCodeUsingGET", "produces": [ "image/png" ], "parameters": [ { "name": "token", "in": "query", "description": "token", "required": false, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "type": "string", "format": "byte" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/deleteAddress": { "post": { "tags": [ "个人中心" ], "summary": "删除地址", "description": "删除地址", "operationId": "deleteAddressUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "id", "in": "query", "description": "id", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/getAddressInfo": { "get": { "tags": [ "个人中心" ], "summary": "获取地址详情", "description": "获取地址详情", "operationId": "getAddressInfoUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "id", "in": "query", "description": "id", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/getAddressList": { "get": { "tags": [ "个人中心" ], "summary": "获取地址列表", "description": "获取地址列表", "operationId": "getAddressListUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "pageNo", "in": "query", "description": "当前页", "required": false, "type": "integer", "format": "int32" }, { "name": "pageSize", "in": "query", "description": "显示条数", "required": false, "type": "integer", "format": "int32" }, { "name": "title", "in": "query", "description": "搜索标题", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/getLogList": { "get": { "tags": [ "个人中心" ], "summary": "获取流水日志列表", "description": "获取流水日志列表", "operationId": "getLogListUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "pageNo", "in": "query", "description": "当前页", "required": false, "type": "integer", "format": "int32" }, { "name": "pageSize", "in": "query", "description": "显示条数", "required": false, "type": "integer", "format": "int32" }, { "name": "timeDate", "in": "query", "description": "timeDate", "required": false, "type": "string" }, { "name": "title", "in": "query", "description": "搜索标题", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/getTeamHeader": { "get": { "tags": [ "个人中心" ], "summary": "获取团队头部信息", "description": "获取团队头部信息", "operationId": "getTeamHeaderUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/getTeamList": { "get": { "tags": [ "个人中心" ], "summary": "获取团队列表", "description": "获取团队列表", "operationId": "getTeamListUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "pageNo", "in": "query", "description": "当前页", "required": false, "type": "integer", "format": "int32" }, { "name": "pageSize", "in": "query", "description": "显示条数", "required": false, "type": "integer", "format": "int32" }, { "name": "state", "in": "query", "description": "state", "required": false, "type": "integer", "format": "int32" }, { "name": "title", "in": "query", "description": "搜索标题", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/getUserInfo": { "get": { "tags": [ "个人中心" ], "summary": "获取用户信息", "description": "获取用户信息", "operationId": "getUserInfoUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/openMoney": { "post": { "tags": [ "个人中心" ], "summary": "提现", "description": "提现", "operationId": "openMoneyUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "money", "in": "query", "description": "money", "required": false, "type": "number" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/saveOrUpdateAddress": { "post": { "tags": [ "个人中心" ], "summary": "保存或修改地址", "description": "保存或修改地址", "operationId": "saveOrUpdateAddressUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "address", "in": "query", "description": "地址", "required": false, "type": "string" }, { "name": "addressDetails", "in": "query", "description": "详细", "required": false, "type": "string" }, { "name": "createBy", "in": "query", "description": "创建人", "required": false, "type": "string" }, { "name": "createTime", "in": "query", "description": "创建日期", "required": false, "type": "string", "format": "date-time" }, { "name": "defaultFlag", "in": "query", "description": "默认", "required": false, "type": "string" }, { "name": "id", "in": "query", "description": "主键", "required": false, "type": "string" }, { "name": "latitude", "in": "query", "description": "经度", "required": false, "type": "string" }, { "name": "longitude", "in": "query", "description": "纬度", "required": false, "type": "string" }, { "name": "name", "in": "query", "description": "姓名", "required": false, "type": "string" }, { "name": "phone", "in": "query", "description": "电话", "required": false, "type": "string" }, { "name": "updateBy", "in": "query", "description": "更新人", "required": false, "type": "string" }, { "name": "updateTime", "in": "query", "description": "更新日期", "required": false, "type": "string", "format": "date-time" }, { "name": "userId", "in": "query", "description": "用户", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/updateDefaultAddress": { "post": { "tags": [ "个人中心" ], "summary": "修改默认地址", "description": "修改默认地址", "operationId": "updateDefaultAddressUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "id", "in": "query", "description": "id", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/info/updateUserInfo": { "post": { "tags": [ "个人中心" ], "summary": "修改用户信息", "description": "修改用户信息", "operationId": "updateUserInfoUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "headImage", "in": "query", "description": "headImage", "required": false, "type": "string" }, { "name": "nickName", "in": "query", "description": "nickName", "required": false, "type": "string" }, { "name": "phone", "in": "query", "description": "phone", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/order/cancelOrder": { "post": { "tags": [ "订单接口" ], "summary": "取消订单", "description": "取消订单", "operationId": "cancelOrderUsingPOST_1", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "orderId", "in": "query", "description": "orderId", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/order/confirmOrder": { "post": { "tags": [ "订单接口" ], "summary": "确认收货", "description": "确认收货", "operationId": "confirmOrderUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "orderId", "in": "query", "description": "orderId", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/order/createSumOrder": { "post": { "tags": [ "订单接口" ], "summary": "商城-加入购物车之后一次下多个订单", "description": "商城-加入购物车之后一次下多个订单", "operationId": "createSumOrderUsingPOST", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "addressId", "in": "query", "description": "addressId", "required": false, "type": "string" }, { "name": "list", "in": "query", "description": "list", "required": false, "type": "string" }, { "name": "orderId", "in": "query", "description": "orderId", "required": false, "type": "string" }, { "name": "payType", "in": "query", "description": "payType", "required": false, "type": "integer", "format": "int32" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/order/getOrderInfo": { "get": { "tags": [ "订单接口" ], "summary": "获取订单详情", "description": "获取订单详情", "operationId": "getOrderInfoUsingGET_1", "produces": [ "*/*" ], "parameters": [ { "name": "orderId", "in": "query", "description": "orderId", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/order/getOrderPageBean": { "get": { "tags": [ "订单接口" ], "summary": "获取订单列表带分页", "description": "获取订单列表带分页", "operationId": "getOrderPageBeanUsingGET", "produces": [ "*/*" ], "parameters": [ { "name": "pageNo", "in": "query", "description": "当前页", "required": false, "type": "integer", "format": "int32" }, { "name": "pageSize", "in": "query", "description": "显示条数", "required": false, "type": "integer", "format": "int32" }, { "name": "state", "in": "query", "description": "state", "required": false, "type": "integer", "format": "int32" }, { "name": "title", "in": "query", "description": "搜索标题", "required": false, "type": "string" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } }, "/building-admin/order/payOrder": { "post": { "tags": [ "订单接口" ], "summary": "再次支付", "description": "再次支付", "operationId": "payOrderUsingPOST_1", "consumes": [ "application/json" ], "produces": [ "*/*" ], "parameters": [ { "name": "orderId", "in": "query", "description": "orderId", "required": false, "type": "string" }, { "name": "type", "in": "query", "description": "type", "required": false, "type": "integer", "format": "int32" }, { "name": "X-Access-Token", "in": "header", "description": "X-Access-Token", "required": true, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/接口返回对象«object»", "originalRef": "接口返回对象«object»" } }, "201": { "description": "Created" }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "security": [ { "X-Access-Token": [ "global" ] } ], "x-order": "2147483647" } } }, "securityDefinitions": { "X-Access-Token": { "type": "apiKey", "name": "X-Access-Token", "in": "header" } }, "definitions": { "接口返回对象«object»": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32", "description": "返回代码" }, "message": { "type": "string", "description": "返回处理消息" }, "result": { "type": "object", "description": "返回数据对象" }, "success": { "type": "boolean", "description": "成功标志" }, "timestamp": { "type": "integer", "format": "int64", "description": "时间戳" } }, "title": "接口返回对象«object»", "description": "接口返回对象" } } }