Files
PC-202306242200\Administrator 4d06351f6a no message
2026-03-28 23:00:29 +08:00

61 lines
4.2 KiB
JavaScript

"use strict";
const request_index = require("../request/index.js");
const loginCodeApi = (params, config = {}) => request_index.http("/api/v0/login/loginByWxCode", params);
const loginByZfbCode = (params, config = {}) => request_index.http("/api/v0/login/loginByZfbCode", params);
const aroundAreaApi = (params, config = {}) => request_index.http("/api/v0/stations/aroundArea", params, "GET");
const infoAroundApi = (params, config = {}) => request_index.http("/api/v0/stations/info", params, "GET");
const listByStationId = (params, config = {}) => request_index.http("/api/v0/device/gun/listByStationId", params, "GET");
const gunInfo = (params, config = {}) => request_index.http("/api/v0/device/gun/info", params, "GET");
const userInfo = (params, config = {}) => request_index.http("/api/v0/user/info", params, "GET");
const ordersList = (params, config = {}) => request_index.http("/api/v0/orders/list", params, "GET");
const startChargingByWallet = (params, config = {}) => request_index.http("/api/v0/orders/startChargingByWallet", params);
const startChargingByCard = (params, config = {}) => request_index.http("/api/v0/orders/startChargingByCard", params);
const stopCharging = (params, config = {}) => request_index.http("/api/v0/orders/stopCharging", params);
const bannerList = (params, config = {}) => request_index.http("/api/v0/banner/list", params, "GET");
const updateNickName = (params, config = {}) => request_index.http("/api/v0/user/updateNickName", params);
const updateAvatar = (params, config = {}) => request_index.http("/api/v0/user/updateAvatar", params);
const getOssUploadParams = (params, config = {}) => request_index.http("/api/v0/user/getOssUploadParams", params, "GET");
const realtimeInfo = (params, config = {}) => request_index.http("/api/v0/orders/realtimeInfo", params, "GET");
const walletRecord = (params, config = {}) => request_index.http("/api/v0/wallet/record", params, "GET");
const userCardList = (params, config = {}) => request_index.http("/api/v0/card/userCardList", params, "GET");
const userCardRecord = (params, config = {}) => request_index.http("/api/v0/card/userCardRecord", params, "GET");
const jqbPay = (params, config = {}) => request_index.http("/api/v0/wallet/charge/jqbPay", params);
const aroundAreaMap = (params, config = {}) => request_index.http("/api/v0/stations/aroundAreaMap", params, "GET");
const selectProtocolInfo = (params, config = {}) => request_index.http("/api/v0/protocol/info", params, "GET");
const invoiceList = (params, config = {}) => request_index.http("/api/v0/invoice/list", params, "GET");
const orderList = (params, config = {}) => request_index.http("/api/v0/invoice/orderList", params, "GET");
const preApply = (params, config = {}) => request_index.http("/api/v0/invoice/preApply", params);
const apply = (params, config = {}) => request_index.http("/api/v0/invoice/apply", params);
const userCardUsableList = (params, config = {}) => request_index.http("/api/v0/card/userCardUsableList", params, "GET");
const refund = (params, config = {}) => request_index.http("/api/v0/wallet/refund", params);
const ordersInfo = (params, config = {}) => request_index.http("/api/v0/orders/info", params, "GET");
exports.apply = apply;
exports.aroundAreaApi = aroundAreaApi;
exports.aroundAreaMap = aroundAreaMap;
exports.bannerList = bannerList;
exports.getOssUploadParams = getOssUploadParams;
exports.gunInfo = gunInfo;
exports.infoAroundApi = infoAroundApi;
exports.invoiceList = invoiceList;
exports.jqbPay = jqbPay;
exports.listByStationId = listByStationId;
exports.loginByZfbCode = loginByZfbCode;
exports.loginCodeApi = loginCodeApi;
exports.orderList = orderList;
exports.ordersInfo = ordersInfo;
exports.ordersList = ordersList;
exports.preApply = preApply;
exports.realtimeInfo = realtimeInfo;
exports.refund = refund;
exports.selectProtocolInfo = selectProtocolInfo;
exports.startChargingByCard = startChargingByCard;
exports.startChargingByWallet = startChargingByWallet;
exports.stopCharging = stopCharging;
exports.updateAvatar = updateAvatar;
exports.updateNickName = updateNickName;
exports.userCardList = userCardList;
exports.userCardRecord = userCardRecord;
exports.userCardUsableList = userCardUsableList;
exports.userInfo = userInfo;
exports.walletRecord = walletRecord;