package com.ruoyi.applet.utils.conf;

import com.ruoyi.common.constant.Constants;
import com.ruoyi.framework.config.LocalDataUtil;
import com.ruoyi.model.domain.AppUsers;
import org.springframework.stereotype.Service;

@Service
public class AppletUtil {

    public static AppUsers getLocalAppletUser() {
        AppUsers user = (AppUsers) LocalDataUtil.getVar(Constants.LOGIN_APPLET_TOKEN_KEY);
        return user;
    }
}
