Authored by chenl

修改了dev的测试代码。review by days。

@@ -626,7 +626,7 @@ export function getRecommendPop() { @@ -626,7 +626,7 @@ export function getRecommendPop() {
626 } 626 }
627 dispatch(recommendPopRequest(channelStr)); 627 dispatch(recommendPopRequest(channelStr));
628 let fetchRecommendPop = (fromPage, rec_pos) =>{ 628 let fetchRecommendPop = (fromPage, rec_pos) =>{
629 - return new HomeService('http://dev-api.yohops.com:9999').recommendPop(fromPage, rec_pos) 629 + return new HomeService(app.host).recommendPop(fromPage, rec_pos)
630 .then(json =>{ 630 .then(json =>{
631 let payload = floorParser.parseRecommendPop(json); 631 let payload = floorParser.parseRecommendPop(json);
632 dispatch(recommendPopSuccess(payload, channelStr)); 632 dispatch(recommendPopSuccess(payload, channelStr));