...
|
...
|
@@ -299,7 +299,9 @@ class Order extends Api |
|
|
'createtime' => time()
|
|
|
];
|
|
|
}
|
|
|
if($OrderInfo['water_num']!=0){
|
|
|
Db::name('num')->insert($NumData);
|
|
|
}
|
|
|
//优惠券归还
|
|
|
if ($OrderInfo['tick_id'] != 0) {
|
|
|
Db::name('user_tick')->where('id', $OrderInfo['tick_id'])->update(['status' => 0]);
|
...
|
...
|
|