64 lines
4.4 KiB
JavaScript
64 lines
4.4 KiB
JavaScript
"use strict";
|
|
const request_index = require("../request/index.js");
|
|
const loginApi = (params, config = {}) => request_index.http("/api/v0/login/loginByWx", params);
|
|
const loginCodeApi = (params, config = {}) => request_index.http("/api/v0/login/loginByWxCode", 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 startChargingByAdaPay = (params, config = {}) => request_index.http("/api/v0/orders/startChargingByAdaPay", 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 adaPay = (params, config = {}) => request_index.http("/api/v0/wallet/charge/adaPay", 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.adaPay = adaPay;
|
|
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.listByStationId = listByStationId;
|
|
exports.loginApi = loginApi;
|
|
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.startChargingByAdaPay = startChargingByAdaPay;
|
|
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;
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/api/api.js.map
|