|
@@ -146,6 +146,7 @@ public class DistributeController {
|
|
|
if (redisService.hasKey(cacheKey)) {
|
|
if (redisService.hasKey(cacheKey)) {
|
|
|
redisService.del(cacheKey);
|
|
redisService.del(cacheKey);
|
|
|
}
|
|
}
|
|
|
|
|
+ throw BusinessRuntimeException.getInstance(e.getMessage());
|
|
|
}
|
|
}
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult("添加成功");
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult("添加成功");
|
|
|
}
|
|
}
|