Commit 49670c935a251ef71ce94fa739714cf0efdc69e1
1 parent
0d8b69f3
update
Showing
1 changed file
with
2 additions
and
0 deletions
src/main/java/com/cnlive/shenhe/api/AvsampleCallBackControllerApi.java
| ... | ... | @@ -14,6 +14,7 @@ import org.springframework.stereotype.Controller; |
| 14 | 14 | import org.springframework.web.bind.annotation.PostMapping; |
| 15 | 15 | import org.springframework.web.bind.annotation.RequestBody; |
| 16 | 16 | import org.springframework.web.bind.annotation.RequestMapping; |
| 17 | +import org.springframework.web.bind.annotation.ResponseBody; | |
| 17 | 18 | |
| 18 | 19 | import java.util.List; |
| 19 | 20 | |
| ... | ... | @@ -36,6 +37,7 @@ public class AvsampleCallBackControllerApi { |
| 36 | 37 | * @param json |
| 37 | 38 | */ |
| 38 | 39 | @PostMapping("/callback") |
| 40 | + @ResponseBody | |
| 39 | 41 | public ResponseBean callback(@RequestBody JSONObject json) { |
| 40 | 42 | logger.info("抽帧回调请求。。。。json=="+json.toJSONString()); |
| 41 | 43 | String taskId = json.getString("taskId"); | ... | ... |