张波

提交代码,待梳理业务数据并拆解

Showing 73 changed files with 3939 additions and 0 deletions

Too many changes to show.

To preserve performance only 73 of 73+ files are displayed.

  1 +*.iml
  2 +.gradle
  3 +/local.properties
  4 +/.idea
  5 +.DS_Store
  6 +/build
  7 +/captures
  8 +.externalNativeBuild
  9 +.cxx
  10 +local.properties
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="EclipseCodeFormatterProjectSettings">
  4 + <option name="projectSpecificProfile">
  5 + <ProjectSpecificProfile>
  6 + <option name="formatter" value="ECLIPSE" />
  7 + <option name="importOrder" value="java;javax;org;android;androidx;com;" />
  8 + <option name="pathToConfigFileJava" value="$PROJECT_DIR$/config/CodeQuality/WonderTek_CodeFormatter_Convention_v1.0.xml" />
  9 + <option name="selectedJavaProfile" value="WonderTek_CodeFormatter_Convention_v1.0" />
  10 + </ProjectSpecificProfile>
  11 + </option>
  12 + </component>
  13 +</project>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="VcsDirectoryMappings">
  4 + <mapping directory="$PROJECT_DIR$" vcs="Git" />
  5 + </component>
  6 +</project>
  1 +/build
  1 +plugins {
  2 + id 'com.android.application'
  3 + id 'kotlin-android'
  4 + id 'kotlin-android-extensions'
  5 +}
  6 +
  7 +android {
  8 + compileSdkVersion var.compileSdkVersion
  9 + buildToolsVersion var.buildToolsVersion
  10 +
  11 + defaultConfig {
  12 + applicationId "com.example.myapplication"
  13 + minSdkVersion var.minSdkVersion
  14 + targetSdkVersion var.targetSdkVersion
  15 + versionCode 1
  16 + versionName "1.0"
  17 +
  18 + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  19 + multiDexEnabled true
  20 + ndk {
  21 + // noinspection ChromeOsAbiSupport
  22 + abiFilters "armeabi-v7a", "arm64-v8a", "x86"
  23 + }
  24 +
  25 + javaCompileOptions {
  26 + annotationProcessorOptions {
  27 + arguments = [AROUTER_MODULE_NAME: project.getName()]
  28 + }
  29 + }
  30 + }
  31 +
  32 + buildTypes {
  33 + release {
  34 + minifyEnabled false
  35 + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  36 + }
  37 + }
  38 +
  39 + lintOptions {
  40 + abortOnError false
  41 + }
  42 +
  43 + compileOptions {
  44 + // Java兼容性设置为Java 8
  45 + sourceCompatibility JavaVersion.VERSION_1_8
  46 + targetCompatibility JavaVersion.VERSION_1_8
  47 + }
  48 +}
  49 +
  50 +repositories {
  51 + flatDir {
  52 + dirs 'libs'
  53 + }
  54 +}
  55 +
  56 +dependencies {
  57 +// implementation 'androidx.appcompat:appcompat:1.6.1'
  58 + implementation "com.google.android.material:material:1.4.0"
  59 +// implementation 'com.wd:startup:1.0.0'
  60 +}
  1 +# Add project specific ProGuard rules here.
  2 +# You can control the set of applied configuration files using the
  3 +# proguardFiles setting in build.gradle.
  4 +#
  5 +# For more details, see
  6 +# http://developer.android.com/guide/developing/tools/proguard.html
  7 +
  8 +# If your project uses WebView with JS, uncomment the following
  9 +# and specify the fully qualified class name to the JavaScript interface
  10 +# class:
  11 +#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  12 +# public *;
  13 +#}
  14 +
  15 +# Uncomment this to preserve the line number information for
  16 +# debugging stack traces.
  17 +#-keepattributes SourceFile,LineNumberTable
  18 +
  19 +# If you keep the line number information, uncomment this to
  20 +# hide the original source file name.
  21 +#-renamesourcefileattribute SourceFile
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3 + xmlns:tools="http://schemas.android.com/tools"
  4 + package="com.example.myapplication">
  5 + <!-- 请求网络 -->
  6 + <uses-permission android:name="android.permission.INTERNET" />
  7 + <uses-feature
  8 + android:name="android.software.leanback"
  9 + android:required="false" />
  10 + <application
  11 + android:name=".MyApplication"
  12 + android:allowBackup="true"
  13 + android:fullBackupContent="@xml/backup_rules"
  14 + android:icon="@mipmap/ic_launcher"
  15 + android:label="@string/app_name"
  16 + android:roundIcon="@mipmap/ic_launcher_round"
  17 + android:supportsRtl="true"
  18 + android:theme="@style/Theme.MyApplication"
  19 + tools:targetApi="31">
  20 +
  21 + <activity
  22 + android:name="com.example.myapplication.MainActivity"
  23 + android:exported="true"
  24 + android:launchMode="singleTask">
  25 + <intent-filter>
  26 + <action android:name="android.intent.action.MAIN" />
  27 + <category android:name="android.intent.category.LAUNCHER" />
  28 + </intent-filter>
  29 + </activity>
  30 + </application>
  31 +</manifest>
  1 +
  2 +package com.example.myapplication;
  3 +
  4 +import android.app.Activity;
  5 +import android.os.Bundle;
  6 +
  7 +import androidx.annotation.Nullable;
  8 +
  9 +/**
  10 + * @ProjectName: PeopleDailyVideo
  11 + * @Package: com.people.displayui.main
  12 + * @ClassName: WelcomeActivity
  13 + * @Description: 启动APP过渡页面
  14 + * @Author: wd
  15 + * @CreateDate: 2022/10/28 17:36
  16 + * @UpdateUser: wd
  17 + * @UpdateDate: 2022/10/28 17:36
  18 + * @UpdateRemark: 更新说明:
  19 + * @Version: 1.0
  20 + */
  21 +public class MainActivity extends Activity {
  22 +
  23 + @Override
  24 + protected void onCreate(@Nullable Bundle savedInstanceState) {
  25 + super.onCreate(savedInstanceState);
  26 + // 直接进入首页
  27 + }
  28 +}
  1 +
  2 +package com.example.myapplication;
  3 +
  4 +import android.app.Application;
  5 +import android.util.Log;
  6 +
  7 +/**
  8 + * @author devel
  9 + * @time 2024/8/28 星期三 16:23
  10 + */
  11 +public class MyApplication extends Application {
  12 + @Override
  13 + public void onCreate() {
  14 + super.onCreate();
  15 + Log.e("zzzz","MyApplication onCreate");
  16 + // test
  17 + }
  18 +}
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<vector xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:width="108dp"
  4 + android:height="108dp"
  5 + android:viewportWidth="108"
  6 + android:viewportHeight="108">
  7 + <path
  8 + android:fillColor="#3DDC84"
  9 + android:pathData="M0,0h108v108h-108z" />
  10 + <path
  11 + android:fillColor="#00000000"
  12 + android:pathData="M9,0L9,108"
  13 + android:strokeWidth="0.8"
  14 + android:strokeColor="#33FFFFFF" />
  15 + <path
  16 + android:fillColor="#00000000"
  17 + android:pathData="M19,0L19,108"
  18 + android:strokeWidth="0.8"
  19 + android:strokeColor="#33FFFFFF" />
  20 + <path
  21 + android:fillColor="#00000000"
  22 + android:pathData="M29,0L29,108"
  23 + android:strokeWidth="0.8"
  24 + android:strokeColor="#33FFFFFF" />
  25 + <path
  26 + android:fillColor="#00000000"
  27 + android:pathData="M39,0L39,108"
  28 + android:strokeWidth="0.8"
  29 + android:strokeColor="#33FFFFFF" />
  30 + <path
  31 + android:fillColor="#00000000"
  32 + android:pathData="M49,0L49,108"
  33 + android:strokeWidth="0.8"
  34 + android:strokeColor="#33FFFFFF" />
  35 + <path
  36 + android:fillColor="#00000000"
  37 + android:pathData="M59,0L59,108"
  38 + android:strokeWidth="0.8"
  39 + android:strokeColor="#33FFFFFF" />
  40 + <path
  41 + android:fillColor="#00000000"
  42 + android:pathData="M69,0L69,108"
  43 + android:strokeWidth="0.8"
  44 + android:strokeColor="#33FFFFFF" />
  45 + <path
  46 + android:fillColor="#00000000"
  47 + android:pathData="M79,0L79,108"
  48 + android:strokeWidth="0.8"
  49 + android:strokeColor="#33FFFFFF" />
  50 + <path
  51 + android:fillColor="#00000000"
  52 + android:pathData="M89,0L89,108"
  53 + android:strokeWidth="0.8"
  54 + android:strokeColor="#33FFFFFF" />
  55 + <path
  56 + android:fillColor="#00000000"
  57 + android:pathData="M99,0L99,108"
  58 + android:strokeWidth="0.8"
  59 + android:strokeColor="#33FFFFFF" />
  60 + <path
  61 + android:fillColor="#00000000"
  62 + android:pathData="M0,9L108,9"
  63 + android:strokeWidth="0.8"
  64 + android:strokeColor="#33FFFFFF" />
  65 + <path
  66 + android:fillColor="#00000000"
  67 + android:pathData="M0,19L108,19"
  68 + android:strokeWidth="0.8"
  69 + android:strokeColor="#33FFFFFF" />
  70 + <path
  71 + android:fillColor="#00000000"
  72 + android:pathData="M0,29L108,29"
  73 + android:strokeWidth="0.8"
  74 + android:strokeColor="#33FFFFFF" />
  75 + <path
  76 + android:fillColor="#00000000"
  77 + android:pathData="M0,39L108,39"
  78 + android:strokeWidth="0.8"
  79 + android:strokeColor="#33FFFFFF" />
  80 + <path
  81 + android:fillColor="#00000000"
  82 + android:pathData="M0,49L108,49"
  83 + android:strokeWidth="0.8"
  84 + android:strokeColor="#33FFFFFF" />
  85 + <path
  86 + android:fillColor="#00000000"
  87 + android:pathData="M0,59L108,59"
  88 + android:strokeWidth="0.8"
  89 + android:strokeColor="#33FFFFFF" />
  90 + <path
  91 + android:fillColor="#00000000"
  92 + android:pathData="M0,69L108,69"
  93 + android:strokeWidth="0.8"
  94 + android:strokeColor="#33FFFFFF" />
  95 + <path
  96 + android:fillColor="#00000000"
  97 + android:pathData="M0,79L108,79"
  98 + android:strokeWidth="0.8"
  99 + android:strokeColor="#33FFFFFF" />
  100 + <path
  101 + android:fillColor="#00000000"
  102 + android:pathData="M0,89L108,89"
  103 + android:strokeWidth="0.8"
  104 + android:strokeColor="#33FFFFFF" />
  105 + <path
  106 + android:fillColor="#00000000"
  107 + android:pathData="M0,99L108,99"
  108 + android:strokeWidth="0.8"
  109 + android:strokeColor="#33FFFFFF" />
  110 + <path
  111 + android:fillColor="#00000000"
  112 + android:pathData="M19,29L89,29"
  113 + android:strokeWidth="0.8"
  114 + android:strokeColor="#33FFFFFF" />
  115 + <path
  116 + android:fillColor="#00000000"
  117 + android:pathData="M19,39L89,39"
  118 + android:strokeWidth="0.8"
  119 + android:strokeColor="#33FFFFFF" />
  120 + <path
  121 + android:fillColor="#00000000"
  122 + android:pathData="M19,49L89,49"
  123 + android:strokeWidth="0.8"
  124 + android:strokeColor="#33FFFFFF" />
  125 + <path
  126 + android:fillColor="#00000000"
  127 + android:pathData="M19,59L89,59"
  128 + android:strokeWidth="0.8"
  129 + android:strokeColor="#33FFFFFF" />
  130 + <path
  131 + android:fillColor="#00000000"
  132 + android:pathData="M19,69L89,69"
  133 + android:strokeWidth="0.8"
  134 + android:strokeColor="#33FFFFFF" />
  135 + <path
  136 + android:fillColor="#00000000"
  137 + android:pathData="M19,79L89,79"
  138 + android:strokeWidth="0.8"
  139 + android:strokeColor="#33FFFFFF" />
  140 + <path
  141 + android:fillColor="#00000000"
  142 + android:pathData="M29,19L29,89"
  143 + android:strokeWidth="0.8"
  144 + android:strokeColor="#33FFFFFF" />
  145 + <path
  146 + android:fillColor="#00000000"
  147 + android:pathData="M39,19L39,89"
  148 + android:strokeWidth="0.8"
  149 + android:strokeColor="#33FFFFFF" />
  150 + <path
  151 + android:fillColor="#00000000"
  152 + android:pathData="M49,19L49,89"
  153 + android:strokeWidth="0.8"
  154 + android:strokeColor="#33FFFFFF" />
  155 + <path
  156 + android:fillColor="#00000000"
  157 + android:pathData="M59,19L59,89"
  158 + android:strokeWidth="0.8"
  159 + android:strokeColor="#33FFFFFF" />
  160 + <path
  161 + android:fillColor="#00000000"
  162 + android:pathData="M69,19L69,89"
  163 + android:strokeWidth="0.8"
  164 + android:strokeColor="#33FFFFFF" />
  165 + <path
  166 + android:fillColor="#00000000"
  167 + android:pathData="M79,19L79,89"
  168 + android:strokeWidth="0.8"
  169 + android:strokeColor="#33FFFFFF" />
  170 +</vector>
  1 +<vector xmlns:android="http://schemas.android.com/apk/res/android"
  2 + xmlns:aapt="http://schemas.android.com/aapt"
  3 + android:width="108dp"
  4 + android:height="108dp"
  5 + android:viewportWidth="108"
  6 + android:viewportHeight="108">
  7 + <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
  8 + <aapt:attr name="android:fillColor">
  9 + <gradient
  10 + android:endX="85.84757"
  11 + android:endY="92.4963"
  12 + android:startX="42.9492"
  13 + android:startY="49.59793"
  14 + android:type="linear">
  15 + <item
  16 + android:color="#44000000"
  17 + android:offset="0.0" />
  18 + <item
  19 + android:color="#00000000"
  20 + android:offset="1.0" />
  21 + </gradient>
  22 + </aapt:attr>
  23 + </path>
  24 + <path
  25 + android:fillColor="#FFFFFF"
  26 + android:fillType="nonZero"
  27 + android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
  28 + android:strokeWidth="1"
  29 + android:strokeColor="#00000000" />
  30 +</vector>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:id="@+id/rl_parent"
  4 + android:layout_width="match_parent"
  5 + android:layout_height="match_parent"
  6 + android:background="@color/white" />
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
  3 + <background android:drawable="@drawable/ic_launcher_background" />
  4 + <foreground android:drawable="@drawable/ic_launcher_foreground" />
  5 + <monochrome android:drawable="@drawable/ic_launcher_foreground" />
  6 +</adaptive-icon>
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
  3 + <background android:drawable="@drawable/ic_launcher_background" />
  4 + <foreground android:drawable="@drawable/ic_launcher_foreground" />
  5 + <monochrome android:drawable="@drawable/ic_launcher_foreground" />
  6 +</adaptive-icon>
