Showing
2 changed files
with
2 additions
and
2 deletions
@@ -160,7 +160,7 @@ function initInfosEvt($container) { | @@ -160,7 +160,7 @@ function initInfosEvt($container) { | ||
160 | type: 'POST', | 160 | type: 'POST', |
161 | url: '/guang/opt/collectArticle', | 161 | url: '/guang/opt/collectArticle', |
162 | data: { | 162 | data: { |
163 | - id: getUrlParam('id'), | 163 | + id: $info.data('id'), |
164 | opt: opt, | 164 | opt: opt, |
165 | yh_channel: yhChannel, | 165 | yh_channel: yhChannel, |
166 | uid: getUrlParam('uid') | 166 | uid: getUrlParam('uid') |
@@ -67,7 +67,7 @@ class OptController extends AbstractAction | @@ -67,7 +67,7 @@ class OptController extends AbstractAction | ||
67 | } | 67 | } |
68 | 68 | ||
69 | /* 判断用户是否登录 */ | 69 | /* 判断用户是否登录 */ |
70 | - $uid = $this->get('uid'); | 70 | + $uid = $this->post('uid'); |
71 | if (empty($uid) || !is_numeric($uid)) { | 71 | if (empty($uid) || !is_numeric($uid)) { |
72 | break; | 72 | break; |
73 | } | 73 | } |
-
Please register or login to post a comment