...
|
...
|
@@ -13,7 +13,7 @@ class RefundController extends RestBaseController |
|
|
{
|
|
|
public function refund()
|
|
|
{
|
|
|
$order=Db::name('order')->where(['status'=>1,'start_time'=>['<',time()]])->find();
|
|
|
$order=Db::name('order')->where(['status'=>2,'start_time'=>['<',time()]])->find();
|
|
|
if ($order) {
|
|
|
//执行退款逻辑
|
|
|
$options = [
|
...
|
...
|
|