574 lines
14 KiB
JSON
574 lines
14 KiB
JSON
{
|
|
"openapi": "3.0.1",
|
|
"info": {
|
|
"title": "默认模块",
|
|
"description": "",
|
|
"version": "1.0.0"
|
|
},
|
|
"tags": [],
|
|
"paths": {
|
|
"/api/v1/admin/activity/group_buy/type/list": {
|
|
"get": {
|
|
"summary": "获取拼团活动类型列表",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "page",
|
|
"in": "query",
|
|
"description": "获取页码 默认 1",
|
|
"required": false,
|
|
"example": "",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "count",
|
|
"in": "query",
|
|
"description": "获取条数 默认 10",
|
|
"required": false,
|
|
"example": "",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "key",
|
|
"in": "query",
|
|
"description": "关键词筛选",
|
|
"required": false,
|
|
"example": "",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "expire_time",
|
|
"in": "query",
|
|
"description": "过期时间筛选 时间戳",
|
|
"required": false,
|
|
"example": 0,
|
|
"schema": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
{
|
|
"name": "tag",
|
|
"in": "query",
|
|
"description": "标签筛选",
|
|
"required": false,
|
|
"example": "",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"example": "Bearer {{token}}",
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "Bearer {{token}}"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
},
|
|
"/api/v1/admin/activity/group_buy/type/tags": {
|
|
"get": {
|
|
"summary": "获取拼团活动类型tag列表",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"example": "Bearer {{token}}",
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "Bearer {{token}}"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
},
|
|
"/api/v1/admin/activity/group_buy/type/add": {
|
|
"post": {
|
|
"summary": "新增拼团活动类型",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"example": "Bearer {{token}}",
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "Bearer {{token}}"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"description": "名称",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"note": {
|
|
"description": "备注",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"price": {
|
|
"description": "价格 /分",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"renew_price": {
|
|
"description": "续费价格 /分",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"max_person": {
|
|
"description": "拼团需要人数",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"tag": {
|
|
"description": "标签",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"expire_time": {
|
|
"description": "活动过期时间",
|
|
"example": 0,
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
},
|
|
"/api/v1/admin/activity/group_buy/type/update": {
|
|
"post": {
|
|
"summary": "修改拼团活动类型",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"example": "Bearer {{token}}",
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "Bearer {{token}}"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"description": "ID 编号",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "名称",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"note": {
|
|
"description": "备注",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"price": {
|
|
"description": "价格 /分",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"renew_price": {
|
|
"description": "续费价格 /分",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"max_person": {
|
|
"description": "拼团需要人数",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"tag": {
|
|
"description": "标签",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"expire_time": {
|
|
"description": "活动过期时间",
|
|
"example": 0,
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
},
|
|
"/api/v1/admin/activity/group_buy/type/delete": {
|
|
"delete": {
|
|
"summary": "删除拼团活动类型",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "query",
|
|
"description": "",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"example": "Bearer {{token}}",
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "Bearer {{token}}"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
},
|
|
"/api/v1/admin/activity/group_buy/check": {
|
|
"get": {
|
|
"summary": "检查队伍列表",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"required": false,
|
|
"example": "{{Token}}",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
},
|
|
"/api/v1/admin/activity/group_buy/add_random_user": {
|
|
"post": {
|
|
"summary": "为队伍添加随机伪人",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"required": false,
|
|
"example": "{{Token}}",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"group_buy_id": {
|
|
"example": "",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
},
|
|
"/api/v1/admin/activity/group_buy/add_random_group": {
|
|
"post": {
|
|
"summary": "创建随机伪人队伍",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"required": false,
|
|
"example": "{{Token}}",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"description": "队伍名称",
|
|
"example": "",
|
|
"type": "string"
|
|
},
|
|
"group_buy_type_id": {
|
|
"description": "队伍类型id",
|
|
"example": "",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
},
|
|
"/api/v1/admin/activity/group_buy/export_idc_info": {
|
|
"get": {
|
|
"summary": "导出成功队伍信息",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"required": false,
|
|
"example": "{{Token}}",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
},
|
|
"/api/v1/admin/activity/group_buy/set_order": {
|
|
"post": {
|
|
"summary": "为指定队伍下发订单",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "Authorization",
|
|
"in": "header",
|
|
"description": "",
|
|
"example": "Bearer {{token}}",
|
|
"schema": {
|
|
"type": "string",
|
|
"default": "Bearer {{token}}"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"group_buy_id": {
|
|
"description": "队伍id",
|
|
"example": "",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": []
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {},
|
|
"responses": {},
|
|
"securitySchemes": {}
|
|
},
|
|
"servers": [],
|
|
"security": []
|
|
} |