# 联系客服微信获取

推荐使用node版本

node是开源免费的,java是付费的199/套,采用spring-bootspring-secritymybatis-plusredis

伸手党勿扰!!!

java版本通用拥有node版本的快速CRUD特性

/**
 * 角色
 */
@CoolRestController(value = "/admin/sys/role", rests = {"add", "delete", "update", "info", "list", "page"})
public class SysRoleController extends BaseController<SysRoleEntity> {
    @Resource
    private SysRoleService sysRoleService;

    @Override
    protected QueryWrapper<SysRoleEntity> init(JSONObject params) {
        setService(sysRoleService);
        return Wrappers.<SysRoleEntity>query()
                .ne("name", "超管")
                .apply(params.get("keyWord")!=null, "(name LIKE {0} or label LIKE {0})", "%" + params.get("keyWord") + "%");
    }

    /**
     * 所有列表
     * @return
     */
    @PostMapping("/allList")
    public R allList(){
        return R.ok();
    }
}