|
@@ -8,7 +8,6 @@ import cn.hutool.json.XML;
|
|
|
import com.fdkankan.common.util.FileUtils;
|
|
|
import com.fdkankan.ucenter.util.DateUserUtil;
|
|
|
import com.fdkankan.ucenter.vo.response.AuthLicenseEntityVo;
|
|
|
-import com.fdkankan.ucenter.vo.response.LicenseInfo;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.w3c.dom.Document;
|
|
|
import org.w3c.dom.Node;
|
|
@@ -22,7 +21,7 @@ import java.util.Date;
|
|
|
public class AuthLicenseUtil {
|
|
|
|
|
|
// Launcher.bat @inPath";
|
|
|
- static String cmd ="/home/ubuntu/bin/Launcher.sh %s";
|
|
|
+ static String cmd ="sudo bash /home/ubuntu/bin/Launcher.sh %s";
|
|
|
static String licensePath = "/home/backend/tomcat/ucenter/license";
|
|
|
|
|
|
public static JSONObject readLicense(){
|