qingyiay
2023-09-21 c234dffcd3adaf7b8d87a5a8301871493c0cadbd
api/publicInterface.js
@@ -4,9 +4,10 @@
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 = '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,7 +59,9 @@
   idCard,
   carNo,
   carImg,
   drivingImg
   drivingImg,
   vehicleColour,
   bodyofcarJpg
}) {
   uni.showLoading({ title: '加载中...' })
   return new Promise((resolve, reject) => {
@@ -75,7 +78,9 @@
            idCard,
            carNo,
            carImg,
            drivingImg
            drivingImg,
            vehicleColour,
            bodyofcarJpg
         },
         header: {
            'Authorization': 'Basic c29jaWFsOnNvY2lhbA==', //app:app
@@ -187,4 +192,4 @@
   apiRegister,
   apiLoginPassword,
   BaseUrl
}
}