浏览代码

渠道邀请码

chunping 3 年之前
父节点
当前提交
56f114f39d

+ 1 - 1
mp-admin/src/main/java/com/qs/mp/web/controller/api/channel/ChannelInviteController.java

@@ -81,7 +81,7 @@ public class ChannelInviteController extends BaseApiController {
 			return new AjaxResult(Type.SUCCESS, "", channel.getInvitePic());
 		}
 		String type = jsonObject.getString("type");
-		String rst = wxUrlLinkService.generateCode("/pages/login/invitation", "id=" + channelId + ",type=" + type);
+		String rst = wxUrlLinkService.generateCode("pages/login/invitation", "id=" + channelId + ",type=" + type);
 		channel.setInvitePic(rst);
 		channelService.updateById(channel);
 		return new AjaxResult(Type.SUCCESS, "", rst);