代码中的status与state

status is used to describe an outcome of an operation (e.g. success/fail).
state is used to describe a stage in a process (e.g. pending/dispatched).

你可能感兴趣的:(代码中的status与state)