...
|
...
|
@@ -220,4 +220,13 @@ class Common extends Api |
|
|
$res = Db::name('open')->order('id desc')->limit(1)->find();
|
|
|
$this->success('成功', cdnurl($res['image']));
|
|
|
}
|
|
|
|
|
|
|
|
|
//取消订单
|
|
|
public function delOrder()
|
|
|
{
|
|
|
$order_sn = input('order_sn');
|
|
|
$res = Db::name('order')->where('order_sn', $order_sn)->update(['status' => 2]);
|
|
|
$this->res($res);
|
|
|
}
|
|
|
} |
...
|
...
|
|