|
@@ -148,14 +148,25 @@ define("_TABLE_PALI_SENT_", "pali_sent");
|
|
|
define("_TABLE_PALI_SENT_ORG_", "pali_sent_org");
|
|
define("_TABLE_PALI_SENT_ORG_", "pali_sent_org");
|
|
|
define("_TABLE_PALI_SENT_INDEX_", "pali_sent_index");
|
|
define("_TABLE_PALI_SENT_INDEX_", "pali_sent_index");
|
|
|
|
|
|
|
|
-//相似句
|
|
|
|
|
-//define("_FILE_DB_PALI_SENTENCE_SIM_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
|
|
-define("_FILE_DB_PALI_SENTENCE_SIM_", "sqlite:" . __DIR__ . "/../tmp/appdata/palicanon/pali_sim.db3");
|
|
|
|
|
|
|
+/*
|
|
|
|
|
+相似句
|
|
|
|
|
+数据迁移
|
|
|
|
|
+deploy\migaration\20211127214800_sent_sim.php
|
|
|
|
|
+deploy\migaration\20211127214900-sent_sim_index.php
|
|
|
|
|
+*/
|
|
|
|
|
+define("_FILE_DB_PALI_SENTENCE_SIM_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
|
|
+//define("_FILE_DB_PALI_SENTENCE_SIM_", "sqlite:" . __DIR__ . "/../tmp/appdata/palicanon/pali_sim.db3");
|
|
|
|
|
+define("_SRC_DB_PALI_SENTENCE_SIM_", "sqlite:" . __DIR__ . "/../tmp/appdata/palicanon/pali_sim.db3");
|
|
|
|
|
+define("_TABLE_SENT_SIM_", "sent_sim");
|
|
|
|
|
+define("_TABLE_SENT_SIM_INDEX_", "sent_sim_index");
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
-//标题表
|
|
|
|
|
|
|
+//完成度
|
|
|
//define("_FILE_DB_PALI_TOC_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
//define("_FILE_DB_PALI_TOC_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
define("_FILE_DB_PALI_TOC_", "sqlite:" . __DIR__ . "/../tmp/appdata/palicanon/pali_toc.db3");
|
|
define("_FILE_DB_PALI_TOC_", "sqlite:" . __DIR__ . "/../tmp/appdata/palicanon/pali_toc.db3");
|
|
|
|
|
+define("_TABLE_PROGRESS_", "progress");
|
|
|
|
|
+define("_TABLE_PROGRESS_CHAPTER_", "progress_chapter");
|
|
|
|
|
|
|
|
|
|
|
|
|
//页码对应
|
|
//页码对应
|
|
@@ -221,6 +232,7 @@ define("_TABLE_SENTENCE_BLOCK_", "sent_block");
|
|
|
//define("_FILE_DB_USER_SENTENCE_HISTORAY_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
//define("_FILE_DB_USER_SENTENCE_HISTORAY_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
define("_FILE_DB_USER_SENTENCE_HISTORAY_", "sqlite:" . __DIR__ . "/../tmp/user/usent_historay.db3");
|
|
define("_FILE_DB_USER_SENTENCE_HISTORAY_", "sqlite:" . __DIR__ . "/../tmp/user/usent_historay.db3");
|
|
|
define("_TABLE_SENTENCE_HISTORAY_", "sent_historay");
|
|
define("_TABLE_SENTENCE_HISTORAY_", "sent_historay");
|
|
|
|
|
+
|
|
|
# 逐词解析字典
|
|
# 逐词解析字典
|
|
|
//define("_FILE_DB_WBW_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
//define("_FILE_DB_WBW_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
define("_FILE_DB_WBW_", "sqlite:" . __DIR__ . "/../tmp/user/wbw.db3");
|
|
define("_FILE_DB_WBW_", "sqlite:" . __DIR__ . "/../tmp/user/wbw.db3");
|
|
@@ -285,21 +297,21 @@ define("_FILE_DB_MESSAGE_", "sqlite:" . __DIR__ . "/../tmp/user/message.db");
|
|
|
define("_FILE_DB_LIKE_", "sqlite:" . __DIR__ . "/../tmp/user/like.db3");
|
|
define("_FILE_DB_LIKE_", "sqlite:" . __DIR__ . "/../tmp/user/like.db3");
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
//很少使用
|
|
//很少使用
|
|
|
# 网站设置
|
|
# 网站设置
|
|
|
//define("_FILE_DB_HOSTSETTING_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
//define("_FILE_DB_HOSTSETTING_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
define("_FILE_DB_HOSTSETTING_", "sqlite:" . __DIR__ . "/../tmp/user/hostsetting.db3");
|
|
define("_FILE_DB_HOSTSETTING_", "sqlite:" . __DIR__ . "/../tmp/user/hostsetting.db3");
|
|
|
|
|
|
|
|
-# 用户图片数据 尚未启用
|
|
|
|
|
-//define("_FILE_DB_MEDIA_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
|
|
-define("_FILE_DB_MEDIA_", "sqlite:" . __DIR__ . "/../tmp/user/media.db3");
|
|
|
|
|
|
|
|
|
|
# 用户字典统计数据
|
|
# 用户字典统计数据
|
|
|
//define("_FILE_DB_USER_DICT_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
//define("_FILE_DB_USER_DICT_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
define("_FILE_DB_USER_DICT_", "sqlite:" . __DIR__ . "/../tmp/user/udict.db3");
|
|
define("_FILE_DB_USER_DICT_", "sqlite:" . __DIR__ . "/../tmp/user/udict.db3");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+# 用户图片数据 尚未启用
|
|
|
|
|
+//define("_FILE_DB_MEDIA_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
|
|
+define("_FILE_DB_MEDIA_", "sqlite:" . __DIR__ . "/../tmp/user/media.db3");
|
|
|
|
|
+
|
|
|
# 评论 尚未启用
|
|
# 评论 尚未启用
|
|
|
//define("_FILE_DB_COMMENTS_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
//define("_FILE_DB_COMMENTS_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
define("_FILE_DB_COMMENTS_", "sqlite:" . __DIR__ . "/../tmp/user/comments.db3");
|
|
define("_FILE_DB_COMMENTS_", "sqlite:" . __DIR__ . "/../tmp/user/comments.db3");
|
|
@@ -308,6 +320,6 @@ define("_FILE_DB_COMMENTS_", "sqlite:" . __DIR__ . "/../tmp/user/comments.db3");
|
|
|
//define("_FILE_DB_USER_STATISTICS_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
//define("_FILE_DB_USER_STATISTICS_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
define("_FILE_DB_USER_STATISTICS_", "sqlite:" . __DIR__ . "/../tmp/user/statistics.db3");
|
|
define("_FILE_DB_USER_STATISTICS_", "sqlite:" . __DIR__ . "/../tmp/user/statistics.db3");
|
|
|
|
|
|
|
|
-#权限管理
|
|
|
|
|
|
|
+#权限管理 casbin使用
|
|
|
//define("_FILE_DB_USER_RBAC_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
//define("_FILE_DB_USER_RBAC_", _DB_ENGIN_.":host="._DB_HOST_.";port="._DB_PORT_.";dbname="._DB_NAME_.";user="._DB_USERNAME_.";password="._DB_PASSWORD_.";");
|
|
|
define("_FILE_DB_USER_RBAC_", __DIR__ . "/../tmp/user/rbac.db3");
|
|
define("_FILE_DB_USER_RBAC_", __DIR__ . "/../tmp/user/rbac.db3");
|