|
@@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
import com.fdkankan.ucenter.common.ResultData;
|
|
import com.fdkankan.ucenter.common.ResultData;
|
|
import com.fdkankan.ucenter.common.utils.AuthLicenseUtil;
|
|
import com.fdkankan.ucenter.common.utils.AuthLicenseUtil;
|
|
import com.fdkankan.ucenter.util.DateUserUtil;
|
|
import com.fdkankan.ucenter.util.DateUserUtil;
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.joda.time.DateTime;
|
|
import org.joda.time.DateTime;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -27,6 +28,7 @@ import java.util.Date;
|
|
* @since 2022-11-22
|
|
* @since 2022-11-22
|
|
*/
|
|
*/
|
|
@RestController
|
|
@RestController
|
|
|
|
+@Slf4j
|
|
@RequestMapping("/ucenter/authLicense")
|
|
@RequestMapping("/ucenter/authLicense")
|
|
public class AuthLicenseController {
|
|
public class AuthLicenseController {
|
|
|
|
|
|
@@ -51,10 +53,7 @@ public class AuthLicenseController {
|
|
snInfo.set("sn", snPassWord);
|
|
snInfo.set("sn", snPassWord);
|
|
}
|
|
}
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
- jsonObject = new JSONObject();
|
|
|
|
- JSONObject licenseInfo = new JSONObject();
|
|
|
|
- licenseInfo.set("snInfo",new JSONObject());
|
|
|
|
- jsonObject.set("licenseInfo",licenseInfo);
|
|
|
|
|
|
+ log.error("authLicense-getAuthInfo-error:",e);
|
|
}
|
|
}
|
|
return ResultData.ok(jsonObject);
|
|
return ResultData.ok(jsonObject);
|
|
}
|
|
}
|