Showing
1 changed file
with
2 additions
and
2 deletions
@@ -23,12 +23,12 @@ const api = new API(); | @@ -23,12 +23,12 @@ const api = new API(); | ||
23 | const dateFormate = (str) =>{ | 23 | const dateFormate = (str) =>{ |
24 | var time = new Date(str * 1000); | 24 | var time = new Date(str * 1000); |
25 | var y = time.getFullYear(); | 25 | var y = time.getFullYear(); |
26 | - var m = time.getMonth()+1; | 26 | + var m = time.getMonth() + 1; |
27 | var d = time.getDate(); | 27 | var d = time.getDate(); |
28 | var h = time.getHours(); | 28 | var h = time.getHours(); |
29 | 29 | ||
30 | return y + '年' + m + '月' + d + '日' + h + '时'; | 30 | return y + '年' + m + '月' + d + '日' + h + '时'; |
31 | -} | 31 | +}; |
32 | 32 | ||
33 | const getOutletResource = (channel, contentcode) => { | 33 | const getOutletResource = (channel, contentcode) => { |
34 | const params = { | 34 | const params = { |
-
Please register or login to post a comment