|
@@ -24,6 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
24
|
24
|
import org.springframework.web.bind.annotation.*;
|
25
|
25
|
|
26
|
26
|
import javax.servlet.http.HttpServletRequest;
|
|
27
|
+import java.time.LocalDateTime;
|
27
|
28
|
import java.util.ArrayList;
|
28
|
29
|
import java.util.List;
|
29
|
30
|
|
|
@@ -180,6 +181,8 @@ public class TaLiveActivityController extends BaseController {
|
180
|
181
|
taLiveActivity.setLiveAppPath(taLiveActivity.getLiveRoomParam().replace(".html", ""));
|
181
|
182
|
}
|
182
|
183
|
|
|
184
|
+ taLiveActivity.setUpdateDate(LocalDateTime.now());
|
|
185
|
+ taLiveActivity.setUpdateUser(getUserId(request).toString());
|
183
|
186
|
if (iTaLiveActivityService.updateById(taLiveActivity)) {
|
184
|
187
|
responseBean.addSuccess(taLiveActivity);
|
185
|
188
|
} else {
|
|
@@ -209,6 +212,8 @@ public class TaLiveActivityController extends BaseController {
|
209
|
212
|
}else if (CommConstant.IS_PUBLISH.equals(taLiveActivity.getStatus())) {
|
210
|
213
|
taLiveActivity.setStatus(CommConstant.NOT_PUBLISH);
|
211
|
214
|
}
|
|
215
|
+ taLiveActivity.setUpdateDate(LocalDateTime.now());
|
|
216
|
+ taLiveActivity.setUpdateUser(getUserId(request).toString());
|
212
|
217
|
iTaLiveActivityService.updateById(taLiveActivity);
|
213
|
218
|
responseBean.addSuccess(taLiveActivity);
|
214
|
219
|
} catch (Exception e) {
|