优化文章请求接口

This commit is contained in:
WindowBird 2025-09-01 16:11:34 +08:00
parent 6cee9d90b1
commit b347f1d1d7
2 changed files with 17 additions and 1 deletions

View File

@ -47,7 +47,11 @@ export function getAgentAgreement() {
method: 'GET',
params: {
appId: '1',
type: '3', // 2:隐私政策
type: '3',
pageNum: '1',
pageSize: '1',
orderByColumn: 'ba.createTime',
isAsc: 'descending',
},
})
}

View File

@ -29,6 +29,10 @@ export function getServiceTerms() {
params: {
appId: '1',
type: '1', // 1:服务条款
pageNum: '1',
pageSize: '1',
orderByColumn: 'ba.createTime',
isAsc: 'descending',
},
})
}
@ -44,6 +48,10 @@ export function getPrivacyPolicy() {
params: {
appId: '1',
type: '2', // 2:隐私政策
pageNum: '1',
pageSize: '1',
orderByColumn: 'ba.createTime',
isAsc: 'descending',
},
})
}
@ -60,6 +68,10 @@ export function getNewAnnouncement(params = {}) {
method: 'GET',
params: {
type: '4',
pageNum: '1',
pageSize: '1',
orderByColumn: 'ba.createTime',
isAsc: 'descending',
...params,
},
})