提交 e0107f6b authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 619b8d30
...@@ -7,7 +7,7 @@ import org.springframework.web.bind.annotation.RequestBody; ...@@ -7,7 +7,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import com.zrqx.core.constant.resource.ResourceRequestPath; import com.zrqx.core.constant.resource.ResourceRequestPath;
import com.zrqx.core.model.resource.ebook.Book; import com.zrqx.core.model.resource.ebook.EbookImage;
import com.zrqx.core.util.response.CallBack; import com.zrqx.core.util.response.CallBack;
/** /**
...@@ -60,5 +60,5 @@ public interface ResourceClient { ...@@ -60,5 +60,5 @@ public interface ResourceClient {
/** 查找用户,用户所属部门,用户角色*/ /** 查找用户,用户所属部门,用户角色*/
@GetMapping(ResourceRequestPath.BG + ResourceRequestPath.EBOOK + ResourceRequestPath.ISBNONE) @GetMapping(ResourceRequestPath.BG + ResourceRequestPath.EBOOK + ResourceRequestPath.ISBNONE)
CallBack<Book> getOneByIsbn(@RequestParam("isbn") String isbn); CallBack<EbookImage> getOneByIsbn(@RequestParam("isbn") String isbn);
} }
...@@ -5,7 +5,7 @@ import org.slf4j.LoggerFactory; ...@@ -5,7 +5,7 @@ import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import com.zrqx.core.model.resource.ebook.Book; import com.zrqx.core.model.resource.ebook.EbookImage;
import com.zrqx.core.util.response.CallBack; import com.zrqx.core.util.response.CallBack;
@Component @Component
...@@ -40,7 +40,7 @@ public class ResourceClientHystric implements ResourceClient { ...@@ -40,7 +40,7 @@ public class ResourceClientHystric implements ResourceClient {
@Override @Override
public CallBack<Book> getOneByIsbn(String isbn) { public CallBack<EbookImage> getOneByIsbn(String isbn) {
return CallBack.fail(); return CallBack.fail();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论