diff --git a/app/common/service/wechat/WeChatMnpService.php b/app/common/service/wechat/WeChatMnpService.php index a0a44bcf9..c9cb5ef25 100644 --- a/app/common/service/wechat/WeChatMnpService.php +++ b/app/common/service/wechat/WeChatMnpService.php @@ -108,7 +108,7 @@ class WeChatMnpService } $dateTime = new DateTime(date('Y-m-d H:i:s')); $formattedDateTime = $dateTime->format('Y-m-d\TH:i:s.uP'); - if(is_array($logistics_type,[1,2,4])){ + if(in_array($logistics_type,[1,2,4])){ $item_desc='商品'; }else{ $item_desc='充值';