修复会员总获得积分api
This commit is contained in:
@@ -15,6 +15,7 @@ import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@@ -46,4 +47,11 @@ public class PointsHistoryBuyerController {
|
||||
public ResultMessage<MemberPointsHistoryVO> getMemberPointsHistoryVO() {
|
||||
return ResultUtil.data(memberPointsHistoryService.getMemberPointsHistoryVO(UserContext.getCurrentUser().getId()));
|
||||
}
|
||||
|
||||
@ApiOperation(value = "修复会员总获得积分数据")
|
||||
@PostMapping(value = "/repairPointData")
|
||||
public ResultMessage<String> repairPointData() {
|
||||
return ResultUtil.data(memberPointsHistoryService.repairPointData());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user