first
This commit is contained in:
24
src/api/modules/finance/recharge/feedback.ts
Normal file
24
src/api/modules/finance/recharge/feedback.ts
Normal 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);
|
||||
};
|
||||
Reference in New Issue
Block a user