优化文章请求接口
This commit is contained in:
parent
6cee9d90b1
commit
b347f1d1d7
|
|
@ -47,7 +47,11 @@ export function getAgentAgreement() {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
params: {
|
params: {
|
||||||
appId: '1',
|
appId: '1',
|
||||||
type: '3', // 2:隐私政策
|
type: '3',
|
||||||
|
pageNum: '1',
|
||||||
|
pageSize: '1',
|
||||||
|
orderByColumn: 'ba.createTime',
|
||||||
|
isAsc: 'descending',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,10 @@ export function getServiceTerms() {
|
||||||
params: {
|
params: {
|
||||||
appId: '1',
|
appId: '1',
|
||||||
type: '1', // 1:服务条款
|
type: '1', // 1:服务条款
|
||||||
|
pageNum: '1',
|
||||||
|
pageSize: '1',
|
||||||
|
orderByColumn: 'ba.createTime',
|
||||||
|
isAsc: 'descending',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -44,6 +48,10 @@ export function getPrivacyPolicy() {
|
||||||
params: {
|
params: {
|
||||||
appId: '1',
|
appId: '1',
|
||||||
type: '2', // 2:隐私政策
|
type: '2', // 2:隐私政策
|
||||||
|
pageNum: '1',
|
||||||
|
pageSize: '1',
|
||||||
|
orderByColumn: 'ba.createTime',
|
||||||
|
isAsc: 'descending',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -60,6 +68,10 @@ export function getNewAnnouncement(params = {}) {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
params: {
|
params: {
|
||||||
type: '4',
|
type: '4',
|
||||||
|
pageNum: '1',
|
||||||
|
pageSize: '1',
|
||||||
|
orderByColumn: 'ba.createTime',
|
||||||
|
isAsc: 'descending',
|
||||||
...params,
|
...params,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user