package cn.gistack.sm.collect.feign;
|
|
import cn.gistack.sm.collect.service.IUserCollectService;
|
import lombok.AllArgsConstructor;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springblade.core.tenant.annotation.NonDS;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
import springfox.documentation.annotations.ApiIgnore;
|
|
|
@NonDS
|
@ApiIgnore
|
@RestController
|
@AllArgsConstructor
|
@Slf4j
|
public class CollectClientImpl implements ICollectClient {
|
|
private final IUserCollectService userCollectService;
|
|
@Override
|
@GetMapping(GET_MY_COLLECT)
|
public String getMyCollect(String userId) {
|
return userCollectService.getMyCollect(userId);
|
}
|
}
|