master
chen 2021-12-28 14:43:41 +08:00
parent 161fd11009
commit 52cb4f4ac0
30 changed files with 34 additions and 32 deletions

View File

@ -4,8 +4,8 @@ console.log('当前环境', process.env.NODE_ENV)
const apiHub = {
//开发环境
development: {
BASE_URL: this.$hostapi,
// BASE_URL: "https://hm.hmzfyy.cn/api/",
// BASE_URL: `https://hengmei.scdxtc.cn/api/`,
BASE_URL: "https://hm.hmzfyy.cn/api/",
IMG_URL: "https://xx",
BASE_UPLOAD_URL: "",
},

View File

@ -291,7 +291,7 @@ const tools = {
language:obj.language
}
uni.request({
url: `${that.$hostapi}user/login`,
url: `https://hm.hmzfyy.cn/api/user/login`,
method: 'post',
data: params,
header: {

View File

@ -34,7 +34,7 @@ Vue.prototype.$requst = requst;
// Vue.prototype.$http = 'https://hm.hmzfyy.cn'
Vue.prototype.$http = 'https://oss.hmzfyy.cn';
// Vue.prototype.$newUrl = 'https://hengmei.scdxtc.cn/api/';
Vue.prototype.$hostapi = 'https://hm.hmzfyy.cn/api/';
// Vue.prototype.$hostapi = 'https://hm.hmzfyy.cn/api/';
const {log} = console;
Vue.prototype.$log = log

View File

@ -412,7 +412,7 @@
is_hot:1
}
uni.request({
url:`${this.$hostapi}spu/list`,
url:`https://hm.hmzfyy.cn/api/spu/list`,
data:params,
method:'post',
header:{

View File

@ -246,6 +246,8 @@
if(res.data.phone_active!=0){
uni.setStorageSync('phone_active',res.data.phone_active);
}
} else {
this.$toolAll.tools.isLogin()
}
})
},

View File

@ -304,7 +304,7 @@
disease_id:this.disease_id//ID
}
uni.request({
url:`${this.$hostapi}spu/list`,
url:`https://hm.hmzfyy.cn/api/spu/list`,
data:params,
method:'post',
header:{

View File

@ -511,7 +511,7 @@
this.$toolAll.tools.showToast('正在调起支付','loading',1500);
}
uni.request({
url:`${this.$hostapi}order/create`,
url:`https://hm.hmzfyy.cn/api/order/create`,
data:parmas,
method:'post',
header:{

View File

@ -238,7 +238,7 @@
if(index==1){
this.isWen = false;
uni.request({
url:`${this.$hostapi}spu/collection`,
url:`https://hm.hmzfyy.cn/api/spu/collection`,
data:{page:this.page,size:this.size},
method:'post',
header:{

View File

@ -485,7 +485,7 @@
},
checkPTList(id){//
uni.request({
url:`${this.$hostapi}spu/group-list`,
url:`https://hm.hmzfyy.cn/api/spu/group-list`,
data:{id:id},
method:'post',
header:{
@ -663,7 +663,7 @@
},
checkDetail(newId,is_activity){
uni.request({
url:`${this.$hostapi}spu/detail`,
url:`https://hm.hmzfyy.cn/api/spu/detail`,
data:{id:newId,is_activity:is_activity},
method:'post',
header:{
@ -801,7 +801,7 @@
disease_id:''//ID
}
uni.request({
url:`${this.$hostapi}spu/list`,
url:`https://hm.hmzfyy.cn/api/spu/list`,
data:params,
method:'post',
header:{

View File

@ -274,7 +274,7 @@
size:this.size,
}
uni.request({
url:`${this.$hostapi}spu/list`,
url:`https://hm.hmzfyy.cn/api/spu/list`,
data:params,
method:'post',
header:{

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long