Commit 03644981 by ken

试试看

parent 77a4f8dd
const depthByRest = require('./zb'); const {depthByRest, subscribe} = require('./zb');
let total = 0; let total = 0;
let total2 = 0; let total2 = 0;
...@@ -33,4 +33,8 @@ function run() { ...@@ -33,4 +33,8 @@ function run() {
}); });
} }
run(); function runWebsocket() {
\ No newline at end of file subscribe();
}
// run();
\ No newline at end of file
...@@ -172,4 +172,7 @@ function run() { ...@@ -172,4 +172,7 @@ function run() {
run(); run();
module.exports = depthByRest module.exports = {
depthByRest,
subscribe
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment