shish 9 месяцев назад
Родитель
Сommit
6f0ab79e52
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-hd/controllers/GhsController.php

+ 1 - 1
app-hd/controllers/GhsController.php

@@ -427,7 +427,7 @@ class GhsController extends BaseController
         if (empty($custom)) {
             util::fail('没有找到客户');
         }
-        if ($custom->black == 2) {
+        if ($custom->black == 1) {
             //没有列入黑名单的,增加访客记录
             StatVisitClass::addGhsCustomVisit($info, $custom);
         }