junekeunsong пре 4 година
родитељ
комит
b0231cea21

+ 0 - 4
src/main/java/com/lemon/lifecenter/scheduler/common/HomeController.java

@@ -41,13 +41,9 @@ public class HomeController {
         response = pushUtils.sendFcm("dC7nrWbLRquoaOoWdMAq2x:APA91bFqjD4LIHgoJU6s0ptR0MDqHqw8WxdjxRLsL8lpo5Do-RV8_NZ_MYXDM3xD0ex_Z8zaijvDKXhGvFPIUaZ4Dv8ilZqxcJmC5WXTlYNgetvFihQoQ-w25c4VbheYCXjJG5SXFCY4",
                 title, content);
         
-        logger.error("response! -- > " + response);
-        
         response = pushUtils.sendFcm("d_N0ErUTTk2QiRCur8-AcA:APA91bGLm2v9F2e4Sl-NIXXtPt6MzXze9NrdV6OltzyBo-DUGI_r9DGicQM6-yQ05T8M4KVN4XqpIkNx6nvbWZ7MKYNeGzs-9r44mjBW2nqApyIVRcFMTHSUhD58xSaumejuiW6K2Diq",
                 title, content);
         
-        logger.error("response!!!! -- > " + response);
-        
 //        pushUtils.sendFcm("fGKpg4m8SUSiaclDxhDUlS:APA91bFDbbSVtyA3mFFEE7q7DTBYMJkv9E_qBxeCM0lztuE1VyO4RbA1dSc8NC9QLbvV2TGf79eDFpZy2kh-wCkjlYYssIiX0DtIRkqvNgbtfJdosuF0Y8tjlsJua4r4-cAY_xldXsrU",
 //                title, content);
 //        

+ 0 - 5
src/main/java/com/lemon/lifecenter/scheduler/common/PushUtils.java

@@ -61,7 +61,6 @@ public class PushUtils {
                     .setToken(registrationToken).build();
  
             String response = FirebaseMessaging.getInstance().send(message);
-            logger.error("response -- > " + response);
             
             result.put("success", "success");
             return result;
@@ -137,8 +136,6 @@ public class PushUtils {
             Date date = new Date();
             Date nowTime  = dateFormat.parse(dateFormat.format(date));
             Date sendTime = dateFormat.parse(dateTime);
-            logger.error("nowTime  -- > " + nowTime);
-            logger.error("sendTime -- > " + sendTime);
             
             result = nowTime.after(sendTime) || nowTime.equals(sendTime);
             
@@ -158,8 +155,6 @@ public class PushUtils {
             Date date = new Date();
             Date nowTime  = dateFormat.parse(dateFormat.format(date));
             Date sendTime = dateFormat.parse(time);
-            logger.error("nowTime  -- > " + nowTime);
-            logger.error("sendTime -- > " + sendTime);
             
             result = nowTime.equals(sendTime);