|
@@ -18,6 +18,7 @@ import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.util.ObjectUtils;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
import vo.MyRecord;
|
|
|
import vo.StoreOrderCountItemVO;
|
|
|
import vo.StoreOrderVO;
|
|
@@ -25,6 +26,7 @@ import vo.StoreOrderVO;
|
|
|
import javax.annotation.Resource;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* Created by CodeGenerator on 2025/07/15.
|
|
@@ -261,4 +263,14 @@ public class AppOrderController {
|
|
|
// storeOrderService.importDelivery(file);
|
|
|
// return Result.success();
|
|
|
// }
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation("待处理红点数")
|
|
|
+ @PostMapping("/pendingRedDots")
|
|
|
+ public Result pendingRedDots() {
|
|
|
+ Map<Integer, Integer> integerIntegerMap = storeOrderService.pendingRedDots();
|
|
|
+ return Result.success(integerIntegerMap);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|