{ "swagger": "2.0", "info": { "description": "开发框架", "title": "接囗文档", "termsOfService": "https://github.com/xxxx", "contact": { "name": "longping", "email": "287988448@qq.com" }, "version": "1.0" }, "host": "127.0.0.1:8080", "paths": { "/app/shopcart/clear": { "post": { "description": "清空购物车接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "购物车表相关接口" ], "summary": "清空购物车接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "购物车表实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCart" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/app/shopcart/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询购物车表数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "购物车表相关接口" ], "summary": "分页查询购物车表数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "订单id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否清空(1正常 2清空)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "商品是否有效(1有效 2无效)", "name": "isProductExists", "in": "query" }, { "type": "integer", "description": "购买数量", "name": "number", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "商品id", "name": "productId", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "integer", "description": "用户id", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "分页获取购物车表列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/response.ShopCartInfo" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/app/shopcouponissue/myList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询我的所有优惠券状态数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券发布相关接口" ], "summary": "查询我的所有优惠券状态数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "优惠券ID", "name": "couponId", "in": "query" }, { "type": "string", "description": "兑换的优惠券面值", "name": "couponPrice", "in": "query" }, { "type": "integer", "description": "优惠券有效期限(单位:天)", "name": "couponTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "优惠券领取结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "name": "id", "in": "query" }, { "type": "integer", "description": "兑换消耗积分值", "name": "integral", "in": "query" }, { "type": "integer", "name": "isDel", "in": "query" }, { "type": "integer", "description": "领用状态(1 领用 2未领用)", "name": "isFlag", "in": "query" }, { "type": "integer", "description": "获取方式(1=领取,2=积分兑换)", "name": "isOpen", "in": "query" }, { "type": "integer", "description": "是否无限张数(1否 2是)", "name": "isPermanent", "in": "query" }, { "type": "string", "name": "label", "in": "query" }, { "type": "string", "description": "最低消费多少金额可用优惠券", "name": "minPrice", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "商品ids", "name": "productId", "in": "query" }, { "type": "integer", "description": "优惠券剩余领取数量", "name": "remainCount", "in": "query" }, { "type": "string", "description": "优惠券领取开启时间", "name": "startTime", "in": "query" }, { "type": "integer", "description": "状态(2正常 1未开启 3已无效)", "name": "status", "in": "query" }, { "type": "integer", "description": "优惠券领取数量", "name": "totalCount", "in": "query" }, { "type": "integer", "description": "优惠券类型 (1-通用 2-新人券 3-商品券)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "integer", "description": "用户Id", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "获取优惠券列表", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ShopCouponIssueInfo" }, "msg": { "type": "string" } } } ] } } } } }, "/app/shopcouponissueuser/myList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询我的优惠券领取记录表数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券领取记录表相关接口" ], "summary": "查询我的优惠券领取记录表数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "优惠券开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "优惠券id", "name": "couponId", "in": "query" }, { "type": "string", "description": "优惠券的面值", "name": "couponPrice", "in": "query" }, { "type": "integer", "description": "优惠券有效期(单位:天)", "name": "couponTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "优惠券结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否有效(1否 2是)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "是否有效(1否 2是)", "name": "isFail", "in": "query" }, { "type": "integer", "description": "优惠券发放id", "name": "issueId", "in": "query" }, { "type": "string", "description": "优惠券名称", "name": "label", "in": "query" }, { "type": "string", "description": "昵称", "name": "nickName", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "手机号", "name": "phoneNumber", "in": "query" }, { "type": "string", "description": "领取时间", "name": "receiveTime", "in": "query" }, { "type": "integer", "description": "状态(1:未使用,2:已使用, 3:已过期)", "name": "status", "in": "query" }, { "type": "string", "description": "获取方式(1手动获取 2积分兑换 3系统发放)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "最低消费多少金额可用优惠券", "name": "useMinPrice", "in": "query" }, { "type": "string", "description": "使用时间", "name": "useTime", "in": "query" }, { "type": "integer", "description": "优惠券所属用户", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "分页获取优惠券领取记录表列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCouponIssueUser" }, "msg": { "type": "string" } } } ] } } } } }, "/app/shopinfo/distance": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "店铺距离查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺设置相关接口" ], "summary": "店铺距离查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "site", "name": "site", "in": "query", "required": true } ], "responses": { "200": { "description": "返回店铺距离查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "integer" }, "msg": { "type": "string" } } } ] } } } } }, "/app/shopproduct": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "商品详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品相关接口" ], "summary": "商品详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "返回商品详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ShopProductInfos" }, "msg": { "type": "string" } } } ] } } } } }, "/app/sysuserintegraldetail/invalidIntegral": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "获取用户最近失效积分接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户积分明细相关接口" ], "summary": "获取用户最近失效积分接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回用户失效积分详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.InvalidIntegralDetail" }, "msg": { "type": "string" } } } ] } } } } }, "/app/sysuserintegraldetail/myList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询当前用户积分明细数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户积分明细相关接口" ], "summary": "分页查询当前用户积分明细数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "类型(1收入 2支出 )", "name": "cat", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "积分", "name": "integral", "in": "query" }, { "type": "string", "description": "积分失效的时间", "name": "invalidTime", "in": "query" }, { "type": "integer", "description": "是否删除(1删除 2未删除)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "是否失效(1正常 2失效)", "name": "isInvalid", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "剩余积分", "name": "stockIntegral", "in": "query" }, { "type": "integer", "description": "方式(1购买商品 2兑换优惠券 3积分失效 4系统操作)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "integer", "description": "用户id", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "分页获取用户积分明细列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysUserIntegralDetail" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/app/user/myInfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "会员详情等查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回会员详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.MemberInfo" }, "msg": { "type": "string" } } } ] } } } } }, "/consumeinfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "消费记录详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "消费记录相关接口" ], "summary": "消费记录详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回消费记录详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ConsumeInfo" }, "msg": { "type": "string" } } } ] } } } } }, "/consumeinfo/add": { "post": { "description": "新增消费记录接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "消费记录相关接口" ], "summary": "新增消费记录接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "消费记录实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ConsumeInfo" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/consumeinfo/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询消费记录数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "消费记录相关接口" ], "summary": "分页查询消费记录数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "name": "id", "in": "query" }, { "type": "string", "description": "消费金额", "name": "money", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "小程序列表查询类型(1消费 退款 2充值 加款 扣款)", "name": "queryType", "in": "query" }, { "type": "integer", "description": "消费状态(1待付款 2成功 3失败)", "name": "status", "in": "query" }, { "type": "string", "description": "消费单号", "name": "tradeNo", "in": "query" }, { "type": "string", "description": "微信支付状态", "name": "tradeState", "in": "query" }, { "type": "string", "description": "微信支付订单号", "name": "transactionId", "in": "query" }, { "type": "integer", "description": "消费方式(1充值 2消费 3退款 4加款 5扣款)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "integer", "description": "用户ID", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "分页获取消费记录列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ConsumeInfo" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/consumeinfo/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询个人数据消费记录数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "消费记录相关接口" ], "summary": "查询个人数据消费记录数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取消费记录列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ConsumeInfo" }, "msg": { "type": "string" } } } ] } } } } }, "/dept": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "部门详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门相关接口" ], "summary": "部门详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回部门详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysDept" }, "msg": { "type": "string" } } } ] } } } } }, "/dept/List": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询部门数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门相关接口" ], "summary": "分页查询部门数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "name": "deptName", "in": "query" }, { "type": "integer", "name": "parentId", "in": "query" }, { "type": "string", "name": "status", "in": "query" } ], "responses": { "200": { "description": "分页获取部门列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysDept" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/dept/add": { "post": { "description": "新增部门接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门相关接口" ], "summary": "新增部门接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "部门实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysDept" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/dept/edit": { "put": { "description": "新增部门接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门相关接口" ], "summary": "修改部门接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "部门实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysDept" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/dept/list/exclude": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询部门数据接口 排除节点", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门相关接口" ], "summary": "分页查询部门数据接口 排除节点", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "name": "deptName", "in": "query" }, { "type": "integer", "name": "parentId", "in": "query" }, { "type": "string", "name": "status", "in": "query" } ], "responses": { "200": { "description": "分页获取部门列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysDept" }, "msg": { "type": "string" } } } ] } } } } }, "/dept/remove": { "delete": { "description": "删除部门接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门相关接口" ], "summary": "删除部门接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/dept/roleDeptTreeselect": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "加载对应角色部门列表树接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门相关接口" ], "summary": "加载对应角色部门列表树接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回部门查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "object", "additionalProperties": true }, "msg": { "type": "string" } } } ] } } } } }, "/dept/teeselect": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "加载对应角色部门列表树接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "部门相关接口" ], "summary": "加载对应角色部门列表树接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回部门查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "object", "additionalProperties": true }, "msg": { "type": "string" } } } ] } } } } }, "/dict/data": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "字典数据详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "字典数据相关接口" ], "summary": "字典数据详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回字典数据详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysDictData" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除字典数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "字典数据相关接口" ], "summary": "删除字典数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/dict/data/List": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询菜单数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "菜单相关接口" ], "summary": "分页查询菜单数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "name": "dictLabel", "in": "query" }, { "type": "string", "name": "dictType", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "name": "status", "in": "query" } ], "responses": { "200": { "description": "分页获取菜单列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysDictData" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/dict/data/add": { "post": { "description": "新增字典数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "字典数据相关接口" ], "summary": "新增字典数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "字典数据实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysDictData" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/dict/data/edit": { "put": { "description": "新增字典数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "字典数据相关接口" ], "summary": "修改字典数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "字典数据实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysDictData" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/dict/type": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "字典类型详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "字典类型相关接口" ], "summary": "字典类型详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回字典类型详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysDictType" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除字典类型接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "字典类型相关接口" ], "summary": "删除字典类型接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/dict/type/List": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询菜单数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "菜单相关接口" ], "summary": "分页查询菜单数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "name": "dictName", "in": "query" }, { "type": "string", "name": "dictType", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "name": "status", "in": "query" } ], "responses": { "200": { "description": "分页获取菜单列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysDictType" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/dict/type/add": { "post": { "description": "新增字典类型接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "字典类型相关接口" ], "summary": "新增字典类型接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "字典类型实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysDictType" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/dict/type/edit": { "put": { "description": "新增字典类型接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "字典类型相关接口" ], "summary": "修改字典类型接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "字典类型实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysDictType" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/docarticle": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "文章详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章相关接口" ], "summary": "文章详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回文章详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.DocArticle" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除文章接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章相关接口" ], "summary": "删除文章接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/docarticle/add": { "post": { "description": "新增文章接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章相关接口" ], "summary": "新增文章接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "文章实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.DocArticle" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/docarticle/edit": { "put": { "description": "新增文章接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章相关接口" ], "summary": "修改文章接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "文章实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.DocArticle" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/docarticle/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询文章数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章相关接口" ], "summary": "分页查询文章数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "文章分类", "name": "catId", "in": "query" }, { "type": "string", "description": "内容", "name": "content", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否热门(1否 2是)", "name": "isHot", "in": "query" }, { "type": "integer", "description": "是否推荐(1否 2是)", "name": "isTop", "in": "query" }, { "type": "string", "description": "文章标题", "name": "label", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "简介", "name": "profile", "in": "query" }, { "type": "integer", "description": "排序", "name": "sort", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "封面图", "name": "url", "in": "query" } ], "responses": { "200": { "description": "分页获取文章列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.DocArticle" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/docarticle/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据文章数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章相关接口" ], "summary": "查询全部数据文章数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取文章列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.DocArticle" }, "msg": { "type": "string" } } } ] } } } } }, "/doccategory": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "文章分类详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章分类相关接口" ], "summary": "文章分类详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回文章分类详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.DocCategory" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除文章分类接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章分类相关接口" ], "summary": "删除文章分类接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/doccategory/add": { "post": { "description": "新增文章分类接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章分类相关接口" ], "summary": "新增文章分类接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "文章分类实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.DocCategory" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/doccategory/edit": { "put": { "description": "新增文章分类接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章分类相关接口" ], "summary": "修改文章分类接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "文章分类实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.DocCategory" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/doccategory/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询文章分类数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章分类相关接口" ], "summary": "分页查询文章分类数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "编号", "name": "code", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "删除标志(0代表存在 2代表删除)", "name": "delFlag", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "分类id", "name": "id", "in": "query" }, { "type": "string", "description": "分类名称", "name": "label", "in": "query" }, { "type": "integer", "description": "显示顺序", "name": "orderNum", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "父id", "name": "parentId", "in": "query" }, { "type": "string", "description": "状态(0正常 1停用)", "name": "status", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "分类图标", "name": "url", "in": "query" } ], "responses": { "200": { "description": "分页获取文章分类列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.DocCategory" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/doccategory/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据文章分类数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文章分类相关接口" ], "summary": "查询全部数据文章分类数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取文章分类列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.DocCategory" }, "msg": { "type": "string" } } } ] } } } } }, "/getCaptcha": { "get": { "description": "获取验证码接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户登录相关接口" ], "summary": "获取验证码接口", "responses": { "200": { "description": "返回验证码查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/captcha.CaptchaInfo" }, "msg": { "type": "string" } } } ] } } } } }, "/getInfo": { "get": { "description": "用户详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户登录相关接口" ], "summary": "用户详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回用户详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "object", "additionalProperties": true }, "msg": { "type": "string" } } } ] } } } } }, "/getRouters": { "get": { "description": "用户菜单查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户登录相关接口" ], "summary": "用户菜单查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回用户菜单查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/tree_menu.Tree" } }, "msg": { "type": "string" } } } ] } } } } }, "/login": { "post": { "description": "用户登录接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户登录相关接口" ], "summary": "登录接口", "parameters": [ { "description": "登录实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/req.LoginBody" } } ], "responses": { "200": { "description": "返回登录结果", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "object", "additionalProperties": { "type": "string" } }, "msg": { "type": "string" } } } ] } } } } }, "/logout": { "post": { "description": "退出登录接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户登录相关接口" ], "summary": "退出登录接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回退出结果", "schema": { "$ref": "#/definitions/resp.Response" } } } } }, "/menu": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "菜单详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "菜单相关接口" ], "summary": "菜单详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回菜单详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysMenu" }, "msg": { "type": "string" } } } ] } } } } }, "/menu/List": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询菜单数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "菜单相关接口" ], "summary": "分页查询菜单数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "name": "id", "in": "query" }, { "type": "string", "name": "menuName", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "name": "parentId", "in": "query" }, { "type": "string", "name": "status", "in": "query" }, { "type": "string", "name": "visible", "in": "query" } ], "responses": { "200": { "description": "分页获取菜单列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysMenu" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/menu/add": { "post": { "description": "新增菜单接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "菜单相关接口" ], "summary": "新增菜单接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "菜单实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysMenu" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/menu/edit": { "put": { "description": "新增菜单接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "菜单相关接口" ], "summary": "修改菜单接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "菜单实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysMenu" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/menu/remove": { "delete": { "description": "删除菜单接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "菜单相关接口" ], "summary": "删除菜单接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/menu/roleMenuTreeselect": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "加载对应角色菜单列表树接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "菜单相关接口" ], "summary": "加载对应角色菜单列表树接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回菜单查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "object", "additionalProperties": true }, "msg": { "type": "string" } } } ] } } } } }, "/menu/teeselect": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "加载对应角色菜单列表树接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "菜单相关接口" ], "summary": "加载对应角色菜单列表树接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回菜单查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "object", "additionalProperties": true }, "msg": { "type": "string" } } } ] } } } } }, "/post": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "岗位详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "岗位相关接口" ], "summary": "岗位详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回岗位详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysPost" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除岗位接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "岗位相关接口" ], "summary": "删除岗位接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/post/List": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询岗位数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "岗位相关接口" ], "summary": "分页查询岗位数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "name": "postCode", "in": "query" }, { "type": "string", "name": "postName", "in": "query" }, { "type": "string", "name": "status", "in": "query" } ], "responses": { "200": { "description": "分页获取岗位列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysPost" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/post/add": { "post": { "description": "新增岗位接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "岗位相关接口" ], "summary": "新增岗位接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "岗位实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysPost" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/post/edit": { "put": { "description": "新增岗位接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "岗位相关接口" ], "summary": "修改岗位接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "岗位实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysPost" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/role": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "角色详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "角色详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回角色详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysRole" }, "msg": { "type": "string" } } } ] } } } } }, "/role/add": { "post": { "description": "新增角色接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "新增角色接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "角色实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysRole" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/role/authUser/allocatedList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询已分配角色角色列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "查询已分配角色角色列表", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "部门id", "name": "deptId", "in": "query" }, { "type": "string", "description": "邮箱", "name": "email", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "用户昵称", "name": "nickName", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "手机号", "name": "phoneNumber", "in": "query" }, { "type": "integer", "description": "角色id", "name": "roleId", "in": "query" }, { "type": "string", "description": "状态", "name": "status", "in": "query" }, { "type": "string", "description": "用户名", "name": "userName", "in": "query" }, { "type": "string", "description": "用户类型(00系统用户)", "name": "userType", "in": "query" } ], "responses": { "200": { "description": "分页获取角色列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysRole" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/role/authUser/cancel": { "put": { "description": "取消授权角色", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "取消授权角色", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "角色实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysRole" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/role/authUser/cancelAll": { "put": { "description": "取消授权角色", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "批量取消角色授权", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "角色实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysRole" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/role/authUser/selectAll": { "put": { "description": "批量选择角色授权", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "批量选择角色授权", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "角色实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysRole" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/role/authUser/unallocatedList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询已分配角色角色列表", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "查询已分配角色角色列表", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "部门id", "name": "deptId", "in": "query" }, { "type": "string", "description": "邮箱", "name": "email", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "用户昵称", "name": "nickName", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "手机号", "name": "phoneNumber", "in": "query" }, { "type": "integer", "description": "角色id", "name": "roleId", "in": "query" }, { "type": "string", "description": "状态", "name": "status", "in": "query" }, { "type": "string", "description": "用户名", "name": "userName", "in": "query" }, { "type": "string", "description": "用户类型(00系统用户)", "name": "userType", "in": "query" } ], "responses": { "200": { "description": "分页获取角色列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysRole" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/role/changeStatus": { "put": { "description": "修改状态接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "修改状态接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true }, { "type": "string", "description": "status", "name": "status", "in": "query", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/role/edit": { "put": { "description": "新增角色接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "修改角色接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "角色实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysRole" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/role/findAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询角色数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "分页查询角色数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取角色列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysRole" }, "msg": { "type": "string" } } } ] } } } } }, "/role/findList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询角色数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "分页查询角色数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "角色Key", "name": "roleKey", "in": "query" }, { "type": "string", "description": "角色名称", "name": "roleName", "in": "query" }, { "type": "string", "description": "角色状态", "name": "status", "in": "query" } ], "responses": { "200": { "description": "分页获取角色列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysRole" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/role/remove": { "delete": { "description": "删除角色接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "角色相关接口" ], "summary": "删除角色接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shop/collectInfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "首页数据统计接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "首页统计接口" ], "summary": "首页数据统计接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取订单列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.CollectInfo" }, "msg": { "type": "string" } } } ] } } } } }, "/shop/orderCollectInfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "首页订单数据统计接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "首页统计接口" ], "summary": "首页订单数据统计接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取订单列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.OrderCollectInfoS" }, "msg": { "type": "string" } } } ] } } } } }, "/shop/orderMonthCollectInfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "首页订单数据统计接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "首页统计接口" ], "summary": "首页订单数据统计接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取订单列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.OrderCollectInfoS" }, "msg": { "type": "string" } } } ] } } } } }, "/shopaboutconfig": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "关于设置详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "关于设置相关接口" ], "summary": "关于设置详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回关于设置详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopAboutConfig" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除关于设置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "关于设置相关接口" ], "summary": "删除关于设置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopaboutconfig/add": { "post": { "description": "新增关于设置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "关于设置相关接口" ], "summary": "新增关于设置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "关于设置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopAboutConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopaboutconfig/edit": { "put": { "description": "新增关于设置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "关于设置相关接口" ], "summary": "修改关于设置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "关于设置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopAboutConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopaboutconfig/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询关于设置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "关于设置相关接口" ], "summary": "分页查询关于设置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "介绍", "name": "description", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "删除标志(1代表存在 2代表删除)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取关于设置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopAboutConfig" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopaboutconfig/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据关于设置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "关于设置相关接口" ], "summary": "查询全部数据关于设置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取关于设置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopAboutConfig" }, "msg": { "type": "string" } } } ] } } } } }, "/shopactivityconfig": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "店铺活动配置详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺活动配置相关接口" ], "summary": "店铺活动配置详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回店铺活动配置详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopActivityConfig" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除店铺活动配置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺活动配置相关接口" ], "summary": "删除店铺活动配置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopactivityconfig/add": { "post": { "description": "新增店铺活动配置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺活动配置相关接口" ], "summary": "新增店铺活动配置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "店铺活动配置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopActivityConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopactivityconfig/edit": { "put": { "description": "新增店铺活动配置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺活动配置相关接口" ], "summary": "修改店铺活动配置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "店铺活动配置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopActivityConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopactivityconfig/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询店铺活动配置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺活动配置相关接口" ], "summary": "分页查询店铺活动配置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "分享可获得的优惠券", "name": "couponId", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "分享可获得积分数", "name": "integral", "in": "query" }, { "type": "string", "description": "充值活动", "name": "investMoney", "in": "query" }, { "type": "integer", "description": "开启分享获得优惠券(1否 2是)", "name": "isCoupon", "in": "query" }, { "type": "integer", "description": "是否删除(1删除 2未删除)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "开启分享积分(1否 2是)", "name": "isIntegral", "in": "query" }, { "type": "integer", "description": "开启充值活动(1否 2是)", "name": "isInvest", "in": "query" }, { "type": "integer", "description": "开启新人券(1否 2是)", "name": "isNew", "in": "query" }, { "type": "integer", "description": "开启签到获得积分(1否 2是)", "name": "isSign", "in": "query" }, { "type": "integer", "description": "新人券", "name": "newId", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "签到可获得的积分", "name": "signIntegral", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取店铺活动配置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopActivityConfig" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopactivityconfig/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据店铺活动配置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺活动配置相关接口" ], "summary": "查询全部数据店铺活动配置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取店铺活动配置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopActivityConfig" }, "msg": { "type": "string" } } } ] } } } } }, "/shopaddress": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "收货地址详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "收货地址相关接口" ], "summary": "收货地址详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回收货地址详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopAddress" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除收货地址接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "收货地址相关接口" ], "summary": "删除收货地址接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopaddress/add": { "post": { "description": "新增收货地址接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "收货地址相关接口" ], "summary": "新增收货地址接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "收货地址实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopAddress" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopaddress/edit": { "put": { "description": "新增收货地址接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "收货地址相关接口" ], "summary": "修改收货地址接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "收货地址实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopAddress" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopaddress/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询收货地址数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "收货地址相关接口" ], "summary": "分页查询收货地址数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "详细收货地址", "name": "address", "in": "query" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "城市", "name": "city", "in": "query" }, { "type": "string", "description": "国家", "name": "country", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "地区", "name": "district", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "地址id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否默认地址", "name": "isDefault", "in": "query" }, { "type": "string", "description": "纬度", "name": "lat", "in": "query" }, { "type": "string", "description": "经度", "name": "lng", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "省份", "name": "province", "in": "query" }, { "type": "string", "description": "姓名", "name": "realname", "in": "query" }, { "type": "string", "description": "街道", "name": "street", "in": "query" }, { "type": "string", "description": "联系电话", "name": "telphone", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "邮政编码", "name": "zip", "in": "query" } ], "responses": { "200": { "description": "分页获取收货地址列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopAddress" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopaddress/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据收货地址数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "收货地址相关接口" ], "summary": "查询全部数据收货地址数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取收货地址列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopAddress" }, "msg": { "type": "string" } } } ] } } } } }, "/shopcarousel": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "轮播图详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "轮播图相关接口" ], "summary": "轮播图详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回轮播图详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCarousel" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除轮播图接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "轮播图相关接口" ], "summary": "删除轮播图接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcarousel/add": { "post": { "description": "新增轮播图接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "轮播图相关接口" ], "summary": "新增轮播图接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "轮播图实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCarousel" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcarousel/edit": { "put": { "description": "新增轮播图接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "轮播图相关接口" ], "summary": "修改轮播图接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "轮播图实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCarousel" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcarousel/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询轮播图数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "轮播图相关接口" ], "summary": "分页查询轮播图数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "删除标志(1代表存在 2代表删除)", "name": "isDel", "in": "query" }, { "type": "string", "description": "标题", "name": "label", "in": "query" }, { "type": "integer", "description": "显示顺序", "name": "orderNum", "in": "query" }, { "type": "integer", "description": "关联id", "name": "otherId", "in": "query" }, { "type": "string", "description": "标题", "name": "otherLabel", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "位置(1首页 2商品列表)", "name": "site", "in": "query" }, { "type": "string", "description": "显示状态(1正常 2停用)", "name": "status", "in": "query" }, { "type": "string", "description": "状态(1文章 2文章列表 3商品 4商品列表)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "图片地址", "name": "url", "in": "query" } ], "responses": { "200": { "description": "分页获取轮播图列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopCarousel" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopcarousel/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据轮播图数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "轮播图相关接口" ], "summary": "查询全部数据轮播图数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取轮播图列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCarousel" }, "msg": { "type": "string" } } } ] } } } } }, "/shopcart": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "购物车表详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "购物车表相关接口" ], "summary": "购物车表详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回购物车表详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCart" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除购物车表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "购物车表相关接口" ], "summary": "删除购物车表接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcart/add": { "post": { "description": "新增购物车表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "购物车表相关接口" ], "summary": "新增购物车表接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "购物车表实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCart" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcart/edit": { "put": { "description": "新增购物车表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "购物车表相关接口" ], "summary": "修改购物车表接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "购物车表实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCart" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcart/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询购物车表数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "购物车表相关接口" ], "summary": "分页查询购物车表数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "订单id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否清空(1正常 2清空)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "商品是否有效(1有效 2无效)", "name": "isProductExists", "in": "query" }, { "type": "integer", "description": "购买数量", "name": "number", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "商品id", "name": "productId", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "integer", "description": "用户id", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "分页获取购物车表列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopCart" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopcart/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据购物车表数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "购物车表相关接口" ], "summary": "查询全部数据购物车表数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取购物车表列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCart" }, "msg": { "type": "string" } } } ] } } } } }, "/shopcategory": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "商品分类详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品分类相关接口" ], "summary": "商品分类详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回商品分类详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCategory" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除商品分类接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品分类相关接口" ], "summary": "删除商品分类接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcategory/add": { "post": { "description": "新增商品分类接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品分类相关接口" ], "summary": "新增商品分类接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "商品分类实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCategory" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcategory/edit": { "put": { "description": "新增商品分类接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品分类相关接口" ], "summary": "修改商品分类接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "商品分类实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCategory" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcategory/list": { "get": { "description": "分页查询商品分类数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品分类相关接口" ], "summary": "分页查询商品分类数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "编号", "name": "code", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "删除标志(0代表存在 2代表删除)", "name": "delFlag", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "分类id", "name": "id", "in": "query" }, { "type": "string", "description": "分类名称", "name": "label", "in": "query" }, { "type": "integer", "description": "显示顺序", "name": "orderNum", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "父id", "name": "parentId", "in": "query" }, { "type": "string", "description": "状态(0正常 1停用)", "name": "status", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "分类图标", "name": "url", "in": "query" } ], "responses": { "200": { "description": "分页获取商品分类列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopCategory" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopcategory/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询商品分类所有数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品分类相关接口" ], "summary": "查询商品分类所有数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "商品分类列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCategory" }, "msg": { "type": "string" } } } ] } } } } }, "/shopcategory/listProductAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询商品分类所有数据接口(带商品)", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品分类相关接口" ], "summary": "查询商品分类所有数据接口(带商品)", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "商品分类列表", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ShopCategoryResponse" }, "msg": { "type": "string" } } } ] } } } } }, "/shopcoupon": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "优惠券详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券相关接口" ], "summary": "优惠券详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回优惠券详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ShopCouponInfo" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除优惠券接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券相关接口" ], "summary": "删除优惠券接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcoupon/add": { "post": { "description": "新增优惠券接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券相关接口" ], "summary": "新增优惠券接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "优惠券实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCoupon" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcoupon/edit": { "put": { "description": "新增优惠券接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券相关接口" ], "summary": "修改优惠券接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "优惠券实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCoupon" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcoupon/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询优惠券数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券相关接口" ], "summary": "分页查询优惠券数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "兑换的优惠券面值", "name": "couponPrice", "in": "query" }, { "type": "integer", "description": "优惠券有效期限(单位:天)", "name": "couponTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "兑换消耗积分值", "name": "integral", "in": "query" }, { "type": "integer", "description": "是否删除(1-否 2-是)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "获取方式(1=领取,2=积分兑换)", "name": "isOpen", "in": "query" }, { "type": "string", "description": "优惠券名称", "name": "label", "in": "query" }, { "type": "string", "description": "最低消费多少金额可用优惠券", "name": "minPrice", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "商品ids", "name": "productId", "in": "query" }, { "type": "integer", "description": "排序", "name": "sort", "in": "query" }, { "type": "integer", "description": "状态(1:关闭,2:开启)", "name": "status", "in": "query" }, { "type": "integer", "description": "优惠券类型 (1-通用 2-商品券)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取优惠券列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopCoupon" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopcoupon/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据优惠券数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券相关接口" ], "summary": "查询全部数据优惠券数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取优惠券列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCoupon" }, "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissue": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "优惠券发布详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券发布相关接口" ], "summary": "优惠券发布详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回优惠券发布详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCouponIssue" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除优惠券发布接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券发布相关接口" ], "summary": "删除优惠券发布接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissue/add": { "post": { "description": "新增优惠券发布接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券发布相关接口" ], "summary": "新增优惠券发布接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "优惠券发布实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCouponIssue" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissue/edit": { "put": { "description": "新增优惠券发布接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券发布相关接口" ], "summary": "修改优惠券发布接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "优惠券发布实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCouponIssue" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissue/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询优惠券发布数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券发布相关接口" ], "summary": "分页查询优惠券发布数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "优惠券ID", "name": "couponId", "in": "query" }, { "type": "string", "description": "兑换的优惠券面值", "name": "couponPrice", "in": "query" }, { "type": "integer", "description": "优惠券有效期限(单位:天)", "name": "couponTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "优惠券领取结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "name": "id", "in": "query" }, { "type": "integer", "description": "兑换消耗积分值", "name": "integral", "in": "query" }, { "type": "integer", "name": "isDel", "in": "query" }, { "type": "integer", "description": "领用状态(1 领用 2未领用)", "name": "isFlag", "in": "query" }, { "type": "integer", "description": "获取方式(1=领取,2=积分兑换)", "name": "isOpen", "in": "query" }, { "type": "integer", "description": "是否无限张数(1否 2是)", "name": "isPermanent", "in": "query" }, { "type": "string", "name": "label", "in": "query" }, { "type": "string", "description": "最低消费多少金额可用优惠券", "name": "minPrice", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "商品ids", "name": "productId", "in": "query" }, { "type": "integer", "description": "优惠券剩余领取数量", "name": "remainCount", "in": "query" }, { "type": "string", "description": "优惠券领取开启时间", "name": "startTime", "in": "query" }, { "type": "integer", "description": "状态(2正常 1未开启 3已无效)", "name": "status", "in": "query" }, { "type": "integer", "description": "优惠券领取数量", "name": "totalCount", "in": "query" }, { "type": "integer", "description": "优惠券类型 (1-通用 2-新人券 3-商品券)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "integer", "description": "用户Id", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "分页获取优惠券发布列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopCouponIssue" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissue/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据优惠券发布数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券发布相关接口" ], "summary": "查询全部数据优惠券发布数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取优惠券发布列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCouponIssue" }, "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissue/status": { "put": { "description": "状态开关接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券发布相关接口" ], "summary": "状态开关接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id参数", "name": "id", "in": "query" }, { "type": "integer", "description": "状态", "name": "ishow", "in": "query" } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissueuser": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "优惠券领取记录表详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券领取记录表相关接口" ], "summary": "优惠券领取记录表详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回优惠券领取记录表详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCouponIssueUser" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除优惠券领取记录表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券领取记录表相关接口" ], "summary": "删除优惠券领取记录表接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissueuser/add": { "post": { "description": "新增优惠券领取记录表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券领取记录表相关接口" ], "summary": "新增优惠券领取记录表接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "优惠券领取记录表实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCouponIssueUser" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissueuser/edit": { "put": { "description": "新增优惠券领取记录表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券领取记录表相关接口" ], "summary": "修改优惠券领取记录表接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "优惠券领取记录表实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopCouponIssueUser" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissueuser/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询优惠券领取记录表数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券领取记录表相关接口" ], "summary": "分页查询优惠券领取记录表数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "优惠券开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "优惠券id", "name": "couponId", "in": "query" }, { "type": "string", "description": "优惠券的面值", "name": "couponPrice", "in": "query" }, { "type": "integer", "description": "优惠券有效期(单位:天)", "name": "couponTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "优惠券结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否有效(1否 2是)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "是否有效(1否 2是)", "name": "isFail", "in": "query" }, { "type": "integer", "description": "优惠券发放id", "name": "issueId", "in": "query" }, { "type": "string", "description": "优惠券名称", "name": "label", "in": "query" }, { "type": "string", "description": "昵称", "name": "nickName", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "手机号", "name": "phoneNumber", "in": "query" }, { "type": "string", "description": "领取时间", "name": "receiveTime", "in": "query" }, { "type": "integer", "description": "状态(1:未使用,2:已使用, 3:已过期)", "name": "status", "in": "query" }, { "type": "string", "description": "获取方式(1手动获取 2积分兑换 3系统发放)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "最低消费多少金额可用优惠券", "name": "useMinPrice", "in": "query" }, { "type": "string", "description": "使用时间", "name": "useTime", "in": "query" }, { "type": "integer", "description": "优惠券所属用户", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "分页获取优惠券领取记录表列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopCouponIssueUser" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopcouponissueuser/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据优惠券领取记录表数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "优惠券领取记录表相关接口" ], "summary": "查询全部数据优惠券领取记录表数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取优惠券领取记录表列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopCouponIssueUser" }, "msg": { "type": "string" } } } ] } } } } }, "/shopinfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "店铺设置详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺设置相关接口" ], "summary": "店铺设置详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回店铺设置详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopInfo" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除店铺设置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺设置相关接口" ], "summary": "删除店铺设置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopinfo/add": { "post": { "description": "新增店铺设置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺设置相关接口" ], "summary": "新增店铺设置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "店铺设置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopInfo" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopinfo/edit": { "put": { "description": "新增店铺设置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺设置相关接口" ], "summary": "修改店铺设置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "店铺设置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopInfo" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopinfo/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询店铺设置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺设置相关接口" ], "summary": "分页查询店铺设置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "地址", "name": "address", "in": "query" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "code", "name": "code", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "介绍", "name": "description", "in": "query" }, { "type": "string", "description": "关门时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "店铺头部图片", "name": "image", "in": "query" }, { "type": "string", "description": "删除标志(1代表存在 2代表删除)", "name": "isDel", "in": "query" }, { "type": "string", "description": "腾讯地图key", "name": "key", "in": "query" }, { "type": "string", "description": "店铺名", "name": "label", "in": "query" }, { "type": "string", "description": "logo", "name": "logo", "in": "query" }, { "type": "string", "description": "店铺负责人", "name": "ownerName", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "电话", "name": "phone", "in": "query" }, { "type": "string", "description": "经纬度", "name": "site", "in": "query" }, { "type": "string", "description": "开门时间", "name": "startTime", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取店铺设置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopInfo" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopinfo/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据店铺设置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "店铺设置相关接口" ], "summary": "查询全部数据店铺设置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取店铺设置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopInfo" }, "msg": { "type": "string" } } } ] } } } } }, "/shoporder": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "订单详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "订单相关接口" ], "summary": "订单详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回订单详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopOrder" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除订单接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "订单相关接口" ], "summary": "删除订单接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shoporder/List": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询订单数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "订单相关接口" ], "summary": "分页查询订单数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "收货人详细地址", "name": "address", "in": "query" }, { "type": "integer", "description": "收货地址id", "name": "addressId", "in": "query" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "优惠券id", "name": "couponId", "in": "query" }, { "type": "string", "description": "优惠券金额", "name": "couponPrice", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "抵扣金额", "name": "deductionPrice", "in": "query" }, { "type": "string", "description": "发货时间", "name": "deliveryTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "订单id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否删除(1否 2是)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "是否打包(1是 2否)", "name": "isPack", "in": "query" }, { "type": "integer", "name": "isToday", "in": "query" }, { "type": "integer", "description": "配送进度(1未付款 2支付成功 3配货中 4待取货 5配送中 6已送达)", "name": "logisticsStatus", "in": "query" }, { "type": "string", "description": "下单会员", "name": "member", "in": "query" }, { "type": "string", "description": "下单会员昵称", "name": "nickName", "in": "query" }, { "type": "string", "description": "订单金额(实际付款金额)", "name": "orderAmountTotal", "in": "query" }, { "type": "string", "description": "订单单号", "name": "orderNo", "in": "query" }, { "type": "integer", "description": "状态(1待付款 2已付款 3已接单/配货中 4待取货 5配送中 6已完成 7已取消 8申请退款 9已退款 10退款失败)", "name": "orderStatus", "in": "query" }, { "type": "string", "description": "订单支付单号", "name": "outTradeNo", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "订单支付渠道(1微信支付 2余额支付)", "name": "payChannel", "in": "query" }, { "type": "string", "description": "支付邮费", "name": "payPostage", "in": "query" }, { "type": "string", "description": "付款时间", "name": "payTime", "in": "query" }, { "type": "string", "description": "收货人电话", "name": "phone", "in": "query" }, { "type": "string", "description": "取货码", "name": "pickCode", "in": "query" }, { "type": "string", "description": "商品总价", "name": "productAmountTotal", "in": "query" }, { "type": "integer", "description": "订单商品总数", "name": "productCount", "in": "query" }, { "type": "string", "description": "收货人姓名", "name": "realName", "in": "query" }, { "type": "string", "description": "退款金额", "name": "refund", "in": "query" }, { "type": "string", "description": "退款时间", "name": "refundTime", "in": "query" }, { "type": "string", "description": "客户备注", "name": "remark", "in": "query" }, { "type": "integer", "description": "取货方式(1自取 2外卖)", "name": "shippingType", "in": "query" }, { "type": "string", "description": "配送费", "name": "totalDeliveryFee", "in": "query" }, { "type": "string", "description": "打包费", "name": "totalPackFee", "in": "query" }, { "type": "string", "description": "邮费", "name": "totalPostage", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "integer", "description": "用户ID", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "分页获取订单列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopOrder" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shoporder/add": { "post": { "description": "新增订单接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "订单相关接口" ], "summary": "新增订单接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "订单实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopOrder" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shoporder/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询订单数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "订单相关接口" ], "summary": "分页查询订单数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取订单列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopOrder" }, "msg": { "type": "string" } } } ] } } } } }, "/shoporderdetail": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "订单详情详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "订单详情相关接口" ], "summary": "订单详情详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回订单详情详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopOrderDetail" }, "msg": { "type": "string" } } } ] } } } } }, "/shoporderdetail/List": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询订单详情数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "订单详情相关接口" ], "summary": "分页查询订单详情数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "商品编码", "name": "code", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "配送费", "name": "deliveryFee", "in": "query" }, { "type": "string", "description": "产品描述", "name": "description", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "订单详情id", "name": "id", "in": "query" }, { "type": "string", "description": "商品图片", "name": "imageUrl", "in": "query" }, { "type": "string", "description": "商品简介", "name": "info", "in": "query" }, { "type": "integer", "description": "商品是否有效(1有效 2无效)", "name": "isProductExists", "in": "query" }, { "type": "string", "description": "商品名称", "name": "label", "in": "query" }, { "type": "integer", "description": "购买数量", "name": "number", "in": "query" }, { "type": "string", "description": "订单单号", "name": "orderNo", "in": "query" }, { "type": "string", "description": "打包费", "name": "packFee", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "邮费", "name": "postage", "in": "query" }, { "type": "string", "description": "商品价格", "name": "price", "in": "query" }, { "type": "integer", "description": "商品id", "name": "productId", "in": "query" }, { "type": "string", "description": "商品型号(记录详细商品型号,如颜色、规格、包装等)", "name": "productModeDesc", "in": "query" }, { "type": "integer", "description": "商品库存id", "name": "productStockId", "in": "query" }, { "type": "string", "description": "小计金额", "name": "subtotal", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "会员价格", "name": "vipPrice", "in": "query" } ], "responses": { "200": { "description": "分页获取订单详情列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopOrderDetail" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shoporderdetail/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询订单详情数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "订单详情相关接口" ], "summary": "分页查询订单详情数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取订单详情列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopOrderDetail" }, "msg": { "type": "string" } } } ] } } } } }, "/shopproduct": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "商品详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品相关接口" ], "summary": "商品详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回商品详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ShopProductInfo" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除商品接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品相关接口" ], "summary": "删除商品接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproduct/List": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询商品数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品相关接口" ], "summary": "分页查询商品数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "产品条码(一维码)", "name": "barCode", "in": "query" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "浏览量", "name": "browse", "in": "query" }, { "type": "integer", "description": "商品分类", "name": "catId", "in": "query" }, { "type": "string", "description": "商品编码", "name": "code", "in": "query" }, { "type": "string", "description": "产品二维码地址(用户小程序海报)", "name": "codePath", "in": "query" }, { "type": "string", "description": "成本价", "name": "cost", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "配送费", "name": "deliveryFee", "in": "query" }, { "type": "string", "description": "产品描述", "name": "description", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "虚拟销量", "name": "ficti", "in": "query" }, { "type": "string", "description": "获得积分", "name": "giveIntegral", "in": "query" }, { "type": "integer", "description": "商品id", "name": "id", "in": "query" }, { "type": "string", "description": "商品ids", "name": "ids", "in": "query" }, { "type": "string", "description": "商品图片", "name": "imageUrl", "in": "query" }, { "type": "string", "description": "商品简介", "name": "info", "in": "query" }, { "type": "integer", "description": "需要多少积分兑换 只在获取方式时生效", "name": "integral", "in": "query" }, { "type": "integer", "description": "砍价状态 (1未开启 2开启)", "name": "isBargain", "in": "query" }, { "type": "integer", "description": "是否优惠(1否 2是)", "name": "isBenefit", "in": "query" }, { "type": "integer", "description": "是否精品(1否 2是)", "name": "isBest", "in": "query" }, { "type": "integer", "description": "是否删除(1否 2是)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "是否推荐(1否 2是)", "name": "isGood", "in": "query" }, { "type": "integer", "description": "是否热卖(1否 2是)", "name": "isHot", "in": "query" }, { "type": "integer", "description": "获取方式(1领取 2积分兑换)", "name": "isIntegral", "in": "query" }, { "type": "integer", "description": "是否必点(1否 2是)", "name": "isMust", "in": "query" }, { "type": "integer", "description": "是否新品(1否 2是)", "name": "isNew", "in": "query" }, { "type": "integer", "description": "是否支持外送(1否 2是)", "name": "isOut", "in": "query" }, { "type": "integer", "description": "是否包邮(1否 2是)", "name": "isPostage", "in": "query" }, { "type": "integer", "description": "秒杀状态 (1未开启 2已开启)", "name": "isSeckill", "in": "query" }, { "type": "integer", "description": "状态(1未上架 2上架)", "name": "isShow", "in": "query" }, { "type": "integer", "description": "是否单点(1否 2是)", "name": "isSinge", "in": "query" }, { "type": "string", "description": "关键字", "name": "keyword", "in": "query" }, { "type": "string", "description": "商品名称", "name": "label", "in": "query" }, { "type": "integer", "description": "最大下单数", "name": "maxNumber", "in": "query" }, { "type": "integer", "description": "最小下单数", "name": "minNumber", "in": "query" }, { "type": "string", "description": "市场价", "name": "otPrice", "in": "query" }, { "type": "string", "description": "打包费", "name": "packFee", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "邮费", "name": "postage", "in": "query" }, { "type": "string", "description": "商品价格", "name": "price", "in": "query" }, { "type": "integer", "description": "销量", "name": "sales", "in": "query" }, { "type": "string", "description": "轮播图", "name": "sliderImage", "in": "query" }, { "type": "integer", "description": "排序", "name": "sort", "in": "query" }, { "type": "integer", "description": "规格 (1单 2多)", "name": "specType", "in": "query" }, { "type": "integer", "description": "库存", "name": "stock", "in": "query" }, { "type": "integer", "description": "运费模板ID", "name": "tempId", "in": "query" }, { "type": "string", "description": "单位名", "name": "unitName", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "会员价格", "name": "vipPrice", "in": "query" } ], "responses": { "200": { "description": "分页获取商品列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopProduct" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopproduct/add": { "post": { "description": "新增商品接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品相关接口" ], "summary": "新增商品接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "商品实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopProduct" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproduct/edit": { "put": { "description": "新增商品接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品相关接口" ], "summary": "修改商品接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "商品实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopProduct" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproduct/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询商品数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品相关接口" ], "summary": "分页查询商品数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取商品列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopProduct" }, "msg": { "type": "string" } } } ] } } } } }, "/shopproduct/show": { "put": { "description": "商品上下架接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品相关接口" ], "summary": "商品上下架接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id参数", "name": "id", "in": "query" }, { "type": "integer", "description": "状态", "name": "ishow", "in": "query" } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproduct/status": { "put": { "description": "商品上下架接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品相关接口" ], "summary": "商品上下架接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id参数", "name": "id", "in": "query" }, { "type": "integer", "description": "状态", "name": "ishow", "in": "query" } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproductspec": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "商品规格详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品规格相关接口" ], "summary": "商品规格详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回商品规格详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopProductSpec" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除商品规格接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品规格相关接口" ], "summary": "删除商品规格接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproductspec/add": { "post": { "description": "新增商品规格接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品规格相关接口" ], "summary": "新增商品规格接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "商品规格实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopProductSpec" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproductspec/applist": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询商品规格数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品规格相关接口" ], "summary": "分页查询商品规格数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "id参数", "name": "id", "in": "query", "required": true } ], "responses": { "200": { "description": "分页获取商品规格列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.ShopSpecResponse" }, "msg": { "type": "string" } } } ] } } } } }, "/shopproductspec/edit": { "put": { "description": "新增商品规格接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品规格相关接口" ], "summary": "修改商品规格接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "商品规格实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopProductSpec" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproductspec/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询商品规格数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品规格相关接口" ], "summary": "分页查询商品规格数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建人", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否删除(1否 2是)", "name": "isDel", "in": "query" }, { "type": "string", "description": "规格", "name": "label", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "商品ID", "name": "productId", "in": "query" }, { "type": "string", "description": "更新人", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "规格图片", "name": "url", "in": "query" }, { "type": "string", "description": "规格", "name": "val", "in": "query" } ], "responses": { "200": { "description": "分页获取商品规格列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopProductSpec" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopproductspec/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询商品规格数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品规格相关接口" ], "summary": "分页查询商品规格数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取商品规格列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopProductSpec" }, "msg": { "type": "string" } } } ] } } } } }, "/shopproductstock": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "商品库存详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品库存相关接口" ], "summary": "商品库存详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回商品库存详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopProductStock" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除商品库存接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品库存相关接口" ], "summary": "删除商品库存接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproductstock/List": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询商品库存数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品库存相关接口" ], "summary": "分页查询商品库存数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "成本价", "name": "cost", "in": "query" }, { "type": "string", "description": "创建人", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否删除(1否 2是)", "name": "isDel", "in": "query" }, { "type": "string", "description": "规格", "name": "label", "in": "query" }, { "type": "string", "description": "市场价", "name": "otPrice", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "商品价格", "name": "price", "in": "query" }, { "type": "integer", "description": "商品ID", "name": "productId", "in": "query" }, { "type": "integer", "description": "库存", "name": "stock", "in": "query" }, { "type": "string", "description": "更新人", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "会员价格", "name": "vipPrice", "in": "query" }, { "type": "integer", "description": "重量", "name": "weight", "in": "query" } ], "responses": { "200": { "description": "分页获取商品库存列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopProductStock" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopproductstock/add": { "post": { "description": "新增商品库存接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品库存相关接口" ], "summary": "新增商品库存接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "商品库存实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopProductStock" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproductstock/edit": { "put": { "description": "新增商品库存接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品库存相关接口" ], "summary": "修改商品库存接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "商品库存实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopProductStock" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopproductstock/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询商品库存数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "商品库存相关接口" ], "summary": "分页查询商品库存数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取商品库存列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopProductStock" }, "msg": { "type": "string" } } } ] } } } } }, "/shopservice": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "服务管理详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务管理相关接口" ], "summary": "服务管理详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回服务管理详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopService" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除服务管理接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务管理相关接口" ], "summary": "删除服务管理接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopservice/add": { "post": { "description": "新增服务管理接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务管理相关接口" ], "summary": "新增服务管理接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "服务管理实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopService" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopservice/download": { "get": { "description": "下载最新程序接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务管理相关接口" ], "summary": "下载最新程序接口", "parameters": [ { "type": "string", "description": "address", "name": "address", "in": "query", "required": true }, { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopservice/edit": { "put": { "description": "新增服务管理接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务管理相关接口" ], "summary": "修改服务管理接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "服务管理实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.ShopService" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/shopservice/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询服务管理数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务管理相关接口" ], "summary": "分页查询服务管理数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "购买时长", "name": "buyNum", "in": "query" }, { "type": "string", "description": "购买时间", "name": "buyTime", "in": "query" }, { "type": "string", "description": "服务编码", "name": "code", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "图标", "name": "image", "in": "query" }, { "type": "string", "description": "到期时间", "name": "invalidTime", "in": "query" }, { "type": "integer", "description": "是否可用(1否 2是)", "name": "isDel", "in": "query" }, { "type": "string", "description": "名称", "name": "label", "in": "query" }, { "type": "integer", "description": "年费用", "name": "money", "in": "query" }, { "type": "string", "description": "服务购买优惠方案", "name": "moneyPlan", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "购买状态(1未购买 2已购买 3需要续费)", "name": "status", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取服务管理列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopService" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/shopservice/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据服务管理数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务管理相关接口" ], "summary": "查询全部数据服务管理数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取服务管理列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopService" }, "msg": { "type": "string" } } } ] } } } } }, "/shopservice/login": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "登录服务市场接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务管理相关接口" ], "summary": "登录服务市场接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回服务管理详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.ShopService" }, "msg": { "type": "string" } } } ] } } } } }, "/shopservice/myList": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询已购买服务数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "服务管理相关接口" ], "summary": "查询已购买服务管理数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "购买时长", "name": "buyNum", "in": "query" }, { "type": "string", "description": "购买时间", "name": "buyTime", "in": "query" }, { "type": "string", "description": "服务编码", "name": "code", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "图标", "name": "image", "in": "query" }, { "type": "string", "description": "到期时间", "name": "invalidTime", "in": "query" }, { "type": "integer", "description": "是否可用(1否 2是)", "name": "isDel", "in": "query" }, { "type": "string", "description": "名称", "name": "label", "in": "query" }, { "type": "integer", "description": "年费用", "name": "money", "in": "query" }, { "type": "string", "description": "服务购买优惠方案", "name": "moneyPlan", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "购买状态(1未购买 2已购买 3需要续费)", "name": "status", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取服务管理列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.ShopService" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/sysattachment/qiniuUpload": { "post": { "security": [ { "ApiKeyAuth": [] } ], "description": "文件上传接口数据", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "文件上传相关接口" ], "summary": "文件上传接口数据", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "文件上传结果", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "string" }, "msg": { "type": "string" } } } ] } } } } }, "/sysdeliveryconfig": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "配送配置详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "配送配置相关接口" ], "summary": "配送配置详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回配送配置详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysDeliveryConfig" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除配送配置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "配送配置相关接口" ], "summary": "删除配送配置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysdeliveryconfig/add": { "post": { "description": "新增配送配置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "配送配置相关接口" ], "summary": "新增配送配置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "配送配置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysDeliveryConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysdeliveryconfig/edit": { "put": { "description": "新增配送配置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "配送配置相关接口" ], "summary": "修改配送配置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "配送配置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysDeliveryConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysdeliveryconfig/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询配送配置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "配送配置相关接口" ], "summary": "分页查询配送配置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "配送费", "name": "deliveryMoney", "in": "query" }, { "type": "integer", "description": "多少金额免配送费", "name": "deliveryMoneyFree", "in": "query" }, { "type": "integer", "description": "配送范围", "name": "distance", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "是否删除(1删除 2未删除)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "多少金额起送", "name": "money", "in": "query" }, { "type": "integer", "description": "打包费", "name": "packMoney", "in": "query" }, { "type": "integer", "description": "多少金额免打包费", "name": "packMoneyFree", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取配送配置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysDeliveryConfig" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/sysdeliveryconfig/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据配送配置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "配送配置相关接口" ], "summary": "查询全部数据配送配置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取配送配置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysDeliveryConfig" }, "msg": { "type": "string" } } } ] } } } } }, "/sysinfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "系统设置详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统设置相关接口" ], "summary": "系统设置详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回系统设置详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysInfo" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除系统设置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统设置相关接口" ], "summary": "删除系统设置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysinfo/add": { "post": { "description": "新增系统设置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统设置相关接口" ], "summary": "新增系统设置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "系统设置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysInfo" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysinfo/edit": { "put": { "description": "新增系统设置接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统设置相关接口" ], "summary": "修改系统设置接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "系统设置实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysInfo" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysinfo/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询系统设置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统设置相关接口" ], "summary": "分页查询系统设置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "logo", "name": "image", "in": "query" }, { "type": "string", "description": "删除标志(1代表存在 2代表删除)", "name": "isDel", "in": "query" }, { "type": "string", "description": "系统名称", "name": "label", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取系统设置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysInfo" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/sysinfo/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据系统设置数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "系统设置相关接口" ], "summary": "查询全部数据系统设置数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取系统设置列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysInfo" }, "msg": { "type": "string" } } } ] } } } } }, "/sysmember": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "会员信息详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员信息相关接口" ], "summary": "会员信息详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回会员信息详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysMember" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除会员信息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员信息相关接口" ], "summary": "删除会员信息接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysmember/add": { "post": { "description": "新增会员信息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员信息相关接口" ], "summary": "新增会员信息接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "会员信息实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysMember" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysmember/edit": { "put": { "description": "新增会员信息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员信息相关接口" ], "summary": "修改会员信息接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "会员信息实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysMember" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysmember/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询会员信息数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员信息相关接口" ], "summary": "分页查询会员信息数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "头像地址", "name": "avatar", "in": "query" }, { "type": "string", "description": "余额", "name": "balance", "in": "query" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "删除标志(0代表存在 2代表删除)", "name": "delFlag", "in": "query" }, { "type": "integer", "description": "部门ID", "name": "deptId", "in": "query" }, { "type": "string", "description": "用户邮箱", "name": "email", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "会员等级分", "name": "gradeScore", "in": "query" }, { "type": "integer", "description": "用户ID", "name": "id", "in": "query" }, { "type": "integer", "description": "积分", "name": "integral", "in": "query" }, { "type": "string", "description": "最后下单时间", "name": "lastOrderTime", "in": "query" }, { "type": "integer", "description": "会员等级id", "name": "levelId", "in": "query" }, { "type": "string", "description": "最后登录时间", "name": "loginDate", "in": "query" }, { "type": "string", "description": "最后登录IP", "name": "loginIp", "in": "query" }, { "type": "string", "description": "是否已领取新人券(0否 1是)", "name": "newVoucherFlag", "in": "query" }, { "type": "string", "description": "用户昵称", "name": "nickName", "in": "query" }, { "type": "string", "description": "微信用户openid", "name": "openid", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "密码", "name": "password", "in": "query" }, { "type": "string", "description": "手机号码", "name": "phoneNumber", "in": "query" }, { "type": "string", "description": "备注", "name": "remark", "in": "query" }, { "type": "string", "description": "微信登录会话key", "name": "sessionKey", "in": "query" }, { "type": "string", "description": "用户性别(0男 1女 2未知)", "name": "sex", "in": "query" }, { "type": "string", "description": "帐号状态(0正常 1停用)", "name": "status", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "string", "description": "用户账号", "name": "userName", "in": "query" }, { "type": "string", "description": "用户类型(00系统用户)", "name": "userType", "in": "query" } ], "responses": { "200": { "description": "分页获取会员信息列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysMember" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/sysmember/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据会员信息数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员信息相关接口" ], "summary": "查询全部数据会员信息数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取会员信息列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysMember" }, "msg": { "type": "string" } } } ] } } } } }, "/sysusercenterconfig": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "个人中心配置规则详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "个人中心配置规则相关接口" ], "summary": "个人中心配置规则详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回个人中心配置规则详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserCenterConfig" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除个人中心配置规则接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "个人中心配置规则相关接口" ], "summary": "删除个人中心配置规则接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysusercenterconfig/add": { "post": { "description": "新增个人中心配置规则接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "个人中心配置规则相关接口" ], "summary": "新增个人中心配置规则接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "个人中心配置规则实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserCenterConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysusercenterconfig/edit": { "put": { "description": "新增个人中心配置规则接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "个人中心配置规则相关接口" ], "summary": "修改个人中心配置规则接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "个人中心配置规则实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserCenterConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysusercenterconfig/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询个人中心配置规则数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "个人中心配置规则相关接口" ], "summary": "分页查询个人中心配置规则数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "颜色值", "name": "color", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "背景图", "name": "image", "in": "query" }, { "type": "integer", "description": "是否删除(1删除 2未删除)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取个人中心配置规则列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysUserCenterConfig" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/sysusercenterconfig/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据个人中心配置规则数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "个人中心配置规则相关接口" ], "summary": "查询全部数据个人中心配置规则数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取个人中心配置规则列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserCenterConfig" }, "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegralconfig": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "积分配置规则详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "积分配置规则相关接口" ], "summary": "积分配置规则详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回积分配置规则详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserIntegralConfig" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除积分配置规则接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "积分配置规则相关接口" ], "summary": "删除积分配置规则接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegralconfig/add": { "post": { "description": "新增积分配置规则接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "积分配置规则相关接口" ], "summary": "新增积分配置规则接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "积分配置规则实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserIntegralConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegralconfig/edit": { "put": { "description": "新增积分配置规则接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "积分配置规则相关接口" ], "summary": "修改积分配置规则接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "积分配置规则实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserIntegralConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegralconfig/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询积分配置规则数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "积分配置规则相关接口" ], "summary": "分页查询积分配置规则数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "失效天数(0长期有效)", "name": "invalidNum", "in": "query" }, { "type": "integer", "description": "是否删除(1删除 2未删除)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "多少钱等于1积分", "name": "money", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "积分规则说明", "name": "remark", "in": "query" }, { "type": "integer", "description": "是否删除(1按天数失效 2第二年失效 3永不失效)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取积分配置规则列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysUserIntegralConfig" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegralconfig/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据积分配置规则数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "积分配置规则相关接口" ], "summary": "查询全部数据积分配置规则数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取积分配置规则列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserIntegralConfig" }, "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegraldetail": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "用户积分明细详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户积分明细相关接口" ], "summary": "用户积分明细详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回用户积分明细详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserIntegralDetail" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除用户积分明细接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户积分明细相关接口" ], "summary": "删除用户积分明细接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegraldetail/add": { "post": { "description": "新增用户积分明细接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户积分明细相关接口" ], "summary": "新增用户积分明细接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "用户积分明细实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserIntegralDetail" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegraldetail/edit": { "put": { "description": "新增用户积分明细接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户积分明细相关接口" ], "summary": "修改用户积分明细接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "用户积分明细实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserIntegralDetail" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegraldetail/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询用户积分明细数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户积分明细相关接口" ], "summary": "分页查询用户积分明细数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "类型(1收入 2支出 )", "name": "cat", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "积分", "name": "integral", "in": "query" }, { "type": "string", "description": "积分失效的时间", "name": "invalidTime", "in": "query" }, { "type": "integer", "description": "是否删除(1删除 2未删除)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "是否失效(1正常 2失效)", "name": "isInvalid", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "剩余积分", "name": "stockIntegral", "in": "query" }, { "type": "integer", "description": "方式(1购买商品 2兑换优惠券 3积分失效 4系统操作)", "name": "type", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "integer", "description": "用户id", "name": "userId", "in": "query" } ], "responses": { "200": { "description": "分页获取用户积分明细列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysUserIntegralDetail" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/sysuserintegraldetail/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据用户积分明细数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户积分明细相关接口" ], "summary": "查询全部数据用户积分明细数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取用户积分明细列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserIntegralDetail" }, "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevel": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "会员等级详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员等级相关接口" ], "summary": "会员等级详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回会员等级详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserLevel" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除会员等级接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员等级相关接口" ], "summary": "删除会员等级接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevel/add": { "post": { "description": "新增会员等级接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员等级相关接口" ], "summary": "新增会员等级接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "会员等级实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserLevel" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevel/edit": { "put": { "description": "新增会员等级接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员等级相关接口" ], "summary": "修改会员等级接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "会员等级实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserLevel" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevel/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询会员等级数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员等级相关接口" ], "summary": "分页查询会员等级数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "integer", "description": "享受折扣", "name": "discount", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "string", "description": "说明", "name": "explain", "in": "query" }, { "type": "integer", "description": "会员等级", "name": "grade", "in": "query" }, { "type": "string", "description": "会员图标", "name": "icon", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "会员卡背景", "name": "image", "in": "query" }, { "type": "integer", "description": "所需积分", "name": "integral", "in": "query" }, { "type": "integer", "description": "是否删除(1删除 2未删除)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "是否永久会员(1否 2是)", "name": "isForever", "in": "query" }, { "type": "integer", "description": "是否购买(1购买 2不购买)", "name": "isPay", "in": "query" }, { "type": "integer", "description": "是否显示(1显示 2隐藏)", "name": "isShow", "in": "query" }, { "type": "string", "description": "会员名称", "name": "label", "in": "query" }, { "type": "string", "description": "购买金额", "name": "money", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" }, { "type": "integer", "description": "有效时间", "name": "validDate", "in": "query" } ], "responses": { "200": { "description": "分页获取会员等级列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysUserLevel" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevel/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据会员等级数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "会员等级相关接口" ], "summary": "查询全部数据会员等级数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取会员等级列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserLevel" }, "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevelconfig": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "等级分配置规则详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "等级分配置规则相关接口" ], "summary": "等级分配置规则详情查询接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "返回等级分配置规则详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserLevelConfig" }, "msg": { "type": "string" } } } ] } } } }, "delete": { "description": "删除等级分配置规则接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "等级分配置规则相关接口" ], "summary": "删除等级分配置规则接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevelconfig/add": { "post": { "description": "新增等级分配置规则接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "等级分配置规则相关接口" ], "summary": "新增等级分配置规则接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "等级分配置规则实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserLevelConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevelconfig/edit": { "put": { "description": "新增等级分配置规则接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "等级分配置规则相关接口" ], "summary": "修改等级分配置规则接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "description": "等级分配置规则实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUserLevelConfig" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevelconfig/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "分页查询等级分配置规则数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "等级分配置规则相关接口" ], "summary": "分页查询等级分配置规则数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "string", "description": "创建者", "name": "createBy", "in": "query" }, { "type": "string", "description": "创建时间", "name": "createTime", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "integer", "description": "一元可购买的等级分", "name": "integral", "in": "query" }, { "type": "integer", "description": "是否删除(1删除 2未删除)", "name": "isDel", "in": "query" }, { "type": "integer", "description": "是否开启商品购买获得(1否 2是)", "name": "isOpen", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "integer", "description": "1元可获得的等级分", "name": "productIntegral", "in": "query" }, { "type": "string", "description": "更新者", "name": "updateBy", "in": "query" }, { "type": "string", "description": "更新时间", "name": "updateTime", "in": "query" } ], "responses": { "200": { "description": "分页获取等级分配置规则列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysUserLevelConfig" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/sysuserlevelconfig/listAll": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询全部数据等级分配置规则数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "等级分配置规则相关接口" ], "summary": "查询全部数据等级分配置规则数据接口", "parameters": [ { "type": "string", "description": "Bearer 令牌", "name": "Authorization", "in": "header" } ], "responses": { "200": { "description": "分页获取等级分配置规则列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/model.SysUserLevelConfig" }, "msg": { "type": "string" } } } ] } } } } }, "/user/add": { "post": { "description": "新增用户接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "description": "用户实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUser" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/user/authRole": { "put": { "description": "修改状态接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "summary": "修改状态接口", "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true }, { "type": "string", "description": "status", "name": "status", "in": "query", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/user/changeStatus": { "put": { "description": "修改状态接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "summary": "修改状态接口", "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "query", "required": true }, { "type": "string", "description": "status", "name": "status", "in": "query", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/user/edit": { "put": { "description": "修改用户接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "description": "用户实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUser" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/user/getInfo": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "用户详情查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回用户详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.UserInfo" }, "msg": { "type": "string" } } } ] } } } } }, "/user/list": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "用户列表查询接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "开始时间", "name": "beginTime", "in": "query" }, { "type": "integer", "description": "部门id", "name": "deptId", "in": "query" }, { "type": "string", "description": "邮箱", "name": "email", "in": "query" }, { "type": "string", "description": "结束时间", "name": "endTime", "in": "query" }, { "type": "integer", "description": "主键id", "name": "id", "in": "query" }, { "type": "string", "description": "用户昵称", "name": "nickName", "in": "query" }, { "type": "integer", "description": "当前页码", "name": "pageNum", "in": "query" }, { "type": "integer", "description": "显示条数", "name": "pageSize", "in": "query" }, { "type": "string", "description": "手机号", "name": "phoneNumber", "in": "query" }, { "type": "integer", "description": "角色id", "name": "roleId", "in": "query" }, { "type": "string", "description": "状态", "name": "status", "in": "query" }, { "type": "string", "description": "用户名", "name": "userName", "in": "query" }, { "type": "string", "description": "用户类型(00系统用户)", "name": "userType", "in": "query" } ], "responses": { "200": { "description": "分页获取用户列表,返回包括列表,总数,页码,每页数量", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "allOf": [ { "$ref": "#/definitions/page.Page" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/model.SysUser" } } } ] }, "msg": { "type": "string" } } } ] } } } } }, "/user/profile": { "get": { "security": [ { "ApiKeyAuth": [] } ], "description": "查询个人信息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "summary": "查询个人信息接口", "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "返回个人详情查询", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "data": { "type": "object", "additionalProperties": true }, "msg": { "type": "string" } } } ] } } } }, "put": { "description": "修改个人数据接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "summary": "修改个人数据接口", "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "description": "用户实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUser" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/user/profile/avatar": { "put": { "description": "修改个人密码接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "summary": "修改个人密码接口", "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "type": "file", "description": "avatarfile", "name": "file", "in": "formData", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/user/profile/updatePwd": { "put": { "description": "修改个人密码接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "summary": "修改个人密码接口", "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "type": "string", "description": "oldPassword", "name": "oldPassword", "in": "query", "required": true }, { "type": "string", "description": "newPassword", "name": "newPassword", "in": "query", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/user/remove": { "delete": { "description": "删除用户接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "type": "integer", "description": "id", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } }, "/user/resetPwd": { "put": { "description": "重置用户密码接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "用户相关接口" ], "parameters": [ { "type": "string", "description": "Bearer 用户令牌", "name": "Authorization", "in": "header" }, { "description": "用户实体对象", "name": "data", "in": "body", "required": true, "schema": { "$ref": "#/definitions/model.SysUser" } } ], "responses": { "200": { "description": "操作状态", "schema": { "allOf": [ { "$ref": "#/definitions/resp.Response" }, { "type": "object", "properties": { "msg": { "type": "string" } } } ] } } } } } }, "definitions": { "base.OrderBy": { "type": "object", "properties": { "isAsc": { "description": "排序方式(1 正序 2 倒序)", "type": "integer" }, "label": { "description": "排序字段", "type": "string" } } }, "captcha.CaptchaInfo": { "type": "object", "properties": { "id": { "description": "id", "type": "string" }, "image": { "description": "验证码", "type": "string" } } }, "model.ConsumeInfo": { "type": "object", "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "ID", "type": "integer" }, "money": { "description": "消费金额", "type": "string" }, "remark": { "description": "加/扣款备注", "type": "string" }, "status": { "description": "消费状态(1待付款 2成功 3失败)", "type": "integer" }, "tradeNo": { "description": "消费单号", "type": "string" }, "tradeState": { "description": "微信支付状态", "type": "string" }, "transactionId": { "description": "微信支付订单号", "type": "string" }, "type": { "description": "消费方式(1充值 2消费 3退款 4加款 5扣款)", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "userId": { "description": "用户ID", "type": "integer" } } }, "model.DocArticle": { "type": "object", "required": [ "catId", "label", "sort" ], "properties": { "catId": { "description": "文章分类", "type": "integer" }, "content": { "description": "内容", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "isHot": { "description": "是否热门(1否 2是)", "type": "integer" }, "isTop": { "description": "是否推荐(1否 2是)", "type": "integer" }, "label": { "description": "文章标题", "type": "string" }, "profile": { "description": "简介", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "url": { "description": "封面图", "type": "string" } } }, "model.DocCategory": { "type": "object", "required": [ "code", "label" ], "properties": { "code": { "description": "编号", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "delFlag": { "description": "删除标志(0代表存在 2代表删除)", "type": "string" }, "id": { "description": "分类id", "type": "integer" }, "label": { "description": "分类名称", "type": "string" }, "orderNum": { "description": "显示顺序", "type": "integer" }, "parentId": { "description": "父id", "type": "integer" }, "status": { "description": "状态(0正常 1停用)", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "url": { "description": "分类图标", "type": "string" } } }, "model.ShopAboutConfig": { "type": "object", "required": [ "description" ], "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "description": { "description": "介绍", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "isDel": { "description": "删除标志(1代表存在 2代表删除)", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.ShopActivityConfig": { "type": "object", "properties": { "couponId": { "description": "分享可获得的优惠券", "type": "integer" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "integral": { "description": "分享可获得积分数", "type": "integer" }, "investMoney": { "description": "充值活动", "type": "string" }, "isCoupon": { "description": "开启分享获得优惠券(1否 2是)", "type": "integer" }, "isDel": { "description": "是否删除(1删除 2未删除)", "type": "integer" }, "isIntegral": { "description": "开启分享积分(1否 2是)", "type": "integer" }, "isInvest": { "description": "开启充值活动(1否 2是)", "type": "integer" }, "isNew": { "description": "开启新人券(1否 2是)", "type": "integer" }, "isSign": { "description": "开启签到获得积分(1否 2是)", "type": "integer" }, "newId": { "description": "新人券", "type": "integer" }, "signIntegral": { "description": "签到可获得的积分", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.ShopAddress": { "type": "object", "properties": { "address": { "description": "详细收货地址", "type": "string" }, "city": { "description": "城市", "type": "string" }, "country": { "description": "国家", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "district": { "description": "地区", "type": "string" }, "id": { "description": "地址id", "type": "integer" }, "isDefault": { "description": "是否默认地址", "type": "integer" }, "lat": { "description": "纬度", "type": "string" }, "lng": { "description": "经度", "type": "string" }, "province": { "description": "省份", "type": "string" }, "realname": { "description": "姓名", "type": "string" }, "street": { "description": "街道", "type": "string" }, "telphone": { "description": "联系电话", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "zip": { "description": "邮政编码", "type": "string" } } }, "model.ShopCarousel": { "type": "object", "required": [ "orderNum", "otherId", "otherLabel", "url" ], "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "isDel": { "description": "删除标志(1代表存在 2代表删除)", "type": "string" }, "label": { "description": "标题", "type": "string" }, "orderNum": { "description": "显示顺序", "type": "integer" }, "otherId": { "description": "关联id", "type": "integer" }, "otherLabel": { "description": "标题", "type": "string" }, "site": { "description": "位置(1首页 2商品列表)", "type": "string" }, "status": { "description": "显示状态(1正常 2停用)", "type": "string" }, "type": { "description": "状态(1文章 2文章列表 3商品 4商品列表)", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "url": { "description": "图片地址", "type": "string" } } }, "model.ShopCart": { "type": "object", "required": [ "number", "productId" ], "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "订单id", "type": "integer" }, "isDel": { "description": "是否清空(1正常 2清空)", "type": "integer" }, "isProductExists": { "description": "商品是否有效(1有效 2无效)", "type": "integer" }, "number": { "description": "购买数量", "type": "integer" }, "productId": { "description": "商品id", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "userId": { "description": "用户id", "type": "integer" } } }, "model.ShopCategory": { "type": "object", "required": [ "code", "label", "orderNum" ], "properties": { "code": { "description": "编号", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "delFlag": { "description": "删除标志(0代表存在 2代表删除)", "type": "string" }, "id": { "description": "分类id", "type": "integer" }, "label": { "description": "分类名称", "type": "string" }, "orderNum": { "description": "显示顺序", "type": "integer" }, "parentId": { "description": "父id", "type": "integer" }, "status": { "description": "状态(0正常 1停用)", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "url": { "description": "分类图标", "type": "string" } } }, "model.ShopCoupon": { "type": "object", "required": [ "couponPrice", "couponTime", "label", "minPrice" ], "properties": { "couponPrice": { "description": "兑换的优惠券面值", "type": "string" }, "couponTime": { "description": "优惠券有效期限(单位:天)", "type": "integer" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "integral": { "description": "兑换消耗积分值", "type": "integer" }, "isDel": { "description": "是否删除(1-否 2-是)", "type": "integer" }, "isOpen": { "description": "获取方式(1-否 2-是)", "type": "integer" }, "label": { "description": "优惠券名称", "type": "string" }, "minPrice": { "description": "最低消费多少金额可用优惠券", "type": "string" }, "productId": { "description": "商品ids", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "status": { "description": "状态(1:关闭,2:开启)", "type": "integer" }, "type": { "description": "优惠券类型 (1-通用 2-商品券)", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.ShopCouponIssue": { "type": "object", "required": [ "couponPrice", "couponTime", "minPrice" ], "properties": { "couponId": { "description": "优惠券ID", "type": "integer" }, "couponPrice": { "description": "兑换的优惠券面值", "type": "string" }, "couponTime": { "description": "优惠券有效期限(单位:天)", "type": "integer" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "endTime": { "description": "优惠券领取结束时间", "type": "string" }, "id": { "type": "integer" }, "integral": { "description": "兑换消耗积分值", "type": "integer" }, "isDel": { "type": "integer" }, "isOpen": { "description": "获取方式(1领取,2积分兑换,3系统发放)", "type": "integer" }, "isPermanent": { "description": "是否无限张数(1否 2是)", "type": "integer" }, "label": { "description": "优惠券名称", "type": "string" }, "minPrice": { "description": "最低消费多少金额可用优惠券", "type": "string" }, "productId": { "description": "商品ids", "type": "string" }, "remainCount": { "description": "优惠券剩余领取数量", "type": "integer" }, "startTime": { "description": "优惠券领取开启时间", "type": "string" }, "status": { "description": "状态(2正常 1未开启 3已无效)", "type": "integer" }, "totalCount": { "description": "优惠券领取数量", "type": "integer" }, "type": { "description": "优惠券类型(1通用 2新人券 3商品券)", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.ShopCouponIssueUser": { "type": "object", "properties": { "beginTime": { "description": "优惠券开始时间", "type": "string" }, "couponId": { "description": "优惠券id", "type": "integer" }, "couponPrice": { "description": "优惠券的面值", "type": "string" }, "couponTime": { "description": "优惠券有效期(单位:天)", "type": "integer" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "endTime": { "description": "优惠券结束时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "isDel": { "description": "是否有效(1否 2是)", "type": "integer" }, "isFail": { "description": "是否有效(1否 2是)", "type": "integer" }, "issueId": { "description": "优惠券发放id", "type": "integer" }, "label": { "description": "优惠券名称", "type": "string" }, "receiveTime": { "description": "领取时间", "type": "string" }, "status": { "description": "状态(1:未使用,2:已使用, 3:已过期)", "type": "integer" }, "type": { "description": "获取方式(1手动获取 2积分兑换 3系统发放)", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "useMinPrice": { "description": "最低消费多少金额可用优惠券", "type": "string" }, "useTime": { "description": "使用时间", "type": "string" }, "userId": { "description": "优惠券所属用户", "type": "integer" } } }, "model.ShopInfo": { "type": "object", "required": [ "address", "area", "city", "code", "description", "endTime", "image", "label", "logo", "ownerName", "phone", "site", "startTime" ], "properties": { "address": { "description": "地址", "type": "string" }, "area": { "description": "区域", "type": "string" }, "city": { "description": "城市", "type": "string" }, "code": { "description": "code", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "description": { "description": "介绍", "type": "string" }, "endTime": { "description": "关门时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "image": { "description": "店铺头部图片", "type": "string" }, "isDel": { "description": "删除标志(1代表存在 2代表删除)", "type": "string" }, "key": { "description": "腾讯地图key", "type": "string" }, "label": { "description": "店铺名", "type": "string" }, "logo": { "description": "logo", "type": "string" }, "ownerName": { "description": "店铺负责人", "type": "string" }, "phone": { "description": "电话", "type": "string" }, "site": { "description": "经纬度", "type": "string" }, "startTime": { "description": "开门时间", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.ShopOrder": { "type": "object", "required": [ "details", "payChannel", "shippingType" ], "properties": { "address": { "description": "收货人详细地址", "type": "string" }, "addressId": { "description": "收货地址id", "type": "integer" }, "couponId": { "description": "优惠券id", "type": "integer" }, "couponLabel": { "description": "优惠券名称", "type": "string" }, "couponPrice": { "description": "优惠券金额", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "deduction": { "description": "抵扣详情", "type": "string" }, "deductionPrice": { "description": "抵扣金额", "type": "string" }, "deliverOrderId": { "description": "外卖配送订单id", "type": "integer" }, "deliveryTime": { "description": "发货时间", "type": "string" }, "deliveryUuid": { "description": "运单UUID", "type": "string" }, "deliveryWayCode": { "description": "配送编号", "type": "integer" }, "deliveryWayName": { "description": "配送名称", "type": "string" }, "details": { "type": "array", "minItems": 1, "items": { "$ref": "#/definitions/model.ShopOrderDetail" } }, "id": { "description": "订单id", "type": "integer" }, "isDel": { "description": "是否删除(1否 2是)", "type": "integer" }, "isPack": { "description": "是否打包(1是 2否)", "type": "integer" }, "logisticsStatus": { "description": "配送进度(1待接单 2待取货 3配送中 4已完成 5已取消)", "type": "integer" }, "nickName": { "description": "下单会员", "type": "string" }, "orderAmountTotal": { "description": "订单金额(实际付款金额)", "type": "string" }, "orderNo": { "description": "订单单号", "type": "string" }, "orderStatus": { "description": "状态(1待付款 2已付款 3已接单/配货中 4待取货 5配送中 6已完成 7已取消 8已退款 9已退单)", "type": "integer" }, "orderWeight": { "description": "订单重量", "type": "integer" }, "outTradeNo": { "description": "订单支付单号", "type": "string" }, "payChannel": { "description": "订单支付渠道(1微信支付 2余额支付)", "type": "integer" }, "payPostage": { "description": "支付邮费", "type": "string" }, "payTime": { "description": "付款时间", "type": "string" }, "phone": { "description": "收货人电话", "type": "string" }, "pickCode": { "description": "取货码", "type": "string" }, "printerMsg": { "description": "云打印机错误消息", "type": "string" }, "printerOrderId": { "description": "云打印机订单id", "type": "string" }, "product": { "description": "下单商品", "type": "string" }, "productAmountTotal": { "description": "商品总价", "type": "string" }, "productCount": { "description": "订单商品总数", "type": "integer" }, "realName": { "description": "收货人姓名", "type": "string" }, "refund": { "description": "退款金额", "type": "string" }, "refundTime": { "description": "退款时间", "type": "string" }, "remark": { "description": "客户备注", "type": "string" }, "returnsNo": { "description": "退款编号", "type": "string" }, "shippingType": { "description": "取货方式(1自取 2外卖)", "type": "integer" }, "totalDeliveryFee": { "description": "配送费", "type": "string" }, "totalPackFee": { "description": "打包费", "type": "string" }, "totalPostage": { "description": "邮费", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "userId": { "description": "用户ID", "type": "integer" } } }, "model.ShopOrderDetail": { "type": "object", "required": [ "number", "productId", "productStockId" ], "properties": { "code": { "description": "商品编码", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "deliveryFee": { "description": "配送费", "type": "string" }, "description": { "description": "产品描述", "type": "string" }, "id": { "description": "订单详情id", "type": "integer" }, "imageUrl": { "description": "商品图片", "type": "string" }, "info": { "description": "商品简介", "type": "string" }, "isProductExists": { "description": "商品是否有效(1有效 2无效)", "type": "integer" }, "label": { "description": "商品名称", "type": "string" }, "number": { "description": "购买数量", "type": "integer" }, "orderNo": { "description": "订单单号", "type": "string" }, "packFee": { "description": "打包费", "type": "string" }, "postage": { "description": "邮费", "type": "string" }, "price": { "description": "商品价格", "type": "string" }, "productId": { "description": "商品id", "type": "integer" }, "productModeDesc": { "description": "商品型号(记录详细商品型号,如颜色、规格、包装等)", "type": "string" }, "productStockId": { "description": "商品库存id", "type": "integer" }, "productWeight": { "description": "商品重量", "type": "integer" }, "subtotal": { "description": "小计金额", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "vipPrice": { "description": "会员价格", "type": "string" } } }, "model.ShopProduct": { "type": "object", "required": [ "catId", "code", "cost", "deliveryFee", "giveIntegral", "imageUrl", "isBenefit", "isBest", "isGood", "isHot", "isMust", "isNew", "isShow", "isSinge", "label", "maxNumber", "minNumber", "otPrice", "packFee", "price", "sort", "specType", "unitName", "vipPrice" ], "properties": { "barCode": { "description": "产品条码(一维码)", "type": "string" }, "browse": { "description": "浏览量", "type": "integer" }, "catId": { "description": "商品分类", "type": "integer" }, "code": { "description": "商品编码", "type": "string" }, "codePath": { "description": "产品二维码地址(用户小程序海报)", "type": "string" }, "cost": { "description": "成本价", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "deliveryFee": { "description": "配送费", "type": "string" }, "description": { "description": "产品描述", "type": "string" }, "ficti": { "description": "虚拟销量", "type": "integer" }, "giveIntegral": { "description": "获得积分", "type": "string" }, "id": { "description": "商品id", "type": "integer" }, "imageUrl": { "description": "商品图片", "type": "string" }, "info": { "description": "商品简介", "type": "string" }, "integral": { "description": "需要多少积分兑换 只在获取方式时生效", "type": "integer" }, "isBargain": { "description": "砍价状态 (1未开启 2开启)", "type": "integer" }, "isBenefit": { "description": "是否优惠(1否 2是)", "type": "integer" }, "isBest": { "description": "是否精品(1否 2是)", "type": "integer" }, "isDel": { "description": "是否删除(1否 2是)", "type": "integer" }, "isGood": { "description": "是否推荐(1否 2是)", "type": "integer" }, "isHot": { "description": "是否热卖(1否 2是)", "type": "integer" }, "isIntegral": { "description": "获取方式(1领取,2积分兑换)", "type": "integer" }, "isMust": { "description": "是否必点(1否 2是)", "type": "integer" }, "isNew": { "description": "是否新品(1否 2是)", "type": "integer" }, "isOut": { "description": "是否支持外送(1否 2是)", "type": "integer" }, "isPostage": { "description": "是否包邮(1否 2是)", "type": "integer" }, "isSeckill": { "description": "秒杀状态 (1未开启 2已开启)", "type": "integer" }, "isShow": { "description": "状态(1未上架 2上架)", "type": "integer" }, "isSinge": { "description": "是否单点(1否 2是)", "type": "integer" }, "keyword": { "description": "关键字", "type": "string" }, "label": { "description": "商品名称", "type": "string" }, "maxNumber": { "description": "最大下单数", "type": "integer" }, "minNumber": { "description": "最小下单数", "type": "integer" }, "otPrice": { "description": "市场价", "type": "string" }, "packFee": { "description": "打包费", "type": "string" }, "postage": { "description": "邮费", "type": "string" }, "price": { "description": "商品价格", "type": "string" }, "sales": { "description": "销量", "type": "integer" }, "sliderImage": { "description": "轮播图", "type": "string" }, "sort": { "description": "排序", "type": "integer" }, "specType": { "description": "规格 (1单 2多)", "type": "integer" }, "stock": { "description": "库存", "type": "integer" }, "tempId": { "description": "运费模板ID", "type": "integer" }, "unitName": { "description": "单位名", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "vipPrice": { "description": "会员价格", "type": "string" } } }, "model.ShopProductSpec": { "type": "object", "properties": { "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "isDel": { "description": "是否删除(1否 2是)", "type": "integer" }, "label": { "description": "规格", "type": "string" }, "productId": { "description": "商品ID", "type": "integer" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "url": { "description": "规格图片", "type": "string" }, "val": { "description": "规格", "type": "string" } } }, "model.ShopProductStock": { "type": "object", "properties": { "cost": { "description": "成本价", "type": "string" }, "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "isDel": { "description": "是否删除(1否 2是)", "type": "integer" }, "label": { "description": "规格", "type": "string" }, "otPrice": { "description": "市场价", "type": "string" }, "price": { "description": "商品价格", "type": "string" }, "productId": { "description": "商品ID", "type": "integer" }, "stock": { "description": "库存", "type": "integer" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "vipPrice": { "description": "会员价格", "type": "string" }, "weight": { "description": "重量", "type": "integer" } } }, "model.ShopService": { "type": "object", "required": [ "code", "image", "money", "moneyPlan" ], "properties": { "buyNum": { "description": "购买时长", "type": "integer" }, "buyTime": { "description": "购买时间", "type": "string" }, "code": { "description": "服务编码", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "image": { "description": "图标", "type": "string" }, "invalidTime": { "description": "到期时间", "type": "string" }, "isDel": { "description": "是否可用(1否 2是)", "type": "integer" }, "label": { "description": "名称", "type": "string" }, "money": { "description": "年费用", "type": "integer" }, "moneyPlan": { "description": "服务购买优惠方案", "type": "string" }, "status": { "description": "购买状态(1未购买 2已购买 3需要续费)", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysDeliveryConfig": { "type": "object", "required": [ "deliveryMoneyFree", "deliveryWay", "money", "packMoney", "packMoneyFree" ], "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "deliveryMoney": { "description": "配送费", "type": "string" }, "deliveryMoneyFree": { "description": "多少金额免配送费", "type": "integer" }, "deliveryWay": { "description": "配送编码", "type": "integer" }, "distance": { "description": "配送范围", "type": "integer" }, "id": { "description": "主键id", "type": "integer" }, "isDel": { "description": "是否删除(1删除 2未删除)", "type": "integer" }, "money": { "description": "多少金额起送", "type": "integer" }, "packMoney": { "description": "打包费", "type": "integer" }, "packMoneyFree": { "description": "多少金额免打包费", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysDept": { "type": "object", "properties": { "ancestors": { "type": "string" }, "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "delFlag": { "type": "string" }, "deptName": { "type": "string" }, "email": { "type": "string" }, "id": { "type": "integer" }, "leader": { "type": "string" }, "orderNum": { "type": "integer" }, "parentId": { "type": "integer" }, "phone": { "type": "string" }, "status": { "type": "string" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysDictData": { "type": "object", "properties": { "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "dictLabel": { "description": "字典标签", "type": "string" }, "dictSort": { "description": "字典排序", "type": "integer" }, "dictType": { "description": "字典类型", "type": "string" }, "dictValue": { "description": "字典键值", "type": "string" }, "id": { "description": "字典ID", "type": "integer" }, "isDefault": { "description": "是否默认", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "status": { "description": "状态 0正常1停用", "type": "string" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysDictType": { "type": "object", "properties": { "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "dictName": { "description": "字典名称", "type": "string" }, "dictType": { "description": "字典类型", "type": "string" }, "id": { "description": "字典ID", "type": "integer" }, "remark": { "description": "备注", "type": "string" }, "status": { "description": "状态 0正常1停用", "type": "string" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysInfo": { "type": "object", "required": [ "image" ], "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "image": { "description": "logo", "type": "string" }, "isDel": { "description": "删除标志(1代表存在 2代表删除)", "type": "string" }, "label": { "description": "系统名称", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysMember": { "type": "object", "properties": { "avatar": { "description": "头像地址", "type": "string" }, "balance": { "description": "余额", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "delFlag": { "description": "删除标志(0代表存在 2代表删除)", "type": "string" }, "deptId": { "description": "部门ID", "type": "integer" }, "email": { "description": "用户邮箱", "type": "string" }, "gradeScore": { "description": "会员等级分", "type": "integer" }, "id": { "description": "用户ID", "type": "integer" }, "integral": { "description": "积分", "type": "integer" }, "lastOrderTime": { "description": "最后下单时间", "type": "string" }, "levelId": { "description": "会员等级id", "type": "integer" }, "loginDate": { "description": "最后登录时间", "type": "string" }, "loginIp": { "description": "最后登录IP", "type": "string" }, "newVoucherFlag": { "description": "是否已领取新人券(0否 1是)", "type": "string" }, "nickName": { "description": "用户昵称", "type": "string" }, "openid": { "description": "微信用户openid", "type": "string" }, "password": { "description": "密码", "type": "string" }, "phoneNumber": { "description": "手机号码", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "sessionKey": { "description": "微信登录会话key", "type": "string" }, "sex": { "description": "用户性别(0男 1女 2未知)", "type": "string" }, "status": { "description": "帐号状态(0正常 1停用)", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "userName": { "description": "用户账号", "type": "string" }, "userType": { "description": "用户类型(00系统用户)", "type": "string" } } }, "model.SysMenu": { "type": "object", "properties": { "component": { "description": "组件路径", "type": "string" }, "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "icon": { "description": "图标", "type": "string" }, "id": { "description": "主键Id", "type": "integer" }, "isCache": { "description": "是否缓存(0缓存 1不缓存)", "type": "integer" }, "isFrame": { "description": "是否为外链(0是 1否)", "type": "integer" }, "menuName": { "description": "菜单名称", "type": "string" }, "menuType": { "description": "菜单类型 (M目录 C菜单 F按钮)", "type": "string" }, "orderNum": { "description": "显示顺序", "type": "integer" }, "parentId": { "description": "父Id", "type": "integer" }, "path": { "description": "请求路径", "type": "string" }, "perms": { "description": "权限标识", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "status": { "description": "菜单状态(0正常 1停用)", "type": "string" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "visible": { "description": "菜单状态 (0显示 1隐藏)", "type": "string" } } }, "model.SysPost": { "type": "object", "properties": { "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "岗位ID", "type": "integer" }, "postCode": { "description": "岗位编码", "type": "string" }, "postName": { "description": "岗位名称", "type": "string" }, "postSort": { "description": "显示顺序", "type": "integer" }, "remark": { "description": "备注", "type": "string" }, "status": { "description": "状态 0正常 1停用", "type": "string" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysRole": { "type": "object", "properties": { "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "dataScope": { "description": "数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)", "type": "string" }, "delFlag": { "description": "删除标记0正常1删除", "type": "string" }, "deptCheckStrictly": { "description": "部门树选择项是否关联显示", "type": "boolean" }, "deptIds": { "description": "部门组", "type": "array", "items": { "type": "integer" } }, "id": { "description": "角色id", "type": "integer" }, "menuCheckStrictly": { "description": "菜单树选择项是否关联显示", "type": "boolean" }, "menuIds": { "description": "菜单组", "type": "array", "items": { "type": "integer" } }, "remark": { "description": "备注", "type": "string" }, "roleKey": { "description": "角色权限标识", "type": "string" }, "roleName": { "description": "角色名称", "type": "string" }, "roleSort": { "description": "角色顺序", "type": "integer" }, "status": { "description": "角色状态 0正常1停用", "type": "string" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysUser": { "type": "object", "properties": { "avatar": { "description": "头像路径", "type": "string" }, "balance": { "description": "余额", "type": "string" }, "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "delFlag": { "description": "0正常1删除", "type": "string" }, "deptId": { "description": "部门ID", "type": "integer" }, "email": { "description": "邮箱", "type": "string" }, "gradeScore": { "description": "会员等级分", "type": "integer" }, "id": { "description": "用户ID", "type": "integer" }, "integral": { "description": "积分", "type": "integer" }, "lastOrderTime": { "description": "最后下单时间", "type": "string" }, "levelId": { "description": "会员等级id", "type": "integer" }, "loginDate": { "description": "登录时间", "type": "string" }, "loginIp": { "description": "登录ip", "type": "string" }, "newVoucherFlag": { "description": "是否已领取新人券0否1是", "type": "string" }, "nickName": { "description": "用户昵称", "type": "string" }, "openid": { "description": "微信用户openid", "type": "string" }, "phoneNumber": { "description": "手机号", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "sessionKey": { "description": "微信登录会话key", "type": "string" }, "sex": { "description": "性别0男1女", "type": "string" }, "status": { "description": "状态 0正常1停用", "type": "string" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "userName": { "description": "登录用户名", "type": "string" }, "userType": { "description": "用户类型(00系统用户)", "type": "string" } } }, "model.SysUserCenterConfig": { "type": "object", "required": [ "color", "image" ], "properties": { "color": { "description": "颜色值", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "image": { "description": "背景图", "type": "string" }, "isDel": { "description": "是否删除(1删除 2未删除)", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysUserIntegralConfig": { "type": "object", "required": [ "invalidNum", "money" ], "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "invalidNum": { "description": "失效天数(0长期有效)", "type": "integer" }, "isDel": { "description": "是否删除(1删除 2未删除)", "type": "integer" }, "money": { "description": "多少钱等于1积分", "type": "integer" }, "remark": { "description": "积分规则说明", "type": "string" }, "type": { "description": "是否删除(1按天数失效 2第二年失效 3永不失效)", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "model.SysUserIntegralDetail": { "type": "object", "required": [ "cat", "integral", "type" ], "properties": { "cat": { "description": "类型(1收入 2支出 )", "type": "integer" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "integral": { "description": "积分", "type": "integer" }, "invalidTime": { "description": "积分失效的时间", "type": "string" }, "isDel": { "description": "是否删除(1删除 2未删除)", "type": "integer" }, "isInvalid": { "description": "是否删除(1正常 2失效)", "type": "integer" }, "stockIntegral": { "description": "剩余积分", "type": "integer" }, "type": { "description": "方式(1购买商品 2兑换优惠券 3积分失效 4系统操作)", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "userId": { "description": "用户id", "type": "integer" } } }, "model.SysUserLevel": { "type": "object", "required": [ "discount", "grade", "icon", "label" ], "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "discount": { "description": "享受折扣", "type": "integer" }, "explain": { "description": "说明", "type": "string" }, "grade": { "description": "会员等级", "type": "integer" }, "icon": { "description": "会员图标", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "image": { "description": "会员卡背景", "type": "string" }, "integral": { "description": "所需积分", "type": "integer" }, "isDel": { "description": "是否删除(1删除 2未删除)", "type": "integer" }, "isForever": { "description": "是否永久会员(1否 2是)", "type": "integer" }, "isPay": { "description": "是否购买(1购买 2不购买)", "type": "integer" }, "isShow": { "description": "是否显示(1显示 2隐藏)", "type": "integer" }, "label": { "description": "会员名称", "type": "string" }, "money": { "description": "购买金额", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "validDate": { "description": "有效时间", "type": "integer" } } }, "model.SysUserLevelConfig": { "type": "object", "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "主键id", "type": "integer" }, "integral": { "description": "一元可购买的等级分", "type": "integer" }, "isDel": { "description": "是否删除(1删除 2未删除)", "type": "integer" }, "isOpen": { "description": "是否开启商品购买获得(1否 2是)", "type": "integer" }, "productIntegral": { "description": "1元可获得的等级分", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" } } }, "page.Page": { "type": "object", "properties": { "list": { "description": "数据" }, "size": { "description": "显示条数", "type": "integer" }, "total": { "description": "总条数", "type": "integer" } } }, "req.LoginBody": { "type": "object", "properties": { "code": { "description": "验证码", "type": "string" }, "password": { "description": "密码", "type": "string" }, "username": { "description": "用户名", "type": "string" }, "uuid": { "description": "id", "type": "string" } } }, "resp.Response": { "type": "object", "properties": { "data": { "description": "返回数据" }, "msg": { "description": "返回的提示语", "type": "string" }, "status": { "description": "返回状态值", "type": "integer" } } }, "response.CollectInfo": { "type": "object", "properties": { "memberSum": { "description": "会员总数", "type": "integer" }, "moneySum": { "description": "总金额", "type": "number" }, "monthOrderNum": { "description": "月订单总数", "type": "integer" }, "orderSum": { "description": "订单总数", "type": "integer" }, "productSum": { "description": "商品总数", "type": "integer" }, "todayOrderNum": { "description": "今日订单总数", "type": "integer" }, "weekOrderNum": { "description": "七日订单总数", "type": "integer" }, "yestodayOrderNum": { "description": "昨日订单总数", "type": "integer" } } }, "response.InvalidIntegralDetail": { "type": "object", "properties": { "invalidDate": { "description": "失效日期", "type": "string" }, "total": { "description": "失效总积分", "type": "number" } } }, "response.MemberInfo": { "type": "object", "properties": { "couponNumber": { "description": "优惠券数量", "type": "integer" }, "level": { "description": "用户当前等级信息", "$ref": "#/definitions/model.SysUserLevel" }, "nextLevel": { "description": "用户下一等级信息", "$ref": "#/definitions/model.SysUserLevel" }, "user": { "description": "用户数据", "$ref": "#/definitions/response.UserResponse" } } }, "response.OrderCollectInfoS": { "type": "object", "properties": { "columns": { "description": "图标列", "type": "array", "items": { "type": "integer" } }, "moneyData": { "description": "订成交额数组", "type": "array", "items": { "type": "number" } }, "orderData": { "description": "订单数组", "type": "array", "items": { "type": "integer" } } } }, "response.ShopCartInfo": { "type": "object", "properties": { "money": { "description": "总金额", "type": "string" }, "product": { "description": "商品结合", "type": "array", "items": { "$ref": "#/definitions/response.ShopCartResponse" } } } }, "response.ShopCartResponse": { "type": "object", "required": [ "number", "productId" ], "properties": { "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "id": { "description": "订单id", "type": "integer" }, "isDel": { "description": "是否清空(1正常 2清空)", "type": "integer" }, "isProductExists": { "description": "商品是否有效(1有效 2无效)", "type": "integer" }, "number": { "description": "购买数量", "type": "integer" }, "productId": { "description": "商品id", "type": "integer" }, "sysProduct": { "$ref": "#/definitions/model.ShopProduct" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "userId": { "description": "用户id", "type": "integer" } } }, "response.ShopCategoryResponse": { "type": "object", "required": [ "code", "label", "orderNum" ], "properties": { "code": { "description": "编号", "type": "string" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "delFlag": { "description": "删除标志(0代表存在 2代表删除)", "type": "string" }, "foods": { "type": "array", "items": { "$ref": "#/definitions/model.ShopProduct" } }, "id": { "description": "分类id", "type": "integer" }, "label": { "description": "分类名称", "type": "string" }, "orderNum": { "description": "显示顺序", "type": "integer" }, "parentId": { "description": "父id", "type": "integer" }, "status": { "description": "状态(0正常 1停用)", "type": "string" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "url": { "description": "分类图标", "type": "string" } } }, "response.ShopCouponInfo": { "type": "object", "properties": { "coupon": { "description": "用户数据", "$ref": "#/definitions/model.ShopCoupon" }, "product": { "description": "商品集合", "type": "array", "items": { "$ref": "#/definitions/model.ShopProduct" } } } }, "response.ShopCouponIssueInfo": { "type": "object", "required": [ "couponPrice", "couponTime", "integral", "minPrice" ], "properties": { "couponId": { "description": "优惠券ID", "type": "integer" }, "couponPrice": { "description": "兑换的优惠券面值", "type": "string" }, "couponTime": { "description": "优惠券有效期限(单位:天)", "type": "integer" }, "createBy": { "description": "创建者", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "endTime": { "description": "优惠券领取结束时间", "type": "string" }, "id": { "type": "integer" }, "integral": { "description": "兑换消耗积分值", "type": "integer" }, "isDel": { "type": "integer" }, "isFlag": { "description": "是否领用(1否 2是)", "type": "integer" }, "isOpen": { "description": "获取方式(1=领取,2=积分兑换)", "type": "integer" }, "isPermanent": { "description": "是否无限张数(1否 2是)", "type": "integer" }, "label": { "description": "优惠券名称", "type": "string" }, "minPrice": { "description": "最低消费多少金额可用优惠券", "type": "string" }, "productId": { "description": "商品ids", "type": "string" }, "remainCount": { "description": "优惠券剩余领取数量", "type": "integer" }, "startTime": { "description": "优惠券领取开启时间", "type": "string" }, "status": { "description": "状态(2正常 1未开启 3已无效)", "type": "integer" }, "totalCount": { "description": "优惠券领取数量", "type": "integer" }, "type": { "description": "优惠券类型(0通用 1新人券)", "type": "integer" }, "updateBy": { "description": "更新者", "type": "string" }, "updateTime": { "type": "string" } } }, "response.ShopProductInfo": { "type": "object", "properties": { "product": { "description": "商品集合", "$ref": "#/definitions/model.ShopProduct" }, "specList": { "description": "规格集合", "type": "array", "items": { "$ref": "#/definitions/model.ShopProductSpec" } }, "stockList": { "description": "库存集合", "type": "array", "items": { "$ref": "#/definitions/model.ShopProductStock" } } } }, "response.ShopProductInfos": { "type": "object", "properties": { "product": { "description": "商品集合", "$ref": "#/definitions/model.ShopProduct" }, "specList": { "description": "规格集合", "type": "array", "items": { "$ref": "#/definitions/response.ShopSpecAryResponse" } }, "stockList": { "description": "库存集合", "type": "array", "items": { "$ref": "#/definitions/model.ShopProductStock" } } } }, "response.ShopSpecAryResponse": { "type": "object", "properties": { "label": { "description": "规格", "type": "string" }, "val": { "type": "array", "items": { "$ref": "#/definitions/response.ShopSpecResponse" } } } }, "response.ShopSpecResponse": { "type": "object", "properties": { "Checked": { "description": "规格", "type": "boolean" }, "label": { "description": "规格", "type": "string" }, "val": { "description": "规格", "type": "string" } } }, "response.UserInfo": { "type": "object", "properties": { "postIds": { "description": "岗位id集合", "type": "array", "items": { "type": "integer" } }, "posts": { "description": "部门集合", "type": "array", "items": { "$ref": "#/definitions/model.SysPost" } }, "roleIds": { "description": "觉得id集合", "type": "array", "items": { "type": "integer" } }, "roles": { "description": "角色集合", "type": "array", "items": { "$ref": "#/definitions/model.SysRole" } }, "user": { "description": "用户数据", "$ref": "#/definitions/response.UserResponse" } } }, "response.UserResponse": { "type": "object", "properties": { "avatar": { "description": "头像路径", "type": "string" }, "balance": { "description": "余额", "type": "string" }, "createBy": { "description": "创建人", "type": "string" }, "createTime": { "description": "创建时间", "type": "string" }, "delFlag": { "description": "0正常1删除", "type": "string" }, "dept": { "description": "部门实体", "$ref": "#/definitions/model.SysDept" }, "deptId": { "description": "部门ID", "type": "integer" }, "email": { "description": "邮箱", "type": "string" }, "gradeScore": { "description": "会员等级分", "type": "integer" }, "id": { "description": "用户ID", "type": "integer" }, "integral": { "description": "积分", "type": "integer" }, "lastOrderTime": { "description": "最后下单时间", "type": "string" }, "levelId": { "description": "会员等级id", "type": "integer" }, "loginDate": { "description": "登录时间", "type": "string" }, "loginIp": { "description": "登录ip", "type": "string" }, "newVoucherFlag": { "description": "是否已领取新人券0否1是", "type": "string" }, "nickName": { "description": "用户昵称", "type": "string" }, "openid": { "description": "微信用户openid", "type": "string" }, "phoneNumber": { "description": "手机号", "type": "string" }, "remark": { "description": "备注", "type": "string" }, "sex": { "description": "性别0男1女", "type": "string" }, "status": { "description": "状态 0正常1停用", "type": "string" }, "updateBy": { "description": "更新人", "type": "string" }, "updateTime": { "description": "更新时间", "type": "string" }, "userName": { "description": "登录用户名", "type": "string" }, "userType": { "description": "用户类型(00系统用户)", "type": "string" } } }, "tree_menu.Tree": { "type": "object", "properties": { "alwaysShow": { "type": "boolean" }, "children": { "description": "子节点", "type": "array", "items": { "$ref": "#/definitions/tree_menu.Tree" } }, "component": { "type": "string" }, "hidden": { "type": "boolean" }, "id": { "type": "integer" }, "label": { "type": "string" }, "meta": {}, "name": { "description": "节点名字", "type": "string" }, "path": { "type": "string" }, "redirect": { "type": "string" } } } } }