diff --git a/app/build.gradle b/app/build.gradle index 86657d4..ca5548e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,13 +10,6 @@ android { versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - buildConfigField "String", "APP_KEY", "\"22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA\"" - // App Secret - buildConfigField "String", "APP_SECRET", "\"cf59e5bf82c506bf\"" - // API服务地址 - buildConfigField "String", "API_URL", "\"http://10.104.58.240:8000\"" - // API服务前缀 - buildConfigField "String", "API_PREFIX", "\"/api/v1/mop/\"" } buildTypes { release { diff --git a/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java b/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java index 38e16ab..dae407c 100644 --- a/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java +++ b/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java @@ -31,8 +31,8 @@ public class MainActivity extends AppCompatActivity { Toolbar toolbar = findViewById(R.id.toolbar); setSupportActionBar(toolbar); FinAppConfig config = new FinAppConfig.Builder() - .setAppKey("22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA") - .setAppSecret("1a90cee1773badee") + .setAppKey("22LyZEib0gLTQdU3MUauAVUHSFDdTToYDWCqr0AgPGwA") + .setAppSecret("8c5c3c26420b7e66") .setApiUrl("https://mp.finogeeks.com") .setApiPrefix("/api/v1/mop") .setGlideWithJWT(false) @@ -63,7 +63,7 @@ public class MainActivity extends AppCompatActivity { @Override public void onClick(View v) { - FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5e3c147a188211000141e9b1", + FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5ea03fa563cb900001d73863", new HashMap(){ { put("path","/pages/index/index"); @@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity { @Override public void onClick(View v) { - FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5e4d123647edd60001055df1"); + FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5ea0401463cb900001d73865"); } }); @@ -84,7 +84,7 @@ public class MainActivity extends AppCompatActivity { @Override public void onClick(View v) { - FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5e637a18cbfae4000170fa7a"); + FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5ea0412663cb900001d73867"); } });