用户工具

站点工具


api:pdnovel

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
api:pdnovel [2020/02/16 17:03]
admin
api:pdnovel [2020/02/16 17:31] (当前版本)
admin
行 51: 行 51:
   - 更新书籍字数:update pre_pdnovel_view set words=(select sum(volumewords) from pre_pdnovel_volume where novelid=7) where novelid=7;   - 更新书籍字数:update pre_pdnovel_view set words=(select sum(volumewords) from pre_pdnovel_volume where novelid=7) where novelid=7;
   - 合并txt:[[https://​api.xlongwei.com/​service/​pdnovel/​books.json?​type=merge|merge]],/​soft/​uploads/​pdnovel.sh,[[https://​api.xlongwei.com/​service/​pdnovel/​books.json?​type=reload|reload]]   - 合并txt:[[https://​api.xlongwei.com/​service/​pdnovel/​books.json?​type=merge|merge]],/​soft/​uploads/​pdnovel.sh,[[https://​api.xlongwei.com/​service/​pdnovel/​books.json?​type=reload|reload]]
-  - 重新导出书卷章信息:<​del>​登录mysql命令行,导出后复制cp /​var/​lib/​mysql/​*.txt</​del>​,/​soft/​uploads/​pdnovel.sh\\ select novelid,​name from pre_pdnovel_view order by novelid into outfile '​./​books.txt'​ fields terminated by ','​ lines terminated by '​\r\n';​ \\ select novelid,​volumeid,​volumeorder,​volumename from pre_pdnovel_volume order by novelid,​volumeorder into outfile '​./​volumes.txt'​ fields terminated by ','​ lines terminated by '​\r\n';​ \\ select novelid,​volumeid,​chapterid,​chapterorder,​chaptername from pre_pdnovel_chapter order by novelid,​volumeid,​chapterorder into outfile '​./​chapters.txt'​ fields terminated by ','​ lines terminated by '​\r\n';​ 
  
  
api/pdnovel.txt · 最后更改: 2020/02/16 17:31 由 admin