This commit is contained in:
2026-03-07 17:24:59 +08:00
parent 4418ebecac
commit b0ec8ab4bd
417 changed files with 42546 additions and 2 deletions

134
assets/proto/comic.proto Normal file
View File

@@ -0,0 +1,134 @@
syntax = "proto3";
// 该文件使用ChatGPT辅助生成
message ComicChapterDetailProto{
int64 chapterId = 1;
int64 comicId = 2;
string title = 3;
int32 chapterOrder = 4;
int32 direction = 5;
repeated string pageUrl = 6;
int32 picnum = 7;
repeated string pageUrlHD = 8;
int32 commentCount = 9;
}
message ComicChapterInfoProto {
int64 chapterId = 1;
string chapterTitle = 2;
int64 updateTime = 3;
int32 fileSize = 4;
int32 chapterOrder = 5;
int32 isFee = 6;
}
message ComicChapterResponseProto {
int32 errno = 1;
string errmsg = 2;
ComicChapterDetailProto data = 3;
}
message ComicChapterListProto {
string title = 1;
repeated ComicChapterInfoProto data = 2;
}
message ComicDetailResponseProto {
int32 errno = 1;
string errmsg = 2;
ComicDetailProto data = 3;
}
message ComicDetailProto {
int64 id = 1;
string title = 2;
int32 direction = 3;
int32 islong = 4;
int32 isDmzj = 5;
string cover = 6;
string description = 7;
int64 lastUpdatetime = 8;
string lastUpdateChapterName = 9;
int32 copyright = 10;
string firstLetter = 11;
string comicPy = 12;
int32 hidden = 13;
int64 hotNum = 14;
int64 hitNum = 15;
int64 uid = 16;
int32 isLock = 17;
int32 lastUpdateChapterId = 18;
repeated ComicTagProto types = 19;
repeated ComicTagProto status = 20;
repeated ComicTagProto authors = 21;
int64 subscribeNum = 22;
repeated ComicChapterListProto chapters = 23;
int32 isNeedLogin = 24;
repeated ComicDetailUrlLinkProto urlLinks = 25;
int32 isHideChapter = 26;
repeated ComicDetailUrlLinkProto dhUrlLinks = 27;
string cornerMark = 28;
int32 isFee = 29;
}
message ComicTagProto {
int64 tagId = 1;
string tagName = 2;
}
message ComicDetailUrlLinkProto {
string title = 1;
repeated ComicDetailUrlProto list = 2;
}
message ComicDetailUrlProto {
int64 id = 1;
string title = 2;
string url = 3;
string icon = 4;
string packageName = 5;
string dUrl = 6;
int32 btype = 7;
}
message ComicRankListResponseProto {
int32 errno = 1;
string errmsg = 2;
repeated ComicRankListInfoProto data = 3;
}
message ComicRankListInfoProto {
int64 comic_id = 1;
string title = 2;
string authors = 3;
string status = 4;
string cover = 5;
string types = 6;
int64 last_updatetime = 7;
string last_update_chapter_name = 8;
string comic_py = 9;
int64 num = 10;
int32 tag_id = 11;
string chapter_name = 12;
int64 chapter_id = 13;
}
message RankTypeFilterResponseProto {
int32 errno = 1;
string errmsg = 2;
repeated ComicTagProto data = 3;
}
message ComicUpdateListResponseProto {
int32 errno = 1;
string errmsg = 2;
repeated ComicUpdateListInfoProto data = 3;
}
message ComicUpdateListInfoProto {
int64 comicId = 1;
string title = 2;
int32 islong = 3;
string authors = 4;
string types = 5;
string cover = 6;
string status = 7;
string lastUpdateChapterName = 8;
int64 lastUpdateChapterId = 9;
int64 lastUpdatetime = 10;
}

31
assets/proto/news.proto Normal file
View File

@@ -0,0 +1,31 @@
syntax = "proto3";
// 该文件使用ChatGPT辅助生成
message NewsListResponseProto {
int32 errno = 1;
string errmsg = 2;
repeated NewsListInfoProto data = 3;
}
message NewsListInfoProto {
int64 articleId = 1;
string title = 2;
string fromName = 3;
string fromUrl = 4;
int64 createTime = 5;
int32 isForeign = 6;
string foreignUrl = 7;
string intro = 8;
int64 authorId = 9;
int32 status = 10;
string rowPicUrl = 11;
string colPicUrl = 12;
int32 qchatShow = 13;
string pageUrl = 14;
int64 commentAmount = 15;
int64 authorUid = 16;
string cover = 17;
string nickname = 18;
int64 moodAmount = 19;
}

54
assets/proto/novel.proto Normal file
View File

@@ -0,0 +1,54 @@
syntax = "proto3";
// 该文件使用ChatGPT辅助生成
message NovelChapterDetailProto {
int64 chapterId = 1;
string chapterName = 2;
int32 chapterOrder = 3;
}
message NovelVolumeProto {
int64 volume_id = 1;
int64 lnovel_id = 2;
string volume_name = 3;
int32 volume_order = 4;
int64 addtime = 5;
int32 sum_chapters = 6;
}
message NovelChapterResponseProto {
int32 errno = 1;
string errmsg = 2;
repeated NovelVolumeDetailProto data = 3;
}
message NovelVolumeDetailProto {
int64 volume_id = 1;
string volume_name = 2;
int32 volume_order = 3;
repeated NovelChapterDetailProto chapters = 4;
}
message NovelDetailProto {
int64 novel_id = 1;
string name = 2;
string zone = 3;
string status = 4;
string last_update_volume_name = 5;
string last_update_chapter_name = 6;
int64 last_update_volume_id = 7;
int64 last_update_chapter_id = 8;
int64 last_update_time = 9;
string cover = 10;
int64 hot_hits = 11;
string introduction = 12;
repeated string types = 13;
string authors = 14;
string first_letter = 15;
int64 subscribe_num = 16;
int64 redis_update_time = 17;
repeated NovelVolumeProto volume = 18;
}
message NovelDetailResponseProto {
int32 errno = 1;
string errmsg = 2;
NovelDetailProto data = 3;
}