| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: transform.proto
- package transform
- import (
- context "context"
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type UserRequest struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *UserRequest) Reset() { *m = UserRequest{} }
- func (m *UserRequest) String() string { return proto.CompactTextString(m) }
- func (*UserRequest) ProtoMessage() {}
- func (*UserRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{0}
- }
- func (m *UserRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UserRequest.Unmarshal(m, b)
- }
- func (m *UserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UserRequest.Marshal(b, m, deterministic)
- }
- func (m *UserRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UserRequest.Merge(m, src)
- }
- func (m *UserRequest) XXX_Size() int {
- return xxx_messageInfo_UserRequest.Size(m)
- }
- func (m *UserRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UserRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_UserRequest proto.InternalMessageInfo
- func (m *UserRequest) GetId() string {
- if m != nil {
- return m.Id
- }
- return ""
- }
- func (m *UserRequest) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- type UserResponse struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
- Roles string `protobuf:"bytes,3,opt,name=roles,proto3" json:"roles,omitempty"`
- Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
- ErpRoleType int64 `protobuf:"varint,5,opt,name=erpRoleType,proto3" json:"erpRoleType,omitempty"`
- UserName string `protobuf:"bytes,6,opt,name=userName,proto3" json:"userName,omitempty"`
- CityName string `protobuf:"bytes,7,opt,name=cityName,proto3" json:"cityName,omitempty"`
- Gender int64 `protobuf:"varint,8,opt,name=gender,proto3" json:"gender,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *UserResponse) Reset() { *m = UserResponse{} }
- func (m *UserResponse) String() string { return proto.CompactTextString(m) }
- func (*UserResponse) ProtoMessage() {}
- func (*UserResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{1}
- }
- func (m *UserResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UserResponse.Unmarshal(m, b)
- }
- func (m *UserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UserResponse.Marshal(b, m, deterministic)
- }
- func (m *UserResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UserResponse.Merge(m, src)
- }
- func (m *UserResponse) XXX_Size() int {
- return xxx_messageInfo_UserResponse.Size(m)
- }
- func (m *UserResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_UserResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_UserResponse proto.InternalMessageInfo
- func (m *UserResponse) GetId() string {
- if m != nil {
- return m.Id
- }
- return ""
- }
- func (m *UserResponse) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *UserResponse) GetRoles() string {
- if m != nil {
- return m.Roles
- }
- return ""
- }
- func (m *UserResponse) GetStatus() int64 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- func (m *UserResponse) GetErpRoleType() int64 {
- if m != nil {
- return m.ErpRoleType
- }
- return 0
- }
- func (m *UserResponse) GetUserName() string {
- if m != nil {
- return m.UserName
- }
- return ""
- }
- func (m *UserResponse) GetCityName() string {
- if m != nil {
- return m.CityName
- }
- return ""
- }
- func (m *UserResponse) GetGender() int64 {
- if m != nil {
- return m.Gender
- }
- return 0
- }
- type TokenRequest struct {
- Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *TokenRequest) Reset() { *m = TokenRequest{} }
- func (m *TokenRequest) String() string { return proto.CompactTextString(m) }
- func (*TokenRequest) ProtoMessage() {}
- func (*TokenRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{2}
- }
- func (m *TokenRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TokenRequest.Unmarshal(m, b)
- }
- func (m *TokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TokenRequest.Marshal(b, m, deterministic)
- }
- func (m *TokenRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TokenRequest.Merge(m, src)
- }
- func (m *TokenRequest) XXX_Size() int {
- return xxx_messageInfo_TokenRequest.Size(m)
- }
- func (m *TokenRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_TokenRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_TokenRequest proto.InternalMessageInfo
- func (m *TokenRequest) GetToken() string {
- if m != nil {
- return m.Token
- }
- return ""
- }
- type TokenResponse struct {
- UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
- UserRoleIds string `protobuf:"bytes,2,opt,name=UserRoleIds,proto3" json:"UserRoleIds,omitempty"`
- UserSchoolIds string `protobuf:"bytes,3,opt,name=UserSchoolIds,proto3" json:"UserSchoolIds,omitempty"`
- UserProvinceIds string `protobuf:"bytes,4,opt,name=UserProvinceIds,proto3" json:"UserProvinceIds,omitempty"`
- UserOrganIds string `protobuf:"bytes,5,opt,name=UserOrganIds,proto3" json:"UserOrganIds,omitempty"`
- SysSchoolId string `protobuf:"bytes,6,opt,name=SysSchoolId,proto3" json:"SysSchoolId,omitempty"`
- SysOrganId string `protobuf:"bytes,7,opt,name=SysOrganId,proto3" json:"SysOrganId,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *TokenResponse) Reset() { *m = TokenResponse{} }
- func (m *TokenResponse) String() string { return proto.CompactTextString(m) }
- func (*TokenResponse) ProtoMessage() {}
- func (*TokenResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{3}
- }
- func (m *TokenResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TokenResponse.Unmarshal(m, b)
- }
- func (m *TokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TokenResponse.Marshal(b, m, deterministic)
- }
- func (m *TokenResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TokenResponse.Merge(m, src)
- }
- func (m *TokenResponse) XXX_Size() int {
- return xxx_messageInfo_TokenResponse.Size(m)
- }
- func (m *TokenResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_TokenResponse.DiscardUnknown(m)
- }
- var xxx_messageInfo_TokenResponse proto.InternalMessageInfo
- func (m *TokenResponse) GetUserId() string {
- if m != nil {
- return m.UserId
- }
- return ""
- }
- func (m *TokenResponse) GetUserRoleIds() string {
- if m != nil {
- return m.UserRoleIds
- }
- return ""
- }
- func (m *TokenResponse) GetUserSchoolIds() string {
- if m != nil {
- return m.UserSchoolIds
- }
- return ""
- }
- func (m *TokenResponse) GetUserProvinceIds() string {
- if m != nil {
- return m.UserProvinceIds
- }
- return ""
- }
- func (m *TokenResponse) GetUserOrganIds() string {
- if m != nil {
- return m.UserOrganIds
- }
- return ""
- }
- func (m *TokenResponse) GetSysSchoolId() string {
- if m != nil {
- return m.SysSchoolId
- }
- return ""
- }
- func (m *TokenResponse) GetSysOrganId() string {
- if m != nil {
- return m.SysOrganId
- }
- return ""
- }
- type Empty struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Empty) Reset() { *m = Empty{} }
- func (m *Empty) String() string { return proto.CompactTextString(m) }
- func (*Empty) ProtoMessage() {}
- func (*Empty) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{4}
- }
- func (m *Empty) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Empty.Unmarshal(m, b)
- }
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
- }
- func (m *Empty) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Empty.Merge(m, src)
- }
- func (m *Empty) XXX_Size() int {
- return xxx_messageInfo_Empty.Size(m)
- }
- func (m *Empty) XXX_DiscardUnknown() {
- xxx_messageInfo_Empty.DiscardUnknown(m)
- }
- var xxx_messageInfo_Empty proto.InternalMessageInfo
- type TreeNodes struct {
- Nodes []*TreeNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *TreeNodes) Reset() { *m = TreeNodes{} }
- func (m *TreeNodes) String() string { return proto.CompactTextString(m) }
- func (*TreeNodes) ProtoMessage() {}
- func (*TreeNodes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{5}
- }
- func (m *TreeNodes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TreeNodes.Unmarshal(m, b)
- }
- func (m *TreeNodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TreeNodes.Marshal(b, m, deterministic)
- }
- func (m *TreeNodes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TreeNodes.Merge(m, src)
- }
- func (m *TreeNodes) XXX_Size() int {
- return xxx_messageInfo_TreeNodes.Size(m)
- }
- func (m *TreeNodes) XXX_DiscardUnknown() {
- xxx_messageInfo_TreeNodes.DiscardUnknown(m)
- }
- var xxx_messageInfo_TreeNodes proto.InternalMessageInfo
- func (m *TreeNodes) GetNodes() []*TreeNode {
- if m != nil {
- return m.Nodes
- }
- return nil
- }
- type TreeNode struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
- Parent int64 `protobuf:"varint,3,opt,name=parent,proto3" json:"parent,omitempty"`
- Tag *Tag `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
- Nodes []*TreeNode `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *TreeNode) Reset() { *m = TreeNode{} }
- func (m *TreeNode) String() string { return proto.CompactTextString(m) }
- func (*TreeNode) ProtoMessage() {}
- func (*TreeNode) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{6}
- }
- func (m *TreeNode) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TreeNode.Unmarshal(m, b)
- }
- func (m *TreeNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TreeNode.Marshal(b, m, deterministic)
- }
- func (m *TreeNode) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TreeNode.Merge(m, src)
- }
- func (m *TreeNode) XXX_Size() int {
- return xxx_messageInfo_TreeNode.Size(m)
- }
- func (m *TreeNode) XXX_DiscardUnknown() {
- xxx_messageInfo_TreeNode.DiscardUnknown(m)
- }
- var xxx_messageInfo_TreeNode proto.InternalMessageInfo
- func (m *TreeNode) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *TreeNode) GetText() string {
- if m != nil {
- return m.Text
- }
- return ""
- }
- func (m *TreeNode) GetParent() int64 {
- if m != nil {
- return m.Parent
- }
- return 0
- }
- func (m *TreeNode) GetTag() *Tag {
- if m != nil {
- return m.Tag
- }
- return nil
- }
- func (m *TreeNode) GetNodes() []*TreeNode {
- if m != nil {
- return m.Nodes
- }
- return nil
- }
- type Tag struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Tag) Reset() { *m = Tag{} }
- func (m *Tag) String() string { return proto.CompactTextString(m) }
- func (*Tag) ProtoMessage() {}
- func (*Tag) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{7}
- }
- func (m *Tag) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Tag.Unmarshal(m, b)
- }
- func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Tag.Marshal(b, m, deterministic)
- }
- func (m *Tag) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Tag.Merge(m, src)
- }
- func (m *Tag) XXX_Size() int {
- return xxx_messageInfo_Tag.Size(m)
- }
- func (m *Tag) XXX_DiscardUnknown() {
- xxx_messageInfo_Tag.DiscardUnknown(m)
- }
- var xxx_messageInfo_Tag proto.InternalMessageInfo
- func (m *Tag) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *Tag) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- type OptionsetReq struct {
- Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *OptionsetReq) Reset() { *m = OptionsetReq{} }
- func (m *OptionsetReq) String() string { return proto.CompactTextString(m) }
- func (*OptionsetReq) ProtoMessage() {}
- func (*OptionsetReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{8}
- }
- func (m *OptionsetReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_OptionsetReq.Unmarshal(m, b)
- }
- func (m *OptionsetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_OptionsetReq.Marshal(b, m, deterministic)
- }
- func (m *OptionsetReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_OptionsetReq.Merge(m, src)
- }
- func (m *OptionsetReq) XXX_Size() int {
- return xxx_messageInfo_OptionsetReq.Size(m)
- }
- func (m *OptionsetReq) XXX_DiscardUnknown() {
- xxx_messageInfo_OptionsetReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_OptionsetReq proto.InternalMessageInfo
- func (m *OptionsetReq) GetCode() string {
- if m != nil {
- return m.Code
- }
- return ""
- }
- type OptionsetRes struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *OptionsetRes) Reset() { *m = OptionsetRes{} }
- func (m *OptionsetRes) String() string { return proto.CompactTextString(m) }
- func (*OptionsetRes) ProtoMessage() {}
- func (*OptionsetRes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{9}
- }
- func (m *OptionsetRes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_OptionsetRes.Unmarshal(m, b)
- }
- func (m *OptionsetRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_OptionsetRes.Marshal(b, m, deterministic)
- }
- func (m *OptionsetRes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_OptionsetRes.Merge(m, src)
- }
- func (m *OptionsetRes) XXX_Size() int {
- return xxx_messageInfo_OptionsetRes.Size(m)
- }
- func (m *OptionsetRes) XXX_DiscardUnknown() {
- xxx_messageInfo_OptionsetRes.DiscardUnknown(m)
- }
- var xxx_messageInfo_OptionsetRes proto.InternalMessageInfo
- func (m *OptionsetRes) GetMapList() map[string]string {
- if m != nil {
- return m.MapList
- }
- return nil
- }
- type OptionCode struct {
- Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *OptionCode) Reset() { *m = OptionCode{} }
- func (m *OptionCode) String() string { return proto.CompactTextString(m) }
- func (*OptionCode) ProtoMessage() {}
- func (*OptionCode) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{10}
- }
- func (m *OptionCode) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_OptionCode.Unmarshal(m, b)
- }
- func (m *OptionCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_OptionCode.Marshal(b, m, deterministic)
- }
- func (m *OptionCode) XXX_Merge(src proto.Message) {
- xxx_messageInfo_OptionCode.Merge(m, src)
- }
- func (m *OptionCode) XXX_Size() int {
- return xxx_messageInfo_OptionCode.Size(m)
- }
- func (m *OptionCode) XXX_DiscardUnknown() {
- xxx_messageInfo_OptionCode.DiscardUnknown(m)
- }
- var xxx_messageInfo_OptionCode proto.InternalMessageInfo
- func (m *OptionCode) GetCode() string {
- if m != nil {
- return m.Code
- }
- return ""
- }
- type Options struct {
- Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Options) Reset() { *m = Options{} }
- func (m *Options) String() string { return proto.CompactTextString(m) }
- func (*Options) ProtoMessage() {}
- func (*Options) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{11}
- }
- func (m *Options) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Options.Unmarshal(m, b)
- }
- func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Options.Marshal(b, m, deterministic)
- }
- func (m *Options) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Options.Merge(m, src)
- }
- func (m *Options) XXX_Size() int {
- return xxx_messageInfo_Options.Size(m)
- }
- func (m *Options) XXX_DiscardUnknown() {
- xxx_messageInfo_Options.DiscardUnknown(m)
- }
- var xxx_messageInfo_Options proto.InternalMessageInfo
- func (m *Options) GetCode() string {
- if m != nil {
- return m.Code
- }
- return ""
- }
- func (m *Options) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *Options) GetValue() string {
- if m != nil {
- return m.Value
- }
- return ""
- }
- type ResponseByte struct {
- Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ResponseByte) Reset() { *m = ResponseByte{} }
- func (m *ResponseByte) String() string { return proto.CompactTextString(m) }
- func (*ResponseByte) ProtoMessage() {}
- func (*ResponseByte) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{12}
- }
- func (m *ResponseByte) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ResponseByte.Unmarshal(m, b)
- }
- func (m *ResponseByte) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ResponseByte.Marshal(b, m, deterministic)
- }
- func (m *ResponseByte) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ResponseByte.Merge(m, src)
- }
- func (m *ResponseByte) XXX_Size() int {
- return xxx_messageInfo_ResponseByte.Size(m)
- }
- func (m *ResponseByte) XXX_DiscardUnknown() {
- xxx_messageInfo_ResponseByte.DiscardUnknown(m)
- }
- var xxx_messageInfo_ResponseByte proto.InternalMessageInfo
- func (m *ResponseByte) GetData() []byte {
- if m != nil {
- return m.Data
- }
- return nil
- }
- type ExcelLogReq struct {
- Module string `protobuf:"bytes,1,opt,name=Module,proto3" json:"Module,omitempty"`
- Cond string `protobuf:"bytes,2,opt,name=Cond,proto3" json:"Cond,omitempty"`
- CreateBy string `protobuf:"bytes,3,opt,name=CreateBy,proto3" json:"CreateBy,omitempty"`
- CreateTime string `protobuf:"bytes,4,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
- LastUpdateBy string `protobuf:"bytes,5,opt,name=LastUpdateBy,proto3" json:"LastUpdateBy,omitempty"`
- LastUpdateTime string `protobuf:"bytes,6,opt,name=LastUpdateTime,proto3" json:"LastUpdateTime,omitempty"`
- DelFlag string `protobuf:"bytes,7,opt,name=DelFlag,proto3" json:"DelFlag,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ExcelLogReq) Reset() { *m = ExcelLogReq{} }
- func (m *ExcelLogReq) String() string { return proto.CompactTextString(m) }
- func (*ExcelLogReq) ProtoMessage() {}
- func (*ExcelLogReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{13}
- }
- func (m *ExcelLogReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ExcelLogReq.Unmarshal(m, b)
- }
- func (m *ExcelLogReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ExcelLogReq.Marshal(b, m, deterministic)
- }
- func (m *ExcelLogReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ExcelLogReq.Merge(m, src)
- }
- func (m *ExcelLogReq) XXX_Size() int {
- return xxx_messageInfo_ExcelLogReq.Size(m)
- }
- func (m *ExcelLogReq) XXX_DiscardUnknown() {
- xxx_messageInfo_ExcelLogReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_ExcelLogReq proto.InternalMessageInfo
- func (m *ExcelLogReq) GetModule() string {
- if m != nil {
- return m.Module
- }
- return ""
- }
- func (m *ExcelLogReq) GetCond() string {
- if m != nil {
- return m.Cond
- }
- return ""
- }
- func (m *ExcelLogReq) GetCreateBy() string {
- if m != nil {
- return m.CreateBy
- }
- return ""
- }
- func (m *ExcelLogReq) GetCreateTime() string {
- if m != nil {
- return m.CreateTime
- }
- return ""
- }
- func (m *ExcelLogReq) GetLastUpdateBy() string {
- if m != nil {
- return m.LastUpdateBy
- }
- return ""
- }
- func (m *ExcelLogReq) GetLastUpdateTime() string {
- if m != nil {
- return m.LastUpdateTime
- }
- return ""
- }
- func (m *ExcelLogReq) GetDelFlag() string {
- if m != nil {
- return m.DelFlag
- }
- return ""
- }
- type ExcelLogRes struct {
- Status int64 `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ExcelLogRes) Reset() { *m = ExcelLogRes{} }
- func (m *ExcelLogRes) String() string { return proto.CompactTextString(m) }
- func (*ExcelLogRes) ProtoMessage() {}
- func (*ExcelLogRes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{14}
- }
- func (m *ExcelLogRes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ExcelLogRes.Unmarshal(m, b)
- }
- func (m *ExcelLogRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ExcelLogRes.Marshal(b, m, deterministic)
- }
- func (m *ExcelLogRes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ExcelLogRes.Merge(m, src)
- }
- func (m *ExcelLogRes) XXX_Size() int {
- return xxx_messageInfo_ExcelLogRes.Size(m)
- }
- func (m *ExcelLogRes) XXX_DiscardUnknown() {
- xxx_messageInfo_ExcelLogRes.DiscardUnknown(m)
- }
- var xxx_messageInfo_ExcelLogRes proto.InternalMessageInfo
- func (m *ExcelLogRes) GetStatus() int64 {
- if m != nil {
- return m.Status
- }
- return 0
- }
- type SchoolIdsReq struct {
- Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *SchoolIdsReq) Reset() { *m = SchoolIdsReq{} }
- func (m *SchoolIdsReq) String() string { return proto.CompactTextString(m) }
- func (*SchoolIdsReq) ProtoMessage() {}
- func (*SchoolIdsReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{15}
- }
- func (m *SchoolIdsReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SchoolIdsReq.Unmarshal(m, b)
- }
- func (m *SchoolIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SchoolIdsReq.Marshal(b, m, deterministic)
- }
- func (m *SchoolIdsReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SchoolIdsReq.Merge(m, src)
- }
- func (m *SchoolIdsReq) XXX_Size() int {
- return xxx_messageInfo_SchoolIdsReq.Size(m)
- }
- func (m *SchoolIdsReq) XXX_DiscardUnknown() {
- xxx_messageInfo_SchoolIdsReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_SchoolIdsReq proto.InternalMessageInfo
- func (m *SchoolIdsReq) GetNames() []string {
- if m != nil {
- return m.Names
- }
- return nil
- }
- type ListOfInt struct {
- Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ListOfInt) Reset() { *m = ListOfInt{} }
- func (m *ListOfInt) String() string { return proto.CompactTextString(m) }
- func (*ListOfInt) ProtoMessage() {}
- func (*ListOfInt) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{16}
- }
- func (m *ListOfInt) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListOfInt.Unmarshal(m, b)
- }
- func (m *ListOfInt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListOfInt.Marshal(b, m, deterministic)
- }
- func (m *ListOfInt) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListOfInt.Merge(m, src)
- }
- func (m *ListOfInt) XXX_Size() int {
- return xxx_messageInfo_ListOfInt.Size(m)
- }
- func (m *ListOfInt) XXX_DiscardUnknown() {
- xxx_messageInfo_ListOfInt.DiscardUnknown(m)
- }
- var xxx_messageInfo_ListOfInt proto.InternalMessageInfo
- func (m *ListOfInt) GetIds() []int64 {
- if m != nil {
- return m.Ids
- }
- return nil
- }
- type SchoolIdsRes struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *SchoolIdsRes) Reset() { *m = SchoolIdsRes{} }
- func (m *SchoolIdsRes) String() string { return proto.CompactTextString(m) }
- func (*SchoolIdsRes) ProtoMessage() {}
- func (*SchoolIdsRes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{17}
- }
- func (m *SchoolIdsRes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SchoolIdsRes.Unmarshal(m, b)
- }
- func (m *SchoolIdsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SchoolIdsRes.Marshal(b, m, deterministic)
- }
- func (m *SchoolIdsRes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SchoolIdsRes.Merge(m, src)
- }
- func (m *SchoolIdsRes) XXX_Size() int {
- return xxx_messageInfo_SchoolIdsRes.Size(m)
- }
- func (m *SchoolIdsRes) XXX_DiscardUnknown() {
- xxx_messageInfo_SchoolIdsRes.DiscardUnknown(m)
- }
- var xxx_messageInfo_SchoolIdsRes proto.InternalMessageInfo
- func (m *SchoolIdsRes) GetMapList() map[string]int64 {
- if m != nil {
- return m.MapList
- }
- return nil
- }
- type CityIdsReq struct {
- Names string `protobuf:"bytes,1,opt,name=names,proto3" json:"names,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CityIdsReq) Reset() { *m = CityIdsReq{} }
- func (m *CityIdsReq) String() string { return proto.CompactTextString(m) }
- func (*CityIdsReq) ProtoMessage() {}
- func (*CityIdsReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{18}
- }
- func (m *CityIdsReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CityIdsReq.Unmarshal(m, b)
- }
- func (m *CityIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CityIdsReq.Marshal(b, m, deterministic)
- }
- func (m *CityIdsReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CityIdsReq.Merge(m, src)
- }
- func (m *CityIdsReq) XXX_Size() int {
- return xxx_messageInfo_CityIdsReq.Size(m)
- }
- func (m *CityIdsReq) XXX_DiscardUnknown() {
- xxx_messageInfo_CityIdsReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_CityIdsReq proto.InternalMessageInfo
- func (m *CityIdsReq) GetNames() string {
- if m != nil {
- return m.Names
- }
- return ""
- }
- type CityIdsRes struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CityIdsRes) Reset() { *m = CityIdsRes{} }
- func (m *CityIdsRes) String() string { return proto.CompactTextString(m) }
- func (*CityIdsRes) ProtoMessage() {}
- func (*CityIdsRes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{19}
- }
- func (m *CityIdsRes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CityIdsRes.Unmarshal(m, b)
- }
- func (m *CityIdsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CityIdsRes.Marshal(b, m, deterministic)
- }
- func (m *CityIdsRes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CityIdsRes.Merge(m, src)
- }
- func (m *CityIdsRes) XXX_Size() int {
- return xxx_messageInfo_CityIdsRes.Size(m)
- }
- func (m *CityIdsRes) XXX_DiscardUnknown() {
- xxx_messageInfo_CityIdsRes.DiscardUnknown(m)
- }
- var xxx_messageInfo_CityIdsRes proto.InternalMessageInfo
- func (m *CityIdsRes) GetMapList() map[string]int64 {
- if m != nil {
- return m.MapList
- }
- return nil
- }
- type BytesReq struct {
- Req []byte `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *BytesReq) Reset() { *m = BytesReq{} }
- func (m *BytesReq) String() string { return proto.CompactTextString(m) }
- func (*BytesReq) ProtoMessage() {}
- func (*BytesReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{20}
- }
- func (m *BytesReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_BytesReq.Unmarshal(m, b)
- }
- func (m *BytesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_BytesReq.Marshal(b, m, deterministic)
- }
- func (m *BytesReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BytesReq.Merge(m, src)
- }
- func (m *BytesReq) XXX_Size() int {
- return xxx_messageInfo_BytesReq.Size(m)
- }
- func (m *BytesReq) XXX_DiscardUnknown() {
- xxx_messageInfo_BytesReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_BytesReq proto.InternalMessageInfo
- func (m *BytesReq) GetReq() []byte {
- if m != nil {
- return m.Req
- }
- return nil
- }
- type BytesResp struct {
- Resp []byte `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *BytesResp) Reset() { *m = BytesResp{} }
- func (m *BytesResp) String() string { return proto.CompactTextString(m) }
- func (*BytesResp) ProtoMessage() {}
- func (*BytesResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{21}
- }
- func (m *BytesResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_BytesResp.Unmarshal(m, b)
- }
- func (m *BytesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_BytesResp.Marshal(b, m, deterministic)
- }
- func (m *BytesResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BytesResp.Merge(m, src)
- }
- func (m *BytesResp) XXX_Size() int {
- return xxx_messageInfo_BytesResp.Size(m)
- }
- func (m *BytesResp) XXX_DiscardUnknown() {
- xxx_messageInfo_BytesResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_BytesResp proto.InternalMessageInfo
- func (m *BytesResp) GetResp() []byte {
- if m != nil {
- return m.Resp
- }
- return nil
- }
- type GetErpRoleRes struct {
- UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetErpRoleRes) Reset() { *m = GetErpRoleRes{} }
- func (m *GetErpRoleRes) String() string { return proto.CompactTextString(m) }
- func (*GetErpRoleRes) ProtoMessage() {}
- func (*GetErpRoleRes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{22}
- }
- func (m *GetErpRoleRes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetErpRoleRes.Unmarshal(m, b)
- }
- func (m *GetErpRoleRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetErpRoleRes.Marshal(b, m, deterministic)
- }
- func (m *GetErpRoleRes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetErpRoleRes.Merge(m, src)
- }
- func (m *GetErpRoleRes) XXX_Size() int {
- return xxx_messageInfo_GetErpRoleRes.Size(m)
- }
- func (m *GetErpRoleRes) XXX_DiscardUnknown() {
- xxx_messageInfo_GetErpRoleRes.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetErpRoleRes proto.InternalMessageInfo
- func (m *GetErpRoleRes) GetUserId() string {
- if m != nil {
- return m.UserId
- }
- return ""
- }
- func (m *GetErpRoleRes) GetRole() string {
- if m != nil {
- return m.Role
- }
- return ""
- }
- type GetErpRoleReq struct {
- Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
- UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetErpRoleReq) Reset() { *m = GetErpRoleReq{} }
- func (m *GetErpRoleReq) String() string { return proto.CompactTextString(m) }
- func (*GetErpRoleReq) ProtoMessage() {}
- func (*GetErpRoleReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{23}
- }
- func (m *GetErpRoleReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetErpRoleReq.Unmarshal(m, b)
- }
- func (m *GetErpRoleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetErpRoleReq.Marshal(b, m, deterministic)
- }
- func (m *GetErpRoleReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetErpRoleReq.Merge(m, src)
- }
- func (m *GetErpRoleReq) XXX_Size() int {
- return xxx_messageInfo_GetErpRoleReq.Size(m)
- }
- func (m *GetErpRoleReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetErpRoleReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetErpRoleReq proto.InternalMessageInfo
- func (m *GetErpRoleReq) GetMobile() string {
- if m != nil {
- return m.Mobile
- }
- return ""
- }
- func (m *GetErpRoleReq) GetUserId() string {
- if m != nil {
- return m.UserId
- }
- return ""
- }
- type GetErpOrganSchPerByUserIdReq struct {
- UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetErpOrganSchPerByUserIdReq) Reset() { *m = GetErpOrganSchPerByUserIdReq{} }
- func (m *GetErpOrganSchPerByUserIdReq) String() string { return proto.CompactTextString(m) }
- func (*GetErpOrganSchPerByUserIdReq) ProtoMessage() {}
- func (*GetErpOrganSchPerByUserIdReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{24}
- }
- func (m *GetErpOrganSchPerByUserIdReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetErpOrganSchPerByUserIdReq.Unmarshal(m, b)
- }
- func (m *GetErpOrganSchPerByUserIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetErpOrganSchPerByUserIdReq.Marshal(b, m, deterministic)
- }
- func (m *GetErpOrganSchPerByUserIdReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetErpOrganSchPerByUserIdReq.Merge(m, src)
- }
- func (m *GetErpOrganSchPerByUserIdReq) XXX_Size() int {
- return xxx_messageInfo_GetErpOrganSchPerByUserIdReq.Size(m)
- }
- func (m *GetErpOrganSchPerByUserIdReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetErpOrganSchPerByUserIdReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetErpOrganSchPerByUserIdReq proto.InternalMessageInfo
- func (m *GetErpOrganSchPerByUserIdReq) GetUserId() string {
- if m != nil {
- return m.UserId
- }
- return ""
- }
- type GetErpOrganSchPerByUserIdRes struct {
- School []*OrganSchool `protobuf:"bytes,1,rep,name=school,proto3" json:"school,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetErpOrganSchPerByUserIdRes) Reset() { *m = GetErpOrganSchPerByUserIdRes{} }
- func (m *GetErpOrganSchPerByUserIdRes) String() string { return proto.CompactTextString(m) }
- func (*GetErpOrganSchPerByUserIdRes) ProtoMessage() {}
- func (*GetErpOrganSchPerByUserIdRes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{25}
- }
- func (m *GetErpOrganSchPerByUserIdRes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetErpOrganSchPerByUserIdRes.Unmarshal(m, b)
- }
- func (m *GetErpOrganSchPerByUserIdRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetErpOrganSchPerByUserIdRes.Marshal(b, m, deterministic)
- }
- func (m *GetErpOrganSchPerByUserIdRes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetErpOrganSchPerByUserIdRes.Merge(m, src)
- }
- func (m *GetErpOrganSchPerByUserIdRes) XXX_Size() int {
- return xxx_messageInfo_GetErpOrganSchPerByUserIdRes.Size(m)
- }
- func (m *GetErpOrganSchPerByUserIdRes) XXX_DiscardUnknown() {
- xxx_messageInfo_GetErpOrganSchPerByUserIdRes.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetErpOrganSchPerByUserIdRes proto.InternalMessageInfo
- func (m *GetErpOrganSchPerByUserIdRes) GetSchool() []*OrganSchool {
- if m != nil {
- return m.School
- }
- return nil
- }
- type OrganSchool struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- OrganId int64 `protobuf:"varint,3,opt,name=organ_id,json=organId,proto3" json:"organ_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *OrganSchool) Reset() { *m = OrganSchool{} }
- func (m *OrganSchool) String() string { return proto.CompactTextString(m) }
- func (*OrganSchool) ProtoMessage() {}
- func (*OrganSchool) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{26}
- }
- func (m *OrganSchool) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_OrganSchool.Unmarshal(m, b)
- }
- func (m *OrganSchool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_OrganSchool.Marshal(b, m, deterministic)
- }
- func (m *OrganSchool) XXX_Merge(src proto.Message) {
- xxx_messageInfo_OrganSchool.Merge(m, src)
- }
- func (m *OrganSchool) XXX_Size() int {
- return xxx_messageInfo_OrganSchool.Size(m)
- }
- func (m *OrganSchool) XXX_DiscardUnknown() {
- xxx_messageInfo_OrganSchool.DiscardUnknown(m)
- }
- var xxx_messageInfo_OrganSchool proto.InternalMessageInfo
- func (m *OrganSchool) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *OrganSchool) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *OrganSchool) GetOrganId() int64 {
- if m != nil {
- return m.OrganId
- }
- return 0
- }
- type GetErpSchoolRes struct {
- School []*OrganSchool `protobuf:"bytes,1,rep,name=school,proto3" json:"school,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetErpSchoolRes) Reset() { *m = GetErpSchoolRes{} }
- func (m *GetErpSchoolRes) String() string { return proto.CompactTextString(m) }
- func (*GetErpSchoolRes) ProtoMessage() {}
- func (*GetErpSchoolRes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{27}
- }
- func (m *GetErpSchoolRes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetErpSchoolRes.Unmarshal(m, b)
- }
- func (m *GetErpSchoolRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetErpSchoolRes.Marshal(b, m, deterministic)
- }
- func (m *GetErpSchoolRes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetErpSchoolRes.Merge(m, src)
- }
- func (m *GetErpSchoolRes) XXX_Size() int {
- return xxx_messageInfo_GetErpSchoolRes.Size(m)
- }
- func (m *GetErpSchoolRes) XXX_DiscardUnknown() {
- xxx_messageInfo_GetErpSchoolRes.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetErpSchoolRes proto.InternalMessageInfo
- func (m *GetErpSchoolRes) GetSchool() []*OrganSchool {
- if m != nil {
- return m.School
- }
- return nil
- }
- type GetErpActiveReq struct {
- SchId uint64 `protobuf:"varint,1,opt,name=sch_id,json=schId,proto3" json:"sch_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetErpActiveReq) Reset() { *m = GetErpActiveReq{} }
- func (m *GetErpActiveReq) String() string { return proto.CompactTextString(m) }
- func (*GetErpActiveReq) ProtoMessage() {}
- func (*GetErpActiveReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{28}
- }
- func (m *GetErpActiveReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetErpActiveReq.Unmarshal(m, b)
- }
- func (m *GetErpActiveReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetErpActiveReq.Marshal(b, m, deterministic)
- }
- func (m *GetErpActiveReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetErpActiveReq.Merge(m, src)
- }
- func (m *GetErpActiveReq) XXX_Size() int {
- return xxx_messageInfo_GetErpActiveReq.Size(m)
- }
- func (m *GetErpActiveReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetErpActiveReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetErpActiveReq proto.InternalMessageInfo
- func (m *GetErpActiveReq) GetSchId() uint64 {
- if m != nil {
- return m.SchId
- }
- return 0
- }
- type GetErpActiveRes struct {
- Active []*Active `protobuf:"bytes,1,rep,name=active,proto3" json:"active,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetErpActiveRes) Reset() { *m = GetErpActiveRes{} }
- func (m *GetErpActiveRes) String() string { return proto.CompactTextString(m) }
- func (*GetErpActiveRes) ProtoMessage() {}
- func (*GetErpActiveRes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{29}
- }
- func (m *GetErpActiveRes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetErpActiveRes.Unmarshal(m, b)
- }
- func (m *GetErpActiveRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetErpActiveRes.Marshal(b, m, deterministic)
- }
- func (m *GetErpActiveRes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetErpActiveRes.Merge(m, src)
- }
- func (m *GetErpActiveRes) XXX_Size() int {
- return xxx_messageInfo_GetErpActiveRes.Size(m)
- }
- func (m *GetErpActiveRes) XXX_DiscardUnknown() {
- xxx_messageInfo_GetErpActiveRes.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetErpActiveRes proto.InternalMessageInfo
- func (m *GetErpActiveRes) GetActive() []*Active {
- if m != nil {
- return m.Active
- }
- return nil
- }
- type Active struct {
- ActiveId int64 `protobuf:"varint,1,opt,name=active_id,json=activeId,proto3" json:"active_id,omitempty"`
- MaName string `protobuf:"bytes,2,opt,name=ma_name,json=maName,proto3" json:"ma_name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Active) Reset() { *m = Active{} }
- func (m *Active) String() string { return proto.CompactTextString(m) }
- func (*Active) ProtoMessage() {}
- func (*Active) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{30}
- }
- func (m *Active) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Active.Unmarshal(m, b)
- }
- func (m *Active) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Active.Marshal(b, m, deterministic)
- }
- func (m *Active) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Active.Merge(m, src)
- }
- func (m *Active) XXX_Size() int {
- return xxx_messageInfo_Active.Size(m)
- }
- func (m *Active) XXX_DiscardUnknown() {
- xxx_messageInfo_Active.DiscardUnknown(m)
- }
- var xxx_messageInfo_Active proto.InternalMessageInfo
- func (m *Active) GetActiveId() int64 {
- if m != nil {
- return m.ActiveId
- }
- return 0
- }
- func (m *Active) GetMaName() string {
- if m != nil {
- return m.MaName
- }
- return ""
- }
- type DataPermissionReq struct {
- RuleCode string `protobuf:"bytes,1,opt,name=rule_code,json=ruleCode,proto3" json:"rule_code,omitempty"`
- UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DataPermissionReq) Reset() { *m = DataPermissionReq{} }
- func (m *DataPermissionReq) String() string { return proto.CompactTextString(m) }
- func (*DataPermissionReq) ProtoMessage() {}
- func (*DataPermissionReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{31}
- }
- func (m *DataPermissionReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DataPermissionReq.Unmarshal(m, b)
- }
- func (m *DataPermissionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DataPermissionReq.Marshal(b, m, deterministic)
- }
- func (m *DataPermissionReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DataPermissionReq.Merge(m, src)
- }
- func (m *DataPermissionReq) XXX_Size() int {
- return xxx_messageInfo_DataPermissionReq.Size(m)
- }
- func (m *DataPermissionReq) XXX_DiscardUnknown() {
- xxx_messageInfo_DataPermissionReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_DataPermissionReq proto.InternalMessageInfo
- func (m *DataPermissionReq) GetRuleCode() string {
- if m != nil {
- return m.RuleCode
- }
- return ""
- }
- func (m *DataPermissionReq) GetUserId() string {
- if m != nil {
- return m.UserId
- }
- return ""
- }
- type DataPermissionRes struct {
- 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DataPermissionRes) Reset() { *m = DataPermissionRes{} }
- func (m *DataPermissionRes) String() string { return proto.CompactTextString(m) }
- func (*DataPermissionRes) ProtoMessage() {}
- func (*DataPermissionRes) Descriptor() ([]byte, []int) {
- return fileDescriptor_cb4a498eeb2ba07d, []int{32}
- }
- func (m *DataPermissionRes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DataPermissionRes.Unmarshal(m, b)
- }
- func (m *DataPermissionRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DataPermissionRes.Marshal(b, m, deterministic)
- }
- func (m *DataPermissionRes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DataPermissionRes.Merge(m, src)
- }
- func (m *DataPermissionRes) XXX_Size() int {
- return xxx_messageInfo_DataPermissionRes.Size(m)
- }
- func (m *DataPermissionRes) XXX_DiscardUnknown() {
- xxx_messageInfo_DataPermissionRes.DiscardUnknown(m)
- }
- var xxx_messageInfo_DataPermissionRes proto.InternalMessageInfo
- func (m *DataPermissionRes) GetMapList() map[string]string {
- if m != nil {
- return m.MapList
- }
- return nil
- }
- func init() {
- proto.RegisterType((*UserRequest)(nil), "transform.UserRequest")
- proto.RegisterType((*UserResponse)(nil), "transform.UserResponse")
- proto.RegisterType((*TokenRequest)(nil), "transform.TokenRequest")
- proto.RegisterType((*TokenResponse)(nil), "transform.TokenResponse")
- proto.RegisterType((*Empty)(nil), "transform.Empty")
- proto.RegisterType((*TreeNodes)(nil), "transform.TreeNodes")
- proto.RegisterType((*TreeNode)(nil), "transform.TreeNode")
- proto.RegisterType((*Tag)(nil), "transform.Tag")
- proto.RegisterType((*OptionsetReq)(nil), "transform.OptionsetReq")
- proto.RegisterType((*OptionsetRes)(nil), "transform.OptionsetRes")
- proto.RegisterMapType((map[string]string)(nil), "transform.OptionsetRes.MapListEntry")
- proto.RegisterType((*OptionCode)(nil), "transform.OptionCode")
- proto.RegisterType((*Options)(nil), "transform.Options")
- proto.RegisterType((*ResponseByte)(nil), "transform.ResponseByte")
- proto.RegisterType((*ExcelLogReq)(nil), "transform.ExcelLogReq")
- proto.RegisterType((*ExcelLogRes)(nil), "transform.ExcelLogRes")
- proto.RegisterType((*SchoolIdsReq)(nil), "transform.SchoolIdsReq")
- proto.RegisterType((*ListOfInt)(nil), "transform.ListOfInt")
- proto.RegisterType((*SchoolIdsRes)(nil), "transform.SchoolIdsRes")
- proto.RegisterMapType((map[string]int64)(nil), "transform.SchoolIdsRes.MapListEntry")
- proto.RegisterType((*CityIdsReq)(nil), "transform.CityIdsReq")
- proto.RegisterType((*CityIdsRes)(nil), "transform.CityIdsRes")
- proto.RegisterMapType((map[string]int64)(nil), "transform.CityIdsRes.MapListEntry")
- proto.RegisterType((*BytesReq)(nil), "transform.BytesReq")
- proto.RegisterType((*BytesResp)(nil), "transform.BytesResp")
- proto.RegisterType((*GetErpRoleRes)(nil), "transform.GetErpRoleRes")
- proto.RegisterType((*GetErpRoleReq)(nil), "transform.GetErpRoleReq")
- proto.RegisterType((*GetErpOrganSchPerByUserIdReq)(nil), "transform.GetErpOrganSchPerByUserIdReq")
- proto.RegisterType((*GetErpOrganSchPerByUserIdRes)(nil), "transform.GetErpOrganSchPerByUserIdRes")
- proto.RegisterType((*OrganSchool)(nil), "transform.OrganSchool")
- proto.RegisterType((*GetErpSchoolRes)(nil), "transform.GetErpSchoolRes")
- proto.RegisterType((*GetErpActiveReq)(nil), "transform.GetErpActiveReq")
- proto.RegisterType((*GetErpActiveRes)(nil), "transform.GetErpActiveRes")
- proto.RegisterType((*Active)(nil), "transform.Active")
- proto.RegisterType((*DataPermissionReq)(nil), "transform.DataPermissionReq")
- proto.RegisterType((*DataPermissionRes)(nil), "transform.DataPermissionRes")
- proto.RegisterMapType((map[string]string)(nil), "transform.DataPermissionRes.MapListEntry")
- }
- func init() { proto.RegisterFile("transform.proto", fileDescriptor_cb4a498eeb2ba07d) }
- var fileDescriptor_cb4a498eeb2ba07d = []byte{
- // 1242 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x5b, 0x6f, 0xdb, 0x36,
- 0x14, 0x86, 0xa2, 0xf8, 0x76, 0xec, 0xa4, 0x2d, 0x97, 0xa6, 0xae, 0xd6, 0x6d, 0x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xcd, 0xc7, 0x11, 0x6d, 0xbb, 0x64, 0x0c,
- 0xc1, 0xd3, 0xa9, 0x2f, 0xc5, 0xfa, 0x0c, 0xc8, 0x34, 0x00, 0xe4, 0x14, 0x9e, 0xb4, 0xb9, 0x9a,
- 0xac, 0x36, 0xf2, 0xe2, 0x9e, 0x42, 0xbc, 0x09, 0xee, 0x93, 0x4a, 0x72, 0x00, 0x81, 0x49, 0xe7,
- 0xf8, 0x5a, 0x9d, 0x70, 0xf5, 0xb3, 0xc8, 0xaf, 0x0f, 0xb8, 0x62, 0x71, 0xf2, 0xaf, 0x6e, 0xb5,
- 0x0f, 0xcf, 0xe7, 0x4e, 0x41, 0xf2, 0xbd, 0x63, 0x72, 0xdf, 0x90, 0x0d, 0x1e, 0xa8, 0x88, 0x15,
- 0x00, 0xe3, 0x79, 0x4f, 0x9a, 0x53, 0x66, 0x76, 0x0d, 0x04, 0xf3, 0x24, 0x78, 0x0b, 0x0d, 0x77,
- 0x30, 0xce, 0xf8, 0xd0, 0x60, 0xca, 0x76, 0x3c, 0x43, 0xdf, 0x16, 0xd6, 0x76, 0x62, 0x4d, 0xeb,
- 0x8e, 0x86, 0x65, 0x30, 0x5f, 0x26, 0xdf, 0x97, 0xf5, 0x0f, 0xe4, 0xcb, 0x7f, 0x02, 0x00, 0x00,
- 0xff, 0xff, 0x5f, 0x30, 0x8c, 0x56, 0x53, 0x0e, 0x00, 0x00,
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConn
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion4
- // TransformClient is the client API for Transform service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type TransformClient interface {
- GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error)
- ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error)
- //获取erp 省、城市树
- GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
- //获取erp 字典
- LoadOptionset(ctx context.Context, in *OptionsetReq, opts ...grpc.CallOption) (*OptionsetRes, error)
- GetSchoolIds(ctx context.Context, in *SchoolIdsReq, opts ...grpc.CallOption) (*SchoolIdsRes, error)
- GetCityIds(ctx context.Context, in *CityIdsReq, opts ...grpc.CallOption) (*CityIdsRes, error)
- PostExcelLog(ctx context.Context, in *ExcelLogReq, opts ...grpc.CallOption) (*ExcelLogRes, error)
- GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error)
- //获取数据权限
- GetDataPermission(ctx context.Context, in *DataPermissionReq, opts ...grpc.CallOption) (*DataPermissionRes, error)
- //获取erp 渠道细分树
- GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
- //获取erp 用户校区权限
- GetErpOrganSchPerByUserId(ctx context.Context, in *GetErpOrganSchPerByUserIdReq, opts ...grpc.CallOption) (*GetErpOrganSchPerByUserIdRes, error)
- //获取 erp 用户角色
- GetErpRole(ctx context.Context, in *GetErpRoleReq, opts ...grpc.CallOption) (*GetErpRoleRes, error)
- //获取 erp 全部校区
- GetErpSchool(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetErpSchoolRes, error)
- //获取 erp 活动
- GetErpActive(ctx context.Context, in *GetErpActiveReq, opts ...grpc.CallOption) (*GetErpActiveRes, error)
- }
- type transformClient struct {
- cc *grpc.ClientConn
- }
- func NewTransformClient(cc *grpc.ClientConn) TransformClient {
- return &transformClient{cc}
- }
- func (c *transformClient) GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error) {
- out := new(UserResponse)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetUser", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error) {
- out := new(TokenResponse)
- err := c.cc.Invoke(ctx, "/transform.Transform/ParseToken", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error) {
- out := new(TreeNodes)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetErpCityTree", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) LoadOptionset(ctx context.Context, in *OptionsetReq, opts ...grpc.CallOption) (*OptionsetRes, error) {
- out := new(OptionsetRes)
- err := c.cc.Invoke(ctx, "/transform.Transform/LoadOptionset", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetSchoolIds(ctx context.Context, in *SchoolIdsReq, opts ...grpc.CallOption) (*SchoolIdsRes, error) {
- out := new(SchoolIdsRes)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetSchoolIds", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetCityIds(ctx context.Context, in *CityIdsReq, opts ...grpc.CallOption) (*CityIdsRes, error) {
- out := new(CityIdsRes)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetCityIds", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) PostExcelLog(ctx context.Context, in *ExcelLogReq, opts ...grpc.CallOption) (*ExcelLogRes, error) {
- out := new(ExcelLogRes)
- err := c.cc.Invoke(ctx, "/transform.Transform/PostExcelLog", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error) {
- out := new(Options)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetErpOptionset", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetDataPermission(ctx context.Context, in *DataPermissionReq, opts ...grpc.CallOption) (*DataPermissionRes, error) {
- out := new(DataPermissionRes)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetDataPermission", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error) {
- out := new(TreeNodes)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetErpMktNetWorkDetailTree", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetErpOrganSchPerByUserId(ctx context.Context, in *GetErpOrganSchPerByUserIdReq, opts ...grpc.CallOption) (*GetErpOrganSchPerByUserIdRes, error) {
- out := new(GetErpOrganSchPerByUserIdRes)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetErpOrganSchPerByUserId", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetErpRole(ctx context.Context, in *GetErpRoleReq, opts ...grpc.CallOption) (*GetErpRoleRes, error) {
- out := new(GetErpRoleRes)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetErpRole", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetErpSchool(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetErpSchoolRes, error) {
- out := new(GetErpSchoolRes)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetErpSchool", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *transformClient) GetErpActive(ctx context.Context, in *GetErpActiveReq, opts ...grpc.CallOption) (*GetErpActiveRes, error) {
- out := new(GetErpActiveRes)
- err := c.cc.Invoke(ctx, "/transform.Transform/GetErpActive", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // TransformServer is the server API for Transform service.
- type TransformServer interface {
- GetUser(context.Context, *UserRequest) (*UserResponse, error)
- ParseToken(context.Context, *TokenRequest) (*TokenResponse, error)
- //获取erp 省、城市树
- GetErpCityTree(context.Context, *Empty) (*TreeNodes, error)
- //获取erp 字典
- LoadOptionset(context.Context, *OptionsetReq) (*OptionsetRes, error)
- GetSchoolIds(context.Context, *SchoolIdsReq) (*SchoolIdsRes, error)
- GetCityIds(context.Context, *CityIdsReq) (*CityIdsRes, error)
- PostExcelLog(context.Context, *ExcelLogReq) (*ExcelLogRes, error)
- GetErpOptionset(context.Context, *OptionCode) (*Options, error)
- //获取数据权限
- GetDataPermission(context.Context, *DataPermissionReq) (*DataPermissionRes, error)
- //获取erp 渠道细分树
- GetErpMktNetWorkDetailTree(context.Context, *Empty) (*TreeNodes, error)
- //获取erp 用户校区权限
- GetErpOrganSchPerByUserId(context.Context, *GetErpOrganSchPerByUserIdReq) (*GetErpOrganSchPerByUserIdRes, error)
- //获取 erp 用户角色
- GetErpRole(context.Context, *GetErpRoleReq) (*GetErpRoleRes, error)
- //获取 erp 全部校区
- GetErpSchool(context.Context, *Empty) (*GetErpSchoolRes, error)
- //获取 erp 活动
- GetErpActive(context.Context, *GetErpActiveReq) (*GetErpActiveRes, error)
- }
- // UnimplementedTransformServer can be embedded to have forward compatible implementations.
- type UnimplementedTransformServer struct {
- }
- func (*UnimplementedTransformServer) GetUser(ctx context.Context, req *UserRequest) (*UserResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
- }
- func (*UnimplementedTransformServer) ParseToken(ctx context.Context, req *TokenRequest) (*TokenResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ParseToken not implemented")
- }
- func (*UnimplementedTransformServer) GetErpCityTree(ctx context.Context, req *Empty) (*TreeNodes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetErpCityTree not implemented")
- }
- func (*UnimplementedTransformServer) LoadOptionset(ctx context.Context, req *OptionsetReq) (*OptionsetRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LoadOptionset not implemented")
- }
- func (*UnimplementedTransformServer) GetSchoolIds(ctx context.Context, req *SchoolIdsReq) (*SchoolIdsRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetSchoolIds not implemented")
- }
- func (*UnimplementedTransformServer) GetCityIds(ctx context.Context, req *CityIdsReq) (*CityIdsRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetCityIds not implemented")
- }
- func (*UnimplementedTransformServer) PostExcelLog(ctx context.Context, req *ExcelLogReq) (*ExcelLogRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PostExcelLog not implemented")
- }
- func (*UnimplementedTransformServer) GetErpOptionset(ctx context.Context, req *OptionCode) (*Options, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetErpOptionset not implemented")
- }
- func (*UnimplementedTransformServer) GetDataPermission(ctx context.Context, req *DataPermissionReq) (*DataPermissionRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetDataPermission not implemented")
- }
- func (*UnimplementedTransformServer) GetErpMktNetWorkDetailTree(ctx context.Context, req *Empty) (*TreeNodes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetErpMktNetWorkDetailTree not implemented")
- }
- func (*UnimplementedTransformServer) GetErpOrganSchPerByUserId(ctx context.Context, req *GetErpOrganSchPerByUserIdReq) (*GetErpOrganSchPerByUserIdRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetErpOrganSchPerByUserId not implemented")
- }
- func (*UnimplementedTransformServer) GetErpRole(ctx context.Context, req *GetErpRoleReq) (*GetErpRoleRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetErpRole not implemented")
- }
- func (*UnimplementedTransformServer) GetErpSchool(ctx context.Context, req *Empty) (*GetErpSchoolRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetErpSchool not implemented")
- }
- func (*UnimplementedTransformServer) GetErpActive(ctx context.Context, req *GetErpActiveReq) (*GetErpActiveRes, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetErpActive not implemented")
- }
- func RegisterTransformServer(s *grpc.Server, srv TransformServer) {
- s.RegisterService(&_Transform_serviceDesc, srv)
- }
- func _Transform_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetUser",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetUser(ctx, req.(*UserRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_ParseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TokenRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).ParseToken(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/ParseToken",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).ParseToken(ctx, req.(*TokenRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetErpCityTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetErpCityTree(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetErpCityTree",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetErpCityTree(ctx, req.(*Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_LoadOptionset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OptionsetReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).LoadOptionset(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/LoadOptionset",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).LoadOptionset(ctx, req.(*OptionsetReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetSchoolIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SchoolIdsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetSchoolIds(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetSchoolIds",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetSchoolIds(ctx, req.(*SchoolIdsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetCityIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CityIdsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetCityIds(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetCityIds",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetCityIds(ctx, req.(*CityIdsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_PostExcelLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ExcelLogReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).PostExcelLog(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/PostExcelLog",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).PostExcelLog(ctx, req.(*ExcelLogReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetErpOptionset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OptionCode)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetErpOptionset(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetErpOptionset",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetErpOptionset(ctx, req.(*OptionCode))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetDataPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DataPermissionReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetDataPermission(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetDataPermission",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetDataPermission(ctx, req.(*DataPermissionReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetErpMktNetWorkDetailTree_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetErpMktNetWorkDetailTree(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetErpMktNetWorkDetailTree",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetErpMktNetWorkDetailTree(ctx, req.(*Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetErpOrganSchPerByUserId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetErpOrganSchPerByUserIdReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetErpOrganSchPerByUserId(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetErpOrganSchPerByUserId",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetErpOrganSchPerByUserId(ctx, req.(*GetErpOrganSchPerByUserIdReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetErpRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetErpRoleReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetErpRole(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetErpRole",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetErpRole(ctx, req.(*GetErpRoleReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetErpSchool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetErpSchool(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetErpSchool",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetErpSchool(ctx, req.(*Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _Transform_GetErpActive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetErpActiveReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(TransformServer).GetErpActive(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/transform.Transform/GetErpActive",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(TransformServer).GetErpActive(ctx, req.(*GetErpActiveReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _Transform_serviceDesc = grpc.ServiceDesc{
- ServiceName: "transform.Transform",
- HandlerType: (*TransformServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "GetUser",
- Handler: _Transform_GetUser_Handler,
- },
- {
- MethodName: "ParseToken",
- Handler: _Transform_ParseToken_Handler,
- },
- {
- MethodName: "GetErpCityTree",
- Handler: _Transform_GetErpCityTree_Handler,
- },
- {
- MethodName: "LoadOptionset",
- Handler: _Transform_LoadOptionset_Handler,
- },
- {
- MethodName: "GetSchoolIds",
- Handler: _Transform_GetSchoolIds_Handler,
- },
- {
- MethodName: "GetCityIds",
- Handler: _Transform_GetCityIds_Handler,
- },
- {
- MethodName: "PostExcelLog",
- Handler: _Transform_PostExcelLog_Handler,
- },
- {
- MethodName: "GetErpOptionset",
- Handler: _Transform_GetErpOptionset_Handler,
- },
- {
- MethodName: "GetDataPermission",
- Handler: _Transform_GetDataPermission_Handler,
- },
- {
- MethodName: "GetErpMktNetWorkDetailTree",
- Handler: _Transform_GetErpMktNetWorkDetailTree_Handler,
- },
- {
- MethodName: "GetErpOrganSchPerByUserId",
- Handler: _Transform_GetErpOrganSchPerByUserId_Handler,
- },
- {
- MethodName: "GetErpRole",
- Handler: _Transform_GetErpRole_Handler,
- },
- {
- MethodName: "GetErpSchool",
- Handler: _Transform_GetErpSchool_Handler,
- },
- {
- MethodName: "GetErpActive",
- Handler: _Transform_GetErpActive_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "transform.proto",
- }
|