优化文章请求接口
This commit is contained in:
parent
6cee9d90b1
commit
b347f1d1d7
|
|
@ -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',
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user