fix commonController 防呆處理，新增 doCreateAndIndexDetail