Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dmhub-plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinxunjia
dmhub-plugin
Commits
3b520d68
Commit
3b520d68
authored
Apr 21, 2020
by
danzhongqin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
f4061a47
4267fe7b
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
8 deletions
+42
-8
pom.xml
pom.xml
+14
-0
Application.java
src/main/java/com/jz/Application.java
+0
-1
BizController.java
src/main/java/com/jz/sms/api/BizController.java
+1
-1
SendService.java
src/main/java/com/jz/sms/chuanlan/service/SendService.java
+1
-1
SendServiceImpl.java
...ava/com/jz/sms/chuanlan/service/impl/SendServiceImpl.java
+2
-3
application-prod.yml
src/main/resources/application-prod.yml
+12
-1
application-test.yml
src/main/resources/application-test.yml
+12
-1
No files found.
pom.xml
View file @
3b520d68
...
...
@@ -35,8 +35,22 @@
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<!-- Spring-Mybatis -->
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
2.1.1
</version>
</dependency>
<!-- MySQL -->
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
...
...
src/main/java/com/jz/Application.java
View file @
3b520d68
...
...
@@ -6,7 +6,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public
class
Application
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
Application
.
class
,
args
);
}
...
...
src/main/java/com/jz/sms/api/BizController.java
View file @
3b520d68
package
com
.
jz
.
sms
.
api
;
import
com.jz.sms.chuanlan.SendService
;
import
com.jz.sms.chuanlan.
service.
SendService
;
import
com.jz.sms.dto.XfaceDmHubTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateResponseDTO
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
src/main/java/com/jz/sms/chuanlan/SendService.java
→
src/main/java/com/jz/sms/chuanlan/
service/
SendService.java
View file @
3b520d68
package
com
.
jz
.
sms
.
chuanlan
;
package
com
.
jz
.
sms
.
chuanlan
.
service
;
import
com.jz.sms.dto.XfaceDmHubTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateResponseDTO
;
...
...
src/main/java/com/jz/sms/chuanlan/impl/SendServiceImpl.java
→
src/main/java/com/jz/sms/chuanlan/
service/
impl/SendServiceImpl.java
View file @
3b520d68
package
com
.
jz
.
sms
.
chuanlan
.
impl
;
package
com
.
jz
.
sms
.
chuanlan
.
service
.
impl
;
import
com.jz.sms.chuanlan.SendService
;
import
com.jz.sms.chuanlan.
service.
SendService
;
import
com.jz.sms.dto.XfaceClTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceClTemplateResponseDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateResponseDTO
;
import
org.springframework.stereotype.Service
;
import
java.util.Map
;
@Service
public
class
SendServiceImpl
implements
SendService
{
...
...
src/main/resources/application-prod.yml
View file @
3b520d68
...
...
@@ -3,12 +3,23 @@ server:
#contextPath: /resource
spring
:
datasource
:
url
:
jdbc:mysql://127.0.0.1:3306/plugin?characterEncoding=utf8&useSSL=false
driver-class-name
:
com.mysql.jdbc.Driver
username
:
root
password
:
root
hikari
:
maxLifetime
:
1765000
maximumPoolSize
:
20
connectionTimeout
:
30000
idleTimeout
:
600000
system
:
config
:
chuanlan
:
notificationAccount
:
N0767543
# 通知类短信账号
notificationPassword
:
N0767543
# 通知类短信密码
marketingAccount
:
M7603731
# 营销类短信账号
marketingPassword
:
N0767543
# 营销类短信密码
sendFixed
:
http://smssh1.253.com/msg/send/json
# 短信下发接口
...
...
src/main/resources/application-test.yml
View file @
3b520d68
...
...
@@ -4,12 +4,23 @@ server:
#contextPath: /resource
spring
:
datasource
:
url
:
jdbc:mysql://127.0.0.1:3306/dmp_web?characterEncoding=utf8&useSSL=false
driver-class-name
:
com.mysql.jdbc.Driver
username
:
root
password
:
root
hikari
:
maxLifetime
:
1765000
maximumPoolSize
:
20
connectionTimeout
:
30000
idleTimeout
:
600000
system
:
config
:
chuanlan
:
notificationAccount
:
N0767543
# 通知类短信账号
notificationPassword
:
N0767543
# 通知类短信密码
marketingAccount
:
M7603731
# 营销类短信账号
marketingPassword
:
N0767543
# 营销类短信密码
sendFixed
:
http://smssh1.253.com/msg/send/json
# 短信下发接口
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment