...
|
...
|
@@ -143,12 +143,13 @@ class PayController extends WeChatBaseController |
|
|
$app = new Application($this->options);
|
|
|
$notice = $app->notice;
|
|
|
$userId = Db::name('users')->where('id',$order['users_id'])->find()['open_id'];
|
|
|
$templateId = 'ngqIpbwh8bUfcSsECmogfXcV14J0tQlEpBO27izEYtY';
|
|
|
$templateId = 'IS6PSpoH7gFVH8Z_MJeXBKQe0g8PEYnhFxBe0-p2Y5A';
|
|
|
$url = '';
|
|
|
$data = array(
|
|
|
"first" => "恭喜你购买成功!",
|
|
|
"name" => "巧克力",
|
|
|
"price" => "39.8元",
|
|
|
"first" => "恭喜您点亮福牌成功!",
|
|
|
"keyword1" => $light['price'],
|
|
|
"keyword2" => $light['term'],
|
|
|
"keyword3" => date($order['end_time']),
|
|
|
"remark" => "欢迎再次购买!",
|
|
|
);
|
|
|
|
...
|
...
|
|