Browse Source

no message

zhangchuanxing 1 tháng trước cách đây
mục cha
commit
fc5f6d58c3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
 	key := "CYGX_WX_USER_END_DATE_KEY" + fmt.Sprint("C_", companyId, "U_", userId)
 	if utils.Rc.IsExist(key) {
 	if utils.Rc.IsExist(key) {
 		return
 		return
-		utils.Rc.Put(key, 1, 1*time.Second)
 	}
 	}
+	utils.Rc.Put(key, 1, 3*time.Second)
 	var err error
 	var err error
 	defer func() {
 	defer func() {
 		if err != nil {
 		if err != nil {