diff --git a/src/api/config/order.js b/src/api/config/order.js
new file mode 100644
index 0000000..f0811f9
--- /dev/null
+++ b/src/api/config/order.js
@@ -0,0 +1,14 @@
+import request from '@/utils/request.js';
+export const search = () => {
+ return request({
+ url: '/mall/base/orderConfig/getOrderConfig',
+ method: 'get',
+ });
+};
+export const update = (data) => {
+ return request({
+ url: '/mall/base/orderConfig/saveOrUpdate',
+ method: 'post',
+ data,
+ });
+};
diff --git a/src/store/modules/config/orderConfig.js b/src/store/modules/config/orderConfig.js
new file mode 100644
index 0000000..3473f27
--- /dev/null
+++ b/src/store/modules/config/orderConfig.js
@@ -0,0 +1,27 @@
+import * as api from '@/api/config/order.js';
+import { ElMessage } from '@/plugins/element-plus';
+const state = () => ({});
+const getters = {};
+const mutations = {};
+const actions = {
+ search: async () => {
+ let res = await api.search();
+ if (!res) {
+ ElMessage.error('查询订单配置失败');
+ }
+ return res;
+ },
+ update: async (context, data) => {
+ let res = await api.update(data);
+ if (!res) {
+ ElMessage.error('保存订单配置失败');
+ }
+ return res;
+ },
+};
+export default {
+ state,
+ getters,
+ mutations,
+ actions,
+};
diff --git a/src/views/config/order.vue b/src/views/config/order.vue
new file mode 100644
index 0000000..1777cf5
--- /dev/null
+++ b/src/views/config/order.vue
@@ -0,0 +1,94 @@
+
+
+
+
+
+ 分
+
+ 未付款,订单自动关闭
+
+
+
+ 分
+
+ 未付款,订单自动关闭
+
+
+
+ 天
+
+ 未收货,订单自动完成
+
+
+
+ 天
+
+ 自动结束交易,不能申请售后
+
+
+ 提交
+ 刷新
+
+
+
+
+
+
+
+