From deb4575b72443cf906946a9fb28a557c16556fb9 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 01 十一月 2024 09:30:50 +0800
Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/yunyibao into 2.0.1
---
company/src/api/business/solutionsBase.js | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/company/src/api/business/solutionsBase.js b/company/src/api/business/solutionsBase.js
new file mode 100644
index 0000000..ed0f114
--- /dev/null
+++ b/company/src/api/business/solutionsBase.js
@@ -0,0 +1,37 @@
+import request from '../../utils/request'
+
+// 鏌ヨ
+export function fetchList (data) {
+ return request.post('/business/solutionsBase/page', data, {
+ trim: true
+ })
+}
+
+// 鍒涘缓
+export function create (data) {
+ return request.post('/business/solutionsBase/create', data)
+}
+
+// 淇敼
+export function updateById (data) {
+ return request.post('/business/solutionsBase/updateById', data)
+}
+
+// 鍒犻櫎
+export function deleteById (id) {
+ return request.get(`/business/solutionsBase/delete/${id}`)
+}
+
+// 鏍规嵁id鏌ヨ
+export function solutionsBaseId (id) {
+ return request.get(`/business/solutionsBase/${id}`)
+}
+
+// 鎵归噺鍒犻櫎
+export function deleteByIdInBatch (ids) {
+ return request.get('/business/solutionsBase/delete/batch', {
+ params: {
+ ids
+ }
+ })
+}
--
Gitblit v1.9.3