liusuyi
2025-12-23 c7fa563f9a951c647725c3d0e02b7bce366d23ea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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);
 
}