Commit 8df59c67 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 573f1188
{ {
"init": { "init": {
"site_id": "5434788", "site_id": "5435210",
"app_id": "541974", "app_id": "542582",
"partner": "pangle_541974", "partner": "pangle_542582",
"secure_key": "19669a6e4bf2e85ec427557feea65876" "secure_key": "56a47e04d93ddb4fa0dc3a614e38b1f8",
"secure_key_d": "4VQP7zDWuoVAtq5BHgdHyQ=="
}, },
"feed": { "feed": {
"news_list_ad_code_id": "", "news_list_ad_code_id": "",
...@@ -12,37 +13,37 @@ ...@@ -12,37 +13,37 @@
"video_first_ad_code_id": "", "video_first_ad_code_id": "",
"video_second_ad_code_id": "", "video_second_ad_code_id": "",
"related_ad_code_id": "", "related_ad_code_id": "",
"news_draw_ad_code_id": "953680741", "news_draw_ad_code_id": "953709998",
"news_draw_native_ad_code_id": "953680747", "news_draw_native_ad_code_id": "953709975",
"news_outer_list_ad_code_id": "", "news_outer_list_ad_code_id": "",
"news_outer_first_ad_code_id": "", "news_outer_first_ad_code_id": "",
"news_outer_second_ad_code_id": "", "news_outer_second_ad_code_id": "",
"outer_video_second_ad_code_id": "", "outer_video_second_ad_code_id": "",
"outer_related_ad_code_id": "", "outer_related_ad_code_id": "",
"news_outer_draw_ad_code_id": "953680750", "news_outer_draw_ad_code_id": "953709991",
"news_outer_draw_native_ad_code_id": "953680748", "news_outer_draw_native_ad_code_id": "953709979",
"news_interstitial_code_id": "" "news_interstitial_code_id": ""
}, },
"small_video": { "small_video": {
"draw_ad_code_id": "953680740", "draw_ad_code_id": "953709995",
"draw_native_ad_code_id": "953680756", "draw_native_ad_code_id": "953709985",
"grid_ad_code_id": "953680755", "grid_ad_code_id": "953709993",
"grid_draw_ad_code_id": "953680759", "grid_draw_ad_code_id": "953709989",
"grid_draw_native_ad_code_id": "953680751", "grid_draw_native_ad_code_id": "953709988",
"video_card_ad_code_id": "953680754", "video_card_ad_code_id": "953709978",
"video_card_draw_ad_code_id": "953680758", "video_card_draw_ad_code_id": "953709982",
"video_card_draw_native_ad_code_id": "953680753", "video_card_draw_native_ad_code_id": "953709980",
"interstitial_ad_code_id": "", "interstitial_ad_code_id": "",
"interstitial_note_ad_code_id": "953680757", "interstitial_note_ad_code_id": "953709986",
"staggered_grid_ad_code_id": "953680743", "staggered_grid_ad_code_id": "953709983",
"staggered_grid_draw_ad_code_id": "953680740", "staggered_grid_draw_ad_code_id": "953709995",
"staggered_grid_draw_native_ad_code_id": "953680756", "staggered_grid_draw_native_ad_code_id": "953709985",
"draw_interstitial_ad_code_id": "953680752", "draw_interstitial_ad_code_id": "953709992",
"draw_fullscreen_interstitial_ad_code_id": "953680742", "draw_fullscreen_interstitial_ad_code_id": "953709977",
"draw_banner_code_id": "953680746", "draw_banner_code_id": "953709997",
"drama_rewarded_ad_code_id": "953680749", "drama_rewarded_ad_code_id": "953709990",
"drama_rewarded_ad_code_id_02": "953680744", "drama_rewarded_ad_code_id_02": "953709984",
"drama_draw_ad_code_id": "953680745" "drama_draw_ad_code_id": "953709996"
}, },
"novel": { "novel": {
"status": 0, "status": 0,
......
...@@ -15,7 +15,7 @@ object Constant { ...@@ -15,7 +15,7 @@ object Constant {
const val FIRST_SPLASH = "first_splash" const val FIRST_SPLASH = "first_splash"
const val IS_FIRST_AGREE_BTN = "is_first_agree_btn" const val IS_FIRST_AGREE_BTN = "is_first_agree_btn"
const val TAG_NAME = "SUN" const val TAG_NAME = "SUN"
const val MINTS_APP_NAME = "每日小短剧" const val MINTS_APP_NAME = "迷你短剧"
const val MINTS_PKG_NAME = "com.duben.dayplaylet" const val MINTS_PKG_NAME = "com.duben.dayplaylet"
const val ACTION_EXIT_APP = "package.exit" const val ACTION_EXIT_APP = "package.exit"
...@@ -58,8 +58,8 @@ object Constant { ...@@ -58,8 +58,8 @@ object Constant {
const val GRO_MORE_ADTYPE6 = "6" const val GRO_MORE_ADTYPE6 = "6"
// 协议地址 // 协议地址
var DRAWRULE_URL = "http://mints-web.mints-id.com/agreements/dayplaylet/txgz.html"//提现规则 var DRAWRULE_URL = "http://mints-web.mints-id.com/agreements/miniplaylet/txgz.html"//提现规则
var INCOME_URL = "http://mints-web.mints-id.com/agreements/dayplaylet/sysm.html"//收益说明 var INCOME_URL = "http://mints-web.mints-id.com/agreements/miniplaylet/sysm.html"//收益说明
var REGISTER_URL = "http://mints-web.mints-id.com/agreements/dayplaylet/yhxy.html"//注册协议 var REGISTER_URL = "http://mints-web.mints-id.com/agreements/miniplaylet/yhxy.html"//注册协议
var PRIVACY_URL = "http://mints-web.mints-id.com/agreements/dayplaylet/syzc.html"//隐私协议 var PRIVACY_URL = "http://mints-web.mints-id.com/agreements/miniplaylet/syzc.html"//隐私协议
} }
\ No newline at end of file
...@@ -54,7 +54,7 @@ class SettingsActivity : BaseActivity(), View.OnClickListener { ...@@ -54,7 +54,7 @@ class SettingsActivity : BaseActivity(), View.OnClickListener {
item_back.setOnClickListener(this) item_back.setOnClickListener(this)
item_phone.setOnClickListener(this) item_phone.setOnClickListener(this)
item_invitedCode.findViewById<TextView>(R.id.tv_title).text = "每日小短剧ID" item_invitedCode.findViewById<TextView>(R.id.tv_title).text = "迷你短剧ID"
val invitedCode = ContextCompat.getDrawable(this, R.mipmap.icon_settings_invite) val invitedCode = ContextCompat.getDrawable(this, R.mipmap.icon_settings_invite)
invitedCode?.setBounds(0, 0, 56, 56) invitedCode?.setBounds(0, 0, 56, 56)
item_invitedCode.findViewById<TextView>(R.id.tv_title) item_invitedCode.findViewById<TextView>(R.id.tv_title)
......
...@@ -18,7 +18,7 @@ object DPHolderManager { ...@@ -18,7 +18,7 @@ object DPHolderManager {
//1. 初始化,最好放到application.onCreate()执行 //1. 初始化,最好放到application.onCreate()执行
val configBuilder = DPSdkConfig.Builder().debug(true) val configBuilder = DPSdkConfig.Builder().debug(true)
DPSdk.init(context, "SDK_Setting_5434788.json", configBuilder.build()) DPSdk.init(context, "SDK_Setting_5435210.json", configBuilder.build())
startDpSdk() startDpSdk()
} }
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginRight="26dp" android:layout_marginRight="26dp"
android:layout_marginBottom="30dp" android:layout_marginBottom="30dp"
android:text="每日小短剧将读取、写入(包括保存、下载、备份、上传、清理/删除、修改、扫描、检测)照片、媒体内容和文件,用于垃圾清理及加速、安全检测、文件风险扫描、本地照片、媒体内容和文件上传和备份,软件管理、下载安装、视频压缩。(使用场景以您实际触发为准)" android:text="迷你短剧将读取、写入(包括保存、下载、备份、上传、清理/删除、修改、扫描、检测)照片、媒体内容和文件,用于垃圾清理及加速、安全检测、文件风险扫描、本地照片、媒体内容和文件上传和备份,软件管理、下载安装、视频压缩。(使用场景以您实际触发为准)"
android:textSize="14sp" /> android:textSize="14sp" />
<TextView <TextView
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:text="欢迎使用每日小短剧" android:text="欢迎使用迷你短剧"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="18sp" android:textSize="18sp"
android:textStyle="bold" /> android:textStyle="bold" />
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
android:layout_marginLeft="16dp" android:layout_marginLeft="16dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginRight="16dp" android:layout_marginRight="16dp"
android:text="欢迎使用每日小短剧,我们非常重视对您的个人信息保护,在您使用每日小短剧服务之前,请您认真阅读《用户注册协议》及《隐私政策》" android:text="欢迎使用迷你短剧,我们非常重视对您的个人信息保护,在您使用迷你短剧服务之前,请您认真阅读《用户注册协议》及《隐私政策》"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="14sp" /> android:textSize="14sp" />
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
android:layout_marginLeft="16dp" android:layout_marginLeft="16dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginRight="16dp" android:layout_marginRight="16dp"
android:text="我们依据最新的法律,向您说明每日小短剧软件的隐私政策,特向您推送本提示。请您阅读并充分理解相关条款。" android:text="我们依据最新的法律,向您说明迷你短剧软件的隐私政策,特向您推送本提示。请您阅读并充分理解相关条款。"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="14sp" /> android:textSize="14sp" />
......
<resources> <resources>
<string name="app_name">每日小短剧</string> <string name="app_name">迷你短剧</string>
<string name="notifyTitle">提示</string> <string name="notifyTitle">提示</string>
<string name="setting">设置</string> <string name="setting">设置</string>
<string name="cancel">取消</string> <string name="cancel">取消</string>
......
...@@ -25,12 +25,12 @@ android.nonTransitiveRClass=true ...@@ -25,12 +25,12 @@ android.nonTransitiveRClass=true
DEBUG_URL="http://api.mints-tech.cn/vcash-api/" DEBUG_URL="http://api.mints-tech.cn/vcash-api/"
RELEASE_URL="http://api.mints-tech.cn/vcash-api/" RELEASE_URL="http://api.mints-tech.cn/vcash-api/"
RELEASE_KEY_PASSWORD=mintsdayplaylet RELEASE_KEY_PASSWORD=mintsminiplaylet
RELEASE_KEY_ALIAS=mints_dayplaylet RELEASE_KEY_ALIAS=mints_miniplaylet
RELEASE_STORE_PASSWORD=mintsdayplaylet RELEASE_STORE_PASSWORD=mintsminiplaylet
RELEASE_STORE_FILE=mints_dayplaylet.jks RELEASE_STORE_FILE=mints_miniplaylet.jks
SM_APP_ID="dayplaylet" SM_APP_ID="miniplaylet"
#ShareSDK #ShareSDK
RELEASE_SHARESDK_KEY=3845c0fde1969 RELEASE_SHARESDK_KEY=3845c0fde1969
...@@ -42,17 +42,17 @@ WEIXIN_APP_ID =wx7e946f66585ca00a ...@@ -42,17 +42,17 @@ WEIXIN_APP_ID =wx7e946f66585ca00a
WEIXIN_APP_SECRET =6fe41783e736bea36504b271cea484f1 WEIXIN_APP_SECRET =6fe41783e736bea36504b271cea484f1
#TalkingData #TalkingData
RELEASE_TALKING_DATA_KEY="50775FE6C0D44F4AB21B640BDF71E306" RELEASE_TALKING_DATA_KEY="452F8D546AF34E4ABE7A4A0336CF694B"
#umeng #umeng
RELEASE_UMENG_KEY=64b8de13a1a164591b5133df RELEASE_UMENG_KEY=64b8de13a1a164591b5133df
GROMORE_APP_ID="5434788" GROMORE_APP_ID="5435210"
GROMORE_SPLASH_CODE="102464361" GROMORE_SPLASH_CODE="102465295"
GROMORE_VIDEO_CODE="102465110" GROMORE_VIDEO_CODE="102464992"
GROMORE_EXPRESS_CODE="102464552" GROMORE_EXPRESS_CODE="102465767"
GROMORE_MY_EXPRESS_CODE="102464829" GROMORE_MY_EXPRESS_CODE="102473647"
GROMORE_DRAW_CODE="" GROMORE_DRAW_CODE=""
GROMORE_BANNER_CODE="102464550" GROMORE_BANNER_CODE="102465294"
GROMORE_FULL_CODE="102464082" GROMORE_FULL_CODE="102473745"
GROMORE_HALF_CODE="102464551" GROMORE_HALF_CODE="102473745"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment