Authored by 郭成尧

获取UID,文章ID

... ... @@ -160,7 +160,7 @@ function initInfosEvt($container) {
type: 'POST',
url: '/guang/opt/collectArticle',
data: {
id: getUrlParam('id'),
id: $info.data('id'),
opt: opt,
yh_channel: yhChannel,
uid: getUrlParam('uid')
... ...
... ... @@ -67,7 +67,7 @@ class OptController extends AbstractAction
}
/* 判断用户是否登录 */
$uid = $this->get('uid');
$uid = $this->post('uid');
if (empty($uid) || !is_numeric($uid)) {
break;
}
... ...