调整生成c2v方式

This commit is contained in:
fengjunfeng
2022-01-10 15:40:48 +08:00
parent f9f2c3069f
commit 7106c3328d

View File

@@ -154,8 +154,8 @@ public class HaspUtil {
// log.info("license status: {}", status); // log.info("license status: {}", status);
if(status == HaspStatus.HASP_STATUS_OK) { if(status == HaspStatus.HASP_STATUS_OK) {
//如果已经安装过license ,读取指纹和 hasp id //如果已经安装过license ,读取指纹和 hasp id
String licenseInfo = hasp.getSessionInfo(KEY_C2V_FORMAT); // String licenseInfo = hasp.getSessionInfo(KEY_C2V_FORMAT);
// String licenseInfo = hasp.getInfo(KEY_SCOPE,KEY_C2V_FORMAT,vendorCode); String licenseInfo = hasp.getInfo(KEY_SCOPE,KEY_C2V_FORMAT,vendorCode);
status = hasp.getLastError(); status = hasp.getLastError();
log.info("getLicense c2v license status: {}", status); log.info("getLicense c2v license status: {}", status);
if (status != HaspStatus.HASP_STATUS_OK) { if (status != HaspStatus.HASP_STATUS_OK) {