package com.fdkankan.ucenter.controller;


import com.fdkankan.common.constant.ConstantRegex;
import com.fdkankan.common.exception.BusinessException;
import com.fdkankan.ucenter.common.Result;
import com.fdkankan.ucenter.constant.LoginConstant;
import com.fdkankan.ucenter.entity.AgentAudit;
import com.fdkankan.ucenter.service.IAgentAuditService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * <p>
 * 代理商申请表 前端控制器
 * </p>
 *
 * @author 
 * @since 2022-07-29
 */
@RestController
@RequestMapping("/ucenter/agentAduit")
public class AgentAuditController {

    @Autowired
    IAgentAuditService agentAuditService;

    @PostMapping("/save")
    public Result save(@RequestBody AgentAudit param){
        agentAuditService.add(param);
        return Result.success();
    }

}

