master
wangxinglong 2022-04-07 14:01:13 +08:00
parent 69004bee30
commit 492f2b9a13
1 changed files with 1 additions and 1 deletions

View File

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