|
|
@@ -104,15 +104,4 @@ public class StoreClockInController {
|
|
|
log.info("StoreClockInController.getStoreClockInById?userId={},id={}", userId, id);
|
|
|
return R.data(storeClockInService.getStoreClockInById(id, userId));
|
|
|
}
|
|
|
-
|
|
|
- @ApiOperation("增加浏览数")
|
|
|
- @ApiOperationSupport(order = 7)
|
|
|
- @ApiImplicitParams({@ApiImplicitParam(name = "id", value = "主键id", dataType = "Integer", paramType = "query")})
|
|
|
- @GetMapping("/increaseViewCount")
|
|
|
- public R<String> increaseViewCount(Integer id) {
|
|
|
- log.info("StoreClockInController.increaseViewCount?id={}", id);
|
|
|
- int result = storeClockInService.increaseViewCount(id);
|
|
|
- return 1 == result ? R.success("浏览数增加成功") : R.fail("浏览数增加失败");
|
|
|
- }
|
|
|
-
|
|
|
}
|