<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # 組件源碼 /** * <b>方法描述:</b> 設置值(帶過期時間:秒) <br/> * <b>創建者:</b> admin <br/> * <b>創建時間:</b> 2018-05-09 10:56:20 <br/> * * @param key * 入參|key|{@link java.lang.String} * @param seconds * 入參|過期時間|{@link int} * @param value * 入參|值|{@link java.lang.String} * @return -1 異常<br/> * 1 成功<br/> */ @Component(label = "設置值(帶過期時間:秒)", style = "判斷型", type = "同步組件", comment = "設置key 值,帶過期時間-距當前時間,時間單位:秒", version = "1.0.0", deprecated = false, author = "admin", date = "2018-05-09 10:56:20") @InParams(param = { @Param(name = "key", comment = "key", type = java.lang.String.class), @Param(name = "seconds", comment = "過期時間", type = int.class), @Param(name = "value", comment = "值", type = java.lang.String.class) }) @Returns(returns = { @Return(id = "-1", desp = "異常"), @Return(id = "1", desp = "成功") }) public static ResultBase P_setEx(String key, int seconds, String value) { try { redisTemplate.opsForValue().set(key, value, seconds, TimeUnit.SECONDS); return ResultBase.newSuccessResult(); } catch (Exception e) { AppLog.error(e); return ResultBase.newExceptionResult("TPTR5009", "設置值(帶過期時間:秒) 異常:" + AppLog.errorMsg(e)); } } 交易中組件使用方式: ![](https://img.kancloud.cn/65/01/650105809d3c40be168e6156998a3d08_950x750.jpg) ## 參數說明及示例 key:redis中的key,示例: `"qwer"` 過期時間:redis中的key的過期時間,當前時間過后多少秒過期,示例: `1200` 值:設置的值,示例: `"newvalue"` > 設置key 值,帶過期時間-距當前時間,時間單位:秒
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看