|
|
@@ -3,23 +3,19 @@ package cn.com.taiji.iaw.api.comm; |
|
|
|
import cn.com.taiji.common.web.ApiResponse; |
|
|
|
import cn.com.taiji.iaw.api.MyValidController; |
|
|
|
import cn.com.taiji.iaw.dto.comm.HexToStrRequestDTO; |
|
|
|
import cn.com.taiji.iaw.manager.comm.DictManager; |
|
|
|
import cn.com.taiji.iaw.tools.data.DataUtil; |
|
|
|
import cn.com.taiji.iaw.tools.data.ResponseData; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
@Api(tags = {"hex工作类"}) |
|
|
|
@Api(tags = {"hex工具类"}) |
|
|
|
@RestController |
|
|
|
@RequestMapping("/api/hex") |
|
|
|
public class HexController extends MyValidController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private DictManager dictManager; |
|
|
|
@ApiOperation(value = "hex转字符串") |
|
|
|
@RequestMapping("/hexToStrig") |
|
|
|
public ApiResponse<ResponseData> hexToStrig(@RequestBody HexToStrRequestDTO dto){ |