package com.xly.erp.common.security;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class TestJwtHelper {

    private final JwtUtil jwtUtil;

    @Autowired
    public TestJwtHelper(JwtUtil jwtUtil) {
        this.jwtUtil = jwtUtil;
    }

    public String signFor(String userNo) {
        return jwtUtil.sign(userNo);
    }
}
