code: async function handle(sofar) {
      try {
          if (!sofar.socket.user) {
              if (sofar.msg.oemInfo.openkey == sofar.facade.options.admin.role[sofar.msg.oemInfo.openid]) {
                  sofar.socket.user = { domain: "system", stype: sofar.msg.stype, sid: sofar.msg.sid, socket: sofar.socket };
              }
          }
          if (!sofar.socket.user) {//未通过身份校验
              sofar.fn({ code: facade.const.ReturnCode.userIllegal });
              sofar.recy = false;
          }
      }
      catch (e) {
          sofar.fn({ code: facade.const.ReturnCode.illegalData });
          sofar.recy = false;
      }
  }
docs: 内部RPC调用的认证鉴权
  @param {MiddlewareParam} sofar