

package com.jeelowcode.module.biz.demo.test;

import com.jeelowcode.tool.framework.common.util.json.JsonUtils;
import com.jeelowcode.core.framework.config.aspect.enhance.model.EnhanceContext;
import com.jeelowcode.core.framework.config.aspect.enhance.model.EnhanceParam;
import com.jeelowcode.core.framework.config.aspect.enhance.plugin.AfterAdvicePlugin;
import lombok.extern.slf4j.Slf4j;

import java.util.Map;

/**
 * @author JX
 * @create 2024-09-12 9:50
 * @dedescription:
 */
@Slf4j
public class TestUpdateEnhance implements AfterAdvicePlugin {
    @Override
    public void execute(EnhanceContext enhanceContext) {
        EnhanceParam param = enhanceContext.getParam();
        Map<String, Object> params = param.getParams();
        log.error("TestUpdateEnhance execute params:{}", JsonUtils.toJsonString(params));
    }
}
