rain
2024-04-01 565dd5e05e6cf03bb8939bb5c1c0a51c2101d063
src/main/java/com/dji/sample/component/oss/service/impl/OssAspectHandler.java
@@ -21,10 +21,10 @@
    @Before("execution(public * com.dji.sample.component.oss.service.impl.OssServiceContext.*(..))")
    public void before() {
        if (!OssConfiguration.enable) {
            throw new IllegalArgumentException("Please enable OssConfiguration.");
            throw new IllegalArgumentException("请启用OssConfiguration");
        }
        if (this.ossServiceContext.getOssService() == null) {
            throw new IllegalArgumentException("Please check the OssConfiguration configuration.");
            throw new IllegalArgumentException("请检查OssConfiguration配置");
        }
        this.ossServiceContext.createClient();
    }