提交 755abe04 authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 b5821707
......@@ -583,8 +583,8 @@ public class EbookController {
article.setPrice(new BigDecimal(0));
article.setRealPrice(new BigDecimal(0));
String text = StringUtil.regEx(article.getText());
if(StringUtils.isNotBlank(article.getText())) {
List<String>textList = getStrList(article.getText(),1000);
if(StringUtils.isNotBlank(text)) {
List<String>textList = getStrList(text,1000);
for(int i = 0 ; i < textList.size() ; i++) {
try {
String fileName = i+1+"";
......@@ -714,8 +714,8 @@ public class EbookController {
} catch (Exception e) {
throw new BaseException(ev.getBook().getIsbn());
}
if(StringUtils.isNotBlank(article.getText())) {
List<String>textList = getStrList(article.getText(),2000);
if(StringUtils.isNotBlank(text)) {
List<String>textList = getStrList(text,2000);
for(int i = 0 ; i < textList.size() ; i++) {
try {
String fileName = i+1+"";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论