add:商户合同发起签约

This commit is contained in:
chenbo 2023-09-13 19:24:04 +08:00
parent f8256cca63
commit 2dbac8253e

View File

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