Showing
1 changed file
with
4 additions
and
2 deletions
@@ -47,9 +47,11 @@ const banner = () => { | @@ -47,9 +47,11 @@ const banner = () => { | ||
47 | return service.get('operations/api/v5/resource/get', { | 47 | return service.get('operations/api/v5/resource/get', { |
48 | content_code: 'ec9eb72eae121fcd6c1b7d1de75caff1' | 48 | content_code: 'ec9eb72eae121fcd6c1b7d1de75caff1' |
49 | }, { | 49 | }, { |
50 | - cache: true | 50 | + cache: true, |
51 | + code: 200 | ||
51 | }).then((result) => { | 52 | }).then((result) => { |
52 | - if (result && result.code === 200) { | 53 | + console.log(result) |
54 | + if (result && result.data) { | ||
53 | return result.data[0]; | 55 | return result.data[0]; |
54 | } | 56 | } |
55 | }); | 57 | }); |
-
Please register or login to post a comment