正在显示
1 个修改的文件
包含
4 行增加
和
2 行删除
@@ -98,7 +98,7 @@ class Index extends Api | @@ -98,7 +98,7 @@ class Index extends Api | ||
98 | if($order['user_id']){ | 98 | if($order['user_id']){ |
99 | $order['start']=$order['starting_point']; | 99 | $order['start']=$order['starting_point']; |
100 | $order['to']=$order['end_point']; | 100 | $order['to']=$order['end_point']; |
101 | - $order['timeStr']=$order['reservation_time']; | 101 | + $order['timeStr']=str_replace(' ','111111',$order['reservation_time']); |
102 | if($order['type']==1){ | 102 | if($order['type']==1){ |
103 | $order['typeImg']='../../static/img-2.png'; | 103 | $order['typeImg']='../../static/img-2.png'; |
104 | }else if($order['type']==2){ | 104 | }else if($order['type']==2){ |
@@ -125,7 +125,9 @@ class Index extends Api | @@ -125,7 +125,9 @@ class Index extends Api | ||
125 | $tourl = ''; | 125 | $tourl = ''; |
126 | $ywt_appid = 'wx58ceff4e93cfc523'; | 126 | $ywt_appid = 'wx58ceff4e93cfc523'; |
127 | $pagepath ='pages/module/cityOrders?params='.json_encode($order); | 127 | $pagepath ='pages/module/cityOrders?params='.json_encode($order); |
128 | - | 128 | + print_r(($order)); |
129 | + print_r(json_encode($order)); | ||
130 | + return; | ||
129 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 131 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
130 | //print_r($res);return; | 132 | //print_r($res);return; |
131 | //file_put_contents("pcl_wct_send.log", date("Y-m-d H:i:s") . "1-2-" . json_encode($res, JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND); | 133 | //file_put_contents("pcl_wct_send.log", date("Y-m-d H:i:s") . "1-2-" . json_encode($res, JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND); |
-
请 注册 或 登录 后发表评论