package com.hx.phip.his.controller.his; import com.hx.phip.his.service.HisTokenService; import com.hx.resultTool.Result; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; /** * @Author */ @RestController @RequestMapping("/sync/his") public class HisTokenController { @Resource private HisTokenService hisTokenService; @RequestMapping("/getToken") public Result getToken(){ return hisTokenService.getToken(); } }