lxf
2025-07-15 8399c6d4250306b27474157012be241f4c86c8a0
外汇交易
13 files modified
27 ■■■■ changed files
.env 3 ●●●● patch | view | raw | blame | history
src/config/index.js 6 ●●●● patch | view | raw | blame | history
src/i18n/Deutsch.js 1 ●●●● patch | view | raw | blame | history
src/i18n/Italy.js 1 ●●●● patch | view | raw | blame | history
src/i18n/Japanese.js 1 ●●●● patch | view | raw | blame | history
src/i18n/cn.js 1 ●●●● patch | view | raw | blame | history
src/i18n/en.js 1 ●●●● patch | view | raw | blame | history
src/i18n/fa.js 1 ●●●● patch | view | raw | blame | history
src/i18n/korean.js 1 ●●●● patch | view | raw | blame | history
src/i18n/th.js 1 ●●●● patch | view | raw | blame | history
src/i18n/vi.js 1 ●●●● patch | view | raw | blame | history
src/i18n/zhcn.js 1 ●●●● patch | view | raw | blame | history
src/service/http.js 8 ●●●● patch | view | raw | blame | history
.env
@@ -1,2 +1,3 @@
VITE_APP__TITLE = "Starex"
VUE_APP_THEME = "dark"
VUE_APP_THEME = "dark"
VITE_API_DOMAIN = "starexapi.agtls.com"
src/config/index.js
@@ -35,7 +35,7 @@
// const ENV_DEV = 'zhapi.coinbtcs.com' // dev
// const ENV_DEV = 'openapi.yanshiz.com' // dev
const ENV_DEV = 'starex.agtls.com' // dev
const ENV_DEV = import.meta.env.VITE_API_DOMAIN || 'starexapi.agtls.com' // devss
// const ENV_DEV = '192.168.10.24:8086' // dev
// const ENV_DEV = 'aa.yanshiz.com' // dev
@@ -43,7 +43,7 @@
// const ENV_PRO = 'qheufhj.site' //  app域名
// const ENV_PRO = window.location.hostname // 接口域名跟随 H5zhapi.coinbtcs.com
// const ENV_PRO = 'openapi.yanshiz.com' // 接口域名跟随 H5zhapi.coinbtcs.com
const ENV_PRO = 'starex.agtls.com' // 接口域名跟随 H5zhapi.coinbtcs.com
const ENV_PRO = import.meta.env.VITE_API_DOMAIN || 'starexapi.agtls.com' // 接口域名跟随
let base_url = ''
let ws_url = ''
@@ -61,7 +61,7 @@
export const WS_URL = ws_url
export const IMG_PATH = host_url
// export const HOST_URL = host_url
export const HOST_URL = 'https://forex.yanshiz.com'; // 静态资源地址
export const HOST_URL = 'https://starex.agtls.com'; // 静态资源地址
export default {
    sliderOptions: {
src/i18n/Deutsch.js
@@ -2784,6 +2784,7 @@
    '外汇交割': 'Devisenlieferung',
    '外汇合约': 'Devisenvertrag“',
    '外汇交易': 'Devisen',
    "货币兑换": "Währungsumrechnung",
    'ETF交割': 'ETF-Lieferung',
    'ETF合约': 'ETF-Vertrag',
    'ETF交易': 'ETF-Transaktion',
src/i18n/Italy.js
@@ -2874,6 +2874,7 @@
    '外汇交割': 'Consegna in valuta estera',
    '外汇合约': 'Contratto di cambio',
    '外汇交易': 'Foreign Exchange',
    "货币兑换": "Conversione di valuta",
    'ETF交割': 'Consegna ETF',
    'ETF合约': 'Contratto ETF',
    'ETF交易': 'Transazione ET',
src/i18n/Japanese.js
@@ -2642,6 +2642,7 @@
    '外汇交割': '外国為替配送',
    '外汇合约': '外国為替契約',
    '外汇交易': '外国為替',
    "货币兑换": "通貨交換",
    'ETF交割': 'ETF配信',
    'ETF合约': 'ETF契約',
    'ETF交易': 'ETF トランザクション',
src/i18n/cn.js
@@ -2763,6 +2763,7 @@
    '外汇交割': '外匯交割',
    '外汇合约': '外匯合約',
    '外汇交易': '外匯交易',
    "货币兑换": "貨幣兌換",
    'ETF交割': 'ETF交割',
    'ETF合约': 'ETF合約',
    'ETF交易': 'ETF交易',
src/i18n/en.js
@@ -2739,6 +2739,7 @@
    '外汇交割': 'Foreign Delivery',
    '外汇合约': 'Foreign Contract',
    '外汇交易': 'Foreign Exchange',
    "货币兑换": "Currency Exchange",
    'ETF交割': 'ETF Delivery',
    'ETF合约': 'ETF Contract',
    'ETF交易': 'ETF Exchange',
src/i18n/fa.js
@@ -2681,6 +2681,7 @@
    '外汇交割': 'Livraison en devises',
    '外汇合约': 'Contrat de change',
    '外汇交易': 'Foreign Exchange',
    "货币兑换": "Échange de devise",
    'ETF交割': 'Livraison ETF',
    'ETF合约': 'Contrat ETF',
    'ETF交易': 'Opération ETF',
src/i18n/korean.js
@@ -2778,6 +2778,7 @@
    '外汇交割': '외국환배송',
    '外汇合约': '외국환계약',
    '外汇交易': '외환',
    "货币兑换": "통화 교환",
    'ETF交割': 'ETF 인도',
    'ETF合约': 'ETF 계약',
    'ETF交易': 'ETF 거래',
src/i18n/th.js
@@ -2750,6 +2750,7 @@
    '外汇交割': 'การส่งมอบเงินตราต่างประเทศ',
    '外汇合约': 'สัญญาแลกเปลี่ยนเงินตราต่างประเทศ',
    '外汇交易': 'การแลกเปลี่ยนเงินตราต่างประเทศ',
    "货币兑换": "การแลกเปลี่ยนเงิน",
    'ETF交割': 'การนำส่ง ETF',
    'ETF合约': 'สัญญา ETF',
    'ETF交易': 'ธุรกรรม ETF',
src/i18n/vi.js
@@ -2728,6 +2728,7 @@
    '外汇交割': 'Giao hàng Ngoại hối',
    '外汇合约': 'Hợp đồng ngoại hối',
    '外汇交易': 'Ngoại hối',
    "货币兑换": "Chuyển đổi tiền tệ",
    'ETF交割': 'Giao ETF',
    'ETF合约': 'Hợp đồng ETF',
    'ETF交易': 'Giao dịch ETF',
src/i18n/zhcn.js
@@ -2744,6 +2744,7 @@
    '外汇交割': '外汇交割',
    '外汇合约': '外汇合约',
    '外汇交易': '外汇交易',
    "货币兑换": "货币兑换",
    'ETF交割': 'ETF交割',
    'ETF合约': 'ETF合约',
    'ETF交易': 'ETF交易',
src/service/http.js
@@ -6,12 +6,12 @@
import AxiosReques from "./axios";
import qs from "qs";
import {BASE_URL} from "@/config";
import { BASE_URL } from "@/config";
import { getStorage } from '@/utils'
let baseUrl = BASE_URL
if (getStorage('tzlj')) {
    baseUrl = getStorage('tzlj');
    // baseUrl = getStorage('tzlj');
}
/**
 * @description Create axios.
@@ -82,7 +82,7 @@
        // }
        return axios.request({
            url,
            params: params ? params: {},
            params: params ? params : {},
            method
        });
    } else {
@@ -124,5 +124,5 @@
 * @param {Object} param Request params.
 */
export const httpMultipart = ({ url, method, isLoading }, params) => {
    return createAxios(axiosMultipart, {url, method, isLoading}, params);
    return createAxios(axiosMultipart, { url, method, isLoading }, params);
}