|
@@ -12,6 +12,7 @@ import com.tzld.longarticle.recommend.server.mq.MessageCallbackProducer;
|
|
|
import com.tzld.longarticle.recommend.server.service.exterior.AccessTokenService;
|
|
|
import com.tzld.longarticle.recommend.server.service.exterior.ThirdPartyService;
|
|
|
import com.tzld.longarticle.recommend.server.service.exterior.WeComService;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -20,6 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
+@Slf4j
|
|
|
@RestController
|
|
|
@RequestMapping("/wecom")
|
|
|
public class WeComController {
|
|
@@ -31,6 +33,7 @@ public class WeComController {
|
|
|
|
|
|
@PostMapping("/pushMessage/get")
|
|
|
public CommonResponse<List<WeComPushMessageVo>> getPushMessage(@RequestBody WeComPushMessageParam param) {
|
|
|
+ log.info("param={}", param);
|
|
|
return weComService.getPushMessage(param);
|
|
|
}
|
|
|
|