讲师端-登陆token获取

接口URL

{youke-url}/index.php?c=session&a=instructorLogin

请求方式

POST

Content-Type

form-data

请求Body参数

参数 示例值 是否必填 参数描述
live_id uitsjxxkOwYMJUmXNO9Mb1EcHm0YjIYl 必填 频道ID
name js 必填 名字
password 123456 必填 密码

成功响应示例

{
    "code": 200,
    "msg": "success",
    "data": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiIsImp0aSI6IkdUdWIyNlR4ZFgzeGtnSng3NTFSam8zNUhWZGlIOUNLIn0.eyJpc3MiOiJ4aWFrZTEubXVkdS50diIsImF1ZCI6InhpYWtlMS5tdWR1LnR2IiwianRpIjoiR1R1YjI2VHhkWDN4a2dKeDc1MVJqbzM1SFZkaUg5Q0siLCJpYXQiOjE2MDgxMDQwNDIsImV4cCI6MTYwODE5MDQ0MiwiaWQiOjE0MDkwLCJhY2NvdW50X2lkIjoyOTcsIm5hbWUiOiJqcyIsInJvbGUiOiJpbnN0cnVjdG9yIiwiZnJvbSI6Im9yaWdpbiIsImV4dHJhIjpbXSwic2Vzc2lvbiI6IklmSDhTb0Z2NVZOTGpYd3NvN3V2WmpxY1J5TEpYTkpUIn0.NUZQ4V8shne-lMAyEjbLlAL7oUTozWDeiVWCcFSmayUXc8IJPmUZOtqk8vHh_e2ee4pPKZBKQkst6A54jyEfeA"
}
参数 示例值 参数描述
code 200 响应状态码
msg success 提示信息
data - 讲师token

results matching ""

    No results matching ""