...
|
...
|
@@ -225,8 +225,8 @@ class Common extends Api |
|
|
//取消订单
|
|
|
public function delOrder()
|
|
|
{
|
|
|
$order_sn = input('order_sn');
|
|
|
$res = Db::name('order')->where('order_sn', $order_sn)->update(['status' => 2]);
|
|
|
$order_sn = input('id');
|
|
|
$res = Db::name('order')->where('id', $order_sn)->update(['status' => 2]);
|
|
|
$this->res($res);
|
|
|
}
|
|
|
} |
...
|
...
|
|