|
@ -1,5 +1,6 @@ |
|
|
package com.epmet.modules.topic.controller; |
|
|
package com.epmet.modules.topic.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.api.R; |
|
|
import com.epmet.commons.tools.annotation.LoginUser; |
|
|
import com.epmet.commons.tools.annotation.LoginUser; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
@ -356,8 +357,9 @@ public class ResiTopicController { |
|
|
* @Date 2021/1/12 11:21 |
|
|
* @Date 2021/1/12 11:21 |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("sendwxmpupdatesubscribe") |
|
|
@PostMapping("sendwxmpupdatesubscribe") |
|
|
public void sendWxmpUpdateSubscribe(@RequestBody SendWxmpUpdateSubscribeFormDTO fromDTO){ |
|
|
public Result sendWxmpUpdateSubscribe(@RequestBody SendWxmpUpdateSubscribeFormDTO fromDTO){ |
|
|
topicService.sendWxmpUpdateSubscribe(fromDTO.getTokenDto(),fromDTO.getSourceId(),fromDTO.getSourceType()); |
|
|
topicService.sendWxmpUpdateSubscribe(fromDTO.getTokenDto(),fromDTO.getSourceId(),fromDTO.getSourceType()); |
|
|
|
|
|
return new Result(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|