Browse Source

格式化

master
Lemon 6 years ago
parent
commit
5118008ef9
  1. 6
      app/Service/CouponService.php

6
app/Service/CouponService.php

@ -161,11 +161,11 @@ class CouponService implements CouponServiceInterface
$available = [];
$notAvailable = [];
if ($this->empty($orderAmount) || $this->empty($userId)) {
return $this->success([
if (empty($orderAmount) || empty($userId)) {
return [
'available' => $available,
'not_available' => array_values($notAvailable)
]);
];
}
// 获取用户优惠券

Loading…
Cancel
Save