fix:appid
parent
60f186d8e0
commit
63776a96ef
|
@ -10,13 +10,6 @@ android {
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
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 {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
|
|
@ -31,8 +31,8 @@ public class MainActivity extends AppCompatActivity {
|
||||||
Toolbar toolbar = findViewById(R.id.toolbar);
|
Toolbar toolbar = findViewById(R.id.toolbar);
|
||||||
setSupportActionBar(toolbar);
|
setSupportActionBar(toolbar);
|
||||||
FinAppConfig config = new FinAppConfig.Builder()
|
FinAppConfig config = new FinAppConfig.Builder()
|
||||||
.setAppKey("22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA")
|
.setAppKey("22LyZEib0gLTQdU3MUauAVUHSFDdTToYDWCqr0AgPGwA")
|
||||||
.setAppSecret("1a90cee1773badee")
|
.setAppSecret("8c5c3c26420b7e66")
|
||||||
.setApiUrl("https://mp.finogeeks.com")
|
.setApiUrl("https://mp.finogeeks.com")
|
||||||
.setApiPrefix("/api/v1/mop")
|
.setApiPrefix("/api/v1/mop")
|
||||||
.setGlideWithJWT(false)
|
.setGlideWithJWT(false)
|
||||||
|
@ -63,7 +63,7 @@ public class MainActivity extends AppCompatActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5e3c147a188211000141e9b1",
|
FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5ea03fa563cb900001d73863",
|
||||||
new HashMap(){
|
new HashMap(){
|
||||||
{
|
{
|
||||||
put("path","/pages/index/index");
|
put("path","/pages/index/index");
|
||||||
|
@ -76,7 +76,7 @@ public class MainActivity extends AppCompatActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
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
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5e637a18cbfae4000170fa7a");
|
FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5ea0412663cb900001d73867");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue