zoujiajian 2 anni fa
parent
commit
561770a6a7

+ 1 - 0
netflix-web/src/main/java/com/cyksj/web/controller/manage/distribute/DistributeController.java

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