feat:currentApplet新增appletType和paymentUrl;
parent
9473a50e65
commit
de789b398c
|
@ -51,12 +51,14 @@ public class AppletManageModule extends BaseApi {
|
||||||
res.put("description", applet.getDescription());
|
res.put("description", applet.getDescription());
|
||||||
res.put("version", applet.getVersion());
|
res.put("version", applet.getVersion());
|
||||||
res.put("thumbnail", applet.getThumbnail());
|
res.put("thumbnail", applet.getThumbnail());
|
||||||
|
res.put("appletType", applet.getAppletType());
|
||||||
Map<String, String> wechatLoginInfo = new HashMap<>(3);
|
Map<String, String> wechatLoginInfo = new HashMap<>(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());
|
||||||
wechatLoginInfo.put("profileUrl", wechatLogin.getProfileUrl());
|
wechatLoginInfo.put("profileUrl", wechatLogin.getProfileUrl());
|
||||||
wechatLoginInfo.put("phoneUrl", wechatLogin.getPhoneUrl());
|
wechatLoginInfo.put("phoneUrl", wechatLogin.getPhoneUrl());
|
||||||
|
wechatLoginInfo.put("paymentUrl", wechatLogin.getPaymentUrl());
|
||||||
res.put("wechatLoginInfo",wechatLoginInfo);
|
res.put("wechatLoginInfo",wechatLoginInfo);
|
||||||
}else{
|
}else{
|
||||||
res.put("wechatLoginInfo", null);
|
res.put("wechatLoginInfo", null);
|
||||||
|
|
Loading…
Reference in New Issue