You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29066 lines
915 KiB

{
"swagger": "2.0",
"info": {
"title": "crmeb_java_admin",
"version": "last",
"description": "crmeb_java_admin"
},
"basePath": "/",
"tags": [
{
"name": "Admin 平台用户",
"description": "admin User"
},
{
"name": "上传文件",
"description": "Upload Controller"
},
{
"name": "会员 -- 分组",
"description": "User Group Controller"
},
{
"name": "会员 -- 标签",
"description": "User Tag Controller"
},
{
"name": "会员 -- 等级",
"description": "User Level Controller"
},
{
"name": "会员管理",
"description": "User Controller"
},
{
"name": "会员管理 -- 用户账单",
"description": "User Bill Controller"
},
{
"name": "分类服务",
"description": "Category Controller"
},
{
"name": "分销",
"description": "Retail Shop Controller"
},
{
"name": "后台用户服务",
"description": "System Admin Controller"
},
{
"name": "商品",
"description": "Store Product Controller"
},
{
"name": "商品 -- 规则值(规格)",
"description": "Store Product Rule Controller"
},
{
"name": "商品 -- 评论",
"description": "Store Product Reply Controller"
},
{
"name": "城市管理",
"description": "System City Controller"
},
{
"name": "客服用户对话记录表",
"description": "Store Service Log Controller"
},
{
"name": "客服表",
"description": "Store Service Controller"
},
{
"name": "导出 -- Excel",
"description": "Excel Controller"
},
{
"name": "微信 -- 消息模版",
"description": "Template Message Controller"
},
{
"name": "微信开放平台 -- 小程序access_token",
"description": "Routine Access Token Controller"
},
{
"name": "微信开放平台 -- 小程序二维码管理",
"description": "Routine Qrcode Controller"
},
{
"name": "微信开放平台 -- 微信二维码管理",
"description": "Wechat Qrcode Controller"
},
{
"name": "微信开放平台 -- 微信关键字回复",
"description": "Wechat Reply Controller"
},
{
"name": "微信开放平台 -- 微信用户",
"description": "Wechat User Controller"
},
{
"name": "微信开放平台 -- 微信用户标签",
"description": "We Chat User Tags Controller"
},
{
"name": "微信开放平台 -- 用户行为记录",
"description": "Wechat Message Controller"
},
{
"name": "微信开放平台 -- 素材",
"description": "Wechat Media Controller"
},
{
"name": "微信开放平台 -- 菜单管理",
"description": "We Chat Controller"
},
{
"name": "微信开放平台 -- 表单id表记录",
"description": "Routine Form Id Controller"
},
{
"name": "支付回调",
"description": "Callback Controller"
},
{
"name": "文章管理",
"description": "Article Controller"
},
{
"name": "短信服务",
"description": "Sms Record Controller"
},
{
"name": "统计 -- 主页",
"description": "Home Controller"
},
{
"name": "营销 -- 优惠券",
"description": "Store Coupon Controller"
},
{
"name": "营销 -- 优惠券 -- 领取记录",
"description": "Store Coupon User Controller"
},
{
"name": "订单",
"description": "Store Order Controller"
},
{
"name": "订单 -- 操作记录",
"description": "Store Order Status Controller"
},
{
"name": "设置 -- Config",
"description": "System Config Controller"
},
{
"name": "设置 -- 会员等级",
"description": "System User Level Controller"
},
{
"name": "设置 -- 会员等级 -- 等级任务",
"description": "System User Task Controller"
},
{
"name": "设置 -- 提货点 -- 提货点",
"description": "System Store Controller"
},
{
"name": "设置 -- 提货点 -- 核销员",
"description": "System Store Staff Controller"
},
{
"name": "设置 -- 提货点 -- 核销订单",
"description": "System Write Off Order Controller"
},
{
"name": "设置 -- 权限管理 -- 身份管理",
"description": "System Role Controller"
},
{
"name": "设置 -- 物流 -- 付费",
"description": "Shipping Templates Region Controller"
},
{
"name": "设置 -- 物流 -- 免费",
"description": "Shipping Templates Free Controller"
},
{
"name": "设置 -- 物流 -- 公司",
"description": "Express Controller"
},
{
"name": "设置 -- 物流 -- 模板",
"description": "Shipping Templates Controller"
},
{
"name": "设置 -- 管理员操作记录",
"description": "System Log Controller"
},
{
"name": "设置 -- 组合数据",
"description": "System Group Controller"
},
{
"name": "设置 -- 组合数据 -- 详情",
"description": "System Group Data Controller"
},
{
"name": "设置 -- 表单模板",
"description": "System Form Temp Controller"
},
{
"name": "设置 -- 通知记录 -- 通知模板",
"description": "System Notice Controller"
},
{
"name": "财务 -- 充值",
"description": "User Recharge Controller"
},
{
"name": "财务 -- 提现申请",
"description": "User Extract Controller"
},
{
"name": "财务 -- 资金监控",
"description": "Funds Monitor Controller"
},
{
"name": "附件管理",
"description": "System Attachment Controller"
},
{
"name": "验证码服务",
"description": "Validate Code Controller"
}
],
"schemes": [
"http"
],
"paths": {
"/api/admin/login": {
"post": {
"tags": [
"Admin 平台用户"
],
"summary": "AdminUserLogin",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"schema": {
"type": "object",
"required": [
"code",
"key"
],
"properties": {
"account": {
"type": "string",
"example": "admin",
"description": "后台管理员账号"
},
"code": {
"type": "string",
"description": "code"
},
"key": {
"type": "string",
"description": "key"
},
"pwd": {
"type": "string",
"example": 123456,
"description": "后台管理员密码"
}
},
"title": "SystemAdminLoginRequest",
"$$ref": "#/definitions/SystemAdminLoginRequest"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"account": {
"type": "string"
},
"addTime": {
"type": "integer",
"format": "int32"
},
"id": {
"type": "integer",
"format": "int32"
},
"lastIp": {
"type": "string"
},
"lastTime": {
"type": "integer",
"format": "int32"
},
"level": {
"type": "integer",
"format": "int32"
},
"loginCount": {
"type": "integer",
"format": "int32"
},
"realName": {
"type": "string"
},
"roles": {
"type": "string"
},
"status": {
"type": "boolean"
},
"token": {
"type": "string"
}
},
"title": "SystemAdminResponse",
"$$ref": "#/definitions/SystemAdminResponse"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemAdminResponse»",
"$$ref": "#/definitions/CommonResult«SystemAdminResponse»"
}
}
}
}
},
"/api/admin/logout": {
"get": {
"tags": [
"Admin 平台用户"
],
"summary": "AdminUserLogout",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"account": {
"type": "string"
},
"addTime": {
"type": "integer",
"format": "int32"
},
"id": {
"type": "integer",
"format": "int32"
},
"lastIp": {
"type": "string"
},
"lastTime": {
"type": "integer",
"format": "int32"
},
"level": {
"type": "integer",
"format": "int32"
},
"loginCount": {
"type": "integer",
"format": "int32"
},
"realName": {
"type": "string"
},
"roles": {
"type": "string"
},
"status": {
"type": "boolean"
},
"token": {
"type": "string"
}
},
"title": "SystemAdminResponse",
"$$ref": "#/definitions/SystemAdminResponse"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemAdminResponse»",
"$$ref": "#/definitions/CommonResult«SystemAdminResponse»"
}
}
}
}
},
"/api/admin/getAdminInfoByToken": {
"get": {
"tags": [
"Admin 平台用户"
],
"summary": "GetAdminUserByToken",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"account": {
"type": "string"
},
"addTime": {
"type": "integer",
"format": "int32"
},
"id": {
"type": "integer",
"format": "int32"
},
"lastIp": {
"type": "string"
},
"lastTime": {
"type": "integer",
"format": "int32"
},
"level": {
"type": "integer",
"format": "int32"
},
"loginCount": {
"type": "integer",
"format": "int32"
},
"realName": {
"type": "string"
},
"roles": {
"type": "string"
},
"status": {
"type": "boolean"
},
"token": {
"type": "string"
}
},
"title": "SystemAdminResponse",
"$$ref": "#/definitions/SystemAdminResponse"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemAdminResponse»",
"$$ref": "#/definitions/CommonResult«SystemAdminResponse»"
}
}
}
}
},
"/api/admin/getLoginPic": {
"get": {
"tags": [
"Admin 平台用户"
],
"summary": "获取登录页图片",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Map«string,object»»",
"$$ref": "#/definitions/CommonResult«Map«string,object»»"
}
}
}
}
},
"/api/admin/upload/async": {
"post": {
"tags": [
"上传文件"
],
"summary": "同步到云服务",
"consumes": [
"application/json"
],
"parameters": [],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"extName": {
"type": "string"
},
"fileName": {
"type": "string"
},
"fileSize": {
"type": "integer",
"format": "int64"
},
"serverPath": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"title": "FileResultVo",
"$$ref": "#/definitions/FileResultVo"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«FileResultVo»",
"$$ref": "#/definitions/CommonResult«FileResultVo»"
}
}
}
}
},
"/api/admin/upload/image": {
"post": {
"tags": [
"上传文件"
],
"summary": "图片上传",
"consumes": [
"multipart/form-data"
],
"parameters": [
{
"name": "model",
"in": "query",
"required": false,
"description": "模块 用户user,商品product,微信wechat,news文章",
"type": "string"
},
{
"name": "pid",
"in": "query",
"required": false,
"description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 ",
"type": "string"
},
{
"name": "multipart",
"in": "formData",
"required": false,
"description": "multipart",
"type": "file"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"extName": {
"type": "string"
},
"fileName": {
"type": "string"
},
"fileSize": {
"type": "integer",
"format": "int64"
},
"serverPath": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"title": "FileResultVo",
"$$ref": "#/definitions/FileResultVo"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«FileResultVo»",
"$$ref": "#/definitions/CommonResult«FileResultVo»"
}
}
}
}
},
"/api/admin/upload/file": {
"post": {
"tags": [
"上传文件"
],
"summary": "文件上传",
"consumes": [
"multipart/form-data"
],
"parameters": [
{
"name": "model",
"in": "query",
"required": false,
"description": "模块 用户user,商品product,微信wechat,news文章",
"type": "string"
},
{
"name": "pid",
"in": "query",
"required": false,
"description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列 ",
"type": "string"
},
{
"name": "multipart",
"in": "formData",
"required": false,
"description": "multipart",
"type": "file"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"extName": {
"type": "string"
},
"fileName": {
"type": "string"
},
"fileSize": {
"type": "integer",
"format": "int64"
},
"serverPath": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"title": "FileResultVo",
"$$ref": "#/definitions/FileResultVo"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«FileResultVo»",
"$$ref": "#/definitions/CommonResult«FileResultVo»"
}
}
}
}
},
"/api/admin/user/group/update": {
"post": {
"tags": [
"会员 -- 分组"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "用户分组表",
"schema": {
"type": "object",
"properties": {
"groupName": {
"type": "string",
"description": "用户分组名称"
},
"id": {
"type": "integer",
"format": "int32"
}
},
"title": "UserGroup对象",
"description": "用户分组表",
"$$ref": "#/definitions/UserGroup对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/group/list": {
"get": {
"tags": [
"会员 -- 分组"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupName": {
"type": "string",
"description": "用户分组名称"
},
"id": {
"type": "integer",
"format": "int32"
}
},
"title": "UserGroup对象",
"description": "用户分组表",
"$$ref": "#/definitions/UserGroup对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«UserGroup对象»",
"$$ref": "#/definitions/CommonPage«UserGroup对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«UserGroup对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«UserGroup对象»»"
}
}
}
}
},
"/api/admin/user/group/delete": {
"get": {
"tags": [
"会员 -- 分组"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/group/save": {
"post": {
"tags": [
"会员 -- 分组"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "用户分组表",
"schema": {
"type": "object",
"properties": {
"groupName": {
"type": "string",
"description": "用户分组名称"
},
"id": {
"type": "integer",
"format": "int32"
}
},
"title": "UserGroup对象",
"description": "用户分组表",
"$$ref": "#/definitions/UserGroup对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/group/info": {
"get": {
"tags": [
"会员 -- 分组"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"groupName": {
"type": "string",
"description": "用户分组名称"
},
"id": {
"type": "integer",
"format": "int32"
}
},
"title": "UserGroup对象",
"description": "用户分组表",
"$$ref": "#/definitions/UserGroup对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«UserGroup对象»",
"$$ref": "#/definitions/CommonResult«UserGroup对象»"
}
}
}
}
},
"/api/admin/user/tag/update": {
"post": {
"tags": [
"会员 -- 标签"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "会员标签",
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "标签名称"
}
},
"title": "UserTagRequest对象",
"description": "会员标签",
"$$ref": "#/definitions/UserTagRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/tag/list": {
"get": {
"tags": [
"会员 -- 标签"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "标签名称"
}
},
"title": "UserTag对象",
"description": "用户标签表",
"$$ref": "#/definitions/UserTag对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«UserTag对象»",
"$$ref": "#/definitions/CommonPage«UserTag对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«UserTag对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«UserTag对象»»"
}
}
}
}
},
"/api/admin/user/tag/delete": {
"get": {
"tags": [
"会员 -- 标签"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/tag/save": {
"post": {
"tags": [
"会员 -- 标签"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "会员标签",
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "标签名称"
}
},
"title": "UserTagRequest对象",
"description": "会员标签",
"$$ref": "#/definitions/UserTagRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/tag/info": {
"get": {
"tags": [
"会员 -- 标签"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "标签名称"
}
},
"title": "UserTag对象",
"description": "用户标签表",
"$$ref": "#/definitions/UserTag对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«UserTag对象»",
"$$ref": "#/definitions/CommonResult«UserTag对象»"
}
}
}
}
},
"/api/admin/user/level/level": {
"post": {
"tags": [
"会员 -- 等级"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "levelId",
"in": "query",
"required": false,
"description": "等级ID",
"type": "string"
},
{
"name": "userId",
"in": "query",
"required": false,
"description": "会员ID",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/level/list": {
"get": {
"tags": [
"会员 -- 等级"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
},
{
"name": "discount",
"in": "query",
"required": false,
"description": "享受折扣",
"type": "string"
},
{
"name": "grade",
"in": "query",
"required": false,
"description": "会员等级",
"type": "string"
},
{
"name": "isDel",
"in": "query",
"required": false,
"description": "是否删除,0=未删除,1=删除",
"type": "string"
},
{
"name": "isForever",
"in": "query",
"required": false,
"description": "是否永久",
"type": "string"
},
{
"name": "levelId",
"in": "query",
"required": false,
"description": "等级vip",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "mark",
"in": "query",
"required": false,
"description": "备注",
"type": "string"
},
{
"name": "merId",
"in": "query",
"required": false,
"description": "商户id",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "remind",
"in": "query",
"required": false,
"description": "是否已通知",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "0:禁止,1:正常",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "用户uid",
"type": "string"
},
{
"name": "validTime",
"in": "query",
"required": false,
"description": "过期时间",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"discount": {
"type": "number",
"description": "享受折扣"
},
"grade": {
"type": "integer",
"format": "int32",
"description": "会员等级"
},
"id": {
"type": "integer",
"format": "int32"
},
"isDel": {
"type": "boolean",
"description": "是否删除,0=未删除,1=删除"
},
"levelId": {
"type": "integer",
"format": "int32",
"description": "等级vip"
},
"mark": {
"type": "string",
"description": "备注"
},
"remind": {
"type": "boolean",
"description": "是否已通知"
},
"status": {
"type": "boolean",
"description": "0:禁止,1:正常"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
}
},
"title": "UserLevel对象",
"description": "用户等级记录表",
"$$ref": "#/definitions/UserLevel对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«UserLevel对象»",
"$$ref": "#/definitions/CommonPage«UserLevel对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«UserLevel对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«UserLevel对象»»"
}
}
}
}
},
"/api/admin/user/level/clean": {
"post": {
"tags": [
"会员 -- 等级"
],
"summary": "清除会员等级",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "userId",
"in": "query",
"required": false,
"description": "会员ID",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/infobycondition": {
"get": {
"tags": [
"会员管理"
],
"summary": "会员详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "0=消费记录,1=积分明细,2=签到记录,3=持有优惠券,4=余额变动,5=好友关系",
"type": "string"
},
{
"name": "userId",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"title": "T",
"$$ref": "#/definitions/T"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«T»",
"$$ref": "#/definitions/CommonPage«T»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«T»»",
"$$ref": "#/definitions/CommonResult«CommonPage«T»»"
}
}
}
}
},
"/api/admin/user/topdetail": {
"get": {
"tags": [
"会员管理"
],
"summary": "会员详情页Top数据",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "userId",
"in": "query",
"required": false,
"description": "userId",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"allConsumeCount": {
"type": "number"
},
"allOrderCount": {
"type": "integer",
"format": "int32"
},
"balance": {
"type": "number"
},
"integralCount": {
"type": "number"
},
"mothConsumeCount": {
"type": "number"
},
"mothOrderCount": {
"type": "integer",
"format": "int32"
},
"user": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "用户账号"
},
"addIp": {
"type": "string",
"description": "添加ip"
},
"addres": {
"type": "string",
"description": "详细地址"
},
"adminid": {
"type": "integer",
"format": "int32",
"description": "管理员编号 "
},
"avatar": {
"type": "string",
"description": "用户头像"
},
"birthday": {
"type": "string",
"description": "生日"
},
"brokeragePrice": {
"type": "number",
"description": "佣金金额"
},
"cardId": {
"type": "string",
"description": "身份证号码"
},
"cleanTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "用户剩余经验"
},
"groupId": {
"type": "string",
"description": "用户分组id"
},
"integral": {
"type": "number",
"description": "用户剩余积分"
},
"isPromoter": {
"type": "boolean",
"description": "是否为推广员"
},
"lastIp": {
"type": "string",
"description": "最后一次登录ip"
},
"lastLoginTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"level": {
"type": "integer",
"format": "int32",
"description": "等级"
},
"loginType": {
"type": "string",
"description": "用户登陆类型,h5,wechat,routine"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"nickname": {
"type": "string",
"description": "用户昵称"
},
"nowMoney": {
"type": "number",
"description": "用户余额"
},
"partnerId": {
"type": "integer",
"format": "int32",
"description": "合伙人id"
},
"path": {
"type": "string",
"description": "用户推广等级"
},
"payCount": {
"type": "integer",
"format": "int32",
"description": "用户购买次数"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"realName": {
"type": "string",
"description": "真实姓名"
},
"signNum": {
"type": "integer",
"format": "int32",
"description": "连续签到天数"
},
"spreadCount": {
"type": "integer",
"format": "int32",
"description": "下级人数"
},
"spreadTime": {
"type": "string",
"format": "date-time",
"description": "推广员关联时间"
},
"spreadUid": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"status": {
"type": "boolean",
"description": "1为正常,0为禁止"
},
"subscribe": {
"type": "boolean",
"description": "是否关注公众号"
},
"tagId": {
"type": "string",
"description": "用户标签id"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"userType": {
"type": "string",
"description": "用户类型"
}
},
"title": "User对象",
"description": "用户表",
"$$ref": "#/definitions/User对象"
}
},
"title": "TopDetail",
"$$ref": "#/definitions/TopDetail"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«TopDetail»",
"$$ref": "#/definitions/CommonResult«TopDetail»"
}
}
}
}
},
"/api/admin/user/update": {
"post": {
"tags": [
"会员管理"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "用户表",
"schema": {
"type": "object",
"properties": {
"addres": {
"type": "string",
"description": "详细地址"
},
"birthday": {
"type": "string",
"description": "生日"
},
"cardId": {
"type": "string",
"description": "身份证号码"
},
"groupId": {
"type": "string",
"description": "用户分组id"
},
"isPromoter": {
"type": "boolean",
"description": "是否为推广员"
},
"level": {
"type": "integer",
"format": "int32",
"description": "等级"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"realName": {
"type": "string",
"description": "真实姓名"
},
"status": {
"type": "boolean",
"description": "状态是否正常, 0 = 禁止, 1 = 正常"
},
"tagId": {
"type": "string",
"description": "用户标签id"
}
},
"title": "UserRequest对象",
"description": "用户表",
"$$ref": "#/definitions/UserRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/group": {
"post": {
"tags": [
"会员管理"
],
"summary": "分组",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "groupId",
"in": "query",
"required": false,
"description": "groupId",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/list": {
"get": {
"tags": [
"会员管理"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "accessType",
"in": "query",
"required": false,
"description": "访问情况, 0 = 全部, 1 = 首次, 2 = 访问过, 3 = 未访问",
"type": "string"
},
{
"name": "city",
"in": "query",
"required": false,
"description": "城市",
"type": "string"
},
{
"name": "country",
"in": "query",
"required": false,
"description": "国家",
"type": "string"
},
{
"name": "data",
"in": "query",
"required": false,
"description": "时间",
"type": "string"
},
{
"name": "groupId",
"in": "query",
"required": false,
"description": "用户分组",
"type": "string"
},
{
"name": "isPromoter",
"in": "query",
"required": false,
"description": "是否为推广员, 0 = 禁止, 1 = 正常",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "关键字",
"type": "string"
},
{
"name": "labelId",
"in": "query",
"required": false,
"description": "用户标签",
"type": "string"
},
{
"name": "level",
"in": "query",
"required": false,
"description": "等级",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "loginType",
"in": "query",
"required": false,
"description": "用户登陆类型,h5 = h5, wechat = wechat,routine = routine",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "payCount",
"in": "query",
"required": false,
"description": "消费情况",
"type": "string"
},
{
"name": "province",
"in": "query",
"required": false,
"description": "省份",
"type": "string"
},
{
"name": "sex",
"in": "query",
"required": false,
"description": "性别",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态是否正常, 0 = 禁止, 1 = 正常",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "用户账号"
},
"addIp": {
"type": "string",
"description": "添加ip"
},
"addres": {
"type": "string",
"description": "详细地址"
},
"adminid": {
"type": "integer",
"format": "int32",
"description": "管理员编号 "
},
"avatar": {
"type": "string",
"description": "用户头像"
},
"birthday": {
"type": "string",
"description": "生日"
},
"brokeragePrice": {
"type": "number",
"description": "佣金金额"
},
"cardId": {
"type": "string",
"description": "身份证号码"
},
"cleanTime": {
"type": "string",
"format": "date-time",
"description": "清除时间"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "用户剩余经验"
},
"groupId": {
"type": "integer",
"format": "int32",
"description": "用户分组id"
},
"groupName": {
"type": "string",
"description": "分组名称"
},
"integral": {
"type": "number",
"description": "用户剩余积分"
},
"isPromoter": {
"type": "boolean",
"description": "是否为推广员"
},
"lastIp": {
"type": "string",
"description": "最后一次登录ip"
},
"lastLoginTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"level": {
"type": "integer",
"format": "int32",
"description": "等级"
},
"loginType": {
"type": "string",
"description": "用户登陆类型,h5,wechat,routine"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"nickname": {
"type": "string",
"description": "用户昵称"
},
"nowMoney": {
"type": "number",
"description": "用户余额"
},
"partnerId": {
"type": "integer",
"format": "int32",
"description": "合伙人id"
},
"payCount": {
"type": "integer",
"format": "int32",
"description": "用户购买次数"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"realName": {
"type": "string",
"description": "真实姓名"
},
"signNum": {
"type": "integer",
"format": "int32",
"description": "连续签到天数"
},
"spreadCount": {
"type": "integer",
"format": "int32",
"description": "下级人数"
},
"spreadNickname": {
"type": "string",
"description": "推广员名称"
},
"spreadTime": {
"type": "string",
"format": "date-time",
"description": "推广员关联时间"
},
"spreadUid": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"status": {
"type": "boolean",
"description": "1为正常,0为禁止"
},
"tagName": {
"type": "string",
"description": "标签名称"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"userType": {
"type": "string",
"description": "用户类型"
}
},
"title": "UserResponse",
"$$ref": "#/definitions/UserResponse"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«UserResponse»",
"$$ref": "#/definitions/CommonPage«UserResponse»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«UserResponse»»",
"$$ref": "#/definitions/CommonResult«CommonPage«UserResponse»»"
}
}
}
}
},
"/api/admin/user/delete": {
"get": {
"tags": [
"会员管理"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/tag": {
"post": {
"tags": [
"会员管理"
],
"summary": "标签",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "tagId",
"in": "query",
"required": false,
"description": "tagId",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/operate/founds": {
"get": {
"tags": [
"会员管理"
],
"summary": "积分余额",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "integralType",
"in": "query",
"required": false,
"description": "积分类型, 1 = 增加, 2 = 减少",
"type": "string"
},
{
"name": "integralValue",
"in": "query",
"required": false,
"description": "积分",
"type": "string"
},
{
"name": "moneyType",
"in": "query",
"required": false,
"description": "余额类型, 1 = 增加, 2 = 减少",
"type": "string"
},
{
"name": "moneyValue",
"in": "query",
"required": false,
"description": "余额",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "uid",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/user/info": {
"get": {
"tags": [
"会员管理"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "用户账号"
},
"addIp": {
"type": "string",
"description": "添加ip"
},
"addres": {
"type": "string",
"description": "详细地址"
},
"adminid": {
"type": "integer",
"format": "int32",
"description": "管理员编号 "
},
"avatar": {
"type": "string",
"description": "用户头像"
},
"birthday": {
"type": "string",
"description": "生日"
},
"brokeragePrice": {
"type": "number",
"description": "佣金金额"
},
"cardId": {
"type": "string",
"description": "身份证号码"
},
"cleanTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "用户剩余经验"
},
"groupId": {
"type": "string",
"description": "用户分组id"
},
"integral": {
"type": "number",
"description": "用户剩余积分"
},
"isPromoter": {
"type": "boolean",
"description": "是否为推广员"
},
"lastIp": {
"type": "string",
"description": "最后一次登录ip"
},
"lastLoginTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"level": {
"type": "integer",
"format": "int32",
"description": "等级"
},
"loginType": {
"type": "string",
"description": "用户登陆类型,h5,wechat,routine"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"nickname": {
"type": "string",
"description": "用户昵称"
},
"nowMoney": {
"type": "number",
"description": "用户余额"
},
"partnerId": {
"type": "integer",
"format": "int32",
"description": "合伙人id"
},
"path": {
"type": "string",
"description": "用户推广等级"
},
"payCount": {
"type": "integer",
"format": "int32",
"description": "用户购买次数"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"realName": {
"type": "string",
"description": "真实姓名"
},
"signNum": {
"type": "integer",
"format": "int32",
"description": "连续签到天数"
},
"spreadCount": {
"type": "integer",
"format": "int32",
"description": "下级人数"
},
"spreadTime": {
"type": "string",
"format": "date-time",
"description": "推广员关联时间"
},
"spreadUid": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"status": {
"type": "boolean",
"description": "1为正常,0为禁止"
},
"subscribe": {
"type": "boolean",
"description": "是否关注公众号"
},
"tagId": {
"type": "string",
"description": "用户标签id"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"userType": {
"type": "string",
"description": "用户类型"
}
},
"title": "User对象",
"description": "用户表",
"$$ref": "#/definitions/User对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«User对象»",
"$$ref": "#/definitions/CommonResult«User对象»"
}
}
}
}
},
"/api/admin/user/bill/update": {
"post": {
"tags": [
"会员管理 -- 用户账单"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "balance",
"in": "query",
"required": false,
"description": "剩余",
"type": "string"
},
{
"name": "category",
"in": "query",
"required": false,
"description": "明细种类",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "linkId",
"in": "query",
"required": false,
"description": "关联id",
"type": "string"
},
{
"name": "mark",
"in": "query",
"required": false,
"description": "备注",
"type": "string"
},
{
"name": "number",
"in": "query",
"required": false,
"description": "明细数字",
"type": "string"
},
{
"name": "pm",
"in": "query",
"required": false,
"description": "0 = 支出 1 = 获得",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "0 = 带确定 1 = 有效 -1 = 无效",
"type": "string"
},
{
"name": "title",
"in": "query",
"required": false,
"description": "账单标题",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "明细类型",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "用户uid",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/bill/list": {
"post": {
"tags": [
"会员管理 -- 用户账单"
],
"summary": "分页列表",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "资金监控",
"schema": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "类型"
},
"dateLimit": {
"type": "string",
"description": "添加时间"
},
"keywords": {
"type": "string",
"description": "搜索关键字"
},
"max": {
"type": "number",
"description": "最大佣金"
},
"min": {
"type": "number",
"description": "最小佣金"
},
"sort": {
"type": "string",
"description": "排序 asc/desc"
},
"type": {
"type": "string",
"description": "类型"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id list"
},
"userIdList": {
"type": "array",
"description": "用户id list",
"items": {
"type": "integer",
"format": "int32"
}
}
},
"title": "FundsMonitorSearchRequest对象",
"description": "资金监控",
"$$ref": "#/definitions/FundsMonitorSearchRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"add_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"balance": {
"type": "number",
"description": "剩余"
},
"category": {
"type": "string",
"description": "明细种类"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "用户账单id"
},
"linkId": {
"type": "string",
"description": "关联id"
},
"mark": {
"type": "string",
"description": "备注"
},
"nickName": {
"type": "string",
"description": "用户呢成"
},
"number": {
"type": "number",
"description": "明细数字"
},
"pm": {
"type": "integer",
"format": "int32",
"description": "0 = 支出 1 = 获得"
},
"status": {
"type": "integer",
"format": "int32",
"description": "0 = 带确定 1 = 有效 -1 = 无效"
},
"title": {
"type": "string",
"description": "账单标题"
},
"type": {
"type": "string",
"description": "明细类型"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
}
},
"title": "UserBill对象",
"description": "用户账单表",
"$$ref": "#/definitions/UserBill对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«UserBill对象»",
"$$ref": "#/definitions/CommonPage«UserBill对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«UserBill对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»"
}
}
}
}
},
"/api/admin/user/bill/delete": {
"get": {
"tags": [
"会员管理 -- 用户账单"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/bill/save": {
"post": {
"tags": [
"会员管理 -- 用户账单"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "balance",
"in": "query",
"required": false,
"description": "剩余",
"type": "string"
},
{
"name": "category",
"in": "query",
"required": false,
"description": "明细种类",
"type": "string"
},
{
"name": "linkId",
"in": "query",
"required": false,
"description": "关联id",
"type": "string"
},
{
"name": "mark",
"in": "query",
"required": false,
"description": "备注",
"type": "string"
},
{
"name": "number",
"in": "query",
"required": false,
"description": "明细数字",
"type": "string"
},
{
"name": "pm",
"in": "query",
"required": false,
"description": "0 = 支出 1 = 获得",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "0 = 带确定 1 = 有效 -1 = 无效",
"type": "string"
},
{
"name": "title",
"in": "query",
"required": false,
"description": "账单标题",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "明细类型",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "用户uid",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/bill/info": {
"get": {
"tags": [
"会员管理 -- 用户账单"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"add_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"balance": {
"type": "number",
"description": "剩余"
},
"category": {
"type": "string",
"description": "明细种类"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "用户账单id"
},
"linkId": {
"type": "string",
"description": "关联id"
},
"mark": {
"type": "string",
"description": "备注"
},
"nickName": {
"type": "string",
"description": "用户呢成"
},
"number": {
"type": "number",
"description": "明细数字"
},
"pm": {
"type": "integer",
"format": "int32",
"description": "0 = 支出 1 = 获得"
},
"status": {
"type": "integer",
"format": "int32",
"description": "0 = 带确定 1 = 有效 -1 = 无效"
},
"title": {
"type": "string",
"description": "账单标题"
},
"type": {
"type": "string",
"description": "明细类型"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
}
},
"title": "UserBill对象",
"description": "用户账单表",
"$$ref": "#/definitions/UserBill对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«UserBill对象»",
"$$ref": "#/definitions/CommonResult«UserBill对象»"
}
}
}
}
},
"/api/admin/category/update": {
"post": {
"tags": [
"分类服务"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "extra",
"in": "query",
"required": false,
"description": "扩展字段",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "分类ID",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "分类名称",
"type": "string"
},
{
"name": "pid",
"in": "query",
"required": false,
"description": "父级ID",
"type": "string"
},
{
"name": "sort",
"in": "query",
"required": false,
"description": "排序",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态, 0正常,1失效",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置",
"type": "string"
},
{
"name": "url",
"in": "query",
"required": false,
"description": "地址",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/category/list": {
"get": {
"tags": [
"分类服务"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "分类名称",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "pid",
"in": "query",
"required": false,
"description": "父级ID",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态, 0正常,1失效",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"extra": {
"type": "string",
"description": "扩展字段"
},
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "分类名称"
},
"path": {
"type": "string",
"description": "路径"
},
"pid": {
"type": "integer",
"format": "int32",
"description": "父级ID"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态, 0正常,1失效"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
},
"url": {
"type": "string",
"description": "地址"
}
},
"title": "Category对象",
"description": "分类表",
"$$ref": "#/definitions/Category对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«Category对象»",
"$$ref": "#/definitions/CommonPage«Category对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«Category对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«Category对象»»"
}
}
}
}
},
"/api/admin/category/delete": {
"get": {
"tags": [
"分类服务"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "分类ID",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/category/save": {
"post": {
"tags": [
"分类服务"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "extra",
"in": "query",
"required": false,
"description": "扩展字段",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "分类名称",
"type": "string"
},
{
"name": "pid",
"in": "query",
"required": false,
"description": "父级ID",
"type": "string"
},
{
"name": "sort",
"in": "query",
"required": false,
"description": "排序",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态, 0正常,1失效",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置",
"type": "string"
},
{
"name": "url",
"in": "query",
"required": false,
"description": "地址",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/category/list/ids": {
"get": {
"tags": [
"分类服务"
],
"summary": "根据id集合获取分类列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "ids",
"in": "query",
"required": false,
"description": "分类id集合",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"extra": {
"type": "string",
"description": "扩展字段"
},
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "分类名称"
},
"path": {
"type": "string",
"description": "路径"
},
"pid": {
"type": "integer",
"format": "int32",
"description": "父级ID"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态, 0正常,1失效"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
},
"url": {
"type": "string",
"description": "地址"
}
},
"title": "Category对象",
"description": "分类表",
"$$ref": "#/definitions/Category对象"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«List«Category对象»»",
"$$ref": "#/definitions/CommonResult«List«Category对象»»"
}
}
}
}
},
"/api/admin/category/list/tree": {
"get": {
"tags": [
"分类服务"
],
"summary": "获取tree结构的列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "status",
"in": "query",
"required": false,
"description": "-1=全部,0=未生效,1=已生效",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"child": {
"type": "array",
"items": {
"originalRef": "CategoryTreeVo",
"$ref": "#/definitions/CategoryTreeVo"
}
},
"extra": {
"type": "string",
"description": "扩展字段"
},
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "分类名称"
},
"path": {
"type": "string",
"description": "路径"
},
"pid": {
"type": "integer",
"format": "int32",
"description": "父级ID"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态, 0正常,1失效"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置"
},
"url": {
"type": "string",
"description": "地址"
}
},
"title": "CategoryTreeVo",
"$$ref": "#/definitions/CategoryTreeVo"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«List«CategoryTreeVo»»",
"$$ref": "#/definitions/CommonResult«List«CategoryTreeVo»»"
}
}
}
}
},
"/api/admin/category/info": {
"get": {
"tags": [
"分类服务"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "分类ID",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"extra": {
"type": "string",
"description": "扩展字段"
},
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "分类名称"
},
"path": {
"type": "string",
"description": "路径"
},
"pid": {
"type": "integer",
"format": "int32",
"description": "父级ID"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态, 0正常,1失效"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
},
"url": {
"type": "string",
"description": "地址"
}
},
"title": "Category对象",
"description": "分类表",
"$$ref": "#/definitions/Category对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Category对象»",
"$$ref": "#/definitions/CommonResult«Category对象»"
}
}
}
}
},
"/api/admin/store/retail/list": {
"get": {
"tags": [
"分销"
],
"summary": "分销列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "dateLimit",
"in": "query",
"required": false,
"description": "today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字[身份证,手机,昵称,备注等]",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "用户账号"
},
"addIp": {
"type": "string",
"description": "添加ip"
},
"addres": {
"type": "string",
"description": "详细地址"
},
"adminid": {
"type": "integer",
"format": "int32",
"description": "管理员编号 "
},
"avatar": {
"type": "string",
"description": "用户头像"
},
"birthday": {
"type": "string",
"description": "生日"
},
"brokerageMoney": {
"type": "number",
"description": "佣金数据"
},
"brokeragePrice": {
"type": "number",
"description": "佣金金额"
},
"cardId": {
"type": "string",
"description": "身份证号码"
},
"cleanTime": {
"type": "string",
"format": "date-time",
"description": "清除时间"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "用户剩余经验"
},
"groupId": {
"type": "integer",
"format": "int32",
"description": "用户分组id"
},
"groupName": {
"type": "string",
"description": "分组名称"
},
"integral": {
"type": "number",
"description": "用户剩余积分"
},
"isPromoter": {
"type": "boolean",
"description": "是否为推广员"
},
"lastIp": {
"type": "string",
"description": "最后一次登录ip"
},
"lastLoginTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"level": {
"type": "integer",
"format": "int32",
"description": "等级"
},
"loginType": {
"type": "string",
"description": "用户登陆类型,h5,wechat,routine"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"nickname": {
"type": "string",
"description": "用户昵称"
},
"nowMoney": {
"type": "number",
"description": "用户余额"
},
"partnerId": {
"type": "integer",
"format": "int32",
"description": "合伙人id"
},
"payCount": {
"type": "integer",
"format": "int32",
"description": "用户购买次数"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"realName": {
"type": "string",
"description": "真实姓名"
},
"retailShopOrderDataResponse": {
"type": "object",
"properties": {
"orderCount": {
"type": "integer",
"format": "int32",
"description": "订单数量"
},
"orderPrice": {
"type": "number",
"description": "订单总价"
}
},
"title": "RetailShopOrderDataResponse",
"$$ref": "#/definitions/RetailShopOrderDataResponse"
},
"signNum": {
"type": "integer",
"format": "int32",
"description": "连续签到天数"
},
"spreadCount": {
"type": "integer",
"format": "int32",
"description": "下级人数"
},
"spreadNickname": {
"type": "string",
"description": "推广员名称"
},
"spreadPeopleCount": {
"type": "integer",
"format": "int32",
"description": "推广用户数量"
},
"spreadTime": {
"type": "string",
"format": "date-time",
"description": "推广员关联时间"
},
"spreadUid": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"status": {
"type": "boolean",
"description": "1为正常,0为禁止"
},
"tagName": {
"type": "string",
"description": "标签名称"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"userExtractResponse": {
"type": "object",
"properties": {
"extractCountNum": {
"type": "integer",
"format": "int32",
"description": "提现次数"
},
"extractCountPrice": {
"type": "number",
"description": "体现数据总额"
}
},
"title": "UserExtractResponse",
"$$ref": "#/definitions/UserExtractResponse"
},
"userType": {
"type": "string",
"description": "用户类型"
}
},
"title": "RetailShopUserResponse",
"$$ref": "#/definitions/RetailShopUserResponse"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«RetailShopUserResponse»",
"$$ref": "#/definitions/CommonPage«RetailShopUserResponse»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«RetailShopUserResponse»»",
"$$ref": "#/definitions/CommonResult«CommonPage«RetailShopUserResponse»»"
}
}
}
}
},
"/api/admin/store/retail/statistics": {
"get": {
"tags": [
"分销"
],
"summary": "分销头部数据",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "dateLimit",
"in": "query",
"required": false,
"description": "today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/",
"type": "string"
},
{
"name": "nickName",
"in": "query",
"required": false,
"description": "昵称",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/store/retail/spread/manage/set": {
"post": {
"tags": [
"分销"
],
"summary": "分销管理信息保存",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"schema": {
"type": "object",
"properties": {
"brokerageBindind": {
"type": "string",
"description": "分销关系绑定"
},
"brokerageFuncStatus": {
"type": "string",
"description": "是否启用分销"
},
"extractTime": {
"type": "string",
"description": "冻结时间"
},
"storeBrokeragePrice": {
"type": "string",
"description": "人人分销满足金额"
},
"storeBrokerageRatio": {
"type": "string",
"description": "一级返佣比例"
},
"storeBrokerageStatus": {
"type": "string",
"description": "分销模式"
},
"storeBrokerageTwo": {
"type": "string",
"description": "二级返佣比例"
},
"userExtractBank": {
"type": "string",
"description": "提现银行"
},
"userExtractMinPrice": {
"type": "string",
"description": "用户提现最低金额"
}
},
"title": "RetailShopRequest",
"$$ref": "#/definitions/RetailShopRequest"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/store/retail/spread/manage/get": {
"get": {
"tags": [
"分销"
],
"summary": "分销配置信息获取",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/store/retail/spread/userlist": {
"post": {
"tags": [
"分销"
],
"summary": "根据条件获取推广人列表",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "推广等级参数",
"schema": {
"type": "object",
"properties": {
"dateLimit": {
"type": "string",
"description": "时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/"
},
"nickName": {
"type": "string",
"description": "搜索关键字"
},
"orderPriceId": {
"type": "string"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型 null = 全部 1=一级推广人 2=二级推广人"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
}
},
"title": "RetailShopStairUserRequest对象",
"description": "推广等级参数",
"$$ref": "#/definitions/RetailShopStairUserRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "用户账号"
},
"addIp": {
"type": "string",
"description": "添加ip"
},
"addres": {
"type": "string",
"description": "详细地址"
},
"adminid": {
"type": "integer",
"format": "int32",
"description": "管理员编号 "
},
"avatar": {
"type": "string",
"description": "用户头像"
},
"birthday": {
"type": "string",
"description": "生日"
},
"brokeragePrice": {
"type": "number",
"description": "佣金金额"
},
"cardId": {
"type": "string",
"description": "身份证号码"
},
"cleanTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "用户剩余经验"
},
"groupId": {
"type": "string",
"description": "用户分组id"
},
"integral": {
"type": "number",
"description": "用户剩余积分"
},
"isPromoter": {
"type": "boolean",
"description": "是否为推广员"
},
"lastIp": {
"type": "string",
"description": "最后一次登录ip"
},
"lastLoginTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"level": {
"type": "integer",
"format": "int32",
"description": "等级"
},
"loginType": {
"type": "string",
"description": "用户登陆类型,h5,wechat,routine"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"nickname": {
"type": "string",
"description": "用户昵称"
},
"nowMoney": {
"type": "number",
"description": "用户余额"
},
"partnerId": {
"type": "integer",
"format": "int32",
"description": "合伙人id"
},
"path": {
"type": "string",
"description": "用户推广等级"
},
"payCount": {
"type": "integer",
"format": "int32",
"description": "用户购买次数"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"realName": {
"type": "string",
"description": "真实姓名"
},
"signNum": {
"type": "integer",
"format": "int32",
"description": "连续签到天数"
},
"spreadCount": {
"type": "integer",
"format": "int32",
"description": "下级人数"
},
"spreadTime": {
"type": "string",
"format": "date-time",
"description": "推广员关联时间"
},
"spreadUid": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"status": {
"type": "boolean",
"description": "1为正常,0为禁止"
},
"subscribe": {
"type": "boolean",
"description": "是否关注公众号"
},
"tagId": {
"type": "string",
"description": "用户标签id"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"userType": {
"type": "string",
"description": "用户类型"
}
},
"title": "User对象",
"description": "用户表",
"$$ref": "#/definitions/User对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«User对象»",
"$$ref": "#/definitions/CommonPage«User对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«User对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«User对象»»"
}
}
}
}
},
"/api/admin/store/retail/spread/orderlist": {
"post": {
"tags": [
"分销"
],
"summary": "根据条件获取推广人订单",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "推广等级参数",
"schema": {
"type": "object",
"properties": {
"dateLimit": {
"type": "string",
"description": "时间参数 today,yesterday,lately7,lately30,month,year,/yyyy-MM-dd hh:mm:ss,yyyy-MM-dd hh:mm:ss/"
},
"nickName": {
"type": "string",
"description": "搜索关键字"
},
"orderPriceId": {
"type": "string"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型 null = 全部 1=一级推广人 2=二级推广人"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
}
},
"title": "RetailShopStairUserRequest对象",
"description": "推广等级参数",
"$$ref": "#/definitions/RetailShopStairUserRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"backIntegral": {
"type": "number",
"description": "给用户退了多少积分"
},
"bargainId": {
"type": "integer",
"format": "int32",
"description": "砍价id"
},
"clerkId": {
"type": "integer",
"format": "int32",
"description": "店员id"
},
"combinationId": {
"type": "integer",
"format": "int32",
"description": "拼团商品id0一般商品"
},
"cost": {
"type": "number",
"description": "成本价"
},
"couponId": {
"type": "integer",
"format": "int32",
"description": "优惠券id"
},
"couponPrice": {
"type": "number",
"description": "优惠券金额"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"deductionPrice": {
"type": "number",
"description": "抵扣金额"
},
"deliveryId": {
"type": "string",
"description": "快递单号/手机号"
},
"deliveryName": {
"type": "string",
"description": "快递名称/送货人姓名"
},
"deliveryType": {
"type": "string",
"description": "发货类型"
},
"freightPrice": {
"type": "number",
"description": "运费金额"
},
"gainIntegral": {
"type": "number",
"description": "消费赚取积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "订单ID"
},
"isChannel": {
"type": "integer",
"format": "int32",
"description": "支付渠道(0微信公众号1微信小程序)"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isMerCheck": {
"type": "integer",
"format": "int32"
},
"isRemind": {
"type": "boolean",
"description": "消息提醒"
},
"isSystemDel": {
"type": "boolean",
"description": "后台是否删除"
},
"mark": {
"type": "string",
"description": "备注"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户ID"
},
"orderId": {
"type": "string",
"description": "订单号"
},
"paid": {
"type": "boolean",
"description": "支付状态"
},
"payPostage": {
"type": "number",
"description": "支付邮费"
},
"payPrice": {
"type": "number",
"description": "实际支付金额"
},
"payTime": {
"type": "string",
"format": "date-time",
"description": "支付时间"
},
"payType": {
"type": "string",
"description": "支付方式"
},
"pinkId": {
"type": "integer",
"format": "int32",
"description": "拼团id 0没有拼团"
},
"realName": {
"type": "string",
"description": "用户姓名"
},
"refundPrice": {
"type": "number",
"description": "退款金额"
},
"refundReason": {
"type": "string",
"description": "不退款的理由"
},
"refundReasonTime": {
"type": "string",
"format": "date-time",
"description": "退款时间"
},
"refundReasonWap": {
"type": "string",
"description": "前台退款原因"
},
"refundReasonWapExplain": {
"type": "string",
"description": "退款用户说明"
},
"refundReasonWapImg": {
"type": "string",
"description": "退款图片"
},
"refundStatus": {
"type": "integer",
"format": "int32",
"description": "0 未退款 1 申请中 2 已退款"
},
"remark": {
"type": "string",
"description": "管理员备注"
},
"seckillId": {
"type": "integer",
"format": "int32",
"description": "秒杀商品ID"
},
"shippingType": {
"type": "integer",
"format": "int32",
"description": "配送方式 1=快递 ,2=门店自提"
},
"status": {
"type": "integer",
"format": "int32",
"description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货,待评价;3:已完成;)"
},
"storeId": {
"type": "integer",
"format": "int32",
"description": "门店id"
},
"totalNum": {
"type": "integer",
"format": "int32",
"description": "订单商品总数"
},
"totalPostage": {
"type": "number",
"description": "邮费"
},
"totalPrice": {
"type": "number",
"description": "订单总价"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"unique": {
"type": "string",
"description": "唯一id(md5加密)类似id"
},
"useIntegral": {
"type": "number",
"description": "使用积分"
},
"userAddress": {
"type": "string",
"description": "详细地址"
},
"userPhone": {
"type": "string",
"description": "用户电话"
},
"verifyCode": {
"type": "string",
"description": "核销码"
}
},
"title": "StoreOrder对象",
"description": "订单表",
"$$ref": "#/definitions/StoreOrder对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreOrder对象»",
"$$ref": "#/definitions/CommonPage«StoreOrder对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«StoreOrder对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«StoreOrder对象»»"
}
}
}
}
},
"/api/admin/store/retail/spread/save": {
"get": {
"tags": [
"分销"
],
"summary": "添加推广关系",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "currentUserId",
"in": "query",
"required": false,
"description": "当前用户id",
"type": "string"
},
{
"name": "spreadUserId",
"in": "query",
"required": false,
"description": "推广人id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/store/retail/spread/clean/{id}": {
"get": {
"tags": [
"分销"
],
"summary": "清除上级推广人",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/system/admin/update": {
"post": {
"tags": [
"后台用户服务"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "account",
"in": "query",
"required": false,
"description": "后台管理员账号",
"type": "string"
},
{
"name": "addTime",
"in": "query",
"required": false,
"description": "后台管理员添加时间",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "后台管理员表ID",
"type": "string"
},
{
"name": "isDel",
"in": "query",
"required": false,
"description": "是否删除 1删除 0未删除",
"type": "string"
},
{
"name": "lastIp",
"in": "query",
"required": false,
"description": "后台管理员最后一次登录ip",
"type": "string"
},
{
"name": "lastTime",
"in": "query",
"required": false,
"description": "后台管理员最后一次登录时间",
"type": "string"
},
{
"name": "level",
"in": "query",
"required": false,
"description": "后台管理员级别",
"type": "string"
},
{
"name": "loginCount",
"in": "query",
"required": false,
"description": "登录次数",
"type": "string"
},
{
"name": "pwd",
"in": "query",
"required": false,
"description": "后台管理员密码",
"type": "string"
},
{
"name": "realName",
"in": "query",
"required": false,
"description": "后台管理员姓名",
"type": "string"
},
{
"name": "roles",
"in": "query",
"required": false,
"description": "后台管理员权限(menus_id)",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "后台管理员状态 1有效0无效",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/admin/list": {
"get": {
"tags": [
"后台用户服务"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "account",
"in": "query",
"required": false,
"description": "后台管理员账号",
"type": "string"
},
{
"name": "addTime",
"in": "query",
"required": false,
"description": "后台管理员添加时间",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "后台管理员表ID",
"type": "string"
},
{
"name": "isDel",
"in": "query",
"required": false,
"description": "是否删除 1删除 0未删除",
"type": "string"
},
{
"name": "lastIp",
"in": "query",
"required": false,
"description": "后台管理员最后一次登录ip",
"type": "string"
},
{
"name": "lastTime",
"in": "query",
"required": false,
"description": "后台管理员最后一次登录时间",
"type": "string"
},
{
"name": "level",
"in": "query",
"required": false,
"description": "后台管理员级别",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "loginCount",
"in": "query",
"required": false,
"description": "登录次数",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "pwd",
"in": "query",
"required": false,
"description": "后台管理员密码",
"type": "string"
},
{
"name": "realName",
"in": "query",
"required": false,
"description": "后台管理员姓名",
"type": "string"
},
{
"name": "roles",
"in": "query",
"required": false,
"description": "后台管理员权限(menus_id)",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "后台管理员状态 1有效0无效",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "后台管理员账号"
},
"addTime": {
"type": "integer",
"format": "int32",
"description": "后台管理员添加时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "后台管理员表ID"
},
"isDel": {
"type": "boolean"
},
"lastIp": {
"type": "string",
"description": "后台管理员最后一次登录ip"
},
"lastTime": {
"type": "integer",
"format": "int32",
"description": "后台管理员最后一次登录时间"
},
"level": {
"type": "integer",
"format": "int32",
"description": "后台管理员级别"
},
"loginCount": {
"type": "integer",
"format": "int32",
"description": "登录次数"
},
"pwd": {
"type": "string",
"description": "后台管理员密码"
},
"realName": {
"type": "string",
"description": "后台管理员姓名"
},
"roles": {
"type": "string",
"description": "后台管理员权限(menus_id)"
},
"status": {
"type": "boolean",
"description": "后台管理员状态 1有效0无效"
}
},
"title": "SystemAdmin对象",
"description": "后台管理员表",
"$$ref": "#/definitions/SystemAdmin对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemAdmin对象»",
"$$ref": "#/definitions/CommonPage«SystemAdmin对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemAdmin对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemAdmin对象»»"
}
}
}
}
},
"/api/admin/system/admin/delete": {
"get": {
"tags": [
"后台用户服务"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/admin/save": {
"post": {
"tags": [
"后台用户服务"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "account",
"in": "query",
"required": false,
"description": "后台管理员账号",
"type": "string"
},
{
"name": "level",
"in": "query",
"required": false,
"description": "后台管理员级别",
"type": "string"
},
{
"name": "pwd",
"in": "query",
"required": false,
"description": "后台管理员密码",
"type": "string"
},
{
"name": "realName",
"in": "query",
"required": false,
"description": "后台管理员姓名",
"type": "string"
},
{
"name": "roles",
"in": "query",
"required": false,
"description": "后台管理员权限(menus_id)",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "后台管理员状态 1有效0无效",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"account": {
"type": "string"
},
"addTime": {
"type": "integer",
"format": "int32"
},
"id": {
"type": "integer",
"format": "int32"
},
"lastIp": {
"type": "string"
},
"lastTime": {
"type": "integer",
"format": "int32"
},
"level": {
"type": "integer",
"format": "int32"
},
"loginCount": {
"type": "integer",
"format": "int32"
},
"realName": {
"type": "string"
},
"roles": {
"type": "string"
},
"status": {
"type": "boolean"
},
"token": {
"type": "string"
}
},
"title": "SystemAdminResponse",
"$$ref": "#/definitions/SystemAdminResponse"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemAdminResponse»",
"$$ref": "#/definitions/CommonResult«SystemAdminResponse»"
}
}
}
}
},
"/api/admin/system/admin/info": {
"get": {
"tags": [
"后台用户服务"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "后台管理员账号"
},
"addTime": {
"type": "integer",
"format": "int32",
"description": "后台管理员添加时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "后台管理员表ID"
},
"isDel": {
"type": "boolean"
},
"lastIp": {
"type": "string",
"description": "后台管理员最后一次登录ip"
},
"lastTime": {
"type": "integer",
"format": "int32",
"description": "后台管理员最后一次登录时间"
},
"level": {
"type": "integer",
"format": "int32",
"description": "后台管理员级别"
},
"loginCount": {
"type": "integer",
"format": "int32",
"description": "登录次数"
},
"pwd": {
"type": "string",
"description": "后台管理员密码"
},
"realName": {
"type": "string",
"description": "后台管理员姓名"
},
"roles": {
"type": "string",
"description": "后台管理员权限(menus_id)"
},
"status": {
"type": "boolean",
"description": "后台管理员状态 1有效0无效"
}
},
"title": "SystemAdmin对象",
"description": "后台管理员表",
"$$ref": "#/definitions/SystemAdmin对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemAdmin对象»",
"$$ref": "#/definitions/CommonResult«SystemAdmin对象»"
}
}
}
}
},
"/api/admin/store/product/putOnShell/{id}": {
"get": {
"tags": [
"商品"
],
"summary": "上架",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/offShell/{id}": {
"get": {
"tags": [
"商品"
],
"summary": "下架",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/update": {
"post": {
"tags": [
"商品"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "商品表",
"schema": {
"type": "object",
"properties": {
"activity": {
"type": "string",
"description": "活动显示排序1=秒杀,2=砍价,3=拼团"
},
"addTime": {
"type": "integer",
"format": "int32",
"description": "添加时间"
},
"attr": {
"type": "array",
"description": "商品属性",
"items": {
"type": "object",
"properties": {
"attrName": {
"type": "string",
"description": "属性名"
},
"attrValues": {
"type": "string",
"description": "属性值"
},
"id": {
"type": "integer",
"format": "int32",
"description": "attrId"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品ID"
},
"type": {
"type": "integer",
"format": "int32",
"description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
}
},
"title": "StoreProductAttr对象",
"description": "商品属性表",
"$$ref": "#/definitions/StoreProductAttr对象"
}
},
"attrValue": {
"type": "array",
"description": "商品属性详情",
"items": {
"type": "object",
"properties": {
"attrValue": {
"type": "object",
"description": "attrValue字段,前端传递后用作sku字段",
"additionalProperties": {
"type": "string"
}
},
"barCode": {
"type": "string",
"description": "商品条码"
},
"brokerage": {
"type": "number",
"description": "一级返佣"
},
"brokerageTwo": {
"type": "number",
"description": "二级返佣"
},
"cost": {
"type": "number",
"description": "成本价"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "ID"
},
"image": {
"type": "string",
"description": "图片"
},
"otPrice": {
"type": "number",
"description": "原价"
},
"price": {
"type": "number",
"description": "属性金额"
},
"productId": {
"type": "integer",
"format": "int32",
"example": 0,
"description": "商品ID"
},
"quota": {
"type": "integer",
"format": "int32",
"description": "活动限购数量"
},
"quotaShow": {
"type": "integer",
"format": "int32",
"description": "活动限购数量显示"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "属性对应的库存"
},
"suk": {
"type": "string",
"description": "商品属性索引值 (attr_value|attr_value[|....])"
},
"type": {
"type": "boolean",
"description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
},
"unique": {
"type": "string",
"description": "唯一值"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"volume": {
"type": "number",
"description": "体积"
},
"weight": {
"type": "number",
"description": "重量"
}
},
"title": "StoreProductAttrValueRequest对象",
"description": "商品属性值表",
"$$ref": "#/definitions/StoreProductAttrValueRequest对象"
}
},
"barCode": {
"type": "string",
"description": "商品条码(一维码)"
},
"browse": {
"type": "integer",
"format": "int32",
"description": "浏览量"
},
"cateId": {
"type": "string",
"description": "分类id"
},
"cateIds": {
"type": "array",
"description": "商品分类",
"items": {
"type": "integer",
"format": "int32"
}
},
"codePath": {
"type": "string",
"description": "商品二维码地址(用户小程序海报)"
},
"content": {
"type": "string",
"description": "商品描述"
},
"cost": {
"type": "number",
"description": "成本价"
},
"couponIds": {
"type": "array",
"description": "优惠券id集合",
"items": {
"type": "integer",
"format": "int32"
}
},
"ficti": {
"type": "integer",
"format": "int32",
"description": "虚拟销量"
},
"giveIntegral": {
"type": "number",
"description": "获得积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"image": {
"type": "string",
"description": "商品图片"
},
"isBargain": {
"type": "boolean",
"description": "砍价状态 0未开启 1开启"
},
"isBenefit": {
"type": "boolean",
"description": "是否优惠"
},
"isBest": {
"type": "boolean",
"description": "是否精品"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isGood": {
"type": "boolean",
"description": "是否优品推荐"
},
"isHot": {
"type": "boolean",
"description": "是否热卖"
},
"isNew": {
"type": "boolean",
"description": "是否新品"
},
"isPostage": {
"type": "boolean",
"description": "是否包邮"
},
"isSeckill": {
"type": "boolean",
"description": "秒杀状态 0 未开启 1已开启"
},
"isShow": {
"type": "boolean",
"description": "状态(0:未上架,1:上架)"
},
"isSub": {
"type": "boolean",
"description": "是否单独分佣"
},
"keyword": {
"type": "string",
"description": "关键字"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
},
"merUse": {
"type": "boolean",
"description": "商户是否代理 0不可代理1可代理"
},
"otPrice": {
"type": "number",
"description": "市场价"
},
"postage": {
"type": "number",
"description": "邮费"
},
"price": {
"type": "number",
"description": "商品价格"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"sliderImage": {
"type": "string",
"description": "轮播图"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"soureLink": {
"type": "string",
"description": "淘宝京东1688类型"
},
"specType": {
"type": "boolean",
"description": "规格 0单 1多"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "库存"
},
"storeInfo": {
"type": "string",
"description": "商品简介"
},
"storeName": {
"type": "string",
"description": "商品名称"
},
"tempId": {
"type": "integer",
"format": "int32",
"description": "运费模板ID"
},
"unitName": {
"type": "string",
"description": "单位名"
},
"videoLink": {
"type": "string",
"description": "主图视频链接"
},
"vipPrice": {
"type": "number",
"description": "会员价格"
}
},
"title": "StoreProductRequest对象",
"description": "商品表",
"$$ref": "#/definitions/StoreProductRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/list": {
"get": {
"tags": [
"商品"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "cateId",
"in": "query",
"required": false,
"description": "分类ID, 多个逗号分隔",
"type": "string"
},
{
"name": "isBenefit",
"in": "query",
"required": false,
"description": "是否优惠",
"type": "string"
},
{
"name": "isBest",
"in": "query",
"required": false,
"description": "是否精品",
"type": "string"
},
{
"name": "isGood",
"in": "query",
"required": false,
"description": "是否推荐",
"type": "string"
},
{
"name": "isHot",
"in": "query",
"required": false,
"description": "是否热卖",
"type": "string"
},
{
"name": "isNew",
"in": "query",
"required": false,
"description": "是否新品",
"type": "string"
},
{
"name": "isShow",
"in": "query",
"required": false,
"description": "状态(0:未上架,1:上架)",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码)",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站)",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"activity": {
"type": "string",
"description": "活动显示排序1=秒杀,2=砍价,3=拼团"
},
"addTime": {
"type": "integer",
"format": "int32",
"description": "添加时间"
},
"barCode": {
"type": "string",
"description": "商品条码(一维码)"
},
"browse": {
"type": "integer",
"format": "int32",
"description": "浏览量"
},
"cateId": {
"type": "string",
"description": "分类id"
},
"codePath": {
"type": "string",
"description": "商品二维码地址(用户小程序海报)"
},
"cost": {
"type": "number",
"description": "成本价"
},
"ficti": {
"type": "integer",
"format": "int32",
"description": "虚拟销量"
},
"giveIntegral": {
"type": "number",
"description": "获得积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"image": {
"type": "string",
"description": "商品图片"
},
"isBargain": {
"type": "boolean",
"description": "砍价状态 0未开启 1开启"
},
"isBenefit": {
"type": "boolean",
"description": "是否优惠"
},
"isBest": {
"type": "boolean",
"description": "是否精品"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isGood": {
"type": "boolean",
"description": "是否优品推荐"
},
"isHot": {
"type": "boolean",
"description": "是否热卖"
},
"isNew": {
"type": "boolean",
"description": "是否新品"
},
"isPostage": {
"type": "boolean",
"description": "是否包邮"
},
"isSeckill": {
"type": "boolean",
"description": "秒杀状态 0 未开启 1已开启"
},
"isShow": {
"type": "boolean",
"description": "状态(0:未上架,1:上架)"
},
"isSub": {
"type": "boolean",
"description": "是否单独分佣"
},
"keyword": {
"type": "string",
"description": "关键字"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
},
"merUse": {
"type": "boolean",
"description": "商户是否代理 0不可代理1可代理"
},
"otPrice": {
"type": "number",
"description": "市场价"
},
"postage": {
"type": "number",
"description": "邮费"
},
"price": {
"type": "number",
"description": "商品价格"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"sliderImage": {
"type": "string",
"description": "轮播图"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"soureLink": {
"type": "string",
"description": "淘宝京东1688类型"
},
"specType": {
"type": "boolean",
"description": "规格 0单 1多"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "库存"
},
"storeInfo": {
"type": "string",
"description": "商品简介"
},
"storeName": {
"type": "string",
"description": "商品名称"
},
"tempId": {
"type": "integer",
"format": "int32",
"description": "运费模板ID"
},
"unitName": {
"type": "string",
"description": "单位名"
},
"videoLink": {
"type": "string",
"description": "主图视频链接"
},
"vipPrice": {
"type": "number",
"description": "会员价格"
}
},
"title": "StoreProduct对象",
"description": "商品表",
"$$ref": "#/definitions/StoreProduct对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreProduct对象»",
"$$ref": "#/definitions/CommonPage«StoreProduct对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«StoreProduct对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«StoreProduct对象»»"
}
}
}
}
},
"/api/admin/store/product/delete/{id}": {
"get": {
"tags": [
"商品"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/tabs/headers": {
"get": {
"tags": [
"商品"
],
"summary": "商品表头数量",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string"
},
"type": {
"type": "integer",
"format": "int32"
}
},
"title": "StoreProductTabsHeader",
"$$ref": "#/definitions/StoreProductTabsHeader"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«List«StoreProductTabsHeader»»",
"$$ref": "#/definitions/CommonResult«List«StoreProductTabsHeader»»"
}
}
}
}
},
"/api/admin/store/product/importProduct": {
"post": {
"tags": [
"商品"
],
"summary": "导入商品",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "form",
"in": "query",
"required": false,
"description": "导入平台1=淘宝,2=京东,3=苏宁,4=拼多多, 5=天猫",
"type": "string"
},
{
"name": "url",
"in": "query",
"required": false,
"description": "URL",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"activity": {
"type": "string",
"description": "活动显示排序1=秒杀,2=砍价,3=拼团"
},
"addTime": {
"type": "integer",
"format": "int32",
"description": "添加时间"
},
"attr": {
"type": "array",
"description": "商品属性",
"items": {
"type": "object",
"properties": {
"attrName": {
"type": "string",
"description": "属性名"
},
"attrValues": {
"type": "string",
"description": "属性值"
},
"id": {
"type": "integer",
"format": "int32",
"description": "attrId"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品ID"
},
"type": {
"type": "integer",
"format": "int32",
"description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
}
},
"title": "StoreProductAttr对象",
"description": "商品属性表",
"$$ref": "#/definitions/StoreProductAttr对象"
}
},
"attrValue": {
"type": "array",
"description": "商品属性详情",
"items": {
"type": "object",
"properties": {
"attrValue": {
"type": "object",
"description": "attrValue字段,前端传递后用作sku字段",
"additionalProperties": {
"type": "string"
}
},
"barCode": {
"type": "string",
"description": "商品条码"
},
"brokerage": {
"type": "number",
"description": "一级返佣"
},
"brokerageTwo": {
"type": "number",
"description": "二级返佣"
},
"cost": {
"type": "number",
"description": "成本价"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "ID"
},
"image": {
"type": "string",
"description": "图片"
},
"otPrice": {
"type": "number",
"description": "原价"
},
"price": {
"type": "number",
"description": "属性金额"
},
"productId": {
"type": "integer",
"format": "int32",
"example": 0,
"description": "商品ID"
},
"quota": {
"type": "integer",
"format": "int32",
"description": "活动限购数量"
},
"quotaShow": {
"type": "integer",
"format": "int32",
"description": "活动限购数量显示"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "属性对应的库存"
},
"suk": {
"type": "string",
"description": "商品属性索引值 (attr_value|attr_value[|....])"
},
"type": {
"type": "boolean",
"description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
},
"unique": {
"type": "string",
"description": "唯一值"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"volume": {
"type": "number",
"description": "体积"
},
"weight": {
"type": "number",
"description": "重量"
}
},
"title": "StoreProductAttrValueRequest对象",
"description": "商品属性值表",
"$$ref": "#/definitions/StoreProductAttrValueRequest对象"
}
},
"barCode": {
"type": "string",
"description": "商品条码(一维码)"
},
"browse": {
"type": "integer",
"format": "int32",
"description": "浏览量"
},
"cateId": {
"type": "string",
"description": "分类id"
},
"cateIds": {
"type": "array",
"description": "商品分类",
"items": {
"type": "integer",
"format": "int32"
}
},
"codePath": {
"type": "string",
"description": "商品二维码地址(用户小程序海报)"
},
"content": {
"type": "string",
"description": "商品描述"
},
"cost": {
"type": "number",
"description": "成本价"
},
"couponIds": {
"type": "array",
"description": "优惠券id集合",
"items": {
"type": "integer",
"format": "int32"
}
},
"ficti": {
"type": "integer",
"format": "int32",
"description": "虚拟销量"
},
"giveIntegral": {
"type": "number",
"description": "获得积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"image": {
"type": "string",
"description": "商品图片"
},
"isBargain": {
"type": "boolean",
"description": "砍价状态 0未开启 1开启"
},
"isBenefit": {
"type": "boolean",
"description": "是否优惠"
},
"isBest": {
"type": "boolean",
"description": "是否精品"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isGood": {
"type": "boolean",
"description": "是否优品推荐"
},
"isHot": {
"type": "boolean",
"description": "是否热卖"
},
"isNew": {
"type": "boolean",
"description": "是否新品"
},
"isPostage": {
"type": "boolean",
"description": "是否包邮"
},
"isSeckill": {
"type": "boolean",
"description": "秒杀状态 0 未开启 1已开启"
},
"isShow": {
"type": "boolean",
"description": "状态(0:未上架,1:上架)"
},
"isSub": {
"type": "boolean",
"description": "是否单独分佣"
},
"keyword": {
"type": "string",
"description": "关键字"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
},
"merUse": {
"type": "boolean",
"description": "商户是否代理 0不可代理1可代理"
},
"otPrice": {
"type": "number",
"description": "市场价"
},
"postage": {
"type": "number",
"description": "邮费"
},
"price": {
"type": "number",
"description": "商品价格"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"sliderImage": {
"type": "string",
"description": "轮播图"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"soureLink": {
"type": "string",
"description": "淘宝京东1688类型"
},
"specType": {
"type": "boolean",
"description": "规格 0单 1多"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "库存"
},
"storeInfo": {
"type": "string",
"description": "商品简介"
},
"storeName": {
"type": "string",
"description": "商品名称"
},
"tempId": {
"type": "integer",
"format": "int32",
"description": "运费模板ID"
},
"unitName": {
"type": "string",
"description": "单位名"
},
"videoLink": {
"type": "string",
"description": "主图视频链接"
},
"vipPrice": {
"type": "number",
"description": "会员价格"
}
},
"title": "StoreProductRequest对象",
"description": "商品表",
"$$ref": "#/definitions/StoreProductRequest对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«StoreProductRequest对象»",
"$$ref": "#/definitions/CommonResult«StoreProductRequest对象»"
}
}
}
}
},
"/api/admin/store/product/stock": {
"get": {
"tags": [
"商品"
],
"summary": "库存变动",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "idList",
"in": "query",
"required": false,
"description": "商品ID, 多个逗号分割,如果是修改所有的,参数值为 all",
"type": "string"
},
{
"name": "num",
"in": "query",
"required": false,
"description": "数量",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型, 增加 add | 修改 update | 减少 diff",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/save": {
"post": {
"tags": [
"商品"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "商品表",
"schema": {
"type": "object",
"properties": {
"activity": {
"type": "string",
"description": "活动显示排序1=秒杀,2=砍价,3=拼团"
},
"addTime": {
"type": "integer",
"format": "int32",
"description": "添加时间"
},
"attr": {
"type": "array",
"description": "商品属性",
"items": {
"type": "object",
"properties": {
"attrName": {
"type": "string",
"description": "属性名"
},
"attrValues": {
"type": "string",
"description": "属性值"
},
"id": {
"type": "integer",
"format": "int32",
"description": "attrId"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品ID"
},
"type": {
"type": "integer",
"format": "int32",
"description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
}
},
"title": "StoreProductAttr对象",
"description": "商品属性表",
"$$ref": "#/definitions/StoreProductAttr对象"
}
},
"attrValue": {
"type": "array",
"description": "商品属性详情",
"items": {
"type": "object",
"properties": {
"attrValue": {
"type": "object",
"description": "attrValue字段,前端传递后用作sku字段",
"additionalProperties": {
"type": "string"
}
},
"barCode": {
"type": "string",
"description": "商品条码"
},
"brokerage": {
"type": "number",
"description": "一级返佣"
},
"brokerageTwo": {
"type": "number",
"description": "二级返佣"
},
"cost": {
"type": "number",
"description": "成本价"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "ID"
},
"image": {
"type": "string",
"description": "图片"
},
"otPrice": {
"type": "number",
"description": "原价"
},
"price": {
"type": "number",
"description": "属性金额"
},
"productId": {
"type": "integer",
"format": "int32",
"example": 0,
"description": "商品ID"
},
"quota": {
"type": "integer",
"format": "int32",
"description": "活动限购数量"
},
"quotaShow": {
"type": "integer",
"format": "int32",
"description": "活动限购数量显示"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "属性对应的库存"
},
"suk": {
"type": "string",
"description": "商品属性索引值 (attr_value|attr_value[|....])"
},
"type": {
"type": "boolean",
"description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
},
"unique": {
"type": "string",
"description": "唯一值"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"volume": {
"type": "number",
"description": "体积"
},
"weight": {
"type": "number",
"description": "重量"
}
},
"title": "StoreProductAttrValueRequest对象",
"description": "商品属性值表",
"$$ref": "#/definitions/StoreProductAttrValueRequest对象"
}
},
"barCode": {
"type": "string",
"description": "商品条码(一维码)"
},
"browse": {
"type": "integer",
"format": "int32",
"description": "浏览量"
},
"cateId": {
"type": "string",
"description": "分类id"
},
"cateIds": {
"type": "array",
"description": "商品分类",
"items": {
"type": "integer",
"format": "int32"
}
},
"codePath": {
"type": "string",
"description": "商品二维码地址(用户小程序海报)"
},
"content": {
"type": "string",
"description": "商品描述"
},
"cost": {
"type": "number",
"description": "成本价"
},
"couponIds": {
"type": "array",
"description": "优惠券id集合",
"items": {
"type": "integer",
"format": "int32"
}
},
"ficti": {
"type": "integer",
"format": "int32",
"description": "虚拟销量"
},
"giveIntegral": {
"type": "number",
"description": "获得积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"image": {
"type": "string",
"description": "商品图片"
},
"isBargain": {
"type": "boolean",
"description": "砍价状态 0未开启 1开启"
},
"isBenefit": {
"type": "boolean",
"description": "是否优惠"
},
"isBest": {
"type": "boolean",
"description": "是否精品"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isGood": {
"type": "boolean",
"description": "是否优品推荐"
},
"isHot": {
"type": "boolean",
"description": "是否热卖"
},
"isNew": {
"type": "boolean",
"description": "是否新品"
},
"isPostage": {
"type": "boolean",
"description": "是否包邮"
},
"isSeckill": {
"type": "boolean",
"description": "秒杀状态 0 未开启 1已开启"
},
"isShow": {
"type": "boolean",
"description": "状态(0:未上架,1:上架)"
},
"isSub": {
"type": "boolean",
"description": "是否单独分佣"
},
"keyword": {
"type": "string",
"description": "关键字"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
},
"merUse": {
"type": "boolean",
"description": "商户是否代理 0不可代理1可代理"
},
"otPrice": {
"type": "number",
"description": "市场价"
},
"postage": {
"type": "number",
"description": "邮费"
},
"price": {
"type": "number",
"description": "商品价格"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"sliderImage": {
"type": "string",
"description": "轮播图"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"soureLink": {
"type": "string",
"description": "淘宝京东1688类型"
},
"specType": {
"type": "boolean",
"description": "规格 0单 1多"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "库存"
},
"storeInfo": {
"type": "string",
"description": "商品简介"
},
"storeName": {
"type": "string",
"description": "商品名称"
},
"tempId": {
"type": "integer",
"format": "int32",
"description": "运费模板ID"
},
"unitName": {
"type": "string",
"description": "单位名"
},
"videoLink": {
"type": "string",
"description": "主图视频链接"
},
"vipPrice": {
"type": "number",
"description": "会员价格"
}
},
"title": "StoreProductRequest对象",
"description": "商品表",
"$$ref": "#/definitions/StoreProductRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/ficti/{id}/{num}": {
"get": {
"tags": [
"商品"
],
"summary": "虚拟销量",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "num",
"in": "path",
"description": "数值",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/info/{id}": {
"get": {
"tags": [
"商品"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"activity": {
"type": "string",
"description": "活动显示排序1=秒杀,2=砍价,3=拼团"
},
"addTime": {
"type": "integer",
"format": "int32",
"description": "添加时间"
},
"barCode": {
"type": "string",
"description": "商品条码(一维码)"
},
"browse": {
"type": "integer",
"format": "int32",
"description": "浏览量"
},
"cateId": {
"type": "string",
"description": "分类id"
},
"codePath": {
"type": "string",
"description": "商品二维码地址(用户小程序海报)"
},
"cost": {
"type": "number",
"description": "成本价"
},
"ficti": {
"type": "integer",
"format": "int32",
"description": "虚拟销量"
},
"giveIntegral": {
"type": "number",
"description": "获得积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"image": {
"type": "string",
"description": "商品图片"
},
"isBargain": {
"type": "boolean",
"description": "砍价状态 0未开启 1开启"
},
"isBenefit": {
"type": "boolean",
"description": "是否优惠"
},
"isBest": {
"type": "boolean",
"description": "是否精品"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isGood": {
"type": "boolean",
"description": "是否优品推荐"
},
"isHot": {
"type": "boolean",
"description": "是否热卖"
},
"isNew": {
"type": "boolean",
"description": "是否新品"
},
"isPostage": {
"type": "boolean",
"description": "是否包邮"
},
"isSeckill": {
"type": "boolean",
"description": "秒杀状态 0 未开启 1已开启"
},
"isShow": {
"type": "boolean",
"description": "状态(0:未上架,1:上架)"
},
"isSub": {
"type": "boolean",
"description": "是否单独分佣"
},
"keyword": {
"type": "string",
"description": "关键字"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
},
"merUse": {
"type": "boolean",
"description": "商户是否代理 0不可代理1可代理"
},
"otPrice": {
"type": "number",
"description": "市场价"
},
"postage": {
"type": "number",
"description": "邮费"
},
"price": {
"type": "number",
"description": "商品价格"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"sliderImage": {
"type": "string",
"description": "轮播图"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"soureLink": {
"type": "string",
"description": "淘宝京东1688类型"
},
"specType": {
"type": "boolean",
"description": "规格 0单 1多"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "库存"
},
"storeInfo": {
"type": "string",
"description": "商品简介"
},
"storeName": {
"type": "string",
"description": "商品名称"
},
"tempId": {
"type": "integer",
"format": "int32",
"description": "运费模板ID"
},
"unitName": {
"type": "string",
"description": "单位名"
},
"videoLink": {
"type": "string",
"description": "主图视频链接"
},
"vipPrice": {
"type": "number",
"description": "会员价格"
}
},
"title": "StoreProduct对象",
"description": "商品表",
"$$ref": "#/definitions/StoreProduct对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«StoreProduct对象»",
"$$ref": "#/definitions/CommonResult«StoreProduct对象»"
}
}
}
}
},
"/api/admin/store/product/rule/update": {
"post": {
"tags": [
"商品 -- 规则值(规格)"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "商品规则值(规格)表",
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "规则id"
},
"ruleName": {
"type": "string",
"description": "规格名称"
},
"ruleValue": {
"type": "string",
"description": "规格值【JSON字符串】 [{\\\"detail\\\": [\\\"string\\\"],\\\"title\\\": \\\"string\\\"}]"
}
},
"title": "StoreProductRuleRequest对象",
"description": "商品规则值(规格)表",
"$$ref": "#/definitions/StoreProductRuleRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/rule/list": {
"get": {
"tags": [
"商品 -- 规则值(规格)"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"ruleName": {
"type": "string",
"description": "规格名称"
},
"ruleValue": {
"type": "string",
"description": "规格值"
}
},
"title": "StoreProductRule对象",
"description": "商品规则值(规格)表",
"$$ref": "#/definitions/StoreProductRule对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreProductRule对象»",
"$$ref": "#/definitions/CommonPage«StoreProductRule对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«StoreProductRule对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«StoreProductRule对象»»"
}
}
}
}
},
"/api/admin/store/product/rule/delete/{ids}": {
"get": {
"tags": [
"商品 -- 规则值(规格)"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "ids",
"in": "path",
"description": "ids",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/rule/save": {
"post": {
"tags": [
"商品 -- 规则值(规格)"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "商品规则值(规格)表",
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "规则id"
},
"ruleName": {
"type": "string",
"description": "规格名称"
},
"ruleValue": {
"type": "string",
"description": "规格值【JSON字符串】 [{\\\"detail\\\": [\\\"string\\\"],\\\"title\\\": \\\"string\\\"}]"
}
},
"title": "StoreProductRuleRequest对象",
"description": "商品规则值(规格)表",
"$$ref": "#/definitions/StoreProductRuleRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/rule/info/{id}": {
"get": {
"tags": [
"商品 -- 规则值(规格)"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"ruleName": {
"type": "string",
"description": "规格名称"
},
"ruleValue": {
"type": "string",
"description": "规格值"
}
},
"title": "StoreProductRule对象",
"description": "商品规则值(规格)表",
"$$ref": "#/definitions/StoreProductRule对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«StoreProductRule对象»",
"$$ref": "#/definitions/CommonResult«StoreProductRule对象»"
}
}
}
}
},
"/api/admin/store/product/reply/update": {
"post": {
"tags": [
"商品 -- 评论"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "评论表",
"schema": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "用户头像"
},
"comment": {
"type": "string",
"description": "评论内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "评论时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "评论ID"
},
"isDel": {
"type": "boolean",
"description": "0未删除1已删除"
},
"isReply": {
"type": "boolean",
"description": "0未回复1已回复"
},
"merchantReplyContent": {
"type": "string",
"description": "管理员回复内容"
},
"merchantReplyTime": {
"type": "integer",
"format": "int32",
"description": "管理员回复时间"
},
"nickname": {
"type": "string",
"description": "用户名称"
},
"oid": {
"type": "integer",
"format": "int32",
"description": "订单ID"
},
"pics": {
"type": "string",
"description": "评论图片"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"productScore": {
"type": "integer",
"format": "int32",
"description": "商品分数"
},
"replyType": {
"type": "string",
"description": "某种商品类型(普通商品、秒杀商品)"
},
"serviceScore": {
"type": "integer",
"format": "int32",
"description": "服务分数"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户ID"
},
"unique": {
"type": "string",
"description": "商品 属性id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "StoreProductReply对象",
"description": "评论表",
"$$ref": "#/definitions/StoreProductReply对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/reply/list": {
"get": {
"tags": [
"商品 -- 评论"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "dateLimit",
"in": "query",
"required": false,
"description": "时间区间",
"type": "string"
},
{
"name": "isDel",
"in": "query",
"required": false,
"description": "0未删除1已删除",
"type": "string"
},
{
"name": "isReply",
"in": "query",
"required": false,
"description": "0未回复1已回复",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "nickname",
"in": "query",
"required": false,
"description": "用户名称(支持模糊搜索)",
"type": "string"
},
{
"name": "oid",
"in": "query",
"required": false,
"description": "订单ID",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "productId",
"in": "query",
"required": false,
"description": "商品id, 多个逗号分割",
"type": "string"
},
{
"name": "star",
"in": "query",
"required": false,
"description": "星数",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "用户ID, 多个逗号分割",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "用户头像"
},
"comment": {
"type": "string",
"description": "评论内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "评论时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "评论ID"
},
"isDel": {
"type": "boolean",
"description": "0未删除1已删除"
},
"isReply": {
"type": "boolean",
"description": "0未回复1已回复"
},
"merchantReplyContent": {
"type": "string",
"description": "管理员回复内容"
},
"merchantReplyTime": {
"type": "integer",
"format": "int32",
"description": "管理员回复时间"
},
"nickname": {
"type": "string",
"description": "用户名称"
},
"oid": {
"type": "integer",
"format": "int32",
"description": "订单ID"
},
"pics": {
"type": "array",
"description": "评论图片",
"items": {
"type": "string"
}
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"productScore": {
"type": "integer",
"format": "int32",
"description": "商品分数"
},
"replyType": {
"type": "string",
"description": "某种商品类型(普通商品、秒杀商品)"
},
"serviceScore": {
"type": "integer",
"format": "int32",
"description": "服务分数"
},
"storeProduct": {
"type": "object",
"properties": {
"activity": {
"type": "string",
"description": "活动显示排序1=秒杀,2=砍价,3=拼团"
},
"addTime": {
"type": "integer",
"format": "int32",
"description": "添加时间"
},
"barCode": {
"type": "string",
"description": "商品条码(一维码)"
},
"browse": {
"type": "integer",
"format": "int32",
"description": "浏览量"
},
"cateId": {
"type": "string",
"description": "分类id"
},
"codePath": {
"type": "string",
"description": "商品二维码地址(用户小程序海报)"
},
"cost": {
"type": "number",
"description": "成本价"
},
"ficti": {
"type": "integer",
"format": "int32",
"description": "虚拟销量"
},
"giveIntegral": {
"type": "number",
"description": "获得积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"image": {
"type": "string",
"description": "商品图片"
},
"isBargain": {
"type": "boolean",
"description": "砍价状态 0未开启 1开启"
},
"isBenefit": {
"type": "boolean",
"description": "是否优惠"
},
"isBest": {
"type": "boolean",
"description": "是否精品"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isGood": {
"type": "boolean",
"description": "是否优品推荐"
},
"isHot": {
"type": "boolean",
"description": "是否热卖"
},
"isNew": {
"type": "boolean",
"description": "是否新品"
},
"isPostage": {
"type": "boolean",
"description": "是否包邮"
},
"isSeckill": {
"type": "boolean",
"description": "秒杀状态 0 未开启 1已开启"
},
"isShow": {
"type": "boolean",
"description": "状态(0:未上架,1:上架)"
},
"isSub": {
"type": "boolean",
"description": "是否单独分佣"
},
"keyword": {
"type": "string",
"description": "关键字"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
},
"merUse": {
"type": "boolean",
"description": "商户是否代理 0不可代理1可代理"
},
"otPrice": {
"type": "number",
"description": "市场价"
},
"postage": {
"type": "number",
"description": "邮费"
},
"price": {
"type": "number",
"description": "商品价格"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"sliderImage": {
"type": "string",
"description": "轮播图"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"soureLink": {
"type": "string",
"description": "淘宝京东1688类型"
},
"specType": {
"type": "boolean",
"description": "规格 0单 1多"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "库存"
},
"storeInfo": {
"type": "string",
"description": "商品简介"
},
"storeName": {
"type": "string",
"description": "商品名称"
},
"tempId": {
"type": "integer",
"format": "int32",
"description": "运费模板ID"
},
"unitName": {
"type": "string",
"description": "单位名"
},
"videoLink": {
"type": "string",
"description": "主图视频链接"
},
"vipPrice": {
"type": "number",
"description": "会员价格"
}
},
"title": "StoreProduct对象",
"description": "商品表",
"$$ref": "#/definitions/StoreProduct对象"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户ID"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "StoreProductReplyResponse",
"$$ref": "#/definitions/StoreProductReplyResponse"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreProductReplyResponse»",
"$$ref": "#/definitions/CommonPage«StoreProductReplyResponse»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«StoreProductReplyResponse»»",
"$$ref": "#/definitions/CommonResult«CommonPage«StoreProductReplyResponse»»"
}
}
}
}
},
"/api/admin/store/product/reply/delete/{id}": {
"get": {
"tags": [
"商品 -- 评论"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/reply/comment": {
"post": {
"tags": [
"商品 -- 评论"
],
"summary": "回复",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "评论表",
"schema": {
"type": "object",
"required": [
"ids",
"merchantReplyContent"
],
"properties": {
"ids": {
"type": "string",
"description": "管理员回复内容"
},
"merchantReplyContent": {
"type": "string",
"description": "管理员回复内容"
}
},
"title": "StoreProductReplyCommentRequest对象",
"description": "评论表",
"$$ref": "#/definitions/StoreProductReplyCommentRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/reply/save": {
"post": {
"tags": [
"商品 -- 评论"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "评论表",
"schema": {
"type": "object",
"required": [
"comment",
"pics",
"productId",
"productScore",
"serviceScore"
],
"properties": {
"comment": {
"type": "string",
"description": "评论内容"
},
"oid": {
"type": "integer",
"format": "int32",
"description": "订单ID, 移动端必须传递此参数"
},
"pics": {
"type": "string",
"description": "评论图片"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"productScore": {
"type": "integer",
"format": "int32",
"example": 5,
"description": "商品分数"
},
"serviceScore": {
"type": "integer",
"format": "int32",
"example": 5,
"description": "服务分数"
},
"unique": {
"type": "string",
"description": "商品 属性id"
},
"userId": {
"type": "integer",
"format": "int32",
"description": "用户id, 后端必须传递此参数"
}
},
"title": "StoreProductReplyAddRequest对象",
"description": "评论表",
"$$ref": "#/definitions/StoreProductReplyAddRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/product/reply/info/{id}": {
"get": {
"tags": [
"商品 -- 评论"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "用户头像"
},
"comment": {
"type": "string",
"description": "评论内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "评论时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "评论ID"
},
"isDel": {
"type": "boolean",
"description": "0未删除1已删除"
},
"isReply": {
"type": "boolean",
"description": "0未回复1已回复"
},
"merchantReplyContent": {
"type": "string",
"description": "管理员回复内容"
},
"merchantReplyTime": {
"type": "integer",
"format": "int32",
"description": "管理员回复时间"
},
"nickname": {
"type": "string",
"description": "用户名称"
},
"oid": {
"type": "integer",
"format": "int32",
"description": "订单ID"
},
"pics": {
"type": "string",
"description": "评论图片"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"productScore": {
"type": "integer",
"format": "int32",
"description": "商品分数"
},
"replyType": {
"type": "string",
"description": "某种商品类型(普通商品、秒杀商品)"
},
"serviceScore": {
"type": "integer",
"format": "int32",
"description": "服务分数"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户ID"
},
"unique": {
"type": "string",
"description": "商品 属性id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "StoreProductReply对象",
"description": "评论表",
"$$ref": "#/definitions/StoreProductReply对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«StoreProductReply对象»",
"$$ref": "#/definitions/CommonResult«StoreProductReply对象»"
}
}
}
}
},
"/api/admin/system/city/update": {
"post": {
"tags": [
"城市管理"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "名称",
"type": "string"
},
{
"name": "parentId",
"in": "query",
"required": false,
"description": "父级id",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/city/update/status": {
"post": {
"tags": [
"城市管理"
],
"summary": "修改状态",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "status",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/city/list": {
"get": {
"tags": [
"城市管理"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "parentId",
"in": "query",
"required": false,
"description": "父级id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/system/city/list/tree": {
"get": {
"tags": [
"城市管理"
],
"summary": "获取tree结构的列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/system/city/info": {
"get": {
"tags": [
"城市管理"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"areaCode": {
"type": "string",
"description": "区号"
},
"cityId": {
"type": "integer",
"format": "int32",
"description": "城市id"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32"
},
"isShow": {
"type": "boolean",
"description": "是否展示"
},
"lat": {
"type": "string",
"description": "纬度"
},
"level": {
"type": "integer",
"format": "int32",
"description": "省市级别"
},
"lng": {
"type": "string",
"description": "经度"
},
"mergerName": {
"type": "string",
"description": "合并名称"
},
"name": {
"type": "string",
"description": "名称"
},
"parentId": {
"type": "integer",
"format": "int32",
"description": "父级id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "SystemCity对象",
"description": "城市表",
"$$ref": "#/definitions/SystemCity对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemCity对象»",
"$$ref": "#/definitions/CommonResult«SystemCity对象»"
}
}
}
}
},
"/api/admin/store-service-log/list": {
"get": {
"tags": [
"客服用户对话记录表"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "toUid",
"in": "query",
"required": false,
"description": "接收人uid",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "发送人uid",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "添加时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "客服用户对话记录表ID"
},
"msn": {
"type": "string",
"description": "消息内容"
},
"msnType": {
"type": "boolean",
"description": "消息类型 1=文字 2=表情 3=图片 4=语音"
},
"remind": {
"type": "boolean",
"description": "是否提醒过"
},
"toUid": {
"type": "integer",
"format": "int32",
"description": "接收人uid"
},
"type": {
"type": "boolean",
"description": "是否已读(0:否;1:是;)"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "发送人uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "StoreServiceLog对象",
"description": "客服用户对话记录表",
"$$ref": "#/definitions/StoreServiceLog对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreServiceLog对象»",
"$$ref": "#/definitions/CommonPage«StoreServiceLog对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«StoreServiceLog对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«StoreServiceLog对象»»"
}
}
}
}
},
"/api/admin/store-service/update": {
"post": {
"tags": [
"客服表"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "客服表",
"schema": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "客服头像"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "添加时间"
},
"customer": {
"type": "boolean",
"description": "是否展示统计管理"
},
"id": {
"type": "integer",
"format": "int32",
"description": "客服id"
},
"nickname": {
"type": "string",
"description": "代理名称"
},
"notify": {
"type": "integer",
"format": "int32",
"description": "订单通知1开启0关闭"
},
"status": {
"type": "boolean",
"description": "0隐藏1显示"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "客服uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "StoreService对象",
"description": "客服表",
"$$ref": "#/definitions/StoreService对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store-service/list": {
"get": {
"tags": [
"客服表"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "客服头像"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "添加时间"
},
"customer": {
"type": "boolean",
"description": "是否展示统计管理"
},
"id": {
"type": "integer",
"format": "int32",
"description": "客服id"
},
"nickname": {
"type": "string",
"description": "代理名称"
},
"notify": {
"type": "integer",
"format": "int32",
"description": "订单通知1开启0关闭"
},
"status": {
"type": "boolean",
"description": "0隐藏1显示"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "客服uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "StoreService对象",
"description": "客服表",
"$$ref": "#/definitions/StoreService对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreService对象»",
"$$ref": "#/definitions/CommonPage«StoreService对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«StoreService对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«StoreService对象»»"
}
}
}
}
},
"/api/admin/store-service/delete": {
"get": {
"tags": [
"客服表"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store-service/save": {
"post": {
"tags": [
"客服表"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "客服表",
"schema": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "客服头像"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "添加时间"
},
"customer": {
"type": "boolean",
"description": "是否展示统计管理"
},
"id": {
"type": "integer",
"format": "int32",
"description": "客服id"
},
"nickname": {
"type": "string",
"description": "代理名称"
},
"notify": {
"type": "integer",
"format": "int32",
"description": "订单通知1开启0关闭"
},
"status": {
"type": "boolean",
"description": "0隐藏1显示"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "客服uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "StoreService对象",
"description": "客服表",
"$$ref": "#/definitions/StoreService对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store-service/info": {
"get": {
"tags": [
"客服表"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "客服头像"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "添加时间"
},
"customer": {
"type": "boolean",
"description": "是否展示统计管理"
},
"id": {
"type": "integer",
"format": "int32",
"description": "客服id"
},
"nickname": {
"type": "string",
"description": "代理名称"
},
"notify": {
"type": "integer",
"format": "int32",
"description": "订单通知1开启0关闭"
},
"status": {
"type": "boolean",
"description": "0隐藏1显示"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "客服uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "StoreService对象",
"description": "客服表",
"$$ref": "#/definitions/StoreService对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«StoreService对象»",
"$$ref": "#/definitions/CommonResult«StoreService对象»"
}
}
}
}
},
"/api/admin/export/excel/product": {
"get": {
"tags": [
"导出 -- Excel"
],
"summary": "产品",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "cateId",
"in": "query",
"required": false,
"description": "分类ID, 多个逗号分隔",
"type": "string"
},
{
"name": "isBenefit",
"in": "query",
"required": false,
"description": "是否优惠",
"type": "string"
},
{
"name": "isBest",
"in": "query",
"required": false,
"description": "是否精品",
"type": "string"
},
{
"name": "isGood",
"in": "query",
"required": false,
"description": "是否推荐",
"type": "string"
},
{
"name": "isHot",
"in": "query",
"required": false,
"description": "是否热卖",
"type": "string"
},
{
"name": "isNew",
"in": "query",
"required": false,
"description": "是否新品",
"type": "string"
},
{
"name": "isShow",
"in": "query",
"required": false,
"description": "状态(0:未上架,1:上架)",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "关键字搜索, 支持(商品名称, 商品简介, 关键字, 商品条码)",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站)",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "string",
"format": "binary",
"default": "OK"
}
}
}
}
},
"/api/admin/wechat/template/update/status/{id}": {
"post": {
"tags": [
"微信 -- 消息模版"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "status",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/template/update/{id}": {
"post": {
"tags": [
"微信 -- 消息模版"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "微信模板",
"schema": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "回复内容"
},
"name": {
"type": "string",
"description": "模板名"
},
"tempId": {
"type": "string",
"description": "模板ID"
},
"tempKey": {
"type": "string",
"description": "模板编号"
},
"type": {
"type": "boolean",
"description": "0=订阅消息,1=微信模板消息"
}
},
"title": "TemplateMessageRequest对象",
"description": "微信模板",
"$$ref": "#/definitions/TemplateMessageRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/template/list": {
"get": {
"tags": [
"微信 -- 消息模版"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "模板名",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态, 0 正常,1 禁用",
"type": "string"
},
{
"name": "tempId",
"in": "query",
"required": false,
"description": "模板ID",
"type": "string"
},
{
"name": "tempKey",
"in": "query",
"required": false,
"description": "模板编号",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型, 0 订阅消息, 1 模板消息",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "回复内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "添加时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "模板id"
},
"name": {
"type": "string",
"description": "模板名"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"tempId": {
"type": "string",
"description": "模板ID"
},
"tempKey": {
"type": "string",
"description": "模板编号"
},
"type": {
"type": "boolean",
"description": "0=订阅消息,1=微信模板消息"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "TemplateMessage对象",
"description": "微信模板",
"$$ref": "#/definitions/TemplateMessage对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«TemplateMessage对象»",
"$$ref": "#/definitions/CommonPage«TemplateMessage对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«TemplateMessage对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«TemplateMessage对象»»"
}
}
}
}
},
"/api/admin/wechat/template/delete/{id}": {
"get": {
"tags": [
"微信 -- 消息模版"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/template/save": {
"post": {
"tags": [
"微信 -- 消息模版"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "微信模板",
"schema": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "回复内容"
},
"name": {
"type": "string",
"description": "模板名"
},
"tempId": {
"type": "string",
"description": "模板ID"
},
"tempKey": {
"type": "string",
"description": "模板编号"
},
"type": {
"type": "boolean",
"description": "0=订阅消息,1=微信模板消息"
}
},
"title": "TemplateMessageRequest对象",
"description": "微信模板",
"$$ref": "#/definitions/TemplateMessageRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/template/industry": {
"get": {
"tags": [
"微信 -- 消息模版"
],
"summary": "行业信息",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"primaryIndustry": {
"type": "object",
"properties": {
"firstClass": {
"type": "string",
"description": "主行业"
},
"secondClass": {
"type": "string",
"description": "副行业"
}
},
"title": "TemplateMessageIndustryItemVo对象",
"description": "微信模板所属行业详情",
"$$ref": "#/definitions/TemplateMessageIndustryItemVo对象"
},
"secondaryIndustry": {
"type": "object",
"properties": {
"firstClass": {
"type": "string",
"description": "主行业"
},
"secondClass": {
"type": "string",
"description": "副行业"
}
},
"title": "TemplateMessageIndustryItemVo对象",
"description": "微信模板所属行业详情",
"$$ref": "#/definitions/TemplateMessageIndustryItemVo对象"
}
},
"title": "TemplateMessageIndustryVo对象",
"description": "微信模板所属行业",
"$$ref": "#/definitions/TemplateMessageIndustryVo对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«TemplateMessageIndustryVo对象»",
"$$ref": "#/definitions/CommonResult«TemplateMessageIndustryVo对象»"
}
}
}
}
},
"/api/admin/wechat/template/info/{id}": {
"get": {
"tags": [
"微信 -- 消息模版"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "回复内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "添加时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "模板id"
},
"name": {
"type": "string",
"description": "模板名"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"tempId": {
"type": "string",
"description": "模板ID"
},
"tempKey": {
"type": "string",
"description": "模板编号"
},
"type": {
"type": "boolean",
"description": "0=订阅消息,1=微信模板消息"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "TemplateMessage对象",
"description": "微信模板",
"$$ref": "#/definitions/TemplateMessage对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«TemplateMessage对象»",
"$$ref": "#/definitions/CommonResult«TemplateMessage对象»"
}
}
}
}
},
"/api/admin/wechat/routine/access/token/update": {
"post": {
"tags": [
"微信开放平台 -- 小程序access_token"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "accessToken",
"in": "query",
"required": false,
"description": "openid",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "stopTime",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/routine/access/token/list": {
"get": {
"tags": [
"微信开放平台 -- 小程序access_token"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "accessToken",
"in": "query",
"required": false,
"description": "openid",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"accessToken": {
"type": "string",
"description": "openid"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "小程序access_token表ID"
},
"stopTime": {
"type": "integer",
"format": "int32",
"description": "添加时间"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "RoutineAccessToken对象",
"description": "小程序access_token表",
"$$ref": "#/definitions/RoutineAccessToken对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«RoutineAccessToken对象»",
"$$ref": "#/definitions/CommonPage«RoutineAccessToken对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«RoutineAccessToken对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«RoutineAccessToken对象»»"
}
}
}
}
},
"/api/admin/wechat/routine/access/token/delete": {
"get": {
"tags": [
"微信开放平台 -- 小程序access_token"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/routine/access/token/save": {
"post": {
"tags": [
"微信开放平台 -- 小程序access_token"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "accessToken",
"in": "query",
"required": false,
"description": "openid",
"type": "string"
},
{
"name": "stopTime",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/routine/access/token/info": {
"get": {
"tags": [
"微信开放平台 -- 小程序access_token"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"accessToken": {
"type": "string",
"description": "openid"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "小程序access_token表ID"
},
"stopTime": {
"type": "integer",
"format": "int32",
"description": "添加时间"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "RoutineAccessToken对象",
"description": "小程序access_token表",
"$$ref": "#/definitions/RoutineAccessToken对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«RoutineAccessToken对象»",
"$$ref": "#/definitions/CommonResult«RoutineAccessToken对象»"
}
}
}
}
},
"/api/admin/wechat/routine/qrcode/update": {
"post": {
"tags": [
"微信开放平台 -- 小程序二维码管理"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "小程序页面路径带参数",
"type": "string"
},
{
"name": "qrcodeUrl",
"in": "query",
"required": false,
"description": "小程序二维码路径",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态 0不可用 1可用",
"type": "string"
},
{
"name": "thirdId",
"in": "query",
"required": false,
"description": "用户id",
"type": "string"
},
{
"name": "thirdType",
"in": "query",
"required": false,
"description": "二维码类型 spread(用户推广) product_spread(商品推广)",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/routine/qrcode/list": {
"get": {
"tags": [
"微信开放平台 -- 小程序二维码管理"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "微信二维码ID",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "小程序页面路径带参数",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "qrcodeUrl",
"in": "query",
"required": false,
"description": "小程序二维码路径",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态 0不可用 1可用",
"type": "string"
},
{
"name": "thirdId",
"in": "query",
"required": false,
"description": "用户id",
"type": "string"
},
{
"name": "thirdType",
"in": "query",
"required": false,
"description": "二维码类型 spread(用户推广) product_spread(商品推广)",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"addTime": {
"type": "string",
"description": "添加时间"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "微信二维码ID"
},
"page": {
"type": "string",
"description": "小程序页面路径带参数"
},
"qrcodeUrl": {
"type": "string",
"description": "小程序二维码路径"
},
"status": {
"type": "boolean",
"description": "状态 0不可用 1可用"
},
"thirdId": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"thirdType": {
"type": "string",
"description": "二维码类型 spread(用户推广) product_spread(商品推广)"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "RoutineQrcode对象",
"description": "小程序二维码管理表",
"$$ref": "#/definitions/RoutineQrcode对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«RoutineQrcode对象»",
"$$ref": "#/definitions/CommonPage«RoutineQrcode对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«RoutineQrcode对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«RoutineQrcode对象»»"
}
}
}
}
},
"/api/admin/wechat/routine/qrcode/delete": {
"get": {
"tags": [
"微信开放平台 -- 小程序二维码管理"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/routine/qrcode/save": {
"post": {
"tags": [
"微信开放平台 -- 小程序二维码管理"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "page",
"in": "query",
"required": false,
"description": "小程序页面路径带参数",
"type": "string"
},
{
"name": "qrcodeUrl",
"in": "query",
"required": false,
"description": "小程序二维码路径",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态 0不可用 1可用",
"type": "string"
},
{
"name": "thirdId",
"in": "query",
"required": false,
"description": "用户id",
"type": "string"
},
{
"name": "thirdType",
"in": "query",
"required": false,
"description": "二维码类型 spread(用户推广) product_spread(商品推广)",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/routine/qrcode/info": {
"get": {
"tags": [
"微信开放平台 -- 小程序二维码管理"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"addTime": {
"type": "string",
"description": "添加时间"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "微信二维码ID"
},
"page": {
"type": "string",
"description": "小程序页面路径带参数"
},
"qrcodeUrl": {
"type": "string",
"description": "小程序二维码路径"
},
"status": {
"type": "boolean",
"description": "状态 0不可用 1可用"
},
"thirdId": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"thirdType": {
"type": "string",
"description": "二维码类型 spread(用户推广) product_spread(商品推广)"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "RoutineQrcode对象",
"description": "小程序二维码管理表",
"$$ref": "#/definitions/RoutineQrcode对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«RoutineQrcode对象»",
"$$ref": "#/definitions/CommonResult«RoutineQrcode对象»"
}
}
}
}
},
"/api/admin/wechat/qrcode/update": {
"post": {
"tags": [
"微信开放平台 -- 微信二维码管理"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
},
{
"name": "expireSeconds",
"in": "query",
"required": false,
"description": "二维码有效时间",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "qrcodeUrl",
"in": "query",
"required": false,
"description": "微信二维码url",
"type": "string"
},
{
"name": "scan",
"in": "query",
"required": false,
"description": "被扫的次数",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
},
{
"name": "thirdId",
"in": "query",
"required": false,
"description": "用户id",
"type": "string"
},
{
"name": "thirdType",
"in": "query",
"required": false,
"description": "二维码类型",
"type": "string"
},
{
"name": "ticket",
"in": "query",
"required": false,
"description": "二维码参数",
"type": "string"
},
{
"name": "url",
"in": "query",
"required": false,
"description": "微信访问url",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/qrcode/list": {
"get": {
"tags": [
"微信开放平台 -- 微信二维码管理"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
},
{
"name": "expireSeconds",
"in": "query",
"required": false,
"description": "二维码有效时间",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "qrcodeUrl",
"in": "query",
"required": false,
"description": "微信二维码url",
"type": "string"
},
{
"name": "scan",
"in": "query",
"required": false,
"description": "被扫的次数",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
},
{
"name": "thirdId",
"in": "query",
"required": false,
"description": "用户id",
"type": "string"
},
{
"name": "thirdType",
"in": "query",
"required": false,
"description": "二维码类型",
"type": "string"
},
{
"name": "ticket",
"in": "query",
"required": false,
"description": "二维码参数",
"type": "string"
},
{
"name": "url",
"in": "query",
"required": false,
"description": "微信访问url",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"expireSeconds": {
"type": "integer",
"format": "int32",
"description": "二维码有效时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "微信二维码ID"
},
"qrcodeUrl": {
"type": "string",
"description": "微信二维码url"
},
"scan": {
"type": "integer",
"format": "int32",
"description": "被扫的次数"
},
"status": {
"type": "boolean",
"description": "状态"
},
"thirdId": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"thirdType": {
"type": "string",
"description": "二维码类型"
},
"ticket": {
"type": "string",
"description": "二维码参数"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
},
"url": {
"type": "string",
"description": "微信访问url"
}
},
"title": "WechatQrcode对象",
"description": "微信二维码管理表",
"$$ref": "#/definitions/WechatQrcode对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«WechatQrcode对象»",
"$$ref": "#/definitions/CommonPage«WechatQrcode对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«WechatQrcode对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«WechatQrcode对象»»"
}
}
}
}
},
"/api/admin/wechat/qrcode/delete": {
"get": {
"tags": [
"微信开放平台 -- 微信二维码管理"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/qrcode/save": {
"post": {
"tags": [
"微信开放平台 -- 微信二维码管理"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
},
{
"name": "expireSeconds",
"in": "query",
"required": false,
"description": "二维码有效时间",
"type": "string"
},
{
"name": "qrcodeUrl",
"in": "query",
"required": false,
"description": "微信二维码url",
"type": "string"
},
{
"name": "scan",
"in": "query",
"required": false,
"description": "被扫的次数",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
},
{
"name": "thirdId",
"in": "query",
"required": false,
"description": "用户id",
"type": "string"
},
{
"name": "thirdType",
"in": "query",
"required": false,
"description": "二维码类型",
"type": "string"
},
{
"name": "ticket",
"in": "query",
"required": false,
"description": "二维码参数",
"type": "string"
},
{
"name": "url",
"in": "query",
"required": false,
"description": "微信访问url",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/qrcode/info": {
"get": {
"tags": [
"微信开放平台 -- 微信二维码管理"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"expireSeconds": {
"type": "integer",
"format": "int32",
"description": "二维码有效时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "微信二维码ID"
},
"qrcodeUrl": {
"type": "string",
"description": "微信二维码url"
},
"scan": {
"type": "integer",
"format": "int32",
"description": "被扫的次数"
},
"status": {
"type": "boolean",
"description": "状态"
},
"thirdId": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"thirdType": {
"type": "string",
"description": "二维码类型"
},
"ticket": {
"type": "string",
"description": "二维码参数"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
},
"url": {
"type": "string",
"description": "微信访问url"
}
},
"title": "WechatQrcode对象",
"description": "微信二维码管理表",
"$$ref": "#/definitions/WechatQrcode对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«WechatQrcode对象»",
"$$ref": "#/definitions/CommonResult«WechatQrcode对象»"
}
}
}
}
},
"/api/admin/wechat/keywords/reply/update": {
"post": {
"tags": [
"微信开放平台 -- 微信关键字回复"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "微信关键字回复表",
"schema": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "回复数据"
},
"keywords": {
"type": "string",
"description": "关键字"
},
"status": {
"type": "boolean",
"example": false,
"description": "回复状态 0=不可用 1 =可用"
},
"type": {
"type": "string",
"example": "text",
"description": "回复类型 text=文本 image =图片 news =图文 voice =音频"
}
},
"title": "WechatReplyRequest对象",
"description": "微信关键字回复表",
"$$ref": "#/definitions/WechatReplyRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/keywords/reply/list": {
"get": {
"tags": [
"微信开放平台 -- 微信关键字回复"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "keywords",
"in": "query",
"required": false,
"description": "关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "回复类型 text=文本 image =图片 news =图文 voice =音频",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"data": {
"type": "string",
"description": "回复数据"
},
"id": {
"type": "integer",
"format": "int32",
"description": "微信关键字回复id"
},
"keywords": {
"type": "string",
"description": "关键字"
},
"status": {
"type": "boolean",
"description": "0=不可用 1 =可用"
},
"type": {
"type": "string",
"description": "回复类型"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "WechatReply对象",
"description": "微信关键字回复表",
"$$ref": "#/definitions/WechatReply对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«WechatReply对象»",
"$$ref": "#/definitions/CommonPage«WechatReply对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«WechatReply对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«WechatReply对象»»"
}
}
}
}
},
"/api/admin/wechat/keywords/reply/delete": {
"get": {
"tags": [
"微信开放平台 -- 微信关键字回复"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/keywords/reply/save": {
"post": {
"tags": [
"微信开放平台 -- 微信关键字回复"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "微信关键字回复表",
"schema": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "回复数据"
},
"keywords": {
"type": "string",
"description": "关键字"
},
"status": {
"type": "boolean",
"example": false,
"description": "回复状态 0=不可用 1 =可用"
},
"type": {
"type": "string",
"example": "text",
"description": "回复类型 text=文本 image =图片 news =图文 voice =音频"
}
},
"title": "WechatReplyRequest对象",
"description": "微信关键字回复表",
"$$ref": "#/definitions/WechatReplyRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/keywords/reply/info/keywords": {
"get": {
"tags": [
"微信开放平台 -- 微信关键字回复"
],
"summary": "根据关键字查询数据",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "keywords",
"in": "query",
"required": false,
"description": "keywords",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"data": {
"type": "string",
"description": "回复数据"
},
"id": {
"type": "integer",
"format": "int32",
"description": "微信关键字回复id"
},
"keywords": {
"type": "string",
"description": "关键字"
},
"status": {
"type": "boolean",
"description": "0=不可用 1 =可用"
},
"type": {
"type": "string",
"description": "回复类型"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "WechatReply对象",
"description": "微信关键字回复表",
"$$ref": "#/definitions/WechatReply对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«WechatReply对象»",
"$$ref": "#/definitions/CommonResult«WechatReply对象»"
}
}
}
}
},
"/api/admin/wechat/keywords/reply/status": {
"post": {
"tags": [
"微信开放平台 -- 微信关键字回复"
],
"summary": "状态",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "status",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/keywords/reply/info": {
"get": {
"tags": [
"微信开放平台 -- 微信关键字回复"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"data": {
"type": "string",
"description": "回复数据"
},
"id": {
"type": "integer",
"format": "int32",
"description": "微信关键字回复id"
},
"keywords": {
"type": "string",
"description": "关键字"
},
"status": {
"type": "boolean",
"description": "0=不可用 1 =可用"
},
"type": {
"type": "string",
"description": "回复类型"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "WechatReply对象",
"description": "微信关键字回复表",
"$$ref": "#/definitions/WechatReply对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«WechatReply对象»",
"$$ref": "#/definitions/CommonResult«WechatReply对象»"
}
}
}
}
},
"/api/admin/wechat/user/push": {
"get": {
"tags": [
"微信开放平台 -- 微信用户"
],
"summary": "消息推送",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "newsId",
"in": "query",
"required": false,
"description": "newsId",
"type": "string"
},
{
"name": "userId",
"in": "query",
"required": false,
"description": "userId",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«boolean»",
"$$ref": "#/definitions/CommonResult«boolean»"
}
}
}
}
},
"/api/admin/wechat/user/tags/update": {
"post": {
"tags": [
"微信开放平台 -- 微信用户标签"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "标签ID",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "标签名称",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/user/tags/list": {
"get": {
"tags": [
"微信开放平台 -- 微信用户标签"
],
"summary": "列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "isAsync",
"in": "query",
"required": false,
"description": "是否同步微信数据, true是,false否",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/wechat/user/tags/create": {
"post": {
"tags": [
"微信开放平台 -- 微信用户标签"
],
"summary": "创建",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "name",
"in": "query",
"required": false,
"description": "标签名称",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/user/tags/delete": {
"get": {
"tags": [
"微信开放平台 -- 微信用户标签"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "标签ID",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/user/tags/memberBatchUnTags": {
"post": {
"tags": [
"微信开放平台 -- 微信用户标签"
],
"summary": "批量为用户取消标签",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "标签ID",
"type": "string"
},
{
"name": "openIdList",
"in": "query",
"required": false,
"description": "用户openId数组",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/user/tags/memberBatchTags": {
"post": {
"tags": [
"微信开放平台 -- 微信用户标签"
],
"summary": "批量为用户打标签",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "标签ID",
"type": "string"
},
{
"name": "openIdList",
"in": "query",
"required": false,
"description": "用户openId数组",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/user/tags/getUserListById": {
"get": {
"tags": [
"微信开放平台 -- 微信用户标签"
],
"summary": "获取标签下粉丝列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "标签ID",
"type": "string"
},
{
"name": "nextOpenId",
"in": "query",
"required": false,
"description": "第一个拉取的OPENID,不填默认从头开始拉取",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/user/tags/getTagsListByUserId": {
"get": {
"tags": [
"微信开放平台 -- 微信用户标签"
],
"summary": "获取用户身上的标签列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "isAsync",
"in": "query",
"required": false,
"description": "是否同步微信数据, true是,false否",
"type": "string"
},
{
"name": "openId",
"in": "query",
"required": false,
"description": "用户openId",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/wechat/user/log/update": {
"post": {
"tags": [
"微信开放平台 -- 用户行为记录"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "操作时间",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "openid",
"in": "query",
"required": false,
"description": "用户openid",
"type": "string"
},
{
"name": "result",
"in": "query",
"required": false,
"description": "操作详细记录",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "操作类型",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/user/log/list": {
"get": {
"tags": [
"微信开放平台 -- 用户行为记录"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "操作时间",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "openid",
"in": "query",
"required": false,
"description": "用户openid",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "result",
"in": "query",
"required": false,
"description": "操作详细记录",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "操作类型",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "用户行为记录id"
},
"openid": {
"type": "string",
"description": "用户openid"
},
"result": {
"type": "string",
"description": "操作详细记录"
},
"type": {
"type": "string",
"description": "操作类型"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "WechatMessage对象",
"description": "用户行为记录表",
"$$ref": "#/definitions/WechatMessage对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«WechatMessage对象»",
"$$ref": "#/definitions/CommonPage«WechatMessage对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«WechatMessage对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«WechatMessage对象»»"
}
}
}
}
},
"/api/admin/wechat/user/log/delete": {
"get": {
"tags": [
"微信开放平台 -- 用户行为记录"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/user/log/save": {
"post": {
"tags": [
"微信开放平台 -- 用户行为记录"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "操作时间",
"type": "string"
},
{
"name": "openid",
"in": "query",
"required": false,
"description": "用户openid",
"type": "string"
},
{
"name": "result",
"in": "query",
"required": false,
"description": "操作详细记录",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "操作类型",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/user/log/info": {
"get": {
"tags": [
"微信开放平台 -- 用户行为记录"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "用户行为记录id"
},
"openid": {
"type": "string",
"description": "用户openid"
},
"result": {
"type": "string",
"description": "操作详细记录"
},
"type": {
"type": "string",
"description": "操作类型"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "WechatMessage对象",
"description": "用户行为记录表",
"$$ref": "#/definitions/WechatMessage对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«WechatMessage对象»",
"$$ref": "#/definitions/CommonResult«WechatMessage对象»"
}
}
}
}
},
"/api/admin/wechat/media/upload": {
"post": {
"tags": [
"微信开放平台 -- 素材"
],
"summary": "上传",
"consumes": [
"multipart/form-data"
],
"parameters": [
{
"name": "type",
"in": "query",
"required": false,
"description": "媒体文件类型,分别有图片(image)、语音(voice",
"type": "string"
},
{
"name": "media",
"in": "formData",
"required": false,
"description": "待上传素材图片文件",
"type": "file"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Map«string,string»»",
"$$ref": "#/definitions/CommonResult«Map«string,string»»"
}
}
}
}
},
"/api/admin/wechat/media/get": {
"get": {
"tags": [
"微信开放平台 -- 素材"
],
"summary": "根据素材id查询素材",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "mediaId",
"in": "query",
"required": false,
"description": "mediaId",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Map«string,object»»",
"$$ref": "#/definitions/CommonResult«Map«string,object»»"
}
}
}
}
},
"/api/admin/wechat/menu/public/self/create": {
"post": {
"tags": [
"微信开放平台 -- 菜单管理"
],
"summary": "保存个性化菜单",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/menu/public/create": {
"post": {
"tags": [
"微信开放平台 -- 菜单管理"
],
"summary": "保存自定义菜单",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/menu/public/self/delete": {
"get": {
"tags": [
"微信开放平台 -- 菜单管理"
],
"summary": "删除个性化菜单",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "menuId",
"in": "query",
"required": false,
"description": "菜单ID",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/menu/public/delete": {
"get": {
"tags": [
"微信开放平台 -- 菜单管理"
],
"summary": "删除自定义菜单",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/wechat/menu/public/self/get": {
"get": {
"tags": [
"微信开放平台 -- 菜单管理"
],
"summary": "获取个性化菜单",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "isAsync",
"in": "query",
"required": false,
"description": "是否同步微信数据, true是,false否",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/wechat/menu/public/get": {
"get": {
"tags": [
"微信开放平台 -- 菜单管理"
],
"summary": "获取自定义菜单",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "isAsync",
"in": "query",
"required": false,
"description": "是否同步微信数据, true是,false否",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/wechat/routine/form/update": {
"post": {
"tags": [
"微信开放平台 -- 表单id表记录"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "formId",
"in": "query",
"required": false,
"description": "表单ID",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态1 未使用 2不能使用",
"type": "string"
},
{
"name": "stopTime",
"in": "query",
"required": false,
"description": "表单ID失效时间",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "用户uid",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/routine/form/list": {
"get": {
"tags": [
"微信开放平台 -- 表单id表记录"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "formId",
"in": "query",
"required": false,
"description": "表单ID",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态1 未使用 2不能使用",
"type": "string"
},
{
"name": "stopTime",
"in": "query",
"required": false,
"description": "表单ID失效时间",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "用户uid",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"formId": {
"type": "string",
"description": "表单ID"
},
"id": {
"type": "integer",
"format": "int32",
"description": "表单ID表ID"
},
"status": {
"type": "boolean",
"description": "状态1 未使用 2不能使用"
},
"stopTime": {
"type": "integer",
"format": "int32",
"description": "表单ID失效时间"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "RoutineFormId对象",
"description": "表单id表记录表",
"$$ref": "#/definitions/RoutineFormId对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«RoutineFormId对象»",
"$$ref": "#/definitions/CommonPage«RoutineFormId对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«RoutineFormId对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«RoutineFormId对象»»"
}
}
}
}
},
"/api/admin/wechat/routine/form/delete": {
"get": {
"tags": [
"微信开放平台 -- 表单id表记录"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/routine/form/save": {
"post": {
"tags": [
"微信开放平台 -- 表单id表记录"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "formId",
"in": "query",
"required": false,
"description": "表单ID",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态1 未使用 2不能使用",
"type": "string"
},
{
"name": "stopTime",
"in": "query",
"required": false,
"description": "表单ID失效时间",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "用户uid",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/wechat/routine/form/info": {
"get": {
"tags": [
"微信开放平台 -- 表单id表记录"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"formId": {
"type": "string",
"description": "表单ID"
},
"id": {
"type": "integer",
"format": "int32",
"description": "表单ID表ID"
},
"status": {
"type": "boolean",
"description": "状态1 未使用 2不能使用"
},
"stopTime": {
"type": "integer",
"format": "int32",
"description": "表单ID失效时间"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "RoutineFormId对象",
"description": "表单id表记录表",
"$$ref": "#/definitions/RoutineFormId对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«RoutineFormId对象»",
"$$ref": "#/definitions/CommonResult«RoutineFormId对象»"
}
}
}
}
},
"/api/admin/payment/callback/wechat": {
"post": {
"tags": [
"支付回调"
],
"summary": "微信支付回调",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "string",
"format": "binary",
"default": "OK"
}
}
}
}
},
"/api/admin/payment/callback/alipay": {
"post": {
"tags": [
"支付回调"
],
"summary": "支付宝支付回调 ",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "string",
"format": "binary",
"default": "OK"
}
}
}
}
},
"/api/admin/article/update": {
"post": {
"tags": [
"文章管理"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "文章ID",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "文章管理表",
"schema": {
"type": "object",
"required": [
"author",
"cid",
"content",
"imageInput",
"shareSynopsis",
"shareTitle",
"sort",
"synopsis",
"title"
],
"properties": {
"author": {
"type": "string",
"description": "文章作者"
},
"cid": {
"type": "string",
"description": "分类id"
},
"content": {
"type": "string",
"description": "文章内容"
},
"imageInput": {
"type": "string",
"description": "文章图片"
},
"isBanner": {
"type": "boolean",
"example": true,
"description": "是否轮播图(小程序)"
},
"isHot": {
"type": "boolean",
"example": false,
"description": "是否热门(小程序)"
},
"shareSynopsis": {
"type": "string",
"description": "文章分享简介"
},
"shareTitle": {
"type": "string",
"description": "文章分享标题"
},
"sort": {
"type": "integer",
"format": "int32",
"example": 0,
"description": "排序"
},
"synopsis": {
"type": "string",
"description": "文章简介"
},
"title": {
"type": "string",
"description": "文章标题"
},
"url": {
"type": "string",
"description": "原文链接"
}
},
"title": "ArticleRequest对象",
"description": "文章管理表",
"$$ref": "#/definitions/ArticleRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/article/list": {
"get": {
"tags": [
"文章管理"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "cid",
"in": "query",
"required": false,
"description": "分类id",
"type": "string"
},
{
"name": "hide",
"in": "query",
"required": false,
"description": "是否隐藏",
"type": "string"
},
{
"name": "isBanner",
"in": "query",
"required": false,
"description": "是否轮播图(小程序)",
"type": "string"
},
{
"name": "isHaveMediaId",
"in": "query",
"required": false,
"description": "是否有微信素材媒体id",
"type": "string"
},
{
"name": "isHot",
"in": "query",
"required": false,
"description": "是否热门(小程序)",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"adminId": {
"type": "integer",
"format": "int32",
"description": "管理员id"
},
"author": {
"type": "string",
"description": "文章作者"
},
"categoryName": {
"type": "string",
"description": "分类"
},
"cid": {
"type": "string",
"description": "分类id"
},
"content": {
"type": "string",
"description": "文章内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"hide": {
"type": "boolean",
"description": "是否隐藏"
},
"id": {
"type": "integer",
"format": "int32",
"description": "文章管理ID"
},
"imageInput": {
"type": "array",
"description": "文章图片 前端用",
"items": {
"type": "string"
}
},
"imageInputs": {
"type": "string",
"description": "文章图片 后端用"
},
"isBanner": {
"type": "boolean",
"description": "是否轮播图(小程序)"
},
"isHot": {
"type": "boolean",
"description": "是否热门(小程序)"
},
"mediaId": {
"type": "string",
"description": "微信素材媒体id"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户id"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品关联id"
},
"shareSynopsis": {
"type": "string",
"description": "文章分享简介"
},
"shareTitle": {
"type": "string",
"description": "文章分享标题"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态"
},
"synopsis": {
"type": "string",
"description": "文章简介"
},
"title": {
"type": "string",
"description": "文章标题"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"url": {
"type": "string",
"description": "原文链接"
},
"visit": {
"type": "string",
"description": "浏览次数"
}
},
"title": "ArticleVo对象",
"description": "文章管理表",
"$$ref": "#/definitions/ArticleVo对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«ArticleVo对象»",
"$$ref": "#/definitions/CommonPage«ArticleVo对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«ArticleVo对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«ArticleVo对象»»"
}
}
}
}
},
"/api/admin/article/delete": {
"get": {
"tags": [
"文章管理"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "文章ID",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/article/save": {
"post": {
"tags": [
"文章管理"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "文章管理表",
"schema": {
"type": "object",
"required": [
"author",
"cid",
"content",
"imageInput",
"shareSynopsis",
"shareTitle",
"sort",
"synopsis",
"title"
],
"properties": {
"author": {
"type": "string",
"description": "文章作者"
},
"cid": {
"type": "string",
"description": "分类id"
},
"content": {
"type": "string",
"description": "文章内容"
},
"imageInput": {
"type": "string",
"description": "文章图片"
},
"isBanner": {
"type": "boolean",
"example": true,
"description": "是否轮播图(小程序)"
},
"isHot": {
"type": "boolean",
"example": false,
"description": "是否热门(小程序)"
},
"shareSynopsis": {
"type": "string",
"description": "文章分享简介"
},
"shareTitle": {
"type": "string",
"description": "文章分享标题"
},
"sort": {
"type": "integer",
"format": "int32",
"example": 0,
"description": "排序"
},
"synopsis": {
"type": "string",
"description": "文章简介"
},
"title": {
"type": "string",
"description": "文章标题"
},
"url": {
"type": "string",
"description": "原文链接"
}
},
"title": "ArticleRequest对象",
"description": "文章管理表",
"$$ref": "#/definitions/ArticleRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/article/bind/product": {
"post": {
"tags": [
"文章管理"
],
"summary": "绑定产品",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "文章ID",
"type": "string"
},
{
"name": "productId",
"in": "query",
"required": false,
"description": "产品id",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/article/info": {
"get": {
"tags": [
"文章管理"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "文章ID",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"adminId": {
"type": "integer",
"format": "int32",
"description": "管理员id"
},
"author": {
"type": "string",
"description": "文章作者"
},
"cid": {
"type": "string",
"description": "分类id"
},
"content": {
"type": "string",
"description": "文章内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"hide": {
"type": "boolean",
"description": "是否隐藏"
},
"id": {
"type": "integer",
"format": "int32",
"description": "文章管理ID"
},
"imageInput": {
"type": "string",
"description": "文章图片"
},
"isBanner": {
"type": "boolean",
"description": "是否轮播图(小程序)"
},
"isHot": {
"type": "boolean",
"description": "是否热门(小程序)"
},
"mediaId": {
"type": "string",
"description": "微信素材id"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户id"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品关联id"
},
"shareSynopsis": {
"type": "string",
"description": "文章分享简介"
},
"shareTitle": {
"type": "string",
"description": "文章分享标题"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态"
},
"synopsis": {
"type": "string",
"description": "文章简介"
},
"title": {
"type": "string",
"description": "文章标题"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"url": {
"type": "string",
"description": "原文链接"
},
"visit": {
"type": "string",
"description": "浏览次数"
}
},
"title": "Article对象",
"description": "文章管理表",
"$$ref": "#/definitions/Article对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Article对象»",
"$$ref": "#/definitions/CommonResult«Article对象»"
}
}
}
}
},
"/api/admin/sms/sendCode": {
"post": {
"tags": [
"短信服务"
],
"summary": " 发送短信",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "phone",
"in": "query",
"required": false,
"description": "手机号码",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/sms/sendCodeForRegister/{phone}": {
"get": {
"tags": [
"短信服务"
],
"summary": "sendCodeForRegister",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "phone",
"in": "path",
"description": "phone",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/sms/login": {
"get": {
"tags": [
"短信服务"
],
"summary": "信息登录",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "account",
"in": "query",
"required": false,
"description": "账号",
"type": "string"
},
{
"name": "token",
"in": "query",
"required": false,
"description": "smsToken",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/sms/islogin": {
"get": {
"tags": [
"短信服务"
],
"summary": "是否已经登录",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/sms/logout": {
"get": {
"tags": [
"短信服务"
],
"summary": "注销",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/sms/temp/apply": {
"post": {
"tags": [
"短信服务"
],
"summary": "申请模板消息",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "content",
"in": "query",
"required": false,
"description": "内容",
"type": "string"
},
{
"name": "title",
"in": "query",
"required": false,
"description": "主题",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "type (1=验证码 2=通知 3=推广)",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/sms/record/list": {
"get": {
"tags": [
"短信服务"
],
"summary": "短信发送记录列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "phone",
"in": "query",
"required": false,
"description": "接受短信的手机号",
"type": "string"
},
{
"name": "recordId",
"in": "query",
"required": false,
"description": "发送记录id",
"type": "string"
},
{
"name": "resultCode",
"in": "query",
"required": false,
"description": "状态码 null=全部,100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态, 134=无状态, 400黑名单",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "短信平台账号",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"addIp": {
"type": "string",
"description": "添加记录ip"
},
"content": {
"type": "string",
"description": "短信内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "短信发送记录编号"
},
"memo": {
"type": "string",
"description": "备注"
},
"phone": {
"type": "string",
"description": "接受短信的手机号"
},
"recordId": {
"type": "integer",
"format": "int32",
"description": "发送记录id"
},
"resultcode": {
"type": "integer",
"format": "int32",
"description": "状态码 100=成功,130=失败,131=空号,132=停机,133=关机,134=无状态"
},
"template": {
"type": "string",
"description": "短信模板ID"
},
"uid": {
"type": "string",
"description": "短信平台账号"
}
},
"title": "SmsRecord对象",
"description": "短信发送记录表",
"$$ref": "#/definitions/SmsRecord对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SmsRecord对象»",
"$$ref": "#/definitions/CommonPage«SmsRecord对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SmsRecord对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SmsRecord对象»»"
}
}
}
}
},
"/api/admin/sms/config/save": {
"post": {
"tags": [
"短信服务"
],
"summary": "短信提醒开关保存",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "adminConfirmTakeOverSwitch",
"in": "query",
"required": false,
"description": "用户发起退款管理员短信提醒",
"type": "string"
},
{
"name": "adminLowerOrderSwitch",
"in": "query",
"required": false,
"description": "用户下单管理员短信提醒",
"type": "string"
},
{
"name": "adminPaySuccessSwitch",
"in": "query",
"required": false,
"description": "支付成功管理员短信提醒",
"type": "string"
},
{
"name": "adminRefundSwitch",
"in": "query",
"required": false,
"description": "用户确认收货管理员短信提醒",
"type": "string"
},
{
"name": "confirmTakeOverSwitch",
"in": "query",
"required": false,
"description": "确认收货短信提醒",
"type": "string"
},
{
"name": "deliverGoodsSwitch",
"in": "query",
"required": false,
"description": "发货短信提醒",
"type": "string"
},
{
"name": "lowerOrderSwitch",
"in": "query",
"required": false,
"description": "支付成功短信提醒",
"type": "string"
},
{
"name": "priceRevisionSwitch",
"in": "query",
"required": false,
"description": "改价短信提醒",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/sms/config/list": {
"post": {
"tags": [
"短信服务"
],
"summary": "短信提醒开关列表",
"consumes": [
"application/json"
],
"parameters": [],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/sms/temp/list": {
"get": {
"tags": [
"短信服务"
],
"summary": "短信模板列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
},
{
"name": "title",
"in": "query",
"required": false,
"description": "名称",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/sms/info": {
"get": {
"tags": [
"短信服务"
],
"summary": "短信用户信息",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/sms/pay/list": {
"get": {
"tags": [
"短信服务"
],
"summary": "获取支付套餐列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/sms/pay/qrCode": {
"get": {
"tags": [
"短信服务"
],
"summary": "获取支付码",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "mealId",
"in": "query",
"required": false,
"description": "套餐id",
"type": "string"
},
{
"name": "payType",
"in": "query",
"required": false,
"description": "支付类型 weixin:微信支付/alipay:支付宝支付",
"type": "string"
},
{
"name": "price",
"in": "query",
"required": false,
"description": "价格",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/sms/register": {
"post": {
"tags": [
"短信服务"
],
"summary": "账号注册",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "account",
"in": "query",
"required": false,
"description": "账号",
"type": "string"
},
{
"name": "code",
"in": "query",
"required": false,
"description": "验证码",
"type": "string"
},
{
"name": "domain",
"in": "query",
"required": false,
"description": "域名",
"type": "string"
},
{
"name": "password",
"in": "query",
"required": false,
"description": "密码",
"type": "string"
},
{
"name": "phone",
"in": "query",
"required": false,
"description": "手机号",
"type": "string"
},
{
"name": "sign",
"in": "query",
"required": false,
"description": "签名",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«JSONObject»",
"$$ref": "#/definitions/CommonResult«JSONObject»"
}
}
}
}
},
"/api/admin/statistics/home/chart/order": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "30天订单量趋势",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Map«string,object»»",
"$$ref": "#/definitions/CommonResult«Map«string,object»»"
}
}
}
}
},
"/api/admin/statistics/home/chart/order/week": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "周订单量趋势",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Map«string,object»»",
"$$ref": "#/definitions/CommonResult«Map«string,object»»"
}
}
}
}
},
"/api/admin/statistics/home/chart/order/year": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "年订单量趋势",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Map«string,object»»",
"$$ref": "#/definitions/CommonResult«Map«string,object»»"
}
}
}
}
},
"/api/admin/statistics/home/user": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "新增用户",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"count": {
"type": "object",
"description": "昨日新增量"
},
"dayRate": {
"type": "object",
"description": "日同比率"
},
"total": {
"type": "object",
"description": "总数"
},
"weekRate": {
"type": "object",
"description": "周同比率"
}
},
"title": "HomeRateResponse对象",
"description": "主页用户新增统计",
"$$ref": "#/definitions/HomeRateResponse对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«HomeRateResponse对象»",
"$$ref": "#/definitions/CommonResult«HomeRateResponse对象»"
}
}
}
}
},
"/api/admin/statistics/home/chart/order/month": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "月订单量趋势",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Map«string,object»»",
"$$ref": "#/definitions/CommonResult«Map«string,object»»"
}
}
}
}
},
"/api/admin/statistics/home/chart/user": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "用户曲线图",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Map«object,object»»",
"$$ref": "#/definitions/CommonResult«Map«object,object»»"
}
}
}
}
},
"/api/admin/statistics/home/views": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "用户访问量",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"count": {
"type": "object",
"description": "昨日新增量"
},
"dayRate": {
"type": "object",
"description": "日同比率"
},
"total": {
"type": "object",
"description": "总数"
},
"weekRate": {
"type": "object",
"description": "周同比率"
}
},
"title": "HomeRateResponse对象",
"description": "主页用户新增统计",
"$$ref": "#/definitions/HomeRateResponse对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«HomeRateResponse对象»",
"$$ref": "#/definitions/CommonResult«HomeRateResponse对象»"
}
}
}
}
},
"/api/admin/statistics/home/chart/user/buy": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "用户购买统计",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "integer",
"format": "int32"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Map«string,int»»",
"$$ref": "#/definitions/CommonResult«Map«string,int»»"
}
}
}
}
},
"/api/admin/statistics/home/order": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "订单量",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"count": {
"type": "object",
"description": "昨日新增量"
},
"dayRate": {
"type": "object",
"description": "日同比率"
},
"total": {
"type": "object",
"description": "总数"
},
"weekRate": {
"type": "object",
"description": "周同比率"
}
},
"title": "HomeRateResponse对象",
"description": "主页用户新增统计",
"$$ref": "#/definitions/HomeRateResponse对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«HomeRateResponse对象»",
"$$ref": "#/definitions/CommonResult«HomeRateResponse对象»"
}
}
}
}
},
"/api/admin/statistics/home/sales": {
"get": {
"tags": [
"统计 -- 主页"
],
"summary": "销售额",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"count": {
"type": "object",
"description": "昨日新增量"
},
"dayRate": {
"type": "object",
"description": "日同比率"
},
"total": {
"type": "object",
"description": "总数"
},
"weekRate": {
"type": "object",
"description": "周同比率"
}
},
"title": "HomeRateResponse对象",
"description": "主页用户新增统计",
"$$ref": "#/definitions/HomeRateResponse对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«HomeRateResponse对象»",
"$$ref": "#/definitions/CommonResult«HomeRateResponse对象»"
}
}
}
}
},
"/api/admin/marketing/coupon/update/status": {
"post": {
"tags": [
"营销 -- 优惠券"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "status",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/marketing/coupon/list": {
"get": {
"tags": [
"营销 -- 优惠券"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "isDel",
"in": "query",
"required": false,
"description": "是否删除 状态(0:否,1:是)",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "优惠券名称",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "primaryKey",
"in": "query",
"required": false,
"description": "所属商品id / 分类id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态(0:关闭,1:开启)",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券",
"type": "string"
},
{
"name": "useType",
"in": "query",
"required": false,
"description": "使用类型 1 全场通用, 2 商品券, 3 品类券",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"required": [
"primaryKey"
],
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"day": {
"type": "integer",
"format": "int32",
"description": "天数"
},
"id": {
"type": "integer",
"format": "int32",
"description": "优惠券表ID"
},
"isDel": {
"type": "boolean",
"description": "是否删除 状态(0:否,1:是)"
},
"isFixedTime": {
"type": "boolean",
"description": "是否固定使用时间, 默认0 否, 1是"
},
"isLimited": {
"type": "boolean",
"description": "是否限量, 默认0 不限量, 1限量"
},
"lastTotal": {
"type": "integer",
"format": "int32",
"description": "剩余数量"
},
"minPrice": {
"type": "number",
"description": "最低消费,0代表不限制"
},
"money": {
"type": "number",
"description": "兑换的优惠券面值"
},
"name": {
"type": "string",
"description": "优惠券名称"
},
"primaryKey": {
"type": "string",
"description": "主键id 商品id/分类id"
},
"receiveEndTime": {
"type": "string",
"format": "date-time",
"description": "可领取结束时间"
},
"receiveStartTime": {
"type": "string",
"format": "date-time",
"description": "可领取开始时间"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态(0:关闭,1:开启)"
},
"total": {
"type": "integer",
"format": "int32",
"description": "发放总数"
},
"type": {
"type": "integer",
"format": "int32",
"description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"useEndTime": {
"type": "string",
"format": "date-time",
"description": "可使用时间范围 结束时间"
},
"useStartTime": {
"type": "string",
"format": "date-time",
"description": "可使用时间范围 开始时间"
},
"useType": {
"type": "integer",
"format": "int32",
"description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
}
},
"title": "StoreCoupon对象",
"description": "优惠券表",
"$$ref": "#/definitions/StoreCoupon对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreCoupon对象»",
"$$ref": "#/definitions/CommonPage«StoreCoupon对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«StoreCoupon对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«StoreCoupon对象»»"
}
}
}
}
},
"/api/admin/marketing/coupon/save": {
"post": {
"tags": [
"营销 -- 优惠券"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "优惠券表",
"schema": {
"type": "object",
"required": [
"isFixedTime",
"isForever",
"isLimited",
"minPrice",
"money",
"name",
"primaryKey"
],
"properties": {
"day": {
"type": "integer",
"format": "int32",
"description": "天数"
},
"isFixedTime": {
"type": "boolean",
"description": "请设置是否固定使用时间, 默认0 否, 1是"
},
"isForever": {
"type": "boolean",
"description": "是否固定领取时间, 默认0 否, 1是"
},
"isLimited": {
"type": "boolean",
"description": "是否限量, 默认0 否, 1是"
},
"minPrice": {
"type": "number",
"description": "最低消费,0代表不限制"
},
"money": {
"type": "number",
"description": "兑换的优惠券面值"
},
"name": {
"type": "string",
"description": "优惠券名称"
},
"primaryKey": {
"type": "string",
"description": "主键id 商品id/分类id"
},
"receiveEndTime": {
"type": "string",
"format": "date-time",
"description": "可领取结束时间"
},
"receiveStartTime": {
"type": "string",
"format": "date-time",
"description": "可领取开始时间"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态(0:关闭,1:开启)"
},
"total": {
"type": "integer",
"format": "int32",
"description": "发放总数"
},
"type": {
"type": "integer",
"format": "int32",
"description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券"
},
"useEndTime": {
"type": "string",
"format": "date-time",
"description": "可使用时间范围 结束时间"
},
"useStartTime": {
"type": "string",
"format": "date-time",
"description": "可使用时间范围 开始时间"
},
"useType": {
"type": "integer",
"format": "int32",
"description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
}
},
"title": "StoreCouponRequest对象",
"description": "优惠券表",
"$$ref": "#/definitions/StoreCouponRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/marketing/coupon/info": {
"post": {
"tags": [
"营销 -- 优惠券"
],
"summary": "详情",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"category": {
"type": "array",
"description": "分类信息",
"items": {
"type": "object",
"properties": {
"extra": {
"type": "string",
"description": "扩展字段"
},
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "分类名称"
},
"path": {
"type": "string",
"description": "路径"
},
"pid": {
"type": "integer",
"format": "int32",
"description": "父级ID"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态, 0正常,1失效"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型ID | 类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置 "
},
"url": {
"type": "string",
"description": "地址"
}
},
"title": "Category对象",
"description": "分类表",
"$$ref": "#/definitions/Category对象"
}
},
"coupon": {
"type": "object",
"required": [
"isFixedTime",
"isForever",
"isLimited",
"minPrice",
"money",
"name",
"primaryKey"
],
"properties": {
"day": {
"type": "integer",
"format": "int32",
"description": "天数"
},
"isFixedTime": {
"type": "boolean",
"description": "请设置是否固定使用时间, 默认0 否, 1是"
},
"isForever": {
"type": "boolean",
"description": "是否固定领取时间, 默认0 否, 1是"
},
"isLimited": {
"type": "boolean",
"description": "是否限量, 默认0 否, 1是"
},
"minPrice": {
"type": "number",
"description": "最低消费,0代表不限制"
},
"money": {
"type": "number",
"description": "兑换的优惠券面值"
},
"name": {
"type": "string",
"description": "优惠券名称"
},
"primaryKey": {
"type": "string",
"description": "主键id 商品id/分类id"
},
"receiveEndTime": {
"type": "string",
"format": "date-time",
"description": "可领取结束时间"
},
"receiveStartTime": {
"type": "string",
"format": "date-time",
"description": "可领取开始时间"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态(0:关闭,1:开启)"
},
"total": {
"type": "integer",
"format": "int32",
"description": "发放总数"
},
"type": {
"type": "integer",
"format": "int32",
"description": "优惠券类型 1 手动领取, 2 新人券, 3 赠送券"
},
"useEndTime": {
"type": "string",
"format": "date-time",
"description": "可使用时间范围 结束时间"
},
"useStartTime": {
"type": "string",
"format": "date-time",
"description": "可使用时间范围 开始时间"
},
"useType": {
"type": "integer",
"format": "int32",
"description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
}
},
"title": "StoreCouponRequest对象",
"description": "优惠券表",
"$$ref": "#/definitions/StoreCouponRequest对象"
},
"product": {
"type": "array",
"description": "商品信息",
"items": {
"type": "object",
"properties": {
"activity": {
"type": "string",
"description": "活动显示排序1=秒杀,2=砍价,3=拼团"
},
"addTime": {
"type": "integer",
"format": "int32",
"description": "添加时间"
},
"barCode": {
"type": "string",
"description": "商品条码(一维码)"
},
"browse": {
"type": "integer",
"format": "int32",
"description": "浏览量"
},
"cateId": {
"type": "string",
"description": "分类id"
},
"codePath": {
"type": "string",
"description": "商品二维码地址(用户小程序海报)"
},
"cost": {
"type": "number",
"description": "成本价"
},
"ficti": {
"type": "integer",
"format": "int32",
"description": "虚拟销量"
},
"giveIntegral": {
"type": "number",
"description": "获得积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"image": {
"type": "string",
"description": "商品图片"
},
"isBargain": {
"type": "boolean",
"description": "砍价状态 0未开启 1开启"
},
"isBenefit": {
"type": "boolean",
"description": "是否优惠"
},
"isBest": {
"type": "boolean",
"description": "是否精品"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isGood": {
"type": "boolean",
"description": "是否优品推荐"
},
"isHot": {
"type": "boolean",
"description": "是否热卖"
},
"isNew": {
"type": "boolean",
"description": "是否新品"
},
"isPostage": {
"type": "boolean",
"description": "是否包邮"
},
"isSeckill": {
"type": "boolean",
"description": "秒杀状态 0 未开启 1已开启"
},
"isShow": {
"type": "boolean",
"description": "状态(0:未上架,1:上架)"
},
"isSub": {
"type": "boolean",
"description": "是否单独分佣"
},
"keyword": {
"type": "string",
"description": "关键字"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
},
"merUse": {
"type": "boolean",
"description": "商户是否代理 0不可代理1可代理"
},
"otPrice": {
"type": "number",
"description": "市场价"
},
"postage": {
"type": "number",
"description": "邮费"
},
"price": {
"type": "number",
"description": "商品价格"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"sliderImage": {
"type": "string",
"description": "轮播图"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"soureLink": {
"type": "string",
"description": "淘宝京东1688类型"
},
"specType": {
"type": "boolean",
"description": "规格 0单 1多"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "库存"
},
"storeInfo": {
"type": "string",
"description": "商品简介"
},
"storeName": {
"type": "string",
"description": "商品名称"
},
"tempId": {
"type": "integer",
"format": "int32",
"description": "运费模板ID"
},
"unitName": {
"type": "string",
"description": "单位名"
},
"videoLink": {
"type": "string",
"description": "主图视频链接"
},
"vipPrice": {
"type": "number",
"description": "会员价格"
}
},
"title": "StoreProduct对象",
"description": "商品表",
"$$ref": "#/definitions/StoreProduct对象"
}
}
},
"title": "StoreCouponInfoResponse对象",
"description": "优惠券详情",
"$$ref": "#/definitions/StoreCouponInfoResponse对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«StoreCouponInfoResponse对象»",
"$$ref": "#/definitions/CommonResult«StoreCouponInfoResponse对象»"
}
}
}
}
},
"/api/admin/marketing/coupon/user/list": {
"get": {
"tags": [
"营销 -- 优惠券 -- 领取记录"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "couponId",
"in": "query",
"required": false,
"description": "优惠券id",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "minPrice",
"in": "query",
"required": false,
"description": "最低消费多少金额可用优惠券",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "优惠券名称",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态(0:未使用,1:已使用, 2:已过期)",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "优惠券所属用户",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"required": [
"primaryKey"
],
"properties": {
"avatar": {
"type": "string",
"description": "用户头像"
},
"cid": {
"type": "integer",
"format": "int32",
"description": "兑换的项目id"
},
"couponId": {
"type": "integer",
"format": "int32",
"description": "优惠券发布id"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"endTime": {
"type": "string",
"format": "date-time",
"description": "过期时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "id"
},
"isValid": {
"type": "boolean",
"description": "用户头像"
},
"minPrice": {
"type": "number",
"description": "最低消费多少金额可用优惠券"
},
"money": {
"type": "number",
"description": "优惠券的面值"
},
"name": {
"type": "string",
"description": "优惠券名称"
},
"nickname": {
"type": "string",
"description": "用户昵称"
},
"primaryKey": {
"type": "string",
"description": "主键id 商品id/分类id"
},
"startTime": {
"type": "string",
"format": "date-time",
"description": "开始使用时间"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态(0:未使用,1:已使用, 2:已失效)"
},
"type": {
"type": "string",
"description": "获取方式"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "领取人id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"useTime": {
"type": "string",
"format": "date-time",
"description": "使用时间"
},
"useType": {
"type": "integer",
"format": "int32",
"description": "使用类型 1 全场通用, 2 商品券, 3 品类券"
}
},
"title": "StoreCouponUserResponse对象",
"description": "优惠券记录表",
"$$ref": "#/definitions/StoreCouponUserResponse对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreCouponUserResponse对象»",
"$$ref": "#/definitions/CommonPage«StoreCouponUserResponse对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«StoreCouponUserResponse对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«StoreCouponUserResponse对象»»"
}
}
}
}
},
"/api/admin/marketing/coupon/user/receive": {
"post": {
"tags": [
"营销 -- 优惠券 -- 领取记录"
],
"summary": "领券",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "couponId",
"in": "query",
"required": false,
"description": "优惠券发布id",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "领取人id, 多个id逗号分割",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/order/update": {
"post": {
"tags": [
"订单"
],
"summary": "修改订单",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "订单修改",
"schema": {
"type": "object",
"properties": {
"gainIntegral": {
"type": "number",
"description": "消费赚取积分"
},
"payPostage": {
"type": "number",
"description": "支付邮费"
},
"payPrice": {
"type": "number",
"description": "实际支付金额"
},
"totalPostage": {
"type": "number",
"description": "邮费"
},
"totalPrice": {
"type": "number",
"description": "订单总价"
}
},
"title": "StoreOrderRequest对象",
"description": "订单修改",
"$$ref": "#/definitions/StoreOrderRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/order/list": {
"get": {
"tags": [
"订单"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "isDel",
"in": "query",
"required": false,
"description": "是否删除",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "orderId",
"in": "query",
"required": false,
"description": "订单号",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "订单状态(all 总数; 未支付 unPaid; 未发货 notShipped;待收货 spike;待评价 bargain;已完成 complete;待核销 toBeWrittenOff;退款中:refunding;已退款:refunded;已删除:deleted",
"type": "string"
},
{
"name": "timeRage",
"in": "query",
"required": false,
"description": "创建时间区间",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "用户id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"list": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"backIntegral": {
"type": "number",
"description": "给用户退了多少积分"
},
"clerkName": {
"type": "string",
"description": "店员名称"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"gainIntegral": {
"type": "number",
"description": "消费赚取积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "订单ID"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isSystemDel": {
"type": "boolean",
"description": "后台是否删除"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"orderId": {
"type": "string",
"description": "订单号"
},
"paid": {
"type": "boolean",
"description": "支付状态"
},
"payPostage": {
"type": "number",
"description": "支付邮费"
},
"payPrice": {
"type": "number",
"description": "实际支付金额"
},
"payTime": {
"type": "string",
"format": "date-time",
"description": "支付时间"
},
"payType": {
"type": "string",
"description": "支付方式"
},
"payTypeStr": {
"type": "string",
"description": "支付方式"
},
"productList": {
"type": "array",
"description": "商品信息",
"items": {
"type": "object",
"properties": {
"info": {
"type": "object",
"properties": {
"addTime": {
"type": "string"
},
"attrStatus": {
"type": "boolean",
"description": "商品是否有效"
},
"bargainId": {
"type": "integer",
"format": "int32",
"description": "砍价id"
},
"brokerage": {
"type": "number",
"description": "一级分佣"
},
"brokerageTwo": {
"type": "number",
"description": "二级分佣"
},
"cartNum": {
"type": "integer",
"format": "int32",
"description": "商品数量"
},
"combinationId": {
"type": "integer",
"format": "int32",
"description": "拼团id"
},
"costPrice": {
"type": "number"
},
"id": {
"type": "integer",
"format": "int64",
"description": "购物车表ID"
},
"isNew": {
"type": "boolean",
"description": "是否为立即购买"
},
"isReply": {
"type": "integer",
"format": "int32"
},
"productAttrUnique": {
"type": "string",
"description": "商品属性"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品ID"
},
"productInfo": {
"type": "object",
"properties": {
"attrInfo": {
"type": "object",
"properties": {
"attrValue": {
"type": "string",
"description": "产品属性值和属性名对应关系"
},
"barCode": {
"type": "string",
"description": "商品条码"
},
"brokerage": {
"type": "number",
"description": "一级返佣"
},
"brokerageTwo": {
"type": "number",
"description": "二级返佣"
},
"cost": {
"type": "number",
"description": "成本价"
},
"id": {
"type": "integer",
"format": "int32",
"description": "attrId"
},
"image": {
"type": "string",
"description": "图片"
},
"otPrice": {
"type": "number",
"description": "原价"
},
"price": {
"type": "number",
"description": "属性金额"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品ID"
},
"quota": {
"type": "integer",
"format": "int32",
"description": "活动限购数量"
},
"quotaShow": {
"type": "integer",
"format": "int32",
"description": "活动限购数量显示"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "属性对应的库存"
},
"suk": {
"type": "string",
"description": "商品属性索引值 (attr_value|attr_value[|....])"
},
"type": {
"type": "integer",
"format": "int32",
"description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
},
"unique": {
"type": "string",
"description": "唯一值"
},
"volume": {
"type": "number",
"description": "体积"
},
"weight": {
"type": "number",
"description": "重量"
}
},
"title": "StoreProductAttrValue对象",
"description": "商品属性值表",
"$$ref": "#/definitions/StoreProductAttrValue对象"
},
"barCode": {
"type": "string",
"description": "商品条码(一维码)"
},
"cateId": {
"type": "string",
"description": "分类id"
},
"cost": {
"type": "number",
"description": "成本价"
},
"giveIntegral": {
"type": "number",
"description": "获得积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"image": {
"type": "string",
"description": "商品图片"
},
"isPostage": {
"type": "boolean",
"description": "是否包邮"
},
"isSub": {
"type": "boolean",
"description": "是否单独分佣"
},
"keyword": {
"type": "string",
"description": "关键字"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
},
"otPrice": {
"type": "number",
"description": "市场价"
},
"postage": {
"type": "number",
"description": "邮费"
},
"price": {
"type": "number",
"description": "商品价格"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"sliderImage": {
"type": "string",
"description": "轮播图"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "库存"
},
"storeInfo": {
"type": "string",
"description": "商品简介"
},
"storeName": {
"type": "string",
"description": "商品名称"
},
"tempId": {
"type": "integer",
"format": "int32",
"description": "运费模板ID"
},
"unitName": {
"type": "string",
"description": "单位名"
},
"vipPrice": {
"type": "number",
"description": "会员价格"
}
},
"title": "StoreProductCartProductInfoResponse对象",
"description": "商品信息,购物车列表使用",
"$$ref": "#/definitions/StoreProductCartProductInfoResponse对象"
},
"seckillId": {
"type": "integer",
"format": "int32",
"description": "秒杀商品ID"
},
"truePrice": {
"type": "number"
},
"trueStock": {
"type": "integer",
"format": "int32"
},
"type": {
"type": "string",
"description": "类型"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户ID"
},
"vipTruePrice": {
"type": "number"
}
},
"title": "StoreCartResponse",
"description": "购物车ListResponse",
"$$ref": "#/definitions/StoreCartResponse"
},
"orderId": {
"type": "integer",
"format": "int32",
"description": "订单id"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品ID"
},
"unique": {
"type": "string",
"description": "唯一id"
}
},
"title": "StoreOrderInfoVo对象",
"description": "订单购物详情表",
"$$ref": "#/definitions/StoreOrderInfoVo对象"
}
},
"realName": {
"type": "string",
"description": "用户姓名"
},
"refundPrice": {
"type": "number",
"description": "退款金额"
},
"refundReason": {
"type": "string",
"description": "不退款的理由"
},
"refundReasonTime": {
"type": "string",
"format": "date-time",
"description": "退款时间"
},
"refundReasonWap": {
"type": "string",
"description": "前台退款原因"
},
"refundReasonWapExplain": {
"type": "string",
"description": "退款用户说明"
},
"refundReasonWapImg": {
"type": "string",
"description": "退款图片"
},
"remark": {
"type": "string",
"description": "管理员备注"
},
"spreadInfo": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"name": {
"type": "string",
"description": "推广人姓名"
}
},
"title": "StoreOrderSpreadInfoResponse对象",
"description": "推广人信息",
"$$ref": "#/definitions/StoreOrderSpreadInfoResponse对象"
},
"status": {
"type": "boolean",
"description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)"
},
"statusStr": {
"type": "object",
"description": "订单状态",
"additionalProperties": {
"type": "string"
}
},
"storeName": {
"type": "string",
"description": "门店名称"
},
"totalPostage": {
"type": "number",
"description": "邮费"
},
"totalPrice": {
"type": "number",
"description": "订单总价"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"useIntegral": {
"type": "number",
"description": "使用积分"
},
"userPhone": {
"type": "string",
"description": "用户电话"
}
},
"title": "StoreOrderItemResponse对象",
"description": "核销订单",
"$$ref": "#/definitions/StoreOrderItemResponse对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreOrderItemResponse对象»",
"$$ref": "#/definitions/CommonPage«StoreOrderItemResponse对象»"
},
"status": {
"type": "object",
"properties": {
"all": {
"type": "integer",
"format": "int32",
"description": "总数"
},
"bargain": {
"type": "integer",
"format": "int32",
"description": "待评价"
},
"complete": {
"type": "integer",
"format": "int32",
"description": "交易完成"
},
"deleted": {
"type": "integer",
"format": "int32",
"description": "已删除"
},
"notShipped": {
"type": "integer",
"format": "int32",
"description": "未发货"
},
"refunded": {
"type": "integer",
"format": "int32",
"description": "已退款"
},
"refunding": {
"type": "integer",
"format": "int32",
"description": "退款中"
},
"spike": {
"type": "integer",
"format": "int32",
"description": "待收货"
},
"toBeWrittenOff": {
"type": "integer",
"format": "int32",
"description": "待核销"
},
"unPaid": {
"type": "integer",
"format": "int32",
"description": "未支付"
}
},
"title": "StoreOrderCountItemResponse对象",
"description": "订单状态数量",
"$$ref": "#/definitions/StoreOrderCountItemResponse对象"
},
"top": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "订单金额"
},
"count": {
"type": "integer",
"format": "int32",
"description": "订单数量"
},
"weChatAmount": {
"type": "number",
"description": "微信支付金额"
},
"yueAmount": {
"type": "number",
"description": "余额支付"
}
},
"title": "StoreOrderTopItemResponse对象",
"description": "订单九宫格数据",
"$$ref": "#/definitions/StoreOrderTopItemResponse对象"
}
},
"title": "StoreOrderCountResponse对象",
"description": "订单数量",
"$$ref": "#/definitions/StoreOrderCountResponse对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«StoreOrderCountResponse对象»",
"$$ref": "#/definitions/CommonResult«StoreOrderCountResponse对象»"
}
}
}
}
},
"/api/admin/store/order/delete": {
"get": {
"tags": [
"订单"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/order/send": {
"get": {
"tags": [
"订单"
],
"summary": "发送货",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "expressCode",
"in": "query",
"required": false,
"description": "快递单号",
"type": "string"
},
{
"name": "expressId",
"in": "query",
"required": false,
"description": "快递公司",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "订单ID",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型, 1,2,3",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«boolean»",
"$$ref": "#/definitions/CommonResult«boolean»"
}
}
}
}
},
"/api/admin/store/order/mark": {
"post": {
"tags": [
"订单"
],
"summary": "备注",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "mark",
"in": "query",
"required": false,
"description": "mark",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/order/getLogisticsInfo": {
"get": {
"tags": [
"订单"
],
"summary": "快递查询",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"courier": {
"type": "string",
"description": "快递员 或 快递站(没有则为空"
},
"courierPhone": {
"type": "string",
"description": "快递员电话 (没有则为空)"
},
"deliverystatus": {
"type": "string",
"description": "快递收件(揽件)1.在途中 2.正在派件 3.已签收 4.派送失败 5.疑难件 6.退件签收 */"
},
"expName": {
"type": "string",
"description": "快递公司名称"
},
"expPhone": {
"type": "string",
"description": "快递公司电话"
},
"expSite": {
"type": "string",
"description": "快递公司官网"
},
"issign": {
"type": "string",
"description": "是否签收"
},
"list": {
"type": "array",
"description": "快递运送轨迹",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "日志"
},
"time": {
"type": "string",
"description": "时间"
}
},
"title": "LogisticsResultListVo对象",
"description": "快递轨迹",
"$$ref": "#/definitions/LogisticsResultListVo对象"
}
},
"logo": {
"type": "string",
"description": "快递公司LOGO"
},
"number": {
"type": "string",
"description": "快递单号"
},
"takeTime": {
"type": "string",
"description": "发货到收货消耗时长 (截止最新轨迹)"
},
"type": {
"type": "string",
"description": "快递简写"
},
"updateTime": {
"type": "string",
"description": "快递轨迹信息最新时间 "
}
},
"title": "LogisticsResultVo对象",
"description": "快递接口返回数据",
"$$ref": "#/definitions/LogisticsResultVo对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«LogisticsResultVo对象»",
"$$ref": "#/definitions/CommonResult«LogisticsResultVo对象»"
}
}
}
}
},
"/api/admin/store/order/refund/refuse": {
"get": {
"tags": [
"订单"
],
"summary": "拒绝退款",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "reason",
"in": "query",
"required": false,
"description": "reason",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«boolean»",
"$$ref": "#/definitions/CommonResult«boolean»"
}
}
}
}
},
"/api/admin/store/order/info": {
"get": {
"tags": [
"订单"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"backIntegral": {
"type": "number",
"description": "给用户退了多少积分"
},
"bargainId": {
"type": "integer",
"format": "int32",
"description": "砍价id"
},
"clerkId": {
"type": "integer",
"format": "int32",
"description": "店员id"
},
"combinationId": {
"type": "integer",
"format": "int32",
"description": "拼团商品id0一般商品"
},
"cost": {
"type": "number",
"description": "成本价"
},
"couponId": {
"type": "integer",
"format": "int32",
"description": "优惠券id"
},
"couponPrice": {
"type": "number",
"description": "优惠券金额"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"deductionPrice": {
"type": "number",
"description": "抵扣金额"
},
"deliveryId": {
"type": "string",
"description": "快递单号/手机号"
},
"deliveryName": {
"type": "string",
"description": "快递名称/送货人姓名"
},
"deliveryType": {
"type": "string",
"description": "发货类型"
},
"freightPrice": {
"type": "number",
"description": "运费金额"
},
"gainIntegral": {
"type": "number",
"description": "消费赚取积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "订单ID"
},
"isChannel": {
"type": "boolean",
"description": "支付渠道(0微信公众号1微信小程序)"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isMerCheck": {
"type": "integer",
"format": "int32"
},
"isRemind": {
"type": "boolean",
"description": "消息提醒"
},
"isSystemDel": {
"type": "boolean",
"description": "后台是否删除"
},
"mark": {
"type": "string",
"description": "备注"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户ID"
},
"orderId": {
"type": "string",
"description": "订单号"
},
"paid": {
"type": "boolean",
"description": "支付状态"
},
"payPostage": {
"type": "number",
"description": "支付邮费"
},
"payPrice": {
"type": "number",
"description": "实际支付金额"
},
"payTime": {
"type": "string",
"format": "date-time",
"description": "支付时间"
},
"payType": {
"type": "string",
"description": "支付方式"
},
"payTypeStr": {
"type": "string",
"description": "支付方式"
},
"pinkId": {
"type": "integer",
"format": "int32",
"description": "拼团id 0没有拼团"
},
"realName": {
"type": "string",
"description": "用户姓名"
},
"refundPrice": {
"type": "number",
"description": "退款金额"
},
"refundReason": {
"type": "string",
"description": "不退款的理由"
},
"refundReasonTime": {
"type": "string",
"format": "date-time",
"description": "退款时间"
},
"refundReasonWap": {
"type": "string",
"description": "前台退款原因"
},
"refundReasonWapExplain": {
"type": "string",
"description": "退款用户说明"
},
"refundReasonWapImg": {
"type": "string",
"description": "退款图片"
},
"refundStatus": {
"type": "integer",
"format": "int32",
"description": "0 未退款 1 申请中 2 已退款"
},
"remark": {
"type": "string",
"description": "管理员备注"
},
"seckillId": {
"type": "integer",
"format": "int32",
"description": "秒杀商品ID"
},
"shippingType": {
"type": "integer",
"format": "int32",
"description": "配送方式 1=快递 ,2=门店自提"
},
"spreadInfo": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"name": {
"type": "string",
"description": "推广人姓名"
}
},
"title": "StoreOrderSpreadInfoResponse对象",
"description": "推广人信息",
"$$ref": "#/definitions/StoreOrderSpreadInfoResponse对象"
},
"status": {
"type": "integer",
"format": "int32",
"description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)"
},
"statusStr": {
"type": "object",
"description": "订单状态",
"additionalProperties": {
"type": "string"
}
},
"storeId": {
"type": "integer",
"format": "int32",
"description": "门店id"
},
"totalNum": {
"type": "integer",
"format": "int32",
"description": "订单商品总数"
},
"totalPostage": {
"type": "number",
"description": "邮费"
},
"totalPrice": {
"type": "number",
"description": "订单总价"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"unique": {
"type": "string",
"description": "唯一id(md5加密)类似id"
},
"useIntegral": {
"type": "number",
"description": "使用积分"
},
"user": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "用户账号"
},
"addIp": {
"type": "string",
"description": "添加ip"
},
"addres": {
"type": "string",
"description": "详细地址"
},
"adminid": {
"type": "integer",
"format": "int32",
"description": "管理员编号 "
},
"avatar": {
"type": "string",
"description": "用户头像"
},
"birthday": {
"type": "string",
"description": "生日"
},
"brokeragePrice": {
"type": "number",
"description": "佣金金额"
},
"cardId": {
"type": "string",
"description": "身份证号码"
},
"cleanTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "用户剩余经验"
},
"groupId": {
"type": "string",
"description": "用户分组id"
},
"integral": {
"type": "number",
"description": "用户剩余积分"
},
"isPromoter": {
"type": "boolean",
"description": "是否为推广员"
},
"lastIp": {
"type": "string",
"description": "最后一次登录ip"
},
"lastLoginTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"level": {
"type": "integer",
"format": "int32",
"description": "等级"
},
"loginType": {
"type": "string",
"description": "用户登陆类型,h5,wechat,routine"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"nickname": {
"type": "string",
"description": "用户昵称"
},
"nowMoney": {
"type": "number",
"description": "用户余额"
},
"partnerId": {
"type": "integer",
"format": "int32",
"description": "合伙人id"
},
"path": {
"type": "string",
"description": "用户推广等级"
},
"payCount": {
"type": "integer",
"format": "int32",
"description": "用户购买次数"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"realName": {
"type": "string",
"description": "真实姓名"
},
"signNum": {
"type": "integer",
"format": "int32",
"description": "连续签到天数"
},
"spreadCount": {
"type": "integer",
"format": "int32",
"description": "下级人数"
},
"spreadTime": {
"type": "string",
"format": "date-time",
"description": "推广员关联时间"
},
"spreadUid": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"status": {
"type": "boolean",
"description": "1为正常,0为禁止"
},
"subscribe": {
"type": "boolean",
"description": "是否关注公众号"
},
"tagId": {
"type": "string",
"description": "用户标签id"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"userType": {
"type": "string",
"description": "用户类型"
}
},
"title": "User对象",
"description": "用户表",
"$$ref": "#/definitions/User对象"
},
"userAddress": {
"type": "string",
"description": "详细地址"
},
"userPhone": {
"type": "string",
"description": "用户电话"
},
"verifyCode": {
"type": "string",
"description": "核销码"
}
},
"title": "StoreOrderInfoResponse对象",
"description": "订单详情",
"$$ref": "#/definitions/StoreOrderInfoResponse对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«StoreOrderInfoResponse对象»",
"$$ref": "#/definitions/CommonResult«StoreOrderInfoResponse对象»"
}
}
}
}
},
"/api/admin/store/order/refund": {
"get": {
"tags": [
"订单"
],
"summary": "退款",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "amount",
"in": "query",
"required": false,
"description": "退款金额",
"type": "string"
},
{
"name": "orderId",
"in": "query",
"required": false,
"description": "订单id",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "status 1 = 直接退款, 2 = 退款后,返回原状态",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«boolean»",
"$$ref": "#/definitions/CommonResult«boolean»"
}
}
}
}
},
"/api/admin/store/order/status/update": {
"post": {
"tags": [
"订单 -- 操作记录"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "changeMessage",
"in": "query",
"required": false,
"description": "操作备注",
"type": "string"
},
{
"name": "changeTime",
"in": "query",
"required": false,
"description": "操作时间",
"type": "string"
},
{
"name": "changeType",
"in": "query",
"required": false,
"description": "操作类型",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "oid",
"in": "query",
"required": false,
"description": "订单id",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/order/status/list": {
"get": {
"tags": [
"订单 -- 操作记录"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "changeMessage",
"in": "query",
"required": false,
"description": "操作备注",
"type": "string"
},
{
"name": "changeTime",
"in": "query",
"required": false,
"description": "操作时间",
"type": "string"
},
{
"name": "changeType",
"in": "query",
"required": false,
"description": "操作类型",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "oid",
"in": "query",
"required": false,
"description": "订单id",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"changeMessage": {
"type": "string",
"description": "操作备注"
},
"changeType": {
"type": "string",
"description": "操作类型"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "操作时间"
},
"oid": {
"type": "integer",
"format": "int32",
"description": "订单id"
}
},
"title": "StoreOrderStatus对象",
"description": "订单操作记录表",
"$$ref": "#/definitions/StoreOrderStatus对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreOrderStatus对象»",
"$$ref": "#/definitions/CommonPage«StoreOrderStatus对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«StoreOrderStatus对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«StoreOrderStatus对象»»"
}
}
}
}
},
"/api/admin/store/order/status/delete": {
"delete": {
"tags": [
"订单 -- 操作记录"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/order/status/save": {
"post": {
"tags": [
"订单 -- 操作记录"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "changeMessage",
"in": "query",
"required": false,
"description": "操作备注",
"type": "string"
},
{
"name": "changeTime",
"in": "query",
"required": false,
"description": "操作时间",
"type": "string"
},
{
"name": "changeType",
"in": "query",
"required": false,
"description": "操作类型",
"type": "string"
},
{
"name": "oid",
"in": "query",
"required": false,
"description": "订单id",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/store/order/status/info": {
"get": {
"tags": [
"订单 -- 操作记录"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"changeMessage": {
"type": "string",
"description": "操作备注"
},
"changeType": {
"type": "string",
"description": "操作类型"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "操作时间"
},
"oid": {
"type": "integer",
"format": "int32",
"description": "订单id"
}
},
"title": "StoreOrderStatus对象",
"description": "订单操作记录表",
"$$ref": "#/definitions/StoreOrderStatus对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«StoreOrderStatus对象»",
"$$ref": "#/definitions/CommonResult«StoreOrderStatus对象»"
}
}
}
}
},
"/api/admin/system/config/save/form": {
"post": {
"tags": [
"设置 -- Config"
],
"summary": "整体保存表单数据",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "整体保存表单数据",
"schema": {
"type": "object",
"required": [
"fields",
"id",
"sort"
],
"properties": {
"fields": {
"type": "array",
"description": "字段值列表",
"items": {
"type": "object",
"required": [
"name",
"title",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "字段名称"
},
"title": {
"type": "string",
"description": "字段显示文字"
},
"value": {
"type": "string",
"description": "字段值"
}
},
"title": "SystemFormItemCheckRequest对象",
"description": "表单字段明细",
"$$ref": "#/definitions/SystemFormItemCheckRequest对象"
}
},
"id": {
"type": "integer",
"format": "int32",
"description": "表单名称"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态(1:开启;0:关闭;)"
}
},
"title": "SystemFormCheckRequest对象",
"description": "整体保存表单数据",
"$$ref": "#/definitions/SystemFormCheckRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/config/check": {
"get": {
"tags": [
"设置 -- Config"
],
"summary": "检测表单name是否存在",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "name",
"in": "query",
"required": false,
"description": "name",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«boolean»",
"$$ref": "#/definitions/CommonResult«boolean»"
}
}
}
}
},
"/api/admin/system/config/saveuniq": {
"post": {
"tags": [
"设置 -- Config"
],
"summary": "表单配置中仅仅存储",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "key",
"in": "query",
"required": false,
"description": "key",
"type": "string"
},
{
"name": "value",
"in": "query",
"required": false,
"description": "value",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«boolean»",
"$$ref": "#/definitions/CommonResult«boolean»"
}
}
}
}
},
"/api/admin/system/config/getuniq": {
"get": {
"tags": [
"设置 -- Config"
],
"summary": "表单配置根据key获取",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "key",
"in": "query",
"required": false,
"description": "key",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«object»",
"$$ref": "#/definitions/CommonResult«object»"
}
}
}
}
},
"/api/admin/system/config/info": {
"get": {
"tags": [
"设置 -- Config"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "formId",
"in": "query",
"required": false,
"description": "formId",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«HashMap«string,string»»",
"$$ref": "#/definitions/CommonResult«HashMap«string,string»»"
}
}
}
}
},
"/api/admin/system/user/level/update": {
"post": {
"tags": [
"设置 -- 会员等级"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "设置用户等级表",
"schema": {
"type": "object",
"properties": {
"discount": {
"type": "number",
"description": "享受折扣"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "达到多少升级经验"
},
"grade": {
"type": "integer",
"format": "int32",
"description": "会员等级"
},
"icon": {
"type": "string",
"description": "会员图标"
},
"image": {
"type": "string",
"description": "会员卡背景"
},
"isShow": {
"type": "boolean",
"description": "是否显示 1=显示,0=隐藏"
},
"memo": {
"type": "string",
"description": "说明"
},
"name": {
"type": "string",
"description": "会员名称"
}
},
"title": "SystemUserLevelRequest对象",
"description": "设置用户等级表",
"$$ref": "#/definitions/SystemUserLevelRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/user/level/list": {
"get": {
"tags": [
"设置 -- 会员等级"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "isDel",
"in": "query",
"required": false,
"description": "是否删除.1=删除,0=未删除",
"type": "string"
},
{
"name": "isShow",
"in": "query",
"required": false,
"description": "是否显示 1=显示,0=隐藏",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "会员名称",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"discount": {
"type": "number",
"description": "享受折扣"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "购买金额|经验达到"
},
"grade": {
"type": "integer",
"format": "int32",
"description": "会员等级"
},
"icon": {
"type": "string",
"description": "会员图标"
},
"id": {
"type": "integer",
"format": "int32"
},
"image": {
"type": "string",
"description": "会员卡背景"
},
"isDel": {
"type": "boolean",
"description": "是否删除.1=删除,0=未删除"
},
"isShow": {
"type": "boolean",
"description": "是否显示 1=显示,0=隐藏"
},
"memo": {
"type": "string",
"description": "说明"
},
"name": {
"type": "string",
"description": "会员名称"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
}
},
"title": "SystemUserLevel对象",
"description": "设置用户等级表",
"$$ref": "#/definitions/SystemUserLevel对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemUserLevel对象»",
"$$ref": "#/definitions/CommonPage«SystemUserLevel对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemUserLevel对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemUserLevel对象»»"
}
}
}
}
},
"/api/admin/system/user/level/delete": {
"get": {
"tags": [
"设置 -- 会员等级"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/user/level/save": {
"post": {
"tags": [
"设置 -- 会员等级"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "设置用户等级表",
"schema": {
"type": "object",
"properties": {
"discount": {
"type": "number",
"description": "享受折扣"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "达到多少升级经验"
},
"grade": {
"type": "integer",
"format": "int32",
"description": "会员等级"
},
"icon": {
"type": "string",
"description": "会员图标"
},
"image": {
"type": "string",
"description": "会员卡背景"
},
"isShow": {
"type": "boolean",
"description": "是否显示 1=显示,0=隐藏"
},
"memo": {
"type": "string",
"description": "说明"
},
"name": {
"type": "string",
"description": "会员名称"
}
},
"title": "SystemUserLevelRequest对象",
"description": "设置用户等级表",
"$$ref": "#/definitions/SystemUserLevelRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/user/level/use": {
"get": {
"tags": [
"设置 -- 会员等级"
],
"summary": "是否使用",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "value",
"in": "query",
"required": false,
"description": "是否使用, 1=是,0=否",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/user/level/info": {
"get": {
"tags": [
"设置 -- 会员等级"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"discount": {
"type": "number",
"description": "享受折扣"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "购买金额|经验达到"
},
"grade": {
"type": "integer",
"format": "int32",
"description": "会员等级"
},
"icon": {
"type": "string",
"description": "会员图标"
},
"id": {
"type": "integer",
"format": "int32"
},
"image": {
"type": "string",
"description": "会员卡背景"
},
"isDel": {
"type": "boolean",
"description": "是否删除.1=删除,0=未删除"
},
"isShow": {
"type": "boolean",
"description": "是否显示 1=显示,0=隐藏"
},
"memo": {
"type": "string",
"description": "说明"
},
"name": {
"type": "string",
"description": "会员名称"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
}
},
"title": "SystemUserLevel对象",
"description": "设置用户等级表",
"$$ref": "#/definitions/SystemUserLevel对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemUserLevel对象»",
"$$ref": "#/definitions/CommonResult«SystemUserLevel对象»"
}
}
}
}
},
"/api/admin/system/user/task/update": {
"post": {
"tags": [
"设置 -- 会员等级 -- 等级任务"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "新增时间",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "illustrate",
"in": "query",
"required": false,
"description": "任务说明",
"type": "string"
},
{
"name": "isMust",
"in": "query",
"required": false,
"description": "是否务必达成任务,1务必达成,0=满足其一",
"type": "string"
},
{
"name": "isShow",
"in": "query",
"required": false,
"description": "是否显示",
"type": "string"
},
{
"name": "levelId",
"in": "query",
"required": false,
"description": "等级id",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "任务名称",
"type": "string"
},
{
"name": "number",
"in": "query",
"required": false,
"description": "限定数",
"type": "string"
},
{
"name": "realName",
"in": "query",
"required": false,
"description": "配置原名",
"type": "string"
},
{
"name": "sort",
"in": "query",
"required": false,
"description": "排序",
"type": "string"
},
{
"name": "taskType",
"in": "query",
"required": false,
"description": "任务类型",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/user/task/list": {
"get": {
"tags": [
"设置 -- 会员等级 -- 等级任务"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "新增时间",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "illustrate",
"in": "query",
"required": false,
"description": "任务说明",
"type": "string"
},
{
"name": "isMust",
"in": "query",
"required": false,
"description": "是否务必达成任务,1务必达成,0=满足其一",
"type": "string"
},
{
"name": "isShow",
"in": "query",
"required": false,
"description": "是否显示",
"type": "string"
},
{
"name": "levelId",
"in": "query",
"required": false,
"description": "等级id",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "任务名称",
"type": "string"
},
{
"name": "number",
"in": "query",
"required": false,
"description": "限定数",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "realName",
"in": "query",
"required": false,
"description": "配置原名",
"type": "string"
},
{
"name": "sort",
"in": "query",
"required": false,
"description": "排序",
"type": "string"
},
{
"name": "taskType",
"in": "query",
"required": false,
"description": "任务类型",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"addTime": {
"type": "integer",
"format": "int32",
"description": "新增时间"
},
"id": {
"type": "integer",
"format": "int32"
},
"illustrate": {
"type": "string",
"description": "任务说明"
},
"isMust": {
"type": "boolean",
"description": "是否务必达成任务,1务必达成,0=满足其一"
},
"isShow": {
"type": "boolean",
"description": "是否显示"
},
"levelId": {
"type": "integer",
"format": "int32",
"description": "等级id"
},
"name": {
"type": "string",
"description": "任务名称"
},
"number": {
"type": "integer",
"format": "int32",
"description": "限定数"
},
"realName": {
"type": "string",
"description": "配置原名"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"taskType": {
"type": "string",
"description": "任务类型"
}
},
"title": "SystemUserTask对象",
"description": "等级任务设置",
"$$ref": "#/definitions/SystemUserTask对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemUserTask对象»",
"$$ref": "#/definitions/CommonPage«SystemUserTask对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemUserTask对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemUserTask对象»»"
}
}
}
}
},
"/api/admin/system/user/task/delete": {
"get": {
"tags": [
"设置 -- 会员等级 -- 等级任务"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/user/task/save": {
"post": {
"tags": [
"设置 -- 会员等级 -- 等级任务"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "新增时间",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "illustrate",
"in": "query",
"required": false,
"description": "任务说明",
"type": "string"
},
{
"name": "isMust",
"in": "query",
"required": false,
"description": "是否务必达成任务,1务必达成,0=满足其一",
"type": "string"
},
{
"name": "isShow",
"in": "query",
"required": false,
"description": "是否显示",
"type": "string"
},
{
"name": "levelId",
"in": "query",
"required": false,
"description": "等级id",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "任务名称",
"type": "string"
},
{
"name": "number",
"in": "query",
"required": false,
"description": "限定数",
"type": "string"
},
{
"name": "realName",
"in": "query",
"required": false,
"description": "配置原名",
"type": "string"
},
{
"name": "sort",
"in": "query",
"required": false,
"description": "排序",
"type": "string"
},
{
"name": "taskType",
"in": "query",
"required": false,
"description": "任务类型",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/user/task/info": {
"get": {
"tags": [
"设置 -- 会员等级 -- 等级任务"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"addTime": {
"type": "integer",
"format": "int32",
"description": "新增时间"
},
"id": {
"type": "integer",
"format": "int32"
},
"illustrate": {
"type": "string",
"description": "任务说明"
},
"isMust": {
"type": "boolean",
"description": "是否务必达成任务,1务必达成,0=满足其一"
},
"isShow": {
"type": "boolean",
"description": "是否显示"
},
"levelId": {
"type": "integer",
"format": "int32",
"description": "等级id"
},
"name": {
"type": "string",
"description": "任务名称"
},
"number": {
"type": "integer",
"format": "int32",
"description": "限定数"
},
"realName": {
"type": "string",
"description": "配置原名"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"taskType": {
"type": "string",
"description": "任务类型"
}
},
"title": "SystemUserTask对象",
"description": "等级任务设置",
"$$ref": "#/definitions/SystemUserTask对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemUserTask对象»",
"$$ref": "#/definitions/CommonResult«SystemUserTask对象»"
}
}
}
}
},
"/api/admin/system/store/update": {
"post": {
"tags": [
"设置 -- 提货点 -- 提货点"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "提货点",
"schema": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "提货点地址省市区"
},
"dayTime": {
"type": "string",
"description": "每日营业开关时间"
},
"detailedAddress": {
"type": "string",
"description": "详细地址"
},
"image": {
"type": "string",
"description": "门店logo"
},
"introduction": {
"type": "string",
"description": "简介"
},
"latitude": {
"type": "string",
"description": "纬度"
},
"longitude": {
"type": "string",
"example": "1,2",
"description": "经度"
},
"name": {
"type": "string",
"description": "门店名称"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"validTime": {
"type": "string",
"description": "核销有效日期"
}
},
"title": "SystemStoreRequest对象",
"description": "提货点",
"$$ref": "#/definitions/SystemStoreRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/store/update/status": {
"get": {
"tags": [
"设置 -- 提货点 -- 提货点"
],
"summary": "修改门店显示状态",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "status",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/store/list": {
"get": {
"tags": [
"设置 -- 提货点 -- 提货点"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字,支持 门店名称|简介|手机号码||省市区|详细地址",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态,0隐藏,1显示,2回收站",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "省市区"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"dayTime": {
"type": "string",
"description": "每日营业开关时间"
},
"detailedAddress": {
"type": "string",
"description": "详细地址"
},
"id": {
"type": "integer",
"format": "int32"
},
"image": {
"type": "string",
"description": "门店logo"
},
"introduction": {
"type": "string",
"description": "简介"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isShow": {
"type": "boolean",
"description": "是否显示"
},
"latitude": {
"type": "string",
"description": "纬度"
},
"longitude": {
"type": "string",
"description": "经度"
},
"name": {
"type": "string",
"description": "门店名称"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
},
"validTime": {
"type": "string",
"description": "核销有效日期"
}
},
"title": "SystemStore对象",
"description": "门店自提",
"$$ref": "#/definitions/SystemStore对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemStore对象»",
"$$ref": "#/definitions/CommonPage«SystemStore对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemStore对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemStore对象»»"
}
}
}
}
},
"/api/admin/system/store/delete": {
"get": {
"tags": [
"设置 -- 提货点 -- 提货点"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/store/getCount": {
"get": {
"tags": [
"设置 -- 提货点 -- 提货点"
],
"summary": "数量",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "integer",
"format": "int32"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«HashMap«string,int»»",
"$$ref": "#/definitions/CommonResult«HashMap«string,int»»"
}
}
}
}
},
"/api/admin/system/store/save": {
"post": {
"tags": [
"设置 -- 提货点 -- 提货点"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "提货点",
"schema": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "提货点地址省市区"
},
"dayTime": {
"type": "string",
"description": "每日营业开关时间"
},
"detailedAddress": {
"type": "string",
"description": "详细地址"
},
"image": {
"type": "string",
"description": "门店logo"
},
"introduction": {
"type": "string",
"description": "简介"
},
"latitude": {
"type": "string",
"description": "纬度"
},
"longitude": {
"type": "string",
"example": "1,2",
"description": "经度"
},
"name": {
"type": "string",
"description": "门店名称"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"validTime": {
"type": "string",
"description": "核销有效日期"
}
},
"title": "SystemStoreRequest对象",
"description": "提货点",
"$$ref": "#/definitions/SystemStoreRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/store/info": {
"get": {
"tags": [
"设置 -- 提货点 -- 提货点"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "省市区"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"dayTime": {
"type": "string",
"description": "每日营业开关时间"
},
"detailedAddress": {
"type": "string",
"description": "详细地址"
},
"id": {
"type": "integer",
"format": "int32"
},
"image": {
"type": "string",
"description": "门店logo"
},
"introduction": {
"type": "string",
"description": "简介"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isShow": {
"type": "boolean",
"description": "是否显示"
},
"latitude": {
"type": "string",
"description": "纬度"
},
"longitude": {
"type": "string",
"description": "经度"
},
"name": {
"type": "string",
"description": "门店名称"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
},
"validTime": {
"type": "string",
"description": "核销有效日期"
}
},
"title": "SystemStore对象",
"description": "门店自提",
"$$ref": "#/definitions/SystemStore对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemStore对象»",
"$$ref": "#/definitions/CommonResult«SystemStore对象»"
}
}
}
}
},
"/api/admin/system/store/staff/update": {
"post": {
"tags": [
"设置 -- 提货点 -- 核销员"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "门店店员表",
"schema": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "店员头像"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"staffName": {
"type": "string",
"description": "店员名称"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"storeId": {
"type": "integer",
"format": "int32",
"description": "门店id"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "微信用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"verifyStatus": {
"type": "integer",
"format": "int32",
"description": "核销开关"
}
},
"title": "SystemStoreStaff对象",
"description": "门店店员表",
"$$ref": "#/definitions/SystemStoreStaff对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/store/staff/update/status": {
"get": {
"tags": [
"设置 -- 提货点 -- 核销员"
],
"summary": "修改状态",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "status",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/store/staff/list": {
"get": {
"tags": [
"设置 -- 提货点 -- 核销员"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "storeId",
"in": "query",
"required": false,
"description": "storeId",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "店员头像"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"staffName": {
"type": "string",
"description": "店员名称"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"storeId": {
"type": "integer",
"format": "int32",
"description": "门店id"
},
"systemStore": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "省市区"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"dayTime": {
"type": "string",
"description": "每日营业开关时间"
},
"detailedAddress": {
"type": "string",
"description": "详细地址"
},
"id": {
"type": "integer",
"format": "int32"
},
"image": {
"type": "string",
"description": "门店logo"
},
"introduction": {
"type": "string",
"description": "简介"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isShow": {
"type": "boolean",
"description": "是否显示"
},
"latitude": {
"type": "string",
"description": "纬度"
},
"longitude": {
"type": "string",
"description": "经度"
},
"name": {
"type": "string",
"description": "门店名称"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
},
"validTime": {
"type": "string",
"description": "核销有效日期"
}
},
"title": "SystemStore对象",
"description": "门店自提",
"$$ref": "#/definitions/SystemStore对象"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "微信用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"user": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "用户账号"
},
"addIp": {
"type": "string",
"description": "添加ip"
},
"addres": {
"type": "string",
"description": "详细地址"
},
"adminid": {
"type": "integer",
"format": "int32",
"description": "管理员编号 "
},
"avatar": {
"type": "string",
"description": "用户头像"
},
"birthday": {
"type": "string",
"description": "生日"
},
"brokeragePrice": {
"type": "number",
"description": "佣金金额"
},
"cardId": {
"type": "string",
"description": "身份证号码"
},
"cleanTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"experience": {
"type": "integer",
"format": "int32",
"description": "用户剩余经验"
},
"groupId": {
"type": "string",
"description": "用户分组id"
},
"integral": {
"type": "number",
"description": "用户剩余积分"
},
"isPromoter": {
"type": "boolean",
"description": "是否为推广员"
},
"lastIp": {
"type": "string",
"description": "最后一次登录ip"
},
"lastLoginTime": {
"type": "string",
"format": "date-time",
"description": "最后一次登录时间"
},
"level": {
"type": "integer",
"format": "int32",
"description": "等级"
},
"loginType": {
"type": "string",
"description": "用户登陆类型,h5,wechat,routine"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"nickname": {
"type": "string",
"description": "用户昵称"
},
"nowMoney": {
"type": "number",
"description": "用户余额"
},
"partnerId": {
"type": "integer",
"format": "int32",
"description": "合伙人id"
},
"path": {
"type": "string",
"description": "用户推广等级"
},
"payCount": {
"type": "integer",
"format": "int32",
"description": "用户购买次数"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"realName": {
"type": "string",
"description": "真实姓名"
},
"signNum": {
"type": "integer",
"format": "int32",
"description": "连续签到天数"
},
"spreadCount": {
"type": "integer",
"format": "int32",
"description": "下级人数"
},
"spreadTime": {
"type": "string",
"format": "date-time",
"description": "推广员关联时间"
},
"spreadUid": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"status": {
"type": "boolean",
"description": "1为正常,0为禁止"
},
"subscribe": {
"type": "boolean",
"description": "是否关注公众号"
},
"tagId": {
"type": "string",
"description": "用户标签id"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"userType": {
"type": "string",
"description": "用户类型"
}
},
"title": "User对象",
"description": "用户表",
"$$ref": "#/definitions/User对象"
},
"verifyStatus": {
"type": "integer",
"format": "int32",
"description": "核销开关"
}
},
"title": "SystemStoreStaffResponse对象",
"description": "门店店员表",
"$$ref": "#/definitions/SystemStoreStaffResponse对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemStoreStaffResponse对象»",
"$$ref": "#/definitions/CommonPage«SystemStoreStaffResponse对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemStoreStaffResponse对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemStoreStaffResponse对象»»"
}
}
}
}
},
"/api/admin/system/store/staff/delete": {
"get": {
"tags": [
"设置 -- 提货点 -- 核销员"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/store/staff/save": {
"post": {
"tags": [
"设置 -- 提货点 -- 核销员"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "门店店员表",
"schema": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "店员头像"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"staffName": {
"type": "string",
"description": "店员名称"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"storeId": {
"type": "integer",
"format": "int32",
"description": "门店id"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "微信用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"verifyStatus": {
"type": "integer",
"format": "int32",
"description": "核销开关"
}
},
"title": "SystemStoreStaff对象",
"description": "门店店员表",
"$$ref": "#/definitions/SystemStoreStaff对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/store/staff/info": {
"get": {
"tags": [
"设置 -- 提货点 -- 核销员"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"avatar": {
"type": "string",
"description": "店员头像"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32"
},
"phone": {
"type": "string",
"description": "手机号码"
},
"staffName": {
"type": "string",
"description": "店员名称"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"storeId": {
"type": "integer",
"format": "int32",
"description": "门店id"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "微信用户id"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"verifyStatus": {
"type": "integer",
"format": "int32",
"description": "核销开关"
}
},
"title": "SystemStoreStaff对象",
"description": "门店店员表",
"$$ref": "#/definitions/SystemStoreStaff对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemStoreStaff对象»",
"$$ref": "#/definitions/CommonResult«SystemStoreStaff对象»"
}
}
}
}
},
"/api/admin/system/store/order/list": {
"post": {
"tags": [
"设置 -- 提货点 -- 核销订单"
],
"summary": "分页列表",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "data",
"in": "query",
"required": false,
"description": "时间",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "storeId",
"in": "query",
"required": false,
"description": "核销点ID",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"list": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"backIntegral": {
"type": "number",
"description": "给用户退了多少积分"
},
"clerkName": {
"type": "string",
"description": "店员名称"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"gainIntegral": {
"type": "number",
"description": "消费赚取积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "订单ID"
},
"isDel": {
"type": "boolean",
"description": "是否删除"
},
"isSystemDel": {
"type": "boolean",
"description": "后台是否删除"
},
"mark": {
"type": "string",
"description": "用户备注"
},
"orderId": {
"type": "string",
"description": "订单号"
},
"paid": {
"type": "boolean",
"description": "支付状态"
},
"payPostage": {
"type": "number",
"description": "支付邮费"
},
"payPrice": {
"type": "number",
"description": "实际支付金额"
},
"payTime": {
"type": "string",
"format": "date-time",
"description": "支付时间"
},
"payType": {
"type": "string",
"description": "支付方式"
},
"payTypeStr": {
"type": "string",
"description": "支付方式"
},
"productList": {
"type": "array",
"description": "商品信息",
"items": {
"type": "object",
"properties": {
"info": {
"type": "object",
"properties": {
"addTime": {
"type": "string"
},
"attrStatus": {
"type": "boolean",
"description": "商品是否有效"
},
"bargainId": {
"type": "integer",
"format": "int32",
"description": "砍价id"
},
"brokerage": {
"type": "number",
"description": "一级分佣"
},
"brokerageTwo": {
"type": "number",
"description": "二级分佣"
},
"cartNum": {
"type": "integer",
"format": "int32",
"description": "商品数量"
},
"combinationId": {
"type": "integer",
"format": "int32",
"description": "拼团id"
},
"costPrice": {
"type": "number"
},
"id": {
"type": "integer",
"format": "int64",
"description": "购物车表ID"
},
"isNew": {
"type": "boolean",
"description": "是否为立即购买"
},
"isReply": {
"type": "integer",
"format": "int32"
},
"productAttrUnique": {
"type": "string",
"description": "商品属性"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品ID"
},
"productInfo": {
"type": "object",
"properties": {
"attrInfo": {
"type": "object",
"properties": {
"attrValue": {
"type": "string",
"description": "产品属性值和属性名对应关系"
},
"barCode": {
"type": "string",
"description": "商品条码"
},
"brokerage": {
"type": "number",
"description": "一级返佣"
},
"brokerageTwo": {
"type": "number",
"description": "二级返佣"
},
"cost": {
"type": "number",
"description": "成本价"
},
"id": {
"type": "integer",
"format": "int32",
"description": "attrId"
},
"image": {
"type": "string",
"description": "图片"
},
"otPrice": {
"type": "number",
"description": "原价"
},
"price": {
"type": "number",
"description": "属性金额"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品ID"
},
"quota": {
"type": "integer",
"format": "int32",
"description": "活动限购数量"
},
"quotaShow": {
"type": "integer",
"format": "int32",
"description": "活动限购数量显示"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "属性对应的库存"
},
"suk": {
"type": "string",
"description": "商品属性索引值 (attr_value|attr_value[|....])"
},
"type": {
"type": "integer",
"format": "int32",
"description": "活动类型 0=商品,1=秒杀,2=砍价,3=拼团"
},
"unique": {
"type": "string",
"description": "唯一值"
},
"volume": {
"type": "number",
"description": "体积"
},
"weight": {
"type": "number",
"description": "重量"
}
},
"title": "StoreProductAttrValue对象",
"description": "商品属性值表",
"$$ref": "#/definitions/StoreProductAttrValue对象"
},
"barCode": {
"type": "string",
"description": "商品条码(一维码)"
},
"cateId": {
"type": "string",
"description": "分类id"
},
"cost": {
"type": "number",
"description": "成本价"
},
"giveIntegral": {
"type": "number",
"description": "获得积分"
},
"id": {
"type": "integer",
"format": "int32",
"description": "商品id"
},
"image": {
"type": "string",
"description": "商品图片"
},
"isPostage": {
"type": "boolean",
"description": "是否包邮"
},
"isSub": {
"type": "boolean",
"description": "是否单独分佣"
},
"keyword": {
"type": "string",
"description": "关键字"
},
"merId": {
"type": "integer",
"format": "int32",
"description": "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)"
},
"otPrice": {
"type": "number",
"description": "市场价"
},
"postage": {
"type": "number",
"description": "邮费"
},
"price": {
"type": "number",
"description": "商品价格"
},
"sales": {
"type": "integer",
"format": "int32",
"description": "销量"
},
"sliderImage": {
"type": "string",
"description": "轮播图"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"stock": {
"type": "integer",
"format": "int32",
"description": "库存"
},
"storeInfo": {
"type": "string",
"description": "商品简介"
},
"storeName": {
"type": "string",
"description": "商品名称"
},
"tempId": {
"type": "integer",
"format": "int32",
"description": "运费模板ID"
},
"unitName": {
"type": "string",
"description": "单位名"
},
"vipPrice": {
"type": "number",
"description": "会员价格"
}
},
"title": "StoreProductCartProductInfoResponse对象",
"description": "商品信息,购物车列表使用",
"$$ref": "#/definitions/StoreProductCartProductInfoResponse对象"
},
"seckillId": {
"type": "integer",
"format": "int32",
"description": "秒杀商品ID"
},
"truePrice": {
"type": "number"
},
"trueStock": {
"type": "integer",
"format": "int32"
},
"type": {
"type": "string",
"description": "类型"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户ID"
},
"vipTruePrice": {
"type": "number"
}
},
"title": "StoreCartResponse",
"description": "购物车ListResponse",
"$$ref": "#/definitions/StoreCartResponse"
},
"orderId": {
"type": "integer",
"format": "int32",
"description": "订单id"
},
"productId": {
"type": "integer",
"format": "int32",
"description": "商品ID"
},
"unique": {
"type": "string",
"description": "唯一id"
}
},
"title": "StoreOrderInfoVo对象",
"description": "订单购物详情表",
"$$ref": "#/definitions/StoreOrderInfoVo对象"
}
},
"realName": {
"type": "string",
"description": "用户姓名"
},
"refundPrice": {
"type": "number",
"description": "退款金额"
},
"refundReason": {
"type": "string",
"description": "不退款的理由"
},
"refundReasonTime": {
"type": "string",
"format": "date-time",
"description": "退款时间"
},
"refundReasonWap": {
"type": "string",
"description": "前台退款原因"
},
"refundReasonWapExplain": {
"type": "string",
"description": "退款用户说明"
},
"refundReasonWapImg": {
"type": "string",
"description": "退款图片"
},
"remark": {
"type": "string",
"description": "管理员备注"
},
"spreadInfo": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "推广人id"
},
"name": {
"type": "string",
"description": "推广人姓名"
}
},
"title": "StoreOrderSpreadInfoResponse对象",
"description": "推广人信息",
"$$ref": "#/definitions/StoreOrderSpreadInfoResponse对象"
},
"status": {
"type": "boolean",
"description": "订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款)"
},
"statusStr": {
"type": "object",
"description": "订单状态",
"additionalProperties": {
"type": "string"
}
},
"storeName": {
"type": "string",
"description": "门店名称"
},
"totalPostage": {
"type": "number",
"description": "邮费"
},
"totalPrice": {
"type": "number",
"description": "订单总价"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户id"
},
"useIntegral": {
"type": "number",
"description": "使用积分"
},
"userPhone": {
"type": "string",
"description": "用户电话"
}
},
"title": "StoreOrderItemResponse对象",
"description": "核销订单",
"$$ref": "#/definitions/StoreOrderItemResponse对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«StoreOrderItemResponse对象»",
"$$ref": "#/definitions/CommonPage«StoreOrderItemResponse对象»"
},
"orderTotalPrice": {
"type": "number",
"description": "订单总金额"
},
"refundTotal": {
"type": "integer",
"format": "int32",
"description": "退款总单数"
},
"refundTotalPrice": {
"type": "number",
"description": "退款总金额"
},
"total": {
"type": "integer",
"format": "int64",
"description": "订单总数量"
}
},
"title": "SystemWriteOffOrderResponse对象",
"description": "核销订单",
"$$ref": "#/definitions/SystemWriteOffOrderResponse对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemWriteOffOrderResponse对象»",
"$$ref": "#/definitions/CommonResult«SystemWriteOffOrderResponse对象»"
}
}
}
}
},
"/api/admin/system/role/testMenu": {
"get": {
"tags": [
"设置 -- 权限管理 -- 身份管理"
],
"summary": "TestMenu",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
}
},
"title": "CommonResult",
"$$ref": "#/definitions/CommonResult"
}
}
}
}
},
"/api/admin/system/role/update": {
"post": {
"tags": [
"设置 -- 权限管理 -- 身份管理"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "level",
"in": "query",
"required": false,
"description": "身份管理名称",
"type": "string"
},
{
"name": "roleName",
"in": "query",
"required": false,
"description": "身份管理名称",
"type": "string"
},
{
"name": "rules",
"in": "query",
"required": false,
"description": "身份管理权限(menus_id)",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/role/list": {
"get": {
"tags": [
"设置 -- 权限管理 -- 身份管理"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "createTime",
"in": "query",
"required": false,
"description": "创建时间",
"type": "string"
},
{
"name": "level",
"in": "query",
"required": false,
"description": "身份管理名称",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "roleName",
"in": "query",
"required": false,
"description": "身份管理名称",
"type": "string"
},
{
"name": "rules",
"in": "query",
"required": false,
"description": "身份管理权限(menus_id)",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
},
{
"name": "updateTime",
"in": "query",
"required": false,
"description": "修改时间",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "身份管理id"
},
"level": {
"type": "integer",
"format": "int32"
},
"roleName": {
"type": "string",
"description": "身份管理名称"
},
"rules": {
"type": "string",
"description": "身份管理权限(menus_id)"
},
"status": {
"type": "boolean",
"description": "状态"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "SystemRole对象",
"description": "身份管理表",
"$$ref": "#/definitions/SystemRole对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemRole对象»",
"$$ref": "#/definitions/CommonPage«SystemRole对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemRole对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemRole对象»»"
}
}
}
}
},
"/api/admin/system/role/delete": {
"get": {
"tags": [
"设置 -- 权限管理 -- 身份管理"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/role/save": {
"post": {
"tags": [
"设置 -- 权限管理 -- 身份管理"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "level",
"in": "query",
"required": false,
"description": "身份管理名称",
"type": "string"
},
{
"name": "roleName",
"in": "query",
"required": false,
"description": "身份管理名称",
"type": "string"
},
{
"name": "rules",
"in": "query",
"required": false,
"description": "身份管理权限(menus_id)",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/role/menu": {
"get": {
"tags": [
"设置 -- 权限管理 -- 身份管理"
],
"summary": "菜单",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"child": {
"type": "array",
"items": {
"originalRef": "CategoryTreeVo",
"$ref": "#/definitions/CategoryTreeVo"
}
},
"extra": {
"type": "string",
"description": "扩展字段"
},
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "分类名称"
},
"path": {
"type": "string",
"description": "路径"
},
"pid": {
"type": "integer",
"format": "int32",
"description": "父级ID"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态, 0正常,1失效"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型,类型,1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置"
},
"url": {
"type": "string",
"description": "地址"
}
},
"title": "CategoryTreeVo",
"$$ref": "#/definitions/CategoryTreeVo"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«List«CategoryTreeVo»»",
"$$ref": "#/definitions/CommonResult«List«CategoryTreeVo»»"
}
}
}
}
},
"/api/admin/system/role/info": {
"get": {
"tags": [
"设置 -- 权限管理 -- 身份管理"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "身份管理id"
},
"level": {
"type": "integer",
"format": "int32"
},
"roleName": {
"type": "string",
"description": "身份管理名称"
},
"rules": {
"type": "string",
"description": "身份管理权限(menus_id)"
},
"status": {
"type": "boolean",
"description": "状态"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "SystemRole对象",
"description": "身份管理表",
"$$ref": "#/definitions/SystemRole对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemRole对象»",
"$$ref": "#/definitions/CommonResult«SystemRole对象»"
}
}
}
}
},
"/api/admin/express/shipping/region/list": {
"get": {
"tags": [
"设置 -- 物流 -- 付费"
],
"summary": "根据模板id查询数据",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "tempId",
"in": "query",
"required": false,
"description": "tempId",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"cityId",
"first",
"firstPrice",
"renewal",
"renewalPrice"
],
"properties": {
"cityId": {
"type": "string",
"example": "1,2,3,4",
"description": "城市ID, 多个逗号分割。全国 all"
},
"first": {
"type": "number",
"example": 0.1,
"description": "首件"
},
"firstPrice": {
"type": "number",
"example": 0.1,
"description": "首件运费"
},
"renewal": {
"type": "number",
"example": 0.1,
"description": "续件"
},
"renewalPrice": {
"type": "number",
"example": 0.1,
"description": "续件运费"
},
"title": {
"type": "string",
"description": "城市名称描述"
},
"uniqid": {
"type": "string",
"description": "分组唯一值"
}
},
"title": "ShippingTemplatesRegionRequest对象",
"description": "付费",
"$$ref": "#/definitions/ShippingTemplatesRegionRequest对象"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«List«ShippingTemplatesRegionRequest对象»»",
"$$ref": "#/definitions/CommonResult«List«ShippingTemplatesRegionRequest对象»»"
}
}
}
}
},
"/api/admin/express/shipping/free/list": {
"get": {
"tags": [
"设置 -- 物流 -- 免费"
],
"summary": "根据模板id查询数据",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "tempId",
"in": "query",
"required": false,
"description": "tempId",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"cityId",
"number",
"price"
],
"properties": {
"cityId": {
"type": "string",
"example": "1,2,3,4",
"description": "城市ID, 多个逗号分割。 全国 all"
},
"number": {
"type": "integer",
"format": "int32",
"example": 1,
"description": "包邮件数"
},
"price": {
"type": "number",
"example": 0.1,
"description": "包邮金额"
},
"title": {
"type": "string",
"description": "城市名称描述"
}
},
"title": "ShippingTemplatesFreeRequest对象",
"description": "免费",
"$$ref": "#/definitions/ShippingTemplatesFreeRequest对象"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«List«ShippingTemplatesFreeRequest对象»»",
"$$ref": "#/definitions/CommonResult«List«ShippingTemplatesFreeRequest对象»»"
}
}
}
}
},
"/api/admin/express/update": {
"post": {
"tags": [
"设置 -- 物流 -- 公司"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "code",
"in": "query",
"required": false,
"description": "快递公司简称",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "快递ID",
"type": "string"
},
{
"name": "isShow",
"in": "query",
"required": false,
"description": "是否显示",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "快递公司全称",
"type": "string"
},
{
"name": "sort",
"in": "query",
"required": false,
"description": "排序",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/express/list": {
"get": {
"tags": [
"设置 -- 物流 -- 公司"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "isShow",
"in": "query",
"required": false,
"description": "是否显示",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "快递公司简称"
},
"id": {
"type": "integer",
"format": "int32",
"description": "快递公司id"
},
"isShow": {
"type": "boolean",
"description": "是否显示"
},
"name": {
"type": "string",
"description": "快递公司全称"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
}
},
"title": "Express对象",
"description": "快递公司表",
"$$ref": "#/definitions/Express对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«Express对象»",
"$$ref": "#/definitions/CommonPage«Express对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«Express对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«Express对象»»"
}
}
}
}
},
"/api/admin/express/delete": {
"get": {
"tags": [
"设置 -- 物流 -- 公司"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "快递ID",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/express/save": {
"post": {
"tags": [
"设置 -- 物流 -- 公司"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "code",
"in": "query",
"required": false,
"description": "快递公司简称",
"type": "string"
},
{
"name": "isShow",
"in": "query",
"required": false,
"description": "是否显示",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "快递公司全称",
"type": "string"
},
{
"name": "sort",
"in": "query",
"required": false,
"description": "排序",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/express/info": {
"get": {
"tags": [
"设置 -- 物流 -- 公司"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "快递ID",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "快递公司简称"
},
"id": {
"type": "integer",
"format": "int32",
"description": "快递公司id"
},
"isShow": {
"type": "boolean",
"description": "是否显示"
},
"name": {
"type": "string",
"description": "快递公司全称"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
}
},
"title": "Express对象",
"description": "快递公司表",
"$$ref": "#/definitions/Express对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«Express对象»",
"$$ref": "#/definitions/CommonResult«Express对象»"
}
}
}
}
},
"/api/admin/express/shipping/templates/update": {
"post": {
"tags": [
"设置 -- 物流 -- 模板"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "模板",
"schema": {
"type": "object",
"required": [
"appoint",
"name",
"shippingTemplatesFreeRequestList",
"shippingTemplatesRegionRequestList",
"type"
],
"properties": {
"appoint": {
"type": "boolean",
"example": false,
"description": "指定包邮"
},
"name": {
"type": "string",
"description": "模板名称"
},
"shippingTemplatesFreeRequestList": {
"type": "array",
"description": "指定包邮设置",
"items": {
"type": "object",
"required": [
"cityId",
"number",
"price"
],
"properties": {
"cityId": {
"type": "string",
"example": "1,2,3,4",
"description": "城市ID, 多个逗号分割。 全国 all"
},
"number": {
"type": "integer",
"format": "int32",
"example": 1,
"description": "包邮件数"
},
"price": {
"type": "number",
"example": 0.1,
"description": "包邮金额"
},
"title": {
"type": "string",
"description": "城市名称描述"
}
},
"title": "ShippingTemplatesFreeRequest对象",
"description": "免费",
"$$ref": "#/definitions/ShippingTemplatesFreeRequest对象"
}
},
"shippingTemplatesRegionRequestList": {
"type": "array",
"description": "配送区域及运费",
"items": {
"type": "object",
"required": [
"cityId",
"first",
"firstPrice",
"renewal",
"renewalPrice"
],
"properties": {
"cityId": {
"type": "string",
"example": "1,2,3,4",
"description": "城市ID, 多个逗号分割。全国 all"
},
"first": {
"type": "number",
"example": 0.1,
"description": "首件"
},
"firstPrice": {
"type": "number",
"example": 0.1,
"description": "首件运费"
},
"renewal": {
"type": "number",
"example": 0.1,
"description": "续件"
},
"renewalPrice": {
"type": "number",
"example": 0.1,
"description": "续件运费"
},
"title": {
"type": "string",
"description": "城市名称描述"
},
"uniqid": {
"type": "string",
"description": "分组唯一值"
}
},
"title": "ShippingTemplatesRegionRequest对象",
"description": "付费",
"$$ref": "#/definitions/ShippingTemplatesRegionRequest对象"
}
},
"sort": {
"type": "integer",
"format": "int32",
"example": 0,
"description": "排序"
},
"type": {
"type": "integer",
"format": "int32",
"example": 1,
"description": "计费方式 1(按件数), 2(按重量),3(按体积)"
}
},
"title": "ShippingTemplatesRequest对象",
"description": "模板",
"$$ref": "#/definitions/ShippingTemplatesRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/express/shipping/templates/list": {
"get": {
"tags": [
"设置 -- 物流 -- 模板"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "模板名称",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"appoint": {
"type": "boolean",
"description": "指定包邮"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "编号"
},
"name": {
"type": "string",
"description": "模板名称"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"type": {
"type": "integer",
"format": "int32",
"description": "计费方式"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "ShippingTemplates对象",
"$$ref": "#/definitions/ShippingTemplates对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«ShippingTemplates对象»",
"$$ref": "#/definitions/CommonPage«ShippingTemplates对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«ShippingTemplates对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«ShippingTemplates对象»»"
}
}
}
}
},
"/api/admin/express/shipping/templates/delete": {
"get": {
"tags": [
"设置 -- 物流 -- 模板"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/express/shipping/templates/save": {
"post": {
"tags": [
"设置 -- 物流 -- 模板"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "模板",
"schema": {
"type": "object",
"required": [
"appoint",
"name",
"shippingTemplatesFreeRequestList",
"shippingTemplatesRegionRequestList",
"type"
],
"properties": {
"appoint": {
"type": "boolean",
"example": false,
"description": "指定包邮"
},
"name": {
"type": "string",
"description": "模板名称"
},
"shippingTemplatesFreeRequestList": {
"type": "array",
"description": "指定包邮设置",
"items": {
"type": "object",
"required": [
"cityId",
"number",
"price"
],
"properties": {
"cityId": {
"type": "string",
"example": "1,2,3,4",
"description": "城市ID, 多个逗号分割。 全国 all"
},
"number": {
"type": "integer",
"format": "int32",
"example": 1,
"description": "包邮件数"
},
"price": {
"type": "number",
"example": 0.1,
"description": "包邮金额"
},
"title": {
"type": "string",
"description": "城市名称描述"
}
},
"title": "ShippingTemplatesFreeRequest对象",
"description": "免费",
"$$ref": "#/definitions/ShippingTemplatesFreeRequest对象"
}
},
"shippingTemplatesRegionRequestList": {
"type": "array",
"description": "配送区域及运费",
"items": {
"type": "object",
"required": [
"cityId",
"first",
"firstPrice",
"renewal",
"renewalPrice"
],
"properties": {
"cityId": {
"type": "string",
"example": "1,2,3,4",
"description": "城市ID, 多个逗号分割。全国 all"
},
"first": {
"type": "number",
"example": 0.1,
"description": "首件"
},
"firstPrice": {
"type": "number",
"example": 0.1,
"description": "首件运费"
},
"renewal": {
"type": "number",
"example": 0.1,
"description": "续件"
},
"renewalPrice": {
"type": "number",
"example": 0.1,
"description": "续件运费"
},
"title": {
"type": "string",
"description": "城市名称描述"
},
"uniqid": {
"type": "string",
"description": "分组唯一值"
}
},
"title": "ShippingTemplatesRegionRequest对象",
"description": "付费",
"$$ref": "#/definitions/ShippingTemplatesRegionRequest对象"
}
},
"sort": {
"type": "integer",
"format": "int32",
"example": 0,
"description": "排序"
},
"type": {
"type": "integer",
"format": "int32",
"example": 1,
"description": "计费方式 1(按件数), 2(按重量),3(按体积)"
}
},
"title": "ShippingTemplatesRequest对象",
"description": "模板",
"$$ref": "#/definitions/ShippingTemplatesRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/express/shipping/templates/info": {
"get": {
"tags": [
"设置 -- 物流 -- 模板"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"appoint": {
"type": "boolean",
"description": "指定包邮"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "编号"
},
"name": {
"type": "string",
"description": "模板名称"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"type": {
"type": "integer",
"format": "int32",
"description": "计费方式"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "修改时间"
}
},
"title": "ShippingTemplates对象",
"$$ref": "#/definitions/ShippingTemplates对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«ShippingTemplates对象»",
"$$ref": "#/definitions/CommonResult«ShippingTemplates对象»"
}
}
}
}
},
"/api/admin/system/log/update": {
"post": {
"tags": [
"设置 -- 管理员操作记录"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "操作时间",
"type": "string"
},
{
"name": "adminId",
"in": "query",
"required": false,
"description": "管理员id",
"type": "string"
},
{
"name": "adminName",
"in": "query",
"required": false,
"description": "管理员姓名",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "管理员操作记录ID",
"type": "string"
},
{
"name": "ip",
"in": "query",
"required": false,
"description": "登录IP",
"type": "string"
},
{
"name": "merchantId",
"in": "query",
"required": false,
"description": "商户id",
"type": "string"
},
{
"name": "method",
"in": "query",
"required": false,
"description": "访问类型",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "行为",
"type": "string"
},
{
"name": "path",
"in": "query",
"required": false,
"description": "链接",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/log/list": {
"get": {
"tags": [
"设置 -- 管理员操作记录"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "操作时间",
"type": "string"
},
{
"name": "adminId",
"in": "query",
"required": false,
"description": "管理员id",
"type": "string"
},
{
"name": "adminName",
"in": "query",
"required": false,
"description": "管理员姓名",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "管理员操作记录ID",
"type": "string"
},
{
"name": "ip",
"in": "query",
"required": false,
"description": "登录IP",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "merchantId",
"in": "query",
"required": false,
"description": "商户id",
"type": "string"
},
{
"name": "method",
"in": "query",
"required": false,
"description": "访问类型",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "行为",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "path",
"in": "query",
"required": false,
"description": "链接",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"addTime": {
"type": "integer",
"format": "int32",
"description": "操作时间"
},
"adminId": {
"type": "integer",
"format": "int32",
"description": "管理员id"
},
"adminName": {
"type": "string",
"description": "管理员姓名"
},
"id": {
"type": "integer",
"format": "int32",
"description": "管理员操作记录ID"
},
"ip": {
"type": "string",
"description": "登录IP"
},
"merchantId": {
"type": "integer",
"format": "int32",
"description": "商户id"
},
"method": {
"type": "string",
"description": "访问类型"
},
"page": {
"type": "string",
"description": "行为"
},
"path": {
"type": "string",
"description": "链接"
},
"type": {
"type": "string",
"description": "类型"
}
},
"title": "SystemLog对象",
"description": "管理员操作记录表",
"$$ref": "#/definitions/SystemLog对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemLog对象»",
"$$ref": "#/definitions/CommonPage«SystemLog对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemLog对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemLog对象»»"
}
}
}
}
},
"/api/admin/system/log/delete": {
"get": {
"tags": [
"设置 -- 管理员操作记录"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/log/save": {
"post": {
"tags": [
"设置 -- 管理员操作记录"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "addTime",
"in": "query",
"required": false,
"description": "操作时间",
"type": "string"
},
{
"name": "adminId",
"in": "query",
"required": false,
"description": "管理员id",
"type": "string"
},
{
"name": "adminName",
"in": "query",
"required": false,
"description": "管理员姓名",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "管理员操作记录ID",
"type": "string"
},
{
"name": "ip",
"in": "query",
"required": false,
"description": "登录IP",
"type": "string"
},
{
"name": "merchantId",
"in": "query",
"required": false,
"description": "商户id",
"type": "string"
},
{
"name": "method",
"in": "query",
"required": false,
"description": "访问类型",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "行为",
"type": "string"
},
{
"name": "path",
"in": "query",
"required": false,
"description": "链接",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/log/info": {
"get": {
"tags": [
"设置 -- 管理员操作记录"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"addTime": {
"type": "integer",
"format": "int32",
"description": "操作时间"
},
"adminId": {
"type": "integer",
"format": "int32",
"description": "管理员id"
},
"adminName": {
"type": "string",
"description": "管理员姓名"
},
"id": {
"type": "integer",
"format": "int32",
"description": "管理员操作记录ID"
},
"ip": {
"type": "string",
"description": "登录IP"
},
"merchantId": {
"type": "integer",
"format": "int32",
"description": "商户id"
},
"method": {
"type": "string",
"description": "访问类型"
},
"page": {
"type": "string",
"description": "行为"
},
"path": {
"type": "string",
"description": "链接"
},
"type": {
"type": "string",
"description": "类型"
}
},
"title": "SystemLog对象",
"description": "管理员操作记录表",
"$$ref": "#/definitions/SystemLog对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemLog对象»",
"$$ref": "#/definitions/CommonResult«SystemLog对象»"
}
}
}
}
},
"/api/admin/system/group/update": {
"post": {
"tags": [
"设置 -- 组合数据"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "formId",
"in": "query",
"required": false,
"description": "form 表单 id",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "info",
"in": "query",
"required": false,
"description": "简介",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "数据组名称",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/group/list": {
"get": {
"tags": [
"设置 -- 组合数据"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "keywords",
"in": "query",
"required": false,
"description": "关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"formId": {
"type": "integer",
"format": "int32",
"description": "form 表单 id"
},
"id": {
"type": "integer",
"format": "int32",
"description": "组合数据ID"
},
"info": {
"type": "string",
"description": "简介"
},
"name": {
"type": "string",
"description": "数据组名称"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "SystemGroup对象",
"description": "组合数据表",
"$$ref": "#/definitions/SystemGroup对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemGroup对象»",
"$$ref": "#/definitions/CommonPage«SystemGroup对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemGroup对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemGroup对象»»"
}
}
}
}
},
"/api/admin/system/group/delete": {
"get": {
"tags": [
"设置 -- 组合数据"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/group/save": {
"post": {
"tags": [
"设置 -- 组合数据"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "formId",
"in": "query",
"required": false,
"description": "form 表单 id",
"type": "string"
},
{
"name": "info",
"in": "query",
"required": false,
"description": "简介",
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"description": "数据组名称",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/group/info": {
"get": {
"tags": [
"设置 -- 组合数据"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"formId": {
"type": "integer",
"format": "int32",
"description": "form 表单 id"
},
"id": {
"type": "integer",
"format": "int32",
"description": "组合数据ID"
},
"info": {
"type": "string",
"description": "简介"
},
"name": {
"type": "string",
"description": "数据组名称"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "SystemGroup对象",
"description": "组合数据表",
"$$ref": "#/definitions/SystemGroup对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemGroup对象»",
"$$ref": "#/definitions/CommonResult«SystemGroup对象»"
}
}
}
}
},
"/api/admin/system/group/data/update": {
"post": {
"tags": [
"设置 -- 组合数据 -- 详情"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "组合数据详情表",
"schema": {
"type": "object",
"properties": {
"form": {
"type": "object",
"required": [
"fields",
"id",
"sort"
],
"properties": {
"fields": {
"type": "array",
"description": "字段值列表",
"items": {
"type": "object",
"required": [
"name",
"title",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "字段名称"
},
"title": {
"type": "string",
"description": "字段显示文字"
},
"value": {
"type": "string",
"description": "字段值"
}
},
"title": "SystemFormItemCheckRequest对象",
"description": "表单字段明细",
"$$ref": "#/definitions/SystemFormItemCheckRequest对象"
}
},
"id": {
"type": "integer",
"format": "int32",
"description": "表单名称"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态(1:开启;0:关闭;)"
}
},
"title": "SystemFormCheckRequest对象",
"description": "整体保存表单数据",
"$$ref": "#/definitions/SystemFormCheckRequest对象"
},
"gid": {
"type": "integer",
"format": "int32",
"description": "对应的数据组id"
}
},
"title": "SystemGroupDataRequest对象",
"description": "组合数据详情表",
"$$ref": "#/definitions/SystemGroupDataRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/group/data/list": {
"get": {
"tags": [
"设置 -- 组合数据 -- 详情"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "gid",
"in": "query",
"required": false,
"description": "分组id",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态(1:开启;2:关闭;)",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"gid": {
"type": "integer",
"format": "int32",
"description": "对应的数据组id"
},
"id": {
"type": "integer",
"format": "int32",
"description": "组合数据详情ID"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "数据排序"
},
"status": {
"type": "boolean",
"description": "状态(1:开启;0:关闭;)"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"value": {
"type": "string",
"description": "数据组对应的数据值(json数据)"
}
},
"title": "SystemGroupData对象",
"description": "组合数据详情表",
"$$ref": "#/definitions/SystemGroupData对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemGroupData对象»",
"$$ref": "#/definitions/CommonPage«SystemGroupData对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemGroupData对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemGroupData对象»»"
}
}
}
}
},
"/api/admin/system/group/data/delete": {
"get": {
"tags": [
"设置 -- 组合数据 -- 详情"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/group/data/save": {
"post": {
"tags": [
"设置 -- 组合数据 -- 详情"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "组合数据详情表",
"schema": {
"type": "object",
"properties": {
"form": {
"type": "object",
"required": [
"fields",
"id",
"sort"
],
"properties": {
"fields": {
"type": "array",
"description": "字段值列表",
"items": {
"type": "object",
"required": [
"name",
"title",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "字段名称"
},
"title": {
"type": "string",
"description": "字段显示文字"
},
"value": {
"type": "string",
"description": "字段值"
}
},
"title": "SystemFormItemCheckRequest对象",
"description": "表单字段明细",
"$$ref": "#/definitions/SystemFormItemCheckRequest对象"
}
},
"id": {
"type": "integer",
"format": "int32",
"description": "表单名称"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "boolean",
"description": "状态(1:开启;0:关闭;)"
}
},
"title": "SystemFormCheckRequest对象",
"description": "整体保存表单数据",
"$$ref": "#/definitions/SystemFormCheckRequest对象"
},
"gid": {
"type": "integer",
"format": "int32",
"description": "对应的数据组id"
}
},
"title": "SystemGroupDataRequest对象",
"description": "组合数据详情表",
"$$ref": "#/definitions/SystemGroupDataRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/group/data/info": {
"get": {
"tags": [
"设置 -- 组合数据 -- 详情"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"gid": {
"type": "integer",
"format": "int32",
"description": "对应的数据组id"
},
"id": {
"type": "integer",
"format": "int32",
"description": "组合数据详情ID"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "数据排序"
},
"status": {
"type": "boolean",
"description": "状态(1:开启;0:关闭;)"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"value": {
"type": "string",
"description": "数据组对应的数据值(json数据)"
}
},
"title": "SystemGroupData对象",
"description": "组合数据详情表",
"$$ref": "#/definitions/SystemGroupData对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemGroupData对象»",
"$$ref": "#/definitions/CommonResult«SystemGroupData对象»"
}
}
}
}
},
"/api/admin/system/form/temp/update": {
"post": {
"tags": [
"设置 -- 表单模板"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"description": "表单模板",
"schema": {
"type": "object",
"required": [
"content",
"info",
"name"
],
"properties": {
"content": {
"type": "string",
"description": "表单内容"
},
"info": {
"type": "string",
"description": "表单简介"
},
"name": {
"type": "string",
"description": "表单名称"
}
},
"title": "SystemFormTempRequest对象",
"description": "表单模板",
"$$ref": "#/definitions/SystemFormTempRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/form/temp/list": {
"get": {
"tags": [
"设置 -- 表单模板"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "表单内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "表单模板id"
},
"info": {
"type": "string",
"description": "表单简介"
},
"name": {
"type": "string",
"description": "表单名称"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "SystemFormTemp对象",
"description": "表单模板",
"$$ref": "#/definitions/SystemFormTemp对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemFormTemp对象»",
"$$ref": "#/definitions/CommonPage«SystemFormTemp对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemFormTemp对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemFormTemp对象»»"
}
}
}
}
},
"/api/admin/system/form/temp/save": {
"post": {
"tags": [
"设置 -- 表单模板"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"description": "表单模板",
"schema": {
"type": "object",
"required": [
"content",
"info",
"name"
],
"properties": {
"content": {
"type": "string",
"description": "表单内容"
},
"info": {
"type": "string",
"description": "表单简介"
},
"name": {
"type": "string",
"description": "表单名称"
}
},
"title": "SystemFormTempRequest对象",
"description": "表单模板",
"$$ref": "#/definitions/SystemFormTempRequest对象"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/form/temp/info": {
"get": {
"tags": [
"设置 -- 表单模板"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "表单内容"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "表单模板id"
},
"info": {
"type": "string",
"description": "表单简介"
},
"name": {
"type": "string",
"description": "表单名称"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "SystemFormTemp对象",
"description": "表单模板",
"$$ref": "#/definitions/SystemFormTemp对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemFormTemp对象»",
"$$ref": "#/definitions/CommonResult«SystemFormTemp对象»"
}
}
}
}
},
"/api/admin/system/notice/update": {
"post": {
"tags": [
"设置 -- 通知记录 -- 通知模板"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "icon",
"in": "query",
"required": false,
"description": "图标",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "通知模板id",
"type": "string"
},
{
"name": "pushAdmin",
"in": "query",
"required": false,
"description": "通知管理员id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
},
{
"name": "tableTitle",
"in": "query",
"required": false,
"description": "通知数据",
"type": "string"
},
{
"name": "template",
"in": "query",
"required": false,
"description": "通知模板",
"type": "string"
},
{
"name": "title",
"in": "query",
"required": false,
"description": "通知标题",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "通知类型",
"type": "string"
},
{
"name": "url",
"in": "query",
"required": false,
"description": "链接",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/notice/list": {
"get": {
"tags": [
"设置 -- 通知记录 -- 通知模板"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "icon",
"in": "query",
"required": false,
"description": "图标",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "通知模板id",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "pushAdmin",
"in": "query",
"required": false,
"description": "通知管理员id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
},
{
"name": "tableTitle",
"in": "query",
"required": false,
"description": "通知数据",
"type": "string"
},
{
"name": "template",
"in": "query",
"required": false,
"description": "通知模板",
"type": "string"
},
{
"name": "title",
"in": "query",
"required": false,
"description": "通知标题",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "通知类型",
"type": "string"
},
{
"name": "url",
"in": "query",
"required": false,
"description": "链接",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"icon": {
"type": "string",
"description": "图标"
},
"id": {
"type": "integer",
"format": "int32",
"description": "通知模板id"
},
"pushAdmin": {
"type": "string",
"description": "通知管理员id"
},
"status": {
"type": "boolean",
"description": "状态"
},
"tableTitle": {
"type": "string",
"description": "通知数据"
},
"template": {
"type": "string",
"description": "通知模板"
},
"title": {
"type": "string",
"description": "通知标题"
},
"type": {
"type": "string",
"description": "通知类型"
},
"url": {
"type": "string",
"description": "链接"
}
},
"title": "SystemNotice对象",
"description": "通知模板表",
"$$ref": "#/definitions/SystemNotice对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemNotice对象»",
"$$ref": "#/definitions/CommonPage«SystemNotice对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemNotice对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemNotice对象»»"
}
}
}
}
},
"/api/admin/system/notice/delete": {
"get": {
"tags": [
"设置 -- 通知记录 -- 通知模板"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/notice/save": {
"post": {
"tags": [
"设置 -- 通知记录 -- 通知模板"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "icon",
"in": "query",
"required": false,
"description": "图标",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "通知模板id",
"type": "string"
},
{
"name": "pushAdmin",
"in": "query",
"required": false,
"description": "通知管理员id",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "状态",
"type": "string"
},
{
"name": "tableTitle",
"in": "query",
"required": false,
"description": "通知数据",
"type": "string"
},
{
"name": "template",
"in": "query",
"required": false,
"description": "通知模板",
"type": "string"
},
{
"name": "title",
"in": "query",
"required": false,
"description": "通知标题",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "通知类型",
"type": "string"
},
{
"name": "url",
"in": "query",
"required": false,
"description": "链接",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/notice/info": {
"get": {
"tags": [
"设置 -- 通知记录 -- 通知模板"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"icon": {
"type": "string",
"description": "图标"
},
"id": {
"type": "integer",
"format": "int32",
"description": "通知模板id"
},
"pushAdmin": {
"type": "string",
"description": "通知管理员id"
},
"status": {
"type": "boolean",
"description": "状态"
},
"tableTitle": {
"type": "string",
"description": "通知数据"
},
"template": {
"type": "string",
"description": "通知模板"
},
"title": {
"type": "string",
"description": "通知标题"
},
"type": {
"type": "string",
"description": "通知类型"
},
"url": {
"type": "string",
"description": "链接"
}
},
"title": "SystemNotice对象",
"description": "通知模板表",
"$$ref": "#/definitions/SystemNotice对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemNotice对象»",
"$$ref": "#/definitions/CommonResult«SystemNotice对象»"
}
}
}
}
},
"/api/admin/user/topUpLog/list": {
"get": {
"tags": [
"财务 -- 充值"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "endTime",
"in": "query",
"required": false,
"description": "结束时间",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "paid",
"in": "query",
"required": false,
"description": "是否充值",
"type": "string"
},
{
"name": "startTime",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "-1 未通过 0 审核中 1 已提现",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"createTime": {
"type": "string",
"format": "date-time",
"description": "充值时间"
},
"givePrice": {
"type": "number",
"description": "购买赠送金额"
},
"id": {
"type": "integer",
"format": "int32"
},
"orderId": {
"type": "string",
"description": "订单号"
},
"paid": {
"type": "boolean",
"description": "是否充值"
},
"payTime": {
"type": "string",
"format": "date-time",
"description": "充值支付时间"
},
"price": {
"type": "number",
"description": "充值金额"
},
"rechargeType": {
"type": "string",
"description": "充值类型"
},
"refundPrice": {
"type": "number",
"description": "退款金额"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "充值用户UID"
}
},
"title": "UserRecharge对象",
"description": "用户充值表",
"$$ref": "#/definitions/UserRecharge对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«UserRecharge对象»",
"$$ref": "#/definitions/CommonPage«UserRecharge对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«UserRecharge对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«UserRecharge对象»»"
}
}
}
}
},
"/api/admin/user/topUpLog/delete": {
"get": {
"tags": [
"财务 -- 充值"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/user/topUpLog/balance": {
"post": {
"tags": [
"财务 -- 充值"
],
"summary": "提现总金额",
"consumes": [
"application/json"
],
"parameters": [],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"message": {
"type": "string"
}
},
"title": "CommonResult«HashMap«string,bigdecimal»»",
"$$ref": "#/definitions/CommonResult«HashMap«string,bigdecimal»»"
}
}
}
}
},
"/api/admin/finance/apply/update": {
"post": {
"tags": [
"财务 -- 提现申请"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "alipayCode",
"in": "query",
"required": false,
"description": "支付宝账号",
"type": "string"
},
{
"name": "bankCode",
"in": "query",
"required": false,
"description": "银行卡",
"type": "string"
},
{
"name": "bankname",
"in": "query",
"required": false,
"description": "提现银行名称",
"type": "string"
},
{
"name": "extractPrice",
"in": "query",
"required": false,
"description": "提现金额",
"type": "string"
},
{
"name": "extractType",
"in": "query",
"required": false,
"description": "提现方式| alipay=支付宝,bank=银行卡,weixin=微信",
"type": "string"
},
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "realName",
"in": "query",
"required": false,
"description": "姓名",
"type": "string"
},
{
"name": "wechat",
"in": "query",
"required": false,
"description": "微信号",
"type": "string"
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/finance/apply/list": {
"get": {
"tags": [
"财务 -- 提现申请"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "endTime",
"in": "query",
"required": false,
"description": "结束时间",
"type": "string"
},
{
"name": "extractType",
"in": "query",
"required": false,
"description": "bank = 银行卡 alipay = 支付宝wx=微信",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "startTime",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
},
{
"name": "status",
"in": "query",
"required": false,
"description": "-1 未通过 0 审核中 1 已提现",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alipayCode": {
"type": "string",
"description": "支付宝账号"
},
"balance": {
"type": "number",
"description": "金额"
},
"bankAddress": {
"type": "string",
"description": "开户地址"
},
"bankCode": {
"type": "string",
"description": "银行卡"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"extractPrice": {
"type": "number",
"description": "提现金额"
},
"extractType": {
"type": "string",
"description": "bank = 银行卡 alipay = 支付宝wx=微信"
},
"failMsg": {
"type": "string",
"description": "无效原因"
},
"failTime": {
"type": "string",
"format": "date-time",
"description": "失败时间"
},
"id": {
"type": "integer",
"format": "int32"
},
"mark": {
"type": "string",
"description": "备注"
},
"realName": {
"type": "string",
"description": "名称"
},
"status": {
"type": "integer",
"format": "int32",
"description": "-1 未通过 0 审核中 1 已提现"
},
"uid": {
"type": "integer",
"format": "int32"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
},
"wechat": {
"type": "string",
"description": "微信号"
}
},
"title": "UserExtract对象",
"description": "用户提现表",
"$$ref": "#/definitions/UserExtract对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«UserExtract对象»",
"$$ref": "#/definitions/CommonPage«UserExtract对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«UserExtract对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«UserExtract对象»»"
}
}
}
}
},
"/api/admin/finance/apply/balance": {
"post": {
"tags": [
"财务 -- 提现申请"
],
"summary": "提现总金额",
"consumes": [
"application/json"
],
"parameters": [],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"commissionTotal": {
"type": "number",
"description": "佣金总金额"
},
"toBeWithdrawn": {
"type": "number"
},
"unDrawn": {
"type": "number",
"description": "未提现"
},
"withdrawn": {
"type": "number",
"description": "已提现"
}
},
"title": "BalanceResponse对象",
"description": "提现金额",
"$$ref": "#/definitions/BalanceResponse对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«BalanceResponse对象»",
"$$ref": "#/definitions/CommonResult«BalanceResponse对象»"
}
}
}
}
},
"/api/admin/finance/founds/monitor/list/user": {
"get": {
"tags": [
"财务 -- 资金监控"
],
"summary": "佣金记录",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "endTime",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "max",
"in": "query",
"required": false,
"description": "最大佣金",
"type": "string"
},
{
"name": "min",
"in": "query",
"required": false,
"description": "最小佣金",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "sort",
"in": "query",
"required": false,
"description": "排序 asc/desc",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"brokerage": {
"type": "number",
"description": "账户佣金"
},
"nickname": {
"type": "string",
"description": "昵称"
},
"nowMoney": {
"type": "number",
"description": "账户余额"
},
"totalBrokerage": {
"type": "number",
"description": "账户总佣金"
},
"totalExtract": {
"type": "number",
"description": "提现总金额"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "充值用户UID"
}
},
"title": "UserFundsMonitor对象",
"description": "佣金",
"$$ref": "#/definitions/UserFundsMonitor对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«UserFundsMonitor对象»",
"$$ref": "#/definitions/CommonPage«UserFundsMonitor对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«UserFundsMonitor对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«UserFundsMonitor对象»»"
}
}
}
}
},
"/api/admin/finance/founds/monitor/list": {
"get": {
"tags": [
"财务 -- 资金监控"
],
"summary": "资金监控",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "category",
"in": "query",
"required": false,
"description": "类型",
"type": "string"
},
{
"name": "dateLimit",
"in": "query",
"required": false,
"description": "添加时间",
"type": "string"
},
{
"name": "keywords",
"in": "query",
"required": false,
"description": "搜索关键字",
"type": "string"
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "linkId",
"in": "query",
"required": false,
"description": "关联id",
"type": "string"
},
{
"name": "max",
"in": "query",
"required": false,
"description": "最大佣金",
"type": "string"
},
{
"name": "min",
"in": "query",
"required": false,
"description": "最小佣金",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "pm",
"in": "query",
"required": false,
"description": "操作类型",
"type": "string"
},
{
"name": "sort",
"in": "query",
"required": false,
"description": "排序 asc/desc",
"type": "string"
},
{
"name": "type",
"in": "query",
"required": false,
"description": "类型",
"type": "string"
},
{
"name": "uid",
"in": "query",
"required": false,
"description": "用户id list",
"type": "string"
},
{
"name": "userIdList",
"in": "query",
"required": false,
"description": "用户id list",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"add_time": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"balance": {
"type": "number",
"description": "剩余"
},
"category": {
"type": "string",
"description": "明细种类"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"id": {
"type": "integer",
"format": "int32",
"description": "用户账单id"
},
"linkId": {
"type": "string",
"description": "关联id"
},
"mark": {
"type": "string",
"description": "备注"
},
"nickName": {
"type": "string",
"description": "用户呢成"
},
"number": {
"type": "number",
"description": "明细数字"
},
"pm": {
"type": "integer",
"format": "int32",
"description": "0 = 支出 1 = 获得"
},
"status": {
"type": "integer",
"format": "int32",
"description": "0 = 带确定 1 = 有效 -1 = 无效"
},
"title": {
"type": "string",
"description": "账单标题"
},
"type": {
"type": "string",
"description": "明细类型"
},
"uid": {
"type": "integer",
"format": "int32",
"description": "用户uid"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
}
},
"title": "UserBill对象",
"description": "用户账单表",
"$$ref": "#/definitions/UserBill对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«UserBill对象»",
"$$ref": "#/definitions/CommonPage«UserBill对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«UserBill对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«UserBill对象»»"
}
}
}
}
},
"/api/admin/system/attachment/update": {
"post": {
"tags": [
"附件管理"
],
"summary": "修改",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "query",
"required": false,
"description": "id",
"type": "string"
},
{
"name": "root",
"in": "body",
"schema": {
"type": "object",
"properties": {
"attDir": {
"type": "string",
"description": "附件路径"
},
"attId": {
"type": "integer",
"format": "int32"
},
"attSize": {
"type": "string",
"description": "附件大小"
},
"attType": {
"type": "string",
"description": "附件类型"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"imageType": {
"type": "integer",
"format": "int32",
"description": "图片上传类型 1本地 2七牛云 3OSS 4COS "
},
"model": {
"type": "string",
"description": "模块,store"
},
"moduleType": {
"type": "integer",
"format": "int32",
"description": "图片上传模块类型 1 后台上传 2 用户生成"
},
"name": {
"type": "string",
"description": "附件名称"
},
"rootDir": {
"type": "string",
"description": "服务器上存储的绝对地址"
},
"sattDir": {
"type": "string",
"description": "压缩图片路径"
}
},
"title": "SystemAttachmentRequest",
"$$ref": "#/definitions/SystemAttachmentRequest"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/attachment/list": {
"get": {
"tags": [
"附件管理"
],
"summary": "分页列表",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "limit",
"in": "query",
"required": false,
"description": "每页数量",
"type": "string"
},
{
"name": "page",
"in": "query",
"required": false,
"description": "页码",
"type": "string"
},
{
"name": "pid",
"in": "query",
"required": false,
"description": "pid",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attDir": {
"type": "string",
"description": "附件路径"
},
"attId": {
"type": "integer",
"format": "int32"
},
"attSize": {
"type": "string",
"description": "附件大小"
},
"attType": {
"type": "string",
"description": "附件类型"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"imageType": {
"type": "integer",
"format": "int32",
"description": "图片上传类型 1本地 2七牛云 3OSS 4COS "
},
"name": {
"type": "string",
"description": "附件名称"
},
"pid": {
"type": "integer",
"format": "int32",
"description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列"
},
"sattDir": {
"type": "string",
"description": "压缩图片路径"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "SystemAttachment对象",
"description": "附件管理表",
"$$ref": "#/definitions/SystemAttachment对象"
}
},
"page": {
"type": "integer",
"format": "int32"
},
"total": {
"type": "integer",
"format": "int64"
},
"totalPage": {
"type": "integer",
"format": "int32"
}
},
"title": "CommonPage«SystemAttachment对象»",
"$$ref": "#/definitions/CommonPage«SystemAttachment对象»"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«CommonPage«SystemAttachment对象»»",
"$$ref": "#/definitions/CommonResult«CommonPage«SystemAttachment对象»»"
}
}
}
}
},
"/api/admin/system/attachment/delete/{ids}": {
"get": {
"tags": [
"附件管理"
],
"summary": "删除",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "ids",
"in": "path",
"description": "ids",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/attachment/save": {
"post": {
"tags": [
"附件管理"
],
"summary": "新增",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"schema": {
"type": "object",
"properties": {
"attDir": {
"type": "string",
"description": "附件路径"
},
"attId": {
"type": "integer",
"format": "int32"
},
"attSize": {
"type": "string",
"description": "附件大小"
},
"attType": {
"type": "string",
"description": "附件类型"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"imageType": {
"type": "integer",
"format": "int32",
"description": "图片上传类型 1本地 2七牛云 3OSS 4COS "
},
"model": {
"type": "string",
"description": "模块,store"
},
"moduleType": {
"type": "integer",
"format": "int32",
"description": "图片上传模块类型 1 后台上传 2 用户生成"
},
"name": {
"type": "string",
"description": "附件名称"
},
"rootDir": {
"type": "string",
"description": "服务器上存储的绝对地址"
},
"sattDir": {
"type": "string",
"description": "压缩图片路径"
}
},
"title": "SystemAttachmentRequest",
"$$ref": "#/definitions/SystemAttachmentRequest"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/attachment/move": {
"post": {
"tags": [
"附件管理"
],
"summary": "更改图片目录",
"consumes": [
"application/json"
],
"parameters": [
{
"name": "root",
"in": "body",
"schema": {
"type": "object",
"properties": {
"attrId": {
"type": "integer",
"format": "int32"
},
"pid": {
"type": "integer",
"format": "int32"
}
},
"title": "SystemAttachmentMoveRequest",
"$$ref": "#/definitions/SystemAttachmentMoveRequest"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«string»",
"$$ref": "#/definitions/CommonResult«string»"
}
}
}
}
},
"/api/admin/system/attachment/info/{id}": {
"get": {
"tags": [
"附件管理"
],
"summary": "详情",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "id",
"required": true,
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"properties": {
"attDir": {
"type": "string",
"description": "附件路径"
},
"attId": {
"type": "integer",
"format": "int32"
},
"attSize": {
"type": "string",
"description": "附件大小"
},
"attType": {
"type": "string",
"description": "附件类型"
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"imageType": {
"type": "integer",
"format": "int32",
"description": "图片上传类型 1本地 2七牛云 3OSS 4COS "
},
"name": {
"type": "string",
"description": "附件名称"
},
"pid": {
"type": "integer",
"format": "int32",
"description": "分类ID 0编辑器,1商品图片,2拼团图片,3砍价图片,4秒杀图片,5文章图片,6组合数据图,7前台用户,8微信系列"
},
"sattDir": {
"type": "string",
"description": "压缩图片路径"
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "更新时间"
}
},
"title": "SystemAttachment对象",
"description": "附件管理表",
"$$ref": "#/definitions/SystemAttachment对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«SystemAttachment对象»",
"$$ref": "#/definitions/CommonResult«SystemAttachment对象»"
}
}
}
}
},
"/api/admin/validate/code/check": {
"get": {
"tags": [
"验证码服务"
],
"summary": "检测验证码",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "code",
"in": "query",
"required": false,
"description": "code",
"type": "string"
},
{
"name": "key",
"in": "query",
"required": false,
"description": "key",
"type": "string"
},
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«boolean»",
"$$ref": "#/definitions/CommonResult«boolean»"
}
}
}
}
},
"/api/admin/validate/code/get": {
"get": {
"tags": [
"验证码服务"
],
"summary": "获取验证码",
"consumes": [
"text/plain"
],
"parameters": [
{
"name": "raw",
"in": "body",
"description": "raw paramter",
"schema": {
"type": "string",
"format": "binary"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"data": {
"type": "object",
"required": [
"code",
"key"
],
"properties": {
"code": {
"type": "string",
"description": "code"
},
"key": {
"type": "string",
"description": "key"
}
},
"title": "ValidateCode对象",
"description": "验证码类",
"$$ref": "#/definitions/ValidateCode对象"
},
"message": {
"type": "string"
}
},
"title": "CommonResult«ValidateCode对象»",
"$$ref": "#/definitions/CommonResult«ValidateCode对象»"
}
}
}
}
}
}
}