1
zj
2025-03-20 697c08d94a3c26aaa970c467775989bb548fb6c2
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
package project.web.admin.poi;
 
import javax.annotation.Resource;
 
import apache.poi.extracto.CharacterRandomHandle;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
 
@RestController
public class RandomController {
    
    @Resource
    private CharacterRandomHandle characterRandomHandle;
    
    @ResponseBody
    @RequestMapping({"character/get"})
    public Object get(final String random) {
        return this.characterRandomHandle.get(random);
    }
    
    @ResponseBody
    @RequestMapping({"character/put"})
    public Object put(final String random) {
        return this.characterRandomHandle.put(random);
    }
}