|
@@ -47,7 +47,6 @@ public class UserShareController extends BaseApiController {
|
|
String boxId = jsonObject.getString("boxId"); // 票组ID
|
|
String boxId = jsonObject.getString("boxId"); // 票组ID
|
|
String type = jsonObject.getString("type"); // 分享类型,1/2
|
|
String type = jsonObject.getString("type"); // 分享类型,1/2
|
|
String poster = jsonObject.getString("poster"); // 海报分享标识
|
|
String poster = jsonObject.getString("poster"); // 海报分享标识
|
|
- String goodsId = jsonObject.getString("goodsId"); // 商品
|
|
|
|
String appId = AppSourceEnum.MSDQ.getAppId();
|
|
String appId = AppSourceEnum.MSDQ.getAppId();
|
|
Long userId = SecurityUtils.getUserId();
|
|
Long userId = SecurityUtils.getUserId();
|
|
if (UserShareVO.SHARE_TYPE_SITE.equals(type) && StringUtils.isBlank(boxId)) {
|
|
if (UserShareVO.SHARE_TYPE_SITE.equals(type) && StringUtils.isBlank(boxId)) {
|
|
@@ -55,7 +54,7 @@ public class UserShareController extends BaseApiController {
|
|
String rst = wxUrlLinkService.generateUnlimitCode("", userId + "&" + type, appId);
|
|
String rst = wxUrlLinkService.generateUnlimitCode("", userId + "&" + type, appId);
|
|
return new AjaxResult(Type.SUCCESS, "", rst);
|
|
return new AjaxResult(Type.SUCCESS, "", rst);
|
|
}
|
|
}
|
|
- String rst = wxUrlLinkService.generateUnlimitCode("packagePrize/goods/index", boxId + "&" + userId + "&" + type + "&" + goodsId, appId);
|
|
|
|
|
|
+ String rst = wxUrlLinkService.generateUnlimitCode("pages/ticketBox/detail", boxId + "&" + userId + "&" + type, appId);
|
|
if ("1".equals(poster)) {
|
|
if ("1".equals(poster)) {
|
|
rst = wxUrlLinkService.generateUnlimitCode("pages/index/index", boxId + "&" + userId + "&" + type, appId);
|
|
rst = wxUrlLinkService.generateUnlimitCode("pages/index/index", boxId + "&" + userId + "&" + type, appId);
|
|
}
|
|
}
|