def save(self):
        """存储过程
        """
        self.client.update(
            {
                'portfolio_cookie': self.portfolio_cookie,
                'user_cookie': self.user_cookie
            },
            {'$set': self.message},
            upsert=True
        )
存储过程