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' App.mpType = 'app'
import api from '@/api/index.js' import api from '@/api/index.js'
Vue.prototype.$api = api Vue.prototype.$api = api
Vue.prototype.ymurl = 'https://bodybuilding.bsdong.cn'
const app = new Vue({ const app = new Vue({
...App ...App
}) })

@ -52,7 +52,7 @@
// this.$refs.popup.close('center') // this.$refs.popup.close('center')
// var tjlist=[...this.yrenlianlist,...this.jqrllist] // var tjlist=[...this.yrenlianlist,...this.jqrllist]
uni.uploadFile({ uni.uploadFile({
url: 'https://bodybuilding.bsdong.cn/api/uploadFile', url: this.ymurl+'/api/uploadFile',
filePath:this.path, filePath:this.path,
name: 'file', name: 'file',
formData: { formData: {

@ -73,7 +73,7 @@
console.log(123, e); console.log(123, e);
if (e.detail.errMsg == 'getPhoneNumber:ok') { if (e.detail.errMsg == 'getPhoneNumber:ok') {
uni.request({ uni.request({
url: 'https://bodybuilding.bsdong.cn/api/wxMinLogin', url:this.ymurl+'/api/wxMinLogin',
method: 'post', method: 'post',
data: { data: {
code: this.wxcode, code: this.wxcode,

@ -86,7 +86,7 @@
// //
const imgUrl = tempFilePaths[0] const imgUrl = tempFilePaths[0]
uni.uploadFile({ uni.uploadFile({
url: 'https://bodybuilding.njrenzhou.cn/api/uploadFile', url: this.ymurl+'/api/uploadFile',
filePath: imgUrl, filePath: imgUrl,
name: 'file', name: 'file',
formData: { formData: {

Loading…
Cancel
Save