格式化
This commit is contained in:
parent
baa889f73b
commit
289fe1c009
|
@ -54,7 +54,7 @@ public class LevelServiceImpl implements LevelService {
|
|||
if (id == null) {
|
||||
return R.fail("token解析失败");
|
||||
}
|
||||
if (id.equals(scoreInfo.getUserId().toString())){
|
||||
if (id.equals(scoreInfo.getUserId())) {
|
||||
ScoreInfo insert = mongoTemplate.insert(scoreInfo);
|
||||
return R.ok(insert);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue