|
|
@@ -24,6 +24,9 @@ class ClearController extends BaseController
|
|
|
if ($info->ghsShopId != $this->shopId) {
|
|
|
util::fail('不是你的结账单');
|
|
|
}
|
|
|
+ if ($info->status != 3) {
|
|
|
+ util::fail('结账单没有取消,不能退钱');
|
|
|
+ }
|
|
|
$shop = $this->shop;
|
|
|
$respond = ClearClass::refundMoney($shop, $info);
|
|
|
$status = $respond['status'];
|