渠道邀请码 See merge request quanshu/mp-server!75
@@ -81,6 +81,8 @@ public class ChannelInviteController extends BaseApiController {
}
String type = jsonObject.getString("type");
String rst = wxUrlLinkService.generateCode("/pages/login/invitation", "id=" + channelId + ",type=" + type);
+ channel.setInvitePic(rst);
+ channelService.updateById(channel);
return AjaxResult.success(rst);