code: def save(self):
          
          if self.wechat_id is not None:
              self.client.update(
                  {'wechat_id': self.wechat_id},
                  {'$set': self.message},
                  upsert=True
              )
          else:
              self.client.update(
                  {
                      'username': self.username,
                      'password': self.password
                  },
                  {'$set': self.message},
                  upsert=True
              )
  
          # user ==> portfolio 的存储
          # account的存储在  portfolio.save ==> account.save 中
          for portfolio in list(self.portfolio_list.values()):
              portfolio.save()
docs: 将QA_USER的信息存入数据库
  
          ATTENTION:
  
          在save user的时候, 需要同时调用  user/portfolio/account链条上所有的实例化类 同时save