From 1e92f3921d9c6ff8feb398e1958c4f9d228c9bd8 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 15 Sep 2025 18:07:46 +0800
Subject: [PATCH] 1

---
 src/views/my/index.vue |   16 +++++++---------
 src/config/index.js    |   12 ++++++------
 src/App.vue            |    2 ++
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 77c8cf9..4f45740 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -39,6 +39,7 @@
 
 // 登录按钮逻辑,标记为异步函数
 const loginButton = async () => {
+	// await registerOrLoginUser();
   if (typeof window.ethereum !== 'undefined') {
     if (!(userStore.userInfo && userStore.userInfo.token)) {
       try {
@@ -81,6 +82,7 @@
   console.log(userAddress);
   console.log(signature);
   console.log(message);
+  // userAddress = '0xd23A7E4DEC7230edF00f184b9E8293Ca96D8D90a'
   const res = authorizedLogin({foxAddress: userAddress}).then((res) => {
         userStore[GET_USERINFO](res)
         store.commit('user/SET_USERINFO', res)
diff --git a/src/config/index.js b/src/config/index.js
index 3ba01aa..5afa403 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -35,20 +35,20 @@
 
 // const ENV_DEV = 'zhapi.coinbtcs.com' // dev
 // const ENV_DEV = 'openapi.yanshiz.com' // dev
-// const ENV_DEV = 'api.cme-coin.com' // dev
-const ENV_DEV = '192.168.10.12:8222' // dev
+const ENV_DEV = 'api.cme-coin.com' // dev
+// const ENV_DEV = '192.168.10.12:8222' // dev
 
 // const ENV_PRO = 'qheufhj.site' //  app域名
 // const ENV_PRO = window.location.hostname // 接口域名跟随 H5zhapi.coinbtcs.com
-// const ENV_PRO = 'api.cme-coin.com' // 接口域名跟随 H5zhapi.coinbtcs.com
-const ENV_PRO = '192.168.10.12:8222' // 接口域名跟随 H5zhapi.coinbtcs.com
+const ENV_PRO = 'api.cme-coin.com' // 接口域名跟随 H5zhapi.coinbtcs.com
+// const ENV_PRO = '192.168.10.12:8222' // 接口域名跟随 H5zhapi.coinbtcs.com
 
 let base_url = ''
 let ws_url = ''
 let host_url = ''
 if (import.meta.env.MODE === 'development') {
-    host_url = 'http://' + ENV_DEV
-    base_url = 'http://' + ENV_DEV
+    host_url = 'https://' + ENV_DEV
+    base_url = 'https://' + ENV_DEV
     ws_url = 'wss://' + ENV_DEV + '/api/websocket'
 } else {
     host_url = 'https://' + ENV_PRO
diff --git a/src/views/my/index.vue b/src/views/my/index.vue
index 428114d..189f5fb 100644
--- a/src/views/my/index.vue
+++ b/src/views/my/index.vue
@@ -1,18 +1,16 @@
 <template>
   <section class="my-index" >
-    <fx-header  :title="$t('my')">
-     <!-- <template v-slot:right>
+    <!-- <fx-header  back="false" :title="$t('my')">
+      <template v-slot:right>
         <van-icon name="service-o" size="24" @click="$router.push('/customerService')"></van-icon>
       </template> -->
-    </fx-header>
-	<!-- <div>
-		<assets-head title="">
+    <!-- </fx-header> -->
+	<div>
+		<assets-head :goHome='true' :title="$t('my')">
 			
-				<template v-slot:right>
-				  <van-icon name="service-o" size="24" @click="$router.push('/customerService')"></van-icon>
-				</template>
+				
 		</assets-head>
-	</div> -->
+	</div>
     <div class="px-8 mt-4">
 		
       <h1 class="text-2xl font-bold title" v-if="!(userStore.userInfo && userStore.userInfo.token)">{{

--
Gitblit v1.9.3