package com.fdkankan.platform.agent.controller.api;


import com.fdkankan.platform.agent.request.RequestAgentAudit;
import com.fdkankan.platform.agent.service.IAgentAuditService;
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;


/**
 * 经销商申请模块
 */
@RestController
@RequestMapping("/service/platform")
public class AgentAuditController {

    @Autowired
    private IAgentAuditService agentAuditService;

    /**
     * 保存申请信息
     */
    @PostMapping("/agentAduit/save")
    public String save(@RequestBody RequestAgentAudit param){
        return agentAuditService.saveByParam(param);
    }


}
