transform.pb.go 73 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: transform.proto
  3. package transform
  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. type UserRequest struct {
  23. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  24. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *UserRequest) Reset() { *m = UserRequest{} }
  30. func (m *UserRequest) String() string { return proto.CompactTextString(m) }
  31. func (*UserRequest) ProtoMessage() {}
  32. func (*UserRequest) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_cb4a498eeb2ba07d, []int{0}
  34. }
  35. func (m *UserRequest) XXX_Unmarshal(b []byte) error {
  36. return xxx_messageInfo_UserRequest.Unmarshal(m, b)
  37. }
  38. func (m *UserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. return xxx_messageInfo_UserRequest.Marshal(b, m, deterministic)
  40. }
  41. func (m *UserRequest) XXX_Merge(src proto.Message) {
  42. xxx_messageInfo_UserRequest.Merge(m, src)
  43. }
  44. func (m *UserRequest) XXX_Size() int {
  45. return xxx_messageInfo_UserRequest.Size(m)
  46. }
  47. func (m *UserRequest) XXX_DiscardUnknown() {
  48. xxx_messageInfo_UserRequest.DiscardUnknown(m)
  49. }
  50. var xxx_messageInfo_UserRequest proto.InternalMessageInfo
  51. func (m *UserRequest) GetId() string {
  52. if m != nil {
  53. return m.Id
  54. }
  55. return ""
  56. }
  57. func (m *UserRequest) GetPhone() string {
  58. if m != nil {
  59. return m.Phone
  60. }
  61. return ""
  62. }
  63. type UserResponse struct {
  64. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  65. Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
  66. Roles string `protobuf:"bytes,3,opt,name=roles,proto3" json:"roles,omitempty"`
  67. Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
  68. ErpRoleType int64 `protobuf:"varint,5,opt,name=erpRoleType,proto3" json:"erpRoleType,omitempty"`
  69. UserName string `protobuf:"bytes,6,opt,name=userName,proto3" json:"userName,omitempty"`
  70. CityName string `protobuf:"bytes,7,opt,name=cityName,proto3" json:"cityName,omitempty"`
  71. Gender int64 `protobuf:"varint,8,opt,name=gender,proto3" json:"gender,omitempty"`
  72. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  73. XXX_unrecognized []byte `json:"-"`
  74. XXX_sizecache int32 `json:"-"`
  75. }
  76. func (m *UserResponse) Reset() { *m = UserResponse{} }
  77. func (m *UserResponse) String() string { return proto.CompactTextString(m) }
  78. func (*UserResponse) ProtoMessage() {}
  79. func (*UserResponse) Descriptor() ([]byte, []int) {
  80. return fileDescriptor_cb4a498eeb2ba07d, []int{1}
  81. }
  82. func (m *UserResponse) XXX_Unmarshal(b []byte) error {
  83. return xxx_messageInfo_UserResponse.Unmarshal(m, b)
  84. }
  85. func (m *UserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  86. return xxx_messageInfo_UserResponse.Marshal(b, m, deterministic)
  87. }
  88. func (m *UserResponse) XXX_Merge(src proto.Message) {
  89. xxx_messageInfo_UserResponse.Merge(m, src)
  90. }
  91. func (m *UserResponse) XXX_Size() int {
  92. return xxx_messageInfo_UserResponse.Size(m)
  93. }
  94. func (m *UserResponse) XXX_DiscardUnknown() {
  95. xxx_messageInfo_UserResponse.DiscardUnknown(m)
  96. }
  97. var xxx_messageInfo_UserResponse proto.InternalMessageInfo
  98. func (m *UserResponse) GetId() string {
  99. if m != nil {
  100. return m.Id
  101. }
  102. return ""
  103. }
  104. func (m *UserResponse) GetPhone() string {
  105. if m != nil {
  106. return m.Phone
  107. }
  108. return ""
  109. }
  110. func (m *UserResponse) GetRoles() string {
  111. if m != nil {
  112. return m.Roles
  113. }
  114. return ""
  115. }
  116. func (m *UserResponse) GetStatus() int64 {
  117. if m != nil {
  118. return m.Status
  119. }
  120. return 0
  121. }
  122. func (m *UserResponse) GetErpRoleType() int64 {
  123. if m != nil {
  124. return m.ErpRoleType
  125. }
  126. return 0
  127. }
  128. func (m *UserResponse) GetUserName() string {
  129. if m != nil {
  130. return m.UserName
  131. }
  132. return ""
  133. }
  134. func (m *UserResponse) GetCityName() string {
  135. if m != nil {
  136. return m.CityName
  137. }
  138. return ""
  139. }
  140. func (m *UserResponse) GetGender() int64 {
  141. if m != nil {
  142. return m.Gender
  143. }
  144. return 0
  145. }
  146. type TokenRequest struct {
  147. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  148. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  149. XXX_unrecognized []byte `json:"-"`
  150. XXX_sizecache int32 `json:"-"`
  151. }
  152. func (m *TokenRequest) Reset() { *m = TokenRequest{} }
  153. func (m *TokenRequest) String() string { return proto.CompactTextString(m) }
  154. func (*TokenRequest) ProtoMessage() {}
  155. func (*TokenRequest) Descriptor() ([]byte, []int) {
  156. return fileDescriptor_cb4a498eeb2ba07d, []int{2}
  157. }
  158. func (m *TokenRequest) XXX_Unmarshal(b []byte) error {
  159. return xxx_messageInfo_TokenRequest.Unmarshal(m, b)
  160. }
  161. func (m *TokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  162. return xxx_messageInfo_TokenRequest.Marshal(b, m, deterministic)
  163. }
  164. func (m *TokenRequest) XXX_Merge(src proto.Message) {
  165. xxx_messageInfo_TokenRequest.Merge(m, src)
  166. }
  167. func (m *TokenRequest) XXX_Size() int {
  168. return xxx_messageInfo_TokenRequest.Size(m)
  169. }
  170. func (m *TokenRequest) XXX_DiscardUnknown() {
  171. xxx_messageInfo_TokenRequest.DiscardUnknown(m)
  172. }
  173. var xxx_messageInfo_TokenRequest proto.InternalMessageInfo
  174. func (m *TokenRequest) GetToken() string {
  175. if m != nil {
  176. return m.Token
  177. }
  178. return ""
  179. }
  180. type TokenResponse struct {
  181. UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
  182. UserRoleIds string `protobuf:"bytes,2,opt,name=UserRoleIds,proto3" json:"UserRoleIds,omitempty"`
  183. UserSchoolIds string `protobuf:"bytes,3,opt,name=UserSchoolIds,proto3" json:"UserSchoolIds,omitempty"`
  184. UserProvinceIds string `protobuf:"bytes,4,opt,name=UserProvinceIds,proto3" json:"UserProvinceIds,omitempty"`
  185. UserOrganIds string `protobuf:"bytes,5,opt,name=UserOrganIds,proto3" json:"UserOrganIds,omitempty"`
  186. SysSchoolId string `protobuf:"bytes,6,opt,name=SysSchoolId,proto3" json:"SysSchoolId,omitempty"`
  187. SysOrganId string `protobuf:"bytes,7,opt,name=SysOrganId,proto3" json:"SysOrganId,omitempty"`
  188. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  189. XXX_unrecognized []byte `json:"-"`
  190. XXX_sizecache int32 `json:"-"`
  191. }
  192. func (m *TokenResponse) Reset() { *m = TokenResponse{} }
  193. func (m *TokenResponse) String() string { return proto.CompactTextString(m) }
  194. func (*TokenResponse) ProtoMessage() {}
  195. func (*TokenResponse) Descriptor() ([]byte, []int) {
  196. return fileDescriptor_cb4a498eeb2ba07d, []int{3}
  197. }
  198. func (m *TokenResponse) XXX_Unmarshal(b []byte) error {
  199. return xxx_messageInfo_TokenResponse.Unmarshal(m, b)
  200. }
  201. func (m *TokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  202. return xxx_messageInfo_TokenResponse.Marshal(b, m, deterministic)
  203. }
  204. func (m *TokenResponse) XXX_Merge(src proto.Message) {
  205. xxx_messageInfo_TokenResponse.Merge(m, src)
  206. }
  207. func (m *TokenResponse) XXX_Size() int {
  208. return xxx_messageInfo_TokenResponse.Size(m)
  209. }
  210. func (m *TokenResponse) XXX_DiscardUnknown() {
  211. xxx_messageInfo_TokenResponse.DiscardUnknown(m)
  212. }
  213. var xxx_messageInfo_TokenResponse proto.InternalMessageInfo
  214. func (m *TokenResponse) GetUserId() string {
  215. if m != nil {
  216. return m.UserId
  217. }
  218. return ""
  219. }
  220. func (m *TokenResponse) GetUserRoleIds() string {
  221. if m != nil {
  222. return m.UserRoleIds
  223. }
  224. return ""
  225. }
  226. func (m *TokenResponse) GetUserSchoolIds() string {
  227. if m != nil {
  228. return m.UserSchoolIds
  229. }
  230. return ""
  231. }
  232. func (m *TokenResponse) GetUserProvinceIds() string {
  233. if m != nil {
  234. return m.UserProvinceIds
  235. }
  236. return ""
  237. }
  238. func (m *TokenResponse) GetUserOrganIds() string {
  239. if m != nil {
  240. return m.UserOrganIds
  241. }
  242. return ""
  243. }
  244. func (m *TokenResponse) GetSysSchoolId() string {
  245. if m != nil {
  246. return m.SysSchoolId
  247. }
  248. return ""
  249. }
  250. func (m *TokenResponse) GetSysOrganId() string {
  251. if m != nil {
  252. return m.SysOrganId
  253. }
  254. return ""
  255. }
  256. type Empty struct {
  257. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  258. XXX_unrecognized []byte `json:"-"`
  259. XXX_sizecache int32 `json:"-"`
  260. }
  261. func (m *Empty) Reset() { *m = Empty{} }
  262. func (m *Empty) String() string { return proto.CompactTextString(m) }
  263. func (*Empty) ProtoMessage() {}
  264. func (*Empty) Descriptor() ([]byte, []int) {
  265. return fileDescriptor_cb4a498eeb2ba07d, []int{4}
  266. }
  267. func (m *Empty) XXX_Unmarshal(b []byte) error {
  268. return xxx_messageInfo_Empty.Unmarshal(m, b)
  269. }
  270. func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  271. return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
  272. }
  273. func (m *Empty) XXX_Merge(src proto.Message) {
  274. xxx_messageInfo_Empty.Merge(m, src)
  275. }
  276. func (m *Empty) XXX_Size() int {
  277. return xxx_messageInfo_Empty.Size(m)
  278. }
  279. func (m *Empty) XXX_DiscardUnknown() {
  280. xxx_messageInfo_Empty.DiscardUnknown(m)
  281. }
  282. var xxx_messageInfo_Empty proto.InternalMessageInfo
  283. type TreeNodes struct {
  284. Nodes []*TreeNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
  285. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  286. XXX_unrecognized []byte `json:"-"`
  287. XXX_sizecache int32 `json:"-"`
  288. }
  289. func (m *TreeNodes) Reset() { *m = TreeNodes{} }
  290. func (m *TreeNodes) String() string { return proto.CompactTextString(m) }
  291. func (*TreeNodes) ProtoMessage() {}
  292. func (*TreeNodes) Descriptor() ([]byte, []int) {
  293. return fileDescriptor_cb4a498eeb2ba07d, []int{5}
  294. }
  295. func (m *TreeNodes) XXX_Unmarshal(b []byte) error {
  296. return xxx_messageInfo_TreeNodes.Unmarshal(m, b)
  297. }
  298. func (m *TreeNodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  299. return xxx_messageInfo_TreeNodes.Marshal(b, m, deterministic)
  300. }
  301. func (m *TreeNodes) XXX_Merge(src proto.Message) {
  302. xxx_messageInfo_TreeNodes.Merge(m, src)
  303. }
  304. func (m *TreeNodes) XXX_Size() int {
  305. return xxx_messageInfo_TreeNodes.Size(m)
  306. }
  307. func (m *TreeNodes) XXX_DiscardUnknown() {
  308. xxx_messageInfo_TreeNodes.DiscardUnknown(m)
  309. }
  310. var xxx_messageInfo_TreeNodes proto.InternalMessageInfo
  311. func (m *TreeNodes) GetNodes() []*TreeNode {
  312. if m != nil {
  313. return m.Nodes
  314. }
  315. return nil
  316. }
  317. type TreeNode struct {
  318. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  319. Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
  320. Parent int64 `protobuf:"varint,3,opt,name=parent,proto3" json:"parent,omitempty"`
  321. Tag *Tag `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
  322. Nodes []*TreeNode `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"`
  323. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  324. XXX_unrecognized []byte `json:"-"`
  325. XXX_sizecache int32 `json:"-"`
  326. }
  327. func (m *TreeNode) Reset() { *m = TreeNode{} }
  328. func (m *TreeNode) String() string { return proto.CompactTextString(m) }
  329. func (*TreeNode) ProtoMessage() {}
  330. func (*TreeNode) Descriptor() ([]byte, []int) {
  331. return fileDescriptor_cb4a498eeb2ba07d, []int{6}
  332. }
  333. func (m *TreeNode) XXX_Unmarshal(b []byte) error {
  334. return xxx_messageInfo_TreeNode.Unmarshal(m, b)
  335. }
  336. func (m *TreeNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  337. return xxx_messageInfo_TreeNode.Marshal(b, m, deterministic)
  338. }
  339. func (m *TreeNode) XXX_Merge(src proto.Message) {
  340. xxx_messageInfo_TreeNode.Merge(m, src)
  341. }
  342. func (m *TreeNode) XXX_Size() int {
  343. return xxx_messageInfo_TreeNode.Size(m)
  344. }
  345. func (m *TreeNode) XXX_DiscardUnknown() {
  346. xxx_messageInfo_TreeNode.DiscardUnknown(m)
  347. }
  348. var xxx_messageInfo_TreeNode proto.InternalMessageInfo
  349. func (m *TreeNode) GetId() int64 {
  350. if m != nil {
  351. return m.Id
  352. }
  353. return 0
  354. }
  355. func (m *TreeNode) GetText() string {
  356. if m != nil {
  357. return m.Text
  358. }
  359. return ""
  360. }
  361. func (m *TreeNode) GetParent() int64 {
  362. if m != nil {
  363. return m.Parent
  364. }
  365. return 0
  366. }
  367. func (m *TreeNode) GetTag() *Tag {
  368. if m != nil {
  369. return m.Tag
  370. }
  371. return nil
  372. }
  373. func (m *TreeNode) GetNodes() []*TreeNode {
  374. if m != nil {
  375. return m.Nodes
  376. }
  377. return nil
  378. }
  379. type Tag struct {
  380. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  381. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  382. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  383. XXX_unrecognized []byte `json:"-"`
  384. XXX_sizecache int32 `json:"-"`
  385. }
  386. func (m *Tag) Reset() { *m = Tag{} }
  387. func (m *Tag) String() string { return proto.CompactTextString(m) }
  388. func (*Tag) ProtoMessage() {}
  389. func (*Tag) Descriptor() ([]byte, []int) {
  390. return fileDescriptor_cb4a498eeb2ba07d, []int{7}
  391. }
  392. func (m *Tag) XXX_Unmarshal(b []byte) error {
  393. return xxx_messageInfo_Tag.Unmarshal(m, b)
  394. }
  395. func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  396. return xxx_messageInfo_Tag.Marshal(b, m, deterministic)
  397. }
  398. func (m *Tag) XXX_Merge(src proto.Message) {
  399. xxx_messageInfo_Tag.Merge(m, src)
  400. }
  401. func (m *Tag) XXX_Size() int {
  402. return xxx_messageInfo_Tag.Size(m)
  403. }
  404. func (m *Tag) XXX_DiscardUnknown() {
  405. xxx_messageInfo_Tag.DiscardUnknown(m)
  406. }
  407. var xxx_messageInfo_Tag proto.InternalMessageInfo
  408. func (m *Tag) GetId() int64 {
  409. if m != nil {
  410. return m.Id
  411. }
  412. return 0
  413. }
  414. func (m *Tag) GetName() string {
  415. if m != nil {
  416. return m.Name
  417. }
  418. return ""
  419. }
  420. type OptionsetReq struct {
  421. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  422. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  423. XXX_unrecognized []byte `json:"-"`
  424. XXX_sizecache int32 `json:"-"`
  425. }
  426. func (m *OptionsetReq) Reset() { *m = OptionsetReq{} }
  427. func (m *OptionsetReq) String() string { return proto.CompactTextString(m) }
  428. func (*OptionsetReq) ProtoMessage() {}
  429. func (*OptionsetReq) Descriptor() ([]byte, []int) {
  430. return fileDescriptor_cb4a498eeb2ba07d, []int{8}
  431. }
  432. func (m *OptionsetReq) XXX_Unmarshal(b []byte) error {
  433. return xxx_messageInfo_OptionsetReq.Unmarshal(m, b)
  434. }
  435. func (m *OptionsetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  436. return xxx_messageInfo_OptionsetReq.Marshal(b, m, deterministic)
  437. }
  438. func (m *OptionsetReq) XXX_Merge(src proto.Message) {
  439. xxx_messageInfo_OptionsetReq.Merge(m, src)
  440. }
  441. func (m *OptionsetReq) XXX_Size() int {
  442. return xxx_messageInfo_OptionsetReq.Size(m)
  443. }
  444. func (m *OptionsetReq) XXX_DiscardUnknown() {
  445. xxx_messageInfo_OptionsetReq.DiscardUnknown(m)
  446. }
  447. var xxx_messageInfo_OptionsetReq proto.InternalMessageInfo
  448. func (m *OptionsetReq) GetCode() string {
  449. if m != nil {
  450. return m.Code
  451. }
  452. return ""
  453. }
  454. type OptionsetRes struct {
  455. MapList map[string]string `protobuf:"bytes,1,rep,name=mapList,proto3" json:"mapList,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  456. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  457. XXX_unrecognized []byte `json:"-"`
  458. XXX_sizecache int32 `json:"-"`
  459. }
  460. func (m *OptionsetRes) Reset() { *m = OptionsetRes{} }
  461. func (m *OptionsetRes) String() string { return proto.CompactTextString(m) }
  462. func (*OptionsetRes) ProtoMessage() {}
  463. func (*OptionsetRes) Descriptor() ([]byte, []int) {
  464. return fileDescriptor_cb4a498eeb2ba07d, []int{9}
  465. }
  466. func (m *OptionsetRes) XXX_Unmarshal(b []byte) error {
  467. return xxx_messageInfo_OptionsetRes.Unmarshal(m, b)
  468. }
  469. func (m *OptionsetRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  470. return xxx_messageInfo_OptionsetRes.Marshal(b, m, deterministic)
  471. }
  472. func (m *OptionsetRes) XXX_Merge(src proto.Message) {
  473. xxx_messageInfo_OptionsetRes.Merge(m, src)
  474. }
  475. func (m *OptionsetRes) XXX_Size() int {
  476. return xxx_messageInfo_OptionsetRes.Size(m)
  477. }
  478. func (m *OptionsetRes) XXX_DiscardUnknown() {
  479. xxx_messageInfo_OptionsetRes.DiscardUnknown(m)
  480. }
  481. var xxx_messageInfo_OptionsetRes proto.InternalMessageInfo
  482. func (m *OptionsetRes) GetMapList() map[string]string {
  483. if m != nil {
  484. return m.MapList
  485. }
  486. return nil
  487. }
  488. type OptionCode struct {
  489. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  490. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  491. XXX_unrecognized []byte `json:"-"`
  492. XXX_sizecache int32 `json:"-"`
  493. }
  494. func (m *OptionCode) Reset() { *m = OptionCode{} }
  495. func (m *OptionCode) String() string { return proto.CompactTextString(m) }
  496. func (*OptionCode) ProtoMessage() {}
  497. func (*OptionCode) Descriptor() ([]byte, []int) {
  498. return fileDescriptor_cb4a498eeb2ba07d, []int{10}
  499. }
  500. func (m *OptionCode) XXX_Unmarshal(b []byte) error {
  501. return xxx_messageInfo_OptionCode.Unmarshal(m, b)
  502. }
  503. func (m *OptionCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  504. return xxx_messageInfo_OptionCode.Marshal(b, m, deterministic)
  505. }
  506. func (m *OptionCode) XXX_Merge(src proto.Message) {
  507. xxx_messageInfo_OptionCode.Merge(m, src)
  508. }
  509. func (m *OptionCode) XXX_Size() int {
  510. return xxx_messageInfo_OptionCode.Size(m)
  511. }
  512. func (m *OptionCode) XXX_DiscardUnknown() {
  513. xxx_messageInfo_OptionCode.DiscardUnknown(m)
  514. }
  515. var xxx_messageInfo_OptionCode proto.InternalMessageInfo
  516. func (m *OptionCode) GetCode() string {
  517. if m != nil {
  518. return m.Code
  519. }
  520. return ""
  521. }
  522. type Options struct {
  523. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  524. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  525. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
  526. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  527. XXX_unrecognized []byte `json:"-"`
  528. XXX_sizecache int32 `json:"-"`
  529. }
  530. func (m *Options) Reset() { *m = Options{} }
  531. func (m *Options) String() string { return proto.CompactTextString(m) }
  532. func (*Options) ProtoMessage() {}
  533. func (*Options) Descriptor() ([]byte, []int) {
  534. return fileDescriptor_cb4a498eeb2ba07d, []int{11}
  535. }
  536. func (m *Options) XXX_Unmarshal(b []byte) error {
  537. return xxx_messageInfo_Options.Unmarshal(m, b)
  538. }
  539. func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  540. return xxx_messageInfo_Options.Marshal(b, m, deterministic)
  541. }
  542. func (m *Options) XXX_Merge(src proto.Message) {
  543. xxx_messageInfo_Options.Merge(m, src)
  544. }
  545. func (m *Options) XXX_Size() int {
  546. return xxx_messageInfo_Options.Size(m)
  547. }
  548. func (m *Options) XXX_DiscardUnknown() {
  549. xxx_messageInfo_Options.DiscardUnknown(m)
  550. }
  551. var xxx_messageInfo_Options proto.InternalMessageInfo
  552. func (m *Options) GetCode() string {
  553. if m != nil {
  554. return m.Code
  555. }
  556. return ""
  557. }
  558. func (m *Options) GetName() string {
  559. if m != nil {
  560. return m.Name
  561. }
  562. return ""
  563. }
  564. func (m *Options) GetValue() string {
  565. if m != nil {
  566. return m.Value
  567. }
  568. return ""
  569. }
  570. type ResponseByte struct {
  571. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  572. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  573. XXX_unrecognized []byte `json:"-"`
  574. XXX_sizecache int32 `json:"-"`
  575. }
  576. func (m *ResponseByte) Reset() { *m = ResponseByte{} }
  577. func (m *ResponseByte) String() string { return proto.CompactTextString(m) }
  578. func (*ResponseByte) ProtoMessage() {}
  579. func (*ResponseByte) Descriptor() ([]byte, []int) {
  580. return fileDescriptor_cb4a498eeb2ba07d, []int{12}
  581. }
  582. func (m *ResponseByte) XXX_Unmarshal(b []byte) error {
  583. return xxx_messageInfo_ResponseByte.Unmarshal(m, b)
  584. }
  585. func (m *ResponseByte) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  586. return xxx_messageInfo_ResponseByte.Marshal(b, m, deterministic)
  587. }
  588. func (m *ResponseByte) XXX_Merge(src proto.Message) {
  589. xxx_messageInfo_ResponseByte.Merge(m, src)
  590. }
  591. func (m *ResponseByte) XXX_Size() int {
  592. return xxx_messageInfo_ResponseByte.Size(m)
  593. }
  594. func (m *ResponseByte) XXX_DiscardUnknown() {
  595. xxx_messageInfo_ResponseByte.DiscardUnknown(m)
  596. }
  597. var xxx_messageInfo_ResponseByte proto.InternalMessageInfo
  598. func (m *ResponseByte) GetData() []byte {
  599. if m != nil {
  600. return m.Data
  601. }
  602. return nil
  603. }
  604. type ExcelLogReq struct {
  605. Module string `protobuf:"bytes,1,opt,name=Module,proto3" json:"Module,omitempty"`
  606. Cond string `protobuf:"bytes,2,opt,name=Cond,proto3" json:"Cond,omitempty"`
  607. CreateBy string `protobuf:"bytes,3,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"`
  608. CreateTime string `protobuf:"bytes,4,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
  609. LastUpdateBy string `protobuf:"bytes,5,opt,name=LastUpdateBy,proto3" json:"LastUpdateBy,omitempty"`
  610. LastUpdateTime string `protobuf:"bytes,6,opt,name=LastUpdateTime,proto3" json:"LastUpdateTime,omitempty"`
  611. DelFlag string `protobuf:"bytes,7,opt,name=DelFlag,proto3" json:"DelFlag,omitempty"`
  612. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  613. XXX_unrecognized []byte `json:"-"`
  614. XXX_sizecache int32 `json:"-"`
  615. }
  616. func (m *ExcelLogReq) Reset() { *m = ExcelLogReq{} }
  617. func (m *ExcelLogReq) String() string { return proto.CompactTextString(m) }
  618. func (*ExcelLogReq) ProtoMessage() {}
  619. func (*ExcelLogReq) Descriptor() ([]byte, []int) {
  620. return fileDescriptor_cb4a498eeb2ba07d, []int{13}
  621. }
  622. func (m *ExcelLogReq) XXX_Unmarshal(b []byte) error {
  623. return xxx_messageInfo_ExcelLogReq.Unmarshal(m, b)
  624. }
  625. func (m *ExcelLogReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  626. return xxx_messageInfo_ExcelLogReq.Marshal(b, m, deterministic)
  627. }
  628. func (m *ExcelLogReq) XXX_Merge(src proto.Message) {
  629. xxx_messageInfo_ExcelLogReq.Merge(m, src)
  630. }
  631. func (m *ExcelLogReq) XXX_Size() int {
  632. return xxx_messageInfo_ExcelLogReq.Size(m)
  633. }
  634. func (m *ExcelLogReq) XXX_DiscardUnknown() {
  635. xxx_messageInfo_ExcelLogReq.DiscardUnknown(m)
  636. }
  637. var xxx_messageInfo_ExcelLogReq proto.InternalMessageInfo
  638. func (m *ExcelLogReq) GetModule() string {
  639. if m != nil {
  640. return m.Module
  641. }
  642. return ""
  643. }
  644. func (m *ExcelLogReq) GetCond() string {
  645. if m != nil {
  646. return m.Cond
  647. }
  648. return ""
  649. }
  650. func (m *ExcelLogReq) GetCreateBy() string {
  651. if m != nil {
  652. return m.CreateBy
  653. }
  654. return ""
  655. }
  656. func (m *ExcelLogReq) GetCreateTime() string {
  657. if m != nil {
  658. return m.CreateTime
  659. }
  660. return ""
  661. }
  662. func (m *ExcelLogReq) GetLastUpdateBy() string {
  663. if m != nil {
  664. return m.LastUpdateBy
  665. }
  666. return ""
  667. }
  668. func (m *ExcelLogReq) GetLastUpdateTime() string {
  669. if m != nil {
  670. return m.LastUpdateTime
  671. }
  672. return ""
  673. }
  674. func (m *ExcelLogReq) GetDelFlag() string {
  675. if m != nil {
  676. return m.DelFlag
  677. }
  678. return ""
  679. }
  680. type ExcelLogRes struct {
  681. Status int64 `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
  682. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  683. XXX_unrecognized []byte `json:"-"`
  684. XXX_sizecache int32 `json:"-"`
  685. }
  686. func (m *ExcelLogRes) Reset() { *m = ExcelLogRes{} }
  687. func (m *ExcelLogRes) String() string { return proto.CompactTextString(m) }
  688. func (*ExcelLogRes) ProtoMessage() {}
  689. func (*ExcelLogRes) Descriptor() ([]byte, []int) {
  690. return fileDescriptor_cb4a498eeb2ba07d, []int{14}
  691. }
  692. func (m *ExcelLogRes) XXX_Unmarshal(b []byte) error {
  693. return xxx_messageInfo_ExcelLogRes.Unmarshal(m, b)
  694. }
  695. func (m *ExcelLogRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  696. return xxx_messageInfo_ExcelLogRes.Marshal(b, m, deterministic)
  697. }
  698. func (m *ExcelLogRes) XXX_Merge(src proto.Message) {
  699. xxx_messageInfo_ExcelLogRes.Merge(m, src)
  700. }
  701. func (m *ExcelLogRes) XXX_Size() int {
  702. return xxx_messageInfo_ExcelLogRes.Size(m)
  703. }
  704. func (m *ExcelLogRes) XXX_DiscardUnknown() {
  705. xxx_messageInfo_ExcelLogRes.DiscardUnknown(m)
  706. }
  707. var xxx_messageInfo_ExcelLogRes proto.InternalMessageInfo
  708. func (m *ExcelLogRes) GetStatus() int64 {
  709. if m != nil {
  710. return m.Status
  711. }
  712. return 0
  713. }
  714. type SchoolIdsReq struct {
  715. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
  716. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  717. XXX_unrecognized []byte `json:"-"`
  718. XXX_sizecache int32 `json:"-"`
  719. }
  720. func (m *SchoolIdsReq) Reset() { *m = SchoolIdsReq{} }
  721. func (m *SchoolIdsReq) String() string { return proto.CompactTextString(m) }
  722. func (*SchoolIdsReq) ProtoMessage() {}
  723. func (*SchoolIdsReq) Descriptor() ([]byte, []int) {
  724. return fileDescriptor_cb4a498eeb2ba07d, []int{15}
  725. }
  726. func (m *SchoolIdsReq) XXX_Unmarshal(b []byte) error {
  727. return xxx_messageInfo_SchoolIdsReq.Unmarshal(m, b)
  728. }
  729. func (m *SchoolIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  730. return xxx_messageInfo_SchoolIdsReq.Marshal(b, m, deterministic)
  731. }
  732. func (m *SchoolIdsReq) XXX_Merge(src proto.Message) {
  733. xxx_messageInfo_SchoolIdsReq.Merge(m, src)
  734. }
  735. func (m *SchoolIdsReq) XXX_Size() int {
  736. return xxx_messageInfo_SchoolIdsReq.Size(m)
  737. }
  738. func (m *SchoolIdsReq) XXX_DiscardUnknown() {
  739. xxx_messageInfo_SchoolIdsReq.DiscardUnknown(m)
  740. }
  741. var xxx_messageInfo_SchoolIdsReq proto.InternalMessageInfo
  742. func (m *SchoolIdsReq) GetNames() []string {
  743. if m != nil {
  744. return m.Names
  745. }
  746. return nil
  747. }
  748. type ListOfInt struct {
  749. Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
  750. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  751. XXX_unrecognized []byte `json:"-"`
  752. XXX_sizecache int32 `json:"-"`
  753. }
  754. func (m *ListOfInt) Reset() { *m = ListOfInt{} }
  755. func (m *ListOfInt) String() string { return proto.CompactTextString(m) }
  756. func (*ListOfInt) ProtoMessage() {}
  757. func (*ListOfInt) Descriptor() ([]byte, []int) {
  758. return fileDescriptor_cb4a498eeb2ba07d, []int{16}
  759. }
  760. func (m *ListOfInt) XXX_Unmarshal(b []byte) error {
  761. return xxx_messageInfo_ListOfInt.Unmarshal(m, b)
  762. }
  763. func (m *ListOfInt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  764. return xxx_messageInfo_ListOfInt.Marshal(b, m, deterministic)
  765. }
  766. func (m *ListOfInt) XXX_Merge(src proto.Message) {
  767. xxx_messageInfo_ListOfInt.Merge(m, src)
  768. }
  769. func (m *ListOfInt) XXX_Size() int {
  770. return xxx_messageInfo_ListOfInt.Size(m)
  771. }
  772. func (m *ListOfInt) XXX_DiscardUnknown() {
  773. xxx_messageInfo_ListOfInt.DiscardUnknown(m)
  774. }
  775. var xxx_messageInfo_ListOfInt proto.InternalMessageInfo
  776. func (m *ListOfInt) GetIds() []int64 {
  777. if m != nil {
  778. return m.Ids
  779. }
  780. return nil
  781. }
  782. type SchoolIdsRes struct {
  783. MapList map[string]int64 `protobuf:"bytes,1,rep,name=mapList,proto3" json:"mapList,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  784. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  785. XXX_unrecognized []byte `json:"-"`
  786. XXX_sizecache int32 `json:"-"`
  787. }
  788. func (m *SchoolIdsRes) Reset() { *m = SchoolIdsRes{} }
  789. func (m *SchoolIdsRes) String() string { return proto.CompactTextString(m) }
  790. func (*SchoolIdsRes) ProtoMessage() {}
  791. func (*SchoolIdsRes) Descriptor() ([]byte, []int) {
  792. return fileDescriptor_cb4a498eeb2ba07d, []int{17}
  793. }
  794. func (m *SchoolIdsRes) XXX_Unmarshal(b []byte) error {
  795. return xxx_messageInfo_SchoolIdsRes.Unmarshal(m, b)
  796. }
  797. func (m *SchoolIdsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  798. return xxx_messageInfo_SchoolIdsRes.Marshal(b, m, deterministic)
  799. }
  800. func (m *SchoolIdsRes) XXX_Merge(src proto.Message) {
  801. xxx_messageInfo_SchoolIdsRes.Merge(m, src)
  802. }
  803. func (m *SchoolIdsRes) XXX_Size() int {
  804. return xxx_messageInfo_SchoolIdsRes.Size(m)
  805. }
  806. func (m *SchoolIdsRes) XXX_DiscardUnknown() {
  807. xxx_messageInfo_SchoolIdsRes.DiscardUnknown(m)
  808. }
  809. var xxx_messageInfo_SchoolIdsRes proto.InternalMessageInfo
  810. func (m *SchoolIdsRes) GetMapList() map[string]int64 {
  811. if m != nil {
  812. return m.MapList
  813. }
  814. return nil
  815. }
  816. type CityIdsReq struct {
  817. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
  818. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  819. XXX_unrecognized []byte `json:"-"`
  820. XXX_sizecache int32 `json:"-"`
  821. }
  822. func (m *CityIdsReq) Reset() { *m = CityIdsReq{} }
  823. func (m *CityIdsReq) String() string { return proto.CompactTextString(m) }
  824. func (*CityIdsReq) ProtoMessage() {}
  825. func (*CityIdsReq) Descriptor() ([]byte, []int) {
  826. return fileDescriptor_cb4a498eeb2ba07d, []int{18}
  827. }
  828. func (m *CityIdsReq) XXX_Unmarshal(b []byte) error {
  829. return xxx_messageInfo_CityIdsReq.Unmarshal(m, b)
  830. }
  831. func (m *CityIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  832. return xxx_messageInfo_CityIdsReq.Marshal(b, m, deterministic)
  833. }
  834. func (m *CityIdsReq) XXX_Merge(src proto.Message) {
  835. xxx_messageInfo_CityIdsReq.Merge(m, src)
  836. }
  837. func (m *CityIdsReq) XXX_Size() int {
  838. return xxx_messageInfo_CityIdsReq.Size(m)
  839. }
  840. func (m *CityIdsReq) XXX_DiscardUnknown() {
  841. xxx_messageInfo_CityIdsReq.DiscardUnknown(m)
  842. }
  843. var xxx_messageInfo_CityIdsReq proto.InternalMessageInfo
  844. func (m *CityIdsReq) GetNames() []string {
  845. if m != nil {
  846. return m.Names
  847. }
  848. return nil
  849. }
  850. type CityIdsRes struct {
  851. MapList map[string]int64 `protobuf:"bytes,1,rep,name=mapList,proto3" json:"mapList,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  852. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  853. XXX_unrecognized []byte `json:"-"`
  854. XXX_sizecache int32 `json:"-"`
  855. }
  856. func (m *CityIdsRes) Reset() { *m = CityIdsRes{} }
  857. func (m *CityIdsRes) String() string { return proto.CompactTextString(m) }
  858. func (*CityIdsRes) ProtoMessage() {}
  859. func (*CityIdsRes) Descriptor() ([]byte, []int) {
  860. return fileDescriptor_cb4a498eeb2ba07d, []int{19}
  861. }
  862. func (m *CityIdsRes) XXX_Unmarshal(b []byte) error {
  863. return xxx_messageInfo_CityIdsRes.Unmarshal(m, b)
  864. }
  865. func (m *CityIdsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  866. return xxx_messageInfo_CityIdsRes.Marshal(b, m, deterministic)
  867. }
  868. func (m *CityIdsRes) XXX_Merge(src proto.Message) {
  869. xxx_messageInfo_CityIdsRes.Merge(m, src)
  870. }
  871. func (m *CityIdsRes) XXX_Size() int {
  872. return xxx_messageInfo_CityIdsRes.Size(m)
  873. }
  874. func (m *CityIdsRes) XXX_DiscardUnknown() {
  875. xxx_messageInfo_CityIdsRes.DiscardUnknown(m)
  876. }
  877. var xxx_messageInfo_CityIdsRes proto.InternalMessageInfo
  878. func (m *CityIdsRes) GetMapList() map[string]int64 {
  879. if m != nil {
  880. return m.MapList
  881. }
  882. return nil
  883. }
  884. type BytesReq struct {
  885. Req []byte `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
  886. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  887. XXX_unrecognized []byte `json:"-"`
  888. XXX_sizecache int32 `json:"-"`
  889. }
  890. func (m *BytesReq) Reset() { *m = BytesReq{} }
  891. func (m *BytesReq) String() string { return proto.CompactTextString(m) }
  892. func (*BytesReq) ProtoMessage() {}
  893. func (*BytesReq) Descriptor() ([]byte, []int) {
  894. return fileDescriptor_cb4a498eeb2ba07d, []int{20}
  895. }
  896. func (m *BytesReq) XXX_Unmarshal(b []byte) error {
  897. return xxx_messageInfo_BytesReq.Unmarshal(m, b)
  898. }
  899. func (m *BytesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  900. return xxx_messageInfo_BytesReq.Marshal(b, m, deterministic)
  901. }
  902. func (m *BytesReq) XXX_Merge(src proto.Message) {
  903. xxx_messageInfo_BytesReq.Merge(m, src)
  904. }
  905. func (m *BytesReq) XXX_Size() int {
  906. return xxx_messageInfo_BytesReq.Size(m)
  907. }
  908. func (m *BytesReq) XXX_DiscardUnknown() {
  909. xxx_messageInfo_BytesReq.DiscardUnknown(m)
  910. }
  911. var xxx_messageInfo_BytesReq proto.InternalMessageInfo
  912. func (m *BytesReq) GetReq() []byte {
  913. if m != nil {
  914. return m.Req
  915. }
  916. return nil
  917. }
  918. type BytesResp struct {
  919. Resp []byte `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
  920. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  921. XXX_unrecognized []byte `json:"-"`
  922. XXX_sizecache int32 `json:"-"`
  923. }
  924. func (m *BytesResp) Reset() { *m = BytesResp{} }
  925. func (m *BytesResp) String() string { return proto.CompactTextString(m) }
  926. func (*BytesResp) ProtoMessage() {}
  927. func (*BytesResp) Descriptor() ([]byte, []int) {
  928. return fileDescriptor_cb4a498eeb2ba07d, []int{21}
  929. }
  930. func (m *BytesResp) XXX_Unmarshal(b []byte) error {
  931. return xxx_messageInfo_BytesResp.Unmarshal(m, b)
  932. }
  933. func (m *BytesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  934. return xxx_messageInfo_BytesResp.Marshal(b, m, deterministic)
  935. }
  936. func (m *BytesResp) XXX_Merge(src proto.Message) {
  937. xxx_messageInfo_BytesResp.Merge(m, src)
  938. }
  939. func (m *BytesResp) XXX_Size() int {
  940. return xxx_messageInfo_BytesResp.Size(m)
  941. }
  942. func (m *BytesResp) XXX_DiscardUnknown() {
  943. xxx_messageInfo_BytesResp.DiscardUnknown(m)
  944. }
  945. var xxx_messageInfo_BytesResp proto.InternalMessageInfo
  946. func (m *BytesResp) GetResp() []byte {
  947. if m != nil {
  948. return m.Resp
  949. }
  950. return nil
  951. }
  952. type GetErpRoleRes struct {
  953. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  954. Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
  955. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  956. XXX_unrecognized []byte `json:"-"`
  957. XXX_sizecache int32 `json:"-"`
  958. }
  959. func (m *GetErpRoleRes) Reset() { *m = GetErpRoleRes{} }
  960. func (m *GetErpRoleRes) String() string { return proto.CompactTextString(m) }
  961. func (*GetErpRoleRes) ProtoMessage() {}
  962. func (*GetErpRoleRes) Descriptor() ([]byte, []int) {
  963. return fileDescriptor_cb4a498eeb2ba07d, []int{22}
  964. }
  965. func (m *GetErpRoleRes) XXX_Unmarshal(b []byte) error {
  966. return xxx_messageInfo_GetErpRoleRes.Unmarshal(m, b)
  967. }
  968. func (m *GetErpRoleRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  969. return xxx_messageInfo_GetErpRoleRes.Marshal(b, m, deterministic)
  970. }
  971. func (m *GetErpRoleRes) XXX_Merge(src proto.Message) {
  972. xxx_messageInfo_GetErpRoleRes.Merge(m, src)
  973. }
  974. func (m *GetErpRoleRes) XXX_Size() int {
  975. return xxx_messageInfo_GetErpRoleRes.Size(m)
  976. }
  977. func (m *GetErpRoleRes) XXX_DiscardUnknown() {
  978. xxx_messageInfo_GetErpRoleRes.DiscardUnknown(m)
  979. }
  980. var xxx_messageInfo_GetErpRoleRes proto.InternalMessageInfo
  981. func (m *GetErpRoleRes) GetUserId() string {
  982. if m != nil {
  983. return m.UserId
  984. }
  985. return ""
  986. }
  987. func (m *GetErpRoleRes) GetRole() string {
  988. if m != nil {
  989. return m.Role
  990. }
  991. return ""
  992. }
  993. type GetErpRoleReq struct {
  994. Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
  995. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  996. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  997. XXX_unrecognized []byte `json:"-"`
  998. XXX_sizecache int32 `json:"-"`
  999. }
  1000. func (m *GetErpRoleReq) Reset() { *m = GetErpRoleReq{} }
  1001. func (m *GetErpRoleReq) String() string { return proto.CompactTextString(m) }
  1002. func (*GetErpRoleReq) ProtoMessage() {}
  1003. func (*GetErpRoleReq) Descriptor() ([]byte, []int) {
  1004. return fileDescriptor_cb4a498eeb2ba07d, []int{23}
  1005. }
  1006. func (m *GetErpRoleReq) XXX_Unmarshal(b []byte) error {
  1007. return xxx_messageInfo_GetErpRoleReq.Unmarshal(m, b)
  1008. }
  1009. func (m *GetErpRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1010. return xxx_messageInfo_GetErpRoleReq.Marshal(b, m, deterministic)
  1011. }
  1012. func (m *GetErpRoleReq) XXX_Merge(src proto.Message) {
  1013. xxx_messageInfo_GetErpRoleReq.Merge(m, src)
  1014. }
  1015. func (m *GetErpRoleReq) XXX_Size() int {
  1016. return xxx_messageInfo_GetErpRoleReq.Size(m)
  1017. }
  1018. func (m *GetErpRoleReq) XXX_DiscardUnknown() {
  1019. xxx_messageInfo_GetErpRoleReq.DiscardUnknown(m)
  1020. }
  1021. var xxx_messageInfo_GetErpRoleReq proto.InternalMessageInfo
  1022. func (m *GetErpRoleReq) GetMobile() string {
  1023. if m != nil {
  1024. return m.Mobile
  1025. }
  1026. return ""
  1027. }
  1028. func (m *GetErpRoleReq) GetUserId() string {
  1029. if m != nil {
  1030. return m.UserId
  1031. }
  1032. return ""
  1033. }
  1034. type GetErpOrganSchPerByUserIdReq struct {
  1035. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  1036. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1037. XXX_unrecognized []byte `json:"-"`
  1038. XXX_sizecache int32 `json:"-"`
  1039. }
  1040. func (m *GetErpOrganSchPerByUserIdReq) Reset() { *m = GetErpOrganSchPerByUserIdReq{} }
  1041. func (m *GetErpOrganSchPerByUserIdReq) String() string { return proto.CompactTextString(m) }
  1042. func (*GetErpOrganSchPerByUserIdReq) ProtoMessage() {}
  1043. func (*GetErpOrganSchPerByUserIdReq) Descriptor() ([]byte, []int) {
  1044. return fileDescriptor_cb4a498eeb2ba07d, []int{24}
  1045. }
  1046. func (m *GetErpOrganSchPerByUserIdReq) XXX_Unmarshal(b []byte) error {
  1047. return xxx_messageInfo_GetErpOrganSchPerByUserIdReq.Unmarshal(m, b)
  1048. }
  1049. func (m *GetErpOrganSchPerByUserIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1050. return xxx_messageInfo_GetErpOrganSchPerByUserIdReq.Marshal(b, m, deterministic)
  1051. }
  1052. func (m *GetErpOrganSchPerByUserIdReq) XXX_Merge(src proto.Message) {
  1053. xxx_messageInfo_GetErpOrganSchPerByUserIdReq.Merge(m, src)
  1054. }
  1055. func (m *GetErpOrganSchPerByUserIdReq) XXX_Size() int {
  1056. return xxx_messageInfo_GetErpOrganSchPerByUserIdReq.Size(m)
  1057. }
  1058. func (m *GetErpOrganSchPerByUserIdReq) XXX_DiscardUnknown() {
  1059. xxx_messageInfo_GetErpOrganSchPerByUserIdReq.DiscardUnknown(m)
  1060. }
  1061. var xxx_messageInfo_GetErpOrganSchPerByUserIdReq proto.InternalMessageInfo
  1062. func (m *GetErpOrganSchPerByUserIdReq) GetUserId() string {
  1063. if m != nil {
  1064. return m.UserId
  1065. }
  1066. return ""
  1067. }
  1068. type GetErpOrganSchPerByUserIdRes struct {
  1069. School []*OrganSchool `protobuf:"bytes,1,rep,name=school,proto3" json:"school,omitempty"`
  1070. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1071. XXX_unrecognized []byte `json:"-"`
  1072. XXX_sizecache int32 `json:"-"`
  1073. }
  1074. func (m *GetErpOrganSchPerByUserIdRes) Reset() { *m = GetErpOrganSchPerByUserIdRes{} }
  1075. func (m *GetErpOrganSchPerByUserIdRes) String() string { return proto.CompactTextString(m) }
  1076. func (*GetErpOrganSchPerByUserIdRes) ProtoMessage() {}
  1077. func (*GetErpOrganSchPerByUserIdRes) Descriptor() ([]byte, []int) {
  1078. return fileDescriptor_cb4a498eeb2ba07d, []int{25}
  1079. }
  1080. func (m *GetErpOrganSchPerByUserIdRes) XXX_Unmarshal(b []byte) error {
  1081. return xxx_messageInfo_GetErpOrganSchPerByUserIdRes.Unmarshal(m, b)
  1082. }
  1083. func (m *GetErpOrganSchPerByUserIdRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1084. return xxx_messageInfo_GetErpOrganSchPerByUserIdRes.Marshal(b, m, deterministic)
  1085. }
  1086. func (m *GetErpOrganSchPerByUserIdRes) XXX_Merge(src proto.Message) {
  1087. xxx_messageInfo_GetErpOrganSchPerByUserIdRes.Merge(m, src)
  1088. }
  1089. func (m *GetErpOrganSchPerByUserIdRes) XXX_Size() int {
  1090. return xxx_messageInfo_GetErpOrganSchPerByUserIdRes.Size(m)
  1091. }
  1092. func (m *GetErpOrganSchPerByUserIdRes) XXX_DiscardUnknown() {
  1093. xxx_messageInfo_GetErpOrganSchPerByUserIdRes.DiscardUnknown(m)
  1094. }
  1095. var xxx_messageInfo_GetErpOrganSchPerByUserIdRes proto.InternalMessageInfo
  1096. func (m *GetErpOrganSchPerByUserIdRes) GetSchool() []*OrganSchool {
  1097. if m != nil {
  1098. return m.School
  1099. }
  1100. return nil
  1101. }
  1102. type OrganSchool struct {
  1103. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1104. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  1105. OrganId int64 `protobuf:"varint,3,opt,name=organ_id,json=organId,proto3" json:"organ_id,omitempty"`
  1106. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1107. XXX_unrecognized []byte `json:"-"`
  1108. XXX_sizecache int32 `json:"-"`
  1109. }
  1110. func (m *OrganSchool) Reset() { *m = OrganSchool{} }
  1111. func (m *OrganSchool) String() string { return proto.CompactTextString(m) }
  1112. func (*OrganSchool) ProtoMessage() {}
  1113. func (*OrganSchool) Descriptor() ([]byte, []int) {
  1114. return fileDescriptor_cb4a498eeb2ba07d, []int{26}
  1115. }
  1116. func (m *OrganSchool) XXX_Unmarshal(b []byte) error {
  1117. return xxx_messageInfo_OrganSchool.Unmarshal(m, b)
  1118. }
  1119. func (m *OrganSchool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1120. return xxx_messageInfo_OrganSchool.Marshal(b, m, deterministic)
  1121. }
  1122. func (m *OrganSchool) XXX_Merge(src proto.Message) {
  1123. xxx_messageInfo_OrganSchool.Merge(m, src)
  1124. }
  1125. func (m *OrganSchool) XXX_Size() int {
  1126. return xxx_messageInfo_OrganSchool.Size(m)
  1127. }
  1128. func (m *OrganSchool) XXX_DiscardUnknown() {
  1129. xxx_messageInfo_OrganSchool.DiscardUnknown(m)
  1130. }
  1131. var xxx_messageInfo_OrganSchool proto.InternalMessageInfo
  1132. func (m *OrganSchool) GetId() int64 {
  1133. if m != nil {
  1134. return m.Id
  1135. }
  1136. return 0
  1137. }
  1138. func (m *OrganSchool) GetName() string {
  1139. if m != nil {
  1140. return m.Name
  1141. }
  1142. return ""
  1143. }
  1144. func (m *OrganSchool) GetOrganId() int64 {
  1145. if m != nil {
  1146. return m.OrganId
  1147. }
  1148. return 0
  1149. }
  1150. type GetErpSchoolRes struct {
  1151. School []*OrganSchool `protobuf:"bytes,1,rep,name=school,proto3" json:"school,omitempty"`
  1152. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1153. XXX_unrecognized []byte `json:"-"`
  1154. XXX_sizecache int32 `json:"-"`
  1155. }
  1156. func (m *GetErpSchoolRes) Reset() { *m = GetErpSchoolRes{} }
  1157. func (m *GetErpSchoolRes) String() string { return proto.CompactTextString(m) }
  1158. func (*GetErpSchoolRes) ProtoMessage() {}
  1159. func (*GetErpSchoolRes) Descriptor() ([]byte, []int) {
  1160. return fileDescriptor_cb4a498eeb2ba07d, []int{27}
  1161. }
  1162. func (m *GetErpSchoolRes) XXX_Unmarshal(b []byte) error {
  1163. return xxx_messageInfo_GetErpSchoolRes.Unmarshal(m, b)
  1164. }
  1165. func (m *GetErpSchoolRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1166. return xxx_messageInfo_GetErpSchoolRes.Marshal(b, m, deterministic)
  1167. }
  1168. func (m *GetErpSchoolRes) XXX_Merge(src proto.Message) {
  1169. xxx_messageInfo_GetErpSchoolRes.Merge(m, src)
  1170. }
  1171. func (m *GetErpSchoolRes) XXX_Size() int {
  1172. return xxx_messageInfo_GetErpSchoolRes.Size(m)
  1173. }
  1174. func (m *GetErpSchoolRes) XXX_DiscardUnknown() {
  1175. xxx_messageInfo_GetErpSchoolRes.DiscardUnknown(m)
  1176. }
  1177. var xxx_messageInfo_GetErpSchoolRes proto.InternalMessageInfo
  1178. func (m *GetErpSchoolRes) GetSchool() []*OrganSchool {
  1179. if m != nil {
  1180. return m.School
  1181. }
  1182. return nil
  1183. }
  1184. type GetErpActiveReq struct {
  1185. SchId uint64 `protobuf:"varint,1,opt,name=sch_id,json=schId,proto3" json:"sch_id,omitempty"`
  1186. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1187. XXX_unrecognized []byte `json:"-"`
  1188. XXX_sizecache int32 `json:"-"`
  1189. }
  1190. func (m *GetErpActiveReq) Reset() { *m = GetErpActiveReq{} }
  1191. func (m *GetErpActiveReq) String() string { return proto.CompactTextString(m) }
  1192. func (*GetErpActiveReq) ProtoMessage() {}
  1193. func (*GetErpActiveReq) Descriptor() ([]byte, []int) {
  1194. return fileDescriptor_cb4a498eeb2ba07d, []int{28}
  1195. }
  1196. func (m *GetErpActiveReq) XXX_Unmarshal(b []byte) error {
  1197. return xxx_messageInfo_GetErpActiveReq.Unmarshal(m, b)
  1198. }
  1199. func (m *GetErpActiveReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1200. return xxx_messageInfo_GetErpActiveReq.Marshal(b, m, deterministic)
  1201. }
  1202. func (m *GetErpActiveReq) XXX_Merge(src proto.Message) {
  1203. xxx_messageInfo_GetErpActiveReq.Merge(m, src)
  1204. }
  1205. func (m *GetErpActiveReq) XXX_Size() int {
  1206. return xxx_messageInfo_GetErpActiveReq.Size(m)
  1207. }
  1208. func (m *GetErpActiveReq) XXX_DiscardUnknown() {
  1209. xxx_messageInfo_GetErpActiveReq.DiscardUnknown(m)
  1210. }
  1211. var xxx_messageInfo_GetErpActiveReq proto.InternalMessageInfo
  1212. func (m *GetErpActiveReq) GetSchId() uint64 {
  1213. if m != nil {
  1214. return m.SchId
  1215. }
  1216. return 0
  1217. }
  1218. type GetErpActiveRes struct {
  1219. Active []*Active `protobuf:"bytes,1,rep,name=active,proto3" json:"active,omitempty"`
  1220. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1221. XXX_unrecognized []byte `json:"-"`
  1222. XXX_sizecache int32 `json:"-"`
  1223. }
  1224. func (m *GetErpActiveRes) Reset() { *m = GetErpActiveRes{} }
  1225. func (m *GetErpActiveRes) String() string { return proto.CompactTextString(m) }
  1226. func (*GetErpActiveRes) ProtoMessage() {}
  1227. func (*GetErpActiveRes) Descriptor() ([]byte, []int) {
  1228. return fileDescriptor_cb4a498eeb2ba07d, []int{29}
  1229. }
  1230. func (m *GetErpActiveRes) XXX_Unmarshal(b []byte) error {
  1231. return xxx_messageInfo_GetErpActiveRes.Unmarshal(m, b)
  1232. }
  1233. func (m *GetErpActiveRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1234. return xxx_messageInfo_GetErpActiveRes.Marshal(b, m, deterministic)
  1235. }
  1236. func (m *GetErpActiveRes) XXX_Merge(src proto.Message) {
  1237. xxx_messageInfo_GetErpActiveRes.Merge(m, src)
  1238. }
  1239. func (m *GetErpActiveRes) XXX_Size() int {
  1240. return xxx_messageInfo_GetErpActiveRes.Size(m)
  1241. }
  1242. func (m *GetErpActiveRes) XXX_DiscardUnknown() {
  1243. xxx_messageInfo_GetErpActiveRes.DiscardUnknown(m)
  1244. }
  1245. var xxx_messageInfo_GetErpActiveRes proto.InternalMessageInfo
  1246. func (m *GetErpActiveRes) GetActive() []*Active {
  1247. if m != nil {
  1248. return m.Active
  1249. }
  1250. return nil
  1251. }
  1252. type Active struct {
  1253. ActiveId int64 `protobuf:"varint,1,opt,name=active_id,json=activeId,proto3" json:"active_id,omitempty"`
  1254. MaName string `protobuf:"bytes,2,opt,name=ma_name,json=maName,proto3" json:"ma_name,omitempty"`
  1255. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1256. XXX_unrecognized []byte `json:"-"`
  1257. XXX_sizecache int32 `json:"-"`
  1258. }
  1259. func (m *Active) Reset() { *m = Active{} }
  1260. func (m *Active) String() string { return proto.CompactTextString(m) }
  1261. func (*Active) ProtoMessage() {}
  1262. func (*Active) Descriptor() ([]byte, []int) {
  1263. return fileDescriptor_cb4a498eeb2ba07d, []int{30}
  1264. }
  1265. func (m *Active) XXX_Unmarshal(b []byte) error {
  1266. return xxx_messageInfo_Active.Unmarshal(m, b)
  1267. }
  1268. func (m *Active) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1269. return xxx_messageInfo_Active.Marshal(b, m, deterministic)
  1270. }
  1271. func (m *Active) XXX_Merge(src proto.Message) {
  1272. xxx_messageInfo_Active.Merge(m, src)
  1273. }
  1274. func (m *Active) XXX_Size() int {
  1275. return xxx_messageInfo_Active.Size(m)
  1276. }
  1277. func (m *Active) XXX_DiscardUnknown() {
  1278. xxx_messageInfo_Active.DiscardUnknown(m)
  1279. }
  1280. var xxx_messageInfo_Active proto.InternalMessageInfo
  1281. func (m *Active) GetActiveId() int64 {
  1282. if m != nil {
  1283. return m.ActiveId
  1284. }
  1285. return 0
  1286. }
  1287. func (m *Active) GetMaName() string {
  1288. if m != nil {
  1289. return m.MaName
  1290. }
  1291. return ""
  1292. }
  1293. func init() {
  1294. proto.RegisterType((*UserRequest)(nil), "transform.UserRequest")
  1295. proto.RegisterType((*UserResponse)(nil), "transform.UserResponse")
  1296. proto.RegisterType((*TokenRequest)(nil), "transform.TokenRequest")
  1297. proto.RegisterType((*TokenResponse)(nil), "transform.TokenResponse")
  1298. proto.RegisterType((*Empty)(nil), "transform.Empty")
  1299. proto.RegisterType((*TreeNodes)(nil), "transform.TreeNodes")
  1300. proto.RegisterType((*TreeNode)(nil), "transform.TreeNode")
  1301. proto.RegisterType((*Tag)(nil), "transform.Tag")
  1302. proto.RegisterType((*OptionsetReq)(nil), "transform.OptionsetReq")
  1303. proto.RegisterType((*OptionsetRes)(nil), "transform.OptionsetRes")
  1304. proto.RegisterMapType((map[string]string)(nil), "transform.OptionsetRes.MapListEntry")
  1305. proto.RegisterType((*OptionCode)(nil), "transform.OptionCode")
  1306. proto.RegisterType((*Options)(nil), "transform.Options")
  1307. proto.RegisterType((*ResponseByte)(nil), "transform.ResponseByte")
  1308. proto.RegisterType((*ExcelLogReq)(nil), "transform.ExcelLogReq")
  1309. proto.RegisterType((*ExcelLogRes)(nil), "transform.ExcelLogRes")
  1310. proto.RegisterType((*SchoolIdsReq)(nil), "transform.SchoolIdsReq")
  1311. proto.RegisterType((*ListOfInt)(nil), "transform.ListOfInt")
  1312. proto.RegisterType((*SchoolIdsRes)(nil), "transform.SchoolIdsRes")
  1313. proto.RegisterMapType((map[string]int64)(nil), "transform.SchoolIdsRes.MapListEntry")
  1314. proto.RegisterType((*CityIdsReq)(nil), "transform.CityIdsReq")
  1315. proto.RegisterType((*CityIdsRes)(nil), "transform.CityIdsRes")
  1316. proto.RegisterMapType((map[string]int64)(nil), "transform.CityIdsRes.MapListEntry")
  1317. proto.RegisterType((*BytesReq)(nil), "transform.BytesReq")
  1318. proto.RegisterType((*BytesResp)(nil), "transform.BytesResp")
  1319. proto.RegisterType((*GetErpRoleRes)(nil), "transform.GetErpRoleRes")
  1320. proto.RegisterType((*GetErpRoleReq)(nil), "transform.GetErpRoleReq")
  1321. proto.RegisterType((*GetErpOrganSchPerByUserIdReq)(nil), "transform.GetErpOrganSchPerByUserIdReq")
  1322. proto.RegisterType((*GetErpOrganSchPerByUserIdRes)(nil), "transform.GetErpOrganSchPerByUserIdRes")
  1323. proto.RegisterType((*OrganSchool)(nil), "transform.OrganSchool")
  1324. proto.RegisterType((*GetErpSchoolRes)(nil), "transform.GetErpSchoolRes")
  1325. proto.RegisterType((*GetErpActiveReq)(nil), "transform.GetErpActiveReq")
  1326. proto.RegisterType((*GetErpActiveRes)(nil), "transform.GetErpActiveRes")
  1327. proto.RegisterType((*Active)(nil), "transform.Active")
  1328. }
  1329. func init() { proto.RegisterFile("transform.proto", fileDescriptor_cb4a498eeb2ba07d) }
  1330. var fileDescriptor_cb4a498eeb2ba07d = []byte{
  1331. // 1170 bytes of a gzipped FileDescriptorProto
  1332. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x5b, 0x6f, 0xdb, 0x36,
  1333. 0x14, 0x86, 0xa2, 0x58, 0xb6, 0x8f, 0x9d, 0xcb, 0xb8, 0x5c, 0x54, 0xad, 0xdb, 0x0c, 0x22, 0xdb,
  1334. 0xd2, 0x97, 0x3c, 0xa4, 0xc0, 0x56, 0x04, 0x41, 0xd7, 0xdc, 0x1a, 0x04, 0xc8, 0x0d, 0x4a, 0x8a,
  1335. 0x3d, 0x06, 0xaa, 0xc5, 0x3a, 0x42, 0x64, 0x51, 0x11, 0xe9, 0xa0, 0xfa, 0x03, 0x7b, 0xd8, 0xeb,
  1336. 0xfe, 0xda, 0xde, 0xf6, 0x5f, 0xb6, 0xe1, 0x90, 0x94, 0x4d, 0xc7, 0x4e, 0x9a, 0x0d, 0xeb, 0x1b,
  1337. 0xcf, 0xfd, 0xf0, 0xe3, 0xb9, 0x48, 0xb0, 0x20, 0x8b, 0x28, 0x13, 0x1f, 0x78, 0xd1, 0xdf, 0xc8,
  1338. 0x0b, 0x2e, 0x39, 0x69, 0x0e, 0x19, 0xf4, 0x25, 0xb4, 0xde, 0x09, 0x56, 0x84, 0xec, 0x76, 0xc0,
  1339. 0x84, 0x24, 0xf3, 0x30, 0x93, 0xc4, 0xbe, 0xd3, 0x71, 0xd6, 0x9b, 0xe1, 0x4c, 0x12, 0x93, 0x25,
  1340. 0xa8, 0xe5, 0xd7, 0x3c, 0x63, 0xfe, 0x8c, 0x62, 0x69, 0x82, 0xfe, 0xe1, 0x40, 0x5b, 0x5b, 0x89,
  1341. 0x9c, 0x67, 0x82, 0x3d, 0xcd, 0x0c, 0xb9, 0x05, 0x4f, 0x99, 0xf0, 0x5d, 0xcd, 0x55, 0x04, 0x59,
  1342. 0x01, 0x4f, 0xc8, 0x48, 0x0e, 0x84, 0x3f, 0xdb, 0x71, 0xd6, 0xdd, 0xd0, 0x50, 0xa4, 0x03, 0x2d,
  1343. 0x56, 0xe4, 0x21, 0x4f, 0xd9, 0x65, 0x99, 0x33, 0xbf, 0xa6, 0x84, 0x36, 0x8b, 0x04, 0xd0, 0x18,
  1344. 0x08, 0x56, 0x9c, 0x46, 0x7d, 0xe6, 0x7b, 0xca, 0xe5, 0x90, 0x46, 0x59, 0x37, 0x91, 0xa5, 0x92,
  1345. 0xd5, 0xb5, 0xac, 0xa2, 0x31, 0x62, 0x8f, 0x65, 0x31, 0x2b, 0xfc, 0x86, 0x8e, 0xa8, 0x29, 0xba,
  1346. 0x06, 0xed, 0x4b, 0x7e, 0xc3, 0xb2, 0x0a, 0x8c, 0x25, 0xa8, 0x49, 0xa4, 0xcd, 0xc5, 0x34, 0x41,
  1347. 0xff, 0x76, 0x60, 0xce, 0xa8, 0x99, 0xdb, 0xaf, 0x80, 0x87, 0x68, 0x1c, 0x55, 0x08, 0x18, 0x0a,
  1348. 0x6f, 0xa0, 0x50, 0xe2, 0x29, 0x3b, 0x8a, 0x85, 0xc1, 0xc2, 0x66, 0x91, 0x35, 0x98, 0x43, 0xf2,
  1349. 0xa2, 0x7b, 0xcd, 0x79, 0x8a, 0x3a, 0x1a, 0x99, 0x71, 0x26, 0x59, 0x87, 0x05, 0x64, 0x9c, 0x17,
  1350. 0xfc, 0x2e, 0xc9, 0xba, 0xca, 0xd7, 0xac, 0xd2, 0xbb, 0xcf, 0x26, 0x54, 0xbf, 0xcb, 0x59, 0xd1,
  1351. 0x8b, 0x32, 0x54, 0xab, 0x29, 0xb5, 0x31, 0x1e, 0x66, 0x75, 0x51, 0x8a, 0xca, 0xbb, 0x01, 0xce,
  1352. 0x66, 0x91, 0x6f, 0x00, 0x2e, 0x4a, 0x61, 0x0c, 0x0c, 0x7a, 0x16, 0x87, 0xd6, 0xa1, 0x76, 0xd0,
  1353. 0xcf, 0x65, 0x49, 0x7f, 0x84, 0xe6, 0x65, 0xc1, 0xd8, 0x29, 0x8f, 0x99, 0x20, 0x2f, 0xa0, 0x96,
  1354. 0xe1, 0xc1, 0x77, 0x3a, 0xee, 0x7a, 0x6b, 0xf3, 0xcb, 0x8d, 0x51, 0xd5, 0x55, 0x4a, 0xa1, 0xd6,
  1355. 0xa0, 0xbf, 0x3b, 0xd0, 0xa8, 0x78, 0x56, 0xed, 0xb8, 0xaa, 0x76, 0x08, 0xcc, 0x4a, 0xf6, 0x51,
  1356. 0x1a, 0xb8, 0xd4, 0x19, 0x11, 0xce, 0xa3, 0x82, 0x65, 0x52, 0x01, 0xe4, 0x86, 0x86, 0x22, 0x1d,
  1357. 0x70, 0x65, 0xd4, 0x53, 0x68, 0xb4, 0x36, 0xe7, 0xed, 0x88, 0x51, 0x2f, 0x44, 0xd1, 0x28, 0xab,
  1358. 0xda, 0x27, 0xb3, 0x7a, 0x01, 0xee, 0x65, 0xd4, 0x9b, 0x96, 0x4f, 0x86, 0x55, 0x64, 0xf2, 0xc1,
  1359. 0x33, 0xa5, 0xd0, 0x3e, 0xcb, 0x65, 0x82, 0xaf, 0x2f, 0x43, 0x76, 0x8b, 0x3a, 0x5d, 0x1e, 0x33,
  1360. 0xf3, 0xfe, 0xea, 0x4c, 0x7f, 0x73, 0xc6, 0x94, 0x04, 0x79, 0x0d, 0xf5, 0x7e, 0x94, 0x1f, 0x27,
  1361. 0x42, 0x1a, 0x88, 0xd6, 0xac, 0x64, 0x6c, 0xcd, 0x8d, 0x13, 0xad, 0x76, 0x90, 0xc9, 0xa2, 0x0c,
  1362. 0x2b, 0xa3, 0x60, 0x0b, 0xda, 0xb6, 0x80, 0x2c, 0x82, 0x7b, 0xc3, 0x4a, 0x13, 0x13, 0x8f, 0x58,
  1363. 0xb0, 0x77, 0x51, 0x3a, 0x18, 0xb6, 0x9d, 0x22, 0xb6, 0x66, 0x5e, 0x39, 0xb4, 0x03, 0xa0, 0x23,
  1364. 0xec, 0x21, 0xe4, 0xd3, 0xd2, 0x3d, 0x84, 0xba, 0xc9, 0x61, 0x9a, 0x78, 0x1a, 0x0a, 0xa3, 0x70,
  1365. 0xae, 0x15, 0x0e, 0xb1, 0xa9, 0x3a, 0x63, 0xb7, 0x94, 0xca, 0x32, 0x8e, 0x64, 0xa4, 0xbc, 0xb5,
  1366. 0x43, 0x75, 0xa6, 0x7f, 0x3a, 0xd0, 0x3a, 0xf8, 0xd8, 0x65, 0xe9, 0x31, 0xef, 0x21, 0x7e, 0x2b,
  1367. 0xe0, 0x9d, 0xf0, 0x78, 0x90, 0x56, 0x31, 0x0d, 0x85, 0xb6, 0x7b, 0x3c, 0x8b, 0xab, 0xa8, 0x78,
  1368. 0xc6, 0xce, 0xde, 0x2b, 0x58, 0x24, 0xd9, 0x6e, 0x69, 0x02, 0x0f, 0x69, 0xac, 0x5c, 0x7d, 0xbe,
  1369. 0x4c, 0xfa, 0xcc, 0x34, 0x89, 0xc5, 0xc1, 0xfe, 0x38, 0x8e, 0x84, 0x7c, 0x97, 0xc7, 0xda, 0xde,
  1370. 0xf4, 0x87, 0xcd, 0x23, 0xdf, 0xc3, 0xfc, 0x88, 0x56, 0x7e, 0x74, 0x8b, 0xdc, 0xe3, 0x12, 0x1f,
  1371. 0xea, 0xfb, 0x2c, 0x7d, 0x9b, 0x46, 0x3d, 0xd3, 0x22, 0x15, 0x49, 0xbf, 0xb3, 0x2f, 0xa7, 0x06,
  1372. 0xdc, 0x85, 0x1e, 0x70, 0xba, 0xa8, 0x0c, 0x85, 0xe3, 0x66, 0xd8, 0xe3, 0x08, 0xc2, 0x12, 0xd4,
  1373. 0x10, 0x56, 0xdd, 0x40, 0xcd, 0x50, 0x13, 0xf4, 0x6b, 0x68, 0xe2, 0x93, 0x9f, 0x7d, 0x38, 0xca,
  1374. 0x24, 0x3e, 0x79, 0x12, 0x6b, 0x05, 0x37, 0xc4, 0xa3, 0xaa, 0x32, 0xcb, 0xcb, 0x27, 0xaa, 0xcc,
  1375. 0xd6, 0xfc, 0x7f, 0xaa, 0xcc, 0xb5, 0xab, 0x8c, 0x02, 0xec, 0x25, 0xb2, 0x7c, 0xf4, 0x3e, 0xbf,
  1376. 0x3a, 0x96, 0x92, 0x20, 0xdb, 0xf7, 0xd3, 0xa5, 0x56, 0xba, 0x23, 0xbd, 0xcf, 0x90, 0xec, 0x73,
  1377. 0x68, 0x60, 0x7d, 0xaa, 0x54, 0x17, 0xc1, 0x2d, 0xd8, 0xad, 0x29, 0x51, 0x3c, 0xd2, 0x6f, 0xa1,
  1378. 0x69, 0xa4, 0x22, 0xc7, 0x32, 0x2c, 0x98, 0xc8, 0xab, 0x12, 0xc6, 0x33, 0xdd, 0x86, 0xb9, 0x43,
  1379. 0x26, 0x0f, 0xf4, 0x3a, 0xc2, 0x9b, 0xac, 0x42, 0x1d, 0xb7, 0xcf, 0xd5, 0x70, 0x11, 0x7a, 0x03,
  1380. 0xbd, 0x06, 0xd0, 0x9a, 0xa7, 0xc3, 0xd6, 0xc1, 0x33, 0x7d, 0x33, 0x6e, 0xad, 0x3a, 0xa0, 0xcf,
  1381. 0xdf, 0x27, 0xa3, 0x0e, 0xd0, 0x94, 0xed, 0x75, 0xc6, 0xf6, 0x4a, 0x7f, 0x82, 0xe7, 0xda, 0x83,
  1382. 0x9a, 0xca, 0x17, 0xdd, 0xeb, 0x73, 0x56, 0xec, 0x96, 0x7a, 0xf3, 0xa0, 0xc3, 0x87, 0xd2, 0xa1,
  1383. 0xa7, 0x8f, 0x1a, 0x0a, 0xb2, 0x01, 0x9e, 0x50, 0x65, 0x62, 0x1e, 0x64, 0xc5, 0x9e, 0x52, 0xc6,
  1384. 0x84, 0xf3, 0x34, 0x34, 0x5a, 0xf4, 0x18, 0x5a, 0x16, 0xfb, 0x29, 0xe3, 0x93, 0x3c, 0x83, 0x06,
  1385. 0x47, 0x13, 0x4c, 0x4e, 0x0f, 0xf4, 0x3a, 0x37, 0xbb, 0x65, 0x07, 0x16, 0x74, 0x76, 0x26, 0xca,
  1386. 0x7f, 0x48, 0x68, 0xbd, 0x72, 0xb1, 0xd3, 0x95, 0xc9, 0x9d, 0x42, 0x77, 0x59, 0xb9, 0xa8, 0xb0,
  1387. 0x98, 0x0d, 0x6b, 0xa2, 0x7b, 0x7d, 0x14, 0xd3, 0xed, 0xfb, 0x9a, 0xb8, 0xc5, 0xbc, 0x48, 0x11,
  1388. 0x26, 0xd8, 0x17, 0x56, 0x30, 0xa3, 0x65, 0x14, 0xe8, 0x6b, 0xf0, 0x34, 0x87, 0x7c, 0x05, 0x4d,
  1389. 0xcd, 0xbb, 0x1a, 0x5e, 0xbd, 0xa1, 0x19, 0x47, 0x31, 0x3e, 0x44, 0x3f, 0xba, 0xb2, 0x30, 0xf0,
  1390. 0xfa, 0x11, 0x7e, 0x86, 0x6c, 0xfe, 0xe5, 0xe1, 0xfa, 0x34, 0xce, 0xc9, 0x16, 0xd4, 0x0f, 0x99,
  1391. 0xc4, 0x67, 0x20, 0xf6, 0x05, 0xad, 0x8f, 0xb3, 0x60, 0x75, 0x82, 0x6f, 0x3e, 0x40, 0x7e, 0x06,
  1392. 0x38, 0x8f, 0x0a, 0xc1, 0xd4, 0x67, 0x09, 0xb1, 0xd5, 0xec, 0xef, 0x99, 0xc0, 0x9f, 0x14, 0x18,
  1393. 0x07, 0xaf, 0x60, 0x5e, 0x03, 0x81, 0x1d, 0x87, 0x7b, 0x91, 0x2c, 0x5a, 0xba, 0x6a, 0xd9, 0x07,
  1394. 0x4b, 0x53, 0x56, 0xa7, 0x20, 0x3b, 0x30, 0x77, 0xcc, 0xa3, 0x78, 0xb8, 0xbe, 0xc6, 0xa2, 0xdb,
  1395. 0x3b, 0x32, 0x78, 0x40, 0x20, 0xc8, 0x1b, 0x68, 0x1f, 0x32, 0x39, 0xfa, 0xdc, 0x59, 0x9d, 0x3e,
  1396. 0xb0, 0xc6, 0x3d, 0x8c, 0xcd, 0xbc, 0x2d, 0x80, 0x43, 0x26, 0xcd, 0xb4, 0x20, 0xcb, 0xd3, 0x26,
  1397. 0xc8, 0x6d, 0x30, 0x95, 0x8d, 0xf3, 0xb2, 0x7d, 0xce, 0x85, 0xac, 0x06, 0xf6, 0x18, 0xf8, 0xd6,
  1398. 0x8a, 0x0a, 0xa6, 0xf3, 0x71, 0x80, 0x99, 0x1a, 0x1a, 0x41, 0xb0, 0x3c, 0x71, 0x53, 0xdc, 0xba,
  1399. 0x01, 0x99, 0x04, 0x80, 0xec, 0x43, 0xa0, 0xad, 0x4f, 0x6e, 0xe4, 0x29, 0x93, 0xbf, 0xf0, 0xe2,
  1400. 0x66, 0x9f, 0xc9, 0x28, 0x49, 0xff, 0xd5, 0x23, 0xf4, 0xe1, 0xd9, 0x83, 0x2d, 0x4d, 0x7e, 0xb0,
  1401. 0x4c, 0x1e, 0x9b, 0x18, 0xc1, 0x13, 0x15, 0xf1, 0xc1, 0x60, 0x34, 0xbc, 0x88, 0x3f, 0x61, 0x66,
  1402. 0x66, 0x5a, 0xf0, 0x90, 0x04, 0x41, 0x6b, 0xdb, 0x5d, 0x3e, 0xe5, 0xa2, 0xc1, 0x84, 0xed, 0x68,
  1403. 0x20, 0xbc, 0xad, 0xac, 0x4d, 0xfb, 0x4d, 0xea, 0x0e, 0x3b, 0x3f, 0x78, 0x58, 0x26, 0xde, 0x7b,
  1404. 0xea, 0x6f, 0xe8, 0xe5, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x1d, 0xca, 0x08, 0x20, 0x0d,
  1405. 0x00, 0x00,
  1406. }
  1407. // Reference imports to suppress errors if they are not otherwise used.
  1408. var _ context.Context
  1409. var _ grpc.ClientConn
  1410. // This is a compile-time assertion to ensure that this generated file
  1411. // is compatible with the grpc package it is being compiled against.
  1412. const _ = grpc.SupportPackageIsVersion4
  1413. // TransformClient is the client API for Transform service.
  1414. //
  1415. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1416. type TransformClient interface {
  1417. GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error)
  1418. ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error)
  1419. //获取erp 省、城市树
  1420. GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
  1421. //获取erp 字典
  1422. LoadOptionset(ctx context.Context, in *OptionsetReq, opts ...grpc.CallOption) (*OptionsetRes, error)
  1423. GetSchoolIds(ctx context.Context, in *SchoolIdsReq, opts ...grpc.CallOption) (*SchoolIdsRes, error)
  1424. GetCityIds(ctx context.Context, in *CityIdsReq, opts ...grpc.CallOption) (*CityIdsRes, error)
  1425. PostExcelLog(ctx context.Context, in *ExcelLogReq, opts ...grpc.CallOption) (*ExcelLogRes, error)
  1426. GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error)
  1427. //获取erp 渠道细分树
  1428. GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
  1429. //获取erp 用户校区权限
  1430. GetErpOrganSchPerByUserId(ctx context.Context, in *GetErpOrganSchPerByUserIdReq, opts ...grpc.CallOption) (*GetErpOrganSchPerByUserIdRes, error)
  1431. //获取 erp 用户角色
  1432. GetErpRole(ctx context.Context, in *GetErpRoleReq, opts ...grpc.CallOption) (*GetErpRoleRes, error)
  1433. //获取 erp 全部校区
  1434. GetErpSchool(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetErpSchoolRes, error)
  1435. //获取 erp 活动
  1436. GetErpActive(ctx context.Context, in *GetErpActiveReq, opts ...grpc.CallOption) (*GetErpActiveRes, error)
  1437. }
  1438. type transformClient struct {
  1439. cc *grpc.ClientConn
  1440. }
  1441. func NewTransformClient(cc *grpc.ClientConn) TransformClient {
  1442. return &transformClient{cc}
  1443. }
  1444. func (c *transformClient) GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error) {
  1445. out := new(UserResponse)
  1446. err := c.cc.Invoke(ctx, "/transform.Transform/GetUser", in, out, opts...)
  1447. if err != nil {
  1448. return nil, err
  1449. }
  1450. return out, nil
  1451. }
  1452. func (c *transformClient) ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error) {
  1453. out := new(TokenResponse)
  1454. err := c.cc.Invoke(ctx, "/transform.Transform/ParseToken", in, out, opts...)
  1455. if err != nil {
  1456. return nil, err
  1457. }
  1458. return out, nil
  1459. }
  1460. func (c *transformClient) GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error) {
  1461. out := new(TreeNodes)
  1462. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpCityTree", in, out, opts...)
  1463. if err != nil {
  1464. return nil, err
  1465. }
  1466. return out, nil
  1467. }
  1468. func (c *transformClient) LoadOptionset(ctx context.Context, in *OptionsetReq, opts ...grpc.CallOption) (*OptionsetRes, error) {
  1469. out := new(OptionsetRes)
  1470. err := c.cc.Invoke(ctx, "/transform.Transform/LoadOptionset", in, out, opts...)
  1471. if err != nil {
  1472. return nil, err
  1473. }
  1474. return out, nil
  1475. }
  1476. func (c *transformClient) GetSchoolIds(ctx context.Context, in *SchoolIdsReq, opts ...grpc.CallOption) (*SchoolIdsRes, error) {
  1477. out := new(SchoolIdsRes)
  1478. err := c.cc.Invoke(ctx, "/transform.Transform/GetSchoolIds", in, out, opts...)
  1479. if err != nil {
  1480. return nil, err
  1481. }
  1482. return out, nil
  1483. }
  1484. func (c *transformClient) GetCityIds(ctx context.Context, in *CityIdsReq, opts ...grpc.CallOption) (*CityIdsRes, error) {
  1485. out := new(CityIdsRes)
  1486. err := c.cc.Invoke(ctx, "/transform.Transform/GetCityIds", in, out, opts...)
  1487. if err != nil {
  1488. return nil, err
  1489. }
  1490. return out, nil
  1491. }
  1492. func (c *transformClient) PostExcelLog(ctx context.Context, in *ExcelLogReq, opts ...grpc.CallOption) (*ExcelLogRes, error) {
  1493. out := new(ExcelLogRes)
  1494. err := c.cc.Invoke(ctx, "/transform.Transform/PostExcelLog", in, out, opts...)
  1495. if err != nil {
  1496. return nil, err
  1497. }
  1498. return out, nil
  1499. }
  1500. func (c *transformClient) GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error) {
  1501. out := new(Options)
  1502. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpOptionset", in, out, opts...)
  1503. if err != nil {
  1504. return nil, err
  1505. }
  1506. return out, nil
  1507. }
  1508. func (c *transformClient) GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error) {
  1509. out := new(TreeNodes)
  1510. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpMktNetWorkDetailTree", in, out, opts...)
  1511. if err != nil {
  1512. return nil, err
  1513. }
  1514. return out, nil
  1515. }
  1516. func (c *transformClient) GetErpOrganSchPerByUserId(ctx context.Context, in *GetErpOrganSchPerByUserIdReq, opts ...grpc.CallOption) (*GetErpOrganSchPerByUserIdRes, error) {
  1517. out := new(GetErpOrganSchPerByUserIdRes)
  1518. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpOrganSchPerByUserId", in, out, opts...)
  1519. if err != nil {
  1520. return nil, err
  1521. }
  1522. return out, nil
  1523. }
  1524. func (c *transformClient) GetErpRole(ctx context.Context, in *GetErpRoleReq, opts ...grpc.CallOption) (*GetErpRoleRes, error) {
  1525. out := new(GetErpRoleRes)
  1526. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpRole", in, out, opts...)
  1527. if err != nil {
  1528. return nil, err
  1529. }
  1530. return out, nil
  1531. }
  1532. func (c *transformClient) GetErpSchool(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetErpSchoolRes, error) {
  1533. out := new(GetErpSchoolRes)
  1534. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpSchool", in, out, opts...)
  1535. if err != nil {
  1536. return nil, err
  1537. }
  1538. return out, nil
  1539. }
  1540. func (c *transformClient) GetErpActive(ctx context.Context, in *GetErpActiveReq, opts ...grpc.CallOption) (*GetErpActiveRes, error) {
  1541. out := new(GetErpActiveRes)
  1542. err := c.cc.Invoke(ctx, "/transform.Transform/GetErpActive", in, out, opts...)
  1543. if err != nil {
  1544. return nil, err
  1545. }
  1546. return out, nil
  1547. }
  1548. // TransformServer is the server API for Transform service.
  1549. type TransformServer interface {
  1550. GetUser(context.Context, *UserRequest) (*UserResponse, error)
  1551. ParseToken(context.Context, *TokenRequest) (*TokenResponse, error)
  1552. //获取erp 省、城市树
  1553. GetErpCityTree(context.Context, *Empty) (*TreeNodes, error)
  1554. //获取erp 字典
  1555. LoadOptionset(context.Context, *OptionsetReq) (*OptionsetRes, error)
  1556. GetSchoolIds(context.Context, *SchoolIdsReq) (*SchoolIdsRes, error)
  1557. GetCityIds(context.Context, *CityIdsReq) (*CityIdsRes, error)
  1558. PostExcelLog(context.Context, *ExcelLogReq) (*ExcelLogRes, error)
  1559. GetErpOptionset(context.Context, *OptionCode) (*Options, error)
  1560. //获取erp 渠道细分树
  1561. GetErpMktNetWorkDetailTree(context.Context, *Empty) (*TreeNodes, error)
  1562. //获取erp 用户校区权限
  1563. GetErpOrganSchPerByUserId(context.Context, *GetErpOrganSchPerByUserIdReq) (*GetErpOrganSchPerByUserIdRes, error)
  1564. //获取 erp 用户角色
  1565. GetErpRole(context.Context, *GetErpRoleReq) (*GetErpRoleRes, error)
  1566. //获取 erp 全部校区
  1567. GetErpSchool(context.Context, *Empty) (*GetErpSchoolRes, error)
  1568. //获取 erp 活动
  1569. GetErpActive(context.Context, *GetErpActiveReq) (*GetErpActiveRes, error)
  1570. }
  1571. // UnimplementedTransformServer can be embedded to have forward compatible implementations.
  1572. type UnimplementedTransformServer struct {
  1573. }
  1574. func (*UnimplementedTransformServer) GetUser(ctx context.Context, req *UserRequest) (*UserResponse, error) {
  1575. return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
  1576. }
  1577. func (*UnimplementedTransformServer) ParseToken(ctx context.Context, req *TokenRequest) (*TokenResponse, error) {
  1578. return nil, status.Errorf(codes.Unimplemented, "method ParseToken not implemented")
  1579. }
  1580. func (*UnimplementedTransformServer) GetErpCityTree(ctx context.Context, req *Empty) (*TreeNodes, error) {
  1581. return nil, status.Errorf(codes.Unimplemented, "method GetErpCityTree not implemented")
  1582. }
  1583. func (*UnimplementedTransformServer) LoadOptionset(ctx context.Context, req *OptionsetReq) (*OptionsetRes, error) {
  1584. return nil, status.Errorf(codes.Unimplemented, "method LoadOptionset not implemented")
  1585. }
  1586. func (*UnimplementedTransformServer) GetSchoolIds(ctx context.Context, req *SchoolIdsReq) (*SchoolIdsRes, error) {
  1587. return nil, status.Errorf(codes.Unimplemented, "method GetSchoolIds not implemented")
  1588. }
  1589. func (*UnimplementedTransformServer) GetCityIds(ctx context.Context, req *CityIdsReq) (*CityIdsRes, error) {
  1590. return nil, status.Errorf(codes.Unimplemented, "method GetCityIds not implemented")
  1591. }
  1592. func (*UnimplementedTransformServer) PostExcelLog(ctx context.Context, req *ExcelLogReq) (*ExcelLogRes, error) {
  1593. return nil, status.Errorf(codes.Unimplemented, "method PostExcelLog not implemented")
  1594. }
  1595. func (*UnimplementedTransformServer) GetErpOptionset(ctx context.Context, req *OptionCode) (*Options, error) {
  1596. return nil, status.Errorf(codes.Unimplemented, "method GetErpOptionset not implemented")
  1597. }
  1598. func (*UnimplementedTransformServer) GetErpMktNetWorkDetailTree(ctx context.Context, req *Empty) (*TreeNodes, error) {
  1599. return nil, status.Errorf(codes.Unimplemented, "method GetErpMktNetWorkDetailTree not implemented")
  1600. }
  1601. func (*UnimplementedTransformServer) GetErpOrganSchPerByUserId(ctx context.Context, req *GetErpOrganSchPerByUserIdReq) (*GetErpOrganSchPerByUserIdRes, error) {
  1602. return nil, status.Errorf(codes.Unimplemented, "method GetErpOrganSchPerByUserId not implemented")
  1603. }
  1604. func (*UnimplementedTransformServer) GetErpRole(ctx context.Context, req *GetErpRoleReq) (*GetErpRoleRes, error) {
  1605. return nil, status.Errorf(codes.Unimplemented, "method GetErpRole not implemented")
  1606. }
  1607. func (*UnimplementedTransformServer) GetErpSchool(ctx context.Context, req *Empty) (*GetErpSchoolRes, error) {
  1608. return nil, status.Errorf(codes.Unimplemented, "method GetErpSchool not implemented")
  1609. }
  1610. func (*UnimplementedTransformServer) GetErpActive(ctx context.Context, req *GetErpActiveReq) (*GetErpActiveRes, error) {
  1611. return nil, status.Errorf(codes.Unimplemented, "method GetErpActive not implemented")
  1612. }
  1613. func RegisterTransformServer(s *grpc.Server, srv TransformServer) {
  1614. s.RegisterService(&_Transform_serviceDesc, srv)
  1615. }
  1616. func _Transform_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1617. in := new(UserRequest)
  1618. if err := dec(in); err != nil {
  1619. return nil, err
  1620. }
  1621. if interceptor == nil {
  1622. return srv.(TransformServer).GetUser(ctx, in)
  1623. }
  1624. info := &grpc.UnaryServerInfo{
  1625. Server: srv,
  1626. FullMethod: "/transform.Transform/GetUser",
  1627. }
  1628. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1629. return srv.(TransformServer).GetUser(ctx, req.(*UserRequest))
  1630. }
  1631. return interceptor(ctx, in, info, handler)
  1632. }
  1633. func _Transform_ParseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1634. in := new(TokenRequest)
  1635. if err := dec(in); err != nil {
  1636. return nil, err
  1637. }
  1638. if interceptor == nil {
  1639. return srv.(TransformServer).ParseToken(ctx, in)
  1640. }
  1641. info := &grpc.UnaryServerInfo{
  1642. Server: srv,
  1643. FullMethod: "/transform.Transform/ParseToken",
  1644. }
  1645. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1646. return srv.(TransformServer).ParseToken(ctx, req.(*TokenRequest))
  1647. }
  1648. return interceptor(ctx, in, info, handler)
  1649. }
  1650. func _Transform_GetErpCityTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1651. in := new(Empty)
  1652. if err := dec(in); err != nil {
  1653. return nil, err
  1654. }
  1655. if interceptor == nil {
  1656. return srv.(TransformServer).GetErpCityTree(ctx, in)
  1657. }
  1658. info := &grpc.UnaryServerInfo{
  1659. Server: srv,
  1660. FullMethod: "/transform.Transform/GetErpCityTree",
  1661. }
  1662. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1663. return srv.(TransformServer).GetErpCityTree(ctx, req.(*Empty))
  1664. }
  1665. return interceptor(ctx, in, info, handler)
  1666. }
  1667. func _Transform_LoadOptionset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1668. in := new(OptionsetReq)
  1669. if err := dec(in); err != nil {
  1670. return nil, err
  1671. }
  1672. if interceptor == nil {
  1673. return srv.(TransformServer).LoadOptionset(ctx, in)
  1674. }
  1675. info := &grpc.UnaryServerInfo{
  1676. Server: srv,
  1677. FullMethod: "/transform.Transform/LoadOptionset",
  1678. }
  1679. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1680. return srv.(TransformServer).LoadOptionset(ctx, req.(*OptionsetReq))
  1681. }
  1682. return interceptor(ctx, in, info, handler)
  1683. }
  1684. func _Transform_GetSchoolIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1685. in := new(SchoolIdsReq)
  1686. if err := dec(in); err != nil {
  1687. return nil, err
  1688. }
  1689. if interceptor == nil {
  1690. return srv.(TransformServer).GetSchoolIds(ctx, in)
  1691. }
  1692. info := &grpc.UnaryServerInfo{
  1693. Server: srv,
  1694. FullMethod: "/transform.Transform/GetSchoolIds",
  1695. }
  1696. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1697. return srv.(TransformServer).GetSchoolIds(ctx, req.(*SchoolIdsReq))
  1698. }
  1699. return interceptor(ctx, in, info, handler)
  1700. }
  1701. func _Transform_GetCityIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1702. in := new(CityIdsReq)
  1703. if err := dec(in); err != nil {
  1704. return nil, err
  1705. }
  1706. if interceptor == nil {
  1707. return srv.(TransformServer).GetCityIds(ctx, in)
  1708. }
  1709. info := &grpc.UnaryServerInfo{
  1710. Server: srv,
  1711. FullMethod: "/transform.Transform/GetCityIds",
  1712. }
  1713. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1714. return srv.(TransformServer).GetCityIds(ctx, req.(*CityIdsReq))
  1715. }
  1716. return interceptor(ctx, in, info, handler)
  1717. }
  1718. func _Transform_PostExcelLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1719. in := new(ExcelLogReq)
  1720. if err := dec(in); err != nil {
  1721. return nil, err
  1722. }
  1723. if interceptor == nil {
  1724. return srv.(TransformServer).PostExcelLog(ctx, in)
  1725. }
  1726. info := &grpc.UnaryServerInfo{
  1727. Server: srv,
  1728. FullMethod: "/transform.Transform/PostExcelLog",
  1729. }
  1730. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1731. return srv.(TransformServer).PostExcelLog(ctx, req.(*ExcelLogReq))
  1732. }
  1733. return interceptor(ctx, in, info, handler)
  1734. }
  1735. func _Transform_GetErpOptionset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1736. in := new(OptionCode)
  1737. if err := dec(in); err != nil {
  1738. return nil, err
  1739. }
  1740. if interceptor == nil {
  1741. return srv.(TransformServer).GetErpOptionset(ctx, in)
  1742. }
  1743. info := &grpc.UnaryServerInfo{
  1744. Server: srv,
  1745. FullMethod: "/transform.Transform/GetErpOptionset",
  1746. }
  1747. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1748. return srv.(TransformServer).GetErpOptionset(ctx, req.(*OptionCode))
  1749. }
  1750. return interceptor(ctx, in, info, handler)
  1751. }
  1752. func _Transform_GetErpMktNetWorkDetailTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1753. in := new(Empty)
  1754. if err := dec(in); err != nil {
  1755. return nil, err
  1756. }
  1757. if interceptor == nil {
  1758. return srv.(TransformServer).GetErpMktNetWorkDetailTree(ctx, in)
  1759. }
  1760. info := &grpc.UnaryServerInfo{
  1761. Server: srv,
  1762. FullMethod: "/transform.Transform/GetErpMktNetWorkDetailTree",
  1763. }
  1764. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1765. return srv.(TransformServer).GetErpMktNetWorkDetailTree(ctx, req.(*Empty))
  1766. }
  1767. return interceptor(ctx, in, info, handler)
  1768. }
  1769. func _Transform_GetErpOrganSchPerByUserId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1770. in := new(GetErpOrganSchPerByUserIdReq)
  1771. if err := dec(in); err != nil {
  1772. return nil, err
  1773. }
  1774. if interceptor == nil {
  1775. return srv.(TransformServer).GetErpOrganSchPerByUserId(ctx, in)
  1776. }
  1777. info := &grpc.UnaryServerInfo{
  1778. Server: srv,
  1779. FullMethod: "/transform.Transform/GetErpOrganSchPerByUserId",
  1780. }
  1781. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1782. return srv.(TransformServer).GetErpOrganSchPerByUserId(ctx, req.(*GetErpOrganSchPerByUserIdReq))
  1783. }
  1784. return interceptor(ctx, in, info, handler)
  1785. }
  1786. func _Transform_GetErpRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1787. in := new(GetErpRoleReq)
  1788. if err := dec(in); err != nil {
  1789. return nil, err
  1790. }
  1791. if interceptor == nil {
  1792. return srv.(TransformServer).GetErpRole(ctx, in)
  1793. }
  1794. info := &grpc.UnaryServerInfo{
  1795. Server: srv,
  1796. FullMethod: "/transform.Transform/GetErpRole",
  1797. }
  1798. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1799. return srv.(TransformServer).GetErpRole(ctx, req.(*GetErpRoleReq))
  1800. }
  1801. return interceptor(ctx, in, info, handler)
  1802. }
  1803. func _Transform_GetErpSchool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1804. in := new(Empty)
  1805. if err := dec(in); err != nil {
  1806. return nil, err
  1807. }
  1808. if interceptor == nil {
  1809. return srv.(TransformServer).GetErpSchool(ctx, in)
  1810. }
  1811. info := &grpc.UnaryServerInfo{
  1812. Server: srv,
  1813. FullMethod: "/transform.Transform/GetErpSchool",
  1814. }
  1815. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1816. return srv.(TransformServer).GetErpSchool(ctx, req.(*Empty))
  1817. }
  1818. return interceptor(ctx, in, info, handler)
  1819. }
  1820. func _Transform_GetErpActive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1821. in := new(GetErpActiveReq)
  1822. if err := dec(in); err != nil {
  1823. return nil, err
  1824. }
  1825. if interceptor == nil {
  1826. return srv.(TransformServer).GetErpActive(ctx, in)
  1827. }
  1828. info := &grpc.UnaryServerInfo{
  1829. Server: srv,
  1830. FullMethod: "/transform.Transform/GetErpActive",
  1831. }
  1832. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1833. return srv.(TransformServer).GetErpActive(ctx, req.(*GetErpActiveReq))
  1834. }
  1835. return interceptor(ctx, in, info, handler)
  1836. }
  1837. var _Transform_serviceDesc = grpc.ServiceDesc{
  1838. ServiceName: "transform.Transform",
  1839. HandlerType: (*TransformServer)(nil),
  1840. Methods: []grpc.MethodDesc{
  1841. {
  1842. MethodName: "GetUser",
  1843. Handler: _Transform_GetUser_Handler,
  1844. },
  1845. {
  1846. MethodName: "ParseToken",
  1847. Handler: _Transform_ParseToken_Handler,
  1848. },
  1849. {
  1850. MethodName: "GetErpCityTree",
  1851. Handler: _Transform_GetErpCityTree_Handler,
  1852. },
  1853. {
  1854. MethodName: "LoadOptionset",
  1855. Handler: _Transform_LoadOptionset_Handler,
  1856. },
  1857. {
  1858. MethodName: "GetSchoolIds",
  1859. Handler: _Transform_GetSchoolIds_Handler,
  1860. },
  1861. {
  1862. MethodName: "GetCityIds",
  1863. Handler: _Transform_GetCityIds_Handler,
  1864. },
  1865. {
  1866. MethodName: "PostExcelLog",
  1867. Handler: _Transform_PostExcelLog_Handler,
  1868. },
  1869. {
  1870. MethodName: "GetErpOptionset",
  1871. Handler: _Transform_GetErpOptionset_Handler,
  1872. },
  1873. {
  1874. MethodName: "GetErpMktNetWorkDetailTree",
  1875. Handler: _Transform_GetErpMktNetWorkDetailTree_Handler,
  1876. },
  1877. {
  1878. MethodName: "GetErpOrganSchPerByUserId",
  1879. Handler: _Transform_GetErpOrganSchPerByUserId_Handler,
  1880. },
  1881. {
  1882. MethodName: "GetErpRole",
  1883. Handler: _Transform_GetErpRole_Handler,
  1884. },
  1885. {
  1886. MethodName: "GetErpSchool",
  1887. Handler: _Transform_GetErpSchool_Handler,
  1888. },
  1889. {
  1890. MethodName: "GetErpActive",
  1891. Handler: _Transform_GetErpActive_Handler,
  1892. },
  1893. },
  1894. Streams: []grpc.StreamDesc{},
  1895. Metadata: "transform.proto",
  1896. }