var system = require("../../../system")
const http = require("http")
const querystring = require('querystring');
var settings=require("../../../../config/settings");
const CtlBase = require("../../ctl.base");
const logCtl = system.getObject("web.common.oplogCtl");
var cacheBaseComp = null;
class RoleCtl extends CtlBase {
  constructor() {
    super("auth",CtlBase.getServiceName(RoleCtl));
    //this.loginS=system.getObject("service.userSve");
    this.roleS=system.getObject("service.auth.roleSve");
    this.redisClient=system.getObject("util.redisClient");
  }
  async initNewInstance(pobj,queryobj, req) {
    var rtn = {};
    rtn.roles = [];
    return system.getResultSuccess(rtn);
  }
}
module.exports = RoleCtl;
