|
@@ -112,5 +112,16 @@ class Brushorder extends Controller
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 未刷出订单
|
|
|
+ * */
|
|
|
+ public function order_pay(){
|
|
|
+ $id = input('id/d',0);
|
|
|
+ $order_data['is_pay'] = 1;
|
|
|
+ $order_data['pay_time'] = date('Y-m-d H:i:s',time());
|
|
|
+ $is_up_order = Db::table('hy_brush_order')->where('id',$id)->update($order_data);
|
|
|
+ $is_card = Db::table('hy_order_card')->where('boid',$id)->update(['brush_pay'=>2]);
|
|
|
+ $this->success('操作成功','javascript:window.location.reload()');
|
|
|
+ }
|
|
|
|
|
|
}
|