{
  "RET_CODE": {
    "__comment__":"基础",
    "OK": 9000,
    "UNKNOWN_ERROR": 9001,
    "INVALID_REQUEST_PARAM": 9002,
    "IS_TEST_ACC": 9003,
    "MYSQL_ERROR": 9004,
    "NONEXISTENT_ACT": 9005,
    "LACK_OF_DIAMOND": 9006,
    "LACK_OF_GOLD": 9007,
    "LACK_OF_ENERGY": 9008,
    "NONEXISTENT_ACT_HANDLER": 9009,
    "LOCALLY_NO_AVAILABLE_ROOM": 9010,
    "LOCALLY_NO_SPECIFIED_ROOM": 9011,
    "PLAYER_NOT_ADDABLE_TO_ROOM": 9012,
    "PLAYER_NOT_READDABLE_TO_ROOM": 9013,
    "PLAYER_NOT_FOUND": 9014,
    "PLAYER_CHEATING": 9015,
    "WECHAT_SERVER_ERROR": 9016,
    "IS_BOT_ACC": 9017,

    "__comment__":"SMS",
    "SMS_CAPTCHA_REQUESTED_TOO_FREQUENTLY": 5001,
    "SMS_CAPTCHA_NOT_MATCH": 5002,
    "INVALID_TOKEN": 2001,

    "DUPLICATED": 2002,
    "INCORRECT_HANDLE": 2004,

    "INCORRECT_PASSWORD": 2006,
    "INCORRECT_CAPTCHA": 2007,
    "INVALID_EMAIL_LITERAL": 2008,
    "NO_ASSOCIATED_EMAIL": 2009,
    "SEND_EMAIL_TIMEOUT": 2010,
    "INCORRECT_PHONE_COUNTRY_CODE": 2011,
    "NEW_HANDLE_CONFLICT": 2013,
    "FAILED_TO_UPDATE": 2014,
    "FAILED_TO_DELETE": 2015,
    "FAILED_TO_CREATE": 2016,
    "INCORRECT_PHONE_NUMBER": 2018,
    "INSUFFICIENT_MEM_TO_ALLOCATE_CONNECTION": 3001,
    "PASSWORD_RESET_CODE_GENERATION_PER_EMAIL_TOO_FREQUENTLY": 4000,
    "TRADE_CREATION_TOO_FREQUENTLY": 4002,
    "MAP_NOT_UNLOCKED": 4003,

    "GET_SMS_CAPTCHA_RESP_ERROR_CODE": 5003,
    "NOT_IMPLEMENTED_YET": 65535
  },
  "AUTH_CHANNEL": {
    "SMS": 0,
    "WECHAT": 1,
    "WECHAT_GAME": 2
  },
  "PLAYER": {
    "DIAMOND": 1,
    "GOLD": 2,
    "ENERGY": 3,
    "SMS_EXPIRED_SECONDS":120,
    "SMS_VALID_RESEND_PERIOD_SECONDS":30,
    "INT_AUTH_TOKEN_TTL_SECONDS":604800
  },
  "WS": {
    "INTERVAL_TO_PING": 2000,
    "WILL_KICK_IF_INACTIVE_FOR": 6000
  }
}
