diff --git a/src/api/goods/index.js b/src/api/goods/index.js
index d01c6b7..e8dc8bf 100644
--- a/src/api/goods/index.js
+++ b/src/api/goods/index.js
@@ -17,6 +17,30 @@ const api = {
pool: '/goods/pool',
collector:'/goods/collector',
category: '/goods/category',
+ oneShelf:'/goods/oneClickShelf',
+ oneOffTheShelf:'/goods/oneClickOffTheShelf'
+}
+/**
+ * 一键上架
+ * @param {*} data
+ */
+export function oneShelf (data) {
+ return axios({
+ url: api.oneShelf,
+ method: 'post',
+ data: data
+ })
+}
+/**
+ * 一键下架
+ * @param {*} data
+ */
+export function oneOffTheShelf (data) {
+ return axios({
+ url: api.oneOffTheShelf,
+ method: 'post',
+ data: data
+ })
}
/**
* 归类
diff --git a/src/views/goods/Index.vue b/src/views/goods/Index.vue
index e218afe..6d63505 100644
--- a/src/views/goods/Index.vue
+++ b/src/views/goods/Index.vue
@@ -114,9 +114,11 @@