Showing
1 changed file
with
4 additions
and
2 deletions
@@ -116,7 +116,8 @@ $likeBtn.bind('click', function() { | @@ -116,7 +116,8 @@ $likeBtn.bind('click', function() { | ||
116 | method: 'post', | 116 | method: 'post', |
117 | url: '/home/upAndDown', | 117 | url: '/home/upAndDown', |
118 | data: { | 118 | data: { |
119 | - suggest_id: id | 119 | + suggest_id: id, |
120 | + reliable: 1 | ||
120 | } | 121 | } |
121 | }).then(function(data) { | 122 | }).then(function(data) { |
122 | if (data.code === 200) { | 123 | if (data.code === 200) { |
@@ -143,7 +144,8 @@ $disLikeBtn.bind('click', function() { | @@ -143,7 +144,8 @@ $disLikeBtn.bind('click', function() { | ||
143 | method: 'post', | 144 | method: 'post', |
144 | url: '/home/upAndDown', | 145 | url: '/home/upAndDown', |
145 | data: { | 146 | data: { |
146 | - suggest_id: id | 147 | + suggest_id: id, |
148 | + reliable: 2 | ||
147 | } | 149 | } |
148 | }).then(function(data) { | 150 | }).then(function(data) { |
149 | if (data.code === 200) { | 151 | if (data.code === 200) { |
-
Please register or login to post a comment