Another article published by api

article title

ref

  1. Bold content
  2. code
  3. code bolck
class PostStruct extends StructBase
{
protected static $config = [
'dateCreated' => DateAttr::class,
'description' => StringAttr::class,
'title' => StringAttr::class,
'categories' => [ArrayAttr::class, 'string'],
// 'enclosure' => EnclosureStruct::class,
'link' => StringAttr::class,
'permalink' => StringAttr::class,
'postid' => Int32Attr::class,
// 'source' => SourceStruct::class,
'userid' => StringAttr::class,
'mt_allow_comments' => StringAttr::class,
'mt_allow_pings' => StringAttr::class,
'mt_convert_breaks' => StringAttr::class,
'mt_text_more' => StringAttr::class,
'mt_excerpt' => StringAttr::class,
'mt_keywords' => StringAttr::class,
'wp_slug' => StringAttr::class,
];
}
posted @   真理君的宿敌  阅读(4)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示