...
|
...
|
@@ -324,6 +324,12 @@ class Member extends Frontend |
|
|
$order = $order_detail_model
|
|
|
->where($where)
|
|
|
->find();
|
|
|
if(!$order) {
|
|
|
$this->error('订单不存在');
|
|
|
}
|
|
|
if(!in_array($order['status'],['2','3'])) {
|
|
|
$this->error('当前订单状态无法退款');
|
|
|
}
|
|
|
$status = [
|
|
|
'1' => '待支付',
|
|
|
'2' => '待发货',
|
...
|
...
|
|