|
@@ -17,10 +17,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.time.LocalDate;
|
|
|
import java.util.Calendar;
|
|
@@ -94,7 +91,7 @@ public class TestController {
|
|
|
|
|
|
@ApiOperation("结算")
|
|
|
@PostMapping("test")
|
|
|
- public Object test(Integer day){
|
|
|
+ public Object test(@RequestParam("day") Integer day){
|
|
|
walletReceiptsService.settle(day);
|
|
|
return ResultContent.buildSuccess();
|
|
|
}
|