@seeu/report-robot

使用钉钉群聊机器人发送代码报错,接口报错

Usage no npm install needed!

<script type="module">
  import seeuReportRobot from 'https://cdn.skypack.dev/@seeu/report-robot';
</script>

README

报告机器人

使用钉钉群聊机器人发送代码报错,接口报错

安装

npm i -S @seeu/report-robot
# or use yarn
# yarn add @seeu/report-robot

小程序接入

import { MpReportRobot } from '@seeu/report-robot'

const robot = new MpReportRobot({
  ACCESS_TOKEN: '你的ACCESS_TOKEN',
  withAsk: true,
})
robot.watchXHR()
robot.watchCodeError()

export default robot