puzhibing
2 天以前 b83a7d0a9249e74ee337cc5ef2a97d1a100e08fe
ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/util/kuaishou/KSVerifyUtil.java
@@ -29,8 +29,7 @@
    */
   public static VerifyPrepareDataNew certificatePrepare(RedisService redisService, String code){
      //判断token是否过期
//      Object ks_access_token = redisService.getCacheObject("ks_access_token");
      Object ks_access_token = "ChFvYXV0aC5hY2Nlc3NUb2tlbhIw2wStpH_xKVvdiMW3FC-K5jaDZuWrAE-s_Snu40VKs7D-Syd_cVWqZO_y9APvkvVUGhLOP4f6O_NIH5dNtHtm_4-XE8QiIFE-h8UpEf22Wbcrj4qUb_zFeGnZHgwa6rj1h6QVbrQFKAUwAQ";
      Object ks_access_token = redisService.getCacheObject("ks_access_token");
      if(null == ks_access_token){
         //刷新token
         KSClientTokenUtil.refreshToken(redisService);
@@ -72,8 +71,7 @@
    */
   public static List<VerifyResult> certificateVerify(RedisService redisService, String verify_token, String poiId, List<String> encryptedCodes, String order_id){
      //判断token是否过期
//      Object ks_access_token = redisService.getCacheObject("ks_access_token");
      Object ks_access_token = "ChFvYXV0aC5hY2Nlc3NUb2tlbhIw2wStpH_xKVvdiMW3FC-K5jaDZuWrAE-s_Snu40VKs7D-Syd_cVWqZO_y9APvkvVUGhLOP4f6O_NIH5dNtHtm_4-XE8QiIFE-h8UpEf22Wbcrj4qUb_zFeGnZHgwa6rj1h6QVbrQFKAUwAQ";
      Object ks_access_token = redisService.getCacheObject("ks_access_token");
      if(null == ks_access_token){
         //刷新token
         KSClientTokenUtil.refreshToken(redisService);