Merge branch 'master' of https://git.loafle.net/overflow/overflow_server
This commit is contained in:
commit
a750866682
|
@ -28,7 +28,7 @@ public class EmailAuthService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmailAuthDAO emailAuthDAO;
|
private EmailAuthDAO emailAuthDAO;
|
||||||
|
|
||||||
public EmailAuth sendEmailByMemberId(long memberId, String memberEmail) {
|
public EmailAuth sendEmailByMember(long memberId, String memberEmail) {
|
||||||
try {
|
try {
|
||||||
this.sendSimpleEmail(memberEmail, "Test Spring Mail", "Confirm Email");
|
this.sendSimpleEmail(memberEmail, "Test Spring Mail", "Confirm Email");
|
||||||
}catch (MailException e) {
|
}catch (MailException e) {
|
||||||
|
|
|
@ -17,8 +17,8 @@ public class ProbeService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ProbeDAO probeDAO;
|
private ProbeDAO probeDAO;
|
||||||
|
|
||||||
public void regist(Probe probe) {
|
public Probe regist(Probe probe) {
|
||||||
this.probeDAO.save(probe);
|
return this.probeDAO.save(probe);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<Probe> readAllByDomain(Domain domain) {
|
public List<Probe> readAllByDomain(Domain domain) {
|
||||||
|
|
|
@ -17,8 +17,8 @@ public class ProbeTaskService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ProbeTaskDAO probeTaskDAO;
|
private ProbeTaskDAO probeTaskDAO;
|
||||||
|
|
||||||
public void regist(ProbeTask probeTask) {
|
public ProbeTask regist(ProbeTask probeTask) {
|
||||||
this.probeTaskDAO.save(probeTask);
|
return this.probeTaskDAO.save(probeTask);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<ProbeTask> readAllByProbe(Probe probe) {
|
public List<ProbeTask> readAllByProbe(Probe probe) {
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
package com.loafle.overflow.module.probe.type;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by root on 17. 6. 23.
|
|
||||||
*/
|
|
||||||
public enum ProbeStatusType {
|
|
||||||
I("INITIAL"),
|
|
||||||
N("NORMAL");
|
|
||||||
|
|
||||||
|
|
||||||
private String stringValue;
|
|
||||||
ProbeStatusType(String string) {stringValue = string;}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return stringValue;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user