Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_fairyland_pro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_fairyland_pro
Commits
05ecd2b2
Commit
05ecd2b2
authored
Mar 20, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换代码位
parent
d09fd8f6
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
80 additions
and
57 deletions
+80
-57
build.gradle
app/build.gradle
+9
-3
BxmManager.kt
app/src/main/java/com/mints/fairyland/manager/BxmManager.kt
+2
-2
KsManager.kt
app/src/main/java/com/mints/fairyland/manager/KsManager.kt
+5
-5
MokuManager.kt
app/src/main/java/com/mints/fairyland/manager/MokuManager.kt
+2
-2
RsNewsManager.kt
...rc/main/java/com/mints/fairyland/manager/RsNewsManager.kt
+2
-2
SceneManager.kt
...src/main/java/com/mints/fairyland/manager/SceneManager.kt
+1
-1
TtCsjAdManager.java
...main/java/com/mints/fairyland/manager/TtCsjAdManager.java
+20
-20
TzManager.kt
app/src/main/java/com/mints/fairyland/manager/TzManager.kt
+2
-2
YlhAdManager.kt
...src/main/java/com/mints/fairyland/manager/YlhAdManager.kt
+12
-12
YwhzManager.kt
app/src/main/java/com/mints/fairyland/manager/YwhzManager.kt
+4
-4
ZhangyueManager.kt
.../main/java/com/mints/fairyland/manager/ZhangyueManager.kt
+1
-1
fragment_main_money.xml
app/src/main/res/layout/fragment_main_money.xml
+20
-3
No files found.
app/build.gradle
View file @
05ecd2b2
...
@@ -62,11 +62,17 @@ android {
...
@@ -62,11 +62,17 @@ android {
debug
{
debug
{
// 不显示Log
// 不显示Log
// buildConfigField "boolean", "LOG_DEBUG", "true"
// buildConfigField "String", "AppKeyPre", "\"abcd\""
// buildConfigField "String", "MainIp", DEBUG_URL
// manifestPlaceholders = [TD_SCHEMA_KEY: DEBUG_TD_SCHEMA_KEY,
// TD_KEY : DEBUG_TD_KEY]
buildConfigField
"boolean"
,
"LOG_DEBUG"
,
"true"
buildConfigField
"boolean"
,
"LOG_DEBUG"
,
"true"
buildConfigField
"String"
,
"AppKeyPre"
,
"\"abcd\""
buildConfigField
"String"
,
"AppKeyPre"
,
"\"abcd\""
buildConfigField
"String"
,
"MainIp"
,
DEBUG
_URL
buildConfigField
"String"
,
"MainIp"
,
RELEASE
_URL
manifestPlaceholders
=
[
TD_SCHEMA_KEY:
DEBUG
_TD_SCHEMA_KEY
,
manifestPlaceholders
=
[
TD_SCHEMA_KEY:
RELEASE
_TD_SCHEMA_KEY
,
TD_KEY
:
DEBUG
_TD_KEY
]
TD_KEY
:
RELEASE
_TD_KEY
]
//混淆
//混淆
minifyEnabled
false
minifyEnabled
false
...
...
app/src/main/java/com/mints/fairyland/manager/BxmManager.kt
View file @
05ecd2b2
...
@@ -18,8 +18,8 @@ import com.mints.fairyland.common.Constant
...
@@ -18,8 +18,8 @@ import com.mints.fairyland.common.Constant
*/
*/
object
BxmManager
{
object
BxmManager
{
private
const
val
APP_ID
=
"
3b08a06c36a04eb7ad31ee31547b9e69
"
private
const
val
APP_ID
=
""
private
const
val
BUTTON_AD_SPOT_ID
=
"
807020001003
"
private
const
val
BUTTON_AD_SPOT_ID
=
""
private
var
bdAdvanceButtonAd
:
BDAdvanceButtonAd
?
=
null
private
var
bdAdvanceButtonAd
:
BDAdvanceButtonAd
?
=
null
...
...
app/src/main/java/com/mints/fairyland/manager/KsManager.kt
View file @
05ecd2b2
...
@@ -12,17 +12,17 @@ import com.mints.fairyland.R
...
@@ -12,17 +12,17 @@ import com.mints.fairyland.R
*/
*/
object
KsManager
{
object
KsManager
{
private
const
val
KS_APP_ID
=
"
551900002
"
private
const
val
KS_APP_ID
=
""
/* splash-postid */
/* splash-postid */
const
val
KS_AD_SPLASH_POSTID
=
5519000005
const
val
KS_AD_SPLASH_POSTID
=
0L
/*信息流*/
/*信息流*/
val
KS_AD_NATIVEEXPRESS_DRAW
=
5519000008
val
KS_AD_NATIVEEXPRESS_DRAW
=
0L
const
val
KS_AD_NATIVEEXPRESS_AWARD
=
5519000007
const
val
KS_AD_NATIVEEXPRESS_AWARD
=
0L
/* vedio-postid */
/* vedio-postid */
const
val
KS_AD_VEDIO_POSTID
=
5519000006
const
val
KS_AD_VEDIO_POSTID
=
0L
/**
/**
* 初始化
* 初始化
...
...
app/src/main/java/com/mints/fairyland/manager/MokuManager.kt
View file @
05ecd2b2
...
@@ -15,8 +15,8 @@ import com.mints.fairyland.R
...
@@ -15,8 +15,8 @@ import com.mints.fairyland.R
*/
*/
object
MokuManager
{
object
MokuManager
{
private
const
val
APP_ID
=
"
Y0jqdW3W
"
private
const
val
APP_ID
=
""
private
const
val
APP_SECRET
=
"
421ec06a6f1dbd75010f6f9e4d821cfe03e3a7a3
"
private
const
val
APP_SECRET
=
""
/**
/**
...
...
app/src/main/java/com/mints/fairyland/manager/RsNewsManager.kt
View file @
05ecd2b2
...
@@ -10,8 +10,8 @@ import com.xr.xrsdk.XRNewsManager
...
@@ -10,8 +10,8 @@ import com.xr.xrsdk.XRNewsManager
*/
*/
object
RsNewsManager
{
object
RsNewsManager
{
private
const
val
APP_ID
=
"
19e575538d2947ad9323e6c2a70d9a7f
"
private
const
val
APP_ID
=
""
private
const
val
WX_APP_ID
=
"
wxc8ac2985f6a805e2
"
private
const
val
WX_APP_ID
=
""
/**
/**
* 初始化
* 初始化
...
...
app/src/main/java/com/mints/fairyland/manager/SceneManager.kt
View file @
05ecd2b2
...
@@ -13,7 +13,7 @@ import com.mints.fairyland.common.AppConfig
...
@@ -13,7 +13,7 @@ import com.mints.fairyland.common.AppConfig
*/
*/
object
SceneManager
{
object
SceneManager
{
const
val
SCENE_CHANNEL_Id
=
"
10004
"
const
val
SCENE_CHANNEL_Id
=
""
/**
/**
* 初始化
* 初始化
...
...
app/src/main/java/com/mints/fairyland/manager/TtCsjAdManager.java
View file @
05ecd2b2
...
@@ -20,36 +20,36 @@ public class TtCsjAdManager {
...
@@ -20,36 +20,36 @@ public class TtCsjAdManager {
public
static
final
String
TT_AD_NAME
=
Constant
.
MINTS_APP_NAME
;
public
static
final
String
TT_AD_NAME
=
Constant
.
MINTS_APP_NAME
;
/*splash*/
/*splash*/
public
static
String
TT_AD_SPLASH
=
""
;
// 开屏
public
static
String
TT_AD_SPLASH
=
"
887449948
"
;
// 开屏
/*banner*/
/*banner*/
public
static
String
TT_AD_BANNER_MY
=
""
;
// 个人中心
public
static
String
TT_AD_BANNER_MY
=
"
945932596
"
;
// 个人中心
public
static
String
TT_AD_BANNER_JULEYUN
=
""
;
// 聚乐云
public
static
String
TT_AD_BANNER_JULEYUN
=
""
;
// 聚乐云
/*激励视频*/
/*激励视频*/
public
static
String
TT_AD_VEDIO_MAIN_DEV
=
""
;
// 开发使用
public
static
String
TT_AD_VEDIO_MAIN_DEV
=
"
945710875
"
;
// 开发使用
public
static
String
TT_AD_VEDIO_DRINK
=
""
;
//喝水打卡
public
static
String
TT_AD_VEDIO_DRINK
=
"
945710875
"
;
//喝水打卡
public
static
String
TT_AD_VEDIO_MAIN
=
""
;
// 我的界面视频
public
static
String
TT_AD_VEDIO_MAIN
=
"
945710875
"
;
// 我的界面视频
public
static
String
TT_AD_VEDIO_ERASE
=
""
;
// 刮刮乐
public
static
String
TT_AD_VEDIO_ERASE
=
"
945710875
"
;
// 刮刮乐
public
static
String
TT_AD_VEDIO_TURNABLE
=
""
;
// 大转盘
public
static
String
TT_AD_VEDIO_TURNABLE
=
"
945710875
"
;
// 大转盘
public
static
String
TT_AD_VEDIO_MOREDIALOG
=
""
;
// 气泡
public
static
String
TT_AD_VEDIO_MOREDIALOG
=
"
945710875
"
;
// 气泡
public
static
String
TT_AD_VEDIO_SIGN
=
""
;
// 签到
public
static
String
TT_AD_VEDIO_SIGN
=
"
945710875
"
;
// 签到
public
static
String
TT_AD_VEDIO_OFFINELINE
=
""
;
// 离线弹框
public
static
String
TT_AD_VEDIO_OFFINELINE
=
"
945710875
"
;
// 离线弹框
public
static
String
TT_AD_VEDIO_JULEYUN
=
""
;
// 聚乐云
public
static
String
TT_AD_VEDIO_JULEYUN
=
""
;
// 聚乐云
public
static
String
TT_AD_VEDIO_BIANXIANMAO
=
""
;
// 变现猫
public
static
String
TT_AD_VEDIO_BIANXIANMAO
=
""
;
// 变现猫
public
static
String
TT_AD_VEDIO_BLESSINGBAG
=
""
;
// 福袋
public
static
String
TT_AD_VEDIO_BLESSINGBAG
=
"
945710875
"
;
// 福袋
public
static
String
TT_AD_VEDIO_HOMEVEDIO
=
""
;
// 首页视频翻倍
public
static
String
TT_AD_VEDIO_HOMEVEDIO
=
"
945710875
"
;
// 首页视频翻倍
public
static
String
TT_AD_VEDIO_SMALLHOMEVEDIO
=
""
;
// 短视频翻倍
public
static
String
TT_AD_VEDIO_SMALLHOMEVEDIO
=
"
945710875
"
;
// 短视频翻倍
/*全屏视频*/
/*全屏视频*/
public
static
String
TT_AD_FULLVEDIO_ALL
=
""
;
// 通用
public
static
String
TT_AD_FULLVEDIO_ALL
=
"
945710880
"
;
// 通用
/*信息流*/
/*信息流*/
public
static
String
TT_AD_NATIVEEXPRESS_XMLY
=
""
;
//喜马拉雅信息流
public
static
String
TT_AD_NATIVEEXPRESS_XMLY
=
"
945710899
"
;
//喜马拉雅信息流
public
static
String
TT_AD_NATIVEEXPRESS_AWARD
=
""
;
//信息流弹窗
public
static
String
TT_AD_NATIVEEXPRESS_AWARD
=
"
945710923
"
;
//信息流弹窗
public
static
String
TT_AD_NATIVEEXPRESS_WALK
=
""
;
//走路
public
static
String
TT_AD_NATIVEEXPRESS_WALK
=
"
945710908
"
;
//走路
public
static
String
TT_AD_NATIVEEXPRESS_WATER
=
""
;
//喝水
public
static
String
TT_AD_NATIVEEXPRESS_WATER
=
"
945710908
"
;
//喝水
public
static
String
TT_AD_NATIVEEXPRESS_MORNINGCLOCK
=
""
;
//早上打卡
public
static
String
TT_AD_NATIVEEXPRESS_MORNINGCLOCK
=
"
945710908
"
;
//早上打卡
public
static
String
TT_AD_NATIVEEXPRESS_EAT
=
""
;
//餐补
public
static
String
TT_AD_NATIVEEXPRESS_EAT
=
"
945710908
"
;
//餐补
/*全屏广告*/
/*全屏广告*/
/*插屏广告*/
/*插屏广告*/
public
static
String
TT_AD_INSERT_LOADING_ID_JULEYUN
=
""
;
//聚乐云
public
static
String
TT_AD_INSERT_LOADING_ID_JULEYUN
=
""
;
//聚乐云
...
...
app/src/main/java/com/mints/fairyland/manager/TzManager.kt
View file @
05ecd2b2
...
@@ -18,8 +18,8 @@ object TzManager {
...
@@ -18,8 +18,8 @@ object TzManager {
fun
initTz
(
application
:
Application
)
{
fun
initTz
(
application
:
Application
)
{
ADEngine
.
getInstance
(
application
)
ADEngine
.
getInstance
(
application
)
.
start
(
ADEngineConfig
.
Builder
(
application
)
.
start
(
ADEngineConfig
.
Builder
(
application
)
.
appKey
(
"
547ffff6446c5a8acd4175fb7a71a0d1
"
)
.
appKey
(
""
)
.
appSecret
(
"
1c00e59f2257bdfdd4ad9363b41621b5
"
)
.
appSecret
(
""
)
.
appChannel
(
CommonUtils
.
getAppMetaData
(
MintsApplication
.
getContext
(),
"CHANNEL_NAME"
))
.
appChannel
(
CommonUtils
.
getAppMetaData
(
MintsApplication
.
getContext
(),
"CHANNEL_NAME"
))
.
forTest
(
false
)
.
forTest
(
false
)
.
build
(),
.
build
(),
...
...
app/src/main/java/com/mints/fairyland/manager/YlhAdManager.kt
View file @
05ecd2b2
...
@@ -13,29 +13,29 @@ import com.qq.e.comm.managers.GDTADManager
...
@@ -13,29 +13,29 @@ import com.qq.e.comm.managers.GDTADManager
object
YlhAdManager
{
object
YlhAdManager
{
/* 优量汇appid */
/* 优量汇appid */
const
val
YLH_AD_APPID
=
"1111
263714
"
const
val
YLH_AD_APPID
=
"1111
547183
"
/* splash-postid */
/* splash-postid */
var
YLH_AD_SPLASH_POSTID
=
"5031859070462527"
var
YLH_AD_SPLASH_POSTID
=
"5031859070462527"
/* vedio-postid */
/* vedio-postid */
var
YLH_AD_VEDIO_DRINK_POSTID
=
""
//喝水打卡
var
YLH_AD_VEDIO_DRINK_POSTID
=
"
4001267983827672
"
//喝水打卡
var
YLH_AD_VEDIO_MAIN_POSTID
=
""
//我的界面视频
var
YLH_AD_VEDIO_MAIN_POSTID
=
"
4001267983827672
"
//我的界面视频
var
YLH_AD_VEDIO_ERASE_POSTID
=
""
//挑战刮刮乐
var
YLH_AD_VEDIO_ERASE_POSTID
=
"
4001267983827672
"
//挑战刮刮乐
var
YLH_AD_VEDIO_TURNABLE_POSTID
=
""
//大转盘
var
YLH_AD_VEDIO_TURNABLE_POSTID
=
"
4001267983827672
"
//大转盘
var
YLH_AD_VEDIO_MOREDIALOG_POSTID
=
""
//气泡
var
YLH_AD_VEDIO_MOREDIALOG_POSTID
=
"
4001267983827672
"
//气泡
var
YLH_AD_VEDIO_SIGN_POSTID
=
""
//签到
var
YLH_AD_VEDIO_SIGN_POSTID
=
"
4001267983827672
"
//签到
var
YLH_AD_VEDIO_OFFINELINE_POSTID
=
""
//离线弹框
var
YLH_AD_VEDIO_OFFINELINE_POSTID
=
"
4001267983827672
"
//离线弹框
var
YLH_AD_VEDIO_JULEYUN_POSTID
=
""
//聚乐云
var
YLH_AD_VEDIO_JULEYUN_POSTID
=
""
//聚乐云
var
YLH_AD_VEDIO_BLESSINGBAG_POSTID
=
""
//福袋
var
YLH_AD_VEDIO_BLESSINGBAG_POSTID
=
"
4001267983827672
"
//福袋
var
YLH_AD_VEDIO_HOMEVEDIO_POSTID
=
""
// 首页视频翻倍
var
YLH_AD_VEDIO_HOMEVEDIO_POSTID
=
"
4001267983827672
"
// 首页视频翻倍
var
YLH_AD_VEDIO_SMALLHOMEVEDIO_POSTID
=
""
// 短视频翻倍
var
YLH_AD_VEDIO_SMALLHOMEVEDIO_POSTID
=
"
4001267983827672
"
// 短视频翻倍
/*信息流*/
/*信息流*/
var
YLH_AD_NATIVEEXPRESS_JULEYUN
=
""
//聚乐云
var
YLH_AD_NATIVEEXPRESS_JULEYUN
=
""
//聚乐云
var
YLH_AD_NATIVEEXPRESS_AWARD
=
""
//奖励弹窗
var
YLH_AD_NATIVEEXPRESS_AWARD
=
"
3021667953168676
"
//奖励弹窗
/* 插屏 */
/* 插屏 */
var
YLH_AD_INTERSTITIALAD_JULEYUN
=
""
//聚乐云
var
YLH_AD_INTERSTITIALAD_JULEYUN
=
""
//聚乐云
...
...
app/src/main/java/com/mints/fairyland/manager/YwhzManager.kt
View file @
05ecd2b2
...
@@ -14,11 +14,11 @@ import com.mints.fairyland.MintsApplication
...
@@ -14,11 +14,11 @@ import com.mints.fairyland.MintsApplication
*/
*/
object
YwhzManager
{
object
YwhzManager
{
private
const
val
APPID_DEBUG
=
"
1862
"
private
const
val
APPID_DEBUG
=
""
private
const
val
APPSECRET_DEBUG
=
"
mo75zilkqq7dv8evxnzm63b5dz4opt3s
"
private
const
val
APPSECRET_DEBUG
=
""
private
const
val
APPID_RELEASE
=
"
1863
"
private
const
val
APPID_RELEASE
=
""
private
const
val
APPSECRET_RELEASE
=
"
v17rfxbfyclk84i83ybc4epirellwo1b
"
private
const
val
APPSECRET_RELEASE
=
""
fun
init
(
application
:
Application
)
{
fun
init
(
application
:
Application
)
{
val
userManager
=
UserManager
.
getInstance
()
val
userManager
=
UserManager
.
getInstance
()
...
...
app/src/main/java/com/mints/fairyland/manager/ZhangyueManager.kt
View file @
05ecd2b2
...
@@ -10,7 +10,7 @@ import java.lang.Exception
...
@@ -10,7 +10,7 @@ import java.lang.Exception
*/
*/
object
ZhangyueManager
{
object
ZhangyueManager
{
private
const
val
APPID
=
"
10054
"
private
const
val
APPID
=
"
e1aa90726d754f0a8cb69bd7843443f5
"
fun
onCreateIreader
(
application
:
Application
)
{
fun
onCreateIreader
(
application
:
Application
)
{
// try {
// try {
...
...
app/src/main/res/layout/fragment_main_money.xml
View file @
05ecd2b2
...
@@ -5,21 +5,38 @@
...
@@ -5,21 +5,38 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<!-- <com.androidkun.xtablayout.XTabLayout-->
<!-- android:id="@+id/xtFragmentMoney"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginTop="25dp"-->
<!-- app:xTabIndicatorColor="#F28335"-->
<!-- app:xTabIndicatorHeight="4dp"-->
<!-- app:xTabIndicatorRoundX="50dp"-->
<!-- app:xTabIndicatorRoundY="50dp"-->
<!-- app:xTabIndicatorWidth="30dp"-->
<!-- app:xTabMode="fixed"-->
<!-- app:xTabSelectedTextColor="@color/color_FF9837"-->
<!-- app:xTabSelectedTextSize="22sp"-->
<!-- app:xTabTextColor="#000"-->
<!-- app:xTabTextSize="15sp" />-->
<com.androidkun.xtablayout.XTabLayout
<com.androidkun.xtablayout.XTabLayout
android:id=
"@+id/xtFragmentMoney"
android:id=
"@+id/xtFragmentMoney"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"25dp"
android:layout_marginTop=
"25dp"
app:xTabIndicatorColor=
"#F28335"
app:xTabIndicatorColor=
"#F28335"
app:xTabIndicatorHeight=
"4dp"
app:xTabIndicatorHeight=
"4dp"
app:xTabIndicatorRoundX=
"50dp"
app:xTabIndicatorRoundX=
"50dp"
app:xTabIndicatorRoundY=
"50dp"
app:xTabIndicatorRoundY=
"50dp"
app:xTabIndicatorWidth=
"3
0
dp"
app:xTabIndicatorWidth=
"3
6
dp"
app:xTabMode=
"fixed"
app:xTabMode=
"fixed"
app:xTabSelectedTextColor=
"@color/color_FF9837"
app:xTabSelectedTextColor=
"@color/color_FF9837"
app:xTabSelectedTextSize=
"22sp"
app:xTabSelectedTextSize=
"22sp"
app:xTabTextColor=
"#
000
"
app:xTabTextColor=
"#
666666
"
app:xTabTextSize=
"
18
sp"
/>
app:xTabTextSize=
"
20
sp"
/>
<View
style=
"@style/view_line_E6E6E6"
/>
<View
style=
"@style/view_line_E6E6E6"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment