{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"description": "后台API接口",
|
|
"version": "1.0",
|
|
"title": "后台服务API接口文档",
|
|
"contact": {
|
|
"name": "*********有限公司",
|
|
"url": "*********有限公司",
|
|
"email": "*********@qq.com"
|
|
}
|
|
},
|
|
"host": "h5.xzaiyp.top",
|
|
"tags": [
|
|
{
|
|
"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/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": "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/createOrder": {
|
|
"post": {
|
|
"tags": [
|
|
"首页接口"
|
|
],
|
|
"summary": "创建订单",
|
|
"description": "创建订单",
|
|
"operationId": "createOrderUsingPOST",
|
|
"consumes": [
|
|
"application/json"
|
|
],
|
|
"produces": [
|
|
"*/*"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "addressId",
|
|
"in": "query",
|
|
"description": "addressId",
|
|
"required": false,
|
|
"type": "string"
|
|
},
|
|
{
|
|
"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/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/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": "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": [
|
|
"*/*"
|
|
],
|
|
"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/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/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/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/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/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": "status",
|
|
"in": "query",
|
|
"description": "status",
|
|
"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": "接口返回对象"
|
|
}
|
|
}
|
|
}
|