mirror of
https://github.com/Hello-hao/Tbed.git
synced 2024-04-21 12:32:10 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f61e672e54 | ||
|
|
4a5147b862 | ||
|
|
f9374cbc0e |
@@ -10,7 +10,7 @@
|
||||
|
||||
### 引导
|
||||
|
||||
[官网](https://tbed.hellohao.cn) | [宣传视频](https://www.bilibili.com/video/BV11r4y1y7mH/) | [文档](https://doc.hellohao.cn) | [演示站](https://pic.hellohao.cn) | [前端源码](https://github.com/Hello-hao/tbed-web)
|
||||
[官网](https://tbed.hellohao.cn) | [宣传视频](https://www.bilibili.com/video/BV11r4y1y7mH/) | [文档](https://doc.hellohao.cn) | [演示站](https://pic.hellohao.cn) | [前端源码](https://github.com/Hello-hao/tbed-web) | [客户端程序](https://tbed.hellohao.cn/app)
|
||||
|
||||
|
||||
### 前言
|
||||
@@ -60,7 +60,7 @@ Core版:`本地`,`阿里OSS`,`又拍USS`,`七牛KODO`,`腾讯COS`,`网易NOS`,
|
||||
|
||||
### 主要功能
|
||||
|
||||
- [x] 全端支持,不限于(web/windows/mac/移动小程序)
|
||||
- [x] 全端支持,不限于(`web端`/`桌面端Windows/Mac`/`移动端小程序`)
|
||||
|
||||
- [x] 前后端分离式架构设计,部署更方便
|
||||
|
||||
@@ -163,7 +163,7 @@ Core版:`本地`,`阿里OSS`,`又拍USS`,`七牛KODO`,`腾讯COS`,`网易NOS`,
|
||||
|
||||
### 客户端(win64/mac)
|
||||
> 目前正在开发过程中,预计将于近期上线。
|
||||

|
||||

|
||||
|
||||
|
||||
### 微信小程序
|
||||
|
||||
@@ -22,7 +22,6 @@ public class ClientController {
|
||||
@Autowired
|
||||
private ClientService clientService;
|
||||
|
||||
|
||||
@PostMapping(value = "/uploadbymail")
|
||||
@ResponseBody
|
||||
public Msg uploadbymail(HttpServletRequest request, @RequestParam("file") MultipartFile file, String mail, String pass) {
|
||||
|
||||
@@ -20,7 +20,7 @@ public class ImageReviewController {
|
||||
private ImgreviewService imgreviewService;
|
||||
|
||||
|
||||
@PostMapping("/updateimgReviewConfig") //new
|
||||
@PostMapping("/updateimgReviewConfig")
|
||||
@ResponseBody
|
||||
public Msg updateimgReviewConfig(@RequestParam(value = "data", defaultValue = "") String data ) {
|
||||
final Msg msg = new Msg();
|
||||
|
||||
@@ -270,7 +270,7 @@ public class IndexController {
|
||||
}
|
||||
}
|
||||
|
||||
@PostMapping({"/deleImagesByUid","/client/deleImagesByUid"}) //new
|
||||
@PostMapping({"/deleImagesByUid","/client/deleImagesByUid"})
|
||||
@ResponseBody
|
||||
public Msg deleImagesByUid(@RequestParam(value = "data", defaultValue = "") String data) {
|
||||
Msg msg = new Msg();
|
||||
|
||||
@@ -97,7 +97,7 @@ public class UserController {
|
||||
}
|
||||
String uid = UUID.randomUUID().toString().replace("-", "").toLowerCase();
|
||||
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式
|
||||
String birthder = df.format(new Date());// new Date()为获取当前系统时间
|
||||
String birthder = df.format(new Date());
|
||||
user.setLevel(1);
|
||||
user.setUid(uid);
|
||||
user.setBirthder(birthder);
|
||||
|
||||
Reference in New Issue
Block a user