mirror of
https://github.com/Hello-hao/Tbed.git
synced 2026-10-21 05:04:37 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
# Hellohao图床 - 全新响应式UI
|
||||
|
||||
|
||||
[
|
||||
[](https://www.codacy.com/app/hello-hao/Tbed?utm_source=github.com&utm_medium=referral&utm_content=hello-hao/Tbed&utm_campaign=Badge_Grade)
|
||||

|
||||
|
||||
|
||||
> 这是一个基于多家对象存储源的Spring Boot开源图床项目。
|
||||
> 本项目使用 Spring Boot 搭建, 针对用户更方便的管理自己的图片管理拓展功能, 支持对接`本地`、`网易`,`阿里`,`又拍`,`七牛`、`腾讯`等多家对象存储.
|
||||
> 后台对用户管理。
|
||||
@@ -10,6 +15,10 @@
|
||||
|
||||
预览地址: [http://tc.hellohao.cn/](http://tc.hellohao.cn/)
|
||||
|
||||
文档地址: [http://doc.wwery.com/](http://doc.wwery.com/)
|
||||
|
||||
编译包下载: [https://github.com/Hello-hao/Tbed/releases/](https://github.com/Hello-hao/Tbed/releases/)
|
||||
|
||||
更多后台功能你可以自己搭建配置使用。
|
||||
|
||||
## 系统预览
|
||||
@@ -28,10 +37,11 @@
|
||||
|
||||
## 更新日志
|
||||
|
||||
**2019-07-21**
|
||||
2019-7-21更新
|
||||
> 增加腾讯COS对象存储
|
||||
> 修复多个GUB
|
||||
**2019-07-23**
|
||||
> 增加图片URL格式`用户名/`、`yyyy/MM/dd/`自定义
|
||||
> 增加自定义鉴黄周期
|
||||
> 上传图片返回的带有原图片名
|
||||
**本次更新增加数据库字段,需要重新导入新的sql文件,开发者做好备份。**
|
||||
|
||||
## 运行环境
|
||||
* JDK 1.8
|
||||
@@ -64,10 +74,29 @@ git clone https://github.com/Hello-hao/Tbed.git
|
||||
spring.datasource.username=root
|
||||
#数据库密码
|
||||
spring.datasource.password=root
|
||||
#数据库地址
|
||||
#数据库链接地址
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/picturebed?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
|
||||
#端口
|
||||
server.port=8088
|
||||
#鉴黄周期表达式 下方表达式为每天七点半执行
|
||||
#不懂请勿乱修改。具体可以参考官方文档http://doc.wwery.com
|
||||
Expression=0 30 04 * * ?
|
||||
|
||||
|
||||
#下边的配置项不需要修改。
|
||||
mybatis.configuration.map-underscore-to-camel-case=true
|
||||
mybatis.mapper-locations=classpath:mapper/*.xml
|
||||
logging.level.cn.hellohao.dao=debug
|
||||
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
||||
spring.jackson.time-zone=GMT+8
|
||||
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||||
spring.thymeleaf.cache=false
|
||||
multipart.maxFileSize=10240KB
|
||||
multipart.maxRequestSize=10240KB
|
||||
spring.thymeleaf.mode = LEGACYHTML5
|
||||
spring.http.multipart.location=/data/upload_tmp
|
||||
|
||||
```
|
||||
|
||||
### 启动项目
|
||||
@@ -86,9 +115,6 @@ server.port=8088
|
||||
|
||||
> **项目搭建部署教程:** [**http://www.hellohao.cn/?p=201**](http://www.hellohao.cn/?p=201 "点击查看搭建文档")
|
||||
|
||||
> [**编译包点击下载**](https://share.weiyun.com/5Uwu4lY "点击下载") 密码:`8QmG`
|
||||
|
||||
|
||||
|
||||
### 配置文件
|
||||
|
||||
|
||||
Reference in New Issue
Block a user