package com.izouma.awesomeadmin.frame;

import com.izouma.awesomeadmin.dto.Result;
import com.izouma.awesomeadmin.web.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * 自动生成控制类
 * Suo Chen Cheng
 */
@Controller
@RequestMapping("/gen")
public class GenController extends BaseController {


    @RequestMapping(value = "/byTable", method = RequestMethod.GET)
    @ResponseBody
    public Result byTable(@RequestParam(value = "tableName") String tableName) {



        return new Result(true, "生成成功");
    }


}
