删除mock数据
parent
e1941bd839
commit
0d820134f2
|
@ -91,6 +91,6 @@ kapt {
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||||
implementation 'com.finogeeks.lib:finapplet:2.36.5-fix202220517v01'
|
implementation 'com.finogeeks.lib:finapplet:2.36.5-fix20220519v01'
|
||||||
implementation 'com.finogeeks.mop:plugins:2.36.5'
|
implementation 'com.finogeeks.mop:plugins:2.36.5'
|
||||||
}
|
}
|
|
@ -301,27 +301,6 @@ public class AppletHandlerModule extends BaseApi {
|
||||||
|
|
||||||
});
|
});
|
||||||
callback.onSuccess(null);
|
callback.onSuccess(null);
|
||||||
handler.postDelayed(new Runnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
mIAppletHandler.getPhoneNumber(new IAppletHandler.IAppletCallback() {
|
|
||||||
@Override
|
|
||||||
public void onSuccess(@androidx.annotation.Nullable JSONObject jsonObject) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onFailure() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onCancel() {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}, 20000L);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void getPhoneNumberResult(String event, Map param, ICallback callback) {
|
private void getPhoneNumberResult(String event, Map param, ICallback callback) {
|
||||||
|
|
|
@ -42,6 +42,7 @@ public class AppletManageModule extends BaseApi {
|
||||||
if (appId != null) {
|
if (appId != null) {
|
||||||
FinApplet applet = FinAppClient.INSTANCE.getAppletApiManager().getUsedApplet(appId);
|
FinApplet applet = FinAppClient.INSTANCE.getAppletApiManager().getUsedApplet(appId);
|
||||||
if (applet != null) {
|
if (applet != null) {
|
||||||
|
//Log.e(TAG, "applet:" + new Gson().toJson(applet));
|
||||||
Map<String, Object> res = new HashMap<>();
|
Map<String, Object> res = new HashMap<>();
|
||||||
res.put("appId", applet.getId());
|
res.put("appId", applet.getId());
|
||||||
res.put("name", applet.getName());
|
res.put("name", applet.getName());
|
||||||
|
@ -50,9 +51,6 @@ public class AppletManageModule extends BaseApi {
|
||||||
res.put("version", applet.getVersion());
|
res.put("version", applet.getVersion());
|
||||||
res.put("thumbnail", applet.getThumbnail());
|
res.put("thumbnail", applet.getThumbnail());
|
||||||
Map<String, String> wechatLoginInfo = new HashMap<>(3);
|
Map<String, String> wechatLoginInfo = new HashMap<>(3);
|
||||||
// wechatLoginInfo.put("wechatOriginId", "1");
|
|
||||||
// wechatLoginInfo.put("profileUrl", "2");
|
|
||||||
// wechatLoginInfo.put("phoneUrl", "3");
|
|
||||||
WechatLoginInfo wechatLogin = applet.getWechatLoginInfo();
|
WechatLoginInfo wechatLogin = applet.getWechatLoginInfo();
|
||||||
if (wechatLogin != null) {
|
if (wechatLogin != null) {
|
||||||
wechatLoginInfo.put("wechatOriginId", wechatLogin.getWechatOriginId());
|
wechatLoginInfo.put("wechatOriginId", wechatLogin.getWechatOriginId());
|
||||||
|
|
|
@ -68,7 +68,7 @@ packages:
|
||||||
name: flutter_plugin_android_lifecycle
|
name: flutter_plugin_android_lifecycle
|
||||||
url: "https://pub.flutter-io.cn"
|
url: "https://pub.flutter-io.cn"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.5"
|
version: "2.0.6"
|
||||||
flutter_test:
|
flutter_test:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description: flutter
|
description: flutter
|
||||||
|
|
Loading…
Reference in New Issue