From f64dd9f191dff341b4eb430d7bacc44a3db9a279 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期五, 04 三月 2022 10:12:45 +0800 Subject: [PATCH] fix nil --- service/msgPush.go | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/service/msgPush.go b/service/msgPush.go index 52c7578..d07d3de 100644 --- a/service/msgPush.go +++ b/service/msgPush.go @@ -492,7 +492,8 @@ } } else { //鎵句笉鍒拌溅涓伙紝鍗宠涓轰复鏃惰溅锛屽皢杞︾墝浣滀负杞︿富濮撳悕鎺ㄩ�� if sn.PlateNo == "鏃犺溅鐗�" { - carOwners = append(carOwners, sn.PlateNo) + //鏃犺溅鐗岀殑涓嶆帹閫� + //carOwners = append(carOwners, sn.PlateNo) } else { carOwners = append(carOwners, sn.PlateNo+"()") } @@ -769,4 +770,4 @@ return &t, nil } return nil, errors.New("鑾峰彇unipush骞冲彴token澶辫触") -} \ No newline at end of file +} -- Gitblit v1.8.0