|
|
@@ -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); |
|
|
|
} |
|
|
|
|