package com.ard.system.authorize.service;
|
|
import com.alibaba.fastjson2.JSONObject;
|
import org.springframework.web.multipart.MultipartFile;
|
|
public interface AuthorizeService {
|
|
/**
|
* 验证本地授权
|
*/
|
JSONObject verifyAuthorization();
|
|
/**
|
* 获取授权信息
|
*/
|
JSONObject getAuthorizationInfo();
|
|
/**
|
* 制作临时授权
|
*/
|
JSONObject makeTempLicense();
|
|
/**
|
* 获取机器码
|
*/
|
JSONObject getMachineCode();
|
|
/**
|
* 上传授权文件
|
*/
|
JSONObject uploadLicense(MultipartFile file);
|
|
/**
|
* 加密
|
*/
|
String encryption(String data);
|
|
/**
|
* 解密
|
*/
|
String decryption(String data);
|
|
}
|