nili 10 months ago
parent
commit
18dbfe0c42
  1. 2
      game-web/src/main/java/awesome/group/controller/MatrixController.java

2
game-web/src/main/java/awesome/group/controller/MatrixController.java

@ -20,7 +20,7 @@ public class MatrixController {
@PostMapping("/saveAdvRecord")
@RestApi
public R<Void> saveAdvRecord(@RequestBody MatrixAdvRecordBo bo) {
matrixService.saveRecord(bo, RequestContext.getRequest().getRemoteAddr());
matrixService.saveRecord(bo, RequestContext.getIpAddr(RequestContext.getRequest()));
return new R<>(R.CODE_SUCCESS, "ok", null);
}
}

Loading…
Cancel
Save