docs.go 857 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "OK",
  1216. "schema": {
  1217. "type": "array",
  1218. "items": {
  1219. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1220. }
  1221. }
  1222. },
  1223. "500": {
  1224. "description": "Internal Server Error",
  1225. "schema": {
  1226. "$ref": "#/definitions/app.Response"
  1227. }
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1233. "get": {
  1234. "security": [
  1235. {
  1236. "ApiKeyAuth": []
  1237. }
  1238. ],
  1239. "produces": [
  1240. "application/json"
  1241. ],
  1242. "tags": [
  1243. "企业风险管理(app)"
  1244. ],
  1245. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1246. "parameters": [
  1247. {
  1248. "type": "integer",
  1249. "description": "用户ID",
  1250. "name": "userid",
  1251. "in": "query",
  1252. "required": true
  1253. },
  1254. {
  1255. "type": "integer",
  1256. "description": "账号id",
  1257. "name": "accountid",
  1258. "in": "query"
  1259. }
  1260. ],
  1261. "responses": {
  1262. "200": {
  1263. "description": "OK",
  1264. "schema": {
  1265. "type": "array",
  1266. "items": {
  1267. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1268. }
  1269. }
  1270. },
  1271. "500": {
  1272. "description": "Internal Server Error",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/Ermcp/QueryAccMgrTaaccount": {
  1281. "get": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "produces": [
  1288. "application/json"
  1289. ],
  1290. "tags": [
  1291. "企业风险管理(app)"
  1292. ],
  1293. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1294. "parameters": [
  1295. {
  1296. "type": "integer",
  1297. "description": "用户ID",
  1298. "name": "userid",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "所属机构ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryBusinessDj": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "UserId",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "integer",
  1388. "description": "用户类型 2-机构 7-企业成员",
  1389. "name": "usertype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "现货合同ID, 不填则查所有",
  1395. "name": "relatedid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1401. "name": "applystatus",
  1402. "in": "query"
  1403. }
  1404. ],
  1405. "responses": {
  1406. "200": {
  1407. "description": "OK",
  1408. "schema": {
  1409. "type": "array",
  1410. "items": {
  1411. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1412. }
  1413. }
  1414. },
  1415. "500": {
  1416. "description": "Internal Server Error",
  1417. "schema": {
  1418. "$ref": "#/definitions/app.Response"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "/Ermcp/QueryBusinessFp": {
  1425. "get": {
  1426. "security": [
  1427. {
  1428. "ApiKeyAuth": []
  1429. }
  1430. ],
  1431. "produces": [
  1432. "application/json"
  1433. ],
  1434. "tags": [
  1435. "企业风险管理(app)"
  1436. ],
  1437. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1438. "parameters": [
  1439. {
  1440. "type": "integer",
  1441. "description": "用户ID",
  1442. "name": "UserId",
  1443. "in": "query",
  1444. "required": true
  1445. },
  1446. {
  1447. "type": "integer",
  1448. "description": "用户类型 2-机构 7-企业成员",
  1449. "name": "usertype",
  1450. "in": "query"
  1451. },
  1452. {
  1453. "type": "string",
  1454. "description": "现货合同ID, 不填则查所有",
  1455. "name": "relatedid",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1461. "name": "applystatus",
  1462. "in": "query"
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "OK",
  1468. "schema": {
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1472. }
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/Ermcp/QueryBusinessJs": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "企业风险管理(app)"
  1496. ],
  1497. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "用户ID",
  1502. "name": "UserId",
  1503. "in": "query",
  1504. "required": true
  1505. },
  1506. {
  1507. "type": "integer",
  1508. "description": "用户类型 2-机构 7-企业成员",
  1509. "name": "usertype",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "现货合同ID, 不填则查所有",
  1515. "name": "relatedid",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "操作申请id",
  1521. "name": "operateapplyid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1527. "name": "applystatus",
  1528. "in": "query"
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "OK",
  1534. "schema": {
  1535. "type": "array",
  1536. "items": {
  1537. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1538. }
  1539. }
  1540. },
  1541. "500": {
  1542. "description": "Internal Server Error",
  1543. "schema": {
  1544. "$ref": "#/definitions/app.Response"
  1545. }
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "/Ermcp/QueryBusinessJsEx": {
  1551. "get": {
  1552. "security": [
  1553. {
  1554. "ApiKeyAuth": []
  1555. }
  1556. ],
  1557. "produces": [
  1558. "application/json"
  1559. ],
  1560. "tags": [
  1561. "企业风险管理(app)"
  1562. ],
  1563. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1564. "parameters": [
  1565. {
  1566. "type": "integer",
  1567. "description": "用户ID",
  1568. "name": "UserId",
  1569. "in": "query",
  1570. "required": true
  1571. },
  1572. {
  1573. "type": "integer",
  1574. "description": "用户类型 2-机构 7-企业成员",
  1575. "name": "usertype",
  1576. "in": "query"
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "现货合同ID, 不填则查所有",
  1581. "name": "relatedid",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1587. "name": "applystatus",
  1588. "in": "query"
  1589. }
  1590. ],
  1591. "responses": {
  1592. "200": {
  1593. "description": "OK",
  1594. "schema": {
  1595. "type": "array",
  1596. "items": {
  1597. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1598. }
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/Ermcp/QueryBusinessKx": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "produces": [
  1618. "application/json"
  1619. ],
  1620. "tags": [
  1621. "企业风险管理(app)"
  1622. ],
  1623. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1624. "parameters": [
  1625. {
  1626. "type": "integer",
  1627. "description": "用户ID",
  1628. "name": "UserId",
  1629. "in": "query",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "用户类型 2-机构 7-企业成员",
  1635. "name": "usertype",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "string",
  1640. "description": "现货合同ID, 不填则查所有",
  1641. "name": "relatedid",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1647. "name": "applystatus",
  1648. "in": "query"
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "OK",
  1654. "schema": {
  1655. "type": "array",
  1656. "items": {
  1657. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1658. }
  1659. }
  1660. },
  1661. "500": {
  1662. "description": "Internal Server Error",
  1663. "schema": {
  1664. "$ref": "#/definitions/app.Response"
  1665. }
  1666. }
  1667. }
  1668. }
  1669. },
  1670. "/Ermcp/QueryChangeLog": {
  1671. "get": {
  1672. "security": [
  1673. {
  1674. "ApiKeyAuth": []
  1675. }
  1676. ],
  1677. "produces": [
  1678. "application/json"
  1679. ],
  1680. "tags": [
  1681. "企业风险管理(app)"
  1682. ],
  1683. "summary": "查询变更记录",
  1684. "parameters": [
  1685. {
  1686. "type": "string",
  1687. "description": "合同ID",
  1688. "name": "RelatedId",
  1689. "in": "query",
  1690. "required": true
  1691. }
  1692. ],
  1693. "responses": {
  1694. "200": {
  1695. "description": "OK",
  1696. "schema": {
  1697. "type": "array",
  1698. "items": {
  1699. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1700. }
  1701. }
  1702. },
  1703. "500": {
  1704. "description": "Internal Server Error",
  1705. "schema": {
  1706. "$ref": "#/definitions/app.Response"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/Ermcp/QueryErmcpHisOrderDetails": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "企业风险管理(app)"
  1724. ],
  1725. "summary": "获取企业风管期货历史委托单信息",
  1726. "parameters": [
  1727. {
  1728. "type": "integer",
  1729. "description": "资金账户ID",
  1730. "name": "accountID",
  1731. "in": "query",
  1732. "required": true
  1733. },
  1734. {
  1735. "type": "string",
  1736. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1737. "name": "startDate",
  1738. "in": "query"
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "endDate",
  1744. "in": "query"
  1745. }
  1746. ],
  1747. "responses": {
  1748. "200": {
  1749. "description": "OK",
  1750. "schema": {
  1751. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1752. }
  1753. },
  1754. "500": {
  1755. "description": "Internal Server Error",
  1756. "schema": {
  1757. "$ref": "#/definitions/app.Response"
  1758. }
  1759. }
  1760. }
  1761. }
  1762. },
  1763. "/Ermcp/QueryErmcpHisTradeDetails": {
  1764. "get": {
  1765. "security": [
  1766. {
  1767. "ApiKeyAuth": []
  1768. }
  1769. ],
  1770. "produces": [
  1771. "application/json"
  1772. ],
  1773. "tags": [
  1774. "企业风险管理(app)"
  1775. ],
  1776. "summary": "获取企业风管期货历史成交单信息",
  1777. "parameters": [
  1778. {
  1779. "type": "integer",
  1780. "description": "资金账户ID",
  1781. "name": "accountID",
  1782. "in": "query",
  1783. "required": true
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "商品ID",
  1788. "name": "goodsID",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "买卖方向,0:买 1:卖",
  1794. "name": "buyOrSell",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "关联委托单号",
  1800. "name": "orderID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "string",
  1805. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1806. "name": "startDate",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "endDate",
  1813. "in": "query"
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "获取企业风管期货内部持仓单信息",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "资金账户ID",
  1850. "name": "accountID",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "商品ID",
  1857. "name": "goodsID",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "买卖方向,0:买 1:卖",
  1863. "name": "buyOrSell",
  1864. "in": "query"
  1865. }
  1866. ],
  1867. "responses": {
  1868. "200": {
  1869. "description": "OK",
  1870. "schema": {
  1871. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/Ermcp/QueryErmcpOrderDetails": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "produces": [
  1891. "application/json"
  1892. ],
  1893. "tags": [
  1894. "企业风险管理(app)"
  1895. ],
  1896. "summary": "获取企业风管期货委托单信息",
  1897. "parameters": [
  1898. {
  1899. "type": "integer",
  1900. "description": "资金账户ID",
  1901. "name": "accountID",
  1902. "in": "query",
  1903. "required": true
  1904. }
  1905. ],
  1906. "responses": {
  1907. "200": {
  1908. "description": "OK",
  1909. "schema": {
  1910. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1911. }
  1912. },
  1913. "500": {
  1914. "description": "Internal Server Error",
  1915. "schema": {
  1916. "$ref": "#/definitions/app.Response"
  1917. }
  1918. }
  1919. }
  1920. }
  1921. },
  1922. "/Ermcp/QueryErmcpTradeDetails": {
  1923. "get": {
  1924. "security": [
  1925. {
  1926. "ApiKeyAuth": []
  1927. }
  1928. ],
  1929. "produces": [
  1930. "application/json"
  1931. ],
  1932. "tags": [
  1933. "企业风险管理(app)"
  1934. ],
  1935. "summary": "获取企业风管期货成交单信息",
  1936. "parameters": [
  1937. {
  1938. "type": "integer",
  1939. "description": "资金账户ID",
  1940. "name": "accountID",
  1941. "in": "query",
  1942. "required": true
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "商品ID",
  1947. "name": "goodsID",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "买卖方向,0:买 1:卖",
  1953. "name": "buyOrSell",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "关联委托单号",
  1959. "name": "orderID",
  1960. "in": "query"
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/Ermcp/QueryErmcpTradePosition": {
  1980. "get": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "获取企业风管期货持仓头寸信息",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "资金账户ID",
  1998. "name": "accountID",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "所属市场ID",
  2005. "name": "marketID",
  2006. "in": "query"
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "OK",
  2012. "schema": {
  2013. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2014. }
  2015. },
  2016. "500": {
  2017. "description": "Internal Server Error",
  2018. "schema": {
  2019. "$ref": "#/definitions/app.Response"
  2020. }
  2021. }
  2022. }
  2023. }
  2024. },
  2025. "/Ermcp/QueryExposureDetail": {
  2026. "get": {
  2027. "security": [
  2028. {
  2029. "ApiKeyAuth": []
  2030. }
  2031. ],
  2032. "produces": [
  2033. "application/json"
  2034. ],
  2035. "tags": [
  2036. "企业风险管理(app)"
  2037. ],
  2038. "summary": "查询敞口现货明细",
  2039. "parameters": [
  2040. {
  2041. "type": "integer",
  2042. "description": "所属机构ID",
  2043. "name": "areaUserId",
  2044. "in": "query",
  2045. "required": true
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "套保商品",
  2050. "name": "middleGoodsId",
  2051. "in": "query",
  2052. "required": true
  2053. }
  2054. ],
  2055. "responses": {
  2056. "200": {
  2057. "description": "OK",
  2058. "schema": {
  2059. "type": "array",
  2060. "items": {
  2061. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2062. }
  2063. }
  2064. },
  2065. "500": {
  2066. "description": "Internal Server Error",
  2067. "schema": {
  2068. "$ref": "#/definitions/app.Response"
  2069. }
  2070. }
  2071. }
  2072. }
  2073. },
  2074. "/Ermcp/QueryExposureHedgePosition": {
  2075. "get": {
  2076. "security": [
  2077. {
  2078. "ApiKeyAuth": []
  2079. }
  2080. ],
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "企业风险管理(app)"
  2086. ],
  2087. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2088. "parameters": [
  2089. {
  2090. "type": "integer",
  2091. "description": "用户id",
  2092. "name": "userid",
  2093. "in": "query",
  2094. "required": true
  2095. }
  2096. ],
  2097. "responses": {
  2098. "200": {
  2099. "description": "OK",
  2100. "schema": {
  2101. "type": "array",
  2102. "items": {
  2103. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2104. }
  2105. }
  2106. },
  2107. "500": {
  2108. "description": "Internal Server Error",
  2109. "schema": {
  2110. "$ref": "#/definitions/app.Response"
  2111. }
  2112. }
  2113. }
  2114. }
  2115. },
  2116. "/Ermcp/QueryExposureHedgePositionDetail": {
  2117. "get": {
  2118. "security": [
  2119. {
  2120. "ApiKeyAuth": []
  2121. }
  2122. ],
  2123. "produces": [
  2124. "application/json"
  2125. ],
  2126. "tags": [
  2127. "企业风险管理(app)"
  2128. ],
  2129. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2130. "parameters": [
  2131. {
  2132. "type": "integer",
  2133. "description": "所属机构ID",
  2134. "name": "userid",
  2135. "in": "query",
  2136. "required": true
  2137. },
  2138. {
  2139. "type": "integer",
  2140. "description": "商品id",
  2141. "name": "goodsId",
  2142. "in": "query",
  2143. "required": true
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "OK",
  2149. "schema": {
  2150. "type": "array",
  2151. "items": {
  2152. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2153. }
  2154. }
  2155. },
  2156. "500": {
  2157. "description": "Internal Server Error",
  2158. "schema": {
  2159. "$ref": "#/definitions/app.Response"
  2160. }
  2161. }
  2162. }
  2163. }
  2164. },
  2165. "/Ermcp/QueryExposureSpot": {
  2166. "get": {
  2167. "security": [
  2168. {
  2169. "ApiKeyAuth": []
  2170. }
  2171. ],
  2172. "produces": [
  2173. "application/json"
  2174. ],
  2175. "tags": [
  2176. "企业风险管理(app)"
  2177. ],
  2178. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2179. "parameters": [
  2180. {
  2181. "type": "integer",
  2182. "description": "所属机构ID",
  2183. "name": "areaUserId",
  2184. "in": "query",
  2185. "required": true
  2186. }
  2187. ],
  2188. "responses": {
  2189. "200": {
  2190. "description": "OK",
  2191. "schema": {
  2192. "type": "array",
  2193. "items": {
  2194. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2195. }
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/Ermcp/QueryExposureSpotDetail": {
  2208. "get": {
  2209. "security": [
  2210. {
  2211. "ApiKeyAuth": []
  2212. }
  2213. ],
  2214. "produces": [
  2215. "application/json"
  2216. ],
  2217. "tags": [
  2218. "企业风险管理(app)"
  2219. ],
  2220. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2221. "parameters": [
  2222. {
  2223. "type": "integer",
  2224. "description": "所属机构ID",
  2225. "name": "areaUserId",
  2226. "in": "query",
  2227. "required": true
  2228. },
  2229. {
  2230. "type": "integer",
  2231. "description": "现货品种ID",
  2232. "name": "wrstandardId",
  2233. "in": "query",
  2234. "required": true
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "type": "array",
  2242. "items": {
  2243. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2244. }
  2245. }
  2246. },
  2247. "500": {
  2248. "description": "Internal Server Error",
  2249. "schema": {
  2250. "$ref": "#/definitions/app.Response"
  2251. }
  2252. }
  2253. }
  2254. }
  2255. },
  2256. "/Ermcp/QueryFuturesCompany": {
  2257. "get": {
  2258. "security": [
  2259. {
  2260. "ApiKeyAuth": []
  2261. }
  2262. ],
  2263. "produces": [
  2264. "application/json"
  2265. ],
  2266. "tags": [
  2267. "企业风险管理(app)"
  2268. ],
  2269. "summary": "查询期货公司",
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "type": "array",
  2275. "items": {
  2276. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2277. }
  2278. }
  2279. },
  2280. "500": {
  2281. "description": "Internal Server Error",
  2282. "schema": {
  2283. "$ref": "#/definitions/app.Response"
  2284. }
  2285. }
  2286. }
  2287. }
  2288. },
  2289. "/Ermcp/QueryGGConvertConfig": {
  2290. "get": {
  2291. "security": [
  2292. {
  2293. "ApiKeyAuth": []
  2294. }
  2295. ],
  2296. "produces": [
  2297. "application/json"
  2298. ],
  2299. "tags": [
  2300. "企业风险管理(app)"
  2301. ],
  2302. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2303. "parameters": [
  2304. {
  2305. "type": "integer",
  2306. "description": "品种id(不填则查所有)",
  2307. "name": "goodsgroupid",
  2308. "in": "query"
  2309. }
  2310. ],
  2311. "responses": {
  2312. "200": {
  2313. "description": "OK",
  2314. "schema": {
  2315. "type": "array",
  2316. "items": {
  2317. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2318. }
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryGoodsBrand": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "查询商品品牌",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "用户ID",
  2348. "name": "userid",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "现货商品ID",
  2355. "name": "wrstandardid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsModel": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品型号",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "type": "array",
  2406. "items": {
  2407. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2408. }
  2409. }
  2410. },
  2411. "500": {
  2412. "description": "Internal Server Error",
  2413. "schema": {
  2414. "$ref": "#/definitions/app.Response"
  2415. }
  2416. }
  2417. }
  2418. }
  2419. },
  2420. "/Ermcp/QueryHisExposure": {
  2421. "get": {
  2422. "security": [
  2423. {
  2424. "ApiKeyAuth": []
  2425. }
  2426. ],
  2427. "produces": [
  2428. "application/json"
  2429. ],
  2430. "tags": [
  2431. "企业风险管理(app)"
  2432. ],
  2433. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2434. "parameters": [
  2435. {
  2436. "type": "integer",
  2437. "description": "用户id",
  2438. "name": "userid",
  2439. "in": "query",
  2440. "required": true
  2441. },
  2442. {
  2443. "type": "integer",
  2444. "description": "每个品种记录数",
  2445. "name": "lastNum",
  2446. "in": "query",
  2447. "required": true
  2448. }
  2449. ],
  2450. "responses": {
  2451. "200": {
  2452. "description": "OK",
  2453. "schema": {
  2454. "type": "array",
  2455. "items": {
  2456. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2457. }
  2458. }
  2459. },
  2460. "500": {
  2461. "description": "Internal Server Error",
  2462. "schema": {
  2463. "$ref": "#/definitions/app.Response"
  2464. }
  2465. }
  2466. }
  2467. }
  2468. },
  2469. "/Ermcp/QueryMiddleGoods": {
  2470. "get": {
  2471. "security": [
  2472. {
  2473. "ApiKeyAuth": []
  2474. }
  2475. ],
  2476. "produces": [
  2477. "application/json"
  2478. ],
  2479. "tags": [
  2480. "企业风险管理(app)"
  2481. ],
  2482. "summary": "查询套保品种(菜单:套保品种)",
  2483. "parameters": [
  2484. {
  2485. "type": "integer",
  2486. "description": "所属机构ID",
  2487. "name": "userid",
  2488. "in": "query",
  2489. "required": true
  2490. },
  2491. {
  2492. "type": "integer",
  2493. "description": "状态 0-停用 1-正常",
  2494. "name": "status",
  2495. "in": "query",
  2496. "required": true
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "OK",
  2502. "schema": {
  2503. "type": "array",
  2504. "items": {
  2505. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2506. }
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2519. "get": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "企业风险管理(app)"
  2530. ],
  2531. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2532. "parameters": [
  2533. {
  2534. "type": "integer",
  2535. "description": "所属机构ID",
  2536. "name": "userid",
  2537. "in": "query",
  2538. "required": true
  2539. },
  2540. {
  2541. "type": "integer",
  2542. "description": "套保品种id",
  2543. "name": "middlegoodsid",
  2544. "in": "query",
  2545. "required": true
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "type": "array",
  2553. "items": {
  2554. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2555. }
  2556. }
  2557. },
  2558. "500": {
  2559. "description": "Internal Server Error",
  2560. "schema": {
  2561. "$ref": "#/definitions/app.Response"
  2562. }
  2563. }
  2564. }
  2565. }
  2566. },
  2567. "/Ermcp/QueryMiddleGoodsDetail": {
  2568. "get": {
  2569. "security": [
  2570. {
  2571. "ApiKeyAuth": []
  2572. }
  2573. ],
  2574. "produces": [
  2575. "application/json"
  2576. ],
  2577. "tags": [
  2578. "企业风险管理(app)"
  2579. ],
  2580. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2581. "parameters": [
  2582. {
  2583. "type": "integer",
  2584. "description": "所属机构ID",
  2585. "name": "userid",
  2586. "in": "query",
  2587. "required": true
  2588. },
  2589. {
  2590. "type": "integer",
  2591. "description": "套保品种id",
  2592. "name": "middlegoodsid",
  2593. "in": "query"
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryPendingAuditInfo": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "用户ID",
  2633. "name": "UserId",
  2634. "in": "query",
  2635. "required": true
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "type": "array",
  2643. "items": {
  2644. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2645. }
  2646. }
  2647. },
  2648. "500": {
  2649. "description": "Internal Server Error",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. }
  2654. }
  2655. }
  2656. },
  2657. "/Ermcp/QueryRealtimeExposure": {
  2658. "get": {
  2659. "security": [
  2660. {
  2661. "ApiKeyAuth": []
  2662. }
  2663. ],
  2664. "produces": [
  2665. "application/json"
  2666. ],
  2667. "tags": [
  2668. "企业风险管理(app)"
  2669. ],
  2670. "summary": "查询实时敞口",
  2671. "parameters": [
  2672. {
  2673. "type": "integer",
  2674. "description": "所属机构ID",
  2675. "name": "userid",
  2676. "in": "query",
  2677. "required": true
  2678. }
  2679. ],
  2680. "responses": {
  2681. "200": {
  2682. "description": "OK",
  2683. "schema": {
  2684. "type": "array",
  2685. "items": {
  2686. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2687. }
  2688. }
  2689. },
  2690. "500": {
  2691. "description": "Internal Server Error",
  2692. "schema": {
  2693. "$ref": "#/definitions/app.Response"
  2694. }
  2695. }
  2696. }
  2697. }
  2698. },
  2699. "/Ermcp/QueryRealtimeExposurePosition": {
  2700. "get": {
  2701. "security": [
  2702. {
  2703. "ApiKeyAuth": []
  2704. }
  2705. ],
  2706. "produces": [
  2707. "application/json"
  2708. ],
  2709. "tags": [
  2710. "企业风险管理(app)"
  2711. ],
  2712. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2713. "parameters": [
  2714. {
  2715. "type": "integer",
  2716. "description": "用户id",
  2717. "name": "userid",
  2718. "in": "query",
  2719. "required": true
  2720. },
  2721. {
  2722. "type": "integer",
  2723. "description": "套保商品ID",
  2724. "name": "middleGoodsId",
  2725. "in": "query",
  2726. "required": true
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2736. }
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Ermcp/QueryTradeConfigTMP": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "企业风险管理(app)"
  2760. ],
  2761. "summary": "查询交易模板配置",
  2762. "parameters": [
  2763. {
  2764. "type": "integer",
  2765. "description": "所属机构id",
  2766. "name": "areauserid",
  2767. "in": "query"
  2768. }
  2769. ],
  2770. "responses": {
  2771. "200": {
  2772. "description": "OK",
  2773. "schema": {
  2774. "type": "array",
  2775. "items": {
  2776. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2777. }
  2778. }
  2779. },
  2780. "500": {
  2781. "description": "Internal Server Error",
  2782. "schema": {
  2783. "$ref": "#/definitions/app.Response"
  2784. }
  2785. }
  2786. }
  2787. }
  2788. },
  2789. "/Ermcp/QueryUserInfo": {
  2790. "get": {
  2791. "security": [
  2792. {
  2793. "ApiKeyAuth": []
  2794. }
  2795. ],
  2796. "produces": [
  2797. "application/json"
  2798. ],
  2799. "tags": [
  2800. "企业风险管理(app)"
  2801. ],
  2802. "summary": "查询客户资料",
  2803. "parameters": [
  2804. {
  2805. "type": "integer",
  2806. "description": "所属机构用户ID",
  2807. "name": "MemberUserID",
  2808. "in": "query",
  2809. "required": true
  2810. },
  2811. {
  2812. "type": "integer",
  2813. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2814. "name": "queryType",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryWarehouseInfo": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询仓库信息",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "用户ID",
  2856. "name": "userid",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "string",
  2862. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2863. "name": "status",
  2864. "in": "query"
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp3/QryAreaExpourseContractDetail": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理v3(app)"
  2898. ],
  2899. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "integer",
  2910. "description": "套保商品id",
  2911. "name": "middlegoodsid",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2918. "name": "cycletype",
  2919. "in": "query",
  2920. "required": true
  2921. },
  2922. {
  2923. "type": "string",
  2924. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2925. "name": "cycletime",
  2926. "in": "query",
  2927. "required": true
  2928. }
  2929. ],
  2930. "responses": {
  2931. "200": {
  2932. "description": "OK",
  2933. "schema": {
  2934. "type": "array",
  2935. "items": {
  2936. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2937. }
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "企业风险管理v3(app)"
  2961. ],
  2962. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "用户ID",
  2967. "name": "userid",
  2968. "in": "query",
  2969. "required": true
  2970. },
  2971. {
  2972. "type": "integer",
  2973. "description": "套保商品id",
  2974. "name": "middlegoodsid",
  2975. "in": "query",
  2976. "required": true
  2977. },
  2978. {
  2979. "type": "integer",
  2980. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2981. "name": "cycletype",
  2982. "in": "query",
  2983. "required": true
  2984. },
  2985. {
  2986. "type": "string",
  2987. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2988. "name": "cycletime",
  2989. "in": "query",
  2990. "required": true
  2991. }
  2992. ],
  2993. "responses": {
  2994. "200": {
  2995. "description": "OK",
  2996. "schema": {
  2997. "type": "array",
  2998. "items": {
  2999. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3000. }
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/Ermcp3/QryAreaExpourseReport": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "企业风险管理v3(app)"
  3024. ],
  3025. "summary": "查询敞口报表",
  3026. "parameters": [
  3027. {
  3028. "type": "integer",
  3029. "description": "用户ID",
  3030. "name": "userid",
  3031. "in": "query",
  3032. "required": true
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3037. "name": "querytype",
  3038. "in": "query",
  3039. "required": true
  3040. },
  3041. {
  3042. "type": "integer",
  3043. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3044. "name": "cycletype",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "string",
  3050. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3051. "name": "cycletime",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp3/QryAreaSpotplReport": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理v3(app)"
  3087. ],
  3088. "summary": "查询现货报表",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "用户ID",
  3093. "name": "userid",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型 1-报表 2-报表明细",
  3100. "name": "querytype",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3107. "name": "cycletype",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3114. "name": "cycletime",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "现货品种id(明细必填)",
  3121. "name": "deliverygoodsid",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "品类id(明细必填)",
  3127. "name": "wrstandardid",
  3128. "in": "query"
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "币种id(明细必填)",
  3133. "name": "currencyid",
  3134. "in": "query"
  3135. }
  3136. ],
  3137. "responses": {
  3138. "200": {
  3139. "description": "OK",
  3140. "schema": {
  3141. "type": "array",
  3142. "items": {
  3143. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3144. }
  3145. }
  3146. },
  3147. "500": {
  3148. "description": "Internal Server Error",
  3149. "schema": {
  3150. "$ref": "#/definitions/app.Response"
  3151. }
  3152. }
  3153. }
  3154. }
  3155. },
  3156. "/Ermcp3/QryAreaStockReport": {
  3157. "get": {
  3158. "security": [
  3159. {
  3160. "ApiKeyAuth": []
  3161. }
  3162. ],
  3163. "produces": [
  3164. "application/json"
  3165. ],
  3166. "tags": [
  3167. "企业风险管理v3(app)"
  3168. ],
  3169. "summary": "查询库存报表",
  3170. "parameters": [
  3171. {
  3172. "type": "integer",
  3173. "description": "用户ID",
  3174. "name": "userid",
  3175. "in": "query",
  3176. "required": true
  3177. },
  3178. {
  3179. "type": "integer",
  3180. "description": "查询类型 1-报表 2-报表明细",
  3181. "name": "querytype",
  3182. "in": "query",
  3183. "required": true
  3184. },
  3185. {
  3186. "type": "integer",
  3187. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3188. "name": "cycletype",
  3189. "in": "query",
  3190. "required": true
  3191. },
  3192. {
  3193. "type": "string",
  3194. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3195. "name": "cycletime",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "string",
  3201. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3202. "name": "sumfields",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品种ID",
  3208. "name": "deliverygoodsid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "品类ID",
  3214. "name": "wrstandardid",
  3215. "in": "query"
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "品牌ID",
  3220. "name": "spotgoodsbrandid",
  3221. "in": "query"
  3222. },
  3223. {
  3224. "type": "integer",
  3225. "description": "仓库ID",
  3226. "name": "warehouseinfoid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QryAreaSumPL": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理v3(app)"
  3261. ],
  3262. "summary": "查询汇总损益表",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "用户ID",
  3267. "name": "userid",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型 1-报表 2-报表明细",
  3274. "name": "querytype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "integer",
  3280. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3281. "name": "cycletype",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3288. "name": "cycletime",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "币种id(明细必填)",
  3295. "name": "currencyid",
  3296. "in": "query"
  3297. }
  3298. ],
  3299. "responses": {
  3300. "200": {
  3301. "description": "OK",
  3302. "schema": {
  3303. "type": "array",
  3304. "items": {
  3305. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3306. }
  3307. }
  3308. },
  3309. "500": {
  3310. "description": "Internal Server Error",
  3311. "schema": {
  3312. "$ref": "#/definitions/app.Response"
  3313. }
  3314. }
  3315. }
  3316. }
  3317. },
  3318. "/Ermcp3/QryFinanceReport": {
  3319. "get": {
  3320. "security": [
  3321. {
  3322. "ApiKeyAuth": []
  3323. }
  3324. ],
  3325. "produces": [
  3326. "application/json"
  3327. ],
  3328. "tags": [
  3329. "企业风险管理v3(app)"
  3330. ],
  3331. "summary": "查询财务报表",
  3332. "parameters": [
  3333. {
  3334. "type": "integer",
  3335. "description": "用户ID",
  3336. "name": "userid",
  3337. "in": "query",
  3338. "required": true
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "查询类型 1-报表 2-报表明细",
  3343. "name": "querytype",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "integer",
  3349. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3350. "name": "cycletype",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "string",
  3356. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3357. "name": "cycletime",
  3358. "in": "query",
  3359. "required": true
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "币种id(日报表明细)",
  3364. "name": "currencyid",
  3365. "in": "query"
  3366. }
  3367. ],
  3368. "responses": {
  3369. "200": {
  3370. "description": "OK",
  3371. "schema": {
  3372. "type": "array",
  3373. "items": {
  3374. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3375. }
  3376. }
  3377. },
  3378. "500": {
  3379. "description": "Internal Server Error",
  3380. "schema": {
  3381. "$ref": "#/definitions/app.Response"
  3382. }
  3383. }
  3384. }
  3385. }
  3386. },
  3387. "/Ermcp3/QueryAreaStock": {
  3388. "get": {
  3389. "security": [
  3390. {
  3391. "ApiKeyAuth": []
  3392. }
  3393. ],
  3394. "produces": [
  3395. "application/json"
  3396. ],
  3397. "tags": [
  3398. "企业风险管理v3(app)"
  3399. ],
  3400. "summary": "查询机构库存(库存管理/当前库存)",
  3401. "parameters": [
  3402. {
  3403. "type": "integer",
  3404. "description": "用户ID",
  3405. "name": "userid",
  3406. "in": "query",
  3407. "required": true
  3408. }
  3409. ],
  3410. "responses": {
  3411. "200": {
  3412. "description": "OK",
  3413. "schema": {
  3414. "type": "array",
  3415. "items": {
  3416. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3417. }
  3418. }
  3419. },
  3420. "500": {
  3421. "description": "Internal Server Error",
  3422. "schema": {
  3423. "$ref": "#/definitions/app.Response"
  3424. }
  3425. }
  3426. }
  3427. }
  3428. },
  3429. "/Ermcp3/QueryAreaStockApply": {
  3430. "get": {
  3431. "security": [
  3432. {
  3433. "ApiKeyAuth": []
  3434. }
  3435. ],
  3436. "produces": [
  3437. "application/json"
  3438. ],
  3439. "tags": [
  3440. "企业风险管理v3(app)"
  3441. ],
  3442. "summary": "查询库存申请(出入库记录|库存审核)",
  3443. "parameters": [
  3444. {
  3445. "type": "integer",
  3446. "description": "用户ID",
  3447. "name": "userid",
  3448. "in": "query",
  3449. "required": true
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "用户类型 2-机构 7-企业成员",
  3454. "name": "usertype",
  3455. "in": "query"
  3456. },
  3457. {
  3458. "type": "integer",
  3459. "description": "现货商品ID",
  3460. "name": "deliverygoodsid",
  3461. "in": "query"
  3462. },
  3463. {
  3464. "type": "string",
  3465. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3466. "name": "inouttype",
  3467. "in": "query"
  3468. },
  3469. {
  3470. "type": "integer",
  3471. "description": "合同ID",
  3472. "name": "spotcontractid",
  3473. "in": "query"
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "品类ID",
  3478. "name": "wrstandardid",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "品牌ID",
  3484. "name": "spotgoodsbrandid",
  3485. "in": "query"
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "仓库ID",
  3490. "name": "warehouseinfoid",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "string",
  3495. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3496. "name": "applystatus",
  3497. "in": "query"
  3498. }
  3499. ],
  3500. "responses": {
  3501. "200": {
  3502. "description": "OK",
  3503. "schema": {
  3504. "type": "array",
  3505. "items": {
  3506. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3507. }
  3508. }
  3509. },
  3510. "500": {
  3511. "description": "Internal Server Error",
  3512. "schema": {
  3513. "$ref": "#/definitions/app.Response"
  3514. }
  3515. }
  3516. }
  3517. }
  3518. },
  3519. "/Ermcp3/QueryAreaStockApplySum": {
  3520. "get": {
  3521. "security": [
  3522. {
  3523. "ApiKeyAuth": []
  3524. }
  3525. ],
  3526. "produces": [
  3527. "application/json"
  3528. ],
  3529. "tags": [
  3530. "企业风险管理v3(app)"
  3531. ],
  3532. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3533. "parameters": [
  3534. {
  3535. "type": "integer",
  3536. "description": "合同ID",
  3537. "name": "spotcontractid",
  3538. "in": "query"
  3539. }
  3540. ],
  3541. "responses": {
  3542. "200": {
  3543. "description": "OK",
  3544. "schema": {
  3545. "type": "array",
  3546. "items": {
  3547. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3548. }
  3549. }
  3550. },
  3551. "500": {
  3552. "description": "Internal Server Error",
  3553. "schema": {
  3554. "$ref": "#/definitions/app.Response"
  3555. }
  3556. }
  3557. }
  3558. }
  3559. },
  3560. "/Ermcp3/QueryDGFactoryItem": {
  3561. "get": {
  3562. "security": [
  3563. {
  3564. "ApiKeyAuth": []
  3565. }
  3566. ],
  3567. "produces": [
  3568. "application/json"
  3569. ],
  3570. "tags": [
  3571. "企业风险管理v3(app)"
  3572. ],
  3573. "summary": "查询品种要素定义项",
  3574. "parameters": [
  3575. {
  3576. "type": "integer",
  3577. "description": "用户id",
  3578. "name": "userid",
  3579. "in": "query"
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "用户类型 2-机构 7-企业成员",
  3584. "name": "usertype",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3590. "name": "dgfactoryitemid",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "integer",
  3595. "description": "现货品种ID",
  3596. "name": "deliverygoodsid",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "要素项类型",
  3602. "name": "dgfactoryitemtypeid",
  3603. "in": "query"
  3604. },
  3605. {
  3606. "type": "integer",
  3607. "description": "顺序",
  3608. "name": "orderindex",
  3609. "in": "query"
  3610. }
  3611. ],
  3612. "responses": {
  3613. "200": {
  3614. "description": "OK",
  3615. "schema": {
  3616. "type": "array",
  3617. "items": {
  3618. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3619. }
  3620. }
  3621. },
  3622. "500": {
  3623. "description": "Internal Server Error",
  3624. "schema": {
  3625. "$ref": "#/definitions/app.Response"
  3626. }
  3627. }
  3628. }
  3629. }
  3630. },
  3631. "/Ermcp3/QueryDeliveryGoods": {
  3632. "get": {
  3633. "security": [
  3634. {
  3635. "ApiKeyAuth": []
  3636. }
  3637. ],
  3638. "produces": [
  3639. "application/json"
  3640. ],
  3641. "tags": [
  3642. "企业风险管理v3(app)"
  3643. ],
  3644. "summary": "查询现货商品",
  3645. "parameters": [
  3646. {
  3647. "type": "integer",
  3648. "description": "用户id",
  3649. "name": "userid",
  3650. "in": "query",
  3651. "required": true
  3652. },
  3653. {
  3654. "type": "integer",
  3655. "description": "用户类型 2-机构 7-企业成员",
  3656. "name": "usertype",
  3657. "in": "query"
  3658. },
  3659. {
  3660. "type": "integer",
  3661. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3662. "name": "excludecfg",
  3663. "in": "query"
  3664. }
  3665. ],
  3666. "responses": {
  3667. "200": {
  3668. "description": "OK",
  3669. "schema": {
  3670. "type": "array",
  3671. "items": {
  3672. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3673. }
  3674. }
  3675. },
  3676. "500": {
  3677. "description": "Internal Server Error",
  3678. "schema": {
  3679. "$ref": "#/definitions/app.Response"
  3680. }
  3681. }
  3682. }
  3683. }
  3684. },
  3685. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3686. "get": {
  3687. "security": [
  3688. {
  3689. "ApiKeyAuth": []
  3690. }
  3691. ],
  3692. "produces": [
  3693. "application/json"
  3694. ],
  3695. "tags": [
  3696. "企业风险管理v3(app)"
  3697. ],
  3698. "summary": "查询现货商品详情",
  3699. "parameters": [
  3700. {
  3701. "type": "integer",
  3702. "description": "用户id",
  3703. "name": "userid",
  3704. "in": "query",
  3705. "required": true
  3706. },
  3707. {
  3708. "type": "integer",
  3709. "description": "用户类型 2-机构 7-企业成员",
  3710. "name": "usertype",
  3711. "in": "query"
  3712. },
  3713. {
  3714. "type": "integer",
  3715. "description": "现货商品id",
  3716. "name": "deliverygoodsid",
  3717. "in": "query"
  3718. }
  3719. ],
  3720. "responses": {
  3721. "200": {
  3722. "description": "OK",
  3723. "schema": {
  3724. "type": "array",
  3725. "items": {
  3726. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3727. }
  3728. }
  3729. },
  3730. "500": {
  3731. "description": "Internal Server Error",
  3732. "schema": {
  3733. "$ref": "#/definitions/app.Response"
  3734. }
  3735. }
  3736. }
  3737. }
  3738. },
  3739. "/Ermcp3/QueryExposureDetail": {
  3740. "get": {
  3741. "security": [
  3742. {
  3743. "ApiKeyAuth": []
  3744. }
  3745. ],
  3746. "produces": [
  3747. "application/json"
  3748. ],
  3749. "tags": [
  3750. "企业风险管理v3(app)"
  3751. ],
  3752. "summary": "查询敞口现货明细",
  3753. "parameters": [
  3754. {
  3755. "type": "integer",
  3756. "description": "用户id",
  3757. "name": "userid",
  3758. "in": "query",
  3759. "required": true
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "用户类型 2-机构 7-企业成员",
  3764. "name": "usertype",
  3765. "in": "query"
  3766. },
  3767. {
  3768. "type": "integer",
  3769. "description": "套保商品",
  3770. "name": "middlegoodsid",
  3771. "in": "query",
  3772. "required": true
  3773. }
  3774. ],
  3775. "responses": {
  3776. "200": {
  3777. "description": "OK",
  3778. "schema": {
  3779. "type": "array",
  3780. "items": {
  3781. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3782. }
  3783. }
  3784. },
  3785. "500": {
  3786. "description": "Internal Server Error",
  3787. "schema": {
  3788. "$ref": "#/definitions/app.Response"
  3789. }
  3790. }
  3791. }
  3792. }
  3793. },
  3794. "/Ermcp3/QueryExposureSpot": {
  3795. "get": {
  3796. "security": [
  3797. {
  3798. "ApiKeyAuth": []
  3799. }
  3800. ],
  3801. "produces": [
  3802. "application/json"
  3803. ],
  3804. "tags": [
  3805. "企业风险管理v3(app)"
  3806. ],
  3807. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3808. "parameters": [
  3809. {
  3810. "type": "integer",
  3811. "description": "用户id",
  3812. "name": "userid",
  3813. "in": "query",
  3814. "required": true
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "用户类型 2-机构 7-企业成员",
  3819. "name": "usertype",
  3820. "in": "query"
  3821. }
  3822. ],
  3823. "responses": {
  3824. "200": {
  3825. "description": "OK",
  3826. "schema": {
  3827. "type": "array",
  3828. "items": {
  3829. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3830. }
  3831. }
  3832. },
  3833. "500": {
  3834. "description": "Internal Server Error",
  3835. "schema": {
  3836. "$ref": "#/definitions/app.Response"
  3837. }
  3838. }
  3839. }
  3840. }
  3841. },
  3842. "/Ermcp3/QueryExposureSpotDetail": {
  3843. "get": {
  3844. "security": [
  3845. {
  3846. "ApiKeyAuth": []
  3847. }
  3848. ],
  3849. "produces": [
  3850. "application/json"
  3851. ],
  3852. "tags": [
  3853. "企业风险管理v3(app)"
  3854. ],
  3855. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3856. "parameters": [
  3857. {
  3858. "type": "integer",
  3859. "description": "用户id",
  3860. "name": "userid",
  3861. "in": "query",
  3862. "required": true
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "用户类型 2-机构 7-企业成员",
  3867. "name": "usertype",
  3868. "in": "query"
  3869. },
  3870. {
  3871. "type": "integer",
  3872. "description": "现货品种ID",
  3873. "name": "deliverygoodsid",
  3874. "in": "query",
  3875. "required": true
  3876. }
  3877. ],
  3878. "responses": {
  3879. "200": {
  3880. "description": "OK",
  3881. "schema": {
  3882. "type": "array",
  3883. "items": {
  3884. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3885. }
  3886. }
  3887. },
  3888. "500": {
  3889. "description": "Internal Server Error",
  3890. "schema": {
  3891. "$ref": "#/definitions/app.Response"
  3892. }
  3893. }
  3894. }
  3895. }
  3896. },
  3897. "/Ermcp3/QueryGoodsGroup": {
  3898. "get": {
  3899. "security": [
  3900. {
  3901. "ApiKeyAuth": []
  3902. }
  3903. ],
  3904. "produces": [
  3905. "application/json"
  3906. ],
  3907. "tags": [
  3908. "企业风险管理v3(app)"
  3909. ],
  3910. "summary": "查询期货商品组",
  3911. "parameters": [
  3912. {
  3913. "type": "integer",
  3914. "description": "用户id",
  3915. "name": "userid",
  3916. "in": "query",
  3917. "required": true
  3918. },
  3919. {
  3920. "type": "integer",
  3921. "description": "用户类型 2-机构 7-企业成员",
  3922. "name": "usertype",
  3923. "in": "query"
  3924. },
  3925. {
  3926. "type": "integer",
  3927. "description": "排除套保品中已关联的商品组 1-排除",
  3928. "name": "excludecfg",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "type": "array",
  3937. "items": {
  3938. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3939. }
  3940. }
  3941. },
  3942. "500": {
  3943. "description": "Internal Server Error",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. }
  3948. }
  3949. }
  3950. },
  3951. "/Ermcp3/QueryGoodsWrstandard": {
  3952. "get": {
  3953. "security": [
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "企业风险管理v3(app)"
  3963. ],
  3964. "summary": "查询商品品类",
  3965. "parameters": [
  3966. {
  3967. "type": "integer",
  3968. "description": "用户id",
  3969. "name": "userid",
  3970. "in": "query",
  3971. "required": true
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "用户类型 2-机构 7-企业成员",
  3976. "name": "usertype",
  3977. "in": "query"
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "现货商品id",
  3982. "name": "deliverygoodsid",
  3983. "in": "query"
  3984. }
  3985. ],
  3986. "responses": {
  3987. "200": {
  3988. "description": "OK",
  3989. "schema": {
  3990. "type": "array",
  3991. "items": {
  3992. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3993. }
  3994. }
  3995. },
  3996. "500": {
  3997. "description": "Internal Server Error",
  3998. "schema": {
  3999. "$ref": "#/definitions/app.Response"
  4000. }
  4001. }
  4002. }
  4003. }
  4004. },
  4005. "/Ermcp3/QueryGoodsbrand": {
  4006. "get": {
  4007. "security": [
  4008. {
  4009. "ApiKeyAuth": []
  4010. }
  4011. ],
  4012. "produces": [
  4013. "application/json"
  4014. ],
  4015. "tags": [
  4016. "企业风险管理v3(app)"
  4017. ],
  4018. "summary": "查询商品品牌",
  4019. "parameters": [
  4020. {
  4021. "type": "integer",
  4022. "description": "用户id",
  4023. "name": "userid",
  4024. "in": "query",
  4025. "required": true
  4026. },
  4027. {
  4028. "type": "integer",
  4029. "description": "用户类型 2-机构 7-企业成员",
  4030. "name": "usertype",
  4031. "in": "query"
  4032. }
  4033. ],
  4034. "responses": {
  4035. "200": {
  4036. "description": "OK",
  4037. "schema": {
  4038. "type": "array",
  4039. "items": {
  4040. "$ref": "#/definitions/models.Ermcp3Brand"
  4041. }
  4042. }
  4043. },
  4044. "500": {
  4045. "description": "Internal Server Error",
  4046. "schema": {
  4047. "$ref": "#/definitions/app.Response"
  4048. }
  4049. }
  4050. }
  4051. }
  4052. },
  4053. "/Ermcp3/QueryHedgePlan": {
  4054. "get": {
  4055. "security": [
  4056. {
  4057. "ApiKeyAuth": []
  4058. }
  4059. ],
  4060. "produces": [
  4061. "application/json"
  4062. ],
  4063. "tags": [
  4064. "企业风险管理v3(app)"
  4065. ],
  4066. "summary": "查询套保计划",
  4067. "parameters": [
  4068. {
  4069. "type": "integer",
  4070. "description": "用户ID",
  4071. "name": "userid",
  4072. "in": "query",
  4073. "required": true
  4074. },
  4075. {
  4076. "type": "integer",
  4077. "description": "用户类型 2-机构 7-企业成员",
  4078. "name": "usertype",
  4079. "in": "query"
  4080. },
  4081. {
  4082. "type": "string",
  4083. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4084. "name": "hedgeplanstatus",
  4085. "in": "query",
  4086. "required": true
  4087. }
  4088. ],
  4089. "responses": {
  4090. "200": {
  4091. "description": "OK",
  4092. "schema": {
  4093. "type": "array",
  4094. "items": {
  4095. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4096. }
  4097. }
  4098. },
  4099. "500": {
  4100. "description": "Internal Server Error",
  4101. "schema": {
  4102. "$ref": "#/definitions/app.Response"
  4103. }
  4104. }
  4105. }
  4106. }
  4107. },
  4108. "/Ermcp3/QueryMiddleGoodsDetail": {
  4109. "get": {
  4110. "security": [
  4111. {
  4112. "ApiKeyAuth": []
  4113. }
  4114. ],
  4115. "produces": [
  4116. "application/json"
  4117. ],
  4118. "tags": [
  4119. "企业风险管理v3(app)"
  4120. ],
  4121. "summary": "查询套保品种详情(套保品种/商品详情)",
  4122. "parameters": [
  4123. {
  4124. "type": "integer",
  4125. "description": "用户id",
  4126. "name": "userid",
  4127. "in": "query",
  4128. "required": true
  4129. },
  4130. {
  4131. "type": "integer",
  4132. "description": "用户类型 2-机构 7-企业成员",
  4133. "name": "usertype",
  4134. "in": "query"
  4135. },
  4136. {
  4137. "type": "integer",
  4138. "description": "套保品种id",
  4139. "name": "middlegoodsid",
  4140. "in": "query"
  4141. }
  4142. ],
  4143. "responses": {
  4144. "200": {
  4145. "description": "OK",
  4146. "schema": {
  4147. "type": "array",
  4148. "items": {
  4149. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4150. }
  4151. }
  4152. },
  4153. "500": {
  4154. "description": "Internal Server Error",
  4155. "schema": {
  4156. "$ref": "#/definitions/app.Response"
  4157. }
  4158. }
  4159. }
  4160. }
  4161. },
  4162. "/Ermcp3/QuerySpotContract": {
  4163. "get": {
  4164. "security": [
  4165. {
  4166. "ApiKeyAuth": []
  4167. }
  4168. ],
  4169. "produces": [
  4170. "application/json"
  4171. ],
  4172. "tags": [
  4173. "企业风险管理v3(app)"
  4174. ],
  4175. "summary": "查询现货合同",
  4176. "parameters": [
  4177. {
  4178. "type": "integer",
  4179. "description": "用户id",
  4180. "name": "userid",
  4181. "in": "query",
  4182. "required": true
  4183. },
  4184. {
  4185. "type": "integer",
  4186. "description": "用户类型 2-机构 7-企业成员",
  4187. "name": "usertype",
  4188. "in": "query"
  4189. },
  4190. {
  4191. "type": "integer",
  4192. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4193. "name": "querytype",
  4194. "in": "query",
  4195. "required": true
  4196. },
  4197. {
  4198. "type": "string",
  4199. "description": "合同ID(SpotContractId)",
  4200. "name": "contractid",
  4201. "in": "query"
  4202. }
  4203. ],
  4204. "responses": {
  4205. "200": {
  4206. "description": "OK",
  4207. "schema": {
  4208. "type": "array",
  4209. "items": {
  4210. "$ref": "#/definitions/models.Ermcp3Contract"
  4211. }
  4212. }
  4213. },
  4214. "500": {
  4215. "description": "Internal Server Error",
  4216. "schema": {
  4217. "$ref": "#/definitions/app.Response"
  4218. }
  4219. }
  4220. }
  4221. }
  4222. },
  4223. "/Ermcp3/QuerySpotContractBS": {
  4224. "get": {
  4225. "security": [
  4226. {
  4227. "ApiKeyAuth": []
  4228. }
  4229. ],
  4230. "produces": [
  4231. "application/json"
  4232. ],
  4233. "tags": [
  4234. "企业风险管理v3(app)"
  4235. ],
  4236. "summary": "查询合同(采购/销售)",
  4237. "parameters": [
  4238. {
  4239. "type": "integer",
  4240. "description": "用户id",
  4241. "name": "userid",
  4242. "in": "query",
  4243. "required": true
  4244. },
  4245. {
  4246. "type": "integer",
  4247. "description": "用户类型 2-机构 7-企业成员",
  4248. "name": "usertype",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "integer",
  4253. "description": "合同类型 1-采购, -1-销售",
  4254. "name": "contracttype",
  4255. "in": "query",
  4256. "required": true
  4257. },
  4258. {
  4259. "type": "integer",
  4260. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4261. "name": "querytype",
  4262. "in": "query",
  4263. "required": true
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "合同ID(SpotContractId)",
  4268. "name": "contractid",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QuerySpotGoodsPrice": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询现货市价(现货市价)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "用户ID",
  4309. "name": "userid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询现货市价详情(现货市价/详情)",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户ID",
  4351. "name": "userid",
  4352. "in": "query",
  4353. "required": true
  4354. },
  4355. {
  4356. "type": "integer",
  4357. "description": "现货商品ID",
  4358. "name": "deliverygoodsid",
  4359. "in": "query",
  4360. "required": true
  4361. },
  4362. {
  4363. "type": "integer",
  4364. "description": "品牌ID",
  4365. "name": "brandid",
  4366. "in": "query"
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "品类ID",
  4371. "name": "wrstandardid",
  4372. "in": "query"
  4373. }
  4374. ],
  4375. "responses": {
  4376. "200": {
  4377. "description": "OK",
  4378. "schema": {
  4379. "type": "array",
  4380. "items": {
  4381. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4382. }
  4383. }
  4384. },
  4385. "500": {
  4386. "description": "Internal Server Error",
  4387. "schema": {
  4388. "$ref": "#/definitions/app.Response"
  4389. }
  4390. }
  4391. }
  4392. }
  4393. },
  4394. "/Erms2/QueryArbitrageStrategy": {
  4395. "get": {
  4396. "security": [
  4397. {
  4398. "ApiKeyAuth": []
  4399. }
  4400. ],
  4401. "produces": [
  4402. "application/json"
  4403. ],
  4404. "tags": [
  4405. "风险管理"
  4406. ],
  4407. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4408. "parameters": [
  4409. {
  4410. "type": "integer",
  4411. "description": "账户ID",
  4412. "name": "userid",
  4413. "in": "query",
  4414. "required": true
  4415. },
  4416. {
  4417. "type": "string",
  4418. "description": "商品组ID(品种ID)",
  4419. "name": "goodsgroupid",
  4420. "in": "query"
  4421. }
  4422. ],
  4423. "responses": {
  4424. "200": {
  4425. "description": "OK",
  4426. "schema": {
  4427. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4428. }
  4429. },
  4430. "500": {
  4431. "description": "Internal Server Error",
  4432. "schema": {
  4433. "$ref": "#/definitions/app.Response"
  4434. }
  4435. }
  4436. }
  4437. }
  4438. },
  4439. "/Erms2/QueryInnerTradeDetail": {
  4440. "get": {
  4441. "security": [
  4442. {
  4443. "ApiKeyAuth": []
  4444. }
  4445. ],
  4446. "produces": [
  4447. "application/json"
  4448. ],
  4449. "tags": [
  4450. "风险管理"
  4451. ],
  4452. "summary": "查询内部成交单信息",
  4453. "parameters": [
  4454. {
  4455. "type": "integer",
  4456. "description": "资金账户",
  4457. "name": "accountid",
  4458. "in": "query",
  4459. "required": true
  4460. }
  4461. ],
  4462. "responses": {
  4463. "200": {
  4464. "description": "OK",
  4465. "schema": {
  4466. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Erms2/QuerySpotContract": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "风险管理"
  4490. ],
  4491. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "策略申请ID",
  4496. "name": "asapplyid",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "integer",
  4502. "description": "现货合同ID",
  4503. "name": "spotcontractid",
  4504. "in": "query"
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4512. }
  4513. },
  4514. "500": {
  4515. "description": "Internal Server Error",
  4516. "schema": {
  4517. "$ref": "#/definitions/app.Response"
  4518. }
  4519. }
  4520. }
  4521. }
  4522. },
  4523. "/Erms3/AddErms2ASApply": {
  4524. "post": {
  4525. "security": [
  4526. {
  4527. "ApiKeyAuth": []
  4528. }
  4529. ],
  4530. "produces": [
  4531. "application/json"
  4532. ],
  4533. "tags": [
  4534. "风险管理v3"
  4535. ],
  4536. "summary": "新增期现套利业务申请",
  4537. "parameters": [
  4538. {
  4539. "description": "申请参数",
  4540. "name": "jsonBody",
  4541. "in": "body",
  4542. "required": true,
  4543. "schema": {
  4544. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4545. }
  4546. }
  4547. ],
  4548. "responses": {
  4549. "200": {
  4550. "description": "OK",
  4551. "schema": {
  4552. "$ref": "#/definitions/app.Response"
  4553. }
  4554. },
  4555. "500": {
  4556. "description": "Internal Server Error",
  4557. "schema": {
  4558. "$ref": "#/definitions/app.Response"
  4559. }
  4560. }
  4561. }
  4562. }
  4563. },
  4564. "/Erms3/AddErms2SpotTradeApply": {
  4565. "post": {
  4566. "security": [
  4567. {
  4568. "ApiKeyAuth": []
  4569. }
  4570. ],
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "风险管理v3"
  4576. ],
  4577. "summary": "新增现货贸易业务申请",
  4578. "parameters": [
  4579. {
  4580. "description": "申请参数",
  4581. "name": "jsonBody",
  4582. "in": "body",
  4583. "required": true,
  4584. "schema": {
  4585. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4586. }
  4587. }
  4588. ],
  4589. "responses": {
  4590. "200": {
  4591. "description": "OK",
  4592. "schema": {
  4593. "$ref": "#/definitions/app.Response"
  4594. }
  4595. },
  4596. "500": {
  4597. "description": "Internal Server Error",
  4598. "schema": {
  4599. "$ref": "#/definitions/app.Response"
  4600. }
  4601. }
  4602. }
  4603. }
  4604. },
  4605. "/Erms3/AddSpotContractApply": {
  4606. "post": {
  4607. "security": [
  4608. {
  4609. "ApiKeyAuth": []
  4610. }
  4611. ],
  4612. "produces": [
  4613. "application/json"
  4614. ],
  4615. "tags": [
  4616. "风险管理v3"
  4617. ],
  4618. "summary": "新增现货合同申请",
  4619. "parameters": [
  4620. {
  4621. "description": "申请参数",
  4622. "name": "jsonBody",
  4623. "in": "body",
  4624. "required": true,
  4625. "schema": {
  4626. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4627. }
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4635. }
  4636. },
  4637. "500": {
  4638. "description": "Internal Server Error",
  4639. "schema": {
  4640. "$ref": "#/definitions/app.Response"
  4641. }
  4642. }
  4643. }
  4644. }
  4645. },
  4646. "/Erms3/AddUserInfoApply": {
  4647. "post": {
  4648. "security": [
  4649. {
  4650. "ApiKeyAuth": []
  4651. }
  4652. ],
  4653. "produces": [
  4654. "application/json"
  4655. ],
  4656. "tags": [
  4657. "风险管理v3"
  4658. ],
  4659. "summary": "新增客户申请",
  4660. "parameters": [
  4661. {
  4662. "description": "用户信息",
  4663. "name": "jsonBody",
  4664. "in": "body",
  4665. "required": true,
  4666. "schema": {
  4667. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4668. }
  4669. }
  4670. ],
  4671. "responses": {
  4672. "200": {
  4673. "description": "OK",
  4674. "schema": {
  4675. "$ref": "#/definitions/app.Response"
  4676. }
  4677. },
  4678. "500": {
  4679. "description": "Internal Server Error",
  4680. "schema": {
  4681. "$ref": "#/definitions/app.Response"
  4682. }
  4683. }
  4684. }
  4685. }
  4686. },
  4687. "/Erms3/DeleteUserInfoApply": {
  4688. "get": {
  4689. "security": [
  4690. {
  4691. "ApiKeyAuth": []
  4692. }
  4693. ],
  4694. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4695. "produces": [
  4696. "application/json"
  4697. ],
  4698. "tags": [
  4699. "风险管理v3"
  4700. ],
  4701. "summary": "删除客户申请",
  4702. "parameters": [
  4703. {
  4704. "type": "integer",
  4705. "description": "用户ID",
  4706. "name": "userID",
  4707. "in": "query",
  4708. "required": true
  4709. }
  4710. ],
  4711. "responses": {
  4712. "200": {
  4713. "description": "OK",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. },
  4718. "500": {
  4719. "description": "Internal Server Error",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. }
  4724. }
  4725. }
  4726. },
  4727. "/Erms3/ModifyUserInfoApply": {
  4728. "post": {
  4729. "security": [
  4730. {
  4731. "ApiKeyAuth": []
  4732. }
  4733. ],
  4734. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4735. "produces": [
  4736. "application/json"
  4737. ],
  4738. "tags": [
  4739. "风险管理v3"
  4740. ],
  4741. "summary": "修改客户申请",
  4742. "parameters": [
  4743. {
  4744. "description": "用户信息",
  4745. "name": "jsonBody",
  4746. "in": "body",
  4747. "required": true,
  4748. "schema": {
  4749. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4750. }
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Erms3/QueryBusinessInfo": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "produces": [
  4777. "application/json"
  4778. ],
  4779. "tags": [
  4780. "风险管理v3"
  4781. ],
  4782. "summary": "查询业务表单数据",
  4783. "parameters": [
  4784. {
  4785. "type": "string",
  4786. "description": "资金账号ID列表,用逗号分隔",
  4787. "name": "accountids",
  4788. "in": "query",
  4789. "required": true
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "状态,0为未结束 1为已结束",
  4794. "name": "status",
  4795. "in": "query",
  4796. "required": true
  4797. }
  4798. ],
  4799. "responses": {
  4800. "200": {
  4801. "description": "OK",
  4802. "schema": {
  4803. "type": "array",
  4804. "items": {
  4805. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4806. }
  4807. }
  4808. },
  4809. "500": {
  4810. "description": "Internal Server Error",
  4811. "schema": {
  4812. "$ref": "#/definitions/app.Response"
  4813. }
  4814. }
  4815. }
  4816. }
  4817. },
  4818. "/Erms3/QueryPendingAuditContract": {
  4819. "get": {
  4820. "security": [
  4821. {
  4822. "ApiKeyAuth": []
  4823. }
  4824. ],
  4825. "produces": [
  4826. "application/json"
  4827. ],
  4828. "tags": [
  4829. "风险管理v3"
  4830. ],
  4831. "summary": "查询待审核合同",
  4832. "parameters": [
  4833. {
  4834. "type": "string",
  4835. "description": "资金账号ID列表,逗号隔开",
  4836. "name": "accountids",
  4837. "in": "query",
  4838. "required": true
  4839. },
  4840. {
  4841. "type": "integer",
  4842. "description": "合同类型 1-采购 -1-销售",
  4843. "name": "contracttype",
  4844. "in": "query",
  4845. "required": true
  4846. },
  4847. {
  4848. "type": "integer",
  4849. "description": "合同模式 1-普通 2-回购",
  4850. "name": "contractmode",
  4851. "in": "query",
  4852. "required": true
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Erms3/QueryPendingBusiness": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "风险管理v3"
  4886. ],
  4887. "summary": "查询待审核基差贸易业务",
  4888. "parameters": [
  4889. {
  4890. "type": "string",
  4891. "description": "资金账号ID列表,逗号隔开",
  4892. "name": "accountids",
  4893. "in": "query",
  4894. "required": true
  4895. }
  4896. ],
  4897. "responses": {
  4898. "200": {
  4899. "description": "OK",
  4900. "schema": {
  4901. "type": "array",
  4902. "items": {
  4903. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4904. }
  4905. }
  4906. },
  4907. "500": {
  4908. "description": "Internal Server Error",
  4909. "schema": {
  4910. "$ref": "#/definitions/app.Response"
  4911. }
  4912. }
  4913. }
  4914. }
  4915. },
  4916. "/Erms3/QuerySpotContractAppleForm": {
  4917. "get": {
  4918. "security": [
  4919. {
  4920. "ApiKeyAuth": []
  4921. }
  4922. ],
  4923. "produces": [
  4924. "application/json"
  4925. ],
  4926. "tags": [
  4927. "风险管理v3"
  4928. ],
  4929. "summary": "查询合同申请表单数据",
  4930. "parameters": [
  4931. {
  4932. "type": "integer",
  4933. "description": "登录账号",
  4934. "name": "loginID",
  4935. "in": "query",
  4936. "required": true
  4937. }
  4938. ],
  4939. "responses": {
  4940. "200": {
  4941. "description": "OK",
  4942. "schema": {
  4943. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4944. }
  4945. },
  4946. "500": {
  4947. "description": "Internal Server Error",
  4948. "schema": {
  4949. "$ref": "#/definitions/app.Response"
  4950. }
  4951. }
  4952. }
  4953. }
  4954. },
  4955. "/Erms3/QuerySpotContractDetail": {
  4956. "get": {
  4957. "security": [
  4958. {
  4959. "ApiKeyAuth": []
  4960. }
  4961. ],
  4962. "produces": [
  4963. "application/json"
  4964. ],
  4965. "tags": [
  4966. "风险管理v3"
  4967. ],
  4968. "summary": "查询合同详细信息",
  4969. "parameters": [
  4970. {
  4971. "type": "string",
  4972. "description": "资金账号ID列表,用逗号分隔",
  4973. "name": "accountids",
  4974. "in": "query",
  4975. "required": true
  4976. },
  4977. {
  4978. "type": "integer",
  4979. "description": "合同类型,1为采购合同 -1为销售合同",
  4980. "name": "contracttype",
  4981. "in": "query",
  4982. "required": true
  4983. },
  4984. {
  4985. "type": "integer",
  4986. "description": "合同模式,1为普通合同 2为回购销售合同",
  4987. "name": "contractmode",
  4988. "in": "query",
  4989. "required": true
  4990. },
  4991. {
  4992. "type": "integer",
  4993. "description": "状态,0为履约中 1为已完成",
  4994. "name": "status",
  4995. "in": "query",
  4996. "required": true
  4997. }
  4998. ],
  4999. "responses": {
  5000. "200": {
  5001. "description": "OK",
  5002. "schema": {
  5003. "type": "array",
  5004. "items": {
  5005. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5006. }
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Erms3/QueryUserInfoApplies": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "风险管理v3"
  5030. ],
  5031. "summary": "客户申请信息查询",
  5032. "parameters": [
  5033. {
  5034. "type": "integer",
  5035. "description": "页码",
  5036. "name": "page",
  5037. "in": "query"
  5038. },
  5039. {
  5040. "type": "integer",
  5041. "description": "每页条数",
  5042. "name": "pagesize",
  5043. "in": "query"
  5044. },
  5045. {
  5046. "type": "string",
  5047. "description": "客户名称,支持模糊查询",
  5048. "name": "userName",
  5049. "in": "query"
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5057. }
  5058. },
  5059. "500": {
  5060. "description": "Internal Server Error",
  5061. "schema": {
  5062. "$ref": "#/definitions/app.Response"
  5063. }
  5064. }
  5065. }
  5066. }
  5067. },
  5068. "/Erms3/QueryUserInfos": {
  5069. "get": {
  5070. "security": [
  5071. {
  5072. "ApiKeyAuth": []
  5073. }
  5074. ],
  5075. "produces": [
  5076. "application/json"
  5077. ],
  5078. "tags": [
  5079. "风险管理v3"
  5080. ],
  5081. "summary": "客户信息查询",
  5082. "parameters": [
  5083. {
  5084. "type": "integer",
  5085. "description": "页码",
  5086. "name": "page",
  5087. "in": "query"
  5088. },
  5089. {
  5090. "type": "integer",
  5091. "description": "每页条数",
  5092. "name": "pagesize",
  5093. "in": "query"
  5094. },
  5095. {
  5096. "type": "string",
  5097. "description": "客户名称,支持模糊查询",
  5098. "name": "userName",
  5099. "in": "query"
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5107. }
  5108. },
  5109. "500": {
  5110. "description": "Internal Server Error",
  5111. "schema": {
  5112. "$ref": "#/definitions/app.Response"
  5113. }
  5114. }
  5115. }
  5116. }
  5117. },
  5118. "/HSBY/GetHsbyMyCount": {
  5119. "get": {
  5120. "security": [
  5121. {
  5122. "ApiKeyAuth": []
  5123. }
  5124. ],
  5125. "description": "说明: 不包括已完成的数量。",
  5126. "produces": [
  5127. "application/json"
  5128. ],
  5129. "tags": [
  5130. "定制【海商报业】"
  5131. ],
  5132. "summary": "获取我的订单与包裹数量",
  5133. "parameters": [
  5134. {
  5135. "type": "string",
  5136. "description": "资金账户列表,格式:1,2,3",
  5137. "name": "accountIDs",
  5138. "in": "query",
  5139. "required": true
  5140. }
  5141. ],
  5142. "responses": {
  5143. "200": {
  5144. "description": "OK",
  5145. "schema": {
  5146. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5147. }
  5148. },
  5149. "500": {
  5150. "description": "Internal Server Error",
  5151. "schema": {
  5152. "$ref": "#/definitions/app.Response"
  5153. }
  5154. }
  5155. }
  5156. }
  5157. },
  5158. "/HSBY/QueryClientFixedADConfigs": {
  5159. "get": {
  5160. "security": [
  5161. {
  5162. "ApiKeyAuth": []
  5163. }
  5164. ],
  5165. "produces": [
  5166. "application/json"
  5167. ],
  5168. "tags": [
  5169. "定制【海商报业】"
  5170. ],
  5171. "summary": "获取终端固定广告配置",
  5172. "responses": {
  5173. "200": {
  5174. "description": "OK",
  5175. "schema": {
  5176. "$ref": "#/definitions/models.Clientfixedadconfig"
  5177. }
  5178. },
  5179. "500": {
  5180. "description": "Internal Server Error",
  5181. "schema": {
  5182. "$ref": "#/definitions/app.Response"
  5183. }
  5184. }
  5185. }
  5186. }
  5187. },
  5188. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5189. "get": {
  5190. "security": [
  5191. {
  5192. "ApiKeyAuth": []
  5193. }
  5194. ],
  5195. "produces": [
  5196. "application/json"
  5197. ],
  5198. "tags": [
  5199. "定制【海商报业】"
  5200. ],
  5201. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5202. "parameters": [
  5203. {
  5204. "type": "integer",
  5205. "description": "页码",
  5206. "name": "page",
  5207. "in": "query"
  5208. },
  5209. {
  5210. "type": "integer",
  5211. "description": "每页条数",
  5212. "name": "pagesize",
  5213. "in": "query"
  5214. },
  5215. {
  5216. "type": "string",
  5217. "description": "资金账户列表,格式:1,2,3",
  5218. "name": "accountIDs",
  5219. "in": "query",
  5220. "required": true
  5221. }
  5222. ],
  5223. "responses": {
  5224. "200": {
  5225. "description": "OK",
  5226. "schema": {
  5227. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5228. }
  5229. },
  5230. "500": {
  5231. "description": "Internal Server Error",
  5232. "schema": {
  5233. "$ref": "#/definitions/app.Response"
  5234. }
  5235. }
  5236. }
  5237. }
  5238. },
  5239. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5240. "get": {
  5241. "security": [
  5242. {
  5243. "ApiKeyAuth": []
  5244. }
  5245. ],
  5246. "description": "说明:查询结果已按委托价格和委托时间排序",
  5247. "produces": [
  5248. "application/json"
  5249. ],
  5250. "tags": [
  5251. "定制【海商报业】"
  5252. ],
  5253. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5254. "parameters": [
  5255. {
  5256. "type": "integer",
  5257. "description": "商品ID",
  5258. "name": "goodsID",
  5259. "in": "query",
  5260. "required": true
  5261. },
  5262. {
  5263. "type": "string",
  5264. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5265. "name": "accountIDs",
  5266. "in": "query"
  5267. },
  5268. {
  5269. "type": "integer",
  5270. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5271. "name": "buyOrSell",
  5272. "in": "query"
  5273. },
  5274. {
  5275. "type": "number",
  5276. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5277. "name": "price",
  5278. "in": "query"
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "档位,不传则默认为3档",
  5283. "name": "speed",
  5284. "in": "query"
  5285. }
  5286. ],
  5287. "responses": {
  5288. "200": {
  5289. "description": "OK",
  5290. "schema": {
  5291. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5292. }
  5293. },
  5294. "500": {
  5295. "description": "Internal Server Error",
  5296. "schema": {
  5297. "$ref": "#/definitions/app.Response"
  5298. }
  5299. }
  5300. }
  5301. }
  5302. },
  5303. "/HSBY/QueryHsbyListingGoodsDetail": {
  5304. "get": {
  5305. "security": [
  5306. {
  5307. "ApiKeyAuth": []
  5308. }
  5309. ],
  5310. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5311. "produces": [
  5312. "application/json"
  5313. ],
  5314. "tags": [
  5315. "定制【海商报业】"
  5316. ],
  5317. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5318. "parameters": [
  5319. {
  5320. "type": "integer",
  5321. "description": "商品ID",
  5322. "name": "goodsID",
  5323. "in": "query",
  5324. "required": true
  5325. },
  5326. {
  5327. "type": "integer",
  5328. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5329. "name": "accountID",
  5330. "in": "query"
  5331. }
  5332. ],
  5333. "responses": {
  5334. "200": {
  5335. "description": "OK",
  5336. "schema": {
  5337. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5338. }
  5339. },
  5340. "500": {
  5341. "description": "Internal Server Error",
  5342. "schema": {
  5343. "$ref": "#/definitions/app.Response"
  5344. }
  5345. }
  5346. }
  5347. }
  5348. },
  5349. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5350. "get": {
  5351. "security": [
  5352. {
  5353. "ApiKeyAuth": []
  5354. }
  5355. ],
  5356. "produces": [
  5357. "application/json"
  5358. ],
  5359. "tags": [
  5360. "定制【海商报业】"
  5361. ],
  5362. "summary": "查询三级市场(商城)商品信息详情",
  5363. "parameters": [
  5364. {
  5365. "type": "integer",
  5366. "description": "委托单号",
  5367. "name": "orderID",
  5368. "in": "query",
  5369. "required": true
  5370. },
  5371. {
  5372. "type": "integer",
  5373. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5374. "name": "accountID",
  5375. "in": "query"
  5376. }
  5377. ],
  5378. "responses": {
  5379. "200": {
  5380. "description": "OK",
  5381. "schema": {
  5382. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5383. }
  5384. },
  5385. "500": {
  5386. "description": "Internal Server Error",
  5387. "schema": {
  5388. "$ref": "#/definitions/app.Response"
  5389. }
  5390. }
  5391. }
  5392. }
  5393. },
  5394. "/HSBY/QueryHsbyMarketGoodses": {
  5395. "get": {
  5396. "security": [
  5397. {
  5398. "ApiKeyAuth": []
  5399. }
  5400. ],
  5401. "produces": [
  5402. "application/json"
  5403. ],
  5404. "tags": [
  5405. "定制【海商报业】"
  5406. ],
  5407. "summary": "查询特卖商品列表(三级商城)",
  5408. "parameters": [
  5409. {
  5410. "type": "integer",
  5411. "description": "页码",
  5412. "name": "page",
  5413. "in": "query"
  5414. },
  5415. {
  5416. "type": "integer",
  5417. "description": "每页条数",
  5418. "name": "pagesize",
  5419. "in": "query"
  5420. },
  5421. {
  5422. "type": "string",
  5423. "description": "市场ID列表,格式:1,2,3",
  5424. "name": "marketIDs",
  5425. "in": "query",
  5426. "required": true
  5427. },
  5428. {
  5429. "type": "integer",
  5430. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5431. "name": "accountID",
  5432. "in": "query",
  5433. "required": true
  5434. },
  5435. {
  5436. "type": "integer",
  5437. "description": "类别ID",
  5438. "name": "categoryID",
  5439. "in": "query"
  5440. },
  5441. {
  5442. "type": "string",
  5443. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5444. "name": "goodsIDs",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5450. "name": "couponTypeID",
  5451. "in": "query"
  5452. }
  5453. ],
  5454. "responses": {
  5455. "200": {
  5456. "description": "OK",
  5457. "schema": {
  5458. "$ref": "#/definitions/models.HsbyMarketGoods"
  5459. }
  5460. },
  5461. "500": {
  5462. "description": "Internal Server Error",
  5463. "schema": {
  5464. "$ref": "#/definitions/app.Response"
  5465. }
  5466. }
  5467. }
  5468. }
  5469. },
  5470. "/HSBY/QueryHsbyMarkets": {
  5471. "get": {
  5472. "security": [
  5473. {
  5474. "ApiKeyAuth": []
  5475. }
  5476. ],
  5477. "produces": [
  5478. "application/json"
  5479. ],
  5480. "tags": [
  5481. "定制【海商报业】"
  5482. ],
  5483. "summary": "查询海商报业相关市场信息",
  5484. "responses": {
  5485. "200": {
  5486. "description": "OK",
  5487. "schema": {
  5488. "$ref": "#/definitions/models.HsbyMarketInfo"
  5489. }
  5490. },
  5491. "500": {
  5492. "description": "Internal Server Error",
  5493. "schema": {
  5494. "$ref": "#/definitions/app.Response"
  5495. }
  5496. }
  5497. }
  5498. }
  5499. },
  5500. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5501. "get": {
  5502. "security": [
  5503. {
  5504. "ApiKeyAuth": []
  5505. }
  5506. ],
  5507. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5508. "produces": [
  5509. "application/json"
  5510. ],
  5511. "tags": [
  5512. "定制【海商报业】"
  5513. ],
  5514. "summary": "查询“我的订单”信息",
  5515. "parameters": [
  5516. {
  5517. "type": "string",
  5518. "description": "资金账户列表,格式:1,2,3",
  5519. "name": "accountIDs",
  5520. "in": "query",
  5521. "required": true
  5522. }
  5523. ],
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/HSBY/QueryHsbyMyGoods": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5548. "produces": [
  5549. "application/json"
  5550. ],
  5551. "tags": [
  5552. "定制【海商报业】"
  5553. ],
  5554. "summary": "查询“我的商品”信息",
  5555. "parameters": [
  5556. {
  5557. "type": "string",
  5558. "description": "资金账户列表,格式:1,2,3",
  5559. "name": "accountIDs",
  5560. "in": "query",
  5561. "required": true
  5562. }
  5563. ],
  5564. "responses": {
  5565. "200": {
  5566. "description": "OK",
  5567. "schema": {
  5568. "$ref": "#/definitions/models.HsbyMyGoods"
  5569. }
  5570. },
  5571. "500": {
  5572. "description": "Internal Server Error",
  5573. "schema": {
  5574. "$ref": "#/definitions/app.Response"
  5575. }
  5576. }
  5577. }
  5578. }
  5579. },
  5580. "/HSBY/QueryHsbyMyPackages": {
  5581. "get": {
  5582. "security": [
  5583. {
  5584. "ApiKeyAuth": []
  5585. }
  5586. ],
  5587. "produces": [
  5588. "application/json"
  5589. ],
  5590. "tags": [
  5591. "定制【海商报业】"
  5592. ],
  5593. "summary": "查询我的包裹信息",
  5594. "parameters": [
  5595. {
  5596. "type": "string",
  5597. "description": "资金账户列表,格式:1,2,3",
  5598. "name": "accountIDs",
  5599. "in": "query",
  5600. "required": true
  5601. },
  5602. {
  5603. "type": "integer",
  5604. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5605. "name": "takeOrderStatus",
  5606. "in": "query"
  5607. }
  5608. ],
  5609. "responses": {
  5610. "200": {
  5611. "description": "OK",
  5612. "schema": {
  5613. "$ref": "#/definitions/models.HsbyMyPackage"
  5614. }
  5615. },
  5616. "500": {
  5617. "description": "Internal Server Error",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. }
  5622. }
  5623. }
  5624. },
  5625. "/HSBY/QueryHsbyPreGoodsDetail": {
  5626. "get": {
  5627. "security": [
  5628. {
  5629. "ApiKeyAuth": []
  5630. }
  5631. ],
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "定制【海商报业】"
  5637. ],
  5638. "summary": "查询一级市场(预售)商品信息详情",
  5639. "parameters": [
  5640. {
  5641. "type": "integer",
  5642. "description": "商品ID",
  5643. "name": "goodsID",
  5644. "in": "query",
  5645. "required": true
  5646. },
  5647. {
  5648. "type": "integer",
  5649. "description": "资金账户,主要用于获取预售商品购买上限",
  5650. "name": "accountID",
  5651. "in": "query"
  5652. }
  5653. ],
  5654. "responses": {
  5655. "200": {
  5656. "description": "OK",
  5657. "schema": {
  5658. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5659. }
  5660. },
  5661. "500": {
  5662. "description": "Internal Server Error",
  5663. "schema": {
  5664. "$ref": "#/definitions/app.Response"
  5665. }
  5666. }
  5667. }
  5668. }
  5669. },
  5670. "/HSBY/QueryHsbyPreGoodses": {
  5671. "get": {
  5672. "security": [
  5673. {
  5674. "ApiKeyAuth": []
  5675. }
  5676. ],
  5677. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5678. "produces": [
  5679. "application/json"
  5680. ],
  5681. "tags": [
  5682. "定制【海商报业】"
  5683. ],
  5684. "summary": "查询新品上市商品列表(一级市场预售)",
  5685. "parameters": [
  5686. {
  5687. "type": "integer",
  5688. "description": "页码",
  5689. "name": "page",
  5690. "in": "query"
  5691. },
  5692. {
  5693. "type": "integer",
  5694. "description": "每页条数",
  5695. "name": "pagesize",
  5696. "in": "query"
  5697. },
  5698. {
  5699. "type": "string",
  5700. "description": "市场ID列表,格式:1,2,3",
  5701. "name": "marketIDs",
  5702. "in": "query",
  5703. "required": true
  5704. },
  5705. {
  5706. "type": "integer",
  5707. "description": "目的地(省)ID",
  5708. "name": "descProvinceID",
  5709. "in": "query"
  5710. },
  5711. {
  5712. "type": "integer",
  5713. "description": "目的地(市)ID",
  5714. "name": "descCityID",
  5715. "in": "query"
  5716. }
  5717. ],
  5718. "responses": {
  5719. "200": {
  5720. "description": "OK",
  5721. "schema": {
  5722. "$ref": "#/definitions/models.HsbyPreGoods"
  5723. }
  5724. },
  5725. "500": {
  5726. "description": "Internal Server Error",
  5727. "schema": {
  5728. "$ref": "#/definitions/app.Response"
  5729. }
  5730. }
  5731. }
  5732. }
  5733. },
  5734. "/HSBY/QueryHsbySellMyDetails": {
  5735. "get": {
  5736. "security": [
  5737. {
  5738. "ApiKeyAuth": []
  5739. }
  5740. ],
  5741. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5742. "produces": [
  5743. "application/json"
  5744. ],
  5745. "tags": [
  5746. "定制【海商报业】"
  5747. ],
  5748. "summary": "查询\"我的闲置\"单据信息",
  5749. "parameters": [
  5750. {
  5751. "type": "integer",
  5752. "description": "页码",
  5753. "name": "page",
  5754. "in": "query"
  5755. },
  5756. {
  5757. "type": "integer",
  5758. "description": "每页条数",
  5759. "name": "pagesize",
  5760. "in": "query"
  5761. },
  5762. {
  5763. "type": "string",
  5764. "description": "资金账户列表,格式:1,2,3",
  5765. "name": "accountIDs",
  5766. "in": "query",
  5767. "required": true
  5768. },
  5769. {
  5770. "type": "integer",
  5771. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5772. "name": "orderType",
  5773. "in": "query"
  5774. }
  5775. ],
  5776. "responses": {
  5777. "200": {
  5778. "description": "OK",
  5779. "schema": {
  5780. "$ref": "#/definitions/models.HsbySellMyDetail"
  5781. }
  5782. },
  5783. "500": {
  5784. "description": "Internal Server Error",
  5785. "schema": {
  5786. "$ref": "#/definitions/app.Response"
  5787. }
  5788. }
  5789. }
  5790. }
  5791. },
  5792. "/HSBY/QueryHsbyTopGoodses": {
  5793. "get": {
  5794. "security": [
  5795. {
  5796. "ApiKeyAuth": []
  5797. }
  5798. ],
  5799. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5800. "produces": [
  5801. "application/json"
  5802. ],
  5803. "tags": [
  5804. "定制【海商报业】"
  5805. ],
  5806. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5807. "parameters": [
  5808. {
  5809. "type": "integer",
  5810. "description": "页码",
  5811. "name": "page",
  5812. "in": "query"
  5813. },
  5814. {
  5815. "type": "integer",
  5816. "description": "每页条数",
  5817. "name": "pagesize",
  5818. "in": "query"
  5819. },
  5820. {
  5821. "type": "string",
  5822. "description": "市场ID列表,格式:1,2,3",
  5823. "name": "marketIDs",
  5824. "in": "query",
  5825. "required": true
  5826. },
  5827. {
  5828. "type": "integer",
  5829. "description": "目的地(省)ID",
  5830. "name": "descProvinceID",
  5831. "in": "query"
  5832. },
  5833. {
  5834. "type": "integer",
  5835. "description": "目的地(市)ID",
  5836. "name": "descCityID",
  5837. "in": "query"
  5838. }
  5839. ],
  5840. "responses": {
  5841. "200": {
  5842. "description": "OK",
  5843. "schema": {
  5844. "$ref": "#/definitions/models.HsbyTopGoods"
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5864. "produces": [
  5865. "application/json"
  5866. ],
  5867. "tags": [
  5868. "定制【海商报业】"
  5869. ],
  5870. "summary": "查询游客三级市场(商城)商品信息详情",
  5871. "parameters": [
  5872. {
  5873. "type": "integer",
  5874. "description": "商品ID",
  5875. "name": "goodsID",
  5876. "in": "query",
  5877. "required": true
  5878. }
  5879. ],
  5880. "responses": {
  5881. "200": {
  5882. "description": "OK",
  5883. "schema": {
  5884. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5885. }
  5886. },
  5887. "500": {
  5888. "description": "Internal Server Error",
  5889. "schema": {
  5890. "$ref": "#/definitions/app.Response"
  5891. }
  5892. }
  5893. }
  5894. }
  5895. },
  5896. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5897. "get": {
  5898. "security": [
  5899. {
  5900. "ApiKeyAuth": []
  5901. }
  5902. ],
  5903. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5904. "produces": [
  5905. "application/json"
  5906. ],
  5907. "tags": [
  5908. "定制【海商报业】"
  5909. ],
  5910. "summary": "查询游客特卖商品列表(三级商城)",
  5911. "parameters": [
  5912. {
  5913. "type": "integer",
  5914. "description": "页码",
  5915. "name": "page",
  5916. "in": "query"
  5917. },
  5918. {
  5919. "type": "integer",
  5920. "description": "每页条数",
  5921. "name": "pagesize",
  5922. "in": "query"
  5923. },
  5924. {
  5925. "type": "string",
  5926. "description": "市场ID列表,格式:1,2,3",
  5927. "name": "marketIDs",
  5928. "in": "query",
  5929. "required": true
  5930. },
  5931. {
  5932. "type": "integer",
  5933. "description": "类别ID",
  5934. "name": "categoryID",
  5935. "in": "query"
  5936. },
  5937. {
  5938. "type": "string",
  5939. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5940. "name": "goodsIDs",
  5941. "in": "query"
  5942. }
  5943. ],
  5944. "responses": {
  5945. "200": {
  5946. "description": "OK",
  5947. "schema": {
  5948. "$ref": "#/definitions/models.HsbyMarketGoods"
  5949. }
  5950. },
  5951. "500": {
  5952. "description": "Internal Server Error",
  5953. "schema": {
  5954. "$ref": "#/definitions/app.Response"
  5955. }
  5956. }
  5957. }
  5958. }
  5959. },
  5960. "/HSBY/QueryMyCollectionOrders": {
  5961. "get": {
  5962. "security": [
  5963. {
  5964. "ApiKeyAuth": []
  5965. }
  5966. ],
  5967. "produces": [
  5968. "application/json"
  5969. ],
  5970. "tags": [
  5971. "定制【海商报业】"
  5972. ],
  5973. "summary": "我的闲置中收款信息查询",
  5974. "parameters": [
  5975. {
  5976. "type": "integer",
  5977. "description": "页码",
  5978. "name": "page",
  5979. "in": "query"
  5980. },
  5981. {
  5982. "type": "integer",
  5983. "description": "每页条数",
  5984. "name": "pagesize",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "string",
  5989. "description": "资金账户,格式:1,2,3",
  5990. "name": "accountIDs",
  5991. "in": "query",
  5992. "required": true
  5993. }
  5994. ],
  5995. "responses": {
  5996. "200": {
  5997. "description": "OK",
  5998. "schema": {
  5999. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6000. }
  6001. },
  6002. "500": {
  6003. "description": "Internal Server Error",
  6004. "schema": {
  6005. "$ref": "#/definitions/app.Response"
  6006. }
  6007. }
  6008. }
  6009. }
  6010. },
  6011. "/HSBY/QueryMyCouponHolds": {
  6012. "get": {
  6013. "security": [
  6014. {
  6015. "ApiKeyAuth": []
  6016. }
  6017. ],
  6018. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6019. "produces": [
  6020. "application/json"
  6021. ],
  6022. "tags": [
  6023. "定制【海商报业】"
  6024. ],
  6025. "summary": "我的优惠卷持仓查询",
  6026. "parameters": [
  6027. {
  6028. "type": "string",
  6029. "description": "资金账户列表,格式:1,2,3",
  6030. "name": "accountIDs",
  6031. "in": "query",
  6032. "required": true
  6033. },
  6034. {
  6035. "type": "string",
  6036. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6037. "name": "holdStatus",
  6038. "in": "query"
  6039. }
  6040. ],
  6041. "responses": {
  6042. "200": {
  6043. "description": "OK",
  6044. "schema": {
  6045. "$ref": "#/definitions/models.MyCouponHold"
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/HSBY/QueryMyCoupons": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "定制【海商报业】"
  6069. ],
  6070. "summary": "我的优惠卷查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "资金账户列表,格式:1,2,3",
  6075. "name": "accountIDs",
  6076. "in": "query",
  6077. "required": true
  6078. },
  6079. {
  6080. "type": "integer",
  6081. "description": "商品ID, 一般与sellUserID配套传入",
  6082. "name": "goodsID",
  6083. "in": "query"
  6084. },
  6085. {
  6086. "type": "integer",
  6087. "description": "卖方UserID",
  6088. "name": "sellUserID",
  6089. "in": "query"
  6090. }
  6091. ],
  6092. "responses": {
  6093. "200": {
  6094. "description": "OK",
  6095. "schema": {
  6096. "$ref": "#/definitions/models.MyCoupon"
  6097. }
  6098. },
  6099. "500": {
  6100. "description": "Internal Server Error",
  6101. "schema": {
  6102. "$ref": "#/definitions/app.Response"
  6103. }
  6104. }
  6105. }
  6106. }
  6107. },
  6108. "/HSBY/QueryMyPayOrders": {
  6109. "get": {
  6110. "security": [
  6111. {
  6112. "ApiKeyAuth": []
  6113. }
  6114. ],
  6115. "produces": [
  6116. "application/json"
  6117. ],
  6118. "tags": [
  6119. "定制【海商报业】"
  6120. ],
  6121. "summary": "获取我的订单中待付款信息",
  6122. "parameters": [
  6123. {
  6124. "type": "integer",
  6125. "description": "页码",
  6126. "name": "page",
  6127. "in": "query"
  6128. },
  6129. {
  6130. "type": "integer",
  6131. "description": "每页条数",
  6132. "name": "pagesize",
  6133. "in": "query"
  6134. },
  6135. {
  6136. "type": "string",
  6137. "description": "资金账户列表,格式:1,2,3",
  6138. "name": "accountIDs",
  6139. "in": "query",
  6140. "required": true
  6141. },
  6142. {
  6143. "type": "integer",
  6144. "description": "买方委托单号",
  6145. "name": "buyOrderID",
  6146. "in": "query"
  6147. },
  6148. {
  6149. "type": "integer",
  6150. "description": "卖方委托单号",
  6151. "name": "sellOrderID",
  6152. "in": "query"
  6153. }
  6154. ],
  6155. "responses": {
  6156. "200": {
  6157. "description": "OK",
  6158. "schema": {
  6159. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6160. }
  6161. },
  6162. "500": {
  6163. "description": "Internal Server Error",
  6164. "schema": {
  6165. "$ref": "#/definitions/app.Response"
  6166. }
  6167. }
  6168. }
  6169. }
  6170. },
  6171. "/HSBY/QueryMyUsedCoupon": {
  6172. "get": {
  6173. "security": [
  6174. {
  6175. "ApiKeyAuth": []
  6176. }
  6177. ],
  6178. "produces": [
  6179. "application/json"
  6180. ],
  6181. "tags": [
  6182. "定制【海商报业】"
  6183. ],
  6184. "summary": "已使用优惠卷查询",
  6185. "parameters": [
  6186. {
  6187. "type": "string",
  6188. "description": "资金账户列表,格式:1,2,3",
  6189. "name": "accountIDs",
  6190. "in": "query",
  6191. "required": true
  6192. }
  6193. ],
  6194. "responses": {
  6195. "200": {
  6196. "description": "OK",
  6197. "schema": {
  6198. "$ref": "#/definitions/models.MyUsedCoupon"
  6199. }
  6200. },
  6201. "500": {
  6202. "description": "Internal Server Error",
  6203. "schema": {
  6204. "$ref": "#/definitions/app.Response"
  6205. }
  6206. }
  6207. }
  6208. }
  6209. },
  6210. "/HSBY/QueryProvincesAndCities": {
  6211. "get": {
  6212. "security": [
  6213. {
  6214. "ApiKeyAuth": []
  6215. }
  6216. ],
  6217. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6218. "produces": [
  6219. "application/json"
  6220. ],
  6221. "tags": [
  6222. "定制【海商报业】"
  6223. ],
  6224. "summary": "查询省市信息(不包括区)",
  6225. "parameters": [
  6226. {
  6227. "type": "integer",
  6228. "description": "省ID",
  6229. "name": "provinceID",
  6230. "in": "query"
  6231. }
  6232. ],
  6233. "responses": {
  6234. "200": {
  6235. "description": "OK",
  6236. "schema": {
  6237. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6238. }
  6239. },
  6240. "500": {
  6241. "description": "Internal Server Error",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. }
  6246. }
  6247. }
  6248. },
  6249. "/HSBY/SetHsbyMyPackagesStatus": {
  6250. "post": {
  6251. "security": [
  6252. {
  6253. "ApiKeyAuth": []
  6254. }
  6255. ],
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "定制【海商报业】"
  6261. ],
  6262. "summary": "设置我的包裹已收货状态",
  6263. "parameters": [
  6264. {
  6265. "type": "string",
  6266. "description": "提货单号",
  6267. "name": "takeOrderID",
  6268. "in": "query",
  6269. "required": true
  6270. },
  6271. {
  6272. "type": "integer",
  6273. "description": "资金账号",
  6274. "name": "accountID",
  6275. "in": "query",
  6276. "required": true
  6277. }
  6278. ],
  6279. "responses": {
  6280. "200": {
  6281. "description": "OK",
  6282. "schema": {
  6283. "$ref": "#/definitions/app.Response"
  6284. }
  6285. },
  6286. "500": {
  6287. "description": "Internal Server Error",
  6288. "schema": {
  6289. "$ref": "#/definitions/app.Response"
  6290. }
  6291. }
  6292. }
  6293. }
  6294. },
  6295. "/Market/QueryGoodsesByLoginID": {
  6296. "get": {
  6297. "security": [
  6298. {
  6299. "ApiKeyAuth": []
  6300. }
  6301. ],
  6302. "produces": [
  6303. "application/json"
  6304. ],
  6305. "tags": [
  6306. "通用市场"
  6307. ],
  6308. "summary": "获取登录账号有权限的商品信息",
  6309. "parameters": [
  6310. {
  6311. "type": "integer",
  6312. "description": "登录账号",
  6313. "name": "loginID",
  6314. "in": "query",
  6315. "required": true
  6316. },
  6317. {
  6318. "type": "string",
  6319. "description": "市场ID列表,格式:1,2,3",
  6320. "name": "marketIDs",
  6321. "in": "query"
  6322. }
  6323. ],
  6324. "responses": {
  6325. "200": {
  6326. "description": "OK",
  6327. "schema": {
  6328. "$ref": "#/definitions/models.Goods"
  6329. }
  6330. },
  6331. "500": {
  6332. "description": "Internal Server Error",
  6333. "schema": {
  6334. "$ref": "#/definitions/app.Response"
  6335. }
  6336. }
  6337. }
  6338. }
  6339. },
  6340. "/Market/QueryMarketRun": {
  6341. "get": {
  6342. "security": [
  6343. {
  6344. "ApiKeyAuth": []
  6345. }
  6346. ],
  6347. "produces": [
  6348. "application/json"
  6349. ],
  6350. "tags": [
  6351. "通用市场"
  6352. ],
  6353. "summary": "查询市场运行信息",
  6354. "parameters": [
  6355. {
  6356. "type": "integer",
  6357. "description": "市场ID,不传返回所有",
  6358. "name": "marketID",
  6359. "in": "query"
  6360. }
  6361. ],
  6362. "responses": {
  6363. "200": {
  6364. "description": "OK",
  6365. "schema": {
  6366. "$ref": "#/definitions/models.Marketrun"
  6367. }
  6368. },
  6369. "500": {
  6370. "description": "Internal Server Error",
  6371. "schema": {
  6372. "$ref": "#/definitions/app.Response"
  6373. }
  6374. }
  6375. }
  6376. }
  6377. },
  6378. "/Market/QueryMarketsByLoginID": {
  6379. "get": {
  6380. "security": [
  6381. {
  6382. "ApiKeyAuth": []
  6383. }
  6384. ],
  6385. "produces": [
  6386. "application/json"
  6387. ],
  6388. "tags": [
  6389. "通用市场"
  6390. ],
  6391. "summary": "获取登录账号有权限的市场信息",
  6392. "parameters": [
  6393. {
  6394. "type": "integer",
  6395. "description": "登录账号",
  6396. "name": "loginID",
  6397. "in": "query",
  6398. "required": true
  6399. }
  6400. ],
  6401. "responses": {
  6402. "200": {
  6403. "description": "OK",
  6404. "schema": {
  6405. "$ref": "#/definitions/models.Market"
  6406. }
  6407. },
  6408. "500": {
  6409. "description": "Internal Server Error",
  6410. "schema": {
  6411. "$ref": "#/definitions/app.Response"
  6412. }
  6413. }
  6414. }
  6415. }
  6416. },
  6417. "/Order/QueryHisTradeDetail": {
  6418. "get": {
  6419. "security": [
  6420. {
  6421. "ApiKeyAuth": []
  6422. }
  6423. ],
  6424. "produces": [
  6425. "application/json"
  6426. ],
  6427. "tags": [
  6428. "通用单据"
  6429. ],
  6430. "summary": "历史成交单查询(合约市场)",
  6431. "parameters": [
  6432. {
  6433. "type": "string",
  6434. "description": "资金账户 - 格式:1,2,3",
  6435. "name": "accountID",
  6436. "in": "query",
  6437. "required": true
  6438. },
  6439. {
  6440. "type": "integer",
  6441. "description": "成交单号",
  6442. "name": "tradeID",
  6443. "in": "query"
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "委托单号",
  6448. "name": "orderID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "string",
  6453. "description": "交易模式 - 格式:1,2,3",
  6454. "name": "tradeMode",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "integer",
  6459. "description": "委托单据类型",
  6460. "name": "buildType",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "string",
  6465. "description": "成交类别 - 格式:1,2,3",
  6466. "name": "tradeType",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "string",
  6471. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6472. "name": "startDate",
  6473. "in": "query"
  6474. },
  6475. {
  6476. "type": "string",
  6477. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6478. "name": "endDate",
  6479. "in": "query"
  6480. }
  6481. ],
  6482. "responses": {
  6483. "200": {
  6484. "description": "OK",
  6485. "schema": {
  6486. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6487. }
  6488. },
  6489. "500": {
  6490. "description": "Internal Server Error",
  6491. "schema": {
  6492. "$ref": "#/definitions/app.Response"
  6493. }
  6494. }
  6495. }
  6496. }
  6497. },
  6498. "/Order/QueryHisTradeOrderDetail": {
  6499. "get": {
  6500. "security": [
  6501. {
  6502. "ApiKeyAuth": []
  6503. }
  6504. ],
  6505. "produces": [
  6506. "application/json"
  6507. ],
  6508. "tags": [
  6509. "通用单据"
  6510. ],
  6511. "summary": "历史委托单查询请求(合约市场)",
  6512. "parameters": [
  6513. {
  6514. "type": "string",
  6515. "description": "资金账户 - 格式:1,2,3",
  6516. "name": "accountID",
  6517. "in": "query",
  6518. "required": true
  6519. },
  6520. {
  6521. "type": "string",
  6522. "description": "交易模式 - 格式:1,2,3",
  6523. "name": "tradeMode",
  6524. "in": "query"
  6525. },
  6526. {
  6527. "type": "string",
  6528. "description": "委托状态 - 格式:1,2,3",
  6529. "name": "orderStatus",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "integer",
  6534. "description": "委托单号",
  6535. "name": "orderID",
  6536. "in": "query"
  6537. },
  6538. {
  6539. "type": "string",
  6540. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6541. "name": "startDate",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "string",
  6546. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6547. "name": "endDate",
  6548. "in": "query"
  6549. }
  6550. ],
  6551. "responses": {
  6552. "200": {
  6553. "description": "OK",
  6554. "schema": {
  6555. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6556. }
  6557. },
  6558. "500": {
  6559. "description": "Internal Server Error",
  6560. "schema": {
  6561. "$ref": "#/definitions/app.Response"
  6562. }
  6563. }
  6564. }
  6565. }
  6566. },
  6567. "/Order/QueryTradeDetail": {
  6568. "get": {
  6569. "security": [
  6570. {
  6571. "ApiKeyAuth": []
  6572. }
  6573. ],
  6574. "produces": [
  6575. "application/json"
  6576. ],
  6577. "tags": [
  6578. "通用单据"
  6579. ],
  6580. "summary": "成交单查询(合约市场)",
  6581. "parameters": [
  6582. {
  6583. "type": "string",
  6584. "description": "资金账户 - 格式:1,2,3",
  6585. "name": "accountID",
  6586. "in": "query",
  6587. "required": true
  6588. },
  6589. {
  6590. "type": "integer",
  6591. "description": "成交单号",
  6592. "name": "tradeID",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "委托单号",
  6598. "name": "orderID",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "string",
  6603. "description": "交易模式 - 格式:1,2,3",
  6604. "name": "tradeMode",
  6605. "in": "query"
  6606. },
  6607. {
  6608. "type": "integer",
  6609. "description": "委托单据类型",
  6610. "name": "buildType",
  6611. "in": "query"
  6612. },
  6613. {
  6614. "type": "string",
  6615. "description": "成交类别 - 格式:1,2,3",
  6616. "name": "tradeType",
  6617. "in": "query"
  6618. }
  6619. ],
  6620. "responses": {
  6621. "200": {
  6622. "description": "OK",
  6623. "schema": {
  6624. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6625. }
  6626. },
  6627. "500": {
  6628. "description": "Internal Server Error",
  6629. "schema": {
  6630. "$ref": "#/definitions/app.Response"
  6631. }
  6632. }
  6633. }
  6634. }
  6635. },
  6636. "/Order/QueryTradeOrderDetail": {
  6637. "get": {
  6638. "security": [
  6639. {
  6640. "ApiKeyAuth": []
  6641. }
  6642. ],
  6643. "produces": [
  6644. "application/json"
  6645. ],
  6646. "tags": [
  6647. "通用单据"
  6648. ],
  6649. "summary": "委托单查询请求(合约市场)",
  6650. "parameters": [
  6651. {
  6652. "type": "string",
  6653. "description": "资金账户 - 格式:1,2,3",
  6654. "name": "accountID",
  6655. "in": "query",
  6656. "required": true
  6657. },
  6658. {
  6659. "type": "string",
  6660. "description": "交易模式 - 格式:1,2,3",
  6661. "name": "tradeMode",
  6662. "in": "query"
  6663. },
  6664. {
  6665. "type": "string",
  6666. "description": "委托状态 - 格式:1,2,3",
  6667. "name": "orderStatus",
  6668. "in": "query"
  6669. },
  6670. {
  6671. "type": "integer",
  6672. "description": "委托单号",
  6673. "name": "orderID",
  6674. "in": "query"
  6675. }
  6676. ],
  6677. "responses": {
  6678. "200": {
  6679. "description": "OK",
  6680. "schema": {
  6681. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6682. }
  6683. },
  6684. "500": {
  6685. "description": "Internal Server Error",
  6686. "schema": {
  6687. "$ref": "#/definitions/app.Response"
  6688. }
  6689. }
  6690. }
  6691. }
  6692. },
  6693. "/Order/QueryTradePosition": {
  6694. "get": {
  6695. "security": [
  6696. {
  6697. "ApiKeyAuth": []
  6698. }
  6699. ],
  6700. "produces": [
  6701. "application/json"
  6702. ],
  6703. "tags": [
  6704. "通用单据"
  6705. ],
  6706. "summary": "持仓汇总查询(合约市场)",
  6707. "parameters": [
  6708. {
  6709. "type": "string",
  6710. "description": "资金账户 - 格式:1,2,3",
  6711. "name": "accountID",
  6712. "in": "query",
  6713. "required": true
  6714. },
  6715. {
  6716. "type": "string",
  6717. "description": "交易模式 - 格式:1,2,3",
  6718. "name": "tradeMode",
  6719. "in": "query"
  6720. }
  6721. ],
  6722. "responses": {
  6723. "200": {
  6724. "description": "OK",
  6725. "schema": {
  6726. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6727. }
  6728. },
  6729. "500": {
  6730. "description": "Internal Server Error",
  6731. "schema": {
  6732. "$ref": "#/definitions/app.Response"
  6733. }
  6734. }
  6735. }
  6736. }
  6737. },
  6738. "/Qhj/QueryContract": {
  6739. "get": {
  6740. "security": [
  6741. {
  6742. "ApiKeyAuth": []
  6743. }
  6744. ],
  6745. "produces": [
  6746. "application/json"
  6747. ],
  6748. "tags": [
  6749. "大连千海金"
  6750. ],
  6751. "summary": "查询融资明细(合同)",
  6752. "parameters": [
  6753. {
  6754. "type": "integer",
  6755. "description": "用户ID",
  6756. "name": "userid",
  6757. "in": "query",
  6758. "required": true
  6759. },
  6760. {
  6761. "type": "integer",
  6762. "description": "scf合同id",
  6763. "name": "scfcontractid",
  6764. "in": "query"
  6765. }
  6766. ],
  6767. "responses": {
  6768. "200": {
  6769. "description": "OK",
  6770. "schema": {
  6771. "type": "array",
  6772. "items": {
  6773. "$ref": "#/definitions/models.QhjContract"
  6774. }
  6775. }
  6776. },
  6777. "500": {
  6778. "description": "Internal Server Error",
  6779. "schema": {
  6780. "$ref": "#/definitions/app.Response"
  6781. }
  6782. }
  6783. }
  6784. }
  6785. },
  6786. "/Qhj/QueryContractLog": {
  6787. "get": {
  6788. "security": [
  6789. {
  6790. "ApiKeyAuth": []
  6791. }
  6792. ],
  6793. "produces": [
  6794. "application/json"
  6795. ],
  6796. "tags": [
  6797. "大连千海金"
  6798. ],
  6799. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  6800. "parameters": [
  6801. {
  6802. "type": "integer",
  6803. "description": "scf合同id",
  6804. "name": "scfcontractid",
  6805. "in": "query",
  6806. "required": true
  6807. },
  6808. {
  6809. "type": "string",
  6810. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  6811. "name": "amounttype",
  6812. "in": "query"
  6813. }
  6814. ],
  6815. "responses": {
  6816. "200": {
  6817. "description": "OK",
  6818. "schema": {
  6819. "type": "array",
  6820. "items": {
  6821. "$ref": "#/definitions/models.QhjContractLog"
  6822. }
  6823. }
  6824. },
  6825. "500": {
  6826. "description": "Internal Server Error",
  6827. "schema": {
  6828. "$ref": "#/definitions/app.Response"
  6829. }
  6830. }
  6831. }
  6832. }
  6833. },
  6834. "/Quote/QueryHistoryDatas": {
  6835. "get": {
  6836. "security": [
  6837. {
  6838. "ApiKeyAuth": []
  6839. }
  6840. ],
  6841. "produces": [
  6842. "application/json"
  6843. ],
  6844. "tags": [
  6845. "行情服务"
  6846. ],
  6847. "summary": "查询行情历史数据",
  6848. "parameters": [
  6849. {
  6850. "type": "integer",
  6851. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6852. "name": "cycleType",
  6853. "in": "query",
  6854. "required": true
  6855. },
  6856. {
  6857. "type": "string",
  6858. "description": "商品代码",
  6859. "name": "goodsCode",
  6860. "in": "query",
  6861. "required": true
  6862. },
  6863. {
  6864. "type": "string",
  6865. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6866. "name": "startTime",
  6867. "in": "query"
  6868. },
  6869. {
  6870. "type": "string",
  6871. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6872. "name": "endTime",
  6873. "in": "query"
  6874. },
  6875. {
  6876. "type": "integer",
  6877. "description": "条数",
  6878. "name": "count",
  6879. "in": "query"
  6880. },
  6881. {
  6882. "type": "boolean",
  6883. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6884. "name": "isAsc",
  6885. "in": "query"
  6886. }
  6887. ],
  6888. "responses": {
  6889. "200": {
  6890. "description": "OK",
  6891. "schema": {
  6892. "$ref": "#/definitions/quote.HistoryData"
  6893. }
  6894. },
  6895. "500": {
  6896. "description": "Internal Server Error",
  6897. "schema": {
  6898. "$ref": "#/definitions/app.Response"
  6899. }
  6900. }
  6901. }
  6902. }
  6903. },
  6904. "/Quote/QueryHistoryTikDatas": {
  6905. "get": {
  6906. "security": [
  6907. {
  6908. "ApiKeyAuth": []
  6909. }
  6910. ],
  6911. "produces": [
  6912. "application/json"
  6913. ],
  6914. "tags": [
  6915. "行情服务"
  6916. ],
  6917. "summary": "查询行情Tik数据",
  6918. "parameters": [
  6919. {
  6920. "type": "string",
  6921. "description": "商品代码",
  6922. "name": "goodsCode",
  6923. "in": "query",
  6924. "required": true
  6925. },
  6926. {
  6927. "type": "string",
  6928. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6929. "name": "startTime",
  6930. "in": "query"
  6931. },
  6932. {
  6933. "type": "string",
  6934. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6935. "name": "endTime",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "integer",
  6940. "description": "条数",
  6941. "name": "count",
  6942. "in": "query"
  6943. },
  6944. {
  6945. "type": "boolean",
  6946. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6947. "name": "isAsc",
  6948. "in": "query"
  6949. }
  6950. ],
  6951. "responses": {
  6952. "200": {
  6953. "description": "OK",
  6954. "schema": {
  6955. "$ref": "#/definitions/quote.HistoryTikData"
  6956. }
  6957. },
  6958. "500": {
  6959. "description": "Internal Server Error",
  6960. "schema": {
  6961. "$ref": "#/definitions/app.Response"
  6962. }
  6963. }
  6964. }
  6965. }
  6966. },
  6967. "/Quote/QueryQuoteDay": {
  6968. "get": {
  6969. "security": [
  6970. {
  6971. "ApiKeyAuth": []
  6972. }
  6973. ],
  6974. "produces": [
  6975. "application/json"
  6976. ],
  6977. "tags": [
  6978. "行情服务"
  6979. ],
  6980. "summary": "获取商品盘面信息",
  6981. "parameters": [
  6982. {
  6983. "type": "string",
  6984. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6985. "name": "goodsCodes",
  6986. "in": "query",
  6987. "required": true
  6988. }
  6989. ],
  6990. "responses": {
  6991. "200": {
  6992. "description": "OK",
  6993. "schema": {
  6994. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6995. }
  6996. },
  6997. "500": {
  6998. "description": "Internal Server Error",
  6999. "schema": {
  7000. "$ref": "#/definitions/app.Response"
  7001. }
  7002. }
  7003. }
  7004. }
  7005. },
  7006. "/Quote/QueryTSData": {
  7007. "get": {
  7008. "security": [
  7009. {
  7010. "ApiKeyAuth": []
  7011. }
  7012. ],
  7013. "produces": [
  7014. "application/json"
  7015. ],
  7016. "tags": [
  7017. "行情服务"
  7018. ],
  7019. "summary": "分时图数据查询",
  7020. "parameters": [
  7021. {
  7022. "type": "string",
  7023. "description": "商品代码",
  7024. "name": "goodsCode",
  7025. "in": "query",
  7026. "required": true
  7027. }
  7028. ],
  7029. "responses": {
  7030. "200": {
  7031. "description": "OK",
  7032. "schema": {
  7033. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7034. }
  7035. },
  7036. "500": {
  7037. "description": "Internal Server Error",
  7038. "schema": {
  7039. "$ref": "#/definitions/app.Response"
  7040. }
  7041. }
  7042. }
  7043. }
  7044. },
  7045. "/SZDZ/QueryConvertConfig": {
  7046. "get": {
  7047. "security": [
  7048. {
  7049. "ApiKeyAuth": []
  7050. }
  7051. ],
  7052. "produces": [
  7053. "application/json"
  7054. ],
  7055. "tags": [
  7056. "定制【尚志大宗】"
  7057. ],
  7058. "summary": "查询交易系统转换设置",
  7059. "parameters": [
  7060. {
  7061. "type": "integer",
  7062. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7063. "name": "convertType",
  7064. "in": "query"
  7065. },
  7066. {
  7067. "type": "string",
  7068. "description": "外部商品代码[JD\\PD]",
  7069. "name": "outerGoodsCode",
  7070. "in": "query"
  7071. },
  7072. {
  7073. "type": "string",
  7074. "description": "内部商品ID列表[交易],格式:1,2,3",
  7075. "name": "innerGoodsIDs",
  7076. "in": "query"
  7077. }
  7078. ],
  7079. "responses": {
  7080. "200": {
  7081. "description": "OK",
  7082. "schema": {
  7083. "$ref": "#/definitions/models.Szdz3convertconfig"
  7084. }
  7085. },
  7086. "500": {
  7087. "description": "Internal Server Error",
  7088. "schema": {
  7089. "$ref": "#/definitions/app.Response"
  7090. }
  7091. }
  7092. }
  7093. }
  7094. },
  7095. "/SZDZ/QueryConvertLog": {
  7096. "get": {
  7097. "security": [
  7098. {
  7099. "ApiKeyAuth": []
  7100. }
  7101. ],
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "定制【尚志大宗】"
  7107. ],
  7108. "summary": "交易系统转换流水查询",
  7109. "parameters": [
  7110. {
  7111. "type": "string",
  7112. "description": "资金账户 - 格式:1,2,3",
  7113. "name": "accountID",
  7114. "in": "query",
  7115. "required": true
  7116. },
  7117. {
  7118. "type": "string",
  7119. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7120. "name": "startDate",
  7121. "in": "query"
  7122. },
  7123. {
  7124. "type": "string",
  7125. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7126. "name": "endDate",
  7127. "in": "query"
  7128. }
  7129. ],
  7130. "responses": {
  7131. "200": {
  7132. "description": "OK",
  7133. "schema": {
  7134. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7135. }
  7136. },
  7137. "500": {
  7138. "description": "Internal Server Error",
  7139. "schema": {
  7140. "$ref": "#/definitions/app.Response"
  7141. }
  7142. }
  7143. }
  7144. }
  7145. },
  7146. "/SZDZ/QueryGoodsPickup": {
  7147. "get": {
  7148. "security": [
  7149. {
  7150. "ApiKeyAuth": []
  7151. }
  7152. ],
  7153. "produces": [
  7154. "application/json"
  7155. ],
  7156. "tags": [
  7157. "定制【尚志大宗】"
  7158. ],
  7159. "summary": "商品提货单查询",
  7160. "parameters": [
  7161. {
  7162. "type": "string",
  7163. "description": "资金账户 - 格式:1,2,3",
  7164. "name": "accountID",
  7165. "in": "query",
  7166. "required": true
  7167. },
  7168. {
  7169. "type": "integer",
  7170. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7171. "name": "takeOrderStatus",
  7172. "in": "query"
  7173. }
  7174. ],
  7175. "responses": {
  7176. "200": {
  7177. "description": "OK",
  7178. "schema": {
  7179. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7180. }
  7181. },
  7182. "500": {
  7183. "description": "Internal Server Error",
  7184. "schema": {
  7185. "$ref": "#/definitions/app.Response"
  7186. }
  7187. }
  7188. }
  7189. }
  7190. },
  7191. "/SZDZ/QueryRecieptOrder": {
  7192. "get": {
  7193. "security": [
  7194. {
  7195. "ApiKeyAuth": []
  7196. }
  7197. ],
  7198. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7199. "produces": [
  7200. "application/json"
  7201. ],
  7202. "tags": [
  7203. "定制【尚志大宗】"
  7204. ],
  7205. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7206. "parameters": [
  7207. {
  7208. "type": "integer",
  7209. "description": "页码",
  7210. "name": "page",
  7211. "in": "query"
  7212. },
  7213. {
  7214. "type": "integer",
  7215. "description": "每页条数",
  7216. "name": "pagesize",
  7217. "in": "query"
  7218. },
  7219. {
  7220. "type": "integer",
  7221. "description": "商品ID",
  7222. "name": "goodsID",
  7223. "in": "query",
  7224. "required": true
  7225. },
  7226. {
  7227. "type": "string",
  7228. "description": "所属账户名称",
  7229. "name": "accountName",
  7230. "in": "query"
  7231. },
  7232. {
  7233. "type": "integer",
  7234. "description": "市场ID",
  7235. "name": "marketID",
  7236. "in": "query"
  7237. },
  7238. {
  7239. "type": "integer",
  7240. "description": "方向 - 0:买 1:卖",
  7241. "name": "buyorsell",
  7242. "in": "query",
  7243. "required": true
  7244. }
  7245. ],
  7246. "responses": {
  7247. "200": {
  7248. "description": "OK",
  7249. "schema": {
  7250. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7251. }
  7252. },
  7253. "500": {
  7254. "description": "Internal Server Error",
  7255. "schema": {
  7256. "$ref": "#/definitions/app.Response"
  7257. }
  7258. }
  7259. }
  7260. }
  7261. },
  7262. "/SZDZ/QuerySZDZTradePosition": {
  7263. "get": {
  7264. "security": [
  7265. {
  7266. "ApiKeyAuth": []
  7267. }
  7268. ],
  7269. "produces": [
  7270. "application/json"
  7271. ],
  7272. "tags": [
  7273. "定制【尚志大宗】"
  7274. ],
  7275. "summary": "持仓汇总查询(尚志大宗)",
  7276. "parameters": [
  7277. {
  7278. "type": "integer",
  7279. "description": "资金账户",
  7280. "name": "accountID",
  7281. "in": "query",
  7282. "required": true
  7283. }
  7284. ],
  7285. "responses": {
  7286. "200": {
  7287. "description": "OK",
  7288. "schema": {
  7289. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7290. }
  7291. },
  7292. "500": {
  7293. "description": "Internal Server Error",
  7294. "schema": {
  7295. "$ref": "#/definitions/app.Response"
  7296. }
  7297. }
  7298. }
  7299. }
  7300. },
  7301. "/SZDZ/SearchWhite": {
  7302. "get": {
  7303. "security": [
  7304. {
  7305. "ApiKeyAuth": []
  7306. }
  7307. ],
  7308. "produces": [
  7309. "application/json"
  7310. ],
  7311. "tags": [
  7312. "定制【尚志大宗】"
  7313. ],
  7314. "summary": "搜索白名单",
  7315. "parameters": [
  7316. {
  7317. "type": "integer",
  7318. "description": "用户ID",
  7319. "name": "userID",
  7320. "in": "query",
  7321. "required": true
  7322. }
  7323. ],
  7324. "responses": {
  7325. "200": {
  7326. "description": "OK",
  7327. "schema": {
  7328. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7329. }
  7330. },
  7331. "500": {
  7332. "description": "Internal Server Error",
  7333. "schema": {
  7334. "$ref": "#/definitions/app.Response"
  7335. }
  7336. }
  7337. }
  7338. }
  7339. },
  7340. "/Search/SearchGoodses": {
  7341. "get": {
  7342. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7343. "produces": [
  7344. "application/json"
  7345. ],
  7346. "tags": [
  7347. "检索服务"
  7348. ],
  7349. "summary": "检索商品信息",
  7350. "parameters": [
  7351. {
  7352. "type": "string",
  7353. "description": "检索内容",
  7354. "name": "content",
  7355. "in": "query",
  7356. "required": true
  7357. },
  7358. {
  7359. "type": "string",
  7360. "description": "交易模式,格式:1,2,3",
  7361. "name": "tradeModes",
  7362. "in": "query"
  7363. }
  7364. ],
  7365. "responses": {
  7366. "200": {
  7367. "description": "OK",
  7368. "schema": {
  7369. "$ref": "#/definitions/models.SearchGoods"
  7370. }
  7371. },
  7372. "500": {
  7373. "description": "Internal Server Error",
  7374. "schema": {
  7375. "$ref": "#/definitions/app.Response"
  7376. }
  7377. }
  7378. }
  7379. }
  7380. },
  7381. "/TaAccount/GetTaAccounts": {
  7382. "get": {
  7383. "security": [
  7384. {
  7385. "ApiKeyAuth": []
  7386. }
  7387. ],
  7388. "produces": [
  7389. "application/json"
  7390. ],
  7391. "tags": [
  7392. "资金账户"
  7393. ],
  7394. "summary": "获取资金账户信息",
  7395. "parameters": [
  7396. {
  7397. "type": "integer",
  7398. "description": "登录账户",
  7399. "name": "loginID",
  7400. "in": "query",
  7401. "required": true
  7402. },
  7403. {
  7404. "type": "integer",
  7405. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7406. "name": "taAccountType",
  7407. "in": "query"
  7408. }
  7409. ],
  7410. "responses": {
  7411. "200": {
  7412. "description": "OK",
  7413. "schema": {
  7414. "$ref": "#/definitions/models.Taaccount"
  7415. }
  7416. },
  7417. "500": {
  7418. "description": "Internal Server Error",
  7419. "schema": {
  7420. "$ref": "#/definitions/app.Response"
  7421. }
  7422. }
  7423. }
  7424. }
  7425. },
  7426. "/TaAccount/QueryAmountLog": {
  7427. "get": {
  7428. "security": [
  7429. {
  7430. "ApiKeyAuth": []
  7431. }
  7432. ],
  7433. "produces": [
  7434. "application/json"
  7435. ],
  7436. "tags": [
  7437. "资金账户"
  7438. ],
  7439. "summary": "资金流水查询(当前)",
  7440. "parameters": [
  7441. {
  7442. "type": "integer",
  7443. "description": "页码",
  7444. "name": "page",
  7445. "in": "query"
  7446. },
  7447. {
  7448. "type": "integer",
  7449. "description": "每页条数",
  7450. "name": "pagesize",
  7451. "in": "query"
  7452. },
  7453. {
  7454. "type": "string",
  7455. "description": "资金账户 - 格式:1,2,3",
  7456. "name": "accountID",
  7457. "in": "query",
  7458. "required": true
  7459. },
  7460. {
  7461. "type": "string",
  7462. "description": "资金操作类型 - 格式:1,2,3",
  7463. "name": "OperateType",
  7464. "in": "query"
  7465. }
  7466. ],
  7467. "responses": {
  7468. "200": {
  7469. "description": "OK",
  7470. "schema": {
  7471. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7472. }
  7473. },
  7474. "500": {
  7475. "description": "Internal Server Error",
  7476. "schema": {
  7477. "$ref": "#/definitions/app.Response"
  7478. }
  7479. }
  7480. }
  7481. }
  7482. },
  7483. "/TaAccount/QueryHisAmountLog": {
  7484. "get": {
  7485. "security": [
  7486. {
  7487. "ApiKeyAuth": []
  7488. }
  7489. ],
  7490. "produces": [
  7491. "application/json"
  7492. ],
  7493. "tags": [
  7494. "资金账户"
  7495. ],
  7496. "summary": "资金流水查询(历史)",
  7497. "parameters": [
  7498. {
  7499. "type": "integer",
  7500. "description": "页码",
  7501. "name": "page",
  7502. "in": "query"
  7503. },
  7504. {
  7505. "type": "integer",
  7506. "description": "每页条数",
  7507. "name": "pagesize",
  7508. "in": "query"
  7509. },
  7510. {
  7511. "type": "string",
  7512. "description": "资金账户 - 格式:1,2,3",
  7513. "name": "accountID",
  7514. "in": "query",
  7515. "required": true
  7516. },
  7517. {
  7518. "type": "string",
  7519. "description": "资金操作类型 - 格式:1,2,3",
  7520. "name": "OperateType",
  7521. "in": "query"
  7522. },
  7523. {
  7524. "type": "string",
  7525. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7526. "name": "startDate",
  7527. "in": "query"
  7528. },
  7529. {
  7530. "type": "string",
  7531. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7532. "name": "endDate",
  7533. "in": "query"
  7534. }
  7535. ],
  7536. "responses": {
  7537. "200": {
  7538. "description": "OK",
  7539. "schema": {
  7540. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7541. }
  7542. },
  7543. "500": {
  7544. "description": "Internal Server Error",
  7545. "schema": {
  7546. "$ref": "#/definitions/app.Response"
  7547. }
  7548. }
  7549. }
  7550. }
  7551. },
  7552. "/Trade/QueryRecieptOrder": {
  7553. "get": {
  7554. "security": [
  7555. {
  7556. "ApiKeyAuth": []
  7557. }
  7558. ],
  7559. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7560. "produces": [
  7561. "application/json"
  7562. ],
  7563. "tags": [
  7564. "通用交易"
  7565. ],
  7566. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7567. "parameters": [
  7568. {
  7569. "type": "integer",
  7570. "description": "页码",
  7571. "name": "page",
  7572. "in": "query"
  7573. },
  7574. {
  7575. "type": "integer",
  7576. "description": "每页条数",
  7577. "name": "pagesize",
  7578. "in": "query"
  7579. },
  7580. {
  7581. "type": "integer",
  7582. "description": "商品ID",
  7583. "name": "goodsID",
  7584. "in": "query",
  7585. "required": true
  7586. },
  7587. {
  7588. "type": "string",
  7589. "description": "所属账户名称",
  7590. "name": "accountName",
  7591. "in": "query"
  7592. },
  7593. {
  7594. "type": "integer",
  7595. "description": "市场ID",
  7596. "name": "marketID",
  7597. "in": "query"
  7598. },
  7599. {
  7600. "type": "integer",
  7601. "description": "方向 - 0:买 1:卖",
  7602. "name": "buyorsell",
  7603. "in": "query",
  7604. "required": true
  7605. }
  7606. ],
  7607. "responses": {
  7608. "200": {
  7609. "description": "OK",
  7610. "schema": {
  7611. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7612. }
  7613. },
  7614. "500": {
  7615. "description": "Internal Server Error",
  7616. "schema": {
  7617. "$ref": "#/definitions/app.Response"
  7618. }
  7619. }
  7620. }
  7621. }
  7622. },
  7623. "/User/AddMessageBoard": {
  7624. "post": {
  7625. "security": [
  7626. {
  7627. "ApiKeyAuth": []
  7628. }
  7629. ],
  7630. "produces": [
  7631. "application/json"
  7632. ],
  7633. "tags": [
  7634. "用户信息"
  7635. ],
  7636. "summary": "添加用户留言板信息",
  7637. "parameters": [
  7638. {
  7639. "type": "integer",
  7640. "description": "用户ID",
  7641. "name": "userID",
  7642. "in": "query",
  7643. "required": true
  7644. },
  7645. {
  7646. "type": "string",
  7647. "description": "留言信息",
  7648. "name": "message",
  7649. "in": "query",
  7650. "required": true
  7651. },
  7652. {
  7653. "type": "string",
  7654. "description": "联系电话",
  7655. "name": "contactNum",
  7656. "in": "query",
  7657. "required": true
  7658. }
  7659. ],
  7660. "responses": {
  7661. "200": {
  7662. "description": "OK",
  7663. "schema": {
  7664. "$ref": "#/definitions/app.Response"
  7665. }
  7666. },
  7667. "500": {
  7668. "description": "Internal Server Error",
  7669. "schema": {
  7670. "$ref": "#/definitions/app.Response"
  7671. }
  7672. }
  7673. }
  7674. }
  7675. },
  7676. "/User/AddUserFavoriteGoods": {
  7677. "post": {
  7678. "security": [
  7679. {
  7680. "ApiKeyAuth": []
  7681. }
  7682. ],
  7683. "produces": [
  7684. "application/json"
  7685. ],
  7686. "tags": [
  7687. "用户信息"
  7688. ],
  7689. "summary": "添加用户商品收藏信息",
  7690. "parameters": [
  7691. {
  7692. "type": "integer",
  7693. "description": "用户ID",
  7694. "name": "userID",
  7695. "in": "query",
  7696. "required": true
  7697. },
  7698. {
  7699. "type": "integer",
  7700. "description": "商品ID",
  7701. "name": "goodsID",
  7702. "in": "query",
  7703. "required": true
  7704. }
  7705. ],
  7706. "responses": {
  7707. "200": {
  7708. "description": "OK",
  7709. "schema": {
  7710. "$ref": "#/definitions/app.Response"
  7711. }
  7712. },
  7713. "500": {
  7714. "description": "Internal Server Error",
  7715. "schema": {
  7716. "$ref": "#/definitions/app.Response"
  7717. }
  7718. }
  7719. }
  7720. }
  7721. },
  7722. "/User/GetLoginID": {
  7723. "get": {
  7724. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7725. "produces": [
  7726. "application/json"
  7727. ],
  7728. "tags": [
  7729. "用户信息"
  7730. ],
  7731. "summary": "获取登录ID",
  7732. "parameters": [
  7733. {
  7734. "type": "string",
  7735. "description": "登录代码",
  7736. "name": "username",
  7737. "in": "query",
  7738. "required": true
  7739. }
  7740. ],
  7741. "responses": {
  7742. "200": {
  7743. "description": "OK",
  7744. "schema": {
  7745. "$ref": "#/definitions/app.Response"
  7746. }
  7747. },
  7748. "500": {
  7749. "description": "Internal Server Error",
  7750. "schema": {
  7751. "$ref": "#/definitions/app.Response"
  7752. }
  7753. }
  7754. }
  7755. }
  7756. },
  7757. "/User/GetUserAccount": {
  7758. "get": {
  7759. "security": [
  7760. {
  7761. "ApiKeyAuth": []
  7762. }
  7763. ],
  7764. "produces": [
  7765. "application/json"
  7766. ],
  7767. "tags": [
  7768. "用户信息"
  7769. ],
  7770. "summary": "获取用户账号信息",
  7771. "parameters": [
  7772. {
  7773. "type": "integer",
  7774. "description": "用户ID",
  7775. "name": "userID",
  7776. "in": "query",
  7777. "required": true
  7778. }
  7779. ],
  7780. "responses": {
  7781. "200": {
  7782. "description": "OK",
  7783. "schema": {
  7784. "$ref": "#/definitions/models.Useraccount"
  7785. }
  7786. },
  7787. "500": {
  7788. "description": "Internal Server Error",
  7789. "schema": {
  7790. "$ref": "#/definitions/app.Response"
  7791. }
  7792. }
  7793. }
  7794. }
  7795. },
  7796. "/User/GetUserAuthStatus": {
  7797. "get": {
  7798. "security": [
  7799. {
  7800. "ApiKeyAuth": []
  7801. }
  7802. ],
  7803. "produces": [
  7804. "application/json"
  7805. ],
  7806. "tags": [
  7807. "用户信息"
  7808. ],
  7809. "summary": "获取用户实名认证状态",
  7810. "parameters": [
  7811. {
  7812. "type": "integer",
  7813. "description": "用户ID",
  7814. "name": "userID",
  7815. "in": "query",
  7816. "required": true
  7817. }
  7818. ],
  7819. "responses": {
  7820. "200": {
  7821. "description": "OK",
  7822. "schema": {
  7823. "$ref": "#/definitions/app.Response"
  7824. }
  7825. },
  7826. "500": {
  7827. "description": "Internal Server Error",
  7828. "schema": {
  7829. "$ref": "#/definitions/app.Response"
  7830. }
  7831. }
  7832. }
  7833. }
  7834. },
  7835. "/User/LoginQuery": {
  7836. "get": {
  7837. "security": [
  7838. {
  7839. "ApiKeyAuth": []
  7840. }
  7841. ],
  7842. "produces": [
  7843. "application/json"
  7844. ],
  7845. "tags": [
  7846. "用户信息"
  7847. ],
  7848. "summary": "账户登录后信息查询",
  7849. "parameters": [
  7850. {
  7851. "type": "integer",
  7852. "description": "登录账号",
  7853. "name": "loginID",
  7854. "in": "query",
  7855. "required": true
  7856. }
  7857. ],
  7858. "responses": {
  7859. "200": {
  7860. "description": "OK",
  7861. "schema": {
  7862. "$ref": "#/definitions/user.LoginQueryRsp"
  7863. }
  7864. },
  7865. "500": {
  7866. "description": "Internal Server Error",
  7867. "schema": {
  7868. "$ref": "#/definitions/app.Response"
  7869. }
  7870. }
  7871. }
  7872. }
  7873. },
  7874. "/User/QueryMessageBoard": {
  7875. "get": {
  7876. "security": [
  7877. {
  7878. "ApiKeyAuth": []
  7879. }
  7880. ],
  7881. "produces": [
  7882. "application/json"
  7883. ],
  7884. "tags": [
  7885. "用户信息"
  7886. ],
  7887. "summary": "获取用户留言板信息",
  7888. "parameters": [
  7889. {
  7890. "type": "integer",
  7891. "description": "用户ID",
  7892. "name": "userID",
  7893. "in": "query",
  7894. "required": true
  7895. }
  7896. ],
  7897. "responses": {
  7898. "200": {
  7899. "description": "OK",
  7900. "schema": {
  7901. "$ref": "#/definitions/models.Messageboard"
  7902. }
  7903. },
  7904. "500": {
  7905. "description": "Internal Server Error",
  7906. "schema": {
  7907. "$ref": "#/definitions/app.Response"
  7908. }
  7909. }
  7910. }
  7911. }
  7912. },
  7913. "/User/QueryUserFavoriteGoodses": {
  7914. "get": {
  7915. "security": [
  7916. {
  7917. "ApiKeyAuth": []
  7918. }
  7919. ],
  7920. "produces": [
  7921. "application/json"
  7922. ],
  7923. "tags": [
  7924. "用户信息"
  7925. ],
  7926. "summary": "获取用户商品收藏信息",
  7927. "parameters": [
  7928. {
  7929. "type": "integer",
  7930. "description": "用户ID",
  7931. "name": "userID",
  7932. "in": "query",
  7933. "required": true
  7934. }
  7935. ],
  7936. "responses": {
  7937. "200": {
  7938. "description": "OK",
  7939. "schema": {
  7940. "$ref": "#/definitions/models.Userfavoritegoods"
  7941. }
  7942. },
  7943. "500": {
  7944. "description": "Internal Server Error",
  7945. "schema": {
  7946. "$ref": "#/definitions/app.Response"
  7947. }
  7948. }
  7949. }
  7950. }
  7951. },
  7952. "/User/QueryUserInfo": {
  7953. "get": {
  7954. "security": [
  7955. {
  7956. "ApiKeyAuth": []
  7957. }
  7958. ],
  7959. "produces": [
  7960. "application/json"
  7961. ],
  7962. "tags": [
  7963. "用户信息"
  7964. ],
  7965. "summary": "获取用户信息",
  7966. "parameters": [
  7967. {
  7968. "type": "integer",
  7969. "description": "用户ID",
  7970. "name": "userID",
  7971. "in": "query",
  7972. "required": true
  7973. },
  7974. {
  7975. "type": "boolean",
  7976. "description": "是否解密",
  7977. "name": "isDecrypt",
  7978. "in": "query"
  7979. }
  7980. ],
  7981. "responses": {
  7982. "200": {
  7983. "description": "OK",
  7984. "schema": {
  7985. "$ref": "#/definitions/models.Userinfo"
  7986. }
  7987. },
  7988. "500": {
  7989. "description": "Internal Server Error",
  7990. "schema": {
  7991. "$ref": "#/definitions/app.Response"
  7992. }
  7993. }
  7994. }
  7995. }
  7996. },
  7997. "/User/QueryUserReferNum": {
  7998. "get": {
  7999. "produces": [
  8000. "application/json"
  8001. ],
  8002. "tags": [
  8003. "用户信息"
  8004. ],
  8005. "summary": "获取用户邀请码",
  8006. "parameters": [
  8007. {
  8008. "type": "integer",
  8009. "description": "用户ID",
  8010. "name": "userID",
  8011. "in": "query",
  8012. "required": true
  8013. }
  8014. ],
  8015. "responses": {
  8016. "200": {
  8017. "description": "OK",
  8018. "schema": {
  8019. "$ref": "#/definitions/app.Response"
  8020. }
  8021. },
  8022. "500": {
  8023. "description": "Internal Server Error",
  8024. "schema": {
  8025. "$ref": "#/definitions/app.Response"
  8026. }
  8027. }
  8028. }
  8029. }
  8030. },
  8031. "/User/RemoveUserFavoriteGoods": {
  8032. "post": {
  8033. "security": [
  8034. {
  8035. "ApiKeyAuth": []
  8036. }
  8037. ],
  8038. "produces": [
  8039. "application/json"
  8040. ],
  8041. "tags": [
  8042. "用户信息"
  8043. ],
  8044. "summary": "移除用户商品收藏信息",
  8045. "parameters": [
  8046. {
  8047. "type": "integer",
  8048. "description": "用户ID",
  8049. "name": "userID",
  8050. "in": "query",
  8051. "required": true
  8052. },
  8053. {
  8054. "type": "integer",
  8055. "description": "商品ID",
  8056. "name": "goodsID",
  8057. "in": "query",
  8058. "required": true
  8059. }
  8060. ],
  8061. "responses": {
  8062. "200": {
  8063. "description": "OK",
  8064. "schema": {
  8065. "$ref": "#/definitions/app.Response"
  8066. }
  8067. },
  8068. "500": {
  8069. "description": "Internal Server Error",
  8070. "schema": {
  8071. "$ref": "#/definitions/app.Response"
  8072. }
  8073. }
  8074. }
  8075. }
  8076. },
  8077. "/User/UpdateUserAccountStatus": {
  8078. "post": {
  8079. "security": [
  8080. {
  8081. "ApiKeyAuth": []
  8082. }
  8083. ],
  8084. "produces": [
  8085. "application/json"
  8086. ],
  8087. "tags": [
  8088. "用户信息"
  8089. ],
  8090. "summary": "更新用户状态",
  8091. "parameters": [
  8092. {
  8093. "type": "integer",
  8094. "description": "用户ID",
  8095. "name": "userID",
  8096. "in": "query",
  8097. "required": true
  8098. },
  8099. {
  8100. "type": "integer",
  8101. "description": "账户状态 - 4:正常 6:注销(停用)",
  8102. "name": "accountStatus",
  8103. "in": "query",
  8104. "required": true
  8105. }
  8106. ],
  8107. "responses": {
  8108. "200": {
  8109. "description": "OK",
  8110. "schema": {
  8111. "$ref": "#/definitions/app.Response"
  8112. }
  8113. },
  8114. "500": {
  8115. "description": "Internal Server Error",
  8116. "schema": {
  8117. "$ref": "#/definitions/app.Response"
  8118. }
  8119. }
  8120. }
  8121. }
  8122. },
  8123. "/WRTrade/GetAllDeliveryGoods": {
  8124. "get": {
  8125. "security": [
  8126. {
  8127. "ApiKeyAuth": []
  8128. },
  8129. {
  8130. "ApiKeyAuth": []
  8131. }
  8132. ],
  8133. "produces": [
  8134. "application/json",
  8135. "application/json"
  8136. ],
  8137. "tags": [
  8138. "仓单贸易",
  8139. "仓单贸易"
  8140. ],
  8141. "summary": "获取带仓单分类的种类信息",
  8142. "responses": {
  8143. "200": {
  8144. "description": "OK",
  8145. "schema": {
  8146. "$ref": "#/definitions/app.Response"
  8147. }
  8148. },
  8149. "500": {
  8150. "description": "Internal Server Error",
  8151. "schema": {
  8152. "$ref": "#/definitions/app.Response"
  8153. }
  8154. }
  8155. }
  8156. }
  8157. }
  8158. },
  8159. "definitions": {
  8160. "app.Response": {
  8161. "type": "object",
  8162. "properties": {
  8163. "code": {
  8164. "type": "integer"
  8165. },
  8166. "data": {
  8167. "type": "object"
  8168. },
  8169. "msg": {
  8170. "type": "string"
  8171. },
  8172. "page": {
  8173. "description": "页码",
  8174. "type": "integer"
  8175. },
  8176. "pagesize": {
  8177. "description": "每页条数",
  8178. "type": "integer"
  8179. },
  8180. "total": {
  8181. "description": "总条数",
  8182. "type": "integer"
  8183. }
  8184. }
  8185. },
  8186. "common.ClientMenu": {
  8187. "type": "object",
  8188. "properties": {
  8189. "children": {
  8190. "description": "子菜单列表",
  8191. "type": "array",
  8192. "items": {
  8193. "$ref": "#/definitions/common.ClientMenu"
  8194. }
  8195. },
  8196. "code": {
  8197. "description": "ID",
  8198. "type": "string"
  8199. },
  8200. "isshow": {
  8201. "description": "是否显示",
  8202. "type": "boolean"
  8203. },
  8204. "rulekey": {
  8205. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8206. "type": "string"
  8207. },
  8208. "sort": {
  8209. "description": "排序",
  8210. "type": "integer"
  8211. },
  8212. "title": {
  8213. "description": "标题",
  8214. "type": "string"
  8215. },
  8216. "type": {
  8217. "description": "类型,1:菜单 2:按钮",
  8218. "type": "integer"
  8219. }
  8220. }
  8221. },
  8222. "common.QueryImageConfigsRsp": {
  8223. "type": "object",
  8224. "required": [
  8225. "configid"
  8226. ],
  8227. "properties": {
  8228. "areauserid": {
  8229. "description": "所属机构ID",
  8230. "type": "integer"
  8231. },
  8232. "configid": {
  8233. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8234. "type": "integer"
  8235. },
  8236. "createdate": {
  8237. "description": "创建时间",
  8238. "type": "string"
  8239. },
  8240. "creatorid": {
  8241. "description": "创建人",
  8242. "type": "integer"
  8243. },
  8244. "imagepath": {
  8245. "description": "图片",
  8246. "type": "string"
  8247. },
  8248. "imagetype": {
  8249. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8250. "type": "integer"
  8251. },
  8252. "isshow": {
  8253. "description": "是否展示 - 0:不展示 1:展示",
  8254. "type": "integer"
  8255. },
  8256. "marketid": {
  8257. "description": "市场ID",
  8258. "type": "integer"
  8259. },
  8260. "modifierid": {
  8261. "description": "操作人",
  8262. "type": "integer"
  8263. },
  8264. "sort": {
  8265. "description": "排序",
  8266. "type": "integer"
  8267. },
  8268. "title": {
  8269. "description": "标题",
  8270. "type": "string"
  8271. },
  8272. "trademode": {
  8273. "description": "交易模式",
  8274. "type": "integer"
  8275. },
  8276. "updatedate": {
  8277. "description": "修改时间",
  8278. "type": "string"
  8279. },
  8280. "url": {
  8281. "description": "链接(地址或商品ID)",
  8282. "type": "string"
  8283. },
  8284. "urltype": {
  8285. "description": "链接类型 - 1:直接地址 2:商品ID",
  8286. "type": "integer"
  8287. }
  8288. }
  8289. },
  8290. "common.QueryNoticeRsp": {
  8291. "type": "object",
  8292. "required": [
  8293. "autoid"
  8294. ],
  8295. "properties": {
  8296. "auditoruserid": {
  8297. "description": "审核人",
  8298. "type": "integer"
  8299. },
  8300. "auditremark": {
  8301. "description": "审核备注",
  8302. "type": "string"
  8303. },
  8304. "audittime": {
  8305. "description": "审核日期",
  8306. "type": "string"
  8307. },
  8308. "autoid": {
  8309. "description": "自增ID",
  8310. "type": "integer"
  8311. },
  8312. "content": {
  8313. "description": "内容",
  8314. "type": "string"
  8315. },
  8316. "createtime": {
  8317. "description": "创建时间",
  8318. "type": "string"
  8319. },
  8320. "creatorid": {
  8321. "description": "建仓人",
  8322. "type": "integer"
  8323. },
  8324. "endtime": {
  8325. "description": "结束时间",
  8326. "type": "string"
  8327. },
  8328. "istop": {
  8329. "description": "是否置顶 - 0:不置顶 1:置顶",
  8330. "type": "integer"
  8331. },
  8332. "msgiconurl": {
  8333. "description": "消息图标Url",
  8334. "type": "string"
  8335. },
  8336. "msgtype": {
  8337. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8338. "type": "integer"
  8339. },
  8340. "publisher": {
  8341. "description": "消息发布者",
  8342. "type": "string"
  8343. },
  8344. "readed": {
  8345. "description": "是否已读",
  8346. "type": "boolean"
  8347. },
  8348. "scheduletime": {
  8349. "description": "计划发送时间",
  8350. "type": "string"
  8351. },
  8352. "sendtype": {
  8353. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8354. "type": "integer"
  8355. },
  8356. "sentstatus": {
  8357. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8358. "type": "integer"
  8359. },
  8360. "title": {
  8361. "description": "标题",
  8362. "type": "string"
  8363. },
  8364. "userid": {
  8365. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8366. "type": "integer"
  8367. }
  8368. }
  8369. },
  8370. "common.QueryProvincesAndCitiesRsp": {
  8371. "type": "object",
  8372. "properties": {
  8373. "cities": {
  8374. "description": "市",
  8375. "type": "array",
  8376. "items": {
  8377. "$ref": "#/definitions/models.Division"
  8378. }
  8379. },
  8380. "province": {
  8381. "description": "省",
  8382. "type": "object",
  8383. "$ref": "#/definitions/models.Division"
  8384. }
  8385. }
  8386. },
  8387. "common.QueryTableDefineRsp": {
  8388. "type": "object",
  8389. "required": [
  8390. "tablekey"
  8391. ],
  8392. "properties": {
  8393. "columns": {
  8394. "description": "列头信息数组",
  8395. "type": "array",
  8396. "items": {
  8397. "$ref": "#/definitions/models.Tablecolumnconfig"
  8398. }
  8399. },
  8400. "remark": {
  8401. "description": "Remark",
  8402. "type": "string"
  8403. },
  8404. "tabelmenu": {
  8405. "description": "列表菜单",
  8406. "type": "string"
  8407. },
  8408. "tablekey": {
  8409. "description": "列表Key",
  8410. "type": "string"
  8411. },
  8412. "tablename": {
  8413. "description": "列表名称",
  8414. "type": "string"
  8415. },
  8416. "tabletype": {
  8417. "description": "列表类型 - 1:管理端 2:终端",
  8418. "type": "integer"
  8419. }
  8420. }
  8421. },
  8422. "common.QueryTraderMenuRsp": {
  8423. "type": "object",
  8424. "properties": {
  8425. "OperationMenu": {
  8426. "description": "功能菜单",
  8427. "type": "array",
  8428. "items": {
  8429. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8430. }
  8431. },
  8432. "QuoteMenu": {
  8433. "description": "报价牌分类菜单",
  8434. "type": "array",
  8435. "items": {
  8436. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8437. }
  8438. }
  8439. }
  8440. },
  8441. "cptrade.Cptradepositioncancel": {
  8442. "type": "object",
  8443. "required": [
  8444. "cancelid"
  8445. ],
  8446. "properties": {
  8447. "accountid": {
  8448. "description": "申请人账户ID",
  8449. "type": "integer"
  8450. },
  8451. "applystatus": {
  8452. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8453. "type": "integer"
  8454. },
  8455. "applytime": {
  8456. "description": "申请时间",
  8457. "type": "string"
  8458. },
  8459. "cancelid": {
  8460. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8461. "type": "integer"
  8462. },
  8463. "cancelqty": {
  8464. "description": "注销数量",
  8465. "type": "integer"
  8466. },
  8467. "createtime": {
  8468. "description": "创建时间",
  8469. "type": "string"
  8470. },
  8471. "creatorid": {
  8472. "description": "创建人ID",
  8473. "type": "integer"
  8474. },
  8475. "creatorname": {
  8476. "description": "创建人",
  8477. "type": "string"
  8478. },
  8479. "goodscode": {
  8480. "description": "订单商品代码",
  8481. "type": "string"
  8482. },
  8483. "goodsid": {
  8484. "description": "商品ID",
  8485. "type": "integer"
  8486. },
  8487. "goodsname": {
  8488. "description": "订单商品名称",
  8489. "type": "string"
  8490. },
  8491. "goodunit": {
  8492. "description": "报价单位",
  8493. "type": "string"
  8494. },
  8495. "handlestatus": {
  8496. "description": "处理状态",
  8497. "type": "integer"
  8498. },
  8499. "marketid": {
  8500. "description": "市场ID",
  8501. "type": "integer"
  8502. },
  8503. "marketname": {
  8504. "description": "市场名称",
  8505. "type": "string"
  8506. },
  8507. "tradedate": {
  8508. "description": "交易日(yyyyMMdd)",
  8509. "type": "string"
  8510. },
  8511. "userid": {
  8512. "description": "申请人ID",
  8513. "type": "integer"
  8514. }
  8515. }
  8516. },
  8517. "cptrade.Cptradepresaleapply": {
  8518. "type": "object",
  8519. "required": [
  8520. "applyid"
  8521. ],
  8522. "properties": {
  8523. "accountid": {
  8524. "description": "申请人账户ID",
  8525. "type": "integer"
  8526. },
  8527. "applyid": {
  8528. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8529. "type": "integer"
  8530. },
  8531. "applyremark": {
  8532. "description": "申请备注",
  8533. "type": "string"
  8534. },
  8535. "applystatus": {
  8536. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8537. "type": "integer"
  8538. },
  8539. "applytime": {
  8540. "description": "申请时间",
  8541. "type": "string"
  8542. },
  8543. "attachmenturl": {
  8544. "description": "附件地址",
  8545. "type": "string"
  8546. },
  8547. "endtime": {
  8548. "description": "预售结束时间",
  8549. "type": "string"
  8550. },
  8551. "goodscode": {
  8552. "description": "商品代码",
  8553. "type": "string"
  8554. },
  8555. "goodsid": {
  8556. "description": "商品ID",
  8557. "type": "integer"
  8558. },
  8559. "goodsname": {
  8560. "description": "商品名称",
  8561. "type": "string"
  8562. },
  8563. "goodunit": {
  8564. "description": "报价单位",
  8565. "type": "string"
  8566. },
  8567. "handlestatus": {
  8568. "description": "处理状态",
  8569. "type": "integer"
  8570. },
  8571. "marketid": {
  8572. "description": "预售市场ID",
  8573. "type": "integer"
  8574. },
  8575. "marketname": {
  8576. "description": "预售市场名称",
  8577. "type": "string"
  8578. },
  8579. "presaleqty": {
  8580. "description": "预售数量",
  8581. "type": "integer"
  8582. },
  8583. "relatedgoodscode": {
  8584. "description": "关联交易合约代码",
  8585. "type": "string"
  8586. },
  8587. "relatedgoodsid": {
  8588. "description": "关联交易合约ID",
  8589. "type": "integer"
  8590. },
  8591. "relatedgoodsname": {
  8592. "description": "关联交易合约名称",
  8593. "type": "string"
  8594. },
  8595. "starttime": {
  8596. "description": "预售开始时间",
  8597. "type": "string"
  8598. },
  8599. "tradedate": {
  8600. "description": "交易日(yyyyMMdd)",
  8601. "type": "string"
  8602. },
  8603. "trademode": {
  8604. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8605. "type": "integer"
  8606. },
  8607. "userid": {
  8608. "description": "申请人ID",
  8609. "type": "integer"
  8610. }
  8611. }
  8612. },
  8613. "cptrade.Cptradeusergoodsdata": {
  8614. "type": "object",
  8615. "required": [
  8616. "accountid",
  8617. "goodsid"
  8618. ],
  8619. "properties": {
  8620. "EnabledQty": {
  8621. "description": "可用量",
  8622. "type": "integer"
  8623. },
  8624. "GoodsCode": {
  8625. "description": "订单商品代码",
  8626. "type": "string"
  8627. },
  8628. "GoodsName": {
  8629. "description": "订单商品名称",
  8630. "type": "string"
  8631. },
  8632. "WRStandardCode": {
  8633. "description": "仓单标准代码",
  8634. "type": "string"
  8635. },
  8636. "WRStandardName": {
  8637. "description": "仓单标准名称",
  8638. "type": "string"
  8639. },
  8640. "accountid": {
  8641. "description": "账户ID",
  8642. "type": "integer"
  8643. },
  8644. "cancelqty": {
  8645. "description": "注销量",
  8646. "type": "integer"
  8647. },
  8648. "curpresaleqty": {
  8649. "description": "当前预售量",
  8650. "type": "integer"
  8651. },
  8652. "deliveryqty": {
  8653. "description": "交割量",
  8654. "type": "integer"
  8655. },
  8656. "freezeamount": {
  8657. "description": "冻结金额",
  8658. "type": "number"
  8659. },
  8660. "goodsid": {
  8661. "description": "商品ID",
  8662. "type": "integer"
  8663. },
  8664. "goodunit": {
  8665. "description": "报价单位",
  8666. "type": "string"
  8667. },
  8668. "hasspotfreeze": {
  8669. "description": "是否有现货冻结 - 0:否 1:有",
  8670. "type": "integer"
  8671. },
  8672. "inqty": {
  8673. "description": "转入量(总数量)",
  8674. "type": "integer"
  8675. },
  8676. "marketid": {
  8677. "description": "市场ID",
  8678. "type": "integer"
  8679. },
  8680. "presaledamount": {
  8681. "description": "已预售总金额",
  8682. "type": "integer"
  8683. },
  8684. "presaledqty": {
  8685. "description": "已预售量",
  8686. "type": "integer"
  8687. },
  8688. "userid": {
  8689. "description": "用户ID",
  8690. "type": "integer"
  8691. },
  8692. "wrstandardid": {
  8693. "description": "仓单标准ID",
  8694. "type": "integer"
  8695. }
  8696. }
  8697. },
  8698. "cptrade.QueryCPTradeMyBidRsp": {
  8699. "type": "object",
  8700. "required": [
  8701. "accountid",
  8702. "goodsid",
  8703. "marketid",
  8704. "orderid",
  8705. "orderqty",
  8706. "ordertime",
  8707. "tradeprice",
  8708. "tradeqty"
  8709. ],
  8710. "properties": {
  8711. "accountid": {
  8712. "description": "账户ID[报价币种]",
  8713. "type": "integer"
  8714. },
  8715. "goodsid": {
  8716. "description": "商品ID",
  8717. "type": "integer"
  8718. },
  8719. "goodunit": {
  8720. "description": "报价单位",
  8721. "type": "string"
  8722. },
  8723. "marketid": {
  8724. "description": "市场ID",
  8725. "type": "integer"
  8726. },
  8727. "orderid": {
  8728. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8729. "type": "integer"
  8730. },
  8731. "orderprice": {
  8732. "description": "委托价格",
  8733. "type": "number"
  8734. },
  8735. "orderqty": {
  8736. "description": "委托数量",
  8737. "type": "integer"
  8738. },
  8739. "ordertime": {
  8740. "description": "委托时间",
  8741. "type": "string"
  8742. },
  8743. "ordertotalprice": {
  8744. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8745. "type": "number"
  8746. },
  8747. "ordertotalweight": {
  8748. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8749. "type": "integer"
  8750. },
  8751. "totaltotalprice": {
  8752. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8753. "type": "number"
  8754. },
  8755. "tradeprice": {
  8756. "description": "成交价格",
  8757. "type": "number"
  8758. },
  8759. "tradeqty": {
  8760. "description": "成交数量",
  8761. "type": "integer"
  8762. }
  8763. }
  8764. },
  8765. "cptrade.QueryCPTradeOrderDetailRsq": {
  8766. "type": "object",
  8767. "required": [
  8768. "accountid",
  8769. "buildtype",
  8770. "buyorsell",
  8771. "goodsid",
  8772. "marketid",
  8773. "memberuserid",
  8774. "operatetype",
  8775. "orderqty",
  8776. "ordertime",
  8777. "pricemode",
  8778. "strorderid",
  8779. "tradedate",
  8780. "validtype"
  8781. ],
  8782. "properties": {
  8783. "accountid": {
  8784. "description": "账户ID[报价币种]",
  8785. "type": "integer"
  8786. },
  8787. "buildtype": {
  8788. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8789. "type": "integer"
  8790. },
  8791. "buyorsell": {
  8792. "description": "买卖 - 0:买 1:卖",
  8793. "type": "integer"
  8794. },
  8795. "cancelorderid": {
  8796. "description": "撤单单号(撤单时填写)",
  8797. "type": "integer"
  8798. },
  8799. "cancelqty": {
  8800. "description": "撤单数量",
  8801. "type": "integer"
  8802. },
  8803. "clientordertime": {
  8804. "description": "客户端委托时间",
  8805. "type": "string"
  8806. },
  8807. "clientticket": {
  8808. "description": "客户端流水号",
  8809. "type": "string"
  8810. },
  8811. "clienttype": {
  8812. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8813. "type": "integer"
  8814. },
  8815. "closeexchagechargevalue": {
  8816. "description": "平仓交易所手续费设置值",
  8817. "type": "number"
  8818. },
  8819. "closefeealgorithm": {
  8820. "description": "平仓手续费收取方式 1:比率 2:固定",
  8821. "type": "integer"
  8822. },
  8823. "closefreezecharge": {
  8824. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8825. "type": "number"
  8826. },
  8827. "closememberchargevalue": {
  8828. "description": "平仓会员手续费设置值",
  8829. "type": "number"
  8830. },
  8831. "closeqty": {
  8832. "description": "平仓数量(先建后平操作 需要记录)",
  8833. "type": "integer"
  8834. },
  8835. "closetradeqty": {
  8836. "description": "平仓成交数量(先建后平操作,需要记录)",
  8837. "type": "integer"
  8838. },
  8839. "closeunfreezecharge": {
  8840. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8841. "type": "number"
  8842. },
  8843. "delistingtype": {
  8844. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8845. "type": "integer"
  8846. },
  8847. "freezecharge": {
  8848. "description": "冻结手续费",
  8849. "type": "number"
  8850. },
  8851. "freezemargin": {
  8852. "description": "冻结保证金(冻结交易金额)",
  8853. "type": "number"
  8854. },
  8855. "gcaccountid": {
  8856. "description": "账户ID[合约币种]",
  8857. "type": "integer"
  8858. },
  8859. "goodsid": {
  8860. "description": "商品ID",
  8861. "type": "integer"
  8862. },
  8863. "isconfirmexercise": {
  8864. "description": "是否确认行权- 0:否 1:是",
  8865. "type": "integer"
  8866. },
  8867. "ispreexercise": {
  8868. "description": "是否预申报- 0:否 1:是",
  8869. "type": "integer"
  8870. },
  8871. "listingselecttype": {
  8872. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8873. "type": "integer"
  8874. },
  8875. "marginalgorithm": {
  8876. "description": "保证金收取方式 1:比率 2:固定",
  8877. "type": "integer"
  8878. },
  8879. "marginvalue": {
  8880. "description": "即市保证金设置值",
  8881. "type": "number"
  8882. },
  8883. "marketid": {
  8884. "description": "市场ID",
  8885. "type": "integer"
  8886. },
  8887. "marketmaxsub": {
  8888. "description": "市价最大偏移范围",
  8889. "type": "number"
  8890. },
  8891. "memberuserid": {
  8892. "description": "所属会员UserID",
  8893. "type": "integer"
  8894. },
  8895. "openexchagechargevalue": {
  8896. "description": "建仓交易所手续费设置值",
  8897. "type": "number"
  8898. },
  8899. "openfeealgorithm": {
  8900. "description": "建仓手续费收取方式 1:比率 2:固定",
  8901. "type": "integer"
  8902. },
  8903. "openfreezecharge": {
  8904. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8905. "type": "number"
  8906. },
  8907. "openmemberchargevalue": {
  8908. "description": "建仓会员手续费设置值",
  8909. "type": "number"
  8910. },
  8911. "openqty": {
  8912. "description": "开仓数量(先建后平操作,需要记录)",
  8913. "type": "integer"
  8914. },
  8915. "opentradeqty": {
  8916. "description": "开仓成交数量(先建后平操作,需要记录)",
  8917. "type": "integer"
  8918. },
  8919. "openunfreezecharge": {
  8920. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8921. "type": "number"
  8922. },
  8923. "operatetype": {
  8924. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8925. "type": "integer"
  8926. },
  8927. "operatorid": {
  8928. "description": "登录账号(LoginID)",
  8929. "type": "integer"
  8930. },
  8931. "optiontype": {
  8932. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8933. "type": "integer"
  8934. },
  8935. "orderprice": {
  8936. "description": "委托价格",
  8937. "type": "number"
  8938. },
  8939. "orderqty": {
  8940. "description": "委托数量",
  8941. "type": "integer"
  8942. },
  8943. "ordersrc": {
  8944. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8945. "type": "integer"
  8946. },
  8947. "orderstatus": {
  8948. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8949. "type": "integer"
  8950. },
  8951. "ordertime": {
  8952. "description": "委托时间",
  8953. "type": "string"
  8954. },
  8955. "preexerciseprice": {
  8956. "description": "预申报价格",
  8957. "type": "number"
  8958. },
  8959. "premium": {
  8960. "description": "权利金",
  8961. "type": "number"
  8962. },
  8963. "preorderid": {
  8964. "description": "关联预埋单号(止盈止损单时填写)",
  8965. "type": "integer"
  8966. },
  8967. "pricemode": {
  8968. "description": "取价方式 - 1:市价 2: 限价",
  8969. "type": "integer"
  8970. },
  8971. "quoteid": {
  8972. "description": "报价单ID",
  8973. "type": "integer"
  8974. },
  8975. "relatedid": {
  8976. "description": "关联单号(交割单)",
  8977. "type": "integer"
  8978. },
  8979. "retcode": {
  8980. "description": "错误代码",
  8981. "type": "integer"
  8982. },
  8983. "sessionid": {
  8984. "description": "会话ID",
  8985. "type": "integer"
  8986. },
  8987. "strorderid": {
  8988. "description": "委托单号",
  8989. "type": "string"
  8990. },
  8991. "tradedate": {
  8992. "description": "交易日(yyyyMMdd)",
  8993. "type": "string"
  8994. },
  8995. "tradeproperty": {
  8996. "description": "交易属性",
  8997. "type": "integer"
  8998. },
  8999. "tradeqty": {
  9000. "description": "成交数量",
  9001. "type": "integer"
  9002. },
  9003. "unfreezecharge": {
  9004. "description": "解冻手续费",
  9005. "type": "number"
  9006. },
  9007. "unfreezemargin": {
  9008. "description": "解冻保证金",
  9009. "type": "number"
  9010. },
  9011. "updatetime": {
  9012. "description": "更新时间",
  9013. "type": "string"
  9014. },
  9015. "uuid": {
  9016. "description": "发起端唯一id",
  9017. "type": "string"
  9018. },
  9019. "validtime": {
  9020. "description": "有效期限",
  9021. "type": "string"
  9022. },
  9023. "validtype": {
  9024. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9025. "type": "integer"
  9026. },
  9027. "volumetype": {
  9028. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9029. "type": "integer"
  9030. }
  9031. }
  9032. },
  9033. "cptrade.QueryMyCPTradeGoodsRsp": {
  9034. "type": "object",
  9035. "required": [
  9036. "goodscode",
  9037. "goodsid",
  9038. "goodsname",
  9039. "marketid",
  9040. "relatedgoodscode",
  9041. "relatedgoodsname"
  9042. ],
  9043. "properties": {
  9044. "accountid": {
  9045. "description": "卖方账户ID",
  9046. "type": "integer"
  9047. },
  9048. "agreeunit": {
  9049. "description": "合约单位",
  9050. "type": "number"
  9051. },
  9052. "applyid": {
  9053. "description": "关联申请ID",
  9054. "type": "integer"
  9055. },
  9056. "attachmenturl": {
  9057. "description": "附件地址",
  9058. "type": "string"
  9059. },
  9060. "createtime": {
  9061. "description": "创建时间",
  9062. "type": "string"
  9063. },
  9064. "currencyid": {
  9065. "description": "报价货币ID",
  9066. "type": "integer"
  9067. },
  9068. "decimalplace": {
  9069. "description": "报价小数位",
  9070. "type": "integer"
  9071. },
  9072. "endtime": {
  9073. "description": "预售结束时间",
  9074. "type": "string"
  9075. },
  9076. "floorprice": {
  9077. "description": "底价[大宗式竞拍]",
  9078. "type": "number"
  9079. },
  9080. "goodscode": {
  9081. "description": "商品代码(预售)",
  9082. "type": "string"
  9083. },
  9084. "goodsdetail": {
  9085. "description": "详情[大宗]",
  9086. "type": "string"
  9087. },
  9088. "goodsid": {
  9089. "description": "商品ID(自增ID SEQ_GOODS)",
  9090. "type": "integer"
  9091. },
  9092. "goodsname": {
  9093. "description": "商品名称(预售)",
  9094. "type": "string"
  9095. },
  9096. "goodunit": {
  9097. "description": "报价单位",
  9098. "type": "string"
  9099. },
  9100. "goodunitid": {
  9101. "description": "报价单位ID",
  9102. "type": "integer"
  9103. },
  9104. "marketid": {
  9105. "description": "所属市场ID",
  9106. "type": "integer"
  9107. },
  9108. "marketname": {
  9109. "description": "预售市场名称",
  9110. "type": "string"
  9111. },
  9112. "presaledamount": {
  9113. "description": "已预售总金额(预售结束时更新)",
  9114. "type": "number"
  9115. },
  9116. "presaledqty": {
  9117. "description": "已预售量(预售结束时更新)",
  9118. "type": "integer"
  9119. },
  9120. "presalemode": {
  9121. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9122. "type": "integer"
  9123. },
  9124. "presaleqty": {
  9125. "description": "预售数量",
  9126. "type": "integer"
  9127. },
  9128. "refprice": {
  9129. "description": "参考价格[一口价]",
  9130. "type": "number"
  9131. },
  9132. "relatedgoodscode": {
  9133. "description": "商品代码(订单)",
  9134. "type": "string"
  9135. },
  9136. "relatedgoodsid": {
  9137. "description": "关联交易合约ID",
  9138. "type": "integer"
  9139. },
  9140. "relatedgoodsname": {
  9141. "description": "商品名称(订单)",
  9142. "type": "string"
  9143. },
  9144. "relatedmarketid": {
  9145. "description": "关联交易合约市场ID",
  9146. "type": "integer"
  9147. },
  9148. "sellstatus": {
  9149. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9150. "type": "integer"
  9151. },
  9152. "startprice": {
  9153. "description": "起拍价[大宗式竞拍]",
  9154. "type": "number"
  9155. },
  9156. "starttime": {
  9157. "description": "预售开始时间",
  9158. "type": "string"
  9159. },
  9160. "tradedate": {
  9161. "description": "交易日(yyyyMMdd)",
  9162. "type": "string"
  9163. },
  9164. "tradeprice": {
  9165. "description": "成交价[大宗]",
  9166. "type": "number"
  9167. },
  9168. "userid": {
  9169. "description": "卖方用户ID",
  9170. "type": "integer"
  9171. }
  9172. }
  9173. },
  9174. "cptrade.QueryPresaleGoodsExRsp": {
  9175. "type": "object",
  9176. "required": [
  9177. "goodsid"
  9178. ],
  9179. "properties": {
  9180. "attachmenturl": {
  9181. "description": "附件地址",
  9182. "type": "string"
  9183. },
  9184. "createtime": {
  9185. "description": "创建时间",
  9186. "type": "string"
  9187. },
  9188. "endtime": {
  9189. "description": "预售结束时间",
  9190. "type": "string"
  9191. },
  9192. "floorprice": {
  9193. "description": "底价[大宗式竞拍]",
  9194. "type": "number"
  9195. },
  9196. "goodsdetail": {
  9197. "description": "详情[大宗]",
  9198. "type": "string"
  9199. },
  9200. "goodsid": {
  9201. "description": "商品ID(预售)",
  9202. "type": "integer"
  9203. },
  9204. "goodunit": {
  9205. "description": "报价单位",
  9206. "type": "string"
  9207. },
  9208. "marketid": {
  9209. "description": "预售市场ID - 根据预售模式选择市场",
  9210. "type": "integer"
  9211. },
  9212. "presaledamount": {
  9213. "description": "已预售总金额(预售结束时更新)",
  9214. "type": "number"
  9215. },
  9216. "presaledqty": {
  9217. "description": "已预售量(预售结束时更新)",
  9218. "type": "integer"
  9219. },
  9220. "presalemode": {
  9221. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9222. "type": "integer"
  9223. },
  9224. "presaleqty": {
  9225. "description": "预售数量",
  9226. "type": "integer"
  9227. },
  9228. "refprice": {
  9229. "description": "参考价格[一口价]",
  9230. "type": "number"
  9231. },
  9232. "relatedgoodsid": {
  9233. "description": "关联交易合约ID",
  9234. "type": "integer"
  9235. },
  9236. "relatedmarketid": {
  9237. "description": "关联交易合约市场ID",
  9238. "type": "integer"
  9239. },
  9240. "sellstatus": {
  9241. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9242. "type": "integer"
  9243. },
  9244. "startprice": {
  9245. "description": "起拍价[大宗式竞拍]",
  9246. "type": "number"
  9247. },
  9248. "starttime": {
  9249. "description": "预售开始时间",
  9250. "type": "string"
  9251. },
  9252. "tradedate": {
  9253. "description": "交易日(yyyyMMdd)",
  9254. "type": "string"
  9255. },
  9256. "tradeprice": {
  9257. "description": "成交价[大宗]",
  9258. "type": "number"
  9259. }
  9260. }
  9261. },
  9262. "delivery.QueryDeliveryRelationRsp": {
  9263. "type": "object",
  9264. "required": [
  9265. "begindate",
  9266. "enddate",
  9267. "goodsid",
  9268. "mindeliveryqty",
  9269. "xdeliveryratio"
  9270. ],
  9271. "properties": {
  9272. "begindate": {
  9273. "description": "起始日期(yyyyMMdd)",
  9274. "type": "string"
  9275. },
  9276. "buytemplateid": {
  9277. "description": "买履约计划模板ID",
  9278. "type": "integer"
  9279. },
  9280. "deliverygoodscode": {
  9281. "description": "品种代码",
  9282. "type": "string"
  9283. },
  9284. "deliverygoodsid": {
  9285. "description": "交割商品",
  9286. "type": "integer"
  9287. },
  9288. "deliverygoodsname": {
  9289. "description": "品种名称",
  9290. "type": "string"
  9291. },
  9292. "deliverymode": {
  9293. "description": "交割方式 - 1:点选式 2:申报式",
  9294. "type": "integer"
  9295. },
  9296. "deliverypricerule": {
  9297. "description": "交割价规则- 1:行情价 2:建仓价",
  9298. "type": "integer"
  9299. },
  9300. "deliverytype": {
  9301. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9302. "type": "integer"
  9303. },
  9304. "enddate": {
  9305. "description": "结束日期(yyyyMMdd)",
  9306. "type": "string"
  9307. },
  9308. "goodscode": {
  9309. "description": "商品代码",
  9310. "type": "string"
  9311. },
  9312. "goodsid": {
  9313. "description": "交易合约ID",
  9314. "type": "integer"
  9315. },
  9316. "goodsname": {
  9317. "description": "商品名称",
  9318. "type": "string"
  9319. },
  9320. "marketid": {
  9321. "description": "市场ID",
  9322. "type": "integer"
  9323. },
  9324. "mindeliveryqty": {
  9325. "description": "最小交割系数(K)",
  9326. "type": "integer"
  9327. },
  9328. "p2deliveryprice": {
  9329. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9330. "type": "number"
  9331. },
  9332. "p2deliveryratio": {
  9333. "description": "P2合约系数(p)",
  9334. "type": "integer"
  9335. },
  9336. "p2goodsid": {
  9337. "description": "P2合约ID",
  9338. "type": "integer"
  9339. },
  9340. "p2pricemode": {
  9341. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9342. "type": "integer"
  9343. },
  9344. "pdeliveryprice": {
  9345. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9346. "type": "number"
  9347. },
  9348. "pdeliveryratio": {
  9349. "description": "P合约系数(n)",
  9350. "type": "integer"
  9351. },
  9352. "pgoodsid": {
  9353. "description": "P合约ID",
  9354. "type": "integer"
  9355. },
  9356. "ppricemode": {
  9357. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9358. "type": "integer"
  9359. },
  9360. "rratio": {
  9361. "description": "兑换系数(R)",
  9362. "type": "integer"
  9363. },
  9364. "rratio1": {
  9365. "description": "兑换系数(交易合约)(R1)",
  9366. "type": "integer"
  9367. },
  9368. "rratio2": {
  9369. "description": "兑换系数(仓单标准)(R2)",
  9370. "type": "integer"
  9371. },
  9372. "selltemplateid": {
  9373. "description": "卖履约计划模板ID",
  9374. "type": "integer"
  9375. },
  9376. "wrstandardid": {
  9377. "description": "仓单标准ID",
  9378. "type": "integer"
  9379. },
  9380. "xdeliveryratio": {
  9381. "description": "交易合约系数(m)",
  9382. "type": "integer"
  9383. }
  9384. }
  9385. },
  9386. "ermcp.ExposureDetailRsp": {
  9387. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9388. },
  9389. "ermcp.ExposureHedgePosDetailRsp": {
  9390. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9391. },
  9392. "ermcp.ExposureHedgePositionRsp": {
  9393. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9394. },
  9395. "ermcp.ExposureSpotDetailRsp": {
  9396. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9397. },
  9398. "ermcp.ExposureSpotRsp": {
  9399. "$ref": "#/definitions/models.AreaSpotModel"
  9400. },
  9401. "ermcp.HisExposureRsp": {
  9402. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9403. },
  9404. "ermcp.PendingAuditCntRsp": {
  9405. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9406. },
  9407. "ermcp.QryAvalidGPRsp": {
  9408. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9409. },
  9410. "ermcp.QryBusinessDjRsp": {
  9411. "type": "object",
  9412. "properties": {
  9413. "amount": {
  9414. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9415. "type": "number"
  9416. },
  9417. "applyid": {
  9418. "description": "申请人",
  9419. "type": "string"
  9420. },
  9421. "applyname": {
  9422. "description": "申请人名称",
  9423. "type": "string"
  9424. },
  9425. "applystatus": {
  9426. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9427. "type": "integer"
  9428. },
  9429. "applytime": {
  9430. "description": "申请时间",
  9431. "type": "string"
  9432. },
  9433. "attachurl": {
  9434. "description": "附件",
  9435. "type": "string"
  9436. },
  9437. "auditid": {
  9438. "description": "审核人ID",
  9439. "type": "string"
  9440. },
  9441. "auditname": {
  9442. "description": "审核人名称",
  9443. "type": "string"
  9444. },
  9445. "audittime": {
  9446. "description": "审核时间",
  9447. "type": "string"
  9448. },
  9449. "buyusername": {
  9450. "description": "采购方名称",
  9451. "type": "string"
  9452. },
  9453. "contractno": {
  9454. "description": "合同编号",
  9455. "type": "string"
  9456. },
  9457. "contractstatus": {
  9458. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9459. "type": "integer"
  9460. },
  9461. "contracttype": {
  9462. "description": "现货合同类型 - 1:采购 -1:销售",
  9463. "type": "integer"
  9464. },
  9465. "deliverygoodscode": {
  9466. "description": "现货品种代码",
  9467. "type": "string"
  9468. },
  9469. "deliverygoodsid": {
  9470. "description": "现货商品ID",
  9471. "type": "integer"
  9472. },
  9473. "deliverygoodsname": {
  9474. "description": "现货品种名称",
  9475. "type": "string"
  9476. },
  9477. "enumdicname": {
  9478. "description": "单位名称",
  9479. "type": "string"
  9480. },
  9481. "goodscode": {
  9482. "description": "点价合约",
  9483. "type": "string"
  9484. },
  9485. "goodsname": {
  9486. "description": "商品名称",
  9487. "type": "string"
  9488. },
  9489. "operateapplyid": {
  9490. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9491. "type": "string"
  9492. },
  9493. "operateapplytype": {
  9494. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9495. "type": "integer"
  9496. },
  9497. "pricedPrice": {
  9498. "description": "点价价格(非必填)",
  9499. "type": "number"
  9500. },
  9501. "pricedQty": {
  9502. "description": "点价数量(非必填)",
  9503. "type": "number"
  9504. },
  9505. "pricemove": {
  9506. "description": "升贴水",
  9507. "type": "number"
  9508. },
  9509. "pricetype": {
  9510. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9511. "type": "integer"
  9512. },
  9513. "relatedid": {
  9514. "description": "现货合同ID",
  9515. "type": "string"
  9516. },
  9517. "sellusername": {
  9518. "description": "销售方名字",
  9519. "type": "string"
  9520. },
  9521. "userid": {
  9522. "description": "用户ID",
  9523. "type": "integer"
  9524. },
  9525. "wrstandardcode": {
  9526. "description": "品类代码",
  9527. "type": "string"
  9528. },
  9529. "wrstandardid": {
  9530. "description": "品类id",
  9531. "type": "integer"
  9532. },
  9533. "wrstandardname": {
  9534. "description": "品类名称",
  9535. "type": "string"
  9536. }
  9537. }
  9538. },
  9539. "ermcp.QryBussinessFpRsp": {
  9540. "type": "object",
  9541. "properties": {
  9542. "applyid": {
  9543. "description": "申请人",
  9544. "type": "string"
  9545. },
  9546. "applyname": {
  9547. "description": "申请人名称",
  9548. "type": "string"
  9549. },
  9550. "applystatus": {
  9551. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9552. "type": "integer"
  9553. },
  9554. "applytime": {
  9555. "description": "申请时间",
  9556. "type": "string"
  9557. },
  9558. "attachurl": {
  9559. "description": "附件",
  9560. "type": "string"
  9561. },
  9562. "auditid": {
  9563. "description": "审核人ID",
  9564. "type": "string"
  9565. },
  9566. "auditname": {
  9567. "description": "审核人名称",
  9568. "type": "string"
  9569. },
  9570. "audittime": {
  9571. "description": "审核时间",
  9572. "type": "string"
  9573. },
  9574. "buyusername": {
  9575. "description": "采购方名称",
  9576. "type": "string"
  9577. },
  9578. "contractno": {
  9579. "description": "合同编号",
  9580. "type": "string"
  9581. },
  9582. "contractstatus": {
  9583. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9584. "type": "integer"
  9585. },
  9586. "contracttype": {
  9587. "description": "现货合同类型 - 1:采购 -1:销售",
  9588. "type": "integer"
  9589. },
  9590. "deliverygoodscode": {
  9591. "description": "现货品种代码",
  9592. "type": "string"
  9593. },
  9594. "deliverygoodsid": {
  9595. "description": "现货商品ID",
  9596. "type": "integer"
  9597. },
  9598. "deliverygoodsname": {
  9599. "description": "现货品种名称",
  9600. "type": "string"
  9601. },
  9602. "enumdicname": {
  9603. "description": "单位名称",
  9604. "type": "string"
  9605. },
  9606. "goodscode": {
  9607. "description": "点价合约",
  9608. "type": "string"
  9609. },
  9610. "goodsname": {
  9611. "description": "商品名称",
  9612. "type": "string"
  9613. },
  9614. "invoiceAmount": {
  9615. "description": "已开收票金额(销售为开票,采购为收票)",
  9616. "type": "number"
  9617. },
  9618. "operateapplyid": {
  9619. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9620. "type": "string"
  9621. },
  9622. "operateapplytype": {
  9623. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9624. "type": "integer"
  9625. },
  9626. "pricemove": {
  9627. "description": "升贴水",
  9628. "type": "number"
  9629. },
  9630. "pricetype": {
  9631. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9632. "type": "integer"
  9633. },
  9634. "relatedid": {
  9635. "description": "现货合同ID",
  9636. "type": "string"
  9637. },
  9638. "sellusername": {
  9639. "description": "销售方名字",
  9640. "type": "string"
  9641. },
  9642. "userid": {
  9643. "description": "用户ID",
  9644. "type": "integer"
  9645. },
  9646. "wrstandardcode": {
  9647. "description": "品类代码",
  9648. "type": "string"
  9649. },
  9650. "wrstandardid": {
  9651. "description": "品类id",
  9652. "type": "integer"
  9653. },
  9654. "wrstandardname": {
  9655. "description": "品类名称",
  9656. "type": "string"
  9657. }
  9658. }
  9659. },
  9660. "ermcp.QryBussinessJsExRsp": {
  9661. "type": "object",
  9662. "properties": {
  9663. "applyid": {
  9664. "description": "申请人",
  9665. "type": "string"
  9666. },
  9667. "applyname": {
  9668. "description": "申请人名称",
  9669. "type": "string"
  9670. },
  9671. "applystatus": {
  9672. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9673. "type": "integer"
  9674. },
  9675. "applytime": {
  9676. "description": "申请时间",
  9677. "type": "string"
  9678. },
  9679. "attachurl": {
  9680. "description": "附件",
  9681. "type": "string"
  9682. },
  9683. "auditid": {
  9684. "description": "审核人ID",
  9685. "type": "string"
  9686. },
  9687. "auditname": {
  9688. "description": "审核人名称",
  9689. "type": "string"
  9690. },
  9691. "audittime": {
  9692. "description": "审核时间",
  9693. "type": "string"
  9694. },
  9695. "buyusername": {
  9696. "description": "采购方名称",
  9697. "type": "string"
  9698. },
  9699. "contractno": {
  9700. "description": "合同编号",
  9701. "type": "string"
  9702. },
  9703. "contractstatus": {
  9704. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9705. "type": "integer"
  9706. },
  9707. "contracttype": {
  9708. "description": "现货合同类型 - 1:采购 -1:销售",
  9709. "type": "integer"
  9710. },
  9711. "deliverygoodscode": {
  9712. "description": "现货品种代码",
  9713. "type": "string"
  9714. },
  9715. "deliverygoodsid": {
  9716. "description": "现货商品ID",
  9717. "type": "integer"
  9718. },
  9719. "deliverygoodsname": {
  9720. "description": "现货品种名称",
  9721. "type": "string"
  9722. },
  9723. "enumdicname": {
  9724. "description": "单位名称",
  9725. "type": "string"
  9726. },
  9727. "goodscode": {
  9728. "description": "点价合约",
  9729. "type": "string"
  9730. },
  9731. "goodsname": {
  9732. "description": "商品名称",
  9733. "type": "string"
  9734. },
  9735. "operateapplyid": {
  9736. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9737. "type": "string"
  9738. },
  9739. "operateapplytype": {
  9740. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9741. "type": "integer"
  9742. },
  9743. "pricemove": {
  9744. "description": "升贴水",
  9745. "type": "number"
  9746. },
  9747. "pricetype": {
  9748. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9749. "type": "integer"
  9750. },
  9751. "reckontype": {
  9752. "description": "结算类型",
  9753. "type": "string"
  9754. },
  9755. "reckonvalue": {
  9756. "description": "值",
  9757. "type": "number"
  9758. },
  9759. "relatedid": {
  9760. "description": "现货合同ID",
  9761. "type": "string"
  9762. },
  9763. "sellusername": {
  9764. "description": "销售方名字",
  9765. "type": "string"
  9766. },
  9767. "userid": {
  9768. "description": "用户ID",
  9769. "type": "integer"
  9770. },
  9771. "wrstandardcode": {
  9772. "description": "品类代码",
  9773. "type": "string"
  9774. },
  9775. "wrstandardid": {
  9776. "description": "品类id",
  9777. "type": "integer"
  9778. },
  9779. "wrstandardname": {
  9780. "description": "品类名称",
  9781. "type": "string"
  9782. }
  9783. }
  9784. },
  9785. "ermcp.QryBussinessJsRsp": {
  9786. "type": "object",
  9787. "properties": {
  9788. "addmargin": {
  9789. "description": "追加保证金(非必填)",
  9790. "type": "number"
  9791. },
  9792. "applyid": {
  9793. "description": "申请人",
  9794. "type": "string"
  9795. },
  9796. "applyname": {
  9797. "description": "申请人名称",
  9798. "type": "string"
  9799. },
  9800. "applystatus": {
  9801. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9802. "type": "integer"
  9803. },
  9804. "applytime": {
  9805. "description": "申请时间",
  9806. "type": "string"
  9807. },
  9808. "attachurl": {
  9809. "description": "附件",
  9810. "type": "string"
  9811. },
  9812. "auditid": {
  9813. "description": "审核人ID",
  9814. "type": "string"
  9815. },
  9816. "auditname": {
  9817. "description": "审核人名称",
  9818. "type": "string"
  9819. },
  9820. "audittime": {
  9821. "description": "审核时间",
  9822. "type": "string"
  9823. },
  9824. "buyusername": {
  9825. "description": "采购方名称",
  9826. "type": "string"
  9827. },
  9828. "contractno": {
  9829. "description": "合同编号",
  9830. "type": "string"
  9831. },
  9832. "contractstatus": {
  9833. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9834. "type": "integer"
  9835. },
  9836. "contracttype": {
  9837. "description": "现货合同类型 - 1:采购 -1:销售",
  9838. "type": "integer"
  9839. },
  9840. "decmargin": {
  9841. "description": "减少保证金(非必填)",
  9842. "type": "number"
  9843. },
  9844. "deliverygoodscode": {
  9845. "description": "现货品种代码",
  9846. "type": "string"
  9847. },
  9848. "deliverygoodsid": {
  9849. "description": "现货商品ID",
  9850. "type": "integer"
  9851. },
  9852. "deliverygoodsname": {
  9853. "description": "现货品种名称",
  9854. "type": "string"
  9855. },
  9856. "enumdicname": {
  9857. "description": "单位名称",
  9858. "type": "string"
  9859. },
  9860. "goodscode": {
  9861. "description": "点价合约",
  9862. "type": "string"
  9863. },
  9864. "goodsname": {
  9865. "description": "商品名称",
  9866. "type": "string"
  9867. },
  9868. "operateapplyid": {
  9869. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9870. "type": "string"
  9871. },
  9872. "operateapplytype": {
  9873. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9874. "type": "integer"
  9875. },
  9876. "pricemove": {
  9877. "description": "升贴水",
  9878. "type": "number"
  9879. },
  9880. "pricetype": {
  9881. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9882. "type": "integer"
  9883. },
  9884. "reckonadjustamount": {
  9885. "description": "结算调整金额(非必填)",
  9886. "type": "number"
  9887. },
  9888. "reckonosamount": {
  9889. "description": "结算溢短金额(非必填)",
  9890. "type": "number"
  9891. },
  9892. "reckonotheramount": {
  9893. "description": "结算其他费用(非必填)",
  9894. "type": "number"
  9895. },
  9896. "reckonrealqty": {
  9897. "description": "结算实际数量(非必填)",
  9898. "type": "number"
  9899. },
  9900. "relatedid": {
  9901. "description": "现货合同ID",
  9902. "type": "string"
  9903. },
  9904. "sellusername": {
  9905. "description": "销售方名字",
  9906. "type": "string"
  9907. },
  9908. "userid": {
  9909. "description": "用户ID",
  9910. "type": "integer"
  9911. },
  9912. "wrstandardcode": {
  9913. "description": "品类代码",
  9914. "type": "string"
  9915. },
  9916. "wrstandardid": {
  9917. "description": "品类id",
  9918. "type": "integer"
  9919. },
  9920. "wrstandardname": {
  9921. "description": "品类名称",
  9922. "type": "string"
  9923. }
  9924. }
  9925. },
  9926. "ermcp.QryBussinessKxRsp": {
  9927. "type": "object",
  9928. "properties": {
  9929. "applyid": {
  9930. "description": "申请人",
  9931. "type": "string"
  9932. },
  9933. "applyname": {
  9934. "description": "申请人名称",
  9935. "type": "string"
  9936. },
  9937. "applystatus": {
  9938. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9939. "type": "integer"
  9940. },
  9941. "applytime": {
  9942. "description": "申请时间",
  9943. "type": "string"
  9944. },
  9945. "attachurl": {
  9946. "description": "附件",
  9947. "type": "string"
  9948. },
  9949. "auditid": {
  9950. "description": "审核人ID",
  9951. "type": "string"
  9952. },
  9953. "auditname": {
  9954. "description": "审核人名称",
  9955. "type": "string"
  9956. },
  9957. "audittime": {
  9958. "description": "审核时间",
  9959. "type": "string"
  9960. },
  9961. "buyusername": {
  9962. "description": "采购方名称",
  9963. "type": "string"
  9964. },
  9965. "contractno": {
  9966. "description": "合同编号",
  9967. "type": "string"
  9968. },
  9969. "contractstatus": {
  9970. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9971. "type": "integer"
  9972. },
  9973. "contracttype": {
  9974. "description": "现货合同类型 - 1:采购 -1:销售",
  9975. "type": "integer"
  9976. },
  9977. "deductamount": {
  9978. "description": "退款(非必填)",
  9979. "type": "number"
  9980. },
  9981. "deliverygoodscode": {
  9982. "description": "现货品种代码",
  9983. "type": "string"
  9984. },
  9985. "deliverygoodsid": {
  9986. "description": "现货商品ID",
  9987. "type": "integer"
  9988. },
  9989. "deliverygoodsname": {
  9990. "description": "现货品种名称",
  9991. "type": "string"
  9992. },
  9993. "enumdicname": {
  9994. "description": "单位名称",
  9995. "type": "string"
  9996. },
  9997. "goodscode": {
  9998. "description": "点价合约",
  9999. "type": "string"
  10000. },
  10001. "goodsname": {
  10002. "description": "商品名称",
  10003. "type": "string"
  10004. },
  10005. "kxtype": {
  10006. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10007. "type": "integer"
  10008. },
  10009. "operateapplyid": {
  10010. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10011. "type": "string"
  10012. },
  10013. "operateapplytype": {
  10014. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10015. "type": "integer"
  10016. },
  10017. "payamount": {
  10018. "description": "收付款(非必填)",
  10019. "type": "number"
  10020. },
  10021. "pricemove": {
  10022. "description": "升贴水",
  10023. "type": "number"
  10024. },
  10025. "pricetype": {
  10026. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10027. "type": "integer"
  10028. },
  10029. "relatedid": {
  10030. "description": "现货合同ID",
  10031. "type": "string"
  10032. },
  10033. "sellusername": {
  10034. "description": "销售方名字",
  10035. "type": "string"
  10036. },
  10037. "userid": {
  10038. "description": "用户ID",
  10039. "type": "integer"
  10040. },
  10041. "wrstandardcode": {
  10042. "description": "品类代码",
  10043. "type": "string"
  10044. },
  10045. "wrstandardid": {
  10046. "description": "品类id",
  10047. "type": "integer"
  10048. },
  10049. "wrstandardname": {
  10050. "description": "品类名称",
  10051. "type": "string"
  10052. }
  10053. }
  10054. },
  10055. "ermcp.QryGGCovertCfgRsp": {
  10056. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10057. },
  10058. "ermcp.QryMGChangeLogRsp": {
  10059. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10060. },
  10061. "ermcp.QryMiddleGoodsDetailRsp": {
  10062. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10063. },
  10064. "ermcp.QryMiddleGoodsRsp": {
  10065. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10066. },
  10067. "ermcp.QryOPLogRsp": {
  10068. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10069. },
  10070. "ermcp.QryUserInfoRsp": {
  10071. "$ref": "#/definitions/models.ErmcpUserModel"
  10072. },
  10073. "ermcp.QryWarehouseRsp": {
  10074. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10075. },
  10076. "ermcp.QueryErmcpTradePositionRsp": {
  10077. "type": "object",
  10078. "properties": {
  10079. "agreeunit": {
  10080. "description": "合约单位",
  10081. "type": "number"
  10082. },
  10083. "buyorsell": {
  10084. "description": "方向 - 0:买 1:卖",
  10085. "type": "integer"
  10086. },
  10087. "curpositionqty": {
  10088. "description": "持仓(总仓数量, 期末头寸)",
  10089. "type": "integer"
  10090. },
  10091. "curtdposition": {
  10092. "description": "今仓数量(期末今日头寸)",
  10093. "type": "integer"
  10094. },
  10095. "curtdpositionenabled": {
  10096. "description": "今仓可用",
  10097. "type": "integer"
  10098. },
  10099. "decimalplace": {
  10100. "description": "报价小数位",
  10101. "type": "integer"
  10102. },
  10103. "enableqty": {
  10104. "description": "可用(总仓可用)",
  10105. "type": "integer"
  10106. },
  10107. "exexchangename": {
  10108. "description": "外部交易所名称",
  10109. "type": "string"
  10110. },
  10111. "goodscode": {
  10112. "description": "商品代码(内部)",
  10113. "type": "string"
  10114. },
  10115. "goodsid": {
  10116. "description": "商品ID(自增ID SEQ_GOODS)",
  10117. "type": "integer"
  10118. },
  10119. "goodsname": {
  10120. "description": "商品名称",
  10121. "type": "string"
  10122. },
  10123. "last": {
  10124. "description": "现价",
  10125. "type": "number"
  10126. },
  10127. "marketid": {
  10128. "description": "所属市场ID",
  10129. "type": "integer"
  10130. },
  10131. "openaverageprice": {
  10132. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10133. "type": "number"
  10134. },
  10135. "opencost": {
  10136. "description": "开仓成本",
  10137. "type": "number"
  10138. },
  10139. "openpl": {
  10140. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10141. "type": "number"
  10142. },
  10143. "outgoodscode": {
  10144. "description": "商品代码(外部)",
  10145. "type": "string"
  10146. },
  10147. "positionaverageprice": {
  10148. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10149. "type": "number"
  10150. },
  10151. "positioncost": {
  10152. "description": "持仓成本",
  10153. "type": "number"
  10154. },
  10155. "positionpl": {
  10156. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10157. "type": "number"
  10158. },
  10159. "positionplrate": {
  10160. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10161. "type": "number"
  10162. },
  10163. "usedmargin": {
  10164. "description": "占用保证金",
  10165. "type": "number"
  10166. }
  10167. }
  10168. },
  10169. "ermcp.RealtimeExposurePositionRsp": {
  10170. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10171. },
  10172. "ermcp.RealtimeExposureRsp": {
  10173. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10174. },
  10175. "erms2.QueryArbitrageStrategyRsp": {
  10176. "type": "object",
  10177. "required": [
  10178. "asapplyid"
  10179. ],
  10180. "properties": {
  10181. "applybasis": {
  10182. "description": "申请基差",
  10183. "type": "number"
  10184. },
  10185. "asapplyid": {
  10186. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10187. "type": "string"
  10188. },
  10189. "asname": {
  10190. "description": "策略名称",
  10191. "type": "string"
  10192. },
  10193. "asno": {
  10194. "description": "策略编号",
  10195. "type": "string"
  10196. },
  10197. "basischangepl": {
  10198. "description": "基差变动损益[结算更新]",
  10199. "type": "number"
  10200. },
  10201. "biztype": {
  10202. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10203. "type": "integer"
  10204. },
  10205. "closetradedate": {
  10206. "description": "完结交易日(yyyyMMdd)",
  10207. "type": "string"
  10208. },
  10209. "curbasis": {
  10210. "description": "当前基差[结算更新]",
  10211. "type": "number"
  10212. },
  10213. "deliverygoodsid": {
  10214. "description": "现货品种ID",
  10215. "type": "integer"
  10216. },
  10217. "futureavgprice": {
  10218. "description": "期货建仓均价",
  10219. "type": "number"
  10220. },
  10221. "futurecloseamount": {
  10222. "description": "期货平仓金额",
  10223. "type": "number"
  10224. },
  10225. "futurecloseqty": {
  10226. "description": "期货平仓数量",
  10227. "type": "number"
  10228. },
  10229. "futureopenamount": {
  10230. "description": "期货开仓金额",
  10231. "type": "number"
  10232. },
  10233. "futureopenqty": {
  10234. "description": "期货开仓数量",
  10235. "type": "number"
  10236. },
  10237. "futurepl": {
  10238. "description": "期货总盈亏[结算更新]",
  10239. "type": "number"
  10240. },
  10241. "futureqty": {
  10242. "description": "期货持仓数量",
  10243. "type": "number"
  10244. },
  10245. "futurequote": {
  10246. "description": "期货额度",
  10247. "type": "number"
  10248. },
  10249. "goodsgroupid": {
  10250. "description": "期货品种ID",
  10251. "type": "integer"
  10252. },
  10253. "marketid": {
  10254. "description": "市场ID",
  10255. "type": "integer"
  10256. },
  10257. "netexposure": {
  10258. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10259. "type": "number"
  10260. },
  10261. "netexposurepl": {
  10262. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10263. "type": "number"
  10264. },
  10265. "netexposurerate": {
  10266. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10267. "type": "number"
  10268. },
  10269. "openbasis": {
  10270. "description": "建仓基差",
  10271. "type": "number"
  10272. },
  10273. "pricedspotqty": {
  10274. "description": "已定价现货数量",
  10275. "type": "number"
  10276. },
  10277. "pricedspotqtynotax": {
  10278. "description": "已定价现货不含税数量",
  10279. "type": "number"
  10280. },
  10281. "remark": {
  10282. "description": "备注",
  10283. "type": "string"
  10284. },
  10285. "spotavgprice": {
  10286. "description": "现货均价",
  10287. "type": "number"
  10288. },
  10289. "spotbuyamount": {
  10290. "description": "现货采购金额",
  10291. "type": "number"
  10292. },
  10293. "spotbuyqty": {
  10294. "description": "现货采购数量",
  10295. "type": "number"
  10296. },
  10297. "spotpl": {
  10298. "description": "现货总盈亏[结算更新]",
  10299. "type": "number"
  10300. },
  10301. "spotquota": {
  10302. "description": "现货额度",
  10303. "type": "number"
  10304. },
  10305. "spotsellamount": {
  10306. "description": "现货销售金额",
  10307. "type": "number"
  10308. },
  10309. "spotsellqty": {
  10310. "description": "现货销售数量",
  10311. "type": "number"
  10312. },
  10313. "spotusedquota": {
  10314. "description": "现货占用资金",
  10315. "type": "number"
  10316. },
  10317. "strategystatus": {
  10318. "description": "策略状态 - 0:未结束 1:已结束",
  10319. "type": "integer"
  10320. },
  10321. "totalpl": {
  10322. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10323. "type": "number"
  10324. },
  10325. "tradedate": {
  10326. "description": "交易日(yyyyMMdd)",
  10327. "type": "string"
  10328. },
  10329. "updatetime": {
  10330. "description": "更新时间",
  10331. "type": "string"
  10332. },
  10333. "usedquota": {
  10334. "description": "已占用资金",
  10335. "type": "number"
  10336. },
  10337. "userid": {
  10338. "description": "所属机构",
  10339. "type": "integer"
  10340. }
  10341. }
  10342. },
  10343. "erms2.QueryInnerTradeDetailRsp": {
  10344. "type": "object",
  10345. "required": [
  10346. "asapplyid",
  10347. "buyorsell",
  10348. "goodscode",
  10349. "goodsgroupid",
  10350. "goodsgroupname",
  10351. "goodsname",
  10352. "tradeid"
  10353. ],
  10354. "properties": {
  10355. "accountid": {
  10356. "description": "账号ID",
  10357. "type": "integer"
  10358. },
  10359. "agreeunit": {
  10360. "description": "合约单位",
  10361. "type": "number"
  10362. },
  10363. "asapplyid": {
  10364. "description": "策略申请ID",
  10365. "type": "integer"
  10366. },
  10367. "asname": {
  10368. "description": "策略名称",
  10369. "type": "string"
  10370. },
  10371. "asno": {
  10372. "description": "策略编号",
  10373. "type": "string"
  10374. },
  10375. "buyorsell": {
  10376. "description": "方向 - 0:买 1:卖",
  10377. "type": "integer"
  10378. },
  10379. "channelbuildtype": {
  10380. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10381. "type": "integer"
  10382. },
  10383. "closetype": {
  10384. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10385. "type": "integer"
  10386. },
  10387. "decimalplace": {
  10388. "description": "报价小数位",
  10389. "type": "integer"
  10390. },
  10391. "detailtype": {
  10392. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10393. "type": "integer"
  10394. },
  10395. "exexchangecode": {
  10396. "description": "外部交易所代码",
  10397. "type": "string"
  10398. },
  10399. "exexchangename": {
  10400. "description": "外部交易所名称",
  10401. "type": "string"
  10402. },
  10403. "goodscode": {
  10404. "description": "商品代码(合约)",
  10405. "type": "string"
  10406. },
  10407. "goodsgroupid": {
  10408. "description": "商品组ID(品种ID)",
  10409. "type": "integer"
  10410. },
  10411. "goodsgroupname": {
  10412. "description": "商品组名称(品种)",
  10413. "type": "string"
  10414. },
  10415. "goodsid": {
  10416. "description": "商品ID",
  10417. "type": "integer"
  10418. },
  10419. "goodsname": {
  10420. "description": "商品名称(合约)",
  10421. "type": "string"
  10422. },
  10423. "goodunit": {
  10424. "description": "报价单位",
  10425. "type": "string"
  10426. },
  10427. "marketid": {
  10428. "description": "市场ID",
  10429. "type": "integer"
  10430. },
  10431. "orderid": {
  10432. "description": "委托单号",
  10433. "type": "string"
  10434. },
  10435. "outgoodscode": {
  10436. "description": "商品代码(外部)",
  10437. "type": "string"
  10438. },
  10439. "relatedouttradeid": {
  10440. "description": "关联外部成交单ID",
  10441. "type": "string"
  10442. },
  10443. "remark": {
  10444. "description": "备注",
  10445. "type": "string"
  10446. },
  10447. "spotcontractid": {
  10448. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10449. "type": "integer"
  10450. },
  10451. "spotcontractno": {
  10452. "description": "现货合同编号",
  10453. "type": "string"
  10454. },
  10455. "tradeid": {
  10456. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10457. "type": "string"
  10458. },
  10459. "tradeprice": {
  10460. "description": "成交价格",
  10461. "type": "number"
  10462. },
  10463. "tradeqty": {
  10464. "description": "成交数量",
  10465. "type": "integer"
  10466. },
  10467. "tradetime": {
  10468. "description": "成交时间",
  10469. "type": "string"
  10470. },
  10471. "updatetime": {
  10472. "description": "更新时间",
  10473. "type": "string"
  10474. }
  10475. }
  10476. },
  10477. "erms2.QuerySpotContractRsp": {
  10478. "type": "object",
  10479. "required": [
  10480. "spotcontractid"
  10481. ],
  10482. "properties": {
  10483. "accountid": {
  10484. "description": "资金账户ID",
  10485. "type": "integer"
  10486. },
  10487. "areauserid": {
  10488. "description": "所属机构",
  10489. "type": "integer"
  10490. },
  10491. "closedate": {
  10492. "description": "终止日期",
  10493. "type": "string"
  10494. },
  10495. "closeremark": {
  10496. "description": "结束备注",
  10497. "type": "string"
  10498. },
  10499. "closetradedate": {
  10500. "description": "完结交易日(yyyyMMdd)",
  10501. "type": "string"
  10502. },
  10503. "closetype": {
  10504. "description": "终止类型 - 1:违约 2:提前终止",
  10505. "type": "integer"
  10506. },
  10507. "contractamount": {
  10508. "description": "合同金额",
  10509. "type": "number"
  10510. },
  10511. "contractattachment": {
  10512. "description": "合同附件",
  10513. "type": "string"
  10514. },
  10515. "contractno": {
  10516. "description": "现货合同编号",
  10517. "type": "string"
  10518. },
  10519. "contractqty": {
  10520. "description": "合同数量(数值) (用于计算)",
  10521. "type": "number"
  10522. },
  10523. "contractqtychar": {
  10524. "description": "合同数量\\已订价数量 (用于显示)",
  10525. "type": "string"
  10526. },
  10527. "contractstatus": {
  10528. "description": "合同状态 - 0:未结束 1:已结束",
  10529. "type": "integer"
  10530. },
  10531. "contracttype": {
  10532. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10533. "type": "integer"
  10534. },
  10535. "customeraccountid": {
  10536. "description": "客户资金账户ID",
  10537. "type": "integer"
  10538. },
  10539. "customeruserid": {
  10540. "description": "客户ID",
  10541. "type": "integer"
  10542. },
  10543. "deliverygoodsdesc": {
  10544. "description": "品种说明",
  10545. "type": "string"
  10546. },
  10547. "deliverygoodsid": {
  10548. "description": "现货品种ID",
  10549. "type": "integer"
  10550. },
  10551. "handlestatus": {
  10552. "description": "处理状态",
  10553. "type": "integer"
  10554. },
  10555. "invoiceatt": {
  10556. "description": "发票附件",
  10557. "type": "string"
  10558. },
  10559. "invoicedatetime": {
  10560. "description": "开收票更新时间",
  10561. "type": "string"
  10562. },
  10563. "invoiceopentime": {
  10564. "description": "开票时间",
  10565. "type": "string"
  10566. },
  10567. "invoiceremark": {
  10568. "description": "发票备注",
  10569. "type": "string"
  10570. },
  10571. "invoicestatus": {
  10572. "description": "开收票状态 - 0:未开票 1:已开票",
  10573. "type": "integer"
  10574. },
  10575. "lastdate": {
  10576. "description": "交货时间",
  10577. "type": "string"
  10578. },
  10579. "marketid": {
  10580. "description": "市场ID",
  10581. "type": "integer"
  10582. },
  10583. "paydatetime": {
  10584. "description": "收付款更新时间",
  10585. "type": "string"
  10586. },
  10587. "payremark": {
  10588. "description": "收付款备注",
  10589. "type": "string"
  10590. },
  10591. "paystatus": {
  10592. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10593. "type": "integer"
  10594. },
  10595. "positionqty": {
  10596. "description": "头寸数量 - 合同数量去小数部分",
  10597. "type": "integer"
  10598. },
  10599. "producttype": {
  10600. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10601. "type": "integer"
  10602. },
  10603. "relatedqty": {
  10604. "description": "已关联数量",
  10605. "type": "number"
  10606. },
  10607. "relatedstatus": {
  10608. "description": "关联完结状态 - 0:未结束 1:已结束",
  10609. "type": "integer"
  10610. },
  10611. "remark": {
  10612. "description": "备注",
  10613. "type": "string"
  10614. },
  10615. "signdate": {
  10616. "description": "签订日期",
  10617. "type": "string"
  10618. },
  10619. "spotcontractid": {
  10620. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10621. "type": "string"
  10622. },
  10623. "spotdatetime": {
  10624. "description": "收发货更新时间",
  10625. "type": "string"
  10626. },
  10627. "spotprice": {
  10628. "description": "价格",
  10629. "type": "number"
  10630. },
  10631. "spotremark": {
  10632. "description": "收发货备注",
  10633. "type": "string"
  10634. },
  10635. "spotstatus": {
  10636. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10637. "type": "integer"
  10638. },
  10639. "tradedate": {
  10640. "description": "交易日(yyyyMMdd)",
  10641. "type": "string"
  10642. },
  10643. "userid": {
  10644. "description": "业务员用户ID",
  10645. "type": "integer"
  10646. },
  10647. "warehouseid": {
  10648. "description": "仓库ID",
  10649. "type": "integer"
  10650. },
  10651. "wrfactortypeid": {
  10652. "description": "仓单要素类型ID",
  10653. "type": "integer"
  10654. },
  10655. "wrstandardid": {
  10656. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10657. "type": "integer"
  10658. }
  10659. }
  10660. },
  10661. "erms3.AddErms2ASApplyReq": {
  10662. "type": "object",
  10663. "required": [
  10664. "asapplyid"
  10665. ],
  10666. "properties": {
  10667. "applybasis": {
  10668. "description": "申请基差",
  10669. "type": "number"
  10670. },
  10671. "applystatus": {
  10672. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10673. "type": "integer"
  10674. },
  10675. "asapplyid": {
  10676. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10677. "type": "integer"
  10678. },
  10679. "asname": {
  10680. "description": "策略名称",
  10681. "type": "string"
  10682. },
  10683. "asno": {
  10684. "description": "策略编号",
  10685. "type": "string"
  10686. },
  10687. "auditid": {
  10688. "description": "审核人",
  10689. "type": "integer"
  10690. },
  10691. "auditremark": {
  10692. "description": "审核备注",
  10693. "type": "string"
  10694. },
  10695. "audittime": {
  10696. "description": "审核时间",
  10697. "type": "string"
  10698. },
  10699. "biztype": {
  10700. "description": "业务类型 - 1:正向套利 2:反向套利",
  10701. "type": "integer"
  10702. },
  10703. "createtime": {
  10704. "description": "创建时间",
  10705. "type": "string"
  10706. },
  10707. "creatorid": {
  10708. "description": "创建人",
  10709. "type": "integer"
  10710. },
  10711. "deliverygoodsid": {
  10712. "description": "现货品种ID",
  10713. "type": "integer"
  10714. },
  10715. "futurequote": {
  10716. "description": "期货额度",
  10717. "type": "number"
  10718. },
  10719. "goodsgroupid": {
  10720. "description": "期货品种ID",
  10721. "type": "integer"
  10722. },
  10723. "marketid": {
  10724. "description": "市场ID",
  10725. "type": "integer"
  10726. },
  10727. "remark": {
  10728. "description": "备注",
  10729. "type": "string"
  10730. },
  10731. "spotquota": {
  10732. "description": "现货额度",
  10733. "type": "number"
  10734. },
  10735. "tradedate": {
  10736. "description": "交易日(yyyyMMdd)",
  10737. "type": "string"
  10738. },
  10739. "userid": {
  10740. "description": "所属机构",
  10741. "type": "integer"
  10742. }
  10743. }
  10744. },
  10745. "erms3.AddErms2SpotTradeApplyReq": {
  10746. "type": "object",
  10747. "required": [
  10748. "spottradeid"
  10749. ],
  10750. "properties": {
  10751. "applyjsondetail": {
  10752. "description": "申请明细(JSON)",
  10753. "type": "string"
  10754. },
  10755. "applystatus": {
  10756. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10757. "type": "integer"
  10758. },
  10759. "areauserid": {
  10760. "description": "所属机构",
  10761. "type": "integer"
  10762. },
  10763. "auditid": {
  10764. "description": "审核人",
  10765. "type": "integer"
  10766. },
  10767. "auditremark": {
  10768. "description": "审核备注",
  10769. "type": "string"
  10770. },
  10771. "audittime": {
  10772. "description": "审核时间",
  10773. "type": "string"
  10774. },
  10775. "createtime": {
  10776. "description": "创建时间",
  10777. "type": "string"
  10778. },
  10779. "creatorid": {
  10780. "description": "创建人",
  10781. "type": "integer"
  10782. },
  10783. "deliverygoodsid": {
  10784. "description": "现货品种ID",
  10785. "type": "integer"
  10786. },
  10787. "futureaccountid": {
  10788. "description": "期货资金账户",
  10789. "type": "integer"
  10790. },
  10791. "goodsgroupid": {
  10792. "description": "期货品种",
  10793. "type": "integer"
  10794. },
  10795. "marketid": {
  10796. "description": "市场ID",
  10797. "type": "integer"
  10798. },
  10799. "remark": {
  10800. "description": "备注",
  10801. "type": "string"
  10802. },
  10803. "spotaccountid": {
  10804. "description": "现货资金账户",
  10805. "type": "integer"
  10806. },
  10807. "spottradeid": {
  10808. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10809. "type": "integer"
  10810. },
  10811. "spottradename": {
  10812. "description": "业务名称",
  10813. "type": "string"
  10814. },
  10815. "spottradeno": {
  10816. "description": "业务编号",
  10817. "type": "string"
  10818. },
  10819. "tradedate": {
  10820. "description": "交易日(yyyyMMdd)",
  10821. "type": "string"
  10822. },
  10823. "wrstandardid": {
  10824. "description": "仓单标准ID",
  10825. "type": "integer"
  10826. }
  10827. }
  10828. },
  10829. "erms3.AddSpotContractApplyReq": {
  10830. "type": "object",
  10831. "required": [
  10832. "accountid",
  10833. "areauserid",
  10834. "contractno",
  10835. "contracttype",
  10836. "customeraccountid",
  10837. "customeruserid",
  10838. "details",
  10839. "orimargin",
  10840. "signdate"
  10841. ],
  10842. "properties": {
  10843. "accountid": {
  10844. "description": "资金账户ID",
  10845. "type": "integer"
  10846. },
  10847. "areauserid": {
  10848. "description": "所属机构",
  10849. "type": "integer"
  10850. },
  10851. "contractattachment": {
  10852. "description": "合同附件",
  10853. "type": "string"
  10854. },
  10855. "contractno": {
  10856. "description": "现货合同编号",
  10857. "type": "string"
  10858. },
  10859. "contracttype": {
  10860. "description": "现货合同类型 - 1:采购 -1:销售",
  10861. "type": "integer"
  10862. },
  10863. "creatorid": {
  10864. "description": "申请人",
  10865. "type": "integer"
  10866. },
  10867. "customeraccountid": {
  10868. "description": "客户资金账户ID",
  10869. "type": "integer"
  10870. },
  10871. "customeruserid": {
  10872. "description": "客户ID",
  10873. "type": "integer"
  10874. },
  10875. "details": {
  10876. "description": "明细",
  10877. "type": "array",
  10878. "items": {
  10879. "$ref": "#/definitions/erms3.SoptContractDetail"
  10880. }
  10881. },
  10882. "orimargin": {
  10883. "description": "初始保证金",
  10884. "type": "number"
  10885. },
  10886. "remark": {
  10887. "description": "备注",
  10888. "type": "string"
  10889. },
  10890. "signdate": {
  10891. "description": "签订日期",
  10892. "type": "string"
  10893. }
  10894. }
  10895. },
  10896. "erms3.AddSpotContractApplyRsp": {
  10897. "type": "object",
  10898. "required": [
  10899. "contractno"
  10900. ],
  10901. "properties": {
  10902. "contractno": {
  10903. "description": "现货合同编号",
  10904. "type": "string"
  10905. },
  10906. "spotcontractid": {
  10907. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10908. "type": "integer"
  10909. }
  10910. }
  10911. },
  10912. "erms3.AddUserInfoApplyReq": {
  10913. "type": "object",
  10914. "required": [
  10915. "userid"
  10916. ],
  10917. "properties": {
  10918. "accountid": {
  10919. "description": "交易系统帐号Id (加密存储)",
  10920. "type": "integer"
  10921. },
  10922. "areacode": {
  10923. "description": "机构代码",
  10924. "type": "string"
  10925. },
  10926. "areaid": {
  10927. "description": "机构Id",
  10928. "type": "integer"
  10929. },
  10930. "attachment1": {
  10931. "description": "附件1",
  10932. "type": "string"
  10933. },
  10934. "attachment2": {
  10935. "description": "附件2",
  10936. "type": "string"
  10937. },
  10938. "attachment3": {
  10939. "description": "附件3",
  10940. "type": "string"
  10941. },
  10942. "attachment4": {
  10943. "description": "附件4",
  10944. "type": "string"
  10945. },
  10946. "attachment5": {
  10947. "description": "附件5",
  10948. "type": "string"
  10949. },
  10950. "auditedby": {
  10951. "description": "审核人",
  10952. "type": "string"
  10953. },
  10954. "auditime": {
  10955. "description": "审核时间",
  10956. "type": "string"
  10957. },
  10958. "auditsrc": {
  10959. "description": "审核来源 - 1:管理端 2:终端",
  10960. "type": "integer"
  10961. },
  10962. "bankaccount": {
  10963. "description": "银行帐号 (加密存储)",
  10964. "type": "string"
  10965. },
  10966. "bankaccountname": {
  10967. "description": "收款人名称",
  10968. "type": "string"
  10969. },
  10970. "bankcardbackphotourl": {
  10971. "description": "银行卡背面照地址",
  10972. "type": "string"
  10973. },
  10974. "bankcardfrontphotourl": {
  10975. "description": "银行卡正面照地址",
  10976. "type": "string"
  10977. },
  10978. "bankid": {
  10979. "description": "银行编码",
  10980. "type": "string"
  10981. },
  10982. "bankname": {
  10983. "description": "银行名称",
  10984. "type": "string"
  10985. },
  10986. "bankpictureurl": {
  10987. "description": "银行卡正面地址",
  10988. "type": "string"
  10989. },
  10990. "biznature": {
  10991. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10992. "type": "integer"
  10993. },
  10994. "bizscope": {
  10995. "description": "企业经营范围(企业)",
  10996. "type": "string"
  10997. },
  10998. "biztype": {
  10999. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11000. "type": "integer"
  11001. },
  11002. "brokerid": {
  11003. "description": "经纪人ID(加密存储)",
  11004. "type": "string"
  11005. },
  11006. "cardaddress": {
  11007. "description": "证件地址 (加密存储)",
  11008. "type": "string"
  11009. },
  11010. "cardbackphotourl": {
  11011. "description": "背面证件照地址",
  11012. "type": "string"
  11013. },
  11014. "cardfrontphotourl": {
  11015. "description": "正面证件照地址",
  11016. "type": "string"
  11017. },
  11018. "cardnum": {
  11019. "description": "证件号码 (加密存储)",
  11020. "type": "string"
  11021. },
  11022. "cardtype": {
  11023. "description": "证件类型",
  11024. "type": "integer"
  11025. },
  11026. "cityid": {
  11027. "description": "市",
  11028. "type": "integer"
  11029. },
  11030. "company": {
  11031. "description": "公司(个人)",
  11032. "type": "string"
  11033. },
  11034. "contactcardbackphotourl": {
  11035. "description": "联系人证件背面图片地址",
  11036. "type": "string"
  11037. },
  11038. "contactcardfrontphotourl": {
  11039. "description": "联系人证件正面图片地址",
  11040. "type": "string"
  11041. },
  11042. "contactname": {
  11043. "description": "联系人",
  11044. "type": "string"
  11045. },
  11046. "countryid": {
  11047. "description": "国家",
  11048. "type": "integer"
  11049. },
  11050. "createtime": {
  11051. "description": "开户申请时间",
  11052. "type": "string"
  11053. },
  11054. "cusbankid": {
  11055. "description": "签约类型",
  11056. "type": "string"
  11057. },
  11058. "cusbankname": {
  11059. "description": "签约类型名称",
  11060. "type": "string"
  11061. },
  11062. "customername": {
  11063. "description": "客户名称(企业名称)",
  11064. "type": "string"
  11065. },
  11066. "districtid": {
  11067. "description": "地区",
  11068. "type": "integer"
  11069. },
  11070. "email": {
  11071. "description": "Email地址(加密存储)",
  11072. "type": "string"
  11073. },
  11074. "halfbodyphotourl": {
  11075. "description": "半身照地址",
  11076. "type": "string"
  11077. },
  11078. "headurl": {
  11079. "description": "头像地址",
  11080. "type": "string"
  11081. },
  11082. "ipaddress": {
  11083. "description": "IP地址",
  11084. "type": "string"
  11085. },
  11086. "isvalidate": {
  11087. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11088. "type": "string"
  11089. },
  11090. "legalcardbackphotourl": {
  11091. "description": "法人身份证背面照地址",
  11092. "type": "string"
  11093. },
  11094. "legalcardfrontphotourl": {
  11095. "description": "法人身份证正面照地址",
  11096. "type": "string"
  11097. },
  11098. "legalpersonname": {
  11099. "description": "法人姓名(企业)",
  11100. "type": "string"
  11101. },
  11102. "logincode": {
  11103. "description": "登录帐号 (加密存储)",
  11104. "type": "string"
  11105. },
  11106. "memberareaid": {
  11107. "description": "所属会员ID",
  11108. "type": "integer"
  11109. },
  11110. "mobile2": {
  11111. "description": "手机号码[明文-尚志]",
  11112. "type": "string"
  11113. },
  11114. "mobilephone": {
  11115. "description": "手机号码 (加密存储)",
  11116. "type": "string"
  11117. },
  11118. "modifiedby": {
  11119. "description": "修改人帐号",
  11120. "type": "integer"
  11121. },
  11122. "modifiedtime": {
  11123. "description": "修改时间",
  11124. "type": "string"
  11125. },
  11126. "nickname": {
  11127. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11128. "type": "string"
  11129. },
  11130. "openmode": {
  11131. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11132. "type": "integer"
  11133. },
  11134. "otherurl": {
  11135. "description": "其它图片地址[使用分号分隔]",
  11136. "type": "string"
  11137. },
  11138. "postalcode": {
  11139. "description": "邮政编码",
  11140. "type": "string"
  11141. },
  11142. "provinceid": {
  11143. "description": "省",
  11144. "type": "integer"
  11145. },
  11146. "proxystatementurl": {
  11147. "description": "授权委托书",
  11148. "type": "string"
  11149. },
  11150. "qq": {
  11151. "description": "QQ(加密存储",
  11152. "type": "string"
  11153. },
  11154. "referral": {
  11155. "description": "推荐人编码",
  11156. "type": "string"
  11157. },
  11158. "remark": {
  11159. "description": "备注",
  11160. "type": "string"
  11161. },
  11162. "removebeforestatus": {
  11163. "description": "REMOVEBEFORESTATUS",
  11164. "type": "integer"
  11165. },
  11166. "sex": {
  11167. "description": "性别 - 0:女 1:男",
  11168. "type": "integer"
  11169. },
  11170. "signedstatus": {
  11171. "description": "账户一号签签约状态",
  11172. "type": "integer"
  11173. },
  11174. "signpdfurl": {
  11175. "description": "签约pdf文件",
  11176. "type": "string"
  11177. },
  11178. "subbranch": {
  11179. "description": "开户支行",
  11180. "type": "string"
  11181. },
  11182. "taxpayernum": {
  11183. "description": "纳税人识别号",
  11184. "type": "string"
  11185. },
  11186. "telphone": {
  11187. "description": "联系电话(加密存储)",
  11188. "type": "string"
  11189. },
  11190. "userid": {
  11191. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11192. "type": "integer"
  11193. },
  11194. "userinfotype": {
  11195. "description": "用户信息类型 - 1:个人 2:企业",
  11196. "type": "integer"
  11197. },
  11198. "username": {
  11199. "description": "用户姓名",
  11200. "type": "string"
  11201. },
  11202. "userstate": {
  11203. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11204. "type": "integer"
  11205. },
  11206. "usertype": {
  11207. "description": "用户类型 - 1:投资者 2:机构",
  11208. "type": "integer"
  11209. },
  11210. "videourl": {
  11211. "description": "视频地址",
  11212. "type": "string"
  11213. },
  11214. "wechat": {
  11215. "description": "微信号 (加密存储)",
  11216. "type": "string"
  11217. }
  11218. }
  11219. },
  11220. "erms3.CustomerInfo": {
  11221. "type": "object",
  11222. "required": [
  11223. "userid"
  11224. ],
  11225. "properties": {
  11226. "accountids": {
  11227. "description": "资金账户ID列表",
  11228. "type": "array",
  11229. "items": {
  11230. "type": "integer"
  11231. }
  11232. },
  11233. "customername": {
  11234. "description": "名称(企业名称)",
  11235. "type": "string"
  11236. },
  11237. "mobile": {
  11238. "description": "手机号码",
  11239. "type": "string"
  11240. },
  11241. "userid": {
  11242. "description": "用户ID",
  11243. "type": "integer"
  11244. }
  11245. }
  11246. },
  11247. "erms3.ModifyUserInfoApplyReq": {
  11248. "type": "object",
  11249. "required": [
  11250. "userid"
  11251. ],
  11252. "properties": {
  11253. "accountid": {
  11254. "description": "交易系统帐号Id (加密存储)",
  11255. "type": "integer"
  11256. },
  11257. "areacode": {
  11258. "description": "机构代码",
  11259. "type": "string"
  11260. },
  11261. "areaid": {
  11262. "description": "机构Id",
  11263. "type": "integer"
  11264. },
  11265. "attachment1": {
  11266. "description": "附件1",
  11267. "type": "string"
  11268. },
  11269. "attachment2": {
  11270. "description": "附件2",
  11271. "type": "string"
  11272. },
  11273. "attachment3": {
  11274. "description": "附件3",
  11275. "type": "string"
  11276. },
  11277. "attachment4": {
  11278. "description": "附件4",
  11279. "type": "string"
  11280. },
  11281. "attachment5": {
  11282. "description": "附件5",
  11283. "type": "string"
  11284. },
  11285. "auditedby": {
  11286. "description": "审核人",
  11287. "type": "string"
  11288. },
  11289. "auditime": {
  11290. "description": "审核时间",
  11291. "type": "string"
  11292. },
  11293. "auditsrc": {
  11294. "description": "审核来源 - 1:管理端 2:终端",
  11295. "type": "integer"
  11296. },
  11297. "bankaccount": {
  11298. "description": "银行帐号 (加密存储)",
  11299. "type": "string"
  11300. },
  11301. "bankaccountname": {
  11302. "description": "收款人名称",
  11303. "type": "string"
  11304. },
  11305. "bankcardbackphotourl": {
  11306. "description": "银行卡背面照地址",
  11307. "type": "string"
  11308. },
  11309. "bankcardfrontphotourl": {
  11310. "description": "银行卡正面照地址",
  11311. "type": "string"
  11312. },
  11313. "bankid": {
  11314. "description": "银行编码",
  11315. "type": "string"
  11316. },
  11317. "bankname": {
  11318. "description": "银行名称",
  11319. "type": "string"
  11320. },
  11321. "bankpictureurl": {
  11322. "description": "银行卡正面地址",
  11323. "type": "string"
  11324. },
  11325. "biznature": {
  11326. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11327. "type": "integer"
  11328. },
  11329. "bizscope": {
  11330. "description": "企业经营范围(企业)",
  11331. "type": "string"
  11332. },
  11333. "biztype": {
  11334. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11335. "type": "integer"
  11336. },
  11337. "brokerid": {
  11338. "description": "经纪人ID(加密存储)",
  11339. "type": "string"
  11340. },
  11341. "cardaddress": {
  11342. "description": "证件地址 (加密存储)",
  11343. "type": "string"
  11344. },
  11345. "cardbackphotourl": {
  11346. "description": "背面证件照地址",
  11347. "type": "string"
  11348. },
  11349. "cardfrontphotourl": {
  11350. "description": "正面证件照地址",
  11351. "type": "string"
  11352. },
  11353. "cardnum": {
  11354. "description": "证件号码 (加密存储)",
  11355. "type": "string"
  11356. },
  11357. "cardtype": {
  11358. "description": "证件类型",
  11359. "type": "integer"
  11360. },
  11361. "cityid": {
  11362. "description": "市",
  11363. "type": "integer"
  11364. },
  11365. "company": {
  11366. "description": "公司(个人)",
  11367. "type": "string"
  11368. },
  11369. "contactcardbackphotourl": {
  11370. "description": "联系人证件背面图片地址",
  11371. "type": "string"
  11372. },
  11373. "contactcardfrontphotourl": {
  11374. "description": "联系人证件正面图片地址",
  11375. "type": "string"
  11376. },
  11377. "contactname": {
  11378. "description": "联系人",
  11379. "type": "string"
  11380. },
  11381. "countryid": {
  11382. "description": "国家",
  11383. "type": "integer"
  11384. },
  11385. "createtime": {
  11386. "description": "开户申请时间",
  11387. "type": "string"
  11388. },
  11389. "cusbankid": {
  11390. "description": "签约类型",
  11391. "type": "string"
  11392. },
  11393. "cusbankname": {
  11394. "description": "签约类型名称",
  11395. "type": "string"
  11396. },
  11397. "customername": {
  11398. "description": "客户名称(企业名称)",
  11399. "type": "string"
  11400. },
  11401. "districtid": {
  11402. "description": "地区",
  11403. "type": "integer"
  11404. },
  11405. "email": {
  11406. "description": "Email地址(加密存储)",
  11407. "type": "string"
  11408. },
  11409. "halfbodyphotourl": {
  11410. "description": "半身照地址",
  11411. "type": "string"
  11412. },
  11413. "headurl": {
  11414. "description": "头像地址",
  11415. "type": "string"
  11416. },
  11417. "ipaddress": {
  11418. "description": "IP地址",
  11419. "type": "string"
  11420. },
  11421. "isvalidate": {
  11422. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11423. "type": "string"
  11424. },
  11425. "legalcardbackphotourl": {
  11426. "description": "法人身份证背面照地址",
  11427. "type": "string"
  11428. },
  11429. "legalcardfrontphotourl": {
  11430. "description": "法人身份证正面照地址",
  11431. "type": "string"
  11432. },
  11433. "legalpersonname": {
  11434. "description": "法人姓名(企业)",
  11435. "type": "string"
  11436. },
  11437. "logincode": {
  11438. "description": "登录帐号 (加密存储)",
  11439. "type": "string"
  11440. },
  11441. "memberareaid": {
  11442. "description": "所属会员ID",
  11443. "type": "integer"
  11444. },
  11445. "mobile2": {
  11446. "description": "手机号码[明文-尚志]",
  11447. "type": "string"
  11448. },
  11449. "mobilephone": {
  11450. "description": "手机号码 (加密存储)",
  11451. "type": "string"
  11452. },
  11453. "modifiedby": {
  11454. "description": "修改人帐号",
  11455. "type": "integer"
  11456. },
  11457. "modifiedtime": {
  11458. "description": "修改时间",
  11459. "type": "string"
  11460. },
  11461. "nickname": {
  11462. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11463. "type": "string"
  11464. },
  11465. "openmode": {
  11466. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11467. "type": "integer"
  11468. },
  11469. "otherurl": {
  11470. "description": "其它图片地址[使用分号分隔]",
  11471. "type": "string"
  11472. },
  11473. "postalcode": {
  11474. "description": "邮政编码",
  11475. "type": "string"
  11476. },
  11477. "provinceid": {
  11478. "description": "省",
  11479. "type": "integer"
  11480. },
  11481. "proxystatementurl": {
  11482. "description": "授权委托书",
  11483. "type": "string"
  11484. },
  11485. "qq": {
  11486. "description": "QQ(加密存储",
  11487. "type": "string"
  11488. },
  11489. "referral": {
  11490. "description": "推荐人编码",
  11491. "type": "string"
  11492. },
  11493. "remark": {
  11494. "description": "备注",
  11495. "type": "string"
  11496. },
  11497. "removebeforestatus": {
  11498. "description": "REMOVEBEFORESTATUS",
  11499. "type": "integer"
  11500. },
  11501. "sex": {
  11502. "description": "性别 - 0:女 1:男",
  11503. "type": "integer"
  11504. },
  11505. "signedstatus": {
  11506. "description": "账户一号签签约状态",
  11507. "type": "integer"
  11508. },
  11509. "signpdfurl": {
  11510. "description": "签约pdf文件",
  11511. "type": "string"
  11512. },
  11513. "subbranch": {
  11514. "description": "开户支行",
  11515. "type": "string"
  11516. },
  11517. "taxpayernum": {
  11518. "description": "纳税人识别号",
  11519. "type": "string"
  11520. },
  11521. "telphone": {
  11522. "description": "联系电话(加密存储)",
  11523. "type": "string"
  11524. },
  11525. "userid": {
  11526. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11527. "type": "integer"
  11528. },
  11529. "userinfotype": {
  11530. "description": "用户信息类型 - 1:个人 2:企业",
  11531. "type": "integer"
  11532. },
  11533. "username": {
  11534. "description": "用户姓名",
  11535. "type": "string"
  11536. },
  11537. "userstate": {
  11538. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11539. "type": "integer"
  11540. },
  11541. "usertype": {
  11542. "description": "用户类型 - 1:投资者 2:机构",
  11543. "type": "integer"
  11544. },
  11545. "videourl": {
  11546. "description": "视频地址",
  11547. "type": "string"
  11548. },
  11549. "wechat": {
  11550. "description": "微信号 (加密存储)",
  11551. "type": "string"
  11552. }
  11553. }
  11554. },
  11555. "erms3.QryAuditContractRsp": {
  11556. "type": "object",
  11557. "required": [
  11558. "matchcustomername",
  11559. "spotcontractid"
  11560. ],
  11561. "properties": {
  11562. "accountid": {
  11563. "description": "交易员ID",
  11564. "type": "string"
  11565. },
  11566. "applystatus": {
  11567. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11568. "type": "integer"
  11569. },
  11570. "curdeliveryqty": {
  11571. "description": "未交收量",
  11572. "type": "integer"
  11573. },
  11574. "customername": {
  11575. "description": "采购方ID",
  11576. "type": "string"
  11577. },
  11578. "deliverygoodsid": {
  11579. "description": "品种ID",
  11580. "type": "string"
  11581. },
  11582. "deliveryqty": {
  11583. "description": "交收量",
  11584. "type": "integer"
  11585. },
  11586. "enumdicname": {
  11587. "description": "单位名称",
  11588. "type": "string"
  11589. },
  11590. "matchaccountid": {
  11591. "description": "业务员ID",
  11592. "type": "string"
  11593. },
  11594. "matchcustomername": {
  11595. "description": "销售方ID",
  11596. "type": "string"
  11597. },
  11598. "pricedqty": {
  11599. "description": "定价量",
  11600. "type": "number"
  11601. },
  11602. "signdate": {
  11603. "description": "签订日期",
  11604. "type": "string"
  11605. },
  11606. "spotcontractid": {
  11607. "description": "合同ID",
  11608. "type": "string"
  11609. },
  11610. "totaldqty": {
  11611. "description": "合同量",
  11612. "type": "number"
  11613. },
  11614. "unpricedqty": {
  11615. "description": "未定价量",
  11616. "type": "number"
  11617. },
  11618. "wrstandardname": {
  11619. "description": "商品名称",
  11620. "type": "string"
  11621. }
  11622. }
  11623. },
  11624. "erms3.QryPendingBizRsp": {
  11625. "$ref": "#/definitions/models.PendingAuditBizModel"
  11626. },
  11627. "erms3.QueryBusinessInfoRsp": {
  11628. "type": "object",
  11629. "properties": {
  11630. "businessid": {
  11631. "description": "业务ID.",
  11632. "type": "integer"
  11633. },
  11634. "buyamount": {
  11635. "description": "采购额.",
  11636. "type": "number"
  11637. },
  11638. "buyqty": {
  11639. "description": "采购量.",
  11640. "type": "string"
  11641. },
  11642. "futurepl": {
  11643. "description": "期货盈亏.",
  11644. "type": "number"
  11645. },
  11646. "futureqty": {
  11647. "description": "期货敞口.",
  11648. "type": "string"
  11649. },
  11650. "goodsid": {
  11651. "description": "商品名称/商品代码.",
  11652. "type": "string"
  11653. },
  11654. "hedgingqty": {
  11655. "description": "套保量.",
  11656. "type": "string"
  11657. },
  11658. "sellamount": {
  11659. "description": "销售额.",
  11660. "type": "number"
  11661. },
  11662. "sellqty": {
  11663. "description": "销售量.",
  11664. "type": "string"
  11665. },
  11666. "spotmarketvalue": {
  11667. "description": "现货市值.",
  11668. "type": "number"
  11669. },
  11670. "spotpl": {
  11671. "description": "浮动权益.",
  11672. "type": "number"
  11673. },
  11674. "spotqty": {
  11675. "description": "现货量.",
  11676. "type": "string"
  11677. },
  11678. "statu": {
  11679. "description": "状态,0-未结束 1-已结束.",
  11680. "type": "integer"
  11681. },
  11682. "totalpl": {
  11683. "description": "总盈亏.",
  11684. "type": "number"
  11685. },
  11686. "totalqty": {
  11687. "description": "总敞口.",
  11688. "type": "string"
  11689. },
  11690. "type": {
  11691. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11692. "type": "integer"
  11693. }
  11694. }
  11695. },
  11696. "erms3.QuerySpotContractAppleFormRsp": {
  11697. "type": "object",
  11698. "properties": {
  11699. "goodses": {
  11700. "description": "合约列表",
  11701. "type": "array",
  11702. "items": {
  11703. "$ref": "#/definitions/models.GoodsIDAndName"
  11704. }
  11705. },
  11706. "oppositeusers": {
  11707. "description": "对方账号列表",
  11708. "type": "array",
  11709. "items": {
  11710. "$ref": "#/definitions/erms3.CustomerInfo"
  11711. }
  11712. },
  11713. "ouruser": {
  11714. "description": "我方账号",
  11715. "type": "object",
  11716. "$ref": "#/definitions/erms3.CustomerInfo"
  11717. },
  11718. "warehouseinfos": {
  11719. "description": "仓库信息列表",
  11720. "type": "array",
  11721. "items": {
  11722. "$ref": "#/definitions/models.Warehouseinfo"
  11723. }
  11724. },
  11725. "wrstandards": {
  11726. "description": "仓单标准列表",
  11727. "type": "array",
  11728. "items": {
  11729. "$ref": "#/definitions/models.WRStandardInfo"
  11730. }
  11731. }
  11732. }
  11733. },
  11734. "erms3.QuerySpotContractInfoRsp": {
  11735. "type": "object",
  11736. "properties": {
  11737. "accountid": {
  11738. "description": "表示交易员ID.",
  11739. "type": "integer"
  11740. },
  11741. "curdeliveryqty": {
  11742. "description": "表示未交收量.",
  11743. "type": "number"
  11744. },
  11745. "customername": {
  11746. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11747. "type": "string"
  11748. },
  11749. "deliverygoodsid": {
  11750. "description": "表示品种ID.",
  11751. "type": "string"
  11752. },
  11753. "deliveryqty": {
  11754. "description": "表示交收量.",
  11755. "type": "number"
  11756. },
  11757. "matchaccountid": {
  11758. "description": "表示业务员ID.",
  11759. "type": "integer"
  11760. },
  11761. "matchcustomername": {
  11762. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11763. "type": "string"
  11764. },
  11765. "priceqty": {
  11766. "description": "表示定价量.",
  11767. "type": "number"
  11768. },
  11769. "relatedbizid": {
  11770. "description": "表示业务ID.",
  11771. "type": "string"
  11772. },
  11773. "signdate": {
  11774. "description": "表示签订日期.",
  11775. "type": "string"
  11776. },
  11777. "spotcontractid": {
  11778. "description": "合同ID",
  11779. "type": "string"
  11780. },
  11781. "status": {
  11782. "description": "表示状态,0-履约中 1-已完成.",
  11783. "type": "integer"
  11784. },
  11785. "totalqty": {
  11786. "description": "表示合同量.",
  11787. "type": "number"
  11788. },
  11789. "unpricedqty": {
  11790. "description": "表示未定价量.",
  11791. "type": "number"
  11792. },
  11793. "wrstandardname": {
  11794. "description": "表示商品ID.",
  11795. "type": "string"
  11796. }
  11797. }
  11798. },
  11799. "erms3.QueryUserInfoAppliesRsp": {
  11800. "type": "object",
  11801. "required": [
  11802. "userid"
  11803. ],
  11804. "properties": {
  11805. "biznature": {
  11806. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11807. "type": "integer"
  11808. },
  11809. "contactname": {
  11810. "description": "联系人",
  11811. "type": "string"
  11812. },
  11813. "createtime": {
  11814. "description": "开户申请时间",
  11815. "type": "string"
  11816. },
  11817. "userid": {
  11818. "description": "用户ID(自增ID)",
  11819. "type": "integer"
  11820. },
  11821. "userinfotype": {
  11822. "description": "用户信息类型 - 1:个人 2:企业",
  11823. "type": "integer"
  11824. },
  11825. "username": {
  11826. "description": "用户姓名",
  11827. "type": "string"
  11828. },
  11829. "userstate": {
  11830. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11831. "type": "integer"
  11832. }
  11833. }
  11834. },
  11835. "erms3.QueryUserInfosRsp": {
  11836. "type": "object",
  11837. "required": [
  11838. "userid"
  11839. ],
  11840. "properties": {
  11841. "biznature": {
  11842. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11843. "type": "integer"
  11844. },
  11845. "contactname": {
  11846. "description": "联系人",
  11847. "type": "string"
  11848. },
  11849. "customername": {
  11850. "description": "客户名称(企业名称)",
  11851. "type": "string"
  11852. },
  11853. "userid": {
  11854. "description": "用户ID",
  11855. "type": "integer"
  11856. },
  11857. "userinfotype": {
  11858. "description": "用户信息类型 - 1:个人 2:企业",
  11859. "type": "integer"
  11860. },
  11861. "userstatus": {
  11862. "description": "用户状态 - 1:正常 2:注销",
  11863. "type": "integer"
  11864. }
  11865. }
  11866. },
  11867. "erms3.SoptContractDetail": {
  11868. "type": "object",
  11869. "required": [
  11870. "deliverygoodsid",
  11871. "producttype",
  11872. "unitname",
  11873. "warehouseid",
  11874. "wrstandardid",
  11875. "wrstandardname"
  11876. ],
  11877. "properties": {
  11878. "deliverygoodsdesc": {
  11879. "description": "现货品种说明",
  11880. "type": "string"
  11881. },
  11882. "deliverygoodsid": {
  11883. "description": "现货品种ID",
  11884. "type": "integer"
  11885. },
  11886. "deliverygoodsname": {
  11887. "description": "现货品种名称",
  11888. "type": "string"
  11889. },
  11890. "pointdesc": {
  11891. "description": "点价描述",
  11892. "type": "string"
  11893. },
  11894. "producttype": {
  11895. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11896. "type": "integer"
  11897. },
  11898. "producttypename": {
  11899. "description": "产品类型名称",
  11900. "type": "string"
  11901. },
  11902. "spotPointOrderVoList": {
  11903. "description": "点价列表",
  11904. "type": "array",
  11905. "items": {
  11906. "$ref": "#/definitions/erms3.SpotPointOrder"
  11907. }
  11908. },
  11909. "spotPriceOrderList": {
  11910. "description": "定价列表",
  11911. "type": "array",
  11912. "items": {
  11913. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11914. }
  11915. },
  11916. "unitname": {
  11917. "description": "单位名称",
  11918. "type": "string"
  11919. },
  11920. "warehouseid": {
  11921. "description": "仓库ID",
  11922. "type": "integer"
  11923. },
  11924. "warehousename": {
  11925. "description": "仓库名称",
  11926. "type": "string"
  11927. },
  11928. "wrstandardid": {
  11929. "description": "交易标的ID",
  11930. "type": "integer"
  11931. },
  11932. "wrstandardname": {
  11933. "description": "交易标的名称",
  11934. "type": "string"
  11935. }
  11936. }
  11937. },
  11938. "erms3.SpotPointOrder": {
  11939. "type": "object",
  11940. "required": [
  11941. "basic",
  11942. "goodsid",
  11943. "qty"
  11944. ],
  11945. "properties": {
  11946. "basic": {
  11947. "description": "基差",
  11948. "type": "number"
  11949. },
  11950. "deliveryenddate": {
  11951. "description": "交收结束日期",
  11952. "type": "string"
  11953. },
  11954. "deliverystartdate": {
  11955. "description": "交收开始日期",
  11956. "type": "string"
  11957. },
  11958. "enddate": {
  11959. "description": "点价结束日期",
  11960. "type": "string"
  11961. },
  11962. "goodsid": {
  11963. "description": "商品ID",
  11964. "type": "integer"
  11965. },
  11966. "goodsname": {
  11967. "description": "商品名称",
  11968. "type": "string"
  11969. },
  11970. "qty": {
  11971. "description": "数量",
  11972. "type": "number"
  11973. },
  11974. "startdate": {
  11975. "description": "点价开始日期",
  11976. "type": "string"
  11977. }
  11978. }
  11979. },
  11980. "erms3.SpotPriceOrder": {
  11981. "type": "object",
  11982. "required": [
  11983. "amount",
  11984. "price",
  11985. "qty"
  11986. ],
  11987. "properties": {
  11988. "amount": {
  11989. "description": "金额",
  11990. "type": "number"
  11991. },
  11992. "deliveryenddate": {
  11993. "description": "交收结束日期",
  11994. "type": "string"
  11995. },
  11996. "deliverystartdate": {
  11997. "description": "交收开始日期",
  11998. "type": "string"
  11999. },
  12000. "price": {
  12001. "description": "价格",
  12002. "type": "number"
  12003. },
  12004. "qty": {
  12005. "description": "数量",
  12006. "type": "number"
  12007. }
  12008. }
  12009. },
  12010. "hsby.GetHsbyMyCountRsp": {
  12011. "type": "object",
  12012. "properties": {
  12013. "myCouponCount": {
  12014. "description": "我的优惠卷数量",
  12015. "type": "integer"
  12016. },
  12017. "myOrderDetailListingCount": {
  12018. "description": "我的订单求购中数量",
  12019. "type": "integer"
  12020. },
  12021. "myOrderDetailPreCount": {
  12022. "description": "我的订单抢购中数量",
  12023. "type": "integer"
  12024. },
  12025. "myPackageUnReceiveCount": {
  12026. "description": "我的包裹待收货数量",
  12027. "type": "integer"
  12028. },
  12029. "myPackageUnSendCount": {
  12030. "description": "我的包裹待发货数量",
  12031. "type": "integer"
  12032. },
  12033. "myPayOrderCount": {
  12034. "description": "我的订单待付款数量",
  12035. "type": "integer"
  12036. }
  12037. }
  12038. },
  12039. "hsby.QueryProvincesAndCitiesRsp": {
  12040. "type": "object",
  12041. "properties": {
  12042. "cities": {
  12043. "description": "市",
  12044. "type": "array",
  12045. "items": {
  12046. "$ref": "#/definitions/models.Division"
  12047. }
  12048. },
  12049. "province": {
  12050. "description": "省",
  12051. "type": "object",
  12052. "$ref": "#/definitions/models.Division"
  12053. }
  12054. }
  12055. },
  12056. "models.AreaSpotModel": {
  12057. "type": "object",
  12058. "properties": {
  12059. "areauserid": {
  12060. "description": "所属机构",
  12061. "type": "integer"
  12062. },
  12063. "decreaseqty": {
  12064. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12065. "type": "number"
  12066. },
  12067. "increaseqty": {
  12068. "description": "增加数量=销售计划数量+采购已定价数量",
  12069. "type": "number"
  12070. },
  12071. "oritoalspotqty": {
  12072. "description": "昨日数量",
  12073. "type": "number"
  12074. },
  12075. "totalspotqty": {
  12076. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12077. "type": "number"
  12078. },
  12079. "updatetime": {
  12080. "description": "更新时间",
  12081. "type": "string"
  12082. },
  12083. "wrstandardcode": {
  12084. "description": "现货品种代码",
  12085. "type": "string"
  12086. },
  12087. "wrstandardid": {
  12088. "description": "现货商品ID",
  12089. "type": "integer"
  12090. },
  12091. "wrstandardname": {
  12092. "description": "现货品种",
  12093. "type": "string"
  12094. }
  12095. }
  12096. },
  12097. "models.Arearole": {
  12098. "type": "object",
  12099. "required": [
  12100. "roletype",
  12101. "userid"
  12102. ],
  12103. "properties": {
  12104. "createtime": {
  12105. "description": "创建时间",
  12106. "type": "string"
  12107. },
  12108. "creatorid": {
  12109. "description": "创建人ID",
  12110. "type": "integer"
  12111. },
  12112. "isreturnscore": {
  12113. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12114. "type": "integer"
  12115. },
  12116. "modifierid": {
  12117. "description": "修改人ID",
  12118. "type": "integer"
  12119. },
  12120. "modifytime": {
  12121. "description": "修改时间",
  12122. "type": "string"
  12123. },
  12124. "orgtype": {
  12125. "description": "组织机构类型 1:机构 2:交易员",
  12126. "type": "integer"
  12127. },
  12128. "outuserid": {
  12129. "description": "外部账户[场外期权做市商]",
  12130. "type": "string"
  12131. },
  12132. "parentuserid": {
  12133. "description": "上级组织机构(组织机构)",
  12134. "type": "integer"
  12135. },
  12136. "roletype": {
  12137. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员",
  12138. "type": "integer"
  12139. },
  12140. "rootuserid": {
  12141. "description": "顶级组织机构用户ID(组织机构)",
  12142. "type": "integer"
  12143. },
  12144. "shoppassword": {
  12145. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12146. "type": "string"
  12147. },
  12148. "sublevelpath": {
  12149. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12150. "type": "string"
  12151. },
  12152. "tradeaccountid": {
  12153. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12154. "type": "integer"
  12155. },
  12156. "transurl": {
  12157. "description": "物流地址(物流机构)",
  12158. "type": "string"
  12159. },
  12160. "userid": {
  12161. "description": "机构用户ID其他做市关系,都设置为 1",
  12162. "type": "integer"
  12163. }
  12164. }
  12165. },
  12166. "models.Clientfixedadconfig": {
  12167. "type": "object",
  12168. "required": [
  12169. "adsort",
  12170. "adtype"
  12171. ],
  12172. "properties": {
  12173. "adsort": {
  12174. "description": "排序",
  12175. "type": "integer"
  12176. },
  12177. "adtype": {
  12178. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12179. "type": "integer"
  12180. },
  12181. "areauserid": {
  12182. "description": "所属机构ID",
  12183. "type": "integer"
  12184. },
  12185. "createdate": {
  12186. "description": "创建时间",
  12187. "type": "string"
  12188. },
  12189. "creatorid": {
  12190. "description": "创建人",
  12191. "type": "integer"
  12192. },
  12193. "imagepath": {
  12194. "description": "图片",
  12195. "type": "string"
  12196. },
  12197. "isshow": {
  12198. "description": "是否展示 - 0:不展示 1:展示",
  12199. "type": "integer"
  12200. },
  12201. "modifierid": {
  12202. "description": "操作人",
  12203. "type": "integer"
  12204. },
  12205. "recsize": {
  12206. "description": "推荐尺寸",
  12207. "type": "string"
  12208. },
  12209. "title": {
  12210. "description": "标题",
  12211. "type": "string"
  12212. },
  12213. "updatedate": {
  12214. "description": "更新时间",
  12215. "type": "string"
  12216. },
  12217. "urlcontent": {
  12218. "description": "链接(地址或商品ID)",
  12219. "type": "string"
  12220. },
  12221. "urltype": {
  12222. "description": "链接类型 - 1:直接地址 2:商品ID",
  12223. "type": "integer"
  12224. }
  12225. }
  12226. },
  12227. "models.Division": {
  12228. "type": "object",
  12229. "required": [
  12230. "autoid",
  12231. "divisioncode"
  12232. ],
  12233. "properties": {
  12234. "autoid": {
  12235. "description": "自增ID",
  12236. "type": "integer"
  12237. },
  12238. "divisioncode": {
  12239. "description": "行政代码",
  12240. "type": "string"
  12241. },
  12242. "divisionlevel": {
  12243. "description": "行政级别",
  12244. "type": "string"
  12245. },
  12246. "divisionname": {
  12247. "description": "行政名称",
  12248. "type": "string"
  12249. },
  12250. "modifierid": {
  12251. "description": "修改人",
  12252. "type": "integer"
  12253. },
  12254. "modifytime": {
  12255. "description": "修改时间",
  12256. "type": "string"
  12257. },
  12258. "parentcode": {
  12259. "description": "上级行政代码",
  12260. "type": "string"
  12261. },
  12262. "pathname": {
  12263. "description": "路径名称",
  12264. "type": "string"
  12265. },
  12266. "postcode": {
  12267. "description": "邮政编码",
  12268. "type": "string"
  12269. },
  12270. "separablename": {
  12271. "description": "可拆分的全称",
  12272. "type": "string"
  12273. },
  12274. "shortcode": {
  12275. "description": "地区简码",
  12276. "type": "string"
  12277. }
  12278. }
  12279. },
  12280. "models.Enumdicitem": {
  12281. "type": "object",
  12282. "required": [
  12283. "autoid",
  12284. "enumdiccode",
  12285. "enumdicid",
  12286. "enumitemname"
  12287. ],
  12288. "properties": {
  12289. "autoid": {
  12290. "description": "自增ID",
  12291. "type": "integer"
  12292. },
  12293. "bankmappedvalue": {
  12294. "description": "银行服务对应值",
  12295. "type": "string"
  12296. },
  12297. "enumdiccode": {
  12298. "description": "所属枚举代码",
  12299. "type": "string"
  12300. },
  12301. "enumdicid": {
  12302. "description": "所属枚举ID",
  12303. "type": "integer"
  12304. },
  12305. "enumdicname": {
  12306. "description": "枚举项名称",
  12307. "type": "string"
  12308. },
  12309. "enumitemname": {
  12310. "description": "枚举项值",
  12311. "type": "integer"
  12312. },
  12313. "enumitemstatus": {
  12314. "description": "枚举项状态 - 1.启用 2.不启用",
  12315. "type": "integer"
  12316. },
  12317. "enumitemvalue": {
  12318. "description": "通用值 - [币种通用简写]",
  12319. "type": "string"
  12320. },
  12321. "param1": {
  12322. "description": "参数1[币种:币种小数位]",
  12323. "type": "string"
  12324. },
  12325. "param2": {
  12326. "description": "参数1[币种:币种显示单位]",
  12327. "type": "string"
  12328. },
  12329. "remark": {
  12330. "description": "备注",
  12331. "type": "string"
  12332. }
  12333. }
  12334. },
  12335. "models.Ermcp3AreaSpot": {
  12336. "type": "object",
  12337. "properties": {
  12338. "areauserid": {
  12339. "description": "所属机构",
  12340. "type": "integer"
  12341. },
  12342. "decreaseqty": {
  12343. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12344. "type": "number"
  12345. },
  12346. "deliverygoodscode": {
  12347. "description": "现货品种代码",
  12348. "type": "string"
  12349. },
  12350. "deliverygoodsid": {
  12351. "description": "现货品种id",
  12352. "type": "integer"
  12353. },
  12354. "deliverygoodsname": {
  12355. "description": "现货品种名称",
  12356. "type": "string"
  12357. },
  12358. "enumdicname": {
  12359. "description": "单位名称",
  12360. "type": "string"
  12361. },
  12362. "goodsunitid": {
  12363. "description": "现货品种单位id",
  12364. "type": "integer"
  12365. },
  12366. "increaseqty": {
  12367. "description": "增加数量=销售计划数量+采购已定价数量",
  12368. "type": "number"
  12369. },
  12370. "oritoalspotqty": {
  12371. "description": "昨日数量",
  12372. "type": "number"
  12373. },
  12374. "totalspotqty": {
  12375. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12376. "type": "number"
  12377. },
  12378. "updatetime": {
  12379. "description": "更新时间",
  12380. "type": "string"
  12381. }
  12382. }
  12383. },
  12384. "models.Ermcp3AreaSpotDetail": {
  12385. "type": "object",
  12386. "properties": {
  12387. "contracttype": {
  12388. "description": "合同类型 1-采购 -1-销售",
  12389. "type": "integer"
  12390. },
  12391. "createtime": {
  12392. "description": "创建时间",
  12393. "type": "string"
  12394. },
  12395. "deliverygoodscode": {
  12396. "description": "现货品种代码",
  12397. "type": "string"
  12398. },
  12399. "deliverygoodsid": {
  12400. "description": "现货品种id",
  12401. "type": "integer"
  12402. },
  12403. "deliverygoodsname": {
  12404. "description": "现货品种名称",
  12405. "type": "string"
  12406. },
  12407. "enumdicname": {
  12408. "description": "现货商品单位名称",
  12409. "type": "string"
  12410. },
  12411. "logtype": {
  12412. "description": "记录类型 1-套保 2-现货合同",
  12413. "type": "integer"
  12414. },
  12415. "qty": {
  12416. "description": "数量",
  12417. "type": "number"
  12418. },
  12419. "recordname": {
  12420. "description": "类型名称",
  12421. "type": "string"
  12422. },
  12423. "relatedid": {
  12424. "description": "套保计划ID/现货合同ID",
  12425. "type": "string"
  12426. },
  12427. "relatedno": {
  12428. "description": "编号",
  12429. "type": "string"
  12430. },
  12431. "strtime": {
  12432. "description": "时间",
  12433. "type": "string"
  12434. }
  12435. }
  12436. },
  12437. "models.Ermcp3AreaSpotPLReport": {
  12438. "type": "object",
  12439. "properties": {
  12440. "accountid": {
  12441. "description": "期货账户ID (作废, 默认为0)",
  12442. "type": "integer"
  12443. },
  12444. "accountname": {
  12445. "description": "机构名称",
  12446. "type": "string"
  12447. },
  12448. "actualpl": {
  12449. "description": "现货损益",
  12450. "type": "number"
  12451. },
  12452. "areauserid": {
  12453. "description": "所属机构\\交易用户ID",
  12454. "type": "integer"
  12455. },
  12456. "begindate": {
  12457. "description": "开始交易日",
  12458. "type": "string"
  12459. },
  12460. "biztype": {
  12461. "description": "业务类型 - 1:套保 2:套利",
  12462. "type": "integer"
  12463. },
  12464. "brandname": {
  12465. "description": "品牌名称",
  12466. "type": "string"
  12467. },
  12468. "curamount": {
  12469. "description": "期末额",
  12470. "type": "number"
  12471. },
  12472. "curaverageprice": {
  12473. "description": "期末均价",
  12474. "type": "number"
  12475. },
  12476. "curbuyamount": {
  12477. "description": "期末采购总额",
  12478. "type": "number"
  12479. },
  12480. "curbuyqty": {
  12481. "description": "期末采购总量",
  12482. "type": "number"
  12483. },
  12484. "curmarketvalue": {
  12485. "description": "参考市值(期末市值)",
  12486. "type": "number"
  12487. },
  12488. "curqty": {
  12489. "description": "期末量",
  12490. "type": "number"
  12491. },
  12492. "currencyid": {
  12493. "description": "结算币种ID【原值】",
  12494. "type": "integer"
  12495. },
  12496. "currencyname": {
  12497. "description": "币种名称",
  12498. "type": "string"
  12499. },
  12500. "cursellamount": {
  12501. "description": "期末销售总额",
  12502. "type": "number"
  12503. },
  12504. "cursellqty": {
  12505. "description": "期末销售总量",
  12506. "type": "number"
  12507. },
  12508. "curspotprice": {
  12509. "description": "参考市价(最新价)",
  12510. "type": "number"
  12511. },
  12512. "cycletime": {
  12513. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12514. "type": "string"
  12515. },
  12516. "cycletype": {
  12517. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12518. "type": "integer"
  12519. },
  12520. "deliverygoodscode": {
  12521. "description": "现货商品代码",
  12522. "type": "string"
  12523. },
  12524. "deliverygoodsid": {
  12525. "description": "现货品种ID",
  12526. "type": "integer"
  12527. },
  12528. "deliverygoodsname": {
  12529. "description": "现货商品名称",
  12530. "type": "string"
  12531. },
  12532. "enddate": {
  12533. "description": "结束交易日",
  12534. "type": "string"
  12535. },
  12536. "enumdicname": {
  12537. "description": "现货商品单位名称",
  12538. "type": "string"
  12539. },
  12540. "floatpl": {
  12541. "description": "浮动损益",
  12542. "type": "number"
  12543. },
  12544. "goodsunitid": {
  12545. "description": "现货商品单位id",
  12546. "type": "integer"
  12547. },
  12548. "oriamount": {
  12549. "description": "期初额",
  12550. "type": "number"
  12551. },
  12552. "oriaverageprice": {
  12553. "description": "期初均价",
  12554. "type": "number"
  12555. },
  12556. "oribuyamount": {
  12557. "description": "期初采购总额",
  12558. "type": "number"
  12559. },
  12560. "oribuyqty": {
  12561. "description": "期初采购总量",
  12562. "type": "number"
  12563. },
  12564. "oriqty": {
  12565. "description": "期初量",
  12566. "type": "number"
  12567. },
  12568. "orisellamount": {
  12569. "description": "期初销售总额",
  12570. "type": "number"
  12571. },
  12572. "orisellqty": {
  12573. "description": "期初销售总量",
  12574. "type": "number"
  12575. },
  12576. "reckondate": {
  12577. "description": "日照时期(yyyyMMdd)",
  12578. "type": "string"
  12579. },
  12580. "spotgoodsbrandid": {
  12581. "description": "现货品牌ID",
  12582. "type": "integer"
  12583. },
  12584. "todaybuyamount": {
  12585. "description": "今日采购额(今采购额)",
  12586. "type": "number"
  12587. },
  12588. "todaybuyaverageprice": {
  12589. "description": "今日采购均价",
  12590. "type": "number"
  12591. },
  12592. "todaybuyqty": {
  12593. "description": "今日采购量(今采购量)",
  12594. "type": "number"
  12595. },
  12596. "todayinqty": {
  12597. "description": "今日入库量(今入库量)",
  12598. "type": "number"
  12599. },
  12600. "todayoutqty": {
  12601. "description": "今日出库量(今出库量)",
  12602. "type": "number"
  12603. },
  12604. "todaysellamount": {
  12605. "description": "今日销售额(今销售额)",
  12606. "type": "number"
  12607. },
  12608. "todaysellaverageprice": {
  12609. "description": "今日销售均价",
  12610. "type": "number"
  12611. },
  12612. "todaysellqty": {
  12613. "description": "今日销售量(今销售量)",
  12614. "type": "number"
  12615. },
  12616. "unitid": {
  12617. "description": "品类单位id",
  12618. "type": "integer"
  12619. },
  12620. "unitidname": {
  12621. "description": "品类单位名称",
  12622. "type": "string"
  12623. },
  12624. "updatetime": {
  12625. "description": "更新时间",
  12626. "type": "string"
  12627. },
  12628. "wrfactortypeid": {
  12629. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12630. "type": "integer"
  12631. },
  12632. "wrstandardcode": {
  12633. "description": "品类代码",
  12634. "type": "string"
  12635. },
  12636. "wrstandardid": {
  12637. "description": "现货品类ID",
  12638. "type": "integer"
  12639. },
  12640. "wrstandardname": {
  12641. "description": "品类名称",
  12642. "type": "string"
  12643. }
  12644. }
  12645. },
  12646. "models.Ermcp3AreaStock": {
  12647. "type": "object",
  12648. "required": [
  12649. "userid"
  12650. ],
  12651. "properties": {
  12652. "brandname": {
  12653. "description": "品牌名称",
  12654. "type": "string"
  12655. },
  12656. "curstock": {
  12657. "description": "期末库存量(今日量)",
  12658. "type": "number"
  12659. },
  12660. "deliverygoodscode": {
  12661. "description": "现货品种代码",
  12662. "type": "string"
  12663. },
  12664. "deliverygoodsid": {
  12665. "description": "现货品种id",
  12666. "type": "integer"
  12667. },
  12668. "deliverygoodsname": {
  12669. "description": "现货品种名称",
  12670. "type": "string"
  12671. },
  12672. "enumdicname": {
  12673. "description": "单位名称",
  12674. "type": "string"
  12675. },
  12676. "goodsunitid": {
  12677. "description": "现货商品单位id",
  12678. "type": "integer"
  12679. },
  12680. "oristock": {
  12681. "description": "期初库存量(昨日量)",
  12682. "type": "number"
  12683. },
  12684. "spotgoodsbrandid": {
  12685. "description": "现货品牌ID",
  12686. "type": "integer"
  12687. },
  12688. "todaybuyinqty": {
  12689. "description": "今日采购入库量",
  12690. "type": "number"
  12691. },
  12692. "todayproduceinqty": {
  12693. "description": "今日生产入库量",
  12694. "type": "number"
  12695. },
  12696. "todayproduceoutqty": {
  12697. "description": "今日生产出库量",
  12698. "type": "number"
  12699. },
  12700. "todayselloutqty": {
  12701. "description": "今日销售出库量",
  12702. "type": "number"
  12703. },
  12704. "unitid": {
  12705. "description": "单位id",
  12706. "type": "integer"
  12707. },
  12708. "updatetime": {
  12709. "description": "更新时间",
  12710. "type": "string"
  12711. },
  12712. "userid": {
  12713. "description": "机构ID",
  12714. "type": "integer"
  12715. },
  12716. "username": {
  12717. "description": "机构名称",
  12718. "type": "string"
  12719. },
  12720. "warehousecode": {
  12721. "description": "仓库代码",
  12722. "type": "string"
  12723. },
  12724. "warehouseinfoid": {
  12725. "description": "仓库ID",
  12726. "type": "string"
  12727. },
  12728. "warehousename": {
  12729. "description": "仓库名称",
  12730. "type": "string"
  12731. },
  12732. "warehousetype": {
  12733. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12734. "type": "integer"
  12735. },
  12736. "wrstandardcode": {
  12737. "description": "品类代码",
  12738. "type": "string"
  12739. },
  12740. "wrstandardid": {
  12741. "description": "品类ID",
  12742. "type": "string"
  12743. },
  12744. "wrstandardname": {
  12745. "description": "品类名称",
  12746. "type": "string"
  12747. }
  12748. }
  12749. },
  12750. "models.Ermcp3AreaStockApply": {
  12751. "type": "object",
  12752. "properties": {
  12753. "applyid": {
  12754. "description": "申请人",
  12755. "type": "integer"
  12756. },
  12757. "applyname": {
  12758. "description": "申请人名称",
  12759. "type": "string"
  12760. },
  12761. "applyremark": {
  12762. "description": "申请备注",
  12763. "type": "string"
  12764. },
  12765. "applysrc": {
  12766. "description": "申请来源 - 1:管理端 2:终端",
  12767. "type": "integer"
  12768. },
  12769. "applystatus": {
  12770. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12771. "type": "integer"
  12772. },
  12773. "applytime": {
  12774. "description": "申请时间",
  12775. "type": "string"
  12776. },
  12777. "auditid": {
  12778. "description": "审核人",
  12779. "type": "integer"
  12780. },
  12781. "auditname": {
  12782. "description": "审核人名称",
  12783. "type": "string"
  12784. },
  12785. "auditremark": {
  12786. "description": "审核备注",
  12787. "type": "string"
  12788. },
  12789. "auditsrc": {
  12790. "description": "审核来源 - 1:管理端 2:终端",
  12791. "type": "integer"
  12792. },
  12793. "audittime": {
  12794. "description": "审核时间",
  12795. "type": "string"
  12796. },
  12797. "audittradedate": {
  12798. "description": "审核交易日(yyyyMMdd)",
  12799. "type": "string"
  12800. },
  12801. "brandname": {
  12802. "description": "品牌名称",
  12803. "type": "string"
  12804. },
  12805. "buynickname": {
  12806. "description": "采购方昵称",
  12807. "type": "string"
  12808. },
  12809. "buyuserid": {
  12810. "description": "采购方userid",
  12811. "type": "integer"
  12812. },
  12813. "buyusername": {
  12814. "description": "采购方名称",
  12815. "type": "string"
  12816. },
  12817. "contractno": {
  12818. "description": "合同编号",
  12819. "type": "string"
  12820. },
  12821. "contractqty": {
  12822. "description": "合同量",
  12823. "type": "number"
  12824. },
  12825. "contracttype": {
  12826. "description": "现货合同类型 - 1:采购 -1:销售",
  12827. "type": "integer"
  12828. },
  12829. "deliverygoodscode": {
  12830. "description": "现货品种代码",
  12831. "type": "string"
  12832. },
  12833. "deliverygoodsid": {
  12834. "description": "现货品种id",
  12835. "type": "integer"
  12836. },
  12837. "deliverygoodsname": {
  12838. "description": "现货品种名称",
  12839. "type": "string"
  12840. },
  12841. "detailjson": {
  12842. "description": "明细数据",
  12843. "type": "string"
  12844. },
  12845. "enumdicname": {
  12846. "description": "现货商品单位名称",
  12847. "type": "string"
  12848. },
  12849. "inoutapplyid": {
  12850. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  12851. "type": "string"
  12852. },
  12853. "inouttype": {
  12854. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  12855. "type": "integer"
  12856. },
  12857. "pricetype": {
  12858. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12859. "type": "integer"
  12860. },
  12861. "qty": {
  12862. "description": "数量",
  12863. "type": "number"
  12864. },
  12865. "sellnickname": {
  12866. "description": "销售方昵称",
  12867. "type": "string"
  12868. },
  12869. "selluserid": {
  12870. "description": "销售方userid",
  12871. "type": "integer"
  12872. },
  12873. "sellusername": {
  12874. "description": "销售方名称",
  12875. "type": "string"
  12876. },
  12877. "spotcontractid": {
  12878. "description": "关联现货合同ID",
  12879. "type": "string"
  12880. },
  12881. "spotgoodsbrandid": {
  12882. "description": "现货品牌ID",
  12883. "type": "integer"
  12884. },
  12885. "unitid": {
  12886. "description": "单位id",
  12887. "type": "integer"
  12888. },
  12889. "userid": {
  12890. "description": "机构ID",
  12891. "type": "integer"
  12892. },
  12893. "warehousecode": {
  12894. "description": "仓库代码",
  12895. "type": "string"
  12896. },
  12897. "warehouseinfoid": {
  12898. "description": "现货仓库ID",
  12899. "type": "string"
  12900. },
  12901. "warehousename": {
  12902. "description": "仓库名称",
  12903. "type": "string"
  12904. },
  12905. "warehousetype": {
  12906. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12907. "type": "integer"
  12908. },
  12909. "wrstandardcode": {
  12910. "description": "品类代码",
  12911. "type": "string"
  12912. },
  12913. "wrstandardid": {
  12914. "description": "品类ID",
  12915. "type": "integer"
  12916. },
  12917. "wrstandardname": {
  12918. "description": "品类名称",
  12919. "type": "string"
  12920. }
  12921. }
  12922. },
  12923. "models.Ermcp3AreaStockApplySum": {
  12924. "type": "object",
  12925. "properties": {
  12926. "brandname": {
  12927. "description": "品牌名称",
  12928. "type": "string"
  12929. },
  12930. "inouttype": {
  12931. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12932. "type": "integer"
  12933. },
  12934. "spotcontractid": {
  12935. "description": "关联现货合同ID",
  12936. "type": "string"
  12937. },
  12938. "spotgoodsbrandid": {
  12939. "description": "品牌id",
  12940. "type": "integer"
  12941. },
  12942. "totalqty": {
  12943. "description": "总数量",
  12944. "type": "number"
  12945. },
  12946. "wrstandardid": {
  12947. "description": "品类id",
  12948. "type": "integer"
  12949. },
  12950. "wrstandardname": {
  12951. "description": "品类名称",
  12952. "type": "string"
  12953. }
  12954. }
  12955. },
  12956. "models.Ermcp3AreaStockReportEx": {
  12957. "type": "object",
  12958. "properties": {
  12959. "begindate": {
  12960. "description": "开始交易日",
  12961. "type": "string"
  12962. },
  12963. "brandname": {
  12964. "description": "品牌名称",
  12965. "type": "string"
  12966. },
  12967. "curstock": {
  12968. "description": "期末库存量",
  12969. "type": "number"
  12970. },
  12971. "cycletime": {
  12972. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12973. "type": "string"
  12974. },
  12975. "cycletype": {
  12976. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12977. "type": "integer"
  12978. },
  12979. "deliverygoodscode": {
  12980. "description": "现货品种代码",
  12981. "type": "string"
  12982. },
  12983. "deliverygoodsid": {
  12984. "description": "现货品种id",
  12985. "type": "integer"
  12986. },
  12987. "deliverygoodsname": {
  12988. "description": "现货品种名称",
  12989. "type": "string"
  12990. },
  12991. "diffqty": {
  12992. "description": "库存变化量 = 期末 - 期初",
  12993. "type": "number"
  12994. },
  12995. "enddate": {
  12996. "description": "结束交易日",
  12997. "type": "string"
  12998. },
  12999. "enumdicname": {
  13000. "description": "单位名称",
  13001. "type": "string"
  13002. },
  13003. "goodsunitid": {
  13004. "description": "现货单位id",
  13005. "type": "integer"
  13006. },
  13007. "oristock": {
  13008. "description": "期初库存量",
  13009. "type": "number"
  13010. },
  13011. "reckondate": {
  13012. "description": "日照时期(yyyyMMdd)",
  13013. "type": "string"
  13014. },
  13015. "spotgoodsbrandid": {
  13016. "description": "现货品牌ID",
  13017. "type": "integer"
  13018. },
  13019. "todaybuyinqty": {
  13020. "description": "今采购入库量",
  13021. "type": "number"
  13022. },
  13023. "todayproduceinqty": {
  13024. "description": "今内部入库量",
  13025. "type": "number"
  13026. },
  13027. "todayproduceoutqty": {
  13028. "description": "今内部出库量",
  13029. "type": "number"
  13030. },
  13031. "todayselloutqty": {
  13032. "description": "今销售出库量",
  13033. "type": "number"
  13034. },
  13035. "unbuyinqty": {
  13036. "description": "采购未入库量(数据库未找到相关字段?)",
  13037. "type": "number"
  13038. },
  13039. "unitid": {
  13040. "description": "品类单位id",
  13041. "type": "integer"
  13042. },
  13043. "unselloutqty": {
  13044. "description": "销售未出库量(数据库未找到相关字段?)",
  13045. "type": "number"
  13046. },
  13047. "updatetime": {
  13048. "description": "更新时间",
  13049. "type": "string"
  13050. },
  13051. "userid": {
  13052. "description": "机构ID",
  13053. "type": "integer"
  13054. },
  13055. "username": {
  13056. "description": "机构名称",
  13057. "type": "string"
  13058. },
  13059. "warehousecode": {
  13060. "description": "仓库代码",
  13061. "type": "string"
  13062. },
  13063. "warehouseinfoid": {
  13064. "description": "仓库ID",
  13065. "type": "string"
  13066. },
  13067. "warehousename": {
  13068. "description": "仓库名称",
  13069. "type": "string"
  13070. },
  13071. "warehousetype": {
  13072. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13073. "type": "integer"
  13074. },
  13075. "wrstandardcode": {
  13076. "description": "品类代码",
  13077. "type": "string"
  13078. },
  13079. "wrstandardid": {
  13080. "description": "品类ID",
  13081. "type": "integer"
  13082. },
  13083. "wrstandardname": {
  13084. "description": "品类名称",
  13085. "type": "string"
  13086. }
  13087. }
  13088. },
  13089. "models.Ermcp3ArealSumPL": {
  13090. "type": "object",
  13091. "properties": {
  13092. "accountname": {
  13093. "description": "机构名称",
  13094. "type": "string"
  13095. },
  13096. "areauserid": {
  13097. "description": "所属机构\\交易用户ID",
  13098. "type": "integer"
  13099. },
  13100. "begindate": {
  13101. "description": "开始交易日",
  13102. "type": "string"
  13103. },
  13104. "currencyid": {
  13105. "description": "结算币种ID",
  13106. "type": "integer"
  13107. },
  13108. "currencyname": {
  13109. "description": "币种名称",
  13110. "type": "string"
  13111. },
  13112. "cycletime": {
  13113. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13114. "type": "string"
  13115. },
  13116. "cycletype": {
  13117. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13118. "type": "integer"
  13119. },
  13120. "enddate": {
  13121. "description": "结束交易日",
  13122. "type": "string"
  13123. },
  13124. "enumdicname": {
  13125. "description": "单位名称(套保品种)",
  13126. "type": "string"
  13127. },
  13128. "futureactualpl": {
  13129. "description": "期货损益",
  13130. "type": "number"
  13131. },
  13132. "futurefloatpl": {
  13133. "description": "期货浮动损益",
  13134. "type": "number"
  13135. },
  13136. "goodsunitid": {
  13137. "description": "套保品种单位id",
  13138. "type": "integer"
  13139. },
  13140. "middlegoodscode": {
  13141. "description": "套保品种代码",
  13142. "type": "string"
  13143. },
  13144. "middlegoodsid": {
  13145. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13146. "type": "integer"
  13147. },
  13148. "middlegoodsname": {
  13149. "description": "套保品种名称",
  13150. "type": "string"
  13151. },
  13152. "reckondate": {
  13153. "description": "日照时期(yyyyMMdd)",
  13154. "type": "string"
  13155. },
  13156. "spotactualpl": {
  13157. "description": "现货损益",
  13158. "type": "number"
  13159. },
  13160. "spotfloatpl": {
  13161. "description": "现货浮动损益",
  13162. "type": "number"
  13163. },
  13164. "sumactualpl": {
  13165. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13166. "type": "number"
  13167. },
  13168. "sumpl": {
  13169. "description": "汇总损益",
  13170. "type": "number"
  13171. },
  13172. "updatetime": {
  13173. "description": "更新时间",
  13174. "type": "string"
  13175. }
  13176. }
  13177. },
  13178. "models.Ermcp3Brand": {
  13179. "type": "object",
  13180. "properties": {
  13181. "areauserid": {
  13182. "description": "用户id",
  13183. "type": "integer"
  13184. },
  13185. "brandid": {
  13186. "description": "品牌id",
  13187. "type": "integer"
  13188. },
  13189. "brandname": {
  13190. "description": "品牌名称",
  13191. "type": "string"
  13192. },
  13193. "deliverygoodsid": {
  13194. "description": "品种ID",
  13195. "type": "integer"
  13196. }
  13197. }
  13198. },
  13199. "models.Ermcp3Contract": {
  13200. "type": "object",
  13201. "properties": {
  13202. "accountid": {
  13203. "description": "期货账户id",
  13204. "type": "string"
  13205. },
  13206. "amount": {
  13207. "description": "金额 [1:一口价、3:暂定价]",
  13208. "type": "number"
  13209. },
  13210. "attachment": {
  13211. "description": "附件",
  13212. "type": "string"
  13213. },
  13214. "auditremark": {
  13215. "description": "审核意见",
  13216. "type": "string"
  13217. },
  13218. "audittime": {
  13219. "description": "审核时间",
  13220. "type": "string"
  13221. },
  13222. "biztype": {
  13223. "description": "业务类型 1-套保 2-套利",
  13224. "type": "integer"
  13225. },
  13226. "brandname": {
  13227. "description": "品牌名称",
  13228. "type": "string"
  13229. },
  13230. "buynickname": {
  13231. "description": "销售方昵称",
  13232. "type": "string"
  13233. },
  13234. "buyuserid": {
  13235. "description": "采购方ID",
  13236. "type": "integer"
  13237. },
  13238. "buyusername": {
  13239. "description": "采购方名称",
  13240. "type": "string"
  13241. },
  13242. "contracctstatus": {
  13243. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13244. "type": "integer"
  13245. },
  13246. "contractmargin": {
  13247. "description": "合同保证金",
  13248. "type": "number"
  13249. },
  13250. "contractno": {
  13251. "description": "现货合同编号",
  13252. "type": "string"
  13253. },
  13254. "contracttype": {
  13255. "description": "现货合同类型 - 1:采购 -1:销售",
  13256. "type": "integer"
  13257. },
  13258. "convertfactor": {
  13259. "description": "标仓系数(品类)",
  13260. "type": "number"
  13261. },
  13262. "createtime": {
  13263. "description": "创建时间",
  13264. "type": "string"
  13265. },
  13266. "currencyid": {
  13267. "description": "币种id",
  13268. "type": "integer"
  13269. },
  13270. "currencyname": {
  13271. "description": "币种名称",
  13272. "type": "string"
  13273. },
  13274. "deliveryenddate": {
  13275. "description": "交收期(结束)",
  13276. "type": "string"
  13277. },
  13278. "deliverygoodscode": {
  13279. "description": "现货品种代码",
  13280. "type": "string"
  13281. },
  13282. "deliverygoodsid": {
  13283. "description": "现货品种ID",
  13284. "type": "integer"
  13285. },
  13286. "deliverygoodsname": {
  13287. "description": "现货品种名称",
  13288. "type": "string"
  13289. },
  13290. "deliverystartdate": {
  13291. "description": "交收期(开始)",
  13292. "type": "string"
  13293. },
  13294. "enddate": {
  13295. "description": "点价结束日期 [2:点价 3:暂定价]",
  13296. "type": "string"
  13297. },
  13298. "enumdicname": {
  13299. "description": "单位名称",
  13300. "type": "string"
  13301. },
  13302. "goodscode": {
  13303. "description": "点价合约代码",
  13304. "type": "string"
  13305. },
  13306. "goodsid": {
  13307. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13308. "type": "integer"
  13309. },
  13310. "goodsname": {
  13311. "description": "点价商品名称",
  13312. "type": "string"
  13313. },
  13314. "margin": {
  13315. "description": "当前保证金",
  13316. "type": "number"
  13317. },
  13318. "meruserid": {
  13319. "description": "跟单员id",
  13320. "type": "integer"
  13321. },
  13322. "meruserlogincode": {
  13323. "description": "跟单员登录代码",
  13324. "type": "string"
  13325. },
  13326. "price": {
  13327. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13328. "type": "number"
  13329. },
  13330. "pricemove": {
  13331. "description": "升贴水 [2:点价 3:暂定价]",
  13332. "type": "number"
  13333. },
  13334. "pricetype": {
  13335. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13336. "type": "integer"
  13337. },
  13338. "producttype": {
  13339. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13340. "type": "integer"
  13341. },
  13342. "qty": {
  13343. "description": "数量",
  13344. "type": "number"
  13345. },
  13346. "remark": {
  13347. "description": "备注",
  13348. "type": "string"
  13349. },
  13350. "saleuserid": {
  13351. "description": "业务员id",
  13352. "type": "integer"
  13353. },
  13354. "saleuserlogincode": {
  13355. "description": "业务员登录代码",
  13356. "type": "string"
  13357. },
  13358. "sellnickname": {
  13359. "description": "采购方昵称",
  13360. "type": "string"
  13361. },
  13362. "selluserid": {
  13363. "description": "销售方ID",
  13364. "type": "integer"
  13365. },
  13366. "sellusername": {
  13367. "description": "销售方名称",
  13368. "type": "string"
  13369. },
  13370. "spotcontractid": {
  13371. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13372. "type": "string"
  13373. },
  13374. "spotgoodsbrandid": {
  13375. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13376. "type": "integer"
  13377. },
  13378. "spotgoodsdesc": {
  13379. "description": "商品型号",
  13380. "type": "string"
  13381. },
  13382. "startdate": {
  13383. "description": "点价开始日期 [2:点价 3:暂定价]",
  13384. "type": "string"
  13385. },
  13386. "tradeuserid": {
  13387. "description": "交易员id",
  13388. "type": "integer"
  13389. },
  13390. "tradeuserlogincode": {
  13391. "description": "交易员登录代码",
  13392. "type": "string"
  13393. },
  13394. "tradeusername": {
  13395. "description": "交易员名称",
  13396. "type": "string"
  13397. },
  13398. "unitid": {
  13399. "description": "单位id(取品类上的单位id)",
  13400. "type": "integer"
  13401. },
  13402. "updatetime": {
  13403. "description": "更新时间",
  13404. "type": "string"
  13405. },
  13406. "userid": {
  13407. "description": "所属机构ID",
  13408. "type": "integer"
  13409. },
  13410. "wrstandardcode": {
  13411. "description": "品类代码",
  13412. "type": "string"
  13413. },
  13414. "wrstandardid": {
  13415. "description": "品类ID",
  13416. "type": "integer"
  13417. },
  13418. "wrstandardname": {
  13419. "description": "品类名称",
  13420. "type": "string"
  13421. }
  13422. }
  13423. },
  13424. "models.Ermcp3ExposureContractDetail": {
  13425. "type": "object",
  13426. "properties": {
  13427. "biztype": {
  13428. "description": "业务类型 1-套保 2-套利",
  13429. "type": "integer"
  13430. },
  13431. "brandname": {
  13432. "description": "品牌名称",
  13433. "type": "string"
  13434. },
  13435. "buyuserid": {
  13436. "description": "采购方id",
  13437. "type": "integer"
  13438. },
  13439. "buyusername": {
  13440. "description": "采购方名称",
  13441. "type": "string"
  13442. },
  13443. "contractno": {
  13444. "description": "合同编号",
  13445. "type": "string"
  13446. },
  13447. "contracttype": {
  13448. "description": "现货合同类型 - 1:采购 -1:销售",
  13449. "type": "integer"
  13450. },
  13451. "convertratio": {
  13452. "description": "折算系数(套保品种)",
  13453. "type": "number"
  13454. },
  13455. "curqty": {
  13456. "description": "今定价量",
  13457. "type": "number"
  13458. },
  13459. "deliverygoodscode": {
  13460. "description": "现货商品代码",
  13461. "type": "string"
  13462. },
  13463. "deliverygoodsid": {
  13464. "description": "现货商品id",
  13465. "type": "integer"
  13466. },
  13467. "deliverygoodsname": {
  13468. "description": "现货商品名称",
  13469. "type": "string"
  13470. },
  13471. "diffqty": {
  13472. "description": "套保品种今变动量",
  13473. "type": "number"
  13474. },
  13475. "enumdicname": {
  13476. "description": "单位名称",
  13477. "type": "string"
  13478. },
  13479. "middlegoodscode": {
  13480. "description": "套保品种代码",
  13481. "type": "string"
  13482. },
  13483. "middlegoodsid": {
  13484. "description": "套保品种id",
  13485. "type": "integer"
  13486. },
  13487. "middlegoodsname": {
  13488. "description": "套保品种名称",
  13489. "type": "string"
  13490. },
  13491. "needarbitrageratio": {
  13492. "description": "应套利比例",
  13493. "type": "number"
  13494. },
  13495. "needhedgeratio": {
  13496. "description": "应套保比例",
  13497. "type": "number"
  13498. },
  13499. "pricedqty": {
  13500. "description": "已定价量",
  13501. "type": "number"
  13502. },
  13503. "qty": {
  13504. "description": "合同量",
  13505. "type": "number"
  13506. },
  13507. "selluserid": {
  13508. "description": "销售方id",
  13509. "type": "integer"
  13510. },
  13511. "sellusername": {
  13512. "description": "销售方名称",
  13513. "type": "string"
  13514. },
  13515. "spotcontractid": {
  13516. "description": "合同id",
  13517. "type": "string"
  13518. },
  13519. "tradedate": {
  13520. "description": "交易日",
  13521. "type": "string"
  13522. },
  13523. "unitid": {
  13524. "description": "品类单位id",
  13525. "type": "integer"
  13526. },
  13527. "userid": {
  13528. "description": "机构id",
  13529. "type": "integer"
  13530. },
  13531. "wrstandardcode": {
  13532. "description": "品类代码",
  13533. "type": "string"
  13534. },
  13535. "wrstandardid": {
  13536. "description": "品类id",
  13537. "type": "integer"
  13538. },
  13539. "wrstandardname": {
  13540. "description": "品类名称",
  13541. "type": "string"
  13542. }
  13543. }
  13544. },
  13545. "models.Ermcp3ExposureDetail": {
  13546. "type": "object",
  13547. "properties": {
  13548. "areauserid": {
  13549. "description": "机构ID",
  13550. "type": "integer"
  13551. },
  13552. "changeQty": {
  13553. "description": "套保变动量",
  13554. "type": "number"
  13555. },
  13556. "contracttype": {
  13557. "description": "现货合同类型 - 1:采购 -1:销售",
  13558. "type": "integer"
  13559. },
  13560. "convertfactor": {
  13561. "description": "标仓系数",
  13562. "type": "number"
  13563. },
  13564. "convertratio": {
  13565. "description": "套保系数",
  13566. "type": "number"
  13567. },
  13568. "createtime": {
  13569. "description": "时间",
  13570. "type": "string"
  13571. },
  13572. "deliverygoodscode": {
  13573. "description": "现货品种代码",
  13574. "type": "string"
  13575. },
  13576. "deliverygoodsid": {
  13577. "description": "现货品种id",
  13578. "type": "integer"
  13579. },
  13580. "deliverygoodsname": {
  13581. "description": "现货品种名称",
  13582. "type": "string"
  13583. },
  13584. "enumdicname": {
  13585. "description": "现货商品单位名称",
  13586. "type": "string"
  13587. },
  13588. "logtype": {
  13589. "description": "类型 - 1:套保计划 2:现货合同",
  13590. "type": "integer"
  13591. },
  13592. "mgunitid": {
  13593. "description": "套保品种单位id",
  13594. "type": "integer"
  13595. },
  13596. "mgunitidname": {
  13597. "description": "套保品种单位名称",
  13598. "type": "string"
  13599. },
  13600. "middlegoodsId": {
  13601. "description": "套保商品id",
  13602. "type": "integer"
  13603. },
  13604. "middlegoodscode": {
  13605. "description": "套保商品代码",
  13606. "type": "string"
  13607. },
  13608. "middlegoodsname": {
  13609. "description": "套保商品名称",
  13610. "type": "string"
  13611. },
  13612. "qty": {
  13613. "description": "数量",
  13614. "type": "number"
  13615. },
  13616. "relateNo": {
  13617. "description": "现货合同/套保计划编号",
  13618. "type": "string"
  13619. }
  13620. }
  13621. },
  13622. "models.Ermcp3ExposureHedgeplanDetail": {
  13623. "type": "object",
  13624. "properties": {
  13625. "biztype": {
  13626. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  13627. "type": "integer"
  13628. },
  13629. "changqty": {
  13630. "description": "应套保总量变化量",
  13631. "type": "number"
  13632. },
  13633. "contracttype": {
  13634. "description": "计划类型 - 1:采购 -1:销售",
  13635. "type": "integer"
  13636. },
  13637. "convertratio": {
  13638. "description": "折算系数(套保品种)",
  13639. "type": "number"
  13640. },
  13641. "deliverygoodscode": {
  13642. "description": "现货商品代码",
  13643. "type": "string"
  13644. },
  13645. "deliverygoodsid": {
  13646. "description": "现货商品id",
  13647. "type": "integer"
  13648. },
  13649. "deliverygoodsname": {
  13650. "description": "现货商吕名称",
  13651. "type": "string"
  13652. },
  13653. "dgunitid": {
  13654. "description": "现货商品单位id",
  13655. "type": "integer"
  13656. },
  13657. "dgunitidname": {
  13658. "description": "单位名称(现货商品)",
  13659. "type": "string"
  13660. },
  13661. "diffqty": {
  13662. "description": "套保品种今变动量",
  13663. "type": "number"
  13664. },
  13665. "enumdicname": {
  13666. "description": "单位名称(品类)",
  13667. "type": "string"
  13668. },
  13669. "hedgeplanid": {
  13670. "description": "套保计划id",
  13671. "type": "string"
  13672. },
  13673. "hedgeplanno": {
  13674. "description": "套保计划编号",
  13675. "type": "string"
  13676. },
  13677. "hedgeplanstatus": {
  13678. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13679. "type": "integer"
  13680. },
  13681. "mgunitidname": {
  13682. "description": "单位名称(套保商品)",
  13683. "type": "string"
  13684. },
  13685. "middlegoodscode": {
  13686. "description": "套保品种代码",
  13687. "type": "string"
  13688. },
  13689. "middlegoodsid": {
  13690. "description": "套保品种id",
  13691. "type": "integer"
  13692. },
  13693. "middlegoodsname": {
  13694. "description": "套保品种名称",
  13695. "type": "string"
  13696. },
  13697. "needarbitrageratio": {
  13698. "description": "应套利比例",
  13699. "type": "number"
  13700. },
  13701. "needhedgeratio": {
  13702. "description": "应套保比例",
  13703. "type": "number"
  13704. },
  13705. "pricedqty": {
  13706. "description": "已定价量",
  13707. "type": "number"
  13708. },
  13709. "qty": {
  13710. "description": "合同量",
  13711. "type": "number"
  13712. },
  13713. "tradedate": {
  13714. "description": "交易日(登记日)",
  13715. "type": "string"
  13716. },
  13717. "unitid": {
  13718. "description": "品类单位id",
  13719. "type": "integer"
  13720. },
  13721. "userid": {
  13722. "description": "机构id",
  13723. "type": "integer"
  13724. },
  13725. "wrstandardcode": {
  13726. "description": "品类代码",
  13727. "type": "string"
  13728. },
  13729. "wrstandardid": {
  13730. "description": "品类id",
  13731. "type": "integer"
  13732. },
  13733. "wrstandardname": {
  13734. "description": "品类名称",
  13735. "type": "string"
  13736. }
  13737. }
  13738. },
  13739. "models.Ermcp3ExpourseReport": {
  13740. "type": "object",
  13741. "properties": {
  13742. "accountid": {
  13743. "description": "期货账户ID (作废, 默认为0)",
  13744. "type": "integer"
  13745. },
  13746. "accountname": {
  13747. "description": "机构名称",
  13748. "type": "string"
  13749. },
  13750. "arbitrageqty": {
  13751. "description": "套利量",
  13752. "type": "number"
  13753. },
  13754. "areauserid": {
  13755. "description": "所属机构\\交易用户ID",
  13756. "type": "integer"
  13757. },
  13758. "begindate": {
  13759. "description": "开始交易日",
  13760. "type": "string"
  13761. },
  13762. "buyfutureqty": {
  13763. "description": "买入期货数量",
  13764. "type": "number"
  13765. },
  13766. "buyplanqty": {
  13767. "description": "采购计划数量",
  13768. "type": "number"
  13769. },
  13770. "buypricedqty": {
  13771. "description": "采购合同已定价数量",
  13772. "type": "number"
  13773. },
  13774. "cycletime": {
  13775. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13776. "type": "string"
  13777. },
  13778. "cycletype": {
  13779. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13780. "type": "integer"
  13781. },
  13782. "diffexposure": {
  13783. "description": "变动量(套保敞口)",
  13784. "type": "number"
  13785. },
  13786. "difffutuqty": {
  13787. "description": "变动量(期货)",
  13788. "type": "number"
  13789. },
  13790. "diffhedgeqty": {
  13791. "description": "变动量(现货应套保总量)",
  13792. "type": "number"
  13793. },
  13794. "diffmgqtya": {
  13795. "description": "套保变动量",
  13796. "type": "number"
  13797. },
  13798. "diffmgqtyb": {
  13799. "description": "套利变动量",
  13800. "type": "number"
  13801. },
  13802. "diffqty": {
  13803. "description": "变动量(总敞口)",
  13804. "type": "number"
  13805. },
  13806. "diffspotqty": {
  13807. "description": "变动量(现货)",
  13808. "type": "number"
  13809. },
  13810. "enddate": {
  13811. "description": "结束交易日",
  13812. "type": "string"
  13813. },
  13814. "enumdicname": {
  13815. "description": "单位名称",
  13816. "type": "string"
  13817. },
  13818. "hedgeqty": {
  13819. "description": "套保量",
  13820. "type": "number"
  13821. },
  13822. "mgneedhedgeratio": {
  13823. "description": "套保比例(套保品的)",
  13824. "type": "number"
  13825. },
  13826. "middlegoodsid": {
  13827. "description": "套保品种ID",
  13828. "type": "integer"
  13829. },
  13830. "middlegoodsname": {
  13831. "description": "套保商品名称",
  13832. "type": "string"
  13833. },
  13834. "middlgoodscode": {
  13835. "description": "套保商品代码",
  13836. "type": "string"
  13837. },
  13838. "needarbitrageqty": {
  13839. "description": "应套利量",
  13840. "type": "number"
  13841. },
  13842. "needarbitrageratio": {
  13843. "description": "套利比例(套保品的)",
  13844. "type": "number"
  13845. },
  13846. "needhedgeexposoure": {
  13847. "description": "应套保敞口(套保敞口)",
  13848. "type": "number"
  13849. },
  13850. "needhedgeqty": {
  13851. "description": "应套保量",
  13852. "type": "number"
  13853. },
  13854. "needhedgeratio": {
  13855. "description": "应套保敞口比例",
  13856. "type": "number"
  13857. },
  13858. "oriarbitrageqty": {
  13859. "description": "期初套利量",
  13860. "type": "number"
  13861. },
  13862. "oribuyfutureqty": {
  13863. "description": "期初买入期货数量",
  13864. "type": "number"
  13865. },
  13866. "oribuyplanqty": {
  13867. "description": "期初采购计划数量",
  13868. "type": "number"
  13869. },
  13870. "oribuypricedqty": {
  13871. "description": "期初采购合同已定价数量",
  13872. "type": "number"
  13873. },
  13874. "orihedgeqty": {
  13875. "description": "期初套保量",
  13876. "type": "number"
  13877. },
  13878. "orineedarbitrageqty": {
  13879. "description": "期初应套利量",
  13880. "type": "number"
  13881. },
  13882. "orineedhedgeexposoure": {
  13883. "description": "期初应套保敞口",
  13884. "type": "number"
  13885. },
  13886. "orineedhedgeqty": {
  13887. "description": "期初应套保量",
  13888. "type": "number"
  13889. },
  13890. "orisellfutureqty": {
  13891. "description": "期初卖出期货数量",
  13892. "type": "number"
  13893. },
  13894. "orisellplanqty": {
  13895. "description": "期初销售计划数量",
  13896. "type": "number"
  13897. },
  13898. "orisellpricedqty": {
  13899. "description": "期初销售合同已定价数量",
  13900. "type": "number"
  13901. },
  13902. "oritotalexposure": {
  13903. "description": "期初实时总敞口",
  13904. "type": "number"
  13905. },
  13906. "oritotalfutureqty": {
  13907. "description": "期初期货头寸总量",
  13908. "type": "number"
  13909. },
  13910. "oritotalneedhedgeqty": {
  13911. "description": "期初应套保总量",
  13912. "type": "number"
  13913. },
  13914. "oritotalspotqty": {
  13915. "description": "期初现货头寸总量",
  13916. "type": "number"
  13917. },
  13918. "reckondate": {
  13919. "description": "日照时期(yyyyMMdd)",
  13920. "type": "string"
  13921. },
  13922. "sellfutureqty": {
  13923. "description": "卖出期货数量",
  13924. "type": "number"
  13925. },
  13926. "sellplanqty": {
  13927. "description": "销售计划数量",
  13928. "type": "number"
  13929. },
  13930. "sellpricedqty": {
  13931. "description": "销售合同已定价数量",
  13932. "type": "number"
  13933. },
  13934. "totalexposure": {
  13935. "description": "实时总敞口(总敞口)",
  13936. "type": "number"
  13937. },
  13938. "totalfutureqty": {
  13939. "description": "期货头寸总量(期货总量)",
  13940. "type": "number"
  13941. },
  13942. "totalhedgeratio": {
  13943. "description": "敞口比例",
  13944. "type": "number"
  13945. },
  13946. "totalneedhedgeqty": {
  13947. "description": "应套保总量(现货应套保总量)",
  13948. "type": "number"
  13949. },
  13950. "totalspotqty": {
  13951. "description": "现货头寸总量",
  13952. "type": "number"
  13953. },
  13954. "unitid": {
  13955. "description": "单位id",
  13956. "type": "integer"
  13957. },
  13958. "updatetime": {
  13959. "description": "更新时间",
  13960. "type": "string"
  13961. }
  13962. }
  13963. },
  13964. "models.Ermcp3FinanceReport": {
  13965. "type": "object",
  13966. "properties": {
  13967. "accountname": {
  13968. "description": "机构名称",
  13969. "type": "string"
  13970. },
  13971. "areauserid": {
  13972. "description": "所属机构\\交易用户ID",
  13973. "type": "integer"
  13974. },
  13975. "begindate": {
  13976. "description": "开始交易日",
  13977. "type": "string"
  13978. },
  13979. "biztype": {
  13980. "description": "业务类型 - 1:套保 2:套利",
  13981. "type": "integer"
  13982. },
  13983. "brandname": {
  13984. "description": "品牌名称",
  13985. "type": "string"
  13986. },
  13987. "buypreinvoicedamount": {
  13988. "description": "采购预收票额(预收票额)",
  13989. "type": "number"
  13990. },
  13991. "buyprepaidamount": {
  13992. "description": "采购预付款额(预付货款额)",
  13993. "type": "number"
  13994. },
  13995. "buytodayinvoiceamount": {
  13996. "description": "采购今收票额(今收票额)",
  13997. "type": "number"
  13998. },
  13999. "buytodayrefundamount": {
  14000. "description": "采购今收退款额(今收退款额)",
  14001. "type": "number"
  14002. },
  14003. "buytodaysettleamount": {
  14004. "description": "采购今付款额(今付货款额)",
  14005. "type": "number"
  14006. },
  14007. "buyuninvoicedamount": {
  14008. "description": "采购应收票额(应收票额)",
  14009. "type": "number"
  14010. },
  14011. "buyunpaidamount": {
  14012. "description": "采购应付款额(应付货款额)",
  14013. "type": "number"
  14014. },
  14015. "currencyid": {
  14016. "description": "结算币种ID",
  14017. "type": "integer"
  14018. },
  14019. "currencyname": {
  14020. "description": "币种名称",
  14021. "type": "string"
  14022. },
  14023. "cycletime": {
  14024. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14025. "type": "string"
  14026. },
  14027. "cycletype": {
  14028. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14029. "type": "integer"
  14030. },
  14031. "deliverygoodscode": {
  14032. "description": "现货品种代码",
  14033. "type": "string"
  14034. },
  14035. "deliverygoodsid": {
  14036. "description": "现货品种ID",
  14037. "type": "integer"
  14038. },
  14039. "deliverygoodsname": {
  14040. "description": "现货品种名称",
  14041. "type": "string"
  14042. },
  14043. "enddate": {
  14044. "description": "结束交易日",
  14045. "type": "string"
  14046. },
  14047. "reckondate": {
  14048. "description": "日照时期(yyyyMMdd)",
  14049. "type": "string"
  14050. },
  14051. "sellpreinvoicedamount": {
  14052. "description": "销售预开票额(预开票额)",
  14053. "type": "number"
  14054. },
  14055. "sellprepaidamount": {
  14056. "description": "销售预收款额(预收货款额)",
  14057. "type": "number"
  14058. },
  14059. "selltodayinvoiceamount": {
  14060. "description": "销售今开票额(今开票额)",
  14061. "type": "number"
  14062. },
  14063. "selltodayrefundamount": {
  14064. "description": "销售今付退款额(今付退款额)",
  14065. "type": "number"
  14066. },
  14067. "selltodaysettleamount": {
  14068. "description": "销售今收款额(今收货款额)",
  14069. "type": "number"
  14070. },
  14071. "selluninvoicedamount": {
  14072. "description": "销售应开票额(应开票额)",
  14073. "type": "number"
  14074. },
  14075. "sellunpaidamount": {
  14076. "description": "销售应收款额(应收货款额)",
  14077. "type": "number"
  14078. },
  14079. "spotgoodsbrandid": {
  14080. "description": "现货品牌ID",
  14081. "type": "integer"
  14082. },
  14083. "todaypaysum": {
  14084. "description": "今付款合计",
  14085. "type": "number"
  14086. },
  14087. "todayreceivesum": {
  14088. "description": "今收款合计",
  14089. "type": "number"
  14090. },
  14091. "updatetime": {
  14092. "description": "更新时间",
  14093. "type": "string"
  14094. },
  14095. "wrfactortypeid": {
  14096. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14097. "type": "integer"
  14098. },
  14099. "wrstandardcode": {
  14100. "description": "品类代码",
  14101. "type": "string"
  14102. },
  14103. "wrstandardid": {
  14104. "description": "现货商品ID",
  14105. "type": "integer"
  14106. },
  14107. "wrstandardname": {
  14108. "description": "品类名称",
  14109. "type": "string"
  14110. }
  14111. }
  14112. },
  14113. "models.Ermcp3Goods": {
  14114. "type": "object",
  14115. "properties": {
  14116. "agreeunit": {
  14117. "description": "合约单位(合约乘数)",
  14118. "type": "number"
  14119. },
  14120. "enumdicname": {
  14121. "description": "单位名称",
  14122. "type": "string"
  14123. },
  14124. "exexchangecode": {
  14125. "description": "交易所代码",
  14126. "type": "string"
  14127. },
  14128. "goodscode": {
  14129. "description": "期货商品代码",
  14130. "type": "string"
  14131. },
  14132. "goodsid": {
  14133. "description": "期货商品id",
  14134. "type": "integer"
  14135. },
  14136. "goodsname": {
  14137. "description": "期货商品名称",
  14138. "type": "string"
  14139. }
  14140. }
  14141. },
  14142. "models.Ermcp3GoodsGroup": {
  14143. "type": "object",
  14144. "required": [
  14145. "areauserid"
  14146. ],
  14147. "properties": {
  14148. "agreeunit": {
  14149. "description": "合约单位",
  14150. "type": "number"
  14151. },
  14152. "areauserid": {
  14153. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14154. "type": "integer"
  14155. },
  14156. "canshort": {
  14157. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14158. "type": "integer"
  14159. },
  14160. "closepricemode": {
  14161. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14162. "type": "integer"
  14163. },
  14164. "createtime": {
  14165. "description": "创建时间",
  14166. "type": "string"
  14167. },
  14168. "creatorid": {
  14169. "description": "创建人",
  14170. "type": "integer"
  14171. },
  14172. "currencyid": {
  14173. "description": "报价货币ID",
  14174. "type": "integer"
  14175. },
  14176. "decimalplace": {
  14177. "description": "报价小数位",
  14178. "type": "integer"
  14179. },
  14180. "enumdicname": {
  14181. "description": "单位名称",
  14182. "type": "string"
  14183. },
  14184. "excludecfg": {
  14185. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14186. "type": "integer"
  14187. },
  14188. "exexchangeid": {
  14189. "description": "外部交易所ID[通道交易]",
  14190. "type": "integer"
  14191. },
  14192. "goodsgroupid": {
  14193. "description": "商品组ID(自增ID)",
  14194. "type": "integer"
  14195. },
  14196. "goodsgroupname": {
  14197. "description": "商品组名称",
  14198. "type": "string"
  14199. },
  14200. "goodsgroupstatus": {
  14201. "description": "商品组状态 - 1:正常 2:注销",
  14202. "type": "integer"
  14203. },
  14204. "goodunitid": {
  14205. "description": "报价单位ID",
  14206. "type": "integer"
  14207. },
  14208. "groupcategroyid": {
  14209. "description": "品种分类ID",
  14210. "type": "integer"
  14211. },
  14212. "innerdealmode": {
  14213. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14214. "type": "integer"
  14215. },
  14216. "marketid": {
  14217. "description": "所属市场ID",
  14218. "type": "integer"
  14219. },
  14220. "modifierid": {
  14221. "description": "修改人",
  14222. "type": "integer"
  14223. },
  14224. "modifytime": {
  14225. "description": "修改时间",
  14226. "type": "string"
  14227. },
  14228. "outerdealmode": {
  14229. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14230. "type": "integer"
  14231. },
  14232. "outergroupcode": {
  14233. "description": "外部商品组代码[通道交易]",
  14234. "type": "string"
  14235. },
  14236. "quoteminunit": {
  14237. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14238. "type": "integer"
  14239. },
  14240. "quotesourcegroupid": {
  14241. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14242. "type": "integer"
  14243. },
  14244. "syncgoodsqty": {
  14245. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14246. "type": "integer"
  14247. }
  14248. }
  14249. },
  14250. "models.Ermcp3GoodsGroupEx": {
  14251. "type": "object",
  14252. "properties": {
  14253. "convertratio": {
  14254. "description": "折算系数(品种系数)",
  14255. "type": "number"
  14256. },
  14257. "enumdicname": {
  14258. "description": "单位名称",
  14259. "type": "string"
  14260. },
  14261. "exexchangecode": {
  14262. "description": "交易所代码",
  14263. "type": "string"
  14264. },
  14265. "glist": {
  14266. "description": "合约列表",
  14267. "type": "array",
  14268. "items": {
  14269. "$ref": "#/definitions/models.Ermcp3Goods"
  14270. }
  14271. },
  14272. "goodsgroupid": {
  14273. "description": "商品组id",
  14274. "type": "integer"
  14275. },
  14276. "goodsgroupname": {
  14277. "description": "商品组名称",
  14278. "type": "string"
  14279. },
  14280. "goodsunitid": {
  14281. "description": "单位id",
  14282. "type": "integer"
  14283. },
  14284. "middlegoodsid": {
  14285. "description": "套保商品id",
  14286. "type": "integer"
  14287. }
  14288. }
  14289. },
  14290. "models.Ermcp3HedgePlan": {
  14291. "type": "object",
  14292. "properties": {
  14293. "accountid": {
  14294. "description": "资金账号",
  14295. "type": "integer"
  14296. },
  14297. "areauserid": {
  14298. "description": "用户ID",
  14299. "type": "integer"
  14300. },
  14301. "audittime": {
  14302. "description": "审核时间",
  14303. "type": "string"
  14304. },
  14305. "contracttype": {
  14306. "description": "计划类型 - 1:采购 -1:销售",
  14307. "type": "integer"
  14308. },
  14309. "convertfactor": {
  14310. "description": "标仓系数",
  14311. "type": "number"
  14312. },
  14313. "createtime": {
  14314. "description": "创建时间",
  14315. "type": "string"
  14316. },
  14317. "currencyid": {
  14318. "description": "币种id",
  14319. "type": "integer"
  14320. },
  14321. "currencyname": {
  14322. "description": "币种名称",
  14323. "type": "string"
  14324. },
  14325. "deliverygoodscode": {
  14326. "description": "现货品种代码",
  14327. "type": "string"
  14328. },
  14329. "deliverygoodsid": {
  14330. "description": "现货品种ID",
  14331. "type": "integer"
  14332. },
  14333. "deliverygoodsname": {
  14334. "description": "现货品种名称",
  14335. "type": "string"
  14336. },
  14337. "enumdicname": {
  14338. "description": "单位名称(现货商品)",
  14339. "type": "string"
  14340. },
  14341. "hedgeplanid": {
  14342. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14343. "type": "string"
  14344. },
  14345. "hedgeplanno": {
  14346. "description": "套保计划编号(名称)",
  14347. "type": "string"
  14348. },
  14349. "hedgeplanstatus": {
  14350. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14351. "type": "integer"
  14352. },
  14353. "planqty": {
  14354. "description": "计划数量",
  14355. "type": "number"
  14356. },
  14357. "plantime": {
  14358. "description": "计划时间",
  14359. "type": "string"
  14360. },
  14361. "producttype": {
  14362. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14363. "type": "integer"
  14364. },
  14365. "remark": {
  14366. "description": "备注",
  14367. "type": "string"
  14368. },
  14369. "spotgoodsdesc": {
  14370. "description": "商品型号",
  14371. "type": "string"
  14372. },
  14373. "taaccountname": {
  14374. "description": "资金账号名称",
  14375. "type": "string"
  14376. },
  14377. "tradeuserid": {
  14378. "description": "交易用户id",
  14379. "type": "integer"
  14380. },
  14381. "tradeusername": {
  14382. "description": "交易用户名称",
  14383. "type": "string"
  14384. },
  14385. "unitid": {
  14386. "description": "单位id(现货商品)",
  14387. "type": "integer"
  14388. },
  14389. "updatetime": {
  14390. "description": "更新时间",
  14391. "type": "string"
  14392. },
  14393. "wrstandardcode": {
  14394. "description": "品类代码",
  14395. "type": "string"
  14396. },
  14397. "wrstandardid": {
  14398. "description": "品类id",
  14399. "type": "integer"
  14400. },
  14401. "wrstandardname": {
  14402. "description": "品类名称",
  14403. "type": "string"
  14404. },
  14405. "wrunitid": {
  14406. "description": "品类单位id",
  14407. "type": "integer"
  14408. },
  14409. "wrunitidame": {
  14410. "description": "品类单位名称",
  14411. "type": "string"
  14412. }
  14413. }
  14414. },
  14415. "models.Ermcp3MiddleGoodsDetail2": {
  14416. "type": "object",
  14417. "properties": {
  14418. "convertratio": {
  14419. "description": "套保系数(折算系数)",
  14420. "type": "number"
  14421. },
  14422. "gplist": {
  14423. "description": "关联商品组列表",
  14424. "type": "array",
  14425. "items": {
  14426. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14427. }
  14428. },
  14429. "mg": {
  14430. "description": "套保商品信息",
  14431. "type": "object",
  14432. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14433. }
  14434. }
  14435. },
  14436. "models.Ermcp3MiddleGoodsDetailEx": {
  14437. "type": "object",
  14438. "properties": {
  14439. "dglist": {
  14440. "description": "关联的现货品种列表",
  14441. "type": "array",
  14442. "items": {
  14443. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14444. }
  14445. },
  14446. "gplist": {
  14447. "description": "关联商品组列表",
  14448. "type": "array",
  14449. "items": {
  14450. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14451. }
  14452. },
  14453. "mg": {
  14454. "description": "套保商品信息",
  14455. "type": "object",
  14456. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14457. }
  14458. }
  14459. },
  14460. "models.Ermcp3SellBuyContract": {
  14461. "type": "object",
  14462. "properties": {
  14463. "accountid": {
  14464. "description": "期货账户id",
  14465. "type": "string"
  14466. },
  14467. "accountname": {
  14468. "description": "账户名称",
  14469. "type": "string"
  14470. },
  14471. "attachment": {
  14472. "description": "附件",
  14473. "type": "string"
  14474. },
  14475. "audittime": {
  14476. "description": "审核时间",
  14477. "type": "string"
  14478. },
  14479. "biztype": {
  14480. "description": "业务类型 1-套保 2-套利",
  14481. "type": "integer"
  14482. },
  14483. "brandname": {
  14484. "description": "品牌名称",
  14485. "type": "string"
  14486. },
  14487. "contracctstatus": {
  14488. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14489. "type": "integer"
  14490. },
  14491. "contractmargin": {
  14492. "description": "合同保证金",
  14493. "type": "number"
  14494. },
  14495. "contractno": {
  14496. "description": "合同编号",
  14497. "type": "string"
  14498. },
  14499. "contracttype": {
  14500. "description": "合同类型 1-采购, -1-销售",
  14501. "type": "integer"
  14502. },
  14503. "convertfactor": {
  14504. "description": "标仓系数(品类)",
  14505. "type": "number"
  14506. },
  14507. "createtime": {
  14508. "description": "创建时间",
  14509. "type": "string"
  14510. },
  14511. "currencyid": {
  14512. "description": "币种id",
  14513. "type": "integer"
  14514. },
  14515. "currencyname": {
  14516. "description": "币种名称",
  14517. "type": "string"
  14518. },
  14519. "daikaiamount": {
  14520. "description": "应收(开)票额",
  14521. "type": "number"
  14522. },
  14523. "deliveryenddate": {
  14524. "description": "交割结束日",
  14525. "type": "string"
  14526. },
  14527. "deliverygoodscode": {
  14528. "description": "现货品种代码",
  14529. "type": "string"
  14530. },
  14531. "deliverygoodsid": {
  14532. "description": "现货商品ID",
  14533. "type": "integer"
  14534. },
  14535. "deliverygoodsname": {
  14536. "description": "现货品种名称",
  14537. "type": "string"
  14538. },
  14539. "deliverystartdate": {
  14540. "description": "交割开始日",
  14541. "type": "string"
  14542. },
  14543. "enddate": {
  14544. "description": "点价结束日",
  14545. "type": "string"
  14546. },
  14547. "enumdicname": {
  14548. "description": "单位名称",
  14549. "type": "string"
  14550. },
  14551. "goodscode": {
  14552. "description": "点价商品代码",
  14553. "type": "string"
  14554. },
  14555. "goodsid": {
  14556. "description": "点价商品ID",
  14557. "type": "integer"
  14558. },
  14559. "goodsname": {
  14560. "description": "点价商品名称",
  14561. "type": "string"
  14562. },
  14563. "invoiceamount": {
  14564. "description": "已开票额",
  14565. "type": "number"
  14566. },
  14567. "loanamount": {
  14568. "description": "贷款总额=已定价额+调整金额",
  14569. "type": "number"
  14570. },
  14571. "margin": {
  14572. "description": "保证金",
  14573. "type": "number"
  14574. },
  14575. "meruserid": {
  14576. "description": "跟单员id",
  14577. "type": "integer"
  14578. },
  14579. "meruserlogincode": {
  14580. "description": "跟单员登录代码",
  14581. "type": "string"
  14582. },
  14583. "nickname": {
  14584. "description": "账户昵称",
  14585. "type": "string"
  14586. },
  14587. "payamount": {
  14588. "description": "已收付额(收款或付款)",
  14589. "type": "number"
  14590. },
  14591. "preinvoiceamount": {
  14592. "description": "预收(开)票额",
  14593. "type": "number"
  14594. },
  14595. "prepayamount": {
  14596. "description": "预收付额",
  14597. "type": "number"
  14598. },
  14599. "price": {
  14600. "description": "价格",
  14601. "type": "number"
  14602. },
  14603. "pricedamount": {
  14604. "description": "已定价额",
  14605. "type": "number"
  14606. },
  14607. "pricedavg": {
  14608. "description": "已点均价",
  14609. "type": "number"
  14610. },
  14611. "pricedqty": {
  14612. "description": "已定价量",
  14613. "type": "number"
  14614. },
  14615. "pricemove": {
  14616. "description": "升贴水",
  14617. "type": "number"
  14618. },
  14619. "pricetype": {
  14620. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14621. "type": "integer"
  14622. },
  14623. "producttype": {
  14624. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14625. "type": "integer"
  14626. },
  14627. "qty": {
  14628. "description": "合同量",
  14629. "type": "number"
  14630. },
  14631. "reckonadjustamount": {
  14632. "description": "调整金额",
  14633. "type": "number"
  14634. },
  14635. "reckonedamount": {
  14636. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14637. "type": "number"
  14638. },
  14639. "reckonotheramount": {
  14640. "description": "其它费用",
  14641. "type": "number"
  14642. },
  14643. "reckonrealqty": {
  14644. "description": "已确定量",
  14645. "type": "number"
  14646. },
  14647. "remark": {
  14648. "description": "备注",
  14649. "type": "string"
  14650. },
  14651. "saleuserid": {
  14652. "description": "业务员id",
  14653. "type": "integer"
  14654. },
  14655. "saleuserlogincode": {
  14656. "description": "业务员登录代码",
  14657. "type": "string"
  14658. },
  14659. "spotcontractid": {
  14660. "description": "合同ID",
  14661. "type": "string"
  14662. },
  14663. "spotgoodsbrandid": {
  14664. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14665. "type": "integer"
  14666. },
  14667. "spotgoodsdesc": {
  14668. "description": "商品型号(商品规格)",
  14669. "type": "string"
  14670. },
  14671. "startdate": {
  14672. "description": "点价开始日",
  14673. "type": "string"
  14674. },
  14675. "totalamount": {
  14676. "description": "合计总额",
  14677. "type": "number"
  14678. },
  14679. "tradeuserid": {
  14680. "description": "交易员id",
  14681. "type": "integer"
  14682. },
  14683. "tradeuserlogincode": {
  14684. "description": "交易员登录代码",
  14685. "type": "string"
  14686. },
  14687. "tradeusername": {
  14688. "description": "交易员名称",
  14689. "type": "string"
  14690. },
  14691. "unpayamount": {
  14692. "description": "应收付款额(应支付或应收款)",
  14693. "type": "number"
  14694. },
  14695. "unpricedqty": {
  14696. "description": "未定价量",
  14697. "type": "number"
  14698. },
  14699. "unsureqty": {
  14700. "description": "未确定量",
  14701. "type": "number"
  14702. },
  14703. "userid": {
  14704. "description": "机构ID",
  14705. "type": "integer"
  14706. },
  14707. "wrstandardcode": {
  14708. "description": "品类代码",
  14709. "type": "string"
  14710. },
  14711. "wrstandardid": {
  14712. "description": "品类ID",
  14713. "type": "integer"
  14714. },
  14715. "wrstandardname": {
  14716. "description": "品类名称",
  14717. "type": "string"
  14718. }
  14719. }
  14720. },
  14721. "models.Ermcp3SpotGoodsPrice": {
  14722. "type": "object",
  14723. "properties": {
  14724. "areauserid": {
  14725. "description": "所属机构id",
  14726. "type": "integer"
  14727. },
  14728. "brandname": {
  14729. "description": "品牌名称",
  14730. "type": "string"
  14731. },
  14732. "currencyid": {
  14733. "description": "报价货币ID",
  14734. "type": "integer"
  14735. },
  14736. "currencyname": {
  14737. "description": "币种名称",
  14738. "type": "string"
  14739. },
  14740. "deliverygoodscode": {
  14741. "description": "现货商品代码",
  14742. "type": "string"
  14743. },
  14744. "deliverygoodsid": {
  14745. "description": "现货商品id",
  14746. "type": "integer"
  14747. },
  14748. "deliverygoodsname": {
  14749. "description": "现货商品名称",
  14750. "type": "string"
  14751. },
  14752. "enumdicname": {
  14753. "description": "现货商品单位名称",
  14754. "type": "string"
  14755. },
  14756. "gbenumdicname": {
  14757. "description": "品类单位名称",
  14758. "type": "string"
  14759. },
  14760. "gmunitid": {
  14761. "description": "品类单位id",
  14762. "type": "integer"
  14763. },
  14764. "isvalid": {
  14765. "description": "是否有效 - 0:无效 1:有效",
  14766. "type": "integer"
  14767. },
  14768. "operateid": {
  14769. "description": "最后操作人",
  14770. "type": "integer"
  14771. },
  14772. "operatesrc": {
  14773. "description": "最后操作来源 - 1:管理端 2:终端",
  14774. "type": "integer"
  14775. },
  14776. "operatetime": {
  14777. "description": "最后操作时间",
  14778. "type": "string"
  14779. },
  14780. "operatorname": {
  14781. "description": "操作人名称",
  14782. "type": "string"
  14783. },
  14784. "spotgoodsbrandid": {
  14785. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14786. "type": "integer"
  14787. },
  14788. "spotgoodsprice": {
  14789. "description": "现货价格",
  14790. "type": "number"
  14791. },
  14792. "tradedate": {
  14793. "description": "交易日(yyyyMMdd)",
  14794. "type": "string"
  14795. },
  14796. "unitid": {
  14797. "description": "现货商品单位id",
  14798. "type": "integer"
  14799. },
  14800. "wrstandardcode": {
  14801. "description": "品类代码",
  14802. "type": "string"
  14803. },
  14804. "wrstandardid": {
  14805. "description": "现货品类ID(通用则为0)",
  14806. "type": "integer"
  14807. },
  14808. "wrstandardname": {
  14809. "description": "品类名称",
  14810. "type": "string"
  14811. }
  14812. }
  14813. },
  14814. "models.Ermcp3SpotGoodsPriceLog": {
  14815. "type": "object",
  14816. "properties": {
  14817. "areauserid": {
  14818. "description": "所属机构id",
  14819. "type": "integer"
  14820. },
  14821. "brandname": {
  14822. "description": "品牌名称",
  14823. "type": "string"
  14824. },
  14825. "currencyid": {
  14826. "description": "报价货币ID",
  14827. "type": "integer"
  14828. },
  14829. "deliverygoodscode": {
  14830. "description": "现货商品代码",
  14831. "type": "string"
  14832. },
  14833. "deliverygoodsid": {
  14834. "description": "现货商品id",
  14835. "type": "integer"
  14836. },
  14837. "deliverygoodsname": {
  14838. "description": "现货商品名称",
  14839. "type": "string"
  14840. },
  14841. "enumdicname": {
  14842. "description": "现货商品单位名称",
  14843. "type": "string"
  14844. },
  14845. "gbenumdicname": {
  14846. "description": "品类单位名称",
  14847. "type": "string"
  14848. },
  14849. "gmunitid": {
  14850. "description": "品类单位id",
  14851. "type": "integer"
  14852. },
  14853. "logid": {
  14854. "description": "日志id",
  14855. "type": "integer"
  14856. },
  14857. "operateid": {
  14858. "description": "最后操作人",
  14859. "type": "integer"
  14860. },
  14861. "operatesrc": {
  14862. "description": "最后操作来源 - 1:管理端 2:终端",
  14863. "type": "integer"
  14864. },
  14865. "operatetime": {
  14866. "description": "最后操作时间",
  14867. "type": "string"
  14868. },
  14869. "operatorname": {
  14870. "description": "操作人名称",
  14871. "type": "string"
  14872. },
  14873. "spotgoodsbrandid": {
  14874. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14875. "type": "integer"
  14876. },
  14877. "spotgoodsprice": {
  14878. "description": "现货价格",
  14879. "type": "number"
  14880. },
  14881. "tradedate": {
  14882. "description": "交易日(yyyyMMdd)",
  14883. "type": "string"
  14884. },
  14885. "unitid": {
  14886. "description": "现货商品单位id",
  14887. "type": "integer"
  14888. },
  14889. "wrstandardcode": {
  14890. "description": "品类代码",
  14891. "type": "string"
  14892. },
  14893. "wrstandardid": {
  14894. "description": "现货品类ID(通用则为0)",
  14895. "type": "integer"
  14896. },
  14897. "wrstandardname": {
  14898. "description": "品类名称",
  14899. "type": "string"
  14900. }
  14901. }
  14902. },
  14903. "models.Ermcp3Wrstandard": {
  14904. "type": "object",
  14905. "properties": {
  14906. "areauserid": {
  14907. "description": "所属机构",
  14908. "type": "integer"
  14909. },
  14910. "convertfactor": {
  14911. "description": "标仓系数",
  14912. "type": "number"
  14913. },
  14914. "createtime": {
  14915. "description": "创建时间",
  14916. "type": "string"
  14917. },
  14918. "creatorid": {
  14919. "description": "创建人",
  14920. "type": "integer"
  14921. },
  14922. "deliverygoodsid": {
  14923. "description": "现货品种ID",
  14924. "type": "integer"
  14925. },
  14926. "enumdicname": {
  14927. "description": "品类单位名称",
  14928. "type": "string"
  14929. },
  14930. "isvalid": {
  14931. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14932. "type": "integer"
  14933. },
  14934. "minivalue": {
  14935. "description": "最小变动值",
  14936. "type": "integer"
  14937. },
  14938. "minivaluedp": {
  14939. "description": "最小变动值小数位",
  14940. "type": "integer"
  14941. },
  14942. "realminivalue": {
  14943. "description": "实际最小变动值",
  14944. "type": "integer"
  14945. },
  14946. "realminivaluedp": {
  14947. "description": "实际最小变动值小数位",
  14948. "type": "integer"
  14949. },
  14950. "remark": {
  14951. "description": "备注",
  14952. "type": "string"
  14953. },
  14954. "unitid": {
  14955. "description": "品类单位ID",
  14956. "type": "integer"
  14957. },
  14958. "updatetime": {
  14959. "description": "更新时间",
  14960. "type": "string"
  14961. },
  14962. "wrstandardcode": {
  14963. "description": "品类代码",
  14964. "type": "string"
  14965. },
  14966. "wrstandardid": {
  14967. "description": "品类ID(SEQ_WRSTANDARD)",
  14968. "type": "integer"
  14969. },
  14970. "wrstandardname": {
  14971. "description": "品类名称",
  14972. "type": "string"
  14973. }
  14974. }
  14975. },
  14976. "models.ErmcpAreaSpotDetailModel": {
  14977. "type": "object",
  14978. "properties": {
  14979. "contracttype": {
  14980. "description": "合同类型 1-采购 -1-销售",
  14981. "type": "integer"
  14982. },
  14983. "createtime": {
  14984. "description": "创建时间",
  14985. "type": "string"
  14986. },
  14987. "enumdicname": {
  14988. "description": "现货商品单位名称",
  14989. "type": "string"
  14990. },
  14991. "logtype": {
  14992. "description": "记录类型 1-套保 2-现货合同",
  14993. "type": "integer"
  14994. },
  14995. "qty": {
  14996. "description": "数量",
  14997. "type": "number"
  14998. },
  14999. "recordname": {
  15000. "description": "类型名称",
  15001. "type": "string"
  15002. },
  15003. "relatedid": {
  15004. "description": "套保计划ID/现货合同ID",
  15005. "type": "string"
  15006. },
  15007. "relatedno": {
  15008. "description": "编号",
  15009. "type": "string"
  15010. },
  15011. "strtime": {
  15012. "description": "时间",
  15013. "type": "string"
  15014. },
  15015. "wrstandardcode": {
  15016. "description": "现货商品代码",
  15017. "type": "string"
  15018. },
  15019. "wrstandardname": {
  15020. "description": "现货商品名称",
  15021. "type": "string"
  15022. }
  15023. }
  15024. },
  15025. "models.ErmcpAvalidGoodsGroupModel": {
  15026. "type": "object",
  15027. "properties": {
  15028. "goodsgroupid": {
  15029. "description": "期货品种id",
  15030. "type": "integer"
  15031. },
  15032. "goodsgroupname": {
  15033. "description": "期货品种名称",
  15034. "type": "string"
  15035. },
  15036. "goodunitid": {
  15037. "description": "品种单位id",
  15038. "type": "integer"
  15039. },
  15040. "goodunitname": {
  15041. "description": "品种单位名称",
  15042. "type": "string"
  15043. },
  15044. "outergroupcode": {
  15045. "description": "期货品种代码",
  15046. "type": "string"
  15047. }
  15048. }
  15049. },
  15050. "models.ErmcpBizGroupEx": {
  15051. "type": "object",
  15052. "properties": {
  15053. "acclist": {
  15054. "description": "账号列表",
  15055. "type": "array",
  15056. "items": {
  15057. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15058. }
  15059. },
  15060. "bizgroupid": {
  15061. "description": "业务分组id",
  15062. "type": "integer"
  15063. },
  15064. "biztype": {
  15065. "description": "业务类型 1-套保 2-套利",
  15066. "type": "integer"
  15067. },
  15068. "wrlist": {
  15069. "description": "现货商品表",
  15070. "type": "array",
  15071. "items": {
  15072. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15073. }
  15074. }
  15075. }
  15076. },
  15077. "models.ErmcpBizGroupSpotGoods": {
  15078. "type": "object",
  15079. "properties": {
  15080. "areauserid": {
  15081. "description": "所属机构id",
  15082. "type": "integer"
  15083. },
  15084. "bizgroupid": {
  15085. "description": "分组id",
  15086. "type": "integer"
  15087. },
  15088. "biztype": {
  15089. "description": "业务类型 1-套保 2-套利",
  15090. "type": "integer"
  15091. },
  15092. "deliverygoodscode": {
  15093. "description": "现货商品代码",
  15094. "type": "string"
  15095. },
  15096. "deliverygoodsid": {
  15097. "description": "现货商品id",
  15098. "type": "integer"
  15099. },
  15100. "deliverygoodsname": {
  15101. "description": "现货商品名称",
  15102. "type": "string"
  15103. },
  15104. "unitid": {
  15105. "description": "现货商品单位id",
  15106. "type": "integer"
  15107. }
  15108. }
  15109. },
  15110. "models.ErmcpBizGroupTaAccount": {
  15111. "type": "object",
  15112. "properties": {
  15113. "accountid": {
  15114. "description": "账号id",
  15115. "type": "integer"
  15116. },
  15117. "accountname": {
  15118. "description": "账号名称",
  15119. "type": "string"
  15120. },
  15121. "areauserid": {
  15122. "description": "所属机构id",
  15123. "type": "integer"
  15124. },
  15125. "bizgroupid": {
  15126. "description": "业务分组id",
  15127. "type": "integer"
  15128. },
  15129. "ismain": {
  15130. "description": "是否主账号 1-是 0-否",
  15131. "type": "integer"
  15132. }
  15133. }
  15134. },
  15135. "models.ErmcpDGFactoryItem": {
  15136. "type": "object",
  15137. "properties": {
  15138. "areauserid": {
  15139. "description": "用户id",
  15140. "type": "integer"
  15141. },
  15142. "deliverygoodsid": {
  15143. "description": "现货品种ID",
  15144. "type": "integer"
  15145. },
  15146. "dgfactoryitemid": {
  15147. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15148. "type": "integer"
  15149. },
  15150. "dgfactoryitemtypeid": {
  15151. "description": "要素项类型",
  15152. "type": "integer"
  15153. },
  15154. "dgfactoryitemvalue": {
  15155. "description": "要素项值(类型为仓库时填写仓库名称)",
  15156. "type": "string"
  15157. },
  15158. "isvalid": {
  15159. "description": "是否有效 - 0:无效 1:有效",
  15160. "type": "integer"
  15161. },
  15162. "orderindex": {
  15163. "description": "顺序",
  15164. "type": "integer"
  15165. },
  15166. "warehouseid": {
  15167. "description": "仓库ID(类型为仓库时填写)",
  15168. "type": "integer"
  15169. }
  15170. }
  15171. },
  15172. "models.ErmcpDeliveryGoods": {
  15173. "type": "object",
  15174. "properties": {
  15175. "agreeunit": {
  15176. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15177. "type": "integer"
  15178. },
  15179. "areauserid": {
  15180. "description": "所属机构",
  15181. "type": "integer"
  15182. },
  15183. "auditflag": {
  15184. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15185. "type": "integer"
  15186. },
  15187. "categoryid": {
  15188. "description": "类别ID(SEQ_WRCATEGORY)",
  15189. "type": "integer"
  15190. },
  15191. "deliverygoodscode": {
  15192. "description": "现货品种代码",
  15193. "type": "string"
  15194. },
  15195. "deliverygoodsid": {
  15196. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15197. "type": "integer"
  15198. },
  15199. "deliverygoodsname": {
  15200. "description": "现货品种名称",
  15201. "type": "string"
  15202. },
  15203. "deliverygoodstype": {
  15204. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15205. "type": "integer"
  15206. },
  15207. "dgstatus": {
  15208. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15209. "type": "integer"
  15210. },
  15211. "enumdicname": {
  15212. "description": "现货品种单位名称",
  15213. "type": "string"
  15214. },
  15215. "goodsunitid": {
  15216. "description": "现货品种单位ID",
  15217. "type": "integer"
  15218. },
  15219. "isvalid": {
  15220. "description": "是否有效 - 0:无效 1:有效",
  15221. "type": "integer"
  15222. },
  15223. "qtydecimalplace": {
  15224. "description": "成交量小数位",
  15225. "type": "integer"
  15226. },
  15227. "remark": {
  15228. "description": "备注",
  15229. "type": "string"
  15230. },
  15231. "standardqty": {
  15232. "description": "标准数量(库位数量) [标准品特有]",
  15233. "type": "integer"
  15234. },
  15235. "standardqtyrange": {
  15236. "description": "标准数量偏差范围 [标准品特有]",
  15237. "type": "integer"
  15238. }
  15239. }
  15240. },
  15241. "models.ErmcpDeliveryGoodsDetail2": {
  15242. "type": "object",
  15243. "properties": {
  15244. "convertratio": {
  15245. "description": "套保系数(折算系数)",
  15246. "type": "number"
  15247. },
  15248. "data": {
  15249. "description": "现货商品基本信息(交割品种)",
  15250. "type": "object",
  15251. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15252. },
  15253. "gblist": {
  15254. "description": "品牌列表",
  15255. "type": "array",
  15256. "items": {
  15257. "$ref": "#/definitions/models.Ermcp3Brand"
  15258. }
  15259. },
  15260. "gmlist": {
  15261. "description": "品类列表(仓单标准)",
  15262. "type": "array",
  15263. "items": {
  15264. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15265. }
  15266. }
  15267. }
  15268. },
  15269. "models.ErmcpDeliveryGoodsDetailEx": {
  15270. "type": "object",
  15271. "properties": {
  15272. "data": {
  15273. "description": "现货商品基本信息(交割品种)",
  15274. "type": "object",
  15275. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15276. },
  15277. "gblist": {
  15278. "description": "品牌列表",
  15279. "type": "array",
  15280. "items": {
  15281. "$ref": "#/definitions/models.Ermcp3Brand"
  15282. }
  15283. },
  15284. "gmlist": {
  15285. "description": "品类列表(仓单标准)",
  15286. "type": "array",
  15287. "items": {
  15288. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15289. }
  15290. },
  15291. "mgList": {
  15292. "description": "套保列表",
  15293. "type": "array",
  15294. "items": {
  15295. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15296. }
  15297. }
  15298. }
  15299. },
  15300. "models.ErmcpExposureDetailModel": {
  15301. "type": "object",
  15302. "properties": {
  15303. "areauserid": {
  15304. "description": "机构ID",
  15305. "type": "integer"
  15306. },
  15307. "changeQty": {
  15308. "description": "套保变动量",
  15309. "type": "number"
  15310. },
  15311. "contracttype": {
  15312. "description": "现货合同类型 - 1:采购 -1:销售",
  15313. "type": "integer"
  15314. },
  15315. "convertfactor": {
  15316. "description": "标仓系数",
  15317. "type": "number"
  15318. },
  15319. "convertratio": {
  15320. "description": "套保系数",
  15321. "type": "number"
  15322. },
  15323. "createtime": {
  15324. "description": "时间",
  15325. "type": "string"
  15326. },
  15327. "enumdicname": {
  15328. "description": "现货商品单位名称",
  15329. "type": "string"
  15330. },
  15331. "logtype": {
  15332. "description": "类型 - 1:套保计划 2:现货合同",
  15333. "type": "integer"
  15334. },
  15335. "middlegoodsId": {
  15336. "description": "套保商品id",
  15337. "type": "integer"
  15338. },
  15339. "middlegoodscode": {
  15340. "description": "套保商品代码",
  15341. "type": "string"
  15342. },
  15343. "middlegoodsname": {
  15344. "description": "套保商品名称",
  15345. "type": "string"
  15346. },
  15347. "qty": {
  15348. "description": "数量",
  15349. "type": "number"
  15350. },
  15351. "relateNo": {
  15352. "description": "现货合同/套保计划编号",
  15353. "type": "string"
  15354. },
  15355. "wrstandardcode": {
  15356. "description": "现货商品代码",
  15357. "type": "string"
  15358. },
  15359. "wrstandardid": {
  15360. "description": "现货商品ID",
  15361. "type": "integer"
  15362. },
  15363. "wrstandardname": {
  15364. "description": "现货商品名称",
  15365. "type": "string"
  15366. }
  15367. }
  15368. },
  15369. "models.ErmcpExposurePostion": {
  15370. "type": "object",
  15371. "properties": {
  15372. "agreeunit": {
  15373. "description": "合约单位",
  15374. "type": "string"
  15375. },
  15376. "areauserid": {
  15377. "description": "所属机构id",
  15378. "type": "integer"
  15379. },
  15380. "convertratio": {
  15381. "description": "期货品种系数(折算系数)",
  15382. "type": "number"
  15383. },
  15384. "curqty": {
  15385. "description": "当前持仓",
  15386. "type": "integer"
  15387. },
  15388. "diffhedgeqty": {
  15389. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15390. "type": "number"
  15391. },
  15392. "diffqty": {
  15393. "description": "持仓变动量=当前持仓-昨日持仓",
  15394. "type": "integer"
  15395. },
  15396. "goodscode": {
  15397. "description": "商品代码",
  15398. "type": "string"
  15399. },
  15400. "goodsid": {
  15401. "description": "商品id",
  15402. "type": "integer"
  15403. },
  15404. "goodsname": {
  15405. "description": "商品名称",
  15406. "type": "string"
  15407. },
  15408. "middlegoodsid": {
  15409. "description": "套保商品id",
  15410. "type": "integer"
  15411. },
  15412. "ydqty": {
  15413. "description": "昨日持仓",
  15414. "type": "integer"
  15415. }
  15416. }
  15417. },
  15418. "models.ErmcpFuturesCompany": {
  15419. "type": "object",
  15420. "properties": {
  15421. "brokerid": {
  15422. "description": "经纪公司代码",
  15423. "type": "string"
  15424. },
  15425. "channeladdress": {
  15426. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15427. "type": "string"
  15428. },
  15429. "channelid": {
  15430. "description": "对冲渠道ID",
  15431. "type": "string"
  15432. },
  15433. "createtime": {
  15434. "description": "创建时间",
  15435. "type": "string"
  15436. },
  15437. "creatorid": {
  15438. "description": "创建人",
  15439. "type": "string"
  15440. },
  15441. "fcid": {
  15442. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15443. "type": "integer"
  15444. },
  15445. "fcname": {
  15446. "description": "期货公司名称",
  15447. "type": "string"
  15448. },
  15449. "isvalid": {
  15450. "description": "是否有效 - 0:无效 1:有效",
  15451. "type": "integer"
  15452. },
  15453. "mhpaddress": {
  15454. "description": "MHP服务地址(IP:Port)",
  15455. "type": "string"
  15456. },
  15457. "riskrulegroupid": {
  15458. "description": "风控规则组ID",
  15459. "type": "string"
  15460. },
  15461. "tradefeetmpid": {
  15462. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15463. "type": "string"
  15464. },
  15465. "trademargintmpid": {
  15466. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15467. "type": "string"
  15468. },
  15469. "traderatetmpid": {
  15470. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15471. "type": "string"
  15472. },
  15473. "updatetime": {
  15474. "description": "更新时间",
  15475. "type": "string"
  15476. },
  15477. "updatorid": {
  15478. "description": "更新人",
  15479. "type": "string"
  15480. }
  15481. }
  15482. },
  15483. "models.ErmcpGGConvertCfg": {
  15484. "type": "object",
  15485. "properties": {
  15486. "convertratio": {
  15487. "description": "折算系数",
  15488. "type": "number"
  15489. },
  15490. "destgoodsgroupid": {
  15491. "description": "目标品种ID",
  15492. "type": "integer"
  15493. },
  15494. "dstcode": {
  15495. "description": "目录品种代码",
  15496. "type": "string"
  15497. },
  15498. "dstexchangecode": {
  15499. "description": "目标期货交易所",
  15500. "type": "string"
  15501. },
  15502. "dstname": {
  15503. "description": "目标品种名称",
  15504. "type": "string"
  15505. },
  15506. "dstunitid": {
  15507. "description": "目标品种单位ID",
  15508. "type": "integer"
  15509. },
  15510. "dstunitidname": {
  15511. "description": "目标品种单位名称",
  15512. "type": "string"
  15513. },
  15514. "modifytime": {
  15515. "description": "修改时间",
  15516. "type": "string"
  15517. },
  15518. "srccode": {
  15519. "description": "源品种代码",
  15520. "type": "string"
  15521. },
  15522. "srcexchangecode": {
  15523. "description": "源期货交易所",
  15524. "type": "string"
  15525. },
  15526. "srcgoodsgroupid": {
  15527. "description": "源品种ID",
  15528. "type": "integer"
  15529. },
  15530. "srcname": {
  15531. "description": "源品种名称",
  15532. "type": "string"
  15533. },
  15534. "srcunitid": {
  15535. "description": "源品种单位ID",
  15536. "type": "integer"
  15537. },
  15538. "srcunitidname": {
  15539. "description": "源品种单位名称",
  15540. "type": "string"
  15541. }
  15542. }
  15543. },
  15544. "models.ErmcpGoodsBrand": {
  15545. "type": "object",
  15546. "properties": {
  15547. "areauserid": {
  15548. "description": "所属机构",
  15549. "type": "integer"
  15550. },
  15551. "brandid": {
  15552. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15553. "type": "integer"
  15554. },
  15555. "brandname": {
  15556. "description": "品牌名称",
  15557. "type": "string"
  15558. },
  15559. "createtime": {
  15560. "description": "创建时间",
  15561. "type": "string"
  15562. },
  15563. "creatorid": {
  15564. "description": "创建人",
  15565. "type": "integer"
  15566. },
  15567. "creatorsrc": {
  15568. "description": "创建人来源 - 1:管理端 2:终端",
  15569. "type": "integer"
  15570. },
  15571. "deliverygoodsid": {
  15572. "description": "现货品种ID",
  15573. "type": "integer"
  15574. },
  15575. "isvalid": {
  15576. "description": "是否有效 - 0:无效 1:有效",
  15577. "type": "integer"
  15578. },
  15579. "updatetime": {
  15580. "description": "更新时间",
  15581. "type": "string"
  15582. },
  15583. "updatorid": {
  15584. "description": "更新人",
  15585. "type": "integer"
  15586. },
  15587. "updatorsrc": {
  15588. "description": "更新人来源 - 1:管理端 2:终端",
  15589. "type": "integer"
  15590. },
  15591. "wrstandardid": {
  15592. "description": "现货商品ID",
  15593. "type": "integer"
  15594. }
  15595. }
  15596. },
  15597. "models.ErmcpGoodsModel": {
  15598. "type": "object",
  15599. "properties": {
  15600. "areauserid": {
  15601. "description": "所属机构",
  15602. "type": "integer"
  15603. },
  15604. "convertfactor": {
  15605. "description": "标仓系数",
  15606. "type": "number"
  15607. },
  15608. "createtime": {
  15609. "description": "创建时间",
  15610. "type": "string"
  15611. },
  15612. "creatorid": {
  15613. "description": "创建人",
  15614. "type": "integer"
  15615. },
  15616. "creatorsrc": {
  15617. "description": "创建人来源 - 1:管理端 2:终端",
  15618. "type": "integer"
  15619. },
  15620. "deliverygoodsid": {
  15621. "description": "现货品种ID",
  15622. "type": "integer"
  15623. },
  15624. "isvalid": {
  15625. "description": "是否有效 - 0:无效 1:有效",
  15626. "type": "integer"
  15627. },
  15628. "modelid": {
  15629. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15630. "type": "integer"
  15631. },
  15632. "modelname": {
  15633. "description": "型号名称",
  15634. "type": "string"
  15635. },
  15636. "updatetime": {
  15637. "description": "更新时间",
  15638. "type": "string"
  15639. },
  15640. "updatorid": {
  15641. "description": "更新人",
  15642. "type": "integer"
  15643. },
  15644. "updatorsrc": {
  15645. "description": "更新人来源 - 1:管理端 2:终端",
  15646. "type": "integer"
  15647. },
  15648. "wrstandardid": {
  15649. "description": "现货商品ID",
  15650. "type": "integer"
  15651. }
  15652. }
  15653. },
  15654. "models.ErmcpHedgePosition": {
  15655. "type": "object",
  15656. "properties": {
  15657. "accountid": {
  15658. "description": "资金账号[外部母账户]",
  15659. "type": "integer"
  15660. },
  15661. "curbuyposition": {
  15662. "description": "期末买头寸",
  15663. "type": "integer"
  15664. },
  15665. "cursellposition": {
  15666. "description": "期末卖头寸",
  15667. "type": "integer"
  15668. },
  15669. "curtdbuyposition": {
  15670. "description": "期末今日买头寸",
  15671. "type": "integer"
  15672. },
  15673. "curtdsellposition": {
  15674. "description": "期末今日卖头寸",
  15675. "type": "integer"
  15676. },
  15677. "curydbuyposition": {
  15678. "description": "期末上日买头寸",
  15679. "type": "integer"
  15680. },
  15681. "curydsellposition": {
  15682. "description": "期末上日卖头寸",
  15683. "type": "integer"
  15684. },
  15685. "decreaseqty": {
  15686. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15687. "type": "integer"
  15688. },
  15689. "fretdbuyposition": {
  15690. "description": "冻结今日买头寸",
  15691. "type": "integer"
  15692. },
  15693. "fretdsellposition": {
  15694. "description": "冻结今日卖头寸",
  15695. "type": "integer"
  15696. },
  15697. "freydbuyposition": {
  15698. "description": "冻结上日买头寸",
  15699. "type": "integer"
  15700. },
  15701. "freydsellposition": {
  15702. "description": "冻结上日卖头寸",
  15703. "type": "integer"
  15704. },
  15705. "goodscode": {
  15706. "description": "商品代码",
  15707. "type": "string"
  15708. },
  15709. "goodsid": {
  15710. "description": "商品id",
  15711. "type": "integer"
  15712. },
  15713. "goodsname": {
  15714. "description": "商品名称",
  15715. "type": "string"
  15716. },
  15717. "hedgeaccountcode": {
  15718. "description": "对冲账号",
  15719. "type": "string"
  15720. },
  15721. "hedgegoodsid": {
  15722. "description": "对冲合约ID",
  15723. "type": "integer"
  15724. },
  15725. "increaseqty": {
  15726. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15727. "type": "integer"
  15728. },
  15729. "marketid": {
  15730. "description": "市场ID",
  15731. "type": "integer"
  15732. },
  15733. "relateduserid": {
  15734. "description": "关联用户id",
  15735. "type": "integer"
  15736. },
  15737. "totalcurqty": {
  15738. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15739. "type": "integer"
  15740. },
  15741. "totalydqty": {
  15742. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15743. "type": "integer"
  15744. },
  15745. "tradedate": {
  15746. "description": "交易日(yyyyMMdd)",
  15747. "type": "string"
  15748. },
  15749. "ydbuyposition": {
  15750. "description": "期初买头寸",
  15751. "type": "integer"
  15752. },
  15753. "ydsellposition": {
  15754. "description": "期初卖头寸",
  15755. "type": "integer"
  15756. }
  15757. }
  15758. },
  15759. "models.ErmcpHedgePositionDetail": {
  15760. "type": "object",
  15761. "properties": {
  15762. "buyorsell": {
  15763. "description": "买卖方向 0-买 1-卖",
  15764. "type": "integer"
  15765. },
  15766. "channelbuildtype": {
  15767. "description": "开平方向 1-建仓 2-平仓",
  15768. "type": "integer"
  15769. },
  15770. "goodscode": {
  15771. "description": "商品代码",
  15772. "type": "string"
  15773. },
  15774. "goodsname": {
  15775. "description": "商品名称",
  15776. "type": "string"
  15777. },
  15778. "hedgegoodsid": {
  15779. "description": "商品id",
  15780. "type": "integer"
  15781. },
  15782. "tradeqty": {
  15783. "description": "数量(成交数量)",
  15784. "type": "integer"
  15785. },
  15786. "tradetime": {
  15787. "description": "时间(成交时间)",
  15788. "type": "string"
  15789. }
  15790. }
  15791. },
  15792. "models.ErmcpHisExposure": {
  15793. "type": "object",
  15794. "properties": {
  15795. "needhedgeexposoure": {
  15796. "description": "应套保敞口",
  15797. "type": "number"
  15798. },
  15799. "reckondate": {
  15800. "description": "日照时期(yyyyMMdd)",
  15801. "type": "string"
  15802. },
  15803. "totalexposure": {
  15804. "description": "总敞口",
  15805. "type": "number"
  15806. }
  15807. }
  15808. },
  15809. "models.ErmcpHisExposureS": {
  15810. "type": "object",
  15811. "properties": {
  15812. "data": {
  15813. "description": "历史敞口",
  15814. "type": "array",
  15815. "items": {
  15816. "$ref": "#/definitions/models.ErmcpHisExposure"
  15817. }
  15818. },
  15819. "enumdicname": {
  15820. "description": "单位名称",
  15821. "type": "string"
  15822. },
  15823. "middlegoodscode": {
  15824. "description": "套保品种代码",
  15825. "type": "string"
  15826. },
  15827. "middlegoodsid": {
  15828. "description": "套保品种ID",
  15829. "type": "integer"
  15830. },
  15831. "middlegoodsname": {
  15832. "description": "套保品种名称",
  15833. "type": "string"
  15834. }
  15835. }
  15836. },
  15837. "models.ErmcpLoginTaAccount": {
  15838. "type": "object",
  15839. "properties": {
  15840. "accountid": {
  15841. "description": "账号id",
  15842. "type": "integer"
  15843. },
  15844. "accountname": {
  15845. "description": "账号名称",
  15846. "type": "string"
  15847. }
  15848. }
  15849. },
  15850. "models.ErmcpLoginUser": {
  15851. "type": "object",
  15852. "properties": {
  15853. "acclist": {
  15854. "description": "关联资金账号",
  15855. "type": "array",
  15856. "items": {
  15857. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  15858. }
  15859. },
  15860. "accountname": {
  15861. "description": "用户名称",
  15862. "type": "string"
  15863. },
  15864. "clientroleid": {
  15865. "description": "角色id(usertype=2)",
  15866. "type": "integer"
  15867. },
  15868. "createtime": {
  15869. "description": "创建时间",
  15870. "type": "string"
  15871. },
  15872. "logincode": {
  15873. "description": "登录代码",
  15874. "type": "string"
  15875. },
  15876. "loginid": {
  15877. "description": "登录id(LOGINID)",
  15878. "type": "integer"
  15879. },
  15880. "loginname": {
  15881. "description": "登录名称(loginaccount表中的accountname字段)",
  15882. "type": "string"
  15883. },
  15884. "loginstatus": {
  15885. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15886. "type": "integer"
  15887. },
  15888. "memberuserid": {
  15889. "description": "所属会员id",
  15890. "type": "integer"
  15891. },
  15892. "mobile": {
  15893. "description": "手机号",
  15894. "type": "string"
  15895. },
  15896. "modifytime": {
  15897. "description": "修改时间",
  15898. "type": "string"
  15899. },
  15900. "password": {
  15901. "description": "密码(不可解密)",
  15902. "type": "string"
  15903. },
  15904. "rolename": {
  15905. "description": "角色名称",
  15906. "type": "string"
  15907. },
  15908. "rolestatus": {
  15909. "description": "角色状态 1-启用 2-停用",
  15910. "type": "integer"
  15911. },
  15912. "roletype": {
  15913. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  15914. "type": "string"
  15915. },
  15916. "userid": {
  15917. "description": "用户id",
  15918. "type": "integer"
  15919. },
  15920. "usertype": {
  15921. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15922. "type": "integer"
  15923. }
  15924. }
  15925. },
  15926. "models.ErmcpLoginUserEx": {
  15927. "type": "object",
  15928. "properties": {
  15929. "accountstatus": {
  15930. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15931. "type": "integer"
  15932. },
  15933. "mobile": {
  15934. "description": "手机号",
  15935. "type": "string"
  15936. },
  15937. "querytype": {
  15938. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  15939. "type": "integer"
  15940. },
  15941. "roleid": {
  15942. "description": "角色id(交易账户-\u003e用户id)",
  15943. "type": "integer"
  15944. },
  15945. "rolename": {
  15946. "description": "角色名称(交易账户-\u003e用户名称)",
  15947. "type": "string"
  15948. },
  15949. "userlist": {
  15950. "description": "用户列表",
  15951. "type": "array",
  15952. "items": {
  15953. "$ref": "#/definitions/models.ErmcpLoginUser"
  15954. }
  15955. },
  15956. "usertype": {
  15957. "description": "用户类型 2-机构 7-企业成员(云平台)",
  15958. "type": "integer"
  15959. }
  15960. }
  15961. },
  15962. "models.ErmcpMiddleGoodsChangeLog": {
  15963. "type": "object",
  15964. "properties": {
  15965. "aftervalue": {
  15966. "description": "变更后",
  15967. "type": "number"
  15968. },
  15969. "applyid": {
  15970. "description": "操作人",
  15971. "type": "integer"
  15972. },
  15973. "applyname": {
  15974. "description": "操作人名称",
  15975. "type": "string"
  15976. },
  15977. "applysrc": {
  15978. "description": "操作来源 - 1:管理端 2:终端",
  15979. "type": "integer"
  15980. },
  15981. "beforevalue": {
  15982. "description": "变更前",
  15983. "type": "number"
  15984. },
  15985. "changelogtype": {
  15986. "description": "变更流水类型 - 1:套保比率变更",
  15987. "type": "integer"
  15988. },
  15989. "handlestatus": {
  15990. "description": "处理状态",
  15991. "type": "integer"
  15992. },
  15993. "logdatetime": {
  15994. "description": "流水日期",
  15995. "type": "string"
  15996. },
  15997. "logid": {
  15998. "description": "流水ID",
  15999. "type": "integer"
  16000. },
  16001. "logremark": {
  16002. "description": "流水备注",
  16003. "type": "string"
  16004. },
  16005. "middlegoodsid": {
  16006. "description": "套保品种ID",
  16007. "type": "integer"
  16008. },
  16009. "tradedate": {
  16010. "description": "交易日(yyyyMMdd)",
  16011. "type": "string"
  16012. },
  16013. "updatetime": {
  16014. "description": "更新时间",
  16015. "type": "string"
  16016. }
  16017. }
  16018. },
  16019. "models.ErmcpMiddleGoodsDetail": {
  16020. "type": "object",
  16021. "properties": {
  16022. "cvList": {
  16023. "description": "期货品种折算列表",
  16024. "type": "array",
  16025. "items": {
  16026. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16027. }
  16028. },
  16029. "mg": {
  16030. "description": "套保品种基本信息",
  16031. "type": "object",
  16032. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16033. },
  16034. "wrcList": {
  16035. "description": "现货品种列表(现货商品折算配置)",
  16036. "type": "array",
  16037. "items": {
  16038. "$ref": "#/definitions/models.WRSConverTDetail"
  16039. }
  16040. }
  16041. }
  16042. },
  16043. "models.ErmcpMiddleGoodsModel": {
  16044. "type": "object",
  16045. "properties": {
  16046. "areauserid": {
  16047. "description": "机构用户ID",
  16048. "type": "integer"
  16049. },
  16050. "createtime": {
  16051. "description": "修改时间",
  16052. "type": "string"
  16053. },
  16054. "enumdicname": {
  16055. "description": "单位名称",
  16056. "type": "string"
  16057. },
  16058. "evaluateratio": {
  16059. "description": "估价系数",
  16060. "type": "number"
  16061. },
  16062. "goodsgroupid": {
  16063. "description": "关联期货品种ID",
  16064. "type": "integer"
  16065. },
  16066. "goodsunitid": {
  16067. "description": "单位ID",
  16068. "type": "integer"
  16069. },
  16070. "isvalid": {
  16071. "description": "状态 0-无效(停用) 1-有效(正常)",
  16072. "type": "integer"
  16073. },
  16074. "middlegoodscode": {
  16075. "description": "套保品种代码",
  16076. "type": "string"
  16077. },
  16078. "middlegoodsid": {
  16079. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16080. "type": "integer"
  16081. },
  16082. "middlegoodsname": {
  16083. "description": "套保品种名称",
  16084. "type": "string"
  16085. },
  16086. "modifytime": {
  16087. "description": "修改时间",
  16088. "type": "string"
  16089. },
  16090. "needarbitrageratio": {
  16091. "description": "套利比例",
  16092. "type": "number"
  16093. },
  16094. "needhedgeratio": {
  16095. "description": "套保比率",
  16096. "type": "number"
  16097. },
  16098. "qtydecimalplace": {
  16099. "description": "数量小数位",
  16100. "type": "integer"
  16101. },
  16102. "relatedgoodsid": {
  16103. "description": "关联交易商品ID",
  16104. "type": "integer"
  16105. },
  16106. "relatedgoodstype": {
  16107. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16108. "type": "integer"
  16109. },
  16110. "remark": {
  16111. "description": "备注",
  16112. "type": "string"
  16113. }
  16114. }
  16115. },
  16116. "models.ErmcpOPLogModel": {
  16117. "type": "object",
  16118. "properties": {
  16119. "aftervalue": {
  16120. "description": "变更后",
  16121. "type": "number"
  16122. },
  16123. "applyid": {
  16124. "description": "操作人ID",
  16125. "type": "string"
  16126. },
  16127. "applyname": {
  16128. "description": "操作人名称",
  16129. "type": "string"
  16130. },
  16131. "beforevalue": {
  16132. "description": "变更前",
  16133. "type": "number"
  16134. },
  16135. "biztype": {
  16136. "description": "业务类型 - 1:套保计划 2:现货合同",
  16137. "type": "integer"
  16138. },
  16139. "contracttype": {
  16140. "description": "现货合同类型 - 1:采购 -1:销售",
  16141. "type": "integer"
  16142. },
  16143. "logvalue": {
  16144. "description": "数值",
  16145. "type": "number"
  16146. },
  16147. "operatelogtype": {
  16148. "description": "操作流水类型",
  16149. "type": "integer"
  16150. },
  16151. "operatelogtypedesc": {
  16152. "description": "操作流水类型名称",
  16153. "type": "string"
  16154. },
  16155. "relatedid": {
  16156. "description": "现货合同ID\\套保计划",
  16157. "type": "string"
  16158. },
  16159. "updatetime": {
  16160. "description": "更新时间",
  16161. "type": "string"
  16162. }
  16163. }
  16164. },
  16165. "models.ErmcpPendingAudit": {
  16166. "type": "object",
  16167. "properties": {
  16168. "areastockqty": {
  16169. "description": "待审核数量: 库存申请",
  16170. "type": "integer"
  16171. },
  16172. "businessdjqty": {
  16173. "description": "待审核数量: 点价",
  16174. "type": "integer"
  16175. },
  16176. "businessfpqty": {
  16177. "description": "待审核数量: 发票",
  16178. "type": "integer"
  16179. },
  16180. "businessjsqty": {
  16181. "description": "待审核数量: 结算",
  16182. "type": "integer"
  16183. },
  16184. "businesskxqty": {
  16185. "description": "待审核数量: 款项",
  16186. "type": "integer"
  16187. },
  16188. "hedgeplanqty": {
  16189. "description": "待审核数量: 套保计划",
  16190. "type": "integer"
  16191. },
  16192. "spotcontractqty": {
  16193. "description": "待审核数量: 现货合同",
  16194. "type": "integer"
  16195. },
  16196. "userqty": {
  16197. "description": "待审核数量: 用户",
  16198. "type": "integer"
  16199. }
  16200. }
  16201. },
  16202. "models.ErmcpRealExposureModel": {
  16203. "type": "object",
  16204. "properties": {
  16205. "AreaUserID": {
  16206. "description": "所属机构",
  16207. "type": "integer"
  16208. },
  16209. "BuyFutureQty": {
  16210. "description": "买入期货数量",
  16211. "type": "number"
  16212. },
  16213. "BuyPlanQty": {
  16214. "description": "采购计划数量",
  16215. "type": "number"
  16216. },
  16217. "BuyPricedQty": {
  16218. "description": "采购合同已定价数量",
  16219. "type": "number"
  16220. },
  16221. "MiddleGoodsCode": {
  16222. "description": "套保品种代码",
  16223. "type": "string"
  16224. },
  16225. "MiddleGoodsHedgeRatio": {
  16226. "description": "套保比例",
  16227. "type": "number"
  16228. },
  16229. "MiddleGoodsID": {
  16230. "description": "套保品种",
  16231. "type": "integer"
  16232. },
  16233. "MiddleGoodsName": {
  16234. "description": "套保品种名称",
  16235. "type": "string"
  16236. },
  16237. "NeedHedgeExposoure": {
  16238. "description": "应套保敞口(套保敞口)",
  16239. "type": "number"
  16240. },
  16241. "NeedHedgeRatio": {
  16242. "description": "应套保敞口比例",
  16243. "type": "number"
  16244. },
  16245. "OriBuyFutureQty": {
  16246. "description": "期初买入期货数量",
  16247. "type": "number"
  16248. },
  16249. "OriBuyPlanQty": {
  16250. "description": "期初采购计划数量",
  16251. "type": "number"
  16252. },
  16253. "OriBuyPricedQty": {
  16254. "description": "期初采购合同已定价数量",
  16255. "type": "number"
  16256. },
  16257. "OriSellFutureQty": {
  16258. "description": "期初卖出期货数量",
  16259. "type": "number"
  16260. },
  16261. "OriSellPlanQty": {
  16262. "description": "期初销售计划数量",
  16263. "type": "number"
  16264. },
  16265. "OriSellPricedQty": {
  16266. "description": "期初销售合同已定价数量",
  16267. "type": "number"
  16268. },
  16269. "SellFutureQty": {
  16270. "description": "卖出期货数量",
  16271. "type": "number"
  16272. },
  16273. "SellPlanQty": {
  16274. "description": "销售计划数量",
  16275. "type": "number"
  16276. },
  16277. "SellPricedQty": {
  16278. "description": "销售合同已定价数量",
  16279. "type": "number"
  16280. },
  16281. "TotalExposure": {
  16282. "description": "总敞口",
  16283. "type": "number"
  16284. },
  16285. "TotalFutureQty": {
  16286. "description": "期货总量",
  16287. "type": "number"
  16288. },
  16289. "TotalHedgeRatio": {
  16290. "description": "敞口比例",
  16291. "type": "number"
  16292. },
  16293. "TotalNeedHedgeQty": {
  16294. "description": "应套保总量(现货应套保总量)",
  16295. "type": "number"
  16296. },
  16297. "TotalSpotQty": {
  16298. "description": "现货总量",
  16299. "type": "number"
  16300. },
  16301. "arbitrageqty": {
  16302. "description": "套利量",
  16303. "type": "number"
  16304. },
  16305. "diffArbitrageQty": {
  16306. "description": "套利变动量",
  16307. "type": "number"
  16308. },
  16309. "diffExposoureQty": {
  16310. "description": "变动量(套保敞口)",
  16311. "type": "number"
  16312. },
  16313. "diffFutuQty": {
  16314. "description": "变动量(期货总量)",
  16315. "type": "number"
  16316. },
  16317. "diffHedgeQty": {
  16318. "description": "套保变动量",
  16319. "type": "number"
  16320. },
  16321. "diffQty": {
  16322. "description": "变动量(总敞口)",
  16323. "type": "number"
  16324. },
  16325. "diffSpotHedgeQty": {
  16326. "description": "变动量(现货应套保总量)",
  16327. "type": "number"
  16328. },
  16329. "diffSpotQty": {
  16330. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16331. "type": "number"
  16332. },
  16333. "enumdicname": {
  16334. "description": "单位名称",
  16335. "type": "string"
  16336. },
  16337. "hedgeqty": {
  16338. "description": "套保量",
  16339. "type": "number"
  16340. },
  16341. "needarbitrageqty": {
  16342. "description": "应套利量",
  16343. "type": "number"
  16344. },
  16345. "needarbitrageratio": {
  16346. "description": "套利比例",
  16347. "type": "number"
  16348. },
  16349. "needhedgeqty": {
  16350. "description": "应套保量",
  16351. "type": "number"
  16352. },
  16353. "oriTotalFutuQty": {
  16354. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16355. "type": "number"
  16356. },
  16357. "oriTotalSpotQty": {
  16358. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16359. "type": "number"
  16360. },
  16361. "oriarbitrageqty": {
  16362. "description": "期初套利量",
  16363. "type": "number"
  16364. },
  16365. "orihedgeqty": {
  16366. "description": "期初套保量",
  16367. "type": "number"
  16368. },
  16369. "orineedhedgeexposoure": {
  16370. "description": "期初套保敞口",
  16371. "type": "number"
  16372. },
  16373. "oritotalexposure": {
  16374. "description": "期初总敞口",
  16375. "type": "number"
  16376. },
  16377. "oritotalfutureqty": {
  16378. "description": "期初期货总量",
  16379. "type": "number"
  16380. },
  16381. "oritotalneedhedgeqty": {
  16382. "description": "期初现货应套保量",
  16383. "type": "number"
  16384. }
  16385. }
  16386. },
  16387. "models.ErmcpRole": {
  16388. "type": "object",
  16389. "properties": {
  16390. "areauserid": {
  16391. "description": "所属机构",
  16392. "type": "integer"
  16393. },
  16394. "autoid": {
  16395. "description": "角色ID(自增ID)",
  16396. "type": "integer"
  16397. },
  16398. "modifierid": {
  16399. "description": "修改人(创建人)",
  16400. "type": "integer"
  16401. },
  16402. "modifiername": {
  16403. "description": "修改人名称",
  16404. "type": "string"
  16405. },
  16406. "modifytime": {
  16407. "description": "修改时间(创建时间)",
  16408. "type": "string"
  16409. },
  16410. "rolename": {
  16411. "description": "角色名称",
  16412. "type": "string"
  16413. },
  16414. "rolestatus": {
  16415. "description": "角色状态 - 1:启用 2:停用",
  16416. "type": "integer"
  16417. },
  16418. "roletype": {
  16419. "description": "角色类型 - 1- 管理端 2- 交易端",
  16420. "type": "integer"
  16421. }
  16422. }
  16423. },
  16424. "models.ErmcpRoleMenu": {
  16425. "type": "object",
  16426. "properties": {
  16427. "iconame": {
  16428. "description": "菜单图标",
  16429. "type": "string"
  16430. },
  16431. "ishadrole": {
  16432. "description": "是否有权限",
  16433. "type": "boolean"
  16434. },
  16435. "menutype": {
  16436. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16437. "type": "integer"
  16438. },
  16439. "parentcode": {
  16440. "description": "上级资源代码",
  16441. "type": "string"
  16442. },
  16443. "remark": {
  16444. "description": "菜单备注",
  16445. "type": "string"
  16446. },
  16447. "resourcecode": {
  16448. "description": "菜单代码",
  16449. "type": "string"
  16450. },
  16451. "resourcelevel": {
  16452. "description": "级别",
  16453. "type": "integer"
  16454. },
  16455. "resourcename": {
  16456. "description": "菜单名称",
  16457. "type": "string"
  16458. },
  16459. "roleid": {
  16460. "description": "角色id",
  16461. "type": "integer"
  16462. },
  16463. "sort": {
  16464. "description": "排序",
  16465. "type": "integer"
  16466. },
  16467. "url": {
  16468. "description": "URL",
  16469. "type": "string"
  16470. },
  16471. "userid": {
  16472. "description": "用户id",
  16473. "type": "integer"
  16474. }
  16475. }
  16476. },
  16477. "models.ErmcpRoleMenuEx": {
  16478. "type": "object",
  16479. "properties": {
  16480. "menu": {
  16481. "description": "父级菜单",
  16482. "type": "object",
  16483. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16484. },
  16485. "subMenu": {
  16486. "description": "子级菜单",
  16487. "type": "array",
  16488. "items": {
  16489. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16490. }
  16491. }
  16492. }
  16493. },
  16494. "models.ErmcpTaAccount": {
  16495. "type": "object",
  16496. "properties": {
  16497. "accountid": {
  16498. "description": "账户id",
  16499. "type": "integer"
  16500. },
  16501. "accountname": {
  16502. "description": "账户名称",
  16503. "type": "string"
  16504. },
  16505. "currencyid": {
  16506. "description": "币种id",
  16507. "type": "integer"
  16508. },
  16509. "hedgeaccountcode": {
  16510. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16511. "type": "string"
  16512. },
  16513. "ismain": {
  16514. "description": "是否主账户 0-否 1-是",
  16515. "type": "integer"
  16516. },
  16517. "parentaccountid": {
  16518. "description": "父账户id",
  16519. "type": "integer"
  16520. },
  16521. "relateduserid": {
  16522. "description": "关联userid",
  16523. "type": "integer"
  16524. },
  16525. "tradestatus": {
  16526. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16527. "type": "integer"
  16528. },
  16529. "userid": {
  16530. "description": "用户id",
  16531. "type": "integer"
  16532. }
  16533. }
  16534. },
  16535. "models.ErmcpTaAccountEx": {
  16536. "type": "object",
  16537. "properties": {
  16538. "mainAcc": {
  16539. "description": "主账号",
  16540. "type": "object",
  16541. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16542. },
  16543. "subacclist": {
  16544. "description": "子账号列表",
  16545. "type": "array",
  16546. "items": {
  16547. "$ref": "#/definitions/models.ErmcpTaAccount"
  16548. }
  16549. }
  16550. }
  16551. },
  16552. "models.ErmcpTaAccountInfo": {
  16553. "type": "object",
  16554. "properties": {
  16555. "accountid": {
  16556. "description": "资金账户ID",
  16557. "type": "integer"
  16558. },
  16559. "accountname": {
  16560. "description": "账户名称",
  16561. "type": "string"
  16562. },
  16563. "balance": {
  16564. "description": "期初余额",
  16565. "type": "number"
  16566. },
  16567. "capitalbalance": {
  16568. "description": "本金余额[外部子账户实际出入金余额]",
  16569. "type": "number"
  16570. },
  16571. "closepl": {
  16572. "description": "今日平仓盈亏",
  16573. "type": "number"
  16574. },
  16575. "creditdecrease": {
  16576. "description": "今日授信减少",
  16577. "type": "number"
  16578. },
  16579. "creditincrease": {
  16580. "description": "今日授信增加",
  16581. "type": "number"
  16582. },
  16583. "curdebt": {
  16584. "description": "期末欠款",
  16585. "type": "number"
  16586. },
  16587. "currencyid": {
  16588. "description": "货币ID",
  16589. "type": "integer"
  16590. },
  16591. "currentbalance": {
  16592. "description": "期末余额",
  16593. "type": "number"
  16594. },
  16595. "freezecharge": {
  16596. "description": "手续费冻结",
  16597. "type": "number"
  16598. },
  16599. "freezemargin": {
  16600. "description": "冻结保证金",
  16601. "type": "number"
  16602. },
  16603. "fromaccountid": {
  16604. "description": "所属上级账户",
  16605. "type": "integer"
  16606. },
  16607. "inamount": {
  16608. "description": "今日入金金额(包括三方入金)",
  16609. "type": "number"
  16610. },
  16611. "ismain": {
  16612. "description": "是否母账号 0:不是母账户 1:是母账户",
  16613. "type": "integer"
  16614. },
  16615. "mortgagecredit": {
  16616. "description": "授信金额",
  16617. "type": "number"
  16618. },
  16619. "oridebt": {
  16620. "description": "期初欠款",
  16621. "type": "number"
  16622. },
  16623. "orifreezecharge": {
  16624. "description": "期初手续费冻结",
  16625. "type": "number"
  16626. },
  16627. "orifreezemargin": {
  16628. "description": "期初冻结保证金",
  16629. "type": "number"
  16630. },
  16631. "orimortgagecredit": {
  16632. "description": "期初授信金额",
  16633. "type": "number"
  16634. },
  16635. "oriothercredit": {
  16636. "description": "期初其它授信金额",
  16637. "type": "number"
  16638. },
  16639. "oriotherfreezemargin": {
  16640. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16641. "type": "number"
  16642. },
  16643. "orioutamountfreeze": {
  16644. "description": "期初出金冻结",
  16645. "type": "number"
  16646. },
  16647. "oriusedmargin": {
  16648. "description": "期初占用保证金",
  16649. "type": "number"
  16650. },
  16651. "othercredit": {
  16652. "description": "其它授信金额",
  16653. "type": "number"
  16654. },
  16655. "othercreditdecrease": {
  16656. "description": "今日其它授信减少",
  16657. "type": "number"
  16658. },
  16659. "othercreditincrease": {
  16660. "description": "今日其它授信增加",
  16661. "type": "number"
  16662. },
  16663. "otherfreezemargin": {
  16664. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16665. "type": "number"
  16666. },
  16667. "outamount": {
  16668. "description": "今日出金金额(包括三方出金)",
  16669. "type": "number"
  16670. },
  16671. "outamountfreeze": {
  16672. "description": "出金冻结",
  16673. "type": "number"
  16674. },
  16675. "outthreshold": {
  16676. "description": "出金阈值",
  16677. "type": "number"
  16678. },
  16679. "parentaccountid": {
  16680. "description": "所属根账号",
  16681. "type": "integer"
  16682. },
  16683. "paycharge": {
  16684. "description": "今日手续费支出",
  16685. "type": "number"
  16686. },
  16687. "relateduserid": {
  16688. "description": "关联用户",
  16689. "type": "integer"
  16690. },
  16691. "signstatus": {
  16692. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16693. "type": "integer"
  16694. },
  16695. "sublevelpath": {
  16696. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16697. "type": "string"
  16698. },
  16699. "taaccounttype": {
  16700. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16701. "type": "integer"
  16702. },
  16703. "thirdinamount": {
  16704. "description": "今日三方入金",
  16705. "type": "number"
  16706. },
  16707. "thirdoutamount": {
  16708. "description": "今日三方出金",
  16709. "type": "number"
  16710. },
  16711. "tradestatus": {
  16712. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16713. "type": "integer"
  16714. },
  16715. "transferamount": {
  16716. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16717. "type": "number"
  16718. },
  16719. "usedmargin": {
  16720. "description": "占用保证金",
  16721. "type": "number"
  16722. },
  16723. "userid": {
  16724. "description": "用户ID",
  16725. "type": "integer"
  16726. }
  16727. }
  16728. },
  16729. "models.ErmcpTaAccountM": {
  16730. "type": "object",
  16731. "properties": {
  16732. "accountid": {
  16733. "description": "账户id",
  16734. "type": "integer"
  16735. },
  16736. "accountname": {
  16737. "description": "账户名称",
  16738. "type": "string"
  16739. },
  16740. "currencyid": {
  16741. "description": "币种id",
  16742. "type": "integer"
  16743. },
  16744. "fcid": {
  16745. "description": "期货公司id",
  16746. "type": "integer"
  16747. },
  16748. "fcname": {
  16749. "description": "期货公司代码",
  16750. "type": "string"
  16751. },
  16752. "hedgeaccountcode": {
  16753. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16754. "type": "string"
  16755. },
  16756. "ismain": {
  16757. "description": "是否主账户 0-否 1-是",
  16758. "type": "integer"
  16759. },
  16760. "parentaccountid": {
  16761. "description": "父账户id",
  16762. "type": "integer"
  16763. },
  16764. "relateduserid": {
  16765. "description": "关联userid",
  16766. "type": "integer"
  16767. },
  16768. "tradestatus": {
  16769. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16770. "type": "integer"
  16771. },
  16772. "userid": {
  16773. "description": "用户id",
  16774. "type": "integer"
  16775. }
  16776. }
  16777. },
  16778. "models.ErmcpTradeConfigTMP": {
  16779. "type": "object",
  16780. "properties": {
  16781. "areauserid": {
  16782. "description": "所属机构",
  16783. "type": "integer"
  16784. },
  16785. "basiccurrencyid": {
  16786. "description": "基本币种ID[汇率] - 目标币种",
  16787. "type": "integer"
  16788. },
  16789. "mainaccountid": {
  16790. "description": "主账户ID",
  16791. "type": "integer"
  16792. },
  16793. "modifierid": {
  16794. "description": "修改人",
  16795. "type": "integer"
  16796. },
  16797. "remark": {
  16798. "description": "备注",
  16799. "type": "string"
  16800. },
  16801. "tradeconfigtmpid": {
  16802. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  16803. "type": "integer"
  16804. },
  16805. "tradeconfigtmpname": {
  16806. "description": "交易配置模板名称",
  16807. "type": "string"
  16808. },
  16809. "tradeconfigtmptype": {
  16810. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  16811. "type": "integer"
  16812. },
  16813. "updatetime": {
  16814. "description": "更新时间",
  16815. "type": "string"
  16816. }
  16817. }
  16818. },
  16819. "models.ErmcpUserModel": {
  16820. "type": "object",
  16821. "properties": {
  16822. "address": {
  16823. "description": "通讯地址",
  16824. "type": "string"
  16825. },
  16826. "attachment1": {
  16827. "description": "附件1",
  16828. "type": "string"
  16829. },
  16830. "audittime": {
  16831. "description": "审核时间",
  16832. "type": "string"
  16833. },
  16834. "cardbackphotourl": {
  16835. "description": "证件反面图片地址",
  16836. "type": "string"
  16837. },
  16838. "cardfrontphotourl": {
  16839. "description": "证件正面图片地址",
  16840. "type": "string"
  16841. },
  16842. "cardnum": {
  16843. "description": "证件号码",
  16844. "type": "string"
  16845. },
  16846. "cardtype": {
  16847. "description": "证件类型",
  16848. "type": "integer"
  16849. },
  16850. "cardtypename": {
  16851. "description": "证件类型名称",
  16852. "type": "string"
  16853. },
  16854. "cityid": {
  16855. "description": "市",
  16856. "type": "integer"
  16857. },
  16858. "contactname": {
  16859. "description": "联系人",
  16860. "type": "string"
  16861. },
  16862. "countryid": {
  16863. "description": "国家",
  16864. "type": "integer"
  16865. },
  16866. "createtime": {
  16867. "description": "创建时间",
  16868. "type": "string"
  16869. },
  16870. "customername": {
  16871. "description": "企业名称",
  16872. "type": "string"
  16873. },
  16874. "districtid": {
  16875. "description": "区域",
  16876. "type": "integer"
  16877. },
  16878. "email": {
  16879. "description": "邮件",
  16880. "type": "string"
  16881. },
  16882. "legalpersonname": {
  16883. "description": "法人姓名(企业)",
  16884. "type": "string"
  16885. },
  16886. "memberuserid": {
  16887. "description": "所属机构ID",
  16888. "type": "integer"
  16889. },
  16890. "mobile": {
  16891. "description": "手机号码",
  16892. "type": "string"
  16893. },
  16894. "modifytime": {
  16895. "description": "修改时间",
  16896. "type": "string"
  16897. },
  16898. "nickname": {
  16899. "description": "昵称",
  16900. "type": "string"
  16901. },
  16902. "provinceid": {
  16903. "description": "省",
  16904. "type": "integer"
  16905. },
  16906. "remark": {
  16907. "description": "备注",
  16908. "type": "string"
  16909. },
  16910. "status": {
  16911. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16912. "type": "integer"
  16913. },
  16914. "statusdesc": {
  16915. "description": "账户状态中文描述",
  16916. "type": "string"
  16917. },
  16918. "taxpayernum": {
  16919. "description": "纳税人识别号",
  16920. "type": "string"
  16921. },
  16922. "telphone": {
  16923. "description": "联系电话",
  16924. "type": "string"
  16925. },
  16926. "userid": {
  16927. "description": "用户ID",
  16928. "type": "integer"
  16929. },
  16930. "userinfotype": {
  16931. "description": "客户类型",
  16932. "type": "string"
  16933. }
  16934. }
  16935. },
  16936. "models.ErmcpWareHouseInfo": {
  16937. "type": "object",
  16938. "properties": {
  16939. "address": {
  16940. "description": "详细地址",
  16941. "type": "string"
  16942. },
  16943. "areauserid": {
  16944. "description": "所属机构",
  16945. "type": "integer"
  16946. },
  16947. "autoid": {
  16948. "description": "自增ID(仓库ID)",
  16949. "type": "integer"
  16950. },
  16951. "cityid": {
  16952. "description": "市",
  16953. "type": "integer"
  16954. },
  16955. "contactname": {
  16956. "description": "联系人",
  16957. "type": "string"
  16958. },
  16959. "contactnum": {
  16960. "description": "联系电话",
  16961. "type": "string"
  16962. },
  16963. "countryid": {
  16964. "description": "国家",
  16965. "type": "integer"
  16966. },
  16967. "createtime": {
  16968. "description": "创建时间",
  16969. "type": "string"
  16970. },
  16971. "districtid": {
  16972. "description": "区",
  16973. "type": "integer"
  16974. },
  16975. "hasvideo": {
  16976. "description": "是否有视频 - 0:无 1:有",
  16977. "type": "integer"
  16978. },
  16979. "provinceid": {
  16980. "description": "省",
  16981. "type": "integer"
  16982. },
  16983. "remark": {
  16984. "description": "审核备注",
  16985. "type": "string"
  16986. },
  16987. "videourl": {
  16988. "description": "视频地址",
  16989. "type": "string"
  16990. },
  16991. "warehousecode": {
  16992. "description": "仓库代码",
  16993. "type": "string"
  16994. },
  16995. "warehousename": {
  16996. "description": "仓库名称",
  16997. "type": "string"
  16998. },
  16999. "warehousestatus": {
  17000. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17001. "type": "integer"
  17002. },
  17003. "warehousetype": {
  17004. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17005. "type": "integer"
  17006. }
  17007. }
  17008. },
  17009. "models.Externalexchange": {
  17010. "type": "object",
  17011. "required": [
  17012. "autoid"
  17013. ],
  17014. "properties": {
  17015. "autoid": {
  17016. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17017. "type": "integer"
  17018. },
  17019. "exchangefullname": {
  17020. "description": "外部交易所全称",
  17021. "type": "string"
  17022. },
  17023. "exexchangecode": {
  17024. "description": "外部交易所代码",
  17025. "type": "string"
  17026. },
  17027. "exexchangename": {
  17028. "description": "外部交易所名称(简称)",
  17029. "type": "string"
  17030. },
  17031. "ismarketprice": {
  17032. "description": "是否支持市价 - 0:不支持 1:支持",
  17033. "type": "integer"
  17034. },
  17035. "quotegear": {
  17036. "description": "行情档位(1-10)",
  17037. "type": "integer"
  17038. },
  17039. "showbrokerflag": {
  17040. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17041. "type": "integer"
  17042. },
  17043. "updatetime": {
  17044. "description": "更新时间",
  17045. "type": "string"
  17046. }
  17047. }
  17048. },
  17049. "models.Funcmenulist": {
  17050. "type": "object",
  17051. "required": [
  17052. "resourcecode"
  17053. ],
  17054. "properties": {
  17055. "iconame": {
  17056. "description": "菜单图标",
  17057. "type": "string"
  17058. },
  17059. "menutype": {
  17060. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17061. "type": "integer"
  17062. },
  17063. "parentcode": {
  17064. "description": "上级资源代码",
  17065. "type": "string"
  17066. },
  17067. "remark": {
  17068. "description": "备注",
  17069. "type": "string"
  17070. },
  17071. "resourcecode": {
  17072. "description": "资源代码",
  17073. "type": "string"
  17074. },
  17075. "resourcelevel": {
  17076. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17077. "type": "integer"
  17078. },
  17079. "resourcename": {
  17080. "description": "资源名",
  17081. "type": "string"
  17082. },
  17083. "sort": {
  17084. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17085. "type": "integer"
  17086. },
  17087. "url": {
  17088. "description": "URL",
  17089. "type": "string"
  17090. }
  17091. }
  17092. },
  17093. "models.Goods": {
  17094. "type": "object",
  17095. "required": [
  17096. "goodscode",
  17097. "goodsid",
  17098. "goodsname",
  17099. "marketid"
  17100. ],
  17101. "properties": {
  17102. "agreeunit": {
  17103. "description": "合约单位",
  17104. "type": "number"
  17105. },
  17106. "auditaccountid": {
  17107. "description": "审核操作员账号",
  17108. "type": "integer"
  17109. },
  17110. "audittime": {
  17111. "description": "审核时间",
  17112. "type": "string"
  17113. },
  17114. "cancelaccountid": {
  17115. "description": "注销操作员账号",
  17116. "type": "integer"
  17117. },
  17118. "canceltime": {
  17119. "description": "注销时间",
  17120. "type": "string"
  17121. },
  17122. "closepricemode": {
  17123. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17124. "type": "integer"
  17125. },
  17126. "closepriceparam": {
  17127. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17128. "type": "number"
  17129. },
  17130. "createtime": {
  17131. "description": "创建时间",
  17132. "type": "string"
  17133. },
  17134. "creatorid": {
  17135. "description": "创建人",
  17136. "type": "integer"
  17137. },
  17138. "currencyid": {
  17139. "description": "报价货币ID",
  17140. "type": "integer"
  17141. },
  17142. "cutmode": {
  17143. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17144. "type": "integer"
  17145. },
  17146. "decimalplace": {
  17147. "description": "报价小数位",
  17148. "type": "integer"
  17149. },
  17150. "delistingdate": {
  17151. "description": "商品退市时间(状态:退市) -- 已作废",
  17152. "type": "string"
  17153. },
  17154. "delistingmode": {
  17155. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17156. "type": "integer"
  17157. },
  17158. "deliveryflag": {
  17159. "description": "交割标志 - 0:不可交割 1:可交割",
  17160. "type": "integer"
  17161. },
  17162. "forceclosemode": {
  17163. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17164. "type": "integer"
  17165. },
  17166. "forceclosevalue": {
  17167. "description": "定期强平参数 [收益权]",
  17168. "type": "integer"
  17169. },
  17170. "goodscode": {
  17171. "description": "商品代码(内部)",
  17172. "type": "string"
  17173. },
  17174. "goodscurrencyid": {
  17175. "description": "合约货币ID",
  17176. "type": "integer"
  17177. },
  17178. "goodsgroupid": {
  17179. "description": "所属商品组ID",
  17180. "type": "integer"
  17181. },
  17182. "goodsid": {
  17183. "description": "商品ID(自增ID SEQ_GOODS)",
  17184. "type": "integer"
  17185. },
  17186. "goodsname": {
  17187. "description": "商品名称",
  17188. "type": "string"
  17189. },
  17190. "goodsquotetype": {
  17191. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17192. "type": "integer"
  17193. },
  17194. "goodsstatus": {
  17195. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17196. "type": "integer"
  17197. },
  17198. "goodstradetype": {
  17199. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17200. "type": "integer"
  17201. },
  17202. "goodunitid": {
  17203. "description": "报价单位ID",
  17204. "type": "integer"
  17205. },
  17206. "hasquoter": {
  17207. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17208. "type": "integer"
  17209. },
  17210. "hqprotecttime": {
  17211. "description": "行情保护时间(秒)",
  17212. "type": "integer"
  17213. },
  17214. "innerdealmode": {
  17215. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17216. "type": "integer"
  17217. },
  17218. "isbuylimited": {
  17219. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17220. "type": "integer"
  17221. },
  17222. "lasttradedate": {
  17223. "description": "最后交易日期(状态:待退市)",
  17224. "type": "string"
  17225. },
  17226. "listingdate": {
  17227. "description": "交易开始日期",
  17228. "type": "string"
  17229. },
  17230. "marketid": {
  17231. "description": "所属市场ID",
  17232. "type": "integer"
  17233. },
  17234. "modifierid": {
  17235. "description": "修改人",
  17236. "type": "integer"
  17237. },
  17238. "modifystatus": {
  17239. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17240. "type": "integer"
  17241. },
  17242. "modifytime": {
  17243. "description": "修改时间",
  17244. "type": "string"
  17245. },
  17246. "outerdealmode": {
  17247. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17248. "type": "integer"
  17249. },
  17250. "outgoodscode": {
  17251. "description": "商品代码(外部)",
  17252. "type": "string"
  17253. },
  17254. "qtydecimalplace": {
  17255. "description": "成交量小数位",
  17256. "type": "integer"
  17257. },
  17258. "quotegear": {
  17259. "description": "行情档位(1-10)",
  17260. "type": "integer"
  17261. },
  17262. "quoteminunit": {
  17263. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17264. "type": "integer"
  17265. },
  17266. "quoteshowtype": {
  17267. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17268. "type": "integer"
  17269. },
  17270. "quoteshowtypeinterval": {
  17271. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17272. "type": "integer"
  17273. },
  17274. "remark": {
  17275. "description": "备注",
  17276. "type": "string"
  17277. }
  17278. }
  17279. },
  17280. "models.GoodsIDAndName": {
  17281. "type": "object",
  17282. "required": [
  17283. "goodscode",
  17284. "goodsid",
  17285. "goodsname",
  17286. "marketid"
  17287. ],
  17288. "properties": {
  17289. "goodscode": {
  17290. "description": "商品代码(内部)",
  17291. "type": "string"
  17292. },
  17293. "goodsid": {
  17294. "description": "商品ID(自增ID SEQ_GOODS)",
  17295. "type": "integer"
  17296. },
  17297. "goodsname": {
  17298. "description": "商品名称",
  17299. "type": "string"
  17300. },
  17301. "marketid": {
  17302. "description": "所属市场ID",
  17303. "type": "integer"
  17304. }
  17305. }
  17306. },
  17307. "models.Goodsgroup": {
  17308. "type": "object",
  17309. "required": [
  17310. "goodsgroupid",
  17311. "goodsgroupname",
  17312. "goodsgroupstatus",
  17313. "marketid"
  17314. ],
  17315. "properties": {
  17316. "agreeunit": {
  17317. "description": "合约单位",
  17318. "type": "number"
  17319. },
  17320. "canshort": {
  17321. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17322. "type": "integer"
  17323. },
  17324. "closepricemode": {
  17325. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17326. "type": "integer"
  17327. },
  17328. "closepriceparam": {
  17329. "description": "强平最新价浮动比例 - 方式为2时使用",
  17330. "type": "number"
  17331. },
  17332. "createtime": {
  17333. "description": "创建时间",
  17334. "type": "string"
  17335. },
  17336. "creatorid": {
  17337. "description": "创建人",
  17338. "type": "integer"
  17339. },
  17340. "currencyid": {
  17341. "description": "报价货币ID",
  17342. "type": "integer"
  17343. },
  17344. "decimalplace": {
  17345. "description": "报价小数位",
  17346. "type": "integer"
  17347. },
  17348. "exercisetype": {
  17349. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17350. "type": "integer"
  17351. },
  17352. "exexchangeid": {
  17353. "description": "外部交易所ID[通道交易]",
  17354. "type": "integer"
  17355. },
  17356. "goodsgroupid": {
  17357. "description": "商品组ID(自增ID)",
  17358. "type": "integer"
  17359. },
  17360. "goodsgroupname": {
  17361. "description": "商品组名称",
  17362. "type": "string"
  17363. },
  17364. "goodsgroupstatus": {
  17365. "description": "商品组状态 - 1:正常 2:注销",
  17366. "type": "integer"
  17367. },
  17368. "goodunitid": {
  17369. "description": "报价单位ID",
  17370. "type": "integer"
  17371. },
  17372. "innerdealmode": {
  17373. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17374. "type": "integer"
  17375. },
  17376. "isbuylimited": {
  17377. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17378. "type": "integer"
  17379. },
  17380. "marketid": {
  17381. "description": "所属市场ID",
  17382. "type": "integer"
  17383. },
  17384. "modifierid": {
  17385. "description": "修改人",
  17386. "type": "integer"
  17387. },
  17388. "modifytime": {
  17389. "description": "修改时间",
  17390. "type": "string"
  17391. },
  17392. "outerdealmode": {
  17393. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17394. "type": "integer"
  17395. },
  17396. "outergroupcode": {
  17397. "description": "外部商品组代码[通道交易]",
  17398. "type": "string"
  17399. },
  17400. "premiumdecimalplace": {
  17401. "description": "权利金小数位[场外期权]",
  17402. "type": "integer"
  17403. },
  17404. "premiumspreadalgorithm": {
  17405. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17406. "type": "integer"
  17407. },
  17408. "premiumspreadvalue": {
  17409. "description": "权利金点差值[场外期权]",
  17410. "type": "number"
  17411. },
  17412. "qtydecimalplace": {
  17413. "description": "成交量小数位",
  17414. "type": "integer"
  17415. },
  17416. "quotegear": {
  17417. "description": "行情档位(1-10)",
  17418. "type": "integer"
  17419. },
  17420. "quoteminunit": {
  17421. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17422. "type": "integer"
  17423. },
  17424. "quoterid": {
  17425. "description": "报价商ID[场外期权]",
  17426. "type": "integer"
  17427. },
  17428. "quotesourcegroupid": {
  17429. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17430. "type": "integer"
  17431. },
  17432. "syncgoodsqty": {
  17433. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17434. "type": "integer"
  17435. }
  17436. }
  17437. },
  17438. "models.Goodssortbypreposition": {
  17439. "type": "object",
  17440. "required": [
  17441. "goodscode",
  17442. "tradedate"
  17443. ],
  17444. "properties": {
  17445. "goodscode": {
  17446. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17447. "type": "string"
  17448. },
  17449. "goodsgroupcode": {
  17450. "description": "品种代码",
  17451. "type": "string"
  17452. },
  17453. "prepositionqty": {
  17454. "description": "昨持仓量",
  17455. "type": "integer"
  17456. },
  17457. "sortindex": {
  17458. "description": "排序",
  17459. "type": "integer"
  17460. },
  17461. "tradedate": {
  17462. "description": "交易日",
  17463. "type": "string"
  17464. },
  17465. "updatetime": {
  17466. "description": "更新时间",
  17467. "type": "string"
  17468. }
  17469. }
  17470. },
  17471. "models.Hedgeinnerholderdetail": {
  17472. "type": "object",
  17473. "required": [
  17474. "buyorsell",
  17475. "tradeid"
  17476. ],
  17477. "properties": {
  17478. "accountid": {
  17479. "description": "账号ID",
  17480. "type": "integer"
  17481. },
  17482. "buyorsell": {
  17483. "description": "方向 - 0:买 1:卖",
  17484. "type": "integer"
  17485. },
  17486. "freezeqty": {
  17487. "description": "冻结数量 - 按单平使用",
  17488. "type": "integer"
  17489. },
  17490. "goodsid": {
  17491. "description": "商品ID",
  17492. "type": "integer"
  17493. },
  17494. "holderamount": {
  17495. "description": "持仓金额 [商品币种]",
  17496. "type": "number"
  17497. },
  17498. "holderdays": {
  17499. "description": "剩余冻结天数",
  17500. "type": "integer"
  17501. },
  17502. "holderprice": {
  17503. "description": "持仓价格",
  17504. "type": "number"
  17505. },
  17506. "holderqty": {
  17507. "description": "持仓数量",
  17508. "type": "integer"
  17509. },
  17510. "marketid": {
  17511. "description": "市场ID",
  17512. "type": "integer"
  17513. },
  17514. "openprice": {
  17515. "description": "建仓价格",
  17516. "type": "number"
  17517. },
  17518. "openqty": {
  17519. "description": "建仓数量",
  17520. "type": "integer"
  17521. },
  17522. "parentaccountid": {
  17523. "description": "所属母账户",
  17524. "type": "integer"
  17525. },
  17526. "releaseamount": {
  17527. "description": "释放持仓金额[商品币种]",
  17528. "type": "number"
  17529. },
  17530. "tradeamount": {
  17531. "description": "成交金额[账户]",
  17532. "type": "number"
  17533. },
  17534. "tradedate": {
  17535. "description": "交易日(yyyyMMdd)",
  17536. "type": "string"
  17537. },
  17538. "tradeid": {
  17539. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17540. "type": "string"
  17541. },
  17542. "tradetime": {
  17543. "description": "交易时间",
  17544. "type": "string"
  17545. }
  17546. }
  17547. },
  17548. "models.Hedgemarketopenlog": {
  17549. "type": "object",
  17550. "required": [
  17551. "accountid"
  17552. ],
  17553. "properties": {
  17554. "accountid": {
  17555. "description": "资金账号[外部母账户]",
  17556. "type": "integer"
  17557. },
  17558. "fcname": {
  17559. "description": "期货公司名称",
  17560. "type": "string"
  17561. },
  17562. "handlestatus": {
  17563. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17564. "type": "integer"
  17565. },
  17566. "marketid": {
  17567. "description": "市场ID",
  17568. "type": "integer"
  17569. },
  17570. "status": {
  17571. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17572. "type": "integer"
  17573. },
  17574. "tradedate": {
  17575. "description": "交易日(yyyyMMdd)",
  17576. "type": "string"
  17577. },
  17578. "updatetime": {
  17579. "description": "更新时间",
  17580. "type": "string"
  17581. }
  17582. }
  17583. },
  17584. "models.HsbyBuyMyPayOrder": {
  17585. "type": "object",
  17586. "required": [
  17587. "goodscode",
  17588. "goodsname",
  17589. "tradeid",
  17590. "trademode"
  17591. ],
  17592. "properties": {
  17593. "agreeunit": {
  17594. "description": "合约单位",
  17595. "type": "number"
  17596. },
  17597. "buyaccountid": {
  17598. "description": "买方账号ID[报价币种]",
  17599. "type": "integer"
  17600. },
  17601. "buyorderid": {
  17602. "description": "买方委托单号",
  17603. "type": "string"
  17604. },
  17605. "createtime": {
  17606. "description": "创建时间",
  17607. "type": "string"
  17608. },
  17609. "currencysign": {
  17610. "description": "货币符号",
  17611. "type": "string"
  17612. },
  17613. "decimalplace": {
  17614. "description": "报价小数位",
  17615. "type": "integer"
  17616. },
  17617. "goodscode": {
  17618. "description": "商品代码(内部)",
  17619. "type": "string"
  17620. },
  17621. "goodsid": {
  17622. "description": "商品ID",
  17623. "type": "integer"
  17624. },
  17625. "goodsname": {
  17626. "description": "商品名称",
  17627. "type": "string"
  17628. },
  17629. "marketid": {
  17630. "description": "市场ID",
  17631. "type": "integer"
  17632. },
  17633. "offamount": {
  17634. "description": "优惠金额",
  17635. "type": "number"
  17636. },
  17637. "originalamount": {
  17638. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17639. "type": "number"
  17640. },
  17641. "payamount": {
  17642. "description": "支付金额 = TradeAmount + TradeCharge",
  17643. "type": "number"
  17644. },
  17645. "payflag": {
  17646. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17647. "type": "integer"
  17648. },
  17649. "paylimitedtime": {
  17650. "description": "支付期限",
  17651. "type": "string"
  17652. },
  17653. "paytime": {
  17654. "description": "付款时间",
  17655. "type": "string"
  17656. },
  17657. "picurls1": {
  17658. "description": "预售商品介绍图片[多张用逗号分隔]",
  17659. "type": "string"
  17660. },
  17661. "picurls2": {
  17662. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17663. "type": "string"
  17664. },
  17665. "sellaccountid": {
  17666. "description": "卖方账号ID[报价币种]",
  17667. "type": "integer"
  17668. },
  17669. "sellorderid": {
  17670. "description": "卖方委托单号",
  17671. "type": "string"
  17672. },
  17673. "tradeamount": {
  17674. "description": "成交金额",
  17675. "type": "number"
  17676. },
  17677. "tradecharge": {
  17678. "description": "成交手续费(买方)",
  17679. "type": "number"
  17680. },
  17681. "tradedate": {
  17682. "description": "交易日(yyyyMMdd)",
  17683. "type": "string"
  17684. },
  17685. "tradeid": {
  17686. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17687. "type": "string"
  17688. },
  17689. "trademode": {
  17690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17691. "type": "integer"
  17692. },
  17693. "tradeprice": {
  17694. "description": "成交价格",
  17695. "type": "number"
  17696. },
  17697. "tradeqty": {
  17698. "description": "成交数量",
  17699. "type": "integer"
  17700. },
  17701. "vendorname1": {
  17702. "description": "预售商品供应商名称",
  17703. "type": "string"
  17704. },
  17705. "vendorname2": {
  17706. "description": "挂牌商品供应商名称",
  17707. "type": "string"
  17708. }
  17709. }
  17710. },
  17711. "models.HsbyBuyMyTradeDetail": {
  17712. "type": "object",
  17713. "required": [
  17714. "accountid",
  17715. "buyorsell",
  17716. "goodscode",
  17717. "goodsid",
  17718. "goodsname",
  17719. "marketid",
  17720. "orderid",
  17721. "qty",
  17722. "time",
  17723. "trademode"
  17724. ],
  17725. "properties": {
  17726. "accountid": {
  17727. "description": "账户ID[报价币种]",
  17728. "type": "integer"
  17729. },
  17730. "agreeunit": {
  17731. "description": "合约单位",
  17732. "type": "number"
  17733. },
  17734. "amount": {
  17735. "description": "金额 = 价格 * 数量 * 合约单位",
  17736. "type": "number"
  17737. },
  17738. "buyorsell": {
  17739. "description": "买卖 - 0:买 1:卖",
  17740. "type": "integer"
  17741. },
  17742. "currencysign": {
  17743. "description": "货币符号",
  17744. "type": "string"
  17745. },
  17746. "decimalplace": {
  17747. "description": "报价小数位",
  17748. "type": "integer"
  17749. },
  17750. "goodscode": {
  17751. "description": "商品代码(内部)",
  17752. "type": "string"
  17753. },
  17754. "goodsid": {
  17755. "description": "商品ID",
  17756. "type": "integer"
  17757. },
  17758. "goodsname": {
  17759. "description": "商品名称",
  17760. "type": "string"
  17761. },
  17762. "marketid": {
  17763. "description": "市场ID",
  17764. "type": "integer"
  17765. },
  17766. "orderamount": {
  17767. "description": "委托金额",
  17768. "type": "number"
  17769. },
  17770. "orderid": {
  17771. "description": "单号(成交单号)",
  17772. "type": "string"
  17773. },
  17774. "picurls1": {
  17775. "description": "预售商品介绍图片[多张用逗号分隔]",
  17776. "type": "string"
  17777. },
  17778. "picurls2": {
  17779. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17780. "type": "string"
  17781. },
  17782. "price": {
  17783. "description": "价格",
  17784. "type": "number"
  17785. },
  17786. "qty": {
  17787. "description": "数量",
  17788. "type": "integer"
  17789. },
  17790. "time": {
  17791. "description": "时间",
  17792. "type": "string"
  17793. },
  17794. "trademode": {
  17795. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17796. "type": "integer"
  17797. },
  17798. "vendorname1": {
  17799. "description": "预售商品供应商名称",
  17800. "type": "string"
  17801. },
  17802. "vendorname2": {
  17803. "description": "挂牌商品供应商名称",
  17804. "type": "string"
  17805. }
  17806. }
  17807. },
  17808. "models.HsbyGoodsOrderDetail": {
  17809. "type": "object",
  17810. "required": [
  17811. "buyorsell",
  17812. "orderid",
  17813. "ordertime"
  17814. ],
  17815. "properties": {
  17816. "buyorsell": {
  17817. "description": "买卖 - 0:买 1:卖",
  17818. "type": "integer"
  17819. },
  17820. "currencysign": {
  17821. "description": "货币符号",
  17822. "type": "string"
  17823. },
  17824. "customername": {
  17825. "description": "客户名称(企业名称),已脱敏",
  17826. "type": "string"
  17827. },
  17828. "enableqty": {
  17829. "description": "可用数量",
  17830. "type": "integer"
  17831. },
  17832. "goodunit": {
  17833. "description": "报价单位",
  17834. "type": "string"
  17835. },
  17836. "orderid": {
  17837. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17838. "type": "string"
  17839. },
  17840. "orderprice": {
  17841. "description": "委托价格",
  17842. "type": "number"
  17843. },
  17844. "ordertime": {
  17845. "description": "委托时间",
  17846. "type": "string"
  17847. }
  17848. }
  17849. },
  17850. "models.HsbyListingGoodsDetail": {
  17851. "type": "object",
  17852. "required": [
  17853. "goodscode",
  17854. "goodsid",
  17855. "goodsname",
  17856. "marketid",
  17857. "trademode"
  17858. ],
  17859. "properties": {
  17860. "agreeunit": {
  17861. "description": "合约单位",
  17862. "type": "number"
  17863. },
  17864. "buymaxqty": {
  17865. "description": "购买上限 [71] - 0为不限",
  17866. "type": "integer"
  17867. },
  17868. "currency": {
  17869. "description": "货币",
  17870. "type": "string"
  17871. },
  17872. "currencysign": {
  17873. "description": "货币符号",
  17874. "type": "string"
  17875. },
  17876. "decimalplace": {
  17877. "description": "报价小数位",
  17878. "type": "integer"
  17879. },
  17880. "desccityid": {
  17881. "description": "目的地(市)ID",
  17882. "type": "integer"
  17883. },
  17884. "descprovinceid": {
  17885. "description": "目的地(省)ID",
  17886. "type": "integer"
  17887. },
  17888. "goodscode": {
  17889. "description": "商品代码(内部)",
  17890. "type": "string"
  17891. },
  17892. "goodsdesc": {
  17893. "description": "商品详情",
  17894. "type": "string"
  17895. },
  17896. "goodsid": {
  17897. "description": "商品ID(自增ID SEQ_GOODS)",
  17898. "type": "integer"
  17899. },
  17900. "goodsname": {
  17901. "description": "商品名称",
  17902. "type": "string"
  17903. },
  17904. "goodsprice": {
  17905. "description": "商品价格",
  17906. "type": "number"
  17907. },
  17908. "hotindex": {
  17909. "description": "景点热度",
  17910. "type": "integer"
  17911. },
  17912. "last": {
  17913. "description": "现价",
  17914. "type": "number"
  17915. },
  17916. "limitdown": {
  17917. "description": "跌停价",
  17918. "type": "number"
  17919. },
  17920. "limitup": {
  17921. "description": "涨停价",
  17922. "type": "number"
  17923. },
  17924. "lotsize": {
  17925. "description": "手数最小变动单位",
  17926. "type": "integer"
  17927. },
  17928. "marketid": {
  17929. "description": "所属市场ID",
  17930. "type": "integer"
  17931. },
  17932. "picurls": {
  17933. "description": "介绍图片[多张用逗号分隔]",
  17934. "type": "string"
  17935. },
  17936. "quoteminunit": {
  17937. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17938. "type": "integer"
  17939. },
  17940. "stepvalue": {
  17941. "description": "价格最小变动单位",
  17942. "type": "number"
  17943. },
  17944. "trademode": {
  17945. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17946. "type": "integer"
  17947. },
  17948. "vendorattr": {
  17949. "description": "供应商附件(多张,逗号分隔)",
  17950. "type": "string"
  17951. },
  17952. "vendorname": {
  17953. "description": "供应商名称",
  17954. "type": "string"
  17955. },
  17956. "vendorphone": {
  17957. "description": "供应商客服电话",
  17958. "type": "string"
  17959. },
  17960. "videourls": {
  17961. "description": "介绍视频[多张用逗号分隔]",
  17962. "type": "string"
  17963. }
  17964. }
  17965. },
  17966. "models.HsbyMarketGoods": {
  17967. "type": "object",
  17968. "required": [
  17969. "accountid",
  17970. "buyorsell",
  17971. "goodscode",
  17972. "goodsid",
  17973. "goodsname",
  17974. "marketid",
  17975. "orderid",
  17976. "trademode"
  17977. ],
  17978. "properties": {
  17979. "accountid": {
  17980. "description": "账户ID[报价币种]",
  17981. "type": "integer"
  17982. },
  17983. "agreeunit": {
  17984. "description": "合约单位",
  17985. "type": "number"
  17986. },
  17987. "buyorsell": {
  17988. "description": "买卖 - 0:买 1:卖",
  17989. "type": "integer"
  17990. },
  17991. "categoryid": {
  17992. "description": "类别ID(WRCATEGORY)",
  17993. "type": "integer"
  17994. },
  17995. "currency": {
  17996. "description": "货币",
  17997. "type": "string"
  17998. },
  17999. "currencysign": {
  18000. "description": "货币符号",
  18001. "type": "string"
  18002. },
  18003. "customername": {
  18004. "description": "卖家名称",
  18005. "type": "string"
  18006. },
  18007. "decimalplace": {
  18008. "description": "报价小数位",
  18009. "type": "integer"
  18010. },
  18011. "goodscode": {
  18012. "description": "商品代码(内部)",
  18013. "type": "string"
  18014. },
  18015. "goodsid": {
  18016. "description": "商品ID",
  18017. "type": "integer"
  18018. },
  18019. "goodsname": {
  18020. "description": "商品名称",
  18021. "type": "string"
  18022. },
  18023. "goodsprice": {
  18024. "description": "商品价格",
  18025. "type": "number"
  18026. },
  18027. "hascoupon": {
  18028. "description": "是否可用优惠卷",
  18029. "type": "boolean"
  18030. },
  18031. "hotindex": {
  18032. "description": "景点热度",
  18033. "type": "integer"
  18034. },
  18035. "marketid": {
  18036. "description": "市场ID",
  18037. "type": "integer"
  18038. },
  18039. "orderid": {
  18040. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18041. "type": "string"
  18042. },
  18043. "orderprice": {
  18044. "description": "委托价格",
  18045. "type": "number"
  18046. },
  18047. "orderstatus": {
  18048. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18049. "type": "integer"
  18050. },
  18051. "picurls": {
  18052. "description": "介绍图片[多张用逗号分隔]",
  18053. "type": "string"
  18054. },
  18055. "quoteminunit": {
  18056. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18057. "type": "integer"
  18058. },
  18059. "sellUserID": {
  18060. "description": "卖方UserID",
  18061. "type": "integer"
  18062. },
  18063. "trademode": {
  18064. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18065. "type": "integer"
  18066. },
  18067. "videourls": {
  18068. "description": "介绍视频[多张用逗号分隔]",
  18069. "type": "string"
  18070. }
  18071. }
  18072. },
  18073. "models.HsbyMarketGoodsDetail": {
  18074. "type": "object",
  18075. "required": [
  18076. "accountid",
  18077. "buyorsell",
  18078. "goodscode",
  18079. "goodsid",
  18080. "goodsname",
  18081. "marketid",
  18082. "orderid",
  18083. "orderqty",
  18084. "trademode"
  18085. ],
  18086. "properties": {
  18087. "accountid": {
  18088. "description": "账户ID[报价币种]",
  18089. "type": "integer"
  18090. },
  18091. "agreeunit": {
  18092. "description": "合约单位",
  18093. "type": "number"
  18094. },
  18095. "buymaxqty": {
  18096. "description": "购买上限 [71] - 0为不限",
  18097. "type": "integer"
  18098. },
  18099. "buyorsell": {
  18100. "description": "买卖 - 0:买 1:卖",
  18101. "type": "integer"
  18102. },
  18103. "cancelqty": {
  18104. "description": "撤单数量",
  18105. "type": "integer"
  18106. },
  18107. "categoryid": {
  18108. "description": "类别ID(WRCATEGORY)",
  18109. "type": "integer"
  18110. },
  18111. "currency": {
  18112. "description": "货币",
  18113. "type": "string"
  18114. },
  18115. "currencysign": {
  18116. "description": "货币符号",
  18117. "type": "string"
  18118. },
  18119. "customername": {
  18120. "description": "卖家名称",
  18121. "type": "string"
  18122. },
  18123. "decimalplace": {
  18124. "description": "报价小数位",
  18125. "type": "integer"
  18126. },
  18127. "goodscode": {
  18128. "description": "商品代码(内部)",
  18129. "type": "string"
  18130. },
  18131. "goodsdesc": {
  18132. "description": "商品详情",
  18133. "type": "string"
  18134. },
  18135. "goodsid": {
  18136. "description": "商品ID",
  18137. "type": "integer"
  18138. },
  18139. "goodsname": {
  18140. "description": "商品名称",
  18141. "type": "string"
  18142. },
  18143. "goodsprice": {
  18144. "description": "商品价格",
  18145. "type": "number"
  18146. },
  18147. "hotindex": {
  18148. "description": "景点热度",
  18149. "type": "integer"
  18150. },
  18151. "lotsize": {
  18152. "description": "手数最小变动单位",
  18153. "type": "integer"
  18154. },
  18155. "marketid": {
  18156. "description": "市场ID",
  18157. "type": "integer"
  18158. },
  18159. "orderid": {
  18160. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18161. "type": "string"
  18162. },
  18163. "orderprice": {
  18164. "description": "委托价格",
  18165. "type": "number"
  18166. },
  18167. "orderqty": {
  18168. "description": "委托数量",
  18169. "type": "integer"
  18170. },
  18171. "orderstatus": {
  18172. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18173. "type": "integer"
  18174. },
  18175. "picurls": {
  18176. "description": "介绍图片[多张用逗号分隔]",
  18177. "type": "string"
  18178. },
  18179. "quoteminunit": {
  18180. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18181. "type": "integer"
  18182. },
  18183. "sellUserID": {
  18184. "description": "卖方UserID",
  18185. "type": "integer"
  18186. },
  18187. "trademode": {
  18188. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18189. "type": "integer"
  18190. },
  18191. "tradeqty": {
  18192. "description": "成交数量",
  18193. "type": "integer"
  18194. },
  18195. "vendorattr": {
  18196. "description": "供应商附件(多张,逗号分隔)",
  18197. "type": "string"
  18198. },
  18199. "vendorname": {
  18200. "description": "供应商名称",
  18201. "type": "string"
  18202. },
  18203. "vendorphone": {
  18204. "description": "供应商客服电话",
  18205. "type": "string"
  18206. },
  18207. "videourls": {
  18208. "description": "介绍视频[多张用逗号分隔]",
  18209. "type": "string"
  18210. }
  18211. }
  18212. },
  18213. "models.HsbyMarketInfo": {
  18214. "type": "object",
  18215. "required": [
  18216. "marketid",
  18217. "marketstatus",
  18218. "trademode"
  18219. ],
  18220. "properties": {
  18221. "marketid": {
  18222. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18223. "type": "integer"
  18224. },
  18225. "marketname": {
  18226. "description": "市场名称",
  18227. "type": "string"
  18228. },
  18229. "marketstatus": {
  18230. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18231. "type": "integer"
  18232. },
  18233. "trademode": {
  18234. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18235. "type": "integer"
  18236. }
  18237. }
  18238. },
  18239. "models.HsbyMyGoods": {
  18240. "type": "object",
  18241. "required": [
  18242. "accountid",
  18243. "goodscode",
  18244. "goodsid",
  18245. "goodsname",
  18246. "marketid",
  18247. "trademode"
  18248. ],
  18249. "properties": {
  18250. "accountid": {
  18251. "description": "账号Id",
  18252. "type": "integer"
  18253. },
  18254. "agreeunit": {
  18255. "description": "合约单位",
  18256. "type": "number"
  18257. },
  18258. "buyaverageprice": {
  18259. "description": "持仓均价",
  18260. "type": "number"
  18261. },
  18262. "buycurholderamount": {
  18263. "description": "买当前持仓总金额[商品币种]",
  18264. "type": "number"
  18265. },
  18266. "buycurpositionqty": {
  18267. "description": "买当前持仓总数量",
  18268. "type": "integer"
  18269. },
  18270. "buymaxqty": {
  18271. "description": "购买上限 [71] - 0为不限",
  18272. "type": "integer"
  18273. },
  18274. "currencysign": {
  18275. "description": "货币符号",
  18276. "type": "string"
  18277. },
  18278. "decimalplace": {
  18279. "description": "报价小数位",
  18280. "type": "integer"
  18281. },
  18282. "enableqty": {
  18283. "description": "可用数量",
  18284. "type": "integer"
  18285. },
  18286. "goodscode": {
  18287. "description": "商品代码(内部)",
  18288. "type": "string"
  18289. },
  18290. "goodsid": {
  18291. "description": "商品Id",
  18292. "type": "integer"
  18293. },
  18294. "goodsname": {
  18295. "description": "商品名称",
  18296. "type": "string"
  18297. },
  18298. "goodsprice": {
  18299. "description": "商品价格",
  18300. "type": "number"
  18301. },
  18302. "goodsstatus": {
  18303. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18304. "type": "integer"
  18305. },
  18306. "last": {
  18307. "description": "现价(仅使用于挂牌点选)",
  18308. "type": "number"
  18309. },
  18310. "limitdown": {
  18311. "description": "跌停价(仅使用于挂牌点选)",
  18312. "type": "number"
  18313. },
  18314. "limitup": {
  18315. "description": "涨停价(仅使用于挂牌点选)",
  18316. "type": "number"
  18317. },
  18318. "lotsize": {
  18319. "description": "手数最小变动单位",
  18320. "type": "integer"
  18321. },
  18322. "marketid": {
  18323. "description": "所属市场ID",
  18324. "type": "integer"
  18325. },
  18326. "picurls": {
  18327. "description": "介绍图片[多张用逗号分隔]",
  18328. "type": "string"
  18329. },
  18330. "quoteminunit": {
  18331. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18332. "type": "integer"
  18333. },
  18334. "stepvalue": {
  18335. "description": "价格最小变动单位",
  18336. "type": "number"
  18337. },
  18338. "trademode": {
  18339. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18340. "type": "integer"
  18341. }
  18342. }
  18343. },
  18344. "models.HsbyMyPackage": {
  18345. "type": "object",
  18346. "required": [
  18347. "goodscode",
  18348. "goodsname",
  18349. "takeorderid",
  18350. "trademode"
  18351. ],
  18352. "properties": {
  18353. "accountid": {
  18354. "description": "账户ID",
  18355. "type": "integer"
  18356. },
  18357. "address": {
  18358. "description": "提货人详细地址",
  18359. "type": "string"
  18360. },
  18361. "agreeunit": {
  18362. "description": "合约单位",
  18363. "type": "number"
  18364. },
  18365. "amount": {
  18366. "description": "提货金额",
  18367. "type": "number"
  18368. },
  18369. "auditer": {
  18370. "description": "审核人",
  18371. "type": "integer"
  18372. },
  18373. "audittime": {
  18374. "description": "审核时间",
  18375. "type": "string"
  18376. },
  18377. "averageprice": {
  18378. "description": "均价",
  18379. "type": "number"
  18380. },
  18381. "cardnum": {
  18382. "description": "提货人证件号码",
  18383. "type": "string"
  18384. },
  18385. "cardtypeid": {
  18386. "description": "提货人证件类型",
  18387. "type": "integer"
  18388. },
  18389. "checkremark": {
  18390. "description": "审核备注",
  18391. "type": "string"
  18392. },
  18393. "currencysign": {
  18394. "description": "货币符号",
  18395. "type": "string"
  18396. },
  18397. "decimalplace": {
  18398. "description": "报价小数位",
  18399. "type": "integer"
  18400. },
  18401. "goodscode": {
  18402. "description": "商品代码(内部)",
  18403. "type": "string"
  18404. },
  18405. "goodsid": {
  18406. "description": "商品ID",
  18407. "type": "integer"
  18408. },
  18409. "goodsname": {
  18410. "description": "商品名称",
  18411. "type": "string"
  18412. },
  18413. "handlestatus": {
  18414. "description": "处理状态",
  18415. "type": "integer"
  18416. },
  18417. "marketid": {
  18418. "description": "市场ID",
  18419. "type": "integer"
  18420. },
  18421. "phonenum": {
  18422. "description": "提货人联系方式",
  18423. "type": "string"
  18424. },
  18425. "picurls": {
  18426. "description": "介绍图片[多张用逗号分隔]",
  18427. "type": "string"
  18428. },
  18429. "qty": {
  18430. "description": "提货数量",
  18431. "type": "number"
  18432. },
  18433. "recivername": {
  18434. "description": "提货人姓名",
  18435. "type": "string"
  18436. },
  18437. "reqtime": {
  18438. "description": "更新时间",
  18439. "type": "string"
  18440. },
  18441. "takemode": {
  18442. "description": "提货方式 - 2:自提 3:配送",
  18443. "type": "integer"
  18444. },
  18445. "takeorderid": {
  18446. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18447. "type": "string"
  18448. },
  18449. "takeorderstatus": {
  18450. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18451. "type": "integer"
  18452. },
  18453. "takeremark": {
  18454. "description": "提货备注",
  18455. "type": "string"
  18456. },
  18457. "tradedate": {
  18458. "description": "交易日(yyyyMMdd)",
  18459. "type": "string"
  18460. },
  18461. "trademode": {
  18462. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18463. "type": "integer"
  18464. },
  18465. "userid": {
  18466. "description": "用户ID",
  18467. "type": "integer"
  18468. },
  18469. "vendorname": {
  18470. "description": "供应商名称",
  18471. "type": "string"
  18472. }
  18473. }
  18474. },
  18475. "models.HsbyPreGoods": {
  18476. "type": "object",
  18477. "required": [
  18478. "goodscode",
  18479. "goodsid",
  18480. "goodsname",
  18481. "marketid",
  18482. "trademode"
  18483. ],
  18484. "properties": {
  18485. "agreeunit": {
  18486. "description": "合约单位",
  18487. "type": "number"
  18488. },
  18489. "currency": {
  18490. "description": "货币",
  18491. "type": "string"
  18492. },
  18493. "currencysign": {
  18494. "description": "货币符号",
  18495. "type": "string"
  18496. },
  18497. "decimalplace": {
  18498. "description": "报价小数位",
  18499. "type": "integer"
  18500. },
  18501. "desccityid": {
  18502. "description": "目的地(市)",
  18503. "type": "integer"
  18504. },
  18505. "descprovinceid": {
  18506. "description": "目的地(省)",
  18507. "type": "integer"
  18508. },
  18509. "enableqty": {
  18510. "description": "剩余数量",
  18511. "type": "integer"
  18512. },
  18513. "goodscode": {
  18514. "description": "商品代码(内部)",
  18515. "type": "string"
  18516. },
  18517. "goodsid": {
  18518. "description": "商品ID(自增ID SEQ_GOODS)",
  18519. "type": "integer"
  18520. },
  18521. "goodsname": {
  18522. "description": "商品名称",
  18523. "type": "string"
  18524. },
  18525. "goodsstatus": {
  18526. "description": "商品状态- 2:未上市 3:上市",
  18527. "type": "integer"
  18528. },
  18529. "lasttradedate": {
  18530. "description": "最后交易日期(状态:待退市)",
  18531. "type": "string"
  18532. },
  18533. "listingdate": {
  18534. "description": "交易开始日期",
  18535. "type": "string"
  18536. },
  18537. "marketid": {
  18538. "description": "所属市场ID",
  18539. "type": "integer"
  18540. },
  18541. "picurls": {
  18542. "description": "介绍图片[多张用逗号分隔]",
  18543. "type": "string"
  18544. },
  18545. "presaledqty": {
  18546. "description": "已预售量(预售结束时更新)",
  18547. "type": "integer"
  18548. },
  18549. "presaleqty": {
  18550. "description": "预售数量",
  18551. "type": "integer"
  18552. },
  18553. "quoteminunit": {
  18554. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18555. "type": "integer"
  18556. },
  18557. "refprice": {
  18558. "description": "参考价格[一口价]",
  18559. "type": "number"
  18560. },
  18561. "relatedgoodsid": {
  18562. "description": "关联交易合约ID",
  18563. "type": "integer"
  18564. },
  18565. "trademode": {
  18566. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18567. "type": "integer"
  18568. },
  18569. "videourls": {
  18570. "description": "介绍视频[多张用逗号分隔]",
  18571. "type": "string"
  18572. }
  18573. }
  18574. },
  18575. "models.HsbyPreGoodsDetail": {
  18576. "type": "object",
  18577. "required": [
  18578. "goodscode",
  18579. "goodsid",
  18580. "goodsname",
  18581. "marketid",
  18582. "trademode"
  18583. ],
  18584. "properties": {
  18585. "agreeunit": {
  18586. "description": "合约单位",
  18587. "type": "number"
  18588. },
  18589. "buymaxqty": {
  18590. "description": "购买上限 [71] - 0为不限",
  18591. "type": "integer"
  18592. },
  18593. "currency": {
  18594. "description": "货币",
  18595. "type": "string"
  18596. },
  18597. "currencysign": {
  18598. "description": "货币符号",
  18599. "type": "string"
  18600. },
  18601. "customername": {
  18602. "description": "发行单位",
  18603. "type": "string"
  18604. },
  18605. "decimalplace": {
  18606. "description": "报价小数位",
  18607. "type": "integer"
  18608. },
  18609. "desccityid": {
  18610. "description": "目的地(市)ID",
  18611. "type": "integer"
  18612. },
  18613. "descprovinceid": {
  18614. "description": "目的地(省)ID",
  18615. "type": "integer"
  18616. },
  18617. "enableqty": {
  18618. "description": "剩余数量",
  18619. "type": "integer"
  18620. },
  18621. "goodscode": {
  18622. "description": "商品代码(内部)",
  18623. "type": "string"
  18624. },
  18625. "goodsdesc": {
  18626. "description": "商品详情",
  18627. "type": "string"
  18628. },
  18629. "goodsid": {
  18630. "description": "商品ID(自增ID SEQ_GOODS)",
  18631. "type": "integer"
  18632. },
  18633. "goodsname": {
  18634. "description": "商品名称",
  18635. "type": "string"
  18636. },
  18637. "goodsstatus": {
  18638. "description": "商品状态- 2:未上市 3:上市",
  18639. "type": "integer"
  18640. },
  18641. "goodunit": {
  18642. "description": "报价单位",
  18643. "type": "string"
  18644. },
  18645. "lasttradedate": {
  18646. "description": "最后交易日期(状态:待退市)",
  18647. "type": "string"
  18648. },
  18649. "listingdate": {
  18650. "description": "交易开始日期",
  18651. "type": "string"
  18652. },
  18653. "lotsize": {
  18654. "description": "手数最小变动单位",
  18655. "type": "integer"
  18656. },
  18657. "marketid": {
  18658. "description": "所属市场ID",
  18659. "type": "integer"
  18660. },
  18661. "picurls": {
  18662. "description": "介绍图片[多张用逗号分隔]",
  18663. "type": "string"
  18664. },
  18665. "presaledqty": {
  18666. "description": "已预售量(预售结束时更新)",
  18667. "type": "integer"
  18668. },
  18669. "presaleqty": {
  18670. "description": "预售数量",
  18671. "type": "integer"
  18672. },
  18673. "quoteminunit": {
  18674. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18675. "type": "integer"
  18676. },
  18677. "refprice": {
  18678. "description": "参考价格[一口价]",
  18679. "type": "number"
  18680. },
  18681. "relatedgoodsid": {
  18682. "description": "关联交易合约ID",
  18683. "type": "integer"
  18684. },
  18685. "stepvalue": {
  18686. "description": "价格最小变动单位",
  18687. "type": "number"
  18688. },
  18689. "trademode": {
  18690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18691. "type": "integer"
  18692. },
  18693. "vendorattr": {
  18694. "description": "供应商附件(多张,逗号分隔)",
  18695. "type": "string"
  18696. },
  18697. "vendorname": {
  18698. "description": "供应商名称",
  18699. "type": "string"
  18700. },
  18701. "vendorphone": {
  18702. "description": "供应商客服电话",
  18703. "type": "string"
  18704. },
  18705. "videourls": {
  18706. "description": "介绍视频[多张用逗号分隔]",
  18707. "type": "string"
  18708. }
  18709. }
  18710. },
  18711. "models.HsbySellCollectionOrder": {
  18712. "type": "object",
  18713. "required": [
  18714. "goodscode",
  18715. "goodsname",
  18716. "tradeid",
  18717. "trademode"
  18718. ],
  18719. "properties": {
  18720. "agreeunit": {
  18721. "description": "合约单位",
  18722. "type": "number"
  18723. },
  18724. "buyaccountid": {
  18725. "description": "买方账号ID[报价币种]",
  18726. "type": "integer"
  18727. },
  18728. "buyorderid": {
  18729. "description": "买方委托单号",
  18730. "type": "string"
  18731. },
  18732. "createtime": {
  18733. "description": "创建时间",
  18734. "type": "string"
  18735. },
  18736. "currencysign": {
  18737. "description": "货币符号",
  18738. "type": "string"
  18739. },
  18740. "decimalplace": {
  18741. "description": "报价小数位",
  18742. "type": "integer"
  18743. },
  18744. "goodscode": {
  18745. "description": "商品代码(内部)",
  18746. "type": "string"
  18747. },
  18748. "goodsid": {
  18749. "description": "商品ID",
  18750. "type": "integer"
  18751. },
  18752. "goodsname": {
  18753. "description": "商品名称",
  18754. "type": "string"
  18755. },
  18756. "marketid": {
  18757. "description": "市场ID",
  18758. "type": "integer"
  18759. },
  18760. "offamount": {
  18761. "description": "优惠金额",
  18762. "type": "number"
  18763. },
  18764. "payamount": {
  18765. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  18766. "type": "number"
  18767. },
  18768. "payflag": {
  18769. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18770. "type": "integer"
  18771. },
  18772. "paylimitedtime": {
  18773. "description": "支付期限",
  18774. "type": "string"
  18775. },
  18776. "paytime": {
  18777. "description": "付款时间",
  18778. "type": "string"
  18779. },
  18780. "picurls": {
  18781. "description": "商品介绍图片[多张用逗号分隔]",
  18782. "type": "string"
  18783. },
  18784. "sellaccountid": {
  18785. "description": "卖方账号ID[报价币种]",
  18786. "type": "integer"
  18787. },
  18788. "sellorderid": {
  18789. "description": "卖方委托单号",
  18790. "type": "string"
  18791. },
  18792. "tradeamount": {
  18793. "description": "成交金额",
  18794. "type": "number"
  18795. },
  18796. "tradecharge": {
  18797. "description": "成交手续费(买方)",
  18798. "type": "number"
  18799. },
  18800. "tradedate": {
  18801. "description": "交易日(yyyyMMdd)",
  18802. "type": "string"
  18803. },
  18804. "tradeid": {
  18805. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18806. "type": "string"
  18807. },
  18808. "trademode": {
  18809. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18810. "type": "integer"
  18811. },
  18812. "tradeprice": {
  18813. "description": "成交价格",
  18814. "type": "number"
  18815. },
  18816. "tradeqty": {
  18817. "description": "成交数量",
  18818. "type": "integer"
  18819. }
  18820. }
  18821. },
  18822. "models.HsbySellMyDetail": {
  18823. "type": "object",
  18824. "required": [
  18825. "accountid",
  18826. "buyorsell",
  18827. "goodscode",
  18828. "goodsid",
  18829. "goodsname",
  18830. "marketid",
  18831. "orderid",
  18832. "time",
  18833. "trademode"
  18834. ],
  18835. "properties": {
  18836. "accountid": {
  18837. "description": "账户ID[报价币种]",
  18838. "type": "integer"
  18839. },
  18840. "agreeunit": {
  18841. "description": "合约单位",
  18842. "type": "number"
  18843. },
  18844. "buyorsell": {
  18845. "description": "买卖 - 0:买 1:卖",
  18846. "type": "integer"
  18847. },
  18848. "currencysign": {
  18849. "description": "货币符号",
  18850. "type": "string"
  18851. },
  18852. "decimalplace": {
  18853. "description": "报价小数位",
  18854. "type": "integer"
  18855. },
  18856. "goodscode": {
  18857. "description": "商品代码(内部)",
  18858. "type": "string"
  18859. },
  18860. "goodsid": {
  18861. "description": "商品ID",
  18862. "type": "integer"
  18863. },
  18864. "goodsname": {
  18865. "description": "商品名称",
  18866. "type": "string"
  18867. },
  18868. "marketid": {
  18869. "description": "市场ID",
  18870. "type": "integer"
  18871. },
  18872. "orderid": {
  18873. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  18874. "type": "string"
  18875. },
  18876. "ordertype": {
  18877. "description": "单据类型:0 - 发布中, 1 - 已完成",
  18878. "type": "integer"
  18879. },
  18880. "picurls": {
  18881. "description": "介绍图片[多张用逗号分隔]",
  18882. "type": "string"
  18883. },
  18884. "price": {
  18885. "description": "价格",
  18886. "type": "number"
  18887. },
  18888. "qty": {
  18889. "description": "数量",
  18890. "type": "integer"
  18891. },
  18892. "time": {
  18893. "description": "时间",
  18894. "type": "string"
  18895. },
  18896. "trademode": {
  18897. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18898. "type": "integer"
  18899. },
  18900. "vendorname": {
  18901. "description": "供应商名称",
  18902. "type": "string"
  18903. }
  18904. }
  18905. },
  18906. "models.HsbyTopGoods": {
  18907. "type": "object",
  18908. "required": [
  18909. "goodscode",
  18910. "goodsid",
  18911. "goodsname",
  18912. "marketid",
  18913. "trademode"
  18914. ],
  18915. "properties": {
  18916. "agreeunit": {
  18917. "description": "合约单位",
  18918. "type": "number"
  18919. },
  18920. "currency": {
  18921. "description": "货币",
  18922. "type": "string"
  18923. },
  18924. "currencysign": {
  18925. "description": "货币符号",
  18926. "type": "string"
  18927. },
  18928. "decimalplace": {
  18929. "description": "报价小数位",
  18930. "type": "integer"
  18931. },
  18932. "desccityid": {
  18933. "description": "目的地(市)",
  18934. "type": "integer"
  18935. },
  18936. "descprovinceid": {
  18937. "description": "目的地(省)",
  18938. "type": "integer"
  18939. },
  18940. "goodscode": {
  18941. "description": "商品代码(内部)",
  18942. "type": "string"
  18943. },
  18944. "goodsid": {
  18945. "description": "商品ID(自增ID SEQ_GOODS)",
  18946. "type": "integer"
  18947. },
  18948. "goodsname": {
  18949. "description": "商品名称",
  18950. "type": "string"
  18951. },
  18952. "hotindex": {
  18953. "description": "景点热度",
  18954. "type": "integer"
  18955. },
  18956. "last": {
  18957. "description": "现价",
  18958. "type": "number"
  18959. },
  18960. "marketid": {
  18961. "description": "所属市场ID",
  18962. "type": "integer"
  18963. },
  18964. "picurls": {
  18965. "description": "介绍图片[多张用逗号分隔]",
  18966. "type": "string"
  18967. },
  18968. "quoteminunit": {
  18969. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18970. "type": "integer"
  18971. },
  18972. "trademode": {
  18973. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18974. "type": "integer"
  18975. },
  18976. "videourls": {
  18977. "description": "介绍视频[多张用逗号分隔]",
  18978. "type": "string"
  18979. }
  18980. }
  18981. },
  18982. "models.HybsMyBuyOrderDetail": {
  18983. "type": "object",
  18984. "required": [
  18985. "accountid",
  18986. "buyorsell",
  18987. "goodscode",
  18988. "goodsid",
  18989. "goodsname",
  18990. "marketid",
  18991. "orderid",
  18992. "orderqty",
  18993. "ordertime",
  18994. "trademode"
  18995. ],
  18996. "properties": {
  18997. "accountid": {
  18998. "description": "账户ID[报价币种]",
  18999. "type": "integer"
  19000. },
  19001. "agreeunit": {
  19002. "description": "合约单位",
  19003. "type": "number"
  19004. },
  19005. "buyorsell": {
  19006. "description": "买卖 - 0:买 1:卖",
  19007. "type": "integer"
  19008. },
  19009. "cancelqty": {
  19010. "description": "撤单数量",
  19011. "type": "integer"
  19012. },
  19013. "currencysign": {
  19014. "description": "货币符号",
  19015. "type": "string"
  19016. },
  19017. "decimalplace": {
  19018. "description": "报价小数位",
  19019. "type": "integer"
  19020. },
  19021. "goodscode": {
  19022. "description": "商品代码(内部)",
  19023. "type": "string"
  19024. },
  19025. "goodsid": {
  19026. "description": "商品ID",
  19027. "type": "integer"
  19028. },
  19029. "goodsname": {
  19030. "description": "商品名称",
  19031. "type": "string"
  19032. },
  19033. "listingselecttype": {
  19034. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19035. "type": "integer"
  19036. },
  19037. "marketid": {
  19038. "description": "市场ID",
  19039. "type": "integer"
  19040. },
  19041. "mybuystatus": {
  19042. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19043. "type": "integer"
  19044. },
  19045. "orderamount": {
  19046. "description": "委托金额",
  19047. "type": "number"
  19048. },
  19049. "orderid": {
  19050. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19051. "type": "string"
  19052. },
  19053. "orderprice": {
  19054. "description": "委托价格",
  19055. "type": "number"
  19056. },
  19057. "orderqty": {
  19058. "description": "委托数量",
  19059. "type": "integer"
  19060. },
  19061. "orderstatus": {
  19062. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19063. "type": "integer"
  19064. },
  19065. "ordertime": {
  19066. "description": "委托时间",
  19067. "type": "string"
  19068. },
  19069. "picurls1": {
  19070. "description": "预售商品介绍图片[多张用逗号分隔]",
  19071. "type": "string"
  19072. },
  19073. "picurls2": {
  19074. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19075. "type": "string"
  19076. },
  19077. "trademode": {
  19078. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19079. "type": "integer"
  19080. },
  19081. "tradeqty": {
  19082. "description": "成交数量",
  19083. "type": "integer"
  19084. },
  19085. "vendorname1": {
  19086. "description": "预售商品供应商名称",
  19087. "type": "string"
  19088. },
  19089. "vendorname2": {
  19090. "description": "挂牌商品供应商名称",
  19091. "type": "string"
  19092. }
  19093. }
  19094. },
  19095. "models.Loginaccount": {
  19096. "type": "object",
  19097. "required": [
  19098. "loginid"
  19099. ],
  19100. "properties": {
  19101. "canoutin": {
  19102. "description": "是否可出入金 - 0:不可 1:可",
  19103. "type": "integer"
  19104. },
  19105. "clientroleid": {
  19106. "description": "终端角色ID",
  19107. "type": "integer"
  19108. },
  19109. "haslogined": {
  19110. "description": "是否已登录 - 0:未登录 1:已登录",
  19111. "type": "integer"
  19112. },
  19113. "hasupdatedpwd": {
  19114. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19115. "type": "integer"
  19116. },
  19117. "lastloginip": {
  19118. "description": "最新登录地址",
  19119. "type": "string"
  19120. },
  19121. "lastloginmode": {
  19122. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19123. "type": "integer"
  19124. },
  19125. "lastloginremark": {
  19126. "description": "最新登录描述",
  19127. "type": "string"
  19128. },
  19129. "lastlogintime": {
  19130. "description": "最新登录时间",
  19131. "type": "string"
  19132. },
  19133. "logincode": {
  19134. "description": "登录代码",
  19135. "type": "string"
  19136. },
  19137. "loginfailnum": {
  19138. "description": "连续登录失败次数(登录成功时清零)",
  19139. "type": "integer"
  19140. },
  19141. "loginid": {
  19142. "description": "登陆账号",
  19143. "type": "integer"
  19144. },
  19145. "loginport": {
  19146. "description": "最新登录端口",
  19147. "type": "integer"
  19148. },
  19149. "loginstatus": {
  19150. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19151. "type": "integer"
  19152. },
  19153. "loginusertype": {
  19154. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19155. "type": "integer"
  19156. },
  19157. "modifierid": {
  19158. "description": "修改人",
  19159. "type": "integer"
  19160. },
  19161. "modifytime": {
  19162. "description": "修改时间",
  19163. "type": "string"
  19164. },
  19165. "pwdwrongcount": {
  19166. "description": "密码错误次数",
  19167. "type": "integer"
  19168. },
  19169. "taaccountrighttype": {
  19170. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19171. "type": "integer"
  19172. },
  19173. "unfreezetime": {
  19174. "description": "账户解冻时间",
  19175. "type": "string"
  19176. },
  19177. "userid": {
  19178. "description": "用户ID",
  19179. "type": "integer"
  19180. }
  19181. }
  19182. },
  19183. "models.MainAccountInfo": {
  19184. "type": "object",
  19185. "properties": {
  19186. "accountid": {
  19187. "description": "账号id",
  19188. "type": "integer"
  19189. },
  19190. "accountname": {
  19191. "description": "账号名称(taaccount表中的名称)",
  19192. "type": "string"
  19193. },
  19194. "appid": {
  19195. "description": "AppID",
  19196. "type": "string"
  19197. },
  19198. "authcode": {
  19199. "description": "授权码",
  19200. "type": "string"
  19201. },
  19202. "brokerid": {
  19203. "description": "经纪商id",
  19204. "type": "string"
  19205. },
  19206. "fcid": {
  19207. "description": "期货公司id",
  19208. "type": "integer"
  19209. },
  19210. "fcname": {
  19211. "description": "期货公司代码",
  19212. "type": "string"
  19213. },
  19214. "hedgeaccountcode": {
  19215. "description": "外部账号代码(主账号登录代码)",
  19216. "type": "string"
  19217. },
  19218. "hedgeaccountpwd": {
  19219. "description": "密码",
  19220. "type": "string"
  19221. },
  19222. "ismain": {
  19223. "description": "是否主账号",
  19224. "type": "integer"
  19225. },
  19226. "relateduserid": {
  19227. "description": "关联用户id",
  19228. "type": "integer"
  19229. },
  19230. "userid": {
  19231. "description": "关联用户id",
  19232. "type": "integer"
  19233. }
  19234. }
  19235. },
  19236. "models.Market": {
  19237. "type": "object",
  19238. "required": [
  19239. "marketid",
  19240. "marketstatus",
  19241. "openmethod",
  19242. "reckonpricealgorithm",
  19243. "trademode",
  19244. "tradeproperty"
  19245. ],
  19246. "properties": {
  19247. "auctionwrtype": {
  19248. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19249. "type": "integer"
  19250. },
  19251. "canacceptquote": {
  19252. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19253. "type": "integer"
  19254. },
  19255. "cangoodsexercise": {
  19256. "description": "[期权]是否可现货行权- 0:否 1:是",
  19257. "type": "integer"
  19258. },
  19259. "cangoodsexercisetype": {
  19260. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19261. "type": "integer"
  19262. },
  19263. "canmanualquotestrike": {
  19264. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19265. "type": "integer"
  19266. },
  19267. "canmutistage": {
  19268. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19269. "type": "integer"
  19270. },
  19271. "canpreexercise": {
  19272. "description": "[期权]是否可预申报- 0:否 1:是",
  19273. "type": "integer"
  19274. },
  19275. "clearinterval": {
  19276. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19277. "type": "integer"
  19278. },
  19279. "contracttmp": {
  19280. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19281. "type": "string"
  19282. },
  19283. "exchareaid": {
  19284. "description": "所属交易所,可以没有",
  19285. "type": "integer"
  19286. },
  19287. "goodstype": {
  19288. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19289. "type": "integer"
  19290. },
  19291. "hasrebate": {
  19292. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19293. "type": "integer"
  19294. },
  19295. "hastradecredit": {
  19296. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19297. "type": "integer"
  19298. },
  19299. "haswr": {
  19300. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19301. "type": "integer"
  19302. },
  19303. "isdeductmargin": {
  19304. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19305. "type": "integer"
  19306. },
  19307. "isrecordsource": {
  19308. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19309. "type": "integer"
  19310. },
  19311. "isreleasemargin": {
  19312. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19313. "type": "integer"
  19314. },
  19315. "marginformula": {
  19316. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19317. "type": "integer"
  19318. },
  19319. "marginformula2": {
  19320. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19321. "type": "integer"
  19322. },
  19323. "marketid": {
  19324. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19325. "type": "integer"
  19326. },
  19327. "marketname": {
  19328. "description": "市场名称",
  19329. "type": "string"
  19330. },
  19331. "marketserviceid": {
  19332. "description": "市场服务ID",
  19333. "type": "integer"
  19334. },
  19335. "marketstatus": {
  19336. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19337. "type": "integer"
  19338. },
  19339. "markettype": {
  19340. "description": "市场类型- 1:非交易服务 2:交易服务",
  19341. "type": "integer"
  19342. },
  19343. "matchermode": {
  19344. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19345. "type": "integer"
  19346. },
  19347. "openmethod": {
  19348. "description": "开盘模式 - 0 自动 1手动",
  19349. "type": "integer"
  19350. },
  19351. "otcuserid": {
  19352. "description": "场外期权做市商[场外期权]",
  19353. "type": "integer"
  19354. },
  19355. "outersynctime": {
  19356. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19357. "type": "string"
  19358. },
  19359. "pendingflag": {
  19360. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19361. "type": "integer"
  19362. },
  19363. "pendingtime": {
  19364. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19365. "type": "string"
  19366. },
  19367. "performancetempid": {
  19368. "description": "履约计划模板ID - 作废",
  19369. "type": "integer"
  19370. },
  19371. "premiumquotemode": {
  19372. "description": "权利金报价方式 - 1:自动 2:手动",
  19373. "type": "integer"
  19374. },
  19375. "rebateratio": {
  19376. "description": "返利比率[竞价式]",
  19377. "type": "number"
  19378. },
  19379. "reckonorder": {
  19380. "description": "结算顺序",
  19381. "type": "integer"
  19382. },
  19383. "reckonpricealgorithm": {
  19384. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19385. "type": "integer"
  19386. },
  19387. "reckonpriceparam": {
  19388. "description": "结算价参数",
  19389. "type": "integer"
  19390. },
  19391. "reckontime": {
  19392. "description": "结算时间[通道交易-对冲](HH:mm)",
  19393. "type": "string"
  19394. },
  19395. "roleprioritytype": {
  19396. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19397. "type": "integer"
  19398. },
  19399. "selllistingauditflag": {
  19400. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19401. "type": "integer"
  19402. },
  19403. "trademarkettype": {
  19404. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19405. "type": "integer"
  19406. },
  19407. "trademode": {
  19408. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19409. "type": "integer"
  19410. },
  19411. "tradeproperty": {
  19412. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19413. "type": "integer"
  19414. },
  19415. "tradetype": {
  19416. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19417. "type": "integer"
  19418. }
  19419. }
  19420. },
  19421. "models.Marketrun": {
  19422. "type": "object",
  19423. "required": [
  19424. "marketid",
  19425. "nexttradedate",
  19426. "reckonflag",
  19427. "runstatus",
  19428. "tradedate",
  19429. "tradedate2"
  19430. ],
  19431. "properties": {
  19432. "afternexttradedate": {
  19433. "description": "下下交易日",
  19434. "type": "string"
  19435. },
  19436. "clearquoteflag": {
  19437. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19438. "type": "integer"
  19439. },
  19440. "lastreckondate": {
  19441. "description": "最新交易日(结算成功)",
  19442. "type": "string"
  19443. },
  19444. "machinedate": {
  19445. "description": "机器时间",
  19446. "type": "string"
  19447. },
  19448. "manualflag": {
  19449. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19450. "type": "integer"
  19451. },
  19452. "marketid": {
  19453. "description": "市场ID",
  19454. "type": "integer"
  19455. },
  19456. "nexttradedate": {
  19457. "description": "下一交易日",
  19458. "type": "string"
  19459. },
  19460. "pretradedate": {
  19461. "description": "上一交易日",
  19462. "type": "string"
  19463. },
  19464. "reckonflag": {
  19465. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19466. "type": "integer"
  19467. },
  19468. "runstatus": {
  19469. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  19470. "type": "integer"
  19471. },
  19472. "sectionid": {
  19473. "description": "时间段号[多时段时用]",
  19474. "type": "integer"
  19475. },
  19476. "tradedate": {
  19477. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19478. "type": "string"
  19479. },
  19480. "tradedate2": {
  19481. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19482. "type": "string"
  19483. },
  19484. "updatetime": {
  19485. "description": "更新时间",
  19486. "type": "string"
  19487. }
  19488. }
  19489. },
  19490. "models.Messageboard": {
  19491. "type": "object",
  19492. "required": [
  19493. "messageboardid"
  19494. ],
  19495. "properties": {
  19496. "contactnum": {
  19497. "description": "联系电话",
  19498. "type": "string"
  19499. },
  19500. "createtime": {
  19501. "description": "创建时间",
  19502. "type": "string"
  19503. },
  19504. "message": {
  19505. "description": "留言信息",
  19506. "type": "string"
  19507. },
  19508. "messageboardid": {
  19509. "description": "留言簿ID(SEQ_MessageBoard)",
  19510. "type": "integer"
  19511. },
  19512. "userid": {
  19513. "description": "用户ID",
  19514. "type": "integer"
  19515. }
  19516. }
  19517. },
  19518. "models.MyCoupon": {
  19519. "type": "object",
  19520. "required": [
  19521. "accountid",
  19522. "coupontypeid"
  19523. ],
  19524. "properties": {
  19525. "accountid": {
  19526. "description": "资金账户ID",
  19527. "type": "integer"
  19528. },
  19529. "areauserid": {
  19530. "description": "所属机构",
  19531. "type": "integer"
  19532. },
  19533. "conditionvalue": {
  19534. "description": "条件阈值(可为0)",
  19535. "type": "number"
  19536. },
  19537. "couponcategroy": {
  19538. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19539. "type": "integer"
  19540. },
  19541. "couponname": {
  19542. "description": "优惠券名称",
  19543. "type": "string"
  19544. },
  19545. "coupontypeid": {
  19546. "description": "优惠券类型ID",
  19547. "type": "string"
  19548. },
  19549. "couponvalue": {
  19550. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19551. "type": "number"
  19552. },
  19553. "curfreezeqty": {
  19554. "description": "期末冻结数量",
  19555. "type": "integer"
  19556. },
  19557. "curqty": {
  19558. "description": "期末数量",
  19559. "type": "integer"
  19560. },
  19561. "isgeneral": {
  19562. "description": "是否通用券 - 0:否 1:是",
  19563. "type": "integer"
  19564. },
  19565. "isunusable": {
  19566. "description": "是否不可用",
  19567. "type": "boolean"
  19568. },
  19569. "limitedflag": {
  19570. "description": "是否指定商品 - 0:不限 1:限制",
  19571. "type": "integer"
  19572. },
  19573. "limitedgoodsids": {
  19574. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19575. "type": "string"
  19576. },
  19577. "orifreezeqty": {
  19578. "description": "期初冻结数量",
  19579. "type": "integer"
  19580. },
  19581. "oriqty": {
  19582. "description": "期初数量",
  19583. "type": "integer"
  19584. },
  19585. "reasontype": {
  19586. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19587. "type": "integer"
  19588. },
  19589. "todaydecrease": {
  19590. "description": "今日减少",
  19591. "type": "integer"
  19592. },
  19593. "todayincrease": {
  19594. "description": "今日增加",
  19595. "type": "integer"
  19596. },
  19597. "userid": {
  19598. "description": "用户ID",
  19599. "type": "integer"
  19600. },
  19601. "userscope": {
  19602. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19603. "type": "string"
  19604. }
  19605. }
  19606. },
  19607. "models.MyCouponHold": {
  19608. "type": "object",
  19609. "required": [
  19610. "couponholdid"
  19611. ],
  19612. "properties": {
  19613. "accountid": {
  19614. "description": "资金账户ID",
  19615. "type": "integer"
  19616. },
  19617. "conditionvalue": {
  19618. "description": "条件阈值(可为0)",
  19619. "type": "number"
  19620. },
  19621. "couponcategroy": {
  19622. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19623. "type": "integer"
  19624. },
  19625. "couponholdid": {
  19626. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19627. "type": "string"
  19628. },
  19629. "couponname": {
  19630. "description": "优惠券名称",
  19631. "type": "string"
  19632. },
  19633. "coupontypeid": {
  19634. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19635. "type": "string"
  19636. },
  19637. "couponvalue": {
  19638. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19639. "type": "number"
  19640. },
  19641. "createtime": {
  19642. "description": "创建时间",
  19643. "type": "string"
  19644. },
  19645. "enddate": {
  19646. "description": "结束日期",
  19647. "type": "string"
  19648. },
  19649. "giveapplyid": {
  19650. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19651. "type": "integer"
  19652. },
  19653. "holdstatus": {
  19654. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19655. "type": "integer"
  19656. },
  19657. "isgeneral": {
  19658. "description": "是否通用券 - 0:否 1:是",
  19659. "type": "integer"
  19660. },
  19661. "limitedflag": {
  19662. "description": "是否指定商品 - 0:不限 1:限制",
  19663. "type": "integer"
  19664. },
  19665. "limitedgoodsids": {
  19666. "description": "指定商品IDs[逗号分隔]",
  19667. "type": "string"
  19668. },
  19669. "qty": {
  19670. "description": "数量(按1平铺)",
  19671. "type": "integer"
  19672. },
  19673. "startdate": {
  19674. "description": "开始日期",
  19675. "type": "string"
  19676. },
  19677. "userid": {
  19678. "description": "用户ID",
  19679. "type": "integer"
  19680. },
  19681. "userscope": {
  19682. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19683. "type": "string"
  19684. }
  19685. }
  19686. },
  19687. "models.MyUsedCoupon": {
  19688. "type": "object",
  19689. "required": [
  19690. "coupontypeid",
  19691. "orderid"
  19692. ],
  19693. "properties": {
  19694. "accountid": {
  19695. "description": "资金账户ID(买方)",
  19696. "type": "integer"
  19697. },
  19698. "conditionvalue": {
  19699. "description": "条件阈值(可为0)",
  19700. "type": "number"
  19701. },
  19702. "couponcategroy": {
  19703. "description": "种类 - 1:现金券 2:折扣券",
  19704. "type": "integer"
  19705. },
  19706. "couponname": {
  19707. "description": "优惠券名称",
  19708. "type": "string"
  19709. },
  19710. "coupontypeid": {
  19711. "description": "优惠券类型ID(买方)",
  19712. "type": "string"
  19713. },
  19714. "couponvalue": {
  19715. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  19716. "type": "number"
  19717. },
  19718. "createtime": {
  19719. "description": "创建时间",
  19720. "type": "string"
  19721. },
  19722. "goodsid": {
  19723. "description": "商品ID",
  19724. "type": "integer"
  19725. },
  19726. "handlestatus": {
  19727. "description": "处理状态",
  19728. "type": "integer"
  19729. },
  19730. "marketid": {
  19731. "description": "市场ID",
  19732. "type": "integer"
  19733. },
  19734. "offamount": {
  19735. "description": "优惠金额",
  19736. "type": "number"
  19737. },
  19738. "orderid": {
  19739. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19740. "type": "string"
  19741. },
  19742. "sellaccountid": {
  19743. "description": "资金账户ID(卖方)",
  19744. "type": "integer"
  19745. },
  19746. "tradeamount": {
  19747. "description": "成交金额",
  19748. "type": "number"
  19749. },
  19750. "tradeid": {
  19751. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19752. "type": "string"
  19753. },
  19754. "usedqty": {
  19755. "description": "使用数量",
  19756. "type": "integer"
  19757. }
  19758. }
  19759. },
  19760. "models.OperationPrimaryMenu": {
  19761. "type": "object",
  19762. "properties": {
  19763. "Children": {
  19764. "description": "二级功能菜单",
  19765. "type": "array",
  19766. "items": {
  19767. "$ref": "#/definitions/models.OperationSecondaryMenu"
  19768. }
  19769. },
  19770. "Key": {
  19771. "description": "菜单KEY",
  19772. "type": "string"
  19773. },
  19774. "Label": {
  19775. "description": "菜单标题",
  19776. "type": "string"
  19777. }
  19778. }
  19779. },
  19780. "models.OperationSecondaryMenu": {
  19781. "type": "object",
  19782. "properties": {
  19783. "Key": {
  19784. "description": "菜单KEY",
  19785. "type": "string"
  19786. },
  19787. "Label": {
  19788. "description": "菜单标题",
  19789. "type": "string"
  19790. },
  19791. "TabList": {
  19792. "description": "三级功能菜单",
  19793. "type": "array",
  19794. "items": {
  19795. "$ref": "#/definitions/models.OperationTabMenu"
  19796. }
  19797. }
  19798. }
  19799. },
  19800. "models.OperationTabMenu": {
  19801. "type": "object",
  19802. "properties": {
  19803. "Key": {
  19804. "description": "菜单KEY",
  19805. "type": "string"
  19806. },
  19807. "Label": {
  19808. "description": "菜单标题",
  19809. "type": "string"
  19810. }
  19811. }
  19812. },
  19813. "models.PendingAuditBizModel": {
  19814. "type": "object",
  19815. "properties": {
  19816. "accountid": {
  19817. "description": "现货账户",
  19818. "type": "string"
  19819. },
  19820. "areaname": {
  19821. "description": "所属部门",
  19822. "type": "string"
  19823. },
  19824. "bizid": {
  19825. "description": "业务ID",
  19826. "type": "string"
  19827. },
  19828. "bizname": {
  19829. "description": "业务名称",
  19830. "type": "string"
  19831. },
  19832. "status": {
  19833. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19834. "type": "integer"
  19835. },
  19836. "type": {
  19837. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19838. "type": "integer"
  19839. }
  19840. }
  19841. },
  19842. "models.QhjContract": {
  19843. "type": "object",
  19844. "properties": {
  19845. "contractconfirmtime": {
  19846. "description": "合同确认时间(时间)",
  19847. "type": "string"
  19848. },
  19849. "enumdicname": {
  19850. "description": "单位名称",
  19851. "type": "string"
  19852. },
  19853. "goodscode": {
  19854. "description": "商品代码",
  19855. "type": "string"
  19856. },
  19857. "goodsid": {
  19858. "description": "商品ID [5:融资单]",
  19859. "type": "integer"
  19860. },
  19861. "goodsname": {
  19862. "description": "商品名称",
  19863. "type": "string"
  19864. },
  19865. "goodunitid": {
  19866. "description": "商品单位id",
  19867. "type": "integer"
  19868. },
  19869. "initmargin": {
  19870. "description": "初始保证金(首付款)",
  19871. "type": "number"
  19872. },
  19873. "lenderamount": {
  19874. "description": "贷款金额(总额|订单总额)",
  19875. "type": "number"
  19876. },
  19877. "marginratio": {
  19878. "description": "保证金比率(首付比例)",
  19879. "type": "number"
  19880. },
  19881. "payamount": {
  19882. "description": "已付(已付货款)",
  19883. "type": "number"
  19884. },
  19885. "recoveredmargin": {
  19886. "description": "已追缴保证金",
  19887. "type": "number"
  19888. },
  19889. "remainamount": {
  19890. "description": "合同剩余金额(融资额)",
  19891. "type": "number"
  19892. },
  19893. "scfcontractid": {
  19894. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  19895. "type": "integer"
  19896. },
  19897. "scfcontracttype": {
  19898. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  19899. "type": "integer"
  19900. },
  19901. "totalinterest": {
  19902. "description": "已计总利息(利息)",
  19903. "type": "number"
  19904. },
  19905. "tradeprice": {
  19906. "description": "成交价格(成本价格)",
  19907. "type": "number"
  19908. },
  19909. "userid": {
  19910. "description": "用户ID",
  19911. "type": "integer"
  19912. },
  19913. "username": {
  19914. "description": "用户名称",
  19915. "type": "string"
  19916. },
  19917. "wrqty": {
  19918. "description": "仓单数量(数量)",
  19919. "type": "integer"
  19920. }
  19921. }
  19922. },
  19923. "models.QhjContractLog": {
  19924. "type": "object",
  19925. "properties": {
  19926. "amount": {
  19927. "description": "支付金额",
  19928. "type": "number"
  19929. },
  19930. "amounttype": {
  19931. "description": "资金类型 - 1:首付款2:尾款 3:利息 4:追加款",
  19932. "type": "integer"
  19933. },
  19934. "logid": {
  19935. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19936. "type": "string"
  19937. },
  19938. "remainamount": {
  19939. "description": "剩余货款",
  19940. "type": "number"
  19941. },
  19942. "scfcontractid": {
  19943. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  19944. "type": "integer"
  19945. },
  19946. "updatetime": {
  19947. "description": "更新时间",
  19948. "type": "string"
  19949. }
  19950. }
  19951. },
  19952. "models.QueryErrorInfosRsp": {
  19953. "type": "object",
  19954. "required": [
  19955. "errorid"
  19956. ],
  19957. "properties": {
  19958. "description": {
  19959. "description": "异常描述",
  19960. "type": "string"
  19961. },
  19962. "errorcode": {
  19963. "description": "异常代码",
  19964. "type": "string"
  19965. },
  19966. "errorid": {
  19967. "description": "异常ID",
  19968. "type": "integer"
  19969. },
  19970. "modulecode": {
  19971. "description": "所属模块",
  19972. "type": "string"
  19973. },
  19974. "operatecode": {
  19975. "description": "所属操作",
  19976. "type": "string"
  19977. },
  19978. "rownumber": {
  19979. "description": "行号",
  19980. "type": "string"
  19981. }
  19982. }
  19983. },
  19984. "models.QueryHedgeOrderDetailRsp": {
  19985. "type": "object",
  19986. "properties": {
  19987. "accountid": {
  19988. "description": "账户ID",
  19989. "type": "integer"
  19990. },
  19991. "buyorsell": {
  19992. "description": "买卖 - 0:买 1:卖",
  19993. "type": "integer"
  19994. },
  19995. "cancellogincode": {
  19996. "description": "撤单人",
  19997. "type": "string"
  19998. },
  19999. "channelbuildtype": {
  20000. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  20001. "type": "integer"
  20002. },
  20003. "channelinnerorderstatus": {
  20004. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  20005. "type": "integer"
  20006. },
  20007. "channeloperatetype": {
  20008. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  20009. "type": "integer"
  20010. },
  20011. "closetype": {
  20012. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20013. "type": "integer"
  20014. },
  20015. "curexchangerate": {
  20016. "description": "当前汇率",
  20017. "type": "number"
  20018. },
  20019. "exchangefullname": {
  20020. "description": "外部交易所全称",
  20021. "type": "string"
  20022. },
  20023. "goodscode": {
  20024. "description": "商品代码(内部)",
  20025. "type": "string"
  20026. },
  20027. "goodsid": {
  20028. "description": "商品ID",
  20029. "type": "integer"
  20030. },
  20031. "goodsname": {
  20032. "description": "商品名称",
  20033. "type": "string"
  20034. },
  20035. "marketid": {
  20036. "description": "市场ID",
  20037. "type": "integer"
  20038. },
  20039. "openfreezemargin": {
  20040. "description": "冻结保证金(冻结交易金额)",
  20041. "type": "number"
  20042. },
  20043. "orderid": {
  20044. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20045. "type": "string"
  20046. },
  20047. "orderlogincode": {
  20048. "description": "委托人",
  20049. "type": "string"
  20050. },
  20051. "orderprice": {
  20052. "description": "委托价格(账户)",
  20053. "type": "number"
  20054. },
  20055. "orderqty": {
  20056. "description": "委托数量",
  20057. "type": "integer"
  20058. },
  20059. "ordertime": {
  20060. "description": "委托时间",
  20061. "type": "string"
  20062. },
  20063. "pricemode": {
  20064. "description": "取价方式 - 1:市价 2: 限价",
  20065. "type": "integer"
  20066. },
  20067. "tradedate": {
  20068. "description": "交易日(yyyyMMdd)",
  20069. "type": "string"
  20070. },
  20071. "tradeqty": {
  20072. "description": "成交数量",
  20073. "type": "integer"
  20074. }
  20075. }
  20076. },
  20077. "models.QueryHedgeTradeDetailRsp": {
  20078. "type": "object",
  20079. "properties": {
  20080. "accountid": {
  20081. "description": "账号ID",
  20082. "type": "integer"
  20083. },
  20084. "buyorsell": {
  20085. "description": "方向 - 0:买 1:卖",
  20086. "type": "integer"
  20087. },
  20088. "channelbuildtype": {
  20089. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20090. "type": "integer"
  20091. },
  20092. "closecharge": {
  20093. "description": "平仓手续费(账户)",
  20094. "type": "number"
  20095. },
  20096. "closecharge2": {
  20097. "description": "平仓手续费(商品)",
  20098. "type": "number"
  20099. },
  20100. "closepl": {
  20101. "description": "平仓盈亏(账户)",
  20102. "type": "number"
  20103. },
  20104. "closepl2": {
  20105. "description": "平仓盈亏(商品)",
  20106. "type": "number"
  20107. },
  20108. "closepl3": {
  20109. "description": "平仓盈亏(账户)(逐笔)",
  20110. "type": "number"
  20111. },
  20112. "closepl4": {
  20113. "description": "平仓盈亏(商品)(逐笔)",
  20114. "type": "number"
  20115. },
  20116. "closetype": {
  20117. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20118. "type": "integer"
  20119. },
  20120. "curexchangerate": {
  20121. "description": "当前汇率",
  20122. "type": "number"
  20123. },
  20124. "exchangefullname": {
  20125. "description": "外部交易所全称",
  20126. "type": "string"
  20127. },
  20128. "goodscode": {
  20129. "description": "商品代码(内部)",
  20130. "type": "string"
  20131. },
  20132. "goodsid": {
  20133. "description": "商品ID",
  20134. "type": "integer"
  20135. },
  20136. "goodsname": {
  20137. "description": "商品名称",
  20138. "type": "string"
  20139. },
  20140. "marketid": {
  20141. "description": "市场ID",
  20142. "type": "integer"
  20143. },
  20144. "opencharge": {
  20145. "description": "建仓手续费(账户)",
  20146. "type": "number"
  20147. },
  20148. "opencharge2": {
  20149. "description": "建仓手续费(商品)",
  20150. "type": "number"
  20151. },
  20152. "orderid": {
  20153. "description": "委托单号",
  20154. "type": "string"
  20155. },
  20156. "orderlogincode": {
  20157. "description": "委托人",
  20158. "type": "string"
  20159. },
  20160. "tradeamount": {
  20161. "description": "成交金额(账户)",
  20162. "type": "number"
  20163. },
  20164. "tradedate": {
  20165. "description": "交易日(yyyyMMdd)",
  20166. "type": "string"
  20167. },
  20168. "tradeid": {
  20169. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20170. "type": "string"
  20171. },
  20172. "tradeprice": {
  20173. "description": "成交价格",
  20174. "type": "number"
  20175. },
  20176. "tradeqty": {
  20177. "description": "成交数量",
  20178. "type": "integer"
  20179. },
  20180. "tradetime": {
  20181. "description": "成交时间",
  20182. "type": "string"
  20183. },
  20184. "tradetype": {
  20185. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  20186. "type": "integer"
  20187. }
  20188. }
  20189. },
  20190. "models.QuotePrimaryMenu": {
  20191. "type": "object",
  20192. "properties": {
  20193. "Index": {
  20194. "description": "序号",
  20195. "type": "integer"
  20196. },
  20197. "Key": {
  20198. "description": "键名",
  20199. "type": "string"
  20200. },
  20201. "Name": {
  20202. "description": "菜单名称",
  20203. "type": "string"
  20204. },
  20205. "SubMenus": {
  20206. "description": "子菜单",
  20207. "type": "array",
  20208. "items": {
  20209. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  20210. }
  20211. },
  20212. "SubTitleType": {
  20213. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  20214. "type": "integer"
  20215. },
  20216. "TradeModes": {
  20217. "description": "包含市场交易类型",
  20218. "type": "string"
  20219. }
  20220. }
  20221. },
  20222. "models.QuoteSecondaryMenu": {
  20223. "type": "object",
  20224. "properties": {
  20225. "ExExchangeCode": {
  20226. "description": "外部交易所代码",
  20227. "type": "string"
  20228. },
  20229. "ExExchangeID": {
  20230. "description": "外部交易所ID",
  20231. "type": "integer"
  20232. },
  20233. "GoodsGroupIDs": {
  20234. "description": "商品组ID列表",
  20235. "type": "array",
  20236. "items": {
  20237. "type": "integer"
  20238. }
  20239. },
  20240. "Index": {
  20241. "description": "序号",
  20242. "type": "integer"
  20243. },
  20244. "MarketID": {
  20245. "description": "市场ID",
  20246. "type": "integer"
  20247. },
  20248. "MenuTitle": {
  20249. "description": "菜单标题(市场名称或外部交易所名称)",
  20250. "type": "string"
  20251. },
  20252. "TradeMode": {
  20253. "description": "交易模式",
  20254. "type": "integer"
  20255. }
  20256. }
  20257. },
  20258. "models.SearchGoods": {
  20259. "type": "object",
  20260. "required": [
  20261. "goodscode",
  20262. "goodsid",
  20263. "goodsname",
  20264. "marketid",
  20265. "trademode"
  20266. ],
  20267. "properties": {
  20268. "goodscode": {
  20269. "description": "商品代码(内部)",
  20270. "type": "string"
  20271. },
  20272. "goodsid": {
  20273. "description": "商品ID(自增ID SEQ_GOODS)",
  20274. "type": "integer"
  20275. },
  20276. "goodsname": {
  20277. "description": "商品名称",
  20278. "type": "string"
  20279. },
  20280. "marketid": {
  20281. "description": "所属市场ID",
  20282. "type": "integer"
  20283. },
  20284. "marketname": {
  20285. "description": "市场名称",
  20286. "type": "string"
  20287. },
  20288. "trademode": {
  20289. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20290. "type": "integer"
  20291. }
  20292. }
  20293. },
  20294. "models.Systemparam": {
  20295. "type": "object",
  20296. "required": [
  20297. "paramcode"
  20298. ],
  20299. "properties": {
  20300. "loginid": {
  20301. "description": "更新用户账号,登录账号",
  20302. "type": "string"
  20303. },
  20304. "modifyflag": {
  20305. "description": "修改标志0 不允许修改 1 允许修改",
  20306. "type": "integer"
  20307. },
  20308. "paramcode": {
  20309. "description": "参数代码",
  20310. "type": "string"
  20311. },
  20312. "paramname": {
  20313. "description": "参数名",
  20314. "type": "string"
  20315. },
  20316. "paramtype": {
  20317. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  20318. "type": "integer"
  20319. },
  20320. "paramvalue": {
  20321. "description": "参数值",
  20322. "type": "string"
  20323. },
  20324. "paramvalue2": {
  20325. "description": "参数值(CLOB)",
  20326. "type": "string"
  20327. },
  20328. "regexpress": {
  20329. "description": "正则表达式",
  20330. "type": "string"
  20331. },
  20332. "remark": {
  20333. "description": "备注",
  20334. "type": "string"
  20335. },
  20336. "serverip": {
  20337. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  20338. "type": "string"
  20339. },
  20340. "showflag": {
  20341. "description": "是否显示0 不显示 1 显示",
  20342. "type": "integer"
  20343. },
  20344. "updatetime": {
  20345. "description": "更新时间",
  20346. "type": "string"
  20347. },
  20348. "userid": {
  20349. "description": "更新用户ID",
  20350. "type": "integer"
  20351. }
  20352. }
  20353. },
  20354. "models.Szdz3convertconfig": {
  20355. "type": "object",
  20356. "required": [
  20357. "converttype",
  20358. "innergoodsid",
  20359. "outergoodscode"
  20360. ],
  20361. "properties": {
  20362. "canin": {
  20363. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  20364. "type": "integer"
  20365. },
  20366. "canout": {
  20367. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  20368. "type": "integer"
  20369. },
  20370. "converttype": {
  20371. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  20372. "type": "integer"
  20373. },
  20374. "createtime": {
  20375. "description": "创建时间",
  20376. "type": "string"
  20377. },
  20378. "creatorid": {
  20379. "description": "创建人",
  20380. "type": "integer"
  20381. },
  20382. "daymaxvalue": {
  20383. "description": "当日最大转入限制",
  20384. "type": "number"
  20385. },
  20386. "freezedays": {
  20387. "description": "冻结天数 [5:花生米转交易]",
  20388. "type": "integer"
  20389. },
  20390. "innergoodsid": {
  20391. "description": "内部商品ID[交易]",
  20392. "type": "integer"
  20393. },
  20394. "inratio": {
  20395. "description": "目标值",
  20396. "type": "integer"
  20397. },
  20398. "modifierid": {
  20399. "description": "修改人",
  20400. "type": "integer"
  20401. },
  20402. "modifytime": {
  20403. "description": "修改时间",
  20404. "type": "string"
  20405. },
  20406. "outergoodscode": {
  20407. "description": "外部商品代码[JD\\PD]",
  20408. "type": "string"
  20409. },
  20410. "outratio": {
  20411. "description": "源值",
  20412. "type": "integer"
  20413. },
  20414. "pddecimalplace": {
  20415. "description": "PD小数位",
  20416. "type": "integer"
  20417. },
  20418. "timemaxvalue": {
  20419. "description": "单次最大转入限制",
  20420. "type": "number"
  20421. },
  20422. "timeminvalue": {
  20423. "description": "单次最小转入限制",
  20424. "type": "number"
  20425. }
  20426. }
  20427. },
  20428. "models.Szdz3searchwhitelist": {
  20429. "type": "object",
  20430. "required": [
  20431. "userid"
  20432. ],
  20433. "properties": {
  20434. "createtime": {
  20435. "description": "创建时间",
  20436. "type": "string"
  20437. },
  20438. "creatorid": {
  20439. "description": "创建人",
  20440. "type": "integer"
  20441. },
  20442. "modifierid": {
  20443. "description": "修改人",
  20444. "type": "integer"
  20445. },
  20446. "modifytime": {
  20447. "description": "修改时间",
  20448. "type": "string"
  20449. },
  20450. "userid": {
  20451. "description": "用户ID",
  20452. "type": "integer"
  20453. }
  20454. }
  20455. },
  20456. "models.Taaccount": {
  20457. "type": "object",
  20458. "required": [
  20459. "accountid",
  20460. "userid"
  20461. ],
  20462. "properties": {
  20463. "accountflag": {
  20464. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  20465. "type": "integer"
  20466. },
  20467. "accountid": {
  20468. "description": "资金账户ID",
  20469. "type": "integer"
  20470. },
  20471. "accountname": {
  20472. "description": "账户名称",
  20473. "type": "string"
  20474. },
  20475. "balance": {
  20476. "description": "期初余额",
  20477. "type": "number"
  20478. },
  20479. "capitalbalance": {
  20480. "description": "本金余额[外部子账户实际出入金余额]",
  20481. "type": "number"
  20482. },
  20483. "changeflag": {
  20484. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  20485. "type": "integer"
  20486. },
  20487. "changetime": {
  20488. "description": "账户状态变更时间",
  20489. "type": "string"
  20490. },
  20491. "closepl": {
  20492. "description": "今日平仓盈亏",
  20493. "type": "number"
  20494. },
  20495. "creditdecrease": {
  20496. "description": "今日授信减少",
  20497. "type": "number"
  20498. },
  20499. "creditincrease": {
  20500. "description": "今日授信增加",
  20501. "type": "number"
  20502. },
  20503. "currencyid": {
  20504. "description": "货币ID",
  20505. "type": "integer"
  20506. },
  20507. "currentbalance": {
  20508. "description": "期末余额",
  20509. "type": "number"
  20510. },
  20511. "freezecharge": {
  20512. "description": "手续费冻结",
  20513. "type": "number"
  20514. },
  20515. "freezemargin": {
  20516. "description": "冻结保证金",
  20517. "type": "number"
  20518. },
  20519. "fromaccountid": {
  20520. "description": "所属上级账户",
  20521. "type": "integer"
  20522. },
  20523. "inamount": {
  20524. "description": "今日入金金额(包括三方入金)",
  20525. "type": "number"
  20526. },
  20527. "ismain": {
  20528. "description": "是否母账号 0:不是母账户 1:是母账户",
  20529. "type": "integer"
  20530. },
  20531. "ismarketaccount": {
  20532. "description": "是否机构接单账号 0:不是 1:是",
  20533. "type": "integer"
  20534. },
  20535. "isreckonaccount": {
  20536. "description": "是否机构分润账号 0:不是 1:是",
  20537. "type": "integer"
  20538. },
  20539. "mortgagecredit": {
  20540. "description": "授信金额",
  20541. "type": "number"
  20542. },
  20543. "orifreezecharge": {
  20544. "description": "期初手续费冻结",
  20545. "type": "number"
  20546. },
  20547. "orifreezemargin": {
  20548. "description": "期初冻结保证金",
  20549. "type": "number"
  20550. },
  20551. "orimortgagecredit": {
  20552. "description": "期初授信金额",
  20553. "type": "number"
  20554. },
  20555. "oriothercredit": {
  20556. "description": "期初其它授信金额",
  20557. "type": "number"
  20558. },
  20559. "oriotherfreezemargin": {
  20560. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20561. "type": "number"
  20562. },
  20563. "orioutamountfreeze": {
  20564. "description": "期初出金冻结",
  20565. "type": "number"
  20566. },
  20567. "oriusedmargin": {
  20568. "description": "期初占用保证金",
  20569. "type": "number"
  20570. },
  20571. "othercredit": {
  20572. "description": "其它授信金额",
  20573. "type": "number"
  20574. },
  20575. "othercreditdecrease": {
  20576. "description": "今日其它授信减少",
  20577. "type": "number"
  20578. },
  20579. "othercreditincrease": {
  20580. "description": "今日其它授信增加",
  20581. "type": "number"
  20582. },
  20583. "otherfreezemargin": {
  20584. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20585. "type": "number"
  20586. },
  20587. "otherincome": {
  20588. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  20589. "type": "number"
  20590. },
  20591. "otherpay": {
  20592. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  20593. "type": "number"
  20594. },
  20595. "outamount": {
  20596. "description": "今日出金金额(包括三方出金)",
  20597. "type": "number"
  20598. },
  20599. "outamountfreeze": {
  20600. "description": "出金冻结",
  20601. "type": "number"
  20602. },
  20603. "outthreshold": {
  20604. "description": "出金阈值",
  20605. "type": "number"
  20606. },
  20607. "parentaccountid": {
  20608. "description": "所属根账号",
  20609. "type": "integer"
  20610. },
  20611. "paycharge": {
  20612. "description": "今日手续费支出",
  20613. "type": "number"
  20614. },
  20615. "relatedaccountstatus": {
  20616. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  20617. "type": "integer"
  20618. },
  20619. "relateduserid": {
  20620. "description": "关联用户",
  20621. "type": "integer"
  20622. },
  20623. "serivcegroup": {
  20624. "description": "服务分组",
  20625. "type": "integer"
  20626. },
  20627. "signstatus": {
  20628. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20629. "type": "integer"
  20630. },
  20631. "sublevelpath": {
  20632. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20633. "type": "string"
  20634. },
  20635. "taaccounttype": {
  20636. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20637. "type": "integer"
  20638. },
  20639. "thirdinamount": {
  20640. "description": "今日三方入金",
  20641. "type": "number"
  20642. },
  20643. "thirdoutamount": {
  20644. "description": "今日三方出金",
  20645. "type": "number"
  20646. },
  20647. "tradestatus": {
  20648. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20649. "type": "integer"
  20650. },
  20651. "tradestatuschangetime": {
  20652. "description": "激活时间",
  20653. "type": "string"
  20654. },
  20655. "transferamount": {
  20656. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20657. "type": "number"
  20658. },
  20659. "usedmargin": {
  20660. "description": "占用保证金",
  20661. "type": "number"
  20662. },
  20663. "userid": {
  20664. "description": "用户ID",
  20665. "type": "integer"
  20666. }
  20667. }
  20668. },
  20669. "models.Tablecolumnconfig": {
  20670. "type": "object",
  20671. "required": [
  20672. "autoid"
  20673. ],
  20674. "properties": {
  20675. "aligntype": {
  20676. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  20677. "type": "integer"
  20678. },
  20679. "autoid": {
  20680. "description": "AutoID",
  20681. "type": "integer"
  20682. },
  20683. "columnfield": {
  20684. "description": "列字段",
  20685. "type": "string"
  20686. },
  20687. "columntitle": {
  20688. "description": "列Title",
  20689. "type": "string"
  20690. },
  20691. "columnwidth": {
  20692. "description": "列宽",
  20693. "type": "string"
  20694. },
  20695. "formatterstring": {
  20696. "description": "格式化字符",
  20697. "type": "string"
  20698. },
  20699. "formattertype": {
  20700. "description": "格式化类型",
  20701. "type": "string"
  20702. },
  20703. "groupname": {
  20704. "description": "表头分组名称",
  20705. "type": "string"
  20706. },
  20707. "isshow": {
  20708. "description": "是否显示 - 0:不显示 1:显示",
  20709. "type": "integer"
  20710. },
  20711. "needsummary": {
  20712. "description": "是否需要汇总 - 0:不需要 1:需要",
  20713. "type": "integer"
  20714. },
  20715. "orderindex": {
  20716. "description": "顺序",
  20717. "type": "integer"
  20718. },
  20719. "remark": {
  20720. "description": "备注",
  20721. "type": "string"
  20722. },
  20723. "summarytype": {
  20724. "description": "汇总类型 - 1:加总 2:最后一个",
  20725. "type": "integer"
  20726. },
  20727. "tablekey": {
  20728. "description": "列表Key",
  20729. "type": "string"
  20730. }
  20731. }
  20732. },
  20733. "models.Useraccount": {
  20734. "type": "object",
  20735. "required": [
  20736. "userid"
  20737. ],
  20738. "properties": {
  20739. "accountname": {
  20740. "description": "账户名称(机构名称)",
  20741. "type": "string"
  20742. },
  20743. "accountstatus": {
  20744. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20745. "type": "integer"
  20746. },
  20747. "auditremark": {
  20748. "description": "审核备注",
  20749. "type": "string"
  20750. },
  20751. "audittime": {
  20752. "description": "审核时间",
  20753. "type": "string"
  20754. },
  20755. "audituserid": {
  20756. "description": "审核人",
  20757. "type": "integer"
  20758. },
  20759. "broker": {
  20760. "description": "所属经纪人ID",
  20761. "type": "integer"
  20762. },
  20763. "canceltime": {
  20764. "description": "销户时间",
  20765. "type": "string"
  20766. },
  20767. "canceluserid": {
  20768. "description": "销户人",
  20769. "type": "integer"
  20770. },
  20771. "createtime": {
  20772. "description": "创建时间",
  20773. "type": "string"
  20774. },
  20775. "creatorid": {
  20776. "description": "创建人",
  20777. "type": "integer"
  20778. },
  20779. "hasauth": {
  20780. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  20781. "type": "integer"
  20782. },
  20783. "isanonymous": {
  20784. "description": "是否匿名下单 - 0:否 1:是",
  20785. "type": "integer"
  20786. },
  20787. "maxinvestornum": {
  20788. "description": "最大用户数(经纪会员下投资者个数)",
  20789. "type": "integer"
  20790. },
  20791. "memberuserid": {
  20792. "description": "所属会员ID",
  20793. "type": "integer"
  20794. },
  20795. "modifierid": {
  20796. "description": "修改人",
  20797. "type": "integer"
  20798. },
  20799. "modifyremark": {
  20800. "description": "变更备注",
  20801. "type": "string"
  20802. },
  20803. "modifystatus": {
  20804. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  20805. "type": "integer"
  20806. },
  20807. "modifytime": {
  20808. "description": "修改时间",
  20809. "type": "string"
  20810. },
  20811. "parentuserid": {
  20812. "description": "所属机构ID",
  20813. "type": "integer"
  20814. },
  20815. "reckonaccountid": {
  20816. "description": "默认结算资金账号ID(机构分润使用) 作废",
  20817. "type": "integer"
  20818. },
  20819. "refercount": {
  20820. "description": "推荐总人数",
  20821. "type": "integer"
  20822. },
  20823. "refereeuserid": {
  20824. "description": "推荐人ID",
  20825. "type": "integer"
  20826. },
  20827. "refernum": {
  20828. "description": "推荐码",
  20829. "type": "string"
  20830. },
  20831. "subarealevelpath": {
  20832. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  20833. "type": "string"
  20834. },
  20835. "userid": {
  20836. "description": "用户ID",
  20837. "type": "integer"
  20838. },
  20839. "usertype": {
  20840. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20841. "type": "integer"
  20842. }
  20843. }
  20844. },
  20845. "models.Userfavoritegoods": {
  20846. "type": "object",
  20847. "required": [
  20848. "goodsid"
  20849. ],
  20850. "properties": {
  20851. "goodsid": {
  20852. "description": "商品ID",
  20853. "type": "integer"
  20854. }
  20855. }
  20856. },
  20857. "models.Userinfo": {
  20858. "type": "object",
  20859. "required": [
  20860. "userid"
  20861. ],
  20862. "properties": {
  20863. "address": {
  20864. "description": "地址",
  20865. "type": "string"
  20866. },
  20867. "attachment1": {
  20868. "description": "附件1",
  20869. "type": "string"
  20870. },
  20871. "attachment2": {
  20872. "description": "附件2",
  20873. "type": "string"
  20874. },
  20875. "bankaccount": {
  20876. "description": "银行帐号 (加密存储)",
  20877. "type": "string"
  20878. },
  20879. "bankaccountname": {
  20880. "description": "收款人名称",
  20881. "type": "string"
  20882. },
  20883. "bankcardfrontphotourl": {
  20884. "description": "银行卡正面照地址",
  20885. "type": "string"
  20886. },
  20887. "bankid": {
  20888. "description": "银行编码",
  20889. "type": "string"
  20890. },
  20891. "bankname": {
  20892. "description": "银行名称",
  20893. "type": "string"
  20894. },
  20895. "biznature": {
  20896. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20897. "type": "integer"
  20898. },
  20899. "bizscope": {
  20900. "description": "企业经营范围(企业)",
  20901. "type": "string"
  20902. },
  20903. "cardbackphotourl": {
  20904. "description": "证件背面图片地址",
  20905. "type": "string"
  20906. },
  20907. "cardfrontphotourl": {
  20908. "description": "证件正面图片地址",
  20909. "type": "string"
  20910. },
  20911. "cardnum": {
  20912. "description": "证件号码(加密存储)",
  20913. "type": "string"
  20914. },
  20915. "cardtypeid": {
  20916. "description": "证件类型ID",
  20917. "type": "integer"
  20918. },
  20919. "cityid": {
  20920. "description": "市",
  20921. "type": "integer"
  20922. },
  20923. "company": {
  20924. "description": "公司(个人)",
  20925. "type": "string"
  20926. },
  20927. "contactname": {
  20928. "description": "联系人",
  20929. "type": "string"
  20930. },
  20931. "countryid": {
  20932. "description": "国家",
  20933. "type": "integer"
  20934. },
  20935. "createtime": {
  20936. "description": "创建时间",
  20937. "type": "string"
  20938. },
  20939. "creatorid": {
  20940. "description": "创建人",
  20941. "type": "integer"
  20942. },
  20943. "customername": {
  20944. "description": "客户名称(企业名称)",
  20945. "type": "string"
  20946. },
  20947. "districtid": {
  20948. "description": "地区",
  20949. "type": "integer"
  20950. },
  20951. "email": {
  20952. "description": "邮件(加密存储)",
  20953. "type": "string"
  20954. },
  20955. "fax": {
  20956. "description": "传真(加密存储)",
  20957. "type": "string"
  20958. },
  20959. "halfbodyphotourl": {
  20960. "description": "半身照地址",
  20961. "type": "string"
  20962. },
  20963. "hasencrypt": {
  20964. "description": "数据是否已加密 - 0:未加密 1:已加密",
  20965. "type": "integer"
  20966. },
  20967. "headurl": {
  20968. "description": "头像地址",
  20969. "type": "string"
  20970. },
  20971. "legalcardbackphotourl": {
  20972. "description": "法人身份证背面照地址",
  20973. "type": "string"
  20974. },
  20975. "legalcardfrontphotourl": {
  20976. "description": "法人身份证正面照地址",
  20977. "type": "string"
  20978. },
  20979. "legalpersonname": {
  20980. "description": "法人姓名(企业)",
  20981. "type": "string"
  20982. },
  20983. "mobile": {
  20984. "description": "手机号码(加密存储)",
  20985. "type": "string"
  20986. },
  20987. "mobile2": {
  20988. "description": "手机号码[明文-尚志]",
  20989. "type": "string"
  20990. },
  20991. "modifierid": {
  20992. "description": "修改人",
  20993. "type": "integer"
  20994. },
  20995. "modifiertime": {
  20996. "description": "修改时间",
  20997. "type": "string"
  20998. },
  20999. "needinvoice": {
  21000. "description": "是否需要发票 - 0:不需要 1:需要",
  21001. "type": "integer"
  21002. },
  21003. "nickname": {
  21004. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  21005. "type": "string"
  21006. },
  21007. "openmode": {
  21008. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  21009. "type": "integer"
  21010. },
  21011. "otherurl": {
  21012. "description": "其它图片地址[使用分号分隔]",
  21013. "type": "string"
  21014. },
  21015. "postalcode": {
  21016. "description": "邮政编码",
  21017. "type": "string"
  21018. },
  21019. "provinceid": {
  21020. "description": "省",
  21021. "type": "integer"
  21022. },
  21023. "qq": {
  21024. "description": "QQ(加密存储",
  21025. "type": "string"
  21026. },
  21027. "remark": {
  21028. "description": "备注",
  21029. "type": "string"
  21030. },
  21031. "sex": {
  21032. "description": "用户性别 0: 女 1: 男",
  21033. "type": "integer"
  21034. },
  21035. "signpdfurl": {
  21036. "description": "签约pdf文件",
  21037. "type": "string"
  21038. },
  21039. "telphone": {
  21040. "description": "联系电话(加密存储)",
  21041. "type": "string"
  21042. },
  21043. "userid": {
  21044. "description": "用户ID",
  21045. "type": "integer"
  21046. },
  21047. "userinfotype": {
  21048. "description": "用户信息类型 - 1:个人 2:企业",
  21049. "type": "integer"
  21050. },
  21051. "userstatus": {
  21052. "description": "用户状态 - 1:正常 2:注销",
  21053. "type": "integer"
  21054. },
  21055. "usertype": {
  21056. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21057. "type": "integer"
  21058. },
  21059. "wechat": {
  21060. "description": "微信(加密存储)",
  21061. "type": "string"
  21062. },
  21063. "wskhinfo": {
  21064. "description": "开户申请信息(JSON)",
  21065. "type": "string"
  21066. }
  21067. }
  21068. },
  21069. "models.WRSConverTDetail": {
  21070. "type": "object",
  21071. "properties": {
  21072. "convertratio": {
  21073. "description": "套保系数",
  21074. "type": "number"
  21075. },
  21076. "deliverygoodscode": {
  21077. "description": "现货商品代码",
  21078. "type": "string"
  21079. },
  21080. "deliverygoodsid": {
  21081. "description": "现货品种ID",
  21082. "type": "integer"
  21083. },
  21084. "deliverygoodsname": {
  21085. "description": "现货商品名称",
  21086. "type": "string"
  21087. },
  21088. "enumdicname": {
  21089. "description": "单位名称",
  21090. "type": "string"
  21091. },
  21092. "goodsunitid": {
  21093. "description": "套保品种单位id",
  21094. "type": "integer"
  21095. },
  21096. "middlegoodscode": {
  21097. "description": "套保品种代码",
  21098. "type": "string"
  21099. },
  21100. "middlegoodsid": {
  21101. "description": "套保品种ID",
  21102. "type": "integer"
  21103. },
  21104. "middlegoodsname": {
  21105. "description": "套保品种名称",
  21106. "type": "string"
  21107. },
  21108. "modifytime": {
  21109. "description": "修改时间",
  21110. "type": "string"
  21111. },
  21112. "wrstandardid": {
  21113. "description": "品类ID",
  21114. "type": "integer"
  21115. }
  21116. }
  21117. },
  21118. "models.WRStandardInfo": {
  21119. "type": "object",
  21120. "required": [
  21121. "wrstandardid"
  21122. ],
  21123. "properties": {
  21124. "areauserid": {
  21125. "description": "所属机构",
  21126. "type": "integer"
  21127. },
  21128. "convertfactor": {
  21129. "description": "标仓系数",
  21130. "type": "number"
  21131. },
  21132. "createtime": {
  21133. "description": "创建时间",
  21134. "type": "string"
  21135. },
  21136. "creatorid": {
  21137. "description": "创建人",
  21138. "type": "integer"
  21139. },
  21140. "deliverygoodsid": {
  21141. "description": "品种ID",
  21142. "type": "integer"
  21143. },
  21144. "deliverygoodsname": {
  21145. "description": "交割商品名称",
  21146. "type": "string"
  21147. },
  21148. "factoryitemjson": {
  21149. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  21150. "type": "string"
  21151. },
  21152. "isvalid": {
  21153. "description": "是否有效 - 0:无效 1:有效",
  21154. "type": "integer"
  21155. },
  21156. "minivalue": {
  21157. "description": "最小变动值",
  21158. "type": "integer"
  21159. },
  21160. "minivaluedp": {
  21161. "description": "最小变动值小数位",
  21162. "type": "integer"
  21163. },
  21164. "realminivalue": {
  21165. "description": "实际最小变动值",
  21166. "type": "integer"
  21167. },
  21168. "realminivaluedp": {
  21169. "description": "实际最小变动值小数位",
  21170. "type": "integer"
  21171. },
  21172. "remark": {
  21173. "description": "备注",
  21174. "type": "string"
  21175. },
  21176. "unitid": {
  21177. "description": "单位ID",
  21178. "type": "integer"
  21179. },
  21180. "unitname": {
  21181. "description": "单位",
  21182. "type": "string"
  21183. },
  21184. "updatetime": {
  21185. "description": "更新时间",
  21186. "type": "string"
  21187. },
  21188. "updatorid": {
  21189. "description": "更新人",
  21190. "type": "integer"
  21191. },
  21192. "wrsstatus": {
  21193. "description": "状态 - 作废 - 0:未激活 1:正常",
  21194. "type": "integer"
  21195. },
  21196. "wrstandardcode": {
  21197. "description": "现货品类代码",
  21198. "type": "string"
  21199. },
  21200. "wrstandardid": {
  21201. "description": "现货品类ID(SEQ_WRSTANDARD)",
  21202. "type": "integer"
  21203. },
  21204. "wrstandardname": {
  21205. "description": "现货品类名称",
  21206. "type": "string"
  21207. }
  21208. }
  21209. },
  21210. "models.Warehouseinfo": {
  21211. "type": "object",
  21212. "required": [
  21213. "autoid",
  21214. "warehousecode"
  21215. ],
  21216. "properties": {
  21217. "address": {
  21218. "description": "详细地址",
  21219. "type": "string"
  21220. },
  21221. "areauserid": {
  21222. "description": "所属机构",
  21223. "type": "integer"
  21224. },
  21225. "autoid": {
  21226. "description": "自增ID",
  21227. "type": "integer"
  21228. },
  21229. "cityid": {
  21230. "description": "市",
  21231. "type": "integer"
  21232. },
  21233. "contactname": {
  21234. "description": "联系人",
  21235. "type": "string"
  21236. },
  21237. "contactnum": {
  21238. "description": "联系电话",
  21239. "type": "string"
  21240. },
  21241. "countryid": {
  21242. "description": "国家",
  21243. "type": "integer"
  21244. },
  21245. "createtime": {
  21246. "description": "创建时间",
  21247. "type": "string"
  21248. },
  21249. "districtid": {
  21250. "description": "区",
  21251. "type": "integer"
  21252. },
  21253. "hasvideo": {
  21254. "description": "是否有视频 - 0:无 1:有",
  21255. "type": "integer"
  21256. },
  21257. "provinceid": {
  21258. "description": "省",
  21259. "type": "integer"
  21260. },
  21261. "remark": {
  21262. "description": "审核备注",
  21263. "type": "string"
  21264. },
  21265. "videourl": {
  21266. "description": "视频地址",
  21267. "type": "string"
  21268. },
  21269. "warehousecode": {
  21270. "description": "仓库代码",
  21271. "type": "string"
  21272. },
  21273. "warehousename": {
  21274. "description": "仓库名称",
  21275. "type": "string"
  21276. },
  21277. "warehousestatus": {
  21278. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21279. "type": "integer"
  21280. },
  21281. "warehousetype": {
  21282. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21283. "type": "integer"
  21284. }
  21285. }
  21286. },
  21287. "order.QueryHisTradeDetailRsp": {
  21288. "type": "object",
  21289. "required": [
  21290. "accountid",
  21291. "buyorsell",
  21292. "goodsid",
  21293. "histradedate",
  21294. "marketid",
  21295. "memberuserid",
  21296. "orderid",
  21297. "tradeamount",
  21298. "tradedate",
  21299. "tradeid",
  21300. "tradeprice",
  21301. "tradeqty",
  21302. "tradetime"
  21303. ],
  21304. "properties": {
  21305. "accountid": {
  21306. "description": "账户ID[报价币种]",
  21307. "type": "integer"
  21308. },
  21309. "buildtype": {
  21310. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21311. "type": "integer"
  21312. },
  21313. "buyorsell": {
  21314. "description": "方向 - 0:买 1:卖",
  21315. "type": "integer"
  21316. },
  21317. "charge": {
  21318. "description": "手续费",
  21319. "type": "number"
  21320. },
  21321. "closecharge": {
  21322. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21323. "type": "number"
  21324. },
  21325. "closeexchagechargevalue": {
  21326. "description": "平仓交易所手续费设置值",
  21327. "type": "number"
  21328. },
  21329. "closefeealgorithm": {
  21330. "description": "平仓手续费收取方式 1:比率 2:固定",
  21331. "type": "integer"
  21332. },
  21333. "closememberchargevalue": {
  21334. "description": "平仓会员手续费设置值",
  21335. "type": "number"
  21336. },
  21337. "closepl": {
  21338. "description": "平仓盈亏",
  21339. "type": "number"
  21340. },
  21341. "closepl2": {
  21342. "description": "平仓盈亏[逐笔]",
  21343. "type": "number"
  21344. },
  21345. "closeqty": {
  21346. "description": "平仓数量(先建后平操作 需要记录)",
  21347. "type": "integer"
  21348. },
  21349. "creditamount": {
  21350. "description": "授信金额",
  21351. "type": "number"
  21352. },
  21353. "gcaccountid": {
  21354. "description": "账户ID[合约币种]",
  21355. "type": "integer"
  21356. },
  21357. "goodscode": {
  21358. "description": "商品代码",
  21359. "type": "string"
  21360. },
  21361. "goodsid": {
  21362. "description": "商品ID",
  21363. "type": "integer"
  21364. },
  21365. "goodsname": {
  21366. "description": "商品名称",
  21367. "type": "string"
  21368. },
  21369. "histradedate": {
  21370. "description": "历史交易日",
  21371. "type": "string"
  21372. },
  21373. "intclosepl": {
  21374. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21375. "type": "integer"
  21376. },
  21377. "isconfirmexercise": {
  21378. "description": "是否确认行权- 0:否 1:是",
  21379. "type": "integer"
  21380. },
  21381. "ismain": {
  21382. "description": "是否主单 - 0:不是 1:是",
  21383. "type": "integer"
  21384. },
  21385. "ispreexercise": {
  21386. "description": "是否预申报- 0:否 1:是",
  21387. "type": "integer"
  21388. },
  21389. "isreckoned": {
  21390. "description": "是否结算 - 0:未结算 1:已结算",
  21391. "type": "integer"
  21392. },
  21393. "isvaliddata": {
  21394. "description": "是否有效 - 0:无效 1:有效",
  21395. "type": "integer"
  21396. },
  21397. "listingselecttype": {
  21398. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21399. "type": "integer"
  21400. },
  21401. "marketid": {
  21402. "description": "市场ID",
  21403. "type": "integer"
  21404. },
  21405. "marketname": {
  21406. "description": "市场名称",
  21407. "type": "string"
  21408. },
  21409. "matchaccountid": {
  21410. "description": "对手账号id",
  21411. "type": "integer"
  21412. },
  21413. "memberuserid": {
  21414. "description": "会员id 个人投资者 需要填写",
  21415. "type": "integer"
  21416. },
  21417. "opencharge": {
  21418. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21419. "type": "number"
  21420. },
  21421. "openexchagechargevalue": {
  21422. "description": "建仓交易所手续费设置值",
  21423. "type": "number"
  21424. },
  21425. "openfeealgorithm": {
  21426. "description": "建仓手续费收取方式 1:比率 2:固定",
  21427. "type": "integer"
  21428. },
  21429. "openmemberchargevalue": {
  21430. "description": "建仓会员手续费设置值",
  21431. "type": "number"
  21432. },
  21433. "openqty": {
  21434. "description": "开仓数量(先建后平操作 需要记录)",
  21435. "type": "integer"
  21436. },
  21437. "optiontype": {
  21438. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21439. "type": "integer"
  21440. },
  21441. "orderid": {
  21442. "description": "委托单号",
  21443. "type": "string"
  21444. },
  21445. "performanceplanid": {
  21446. "description": "履约计划ID[期权]",
  21447. "type": "integer"
  21448. },
  21449. "performancestatus": {
  21450. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21451. "type": "integer"
  21452. },
  21453. "preexerciseprice": {
  21454. "description": "预申报价格",
  21455. "type": "number"
  21456. },
  21457. "premium": {
  21458. "description": "权利金 - [持仓单的权利金]",
  21459. "type": "number"
  21460. },
  21461. "relatedouttradeid": {
  21462. "description": "关联外部成交单ID",
  21463. "type": "integer"
  21464. },
  21465. "status": {
  21466. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21467. "type": "integer"
  21468. },
  21469. "tradeamount": {
  21470. "description": "成交金额[账户币种,用于所有权]",
  21471. "type": "number"
  21472. },
  21473. "tradedate": {
  21474. "description": "交易日(yyyyMMdd)",
  21475. "type": "string"
  21476. },
  21477. "tradeid": {
  21478. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21479. "type": "string"
  21480. },
  21481. "trademode": {
  21482. "description": "交易模式",
  21483. "type": "integer"
  21484. },
  21485. "tradeprice": {
  21486. "description": "成交价格",
  21487. "type": "number"
  21488. },
  21489. "tradeproperty": {
  21490. "description": "交易属性",
  21491. "type": "integer"
  21492. },
  21493. "tradeqty": {
  21494. "description": "成交数量",
  21495. "type": "integer"
  21496. },
  21497. "tradetime": {
  21498. "description": "成交时间",
  21499. "type": "string"
  21500. },
  21501. "tradetype": {
  21502. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21503. "type": "integer"
  21504. }
  21505. }
  21506. },
  21507. "order.QueryHisTradeOrderDetailRsp": {
  21508. "type": "object",
  21509. "required": [
  21510. "accountid",
  21511. "buildtype",
  21512. "buyorsell",
  21513. "goodsid",
  21514. "histradedate",
  21515. "marketid",
  21516. "memberuserid",
  21517. "operatetype",
  21518. "orderid",
  21519. "orderqty",
  21520. "ordertime",
  21521. "pricemode",
  21522. "tradedate",
  21523. "validtype"
  21524. ],
  21525. "properties": {
  21526. "accountid": {
  21527. "description": "账户ID[报价币种]",
  21528. "type": "integer"
  21529. },
  21530. "buildtype": {
  21531. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21532. "type": "integer"
  21533. },
  21534. "buyorsell": {
  21535. "description": "买卖 - 0:买 1:卖",
  21536. "type": "integer"
  21537. },
  21538. "cancelorderid": {
  21539. "description": "撤单单号(撤单时填写)",
  21540. "type": "string"
  21541. },
  21542. "cancelqty": {
  21543. "description": "撤单数量",
  21544. "type": "integer"
  21545. },
  21546. "clientordertime": {
  21547. "description": "客户端委托时间",
  21548. "type": "string"
  21549. },
  21550. "clientticket": {
  21551. "description": "客户端流水号",
  21552. "type": "string"
  21553. },
  21554. "clienttype": {
  21555. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21556. "type": "integer"
  21557. },
  21558. "closeexchagechargevalue": {
  21559. "description": "平仓交易所手续费设置值",
  21560. "type": "number"
  21561. },
  21562. "closefeealgorithm": {
  21563. "description": "平仓手续费收取方式 1:比率 2:固定",
  21564. "type": "integer"
  21565. },
  21566. "closefreezecharge": {
  21567. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21568. "type": "number"
  21569. },
  21570. "closememberchargevalue": {
  21571. "description": "平仓会员手续费设置值",
  21572. "type": "number"
  21573. },
  21574. "closeqty": {
  21575. "description": "平仓数量(先建后平操作 需要记录)",
  21576. "type": "integer"
  21577. },
  21578. "closetradeqty": {
  21579. "description": "平仓成交数量(先建后平操作,需要记录)",
  21580. "type": "integer"
  21581. },
  21582. "closeunfreezecharge": {
  21583. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21584. "type": "number"
  21585. },
  21586. "delistingtype": {
  21587. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21588. "type": "integer"
  21589. },
  21590. "freezecharge": {
  21591. "description": "冻结手续费",
  21592. "type": "number"
  21593. },
  21594. "freezemargin": {
  21595. "description": "冻结保证金(冻结交易金额)",
  21596. "type": "number"
  21597. },
  21598. "gcaccountid": {
  21599. "description": "账户ID[合约币种]",
  21600. "type": "integer"
  21601. },
  21602. "goodscode": {
  21603. "description": "商品代码",
  21604. "type": "string"
  21605. },
  21606. "goodsid": {
  21607. "description": "商品ID",
  21608. "type": "integer"
  21609. },
  21610. "goodsname": {
  21611. "description": "商品名称",
  21612. "type": "string"
  21613. },
  21614. "histradedate": {
  21615. "description": "历史交易日",
  21616. "type": "string"
  21617. },
  21618. "isconfirmexercise": {
  21619. "description": "是否确认行权- 0:否 1:是",
  21620. "type": "integer"
  21621. },
  21622. "ispreexercise": {
  21623. "description": "是否预申报- 0:否 1:是",
  21624. "type": "integer"
  21625. },
  21626. "isvaliddata": {
  21627. "description": "是否有效 - 0:无效 1:有效",
  21628. "type": "integer"
  21629. },
  21630. "listingselecttype": {
  21631. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21632. "type": "integer"
  21633. },
  21634. "marginalgorithm": {
  21635. "description": "保证金收取方式 1:比率 2:固定",
  21636. "type": "integer"
  21637. },
  21638. "marginvalue": {
  21639. "description": "即市保证金设置值",
  21640. "type": "number"
  21641. },
  21642. "marketid": {
  21643. "description": "市场ID",
  21644. "type": "integer"
  21645. },
  21646. "marketmaxsub": {
  21647. "description": "市价最大偏移范围",
  21648. "type": "number"
  21649. },
  21650. "marketname": {
  21651. "description": "市场名称",
  21652. "type": "string"
  21653. },
  21654. "memberuserid": {
  21655. "description": "所属会员UserID",
  21656. "type": "integer"
  21657. },
  21658. "openexchagechargevalue": {
  21659. "description": "建仓交易所手续费设置值",
  21660. "type": "number"
  21661. },
  21662. "openfeealgorithm": {
  21663. "description": "建仓手续费收取方式 1:比率 2:固定",
  21664. "type": "integer"
  21665. },
  21666. "openfreezecharge": {
  21667. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21668. "type": "number"
  21669. },
  21670. "openmemberchargevalue": {
  21671. "description": "建仓会员手续费设置值",
  21672. "type": "number"
  21673. },
  21674. "openqty": {
  21675. "description": "开仓数量(先建后平操作,需要记录)",
  21676. "type": "integer"
  21677. },
  21678. "opentradeqty": {
  21679. "description": "开仓成交数量(先建后平操作,需要记录)",
  21680. "type": "integer"
  21681. },
  21682. "openunfreezecharge": {
  21683. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21684. "type": "number"
  21685. },
  21686. "operatetype": {
  21687. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21688. "type": "integer"
  21689. },
  21690. "operatorid": {
  21691. "description": "登录账号(LoginID)",
  21692. "type": "integer"
  21693. },
  21694. "optiontype": {
  21695. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21696. "type": "integer"
  21697. },
  21698. "orderid": {
  21699. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21700. "type": "string"
  21701. },
  21702. "orderprice": {
  21703. "description": "委托价格",
  21704. "type": "number"
  21705. },
  21706. "orderqty": {
  21707. "description": "委托数量",
  21708. "type": "integer"
  21709. },
  21710. "ordersrc": {
  21711. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21712. "type": "integer"
  21713. },
  21714. "orderstatus": {
  21715. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21716. "type": "integer"
  21717. },
  21718. "ordertime": {
  21719. "description": "委托时间",
  21720. "type": "string"
  21721. },
  21722. "preexerciseprice": {
  21723. "description": "预申报价格",
  21724. "type": "number"
  21725. },
  21726. "premium": {
  21727. "description": "权利金",
  21728. "type": "number"
  21729. },
  21730. "preorderid": {
  21731. "description": "关联预埋单号(止盈止损单时填写)",
  21732. "type": "string"
  21733. },
  21734. "pricemode": {
  21735. "description": "取价方式 - 1:市价 2: 限价",
  21736. "type": "integer"
  21737. },
  21738. "quoteid": {
  21739. "description": "报价单ID",
  21740. "type": "integer"
  21741. },
  21742. "relatedid": {
  21743. "description": "关联单号(交割单)",
  21744. "type": "string"
  21745. },
  21746. "retcode": {
  21747. "description": "错误代码",
  21748. "type": "integer"
  21749. },
  21750. "sessionid": {
  21751. "description": "会话ID",
  21752. "type": "integer"
  21753. },
  21754. "tradedate": {
  21755. "description": "交易日(yyyyMMdd)",
  21756. "type": "string"
  21757. },
  21758. "trademode": {
  21759. "description": "交易模式",
  21760. "type": "integer"
  21761. },
  21762. "tradeproperty": {
  21763. "description": "交易属性",
  21764. "type": "integer"
  21765. },
  21766. "tradeqty": {
  21767. "description": "成交数量",
  21768. "type": "integer"
  21769. },
  21770. "unfreezecharge": {
  21771. "description": "解冻手续费",
  21772. "type": "number"
  21773. },
  21774. "unfreezemargin": {
  21775. "description": "解冻保证金",
  21776. "type": "number"
  21777. },
  21778. "updatetime": {
  21779. "description": "更新时间",
  21780. "type": "string"
  21781. },
  21782. "uuid": {
  21783. "description": "发起端唯一id",
  21784. "type": "string"
  21785. },
  21786. "validtime": {
  21787. "description": "有效期限",
  21788. "type": "string"
  21789. },
  21790. "validtype": {
  21791. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21792. "type": "integer"
  21793. },
  21794. "volumetype": {
  21795. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21796. "type": "integer"
  21797. }
  21798. }
  21799. },
  21800. "order.QueryTradeDetailRsp": {
  21801. "type": "object",
  21802. "required": [
  21803. "accountid",
  21804. "buyorsell",
  21805. "goodsid",
  21806. "marketid",
  21807. "memberuserid",
  21808. "orderid",
  21809. "tradeamount",
  21810. "tradedate",
  21811. "tradeid",
  21812. "tradeprice",
  21813. "tradeqty",
  21814. "tradetime"
  21815. ],
  21816. "properties": {
  21817. "accountid": {
  21818. "description": "账户ID[报价币种]",
  21819. "type": "integer"
  21820. },
  21821. "buildtype": {
  21822. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21823. "type": "integer"
  21824. },
  21825. "buyorsell": {
  21826. "description": "方向 - 0:买 1:卖",
  21827. "type": "integer"
  21828. },
  21829. "charge": {
  21830. "description": "手续费",
  21831. "type": "number"
  21832. },
  21833. "closecharge": {
  21834. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21835. "type": "number"
  21836. },
  21837. "closeexchagechargevalue": {
  21838. "description": "平仓交易所手续费设置值",
  21839. "type": "number"
  21840. },
  21841. "closefeealgorithm": {
  21842. "description": "平仓手续费收取方式 1:比率 2:固定",
  21843. "type": "integer"
  21844. },
  21845. "closememberchargevalue": {
  21846. "description": "平仓会员手续费设置值",
  21847. "type": "number"
  21848. },
  21849. "closepl": {
  21850. "description": "平仓盈亏",
  21851. "type": "number"
  21852. },
  21853. "closepl2": {
  21854. "description": "平仓盈亏[逐笔]",
  21855. "type": "number"
  21856. },
  21857. "closeqty": {
  21858. "description": "平仓数量(先建后平操作 需要记录)",
  21859. "type": "integer"
  21860. },
  21861. "creditamount": {
  21862. "description": "授信金额",
  21863. "type": "number"
  21864. },
  21865. "gcaccountid": {
  21866. "description": "账户ID[合约币种]",
  21867. "type": "integer"
  21868. },
  21869. "goodscode": {
  21870. "description": "商品代码",
  21871. "type": "string"
  21872. },
  21873. "goodsid": {
  21874. "description": "商品ID",
  21875. "type": "integer"
  21876. },
  21877. "goodsname": {
  21878. "description": "商品名称",
  21879. "type": "string"
  21880. },
  21881. "intclosepl": {
  21882. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21883. "type": "integer"
  21884. },
  21885. "isconfirmexercise": {
  21886. "description": "是否确认行权- 0:否 1:是",
  21887. "type": "integer"
  21888. },
  21889. "ismain": {
  21890. "description": "是否主单 - 0:不是 1:是",
  21891. "type": "integer"
  21892. },
  21893. "ispreexercise": {
  21894. "description": "是否预申报- 0:否 1:是",
  21895. "type": "integer"
  21896. },
  21897. "isreckoned": {
  21898. "description": "是否结算 - 0:未结算 1:已结算",
  21899. "type": "integer"
  21900. },
  21901. "listingselecttype": {
  21902. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21903. "type": "integer"
  21904. },
  21905. "marketid": {
  21906. "description": "市场ID",
  21907. "type": "integer"
  21908. },
  21909. "marketname": {
  21910. "description": "市场名称",
  21911. "type": "string"
  21912. },
  21913. "matchaccountid": {
  21914. "description": "对手账号id",
  21915. "type": "integer"
  21916. },
  21917. "memberuserid": {
  21918. "description": "会员id 个人投资者 需要填写",
  21919. "type": "integer"
  21920. },
  21921. "opencharge": {
  21922. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21923. "type": "number"
  21924. },
  21925. "openexchagechargevalue": {
  21926. "description": "建仓交易所手续费设置值",
  21927. "type": "number"
  21928. },
  21929. "openfeealgorithm": {
  21930. "description": "建仓手续费收取方式 1:比率 2:固定",
  21931. "type": "integer"
  21932. },
  21933. "openmemberchargevalue": {
  21934. "description": "建仓会员手续费设置值",
  21935. "type": "number"
  21936. },
  21937. "openqty": {
  21938. "description": "开仓数量(先建后平操作 需要记录)",
  21939. "type": "integer"
  21940. },
  21941. "optiontype": {
  21942. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21943. "type": "integer"
  21944. },
  21945. "orderid": {
  21946. "description": "委托单号",
  21947. "type": "string"
  21948. },
  21949. "performanceplanid": {
  21950. "description": "履约计划ID[期权]",
  21951. "type": "integer"
  21952. },
  21953. "performancestatus": {
  21954. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21955. "type": "integer"
  21956. },
  21957. "preexerciseprice": {
  21958. "description": "预申报价格",
  21959. "type": "number"
  21960. },
  21961. "premium": {
  21962. "description": "权利金 - [持仓单的权利金]",
  21963. "type": "number"
  21964. },
  21965. "relatedouttradeid": {
  21966. "description": "关联外部成交单ID",
  21967. "type": "integer"
  21968. },
  21969. "status": {
  21970. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21971. "type": "integer"
  21972. },
  21973. "tradeamount": {
  21974. "description": "成交金额[账户币种,用于所有权]",
  21975. "type": "number"
  21976. },
  21977. "tradedate": {
  21978. "description": "交易日(yyyyMMdd)",
  21979. "type": "string"
  21980. },
  21981. "tradeid": {
  21982. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21983. "type": "string"
  21984. },
  21985. "trademode": {
  21986. "description": "交易模式",
  21987. "type": "integer"
  21988. },
  21989. "tradeprice": {
  21990. "description": "成交价格",
  21991. "type": "number"
  21992. },
  21993. "tradeproperty": {
  21994. "description": "交易属性",
  21995. "type": "integer"
  21996. },
  21997. "tradeqty": {
  21998. "description": "成交数量",
  21999. "type": "integer"
  22000. },
  22001. "tradetime": {
  22002. "description": "成交时间",
  22003. "type": "string"
  22004. },
  22005. "tradetype": {
  22006. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22007. "type": "integer"
  22008. }
  22009. }
  22010. },
  22011. "order.QueryTradeOrderDetailRsp": {
  22012. "type": "object",
  22013. "required": [
  22014. "accountid",
  22015. "buildtype",
  22016. "buyorsell",
  22017. "goodsid",
  22018. "marketid",
  22019. "operatetype",
  22020. "orderqty",
  22021. "ordertime",
  22022. "pricemode",
  22023. "tradedate",
  22024. "validtype"
  22025. ],
  22026. "properties": {
  22027. "accountid": {
  22028. "description": "账户ID[报价币种]",
  22029. "type": "integer"
  22030. },
  22031. "buildtype": {
  22032. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22033. "type": "integer"
  22034. },
  22035. "buyorsell": {
  22036. "description": "买卖 - 0:买 1:卖",
  22037. "type": "integer"
  22038. },
  22039. "cancelorderid": {
  22040. "description": "撤单单号(撤单时填写)",
  22041. "type": "string"
  22042. },
  22043. "cancelqty": {
  22044. "description": "撤单数量",
  22045. "type": "integer"
  22046. },
  22047. "clienttype": {
  22048. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22049. "type": "integer"
  22050. },
  22051. "closefreezecharge": {
  22052. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22053. "type": "number"
  22054. },
  22055. "closeqty": {
  22056. "description": "平仓数量(先建后平操作 需要记录)",
  22057. "type": "integer"
  22058. },
  22059. "closetradeqty": {
  22060. "description": "平仓成交数量(先建后平操作,需要记录)",
  22061. "type": "integer"
  22062. },
  22063. "closeunfreezecharge": {
  22064. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22065. "type": "number"
  22066. },
  22067. "delistingtype": {
  22068. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22069. "type": "integer"
  22070. },
  22071. "enableqty": {
  22072. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  22073. "type": "integer"
  22074. },
  22075. "freezecharge": {
  22076. "description": "冻结手续费",
  22077. "type": "number"
  22078. },
  22079. "freezemargin": {
  22080. "description": "冻结保证金(冻结交易金额)",
  22081. "type": "number"
  22082. },
  22083. "goodscode": {
  22084. "description": "商品代码",
  22085. "type": "string"
  22086. },
  22087. "goodsid": {
  22088. "description": "商品ID",
  22089. "type": "integer"
  22090. },
  22091. "goodsname": {
  22092. "description": "商品名称",
  22093. "type": "string"
  22094. },
  22095. "listingselecttype": {
  22096. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22097. "type": "integer"
  22098. },
  22099. "marketid": {
  22100. "description": "市场ID",
  22101. "type": "integer"
  22102. },
  22103. "marketname": {
  22104. "description": "市场名称",
  22105. "type": "string"
  22106. },
  22107. "openfreezecharge": {
  22108. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22109. "type": "number"
  22110. },
  22111. "openqty": {
  22112. "description": "开仓数量(先建后平操作,需要记录)",
  22113. "type": "integer"
  22114. },
  22115. "opentradeqty": {
  22116. "description": "开仓成交数量(先建后平操作,需要记录)",
  22117. "type": "integer"
  22118. },
  22119. "openunfreezecharge": {
  22120. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22121. "type": "number"
  22122. },
  22123. "operatetype": {
  22124. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22125. "type": "integer"
  22126. },
  22127. "operatorid": {
  22128. "description": "登录账号(LoginID)",
  22129. "type": "integer"
  22130. },
  22131. "orderid": {
  22132. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22133. "type": "string"
  22134. },
  22135. "orderprice": {
  22136. "description": "委托价格",
  22137. "type": "number"
  22138. },
  22139. "orderqty": {
  22140. "description": "委托数量",
  22141. "type": "integer"
  22142. },
  22143. "ordersrc": {
  22144. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22145. "type": "integer"
  22146. },
  22147. "orderstatus": {
  22148. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22149. "type": "integer"
  22150. },
  22151. "ordertime": {
  22152. "description": "委托时间",
  22153. "type": "string"
  22154. },
  22155. "preorderid": {
  22156. "description": "关联预埋单号(止盈止损单时填写)",
  22157. "type": "string"
  22158. },
  22159. "pricemode": {
  22160. "description": "取价方式 - 1:市价 2: 限价",
  22161. "type": "integer"
  22162. },
  22163. "relatedid": {
  22164. "description": "关联单号(交割单)",
  22165. "type": "string"
  22166. },
  22167. "tradedate": {
  22168. "description": "交易日(yyyyMMdd)",
  22169. "type": "string"
  22170. },
  22171. "trademode": {
  22172. "description": "交易模式",
  22173. "type": "integer"
  22174. },
  22175. "tradeqty": {
  22176. "description": "成交数量",
  22177. "type": "integer"
  22178. },
  22179. "unfreezecharge": {
  22180. "description": "解冻手续费",
  22181. "type": "number"
  22182. },
  22183. "unfreezemargin": {
  22184. "description": "解冻保证金",
  22185. "type": "number"
  22186. },
  22187. "validtime": {
  22188. "description": "有效期限",
  22189. "type": "string"
  22190. },
  22191. "validtype": {
  22192. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22193. "type": "integer"
  22194. },
  22195. "volumetype": {
  22196. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22197. "type": "integer"
  22198. }
  22199. }
  22200. },
  22201. "order.QueryTradePositionRsp": {
  22202. "type": "object",
  22203. "required": [
  22204. "goodsid"
  22205. ],
  22206. "properties": {
  22207. "accountid": {
  22208. "description": "资金账户",
  22209. "type": "integer"
  22210. },
  22211. "agreeunit": {
  22212. "description": "合约单位",
  22213. "type": "number"
  22214. },
  22215. "averageprice": {
  22216. "description": "持仓均价",
  22217. "type": "number"
  22218. },
  22219. "buyorsell": {
  22220. "description": "方向 - 0:买 1:卖",
  22221. "type": "integer"
  22222. },
  22223. "closetotalqty": {
  22224. "description": "平仓总数量",
  22225. "type": "integer"
  22226. },
  22227. "curholderamount": {
  22228. "description": "当前持仓总金额[商品币种]",
  22229. "type": "number"
  22230. },
  22231. "curpositionqty": {
  22232. "description": "当前持仓总数量",
  22233. "type": "integer"
  22234. },
  22235. "currencyid": {
  22236. "description": "报价货币ID",
  22237. "type": "integer"
  22238. },
  22239. "curtdposition": {
  22240. "description": "期末今日头寸",
  22241. "type": "integer"
  22242. },
  22243. "decimalplace": {
  22244. "description": "报价小数位",
  22245. "type": "integer"
  22246. },
  22247. "enableqty": {
  22248. "description": "可用量",
  22249. "type": "integer"
  22250. },
  22251. "fretdposition": {
  22252. "description": "冻结今日头寸",
  22253. "type": "integer"
  22254. },
  22255. "frozenqty": {
  22256. "description": "持仓冻结数量",
  22257. "type": "integer"
  22258. },
  22259. "goodscode": {
  22260. "description": "商品代码",
  22261. "type": "string"
  22262. },
  22263. "goodsid": {
  22264. "description": "商品Id",
  22265. "type": "integer"
  22266. },
  22267. "goodsname": {
  22268. "description": "商品名称",
  22269. "type": "string"
  22270. },
  22271. "goodunit": {
  22272. "description": "报价单位",
  22273. "type": "string"
  22274. },
  22275. "goodunitid": {
  22276. "description": "报价单位ID",
  22277. "type": "integer"
  22278. },
  22279. "holderamount": {
  22280. "description": "期初持仓总金额[商品币种]",
  22281. "type": "number"
  22282. },
  22283. "marketid": {
  22284. "description": "所属市场ID",
  22285. "type": "integer"
  22286. },
  22287. "openreqqty": {
  22288. "description": "开仓申请数量(用于比较最大持仓数量)",
  22289. "type": "integer"
  22290. },
  22291. "opentotalqty": {
  22292. "description": "开仓总数量",
  22293. "type": "integer"
  22294. },
  22295. "otherfrozenqty": {
  22296. "description": "持仓其他冻结数量(交割冻结)",
  22297. "type": "integer"
  22298. },
  22299. "positionqty": {
  22300. "description": "期初持仓数量",
  22301. "type": "integer"
  22302. },
  22303. "tnqty": {
  22304. "description": "T+N冻结总量",
  22305. "type": "integer"
  22306. },
  22307. "tnusedqty": {
  22308. "description": "T+N使用量(可以使用T+N的冻结数量)",
  22309. "type": "integer"
  22310. },
  22311. "trademode": {
  22312. "description": "交易模式",
  22313. "type": "integer"
  22314. },
  22315. "usedmargin": {
  22316. "description": "占用保证金[商品币种]",
  22317. "type": "number"
  22318. }
  22319. }
  22320. },
  22321. "quote.HistoryData": {
  22322. "type": "object",
  22323. "properties": {
  22324. "c": {
  22325. "description": "收盘价",
  22326. "type": "number"
  22327. },
  22328. "f": {
  22329. "description": "是否补充数据",
  22330. "type": "boolean"
  22331. },
  22332. "h": {
  22333. "description": "最高价",
  22334. "type": "number"
  22335. },
  22336. "hv": {
  22337. "description": "持仓量",
  22338. "type": "integer"
  22339. },
  22340. "l": {
  22341. "description": "最低价",
  22342. "type": "number"
  22343. },
  22344. "o": {
  22345. "description": "开盘价",
  22346. "type": "number"
  22347. },
  22348. "s": {
  22349. "description": "结算价,日线周期(包括)以上才有",
  22350. "type": "number"
  22351. },
  22352. "ts": {
  22353. "description": "时间",
  22354. "type": "string"
  22355. },
  22356. "tt": {
  22357. "description": "总金额",
  22358. "type": "number"
  22359. },
  22360. "tv": {
  22361. "description": "总量",
  22362. "type": "integer"
  22363. }
  22364. }
  22365. },
  22366. "quote.HistoryTikData": {
  22367. "type": "object",
  22368. "properties": {
  22369. "AV": {
  22370. "description": "卖量",
  22371. "type": "integer"
  22372. },
  22373. "Ask": {
  22374. "description": "卖价",
  22375. "type": "number"
  22376. },
  22377. "BV": {
  22378. "description": "买量",
  22379. "type": "integer"
  22380. },
  22381. "Bid": {
  22382. "description": "买价",
  22383. "type": "number"
  22384. },
  22385. "HI": {
  22386. "description": "单笔持仓",
  22387. "type": "integer"
  22388. },
  22389. "HV": {
  22390. "description": "持仓量",
  22391. "type": "integer"
  22392. },
  22393. "PE": {
  22394. "description": "现价",
  22395. "type": "number"
  22396. },
  22397. "TDR": {
  22398. "description": "交易方向,0:买 1:卖",
  22399. "type": "integer"
  22400. },
  22401. "TK": {
  22402. "description": "交易类型",
  22403. "type": "integer"
  22404. },
  22405. "TS": {
  22406. "description": "行情时间文本",
  22407. "type": "string"
  22408. },
  22409. "TT": {
  22410. "description": "现金额",
  22411. "type": "number"
  22412. },
  22413. "Vol": {
  22414. "description": "现量",
  22415. "type": "integer"
  22416. }
  22417. }
  22418. },
  22419. "quote.QueryQuoteDayRsp": {
  22420. "type": "object",
  22421. "properties": {
  22422. "ask": {
  22423. "description": "卖1",
  22424. "type": "number"
  22425. },
  22426. "ask10": {
  22427. "description": "卖10",
  22428. "type": "number"
  22429. },
  22430. "ask2": {
  22431. "description": "卖2",
  22432. "type": "number"
  22433. },
  22434. "ask3": {
  22435. "description": "卖3",
  22436. "type": "number"
  22437. },
  22438. "ask4": {
  22439. "description": "卖4",
  22440. "type": "number"
  22441. },
  22442. "ask5": {
  22443. "description": "卖5",
  22444. "type": "number"
  22445. },
  22446. "ask6": {
  22447. "description": "卖6",
  22448. "type": "number"
  22449. },
  22450. "ask7": {
  22451. "description": "卖7",
  22452. "type": "number"
  22453. },
  22454. "ask8": {
  22455. "description": "卖8",
  22456. "type": "number"
  22457. },
  22458. "ask9": {
  22459. "description": "卖9",
  22460. "type": "number"
  22461. },
  22462. "askorderid": {
  22463. "description": "卖单号1",
  22464. "type": "integer"
  22465. },
  22466. "askorderid2": {
  22467. "description": "卖单号2",
  22468. "type": "integer"
  22469. },
  22470. "askorderid3": {
  22471. "description": "卖单号3",
  22472. "type": "integer"
  22473. },
  22474. "askorderid4": {
  22475. "description": "卖单号4",
  22476. "type": "integer"
  22477. },
  22478. "askorderid5": {
  22479. "description": "卖单号5",
  22480. "type": "integer"
  22481. },
  22482. "askordervolume": {
  22483. "description": "卖单量1",
  22484. "type": "integer"
  22485. },
  22486. "askordervolume10": {
  22487. "description": "卖单量10",
  22488. "type": "integer"
  22489. },
  22490. "askordervolume2": {
  22491. "description": "卖单量2",
  22492. "type": "integer"
  22493. },
  22494. "askordervolume3": {
  22495. "description": "卖单量3",
  22496. "type": "integer"
  22497. },
  22498. "askordervolume4": {
  22499. "description": "卖单量4",
  22500. "type": "integer"
  22501. },
  22502. "askordervolume5": {
  22503. "description": "卖单量5",
  22504. "type": "integer"
  22505. },
  22506. "askordervolume6": {
  22507. "description": "卖单量6",
  22508. "type": "integer"
  22509. },
  22510. "askordervolume7": {
  22511. "description": "卖单量7",
  22512. "type": "integer"
  22513. },
  22514. "askordervolume8": {
  22515. "description": "卖单量8",
  22516. "type": "integer"
  22517. },
  22518. "askordervolume9": {
  22519. "description": "卖单量9",
  22520. "type": "integer"
  22521. },
  22522. "askqueueinfo": {
  22523. "description": "大利市卖港股用",
  22524. "type": "string"
  22525. },
  22526. "askvolume": {
  22527. "description": "卖量1",
  22528. "type": "integer"
  22529. },
  22530. "askvolume10": {
  22531. "description": "卖量10",
  22532. "type": "integer"
  22533. },
  22534. "askvolume2": {
  22535. "description": "卖量2",
  22536. "type": "integer"
  22537. },
  22538. "askvolume3": {
  22539. "description": "卖量3",
  22540. "type": "integer"
  22541. },
  22542. "askvolume4": {
  22543. "description": "卖量4",
  22544. "type": "integer"
  22545. },
  22546. "askvolume5": {
  22547. "description": "卖量5",
  22548. "type": "integer"
  22549. },
  22550. "askvolume6": {
  22551. "description": "卖量6",
  22552. "type": "integer"
  22553. },
  22554. "askvolume7": {
  22555. "description": "卖量7",
  22556. "type": "integer"
  22557. },
  22558. "askvolume8": {
  22559. "description": "卖量8",
  22560. "type": "integer"
  22561. },
  22562. "askvolume9": {
  22563. "description": "卖量9",
  22564. "type": "integer"
  22565. },
  22566. "averageprice": {
  22567. "description": "均价",
  22568. "type": "number"
  22569. },
  22570. "bid": {
  22571. "description": "买1",
  22572. "type": "number"
  22573. },
  22574. "bid10": {
  22575. "description": "买10",
  22576. "type": "number"
  22577. },
  22578. "bid2": {
  22579. "description": "买2",
  22580. "type": "number"
  22581. },
  22582. "bid3": {
  22583. "description": "买3",
  22584. "type": "number"
  22585. },
  22586. "bid4": {
  22587. "description": "买4",
  22588. "type": "number"
  22589. },
  22590. "bid5": {
  22591. "description": "买5",
  22592. "type": "number"
  22593. },
  22594. "bid6": {
  22595. "description": "买6",
  22596. "type": "number"
  22597. },
  22598. "bid7": {
  22599. "description": "买7",
  22600. "type": "number"
  22601. },
  22602. "bid8": {
  22603. "description": "买8",
  22604. "type": "number"
  22605. },
  22606. "bid9": {
  22607. "description": "买9",
  22608. "type": "number"
  22609. },
  22610. "bidorderid": {
  22611. "description": "买单号1",
  22612. "type": "integer"
  22613. },
  22614. "bidorderid2": {
  22615. "description": "买单号2",
  22616. "type": "integer"
  22617. },
  22618. "bidorderid3": {
  22619. "description": "买单号3",
  22620. "type": "integer"
  22621. },
  22622. "bidorderid4": {
  22623. "description": "买单号4",
  22624. "type": "integer"
  22625. },
  22626. "bidorderid5": {
  22627. "description": "买单号5",
  22628. "type": "integer"
  22629. },
  22630. "bidordervolume": {
  22631. "description": "买单量1",
  22632. "type": "integer"
  22633. },
  22634. "bidordervolume10": {
  22635. "description": "买单量10",
  22636. "type": "integer"
  22637. },
  22638. "bidordervolume2": {
  22639. "description": "买单量2",
  22640. "type": "integer"
  22641. },
  22642. "bidordervolume3": {
  22643. "description": "买单量3",
  22644. "type": "integer"
  22645. },
  22646. "bidordervolume4": {
  22647. "description": "买单量4",
  22648. "type": "integer"
  22649. },
  22650. "bidordervolume5": {
  22651. "description": "买单量5",
  22652. "type": "integer"
  22653. },
  22654. "bidordervolume6": {
  22655. "description": "买单量6",
  22656. "type": "integer"
  22657. },
  22658. "bidordervolume7": {
  22659. "description": "买单量7",
  22660. "type": "integer"
  22661. },
  22662. "bidordervolume8": {
  22663. "description": "买单量8",
  22664. "type": "integer"
  22665. },
  22666. "bidordervolume9": {
  22667. "description": "买单量9",
  22668. "type": "integer"
  22669. },
  22670. "bidqueueinfo": {
  22671. "description": "大利市买港股用",
  22672. "type": "string"
  22673. },
  22674. "bidvolume": {
  22675. "description": "买量1",
  22676. "type": "integer"
  22677. },
  22678. "bidvolume10": {
  22679. "description": "买量10",
  22680. "type": "integer"
  22681. },
  22682. "bidvolume2": {
  22683. "description": "买量2",
  22684. "type": "integer"
  22685. },
  22686. "bidvolume3": {
  22687. "description": "买量3",
  22688. "type": "integer"
  22689. },
  22690. "bidvolume4": {
  22691. "description": "买量4",
  22692. "type": "integer"
  22693. },
  22694. "bidvolume5": {
  22695. "description": "买量5",
  22696. "type": "integer"
  22697. },
  22698. "bidvolume6": {
  22699. "description": "买量6",
  22700. "type": "integer"
  22701. },
  22702. "bidvolume7": {
  22703. "description": "买量7",
  22704. "type": "integer"
  22705. },
  22706. "bidvolume8": {
  22707. "description": "买量8",
  22708. "type": "integer"
  22709. },
  22710. "bidvolume9": {
  22711. "description": "买量9",
  22712. "type": "integer"
  22713. },
  22714. "calloptionpremiums": {
  22715. "description": "认购期权1",
  22716. "type": "integer"
  22717. },
  22718. "calloptionpremiums2": {
  22719. "description": "认购期权2",
  22720. "type": "integer"
  22721. },
  22722. "calloptionpremiums3": {
  22723. "description": "认购期权3",
  22724. "type": "integer"
  22725. },
  22726. "calloptionpremiums4": {
  22727. "description": "认购期权4",
  22728. "type": "integer"
  22729. },
  22730. "calloptionpremiums5": {
  22731. "description": "认购期权5",
  22732. "type": "integer"
  22733. },
  22734. "cleartime": {
  22735. "description": "清盘时间",
  22736. "type": "integer"
  22737. },
  22738. "exchangecode": {
  22739. "description": "交易所代码",
  22740. "type": "integer"
  22741. },
  22742. "exchangedate": {
  22743. "description": "交易日",
  22744. "type": "integer"
  22745. },
  22746. "goodscode": {
  22747. "description": "商品代码",
  22748. "type": "string"
  22749. },
  22750. "grepmarketprice": {
  22751. "description": "暗盘价 港股专用",
  22752. "type": "number"
  22753. },
  22754. "highest": {
  22755. "description": "最高价",
  22756. "type": "number"
  22757. },
  22758. "holdincrement": {
  22759. "description": "单笔持仓",
  22760. "type": "integer"
  22761. },
  22762. "holdvolume": {
  22763. "description": "持仓",
  22764. "type": "integer"
  22765. },
  22766. "iep": {
  22767. "description": "平衡价 港股专用",
  22768. "type": "number"
  22769. },
  22770. "iev": {
  22771. "description": "平衡量 港股专用",
  22772. "type": "number"
  22773. },
  22774. "inventory": {
  22775. "description": "库存",
  22776. "type": "integer"
  22777. },
  22778. "iscleared": {
  22779. "description": "是否清盘标志",
  22780. "type": "integer"
  22781. },
  22782. "issettled": {
  22783. "description": "是否结算标志",
  22784. "type": "integer"
  22785. },
  22786. "last": {
  22787. "description": "最新价",
  22788. "type": "number"
  22789. },
  22790. "lastlot": {
  22791. "description": "最新成交手数",
  22792. "type": "integer"
  22793. },
  22794. "lasttime": {
  22795. "description": "行情时间(只有现价变化行情时间才变化)",
  22796. "type": "string"
  22797. },
  22798. "lastturnover": {
  22799. "description": "最新成交金额",
  22800. "type": "number"
  22801. },
  22802. "lastvolume": {
  22803. "description": "最新成交量",
  22804. "type": "integer"
  22805. },
  22806. "limitdown": {
  22807. "description": "跌停价",
  22808. "type": "number"
  22809. },
  22810. "limitup": {
  22811. "description": "涨停价",
  22812. "type": "number"
  22813. },
  22814. "lowest": {
  22815. "description": "最低价",
  22816. "type": "number"
  22817. },
  22818. "nontotalholdervolume": {
  22819. "description": "非交易持仓量",
  22820. "type": "integer"
  22821. },
  22822. "nontotallot": {
  22823. "description": "非交易总手数",
  22824. "type": "integer"
  22825. },
  22826. "nontotalturnover": {
  22827. "description": "非交易总金额",
  22828. "type": "integer"
  22829. },
  22830. "nontotalvolume": {
  22831. "description": "非交易总量",
  22832. "type": "integer"
  22833. },
  22834. "opened": {
  22835. "description": "开盘价",
  22836. "type": "number"
  22837. },
  22838. "opentime": {
  22839. "description": "开盘时间",
  22840. "type": "string"
  22841. },
  22842. "orderid": {
  22843. "description": "序号",
  22844. "type": "integer"
  22845. },
  22846. "preclose": {
  22847. "description": "昨收",
  22848. "type": "number"
  22849. },
  22850. "preholdvolume": {
  22851. "description": "昨持仓",
  22852. "type": "integer"
  22853. },
  22854. "presettle": {
  22855. "description": "昨结价",
  22856. "type": "number"
  22857. },
  22858. "publictradetype": {
  22859. "description": "公共交易标志类型 港股专用",
  22860. "type": "string"
  22861. },
  22862. "putoptionpremiums": {
  22863. "description": "认沽期权1",
  22864. "type": "integer"
  22865. },
  22866. "putoptionpremiums2": {
  22867. "description": "认沽期权2",
  22868. "type": "integer"
  22869. },
  22870. "putoptionpremiums3": {
  22871. "description": "认沽期权3",
  22872. "type": "integer"
  22873. },
  22874. "putoptionpremiums4": {
  22875. "description": "认沽期权4",
  22876. "type": "integer"
  22877. },
  22878. "putoptionpremiums5": {
  22879. "description": "认沽期权5",
  22880. "type": "integer"
  22881. },
  22882. "settle": {
  22883. "description": "结算价",
  22884. "type": "number"
  22885. },
  22886. "strikeprice": {
  22887. "description": "发行价",
  22888. "type": "number"
  22889. },
  22890. "totalaskvolume": {
  22891. "description": "内盘",
  22892. "type": "integer"
  22893. },
  22894. "totalbidvolume": {
  22895. "description": "外盘",
  22896. "type": "integer"
  22897. },
  22898. "totallot": {
  22899. "description": "总手数",
  22900. "type": "integer"
  22901. },
  22902. "totalturnover": {
  22903. "description": "总金额",
  22904. "type": "number"
  22905. },
  22906. "totalvolume": {
  22907. "description": "总量",
  22908. "type": "integer"
  22909. },
  22910. "utclasttime": {
  22911. "description": "utc的行情时间",
  22912. "type": "string"
  22913. }
  22914. }
  22915. },
  22916. "quote.QueryTSDataRsp": {
  22917. "type": "object",
  22918. "properties": {
  22919. "Count": {
  22920. "description": "交易日应有数据个数",
  22921. "type": "integer"
  22922. },
  22923. "decimalPlace": {
  22924. "description": "小数位",
  22925. "type": "integer"
  22926. },
  22927. "endTime": {
  22928. "description": "结束时间",
  22929. "type": "string"
  22930. },
  22931. "goodsCode": {
  22932. "description": "商品代码",
  22933. "type": "string"
  22934. },
  22935. "historyDatas": {
  22936. "description": "历史数据",
  22937. "type": "array",
  22938. "items": {
  22939. "$ref": "#/definitions/quote.HistoryData"
  22940. }
  22941. },
  22942. "outGoodsCode": {
  22943. "description": "外部商品代码",
  22944. "type": "string"
  22945. },
  22946. "preSettle": {
  22947. "description": "昨结价",
  22948. "type": "number"
  22949. },
  22950. "runSteps": {
  22951. "description": "交易日开休市计划",
  22952. "type": "array",
  22953. "items": {
  22954. "$ref": "#/definitions/quote.TSDataRunStep"
  22955. }
  22956. },
  22957. "startTime": {
  22958. "description": "开始时间",
  22959. "type": "string"
  22960. },
  22961. "tradeDate": {
  22962. "description": "交易日",
  22963. "type": "string"
  22964. }
  22965. }
  22966. },
  22967. "quote.TSDataRunStep": {
  22968. "type": "object",
  22969. "properties": {
  22970. "end": {
  22971. "description": "真实结束时间",
  22972. "type": "string"
  22973. },
  22974. "endflag": {
  22975. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  22976. "type": "integer"
  22977. },
  22978. "endtime": {
  22979. "description": "结束时间(HH:mm)",
  22980. "type": "string"
  22981. },
  22982. "endweekday": {
  22983. "description": "结束周几",
  22984. "type": "integer"
  22985. },
  22986. "groupid": {
  22987. "description": "分组ID",
  22988. "type": "integer"
  22989. },
  22990. "runstep": {
  22991. "description": "运行阶段 - 2:连续交易",
  22992. "type": "integer"
  22993. },
  22994. "sectionid": {
  22995. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  22996. "type": "integer"
  22997. },
  22998. "start": {
  22999. "description": "真实开始时间",
  23000. "type": "string"
  23001. },
  23002. "startflag": {
  23003. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  23004. "type": "integer"
  23005. },
  23006. "starttime": {
  23007. "description": "起始时间(HH:mm)",
  23008. "type": "string"
  23009. },
  23010. "startweekday": {
  23011. "description": "起始周几",
  23012. "type": "integer"
  23013. },
  23014. "tradeweekday": {
  23015. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  23016. "type": "integer"
  23017. }
  23018. }
  23019. },
  23020. "szdz.QueryConvertLogRsp": {
  23021. "type": "object",
  23022. "required": [
  23023. "logid"
  23024. ],
  23025. "properties": {
  23026. "accountid": {
  23027. "description": "资金账户ID",
  23028. "type": "integer"
  23029. },
  23030. "clientticket": {
  23031. "description": "客户端流水号",
  23032. "type": "string"
  23033. },
  23034. "converttype": {
  23035. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  23036. "type": "integer"
  23037. },
  23038. "createtime": {
  23039. "description": "记账时间",
  23040. "type": "string"
  23041. },
  23042. "daymaxvalue": {
  23043. "description": "配置当日最大转入限制",
  23044. "type": "number"
  23045. },
  23046. "daymaxvalue2": {
  23047. "description": "配置当日最大转入限制(转入)",
  23048. "type": "number"
  23049. },
  23050. "goodscode": {
  23051. "description": "商品代码",
  23052. "type": "string"
  23053. },
  23054. "goodsname": {
  23055. "description": "商品名称",
  23056. "type": "string"
  23057. },
  23058. "handlestatus": {
  23059. "description": "处理状态",
  23060. "type": "integer"
  23061. },
  23062. "innergoodsid": {
  23063. "description": "内部商品ID",
  23064. "type": "integer"
  23065. },
  23066. "inratio": {
  23067. "description": "配置转入比值",
  23068. "type": "integer"
  23069. },
  23070. "invalue": {
  23071. "description": "目标值",
  23072. "type": "number"
  23073. },
  23074. "logid": {
  23075. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23076. "type": "integer"
  23077. },
  23078. "mobile": {
  23079. "description": "手机号码(加密存储)",
  23080. "type": "string"
  23081. },
  23082. "outergoodscode": {
  23083. "description": "外部商品代码[JD\\PD]",
  23084. "type": "string"
  23085. },
  23086. "outratio": {
  23087. "description": "配置转出比值",
  23088. "type": "integer"
  23089. },
  23090. "outvalue": {
  23091. "description": "源值",
  23092. "type": "number"
  23093. },
  23094. "pddecimalplace": {
  23095. "description": "PD小数位",
  23096. "type": "integer"
  23097. },
  23098. "qty": {
  23099. "description": "数量",
  23100. "type": "string"
  23101. },
  23102. "remark": {
  23103. "description": "备注",
  23104. "type": "string"
  23105. },
  23106. "sessionid": {
  23107. "description": "会话ID",
  23108. "type": "integer"
  23109. },
  23110. "timemaxvalue": {
  23111. "description": "配置单次最大转入限制",
  23112. "type": "number"
  23113. },
  23114. "timemaxvalue2": {
  23115. "description": "配置单次最大转入限制(转入)",
  23116. "type": "number"
  23117. },
  23118. "timeminvalue": {
  23119. "description": "配置单次最小数量限制",
  23120. "type": "number"
  23121. },
  23122. "timeminvalue2": {
  23123. "description": "配置单次最小数量限制(转入)",
  23124. "type": "number"
  23125. },
  23126. "tradedate": {
  23127. "description": "交易日(yyyyMMdd)",
  23128. "type": "string"
  23129. },
  23130. "userid": {
  23131. "description": "用户ID",
  23132. "type": "integer"
  23133. }
  23134. }
  23135. },
  23136. "szdz.QueryGoodsPickupRsp": {
  23137. "type": "object",
  23138. "required": [
  23139. "takeorderid"
  23140. ],
  23141. "properties": {
  23142. "accountid": {
  23143. "description": "账户ID",
  23144. "type": "integer"
  23145. },
  23146. "address": {
  23147. "description": "提货人详细地址",
  23148. "type": "string"
  23149. },
  23150. "auditer": {
  23151. "description": "审核人",
  23152. "type": "integer"
  23153. },
  23154. "audittime": {
  23155. "description": "审核时间",
  23156. "type": "string"
  23157. },
  23158. "cardnum": {
  23159. "description": "提货人证件号码",
  23160. "type": "string"
  23161. },
  23162. "cardtypeid": {
  23163. "description": "提货人证件类型",
  23164. "type": "integer"
  23165. },
  23166. "checkremark": {
  23167. "description": "审核备注",
  23168. "type": "string"
  23169. },
  23170. "goodscode": {
  23171. "description": "商品代码",
  23172. "type": "string"
  23173. },
  23174. "goodsid": {
  23175. "description": "商品ID",
  23176. "type": "integer"
  23177. },
  23178. "goodsname": {
  23179. "description": "商品名称",
  23180. "type": "string"
  23181. },
  23182. "handlestatus": {
  23183. "description": "处理状态",
  23184. "type": "integer"
  23185. },
  23186. "marketid": {
  23187. "description": "市场ID",
  23188. "type": "integer"
  23189. },
  23190. "phonenum": {
  23191. "description": "提货人联系方式",
  23192. "type": "string"
  23193. },
  23194. "qty": {
  23195. "description": "提货数量",
  23196. "type": "number"
  23197. },
  23198. "recivername": {
  23199. "description": "提货人姓名",
  23200. "type": "string"
  23201. },
  23202. "reqtime": {
  23203. "description": "更新时间",
  23204. "type": "string"
  23205. },
  23206. "takemode": {
  23207. "description": "提货方式 - 2:自提 3:配送",
  23208. "type": "integer"
  23209. },
  23210. "takeorderid": {
  23211. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23212. "type": "string"
  23213. },
  23214. "takeorderstatus": {
  23215. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23216. "type": "integer"
  23217. },
  23218. "takeremark": {
  23219. "description": "提货备注",
  23220. "type": "string"
  23221. },
  23222. "tradedate": {
  23223. "description": "交易日(yyyyMMdd)",
  23224. "type": "string"
  23225. },
  23226. "userid": {
  23227. "description": "用户ID",
  23228. "type": "integer"
  23229. }
  23230. }
  23231. },
  23232. "szdz.QueryRecieptOrderRsp": {
  23233. "type": "object",
  23234. "required": [
  23235. "ordertime"
  23236. ],
  23237. "properties": {
  23238. "accountName": {
  23239. "description": "所属账号名称(已脱敏)",
  23240. "type": "string"
  23241. },
  23242. "accountid": {
  23243. "description": "资金账号",
  23244. "type": "integer"
  23245. },
  23246. "buyorsell": {
  23247. "description": "方向 - 0:买 1:卖",
  23248. "type": "integer"
  23249. },
  23250. "enableqty": {
  23251. "description": "可摘数量",
  23252. "type": "integer"
  23253. },
  23254. "goodscode": {
  23255. "description": "商品代码",
  23256. "type": "string"
  23257. },
  23258. "goodsid": {
  23259. "description": "商品ID",
  23260. "type": "integer"
  23261. },
  23262. "goodsname": {
  23263. "description": "商品名称",
  23264. "type": "string"
  23265. },
  23266. "orderid": {
  23267. "description": "委托单号",
  23268. "type": "string"
  23269. },
  23270. "orderprice": {
  23271. "description": "委托价格",
  23272. "type": "number"
  23273. },
  23274. "ordertime": {
  23275. "description": "委托时间",
  23276. "type": "string"
  23277. },
  23278. "tradedate": {
  23279. "description": "交易日(yyyyMMdd)",
  23280. "type": "string"
  23281. }
  23282. }
  23283. },
  23284. "szdz.QuerySZDZTradePositionRsp": {
  23285. "type": "object",
  23286. "properties": {
  23287. "accountid": {
  23288. "description": "账号Id",
  23289. "type": "integer"
  23290. },
  23291. "agreeunit": {
  23292. "description": "合约单位",
  23293. "type": "number"
  23294. },
  23295. "averageprice": {
  23296. "description": "持仓均价",
  23297. "type": "number"
  23298. },
  23299. "buyorsell": {
  23300. "description": "方向 - 0:买 1:卖",
  23301. "type": "integer"
  23302. },
  23303. "closetotalqty": {
  23304. "description": "平仓总数量",
  23305. "type": "integer"
  23306. },
  23307. "curholderamount": {
  23308. "description": "当前持仓总金额",
  23309. "type": "number"
  23310. },
  23311. "curpositionqty": {
  23312. "description": "当前持仓总数量",
  23313. "type": "integer"
  23314. },
  23315. "currencyid": {
  23316. "description": "报价货币ID",
  23317. "type": "integer"
  23318. },
  23319. "curtdposition": {
  23320. "description": "期末今日头寸",
  23321. "type": "integer"
  23322. },
  23323. "decimalplace": {
  23324. "description": "报价小数位",
  23325. "type": "integer"
  23326. },
  23327. "enableqty": {
  23328. "description": "可用量",
  23329. "type": "integer"
  23330. },
  23331. "fretdposition": {
  23332. "description": "冻结今日头寸",
  23333. "type": "integer"
  23334. },
  23335. "frozenqty": {
  23336. "description": "持仓冻结数量",
  23337. "type": "integer"
  23338. },
  23339. "goodscode": {
  23340. "description": "商品代码(内部)",
  23341. "type": "string"
  23342. },
  23343. "goodsid": {
  23344. "description": "商品Id",
  23345. "type": "integer"
  23346. },
  23347. "goodsname": {
  23348. "description": "商品名称",
  23349. "type": "string"
  23350. },
  23351. "goodunit": {
  23352. "description": "报价单位",
  23353. "type": "string"
  23354. },
  23355. "goodunitid": {
  23356. "description": "报价单位ID",
  23357. "type": "integer"
  23358. },
  23359. "holderamount": {
  23360. "description": "期初持仓总金额",
  23361. "type": "number"
  23362. },
  23363. "marketid": {
  23364. "description": "市场ID",
  23365. "type": "integer"
  23366. },
  23367. "openreqqty": {
  23368. "description": "开仓申请数量",
  23369. "type": "integer"
  23370. },
  23371. "opentotalqty": {
  23372. "description": "开仓总数量",
  23373. "type": "integer"
  23374. },
  23375. "otherfrozenqty": {
  23376. "description": "持仓其他冻结数量(交割冻结)",
  23377. "type": "integer"
  23378. },
  23379. "positionqty": {
  23380. "description": "期初持仓数量",
  23381. "type": "integer"
  23382. },
  23383. "szdz3freezqty": {
  23384. "description": "尚志大宗转换冻结总数量",
  23385. "type": "integer"
  23386. },
  23387. "tnqty": {
  23388. "description": "T+N冻结总量",
  23389. "type": "integer"
  23390. },
  23391. "tnusedqty": {
  23392. "description": "T+N使用量",
  23393. "type": "integer"
  23394. },
  23395. "trademode": {
  23396. "description": "交易模式",
  23397. "type": "integer"
  23398. },
  23399. "usedmargin": {
  23400. "description": "占用保证金",
  23401. "type": "number"
  23402. }
  23403. }
  23404. },
  23405. "taaccount.QueryAmountLogRsp": {
  23406. "type": "object",
  23407. "required": [
  23408. "accountid",
  23409. "amount",
  23410. "amountadjusttype",
  23411. "autoid",
  23412. "balance",
  23413. "createtime",
  23414. "currentbalance",
  23415. "operatetype"
  23416. ],
  23417. "properties": {
  23418. "OPERATETYPENAME": {
  23419. "description": "资金操作类型名称",
  23420. "type": "string"
  23421. },
  23422. "accountid": {
  23423. "description": "资金账户ID",
  23424. "type": "integer"
  23425. },
  23426. "agoodscode": {
  23427. "description": "竞拍商品代码",
  23428. "type": "string"
  23429. },
  23430. "agoodsname": {
  23431. "description": "竞拍商品名称",
  23432. "type": "string"
  23433. },
  23434. "amount": {
  23435. "description": "资金金额",
  23436. "type": "number"
  23437. },
  23438. "amountadjusttype": {
  23439. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23440. "type": "integer"
  23441. },
  23442. "autoid": {
  23443. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23444. "type": "integer"
  23445. },
  23446. "balance": {
  23447. "description": "期初余额",
  23448. "type": "number"
  23449. },
  23450. "businesscode": {
  23451. "description": "业务编号",
  23452. "type": "integer"
  23453. },
  23454. "createtime": {
  23455. "description": "发生时间",
  23456. "type": "string"
  23457. },
  23458. "currencyid": {
  23459. "description": "币种ID",
  23460. "type": "integer"
  23461. },
  23462. "currentbalance": {
  23463. "description": "期末余额(变动后金额)",
  23464. "type": "number"
  23465. },
  23466. "dgoodscode": {
  23467. "description": "交割商品代码",
  23468. "type": "string"
  23469. },
  23470. "dgoodsname": {
  23471. "description": "交割商品名称",
  23472. "type": "string"
  23473. },
  23474. "goodscode": {
  23475. "description": "商品代码",
  23476. "type": "string"
  23477. },
  23478. "goodsid": {
  23479. "description": "商品ID",
  23480. "type": "integer"
  23481. },
  23482. "goodsname": {
  23483. "description": "商品名称",
  23484. "type": "string"
  23485. },
  23486. "marketid": {
  23487. "description": "市场ID",
  23488. "type": "integer"
  23489. },
  23490. "marketname": {
  23491. "description": "市场名称",
  23492. "type": "string"
  23493. },
  23494. "moneyticket": {
  23495. "description": "资金流水号:银行端流水号",
  23496. "type": "integer"
  23497. },
  23498. "operatetype": {
  23499. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  23500. "type": "integer"
  23501. },
  23502. "relationorderid": {
  23503. "description": "关联单号",
  23504. "type": "string"
  23505. },
  23506. "remark": {
  23507. "description": "备注",
  23508. "type": "string"
  23509. },
  23510. "trademode": {
  23511. "description": "交易模式",
  23512. "type": "integer"
  23513. }
  23514. }
  23515. },
  23516. "taaccount.QueryHisAmountLogRsp": {
  23517. "type": "object",
  23518. "required": [
  23519. "accountid",
  23520. "amount",
  23521. "amountadjusttype",
  23522. "autoid",
  23523. "balance",
  23524. "createtime",
  23525. "currentbalance",
  23526. "histradedate",
  23527. "operatetype"
  23528. ],
  23529. "properties": {
  23530. "OPERATETYPENAME": {
  23531. "description": "资金操作类型名称",
  23532. "type": "string"
  23533. },
  23534. "accountid": {
  23535. "description": "资金账户ID",
  23536. "type": "integer"
  23537. },
  23538. "agoodscode": {
  23539. "description": "竞拍商品代码",
  23540. "type": "string"
  23541. },
  23542. "agoodsname": {
  23543. "description": "竞拍商品名称",
  23544. "type": "string"
  23545. },
  23546. "amount": {
  23547. "description": "资金金额",
  23548. "type": "number"
  23549. },
  23550. "amountadjusttype": {
  23551. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23552. "type": "integer"
  23553. },
  23554. "autoid": {
  23555. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23556. "type": "integer"
  23557. },
  23558. "balance": {
  23559. "description": "期初余额",
  23560. "type": "number"
  23561. },
  23562. "businesscode": {
  23563. "description": "业务编号",
  23564. "type": "integer"
  23565. },
  23566. "createtime": {
  23567. "description": "发生时间",
  23568. "type": "string"
  23569. },
  23570. "currencyid": {
  23571. "description": "币种ID",
  23572. "type": "integer"
  23573. },
  23574. "currentbalance": {
  23575. "description": "期末余额(变动后金额)",
  23576. "type": "number"
  23577. },
  23578. "dgoodscode": {
  23579. "description": "交割商品代码",
  23580. "type": "string"
  23581. },
  23582. "dgoodsname": {
  23583. "description": "交割商品名称",
  23584. "type": "string"
  23585. },
  23586. "goodscode": {
  23587. "description": "商品代码",
  23588. "type": "string"
  23589. },
  23590. "goodsid": {
  23591. "description": "商品ID",
  23592. "type": "integer"
  23593. },
  23594. "goodsname": {
  23595. "description": "商品名称",
  23596. "type": "string"
  23597. },
  23598. "histradedate": {
  23599. "description": "历史交易日",
  23600. "type": "string"
  23601. },
  23602. "isvaliddata": {
  23603. "description": "是否有效 - 0:无效 1:有效",
  23604. "type": "integer"
  23605. },
  23606. "marketid": {
  23607. "description": "市场ID",
  23608. "type": "integer"
  23609. },
  23610. "marketname": {
  23611. "description": "市场名称",
  23612. "type": "string"
  23613. },
  23614. "moneyticket": {
  23615. "description": "资金流水号:银行端流水号",
  23616. "type": "integer"
  23617. },
  23618. "operatetype": {
  23619. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  23620. "type": "integer"
  23621. },
  23622. "relationorderid": {
  23623. "description": "关联单号",
  23624. "type": "string"
  23625. },
  23626. "remark": {
  23627. "description": "备注",
  23628. "type": "string"
  23629. },
  23630. "trademode": {
  23631. "description": "交易模式",
  23632. "type": "integer"
  23633. }
  23634. }
  23635. },
  23636. "trade.QueryRecieptOrderRsp": {
  23637. "type": "object",
  23638. "required": [
  23639. "ordertime"
  23640. ],
  23641. "properties": {
  23642. "accountName": {
  23643. "description": "所属账号名称(已脱敏)",
  23644. "type": "string"
  23645. },
  23646. "accountid": {
  23647. "description": "资金账号",
  23648. "type": "integer"
  23649. },
  23650. "buyorsell": {
  23651. "description": "方向 - 0:买 1:卖",
  23652. "type": "integer"
  23653. },
  23654. "enableqty": {
  23655. "description": "可摘数量",
  23656. "type": "integer"
  23657. },
  23658. "goodscode": {
  23659. "description": "商品代码",
  23660. "type": "string"
  23661. },
  23662. "goodsid": {
  23663. "description": "商品ID",
  23664. "type": "integer"
  23665. },
  23666. "goodsname": {
  23667. "description": "商品名称",
  23668. "type": "string"
  23669. },
  23670. "orderid": {
  23671. "description": "委托单号",
  23672. "type": "string"
  23673. },
  23674. "orderprice": {
  23675. "description": "委托价格",
  23676. "type": "number"
  23677. },
  23678. "ordertime": {
  23679. "description": "委托时间",
  23680. "type": "string"
  23681. },
  23682. "tradedate": {
  23683. "description": "交易日(yyyyMMdd)",
  23684. "type": "string"
  23685. }
  23686. }
  23687. },
  23688. "user.LoginQueryRsp": {
  23689. "type": "object",
  23690. "properties": {
  23691. "areaRoles": {
  23692. "description": "所属角色信息",
  23693. "type": "array",
  23694. "items": {
  23695. "$ref": "#/definitions/models.Arearole"
  23696. }
  23697. },
  23698. "externalExchanges": {
  23699. "description": "外部交易所",
  23700. "type": "array",
  23701. "items": {
  23702. "$ref": "#/definitions/models.Externalexchange"
  23703. }
  23704. },
  23705. "goodsgroups": {
  23706. "description": "商品组",
  23707. "type": "array",
  23708. "items": {
  23709. "$ref": "#/definitions/models.Goodsgroup"
  23710. }
  23711. },
  23712. "loginAccount": {
  23713. "description": "登录账号",
  23714. "type": "object",
  23715. "$ref": "#/definitions/models.Loginaccount"
  23716. },
  23717. "markets": {
  23718. "description": "市场",
  23719. "type": "array",
  23720. "items": {
  23721. "$ref": "#/definitions/models.Market"
  23722. }
  23723. },
  23724. "systemParams": {
  23725. "description": "系统参数",
  23726. "type": "array",
  23727. "items": {
  23728. "$ref": "#/definitions/models.Systemparam"
  23729. }
  23730. },
  23731. "userAccount": {
  23732. "description": "用户账号",
  23733. "type": "object",
  23734. "$ref": "#/definitions/models.Useraccount"
  23735. },
  23736. "userInfo": {
  23737. "description": "用户信息",
  23738. "type": "object",
  23739. "$ref": "#/definitions/models.Userinfo"
  23740. },
  23741. "username": {
  23742. "description": "用户姓名",
  23743. "type": "string"
  23744. }
  23745. }
  23746. }
  23747. },
  23748. "securityDefinitions": {
  23749. "ApiKeyAuth": {
  23750. "type": "apiKey",
  23751. "name": "Authorization",
  23752. "in": "header"
  23753. }
  23754. }
  23755. }`
  23756. type swaggerInfo struct {
  23757. Version string
  23758. Host string
  23759. BasePath string
  23760. Schemes []string
  23761. Title string
  23762. Description string
  23763. }
  23764. // SwaggerInfo holds exported Swagger Info so clients can modify it
  23765. var SwaggerInfo = swaggerInfo{
  23766. Version: "1.0",
  23767. Host: "",
  23768. BasePath: "/api",
  23769. Schemes: []string{},
  23770. Title: "MTP2.0 查询服务 API",
  23771. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  23772. }
  23773. type s struct{}
  23774. func (s *s) ReadDoc() string {
  23775. sInfo := SwaggerInfo
  23776. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  23777. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  23778. "marshal": func(v interface{}) string {
  23779. a, _ := json.Marshal(v)
  23780. return string(a)
  23781. },
  23782. }).Parse(doc)
  23783. if err != nil {
  23784. return doc
  23785. }
  23786. var tpl bytes.Buffer
  23787. if err := t.Execute(&tpl, sInfo); err != nil {
  23788. return doc
  23789. }
  23790. return tpl.String()
  23791. }
  23792. func init() {
  23793. swag.Register(swag.Name, &s{})
  23794. }