|
@@ -30,7 +30,7 @@ import java.util.*;
|
|
public class MathController extends BaseController {
|
|
public class MathController extends BaseController {
|
|
|
|
|
|
@PostMapping("aaa")
|
|
@PostMapping("aaa")
|
|
- public void aaa(@RequestBody JSONObject params) throws IOException {
|
|
|
|
|
|
+ public void aaa(Integer add, Integer sub) throws IOException {
|
|
|
|
|
|
int add = params.getIntValue("+");
|
|
int add = params.getIntValue("+");
|
|
int sub = params.getIntValue("-");
|
|
int sub = params.getIntValue("-");
|