作者 郭文星

1123

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