From 2dbac8253ef3abe339ffdeab706eaf8979e2ce84 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Wed, 13 Sep 2023 19:24:04 +0800 Subject: [PATCH] =?UTF-8?q?add:=E5=95=86=E6=88=B7=E5=90=88=E5=90=8C?= =?UTF-8?q?=E5=8F=91=E8=B5=B7=E7=AD=BE=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/contract/ShopContract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/contract/ShopContract.php b/app/common/model/contract/ShopContract.php index fa796a51e..1553d850b 100644 --- a/app/common/model/contract/ShopContract.php +++ b/app/common/model/contract/ShopContract.php @@ -47,7 +47,7 @@ class ShopContract extends BaseModel } public function contractType() { - return "商户入驻合同"; + return $this->hasOne(DictData::class, 'id', 'contract_type')->bind(['contract_type_name' => 'name']); } public function getContractTypeNameAttr($value)