Browse Source

billrecord.js

LIDEXI 4 năm trước cách đây
mục cha
commit
2a4a402b94
1 tập tin đã thay đổi với 23 bổ sung1 xóa
  1. 23 1
      src/api/billrecord/billrecord.js

+ 23 - 1
src/api/billrecord/billrecord.js

@@ -34,7 +34,7 @@ export const remove = (ids) => {
 
 export const add = (row) => {
   return request({
-    url: '/api/cyzh-billRecord/billrecord/submit',
+    url: '/api/cyzh-billRecord/billrecord/save',
     method: 'post',
     data: row
   })
@@ -48,3 +48,25 @@ export const update = (row) => {
   })
 }
 
+export const chongzhi =(row) =>{
+  return request({
+    url: "/api/yeePay/payByGateway",
+    method: "post",
+    data: row
+  })
+}
+
+export const getBussinessList = (current, size, params) => {
+  return request({
+    url: '/api/cyzh-billRecord/billrecord/getBussinessList',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+
+