소스 검색

Merge branch 'need/cygx_1038' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

zhangchuanxing 2 달 전
부모
커밋
e4d9b7380e
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 {