This commit is contained in:
pengjie 2023-08-18 09:02:33 +08:00
parent 995d27fd61
commit 38fbe6022f

View File

@ -2,7 +2,6 @@ package com.zhgd.xmgl.config;
import com.arcsoft.face.FaceEngine; import com.arcsoft.face.FaceEngine;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner; import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order; import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
@ -20,14 +19,14 @@ import org.springframework.stereotype.Component;
public class FaceRunner implements CommandLineRunner { public class FaceRunner implements CommandLineRunner {
public static FaceEngine faceEngine; public static FaceEngine faceEngine;
@Value("${arcsoft.appId}") // @Value("${arcsoft.appId}")
private String appId; // private String appId;
@Value("${arcsoft.sdkKey}") // @Value("${arcsoft.sdkKey}")
private String winsSdkKey; // private String winsSdkKey;
@Value("${arcsoft.linux.sdkKey}") // @Value("${arcsoft.linux.sdkKey}")
private String linuxSdkKey; // private String linuxSdkKey;
@Value("${arcsoft.dllPath}") // @Value("${arcsoft.dllPath}")
private String dllPath; // private String dllPath;
@Override @Override