12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: consult.proto
- package gapi
- import (
- context "context"
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- //创建咨询订单请求
- type CreateConsultingOrderRequest struct {
- UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
- Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
- PatientName string `protobuf:"bytes,3,opt,name=patientName,proto3" json:"patientName,omitempty"`
- Age int32 `protobuf:"varint,4,opt,name=age,proto3" json:"age,omitempty"`
- Sex int32 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex,omitempty"`
- Desc string `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"`
- Images string `protobuf:"bytes,7,opt,name=images,proto3" json:"images,omitempty"`
- DoctorId int32 `protobuf:"varint,8,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
- RecordId int32 `protobuf:"varint,9,opt,name=recordId,proto3" json:"recordId,omitempty"`
- IdNo string `protobuf:"bytes,10,opt,name=idNo,proto3" json:"idNo,omitempty"`
- UserPatientId int32 `protobuf:"varint,11,opt,name=userPatientId,proto3" json:"userPatientId,omitempty"`
- Terminal int32 `protobuf:"varint,12,opt,name=terminal,proto3" json:"terminal,omitempty"`
- Shared int32 `protobuf:"varint,13,opt,name=shared,proto3" json:"shared,omitempty"`
- ConsultType int32 `protobuf:"varint,14,opt,name=consultType,proto3" json:"consultType,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CreateConsultingOrderRequest) Reset() { *m = CreateConsultingOrderRequest{} }
- func (m *CreateConsultingOrderRequest) String() string { return proto.CompactTextString(m) }
- func (*CreateConsultingOrderRequest) ProtoMessage() {}
- func (*CreateConsultingOrderRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{0}
- }
- func (m *CreateConsultingOrderRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateConsultingOrderRequest.Unmarshal(m, b)
- }
- func (m *CreateConsultingOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateConsultingOrderRequest.Marshal(b, m, deterministic)
- }
- func (m *CreateConsultingOrderRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateConsultingOrderRequest.Merge(m, src)
- }
- func (m *CreateConsultingOrderRequest) XXX_Size() int {
- return xxx_messageInfo_CreateConsultingOrderRequest.Size(m)
- }
- func (m *CreateConsultingOrderRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateConsultingOrderRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_CreateConsultingOrderRequest proto.InternalMessageInfo
- func (m *CreateConsultingOrderRequest) GetUserId() int32 {
- if m != nil {
- return m.UserId
- }
- return 0
- }
- func (m *CreateConsultingOrderRequest) GetMobile() string {
- if m != nil {
- return m.Mobile
- }
- return ""
- }
- func (m *CreateConsultingOrderRequest) GetPatientName() string {
- if m != nil {
- return m.PatientName
- }
- return ""
- }
- func (m *CreateConsultingOrderRequest) GetAge() int32 {
- if m != nil {
- return m.Age
- }
- return 0
- }
- func (m *CreateConsultingOrderRequest) GetSex() int32 {
- if m != nil {
- return m.Sex
- }
- return 0
- }
- func (m *CreateConsultingOrderRequest) GetDesc() string {
- if m != nil {
- return m.Desc
- }
- return ""
- }
- func (m *CreateConsultingOrderRequest) GetImages() string {
- if m != nil {
- return m.Images
- }
- return ""
- }
- func (m *CreateConsultingOrderRequest) GetDoctorId() int32 {
- if m != nil {
- return m.DoctorId
- }
- return 0
- }
- func (m *CreateConsultingOrderRequest) GetRecordId() int32 {
- if m != nil {
- return m.RecordId
- }
- return 0
- }
- func (m *CreateConsultingOrderRequest) GetIdNo() string {
- if m != nil {
- return m.IdNo
- }
- return ""
- }
- func (m *CreateConsultingOrderRequest) GetUserPatientId() int32 {
- if m != nil {
- return m.UserPatientId
- }
- return 0
- }
- func (m *CreateConsultingOrderRequest) GetTerminal() int32 {
- if m != nil {
- return m.Terminal
- }
- return 0
- }
- func (m *CreateConsultingOrderRequest) GetShared() int32 {
- if m != nil {
- return m.Shared
- }
- return 0
- }
- func (m *CreateConsultingOrderRequest) GetConsultType() int32 {
- if m != nil {
- return m.ConsultType
- }
- return 0
- }
- //创建咨询订单响应
- type CreateConsultingOrderResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- ImageUrl []string `protobuf:"bytes,2,rep,name=imageUrl,proto3" json:"imageUrl,omitempty"`
- SessionId string `protobuf:"bytes,3,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
- OrderId int32 `protobuf:"varint,4,opt,name=orderId,proto3" json:"orderId,omitempty"`
- OrderType int32 `protobuf:"varint,5,opt,name=orderType,proto3" json:"orderType,omitempty"`
- Msg string `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CreateConsultingOrderResponse) Reset() { *m = CreateConsultingOrderResponse{} }
- func (m *CreateConsultingOrderResponse) String() string { return proto.CompactTextString(m) }
- func (*CreateConsultingOrderResponse) ProtoMessage() {}
- func (*CreateConsultingOrderResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{1}
- }
- func (m *CreateConsultingOrderResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateConsultingOrderResponse.Unmarshal(m, b)
- }
- func (m *CreateConsultingOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateConsultingOrderResponse.Marshal(b, m, deterministic)
- }
- func (m *CreateConsultingOrderResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateConsultingOrderResponse.Merge(m, src)
- }
- func (m *CreateConsultingOrderResponse) XXX_Size() int {
- return xxx_messageInfo_CreateConsultingOrderResponse.Size(m)
- }
- func (m *CreateConsultingOrderResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateConsultingOrderResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_CreateConsultingOrderResponse proto.InternalMessageInfo
- func (m *CreateConsultingOrderResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *CreateConsultingOrderResponse) GetImageUrl() []string {
- if m != nil {
- return m.ImageUrl
- }
- return nil
- }
- func (m *CreateConsultingOrderResponse) GetSessionId() string {
- if m != nil {
- return m.SessionId
- }
- return ""
- }
- func (m *CreateConsultingOrderResponse) GetOrderId() int32 {
- if m != nil {
- return m.OrderId
- }
- return 0
- }
- func (m *CreateConsultingOrderResponse) GetOrderType() int32 {
- if m != nil {
- return m.OrderType
- }
- return 0
- }
- func (m *CreateConsultingOrderResponse) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- //订单支付成功通知消息
- type PayConsultingCallbackRequest struct {
- OrderNo string `protobuf:"bytes,1,opt,name=orderNo,proto3" json:"orderNo,omitempty"`
- OrderId int32 `protobuf:"varint,2,opt,name=orderId,proto3" json:"orderId,omitempty"`
- PayType int32 `protobuf:"varint,3,opt,name=payType,proto3" json:"payType,omitempty"`
- Custom string `protobuf:"bytes,4,opt,name=custom,proto3" json:"custom,omitempty"`
- BizId int32 `protobuf:"varint,5,opt,name=bizId,proto3" json:"bizId,omitempty"`
- PaymentNo string `protobuf:"bytes,6,opt,name=paymentNo,proto3" json:"paymentNo,omitempty"`
- UserId int32 `protobuf:"varint,7,opt,name=userId,proto3" json:"userId,omitempty"`
- PrepayId string `protobuf:"bytes,8,opt,name=prepayId,proto3" json:"prepayId,omitempty"`
- Terminal int32 `protobuf:"varint,9,opt,name=terminal,proto3" json:"terminal,omitempty"`
- Openid string `protobuf:"bytes,10,opt,name=openid,proto3" json:"openid,omitempty"`
- PaymentChannel int32 `protobuf:"varint,11,opt,name=paymentChannel,proto3" json:"paymentChannel,omitempty"`
- OneTimeCustom string `protobuf:"bytes,12,opt,name=oneTimeCustom,proto3" json:"oneTimeCustom,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *PayConsultingCallbackRequest) Reset() { *m = PayConsultingCallbackRequest{} }
- func (m *PayConsultingCallbackRequest) String() string { return proto.CompactTextString(m) }
- func (*PayConsultingCallbackRequest) ProtoMessage() {}
- func (*PayConsultingCallbackRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{2}
- }
- func (m *PayConsultingCallbackRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PayConsultingCallbackRequest.Unmarshal(m, b)
- }
- func (m *PayConsultingCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PayConsultingCallbackRequest.Marshal(b, m, deterministic)
- }
- func (m *PayConsultingCallbackRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PayConsultingCallbackRequest.Merge(m, src)
- }
- func (m *PayConsultingCallbackRequest) XXX_Size() int {
- return xxx_messageInfo_PayConsultingCallbackRequest.Size(m)
- }
- func (m *PayConsultingCallbackRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_PayConsultingCallbackRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_PayConsultingCallbackRequest proto.InternalMessageInfo
- func (m *PayConsultingCallbackRequest) GetOrderNo() string {
- if m != nil {
- return m.OrderNo
- }
- return ""
- }
- func (m *PayConsultingCallbackRequest) GetOrderId() int32 {
- if m != nil {
- return m.OrderId
- }
- return 0
- }
- func (m *PayConsultingCallbackRequest) GetPayType() int32 {
- if m != nil {
- return m.PayType
- }
- return 0
- }
- func (m *PayConsultingCallbackRequest) GetCustom() string {
- if m != nil {
- return m.Custom
- }
- return ""
- }
- func (m *PayConsultingCallbackRequest) GetBizId() int32 {
- if m != nil {
- return m.BizId
- }
- return 0
- }
- func (m *PayConsultingCallbackRequest) GetPaymentNo() string {
- if m != nil {
- return m.PaymentNo
- }
- return ""
- }
- func (m *PayConsultingCallbackRequest) GetUserId() int32 {
- if m != nil {
- return m.UserId
- }
- return 0
- }
- func (m *PayConsultingCallbackRequest) GetPrepayId() string {
- if m != nil {
- return m.PrepayId
- }
- return ""
- }
- func (m *PayConsultingCallbackRequest) GetTerminal() int32 {
- if m != nil {
- return m.Terminal
- }
- return 0
- }
- func (m *PayConsultingCallbackRequest) GetOpenid() string {
- if m != nil {
- return m.Openid
- }
- return ""
- }
- func (m *PayConsultingCallbackRequest) GetPaymentChannel() int32 {
- if m != nil {
- return m.PaymentChannel
- }
- return 0
- }
- func (m *PayConsultingCallbackRequest) GetOneTimeCustom() string {
- if m != nil {
- return m.OneTimeCustom
- }
- return ""
- }
- //订单支付成功通知响应消息
- type PayConsultingCallbackResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *PayConsultingCallbackResponse) Reset() { *m = PayConsultingCallbackResponse{} }
- func (m *PayConsultingCallbackResponse) String() string { return proto.CompactTextString(m) }
- func (*PayConsultingCallbackResponse) ProtoMessage() {}
- func (*PayConsultingCallbackResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{3}
- }
- func (m *PayConsultingCallbackResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PayConsultingCallbackResponse.Unmarshal(m, b)
- }
- func (m *PayConsultingCallbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PayConsultingCallbackResponse.Marshal(b, m, deterministic)
- }
- func (m *PayConsultingCallbackResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PayConsultingCallbackResponse.Merge(m, src)
- }
- func (m *PayConsultingCallbackResponse) XXX_Size() int {
- return xxx_messageInfo_PayConsultingCallbackResponse.Size(m)
- }
- func (m *PayConsultingCallbackResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_PayConsultingCallbackResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_PayConsultingCallbackResponse proto.InternalMessageInfo
- func (m *PayConsultingCallbackResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *PayConsultingCallbackResponse) GetInfo() string {
- if m != nil {
- return m.Info
- }
- return ""
- }
- //咨询订单接诊/退诊请求
- type ArrangeConsultingRequest struct {
- DoctorId int32 `protobuf:"varint,1,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
- OrderId int32 `protobuf:"varint,2,opt,name=orderId,proto3" json:"orderId,omitempty"`
- IsArranged int32 `protobuf:"varint,3,opt,name=isArranged,proto3" json:"isArranged,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ArrangeConsultingRequest) Reset() { *m = ArrangeConsultingRequest{} }
- func (m *ArrangeConsultingRequest) String() string { return proto.CompactTextString(m) }
- func (*ArrangeConsultingRequest) ProtoMessage() {}
- func (*ArrangeConsultingRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{4}
- }
- func (m *ArrangeConsultingRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ArrangeConsultingRequest.Unmarshal(m, b)
- }
- func (m *ArrangeConsultingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ArrangeConsultingRequest.Marshal(b, m, deterministic)
- }
- func (m *ArrangeConsultingRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ArrangeConsultingRequest.Merge(m, src)
- }
- func (m *ArrangeConsultingRequest) XXX_Size() int {
- return xxx_messageInfo_ArrangeConsultingRequest.Size(m)
- }
- func (m *ArrangeConsultingRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ArrangeConsultingRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_ArrangeConsultingRequest proto.InternalMessageInfo
- func (m *ArrangeConsultingRequest) GetDoctorId() int32 {
- if m != nil {
- return m.DoctorId
- }
- return 0
- }
- func (m *ArrangeConsultingRequest) GetOrderId() int32 {
- if m != nil {
- return m.OrderId
- }
- return 0
- }
- func (m *ArrangeConsultingRequest) GetIsArranged() int32 {
- if m != nil {
- return m.IsArranged
- }
- return 0
- }
- //咨询订单接诊/退诊响应
- type ArrangeConsultingResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- PatientId int32 `protobuf:"varint,3,opt,name=patientId,proto3" json:"patientId,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ArrangeConsultingResponse) Reset() { *m = ArrangeConsultingResponse{} }
- func (m *ArrangeConsultingResponse) String() string { return proto.CompactTextString(m) }
- func (*ArrangeConsultingResponse) ProtoMessage() {}
- func (*ArrangeConsultingResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{5}
- }
- func (m *ArrangeConsultingResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ArrangeConsultingResponse.Unmarshal(m, b)
- }
- func (m *ArrangeConsultingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ArrangeConsultingResponse.Marshal(b, m, deterministic)
- }
- func (m *ArrangeConsultingResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ArrangeConsultingResponse.Merge(m, src)
- }
- func (m *ArrangeConsultingResponse) XXX_Size() int {
- return xxx_messageInfo_ArrangeConsultingResponse.Size(m)
- }
- func (m *ArrangeConsultingResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ArrangeConsultingResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_ArrangeConsultingResponse proto.InternalMessageInfo
- func (m *ArrangeConsultingResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *ArrangeConsultingResponse) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- func (m *ArrangeConsultingResponse) GetPatientId() int32 {
- if m != nil {
- return m.PatientId
- }
- return 0
- }
- type CancelConsultingRequest struct {
- OrderId int32 `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
- UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CancelConsultingRequest) Reset() { *m = CancelConsultingRequest{} }
- func (m *CancelConsultingRequest) String() string { return proto.CompactTextString(m) }
- func (*CancelConsultingRequest) ProtoMessage() {}
- func (*CancelConsultingRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{6}
- }
- func (m *CancelConsultingRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CancelConsultingRequest.Unmarshal(m, b)
- }
- func (m *CancelConsultingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CancelConsultingRequest.Marshal(b, m, deterministic)
- }
- func (m *CancelConsultingRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CancelConsultingRequest.Merge(m, src)
- }
- func (m *CancelConsultingRequest) XXX_Size() int {
- return xxx_messageInfo_CancelConsultingRequest.Size(m)
- }
- func (m *CancelConsultingRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CancelConsultingRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_CancelConsultingRequest proto.InternalMessageInfo
- func (m *CancelConsultingRequest) GetOrderId() int32 {
- if m != nil {
- return m.OrderId
- }
- return 0
- }
- func (m *CancelConsultingRequest) GetUserId() int32 {
- if m != nil {
- return m.UserId
- }
- return 0
- }
- type CancelConsultingResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CancelConsultingResponse) Reset() { *m = CancelConsultingResponse{} }
- func (m *CancelConsultingResponse) String() string { return proto.CompactTextString(m) }
- func (*CancelConsultingResponse) ProtoMessage() {}
- func (*CancelConsultingResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{7}
- }
- func (m *CancelConsultingResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CancelConsultingResponse.Unmarshal(m, b)
- }
- func (m *CancelConsultingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CancelConsultingResponse.Marshal(b, m, deterministic)
- }
- func (m *CancelConsultingResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CancelConsultingResponse.Merge(m, src)
- }
- func (m *CancelConsultingResponse) XXX_Size() int {
- return xxx_messageInfo_CancelConsultingResponse.Size(m)
- }
- func (m *CancelConsultingResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CancelConsultingResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_CancelConsultingResponse proto.InternalMessageInfo
- func (m *CancelConsultingResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *CancelConsultingResponse) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- //咨询订单退款回调
- type RefundConsultingCallbackRequest struct {
- Amount int32 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
- BizId int32 `protobuf:"varint,2,opt,name=bizId,proto3" json:"bizId,omitempty"`
- OrderId int32 `protobuf:"varint,3,opt,name=orderId,proto3" json:"orderId,omitempty"`
- OrderNo string `protobuf:"bytes,4,opt,name=orderNo,proto3" json:"orderNo,omitempty"`
- RefundNo string `protobuf:"bytes,5,opt,name=refundNo,proto3" json:"refundNo,omitempty"`
- RefundStatus int32 `protobuf:"varint,6,opt,name=refundStatus,proto3" json:"refundStatus,omitempty"`
- Custom string `protobuf:"bytes,7,opt,name=custom,proto3" json:"custom,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *RefundConsultingCallbackRequest) Reset() { *m = RefundConsultingCallbackRequest{} }
- func (m *RefundConsultingCallbackRequest) String() string { return proto.CompactTextString(m) }
- func (*RefundConsultingCallbackRequest) ProtoMessage() {}
- func (*RefundConsultingCallbackRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{8}
- }
- func (m *RefundConsultingCallbackRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RefundConsultingCallbackRequest.Unmarshal(m, b)
- }
- func (m *RefundConsultingCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RefundConsultingCallbackRequest.Marshal(b, m, deterministic)
- }
- func (m *RefundConsultingCallbackRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RefundConsultingCallbackRequest.Merge(m, src)
- }
- func (m *RefundConsultingCallbackRequest) XXX_Size() int {
- return xxx_messageInfo_RefundConsultingCallbackRequest.Size(m)
- }
- func (m *RefundConsultingCallbackRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_RefundConsultingCallbackRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_RefundConsultingCallbackRequest proto.InternalMessageInfo
- func (m *RefundConsultingCallbackRequest) GetAmount() int32 {
- if m != nil {
- return m.Amount
- }
- return 0
- }
- func (m *RefundConsultingCallbackRequest) GetBizId() int32 {
- if m != nil {
- return m.BizId
- }
- return 0
- }
- func (m *RefundConsultingCallbackRequest) GetOrderId() int32 {
- if m != nil {
- return m.OrderId
- }
- return 0
- }
- func (m *RefundConsultingCallbackRequest) GetOrderNo() string {
- if m != nil {
- return m.OrderNo
- }
- return ""
- }
- func (m *RefundConsultingCallbackRequest) GetRefundNo() string {
- if m != nil {
- return m.RefundNo
- }
- return ""
- }
- func (m *RefundConsultingCallbackRequest) GetRefundStatus() int32 {
- if m != nil {
- return m.RefundStatus
- }
- return 0
- }
- func (m *RefundConsultingCallbackRequest) GetCustom() string {
- if m != nil {
- return m.Custom
- }
- return ""
- }
- type RefundConsultingCallbackResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *RefundConsultingCallbackResponse) Reset() { *m = RefundConsultingCallbackResponse{} }
- func (m *RefundConsultingCallbackResponse) String() string { return proto.CompactTextString(m) }
- func (*RefundConsultingCallbackResponse) ProtoMessage() {}
- func (*RefundConsultingCallbackResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{9}
- }
- func (m *RefundConsultingCallbackResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RefundConsultingCallbackResponse.Unmarshal(m, b)
- }
- func (m *RefundConsultingCallbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RefundConsultingCallbackResponse.Marshal(b, m, deterministic)
- }
- func (m *RefundConsultingCallbackResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RefundConsultingCallbackResponse.Merge(m, src)
- }
- func (m *RefundConsultingCallbackResponse) XXX_Size() int {
- return xxx_messageInfo_RefundConsultingCallbackResponse.Size(m)
- }
- func (m *RefundConsultingCallbackResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_RefundConsultingCallbackResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_RefundConsultingCallbackResponse proto.InternalMessageInfo
- func (m *RefundConsultingCallbackResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *RefundConsultingCallbackResponse) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- //线上咨询排班
- type ConsultingSchedule struct {
- ScheduleId int32 `protobuf:"varint,1,opt,name=scheduleId,proto3" json:"scheduleId,omitempty"`
- DoctorId int32 `protobuf:"varint,2,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
- CreateTime int64 `protobuf:"varint,3,opt,name=createTime,proto3" json:"createTime,omitempty"`
- DatePeriod int32 `protobuf:"varint,4,opt,name=datePeriod,proto3" json:"datePeriod,omitempty"`
- Repeated int32 `protobuf:"varint,5,opt,name=repeated,proto3" json:"repeated,omitempty"`
- Week int32 `protobuf:"varint,6,opt,name=week,proto3" json:"week,omitempty"`
- ScheduleDate int64 `protobuf:"varint,7,opt,name=scheduleDate,proto3" json:"scheduleDate,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ConsultingSchedule) Reset() { *m = ConsultingSchedule{} }
- func (m *ConsultingSchedule) String() string { return proto.CompactTextString(m) }
- func (*ConsultingSchedule) ProtoMessage() {}
- func (*ConsultingSchedule) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{10}
- }
- func (m *ConsultingSchedule) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ConsultingSchedule.Unmarshal(m, b)
- }
- func (m *ConsultingSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ConsultingSchedule.Marshal(b, m, deterministic)
- }
- func (m *ConsultingSchedule) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConsultingSchedule.Merge(m, src)
- }
- func (m *ConsultingSchedule) XXX_Size() int {
- return xxx_messageInfo_ConsultingSchedule.Size(m)
- }
- func (m *ConsultingSchedule) XXX_DiscardUnknown() {
- xxx_messageInfo_ConsultingSchedule.DiscardUnknown(m)
- }
- var xxx_messageInfo_ConsultingSchedule proto.InternalMessageInfo
- func (m *ConsultingSchedule) GetScheduleId() int32 {
- if m != nil {
- return m.ScheduleId
- }
- return 0
- }
- func (m *ConsultingSchedule) GetDoctorId() int32 {
- if m != nil {
- return m.DoctorId
- }
- return 0
- }
- func (m *ConsultingSchedule) GetCreateTime() int64 {
- if m != nil {
- return m.CreateTime
- }
- return 0
- }
- func (m *ConsultingSchedule) GetDatePeriod() int32 {
- if m != nil {
- return m.DatePeriod
- }
- return 0
- }
- func (m *ConsultingSchedule) GetRepeated() int32 {
- if m != nil {
- return m.Repeated
- }
- return 0
- }
- func (m *ConsultingSchedule) GetWeek() int32 {
- if m != nil {
- return m.Week
- }
- return 0
- }
- func (m *ConsultingSchedule) GetScheduleDate() int64 {
- if m != nil {
- return m.ScheduleDate
- }
- return 0
- }
- //线上咨询排班列表
- type GetConsultingScheduleListRequest struct {
- DoctorId int32 `protobuf:"varint,1,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetConsultingScheduleListRequest) Reset() { *m = GetConsultingScheduleListRequest{} }
- func (m *GetConsultingScheduleListRequest) String() string { return proto.CompactTextString(m) }
- func (*GetConsultingScheduleListRequest) ProtoMessage() {}
- func (*GetConsultingScheduleListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{11}
- }
- func (m *GetConsultingScheduleListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetConsultingScheduleListRequest.Unmarshal(m, b)
- }
- func (m *GetConsultingScheduleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetConsultingScheduleListRequest.Marshal(b, m, deterministic)
- }
- func (m *GetConsultingScheduleListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetConsultingScheduleListRequest.Merge(m, src)
- }
- func (m *GetConsultingScheduleListRequest) XXX_Size() int {
- return xxx_messageInfo_GetConsultingScheduleListRequest.Size(m)
- }
- func (m *GetConsultingScheduleListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetConsultingScheduleListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetConsultingScheduleListRequest proto.InternalMessageInfo
- func (m *GetConsultingScheduleListRequest) GetDoctorId() int32 {
- if m != nil {
- return m.DoctorId
- }
- return 0
- }
- type GetConsultingScheduleListResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Schedule []*ConsultingSchedule `protobuf:"bytes,3,rep,name=schedule,proto3" json:"schedule,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetConsultingScheduleListResponse) Reset() { *m = GetConsultingScheduleListResponse{} }
- func (m *GetConsultingScheduleListResponse) String() string { return proto.CompactTextString(m) }
- func (*GetConsultingScheduleListResponse) ProtoMessage() {}
- func (*GetConsultingScheduleListResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{12}
- }
- func (m *GetConsultingScheduleListResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetConsultingScheduleListResponse.Unmarshal(m, b)
- }
- func (m *GetConsultingScheduleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetConsultingScheduleListResponse.Marshal(b, m, deterministic)
- }
- func (m *GetConsultingScheduleListResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetConsultingScheduleListResponse.Merge(m, src)
- }
- func (m *GetConsultingScheduleListResponse) XXX_Size() int {
- return xxx_messageInfo_GetConsultingScheduleListResponse.Size(m)
- }
- func (m *GetConsultingScheduleListResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_GetConsultingScheduleListResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetConsultingScheduleListResponse proto.InternalMessageInfo
- func (m *GetConsultingScheduleListResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *GetConsultingScheduleListResponse) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- func (m *GetConsultingScheduleListResponse) GetSchedule() []*ConsultingSchedule {
- if m != nil {
- return m.Schedule
- }
- return nil
- }
- //设置线上咨询排班
- type SetConsultingScheduleRequest struct {
- DoctorId int32 `protobuf:"varint,1,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
- Repeated int32 `protobuf:"varint,2,opt,name=repeated,proto3" json:"repeated,omitempty"`
- ServiceDate string `protobuf:"bytes,3,opt,name=serviceDate,proto3" json:"serviceDate,omitempty"`
- DatePeriod int32 `protobuf:"varint,4,opt,name=datePeriod,proto3" json:"datePeriod,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *SetConsultingScheduleRequest) Reset() { *m = SetConsultingScheduleRequest{} }
- func (m *SetConsultingScheduleRequest) String() string { return proto.CompactTextString(m) }
- func (*SetConsultingScheduleRequest) ProtoMessage() {}
- func (*SetConsultingScheduleRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{13}
- }
- func (m *SetConsultingScheduleRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetConsultingScheduleRequest.Unmarshal(m, b)
- }
- func (m *SetConsultingScheduleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetConsultingScheduleRequest.Marshal(b, m, deterministic)
- }
- func (m *SetConsultingScheduleRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetConsultingScheduleRequest.Merge(m, src)
- }
- func (m *SetConsultingScheduleRequest) XXX_Size() int {
- return xxx_messageInfo_SetConsultingScheduleRequest.Size(m)
- }
- func (m *SetConsultingScheduleRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetConsultingScheduleRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_SetConsultingScheduleRequest proto.InternalMessageInfo
- func (m *SetConsultingScheduleRequest) GetDoctorId() int32 {
- if m != nil {
- return m.DoctorId
- }
- return 0
- }
- func (m *SetConsultingScheduleRequest) GetRepeated() int32 {
- if m != nil {
- return m.Repeated
- }
- return 0
- }
- func (m *SetConsultingScheduleRequest) GetServiceDate() string {
- if m != nil {
- return m.ServiceDate
- }
- return ""
- }
- func (m *SetConsultingScheduleRequest) GetDatePeriod() int32 {
- if m != nil {
- return m.DatePeriod
- }
- return 0
- }
- type SetConsultingScheduleResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *SetConsultingScheduleResponse) Reset() { *m = SetConsultingScheduleResponse{} }
- func (m *SetConsultingScheduleResponse) String() string { return proto.CompactTextString(m) }
- func (*SetConsultingScheduleResponse) ProtoMessage() {}
- func (*SetConsultingScheduleResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{14}
- }
- func (m *SetConsultingScheduleResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetConsultingScheduleResponse.Unmarshal(m, b)
- }
- func (m *SetConsultingScheduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetConsultingScheduleResponse.Marshal(b, m, deterministic)
- }
- func (m *SetConsultingScheduleResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetConsultingScheduleResponse.Merge(m, src)
- }
- func (m *SetConsultingScheduleResponse) XXX_Size() int {
- return xxx_messageInfo_SetConsultingScheduleResponse.Size(m)
- }
- func (m *SetConsultingScheduleResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_SetConsultingScheduleResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_SetConsultingScheduleResponse proto.InternalMessageInfo
- func (m *SetConsultingScheduleResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *SetConsultingScheduleResponse) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- //取消线上排班
- type CancelConsultingScheduleRequest struct {
- DoctorId int32 `protobuf:"varint,1,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
- ScheduleId int32 `protobuf:"varint,2,opt,name=scheduleId,proto3" json:"scheduleId,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CancelConsultingScheduleRequest) Reset() { *m = CancelConsultingScheduleRequest{} }
- func (m *CancelConsultingScheduleRequest) String() string { return proto.CompactTextString(m) }
- func (*CancelConsultingScheduleRequest) ProtoMessage() {}
- func (*CancelConsultingScheduleRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{15}
- }
- func (m *CancelConsultingScheduleRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CancelConsultingScheduleRequest.Unmarshal(m, b)
- }
- func (m *CancelConsultingScheduleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CancelConsultingScheduleRequest.Marshal(b, m, deterministic)
- }
- func (m *CancelConsultingScheduleRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CancelConsultingScheduleRequest.Merge(m, src)
- }
- func (m *CancelConsultingScheduleRequest) XXX_Size() int {
- return xxx_messageInfo_CancelConsultingScheduleRequest.Size(m)
- }
- func (m *CancelConsultingScheduleRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CancelConsultingScheduleRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_CancelConsultingScheduleRequest proto.InternalMessageInfo
- func (m *CancelConsultingScheduleRequest) GetDoctorId() int32 {
- if m != nil {
- return m.DoctorId
- }
- return 0
- }
- func (m *CancelConsultingScheduleRequest) GetScheduleId() int32 {
- if m != nil {
- return m.ScheduleId
- }
- return 0
- }
- type CancelConsultingScheduleResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CancelConsultingScheduleResponse) Reset() { *m = CancelConsultingScheduleResponse{} }
- func (m *CancelConsultingScheduleResponse) String() string { return proto.CompactTextString(m) }
- func (*CancelConsultingScheduleResponse) ProtoMessage() {}
- func (*CancelConsultingScheduleResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{16}
- }
- func (m *CancelConsultingScheduleResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CancelConsultingScheduleResponse.Unmarshal(m, b)
- }
- func (m *CancelConsultingScheduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CancelConsultingScheduleResponse.Marshal(b, m, deterministic)
- }
- func (m *CancelConsultingScheduleResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CancelConsultingScheduleResponse.Merge(m, src)
- }
- func (m *CancelConsultingScheduleResponse) XXX_Size() int {
- return xxx_messageInfo_CancelConsultingScheduleResponse.Size(m)
- }
- func (m *CancelConsultingScheduleResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CancelConsultingScheduleResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_CancelConsultingScheduleResponse proto.InternalMessageInfo
- func (m *CancelConsultingScheduleResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *CancelConsultingScheduleResponse) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- // 咨询订单定义类
- type ConsultOrder struct {
- OrderId int32 `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
- ConsultId int32 `protobuf:"varint,2,opt,name=consultId,proto3" json:"consultId,omitempty"`
- OrderTitle string `protobuf:"bytes,3,opt,name=orderTitle,proto3" json:"orderTitle,omitempty"`
- OrderType int32 `protobuf:"varint,4,opt,name=orderType,proto3" json:"orderType,omitempty"`
- OrderNo string `protobuf:"bytes,5,opt,name=orderNo,proto3" json:"orderNo,omitempty"`
- PatientName string `protobuf:"bytes,6,opt,name=patientName,proto3" json:"patientName,omitempty"`
- PatientSex int32 `protobuf:"varint,7,opt,name=patientSex,proto3" json:"patientSex,omitempty"`
- StrPatientSex string `protobuf:"bytes,8,opt,name=strPatientSex,proto3" json:"strPatientSex,omitempty"`
- HospitalName string `protobuf:"bytes,9,opt,name=hospitalName,proto3" json:"hospitalName,omitempty"`
- DoctorName string `protobuf:"bytes,10,opt,name=doctorName,proto3" json:"doctorName,omitempty"`
- DeptName string `protobuf:"bytes,11,opt,name=deptName,proto3" json:"deptName,omitempty"`
- CreateTime int64 `protobuf:"varint,12,opt,name=createTime,proto3" json:"createTime,omitempty"`
- OrderAmount int32 `protobuf:"varint,13,opt,name=orderAmount,proto3" json:"orderAmount,omitempty"`
- StrOrderAmount string `protobuf:"bytes,14,opt,name=strOrderAmount,proto3" json:"strOrderAmount,omitempty"`
- StatusName string `protobuf:"bytes,15,opt,name=statusName,proto3" json:"statusName,omitempty"`
- DoctorId int32 `protobuf:"varint,16,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
- PaymentStatus int32 `protobuf:"varint,17,opt,name=paymentStatus,proto3" json:"paymentStatus,omitempty"`
- UserId int32 `protobuf:"varint,18,opt,name=userId,proto3" json:"userId,omitempty"`
- PatientMobile string `protobuf:"bytes,19,opt,name=patientMobile,proto3" json:"patientMobile,omitempty"`
- PatientAge int32 `protobuf:"varint,20,opt,name=patientAge,proto3" json:"patientAge,omitempty"`
- Description string `protobuf:"bytes,21,opt,name=description,proto3" json:"description,omitempty"`
- HospitalId int32 `protobuf:"varint,22,opt,name=hospitalId,proto3" json:"hospitalId,omitempty"`
- DeptId int32 `protobuf:"varint,23,opt,name=deptId,proto3" json:"deptId,omitempty"`
- SessionId string `protobuf:"bytes,24,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
- Status int32 `protobuf:"varint,25,opt,name=status,proto3" json:"status,omitempty"`
- PatientId int32 `protobuf:"varint,26,opt,name=patientId,proto3" json:"patientId,omitempty"`
- IdNo string `protobuf:"bytes,27,opt,name=idNo,proto3" json:"idNo,omitempty"`
- ExtStatus int32 `protobuf:"varint,28,opt,name=extStatus,proto3" json:"extStatus,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ConsultOrder) Reset() { *m = ConsultOrder{} }
- func (m *ConsultOrder) String() string { return proto.CompactTextString(m) }
- func (*ConsultOrder) ProtoMessage() {}
- func (*ConsultOrder) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{17}
- }
- func (m *ConsultOrder) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ConsultOrder.Unmarshal(m, b)
- }
- func (m *ConsultOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ConsultOrder.Marshal(b, m, deterministic)
- }
- func (m *ConsultOrder) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConsultOrder.Merge(m, src)
- }
- func (m *ConsultOrder) XXX_Size() int {
- return xxx_messageInfo_ConsultOrder.Size(m)
- }
- func (m *ConsultOrder) XXX_DiscardUnknown() {
- xxx_messageInfo_ConsultOrder.DiscardUnknown(m)
- }
- var xxx_messageInfo_ConsultOrder proto.InternalMessageInfo
- func (m *ConsultOrder) GetOrderId() int32 {
- if m != nil {
- return m.OrderId
- }
- return 0
- }
- func (m *ConsultOrder) GetConsultId() int32 {
- if m != nil {
- return m.ConsultId
- }
- return 0
- }
- func (m *ConsultOrder) GetOrderTitle() string {
- if m != nil {
- return m.OrderTitle
- }
- return ""
- }
- func (m *ConsultOrder) GetOrderType() int32 {
- if m != nil {
- return m.OrderType
- }
- return 0
- }
- func (m *ConsultOrder) GetOrderNo() string {
- if m != nil {
- return m.OrderNo
- }
- return ""
- }
- func (m *ConsultOrder) GetPatientName() string {
- if m != nil {
- return m.PatientName
- }
- return ""
- }
- func (m *ConsultOrder) GetPatientSex() int32 {
- if m != nil {
- return m.PatientSex
- }
- return 0
- }
- func (m *ConsultOrder) GetStrPatientSex() string {
- if m != nil {
- return m.StrPatientSex
- }
- return ""
- }
- func (m *ConsultOrder) GetHospitalName() string {
- if m != nil {
- return m.HospitalName
- }
- return ""
- }
- func (m *ConsultOrder) GetDoctorName() string {
- if m != nil {
- return m.DoctorName
- }
- return ""
- }
- func (m *ConsultOrder) GetDeptName() string {
- if m != nil {
- return m.DeptName
- }
- return ""
- }
- func (m *ConsultOrder) GetCreateTime() int64 {
- if m != nil {
- return m.CreateTime
- }
- return 0
- }
- func (m *ConsultOrder) GetOrderAmount() int32 {
- if m != nil {
- return m.OrderAmount
- }
- return 0
- }
- func (m *ConsultOrder) GetStrOrderAmount() string {
- if m != nil {
- return m.StrOrderAmount
- }
- return ""
- }
- func (m *ConsultOrder) GetStatusName() string {
- if m != nil {
- return m.StatusName
- }
- return ""
- }
- func (m *ConsultOrder) GetDoctorId() int32 {
- if m != nil {
- return m.DoctorId
- }
- return 0
- }
- func (m *ConsultOrder) GetPaymentStatus() int32 {
- if m != nil {
- return m.PaymentStatus
- }
- return 0
- }
- func (m *ConsultOrder) GetUserId() int32 {
- if m != nil {
- return m.UserId
- }
- return 0
- }
- func (m *ConsultOrder) GetPatientMobile() string {
- if m != nil {
- return m.PatientMobile
- }
- return ""
- }
- func (m *ConsultOrder) GetPatientAge() int32 {
- if m != nil {
- return m.PatientAge
- }
- return 0
- }
- func (m *ConsultOrder) GetDescription() string {
- if m != nil {
- return m.Description
- }
- return ""
- }
- func (m *ConsultOrder) GetHospitalId() int32 {
- if m != nil {
- return m.HospitalId
- }
- return 0
- }
- func (m *ConsultOrder) GetDeptId() int32 {
- if m != nil {
- return m.DeptId
- }
- return 0
- }
- func (m *ConsultOrder) GetSessionId() string {
- if m != nil {
- return m.SessionId
- }
- return ""
- }
- func (m *ConsultOrder) GetStatus() int32 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- func (m *ConsultOrder) GetPatientId() int32 {
- if m != nil {
- return m.PatientId
- }
- return 0
- }
- func (m *ConsultOrder) GetIdNo() string {
- if m != nil {
- return m.IdNo
- }
- return ""
- }
- func (m *ConsultOrder) GetExtStatus() int32 {
- if m != nil {
- return m.ExtStatus
- }
- return 0
- }
- // 得到咨询订单列表
- type GetConsultOrderListRequest struct {
- UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
- PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
- PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetConsultOrderListRequest) Reset() { *m = GetConsultOrderListRequest{} }
- func (m *GetConsultOrderListRequest) String() string { return proto.CompactTextString(m) }
- func (*GetConsultOrderListRequest) ProtoMessage() {}
- func (*GetConsultOrderListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{18}
- }
- func (m *GetConsultOrderListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetConsultOrderListRequest.Unmarshal(m, b)
- }
- func (m *GetConsultOrderListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetConsultOrderListRequest.Marshal(b, m, deterministic)
- }
- func (m *GetConsultOrderListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetConsultOrderListRequest.Merge(m, src)
- }
- func (m *GetConsultOrderListRequest) XXX_Size() int {
- return xxx_messageInfo_GetConsultOrderListRequest.Size(m)
- }
- func (m *GetConsultOrderListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetConsultOrderListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetConsultOrderListRequest proto.InternalMessageInfo
- func (m *GetConsultOrderListRequest) GetUserId() int32 {
- if m != nil {
- return m.UserId
- }
- return 0
- }
- func (m *GetConsultOrderListRequest) GetPageIndex() int32 {
- if m != nil {
- return m.PageIndex
- }
- return 0
- }
- func (m *GetConsultOrderListRequest) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- type GetConsultOrderListResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Consult []*ConsultOrder `protobuf:"bytes,3,rep,name=consult,proto3" json:"consult,omitempty"`
- Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
- TotalPages int32 `protobuf:"varint,5,opt,name=totalPages,proto3" json:"totalPages,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetConsultOrderListResponse) Reset() { *m = GetConsultOrderListResponse{} }
- func (m *GetConsultOrderListResponse) String() string { return proto.CompactTextString(m) }
- func (*GetConsultOrderListResponse) ProtoMessage() {}
- func (*GetConsultOrderListResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{19}
- }
- func (m *GetConsultOrderListResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetConsultOrderListResponse.Unmarshal(m, b)
- }
- func (m *GetConsultOrderListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetConsultOrderListResponse.Marshal(b, m, deterministic)
- }
- func (m *GetConsultOrderListResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetConsultOrderListResponse.Merge(m, src)
- }
- func (m *GetConsultOrderListResponse) XXX_Size() int {
- return xxx_messageInfo_GetConsultOrderListResponse.Size(m)
- }
- func (m *GetConsultOrderListResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_GetConsultOrderListResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetConsultOrderListResponse proto.InternalMessageInfo
- func (m *GetConsultOrderListResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *GetConsultOrderListResponse) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- func (m *GetConsultOrderListResponse) GetConsult() []*ConsultOrder {
- if m != nil {
- return m.Consult
- }
- return nil
- }
- func (m *GetConsultOrderListResponse) GetCount() int32 {
- if m != nil {
- return m.Count
- }
- return 0
- }
- func (m *GetConsultOrderListResponse) GetTotalPages() int32 {
- if m != nil {
- return m.TotalPages
- }
- return 0
- }
- //获取咨询订单详情请求
- type GetConsultOrderRequest struct {
- OrderId int32 `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetConsultOrderRequest) Reset() { *m = GetConsultOrderRequest{} }
- func (m *GetConsultOrderRequest) String() string { return proto.CompactTextString(m) }
- func (*GetConsultOrderRequest) ProtoMessage() {}
- func (*GetConsultOrderRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{20}
- }
- func (m *GetConsultOrderRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetConsultOrderRequest.Unmarshal(m, b)
- }
- func (m *GetConsultOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetConsultOrderRequest.Marshal(b, m, deterministic)
- }
- func (m *GetConsultOrderRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetConsultOrderRequest.Merge(m, src)
- }
- func (m *GetConsultOrderRequest) XXX_Size() int {
- return xxx_messageInfo_GetConsultOrderRequest.Size(m)
- }
- func (m *GetConsultOrderRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetConsultOrderRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetConsultOrderRequest proto.InternalMessageInfo
- func (m *GetConsultOrderRequest) GetOrderId() int32 {
- if m != nil {
- return m.OrderId
- }
- return 0
- }
- //获取咨询订单详情响应
- type GetConsultOrderResponse struct {
- Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- Consult *ConsultOrder `protobuf:"bytes,3,opt,name=consult,proto3" json:"consult,omitempty"`
- ImageUrl []string `protobuf:"bytes,4,rep,name=imageUrl,proto3" json:"imageUrl,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetConsultOrderResponse) Reset() { *m = GetConsultOrderResponse{} }
- func (m *GetConsultOrderResponse) String() string { return proto.CompactTextString(m) }
- func (*GetConsultOrderResponse) ProtoMessage() {}
- func (*GetConsultOrderResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cae5a521d48ed22e, []int{21}
- }
- func (m *GetConsultOrderResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetConsultOrderResponse.Unmarshal(m, b)
- }
- func (m *GetConsultOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetConsultOrderResponse.Marshal(b, m, deterministic)
- }
- func (m *GetConsultOrderResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetConsultOrderResponse.Merge(m, src)
- }
- func (m *GetConsultOrderResponse) XXX_Size() int {
- return xxx_messageInfo_GetConsultOrderResponse.Size(m)
- }
- func (m *GetConsultOrderResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_GetConsultOrderResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetConsultOrderResponse proto.InternalMessageInfo
- func (m *GetConsultOrderResponse) GetCode() int32 {
- if m != nil {
- return m.Code
- }
- return 0
- }
- func (m *GetConsultOrderResponse) GetMsg() string {
- if m != nil {
- return m.Msg
- }
- return ""
- }
- func (m *GetConsultOrderResponse) GetConsult() *ConsultOrder {
- if m != nil {
- return m.Consult
- }
- return nil
- }
- func (m *GetConsultOrderResponse) GetImageUrl() []string {
- if m != nil {
- return m.ImageUrl
- }
- return nil
- }
- func init() {
- proto.RegisterType((*CreateConsultingOrderRequest)(nil), "com.ywt.gapi.consult.CreateConsultingOrderRequest")
- proto.RegisterType((*CreateConsultingOrderResponse)(nil), "com.ywt.gapi.consult.CreateConsultingOrderResponse")
- proto.RegisterType((*PayConsultingCallbackRequest)(nil), "com.ywt.gapi.consult.PayConsultingCallbackRequest")
- proto.RegisterType((*PayConsultingCallbackResponse)(nil), "com.ywt.gapi.consult.PayConsultingCallbackResponse")
- proto.RegisterType((*ArrangeConsultingRequest)(nil), "com.ywt.gapi.consult.ArrangeConsultingRequest")
- proto.RegisterType((*ArrangeConsultingResponse)(nil), "com.ywt.gapi.consult.ArrangeConsultingResponse")
- proto.RegisterType((*CancelConsultingRequest)(nil), "com.ywt.gapi.consult.CancelConsultingRequest")
- proto.RegisterType((*CancelConsultingResponse)(nil), "com.ywt.gapi.consult.CancelConsultingResponse")
- proto.RegisterType((*RefundConsultingCallbackRequest)(nil), "com.ywt.gapi.consult.RefundConsultingCallbackRequest")
- proto.RegisterType((*RefundConsultingCallbackResponse)(nil), "com.ywt.gapi.consult.RefundConsultingCallbackResponse")
- proto.RegisterType((*ConsultingSchedule)(nil), "com.ywt.gapi.consult.ConsultingSchedule")
- proto.RegisterType((*GetConsultingScheduleListRequest)(nil), "com.ywt.gapi.consult.GetConsultingScheduleListRequest")
- proto.RegisterType((*GetConsultingScheduleListResponse)(nil), "com.ywt.gapi.consult.GetConsultingScheduleListResponse")
- proto.RegisterType((*SetConsultingScheduleRequest)(nil), "com.ywt.gapi.consult.SetConsultingScheduleRequest")
- proto.RegisterType((*SetConsultingScheduleResponse)(nil), "com.ywt.gapi.consult.SetConsultingScheduleResponse")
- proto.RegisterType((*CancelConsultingScheduleRequest)(nil), "com.ywt.gapi.consult.CancelConsultingScheduleRequest")
- proto.RegisterType((*CancelConsultingScheduleResponse)(nil), "com.ywt.gapi.consult.CancelConsultingScheduleResponse")
- proto.RegisterType((*ConsultOrder)(nil), "com.ywt.gapi.consult.ConsultOrder")
- proto.RegisterType((*GetConsultOrderListRequest)(nil), "com.ywt.gapi.consult.GetConsultOrderListRequest")
- proto.RegisterType((*GetConsultOrderListResponse)(nil), "com.ywt.gapi.consult.GetConsultOrderListResponse")
- proto.RegisterType((*GetConsultOrderRequest)(nil), "com.ywt.gapi.consult.GetConsultOrderRequest")
- proto.RegisterType((*GetConsultOrderResponse)(nil), "com.ywt.gapi.consult.GetConsultOrderResponse")
- }
- func init() { proto.RegisterFile("consult.proto", fileDescriptor_cae5a521d48ed22e) }
- var fileDescriptor_cae5a521d48ed22e = []byte{
- // 1464 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0xcd, 0x8f, 0xdb, 0x44,
- 0x14, 0x97, 0x93, 0xfd, 0xf2, 0xdb, 0xdd, 0x7e, 0xb8, 0xed, 0x76, 0x9a, 0xa6, 0x6d, 0xb0, 0x2a,
- 0xb4, 0x07, 0x9a, 0xc2, 0x56, 0xc0, 0x05, 0x21, 0x96, 0x2d, 0x2a, 0x11, 0xb0, 0x5d, 0x79, 0xcb,
- 0x05, 0x09, 0xa1, 0x59, 0x7b, 0xea, 0xb5, 0xea, 0x78, 0x5c, 0xcf, 0x84, 0x6e, 0xf6, 0xc4, 0xb1,
- 0x48, 0x48, 0x5c, 0xcb, 0x5f, 0xc2, 0x1f, 0xc3, 0x95, 0x33, 0xe2, 0x4f, 0x40, 0xf3, 0x61, 0x7b,
- 0xec, 0xc4, 0x49, 0xcc, 0x6d, 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 0x34, 0x1a, 0x3a, 0x0d, 0x5a, 0x97, 0x0d, 0xa3, 0xbd, 0x4f, 0x5b,
- 0xef, 0x33, 0xd2, 0x90, 0xcd, 0xfb, 0xaa, 0x29, 0x0d, 0x17, 0x0d, 0x91, 0x4d, 0x69, 0xb8, 0x78,
- 0xbc, 0x13, 0xd1, 0xf1, 0x1b, 0x46, 0xab, 0xa6, 0xe8, 0x2c, 0x99, 0xf4, 0x9a, 0xa2, 0xb3, 0x74,
- 0x82, 0xbb, 0x84, 0x1b, 0xe1, 0x6c, 0xdf, 0x76, 0x3e, 0x5c, 0xe6, 0xde, 0xfa, 0x9d, 0xd2, 0xfb,
- 0xa8, 0xc5, 0x0e, 0x6d, 0x3b, 0x81, 0xab, 0x35, 0xdb, 0xce, 0x07, 0x2b, 0x69, 0xc9, 0x6d, 0x3e,
- 0x5a, 0xf1, 0x6b, 0x65, 0xef, 0x4b, 0x17, 0xe6, 0xfe, 0xd9, 0x78, 0x62, 0xfd, 0xb0, 0xfe, 0x58,
- 0x00, 0x6f, 0x2d, 0xeb, 0x6c, 0x43, 0xfe, 0x2b, 0xf9, 0xe4, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff,
- 0x92, 0xbd, 0x98, 0x11, 0xa6, 0x14, 0x00, 0x00,
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConn
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion4
- // ConsultingServiceClient is the client API for ConsultingService service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type ConsultingServiceClient interface {
- //创建咨询订单
- CreateConsultingOrder(ctx context.Context, in *CreateConsultingOrderRequest, opts ...grpc.CallOption) (*CreateConsultingOrderResponse, error)
- //订单支付成功通知
- PayConsultingCallback(ctx context.Context, in *PayConsultingCallbackRequest, opts ...grpc.CallOption) (*PayConsultingCallbackResponse, error)
- //咨询订单接诊/退诊
- ArrangeConsulting(ctx context.Context, in *ArrangeConsultingRequest, opts ...grpc.CallOption) (*ArrangeConsultingResponse, error)
- //取消咨询订单
- CancelConsulting(ctx context.Context, in *CancelConsultingRequest, opts ...grpc.CallOption) (*CancelConsultingResponse, error)
- //咨询订单退款回调
- RefundConsultingCallback(ctx context.Context, in *RefundConsultingCallbackRequest, opts ...grpc.CallOption) (*RefundConsultingCallbackResponse, error)
- //线上咨询排班列表
- GetConsultingScheduleList(ctx context.Context, in *GetConsultingScheduleListRequest, opts ...grpc.CallOption) (*GetConsultingScheduleListResponse, error)
- //设置线上咨询排班
- SetConsultingSchedule(ctx context.Context, in *SetConsultingScheduleRequest, opts ...grpc.CallOption) (*SetConsultingScheduleResponse, error)
- //取消线上排班
- CancelConsultingSchedule(ctx context.Context, in *CancelConsultingScheduleRequest, opts ...grpc.CallOption) (*CancelConsultingScheduleResponse, error)
- // 得到咨询订单列表
- GetConsultOrderList(ctx context.Context, in *GetConsultOrderListRequest, opts ...grpc.CallOption) (*GetConsultOrderListResponse, error)
- //获取咨询订单详情
- GetConsultOrder(ctx context.Context, in *GetConsultOrderRequest, opts ...grpc.CallOption) (*GetConsultOrderResponse, error)
- }
- type consultingServiceClient struct {
- cc *grpc.ClientConn
- }
- func NewConsultingServiceClient(cc *grpc.ClientConn) ConsultingServiceClient {
- return &consultingServiceClient{cc}
- }
- func (c *consultingServiceClient) CreateConsultingOrder(ctx context.Context, in *CreateConsultingOrderRequest, opts ...grpc.CallOption) (*CreateConsultingOrderResponse, error) {
- out := new(CreateConsultingOrderResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/createConsultingOrder", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *consultingServiceClient) PayConsultingCallback(ctx context.Context, in *PayConsultingCallbackRequest, opts ...grpc.CallOption) (*PayConsultingCallbackResponse, error) {
- out := new(PayConsultingCallbackResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/payConsultingCallback", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *consultingServiceClient) ArrangeConsulting(ctx context.Context, in *ArrangeConsultingRequest, opts ...grpc.CallOption) (*ArrangeConsultingResponse, error) {
- out := new(ArrangeConsultingResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/arrangeConsulting", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *consultingServiceClient) CancelConsulting(ctx context.Context, in *CancelConsultingRequest, opts ...grpc.CallOption) (*CancelConsultingResponse, error) {
- out := new(CancelConsultingResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/cancelConsulting", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *consultingServiceClient) RefundConsultingCallback(ctx context.Context, in *RefundConsultingCallbackRequest, opts ...grpc.CallOption) (*RefundConsultingCallbackResponse, error) {
- out := new(RefundConsultingCallbackResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/refundConsultingCallback", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *consultingServiceClient) GetConsultingScheduleList(ctx context.Context, in *GetConsultingScheduleListRequest, opts ...grpc.CallOption) (*GetConsultingScheduleListResponse, error) {
- out := new(GetConsultingScheduleListResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/getConsultingScheduleList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *consultingServiceClient) SetConsultingSchedule(ctx context.Context, in *SetConsultingScheduleRequest, opts ...grpc.CallOption) (*SetConsultingScheduleResponse, error) {
- out := new(SetConsultingScheduleResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/setConsultingSchedule", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *consultingServiceClient) CancelConsultingSchedule(ctx context.Context, in *CancelConsultingScheduleRequest, opts ...grpc.CallOption) (*CancelConsultingScheduleResponse, error) {
- out := new(CancelConsultingScheduleResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/cancelConsultingSchedule", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *consultingServiceClient) GetConsultOrderList(ctx context.Context, in *GetConsultOrderListRequest, opts ...grpc.CallOption) (*GetConsultOrderListResponse, error) {
- out := new(GetConsultOrderListResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/getConsultOrderList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *consultingServiceClient) GetConsultOrder(ctx context.Context, in *GetConsultOrderRequest, opts ...grpc.CallOption) (*GetConsultOrderResponse, error) {
- out := new(GetConsultOrderResponse)
- err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/getConsultOrder", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // ConsultingServiceServer is the server API for ConsultingService service.
- type ConsultingServiceServer interface {
- //创建咨询订单
- CreateConsultingOrder(context.Context, *CreateConsultingOrderRequest) (*CreateConsultingOrderResponse, error)
- //订单支付成功通知
- PayConsultingCallback(context.Context, *PayConsultingCallbackRequest) (*PayConsultingCallbackResponse, error)
- //咨询订单接诊/退诊
- ArrangeConsulting(context.Context, *ArrangeConsultingRequest) (*ArrangeConsultingResponse, error)
- //取消咨询订单
- CancelConsulting(context.Context, *CancelConsultingRequest) (*CancelConsultingResponse, error)
- //咨询订单退款回调
- RefundConsultingCallback(context.Context, *RefundConsultingCallbackRequest) (*RefundConsultingCallbackResponse, error)
- //线上咨询排班列表
- GetConsultingScheduleList(context.Context, *GetConsultingScheduleListRequest) (*GetConsultingScheduleListResponse, error)
- //设置线上咨询排班
- SetConsultingSchedule(context.Context, *SetConsultingScheduleRequest) (*SetConsultingScheduleResponse, error)
- //取消线上排班
- CancelConsultingSchedule(context.Context, *CancelConsultingScheduleRequest) (*CancelConsultingScheduleResponse, error)
- // 得到咨询订单列表
- GetConsultOrderList(context.Context, *GetConsultOrderListRequest) (*GetConsultOrderListResponse, error)
- //获取咨询订单详情
- GetConsultOrder(context.Context, *GetConsultOrderRequest) (*GetConsultOrderResponse, error)
- }
- // UnimplementedConsultingServiceServer can be embedded to have forward compatible implementations.
- type UnimplementedConsultingServiceServer struct {
- }
- func (*UnimplementedConsultingServiceServer) CreateConsultingOrder(ctx context.Context, req *CreateConsultingOrderRequest) (*CreateConsultingOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateConsultingOrder not implemented")
- }
- func (*UnimplementedConsultingServiceServer) PayConsultingCallback(ctx context.Context, req *PayConsultingCallbackRequest) (*PayConsultingCallbackResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PayConsultingCallback not implemented")
- }
- func (*UnimplementedConsultingServiceServer) ArrangeConsulting(ctx context.Context, req *ArrangeConsultingRequest) (*ArrangeConsultingResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ArrangeConsulting not implemented")
- }
- func (*UnimplementedConsultingServiceServer) CancelConsulting(ctx context.Context, req *CancelConsultingRequest) (*CancelConsultingResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CancelConsulting not implemented")
- }
- func (*UnimplementedConsultingServiceServer) RefundConsultingCallback(ctx context.Context, req *RefundConsultingCallbackRequest) (*RefundConsultingCallbackResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RefundConsultingCallback not implemented")
- }
- func (*UnimplementedConsultingServiceServer) GetConsultingScheduleList(ctx context.Context, req *GetConsultingScheduleListRequest) (*GetConsultingScheduleListResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetConsultingScheduleList not implemented")
- }
- func (*UnimplementedConsultingServiceServer) SetConsultingSchedule(ctx context.Context, req *SetConsultingScheduleRequest) (*SetConsultingScheduleResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SetConsultingSchedule not implemented")
- }
- func (*UnimplementedConsultingServiceServer) CancelConsultingSchedule(ctx context.Context, req *CancelConsultingScheduleRequest) (*CancelConsultingScheduleResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CancelConsultingSchedule not implemented")
- }
- func (*UnimplementedConsultingServiceServer) GetConsultOrderList(ctx context.Context, req *GetConsultOrderListRequest) (*GetConsultOrderListResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetConsultOrderList not implemented")
- }
- func (*UnimplementedConsultingServiceServer) GetConsultOrder(ctx context.Context, req *GetConsultOrderRequest) (*GetConsultOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetConsultOrder not implemented")
- }
- func RegisterConsultingServiceServer(s *grpc.Server, srv ConsultingServiceServer) {
- s.RegisterService(&_ConsultingService_serviceDesc, srv)
- }
- func _ConsultingService_CreateConsultingOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateConsultingOrderRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).CreateConsultingOrder(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/CreateConsultingOrder",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).CreateConsultingOrder(ctx, req.(*CreateConsultingOrderRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _ConsultingService_PayConsultingCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(PayConsultingCallbackRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).PayConsultingCallback(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/PayConsultingCallback",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).PayConsultingCallback(ctx, req.(*PayConsultingCallbackRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _ConsultingService_ArrangeConsulting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ArrangeConsultingRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).ArrangeConsulting(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/ArrangeConsulting",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).ArrangeConsulting(ctx, req.(*ArrangeConsultingRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _ConsultingService_CancelConsulting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CancelConsultingRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).CancelConsulting(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/CancelConsulting",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).CancelConsulting(ctx, req.(*CancelConsultingRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _ConsultingService_RefundConsultingCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RefundConsultingCallbackRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).RefundConsultingCallback(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/RefundConsultingCallback",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).RefundConsultingCallback(ctx, req.(*RefundConsultingCallbackRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _ConsultingService_GetConsultingScheduleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetConsultingScheduleListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).GetConsultingScheduleList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/GetConsultingScheduleList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).GetConsultingScheduleList(ctx, req.(*GetConsultingScheduleListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _ConsultingService_SetConsultingSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SetConsultingScheduleRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).SetConsultingSchedule(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/SetConsultingSchedule",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).SetConsultingSchedule(ctx, req.(*SetConsultingScheduleRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _ConsultingService_CancelConsultingSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CancelConsultingScheduleRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).CancelConsultingSchedule(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/CancelConsultingSchedule",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).CancelConsultingSchedule(ctx, req.(*CancelConsultingScheduleRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _ConsultingService_GetConsultOrderList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetConsultOrderListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).GetConsultOrderList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/GetConsultOrderList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).GetConsultOrderList(ctx, req.(*GetConsultOrderListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _ConsultingService_GetConsultOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetConsultOrderRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(ConsultingServiceServer).GetConsultOrder(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/com.ywt.gapi.consult.ConsultingService/GetConsultOrder",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(ConsultingServiceServer).GetConsultOrder(ctx, req.(*GetConsultOrderRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _ConsultingService_serviceDesc = grpc.ServiceDesc{
- ServiceName: "com.ywt.gapi.consult.ConsultingService",
- HandlerType: (*ConsultingServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "createConsultingOrder",
- Handler: _ConsultingService_CreateConsultingOrder_Handler,
- },
- {
- MethodName: "payConsultingCallback",
- Handler: _ConsultingService_PayConsultingCallback_Handler,
- },
- {
- MethodName: "arrangeConsulting",
- Handler: _ConsultingService_ArrangeConsulting_Handler,
- },
- {
- MethodName: "cancelConsulting",
- Handler: _ConsultingService_CancelConsulting_Handler,
- },
- {
- MethodName: "refundConsultingCallback",
- Handler: _ConsultingService_RefundConsultingCallback_Handler,
- },
- {
- MethodName: "getConsultingScheduleList",
- Handler: _ConsultingService_GetConsultingScheduleList_Handler,
- },
- {
- MethodName: "setConsultingSchedule",
- Handler: _ConsultingService_SetConsultingSchedule_Handler,
- },
- {
- MethodName: "cancelConsultingSchedule",
- Handler: _ConsultingService_CancelConsultingSchedule_Handler,
- },
- {
- MethodName: "getConsultOrderList",
- Handler: _ConsultingService_GetConsultOrderList_Handler,
- },
- {
- MethodName: "getConsultOrder",
- Handler: _ConsultingService_GetConsultOrder_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "consult.proto",
- }
|