|
|
@@ -54,6 +54,10 @@ class ShopController extends BaseController
|
|
|
$hd = HdClass::getById($hdId, true);
|
|
|
$customId = $hd->customId;
|
|
|
$custom = CustomClass::getById($customId, true);
|
|
|
+ if (!empty($custom)) {
|
|
|
+ $custom->visitTime = date("Y-m-d H:i:s");
|
|
|
+ $custom->save();
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|