正在显示
2 个修改的文件
包含
11 行增加
和
1 行删除
| @@ -169,6 +169,16 @@ class MessageItem { | @@ -169,6 +169,16 @@ class MessageItem { | ||
| 169 | return $this->body; | 169 | return $this->body; |
| 170 | } | 170 | } |
| 171 | 171 | ||
| 172 | + /** | ||
| 173 | + * 所属文件夹 | ||
| 174 | + * @return string | ||
| 175 | + * @author:dc | ||
| 176 | + * @time 2024/9/26 11:46 | ||
| 177 | + */ | ||
| 178 | + public function getFolderName():string { | ||
| 179 | + return $this->msg->folder->getName(); | ||
| 180 | + } | ||
| 181 | + | ||
| 172 | 182 | ||
| 173 | public function __get(string $name) | 183 | public function __get(string $name) |
| 174 | { | 184 | { |
-
请 注册 或 登录 后发表评论