Merge pull request #6928 from dataease/pr@dev-v2@perf_lic_controller

perf: 许可控制
This commit is contained in:
fit2cloud-chenyw 2023-11-29 18:28:22 +08:00 committed by GitHub
commit 642b93a52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,