This commit is contained in:
wyd 2024-04-23 16:29:07 +08:00
parent 27aa4ec4ed
commit 84b5b66446
11 changed files with 96 additions and 74 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8">
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
<file url="PROJECT" charset="UTF-8" />
</component>
</project>

49
pom.xml
View File

@ -5,7 +5,8 @@
<groupId>com.jg</groupId>
<artifactId>jg</artifactId>
<version>3.8.7</version>
<!-- <version>3.8.7</version>-->
<version>4.0.0</version>
<packaging>jar</packaging>
<name>jg</name>
@ -264,29 +265,29 @@
</plugins>
</build>
<repositories>
<repository>
<id>public</id>
<name>aliyun nexus</name>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<!-- <repositories>-->
<!-- <repository>-->
<!-- <id>public</id>-->
<!-- <name>aliyun nexus</name>-->
<!-- <url>https://maven.aliyun.com/repository/public</url>-->
<!-- <releases>-->
<!-- <enabled>true</enabled>-->
<!-- </releases>-->
<!-- </repository>-->
<!-- </repositories>-->
<pluginRepositories>
<pluginRepository>
<id>public</id>
<name>aliyun nexus</name>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<!-- <pluginRepositories>-->
<!-- <pluginRepository>-->
<!-- <id>public</id>-->
<!-- <name>aliyun nexus</name>-->
<!-- <url>https://maven.aliyun.com/repository/public</url>-->
<!-- <releases>-->
<!-- <enabled>true</enabled>-->
<!-- </releases>-->
<!-- <snapshots>-->
<!-- <enabled>false</enabled>-->
<!-- </snapshots>-->
<!-- </pluginRepository>-->
<!-- </pluginRepositories>-->
</project>

View File

@ -26,22 +26,11 @@ public class JGApplication
Environment env = application.getEnvironment();
String ip = InetAddress.getLocalHost().getHostAddress();
String port = env.getProperty("server.port");
// System.setProperty("spring.devtools.restart.enabled", "false");
// SpringApplication.run(jgApplication.class, args);
System.out.println(" ████████ ██ ██████ ██ ████████ ██ ██ \n" +
" ██░░░░░░ ██████ ░░ █████ ░█░░░░██ ░██ ██░░░░░░ ░██ ░██ \n" +
"░██ ░██░░░██ ██████ ██ ███████ ██░░░██░█ ░██ ██████ ██████ ██████░██ ██████ ██████ ██████ ██████\n" +
"░█████████░██ ░██░░██░░█░██░░██░░░██░██ ░██░██████ ██░░░░██ ██░░░░██░░░██░ ░█████████░░░██░ ░░░░░░██ ░░██░░█░░░██░ \n" +
"░░░░░░░░██░██████ ░██ ░ ░██ ░██ ░██░░██████░█░░░░ ██░██ ░██░██ ░██ ░██ ░░░░░░░░██ ░██ ███████ ░██ ░ ░██ \n" +
" ░██░██░░░ ░██ ░██ ░██ ░██ ░░░░░██░█ ░██░██ ░██░██ ░██ ░██ ░██ ░██ ██░░░░██ ░██ ░██ \n" +
" ████████ ░██ ░███ ░██ ███ ░██ █████ ░███████ ░░██████ ░░██████ ░░██ ████████ ░░██ ░░████████░███ ░░██ ");
System.out.println("");
// System.out.println("http://localhost:9999/swagger-ui/index.html");
log.info("\n----------------------------------------------------------\n\t" +
"Application is running! Access URLs:\n\t" +
"localhost: \t\thttp://" + "localhost" + ":" + port + "/\n\t" +
"localhost: \t\thttp://" + "localhost" + ":" + port + "/doc.html\n\t" +
"Doc: \t\thttp://" + ip + ":" + port + "/doc.html\n\t" +
"Application is running! Access URLS:\n\t" +
"localhost: \t\t\thttp://" + "localhost" + ":" + port + "/\n\t" +
"localhostDoc: \t\thttp://" + "localhost" + ":" + port + "/doc.html\n\t" +
"Doc: \t\t\t\thttp://" + ip + ":" + port + "/doc.html\n\t" +
"swagger-ui: \t\thttp://" + ip + ":" + port + "/swagger-ui/index.html\n\t" +
"----------------------------------------------------------");
}

View File

