common.pb.go 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.23.0
  4. // protoc v3.12.4
  5. // source: common.proto
  6. package common
  7. import (
  8. context "context"
  9. proto "github.com/golang/protobuf/proto"
  10. grpc "google.golang.org/grpc"
  11. codes "google.golang.org/grpc/codes"
  12. status "google.golang.org/grpc/status"
  13. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  14. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  15. reflect "reflect"
  16. sync "sync"
  17. )
  18. const (
  19. // Verify that this generated code is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21. // Verify that runtime/protoimpl is sufficiently up-to-date.
  22. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23. )
  24. // This is a compile-time assertion that a sufficiently up-to-date version
  25. // of the legacy proto package is being used.
  26. const _ = proto.ProtoPackageIsVersion4
  27. //
  28. type ProjectReq struct {
  29. state protoimpl.MessageState
  30. sizeCache protoimpl.SizeCache
  31. unknownFields protoimpl.UnknownFields
  32. AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"` //剑鱼标识 默认10000
  33. }
  34. func (x *ProjectReq) Reset() {
  35. *x = ProjectReq{}
  36. if protoimpl.UnsafeEnabled {
  37. mi := &file_common_proto_msgTypes[0]
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. ms.StoreMessageInfo(mi)
  40. }
  41. }
  42. func (x *ProjectReq) String() string {
  43. return protoimpl.X.MessageStringOf(x)
  44. }
  45. func (*ProjectReq) ProtoMessage() {}
  46. func (x *ProjectReq) ProtoReflect() protoreflect.Message {
  47. mi := &file_common_proto_msgTypes[0]
  48. if protoimpl.UnsafeEnabled && x != nil {
  49. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  50. if ms.LoadMessageInfo() == nil {
  51. ms.StoreMessageInfo(mi)
  52. }
  53. return ms
  54. }
  55. return mi.MessageOf(x)
  56. }
  57. // Deprecated: Use ProjectReq.ProtoReflect.Descriptor instead.
  58. func (*ProjectReq) Descriptor() ([]byte, []int) {
  59. return file_common_proto_rawDescGZIP(), []int{0}
  60. }
  61. func (x *ProjectReq) GetAppId() string {
  62. if x != nil {
  63. return x.AppId
  64. }
  65. return ""
  66. }
  67. //地区信息
  68. type AreaResp struct {
  69. state protoimpl.MessageState
  70. sizeCache protoimpl.SizeCache
  71. unknownFields protoimpl.UnknownFields
  72. ErrCode int64 `protobuf:"varint,1,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"`
  73. ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  74. Data []*Province `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //城市信息
  75. }
  76. func (x *AreaResp) Reset() {
  77. *x = AreaResp{}
  78. if protoimpl.UnsafeEnabled {
  79. mi := &file_common_proto_msgTypes[1]
  80. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  81. ms.StoreMessageInfo(mi)
  82. }
  83. }
  84. func (x *AreaResp) String() string {
  85. return protoimpl.X.MessageStringOf(x)
  86. }
  87. func (*AreaResp) ProtoMessage() {}
  88. func (x *AreaResp) ProtoReflect() protoreflect.Message {
  89. mi := &file_common_proto_msgTypes[1]
  90. if protoimpl.UnsafeEnabled && x != nil {
  91. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  92. if ms.LoadMessageInfo() == nil {
  93. ms.StoreMessageInfo(mi)
  94. }
  95. return ms
  96. }
  97. return mi.MessageOf(x)
  98. }
  99. // Deprecated: Use AreaResp.ProtoReflect.Descriptor instead.
  100. func (*AreaResp) Descriptor() ([]byte, []int) {
  101. return file_common_proto_rawDescGZIP(), []int{1}
  102. }
  103. func (x *AreaResp) GetErrCode() int64 {
  104. if x != nil {
  105. return x.ErrCode
  106. }
  107. return 0
  108. }
  109. func (x *AreaResp) GetErrMsg() string {
  110. if x != nil {
  111. return x.ErrMsg
  112. }
  113. return ""
  114. }
  115. func (x *AreaResp) GetData() []*Province {
  116. if x != nil {
  117. return x.Data
  118. }
  119. return nil
  120. }
  121. //
  122. type Province struct {
  123. state protoimpl.MessageState
  124. sizeCache protoimpl.SizeCache
  125. unknownFields protoimpl.UnknownFields
  126. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` //省份编码
  127. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //省份名称
  128. Citys []*City `protobuf:"bytes,3,rep,name=citys,proto3" json:"citys,omitempty"` //城市信息
  129. }
  130. func (x *Province) Reset() {
  131. *x = Province{}
  132. if protoimpl.UnsafeEnabled {
  133. mi := &file_common_proto_msgTypes[2]
  134. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  135. ms.StoreMessageInfo(mi)
  136. }
  137. }
  138. func (x *Province) String() string {
  139. return protoimpl.X.MessageStringOf(x)
  140. }
  141. func (*Province) ProtoMessage() {}
  142. func (x *Province) ProtoReflect() protoreflect.Message {
  143. mi := &file_common_proto_msgTypes[2]
  144. if protoimpl.UnsafeEnabled && x != nil {
  145. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  146. if ms.LoadMessageInfo() == nil {
  147. ms.StoreMessageInfo(mi)
  148. }
  149. return ms
  150. }
  151. return mi.MessageOf(x)
  152. }
  153. // Deprecated: Use Province.ProtoReflect.Descriptor instead.
  154. func (*Province) Descriptor() ([]byte, []int) {
  155. return file_common_proto_rawDescGZIP(), []int{2}
  156. }
  157. func (x *Province) GetCode() string {
  158. if x != nil {
  159. return x.Code
  160. }
  161. return ""
  162. }
  163. func (x *Province) GetName() string {
  164. if x != nil {
  165. return x.Name
  166. }
  167. return ""
  168. }
  169. func (x *Province) GetCitys() []*City {
  170. if x != nil {
  171. return x.Citys
  172. }
  173. return nil
  174. }
  175. //
  176. type City struct {
  177. state protoimpl.MessageState
  178. sizeCache protoimpl.SizeCache
  179. unknownFields protoimpl.UnknownFields
  180. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` //城市编码
  181. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //城市名称
  182. }
  183. func (x *City) Reset() {
  184. *x = City{}
  185. if protoimpl.UnsafeEnabled {
  186. mi := &file_common_proto_msgTypes[3]
  187. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  188. ms.StoreMessageInfo(mi)
  189. }
  190. }
  191. func (x *City) String() string {
  192. return protoimpl.X.MessageStringOf(x)
  193. }
  194. func (*City) ProtoMessage() {}
  195. func (x *City) ProtoReflect() protoreflect.Message {
  196. mi := &file_common_proto_msgTypes[3]
  197. if protoimpl.UnsafeEnabled && x != nil {
  198. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  199. if ms.LoadMessageInfo() == nil {
  200. ms.StoreMessageInfo(mi)
  201. }
  202. return ms
  203. }
  204. return mi.MessageOf(x)
  205. }
  206. // Deprecated: Use City.ProtoReflect.Descriptor instead.
  207. func (*City) Descriptor() ([]byte, []int) {
  208. return file_common_proto_rawDescGZIP(), []int{3}
  209. }
  210. func (x *City) GetCode() string {
  211. if x != nil {
  212. return x.Code
  213. }
  214. return ""
  215. }
  216. func (x *City) GetName() string {
  217. if x != nil {
  218. return x.Name
  219. }
  220. return ""
  221. }
  222. //行业信息
  223. type IndustryResp struct {
  224. state protoimpl.MessageState
  225. sizeCache protoimpl.SizeCache
  226. unknownFields protoimpl.UnknownFields
  227. ErrCode int64 `protobuf:"varint,1,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"`
  228. ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  229. Data *Idata `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  230. }
  231. func (x *IndustryResp) Reset() {
  232. *x = IndustryResp{}
  233. if protoimpl.UnsafeEnabled {
  234. mi := &file_common_proto_msgTypes[4]
  235. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  236. ms.StoreMessageInfo(mi)
  237. }
  238. }
  239. func (x *IndustryResp) String() string {
  240. return protoimpl.X.MessageStringOf(x)
  241. }
  242. func (*IndustryResp) ProtoMessage() {}
  243. func (x *IndustryResp) ProtoReflect() protoreflect.Message {
  244. mi := &file_common_proto_msgTypes[4]
  245. if protoimpl.UnsafeEnabled && x != nil {
  246. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  247. if ms.LoadMessageInfo() == nil {
  248. ms.StoreMessageInfo(mi)
  249. }
  250. return ms
  251. }
  252. return mi.MessageOf(x)
  253. }
  254. // Deprecated: Use IndustryResp.ProtoReflect.Descriptor instead.
  255. func (*IndustryResp) Descriptor() ([]byte, []int) {
  256. return file_common_proto_rawDescGZIP(), []int{4}
  257. }
  258. func (x *IndustryResp) GetErrCode() int64 {
  259. if x != nil {
  260. return x.ErrCode
  261. }
  262. return 0
  263. }
  264. func (x *IndustryResp) GetErrMsg() string {
  265. if x != nil {
  266. return x.ErrMsg
  267. }
  268. return ""
  269. }
  270. func (x *IndustryResp) GetData() *Idata {
  271. if x != nil {
  272. return x.Data
  273. }
  274. return nil
  275. }
  276. type Idata struct {
  277. state protoimpl.MessageState
  278. sizeCache protoimpl.SizeCache
  279. unknownFields protoimpl.UnknownFields
  280. Infotype []*Infotype `protobuf:"bytes,1,rep,name=infotype,proto3" json:"infotype,omitempty"` //信息类型
  281. Buyerclass []*Supply `protobuf:"bytes,2,rep,name=buyerclass,proto3" json:"buyerclass,omitempty"` //采购单位类型
  282. Industry []*Industry `protobuf:"bytes,3,rep,name=industry,proto3" json:"industry,omitempty"` //行业
  283. }
  284. func (x *Idata) Reset() {
  285. *x = Idata{}
  286. if protoimpl.UnsafeEnabled {
  287. mi := &file_common_proto_msgTypes[5]
  288. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  289. ms.StoreMessageInfo(mi)
  290. }
  291. }
  292. func (x *Idata) String() string {
  293. return protoimpl.X.MessageStringOf(x)
  294. }
  295. func (*Idata) ProtoMessage() {}
  296. func (x *Idata) ProtoReflect() protoreflect.Message {
  297. mi := &file_common_proto_msgTypes[5]
  298. if protoimpl.UnsafeEnabled && x != nil {
  299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  300. if ms.LoadMessageInfo() == nil {
  301. ms.StoreMessageInfo(mi)
  302. }
  303. return ms
  304. }
  305. return mi.MessageOf(x)
  306. }
  307. // Deprecated: Use Idata.ProtoReflect.Descriptor instead.
  308. func (*Idata) Descriptor() ([]byte, []int) {
  309. return file_common_proto_rawDescGZIP(), []int{5}
  310. }
  311. func (x *Idata) GetInfotype() []*Infotype {
  312. if x != nil {
  313. return x.Infotype
  314. }
  315. return nil
  316. }
  317. func (x *Idata) GetBuyerclass() []*Supply {
  318. if x != nil {
  319. return x.Buyerclass
  320. }
  321. return nil
  322. }
  323. func (x *Idata) GetIndustry() []*Industry {
  324. if x != nil {
  325. return x.Industry
  326. }
  327. return nil
  328. }
  329. type Supply struct {
  330. state protoimpl.MessageState
  331. sizeCache protoimpl.SizeCache
  332. unknownFields protoimpl.UnknownFields
  333. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  334. }
  335. func (x *Supply) Reset() {
  336. *x = Supply{}
  337. if protoimpl.UnsafeEnabled {
  338. mi := &file_common_proto_msgTypes[6]
  339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  340. ms.StoreMessageInfo(mi)
  341. }
  342. }
  343. func (x *Supply) String() string {
  344. return protoimpl.X.MessageStringOf(x)
  345. }
  346. func (*Supply) ProtoMessage() {}
  347. func (x *Supply) ProtoReflect() protoreflect.Message {
  348. mi := &file_common_proto_msgTypes[6]
  349. if protoimpl.UnsafeEnabled && x != nil {
  350. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  351. if ms.LoadMessageInfo() == nil {
  352. ms.StoreMessageInfo(mi)
  353. }
  354. return ms
  355. }
  356. return mi.MessageOf(x)
  357. }
  358. // Deprecated: Use Supply.ProtoReflect.Descriptor instead.
  359. func (*Supply) Descriptor() ([]byte, []int) {
  360. return file_common_proto_rawDescGZIP(), []int{6}
  361. }
  362. func (x *Supply) GetName() string {
  363. if x != nil {
  364. return x.Name
  365. }
  366. return ""
  367. }
  368. type Industry struct {
  369. state protoimpl.MessageState
  370. sizeCache protoimpl.SizeCache
  371. unknownFields protoimpl.UnknownFields
  372. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  373. }
  374. func (x *Industry) Reset() {
  375. *x = Industry{}
  376. if protoimpl.UnsafeEnabled {
  377. mi := &file_common_proto_msgTypes[7]
  378. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  379. ms.StoreMessageInfo(mi)
  380. }
  381. }
  382. func (x *Industry) String() string {
  383. return protoimpl.X.MessageStringOf(x)
  384. }
  385. func (*Industry) ProtoMessage() {}
  386. func (x *Industry) ProtoReflect() protoreflect.Message {
  387. mi := &file_common_proto_msgTypes[7]
  388. if protoimpl.UnsafeEnabled && x != nil {
  389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  390. if ms.LoadMessageInfo() == nil {
  391. ms.StoreMessageInfo(mi)
  392. }
  393. return ms
  394. }
  395. return mi.MessageOf(x)
  396. }
  397. // Deprecated: Use Industry.ProtoReflect.Descriptor instead.
  398. func (*Industry) Descriptor() ([]byte, []int) {
  399. return file_common_proto_rawDescGZIP(), []int{7}
  400. }
  401. func (x *Industry) GetName() string {
  402. if x != nil {
  403. return x.Name
  404. }
  405. return ""
  406. }
  407. //
  408. type Infotype struct {
  409. state protoimpl.MessageState
  410. sizeCache protoimpl.SizeCache
  411. unknownFields protoimpl.UnknownFields
  412. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  413. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  414. Childs []*IndustryChildsResp `protobuf:"bytes,3,rep,name=childs,proto3" json:"childs,omitempty"`
  415. }
  416. func (x *Infotype) Reset() {
  417. *x = Infotype{}
  418. if protoimpl.UnsafeEnabled {
  419. mi := &file_common_proto_msgTypes[8]
  420. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  421. ms.StoreMessageInfo(mi)
  422. }
  423. }
  424. func (x *Infotype) String() string {
  425. return protoimpl.X.MessageStringOf(x)
  426. }
  427. func (*Infotype) ProtoMessage() {}
  428. func (x *Infotype) ProtoReflect() protoreflect.Message {
  429. mi := &file_common_proto_msgTypes[8]
  430. if protoimpl.UnsafeEnabled && x != nil {
  431. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  432. if ms.LoadMessageInfo() == nil {
  433. ms.StoreMessageInfo(mi)
  434. }
  435. return ms
  436. }
  437. return mi.MessageOf(x)
  438. }
  439. // Deprecated: Use Infotype.ProtoReflect.Descriptor instead.
  440. func (*Infotype) Descriptor() ([]byte, []int) {
  441. return file_common_proto_rawDescGZIP(), []int{8}
  442. }
  443. func (x *Infotype) GetId() int64 {
  444. if x != nil {
  445. return x.Id
  446. }
  447. return 0
  448. }
  449. func (x *Infotype) GetName() string {
  450. if x != nil {
  451. return x.Name
  452. }
  453. return ""
  454. }
  455. func (x *Infotype) GetChilds() []*IndustryChildsResp {
  456. if x != nil {
  457. return x.Childs
  458. }
  459. return nil
  460. }
  461. //二级行业
  462. type IndustryChildsResp struct {
  463. state protoimpl.MessageState
  464. sizeCache protoimpl.SizeCache
  465. unknownFields protoimpl.UnknownFields
  466. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  467. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
  468. }
  469. func (x *IndustryChildsResp) Reset() {
  470. *x = IndustryChildsResp{}
  471. if protoimpl.UnsafeEnabled {
  472. mi := &file_common_proto_msgTypes[9]
  473. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  474. ms.StoreMessageInfo(mi)
  475. }
  476. }
  477. func (x *IndustryChildsResp) String() string {
  478. return protoimpl.X.MessageStringOf(x)
  479. }
  480. func (*IndustryChildsResp) ProtoMessage() {}
  481. func (x *IndustryChildsResp) ProtoReflect() protoreflect.Message {
  482. mi := &file_common_proto_msgTypes[9]
  483. if protoimpl.UnsafeEnabled && x != nil {
  484. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  485. if ms.LoadMessageInfo() == nil {
  486. ms.StoreMessageInfo(mi)
  487. }
  488. return ms
  489. }
  490. return mi.MessageOf(x)
  491. }
  492. // Deprecated: Use IndustryChildsResp.ProtoReflect.Descriptor instead.
  493. func (*IndustryChildsResp) Descriptor() ([]byte, []int) {
  494. return file_common_proto_rawDescGZIP(), []int{9}
  495. }
  496. func (x *IndustryChildsResp) GetName() string {
  497. if x != nil {
  498. return x.Name
  499. }
  500. return ""
  501. }
  502. func (x *IndustryChildsResp) GetCode() string {
  503. if x != nil {
  504. return x.Code
  505. }
  506. return ""
  507. }
  508. type StateRequest struct {
  509. state protoimpl.MessageState
  510. sizeCache protoimpl.SizeCache
  511. unknownFields protoimpl.UnknownFields
  512. Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` //mysql 信息id
  513. PublishId string `protobuf:"bytes,2,opt,name=publishId,proto3" json:"publishId,omitempty"` //mongodb bidding信息id
  514. }
  515. func (x *StateRequest) Reset() {
  516. *x = StateRequest{}
  517. if protoimpl.UnsafeEnabled {
  518. mi := &file_common_proto_msgTypes[10]
  519. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  520. ms.StoreMessageInfo(mi)
  521. }
  522. }
  523. func (x *StateRequest) String() string {
  524. return protoimpl.X.MessageStringOf(x)
  525. }
  526. func (*StateRequest) ProtoMessage() {}
  527. func (x *StateRequest) ProtoReflect() protoreflect.Message {
  528. mi := &file_common_proto_msgTypes[10]
  529. if protoimpl.UnsafeEnabled && x != nil {
  530. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  531. if ms.LoadMessageInfo() == nil {
  532. ms.StoreMessageInfo(mi)
  533. }
  534. return ms
  535. }
  536. return mi.MessageOf(x)
  537. }
  538. // Deprecated: Use StateRequest.ProtoReflect.Descriptor instead.
  539. func (*StateRequest) Descriptor() ([]byte, []int) {
  540. return file_common_proto_rawDescGZIP(), []int{10}
  541. }
  542. func (x *StateRequest) GetId() string {
  543. if x != nil {
  544. return x.Id
  545. }
  546. return ""
  547. }
  548. func (x *StateRequest) GetPublishId() string {
  549. if x != nil {
  550. return x.PublishId
  551. }
  552. return ""
  553. }
  554. type StateResponse struct {
  555. state protoimpl.MessageState
  556. sizeCache protoimpl.SizeCache
  557. unknownFields protoimpl.UnknownFields
  558. ErrCode int64 `protobuf:"varint,1,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"`
  559. ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  560. }
  561. func (x *StateResponse) Reset() {
  562. *x = StateResponse{}
  563. if protoimpl.UnsafeEnabled {
  564. mi := &file_common_proto_msgTypes[11]
  565. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  566. ms.StoreMessageInfo(mi)
  567. }
  568. }
  569. func (x *StateResponse) String() string {
  570. return protoimpl.X.MessageStringOf(x)
  571. }
  572. func (*StateResponse) ProtoMessage() {}
  573. func (x *StateResponse) ProtoReflect() protoreflect.Message {
  574. mi := &file_common_proto_msgTypes[11]
  575. if protoimpl.UnsafeEnabled && x != nil {
  576. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  577. if ms.LoadMessageInfo() == nil {
  578. ms.StoreMessageInfo(mi)
  579. }
  580. return ms
  581. }
  582. return mi.MessageOf(x)
  583. }
  584. // Deprecated: Use StateResponse.ProtoReflect.Descriptor instead.
  585. func (*StateResponse) Descriptor() ([]byte, []int) {
  586. return file_common_proto_rawDescGZIP(), []int{11}
  587. }
  588. func (x *StateResponse) GetErrCode() int64 {
  589. if x != nil {
  590. return x.ErrCode
  591. }
  592. return 0
  593. }
  594. func (x *StateResponse) GetErrMsg() string {
  595. if x != nil {
  596. return x.ErrMsg
  597. }
  598. return ""
  599. }
  600. type SensitiveRequest struct {
  601. state protoimpl.MessageState
  602. sizeCache protoimpl.SizeCache
  603. unknownFields protoimpl.UnknownFields
  604. Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` //信息id
  605. MsgType string `protobuf:"bytes,2,opt,name=MsgType,proto3" json:"MsgType,omitempty"` //信息类型:1:招标信息;2:采购信息;3:供应信息
  606. Title []string `protobuf:"bytes,3,rep,name=Title,proto3" json:"Title,omitempty"` //标题
  607. Detail []string `protobuf:"bytes,4,rep,name=Detail,proto3" json:"Detail,omitempty"` //详情
  608. Attachments string `protobuf:"bytes,5,opt,name=Attachments,proto3" json:"Attachments,omitempty"` //附件
  609. AttachTxt string `protobuf:"bytes,6,opt,name=AttachTxt,proto3" json:"AttachTxt,omitempty"` //附件备注
  610. }
  611. func (x *SensitiveRequest) Reset() {
  612. *x = SensitiveRequest{}
  613. if protoimpl.UnsafeEnabled {
  614. mi := &file_common_proto_msgTypes[12]
  615. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  616. ms.StoreMessageInfo(mi)
  617. }
  618. }
  619. func (x *SensitiveRequest) String() string {
  620. return protoimpl.X.MessageStringOf(x)
  621. }
  622. func (*SensitiveRequest) ProtoMessage() {}
  623. func (x *SensitiveRequest) ProtoReflect() protoreflect.Message {
  624. mi := &file_common_proto_msgTypes[12]
  625. if protoimpl.UnsafeEnabled && x != nil {
  626. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  627. if ms.LoadMessageInfo() == nil {
  628. ms.StoreMessageInfo(mi)
  629. }
  630. return ms
  631. }
  632. return mi.MessageOf(x)
  633. }
  634. // Deprecated: Use SensitiveRequest.ProtoReflect.Descriptor instead.
  635. func (*SensitiveRequest) Descriptor() ([]byte, []int) {
  636. return file_common_proto_rawDescGZIP(), []int{12}
  637. }
  638. func (x *SensitiveRequest) GetId() string {
  639. if x != nil {
  640. return x.Id
  641. }
  642. return ""
  643. }
  644. func (x *SensitiveRequest) GetMsgType() string {
  645. if x != nil {
  646. return x.MsgType
  647. }
  648. return ""
  649. }
  650. func (x *SensitiveRequest) GetTitle() []string {
  651. if x != nil {
  652. return x.Title
  653. }
  654. return nil
  655. }
  656. func (x *SensitiveRequest) GetDetail() []string {
  657. if x != nil {
  658. return x.Detail
  659. }
  660. return nil
  661. }
  662. func (x *SensitiveRequest) GetAttachments() string {
  663. if x != nil {
  664. return x.Attachments
  665. }
  666. return ""
  667. }
  668. func (x *SensitiveRequest) GetAttachTxt() string {
  669. if x != nil {
  670. return x.AttachTxt
  671. }
  672. return ""
  673. }
  674. type SensitiveResponse struct {
  675. state protoimpl.MessageState
  676. sizeCache protoimpl.SizeCache
  677. unknownFields protoimpl.UnknownFields
  678. ErrCode int64 `protobuf:"varint,1,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"`
  679. ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
  680. }
  681. func (x *SensitiveResponse) Reset() {
  682. *x = SensitiveResponse{}
  683. if protoimpl.UnsafeEnabled {
  684. mi := &file_common_proto_msgTypes[13]
  685. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  686. ms.StoreMessageInfo(mi)
  687. }
  688. }
  689. func (x *SensitiveResponse) String() string {
  690. return protoimpl.X.MessageStringOf(x)
  691. }
  692. func (*SensitiveResponse) ProtoMessage() {}
  693. func (x *SensitiveResponse) ProtoReflect() protoreflect.Message {
  694. mi := &file_common_proto_msgTypes[13]
  695. if protoimpl.UnsafeEnabled && x != nil {
  696. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  697. if ms.LoadMessageInfo() == nil {
  698. ms.StoreMessageInfo(mi)
  699. }
  700. return ms
  701. }
  702. return mi.MessageOf(x)
  703. }
  704. // Deprecated: Use SensitiveResponse.ProtoReflect.Descriptor instead.
  705. func (*SensitiveResponse) Descriptor() ([]byte, []int) {
  706. return file_common_proto_rawDescGZIP(), []int{13}
  707. }
  708. func (x *SensitiveResponse) GetErrCode() int64 {
  709. if x != nil {
  710. return x.ErrCode
  711. }
  712. return 0
  713. }
  714. func (x *SensitiveResponse) GetErrMsg() string {
  715. if x != nil {
  716. return x.ErrMsg
  717. }
  718. return ""
  719. }
  720. var File_common_proto protoreflect.FileDescriptor
  721. var file_common_proto_rawDesc = []byte{
  722. 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
  723. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x22, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
  724. 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20,
  725. 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x08, 0x41, 0x72,
  726. 0x65, 0x61, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x72, 0x72, 0x5f, 0x63, 0x6f,
  727. 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64,
  728. 0x65, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01,
  729. 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x24, 0x0a, 0x04, 0x64, 0x61,
  730. 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  731. 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
  732. 0x22, 0x56, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04,
  733. 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
  734. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  735. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x05, 0x63, 0x69, 0x74, 0x79, 0x73, 0x18, 0x03, 0x20,
  736. 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x69, 0x74,
  737. 0x79, 0x52, 0x05, 0x63, 0x69, 0x74, 0x79, 0x73, 0x22, 0x2e, 0x0a, 0x04, 0x43, 0x69, 0x74, 0x79,
  738. 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  739. 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  740. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x0c, 0x49, 0x6e, 0x64, 0x75,
  741. 0x73, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x72, 0x72, 0x5f,
  742. 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43,
  743. 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02,
  744. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x21, 0x0a, 0x04,
  745. 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x63, 0x6f, 0x6d,
  746. 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x64, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
  747. 0x93, 0x01, 0x0a, 0x05, 0x49, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x08, 0x69, 0x6e, 0x66,
  748. 0x6f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f,
  749. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x74, 0x79, 0x70, 0x65, 0x52, 0x08, 0x69,
  750. 0x6e, 0x66, 0x6f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x0a, 0x62, 0x75, 0x79, 0x65, 0x72,
  751. 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f,
  752. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x0a, 0x62, 0x75, 0x79,
  753. 0x65, 0x72, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x69, 0x6e, 0x64, 0x75, 0x73,
  754. 0x74, 0x72, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  755. 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x64, 0x75, 0x73, 0x74, 0x72, 0x79, 0x52, 0x08, 0x69, 0x6e, 0x64,
  756. 0x75, 0x73, 0x74, 0x72, 0x79, 0x22, 0x1c, 0x0a, 0x06, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12,
  757. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  758. 0x61, 0x6d, 0x65, 0x22, 0x1e, 0x0a, 0x08, 0x49, 0x6e, 0x64, 0x75, 0x73, 0x74, 0x72, 0x79, 0x12,
  759. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  760. 0x61, 0x6d, 0x65, 0x22, 0x62, 0x0a, 0x08, 0x49, 0x6e, 0x66, 0x6f, 0x74, 0x79, 0x70, 0x65, 0x12,
  761. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,
  762. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  763. 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20,
  764. 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x64,
  765. 0x75, 0x73, 0x74, 0x72, 0x79, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x52,
  766. 0x06, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x73, 0x22, 0x3c, 0x0a, 0x12, 0x49, 0x6e, 0x64, 0x75, 0x73,
  767. 0x74, 0x72, 0x79, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a,
  768. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  769. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  770. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x3c, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65,
  771. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  772. 0x09, 0x52, 0x02, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
  773. 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
  774. 0x68, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
  775. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x72, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65,
  776. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
  777. 0x17, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  778. 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0xaa, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x6e,
  779. 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
  780. 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x12, 0x18, 0x0a,
  781. 0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  782. 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65,
  783. 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a,
  784. 0x06, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x44,
  785. 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d,
  786. 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x41, 0x74, 0x74, 0x61,
  787. 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x61, 0x63,
  788. 0x68, 0x54, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x41, 0x74, 0x74, 0x61,
  789. 0x63, 0x68, 0x54, 0x78, 0x74, 0x22, 0x47, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69,
  790. 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x72,
  791. 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x72,
  792. 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x73, 0x67,
  793. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x32, 0xfc,
  794. 0x01, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, 0x0a,
  795. 0x08, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  796. 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e,
  797. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x72, 0x65, 0x61, 0x52, 0x65, 0x73, 0x70, 0x12,
  798. 0x38, 0x0a, 0x0c, 0x49, 0x6e, 0x64, 0x75, 0x73, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12,
  799. 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
  800. 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x64,
  801. 0x75, 0x73, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3a, 0x0a, 0x0b, 0x53, 0x74, 0x61,
  802. 0x74, 0x65, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  803. 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
  804. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73,
  805. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69,
  806. 0x76, 0x65, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  807. 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  808. 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x73,
  809. 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x0a, 0x5a,
  810. 0x08, 0x2e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  811. 0x33,
  812. }
  813. var (
  814. file_common_proto_rawDescOnce sync.Once
  815. file_common_proto_rawDescData = file_common_proto_rawDesc
  816. )
  817. func file_common_proto_rawDescGZIP() []byte {
  818. file_common_proto_rawDescOnce.Do(func() {
  819. file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData)
  820. })
  821. return file_common_proto_rawDescData
  822. }
  823. var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  824. var file_common_proto_goTypes = []interface{}{
  825. (*ProjectReq)(nil), // 0: common.ProjectReq
  826. (*AreaResp)(nil), // 1: common.AreaResp
  827. (*Province)(nil), // 2: common.Province
  828. (*City)(nil), // 3: common.City
  829. (*IndustryResp)(nil), // 4: common.IndustryResp
  830. (*Idata)(nil), // 5: common.Idata
  831. (*Supply)(nil), // 6: common.Supply
  832. (*Industry)(nil), // 7: common.Industry
  833. (*Infotype)(nil), // 8: common.Infotype
  834. (*IndustryChildsResp)(nil), // 9: common.IndustryChildsResp
  835. (*StateRequest)(nil), // 10: common.StateRequest
  836. (*StateResponse)(nil), // 11: common.StateResponse
  837. (*SensitiveRequest)(nil), // 12: common.SensitiveRequest
  838. (*SensitiveResponse)(nil), // 13: common.SensitiveResponse
  839. }
  840. var file_common_proto_depIdxs = []int32{
  841. 2, // 0: common.AreaResp.data:type_name -> common.Province
  842. 3, // 1: common.Province.citys:type_name -> common.City
  843. 5, // 2: common.IndustryResp.data:type_name -> common.Idata
  844. 8, // 3: common.Idata.infotype:type_name -> common.Infotype
  845. 6, // 4: common.Idata.buyerclass:type_name -> common.Supply
  846. 7, // 5: common.Idata.industry:type_name -> common.Industry
  847. 9, // 6: common.Infotype.childs:type_name -> common.IndustryChildsResp
  848. 0, // 7: common.commonInfo.AreaInfo:input_type -> common.ProjectReq
  849. 0, // 8: common.commonInfo.IndustryInfo:input_type -> common.ProjectReq
  850. 10, // 9: common.commonInfo.StateMethod:input_type -> common.StateRequest
  851. 12, // 10: common.commonInfo.SensitiveMethod:input_type -> common.SensitiveRequest
  852. 1, // 11: common.commonInfo.AreaInfo:output_type -> common.AreaResp
  853. 4, // 12: common.commonInfo.IndustryInfo:output_type -> common.IndustryResp
  854. 11, // 13: common.commonInfo.StateMethod:output_type -> common.StateResponse
  855. 13, // 14: common.commonInfo.SensitiveMethod:output_type -> common.SensitiveResponse
  856. 11, // [11:15] is the sub-list for method output_type
  857. 7, // [7:11] is the sub-list for method input_type
  858. 7, // [7:7] is the sub-list for extension type_name
  859. 7, // [7:7] is the sub-list for extension extendee
  860. 0, // [0:7] is the sub-list for field type_name
  861. }
  862. func init() { file_common_proto_init() }
  863. func file_common_proto_init() {
  864. if File_common_proto != nil {
  865. return
  866. }
  867. if !protoimpl.UnsafeEnabled {
  868. file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  869. switch v := v.(*ProjectReq); i {
  870. case 0:
  871. return &v.state
  872. case 1:
  873. return &v.sizeCache
  874. case 2:
  875. return &v.unknownFields
  876. default:
  877. return nil
  878. }
  879. }
  880. file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  881. switch v := v.(*AreaResp); i {
  882. case 0:
  883. return &v.state
  884. case 1:
  885. return &v.sizeCache
  886. case 2:
  887. return &v.unknownFields
  888. default:
  889. return nil
  890. }
  891. }
  892. file_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  893. switch v := v.(*Province); i {
  894. case 0:
  895. return &v.state
  896. case 1:
  897. return &v.sizeCache
  898. case 2:
  899. return &v.unknownFields
  900. default:
  901. return nil
  902. }
  903. }
  904. file_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  905. switch v := v.(*City); i {
  906. case 0:
  907. return &v.state
  908. case 1:
  909. return &v.sizeCache
  910. case 2:
  911. return &v.unknownFields
  912. default:
  913. return nil
  914. }
  915. }
  916. file_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  917. switch v := v.(*IndustryResp); i {
  918. case 0:
  919. return &v.state
  920. case 1:
  921. return &v.sizeCache
  922. case 2:
  923. return &v.unknownFields
  924. default:
  925. return nil
  926. }
  927. }
  928. file_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  929. switch v := v.(*Idata); i {
  930. case 0:
  931. return &v.state
  932. case 1:
  933. return &v.sizeCache
  934. case 2:
  935. return &v.unknownFields
  936. default:
  937. return nil
  938. }
  939. }
  940. file_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  941. switch v := v.(*Supply); i {
  942. case 0:
  943. return &v.state
  944. case 1:
  945. return &v.sizeCache
  946. case 2:
  947. return &v.unknownFields
  948. default:
  949. return nil
  950. }
  951. }
  952. file_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  953. switch v := v.(*Industry); i {
  954. case 0:
  955. return &v.state
  956. case 1:
  957. return &v.sizeCache
  958. case 2:
  959. return &v.unknownFields
  960. default:
  961. return nil
  962. }
  963. }
  964. file_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  965. switch v := v.(*Infotype); i {
  966. case 0:
  967. return &v.state
  968. case 1:
  969. return &v.sizeCache
  970. case 2:
  971. return &v.unknownFields
  972. default:
  973. return nil
  974. }
  975. }
  976. file_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  977. switch v := v.(*IndustryChildsResp); i {
  978. case 0:
  979. return &v.state
  980. case 1:
  981. return &v.sizeCache
  982. case 2:
  983. return &v.unknownFields
  984. default:
  985. return nil
  986. }
  987. }
  988. file_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  989. switch v := v.(*StateRequest); i {
  990. case 0:
  991. return &v.state
  992. case 1:
  993. return &v.sizeCache
  994. case 2:
  995. return &v.unknownFields
  996. default:
  997. return nil
  998. }
  999. }
  1000. file_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1001. switch v := v.(*StateResponse); i {
  1002. case 0:
  1003. return &v.state
  1004. case 1:
  1005. return &v.sizeCache
  1006. case 2:
  1007. return &v.unknownFields
  1008. default:
  1009. return nil
  1010. }
  1011. }
  1012. file_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1013. switch v := v.(*SensitiveRequest); i {
  1014. case 0:
  1015. return &v.state
  1016. case 1:
  1017. return &v.sizeCache
  1018. case 2:
  1019. return &v.unknownFields
  1020. default:
  1021. return nil
  1022. }
  1023. }
  1024. file_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1025. switch v := v.(*SensitiveResponse); i {
  1026. case 0:
  1027. return &v.state
  1028. case 1:
  1029. return &v.sizeCache
  1030. case 2:
  1031. return &v.unknownFields
  1032. default:
  1033. return nil
  1034. }
  1035. }
  1036. }
  1037. type x struct{}
  1038. out := protoimpl.TypeBuilder{
  1039. File: protoimpl.DescBuilder{
  1040. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1041. RawDescriptor: file_common_proto_rawDesc,
  1042. NumEnums: 0,
  1043. NumMessages: 14,
  1044. NumExtensions: 0,
  1045. NumServices: 1,
  1046. },
  1047. GoTypes: file_common_proto_goTypes,
  1048. DependencyIndexes: file_common_proto_depIdxs,
  1049. MessageInfos: file_common_proto_msgTypes,
  1050. }.Build()
  1051. File_common_proto = out.File
  1052. file_common_proto_rawDesc = nil
  1053. file_common_proto_goTypes = nil
  1054. file_common_proto_depIdxs = nil
  1055. }
  1056. // Reference imports to suppress errors if they are not otherwise used.
  1057. var _ context.Context
  1058. var _ grpc.ClientConnInterface
  1059. // This is a compile-time assertion to ensure that this generated file
  1060. // is compatible with the grpc package it is being compiled against.
  1061. const _ = grpc.SupportPackageIsVersion6
  1062. // CommonInfoClient is the client API for CommonInfo service.
  1063. //
  1064. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1065. type CommonInfoClient interface {
  1066. //获取省份信息
  1067. AreaInfo(ctx context.Context, in *ProjectReq, opts ...grpc.CallOption) (*AreaResp, error)
  1068. //获取行业信息
  1069. IndustryInfo(ctx context.Context, in *ProjectReq, opts ...grpc.CallOption) (*IndustryResp, error)
  1070. //修改信息发布状态
  1071. StateMethod(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateResponse, error)
  1072. //
  1073. SensitiveMethod(ctx context.Context, in *SensitiveRequest, opts ...grpc.CallOption) (*SensitiveResponse, error)
  1074. }
  1075. type commonInfoClient struct {
  1076. cc grpc.ClientConnInterface
  1077. }
  1078. func NewCommonInfoClient(cc grpc.ClientConnInterface) CommonInfoClient {
  1079. return &commonInfoClient{cc}
  1080. }
  1081. func (c *commonInfoClient) AreaInfo(ctx context.Context, in *ProjectReq, opts ...grpc.CallOption) (*AreaResp, error) {
  1082. out := new(AreaResp)
  1083. err := c.cc.Invoke(ctx, "/common.commonInfo/AreaInfo", in, out, opts...)
  1084. if err != nil {
  1085. return nil, err
  1086. }
  1087. return out, nil
  1088. }
  1089. func (c *commonInfoClient) IndustryInfo(ctx context.Context, in *ProjectReq, opts ...grpc.CallOption) (*IndustryResp, error) {
  1090. out := new(IndustryResp)
  1091. err := c.cc.Invoke(ctx, "/common.commonInfo/IndustryInfo", in, out, opts...)
  1092. if err != nil {
  1093. return nil, err
  1094. }
  1095. return out, nil
  1096. }
  1097. func (c *commonInfoClient) StateMethod(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateResponse, error) {
  1098. out := new(StateResponse)
  1099. err := c.cc.Invoke(ctx, "/common.commonInfo/StateMethod", in, out, opts...)
  1100. if err != nil {
  1101. return nil, err
  1102. }
  1103. return out, nil
  1104. }
  1105. func (c *commonInfoClient) SensitiveMethod(ctx context.Context, in *SensitiveRequest, opts ...grpc.CallOption) (*SensitiveResponse, error) {
  1106. out := new(SensitiveResponse)
  1107. err := c.cc.Invoke(ctx, "/common.commonInfo/SensitiveMethod", in, out, opts...)
  1108. if err != nil {
  1109. return nil, err
  1110. }
  1111. return out, nil
  1112. }
  1113. // CommonInfoServer is the server API for CommonInfo service.
  1114. type CommonInfoServer interface {
  1115. //获取省份信息
  1116. AreaInfo(context.Context, *ProjectReq) (*AreaResp, error)
  1117. //获取行业信息
  1118. IndustryInfo(context.Context, *ProjectReq) (*IndustryResp, error)
  1119. //修改信息发布状态
  1120. StateMethod(context.Context, *StateRequest) (*StateResponse, error)
  1121. //
  1122. SensitiveMethod(context.Context, *SensitiveRequest) (*SensitiveResponse, error)
  1123. }
  1124. // UnimplementedCommonInfoServer can be embedded to have forward compatible implementations.
  1125. type UnimplementedCommonInfoServer struct {
  1126. }
  1127. func (*UnimplementedCommonInfoServer) AreaInfo(context.Context, *ProjectReq) (*AreaResp, error) {
  1128. return nil, status.Errorf(codes.Unimplemented, "method AreaInfo not implemented")
  1129. }
  1130. func (*UnimplementedCommonInfoServer) IndustryInfo(context.Context, *ProjectReq) (*IndustryResp, error) {
  1131. return nil, status.Errorf(codes.Unimplemented, "method IndustryInfo not implemented")
  1132. }
  1133. func (*UnimplementedCommonInfoServer) StateMethod(context.Context, *StateRequest) (*StateResponse, error) {
  1134. return nil, status.Errorf(codes.Unimplemented, "method StateMethod not implemented")
  1135. }
  1136. func (*UnimplementedCommonInfoServer) SensitiveMethod(context.Context, *SensitiveRequest) (*SensitiveResponse, error) {
  1137. return nil, status.Errorf(codes.Unimplemented, "method SensitiveMethod not implemented")
  1138. }
  1139. func RegisterCommonInfoServer(s *grpc.Server, srv CommonInfoServer) {
  1140. s.RegisterService(&_CommonInfo_serviceDesc, srv)
  1141. }
  1142. func _CommonInfo_AreaInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1143. in := new(ProjectReq)
  1144. if err := dec(in); err != nil {
  1145. return nil, err
  1146. }
  1147. if interceptor == nil {
  1148. return srv.(CommonInfoServer).AreaInfo(ctx, in)
  1149. }
  1150. info := &grpc.UnaryServerInfo{
  1151. Server: srv,
  1152. FullMethod: "/common.commonInfo/AreaInfo",
  1153. }
  1154. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1155. return srv.(CommonInfoServer).AreaInfo(ctx, req.(*ProjectReq))
  1156. }
  1157. return interceptor(ctx, in, info, handler)
  1158. }
  1159. func _CommonInfo_IndustryInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1160. in := new(ProjectReq)
  1161. if err := dec(in); err != nil {
  1162. return nil, err
  1163. }
  1164. if interceptor == nil {
  1165. return srv.(CommonInfoServer).IndustryInfo(ctx, in)
  1166. }
  1167. info := &grpc.UnaryServerInfo{
  1168. Server: srv,
  1169. FullMethod: "/common.commonInfo/IndustryInfo",
  1170. }
  1171. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1172. return srv.(CommonInfoServer).IndustryInfo(ctx, req.(*ProjectReq))
  1173. }
  1174. return interceptor(ctx, in, info, handler)
  1175. }
  1176. func _CommonInfo_StateMethod_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1177. in := new(StateRequest)
  1178. if err := dec(in); err != nil {
  1179. return nil, err
  1180. }
  1181. if interceptor == nil {
  1182. return srv.(CommonInfoServer).StateMethod(ctx, in)
  1183. }
  1184. info := &grpc.UnaryServerInfo{
  1185. Server: srv,
  1186. FullMethod: "/common.commonInfo/StateMethod",
  1187. }
  1188. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1189. return srv.(CommonInfoServer).StateMethod(ctx, req.(*StateRequest))
  1190. }
  1191. return interceptor(ctx, in, info, handler)
  1192. }
  1193. func _CommonInfo_SensitiveMethod_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1194. in := new(SensitiveRequest)
  1195. if err := dec(in); err != nil {
  1196. return nil, err
  1197. }
  1198. if interceptor == nil {
  1199. return srv.(CommonInfoServer).SensitiveMethod(ctx, in)
  1200. }
  1201. info := &grpc.UnaryServerInfo{
  1202. Server: srv,
  1203. FullMethod: "/common.commonInfo/SensitiveMethod",
  1204. }
  1205. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1206. return srv.(CommonInfoServer).SensitiveMethod(ctx, req.(*SensitiveRequest))
  1207. }
  1208. return interceptor(ctx, in, info, handler)
  1209. }
  1210. var _CommonInfo_serviceDesc = grpc.ServiceDesc{
  1211. ServiceName: "common.commonInfo",
  1212. HandlerType: (*CommonInfoServer)(nil),
  1213. Methods: []grpc.MethodDesc{
  1214. {
  1215. MethodName: "AreaInfo",
  1216. Handler: _CommonInfo_AreaInfo_Handler,
  1217. },
  1218. {
  1219. MethodName: "IndustryInfo",
  1220. Handler: _CommonInfo_IndustryInfo_Handler,
  1221. },
  1222. {
  1223. MethodName: "StateMethod",
  1224. Handler: _CommonInfo_StateMethod_Handler,
  1225. },
  1226. {
  1227. MethodName: "SensitiveMethod",
  1228. Handler: _CommonInfo_SensitiveMethod_Handler,
  1229. },
  1230. },
  1231. Streams: []grpc.StreamDesc{},
  1232. Metadata: "common.proto",
  1233. }