whyclxw
2024-04-28 b25b814a949d2065a61fd3167206ffb51a57af65
src/main/java/com/whyc/controller/InterFaceController.java
@@ -10,12 +10,13 @@
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.security.NoSuchAlgorithmException;
import java.text.ParseException;
@RequestMapping("interface")
@RestController
@Api(tags = "第三方接口")
public class InterFaceController {
public class InterFaceController extends BaseController{
    @Resource
    private InterfaceService service;
    @GetMapping("/getBattInf")
@@ -99,7 +100,7 @@
    @GetMapping("/createInterface")
    @ApiOperation("生成第三方验证码")
    public Response createInterface(@RequestParam String interfaceName) {
    public Response createInterface(@RequestParam String interfaceName) throws NoSuchAlgorithmException {
        return service.createInterface(interfaceName);
    }