| | |
| | | /** |
| | | * 无权限错误码 |
| | | */ |
| | | public static final int UNAUTHORIZED_CODE = 403; |
| | | public static final String UNAUTHORIZED_CODE = "403"; |
| | | |
| | | /** |
| | | * 无权限提示信息 |
| | |
| | | /** |
| | | * 未认证错误码 |
| | | */ |
| | | public static final int UNAUTHENTICATED_CODE = 401; |
| | | public static final String UNAUTHENTICATED_CODE = "401"; |
| | | |
| | | /** |
| | | * 未认证提示信息 |
| | |
| | | */ |
| | | public static final Integer TASK_SORT_MIN_VALUE = 0; |
| | | |
| | | // AppId认证相关常量 |
| | | public static final String HEADER_APP_ID = "appId"; //X-App-Id |
| | | public static final String HEADER_APP_SECRET = "appSecret"; //X-App-Secret |
| | | public static final String HEADER_AUTHORIZATION = "authorization"; //Authorization |
| | | public static final String TOKEN_PREFIX = "Zoneyung"; |
| | | public static final String REQUEST_ATTR_APP_ID = "appId"; //request_app_id |
| | | public static final String REQUEST_ATTR_USER_ID = "appSecret"; //request_user_id |
| | | public static final String REQUEST_ATTR_APP_INFO = "APP_INFO"; |
| | | } |