Skip to content

Commit

Permalink
Merge pull request #52 from zlt2000/react-dev
Browse files Browse the repository at this point in the history
React dev
  • Loading branch information
zlt2000 authored Oct 23, 2022
2 parents f8b5856 + 40c1ecf commit fa0d663
Show file tree
Hide file tree
Showing 345 changed files with 21,619 additions and 13,593 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@
<!-- 业务 -->
<module>zlt-business</module>
<!-- 前端 -->
<module>zlt-web</module>
<!--<module>zlt-web</module>-->
<!-- 任务 -->
<module>zlt-job</module>
<!-- 监控 -->
Expand Down
6 changes: 3 additions & 3 deletions zlt-config/src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
########################## 统一变量配置 ##########################
##### 数据库配置
zlt.datasource.ip=192.168.28.130
zlt.datasource.ip=127.0.0.1
zlt.datasource.username=root
zlt.datasource.password=1q2w3e4r
zlt.datasource.password=123456

##### redis配置
spring.redis.host=192.168.28.130
spring.redis.host=127.0.0.1
spring.redis.port=6379
spring.redis.timeout=5000

Expand Down
4 changes: 2 additions & 2 deletions zlt-config/src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ zlt.datasource.password=1q2w3e4r

##### redis配置
spring.redis.sentinel.master=mymaster
spring.redis.sentinel.nodes=192.168.28.130:26380,192.168.28.131:26381
spring.redis.password=1q2w3e4r
spring.redis.sentinel.nodes=172.17.0.1
spring.redis.password=

##### elasticsearch配置
zlt.elasticsearch.uris=192.168.28.130:9200
Expand Down
6 changes: 3 additions & 3 deletions zlt-config/src/main/resources/bootstrap.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
spring.profiles.active=dev

##### nacos(注册中心和配置中心)地址
spring.cloud.nacos.server-addr=192.168.28.130:8848
#spring.cloud.nacos.username=nacos
#spring.cloud.nacos.password=nacos
spring.cloud.nacos.server-addr=127.0.0.1:8848
spring.cloud.nacos.username=nacos
spring.cloud.nacos.password=nacos
spring.cloud.nacos.config.file-extension=yml
spring.cloud.nacos.config.shared-configs[0].data-id=common.yml
spring.cloud.nacos.config.shared-configs[0].refresh=true
Expand Down
45 changes: 45 additions & 0 deletions zlt-web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
**/node
**/node_modules
# roadhog-api-doc ignore
/src/utils/request-temp.js
_roadhog-api-doc

# production
**/dist


# misc
.DS_Store
npm-debug.log*
yarn-error.log

/coverage
.idea
yarn.lock
package-lock.json
pnpm-lock.yaml
*bak


# visual studio code
.vscode
.history
*.log
functions/*
.temp/**

# umi
.umi
.umi-production

# screenshot
screenshot
.firebase
.eslintcache

# maven
target
build
67 changes: 0 additions & 67 deletions zlt-web/back-web/pom.xml

This file was deleted.

File renamed without changes.
43 changes: 43 additions & 0 deletions zlt-web/layui-web/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?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>

<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-web</artifactId>
<version>5.4.0</version>
</parent>
<artifactId>layui-web</artifactId>
<description>Layui开发的前端</description>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.5.14</version>
</dependency>

<!--<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>-->
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<finalName>${project.artifactId}</finalName>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.central.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
* @author zlt
*/
@SpringBootApplication
public class BackWebApplication {
public static void main(String[] args) {
SpringApplication.run(BackWebApplication.class, args);
}
}
package com.central.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
* @author zlt
*/
@SpringBootApplication
public class BackWebApplication {
public static void main(String[] args) {
SpringApplication.run(BackWebApplication.class, args);
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
server:
server:
port: 8066
Loading

0 comments on commit fa0d663

Please sign in to comment.