@ -88,7 +88,6 @@ public class AboutPartThreeController extends BaseController {
@ApiOperation(value = "关于第三部分修改信息", notes = "关于第三部分修改信息")
@PostMapping("/edit")
public R<Boolean> edit(AboutPartThree aboutPartThree) {
log.info("aboutPartThree:{}",aboutPartThree);
boolean res = aboutPartThreeService.updateById(aboutPartThree);
return R.ok(res);
}

View File

@ -13,5 +13,5 @@ import java.util.List;
* @date 2024-04-19
*/
public interface IAboutPartThreeService extends IService<AboutPartThree> {
public List<AboutPartThree> selectAboutPartThreeList(AboutPartThree aboutPartThree);
List<AboutPartThree> selectAboutPartThreeList(AboutPartThree aboutPartThree);
}

View File

@ -3,6 +3,7 @@ jg:
# 名称
name: JG
# 版本
# version: 3.8.7
version: 4.0.0
# 版权年份
copyrightYear: 2024

View File

@ -1,18 +1,33 @@
Application Version: ${jg.version}
Spring Boot Version: ${spring-boot.version}
# # # # # ##########
#### ## ## ## ## ## ##
#### # ## ## ## # ## ##########
## ## ## ## ########## ## # ## ##
## #### ###### ## ############# ########## #
###### # ## ## ## # ## ## ###############
## # ## ## ######## ## ## # #
#### ## ## ## # # ## ## ## ###########
##### ## ## # ### ## ## ## ## ## ## ##
### # # ##### ### # ## ## ## ##########
# ## #### #### #### ## ## ## ## ##
# ## ### ## # ## ## ## ## ##########
## ## ## #### ## ## # ## #
## ## ## ## ### ## ## ########
## ## ### ## ### ## #### ## #
# # # # # # # ##############
_____ _ _ _ ___ _____ __ _____
/ ____| (_) | | | | |__ \ | ____/_ | ____|
| (___ _ __ _ __ _ _ __ __ _| |__ ___ ___ | |_ ) | | |__ | | |__
\___ \| '_ \| '__| | '_ \ / _` | '_ \ / _ \ / _ \| __| / / |___ \ | |___ \
____) | |_) | | | | | | | (_| | |_) | (_) | (_) | |_ / /_ _ ___) || |___) |
|_____/| .__/|_| |_|_| |_|\__, |_.__/ \___/ \___/ \__| |____(_)____(_)_|____/
| | __/ |
|_| |___/
__ /^\
.' \ / :.\
/ \ | :: \
/ /. \ / ::: |
| |::. \ / :::'/
| / \::. | / :::'/
`--` \' `~~~ ':'/`
/ (
/ 0 _ 0 \
\/ \_/ \/
-== '.' | '.' ==-
/\ '-^-' /\
\ _ _ /
.-`-((\o/))-`-.
_ / //^\\ \ _
."o".( , .:::. , )."o".
|o o\\ \:::::/ //o o|
\ \\ |:::::| // /
\ \\__/:::::\__// /
\ .:.\ `':::'` /.:. /
\':: |_ _| ::'/
`---` `"""""` `---`

View File

@ -3,6 +3,7 @@ jg:
# 名称
name: JG
# 版本
# version: 3.8.7
version: 4.0.0
# 版权年份
copyrightYear: 2024

View File

@ -1,18 +1,33 @@
Application Version: ${jg.version}
Spring Boot Version: ${spring-boot.version}
# # # # # ##########
#### ## ## ## ## ## ##
#### # ## ## ## # ## ##########
## ## ## ## ########## ## # ## ##
## #### ###### ## ############# ########## #
###### # ## ## ## # ## ## ###############
## # ## ## ######## ## ## # #
#### ## ## ## # # ## ## ## ###########
##### ## ## # ### ## ## ## ## ## ## ##
### # # ##### ### # ## ## ## ##########
# ## #### #### #### ## ## ## ## ##
# ## ### ## # ## ## ## ## ##########
## ## ## #### ## ## # ## #
## ## ## ## ### ## ## ########
## ## ### ## ### ## #### ## #
# # # # # # # ##############
_____ _ _ _ ___ _____ __ _____
/ ____| (_) | | | | |__ \ | ____/_ | ____|
| (___ _ __ _ __ _ _ __ __ _| |__ ___ ___ | |_ ) | | |__ | | |__
\___ \| '_ \| '__| | '_ \ / _` | '_ \ / _ \ / _ \| __| / / |___ \ | |___ \
____) | |_) | | | | | | | (_| | |_) | (_) | (_) | |_ / /_ _ ___) || |___) |
|_____/| .__/|_| |_|_| |_|\__, |_.__/ \___/ \___/ \__| |____(_)____(_)_|____/
| | __/ |
|_| |___/
__ /^\
.' \ / :.\
/ \ | :: \
/ /. \ / ::: |
| |::. \ / :::'/
| / \::. | / :::'/
`--` \' `~~~ ':'/`
/ (
/ 0 _ 0 \
\/ \_/ \/
-== '.' | '.' ==-
/\ '-^-' /\
\ _ _ /
.-`-((\o/))-`-.
_ / //^\\ \ _
."o".( , .:::. , )."o".
|o o\\ \:::::/ //o o|
\ \\ |:::::| // /
\ \\__/:::::\__// /
\ .:.\ `':::'` /.:. /
\':: |_ _| ::'/
`---` `"""""` `---`