|
@@ -52,7 +52,7 @@ public class ChannelInviteController extends BaseApiController {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("invite/generate")
|
|
|
- public AjaxResult listChannel(@RequestBody JSONObject jsonObject) {
|
|
|
+ public AjaxResult generateInviteCode(@RequestBody JSONObject jsonObject) {
|
|
|
Long channelId = SecurityUtils.getLoginUser().getChannelId();
|
|
|
Channel channel = channelService.getById(channelId);
|
|
|
if (StringUtils.isNotBlank(channel.getInvitePic())){
|