This commit is contained in:
2023-04-13 18:40:32 +08:00
parent 66dd47c3b3
commit 727b548be4
2 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ class ReportPreProductOrderCommand extends HyperfCommand
$redis_value = $redis->get($redis_key);
$redis->incr($redis_key);
if(!empty($redis_value)){
if ($redis_value >= 100){
if ($redis_value >= 2){
// 存储上报失败
$this->savaReportFail($item['order_product_id'],"超出最大上报次数");