mirror of
https://gitee.com/novel_dev_team/novel-plus
synced 2026-07-20 17:54:59 +08:00
修改配置项命名
This commit is contained in:
@@ -17,7 +17,7 @@ import static org.mybatis.dynamic.sql.SqlBuilder.update;
|
||||
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@ConditionalOnProperty(prefix = "txt.save", name = "storage", havingValue = "db")
|
||||
@ConditionalOnProperty(prefix = "content.save", name = "storage", havingValue = "db")
|
||||
public class DbBookContentServiceImpl implements BookContentService {
|
||||
|
||||
private final BookContentMapper bookContentMapper;
|
||||
|
||||
@@ -12,10 +12,10 @@ import java.util.List;
|
||||
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@ConditionalOnProperty(prefix = "txt.save", name = "storage", havingValue = "file")
|
||||
@ConditionalOnProperty(prefix = "content.save", name = "storage", havingValue = "file")
|
||||
public class FileBookContentServiceImpl implements BookContentService {
|
||||
|
||||
@Value("${txt.save.path}")
|
||||
@Value("${content.save.path}")
|
||||
private String fileSavePath;
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user