From bd3c725e4d718b603d3053fca069b2dbbdd839b7 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 4 Jan 2020 18:05:07 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E7=A7=BB=E5=8A=A8=E5=88=B0=20healths.js=20?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/Bootstrap.Admin/wwwroot/js/healths.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/admin/Bootstrap.Admin/wwwroot/js/healths.js b/src/admin/Bootstrap.Admin/wwwroot/js/healths.js index 3bf921b6..927add97 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/js/healths.js +++ b/src/admin/Bootstrap.Admin/wwwroot/js/healths.js @@ -1,4 +1,9 @@ $(function () { + $.extend({ + sendHealths: function (data) { + $.bc({ url: 'api/Interface/Healths', data: JSON.stringify(data), method: 'post' }); + } + }); var healthStatus = ['', '', '']; var StatusFormatter = function (value) { return healthStatus[value];