consult.pb.go 83 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: consult.proto
  3. package gapi
  4. import (
  5. context "context"
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. grpc "google.golang.org/grpc"
  9. codes "google.golang.org/grpc/codes"
  10. status "google.golang.org/grpc/status"
  11. math "math"
  12. )
  13. // Reference imports to suppress errors if they are not otherwise used.
  14. var _ = proto.Marshal
  15. var _ = fmt.Errorf
  16. var _ = math.Inf
  17. // This is a compile-time assertion to ensure that this generated file
  18. // is compatible with the proto package it is being compiled against.
  19. // A compilation error at this line likely means your copy of the
  20. // proto package needs to be updated.
  21. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  22. //创建咨询订单请求
  23. type CreateConsultingOrderRequest struct {
  24. UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
  25. Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
  26. PatientName string `protobuf:"bytes,3,opt,name=patientName,proto3" json:"patientName,omitempty"`
  27. Age int32 `protobuf:"varint,4,opt,name=age,proto3" json:"age,omitempty"`
  28. Sex int32 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex,omitempty"`
  29. Desc string `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"`
  30. Images string `protobuf:"bytes,7,opt,name=images,proto3" json:"images,omitempty"`
  31. DoctorId int32 `protobuf:"varint,8,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
  32. RecordId int32 `protobuf:"varint,9,opt,name=recordId,proto3" json:"recordId,omitempty"`
  33. IdNo string `protobuf:"bytes,10,opt,name=idNo,proto3" json:"idNo,omitempty"`
  34. UserPatientId int32 `protobuf:"varint,11,opt,name=userPatientId,proto3" json:"userPatientId,omitempty"`
  35. Terminal int32 `protobuf:"varint,12,opt,name=terminal,proto3" json:"terminal,omitempty"`
  36. Shared int32 `protobuf:"varint,13,opt,name=shared,proto3" json:"shared,omitempty"`
  37. ConsultType int32 `protobuf:"varint,14,opt,name=consultType,proto3" json:"consultType,omitempty"`
  38. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  39. XXX_unrecognized []byte `json:"-"`
  40. XXX_sizecache int32 `json:"-"`
  41. }
  42. func (m *CreateConsultingOrderRequest) Reset() { *m = CreateConsultingOrderRequest{} }
  43. func (m *CreateConsultingOrderRequest) String() string { return proto.CompactTextString(m) }
  44. func (*CreateConsultingOrderRequest) ProtoMessage() {}
  45. func (*CreateConsultingOrderRequest) Descriptor() ([]byte, []int) {
  46. return fileDescriptor_cae5a521d48ed22e, []int{0}
  47. }
  48. func (m *CreateConsultingOrderRequest) XXX_Unmarshal(b []byte) error {
  49. return xxx_messageInfo_CreateConsultingOrderRequest.Unmarshal(m, b)
  50. }
  51. func (m *CreateConsultingOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  52. return xxx_messageInfo_CreateConsultingOrderRequest.Marshal(b, m, deterministic)
  53. }
  54. func (m *CreateConsultingOrderRequest) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_CreateConsultingOrderRequest.Merge(m, src)
  56. }
  57. func (m *CreateConsultingOrderRequest) XXX_Size() int {
  58. return xxx_messageInfo_CreateConsultingOrderRequest.Size(m)
  59. }
  60. func (m *CreateConsultingOrderRequest) XXX_DiscardUnknown() {
  61. xxx_messageInfo_CreateConsultingOrderRequest.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_CreateConsultingOrderRequest proto.InternalMessageInfo
  64. func (m *CreateConsultingOrderRequest) GetUserId() int32 {
  65. if m != nil {
  66. return m.UserId
  67. }
  68. return 0
  69. }
  70. func (m *CreateConsultingOrderRequest) GetMobile() string {
  71. if m != nil {
  72. return m.Mobile
  73. }
  74. return ""
  75. }
  76. func (m *CreateConsultingOrderRequest) GetPatientName() string {
  77. if m != nil {
  78. return m.PatientName
  79. }
  80. return ""
  81. }
  82. func (m *CreateConsultingOrderRequest) GetAge() int32 {
  83. if m != nil {
  84. return m.Age
  85. }
  86. return 0
  87. }
  88. func (m *CreateConsultingOrderRequest) GetSex() int32 {
  89. if m != nil {
  90. return m.Sex
  91. }
  92. return 0
  93. }
  94. func (m *CreateConsultingOrderRequest) GetDesc() string {
  95. if m != nil {
  96. return m.Desc
  97. }
  98. return ""
  99. }
  100. func (m *CreateConsultingOrderRequest) GetImages() string {
  101. if m != nil {
  102. return m.Images
  103. }
  104. return ""
  105. }
  106. func (m *CreateConsultingOrderRequest) GetDoctorId() int32 {
  107. if m != nil {
  108. return m.DoctorId
  109. }
  110. return 0
  111. }
  112. func (m *CreateConsultingOrderRequest) GetRecordId() int32 {
  113. if m != nil {
  114. return m.RecordId
  115. }
  116. return 0
  117. }
  118. func (m *CreateConsultingOrderRequest) GetIdNo() string {
  119. if m != nil {
  120. return m.IdNo
  121. }
  122. return ""
  123. }
  124. func (m *CreateConsultingOrderRequest) GetUserPatientId() int32 {
  125. if m != nil {
  126. return m.UserPatientId
  127. }
  128. return 0
  129. }
  130. func (m *CreateConsultingOrderRequest) GetTerminal() int32 {
  131. if m != nil {
  132. return m.Terminal
  133. }
  134. return 0
  135. }
  136. func (m *CreateConsultingOrderRequest) GetShared() int32 {
  137. if m != nil {
  138. return m.Shared
  139. }
  140. return 0
  141. }
  142. func (m *CreateConsultingOrderRequest) GetConsultType() int32 {
  143. if m != nil {
  144. return m.ConsultType
  145. }
  146. return 0
  147. }
  148. //创建咨询订单响应
  149. type CreateConsultingOrderResponse struct {
  150. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  151. ImageUrl []string `protobuf:"bytes,2,rep,name=imageUrl,proto3" json:"imageUrl,omitempty"`
  152. SessionId string `protobuf:"bytes,3,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
  153. OrderId int32 `protobuf:"varint,4,opt,name=orderId,proto3" json:"orderId,omitempty"`
  154. OrderType int32 `protobuf:"varint,5,opt,name=orderType,proto3" json:"orderType,omitempty"`
  155. Msg string `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"`
  156. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  157. XXX_unrecognized []byte `json:"-"`
  158. XXX_sizecache int32 `json:"-"`
  159. }
  160. func (m *CreateConsultingOrderResponse) Reset() { *m = CreateConsultingOrderResponse{} }
  161. func (m *CreateConsultingOrderResponse) String() string { return proto.CompactTextString(m) }
  162. func (*CreateConsultingOrderResponse) ProtoMessage() {}
  163. func (*CreateConsultingOrderResponse) Descriptor() ([]byte, []int) {
  164. return fileDescriptor_cae5a521d48ed22e, []int{1}
  165. }
  166. func (m *CreateConsultingOrderResponse) XXX_Unmarshal(b []byte) error {
  167. return xxx_messageInfo_CreateConsultingOrderResponse.Unmarshal(m, b)
  168. }
  169. func (m *CreateConsultingOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  170. return xxx_messageInfo_CreateConsultingOrderResponse.Marshal(b, m, deterministic)
  171. }
  172. func (m *CreateConsultingOrderResponse) XXX_Merge(src proto.Message) {
  173. xxx_messageInfo_CreateConsultingOrderResponse.Merge(m, src)
  174. }
  175. func (m *CreateConsultingOrderResponse) XXX_Size() int {
  176. return xxx_messageInfo_CreateConsultingOrderResponse.Size(m)
  177. }
  178. func (m *CreateConsultingOrderResponse) XXX_DiscardUnknown() {
  179. xxx_messageInfo_CreateConsultingOrderResponse.DiscardUnknown(m)
  180. }
  181. var xxx_messageInfo_CreateConsultingOrderResponse proto.InternalMessageInfo
  182. func (m *CreateConsultingOrderResponse) GetCode() int32 {
  183. if m != nil {
  184. return m.Code
  185. }
  186. return 0
  187. }
  188. func (m *CreateConsultingOrderResponse) GetImageUrl() []string {
  189. if m != nil {
  190. return m.ImageUrl
  191. }
  192. return nil
  193. }
  194. func (m *CreateConsultingOrderResponse) GetSessionId() string {
  195. if m != nil {
  196. return m.SessionId
  197. }
  198. return ""
  199. }
  200. func (m *CreateConsultingOrderResponse) GetOrderId() int32 {
  201. if m != nil {
  202. return m.OrderId
  203. }
  204. return 0
  205. }
  206. func (m *CreateConsultingOrderResponse) GetOrderType() int32 {
  207. if m != nil {
  208. return m.OrderType
  209. }
  210. return 0
  211. }
  212. func (m *CreateConsultingOrderResponse) GetMsg() string {
  213. if m != nil {
  214. return m.Msg
  215. }
  216. return ""
  217. }
  218. //订单支付成功通知消息
  219. type PayConsultingCallbackRequest struct {
  220. OrderNo string `protobuf:"bytes,1,opt,name=orderNo,proto3" json:"orderNo,omitempty"`
  221. OrderId int32 `protobuf:"varint,2,opt,name=orderId,proto3" json:"orderId,omitempty"`
  222. PayType int32 `protobuf:"varint,3,opt,name=payType,proto3" json:"payType,omitempty"`
  223. Custom string `protobuf:"bytes,4,opt,name=custom,proto3" json:"custom,omitempty"`
  224. BizId int32 `protobuf:"varint,5,opt,name=bizId,proto3" json:"bizId,omitempty"`
  225. PaymentNo string `protobuf:"bytes,6,opt,name=paymentNo,proto3" json:"paymentNo,omitempty"`
  226. UserId int32 `protobuf:"varint,7,opt,name=userId,proto3" json:"userId,omitempty"`
  227. PrepayId string `protobuf:"bytes,8,opt,name=prepayId,proto3" json:"prepayId,omitempty"`
  228. Terminal int32 `protobuf:"varint,9,opt,name=terminal,proto3" json:"terminal,omitempty"`
  229. Openid string `protobuf:"bytes,10,opt,name=openid,proto3" json:"openid,omitempty"`
  230. PaymentChannel int32 `protobuf:"varint,11,opt,name=paymentChannel,proto3" json:"paymentChannel,omitempty"`
  231. OneTimeCustom string `protobuf:"bytes,12,opt,name=oneTimeCustom,proto3" json:"oneTimeCustom,omitempty"`
  232. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  233. XXX_unrecognized []byte `json:"-"`
  234. XXX_sizecache int32 `json:"-"`
  235. }
  236. func (m *PayConsultingCallbackRequest) Reset() { *m = PayConsultingCallbackRequest{} }
  237. func (m *PayConsultingCallbackRequest) String() string { return proto.CompactTextString(m) }
  238. func (*PayConsultingCallbackRequest) ProtoMessage() {}
  239. func (*PayConsultingCallbackRequest) Descriptor() ([]byte, []int) {
  240. return fileDescriptor_cae5a521d48ed22e, []int{2}
  241. }
  242. func (m *PayConsultingCallbackRequest) XXX_Unmarshal(b []byte) error {
  243. return xxx_messageInfo_PayConsultingCallbackRequest.Unmarshal(m, b)
  244. }
  245. func (m *PayConsultingCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  246. return xxx_messageInfo_PayConsultingCallbackRequest.Marshal(b, m, deterministic)
  247. }
  248. func (m *PayConsultingCallbackRequest) XXX_Merge(src proto.Message) {
  249. xxx_messageInfo_PayConsultingCallbackRequest.Merge(m, src)
  250. }
  251. func (m *PayConsultingCallbackRequest) XXX_Size() int {
  252. return xxx_messageInfo_PayConsultingCallbackRequest.Size(m)
  253. }
  254. func (m *PayConsultingCallbackRequest) XXX_DiscardUnknown() {
  255. xxx_messageInfo_PayConsultingCallbackRequest.DiscardUnknown(m)
  256. }
  257. var xxx_messageInfo_PayConsultingCallbackRequest proto.InternalMessageInfo
  258. func (m *PayConsultingCallbackRequest) GetOrderNo() string {
  259. if m != nil {
  260. return m.OrderNo
  261. }
  262. return ""
  263. }
  264. func (m *PayConsultingCallbackRequest) GetOrderId() int32 {
  265. if m != nil {
  266. return m.OrderId
  267. }
  268. return 0
  269. }
  270. func (m *PayConsultingCallbackRequest) GetPayType() int32 {
  271. if m != nil {
  272. return m.PayType
  273. }
  274. return 0
  275. }
  276. func (m *PayConsultingCallbackRequest) GetCustom() string {
  277. if m != nil {
  278. return m.Custom
  279. }
  280. return ""
  281. }
  282. func (m *PayConsultingCallbackRequest) GetBizId() int32 {
  283. if m != nil {
  284. return m.BizId
  285. }
  286. return 0
  287. }
  288. func (m *PayConsultingCallbackRequest) GetPaymentNo() string {
  289. if m != nil {
  290. return m.PaymentNo
  291. }
  292. return ""
  293. }
  294. func (m *PayConsultingCallbackRequest) GetUserId() int32 {
  295. if m != nil {
  296. return m.UserId
  297. }
  298. return 0
  299. }
  300. func (m *PayConsultingCallbackRequest) GetPrepayId() string {
  301. if m != nil {
  302. return m.PrepayId
  303. }
  304. return ""
  305. }
  306. func (m *PayConsultingCallbackRequest) GetTerminal() int32 {
  307. if m != nil {
  308. return m.Terminal
  309. }
  310. return 0
  311. }
  312. func (m *PayConsultingCallbackRequest) GetOpenid() string {
  313. if m != nil {
  314. return m.Openid
  315. }
  316. return ""
  317. }
  318. func (m *PayConsultingCallbackRequest) GetPaymentChannel() int32 {
  319. if m != nil {
  320. return m.PaymentChannel
  321. }
  322. return 0
  323. }
  324. func (m *PayConsultingCallbackRequest) GetOneTimeCustom() string {
  325. if m != nil {
  326. return m.OneTimeCustom
  327. }
  328. return ""
  329. }
  330. //订单支付成功通知响应消息
  331. type PayConsultingCallbackResponse struct {
  332. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  333. Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
  334. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  335. XXX_unrecognized []byte `json:"-"`
  336. XXX_sizecache int32 `json:"-"`
  337. }
  338. func (m *PayConsultingCallbackResponse) Reset() { *m = PayConsultingCallbackResponse{} }
  339. func (m *PayConsultingCallbackResponse) String() string { return proto.CompactTextString(m) }
  340. func (*PayConsultingCallbackResponse) ProtoMessage() {}
  341. func (*PayConsultingCallbackResponse) Descriptor() ([]byte, []int) {
  342. return fileDescriptor_cae5a521d48ed22e, []int{3}
  343. }
  344. func (m *PayConsultingCallbackResponse) XXX_Unmarshal(b []byte) error {
  345. return xxx_messageInfo_PayConsultingCallbackResponse.Unmarshal(m, b)
  346. }
  347. func (m *PayConsultingCallbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  348. return xxx_messageInfo_PayConsultingCallbackResponse.Marshal(b, m, deterministic)
  349. }
  350. func (m *PayConsultingCallbackResponse) XXX_Merge(src proto.Message) {
  351. xxx_messageInfo_PayConsultingCallbackResponse.Merge(m, src)
  352. }
  353. func (m *PayConsultingCallbackResponse) XXX_Size() int {
  354. return xxx_messageInfo_PayConsultingCallbackResponse.Size(m)
  355. }
  356. func (m *PayConsultingCallbackResponse) XXX_DiscardUnknown() {
  357. xxx_messageInfo_PayConsultingCallbackResponse.DiscardUnknown(m)
  358. }
  359. var xxx_messageInfo_PayConsultingCallbackResponse proto.InternalMessageInfo
  360. func (m *PayConsultingCallbackResponse) GetCode() int32 {
  361. if m != nil {
  362. return m.Code
  363. }
  364. return 0
  365. }
  366. func (m *PayConsultingCallbackResponse) GetInfo() string {
  367. if m != nil {
  368. return m.Info
  369. }
  370. return ""
  371. }
  372. //咨询订单接诊/退诊请求
  373. type ArrangeConsultingRequest struct {
  374. DoctorId int32 `protobuf:"varint,1,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
  375. OrderId int32 `protobuf:"varint,2,opt,name=orderId,proto3" json:"orderId,omitempty"`
  376. IsArranged int32 `protobuf:"varint,3,opt,name=isArranged,proto3" json:"isArranged,omitempty"`
  377. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  378. XXX_unrecognized []byte `json:"-"`
  379. XXX_sizecache int32 `json:"-"`
  380. }
  381. func (m *ArrangeConsultingRequest) Reset() { *m = ArrangeConsultingRequest{} }
  382. func (m *ArrangeConsultingRequest) String() string { return proto.CompactTextString(m) }
  383. func (*ArrangeConsultingRequest) ProtoMessage() {}
  384. func (*ArrangeConsultingRequest) Descriptor() ([]byte, []int) {
  385. return fileDescriptor_cae5a521d48ed22e, []int{4}
  386. }
  387. func (m *ArrangeConsultingRequest) XXX_Unmarshal(b []byte) error {
  388. return xxx_messageInfo_ArrangeConsultingRequest.Unmarshal(m, b)
  389. }
  390. func (m *ArrangeConsultingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  391. return xxx_messageInfo_ArrangeConsultingRequest.Marshal(b, m, deterministic)
  392. }
  393. func (m *ArrangeConsultingRequest) XXX_Merge(src proto.Message) {
  394. xxx_messageInfo_ArrangeConsultingRequest.Merge(m, src)
  395. }
  396. func (m *ArrangeConsultingRequest) XXX_Size() int {
  397. return xxx_messageInfo_ArrangeConsultingRequest.Size(m)
  398. }
  399. func (m *ArrangeConsultingRequest) XXX_DiscardUnknown() {
  400. xxx_messageInfo_ArrangeConsultingRequest.DiscardUnknown(m)
  401. }
  402. var xxx_messageInfo_ArrangeConsultingRequest proto.InternalMessageInfo
  403. func (m *ArrangeConsultingRequest) GetDoctorId() int32 {
  404. if m != nil {
  405. return m.DoctorId
  406. }
  407. return 0
  408. }
  409. func (m *ArrangeConsultingRequest) GetOrderId() int32 {
  410. if m != nil {
  411. return m.OrderId
  412. }
  413. return 0
  414. }
  415. func (m *ArrangeConsultingRequest) GetIsArranged() int32 {
  416. if m != nil {
  417. return m.IsArranged
  418. }
  419. return 0
  420. }
  421. //咨询订单接诊/退诊响应
  422. type ArrangeConsultingResponse struct {
  423. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  424. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  425. PatientId int32 `protobuf:"varint,3,opt,name=patientId,proto3" json:"patientId,omitempty"`
  426. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  427. XXX_unrecognized []byte `json:"-"`
  428. XXX_sizecache int32 `json:"-"`
  429. }
  430. func (m *ArrangeConsultingResponse) Reset() { *m = ArrangeConsultingResponse{} }
  431. func (m *ArrangeConsultingResponse) String() string { return proto.CompactTextString(m) }
  432. func (*ArrangeConsultingResponse) ProtoMessage() {}
  433. func (*ArrangeConsultingResponse) Descriptor() ([]byte, []int) {
  434. return fileDescriptor_cae5a521d48ed22e, []int{5}
  435. }
  436. func (m *ArrangeConsultingResponse) XXX_Unmarshal(b []byte) error {
  437. return xxx_messageInfo_ArrangeConsultingResponse.Unmarshal(m, b)
  438. }
  439. func (m *ArrangeConsultingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  440. return xxx_messageInfo_ArrangeConsultingResponse.Marshal(b, m, deterministic)
  441. }
  442. func (m *ArrangeConsultingResponse) XXX_Merge(src proto.Message) {
  443. xxx_messageInfo_ArrangeConsultingResponse.Merge(m, src)
  444. }
  445. func (m *ArrangeConsultingResponse) XXX_Size() int {
  446. return xxx_messageInfo_ArrangeConsultingResponse.Size(m)
  447. }
  448. func (m *ArrangeConsultingResponse) XXX_DiscardUnknown() {
  449. xxx_messageInfo_ArrangeConsultingResponse.DiscardUnknown(m)
  450. }
  451. var xxx_messageInfo_ArrangeConsultingResponse proto.InternalMessageInfo
  452. func (m *ArrangeConsultingResponse) GetCode() int32 {
  453. if m != nil {
  454. return m.Code
  455. }
  456. return 0
  457. }
  458. func (m *ArrangeConsultingResponse) GetMsg() string {
  459. if m != nil {
  460. return m.Msg
  461. }
  462. return ""
  463. }
  464. func (m *ArrangeConsultingResponse) GetPatientId() int32 {
  465. if m != nil {
  466. return m.PatientId
  467. }
  468. return 0
  469. }
  470. type CancelConsultingRequest struct {
  471. OrderId int32 `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
  472. UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
  473. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  474. XXX_unrecognized []byte `json:"-"`
  475. XXX_sizecache int32 `json:"-"`
  476. }
  477. func (m *CancelConsultingRequest) Reset() { *m = CancelConsultingRequest{} }
  478. func (m *CancelConsultingRequest) String() string { return proto.CompactTextString(m) }
  479. func (*CancelConsultingRequest) ProtoMessage() {}
  480. func (*CancelConsultingRequest) Descriptor() ([]byte, []int) {
  481. return fileDescriptor_cae5a521d48ed22e, []int{6}
  482. }
  483. func (m *CancelConsultingRequest) XXX_Unmarshal(b []byte) error {
  484. return xxx_messageInfo_CancelConsultingRequest.Unmarshal(m, b)
  485. }
  486. func (m *CancelConsultingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  487. return xxx_messageInfo_CancelConsultingRequest.Marshal(b, m, deterministic)
  488. }
  489. func (m *CancelConsultingRequest) XXX_Merge(src proto.Message) {
  490. xxx_messageInfo_CancelConsultingRequest.Merge(m, src)
  491. }
  492. func (m *CancelConsultingRequest) XXX_Size() int {
  493. return xxx_messageInfo_CancelConsultingRequest.Size(m)
  494. }
  495. func (m *CancelConsultingRequest) XXX_DiscardUnknown() {
  496. xxx_messageInfo_CancelConsultingRequest.DiscardUnknown(m)
  497. }
  498. var xxx_messageInfo_CancelConsultingRequest proto.InternalMessageInfo
  499. func (m *CancelConsultingRequest) GetOrderId() int32 {
  500. if m != nil {
  501. return m.OrderId
  502. }
  503. return 0
  504. }
  505. func (m *CancelConsultingRequest) GetUserId() int32 {
  506. if m != nil {
  507. return m.UserId
  508. }
  509. return 0
  510. }
  511. type CancelConsultingResponse struct {
  512. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  513. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  514. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  515. XXX_unrecognized []byte `json:"-"`
  516. XXX_sizecache int32 `json:"-"`
  517. }
  518. func (m *CancelConsultingResponse) Reset() { *m = CancelConsultingResponse{} }
  519. func (m *CancelConsultingResponse) String() string { return proto.CompactTextString(m) }
  520. func (*CancelConsultingResponse) ProtoMessage() {}
  521. func (*CancelConsultingResponse) Descriptor() ([]byte, []int) {
  522. return fileDescriptor_cae5a521d48ed22e, []int{7}
  523. }
  524. func (m *CancelConsultingResponse) XXX_Unmarshal(b []byte) error {
  525. return xxx_messageInfo_CancelConsultingResponse.Unmarshal(m, b)
  526. }
  527. func (m *CancelConsultingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  528. return xxx_messageInfo_CancelConsultingResponse.Marshal(b, m, deterministic)
  529. }
  530. func (m *CancelConsultingResponse) XXX_Merge(src proto.Message) {
  531. xxx_messageInfo_CancelConsultingResponse.Merge(m, src)
  532. }
  533. func (m *CancelConsultingResponse) XXX_Size() int {
  534. return xxx_messageInfo_CancelConsultingResponse.Size(m)
  535. }
  536. func (m *CancelConsultingResponse) XXX_DiscardUnknown() {
  537. xxx_messageInfo_CancelConsultingResponse.DiscardUnknown(m)
  538. }
  539. var xxx_messageInfo_CancelConsultingResponse proto.InternalMessageInfo
  540. func (m *CancelConsultingResponse) GetCode() int32 {
  541. if m != nil {
  542. return m.Code
  543. }
  544. return 0
  545. }
  546. func (m *CancelConsultingResponse) GetMsg() string {
  547. if m != nil {
  548. return m.Msg
  549. }
  550. return ""
  551. }
  552. //咨询订单退款回调
  553. type RefundConsultingCallbackRequest struct {
  554. Amount int32 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
  555. BizId int32 `protobuf:"varint,2,opt,name=bizId,proto3" json:"bizId,omitempty"`
  556. OrderId int32 `protobuf:"varint,3,opt,name=orderId,proto3" json:"orderId,omitempty"`
  557. OrderNo string `protobuf:"bytes,4,opt,name=orderNo,proto3" json:"orderNo,omitempty"`
  558. RefundNo string `protobuf:"bytes,5,opt,name=refundNo,proto3" json:"refundNo,omitempty"`
  559. RefundStatus int32 `protobuf:"varint,6,opt,name=refundStatus,proto3" json:"refundStatus,omitempty"`
  560. Custom string `protobuf:"bytes,7,opt,name=custom,proto3" json:"custom,omitempty"`
  561. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  562. XXX_unrecognized []byte `json:"-"`
  563. XXX_sizecache int32 `json:"-"`
  564. }
  565. func (m *RefundConsultingCallbackRequest) Reset() { *m = RefundConsultingCallbackRequest{} }
  566. func (m *RefundConsultingCallbackRequest) String() string { return proto.CompactTextString(m) }
  567. func (*RefundConsultingCallbackRequest) ProtoMessage() {}
  568. func (*RefundConsultingCallbackRequest) Descriptor() ([]byte, []int) {
  569. return fileDescriptor_cae5a521d48ed22e, []int{8}
  570. }
  571. func (m *RefundConsultingCallbackRequest) XXX_Unmarshal(b []byte) error {
  572. return xxx_messageInfo_RefundConsultingCallbackRequest.Unmarshal(m, b)
  573. }
  574. func (m *RefundConsultingCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  575. return xxx_messageInfo_RefundConsultingCallbackRequest.Marshal(b, m, deterministic)
  576. }
  577. func (m *RefundConsultingCallbackRequest) XXX_Merge(src proto.Message) {
  578. xxx_messageInfo_RefundConsultingCallbackRequest.Merge(m, src)
  579. }
  580. func (m *RefundConsultingCallbackRequest) XXX_Size() int {
  581. return xxx_messageInfo_RefundConsultingCallbackRequest.Size(m)
  582. }
  583. func (m *RefundConsultingCallbackRequest) XXX_DiscardUnknown() {
  584. xxx_messageInfo_RefundConsultingCallbackRequest.DiscardUnknown(m)
  585. }
  586. var xxx_messageInfo_RefundConsultingCallbackRequest proto.InternalMessageInfo
  587. func (m *RefundConsultingCallbackRequest) GetAmount() int32 {
  588. if m != nil {
  589. return m.Amount
  590. }
  591. return 0
  592. }
  593. func (m *RefundConsultingCallbackRequest) GetBizId() int32 {
  594. if m != nil {
  595. return m.BizId
  596. }
  597. return 0
  598. }
  599. func (m *RefundConsultingCallbackRequest) GetOrderId() int32 {
  600. if m != nil {
  601. return m.OrderId
  602. }
  603. return 0
  604. }
  605. func (m *RefundConsultingCallbackRequest) GetOrderNo() string {
  606. if m != nil {
  607. return m.OrderNo
  608. }
  609. return ""
  610. }
  611. func (m *RefundConsultingCallbackRequest) GetRefundNo() string {
  612. if m != nil {
  613. return m.RefundNo
  614. }
  615. return ""
  616. }
  617. func (m *RefundConsultingCallbackRequest) GetRefundStatus() int32 {
  618. if m != nil {
  619. return m.RefundStatus
  620. }
  621. return 0
  622. }
  623. func (m *RefundConsultingCallbackRequest) GetCustom() string {
  624. if m != nil {
  625. return m.Custom
  626. }
  627. return ""
  628. }
  629. type RefundConsultingCallbackResponse struct {
  630. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  631. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  632. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  633. XXX_unrecognized []byte `json:"-"`
  634. XXX_sizecache int32 `json:"-"`
  635. }
  636. func (m *RefundConsultingCallbackResponse) Reset() { *m = RefundConsultingCallbackResponse{} }
  637. func (m *RefundConsultingCallbackResponse) String() string { return proto.CompactTextString(m) }
  638. func (*RefundConsultingCallbackResponse) ProtoMessage() {}
  639. func (*RefundConsultingCallbackResponse) Descriptor() ([]byte, []int) {
  640. return fileDescriptor_cae5a521d48ed22e, []int{9}
  641. }
  642. func (m *RefundConsultingCallbackResponse) XXX_Unmarshal(b []byte) error {
  643. return xxx_messageInfo_RefundConsultingCallbackResponse.Unmarshal(m, b)
  644. }
  645. func (m *RefundConsultingCallbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  646. return xxx_messageInfo_RefundConsultingCallbackResponse.Marshal(b, m, deterministic)
  647. }
  648. func (m *RefundConsultingCallbackResponse) XXX_Merge(src proto.Message) {
  649. xxx_messageInfo_RefundConsultingCallbackResponse.Merge(m, src)
  650. }
  651. func (m *RefundConsultingCallbackResponse) XXX_Size() int {
  652. return xxx_messageInfo_RefundConsultingCallbackResponse.Size(m)
  653. }
  654. func (m *RefundConsultingCallbackResponse) XXX_DiscardUnknown() {
  655. xxx_messageInfo_RefundConsultingCallbackResponse.DiscardUnknown(m)
  656. }
  657. var xxx_messageInfo_RefundConsultingCallbackResponse proto.InternalMessageInfo
  658. func (m *RefundConsultingCallbackResponse) GetCode() int32 {
  659. if m != nil {
  660. return m.Code
  661. }
  662. return 0
  663. }
  664. func (m *RefundConsultingCallbackResponse) GetMsg() string {
  665. if m != nil {
  666. return m.Msg
  667. }
  668. return ""
  669. }
  670. //线上咨询排班
  671. type ConsultingSchedule struct {
  672. ScheduleId int32 `protobuf:"varint,1,opt,name=scheduleId,proto3" json:"scheduleId,omitempty"`
  673. DoctorId int32 `protobuf:"varint,2,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
  674. CreateTime int64 `protobuf:"varint,3,opt,name=createTime,proto3" json:"createTime,omitempty"`
  675. DatePeriod int32 `protobuf:"varint,4,opt,name=datePeriod,proto3" json:"datePeriod,omitempty"`
  676. Repeated int32 `protobuf:"varint,5,opt,name=repeated,proto3" json:"repeated,omitempty"`
  677. Week int32 `protobuf:"varint,6,opt,name=week,proto3" json:"week,omitempty"`
  678. ScheduleDate int64 `protobuf:"varint,7,opt,name=scheduleDate,proto3" json:"scheduleDate,omitempty"`
  679. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  680. XXX_unrecognized []byte `json:"-"`
  681. XXX_sizecache int32 `json:"-"`
  682. }
  683. func (m *ConsultingSchedule) Reset() { *m = ConsultingSchedule{} }
  684. func (m *ConsultingSchedule) String() string { return proto.CompactTextString(m) }
  685. func (*ConsultingSchedule) ProtoMessage() {}
  686. func (*ConsultingSchedule) Descriptor() ([]byte, []int) {
  687. return fileDescriptor_cae5a521d48ed22e, []int{10}
  688. }
  689. func (m *ConsultingSchedule) XXX_Unmarshal(b []byte) error {
  690. return xxx_messageInfo_ConsultingSchedule.Unmarshal(m, b)
  691. }
  692. func (m *ConsultingSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  693. return xxx_messageInfo_ConsultingSchedule.Marshal(b, m, deterministic)
  694. }
  695. func (m *ConsultingSchedule) XXX_Merge(src proto.Message) {
  696. xxx_messageInfo_ConsultingSchedule.Merge(m, src)
  697. }
  698. func (m *ConsultingSchedule) XXX_Size() int {
  699. return xxx_messageInfo_ConsultingSchedule.Size(m)
  700. }
  701. func (m *ConsultingSchedule) XXX_DiscardUnknown() {
  702. xxx_messageInfo_ConsultingSchedule.DiscardUnknown(m)
  703. }
  704. var xxx_messageInfo_ConsultingSchedule proto.InternalMessageInfo
  705. func (m *ConsultingSchedule) GetScheduleId() int32 {
  706. if m != nil {
  707. return m.ScheduleId
  708. }
  709. return 0
  710. }
  711. func (m *ConsultingSchedule) GetDoctorId() int32 {
  712. if m != nil {
  713. return m.DoctorId
  714. }
  715. return 0
  716. }
  717. func (m *ConsultingSchedule) GetCreateTime() int64 {
  718. if m != nil {
  719. return m.CreateTime
  720. }
  721. return 0
  722. }
  723. func (m *ConsultingSchedule) GetDatePeriod() int32 {
  724. if m != nil {
  725. return m.DatePeriod
  726. }
  727. return 0
  728. }
  729. func (m *ConsultingSchedule) GetRepeated() int32 {
  730. if m != nil {
  731. return m.Repeated
  732. }
  733. return 0
  734. }
  735. func (m *ConsultingSchedule) GetWeek() int32 {
  736. if m != nil {
  737. return m.Week
  738. }
  739. return 0
  740. }
  741. func (m *ConsultingSchedule) GetScheduleDate() int64 {
  742. if m != nil {
  743. return m.ScheduleDate
  744. }
  745. return 0
  746. }
  747. //线上咨询排班列表
  748. type GetConsultingScheduleListRequest struct {
  749. DoctorId int32 `protobuf:"varint,1,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
  750. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  751. XXX_unrecognized []byte `json:"-"`
  752. XXX_sizecache int32 `json:"-"`
  753. }
  754. func (m *GetConsultingScheduleListRequest) Reset() { *m = GetConsultingScheduleListRequest{} }
  755. func (m *GetConsultingScheduleListRequest) String() string { return proto.CompactTextString(m) }
  756. func (*GetConsultingScheduleListRequest) ProtoMessage() {}
  757. func (*GetConsultingScheduleListRequest) Descriptor() ([]byte, []int) {
  758. return fileDescriptor_cae5a521d48ed22e, []int{11}
  759. }
  760. func (m *GetConsultingScheduleListRequest) XXX_Unmarshal(b []byte) error {
  761. return xxx_messageInfo_GetConsultingScheduleListRequest.Unmarshal(m, b)
  762. }
  763. func (m *GetConsultingScheduleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  764. return xxx_messageInfo_GetConsultingScheduleListRequest.Marshal(b, m, deterministic)
  765. }
  766. func (m *GetConsultingScheduleListRequest) XXX_Merge(src proto.Message) {
  767. xxx_messageInfo_GetConsultingScheduleListRequest.Merge(m, src)
  768. }
  769. func (m *GetConsultingScheduleListRequest) XXX_Size() int {
  770. return xxx_messageInfo_GetConsultingScheduleListRequest.Size(m)
  771. }
  772. func (m *GetConsultingScheduleListRequest) XXX_DiscardUnknown() {
  773. xxx_messageInfo_GetConsultingScheduleListRequest.DiscardUnknown(m)
  774. }
  775. var xxx_messageInfo_GetConsultingScheduleListRequest proto.InternalMessageInfo
  776. func (m *GetConsultingScheduleListRequest) GetDoctorId() int32 {
  777. if m != nil {
  778. return m.DoctorId
  779. }
  780. return 0
  781. }
  782. type GetConsultingScheduleListResponse struct {
  783. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  784. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  785. Schedule []*ConsultingSchedule `protobuf:"bytes,3,rep,name=schedule,proto3" json:"schedule,omitempty"`
  786. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  787. XXX_unrecognized []byte `json:"-"`
  788. XXX_sizecache int32 `json:"-"`
  789. }
  790. func (m *GetConsultingScheduleListResponse) Reset() { *m = GetConsultingScheduleListResponse{} }
  791. func (m *GetConsultingScheduleListResponse) String() string { return proto.CompactTextString(m) }
  792. func (*GetConsultingScheduleListResponse) ProtoMessage() {}
  793. func (*GetConsultingScheduleListResponse) Descriptor() ([]byte, []int) {
  794. return fileDescriptor_cae5a521d48ed22e, []int{12}
  795. }
  796. func (m *GetConsultingScheduleListResponse) XXX_Unmarshal(b []byte) error {
  797. return xxx_messageInfo_GetConsultingScheduleListResponse.Unmarshal(m, b)
  798. }
  799. func (m *GetConsultingScheduleListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  800. return xxx_messageInfo_GetConsultingScheduleListResponse.Marshal(b, m, deterministic)
  801. }
  802. func (m *GetConsultingScheduleListResponse) XXX_Merge(src proto.Message) {
  803. xxx_messageInfo_GetConsultingScheduleListResponse.Merge(m, src)
  804. }
  805. func (m *GetConsultingScheduleListResponse) XXX_Size() int {
  806. return xxx_messageInfo_GetConsultingScheduleListResponse.Size(m)
  807. }
  808. func (m *GetConsultingScheduleListResponse) XXX_DiscardUnknown() {
  809. xxx_messageInfo_GetConsultingScheduleListResponse.DiscardUnknown(m)
  810. }
  811. var xxx_messageInfo_GetConsultingScheduleListResponse proto.InternalMessageInfo
  812. func (m *GetConsultingScheduleListResponse) GetCode() int32 {
  813. if m != nil {
  814. return m.Code
  815. }
  816. return 0
  817. }
  818. func (m *GetConsultingScheduleListResponse) GetMsg() string {
  819. if m != nil {
  820. return m.Msg
  821. }
  822. return ""
  823. }
  824. func (m *GetConsultingScheduleListResponse) GetSchedule() []*ConsultingSchedule {
  825. if m != nil {
  826. return m.Schedule
  827. }
  828. return nil
  829. }
  830. //设置线上咨询排班
  831. type SetConsultingScheduleRequest struct {
  832. DoctorId int32 `protobuf:"varint,1,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
  833. Repeated int32 `protobuf:"varint,2,opt,name=repeated,proto3" json:"repeated,omitempty"`
  834. ServiceDate string `protobuf:"bytes,3,opt,name=serviceDate,proto3" json:"serviceDate,omitempty"`
  835. DatePeriod int32 `protobuf:"varint,4,opt,name=datePeriod,proto3" json:"datePeriod,omitempty"`
  836. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  837. XXX_unrecognized []byte `json:"-"`
  838. XXX_sizecache int32 `json:"-"`
  839. }
  840. func (m *SetConsultingScheduleRequest) Reset() { *m = SetConsultingScheduleRequest{} }
  841. func (m *SetConsultingScheduleRequest) String() string { return proto.CompactTextString(m) }
  842. func (*SetConsultingScheduleRequest) ProtoMessage() {}
  843. func (*SetConsultingScheduleRequest) Descriptor() ([]byte, []int) {
  844. return fileDescriptor_cae5a521d48ed22e, []int{13}
  845. }
  846. func (m *SetConsultingScheduleRequest) XXX_Unmarshal(b []byte) error {
  847. return xxx_messageInfo_SetConsultingScheduleRequest.Unmarshal(m, b)
  848. }
  849. func (m *SetConsultingScheduleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  850. return xxx_messageInfo_SetConsultingScheduleRequest.Marshal(b, m, deterministic)
  851. }
  852. func (m *SetConsultingScheduleRequest) XXX_Merge(src proto.Message) {
  853. xxx_messageInfo_SetConsultingScheduleRequest.Merge(m, src)
  854. }
  855. func (m *SetConsultingScheduleRequest) XXX_Size() int {
  856. return xxx_messageInfo_SetConsultingScheduleRequest.Size(m)
  857. }
  858. func (m *SetConsultingScheduleRequest) XXX_DiscardUnknown() {
  859. xxx_messageInfo_SetConsultingScheduleRequest.DiscardUnknown(m)
  860. }
  861. var xxx_messageInfo_SetConsultingScheduleRequest proto.InternalMessageInfo
  862. func (m *SetConsultingScheduleRequest) GetDoctorId() int32 {
  863. if m != nil {
  864. return m.DoctorId
  865. }
  866. return 0
  867. }
  868. func (m *SetConsultingScheduleRequest) GetRepeated() int32 {
  869. if m != nil {
  870. return m.Repeated
  871. }
  872. return 0
  873. }
  874. func (m *SetConsultingScheduleRequest) GetServiceDate() string {
  875. if m != nil {
  876. return m.ServiceDate
  877. }
  878. return ""
  879. }
  880. func (m *SetConsultingScheduleRequest) GetDatePeriod() int32 {
  881. if m != nil {
  882. return m.DatePeriod
  883. }
  884. return 0
  885. }
  886. type SetConsultingScheduleResponse struct {
  887. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  888. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  889. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  890. XXX_unrecognized []byte `json:"-"`
  891. XXX_sizecache int32 `json:"-"`
  892. }
  893. func (m *SetConsultingScheduleResponse) Reset() { *m = SetConsultingScheduleResponse{} }
  894. func (m *SetConsultingScheduleResponse) String() string { return proto.CompactTextString(m) }
  895. func (*SetConsultingScheduleResponse) ProtoMessage() {}
  896. func (*SetConsultingScheduleResponse) Descriptor() ([]byte, []int) {
  897. return fileDescriptor_cae5a521d48ed22e, []int{14}
  898. }
  899. func (m *SetConsultingScheduleResponse) XXX_Unmarshal(b []byte) error {
  900. return xxx_messageInfo_SetConsultingScheduleResponse.Unmarshal(m, b)
  901. }
  902. func (m *SetConsultingScheduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  903. return xxx_messageInfo_SetConsultingScheduleResponse.Marshal(b, m, deterministic)
  904. }
  905. func (m *SetConsultingScheduleResponse) XXX_Merge(src proto.Message) {
  906. xxx_messageInfo_SetConsultingScheduleResponse.Merge(m, src)
  907. }
  908. func (m *SetConsultingScheduleResponse) XXX_Size() int {
  909. return xxx_messageInfo_SetConsultingScheduleResponse.Size(m)
  910. }
  911. func (m *SetConsultingScheduleResponse) XXX_DiscardUnknown() {
  912. xxx_messageInfo_SetConsultingScheduleResponse.DiscardUnknown(m)
  913. }
  914. var xxx_messageInfo_SetConsultingScheduleResponse proto.InternalMessageInfo
  915. func (m *SetConsultingScheduleResponse) GetCode() int32 {
  916. if m != nil {
  917. return m.Code
  918. }
  919. return 0
  920. }
  921. func (m *SetConsultingScheduleResponse) GetMsg() string {
  922. if m != nil {
  923. return m.Msg
  924. }
  925. return ""
  926. }
  927. //取消线上排班
  928. type CancelConsultingScheduleRequest struct {
  929. DoctorId int32 `protobuf:"varint,1,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
  930. ScheduleId int32 `protobuf:"varint,2,opt,name=scheduleId,proto3" json:"scheduleId,omitempty"`
  931. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  932. XXX_unrecognized []byte `json:"-"`
  933. XXX_sizecache int32 `json:"-"`
  934. }
  935. func (m *CancelConsultingScheduleRequest) Reset() { *m = CancelConsultingScheduleRequest{} }
  936. func (m *CancelConsultingScheduleRequest) String() string { return proto.CompactTextString(m) }
  937. func (*CancelConsultingScheduleRequest) ProtoMessage() {}
  938. func (*CancelConsultingScheduleRequest) Descriptor() ([]byte, []int) {
  939. return fileDescriptor_cae5a521d48ed22e, []int{15}
  940. }
  941. func (m *CancelConsultingScheduleRequest) XXX_Unmarshal(b []byte) error {
  942. return xxx_messageInfo_CancelConsultingScheduleRequest.Unmarshal(m, b)
  943. }
  944. func (m *CancelConsultingScheduleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  945. return xxx_messageInfo_CancelConsultingScheduleRequest.Marshal(b, m, deterministic)
  946. }
  947. func (m *CancelConsultingScheduleRequest) XXX_Merge(src proto.Message) {
  948. xxx_messageInfo_CancelConsultingScheduleRequest.Merge(m, src)
  949. }
  950. func (m *CancelConsultingScheduleRequest) XXX_Size() int {
  951. return xxx_messageInfo_CancelConsultingScheduleRequest.Size(m)
  952. }
  953. func (m *CancelConsultingScheduleRequest) XXX_DiscardUnknown() {
  954. xxx_messageInfo_CancelConsultingScheduleRequest.DiscardUnknown(m)
  955. }
  956. var xxx_messageInfo_CancelConsultingScheduleRequest proto.InternalMessageInfo
  957. func (m *CancelConsultingScheduleRequest) GetDoctorId() int32 {
  958. if m != nil {
  959. return m.DoctorId
  960. }
  961. return 0
  962. }
  963. func (m *CancelConsultingScheduleRequest) GetScheduleId() int32 {
  964. if m != nil {
  965. return m.ScheduleId
  966. }
  967. return 0
  968. }
  969. type CancelConsultingScheduleResponse struct {
  970. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  971. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  972. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  973. XXX_unrecognized []byte `json:"-"`
  974. XXX_sizecache int32 `json:"-"`
  975. }
  976. func (m *CancelConsultingScheduleResponse) Reset() { *m = CancelConsultingScheduleResponse{} }
  977. func (m *CancelConsultingScheduleResponse) String() string { return proto.CompactTextString(m) }
  978. func (*CancelConsultingScheduleResponse) ProtoMessage() {}
  979. func (*CancelConsultingScheduleResponse) Descriptor() ([]byte, []int) {
  980. return fileDescriptor_cae5a521d48ed22e, []int{16}
  981. }
  982. func (m *CancelConsultingScheduleResponse) XXX_Unmarshal(b []byte) error {
  983. return xxx_messageInfo_CancelConsultingScheduleResponse.Unmarshal(m, b)
  984. }
  985. func (m *CancelConsultingScheduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  986. return xxx_messageInfo_CancelConsultingScheduleResponse.Marshal(b, m, deterministic)
  987. }
  988. func (m *CancelConsultingScheduleResponse) XXX_Merge(src proto.Message) {
  989. xxx_messageInfo_CancelConsultingScheduleResponse.Merge(m, src)
  990. }
  991. func (m *CancelConsultingScheduleResponse) XXX_Size() int {
  992. return xxx_messageInfo_CancelConsultingScheduleResponse.Size(m)
  993. }
  994. func (m *CancelConsultingScheduleResponse) XXX_DiscardUnknown() {
  995. xxx_messageInfo_CancelConsultingScheduleResponse.DiscardUnknown(m)
  996. }
  997. var xxx_messageInfo_CancelConsultingScheduleResponse proto.InternalMessageInfo
  998. func (m *CancelConsultingScheduleResponse) GetCode() int32 {
  999. if m != nil {
  1000. return m.Code
  1001. }
  1002. return 0
  1003. }
  1004. func (m *CancelConsultingScheduleResponse) GetMsg() string {
  1005. if m != nil {
  1006. return m.Msg
  1007. }
  1008. return ""
  1009. }
  1010. // 咨询订单定义类
  1011. type ConsultOrder struct {
  1012. OrderId int32 `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
  1013. ConsultId int32 `protobuf:"varint,2,opt,name=consultId,proto3" json:"consultId,omitempty"`
  1014. OrderTitle string `protobuf:"bytes,3,opt,name=orderTitle,proto3" json:"orderTitle,omitempty"`
  1015. OrderType int32 `protobuf:"varint,4,opt,name=orderType,proto3" json:"orderType,omitempty"`
  1016. OrderNo string `protobuf:"bytes,5,opt,name=orderNo,proto3" json:"orderNo,omitempty"`
  1017. PatientName string `protobuf:"bytes,6,opt,name=patientName,proto3" json:"patientName,omitempty"`
  1018. PatientSex int32 `protobuf:"varint,7,opt,name=patientSex,proto3" json:"patientSex,omitempty"`
  1019. StrPatientSex string `protobuf:"bytes,8,opt,name=strPatientSex,proto3" json:"strPatientSex,omitempty"`
  1020. HospitalName string `protobuf:"bytes,9,opt,name=hospitalName,proto3" json:"hospitalName,omitempty"`
  1021. DoctorName string `protobuf:"bytes,10,opt,name=doctorName,proto3" json:"doctorName,omitempty"`
  1022. DeptName string `protobuf:"bytes,11,opt,name=deptName,proto3" json:"deptName,omitempty"`
  1023. CreateTime int64 `protobuf:"varint,12,opt,name=createTime,proto3" json:"createTime,omitempty"`
  1024. OrderAmount int32 `protobuf:"varint,13,opt,name=orderAmount,proto3" json:"orderAmount,omitempty"`
  1025. StrOrderAmount string `protobuf:"bytes,14,opt,name=strOrderAmount,proto3" json:"strOrderAmount,omitempty"`
  1026. StatusName string `protobuf:"bytes,15,opt,name=statusName,proto3" json:"statusName,omitempty"`
  1027. DoctorId int32 `protobuf:"varint,16,opt,name=doctorId,proto3" json:"doctorId,omitempty"`
  1028. PaymentStatus int32 `protobuf:"varint,17,opt,name=paymentStatus,proto3" json:"paymentStatus,omitempty"`
  1029. UserId int32 `protobuf:"varint,18,opt,name=userId,proto3" json:"userId,omitempty"`
  1030. PatientMobile string `protobuf:"bytes,19,opt,name=patientMobile,proto3" json:"patientMobile,omitempty"`
  1031. PatientAge int32 `protobuf:"varint,20,opt,name=patientAge,proto3" json:"patientAge,omitempty"`
  1032. Description string `protobuf:"bytes,21,opt,name=description,proto3" json:"description,omitempty"`
  1033. HospitalId int32 `protobuf:"varint,22,opt,name=hospitalId,proto3" json:"hospitalId,omitempty"`
  1034. DeptId int32 `protobuf:"varint,23,opt,name=deptId,proto3" json:"deptId,omitempty"`
  1035. SessionId string `protobuf:"bytes,24,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
  1036. Status int32 `protobuf:"varint,25,opt,name=status,proto3" json:"status,omitempty"`
  1037. PatientId int32 `protobuf:"varint,26,opt,name=patientId,proto3" json:"patientId,omitempty"`
  1038. IdNo string `protobuf:"bytes,27,opt,name=idNo,proto3" json:"idNo,omitempty"`
  1039. ExtStatus int32 `protobuf:"varint,28,opt,name=extStatus,proto3" json:"extStatus,omitempty"`
  1040. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1041. XXX_unrecognized []byte `json:"-"`
  1042. XXX_sizecache int32 `json:"-"`
  1043. }
  1044. func (m *ConsultOrder) Reset() { *m = ConsultOrder{} }
  1045. func (m *ConsultOrder) String() string { return proto.CompactTextString(m) }
  1046. func (*ConsultOrder) ProtoMessage() {}
  1047. func (*ConsultOrder) Descriptor() ([]byte, []int) {
  1048. return fileDescriptor_cae5a521d48ed22e, []int{17}
  1049. }
  1050. func (m *ConsultOrder) XXX_Unmarshal(b []byte) error {
  1051. return xxx_messageInfo_ConsultOrder.Unmarshal(m, b)
  1052. }
  1053. func (m *ConsultOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1054. return xxx_messageInfo_ConsultOrder.Marshal(b, m, deterministic)
  1055. }
  1056. func (m *ConsultOrder) XXX_Merge(src proto.Message) {
  1057. xxx_messageInfo_ConsultOrder.Merge(m, src)
  1058. }
  1059. func (m *ConsultOrder) XXX_Size() int {
  1060. return xxx_messageInfo_ConsultOrder.Size(m)
  1061. }
  1062. func (m *ConsultOrder) XXX_DiscardUnknown() {
  1063. xxx_messageInfo_ConsultOrder.DiscardUnknown(m)
  1064. }
  1065. var xxx_messageInfo_ConsultOrder proto.InternalMessageInfo
  1066. func (m *ConsultOrder) GetOrderId() int32 {
  1067. if m != nil {
  1068. return m.OrderId
  1069. }
  1070. return 0
  1071. }
  1072. func (m *ConsultOrder) GetConsultId() int32 {
  1073. if m != nil {
  1074. return m.ConsultId
  1075. }
  1076. return 0
  1077. }
  1078. func (m *ConsultOrder) GetOrderTitle() string {
  1079. if m != nil {
  1080. return m.OrderTitle
  1081. }
  1082. return ""
  1083. }
  1084. func (m *ConsultOrder) GetOrderType() int32 {
  1085. if m != nil {
  1086. return m.OrderType
  1087. }
  1088. return 0
  1089. }
  1090. func (m *ConsultOrder) GetOrderNo() string {
  1091. if m != nil {
  1092. return m.OrderNo
  1093. }
  1094. return ""
  1095. }
  1096. func (m *ConsultOrder) GetPatientName() string {
  1097. if m != nil {
  1098. return m.PatientName
  1099. }
  1100. return ""
  1101. }
  1102. func (m *ConsultOrder) GetPatientSex() int32 {
  1103. if m != nil {
  1104. return m.PatientSex
  1105. }
  1106. return 0
  1107. }
  1108. func (m *ConsultOrder) GetStrPatientSex() string {
  1109. if m != nil {
  1110. return m.StrPatientSex
  1111. }
  1112. return ""
  1113. }
  1114. func (m *ConsultOrder) GetHospitalName() string {
  1115. if m != nil {
  1116. return m.HospitalName
  1117. }
  1118. return ""
  1119. }
  1120. func (m *ConsultOrder) GetDoctorName() string {
  1121. if m != nil {
  1122. return m.DoctorName
  1123. }
  1124. return ""
  1125. }
  1126. func (m *ConsultOrder) GetDeptName() string {
  1127. if m != nil {
  1128. return m.DeptName
  1129. }
  1130. return ""
  1131. }
  1132. func (m *ConsultOrder) GetCreateTime() int64 {
  1133. if m != nil {
  1134. return m.CreateTime
  1135. }
  1136. return 0
  1137. }
  1138. func (m *ConsultOrder) GetOrderAmount() int32 {
  1139. if m != nil {
  1140. return m.OrderAmount
  1141. }
  1142. return 0
  1143. }
  1144. func (m *ConsultOrder) GetStrOrderAmount() string {
  1145. if m != nil {
  1146. return m.StrOrderAmount
  1147. }
  1148. return ""
  1149. }
  1150. func (m *ConsultOrder) GetStatusName() string {
  1151. if m != nil {
  1152. return m.StatusName
  1153. }
  1154. return ""
  1155. }
  1156. func (m *ConsultOrder) GetDoctorId() int32 {
  1157. if m != nil {
  1158. return m.DoctorId
  1159. }
  1160. return 0
  1161. }
  1162. func (m *ConsultOrder) GetPaymentStatus() int32 {
  1163. if m != nil {
  1164. return m.PaymentStatus
  1165. }
  1166. return 0
  1167. }
  1168. func (m *ConsultOrder) GetUserId() int32 {
  1169. if m != nil {
  1170. return m.UserId
  1171. }
  1172. return 0
  1173. }
  1174. func (m *ConsultOrder) GetPatientMobile() string {
  1175. if m != nil {
  1176. return m.PatientMobile
  1177. }
  1178. return ""
  1179. }
  1180. func (m *ConsultOrder) GetPatientAge() int32 {
  1181. if m != nil {
  1182. return m.PatientAge
  1183. }
  1184. return 0
  1185. }
  1186. func (m *ConsultOrder) GetDescription() string {
  1187. if m != nil {
  1188. return m.Description
  1189. }
  1190. return ""
  1191. }
  1192. func (m *ConsultOrder) GetHospitalId() int32 {
  1193. if m != nil {
  1194. return m.HospitalId
  1195. }
  1196. return 0
  1197. }
  1198. func (m *ConsultOrder) GetDeptId() int32 {
  1199. if m != nil {
  1200. return m.DeptId
  1201. }
  1202. return 0
  1203. }
  1204. func (m *ConsultOrder) GetSessionId() string {
  1205. if m != nil {
  1206. return m.SessionId
  1207. }
  1208. return ""
  1209. }
  1210. func (m *ConsultOrder) GetStatus() int32 {
  1211. if m != nil {
  1212. return m.Status
  1213. }
  1214. return 0
  1215. }
  1216. func (m *ConsultOrder) GetPatientId() int32 {
  1217. if m != nil {
  1218. return m.PatientId
  1219. }
  1220. return 0
  1221. }
  1222. func (m *ConsultOrder) GetIdNo() string {
  1223. if m != nil {
  1224. return m.IdNo
  1225. }
  1226. return ""
  1227. }
  1228. func (m *ConsultOrder) GetExtStatus() int32 {
  1229. if m != nil {
  1230. return m.ExtStatus
  1231. }
  1232. return 0
  1233. }
  1234. // 得到咨询订单列表
  1235. type GetConsultOrderListRequest struct {
  1236. UserId int32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
  1237. PageIndex int32 `protobuf:"varint,2,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"`
  1238. PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
  1239. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1240. XXX_unrecognized []byte `json:"-"`
  1241. XXX_sizecache int32 `json:"-"`
  1242. }
  1243. func (m *GetConsultOrderListRequest) Reset() { *m = GetConsultOrderListRequest{} }
  1244. func (m *GetConsultOrderListRequest) String() string { return proto.CompactTextString(m) }
  1245. func (*GetConsultOrderListRequest) ProtoMessage() {}
  1246. func (*GetConsultOrderListRequest) Descriptor() ([]byte, []int) {
  1247. return fileDescriptor_cae5a521d48ed22e, []int{18}
  1248. }
  1249. func (m *GetConsultOrderListRequest) XXX_Unmarshal(b []byte) error {
  1250. return xxx_messageInfo_GetConsultOrderListRequest.Unmarshal(m, b)
  1251. }
  1252. func (m *GetConsultOrderListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1253. return xxx_messageInfo_GetConsultOrderListRequest.Marshal(b, m, deterministic)
  1254. }
  1255. func (m *GetConsultOrderListRequest) XXX_Merge(src proto.Message) {
  1256. xxx_messageInfo_GetConsultOrderListRequest.Merge(m, src)
  1257. }
  1258. func (m *GetConsultOrderListRequest) XXX_Size() int {
  1259. return xxx_messageInfo_GetConsultOrderListRequest.Size(m)
  1260. }
  1261. func (m *GetConsultOrderListRequest) XXX_DiscardUnknown() {
  1262. xxx_messageInfo_GetConsultOrderListRequest.DiscardUnknown(m)
  1263. }
  1264. var xxx_messageInfo_GetConsultOrderListRequest proto.InternalMessageInfo
  1265. func (m *GetConsultOrderListRequest) GetUserId() int32 {
  1266. if m != nil {
  1267. return m.UserId
  1268. }
  1269. return 0
  1270. }
  1271. func (m *GetConsultOrderListRequest) GetPageIndex() int32 {
  1272. if m != nil {
  1273. return m.PageIndex
  1274. }
  1275. return 0
  1276. }
  1277. func (m *GetConsultOrderListRequest) GetPageSize() int32 {
  1278. if m != nil {
  1279. return m.PageSize
  1280. }
  1281. return 0
  1282. }
  1283. type GetConsultOrderListResponse struct {
  1284. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1285. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1286. Consult []*ConsultOrder `protobuf:"bytes,3,rep,name=consult,proto3" json:"consult,omitempty"`
  1287. Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
  1288. TotalPages int32 `protobuf:"varint,5,opt,name=totalPages,proto3" json:"totalPages,omitempty"`
  1289. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1290. XXX_unrecognized []byte `json:"-"`
  1291. XXX_sizecache int32 `json:"-"`
  1292. }
  1293. func (m *GetConsultOrderListResponse) Reset() { *m = GetConsultOrderListResponse{} }
  1294. func (m *GetConsultOrderListResponse) String() string { return proto.CompactTextString(m) }
  1295. func (*GetConsultOrderListResponse) ProtoMessage() {}
  1296. func (*GetConsultOrderListResponse) Descriptor() ([]byte, []int) {
  1297. return fileDescriptor_cae5a521d48ed22e, []int{19}
  1298. }
  1299. func (m *GetConsultOrderListResponse) XXX_Unmarshal(b []byte) error {
  1300. return xxx_messageInfo_GetConsultOrderListResponse.Unmarshal(m, b)
  1301. }
  1302. func (m *GetConsultOrderListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1303. return xxx_messageInfo_GetConsultOrderListResponse.Marshal(b, m, deterministic)
  1304. }
  1305. func (m *GetConsultOrderListResponse) XXX_Merge(src proto.Message) {
  1306. xxx_messageInfo_GetConsultOrderListResponse.Merge(m, src)
  1307. }
  1308. func (m *GetConsultOrderListResponse) XXX_Size() int {
  1309. return xxx_messageInfo_GetConsultOrderListResponse.Size(m)
  1310. }
  1311. func (m *GetConsultOrderListResponse) XXX_DiscardUnknown() {
  1312. xxx_messageInfo_GetConsultOrderListResponse.DiscardUnknown(m)
  1313. }
  1314. var xxx_messageInfo_GetConsultOrderListResponse proto.InternalMessageInfo
  1315. func (m *GetConsultOrderListResponse) GetCode() int32 {
  1316. if m != nil {
  1317. return m.Code
  1318. }
  1319. return 0
  1320. }
  1321. func (m *GetConsultOrderListResponse) GetMsg() string {
  1322. if m != nil {
  1323. return m.Msg
  1324. }
  1325. return ""
  1326. }
  1327. func (m *GetConsultOrderListResponse) GetConsult() []*ConsultOrder {
  1328. if m != nil {
  1329. return m.Consult
  1330. }
  1331. return nil
  1332. }
  1333. func (m *GetConsultOrderListResponse) GetCount() int32 {
  1334. if m != nil {
  1335. return m.Count
  1336. }
  1337. return 0
  1338. }
  1339. func (m *GetConsultOrderListResponse) GetTotalPages() int32 {
  1340. if m != nil {
  1341. return m.TotalPages
  1342. }
  1343. return 0
  1344. }
  1345. //获取咨询订单详情请求
  1346. type GetConsultOrderRequest struct {
  1347. OrderId int32 `protobuf:"varint,1,opt,name=orderId,proto3" json:"orderId,omitempty"`
  1348. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1349. XXX_unrecognized []byte `json:"-"`
  1350. XXX_sizecache int32 `json:"-"`
  1351. }
  1352. func (m *GetConsultOrderRequest) Reset() { *m = GetConsultOrderRequest{} }
  1353. func (m *GetConsultOrderRequest) String() string { return proto.CompactTextString(m) }
  1354. func (*GetConsultOrderRequest) ProtoMessage() {}
  1355. func (*GetConsultOrderRequest) Descriptor() ([]byte, []int) {
  1356. return fileDescriptor_cae5a521d48ed22e, []int{20}
  1357. }
  1358. func (m *GetConsultOrderRequest) XXX_Unmarshal(b []byte) error {
  1359. return xxx_messageInfo_GetConsultOrderRequest.Unmarshal(m, b)
  1360. }
  1361. func (m *GetConsultOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1362. return xxx_messageInfo_GetConsultOrderRequest.Marshal(b, m, deterministic)
  1363. }
  1364. func (m *GetConsultOrderRequest) XXX_Merge(src proto.Message) {
  1365. xxx_messageInfo_GetConsultOrderRequest.Merge(m, src)
  1366. }
  1367. func (m *GetConsultOrderRequest) XXX_Size() int {
  1368. return xxx_messageInfo_GetConsultOrderRequest.Size(m)
  1369. }
  1370. func (m *GetConsultOrderRequest) XXX_DiscardUnknown() {
  1371. xxx_messageInfo_GetConsultOrderRequest.DiscardUnknown(m)
  1372. }
  1373. var xxx_messageInfo_GetConsultOrderRequest proto.InternalMessageInfo
  1374. func (m *GetConsultOrderRequest) GetOrderId() int32 {
  1375. if m != nil {
  1376. return m.OrderId
  1377. }
  1378. return 0
  1379. }
  1380. //获取咨询订单详情响应
  1381. type GetConsultOrderResponse struct {
  1382. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1383. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1384. Consult *ConsultOrder `protobuf:"bytes,3,opt,name=consult,proto3" json:"consult,omitempty"`
  1385. ImageUrl []string `protobuf:"bytes,4,rep,name=imageUrl,proto3" json:"imageUrl,omitempty"`
  1386. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1387. XXX_unrecognized []byte `json:"-"`
  1388. XXX_sizecache int32 `json:"-"`
  1389. }
  1390. func (m *GetConsultOrderResponse) Reset() { *m = GetConsultOrderResponse{} }
  1391. func (m *GetConsultOrderResponse) String() string { return proto.CompactTextString(m) }
  1392. func (*GetConsultOrderResponse) ProtoMessage() {}
  1393. func (*GetConsultOrderResponse) Descriptor() ([]byte, []int) {
  1394. return fileDescriptor_cae5a521d48ed22e, []int{21}
  1395. }
  1396. func (m *GetConsultOrderResponse) XXX_Unmarshal(b []byte) error {
  1397. return xxx_messageInfo_GetConsultOrderResponse.Unmarshal(m, b)
  1398. }
  1399. func (m *GetConsultOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1400. return xxx_messageInfo_GetConsultOrderResponse.Marshal(b, m, deterministic)
  1401. }
  1402. func (m *GetConsultOrderResponse) XXX_Merge(src proto.Message) {
  1403. xxx_messageInfo_GetConsultOrderResponse.Merge(m, src)
  1404. }
  1405. func (m *GetConsultOrderResponse) XXX_Size() int {
  1406. return xxx_messageInfo_GetConsultOrderResponse.Size(m)
  1407. }
  1408. func (m *GetConsultOrderResponse) XXX_DiscardUnknown() {
  1409. xxx_messageInfo_GetConsultOrderResponse.DiscardUnknown(m)
  1410. }
  1411. var xxx_messageInfo_GetConsultOrderResponse proto.InternalMessageInfo
  1412. func (m *GetConsultOrderResponse) GetCode() int32 {
  1413. if m != nil {
  1414. return m.Code
  1415. }
  1416. return 0
  1417. }
  1418. func (m *GetConsultOrderResponse) GetMsg() string {
  1419. if m != nil {
  1420. return m.Msg
  1421. }
  1422. return ""
  1423. }
  1424. func (m *GetConsultOrderResponse) GetConsult() *ConsultOrder {
  1425. if m != nil {
  1426. return m.Consult
  1427. }
  1428. return nil
  1429. }
  1430. func (m *GetConsultOrderResponse) GetImageUrl() []string {
  1431. if m != nil {
  1432. return m.ImageUrl
  1433. }
  1434. return nil
  1435. }
  1436. func init() {
  1437. proto.RegisterType((*CreateConsultingOrderRequest)(nil), "com.ywt.gapi.consult.CreateConsultingOrderRequest")
  1438. proto.RegisterType((*CreateConsultingOrderResponse)(nil), "com.ywt.gapi.consult.CreateConsultingOrderResponse")
  1439. proto.RegisterType((*PayConsultingCallbackRequest)(nil), "com.ywt.gapi.consult.PayConsultingCallbackRequest")
  1440. proto.RegisterType((*PayConsultingCallbackResponse)(nil), "com.ywt.gapi.consult.PayConsultingCallbackResponse")
  1441. proto.RegisterType((*ArrangeConsultingRequest)(nil), "com.ywt.gapi.consult.ArrangeConsultingRequest")
  1442. proto.RegisterType((*ArrangeConsultingResponse)(nil), "com.ywt.gapi.consult.ArrangeConsultingResponse")
  1443. proto.RegisterType((*CancelConsultingRequest)(nil), "com.ywt.gapi.consult.CancelConsultingRequest")
  1444. proto.RegisterType((*CancelConsultingResponse)(nil), "com.ywt.gapi.consult.CancelConsultingResponse")
  1445. proto.RegisterType((*RefundConsultingCallbackRequest)(nil), "com.ywt.gapi.consult.RefundConsultingCallbackRequest")
  1446. proto.RegisterType((*RefundConsultingCallbackResponse)(nil), "com.ywt.gapi.consult.RefundConsultingCallbackResponse")
  1447. proto.RegisterType((*ConsultingSchedule)(nil), "com.ywt.gapi.consult.ConsultingSchedule")
  1448. proto.RegisterType((*GetConsultingScheduleListRequest)(nil), "com.ywt.gapi.consult.GetConsultingScheduleListRequest")
  1449. proto.RegisterType((*GetConsultingScheduleListResponse)(nil), "com.ywt.gapi.consult.GetConsultingScheduleListResponse")
  1450. proto.RegisterType((*SetConsultingScheduleRequest)(nil), "com.ywt.gapi.consult.SetConsultingScheduleRequest")
  1451. proto.RegisterType((*SetConsultingScheduleResponse)(nil), "com.ywt.gapi.consult.SetConsultingScheduleResponse")
  1452. proto.RegisterType((*CancelConsultingScheduleRequest)(nil), "com.ywt.gapi.consult.CancelConsultingScheduleRequest")
  1453. proto.RegisterType((*CancelConsultingScheduleResponse)(nil), "com.ywt.gapi.consult.CancelConsultingScheduleResponse")
  1454. proto.RegisterType((*ConsultOrder)(nil), "com.ywt.gapi.consult.ConsultOrder")
  1455. proto.RegisterType((*GetConsultOrderListRequest)(nil), "com.ywt.gapi.consult.GetConsultOrderListRequest")
  1456. proto.RegisterType((*GetConsultOrderListResponse)(nil), "com.ywt.gapi.consult.GetConsultOrderListResponse")
  1457. proto.RegisterType((*GetConsultOrderRequest)(nil), "com.ywt.gapi.consult.GetConsultOrderRequest")
  1458. proto.RegisterType((*GetConsultOrderResponse)(nil), "com.ywt.gapi.consult.GetConsultOrderResponse")
  1459. }
  1460. func init() { proto.RegisterFile("consult.proto", fileDescriptor_cae5a521d48ed22e) }
  1461. var fileDescriptor_cae5a521d48ed22e = []byte{
  1462. // 1464 bytes of a gzipped FileDescriptorProto
  1463. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0xcd, 0x8f, 0xdb, 0x44,
  1464. 0x14, 0x97, 0x93, 0xfd, 0xf2, 0xdb, 0xdd, 0x7e, 0xb8, 0xed, 0x76, 0x9a, 0xa6, 0x6d, 0xb0, 0x2a,
  1465. 0xb4, 0x07, 0x9a, 0xc2, 0x56, 0xc0, 0x05, 0x21, 0x96, 0x2d, 0x2a, 0x11, 0xb0, 0x5d, 0x79, 0xcb,
  1466. 0x05, 0x09, 0xa1, 0x59, 0x7b, 0xea, 0xb5, 0xea, 0x78, 0x5c, 0xcf, 0x84, 0x6e, 0xf6, 0xc4, 0xb1,
  1467. 0x48, 0x48, 0x5c, 0xcb, 0x5f, 0xc2, 0x1f, 0xc3, 0x95, 0x33, 0xe2, 0x4f, 0x40, 0xf3, 0x61, 0x7b,
  1468. 0xec, 0xc4, 0x49, 0xcc, 0x6d, 0xde, 0x2f, 0x9e, 0xf7, 0x7e, 0xf3, 0xbe, 0xe6, 0x4d, 0x60, 0xd7,
  1469. 0xa7, 0x09, 0x9b, 0xc4, 0x7c, 0x98, 0x66, 0x94, 0x53, 0xe7, 0xa6, 0x4f, 0xc7, 0xc3, 0xe9, 0x1b,
  1470. 0x3e, 0x0c, 0x71, 0x1a, 0x0d, 0xf5, 0x6f, 0xee, 0xdb, 0x2e, 0xf4, 0x8f, 0x32, 0x82, 0x39, 0x39,
  1471. 0x52, 0x48, 0x94, 0x84, 0xcf, 0xb3, 0x80, 0x64, 0x1e, 0x79, 0x3d, 0x21, 0x8c, 0x3b, 0x7b, 0xb0,
  1472. 0x31, 0x61, 0x24, 0x1b, 0x05, 0xc8, 0x1a, 0x58, 0xfb, 0xeb, 0x9e, 0x96, 0x04, 0x3e, 0xa6, 0x67,
  1473. 0x51, 0x4c, 0x50, 0x67, 0x60, 0xed, 0xdb, 0x9e, 0x96, 0x9c, 0x01, 0x6c, 0xa7, 0x98, 0x47, 0x24,
  1474. 0xe1, 0xc7, 0x78, 0x4c, 0x50, 0x57, 0xfe, 0x68, 0x42, 0xce, 0x35, 0xe8, 0xe2, 0x90, 0xa0, 0x35,
  1475. 0xa9, 0x4e, 0x2c, 0x05, 0xc2, 0xc8, 0x05, 0x5a, 0x57, 0x08, 0x23, 0x17, 0x8e, 0x03, 0x6b, 0x01,
  1476. 0x61, 0x3e, 0xda, 0x90, 0xdb, 0xe5, 0x5a, 0x58, 0x8c, 0xc6, 0x38, 0x24, 0x0c, 0x6d, 0x2a, 0x8b,
  1477. 0x4a, 0x72, 0x7a, 0xb0, 0x15, 0x50, 0x9f, 0x53, 0xc1, 0x71, 0x4b, 0xaa, 0x28, 0x64, 0xf1, 0x5b,
  1478. 0x46, 0x7c, 0x9a, 0x05, 0xa3, 0x00, 0xd9, 0xea, 0xb7, 0x5c, 0x16, 0x36, 0xa2, 0xe0, 0x98, 0x22,
  1479. 0x50, 0x36, 0xc4, 0xda, 0x79, 0x08, 0xbb, 0xe2, 0x7c, 0x27, 0x8a, 0xee, 0x28, 0x40, 0xdb, 0x72,
  1480. 0x53, 0x15, 0x14, 0x5a, 0x39, 0xc9, 0xc6, 0x51, 0x82, 0x63, 0xb4, 0xa3, 0xb4, 0xe6, 0xb2, 0x60,
  1481. 0xc9, 0xce, 0x71, 0x46, 0x02, 0xb4, 0xab, 0xfc, 0xa5, 0x24, 0xe1, 0x17, 0xed, 0xf3, 0x17, 0xd3,
  1482. 0x94, 0xa0, 0x2b, 0xf2, 0x47, 0x13, 0x72, 0xff, 0xb4, 0xe0, 0x5e, 0x43, 0x28, 0x58, 0x4a, 0x13,
  1483. 0x46, 0x04, 0x63, 0x9f, 0x06, 0x44, 0x47, 0x42, 0xae, 0x05, 0x17, 0xe9, 0x87, 0xef, 0xb3, 0x18,
  1484. 0x75, 0x06, 0xdd, 0x7d, 0xdb, 0x2b, 0x64, 0xa7, 0x0f, 0x36, 0x23, 0x8c, 0x45, 0x34, 0x19, 0x05,
  1485. 0x3a, 0x12, 0x25, 0xe0, 0x20, 0xd8, 0xa4, 0x42, 0xfd, 0x28, 0xd0, 0xb1, 0xc8, 0x45, 0xb1, 0x4f,
  1486. 0x2e, 0x25, 0x53, 0x15, 0x95, 0x12, 0x10, 0xd1, 0x1a, 0xb3, 0x50, 0x87, 0x46, 0x2c, 0xdd, 0x7f,
  1487. 0x3a, 0xd0, 0x3f, 0xc1, 0xd3, 0x92, 0xf6, 0x11, 0x8e, 0xe3, 0x33, 0xec, 0xbf, 0xca, 0x93, 0x28,
  1488. 0x37, 0x75, 0x4c, 0x25, 0x77, 0xdb, 0xcb, 0x45, 0x93, 0x44, 0xa7, 0x4a, 0x02, 0xc1, 0x66, 0x8a,
  1489. 0xa7, 0x92, 0x42, 0x57, 0xfd, 0xa2, 0x45, 0xe1, 0x62, 0x7f, 0xc2, 0x38, 0x1d, 0x4b, 0xde, 0xb6,
  1490. 0xa7, 0x25, 0xe7, 0x26, 0xac, 0x9f, 0x45, 0x97, 0xa3, 0x40, 0x53, 0x56, 0x82, 0x38, 0x4c, 0x8a,
  1491. 0xa7, 0x63, 0x91, 0x7d, 0x54, 0x93, 0x2e, 0x01, 0x23, 0xbd, 0x37, 0x2b, 0xe9, 0xdd, 0x83, 0xad,
  1492. 0x34, 0x23, 0x29, 0x9e, 0xea, 0xa4, 0xb2, 0xbd, 0x42, 0xae, 0x84, 0xdf, 0x9e, 0x0d, 0x3f, 0x4d,
  1493. 0x49, 0x12, 0x05, 0x3a, 0xad, 0xb4, 0xe4, 0xbc, 0x0f, 0x57, 0xb4, 0xd1, 0xa3, 0x73, 0x9c, 0x24,
  1494. 0x24, 0xd6, 0x99, 0x55, 0x43, 0x45, 0x02, 0xd2, 0x84, 0xbc, 0x88, 0xc6, 0xe4, 0x48, 0x1d, 0x71,
  1495. 0x47, 0xaa, 0xa9, 0x82, 0xee, 0x33, 0xb8, 0xd7, 0xe0, 0xef, 0x05, 0x99, 0x22, 0xf2, 0x3d, 0x79,
  1496. 0x49, 0x75, 0xbd, 0xca, 0xb5, 0x9b, 0x02, 0x3a, 0xcc, 0x32, 0x9c, 0x84, 0x46, 0xce, 0xe5, 0x41,
  1497. 0x33, 0xeb, 0xca, 0xaa, 0xd5, 0x55, 0x73, 0xd8, 0xee, 0x03, 0x44, 0x4c, 0xeb, 0x0c, 0x74, 0xe4,
  1498. 0x0c, 0xc4, 0xfd, 0x09, 0xee, 0xcc, 0xb1, 0xb8, 0x80, 0xb6, 0x4e, 0xb7, 0x4e, 0x91, 0x6e, 0x2a,
  1499. 0xa2, 0x79, 0x81, 0x2a, 0x0b, 0x25, 0xe0, 0x7e, 0x03, 0xb7, 0x8f, 0x70, 0xe2, 0x93, 0x78, 0xf6,
  1500. 0x44, 0x06, 0x6b, 0xab, 0xca, 0xba, 0x4c, 0x83, 0x8e, 0x99, 0x06, 0xee, 0x17, 0x80, 0x66, 0x95,
  1501. 0xb5, 0x21, 0xeb, 0xfe, 0x65, 0xc1, 0x03, 0x8f, 0xbc, 0x9c, 0x24, 0x41, 0x73, 0x79, 0xec, 0xc1,
  1502. 0x06, 0x1e, 0xd3, 0x49, 0xc2, 0xf3, 0x1e, 0xab, 0xa4, 0x32, 0xa1, 0x3b, 0x66, 0x42, 0x1b, 0xa7,
  1503. 0xe8, 0xce, 0x94, 0x4c, 0x5e, 0x66, 0x6b, 0xd5, 0x32, 0x93, 0x7d, 0x50, 0x90, 0x38, 0xa6, 0xb2,
  1504. 0x3a, 0x6c, 0xaf, 0x90, 0x1d, 0x17, 0x76, 0xd4, 0xfa, 0x94, 0x63, 0x3e, 0x61, 0xb2, 0x46, 0xd6,
  1505. 0xbd, 0x0a, 0x66, 0x94, 0xdc, 0xa6, 0x59, 0x72, 0xee, 0xd7, 0x30, 0x68, 0x3e, 0x5c, 0x2b, 0x3f,
  1506. 0xfd, 0x6d, 0x81, 0x53, 0x2a, 0x39, 0xf5, 0xcf, 0x49, 0x30, 0x89, 0x89, 0x48, 0x27, 0xa6, 0xd7,
  1507. 0x45, 0xd4, 0x0c, 0xa4, 0x92, 0xa4, 0x9d, 0x5a, 0x92, 0xde, 0x07, 0xf0, 0x65, 0x3f, 0x15, 0x95,
  1508. 0x23, 0x7d, 0xd5, 0xf5, 0x0c, 0x44, 0xfc, 0x1e, 0x60, 0x4e, 0x4e, 0x48, 0x16, 0xd1, 0xbc, 0x07,
  1509. 0x1a, 0x88, 0x72, 0x5a, 0x2a, 0x3e, 0xcf, 0x5b, 0x4a, 0x21, 0x8b, 0x43, 0xbd, 0x21, 0xe4, 0x95,
  1510. 0x76, 0x96, 0x5c, 0x0b, 0x47, 0xe6, 0xcc, 0x9e, 0x62, 0x4e, 0xa4, 0xab, 0xba, 0x5e, 0x05, 0x73,
  1511. 0x3f, 0x87, 0xc1, 0x33, 0xc2, 0x67, 0x0f, 0xfa, 0x6d, 0xc4, 0xf8, 0x0a, 0x85, 0xe7, 0xfe, 0x6e,
  1512. 0xc1, 0x7b, 0x0b, 0x14, 0xb4, 0xaa, 0xa3, 0xa7, 0xb0, 0x95, 0x73, 0x43, 0xdd, 0x41, 0x77, 0x7f,
  1513. 0xfb, 0x60, 0x7f, 0x38, 0x6f, 0x48, 0x18, 0xce, 0x5a, 0xf3, 0x8a, 0x9d, 0xee, 0x3b, 0x0b, 0xfa,
  1514. 0xa7, 0xf3, 0x18, 0xad, 0xd2, 0x47, 0x4c, 0x17, 0x77, 0x6a, 0x2e, 0x1e, 0xc0, 0x36, 0x23, 0xd9,
  1515. 0xcf, 0x91, 0xaf, 0xbc, 0xa9, 0x27, 0x09, 0x03, 0x5a, 0x16, 0x40, 0xf7, 0x2b, 0xb8, 0xd7, 0xc0,
  1516. 0xac, 0x55, 0x6a, 0xfe, 0x08, 0x0f, 0xea, 0x4d, 0xa0, 0xcd, 0x19, 0xab, 0x29, 0xdc, 0xa9, 0xa7,
  1517. 0xb0, 0xa8, 0xa1, 0x66, 0xf5, 0xad, 0x88, 0xfe, 0xbb, 0x01, 0x3b, 0x5a, 0x89, 0x1c, 0x1c, 0x16,
  1518. 0x34, 0xbc, 0x3e, 0xd8, 0x3a, 0xba, 0x05, 0xa7, 0x12, 0x10, 0x94, 0xd5, 0x7d, 0x1f, 0xf1, 0x38,
  1519. 0xf7, 0xbc, 0x81, 0x54, 0x07, 0x84, 0xb5, 0xfa, 0x80, 0x60, 0xb4, 0xa1, 0xf5, 0x6a, 0x1b, 0xaa,
  1520. 0x0d, 0x87, 0x1b, 0xb3, 0xc3, 0xe1, 0x7d, 0x00, 0x2d, 0x9e, 0x92, 0x0b, 0x7d, 0x27, 0x1b, 0x88,
  1521. 0xb8, 0x1f, 0x19, 0xcf, 0x47, 0x31, 0xf1, 0x89, 0xba, 0x9c, 0xab, 0xa0, 0xa8, 0xc4, 0x73, 0xca,
  1522. 0xd2, 0x88, 0xe3, 0x58, 0x1a, 0xb2, 0xe5, 0x47, 0x15, 0x4c, 0x26, 0x8f, 0x0c, 0x91, 0xfc, 0x42,
  1523. 0xdd, 0xd6, 0x06, 0x22, 0x43, 0x4a, 0x52, 0x45, 0x74, 0x5b, 0xb5, 0xcc, 0x5c, 0xae, 0x75, 0x96,
  1524. 0x9d, 0x99, 0xce, 0x32, 0x80, 0x6d, 0x79, 0xe4, 0x43, 0xd5, 0xd5, 0xd5, 0x24, 0x68, 0x42, 0x62,
  1525. 0x1e, 0x60, 0x3c, 0x7b, 0x6e, 0x7c, 0x74, 0x45, 0xda, 0xa8, 0xa1, 0x32, 0x79, 0x64, 0x0b, 0x96,
  1526. 0x3c, 0xae, 0x2a, 0x96, 0x25, 0x52, 0x49, 0xbc, 0x6b, 0xb5, 0xc4, 0x7b, 0x08, 0xbb, 0x7a, 0xba,
  1527. 0xd0, 0x9d, 0xfd, 0xba, 0x1a, 0x66, 0x2b, 0xa0, 0x71, 0xf5, 0x39, 0x95, 0x09, 0x48, 0xee, 0x96,
  1528. 0x1e, 0xfd, 0x4e, 0xcd, 0xf9, 0x37, 0x94, 0xa7, 0x2b, 0xa0, 0x11, 0xaf, 0xc3, 0x90, 0xa0, 0x9b,
  1529. 0x95, 0x78, 0x1d, 0x86, 0xd2, 0x13, 0x62, 0x78, 0xcf, 0xa2, 0x94, 0x47, 0x34, 0x41, 0xb7, 0x54,
  1530. 0xc4, 0x0d, 0x48, 0x68, 0xc8, 0xe3, 0x32, 0x0a, 0xd0, 0x9e, 0xd2, 0x50, 0x22, 0x82, 0x9f, 0xf0,
  1531. 0xfb, 0x28, 0x40, 0xb7, 0x15, 0x3f, 0x25, 0x55, 0x87, 0x5b, 0x54, 0x1f, 0x6e, 0xc5, 0x18, 0xae,
  1532. 0x0e, 0x7d, 0x47, 0x8f, 0xe1, 0xea, 0xb4, 0x95, 0xd9, 0xa1, 0x57, 0x9b, 0x1d, 0x8a, 0x27, 0xc1,
  1533. 0x5d, 0xe3, 0x49, 0xd0, 0x07, 0x9b, 0x5c, 0xe4, 0x1e, 0xec, 0xab, 0x1d, 0x05, 0xe0, 0x26, 0xd0,
  1534. 0x2b, 0xdb, 0xb1, 0x0c, 0x9c, 0xd9, 0xc9, 0x9b, 0x1e, 0x4f, 0x92, 0x45, 0x48, 0x46, 0x49, 0x40,
  1535. 0x2e, 0xf2, 0xea, 0x2b, 0x00, 0x39, 0x7b, 0xe2, 0x90, 0x9c, 0x46, 0x97, 0xf9, 0xe8, 0x5b, 0xc8,
  1536. 0xe2, 0x91, 0x70, 0x77, 0xae, 0xc1, 0x56, 0x9d, 0xff, 0x33, 0xd8, 0xd4, 0xc5, 0xae, 0x1b, 0xbf,
  1537. 0xbb, 0xb0, 0xf1, 0xab, 0x57, 0x48, 0xbe, 0x45, 0x8c, 0x25, 0xbe, 0x4c, 0x59, 0x55, 0xf9, 0x4a,
  1538. 0x10, 0x71, 0xe4, 0x94, 0xe3, 0xf8, 0x44, 0x3e, 0xd1, 0xd4, 0x7d, 0x69, 0x20, 0xee, 0x01, 0xec,
  1539. 0xd5, 0x88, 0x2f, 0x1d, 0xcb, 0xdc, 0x3f, 0x2c, 0xb8, 0x3d, 0xb3, 0xe9, 0xff, 0x9f, 0xd4, 0x6a,
  1540. 0x7b, 0x52, 0xf3, 0x71, 0xb5, 0x56, 0x7d, 0x5c, 0x1d, 0xbc, 0x03, 0xb8, 0x6e, 0x74, 0x6c, 0x75,
  1541. 0x2d, 0x39, 0xbf, 0x58, 0x70, 0xcb, 0x9f, 0xf7, 0x88, 0x73, 0x0e, 0x1a, 0x0c, 0x2f, 0x78, 0x7c,
  1542. 0xf7, 0x9e, 0xb4, 0xda, 0xa3, 0x1d, 0x23, 0x28, 0xa4, 0xf3, 0x5e, 0x07, 0x4d, 0x14, 0x16, 0x3d,
  1543. 0xdd, 0x9a, 0x28, 0x2c, 0x7e, 0x7e, 0x70, 0xb8, 0x8e, 0xeb, 0x43, 0xbe, 0x33, 0x9c, 0xaf, 0xa9,
  1544. 0xe9, 0xfd, 0xd1, 0x7b, 0xbc, 0xf2, 0xf7, 0xda, 0xea, 0x6b, 0xb8, 0xe6, 0xd7, 0x2e, 0x52, 0xe7,
  1545. 0x51, 0x83, 0x07, 0xe7, 0xbf, 0x10, 0x7a, 0xc3, 0x55, 0x3f, 0xd7, 0x26, 0x7f, 0xb5, 0x00, 0x65,
  1546. 0x0d, 0x03, 0xb0, 0xf3, 0xf1, 0x7c, 0x65, 0x4b, 0x5e, 0x03, 0xbd, 0x4f, 0xda, 0x6e, 0xd3, 0x5c,
  1547. 0x7e, 0xb3, 0xe0, 0x4e, 0xd8, 0x34, 0x1a, 0x3a, 0x0d, 0x5a, 0x97, 0x0d, 0xa3, 0xbd, 0x4f, 0x5b,
  1548. 0xef, 0x33, 0xd2, 0x90, 0xcd, 0xfb, 0xaa, 0x29, 0x0d, 0x17, 0x0d, 0x91, 0x4d, 0x69, 0xb8, 0x78,
  1549. 0xbc, 0x13, 0xd1, 0xf1, 0x1b, 0x46, 0xab, 0xa6, 0xe8, 0x2c, 0x99, 0xf4, 0x9a, 0xa2, 0xb3, 0x74,
  1550. 0x82, 0xbb, 0x84, 0x1b, 0xe1, 0x6c, 0xdf, 0x76, 0x3e, 0x5c, 0xe6, 0xde, 0xfa, 0x9d, 0xd2, 0xfb,
  1551. 0xa8, 0xc5, 0x0e, 0x6d, 0x3b, 0x81, 0xab, 0x35, 0xdb, 0xce, 0x07, 0x2b, 0x69, 0xc9, 0x6d, 0x3e,
  1552. 0x5a, 0xf1, 0x6b, 0x65, 0xef, 0x4b, 0x17, 0xe6, 0xfe, 0xd9, 0x78, 0x62, 0xfd, 0xb0, 0xfe, 0x58,
  1553. 0x00, 0x6f, 0x2d, 0xeb, 0x6c, 0x43, 0xfe, 0x2b, 0xf9, 0xe4, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff,
  1554. 0x92, 0xbd, 0x98, 0x11, 0xa6, 0x14, 0x00, 0x00,
  1555. }
  1556. // Reference imports to suppress errors if they are not otherwise used.
  1557. var _ context.Context
  1558. var _ grpc.ClientConn
  1559. // This is a compile-time assertion to ensure that this generated file
  1560. // is compatible with the grpc package it is being compiled against.
  1561. const _ = grpc.SupportPackageIsVersion4
  1562. // ConsultingServiceClient is the client API for ConsultingService service.
  1563. //
  1564. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1565. type ConsultingServiceClient interface {
  1566. //创建咨询订单
  1567. CreateConsultingOrder(ctx context.Context, in *CreateConsultingOrderRequest, opts ...grpc.CallOption) (*CreateConsultingOrderResponse, error)
  1568. //订单支付成功通知
  1569. PayConsultingCallback(ctx context.Context, in *PayConsultingCallbackRequest, opts ...grpc.CallOption) (*PayConsultingCallbackResponse, error)
  1570. //咨询订单接诊/退诊
  1571. ArrangeConsulting(ctx context.Context, in *ArrangeConsultingRequest, opts ...grpc.CallOption) (*ArrangeConsultingResponse, error)
  1572. //取消咨询订单
  1573. CancelConsulting(ctx context.Context, in *CancelConsultingRequest, opts ...grpc.CallOption) (*CancelConsultingResponse, error)
  1574. //咨询订单退款回调
  1575. RefundConsultingCallback(ctx context.Context, in *RefundConsultingCallbackRequest, opts ...grpc.CallOption) (*RefundConsultingCallbackResponse, error)
  1576. //线上咨询排班列表
  1577. GetConsultingScheduleList(ctx context.Context, in *GetConsultingScheduleListRequest, opts ...grpc.CallOption) (*GetConsultingScheduleListResponse, error)
  1578. //设置线上咨询排班
  1579. SetConsultingSchedule(ctx context.Context, in *SetConsultingScheduleRequest, opts ...grpc.CallOption) (*SetConsultingScheduleResponse, error)
  1580. //取消线上排班
  1581. CancelConsultingSchedule(ctx context.Context, in *CancelConsultingScheduleRequest, opts ...grpc.CallOption) (*CancelConsultingScheduleResponse, error)
  1582. // 得到咨询订单列表
  1583. GetConsultOrderList(ctx context.Context, in *GetConsultOrderListRequest, opts ...grpc.CallOption) (*GetConsultOrderListResponse, error)
  1584. //获取咨询订单详情
  1585. GetConsultOrder(ctx context.Context, in *GetConsultOrderRequest, opts ...grpc.CallOption) (*GetConsultOrderResponse, error)
  1586. }
  1587. type consultingServiceClient struct {
  1588. cc *grpc.ClientConn
  1589. }
  1590. func NewConsultingServiceClient(cc *grpc.ClientConn) ConsultingServiceClient {
  1591. return &consultingServiceClient{cc}
  1592. }
  1593. func (c *consultingServiceClient) CreateConsultingOrder(ctx context.Context, in *CreateConsultingOrderRequest, opts ...grpc.CallOption) (*CreateConsultingOrderResponse, error) {
  1594. out := new(CreateConsultingOrderResponse)
  1595. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/createConsultingOrder", in, out, opts...)
  1596. if err != nil {
  1597. return nil, err
  1598. }
  1599. return out, nil
  1600. }
  1601. func (c *consultingServiceClient) PayConsultingCallback(ctx context.Context, in *PayConsultingCallbackRequest, opts ...grpc.CallOption) (*PayConsultingCallbackResponse, error) {
  1602. out := new(PayConsultingCallbackResponse)
  1603. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/payConsultingCallback", in, out, opts...)
  1604. if err != nil {
  1605. return nil, err
  1606. }
  1607. return out, nil
  1608. }
  1609. func (c *consultingServiceClient) ArrangeConsulting(ctx context.Context, in *ArrangeConsultingRequest, opts ...grpc.CallOption) (*ArrangeConsultingResponse, error) {
  1610. out := new(ArrangeConsultingResponse)
  1611. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/arrangeConsulting", in, out, opts...)
  1612. if err != nil {
  1613. return nil, err
  1614. }
  1615. return out, nil
  1616. }
  1617. func (c *consultingServiceClient) CancelConsulting(ctx context.Context, in *CancelConsultingRequest, opts ...grpc.CallOption) (*CancelConsultingResponse, error) {
  1618. out := new(CancelConsultingResponse)
  1619. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/cancelConsulting", in, out, opts...)
  1620. if err != nil {
  1621. return nil, err
  1622. }
  1623. return out, nil
  1624. }
  1625. func (c *consultingServiceClient) RefundConsultingCallback(ctx context.Context, in *RefundConsultingCallbackRequest, opts ...grpc.CallOption) (*RefundConsultingCallbackResponse, error) {
  1626. out := new(RefundConsultingCallbackResponse)
  1627. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/refundConsultingCallback", in, out, opts...)
  1628. if err != nil {
  1629. return nil, err
  1630. }
  1631. return out, nil
  1632. }
  1633. func (c *consultingServiceClient) GetConsultingScheduleList(ctx context.Context, in *GetConsultingScheduleListRequest, opts ...grpc.CallOption) (*GetConsultingScheduleListResponse, error) {
  1634. out := new(GetConsultingScheduleListResponse)
  1635. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/getConsultingScheduleList", in, out, opts...)
  1636. if err != nil {
  1637. return nil, err
  1638. }
  1639. return out, nil
  1640. }
  1641. func (c *consultingServiceClient) SetConsultingSchedule(ctx context.Context, in *SetConsultingScheduleRequest, opts ...grpc.CallOption) (*SetConsultingScheduleResponse, error) {
  1642. out := new(SetConsultingScheduleResponse)
  1643. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/setConsultingSchedule", in, out, opts...)
  1644. if err != nil {
  1645. return nil, err
  1646. }
  1647. return out, nil
  1648. }
  1649. func (c *consultingServiceClient) CancelConsultingSchedule(ctx context.Context, in *CancelConsultingScheduleRequest, opts ...grpc.CallOption) (*CancelConsultingScheduleResponse, error) {
  1650. out := new(CancelConsultingScheduleResponse)
  1651. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/cancelConsultingSchedule", in, out, opts...)
  1652. if err != nil {
  1653. return nil, err
  1654. }
  1655. return out, nil
  1656. }
  1657. func (c *consultingServiceClient) GetConsultOrderList(ctx context.Context, in *GetConsultOrderListRequest, opts ...grpc.CallOption) (*GetConsultOrderListResponse, error) {
  1658. out := new(GetConsultOrderListResponse)
  1659. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/getConsultOrderList", in, out, opts...)
  1660. if err != nil {
  1661. return nil, err
  1662. }
  1663. return out, nil
  1664. }
  1665. func (c *consultingServiceClient) GetConsultOrder(ctx context.Context, in *GetConsultOrderRequest, opts ...grpc.CallOption) (*GetConsultOrderResponse, error) {
  1666. out := new(GetConsultOrderResponse)
  1667. err := c.cc.Invoke(ctx, "/com.ywt.gapi.consult.ConsultingService/getConsultOrder", in, out, opts...)
  1668. if err != nil {
  1669. return nil, err
  1670. }
  1671. return out, nil
  1672. }
  1673. // ConsultingServiceServer is the server API for ConsultingService service.
  1674. type ConsultingServiceServer interface {
  1675. //创建咨询订单
  1676. CreateConsultingOrder(context.Context, *CreateConsultingOrderRequest) (*CreateConsultingOrderResponse, error)
  1677. //订单支付成功通知
  1678. PayConsultingCallback(context.Context, *PayConsultingCallbackRequest) (*PayConsultingCallbackResponse, error)
  1679. //咨询订单接诊/退诊
  1680. ArrangeConsulting(context.Context, *ArrangeConsultingRequest) (*ArrangeConsultingResponse, error)
  1681. //取消咨询订单
  1682. CancelConsulting(context.Context, *CancelConsultingRequest) (*CancelConsultingResponse, error)
  1683. //咨询订单退款回调
  1684. RefundConsultingCallback(context.Context, *RefundConsultingCallbackRequest) (*RefundConsultingCallbackResponse, error)
  1685. //线上咨询排班列表
  1686. GetConsultingScheduleList(context.Context, *GetConsultingScheduleListRequest) (*GetConsultingScheduleListResponse, error)
  1687. //设置线上咨询排班
  1688. SetConsultingSchedule(context.Context, *SetConsultingScheduleRequest) (*SetConsultingScheduleResponse, error)
  1689. //取消线上排班
  1690. CancelConsultingSchedule(context.Context, *CancelConsultingScheduleRequest) (*CancelConsultingScheduleResponse, error)
  1691. // 得到咨询订单列表
  1692. GetConsultOrderList(context.Context, *GetConsultOrderListRequest) (*GetConsultOrderListResponse, error)
  1693. //获取咨询订单详情
  1694. GetConsultOrder(context.Context, *GetConsultOrderRequest) (*GetConsultOrderResponse, error)
  1695. }
  1696. // UnimplementedConsultingServiceServer can be embedded to have forward compatible implementations.
  1697. type UnimplementedConsultingServiceServer struct {
  1698. }
  1699. func (*UnimplementedConsultingServiceServer) CreateConsultingOrder(ctx context.Context, req *CreateConsultingOrderRequest) (*CreateConsultingOrderResponse, error) {
  1700. return nil, status.Errorf(codes.Unimplemented, "method CreateConsultingOrder not implemented")
  1701. }
  1702. func (*UnimplementedConsultingServiceServer) PayConsultingCallback(ctx context.Context, req *PayConsultingCallbackRequest) (*PayConsultingCallbackResponse, error) {
  1703. return nil, status.Errorf(codes.Unimplemented, "method PayConsultingCallback not implemented")
  1704. }
  1705. func (*UnimplementedConsultingServiceServer) ArrangeConsulting(ctx context.Context, req *ArrangeConsultingRequest) (*ArrangeConsultingResponse, error) {
  1706. return nil, status.Errorf(codes.Unimplemented, "method ArrangeConsulting not implemented")
  1707. }
  1708. func (*UnimplementedConsultingServiceServer) CancelConsulting(ctx context.Context, req *CancelConsultingRequest) (*CancelConsultingResponse, error) {
  1709. return nil, status.Errorf(codes.Unimplemented, "method CancelConsulting not implemented")
  1710. }
  1711. func (*UnimplementedConsultingServiceServer) RefundConsultingCallback(ctx context.Context, req *RefundConsultingCallbackRequest) (*RefundConsultingCallbackResponse, error) {
  1712. return nil, status.Errorf(codes.Unimplemented, "method RefundConsultingCallback not implemented")
  1713. }
  1714. func (*UnimplementedConsultingServiceServer) GetConsultingScheduleList(ctx context.Context, req *GetConsultingScheduleListRequest) (*GetConsultingScheduleListResponse, error) {
  1715. return nil, status.Errorf(codes.Unimplemented, "method GetConsultingScheduleList not implemented")
  1716. }
  1717. func (*UnimplementedConsultingServiceServer) SetConsultingSchedule(ctx context.Context, req *SetConsultingScheduleRequest) (*SetConsultingScheduleResponse, error) {
  1718. return nil, status.Errorf(codes.Unimplemented, "method SetConsultingSchedule not implemented")
  1719. }
  1720. func (*UnimplementedConsultingServiceServer) CancelConsultingSchedule(ctx context.Context, req *CancelConsultingScheduleRequest) (*CancelConsultingScheduleResponse, error) {
  1721. return nil, status.Errorf(codes.Unimplemented, "method CancelConsultingSchedule not implemented")
  1722. }
  1723. func (*UnimplementedConsultingServiceServer) GetConsultOrderList(ctx context.Context, req *GetConsultOrderListRequest) (*GetConsultOrderListResponse, error) {
  1724. return nil, status.Errorf(codes.Unimplemented, "method GetConsultOrderList not implemented")
  1725. }
  1726. func (*UnimplementedConsultingServiceServer) GetConsultOrder(ctx context.Context, req *GetConsultOrderRequest) (*GetConsultOrderResponse, error) {
  1727. return nil, status.Errorf(codes.Unimplemented, "method GetConsultOrder not implemented")
  1728. }
  1729. func RegisterConsultingServiceServer(s *grpc.Server, srv ConsultingServiceServer) {
  1730. s.RegisterService(&_ConsultingService_serviceDesc, srv)
  1731. }
  1732. func _ConsultingService_CreateConsultingOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1733. in := new(CreateConsultingOrderRequest)
  1734. if err := dec(in); err != nil {
  1735. return nil, err
  1736. }
  1737. if interceptor == nil {
  1738. return srv.(ConsultingServiceServer).CreateConsultingOrder(ctx, in)
  1739. }
  1740. info := &grpc.UnaryServerInfo{
  1741. Server: srv,
  1742. FullMethod: "/com.ywt.gapi.consult.ConsultingService/CreateConsultingOrder",
  1743. }
  1744. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1745. return srv.(ConsultingServiceServer).CreateConsultingOrder(ctx, req.(*CreateConsultingOrderRequest))
  1746. }
  1747. return interceptor(ctx, in, info, handler)
  1748. }
  1749. func _ConsultingService_PayConsultingCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1750. in := new(PayConsultingCallbackRequest)
  1751. if err := dec(in); err != nil {
  1752. return nil, err
  1753. }
  1754. if interceptor == nil {
  1755. return srv.(ConsultingServiceServer).PayConsultingCallback(ctx, in)
  1756. }
  1757. info := &grpc.UnaryServerInfo{
  1758. Server: srv,
  1759. FullMethod: "/com.ywt.gapi.consult.ConsultingService/PayConsultingCallback",
  1760. }
  1761. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1762. return srv.(ConsultingServiceServer).PayConsultingCallback(ctx, req.(*PayConsultingCallbackRequest))
  1763. }
  1764. return interceptor(ctx, in, info, handler)
  1765. }
  1766. func _ConsultingService_ArrangeConsulting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1767. in := new(ArrangeConsultingRequest)
  1768. if err := dec(in); err != nil {
  1769. return nil, err
  1770. }
  1771. if interceptor == nil {
  1772. return srv.(ConsultingServiceServer).ArrangeConsulting(ctx, in)
  1773. }
  1774. info := &grpc.UnaryServerInfo{
  1775. Server: srv,
  1776. FullMethod: "/com.ywt.gapi.consult.ConsultingService/ArrangeConsulting",
  1777. }
  1778. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1779. return srv.(ConsultingServiceServer).ArrangeConsulting(ctx, req.(*ArrangeConsultingRequest))
  1780. }
  1781. return interceptor(ctx, in, info, handler)
  1782. }
  1783. func _ConsultingService_CancelConsulting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1784. in := new(CancelConsultingRequest)
  1785. if err := dec(in); err != nil {
  1786. return nil, err
  1787. }
  1788. if interceptor == nil {
  1789. return srv.(ConsultingServiceServer).CancelConsulting(ctx, in)
  1790. }
  1791. info := &grpc.UnaryServerInfo{
  1792. Server: srv,
  1793. FullMethod: "/com.ywt.gapi.consult.ConsultingService/CancelConsulting",
  1794. }
  1795. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1796. return srv.(ConsultingServiceServer).CancelConsulting(ctx, req.(*CancelConsultingRequest))
  1797. }
  1798. return interceptor(ctx, in, info, handler)
  1799. }
  1800. func _ConsultingService_RefundConsultingCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1801. in := new(RefundConsultingCallbackRequest)
  1802. if err := dec(in); err != nil {
  1803. return nil, err
  1804. }
  1805. if interceptor == nil {
  1806. return srv.(ConsultingServiceServer).RefundConsultingCallback(ctx, in)
  1807. }
  1808. info := &grpc.UnaryServerInfo{
  1809. Server: srv,
  1810. FullMethod: "/com.ywt.gapi.consult.ConsultingService/RefundConsultingCallback",
  1811. }
  1812. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1813. return srv.(ConsultingServiceServer).RefundConsultingCallback(ctx, req.(*RefundConsultingCallbackRequest))
  1814. }
  1815. return interceptor(ctx, in, info, handler)
  1816. }
  1817. func _ConsultingService_GetConsultingScheduleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1818. in := new(GetConsultingScheduleListRequest)
  1819. if err := dec(in); err != nil {
  1820. return nil, err
  1821. }
  1822. if interceptor == nil {
  1823. return srv.(ConsultingServiceServer).GetConsultingScheduleList(ctx, in)
  1824. }
  1825. info := &grpc.UnaryServerInfo{
  1826. Server: srv,
  1827. FullMethod: "/com.ywt.gapi.consult.ConsultingService/GetConsultingScheduleList",
  1828. }
  1829. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1830. return srv.(ConsultingServiceServer).GetConsultingScheduleList(ctx, req.(*GetConsultingScheduleListRequest))
  1831. }
  1832. return interceptor(ctx, in, info, handler)
  1833. }
  1834. func _ConsultingService_SetConsultingSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1835. in := new(SetConsultingScheduleRequest)
  1836. if err := dec(in); err != nil {
  1837. return nil, err
  1838. }
  1839. if interceptor == nil {
  1840. return srv.(ConsultingServiceServer).SetConsultingSchedule(ctx, in)
  1841. }
  1842. info := &grpc.UnaryServerInfo{
  1843. Server: srv,
  1844. FullMethod: "/com.ywt.gapi.consult.ConsultingService/SetConsultingSchedule",
  1845. }
  1846. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1847. return srv.(ConsultingServiceServer).SetConsultingSchedule(ctx, req.(*SetConsultingScheduleRequest))
  1848. }
  1849. return interceptor(ctx, in, info, handler)
  1850. }
  1851. func _ConsultingService_CancelConsultingSchedule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1852. in := new(CancelConsultingScheduleRequest)
  1853. if err := dec(in); err != nil {
  1854. return nil, err
  1855. }
  1856. if interceptor == nil {
  1857. return srv.(ConsultingServiceServer).CancelConsultingSchedule(ctx, in)
  1858. }
  1859. info := &grpc.UnaryServerInfo{
  1860. Server: srv,
  1861. FullMethod: "/com.ywt.gapi.consult.ConsultingService/CancelConsultingSchedule",
  1862. }
  1863. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1864. return srv.(ConsultingServiceServer).CancelConsultingSchedule(ctx, req.(*CancelConsultingScheduleRequest))
  1865. }
  1866. return interceptor(ctx, in, info, handler)
  1867. }
  1868. func _ConsultingService_GetConsultOrderList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1869. in := new(GetConsultOrderListRequest)
  1870. if err := dec(in); err != nil {
  1871. return nil, err
  1872. }
  1873. if interceptor == nil {
  1874. return srv.(ConsultingServiceServer).GetConsultOrderList(ctx, in)
  1875. }
  1876. info := &grpc.UnaryServerInfo{
  1877. Server: srv,
  1878. FullMethod: "/com.ywt.gapi.consult.ConsultingService/GetConsultOrderList",
  1879. }
  1880. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1881. return srv.(ConsultingServiceServer).GetConsultOrderList(ctx, req.(*GetConsultOrderListRequest))
  1882. }
  1883. return interceptor(ctx, in, info, handler)
  1884. }
  1885. func _ConsultingService_GetConsultOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1886. in := new(GetConsultOrderRequest)
  1887. if err := dec(in); err != nil {
  1888. return nil, err
  1889. }
  1890. if interceptor == nil {
  1891. return srv.(ConsultingServiceServer).GetConsultOrder(ctx, in)
  1892. }
  1893. info := &grpc.UnaryServerInfo{
  1894. Server: srv,
  1895. FullMethod: "/com.ywt.gapi.consult.ConsultingService/GetConsultOrder",
  1896. }
  1897. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1898. return srv.(ConsultingServiceServer).GetConsultOrder(ctx, req.(*GetConsultOrderRequest))
  1899. }
  1900. return interceptor(ctx, in, info, handler)
  1901. }
  1902. var _ConsultingService_serviceDesc = grpc.ServiceDesc{
  1903. ServiceName: "com.ywt.gapi.consult.ConsultingService",
  1904. HandlerType: (*ConsultingServiceServer)(nil),
  1905. Methods: []grpc.MethodDesc{
  1906. {
  1907. MethodName: "createConsultingOrder",
  1908. Handler: _ConsultingService_CreateConsultingOrder_Handler,
  1909. },
  1910. {
  1911. MethodName: "payConsultingCallback",
  1912. Handler: _ConsultingService_PayConsultingCallback_Handler,
  1913. },
  1914. {
  1915. MethodName: "arrangeConsulting",
  1916. Handler: _ConsultingService_ArrangeConsulting_Handler,
  1917. },
  1918. {
  1919. MethodName: "cancelConsulting",
  1920. Handler: _ConsultingService_CancelConsulting_Handler,
  1921. },
  1922. {
  1923. MethodName: "refundConsultingCallback",
  1924. Handler: _ConsultingService_RefundConsultingCallback_Handler,
  1925. },
  1926. {
  1927. MethodName: "getConsultingScheduleList",
  1928. Handler: _ConsultingService_GetConsultingScheduleList_Handler,
  1929. },
  1930. {
  1931. MethodName: "setConsultingSchedule",
  1932. Handler: _ConsultingService_SetConsultingSchedule_Handler,
  1933. },
  1934. {
  1935. MethodName: "cancelConsultingSchedule",
  1936. Handler: _ConsultingService_CancelConsultingSchedule_Handler,
  1937. },
  1938. {
  1939. MethodName: "getConsultOrderList",
  1940. Handler: _ConsultingService_GetConsultOrderList_Handler,
  1941. },
  1942. {
  1943. MethodName: "getConsultOrder",
  1944. Handler: _ConsultingService_GetConsultOrder_Handler,
  1945. },
  1946. },
  1947. Streams: []grpc.StreamDesc{},
  1948. Metadata: "consult.proto",
  1949. }