Showing
2 changed files
with
0 additions
and
2 deletions
@@ -72,7 +72,6 @@ module.exports = class extends global.yoho.BaseModel { | @@ -72,7 +72,6 @@ module.exports = class extends global.yoho.BaseModel { | ||
72 | getCateData(channel) { | 72 | getCateData(channel) { |
73 | return this.get({ | 73 | return this.get({ |
74 | data: {method: 'app.sort.get'}, | 74 | data: {method: 'app.sort.get'}, |
75 | - api: global.yoho.API, | ||
76 | param: {cache: true} | 75 | param: {cache: true} |
77 | }).then((result) => { | 76 | }).then((result) => { |
78 | 77 |
@@ -194,7 +194,6 @@ module.exports = class extends global.yoho.BaseModel { | @@ -194,7 +194,6 @@ module.exports = class extends global.yoho.BaseModel { | ||
194 | data: _.assign({ | 194 | data: _.assign({ |
195 | method: 'app.search.getTerms' | 195 | method: 'app.search.getTerms' |
196 | }, params), | 196 | }, params), |
197 | - api: global.yoho.API, | ||
198 | param: {cache: true} | 197 | param: {cache: true} |
199 | }).then((result) => { | 198 | }).then((result) => { |
200 | if (result && result.code === 200) { | 199 | if (result && result.code === 200) { |
-
Please register or login to post a comment