|
@@ -90,14 +90,14 @@ class UserSpread extends BaseModel
|
|
|
// @file_put_contents('quanju.txt', json_encode($group)."-模版消息1\r\n", 8);
|
|
// @file_put_contents('quanju.txt', json_encode($group)."-模版消息1\r\n", 8);
|
|
|
// $res= WechatTemplateService::sendTemplate($openid, WechatTemplateService::ORDER_POSTAGE_SUCCESS, $group, $url);
|
|
// $res= WechatTemplateService::sendTemplate($openid, WechatTemplateService::ORDER_POSTAGE_SUCCESS, $group, $url);
|
|
|
// @file_put_contents('quanju.txt', json_encode($res)."-模版消息返回1\r\n", 8);
|
|
// @file_put_contents('quanju.txt', json_encode($res)."-模版消息返回1\r\n", 8);
|
|
|
-
|
|
|
|
|
|
|
+ $time = date('Y-m-d H:i:s', time());
|
|
|
$group = array_merge($group, [
|
|
$group = array_merge($group, [
|
|
|
// 'thing1' => $user['nickname'], //用户姓名
|
|
// 'thing1' => $user['nickname'], //用户姓名
|
|
|
// 'character_string2' => $order['pay_type'] == 'offline' ? '线下支付' : date('Y/m/d H:i', $order['pay_time']),
|
|
// 'character_string2' => $order['pay_type'] == 'offline' ? '线下支付' : date('Y/m/d H:i', $order['pay_time']),
|
|
|
// 'phone_number21' => $order['user_address'],
|
|
// 'phone_number21' => $order['user_address'],
|
|
|
// 'phone_number21' => '15356590576',
|
|
// 'phone_number21' => '15356590576',
|
|
|
'character_string7' => $user['account'], //用户账号
|
|
'character_string7' => $user['account'], //用户账号
|
|
|
- 'time3' => time(), //绑定时间
|
|
|
|
|
|
|
+ 'time3' => $time, //绑定时间
|
|
|
]);
|
|
]);
|
|
|
|
|
|
|
|
@file_put_contents('quanju.txt', $openid."-openid\r\n", 8);
|
|
@file_put_contents('quanju.txt', $openid."-openid\r\n", 8);
|