企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## **服务器推送家长留言、远程命令给电子班牌** 修改familyId **接口描述** * 极光推送+百度推送+友盟推送,将家长留言、远程命令推送给电子班牌 **请求方式** * **push** **推送参数** | 参数名 | 类型 | 说明 | | --- | --- | --- | | status| string | 0,成功| | studentId| string | 学生id | | familyId| string | 发信息人id| | type| string | voice语音,word文字,command命令| | info| string | abc.com/1.mp3,文本格式,如果是语音传语音url| | seconds| number| 语音多少秒,如果传输的是文字,不传此字段| **推送平台参数** | 百度推送 | 参数 | | --- | --- | | APP ID | 10512750 | | API KEY | 5XGHk1dkmeB4xTM9pu86pQ28i4nPmv32| | SECRET KEY | vdYi8q1VPK3vKVpqMXAFB7U7jXGnTV0G| | 极光推送| 参数 | | AppKey | 7e223b92c7c8fabe984e2883 | | Master Secret | 367551be6399b6f5d992fb91 | | 友盟推送| 参数 | | AppKey | 5ddf4cd24ca3570f00000504| | Umeng Message Secret| 45bfe740c69b992d066a2b3b0107da65| | App Master Secret| cujeenoqrx5z6zqx7fxgxos2giqgbmbn| **如果是文字** ``` {             "messageId":"",             "studentId":"",             "familyId":"",             "type":"word",             "info":"这里必须是文本" } ``` **如果是语音** ``` {             "messageId":"",             "studentId":"",             "familyId":"",             "type":"voice",             "info":"https://www.abc.cn/1.mp3",//音频url             "seconds":"" } ``` **如果是命令** #### 单次定时开关机 ``` { "id": "", "type": "command", "info": "setPowerOnly", "data": { "timeOn": "111222",//时间戳 "timeOff": "111222" } } ``` **如果是命令** #### 星期定时循环开关机 ``` { "id": "", "type": "command", "info": "setPower", "data": { "week": "1,2,3",//1,周一 "timeOn": "08:00",//HH:MM "timeOff": "23:00" } } ``` **如果是命令** #### 更新指定接口 ``` { "id": "", "type": "command", "info": "getStudentUrl", "data": } ```