同一个券码,重复提交校验,3秒内视为同一笔订单

This commit is contained in:
2020-08-08 14:32:34 +08:00
parent ac9d3d9a25
commit 09efc1e323
4 changed files with 5 additions and 6 deletions

View File

@@ -154,10 +154,6 @@ class Init
*/
public function HasCheck()
{
$code = $this->redemptionCode;
$total = $this->total;
$outletId = $this->outletId;
$info = Coupon::where('redemptionCode', $this->redemptionCode)
->where('outletId', $this->outletId)
->where('total', $this->total)