Преглед на файлове

Merge branch 'dev' into 'mp-server-test'

渠道邀请码

See merge request quanshu/mp-server!76
zhong chunping преди 3 години
родител
ревизия
0c90843b6f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      mp-admin/src/main/java/com/qs/mp/web/controller/api/channel/ChannelInviteController.java

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

@@ -77,7 +77,7 @@ public class ChannelInviteController extends BaseApiController {
 		Long channelId = SecurityUtils.getLoginUser().getChannelId();
 		Channel channel = channelService.getById(channelId);
 		if (StringUtils.isNotBlank(channel.getInvitePic())){
-			return AjaxResult.success(channel.getChannelId());
+			return AjaxResult.success(channel.getInvitePic());
 		}
 		String type = jsonObject.getString("type");
 		String rst = wxUrlLinkService.generateCode("/pages/login/invitation", "id=" + channelId + ",type=" + type);