临时提交

dev/数据库统合
648540858 2024-12-31 16:10:00 +08:00
parent a8ad586204
commit 11599b2f05
2 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,7 @@ public class RedisRpcStreamPushController extends RpcController {
streamPushPlayService.start(id, (code, msg, data) -> {
if (code == ErrorCode.SUCCESS.getCode()) {
response.setStatusCode(ErrorCode.SUCCESS.getCode());
response.setBody(data);
response.setBody(JSONObject.toJSONString(data));
sendResponse(response);
}
}, null, null);

View File

@ -89,6 +89,7 @@ public class StreamPushServiceImpl implements IStreamPushService {
if (streamPushInDb == null) {
StreamPush streamPush = StreamPush.getInstance(event, userSetting.getServerId());
streamPush.setPushing(true);
streamPush.setServerId(userSetting.getServerId());
streamPush.setUpdateTime(DateUtil.getNow());
streamPush.setPushTime(DateUtil.getNow());
add(streamPush);