diff --git a/api/controllers/wxapp/licheb/Customers.php b/api/controllers/wxapp/licheb/Customers.php index 8b05561e..0b955f7f 100644 --- a/api/controllers/wxapp/licheb/Customers.php +++ b/api/controllers/wxapp/licheb/Customers.php @@ -366,6 +366,9 @@ class Customers extends Wxapp } } strlen($is_top) && $up_data['is_top'] = $is_top; + if ($status == 1 && $status != $row['status']) {//到店客户和数据库不同到店加1 + $a_num = 1; + } if ($a_num || $t_num) { $day = date('Y-m-d'); if ($a_num) {//判断今日是否到店