因为需要的确定状态太多,减少数据库的压力,采取二进制表示状态码 状态码工具类 package com.xmg.p2p.base.util; /** * 用户状态类,记录用户在平台使用系统中所有的状态. * * @author Administrator */ public class BitStatesUtils { public final static Long OP_BIND_PHONE = 1L << 0; // 用户绑定手机状态码 public final static Long O…
生产环境常见的HTTP状态码列表(List of HTTP status codes)为: 200 - OK,服务器成功返回网页 - Standard response for successful HTTP requests. 301 - Moved Permanently(永久跳转),请求的网页已永久跳转到新位置. - This and all future requests should be directed to the given. 403 - Forbidden(禁止…