1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
| package com.yeshi.buwan.vo.ad;
|
| /**
| * @author hxh
| * @title: AdConfigTypeVO
| * @description: 前端广告种类输出
| * @date 2023/4/12 13:28
| */
| public enum AdConfigTypeVO {
| splash("ad_splash_config","splash","splash", "开屏"),
| playVideoPre("ad_play_video_pre","videoPlayPre","play_video_pre","视频播放贴片"),
| exitApp("ad_exit_app","exitApp","exit_app","退出应用"),
| videoDetailFullVideo("ad_video_detail_full_video","videoDetailFullVideo","video_detail_full_video", "视频播放弹出"),
| videoSearch("ad_video_search","videoSearch","video_search", "视频搜索"),
| pptvNoAdReward("pptv_no_ad_reward","pptvNoAdReward","pptv_no_ad_reward", "PPTV去广告激励"),
| splashHotStart("ad_splash_hot_start","splashHotStart","splash_hot_start","热启动开屏"),
| homeInterstitial("home_ad_interstitial","homeInterstitial","home_interstitial","首页插屏"),
| exitFullVideo("ad_exit_app_fullvideo","exitAppFullvideo","exit_app_fullvideo","退出应用全屏"),
| other("ad_other","other","other","其他位置");
|
| private String dbKey;
| private String voKey;
| //配置文件里面的键
| private String settingKey;
| private String name;
|
| private AdConfigTypeVO(String dbKey, String voKey,String settingKey,String name) {
| this.dbKey = dbKey;
| this.voKey = voKey;
| this.settingKey = settingKey;
| this.name = name;
| }
|
| public String getDbKey(){
| return dbKey;
| }
|
| public String getVoKey(){
| return voKey;
| }
|
| public String getSettingKey(){
| return settingKey;
| }
|
| public String getName() {
| return name;
| }
| }
|
|