ref: 网元授权激活授权code/change/state接口优化

This commit is contained in:
TsMask
2024-04-11 17:11:24 +08:00
parent 5970a8b5f2
commit ebd02cb3e9
4 changed files with 94 additions and 79 deletions

View File

@@ -29,9 +29,9 @@ type INeLicense interface {
SelectByNeTypeAndNeID(neType, neId string) model.NeLicense
// ReadLicenseInfo 读取授权文件信息
// 激活申请码, 激活文件
ReadLicenseInfo(neInfo model.NeInfo) (string, string)
// 返回激活申请码, 激活文件
ReadLicenseInfo(neLicense model.NeLicense) (string, string)
// UploadToNeHost 授权文件上传到网元主机
UploadToNeHost(neLicense model.NeLicense) error
// UploadLicense 授权文件上传到网元主机
UploadLicense(neLicense model.NeLicense) error
}