|
@ -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); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|