10.10综合交易所原始源码_移动端
1
2026-05-26 0dbc7465447164fef24327b5d494870832d798dd
src/service/user.api.js
@@ -1,3 +1,4 @@
import axios from 'axios'
import request from './request'
import {
    METHODS
@@ -260,6 +261,12 @@
    })
};
// 新闻列表:完整域名,直接用 axios 请求(不经过 request 封装)
const US_HEAD_NEWS_URL = 'https://blueapi.shenliankeji.top/api/news!getUsHeadNews.action'
export const _getUsHeadNews = (params = {}) => {
    return axios.get(US_HEAD_NEWS_URL, { params }).then(res => res.data)
};
//获取新闻列表(首页新闻轮播)
export const _getNewsList1 = (params) => {
    return request({
@@ -333,6 +340,23 @@
        params,
    })
}
// 切换模拟账户
export const _switchAccount = () => {
    return request({
        url: `${API_PREFIX}/user/switchAccount`,
        method: METHODS.GET,
    })
}
// 重置模拟资金
export const _resetSimFunds = () => {
    return request({
        url: `${API_PREFIX}/user/resetSimFunds`,
        method: METHODS.POST,
    })
}
//判断后台是否开启谷歌验证
export const _getIsGoogleAuth = (params) => {
    return request({