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.PostMapping; 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 */ @PostMapping("inputData") public Result inputData() { return keypadService.inputData(); } /** * 取消输入 (明文或者密文) * @return */ @PostMapping("cancelInput") public Result CancelInput() { return keypadService.cancelInput(); } }