perf: 许可控制

This commit is contained in:
fit2cloud-chenyw 2023-11-29 18:27:35 +08:00
parent c177304b18
commit 1bdbfaf3b3
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/license")
public class LicenseServer implements LicenseApi {
private static final String product = "DataEase";
private static final String product = "DataEase v2";
@Resource
private CoreLicManage coreLicManage;

View File

@ -90,7 +90,7 @@ const validateHandler = (param, success) => {
}
const getLicense = result => {
if (result.status === 'valid') {
tipsSuffix.value = result.edition === 'Embedded' ? '套' : '个账号'
tipsSuffix.value = result?.license?.edition === 'Embedded' ? '套' : '个账号'
}
return {
status: result.status,