修改post

This commit is contained in:
付庆吉
2021-07-16 15:44:03 +08:00
parent fc57807274
commit ceab4ff32f

View File

@ -5,12 +5,7 @@ import java.util.Optional;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.chinaunicom.mall.ebtp.extend.bizmessage.dto.PageDTO;
import com.chinaunicom.mall.ebtp.extend.bizmessage.mybatis.IBizMessagePage;
@ -40,7 +35,7 @@ public class BizMessageConsumerController {
* @return
*/
@ApiOperation("消息概要清单.")
@GetMapping("describeSiteMsg")
@PostMapping("describeSiteMsg")
@ResponseStatus(code = HttpStatus.OK)
public IBizMessagePage<DescribeSiteMsgVO> describeSiteMsg(
@ApiParam(value = "分页参数", required = false) @RequestBody(required = false) PageDTO page) {