From 6fe0bbe094b843b9ff3a29649c6f786ee6261a89 Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Wed, 27 May 2020 15:34:16 +0800
Subject: [PATCH] 1

---
 SunshineIns/src/fetch/socialUpdate.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/SunshineIns/src/fetch/socialUpdate.js b/SunshineIns/src/fetch/socialUpdate.js
index 4cb4864..fc94057 100644
--- a/SunshineIns/src/fetch/socialUpdate.js
+++ b/SunshineIns/src/fetch/socialUpdate.js
@@ -1,6 +1,6 @@
 import fetch from './_fetch';
 import { message } from 'antd';
-export default (id) => fetch(`api/social/update?id=${id}&status=2`)
+export default (id, status) => fetch(`api/social/update?id=${id}&status=${status}`)
     .catch(
         error => message.error('详情加载失败,请联系管理员', 2)
     );

--
Gitblit v1.8.0