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
毕凯
9 years ago
Commit
44b514bd8013f9fda3d796710958254fc7baf490
1 parent
dd118d70
去除ajax判断
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
static/dist/.DS_Store
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
static/dist/.DS_Store
View file @
44b514b
No preview for this file type
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
View file @
44b514b
...
...
@@ -643,9 +643,9 @@ class IndexController extends AbstractAction
$uid
=
$this
->
getUid
();
}
do
{
if
(
!
$this
->
isAjax
())
{
break
;
}
// if (!$this->isAjax()) {
// break;
// }
if
(
empty
(
$uid
))
{
$data
[
'code'
]
=
401
;
$refer
=
$_SERVER
[
'HTTP_REFERER'
];
...
...
@@ -679,9 +679,9 @@ class IndexController extends AbstractAction
$uid
=
$this
->
getUid
();
}
do
{
if
(
!
$this
->
isAjax
())
{
break
;
}
// if (!$this->isAjax()) {
// break;
// }
if
(
!
empty
(
$shopId
)
&&
!
empty
(
$uid
))
{
$data
=
ShopData
::
cancelShopFav
(
$uid
,
$shopId
);
}
...
...
Please
register
or
login
to post a comment