From b347f1d1d724cdd81028912125b1cc418db47247 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Mon, 1 Sep 2025 16:11:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E7=AB=A0=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/agents.js | 6 +++++- api/article/article.js | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) 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, }, })