From abafb83bb804124e4a5a4026bcf4072ded4e1a76 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 15 Nov 2024 13:39:24 +0800 Subject: [PATCH] 1 --- rule/consume_integral_settlement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/consume_integral_settlement.go b/rule/consume_integral_settlement.go index bc9d312..02b3190 100644 --- a/rule/consume_integral_settlement.go +++ b/rule/consume_integral_settlement.go @@ -148,7 +148,7 @@ func DailySettlementBlockConsumeIntegral(engine *xorm.Engine, mid string, isTask one, _ := db.QueryNativeStringSess(session, sql) for _, v := range uids { - if userStatusList[zhios_order_relate_utils.StrToInt(v)]["status"] != "1" { + if userStatusList[zhios_order_relate_utils.StrToInt(v)] != nil && userStatusList[zhios_order_relate_utils.StrToInt(v)]["status"] != "1" { userStatusList[zhios_order_relate_utils.StrToInt(v)]["date"] = time.Now().Format("2006-01-02") for _, v1 := range one { if v1["uid"] == v {