Commit 881e256f by 王祖波

log

parent 4187408e
......@@ -525,13 +525,13 @@ public class MaterialApiServiceImpl implements MaterialApiService {
if (StringUtils.isAnyBlank(combinedQDTO.getImageUrl(), combinedQDTO.getQrCodeUrl())) {
return com.gic.api.base.commons.ServiceResponse.failure("9999","参数异常") ;
}
logger.info("请求合成图片并上传企微:{}",JSON.toJSONString(combinedQDTO));
String unionString = combinedQDTO.getUnionString();
String key = ImageCombined.IMAGE_REDIS_KEY + wxEnterpriseId + ":" + UUID.nameUUIDFromBytes(unionString.getBytes(StandardCharsets.UTF_8));
String cache = (String)RedisUtil.getCache(key);
if (StringUtils.isNotBlank(cache)) {
return com.gic.api.base.commons.ServiceResponse.success(cache);
}
logger.info("请求合成图片并上传企微clerkId:{},businessId:{}", combinedQDTO.getClerkId(), combinedQDTO.getBusinessId());
ProviderLocalTag localTag = ProviderLocalTag.tag.get();
String traceId = localTag.traceId;
Future<JSONResponse> future = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment