package com.lyms.hospital.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import com.lyms.util.DateTimeUtils;
import com.lyms.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@RestController
@Api(value = "/api", description = "登录的相关操作")
public class SysConfController extends BaseController {
@ApiOperation(value = "系统时间", notes = "系统时间")
@RequestMapping(value = "/cTime")
@ResponseBody
public String testLogin() {
return String.valueOf(DateTimeUtils.getNow().getTime());
}
}