|
@@ -117,7 +117,7 @@ class Order extends Controller
|
|
$order_data['pay_time'] = date('Y-m-d H:i:s',time());
|
|
$order_data['pay_time'] = date('Y-m-d H:i:s',time());
|
|
$is_pay = Db::table('hy_order')->where('id',$id)->update($order_data);
|
|
$is_pay = Db::table('hy_order')->where('id',$id)->update($order_data);
|
|
$is_order_card = Db::table('hy_order_card')->where('oid',$id)->update(['is_pay'=>1]);
|
|
$is_order_card = Db::table('hy_order_card')->where('oid',$id)->update(['is_pay'=>1]);
|
|
- $this->success('操作成功','','javascript:window.location.reload()');
|
|
|
|
|
|
+ $this->success('操作成功','javascript:window.location.reload()');
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|