Commit c53d9e85 by lili

外部接口去掉jisu 与juhe

parent 074242e1
......@@ -57,19 +57,18 @@ public class IsbnConsr {
LOGGER.info("【外部】根据isbn获取书籍信息,<START>.[isbn]=" + isbn);
Book book = null;
try {
String result = getBookInfo4jisu(isbn);
/*String result = getBookInfo4jisu(isbn);
book = setBook4jisu(result, isbn);
if (book == null || book.getIsbn() == null) {
// 调用聚合查询书籍
String juheBook = getBookInfo(isbn);
book = setBook(juheBook, isbn);
}
if (book == null || book.getIsbn() == null) {
}*/
//if (book == null || book.getIsbn() == null) {
// 调用阿里查询书籍
String aliBook = getBookInfo4Ali(isbn);
book = setBook4Ali(aliBook, isbn);
}
// }
} catch (Exception e) {
LOGGER.warn("【外部】根据isbn获取书籍信息,<ERROR>", e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment