1.将数据表 fa_crawler_weibo_note替换成数据表weibo_note导入fa_crawler_content数据表

这个模块是fastadmin开发的,基于thinkphp5框架,数据表名是fa_crawler_content,数据结构如下

id (bigint(20) unsigned) 注释:自增主键, platform (varchar(32)) 注释:平台(bilibili/douyin/tieba/weibo/xhs/zhihu), content_id (varchar(128)) 注释:内容唯一标识, content_type (varchar(32)) 注释:内容类型, title (varchar(2000)) 注释:标题, desc (longtext) 注释:描述/正文内容, content_url (varchar(512)) 注释:内容链接, cover_url (varchar(512)) 注释:封面图链接, user_id (varchar(128)) 注释:用户ID, sec_uid (varchar(250)), user_nickname (varchar(255)) 注释:用户昵称, user_avatar (varchar(512)) 注释:用户头像, user_link (varchar(512)) 注释:用户主页链接, ip_location (varchar(255)) 注释:IP地理位置, liked_count (bigint(20)) 注释:点赞数, comment_count (bigint(20)) 注释:评论数, share_count (bigint(20)) 注释:分享数, view_count (bigint(20)) 注释:浏览数, create_time (bigint(20)) 注释:内容发布时间, tag_list (longtext) 注释:标签列表, extra_data (longtext) 注释:额外平台特定数据(JSON格式), source_keyword (varchar(255)) 注释:搜索来源关键字, plid (int(11)) 注释:项目ID, add_ts (bigint(20)) 注释:记录添加时间戳, last_modify_ts (bigint(20)) 注释:记录最后修改时间戳, crawler_time (bigint(20)) 注释:爬取时间戳, btype (int(11))

           模块具体文件功能及位置如下

Model模型文件:‌application/admin/model/crawler/content.php

        控制器文件:‌application/admin/controller/crawler/content.php

        外部调用js文件:‌public/assets/js/backend/crawler/content.js

           请将js代码都写在外部调用文件里:public/assets/js/backend/crawler/content.js列表对应的html文件:‌

application/admin/view/crawler/content/index.html

           添加对应的html文件:‌application/admin/view/crawler/content/add.html

           修改对应的html文件:‌application/admin/view/crawler/content/edit.html         

请将数据表 fa_crawler_weibo_note替换成数据表weibo_note 导入fa_crawler_content数据表

weibo_note数据表的字段:

id 自增ID user_id 用户ID nickname 用户昵称 avatar 用户头像地址 gender 用户性别 profile_url 用户主页地址 ip_location add_ts 记录添加时间戳 last_modify_ts 记录最后修改时间戳 note_id 帖子ID content 帖子正文内容 create_time 帖子发布时间戳 create_date_time 帖子发布日期时间 liked_count 帖子点赞数 comments_count 帖子评论数量 shared_count 帖子转发数量 note_url 帖子详情URL source_keyword 搜索来源关键字

fa_crawler_weibo_note数据表结构

对应的字段:

id 自增ID user_id 用户ID nickname 用户昵称 avatar 用户头像地址 gender 用户性别 profile_url 用户主页地址 ip_location add_ts 记录添加时间戳 last_modify_ts 记录最后修改时间戳 note_id 帖子ID content 帖子正文内容 create_time 帖子发布时间戳 create_date_time 帖子发布日期时间 liked_count 帖子点赞数 comments_count 帖子评论数量 shared_count 帖子转发数量 note_url 帖子详情URL source_keyword 搜索来源关键字 plid crawler_time isout 是否已导出


fa_crawler_content数据表结构

id 自增主键 platform 平台(bilibili/douyin/tieba/weibo/xhs/zhihu) content_id 内容唯一标识 content_type 内容类型 title 标题 desc 描述/正文内容 content_url 内容链接 cover_url 封面图链接 user_id 用户ID sec_uid user_nickname 用户昵称 user_avatar 用户头像 user_link 用户主页链接 ip_location IP地理位置 liked_count 点赞数 comment_count 评论数 share_count 分享数 view_count 浏览数 create_time 内容发布时间 tag_list 标签列表 extra_data 额外平台特定数据(JSON格式) source_keyword 搜索来源关键字 plid 项目ID add_ts 记录添加时间戳 last_modify_ts 记录最后修改时间戳 crawler_time 爬取时间戳 btype

另外weibo_note数据表不带表前缀。但fastadmin会自动加'fa_'前缀,请特殊处理。

10 Screens$8,029

I will design rough sketches for upto 5 Screens of your website/Mobile app.

3 Days Delivery 1 Revision
  • Source File
  • Commercial Use
  • Interactive Mockup
  • 10 Pages

20 Screens$16,029

I will design rough sketches for upto 5 Screens of your website/Mobile app.

3 Days Delivery
  • Source File
  • Commercial Use
  • Interactive Mockup
  • 10 Pages

30 Screens$24,029

I will design rough sketches for upto 5 Screens of your website/Mobile app.

3 Days Delivery
  • Source File
  • Commercial Use
  • Interactive Mockup
  • 10 Pages
0.072262s