// lib/http_status_codes.dart class HttpStatusCodes { // Success codes static const int ok = 200; static const int created = 201; static const int accepted = 202; // Client error codes static const int badRequest = 400; static const int unauthorized = 401;//401 参数错误 static const int forbidden = 403;//403 禁止,多条数据,不允许修改 static const int notFound = 404;//404 没有报告 // Server error codes static const int internalServerError = 500;//500 内部异常 static const int notImplemented = 501; static const int serviceUnavailable = 503; }