Caratacus / Crown

Based on SpringBoot2, Crown builds a rapidly developed web application scaffolding.
http://crown.baomidou.com
MIT License
168 stars 76 forks source link

状态码httpCode修改为status #6

Closed chordmo closed 5 years ago

chordmo commented 5 years ago

状态码httpCode修改为status 统一将成功和失败,请求返回的状态码改为:status 方便客户端获取status

codecov-io commented 5 years ago

Codecov Report

Merging #6 into master will not change coverage. The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master       #6   +/-   ##
=========================================
  Coverage     76.74%   76.74%           
  Complexity      365      365           
=========================================
  Files            71       71           
  Lines           989      989           
  Branches         51       51           
=========================================
  Hits            759      759           
  Misses          192      192           
  Partials         38       38
Impacted Files Coverage Δ Complexity Δ
...main/java/org/crown/framework/model/ErrorCode.java 100% <ø> (ø) 0 <0> (ø) :arrow_down:
...va/org/crown/framework/responses/ApiResponses.java 50% <0%> (ø) 4 <0> (ø) :arrow_down:
.../java/org/crown/framework/enums/ErrorCodeEnum.java 82.85% <80%> (ø) 6 <3> (ø) :arrow_down:

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 d46694f...9588409. Read the comment docs.