diff --git a/src/main/java/cn/hellohao/controller/IndexController.java b/src/main/java/cn/hellohao/controller/IndexController.java index 00b7630..42f6772 100644 --- a/src/main/java/cn/hellohao/controller/IndexController.java +++ b/src/main/java/cn/hellohao/controller/IndexController.java @@ -62,7 +62,7 @@ public class IndexController { jsonObject.put("webname", cd.getString("webname")); jsonObject.put("websubtitle", cd.getString("websubtitle")); jsonObject.put("keywords", cd.getString("keywords")); - jsonObject.put("description", cd.getString("description")); + jsonObject.put("webms", cd.getString("webms")); jsonObject.put("explain", cd.getString("explain")); jsonObject.put("baidu", cd.getString("baidu")); jsonObject.put("links", cd.getString("links")); diff --git a/src/main/java/cn/hellohao/pojo/Config.java b/src/main/java/cn/hellohao/pojo/Config.java deleted file mode 100644 index 1feecc9..0000000 --- a/src/main/java/cn/hellohao/pojo/Config.java +++ /dev/null @@ -1,30 +0,0 @@ -package cn.hellohao.pojo; - -import lombok.Data; - -@Data -public class Config { - private Integer id; - private Integer sourcekey; - private Integer emails; - private String webname; - private String explain; - private String video; - private Integer backtype; - private String links; - private String notice; - private String baidu; - private String domain; - private String background1; - private String background2; - private String sett; - private String webms; - private String webkeywords; - private String webfavicons; - private Integer theme; - private String websubtitle; - private String logo; - private String aboutinfo; - - -} diff --git a/src/main/java/cn/hellohao/service/impl/ClientService.java b/src/main/java/cn/hellohao/service/impl/ClientService.java index d955dad..8f045fe 100644 --- a/src/main/java/cn/hellohao/service/impl/ClientService.java +++ b/src/main/java/cn/hellohao/service/impl/ClientService.java @@ -28,7 +28,6 @@ public class ClientService { @Autowired private KeysMapper keysMapper; @Autowired private UploadConfigMapper uploadConfigMapper; @Autowired private ImgMapper imgMapper; - @Autowired private ImgreviewMapper imgreviewMapper; @Autowired private ImgTempService imgTempService; @Autowired private GetSource getSource; @Autowired private ImgViolationJudgeServiceImpl imgViolationJudgeService; diff --git a/src/main/java/cn/hellohao/utils/FirstRun.java b/src/main/java/cn/hellohao/utils/FirstRun.java index c0e1f40..088b3ea 100644 --- a/src/main/java/cn/hellohao/utils/FirstRun.java +++ b/src/main/java/cn/hellohao/utils/FirstRun.java @@ -143,8 +143,8 @@ public class FirstRun implements InitializingBean { private String instartAppclient = "INSERT INTO `appclient` VALUES ('app', 'on', NULL, NULL, 'Hellohao图像托管', 'https://hellohao.nos-eastchina1.126.net/TbedClient/app.png', '1.0.1');"; //创建confdata表 private String createConfdata = "CREATE TABLE tbed.confdata ( `key` varchar(100) NULL, jsondata LONGTEXT NULL )"; - private String instartConfdata = - "INSERT INTO `confdata` VALUES ('config', '{\\\"sourcekey\\\":7,\\\"emails\\\":1,\\\"webname\\\":\\\"Hellohao图床\\\",\\\"explain\\\":\\\"Hellohao图像托管,是一家免费开源的图像托管,即时分享你的美好瞬间。\\\",\\\"links\\\":\\\"

© 2019 Hellohao - All Rights Reserved

\\\",\\\"notice\\\":\\\"也许...|这将是最好用的图床|为了更好的用户体验,建议您注册本站继续免费使用Hellohao图床。本站不得上传任何形式的非法图片,一旦发现,永久删除并禁封账户。情节严重者将相关资料交于相关部门处理。\\\",\\\"domain\\\":\\\"http://127.0.0.1:10088\\\",\\\"background1\\\":\\\"\\\",\\\"sett\\\":\\\"1\\\",\\\"webms\\\":\\\"Hellohao图像托管,是一家免费开源的图像托管,即时分享你的美好瞬间。\\\",\\\"webkeywords\\\":\\\"hellohao图床,图床,图片上传,开源图床,hellohao,图像托管,图片分享\\\",\\\"theme\\\":2,\\\"websubtitle\\\":\\\"这将是你用过最优秀的图像托管程序\\\",\\\"logo\\\":null,\\\"aboutinfo\\\":\\\"

也许,这将是你用到最优秀的图像托管程序

本程序为Hellohao图象托管程序


作者:hellohao独立开发

www.hellohao.cn

\\\"}');"; + private String instartConfdata = + "INSERT INTO tbed.confdata VALUES ('config', '{\\\"sourcekey\\\":7,\\\"emails\\\":1,\\\"webname\\\":\\\"Hellohao图床\\\",\\\"explain\\\":\\\"Hellohao图像托管,是一家免费开源的图像托管,即时分享你的美好瞬间。\\\",\\\"links\\\":\\\"

© 2019 Hellohao - All Rights Reserved

\\\",\\\"notice\\\":\\\"也许...|这将是最好用的图床|为了更好的用户体验,建议您注册本站继续免费使用Hellohao图床。本站不得上传任何形式的非法图片,一旦发现,永久删除并禁封账户。情节严重者将相关资料交于相关部门处理。\\\",\\\"domain\\\":\\\"http://127.0.0.1:10088\\\",\\\"background1\\\":\\\"\\\",\\\"sett\\\":\\\"1\\\",\\\"webms\\\":\\\"Hellohao图像托管,是一家免费开源的图像托管,即时分享你的美好瞬间。\\\",\\\"webkeywords\\\":\\\"hellohao图床,图床,图片上传,开源图床,hellohao,图像托管,图片分享\\\",\\\"theme\\\":2,\\\"websubtitle\\\":\\\"这将是你用过最优秀的图像托管程序\\\",\\\"logo\\\":null,\\\"aboutinfo\\\":\\\"

也许,这将是你用到最优秀的图像托管程序

本程序为Hellohao图象托管程序


作者:hellohao独立开发

www.hellohao.cn

\\\"}');"; private String inddx_md5key = "ALTER TABLE imgdata ADD INDEX index_md5key_url ( md5key,imgurl)"; // create index yarn_app_result_i4 on yarn_app_result (flow_exec_id(100), another_column(50));