819527061@qq.com
2024-03-12 e00070c0e6738ff119218aefe7f1c18558a6a86a
api/publicInterface.js
@@ -3,10 +3,12 @@
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.0.110:9999'
// const BaseUrl = 'http://192.168.0.102:9999'
const BaseUrl = 'https://mx.jzeg.cn:9096'
// 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 +60,16 @@
   idCard,
   carNo,
   carImg,
   drivingImg
   drivingImg,
   vehicleColour,
   bodyofcarJpg,
   roadTransportImg,
   tradeQualificationImg,
   isCoalCar,
   countryNumberCar,
   inventoryImg
}) {
   console.log(bodyofcarJpg);
   uni.showLoading({ title: '加载中...' })
   return new Promise((resolve, reject) => {
      uni.request({
@@ -75,7 +85,14 @@
            idCard,
            carNo,
            carImg,
            drivingImg
            drivingImg,
            vehicleColour,
            bodyofcarJpg,
            roadTransportImg,
            tradeQualificationImg,
            isCoalCar,
            countryNumberCar,
            inventoryImg
         },
         header: {
            'Authorization': 'Basic c29jaWFsOnNvY2lhbA==', //app:app
@@ -187,4 +204,4 @@
   apiRegister,
   apiLoginPassword,
   BaseUrl
}
}