hibaby后台


新增内容上传接口

[TOC]

简要描述
  • 成长探索页新增内容上传接口
请求URL
  • /backstage/grow/explore/add
请求方式
  • POST
参数
参数名 必选 类型 说明
explore string 探索内容字典
name string 内容名称
introduction string 简介
cover string 封面图
audio string 音频文件
passage string 对应文稿
reason_list string 原因列表
solve_list string 解决思路列表
id int 原因/解决思路id
content string 原因/解决思路内容
evaluation string 评测字典
gauge_id int 量表id
recommendation string 推荐语
前端json示例
{
  "explore": {
    "name": "内容名称",
    "introduction": "简介",
    "cover": "封面",
    "audio": "音频文件",
    "passage": "文稿"
  },
  "reason_list": [
    {
      "id": "1",
      "content": "原因内容"
    },
    {
      "id": "2",
      "content": "原因内容2"
    }
  ],
  "solve_list": [
    {
      "id": "1",
      "content": "解决思路内容"
    },
    {
      "id": "2",
      "content": "解决思路内容2"
    }
  ],
  "evaluation": {
    "gauge_id": "量表id",
    "recommendation": "推荐语"
  }
}
返回示例
{
    "code": 200,
    "message": "保存成功",
    "data": {}
}

页面列表

ITEM_HTML