modify the api of shop item detect