diff --git a/api/agents.js b/api/agents.js index 1da32b2..f001797 100644 --- a/api/agents.js +++ b/api/agents.js @@ -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', }, }) } diff --git a/api/article/article.js b/api/article/article.js index 6f54491..3d4db13 100644 --- a/api/article/article.js +++ b/api/article/article.js @@ -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, }, })