作者 郭文星

123

... ... @@ -99,6 +99,13 @@ class Index extends Api
$order['start']=$order['starting_point'];
$order['to']=$order['end_point'];
$order['timeStr']=$order['reservation_time'];
if($order['type']==1){
$order['typeImg']='../../static/img-2.png';
}else if($order['type']==2){
$order['typeImg']='../../static/img-0.png';
}else{
$order['typeImg']='../../static/img-1.png';
}
$user=Db::name("user")->find($order['user_id']);
$wct_user=Db::name("wct_user")->where("unionid",$user['unionid'])->find();
$wxopenid=$wct_user['wx_openid'];
... ...