| | |
| | | import javax.servlet.http.HttpSession; |
| | | |
| | | import com.yeshi.buwan.domain.*; |
| | | import com.yeshi.buwan.domain.system.DetailSystem; |
| | | import org.apache.commons.httpclient.HttpClient; |
| | | import org.apache.commons.httpclient.HttpException; |
| | | import org.apache.commons.httpclient.NameValuePair; |
| | | import org.apache.commons.httpclient.methods.PostMethod; |
| | | import org.apache.commons.httpclient.params.HttpMethodParams; |
| | | import org.springframework.context.ApplicationContext; |
| | | import org.springframework.context.support.FileSystemXmlApplicationContext; |
| | | |
| | | import com.yeshi.buwan.domain.entity.NewVideoDetail; |
| | | import com.yeshi.buwan.domain.entity.NewVideoInfo; |
| | | import com.yeshi.buwan.domain.entity.VideoResourceVideo; |
| | | import com.yeshi.buwan.service.imp.ConfigService; |
| | | import com.yeshi.buwan.service.imp.DetailSystemConfigService; |
| | | import com.yeshi.buwan.service.imp.UserService; |
| | | import com.yeshi.buwan.zhibo.entity.Live; |
| | | |
| | | @Entity |
| | | public class Utils { |
| | |
| | | de.setWatchCount(info.getWatchCount()); |
| | | de.setYear(info.getYear()); |
| | | de.setShare(info.getShare()); |
| | | de.setCanSave(info.isCanSave()); |
| | | de.setCanSave(info.getCanSave()); |
| | | de.setResourceList(info.getResourceList()); |
| | | de.setPlayPicture(info.getPlayPicture()); |
| | | de.setShowType(info.getShowType()); |
| | |
| | | ni.setArea(vi.getArea()); |
| | | ni.setBaseurl(vi.getBaseurl()); |
| | | ni.setBeizhu(vi.getBeizhu()); |
| | | ni.setCanSave(vi.isCanSave()); |
| | | ni.setCanSave(vi.getCanSave()); |
| | | ni.setCommentCount(vi.getCommentCount()); |
| | | ni.setCreatetime(vi.getCreatetime() + ""); |
| | | ni.setDay(vi.getDay()); |
| | |
| | | new UserService().updateUserInfo(user); |
| | | } |
| | | |
| | | Map<String, String> map = new ConfigService().getConfigAsMap(new DetailSystem(SystemUtil.getDetailSystemId() + ""), SystemUtil.getDefaultVersion()); |
| | | Map<String, String> map = new DetailSystemConfigService().getConfigAsMap(new DetailSystem(SystemUtil.getDetailSystemId() + ""), SystemUtil.getDefaultVersion()); |
| | | String[] detailsystemIds = new String[]{"1", "2", "3", "4", "5", "6", "14", "12", "20", "11"}; |
| | | for (String d : detailsystemIds) { |
| | | if (detailSystemId.equalsIgnoreCase(d)) { |