浏览代码

修复emas短信平台

kobe6258 4 月之前
父节点
当前提交
c2776a742d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.go

+ 1 - 1
main.go

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