\App\Libs\WechatWechat

Summary

Methods
Properties
Constants
__construct()
mini()
sendOne()
app()
bind_qrcode()
$app
$appMini
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$app

$app : 

Type

$appMini

$appMini : 

Type

Methods

__construct()

__construct() 

mini()

mini() : mixed

小程序

Returns

mixed

sendOne()

sendOne(  $message,   $open_id) : array|boolean|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string

发送消息

Parameters

$message

消息

$open_id

openid

Throws

\EasyWeChat\Kernel\Exceptions\InvalidArgumentException
\EasyWeChat\Kernel\Exceptions\RuntimeException

Returns

array|boolean|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string

app()

app() : \EasyWeChat\OfficialAccount\Application

公众号

Returns

\EasyWeChat\OfficialAccount\Application

bind_qrcode()

bind_qrcode(  $student_id) : array

创建用户绑定二维码

Parameters

$student_id

Returns

array