Commit da895ce3 by zihan

调整rest请求的返回

parent 7a91d270
......@@ -245,7 +245,7 @@ class biboxApi {
} catch (e) {
console.error("parse body时出错");
console.error("status code:" + response.statusCode);
callback(e, null)
callback({statusCode:response.statusCode}, null)
// if (response.statusCode === 429) {
// callback({statusCode: response.statusCode})
// } else {
......
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