WC_芋头_内容免登陆发布接口插件

芋头
芋头 11111

0 人点赞了该文章 · 1487 浏览

WC免登陆发布插件;

火车头或者别的采集发布工具,可以按照此数据结构 进行设计;

这是问题的数据发布结构
data = {
'__sign':'yu',
'type': 'cate',
'user_id':'2',
'question_title':'n1iha122o', #问题标题
'question_author':'2OUUp1121',#问题作者
'question_detail':'<div>nihaosh
ijie</div>', #问题内容
'question_author_avatar':'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=4063243424,1554314176&fm=26&gp=0.jpg', #问题作者头像
'question_publish_time': '1550394985', #问题发布时间
'question_topics':json.dumps({0:'你好2'}), #问题标签
'question_categories':json.dumps({0:'cesh2'}), #问题分类
'question_view_count':'120', #问题阅读次数
'question_answer':json.dumps([{
'question_answer_author':'nih11223a3116', #回复用户名称
'question_answer_author_avatar':'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=4063243424,1554314176&fm=26&gp=0.jpg', #回复用户头像
'question_answer_content':'ceshiyixia', #回复内容
'question_answer_agree_count':'10', #回复喜欢次数
'question_answer_publish_time': '1550397460', #回复发布时间
'question_answer_comment':[{
'question_answer_comment_author':'xx', #回复的评论 作者名称
'question_answer_comment_author_avatar':'', #回复的评论 作者头像
'question_answer_comment_content':'878787', #回复的评论 内容
'question_answer_comment_publish_time':'1550397818' #回复的评论 发布时间
}]
}])

}


这是文章的数据发布结构,
data = {
'__sign':'yu1',
'type': 'cate',
'user_id':'18',
'article_title':'文章标题11111',#文章标题
'article_img_type':'1',#图片类型,1 URL下载,2不下载
'article_img':'http://csstools.chinaz.com/tools/images/public/logos/logo-index.png',#文章图片
'article_content':'

asasasa

文章内容1212121212112121212',#文章内容
'article_author':'1者33',#文章作者
'article_author_avatar':'http://csstools.chinaz.com/tools/images/public/logos/logo-index.png',#作者头像
'article_categories': json.dumps({0:'文章分类'}),#文章分类
'article_topics':json.dumps({0:'文章话题',1:'话题2'}),#文章话题
'article_view_count':10,#文章阅读数量
'article_publish_time':'1550397460',#文章发布时间
'publishTime':2,#如果想要使用 服务器时间 传此参数

}



发布于 2020-12-14 08:46

免责声明:

本文由 芋头 原创发布于 WeCenter ,著作权归作者所有。

登录一下,更多精彩内容等你发现,贡献精彩回答,参与评论互动

登录! 还没有账号?去注册

暂无评论