Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
2016-07-14 18:20:51 +0800
Commit
49d64ca5c71d36bf9d43cd1033bfad76af2be209
1 parent
809dc6a7
获取UID,文章ID
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
static/js/guang/info.js
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Opt.php
static/js/guang/info.js
View file @
49d64ca
...
...
@@ -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'
)
...
...
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Opt.php
View file @
49d64ca
...
...
@@ -67,7 +67,7 @@ class OptController extends AbstractAction
}
/* 判断用户是否登录 */
$uid
=
$this
->
ge
t
(
'uid'
);
$uid
=
$this
->
pos
t
(
'uid'
);
if
(
empty
(
$uid
)
||
!
is_numeric
(
$uid
))
{
break
;
}
...
...
Please
register
or
login
to post a comment