/*
   *  Date	 :2015-6-4 11:47
   *  Author:吴梦飞
   *  Desc  :接口返回状态枚举 可添加
   */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nirvana.Common.ApiBase
{
    public enum APIResult
    {
        FAIL = 0,
        SUCCESS = 1,
        WXUNAUTHORITY =2,  //微信获取不到用户信息
        REDIRECT = 404,   //未找到
        SYSTEMERROR = 500,//系统异常
        NOAUTH =40001,//没有访问权限
        //100段资源相关
        DISAblEDRESOURCE =100001,//请求禁用资源请求
        NORESOURCE=100002 //无资源
    }

    public enum JFAPIRESULT
    {
        /// <summary>
        /// 成功
        /// </summary>
        SUCCESS=0,
        /// <summary>
        /// 车牌号错误
        /// </summary>
        REGERROR=101,
        /// <summary>
        /// 车架号错误
        /// </summary>
        VINERROR=102,
        /// <summary>
        /// 发动机号错误
        /// </summary>
        ENGINEERROR=103,
        /// <summary>
        /// 不支持该类型
        /// </summary>
        NOTSUPPORT=104,
        /// <summary>
        /// 不支持扣分违章代缴
        /// </summary>
        NOTSUPPORTADD=105,
        /// <summary>
        /// 违章时间格式错误
        /// </summary>
        TIMEERROR=106,
        /// <summary>
        /// 违章编码错误
        /// </summary>
        WZCODEERROR=107,
        /// <summary>
        /// 代缴信息重复
        /// </summary>
        INFOREPEAT=108,
        /// <summary>
        /// 提交订单总金额与实际支付金额不符合
        /// </summary>
        MONEYERROR=109,
        /// <summary>
        /// 不存在该订单信息
        /// </summary>
        NOTFOUND=110,
        /// <summary>
        /// 行驶证错误
        /// </summary>
        DRIVEERROR=111,
        /// <summary>
        /// 驾驶证号错误
        /// </summary>
        CARERROR=112,
        /// <summary>
        /// 不能办理
        /// </summary>
        NOTHANDLER=113,
        /// <summary>
        /// 违章信息条数超过限制
        /// </summary>
        WZMAXERROR=114,
        /// <summary>
        /// 订单已支付
        /// </summary>
        WZPAYYED=115,
        /// <summary>
        /// 订单超时未支付,自动关闭
        /// </summary>
        PAYTIMEOUT=301,
        /// <summary>
        /// 订单取消成功
        /// </summary>
        CANCELSUCCESS=302,
        /// <summary>
        /// 当前订单不能取消
        /// </summary>
        CANTCANCEL=303,
        /// <summary>
        /// 系统错误
        /// </summary>
        SYSTEMERROR=501
    }
}
