From a1eb0f2d9185683e47117fefed06c71a12b5df6d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 15 Nov 2024 13:41:29 +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 02b3190..5d4a616 100644 --- a/rule/consume_integral_settlement.go +++ b/rule/consume_integral_settlement.go @@ -162,7 +162,7 @@ func DailySettlementBlockConsumeIntegral(engine *xorm.Engine, mid string, isTask storeone, _ := db.QueryNativeStringSess(session, storesql) for _, v := range storeUids { - if storeStatusList[zhios_order_relate_utils.StrToInt(v)]["status"] != "1" { + if storeStatusList[zhios_order_relate_utils.StrToInt(v)] != nil && storeStatusList[zhios_order_relate_utils.StrToInt(v)]["status"] != "1" { storeStatusList[zhios_order_relate_utils.StrToInt(v)]["date"] = time.Now().Format("2006-01-02") for _, v1 := range storeone { if v1["uid"] == v {