This commit is contained in:
make
2025-04-06 21:51:01 +08:00
commit 3792acd4c7
408 changed files with 42349 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { ResPage, ResultData } from "@/api/interface/index";
import { AccountList } from "@/api/interface/finance/account/list";
import { ACCOUNT_PORT } from "@/api/config/servicePort";
import http from "@/api";
/**
* @name 资金账户列表
*/
export const getList = (params: AccountList.ReqParams) => {
return http.get<ResPage<AccountList.ResList>>(ACCOUNT_PORT + `/list`, params);
};
/**
* @name 设置资金账户
*/
export const saveData = (params: AccountList.saveParams) => {
return http.post<ResPage<ResultData>>(ACCOUNT_PORT + `/save`, params);
};
/**
* @name 删除资金账户
*/
export const deleteItem = (params: AccountList.delParams) => {
return http.post<ResPage<ResultData>>(ACCOUNT_PORT + `/del`, params);
};

View File

@@ -0,0 +1,24 @@
import { ResPage, ResultData } from "@/api/interface/index";
import { TransactionList } from "@/api/interface/finance/account/transaction";
import { ACCOUNT_PORT } from "@/api/config/servicePort";
import http from "@/api";
/**
* @name 资金账户流水列表
*/
export const getList = (params: TransactionList.ReqParams) => {
return http.get<ResPage<TransactionList.ResList>>(ACCOUNT_PORT + `/transaction/list`, params);
};
/**
* @name 设置资金账户流水
*/
export const saveData = (params: TransactionList.saveParams) => {
return http.post<ResPage<ResultData>>(ACCOUNT_PORT + `/transaction/save`, params);
};
/**
* @name 删除资金账户流水
*/
export const deleteItem = (params: TransactionList.delParams) => {
return http.post<ResPage<ResultData>>(ACCOUNT_PORT + `/transaction/del`, params);
};

View File

@@ -0,0 +1,24 @@
import { ResPage, ResultData } from "@/api/interface/index";
import { FeedbackList } from "@/api/interface/finance/recharge/feedback";
import { RECHARGE_PORT } from "@/api/config/servicePort";
import http from "@/api";
/**
* @name 充值反馈列表
*/
export const getList = (params: FeedbackList.ReqParams) => {
return http.get<ResPage<FeedbackList.ResList>>(RECHARGE_PORT + `/feedback/list`, params);
};
/**
* @name 设置充值反馈
*/
export const saveData = (params: FeedbackList.saveParams) => {
return http.post<ResPage<ResultData>>(RECHARGE_PORT + `/feedback/save`, params);
};
/**
* @name 删除充值反馈
*/
export const deleteItem = (params: FeedbackList.delParams) => {
return http.post<ResPage<ResultData>>(RECHARGE_PORT + `/feedback/del`, params);
};

View File

@@ -0,0 +1,23 @@
import { ResPage, ResultData } from "@/api/interface/index";
import { OrderList } from "@/api/interface/finance/recharge/order";
import { ORDER_PORT } from "@/api/config/servicePort";
import http from "@/api";
/**
* @name 充值订单列表
*/
export const getList = (params: OrderList.ReqParams) => {
return http.get<ResPage<OrderList.ResList>>(ORDER_PORT + `/list`, params);
};
/**
* @name 设置充值订单
*/
export const saveData = (params: OrderList.saveParams) => {
return http.post<ResPage<ResultData>>(ORDER_PORT + `/save`, params);
};
/**
* @name 删除充值订单
*/
export const deleteItem = (params: OrderList.delParams) => {
return http.post<ResPage<ResultData>>(ORDER_PORT + `/del`, params);
};

View File

@@ -0,0 +1,24 @@
import { ResPage, ResultData } from "@/api/interface/index";
import { PackageList } from "@/api/interface/finance/recharge/package";
import { PACKAGE_PORT } from "@/api/config/servicePort";
import http from "@/api";
/**
* @name 套餐列表
*/
export const getList = (params: PackageList.ReqParams) => {
return http.get<ResPage<PackageList.ResList>>(PACKAGE_PORT + `/list`, params);
};
/**
* @name 设置套餐
*/
export const saveData = (params: PackageList.saveParams) => {
return http.post<ResPage<ResultData>>(PACKAGE_PORT + `/save`, params);
};
/**
* @name 删除套餐
*/
export const deleteItem = (params: PackageList.delParams) => {
return http.post<ResPage<ResultData>>(PACKAGE_PORT + `/del`, params);
};