wendux / fly

:rocket: Supporting request forwarding and Promise based HTTP client for all JavaScript runtimes.
https://wendux.github.io/dist/#/language
MIT License
3.9k stars 639 forks source link

pref(weex.js): 优化请求成功与失败返回数据结构保持一致 #263

Open chenli1989 opened 4 years ago

chenli1989 commented 4 years ago

weex环境下,很多实际业务场景中,请求失败返回的信息需要呈现给用户失败的原因内容,而且这个失败信息是动态的情况返回。

codecov-commenter commented 4 years ago

Codecov Report

Merging #263 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #263   +/-   ##
=======================================
  Coverage   86.10%   86.10%           
=======================================
  Files           1        1           
  Lines         259      259           
=======================================
  Hits          223      223           
  Misses         36       36           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fced928...f10ae80. Read the comment docs.