Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
hf
2015-12-18 19:10:05 +0800
Commit
a97112aae577bfcbab0e8c66d34b79ec18528544
1 parent
d60ed2d1
code review by hf: fixes bug to coupon newuser second times
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
library/LibModels/Wap/Product/DetailData.php
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
library/LibModels/Wap/Product/DetailData.php
View file @
a97112a
...
...
@@ -27,6 +27,7 @@ class DetailData
*
* @param int $productId 商品ID
* @param int $uid 用户ID
* @param int $productSkn SKN
* @return array
*/
public
static
function
baseInfo
(
$productId
,
$uid
,
$productSkn
=
null
)
...
...
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
View file @
a97112a
...
...
@@ -39,7 +39,7 @@ class DetailModel
elseif
(
is_numeric
(
$productSkn
))
{
$baseInfo
=
DetailData
::
baseInfo
(
null
,
$uid
,
$productSkn
);
}
// 商品名称
if
(
empty
(
$baseInfo
[
'productName'
]))
{
return
$result
;
...
...
Please
register
or
login
to post a comment