"root": "subpackage/carPark", | "root": "subpackage/carPark", | ||||
"plugins": { | "plugins": { | ||||
"issuer-plugin": { | "issuer-plugin": { | ||||
// "version": "dev-c968a95bd8b2e12ed880d15141e81dcd", | |||||
"version": "1.0.2", | |||||
"version": "dev-44cf00f4a96631d06215f57ed23ec62f", | |||||
// "version": "1.0.2", | |||||
"provider": "wxa2d9acdd1054e69b" | "provider": "wxa2d9acdd1054e69b" | ||||
} | } | ||||
}, | }, |
import { | import { | ||||
getVehiclePlateColor | getVehiclePlateColor | ||||
} from "@/datas/vehiclePlateColor.js" | } from "@/datas/vehiclePlateColor.js" | ||||
import { | |||||
getItem | |||||
} from "@/utils/storage"; | |||||
const cmd = require("../../../static/etcUtil/cmdConfig.js"); | const cmd = require("../../../static/etcUtil/cmdConfig.js"); | ||||
const tools = require("../../../static/etcUtil/tools.js"); | const tools = require("../../../static/etcUtil/tools.js"); | ||||
const datas = require("../../../static/etcUtil/datas.js"); | const datas = require("../../../static/etcUtil/datas.js"); | ||||
data: { | data: { | ||||
obuId: num, | obuId: num, | ||||
encryptedInfo: data, | encryptedInfo: data, | ||||
wxOpenId:state.openid | |||||
wxOpenId:getItem("mobile") | |||||
}, | }, | ||||
method: "POST", | method: "POST", | ||||
showLoading: true, | showLoading: true, |
showLoading: true, | showLoading: true, | ||||
}; | }; | ||||
if(state.deviceType==deviceType){ | if(state.deviceType==deviceType){ | ||||
options.data['wxOpenId'] =getItem("QYorder").openid | |||||
options.data['wxOpenId'] =getItem("mobile") | |||||
} | } | ||||
// #ifdef MP-WEIXIN | // #ifdef MP-WEIXIN | ||||
options.data['source'] = 'WECHAT' | options.data['source'] = 'WECHAT' |
} | } | ||||
options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||||
// options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||||
// options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||||
options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||||
//默认json数据格式提交` | //默认json数据格式提交` | ||||
let contentType = 'application/x-www-form-urlencoded' | let contentType = 'application/x-www-form-urlencoded' | ||||