debug
This commit is contained in:
@@ -3,22 +3,13 @@ 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);
|
||||
};
|
||||
|
||||
@@ -3,22 +3,13 @@ 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);
|
||||
};
|
||||
|
||||
@@ -3,22 +3,13 @@ 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);
|
||||
};
|
||||
|
||||
@@ -3,21 +3,12 @@ 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);
|
||||
};
|
||||
|
||||
@@ -3,22 +3,13 @@ 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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user