122 lines
8.2 KiB
JavaScript
122 lines
8.2 KiB
JavaScript
"use strict";
|
|
const request_index = require("../request/index.js");
|
|
const loginApi = (params, config = {}) => request_index.http("/api/auth/login", params);
|
|
const saveOpenIdByZfbCode = (params, config = {}) => request_index.http("/api/auth/saveOpenIdByZfbCode", params);
|
|
const registerApi = (params, config = {}) => request_index.http("/api/auth/register", params);
|
|
const forgotPassword = (params, config = {}) => request_index.http("/api/auth/forgotPassword", params);
|
|
const smsCode = (params, config = {}) => request_index.http("/api/auth/sendSmsCode", params);
|
|
const userInfo = (params, config = {}) => request_index.http("/api/v0/user/info", params, "GET");
|
|
const shopPage = (params, config = {}) => request_index.http("/api/v0/goods/selectListByPage", params);
|
|
const shopInfo = (params, config = {}) => request_index.http("/api/v0/goods/selectGoodsInfo", params);
|
|
const orderPage = (params, config = {}) => request_index.http("/api/v0/orders/selectListByPage", params);
|
|
const orderInfo = (params, config = {}) => request_index.http("/api/v0/orders/info", params, "GET");
|
|
const addGoodsOrders = (params, config = {}) => request_index.http("/api/v0/orders/addGoodsOrders", params);
|
|
const selectListByPage = (params, config = {}) => request_index.http("/api/v0/goodsPackages/selectListByPage", params);
|
|
const selectGoodsInfo = (params, config = {}) => request_index.http("/api/v0/goodsPackages/selectGoodsInfo", params);
|
|
const addGoodsPackageOrders = (params, config = {}) => request_index.http("/api/v0/orders/addGoodsPackageOrders", params);
|
|
const walletPaymentGoods = (params, config = {}) => request_index.http("/api/v0/payment/walletPaymentGoods", params, "POST", {
|
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
});
|
|
const walletPaymentPackages = (params, config = {}) => request_index.http(
|
|
"/api/v0/payment/walletPaymentPackages",
|
|
params,
|
|
"POST",
|
|
{
|
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
}
|
|
);
|
|
const getUsersPoint2Info = (params, config = {}) => request_index.http("/api/v0/user/getUsersPoint2Info", params);
|
|
const getUsersPoint1Info = (params, config = {}) => request_index.http("/api/v0/user/getUsersPoint1Info", params);
|
|
const getUsersPointRecord = (params, config = {}) => request_index.http("/api/v0/user/getUsersPointRecord", params);
|
|
const addUsersAccountInfo = (params, config = {}) => request_index.http("/api/v0/user/addUsersAccountInfo", params);
|
|
const getUsersAccountInfo = (params, config = {}) => request_index.http("/api/v0/user/getUsersAccountInfo", params);
|
|
const getDeviceInfo = (params, config = {}) => request_index.http("/api/v0/user/getDeviceInfo", params);
|
|
const selectProtocolInfo = (params, config = {}) => request_index.http("/api/v0/protocol/selectProtocolInfo", params, "GET");
|
|
const bannerInfo = (params, config = {}) => request_index.http("/api/v0/banner/bannerInfo", params, "GET");
|
|
const userRechargeByLkl = (params, config = {}) => request_index.http("/api/v0/recharge/userRechargeByLkl", params);
|
|
const getAppConfig = (params, config = {}) => request_index.http("/api/v0/config/getAppConfig", params);
|
|
const userExtract = (params, config = {}) => request_index.http("/api/v0/extract/userExtract", params);
|
|
const getDeviceCount = (params, config = {}) => request_index.http("/api/v0/user/getDeviceCount", params, "GET");
|
|
const userPointRecharge = (params, config = {}) => request_index.http("/api/v0/recharge/userPointRecharge", params);
|
|
const getContentCategoryList = (params, config = {}) => request_index.http("/api/v0/banner/getContentCategoryList", params);
|
|
const getContentList = (params, config = {}) => request_index.http("/api/v0/banner/getContentList", params);
|
|
const getContentInfo = (params, config = {}) => request_index.http("/api/v0/banner/getContentInfo", params);
|
|
const updateUserInfo = (params, config = {}) => request_index.http("/api/v0/user/updateUserInfo", params);
|
|
const updatePhone = (params, config = {}) => request_index.http("/api/v0/user/updatePhone", params);
|
|
const getOssUploadParams = (params, config = {}) => request_index.http("/api/v0/files/getOssUploadParams", params, "GET");
|
|
const userExtractList = (params, config = {}) => request_index.http("/api/v0/extract/userExtractList", params);
|
|
const shareList = (params, config = {}) => request_index.http("/api/v0/user/shareList", params);
|
|
const userStat = (params, config = {}) => request_index.http("/api/v0/stat/userStat", params, "GET");
|
|
const activityUserList = (params, config = {}) => request_index.http("/api/v0/activity/user/list", params, "GET");
|
|
const activityList = (params, config = {}) => request_index.http("/api/v0/activity/list", params, "GET");
|
|
const activityInfo = (params, config = {}) => request_index.http("/api/v0/activity/info", params, "GET");
|
|
const activityUserInfo = (params, config = {}) => request_index.http("/api/v0/activity/user/info", params, "GET");
|
|
const activityUserConfirm = (params, config = {}) => request_index.http("/api/v0/activity/user/confirm", params);
|
|
const lklPaymentPackages = (params, config = {}) => request_index.http("/api/v0/payment/lklPaymentPackages", params, "POST", {
|
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
});
|
|
const lklPaymentGoods = (params, config = {}) => request_index.http("/api/v0/payment/lklPaymentGoods", params, "POST", {
|
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
});
|
|
const giveWallet = (params, config = {}) => request_index.http("/api/v0/recharge/giveWallet", params);
|
|
const giveWallet2 = (params, config = {}) => request_index.http("/api/v0/recharge/giveWallet2", params);
|
|
const freezeTotal = (params, config = {}) => request_index.http("/api/v0/user/freezeTotal", params);
|
|
const freezeWalletRecord = (params, config = {}) => request_index.http("/api/v0/user/freezeWalletRecord", params);
|
|
const freezeIncomeRecord = (params, config = {}) => request_index.http("/api/v0/user/freezeIncomeRecord", params);
|
|
const shareUserInfo = (params, config = {}) => request_index.http("/api/v0/user/shareUserInfo", params);
|
|
const shareUserInfoStats = (params, config = {}) => request_index.http("/api/v0/user/shareUserInfoStats", params);
|
|
const forgotUserName = (params, config = {}) => request_index.http("/api/auth/forgotUserName", params);
|
|
exports.activityInfo = activityInfo;
|
|
exports.activityList = activityList;
|
|
exports.activityUserConfirm = activityUserConfirm;
|
|
exports.activityUserInfo = activityUserInfo;
|
|
exports.activityUserList = activityUserList;
|
|
exports.addGoodsOrders = addGoodsOrders;
|
|
exports.addGoodsPackageOrders = addGoodsPackageOrders;
|
|
exports.addUsersAccountInfo = addUsersAccountInfo;
|
|
exports.bannerInfo = bannerInfo;
|
|
exports.forgotPassword = forgotPassword;
|
|
exports.forgotUserName = forgotUserName;
|
|
exports.freezeIncomeRecord = freezeIncomeRecord;
|
|
exports.freezeTotal = freezeTotal;
|
|
exports.freezeWalletRecord = freezeWalletRecord;
|
|
exports.getAppConfig = getAppConfig;
|
|
exports.getContentCategoryList = getContentCategoryList;
|
|
exports.getContentInfo = getContentInfo;
|
|
exports.getContentList = getContentList;
|
|
exports.getDeviceCount = getDeviceCount;
|
|
exports.getDeviceInfo = getDeviceInfo;
|
|
exports.getOssUploadParams = getOssUploadParams;
|
|
exports.getUsersAccountInfo = getUsersAccountInfo;
|
|
exports.getUsersPoint1Info = getUsersPoint1Info;
|
|
exports.getUsersPoint2Info = getUsersPoint2Info;
|
|
exports.getUsersPointRecord = getUsersPointRecord;
|
|
exports.giveWallet = giveWallet;
|
|
exports.giveWallet2 = giveWallet2;
|
|
exports.lklPaymentGoods = lklPaymentGoods;
|
|
exports.lklPaymentPackages = lklPaymentPackages;
|
|
exports.loginApi = loginApi;
|
|
exports.orderInfo = orderInfo;
|
|
exports.orderPage = orderPage;
|
|
exports.registerApi = registerApi;
|
|
exports.saveOpenIdByZfbCode = saveOpenIdByZfbCode;
|
|
exports.selectGoodsInfo = selectGoodsInfo;
|
|
exports.selectListByPage = selectListByPage;
|
|
exports.selectProtocolInfo = selectProtocolInfo;
|
|
exports.shareList = shareList;
|
|
exports.shareUserInfo = shareUserInfo;
|
|
exports.shareUserInfoStats = shareUserInfoStats;
|
|
exports.shopInfo = shopInfo;
|
|
exports.shopPage = shopPage;
|
|
exports.smsCode = smsCode;
|
|
exports.updatePhone = updatePhone;
|
|
exports.updateUserInfo = updateUserInfo;
|
|
exports.userExtract = userExtract;
|
|
exports.userExtractList = userExtractList;
|
|
exports.userInfo = userInfo;
|
|
exports.userPointRecharge = userPointRecharge;
|
|
exports.userRechargeByLkl = userRechargeByLkl;
|
|
exports.userStat = userStat;
|
|
exports.walletPaymentGoods = walletPaymentGoods;
|
|
exports.walletPaymentPackages = walletPaymentPackages;
|