dev-master
9999999-dev自用
Apache-2.0
The Requires
by kaikaige
extension yii2
1.0
1.0.0.0自用
Apache-2.0
The Requires
by kaikaige
extension yii2
自用
自用, (*1)
The preferred way to install this extension is through composer., (*2)
composer require "kaikaige/yii2-wxgz":"*"
vendor/kaikaige/yii2-wxgz/wx.sql
'components' => [ ... 'wx' => [ 'class' => 'kaikaige\wxgz\sdk\Wx', 'appid' => 'appid', 'secret' => 'xxxxxx', 'token' => 'xxxxxx', 'wxid' => 'xxxxxx' ] ... ]
发送模板消息, (*3)
$data = [ 'first' => ['value' => '恭喜您在下单成功!'], ]; $v = $this->wx->getMsg()->sendTemplate('oaByzwlXzenn5Lj2NEdAeIX9XJ-A', '3tmjfdpAQvnfN1pD3Pf7CP0vX4U45ACCEDdD8BXVzOs', $data, 'http://www.baidu.com')
自用
Apache-2.0
extension yii2
自用
Apache-2.0
extension yii2