No preview for this file type
No preview for this file type
No preview for this file type
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<resources>
  3 + <color name="purple_200">#FFBB86FC</color>
  4 + <color name="purple_500">#FF6200EE</color>
  5 + <color name="purple_700">#FF3700B3</color>
  6 + <color name="teal_200">#FF03DAC5</color>
  7 + <color name="teal_700">#FF018786</color>
  8 + <color name="black">#FF000000</color>
  9 + <color name="white">#FFFFFFFF</color>
  10 +</resources>
  1 +<resources>
  2 + <string name="app_name">My Application</string>
  3 +</resources>
  1 +<resources xmlns:tools="http://schemas.android.com/tools">
  2 + <!-- Base application theme. -->
  3 + <style name="Theme.MyApplication" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
  4 + <!-- Primary brand color. -->
  5 + <item name="colorPrimary">@color/purple_500</item>
  6 + <item name="colorPrimaryVariant">@color/purple_700</item>
  7 + <item name="colorOnPrimary">@color/white</item>
  8 + <!-- Secondary brand color. -->
  9 + <item name="colorSecondary">@color/teal_200</item>
  10 + <item name="colorSecondaryVariant">@color/teal_700</item>
  11 + <item name="colorOnSecondary">@color/black</item>
  12 + <!-- Status bar color. -->
  13 + <item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
  14 + <!-- Customize your theme here. -->
  15 + </style>
  16 +</resources>
  1 +<?xml version="1.0" encoding="utf-8"?><!--
  2 + Sample backup rules file; uncomment and customize as necessary.
  3 + See https://developer.android.com/guide/topics/data/autobackup
  4 + for details.
  5 + Note: This file is ignored for devices older that API 31
  6 + See https://developer.android.com/about/versions/12/backup-restore
  7 +-->
  8 +<full-backup-content>
  9 + <!--
  10 + <include domain="sharedpref" path="."/>
  11 + <exclude domain="sharedpref" path="device.xml"/>
  12 +-->
  13 +</full-backup-content>
  1 +apply plugin: 'maven'
  2 +
  3 +buildscript {
  4 + ext.kotlin_version = "1.4.32"
  5 + repositories {
  6 + mavenLocal()
  7 + mavenCentral()
  8 + // 以下四行代码为阿里gradle源,需要的人自己放開使用
  9 + maven { url 'https://maven.aliyun.com/repository/google' }
  10 + maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  11 + maven { url 'https://maven.aliyun.com/repository/public' }
  12 + maven { url 'https://maven.aliyun.com/repository/jcenter' }
  13 + maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases' }
  14 + //阿里云 maven
  15 + maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  16 + maven { url 'https://maven.aliyun.com/repository/releases' }
  17 +
  18 + google()
  19 +
  20 + maven { url "https://jitpack.io" }
  21 + //华为
  22 + maven { url 'https://developer.huawei.com/repo/' }
  23 + //阿里云QuickTracking
  24 + maven { url 'https://repo1.maven.org/maven2/' }
  25 +
  26 + maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  27 + maven {
  28 + url 'https://maven.aliyun.com/nexus/content/repositories/google/'
  29 + name 'aliyun-google'
  30 + }
  31 +
  32 + // TingYun
  33 + maven { url "https://nexus2.tingyun.com/nexus/content/repositories/snapshots/" }
  34 + }
  35 +
  36 + dependencies {
  37 + classpath "com.android.tools.build:gradle:4.0.2"
  38 + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  39 + classpath 'com.billy.android:autoregister:1.4.2'
  40 + // NOTE: Do not place your application dependencies here; they belong
  41 + // in the individual module build.gradle files
  42 + }
  43 +}
  44 +
  45 +allprojects {
  46 + repositories {
  47 + mavenLocal()
  48 + mavenCentral()
  49 + // 以下四行代码为阿里gradle源,需要的人自己放開使用
  50 + maven { url 'https://maven.aliyun.com/repository/google' }
  51 + maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  52 + maven { url 'https://maven.aliyun.com/repository/public' }
  53 + maven { url 'https://maven.aliyun.com/repository/jcenter' }
  54 + maven { url 'https://maven.aliyun.com/nexus/content/repositories/releases' }
  55 + //阿里云 maven
  56 + maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  57 + maven { url 'https://maven.aliyun.com/repository/releases' }
  58 + google()
  59 +
  60 + maven { url "https://jitpack.io" }
  61 + //华为
  62 + maven { url 'https://developer.huawei.com/repo/' }
  63 + //阿里云QuickTracking
  64 + maven { url 'https://repo1.maven.org/maven2/' }
  65 + maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  66 + maven {
  67 + url 'https://maven.aliyun.com/nexus/content/repositories/google/'
  68 + name 'aliyun-google'
  69 + }
  70 +
  71 + flatDir { dirs 'src/main/libs' }
  72 +
  73 + // 快马私库
  74 + maven {
  75 + credentials {
  76 + username '6708d1cf6f4c940bd257c88d'
  77 + password 'Wm51gc4rARyr'
  78 + }
  79 + url 'https://packages.aliyun.com/6708d221eef79c23d7b02189/maven/repo-higom'
  80 + }
  81 + }
  82 +
  83 + project.configurations.configureEach {
  84 + resolutionStrategy.eachDependency { details ->
  85 + if (details.requested.group == 'com.android.android.support' && !details.requested.name.contains('multidex')) {
  86 + details.useVersion "28.0.0"
  87 + }
  88 +
  89 + }
  90 + }
  91 +
  92 + // 强制依赖
  93 + configurations.configureEach {
  94 + exclude group: 'com.alipay.android.phone.thirdparty', module: 'securityguard-build'
  95 + resolutionStrategy {
  96 + force 'androidx.activity:activity:1.2.1'
  97 + force 'androidx.annotation:annotation:1.1.0'
  98 + force 'androidx.appcompat:appcompat:1.2.0'
  99 + force 'androidx.arch.core:core-common:2.1.0'
  100 + force 'androidx.arch.core:core-runtime:2.1.0'
  101 + force 'androidx.core:core-ktx:1.6.0'
  102 + force 'androidx.core:core:1.5.0'
  103 + force 'androidx.collection:collection:1.1.0'
  104 + force 'androidx.constraintlayout:constraintlayout:2.0.4'
  105 + force 'androidx.constraintlayout:constraintlayout-solver:2.0.4'
  106 + force 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
  107 + force 'androidx.fragment:fragment:1.3.1'
  108 + force 'androidx.lifecycle:lifecycle-common:2.3.0'
  109 + force 'androidx.multidex:multidex:2.0.1'
  110 + force 'androidx.recyclerview:recyclerview:1.2.0'
  111 + force 'androidx.vectordrawable:vectordrawable:1.1.0'
  112 + force 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
  113 + force 'com.squareup.okhttp3:okhttp:4.9.1'
  114 + force 'com.squareup.okio:okio:2.7.0'
  115 + force 'org.jetbrains.kotlin:kotlin-stdlib:1.4.32'
  116 + force 'org.jetbrains.kotlin:kotilin-stdlib-jdk8:1.4.32'
  117 + force 'org.jetbrains:annotations:15.0'
  118 + force 'net.sf.proguard:proguard-base:6.1.0'
  119 + }
  120 + }
  121 +}
  122 +
  123 +ext {
  124 + var = [
  125 + // SDK And Tools
  126 + applicationId : "com.wondertek.dss",
  127 + minSdkVersion : 25,
  128 + targetSdkVersion : 30,
  129 + compileSdkVersion: 30,
  130 + buildToolsVersion: "30.0.3",
  131 + // 版本号,正式版本 1.0.0 1000080 后两位,80即标识为发布版本
  132 + // 测试版本 1.0.0_TF1 1000001 后两位,01即为测试版本号,01-79
  133 + // 升级版本 1.0.0_RC1 1000081 后两位,81即为升级版本号,81-99
  134 + versionName : "1.0.0", // release正式
  135 + debugVnName : "", // debug开发模式 用于区分debug模式下上报的日志
  136 + versionCode : 100,
  137 + //此版本号是SDK版本,不能随便改
  138 + aar_version : "1.0.0",
  139 + ]
  140 +
  141 +}
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<profiles version="12">
  3 + <profile kind="CodeFormatterProfile" name="WonderTek_CodeFormatter_Convention_v1.0"
  4 + version="12">
  5 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert" />
  6 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations"
  7 + value="insert" />
  8 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration"
  9 + value="insert" />
  10 + <setting
  11 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression"
  12 + value="do not insert" />
  13 + <setting
  14 + id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration"
  15 + value="insert" />
  16 + <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment"
  17 + value="common_lines" />
  18 + <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries"
  19 + value="true" />
  20 + <setting
  21 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters"
  22 + value="insert" />
  23 + <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter"
  24 + value="do not insert" />
  25 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package"
  26 + value="insert" />
  27 + <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_method_invocation"
  28 + value="common_lines" />
  29 + <setting
  30 + id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant"
  31 + value="do not insert" />
  32 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1" />
  33 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while"
  34 + value="do not insert" />
  35 + <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags"
  36 + value="insert" />
  37 + <setting
  38 + id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration"
  39 + value="do not insert" />
  40 + <setting
  41 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws"
  42 + value="do not insert" />
  43 + <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_switch_statement"
  44 + value="common_lines" />
  45 + <setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true" />
  46 + <setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4" />
  47 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator"
  48 + value="do not insert" />
  49 + <setting
  50 + id="org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration"
  51 + value="common_lines" />
  52 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments"
  53 + value="insert" />
  54 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments"
  55 + value="insert" />
  56 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits"
  57 + value="do not insert" />
  58 + <setting
  59 + id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration"
  60 + value="do not insert" />
  61 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for"
  62 + value="insert" />
  63 + <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off" />
  64 + <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="1" />
  65 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="49" />
  66 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1" />
  67 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1" />
  68 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator"
  69 + value="insert" />
  70 + <setting
  71 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations"
  72 + value="insert" />
  73 + <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_if_while_statement"
  74 + value="common_lines" />
  75 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant"
  76 + value="16" />
  77 + <setting
  78 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference"
  79 + value="do not insert" />
  80 + <setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true" />
  81 + <setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch"
  82 + value="true" />
  83 + <setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on" />
  84 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block"
  85 + value="insert" />
  86 + <setting
  87 + id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return"
  88 + value="insert" />
  89 + <setting
  90 + id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration"
  91 + value="20" />
  92 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter"
  93 + value="do not insert" />
  94 + <setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line"
  95 + value="false" />
  96 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field"
  97 + value="insert" />
  98 + <setting
  99 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments"
  100 + value="insert" />
  101 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block"
  102 + value="insert" />
  103 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator"
  104 + value="do not insert" />
  105 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations"
  106 + value="1" />
  107 + <setting
  108 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer"
  109 + value="do not insert" />
  110 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for"
  111 + value="do not insert" />
  112 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch"
  113 + value="do not insert" />
  114 + <setting
  115 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments"
  116 + value="do not insert" />
  117 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method"
  118 + value="insert" />
  119 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch"
  120 + value="do not insert" />
  121 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameterized_type_references"
  122 + value="16" />
  123 + <setting
  124 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration"
  125 + value="insert" />
  126 + <setting
  127 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression"
  128 + value="do not insert" />
  129 + <setting
  130 + id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_enum_constant"
  131 + value="insert" />
  132 + <setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column"
  133 + value="false" />
  134 + <setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error" />
  135 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter"
  136 + value="insert" />
  137 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits"
  138 + value="insert" />
  139 + <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block"
  140 + value="true" />
  141 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration"
  142 + value="end_of_line" />
  143 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard"
  144 + value="do not insert" />
  145 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation"
  146 + value="do not insert" />
  147 + <setting
  148 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments"
  149 + value="do not insert" />
  150 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch"
  151 + value="insert" />
  152 + <setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120" />
  153 + <setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false" />
  154 + <setting
  155 + id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression"
  156 + value="do not insert" />
  157 + <setting
  158 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant"
  159 + value="insert" />
  160 + <setting
  161 + id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation"
  162 + value="do not insert" />
  163 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator"
  164 + value="insert" />
  165 + <setting
  166 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration"
  167 + value="insert" />
  168 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for"
  169 + value="do not insert" />
  170 + <setting
  171 + id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments"
  172 + value="true" />
  173 + <setting
  174 + id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable"
  175 + value="insert" />
  176 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration"
  177 + value="end_of_line" />
  178 + <setting
  179 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation"
  180 + value="do not insert" />
  181 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch"
  182 + value="16" />
  183 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for"
  184 + value="insert" />
  185 + <setting
  186 + id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body"
  187 + value="0" />
  188 + <setting
  189 + id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments"
  190 + value="insert" />
  191 + <setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line"
  192 + value="false" />
  193 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16" />
  194 + <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_catch_clause"
  195 + value="common_lines" />
  196 + <setting
  197 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference"
  198 + value="insert" />
  199 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer"
  200 + value="do not insert" />
  201 + <setting
  202 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations"
  203 + value="insert" />
  204 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation"
  205 + value="do not insert" />
  206 + <setting
  207 + id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call"
  208 + value="16" />
  209 + <setting
  210 + id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header"
  211 + value="true" />
  212 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces"
  213 + value="insert" />
  214 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default"
  215 + value="do not insert" />
  216 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional"
  217 + value="insert" />
  218 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line" />
  219 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration"
  220 + value="end_of_line" />
  221 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_lambda_body"
  222 + value="end_of_line" />
  223 + <setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true" />
  224 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters"
  225 + value="do not insert" />
  226 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch"
  227 + value="insert" />
  228 + <setting
  229 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation"
  230 + value="do not insert" />
  231 + <setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true" />
  232 + <setting
  233 + id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration"
  234 + value="20" />
  235 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_type_parameters" value="16" />
  236 + <setting
  237 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments"
  238 + value="insert" />
  239 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation"
  240 + value="16" />
  241 + <setting
  242 + id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration"
  243 + value="20" />
  244 + <setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error" />
  245 + <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment"
  246 + value="true" />
  247 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement"
  248 + value="do not insert" />
  249 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try"
  250 + value="insert" />
  251 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing"
  252 + value="do not insert" />
  253 + <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment"
  254 + value="true" />
  255 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer"
  256 + value="insert" />
  257 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator"
  258 + value="insert" />
  259 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator"
  260 + value="do not insert" />
  261 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer"
  262 + value="20" />
  263 + <setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column"
  264 + value="true" />
  265 + <setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1" />
  266 + <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_annotation"
  267 + value="common_lines" />
  268 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case"
  269 + value="insert" />
  270 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis"
  271 + value="do not insert" />
  272 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources"
  273 + value="do not insert" />
  274 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert"
  275 + value="insert" />
  276 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if"
  277 + value="do not insert" />
  278 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments"
  279 + value="do not insert" />
  280 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter"
  281 + value="insert" />
  282 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration"
  283 + value="insert" />
  284 + <setting
  285 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression"
  286 + value="do not insert" />
  287 + <setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true" />
  288 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement"
  289 + value="insert" />
  290 + <setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false" />
  291 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="20" />
  292 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body"
  293 + value="insert" />
  294 + <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header"
  295 + value="true" />
  296 + <setting
  297 + id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration"
  298 + value="do not insert" />
  299 + <setting
  300 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant"
  301 + value="do not insert" />
  302 + <setting
  303 + id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration"
  304 + value="16" />
  305 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration"
  306 + value="0" />
  307 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression"
  308 + value="16" />
  309 + <setting
  310 + id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer"
  311 + value="do not insert" />
  312 + <setting
  313 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters"
  314 + value="do not insert" />
  315 + <setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line"
  316 + value="false" />
  317 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if"
  318 + value="insert" />
  319 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type"
  320 + value="insert" />
  321 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block"
  322 + value="insert" />
  323 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration"
  324 + value="end_of_line" />
  325 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case"
  326 + value="end_of_line" />
  327 + <setting
  328 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration"
  329 + value="do not insert" />
  330 + <setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false" />
  331 + <setting
  332 + id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression"
  333 + value="16" />
  334 + <setting
  335 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation"
  336 + value="do not insert" />
  337 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while"
  338 + value="insert" />
  339 + <setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled" />
  340 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch"
  341 + value="do not insert" />
  342 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="16" />
  343 + <setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true" />
  344 + <setting
  345 + id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration"
  346 + value="do not insert" />
  347 + <setting id="org.eclipse.jdt.core.formatter.wrap_before_conditional_operator"
  348 + value="true" />
  349 + <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases"
  350 + value="true" />
  351 + <setting
  352 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression"
  353 + value="do not insert" />
  354 + <setting
  355 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized"
  356 + value="do not insert" />
  357 + <setting id="org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines"
  358 + value="2147483647" />
  359 + <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries"
  360 + value="true" />
  361 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration"
  362 + value="end_of_line" />
  363 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for"
  364 + value="insert" />
  365 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="16" />
  366 + <setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations"
  367 + value="false" />
  368 + <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_try_clause"
  369 + value="common_lines" />
  370 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation"
  371 + value="80" />
  372 + <setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column"
  373 + value="false" />
  374 + <setting id="org.eclipse.jdt.core.compiler.source" value="1.8" />
  375 + <setting
  376 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized"
  377 + value="do not insert" />
  378 + <setting
  379 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws"
  380 + value="insert" />
  381 + <setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4" />
  382 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant"
  383 + value="insert" />
  384 + <setting
  385 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression"
  386 + value="insert" />
  387 + <setting
  388 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference"
  389 + value="do not insert" />
  390 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional"
  391 + value="insert" />
  392 + <setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true" />
  393 + <setting
  394 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer"
  395 + value="insert" />
  396 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try"
  397 + value="do not insert" />
  398 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources"
  399 + value="insert" />
  400 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="1" />
  401 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation"
  402 + value="do not insert" />
  403 + <setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer"
  404 + value="1" />
  405 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard"
  406 + value="do not insert" />
  407 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1" />
  408 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration"
  409 + value="16" />
  410 + <setting
  411 + id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration"
  412 + value="16" />
  413 + <setting
  414 + id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw"
  415 + value="insert" />
  416 + <setting id="org.eclipse.jdt.core.formatter.wrap_before_assignment_operator"
  417 + value="false" />
  418 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement"
  419 + value="do not insert" />
  420 + <setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.8" />
  421 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch"
  422 + value="end_of_line" />
  423 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces"
  424 + value="do not insert" />
  425 + <setting
  426 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters"
  427 + value="insert" />
  428 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation"
  429 + value="do not insert" />
  430 + <setting
  431 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer"
  432 + value="do not insert" />
  433 + <setting
  434 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression"
  435 + value="do not insert" />
  436 + <setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true" />
  437 + <setting
  438 + id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration"
  439 + value="do not insert" />
  440 + <setting
  441 + id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters"
  442 + value="insert" />
  443 + <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_method_delcaration"
  444 + value="common_lines" />
  445 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16" />
  446 + <setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false" />
  447 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_type_arguments" value="16" />
  448 + <setting
  449 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference"
  450 + value="do not insert" />
  451 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator"
  452 + value="do not insert" />
  453 + <setting
  454 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant"
  455 + value="do not insert" />
  456 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation"
  457 + value="16" />
  458 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations"
  459 + value="do not insert" />
  460 + <setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line"
  461 + value="true" />
  462 + <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch"
  463 + value="true" />
  464 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement"
  465 + value="do not insert" />
  466 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator"
  467 + value="insert" />
  468 + <setting
  469 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration"
  470 + value="do not insert" />
  471 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1" />
  472 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label"
  473 + value="do not insert" />
  474 + <setting
  475 + id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header"
  476 + value="true" />
  477 + <setting
  478 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression"
  479 + value="do not insert" />
  480 + <setting
  481 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration"
  482 + value="do not insert" />
  483 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional"
  484 + value="insert" />
  485 + <setting
  486 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference"
  487 + value="do not insert" />
  488 + <setting
  489 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters"
  490 + value="do not insert" />
  491 + <setting
  492 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments"
  493 + value="do not insert" />
  494 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast"
  495 + value="do not insert" />
  496 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert"
  497 + value="insert" />
  498 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1" />
  499 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement"
  500 + value="do not insert" />
  501 + <setting
  502 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference"
  503 + value="do not insert" />
  504 + <setting
  505 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference"
  506 + value="do not insert" />
  507 + <setting
  508 + id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression"
  509 + value="16" />
  510 + <setting
  511 + id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer"
  512 + value="do not insert" />
  513 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration"
  514 + value="insert" />
  515 + <setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true" />
  516 + <setting
  517 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration"
  518 + value="do not insert" />
  519 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if"
  520 + value="do not insert" />
  521 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon"
  522 + value="do not insert" />
  523 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator"
  524 + value="do not insert" />
  525 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try"
  526 + value="do not insert" />
  527 + <setting
  528 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments"
  529 + value="do not insert" />
  530 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast"
  531 + value="do not insert" />
  532 + <setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true" />
  533 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow"
  534 + value="insert" />
  535 + <setting
  536 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration"
  537 + value="do not insert" />
  538 + <setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false" />
  539 + <setting
  540 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration"
  541 + value="insert" />
  542 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration"
  543 + value="16" />
  544 + <setting
  545 + id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference"
  546 + value="do not insert" />
  547 + <setting
  548 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters"
  549 + value="do not insert" />
  550 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for"
  551 + value="do not insert" />
  552 + <setting
  553 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws"
  554 + value="insert" />
  555 + <setting
  556 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression"
  557 + value="do not insert" />
  558 + <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body"
  559 + value="true" />
  560 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16" />
  561 + <setting
  562 + id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments"
  563 + value="insert" />
  564 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator"
  565 + value="do not insert" />
  566 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer"
  567 + value="end_of_line" />
  568 + <setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true" />
  569 + <setting
  570 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration"
  571 + value="insert" />
  572 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters"
  573 + value="insert" />
  574 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch"
  575 + value="do not insert" />
  576 + <setting id="org.eclipse.jdt.core.compiler.compliance" value="1.8" />
  577 + <setting
  578 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference"
  579 + value="do not insert" />
  580 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation"
  581 + value="insert" />
  582 + <setting
  583 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments"
  584 + value="do not insert" />
  585 + <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_lambda_declaration"
  586 + value="common_lines" />
  587 + <setting
  588 + id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer"
  589 + value="do not insert" />
  590 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case"
  591 + value="do not insert" />
  592 + <setting
  593 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations"
  594 + value="do not insert" />
  595 + <setting
  596 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration"
  597 + value="insert" />
  598 + <setting
  599 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference"
  600 + value="do not insert" />
  601 + <setting
  602 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration"
  603 + value="do not insert" />
  604 + <setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested"
  605 + value="true" />
  606 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast"
  607 + value="insert" />
  608 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant"
  609 + value="end_of_line" />
  610 + <setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration"
  611 + value="end_of_line" />
  612 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="1" />
  613 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for"
  614 + value="insert" />
  615 + <setting
  616 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized"
  617 + value="insert" />
  618 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments"
  619 + value="do not insert" />
  620 + <setting
  621 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration"
  622 + value="do not insert" />
  623 + <setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_for_loop_header"
  624 + value="16" />
  625 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while"
  626 + value="do not insert" />
  627 + <setting
  628 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant"
  629 + value="do not insert" />
  630 + <setting
  631 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments"
  632 + value="do not insert" />
  633 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation"
  634 + value="do not insert" />
  635 + <setting
  636 + id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters"
  637 + value="do not insert" />
  638 + <setting
  639 + id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header"
  640 + value="true" />
  641 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow"
  642 + value="insert" />
  643 + <setting
  644 + id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration"
  645 + value="insert" />
  646 + <setting
  647 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws"
  648 + value="do not insert" />
  649 + <setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="false" />
  650 + <setting
  651 + id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters"
  652 + value="do not insert" />
  653 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional"
  654 + value="insert" />
  655 + <setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description"
  656 + value="false" />
  657 + <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement"
  658 + value="do not insert" />
  659 + <setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space" />
  660 + <setting
  661 + id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations"
  662 + value="do not insert" />
  663 + <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1" />
  664 + <setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120" />
  665 + <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation"
  666 + value="do not insert" />
  667 + <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch"
  668 + value="insert" />
  669 + </profile>
  670 +</profiles>
  1 +# Project-wide Gradle settings.
  2 +# IDE (e.g. Android Studio) users:
  3 +# Gradle settings configured through the IDE *will override*
  4 +# any settings specified in this file.
  5 +# For more details on how to configure your build environment visit
  6 +# http://www.gradle.org/docs/current/userguide/build_environment.html
  7 +# Specifies the JVM arguments used for the daemon process.
  8 +# The setting is particularly useful for tweaking memory settings.
  9 +#org.gradle.jvmargs=-Xmx2048m
  10 +# When configured, Gradle will run in incubating parallel mode.
  11 +# This option should only be used with decoupled projects. More details, visit
  12 +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  13 +# org.gradle.parallel=true
  14 +# AndroidX package structure to make it clearer which packages are bundled with the
  15 +# Android operating system, and which are packaged with your app's APK
  16 +# https://developer.android.com/topic/libraries/support-library/androidx-rn
  17 +android.useAndroidX=true
  18 +# Automatically convert third-party libraries to use AndroidX
  19 +android.enableJetifier=true
  20 +android.enableResourceOptimizations=false
  21 +#建议您关闭 R8 后再进行混淆
  22 +android.enableR8=false
  23 +android.enableR8.libraries=false
  24 +# 如果使用最新稳定版本 Android Studio 3.5 或以上,那么您需要在 gradle.properties 里面新增
  25 +android.buildOnlyTargetAbi=false
  26 +#网络请求接口版本 202204151851
  27 +requestVersion=107
  28 +#设置组件是否作为app还是lib,true是lib ,false 是app
  29 +#分享
  30 +isShareModule=true
  31 +#播放器
  32 +isPlayerModule=true
  33 +#是否直播模块运行 false可以单独运行
  34 +isLiveModule=true
  35 +org.gradle.daemon=true
  36 +org.gradle.parallel=true
  37 +org.gradle.configureondemand=true
  38 +org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
  39 +# Kotlin code style for this project: "official" or "obsolete":
  40 +kotlin.code.style=official
  41 +# Enables namespacing of each library's R class so that its R class includes only the
  42 +# resources declared in the library itself and none from the library's dependencies,
  43 +# thereby reducing the size of the R class for that library
  44 +#android.nonTransitiveRClass=true
  45 +
  46 +
