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