|
@@ -1,9 +1,6 @@
|
|
|
package com.tzld.longarticle.recommend.server.web;
|
|
|
|
|
|
-import com.tzld.longarticle.recommend.server.model.RecommendRequest;
|
|
|
-import com.tzld.longarticle.recommend.server.model.RecommendResponse;
|
|
|
import com.tzld.longarticle.recommend.server.model.Result;
|
|
|
-import com.tzld.longarticle.recommend.server.repository.crawler.ArticleUserGroupRepository;
|
|
|
import com.tzld.longarticle.recommend.server.service.UserManagementService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -27,14 +24,11 @@ public class UserManagementController {
|
|
|
|
|
|
@RequestMapping("/addGZH")
|
|
|
public String addGZH(@RequestParam(name = "gzhId") String gzhId,
|
|
|
- @RequestParam(name = "groupNum") int groupNum) {
|
|
|
+ @RequestParam(name = "groupNum") int groupNum) {
|
|
|
userManagementService.addGZH(gzhId, groupNum);
|
|
|
return "success";
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 微信关注/取消事件监听
|
|
|
- */
|
|
|
@RequestMapping("/listByUserGroupId")
|
|
|
public String list(@RequestParam(name = "gzhId") String gzhId,
|
|
|
@RequestParam(name = "userGroupId") int userGroupId) {
|