|
|
@@ -103,7 +103,7 @@ public class RiceController extends BaseController {
|
|
|
//等级显示
|
|
|
@GetMapping("/showLevel")
|
|
|
public R<Map<String, Object>> showLevel() {
|
|
|
- return riceService.showLevel();
|
|
|
+ return riceService.showLevel();
|
|
|
}
|
|
|
|
|
|
//获取用户积分
|
|
|
@@ -126,11 +126,10 @@ public class RiceController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
//浇水
|
|
|
@PostMapping("/waterDrop")
|
|
|
public R<?> waterDrop(@RequestParam("riceWaterType") RiceWaterType riceWaterType, @RequestParam Long riceId) {
|
|
|
- return riceService.waterDrop(riceWaterType,riceId);
|
|
|
+ return riceService.waterDrop(riceWaterType, riceId);
|
|
|
}
|
|
|
|
|
|
|