From 942cb64adf9f3f8113549ffc9f64e6861d556064 Mon Sep 17 00:00:00 2001
From: Mr Ke <kelq@hugeinfo.com.cn>
Date: Wed, 27 May 2020 17:41:57 +0800
Subject: [PATCH] 加入iframeKey值

---
 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