示例#1
0
文件: Feed.php 项目: awebc/web_xbf
 public function afterFind()
 {
     parent::afterFind();
     $this->args = json_decode($this->args);
     $this->created_at = Yii::$app->formatter->asRelativeTime($this->created_at);
     //        $this->content = mb_strcut($this->content,0,90,'UTF-8');
 }