作者 王智

baoxiu22

... ... @@ -206,14 +206,14 @@ class Common extends Api
public function message()
{
$options = [
'app_id' => 'wx3b0bb7a5d1e0722d', // AppID
'secret' => '104ac7dbcc57b778a7319d35d38ed9cd',
'app_id' => 'wx2adc803c6e8fd596', // AppID
'secret' => '925976a669063b7d26fd6527a1ed5197',
];
$app = new Application($options);
$notice = $app->notice;
$messageId = $notice->send([
'touser' => 'obtaR4h9EvsynCHU_oGOYwb2tshs',
'touser' => 'obtaR4jKqAts5e4Rp6ofEw7ftaes',
'template_id' => '3KUsUjjFnf3sf3meWIkAiVFhMM5U7Jgn3kyJFMFNPVc',
// 'url' => 'xxxxx',
'data' => [
... ...