|
|
@ -50,4 +50,14 @@ class Agreement extends BaseModel |
|
|
|
{ |
|
|
|
{ |
|
|
|
return self::get($agreementId, $with); |
|
|
|
return self::get($agreementId, $with); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 详情:HTML实体转换回普通字符 |
|
|
|
|
|
|
|
* @param $value |
|
|
|
|
|
|
|
* @return string |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public function getContentAttr($value): string |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return htmlspecialchars_decode($value); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|