From 7034132702c51654a3e0a8ac0cb133f6f7fae349 Mon Sep 17 00:00:00 2001 From: dengbw Date: Fri, 29 Apr 2022 11:00:22 +0800 Subject: [PATCH] customers_429 --- api/controllers/wxapp/licheb/Customers.php | 3 +++ 1 file changed, 3 insertions(+) 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) {//判断今日是否到店