From bc557e5b70f4e7a02d88da12a616acaf65994e83 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Sun, 11 Jan 2026 19:41:04 +0800
Subject: [PATCH] 1

---
 src/axios/api.js |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/axios/api.js b/src/axios/api.js
index 7d9eec5..2f75b3f 100644
--- a/src/axios/api.js
+++ b/src/axios/api.js
@@ -394,6 +394,11 @@
   return post('/api/site/getBannerByPlat.do', options)
 }
 
+// 获取站点banner
+export function getSiteBanner(options) {
+  return post('/api/user/getSiteBanner.do', options)
+}
+
 // 公告列表
 export function getArtList(options) {
   return post('/api/art/list.do', options)
@@ -442,6 +447,11 @@
 // 图片上传 uploadimg
 export function uploadimg(options) {
   return post('/user/upload.do', options)
+}
+
+// 更新用户头像
+export function updatePhoto(options) {
+  return post('/api/user/updatePhoto.do', options)
 }
 
 // 查询点差费率
@@ -528,6 +538,16 @@
   return post('/user/cash/getMessagelist.do', options)
 }
 
+// 获取未读消息数
+export function getUnreadCount(options) {
+  return post('/user/cash/getUnreadCount.do', options || {})
+}
+
+// 更新消息状态为已读
+export function updateMessageStatus(options) {
+  return post('/user/cash/updateMessageStatus.do', options || {})
+}
+
 // 分仓交易-获取我的配资持仓单
 export function getFundsOrderList(options) {
   return post('/user/funds/fundsList.do', options)

--
Gitblit v1.9.3