多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/weibo/settinglist` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |schoolid|否|int|学校id(学生身份必传)|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": { "id": 121, "schoolid": "1033144472557270091", "studentdynamic": 2,//学生发布动态 "studentsaturday": 1, "studentsunday": 1, "studentstart": "02:00", "studentend": "15:00", "teacherdynamic": 1,//名师动态 "teachersaturday": 0, "teachersunday": 0, "teacherstart": "00:00", "teacherend": "00:00", "followdynamic": 1,//关注人动态 "followsaturday": 0, "followsunday": 0, "followstart": "00:00", "followend": "00:00", "classdynamic": 1,//班校动态 "classsaturday": 0, "classsunday": 0, "classstart": "00:00", "classend": "00:00", "sameagedynamic": 0,//同龄人动态 "sameagesaturday": 0, "sameagesunday": 0, "sameagestart": "00:00", "sameageend": "00:00", "spacedynamic": 1,//个人空间 "spacesaturday": 0, "spacesunday": 0, "spacestart": "00:00", "spaceend": "00:00", "article": 1,//咨询模块 "articlestart": "00:00", "articleend": "00:00", "articlesaturday": 0, "articlesunday": 0, "parentsdynamic": 1,//家长动态 "parentsstart": "00:00", "parentsend": "00:00", "parentssaturday": 0, "parentssunday": 0, "parentpub": 1,//家长发布动态 "parentpubsaturday": 0, "parentpubsunday": 0, "parentstart": "00:00", "parentend": "00:00", "parentsdynamic": 1,//家长动态 "parentsstart": "00:00", "parentsend": "00:00", "parentssaturday": 0, "parentssunday": 0, "parentclass": 1,//家长班校动态 "parentclasssaturday": 0, "parentclasssunday": 0, "parentclassstart": "00:00", "parentclassend": "00:00", "parentfllow": 1,//家长关注人动态 "parentfllowsaturday": 0, "parentfllowsunday": 0, "parentfllowstart": "00:00", "parentfllowend": "00:00", "teacherpub": 1,//老师发布动态 "teacherpubsaturday": 0, "teacherpubsunday": 0, "teacherpubstart": "00:00", "teacherpubend": "00:00", "teacherfllow": 1,//老师关注人动态 "teacherfllowsaturday": 0, "teacherfllowsunday": 0, "teacherfllowstart": "00:00", "teacherfllowend": "00:00", "teacherclass": 1,//老师班校动态 "teacherclasssaturday": 0, "teacherclasssunday": 0, "teacherclassstart": "00:00", "teacherclassend": "00:00", "teachersub": 1,//老师学科动态 "teachersubsaturday": 0, "teachersubsunday": 0, "teachersubstart": "00:00", "teachersubend": "00:00", "teacherarea": 1,//老师区域动态 "teacherareasaturday": 0, "teacherareasunday": 0, "teacherareastart": "00:00", "teacherareaend": "00:00" } } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2021-06-09 09:24:11 * * * * *