JX3BOX / jx3box-comment-ui

Comment vue component
0 stars 1 forks source link

【文档】评论短消息与用户UID关联一览 #9

Open iRuxu opened 3 years ago

iRuxu commented 3 years ago

CMS通用评论(iRuxu)

库表

数据源

类型 数据库表 作品ID关联 用户UID关联
macro jx3box/wp_posts ID post_author
jx3dat jx3box/wp_posts ID post_author
fb jx3box/wp_posts ID post_author
bps jx3box/wp_posts ID post_author
tool jx3box/wp_posts ID post_author
house jx3box/wp_posts ID post_author
share jx3box/wp_posts ID post_author
bbs jx3box/wp_posts ID post_author
notice jx3box/wp_posts ID post_author

消息模板

source_id source_type type subtype content
ID 的值 $post_type comment comment_post %s 回复了你。

category与source_type

iRuxu commented 3 years ago

独立应用(jx3box_helper库)

库表

数据源

类型 数据库表 作品ID关联 用户ID关联
item_plan jx3box_helper/helper_item_plans id user_id
knowledge jx3box_helper/helper_knowledges id user_id
quest jx3box_helper/helper_wiki_posts source_id user_id

消息模板

source_id source_type type subtype content
id 的值 item_plan item_plan comment_item_plan 你的清单有一条新的评论
source_id的值 knowledge knowledge comment_knowledge 你的通识词条有一条新的评论
source_id的值 quest quest comment_quest 你的任务词条有一条新的评论

helper_wiki_posts表中也是类似CMS一样会有很多类型,是百科形式的,后续还会扩展book,声望等类型。

category与source_type

iRuxu commented 3 years ago

独立应用(jx3box库)

库表

数据源

类型 数据库表 作品ID关联 用户ID关联
collection jx3box/post_collections id user_id
pz jx3box/pz_schemas id user_id
paper jx3box/question_paper id create_user_id
question jx3box/question_lib id create_user_id
emotion jx3box/pvx_emotions id user_id
joke jx3box/pvx_jokes id user_id
calendar jx3box/calendar id user_id
face jx3box pvx_face id user_id

消息模板

source_id source_type type subtype content
id 的值 collection collection comment_collection 你的小册有一条新的评论
id 的值 paper exam comment_paper 你的试卷有一条新的评论
id 的值 question exam comment_question 你的题目有一条新的评论
id 的值 pz pz comment_pz 你的配装方案有一条新的评论
id 的值 emotion emotion comment_emotion 你的表情作品有一条新的评论
id 的值 joke joke comment_joke 你的骚话作品有一条新的评论
id 的值 calendar calendar comment_calendar 你的日历记录有一条新的评论
id 的值 face face comment_face 你的捏脸有一条新的评论

category与source_type

iRuxu commented 2 years ago

独立应用(jx3box_wiki库)

库表

数据源

类型 数据库表 作品ID关联 用户ID关联
team jx3box_wiki/team_teams id super
battle jx3box_wiki/team_battle id user_id

消息模板

source_id source_type type subtype content
id org team comment_org 你的团队有一条新的留言
id battle battle comment_battle 你的战斗记录有一条新的留言

category与source_type

iRuxu commented 2 years ago

独立应用(jx3box_query库)

以下均为游戏的表,是没有创作者的,正文内容都不是由玩家创作。 暂时本库在腾讯云服务器,之后会一起放到阿里云这台同mysql实例上。

库表

数据源

类型 数据库表 作品ID关联 用户ID关联
pet jx3box_query/pet_std_index和pet_origin_index Index
adventure jx3box_query/adventure_std_index和adventure_origin_index dwID
furniture jx3box_query/furniture_std_index和furniture_origin_index dwID
horse jx3box_query/horse_std_index和horse_origin_index ID
book jx3box_query/book_std_index和book_origin_index ID
exterior jx3box_query/exterior_std_index和exterior_origin_index 暂不确认

评论加精

此类游戏类的表,没有创作者,不需要提醒作者,但存在评论加精。 source_id source_type type subtype content
应用资源ID(例如宠物ID) 应用类型(例如pet) comment star_comment 你的评论被设为精华

category与source_type

iRuxu commented 2 years ago

资产操作(jx3box_pay库)

资产

source_id source_type type subtype content
作品类型 作品ID boxcoin boxcoin_admin/user 你的作品收到了n盒币
dashboard keycode keycode keycode_xx 你收到xx激活码
作品类型 作品ID cny cny_in 你的作品出售了n金箔
iRuxu commented 2 years ago

特殊

source_id source_type type subtype content
作品ID 作品类型 at editor_at xxx在他的作品中@了你。
反馈ID feedback feedback reply 你的反馈有新的回复