Commit 04f6b015 authored by wangxuewei's avatar wangxuewei

[提交人]:王雪伟

[提交简述] :多多菜园
[实现方案] :加入小满跳转
parent 76ea6157
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">
......
...@@ -72,7 +72,7 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback { ...@@ -72,7 +72,7 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback {
//小满上报 //小满上报
if (Constant.isReportXiaoman) if (Constant.isReportXiaoman)
{ {
AdSdk.exposure("2758", SettingPreference.getToken()) AdSdk.exposure("2773", SettingPreference.getToken())
Constant.isReportXiaoman = false Constant.isReportXiaoman = false
} }
} }
...@@ -144,6 +144,10 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback { ...@@ -144,6 +144,10 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback {
JumpUtils.jumpSettingActivity() JumpUtils.jumpSettingActivity()
} }
fun gotoXiaoManActivity(){
JumpUtils.jumpXiaomanActivity("多多菜园")
}
/** /**
* 跳转提现页 * 跳转提现页
*/ */
......
...@@ -11,6 +11,7 @@ import android.util.Log ...@@ -11,6 +11,7 @@ import android.util.Log
import android.webkit.WebView import android.webkit.WebView
import androidx.multidex.MultiDex import androidx.multidex.MultiDex
import androidx.multidex.MultiDexApplication import androidx.multidex.MultiDexApplication
import com.bx.adsdk.AdSdk
import com.tencent.bugly.crashreport.CrashReport import com.tencent.bugly.crashreport.CrashReport
import com.umeng.commonsdk.UMConfigure import com.umeng.commonsdk.UMConfigure
import com.umeng.socialize.PlatformConfig import com.umeng.socialize.PlatformConfig
...@@ -79,9 +80,9 @@ class BaseApplication : MultiDexApplication() { ...@@ -79,9 +80,9 @@ class BaseApplication : MultiDexApplication() {
// AdMngrHolder.init(this) // AdMngrHolder.init(this)
// ToponManager.init(this,isDebug) // ToponManager.init(this,isDebug)
//小满 // 小满
// AdSdk.setDebug(isDebug)//打开日志 AdSdk.setDebug(isDebug)//打开日志
// AdSdk.init(this, "qmcgw-az-hdgj_eatxht", "lRu7697I4cHV913y")//初始化 需要在Applicaiton 中 AdSdk.init(this, "ddcy-az-hdgj_vbskkc", "D545402QovC2W5g8")//初始化 需要在Applicaiton 中
} }
override fun attachBaseContext(base: Context?) { override fun attachBaseContext(base: Context?) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -35,7 +35,7 @@ class XiaoManActivity : BaseActivity() { ...@@ -35,7 +35,7 @@ class XiaoManActivity : BaseActivity() {
* @param callback CampaignCallback 回调 * @param callback CampaignCallback 回调
*/ */
campaignFragment = CampaignFragment.newInstance(SettingPreference.getToken()) campaignFragment = CampaignFragment.newInstance(SettingPreference.getToken())
campaignFragment?.setPlaceId("2654") campaignFragment?.setPlaceId("2773")
campaignFragment?.setCallback(object : CampaignCallback() { campaignFragment?.setCallback(object : CampaignCallback() {
override fun showAd(params: String) { override fun showAd(params: String) {
super.showAd(params) super.showAd(params)
...@@ -44,9 +44,9 @@ class XiaoManActivity : BaseActivity() { ...@@ -44,9 +44,9 @@ class XiaoManActivity : BaseActivity() {
val pId: String = bridgeBean.pid.toString() val pId: String = bridgeBean.pid.toString()
val requestId: String = bridgeBean.requestId.toString() val requestId: String = bridgeBean.requestId.toString()
if (adType.equals("1")) { if (adType.equals("1")) {
showTTAd("5113760", pId, requestId) showTTAd("5116010", pId, requestId)
} else { } else {
showGDTAd("1111127526", pId, requestId) showGDTAd("1111153326", pId, requestId)
} }
} }
}) })
...@@ -218,11 +218,7 @@ class XiaoManActivity : BaseActivity() { ...@@ -218,11 +218,7 @@ class XiaoManActivity : BaseActivity() {
} }
}) // 有声播放 }) // 有声播放
rewardVideoAD.loadAD() rewardVideoAD.loadAD()
} }
override fun onResume() { override fun onResume() {
......
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