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