huangjiajun 1 month ago
parent
commit
abafb83bb8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/consume_integral_settlement.go

+ 1
- 1
rule/consume_integral_settlement.go View File

@@ -148,7 +148,7 @@ func DailySettlementBlockConsumeIntegral(engine *xorm.Engine, mid string, isTask
one, _ := db.QueryNativeStringSess(session, sql) one, _ := db.QueryNativeStringSess(session, sql)
for _, v := range uids { 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") userStatusList[zhios_order_relate_utils.StrToInt(v)]["date"] = time.Now().Format("2006-01-02")
for _, v1 := range one { for _, v1 := range one {
if v1["uid"] == v { if v1["uid"] == v {


Loading…
Cancel
Save