Commit e04f8d2d authored by liming's avatar liming

积分计算接口

parent ef2c8c1a
......@@ -101,7 +101,7 @@ public class SportUserController {
}
@ApiOperation("根据卡路里、排名计算积分")
@GetMapping("/calc/currency")
@PostMapping("/calc/currency")
public ResponseEntity<Result<Integer>> calcCurrency(@RequestBody CalcCurrencyDTO param) {
return success(sportUserTrainingLogService.calcCurrency(param.getGameMode(), param.getCalorie(),
param.getRank()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment