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"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <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="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
<file url="PROJECT" charset="UTF-8" />
</component> </component>
</project> </project>

49
pom.xml
View File

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

View File

@ -26,22 +26,11 @@ public class JGApplication
Environment env = application.getEnvironment(); Environment env = application.getEnvironment();
String ip = InetAddress.getLocalHost().getHostAddress(); String ip = InetAddress.getLocalHost().getHostAddress();
String port = env.getProperty("server.port"); 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" + log.info("\n----------------------------------------------------------\n\t" +
"Application is running! Access URLs:\n\t" + "Application is running! Access URLS:\n\t" +
"localhost: \t\thttp://" + "localhost" + ":" + port + "/\n\t" + "localhost: \t\t\thttp://" + "localhost" + ":" + port + "/\n\t" +
"localhost: \t\thttp://" + "localhost" + ":" + port + "/doc.html\n\t" + "localhostDoc: \t\thttp://" + "localhost" + ":" + port + "/doc.html\n\t" +
"Doc: \t\thttp://" + ip + ":" + 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" + "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 = "关于第三部分修改信息") @ApiOperation(value = "关于第三部分修改信息", notes = "关于第三部分修改信息")
@PostMapping("/edit") @PostMapping("/edit")
public R<Boolean> edit(AboutPartThree aboutPartThree) { public R<Boolean> edit(AboutPartThree aboutPartThree) {
log.info("aboutPartThree:{}",aboutPartThree);
boolean res = aboutPartThreeService.updateById(aboutPartThree); boolean res = aboutPartThreeService.updateById(aboutPartThree);
return R.ok(res); return R.ok(res);
} }

View File

@ -13,5 +13,5 @@ import java.util.List;
* @date 2024-04-19 * @date 2024-04-19
*/ */
public interface IAboutPartThreeService extends IService<AboutPartThree> { 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 name: JG
# 版本 # 版本
# version: 3.8.7
version: 4.0.0 version: 4.0.0
# 版权年份 # 版权年份
copyrightYear: 2024 copyrightYear: 2024

View File

@ -1,18 +1,33 @@
Application Version: ${jg.version} Application Version: ${jg.version}
Spring Boot Version: ${spring-boot.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 name: JG
# 版本 # 版本
# version: 3.8.7
version: 4.0.0 version: 4.0.0
# 版权年份 # 版权年份
copyrightYear: 2024 copyrightYear: 2024

View File

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