package com.xueyi.common.web.config;

import com.xueyi.common.web.utils.ResponseCodeUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/**
 * MP配置
 *
 * @author xueyi
 */
@Configuration
public class XueYiMyRespConfig {

    @Bean
    public Map<Integer, Map<String, String>> responseMessageMap() {
        return ResponseCodeUtil.getResponseCodeAndMsgMap();
    }
}
