package com.ruzhoukj.sms.controller; import com.ruzhoukj.sms.service.CertificateService; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; @RequestMapping("/certificate") @RestController public class CertificateController { @Resource private CertificateService certificateService; @GetMapping("/replace") public Boolean replace(@RequestParam("fileName") String fileName) { return true; } }