setter
parent
69004bee30
commit
492f2b9a13
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue