浏览代码

no message

zhangchuanxing 1 月之前
父节点
当前提交
fc5f6d58c3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {