old_contents: # coding:utf-8
  ###################
  # version  0.1
  # author  王节红,
  ###################
  
  # 错误号   英文代码    中文描述    备注
  CONSTANT = {
      "100001": ["Required field can not be empty", u"必填字段不能空"],
      "100002": ["Request type error", u"请求类型错误"],
      "100003": ["Check forbidden words throw exception.", u"禁词检查出现异常"],
      "100004": ["", u"网络异常"],
      "100005": ["", u"用户信息获取失败"],
      "100006": ["", u"信息获取失败"],
      "100007": ["Query interface detail information throw exception", u"查询API接口明细信息出现异常"],
      "100008": ["Parameter type error", u"参数类型错误"],
  
      "200001": ["", u"账户已禁用"],
      "200002": ["", u"密码不正确"],
      "200003": ["", u"用户名不存在"],
      "200004": ["", u"退出失败"],
  
      "300015": ["", u"查询列表异常"],
      "300016": ["", u"新增团队异常"],
      "300017": ["", u"当前团队名称已存在"],
      "300018": ["", u"新增团队成功"],
      "300019": ["", u"找不到关联的工程"],
      "300020": ["", u"新增团队成功"],
      "300021": ["", u"查询页码错误"],
      "300022": ["", u"当前项目名称已存在"],
      "300023": ["", u"新增项目异常"],
      "300024": ["", u"找不到关联的团队"],
      "300025": ["", u"找不到关联的项目"],
  
  }
  
  
  #
  def getMessage(k='100100000', en='ch'):
      k = str(k)
      if not k:
          return None
  
      if en == 'ch':
          return CONSTANT.get(k)[1]
      elif en == 'en':
          return CONSTANT.get(k)[0]
      return CONSTANT.get(k)[1]
new_contents: # coding:utf-8
  ###################
  # version  0.1
  # author  王节红,
  ###################
  
  # 错误号   英文代码    中文描述    备注
  CONSTANT = {
      "100001": ["Required field can not be empty", u"必填字段不能空"],
      "100002": ["Request type error", u"请求类型错误"],
      "100003": ["Check forbidden words throw exception.", u"禁词检查出现异常"],
      "100004": ["", u"网络异常"],
      "100005": ["", u"用户信息获取失败"],
      "100006": ["", u"信息获取失败"],
      "100007": ["Query interface detail information throw exception", u"查询API接口明细信息出现异常"],
      "100008": ["Parameter type error", u"参数类型错误"],
  
      "200001": ["", u"账户已禁用"],
      "200002": ["", u"密码不正确"],
      "200003": ["", u"用户名不存在"],
      "200004": ["", u"退出失败"],
  
      "300015": ["", u"查询列表异常"],
      "300016": ["", u"新增团队异常"],
      "300017": ["", u"当前团队名称已存在"],
      "300018": ["", u"新增团队成功"],
      "300019": ["", u"找不到关联的工程"],
      "300020": ["", u"新增团队成功"],
      "300021": ["", u"查询页码错误"],
      "300022": ["", u"当前项目名称已存在"],
      "300023": ["", u"新增项目异常"],
      "300024": ["", u"找不到关联的团队"],
      "300025": ["", u"找不到关联的项目"],
      "300026": ["Add interface fail", u"新增API接口失败"],
      "300027": ["Add interface throw exception", u"新增API接口出现异常"],
  
  }
  
  
  #
  def getMessage(k='100100000', en='ch'):
      k = str(k)
      if not k:
          return None
  
      if en == 'ch':
          return CONSTANT.get(k)[1]
      elif en == 'en':
          return CONSTANT.get(k)[0]
      return CONSTANT.get(k)[1]
subject: update errorcode.py