幸运数字瓜分记录支持配置添加池子,json接参

This commit is contained in:
2025-06-17 17:53:00 +08:00
parent e7a174565e
commit 759ab67e2b

View File

@@ -15,10 +15,7 @@ import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@@ -81,7 +78,7 @@ public class LuckyNumberActController {
})
@Authorization
@PostMapping(value = "/batchInput")
public BusiResult<Void> batchInput(List<Integer> numbers){
public BusiResult<Void> batchInput(@RequestBody List<Integer> numbers){
if (CollectionUtil.isEmpty(numbers)){
throw new ServiceException(BusiStatus.PARAMERROR);
}