瀏覽代碼

上级信息

tmp
huangjiajun 1 周之前
父節點
當前提交
82df8677f6
共有 3 個文件被更改,包括 373 次插入3 次删除
  1. +139
    -1
      docs/docs.go
  2. +139
    -1
      docs/swagger.json
  3. +95
    -1
      docs/swagger.yaml

+ 139
- 1
docs/docs.go 查看文件

@@ -2403,6 +2403,35 @@ const docTemplate = `{
}
}
},
"/api/v1/memberCenter/parentInfo": {
"get": {
"description": "导师信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"会员中心"
],
"summary": "导师信息",
"responses": {
"200": {
"description": "登录成功返回",
"schema": {
"$ref": "#/definitions/md.ParentInfo"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/v1/memberCenter/updatePasscode": {
"post": {
"description": "修改支付宝密码",
@@ -2606,6 +2635,53 @@ const docTemplate = `{
}
}
},
"/api/v1/playlet/unlockNum": {
"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.PlayletUnlockRequest"
}
}
],
"responses": {
"200": {
"description": "具体数据",
"schema": {
"$ref": "#/definitions/md.PlayletUnlockResp"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/v1/pointsCenter/basic": {
"get": {
"description": "上部分基础信息(获取)",
@@ -4419,7 +4495,7 @@ const docTemplate = `{
},
"sign_time_secs": {
"description": "收益倒计时秒数",
"type": "number"
"type": "integer"
}
}
},
@@ -5476,17 +5552,62 @@ const docTemplate = `{
}
}
},
"md.ParentInfo": {
"type": "object",
"properties": {
"head_img": {
"type": "string",
"example": "头像"
},
"id": {
"type": "string",
"example": "个人ID号"
},
"invite_code": {
"type": "string",
"example": "邀请码"
},
"level_name": {
"type": "string",
"example": "等级"
},
"nickname": {
"type": "string",
"example": "昵称"
},
"phone": {
"type": "string",
"example": "手机号"
},
"wechat_account": {
"type": "string",
"example": "微信号"
}
}
},
"md.PlayletBaseData": {
"type": "object",
"properties": {
"android_adv_id": {
"type": "string",
"example": "安卓激励视频广告位"
},
"coin_name": {
"type": "string",
"example": "积分名称"
},
"day_one_count": {
"type": "string",
"example": "每天每个短剧解锁次数"
},
"first_count": {
"type": "string",
"example": "首次可观看集数"
},
"ios_adv_id": {
"type": "string",
"example": "iOS激励视频广告位"
},
"leave": {
"type": "string",
"example": "剩余次数"
@@ -5518,6 +5639,23 @@ const docTemplate = `{
}
}
},
"md.PlayletUnlockRequest": {
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "短剧id"
}
}
},
"md.PlayletUnlockResp": {
"type": "object",
"properties": {
"num": {
"type": "string"
}
}
},
"md.PointsCenterGetBasicResp": {
"type": "object",
"properties": {


+ 139
- 1
docs/swagger.json 查看文件

@@ -2396,6 +2396,35 @@
}
}
},
"/api/v1/memberCenter/parentInfo": {
"get": {
"description": "导师信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"会员中心"
],
"summary": "导师信息",
"responses": {
"200": {
"description": "登录成功返回",
"schema": {
"$ref": "#/definitions/md.ParentInfo"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/v1/memberCenter/updatePasscode": {
"post": {
"description": "修改支付宝密码",
@@ -2599,6 +2628,53 @@
}
}
},
"/api/v1/playlet/unlockNum": {
"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.PlayletUnlockRequest"
}
}
],
"responses": {
"200": {
"description": "具体数据",
"schema": {
"$ref": "#/definitions/md.PlayletUnlockResp"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/v1/pointsCenter/basic": {
"get": {
"description": "上部分基础信息(获取)",
@@ -4412,7 +4488,7 @@
},
"sign_time_secs": {
"description": "收益倒计时秒数",
"type": "number"
"type": "integer"
}
}
},
@@ -5469,17 +5545,62 @@
}
}
},
"md.ParentInfo": {
"type": "object",
"properties": {
"head_img": {
"type": "string",
"example": "头像"
},
"id": {
"type": "string",
"example": "个人ID号"
},
"invite_code": {
"type": "string",
"example": "邀请码"
},
"level_name": {
"type": "string",
"example": "等级"
},
"nickname": {
"type": "string",
"example": "昵称"
},
"phone": {
"type": "string",
"example": "手机号"
},
"wechat_account": {
"type": "string",
"example": "微信号"
}
}
},
"md.PlayletBaseData": {
"type": "object",
"properties": {
"android_adv_id": {
"type": "string",
"example": "安卓激励视频广告位"
},
"coin_name": {
"type": "string",
"example": "积分名称"
},
"day_one_count": {
"type": "string",
"example": "每天每个短剧解锁次数"
},
"first_count": {
"type": "string",
"example": "首次可观看集数"
},
"ios_adv_id": {
"type": "string",
"example": "iOS激励视频广告位"
},
"leave": {
"type": "string",
"example": "剩余次数"
@@ -5511,6 +5632,23 @@
}
}
},
"md.PlayletUnlockRequest": {
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "短剧id"
}
}
},
"md.PlayletUnlockResp": {
"type": "object",
"properties": {
"num": {
"type": "string"
}
}
},
"md.PointsCenterGetBasicResp": {
"type": "object",
"properties": {


+ 95
- 1
docs/swagger.yaml 查看文件

@@ -339,7 +339,7 @@ definitions:
type: string
sign_time_secs:
description: 收益倒计时秒数
type: number
type: integer
type: object
md.BindAlipayAccountReq:
properties:
@@ -1071,14 +1071,47 @@ definitions:
nickname:
type: string
type: object
md.ParentInfo:
properties:
head_img:
example: 头像
type: string
id:
example: 个人ID号
type: string
invite_code:
example: 邀请码
type: string
level_name:
example: 等级
type: string
nickname:
example: 昵称
type: string
phone:
example: 手机号
type: string
wechat_account:
example: 微信号
type: string
type: object
md.PlayletBaseData:
properties:
android_adv_id:
example: 安卓激励视频广告位
type: string
coin_name:
example: 积分名称
type: string
day_one_count:
example: 每天每个短剧解锁次数
type: string
first_count:
example: 首次可观看集数
type: string
ios_adv_id:
example: iOS激励视频广告位
type: string
leave:
example: 剩余次数
type: string
@@ -1101,6 +1134,17 @@ definitions:
example: 广告id
type: string
type: object
md.PlayletUnlockRequest:
properties:
id:
example: 短剧id
type: string
type: object
md.PlayletUnlockResp:
properties:
num:
type: string
type: object
md.PointsCenterGetBasicResp:
properties:
egg_point:
@@ -3247,6 +3291,25 @@ paths:
summary: 邀请链接
tags:
- 邀请海报
/api/v1/memberCenter/parentInfo:
get:
consumes:
- application/json
description: 导师信息
produces:
- application/json
responses:
"200":
description: 登录成功返回
schema:
$ref: '#/definitions/md.ParentInfo'
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 导师信息
tags:
- 会员中心
/api/v1/memberCenter/updatePasscode:
post:
consumes:
@@ -3380,6 +3443,37 @@ paths:
summary: 短剧-保存
tags:
- 短视频
/api/v1/playlet/unlockNum:
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.PlayletUnlockRequest'
produces:
- application/json
responses:
"200":
description: 具体数据
schema:
$ref: '#/definitions/md.PlayletUnlockResp'
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 短剧-解锁数量
tags:
- 短视频
/api/v1/pointsCenter/basic:
get:
consumes:


Loading…
取消
儲存