|
@@ -24,7 +24,7 @@ public class AppScoreController {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@PostMapping("/{appUserId}")
|
|
@PostMapping("/{appUserId}")
|
|
- public R addOrUpdate(@PathVariable Integer appUserId, AppScoreAddDTO addDTO) {
|
|
|
|
|
|
+ public R addOrUpdate(@PathVariable Integer appUserId,@RequestBody AppScoreAddDTO addDTO) {
|
|
addDTO.setAppUserId(appUserId);
|
|
addDTO.setAppUserId(appUserId);
|
|
return R.ok().result(iScoreService.addScore(addDTO));
|
|
return R.ok().result(iScoreService.addScore(addDTO));
|
|
}
|
|
}
|