Commit b1c58932 by ken

试试看

parent e1fa0b14
......@@ -139,7 +139,7 @@ function depthByRest(symbol,callback) {
const url = `http://api.zb.com/data/v1/depth?market=${symbol}&size=10`;
_request("GET", url, (err, data) => {
if (err) {
console.error(err);
console.error(url + "出错");
} else {
const key = symbol.replace('_', '').toUpperCase() + 'DEPTH@zb';
symbol = symbol.toUpperCase();
......
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