package com.usky.fire.controller.web;

import com.usky.common.core.bean.ApiResult;
import com.usky.fire.service.AtlasService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yq
 * @date 2021/7/13 14:06
 */
@RestController
@RequestMapping("atlas")
public class AtlasControllerWeb {

    @Autowired
    public AtlasService atlasService;

    @RequestMapping("encrypt")
    public ApiResult<String> encrypt() {
        return ApiResult.success(atlasService.encrypt());
    }
}
