From 618f399982bcfb640f9712009db4906ce113b718 Mon Sep 17 00:00:00 2001
From: Jiang Peng <2622360564@qq.com>
Date: Fri, 29 Mar 2024 17:24:07 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E8=B4=AD=E7=89=A9?=
=?UTF-8?q?=E8=BD=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/shopCart/Info.js | 44 ++++
src/views/shopCart/info/index.vue | 331 ++++++++++++++++++++++++++++++
2 files changed, 375 insertions(+)
create mode 100644 src/api/shopCart/Info.js
create mode 100644 src/views/shopCart/info/index.vue
diff --git a/src/api/shopCart/Info.js b/src/api/shopCart/Info.js
new file mode 100644
index 0000000..be8e70c
--- /dev/null
+++ b/src/api/shopCart/Info.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询购物车列表
+export function listInfo(query) {
+ return request({
+ url: '/shopCart/Info/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询购物车详细
+export function getInfo(id) {
+ return request({
+ url: '/shopCart/Info/' + id,
+ method: 'get'
+ })
+}
+
+// 新增购物车
+export function addInfo(data) {
+ return request({
+ url: '/shopCart/Info',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改购物车
+export function updateInfo(data) {
+ return request({
+ url: '/shopCart/Info/'+data.id,
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除购物车
+export function delInfo(id) {
+ return request({
+ url: '/shopCart/Info/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/views/shopCart/info/index.vue b/src/views/shopCart/info/index.vue
new file mode 100644
index 0000000..54eafde
--- /dev/null
+++ b/src/views/shopCart/info/index.vue
@@ -0,0 +1,331 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+