| | |
| | | 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") |
| | |
| | | |
| | | @GetMapping("/createInterface") |
| | | @ApiOperation("生成第三方验证码") |
| | | public Response createInterface(@RequestParam String interfaceName) { |
| | | public Response createInterface(@RequestParam String interfaceName) throws NoSuchAlgorithmException { |
| | | return service.createInterface(interfaceName); |
| | | } |
| | | |