[update] 調整sit與uat設定檔,並將測試接口permitAll出來
| | |
| | | .antMatchers("/api/register").permitAll() |
| | | .antMatchers("/api/activate").permitAll() |
| | | .antMatchers("/api/testLogin/**").permitAll() |
| | | .antMatchers("/api/test/sendMsg/**").permitAll() |
| | | .antMatchers("/api/otp/**").permitAll() |
| | | .antMatchers("/api/login/validate/**").permitAll() |
| | | .antMatchers("/api/eService/authenticate").permitAll() |
| | |
| | | public void setMessageStatus(String messageStatus) { |
| | | this.messageStatus = messageStatus; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "Data{" + |
| | | "messageStatus='" + messageStatus + '\'' + |
| | | '}'; |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "SendMailResponse{" + |
| | | "data=" + data + |
| | | '}'; |
| | | } |
| | | } |
| | |
| | | public void setErrorMsg(String errorMsg) { |
| | | this.errorMsg = errorMsg; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "SendSMSResponse{" + |
| | | "pKey='" + pKey + '\'' + |
| | | ", returnCode='" + returnCode + '\'' + |
| | | ", msgBatchNo='" + msgBatchNo + '\'' + |
| | | ", errorMsg='" + errorMsg + '\'' + |
| | | '}'; |
| | | } |
| | | } |
| | |
| | | package com.pollex.pam.web.rest.errors; |
| | | |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.web.bind.annotation.ResponseStatus; |
| | | |
| | | @ResponseStatus(code = HttpStatus.INTERNAL_SERVER_ERROR, reason = "send email failed") |
| | | public class SendEmailFailException extends RuntimeException { |
| | | public SendEmailFailException() { |
| | | } |
| | | public SendEmailFailException() {} |
| | | public SendEmailFailException(String message) { |
| | | super(message); |
| | | } |
| | |
| | | package com.pollex.pam.web.rest.errors; |
| | | |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.web.bind.annotation.ResponseStatus; |
| | | |
| | | @ResponseStatus(code = HttpStatus.INTERNAL_SERVER_ERROR, reason = "send email failed") |
| | | public class SendSMSFailException extends RuntimeException{ |
| | | public SendSMSFailException(){} |
| | | public SendSMSFailException(String message) { |
| | |
| | | e-service-login-func: ValidateUsrLogin |
| | | e-service-login-sys: epos |
| | | sms: |
| | | url: https://vtwlifewinbo66.pru.intranet.asia/MesgQueueMgmnt/rest/smsSendMsgResource |
| | | url: https://localhost:8081/testSMS |
| | | source-code: ePos |
| | | sender: POS |
| | | sms-type: 0017 |
| | | sms-type: '0017' |
| | | email: |
| | | url: https://vtwlifeopensysuat.pru.intranet.asia/tsgw/mq/mqSendMail |
| | | url: https://localhost:8081/testEmail |
| | | function-id: epos |
| | |
| | | e-service-login-url: https://eserviceuat.pcalife.com.tw/sso/chatbotValidate |
| | | e-service-login-func: ValidateUsrLogin |
| | | e-service-login-sys: epos |
| | | sms: |
| | | url: https://vtwlifewinbo66.pru.intranet.asia/MesgQueueMgmnt/rest/smsSendMsgResource |
| | | source-code: ePos |
| | | sender: POS |
| | | sms-type: '0017' |
| | | email: |
| | | url: https://vtwlifeopensysuat.pru.intranet.asia/tsgw/mq/mqSendMail |
| | | function-id: epos |
| | |
| | | e-service-login-url: https://eserviceuat.pcalife.com.tw/sso/chatbotValidate |
| | | e-service-login-func: ValidateUsrLogin |
| | | e-service-login-sys: epos |
| | | sms: |
| | | url: https://vtwlifewinbo66.pru.intranet.asia/MesgQueueMgmnt/rest/smsSendMsgResource |
| | | source-code: ePos |
| | | sender: POS |
| | | sms-type: '0017' |
| | | email: |
| | | url: https://vtwlifeopensysuat.pru.intranet.asia/tsgw/mq/mqSendMail |
| | | function-id: epos |