初始化橘视厅酒店版Android项目
This commit is contained in:
1
libdata/.gitignore
vendored
Executable file
1
libdata/.gitignore
vendored
Executable file
@@ -0,0 +1 @@
|
||||
/build
|
||||
63
libdata/build.gradle
Executable file
63
libdata/build.gradle
Executable file
@@ -0,0 +1,63 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
namespace 'com.migu.libdata'
|
||||
compileSdkVersion app_android.compileSdkVersion
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
defaultConfig {
|
||||
minSdkVersion app_android.minSdkVersion
|
||||
targetSdkVersion app_android.targetSdkVersion
|
||||
multiDexEnabled app_android.multiDexEnabled
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
preview {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug {
|
||||
minifyEnabled false
|
||||
zipAlignEnabled false
|
||||
shrinkResources false
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '17'
|
||||
}
|
||||
resourcePrefix "libdata_"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
app_base_dependencies.each {k, v ->implementation v}
|
||||
app_base_android_test_dependencies.each {k, v ->androidTestImplementation v}
|
||||
app_base_test_dependencies.each {k, v ->testImplementation v}
|
||||
// okHttp网络请求框架===================================
|
||||
implementation 'com.squareup.okhttp3:logging-interceptor:3.12.0'
|
||||
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
|
||||
//retrofit网络请求框架
|
||||
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
||||
//retrofit添加Json解析返回数据
|
||||
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
|
||||
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
||||
//retrofit添加RxJava支持
|
||||
implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0'
|
||||
|
||||
api "io.reactivex.rxjava3:rxjava:3.0.13"
|
||||
api 'io.reactivex.rxjava3:rxandroid:3.0.0'
|
||||
implementation 'androidx.leanback:leanback:1.0.0'
|
||||
|
||||
implementation project(':libcore')
|
||||
}
|
||||
0
libdata/consumer-rules.pro
Executable file
0
libdata/consumer-rules.pro
Executable file
21
libdata/proguard-rules.pro
vendored
Executable file
21
libdata/proguard-rules.pro
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
26
libdata/src/androidTest/java/com/migu/libdata/ExampleInstrumentedTest.java
Executable file
26
libdata/src/androidTest/java/com/migu/libdata/ExampleInstrumentedTest.java
Executable file
@@ -0,0 +1,26 @@
|
||||
package com.migu.libdata;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ExampleInstrumentedTest {
|
||||
@Test
|
||||
public void useAppContext() {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
||||
assertEquals("com.migu.libdata.test", appContext.getPackageName());
|
||||
}
|
||||
}
|
||||
45
libdata/src/main/AndroidManifest.xml
Executable file
45
libdata/src/main/AndroidManifest.xml
Executable file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.migu.libdata">
|
||||
|
||||
<uses-feature
|
||||
android:name="android.software.leanback"
|
||||
android:required="false" />
|
||||
<uses-feature
|
||||
android:name="android.hardware.touchscreen"
|
||||
android:required="false" />
|
||||
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
|
||||
<uses-sdk tools:overrideLibrary="androidx.leanback"/>
|
||||
|
||||
|
||||
|
||||
<!-- <application-->
|
||||
<!-- android:name="com.migu.DataApplication"-->
|
||||
<!-- android:hardwareAccelerated="true"-->
|
||||
<!-- android:label="libdata"-->
|
||||
<!-- android:supportsRtl="true"-->
|
||||
<!-- android:theme="@style/Theme.AppCompat.NoActionBar"-->
|
||||
<!-- android:usesCleartextTraffic="true">-->
|
||||
|
||||
<!-- <activity-->
|
||||
<!-- android:name="com.migu.DataActivity"-->
|
||||
<!-- android:configChanges="orientation|keyboardHidden"-->
|
||||
<!-- android:exported="true">-->
|
||||
<!-- <intent-filter>-->
|
||||
<!-- <action android:name="android.intent.action.MAIN" />-->
|
||||
<!-- <category android:name="android.intent.category.LEANBACK_LAUNCHER" />-->
|
||||
<!-- </intent-filter>-->
|
||||
<!-- <intent-filter>-->
|
||||
<!-- <action android:name="android.intent.action.MAIN" />-->
|
||||
<!-- <category android:name="android.intent.category.LAUNCHER" />-->
|
||||
<!-- </intent-filter>-->
|
||||
<!-- </activity>-->
|
||||
<!-- </application>-->
|
||||
|
||||
|
||||
</manifest>
|
||||
71
libdata/src/main/java/com/migu/DataActivity.java
Executable file
71
libdata/src/main/java/com/migu/DataActivity.java
Executable file
@@ -0,0 +1,71 @@
|
||||
package com.migu;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import com.migu.bean.GetsystemBean;
|
||||
import com.migu.callback.AijiaCallback;
|
||||
import com.migu.httputils.HomeHttpUtils;
|
||||
import com.migu.libdata.R;
|
||||
import com.migu.libnetwork.NetUtil;
|
||||
|
||||
public class DataActivity extends AppCompatActivity {
|
||||
private Context context;
|
||||
|
||||
@Override
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
context = this;
|
||||
setContentView(R.layout.libdata_activity_main);
|
||||
TextView tv = findViewById(R.id.tv);
|
||||
TextView tv2 = findViewById(R.id.tv2);
|
||||
TextView content = findViewById(R.id.content);
|
||||
tv.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
NetUtil.isNetwork = true;
|
||||
HomeHttpUtils.getsystem(new AijiaCallback.GetsystemCallBack() {
|
||||
@Override
|
||||
public void onResponse(GetsystemBean response) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void netFail() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fail() {
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
tv2.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
NetUtil.isNetwork = false;
|
||||
HomeHttpUtils.getsystem(new AijiaCallback.GetsystemCallBack() {
|
||||
@Override
|
||||
public void onResponse(GetsystemBean response) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void netFail() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fail() {
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
208
libdata/src/main/java/com/migu/amber/AmberHeaderBean.java
Executable file
208
libdata/src/main/java/com/migu/amber/AmberHeaderBean.java
Executable file
@@ -0,0 +1,208 @@
|
||||
package com.migu.amber;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import org.json.JSONObject;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Auther: sunmm
|
||||
* @datetime: 2025/6/5 10:17
|
||||
* @desc:
|
||||
*/
|
||||
public class AmberHeaderBean implements Serializable {
|
||||
|
||||
|
||||
@SerializedName("user")
|
||||
private UserDTO user;
|
||||
@SerializedName("header")
|
||||
private HeaderDTO header;
|
||||
@SerializedName("events")
|
||||
private List<EventsDTO> events;
|
||||
|
||||
public UserDTO getUser() {
|
||||
return user;
|
||||
}
|
||||
|
||||
public void setUser(UserDTO user) {
|
||||
this.user = user;
|
||||
}
|
||||
|
||||
public HeaderDTO getHeader() {
|
||||
return header;
|
||||
}
|
||||
|
||||
public void setHeader(HeaderDTO header) {
|
||||
this.header = header;
|
||||
}
|
||||
|
||||
public List<EventsDTO> getEvents() {
|
||||
return events;
|
||||
}
|
||||
|
||||
public void setEvents(List<EventsDTO> events) {
|
||||
this.events = events;
|
||||
}
|
||||
|
||||
public static class UserDTO {
|
||||
@SerializedName("user_unique_id")
|
||||
private String userUniqueId;
|
||||
|
||||
public String getUserUniqueId() {
|
||||
return userUniqueId;
|
||||
}
|
||||
|
||||
public void setUserUniqueId(String userUniqueId) {
|
||||
this.userUniqueId = userUniqueId;
|
||||
}
|
||||
}
|
||||
|
||||
public static class HeaderDTO {
|
||||
@SerializedName("user_ip")
|
||||
private String userIp;
|
||||
@SerializedName("user_version ")
|
||||
private String userVersion;
|
||||
@SerializedName("user_areaCode")
|
||||
private String userAreacode;
|
||||
@SerializedName("app_name")
|
||||
private String appName;
|
||||
@SerializedName("app_id")
|
||||
private String appId;
|
||||
@SerializedName("platform")
|
||||
private String platform;
|
||||
@SerializedName("loc_country_id")
|
||||
private String locCountryId;
|
||||
@SerializedName("loc_province_id")
|
||||
private String locProvinceId;
|
||||
@SerializedName("loc_city_id")
|
||||
private String locCityId;
|
||||
@SerializedName("device_id")
|
||||
private String deviceId;
|
||||
@SerializedName("mac_url")
|
||||
private String macUrl;
|
||||
|
||||
public String getUserIp() {
|
||||
return userIp;
|
||||
}
|
||||
|
||||
public void setUserIp(String userIp) {
|
||||
this.userIp = userIp;
|
||||
}
|
||||
|
||||
public String getUserVersion() {
|
||||
return userVersion;
|
||||
}
|
||||
|
||||
public void setUserVersion(String userVersion) {
|
||||
this.userVersion = userVersion;
|
||||
}
|
||||
|
||||
public String getUserAreacode() {
|
||||
return userAreacode;
|
||||
}
|
||||
|
||||
public void setUserAreacode(String userAreacode) {
|
||||
this.userAreacode = userAreacode;
|
||||
}
|
||||
|
||||
public String getAppName() {
|
||||
return appName;
|
||||
}
|
||||
|
||||
public void setAppName(String appName) {
|
||||
this.appName = appName;
|
||||
}
|
||||
|
||||
public String getAppId() {
|
||||
return appId;
|
||||
}
|
||||
|
||||
public void setAppId(String appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
public String getPlatform() {
|
||||
return platform;
|
||||
}
|
||||
|
||||
public void setPlatform(String platform) {
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
public String getLocCountryId() {
|
||||
return locCountryId;
|
||||
}
|
||||
|
||||
public void setLocCountryId(String locCountryId) {
|
||||
this.locCountryId = locCountryId;
|
||||
}
|
||||
|
||||
public String getLocProvinceId() {
|
||||
return locProvinceId;
|
||||
}
|
||||
|
||||
public void setLocProvinceId(String locProvinceId) {
|
||||
this.locProvinceId = locProvinceId;
|
||||
}
|
||||
|
||||
public String getLocCityId() {
|
||||
return locCityId;
|
||||
}
|
||||
|
||||
public void setLocCityId(String locCityId) {
|
||||
this.locCityId = locCityId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getMacUrl() {
|
||||
return macUrl;
|
||||
}
|
||||
|
||||
public void setMacUrl(String macUrl) {
|
||||
this.macUrl = macUrl;
|
||||
}
|
||||
}
|
||||
|
||||
public static class EventsDTO {
|
||||
@SerializedName("event")
|
||||
private String event;
|
||||
@SerializedName("params")
|
||||
private Object params;
|
||||
@SerializedName("local_time_ms")
|
||||
private long localTimeMs;
|
||||
|
||||
public String getEvent() {
|
||||
return event;
|
||||
}
|
||||
|
||||
public void setEvent(String event) {
|
||||
this.event = event;
|
||||
}
|
||||
|
||||
public Object getParams() {
|
||||
return params;
|
||||
}
|
||||
|
||||
public void setParams(Object params) {
|
||||
this.params = params;
|
||||
}
|
||||
|
||||
public long getLocalTimeMs() {
|
||||
return localTimeMs;
|
||||
}
|
||||
|
||||
public void setLocalTimeMs(long localTimeMs) {
|
||||
this.localTimeMs = localTimeMs;
|
||||
}
|
||||
}
|
||||
}
|
||||
145
libdata/src/main/java/com/migu/amber/AmberUtil.java
Executable file
145
libdata/src/main/java/com/migu/amber/AmberUtil.java
Executable file
@@ -0,0 +1,145 @@
|
||||
package com.migu.amber;
|
||||
|
||||
import android.os.Build;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.migu.libnetwork.HttpRequestCallback;
|
||||
import com.migu.libnetwork.HttpUtils;
|
||||
import com.pukka.libcore.base.BaseConst;
|
||||
import com.pukka.libcore.base.BuildConfig;
|
||||
import com.pukka.libcore.boxShared.BoxSharedParameters;
|
||||
import com.pukka.libcore.boxShared.BoxSharedParamsUtils;
|
||||
import com.pukka.libcore.boxShared.IpUtils;
|
||||
import com.pukka.libcore.boxShared.MacUtils;
|
||||
import com.pukka.libcore.utils.AppContext;
|
||||
import com.pukka.libcore.utils.AppUtils;
|
||||
import com.pukka.libcore.utils.JsonUtils;
|
||||
import com.pukka.libcore.utils.LogUtils;
|
||||
import com.pukka.libcore.utils.StringUtils;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* amber 埋点
|
||||
*/
|
||||
public class AmberUtil {
|
||||
private static final List<AmberHeaderBean.EventsDTO> list = new ArrayList<>();
|
||||
private static AmberHeaderBean amberHeaderBean;
|
||||
private static final String TAG = "AmberUtil";
|
||||
|
||||
/**
|
||||
* 埋点的公共参数
|
||||
*/
|
||||
public static AmberHeaderBean getCommomInfo() {
|
||||
String phone = BoxSharedParameters.getInstance().getUserId();
|
||||
String deviceName = Build.MODEL;
|
||||
amberHeaderBean = new AmberHeaderBean();
|
||||
AmberHeaderBean.UserDTO userDTO = new AmberHeaderBean.UserDTO();
|
||||
AmberHeaderBean.HeaderDTO headerDTO = new AmberHeaderBean.HeaderDTO();
|
||||
userDTO.setUserUniqueId(phone);
|
||||
amberHeaderBean.setUser(userDTO);
|
||||
headerDTO.setUserIp(IpUtils.getIpAddress());
|
||||
headerDTO.setUserVersion(AppUtils.getAppVersionName());
|
||||
headerDTO.setUserAreacode("");
|
||||
headerDTO.setAppName(AppUtils.getPackageName());
|
||||
headerDTO.setAppId(BaseConst.serviceComboCode);
|
||||
headerDTO.setPlatform("");
|
||||
headerDTO.setLocCityId("");
|
||||
headerDTO.setLocProvinceId("");
|
||||
headerDTO.setLocCountryId("");
|
||||
headerDTO.setDeviceId(deviceName);
|
||||
if (AppContext.getContext() != null) {
|
||||
headerDTO.setMacUrl(MacUtils.getMac(AppContext.getContext()));
|
||||
}
|
||||
amberHeaderBean.setHeader(headerDTO);
|
||||
return amberHeaderBean;
|
||||
}
|
||||
|
||||
/**
|
||||
* 样例方法
|
||||
*/
|
||||
|
||||
private static void test(){
|
||||
HashMap<String, Object> map = new HashMap<>();
|
||||
map.put("login_type","验证码登录");
|
||||
map.put("","");
|
||||
AmberUtil.send("login",map);
|
||||
}
|
||||
|
||||
/**
|
||||
* 登录事件的埋点
|
||||
* eventType:事件名称
|
||||
* map :
|
||||
* eventName:属性名称
|
||||
* eventValue:属性值
|
||||
*/
|
||||
|
||||
|
||||
public static void send(String eventType, HashMap<String, Object> map){
|
||||
|
||||
}
|
||||
|
||||
public static void send2(String eventType, HashMap<String, Object> map){
|
||||
if (amberHeaderBean == null){
|
||||
amberHeaderBean = getCommomInfo();
|
||||
}
|
||||
AmberHeaderBean.EventsDTO eventsDTO = new AmberHeaderBean.EventsDTO();
|
||||
try {
|
||||
eventsDTO.setParams(new JSONObject(map));
|
||||
eventsDTO.setLocalTimeMs(System.currentTimeMillis());
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
eventsDTO.setEvent(eventType);
|
||||
list.clear();
|
||||
list.add(eventsDTO);
|
||||
amberHeaderBean.setEvents(list);
|
||||
sendAmberData(amberHeaderBean);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 上报埋点数据
|
||||
*/
|
||||
private static void sendAmberData(AmberHeaderBean bean){
|
||||
//正式环境
|
||||
String baseUrl;
|
||||
if (BuildConfig.BUILD_TYPE.contains("release")) {
|
||||
if(BoxSharedParamsUtils.isJcHotel() || BoxSharedParamsUtils.isJcCloud()){
|
||||
baseUrl = "https://servhub-ep01.future.jetsentv.com";
|
||||
}else {
|
||||
baseUrl = "https://servhub-ep03.future.jetsentv.com";
|
||||
}
|
||||
}else{
|
||||
baseUrl = "https://external-ep01.future.jetsentv.com:8010";
|
||||
}
|
||||
|
||||
String url = baseUrl+"/collect?data="+JsonUtils.toJson(bean);
|
||||
LogUtils.d(TAG,"sendAmberData --url:"+url);
|
||||
|
||||
HttpUtils.getInstance().executePathGet(url, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
LogUtils.d(TAG,"onRequestNetFail --result :");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
LogUtils.d(TAG,"onRequestSuccess --result :"+result);
|
||||
if(!StringUtils.isEmpty(result)){
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
LogUtils.d(TAG,"onRequestFail --result :"+value);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
299
libdata/src/main/java/com/migu/bean/AdBean.java
Executable file
299
libdata/src/main/java/com/migu/bean/AdBean.java
Executable file
@@ -0,0 +1,299 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class AdBean {
|
||||
|
||||
/**
|
||||
* resultcode : 0
|
||||
* resultdesc : success
|
||||
* result : [{"endtime":"","isvr":"","bgpicurl":"http://zqyypic.itv.cmvideo.cn:8080/zqyy/ustorage/1467/c013025649be4f23b90b611590a90087.jpg","parm":"","starttime":"","contentid":"","package":"","showway":"0","picurl":"http://zqyypic.itv.cmvideo.cn:8080/zqyy/ustorage/1467/c013025649be4f23b90b611590a90087.jpg","code":"","contenttype":"","type":"picture","gameid":"","size":"","httpurl":"","content":"","id":"","rank":"","title":"0|5s|秒倒计时  |  按  <font color=\"#5CAFFF\">返回键<\/font>  跳过广告","aboutpage":"","is4k":"","sequence":"1","action":"","datarank":"","channelnumber":""}]
|
||||
*/
|
||||
|
||||
private int resultcode;
|
||||
private String resultdesc;
|
||||
private List<ResultBean> result;
|
||||
|
||||
public int getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(int resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public List<ResultBean> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultBean> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public static class ResultBean {
|
||||
/**
|
||||
* endtime :
|
||||
* isvr :
|
||||
* bgpicurl : http://zqyypic.itv.cmvideo.cn:8080/zqyy/ustorage/1467/c013025649be4f23b90b611590a90087.jpg
|
||||
* parm :
|
||||
* starttime :
|
||||
* contentid :
|
||||
* package :
|
||||
* showway : 0
|
||||
* picurl : http://zqyypic.itv.cmvideo.cn:8080/zqyy/ustorage/1467/c013025649be4f23b90b611590a90087.jpg
|
||||
* code :
|
||||
* contenttype :
|
||||
* type : picture
|
||||
* gameid :
|
||||
* size :
|
||||
* httpurl :
|
||||
* content :
|
||||
* id :
|
||||
* rank :
|
||||
* title : 0|5s|秒倒计时  |  按  <font color="#5CAFFF">返回键</font>  跳过广告
|
||||
* aboutpage :
|
||||
* is4k :
|
||||
* sequence : 1
|
||||
* action :
|
||||
* datarank :
|
||||
* channelnumber :
|
||||
*/
|
||||
|
||||
private String endtime;
|
||||
private String isvr;
|
||||
private String bgpicurl;
|
||||
private String parm;
|
||||
private String starttime;
|
||||
private String contentid;
|
||||
@SerializedName("package")
|
||||
private String packageX;
|
||||
private String showway;
|
||||
private String picurl;
|
||||
private String code;
|
||||
private String contenttype;
|
||||
private String type;
|
||||
private String gameid;
|
||||
private String size;
|
||||
private String httpurl;
|
||||
private String content;
|
||||
private String id;
|
||||
private String rank;
|
||||
private String title;
|
||||
private String aboutpage;
|
||||
private String is4k;
|
||||
private String sequence;
|
||||
private String action;
|
||||
private String datarank;
|
||||
private String channelnumber;
|
||||
|
||||
public String getEndtime() {
|
||||
return endtime;
|
||||
}
|
||||
|
||||
public void setEndtime(String endtime) {
|
||||
this.endtime = endtime;
|
||||
}
|
||||
|
||||
public String getIsvr() {
|
||||
return isvr;
|
||||
}
|
||||
|
||||
public void setIsvr(String isvr) {
|
||||
this.isvr = isvr;
|
||||
}
|
||||
|
||||
public String getBgpicurl() {
|
||||
return bgpicurl;
|
||||
}
|
||||
|
||||
public void setBgpicurl(String bgpicurl) {
|
||||
this.bgpicurl = bgpicurl;
|
||||
}
|
||||
|
||||
public String getParm() {
|
||||
return parm;
|
||||
}
|
||||
|
||||
public void setParm(String parm) {
|
||||
this.parm = parm;
|
||||
}
|
||||
|
||||
public String getStarttime() {
|
||||
return starttime;
|
||||
}
|
||||
|
||||
public void setStarttime(String starttime) {
|
||||
this.starttime = starttime;
|
||||
}
|
||||
|
||||
public String getContentid() {
|
||||
return contentid;
|
||||
}
|
||||
|
||||
public void setContentid(String contentid) {
|
||||
this.contentid = contentid;
|
||||
}
|
||||
|
||||
public String getPackageX() {
|
||||
return packageX;
|
||||
}
|
||||
|
||||
public void setPackageX(String packageX) {
|
||||
this.packageX = packageX;
|
||||
}
|
||||
|
||||
public String getShowway() {
|
||||
return showway;
|
||||
}
|
||||
|
||||
public void setShowway(String showway) {
|
||||
this.showway = showway;
|
||||
}
|
||||
|
||||
public String getPicurl() {
|
||||
return picurl;
|
||||
}
|
||||
|
||||
public void setPicurl(String picurl) {
|
||||
this.picurl = picurl;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getContenttype() {
|
||||
return contenttype;
|
||||
}
|
||||
|
||||
public void setContenttype(String contenttype) {
|
||||
this.contenttype = contenttype;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getGameid() {
|
||||
return gameid;
|
||||
}
|
||||
|
||||
public void setGameid(String gameid) {
|
||||
this.gameid = gameid;
|
||||
}
|
||||
|
||||
public String getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
public void setSize(String size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public String getHttpurl() {
|
||||
return httpurl;
|
||||
}
|
||||
|
||||
public void setHttpurl(String httpurl) {
|
||||
this.httpurl = httpurl;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getRank() {
|
||||
return rank;
|
||||
}
|
||||
|
||||
public void setRank(String rank) {
|
||||
this.rank = rank;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getAboutpage() {
|
||||
return aboutpage;
|
||||
}
|
||||
|
||||
public void setAboutpage(String aboutpage) {
|
||||
this.aboutpage = aboutpage;
|
||||
}
|
||||
|
||||
public String getIs4k() {
|
||||
return is4k;
|
||||
}
|
||||
|
||||
public void setIs4k(String is4k) {
|
||||
this.is4k = is4k;
|
||||
}
|
||||
|
||||
public String getSequence() {
|
||||
return sequence;
|
||||
}
|
||||
|
||||
public void setSequence(String sequence) {
|
||||
this.sequence = sequence;
|
||||
}
|
||||
|
||||
public String getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
public void setAction(String action) {
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
public String getDatarank() {
|
||||
return datarank;
|
||||
}
|
||||
|
||||
public void setDatarank(String datarank) {
|
||||
this.datarank = datarank;
|
||||
}
|
||||
|
||||
public String getChannelnumber() {
|
||||
return channelnumber;
|
||||
}
|
||||
|
||||
public void setChannelnumber(String channelnumber) {
|
||||
this.channelnumber = channelnumber;
|
||||
}
|
||||
}
|
||||
}
|
||||
130
libdata/src/main/java/com/migu/bean/ApkVersionResponse.java
Executable file
130
libdata/src/main/java/com/migu/bean/ApkVersionResponse.java
Executable file
@@ -0,0 +1,130 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* @Author luoyuhang
|
||||
* @create 2022/1/4 0004 15:17
|
||||
*/
|
||||
public class ApkVersionResponse {
|
||||
|
||||
|
||||
/**
|
||||
* result : {"channelApkVersion":null,"md5":null,"respcode":200,"upgradedesc":null,"upgradestrategy":null,"upgradeupdateway":null,"versionfileurl":"http://10.0.1.205:18080/pukkarw//profile//apk.apk","versionnumber":"v-1000"}
|
||||
* resultcode : 0
|
||||
* resultdesc : success!
|
||||
*/
|
||||
|
||||
private ResultBean result;
|
||||
private String resultcode;
|
||||
private String resultdesc;
|
||||
|
||||
public ResultBean getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(ResultBean result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public static class ResultBean {
|
||||
/**
|
||||
* channelApkVersion : null
|
||||
* md5 : null
|
||||
* respcode : 200
|
||||
* upgradedesc : null
|
||||
* upgradestrategy : null
|
||||
* upgradeupdateway : null
|
||||
* versionfileurl : http://10.0.1.205:18080/pukkarw//profile//apk.apk
|
||||
* versionnumber : v-1000
|
||||
*/
|
||||
|
||||
private Object channelApkVersion;
|
||||
private Object md5;
|
||||
private int respcode;
|
||||
private Object upgradedesc;
|
||||
private Object upgradestrategy;
|
||||
private String upgradeupdateway;
|
||||
private String versionfileurl;
|
||||
private String versionnumber;
|
||||
|
||||
public Object getChannelApkVersion() {
|
||||
return channelApkVersion;
|
||||
}
|
||||
|
||||
public void setChannelApkVersion(Object channelApkVersion) {
|
||||
this.channelApkVersion = channelApkVersion;
|
||||
}
|
||||
|
||||
public Object getMd5() {
|
||||
return md5;
|
||||
}
|
||||
|
||||
public void setMd5(Object md5) {
|
||||
this.md5 = md5;
|
||||
}
|
||||
|
||||
public int getRespcode() {
|
||||
return respcode;
|
||||
}
|
||||
|
||||
public void setRespcode(int respcode) {
|
||||
this.respcode = respcode;
|
||||
}
|
||||
|
||||
public Object getUpgradedesc() {
|
||||
return upgradedesc;
|
||||
}
|
||||
|
||||
public void setUpgradedesc(Object upgradedesc) {
|
||||
this.upgradedesc = upgradedesc;
|
||||
}
|
||||
|
||||
public Object getUpgradestrategy() {
|
||||
return upgradestrategy;
|
||||
}
|
||||
|
||||
public void setUpgradestrategy(Object upgradestrategy) {
|
||||
this.upgradestrategy = upgradestrategy;
|
||||
}
|
||||
|
||||
public String getUpgradeupdateway() {
|
||||
return upgradeupdateway;
|
||||
}
|
||||
|
||||
public void setUpgradeupdateway(String upgradeupdateway) {
|
||||
this.upgradeupdateway = upgradeupdateway;
|
||||
}
|
||||
|
||||
public String getVersionfileurl() {
|
||||
return versionfileurl;
|
||||
}
|
||||
|
||||
public void setVersionfileurl(String versionfileurl) {
|
||||
this.versionfileurl = versionfileurl;
|
||||
}
|
||||
|
||||
public String getVersionnumber() {
|
||||
return versionnumber;
|
||||
}
|
||||
|
||||
public void setVersionnumber(String versionnumber) {
|
||||
this.versionnumber = versionnumber;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
29
libdata/src/main/java/com/migu/bean/AspectRatioBean.java
Executable file
29
libdata/src/main/java/com/migu/bean/AspectRatioBean.java
Executable file
@@ -0,0 +1,29 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* @author wangkai
|
||||
* @version [V1.0.0, 2023/10/16]
|
||||
* @brief 画面比例数据Bean
|
||||
* @since V1.0.0
|
||||
*/
|
||||
public class AspectRatioBean {
|
||||
private String name;
|
||||
|
||||
private int ratio;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getRatio() {
|
||||
return ratio;
|
||||
}
|
||||
|
||||
public void setRatio(int ratio) {
|
||||
this.ratio = ratio;
|
||||
}
|
||||
}
|
||||
44
libdata/src/main/java/com/migu/bean/AuthBean.java
Executable file
44
libdata/src/main/java/com/migu/bean/AuthBean.java
Executable file
@@ -0,0 +1,44 @@
|
||||
package com.migu.bean;
|
||||
/**
|
||||
* Author: wxf
|
||||
* Date: 2024/1/31 13:35
|
||||
* Description:江苏防盗链
|
||||
*/
|
||||
public class AuthBean {
|
||||
private String Result;
|
||||
private int Balance;
|
||||
private String AuthCode;
|
||||
|
||||
public String getResult() {
|
||||
return Result;
|
||||
}
|
||||
|
||||
public void setResult(String result) {
|
||||
Result = result;
|
||||
}
|
||||
|
||||
public int getBalance() {
|
||||
return Balance;
|
||||
}
|
||||
|
||||
public void setBalance(int balance) {
|
||||
Balance = balance;
|
||||
}
|
||||
|
||||
public String getAuthCode() {
|
||||
return AuthCode;
|
||||
}
|
||||
|
||||
public void setAuthCode(String authCode) {
|
||||
AuthCode = authCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "AuthBean{" +
|
||||
"Result='" + Result + '\'' +
|
||||
", Balance=" + Balance +
|
||||
", AuthCode='" + AuthCode + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
63
libdata/src/main/java/com/migu/bean/AuthOrizeBean_shanghai.java
Executable file
63
libdata/src/main/java/com/migu/bean/AuthOrizeBean_shanghai.java
Executable file
@@ -0,0 +1,63 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* 上海银河ott鉴权提交参数
|
||||
*/
|
||||
public class AuthOrizeBean_shanghai extends ShanghaiBean{
|
||||
|
||||
private String userId;
|
||||
private String sn;
|
||||
private String userToken;
|
||||
private String appId;
|
||||
private String appKey;
|
||||
private String contentId;
|
||||
|
||||
|
||||
public String getAppId() {
|
||||
return appId;
|
||||
}
|
||||
|
||||
public void setAppId(String appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
public String getAppKey() {
|
||||
return appKey;
|
||||
}
|
||||
|
||||
public void setAppKey(String appKey) {
|
||||
this.appKey = appKey;
|
||||
}
|
||||
|
||||
public String getContentId() {
|
||||
return contentId;
|
||||
}
|
||||
|
||||
public void setContentId(String contentId) {
|
||||
this.contentId = contentId;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getSn() {
|
||||
return sn;
|
||||
}
|
||||
|
||||
public void setSn(String sn) {
|
||||
this.sn = sn;
|
||||
}
|
||||
|
||||
public String getUserToken() {
|
||||
return userToken;
|
||||
}
|
||||
|
||||
public void setUserToken(String userToken) {
|
||||
this.userToken = userToken;
|
||||
}
|
||||
}
|
||||
76
libdata/src/main/java/com/migu/bean/AuthorizeNewBean.java
Executable file
76
libdata/src/main/java/com/migu/bean/AuthorizeNewBean.java
Executable file
@@ -0,0 +1,76 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class AuthorizeNewBean {
|
||||
|
||||
private String code;
|
||||
private String desc;
|
||||
private List<ResultDTO> result;
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public void setDesc(String desc) {
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public List<ResultDTO> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultDTO> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public static class ResultDTO {
|
||||
private String productCode;
|
||||
private Boolean isOrder;
|
||||
|
||||
public String getProductCode() {
|
||||
return productCode;
|
||||
}
|
||||
|
||||
public void setProductCode(String productCode) {
|
||||
this.productCode = productCode;
|
||||
}
|
||||
|
||||
public Boolean getOrder() {
|
||||
return isOrder;
|
||||
}
|
||||
|
||||
public void setOrder(Boolean order) {
|
||||
isOrder = order;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ResultDTO{" +
|
||||
"productCode='" + productCode + '\'' +
|
||||
", isOrder=" + isOrder +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return "AuthorizeNewBean{" +
|
||||
"code='" + code + '\'' +
|
||||
", desc='" + desc + '\'' +
|
||||
", result=" + result +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
156
libdata/src/main/java/com/migu/bean/BesAuthBean.java
Executable file
156
libdata/src/main/java/com/migu/bean/BesAuthBean.java
Executable file
@@ -0,0 +1,156 @@
|
||||
/*
|
||||
* zzj
|
||||
*/
|
||||
|
||||
package com.migu.bean;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLEncoder;
|
||||
|
||||
/**
|
||||
* 百视通 鉴权数据参数
|
||||
*
|
||||
* @author MajorLL
|
||||
*/
|
||||
public class BesAuthBean {
|
||||
|
||||
/**
|
||||
* vas_action
|
||||
* 是否必传 传值
|
||||
* Y vis_auth_api(固定字符串)
|
||||
*/
|
||||
private String vas_action = "vis_auth_api";
|
||||
/**
|
||||
* dp_code
|
||||
* 是否必传 传值
|
||||
* Y 用户鉴权的节目的 mediacode
|
||||
*/
|
||||
private String dp_code;
|
||||
/**
|
||||
* uid
|
||||
* 是否必传 传值
|
||||
* Y 用户 id,epg_info 里的 oss_user_id
|
||||
*/
|
||||
private String uid;
|
||||
/**
|
||||
* child_code
|
||||
* 是否必传 传值
|
||||
* N 电视剧的子集 code
|
||||
*/
|
||||
private String child_code;
|
||||
/**
|
||||
* backtype
|
||||
* 是否必传 传值
|
||||
* N 默认 0:普通,1:返回 jsonp 格式
|
||||
*/
|
||||
private String backtype = "0";
|
||||
/**
|
||||
* callback
|
||||
* 是否必传 传值
|
||||
* N backtype=1 时,需要填写回调函数名 jsonpCallback_N(N 为13 位的时间戳)
|
||||
*/
|
||||
private String callback;
|
||||
|
||||
/**
|
||||
* 鉴权地址
|
||||
*
|
||||
* @param host 请求host地址
|
||||
* @return 返回鉴权Get地址
|
||||
*/
|
||||
public String getAuthParameterUrl(String host) {
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
stringBuilder.append(host);
|
||||
if (!host.contains("?")) {
|
||||
stringBuilder.append("?");
|
||||
} else {
|
||||
stringBuilder.append("&");
|
||||
}
|
||||
|
||||
stringBuilder.append("vas_info");
|
||||
stringBuilder.append("=");
|
||||
|
||||
StringBuilder parameterBuilder = new StringBuilder();
|
||||
|
||||
parameterBuilder.append("<vas_action>");
|
||||
parameterBuilder.append(getVas_action());
|
||||
parameterBuilder.append("</vas_action>");
|
||||
|
||||
parameterBuilder.append("<uid>");
|
||||
parameterBuilder.append(getUid());
|
||||
parameterBuilder.append("</uid>");
|
||||
|
||||
parameterBuilder.append("<dp_code>");
|
||||
parameterBuilder.append(getDp_code());
|
||||
parameterBuilder.append("</dp_code>");
|
||||
|
||||
if (!TextUtils.isEmpty(getChild_code())) {
|
||||
parameterBuilder.append("<child_code>");
|
||||
parameterBuilder.append(getChild_code());
|
||||
parameterBuilder.append("</child_code>");
|
||||
}
|
||||
if (!TextUtils.isEmpty(getBacktype())) {
|
||||
parameterBuilder.append("<backtype>");
|
||||
parameterBuilder.append(getBacktype());
|
||||
parameterBuilder.append("</backtype>");
|
||||
}
|
||||
if (!TextUtils.isEmpty(getCallback())) {
|
||||
parameterBuilder.append("<callback>");
|
||||
parameterBuilder.append(getCallback());
|
||||
parameterBuilder.append("</callback>");
|
||||
}
|
||||
|
||||
try {
|
||||
String parameter = URLEncoder.encode(parameterBuilder.toString(), "utf-8");
|
||||
stringBuilder.append(parameter);
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return stringBuilder.toString();
|
||||
}
|
||||
|
||||
public String getVas_action() {
|
||||
return vas_action;
|
||||
}
|
||||
|
||||
public String getDp_code() {
|
||||
return dp_code;
|
||||
}
|
||||
|
||||
public void setDp_code(String dp_code) {
|
||||
this.dp_code = dp_code;
|
||||
}
|
||||
|
||||
public String getUid() {
|
||||
return uid;
|
||||
}
|
||||
|
||||
public void setUid(String uid) {
|
||||
this.uid = uid;
|
||||
}
|
||||
|
||||
public String getChild_code() {
|
||||
return child_code;
|
||||
}
|
||||
|
||||
public void setChild_code(String child_code) {
|
||||
this.child_code = child_code;
|
||||
}
|
||||
|
||||
public String getBacktype() {
|
||||
return backtype;
|
||||
}
|
||||
|
||||
public void setBacktype(String backtype) {
|
||||
this.backtype = backtype;
|
||||
}
|
||||
|
||||
public String getCallback() {
|
||||
return callback;
|
||||
}
|
||||
|
||||
public void setCallback(String callback) {
|
||||
this.callback = callback;
|
||||
}
|
||||
}
|
||||
136
libdata/src/main/java/com/migu/bean/BesOrderBean.java
Executable file
136
libdata/src/main/java/com/migu/bean/BesOrderBean.java
Executable file
@@ -0,0 +1,136 @@
|
||||
/*
|
||||
* zzj
|
||||
*/
|
||||
|
||||
package com.migu.bean;
|
||||
|
||||
|
||||
|
||||
import com.pukka.libcore.utils.StringUtils;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLEncoder;
|
||||
|
||||
/**
|
||||
* 百视通订购
|
||||
*
|
||||
* @author MajorLL
|
||||
*/
|
||||
public class BesOrderBean {
|
||||
|
||||
/**
|
||||
* oss_user_token
|
||||
* 是否必传 传值
|
||||
* Y 用户令牌
|
||||
*/
|
||||
private String oss_user_token;
|
||||
/**
|
||||
* vas_action
|
||||
* 是否必传 传值
|
||||
* Y vis_purchase(固定字符串)
|
||||
*/
|
||||
private String vas_action = "vis_purchase";
|
||||
/**
|
||||
* mediacode
|
||||
* 是否必传 传值
|
||||
* Y 垫片 code(双方提前约定)
|
||||
*/
|
||||
private String mediacode;
|
||||
/**
|
||||
* mediatype
|
||||
* 是否必传 传值
|
||||
* Y VOD (固定字符串)
|
||||
*/
|
||||
private String mediatype = "VOD";
|
||||
/**
|
||||
* vas_back_url
|
||||
* 是否必传 传值
|
||||
* Y APK 指定的返回页面地址
|
||||
*/
|
||||
private String vas_back_url;
|
||||
|
||||
/**
|
||||
* 获取订购地址
|
||||
*
|
||||
* @param host 请求host地址
|
||||
* @return 返回订购Get地址
|
||||
*/
|
||||
public String getOrderParameterUrl(String host) {
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
stringBuilder.append(host);
|
||||
if (!host.contains("?")) {
|
||||
stringBuilder.append("?");
|
||||
} else {
|
||||
stringBuilder.append("&");
|
||||
}
|
||||
stringBuilder.append("vas_info");
|
||||
stringBuilder.append("=");
|
||||
|
||||
StringBuilder parameterBuilder = new StringBuilder();
|
||||
|
||||
parameterBuilder.append("<vas_action>");
|
||||
parameterBuilder.append(getVas_action());
|
||||
parameterBuilder.append("</vas_action>");
|
||||
|
||||
parameterBuilder.append("<oss_user_token>");
|
||||
parameterBuilder.append(getOss_user_token());
|
||||
parameterBuilder.append("</oss_user_token>");
|
||||
|
||||
parameterBuilder.append("<mediacode>");
|
||||
parameterBuilder.append(getMediacode());
|
||||
parameterBuilder.append("</mediacode>");
|
||||
|
||||
parameterBuilder.append("<mediatype>");
|
||||
parameterBuilder.append(getMediatype());
|
||||
parameterBuilder.append("</mediatype>");
|
||||
|
||||
/*
|
||||
这里不需要外部传入对应得回调地址
|
||||
*/
|
||||
parameterBuilder.append("<vas_back_url>");
|
||||
if (!StringUtils.isEmpty(getVas_back_url())) {
|
||||
parameterBuilder.append(getVas_back_url());
|
||||
}
|
||||
parameterBuilder.append("</vas_back_url>");
|
||||
|
||||
try {
|
||||
String parameter = URLEncoder.encode(parameterBuilder.toString(), "utf-8");
|
||||
stringBuilder.append(parameter);
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return stringBuilder.toString();
|
||||
}
|
||||
|
||||
public void setOss_user_token(String oss_user_token) {
|
||||
this.oss_user_token = oss_user_token;
|
||||
}
|
||||
|
||||
public void setMediacode(String mediacode) {
|
||||
this.mediacode = mediacode;
|
||||
}
|
||||
|
||||
public void setVas_back_url(String vas_back_url) {
|
||||
this.vas_back_url = vas_back_url;
|
||||
}
|
||||
|
||||
public String getOss_user_token() {
|
||||
return oss_user_token;
|
||||
}
|
||||
|
||||
public String getVas_action() {
|
||||
return vas_action;
|
||||
}
|
||||
|
||||
public String getMediacode() {
|
||||
return mediacode;
|
||||
}
|
||||
|
||||
public String getMediatype() {
|
||||
return mediatype;
|
||||
}
|
||||
|
||||
public String getVas_back_url() {
|
||||
return vas_back_url;
|
||||
}
|
||||
}
|
||||
140
libdata/src/main/java/com/migu/bean/BesPlayUrlBean.java
Executable file
140
libdata/src/main/java/com/migu/bean/BesPlayUrlBean.java
Executable file
@@ -0,0 +1,140 @@
|
||||
/*
|
||||
* zzj
|
||||
*/
|
||||
|
||||
package com.migu.bean;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLEncoder;
|
||||
|
||||
/**
|
||||
* 播放地址数据类
|
||||
*
|
||||
* @author MajorLL
|
||||
*/
|
||||
public class BesPlayUrlBean {
|
||||
|
||||
/**
|
||||
* vas_action
|
||||
* 是否必传 传值
|
||||
* Y vis_purchase(固定字符串)
|
||||
*/
|
||||
private String vas_action = "get_playurl";
|
||||
/**
|
||||
* mediacode
|
||||
* 是否必传 传值
|
||||
* Y 点播内容的 mediacode
|
||||
*/
|
||||
private String mediacode;
|
||||
/**
|
||||
* mediatype
|
||||
* 是否必传 传值
|
||||
* Y 字符串 VOD:点播节目 或者 TV:频道节目
|
||||
*/
|
||||
private String mediatype;
|
||||
/**
|
||||
* backtype
|
||||
* 是否必传 传值
|
||||
* N 默认 0:普通,1:返回 jsonp 格式
|
||||
*/
|
||||
private String backtype = "0";;
|
||||
/**
|
||||
* callback
|
||||
* 是否必传 传值
|
||||
* N 当 backtype=1 时,需要填写回调函数名 jsonpCallback_N(N 为13 位的时间戳)
|
||||
*/
|
||||
private String callback;
|
||||
|
||||
|
||||
/**
|
||||
* 播放地址地址
|
||||
*
|
||||
* @param host 请求host地址
|
||||
* @return 返回播放地址Get地址
|
||||
*/
|
||||
public String getPlayUrlParameterUrl(String host) {
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
stringBuilder.append(host);
|
||||
if (!host.contains("?")) {
|
||||
stringBuilder.append("?");
|
||||
}else{
|
||||
stringBuilder.append("&");
|
||||
}
|
||||
stringBuilder.append("vas_info");
|
||||
stringBuilder.append("=");
|
||||
|
||||
StringBuilder parameterBuilder = new StringBuilder();
|
||||
|
||||
parameterBuilder.append("<vas_action>");
|
||||
parameterBuilder.append(getVas_action());
|
||||
parameterBuilder.append("</vas_action>");
|
||||
parameterBuilder.append("<mediacode>");
|
||||
parameterBuilder.append(getMediacode());
|
||||
parameterBuilder.append("</mediacode>");
|
||||
parameterBuilder.append("<mediatype>");
|
||||
parameterBuilder.append(getMediatype());
|
||||
parameterBuilder.append("</mediatype>");
|
||||
if (!TextUtils.isEmpty(getBacktype())) {
|
||||
parameterBuilder.append("<backtype>");
|
||||
parameterBuilder.append(getBacktype());
|
||||
parameterBuilder.append("</backtype>");
|
||||
}
|
||||
|
||||
if (!TextUtils.isEmpty(getCallback())) {
|
||||
parameterBuilder.append("<callback>");
|
||||
parameterBuilder.append(getCallback());
|
||||
parameterBuilder.append("</callback>");
|
||||
}
|
||||
try {
|
||||
String parameter = URLEncoder.encode(parameterBuilder.toString(), "utf-8");
|
||||
stringBuilder.append(parameter);
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
return stringBuilder.toString();
|
||||
}
|
||||
|
||||
|
||||
public void setMediacode(String mediacode) {
|
||||
this.mediacode = mediacode;
|
||||
}
|
||||
|
||||
public void setMediaVODType() {
|
||||
this.mediatype = "VOD";
|
||||
}
|
||||
|
||||
public void setMediaTVType() {
|
||||
this.mediatype = "TV";
|
||||
}
|
||||
|
||||
public void setBacktype(String backtype) {
|
||||
this.backtype = backtype;
|
||||
}
|
||||
|
||||
public void setCallback(String callback) {
|
||||
this.callback = callback;
|
||||
}
|
||||
|
||||
public String getVas_action() {
|
||||
return vas_action;
|
||||
}
|
||||
|
||||
public String getMediacode() {
|
||||
return mediacode;
|
||||
}
|
||||
|
||||
public String getMediatype() {
|
||||
return mediatype;
|
||||
}
|
||||
|
||||
public String getBacktype() {
|
||||
return backtype;
|
||||
}
|
||||
|
||||
public String getCallback() {
|
||||
return callback;
|
||||
}
|
||||
}
|
||||
69
libdata/src/main/java/com/migu/bean/CollectBean.java
Executable file
69
libdata/src/main/java/com/migu/bean/CollectBean.java
Executable file
@@ -0,0 +1,69 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class CollectBean {
|
||||
|
||||
|
||||
/**
|
||||
* pagetotal : 0
|
||||
* presentcount : null
|
||||
* result : null
|
||||
* resultcode : 1
|
||||
* resultdesc : 已取消收藏
|
||||
* totalcount : null
|
||||
*/
|
||||
|
||||
private int pagetotal;
|
||||
private String presentcount;
|
||||
private String result;
|
||||
private String resultcode;
|
||||
private String resultdesc;
|
||||
private String totalcount;
|
||||
|
||||
public int getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public void setPagetotal(int pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public Object getPresentcount() {
|
||||
return presentcount;
|
||||
}
|
||||
|
||||
public void setPresentcount(String presentcount) {
|
||||
this.presentcount = presentcount;
|
||||
}
|
||||
|
||||
public String getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(String result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public Object getTotalcount() {
|
||||
return totalcount;
|
||||
}
|
||||
|
||||
public void setTotalcount(String totalcount) {
|
||||
this.totalcount = totalcount;
|
||||
}
|
||||
}
|
||||
78
libdata/src/main/java/com/migu/bean/CollectReportBean_shanghai.java
Executable file
78
libdata/src/main/java/com/migu/bean/CollectReportBean_shanghai.java
Executable file
@@ -0,0 +1,78 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class CollectReportBean_shanghai extends ShanghaiBean{
|
||||
|
||||
|
||||
private String cpPrvCode;
|
||||
private String contentId;
|
||||
private String collectionFlag;
|
||||
private String account;
|
||||
private String cpPermission;
|
||||
private String collectionTime;
|
||||
private String intent;
|
||||
private String chnCode;
|
||||
|
||||
public String getCpPrvCode() {
|
||||
return cpPrvCode;
|
||||
}
|
||||
|
||||
public void setCpPrvCode(String cpPrvCode) {
|
||||
this.cpPrvCode = cpPrvCode;
|
||||
}
|
||||
|
||||
public String getContentId() {
|
||||
return contentId;
|
||||
}
|
||||
|
||||
public void setContentId(String contentId) {
|
||||
this.contentId = contentId;
|
||||
}
|
||||
|
||||
public String getCollectionFlag() {
|
||||
return collectionFlag;
|
||||
}
|
||||
|
||||
public void setCollectionFlag(String collectionFlag) {
|
||||
this.collectionFlag = collectionFlag;
|
||||
}
|
||||
|
||||
public String getAccount() {
|
||||
return account;
|
||||
}
|
||||
|
||||
public void setAccount(String account) {
|
||||
this.account = account;
|
||||
}
|
||||
|
||||
public String getCpPermission() {
|
||||
return cpPermission;
|
||||
}
|
||||
|
||||
public void setCpPermission(String cpPermission) {
|
||||
this.cpPermission = cpPermission;
|
||||
}
|
||||
|
||||
public String getCollectionTime() {
|
||||
return collectionTime;
|
||||
}
|
||||
|
||||
public void setCollectionTime(String collectionTime) {
|
||||
this.collectionTime = collectionTime;
|
||||
}
|
||||
|
||||
public String getIntent() {
|
||||
return intent;
|
||||
}
|
||||
|
||||
public void setIntent(String intent) {
|
||||
this.intent = intent;
|
||||
}
|
||||
|
||||
public String getChnCode() {
|
||||
return chnCode;
|
||||
}
|
||||
|
||||
public void setChnCode(String chnCode) {
|
||||
this.chnCode = chnCode;
|
||||
}
|
||||
}
|
||||
1553
libdata/src/main/java/com/migu/bean/ContentListBean.java
Executable file
1553
libdata/src/main/java/com/migu/bean/ContentListBean.java
Executable file
File diff suppressed because one or more lines are too long
41
libdata/src/main/java/com/migu/bean/DisplayTypeListBean.java
Executable file
41
libdata/src/main/java/com/migu/bean/DisplayTypeListBean.java
Executable file
@@ -0,0 +1,41 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* create by xujiangyun at 2025/5/27
|
||||
*/
|
||||
|
||||
public class DisplayTypeListBean {
|
||||
/**
|
||||
* type : 1001
|
||||
* name : 电视剧
|
||||
* value : 6
|
||||
*/
|
||||
|
||||
|
||||
private String name;
|
||||
|
||||
private boolean isLineShow=false;
|
||||
|
||||
public DisplayTypeListBean(String name){
|
||||
this.name = name;
|
||||
|
||||
}
|
||||
|
||||
public boolean isLineShow() {
|
||||
return isLineShow;
|
||||
}
|
||||
|
||||
public void setLineShow(boolean lineShow) {
|
||||
isLineShow = lineShow;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
28
libdata/src/main/java/com/migu/bean/EventBusMessage.java
Executable file
28
libdata/src/main/java/com/migu/bean/EventBusMessage.java
Executable file
@@ -0,0 +1,28 @@
|
||||
package com.migu.bean;
|
||||
/**
|
||||
* Author: wxf
|
||||
* Date: 2023/6/2 17:44
|
||||
* Description:历史记录和收藏信息更新同步
|
||||
*/
|
||||
public class EventBusMessage {
|
||||
// 0 收藏, 1是历史记录
|
||||
private int isHistory;
|
||||
// 0 不处理焦点 1 处理焦点
|
||||
private int needDoFocus;
|
||||
|
||||
public int getIsHistory() {
|
||||
return isHistory;
|
||||
}
|
||||
|
||||
public void setIsHistory(int isHistory) {
|
||||
this.isHistory = isHistory;
|
||||
}
|
||||
|
||||
public int getNeedDoFocus() {
|
||||
return needDoFocus;
|
||||
}
|
||||
|
||||
public void setNeedDoFocus(int needDoFocus) {
|
||||
this.needDoFocus = needDoFocus;
|
||||
}
|
||||
}
|
||||
53
libdata/src/main/java/com/migu/bean/GetCalenderMatchDate.java
Executable file
53
libdata/src/main/java/com/migu/bean/GetCalenderMatchDate.java
Executable file
@@ -0,0 +1,53 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetCalenderMatchDate {
|
||||
|
||||
private String resultCode;
|
||||
private String message;
|
||||
private List<String> data;
|
||||
private long timestamp;
|
||||
private String nowTime;
|
||||
|
||||
public String getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public void setResultCode(String resultCode) {
|
||||
this.resultCode = resultCode;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public List<String> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<String> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(long timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public String getNowTime() {
|
||||
return nowTime;
|
||||
}
|
||||
|
||||
public void setNowTime(String nowTime) {
|
||||
this.nowTime = nowTime;
|
||||
}
|
||||
|
||||
}
|
||||
568
libdata/src/main/java/com/migu/bean/GetCollectBean.java
Executable file
568
libdata/src/main/java/com/migu/bean/GetCollectBean.java
Executable file
@@ -0,0 +1,568 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Auther: sunmm
|
||||
* @datetime: 2025/5/30 14:40
|
||||
* @desc:
|
||||
*/
|
||||
public class GetCollectBean implements Serializable {
|
||||
|
||||
@SerializedName("pagetotal")
|
||||
private Integer pagetotal;
|
||||
@SerializedName("presentcount")
|
||||
private String presentcount;
|
||||
@SerializedName("result")
|
||||
private List<ResultDTO> result;
|
||||
@SerializedName("resultcode")
|
||||
private String resultcode;
|
||||
@SerializedName("resultdesc")
|
||||
private String resultdesc;
|
||||
@SerializedName("totalcount")
|
||||
private String totalcount;
|
||||
|
||||
public Integer getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public void setPagetotal(Integer pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public String getPresentcount() {
|
||||
return presentcount;
|
||||
}
|
||||
|
||||
public void setPresentcount(String presentcount) {
|
||||
this.presentcount = presentcount;
|
||||
}
|
||||
|
||||
public List<ResultDTO> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultDTO> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public String getTotalcount() {
|
||||
return totalcount;
|
||||
}
|
||||
|
||||
public void setTotalcount(String totalcount) {
|
||||
this.totalcount = totalcount;
|
||||
}
|
||||
|
||||
public static class ResultDTO {
|
||||
@SerializedName("actordisplay")
|
||||
private String actordisplay;
|
||||
@SerializedName("actordisplayen")
|
||||
private Object actordisplayen;
|
||||
@SerializedName("alltvzq")
|
||||
private String alltvzq;
|
||||
@SerializedName("alltvzqzx")
|
||||
private String alltvzqzx;
|
||||
@SerializedName("categoryid")
|
||||
private Object categoryid;
|
||||
@SerializedName("categoryname")
|
||||
private String categoryname;
|
||||
@SerializedName("categorynameen")
|
||||
private Object categorynameen;
|
||||
@SerializedName("code")
|
||||
private String code;
|
||||
@SerializedName("contentcode")
|
||||
private String contentcode;
|
||||
@SerializedName("contentcountryid")
|
||||
private Object contentcountryid;
|
||||
@SerializedName("contentid")
|
||||
private Integer contentid;
|
||||
@SerializedName("contentkindid")
|
||||
private Object contentkindid;
|
||||
@SerializedName("contentkindname")
|
||||
private Object contentkindname;
|
||||
@SerializedName("contentkindnameen")
|
||||
private Object contentkindnameen;
|
||||
@SerializedName("contentname")
|
||||
private String contentname;
|
||||
@SerializedName("contenttype")
|
||||
private Integer contenttype;
|
||||
@SerializedName("contentyearid")
|
||||
private Object contentyearid;
|
||||
@SerializedName("cornername")
|
||||
private String cornername;
|
||||
@SerializedName("cornerpicurl")
|
||||
private String cornerpicurl;
|
||||
@SerializedName("cpid")
|
||||
private Object cpid;
|
||||
@SerializedName("cpname")
|
||||
private Object cpname;
|
||||
@SerializedName("createtime")
|
||||
private String createtime;
|
||||
@SerializedName("createtimeString")
|
||||
private String createtimeString;
|
||||
@SerializedName("duration")
|
||||
private Integer duration;
|
||||
@SerializedName("episodeindex")
|
||||
private Integer episodeindex;
|
||||
@SerializedName("extendimg")
|
||||
private String extendimg;
|
||||
@SerializedName("icon")
|
||||
private String icon;
|
||||
@SerializedName("id")
|
||||
private Object id;
|
||||
@SerializedName("is4k")
|
||||
private String is4k;
|
||||
@SerializedName("isvr")
|
||||
private String isvr;
|
||||
@SerializedName("mgjscode")
|
||||
private String mgjscode;
|
||||
@SerializedName("midimg")
|
||||
private String midimg;
|
||||
@SerializedName("midimg2")
|
||||
private String midimg2;
|
||||
@SerializedName("originalcountry")
|
||||
private String originalcountry;
|
||||
@SerializedName("originalcountryen")
|
||||
private Object originalcountryen;
|
||||
@SerializedName("posterimg3")
|
||||
private String posterimg3;
|
||||
@SerializedName("ratelist")
|
||||
private List<?> ratelist;
|
||||
@SerializedName("score")
|
||||
private Object score;
|
||||
@SerializedName("spid")
|
||||
private String spid;
|
||||
@SerializedName("spname")
|
||||
private String spname;
|
||||
@SerializedName("stbid")
|
||||
private String stbid;
|
||||
@SerializedName("updatetime")
|
||||
private String updatetime;
|
||||
@SerializedName("updatetimeString")
|
||||
private String updatetimeString;
|
||||
@SerializedName("usercode")
|
||||
private String usercode;
|
||||
@SerializedName("userid")
|
||||
private Object userid;
|
||||
@SerializedName("username")
|
||||
private String username;
|
||||
@SerializedName("writerdisplay")
|
||||
private String writerdisplay;
|
||||
@SerializedName("writerdisplayen")
|
||||
private Object writerdisplayen;
|
||||
|
||||
private String parentcode;
|
||||
|
||||
public String getParentcode() {
|
||||
return parentcode;
|
||||
}
|
||||
|
||||
public void setParentcode(String parentcode) {
|
||||
this.parentcode = parentcode;
|
||||
}
|
||||
|
||||
public String getActordisplay() {
|
||||
return actordisplay;
|
||||
}
|
||||
|
||||
public void setActordisplay(String actordisplay) {
|
||||
this.actordisplay = actordisplay;
|
||||
}
|
||||
|
||||
public Object getActordisplayen() {
|
||||
return actordisplayen;
|
||||
}
|
||||
|
||||
public void setActordisplayen(Object actordisplayen) {
|
||||
this.actordisplayen = actordisplayen;
|
||||
}
|
||||
|
||||
public String getAlltvzq() {
|
||||
return alltvzq;
|
||||
}
|
||||
|
||||
public void setAlltvzq(String alltvzq) {
|
||||
this.alltvzq = alltvzq;
|
||||
}
|
||||
|
||||
public String getAlltvzqzx() {
|
||||
return alltvzqzx;
|
||||
}
|
||||
|
||||
public void setAlltvzqzx(String alltvzqzx) {
|
||||
this.alltvzqzx = alltvzqzx;
|
||||
}
|
||||
|
||||
public Object getCategoryid() {
|
||||
return categoryid;
|
||||
}
|
||||
|
||||
public void setCategoryid(Object categoryid) {
|
||||
this.categoryid = categoryid;
|
||||
}
|
||||
|
||||
public String getCategoryname() {
|
||||
return categoryname;
|
||||
}
|
||||
|
||||
public void setCategoryname(String categoryname) {
|
||||
this.categoryname = categoryname;
|
||||
}
|
||||
|
||||
public Object getCategorynameen() {
|
||||
return categorynameen;
|
||||
}
|
||||
|
||||
public void setCategorynameen(Object categorynameen) {
|
||||
this.categorynameen = categorynameen;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getContentcode() {
|
||||
return contentcode;
|
||||
}
|
||||
|
||||
public void setContentcode(String contentcode) {
|
||||
this.contentcode = contentcode;
|
||||
}
|
||||
|
||||
public Object getContentcountryid() {
|
||||
return contentcountryid;
|
||||
}
|
||||
|
||||
public void setContentcountryid(Object contentcountryid) {
|
||||
this.contentcountryid = contentcountryid;
|
||||
}
|
||||
|
||||
public Integer getContentid() {
|
||||
return contentid;
|
||||
}
|
||||
|
||||
public void setContentid(Integer contentid) {
|
||||
this.contentid = contentid;
|
||||
}
|
||||
|
||||
public Object getContentkindid() {
|
||||
return contentkindid;
|
||||
}
|
||||
|
||||
public void setContentkindid(Object contentkindid) {
|
||||
this.contentkindid = contentkindid;
|
||||
}
|
||||
|
||||
public Object getContentkindname() {
|
||||
return contentkindname;
|
||||
}
|
||||
|
||||
public void setContentkindname(Object contentkindname) {
|
||||
this.contentkindname = contentkindname;
|
||||
}
|
||||
|
||||
public Object getContentkindnameen() {
|
||||
return contentkindnameen;
|
||||
}
|
||||
|
||||
public void setContentkindnameen(Object contentkindnameen) {
|
||||
this.contentkindnameen = contentkindnameen;
|
||||
}
|
||||
|
||||
public String getContentname() {
|
||||
return contentname;
|
||||
}
|
||||
|
||||
public void setContentname(String contentname) {
|
||||
this.contentname = contentname;
|
||||
}
|
||||
|
||||
public Integer getContenttype() {
|
||||
return contenttype;
|
||||
}
|
||||
|
||||
public void setContenttype(Integer contenttype) {
|
||||
this.contenttype = contenttype;
|
||||
}
|
||||
|
||||
public Object getContentyearid() {
|
||||
return contentyearid;
|
||||
}
|
||||
|
||||
public void setContentyearid(Object contentyearid) {
|
||||
this.contentyearid = contentyearid;
|
||||
}
|
||||
|
||||
public String getCornername() {
|
||||
return cornername;
|
||||
}
|
||||
|
||||
public void setCornername(String cornername) {
|
||||
this.cornername = cornername;
|
||||
}
|
||||
|
||||
public String getCornerpicurl() {
|
||||
return cornerpicurl;
|
||||
}
|
||||
|
||||
public void setCornerpicurl(String cornerpicurl) {
|
||||
this.cornerpicurl = cornerpicurl;
|
||||
}
|
||||
|
||||
public Object getCpid() {
|
||||
return cpid;
|
||||
}
|
||||
|
||||
public void setCpid(Object cpid) {
|
||||
this.cpid = cpid;
|
||||
}
|
||||
|
||||
public Object getCpname() {
|
||||
return cpname;
|
||||
}
|
||||
|
||||
public void setCpname(Object cpname) {
|
||||
this.cpname = cpname;
|
||||
}
|
||||
|
||||
public String getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(String createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public String getCreatetimeString() {
|
||||
return createtimeString;
|
||||
}
|
||||
|
||||
public void setCreatetimeString(String createtimeString) {
|
||||
this.createtimeString = createtimeString;
|
||||
}
|
||||
|
||||
public Integer getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(Integer duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public Integer getEpisodeindex() {
|
||||
return episodeindex;
|
||||
}
|
||||
|
||||
public void setEpisodeindex(Integer episodeindex) {
|
||||
this.episodeindex = episodeindex;
|
||||
}
|
||||
|
||||
public String getExtendimg() {
|
||||
return extendimg;
|
||||
}
|
||||
|
||||
public void setExtendimg(String extendimg) {
|
||||
this.extendimg = extendimg;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public Object getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Object id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getIs4k() {
|
||||
return is4k;
|
||||
}
|
||||
|
||||
public void setIs4k(String is4k) {
|
||||
this.is4k = is4k;
|
||||
}
|
||||
|
||||
public String getIsvr() {
|
||||
return isvr;
|
||||
}
|
||||
|
||||
public void setIsvr(String isvr) {
|
||||
this.isvr = isvr;
|
||||
}
|
||||
|
||||
public String getMgjscode() {
|
||||
return mgjscode;
|
||||
}
|
||||
|
||||
public void setMgjscode(String mgjscode) {
|
||||
this.mgjscode = mgjscode;
|
||||
}
|
||||
|
||||
public String getMidimg() {
|
||||
return midimg;
|
||||
}
|
||||
|
||||
public void setMidimg(String midimg) {
|
||||
this.midimg = midimg;
|
||||
}
|
||||
|
||||
public String getMidimg2() {
|
||||
return midimg2;
|
||||
}
|
||||
|
||||
public void setMidimg2(String midimg2) {
|
||||
this.midimg2 = midimg2;
|
||||
}
|
||||
|
||||
public String getOriginalcountry() {
|
||||
return originalcountry;
|
||||
}
|
||||
|
||||
public void setOriginalcountry(String originalcountry) {
|
||||
this.originalcountry = originalcountry;
|
||||
}
|
||||
|
||||
public Object getOriginalcountryen() {
|
||||
return originalcountryen;
|
||||
}
|
||||
|
||||
public void setOriginalcountryen(Object originalcountryen) {
|
||||
this.originalcountryen = originalcountryen;
|
||||
}
|
||||
|
||||
public String getPosterimg3() {
|
||||
return posterimg3;
|
||||
}
|
||||
|
||||
public void setPosterimg3(String posterimg3) {
|
||||
this.posterimg3 = posterimg3;
|
||||
}
|
||||
|
||||
public List<?> getRatelist() {
|
||||
return ratelist;
|
||||
}
|
||||
|
||||
public void setRatelist(List<?> ratelist) {
|
||||
this.ratelist = ratelist;
|
||||
}
|
||||
|
||||
public Object getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore(Object score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public String getSpid() {
|
||||
return spid;
|
||||
}
|
||||
|
||||
public void setSpid(String spid) {
|
||||
this.spid = spid;
|
||||
}
|
||||
|
||||
public String getSpname() {
|
||||
return spname;
|
||||
}
|
||||
|
||||
public void setSpname(String spname) {
|
||||
this.spname = spname;
|
||||
}
|
||||
|
||||
public String getStbid() {
|
||||
return stbid;
|
||||
}
|
||||
|
||||
public void setStbid(String stbid) {
|
||||
this.stbid = stbid;
|
||||
}
|
||||
|
||||
public String getUpdatetime() {
|
||||
return updatetime;
|
||||
}
|
||||
|
||||
public void setUpdatetime(String updatetime) {
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
public String getUpdatetimeString() {
|
||||
return updatetimeString;
|
||||
}
|
||||
|
||||
public void setUpdatetimeString(String updatetimeString) {
|
||||
this.updatetimeString = updatetimeString;
|
||||
}
|
||||
|
||||
public String getUsercode() {
|
||||
return usercode;
|
||||
}
|
||||
|
||||
public void setUsercode(String usercode) {
|
||||
this.usercode = usercode;
|
||||
}
|
||||
|
||||
public Object getUserid() {
|
||||
return userid;
|
||||
}
|
||||
|
||||
public void setUserid(Object userid) {
|
||||
this.userid = userid;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getWriterdisplay() {
|
||||
return writerdisplay;
|
||||
}
|
||||
|
||||
public void setWriterdisplay(String writerdisplay) {
|
||||
this.writerdisplay = writerdisplay;
|
||||
}
|
||||
|
||||
public Object getWriterdisplayen() {
|
||||
return writerdisplayen;
|
||||
}
|
||||
|
||||
public void setWriterdisplayen(Object writerdisplayen) {
|
||||
this.writerdisplayen = writerdisplayen;
|
||||
}
|
||||
}
|
||||
}
|
||||
121
libdata/src/main/java/com/migu/bean/GetEpgNavBean.java
Executable file
121
libdata/src/main/java/com/migu/bean/GetEpgNavBean.java
Executable file
@@ -0,0 +1,121 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class GetEpgNavBean {
|
||||
|
||||
private String code;
|
||||
|
||||
private String focuspicurl;
|
||||
private int id;
|
||||
|
||||
private String name;
|
||||
|
||||
private String picurl;
|
||||
|
||||
private String recommendcode;
|
||||
|
||||
private Object recommendmode;
|
||||
|
||||
private String recommendname;
|
||||
|
||||
private Object sequence;
|
||||
|
||||
private String spcode;
|
||||
private int spid;
|
||||
private int status;
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getFocuspicurl() {
|
||||
return focuspicurl;
|
||||
}
|
||||
|
||||
public void setFocuspicurl(String focuspicurl) {
|
||||
this.focuspicurl = focuspicurl;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPicurl() {
|
||||
return picurl;
|
||||
}
|
||||
|
||||
public void setPicurl(String picurl) {
|
||||
this.picurl = picurl;
|
||||
}
|
||||
|
||||
public String getRecommendcode() {
|
||||
return recommendcode;
|
||||
}
|
||||
|
||||
public void setRecommendcode(String recommendcode) {
|
||||
this.recommendcode = recommendcode;
|
||||
}
|
||||
|
||||
public Object getRecommendmode() {
|
||||
return recommendmode;
|
||||
}
|
||||
|
||||
public void setRecommendmode(Object recommendmode) {
|
||||
this.recommendmode = recommendmode;
|
||||
}
|
||||
|
||||
public String getRecommendname() {
|
||||
return recommendname;
|
||||
}
|
||||
|
||||
public void setRecommendname(String recommendname) {
|
||||
this.recommendname = recommendname;
|
||||
}
|
||||
|
||||
public Object getSequence() {
|
||||
return sequence;
|
||||
}
|
||||
|
||||
public void setSequence(Object sequence) {
|
||||
this.sequence = sequence;
|
||||
}
|
||||
|
||||
public String getSpcode() {
|
||||
return spcode;
|
||||
}
|
||||
|
||||
public void setSpcode(String spcode) {
|
||||
this.spcode = spcode;
|
||||
}
|
||||
|
||||
public int getSpid() {
|
||||
return spid;
|
||||
}
|
||||
|
||||
public void setSpid(int spid) {
|
||||
this.spid = spid;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
596
libdata/src/main/java/com/migu/bean/GetFindPlayrecordBean.java
Executable file
596
libdata/src/main/java/com/migu/bean/GetFindPlayrecordBean.java
Executable file
@@ -0,0 +1,596 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetFindPlayrecordBean {
|
||||
|
||||
/**
|
||||
* data : [{"actordisplay":"","actordisplayen":"","categoryid":0,"categoryname":"","categorynameen":"","code":"7D1D2FB42C964CC4A104DC63EB41BD4C","contentcode":"20020694423","contentcountryid":0,"contentid":438115,"contentkindid":"","contentkindname":"","contentkindnameen":"","contentname":"《冰冻星球2迷你剧》01麦秆虫(赵丽娜配音版)","contenttype":2,"contentyearid":0,"cornername":"","cornerpicurl":"0","cpid":"1","cpname":"1","createtime":"2023-01-31T14:03:45","createtimeString":"2023-01-31 14:03:45","duration":4,"episodeindex":1,"extendimg":"","icon":"","id":null,"is4k":"0","isay":0,"isvr":"0","midimg":"http://zqyypic.a208.ottcn.com:8080/zqyy///vstore/tongyiPic1/20230118/20020766847_116828_8_migujisu_V34_173_236_cdp.jpg","midimg2":"http://zqyypic.a208.ottcn.com:8080/zqyy///vstore/tongyiPic1/20230118/20020695053_115833_91_migujisu_H169_178_100_cdp.jpg","miguzq":"","miguzqzx":"","originalcountry":"","originalcountryen":"","parentcode":"20020694373","parentid":438118,"playlong":0,"playtime":"2023-02-01T14:36:45","playtimeString":"2023-02-01 14:36:45","posterimg3":"","score":"","spid":"0","spname":"1","stbid":"004903FF0003331000113C0CDB9BA4E3","updatetime":"2023-02-01T14:36:44","updatetimeString":"2023-02-01 14:36:44","usercode":"0105201564998687004","userid":null,"username":"0105201564998687004","writerdisplay":"","writerdisplayen":""},{"actordisplay":"","actordisplayen":"","categoryid":0,"categoryname":"","categorynameen":"","code":"2D9573EAF61643169A7BA091776B20CF","contentcode":"20020615064","contentcountryid":0,"contentid":436485,"contentkindid":"","contentkindname":"","contentkindnameen":"","contentname":"《护卫者》第01集:王吉祥抓捕杜山","contenttype":2,"contentyearid":0,"cornername":"","cornerpicurl":"0","cpid":"1","cpname":"1","createtime":"2023-01-19T13:52:33","createtimeString":"2023-01-19 13:52:33","duration":46,"episodeindex":1,"extendimg":"","icon":"","id":null,"is4k":"0","isay":0,"isvr":"0","midimg":"http://zqyypic.a208.ottcn.com:8080/zqyy///vstore/tongyiPic1/20230117/20020615441_445113_44_migujisu_V34_173_236_cdp.jpg","midimg2":"http://zqyypic.a208.ottcn.com:8080/zqyy///vstore/tongyiPic1/20230117/20021260540_238547_34_migujisu_H169_178_100_cdp.jpg","miguzq":"","miguzqzx":"","originalcountry":"","originalcountryen":"","parentcode":"20020615049","parentid":436478,"playlong":0,"playtime":"2023-02-01T11:06:02","playtimeString":"2023-02-01 11:06:02","posterimg3":"","score":"","spid":"0","spname":"1","stbid":"004903FF0003331000113C0CDB9BA4E3","updatetime":"2023-02-01T11:06:01","updatetimeString":"2023-02-01 11:06:01","usercode":"0105201564998687004","userid":null,"username":"0105201564998687004","writerdisplay":"","writerdisplayen":""},{"actordisplay":"","actordisplayen":"","categoryid":0,"categoryname":"","categorynameen":"","code":"E11AC482AA9A46CD826FE456A9A45AF9","contentcode":"20013019394","contentcountryid":0,"contentid":332485,"contentkindid":"","contentkindname":"","contentkindnameen":"","contentname":"《喜羊羊与灰太狼之羊羊趣冒险之二》01勇闯弹珠台","contenttype":2,"contentyearid":0,"cornername":"","cornerpicurl":"1","cpid":"1","cpname":"1","createtime":"2023-01-31T14:05:11","createtimeString":"2023-01-31 14:05:11","duration":14,"episodeindex":1,"extendimg":"","icon":"","id":null,"is4k":"1","isay":0,"isvr":"0","midimg":"http://zqyypic.a208.ottcn.com:8080/zqyy///vstore/tongyiPic1/20230113/20019018373_246921_5_migujisu_V34_173_236_cdp.jpg","midimg2":"http://zqyypic.a208.ottcn.com:8080/zqyy///vstore/tongyiPic1/20230113/20019018372_175929_23_migujisu_H169_178_100_cdp.jpg","miguzq":"","miguzqzx":"","originalcountry":"","originalcountryen":"","parentcode":"20013019317","parentid":28346,"playlong":0,"playtime":"2023-02-01T11:06:00","playtimeString":"2023-02-01 11:06:00","posterimg3":"","score":"","spid":"0","spname":"1","stbid":"004903FF0003331000113C0CDB9BA4E3","updatetime":"2023-02-01T11:05:59","updatetimeString":"2023-02-01 11:05:59","usercode":"0105201564998687004","userid":null,"username":"0105201564998687004","writerdisplay":"","writerdisplayen":""}]
|
||||
* describe : success
|
||||
* pageCount : 3
|
||||
* pagetotal : 34
|
||||
* result : 1
|
||||
* totalCount : 100
|
||||
*/
|
||||
|
||||
private String describe;
|
||||
private int pageCount;
|
||||
private int pagetotal;
|
||||
private int result;
|
||||
private int totalCount;
|
||||
private List<DataBean> data;
|
||||
|
||||
public String getDescribe() {
|
||||
return describe;
|
||||
}
|
||||
|
||||
public void setDescribe(String describe) {
|
||||
this.describe = describe;
|
||||
}
|
||||
|
||||
public int getPageCount() {
|
||||
return pageCount;
|
||||
}
|
||||
|
||||
public void setPageCount(int pageCount) {
|
||||
this.pageCount = pageCount;
|
||||
}
|
||||
|
||||
public int getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public void setPagetotal(int pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public int getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(int result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public int getTotalCount() {
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
public void setTotalCount(int totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
public List<DataBean> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataBean> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataBean {
|
||||
/**
|
||||
* actordisplay :
|
||||
* actordisplayen :
|
||||
* categoryid : 0
|
||||
* categoryname :
|
||||
* categorynameen :
|
||||
* code : 7D1D2FB42C964CC4A104DC63EB41BD4C
|
||||
* contentcode : 20020694423
|
||||
* contentcountryid : 0
|
||||
* contentid : 438115
|
||||
* contentkindid :
|
||||
* contentkindname :
|
||||
* contentkindnameen :
|
||||
* contentname : 《冰冻星球2迷你剧》01麦秆虫(赵丽娜配音版)
|
||||
* contenttype : 2
|
||||
* contentyearid : 0
|
||||
* cornername :
|
||||
* cornerpicurl : 0
|
||||
* cpid : 1
|
||||
* cpname : 1
|
||||
* createtime : 2023-01-31T14:03:45
|
||||
* createtimeString : 2023-01-31 14:03:45
|
||||
* duration : 4
|
||||
* episodeindex : 1
|
||||
* extendimg :
|
||||
* icon :
|
||||
* id : null
|
||||
* is4k : 0
|
||||
* isay : 0
|
||||
* isvr : 0
|
||||
* midimg : http://zqyypic.a208.ottcn.com:8080/zqyy///vstore/tongyiPic1/20230118/20020766847_116828_8_migujisu_V34_173_236_cdp.jpg
|
||||
* midimg2 : http://zqyypic.a208.ottcn.com:8080/zqyy///vstore/tongyiPic1/20230118/20020695053_115833_91_migujisu_H169_178_100_cdp.jpg
|
||||
* miguzq :
|
||||
* miguzqzx :
|
||||
* originalcountry :
|
||||
* originalcountryen :
|
||||
* parentcode : 20020694373
|
||||
* parentid : 438118
|
||||
* playlong : 0
|
||||
* playtime : 2023-02-01T14:36:45
|
||||
* playtimeString : 2023-02-01 14:36:45
|
||||
* posterimg3 :
|
||||
* score :
|
||||
* spid : 0
|
||||
* spname : 1
|
||||
* stbid : 004903FF0003331000113C0CDB9BA4E3
|
||||
* updatetime : 2023-02-01T14:36:44
|
||||
* updatetimeString : 2023-02-01 14:36:44
|
||||
* usercode : 0105201564998687004
|
||||
* userid : null
|
||||
* username : 0105201564998687004
|
||||
* writerdisplay :
|
||||
* writerdisplayen :
|
||||
*/
|
||||
|
||||
private String actordisplay;
|
||||
private String actordisplayen;
|
||||
private int categoryid;
|
||||
private String categoryname;
|
||||
private String categorynameen;
|
||||
private String code;
|
||||
private String contentcode;
|
||||
private int contentcountryid;
|
||||
private int contentid;
|
||||
private String contentkindid;
|
||||
private String contentkindname;
|
||||
private String contentkindnameen;
|
||||
private String contentname;
|
||||
private int contenttype;
|
||||
private int contentyearid;
|
||||
private String cornername;
|
||||
private String cornerpicurl;
|
||||
private String cpid;
|
||||
private String cpname;
|
||||
private String createtime;
|
||||
private String createtimeString;
|
||||
private int duration;
|
||||
private int episodeindex;
|
||||
private String extendimg;
|
||||
private String icon;
|
||||
private Object id;
|
||||
private String is4k;
|
||||
private int isay;
|
||||
private String isvr;
|
||||
private String midimg;
|
||||
private String midimg2;
|
||||
private String miguzq;
|
||||
private String miguzqzx;
|
||||
private String originalcountry;
|
||||
private String originalcountryen;
|
||||
private String parentcode;
|
||||
private int parentid;
|
||||
private int playlong;
|
||||
private String playtime;
|
||||
private String playtimeString;
|
||||
private String posterimg3;
|
||||
private String score;
|
||||
private String spid;
|
||||
private String spname;
|
||||
private String stbid;
|
||||
private String updatetime;
|
||||
private String updatetimeString;
|
||||
private String usercode;
|
||||
private Object userid;
|
||||
private String username;
|
||||
private String writerdisplay;
|
||||
private String writerdisplayen;
|
||||
|
||||
public String getActordisplay() {
|
||||
return actordisplay;
|
||||
}
|
||||
|
||||
public void setActordisplay(String actordisplay) {
|
||||
this.actordisplay = actordisplay;
|
||||
}
|
||||
|
||||
public String getActordisplayen() {
|
||||
return actordisplayen;
|
||||
}
|
||||
|
||||
public void setActordisplayen(String actordisplayen) {
|
||||
this.actordisplayen = actordisplayen;
|
||||
}
|
||||
|
||||
public int getCategoryid() {
|
||||
return categoryid;
|
||||
}
|
||||
|
||||
public void setCategoryid(int categoryid) {
|
||||
this.categoryid = categoryid;
|
||||
}
|
||||
|
||||
public String getCategoryname() {
|
||||
return categoryname;
|
||||
}
|
||||
|
||||
public void setCategoryname(String categoryname) {
|
||||
this.categoryname = categoryname;
|
||||
}
|
||||
|
||||
public String getCategorynameen() {
|
||||
return categorynameen;
|
||||
}
|
||||
|
||||
public void setCategorynameen(String categorynameen) {
|
||||
this.categorynameen = categorynameen;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getContentcode() {
|
||||
return contentcode;
|
||||
}
|
||||
|
||||
public void setContentcode(String contentcode) {
|
||||
this.contentcode = contentcode;
|
||||
}
|
||||
|
||||
public int getContentcountryid() {
|
||||
return contentcountryid;
|
||||
}
|
||||
|
||||
public void setContentcountryid(int contentcountryid) {
|
||||
this.contentcountryid = contentcountryid;
|
||||
}
|
||||
|
||||
public int getContentid() {
|
||||
return contentid;
|
||||
}
|
||||
|
||||
public void setContentid(int contentid) {
|
||||
this.contentid = contentid;
|
||||
}
|
||||
|
||||
public String getContentkindid() {
|
||||
return contentkindid;
|
||||
}
|
||||
|
||||
public void setContentkindid(String contentkindid) {
|
||||
this.contentkindid = contentkindid;
|
||||
}
|
||||
|
||||
public String getContentkindname() {
|
||||
return contentkindname;
|
||||
}
|
||||
|
||||
public void setContentkindname(String contentkindname) {
|
||||
this.contentkindname = contentkindname;
|
||||
}
|
||||
|
||||
public String getContentkindnameen() {
|
||||
return contentkindnameen;
|
||||
}
|
||||
|
||||
public void setContentkindnameen(String contentkindnameen) {
|
||||
this.contentkindnameen = contentkindnameen;
|
||||
}
|
||||
|
||||
public String getContentname() {
|
||||
return contentname;
|
||||
}
|
||||
|
||||
public void setContentname(String contentname) {
|
||||
this.contentname = contentname;
|
||||
}
|
||||
|
||||
public int getContenttype() {
|
||||
return contenttype;
|
||||
}
|
||||
|
||||
public void setContenttype(int contenttype) {
|
||||
this.contenttype = contenttype;
|
||||
}
|
||||
|
||||
public int getContentyearid() {
|
||||
return contentyearid;
|
||||
}
|
||||
|
||||
public void setContentyearid(int contentyearid) {
|
||||
this.contentyearid = contentyearid;
|
||||
}
|
||||
|
||||
public String getCornername() {
|
||||
return cornername;
|
||||
}
|
||||
|
||||
public void setCornername(String cornername) {
|
||||
this.cornername = cornername;
|
||||
}
|
||||
|
||||
public String getCornerpicurl() {
|
||||
return cornerpicurl;
|
||||
}
|
||||
|
||||
public void setCornerpicurl(String cornerpicurl) {
|
||||
this.cornerpicurl = cornerpicurl;
|
||||
}
|
||||
|
||||
public String getCpid() {
|
||||
return cpid;
|
||||
}
|
||||
|
||||
public void setCpid(String cpid) {
|
||||
this.cpid = cpid;
|
||||
}
|
||||
|
||||
public String getCpname() {
|
||||
return cpname;
|
||||
}
|
||||
|
||||
public void setCpname(String cpname) {
|
||||
this.cpname = cpname;
|
||||
}
|
||||
|
||||
public String getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(String createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public String getCreatetimeString() {
|
||||
return createtimeString;
|
||||
}
|
||||
|
||||
public void setCreatetimeString(String createtimeString) {
|
||||
this.createtimeString = createtimeString;
|
||||
}
|
||||
|
||||
public int getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(int duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public int getEpisodeindex() {
|
||||
return episodeindex;
|
||||
}
|
||||
|
||||
public void setEpisodeindex(int episodeindex) {
|
||||
this.episodeindex = episodeindex;
|
||||
}
|
||||
|
||||
public String getExtendimg() {
|
||||
return extendimg;
|
||||
}
|
||||
|
||||
public void setExtendimg(String extendimg) {
|
||||
this.extendimg = extendimg;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public Object getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Object id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getIs4k() {
|
||||
return is4k;
|
||||
}
|
||||
|
||||
public void setIs4k(String is4k) {
|
||||
this.is4k = is4k;
|
||||
}
|
||||
|
||||
public int getIsay() {
|
||||
return isay;
|
||||
}
|
||||
|
||||
public void setIsay(int isay) {
|
||||
this.isay = isay;
|
||||
}
|
||||
|
||||
public String getIsvr() {
|
||||
return isvr;
|
||||
}
|
||||
|
||||
public void setIsvr(String isvr) {
|
||||
this.isvr = isvr;
|
||||
}
|
||||
|
||||
public String getMidimg() {
|
||||
return midimg;
|
||||
}
|
||||
|
||||
public void setMidimg(String midimg) {
|
||||
this.midimg = midimg;
|
||||
}
|
||||
|
||||
public String getMidimg2() {
|
||||
return midimg2;
|
||||
}
|
||||
|
||||
public void setMidimg2(String midimg2) {
|
||||
this.midimg2 = midimg2;
|
||||
}
|
||||
|
||||
public String getMiguzq() {
|
||||
return miguzq;
|
||||
}
|
||||
|
||||
public void setMiguzq(String miguzq) {
|
||||
this.miguzq = miguzq;
|
||||
}
|
||||
|
||||
public String getMiguzqzx() {
|
||||
return miguzqzx;
|
||||
}
|
||||
|
||||
public void setMiguzqzx(String miguzqzx) {
|
||||
this.miguzqzx = miguzqzx;
|
||||
}
|
||||
|
||||
public String getOriginalcountry() {
|
||||
return originalcountry;
|
||||
}
|
||||
|
||||
public void setOriginalcountry(String originalcountry) {
|
||||
this.originalcountry = originalcountry;
|
||||
}
|
||||
|
||||
public String getOriginalcountryen() {
|
||||
return originalcountryen;
|
||||
}
|
||||
|
||||
public void setOriginalcountryen(String originalcountryen) {
|
||||
this.originalcountryen = originalcountryen;
|
||||
}
|
||||
|
||||
public String getParentcode() {
|
||||
return parentcode;
|
||||
}
|
||||
|
||||
public void setParentcode(String parentcode) {
|
||||
this.parentcode = parentcode;
|
||||
}
|
||||
|
||||
public int getParentid() {
|
||||
return parentid;
|
||||
}
|
||||
|
||||
public void setParentid(int parentid) {
|
||||
this.parentid = parentid;
|
||||
}
|
||||
|
||||
public int getPlaylong() {
|
||||
return playlong;
|
||||
}
|
||||
|
||||
public void setPlaylong(int playlong) {
|
||||
this.playlong = playlong;
|
||||
}
|
||||
|
||||
public String getPlaytime() {
|
||||
return playtime;
|
||||
}
|
||||
|
||||
public void setPlaytime(String playtime) {
|
||||
this.playtime = playtime;
|
||||
}
|
||||
|
||||
public String getPlaytimeString() {
|
||||
return playtimeString;
|
||||
}
|
||||
|
||||
public void setPlaytimeString(String playtimeString) {
|
||||
this.playtimeString = playtimeString;
|
||||
}
|
||||
|
||||
public String getPosterimg3() {
|
||||
return posterimg3;
|
||||
}
|
||||
|
||||
public void setPosterimg3(String posterimg3) {
|
||||
this.posterimg3 = posterimg3;
|
||||
}
|
||||
|
||||
public String getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore(String score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public String getSpid() {
|
||||
return spid;
|
||||
}
|
||||
|
||||
public void setSpid(String spid) {
|
||||
this.spid = spid;
|
||||
}
|
||||
|
||||
public String getSpname() {
|
||||
return spname;
|
||||
}
|
||||
|
||||
public void setSpname(String spname) {
|
||||
this.spname = spname;
|
||||
}
|
||||
|
||||
public String getStbid() {
|
||||
return stbid;
|
||||
}
|
||||
|
||||
public void setStbid(String stbid) {
|
||||
this.stbid = stbid;
|
||||
}
|
||||
|
||||
public String getUpdatetime() {
|
||||
return updatetime;
|
||||
}
|
||||
|
||||
public void setUpdatetime(String updatetime) {
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
public String getUpdatetimeString() {
|
||||
return updatetimeString;
|
||||
}
|
||||
|
||||
public void setUpdatetimeString(String updatetimeString) {
|
||||
this.updatetimeString = updatetimeString;
|
||||
}
|
||||
|
||||
public String getUsercode() {
|
||||
return usercode;
|
||||
}
|
||||
|
||||
public void setUsercode(String usercode) {
|
||||
this.usercode = usercode;
|
||||
}
|
||||
|
||||
public Object getUserid() {
|
||||
return userid;
|
||||
}
|
||||
|
||||
public void setUserid(Object userid) {
|
||||
this.userid = userid;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getWriterdisplay() {
|
||||
return writerdisplay;
|
||||
}
|
||||
|
||||
public void setWriterdisplay(String writerdisplay) {
|
||||
this.writerdisplay = writerdisplay;
|
||||
}
|
||||
|
||||
public String getWriterdisplayen() {
|
||||
return writerdisplayen;
|
||||
}
|
||||
|
||||
public void setWriterdisplayen(String writerdisplayen) {
|
||||
this.writerdisplayen = writerdisplayen;
|
||||
}
|
||||
}
|
||||
}
|
||||
2178
libdata/src/main/java/com/migu/bean/GetGameDetailBean.java
Executable file
2178
libdata/src/main/java/com/migu/bean/GetGameDetailBean.java
Executable file
File diff suppressed because one or more lines are too long
50
libdata/src/main/java/com/migu/bean/GetGamePlayurlAndPlayStatusBean.java
Executable file
50
libdata/src/main/java/com/migu/bean/GetGamePlayurlAndPlayStatusBean.java
Executable file
@@ -0,0 +1,50 @@
|
||||
|
||||
/*
|
||||
* zzj
|
||||
*/
|
||||
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetGamePlayurlAndPlayStatusBean {
|
||||
|
||||
private Object errorCode;
|
||||
private String playStatus;//1、倒计时 2、预告片 3、直播中 4、回看 5、订购UI
|
||||
private String playUrl;//播放地址
|
||||
private String downTime; //倒计时时间
|
||||
private String shikanTime;//试看时长
|
||||
|
||||
|
||||
public String getPlayStatus() {
|
||||
return playStatus;
|
||||
}
|
||||
|
||||
public void setPlayStatus(String playStatus){
|
||||
this.playStatus = playStatus;
|
||||
}
|
||||
|
||||
public String getPlayUrl() {
|
||||
return playUrl;
|
||||
}
|
||||
|
||||
public void setPlayUrl(String playUrl){
|
||||
this.playUrl = playUrl;
|
||||
}
|
||||
|
||||
public String getDownTime() {
|
||||
return downTime;
|
||||
}
|
||||
|
||||
public void setDownTime(String downTime){
|
||||
this.downTime = downTime;
|
||||
}
|
||||
|
||||
public String getShikanTime() {
|
||||
return shikanTime;
|
||||
}
|
||||
|
||||
public void setShikanTime(String shikanTime){
|
||||
this.shikanTime = shikanTime;
|
||||
}
|
||||
}
|
||||
1182
libdata/src/main/java/com/migu/bean/GetGameSeasonInfoListBean.java
Executable file
1182
libdata/src/main/java/com/migu/bean/GetGameSeasonInfoListBean.java
Executable file
File diff suppressed because it is too large
Load Diff
1337
libdata/src/main/java/com/migu/bean/GetGameSeasonInfoRecommendBean.java
Executable file
1337
libdata/src/main/java/com/migu/bean/GetGameSeasonInfoRecommendBean.java
Executable file
File diff suppressed because it is too large
Load Diff
543
libdata/src/main/java/com/migu/bean/GetLayoutBean.java
Executable file
543
libdata/src/main/java/com/migu/bean/GetLayoutBean.java
Executable file
File diff suppressed because one or more lines are too long
274
libdata/src/main/java/com/migu/bean/GetLayoutNavBean.java
Executable file
274
libdata/src/main/java/com/migu/bean/GetLayoutNavBean.java
Executable file
@@ -0,0 +1,274 @@
|
||||
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetLayoutNavBean {
|
||||
|
||||
/**
|
||||
* nowtime : 2023-02-01 14:34:44
|
||||
* message : success
|
||||
* linuxtime : 2023-02-01 14:38:38
|
||||
* timestamp : 20230201143444
|
||||
* data :
|
||||
* [{"navAimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/aoyunpic/05372205e9bfd83c526f0ffc911ac76a.png","isFocus":"1","sort":8,"navBimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/aoyunpic/930c3cf729167f34a19095a1c7b580da.png","navFimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/aoyunpic/96c280651235f0b69b3505534aeba874.png","navname":"精选","showType":1,"navid":"7001654760847248","type":1},{"navAimage":"","isFocus":"0","sort":9,"navBimage":"","navFimage":"","navname":"我的","showType":0,"navid":"7001655189817136","type":2},{"navAimage":"","isFocus":"0","sort":10,"navBimage":"","navFimage":"","navname":"体育","showType":0,"navid":"7001655203347201","type":1},{"navAimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/tongyiPic1/manage/653a1c3ee26e89b70e5c89ebbc8c73cf.png","isFocus":"0","sort":11,"navBimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/tongyiPic1/manage/59a3775124678bace2502c84d7d5262c.png","navFimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/tongyiPic1/manage/87211a3079250ceda337db36960e54d5.png","navname":"三体","showType":1,"navid":"7001673510265802","type":1},{"navAimage":"","isFocus":"0","sort":13,"navBimage":"","navFimage":"","navname":"电影","showType":0,"navid":"7001655189738353","type":1},{"navAimage":"","isFocus":"0","sort":17,"navBimage":"","navFimage":"","navname":"电视剧","showType":0,"navid":"7001655189612200","type":1},{"navAimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/aoyunpic/6432a040014dc7addb59fa218c858739.png","isFocus":"0","sort":18,"navBimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/aoyunpic/5f6619e38518e575287311c7cd56c9ad.png","navFimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/aoyunpic/40014b2cdfca4dc526d637a49dcd9046.png","navname":"少儿","showType":0,"navid":"7001659950185764","type":1},{"navAimage":"","isFocus":"0","sort":19,"navBimage":"","navFimage":"","navname":"知识","showType":0,"navid":"7001659950194624","type":1},{"navAimage":"","isFocus":"0","sort":20,"navBimage":"","navFimage":"","navname":"综艺","showType":0,"navid":"7001655189896932","type":1},{"navAimage":"","isFocus":"0","sort":21,"navBimage":"","navFimage":"","navname":"纪实","showType":0,"navid":"7001655190147995","type":1},{"navAimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/tongyiPic1/manage/c9ec96b45f00e874aaea936bcdef0834.png","isFocus":"0","sort":22,"navBimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/tongyiPic1/manage/6d441cd2dac3766963201926ab79b1ed.png","navFimage":"http://zqyypic.a208.ottcn.com:8080/zqyy//ustorage/tongyiPic1/manage/b75a1cc32d4b607f2754128976e5a158.png","navname":"5G
|
||||
* Fun映厅","showType":1,"navid":"7001660123559654","type":1},{"navAimage":"","isFocus":"0","sort":23,"navBimage":"","navFimage":"","navname":"4K","showType":0,"navid":"7001655201347925","type":3},{"navAimage":"","isFocus":"0","sort":24,"navBimage":"","navFimage":"","navname":"VR","showType":0,"navid":"7001655201747837","type":4},{"navAimage":"","isFocus":"0","sort":68,"navBimage":"","navFimage":"","navname":"量贩","showType":0,"navid":"7001660556423426","type":1}]
|
||||
* resultcode : 0
|
||||
*/
|
||||
|
||||
private String nowtime;
|
||||
|
||||
private String message;
|
||||
|
||||
private String linuxtime;
|
||||
|
||||
private String timestamp;
|
||||
|
||||
private String resultcode;
|
||||
|
||||
private List<DataBean> data;
|
||||
|
||||
public String getNowtime() {
|
||||
return nowtime;
|
||||
}
|
||||
|
||||
public void setNowtime(String nowtime) {
|
||||
this.nowtime = nowtime;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getLinuxtime() {
|
||||
return linuxtime;
|
||||
}
|
||||
|
||||
public void setLinuxtime(String linuxtime) {
|
||||
this.linuxtime = linuxtime;
|
||||
}
|
||||
|
||||
public String getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(String timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public List<DataBean> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataBean> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataBean {
|
||||
private String cornerUrl;
|
||||
|
||||
private String cornerType;
|
||||
|
||||
private String navColor;
|
||||
|
||||
private List<SubNavDataBean> navList;
|
||||
|
||||
public String getCornerUrl() {
|
||||
return cornerUrl;
|
||||
}
|
||||
|
||||
public void setCornerUrl(String cornerUrl) {
|
||||
this.cornerUrl = cornerUrl;
|
||||
}
|
||||
|
||||
public String getCornerType() {
|
||||
return cornerType;
|
||||
}
|
||||
|
||||
public void setCornerType(String cornerType) {
|
||||
this.cornerType = cornerType;
|
||||
}
|
||||
|
||||
public String getNavColor() {
|
||||
return navColor;
|
||||
}
|
||||
|
||||
public void setNavColor(String navColor) {
|
||||
this.navColor = navColor;
|
||||
}
|
||||
|
||||
public List<SubNavDataBean> getNavList() {
|
||||
return navList;
|
||||
}
|
||||
|
||||
public void setNavList(List<SubNavDataBean> navList) {
|
||||
this.navList = navList;
|
||||
}
|
||||
|
||||
public static class SubNavDataBean {
|
||||
private int game_id;
|
||||
|
||||
private String game_name;
|
||||
|
||||
private String isFocus;
|
||||
|
||||
/**
|
||||
* 驻留
|
||||
*/
|
||||
private String navAimage;
|
||||
|
||||
/**
|
||||
* 正常
|
||||
*/
|
||||
private String navBimage;
|
||||
|
||||
/**
|
||||
* 选中
|
||||
*/
|
||||
private String navFimage;
|
||||
|
||||
/**
|
||||
* 标签类型 1 图片 0 文字
|
||||
*/
|
||||
private int showType;
|
||||
|
||||
private String navid;
|
||||
|
||||
private int type;
|
||||
|
||||
private int sort;
|
||||
|
||||
private String navname;
|
||||
|
||||
private String bg_imgurl;
|
||||
|
||||
private String game_code;
|
||||
|
||||
private String pageCode;
|
||||
|
||||
public String getPageCode() {
|
||||
return pageCode;
|
||||
}
|
||||
|
||||
public void setPageCode(String pageCode) {
|
||||
this.pageCode = pageCode;
|
||||
}
|
||||
|
||||
public int getGame_id() {
|
||||
return game_id;
|
||||
}
|
||||
|
||||
public void setGame_id(int game_id) {
|
||||
this.game_id = game_id;
|
||||
}
|
||||
|
||||
public String getGame_name() {
|
||||
return game_name;
|
||||
}
|
||||
|
||||
public void setGame_name(String game_name) {
|
||||
this.game_name = game_name;
|
||||
}
|
||||
|
||||
public String getIsFocus() {
|
||||
return isFocus;
|
||||
}
|
||||
|
||||
public void setIsFocus(String isFocus) {
|
||||
this.isFocus = isFocus;
|
||||
}
|
||||
|
||||
public String getNavAimage() {
|
||||
return navAimage;
|
||||
}
|
||||
|
||||
public void setNavAimage(String navAimage) {
|
||||
this.navAimage = navAimage;
|
||||
}
|
||||
|
||||
public String getNavBimage() {
|
||||
return navBimage;
|
||||
}
|
||||
|
||||
public void setNavBimage(String navBimage) {
|
||||
this.navBimage = navBimage;
|
||||
}
|
||||
|
||||
public String getNavFimage() {
|
||||
return navFimage;
|
||||
}
|
||||
|
||||
public void setNavFimage(String navFimage) {
|
||||
this.navFimage = navFimage;
|
||||
}
|
||||
|
||||
public int getShowType() {
|
||||
return showType;
|
||||
}
|
||||
|
||||
public void setShowType(int showType) {
|
||||
this.showType = showType;
|
||||
}
|
||||
|
||||
public String getNavid() {
|
||||
return navid;
|
||||
}
|
||||
|
||||
public void setNavid(String navid) {
|
||||
this.navid = navid;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(int sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
public String getNavname() {
|
||||
return navname;
|
||||
}
|
||||
|
||||
public void setNavname(String navname) {
|
||||
this.navname = navname;
|
||||
}
|
||||
|
||||
public String getBg_imgurl() {
|
||||
return bg_imgurl;
|
||||
}
|
||||
|
||||
public void setBg_imgurl(String bg_imgurl) {
|
||||
this.bg_imgurl = bg_imgurl;
|
||||
}
|
||||
|
||||
public String getGame_code() {
|
||||
return game_code;
|
||||
}
|
||||
|
||||
public void setGame_code(String game_code) {
|
||||
this.game_code = game_code;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
525
libdata/src/main/java/com/migu/bean/GetMatchListBean.java
Executable file
525
libdata/src/main/java/com/migu/bean/GetMatchListBean.java
Executable file
@@ -0,0 +1,525 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetMatchListBean {
|
||||
|
||||
private String resultCode;
|
||||
private String message;
|
||||
private List<DataDTO> data;
|
||||
private long timestamp;
|
||||
private String nowTime;
|
||||
|
||||
public String getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public void setResultCode(String resultCode) {
|
||||
this.resultCode = resultCode;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public List<DataDTO> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataDTO> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(long timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public String getNowTime() {
|
||||
return nowTime;
|
||||
}
|
||||
|
||||
public void setNowTime(String nowTime) {
|
||||
this.nowTime = nowTime;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private int competitionId;
|
||||
private String competitionCode;
|
||||
private String competitionName;
|
||||
private int gameId;
|
||||
private String gameCode;
|
||||
private String gameName;
|
||||
private String seasonCode;
|
||||
private String seasonName;
|
||||
private String competitionType;
|
||||
private String stageRoundName;
|
||||
private String phase;
|
||||
private String round;
|
||||
private String projectId;
|
||||
private String projectCode;
|
||||
private String projectName;
|
||||
private String middleProjectName;
|
||||
private String smallProjectId;
|
||||
private String smallProjectCode;
|
||||
private String smallProjectName;
|
||||
private String startTime;
|
||||
private String endTime;
|
||||
private int beforeTime;
|
||||
private String status;
|
||||
//上线状态,1:上线 , 其他:下线
|
||||
private Object onlineStatus;
|
||||
//0:未开始,1:进行中,2:已结束,3:时间未确定,4:延期,5:延迟,6:取消,7:主客队未确定
|
||||
private int matchStatus;
|
||||
private int isFree;
|
||||
private String parentFlag;
|
||||
private String chinaFlag;
|
||||
private String goldFlag;
|
||||
private String mgjsCode;
|
||||
private String liveCharge;
|
||||
private String liveBackCharge;
|
||||
private String cornerUrl;
|
||||
private String goldMedalUrl;
|
||||
private String nationUrl;
|
||||
private String channelName;
|
||||
private int scoreStatus;
|
||||
private String groupName;
|
||||
private Object sequence;
|
||||
private Object isRecommendSequence;
|
||||
private int matchStatusSort;
|
||||
private int timeSort;
|
||||
private int homeTeamId;
|
||||
private String homeTeamCode;
|
||||
private String homeTeamName;
|
||||
private String homeScore;
|
||||
private String homeTeamLogo;
|
||||
private int visitingTeamId;
|
||||
private String visitingTeamCode;
|
||||
private String visitingTeamName;
|
||||
private String visitingScore;
|
||||
private String visitingTeamLogo;
|
||||
|
||||
public int getCompetitionId() {
|
||||
return competitionId;
|
||||
}
|
||||
|
||||
public void setCompetitionId(int competitionId) {
|
||||
this.competitionId = competitionId;
|
||||
}
|
||||
|
||||
public String getCompetitionCode() {
|
||||
return competitionCode;
|
||||
}
|
||||
|
||||
public void setCompetitionCode(String competitionCode) {
|
||||
this.competitionCode = competitionCode;
|
||||
}
|
||||
|
||||
public String getCompetitionName() {
|
||||
return competitionName;
|
||||
}
|
||||
|
||||
public void setCompetitionName(String competitionName) {
|
||||
this.competitionName = competitionName;
|
||||
}
|
||||
|
||||
public int getGameId() {
|
||||
return gameId;
|
||||
}
|
||||
|
||||
public void setGameId(int gameId) {
|
||||
this.gameId = gameId;
|
||||
}
|
||||
|
||||
public String getGameCode() {
|
||||
return gameCode;
|
||||
}
|
||||
|
||||
public void setGameCode(String gameCode) {
|
||||
this.gameCode = gameCode;
|
||||
}
|
||||
|
||||
public String getGameName() {
|
||||
return gameName;
|
||||
}
|
||||
|
||||
public void setGameName(String gameName) {
|
||||
this.gameName = gameName;
|
||||
}
|
||||
|
||||
public String getSeasonCode() {
|
||||
return seasonCode;
|
||||
}
|
||||
|
||||
public void setSeasonCode(String seasonCode) {
|
||||
this.seasonCode = seasonCode;
|
||||
}
|
||||
|
||||
public String getSeasonName() {
|
||||
return seasonName;
|
||||
}
|
||||
|
||||
public void setSeasonName(String seasonName) {
|
||||
this.seasonName = seasonName;
|
||||
}
|
||||
|
||||
public String getCompetitionType() {
|
||||
return competitionType;
|
||||
}
|
||||
|
||||
public void setCompetitionType(String competitionType) {
|
||||
this.competitionType = competitionType;
|
||||
}
|
||||
|
||||
public String getStageRoundName() {
|
||||
return stageRoundName;
|
||||
}
|
||||
|
||||
public void setStageRoundName(String stageRoundName) {
|
||||
this.stageRoundName = stageRoundName;
|
||||
}
|
||||
|
||||
public String getPhase() {
|
||||
return phase;
|
||||
}
|
||||
|
||||
public void setPhase(String phase) {
|
||||
this.phase = phase;
|
||||
}
|
||||
|
||||
public String getRound() {
|
||||
return round;
|
||||
}
|
||||
|
||||
public void setRound(String round) {
|
||||
this.round = round;
|
||||
}
|
||||
|
||||
public String getProjectId() {
|
||||
return projectId;
|
||||
}
|
||||
|
||||
public void setProjectId(String projectId) {
|
||||
this.projectId = projectId;
|
||||
}
|
||||
|
||||
public String getProjectCode() {
|
||||
return projectCode;
|
||||
}
|
||||
|
||||
public void setProjectCode(String projectCode) {
|
||||
this.projectCode = projectCode;
|
||||
}
|
||||
|
||||
public String getProjectName() {
|
||||
return projectName;
|
||||
}
|
||||
|
||||
public void setProjectName(String projectName) {
|
||||
this.projectName = projectName;
|
||||
}
|
||||
|
||||
public String getMiddleProjectName() {
|
||||
return middleProjectName;
|
||||
}
|
||||
|
||||
public void setMiddleProjectName(String middleProjectName) {
|
||||
this.middleProjectName = middleProjectName;
|
||||
}
|
||||
|
||||
public String getSmallProjectId() {
|
||||
return smallProjectId;
|
||||
}
|
||||
|
||||
public void setSmallProjectId(String smallProjectId) {
|
||||
this.smallProjectId = smallProjectId;
|
||||
}
|
||||
|
||||
public String getSmallProjectCode() {
|
||||
return smallProjectCode;
|
||||
}
|
||||
|
||||
public void setSmallProjectCode(String smallProjectCode) {
|
||||
this.smallProjectCode = smallProjectCode;
|
||||
}
|
||||
|
||||
public String getSmallProjectName() {
|
||||
return smallProjectName;
|
||||
}
|
||||
|
||||
public void setSmallProjectName(String smallProjectName) {
|
||||
this.smallProjectName = smallProjectName;
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(String startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public String getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(String endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public int getBeforeTime() {
|
||||
return beforeTime;
|
||||
}
|
||||
|
||||
public void setBeforeTime(int beforeTime) {
|
||||
this.beforeTime = beforeTime;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Object getOnlineStatus() {
|
||||
return onlineStatus;
|
||||
}
|
||||
|
||||
public void setOnlineStatus(Object onlineStatus) {
|
||||
this.onlineStatus = onlineStatus;
|
||||
}
|
||||
|
||||
public int getMatchStatus() {
|
||||
return matchStatus;
|
||||
}
|
||||
|
||||
public void setMatchStatus(int matchStatus) {
|
||||
this.matchStatus = matchStatus;
|
||||
}
|
||||
|
||||
public int getIsFree() {
|
||||
return isFree;
|
||||
}
|
||||
|
||||
public void setIsFree(int isFree) {
|
||||
this.isFree = isFree;
|
||||
}
|
||||
|
||||
public String getParentFlag() {
|
||||
return parentFlag;
|
||||
}
|
||||
|
||||
public void setParentFlag(String parentFlag) {
|
||||
this.parentFlag = parentFlag;
|
||||
}
|
||||
|
||||
public String getChinaFlag() {
|
||||
return chinaFlag;
|
||||
}
|
||||
|
||||
public void setChinaFlag(String chinaFlag) {
|
||||
this.chinaFlag = chinaFlag;
|
||||
}
|
||||
|
||||
public String getGoldFlag() {
|
||||
return goldFlag;
|
||||
}
|
||||
|
||||
public void setGoldFlag(String goldFlag) {
|
||||
this.goldFlag = goldFlag;
|
||||
}
|
||||
|
||||
public String getMgjsCode() {
|
||||
return mgjsCode;
|
||||
}
|
||||
|
||||
public void setMgjsCode(String mgjsCode) {
|
||||
this.mgjsCode = mgjsCode;
|
||||
}
|
||||
|
||||
public String getLiveCharge() {
|
||||
return liveCharge;
|
||||
}
|
||||
|
||||
public void setLiveCharge(String liveCharge) {
|
||||
this.liveCharge = liveCharge;
|
||||
}
|
||||
|
||||
public String getLiveBackCharge() {
|
||||
return liveBackCharge;
|
||||
}
|
||||
|
||||
public void setLiveBackCharge(String liveBackCharge) {
|
||||
this.liveBackCharge = liveBackCharge;
|
||||
}
|
||||
|
||||
public String getCornerUrl() {
|
||||
return cornerUrl;
|
||||
}
|
||||
|
||||
public void setCornerUrl(String cornerUrl) {
|
||||
this.cornerUrl = cornerUrl;
|
||||
}
|
||||
|
||||
public String getGoldMedalUrl() {
|
||||
return goldMedalUrl;
|
||||
}
|
||||
|
||||
public void setGoldMedalUrl(String goldMedalUrl) {
|
||||
this.goldMedalUrl = goldMedalUrl;
|
||||
}
|
||||
|
||||
public String getNationUrl() {
|
||||
return nationUrl;
|
||||
}
|
||||
|
||||
public void setNationUrl(String nationUrl) {
|
||||
this.nationUrl = nationUrl;
|
||||
}
|
||||
|
||||
public String getChannelName() {
|
||||
return channelName;
|
||||
}
|
||||
|
||||
public void setChannelName(String channelName) {
|
||||
this.channelName = channelName;
|
||||
}
|
||||
|
||||
public int getScoreStatus() {
|
||||
return scoreStatus;
|
||||
}
|
||||
|
||||
public void setScoreStatus(int scoreStatus) {
|
||||
this.scoreStatus = scoreStatus;
|
||||
}
|
||||
|
||||
public String getGroupName() {
|
||||
return groupName;
|
||||
}
|
||||
|
||||
public void setGroupName(String groupName) {
|
||||
this.groupName = groupName;
|
||||
}
|
||||
|
||||
public Object getSequence() {
|
||||
return sequence;
|
||||
}
|
||||
|
||||
public void setSequence(Object sequence) {
|
||||
this.sequence = sequence;
|
||||
}
|
||||
|
||||
public Object getIsRecommendSequence() {
|
||||
return isRecommendSequence;
|
||||
}
|
||||
|
||||
public void setIsRecommendSequence(Object isRecommendSequence) {
|
||||
this.isRecommendSequence = isRecommendSequence;
|
||||
}
|
||||
|
||||
public int getMatchStatusSort() {
|
||||
return matchStatusSort;
|
||||
}
|
||||
|
||||
public void setMatchStatusSort(int matchStatusSort) {
|
||||
this.matchStatusSort = matchStatusSort;
|
||||
}
|
||||
|
||||
public int getTimeSort() {
|
||||
return timeSort;
|
||||
}
|
||||
|
||||
public void setTimeSort(int timeSort) {
|
||||
this.timeSort = timeSort;
|
||||
}
|
||||
|
||||
public int getHomeTeamId() {
|
||||
return homeTeamId;
|
||||
}
|
||||
|
||||
public void setHomeTeamId(int homeTeamId) {
|
||||
this.homeTeamId = homeTeamId;
|
||||
}
|
||||
|
||||
public String getHomeTeamCode() {
|
||||
return homeTeamCode;
|
||||
}
|
||||
|
||||
public void setHomeTeamCode(String homeTeamCode) {
|
||||
this.homeTeamCode = homeTeamCode;
|
||||
}
|
||||
|
||||
public String getHomeTeamName() {
|
||||
return homeTeamName;
|
||||
}
|
||||
|
||||
public void setHomeTeamName(String homeTeamName) {
|
||||
this.homeTeamName = homeTeamName;
|
||||
}
|
||||
|
||||
public String getHomeScore() {
|
||||
return homeScore;
|
||||
}
|
||||
|
||||
public void setHomeScore(String homeScore) {
|
||||
this.homeScore = homeScore;
|
||||
}
|
||||
|
||||
public String getHomeTeamLogo() {
|
||||
return homeTeamLogo;
|
||||
}
|
||||
|
||||
public void setHomeTeamLogo(String homeTeamLogo) {
|
||||
this.homeTeamLogo = homeTeamLogo;
|
||||
}
|
||||
|
||||
public int getVisitingTeamId() {
|
||||
return visitingTeamId;
|
||||
}
|
||||
|
||||
public void setVisitingTeamId(int visitingTeamId) {
|
||||
this.visitingTeamId = visitingTeamId;
|
||||
}
|
||||
|
||||
public String getVisitingTeamCode() {
|
||||
return visitingTeamCode;
|
||||
}
|
||||
|
||||
public void setVisitingTeamCode(String visitingTeamCode) {
|
||||
this.visitingTeamCode = visitingTeamCode;
|
||||
}
|
||||
|
||||
public String getVisitingTeamName() {
|
||||
return visitingTeamName;
|
||||
}
|
||||
|
||||
public void setVisitingTeamName(String visitingTeamName) {
|
||||
this.visitingTeamName = visitingTeamName;
|
||||
}
|
||||
|
||||
public String getVisitingScore() {
|
||||
return visitingScore;
|
||||
}
|
||||
|
||||
public void setVisitingScore(String visitingScore) {
|
||||
this.visitingScore = visitingScore;
|
||||
}
|
||||
|
||||
public String getVisitingTeamLogo() {
|
||||
return visitingTeamLogo;
|
||||
}
|
||||
|
||||
public void setVisitingTeamLogo(String visitingTeamLogo) {
|
||||
this.visitingTeamLogo = visitingTeamLogo;
|
||||
}
|
||||
}
|
||||
}
|
||||
373
libdata/src/main/java/com/migu/bean/GetServiceListBean.java
Executable file
373
libdata/src/main/java/com/migu/bean/GetServiceListBean.java
Executable file
@@ -0,0 +1,373 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetServiceListBean {
|
||||
|
||||
private Object clientIp;
|
||||
private Object errorCode;
|
||||
private int pageindex;
|
||||
private int pagesize;
|
||||
private int pagetotal;
|
||||
private List<ResultBean> result;
|
||||
private String resultcode;
|
||||
private String resultdesc;
|
||||
private int sizetotal;
|
||||
|
||||
public Object getClientIp() {
|
||||
return clientIp;
|
||||
}
|
||||
|
||||
public void setClientIp(Object clientIp) {
|
||||
this.clientIp = clientIp;
|
||||
}
|
||||
|
||||
public Object getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(Object errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public int getPageindex() {
|
||||
return pageindex;
|
||||
}
|
||||
|
||||
public void setPageindex(int pageindex) {
|
||||
this.pageindex = pageindex;
|
||||
}
|
||||
|
||||
public int getPagesize() {
|
||||
return pagesize;
|
||||
}
|
||||
|
||||
public void setPagesize(int pagesize) {
|
||||
this.pagesize = pagesize;
|
||||
}
|
||||
|
||||
public int getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public void setPagetotal(int pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public List<ResultBean> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultBean> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public int getSizetotal() {
|
||||
return sizetotal;
|
||||
}
|
||||
|
||||
public void setSizetotal(int sizetotal) {
|
||||
this.sizetotal = sizetotal;
|
||||
}
|
||||
|
||||
public static class ResultBean {
|
||||
private String billingcode;
|
||||
private List<ChargingsBean> chargings;
|
||||
private String code;
|
||||
private String createtime;
|
||||
private String createtimeString;
|
||||
private String cspid;
|
||||
private String description;
|
||||
private int id;
|
||||
private int isplan;
|
||||
private String name;
|
||||
private String outerproductcode;
|
||||
private int spid;
|
||||
private String spname;
|
||||
private int status;
|
||||
private int packageType;
|
||||
private String validend;
|
||||
private String validendString;
|
||||
private String validstart;
|
||||
private String validstartString;
|
||||
|
||||
public String getBillingcode() {
|
||||
return billingcode;
|
||||
}
|
||||
|
||||
public void setBillingcode(String billingcode) {
|
||||
this.billingcode = billingcode;
|
||||
}
|
||||
|
||||
public List<ChargingsBean> getChargings() {
|
||||
return chargings;
|
||||
}
|
||||
|
||||
public void setChargings(List<ChargingsBean> chargings) {
|
||||
this.chargings = chargings;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(String createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public String getCreatetimeString() {
|
||||
return createtimeString;
|
||||
}
|
||||
|
||||
public void setCreatetimeString(String createtimeString) {
|
||||
this.createtimeString = createtimeString;
|
||||
}
|
||||
|
||||
public String getCspid() {
|
||||
return cspid;
|
||||
}
|
||||
|
||||
public void setCspid(String cspid) {
|
||||
this.cspid = cspid;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getIsplan() {
|
||||
return isplan;
|
||||
}
|
||||
|
||||
public void setIsplan(int isplan) {
|
||||
this.isplan = isplan;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getOuterproductcode() {
|
||||
return outerproductcode;
|
||||
}
|
||||
|
||||
public void setOuterproductcode(String outerproductcode) {
|
||||
this.outerproductcode = outerproductcode;
|
||||
}
|
||||
|
||||
public int getSpid() {
|
||||
return spid;
|
||||
}
|
||||
|
||||
public void setSpid(int spid) {
|
||||
this.spid = spid;
|
||||
}
|
||||
|
||||
public String getSpname() {
|
||||
return spname;
|
||||
}
|
||||
|
||||
public void setSpname(String spname) {
|
||||
this.spname = spname;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getPackageType() {
|
||||
return packageType;
|
||||
}
|
||||
|
||||
public void setPackageType(int packageType) {
|
||||
this.packageType = packageType;
|
||||
}
|
||||
|
||||
public String getValidend() {
|
||||
return validend;
|
||||
}
|
||||
|
||||
public void setValidend(String validend) {
|
||||
this.validend = validend;
|
||||
}
|
||||
|
||||
public String getValidendString() {
|
||||
return validendString;
|
||||
}
|
||||
|
||||
public void setValidendString(String validendString) {
|
||||
this.validendString = validendString;
|
||||
}
|
||||
|
||||
public String getValidstart() {
|
||||
return validstart;
|
||||
}
|
||||
|
||||
public void setValidstart(String validstart) {
|
||||
this.validstart = validstart;
|
||||
}
|
||||
|
||||
public String getValidstartString() {
|
||||
return validstartString;
|
||||
}
|
||||
|
||||
public void setValidstartString(String validstartString) {
|
||||
this.validstartString = validstartString;
|
||||
}
|
||||
|
||||
public static class ChargingsBean {
|
||||
private String code;
|
||||
private String createtime;
|
||||
private String createtimeString;
|
||||
private String description;
|
||||
private int duration;
|
||||
private int id;
|
||||
private String name;
|
||||
private String price;
|
||||
private int serviceid;
|
||||
private int type;
|
||||
private String updatetime;
|
||||
private String updatetimeString;
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(String createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public String getCreatetimeString() {
|
||||
return createtimeString;
|
||||
}
|
||||
|
||||
public void setCreatetimeString(String createtimeString) {
|
||||
this.createtimeString = createtimeString;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(int duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(String price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public int getServiceid() {
|
||||
return serviceid;
|
||||
}
|
||||
|
||||
public void setServiceid(int serviceid) {
|
||||
this.serviceid = serviceid;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getUpdatetime() {
|
||||
return updatetime;
|
||||
}
|
||||
|
||||
public void setUpdatetime(String updatetime) {
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
public String getUpdatetimeString() {
|
||||
return updatetimeString;
|
||||
}
|
||||
|
||||
public void setUpdatetimeString(String updatetimeString) {
|
||||
this.updatetimeString = updatetimeString;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
260
libdata/src/main/java/com/migu/bean/GetShortVideoBean.java
Executable file
260
libdata/src/main/java/com/migu/bean/GetShortVideoBean.java
Executable file
@@ -0,0 +1,260 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetShortVideoBean {
|
||||
|
||||
private Object buttonMsg;
|
||||
private int buttonStatus;
|
||||
private Object buttonUrl;
|
||||
private Object clientIp;
|
||||
private Object errorCode;
|
||||
private String nowtime;
|
||||
private int pageindex;
|
||||
private int pagesize;
|
||||
private int pagetotal;
|
||||
private List<ResultDTO> result;
|
||||
private String resultcode;
|
||||
private String resultdesc;
|
||||
private int sizetotal;
|
||||
|
||||
public Object getButtonMsg() {
|
||||
return buttonMsg;
|
||||
}
|
||||
|
||||
public void setButtonMsg(Object buttonMsg) {
|
||||
this.buttonMsg = buttonMsg;
|
||||
}
|
||||
|
||||
public int getButtonStatus() {
|
||||
return buttonStatus;
|
||||
}
|
||||
|
||||
public void setButtonStatus(int buttonStatus) {
|
||||
this.buttonStatus = buttonStatus;
|
||||
}
|
||||
|
||||
public Object getButtonUrl() {
|
||||
return buttonUrl;
|
||||
}
|
||||
|
||||
public void setButtonUrl(Object buttonUrl) {
|
||||
this.buttonUrl = buttonUrl;
|
||||
}
|
||||
|
||||
public Object getClientIp() {
|
||||
return clientIp;
|
||||
}
|
||||
|
||||
public void setClientIp(Object clientIp) {
|
||||
this.clientIp = clientIp;
|
||||
}
|
||||
|
||||
public Object getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(Object errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public String getNowtime() {
|
||||
return nowtime;
|
||||
}
|
||||
|
||||
public void setNowtime(String nowtime) {
|
||||
this.nowtime = nowtime;
|
||||
}
|
||||
|
||||
public int getPageindex() {
|
||||
return pageindex;
|
||||
}
|
||||
|
||||
public void setPageindex(int pageindex) {
|
||||
this.pageindex = pageindex;
|
||||
}
|
||||
|
||||
public int getPagesize() {
|
||||
return pagesize;
|
||||
}
|
||||
|
||||
public void setPagesize(int pagesize) {
|
||||
this.pagesize = pagesize;
|
||||
}
|
||||
|
||||
public int getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public void setPagetotal(int pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public List<ResultDTO> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultDTO> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public int getSizetotal() {
|
||||
return sizetotal;
|
||||
}
|
||||
|
||||
public void setSizetotal(int sizetotal) {
|
||||
this.sizetotal = sizetotal;
|
||||
}
|
||||
|
||||
public static class ResultDTO {
|
||||
/**
|
||||
* 短视频节目编码
|
||||
* */
|
||||
private String contentCode;
|
||||
/**
|
||||
* 短视频节目名称
|
||||
* */
|
||||
private String contentName;
|
||||
/**
|
||||
* 短视频节目类型 1 电影 3 电视剧
|
||||
* */
|
||||
private int contentType;
|
||||
/**
|
||||
* 看点描述
|
||||
* */
|
||||
private String description;
|
||||
/**
|
||||
* 详情页节目编码
|
||||
* */
|
||||
private String detailContentCode;
|
||||
/**
|
||||
* 详情页节目名称
|
||||
* */
|
||||
private String detailContentName;
|
||||
/**
|
||||
* 详情页节目类型 1 电影 3 电视剧
|
||||
* */
|
||||
private int detailContentType;
|
||||
/**
|
||||
* 海报
|
||||
* */
|
||||
private String imageUrl;
|
||||
|
||||
/**
|
||||
* 包名
|
||||
* */
|
||||
private String packageName;
|
||||
/**
|
||||
* 类名
|
||||
* */
|
||||
private String className;
|
||||
/**
|
||||
* 跳转参数
|
||||
* */
|
||||
private String param;
|
||||
|
||||
public String getContentCode() {
|
||||
return contentCode;
|
||||
}
|
||||
|
||||
public void setContentCode(String contentCode) {
|
||||
this.contentCode = contentCode;
|
||||
}
|
||||
|
||||
public String getContentName() {
|
||||
return contentName;
|
||||
}
|
||||
|
||||
public void setContentName(String contentName) {
|
||||
this.contentName = contentName;
|
||||
}
|
||||
|
||||
public int getContentType() {
|
||||
return contentType;
|
||||
}
|
||||
|
||||
public void setContentType(int contentType) {
|
||||
this.contentType = contentType;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDetailContentCode() {
|
||||
return detailContentCode;
|
||||
}
|
||||
|
||||
public void setDetailContentCode(String detailContentCode) {
|
||||
this.detailContentCode = detailContentCode;
|
||||
}
|
||||
|
||||
public String getDetailContentName() {
|
||||
return detailContentName;
|
||||
}
|
||||
|
||||
public void setDetailContentName(String detailContentName) {
|
||||
this.detailContentName = detailContentName;
|
||||
}
|
||||
|
||||
public int getDetailContentType() {
|
||||
return detailContentType;
|
||||
}
|
||||
|
||||
public void setDetailContentType(int detailContentType) {
|
||||
this.detailContentType = detailContentType;
|
||||
}
|
||||
|
||||
public String getImageUrl() {
|
||||
return imageUrl;
|
||||
}
|
||||
|
||||
public void setImageUrl(String imageUrl) {
|
||||
this.imageUrl = imageUrl;
|
||||
}
|
||||
|
||||
public String getPackageName() {
|
||||
return packageName;
|
||||
}
|
||||
|
||||
public void setPackageName(String packageName) {
|
||||
this.packageName = packageName;
|
||||
}
|
||||
|
||||
public String getClassName() {
|
||||
return className;
|
||||
}
|
||||
|
||||
public void setClassName(String className) {
|
||||
this.className = className;
|
||||
}
|
||||
|
||||
public String getParam() {
|
||||
return param;
|
||||
}
|
||||
|
||||
public void setParam(String param) {
|
||||
this.param = param;
|
||||
}
|
||||
}
|
||||
}
|
||||
196
libdata/src/main/java/com/migu/bean/GetTopButtonBean.java
Executable file
196
libdata/src/main/java/com/migu/bean/GetTopButtonBean.java
Executable file
@@ -0,0 +1,196 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetTopButtonBean {
|
||||
|
||||
/**
|
||||
* data : [{"id":"","code":"","name":"","type":0,"loggparam":"7001676011385704","navname":"新tab2","showType":0,"sort":0,"type":1},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001676011331492","navname":"新tab1","showType":0,"sort":0,"type":1},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001676011394569","navname":"新tab3","showType":0,"sort":0,"type":1},{"isFocus":"1","navAimage":"","navBimage":"","navFimage":"","navid":"7001648533014326","navname":"我的","showType":0,"sort":1,"type":2},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001648533111408","navname":"体育","showType":0,"sort":2,"type":1},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001648533037067","navname":"精选","showType":0,"sort":3,"type":1},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001650791509279","navname":"综艺","showType":0,"sort":4,"type":1},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001648533079329","navname":"电影","showType":0,"sort":5,"type":1},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001648571448052","navname":"纪实","showType":0,"sort":6,"type":1},{"isFocus":"0","navAimage":"http://zqyypic.itv.cmvideo.cn:8080/zqyy/ustorage/tongyiPic1/manage/796e7130119db1c1be5ce0d788c46e06.png","navBimage":"http://zqyypic.itv.cmvideo.cn:8080/zqyy/ustorage/tongyiPic1/manage/1dcbcfc93bdbb3570ff49a75e35e5b1e.png","navFimage":"http://zqyypic.itv.cmvideo.cn:8080/zqyy/ustorage/tongyiPic1/manage/10c1a9b0b05af08496d108aa5ada945a.png","navid":"7001662531410585","navname":"沙扎比","showType":1,"sort":26,"type":1},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001648570025904","navname":"4K","showType":0,"sort":28,"type":3},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001648570014325","navname":"VR","showType":0,"sort":29,"type":4},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001657521370834","navname":"UI测试楼层","showType":0,"sort":30,"type":1},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001648533093709","navname":"少儿知识","showType":0,"sort":31,"type":1},{"isFocus":"0","navAimage":"","navBimage":"","navFimage":"","navid":"7001648533070978","navname":"电视剧","showType":0,"sort":32,"type":1}]
|
||||
* message : success
|
||||
* nowtime : 2023-03-13 16:25:15
|
||||
* resultcode : 0
|
||||
* timestamp : 20230313162515
|
||||
*/
|
||||
|
||||
private String message;
|
||||
private String nowtime;
|
||||
private String resultcode;
|
||||
private String timestamp;
|
||||
private List<DataBean> data;
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getNowtime() {
|
||||
return nowtime;
|
||||
}
|
||||
|
||||
public void setNowtime(String nowtime) {
|
||||
this.nowtime = nowtime;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(String timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public List<DataBean> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataBean> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataBean {
|
||||
/**
|
||||
* id : 主键id
|
||||
* code : 标识
|
||||
* name : 按钮名
|
||||
* type : 类型 logo:1 跑马灯:2 按钮:搜索3 历史4 订购5 帮助6 客服7
|
||||
* loggparam : 参数
|
||||
* message : 描述(跑马灯内容)
|
||||
* sequence : 顺序
|
||||
* back_url : 背景图片(logo地址和按钮图标)
|
||||
* area_id : 地区id
|
||||
* area_code : 渠道号
|
||||
* area_name : 地区名
|
||||
* param ; 链接(按钮跳转连接,需epg添加地址前缀)
|
||||
* focus_picurl表示落焦图片
|
||||
*/
|
||||
|
||||
private String id;
|
||||
private String code;
|
||||
private String name;
|
||||
private String loggparam;
|
||||
private String sequence;
|
||||
private String back_url;
|
||||
private String area_id;
|
||||
private String area_code;
|
||||
private String area_name;
|
||||
private String param;
|
||||
private int type;
|
||||
private String message;
|
||||
private String focus_picurl;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getLoggparam() {
|
||||
return loggparam;
|
||||
}
|
||||
|
||||
public void setLoggparam(String loggparam) {
|
||||
this.loggparam = loggparam;
|
||||
}
|
||||
|
||||
public String getSequence() {
|
||||
return sequence;
|
||||
}
|
||||
|
||||
public void setSequence(String sequence) {
|
||||
this.sequence = sequence;
|
||||
}
|
||||
|
||||
public String getBack_url() {
|
||||
return back_url;
|
||||
}
|
||||
|
||||
public void setBack_url(String back_url) {
|
||||
this.back_url = back_url;
|
||||
}
|
||||
|
||||
public String getFocus_picurl() {
|
||||
return focus_picurl;
|
||||
}
|
||||
|
||||
public void setFocus_picurl(String focus_picurl) {
|
||||
this.focus_picurl = focus_picurl;
|
||||
}
|
||||
|
||||
public String getArea_id() {
|
||||
return area_id;
|
||||
}
|
||||
|
||||
public void setArea_id(String area_id) {
|
||||
this.area_id = area_id;
|
||||
}
|
||||
|
||||
public String getArea_code() {
|
||||
return area_code;
|
||||
}
|
||||
|
||||
public void setArea_code(String area_code) {
|
||||
this.area_code = area_code;
|
||||
}
|
||||
|
||||
public String getArea_name() {
|
||||
return area_name;
|
||||
}
|
||||
|
||||
public void setArea_name(String area_name) {
|
||||
this.area_name = area_name;
|
||||
}
|
||||
|
||||
public String getParam() {
|
||||
return param;
|
||||
}
|
||||
|
||||
public void setParam(String param) {
|
||||
this.param = param;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
}
|
||||
740
libdata/src/main/java/com/migu/bean/GetcontentlistBean.java
Executable file
740
libdata/src/main/java/com/migu/bean/GetcontentlistBean.java
Executable file
@@ -0,0 +1,740 @@
|
||||
package com.migu.bean;
|
||||
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetcontentlistBean {
|
||||
|
||||
private List<GetcontentlistBean.ResultEntity> result;
|
||||
private List<GetGameSeasonInfoRecommendBean.ResultEntity> resultMatch;
|
||||
private int pagetotal;
|
||||
private int sizetotal;
|
||||
private String clientIp;
|
||||
private int pagesize;
|
||||
private String errorCode;
|
||||
private String nowtime;
|
||||
private int pageindex;
|
||||
private String resultcode;
|
||||
private String resultdesc;
|
||||
|
||||
public static class ResultEntity{
|
||||
private boolean isDelete;
|
||||
private String actordisplay;
|
||||
|
||||
private String actordisplayen;
|
||||
|
||||
private String catalogid;
|
||||
|
||||
private String catalogname;
|
||||
private int categoryid;
|
||||
|
||||
private String categoryname;
|
||||
|
||||
private String categorynameen;
|
||||
|
||||
private String code;
|
||||
private int contentcountryid;
|
||||
|
||||
private String contentkindid;
|
||||
|
||||
private String contentkindname;
|
||||
|
||||
private String contentkindnameen;
|
||||
private int contenttype;
|
||||
private int contentyearid;
|
||||
|
||||
private String cpname;
|
||||
|
||||
private String createtime;
|
||||
|
||||
private String createtimeString;
|
||||
|
||||
private String description;
|
||||
|
||||
private String descriptionen;
|
||||
|
||||
private String drmVendors;
|
||||
|
||||
private Object duration;
|
||||
private int episodecount;
|
||||
|
||||
private Object episodeindex;
|
||||
|
||||
private String ft;
|
||||
|
||||
private Object hitcount;
|
||||
private int id;
|
||||
|
||||
private String isDrm;
|
||||
|
||||
private String isThirdPart;
|
||||
private int isppv;
|
||||
|
||||
private String language;
|
||||
|
||||
private String languageen;
|
||||
|
||||
private String midimg;
|
||||
|
||||
private String midimg2;
|
||||
|
||||
private String midimg3;
|
||||
|
||||
private String miguzq;
|
||||
|
||||
private String miguzqzx;
|
||||
|
||||
private String mvid;
|
||||
|
||||
private String name;
|
||||
|
||||
private String nameen;
|
||||
|
||||
private String originalcountry;
|
||||
|
||||
private String originalcountryen;
|
||||
|
||||
private String playUrl;
|
||||
|
||||
private String posterimg;
|
||||
|
||||
private String posterimg2;
|
||||
|
||||
private String posterimg3;
|
||||
|
||||
private Object ppvduration;
|
||||
|
||||
private String ppvprice;
|
||||
|
||||
private String producer;
|
||||
|
||||
private Object recommendcount;
|
||||
|
||||
private String releaseyear;
|
||||
|
||||
private String releaseyearen;
|
||||
|
||||
private String score;
|
||||
|
||||
private Object sequence;
|
||||
private int spid;
|
||||
|
||||
private Object subcontents;
|
||||
|
||||
private String thumbimg;
|
||||
|
||||
private String thumbimg2;
|
||||
|
||||
private String thumbimg3;
|
||||
|
||||
private String updatetime;
|
||||
|
||||
private String updatetimeString;
|
||||
|
||||
private String writerdisplay;
|
||||
|
||||
private String writerdisplayen;
|
||||
|
||||
private String cornerUrl;
|
||||
|
||||
public String getCornerUrl() {
|
||||
return cornerUrl;
|
||||
}
|
||||
|
||||
public void setCornerIconUrl(String cornerUrl) {
|
||||
this.cornerUrl = cornerUrl;
|
||||
}
|
||||
|
||||
private boolean nodata = false;
|
||||
|
||||
public ResultEntity() {
|
||||
}
|
||||
|
||||
public boolean isDelete() {
|
||||
return isDelete;
|
||||
}
|
||||
|
||||
public void setDelete(boolean delete) {
|
||||
isDelete = delete;
|
||||
}
|
||||
|
||||
public ResultEntity(Boolean bl){
|
||||
this.nodata = bl;
|
||||
}
|
||||
|
||||
public boolean getNoData(){
|
||||
return this.nodata;
|
||||
}
|
||||
public String getActordisplay() {
|
||||
return actordisplay;
|
||||
}
|
||||
|
||||
public void setActordisplay(String actordisplay) {
|
||||
this.actordisplay = actordisplay;
|
||||
}
|
||||
|
||||
public String getActordisplayen() {
|
||||
return actordisplayen;
|
||||
}
|
||||
|
||||
public void setActordisplayen(String actordisplayen) {
|
||||
this.actordisplayen = actordisplayen;
|
||||
}
|
||||
|
||||
public String getCatalogid() {
|
||||
return catalogid;
|
||||
}
|
||||
|
||||
public void setCatalogid(String catalogid) {
|
||||
this.catalogid = catalogid;
|
||||
}
|
||||
|
||||
public String getCatalogname() {
|
||||
return catalogname;
|
||||
}
|
||||
|
||||
public void setCatalogname(String catalogname) {
|
||||
this.catalogname = catalogname;
|
||||
}
|
||||
|
||||
public int getCategoryid() {
|
||||
return categoryid;
|
||||
}
|
||||
|
||||
public void setCategoryid(int categoryid) {
|
||||
this.categoryid = categoryid;
|
||||
}
|
||||
|
||||
public String getCategoryname() {
|
||||
return categoryname;
|
||||
}
|
||||
|
||||
public void setCategoryname(String categoryname) {
|
||||
this.categoryname = categoryname;
|
||||
}
|
||||
|
||||
public String getCategorynameen() {
|
||||
return categorynameen;
|
||||
}
|
||||
|
||||
public void setCategorynameen(String categorynameen) {
|
||||
this.categorynameen = categorynameen;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public int getContentcountryid() {
|
||||
return contentcountryid;
|
||||
}
|
||||
|
||||
public void setContentcountryid(int contentcountryid) {
|
||||
this.contentcountryid = contentcountryid;
|
||||
}
|
||||
|
||||
public String getContentkindid() {
|
||||
return contentkindid;
|
||||
}
|
||||
|
||||
public void setContentkindid(String contentkindid) {
|
||||
this.contentkindid = contentkindid;
|
||||
}
|
||||
|
||||
public String getContentkindname() {
|
||||
return contentkindname;
|
||||
}
|
||||
|
||||
public void setContentkindname(String contentkindname) {
|
||||
this.contentkindname = contentkindname;
|
||||
}
|
||||
|
||||
public String getContentkindnameen() {
|
||||
return contentkindnameen;
|
||||
}
|
||||
|
||||
public void setContentkindnameen(String contentkindnameen) {
|
||||
this.contentkindnameen = contentkindnameen;
|
||||
}
|
||||
|
||||
public int getContenttype() {
|
||||
return contenttype;
|
||||
}
|
||||
|
||||
public void setContenttype(int contenttype) {
|
||||
this.contenttype = contenttype;
|
||||
}
|
||||
|
||||
public int getContentyearid() {
|
||||
return contentyearid;
|
||||
}
|
||||
|
||||
public void setContentyearid(int contentyearid) {
|
||||
this.contentyearid = contentyearid;
|
||||
}
|
||||
|
||||
public String getCpname() {
|
||||
return cpname;
|
||||
}
|
||||
|
||||
public void setCpname(String cpname) {
|
||||
this.cpname = cpname;
|
||||
}
|
||||
|
||||
public String getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(String createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public String getCreatetimeString() {
|
||||
return createtimeString;
|
||||
}
|
||||
|
||||
public void setCreatetimeString(String createtimeString) {
|
||||
this.createtimeString = createtimeString;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getDescriptionen() {
|
||||
return descriptionen;
|
||||
}
|
||||
|
||||
public void setDescriptionen(String descriptionen) {
|
||||
this.descriptionen = descriptionen;
|
||||
}
|
||||
|
||||
public String getDrmVendors() {
|
||||
return drmVendors;
|
||||
}
|
||||
|
||||
public void setDrmVendors(String drmVendors) {
|
||||
this.drmVendors = drmVendors;
|
||||
}
|
||||
|
||||
public Object getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(Object duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public int getEpisodecount() {
|
||||
return episodecount;
|
||||
}
|
||||
|
||||
public void setEpisodecount(int episodecount) {
|
||||
this.episodecount = episodecount;
|
||||
}
|
||||
|
||||
public Object getEpisodeindex() {
|
||||
return episodeindex;
|
||||
}
|
||||
|
||||
public void setEpisodeindex(Object episodeindex) {
|
||||
this.episodeindex = episodeindex;
|
||||
}
|
||||
|
||||
public String getFt() {
|
||||
return ft;
|
||||
}
|
||||
|
||||
public void setFt(String ft) {
|
||||
this.ft = ft;
|
||||
}
|
||||
|
||||
public Object getHitcount() {
|
||||
return hitcount;
|
||||
}
|
||||
|
||||
public void setHitcount(Object hitcount) {
|
||||
this.hitcount = hitcount;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getIsDrm() {
|
||||
return isDrm;
|
||||
}
|
||||
|
||||
public void setIsDrm(String isDrm) {
|
||||
this.isDrm = isDrm;
|
||||
}
|
||||
|
||||
public String getIsThirdPart() {
|
||||
return isThirdPart;
|
||||
}
|
||||
|
||||
public void setIsThirdPart(String isThirdPart) {
|
||||
this.isThirdPart = isThirdPart;
|
||||
}
|
||||
|
||||
public int getIsppv() {
|
||||
return isppv;
|
||||
}
|
||||
|
||||
public void setIsppv(int isppv) {
|
||||
this.isppv = isppv;
|
||||
}
|
||||
|
||||
public String getLanguage() {
|
||||
return language;
|
||||
}
|
||||
|
||||
public void setLanguage(String language) {
|
||||
this.language = language;
|
||||
}
|
||||
|
||||
public String getLanguageen() {
|
||||
return languageen;
|
||||
}
|
||||
|
||||
public void setLanguageen(String languageen) {
|
||||
this.languageen = languageen;
|
||||
}
|
||||
|
||||
public String getMidimg() {
|
||||
return midimg;
|
||||
}
|
||||
|
||||
public void setMidimg(String midimg) {
|
||||
this.midimg = midimg;
|
||||
}
|
||||
|
||||
public String getMidimg2() {
|
||||
return midimg2;
|
||||
}
|
||||
|
||||
public void setMidimg2(String midimg2) {
|
||||
this.midimg2 = midimg2;
|
||||
}
|
||||
|
||||
public String getMidimg3() {
|
||||
return midimg3;
|
||||
}
|
||||
|
||||
public void setMidimg3(String midimg3) {
|
||||
this.midimg3 = midimg3;
|
||||
}
|
||||
|
||||
public String getMiguzq() {
|
||||
return miguzq;
|
||||
}
|
||||
|
||||
public void setMiguzq(String miguzq) {
|
||||
this.miguzq = miguzq;
|
||||
}
|
||||
|
||||
public String getMiguzqzx() {
|
||||
return miguzqzx;
|
||||
}
|
||||
|
||||
public void setMiguzqzx(String miguzqzx) {
|
||||
this.miguzqzx = miguzqzx;
|
||||
}
|
||||
|
||||
public String getMvid() {
|
||||
return mvid;
|
||||
}
|
||||
|
||||
public void setMvid(String mvid) {
|
||||
this.mvid = mvid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getNameen() {
|
||||
return nameen;
|
||||
}
|
||||
|
||||
public void setNameen(String nameen) {
|
||||
this.nameen = nameen;
|
||||
}
|
||||
|
||||
public String getOriginalcountry() {
|
||||
return originalcountry;
|
||||
}
|
||||
|
||||
public void setOriginalcountry(String originalcountry) {
|
||||
this.originalcountry = originalcountry;
|
||||
}
|
||||
|
||||
public String getOriginalcountryen() {
|
||||
return originalcountryen;
|
||||
}
|
||||
|
||||
public void setOriginalcountryen(String originalcountryen) {
|
||||
this.originalcountryen = originalcountryen;
|
||||
}
|
||||
|
||||
public String getPlayUrl() {
|
||||
return playUrl;
|
||||
}
|
||||
|
||||
public void setPlayUrl(String playUrl) {
|
||||
this.playUrl = playUrl;
|
||||
}
|
||||
|
||||
public String getPosterimg() {
|
||||
return posterimg;
|
||||
}
|
||||
|
||||
public void setPosterimg(String posterimg) {
|
||||
this.posterimg = posterimg;
|
||||
}
|
||||
|
||||
public String getPosterimg2() {
|
||||
return posterimg2;
|
||||
}
|
||||
|
||||
public void setPosterimg2(String posterimg2) {
|
||||
this.posterimg2 = posterimg2;
|
||||
}
|
||||
|
||||
public String getPosterimg3() {
|
||||
return posterimg3;
|
||||
}
|
||||
|
||||
public void setPosterimg3(String posterimg3) {
|
||||
this.posterimg3 = posterimg3;
|
||||
}
|
||||
|
||||
public Object getPpvduration() {
|
||||
return ppvduration;
|
||||
}
|
||||
|
||||
public void setPpvduration(Object ppvduration) {
|
||||
this.ppvduration = ppvduration;
|
||||
}
|
||||
|
||||
public String getPpvprice() {
|
||||
return ppvprice;
|
||||
}
|
||||
|
||||
public void setPpvprice(String ppvprice) {
|
||||
this.ppvprice = ppvprice;
|
||||
}
|
||||
|
||||
public String getProducer() {
|
||||
return producer;
|
||||
}
|
||||
|
||||
public void setProducer(String producer) {
|
||||
this.producer = producer;
|
||||
}
|
||||
|
||||
public Object getRecommendcount() {
|
||||
return recommendcount;
|
||||
}
|
||||
|
||||
public void setRecommendcount(Object recommendcount) {
|
||||
this.recommendcount = recommendcount;
|
||||
}
|
||||
|
||||
public String getReleaseyear() {
|
||||
return releaseyear;
|
||||
}
|
||||
|
||||
public void setReleaseyear(String releaseyear) {
|
||||
this.releaseyear = releaseyear;
|
||||
}
|
||||
|
||||
public String getReleaseyearen() {
|
||||
return releaseyearen;
|
||||
}
|
||||
|
||||
public void setReleaseyearen(String releaseyearen) {
|
||||
this.releaseyearen = releaseyearen;
|
||||
}
|
||||
|
||||
public String getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore(String score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public Object getSequence() {
|
||||
return sequence;
|
||||
}
|
||||
|
||||
public void setSequence(Object sequence) {
|
||||
this.sequence = sequence;
|
||||
}
|
||||
|
||||
public int getSpid() {
|
||||
return spid;
|
||||
}
|
||||
|
||||
public void setSpid(int spid) {
|
||||
this.spid = spid;
|
||||
}
|
||||
|
||||
public Object getSubcontents() {
|
||||
return subcontents;
|
||||
}
|
||||
|
||||
public void setSubcontents(Object subcontents) {
|
||||
this.subcontents = subcontents;
|
||||
}
|
||||
|
||||
public String getThumbimg() {
|
||||
return thumbimg;
|
||||
}
|
||||
|
||||
public void setThumbimg(String thumbimg) {
|
||||
this.thumbimg = thumbimg;
|
||||
}
|
||||
|
||||
public String getThumbimg2() {
|
||||
return thumbimg2;
|
||||
}
|
||||
|
||||
public void setThumbimg2(String thumbimg2) {
|
||||
this.thumbimg2 = thumbimg2;
|
||||
}
|
||||
|
||||
public String getThumbimg3() {
|
||||
return thumbimg3;
|
||||
}
|
||||
|
||||
public void setThumbimg3(String thumbimg3) {
|
||||
this.thumbimg3 = thumbimg3;
|
||||
}
|
||||
|
||||
public String getUpdatetime() {
|
||||
return updatetime;
|
||||
}
|
||||
|
||||
public void setUpdatetime(String updatetime) {
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
public String getUpdatetimeString() {
|
||||
return updatetimeString;
|
||||
}
|
||||
|
||||
public void setUpdatetimeString(String updatetimeString) {
|
||||
this.updatetimeString = updatetimeString;
|
||||
}
|
||||
|
||||
public String getWriterdisplay() {
|
||||
return writerdisplay;
|
||||
}
|
||||
|
||||
public void setWriterdisplay(String writerdisplay) {
|
||||
this.writerdisplay = writerdisplay;
|
||||
}
|
||||
|
||||
public String getWriterdisplayen() {
|
||||
return writerdisplayen;
|
||||
}
|
||||
|
||||
public void setWriterdisplayen(String writerdisplayen) {
|
||||
this.writerdisplayen = writerdisplayen;
|
||||
}
|
||||
}
|
||||
public void setResult(List<GetcontentlistBean.ResultEntity> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public void setPagetotal(int pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public void setSizetotal(int sizetotal) {
|
||||
this.sizetotal = sizetotal;
|
||||
}
|
||||
|
||||
public void setClientIp(String clientIp) {
|
||||
this.clientIp = clientIp;
|
||||
}
|
||||
|
||||
public void setPagesize(int pagesize) {
|
||||
this.pagesize = pagesize;
|
||||
}
|
||||
|
||||
public void setErrorCode(String errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public void setNowtime(String nowtime) {
|
||||
this.nowtime = nowtime;
|
||||
}
|
||||
|
||||
public void setPageindex(int pageindex) {
|
||||
this.pageindex = pageindex;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public List<GetcontentlistBean.ResultEntity> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public int getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public int getSizetotal() {
|
||||
return sizetotal;
|
||||
}
|
||||
|
||||
public String getClientIp() {
|
||||
return clientIp;
|
||||
}
|
||||
|
||||
public int getPagesize() {
|
||||
return pagesize;
|
||||
}
|
||||
|
||||
public String getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public String getNowtime() {
|
||||
return nowtime;
|
||||
}
|
||||
|
||||
public int getPageindex() {
|
||||
return pageindex;
|
||||
}
|
||||
|
||||
public List<GetGameSeasonInfoRecommendBean.ResultEntity> getResultMatch() {
|
||||
return resultMatch;
|
||||
}
|
||||
|
||||
}
|
||||
538
libdata/src/main/java/com/migu/bean/GetlistcollBean.java
Executable file
538
libdata/src/main/java/com/migu/bean/GetlistcollBean.java
Executable file
@@ -0,0 +1,538 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* resultcode 状态1:成功-1:失败
|
||||
* resultdesc 描述
|
||||
* presentcount 当前个数
|
||||
* totalcount 总个数
|
||||
* contentcode 内容code,contentinfocode
|
||||
* actordisplay 演员列表
|
||||
* actordisplayen 演员列表英文
|
||||
* categoryid 一级分类ID
|
||||
* categoryname 一级分类名称
|
||||
* categorynameen 一级分类英文名称
|
||||
* contentcountryid 产地ID
|
||||
* originalcountry 地区(中文)
|
||||
* originalcountryen 地区(英文)
|
||||
* contentkindid 二级分类ID
|
||||
* contentkindname 二级分类名称
|
||||
* contentkindnameen 二级分类英文名称
|
||||
* contenttype 内容类型1:单集.2:剧集(子集)(EpisodeProgram)(可能包含综艺多少期那样的节目)type:3连续剧4:直播频道5:专题6:片花
|
||||
* contentyearid 年份ID
|
||||
* cpname CP名称
|
||||
* duration 影片时长(分钟)
|
||||
* midimg 海报
|
||||
* midimg2 剧照
|
||||
* extendimg 推荐海报
|
||||
* posterimg3 缩略图
|
||||
* icon 图标
|
||||
* contentname 名称
|
||||
* writerdisplay 导演列表
|
||||
* writerdisplayen 导演列表英文
|
||||
* spid spid
|
||||
* spname sp名称
|
||||
* cornername cornername角标
|
||||
* cornerpicurl 角标地址
|
||||
* is4k 是否4K1.是0.不是
|
||||
* isvr 是否VR1.是0.不是
|
||||
*/
|
||||
public class GetlistcollBean {
|
||||
|
||||
|
||||
/**
|
||||
* presentcount : 1
|
||||
* result : [{"actordisplay":"没时间","actordisplayen":"","categoryid":3,"categoryname":null,"categorynameen":"Episode","code":"BEE5B6E7B18D46FB9D7C3E2C4A8B07A2","contentcode":"63c1e73c9b20476cac8c25ae64e9a9b8","contentcountryid":2121,"contentid":14579,"contentkindid":"113","contentkindname":"其他","contentkindnameen":"Other","contentname":"剧头11111111111","contenttype":3,"contentyearid":2121,"cpid":"338","cpname":"gt测试cp","createtime":"2017-05-17T14:18:29","createtimeString":"2017-05-17 14:18:29","duration":null,"extendimg":"http://192.168.14.33/null/338_4ccf126e28ea41d0ab95f7162fff8d91.jpg","icon":"http://192.168.14.33/null/338_13e2bba5902f466db780c1f2cb0aaba6.jpg","id":5,"midimg":"http://192.168.14.33/null/338_12d20438632e42308cb22c07d4498baa.jpg","midimg2":"http://192.168.14.33/null/338_97dbb7f4c0974d1697757d37760c6da5.jpg","originalcountry":"台湾","originalcountryen":"Taiwan","posterimg3":"http://192.168.14.33/null/338_2df966de25884b11aed855b5b1904a31.jpg","stbid":"12121","updatetime":"2017-05-17T14:18:29","updatetimeString":"2017-05-17 14:18:29","usercode":"B06B9DE8693F4D64A3109606E78B86CC","userid":3,"username":"11111","writerdisplay":"没时间","writerdisplayen":"","cornername":"收费","cornerpicurl":"ftp:/......."}]
|
||||
* resultcode : 1
|
||||
* resultdesc : 获取列表成功!
|
||||
* totalcount : 2
|
||||
*/
|
||||
|
||||
private String presentcount;
|
||||
private String resultcode;
|
||||
private String resultdesc;
|
||||
private String totalcount;
|
||||
private List<ResultBean> result;
|
||||
|
||||
public String getPresentcount() {
|
||||
return presentcount;
|
||||
}
|
||||
|
||||
public void setPresentcount(String presentcount) {
|
||||
this.presentcount = presentcount;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public String getTotalcount() {
|
||||
return totalcount;
|
||||
}
|
||||
|
||||
public void setTotalcount(String totalcount) {
|
||||
this.totalcount = totalcount;
|
||||
}
|
||||
|
||||
public List<ResultBean> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultBean> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public static class ResultBean {
|
||||
/**
|
||||
* actordisplay : 没时间
|
||||
* actordisplayen :
|
||||
* categoryid : 3
|
||||
* categoryname : null
|
||||
* categorynameen : Episode
|
||||
* code : BEE5B6E7B18D46FB9D7C3E2C4A8B07A2
|
||||
* contentcode : 63c1e73c9b20476cac8c25ae64e9a9b8
|
||||
* contentcountryid : 2121
|
||||
* contentid : 14579
|
||||
* contentkindid : 113
|
||||
* contentkindname : 其他
|
||||
* contentkindnameen : Other
|
||||
* contentname : 剧头11111111111
|
||||
* contenttype : 3
|
||||
* contentyearid : 2121
|
||||
* cpid : 338
|
||||
* cpname : gt测试cp
|
||||
* createtime : 2017-05-17T14:18:29
|
||||
* createtimeString : 2017-05-17 14:18:29
|
||||
* duration : null
|
||||
* extendimg : http://192.168.14.33/null/338_4ccf126e28ea41d0ab95f7162fff8d91.jpg
|
||||
* icon : http://192.168.14.33/null/338_13e2bba5902f466db780c1f2cb0aaba6.jpg
|
||||
* id : 5
|
||||
* midimg : http://192.168.14.33/null/338_12d20438632e42308cb22c07d4498baa.jpg
|
||||
* midimg2 : http://192.168.14.33/null/338_97dbb7f4c0974d1697757d37760c6da5.jpg
|
||||
* originalcountry : 台湾
|
||||
* originalcountryen : Taiwan
|
||||
* posterimg3 : http://192.168.14.33/null/338_2df966de25884b11aed855b5b1904a31.jpg
|
||||
* stbid : 12121
|
||||
* updatetime : 2017-05-17T14:18:29
|
||||
* updatetimeString : 2017-05-17 14:18:29
|
||||
* usercode : B06B9DE8693F4D64A3109606E78B86CC
|
||||
* userid : 3
|
||||
* username : 11111
|
||||
* writerdisplay : 没时间
|
||||
* writerdisplayen :
|
||||
* cornername : 收费
|
||||
* cornerpicurl : ftp:/.......
|
||||
*/
|
||||
|
||||
private String actordisplay;
|
||||
private String actordisplayen;
|
||||
private int categoryid;
|
||||
private Object categoryname;
|
||||
private String categorynameen;
|
||||
private String code;
|
||||
private String contentcode;
|
||||
private int contentcountryid;
|
||||
private int contentid;
|
||||
private String contentkindid;
|
||||
private String contentkindname;
|
||||
private String contentkindnameen;
|
||||
private String contentname;
|
||||
private int contenttype;
|
||||
private int contentyearid;
|
||||
private String cpid;
|
||||
private String cpname;
|
||||
private String createtime;
|
||||
private String createtimeString;
|
||||
private Object duration;
|
||||
private String extendimg;
|
||||
private String icon;
|
||||
private int id;
|
||||
private String midimg;
|
||||
private String midimg2;
|
||||
private String originalcountry;
|
||||
private String originalcountryen;
|
||||
private String posterimg3;
|
||||
private String stbid;
|
||||
private String updatetime;
|
||||
private String updatetimeString;
|
||||
private String usercode;
|
||||
private int userid;
|
||||
private String username;
|
||||
private String writerdisplay;
|
||||
private String writerdisplayen;
|
||||
private String cornername;
|
||||
private String cornerpicurl;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ResultBean{" +
|
||||
"actordisplay='" + actordisplay + '\'' +
|
||||
", actordisplayen='" + actordisplayen + '\'' +
|
||||
", categoryid=" + categoryid +
|
||||
", categoryname=" + categoryname +
|
||||
", categorynameen='" + categorynameen + '\'' +
|
||||
", code='" + code + '\'' +
|
||||
", contentcode='" + contentcode + '\'' +
|
||||
", contentcountryid=" + contentcountryid +
|
||||
", contentid=" + contentid +
|
||||
", contentkindid='" + contentkindid + '\'' +
|
||||
", contentkindname='" + contentkindname + '\'' +
|
||||
", contentkindnameen='" + contentkindnameen + '\'' +
|
||||
", contentname='" + contentname + '\'' +
|
||||
", contenttype=" + contenttype +
|
||||
", contentyearid=" + contentyearid +
|
||||
", cpid='" + cpid + '\'' +
|
||||
", cpname='" + cpname + '\'' +
|
||||
", createtime='" + createtime + '\'' +
|
||||
", createtimeString='" + createtimeString + '\'' +
|
||||
", duration=" + duration +
|
||||
", extendimg='" + extendimg + '\'' +
|
||||
", icon='" + icon + '\'' +
|
||||
", id=" + id +
|
||||
", midimg='" + midimg + '\'' +
|
||||
", midimg2='" + midimg2 + '\'' +
|
||||
", originalcountry='" + originalcountry + '\'' +
|
||||
", originalcountryen='" + originalcountryen + '\'' +
|
||||
", posterimg3='" + posterimg3 + '\'' +
|
||||
", stbid='" + stbid + '\'' +
|
||||
", updatetime='" + updatetime + '\'' +
|
||||
", updatetimeString='" + updatetimeString + '\'' +
|
||||
", usercode='" + usercode + '\'' +
|
||||
", userid=" + userid +
|
||||
", username='" + username + '\'' +
|
||||
", writerdisplay='" + writerdisplay + '\'' +
|
||||
", writerdisplayen='" + writerdisplayen + '\'' +
|
||||
", cornername='" + cornername + '\'' +
|
||||
", cornerpicurl='" + cornerpicurl + '\'' +
|
||||
'}';
|
||||
}
|
||||
|
||||
public String getActordisplay() {
|
||||
return actordisplay;
|
||||
}
|
||||
|
||||
public void setActordisplay(String actordisplay) {
|
||||
this.actordisplay = actordisplay;
|
||||
}
|
||||
|
||||
public String getActordisplayen() {
|
||||
return actordisplayen;
|
||||
}
|
||||
|
||||
public void setActordisplayen(String actordisplayen) {
|
||||
this.actordisplayen = actordisplayen;
|
||||
}
|
||||
|
||||
public int getCategoryid() {
|
||||
return categoryid;
|
||||
}
|
||||
|
||||
public void setCategoryid(int categoryid) {
|
||||
this.categoryid = categoryid;
|
||||
}
|
||||
|
||||
public Object getCategoryname() {
|
||||
return categoryname;
|
||||
}
|
||||
|
||||
public void setCategoryname(Object categoryname) {
|
||||
this.categoryname = categoryname;
|
||||
}
|
||||
|
||||
public String getCategorynameen() {
|
||||
return categorynameen;
|
||||
}
|
||||
|
||||
public void setCategorynameen(String categorynameen) {
|
||||
this.categorynameen = categorynameen;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getContentcode() {
|
||||
return contentcode;
|
||||
}
|
||||
|
||||
public void setContentcode(String contentcode) {
|
||||
this.contentcode = contentcode;
|
||||
}
|
||||
|
||||
public int getContentcountryid() {
|
||||
return contentcountryid;
|
||||
}
|
||||
|
||||
public void setContentcountryid(int contentcountryid) {
|
||||
this.contentcountryid = contentcountryid;
|
||||
}
|
||||
|
||||
public int getContentid() {
|
||||
return contentid;
|
||||
}
|
||||
|
||||
public void setContentid(int contentid) {
|
||||
this.contentid = contentid;
|
||||
}
|
||||
|
||||
public String getContentkindid() {
|
||||
return contentkindid;
|
||||
}
|
||||
|
||||
public void setContentkindid(String contentkindid) {
|
||||
this.contentkindid = contentkindid;
|
||||
}
|
||||
|
||||
public String getContentkindname() {
|
||||
return contentkindname;
|
||||
}
|
||||
|
||||
public void setContentkindname(String contentkindname) {
|
||||
this.contentkindname = contentkindname;
|
||||
}
|
||||
|
||||
public String getContentkindnameen() {
|
||||
return contentkindnameen;
|
||||
}
|
||||
|
||||
public void setContentkindnameen(String contentkindnameen) {
|
||||
this.contentkindnameen = contentkindnameen;
|
||||
}
|
||||
|
||||
public String getContentname() {
|
||||
return contentname;
|
||||
}
|
||||
|
||||
public void setContentname(String contentname) {
|
||||
this.contentname = contentname;
|
||||
}
|
||||
|
||||
public int getContenttype() {
|
||||
return contenttype;
|
||||
}
|
||||
|
||||
public void setContenttype(int contenttype) {
|
||||
this.contenttype = contenttype;
|
||||
}
|
||||
|
||||
public int getContentyearid() {
|
||||
return contentyearid;
|
||||
}
|
||||
|
||||
public void setContentyearid(int contentyearid) {
|
||||
this.contentyearid = contentyearid;
|
||||
}
|
||||
|
||||
public String getCpid() {
|
||||
return cpid;
|
||||
}
|
||||
|
||||
public void setCpid(String cpid) {
|
||||
this.cpid = cpid;
|
||||
}
|
||||
|
||||
public String getCpname() {
|
||||
return cpname;
|
||||
}
|
||||
|
||||
public void setCpname(String cpname) {
|
||||
this.cpname = cpname;
|
||||
}
|
||||
|
||||
public String getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(String createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public String getCreatetimeString() {
|
||||
return createtimeString;
|
||||
}
|
||||
|
||||
public void setCreatetimeString(String createtimeString) {
|
||||
this.createtimeString = createtimeString;
|
||||
}
|
||||
|
||||
public Object getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(Object duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public String getExtendimg() {
|
||||
return extendimg;
|
||||
}
|
||||
|
||||
public void setExtendimg(String extendimg) {
|
||||
this.extendimg = extendimg;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getMidimg() {
|
||||
return midimg;
|
||||
}
|
||||
|
||||
public void setMidimg(String midimg) {
|
||||
this.midimg = midimg;
|
||||
}
|
||||
|
||||
public String getMidimg2() {
|
||||
return midimg2;
|
||||
}
|
||||
|
||||
public void setMidimg2(String midimg2) {
|
||||
this.midimg2 = midimg2;
|
||||
}
|
||||
|
||||
public String getOriginalcountry() {
|
||||
return originalcountry;
|
||||
}
|
||||
|
||||
public void setOriginalcountry(String originalcountry) {
|
||||
this.originalcountry = originalcountry;
|
||||
}
|
||||
|
||||
public String getOriginalcountryen() {
|
||||
return originalcountryen;
|
||||
}
|
||||
|
||||
public void setOriginalcountryen(String originalcountryen) {
|
||||
this.originalcountryen = originalcountryen;
|
||||
}
|
||||
|
||||
public String getPosterimg3() {
|
||||
return posterimg3;
|
||||
}
|
||||
|
||||
public void setPosterimg3(String posterimg3) {
|
||||
this.posterimg3 = posterimg3;
|
||||
}
|
||||
|
||||
public String getStbid() {
|
||||
return stbid;
|
||||
}
|
||||
|
||||
public void setStbid(String stbid) {
|
||||
this.stbid = stbid;
|
||||
}
|
||||
|
||||
public String getUpdatetime() {
|
||||
return updatetime;
|
||||
}
|
||||
|
||||
public void setUpdatetime(String updatetime) {
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
public String getUpdatetimeString() {
|
||||
return updatetimeString;
|
||||
}
|
||||
|
||||
public void setUpdatetimeString(String updatetimeString) {
|
||||
this.updatetimeString = updatetimeString;
|
||||
}
|
||||
|
||||
public String getUsercode() {
|
||||
return usercode;
|
||||
}
|
||||
|
||||
public void setUsercode(String usercode) {
|
||||
this.usercode = usercode;
|
||||
}
|
||||
|
||||
public int getUserid() {
|
||||
return userid;
|
||||
}
|
||||
|
||||
public void setUserid(int userid) {
|
||||
this.userid = userid;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getWriterdisplay() {
|
||||
return writerdisplay;
|
||||
}
|
||||
|
||||
public void setWriterdisplay(String writerdisplay) {
|
||||
this.writerdisplay = writerdisplay;
|
||||
}
|
||||
|
||||
public String getWriterdisplayen() {
|
||||
return writerdisplayen;
|
||||
}
|
||||
|
||||
public void setWriterdisplayen(String writerdisplayen) {
|
||||
this.writerdisplayen = writerdisplayen;
|
||||
}
|
||||
|
||||
public String getCornername() {
|
||||
return cornername;
|
||||
}
|
||||
|
||||
public void setCornername(String cornername) {
|
||||
this.cornername = cornername;
|
||||
}
|
||||
|
||||
public String getCornerpicurl() {
|
||||
return cornerpicurl;
|
||||
}
|
||||
|
||||
public void setCornerpicurl(String cornerpicurl) {
|
||||
this.cornerpicurl = cornerpicurl;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "GetlistcollBean{" +
|
||||
"presentcount='" + presentcount + '\'' +
|
||||
", resultcode='" + resultcode + '\'' +
|
||||
", resultdesc='" + resultdesc + '\'' +
|
||||
", totalcount='" + totalcount + '\'' +
|
||||
", result=" + result +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
221
libdata/src/main/java/com/migu/bean/GetsystemBean.java
Executable file
221
libdata/src/main/java/com/migu/bean/GetsystemBean.java
Executable file
@@ -0,0 +1,221 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GetsystemBean {
|
||||
|
||||
/**
|
||||
* clientIp : null
|
||||
* errorCode : null
|
||||
* pageindex : 0
|
||||
* pagesize : 0
|
||||
* pagetotal : 0
|
||||
* result : [{"cornerurl":"111","id":1,"name":"收费","spid":4,"status":1},{"cornerurl":"ftp://ftptest2:pukkasoft@139.196.36.113:21/554/a87aabe193f941cfb5c551fcf04d7696.jpg","id":2,"name":"免费","spid":4,"status":0}]
|
||||
* resultcode : 0
|
||||
* resultdesc : success
|
||||
* sizetotal : 0
|
||||
*/
|
||||
|
||||
private Object clientIp;
|
||||
private Object errorCode;
|
||||
private int pageindex;
|
||||
private int pagesize;
|
||||
private int pagetotal;
|
||||
private String resultcode;
|
||||
private String resultdesc;
|
||||
private int sizetotal;
|
||||
private List<ResultBean> result;
|
||||
|
||||
public Object getClientIp() {
|
||||
return clientIp;
|
||||
}
|
||||
|
||||
public void setClientIp(Object clientIp) {
|
||||
this.clientIp = clientIp;
|
||||
}
|
||||
|
||||
public Object getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(Object errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public int getPageindex() {
|
||||
return pageindex;
|
||||
}
|
||||
|
||||
public void setPageindex(int pageindex) {
|
||||
this.pageindex = pageindex;
|
||||
}
|
||||
|
||||
public int getPagesize() {
|
||||
return pagesize;
|
||||
}
|
||||
|
||||
public void setPagesize(int pagesize) {
|
||||
this.pagesize = pagesize;
|
||||
}
|
||||
|
||||
public int getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public void setPagetotal(int pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public int getSizetotal() {
|
||||
return sizetotal;
|
||||
}
|
||||
|
||||
public void setSizetotal(int sizetotal) {
|
||||
this.sizetotal = sizetotal;
|
||||
}
|
||||
|
||||
public List<ResultBean> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultBean> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public static class ResultBean {
|
||||
/**
|
||||
* cornerurl : 111
|
||||
* id : 1
|
||||
* name : 收费
|
||||
* spid : 4
|
||||
* status : 1
|
||||
*/
|
||||
|
||||
private String cornerurl;
|
||||
private String corner_url;
|
||||
private int id;
|
||||
private String name;
|
||||
private int spid;
|
||||
private int status;
|
||||
private int look_duration;
|
||||
private String shimCode;
|
||||
private int type;
|
||||
private String description;
|
||||
|
||||
private String type_tatus;
|
||||
|
||||
private String shim_code;
|
||||
|
||||
public String getType_tatus() {
|
||||
return type_tatus;
|
||||
}
|
||||
|
||||
public void setType_tatus(String type_tatus) {
|
||||
this.type_tatus = type_tatus;
|
||||
}
|
||||
|
||||
public String getShim_code() {
|
||||
return shim_code;
|
||||
}
|
||||
|
||||
public void setShim_code(String shim_code) {
|
||||
this.shim_code = shim_code;
|
||||
}
|
||||
|
||||
public String getCorner_url() {
|
||||
return corner_url;
|
||||
}
|
||||
|
||||
public void setCorner_url(String corner_url) {
|
||||
this.corner_url = corner_url;
|
||||
}
|
||||
|
||||
public String getCornerurl() {
|
||||
return cornerurl;
|
||||
}
|
||||
|
||||
public void setCornerurl(String cornerurl) {
|
||||
this.cornerurl = cornerurl;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getSpid() {
|
||||
return spid;
|
||||
}
|
||||
|
||||
public void setSpid(int spid) {
|
||||
this.spid = spid;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getLookDuration() {
|
||||
return look_duration;
|
||||
}
|
||||
|
||||
public void setLookDuration(int look_duration) {
|
||||
this.look_duration = look_duration;
|
||||
}
|
||||
|
||||
public String getShimCode() {
|
||||
return shimCode;
|
||||
}
|
||||
|
||||
public void setShimCode(String shimCode) {
|
||||
this.shimCode = shimCode;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
}
|
||||
}
|
||||
460
libdata/src/main/java/com/migu/bean/GettagslistBean.java
Executable file
460
libdata/src/main/java/com/migu/bean/GettagslistBean.java
Executable file
@@ -0,0 +1,460 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class GettagslistBean {
|
||||
|
||||
private Object buttonMsg;
|
||||
private int buttonStatus;
|
||||
private Object buttonUrl;
|
||||
private Object clientIp;
|
||||
private Object errorCode;
|
||||
private String nowtime;
|
||||
private int pageindex;
|
||||
private int pagesize;
|
||||
private int pagetotal;
|
||||
private List<ResultDTO> result;
|
||||
private String resultcode;
|
||||
private String resultdesc;
|
||||
private int sizetotal;
|
||||
|
||||
public Object getButtonMsg() {
|
||||
return buttonMsg;
|
||||
}
|
||||
|
||||
public void setButtonMsg(Object buttonMsg) {
|
||||
this.buttonMsg = buttonMsg;
|
||||
}
|
||||
|
||||
public int getButtonStatus() {
|
||||
return buttonStatus;
|
||||
}
|
||||
|
||||
public void setButtonStatus(int buttonStatus) {
|
||||
this.buttonStatus = buttonStatus;
|
||||
}
|
||||
|
||||
public Object getButtonUrl() {
|
||||
return buttonUrl;
|
||||
}
|
||||
|
||||
public void setButtonUrl(Object buttonUrl) {
|
||||
this.buttonUrl = buttonUrl;
|
||||
}
|
||||
|
||||
public Object getClientIp() {
|
||||
return clientIp;
|
||||
}
|
||||
|
||||
public void setClientIp(Object clientIp) {
|
||||
this.clientIp = clientIp;
|
||||
}
|
||||
|
||||
public Object getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(Object errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public String getNowtime() {
|
||||
return nowtime;
|
||||
}
|
||||
|
||||
public void setNowtime(String nowtime) {
|
||||
this.nowtime = nowtime;
|
||||
}
|
||||
|
||||
public int getPageindex() {
|
||||
return pageindex;
|
||||
}
|
||||
|
||||
public void setPageindex(int pageindex) {
|
||||
this.pageindex = pageindex;
|
||||
}
|
||||
|
||||
public int getPagesize() {
|
||||
return pagesize;
|
||||
}
|
||||
|
||||
public void setPagesize(int pagesize) {
|
||||
this.pagesize = pagesize;
|
||||
}
|
||||
|
||||
public int getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public void setPagetotal(int pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public List<ResultDTO> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultDTO> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public int getSizetotal() {
|
||||
return sizetotal;
|
||||
}
|
||||
|
||||
public void setSizetotal(int sizetotal) {
|
||||
this.sizetotal = sizetotal;
|
||||
}
|
||||
|
||||
public static class ResultDTO {
|
||||
private Object background_pic;
|
||||
private String big_project;
|
||||
private int catalogCornerStatus;
|
||||
private String code;
|
||||
private Object context_form;
|
||||
private String cornerType;
|
||||
private String create_name;
|
||||
private String create_time;
|
||||
private Object description;
|
||||
private int epg_site_id;
|
||||
private int epg_type;
|
||||
private Object icon;
|
||||
private int id;
|
||||
private int is_publish;
|
||||
private Object is_publish_desc;
|
||||
private int is_synchronization;
|
||||
private Object keyword;
|
||||
private Object middle_project;
|
||||
private Object mpid;
|
||||
private String name;
|
||||
private int parent_id;
|
||||
private String publish_time;
|
||||
private String publish_timeString;
|
||||
private Object recommend_signature;
|
||||
private Object reset_operation_time;
|
||||
private Object reset_operation_timeString;
|
||||
private Object reset_operator;
|
||||
private int retention_page_focus;
|
||||
private int sequence;
|
||||
private Object small_project;
|
||||
private int sp_id;
|
||||
private Object sp_name;
|
||||
private int status;
|
||||
private int subject_type;
|
||||
private int type;
|
||||
private Object update_name;
|
||||
private String update_time;
|
||||
|
||||
public Object getBackground_pic() {
|
||||
return background_pic;
|
||||
}
|
||||
|
||||
public void setBackground_pic(Object background_pic) {
|
||||
this.background_pic = background_pic;
|
||||
}
|
||||
|
||||
public String getBig_project() {
|
||||
return big_project;
|
||||
}
|
||||
|
||||
public void setBig_project(String big_project) {
|
||||
this.big_project = big_project;
|
||||
}
|
||||
|
||||
public int getCatalogCornerStatus() {
|
||||
return catalogCornerStatus;
|
||||
}
|
||||
|
||||
public void setCatalogCornerStatus(int catalogCornerStatus) {
|
||||
this.catalogCornerStatus = catalogCornerStatus;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Object getContext_form() {
|
||||
return context_form;
|
||||
}
|
||||
|
||||
public void setContext_form(Object context_form) {
|
||||
this.context_form = context_form;
|
||||
}
|
||||
|
||||
public String getCornerType() {
|
||||
return cornerType;
|
||||
}
|
||||
|
||||
public void setCornerType(String cornerType) {
|
||||
this.cornerType = cornerType;
|
||||
}
|
||||
|
||||
public String getCreate_name() {
|
||||
return create_name;
|
||||
}
|
||||
|
||||
public void setCreate_name(String create_name) {
|
||||
this.create_name = create_name;
|
||||
}
|
||||
|
||||
public String getCreate_time() {
|
||||
return create_time;
|
||||
}
|
||||
|
||||
public void setCreate_time(String create_time) {
|
||||
this.create_time = create_time;
|
||||
}
|
||||
|
||||
public Object getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(Object description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getEpg_site_id() {
|
||||
return epg_site_id;
|
||||
}
|
||||
|
||||
public void setEpg_site_id(int epg_site_id) {
|
||||
this.epg_site_id = epg_site_id;
|
||||
}
|
||||
|
||||
public int getEpg_type() {
|
||||
return epg_type;
|
||||
}
|
||||
|
||||
public void setEpg_type(int epg_type) {
|
||||
this.epg_type = epg_type;
|
||||
}
|
||||
|
||||
public Object getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(Object icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getIs_publish() {
|
||||
return is_publish;
|
||||
}
|
||||
|
||||
public void setIs_publish(int is_publish) {
|
||||
this.is_publish = is_publish;
|
||||
}
|
||||
|
||||
public Object getIs_publish_desc() {
|
||||
return is_publish_desc;
|
||||
}
|
||||
|
||||
public void setIs_publish_desc(Object is_publish_desc) {
|
||||
this.is_publish_desc = is_publish_desc;
|
||||
}
|
||||
|
||||
public int getIs_synchronization() {
|
||||
return is_synchronization;
|
||||
}
|
||||
|
||||
public void setIs_synchronization(int is_synchronization) {
|
||||
this.is_synchronization = is_synchronization;
|
||||
}
|
||||
|
||||
public Object getKeyword() {
|
||||
return keyword;
|
||||
}
|
||||
|
||||
public void setKeyword(Object keyword) {
|
||||
this.keyword = keyword;
|
||||
}
|
||||
|
||||
public Object getMiddle_project() {
|
||||
return middle_project;
|
||||
}
|
||||
|
||||
public void setMiddle_project(Object middle_project) {
|
||||
this.middle_project = middle_project;
|
||||
}
|
||||
|
||||
public Object getMpid() {
|
||||
return mpid;
|
||||
}
|
||||
|
||||
public void setMpid(Object mpid) {
|
||||
this.mpid = mpid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getParent_id() {
|
||||
return parent_id;
|
||||
}
|
||||
|
||||
public void setParent_id(int parent_id) {
|
||||
this.parent_id = parent_id;
|
||||
}
|
||||
|
||||
public String getPublish_time() {
|
||||
return publish_time;
|
||||
}
|
||||
|
||||
public void setPublish_time(String publish_time) {
|
||||
this.publish_time = publish_time;
|
||||
}
|
||||
|
||||
public String getPublish_timeString() {
|
||||
return publish_timeString;
|
||||
}
|
||||
|
||||
public void setPublish_timeString(String publish_timeString) {
|
||||
this.publish_timeString = publish_timeString;
|
||||
}
|
||||
|
||||
public Object getRecommend_signature() {
|
||||
return recommend_signature;
|
||||
}
|
||||
|
||||
public void setRecommend_signature(Object recommend_signature) {
|
||||
this.recommend_signature = recommend_signature;
|
||||
}
|
||||
|
||||
public Object getReset_operation_time() {
|
||||
return reset_operation_time;
|
||||
}
|
||||
|
||||
public void setReset_operation_time(Object reset_operation_time) {
|
||||
this.reset_operation_time = reset_operation_time;
|
||||
}
|
||||
|
||||
public Object getReset_operation_timeString() {
|
||||
return reset_operation_timeString;
|
||||
}
|
||||
|
||||
public void setReset_operation_timeString(Object reset_operation_timeString) {
|
||||
this.reset_operation_timeString = reset_operation_timeString;
|
||||
}
|
||||
|
||||
public Object getReset_operator() {
|
||||
return reset_operator;
|
||||
}
|
||||
|
||||
public void setReset_operator(Object reset_operator) {
|
||||
this.reset_operator = reset_operator;
|
||||
}
|
||||
|
||||
public int getRetention_page_focus() {
|
||||
return retention_page_focus;
|
||||
}
|
||||
|
||||
public void setRetention_page_focus(int retention_page_focus) {
|
||||
this.retention_page_focus = retention_page_focus;
|
||||
}
|
||||
|
||||
public int getSequence() {
|
||||
return sequence;
|
||||
}
|
||||
|
||||
public void setSequence(int sequence) {
|
||||
this.sequence = sequence;
|
||||
}
|
||||
|
||||
public Object getSmall_project() {
|
||||
return small_project;
|
||||
}
|
||||
|
||||
public void setSmall_project(Object small_project) {
|
||||
this.small_project = small_project;
|
||||
}
|
||||
|
||||
public int getSp_id() {
|
||||
return sp_id;
|
||||
}
|
||||
|
||||
public void setSp_id(int sp_id) {
|
||||
this.sp_id = sp_id;
|
||||
}
|
||||
|
||||
public Object getSp_name() {
|
||||
return sp_name;
|
||||
}
|
||||
|
||||
public void setSp_name(Object sp_name) {
|
||||
this.sp_name = sp_name;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getSubject_type() {
|
||||
return subject_type;
|
||||
}
|
||||
|
||||
public void setSubject_type(int subject_type) {
|
||||
this.subject_type = subject_type;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public Object getUpdate_name() {
|
||||
return update_name;
|
||||
}
|
||||
|
||||
public void setUpdate_name(Object update_name) {
|
||||
this.update_name = update_name;
|
||||
}
|
||||
|
||||
public String getUpdate_time() {
|
||||
return update_time;
|
||||
}
|
||||
|
||||
public void setUpdate_time(String update_time) {
|
||||
this.update_time = update_time;
|
||||
}
|
||||
}
|
||||
}
|
||||
104
libdata/src/main/java/com/migu/bean/GoOrderBean_shanghai.java
Executable file
104
libdata/src/main/java/com/migu/bean/GoOrderBean_shanghai.java
Executable file
@@ -0,0 +1,104 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* 上海银河ott订购(下单)提交参数
|
||||
*/
|
||||
public class GoOrderBean_shanghai extends ShanghaiBean{
|
||||
|
||||
private String userId;
|
||||
private String sn;
|
||||
private String userToken;
|
||||
private String contentName;
|
||||
private String returnUrl;
|
||||
private String notifyUrl;
|
||||
private String appId;
|
||||
private String appKey;
|
||||
private String contentId;
|
||||
/**
|
||||
* 扩展参数(用于传递Launcher推荐位导流信息等数据)
|
||||
*/
|
||||
private String expand;
|
||||
|
||||
|
||||
public String getContentName() {
|
||||
return contentName;
|
||||
}
|
||||
|
||||
public void setContentName(String contentName) {
|
||||
this.contentName = contentName;
|
||||
}
|
||||
|
||||
public String getReturnUrl() {
|
||||
return returnUrl;
|
||||
}
|
||||
|
||||
public void setReturnUrl(String returnUrl) {
|
||||
this.returnUrl = returnUrl;
|
||||
}
|
||||
|
||||
public String getNotifyUrl() {
|
||||
return notifyUrl;
|
||||
}
|
||||
|
||||
public void setNotifyUrl(String notifyUrl) {
|
||||
this.notifyUrl = notifyUrl;
|
||||
}
|
||||
|
||||
|
||||
public String getAppId() {
|
||||
return appId;
|
||||
}
|
||||
|
||||
public void setAppId(String appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
public String getAppKey() {
|
||||
return appKey;
|
||||
}
|
||||
|
||||
public void setAppKey(String appKey) {
|
||||
this.appKey = appKey;
|
||||
}
|
||||
|
||||
public String getContentId() {
|
||||
return contentId;
|
||||
}
|
||||
|
||||
public void setContentId(String contentId) {
|
||||
this.contentId = contentId;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getSn() {
|
||||
return sn;
|
||||
}
|
||||
|
||||
public void setSn(String sn) {
|
||||
this.sn = sn;
|
||||
}
|
||||
|
||||
public String getUserToken() {
|
||||
return userToken;
|
||||
}
|
||||
|
||||
public void setUserToken(String userToken) {
|
||||
this.userToken = userToken;
|
||||
}
|
||||
|
||||
|
||||
public String getExpand() {
|
||||
return expand;
|
||||
}
|
||||
|
||||
public void setExpand(String expand) {
|
||||
this.expand = expand;
|
||||
}
|
||||
}
|
||||
232
libdata/src/main/java/com/migu/bean/GoldMainBean.java
Executable file
232
libdata/src/main/java/com/migu/bean/GoldMainBean.java
Executable file
@@ -0,0 +1,232 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* create by xujiangyun at 2024/9/9
|
||||
*/
|
||||
|
||||
public class GoldMainBean {
|
||||
|
||||
/**
|
||||
* resultCode : 0
|
||||
* message : 成功
|
||||
* data : {"chinaGold":{"rank":9,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png","countryName":"中国","goldNum":10,"silverNum":10,"bronzeNum":0,"totalMedalNum":2},"mainGolderList":[{"rank":1,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/AUS.png","countryName":"澳大利亚","goldNum":8,"silverNum":0,"bronzeNum":2,"totalMedalNum":10},{"rank":2,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/USA.png","countryName":"美国","goldNum":5,"silverNum":0,"bronzeNum":2,"totalMedalNum":7},{"rank":4,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/JPN.png","countryName":"日本","goldNum":2,"silverNum":2,"bronzeNum":1,"totalMedalNum":5},{"rank":9,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png","countryName":"中国","goldNum":10,"silverNum":10,"bronzeNum":0,"totalMedalNum":2}]}
|
||||
* timestamp : 1727078406031
|
||||
*/
|
||||
|
||||
private int resultCode;
|
||||
private String message;
|
||||
private DataBean data;
|
||||
private long timestamp;
|
||||
|
||||
public int getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public void setResultCode(int resultCode) {
|
||||
this.resultCode = resultCode;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public DataBean getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataBean data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(long timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public static class DataBean {
|
||||
/**
|
||||
* chinaGold : {"rank":9,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png","countryName":"中国","goldNum":10,"silverNum":10,"bronzeNum":0,"totalMedalNum":2}
|
||||
* mainGolderList : [{"rank":1,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/AUS.png","countryName":"澳大利亚","goldNum":8,"silverNum":0,"bronzeNum":2,"totalMedalNum":10},{"rank":2,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/USA.png","countryName":"美国","goldNum":5,"silverNum":0,"bronzeNum":2,"totalMedalNum":7},{"rank":4,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/JPN.png","countryName":"日本","goldNum":2,"silverNum":2,"bronzeNum":1,"totalMedalNum":5},{"rank":9,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png","countryName":"中国","goldNum":10,"silverNum":10,"bronzeNum":0,"totalMedalNum":2}]
|
||||
*/
|
||||
|
||||
private ChinaGoldBean chinaGold;
|
||||
private List<MainGolderListBean> mainGolderList;
|
||||
|
||||
public ChinaGoldBean getChinaGold() {
|
||||
return chinaGold;
|
||||
}
|
||||
|
||||
public void setChinaGold(ChinaGoldBean chinaGold) {
|
||||
this.chinaGold = chinaGold;
|
||||
}
|
||||
|
||||
public List<MainGolderListBean> getMainGolderList() {
|
||||
return mainGolderList;
|
||||
}
|
||||
|
||||
public void setMainGolderList(List<MainGolderListBean> mainGolderList) {
|
||||
this.mainGolderList = mainGolderList;
|
||||
}
|
||||
|
||||
public static class ChinaGoldBean {
|
||||
/**
|
||||
* rank : 9
|
||||
* countryLogo : http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png
|
||||
* countryName : 中国
|
||||
* goldNum : 10
|
||||
* silverNum : 10
|
||||
* bronzeNum : 0
|
||||
* totalMedalNum : 2
|
||||
*/
|
||||
|
||||
private int rank;
|
||||
private String countryLogo;
|
||||
private String countryName;
|
||||
private int goldNum;
|
||||
private int silverNum;
|
||||
private int bronzeNum;
|
||||
private int totalMedalNum;
|
||||
|
||||
public int getRank() {
|
||||
return rank;
|
||||
}
|
||||
|
||||
public void setRank(int rank) {
|
||||
this.rank = rank;
|
||||
}
|
||||
|
||||
public String getCountryLogo() {
|
||||
return countryLogo;
|
||||
}
|
||||
|
||||
public void setCountryLogo(String countryLogo) {
|
||||
this.countryLogo = countryLogo;
|
||||
}
|
||||
|
||||
public String getCountryName() {
|
||||
return countryName;
|
||||
}
|
||||
|
||||
public void setCountryName(String countryName) {
|
||||
this.countryName = countryName;
|
||||
}
|
||||
|
||||
public int getGoldNum() {
|
||||
return goldNum;
|
||||
}
|
||||
|
||||
public void setGoldNum(int goldNum) {
|
||||
this.goldNum = goldNum;
|
||||
}
|
||||
|
||||
public int getSilverNum() {
|
||||
return silverNum;
|
||||
}
|
||||
|
||||
public void setSilverNum(int silverNum) {
|
||||
this.silverNum = silverNum;
|
||||
}
|
||||
|
||||
public int getBronzeNum() {
|
||||
return bronzeNum;
|
||||
}
|
||||
|
||||
public void setBronzeNum(int bronzeNum) {
|
||||
this.bronzeNum = bronzeNum;
|
||||
}
|
||||
|
||||
public int getTotalMedalNum() {
|
||||
return totalMedalNum;
|
||||
}
|
||||
|
||||
public void setTotalMedalNum(int totalMedalNum) {
|
||||
this.totalMedalNum = totalMedalNum;
|
||||
}
|
||||
}
|
||||
|
||||
public static class MainGolderListBean {
|
||||
/**
|
||||
* rank : 1
|
||||
* countryLogo : http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/AUS.png
|
||||
* countryName : 澳大利亚
|
||||
* goldNum : 8
|
||||
* silverNum : 0
|
||||
* bronzeNum : 2
|
||||
* totalMedalNum : 10
|
||||
*/
|
||||
|
||||
private int rank;
|
||||
private String countryLogo;
|
||||
private String countryName;
|
||||
private int goldNum;
|
||||
private int silverNum;
|
||||
private int bronzeNum;
|
||||
private int totalMedalNum;
|
||||
|
||||
public int getRank() {
|
||||
return rank;
|
||||
}
|
||||
|
||||
public void setRank(int rank) {
|
||||
this.rank = rank;
|
||||
}
|
||||
|
||||
public String getCountryLogo() {
|
||||
return countryLogo;
|
||||
}
|
||||
|
||||
public void setCountryLogo(String countryLogo) {
|
||||
this.countryLogo = countryLogo;
|
||||
}
|
||||
|
||||
public String getCountryName() {
|
||||
return countryName;
|
||||
}
|
||||
|
||||
public void setCountryName(String countryName) {
|
||||
this.countryName = countryName;
|
||||
}
|
||||
|
||||
public int getGoldNum() {
|
||||
return goldNum;
|
||||
}
|
||||
|
||||
public void setGoldNum(int goldNum) {
|
||||
this.goldNum = goldNum;
|
||||
}
|
||||
|
||||
public int getSilverNum() {
|
||||
return silverNum;
|
||||
}
|
||||
|
||||
public void setSilverNum(int silverNum) {
|
||||
this.silverNum = silverNum;
|
||||
}
|
||||
|
||||
public int getBronzeNum() {
|
||||
return bronzeNum;
|
||||
}
|
||||
|
||||
public void setBronzeNum(int bronzeNum) {
|
||||
this.bronzeNum = bronzeNum;
|
||||
}
|
||||
|
||||
public int getTotalMedalNum() {
|
||||
return totalMedalNum;
|
||||
}
|
||||
|
||||
public void setTotalMedalNum(int totalMedalNum) {
|
||||
this.totalMedalNum = totalMedalNum;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
80
libdata/src/main/java/com/migu/bean/HeartBeatEntity.java
Executable file
80
libdata/src/main/java/com/migu/bean/HeartBeatEntity.java
Executable file
@@ -0,0 +1,80 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* Author: wxf
|
||||
* Date: 2022/9/14 14:39
|
||||
* Description:心跳接口返回实体
|
||||
*/
|
||||
public class HeartBeatEntity {
|
||||
private String UserID;
|
||||
private String Result;
|
||||
private String Description;
|
||||
private String expiredTime;
|
||||
private String TimeOut;
|
||||
public HeartBeatEntity() {
|
||||
}
|
||||
public HeartBeatEntity(String userID, String result, String description, String expiredTime, String timeOut) {
|
||||
UserID = userID;
|
||||
Result = result;
|
||||
Description = description;
|
||||
this.expiredTime = expiredTime;
|
||||
TimeOut = timeOut;
|
||||
}
|
||||
|
||||
public String getUserID() {
|
||||
return UserID;
|
||||
}
|
||||
|
||||
public void setUserID(String userID) {
|
||||
UserID = userID;
|
||||
}
|
||||
|
||||
public String getResult() {
|
||||
return Result;
|
||||
}
|
||||
|
||||
public void setResult(String result) {
|
||||
Result = result;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return Description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
Description = description;
|
||||
}
|
||||
|
||||
public String getExpiredTime() {
|
||||
return expiredTime;
|
||||
}
|
||||
|
||||
public void setExpiredTime(String expiredTime) {
|
||||
this.expiredTime = expiredTime;
|
||||
}
|
||||
|
||||
public String getTimeOut() {
|
||||
return TimeOut;
|
||||
}
|
||||
|
||||
public void setTimeOut(String timeOut) {
|
||||
TimeOut = timeOut;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
final StringBuilder sb = new StringBuilder("{");
|
||||
sb.append("\"UserID\":\"")
|
||||
.append(UserID).append('\"');
|
||||
sb.append(",\"Result\":\"")
|
||||
.append(Result).append('\"');
|
||||
sb.append(",\"Description\":\"")
|
||||
.append(Description).append('\"');
|
||||
sb.append(",\"expiredTime\":\"")
|
||||
.append(expiredTime).append('\"');
|
||||
sb.append(",\"TimeOut\":\"")
|
||||
.append(TimeOut).append('\"');
|
||||
sb.append('}');
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
126
libdata/src/main/java/com/migu/bean/HistoryReportBean_shanghai.java
Executable file
126
libdata/src/main/java/com/migu/bean/HistoryReportBean_shanghai.java
Executable file
@@ -0,0 +1,126 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class HistoryReportBean_shanghai extends ShanghaiBean{
|
||||
|
||||
private String chnCode;
|
||||
private String account;
|
||||
private String contentId;
|
||||
private String contentTotalTime;
|
||||
private String cpPrvCode;
|
||||
private String endWatchTime;
|
||||
private String intent;
|
||||
private String opFlag;
|
||||
private String logType;
|
||||
private String startWatchTime;
|
||||
private String playOrder;
|
||||
private String cpPermission;
|
||||
private String playTime;
|
||||
|
||||
|
||||
public String getAccount() {
|
||||
return account;
|
||||
}
|
||||
|
||||
public void setAccount(String account) {
|
||||
this.account = account;
|
||||
}
|
||||
|
||||
|
||||
public String getChnCode() {
|
||||
return chnCode;
|
||||
}
|
||||
|
||||
public void setChnCode(String chnCode) {
|
||||
this.chnCode = chnCode;
|
||||
}
|
||||
|
||||
public String getContentId() {
|
||||
return contentId;
|
||||
}
|
||||
|
||||
public void setContentId(String contentId) {
|
||||
this.contentId = contentId;
|
||||
}
|
||||
|
||||
public String getContentTotalTime() {
|
||||
return contentTotalTime;
|
||||
}
|
||||
|
||||
public void setContentTotalTime(String contentTotalTime) {
|
||||
this.contentTotalTime = contentTotalTime;
|
||||
}
|
||||
|
||||
public String getCpPrvCode() {
|
||||
return cpPrvCode;
|
||||
}
|
||||
|
||||
public void setCpPrvCode(String cpPrvCode) {
|
||||
this.cpPrvCode = cpPrvCode;
|
||||
}
|
||||
|
||||
public String getEndWatchTime() {
|
||||
return endWatchTime;
|
||||
}
|
||||
|
||||
public void setEndWatchTime(String endWatchTime) {
|
||||
this.endWatchTime = endWatchTime;
|
||||
}
|
||||
|
||||
public String getIntent() {
|
||||
return intent;
|
||||
}
|
||||
|
||||
public void setIntent(String intent) {
|
||||
this.intent = intent;
|
||||
}
|
||||
|
||||
public String getOpFlag() {
|
||||
return opFlag;
|
||||
}
|
||||
|
||||
public void setOpFlag(String opFlag) {
|
||||
this.opFlag = opFlag;
|
||||
}
|
||||
|
||||
public String getLogType() {
|
||||
return logType;
|
||||
}
|
||||
|
||||
public void setLogType(String logType) {
|
||||
this.logType = logType;
|
||||
}
|
||||
|
||||
public String getStartWatchTime() {
|
||||
return startWatchTime;
|
||||
}
|
||||
|
||||
public void setStartWatchTime(String startWatchTime) {
|
||||
this.startWatchTime = startWatchTime;
|
||||
}
|
||||
|
||||
public String getPlayOrder() {
|
||||
return playOrder;
|
||||
}
|
||||
|
||||
public void setPlayOrder(String playOrder) {
|
||||
this.playOrder = playOrder;
|
||||
}
|
||||
|
||||
public String getCpPermission() {
|
||||
return cpPermission;
|
||||
}
|
||||
|
||||
public void setCpPermission(String cpPermission) {
|
||||
this.cpPermission = cpPermission;
|
||||
}
|
||||
|
||||
public String getPlayTime() {
|
||||
return playTime;
|
||||
}
|
||||
|
||||
public void setPlayTime(String playTime) {
|
||||
this.playTime = playTime;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
176
libdata/src/main/java/com/migu/bean/HljAddCollectionBean.java
Executable file
176
libdata/src/main/java/com/migu/bean/HljAddCollectionBean.java
Executable file
@@ -0,0 +1,176 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class HljAddCollectionBean {
|
||||
|
||||
private String cpPrvName;
|
||||
private String cpPrvCode;
|
||||
private int cpPrvType;
|
||||
private String cpLicense;
|
||||
private String account;
|
||||
private String programSeriesName;
|
||||
private String programSeriesId;
|
||||
private String programId;
|
||||
private int seriesNumber;
|
||||
private int isPaid;
|
||||
private String score;
|
||||
private String intent;
|
||||
private String imageURL;
|
||||
private int collectionFlag;
|
||||
private String extension;
|
||||
private String portalcode;
|
||||
private String sptoken;
|
||||
private String timeshift;
|
||||
private String sign;
|
||||
|
||||
public String getCpPrvName() {
|
||||
return cpPrvName;
|
||||
}
|
||||
|
||||
public void setCpPrvName(String cpPrvName) {
|
||||
this.cpPrvName = cpPrvName;
|
||||
}
|
||||
|
||||
public String getCpPrvCode() {
|
||||
return cpPrvCode;
|
||||
}
|
||||
|
||||
public void setCpPrvCode(String cpPrvCode) {
|
||||
this.cpPrvCode = cpPrvCode;
|
||||
}
|
||||
|
||||
public int getCpPrvType() {
|
||||
return cpPrvType;
|
||||
}
|
||||
|
||||
public void setCpPrvType(int cpPrvType) {
|
||||
this.cpPrvType = cpPrvType;
|
||||
}
|
||||
|
||||
public String getCpLicense() {
|
||||
return cpLicense;
|
||||
}
|
||||
|
||||
public void setCpLicense(String cpLicense) {
|
||||
this.cpLicense = cpLicense;
|
||||
}
|
||||
|
||||
public String getAccount() {
|
||||
return account;
|
||||
}
|
||||
|
||||
public void setAccount(String account) {
|
||||
this.account = account;
|
||||
}
|
||||
|
||||
public String getProgramSeriesName() {
|
||||
return programSeriesName;
|
||||
}
|
||||
|
||||
public void setProgramSeriesName(String programSeriesName) {
|
||||
this.programSeriesName = programSeriesName;
|
||||
}
|
||||
|
||||
public String getProgramSeriesId() {
|
||||
return programSeriesId;
|
||||
}
|
||||
|
||||
public void setProgramSeriesId(String programSeriesId) {
|
||||
this.programSeriesId = programSeriesId;
|
||||
}
|
||||
|
||||
public String getProgramId() {
|
||||
return programId;
|
||||
}
|
||||
|
||||
public void setProgramId(String programId) {
|
||||
this.programId = programId;
|
||||
}
|
||||
|
||||
public int getSeriesNumber() {
|
||||
return seriesNumber;
|
||||
}
|
||||
|
||||
public void setSeriesNumber(int seriesNumber) {
|
||||
this.seriesNumber = seriesNumber;
|
||||
}
|
||||
|
||||
public int getIsPaid() {
|
||||
return isPaid;
|
||||
}
|
||||
|
||||
public void setIsPaid(int isPaid) {
|
||||
this.isPaid = isPaid;
|
||||
}
|
||||
|
||||
public String getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore(String score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public String getIntent() {
|
||||
return intent;
|
||||
}
|
||||
|
||||
public void setIntent(String intent) {
|
||||
this.intent = intent;
|
||||
}
|
||||
|
||||
public String getImageURL() {
|
||||
return imageURL;
|
||||
}
|
||||
|
||||
public void setImageURL(String imageURL) {
|
||||
this.imageURL = imageURL;
|
||||
}
|
||||
|
||||
public int getCollectionFlag() {
|
||||
return collectionFlag;
|
||||
}
|
||||
|
||||
public void setCollectionFlag(int collectionFlag) {
|
||||
this.collectionFlag = collectionFlag;
|
||||
}
|
||||
|
||||
public String getExtension() {
|
||||
return extension;
|
||||
}
|
||||
|
||||
public void setExtension(String extension) {
|
||||
this.extension = extension;
|
||||
}
|
||||
|
||||
public String getPortalcode() {
|
||||
return portalcode;
|
||||
}
|
||||
|
||||
public void setPortalcode(String portalcode) {
|
||||
this.portalcode = portalcode;
|
||||
}
|
||||
|
||||
public String getSptoken() {
|
||||
return sptoken;
|
||||
}
|
||||
|
||||
public void setSptoken(String sptoken) {
|
||||
this.sptoken = sptoken;
|
||||
}
|
||||
|
||||
public String getTimeshift() {
|
||||
return timeshift;
|
||||
}
|
||||
|
||||
public void setTimeshift(String timeshift) {
|
||||
this.timeshift = timeshift;
|
||||
}
|
||||
|
||||
public String getSign() {
|
||||
return sign;
|
||||
}
|
||||
|
||||
public void setSign(String sign) {
|
||||
this.sign = sign;
|
||||
}
|
||||
}
|
||||
242
libdata/src/main/java/com/migu/bean/HljAddHistoryBean.java
Executable file
242
libdata/src/main/java/com/migu/bean/HljAddHistoryBean.java
Executable file
@@ -0,0 +1,242 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class HljAddHistoryBean {
|
||||
|
||||
private String cpPrvName;
|
||||
private String cpPrvType;
|
||||
private String account;
|
||||
private String cpPrvCode;
|
||||
private String cpLicense;
|
||||
private String programSeriesName;
|
||||
private String programId;
|
||||
private int seriesNumber;
|
||||
private int isPaid;
|
||||
private String programSeriesId;
|
||||
private ExtensionDTO extension;
|
||||
private String score;
|
||||
private String imageURL;
|
||||
private String intent;
|
||||
private String cpPermission;
|
||||
private String categoryName;
|
||||
private String portalcode;
|
||||
private String sptoken;
|
||||
private String timeshift;
|
||||
private int contentTotalTime;
|
||||
private int startWatchTime;
|
||||
private int endWatchTime;
|
||||
private int playTime;
|
||||
private int totalTime;
|
||||
private String logType;
|
||||
private String sign;
|
||||
|
||||
public String getCpPrvName() {
|
||||
return cpPrvName;
|
||||
}
|
||||
|
||||
public void setCpPrvName(String cpPrvName) {
|
||||
this.cpPrvName = cpPrvName;
|
||||
}
|
||||
|
||||
public String getCpPrvType() {
|
||||
return cpPrvType;
|
||||
}
|
||||
|
||||
public void setCpPrvType(String cpPrvType) {
|
||||
this.cpPrvType = cpPrvType;
|
||||
}
|
||||
|
||||
public String getAccount() {
|
||||
return account;
|
||||
}
|
||||
|
||||
public void setAccount(String account) {
|
||||
this.account = account;
|
||||
}
|
||||
|
||||
public String getCpPrvCode() {
|
||||
return cpPrvCode;
|
||||
}
|
||||
|
||||
public void setCpPrvCode(String cpPrvCode) {
|
||||
this.cpPrvCode = cpPrvCode;
|
||||
}
|
||||
|
||||
public String getCpLicense() {
|
||||
return cpLicense;
|
||||
}
|
||||
|
||||
public void setCpLicense(String cpLicense) {
|
||||
this.cpLicense = cpLicense;
|
||||
}
|
||||
|
||||
public String getProgramSeriesName() {
|
||||
return programSeriesName;
|
||||
}
|
||||
|
||||
public void setProgramSeriesName(String programSeriesName) {
|
||||
this.programSeriesName = programSeriesName;
|
||||
}
|
||||
|
||||
public String getProgramId() {
|
||||
return programId;
|
||||
}
|
||||
|
||||
public void setProgramId(String programId) {
|
||||
this.programId = programId;
|
||||
}
|
||||
|
||||
public int getSeriesNumber() {
|
||||
return seriesNumber;
|
||||
}
|
||||
|
||||
public void setSeriesNumber(int seriesNumber) {
|
||||
this.seriesNumber = seriesNumber;
|
||||
}
|
||||
|
||||
public int getIsPaid() {
|
||||
return isPaid;
|
||||
}
|
||||
|
||||
public void setIsPaid(int isPaid) {
|
||||
this.isPaid = isPaid;
|
||||
}
|
||||
|
||||
public String getProgramSeriesId() {
|
||||
return programSeriesId;
|
||||
}
|
||||
|
||||
public void setProgramSeriesId(String programSeriesId) {
|
||||
this.programSeriesId = programSeriesId;
|
||||
}
|
||||
|
||||
public ExtensionDTO getExtension() {
|
||||
return extension;
|
||||
}
|
||||
|
||||
public void setExtension(ExtensionDTO extension) {
|
||||
this.extension = extension;
|
||||
}
|
||||
|
||||
public String getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore(String score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public String getImageURL() {
|
||||
return imageURL;
|
||||
}
|
||||
|
||||
public void setImageURL(String imageURL) {
|
||||
this.imageURL = imageURL;
|
||||
}
|
||||
|
||||
public String getIntent() {
|
||||
return intent;
|
||||
}
|
||||
|
||||
public void setIntent(String intent) {
|
||||
this.intent = intent;
|
||||
}
|
||||
|
||||
public String getCpPermission() {
|
||||
return cpPermission;
|
||||
}
|
||||
|
||||
public void setCpPermission(String cpPermission) {
|
||||
this.cpPermission = cpPermission;
|
||||
}
|
||||
|
||||
public String getCategoryName() {
|
||||
return categoryName;
|
||||
}
|
||||
|
||||
public void setCategoryName(String categoryName) {
|
||||
this.categoryName = categoryName;
|
||||
}
|
||||
|
||||
public String getPortalcode() {
|
||||
return portalcode;
|
||||
}
|
||||
|
||||
public void setPortalcode(String portalcode) {
|
||||
this.portalcode = portalcode;
|
||||
}
|
||||
|
||||
public String getSptoken() {
|
||||
return sptoken;
|
||||
}
|
||||
|
||||
public void setSptoken(String sptoken) {
|
||||
this.sptoken = sptoken;
|
||||
}
|
||||
|
||||
public String getTimeshift() {
|
||||
return timeshift;
|
||||
}
|
||||
|
||||
public void setTimeshift(String timeshift) {
|
||||
this.timeshift = timeshift;
|
||||
}
|
||||
|
||||
public int getContentTotalTime() {
|
||||
return contentTotalTime;
|
||||
}
|
||||
|
||||
public void setContentTotalTime(int contentTotalTime) {
|
||||
this.contentTotalTime = contentTotalTime;
|
||||
}
|
||||
|
||||
public int getStartWatchTime() {
|
||||
return startWatchTime;
|
||||
}
|
||||
|
||||
public void setStartWatchTime(int startWatchTime) {
|
||||
this.startWatchTime = startWatchTime;
|
||||
}
|
||||
|
||||
public int getEndWatchTime() {
|
||||
return endWatchTime;
|
||||
}
|
||||
|
||||
public void setEndWatchTime(int endWatchTime) {
|
||||
this.endWatchTime = endWatchTime;
|
||||
}
|
||||
|
||||
public int getPlayTime() {
|
||||
return playTime;
|
||||
}
|
||||
|
||||
public void setPlayTime(int playTime) {
|
||||
this.playTime = playTime;
|
||||
}
|
||||
|
||||
public int getTotalTime() {
|
||||
return totalTime;
|
||||
}
|
||||
|
||||
public void setTotalTime(int totalTime) {
|
||||
this.totalTime = totalTime;
|
||||
}
|
||||
|
||||
public String getLogType() {
|
||||
return logType;
|
||||
}
|
||||
|
||||
public void setLogType(String logType) {
|
||||
this.logType = logType;
|
||||
}
|
||||
|
||||
public String getSign() {
|
||||
return sign;
|
||||
}
|
||||
|
||||
public void setSign(String sign) {
|
||||
this.sign = sign;
|
||||
}
|
||||
|
||||
public static class ExtensionDTO {
|
||||
}
|
||||
}
|
||||
96
libdata/src/main/java/com/migu/bean/IntentBean_Shanghai.java
Executable file
96
libdata/src/main/java/com/migu/bean/IntentBean_Shanghai.java
Executable file
@@ -0,0 +1,96 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
public class IntentBean_Shanghai {
|
||||
|
||||
private String action;
|
||||
@SerializedName("package")
|
||||
private String packageX;
|
||||
private ComponentDTO component;
|
||||
private ExtrasDTO extras;
|
||||
|
||||
public String getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
public void setAction(String action) {
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
public String getPackageX() {
|
||||
return packageX;
|
||||
}
|
||||
|
||||
public void setPackageX(String packageX) {
|
||||
this.packageX = packageX;
|
||||
}
|
||||
|
||||
public ComponentDTO getComponent() {
|
||||
return component;
|
||||
}
|
||||
|
||||
public void setComponent(ComponentDTO component) {
|
||||
this.component = component;
|
||||
}
|
||||
|
||||
public ExtrasDTO getExtras() {
|
||||
return extras;
|
||||
}
|
||||
|
||||
public void setExtras(ExtrasDTO extras) {
|
||||
this.extras = extras;
|
||||
}
|
||||
|
||||
public static class ComponentDTO {
|
||||
private String pkg;
|
||||
private String cls;
|
||||
|
||||
public String getPkg() {
|
||||
return pkg;
|
||||
}
|
||||
|
||||
public void setPkg(String pkg) {
|
||||
this.pkg = pkg;
|
||||
}
|
||||
|
||||
public String getCls() {
|
||||
return cls;
|
||||
}
|
||||
|
||||
public void setCls(String cls) {
|
||||
this.cls = cls;
|
||||
}
|
||||
}
|
||||
|
||||
public static class ExtrasDTO {
|
||||
private String cmd;
|
||||
private String from;
|
||||
private int media_id;
|
||||
|
||||
public String getCmd() {
|
||||
return cmd;
|
||||
}
|
||||
|
||||
public void setCmd(String cmd) {
|
||||
this.cmd = cmd;
|
||||
}
|
||||
|
||||
public String getFrom() {
|
||||
return from;
|
||||
}
|
||||
|
||||
public void setFrom(String from) {
|
||||
this.from = from;
|
||||
}
|
||||
|
||||
public int getMedia_id() {
|
||||
return media_id;
|
||||
}
|
||||
|
||||
public void setMedia_id(int media_id) {
|
||||
this.media_id = media_id;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
121
libdata/src/main/java/com/migu/bean/KYSDKPlayInfoUser.java
Executable file
121
libdata/src/main/java/com/migu/bean/KYSDKPlayInfoUser.java
Executable file
@@ -0,0 +1,121 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class KYSDKPlayInfoUser {
|
||||
private String playStatus;
|
||||
private String videoStartTimeCP;
|
||||
private String videoStartTimeKY;
|
||||
private String videoEndTimeCP;
|
||||
private String videoEndTimeKY;
|
||||
private String videoID;
|
||||
private String videoName;
|
||||
private String videoType;
|
||||
private String videoPayType;
|
||||
private String videoPrice;
|
||||
private long videoProgress;
|
||||
private long videoLength;
|
||||
private long videoPlayTimeCP;
|
||||
|
||||
public String getPlayStatus() {
|
||||
return playStatus;
|
||||
}
|
||||
|
||||
public void setPlayStatus(String playStatus) {
|
||||
this.playStatus = playStatus;
|
||||
}
|
||||
|
||||
public String getVideoStartTimeCP() {
|
||||
return videoStartTimeCP;
|
||||
}
|
||||
|
||||
public void setVideoStartTimeCP(String videoStartTimeCP) {
|
||||
this.videoStartTimeCP = videoStartTimeCP;
|
||||
}
|
||||
|
||||
public String getVideoStartTimeKY() {
|
||||
return videoStartTimeKY;
|
||||
}
|
||||
|
||||
public void setVideoStartTimeKY(String videoStartTimeKY) {
|
||||
this.videoStartTimeKY = videoStartTimeKY;
|
||||
}
|
||||
|
||||
public String getVideoEndTimeCP() {
|
||||
return videoEndTimeCP;
|
||||
}
|
||||
|
||||
public void setVideoEndTimeCP(String videoEndTimeCP) {
|
||||
this.videoEndTimeCP = videoEndTimeCP;
|
||||
}
|
||||
|
||||
public String getVideoEndTimeKY() {
|
||||
return videoEndTimeKY;
|
||||
}
|
||||
|
||||
public void setVideoEndTimeKY(String videoEndTimeKY) {
|
||||
this.videoEndTimeKY = videoEndTimeKY;
|
||||
}
|
||||
|
||||
public String getVideoID() {
|
||||
return videoID;
|
||||
}
|
||||
|
||||
public void setVideoID(String videoID) {
|
||||
this.videoID = videoID;
|
||||
}
|
||||
|
||||
public String getVideoName() {
|
||||
return videoName;
|
||||
}
|
||||
|
||||
public void setVideoName(String videoName) {
|
||||
this.videoName = videoName;
|
||||
}
|
||||
|
||||
public String getVideoType() {
|
||||
return videoType;
|
||||
}
|
||||
|
||||
public void setVideoType(String videoType) {
|
||||
this.videoType = videoType;
|
||||
}
|
||||
|
||||
public String getVideoPayType() {
|
||||
return videoPayType;
|
||||
}
|
||||
|
||||
public void setVideoPayType(String videoPayType) {
|
||||
this.videoPayType = videoPayType;
|
||||
}
|
||||
|
||||
public String getVideoPrice() {
|
||||
return videoPrice;
|
||||
}
|
||||
|
||||
public void setVideoPrice(String videoPrice) {
|
||||
this.videoPrice = videoPrice;
|
||||
}
|
||||
|
||||
public long getVideoProgress() {
|
||||
return videoProgress;
|
||||
}
|
||||
|
||||
public void setVideoProgress(long videoProgress) {
|
||||
this.videoProgress = videoProgress;
|
||||
}
|
||||
|
||||
public long getVideoLength() {
|
||||
return videoLength;
|
||||
}
|
||||
|
||||
public void setVideoLength(long videoLength) {
|
||||
this.videoLength = videoLength;
|
||||
}
|
||||
|
||||
public long getVideoPlayTimeCP() {
|
||||
return videoPlayTimeCP;
|
||||
}
|
||||
|
||||
public void setVideoPlayTimeCP(long videoPlayTimeCP) {
|
||||
this.videoPlayTimeCP = videoPlayTimeCP;
|
||||
}
|
||||
}
|
||||
38
libdata/src/main/java/com/migu/bean/KeyboardBean.java
Executable file
38
libdata/src/main/java/com/migu/bean/KeyboardBean.java
Executable file
@@ -0,0 +1,38 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class KeyboardBean {
|
||||
private String value;
|
||||
/*
|
||||
* type=1:普通按钮。
|
||||
* type=2:切换按钮。
|
||||
* type=3:清空。
|
||||
* type=4:删除。
|
||||
* */
|
||||
private int type;
|
||||
|
||||
public KeyboardBean(String value){
|
||||
this.value = value;
|
||||
this.type = 1;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public KeyboardBean(String value, int type){
|
||||
this.value = value;
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
22
libdata/src/main/java/com/migu/bean/MediaPlayerHeaderBean.java
Executable file
22
libdata/src/main/java/com/migu/bean/MediaPlayerHeaderBean.java
Executable file
@@ -0,0 +1,22 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* @Author: luoyu
|
||||
* @Time: 2020/4/22 0022 10:36
|
||||
* @Company:pukka
|
||||
* @Description: 播放器js传的设置
|
||||
*/
|
||||
public class MediaPlayerHeaderBean {
|
||||
@SerializedName("X-Disable-CMCC-Player")
|
||||
private String XDisableCMCCPlayer = "true";
|
||||
|
||||
public String getXDisableCMCCPlayer() {
|
||||
return XDisableCMCCPlayer;
|
||||
}
|
||||
|
||||
public void setXDisableCMCCPlayer(String XDisableCMCCPlayer) {
|
||||
this.XDisableCMCCPlayer = XDisableCMCCPlayer;
|
||||
}
|
||||
}
|
||||
48
libdata/src/main/java/com/migu/bean/NewtvBean.java
Executable file
48
libdata/src/main/java/com/migu/bean/NewtvBean.java
Executable file
@@ -0,0 +1,48 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class NewtvBean {
|
||||
|
||||
/**
|
||||
* status : 1
|
||||
* message : 认证成功(00:db:95:91:59:6b)
|
||||
* deviceid : 4dc3e9ea537f4e9a86458e05b3703f9e
|
||||
* loginmac : 00:db:95:91:59:6b
|
||||
*/
|
||||
|
||||
private String status;
|
||||
private String message;
|
||||
private String deviceid;
|
||||
private String loginmac;
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getDeviceid() {
|
||||
return deviceid;
|
||||
}
|
||||
|
||||
public void setDeviceid(String deviceid) {
|
||||
this.deviceid = deviceid;
|
||||
}
|
||||
|
||||
public String getLoginmac() {
|
||||
return loginmac;
|
||||
}
|
||||
|
||||
public void setLoginmac(String loginmac) {
|
||||
this.loginmac = loginmac;
|
||||
}
|
||||
}
|
||||
73
libdata/src/main/java/com/migu/bean/OTTSSOEntity.java
Executable file
73
libdata/src/main/java/com/migu/bean/OTTSSOEntity.java
Executable file
@@ -0,0 +1,73 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* Author: wxf
|
||||
* Date: 2024/1/18 14:39
|
||||
* Description:获取OTTUserToken接口返回实体
|
||||
*/
|
||||
public class OTTSSOEntity {
|
||||
|
||||
/**
|
||||
* UserID : 53402000104
|
||||
* Result : 0
|
||||
* Description : Success
|
||||
* OTTUserToken : 53402000104-A0:89:E4:55:11:07
|
||||
* expiredTime : 20180419174250
|
||||
* TimeOut : 2706
|
||||
*/
|
||||
|
||||
private String UserID;
|
||||
private String Result;
|
||||
private String Description;
|
||||
private String OTTUserToken;
|
||||
private String expiredTime;
|
||||
private String TimeOut;
|
||||
|
||||
public String getUserID() {
|
||||
return UserID;
|
||||
}
|
||||
|
||||
public void setUserID(String UserID) {
|
||||
this.UserID = UserID;
|
||||
}
|
||||
|
||||
public String getResult() {
|
||||
return Result;
|
||||
}
|
||||
|
||||
public void setResult(String Result) {
|
||||
this.Result = Result;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return Description;
|
||||
}
|
||||
|
||||
public void setDescription(String Description) {
|
||||
this.Description = Description;
|
||||
}
|
||||
|
||||
public String getOTTUserToken() {
|
||||
return OTTUserToken;
|
||||
}
|
||||
|
||||
public void setOTTUserToken(String OTTUserToken) {
|
||||
this.OTTUserToken = OTTUserToken;
|
||||
}
|
||||
|
||||
public String getExpiredTime() {
|
||||
return expiredTime;
|
||||
}
|
||||
|
||||
public void setExpiredTime(String expiredTime) {
|
||||
this.expiredTime = expiredTime;
|
||||
}
|
||||
|
||||
public String getTimeOut() {
|
||||
return TimeOut;
|
||||
}
|
||||
|
||||
public void setTimeOut(String TimeOut) {
|
||||
this.TimeOut = TimeOut;
|
||||
}
|
||||
}
|
||||
126
libdata/src/main/java/com/migu/bean/PassDataBean.java
Executable file
126
libdata/src/main/java/com/migu/bean/PassDataBean.java
Executable file
@@ -0,0 +1,126 @@
|
||||
package com.migu.bean;
|
||||
|
||||
|
||||
import com.pukka.libcore.utils.LogUtils;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class PassDataBean {
|
||||
/**
|
||||
* message : success
|
||||
* nowtime : 2022-06-22 17:16:50
|
||||
* result : [{"name":"用户登录放通开关","status":"1","type":"1"},{"name":"http://36.155.98.104:11283/migutv/pages/index/index.html","status":"1","type":"2"}]
|
||||
* resultcode : 200
|
||||
* timestamp : null
|
||||
*/
|
||||
|
||||
private String message;
|
||||
private String nowtime;
|
||||
private String resultcode;
|
||||
private Object timestamp;
|
||||
private List<ResultBean> result;
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getNowtime() {
|
||||
return nowtime;
|
||||
}
|
||||
|
||||
public void setNowtime(String nowtime) {
|
||||
this.nowtime = nowtime;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public Object getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(Object timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public List<ResultBean> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultBean> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public static class ResultBean {
|
||||
/**
|
||||
* name : 用户登录放通开关
|
||||
* status : 1
|
||||
* type : 1
|
||||
*/
|
||||
|
||||
private String name;
|
||||
private String status;
|
||||
private String type;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getIntStatus() {
|
||||
return convertIntString2Number(getStatus());
|
||||
}
|
||||
|
||||
public int getIntType() {
|
||||
return convertIntString2Number(getType());
|
||||
}
|
||||
|
||||
|
||||
|
||||
private int convertIntString2Number(String tempString) {
|
||||
int number = 0;
|
||||
if (!isEmpty(tempString)) {
|
||||
try {
|
||||
number = Integer.parseInt(tempString);
|
||||
} catch (NumberFormatException e) {
|
||||
LogUtils.d("NumberFormatException :" + e.getMessage());
|
||||
}
|
||||
}
|
||||
return number;
|
||||
}
|
||||
|
||||
|
||||
private boolean isEmpty(CharSequence s) {
|
||||
return s == null || s.length() == 0;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
221
libdata/src/main/java/com/migu/bean/PhoneDataBean.java
Executable file
221
libdata/src/main/java/com/migu/bean/PhoneDataBean.java
Executable file
@@ -0,0 +1,221 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Author: wxf
|
||||
* Date: 2022/5/30 10:09
|
||||
* Description:EPG获取的共享参数
|
||||
*/
|
||||
public class PhoneDataBean implements Serializable {
|
||||
|
||||
/**
|
||||
* result : 0
|
||||
* resultDesc : 成功
|
||||
* data : {"provinceInfo":{"stbId":"18302464192_200616022218@ott","mac":"2c:18:75:4f:36:62","accountIdentify":"18302464192","userId":"18302464192","token":"ZGY1NzJhZTZiMjlhN2Y0MWUxZDg0YWNhNjMzNGU0MjE3YjFmZmY1M2I0NjI4ODBhY2UyZDAxMjAxODdhNGQxOGM1NDRiMmE3MzZhMmQ1MDM4NGE1YjA2YmY2ZWI0YWE1ZGUzYWRkNjJlNWY4ZTRhZQ=="},"OTTInfo":{"userId":"18302464192_200616022218@ott","token":"22e7c7f5984cc683ba4c0c039a85b21e20220524103406","copyRightId":"699212","province":"08","city":"","phoneNumber":"8471c9ceab62fc9b2608416e8bcf0633","validTime":"2022-05-27 10:34:06"}}
|
||||
*/
|
||||
|
||||
private String result;
|
||||
private String resultDesc;
|
||||
private DataBean data;
|
||||
|
||||
public String getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(String result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public String getResultDesc() {
|
||||
return resultDesc;
|
||||
}
|
||||
|
||||
public void setResultDesc(String resultDesc) {
|
||||
this.resultDesc = resultDesc;
|
||||
}
|
||||
|
||||
public DataBean getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataBean data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataBean implements Serializable {
|
||||
/**
|
||||
* provinceInfo : {"stbId":"18302464192_200616022218@ott","mac":"2c:18:75:4f:36:62","accountIdentify":"18302464192","userId":"18302464192","token":"ZGY1NzJhZTZiMjlhN2Y0MWUxZDg0YWNhNjMzNGU0MjE3YjFmZmY1M2I0NjI4ODBhY2UyZDAxMjAxODdhNGQxOGM1NDRiMmE3MzZhMmQ1MDM4NGE1YjA2YmY2ZWI0YWE1ZGUzYWRkNjJlNWY4ZTRhZQ=="}
|
||||
* OTTInfo : {"userId":"18302464192_200616022218@ott","token":"22e7c7f5984cc683ba4c0c039a85b21e20220524103406","copyRightId":"699212","province":"08","city":"","phoneNumber":"8471c9ceab62fc9b2608416e8bcf0633","validTime":"2022-05-27 10:34:06"}
|
||||
*/
|
||||
|
||||
private ProvinceInfoBean provinceInfo;
|
||||
private OTTInfoBean OTTInfo;
|
||||
|
||||
public ProvinceInfoBean getProvinceInfo() {
|
||||
return provinceInfo;
|
||||
}
|
||||
|
||||
public void setProvinceInfo(ProvinceInfoBean provinceInfo) {
|
||||
this.provinceInfo = provinceInfo;
|
||||
}
|
||||
|
||||
public OTTInfoBean getOTTInfo() {
|
||||
return OTTInfo;
|
||||
}
|
||||
|
||||
public void setOTTInfo(OTTInfoBean OTTInfo) {
|
||||
this.OTTInfo = OTTInfo;
|
||||
}
|
||||
|
||||
public static class ProvinceInfoBean implements Serializable {
|
||||
/**
|
||||
* stbId : 18302464192_200616022218@ott
|
||||
* mac : 2c:18:75:4f:36:62
|
||||
* accountIdentify : 18302464192
|
||||
* userId : 18302464192
|
||||
* token : ZGY1NzJhZTZiMjlhN2Y0MWUxZDg0YWNhNjMzNGU0MjE3YjFmZmY1M2I0NjI4ODBhY2UyZDAxMjAxODdhNGQxOGM1NDRiMmE3MzZhMmQ1MDM4NGE1YjA2YmY2ZWI0YWE1ZGUzYWRkNjJlNWY4ZTRhZQ==
|
||||
*/
|
||||
|
||||
private String stbId;
|
||||
private String mac;
|
||||
private String accountIdentify;
|
||||
private String userId;
|
||||
private String token;
|
||||
private String EPGServer;
|
||||
private String platForm;
|
||||
|
||||
public String getEPGServer() {
|
||||
return EPGServer;
|
||||
}
|
||||
|
||||
public void setEPGServer(String EPGServer) {
|
||||
this.EPGServer = EPGServer;
|
||||
}
|
||||
|
||||
public String getPlatForm() {
|
||||
return platForm;
|
||||
}
|
||||
|
||||
public void setPlatForm(String platForm) {
|
||||
this.platForm = platForm;
|
||||
}
|
||||
|
||||
public String getStbId() {
|
||||
return stbId;
|
||||
}
|
||||
|
||||
public void setStbId(String stbId) {
|
||||
this.stbId = stbId;
|
||||
}
|
||||
|
||||
public String getMac() {
|
||||
return mac;
|
||||
}
|
||||
|
||||
public void setMac(String mac) {
|
||||
this.mac = mac;
|
||||
}
|
||||
|
||||
public String getAccountIdentify() {
|
||||
return accountIdentify;
|
||||
}
|
||||
|
||||
public void setAccountIdentify(String accountIdentify) {
|
||||
this.accountIdentify = accountIdentify;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getToken() {
|
||||
return token;
|
||||
}
|
||||
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
}
|
||||
|
||||
public static class OTTInfoBean implements Serializable {
|
||||
/**
|
||||
* userId : 18302464192_200616022218@ott
|
||||
* token : 22e7c7f5984cc683ba4c0c039a85b21e20220524103406
|
||||
* copyRightId : 699212
|
||||
* province : 08
|
||||
* city :
|
||||
* phoneNumber : 8471c9ceab62fc9b2608416e8bcf0633
|
||||
* validTime : 2022-05-27 10:34:06
|
||||
*/
|
||||
|
||||
private String userId;
|
||||
private String token;
|
||||
private String copyRightId;
|
||||
private String province;
|
||||
private String city;
|
||||
private String phoneNumber;
|
||||
private String validTime;
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getToken() {
|
||||
return token;
|
||||
}
|
||||
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
public String getCopyRightId() {
|
||||
return copyRightId;
|
||||
}
|
||||
|
||||
public void setCopyRightId(String copyRightId) {
|
||||
this.copyRightId = copyRightId;
|
||||
}
|
||||
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(String city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getPhoneNumber() {
|
||||
return phoneNumber;
|
||||
}
|
||||
|
||||
public void setPhoneNumber(String phoneNumber) {
|
||||
this.phoneNumber = phoneNumber;
|
||||
}
|
||||
|
||||
public String getValidTime() {
|
||||
return validTime;
|
||||
}
|
||||
|
||||
public void setValidTime(String validTime) {
|
||||
this.validTime = validTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
618
libdata/src/main/java/com/migu/bean/PlayHistoryBean.java
Executable file
618
libdata/src/main/java/com/migu/bean/PlayHistoryBean.java
Executable file
@@ -0,0 +1,618 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Auther: sunmm
|
||||
* @datetime: 2025/5/30 14:36
|
||||
* @desc: 获取播放历史记录的数据bean
|
||||
*/
|
||||
public class PlayHistoryBean implements Serializable {
|
||||
|
||||
@SerializedName("data")
|
||||
private List<DataDTO> data;
|
||||
@SerializedName("describe")
|
||||
private String describe;
|
||||
@SerializedName("pageCount")
|
||||
private Integer pageCount;
|
||||
@SerializedName("pagetotal")
|
||||
private Integer pagetotal;
|
||||
@SerializedName("result")
|
||||
private Integer result;
|
||||
@SerializedName("totalCount")
|
||||
private Integer totalCount;
|
||||
|
||||
public List<DataDTO> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataDTO> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public String getDescribe() {
|
||||
return describe;
|
||||
}
|
||||
|
||||
public void setDescribe(String describe) {
|
||||
this.describe = describe;
|
||||
}
|
||||
|
||||
public Integer getPageCount() {
|
||||
return pageCount;
|
||||
}
|
||||
|
||||
public void setPageCount(Integer pageCount) {
|
||||
this.pageCount = pageCount;
|
||||
}
|
||||
|
||||
public Integer getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public void setPagetotal(Integer pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public Integer getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(Integer result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public Integer getTotalCount() {
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
public void setTotalCount(Integer totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
@SerializedName("actordisplay")
|
||||
private String actordisplay;
|
||||
@SerializedName("actordisplayen")
|
||||
private String actordisplayen;
|
||||
@SerializedName("alltvzq")
|
||||
private String alltvzq;
|
||||
@SerializedName("alltvzqzx")
|
||||
private String alltvzqzx;
|
||||
@SerializedName("categoryid")
|
||||
private Integer categoryid;
|
||||
@SerializedName("categoryname")
|
||||
private String categoryname;
|
||||
@SerializedName("categorynameen")
|
||||
private String categorynameen;
|
||||
@SerializedName("code")
|
||||
private String code;
|
||||
@SerializedName("contentcode")
|
||||
private String contentcode;
|
||||
@SerializedName("contentcountryid")
|
||||
private Integer contentcountryid;
|
||||
@SerializedName("contentid")
|
||||
private Integer contentid;
|
||||
@SerializedName("contentkindid")
|
||||
private String contentkindid;
|
||||
@SerializedName("contentkindname")
|
||||
private String contentkindname;
|
||||
@SerializedName("contentkindnameen")
|
||||
private String contentkindnameen;
|
||||
@SerializedName("contentname")
|
||||
private String contentname;
|
||||
@SerializedName("contenttype")
|
||||
private Integer contenttype;
|
||||
@SerializedName("contentyearid")
|
||||
private Integer contentyearid;
|
||||
@SerializedName("cornername")
|
||||
private String cornername;
|
||||
@SerializedName("cornerpicurl")
|
||||
private String cornerpicurl;
|
||||
@SerializedName("cpid")
|
||||
private String cpid;
|
||||
@SerializedName("cpname")
|
||||
private String cpname;
|
||||
@SerializedName("createtime")
|
||||
private String createtime;
|
||||
@SerializedName("createtimeString")
|
||||
private String createtimeString;
|
||||
@SerializedName("duration")
|
||||
private Integer duration;
|
||||
@SerializedName("episodeindex")
|
||||
private Integer episodeindex;
|
||||
@SerializedName("extendimg")
|
||||
private String extendimg;
|
||||
@SerializedName("icon")
|
||||
private String icon;
|
||||
@SerializedName("id")
|
||||
private Object id;
|
||||
@SerializedName("is4k")
|
||||
private String is4k;
|
||||
@SerializedName("isay")
|
||||
private Integer isay;
|
||||
@SerializedName("isvr")
|
||||
private String isvr;
|
||||
@SerializedName("mgjscode")
|
||||
private String mgjscode;
|
||||
@SerializedName("midimg")
|
||||
private String midimg;
|
||||
@SerializedName("midimg2")
|
||||
private String midimg2;
|
||||
@SerializedName("originalcountry")
|
||||
private String originalcountry;
|
||||
@SerializedName("originalcountryen")
|
||||
private String originalcountryen;
|
||||
@SerializedName("parentcode")
|
||||
private String parentcode;
|
||||
@SerializedName("parentid")
|
||||
private Integer parentid;
|
||||
@SerializedName("playlong")
|
||||
private Integer playlong;
|
||||
@SerializedName("playtime")
|
||||
private String playtime;
|
||||
@SerializedName("playtimeString")
|
||||
private String playtimeString;
|
||||
@SerializedName("posterimg3")
|
||||
private String posterimg3;
|
||||
@SerializedName("ratelist")
|
||||
private List<?> ratelist;
|
||||
@SerializedName("score")
|
||||
private String score;
|
||||
@SerializedName("spid")
|
||||
private String spid;
|
||||
@SerializedName("spname")
|
||||
private String spname;
|
||||
@SerializedName("stbid")
|
||||
private String stbid;
|
||||
@SerializedName("updatetime")
|
||||
private String updatetime;
|
||||
@SerializedName("updatetimeString")
|
||||
private String updatetimeString;
|
||||
@SerializedName("usercode")
|
||||
private String usercode;
|
||||
@SerializedName("userid")
|
||||
private Object userid;
|
||||
@SerializedName("username")
|
||||
private String username;
|
||||
@SerializedName("writerdisplay")
|
||||
private String writerdisplay;
|
||||
@SerializedName("writerdisplayen")
|
||||
private String writerdisplayen;
|
||||
|
||||
public String getActordisplay() {
|
||||
return actordisplay;
|
||||
}
|
||||
|
||||
public void setActordisplay(String actordisplay) {
|
||||
this.actordisplay = actordisplay;
|
||||
}
|
||||
|
||||
public String getActordisplayen() {
|
||||
return actordisplayen;
|
||||
}
|
||||
|
||||
public void setActordisplayen(String actordisplayen) {
|
||||
this.actordisplayen = actordisplayen;
|
||||
}
|
||||
|
||||
public String getAlltvzq() {
|
||||
return alltvzq;
|
||||
}
|
||||
|
||||
public void setAlltvzq(String alltvzq) {
|
||||
this.alltvzq = alltvzq;
|
||||
}
|
||||
|
||||
public String getAlltvzqzx() {
|
||||
return alltvzqzx;
|
||||
}
|
||||
|
||||
public void setAlltvzqzx(String alltvzqzx) {
|
||||
this.alltvzqzx = alltvzqzx;
|
||||
}
|
||||
|
||||
public Integer getCategoryid() {
|
||||
return categoryid;
|
||||
}
|
||||
|
||||
public void setCategoryid(Integer categoryid) {
|
||||
this.categoryid = categoryid;
|
||||
}
|
||||
|
||||
public String getCategoryname() {
|
||||
return categoryname;
|
||||
}
|
||||
|
||||
public void setCategoryname(String categoryname) {
|
||||
this.categoryname = categoryname;
|
||||
}
|
||||
|
||||
public String getCategorynameen() {
|
||||
return categorynameen;
|
||||
}
|
||||
|
||||
public void setCategorynameen(String categorynameen) {
|
||||
this.categorynameen = categorynameen;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getContentcode() {
|
||||
return contentcode;
|
||||
}
|
||||
|
||||
public void setContentcode(String contentcode) {
|
||||
this.contentcode = contentcode;
|
||||
}
|
||||
|
||||
public Integer getContentcountryid() {
|
||||
return contentcountryid;
|
||||
}
|
||||
|
||||
public void setContentcountryid(Integer contentcountryid) {
|
||||
this.contentcountryid = contentcountryid;
|
||||
}
|
||||
|
||||
public Integer getContentid() {
|
||||
return contentid;
|
||||
}
|
||||
|
||||
public void setContentid(Integer contentid) {
|
||||
this.contentid = contentid;
|
||||
}
|
||||
|
||||
public String getContentkindid() {
|
||||
return contentkindid;
|
||||
}
|
||||
|
||||
public void setContentkindid(String contentkindid) {
|
||||
this.contentkindid = contentkindid;
|
||||
}
|
||||
|
||||
public String getContentkindname() {
|
||||
return contentkindname;
|
||||
}
|
||||
|
||||
public void setContentkindname(String contentkindname) {
|
||||
this.contentkindname = contentkindname;
|
||||
}
|
||||
|
||||
public String getContentkindnameen() {
|
||||
return contentkindnameen;
|
||||
}
|
||||
|
||||
public void setContentkindnameen(String contentkindnameen) {
|
||||
this.contentkindnameen = contentkindnameen;
|
||||
}
|
||||
|
||||
public String getContentname() {
|
||||
return contentname;
|
||||
}
|
||||
|
||||
public void setContentname(String contentname) {
|
||||
this.contentname = contentname;
|
||||
}
|
||||
|
||||
public Integer getContenttype() {
|
||||
return contenttype;
|
||||
}
|
||||
|
||||
public void setContenttype(Integer contenttype) {
|
||||
this.contenttype = contenttype;
|
||||
}
|
||||
|
||||
public Integer getContentyearid() {
|
||||
return contentyearid;
|
||||
}
|
||||
|
||||
public void setContentyearid(Integer contentyearid) {
|
||||
this.contentyearid = contentyearid;
|
||||
}
|
||||
|
||||
public String getCornername() {
|
||||
return cornername;
|
||||
}
|
||||
|
||||
public void setCornername(String cornername) {
|
||||
this.cornername = cornername;
|
||||
}
|
||||
|
||||
public String getCornerpicurl() {
|
||||
return cornerpicurl;
|
||||
}
|
||||
|
||||
public void setCornerpicurl(String cornerpicurl) {
|
||||
this.cornerpicurl = cornerpicurl;
|
||||
}
|
||||
|
||||
public String getCpid() {
|
||||
return cpid;
|
||||
}
|
||||
|
||||
public void setCpid(String cpid) {
|
||||
this.cpid = cpid;
|
||||
}
|
||||
|
||||
public String getCpname() {
|
||||
return cpname;
|
||||
}
|
||||
|
||||
public void setCpname(String cpname) {
|
||||
this.cpname = cpname;
|
||||
}
|
||||
|
||||
public String getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(String createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public String getCreatetimeString() {
|
||||
return createtimeString;
|
||||
}
|
||||
|
||||
public void setCreatetimeString(String createtimeString) {
|
||||
this.createtimeString = createtimeString;
|
||||
}
|
||||
|
||||
public Integer getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(Integer duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public Integer getEpisodeindex() {
|
||||
return episodeindex;
|
||||
}
|
||||
|
||||
public void setEpisodeindex(Integer episodeindex) {
|
||||
this.episodeindex = episodeindex;
|
||||
}
|
||||
|
||||
public String getExtendimg() {
|
||||
return extendimg;
|
||||
}
|
||||
|
||||
public void setExtendimg(String extendimg) {
|
||||
this.extendimg = extendimg;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public Object getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Object id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getIs4k() {
|
||||
return is4k;
|
||||
}
|
||||
|
||||
public void setIs4k(String is4k) {
|
||||
this.is4k = is4k;
|
||||
}
|
||||
|
||||
public Integer getIsay() {
|
||||
return isay;
|
||||
}
|
||||
|
||||
public void setIsay(Integer isay) {
|
||||
this.isay = isay;
|
||||
}
|
||||
|
||||
public String getIsvr() {
|
||||
return isvr;
|
||||
}
|
||||
|
||||
public void setIsvr(String isvr) {
|
||||
this.isvr = isvr;
|
||||
}
|
||||
|
||||
public String getMgjscode() {
|
||||
return mgjscode;
|
||||
}
|
||||
|
||||
public void setMgjscode(String mgjscode) {
|
||||
this.mgjscode = mgjscode;
|
||||
}
|
||||
|
||||
public String getMidimg() {
|
||||
return midimg;
|
||||
}
|
||||
|
||||
public void setMidimg(String midimg) {
|
||||
this.midimg = midimg;
|
||||
}
|
||||
|
||||
public String getMidimg2() {
|
||||
return midimg2;
|
||||
}
|
||||
|
||||
public void setMidimg2(String midimg2) {
|
||||
this.midimg2 = midimg2;
|
||||
}
|
||||
|
||||
public String getOriginalcountry() {
|
||||
return originalcountry;
|
||||
}
|
||||
|
||||
public void setOriginalcountry(String originalcountry) {
|
||||
this.originalcountry = originalcountry;
|
||||
}
|
||||
|
||||
public String getOriginalcountryen() {
|
||||
return originalcountryen;
|
||||
}
|
||||
|
||||
public void setOriginalcountryen(String originalcountryen) {
|
||||
this.originalcountryen = originalcountryen;
|
||||
}
|
||||
|
||||
public String getParentcode() {
|
||||
return parentcode;
|
||||
}
|
||||
|
||||
public void setParentcode(String parentcode) {
|
||||
this.parentcode = parentcode;
|
||||
}
|
||||
|
||||
public Integer getParentid() {
|
||||
return parentid;
|
||||
}
|
||||
|
||||
public void setParentid(Integer parentid) {
|
||||
this.parentid = parentid;
|
||||
}
|
||||
|
||||
public Integer getPlaylong() {
|
||||
return playlong;
|
||||
}
|
||||
|
||||
public void setPlaylong(Integer playlong) {
|
||||
this.playlong = playlong;
|
||||
}
|
||||
|
||||
public String getPlaytime() {
|
||||
return playtime;
|
||||
}
|
||||
|
||||
public void setPlaytime(String playtime) {
|
||||
this.playtime = playtime;
|
||||
}
|
||||
|
||||
public String getPlaytimeString() {
|
||||
return playtimeString;
|
||||
}
|
||||
|
||||
public void setPlaytimeString(String playtimeString) {
|
||||
this.playtimeString = playtimeString;
|
||||
}
|
||||
|
||||
public String getPosterimg3() {
|
||||
return posterimg3;
|
||||
}
|
||||
|
||||
public void setPosterimg3(String posterimg3) {
|
||||
this.posterimg3 = posterimg3;
|
||||
}
|
||||
|
||||
public List<?> getRatelist() {
|
||||
return ratelist;
|
||||
}
|
||||
|
||||
public void setRatelist(List<?> ratelist) {
|
||||
this.ratelist = ratelist;
|
||||
}
|
||||
|
||||
public String getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore(String score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public String getSpid() {
|
||||
return spid;
|
||||
}
|
||||
|
||||
public void setSpid(String spid) {
|
||||
this.spid = spid;
|
||||
}
|
||||
|
||||
public String getSpname() {
|
||||
return spname;
|
||||
}
|
||||
|
||||
public void setSpname(String spname) {
|
||||
this.spname = spname;
|
||||
}
|
||||
|
||||
public String getStbid() {
|
||||
return stbid;
|
||||
}
|
||||
|
||||
public void setStbid(String stbid) {
|
||||
this.stbid = stbid;
|
||||
}
|
||||
|
||||
public String getUpdatetime() {
|
||||
return updatetime;
|
||||
}
|
||||
|
||||
public void setUpdatetime(String updatetime) {
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
public String getUpdatetimeString() {
|
||||
return updatetimeString;
|
||||
}
|
||||
|
||||
public void setUpdatetimeString(String updatetimeString) {
|
||||
this.updatetimeString = updatetimeString;
|
||||
}
|
||||
|
||||
public String getUsercode() {
|
||||
return usercode;
|
||||
}
|
||||
|
||||
public void setUsercode(String usercode) {
|
||||
this.usercode = usercode;
|
||||
}
|
||||
|
||||
public Object getUserid() {
|
||||
return userid;
|
||||
}
|
||||
|
||||
public void setUserid(Object userid) {
|
||||
this.userid = userid;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getWriterdisplay() {
|
||||
return writerdisplay;
|
||||
}
|
||||
|
||||
public void setWriterdisplay(String writerdisplay) {
|
||||
this.writerdisplay = writerdisplay;
|
||||
}
|
||||
|
||||
public String getWriterdisplayen() {
|
||||
return writerdisplayen;
|
||||
}
|
||||
|
||||
public void setWriterdisplayen(String writerdisplayen) {
|
||||
this.writerdisplayen = writerdisplayen;
|
||||
}
|
||||
}
|
||||
}
|
||||
61
libdata/src/main/java/com/migu/bean/Province.java
Executable file
61
libdata/src/main/java/com/migu/bean/Province.java
Executable file
@@ -0,0 +1,61 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class Province {
|
||||
static String str = "{\n" +
|
||||
" \"北京\":32,\n" +
|
||||
" \"天津\":33,\n" +
|
||||
" \"河北\":34,\n" +
|
||||
" \"山西\":35,\n" +
|
||||
" \"内蒙古\":36,\n" +
|
||||
" \"辽宁\":37,\n" +
|
||||
" \"吉林\":38,\n" +
|
||||
" \"黑龙江\":39,\n" +
|
||||
" \"上海\":40,\n" +
|
||||
" \"江苏\":41,\n" +
|
||||
" \"浙江\":42,\n" +
|
||||
" \"安徽\":43,\n" +
|
||||
" \"福建\":44,\n" +
|
||||
" \"江西\":45,\n" +
|
||||
" \"山东\":46,\n" +
|
||||
" \"河南\":47,\n" +
|
||||
" \"湖北\":48,\n" +
|
||||
" \"湖南\":49,\n" +
|
||||
" \"广东\":50,\n" +
|
||||
" \"海南\":51,\n" +
|
||||
" \"广西\":52,\n" +
|
||||
" \"重庆\":53,\n" +
|
||||
" \"四川\":54,\n" +
|
||||
" \"贵州\":55,\n" +
|
||||
" \"云南\":56,\n" +
|
||||
" \"陕西\":57,\n" +
|
||||
" \"甘肃\":58,\n" +
|
||||
" \"青海\":59,\n" +
|
||||
" \"宁夏\":60,\n" +
|
||||
" \"新疆\":61,\n" +
|
||||
" \"西藏\":62,\n" +
|
||||
" \"香港\":63,\n" +
|
||||
" \"澳门\":64,\n" +
|
||||
" \"台湾\":65,\n" +
|
||||
" \"全国\":99\n" +
|
||||
"}\n" ;
|
||||
|
||||
/**
|
||||
* 获取省份的map
|
||||
* @return
|
||||
*/
|
||||
public static Map<String, Integer> getProvinceMap() {
|
||||
Map<String, Integer> headerMap = new HashMap<String, Integer>();
|
||||
if (!TextUtils.isEmpty(str)) {
|
||||
headerMap = JSON.parseObject(str,Map.class);
|
||||
}
|
||||
return headerMap;
|
||||
}
|
||||
|
||||
}
|
||||
107
libdata/src/main/java/com/migu/bean/RateBean.java
Executable file
107
libdata/src/main/java/com/migu/bean/RateBean.java
Executable file
@@ -0,0 +1,107 @@
|
||||
|
||||
package com.migu.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* [一句话功能简述]<BR>
|
||||
* [清晰度列表bean]<BR>
|
||||
*
|
||||
* @author devel
|
||||
* @version [V0.1.0.1, 2023/9/12 0012]
|
||||
* @since V0.1.0.1
|
||||
*/
|
||||
public class RateBean implements Serializable {
|
||||
private String rateurlzx;
|
||||
|
||||
private String rateurl;
|
||||
|
||||
private String name;
|
||||
|
||||
private String type;
|
||||
|
||||
private String mediaspec;
|
||||
|
||||
private boolean hasSelected;
|
||||
|
||||
private String contentcode;
|
||||
private String code;
|
||||
|
||||
public String getRateurlzx() {
|
||||
return rateurlzx;
|
||||
}
|
||||
|
||||
public void setRateurlzx(String rateurlzx) {
|
||||
this.rateurlzx = rateurlzx;
|
||||
}
|
||||
|
||||
public String getRateurl() {
|
||||
return rateurl;
|
||||
}
|
||||
|
||||
public void setRateurl(String rateurl) {
|
||||
this.rateurl = rateurl;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getMediaspec() {
|
||||
return mediaspec;
|
||||
}
|
||||
|
||||
public void setMediaspec(String mediaspec) {
|
||||
this.mediaspec = mediaspec;
|
||||
}
|
||||
|
||||
public boolean isHasSelected() {
|
||||
return hasSelected;
|
||||
}
|
||||
|
||||
public void setHasSelected(boolean hasSelected) {
|
||||
this.hasSelected = hasSelected;
|
||||
}
|
||||
|
||||
public String getContentcode() {
|
||||
return contentcode;
|
||||
}
|
||||
|
||||
public void setContentcode(String contentcode) {
|
||||
this.contentcode = contentcode;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "RateBean{" +
|
||||
"rateurlzx='" + rateurlzx + '\'' +
|
||||
", rateurl='" + rateurl + '\'' +
|
||||
", name='" + name + '\'' +
|
||||
", type='" + type + '\'' +
|
||||
", mediaspec='" + mediaspec + '\'' +
|
||||
", contentcode='" + contentcode + '\'' +
|
||||
", code='" + code + '\'' +
|
||||
", hasSelected=" + hasSelected +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
18
libdata/src/main/java/com/migu/bean/ReleaseVideoBean.java
Executable file
18
libdata/src/main/java/com/migu/bean/ReleaseVideoBean.java
Executable file
@@ -0,0 +1,18 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* create by xujiangyun at 2024/4/10
|
||||
*
|
||||
*/
|
||||
|
||||
public class ReleaseVideoBean {
|
||||
private boolean isReleaseVideo;
|
||||
|
||||
public boolean isReleaseVideo() {
|
||||
return isReleaseVideo;
|
||||
}
|
||||
|
||||
public void setReleaseVideo(boolean releaseVideo) {
|
||||
isReleaseVideo = releaseVideo;
|
||||
}
|
||||
}
|
||||
17
libdata/src/main/java/com/migu/bean/ResumeVideoBean.java
Executable file
17
libdata/src/main/java/com/migu/bean/ResumeVideoBean.java
Executable file
@@ -0,0 +1,17 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* create by xujiangyun at 2024/4/10
|
||||
*/
|
||||
|
||||
public class ResumeVideoBean {
|
||||
private boolean isResumeVideo;
|
||||
|
||||
public boolean isResumeVideo() {
|
||||
return isResumeVideo;
|
||||
}
|
||||
|
||||
public void setResumeVideo(boolean resumeVideo) {
|
||||
isResumeVideo = resumeVideo;
|
||||
}
|
||||
}
|
||||
530
libdata/src/main/java/com/migu/bean/SearchRecommendBean.java
Executable file
530
libdata/src/main/java/com/migu/bean/SearchRecommendBean.java
Executable file
File diff suppressed because one or more lines are too long
950
libdata/src/main/java/com/migu/bean/SearchResultBean.java
Executable file
950
libdata/src/main/java/com/migu/bean/SearchResultBean.java
Executable file
@@ -0,0 +1,950 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* create by xujiangyun at 2025/5/27
|
||||
*/
|
||||
|
||||
public class SearchResultBean {
|
||||
|
||||
/**
|
||||
* buttonMsg : null
|
||||
* buttonStatus : 0
|
||||
* buttonUrl : null
|
||||
* clientIp : null
|
||||
* errorCode : null
|
||||
* nowtime : 2025-05-27 14:40:09
|
||||
* pageindex : 1
|
||||
* pagesize : 10
|
||||
* pagetotal : 1
|
||||
* result : [{"actordisplay":"李居明|倪淑君","alltvzq":null,"alltvzqzx":null,"auditid":null,"bitrateid":null,"catalogid":"476","catalogname":null,"categoryname":null,"code":"23010012025042216303314758","contentcode":"23010012025042216303314758","contentform":null,"contentkindname":null,"contenttype":3,"cornerMarkPic":null,"cornerMarkType":null,"cpid":null,"createname":null,"createtime":"2025-05-20 14:36:36.0","description":"这是一个真实的个人经历实录\u2026\u2026 灵学专家李居明为寻狐仙是否真正存在的真相,在1991年中,亲自走访绝传之狐仙研究专家陈平原,得悉目前共有六十只狐仙存在於世,有些更遗害人间。调查包括: 香港乾德道住客离奇死亡及多宗跛脚事件; 树根显现狐仙样貌; 苏东坡遇仙及葛洪与黄大仙成仙秘密; 世运风云人物杨传广变成施符作法的灵媒; 鬼婆以 「推灵法」示范驱魔治病等\u2026\u2026","duration":5190,"episodecount":1,"episodeindex":0,"firstproject":"电影","id":1,"if6ispublish":1,"is4k":null,"isFree":0,"is_recommend_type":null,"isbokong":0,"islock":0,"ismissing":null,"ispublish":1,"ispublishdesc":null,"issynchronization":0,"istrailing":null,"isvr":null,"language":"普通话","licensingwindowend":"20990520102651","licensingwindowstart":"20250520102651","longshortvideo":null,"lookDuration":null,"mgjscode":null,"midimg":"https://img01.jetsenx.huashi.tv/img/movie/damixin/448x672.png","midimg2":"https://img01.jetsenx.huashi.tv/img/movie/damixin/448x252.png","mpid":null,"mvid":null,"name":"大迷信(粤语版)","nameenglish":null,"originalcountry":"中国香港","parentContentCode":null,"parentContentId":null,"parentContentName":null,"parentContentType":null,"parentid":0,"posterimg":"https://img01.jetsenx.huashi.tv/img/movie/damixin/448x672.png","publishtime":null,"publishtimeString":null,"ratelist":null,"recommendTag":null,"releaseyear":"1992","resultcode":"0","resultdesc":null,"score":null,"scriptwriter":"佚名","searchname":"dms(yyb)|dmx(yyb)","secondproject":"纪录片","seriesShowType":null,"seriesSortRule":null,"serviceBillingCode":null,"serviceStrategyCode":null,"source":null,"status":1,"strategyFlag":null,"subcontents":null,"thirdproject":null,"thumbimg":"https://img01.jetsenx.huashi.tv/img/movie/damixin/448x252.png","updatename":"admin","updatetime":"2025-05-26 16:48:12.0","writerdisplay":"卢庭杰","zqIsfree":0},{"actordisplay":"李居明|倪淑君","alltvzq":null,"alltvzqzx":null,"auditid":null,"bitrateid":null,"catalogid":"476","catalogname":null,"categoryname":null,"code":"23010012025042216303314757","contentcode":"23010012025042216303314757","contentform":null,"contentkindname":null,"contenttype":3,"cornerMarkPic":null,"cornerMarkType":null,"cpid":null,"createname":null,"createtime":"2025-05-20 14:36:36.0","description":"这是一个真实的个人经历实录\u2026\u2026 灵学专家李居明为寻狐仙是否真正存在的真相,在1991年中,亲自走访绝传之狐仙研究专家陈平原,得悉目前共有六十只狐仙存在於世,有些更遗害人间。调查包括: 香港乾德道住客离奇死亡及多宗跛脚事件; 树根显现狐仙样貌; 苏东坡遇仙及葛洪与黄大仙成仙秘密; 世运风云人物杨传广变成施符作法的灵媒; 鬼婆以 「推灵法」示范驱魔治病等\u2026\u2026","duration":5190,"episodecount":1,"episodeindex":0,"firstproject":"电影","id":3,"if6ispublish":1,"is4k":null,"isFree":0,"is_recommend_type":null,"isbokong":0,"islock":0,"ismissing":null,"ispublish":1,"ispublishdesc":null,"issynchronization":0,"istrailing":null,"isvr":null,"language":"普通话","licensingwindowend":"20990520102651","licensingwindowstart":"20250520102651","longshortvideo":null,"lookDuration":null,"mgjscode":null,"midimg":"https://img01.jetsenx.huashi.tv/img/movie/damixin/448x672.png","midimg2":"https://img01.jetsenx.huashi.tv/img/movie/damixin/448x252.png","mpid":null,"mvid":null,"name":"大迷信(国语版)","nameenglish":null,"originalcountry":"中国香港","parentContentCode":null,"parentContentId":null,"parentContentName":null,"parentContentType":null,"parentid":0,"posterimg":"https://img01.jetsenx.huashi.tv/img/movie/damixin/448x672.png","publishtime":null,"publishtimeString":null,"ratelist":null,"recommendTag":null,"releaseyear":"1992","resultcode":"0","resultdesc":null,"score":null,"scriptwriter":"佚名","searchname":"dms(gyb)|dmx(gyb)","secondproject":"纪录片","seriesShowType":null,"seriesSortRule":null,"serviceBillingCode":null,"serviceStrategyCode":null,"source":null,"status":1,"strategyFlag":null,"subcontents":null,"thirdproject":null,"thumbimg":"https://img01.jetsenx.huashi.tv/img/movie/damixin/448x252.png","updatename":"admin","updatetime":"2025-05-26 16:48:13.0","writerdisplay":"卢庭杰","zqIsfree":0}]
|
||||
* resultcode : 0
|
||||
* resultdesc : success
|
||||
* sizetotal : 2
|
||||
*/
|
||||
|
||||
private Object buttonMsg;
|
||||
private int buttonStatus;
|
||||
private Object buttonUrl;
|
||||
private Object clientIp;
|
||||
private Object errorCode;
|
||||
private String nowtime;
|
||||
private int pageindex;
|
||||
private int pagesize;
|
||||
private int pagetotal;
|
||||
private String resultcode;
|
||||
private String resultdesc;
|
||||
private int sizetotal;
|
||||
private List<ResultBean> result;
|
||||
|
||||
public Object getButtonMsg() {
|
||||
return buttonMsg;
|
||||
}
|
||||
|
||||
public void setButtonMsg(Object buttonMsg) {
|
||||
this.buttonMsg = buttonMsg;
|
||||
}
|
||||
|
||||
public int getButtonStatus() {
|
||||
return buttonStatus;
|
||||
}
|
||||
|
||||
public void setButtonStatus(int buttonStatus) {
|
||||
this.buttonStatus = buttonStatus;
|
||||
}
|
||||
|
||||
public Object getButtonUrl() {
|
||||
return buttonUrl;
|
||||
}
|
||||
|
||||
public void setButtonUrl(Object buttonUrl) {
|
||||
this.buttonUrl = buttonUrl;
|
||||
}
|
||||
|
||||
public Object getClientIp() {
|
||||
return clientIp;
|
||||
}
|
||||
|
||||
public void setClientIp(Object clientIp) {
|
||||
this.clientIp = clientIp;
|
||||
}
|
||||
|
||||
public Object getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(Object errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public String getNowtime() {
|
||||
return nowtime;
|
||||
}
|
||||
|
||||
public void setNowtime(String nowtime) {
|
||||
this.nowtime = nowtime;
|
||||
}
|
||||
|
||||
public int getPageindex() {
|
||||
return pageindex;
|
||||
}
|
||||
|
||||
public void setPageindex(int pageindex) {
|
||||
this.pageindex = pageindex;
|
||||
}
|
||||
|
||||
public int getPagesize() {
|
||||
return pagesize;
|
||||
}
|
||||
|
||||
public void setPagesize(int pagesize) {
|
||||
this.pagesize = pagesize;
|
||||
}
|
||||
|
||||
public int getPagetotal() {
|
||||
return pagetotal;
|
||||
}
|
||||
|
||||
public void setPagetotal(int pagetotal) {
|
||||
this.pagetotal = pagetotal;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public String getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(String resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public int getSizetotal() {
|
||||
return sizetotal;
|
||||
}
|
||||
|
||||
public void setSizetotal(int sizetotal) {
|
||||
this.sizetotal = sizetotal;
|
||||
}
|
||||
|
||||
public List<ResultBean> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultBean> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public static class ResultBean {
|
||||
/**
|
||||
* actordisplay : 李居明|倪淑君
|
||||
* alltvzq : null
|
||||
* alltvzqzx : null
|
||||
* auditid : null
|
||||
* bitrateid : null
|
||||
* catalogid : 476
|
||||
* catalogname : null
|
||||
* categoryname : null
|
||||
* code : 23010012025042216303314758
|
||||
* contentcode : 23010012025042216303314758
|
||||
* contentform : null
|
||||
* contentkindname : null
|
||||
* contenttype : 3
|
||||
* cornerMarkPic : null
|
||||
* cornerMarkType : null
|
||||
* cpid : null
|
||||
* createname : null
|
||||
* createtime : 2025-05-20 14:36:36.0
|
||||
* description : 这是一个真实的个人经历实录…… 灵学专家李居明为寻狐仙是否真正存在的真相,在1991年中,亲自走访绝传之狐仙研究专家陈平原,得悉目前共有六十只狐仙存在於世,有些更遗害人间。调查包括: 香港乾德道住客离奇死亡及多宗跛脚事件; 树根显现狐仙样貌; 苏东坡遇仙及葛洪与黄大仙成仙秘密; 世运风云人物杨传广变成施符作法的灵媒; 鬼婆以 「推灵法」示范驱魔治病等……
|
||||
* duration : 5190
|
||||
* episodecount : 1
|
||||
* episodeindex : 0
|
||||
* firstproject : 电影
|
||||
* id : 1
|
||||
* if6ispublish : 1
|
||||
* is4k : null
|
||||
* isFree : 0
|
||||
* is_recommend_type : null
|
||||
* isbokong : 0
|
||||
* islock : 0
|
||||
* ismissing : null
|
||||
* ispublish : 1
|
||||
* ispublishdesc : null
|
||||
* issynchronization : 0
|
||||
* istrailing : null
|
||||
* isvr : null
|
||||
* language : 普通话
|
||||
* licensingwindowend : 20990520102651
|
||||
* licensingwindowstart : 20250520102651
|
||||
* longshortvideo : null
|
||||
* lookDuration : null
|
||||
* mgjscode : null
|
||||
* midimg : https://img01.jetsenx.huashi.tv/img/movie/damixin/448x672.png
|
||||
* midimg2 : https://img01.jetsenx.huashi.tv/img/movie/damixin/448x252.png
|
||||
* mpid : null
|
||||
* mvid : null
|
||||
* name : 大迷信(粤语版)
|
||||
* nameenglish : null
|
||||
* originalcountry : 中国香港
|
||||
* parentContentCode : null
|
||||
* parentContentId : null
|
||||
* parentContentName : null
|
||||
* parentContentType : null
|
||||
* parentid : 0
|
||||
* posterimg : https://img01.jetsenx.huashi.tv/img/movie/damixin/448x672.png
|
||||
* publishtime : null
|
||||
* publishtimeString : null
|
||||
* ratelist : null
|
||||
* recommendTag : null
|
||||
* releaseyear : 1992
|
||||
* resultcode : 0
|
||||
* resultdesc : null
|
||||
* score : null
|
||||
* scriptwriter : 佚名
|
||||
* searchname : dms(yyb)|dmx(yyb)
|
||||
* secondproject : 纪录片
|
||||
* seriesShowType : null
|
||||
* seriesSortRule : null
|
||||
* serviceBillingCode : null
|
||||
* serviceStrategyCode : null
|
||||
* source : null
|
||||
* status : 1
|
||||
* strategyFlag : null
|
||||
* subcontents : null
|
||||
* thirdproject : null
|
||||
* thumbimg : https://img01.jetsenx.huashi.tv/img/movie/damixin/448x252.png
|
||||
* updatename : admin
|
||||
* updatetime : 2025-05-26 16:48:12.0
|
||||
* writerdisplay : 卢庭杰
|
||||
* zqIsfree : 0
|
||||
*/
|
||||
|
||||
private String actordisplay;
|
||||
private Object alltvzq;
|
||||
private Object alltvzqzx;
|
||||
private Object auditid;
|
||||
private Object bitrateid;
|
||||
private String catalogid;
|
||||
private Object catalogname;
|
||||
private Object categoryname;
|
||||
private String code;
|
||||
private String contentcode;
|
||||
private Object contentform;
|
||||
private Object contentkindname;
|
||||
private int contenttype;
|
||||
private Object cornerMarkPic;
|
||||
private Object cornerMarkType;
|
||||
private Object cpid;
|
||||
private Object createname;
|
||||
private String createtime;
|
||||
private String description;
|
||||
private int duration;
|
||||
private int episodecount;
|
||||
private int episodeindex;
|
||||
private String firstproject;
|
||||
private int id;
|
||||
private int if6ispublish;
|
||||
private Object is4k;
|
||||
private int isFree;
|
||||
private Object is_recommend_type;
|
||||
private int isbokong;
|
||||
private int islock;
|
||||
private Object ismissing;
|
||||
private int ispublish;
|
||||
private Object ispublishdesc;
|
||||
private int issynchronization;
|
||||
private Object istrailing;
|
||||
private Object isvr;
|
||||
private String language;
|
||||
private String licensingwindowend;
|
||||
private String licensingwindowstart;
|
||||
private Object longshortvideo;
|
||||
private Object lookDuration;
|
||||
private Object mgjscode;
|
||||
private String midimg;
|
||||
private String midimg2;
|
||||
private Object mpid;
|
||||
private Object mvid;
|
||||
private String name;
|
||||
private Object nameenglish;
|
||||
private String originalcountry;
|
||||
private Object parentContentCode;
|
||||
private Object parentContentId;
|
||||
private Object parentContentName;
|
||||
private Object parentContentType;
|
||||
private int parentid;
|
||||
private String posterimg;
|
||||
private Object publishtime;
|
||||
private Object publishtimeString;
|
||||
private Object ratelist;
|
||||
private Object recommendTag;
|
||||
private String releaseyear;
|
||||
private String resultcode;
|
||||
private Object resultdesc;
|
||||
private Object score;
|
||||
private String scriptwriter;
|
||||
private String searchname;
|
||||
private String secondproject;
|
||||
private Object seriesShowType;
|
||||
private Object seriesSortRule;
|
||||
private Object serviceBillingCode;
|
||||
private Object serviceStrategyCode;
|
||||
private Object source;
|
||||
private int status;
|
||||
private Object strategyFlag;
|
||||
private Object subcontents;
|
||||
private Object thirdproject;
|
||||
private String thumbimg;
|
||||
private String updatename;
|
||||
private String updatetime;
|
||||
private String writerdisplay;
|
||||
private int zqIsfree;
|
||||
|
||||
public String getActordisplay() {
|
||||
return actordisplay;
|
||||
}
|
||||
|
||||
public void setActordisplay(String actordisplay) {
|
||||
this.actordisplay = actordisplay;
|
||||
}
|
||||
|
||||
public Object getAlltvzq() {
|
||||
return alltvzq;
|
||||
}
|
||||
|
||||
public void setAlltvzq(Object alltvzq) {
|
||||
this.alltvzq = alltvzq;
|
||||
}
|
||||
|
||||
public Object getAlltvzqzx() {
|
||||
return alltvzqzx;
|
||||
}
|
||||
|
||||
public void setAlltvzqzx(Object alltvzqzx) {
|
||||
this.alltvzqzx = alltvzqzx;
|
||||
}
|
||||
|
||||
public Object getAuditid() {
|
||||
return auditid;
|
||||
}
|
||||
|
||||
public void setAuditid(Object auditid) {
|
||||
this.auditid = auditid;
|
||||
}
|
||||
|
||||
public Object getBitrateid() {
|
||||
return bitrateid;
|
||||
}
|
||||
|
||||
public void setBitrateid(Object bitrateid) {
|
||||
this.bitrateid = bitrateid;
|
||||
}
|
||||
|
||||
public String getCatalogid() {
|
||||
return catalogid;
|
||||
}
|
||||
|
||||
public void setCatalogid(String catalogid) {
|
||||
this.catalogid = catalogid;
|
||||
}
|
||||
|
||||
public Object getCatalogname() {
|
||||
return catalogname;
|
||||
}
|
||||
|
||||
public void setCatalogname(Object catalogname) {
|
||||
this.catalogname = catalogname;
|
||||
}
|
||||
|
||||
public Object getCategoryname() {
|
||||
return categoryname;
|
||||
}
|
||||
|
||||
public void setCategoryname(Object categoryname) {
|
||||
this.categoryname = categoryname;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getContentcode() {
|
||||
return contentcode;
|
||||
}
|
||||
|
||||
public void setContentcode(String contentcode) {
|
||||
this.contentcode = contentcode;
|
||||
}
|
||||
|
||||
public Object getContentform() {
|
||||
return contentform;
|
||||
}
|
||||
|
||||
public void setContentform(Object contentform) {
|
||||
this.contentform = contentform;
|
||||
}
|
||||
|
||||
public Object getContentkindname() {
|
||||
return contentkindname;
|
||||
}
|
||||
|
||||
public void setContentkindname(Object contentkindname) {
|
||||
this.contentkindname = contentkindname;
|
||||
}
|
||||
|
||||
public int getContenttype() {
|
||||
return contenttype;
|
||||
}
|
||||
|
||||
public void setContenttype(int contenttype) {
|
||||
this.contenttype = contenttype;
|
||||
}
|
||||
|
||||
public Object getCornerMarkPic() {
|
||||
return cornerMarkPic;
|
||||
}
|
||||
|
||||
public void setCornerMarkPic(Object cornerMarkPic) {
|
||||
this.cornerMarkPic = cornerMarkPic;
|
||||
}
|
||||
|
||||
public Object getCornerMarkType() {
|
||||
return cornerMarkType;
|
||||
}
|
||||
|
||||
public void setCornerMarkType(Object cornerMarkType) {
|
||||
this.cornerMarkType = cornerMarkType;
|
||||
}
|
||||
|
||||
public Object getCpid() {
|
||||
return cpid;
|
||||
}
|
||||
|
||||
public void setCpid(Object cpid) {
|
||||
this.cpid = cpid;
|
||||
}
|
||||
|
||||
public Object getCreatename() {
|
||||
return createname;
|
||||
}
|
||||
|
||||
public void setCreatename(Object createname) {
|
||||
this.createname = createname;
|
||||
}
|
||||
|
||||
public String getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(String createtime) {
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(int duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public int getEpisodecount() {
|
||||
return episodecount;
|
||||
}
|
||||
|
||||
public void setEpisodecount(int episodecount) {
|
||||
this.episodecount = episodecount;
|
||||
}
|
||||
|
||||
public int getEpisodeindex() {
|
||||
return episodeindex;
|
||||
}
|
||||
|
||||
public void setEpisodeindex(int episodeindex) {
|
||||
this.episodeindex = episodeindex;
|
||||
}
|
||||
|
||||
public String getFirstproject() {
|
||||
return firstproject;
|
||||
}
|
||||
|
||||
public void setFirstproject(String firstproject) {
|
||||
this.firstproject = firstproject;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getIf6ispublish() {
|
||||
return if6ispublish;
|
||||
}
|
||||
|
||||
public void setIf6ispublish(int if6ispublish) {
|
||||
this.if6ispublish = if6ispublish;
|
||||
}
|
||||
|
||||
public Object getIs4k() {
|
||||
return is4k;
|
||||
}
|
||||
|
||||
public void setIs4k(Object is4k) {
|
||||
this.is4k = is4k;
|
||||
}
|
||||
|
||||
public int getIsFree() {
|
||||
return isFree;
|
||||
}
|
||||
|
||||
public void setIsFree(int isFree) {
|
||||
this.isFree = isFree;
|
||||
}
|
||||
|
||||
public Object getIs_recommend_type() {
|
||||
return is_recommend_type;
|
||||
}
|
||||
|
||||
public void setIs_recommend_type(Object is_recommend_type) {
|
||||
this.is_recommend_type = is_recommend_type;
|
||||
}
|
||||
|
||||
public int getIsbokong() {
|
||||
return isbokong;
|
||||
}
|
||||
|
||||
public void setIsbokong(int isbokong) {
|
||||
this.isbokong = isbokong;
|
||||
}
|
||||
|
||||
public int getIslock() {
|
||||
return islock;
|
||||
}
|
||||
|
||||
public void setIslock(int islock) {
|
||||
this.islock = islock;
|
||||
}
|
||||
|
||||
public Object getIsmissing() {
|
||||
return ismissing;
|
||||
}
|
||||
|
||||
public void setIsmissing(Object ismissing) {
|
||||
this.ismissing = ismissing;
|
||||
}
|
||||
|
||||
public int getIspublish() {
|
||||
return ispublish;
|
||||
}
|
||||
|
||||
public void setIspublish(int ispublish) {
|
||||
this.ispublish = ispublish;
|
||||
}
|
||||
|
||||
public Object getIspublishdesc() {
|
||||
return ispublishdesc;
|
||||
}
|
||||
|
||||
public void setIspublishdesc(Object ispublishdesc) {
|
||||
this.ispublishdesc = ispublishdesc;
|
||||
}
|
||||
|
||||
public int getIssynchronization() {
|
||||
return issynchronization;
|
||||
}
|
||||
|
||||
public void setIssynchronization(int issynchronization) {
|
||||
this.issynchronization = issynchronization;
|
||||
}
|
||||
|
||||
public Object getIstrailing() {
|
||||
return istrailing;
|
||||
}
|
||||
|
||||
public void setIstrailing(Object istrailing) {
|
||||
this.istrailing = istrailing;
|
||||
}
|
||||
|
||||
public Object getIsvr() {
|
||||
return isvr;
|
||||
}
|
||||
|
||||
public void setIsvr(Object isvr) {
|
||||
this.isvr = isvr;
|
||||
}
|
||||
|
||||
public String getLanguage() {
|
||||
return language;
|
||||
}
|
||||
|
||||
public void setLanguage(String language) {
|
||||
this.language = language;
|
||||
}
|
||||
|
||||
public String getLicensingwindowend() {
|
||||
return licensingwindowend;
|
||||
}
|
||||
|
||||
public void setLicensingwindowend(String licensingwindowend) {
|
||||
this.licensingwindowend = licensingwindowend;
|
||||
}
|
||||
|
||||
public String getLicensingwindowstart() {
|
||||
return licensingwindowstart;
|
||||
}
|
||||
|
||||
public void setLicensingwindowstart(String licensingwindowstart) {
|
||||
this.licensingwindowstart = licensingwindowstart;
|
||||
}
|
||||
|
||||
public Object getLongshortvideo() {
|
||||
return longshortvideo;
|
||||
}
|
||||
|
||||
public void setLongshortvideo(Object longshortvideo) {
|
||||
this.longshortvideo = longshortvideo;
|
||||
}
|
||||
|
||||
public Object getLookDuration() {
|
||||
return lookDuration;
|
||||
}
|
||||
|
||||
public void setLookDuration(Object lookDuration) {
|
||||
this.lookDuration = lookDuration;
|
||||
}
|
||||
|
||||
public Object getMgjscode() {
|
||||
return mgjscode;
|
||||
}
|
||||
|
||||
public void setMgjscode(Object mgjscode) {
|
||||
this.mgjscode = mgjscode;
|
||||
}
|
||||
|
||||
public String getMidimg() {
|
||||
return midimg;
|
||||
}
|
||||
|
||||
public void setMidimg(String midimg) {
|
||||
this.midimg = midimg;
|
||||
}
|
||||
|
||||
public String getMidimg2() {
|
||||
return midimg2;
|
||||
}
|
||||
|
||||
public void setMidimg2(String midimg2) {
|
||||
this.midimg2 = midimg2;
|
||||
}
|
||||
|
||||
public Object getMpid() {
|
||||
return mpid;
|
||||
}
|
||||
|
||||
public void setMpid(Object mpid) {
|
||||
this.mpid = mpid;
|
||||
}
|
||||
|
||||
public Object getMvid() {
|
||||
return mvid;
|
||||
}
|
||||
|
||||
public void setMvid(Object mvid) {
|
||||
this.mvid = mvid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Object getNameenglish() {
|
||||
return nameenglish;
|
||||
}
|
||||
|
||||
public void setNameenglish(Object nameenglish) {
|
||||
this.nameenglish = nameenglish;
|
||||
}
|
||||
|
||||
public String getOriginalcountry() {
|
||||
return originalcountry;
|
||||
}
|
||||
|
||||
public void setOriginalcountry(String originalcountry) {
|
||||
this.originalcountry = originalcountry;
|
||||
}
|
||||
|
||||
public Object getParentContentCode() {
|
||||
return parentContentCode;
|
||||
}
|
||||
|
||||
public void setParentContentCode(Object parentContentCode) {
|
||||
this.parentContentCode = parentContentCode;
|
||||
}
|
||||
|
||||
public Object getParentContentId() {
|
||||
return parentContentId;
|
||||
}
|
||||
|
||||
public void setParentContentId(Object parentContentId) {
|
||||
this.parentContentId = parentContentId;
|
||||
}
|
||||
|
||||
public Object getParentContentName() {
|
||||
return parentContentName;
|
||||
}
|
||||
|
||||
public void setParentContentName(Object parentContentName) {
|
||||
this.parentContentName = parentContentName;
|
||||
}
|
||||
|
||||
public Object getParentContentType() {
|
||||
return parentContentType;
|
||||
}
|
||||
|
||||
public void setParentContentType(Object parentContentType) {
|
||||
this.parentContentType = parentContentType;
|
||||
}
|
||||
|
||||
public int getParentid() {
|
||||
return parentid;
|
||||
}
|
||||
|
||||
public void setParentid(int parentid) {
|
||||
this.parentid = parentid;
|
||||
}
|
||||
|
||||
public String getPosterimg() {
|
||||
return posterimg;
|
||||
}
|
||||
|
||||
public void setPosterimg(String posterimg) {
|
||||
this.posterimg = posterimg;
|
||||
}
|
||||
|
||||
public Object getPublishtime() {
|
||||
return publishtime;
|
||||
}
|
||||
|
||||
public void setPublishtime(Object publishtime) {
|
||||
this.publishtime = publishtime;
|
||||
}
|
||||
|
||||
public Object getPublishtimeString() {
|
||||
return publishtimeString;
|
||||
}
|
||||
|
||||
public void setPublishtimeString(Object publishtimeString) {
|
||||
this.publishtimeString = publishtimeString;
|
||||
}
|
||||
|
||||
public Object getRatelist() {
|
||||
return ratelist;
|
||||
}
|
||||
|
||||
public void setRatelist(Object ratelist) {
|
||||
this.ratelist = ratelist;
|
||||
}
|
||||
|
||||
public Object getRecommendTag() {
|
||||
return recommendTag;
|
||||
}
|
||||
|
||||
public void setRecommendTag(Object recommendTag) {
|
||||
this.recommendTag = recommendTag;
|
||||
}
|
||||
|
||||
public String getReleaseyear() {
|
||||
return releaseyear;
|
||||
}
|
||||
|
||||
public void setReleaseyear(String releaseyear) {
|
||||
this.releaseyear = releaseyear;
|
||||
}
|
||||
|
||||
public String getResultcode() {
|
||||
return resultcode;
|
||||
}
|
||||
|
||||
public void setResultcode(String resultcode) {
|
||||
this.resultcode = resultcode;
|
||||
}
|
||||
|
||||
public Object getResultdesc() {
|
||||
return resultdesc;
|
||||
}
|
||||
|
||||
public void setResultdesc(Object resultdesc) {
|
||||
this.resultdesc = resultdesc;
|
||||
}
|
||||
|
||||
public Object getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore(Object score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public String getScriptwriter() {
|
||||
return scriptwriter;
|
||||
}
|
||||
|
||||
public void setScriptwriter(String scriptwriter) {
|
||||
this.scriptwriter = scriptwriter;
|
||||
}
|
||||
|
||||
public String getSearchname() {
|
||||
return searchname;
|
||||
}
|
||||
|
||||
public void setSearchname(String searchname) {
|
||||
this.searchname = searchname;
|
||||
}
|
||||
|
||||
public String getSecondproject() {
|
||||
return secondproject;
|
||||
}
|
||||
|
||||
public void setSecondproject(String secondproject) {
|
||||
this.secondproject = secondproject;
|
||||
}
|
||||
|
||||
public Object getSeriesShowType() {
|
||||
return seriesShowType;
|
||||
}
|
||||
|
||||
public void setSeriesShowType(Object seriesShowType) {
|
||||
this.seriesShowType = seriesShowType;
|
||||
}
|
||||
|
||||
public Object getSeriesSortRule() {
|
||||
return seriesSortRule;
|
||||
}
|
||||
|
||||
public void setSeriesSortRule(Object seriesSortRule) {
|
||||
this.seriesSortRule = seriesSortRule;
|
||||
}
|
||||
|
||||
public Object getServiceBillingCode() {
|
||||
return serviceBillingCode;
|
||||
}
|
||||
|
||||
public void setServiceBillingCode(Object serviceBillingCode) {
|
||||
this.serviceBillingCode = serviceBillingCode;
|
||||
}
|
||||
|
||||
public Object getServiceStrategyCode() {
|
||||
return serviceStrategyCode;
|
||||
}
|
||||
|
||||
public void setServiceStrategyCode(Object serviceStrategyCode) {
|
||||
this.serviceStrategyCode = serviceStrategyCode;
|
||||
}
|
||||
|
||||
public Object getSource() {
|
||||
return source;
|
||||
}
|
||||
|
||||
public void setSource(Object source) {
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Object getStrategyFlag() {
|
||||
return strategyFlag;
|
||||
}
|
||||
|
||||
public void setStrategyFlag(Object strategyFlag) {
|
||||
this.strategyFlag = strategyFlag;
|
||||
}
|
||||
|
||||
public Object getSubcontents() {
|
||||
return subcontents;
|
||||
}
|
||||
|
||||
public void setSubcontents(Object subcontents) {
|
||||
this.subcontents = subcontents;
|
||||
}
|
||||
|
||||
public Object getThirdproject() {
|
||||
return thirdproject;
|
||||
}
|
||||
|
||||
public void setThirdproject(Object thirdproject) {
|
||||
this.thirdproject = thirdproject;
|
||||
}
|
||||
|
||||
public String getThumbimg() {
|
||||
return thumbimg;
|
||||
}
|
||||
|
||||
public void setThumbimg(String thumbimg) {
|
||||
this.thumbimg = thumbimg;
|
||||
}
|
||||
|
||||
public String getUpdatename() {
|
||||
return updatename;
|
||||
}
|
||||
|
||||
public void setUpdatename(String updatename) {
|
||||
this.updatename = updatename;
|
||||
}
|
||||
|
||||
public String getUpdatetime() {
|
||||
return updatetime;
|
||||
}
|
||||
|
||||
public void setUpdatetime(String updatetime) {
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
public String getWriterdisplay() {
|
||||
return writerdisplay;
|
||||
}
|
||||
|
||||
public void setWriterdisplay(String writerdisplay) {
|
||||
this.writerdisplay = writerdisplay;
|
||||
}
|
||||
|
||||
public int getZqIsfree() {
|
||||
return zqIsfree;
|
||||
}
|
||||
|
||||
public void setZqIsfree(int zqIsfree) {
|
||||
this.zqIsfree = zqIsfree;
|
||||
}
|
||||
}
|
||||
}
|
||||
52
libdata/src/main/java/com/migu/bean/ShanghaiBean.java
Executable file
52
libdata/src/main/java/com/migu/bean/ShanghaiBean.java
Executable file
@@ -0,0 +1,52 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class ShanghaiBean {
|
||||
|
||||
private String portalcode;
|
||||
private String sptoken;
|
||||
private String timeshift;
|
||||
private String sign;
|
||||
private String mac;
|
||||
|
||||
public String getPortalcode() {
|
||||
return portalcode;
|
||||
}
|
||||
|
||||
public void setPortalcode(String portalcode) {
|
||||
this.portalcode = portalcode;
|
||||
}
|
||||
|
||||
public String getSptoken() {
|
||||
return sptoken;
|
||||
}
|
||||
|
||||
public void setSptoken(String sptoken) {
|
||||
this.sptoken = sptoken;
|
||||
}
|
||||
|
||||
public String getTimeshift() {
|
||||
return timeshift;
|
||||
}
|
||||
|
||||
public void setTimeshift(String timeshift) {
|
||||
this.timeshift = timeshift;
|
||||
}
|
||||
|
||||
public String getSign() {
|
||||
return sign;
|
||||
}
|
||||
|
||||
public void setSign(String sign) {
|
||||
this.sign = sign;
|
||||
}
|
||||
|
||||
|
||||
public String getMac() {
|
||||
return mac;
|
||||
}
|
||||
|
||||
public void setMac(String mac) {
|
||||
this.mac = mac;
|
||||
}
|
||||
|
||||
}
|
||||
387
libdata/src/main/java/com/migu/bean/ShortVideoBean.java
Executable file
387
libdata/src/main/java/com/migu/bean/ShortVideoBean.java
Executable file
@@ -0,0 +1,387 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* create by xujiangyun at 2025/1/17
|
||||
*/
|
||||
|
||||
public class ShortVideoBean {
|
||||
|
||||
/**
|
||||
* resultCode : 0
|
||||
* message : success
|
||||
* data : [{"programId":595260,"programCode":"10019434336","contentCode":"10019434336","name":"向往的生活7 老友记","duration":null,"thumbImg":"http://zqyypic.itv.cmvideo.cn:8080/zqyy//vstore/tongyiPic1/20230515/20024396279_ai_c_fabf15f77c626246665971ddedccba86_8_H169_1080_cdp.jpg","image":"http://zqyypic.itv.cmvideo.cn:8080/zqyy//vstore/tongyiPic1/20230515/20024396316_ai_c_20230425092655690_85_V34_HSJ1080V_200.jpg","isFree":1,"longShortVideo":0,"formal":0,"parentContentId":null,"parentContentCode":null,"parentContentName":null,"parentContentType":null,"contentType":3,"episode":1,"mgjsCode":null,"gamesessionCode":"","cornerMarkType":null,"columnName":"","targetMgjsCode":null,"playUrl":"http://gslbserv.itv.cmvideo.cn:80/000000000001/20045622406/1077436675_5275576372_595.m3u8?channel-id=ottmiguhls&Contentid=20045622406","mediaSpec":null,"mediaResolution":"3","thumbs":null},{"programId":595262,"programCode":"10019331719","contentCode":"10019331719","name":"向往的生活7 加长版","duration":null,"thumbImg":"http://zqyypic.itv.cmvideo.cn:8080/zqyy//vstore/tongyiPic1/20230516/20024309417_ai_c_e9f355d2c3eb7c730c0ffb751b6eae59_66_H169_1080_cdp.jpg","image":"http://zqyypic.itv.cmvideo.cn:8080/zqyy//vstore/tongyiPic1/20230516/20024309409_ai_c_a2efd4da97ebff1a3808129987724429_60_V34_HSJ1080V_200.jpg","isFree":1,"longShortVideo":0,"formal":0,"parentContentId":null,"parentContentCode":null,"parentContentName":null,"parentContentType":null,"contentType":3,"episode":1,"mgjsCode":null,"gamesessionCode":"","cornerMarkType":null,"columnName":"","targetMgjsCode":null,"playUrl":"http://gslbserv.itv.cmvideo.cn:80/000000000001/20045622408/1077436675_5275576377_111303.m3u8?channel-id=ottmiguhls&Contentid=20045622408","mediaSpec":null,"mediaResolution":"3","thumbs":null},{"programId":839942,"programCode":"20045425965","contentCode":"20045425965","name":"萨巴伦卡首次横扫斯瓦泰克 晋级辛辛那提站决赛","duration":"5","thumbImg":"http://zqyypic.itv.cmvideo.cn:8080/zqyy//vstore/tongyiPic1/20240820/20045451203_492639_91_migujisu_H169_178_100_cdp.jpg","image":"http://zqyypic.itv.cmvideo.cn:8080/zqyy//vstore/tongyiPic1/20240820/20045451199_963317_33_migujisu_V34_173_236_cdp.jpg","isFree":0,"longShortVideo":0,"formal":0,"parentContentId":null,"parentContentCode":null,"parentContentName":null,"parentContentType":null,"contentType":1,"episode":0,"mgjsCode":"1769988736","gamesessionCode":"130000177462","cornerMarkType":null,"columnName":"","targetMgjsCode":null,"playUrl":"http://gslbserv.itv.cmvideo.cn:80/000000000001/20045425970/1076884756_5273669086_591.m3u8?channel-id=ottmiguhls&Contentid=20045425970","mediaSpec":"591","mediaResolution":"2","thumbs":4}]
|
||||
* pageIndex : 1
|
||||
* pageSize : 3
|
||||
* pageTotal : 12
|
||||
* sizeTotal : 35
|
||||
* timestamp : 1736770584939
|
||||
* nowTime : 2025-01-13 20:16:24
|
||||
*/
|
||||
|
||||
private String resultCode;
|
||||
private String message;
|
||||
private int pageIndex;
|
||||
private int pageSize;
|
||||
private int pageTotal;
|
||||
private int sizeTotal;
|
||||
private long timestamp;
|
||||
private String nowTime;
|
||||
private List<DataBean> data;
|
||||
|
||||
public String getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public void setResultCode(String resultCode) {
|
||||
this.resultCode = resultCode;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public int getPageIndex() {
|
||||
return pageIndex;
|
||||
}
|
||||
|
||||
public void setPageIndex(int pageIndex) {
|
||||
this.pageIndex = pageIndex;
|
||||
}
|
||||
|
||||
public int getPageSize() {
|
||||
return pageSize;
|
||||
}
|
||||
|
||||
public void setPageSize(int pageSize) {
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
|
||||
public int getPageTotal() {
|
||||
return pageTotal;
|
||||
}
|
||||
|
||||
public void setPageTotal(int pageTotal) {
|
||||
this.pageTotal = pageTotal;
|
||||
}
|
||||
|
||||
public int getSizeTotal() {
|
||||
return sizeTotal;
|
||||
}
|
||||
|
||||
public void setSizeTotal(int sizeTotal) {
|
||||
this.sizeTotal = sizeTotal;
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(long timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public String getNowTime() {
|
||||
return nowTime;
|
||||
}
|
||||
|
||||
public void setNowTime(String nowTime) {
|
||||
this.nowTime = nowTime;
|
||||
}
|
||||
|
||||
public List<DataBean> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DataBean> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public static class DataBean {
|
||||
/**
|
||||
* programId : 595260
|
||||
* programCode : 10019434336
|
||||
* contentCode : 10019434336
|
||||
* name : 向往的生活7 老友记
|
||||
* duration : null
|
||||
* thumbImg : http://zqyypic.itv.cmvideo.cn:8080/zqyy//vstore/tongyiPic1/20230515/20024396279_ai_c_fabf15f77c626246665971ddedccba86_8_H169_1080_cdp.jpg
|
||||
* image : http://zqyypic.itv.cmvideo.cn:8080/zqyy//vstore/tongyiPic1/20230515/20024396316_ai_c_20230425092655690_85_V34_HSJ1080V_200.jpg
|
||||
* isFree : 1
|
||||
* longShortVideo : 0
|
||||
* formal : 0
|
||||
* parentContentId : null
|
||||
* parentContentCode : null
|
||||
* parentContentName : null
|
||||
* parentContentType : null
|
||||
* contentType : 3
|
||||
* episode : 1
|
||||
* mgjsCode : null
|
||||
* gamesessionCode :
|
||||
* cornerMarkType : null
|
||||
* columnName :
|
||||
* targetMgjsCode : null
|
||||
* playUrl : http://gslbserv.itv.cmvideo.cn:80/000000000001/20045622406/1077436675_5275576372_595.m3u8?channel-id=ottmiguhls&Contentid=20045622406
|
||||
* mediaSpec : null
|
||||
* mediaResolution : 3
|
||||
* thumbs : null
|
||||
*/
|
||||
|
||||
private int programId;
|
||||
private String programCode;
|
||||
private String contentCode;
|
||||
private String name;
|
||||
private Object duration;
|
||||
private String thumbImg;
|
||||
private String image;
|
||||
private int isFree;
|
||||
private int longShortVideo;
|
||||
private int formal;
|
||||
private String parentContentId;
|
||||
private Object parentContentCode;
|
||||
private Object parentContentName;
|
||||
private Object parentContentType;
|
||||
private int contentType;
|
||||
private int episode;
|
||||
private Object mgjsCode;
|
||||
private String gamesessionCode;
|
||||
private String gamesessionId;
|
||||
private Object cornerMarkType;
|
||||
private String columnName;
|
||||
private Object targetMgjsCode;
|
||||
private String playUrl;
|
||||
private Object mediaSpec;
|
||||
private String mediaResolution;
|
||||
private int thumbs;
|
||||
private boolean isSelected = false;
|
||||
private boolean isPlaying = false;
|
||||
|
||||
public String getGamesessionId() {
|
||||
return gamesessionId;
|
||||
}
|
||||
|
||||
public void setGamesessionId(String gamesessionId) {
|
||||
this.gamesessionId = gamesessionId;
|
||||
}
|
||||
|
||||
public boolean isPlaying() {
|
||||
return isPlaying;
|
||||
}
|
||||
|
||||
public void setPlaying(boolean playing) {
|
||||
isPlaying = playing;
|
||||
}
|
||||
|
||||
public boolean isSelected() {
|
||||
return isSelected;
|
||||
}
|
||||
|
||||
public void setSelected(boolean selected) {
|
||||
isSelected = selected;
|
||||
}
|
||||
|
||||
public int getProgramId() {
|
||||
return programId;
|
||||
}
|
||||
|
||||
public void setProgramId(int programId) {
|
||||
this.programId = programId;
|
||||
}
|
||||
|
||||
public String getProgramCode() {
|
||||
return programCode;
|
||||
}
|
||||
|
||||
public void setProgramCode(String programCode) {
|
||||
this.programCode = programCode;
|
||||
}
|
||||
|
||||
public String getContentCode() {
|
||||
return contentCode;
|
||||
}
|
||||
|
||||
public void setContentCode(String contentCode) {
|
||||
this.contentCode = contentCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Object getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(Object duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public String getThumbImg() {
|
||||
return thumbImg;
|
||||
}
|
||||
|
||||
public void setThumbImg(String thumbImg) {
|
||||
this.thumbImg = thumbImg;
|
||||
}
|
||||
|
||||
public String getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public void setImage(String image) {
|
||||
this.image = image;
|
||||
}
|
||||
|
||||
public int getIsFree() {
|
||||
return isFree;
|
||||
}
|
||||
|
||||
public void setIsFree(int isFree) {
|
||||
this.isFree = isFree;
|
||||
}
|
||||
|
||||
public int getLongShortVideo() {
|
||||
return longShortVideo;
|
||||
}
|
||||
|
||||
public void setLongShortVideo(int longShortVideo) {
|
||||
this.longShortVideo = longShortVideo;
|
||||
}
|
||||
|
||||
public int getFormal() {
|
||||
return formal;
|
||||
}
|
||||
|
||||
public void setFormal(int formal) {
|
||||
this.formal = formal;
|
||||
}
|
||||
|
||||
public String getParentContentId() {
|
||||
return parentContentId;
|
||||
}
|
||||
|
||||
public void setParentContentId(String parentContentId) {
|
||||
this.parentContentId = parentContentId;
|
||||
}
|
||||
|
||||
public Object getParentContentCode() {
|
||||
return parentContentCode;
|
||||
}
|
||||
|
||||
public void setParentContentCode(Object parentContentCode) {
|
||||
this.parentContentCode = parentContentCode;
|
||||
}
|
||||
|
||||
public Object getParentContentName() {
|
||||
return parentContentName;
|
||||
}
|
||||
|
||||
public void setParentContentName(Object parentContentName) {
|
||||
this.parentContentName = parentContentName;
|
||||
}
|
||||
|
||||
public Object getParentContentType() {
|
||||
return parentContentType;
|
||||
}
|
||||
|
||||
public void setParentContentType(Object parentContentType) {
|
||||
this.parentContentType = parentContentType;
|
||||
}
|
||||
|
||||
public int getContentType() {
|
||||
return contentType;
|
||||
}
|
||||
|
||||
public void setContentType(int contentType) {
|
||||
this.contentType = contentType;
|
||||
}
|
||||
|
||||
public int getEpisode() {
|
||||
return episode;
|
||||
}
|
||||
|
||||
public void setEpisode(int episode) {
|
||||
this.episode = episode;
|
||||
}
|
||||
|
||||
public Object getMgjsCode() {
|
||||
return mgjsCode;
|
||||
}
|
||||
|
||||
public void setMgjsCode(Object mgjsCode) {
|
||||
this.mgjsCode = mgjsCode;
|
||||
}
|
||||
|
||||
public String getGamesessionCode() {
|
||||
return gamesessionCode;
|
||||
}
|
||||
|
||||
public void setGamesessionCode(String gamesessionCode) {
|
||||
this.gamesessionCode = gamesessionCode;
|
||||
}
|
||||
|
||||
public Object getCornerMarkType() {
|
||||
return cornerMarkType;
|
||||
}
|
||||
|
||||
public void setCornerMarkType(Object cornerMarkType) {
|
||||
this.cornerMarkType = cornerMarkType;
|
||||
}
|
||||
|
||||
public String getColumnName() {
|
||||
return columnName;
|
||||
}
|
||||
|
||||
public void setColumnName(String columnName) {
|
||||
this.columnName = columnName;
|
||||
}
|
||||
|
||||
public Object getTargetMgjsCode() {
|
||||
return targetMgjsCode;
|
||||
}
|
||||
|
||||
public void setTargetMgjsCode(Object targetMgjsCode) {
|
||||
this.targetMgjsCode = targetMgjsCode;
|
||||
}
|
||||
|
||||
public String getPlayUrl() {
|
||||
return playUrl;
|
||||
}
|
||||
|
||||
public void setPlayUrl(String playUrl) {
|
||||
this.playUrl = playUrl;
|
||||
}
|
||||
|
||||
public Object getMediaSpec() {
|
||||
return mediaSpec;
|
||||
}
|
||||
|
||||
public void setMediaSpec(Object mediaSpec) {
|
||||
this.mediaSpec = mediaSpec;
|
||||
}
|
||||
|
||||
public String getMediaResolution() {
|
||||
return mediaResolution;
|
||||
}
|
||||
|
||||
public void setMediaResolution(String mediaResolution) {
|
||||
this.mediaResolution = mediaResolution;
|
||||
}
|
||||
|
||||
public int getThumbs() {
|
||||
return thumbs;
|
||||
}
|
||||
|
||||
public void setThumbs(int thumbs) {
|
||||
this.thumbs = thumbs;
|
||||
}
|
||||
}
|
||||
}
|
||||
84
libdata/src/main/java/com/migu/bean/ShortVideoInfoListBean.java
Executable file
84
libdata/src/main/java/com/migu/bean/ShortVideoInfoListBean.java
Executable file
@@ -0,0 +1,84 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* create by xujiangyun at 2025/2/14
|
||||
*/
|
||||
|
||||
public class ShortVideoInfoListBean {
|
||||
private List<ShortVideoInfoBean> PointsLikes;
|
||||
public List<ShortVideoInfoBean> getPointsLikes() {
|
||||
return PointsLikes;
|
||||
}
|
||||
public void setPointsLikes(List<ShortVideoInfoBean> pointsLikes) {
|
||||
PointsLikes = pointsLikes;
|
||||
}
|
||||
|
||||
public static class ShortVideoInfoBean {
|
||||
private String code;
|
||||
private int rank;
|
||||
private String thumbsUp;
|
||||
private String image;
|
||||
private String type;
|
||||
private String videoName;
|
||||
private String videoLogo;
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public int getRank() {
|
||||
return rank;
|
||||
}
|
||||
|
||||
public void setRank(int rank) {
|
||||
this.rank = rank;
|
||||
}
|
||||
|
||||
public String getThumbsUp() {
|
||||
return thumbsUp;
|
||||
}
|
||||
|
||||
public void setThumbsUp(String thumbsUp) {
|
||||
this.thumbsUp = thumbsUp;
|
||||
}
|
||||
|
||||
public String getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public void setImage(String image) {
|
||||
this.image = image;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getVideoName() {
|
||||
return videoName;
|
||||
}
|
||||
|
||||
public void setVideoName(String videoName) {
|
||||
this.videoName = videoName;
|
||||
}
|
||||
|
||||
public String getVideoLogo() {
|
||||
return videoLogo;
|
||||
}
|
||||
|
||||
public void setVideoLogo(String videoLogo) {
|
||||
this.videoLogo = videoLogo;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
34
libdata/src/main/java/com/migu/bean/ShortVideoLazyBean.java
Executable file
34
libdata/src/main/java/com/migu/bean/ShortVideoLazyBean.java
Executable file
@@ -0,0 +1,34 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* create by xujiangyun at 2025/2/20
|
||||
*
|
||||
* 短视频懒加载
|
||||
*/
|
||||
|
||||
public class ShortVideoLazyBean {
|
||||
private int programId;
|
||||
private List<ContentListBean.ResultEntity.SubcontentsEntity> episodeList;
|
||||
|
||||
public ShortVideoLazyBean(int programId,List<ContentListBean.ResultEntity.SubcontentsEntity> episodeList){
|
||||
this.programId = programId;
|
||||
this.episodeList = episodeList;
|
||||
}
|
||||
public int getProgramId() {
|
||||
return programId;
|
||||
}
|
||||
|
||||
public void setProgramId(int programId) {
|
||||
this.programId = programId;
|
||||
}
|
||||
|
||||
public List<ContentListBean.ResultEntity.SubcontentsEntity> getEpisodeList() {
|
||||
return episodeList;
|
||||
}
|
||||
|
||||
public void setList(List<ContentListBean.ResultEntity.SubcontentsEntity> list) {
|
||||
this.episodeList = list;
|
||||
}
|
||||
}
|
||||
17
libdata/src/main/java/com/migu/bean/ShowOrGoneNavBean.java
Executable file
17
libdata/src/main/java/com/migu/bean/ShowOrGoneNavBean.java
Executable file
@@ -0,0 +1,17 @@
|
||||
package com.migu.bean;
|
||||
/**
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class ShowOrGoneNavBean {
|
||||
private boolean isShow;
|
||||
|
||||
public boolean isShow() {
|
||||
return isShow;
|
||||
}
|
||||
|
||||
public void setShow(boolean show) {
|
||||
isShow = show;
|
||||
}
|
||||
}
|
||||
38
libdata/src/main/java/com/migu/bean/SilenceFullPlay.java
Executable file
38
libdata/src/main/java/com/migu/bean/SilenceFullPlay.java
Executable file
@@ -0,0 +1,38 @@
|
||||
package com.migu.bean;
|
||||
|
||||
/**
|
||||
* 首页自动全屏播放配置
|
||||
* */
|
||||
public class SilenceFullPlay {
|
||||
|
||||
private boolean silenceSwitch;
|
||||
private SilenceInfoDTO silenceInfo;
|
||||
|
||||
public boolean isSilenceSwitch() {
|
||||
return silenceSwitch;
|
||||
}
|
||||
|
||||
public void setSilenceSwitch(boolean silenceSwitch) {
|
||||
this.silenceSwitch = silenceSwitch;
|
||||
}
|
||||
|
||||
public SilenceInfoDTO getSilenceInfo() {
|
||||
return silenceInfo;
|
||||
}
|
||||
|
||||
public void setSilenceInfo(SilenceInfoDTO silenceInfo) {
|
||||
this.silenceInfo = silenceInfo;
|
||||
}
|
||||
|
||||
public static class SilenceInfoDTO {
|
||||
private String timing;
|
||||
|
||||
public String getTiming() {
|
||||
return timing;
|
||||
}
|
||||
|
||||
public void setTiming(String timing) {
|
||||
this.timing = timing;
|
||||
}
|
||||
}
|
||||
}
|
||||
58
libdata/src/main/java/com/migu/bean/StarInfoIndexBean.java
Executable file
58
libdata/src/main/java/com/migu/bean/StarInfoIndexBean.java
Executable file
@@ -0,0 +1,58 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class StarInfoIndexBean {
|
||||
|
||||
|
||||
private int resultCode;
|
||||
private String message;
|
||||
private DataDTO data;
|
||||
private long timestamp;
|
||||
|
||||
public int getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public void setResultCode(int resultCode) {
|
||||
this.resultCode = resultCode;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public DataDTO getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(DataDTO data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(long timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
|
||||
public static class DataDTO {
|
||||
private List<StarPlayerInfoBean> playerInfos;
|
||||
|
||||
|
||||
public List<StarPlayerInfoBean> getPlayerInfos() {
|
||||
return playerInfos;
|
||||
}
|
||||
|
||||
public void setPlayerInfos(List<StarPlayerInfoBean> playerInfos) {
|
||||
this.playerInfos = playerInfos;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
82
libdata/src/main/java/com/migu/bean/StarPlayerInfoBean.java
Executable file
82
libdata/src/main/java/com/migu/bean/StarPlayerInfoBean.java
Executable file
@@ -0,0 +1,82 @@
|
||||
package com.migu.bean;
|
||||
|
||||
|
||||
import com.pukka.libcore.utils.StringUtils;
|
||||
|
||||
public class StarPlayerInfoBean {
|
||||
|
||||
|
||||
private String rank;
|
||||
private String code;
|
||||
private String thumbsUp;
|
||||
private String image;
|
||||
private int type;
|
||||
private String playerName;
|
||||
private String playerNameLogo;
|
||||
|
||||
public String getRank() {
|
||||
return rank;
|
||||
}
|
||||
|
||||
|
||||
public int getRankInt() {
|
||||
return StringUtils.convertString2Int(getRank(),0);
|
||||
}
|
||||
|
||||
public void setRank(String rank) {
|
||||
this.rank = rank;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getThumbsUp() {
|
||||
return thumbsUp;
|
||||
}
|
||||
|
||||
public int getThumbsUpInt() {
|
||||
return StringUtils.convertString2Int(getThumbsUp(),0);
|
||||
}
|
||||
|
||||
|
||||
public void setThumbsUp(String thumbsUp) {
|
||||
this.thumbsUp = thumbsUp;
|
||||
}
|
||||
|
||||
public String getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public void setImage(String image) {
|
||||
this.image = image;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getPlayerName() {
|
||||
return playerName;
|
||||
}
|
||||
|
||||
public void setPlayerName(String playerName) {
|
||||
this.playerName = playerName;
|
||||
}
|
||||
|
||||
public String getPlayerNameLogo() {
|
||||
return playerNameLogo;
|
||||
}
|
||||
|
||||
public void setPlayerNameLogo(String playerNameLogo) {
|
||||
this.playerNameLogo = playerNameLogo;
|
||||
}
|
||||
}
|
||||
15
libdata/src/main/java/com/migu/bean/SubmitPointsLikesBean.java
Executable file
15
libdata/src/main/java/com/migu/bean/SubmitPointsLikesBean.java
Executable file
@@ -0,0 +1,15 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class SubmitPointsLikesBean {
|
||||
List<StarPlayerInfoBean> playerInfo;
|
||||
|
||||
public List<StarPlayerInfoBean> getPlayerInfo() {
|
||||
return playerInfo;
|
||||
}
|
||||
|
||||
public void setPlayerInfo(List<StarPlayerInfoBean> playerInfo) {
|
||||
this.playerInfo = playerInfo;
|
||||
}
|
||||
}
|
||||
174
libdata/src/main/java/com/migu/bean/SuggestBean.java
Executable file
174
libdata/src/main/java/com/migu/bean/SuggestBean.java
Executable file
@@ -0,0 +1,174 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class SuggestBean {
|
||||
|
||||
/**
|
||||
* code : 200
|
||||
* resultNum : 0
|
||||
* status : 200
|
||||
* sid : 0101757602494579005
|
||||
* responseCode : 0
|
||||
* success : true
|
||||
* responseMessage : 操作成功
|
||||
* costTime : 23
|
||||
* highLightList : ["没","满","瞒","梅","梦","蒙","摩","咪","M","美"]
|
||||
* displayTypeList : null
|
||||
* resultList : {"contentSuggestList":[{"contName":"MV-《我的天空》献歌苏翊鸣 17岁少年惊艳冬奥"},{"contName":"MV《愿燃烧殆尽》献歌谷爱凌 出道即巅峰实在了不起"},{"contName":"MV顽固 献给你战胜过的自己"},{"contName":"MV致敬-追梦28载的空中技巧人"},{"contName":"MV-青蛙公主揽金摘银 心中尽是《星辰大海》"},{"contName":"蒙上眼睛打冰球"},{"contName":"梅英嘱咐于大妈寻找轮滑少年,必须帮程一凡找到好苗子,还是老伴靠谱!"},{"contName":"没有对比就没有伤害!一个将奖杯视若珍宝,一个却让奖杯布满灰尘"},{"contName":"瞒不住了,陈彻意外得知,沈舟舟被国外球队开除的消息"},{"contName":"美好的一天,从教练的大喇叭开始,看你们谁还敢赖床"},{"contName":"满满的中国风!《上九霄》散发魅力,圈九舞台控制力好绝"},{"contName":"咪咕记者详解冬残奥会吉祥物雪容融:神似灯笼 头顶雪花寓意瑞雪兆丰年"},{"contName":"美国高山滑雪队大赞比赛场地:看到场地后被震撼了!"},{"contName":"咪咕拍客头条精选:北京冬奥文化元素"},{"contName":"美国运动员在冬奥村学中国功夫 网友:来度假了吧"},{"contName":"咪咕拍客头条精选:谷爱凌被评为北京冬奥值得关注的\u201c冬奥之星\u201d"},{"contName":"梦幻联动 幼年苏翊鸣与谷爱凌训练早已遍体鳞伤"},{"contName":"咪咕拍客头条精选:美国运动员是来北京冬奥村公费旅游的吧?"},{"contName":"【咪咕冰雪提问官】张星特提问官冰雪答案"},{"contName":"摩纳哥亲王阿尔贝二世抵达北京 将出席冬奥会开幕式"}],"liveWidgetSuggestList":null}
|
||||
*/
|
||||
|
||||
private String code;
|
||||
private int resultNum;
|
||||
private String status;
|
||||
private String sid;
|
||||
private int responseCode;
|
||||
private boolean success;
|
||||
private String responseMessage;
|
||||
private int costTime;
|
||||
private Object displayTypeList;
|
||||
private ResultListBean resultList;
|
||||
private List<String> highLightList;
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public int getResultNum() {
|
||||
return resultNum;
|
||||
}
|
||||
|
||||
public void setResultNum(int resultNum) {
|
||||
this.resultNum = resultNum;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getSid() {
|
||||
return sid;
|
||||
}
|
||||
|
||||
public void setSid(String sid) {
|
||||
this.sid = sid;
|
||||
}
|
||||
|
||||
public int getResponseCode() {
|
||||
return responseCode;
|
||||
}
|
||||
|
||||
public void setResponseCode(int responseCode) {
|
||||
this.responseCode = responseCode;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getResponseMessage() {
|
||||
return responseMessage;
|
||||
}
|
||||
|
||||
public void setResponseMessage(String responseMessage) {
|
||||
this.responseMessage = responseMessage;
|
||||
}
|
||||
|
||||
public int getCostTime() {
|
||||
return costTime;
|
||||
}
|
||||
|
||||
public void setCostTime(int costTime) {
|
||||
this.costTime = costTime;
|
||||
}
|
||||
|
||||
public Object getDisplayTypeList() {
|
||||
return displayTypeList;
|
||||
}
|
||||
|
||||
public void setDisplayTypeList(Object displayTypeList) {
|
||||
this.displayTypeList = displayTypeList;
|
||||
}
|
||||
|
||||
public ResultListBean getResultList() {
|
||||
return resultList;
|
||||
}
|
||||
|
||||
public void setResultList(ResultListBean resultList) {
|
||||
this.resultList = resultList;
|
||||
}
|
||||
|
||||
public List<String> getHighLightList() {
|
||||
return highLightList;
|
||||
}
|
||||
|
||||
public void setHighLightList(List<String> highLightList) {
|
||||
this.highLightList = highLightList;
|
||||
}
|
||||
|
||||
public static class ResultListBean {
|
||||
/**
|
||||
* contentSuggestList : [{"contName":"MV-《我的天空》献歌苏翊鸣 17岁少年惊艳冬奥"},{"contName":"MV《愿燃烧殆尽》献歌谷爱凌 出道即巅峰实在了不起"},{"contName":"MV顽固 献给你战胜过的自己"},{"contName":"MV致敬-追梦28载的空中技巧人"},{"contName":"MV-青蛙公主揽金摘银 心中尽是《星辰大海》"},{"contName":"蒙上眼睛打冰球"},{"contName":"梅英嘱咐于大妈寻找轮滑少年,必须帮程一凡找到好苗子,还是老伴靠谱!"},{"contName":"没有对比就没有伤害!一个将奖杯视若珍宝,一个却让奖杯布满灰尘"},{"contName":"瞒不住了,陈彻意外得知,沈舟舟被国外球队开除的消息"},{"contName":"美好的一天,从教练的大喇叭开始,看你们谁还敢赖床"},{"contName":"满满的中国风!《上九霄》散发魅力,圈九舞台控制力好绝"},{"contName":"咪咕记者详解冬残奥会吉祥物雪容融:神似灯笼 头顶雪花寓意瑞雪兆丰年"},{"contName":"美国高山滑雪队大赞比赛场地:看到场地后被震撼了!"},{"contName":"咪咕拍客头条精选:北京冬奥文化元素"},{"contName":"美国运动员在冬奥村学中国功夫 网友:来度假了吧"},{"contName":"咪咕拍客头条精选:谷爱凌被评为北京冬奥值得关注的\u201c冬奥之星\u201d"},{"contName":"梦幻联动 幼年苏翊鸣与谷爱凌训练早已遍体鳞伤"},{"contName":"咪咕拍客头条精选:美国运动员是来北京冬奥村公费旅游的吧?"},{"contName":"【咪咕冰雪提问官】张星特提问官冰雪答案"},{"contName":"摩纳哥亲王阿尔贝二世抵达北京 将出席冬奥会开幕式"}]
|
||||
* liveWidgetSuggestList : null
|
||||
*/
|
||||
|
||||
private List<ContentSuggestListBean> liveWidgetSuggestList;
|
||||
private List<ContentSuggestListBean> contentSuggestList;
|
||||
|
||||
public List<ContentSuggestListBean> getLiveWidgetSuggestList() {
|
||||
return liveWidgetSuggestList;
|
||||
}
|
||||
|
||||
public void setLiveWidgetSuggestList(List<ContentSuggestListBean> liveWidgetSuggestList) {
|
||||
this.liveWidgetSuggestList = liveWidgetSuggestList;
|
||||
}
|
||||
|
||||
public List<ContentSuggestListBean> getContentSuggestList() {
|
||||
return contentSuggestList;
|
||||
}
|
||||
|
||||
public void setContentSuggestList(List<ContentSuggestListBean> contentSuggestList) {
|
||||
this.contentSuggestList = contentSuggestList;
|
||||
}
|
||||
|
||||
public static class ContentSuggestListBean {
|
||||
/**
|
||||
* contName : MV-《我的天空》献歌苏翊鸣 17岁少年惊艳冬奥
|
||||
*/
|
||||
private String contName;
|
||||
|
||||
|
||||
private boolean isActive = false;
|
||||
public ContentSuggestListBean(String contName){
|
||||
this.contName = contName;
|
||||
}
|
||||
|
||||
public boolean isActive() {
|
||||
return isActive;
|
||||
}
|
||||
|
||||
public void setActive(boolean active) {
|
||||
isActive = active;
|
||||
}
|
||||
public String getContName() {
|
||||
return contName;
|
||||
}
|
||||
|
||||
public void setContName(String contName) {
|
||||
this.contName = contName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
41
libdata/src/main/java/com/migu/bean/SupportVoteBean.java
Executable file
41
libdata/src/main/java/com/migu/bean/SupportVoteBean.java
Executable file
@@ -0,0 +1,41 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class SupportVoteBean {
|
||||
|
||||
private int resultCode;
|
||||
private String message;
|
||||
private String data;
|
||||
private long timestamp;
|
||||
|
||||
public int getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public void setResultCode(int resultCode) {
|
||||
this.resultCode = resultCode;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(String data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(long timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
}
|
||||
47
libdata/src/main/java/com/migu/bean/T9KeyboardBean.java
Executable file
47
libdata/src/main/java/com/migu/bean/T9KeyboardBean.java
Executable file
@@ -0,0 +1,47 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class T9KeyboardBean {
|
||||
private String value;
|
||||
private String value1;
|
||||
private String value2;
|
||||
private boolean isFocusable;
|
||||
|
||||
public T9KeyboardBean(String value,String value1,String value2){
|
||||
this.value = value;
|
||||
this.value1 = value1;
|
||||
this.value2 = value2;
|
||||
this.isFocusable = true;
|
||||
}
|
||||
|
||||
public boolean isFocusable() {
|
||||
return isFocusable;
|
||||
}
|
||||
|
||||
public void setFocusable(boolean focusable) {
|
||||
isFocusable = focusable;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getValue1() {
|
||||
return value1;
|
||||
}
|
||||
|
||||
public void setValue1(String value1) {
|
||||
this.value1 = value1;
|
||||
}
|
||||
|
||||
public String getValue2() {
|
||||
return value2;
|
||||
}
|
||||
|
||||
public void setValue2(String value2) {
|
||||
this.value2 = value2;
|
||||
}
|
||||
}
|
||||
94
libdata/src/main/java/com/migu/bean/TopicVoteInfoBean.java
Executable file
94
libdata/src/main/java/com/migu/bean/TopicVoteInfoBean.java
Executable file
@@ -0,0 +1,94 @@
|
||||
package com.migu.bean;
|
||||
|
||||
|
||||
import com.pukka.libcore.utils.StringUtils;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class TopicVoteInfoBean {
|
||||
|
||||
|
||||
private String resultCode;
|
||||
private String message;
|
||||
private long timestamp;
|
||||
private List<ResultEntity> data;
|
||||
/**
|
||||
* 互动话题内容
|
||||
*/
|
||||
private String theme;
|
||||
/**
|
||||
* 互动背景图
|
||||
*/
|
||||
private String image;
|
||||
|
||||
public String getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public List<ResultEntity> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public String getTheme() {
|
||||
return theme;
|
||||
}
|
||||
|
||||
public String getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public class ResultEntity {
|
||||
/**
|
||||
* 队伍ID
|
||||
*/
|
||||
private String teamId;
|
||||
/**
|
||||
* 队伍名称
|
||||
*/
|
||||
private String teamName;
|
||||
/**
|
||||
* 支持次数
|
||||
*/
|
||||
private String count;
|
||||
/**
|
||||
* 队伍排名
|
||||
*/
|
||||
private String sequence;
|
||||
/**
|
||||
* 队伍背景图
|
||||
*/
|
||||
private String image;
|
||||
|
||||
public String getTeamId() {
|
||||
return teamId;
|
||||
}
|
||||
|
||||
public String getTeamName() {
|
||||
return teamName;
|
||||
}
|
||||
|
||||
public String getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public int getCountInt() {
|
||||
return StringUtils.convertString2Int(getCount(),0);
|
||||
}
|
||||
|
||||
public String getSequence() {
|
||||
return sequence;
|
||||
}
|
||||
|
||||
public String getImage() {
|
||||
return image;
|
||||
}
|
||||
}
|
||||
}
|
||||
162
libdata/src/main/java/com/migu/bean/UpApkBean.java
Executable file
162
libdata/src/main/java/com/migu/bean/UpApkBean.java
Executable file
@@ -0,0 +1,162 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class UpApkBean {
|
||||
|
||||
/**
|
||||
* retCode : 00000000
|
||||
* retMsg : {"listInfo":[{"upgradePattern":0,"packageType":0,"versionSeq":"111","urgentStatus":1,"packageLocation":"http://ip:port/apk/2025/04/09/test.apk","md5":"7BBB8DD1CFC976109B95EE4137EDA899","versionName":"test.apk","upgradeSeq":"V4.4.4.444","type":1,"packageStatus":2}],"count":1}
|
||||
*/
|
||||
|
||||
private String retCode;
|
||||
private RetMsgBean retMsg;
|
||||
|
||||
public String getRetCode() {
|
||||
return retCode;
|
||||
}
|
||||
|
||||
public void setRetCode(String retCode) {
|
||||
this.retCode = retCode;
|
||||
}
|
||||
|
||||
public RetMsgBean getRetMsg() {
|
||||
return retMsg;
|
||||
}
|
||||
|
||||
public void setRetMsg(RetMsgBean retMsg) {
|
||||
this.retMsg = retMsg;
|
||||
}
|
||||
|
||||
public static class RetMsgBean {
|
||||
/**
|
||||
* listInfo : [{"upgradePattern":0,"packageType":0,"versionSeq":"111","urgentStatus":1,"packageLocation":"http://ip:port/apk/2025/04/09/test.apk","md5":"7BBB8DD1CFC976109B95EE4137EDA899","versionName":"test.apk","upgradeSeq":"V4.4.4.444","type":1,"packageStatus":2}]
|
||||
* count : 1
|
||||
*/
|
||||
|
||||
private int count;
|
||||
private List<ListInfoBean> listInfo;
|
||||
|
||||
public int getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(int count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public List<ListInfoBean> getListInfo() {
|
||||
return listInfo;
|
||||
}
|
||||
|
||||
public void setListInfo(List<ListInfoBean> listInfo) {
|
||||
this.listInfo = listInfo;
|
||||
}
|
||||
|
||||
public static class ListInfoBean {
|
||||
/**
|
||||
* upgradePattern : 0
|
||||
* packageType : 0
|
||||
* versionSeq : 111
|
||||
* urgentStatus : 1
|
||||
* packageLocation : http://ip:port/apk/2025/04/09/test.apk
|
||||
* md5 : 7BBB8DD1CFC976109B95EE4137EDA899
|
||||
* versionName : test.apk
|
||||
* upgradeSeq : V4.4.4.444
|
||||
* type : 1
|
||||
* packageStatus : 2
|
||||
*/
|
||||
|
||||
private int upgradePattern;
|
||||
private int packageType;
|
||||
private String versionSeq;
|
||||
private int urgentStatus;
|
||||
private String packageLocation;
|
||||
private String md5;
|
||||
private String versionName;
|
||||
private String upgradeSeq;
|
||||
private int type;
|
||||
private int packageStatus;
|
||||
|
||||
public int getUpgradePattern() {
|
||||
return upgradePattern;
|
||||
}
|
||||
|
||||
public void setUpgradePattern(int upgradePattern) {
|
||||
this.upgradePattern = upgradePattern;
|
||||
}
|
||||
|
||||
public int getPackageType() {
|
||||
return packageType;
|
||||
}
|
||||
|
||||
public void setPackageType(int packageType) {
|
||||
this.packageType = packageType;
|
||||
}
|
||||
|
||||
public String getVersionSeq() {
|
||||
return versionSeq;
|
||||
}
|
||||
|
||||
public void setVersionSeq(String versionSeq) {
|
||||
this.versionSeq = versionSeq;
|
||||
}
|
||||
|
||||
public int getUrgentStatus() {
|
||||
return urgentStatus;
|
||||
}
|
||||
|
||||
public void setUrgentStatus(int urgentStatus) {
|
||||
this.urgentStatus = urgentStatus;
|
||||
}
|
||||
|
||||
public String getPackageLocation() {
|
||||
return packageLocation;
|
||||
}
|
||||
|
||||
public void setPackageLocation(String packageLocation) {
|
||||
this.packageLocation = packageLocation;
|
||||
}
|
||||
|
||||
public String getMd5() {
|
||||
return md5;
|
||||
}
|
||||
|
||||
public void setMd5(String md5) {
|
||||
this.md5 = md5;
|
||||
}
|
||||
|
||||
public String getVersionName() {
|
||||
return versionName;
|
||||
}
|
||||
|
||||
public void setVersionName(String versionName) {
|
||||
this.versionName = versionName;
|
||||
}
|
||||
|
||||
public String getUpgradeSeq() {
|
||||
return upgradeSeq;
|
||||
}
|
||||
|
||||
public void setUpgradeSeq(String upgradeSeq) {
|
||||
this.upgradeSeq = upgradeSeq;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getPackageStatus() {
|
||||
return packageStatus;
|
||||
}
|
||||
|
||||
public void setPackageStatus(int packageStatus) {
|
||||
this.packageStatus = packageStatus;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
42
libdata/src/main/java/com/migu/bean/UpApkRequestBean.java
Executable file
42
libdata/src/main/java/com/migu/bean/UpApkRequestBean.java
Executable file
@@ -0,0 +1,42 @@
|
||||
package com.migu.bean;
|
||||
|
||||
public class UpApkRequestBean {
|
||||
//1强制升级
|
||||
private int urgentStatus;
|
||||
private String packageLocation;
|
||||
private String versionCode;
|
||||
//1:发布状态
|
||||
private int packageStatus;
|
||||
|
||||
public String getVersionCode() {
|
||||
return versionCode;
|
||||
}
|
||||
|
||||
public void setVersionCode(String versionCode) {
|
||||
this.versionCode = versionCode;
|
||||
}
|
||||
|
||||
public int getUrgentStatus() {
|
||||
return urgentStatus;
|
||||
}
|
||||
|
||||
public void setUrgentStatus(int urgentStatus) {
|
||||
this.urgentStatus = urgentStatus;
|
||||
}
|
||||
|
||||
public String getPackageLocation() {
|
||||
return packageLocation;
|
||||
}
|
||||
|
||||
public void setPackageLocation(String packageLocation) {
|
||||
this.packageLocation = packageLocation;
|
||||
}
|
||||
|
||||
public int getPackageStatus() {
|
||||
return packageStatus;
|
||||
}
|
||||
|
||||
public void setPackageStatus(int packageStatus) {
|
||||
this.packageStatus = packageStatus;
|
||||
}
|
||||
}
|
||||
857
libdata/src/main/java/com/migu/bean/VideoResultBean.java
Executable file
857
libdata/src/main/java/com/migu/bean/VideoResultBean.java
Executable file
File diff suppressed because one or more lines are too long
197
libdata/src/main/java/com/migu/callback/AijiaCallback.java
Executable file
197
libdata/src/main/java/com/migu/callback/AijiaCallback.java
Executable file
@@ -0,0 +1,197 @@
|
||||
package com.migu.callback;
|
||||
|
||||
import com.migu.bean.ApkVersionResponse;
|
||||
import com.migu.bean.AuthorizeNewBean;
|
||||
import com.migu.bean.CollectBean;
|
||||
import com.migu.bean.ContentListBean;
|
||||
import com.migu.bean.GetCalenderMatchDate;
|
||||
import com.migu.bean.GetEpgNavBean;
|
||||
import com.migu.bean.GetFindPlayrecordBean;
|
||||
import com.migu.bean.GetGameDetailBean;
|
||||
import com.migu.bean.GetGameSeasonInfoListBean;
|
||||
import com.migu.bean.GetLayoutBean;
|
||||
import com.migu.bean.GetMatchListBean;
|
||||
import com.migu.bean.GetServiceListBean;
|
||||
import com.migu.bean.GetShortVideoBean;
|
||||
import com.migu.bean.GetTopButtonBean;
|
||||
import com.migu.bean.GetLayoutNavBean;
|
||||
import com.migu.bean.GetcontentlistBean;
|
||||
import com.migu.bean.GetGameSeasonInfoRecommendBean;
|
||||
import com.migu.bean.GetlistcollBean;
|
||||
import com.migu.bean.GetsystemBean;
|
||||
import com.migu.bean.GettagslistBean;
|
||||
import com.migu.bean.GoldMainBean;
|
||||
|
||||
import com.migu.bean.PassDataBean;
|
||||
import com.migu.bean.SearchRecommendBean;
|
||||
import com.migu.bean.SearchResultBean;
|
||||
import com.migu.bean.ShortVideoBean;
|
||||
import com.migu.bean.SuggestBean;
|
||||
import com.migu.bean.UpApkBean;
|
||||
import com.migu.bean.UpApkRequestBean;
|
||||
import com.migu.bean.VideoResultBean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class AijiaCallback {
|
||||
public interface GettagslistCallback{
|
||||
void onResponse(GettagslistBean response);
|
||||
}
|
||||
|
||||
public interface GetcontentlistCallback{
|
||||
void onResponse(GetcontentlistBean response);
|
||||
void onFail(String value);
|
||||
}
|
||||
public interface GetContentlistInListPageCallback{
|
||||
void onResponse(GetcontentlistBean response);
|
||||
}
|
||||
|
||||
public interface GetEpgNavCallback{
|
||||
void onResponse(GetEpgNavBean response);
|
||||
}
|
||||
|
||||
public interface SearchSuggestCallback{
|
||||
void onResponse(SuggestBean response);
|
||||
}
|
||||
|
||||
public interface VideoResultCallback{
|
||||
void onResponse(SearchResultBean response);
|
||||
void onFail(String value);
|
||||
}
|
||||
|
||||
public interface ContentListCallback{
|
||||
void onResponse(ContentListBean response);
|
||||
void onFail(String value);
|
||||
}
|
||||
|
||||
public interface RecommendCallback{
|
||||
void onResponse(SearchRecommendBean response);
|
||||
void onFail(String value);
|
||||
}
|
||||
|
||||
public interface GetLayoutNavBeanCallBack{
|
||||
void onResponse(GetLayoutNavBean response);
|
||||
}
|
||||
|
||||
public interface GetShortVideoBeanCallBack{
|
||||
void onResponse(GetShortVideoBean response);
|
||||
}
|
||||
|
||||
public interface GetGameSeasonInfoRecommendBeanCallBack{
|
||||
void onResponse(GetGameSeasonInfoRecommendBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetGameDetailBeanCallBack{
|
||||
void onResponse(GetGameDetailBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetGameSeasonInfoListBeanCallBack{
|
||||
void onResponse(GetGameSeasonInfoListBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetLayoutBeanCallBack{
|
||||
void onResponse(GetLayoutBean response);
|
||||
}
|
||||
|
||||
public interface GeTopButtonBeanCallBack{
|
||||
void onResponse(GetTopButtonBean response);
|
||||
}
|
||||
|
||||
public interface GetFindPlayrecordCallBack{
|
||||
void onResponse(GetFindPlayrecordBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetPassCallBack{
|
||||
void onResponse(String response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetListCollBack{
|
||||
void onResponse(GetlistcollBean response);
|
||||
}
|
||||
|
||||
public interface GetsystemCallBack{
|
||||
void onResponse(GetsystemBean response);
|
||||
void netFail();
|
||||
void fail();
|
||||
}
|
||||
public interface GetApkVersionResponseCallBack{
|
||||
void onResponse(ApkVersionResponse response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface OnUpApkCallBack{
|
||||
void onResponse(UpApkRequestBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetPassSwitchCallBack{
|
||||
void onResponse(PassDataBean passDataBean);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetShortVideoCallBack{
|
||||
void onResponse(ShortVideoBean shortVideoBean);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface AuthOrizeCallBack{
|
||||
void onResponse(String response);
|
||||
void fail();
|
||||
}
|
||||
/**
|
||||
* 收藏回调
|
||||
*/
|
||||
public interface CollectResponseCallBack{
|
||||
void onResponse(CollectBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface StringResponseCallBack{
|
||||
void onResponse(String response);
|
||||
}
|
||||
|
||||
public interface GoldMainCallBack{
|
||||
void onResponse(GoldMainBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
|
||||
public interface GetCdnTypeResponseCallBack{
|
||||
void onResponse(String cdnType);
|
||||
}
|
||||
|
||||
|
||||
public interface PlayAuthorizeLiveCallBack{
|
||||
void onResponse(String livePlayUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* 产品列表回调
|
||||
* */
|
||||
public interface getServiceListCallBack{
|
||||
void onResponse(GetServiceListBean response);
|
||||
void fail();
|
||||
}
|
||||
/**
|
||||
* 江苏鉴权回调
|
||||
* */
|
||||
public interface authorizeNewCallBack{
|
||||
void onResponse(AuthorizeNewBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
|
||||
public interface getCalenderMatchDate{
|
||||
void onResponse(GetCalenderMatchDate response);
|
||||
void fail();
|
||||
}
|
||||
public interface getMatchListCallBack{
|
||||
void onResponse(GetMatchListBean response);
|
||||
void fail();
|
||||
}
|
||||
}
|
||||
26
libdata/src/main/java/com/migu/callback/CommonCallback.java
Executable file
26
libdata/src/main/java/com/migu/callback/CommonCallback.java
Executable file
@@ -0,0 +1,26 @@
|
||||
|
||||
package com.migu.callback;
|
||||
|
||||
/**
|
||||
* [统一的网络请求回调接口]<BR>
|
||||
*
|
||||
* @author wcg
|
||||
* @version [V0.1.0.1, 2024/4/11 0011]
|
||||
* @since V0.1.0.1
|
||||
*/
|
||||
public class CommonCallback {
|
||||
/**
|
||||
* 回参
|
||||
*
|
||||
* @param response
|
||||
* @param <T>
|
||||
*/
|
||||
public <T> void onResponse(T response) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 失败
|
||||
*/
|
||||
public void onFail() {
|
||||
}
|
||||
}
|
||||
7
libdata/src/main/java/com/migu/callback/GoOrderCallbackShanghai.java
Executable file
7
libdata/src/main/java/com/migu/callback/GoOrderCallbackShanghai.java
Executable file
@@ -0,0 +1,7 @@
|
||||
package com.migu.callback;
|
||||
|
||||
|
||||
public interface GoOrderCallbackShanghai {
|
||||
void onResponse(String result,String returnUrl);
|
||||
void onFail();
|
||||
}
|
||||
515
libdata/src/main/java/com/migu/httputils/AndroidPlatform9.java
Executable file
515
libdata/src/main/java/com/migu/httputils/AndroidPlatform9.java
Executable file
@@ -0,0 +1,515 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Square, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.migu.httputils;
|
||||
|
||||
|
||||
import android.os.Build;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.Socket;
|
||||
import java.nio.charset.Charset;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.security.Security;
|
||||
import java.security.cert.Certificate;
|
||||
import java.security.cert.TrustAnchor;
|
||||
import java.security.cert.X509Certificate;
|
||||
import java.util.List;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.SSLPeerUnverifiedException;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
import javax.net.ssl.SSLSocketFactory;
|
||||
import javax.net.ssl.X509TrustManager;
|
||||
|
||||
import okhttp3.Protocol;
|
||||
import okhttp3.internal.Util;
|
||||
import okhttp3.internal.platform.Platform;
|
||||
import okhttp3.internal.tls.BasicTrustRootIndex;
|
||||
import okhttp3.internal.tls.CertificateChainCleaner;
|
||||
import okhttp3.internal.tls.TrustRootIndex;
|
||||
import okio.Buffer;
|
||||
|
||||
/** Android 2.3 or better. */
|
||||
class AndroidPlatform9 extends Platform {
|
||||
private static final int MAX_LOG_LENGTH = 4000;
|
||||
|
||||
private final Class<?> sslParametersClass;
|
||||
private final OptionalMethod<Socket> setUseSessionTickets;
|
||||
private final OptionalMethod<Socket> setHostname;
|
||||
|
||||
// Non-null on Android 5.0+.
|
||||
private final OptionalMethod<Socket> getAlpnSelectedProtocol;
|
||||
private final OptionalMethod<Socket> setAlpnProtocols;
|
||||
|
||||
private final CloseGuard closeGuard = CloseGuard.get();
|
||||
|
||||
AndroidPlatform9(Class<?> sslParametersClass, OptionalMethod<Socket> setUseSessionTickets,
|
||||
OptionalMethod<Socket> setHostname, OptionalMethod<Socket> getAlpnSelectedProtocol,
|
||||
OptionalMethod<Socket> setAlpnProtocols) {
|
||||
this.sslParametersClass = sslParametersClass;
|
||||
this.setUseSessionTickets = setUseSessionTickets;
|
||||
this.setHostname = setHostname;
|
||||
this.getAlpnSelectedProtocol = getAlpnSelectedProtocol;
|
||||
this.setAlpnProtocols = setAlpnProtocols;
|
||||
}
|
||||
|
||||
@Override public void connectSocket(Socket socket, InetSocketAddress address,
|
||||
int connectTimeout) throws IOException {
|
||||
try {
|
||||
socket.connect(address, connectTimeout);
|
||||
} catch (AssertionError e) {
|
||||
if (Util.isAndroidGetsocknameError(e)) {
|
||||
throw new IOException(e);
|
||||
}
|
||||
throw e;
|
||||
} catch (SecurityException e) {
|
||||
// Before android 4.3, socket.connect could throw a SecurityException
|
||||
// if opening a socket resulted in an EACCES error.
|
||||
IOException ioException = new IOException("Exception in connect");
|
||||
ioException.initCause(e);
|
||||
throw ioException;
|
||||
} catch (ClassCastException e) {
|
||||
// On android 8.0, socket.connect throws a ClassCastException due to a bug
|
||||
// see https://issuetracker.google.com/issues/63649622
|
||||
if (Build.VERSION.SDK_INT == 26) {
|
||||
IOException ioException = new IOException("Exception in connect");
|
||||
ioException.initCause(e);
|
||||
throw ioException;
|
||||
} else {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override protected @Nullable
|
||||
X509TrustManager trustManager(SSLSocketFactory sslSocketFactory) {
|
||||
Object context = readFieldOrNull(sslSocketFactory, sslParametersClass, "sslParameters");
|
||||
if (context == null) {
|
||||
// If that didn't work, try the Google Play Services SSL provider before giving up. This
|
||||
// must be loaded by the SSLSocketFactory's class loader.
|
||||
try {
|
||||
Class<?> gmsSslParametersClass = Class.forName(
|
||||
"com.google.android.gms.org.conscrypt.SSLParametersImpl", false,
|
||||
sslSocketFactory.getClass().getClassLoader());
|
||||
context = readFieldOrNull(sslSocketFactory, gmsSslParametersClass, "sslParameters");
|
||||
} catch (ClassNotFoundException e) {
|
||||
return super.trustManager(sslSocketFactory);
|
||||
}
|
||||
}
|
||||
|
||||
X509TrustManager x509TrustManager = readFieldOrNull(
|
||||
context, X509TrustManager.class, "x509TrustManager");
|
||||
if (x509TrustManager != null) {
|
||||
return x509TrustManager;
|
||||
}
|
||||
|
||||
return readFieldOrNull(context, X509TrustManager.class, "trustManager");
|
||||
}
|
||||
|
||||
static @Nullable <T> T readFieldOrNull(Object instance, Class<T> fieldType, String fieldName) {
|
||||
for (Class<?> c = instance.getClass(); c != Object.class; c = c.getSuperclass()) {
|
||||
try {
|
||||
Field field = c.getDeclaredField(fieldName);
|
||||
field.setAccessible(true);
|
||||
Object value = field.get(instance);
|
||||
if (value == null || !fieldType.isInstance(value)) {
|
||||
return null;
|
||||
}
|
||||
return fieldType.cast(value);
|
||||
} catch (NoSuchFieldException ignored) {
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new AssertionError();
|
||||
}
|
||||
}
|
||||
|
||||
// Didn't find the field we wanted. As a last gasp attempt, try to find the value on a delegate.
|
||||
if (!fieldName.equals("delegate")) {
|
||||
Object delegate = readFieldOrNull(instance, Object.class, "delegate");
|
||||
if (delegate != null) {
|
||||
return readFieldOrNull(delegate, fieldType, fieldName);
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
static byte[] concatLengthPrefixed(List<Protocol> protocols) {
|
||||
Buffer result = new Buffer();
|
||||
for (int i = 0, size = protocols.size(); i < size; i++) {
|
||||
Protocol protocol = protocols.get(i);
|
||||
if (protocol == Protocol.HTTP_1_0) {
|
||||
continue; // No HTTP/1.0 for ALPN.
|
||||
}
|
||||
result.writeByte(protocol.toString().length());
|
||||
result.writeUtf8(protocol.toString());
|
||||
}
|
||||
return result.readByteArray();
|
||||
}
|
||||
|
||||
@Override public void configureTlsExtensions(
|
||||
SSLSocket sslSocket, String hostname, List<Protocol> protocols) {
|
||||
// Enable SNI and session tickets.
|
||||
if (hostname != null) {
|
||||
setUseSessionTickets.invokeOptionalWithoutCheckedException(sslSocket, true);
|
||||
setHostname.invokeOptionalWithoutCheckedException(sslSocket, hostname);
|
||||
}
|
||||
|
||||
// Enable ALPN.
|
||||
if (setAlpnProtocols != null && setAlpnProtocols.isSupported(sslSocket)) {
|
||||
Object[] parameters = {concatLengthPrefixed(protocols)};
|
||||
setAlpnProtocols.invokeWithoutCheckedException(sslSocket, parameters);
|
||||
}
|
||||
}
|
||||
|
||||
@Override public @Nullable String getSelectedProtocol(SSLSocket socket) {
|
||||
if (getAlpnSelectedProtocol == null) {
|
||||
return null;
|
||||
}
|
||||
if (!getAlpnSelectedProtocol.isSupported(socket)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
byte[] alpnResult = (byte[]) getAlpnSelectedProtocol.invokeWithoutCheckedException(socket);
|
||||
return alpnResult != null ? new String(alpnResult, Charset.forName("UTF-8")) : null;
|
||||
}
|
||||
|
||||
@Override public void log(int level, String message, @Nullable Throwable t) {
|
||||
int logLevel = level == WARN ? Log.WARN : Log.DEBUG;
|
||||
if (t != null) {
|
||||
message = message + '\n' + Log.getStackTraceString(t);
|
||||
}
|
||||
|
||||
// Split by line, then ensure each line can fit into Log's maximum length.
|
||||
for (int i = 0, length = message.length(); i < length; i++) {
|
||||
int newline = message.indexOf('\n', i);
|
||||
newline = newline != -1 ? newline : length;
|
||||
do {
|
||||
int end = Math.min(newline, i + MAX_LOG_LENGTH);
|
||||
Log.println(logLevel, "OkHttp", message.substring(i, end));
|
||||
i = end;
|
||||
} while (i < newline);
|
||||
}
|
||||
}
|
||||
|
||||
@Override public Object getStackTraceForCloseable(String closer) {
|
||||
return closeGuard.createAndOpen(closer);
|
||||
}
|
||||
|
||||
@Override public void logCloseableLeak(String message, Object stackTrace) {
|
||||
boolean reported = closeGuard.warnIfOpen(stackTrace);
|
||||
if (!reported) {
|
||||
// Unable to report via CloseGuard. As a last-ditch effort, send it to the logger.
|
||||
log(WARN, message, null);
|
||||
}
|
||||
}
|
||||
|
||||
@Override public boolean isCleartextTrafficPermitted(String hostname) {
|
||||
try {
|
||||
Class<?> networkPolicyClass = Class.forName("android.security.NetworkSecurityPolicy");
|
||||
Method getInstanceMethod = networkPolicyClass.getMethod("getInstance");
|
||||
Object networkSecurityPolicy = getInstanceMethod.invoke(null);
|
||||
return api24IsCleartextTrafficPermitted(hostname, networkPolicyClass, networkSecurityPolicy);
|
||||
} catch (ClassNotFoundException | NoSuchMethodException e) {
|
||||
return super.isCleartextTrafficPermitted(hostname);
|
||||
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
|
||||
return super.isCleartextTrafficPermitted(hostname);
|
||||
}
|
||||
}
|
||||
|
||||
private boolean api24IsCleartextTrafficPermitted(String hostname, Class<?> networkPolicyClass,
|
||||
Object networkSecurityPolicy) throws InvocationTargetException, IllegalAccessException {
|
||||
try {
|
||||
Method isCleartextTrafficPermittedMethod = networkPolicyClass
|
||||
.getMethod("isCleartextTrafficPermitted", String.class);
|
||||
return (boolean) isCleartextTrafficPermittedMethod.invoke(networkSecurityPolicy, hostname);
|
||||
} catch (NoSuchMethodException e) {
|
||||
return api23IsCleartextTrafficPermitted(hostname, networkPolicyClass, networkSecurityPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
private boolean api23IsCleartextTrafficPermitted(String hostname, Class<?> networkPolicyClass,
|
||||
Object networkSecurityPolicy) throws InvocationTargetException, IllegalAccessException {
|
||||
try {
|
||||
Method isCleartextTrafficPermittedMethod = networkPolicyClass
|
||||
.getMethod("isCleartextTrafficPermitted");
|
||||
return (boolean) isCleartextTrafficPermittedMethod.invoke(networkSecurityPolicy);
|
||||
} catch (NoSuchMethodException e) {
|
||||
return super.isCleartextTrafficPermitted(hostname);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks to see if Google Play Services Dynamic Security Provider is present which provides ALPN
|
||||
* support. If it isn't checks to see if device is Android 5.0+ since 4.x device have broken
|
||||
* ALPN support.
|
||||
*/
|
||||
private static boolean supportsAlpn() {
|
||||
if (Security.getProvider("GMSCore_OpenSSL") != null) {
|
||||
return true;
|
||||
} else {
|
||||
try {
|
||||
Class.forName("android.net.Network"); // Arbitrary class added in Android 5.0.
|
||||
return true;
|
||||
} catch (ClassNotFoundException ignored) { }
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public CertificateChainCleaner buildCertificateChainCleaner(X509TrustManager trustManager) {
|
||||
try {
|
||||
Class<?> extensionsClass = Class.forName("android.net.http.X509TrustManagerExtensions");
|
||||
Constructor<?> constructor = extensionsClass.getConstructor(X509TrustManager.class);
|
||||
Object extensions = constructor.newInstance(trustManager);
|
||||
Method checkServerTrusted = extensionsClass.getMethod(
|
||||
"checkServerTrusted", X509Certificate[].class, String.class, String.class);
|
||||
return new AndroidCertificateChainCleaner(extensions, checkServerTrusted);
|
||||
} catch (Exception e) {
|
||||
return super.buildCertificateChainCleaner(trustManager);
|
||||
}
|
||||
}
|
||||
|
||||
public static Platform buildIfSupported() {
|
||||
// Attempt to find Android 2.3+ APIs.
|
||||
try {
|
||||
Class<?> sslParametersClass;
|
||||
try {
|
||||
sslParametersClass = Class.forName("com.android.org.conscrypt.SSLParametersImpl");
|
||||
} catch (ClassNotFoundException e) {
|
||||
// Older platform before being unbundled.
|
||||
sslParametersClass = Class.forName(
|
||||
"org.apache.harmony.xnet.provider.jsse.SSLParametersImpl");
|
||||
}
|
||||
|
||||
OptionalMethod<Socket> setUseSessionTickets = new OptionalMethod<>(
|
||||
null, "setUseSessionTickets", boolean.class);
|
||||
OptionalMethod<Socket> setHostname = new OptionalMethod<>(
|
||||
null, "setHostname", String.class);
|
||||
OptionalMethod<Socket> getAlpnSelectedProtocol = null;
|
||||
OptionalMethod<Socket> setAlpnProtocols = null;
|
||||
|
||||
if (supportsAlpn()) {
|
||||
getAlpnSelectedProtocol
|
||||
= new OptionalMethod<>(byte[].class, "getAlpnSelectedProtocol");
|
||||
setAlpnProtocols
|
||||
= new OptionalMethod<>(null, "setAlpnProtocols", byte[].class);
|
||||
}
|
||||
|
||||
return new AndroidPlatform9(sslParametersClass, setUseSessionTickets, setHostname,
|
||||
getAlpnSelectedProtocol, setAlpnProtocols);
|
||||
} catch (ClassNotFoundException ignored) {
|
||||
// This isn't an Android runtime.
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TrustRootIndex buildTrustRootIndex(X509TrustManager trustManager) {
|
||||
|
||||
try {
|
||||
// From org.conscrypt.TrustManagerImpl, we want the method with this signature:
|
||||
// private TrustAnchor findTrustAnchorByIssuerAndSignature(X509Certificate lastCert);
|
||||
Method method = trustManager.getClass().getDeclaredMethod(
|
||||
"findTrustAnchorByIssuerAndSignature", X509Certificate.class);
|
||||
method.setAccessible(true);
|
||||
return new AndroidTrustRootIndex(trustManager, method);
|
||||
} catch (NoSuchMethodException e) {
|
||||
return super.buildTrustRootIndex(trustManager);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* X509TrustManagerExtensions was added to Android in API 17 (Android 4.2, released in late 2012).
|
||||
* This is the best way to get a clean chain on Android because it uses the same code as the TLS
|
||||
* handshake.
|
||||
*/
|
||||
static final class AndroidCertificateChainCleaner extends CertificateChainCleaner {
|
||||
private final Object x509TrustManagerExtensions;
|
||||
private final Method checkServerTrusted;
|
||||
|
||||
AndroidCertificateChainCleaner(Object x509TrustManagerExtensions, Method checkServerTrusted) {
|
||||
this.x509TrustManagerExtensions = x509TrustManagerExtensions;
|
||||
this.checkServerTrusted = checkServerTrusted;
|
||||
}
|
||||
|
||||
@SuppressWarnings({"unchecked", "SuspiciousToArrayCall"}) // Reflection on List<Certificate>.
|
||||
@Override public List<Certificate> clean(List<Certificate> chain, String hostname)
|
||||
throws SSLPeerUnverifiedException {
|
||||
try {
|
||||
X509Certificate[] certificates = chain.toArray(new X509Certificate[chain.size()]);
|
||||
return (List<Certificate>) checkServerTrusted.invoke(
|
||||
x509TrustManagerExtensions, certificates, "RSA", hostname);
|
||||
} catch (InvocationTargetException e) {
|
||||
SSLPeerUnverifiedException exception = new SSLPeerUnverifiedException(e.getMessage());
|
||||
exception.initCause(e);
|
||||
throw exception;
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override public boolean equals(Object other) {
|
||||
return other instanceof AndroidCertificateChainCleaner; // All instances are equivalent.
|
||||
}
|
||||
|
||||
@Override public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides access to the internal dalvik.system.CloseGuard class. Android uses this in
|
||||
* combination with android.os.StrictMode to report on leaked java.io.Closeable's. Available since
|
||||
* Android API 11.
|
||||
*/
|
||||
static final class CloseGuard {
|
||||
private final Method getMethod;
|
||||
private final Method openMethod;
|
||||
private final Method warnIfOpenMethod;
|
||||
|
||||
CloseGuard(Method getMethod, Method openMethod, Method warnIfOpenMethod) {
|
||||
this.getMethod = getMethod;
|
||||
this.openMethod = openMethod;
|
||||
this.warnIfOpenMethod = warnIfOpenMethod;
|
||||
}
|
||||
|
||||
Object createAndOpen(String closer) {
|
||||
if (getMethod != null) {
|
||||
try {
|
||||
Object closeGuardInstance = getMethod.invoke(null);
|
||||
openMethod.invoke(closeGuardInstance, closer);
|
||||
return closeGuardInstance;
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
boolean warnIfOpen(Object closeGuardInstance) {
|
||||
boolean reported = false;
|
||||
if (closeGuardInstance != null) {
|
||||
try {
|
||||
warnIfOpenMethod.invoke(closeGuardInstance);
|
||||
reported = true;
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
return reported;
|
||||
}
|
||||
|
||||
static CloseGuard get() {
|
||||
Method getMethod;
|
||||
Method openMethod;
|
||||
Method warnIfOpenMethod;
|
||||
|
||||
try {
|
||||
Class<?> closeGuardClass = Class.forName("dalvik.system.CloseGuard");
|
||||
getMethod = closeGuardClass.getMethod("get");
|
||||
openMethod = closeGuardClass.getMethod("open", String.class);
|
||||
warnIfOpenMethod = closeGuardClass.getMethod("warnIfOpen");
|
||||
} catch (Exception ignored) {
|
||||
getMethod = null;
|
||||
openMethod = null;
|
||||
warnIfOpenMethod = null;
|
||||
}
|
||||
return new CloseGuard(getMethod, openMethod, warnIfOpenMethod);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* An index of trusted root certificates that exploits knowledge of Android implementation
|
||||
* details. This class is potentially much faster to initialize than {@link BasicTrustRootIndex}
|
||||
* because it doesn't need to load and index trusted CA certificates.
|
||||
*
|
||||
* <p>This class uses APIs added to Android in API 14 (Android 4.0, released October 2011). This
|
||||
* class shouldn't be used in Android API 17 or better because those releases are better served by
|
||||
* {@link AndroidCertificateChainCleaner}.
|
||||
*/
|
||||
static final class AndroidTrustRootIndex implements TrustRootIndex {
|
||||
private final X509TrustManager trustManager;
|
||||
private final Method findByIssuerAndSignatureMethod;
|
||||
|
||||
AndroidTrustRootIndex(X509TrustManager trustManager, Method findByIssuerAndSignatureMethod) {
|
||||
this.findByIssuerAndSignatureMethod = findByIssuerAndSignatureMethod;
|
||||
this.trustManager = trustManager;
|
||||
}
|
||||
|
||||
@Override public X509Certificate findByIssuerAndSignature(X509Certificate cert) {
|
||||
try {
|
||||
TrustAnchor trustAnchor = (TrustAnchor) findByIssuerAndSignatureMethod.invoke(
|
||||
trustManager, cert);
|
||||
return trustAnchor != null
|
||||
? trustAnchor.getTrustedCert()
|
||||
: null;
|
||||
} catch (IllegalAccessException e) {
|
||||
return null;
|
||||
} catch (InvocationTargetException e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof AndroidTrustRootIndex)) {
|
||||
return false;
|
||||
}
|
||||
AndroidTrustRootIndex that = (AndroidTrustRootIndex) obj;
|
||||
return trustManager.equals(that.trustManager)
|
||||
&& findByIssuerAndSignatureMethod.equals(that.findByIssuerAndSignatureMethod);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return trustManager.hashCode() + 31 * findByIssuerAndSignatureMethod.hashCode();
|
||||
}
|
||||
}
|
||||
|
||||
@Override public SSLContext getSSLContext() {
|
||||
boolean tryTls12;
|
||||
try {
|
||||
tryTls12 = (Build.VERSION.SDK_INT >= 16 && Build.VERSION.SDK_INT < 22);
|
||||
} catch (NoClassDefFoundError e) {
|
||||
// Not a real Android runtime; probably RoboVM or MoE
|
||||
// Try to load TLS 1.2 explicitly.
|
||||
tryTls12 = true;
|
||||
}
|
||||
|
||||
if (tryTls12) {
|
||||
try {
|
||||
return SSLContext.getInstance("TLSv1.2");
|
||||
} catch (NoSuchAlgorithmException e) {
|
||||
// fallback to TLS
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
return SSLContext.getInstance("TLS");
|
||||
} catch (NoSuchAlgorithmException e) {
|
||||
throw new IllegalStateException("No TLS provider", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
115
libdata/src/main/java/com/migu/httputils/BaseHttpUtils.java
Executable file
115
libdata/src/main/java/com/migu/httputils/BaseHttpUtils.java
Executable file
@@ -0,0 +1,115 @@
|
||||
package com.migu.httputils;
|
||||
|
||||
import com.pukka.libcore.boxShared.BoxSharedParameters;
|
||||
import com.pukka.libcore.cipher.Md5Utils;
|
||||
import com.pukka.libcore.utils.LogUtils;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* 和业务相关的请求工具基类
|
||||
*
|
||||
* @author MajorLL
|
||||
*/
|
||||
public class BaseHttpUtils {
|
||||
/**
|
||||
* 请求主路径
|
||||
* 测试环境要用IPTVPortalInterface4 已经统一为iptv了
|
||||
* 灰度和现网用IPTVPortalInterface
|
||||
*/
|
||||
public final static String PATH_PARAM = "/IPTVPortalInterface";
|
||||
|
||||
public final static String PATH_PARAM_MATCH = "/v1/mtp-sportZone";
|
||||
|
||||
/**
|
||||
* 预发布环境
|
||||
*/
|
||||
// private static final String SP_TOKEN = "9006874392099a89506142c6df9e3314";
|
||||
// private static final String KEY = "migujs";
|
||||
// private static final String PORTAL_CODE = "PCODE-Nigy6Oug";
|
||||
|
||||
private static final String SP_TOKEN = "9006874392099a89506142c6df9e3314";
|
||||
private static final String KEY = "alltvjs";
|
||||
private static final String PORTAL_CODE = "PCODE-JC";
|
||||
|
||||
public static String getTimeShift() {
|
||||
return String.valueOf(System.currentTimeMillis());
|
||||
}
|
||||
|
||||
/**
|
||||
* Resultcode 信息
|
||||
* 0 正确
|
||||
* 0000001 Sp省份信息错误
|
||||
* 0000000 程序异常报
|
||||
* 0000003 必要参数为空
|
||||
* 0000004 Sign 签名错误
|
||||
*
|
||||
* @param timeShift 时间戳
|
||||
*/
|
||||
public static String getSign(String timeShift) {
|
||||
// MD5Utils(sptoken+timeshift+portalcode+私下约定的秘钥)
|
||||
return Md5Utils.getMD5(SP_TOKEN + timeShift + PORTAL_CODE + KEY).toUpperCase(Locale.ROOT);
|
||||
}
|
||||
|
||||
protected static String getStbId() {
|
||||
return BoxSharedParameters.getInstance().getStbId();
|
||||
}
|
||||
|
||||
protected static String getUserName() {
|
||||
LogUtils.d("zzjzzjzzjgetUserId" + BoxSharedParameters.getInstance().getUserId());
|
||||
return BoxSharedParameters.getInstance().getUserId();
|
||||
}
|
||||
|
||||
protected static String getChannelId() {
|
||||
return BoxSharedParameters.getInstance().getChannelId();
|
||||
}
|
||||
|
||||
public static String suport4k() {
|
||||
String need4k = "1";
|
||||
// int issSupport4k = BoxSharedParameters.getInstance().getkFlag(); //1支持 2不支持 3正常
|
||||
// String epgToApksupport4k = TextUtils.equals("0", SharedPreferenceUtils.getString("epgToApk", "issupport4k", "")) ? "0" : "1"; //0是不支持 1是支持
|
||||
// if (issSupport4k == 2) {//表示有配置4k黑名单
|
||||
// need4k = "2" ;
|
||||
// } else if (TextUtils.equals("0",epgToApksupport4k)) {//表示有做过自检测 且自检测结果为不支持
|
||||
// need4k = "2";
|
||||
// }
|
||||
return need4k;
|
||||
}
|
||||
|
||||
public static String getSpToken() {
|
||||
return SP_TOKEN;
|
||||
}
|
||||
|
||||
public static String getPortalCode() {
|
||||
return PORTAL_CODE;
|
||||
}
|
||||
|
||||
public static String getKEY() {
|
||||
return KEY;
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成32位16位进制字符串
|
||||
*
|
||||
* @return session
|
||||
*/
|
||||
public static String createSession() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String s = "0123456789abcdef";
|
||||
Random random = new Random();
|
||||
// 开头20位
|
||||
for (int i = 0; i < 20; i++) {
|
||||
sb.append(s.charAt(random.nextInt(s.length())));
|
||||
}
|
||||
// 中间8位
|
||||
String s1 = "0000000" + Long.toHexString(System.currentTimeMillis());
|
||||
String s2 = s1.substring(s1.length() - 8, s1.length());
|
||||
sb.append(s2);
|
||||
// 最后4位
|
||||
for (int i = 0; i < 4; i++) {
|
||||
sb.append(s.charAt(random.nextInt(s.length())));
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
441
libdata/src/main/java/com/migu/httputils/ContentHttpUtils.java
Executable file
441
libdata/src/main/java/com/migu/httputils/ContentHttpUtils.java
Executable file
@@ -0,0 +1,441 @@
|
||||
package com.migu.httputils;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.migu.bean.CollectBean;
|
||||
import com.migu.callback.AijiaCallback;
|
||||
import com.migu.libnetwork.HttpRequestCallback;
|
||||
import com.migu.libnetwork.HttpUtils;
|
||||
import com.pukka.libcore.boxShared.BoxSharedParameters;
|
||||
import com.pukka.libcore.utils.LogUtils;
|
||||
import com.pukka.libcore.utils.StringUtils;
|
||||
|
||||
import java.util.TreeMap;
|
||||
|
||||
/**
|
||||
* 内容相关请求接口
|
||||
*
|
||||
* @author MajorLL
|
||||
*/
|
||||
public class ContentHttpUtils extends BaseHttpUtils {
|
||||
|
||||
/**
|
||||
* 是否收藏
|
||||
*/
|
||||
private static final String is_COLLECT = PATH_PARAM + "/NewZoneColl/iscoll.do";
|
||||
/**
|
||||
* 添加收藏
|
||||
*/
|
||||
private static final String ADD_COLLECT = PATH_PARAM + "/NewZoneColl/addcoll.do";
|
||||
|
||||
/**
|
||||
* 获取收藏列表
|
||||
*/
|
||||
private static final String GET_COLLECT = PATH_PARAM + "/NewZoneColl/getlistcoll.do";
|
||||
|
||||
/**
|
||||
* 取消收藏
|
||||
*/
|
||||
private static final String DEL_COLLECT = PATH_PARAM + "/NewZoneColl/delectcoll.do";
|
||||
|
||||
/**
|
||||
* 添加播放记录
|
||||
*/
|
||||
private static final String ALL_PLAY_RECORD = PATH_PARAM + "/NewZonePlay/addPlayrecord.do";
|
||||
|
||||
/**
|
||||
* 获取单个播放记录列表
|
||||
*/
|
||||
private static final String FIND_SINGE_PLAY_RECORD = PATH_PARAM + "/NewZonePlay/findPlayrecordByseries.do";
|
||||
|
||||
/**
|
||||
* 获取播放记录列表
|
||||
*/
|
||||
private static final String FIND_PLAY_RECORD = PATH_PARAM + "/NewZonePlay/findPlayrecord.do";
|
||||
|
||||
|
||||
/**
|
||||
* 删除播放记录
|
||||
*/
|
||||
private static final String DELETE_PLAY_RECORD = PATH_PARAM + "/NewZonePlay/deletePlayrecord.do";
|
||||
|
||||
|
||||
/**
|
||||
* 查询单个播放记录接口
|
||||
*/
|
||||
public static void findPlayrecordByseries(String contentcode, AijiaCallback.StringResponseCallBack stringResponseCallBack) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
map.put("parentcode", contentcode);
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timeshift", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("username", BoxSharedParameters.getInstance().getUserId());
|
||||
map.put("channelid", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
HttpUtils.getInstance().executePost(FIND_SINGE_PLAY_RECORD, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
stringResponseCallBack.onResponse("");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
stringResponseCallBack.onResponse(result);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
stringResponseCallBack.onResponse("");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加播放记录接口
|
||||
* actordisplay
|
||||
* actordisplayen
|
||||
* categoryid
|
||||
* categoryname
|
||||
* categorynameen
|
||||
* contentcountryid
|
||||
* originalcountry
|
||||
* originalcountryen
|
||||
* contentkindid
|
||||
* contentkindname
|
||||
* contentkindnameen
|
||||
* contenttype
|
||||
* contentyearid
|
||||
* cpname
|
||||
* duration
|
||||
* midimg
|
||||
* midimg2
|
||||
* extendimg
|
||||
* posterimg3
|
||||
* icon
|
||||
* contentname
|
||||
* writerdisplay
|
||||
* writerdisplayen
|
||||
* episodeindex
|
||||
*/
|
||||
public static void addPlayRecord(String json, String playtime, long currentPosition, AijiaCallback.StringResponseCallBack stringResponseCallBack) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timeshift", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("username", BoxSharedParameters.getInstance().getUserId());
|
||||
map.put("channelid", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
map.put("isay", "0");
|
||||
map.put("playtime", playtime);
|
||||
map.put("playlong", String.valueOf(currentPosition));
|
||||
map.put("parentcode", DataValueUtils.getDataValues(json,"parentcode"));
|
||||
map.put("contentcode", DataValueUtils.getDataValues(json,"contentcode"));
|
||||
|
||||
map.put("actordisplay", DataValueUtils.getDataValues(json,"actordisplay"));
|
||||
map.put("actordisplayen", DataValueUtils.getDataValues(json,"actordisplayen"));
|
||||
map.put("categoryid", DataValueUtils.getDataValues(json,"categoryid"));
|
||||
map.put("categoryname", DataValueUtils.getDataValues(json,"categoryname"));
|
||||
map.put("categorynameen", DataValueUtils.getDataValues(json,"categorynameen"));
|
||||
map.put("contentcountryid", DataValueUtils.getDataValues(json,"contentcountryid"));
|
||||
map.put("originalcountry", DataValueUtils.getDataValues(json,"originalcountry"));
|
||||
map.put("originalcountryen", DataValueUtils.getDataValues(json,"originalcountryen"));
|
||||
map.put("contentkindid", DataValueUtils.getDataValues(json,"contentkindid"));
|
||||
map.put("contentkindname", DataValueUtils.getDataValues(json,"contentkindname"));
|
||||
map.put("contentkindnameen", DataValueUtils.getDataValues(json,"contentkindnameen"));
|
||||
map.put("contenttype", DataValueUtils.getDataValues(json,"contenttype"));
|
||||
map.put("contentyearid", DataValueUtils.getDataValues(json,"contentyearid"));
|
||||
map.put("cpname", DataValueUtils.getDataValues(json,"cpname"));
|
||||
map.put("duration", DataValueUtils.getDataValues(json,"duration"));
|
||||
map.put("midimg", DataValueUtils.getDataValues(json,"midimg"));
|
||||
map.put("midimg2", DataValueUtils.getDataValues(json,"midimg2"));
|
||||
map.put("extendimg", DataValueUtils.getDataValues(json,"extendimg"));
|
||||
map.put("posterimg3", DataValueUtils.getDataValues(json,"posterimg3"));
|
||||
map.put("icon", DataValueUtils.getDataValues(json,"icon"));
|
||||
map.put("contentname", DataValueUtils.getDataValues(json,"contentname"));
|
||||
map.put("writerdisplay", DataValueUtils.getDataValues(json,"writerdisplay"));
|
||||
map.put("writerdisplayen", DataValueUtils.getDataValues(json,"writerdisplayen"));
|
||||
map.put("episodeindex", DataValueUtils.getDataValues(json,"episodeindex"));
|
||||
|
||||
|
||||
HttpUtils.getInstance().executePost(ALL_PLAY_RECORD, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
stringResponseCallBack.onResponse("");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
stringResponseCallBack.onResponse(result);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
stringResponseCallBack.onResponse("");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否已经收藏接口
|
||||
*/
|
||||
public static void isCollect(String contentcode, AijiaCallback.StringResponseCallBack stringResponseCallBack) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
map.put("contentcode", contentcode);
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timeshift", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("username", BoxSharedParameters.getInstance().getUserId());
|
||||
map.put("channelid", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
HttpUtils.getInstance().executePost(is_COLLECT, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
stringResponseCallBack.onResponse("");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
stringResponseCallBack.onResponse(result);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
stringResponseCallBack.onResponse("");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加收藏接口
|
||||
*/
|
||||
public static void addCollect(String json, AijiaCallback.CollectResponseCallBack collectResponseCallBack) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timeshift", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("username", BoxSharedParameters.getInstance().getUserId());
|
||||
map.put("channelid", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
|
||||
map.put("contentcode", DataValueUtils.getDataValues(json,"parentcode"));
|
||||
|
||||
map.put("actordisplay", DataValueUtils.getDataValues(json,"actordisplay"));
|
||||
map.put("actordisplayen", DataValueUtils.getDataValues(json,"actordisplayen"));
|
||||
map.put("categoryid", DataValueUtils.getDataValues(json,"categoryid"));
|
||||
map.put("categoryname", DataValueUtils.getDataValues(json,"categoryname"));
|
||||
map.put("categorynameen", DataValueUtils.getDataValues(json,"categorynameen"));
|
||||
map.put("contentcountryid", DataValueUtils.getDataValues(json,"contentcountryid"));
|
||||
map.put("originalcountry", DataValueUtils.getDataValues(json,"originalcountry"));
|
||||
map.put("originalcountryen", DataValueUtils.getDataValues(json,"originalcountryen"));
|
||||
map.put("contentkindid", DataValueUtils.getDataValues(json,"contentkindid"));
|
||||
map.put("contentkindname", DataValueUtils.getDataValues(json,"contentkindname"));
|
||||
map.put("contentkindnameen", DataValueUtils.getDataValues(json,"contentkindnameen"));
|
||||
map.put("contenttype", DataValueUtils.getDataValues(json,"contenttype"));
|
||||
map.put("contentyearid", DataValueUtils.getDataValues(json,"contentyearid"));
|
||||
map.put("cpname", DataValueUtils.getDataValues(json,"cpname"));
|
||||
map.put("duration", DataValueUtils.getDataValues(json,"duration"));
|
||||
map.put("midimg", DataValueUtils.getDataValues(json,"midimg"));
|
||||
map.put("midimg2", DataValueUtils.getDataValues(json,"midimg2"));
|
||||
map.put("extendimg", DataValueUtils.getDataValues(json,"extendimg"));
|
||||
map.put("posterimg3", DataValueUtils.getDataValues(json,"posterimg3"));
|
||||
map.put("icon", DataValueUtils.getDataValues(json,"icon"));
|
||||
map.put("contentname", DataValueUtils.getDataValues(json,"contentname"));
|
||||
map.put("writerdisplay", DataValueUtils.getDataValues(json,"writerdisplay"));
|
||||
map.put("writerdisplayen", DataValueUtils.getDataValues(json,"writerdisplayen"));
|
||||
map.put("spid", DataValueUtils.getDataValues(json,"spid"));
|
||||
map.put("spname", DataValueUtils.getDataValues(json,"spid"));
|
||||
HttpUtils.getInstance().executePost(ADD_COLLECT, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
if (collectResponseCallBack != null) {
|
||||
collectResponseCallBack.fail();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (collectResponseCallBack != null) {
|
||||
CollectBean collectBean = new Gson().fromJson(result, CollectBean.class);
|
||||
collectResponseCallBack.onResponse(collectBean);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (collectResponseCallBack != null) {
|
||||
collectResponseCallBack.fail();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 取消收藏接口
|
||||
*/
|
||||
public static void delCollect(String contentcode, AijiaCallback.CollectResponseCallBack collectResponseCallBack) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
if("$$remove_all$$".equals(contentcode)){
|
||||
contentcode="";
|
||||
}
|
||||
map.put("stbid", getStbId());
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timeshift", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("username", BoxSharedParameters.getInstance().getUserId());
|
||||
map.put("channelid", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
map.put("contentcode", contentcode);
|
||||
|
||||
HttpUtils.getInstance().executePost(DEL_COLLECT, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
if (collectResponseCallBack != null) {
|
||||
collectResponseCallBack.fail();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (collectResponseCallBack != null) {
|
||||
CollectBean collectBean = new Gson().fromJson(result, CollectBean.class);
|
||||
collectResponseCallBack.onResponse(collectBean);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (collectResponseCallBack != null) {
|
||||
collectResponseCallBack.fail();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除历史记录接口
|
||||
*/
|
||||
public static void delPlayHistory(String contentcode, AijiaCallback.StringResponseCallBack responseCallBack) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
map.put("parentcode", contentcode);
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timeshift", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("username", BoxSharedParameters.getInstance().getUserId());
|
||||
map.put("channelid", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
HttpUtils.getInstance().executePost(DELETE_PLAY_RECORD, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
if (responseCallBack != null) {
|
||||
responseCallBack.onResponse("");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (responseCallBack != null) {
|
||||
responseCallBack.onResponse(result);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (responseCallBack != null) {
|
||||
responseCallBack.onResponse("");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取收藏列表接口
|
||||
*/
|
||||
public static void getCollect(String pageNumber,String pageSize, AijiaCallback.StringResponseCallBack responseCallBack) {
|
||||
//pageSize
|
||||
//pageNumber
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
// map.put("pageSize", pageSize);
|
||||
// map.put("pageNumber", pageNumber);
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timeshift", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("username", BoxSharedParameters.getInstance().getUserId());
|
||||
map.put("channelid", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
HttpUtils.getInstance().executePost(GET_COLLECT, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
responseCallBack.onResponse("");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (responseCallBack != null) {
|
||||
responseCallBack.onResponse(result);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (responseCallBack != null) {
|
||||
responseCallBack.onResponse("");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取播放记录列表接口
|
||||
*/
|
||||
public static void getPlayHistory(String pageNumber,String pageSize, AijiaCallback.StringResponseCallBack responseCallBack) {
|
||||
//pageSize
|
||||
//pageNumber
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
map.put("pageSize", pageSize);
|
||||
map.put("pageNumber", pageNumber);
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timeshift", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("username", BoxSharedParameters.getInstance().getUserId());
|
||||
map.put("channelid", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
HttpUtils.getInstance().executePost(FIND_PLAY_RECORD, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
if (responseCallBack != null) {
|
||||
responseCallBack.onResponse("");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (responseCallBack != null) {
|
||||
responseCallBack.onResponse(result);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (responseCallBack != null) {
|
||||
responseCallBack.onResponse("");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
98
libdata/src/main/java/com/migu/httputils/DataValueUtils.java
Executable file
98
libdata/src/main/java/com/migu/httputils/DataValueUtils.java
Executable file
@@ -0,0 +1,98 @@
|
||||
package com.migu.httputils;
|
||||
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by FernFlower decompiler)
|
||||
//
|
||||
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
import org.json.JSONException;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
|
||||
public class DataValueUtils {
|
||||
private static final String TAG = "DataValueUtils";
|
||||
|
||||
public DataValueUtils() {
|
||||
}
|
||||
|
||||
public static String getDataValues(String dataAll, String... valueKeys) {
|
||||
String value = dataAll;
|
||||
|
||||
try {
|
||||
for(int i = 0; i < valueKeys.length; ++i) {
|
||||
JSONObject jsonObject = JSON.parseObject(value);
|
||||
value = jsonObject.getString(valueKeys[i]);
|
||||
if (i == valueKeys.length - 1) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
} catch (Exception var5) {
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
public static String setDataValue(String dataAll, String keys, String values) {
|
||||
try {
|
||||
JSONObject json = null;
|
||||
json = JSONObject.parseObject(dataAll);
|
||||
Set<String> keySet = json.keySet();
|
||||
Iterator var5 = keySet.iterator();
|
||||
|
||||
while(true) {
|
||||
while(var5.hasNext()) {
|
||||
String key = (String)var5.next();
|
||||
Object obj = json.get(key);
|
||||
if (obj instanceof JSONArray) {
|
||||
JSONArray arr = (JSONArray)obj;
|
||||
|
||||
for(int i = 0; i < arr.size(); ++i) {
|
||||
String child = setDataValue(arr.get(i).toString(), keys, values);
|
||||
arr.set(i, JSONObject.parse(child));
|
||||
}
|
||||
|
||||
json.put(key, arr);
|
||||
} else if (obj instanceof JSONObject) {
|
||||
JSONObject sub = (JSONObject)obj;
|
||||
String substr = setDataValue(sub.toJSONString(), keys, values);
|
||||
json.put(key, JSONObject.parse(substr));
|
||||
} else if (key.equals(keys)) {
|
||||
json.put(key, values);
|
||||
}
|
||||
}
|
||||
|
||||
return json.toJSONString();
|
||||
}
|
||||
} catch (Exception var11) {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
public static org.json.JSONObject toJSONObject(String dataAll) {
|
||||
org.json.JSONObject jsonObject = new org.json.JSONObject();
|
||||
|
||||
try {
|
||||
JSONObject json = null;
|
||||
json = JSONObject.parseObject(dataAll);
|
||||
Set<String> keySet = json.keySet();
|
||||
Iterator var4 = keySet.iterator();
|
||||
|
||||
while(var4.hasNext()) {
|
||||
String key = (String)var4.next();
|
||||
Object obj = json.get(key);
|
||||
jsonObject.put(key, obj);
|
||||
}
|
||||
|
||||
return jsonObject;
|
||||
} catch (JSONException var7) {
|
||||
var7.printStackTrace();
|
||||
return jsonObject;
|
||||
}
|
||||
}
|
||||
}
|
||||
1570
libdata/src/main/java/com/migu/httputils/HomeHttpUtils.java
Executable file
1570
libdata/src/main/java/com/migu/httputils/HomeHttpUtils.java
Executable file
File diff suppressed because it is too large
Load Diff
38
libdata/src/main/java/com/migu/httputils/LowPlatformUtils.java
Executable file
38
libdata/src/main/java/com/migu/httputils/LowPlatformUtils.java
Executable file
@@ -0,0 +1,38 @@
|
||||
package com.migu.httputils;
|
||||
|
||||
import android.os.Build;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.Properties;
|
||||
|
||||
import okhttp3.internal.platform.Platform;
|
||||
|
||||
public class LowPlatformUtils {
|
||||
//okhttp3 兼容android系统4.4
|
||||
public static void okhttp3InLowPlatform(){
|
||||
if (Build.VERSION.SDK_INT >= 21) {
|
||||
return;
|
||||
}
|
||||
try{
|
||||
//获取vm的名字
|
||||
String currentVmName = System.getProperty("java.vm.name", "Dalvik");
|
||||
|
||||
Properties properties = System.getProperties();
|
||||
//暂时把vm名字修改为 “jvm”,防止抛异常
|
||||
properties.setProperty("java.vm.name","jvm");
|
||||
|
||||
//反射,把PLATFORM 常量修改为 AndroidPlatform9.buildIfSupported()
|
||||
Platform platform = new Platform();
|
||||
|
||||
Field platformField = Platform.class.getDeclaredField("PLATFORM");
|
||||
platformField.setAccessible(true);
|
||||
|
||||
//重新赋值
|
||||
platformField.set(platform,AndroidPlatform9.buildIfSupported());
|
||||
|
||||
//重新把vm名字赋值回去
|
||||
properties.setProperty("java.vm.name",currentVmName);
|
||||
}catch (Throwable e){
|
||||
}
|
||||
}
|
||||
}
|
||||
266
libdata/src/main/java/com/migu/httputils/MatchHttpUtils.java
Executable file
266
libdata/src/main/java/com/migu/httputils/MatchHttpUtils.java
Executable file
@@ -0,0 +1,266 @@
|
||||
package com.migu.httputils;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.migu.bean.ShortVideoBean;
|
||||
import com.migu.bean.ShortVideoInfoListBean;
|
||||
import com.migu.bean.StarInfoIndexBean;
|
||||
import com.migu.bean.SubmitPointsLikesBean;
|
||||
import com.migu.bean.SupportVoteBean;
|
||||
import com.migu.bean.TopicVoteInfoBean;
|
||||
import com.migu.callback.AijiaCallback;
|
||||
import com.migu.callback.CommonCallback;
|
||||
import com.migu.libnetwork.HttpRequestCallback;
|
||||
import com.migu.libnetwork.HttpUtils;
|
||||
import com.pukka.libcore.boxShared.BoxSharedParameters;
|
||||
|
||||
import java.util.TreeMap;
|
||||
|
||||
/**
|
||||
* 赛会楼层迁移相关请求接口
|
||||
* @author ouyang
|
||||
*/
|
||||
public class MatchHttpUtils extends BaseHttpUtils {
|
||||
|
||||
|
||||
/**
|
||||
* 投票互动( 获取活动双方信息接口)
|
||||
*/
|
||||
private static final String GET_VOTE_INFO = PATH_PARAM_MATCH + "/voteInfo";
|
||||
|
||||
|
||||
/**
|
||||
* 记录支持次数接口(观众互动投票,将支持队伍次数请求给后端)
|
||||
*/
|
||||
private static final String VOTE_SUPPORT = PATH_PARAM_MATCH + "/voteSupport";
|
||||
|
||||
/**
|
||||
* 人气榜详情接口(通过此接口,获取用户点赞的球员、球队、嘉宾数据)
|
||||
*/
|
||||
private static final String GET_POPULARITY_RANK = PATH_PARAM_MATCH + "/star/getPopularityRank";
|
||||
|
||||
/**
|
||||
* 人气榜点赞接口(通过此接口,获取用户点赞的球员、球队、嘉宾数据)
|
||||
*/
|
||||
private static final String SUBMIT_LIKE = PATH_PARAM_MATCH + "/star/submitPopularPointsLike";
|
||||
|
||||
|
||||
/**
|
||||
* 短视频
|
||||
*/
|
||||
private static final String getShortVideoList = PATH_PARAM_MATCH + "/shortVideoList";
|
||||
/**
|
||||
* 获取活动双方信息接口
|
||||
*/
|
||||
public static void getVoteInfo(String topicId,String seasonCode, CommonCallback mCommonCallback) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timestamp", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("channelId", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
map.put("topicId", topicId);
|
||||
map.put("seasonCode", seasonCode);
|
||||
HttpUtils.getInstance().executePost(GET_VOTE_INFO, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
if (mCommonCallback != null) {
|
||||
mCommonCallback.onFail();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (mCommonCallback != null) {
|
||||
TopicVoteInfoBean collectBean = new Gson().fromJson(result, TopicVoteInfoBean.class);
|
||||
mCommonCallback.onResponse(collectBean);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (mCommonCallback != null) {
|
||||
mCommonCallback.onFail();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 投票提交
|
||||
*/
|
||||
public static void voteSupport(String teamAId, String teamBId, String teamACount, String teamBCount, String topicId,String seasonCode, CommonCallback mCommonCallback) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timestamp", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("channelId", getChannelId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
map.put("teamAId", teamAId);
|
||||
map.put("teamBId", teamBId);
|
||||
map.put("teamACount", teamACount);
|
||||
map.put("teamBCount", teamBCount);
|
||||
map.put("topicId", topicId);
|
||||
map.put("seasonCode", seasonCode);
|
||||
HttpUtils.getInstance().executePost(VOTE_SUPPORT, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
if (mCommonCallback != null) {
|
||||
mCommonCallback.onFail();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (mCommonCallback != null) {
|
||||
SupportVoteBean collectBean = new Gson().fromJson(result, SupportVoteBean.class);
|
||||
mCommonCallback.onResponse(collectBean);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (mCommonCallback != null) {
|
||||
mCommonCallback.onFail();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 人气榜详情接口
|
||||
*/
|
||||
public static void getPopularityRank(String seasonCode,CommonCallback mCommonCallback) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
map.put("stbid", getStbId());
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timestamp", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
map.put("channelId", getChannelId());
|
||||
map.put("seasonCode", seasonCode);
|
||||
HttpUtils.getInstance().executePost(GET_POPULARITY_RANK, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
if (mCommonCallback != null) {
|
||||
mCommonCallback.onFail();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (mCommonCallback != null) {
|
||||
StarInfoIndexBean collectBean = new Gson().fromJson(result, StarInfoIndexBean.class);
|
||||
mCommonCallback.onResponse(collectBean);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (mCommonCallback != null) {
|
||||
mCommonCallback.onFail();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 人气榜点赞接口
|
||||
* flag:0 球队点赞 1,短视频点赞
|
||||
*/
|
||||
public static void submitPopularPointsLike(SubmitPointsLikesBean pointsLikes, ShortVideoInfoListBean shortVideoInfoList,
|
||||
int flag, String seasonCode, CommonCallback mCommonCallback) {
|
||||
TreeMap<String, Object> map = new TreeMap<>();
|
||||
map.put("stbId", getStbId());
|
||||
String timeShift = getTimeShift();
|
||||
map.put("timestamp", timeShift);
|
||||
map.put("sign", getSign(timeShift));
|
||||
map.put("userId", BoxSharedParameters.getInstance().getUserId());
|
||||
map.put("sptoken", getSpToken());
|
||||
map.put("portalcode", getPortalCode());
|
||||
if (flag ==0 ){
|
||||
map.put("pointsLikes", pointsLikes);
|
||||
}else if (flag == 1){
|
||||
map.put("pointsLikes", shortVideoInfoList);
|
||||
}
|
||||
map.put("channelId",getChannelId());
|
||||
map.put("seasonCode", seasonCode);
|
||||
HttpUtils.getInstance().executePost(SUBMIT_LIKE, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
if (mCommonCallback != null) {
|
||||
mCommonCallback.onFail();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (mCommonCallback != null) {
|
||||
SupportVoteBean collectBean = new Gson().fromJson(result, SupportVoteBean.class);
|
||||
mCommonCallback.onResponse(collectBean);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (mCommonCallback != null) {
|
||||
mCommonCallback.onFail();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取活动双方信息接口
|
||||
*/
|
||||
public static void getShortVideoList(String name,String pageIndex, String seasonCode, String columnId, AijiaCallback.GetShortVideoCallBack shortVideoCallBack) {
|
||||
TreeMap<String, String> map = new TreeMap<>();
|
||||
String timeShift = getTimeShift();
|
||||
map.put( "seasonCode",seasonCode);
|
||||
map.put( "columnId" ,columnId);
|
||||
map.put( "columnName",name);
|
||||
map.put( "pageIndex" , pageIndex);
|
||||
map.put( "pageSize" , "10");
|
||||
map.put( "portalcode",getPortalCode());
|
||||
map.put( "sptoken" ,getSpToken());
|
||||
map.put( "timestamp" , timeShift);
|
||||
map.put( "sign" ,getSign(timeShift));
|
||||
map.put( "channelId" ,BoxSharedParameters.getInstance().getChannelId());
|
||||
HttpUtils.getInstance().executePost(getShortVideoList, map, 0, new HttpRequestCallback() {
|
||||
@Override
|
||||
public void onRequestNetFail(int type) {
|
||||
if (shortVideoCallBack != null) {
|
||||
shortVideoCallBack.fail();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestSuccess(String result, int type) {
|
||||
if (shortVideoCallBack != null) {
|
||||
ShortVideoBean shortVideoBean = fromJson(result, ShortVideoBean.class);
|
||||
shortVideoCallBack.onResponse(shortVideoBean);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestFail(String value, String failCode, int type) {
|
||||
if (shortVideoCallBack != null) {
|
||||
shortVideoCallBack.fail();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private static <K> K fromJson(String result, Class<K> k) {
|
||||
try {
|
||||
return new Gson().fromJson(result, k);
|
||||
} catch (Exception e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
174
libdata/src/main/java/com/migu/httputils/OptionalMethod.java
Executable file
174
libdata/src/main/java/com/migu/httputils/OptionalMethod.java
Executable file
@@ -0,0 +1,174 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership.
|
||||
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
* (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.migu.httputils;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import java.lang.reflect.Modifier;
|
||||
|
||||
/**
|
||||
* Duck-typing for methods: Represents a method that may or may not be present on an object.
|
||||
*
|
||||
* @param <T> the type of the object the method might be on, typically an interface or base class
|
||||
*/
|
||||
class OptionalMethod<T> {
|
||||
|
||||
/** The return type of the method. null means "don't care". */
|
||||
private final Class<?> returnType;
|
||||
|
||||
private final String methodName;
|
||||
|
||||
private final Class[] methodParams;
|
||||
|
||||
/**
|
||||
* Creates an optional method.
|
||||
*
|
||||
* @param returnType the return type to required, null if it does not matter
|
||||
* @param methodName the name of the method
|
||||
* @param methodParams the method parameter types
|
||||
*/
|
||||
OptionalMethod(Class<?> returnType, String methodName, Class... methodParams) {
|
||||
this.returnType = returnType;
|
||||
this.methodName = methodName;
|
||||
this.methodParams = methodParams;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the method exists on the supplied {@code target}.
|
||||
*/
|
||||
public boolean isSupported(T target) {
|
||||
return getMethod(target.getClass()) != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Invokes the method on {@code target} with {@code args}. If the method does not exist or is not
|
||||
* public then {@code null} is returned. See also {@link #invokeOptionalWithoutCheckedException}.
|
||||
*
|
||||
* @throws IllegalArgumentException if the arguments are invalid
|
||||
* @throws InvocationTargetException if the invocation throws an exception
|
||||
*/
|
||||
public Object invokeOptional(T target, Object... args) throws InvocationTargetException {
|
||||
Method m = getMethod(target.getClass());
|
||||
if (m == null) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
return m.invoke(target, args);
|
||||
} catch (IllegalAccessException e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Invokes the method on {@code target}. If the method does not exist or is not public then
|
||||
* {@code null} is returned. Any RuntimeException thrown by the method is thrown, checked
|
||||
* exceptions are wrapped in an {@link AssertionError}.
|
||||
*
|
||||
* @throws IllegalArgumentException if the arguments are invalid
|
||||
*/
|
||||
public Object invokeOptionalWithoutCheckedException(T target, Object... args) {
|
||||
try {
|
||||
return invokeOptional(target, args);
|
||||
} catch (InvocationTargetException e) {
|
||||
Throwable targetException = e.getTargetException();
|
||||
if (targetException instanceof RuntimeException) {
|
||||
throw (RuntimeException) targetException;
|
||||
}
|
||||
AssertionError error = new AssertionError("Unexpected exception");
|
||||
error.initCause(targetException);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Invokes the method on {@code target} with {@code args}. Throws an error if the method is not
|
||||
* supported. See also {@link #invokeWithoutCheckedException(Object, Object...)}.
|
||||
*
|
||||
* @throws IllegalArgumentException if the arguments are invalid
|
||||
* @throws InvocationTargetException if the invocation throws an exception
|
||||
*/
|
||||
public Object invoke(T target, Object... args) throws InvocationTargetException {
|
||||
Method m = getMethod(target.getClass());
|
||||
if (m == null) {
|
||||
throw new AssertionError("Method " + methodName + " not supported for object " + target);
|
||||
}
|
||||
try {
|
||||
return m.invoke(target, args);
|
||||
} catch (IllegalAccessException e) {
|
||||
// Method should be public: we checked.
|
||||
AssertionError error = new AssertionError("Unexpectedly could not call: " + m);
|
||||
error.initCause(e);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Invokes the method on {@code target}. Throws an error if the method is not supported. Any
|
||||
* RuntimeException thrown by the method is thrown, checked exceptions are wrapped in an {@link
|
||||
* AssertionError}.
|
||||
*
|
||||
* @throws IllegalArgumentException if the arguments are invalid
|
||||
*/
|
||||
public Object invokeWithoutCheckedException(T target, Object... args) {
|
||||
try {
|
||||
return invoke(target, args);
|
||||
} catch (InvocationTargetException e) {
|
||||
Throwable targetException = e.getTargetException();
|
||||
if (targetException instanceof RuntimeException) {
|
||||
throw (RuntimeException) targetException;
|
||||
}
|
||||
AssertionError error = new AssertionError("Unexpected exception");
|
||||
error.initCause(targetException);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform a lookup for the method. No caching. In order to return a method the method name and
|
||||
* arguments must match those specified when the {@link OptionalMethod} was created. If the return
|
||||
* type is specified (i.e. non-null) it must also be compatible. The method must also be public.
|
||||
*/
|
||||
private Method getMethod(Class<?> clazz) {
|
||||
Method method = null;
|
||||
if (methodName != null) {
|
||||
method = getPublicMethod(clazz, methodName, methodParams);
|
||||
if (method != null
|
||||
&& returnType != null
|
||||
&& !returnType.isAssignableFrom(method.getReturnType())) {
|
||||
|
||||
// If the return type is non-null it must be compatible.
|
||||
method = null;
|
||||
}
|
||||
}
|
||||
return method;
|
||||
}
|
||||
|
||||
private static Method getPublicMethod(Class<?> clazz, String methodName, Class[] parameterTypes) {
|
||||
Method method = null;
|
||||
try {
|
||||
method = clazz.getMethod(methodName, parameterTypes);
|
||||
if ((method.getModifiers() & Modifier.PUBLIC) == 0) {
|
||||
method = null;
|
||||
}
|
||||
} catch (NoSuchMethodException e) {
|
||||
// None.
|
||||
}
|
||||
return method;
|
||||
}
|
||||
}
|
||||
|
||||
29
libdata/src/main/java/com/migu/libnetwork/AnHuiApi.java
Executable file
29
libdata/src/main/java/com/migu/libnetwork/AnHuiApi.java
Executable file
@@ -0,0 +1,29 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
import io.reactivex.rxjava3.core.Observable;
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.ResponseBody;
|
||||
import retrofit2.Call;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.POST;
|
||||
import retrofit2.http.Path;
|
||||
|
||||
/**
|
||||
* create by xujiangyun at 2024/1/19
|
||||
* 安徽api
|
||||
*/
|
||||
|
||||
public interface AnHuiApi {
|
||||
|
||||
//鉴权
|
||||
@POST("UserAndProdCheck")
|
||||
Call<ResponseBody> authOrize(@Body RequestBody body);
|
||||
|
||||
//足迹
|
||||
@POST("addBookmarks")
|
||||
Call<ResponseBody> historyReport(@Body RequestBody body);
|
||||
|
||||
//收藏
|
||||
@POST("addFavorites")
|
||||
Call<ResponseBody> collectReport(@Body RequestBody body);
|
||||
}
|
||||
136
libdata/src/main/java/com/migu/libnetwork/ApiService.java
Executable file
136
libdata/src/main/java/com/migu/libnetwork/ApiService.java
Executable file
@@ -0,0 +1,136 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
|
||||
import io.reactivex.rxjava3.core.Observable;
|
||||
import okhttp3.MultipartBody;
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.ResponseBody;
|
||||
import retrofit2.Call;
|
||||
import retrofit2.Response;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.FieldMap;
|
||||
import retrofit2.http.FormUrlEncoded;
|
||||
import retrofit2.http.GET;
|
||||
import retrofit2.http.Header;
|
||||
import retrofit2.http.Multipart;
|
||||
import retrofit2.http.POST;
|
||||
import retrofit2.http.Part;
|
||||
import retrofit2.http.PartMap;
|
||||
import retrofit2.http.Path;
|
||||
import retrofit2.http.Query;
|
||||
import retrofit2.http.QueryMap;
|
||||
import retrofit2.http.Streaming;
|
||||
import retrofit2.http.Url;
|
||||
|
||||
public interface ApiService {
|
||||
|
||||
@GET
|
||||
Observable<String> getPath(@Url String url);
|
||||
|
||||
// GET请求(无参) api = news
|
||||
@GET("{api}")
|
||||
Observable<String> getData(@Path("api") String api);
|
||||
|
||||
@GET
|
||||
Observable<String> getData(@Url String url,@Header("Cookie") String headers);
|
||||
|
||||
// GET请求(带参) api = news
|
||||
@GET("{api}")
|
||||
Observable<String> getData(@Path("api") String api, @QueryMap TreeMap<String, Object> map);
|
||||
|
||||
@GET
|
||||
Observable<String> getLoginData(@Url String url,@Header("tenant") String headers);
|
||||
@GET
|
||||
Observable<String> getIsLogin(@Url String url,@Header("tenant") String headers);
|
||||
@GET
|
||||
Observable<String> getPayResultCycle(@Url String url,@Header("Authorization") String headers,@Header("tenant") String tenant);
|
||||
|
||||
@GET
|
||||
Observable<String> getUserInfo(@Url String url,@Header("Authorization") String authorization,@Header("tenant") String tenant);
|
||||
|
||||
// POST请求(无参)
|
||||
@POST("{api}")
|
||||
Observable<String> postData(@Path(value = "api", encoded = true) String api);
|
||||
|
||||
|
||||
// POST请求,以RequestBody方式提交 api = news
|
||||
// RequestBody:
|
||||
// {
|
||||
// "albumID": 2,
|
||||
// "sectionID": 16
|
||||
// }
|
||||
@POST("{api}")
|
||||
Observable<String> postData(@Path(value = "api", encoded = true) String api, @Body RequestBody requestBody);
|
||||
|
||||
@POST
|
||||
Observable<String> postDataPath(@Url String url, @Body RequestBody requestBody);
|
||||
|
||||
@POST
|
||||
Observable<String> postDataPathHeader(@Url String url, @Body RequestBody requestBody,@Header("Authorization") String authorization);
|
||||
|
||||
@POST
|
||||
Observable<String> postDataPathSignHeader(@Url String url, @Body RequestBody requestBody, @Header("sign") String sign);
|
||||
|
||||
@POST
|
||||
Observable<String> postDataOrderList(@Url String url, @Header("Authorization") String authorization,@Header("tenant") String tenant);
|
||||
@POST
|
||||
Observable<String> postDataActivate(@Url String url,@Header("tenant") String tenant,@Body RequestBody requestBody);
|
||||
@POST
|
||||
Observable<String> postDataQueryVipInfo(@Url String url,@Header("tenant") String tenant);
|
||||
|
||||
@POST()
|
||||
Observable<String> postDataShanxi(@Url String url,
|
||||
@Header("timestamp") long timestamp,
|
||||
@Header("vsopPartnerId") String vsopPartnerId,
|
||||
@Header("vsopToken") String vsopToken,
|
||||
@Body RequestBody requestBody);
|
||||
|
||||
@POST("{api}")
|
||||
Observable<String> postDataWithHeaderToken(@Path(value = "api", encoded = true) String api, @Header("Authorization") String authorization, @Body RequestBody requestBody);
|
||||
|
||||
@POST("{api}")
|
||||
Observable<String> postDataWithHeaderMore(@Path(value = "api", encoded = true) String api,
|
||||
@Header("Authorization") String userToken,
|
||||
@Header("X_CSRFToken") String csrfToken,
|
||||
@Header("Cookie") String cookie,
|
||||
@Header("Content-Type") String contentType,
|
||||
@Header("Content-length") String contentLength,
|
||||
@Body RequestBody requestBody);
|
||||
|
||||
@POST()
|
||||
Observable<String> postCloudLogin(@Url String url,
|
||||
@Header("tenant") String tenant,
|
||||
@Header("encryptData") String signature,
|
||||
@Body RequestBody requestBody);
|
||||
|
||||
|
||||
// Post请求,以表单方式提交
|
||||
@FormUrlEncoded
|
||||
@POST("{api}")
|
||||
Observable<ResponseBody> postData(@Path("api") String api, @FieldMap Map<String, String> maps);
|
||||
|
||||
|
||||
// Post请求(带数组)
|
||||
@FormUrlEncoded
|
||||
@POST("{api}")
|
||||
Observable<ResponseBody> postData(@Path("api") String api, @FieldMap Map<String, String> maps, @Query("meta[]") String... linked);
|
||||
|
||||
// 上传单个文件
|
||||
@Multipart
|
||||
@POST("{api}/")
|
||||
Observable<String> upload(@Path("api") String api, @PartMap Map<String, RequestBody> maps, @Part MultipartBody.Part file);
|
||||
|
||||
// 上传多个文件
|
||||
@Multipart
|
||||
@POST("{api}/")
|
||||
Observable<String> uploadMultipart(@Path("api") String api, @PartMap Map<String, RequestBody> maps, @Part List<MultipartBody.Part> params);
|
||||
|
||||
//下载文件
|
||||
@Streaming //大文件时要加不然会OOM
|
||||
@GET
|
||||
Observable<ResponseBody> downloadFile(@Url String fileUrl);
|
||||
}
|
||||
40
libdata/src/main/java/com/migu/libnetwork/GuangDongApi.java
Executable file
40
libdata/src/main/java/com/migu/libnetwork/GuangDongApi.java
Executable file
@@ -0,0 +1,40 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.ResponseBody;
|
||||
import retrofit2.Call;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.GET;
|
||||
import retrofit2.http.Header;
|
||||
import retrofit2.http.POST;
|
||||
import retrofit2.http.Query;
|
||||
import retrofit2.http.Url;
|
||||
|
||||
|
||||
public interface GuangDongApi {
|
||||
@POST("/EPG/interEpg/user/default/authorize")
|
||||
Call<ResponseBody> authOrizeplay(@Header("Authorization") String token, @Body RequestBody body);
|
||||
|
||||
@POST("/EPG/interEpg/channellist/batch")
|
||||
Call<ResponseBody> authOrizeLive(@Header("Authorization") String token, @Body RequestBody body);
|
||||
|
||||
@POST("auth?appId=35329553&appKey=5swxou31")
|
||||
Call<ResponseBody> authOrize(@Header("sign") String header, @Body RequestBody body);
|
||||
|
||||
@POST("order?appId=35329553&appKey=5swxou31")
|
||||
Call<ResponseBody> order(@Header("sign") String header, @Body RequestBody body);
|
||||
|
||||
@GET // 广东iptv中兴平台获取播放地址
|
||||
Call<ResponseBody> authOrizeplay(@Url String url);
|
||||
|
||||
@GET("/iptvepg/function/MediaService/get_playurl.jsp")
|
||||
Call<ResponseBody> authOrizeplayIptv(
|
||||
@Query("jsessionid") String jsessionid,
|
||||
@Query("ContentID") int contentId,
|
||||
@Query("ContentType") String contentType,
|
||||
@Query("UserToken") String userToken,
|
||||
@Query("ProtocolType") int protocolType,
|
||||
@Query("Type") String type
|
||||
);
|
||||
|
||||
}
|
||||
14
libdata/src/main/java/com/migu/libnetwork/HaiNanApi.java
Executable file
14
libdata/src/main/java/com/migu/libnetwork/HaiNanApi.java
Executable file
@@ -0,0 +1,14 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.ResponseBody;
|
||||
import retrofit2.Call;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.Header;
|
||||
import retrofit2.http.POST;
|
||||
|
||||
|
||||
public interface HaiNanApi {
|
||||
@POST("/EPG/interEpg/user/default/authorize")
|
||||
Call<ResponseBody> authorizePlay(@Header("Authorization") String token, @Body RequestBody body);
|
||||
}
|
||||
18
libdata/src/main/java/com/migu/libnetwork/HeNanApi.java
Executable file
18
libdata/src/main/java/com/migu/libnetwork/HeNanApi.java
Executable file
@@ -0,0 +1,18 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.ResponseBody;
|
||||
import retrofit2.Call;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.POST;
|
||||
|
||||
|
||||
public interface HeNanApi {
|
||||
|
||||
/**
|
||||
* 上报用户信息接口
|
||||
* */
|
||||
@POST("activeUser/reportUser.do")
|
||||
Call<ResponseBody> reportUser(@Body RequestBody body);
|
||||
|
||||
}
|
||||
20
libdata/src/main/java/com/migu/libnetwork/HeiLongJiangApi.java
Executable file
20
libdata/src/main/java/com/migu/libnetwork/HeiLongJiangApi.java
Executable file
@@ -0,0 +1,20 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
import com.migu.bean.AuthorizeNewBean;
|
||||
|
||||
import io.reactivex.rxjava3.core.Observable;
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.ResponseBody;
|
||||
import retrofit2.Call;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.Header;
|
||||
import retrofit2.http.POST;
|
||||
|
||||
|
||||
public interface HeiLongJiangApi {
|
||||
/**
|
||||
* 黑龙江点播获取播放地址 【华为接口】
|
||||
* **/
|
||||
@POST("/EPG/interEpg/user/default/authorize")
|
||||
Call<ResponseBody> authorizePlay(@Header("Authorization") String token, @Body RequestBody body);
|
||||
}
|
||||
14
libdata/src/main/java/com/migu/libnetwork/HttpRequestCallback.java
Executable file
14
libdata/src/main/java/com/migu/libnetwork/HttpRequestCallback.java
Executable file
@@ -0,0 +1,14 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
/**
|
||||
* content: 请求接口回调
|
||||
*/
|
||||
public interface HttpRequestCallback {
|
||||
|
||||
void onRequestNetFail(int type);
|
||||
|
||||
void onRequestSuccess(String result, int type);
|
||||
|
||||
void onRequestFail(String value, String failCode, int type);
|
||||
|
||||
}
|
||||
20
libdata/src/main/java/com/migu/libnetwork/HttpRequestConstants.java
Executable file
20
libdata/src/main/java/com/migu/libnetwork/HttpRequestConstants.java
Executable file
@@ -0,0 +1,20 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
import com.pukka.libcore.base.BaseUrl;
|
||||
|
||||
/**
|
||||
* content: 网络请求的常量类
|
||||
*/
|
||||
public class HttpRequestConstants {
|
||||
|
||||
// public static String BASE_URL = "http://36.155.98.104:11283/";
|
||||
public static String BASE_URL = BaseUrl.getSingleton().getBaseHttpUrl();
|
||||
public static final String SECRET = " ";
|
||||
public static final String APP_KEY = " ";
|
||||
|
||||
public static final String SIGN_METHOD_MD5 = "MD5";
|
||||
public static final String SIGN_METHOD_HMAC = "HMAC";
|
||||
public static final String CHARSET_UTF8 = "UTF-8";
|
||||
|
||||
public static final String TAG = "RequestError";
|
||||
}
|
||||
22
libdata/src/main/java/com/migu/libnetwork/HttpRequestFileCallback.java
Executable file
22
libdata/src/main/java/com/migu/libnetwork/HttpRequestFileCallback.java
Executable file
@@ -0,0 +1,22 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* content: 请求接口回调
|
||||
*/
|
||||
public interface HttpRequestFileCallback {
|
||||
|
||||
void onRequestNetFail(int type);
|
||||
|
||||
void onProgress(int progress);
|
||||
|
||||
void onComplete(File file);
|
||||
|
||||
void onStart();
|
||||
|
||||
void downFail();
|
||||
|
||||
void onRequestFail(String value, String failCode, int type);
|
||||
|
||||
}
|
||||
26
libdata/src/main/java/com/migu/libnetwork/HttpRequestInterceptor.java
Executable file
26
libdata/src/main/java/com/migu/libnetwork/HttpRequestInterceptor.java
Executable file
@@ -0,0 +1,26 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import okhttp3.Interceptor;
|
||||
import okhttp3.Request;
|
||||
import okhttp3.Response;
|
||||
|
||||
/**
|
||||
* content: 拦截每次发出的请求并打印出来
|
||||
*/
|
||||
public class HttpRequestInterceptor implements Interceptor {
|
||||
private static final String SPU = "HttpRequestInterceptor";
|
||||
|
||||
@Override
|
||||
public Response intercept(Chain chain) throws IOException {
|
||||
Request request = chain.request();
|
||||
Response response;
|
||||
long startTime = System.currentTimeMillis();
|
||||
response = chain.proceed(chain.request());
|
||||
okhttp3.MediaType mediaType = response.body().contentType();
|
||||
String content = response.body().string();
|
||||
NetUtil.printHttpLog(true, startTime, request, content);
|
||||
return response.newBuilder().body(okhttp3.ResponseBody.create(mediaType, content)).build();
|
||||
}
|
||||
}
|
||||
69
libdata/src/main/java/com/migu/libnetwork/HttpRetrofit.java
Executable file
69
libdata/src/main/java/com/migu/libnetwork/HttpRetrofit.java
Executable file
@@ -0,0 +1,69 @@
|
||||
package com.migu.libnetwork;
|
||||
|
||||
import retrofit2.Converter;
|
||||
|
||||
/**
|
||||
* content: 用于获取Retrofit的ApiService的类
|
||||
*/
|
||||
public class HttpRetrofit {
|
||||
|
||||
// 设置数据读取超时时间
|
||||
public HttpRetrofit setTimeOutTime(long timeout) {
|
||||
OkHttpClientUtil.getOkHttpUtil().setTimeOutTime(timeout);
|
||||
return this;
|
||||
}
|
||||
|
||||
// 设置网络连接超时时间
|
||||
public HttpRetrofit setConnectTime(long timeout) {
|
||||
OkHttpClientUtil.getOkHttpUtil().setConnectTime(timeout);
|
||||
return this;
|
||||
}
|
||||
|
||||
// 设置写入服务器的超时时间
|
||||
public HttpRetrofit setWriteTime(long timeout) {
|
||||
OkHttpClientUtil.getOkHttpUtil().setWriteTime(timeout);
|
||||
return this;
|
||||
}
|
||||
|
||||
// 设置拦截器
|
||||
public HttpRetrofit setIntercept(boolean isIntercept) {
|
||||
OkHttpClientUtil.getOkHttpUtil().setIntercept(isIntercept);
|
||||
return this;
|
||||
}
|
||||
|
||||
// 设置BaseUrl
|
||||
public HttpRetrofit setBaseUrl(String baseUrl) {
|
||||
RetrofitClientUtil.getRetrofitUtil().setBaseUrl(baseUrl);
|
||||
return this;
|
||||
}
|
||||
|
||||
// 设置数据解析
|
||||
public HttpRetrofit addConverterFactory(Converter.Factory factory) {
|
||||
RetrofitClientUtil.getRetrofitUtil().addConverterFactory(factory);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成请求接口的实例
|
||||
* @return ApiService
|
||||
*/
|
||||
public ApiService getApiManager(){
|
||||
return RetrofitClientUtil.getRetrofitUtil().setOkHttpClient(OkHttpClientUtil.getOkHttpUtil().build()).build().create(ApiService.class);
|
||||
}
|
||||
|
||||
// public ApiService getV2ApiManager(){
|
||||
// return RetrofitClientUtil.getRetrofitUtil().setOkHttpClient(OkHttpClientUtil.getOkHttpUtil().build()).noBaseurlBuild().create(ApiService.class);
|
||||
// }
|
||||
|
||||
// public ApiService getV2HttpsApiManager(){
|
||||
// return RetrofitClientUtil.getRetrofitUtil().setOkHttpClient(OkHttpSsl.getUnsafeOkHttpClient()).noBaseurlBuild().create(ApiService.class);
|
||||
// }
|
||||
|
||||
public ApiService getHttpsApiManager(){
|
||||
return RetrofitClientUtil.getRetrofitUtil().setOkHttpClient(OkHttpSsl.getUnsafeOkHttpClient()).build().create(ApiService.class);
|
||||
}
|
||||
|
||||
public ApiService getFileApiManager(){
|
||||
return RetrofitClientUtil.getRetrofitUtil().setOkHttpClient(OkHttpClientUtil.getOkHttpUtil().fileBuild()).build().create(ApiService.class);
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user