diff --git a/app/build.gradle b/app/build.gradle index 73248ea..86657d4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,11 +12,11 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" buildConfigField "String", "APP_KEY", "\"22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA\"" // App Secret - buildConfigField "String", "APP_SECRET", "\"1a90cee1773badee\"" + buildConfigField "String", "APP_SECRET", "\"cf59e5bf82c506bf\"" // API服务地址 - buildConfigField "String", "API_URL", "\"https://mp.finogeeks.com\"" + buildConfigField "String", "API_URL", "\"http://10.104.58.240:8000\"" // API服务前缀 - buildConfigField "String", "API_PREFIX", "\"/api/v1/mop\"" + buildConfigField "String", "API_PREFIX", "\"/api/v1/mop/\"" } buildTypes { release { @@ -38,6 +38,6 @@ dependencies { testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' - implementation 'com.finogeeks.lib:finapplet:2.0.77' + implementation 'com.finogeeks.lib:finapplet:+' } 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 acda002..38e16ab 100644 --- a/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java +++ b/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java @@ -34,7 +34,7 @@ public class MainActivity extends AppCompatActivity { .setAppKey("22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA") .setAppSecret("1a90cee1773badee") .setApiUrl("https://mp.finogeeks.com") - .setApiPrefix("/api/v1/mop/") + .setApiPrefix("/api/v1/mop") .setGlideWithJWT(false) .build(); // SDK初始化结果回调,用于接收SDK初始化状态