wk
2024-11-14 927e4a7caf46bd073c65ce3b8f14dc1f1582c519
api/publicInterface.js
@@ -3,7 +3,7 @@
import { BaseUrl as wrBaseUrl } from '@/api/request.js'
// const BaseUrl = 'http://192.168.0.66:9999'
// const BaseUrl = 'http://192.168.0.23:9999'
// const BaseUrl = 'http://192.168.0.7:9999'
const BaseUrl = 'https://mr1.res.jzeg.cn:9096'
// const BaseUrl = 'http://192.168.0.22:9999'
@@ -69,7 +69,12 @@
   tradeQualificationImg,
   isCoalCar,
   countryNumberCar,
   inventoryImg
   inventoryImg,
   truckLength,
   truckWidth,
   truckHeight,
   maximumPayload,
   totalLoad
}) {
   uni.showLoading({ title: '加载中...' })
   return new Promise((resolve, reject) => {
@@ -98,7 +103,12 @@
            tradeQualificationImg,
            isCoalCar,
            countryNumberCar,
            inventoryImg
            inventoryImg,
            truckLength,
            truckWidth,
            truckHeight,
            maximumPayload,
            totalLoad
         },
         header: {
            'Authorization': 'Basic c29jaWFsOnNvY2lhbA==', //app:app
@@ -185,8 +195,8 @@
         header: {
            'Authorization': 'Basic c29jaWFsOnNvY2lhbA==', //app:app
            'content-type': 'application/x-www-form-urlencoded',
            'clientToc': 'Y',
            // 'CLIENT_TOC ': 'Y',
            // 'clientToc': 'Y',
            'CLIENT_TOC': 'Y',
            'isToken': 'false'
         },
         success: res => {