IClearExportInterface.java 896 Bytes
package com.erry.iclear.dateInterface.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator
 */
@RestController
@RequestMapping("/system")

public class IClearExportInterface {

    @ApiOperation(value = "IClear 健康检查" ,httpMethod ="GET" ,notes="ex:  http://localhost:8080/system/healthCheck")
    @GetMapping("/healthCheck")
    public String healthCheck() {
        return "iClearApi 当前时间:"+System.currentTimeMillis();
    }


    @ApiOperation(value = "IClear 刷新缓存" ,httpMethod ="GET" ,notes="ex:  http://192.168.0.75:8080/system/refreshCache")
    @GetMapping("/refreshCache")
    public String refreshCache() {


        return "Success";
    }

}