16 lines
681 B
TypeScript
16 lines
681 B
TypeScript
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";
|
|
|
|
export const getList = (params: FeedbackList.ReqParams) => {
|
|
return http.get<ResPage<FeedbackList.ResList>>(RECHARGE_PORT + `/feedback/list`, params);
|
|
};
|
|
|
|
export const saveData = (params: FeedbackList.saveParams) => {
|
|
return http.post<ResPage<ResultData>>(RECHARGE_PORT + `/feedback/save`, params);
|
|
};
|
|
export const deleteItem = (params: FeedbackList.delParams) => {
|
|
return http.post<ResPage<ResultData>>(RECHARGE_PORT + `/feedback/del`, params);
|
|
};
|