...
|
...
|
@@ -100,6 +100,7 @@ class Index extends Api |
|
|
$user=Db::name("user")->find($order['user_id']);
|
|
|
$wct_user=Db::name("wct_user")->where("unionid",$user['unionid'])->find();
|
|
|
$wxopenid=$wct_user['wx_openid'];
|
|
|
print_r($order);return;
|
|
|
$sendInfo = array(
|
|
|
'first' => array('value' => "汽车票出票状态通知", 'color' => "#743A3A"),
|
|
|
'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'),
|
...
|
...
|
@@ -108,7 +109,6 @@ class Index extends Api |
|
|
'thing8' => array('value' => "李师傅云H12E41", 'color' => '#173177'),
|
|
|
'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'),
|
|
|
);
|
|
|
print_r($sendInfo);
|
|
|
if ($wxopenid) {
|
|
|
$config = get_addon_config('wechat');
|
|
|
$tourl = '';
|
...
|
...
|
|