From 6da2bbc7a7a3cafcd918083d5f5ff16e280ff397 Mon Sep 17 00:00:00 2001 From: kangxuyao Date: Wed, 28 Sep 2022 17:05:11 +0800 Subject: [PATCH] =?UTF-8?q?currentApplet=E5=A2=9E=E5=8A=A0=E5=8D=95?= =?UTF-8?q?=E8=BF=9B=E7=A8=8B=E6=A8=A1=E5=BC=8F=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/finogeeks/mop/api/mop/AppletManageModule.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/src/main/java/com/finogeeks/mop/api/mop/AppletManageModule.java b/android/src/main/java/com/finogeeks/mop/api/mop/AppletManageModule.java index 818ecfe..0de62e1 100644 --- a/android/src/main/java/com/finogeeks/mop/api/mop/AppletManageModule.java +++ b/android/src/main/java/com/finogeeks/mop/api/mop/AppletManageModule.java @@ -10,6 +10,7 @@ import com.finogeeks.lib.applet.anim.SlideFromLeftToRightAnim; import com.finogeeks.lib.applet.anim.SlideFromRightToLeftAnim; import com.finogeeks.lib.applet.anim.SlideFromTopToBottomAnim; import com.finogeeks.lib.applet.client.FinAppClient; +import com.finogeeks.lib.applet.client.FinAppProcessClient; import com.finogeeks.lib.applet.db.entity.FinApplet; import com.finogeeks.lib.applet.interfaces.FinCallback; import com.finogeeks.lib.applet.rest.model.WechatLoginInfo; @@ -51,6 +52,7 @@ public class AppletManageModule extends BaseApi { res.put("description", applet.getDescription()); res.put("version", applet.getVersion()); res.put("thumbnail", applet.getThumbnail()); + res.put("isSingleProcess", FinAppProcessClient.INSTANCE.getAppletProcessActivity(applet.getId()) != null); Map wechatLoginInfo = new HashMap<>(3); WechatLoginInfo wechatLogin = applet.getWechatLoginInfo(); if (wechatLogin != null) {