测试
This commit is contained in:
@@ -168,6 +168,7 @@ class TestController
|
||||
'total' => $request->total,
|
||||
'outletId' => $request->outletId,
|
||||
'orderid' => $request->orderid,
|
||||
'from' => $request->from,
|
||||
]);
|
||||
|
||||
$url = $this->baseUrl . 'user/freezecoupon';
|
||||
@@ -179,7 +180,16 @@ class TestController
|
||||
$total = $request->total;
|
||||
$outletId = $request->outletId;
|
||||
$orderid = $request->orderid ?? '';
|
||||
$res = Coupon::Redemption($this->user, $redemptionCode, $total, $outletId, $orderid);
|
||||
$from = $request->from ?? '';
|
||||
|
||||
$res = Coupon::Redemption(
|
||||
$this->user,
|
||||
$redemptionCode,
|
||||
$total,
|
||||
$outletId,
|
||||
$orderid,
|
||||
$from
|
||||
);
|
||||
|
||||
if (is_string($res)) {
|
||||
return $this->error($res);
|
||||
|
||||
Reference in New Issue
Block a user