'修改活动+测试接口'
This commit is contained in:
@@ -151,9 +151,11 @@ class TestController
|
||||
|
||||
$res = Coupon::Redemption($this->user, $redemptionCode, $total, $outletId);
|
||||
|
||||
dump($this->getElapsedTime());
|
||||
dump($this->getMemoryUsage());
|
||||
dd($res);
|
||||
if (is_string($res)) {
|
||||
return $this->error($res);
|
||||
}
|
||||
|
||||
return $this->success('核销成功');
|
||||
}
|
||||
|
||||
public function http($data, $url)
|
||||
|
||||
Reference in New Issue
Block a user