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
1ae16ea1bebc99e908d7128bc7e09f2d60fbcdd4
1 parent
3a5b58ff
加了个不疼不痒的错误输出方法
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/controllers/Coupon.php
yohobuy/m.yohobuy.com/application/controllers/Coupon.php
View file @
1ae16ea
...
...
@@ -36,6 +36,7 @@ class CouponController extends AbstractAction
$result
=
CouponFloorProcess
::
getContent
(
$resource
[
'data'
]);
}
// $this->debugOut($resource);
$this
->
_view
->
display
(
'index'
,
array
(
'content'
=>
$result
,
'floorPage'
=>
true
...
...
@@ -232,4 +233,18 @@ class CouponController extends AbstractAction
];
return
$result
;
}
/**
*
* 数据输出
*
* @param $data
*/
public
function
debugOut
(
$data
){
header
(
"Content-type:text/html;charset=utf-8"
);
echo
'<pre>'
;
print_r
(
$data
);
echo
'</pre>'
;
exit
;
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment