修改功能,现已测试注册登录忘记密码

This commit is contained in:
rain
2026-06-12 11:42:49 +08:00
parent 0bf2f573ed
commit cfc64c69e5
26 changed files with 2238 additions and 898 deletions
+8 -3
View File
@@ -159,13 +159,18 @@
// Load notice list
function loadNotices() {
ApiClient.post("/api/web/notice/getPageList", {
ApiClient.get(ApiClient.API.noticeList, {
pageNum: currentPage,
pageSize: pageSize,
count: pageSize,
}).then(function (res) {
if (res.code === 0 && res.data) {
renderNotices(res.data.records || []);
renderPagination(res.data.totalRow || 0);
var data = res.data || {};
var records = Array.isArray(data)
? data
: data.records || data.rows || data.list || [];
renderNotices(records);
renderPagination(data.totalRow || data.total || records.length || 0);
} else {
$("#noticeList").html(
'<div class="cxz-notice-item"><span style="color:var(--text-muted);">暂无公告</span></div>',