'修改活动+测试接口'

This commit is contained in:
2020-08-20 17:01:01 +08:00
parent 41f53e00b6
commit 3dfd677017
3 changed files with 18 additions and 22 deletions

View File

@@ -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)