Authored by 郝肖肖

恢复被误删的代码

@@ -104,9 +104,10 @@ const getResources = (params, options) => { @@ -104,9 +104,10 @@ const getResources = (params, options) => {
104 } 104 }
105 105
106 list = { 106 list = {
  107 + id: res.template_id,
107 title: res.data.title, 108 title: res.data.title,
108 - more_url: res.data.more_url,  
109 - more_name: res.data.more_name, 109 + moreUrl: res.data.more_url,
  110 + moreName: res.data.more_name,
110 image: res.data.image 111 image: res.data.image
111 }; 112 };
112 113
@@ -115,8 +116,8 @@ const getResources = (params, options) => { @@ -115,8 +116,8 @@ const getResources = (params, options) => {
115 case 'titleFloor': 116 case 'titleFloor':
116 list = { 117 list = {
117 name: res.data.title.name, 118 name: res.data.title.name,
118 - more_url: res.data.title.more_url,  
119 - more_name: res.data.title.more_name 119 + moreUrl: res.data.title.more_url,
  120 + moreName: res.data.title.more_name
120 }; 121 };
121 122
122 if (res.data.title.name === '热门商品') { 123 if (res.data.title.name === '热门商品') {