mirror of
https://github.com/certd/certd.git
synced 2026-07-27 14:57:40 +08:00
perf: cname记录支持批量导入和导出
This commit is contained in:
@@ -350,9 +350,9 @@ export class DomainService extends BaseService<DomainEntity> {
|
||||
const getDomainPage = async (pager: Pager) => {
|
||||
const pageRes = await this.page({
|
||||
query: query,
|
||||
buildQuery(bq) {
|
||||
bq.andWhere(" (expiration_date is null or expiration_date < :now) ", { now: dayjs().add(1, 'month').valueOf() })
|
||||
},
|
||||
// buildQuery(bq) {
|
||||
// bq.andWhere(" (expiration_date is null or expiration_date < :now) ", { now: dayjs().add(1, 'month').valueOf() })
|
||||
// },
|
||||
page: {
|
||||
offset: pager.getOffset(),
|
||||
limit: pager.pageSize,
|
||||
|
||||
Reference in New Issue
Block a user