1
0
Fork 0

fix:appid

master
developer 2020-04-22 21:31:31 +08:00
parent 60f186d8e0
commit 63776a96ef
2 changed files with 5 additions and 12 deletions

View File

@ -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 {

View File

@ -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");
}
});