Authored by hf

code review by hf: fixes bug to coupon newuser second times

... ... @@ -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)
... ...
... ... @@ -39,7 +39,7 @@ class DetailModel
elseif (is_numeric($productSkn)) {
$baseInfo = DetailData::baseInfo(null, $uid, $productSkn);
}
// 商品名称
if (empty($baseInfo['productName'])) {
return $result;
... ...