|
@@ -3,8 +3,8 @@ package com.tzld.longarticle.recommend.server.web;
|
|
|
import com.tzld.longarticle.recommend.server.common.response.CommonResponse;
|
|
|
import com.tzld.longarticle.recommend.server.model.param.AccessTokenParam;
|
|
|
import com.tzld.longarticle.recommend.server.model.param.CallbackParam;
|
|
|
-import com.tzld.longarticle.recommend.server.model.vo.AccessTokenVo;
|
|
|
import com.tzld.longarticle.recommend.server.model.param.PushMessageParam;
|
|
|
+import com.tzld.longarticle.recommend.server.model.vo.AccessTokenVo;
|
|
|
import com.tzld.longarticle.recommend.server.model.vo.PushMessageVo;
|
|
|
import com.tzld.longarticle.recommend.server.mq.MessageCallbackProducer;
|
|
|
import com.tzld.longarticle.recommend.server.service.exterior.AccessTokenService;
|
|
@@ -15,7 +15,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import javax.annotation.Resource;
|
|
|
import java.util.List;
|
|
|
|
|
|
@RestController
|
|
@@ -28,7 +27,7 @@ public class ThirdPartyController {
|
|
|
@Autowired
|
|
|
private ThirdPartyService thirdPartyService;
|
|
|
|
|
|
- @Resource
|
|
|
+ @Autowired
|
|
|
private MessageCallbackProducer messageCallbackProducer;
|
|
|
|
|
|
@PostMapping("/accessToken/get")
|