LGX 4 months ago
parent 60bc78fe22
commit 8bc9ff403a
  1. 1
      main.js
  2. 2
      pages/face/face.vue
  3. 2
      pages/login/login.vue
  4. 2
      pages/user/portrait/portrait.vue

@ -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]
uni.uploadFile({
url: 'https://bodybuilding.njrenzhou.cn/api/uploadFile',
url: this.ymurl+'/api/uploadFile',
filePath: imgUrl,
name: 'file',
formData: {

Loading…
Cancel
Save