Browse Source

添加跨越

master
WangYang 1 month ago
parent
commit
d44a970161
  1. 6
      src/main/java/com/link/controller/AnchorUserTypeStatController.java
  2. 1
      src/main/java/com/link/controller/CRMCountController.java
  3. 6
      src/main/java/com/link/controller/NotRegisteredController.java
  4. 6
      src/main/java/com/link/controller/UserCountController.java

6
src/main/java/com/link/controller/AnchorUserTypeStatController.java

@ -5,13 +5,11 @@ import com.link.domain.Result;
import com.link.domain.dto.AnchorUserTypeStatDTO; import com.link.domain.dto.AnchorUserTypeStatDTO;
import com.link.service.AnchorUserTypeStatService; import com.link.service.AnchorUserTypeStatService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController @RestController
@RequestMapping("/toAnchorUserTypeStat") @RequestMapping("/toAnchorUserTypeStat")
@CrossOrigin
public class AnchorUserTypeStatController { public class AnchorUserTypeStatController {
@Autowired @Autowired

1
src/main/java/com/link/controller/CRMCountController.java

@ -8,6 +8,7 @@ import org.springframework.web.bind.annotation.*;
@RestController @RestController
@RequestMapping("/toCRM") @RequestMapping("/toCRM")
@CrossOrigin
public class CRMCountController { public class CRMCountController {
@Autowired @Autowired

6
src/main/java/com/link/controller/NotRegisteredController.java

@ -5,13 +5,11 @@ import com.link.domain.Result;
import com.link.domain.dto.NotRegisteredDTO; import com.link.domain.dto.NotRegisteredDTO;
import com.link.service.NotRegisteredService; import com.link.service.NotRegisteredService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController @RestController
@RequestMapping("/toNotRegistered") @RequestMapping("/toNotRegistered")
@CrossOrigin
public class NotRegisteredController { public class NotRegisteredController {
@Autowired @Autowired
private NotRegisteredService notRegisteredService; private NotRegisteredService notRegisteredService;

6
src/main/java/com/link/controller/UserCountController.java

@ -4,13 +4,11 @@ import com.link.domain.Result;
import com.link.domain.dto.UserCountDTO; import com.link.domain.dto.UserCountDTO;
import com.link.service.UserCountService; import com.link.service.UserCountService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController @RestController
@RequestMapping("/toUserCount") @RequestMapping("/toUserCount")
@CrossOrigin
public class UserCountController { public class UserCountController {
@Autowired @Autowired
private UserCountService userCountService; private UserCountService userCountService;

Loading…
Cancel
Save