update goods api fix, status cancel activity, and refactor