密码键盘、扫描仪-- 待测试
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
package com.dpkj.modules.keypad.controller;
|
||||
|
||||
import com.dpkj.common.vo.Result;
|
||||
import com.dpkj.modules.keypad.service.KeypadService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @BelongsProject: 银医通-澜沧中医院-DLL-台式机
|
||||
* @BelongsPackage: com.dpkj.modules.keypad.controller
|
||||
* @Author: wzc
|
||||
* @Description: 数字键盘
|
||||
* @CreateTime: 2025-02-10 15:21
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("keypad")
|
||||
public class KeypadController {
|
||||
|
||||
@Autowired
|
||||
private KeypadService keypadService;
|
||||
/**
|
||||
* 数字键盘 明文输入
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("inputData")
|
||||
public Result inputData() {
|
||||
return keypadService.inputData();
|
||||
}
|
||||
|
||||
/**
|
||||
* 取消输入 (明文或者密文)
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("cancelInput")
|
||||
public Result CancelInput() {
|
||||
return keypadService.cancelInput();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user