...
|
...
|
@@ -231,4 +231,22 @@ class Common extends Api |
|
|
$res = Db::name('order')->where('order_sn', $order_sn)->update(['status' => 2]);
|
|
|
$this->res($res);
|
|
|
}
|
|
|
|
|
|
|
|
|
public function loveIMG()
|
|
|
{
|
|
|
$Image = Db::name('lovecar')->where('id', 1)->value('images');
|
|
|
if (empty($Image)) {
|
|
|
$data = [
|
|
|
'img' => ''
|
|
|
];
|
|
|
} else {
|
|
|
$data = [
|
|
|
'img' => cdnurl($Image)
|
|
|
];
|
|
|
}
|
|
|
$this->success('成功', $data);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|