首页相关逻辑,商品表中isShow给予不同含义,创建新用户更改
This commit is contained in:
@@ -29,4 +29,27 @@ public class SummaryController {
|
||||
private Object shopSummaryDate(@RequestParam Integer shopId,@RequestParam Integer day){
|
||||
return summaryService.selectSummaryDate(shopId,day);
|
||||
}
|
||||
|
||||
@GetMapping("/today")
|
||||
private Object shopSummaryDate(@RequestParam Integer shopId){
|
||||
return summaryService.selectSummaryToday(shopId);
|
||||
}
|
||||
|
||||
@GetMapping("/dateAmount")
|
||||
private Object shopSummaryAmount(@RequestParam Integer shopId,@RequestParam Integer day){
|
||||
return summaryService.selectSummaryAmount(shopId,day);
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/dateProduct")
|
||||
private Object shopSummaryProduct(@RequestParam Integer shopId,@RequestParam Integer day,
|
||||
@RequestParam Integer page){
|
||||
return summaryService.selectSummaryProduct(shopId,day,page);
|
||||
}
|
||||
@GetMapping("/datePayType")
|
||||
private Object shopSummaryPayType(@RequestParam Integer shopId,@RequestParam Integer day){
|
||||
return summaryService.selectSummaryPayType(shopId,day);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user