| ¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from "@/utils/request"; |
| | | |
| | | /** æ°å¢ä»æ¬¾åï¼å
³è仿¬¾ç³è¯·ï¼ */ |
| | | export function addAccountPurchasePayment(data) { |
| | | return request({ |
| | | url: "/accountPurchasePayment/addAccountPurchasePayment", |
| | | method: "post", |
| | | data, |
| | | }); |
| | | } |
| | | |
| | | /** 仿¬¾åå页å表 */ |
| | | export function listPageAccountPurchasePayment(params) { |
| | | return request({ |
| | | url: "/accountPurchasePayment/listPageAccountPurchasePayment", |
| | | method: "get", |
| | | params, |
| | | }); |
| | | } |
| | | |
| | | /** å é¤ä»æ¬¾åï¼Spring è¦æ± ids=1&ids=2 æ¥è¯¢åæ°ï¼ */ |
| | | export function deleteAccountPurchasePayment(ids) { |
| | | const idList = Array.isArray(ids) ? ids : [ids]; |
| | | const query = idList |
| | | .filter((id) => id !== undefined && id !== null && id !== "") |
| | | .map((id) => `ids=${encodeURIComponent(id)}`) |
| | | .join("&"); |
| | | return request({ |
| | | url: `/accountPurchasePayment/deleteAccountPurchasePayment?${query}`, |
| | | method: "delete", |
| | | }); |
| | | } |