Browse Source

更新相关请求体

tags/V1.8.0^2
xiaoying 1 year ago
parent
commit
b90364ad6a
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      tuoheng-api/src/main/java/com/tuoheng/api/controller/WestreamMessageController.java

+ 2
- 5
tuoheng-api/src/main/java/com/tuoheng/api/controller/WestreamMessageController.java View File

@@ -4,10 +4,7 @@ import com.tuoheng.api.entity.request.ThWestreamMessageQuery;
import com.tuoheng.api.service.ThWestreamMessageService;
import com.tuoheng.common.utils.JsonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;

/**
* @Author xiaoying
@@ -44,7 +41,7 @@ public class WestreamMessageController {
* @return
*/
@PutMapping("/read")
private JsonResult read(ThWestreamMessageQuery query) {
private JsonResult read(@RequestBody ThWestreamMessageQuery query) {
return westreamMessageService.read(query);
}


Loading…
Cancel
Save