xin
2025-05-30 625692be1b447d98e1a37f3981777bc14246aed9
oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java
@@ -9,8 +9,8 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
/**
@@ -31,9 +31,9 @@
    @Value("${sms.time}")
    private Long time;
    @AnonymousGetMapping("/{phone}")
    @AnonymousGetMapping
    @ApiOperation("短信验证码")
    public ResponseEntity<Object> toPayAsPc(@PathVariable String phone) {
    public ResponseEntity<Object> toPayAsPc(@RequestParam String phone) {
        String uuid = key + IdUtil.simpleUUID();
        System.out.println(phone);
        //创建验证码