换地址 crm.x.hnxinyouhe.com

This commit is contained in:
浅念
2025-09-19 10:19:25 +08:00
parent e89ca3dd33
commit 68af718a4f
8 changed files with 27 additions and 11 deletions
+7 -2
View File
@@ -20,7 +20,7 @@
if (plus.runtime.appid !== 'HBuilder') { // 真机运行不需要检查更新,真机运行时appid固定为'HBuilder',这是调试基座的appid if (plus.runtime.appid !== 'HBuilder') { // 真机运行不需要检查更新,真机运行时appid固定为'HBuilder',这是调试基座的appid
checkUpdate() checkUpdate()
} }
// 一键登录预登陆,可以显著提高登录速度 // 一键登录预登陆,可以显著提高登录速度
uni.preLogin({ uni.preLogin({
provider: 'univerify', provider: 'univerify',
@@ -39,7 +39,12 @@
// #endif // #endif
}, },
onShow: function() { onShow: function() {
// console.log('App Show') console.log('App Show')
if(window.location.host=='219.157.255.213:8085'){
window.location.href="https://crm.x.hnxinyouhe.com"
}
// console.log(window.location.host)
// console.log(window.location.href)
}, },
onHide: function() { onHide: function() {
// console.log('App Hide') // console.log('App Hide')
+2 -1
View File
@@ -1,7 +1,8 @@
// const baseUrl = "http://219.157.255.213:9006/"; //这里放置url域名32044 // const baseUrl = "http://219.157.255.213:9006/"; //这里放置url域名32044
// const baseUrl = "http://api.crm.hnxinyouhe.com/"; //这里放置url域名32044 // const baseUrl = "http://api.crm.hnxinyouhe.com/"; //这里放置url域名32044
const baseUrl = "http://219.157.255.213:25329/"; //这里放置url域名32044 // const baseUrl = "http://219.157.255.213:25329/"; //这里放置url域名32044
const baseUrl = "https://crm-server.x.hnxinyouhe.com/"; //这里放置url域名32044
// const baseUrl = "https://api.fcrm.hnxinyouhe.com/"; //这里放置url域名32044 // const baseUrl = "https://api.fcrm.hnxinyouhe.com/"; //这里放置url域名32044
// const baseUrl = "https://crm-server.smt.hnxinyouhe.com/"; //这里放置url域名32044 // const baseUrl = "https://crm-server.smt.hnxinyouhe.com/"; //这里放置url域名32044
// const baseUrl = "/api/"; //这里放置url域名32044 // const baseUrl = "/api/"; //这里放置url域名32044
+2 -1
View File
@@ -449,7 +449,8 @@
// url: 'http://api.crm.hnxinyouhe.com/upload', // url: 'http://api.crm.hnxinyouhe.com/upload',
// url: 'https://api.fcrm.hnxinyouhe.com/upload/uploadImage', // url: 'https://api.fcrm.hnxinyouhe.com/upload/uploadImage',
// url: 'https://crm-server.smt.hnxinyouhe.com/upload/uploadImage', // url: 'https://crm-server.smt.hnxinyouhe.com/upload/uploadImage',
url: 'http://219.157.255.213:9006/upload/uploadImage', // url: 'http://219.157.255.213:9006/upload/uploadImage',
url: 'https://crm-server.x.hnxinyouhe.com/upload/uploadImage',
filePath: imgUrl, filePath: imgUrl,
name: 'files', name: 'files',
header:{'Authorization': 'Bearer ' + uni.getStorageSync('token')}, header:{'Authorization': 'Bearer ' + uni.getStorageSync('token')},
+8 -2
View File
@@ -54,7 +54,7 @@
</view> </view>
</view> </view>
<view class="desc1"> <view class="desc1">
<view class="userzy" @click="cede(item)"><image src="/static/image/customer/zhuany.png" mode=""></image> {{$t('transfer')}}</view> <!-- <view class="userzy" @click="cede(item)"><image src="/static/image/customer/zhuany.png" mode=""></image> {{$t('transfer')}}</view> -->
<view class="" @click="callPhone(item)"><image src="/static/image/customer/phone.png" mode=""></image> {{$t('call')}}</view> <view class="" @click="callPhone(item)"><image src="/static/image/customer/phone.png" mode=""></image> {{$t('call')}}</view>
<view class="" @click="editClick(item)"><image src="/static/image/customer/edit.png" mode=""></image> {{$t('customer.addfollow')}}</view> <view class="" @click="editClick(item)"><image src="/static/image/customer/edit.png" mode=""></image> {{$t('customer.addfollow')}}</view>
<!-- <view class="" @click="delClick(item)"><image src="/static/image/customer/trash.png" mode=""></image> {{$t('delete')}}</view> --> <!-- <view class="" @click="delClick(item)"><image src="/static/image/customer/trash.png" mode=""></image> {{$t('delete')}}</view> -->
@@ -87,7 +87,7 @@
</movable-area> </movable-area>
<u-popup closeOnClickOverlay :show="showPicker" mode="bottom" :round="10" @close="close('showPicker')"> <u-popup closeOnClickOverlay :show="showPicker" mode="bottom" :round="10" @close="close('showPicker')">
<view class="text"> <view class="text">
<view class="qx" @click="close('showPicker') ">{{$t('cancel')}}</view> <view class="qx" @click="closearer('showPicker') ">{{$t('cancel')}}</view>
<view class="qd" @click="arerfn">{{$t('confirm')}}</view> <view class="qd" @click="arerfn">{{$t('confirm')}}</view>
</view> </view>
<view class="popup-content"> <view class="popup-content">
@@ -289,6 +289,12 @@
this.country_id = this.actives this.country_id = this.actives
this.queryList(1, 10) this.queryList(1, 10)
}, },
closearer(){
this.showPicker = false; // 关闭弹窗
this.country_name =''
this.country_id = ''
this.queryList(1, 10)
},
//国家 //国家
area(){ area(){
request({ request({
+2 -2
View File
@@ -53,11 +53,11 @@
<span>{{$t('mine.feedback')}}</span> <span>{{$t('mine.feedback')}}</span>
<uni-icons type="right" class="icon" size="18"></uni-icons> <uni-icons type="right" class="icon" size="18"></uni-icons>
</view> --> </view> -->
<view class="sonContent" v-if="!isopenid" @click="gomyauth"> <!-- <view class="sonContent" v-if="!isopenid" @click="gomyauth">
<image class="son-img-bg" src="/static/image/mine/icon9.png"></image> <image class="son-img-bg" src="/static/image/mine/icon9.png"></image>
<span>{{$t('auth')}}</span> <span>{{$t('auth')}}</span>
<uni-icons type="right" class="icon" size="18"></uni-icons> <uni-icons type="right" class="icon" size="18"></uni-icons>
</view> </view> -->
<view class="sonContent" @click="navTo('/pages/mine/about')"> <view class="sonContent" @click="navTo('/pages/mine/about')">
<image class="son-img-bg" src="/static/image/mine/icon5.png"></image> <image class="son-img-bg" src="/static/image/mine/icon5.png"></image>
<span>{{$t('mine.about')}}</span> <span>{{$t('mine.about')}}</span>
+2 -1
View File
@@ -2,7 +2,8 @@
<view> <view>
<!-- <web-view src="https://api.fcrm.hnxinyouhe.com/index/userAgreement" style="width: 100%; height: 100%;"></web-view> --> <!-- <web-view src="https://api.fcrm.hnxinyouhe.com/index/userAgreement" style="width: 100%; height: 100%;"></web-view> -->
<!-- <web-view src="https://crm-server.smt.hnxinyouhe.com/index/userAgreement" style="width: 100%; height: 100%;"></web-view> --> <!-- <web-view src="https://crm-server.smt.hnxinyouhe.com/index/userAgreement" style="width: 100%; height: 100%;"></web-view> -->
<web-view src="http://219.157.255.213:9006/index/userAgreement" style="width: 100%; height: 100%;"></web-view> <!-- <web-view src="http://219.157.255.213:9006/index/userAgreement" style="width: 100%; height: 100%;"></web-view> -->
<web-view src="https://crm-server.x.hnxinyouhe.com/index/userAgreement" style="width: 100%; height: 100%;"></web-view>
</view> </view>
</template> </template>
+2 -1
View File
@@ -2,7 +2,8 @@
<view> <view>
<!-- <web-view src="https://api.fcrm.hnxinyouhe.com/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view> --> <!-- <web-view src="https://api.fcrm.hnxinyouhe.com/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view> -->
<!-- <web-view src="https://crm-server.smt.hnxinyouhe.com/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view> --> <!-- <web-view src="https://crm-server.smt.hnxinyouhe.com/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view> -->
<web-view src="http://219.157.255.213:9006/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view> <!-- <web-view src="http://219.157.255.213:9006/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view> -->
<web-view src="https://crm-server.x.hnxinyouhe.com/index/privacyAgreement" style="width: 100%; height: 100%;"></web-view>
</view> </view>
</template> </template>
+2 -1
View File
@@ -232,7 +232,8 @@
uni.uploadFile({ uni.uploadFile({
// url: 'https://api.fcrm.hnxinyouhe.com/upload/uploadImage', // url: 'https://api.fcrm.hnxinyouhe.com/upload/uploadImage',
// url: 'https://crm-server.smt.hnxinyouhe.com/upload/uploadImage', // url: 'https://crm-server.smt.hnxinyouhe.com/upload/uploadImage',
url: 'http://219.157.255.213:9006/upload/uploadImage', // url: 'http://219.157.255.213:9006/upload/uploadImage',
url: 'https://crm-server.x.hnxinyouhe.com/upload/uploadImage',
filePath: imgUrl, filePath: imgUrl,
name: 'files', name: 'files',
header:{'Authorization': 'Bearer ' + uni.getStorageSync('token')}, header:{'Authorization': 'Bearer ' + uni.getStorageSync('token')},