...
|
...
|
@@ -98,7 +98,7 @@ class Index extends Api |
|
|
if($order['user_id']){
|
|
|
$order['start']=$order['starting_point'];
|
|
|
$order['to']=$order['end_point'];
|
|
|
$order['timeStr']=$order['reservation_time'];
|
|
|
$order['timeStr']=str_replace(' ','111111',$order['reservation_time']);
|
|
|
if($order['type']==1){
|
|
|
$order['typeImg']='../../static/img-2.png';
|
|
|
}else if($order['type']==2){
|
...
|
...
|
@@ -125,7 +125,9 @@ class Index extends Api |
|
|
$tourl = '';
|
|
|
$ywt_appid = 'wx58ceff4e93cfc523';
|
|
|
$pagepath ='pages/module/cityOrders?params='.json_encode($order);
|
|
|
|
|
|
print_r(($order));
|
|
|
print_r(json_encode($order));
|
|
|
return;
|
|
|
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
|
|
|
//print_r($res);return;
|
|
|
//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);
|
...
|
...
|
|