@ -8,6 +8,7 @@ Vue.config.productionTip = false
App.mpType = 'app'
import api from '@/api/index.js'
Vue.prototype.$api = api
Vue.prototype.ymurl = 'https://bodybuilding.bsdong.cn'
const app = new Vue({
...App
})
@ -52,7 +52,7 @@
// this.$refs.popup.close('center')
// var tjlist=[...this.yrenlianlist,...this.jqrllist]
uni.uploadFile({
url: 'https://bodybuilding.bsdong.cn/api/uploadFile',
url: this.ymurl+'/api/uploadFile',
filePath:this.path,
name: 'file',
formData: {
@ -73,7 +73,7 @@
console.log(123, e);
if (e.detail.errMsg == 'getPhoneNumber:ok') {
uni.request({
url: 'https://bodybuilding.bsdong.cn/api/wxMinLogin',
url:this.ymurl+'/api/wxMinLogin',
method: 'post',
data: {
code: this.wxcode,
@ -86,7 +86,7 @@
//获取图片临时路径
const imgUrl = tempFilePaths[0]
url: 'https://bodybuilding.njrenzhou.cn/api/uploadFile',
filePath: imgUrl,