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