*
L
4 天以前 1bc0b18a88ed90fa19e0c050d7befecb2a16bb8a
src/main/java/com/zy/system/controller/LicenseCreatorController.java
@@ -3,6 +3,7 @@
import com.core.annotations.ManagerAuth;
import com.core.common.Cools;
import com.core.common.R;
import com.zy.core.properties.SystemProperties;
import com.zy.system.entity.license.*;
import de.schlichtherle.license.LicenseContent;
import org.springframework.beans.factory.annotation.Autowired;
@@ -69,9 +70,13 @@
     */
    @RequestMapping(value = "/getLicenseDays")
    public R getLicenseDays() {
//        if (true){
//            return R.ok().add(Cools.add("day",0));
//        }
        LicenseVerify licenseVerify = new LicenseVerify();
        LicenseContent verifyInfo = licenseVerify.getVerifyInfo();
        if (verifyInfo == null) {
            SystemProperties.WCS_RUNNING_STATUS.set(Boolean.FALSE);
            return R.error();
        }