gotapi-yaochi-client

1.0.0 • Public • Published
import Client from "./src/Client"
import Operator from "./src/Operator";
import Operation from "./src/Operation";

let client =new Client("http://localhost:8011/yaochi/log/add",
    "some-user","some-password","ts-client-test");
let operator:Operator = new Operator("renlu","黄滚","{}");
let operation:Operation = new Operation("查看资料","viewInfo","无","{}");
client.logEvent("some-uuid",operator,operation).then((data)=>{
    console.log(data);
    console.log(data.data);
});

/gotapi-yaochi-client/

    Package Sidebar

    Install

    npm i gotapi-yaochi-client

    Weekly Downloads

    2

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    21.9 kB

    Total Files

    30

    Last publish

    Collaborators

    • suntower