将promise换成es6-promise