增加nextday
authorCaisking <Casiking@zhihuishixun.com>
Thu, 30 Oct 2025 10:50:12 +0000 (18:50 +0800)
committerCaisking <Casiking@zhihuishixun.com>
Thu, 30 Oct 2025 10:50:12 +0000 (18:50 +0800)
code/sdk/application/wearable/fd230/service/msg_center/src/msg_center_customer.cpp

index 6e189ca..2b9a8d3 100644 (file)
@@ -365,7 +365,6 @@ void MsgCenterNotifyNextDayProc(const Topic topic, Request *req)
     unused(req);
     AlarmClockModel::GetInstance()->NextDayNotify();
     // current_year = 0;
-#if 0
     printf("******nextday is begin******\r\n");
     // 存储nextday执行日志
     start_report_nextday_log_start();
@@ -398,7 +397,6 @@ void MsgCenterNotifyNextDayProc(const Topic topic, Request *req)
     nextday_clear_popup_windows_log();
 
     printf("******nextday is end******\r\n");
-#endif
 #ifdef SUPPORT_CYWEE_SERVICE
     /* --------------------------------- 每日目标相关 --------------------------------- */
     cywee_reset_history_daily_data(); //清除运动相关数据
@@ -409,7 +407,6 @@ void MsgCenterNotifyNextDayProc(const Topic topic, Request *req)
         set_Is_show_flag(1,i);
     }
    
-
     do_cywee_service_check_msg(CYWEE_SERVICE_CMD_RESET_DAILY_DATA, NULL);
 
     // SendMsgToUIService(UI_UPDATE_GOAL, 0, nullptr, 0);
@@ -437,7 +434,7 @@ void MsgCenterNotifyONtimeProc(const Topic topic, Request* req)
     cywee_stand_history_save(time->value);
 
     WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "保存每小时卡路里数据");
-    cywee_calories_history_save(time->value);
+    cywee_calories_history_save(time->value); 
 
     WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "保存每小时距离数据");
     cywee_distances_history_save(time->value);