chore: 更新生产环境和开发环境的API地址

将生产环境和开发环境的API地址统一更改为http://123.60.153.169:8040/apih5,以保持环境配置一致性
This commit is contained in:
34701892@qq.com 2025-12-18 14:08:31 +08:00
parent c89b80e4eb
commit 69131f5f1d
3 changed files with 19 additions and 8 deletions

View File

@ -3,8 +3,8 @@ ENV = production
# 线上环境接口地址 # 线上环境接口地址
# VITE_API_URL = https://cankao.cs.com.cn/mini # VITE_API_URL = https://cankao.cs.com.cn/mini
# VITE_API_URL = http://123.60.153.169:8040/apih5 VITE_API_URL = http://123.60.153.169:8040/apih5
VITE_API_URL = https://cankao.cs.com.cn/apih5 # VITE_API_URL = https://cankao.cs.com.cn/apih5
# VITE_API_URL = http://123.60.79.143:8041/apih5 # VITE_API_URL = http://123.60.79.143:8041/apih5

View File

@ -1,6 +1,6 @@
// const baseUrl = "http://192.168.31.25:8060/api"; // const baseUrl = "http://192.168.31.25:8060/api";
// export const baseUrl = "http://127.0.0.1:8040/apih5"; // export const baseUrl = "http://127.0.0.1:8040/apih5";
export const baseUrl = "http://192.168.3.38:8040/apih5"; export const baseUrl = "http://123.60.153.169:8042/apih5";
// export const baseUrl = "https://cankao.cs.com.cn/mini"; // export const baseUrl = "https://cankao.cs.com.cn/mini";
export const baseUrlDataV = "https://cankao.cs.com.cn/zzck_datav"; export const baseUrlDataV = "https://cankao.cs.com.cn/zzck_datav";

View File

@ -7,7 +7,8 @@
top: 0, top: 0,
background: '#fff', background: '#fff',
zIndex: '9999', zIndex: '9999',
}"> }"
>
</view> </view>
<!-- 导航栏 start --> <!-- 导航栏 start -->
@ -18,9 +19,14 @@
top: getNavHeight() + 'px', top: getNavHeight() + 'px',
background: '#fff', background: '#fff',
zIndex: '9999', zIndex: '9999',
}"> }"
>
<view class="left"> <view class="left">
<image src="https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/static/icon_left.png" class="back_icon" @click="handleBack" /> <image
src="https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/static/icon_left.png"
class="back_icon"
@click="handleBack"
/>
</view> </view>
<view class="center"> <view class="center">
<image src="https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/images/detail_logo.png" class="logo_icon" /> <image src="https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/images/detail_logo.png" class="logo_icon" />
@ -40,7 +46,12 @@
/> --> /> -->
<!-- 底部栏 评论 / 收藏 --> <!-- 底部栏 评论 / 收藏 -->
<Comment v-if="isLogin && !isDomestic" :data="data" @handleClickLike="handleClickLike" @handleClickStar="handleClickStar" /> <Comment
v-if="isLogin && !isDomestic"
:data="data"
@handleClickLike="handleClickLike"
@handleClickStar="handleClickStar"
/>
<view class="login_unlock" v-if="!isLogin"> <view class="login_unlock" v-if="!isLogin">
<view class="r_image"> <view class="r_image">
@ -51,7 +62,7 @@
<text class="image_text_sub_title">海外独家资讯内容登录后可查阅全文</text> <text class="image_text_sub_title">海外独家资讯内容登录后可查阅全文</text>
</view> </view>
</view> </view>
<view class="login_unlock_btn" @click="goLogin">立即登录</view> <!-- <view class="login_unlock_btn" @click="goLogin">立即登录</view> -->
</view> </view>
</view> </view>
</template> </template>