授权返回 readme 修改
This commit is contained in:
parent
18d3401d01
commit
f82fef9f3d
@ -118,8 +118,6 @@ PS:单独部署的话,数据库文件访问这里:https://gitee.com/beijing_
|
|||||||
|
|
||||||
#### 移动端
|
#### 移动端
|
||||||
|
|
||||||
<img src="https://pickmall.cn/assets/imgs/other/app.gif" alt="管理端功能展示" style="zoom:50%;" />
|
|
||||||
|
|
||||||
<img src="https://pickmall.cn/assets/imgs/other/app.gif" alt="移动端功能展示" style="zoom:50%;" />
|
<img src="https://pickmall.cn/assets/imgs/other/app.gif" alt="移动端功能展示" style="zoom:50%;" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ import cn.lili.common.utils.CommonUtil;
|
|||||||
import cn.lili.common.enums.ResultUtil;
|
import cn.lili.common.enums.ResultUtil;
|
||||||
import cn.lili.common.utils.StringUtils;
|
import cn.lili.common.utils.StringUtils;
|
||||||
import cn.lili.common.vo.ResultMessage;
|
import cn.lili.common.vo.ResultMessage;
|
||||||
|
import cn.lili.config.properties.SystemSetting;
|
||||||
import cn.lili.modules.file.entity.File;
|
import cn.lili.modules.file.entity.File;
|
||||||
import cn.lili.modules.file.plugin.FileManagerPlugin;
|
import cn.lili.modules.file.plugin.FileManagerPlugin;
|
||||||
import cn.lili.modules.file.service.FileService;
|
import cn.lili.modules.file.service.FileService;
|
||||||
@ -51,6 +52,9 @@ public class UploadController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private Cache cache;
|
private Cache cache;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private SystemSetting systemSetting;
|
||||||
|
|
||||||
@ApiOperation(value = "文件上传")
|
@ApiOperation(value = "文件上传")
|
||||||
@PostMapping(value = "/file")
|
@PostMapping(value = "/file")
|
||||||
public ResultMessage<Object> upload(MultipartFile file,
|
public ResultMessage<Object> upload(MultipartFile file,
|
||||||
@ -102,4 +106,9 @@ public class UploadController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiOperation(value = "返回licences")
|
||||||
|
@PostMapping(value = "/licences")
|
||||||
|
public ResultMessage<Object> licences() {
|
||||||
|
return ResultUtil.data(systemSetting.getLicences());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -214,6 +214,7 @@ jasypt:
|
|||||||
lili:
|
lili:
|
||||||
system:
|
system:
|
||||||
isDemoSite: true
|
isDemoSite: true
|
||||||
|
licences: 'temporary'
|
||||||
statistics:
|
statistics:
|
||||||
# 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
|
# 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
|
||||||
onlineMember: 48
|
onlineMember: 48
|
||||||
|
@ -6,6 +6,7 @@ import org.springframework.context.annotation.Configuration;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 系统设置
|
* 系统设置
|
||||||
|
*
|
||||||
* @author Chopper
|
* @author Chopper
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@ -18,4 +19,9 @@ public class SystemSetting {
|
|||||||
* 是否是演示站点
|
* 是否是演示站点
|
||||||
*/
|
*/
|
||||||
private Boolean isDemoSite = false;
|
private Boolean isDemoSite = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 授权信息
|
||||||
|
*/
|
||||||
|
private String licences = "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user