releaserelease_toaliyun_real
| @@ -95,9 +95,9 @@ public class RedisCacheAspect { | |||||
| // 接口路径 reqPath => /api/xxx | // 接口路径 reqPath => /api/xxx | ||||
| String reqPath = requestUrl.substring(requestUrl.indexOf("/api/")); | String reqPath = requestUrl.substring(requestUrl.indexOf("/api/")); | ||||
| if (cache.md5()) { | if (cache.md5()) { | ||||
| redisKey = StringUtils.join(reqPath, DELIMITER_KEY, tenantId, DELIMITER_KEY, HashUtil.md5(StringUtils.join(args, DELIMITER_PARAMS))); | |||||
| redisKey = StringUtils.join(reqPath, DELIMITER_KEY, tenantId, DELIMITER_KEY, HashUtil.md5(StringUtils.join(token,args, DELIMITER_PARAMS))); | |||||
| } else { | } else { | ||||
| redisKey = StringUtils.join(reqPath, DELIMITER_KEY, tenantId, DELIMITER_KEY, StringUtils.join(args, DELIMITER_PARAMS)); | |||||
| redisKey = StringUtils.join(reqPath, DELIMITER_KEY, tenantId, DELIMITER_KEY, StringUtils.join(token,args, DELIMITER_PARAMS)); | |||||
| } | } | ||||
| } else { | } else { | ||||
| redisKey = cache.key(); | redisKey = cache.key(); | ||||
| @@ -92,9 +92,9 @@ public class RedisCacheAspect { | |||||
| // 接口路径 reqPath => /api/xxx | // 接口路径 reqPath => /api/xxx | ||||
| String reqPath = requestUrl.substring(requestUrl.indexOf("/api/")); | String reqPath = requestUrl.substring(requestUrl.indexOf("/api/")); | ||||
| if (cache.md5()) { | if (cache.md5()) { | ||||
| redisKey = StringUtils.join(reqPath, DELIMITER_KEY, tenantId, DELIMITER_KEY, HashUtil.md5(StringUtils.join(args, DELIMITER_PARAMS))); | |||||
| redisKey = StringUtils.join(reqPath, DELIMITER_KEY, tenantId, DELIMITER_KEY, HashUtil.md5(StringUtils.join(token,args, DELIMITER_PARAMS))); | |||||
| } else { | } else { | ||||
| redisKey = StringUtils.join(reqPath, DELIMITER_KEY, tenantId, DELIMITER_KEY, StringUtils.join(args, DELIMITER_PARAMS)); | |||||
| redisKey = StringUtils.join(reqPath, DELIMITER_KEY, tenantId, DELIMITER_KEY, StringUtils.join(token,args, DELIMITER_PARAMS)); | |||||
| } | } | ||||
| } else { | } else { | ||||
| redisKey = cache.key(); | redisKey = cache.key(); | ||||
| @@ -78,6 +78,9 @@ public class PosServiceImpl implements PosService { | |||||
| if (StringUtils.isBlank(phone)) { | if (StringUtils.isBlank(phone)) { | ||||
| errParam(WxPayConstant.PHONE); | errParam(WxPayConstant.PHONE); | ||||
| } | } | ||||
| if (!StringUtils.isNumeric(phone)) { | |||||
| errParam(WxPayConstant.PHONE); | |||||
| } | |||||
| if (StringUtils.isBlank(password)) { | if (StringUtils.isBlank(password)) { | ||||
| errParam(WxPayConstant.PASSWORD); | errParam(WxPayConstant.PASSWORD); | ||||
| } | } | ||||
| @@ -169,7 +169,7 @@ public class WxCouponPasswordServiceImpl implements WxCouponPasswordService { | |||||
| @Override | @Override | ||||
| public void postpone(WxCouponPassword wxCouponPassword) { | public void postpone(WxCouponPassword wxCouponPassword) { | ||||
| wxCouponPasswordMapper.updatePostpone(wxCouponPassword); | |||||
| } | } | ||||
| /* | /* | ||||