优惠卷相关
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user