No preview for this file type
  1 +#Fri Oct 23 14:37:25 CST 2020
  2 +distributionBase=GRADLE_USER_HOME
  3 +distributionPath=wrapper/dists
  4 +zipStoreBase=GRADLE_USER_HOME
  5 +zipStorePath=wrapper/dists
  6 +distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.8-all.zip
  1 +#!/usr/bin/env sh
  2 +
  3 +##############################################################################
  4 +##
  5 +## Gradle start up script for UN*X
  6 +##
  7 +##############################################################################
  8 +
  9 +# Attempt to set APP_HOME
  10 +# Resolve links: $0 may be a link
  11 +PRG="$0"
  12 +# Need this for relative symlinks.
  13 +while [ -h "$PRG" ] ; do
  14 + ls=`ls -ld "$PRG"`
  15 + link=`expr "$ls" : '.*-> \(.*\)$'`
  16 + if expr "$link" : '/.*' > /dev/null; then
  17 + PRG="$link"
  18 + else
  19 + PRG=`dirname "$PRG"`"/$link"
  20 + fi
  21 +done
  22 +SAVED="`pwd`"
  23 +cd "`dirname \"$PRG\"`/" >/dev/null
  24 +APP_HOME="`pwd -P`"
  25 +cd "$SAVED" >/dev/null
  26 +
  27 +APP_NAME="Gradle"
  28 +APP_BASE_NAME=`basename "$0"`
  29 +
  30 +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
  31 +DEFAULT_JVM_OPTS=""
  32 +
  33 +# Use the maximum available, or set MAX_FD != -1 to use that value.
  34 +MAX_FD="maximum"
  35 +
  36 +warn () {
  37 + echo "$*"
  38 +}
  39 +
  40 +die () {
  41 + echo
  42 + echo "$*"
  43 + echo
  44 + exit 1
  45 +}
  46 +
  47 +# OS specific support (must be 'true' or 'false').
  48 +cygwin=false
  49 +msys=false
  50 +darwin=false
  51 +nonstop=false
  52 +case "`uname`" in
  53 + CYGWIN* )
  54 + cygwin=true
  55 + ;;
  56 + Darwin* )
  57 + darwin=true
  58 + ;;
  59 + MINGW* )
  60 + msys=true
  61 + ;;
  62 + NONSTOP* )
  63 + nonstop=true
  64 + ;;
  65 +esac
  66 +
  67 +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
  68 +
  69 +# Determine the Java command to use to start the JVM.
  70 +if [ -n "$JAVA_HOME" ] ; then
  71 + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
  72 + # IBM's JDK on AIX uses strange locations for the executables
  73 + JAVACMD="$JAVA_HOME/jre/sh/java"
  74 + else
  75 + JAVACMD="$JAVA_HOME/bin/java"
  76 + fi
  77 + if [ ! -x "$JAVACMD" ] ; then
  78 + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
  79 +
  80 +Please set the JAVA_HOME variable in your environment to match the
  81 +location of your Java installation."
  82 + fi
  83 +else
  84 + JAVACMD="java"
  85 + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
  86 +
  87 +Please set the JAVA_HOME variable in your environment to match the
  88 +location of your Java installation."
  89 +fi
  90 +
  91 +# Increase the maximum file descriptors if we can.
  92 +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
  93 + MAX_FD_LIMIT=`ulimit -H -n`
  94 + if [ $? -eq 0 ] ; then
  95 + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
  96 + MAX_FD="$MAX_FD_LIMIT"
  97 + fi
  98 + ulimit -n $MAX_FD
  99 + if [ $? -ne 0 ] ; then
  100 + warn "Could not set maximum file descriptor limit: $MAX_FD"
  101 + fi
  102 + else
  103 + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
  104 + fi
  105 +fi
  106 +
  107 +# For Darwin, add options to specify how the application appears in the dock
  108 +if $darwin; then
  109 + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
  110 +fi
  111 +
  112 +# For Cygwin, switch paths to Windows format before running java
  113 +if $cygwin ; then
  114 + APP_HOME=`cygpath --path --mixed "$APP_HOME"`
  115 + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
  116 + JAVACMD=`cygpath --unix "$JAVACMD"`
  117 +
  118 + # We build the pattern for arguments to be converted via cygpath
  119 + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
  120 + SEP=""
  121 + for dir in $ROOTDIRSRAW ; do
  122 + ROOTDIRS="$ROOTDIRS$SEP$dir"
  123 + SEP="|"
  124 + done
  125 + OURCYGPATTERN="(^($ROOTDIRS))"
  126 + # Add a user-defined pattern to the cygpath arguments
  127 + if [ "$GRADLE_CYGPATTERN" != "" ] ; then
  128 + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
  129 + fi
  130 + # Now convert the arguments - kludge to limit ourselves to /bin/sh
  131 + i=0
  132 + for arg in "$@" ; do
  133 + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
  134 + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
  135 +
  136 + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
  137 + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
  138 + else
  139 + eval `echo args$i`="\"$arg\""
  140 + fi
  141 + i=$((i+1))
  142 + done
  143 + case $i in
  144 + (0) set -- ;;
  145 + (1) set -- "$args0" ;;
  146 + (2) set -- "$args0" "$args1" ;;
  147 + (3) set -- "$args0" "$args1" "$args2" ;;
  148 + (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
  149 + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
  150 + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
  151 + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
  152 + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
  153 + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
  154 + esac
  155 +fi
  156 +
  157 +# Escape application args
  158 +save () {
  159 + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
  160 + echo " "
  161 +}
  162 +APP_ARGS=$(save "$@")
  163 +
  164 +# Collect all arguments for the java command, following the shell quoting and substitution rules
  165 +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
  166 +
  167 +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
  168 +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
  169 + cd "$(dirname "$0")"
  170 +fi
  171 +
  172 +exec "$JAVACMD" "$@"
  1 +@if "%DEBUG%" == "" @echo off
  2 +@rem ##########################################################################
  3 +@rem
  4 +@rem Gradle startup script for Windows
  5 +@rem
  6 +@rem ##########################################################################
  7 +
  8 +@rem Set local scope for the variables with windows NT shell
  9 +if "%OS%"=="Windows_NT" setlocal
  10 +
  11 +set DIRNAME=%~dp0
  12 +if "%DIRNAME%" == "" set DIRNAME=.
  13 +set APP_BASE_NAME=%~n0
  14 +set APP_HOME=%DIRNAME%
  15 +
  16 +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
  17 +set DEFAULT_JVM_OPTS=
  18 +
  19 +@rem Find java.exe
  20 +if defined JAVA_HOME goto findJavaFromJavaHome
  21 +
  22 +set JAVA_EXE=java.exe
  23 +%JAVA_EXE% -version >NUL 2>&1
  24 +if "%ERRORLEVEL%" == "0" goto init
  25 +
  26 +echo.
  27 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
  28 +echo.
  29 +echo Please set the JAVA_HOME variable in your environment to match the
  30 +echo location of your Java installation.
  31 +
  32 +goto fail
  33 +
  34 +:findJavaFromJavaHome
  35 +set JAVA_HOME=%JAVA_HOME:"=%
  36 +set JAVA_EXE=%JAVA_HOME%/bin/java.exe
  37 +
  38 +if exist "%JAVA_EXE%" goto init
  39 +
  40 +echo.
  41 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
  42 +echo.
  43 +echo Please set the JAVA_HOME variable in your environment to match the
  44 +echo location of your Java installation.
  45 +
  46 +goto fail
  47 +
  48 +:init
  49 +@rem Get command-line arguments, handling Windows variants
  50 +
  51 +if not "%OS%" == "Windows_NT" goto win9xME_args
  52 +
  53 +:win9xME_args
  54 +@rem Slurp the command line arguments.
  55 +set CMD_LINE_ARGS=
  56 +set _SKIP=2
  57 +
  58 +:win9xME_args_slurp
  59 +if "x%~1" == "x" goto execute
  60 +
  61 +set CMD_LINE_ARGS=%*
  62 +
  63 +:execute
  64 +@rem Setup the command line
  65 +
  66 +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
  67 +
  68 +@rem Execute Gradle
  69 +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
  70 +
  71 +:end
  72 +@rem End local scope for the variables with windows NT shell
  73 +if "%ERRORLEVEL%"=="0" goto mainEnd
  74 +
  75 +:fail
  76 +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
  77 +rem the _cmd.exe /c_ return code!
  78 +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
  79 +exit /b 1
  80 +
  81 +:mainEnd
  82 +if "%OS%"=="Windows_NT" endlocal
  83 +
  84 +:omega
  1 +rootProject.name = "wdbean"
  2 +include ':app'
  3 +include ':wdbean'
  1 +plugins {
  2 + id 'com.android.library'
  3 + id 'kotlin-android'
  4 + id 'maven'
  5 +}
  6 +
  7 +android {
  8 + compileSdkVersion var.compileSdkVersion
  9 +
  10 + defaultConfig {
  11 + minSdkVersion var.minSdkVersion
  12 + targetSdkVersion var.targetSdkVersion
  13 + versionCode var.versionCode
  14 + versionName var.versionName
  15 +
  16 + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  17 + consumerProguardFiles "consumer-rules.pro"
  18 +
  19 + buildConfigField "String", "API_VERSION", "\"${requestVersion}\""
  20 + }
  21 +
  22 + buildTypes {
  23 + release {
  24 + minifyEnabled false
  25 + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  26 + }
  27 + }
  28 + compileOptions {
  29 + sourceCompatibility JavaVersion.VERSION_1_8
  30 + targetCompatibility JavaVersion.VERSION_1_8
  31 + }
  32 +
  33 + // 自定义AAR包名
  34 + android.libraryVariants.all { variant ->
  35 + variant.outputs.all {
  36 + if (outputFileName != null && outputFileName.endsWith(".aar")) {
  37 + def fileName = "${project.name}-${buildType.name}-v${var.aar_version}.aar"
  38 + outputFileName = fileName
  39 + }
  40 + }
  41 + }
  42 +}
  43 +
  44 +dependencies {
  45 + implementation 'com.alibaba:fastjson:1.2.62'
  46 + implementation 'androidx.annotation:annotation:1.1.0'
  47 +}
  48 +
  49 +uploadArchives {
  50 + repositories {
  51 + mavenDeployer {
  52 + repository(url: "https://packages.aliyun.com/6708d221eef79c23d7b02189/maven/repo-higom/") {
  53 + authentication(userName: '6708d1cf6f4c940bd257c88d', password: 'Wm51gc4rARyr')
  54 + }
  55 + pom.project {
  56 + artifactId 'wdbean'
  57 + version '1.0.0'
  58 + groupId 'com.wd'
  59 + packaging 'aar'
  60 + }
  61 + }
  62 + }
  63 +}
  1 +# Add project specific ProGuard rules here.
  2 +# You can control the set of applied configuration files using the
  3 +# proguardFiles setting in build.gradle.
  4 +#
  5 +# For more details, see
  6 +# http://developer.android.com/guide/developing/tools/proguard.html
  7 +
  8 +# If your project uses WebView with JS, uncomment the following
  9 +# and specify the fully qualified class name to the JavaScript interface
  10 +# class:
  11 +#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  12 +# public *;
  13 +#}
  14 +
  15 +# Uncomment this to preserve the line number information for
  16 +# debugging stack traces.
  17 +#-keepattributes SourceFile,LineNumberTable
  18 +
  19 +# If you keep the line number information, uncomment this to
  20 +# hide the original source file name.
  21 +#-renamesourcefileattribute SourceFile
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3 + package="com.wd.foundation.bean">
  4 +
  5 +</manifest>
  1 +package com.wd.foundation.bean;
  2 +
  3 +import java.util.List;
  4 +
  5 +import android.text.TextUtils;
  6 +
  7 +import com.wd.foundation.bean.base.BaseBean;
  8 +import com.wd.foundation.bean.mail.VideoInfo;
  9 +
  10 +public class AlbumListBean extends BaseBean {
  11 + private int pageNum;
  12 + private int pageSize;
  13 + private int totalCount;
  14 + private long serialsId;//合集id
  15 + private String serialsName;//合集名称
  16 + private String hasNext;//是否有下一页:0否1是
  17 + private List<AlbumBean> list;
  18 +
  19 + public int getPageNum() {
  20 + return pageNum;
  21 + }
  22 +
  23 + public void setPageNum(int pageNum) {
  24 + this.pageNum = pageNum;
  25 + }
  26 +
  27 + public int getPageSize() {
  28 + return pageSize;
  29 + }
  30 +
  31 + public void setPageSize(int pageSize) {
  32 + this.pageSize = pageSize;
  33 + }
  34 +
  35 + public int getTotalCount() {
  36 + return totalCount;
  37 + }
  38 +
  39 + public void setTotalCount(int totalCount) {
  40 + this.totalCount = totalCount;
  41 + }
  42 +
  43 + public String getHasNext() {
  44 + return hasNext;
  45 + }
  46 +
  47 + public void setHasNext(String hasNext) {
  48 + this.hasNext = hasNext;
  49 + }
  50 +
  51 + public List<AlbumBean> getList() {
  52 + return list;
  53 + }
  54 +
  55 + public void setList(List<AlbumBean> list) {
  56 + this.list = list;
  57 + }
  58 +
  59 + public long getSerialsId() {
  60 + return serialsId;
  61 + }
  62 +
  63 + public void setSerialsId(long serialsId) {
  64 + this.serialsId = serialsId;
  65 + }
  66 +
  67 + public String getSerialsName() {
  68 + return TextUtils.isEmpty(serialsName) ? "" : serialsName;
  69 + }
  70 +
  71 + public void setSerialsName(String serialsName) {
  72 + this.serialsName = serialsName;
  73 + }
  74 +
  75 + public static class AlbumBean extends BaseBean {
  76 + private String objectId;//内容id
  77 +
  78 + private String objectType;//0:不跳转 1:视频,2:直播,5:专题,6:链接,8:图文,9:组图,10:H5新闻,11:频道
  79 +
  80 + private String newsTitle;//标题
  81 +
  82 + private String newsSummary;//简介
  83 +
  84 + private int appStyle;//App样式 1:小图卡,2:大图卡,3:无图卡,4:三图卡,5:头图卡,6:小视频卡,7:作者卡,8:财经快讯卡,9:时间轴卡,10:大专题卡
  85 +
  86 + private int currentPoliticsFlag;//是否时政新闻 1是 0否
  87 +
  88 + private String publishTime;//发布时间
  89 +
  90 + private List<CoverImgUrl> fullColumnImgUrls;//稿件封面图地址
  91 +
  92 + private VideoInfo videoInfo;
  93 +
  94 + private boolean isChecked;
  95 +
  96 + public String getObjectId() {
  97 + return objectId;
  98 + }
  99 +
  100 + public void setObjectId(String objectId) {
  101 + this.objectId = objectId;
  102 + }
  103 +
  104 + public String getObjectType() {
  105 + return objectType;
  106 + }
  107 +
  108 + public void setObjectType(String objectType) {
  109 + this.objectType = objectType;
  110 + }
  111 +
  112 + public String getNewsTitle() {
  113 + return newsTitle;
  114 + }
  115 +
  116 + public void setNewsTitle(String newsTitle) {
  117 + this.newsTitle = newsTitle;
  118 + }
  119 +
  120 + public String getNewsSummary() {
  121 + return newsSummary;
  122 + }
  123 +
  124 + public void setNewsSummary(String newsSummary) {
  125 + this.newsSummary = newsSummary;
  126 + }
  127 +
  128 + public int getAppStyle() {
  129 + return appStyle;
  130 + }
  131 +
  132 + public void setAppStyle(int appStyle) {
  133 + this.appStyle = appStyle;
  134 + }
  135 +
  136 + public int getCurrentPoliticsFlag() {
  137 + return currentPoliticsFlag;
  138 + }
  139 +
  140 + public void setCurrentPoliticsFlag(int currentPoliticsFlag) {
  141 + this.currentPoliticsFlag = currentPoliticsFlag;
  142 + }
  143 +
  144 + public String getPublishTime() {
  145 + return publishTime;
  146 + }
  147 +
  148 + public void setPublishTime(String publishTime) {
  149 + this.publishTime = publishTime;
  150 + }
  151 +
  152 + public List<CoverImgUrl> getFullColumnImgUrls() {
  153 + return fullColumnImgUrls;
  154 + }
  155 +
  156 + public void setFullColumnImgUrls(List<CoverImgUrl> fullColumnImgUrls) {
  157 + this.fullColumnImgUrls = fullColumnImgUrls;
  158 + }
  159 +
  160 + public VideoInfo getVideoInfo() {
  161 + return videoInfo;
  162 + }
  163 +
  164 + public void setVideoInfo(VideoInfo videoInfo) {
  165 + this.videoInfo = videoInfo;
  166 + }
  167 +
  168 + public boolean isChecked() {
  169 + return isChecked;
  170 + }
  171 +
  172 + public void setChecked(boolean checked) {
  173 + isChecked = checked;
  174 + }
  175 + }
  176 +
  177 + public static class CoverImgUrl{
  178 + private int format;
  179 + private int height;
  180 + private int landscape;
  181 + private int size;
  182 + private String url;
  183 + private int weight;
  184 +
  185 + public int getFormat() {
  186 + return format;
  187 + }
  188 +
  189 + public void setFormat(int format) {
  190 + this.format = format;
  191 + }
  192 +
  193 + public int getHeight() {
  194 + return height;
  195 + }
  196 +
  197 + public void setHeight(int height) {
  198 + this.height = height;
  199 + }
  200 +
  201 + public int getLandscape() {
  202 + return landscape;
  203 + }
  204 +
  205 + public void setLandscape(int landscape) {
  206 + this.landscape = landscape;
  207 + }
  208 +
  209 + public int getSize() {
  210 + return size;
  211 + }
  212 +
  213 + public void setSize(int size) {
  214 + this.size = size;
  215 + }
  216 +
  217 + public String getUrl() {
  218 + return url;
  219 + }
  220 +
  221 + public void setUrl(String url) {
  222 + this.url = url;
  223 + }
  224 +
  225 + public int getWeight() {
  226 + return weight;
  227 + }
  228 +
  229 + public void setWeight(int weight) {
  230 + this.weight = weight;
  231 + }
  232 + }
  233 +}
  1 +package com.wd.foundation.bean;
  2 +
  3 +import java.io.Serializable;
  4 +
  5 +public class ChoosePublishTime implements Serializable {
  6 + public int month;
  7 + public int day;
  8 + /**
  9 + * 文案
  10 + * */
  11 + public String text;
  12 +}
  1 +package com.wd.foundation.bean;
  2 +
  3 +import com.wd.foundation.bean.base.BaseBean;
  4 +
  5 +/**
  6 + * Author LiuKun
  7 + * date:2023/3/22
  8 + * desc:根据楼层Id获取组件节目信息参数
  9 + */
  10 +public class CompParameterBean extends BaseBean {
  11 + // 首次加载
  12 + public final static String FIRST_LOAD = "first_load";
  13 + // 上推刷新
  14 + public final static String PUSH_UP = "push_up";
  15 + // 下拉刷新
  16 + public final static String PULL_DOWN = "pull_down";
  17 +
  18 + //页码id
  19 + public String pageId;
  20 + //楼层id
  21 + public String groupId;
  22 + //页码
  23 + public int pageNum = 1;
  24 + // 第一页刷新时间
  25 + public long refreshTime;
  26 + //页码数
  27 + public int pageSize = 20;
  28 +
  29 + /**
  30 + * 首次加载:loadStrategy= first_load
  31 + * l 上推刷新:loadStrategy= push_up
  32 + * l 下拉刷新:loadStrategy= pull_down
  33 + */
  34 + public String loadStrategy;
  35 +
  36 +
  37 + //频道id 非必须
  38 + public String channelId;
  39 +
  40 + //频道策略 非必须
  41 + public String channelStrategy;
  42 +
  43 + //专题id 非必须
  44 + public String topicId;
  45 +
  46 +
  47 + //设置刷新时间
  48 + public void setRefreshTime(long serverTime) {
  49 + // 使用本地缓存数据,造成无法获取到服务器时间,因此手机手机日期
  50 + if (serverTime == 0) {
  51 + serverTime = System.currentTimeMillis();
  52 + }
  53 +
  54 + if (pageNum == 1 && (CompParameterBean.FIRST_LOAD.equals(loadStrategy) || CompParameterBean.PULL_DOWN.equals(loadStrategy))) {
  55 + refreshTime = serverTime;
  56 + }
  57 + }
  58 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +import java.util.List;
  5 +
  6 +import com.wd.foundation.bean.base.BaseBean;
  7 +
  8 +/**
  9 + * 图片预览bean
  10 + *
  11 + * @author baozhaoxin
  12 + * @version [V1.0.0, 2023/5/5]
  13 + * @since V1.0.0
  14 + */
  15 +public class ImageSlideBean extends BaseBean {
  16 +
  17 + /**
  18 + * 图片集合开始下标
  19 + */
  20 + private int imgIndex;
  21 +
  22 + private List<ImgArrBean> imgArr;
  23 +
  24 + public int getImgIndex() {
  25 + return imgIndex;
  26 + }
  27 +
  28 + public void setImgIndex(int imgIndex) {
  29 + this.imgIndex = imgIndex;
  30 + }
  31 +
  32 + public List<ImgArrBean> getImgArr() {
  33 + return imgArr;
  34 + }
  35 +
  36 + public void setImgArr(List<ImgArrBean> imgArr) {
  37 + this.imgArr = imgArr;
  38 + }
  39 +
  40 + @Override
  41 + public String toString() {
  42 + return "ImageSlideBean{" + "imgIndex=" + imgIndex + ", imgArr=" + imgArr + '}';
  43 + }
  44 +
  45 + public static class ImgArrBean extends BaseBean {
  46 + /**
  47 + * 图片地址
  48 + */
  49 + private String pic;
  50 +
  51 + /**
  52 + * 宽
  53 + */
  54 + private String width;
  55 +
  56 + /**
  57 + * 高
  58 + */
  59 + private String height;
  60 +
  61 + public String getPic() {
  62 + return pic;
  63 + }
  64 +
  65 + public void setPic(String pic) {
  66 + this.pic = pic;
  67 + }
  68 +
  69 + public String getWidth() {
  70 + return width;
  71 + }
  72 +
  73 + public void setWidth(String width) {
  74 + this.width = width;
  75 + }
  76 +
  77 + public String getHeight() {
  78 + return height;
  79 + }
  80 +
  81 + public void setHeight(String height) {
  82 + this.height = height;
  83 + }
  84 +
  85 + @Override
  86 + public String toString() {
  87 + return "ImgArrBean{" + "pic='" + pic + '\'' + ", width='" + width + '\'' + ", height='" + height + '\''
  88 + + '}';
  89 + }
  90 + }
  91 +
  92 +}
  1 +package com.wd.foundation.bean;
  2 +
  3 +public class JsAppInnerLinkBean {
  4 +
  5 + private String appInnerLink;
  6 +
  7 + public String getAppInnerLink() {
  8 + return appInnerLink;
  9 + }
  10 +
  11 + public void setAppInnerLink(String appInnerLink) {
  12 + this.appInnerLink = appInnerLink;
  13 + }
  14 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +import org.json.JSONObject;
  5 +
  6 +public class JsCallAppBean {
  7 +
  8 + private JSONObject jsonObject;
  9 +
  10 + private String callbackId;
  11 +
  12 + public String getCallbackId() {
  13 + return callbackId;
  14 + }
  15 +
  16 + public void setCallbackId(String callbackId) {
  17 + this.callbackId = callbackId;
  18 + }
  19 +
  20 + public JSONObject getJsonObject() {
  21 + return jsonObject;
  22 + }
  23 +
  24 + public void setJsonObject(JSONObject jsonObject) {
  25 + this.jsonObject = jsonObject;
  26 + }
  27 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +import com.wd.foundation.bean.base.BaseBean;
  5 +
  6 +/**
  7 + * js:App弹通用提示bean
  8 + *
  9 + * @author baozhaoxin
  10 + * @version [V1.0.0, 2023/4/19]
  11 + * @since V1.0.0
  12 + */
  13 +public class JsGeneralTipsBean extends BaseBean {
  14 + /**
  15 + * 1、Toast提示 2、Alert提示
  16 + */
  17 + private String tipStyle;
  18 +
  19 + /**
  20 + * 提示字符串
  21 + */
  22 + private String tipString;
  23 +
  24 + public String getTipStyle() {
  25 + return tipStyle;
  26 + }
  27 +
  28 + public void setTipStyle(String tipStyle) {
  29 + this.tipStyle = tipStyle;
  30 + }
  31 +
  32 + public String getTipString() {
  33 + return tipString;
  34 + }
  35 +
  36 + public void setTipString(String tipString) {
  37 + this.tipString = tipString;
  38 + }
  39 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +public class JsImageBean {
  5 +
  6 + private int type;
  7 +
  8 + private String content;
  9 +
  10 + public int getType() {
  11 + return type;
  12 + }
  13 +
  14 + public void setType(int type) {
  15 + this.type = type;
  16 + }
  17 +
  18 + public String getContent() {
  19 + return content;
  20 + }
  21 +
  22 + public void setContent(String content) {
  23 + this.content = content;
  24 + }
  25 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +public class JsScrollBean {
  5 +
  6 + String openH5ScrollEvent;// 是否开启H5滚动事件,1开启,0关闭
  7 +
  8 + String scrollingDirection;// 1 向下,2向上
  9 +
  10 + public String getOpenH5ScrollEvent() {
  11 + return openH5ScrollEvent;
  12 + }
  13 +
  14 + public void setOpenH5ScrollEvent(String openH5ScrollEvent) {
  15 + this.openH5ScrollEvent = openH5ScrollEvent;
  16 + }
  17 +
  18 + public String getScrollingDirection() {
  19 + return scrollingDirection;
  20 + }
  21 +
  22 + public void setScrollingDirection(String scrollingDirection) {
  23 + this.scrollingDirection = scrollingDirection;
  24 + }
  25 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +import com.wd.foundation.bean.custom.share.ShareBean;
  5 +
  6 +import java.io.Serializable;
  7 +
  8 +
  9 +public class JsShareBean implements Serializable {
  10 + /**
  11 + * 分享类型:1.文字类型分享 2.网页类型分享
  12 + */
  13 + private int type;
  14 +
  15 + /**
  16 + * 是否显示分享:1 显示分享按钮 0 不显示
  17 + */
  18 + private int isShowShare;
  19 +
  20 + /**
  21 + * 分享文本(当type为1时 传入需要分享的文本内容 )
  22 + */
  23 + private String text;
  24 +
  25 + /**
  26 + * 分享标题(当type为2时可用)
  27 + */
  28 + private String title;
  29 +
  30 + /**
  31 + * 分享描述(当type为2时可用 )
  32 + */
  33 + private String description;
  34 +
  35 + /**
  36 + * 分享链接(当type为2时可用 )
  37 + */
  38 + private String webpageUrl;
  39 +
  40 + /**
  41 + * 分享图标链接(当type为2时可用,分享小icon需小于64k)
  42 + */
  43 + private String imageUrl;
  44 +
  45 + /**
  46 + * 分享的内容Id:活动ID、视频ID等
  47 + */
  48 + private String contentId;
  49 +
  50 + /**
  51 + * 1.facebook 2.twitter 3.微信 4.微信朋友圈 5.微博 6.系统分享 7. 弹框App全分享 8.海报分享
  52 + */
  53 + private String sharePlatform;
  54 +
  55 + /**
  56 + * 分享完成结果回调js 方法名称,例如:appShareResult
  57 + */
  58 + private String tapShareEventCallbackName;
  59 +
  60 + /**
  61 + * 分享数据
  62 + */
  63 + private ShareBean shareInfo;
  64 +
  65 + /**
  66 + * 海报图 base64 data数据 (当sharePlatform == 7 或 8时 传 )
  67 + */
  68 + private String posterImageData;
  69 +
  70 + /**
  71 + * 分享埋点参数
  72 + */
  73 + private ShareTrackParameters shareTrackParameters;
  74 +
  75 + public int getType() {
  76 + return type;
  77 + }
  78 +
  79 + public void setType(int type) {
  80 + this.type = type;
  81 + }
  82 +
  83 + public int getIsShowShare() {
  84 + return isShowShare;
  85 + }
  86 +
  87 + public void setIsShowShare(int isShowShare) {
  88 + this.isShowShare = isShowShare;
  89 + }
  90 +
  91 + public String getText() {
  92 + return text;
  93 + }
  94 +
  95 + public void setText(String text) {
  96 + this.text = text;
  97 + }
  98 +
  99 + public String getTitle() {
  100 + return title;
  101 + }
  102 +
  103 + public void setTitle(String title) {
  104 + this.title = title;
  105 + }
  106 +
  107 + public String getDescription() {
  108 + return description;
  109 + }
  110 +
  111 + public void setDescription(String description) {
  112 + this.description = description;
  113 + }
  114 +
  115 + public String getWebpageUrl() {
  116 + return webpageUrl;
  117 + }
  118 +
  119 + public void setWebpageUrl(String webpageUrl) {
  120 + this.webpageUrl = webpageUrl;
  121 + }
  122 +
  123 + public String getImageUrl() {
  124 + return imageUrl;
  125 + }
  126 +
  127 + public void setImageUrl(String imageUrl) {
  128 + this.imageUrl = imageUrl;
  129 + }
  130 +
  131 + public String getContentId() {
  132 + return contentId;
  133 + }
  134 +
  135 + public void setContentId(String contentId) {
  136 + this.contentId = contentId;
  137 + }
  138 +
  139 + public String getSharePlatform() {
  140 + return sharePlatform;
  141 + }
  142 +
  143 + public void setSharePlatform(String sharePlatform) {
  144 + this.sharePlatform = sharePlatform;
  145 + }
  146 +
  147 + public String getTapShareEventCallbackName() {
  148 + return tapShareEventCallbackName;
  149 + }
  150 +
  151 + public void setTapShareEventCallbackName(String tapShareEventCallbackName) {
  152 + this.tapShareEventCallbackName = tapShareEventCallbackName;
  153 + }
  154 +
  155 + public ShareBean getShareInfo() {
  156 + return shareInfo;
  157 + }
  158 +
  159 + public void setShareInfo(ShareBean shareInfo) {
  160 + this.shareInfo = shareInfo;
  161 + }
  162 +
  163 + public String getPosterImageData() {
  164 + return posterImageData;
  165 + }
  166 +
  167 + public void setPosterImageData(String posterImageData) {
  168 + this.posterImageData = posterImageData;
  169 + }
  170 +
  171 + public ShareTrackParameters getShareTrackParameters() {
  172 + return shareTrackParameters;
  173 + }
  174 +
  175 + public void setShareTrackParameters(ShareTrackParameters shareTrackParameters) {
  176 + this.shareTrackParameters = shareTrackParameters;
  177 + }
  178 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +import com.wd.foundation.bean.base.BaseBean;
  5 +
  6 +/**
  7 + * 国内外信息bean
  8 + *
  9 + * @author baozhaoxin
  10 + * @version [V1.0.0, 2023/3/24]
  11 + * @since V1.0.0
  12 + */
  13 +public class LocationBean extends BaseBean {
  14 +
  15 + /**
  16 + * 当前区域
  17 + */
  18 + private String location;
  19 +
  20 + public String getLocation() {
  21 + return location;
  22 + }
  23 +
  24 + public void setLocation(String location) {
  25 + this.location = location;
  26 + }
  27 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +/**
  5 + * TODO 待删除
  6 + *
  7 + * @author yzm
  8 + * @date 2022/7/19
  9 + * @time 10:31.
  10 + */
  11 +public class LoginDataChangeUtils {
  12 +
  13 + // public static UserEntity loginDataParse(LoginUserData loginUserData) {
  14 + // UserEntity userEntity = new UserEntity();
  15 + // if (loginUserData != null) {
  16 + // userEntity.uid = loginUserData.getId();
  17 + // userEntity.phone = loginUserData.getPhone();
  18 + // userEntity.status = loginUserData.getStatus();
  19 + // userEntity.userType = loginUserData.getUserType();
  20 + // userEntity.certCode = loginUserData.getCertCode();
  21 + // userEntity.email = loginUserData.getEmail();
  22 + // userEntity.userName = loginUserData.getUserName();
  23 + // userEntity.source = loginUserData.getSource();
  24 + // userEntity.qq_binding = loginUserData.getQq_binding();
  25 + // userEntity.wechat_binding = loginUserData.getWechat_binding();
  26 + // userEntity.weibo_binding = loginUserData.getWeibo_binding();
  27 + // userEntity.facebook_binding = loginUserData.getFacebook_binding();
  28 + // userEntity.twitter_binding = loginUserData.getTwitter_binding();
  29 + // userEntity.google_binding = loginUserData.getGoogle_binding();
  30 + // userEntity.tenancy = loginUserData.getTenancy();
  31 + // userEntity.headPhotoStatus = loginUserData.getHeadPhotoStatus();
  32 + // userEntity.userNameStatus = loginUserData.getUserNameStatus();
  33 + // }
  34 + // if (loginUserData != null && loginUserData.getUserExtend() != null) {
  35 + // userEntity.address = loginUserData.getUserExtend().getAddress();
  36 + // userEntity.birthday = loginUserData.getUserExtend().getBirthday();
  37 + // userEntity.city = loginUserData.getUserExtend().getCity();
  38 + // userEntity.county = loginUserData.getUserExtend().getCounty();
  39 + // userEntity.creatorId = loginUserData.getUserExtend().getCreatorId();
  40 + // userEntity.deviceId = loginUserData.getUserExtend().getDeviceId();
  41 + // userEntity.headPhotoUrl = loginUserData.getUserExtend().getHeadPhotoUrl();
  42 + // userEntity.introduction = loginUserData.getUserExtend().getIntroduction();
  43 + // userEntity.lastLoginTime = loginUserData.getUserExtend().getLastLoginTime();
  44 + // userEntity.province = loginUserData.getUserExtend().getProvince();
  45 + // userEntity.sex = loginUserData.getUserExtend().getSex();
  46 + // userEntity.sign = loginUserData.getUserExtend().getSign();
  47 + // userEntity.user_agent = loginUserData.getUserExtend().getUser_agent();
  48 + // userEntity.os = loginUserData.getUserExtend().getOs();
  49 + // userEntity.region = loginUserData.getUserExtend().getRegion();
  50 + // }
  51 + // return userEntity;
  52 + // }
  53 +}
  1 +package com.wd.foundation.bean
  2 +
  3 +interface MultiItemEntity {
  4 + val itemType: Int
  5 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +import java.io.Serializable;
  5 +import java.util.List;
  6 +
  7 +import com.wd.foundation.bean.response.NewsDetailBean;
  8 +
  9 +/**
  10 + * @Author LiuKun
  11 + * @date:2023/5/24
  12 + * @desc:图文详情使用。新闻详情
  13 + */
  14 +public class NewDataParent implements Serializable {
  15 + private String code;
  16 +
  17 + private List<NewsDetailBean> data;
  18 +
  19 + private String message;
  20 +
  21 + private Object meta;
  22 +
  23 + private String requestId;
  24 +
  25 + private boolean success;
  26 +
  27 + private long timestamp;
  28 +
  29 + public String getCode() {
  30 + return code;
  31 + }
  32 +
  33 + public void setCode(String code) {
  34 + this.code = code;
  35 + }
  36 +
  37 + public List<NewsDetailBean> getData() {
  38 + return data;
  39 + }
  40 +
  41 + public void setData(List<NewsDetailBean> data) {
  42 + this.data = data;
  43 + }
  44 +
  45 + public String getMessage() {
  46 + return message;
  47 + }
  48 +
  49 + public void setMessage(String message) {
  50 + this.message = message;
  51 + }
  52 +
  53 + public Object getMeta() {
  54 + return meta;
  55 + }
  56 +
  57 + public void setMeta(Object meta) {
  58 + this.meta = meta;
  59 + }
  60 +
  61 + public String getRequestId() {
  62 + return requestId;
  63 + }
  64 +
  65 + public void setRequestId(String requestId) {
  66 + this.requestId = requestId;
  67 + }
  68 +
  69 + public boolean isSuccess() {
  70 + return success;
  71 + }
  72 +
  73 + public void setSuccess(boolean success) {
  74 + this.success = success;
  75 + }
  76 +
  77 + public long getTimestamp() {
  78 + return timestamp;
  79 + }
  80 +
  81 + public void setTimestamp(long timestamp) {
  82 + this.timestamp = timestamp;
  83 + }
  84 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +import java.io.Serializable;
  5 +
  6 +/**
  7 + * @ProjectName: PeopleDailyEnglish
  8 + * @Package: com.people.entity
  9 + * @ClassName: NightModeBean
  10 + * @Description: 描述
  11 + * @Author: wd
  12 + * @CreateDate: 2023/3/16 11:17
  13 + * @UpdateUser: wd
  14 + * @UpdateDate: 2023/3/16 11:17
  15 + * @UpdateRemark: 更新说明:
  16 + * @Version: 1.0
  17 + */
  18 +public class NightModeBean implements Serializable {
  19 + /**
  20 + * 用于展示文案
  21 + */
  22 + public String nightmodeWord;
  23 +
  24 + /**
  25 + * 用于系统设置
  26 + */
  27 + public int nightMode;
  28 +
  29 + /**
  30 + * 是否展示分割线
  31 + */
  32 + public boolean showLine;
  33 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +import java.util.List;
  5 +
  6 +import com.wd.foundation.bean.base.BaseBean;
  7 +import com.wd.foundation.bean.custom.content.ContentBean;
  8 +
  9 +/**
  10 + * 推荐列表bean
  11 + *
  12 + * @author baozhaoxin
  13 + * @version [V1.0.0, 2023/10/25]
  14 + * @since V1.0.0
  15 + */
  16 +public class RecListBean extends BaseBean {
  17 +
  18 + /**
  19 + * 同楼层接口的operDataList
  20 + */
  21 + private List<ContentBean> list;
  22 +
  23 + public List<ContentBean> getList() {
  24 + return list;
  25 + }
  26 +
  27 + public void setList(List<ContentBean> list) {
  28 + this.list = list;
  29 + }
  30 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +/**
  5 + * Time:2023/11/16
  6 + * Author:ypf
  7 + * Description:分享埋点参数
  8 + */
  9 +public class ShareTrackParameters {
  10 +
  11 + // 页面名称
  12 + private String pageName;
  13 +
  14 + // 页面ID
  15 + private String pageId;
  16 +
  17 + // 榜单名称
  18 + private String listName;
  19 +
  20 + // 榜单类型
  21 + private String listType;
  22 +
  23 + // 分享渠道
  24 + private String shareChannel;
  25 +
  26 + public String getPageName() {
  27 + return pageName;
  28 + }
  29 +
  30 + public void setPageName(String pageName) {
  31 + this.pageName = pageName;
  32 + }
  33 +
  34 + public String getPageId() {
  35 + return pageId;
  36 + }
  37 +
  38 + public void setPageId(String pageId) {
  39 + this.pageId = pageId;
  40 + }
  41 +
  42 + public String getListName() {
  43 + return listName;
  44 + }
  45 +
  46 + public void setListName(String listName) {
  47 + this.listName = listName;
  48 + }
  49 +
  50 + public String getListType() {
  51 + return listType;
  52 + }
  53 +
  54 + public void setListType(String listType) {
  55 + this.listType = listType;
  56 + }
  57 +
  58 + public String getShareChannel() {
  59 + return shareChannel;
  60 + }
  61 +
  62 + public void setShareChannel(String shareChannel) {
  63 + this.shareChannel = shareChannel;
  64 + }
  65 +}
  1 +
  2 +package com.wd.foundation.bean;
  3 +
  4 +import com.wd.foundation.bean.base.BaseBean;
  5 +
  6 +public class TimeNumberBean extends BaseBean {
  7 +
  8 + private String stringMonth;
  9 +
  10 + private String stringDay;
  11 +
  12 + private String stringHour;
  13 +
  14 + private String stringMin;
  15 +
  16 + private String stringSecond;
  17 +
  18 + // 2023年5月18日09:23
  19 + public TimeNumberBean(String s) {
  20 + int yearIndex = s.indexOf("年");
  21 + int monthIndex = s.indexOf("月");
  22 + int dayIndex = s.indexOf("日");
  23 + int colonIndex = s.indexOf(":");
  24 + this.stringMonth = s.substring(yearIndex + 1, monthIndex);
  25 + this.stringDay = s.substring(monthIndex + 1, dayIndex);
  26 + this.stringHour = s.substring(dayIndex + 1, colonIndex);
  27 + this.stringMin = s.substring(colonIndex + 1, s.length());
  28 + this.stringSecond = "00";
  29 + }
  30 +
  31 + public TimeNumberBean(String stringHour, String stringMin, String stringSecond) {
  32 + this.stringHour = stringHour;
  33 + this.stringMin = stringMin;
  34 + this.stringSecond = stringSecond;
  35 + }
  36 +
  37 + public String getStringHour() {
  38 + return stringHour;
  39 + }
  40 +
  41 + public void setStringHour(String stringHour) {
  42 + this.stringHour = stringHour;
  43 + }
  44 +
  45 + public String getStringMin() {
  46 + return stringMin;
  47 + }
  48 +
  49 + public void setStringMin(String stringMin) {
  50 + this.stringMin = stringMin;
  51 + }
  52 +
  53 + public String getStringSecond() {
  54 + return stringSecond;
  55 + }
  56 +
  57 + public void setStringSecond(String stringSecond) {
  58 + this.stringSecond = stringSecond;
  59 + }
  60 +
  61 + public String getStringMonth() {
  62 + return stringMonth;
  63 + }
  64 +
  65 + public void setStringMonth(String stringMonth) {
  66 + this.stringMonth = stringMonth;
  67 + }
  68 +
  69 + public String getStringDay() {
  70 + return stringDay;
  71 + }
  72 +
  73 + public void setStringDay(String stringDay) {
  74 + this.stringDay = stringDay;
  75 + }
  76 +
  77 + @Override
  78 + public String toString() {
  79 + return "TimeNumberBean{" + "stringMonth='" + stringMonth + '\'' + ", stringDay='" + stringDay + '\''
  80 + + ", stringHour='" + stringHour + '\'' + ", stringMin='" + stringMin + '\'' + ", stringSecond='"
  81 + + stringSecond + '\'' + '}';
  82 + }
  83 +}
  1 +
  2 +package com.wd.foundation.bean.adv;
  3 +
  4 +import android.text.TextUtils;
  5 +
  6 +import com.wd.foundation.bean.base.BaseBean;
  7 +
  8 +/**
  9 + * 广告信息
  10 + *
  11 + * @author liyubing
  12 + * @version [V1.0.0, 2022/8/8]
  13 + * @since V1.0.0
  14 + */
  15 +public class AdvertsBean extends BaseBean {
  16 +
  17 + /**
  18 + * 广告id
  19 + */
  20 + private String id;
  21 +
  22 + /**
  23 + * 广告relId
  24 + */
  25 + private String relId;
  26 +
  27 + /**
  28 + * 广告素材名称
  29 + */
  30 + private String matTitle;
  31 +
  32 + /**
  33 + * 投放开始时间yyyy-MM-dd HH:mm:ss
  34 + */
  35 + private String startTime;
  36 +
  37 + /**
  38 + * 投放结束时间yyyy-MM-dd HH:mm:ss
  39 + */
  40 + private String endTime;
  41 +
  42 + /**
  43 + * 展现时段,多组数据:9:00:00-10:00:00|17:00:00-18:00:00
  44 + */
  45 + private String displayTime;
  46 +
  47 + /**
  48 + * 展现优先级,数值越小,等级越高
  49 + */
  50 + private String displayLevel;
  51 +
  52 + /**
  53 + * 链接跳转类型,0:无连接;1:内链(站内内容);2:外链
  54 + */
  55 + private int linkType;
  56 +
  57 + /**
  58 + * 外链广告外链地址,link_type=2生效
  59 + */
  60 + private String linkUrl;
  61 +
  62 + /**
  63 + * 单用户仅曝光一次,0:否;1:是
  64 + */
  65 + private int showOnce;
  66 +
  67 + /**
  68 + * 内链内容id 仅link_type=1生效
  69 + */
  70 + private String contentId;
  71 +
  72 + /**
  73 + * 节目类型:1:点播2直播3活动4信息流广告5专题
  74 + */
  75 + private int contentType;
  76 +
  77 + /**
  78 + * 内容标题
  79 + */
  80 + private String contentTitle;
  81 +
  82 + /**
  83 + * 专题页面id
  84 + */
  85 + private String topicPageId;
  86 +
  87 + /**
  88 + * 横版封面地址
  89 + */
  90 + private String coverAddrH;
  91 +
  92 + /**
  93 + * 竖版封面地址
  94 + */
  95 + private String coverAddrV;
  96 +
  97 + /**
  98 + * 挂角封面图
  99 + */
  100 + private String displayUrl;
  101 +
  102 + /**
  103 + * 桶信息
  104 + */
  105 + private String bucket;
  106 +
  107 + /**
  108 + * 允许跳过,0:不允许,1:允许
  109 + */
  110 + private String ignore;
  111 +
  112 + /**
  113 + * 显示时长,单位:秒 (启动页广告)
  114 + */
  115 + private String displayDuration;
  116 +
  117 + /**
  118 + * 类型 1:图片.2:视频 (启动页广告)
  119 + */
  120 + private String type;
  121 +
  122 + /**
  123 + * type=2时使用,视频文件地址 (启动页广告)
  124 + */
  125 + private String openUrl;
  126 +
  127 + /**
  128 + * 显示样式(1:底部固定logo,2:全屏样式)
  129 + */
  130 + public String displayStyle;
  131 +
  132 + /**
  133 + * pageId
  134 + */
  135 + private String pageId;
  136 +
  137 + /**
  138 + * 跳转id
  139 + */
  140 + private String objectId;
  141 +
  142 + /**
  143 + * 对象类型 0:不跳转 1:视频,2:直播,5:专题,6:链接,8:图文,9:组图,10:H5新闻,11:频道
  144 + */
  145 + private String objectType;
  146 +
  147 + /**
  148 + * 对象分类 ;频道(1:一级频道,2:二级频道),专题(1:普通专题,2:主题专题,3:作者专题)
  149 + */
  150 + private String objectLevel;
  151 +
  152 + /**
  153 + * 底部导航栏 id(用于频道跳转)
  154 + */
  155 + private String bottomNavId;
  156 +
  157 + /**
  158 + * 专题模板 --->专题样式 1:常规, 2:作者, 3:时间线
  159 + */
  160 + private String topicTemplate;
  161 +
  162 + public String getId() {
  163 + return id;
  164 + }
  165 +
  166 + public void setId(String id) {
  167 + this.id = id;
  168 + }
  169 +
  170 + public String getRelId() {
  171 + return relId;
  172 + }
  173 +
  174 + public void setRelId(String relId) {
  175 + this.relId = relId;
  176 + }
  177 +
  178 + public String getMatTitle() {
  179 + return matTitle;
  180 + }
  181 +
  182 + public void setMatTitle(String matTitle) {
  183 + this.matTitle = matTitle;
  184 + }
  185 +
  186 + public String getStartTime() {
  187 + return startTime;
  188 + }
  189 +
  190 + public void setStartTime(String startTime) {
  191 + this.startTime = startTime;
  192 + }
  193 +
  194 + public String getEndTime() {
  195 + return endTime;
  196 + }
  197 +
  198 + public void setEndTime(String endTime) {
  199 + this.endTime = endTime;
  200 + }
  201 +
  202 + public String getDisplayTime() {
  203 + return displayTime;
  204 + }
  205 +
  206 + public void setDisplayTime(String displayTime) {
  207 + this.displayTime = displayTime;
  208 + }
  209 +
  210 + public String getDisplayLevel() {
  211 + return displayLevel;
  212 + }
  213 +
  214 + public int getDisplayLevelInt() {
  215 + if (TextUtils.isEmpty(displayLevel)) {
  216 + return 0;
  217 + }
  218 + int a = Integer.parseInt(displayLevel);
  219 + return a;
  220 + }
  221 +
  222 + public void setDisplayLevel(String displayLevel) {
  223 + this.displayLevel = displayLevel;
  224 + }
  225 +
  226 + public int getLinkType() {
  227 + return linkType;
  228 + }
  229 +
  230 + public void setLinkType(int linkType) {
  231 + this.linkType = linkType;
  232 + }
  233 +
  234 + public String getLinkUrl() {
  235 + return linkUrl;
  236 + }
  237 +
  238 + public void setLinkUrl(String linkUrl) {
  239 + this.linkUrl = linkUrl;
  240 + }
  241 +
  242 + public int getShowOnce() {
  243 + return showOnce;
  244 + }
  245 +
  246 + public void setShowOnce(int showOnce) {
  247 + this.showOnce = showOnce;
  248 + }
  249 +
  250 + public String getContentId() {
  251 + return contentId;
  252 + }
  253 +
  254 + public void setContentId(String contentId) {
  255 + this.contentId = contentId;
  256 + }
  257 +
  258 + public int getContentType() {
  259 + return contentType;
  260 + }
  261 +
  262 + public void setContentType(int contentType) {
  263 + this.contentType = contentType;
  264 + }
  265 +
  266 + public String getContentTitle() {
  267 + return contentTitle;
  268 + }
  269 +
  270 + public void setContentTitle(String contentTitle) {
  271 + this.contentTitle = contentTitle;
  272 + }
  273 +
  274 + public String getTopicPageId() {
  275 + return topicPageId;
  276 + }
  277 +
  278 + public void setTopicPageId(String topicPageId) {
  279 + this.topicPageId = topicPageId;
  280 + }
  281 +
  282 + public String getCoverAddrH() {
  283 + return coverAddrH;
  284 + }
  285 +
  286 + public void setCoverAddrH(String coverAddrH) {
  287 + this.coverAddrH = coverAddrH;
  288 + }
  289 +
  290 + public String getCoverAddrV() {
  291 + return coverAddrV;
  292 + }
  293 +
  294 + public void setCoverAddrV(String coverAddrV) {
  295 + this.coverAddrV = coverAddrV;
  296 + }
  297 +
  298 + public String getBucket() {
  299 + return bucket;
  300 + }
  301 +
  302 + public void setBucket(String bucket) {
  303 + this.bucket = bucket;
  304 + }
  305 +
  306 + public String getIgnore() {
  307 + return ignore;
  308 + }
  309 +
  310 + public void setIgnore(String ignore) {
  311 + this.ignore = ignore;
  312 + }
  313 +
  314 + public String getDisplayDuration() {
  315 + return displayDuration;
  316 + }
  317 +
  318 + public void setDisplayDuration(String displayDuration) {
  319 + this.displayDuration = displayDuration;
  320 + }
  321 +
  322 + public String getType() {
  323 + return type;
  324 + }
  325 +
  326 + public void setType(String type) {
  327 + this.type = type;
  328 + }
  329 +
  330 + public String getOpenUrl() {
  331 + return openUrl;
  332 + }
  333 +
  334 + public void setOpenUrl(String openUrl) {
  335 + this.openUrl = openUrl;
  336 + }
  337 +
  338 + public String getPageId() {
  339 + return pageId;
  340 + }
  341 +
  342 + public void setPageId(String pageId) {
  343 + this.pageId = pageId;
  344 + }
  345 +
  346 + public String getObjectId() {
  347 + return objectId;
  348 + }
  349 +
  350 + public void setObjectId(String objectId) {
  351 + this.objectId = objectId;
  352 + }
  353 +
  354 + public String getObjectType() {
  355 + return objectType;
  356 + }
  357 +
  358 + public void setObjectType(String objectType) {
  359 + this.objectType = objectType;
  360 + }
  361 +
  362 + public String getObjectLevel() {
  363 + return objectLevel;
  364 + }
  365 +
  366 + public void setObjectLevel(String objectLevel) {
  367 + this.objectLevel = objectLevel;
  368 + }
  369 +
  370 + public String getDisplayStyle() {
  371 + return displayStyle;
  372 + }
  373 +
  374 + public void setDisplayStyle(String displayStyle) {
  375 + this.displayStyle = displayStyle;
  376 + }
  377 +
  378 + public String getBottomNavId() {
  379 + return bottomNavId;
  380 + }
  381 +
  382 + public void setBottomNavId(String bottomNavId) {
  383 + this.bottomNavId = bottomNavId;
  384 + }
  385 +
  386 + public String getDisplayUrl() {
  387 + return displayUrl;
  388 + }
  389 +
  390 + public void setDisplayUrl(String displayUrl) {
  391 + this.displayUrl = displayUrl;
  392 + }
  393 +
  394 + public String getTopicTemplate() {
  395 + return topicTemplate;
  396 + }
  397 +
  398 + public void setTopicTemplate(String topicTemplate) {
  399 + this.topicTemplate = topicTemplate;
  400 + }
  401 +
  402 + @Override
  403 + public String toString() {
  404 + return "AdvertsBean{" + "id='" + id + '\'' + ", matTitle='" + matTitle + '\'' + ", startTime='" + startTime
  405 + + '\'' + ", endTime='" + endTime + '\'' + ", displayTime='" + displayTime + '\'' + ", displayLevel='"
  406 + + displayLevel + '\'' + ", linkType=" + linkType + ", linkUrl='" + linkUrl + '\'' + ", showOnce=" + showOnce
  407 + + ", contentId='" + contentId + '\'' + ", contentType=" + contentType + ", contentTitle='" + contentTitle
  408 + + '\'' + ", topicPageId='" + topicPageId + '\'' + ", coverAddrH='" + coverAddrH + '\'' + ", coverAddrV='"
  409 + + coverAddrV + '\'' + ", displayUrl='" + displayUrl + '\'' + ", bucket='" + bucket + '\'' + ", ignore='"
  410 + + ignore + '\'' + ", displayDuration='" + displayDuration + '\'' + ", type='" + type + '\'' + ", openUrl='"
  411 + + openUrl + '\'' + ", displayStyle='" + displayStyle + '\'' + ", pageId='" + pageId + '\'' + ", objectId='"
  412 + + objectId + '\'' + ", objectType='" + objectType + '\'' + ", objectLevel='" + objectLevel + '\''
  413 + + ", bottomNavId='" + bottomNavId + '\'' + ", topicTemplate='" + topicTemplate + '\'' + '}';
  414 + }
  415 +}
  1 +package com.wd.foundation.bean.adv;
  2 +
  3 +import com.wd.foundation.bean.base.BaseBean;
  4 +
  5 +/**
  6 + * 广告规则
  7 + *
  8 + * @author liyubing
  9 + * @version [V1.0.0, 2022/8/8]
  10 + * @since V1.0.0
  11 + */
  12 +public class AdvsRuleBean extends BaseBean {
  13 +
  14 + /**
  15 + * 广告投放位编码
  16 + */
  17 + private String pos;
  18 +
  19 + /**
  20 + * 广告展示顺序,0:随机展示;1列表循环
  21 + */
  22 + private int displayMode;
  23 +
  24 + /**
  25 + * 每间隔刷新n次展示广告 (SpUtils记录用户操作次数,比如 refreshFrequency = 3,记录的值%3 =0 满足)
  26 + */
  27 + private int refreshFrequency;
  28 +
  29 + /**
  30 + * 广告信息集合
  31 + */
  32 + private AdvertsBean advert;
  33 +
  34 + public String getPos() {
  35 + return pos;
  36 + }
  37 +
  38 + public void setPos(String pos) {
  39 + this.pos = pos;
  40 + }
  41 +
  42 + public int getDisplayMode() {
  43 + return displayMode;
  44 + }
  45 +
  46 + public void setDisplayMode(int displayMode) {
  47 + this.displayMode = displayMode;
  48 + }
  49 +
  50 + public int getRefreshFrequency() {
  51 + return refreshFrequency;
  52 + }
  53 +
  54 + public void setRefreshFrequency(int refreshFrequency) {
  55 + this.refreshFrequency = refreshFrequency;
  56 + }
  57 +
  58 + public AdvertsBean getAdvert() {
  59 + return advert;
  60 + }
  61 +
  62 + public void setAdvert(AdvertsBean advert) {
  63 + this.advert = advert;
  64 + }
  65 +}
  1 +
  2 +package com.wd.foundation.bean.adv;
  3 +
  4 +import java.util.List;
  5 +
  6 +import com.wd.foundation.bean.base.BaseBean;
  7 +
  8 +/**
  9 + * 组件广告
  10 + *
  11 + * @author liyubing
  12 + * @version [V1.0.0, 2022/8/8]
  13 + * @since V1.0.0
  14 + */
  15 +public class CompAdBean extends BaseBean {
  16 +
  17 + /**
  18 + * 组件id
  19 + */
  20 + private String compId;
  21 +
  22 + /**
  23 + * 组件类型
  24 + */
  25 + private String compType;
  26 +
  27 + /**
  28 + * 页面Id
  29 + */
  30 + private String pageId ;
  31 +
  32 +
  33 + /**
  34 + * 普通组件位广告
  35 + */
  36 + private List<AdvsRuleBean> normalAdvs;
  37 +
  38 + /**
  39 + * 挂角广告数据
  40 + */
  41 + private List<AdvsRuleBean> cornersAdvs;
  42 +
  43 +
  44 + public String getCompId() {
  45 + return compId;
  46 + }
  47 +
  48 + public void setCompId(String compId) {
  49 + this.compId = compId;
  50 + }
  51 +
  52 + public String getCompType() {
  53 + return compType;
  54 + }
  55 +
  56 + public void setCompType(String compType) {
  57 + this.compType = compType;
  58 + }
  59 +
  60 + public List<AdvsRuleBean> getNormalAdvs() {
  61 + return normalAdvs;
  62 + }
  63 +
  64 + public void setNormalAdvs(List<AdvsRuleBean> normalAdvs) {
  65 + this.normalAdvs = normalAdvs;
  66 + }
  67 +
  68 +
  69 + public String getPageId() {
  70 + return pageId;
  71 + }
  72 +
  73 + public void setPageId(String pageId) {
  74 + this.pageId = pageId;
  75 + }
  76 +
  77 + public List<AdvsRuleBean> getCornersAdvs() {
  78 + return cornersAdvs;
  79 + }
  80 +
  81 + public void setCornersAdvs(List<AdvsRuleBean> cornersAdvs) {
  82 + this.cornersAdvs = cornersAdvs;
  83 + }
  84 +
  85 +
  86 +}
  1 +
  2 +package com.wd.foundation.bean.adv;
  3 +
  4 +import com.wd.foundation.bean.base.BaseBean;
  5 +
  6 +/**
  7 + * @Description: 广告组件数据
  8 + * @Author: Li Yubing
  9 + * @Email: liyubing@wondert.com.cn
  10 + * @CreateDate: 2023/10/26 13:49
  11 + * @Version: 1.0
  12 + */
  13 +public class CompAdvBean extends BaseBean {
  14 +
  15 + private int id;// 广告订单id
  16 +
  17 + private long startTime;// 投放开始时间
  18 +
  19 + private long endTime;// 投放结束时间
  20 +
  21 + private CompAdvMatInfoBean matInfo;// 信息流广告素材
  22 +
  23 + private CompAdvSlotInfoBean slotInfo;// 信息流广告位
  24 +
  25 + /**
  26 + * 展示优先级
  27 + * 广告A,displayPriority=1
  28 + * 广告B,displayPriority=2
  29 + * 则打开页面时,挂角展示顺序 A->B (优先级升序排列)
  30 + */
  31 + private int displayPriority;
  32 +
  33 + /**
  34 + * 展示的次数
  35 + */
  36 + private int showCount = -1;
  37 +
  38 + /**
  39 + * 页面id
  40 + */
  41 + private String pageId;
  42 +
  43 + /**
  44 + * 开屏广告-显示时长
  45 + */
  46 + private String displayDuration;
  47 +
  48 + /**
  49 + * 开屏广告-展示轮数
  50 + * 2.launchAdInfo有多个时:
  51 + * 广告A,displayRound=10
  52 + * 广告B,displayRound=5,
  53 + * 每次开机屏展示广告概率
  54 + * 广告A=10/(10+5)
  55 + * 广告B=5/(10+5)
  56 + * 广告A展示10次后,不再展示,
  57 + * 广告B展示5此后,不再展示。
  58 + * 下一轮展示继续上面逻辑。
  59 + */
  60 + private int displayRound;
  61 +
  62 + public int getId() {
  63 + return id;
  64 + }
  65 +
  66 + public void setId(int id) {
  67 + this.id = id;
  68 + }
  69 +
  70 + public long getStartTime() {
  71 + return startTime;
  72 + }
  73 +
  74 + public void setStartTime(long startTime) {
  75 + this.startTime = startTime;
  76 + }
  77 +
  78 + public long getEndTime() {
  79 + return endTime;
  80 + }
  81 +
  82 + public void setEndTime(long endTime) {
  83 + this.endTime = endTime;
  84 + }
  85 +
  86 + public CompAdvMatInfoBean getMatInfo() {
  87 + return matInfo;
  88 + }
  89 +
  90 + public void setMatInfo(CompAdvMatInfoBean matInfo) {
  91 + this.matInfo = matInfo;
  92 + }
  93 +
  94 + public CompAdvSlotInfoBean getSlotInfo() {
  95 + return slotInfo;
  96 + }
  97 +
  98 + public void setSlotInfo(CompAdvSlotInfoBean slotInfo) {
  99 + this.slotInfo = slotInfo;
  100 + }
  101 +
  102 + public int getDisplayPriority() {
  103 + return displayPriority;
  104 + }
  105 +
  106 + public void setDisplayPriority(int displayPriority) {
  107 + this.displayPriority = displayPriority;
  108 + }
  109 +
  110 + public int getShowCount() {
  111 + return showCount;
  112 + }
  113 +
  114 + public void setShowCount(int showCount) {
  115 + this.showCount = showCount;
  116 + }
  117 +
  118 + public String getPageId() {
  119 + return pageId;
  120 + }
  121 +
  122 + public void setPageId(String pageId) {
  123 + this.pageId = pageId;
  124 + }
  125 +
  126 + public String getDisplayDuration() {
  127 + return displayDuration;
  128 + }
  129 +
  130 + public void setDisplayDuration(String displayDuration) {
  131 + this.displayDuration = displayDuration;
  132 + }
  133 +
  134 + public int getDisplayRound() {
  135 + return displayRound;
  136 + }
  137 +
  138 + public void setDisplayRound(int displayRound) {
  139 + this.displayRound = displayRound;
  140 + }
  141 +}
  1 +package com.wd.foundation.bean.adv;
  2 +
  3 +import java.util.List;
  4 +
  5 +import com.wd.foundation.bean.base.BaseBean;
  6 +
  7 +/**
  8 + * @Description: 广告扩展解析类
  9 + * @Author: Li Yubing
  10 + * @Email: liyubing@wondert.com.cn
  11 + * @CreateDate: 2023/10/26 14:40
  12 + * @Version: 1.0
  13 + */
  14 +public class CompAdvExtraDataBean extends BaseBean {
  15 +
  16 +
  17 + public String itemTopImage;
  18 +
  19 + public List<ItemBean> item;
  20 +
  21 + public ItemBean itemMore;
  22 +
  23 + public static class ItemBean {
  24 +
  25 + public String image;
  26 +
  27 + public String title;
  28 +
  29 + public String linkUrl;
  30 +
  31 + public String linkType;
  32 +
  33 + }
  34 +
  35 +}
  1 +package com.wd.foundation.bean.adv;
  2 +
  3 +import java.util.List;
  4 +
  5 +import com.wd.foundation.bean.base.BaseBean;
  6 +
  7 +/**
  8 + * @Description: 信息流广告素材
  9 + * @Author: Li Yubing
  10 + * @Email: liyubing@wondert.com.cn
  11 + * @CreateDate: 2023/10/26 14:04
  12 + * @Version: 1.0
  13 + */
  14 +public class CompAdvMatInfoBean extends BaseBean {
  15 +
  16 + /**
  17 + * 广告标题
  18 + */
  19 + private String advTitle;
  20 +
  21 + /**
  22 + * 3:信息流广告
  23 + */
  24 + private String advType;
  25 +
  26 + /**
  27 + * 信息流广告类型(4:轮播图 5:三图广告 6:小图广告 7:长通栏广告 8:大图广告 9:视频广告 10:展会广告 11:冠名广告 12:顶部长通栏广告)
  28 + */
  29 + private int advSubType;
  30 +
  31 +
  32 + /**
  33 + * 素材图片信息;adv_subtype=4,5,6,7,8,9,12 时使用
  34 + */
  35 + private List<String> matImageUrl;
  36 +
  37 + /**
  38 + * 视频广告地址(adv_subtype=9)
  39 + */
  40 + private String matVideoUrl;
  41 +
  42 +
  43 + /**
  44 + * 扩展信息:advSubType=10,11时使用,字段示例见接口备注。
  45 + */
  46 + private String extraData;
  47 +
  48 + /**
  49 + * 链接跳转类型 0:无链接;1:内链(文章);2:外链
  50 + */
  51 + private String linkType;
  52 +
  53 + /**
  54 + * 广告跳转链接
  55 + */
  56 + private String linkUrl;
  57 +
  58 + /**
  59 + * 素材类型(0:图片 1:视频)
  60 + */
  61 + private String matType;
  62 +
  63 + /**
  64 + * 开屏样式(1:全屏样式 0:底部固定Logo)
  65 + */
  66 + private String startStyle;
  67 +
  68 + public String getAdvTitle() {
  69 + return advTitle;
  70 + }
  71 +
  72 + public void setAdvTitle(String advTitle) {
  73 + this.advTitle = advTitle;
  74 + }
  75 +
  76 + public String getAdvType() {
  77 + return advType;
  78 + }
  79 +
  80 + public void setAdvType(String advType) {
  81 + this.advType = advType;
  82 + }
  83 +
  84 + public int getAdvSubType() {
  85 + return advSubType;
  86 + }
  87 +
  88 + public void setAdvSubType(int advSubType) {
  89 + this.advSubType = advSubType;
  90 + }
  91 +
  92 + public List<String> getMatImageUrl() {
  93 + return matImageUrl;
  94 + }
  95 +
  96 + public void setMatImageUrl(List<String> matImageUrl) {
  97 + this.matImageUrl = matImageUrl;
  98 + }
  99 +
  100 + public String getMatVideoUrl() {
  101 + return matVideoUrl;
  102 + }
  103 +
  104 + public void setMatVideoUrl(String matVideoUrl) {
  105 + this.matVideoUrl = matVideoUrl;
  106 + }
  107 +
  108 + public String getExtraData() {
  109 + return extraData;
  110 + }
  111 +
  112 + public void setExtraData(String extraData) {
  113 + this.extraData = extraData;
  114 + }
  115 +
  116 + public String getLinkType() {
  117 + return linkType;
  118 + }
  119 +
  120 + public void setLinkType(String linkType) {
  121 + this.linkType = linkType;
  122 + }
  123 +
  124 + public String getLinkUrl() {
  125 + return linkUrl;
  126 + }
  127 +
  128 + public void setLinkUrl(String linkUrl) {
  129 + this.linkUrl = linkUrl;
  130 + }
  131 +
  132 + public String getMatType() {
  133 + return matType;
  134 + }
  135 +
  136 + public void setMatType(String matType) {
  137 + this.matType = matType;
  138 + }
  139 +
  140 + public String getStartStyle() {
  141 + return startStyle;
  142 + }
  143 +
  144 + public void setStartStyle(String startStyle) {
  145 + this.startStyle = startStyle;
  146 + }
  147 +
  148 +
  149 +}
  1 +package com.wd.foundation.bean.adv;
  2 +
  3 +import com.wd.foundation.bean.base.BaseBean;
  4 +
  5 +/**
  6 + * @Description: 信息流广告位
  7 + * @Author: Li Yubing
  8 + * @Email: liyubing@wondert.com.cn
  9 + * @CreateDate: 2023/10/26 14:05
  10 + * @Version: 1.0
  11 + */
  12 +public class CompAdvSlotInfoBean extends BaseBean {
  13 +
  14 + /**
  15 + * 组件id
  16 + */
  17 + private String compId;
  18 +
  19 + /**
  20 + * 广告位位置 从1开始
  21 + */
  22 + private int position;
  23 +
  24 + /**
  25 + * 频道id
  26 + */
  27 + private String channelId;
  28 +
  29 + public String getCompId() {
  30 + return compId;
  31 + }
  32 +
  33 + public void setCompId(String compId) {
  34 + this.compId = compId;
  35 + }
  36 +
  37 + public int getPosition() {
  38 + return position;
  39 + }
  40 +
  41 + public void setPosition(int position) {
  42 + this.position = position;
  43 + }
  44 +
  45 + public String getChannelId() {
  46 + return channelId;
  47 + }
  48 +
  49 + public void setChannelId(String channelId) {
  50 + this.channelId = channelId;
  51 + }
  52 +}
  1 +package com.wd.foundation.bean.adv;
  2 +
  3 +import com.wd.foundation.bean.base.BaseBean;
  4 +
  5 +/**
  6 + * @Description: 广告bean
  7 + * @Author: baozhaoxin
  8 + * @CreateDate: 2022/9/9 9:10
  9 + */
  10 +public class RecordNormalAdvBean extends BaseBean {
  11 + /**
  12 + * 记录该信息栏目展示的广告id
  13 + */
  14 + private String advId;
  15 +
  16 + /**
  17 + * 记录的时间戳
  18 + */
  19 + private long recordTimeLong;
  20 +
  21 + /**
  22 + * 当前循环展示的次数
  23 + */
  24 + private int showCount;
  25 +
  26 + public String getAdvId() {
  27 + return advId;
  28 + }
  29 +
  30 + public void setAdvId(String advId) {
  31 + this.advId = advId;
  32 + }
  33 +
  34 + public long getRecordTimeLong() {
  35 + return recordTimeLong;
  36 + }
  37 +
  38 + public void setRecordTimeLong(long recordTimeLong) {
  39 + this.recordTimeLong = recordTimeLong;
  40 + }
  41 +
  42 + public int getShowCount() {
  43 + return showCount;
  44 + }
  45 +
  46 + public void setShowCount(int showCount) {
  47 + this.showCount = showCount;
  48 + }
  49 +}
  1 +package com.wd.foundation.bean.analytics;
  2 +
  3 +/**
  4 + * 埋点-item_type对应类型
  5 + *
  6 + * @author baozhaoxin
  7 + * @version [V1.0.0, 2022/11/8]
  8 + */
  9 +public class ItemTypeConstant {
  10 + /**
  11 + * 视频
  12 + */
  13 + public static final String ITEM_TYPE_VIDEO = "video";
  14 +
  15 + /**
  16 + * 组图
  17 + */
  18 + public static final String ITEM_TYPE_IMAGE = "image";
  19 +
  20 + /**
  21 + * H5新闻
  22 + */
  23 + public static final String ITEM_TYPE_ITEM = "item";
  24 +
  25 + /**
  26 + * 图文
  27 + */
  28 + public static final String ITEM_TYPE_ARTICLE = "article";
  29 +
  30 +
  31 +}
  1 +package com.wd.foundation.bean.analytics;
  2 +
  3 +/**
  4 + * Time:2023/3/22
  5 + * Author:ypf
  6 + * Description:名称:直播类别,属性值:live_type
  7 + */
  8 +public class LiveTypeConstants {
  9 +
  10 +
  11 + /**
  12 + * 直播预约
  13 + */
  14 + public static final String LIVE_SUBSCRIBE = "liveSubscribe";
  15 +
  16 + /**
  17 + * 直播中
  18 + */
  19 + public static final String LIVE_RUNNING = "livePlaying";
  20 +
  21 + /**
  22 + * 直播结束
  23 + */
  24 + public static final String LIVE_END = "liveEnd";
  25 +
  26 + /**
  27 + * 直播中
  28 + */
  29 + public static final String RUNNING = "running";
  30 +
  31 + /**
  32 + * 结束
  33 + */
  34 + public static final String END = "end";
  35 +
  36 +
  37 +}
  1 +package com.wd.foundation.bean.analytics;
  2 +
  3 +/**
  4 + * Time:2023/3/22
  5 + * Author:ypf
  6 + * Description:名称:专题类型,属性值:summary_type
  7 + */
  8 +public class SummaryTypeConstants {
  9 +
  10 + /**
  11 + * 普通专题
  12 + */
  13 + public static final String NORMAL_SUBJECT = "normal_subject";
  14 +
  15 + /**
  16 + * 主题专题
  17 + */
  18 + public static final String THEMATIC_SUBJECT = "thematic_subject";
  19 +
  20 + /**
  21 + * 作者专题
  22 + */
  23 + public static final String AUTHOR_SUBJECT = "author_subject";
  24 +
  25 +}
  1 +
  2 +package com.wd.foundation.bean.analytics;
  3 +
  4 +import com.wd.foundation.bean.base.BaseBean;
  5 +import com.wd.foundation.bean.custom.content.ContentTypeConstant;
  6 +
  7 +/**
  8 + * 埋点-推荐数据bean
  9 + *
  10 + * @author baozhaoxin
  11 + * @version [V1.0.0, 2023/3/14]
  12 + * @since V1.0.0
  13 + */
  14 +public class TraceBean extends BaseBean {
  15 +
  16 + /**
  17 + * 物料的溯源Id
  18 + */
  19 + public String traceId;
  20 +
  21 + /**
  22 + * 子场景ID
  23 + */
  24 + public String subSceneId;
  25 +
  26 + /**
  27 + * 场景ID
  28 + */
  29 + public String sceneId;
  30 +
  31 + /**
  32 + * 卡片物料id
  33 + */
  34 + public String cardItemId;
  35 +
  36 + /**
  37 + * 内容ID
  38 + */
  39 + public String itemId;
  40 +
  41 + /**
  42 + * contentType转ItemType
  43 + *
  44 + * @param type
  45 + * @return
  46 + */
  47 + public String toItemType(int type) {
  48 +
  49 + String itemType = "";
  50 +
  51 + if (ContentTypeConstant.URL_TYPE_ZERO == type) {
  52 + // 不跳转
  53 + } else if (ContentTypeConstant.URL_TYPE_ONE == type) {
  54 + // 点播
  55 + itemType = ItemTypeConstant.ITEM_TYPE_VIDEO;
  56 + } else if (ContentTypeConstant.URL_TYPE_TWO == type) {
  57 + // 直播
  58 + } else if (ContentTypeConstant.URL_TYPE_FIVE == type) {
  59 + // 5专题
  60 + } else if (ContentTypeConstant.URL_TYPE_SIX == type) {
  61 + // 6,跳转H5外链
  62 + itemType = ItemTypeConstant.ITEM_TYPE_ITEM;
  63 + } else if (ContentTypeConstant.URL_TYPE_EIGHT == type) {
  64 + // 8 图文
  65 + itemType = ItemTypeConstant.ITEM_TYPE_ARTICLE;
  66 + } else if (ContentTypeConstant.URL_TYPE_NINE == type) {
  67 + // 9 组图 图集
  68 + itemType = ItemTypeConstant.ITEM_TYPE_IMAGE;
  69 + } else if (ContentTypeConstant.URL_TYPE_TEN == type) {
  70 + // 10 H5新闻
  71 + itemType = ItemTypeConstant.ITEM_TYPE_ITEM;
  72 + } else if (ContentTypeConstant.URL_TYPE_ELEVEN == type) {
  73 + // 11 频道
  74 + }
  75 +
  76 + return itemType;
  77 + }
  78 +}
  1 +package com.wd.foundation.bean.analytics;
  2 +
  3 +/**
  4 + * 埋点-直播数据
  5 + *
  6 + * @author libo
  7 + * @version [V1.0.0, 2023/03/29]
  8 + * @since V1.0.0
  9 + */
  10 +public class TraceLiveBean {
  11 + /**
  12 + * 直播流类型
  13 + */
  14 + public String liveStreamType;
  15 +
  16 + /**
  17 + * 直播流ID
  18 + */
  19 + public String vliveId;
  20 +
  21 + /**
  22 + * 直播流名称
  23 + */
  24 + public String vliveName;
  25 +
  26 + /**
  27 + * 直播方式 1、单路直播2、多路直播
  28 + */
  29 + public String liveMode;
  30 +
  31 +
  32 +
  33 +}