codeTest.js
369 Bytes
import request from "./request"
import request_code from "./request_code"
const path = "dj.api.smartcarlife."
// 获取错误码
export function getCode(data) {
data.method = `${path}getErrorCodeInfoByCode`
return request(data)
}
// 获取错误码
export function getNewCode(data) {
data.method = `${path}getErrorCodeInfoByCode`
return request_code(data)
}