qingyiay
2023-09-07 491249bdf736a5f7d50417c889ad2db734b12383
api/publicInterface.js
@@ -5,8 +5,9 @@
import { BaseUrl as wrBaseUrl } from '@/api/request.js'
const BaseUrl = 'http://192.168.31.14:9999'
// const BaseUrl = 'https://mx.jzeg.cn:9095'
// const BaseUrl = 'http://192.168.31.18:9999'
// const BaseUrl = 'http://192.168.31.18:9999'
// const BaseUrl = 'http://192.168.0.100:9999'
// const BaseUrl = 'http://192.168.0.108:9999'
// 登录
// function apiLogin({
//    code
@@ -58,8 +59,11 @@
   idCard,
   carNo,
   carImg,
   drivingImg
   drivingImg,
   vehicleColour,
   bodyofcarJpg
}) {
   console.log(bodyofcarJpg);
   uni.showLoading({ title: '加载中...' })
   return new Promise((resolve, reject) => {
      uni.request({
@@ -75,7 +79,9 @@
            idCard,
            carNo,
            carImg,
            drivingImg
            drivingImg,
            vehicleColour,
            bodyofcarJpg
         },
         header: {
            'Authorization': 'Basic c29jaWFsOnNvY2lhbA==', //app:app
@@ -187,4 +193,4 @@
   apiRegister,
   apiLoginPassword,
   BaseUrl
}
}