8.查看和更新专辑、讲师的详细介绍

8.查看和更新专辑、讲师的详细介绍

8.1.查看专辑介绍信息

  • 请求
    /album/maintext
    参数:
    id 专辑编号

  • 响应

        {
                        "code": 0,
                        "data": {
                            "count": 1,
                            "ts": 1532509753,
                            "items": [
                                {
                                    "maintext": "我的专辑介绍"
                                }
                            ]
                        }
            }

8.2.更新专辑介绍信息

  • 请求
    /album/setMaintext
    参数:
    id 专辑编号
    maintext 详细介绍内容
    注意POST提交: maintext可能包含富文本、URL连接等信息,请使用POST方法提交。

  • 响应

        {
                        "code": 0,
            }

8.3.查看用户介绍信息

  • 请求
    /users/maintext
    参数:
    id 用户编号

  • 响应

        {
                        "code": 0,
                        "data": {
                            "count": 1,
                            "ts": 1532509753,
                            "items": [
                                {
                                    "maintext": "我的介绍"
                                }
                            ]
                        }
            }

8.4.更新用户介绍信息

用于教师更新自己的介绍信息。

  • 请求
    /users/setMaintext
    参数:
    maintext 详细介绍内容
    省略时表示要置空该值。
    注意POST提交: maintext可能包含富文本、URL连接等信息,请使用POST方法提交。

  • 响应

        {
                        "code": 0,
            }