...
|
...
|
@@ -266,8 +266,14 @@ class Api extends Controller |
|
|
|
|
|
//生成订单日志
|
|
|
if ($rs) {
|
|
|
if($order['type']==1){
|
|
|
$orderlog['content'] = '计票消费';
|
|
|
}elseif($order['type']==2){
|
|
|
$orderlog['content'] = '城际消费';
|
|
|
}elseif($order['type']==3){
|
|
|
$orderlog['content'] = '包车消费';
|
|
|
}
|
|
|
$orderlog['order_id'] = $cks['id'];
|
|
|
$orderlog['content'] = '订单已支付';
|
|
|
$orderlog['price'] = $order['price'];
|
|
|
$orderlog['user_id'] = $cks['user_id'];
|
|
|
$orderlog['createtime'] = time();
|
...
|
...
|
|