package com.mortals.xhx.module.demo;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Component;

@Component
@ConditionalOnProperty(prefix="config",name = "data", havingValue = "one")
public class BackCategoryRepositoryImpl implements BackCategoryRepository {
    @Override
    public String getBackCategoryDetail(long backCategoryId) {
        return "one";
    }
}
