Explorar o código

新增客户js

tanxue hai 3 días
pai
achega
30c21290c8
Modificáronse 1 ficheiros con 56 adicións e 0 borrados
  1. 56 0
      api/kehu.js

+ 56 - 0
api/kehu.js

@@ -0,0 +1,56 @@
+import request from '@/utils/request'
+export function getKehuList(data = {}) {
+  return request({
+    url: '/app/guanliyuan/kehu/list',
+    headers: {
+      isToken: true
+    },
+    method: 'post',
+    data,
+    timeout: 20000
+  })
+}
+export function getKehuAdd(data = {}) {
+  return request({
+    url: '/app/guanliyuan/kehu/add',
+    headers: {
+      isToken: true
+    },
+    method: 'post',
+    data,
+    timeout: 20000
+  })
+}
+export function getKehuInfo(data = {}) {
+  return request({
+    url: '/app/guanliyuan/kehu/info',
+    headers: {
+      isToken: true
+    },
+    method: 'post',
+    data,
+    timeout: 20000
+  })
+}
+export function getKehuUpdate(data = {}) {
+  return request({
+    url: '/app/guanliyuan/kehu/update',
+    headers: {
+      isToken: true
+    },
+    method: 'post',
+    data,
+    timeout: 20000
+  })
+}
+export function getKehuDelete(data = {}) {
+  return request({
+    url: '/app/guanliyuan/kehu/delete',
+    headers: {
+      isToken: true
+    },
+    method: 'post',
+    data,
+    timeout: 20000
+  })
+}