Commit 871e2dd3 by lixinming

no message

parent 88519772
......@@ -107,8 +107,8 @@ export async function initControlSocketServer(port:number) {
//控制端获取小车列表
export async function controlGetCarList(req, res) {
let {enterpriseVehicleList} = await getInterfaceByInterfaceName(dataCenterInterfaceConfig.enterpriseVehicleList, {});
//todo 最后加鉴权
// let carList = controlGetOnlieCarList();//todo 改这里
//todo 最后加鉴权 改这里
// let carList = controlGetOnlieCarList();
let carList = [];
enterpriseVehicleList.forEach(info => {
let vehicleList = info.vehicleList
......
......@@ -4,7 +4,7 @@ import * as request from 'request';
import { SYSTEMERRORENUM } from '../config/errorEnum';
import { BizError, SysError } from "../util/bizError";
let accToken = "";//todo token
let accToken = "";
export async function getInterfaceByInterfaceName(url, body) {
let reqResult = await get(url, body, {});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment