Browse Source

no message

FengChaoYu 7 months ago
parent
commit
af2e04c9c1

+ 3 - 4
mall-server-api/src/main/java/com/gree/mall/manager/schedule/InsureEmailSchedule.java

@@ -5,7 +5,6 @@ package com.gree.mall.manager.schedule;
 import com.gree.mall.manager.logic.policy.AgreementLogic;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
-import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Component;
 
 import javax.mail.MessagingException;
@@ -25,21 +24,21 @@ public class InsureEmailSchedule {
 
 
     //每小时执行1次
-    @Scheduled(fixedDelay = 60*60* 1000)
+//    @Scheduled(fixedDelay = 60*60* 1000)
     public void task() throws IOException {
         agreementLogic.sendEmailSche();
     }
 
 
     //监测今天是否有回执邮件,如果有则表示今天买保险的回执成功
-    @Scheduled(fixedDelay = 60* 1000)
+//    @Scheduled(fixedDelay = 60* 1000)
     public void task2() throws IOException, MessagingException {
         agreementLogic.receEmail();
     }
 
 
     //保险过期
-    @Scheduled(fixedDelay = 60*60* 1000)
+//    @Scheduled(fixedDelay = 60*60* 1000)
     public void task3(){
         agreementLogic.offInsure();
     }

+ 3 - 1
mall-server-api/src/main/resources/bootstrap-prd.properties

@@ -119,4 +119,6 @@ fadada.websit.auth.page-modify=1
 fadada.websit.auth.verified-way=3
 fadada.websit.auth.notify.url=${sys.url}/${server.servlet.context-path}/fdd/notify/websit/auth
 fadada.websit.sign.notify.url=${sys.url}/${server.servlet.context-path}/fdd/notify/websit/batch/sign
-fadada.websit.person.auth.notify.url=${sys.url}/${server.servlet.context-path}/fdd/notify/websit/person
+fadada.websit.person.auth.notify.url=${sys.url}/${server.servlet.context-path}/fdd/notify/websit/person
+
+gree.url=https://api.sms-test.gree.com/api/sso/sms-server-order-external