From 3d04f62e6c9124e2d37b5d09191a02fc6390d16f Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 13 十月 2023 17:07:10 +0800
Subject: [PATCH] bug修复

---
 src/api/common/payment.js |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/src/api/common/payment.js b/src/api/common/payment.js
index d0da76d..0988731 100644
--- a/src/api/common/payment.js
+++ b/src/api/common/payment.js
@@ -1,12 +1,16 @@
 import request from "@/common/untils/request.js"
 import axios from "axios"
 
+
 // 鑾峰彇鏀舵璁″垝
-export const getCollectionPlanList = async (data) => {
-  return await axios.get(`/api/serviceCollectionPlan/list`, {
-    params: data
+export function getCollectionPlanList(data) {
+  return request({
+    url: "/api/serviceCollectionPlan/list",
+    method: "post",
+    data
   })
 }
+
 // 娣诲姞鏀舵璁″垝
 export function addCollectionPlan(data) {
   return request({
@@ -62,11 +66,14 @@
 }
 
 // 鑾峰彇閿�鍞彂绁�
-export const getInvoiceList = async (data) => {
-  return await axios.get(`/api/invoice/list`, {
-    params: data
+export function getInvoiceList(data) {
+  return request({
+    url: "/api/invoice/list",
+    method: "post",
+    data
   })
 }
+
 // 娣诲姞閿�鍞彂绁�
 export function addInvoice(data) {
   return request({

--
Gitblit v1.8.0