Compare commits
89 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1832e29672 | |||
| 11ef997085 | |||
| bd1e67c481 | |||
| 81af4244e2 | |||
| 04b3213ced | |||
| 6d08799cb8 | |||
| b92918b9e8 | |||
| e013de4241 | |||
| 9daa370797 | |||
| ebd614b2e4 | |||
| 3a8b565db1 | |||
| 001d6ff90c | |||
| f7441166e4 | |||
| 136963e206 | |||
| f4bc489bb6 | |||
| d024e2ce19 | |||
| 05121c7fec | |||
| c137677f71 | |||
| 2414f5e4c9 | |||
| a820c534d2 | |||
| f48fb8a78d | |||
| f852c5c74b | |||
| d61e9e2351 | |||
| 309ee6f7ad | |||
| 1c00b78fb8 | |||
| e55cd8110d | |||
| 71099cb2ab | |||
| f1527975ea | |||
| ab0f2b74dd | |||
| 7de2f53abd | |||
| db9cd60424 | |||
| adcc060a94 | |||
| 3e59f8f617 | |||
| 3a412f1a5c | |||
| aec384d46f | |||
| 3a73101e34 | |||
| 4cecab8931 | |||
| 7e88420f54 | |||
| 885bb6b77a | |||
| 80e8e9f000 | |||
| ba5f8d1cfa | |||
| a7e9b239c5 | |||
| 8a597a0ef4 | |||
| d39f8109e6 | |||
| e8ab10d926 | |||
| 8ce0b67688 | |||
| ebaa32cb0c | |||
| 33042f2abc | |||
| ac4f045d03 | |||
| 1e0fcfb6e2 | |||
| df3b826b3e | |||
| 8d2f7b3042 | |||
| ae0650fac4 | |||
| 16a0e65627 | |||
| 3663f44989 | |||
| d343255e09 | |||
| c4da2f8ddd | |||
| 7e0b726b87 | |||
| e75d47a834 | |||
| 4de42cbbad | |||
| fec14cb2ee | |||
| 1b032c02a4 | |||
| 1ffbaf19a1 | |||
| f8d87a0298 | |||
| 221c7d98b9 | |||
| 69818cdd03 | |||
| 6b210915bf | |||
| f895e58ca3 | |||
| 44ed9f88c6 | |||
| fde1079d74 | |||
| ba3c813106 | |||
| 00ab5b15a3 | |||
| 8662dd44f0 | |||
| d1e946a31f | |||
| d0154d9447 | |||
| f70c890b4d | |||
| 96c065c0a2 | |||
| e80c55d599 | |||
| 72c98ba2f8 | |||
| e954bc59f2 | |||
| 1c1cd6edb3 | |||
| 06c48f8606 | |||
| 8b04c70a07 | |||
| 852c3b2b61 | |||
| 0dcc262f59 | |||
| e5251becd4 | |||
| 20fb9598c3 | |||
| aef4257f2c | |||
| 9a068aa1b7 |
+39
@@ -0,0 +1,39 @@
|
|||||||
|
#Maven
|
||||||
|
target/
|
||||||
|
pom.xml.tag
|
||||||
|
pom.xml.releaseBackup
|
||||||
|
pom.xml.versionsBackup
|
||||||
|
release.properties
|
||||||
|
|
||||||
|
# Eclipse
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
.settings/
|
||||||
|
bin/
|
||||||
|
|
||||||
|
# IntelliJ
|
||||||
|
.idea
|
||||||
|
*.ipr
|
||||||
|
*.iml
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
# NetBeans
|
||||||
|
nb-configuration.xml
|
||||||
|
|
||||||
|
# Visual Studio Code
|
||||||
|
.vscode
|
||||||
|
.factorypath
|
||||||
|
|
||||||
|
# OSX
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# Vim
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
|
||||||
|
# patch
|
||||||
|
*.orig
|
||||||
|
*.rej
|
||||||
|
|
||||||
|
# Local environment
|
||||||
|
.env
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2020 Yaoyuan Chu
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
中文 | [English](./README.md)
|
||||||
|
<p align="center"><img src="https://s3.ax1x.com/2021/01/16/srNEa6.png" height="200" alt="logo"/></p>
|
||||||
|
<h1 align="center"> Jiscuss </h1>
|
||||||
|
<h3 align="center">基于java的简单论坛系统,Jiscuss = Java + Discuss。</h3>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue" alt="License MIT"></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://github.com/chuyaoyuan/Jiscuss">Github 仓库</a> |
|
||||||
|
<a href="https://gitee.com/chuyaoyuan/Jiscuss">Gitee 仓库</a> |
|
||||||
|
<a href="http://demo.jiscuss.com/" target="_blank">在线体验</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 预览(预留)
|
||||||
|
|
||||||
|
|
||||||
|
# 简介
|
||||||
|
基于JAVA 构建,官网:[[www.jiscuss.com]](http://www.jiscuss.com/)
|
||||||
|
|
||||||
|
# 在线体验
|
||||||
|
|
||||||
|
- [[DEMO地址]](http://demo.jiscuss.com/)
|
||||||
|
|
||||||
|
# 部署
|
||||||
|
## [一]、开发环境配置
|
||||||
|
|
||||||
|
```
|
||||||
|
// 需jdk 1.8以上,maven3以上。
|
||||||
|
```
|
||||||
|
|
||||||
|
## [二]、下载代码
|
||||||
|
|
||||||
|
```
|
||||||
|
// Github - https://gitee.com/chuyaoyuan/Jiscuss.git
|
||||||
|
// Gitee - https://github.com/Chuyaoyuan/Jiscuss.git
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## [三]、运行启动(默认使用MYSQL数据库)
|
||||||
|
|
||||||
|
```
|
||||||
|
// 1、代码导入IDE
|
||||||
|
|
||||||
|
|
||||||
|
// 2、启动服务
|
||||||
|
|
||||||
|
|
||||||
|
// 4、访问地址
|
||||||
|
http://localhost
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## [四]、开源协议
|
||||||
|
|
||||||
|
[MIT](https://opensource.org/licenses/MIT)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
INFO 2023-08-07 20:18:44.163 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: Start loading
|
||||||
|
INFO 2023-08-07 20:18:44.175 [-Solon-executor-1][*][o.noear.solon.Solon]:
|
||||||
|
Logging: console {level=TRACE, enable=true}
|
||||||
|
INFO 2023-08-07 20:18:44.203 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: Plugin starting
|
||||||
|
INFO 2023-08-07 20:18:44.315 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: load: BeetlRender
|
||||||
|
INFO 2023-08-07 20:18:44.316 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: load: org.noear.solon.view.beetl.BeetlRender
|
||||||
|
INFO 2023-08-07 20:18:44.316 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: .htm=BeetlRender
|
||||||
|
INFO 2023-08-07 20:18:44.317 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: .btl=BeetlRender
|
||||||
|
INFO 2023-08-07 20:18:44.326 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: Bean scanning
|
||||||
|
INFO 2023-08-07 20:18:44.352 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: @json=StringSerializerRender#SnackSerializer
|
||||||
|
INFO 2023-08-07 20:18:44.352 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: @type_json=StringSerializerRender#SnackSerializer
|
||||||
|
INFO 2023-08-07 20:18:44.365 [-main][*][o.noear.solon.Solon]:
|
||||||
|
Connector:main: jlhttp: Started ServerConnector@{HTTP/1.1,[http/1.1]}{http://localhost:80}
|
||||||
|
INFO 2023-08-07 20:18:44.365 [-main][*][o.noear.solon.Solon]:
|
||||||
|
Server:main: jlhttp: Started (jlhttp 2.6/2.4.2) @10ms
|
||||||
|
INFO 2023-08-07 20:18:44.366 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: End loading elapsed=838ms pid=28784 v=2.4.2
|
||||||
|
INFO 2023-08-07 20:21:20.710 [-Thread-2][*][o.noear.solon.Solon]:
|
||||||
|
Server:main: jlhttp: Has Stopped (jlhttp 2.6/2.4.2)
|
||||||
|
INFO 2023-08-07 20:21:27.896 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: Start loading
|
||||||
|
INFO 2023-08-07 20:21:27.912 [-Solon-executor-1][*][o.noear.solon.Solon]:
|
||||||
|
Logging: console {level=TRACE, enable=true}
|
||||||
|
INFO 2023-08-07 20:21:27.946 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: Plugin starting
|
||||||
|
INFO 2023-08-07 20:21:28.195 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: load: BeetlRender
|
||||||
|
INFO 2023-08-07 20:21:28.198 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: load: org.noear.solon.view.beetl.BeetlRender
|
||||||
|
INFO 2023-08-07 20:21:28.198 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: .htm=BeetlRender
|
||||||
|
INFO 2023-08-07 20:21:28.198 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: .btl=BeetlRender
|
||||||
|
INFO 2023-08-07 20:21:28.213 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: Bean scanning
|
||||||
|
INFO 2023-08-07 20:21:28.260 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: @json=StringSerializerRender#SnackSerializer
|
||||||
|
INFO 2023-08-07 20:21:28.261 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: @type_json=StringSerializerRender#SnackSerializer
|
||||||
|
INFO 2023-08-07 20:21:28.282 [-main][*][o.noear.solon.Solon]:
|
||||||
|
Connector:main: jlhttp: Started ServerConnector@{HTTP/1.1,[http/1.1]}{http://localhost:80}
|
||||||
|
INFO 2023-08-07 20:21:28.283 [-main][*][o.noear.solon.Solon]:
|
||||||
|
Server:main: jlhttp: Started (jlhttp 2.6/2.4.2) @16ms
|
||||||
|
INFO 2023-08-07 20:21:28.285 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: End loading elapsed=1027ms pid=32548 v=2.4.2
|
||||||
|
INFO 2023-08-07 20:21:30.257 [-Thread-2][*][o.noear.solon.Solon]:
|
||||||
|
Server:main: jlhttp: Has Stopped (jlhttp 2.6/2.4.2)
|
||||||
|
INFO 2023-08-07 20:21:35.121 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: Start loading
|
||||||
|
INFO 2023-08-07 20:21:35.135 [-Solon-executor-1][*][o.noear.solon.Solon]:
|
||||||
|
Logging: console {level=TRACE, enable=true}
|
||||||
|
INFO 2023-08-07 20:21:35.160 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: Plugin starting
|
||||||
|
INFO 2023-08-07 20:21:35.266 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: load: BeetlRender
|
||||||
|
INFO 2023-08-07 20:21:35.266 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: load: org.noear.solon.view.beetl.BeetlRender
|
||||||
|
INFO 2023-08-07 20:21:35.266 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: .htm=BeetlRender
|
||||||
|
INFO 2023-08-07 20:21:35.266 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: .btl=BeetlRender
|
||||||
|
INFO 2023-08-07 20:21:35.275 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: Bean scanning
|
||||||
|
INFO 2023-08-07 20:21:35.312 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: @json=StringSerializerRender#SnackSerializer
|
||||||
|
INFO 2023-08-07 20:21:35.312 [-main][*][o.noear.solon.Solon]:
|
||||||
|
View: mapping: @type_json=StringSerializerRender#SnackSerializer
|
||||||
|
INFO 2023-08-07 20:21:35.330 [-main][*][o.noear.solon.Solon]:
|
||||||
|
Connector:main: jlhttp: Started ServerConnector@{HTTP/1.1,[http/1.1]}{http://localhost:80}
|
||||||
|
INFO 2023-08-07 20:21:35.331 [-main][*][o.noear.solon.Solon]:
|
||||||
|
Server:main: jlhttp: Started (jlhttp 2.6/2.4.2) @14ms
|
||||||
|
INFO 2023-08-07 20:21:35.332 [-main][*][o.noear.solon.Solon]:
|
||||||
|
App: End loading elapsed=796ms pid=29432 v=2.4.2
|
||||||
|
INFO 2023-08-07 20:21:40.308 [-jlhttp-1][*][c.j.c.DemoController]:
|
||||||
|
test
|
||||||
|
INFO 2023-08-07 20:21:42.146 [-jlhttp-1][*][c.j.c.DemoController]:
|
||||||
|
test
|
||||||
|
INFO 2023-08-07 20:21:42.929 [-jlhttp-1][*][c.j.c.DemoController]:
|
||||||
|
test
|
||||||
|
INFO 2023-08-07 20:21:43.975 [-jlhttp-1][*][c.j.c.DemoController]:
|
||||||
|
test
|
||||||
|
INFO 2023-08-07 20:21:51.555 [-Thread-2][*][o.noear.solon.Solon]:
|
||||||
|
Server:main: jlhttp: Has Stopped (jlhttp 2.6/2.4.2)
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>com.yaoyuan</groupId>
|
||||||
|
<artifactId>jiscuss</artifactId>
|
||||||
|
<version>2.0</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>org.noear</groupId>
|
||||||
|
<artifactId>solon-parent</artifactId>
|
||||||
|
<version>2.4.3</version>
|
||||||
|
<relativePath />
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.noear</groupId>
|
||||||
|
<artifactId>solon-api</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.noear</groupId>
|
||||||
|
<artifactId>solon.auth</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.noear</groupId>
|
||||||
|
<artifactId>solon.view.beetl</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.noear</groupId>
|
||||||
|
<artifactId>solon.banner</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.noear</groupId>
|
||||||
|
<artifactId>solon.logging.logback</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.noear</groupId>
|
||||||
|
<artifactId>solon.health.detector</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<finalName>${project.artifactId}</finalName>
|
||||||
|
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.noear</groupId>
|
||||||
|
<artifactId>solon-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
package com.jiscuss;
|
||||||
|
|
||||||
|
import com.jiscuss.dso.AuthProcessorImpl;
|
||||||
|
import org.noear.solon.annotation.Bean;
|
||||||
|
import org.noear.solon.annotation.Configuration;
|
||||||
|
import org.noear.solon.auth.AuthUtil;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author cyy 2023/7/12 created
|
||||||
|
*/
|
||||||
|
@Configuration
|
||||||
|
public class Config {
|
||||||
|
@Bean
|
||||||
|
public void authAdapter(){
|
||||||
|
AuthUtil.adapter()
|
||||||
|
.processor(new AuthProcessorImpl());
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
package com.jiscuss;
|
||||||
|
|
||||||
|
import org.noear.solon.Solon;
|
||||||
|
import org.noear.solon.annotation.SolonMain;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author cyy 2023/7/12 created
|
||||||
|
*/
|
||||||
|
@SolonMain
|
||||||
|
public class JiscussApp {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
Solon.start(JiscussApp.class, args)
|
||||||
|
.onError(e -> e.printStackTrace());
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
package com.jiscuss.controller;
|
||||||
|
|
||||||
|
import org.noear.solon.annotation.Controller;
|
||||||
|
import org.noear.solon.annotation.Mapping;
|
||||||
|
import org.noear.solon.core.handle.ModelAndView;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author cyy 2023/7/12 created
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
public class DemoController {
|
||||||
|
|
||||||
|
static Logger log = LoggerFactory.getLogger(DemoController.class);
|
||||||
|
|
||||||
|
@Mapping("/")
|
||||||
|
public Object test(){
|
||||||
|
log.info("test");
|
||||||
|
ModelAndView model = new ModelAndView("index.htm");
|
||||||
|
model.put("title","jiscuss");
|
||||||
|
model.put("message","你好 jiscuss!");
|
||||||
|
|
||||||
|
return model;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
package com.jiscuss.dso;
|
||||||
|
|
||||||
|
import org.noear.solon.auth.AuthProcessorBase;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author cyy 2023/7/12 created
|
||||||
|
*/
|
||||||
|
public class AuthProcessorImpl extends AuthProcessorBase {
|
||||||
|
@Override
|
||||||
|
public boolean verifyLogined() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected List<String> getPermissions() {
|
||||||
|
List<String> list = new ArrayList<>();
|
||||||
|
|
||||||
|
list.add("user:add");
|
||||||
|
list.add("user:demo");
|
||||||
|
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected List<String> getRoles() {
|
||||||
|
List<String> list = new ArrayList<>();
|
||||||
|
|
||||||
|
list.add("admin1");
|
||||||
|
list.add("admin2");
|
||||||
|
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${title}</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
jiscss::${message}
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>权限(user:add)</td>
|
||||||
|
<td>
|
||||||
|
<#authPermissions name="user:add">
|
||||||
|
有
|
||||||
|
</#authPermissions>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>权限(user:del)</td><td>
|
||||||
|
<#authPermissions name="user:del">
|
||||||
|
有
|
||||||
|
</#authPermissions>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>权限(user:clear)</td><td>
|
||||||
|
<#authPermissions name="user:clear">
|
||||||
|
有
|
||||||
|
</#authPermissions>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>角色(admin1)</td><td>
|
||||||
|
<#authRoles name="admin1">
|
||||||
|
有
|
||||||
|
</#authRoles>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>角色(admin2)</td><td>
|
||||||
|
<#authRoles name="admin2">
|
||||||
|
有
|
||||||
|
</#authRoles>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>角色(admin3)</td><td>
|
||||||
|
<#authRoles name="admin3">
|
||||||
|
有
|
||||||
|
</#authRoles>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
server.port: 80
|
||||||
|
|
||||||
|
solon.app:
|
||||||
|
name: jiscuss
|
||||||
|
group: jiscuss
|
||||||
|
|
||||||
|
# 可选: *,disk,cpu,jvm,memory,os,qps
|
||||||
|
solon.health.detector: "*"
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
_ _
|
||||||
|
| (_)
|
||||||
|
| |_ ___ ___ _ _ ___ ___
|
||||||
|
_ | | / __|/ __| | | / __/ __|
|
||||||
|
| |__| | \__ \ (__| |_| \__ \__ \
|
||||||
|
\____/|_|___/\___|\__,_|___/___/
|
||||||
|
=========================================================
|
||||||
|
:: Solon :: (v${solon.version})
|
||||||
Reference in New Issue
Block a user