Browse Source

no message

zhangchuanxing 1 month ago
parent
commit
fc5f6d58c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/wx_user.go

+ 1 - 1
services/wx_user.go

@@ -1506,8 +1506,8 @@ func GetWxUserEndDate(user *models.WxUserItem) (isShowTerminateButton bool, endD
 	key := "CYGX_WX_USER_END_DATE_KEY" + fmt.Sprint("C_", companyId, "U_", userId)
 	if utils.Rc.IsExist(key) {
 		return
-		utils.Rc.Put(key, 1, 1*time.Second)
 	}
+	utils.Rc.Put(key, 1, 3*time.Second)
 	var err error
 	defer func() {
 		if err != nil {