本来想给小程序加个定时提醒功能,奈何没这么流量支持,所以只能做个记录。
在微信公众平台-订阅消息中获取
wx.requestSubscribeMessage(Object object)
编写 getOpenId 的云函数
...
Talk is cheap,show me the code.
index.wxml
index.js
获取openid云函数-index.js
推送云函数
定时发送需要用到下面的定时触发器
定时触发器
触发器timer云函数,Talk is cheap,show me the code.
index.js
config.json
在 timer云函数 中右击“上传触发器”
在 timer云函数 中右击“删除触发器”