From 89056b7d1c708535575f380d8a5a23f673a38490 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Mon, 20 Dec 2021 16:19:16 +0800 Subject: [PATCH] settter --- app/model/Deduction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/model/Deduction.php b/app/model/Deduction.php index 8da4754..babf6e7 100644 --- a/app/model/Deduction.php +++ b/app/model/Deduction.php @@ -21,6 +21,6 @@ class Deduction extends Base } public function bill() { - return $this->hasOne(Bill::class,"id","bill_id"); + return $this->hasOne(CouponBill::class,"id","bill_id"); } } \ No newline at end of file