Commit fbe0a09d by 王祖波

Merge remote-tracking branch 'origin/feature-chat-activity' into feature-chat-activity

parents 7bd10e83 d89b1c3a
...@@ -364,12 +364,12 @@ public class GroupChatActivityController { ...@@ -364,12 +364,12 @@ public class GroupChatActivityController {
AuthorizedUser user = SessionContextUtils.getLoginUser(); AuthorizedUser user = SessionContextUtils.getLoginUser();
String enterpriseId = user.getEnterpriseId(); String enterpriseId = user.getEnterpriseId();
ServiceResponse<GroupChatActivityDTO> activityDetailResult = groupChatActivityApiService.getActivityDetail(enterpriseId, chatActivityId); ServiceResponse<GroupChatActivityDTO> activityDetailResult = groupChatActivityApiService.getActivityDetail(enterpriseId, chatActivityId);
if (activityDetailResult.isSuccess() || Objects.isNull(activityDetailResult.getResult())) { if (!activityDetailResult.isSuccess() || Objects.isNull(activityDetailResult.getResult())) {
return RestResponse.failure("9999", "活动不存在或者活动已删除"); return RestResponse.failure("9999", "活动不存在或者活动已删除");
} }
JSONObject param = new JSONObject(); JSONObject param = new JSONObject();
JSONObject activityIdParam = new JSONObject(); JSONObject activityIdParam = new JSONObject();
activityIdParam.put("activityId", chatActivityId); activityIdParam.put("chatActivityId", chatActivityId);
param.put("params", activityIdParam); param.put("params", activityIdParam);
param.put("id", "group_chat_activity"); param.put("id", "group_chat_activity");
Map<String, Object> wxaLinkAndQrCode = enterpriseWxaLinkService.getWxaLinkAndQrCode(enterpriseId, param.toJSONString()); Map<String, Object> wxaLinkAndQrCode = enterpriseWxaLinkService.getWxaLinkAndQrCode(enterpriseId, param.toJSONString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment