1.IM通讯 OTP生成

This commit is contained in:
2025-08-14 21:06:31 +08:00
parent 43302a00b8
commit 6429606fda
6 changed files with 101 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
package vvpkassistant.controller;
import org.springframework.web.bind.annotation.*;
import vvpkassistant.Data.ResponseData;
import vvpkassistant.OTP.model.OTPDTO;
import vvpkassistant.OTP.service.OTPService;
import javax.annotation.Resource;
/*
* @author: ziin
* @date: 2025/8/14 20:50
*/
@RestController
@RequestMapping("otp")
public class OTPController {
@Resource
private OTPService otpService;
@GetMapping("/getopt")
public ResponseData<Object> getOTP() {
return ResponseData.success(otpService.getOPT());
}
}