优惠卷相关

This commit is contained in:
liuyingfang
2024-03-30 11:56:41 +08:00
parent d7c1754b6a
commit 1d93bc217c
13 changed files with 398 additions and 23 deletions

View File

@@ -51,6 +51,12 @@ public class TbProductController {
return new ResponseEntity<>(tbProductService.queryAll(criteria),HttpStatus.OK);
}
@GetMapping("/isHot")
public ResponseEntity<Object> updateIsHot(@RequestParam String shopId, @RequestParam Integer id){
tbProductService.updateIsHot(id,shopId);
return new ResponseEntity<>(HttpStatus.NO_CONTENT);
}
@GetMapping("/{product}")
@Log("查询/product")
@ApiOperation("查询/product")