refactor goods list api