diff --git a/app/repository/CouponRepository.php b/app/repository/CouponRepository.php index 96964e5..3122be4 100644 --- a/app/repository/CouponRepository.php +++ b/app/repository/CouponRepository.php @@ -115,7 +115,7 @@ class CouponRepository extends Repository * @param array $data * @return Coupon|Model */ - public function updateCouponMainByBusinessCode(int $businessCode,array $data) + public function updateCouponMainByBusinessCode(string $businessCode,array $data) { return CouponMain::where("business_code",$businessCode)->update($data); }