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
| 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"),
| 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 AdConfigTypeVO(String dbKey, String voKey,String settingKey) {
| this.dbKey = dbKey;
| this.voKey = voKey;
| this.settingKey = settingKey;
| }
|
| public String getDbKey(){
| return dbKey;
| }
|
| public String getVoKey(){
| return voKey;
| }
|
| public String getSettingKey(){
| return settingKey;
| }
|
| }
|
|