正在显示
1 个修改的文件
包含
7 行增加
和
0 行删除
| @@ -99,6 +99,13 @@ class Index extends Api | @@ -99,6 +99,13 @@ class Index extends Api | ||
| 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']=$order['reservation_time']; |
| 102 | + if($order['type']==1){ | ||
| 103 | + $order['typeImg']='../../static/img-2.png'; | ||
| 104 | + }else if($order['type']==2){ | ||
| 105 | + $order['typeImg']='../../static/img-0.png'; | ||
| 106 | + }else{ | ||
| 107 | + $order['typeImg']='../../static/img-1.png'; | ||
| 108 | + } | ||
| 102 | $user=Db::name("user")->find($order['user_id']); | 109 | $user=Db::name("user")->find($order['user_id']); |
| 103 | $wct_user=Db::name("wct_user")->where("unionid",$user['unionid'])->find(); | 110 | $wct_user=Db::name("wct_user")->where("unionid",$user['unionid'])->find(); |
| 104 | $wxopenid=$wct_user['wx_openid']; | 111 | $wxopenid=$wct_user['wx_openid']; |
-
请 注册 或 登录 后发表评论