|
@@ -6,6 +6,7 @@ import cn.hutool.json.JSONObject;
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
import cn.hutool.json.XML;
|
|
|
import com.fdkankan.common.util.FileUtils;
|
|
|
+import com.fdkankan.ucenter.common.constants.NacosProperty;
|
|
|
import com.fdkankan.ucenter.util.DateUserUtil;
|
|
|
import com.fdkankan.ucenter.vo.response.AuthLicenseEntityVo;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
@@ -23,8 +24,8 @@ import java.util.Date;
|
|
|
public class AuthLicenseUtil {
|
|
|
|
|
|
// Launcher.bat @inPath";
|
|
|
- static String cmd ="sudo bash /home/ubuntu/bin/Launcher.sh %s";
|
|
|
- static String licensePath = "/home/backend/4dkankan_v4/ucenter/license";
|
|
|
+ static String cmd ="sudo bash /home/ubuntu/bin/Launcher.sh %s";
|
|
|
+ static String licensePath = NacosProperty.logPath + "/ucenter/license";
|
|
|
|
|
|
public static JSONObject readLicense(){
|
|
|
try {
|