nili 8 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") @PostMapping("/saveAdvRecord")
@RestApi @RestApi
public R<Void> saveAdvRecord(@RequestBody MatrixAdvRecordBo bo) { 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); return new R<>(R.CODE_SUCCESS, "ok", null);
} }
} }

Loading…
Cancel
Save