Commit 4a820e17 authored by jyx's avatar jyx

代码优化

parent 8fc7d99c
{
"init": {
"site_id": "5423461",
"app_id": "518779",
"partner": "pangle_518779",
"secure_key": "9f3b49c414b30e9d9f44daca4b5cff54"
"site_id": "5442768",
"app_id": "552425",
"partner": "pangle_552425",
"secure_key": "5a86f288970dfc3354cec7ffb92e284a",
"secure_key_d": "83587957730a8f16d5837c8026e0a1a0"
},
"feed": {
"news_list_ad_code_id": "",
......@@ -12,37 +13,37 @@
"video_first_ad_code_id": "",
"video_second_ad_code_id": "",
"related_ad_code_id": "",
"news_draw_ad_code_id": "953183571",
"news_draw_native_ad_code_id": "953183575",
"news_draw_ad_code_id": "954152404",
"news_draw_native_ad_code_id": "954152409",
"news_outer_list_ad_code_id": "",
"news_outer_first_ad_code_id": "",
"news_outer_second_ad_code_id": "",
"outer_video_second_ad_code_id": "",
"outer_related_ad_code_id": "",
"news_outer_draw_ad_code_id": "953183564",
"news_outer_draw_native_ad_code_id": "953183578",
"news_outer_draw_ad_code_id": "954152399",
"news_outer_draw_native_ad_code_id": "954152402",
"news_interstitial_code_id": ""
},
"small_video": {
"draw_ad_code_id": "953183569",
"draw_native_ad_code_id": "953183565",
"grid_ad_code_id": "953183574",
"grid_draw_ad_code_id": "953183568",
"grid_draw_native_ad_code_id": "953183581",
"video_card_ad_code_id": "953183580",
"video_card_draw_ad_code_id": "953183579",
"video_card_draw_native_ad_code_id": "953183567",
"draw_ad_code_id": "954152403",
"draw_native_ad_code_id": "954152398",
"grid_ad_code_id": "954152411",
"grid_draw_ad_code_id": "954152400",
"grid_draw_native_ad_code_id": "954152413",
"video_card_ad_code_id": "954152401",
"video_card_draw_ad_code_id": "954152405",
"video_card_draw_native_ad_code_id": "954152394",
"interstitial_ad_code_id": "",
"interstitial_note_ad_code_id": "953183562",
"staggered_grid_ad_code_id": "953183566",
"staggered_grid_draw_ad_code_id": "953183569",
"staggered_grid_draw_native_ad_code_id": "953183565",
"draw_interstitial_ad_code_id": "953183572",
"draw_fullscreen_interstitial_ad_code_id": "953183573",
"draw_banner_code_id": "953183570",
"drama_rewarded_ad_code_id": "953183576",
"drama_rewarded_ad_code_id_02": "953183563",
"drama_draw_ad_code_id": "953183577"
"interstitial_note_ad_code_id": "954152397",
"staggered_grid_ad_code_id": "954152410",
"staggered_grid_draw_ad_code_id": "954152403",
"staggered_grid_draw_native_ad_code_id": "954152398",
"draw_interstitial_ad_code_id": "954152414",
"draw_fullscreen_interstitial_ad_code_id": "954152408",
"draw_banner_code_id": "954152396",
"drama_rewarded_ad_code_id": "954152406",
"drama_rewarded_ad_code_id_02": "954152395",
"drama_draw_ad_code_id": "954152407"
},
"novel": {
"status": 0,
......
......@@ -18,6 +18,7 @@ import com.duben.carefree.net.V6Service;
import com.duben.carefree.utils.AppPreferencesManager;
import com.duben.carefree.utils.ForegroundOrBackground;
import com.duben.carefree.utils.MateUtils;
import com.duben.oaid.MiitHelper;
import com.orhanobut.logger.AndroidLogAdapter;
import com.orhanobut.logger.FormatStrategy;
import com.orhanobut.logger.Logger;
......@@ -167,16 +168,16 @@ public class MintsApplication extends MultiDexApplication {
*/
private void initMiitHelper() {
try {
// MiitHelper miitHelper = new MiitHelper(new MiitHelper.AppIdsUpdater() {
//
// @Override
// public void onIdsValid(String ids) {
// MintsApplication.OAID = ids;
//
// System.out.println("123123123 oaid=" + ids);
// }
// });
// miitHelper.getDeviceIds(MintsApplication.getContext(), true, true, true);
MiitHelper miitHelper = new MiitHelper(new MiitHelper.AppIdsUpdater() {
@Override
public void onIdsValid(String ids) {
MintsApplication.OAID = ids;
System.out.println("123123123 oaid=" + ids);
}
});
miitHelper.getDeviceIds(MintsApplication.getContext(), true, true, true);
} catch (Exception e) {
e.printStackTrace();
}
......
......@@ -18,7 +18,7 @@ object DPHolderManager {
//1. 初始化,最好放到application.onCreate()执行
val configBuilder = DPSdkConfig.Builder().debug(true)
DPSdk.init(context, "SDK_Setting_5423461.json", configBuilder.build())
DPSdk.init(context, "SDK_Setting_5442768.json", configBuilder.build())
startDpSdk()
}
......
......@@ -36,15 +36,15 @@ RELEASE_SHARESDK_KEY=385c5ea9c5393
RELEASE_SHARESDK_SECRET=e5512fc5eeaf0ed73dd8f1685e6ea9d3
#weixin
WEIXIN_APP_PAY_ID ="wx10e29b733b8c71c7"
WEIXIN_APP_ID =wx10e29b733b8c71c7
WEIXIN_APP_SECRET =93add1e49825bd4992ba8b6792630a7d
WEIXIN_APP_PAY_ID ="wxac2abe5f64520675"
WEIXIN_APP_ID =wxac2abe5f64520675
WEIXIN_APP_SECRET =ffb7848e59d6ff1ccdbfff19ed4a00d6
#umeng
RELEASE_UMENG_KEY=64b8de13a1a164591b5133df
#TalkingData
RELEASE_TALKING_DATA_KEY="2E0D42A54FCD4C059EAF9EFDDEA9FBCE"
RELEASE_TALKING_DATA_KEY="FBBB0F9F256E45A59AFB26FAAF8DCFCE"
GROMORE_APP_ID="5423461"
......
-----BEGIN CERTIFICATE-----
MIIFkjCCA3qgAwIBAgICf6cwDQYJKoZIhvcNAQELBQAwgYAxCzAJBgNVBAYTAkNO
MRAwDgYDVQQIDAdCZWlqaW5nMQwwCgYDVQQKDANNU0ExETAPBgNVBAsMCE9BSURf
U0RLMR4wHAYDVQQDDBVjb20uYnVuLm1paXRtZGlkLnNpZ24xHjAcBgkqhkiG9w0B
CQEWD21zYUBjYWljdC5hYy5jbjAeFw0yMzExMDIxNzM1NDRaFw0yNDExMDIxNzM1
NDRaMIGEMQswCQYDVQQGEwJDTjEQMA4GA1UECAwHQmVpamluZzEQMA4GA1UEBwwH
QmVpamluZzESMBAGA1UECgwJYXBwX2R1YmVuMRswGQYDVQQDDBJjb20uZHViZW4u
Y2FyZWZyZWUxIDAeBgkqhkiG9w0BCQEWEWFwcF9kdWJlbkAxNjMuY29tMIICIjAN
BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAshgvU9xluAUrL51Tam/Ph5Z4yQEL
0z3ex9d5tX/eOblLFGGDGmmbiAmI2+Knn2VMkIMsQVE2HwTk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O8PQW0HFFTbg2Cw/EgbRPJqZ6CWknYQndGuBM1d1g2fjWyus02/hLN
CGVQ4VYjTJnjEYZIj7tJ6LvTF68hdR0jLbBSmgd//eKXgotOkWAWsw==
-----END CERTIFICATE-----
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