package com.chushang.oss.service.impl;

import com.alibaba.fastjson2.JSONObject;
import com.chushang.common.core.web.Result;
import com.chushang.oss.entity.dto.OcrDTO;
import com.chushang.oss.service.OcrService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.stereotype.Service;

@Slf4j
@Service("aliOcrService")
@ConditionalOnExpression("'${ocr.service}'.equals('ali')")
public class AliOcrServiceImpl implements OcrService {
    @Override
    public Result<JSONObject> ocr(OcrDTO ocr) {
        return null;
    }
}
