fe-api-monitor-center
v1.4.0
Published
前端监控中心信息搜集
Downloads
3
Readme
fe-monitor-center
Front-end minotor system, browser module
Install
npm i fe-monitor-center -S
or use with cdn
<script src="https://cdn.jsdelivr.net/npm/fe-monitor-center"></script>
Usage
import FeMonitorCenter from 'fe-monitor-center'
FeMonitorCenter('apiMonitor', {
url: 'http://test.abc.com/simple/info',
param: '{"city":1303,"storeName":"","storeStatus":"1","currentPage":1,"pageSize":20}',
response: '{"success":false,"codeNum":0,"codeDesc":"system problem","value":""}',
desc: 'Server error',
group: 1,
type: 2,
app: 'console-admin'
})