refactor and modify cart.js
refactor and modify categoryManageServcie.js