def test(self, context=ServantProxy.mapcls_context()): oos = tafcore.JceOutputStream() rsp = self.taf_invoke(ServantProxy.JCENORMAL, "test", oos.getBuffer(), context, None) ios = tafcore.JceInputStream(rsp.sBuffer) ret = ios.read(tafcore.int32, 0, True) return (ret)
def oidb0x70f(self, req, context=ServantProxy.mapcls_context()): oos = tafcore.JceOutputStream() oos.write(Oidb0x70fReq, 1, req) rsp = self.taf_invoke(ServantProxy.JCENORMAL, "oidb0x70f", oos.getBuffer(), context, None) ios = tafcore.JceInputStream(rsp.sBuffer) ret = ios.read(tafcore.int32, 0, True) rsp = ios.read(Oidb0x70fRsp, 2, True) return (ret, rsp)
def wxLoginVerify(self, head, req, context=ServantProxy.mapcls_context()): oos = tafcore.JceOutputStream() oos.write(SessionBusiHead, 1, head) oos.write(WxLoginVerifyReq, 2, req) rsp = self.taf_invoke(ServantProxy.JCENORMAL, "wxLoginVerify", oos.getBuffer(), context, None) ios = tafcore.JceInputStream(rsp.sBuffer) ret = ios.read(tafcore.int32, 0, True) rsp = ios.read(WxLoginVerifyRsp, 3, True) return (ret, rsp)
def getXcxSessionKeyByCode(self, head, req, context=ServantProxy.mapcls_context()): oos = tafcore.JceOutputStream() oos.write(SessionBusiHead, 1, head) oos.write(GetXcxSessionKeyByCodeReq, 2, req) rsp = self.taf_invoke(ServantProxy.JCENORMAL, "getXcxSessionKeyByCode", oos.getBuffer(), context, None) ios = tafcore.JceInputStream(rsp.sBuffer) ret = ios.read(tafcore.int32, 0, True) rsp = ios.read(GetXcxSessionKeyByCodeRsp, 3, True) return (ret, rsp)