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
c619c230
Commit
c619c230
authored
Apr 21, 2020
by
qinxunjia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
冲突处理,路径修改
parent
c6157238
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
41 additions
and
22 deletions
+41
-22
pom.xml
pom.xml
+14
-0
Application.java
src/main/java/com/jz/Application.java
+0
-1
SendService.java
src/main/java/com/jz/sms/chuanlan/SendService.java
+0
-10
SendService.java
src/main/java/com/jz/sms/chuanlan/service/SendService.java
+3
-5
SendServiceImpl.java
...ava/com/jz/sms/chuanlan/service/impl/SendServiceImpl.java
+0
-5
application-prod.yml
src/main/resources/application-prod.yml
+12
-1
application-test.yml
src/main/resources/application-test.yml
+12
-0
No files found.
pom.xml
View file @
c619c230
...
@@ -35,8 +35,22 @@
...
@@ -35,8 +35,22 @@
<artifactId>
spring-boot-starter-test
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
<scope>
test
</scope>
</dependency>
</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>
</dependencies>
<build>
<build>
<plugins>
<plugins>
<plugin>
<plugin>
...
...
src/main/java/com/jz/Application.java
View file @
c619c230
...
@@ -6,7 +6,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
...
@@ -6,7 +6,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@SpringBootApplication
public
class
Application
{
public
class
Application
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
Application
.
class
,
args
);
SpringApplication
.
run
(
Application
.
class
,
args
);
}
}
...
...
src/main/java/com/jz/sms/chuanlan/SendService.java
deleted
100644 → 0
View file @
c6157238
package
com
.
jz
.
sms
.
chuanlan
;
import
com.jz.sms.dto.XfaceDmHubTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateResponseDTO
;
public
interface
SendService
{
XfaceDmHubTemplateResponseDTO
send
(
XfaceDmHubTemplateRequestDTO
requestDTO
);
}
src/main/java/com/jz/sms/chuanlan/service/SendService.java
View file @
c619c230
package
com
.
jz
.
sms
.
chuanlan
.
service
;
package
com
.
jz
.
sms
.
chuanlan
.
service
;
import
java.util.Map
;
import
com.jz.sms.dto.XfaceDmHubTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateResponseDTO
;
public
interface
SendService
{
public
interface
SendService
{
Map
<
String
,
Object
>
sendByFixed
(
Map
<
String
,
Object
>
params
);
XfaceDmHubTemplateResponseDTO
send
(
XfaceDmHubTemplateRequestDTO
requestDTO
);
Map
<
String
,
Object
>
sendByVariable
(
Map
<
String
,
Object
>
params
);
}
}
src/main/java/com/jz/sms/chuanlan/service/impl/SendServiceImpl.java
View file @
c619c230
package
com
.
jz
.
sms
.
chuanlan
.
service
.
impl
;
package
com
.
jz
.
sms
.
chuanlan
.
service
.
impl
;
<<<<<<<
HEAD:
src
/
main
/
java
/
com
/
jz
/
sms
/
chuanlan
/
service
/
impl
/
SendServiceImpl
.
java
import
com.jz.sms.chuanlan.service.SendService
;
import
com.jz.sms.chuanlan.service.SendService
;
=======
import
com.jz.sms.chuanlan.SendService
;
import
com.jz.sms.dto.XfaceClTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceClTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceClTemplateResponseDTO
;
import
com.jz.sms.dto.XfaceClTemplateResponseDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateRequestDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateResponseDTO
;
import
com.jz.sms.dto.XfaceDmHubTemplateResponseDTO
;
>>>>>>>
528
ba3c0e06018ca5719f9e1b7b1f6a61a423153:
src
/
main
/
java
/
com
/
jz
/
sms
/
chuanlan
/
impl
/
SendServiceImpl
.
java
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.util.Map
;
@Service
@Service
public
class
SendServiceImpl
implements
SendService
{
public
class
SendServiceImpl
implements
SendService
{
...
...
src/main/resources/application-prod.yml
View file @
c619c230
...
@@ -3,12 +3,23 @@ server:
...
@@ -3,12 +3,23 @@ server:
#contextPath: /resource
#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
:
system
:
config
:
config
:
chuanlan
:
chuanlan
:
notificationAccount
:
N0767543
# 通知类短信账号
notificationAccount
:
N0767543
# 通知类短信账号
notificationPassword
:
N0767543
# 通知类短信密码
notificationPassword
:
N0767543
# 通知类短信密码
marketingAccount
:
M7603731
# 营销类短信账号
marketingAccount
:
M7603731
# 营销类短信账号
marketingPassword
:
N0767543
# 营销类短信密码
marketingPassword
:
N0767543
# 营销类短信密码
sendFixed
:
http://smssh1.253.com/msg/send/json
# 短信下发接口
sendFixed
:
http://smssh1.253.com/msg/send/json
# 短信下发接口
...
...
src/main/resources/application-test.yml
View file @
c619c230
...
@@ -4,6 +4,18 @@ server:
...
@@ -4,6 +4,18 @@ server:
#contextPath: /resource
#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
:
system
:
config
:
config
:
chuanlan
:
chuanlan
:
...
...
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