2 changed files with 38 additions and 2 deletions
@ -0,0 +1,36 @@ |
|||
package com.elink.esua.epdc.modules.worklog; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import org.springframework.beans.factory.annotation.Value; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
/** |
|||
* @Description 获取customID |
|||
* @Author songyunpeng |
|||
* @Date 2020/2/10 16:06 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("workLog") |
|||
public class WorkLogAnalysisController { |
|||
|
|||
@Value("${epmet.config.customerId}") |
|||
private String customId; |
|||
|
|||
|
|||
/** |
|||
* @Description 获取customId |
|||
* @Author songyunpeng |
|||
* @Date 2021/1/27 |
|||
* @Param [] |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|||
**/ |
|||
@GetMapping("getCustomId") |
|||
public Result<String> getCustomId(){ |
|||
return new Result<String>().ok(customId); |
|||
} |
|||
|
|||
|
|||
|
|||
} |
|||
Loading…
Reference in new issue