尝试从第一个然后回调的返回promise
movieCheck.getToken() .then(function (token) { return movieCheck.movieCheck(token);}).then(function (movies) { console.log(movies); //should print json data});
欢迎分享,转载请注明来源:内存溢出
尝试从第一个然后回调的返回promise
movieCheck.getToken() .then(function (token) { return movieCheck.movieCheck(token);}).then(function (movies) { console.log(movies); //should print json data});
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)