Commit 3b520d68 authored by danzhongqin's avatar danzhongqin

Merge remote-tracking branch 'origin/master'

parents f4061a47 4267fe7b
......@@ -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>
......
......@@ -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);
}
......
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;
......
package com.jz.sms.chuanlan;
package com.jz.sms.chuanlan.service;
import com.jz.sms.dto.XfaceDmHubTemplateRequestDTO;
import com.jz.sms.dto.XfaceDmHubTemplateResponseDTO;
......
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 {
......
......@@ -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 # 短信下发接口
......
......@@ -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 # 短信下发接口
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment