diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
index daa7ff0..dfd245a 100644
--- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
+++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -137,6 +137,7 @@ public class SecurityConfig
.antMatchers(HttpMethod.POST,"/mt/cookies").permitAll()
.antMatchers("/test/**").permitAll()
.antMatchers("/eleme/message_receive").permitAll()
+ .antMatchers(HttpMethod.GET,"/mt/getReturnInfo").permitAll()
// .antMatchers("/mt/**").permitAll()
// .antMatchers("/ai/**").permitAll()
diff --git a/ruoyi-system/src/main/java/com/ruoyi/business/service/impl/MeituanServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/business/service/impl/MeituanServiceImpl.java
index e975fae..2833d90 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/business/service/impl/MeituanServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/business/service/impl/MeituanServiceImpl.java
@@ -753,8 +753,9 @@ public class MeituanServiceImpl implements IMeituanService {
@Override
public void getReturnInfo(Long id) {
+ getComments(null);
DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
- LocalDateTime date = LocalDateTime.now().minusDays(2);
+ LocalDateTime date = LocalDateTime.now().minusDays(1);
BusStoreInfo storeInfo = new BusStoreInfo();
if (id != null){
storeInfo.setId(id);
@@ -792,7 +793,6 @@ public class MeituanServiceImpl implements IMeituanService {
}
}
}
- getComments(null);
}
private String getRate(int a, int b){
diff --git a/ruoyi-system/src/main/resources/mapper/business/BusStoreDayInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/business/BusStoreDayInfoMapper.xml
index ec3e83d..71df701 100644
--- a/ruoyi-system/src/main/resources/mapper/business/BusStoreDayInfoMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/business/BusStoreDayInfoMapper.xml
@@ -99,7 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where store_id = #{id} and DATE_SUB(create_time, INTERVAL 1 DAY) between #{sT} and #{eT}
-