send() send(array $param) : mixed|void 发送消息通知 Parameters array $param 参数 Throws \think\Exception Returns mixed|void
sendSms() sendSms( $msgType, $templateParams, $wxappId) : boolean 发送短信提醒 Parameters $msgType $templateParams $wxappId Throws \think\Exception Returns boolean
sendWxSubMsg() sendWxSubMsg( $wxappId, $params) : mixed 发送微信订阅消息 Parameters $wxappId $params Throws \app\common\exception\BaseException \think\Exception \think\exception\DbException Returns mixed
getSubstr() getSubstr( $content, integer $length = 20) : boolean|string 字符串截取前20字符 [用于兼容thing数据类型] Parameters $content integer $length Returns boolean|string
onSendWxSubMsg() onSendWxSubMsg() : boolean|mixed 微信订阅消息通知用户 Throws \app\common\exception\BaseException \think\Exception \think\exception\DbException Returns boolean|mixed
getTemplateData() getTemplateData( $withdrawInfo, $template) : array 生成消息内容 Parameters $withdrawInfo $template Returns array
getTemplateByStatus() getTemplateByStatus( $withdrawInfo) : boolean 根据提现状态获取对应的消息模板 Parameters $withdrawInfo Returns boolean