Kaynağa Gözat

短剧

master
huangjiajun 5 gün önce
ebeveyn
işleme
2e65ef9ccd
3 değiştirilmiş dosya ile 237 ekleme ve 0 silme
  1. +89
    -0
      docs/docs.go
  2. +89
    -0
      docs/swagger.json
  3. +59
    -0
      docs/swagger.yaml

+ 89
- 0
docs/docs.go Dosyayı Görüntüle

@@ -336,6 +336,44 @@ const docTemplate = `{
}
}
},
"/api/advertising/getPlayletBasic": {
"get": {
"description": "广告管理-短剧设置-信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"广告管理"
],
"summary": "广告管理-短剧设置-信息",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
}
],
"responses": {
"200": {
"description": "具体数据",
"schema": {
"$ref": "#/definitions/md.AdvertisingBaseResp"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/advertising/list": {
"post": {
"description": "广告管理-广告列表",
@@ -524,6 +562,53 @@ const docTemplate = `{
}
}
},
"/api/advertising/setPlayletBasic": {
"post": {
"description": "广告管理-短剧设置-信息保存",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"广告管理"
],
"summary": "广告管理-短剧设置-信息保存",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "(分页信息必填)",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.AdvertisingBase"
}
}
],
"responses": {
"200": {
"description": "具体数据",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/article/cate/del": {
"post": {
"description": "分类列表-分类删除",
@@ -14246,6 +14331,10 @@ const docTemplate = `{
"md.PlayletBaseData": {
"type": "object",
"properties": {
"day_one_count": {
"type": "string",
"example": "每天每个短剧解锁次数"
},
"first_count": {
"type": "string",
"example": "首次可观看集数"


+ 89
- 0
docs/swagger.json Dosyayı Görüntüle

@@ -328,6 +328,44 @@
}
}
},
"/api/advertising/getPlayletBasic": {
"get": {
"description": "广告管理-短剧设置-信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"广告管理"
],
"summary": "广告管理-短剧设置-信息",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
}
],
"responses": {
"200": {
"description": "具体数据",
"schema": {
"$ref": "#/definitions/md.AdvertisingBaseResp"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/advertising/list": {
"post": {
"description": "广告管理-广告列表",
@@ -516,6 +554,53 @@
}
}
},
"/api/advertising/setPlayletBasic": {
"post": {
"description": "广告管理-短剧设置-信息保存",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"广告管理"
],
"summary": "广告管理-短剧设置-信息保存",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "(分页信息必填)",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.AdvertisingBase"
}
}
],
"responses": {
"200": {
"description": "具体数据",
"schema": {
"type": "string"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/article/cate/del": {
"post": {
"description": "分类列表-分类删除",
@@ -14238,6 +14323,10 @@
"md.PlayletBaseData": {
"type": "object",
"properties": {
"day_one_count": {
"type": "string",
"example": "每天每个短剧解锁次数"
},
"first_count": {
"type": "string",
"example": "首次可观看集数"


+ 59
- 0
docs/swagger.yaml Dosyayı Görüntüle

@@ -3528,6 +3528,9 @@ definitions:
type: object
md.PlayletBaseData:
properties:
day_one_count:
example: 每天每个短剧解锁次数
type: string
first_count:
example: 首次可观看集数
type: string
@@ -5512,6 +5515,31 @@ paths:
summary: 广告管理-广告设置-信息
tags:
- 广告管理
/api/advertising/getPlayletBasic:
get:
consumes:
- application/json
description: 广告管理-短剧设置-信息
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
produces:
- application/json
responses:
"200":
description: 具体数据
schema:
$ref: '#/definitions/md.AdvertisingBaseResp'
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 广告管理-短剧设置-信息
tags:
- 广告管理
/api/advertising/list:
post:
consumes:
@@ -5636,6 +5664,37 @@ paths:
summary: 广告管理-广告设置-信息保存
tags:
- 广告管理
/api/advertising/setPlayletBasic:
post:
consumes:
- application/json
description: 广告管理-短剧设置-信息保存
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
- description: (分页信息必填)
in: body
name: req
required: true
schema:
$ref: '#/definitions/md.AdvertisingBase'
produces:
- application/json
responses:
"200":
description: 具体数据
schema:
type: string
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 广告管理-短剧设置-信息保存
tags:
- 广告管理
/api/article/cate/del:
post:
consumes:


Yükleniyor…
İptal
Kaydet