Browse Source

修复emas短信平台

kobe6258 4 months ago
parent
commit
c2776a742d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -168,7 +168,7 @@ func initMerchant(merchantId string) {
 			}
 			}
 		}
 		}
 	} else {
 	} else {
-		err = redisUtils.SetString(redis.GenerateMerchantKey(), merchantList[0].MerchantID, -1)
+		err = redisUtils.SetString(redis.GenerateMerchantKey(), merchantList[0].MerchantID, 0)
 		if err != nil {
 		if err != nil {
 			logger.Error("redis商户ID添加失败:%v", err)
 			logger.Error("redis商户ID添加失败:%v", err)
 			return
 			return