Add member function, remove useless code & add comments for a better understanding
Add member function, remove useless code & add comments for a better understanding

chainHero/heroes-service,chainHero/heroes-service