docs.go 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "termsOfService": "http://www.muchinfo.cn",
  12. "contact": {},
  13. "version": "{{.Version}}"
  14. },
  15. "host": "{{.Host}}",
  16. "basePath": "{{.BasePath}}",
  17. "paths": {
  18. "/CPTrade/QueryCPTradeMyBidInfos": {
  19. "get": {
  20. "security": [
  21. {
  22. "ApiKeyAuth": []
  23. }
  24. ],
  25. "produces": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "产能预售"
  30. ],
  31. "summary": "查询产能预售我的出价信息",
  32. "parameters": [
  33. {
  34. "type": "integer",
  35. "description": "资金账户",
  36. "name": "accountid",
  37. "in": "query",
  38. "required": true
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售市场ID",
  43. "name": "marketid",
  44. "in": "query"
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售商品ID",
  49. "name": "goodsid",
  50. "in": "query"
  51. }
  52. ],
  53. "responses": {
  54. "200": {
  55. "description": "OK",
  56. "schema": {
  57. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  58. }
  59. },
  60. "500": {
  61. "description": "Internal Server Error",
  62. "schema": {
  63. "$ref": "#/definitions/app.Response"
  64. }
  65. }
  66. }
  67. }
  68. },
  69. "/CPTrade/QueryCPTradeOrderDetail": {
  70. "get": {
  71. "security": [
  72. {
  73. "ApiKeyAuth": []
  74. }
  75. ],
  76. "produces": [
  77. "application/json"
  78. ],
  79. "tags": [
  80. "产能预售"
  81. ],
  82. "summary": "查询产能预售委托单信息",
  83. "parameters": [
  84. {
  85. "type": "integer",
  86. "description": "预售商品ID",
  87. "name": "goodsid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "integer",
  92. "description": "预售市场ID",
  93. "name": "marketid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "string",
  98. "description": "预售商品ID列表 - 格式:1,2,3",
  99. "name": "goodsids",
  100. "in": "query"
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "OK",
  106. "schema": {
  107. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  108. }
  109. },
  110. "500": {
  111. "description": "Internal Server Error",
  112. "schema": {
  113. "$ref": "#/definitions/app.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/CPTrade/QueryMyCPTradeGoods": {
  120. "get": {
  121. "security": [
  122. {
  123. "ApiKeyAuth": []
  124. }
  125. ],
  126. "produces": [
  127. "application/json"
  128. ],
  129. "tags": [
  130. "产能预售"
  131. ],
  132. "summary": "查询我的预售信息",
  133. "parameters": [
  134. {
  135. "type": "integer",
  136. "description": "资金账户",
  137. "name": "accountid",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/app.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/CPTrade/QueryPositionCancel": {
  159. "get": {
  160. "security": [
  161. {
  162. "ApiKeyAuth": []
  163. }
  164. ],
  165. "produces": [
  166. "application/json"
  167. ],
  168. "tags": [
  169. "产能预售"
  170. ],
  171. "summary": "查询远期订单注销申请信息",
  172. "parameters": [
  173. {
  174. "type": "integer",
  175. "description": "账户ID",
  176. "name": "userid",
  177. "in": "query",
  178. "required": true
  179. },
  180. {
  181. "type": "integer",
  182. "description": "注销ID",
  183. "name": "cancelid",
  184. "in": "query"
  185. },
  186. {
  187. "type": "integer",
  188. "description": "资金账户ID",
  189. "name": "accountid",
  190. "in": "query"
  191. }
  192. ],
  193. "responses": {
  194. "200": {
  195. "description": "OK",
  196. "schema": {
  197. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  198. }
  199. },
  200. "500": {
  201. "description": "Internal Server Error",
  202. "schema": {
  203. "$ref": "#/definitions/app.Response"
  204. }
  205. }
  206. }
  207. }
  208. },
  209. "/CPTrade/QueryPreasleApply": {
  210. "get": {
  211. "security": [
  212. {
  213. "ApiKeyAuth": []
  214. }
  215. ],
  216. "produces": [
  217. "application/json"
  218. ],
  219. "tags": [
  220. "产能预售"
  221. ],
  222. "summary": "查询产能预售申请信息",
  223. "parameters": [
  224. {
  225. "type": "integer",
  226. "description": "账户ID",
  227. "name": "userid",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "申请ID",
  234. "name": "applyid",
  235. "in": "query"
  236. },
  237. {
  238. "type": "integer",
  239. "description": "资金账户ID",
  240. "name": "accountid",
  241. "in": "query"
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/app.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/CPTrade/QueryPresaleGoodsEx": {
  261. "get": {
  262. "security": [
  263. {
  264. "ApiKeyAuth": []
  265. }
  266. ],
  267. "produces": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "产能预售"
  272. ],
  273. "summary": "查询产能预售商品扩展信息",
  274. "parameters": [
  275. {
  276. "type": "integer",
  277. "description": "预售商品ID",
  278. "name": "goodsid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售市场ID",
  284. "name": "marketid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  290. "name": "presalemode",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品ID列表 - 格式:1,2,3",
  296. "name": "goodsids",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品代码",
  302. "name": "goodscode",
  303. "in": "query"
  304. }
  305. ],
  306. "responses": {
  307. "200": {
  308. "description": "OK",
  309. "schema": {
  310. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  311. }
  312. },
  313. "500": {
  314. "description": "Internal Server Error",
  315. "schema": {
  316. "$ref": "#/definitions/app.Response"
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "/CPTrade/QueryUserGoodsData": {
  323. "get": {
  324. "security": [
  325. {
  326. "ApiKeyAuth": []
  327. }
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "产能预售"
  334. ],
  335. "summary": "查询远期订单信息",
  336. "parameters": [
  337. {
  338. "type": "integer",
  339. "description": "资金账户ID",
  340. "name": "accountid",
  341. "in": "query",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "OK",
  348. "schema": {
  349. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  350. }
  351. },
  352. "500": {
  353. "description": "Internal Server Error",
  354. "schema": {
  355. "$ref": "#/definitions/app.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/Common/DeleteNewFuncmenu": {
  362. "delete": {
  363. "security": [
  364. {
  365. "ApiKeyAuth": []
  366. }
  367. ],
  368. "consumes": [
  369. "application/json"
  370. ],
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "删除菜单表数据",
  378. "parameters": [
  379. {
  380. "description": "菜单表数据,只需要resourcecode字段即可",
  381. "name": "data",
  382. "in": "body",
  383. "required": true,
  384. "schema": {
  385. "$ref": "#/definitions/models.NewFuncmenulist"
  386. }
  387. }
  388. ],
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/FindNewFuncmenu": {
  406. "get": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "获取菜单表数据",
  419. "parameters": [
  420. {
  421. "type": "string",
  422. "description": "资源代码",
  423. "name": "resourcecode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "上级资源代码",
  429. "name": "parentcode",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "资源名(Title), 模糊查询",
  435. "name": "resourcename",
  436. "in": "query"
  437. },
  438. {
  439. "type": "string",
  440. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  441. "name": "menutype",
  442. "in": "query"
  443. }
  444. ],
  445. "responses": {
  446. "200": {
  447. "description": "OK",
  448. "schema": {
  449. "type": "array",
  450. "items": {
  451. "$ref": "#/definitions/models.NewFuncmenulist"
  452. }
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/GetAllEnums": {
  465. "get": {
  466. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取所有枚举信息",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "起始自增ID",
  478. "name": "autoid",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.Enumdicitem"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/GetClientMenus": {
  499. "get": {
  500. "security": [
  501. {
  502. "ApiKeyAuth": []
  503. }
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "通用服务"
  510. ],
  511. "summary": "获取交易端菜单",
  512. "parameters": [
  513. {
  514. "type": "integer",
  515. "description": "登录账号",
  516. "name": "loginID",
  517. "in": "query",
  518. "required": true
  519. },
  520. {
  521. "type": "integer",
  522. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  523. "name": "clientType",
  524. "in": "query"
  525. },
  526. {
  527. "type": "string",
  528. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  529. "name": "name",
  530. "in": "query"
  531. }
  532. ],
  533. "responses": {
  534. "200": {
  535. "description": "OK",
  536. "schema": {
  537. "type": "array",
  538. "items": {
  539. "$ref": "#/definitions/common.ClientMenu"
  540. }
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/GetClientNewFuncmenu": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "获取终端菜单",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "登录账号",
  570. "name": "loginid",
  571. "in": "query",
  572. "required": true
  573. },
  574. {
  575. "type": "integer",
  576. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  577. "name": "menutype",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.NewFuncmenulist"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/GetDivisions": {
  602. "get": {
  603. "produces": [
  604. "application/json"
  605. ],
  606. "tags": [
  607. "通用服务"
  608. ],
  609. "summary": "查询区域信息",
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/models.Division"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/GetPCWebMenus": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "获取PCWeb交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginID",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  651. "name": "name",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "type": "array",
  660. "items": {
  661. "$ref": "#/definitions/common.PCWebMenu"
  662. }
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/app.Response"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/Common/GetServerTime": {
  675. "get": {
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "通用服务"
  681. ],
  682. "summary": "获取服务器时间",
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/InsertNewFuncmenu": {
  700. "post": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "consumes": [
  707. "application/json"
  708. ],
  709. "produces": [
  710. "application/json"
  711. ],
  712. "tags": [
  713. "通用服务"
  714. ],
  715. "summary": "插入菜单表数据",
  716. "parameters": [
  717. {
  718. "description": "菜单表数据",
  719. "name": "data",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/models.NewFuncmenulist"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Common/NoticeReaded": {
  744. "post": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "通知公告设置已读请求",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginID",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "通知公告ID",
  768. "name": "noticeID",
  769. "in": "query",
  770. "required": true
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Common/QueryErrorInfos": {
  790. "get": {
  791. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "通用服务"
  797. ],
  798. "summary": "获取数据库错误信息",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": "起始行号前索引",
  803. "name": "rowNumber",
  804. "in": "query"
  805. }
  806. ],
  807. "responses": {
  808. "200": {
  809. "description": "OK",
  810. "schema": {
  811. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "schema": {
  817. "$ref": "#/definitions/app.Response"
  818. }
  819. }
  820. }
  821. }
  822. },
  823. "/Common/QueryImageConfigs": {
  824. "get": {
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "通用服务"
  830. ],
  831. "summary": "查询轮播图配置信息",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户id",
  836. "name": "userId",
  837. "in": "query"
  838. },
  839. {
  840. "type": "integer",
  841. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  842. "name": "imageType",
  843. "in": "query"
  844. }
  845. ],
  846. "responses": {
  847. "200": {
  848. "description": "OK",
  849. "schema": {
  850. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  851. }
  852. },
  853. "500": {
  854. "description": "Internal Server Error",
  855. "schema": {
  856. "$ref": "#/definitions/app.Response"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "/Common/QueryNotice": {
  863. "get": {
  864. "security": [
  865. {
  866. "ApiKeyAuth": []
  867. }
  868. ],
  869. "produces": [
  870. "application/json"
  871. ],
  872. "tags": [
  873. "通用服务"
  874. ],
  875. "summary": "通知公告系统消息查询",
  876. "parameters": [
  877. {
  878. "type": "integer",
  879. "description": "页码",
  880. "name": "page",
  881. "in": "query"
  882. },
  883. {
  884. "type": "integer",
  885. "description": "每页条数",
  886. "name": "pagesize",
  887. "in": "query"
  888. },
  889. {
  890. "type": "integer",
  891. "description": "登录账号",
  892. "name": "loginID",
  893. "in": "query",
  894. "required": true
  895. },
  896. {
  897. "type": "integer",
  898. "description": "消息类型 - 1:公告通知 2:系统消息",
  899. "name": "msgType",
  900. "in": "query"
  901. },
  902. {
  903. "type": "boolean",
  904. "description": "是否只获取未读信息",
  905. "name": "onlyUnRead",
  906. "in": "query"
  907. },
  908. {
  909. "type": "integer",
  910. "description": "自增ID,传入后会返回这个ID后面的记录",
  911. "name": "lastID",
  912. "in": "query"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/common.QueryNoticeRsp"
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/Common/QueryProvincesAndCities": {
  932. "get": {
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "通用服务"
  938. ],
  939. "summary": "查询省市信息(不包括区)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "省ID",
  944. "name": "provinceID",
  945. "in": "query"
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Common/QueryTableDefine": {
  965. "get": {
  966. "produces": [
  967. "application/json"
  968. ],
  969. "tags": [
  970. "通用服务"
  971. ],
  972. "summary": "查询交易端列表头信息",
  973. "parameters": [
  974. {
  975. "type": "string",
  976. "description": "表key",
  977. "name": "tableKey",
  978. "in": "query"
  979. },
  980. {
  981. "type": "integer",
  982. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  983. "name": "tableType",
  984. "in": "query"
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "$ref": "#/definitions/common.QueryTableDefineRsp"
  992. }
  993. },
  994. "500": {
  995. "description": "Internal Server Error",
  996. "schema": {
  997. "$ref": "#/definitions/app.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/Common/QueryTraderMenu": {
  1004. "get": {
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "通用服务"
  1010. ],
  1011. "summary": "查询交易端菜单",
  1012. "parameters": [
  1013. {
  1014. "type": "integer",
  1015. "description": "登录账号",
  1016. "name": "loginid",
  1017. "in": "query",
  1018. "required": true
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1026. }
  1027. },
  1028. "500": {
  1029. "description": "Internal Server Error",
  1030. "schema": {
  1031. "$ref": "#/definitions/app.Response"
  1032. }
  1033. }
  1034. }
  1035. }
  1036. },
  1037. "/Common/UpdateNewFuncmenu": {
  1038. "put": {
  1039. "security": [
  1040. {
  1041. "ApiKeyAuth": []
  1042. }
  1043. ],
  1044. "consumes": [
  1045. "application/json"
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "通用服务"
  1052. ],
  1053. "summary": "更新菜单表数据",
  1054. "parameters": [
  1055. {
  1056. "description": "菜单表数据",
  1057. "name": "data",
  1058. "in": "body",
  1059. "required": true,
  1060. "schema": {
  1061. "$ref": "#/definitions/models.NewFuncmenulist"
  1062. }
  1063. }
  1064. ],
  1065. "responses": {
  1066. "200": {
  1067. "description": "OK",
  1068. "schema": {
  1069. "$ref": "#/definitions/app.Response"
  1070. }
  1071. },
  1072. "500": {
  1073. "description": "Internal Server Error",
  1074. "schema": {
  1075. "$ref": "#/definitions/app.Response"
  1076. }
  1077. }
  1078. }
  1079. }
  1080. },
  1081. "/Delivery/QueryDeliveryRelation": {
  1082. "get": {
  1083. "security": [
  1084. {
  1085. "ApiKeyAuth": []
  1086. }
  1087. ],
  1088. "produces": [
  1089. "application/json"
  1090. ],
  1091. "tags": [
  1092. "交割服务"
  1093. ],
  1094. "summary": "查询商品交割关系表",
  1095. "parameters": [
  1096. {
  1097. "type": "integer",
  1098. "description": "商品ID",
  1099. "name": "goodsid",
  1100. "in": "query"
  1101. },
  1102. {
  1103. "type": "integer",
  1104. "description": "品种ID",
  1105. "name": "deliverygoodsid",
  1106. "in": "query"
  1107. },
  1108. {
  1109. "type": "integer",
  1110. "description": "市场ID",
  1111. "name": "marketid",
  1112. "in": "query"
  1113. }
  1114. ],
  1115. "responses": {
  1116. "200": {
  1117. "description": "OK",
  1118. "schema": {
  1119. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1120. }
  1121. },
  1122. "500": {
  1123. "description": "Internal Server Error",
  1124. "schema": {
  1125. "$ref": "#/definitions/app.Response"
  1126. }
  1127. }
  1128. }
  1129. }
  1130. },
  1131. "/Ermcp/GetErmcpGoods": {
  1132. "get": {
  1133. "security": [
  1134. {
  1135. "ApiKeyAuth": []
  1136. }
  1137. ],
  1138. "produces": [
  1139. "application/json"
  1140. ],
  1141. "tags": [
  1142. "企业风险管理(app)"
  1143. ],
  1144. "summary": "查询企业风管期货商品信息",
  1145. "parameters": [
  1146. {
  1147. "type": "integer",
  1148. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1149. "name": "userid",
  1150. "in": "query"
  1151. },
  1152. {
  1153. "type": "string",
  1154. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1155. "name": "lastUpdateTime",
  1156. "in": "query"
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "OK",
  1162. "schema": {
  1163. "$ref": "#/definitions/models.ErmcpGoods"
  1164. }
  1165. },
  1166. "500": {
  1167. "description": "Internal Server Error",
  1168. "schema": {
  1169. "$ref": "#/definitions/app.Response"
  1170. }
  1171. }
  1172. }
  1173. }
  1174. },
  1175. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1176. "get": {
  1177. "security": [
  1178. {
  1179. "ApiKeyAuth": []
  1180. }
  1181. ],
  1182. "produces": [
  1183. "application/json"
  1184. ],
  1185. "tags": [
  1186. "企业风险管理(app)"
  1187. ],
  1188. "summary": "查询企业风管期货主力、次主力商品信息",
  1189. "parameters": [
  1190. {
  1191. "type": "string",
  1192. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1193. "name": "sortIndex",
  1194. "in": "query"
  1195. }
  1196. ],
  1197. "responses": {
  1198. "200": {
  1199. "description": "OK",
  1200. "schema": {
  1201. "$ref": "#/definitions/models.Goodssortbypreposition"
  1202. }
  1203. },
  1204. "500": {
  1205. "description": "Internal Server Error",
  1206. "schema": {
  1207. "$ref": "#/definitions/app.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/Ermcp/GetErmcpOutAccountStatus": {
  1214. "get": {
  1215. "security": [
  1216. {
  1217. "ApiKeyAuth": []
  1218. }
  1219. ],
  1220. "produces": [
  1221. "application/json"
  1222. ],
  1223. "tags": [
  1224. "企业风险管理(app)"
  1225. ],
  1226. "summary": "获取目标登录账号当前对冲账号在线状态",
  1227. "parameters": [
  1228. {
  1229. "type": "integer",
  1230. "description": "登录账号",
  1231. "name": "loginID",
  1232. "in": "query",
  1233. "required": true
  1234. }
  1235. ],
  1236. "responses": {
  1237. "200": {
  1238. "description": "OK",
  1239. "schema": {
  1240. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1241. }
  1242. },
  1243. "500": {
  1244. "description": "Internal Server Error",
  1245. "schema": {
  1246. "$ref": "#/definitions/app.Response"
  1247. }
  1248. }
  1249. }
  1250. }
  1251. },
  1252. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1253. "get": {
  1254. "security": [
  1255. {
  1256. "ApiKeyAuth": []
  1257. }
  1258. ],
  1259. "produces": [
  1260. "application/json"
  1261. ],
  1262. "tags": [
  1263. "企业风险管理(app)"
  1264. ],
  1265. "summary": "获取企业风管终端权限",
  1266. "parameters": [
  1267. {
  1268. "type": "integer",
  1269. "description": "登录账号",
  1270. "name": "loginID",
  1271. "in": "query",
  1272. "required": true
  1273. }
  1274. ],
  1275. "responses": {
  1276. "200": {
  1277. "description": "OK",
  1278. "schema": {
  1279. "$ref": "#/definitions/models.Funcmenulist"
  1280. }
  1281. },
  1282. "500": {
  1283. "description": "Internal Server Error",
  1284. "schema": {
  1285. "$ref": "#/definitions/app.Response"
  1286. }
  1287. }
  1288. }
  1289. }
  1290. },
  1291. "/Ermcp/QueryAccMgrBizGroupSet": {
  1292. "get": {
  1293. "security": [
  1294. {
  1295. "ApiKeyAuth": []
  1296. }
  1297. ],
  1298. "produces": [
  1299. "application/json"
  1300. ],
  1301. "tags": [
  1302. "企业风险管理(app)"
  1303. ],
  1304. "summary": "查询业务类型分组(账户管理/账户设置)",
  1305. "parameters": [
  1306. {
  1307. "type": "integer",
  1308. "description": "用户ID",
  1309. "name": "userid",
  1310. "in": "query",
  1311. "required": true
  1312. },
  1313. {
  1314. "type": "integer",
  1315. "description": "现货商品id",
  1316. "name": "deliverygoodsid",
  1317. "in": "query"
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAccMgrLoginUser": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "用户ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. },
  1361. {
  1362. "type": "integer",
  1363. "description": "用户类型 2-机构 7-企业成员",
  1364. "name": "usertype",
  1365. "in": "query"
  1366. },
  1367. {
  1368. "type": "integer",
  1369. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1370. "name": "querytype",
  1371. "in": "query",
  1372. "required": true
  1373. }
  1374. ],
  1375. "responses": {
  1376. "200": {
  1377. "description": "OK",
  1378. "schema": {
  1379. "type": "array",
  1380. "items": {
  1381. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1382. }
  1383. }
  1384. },
  1385. "500": {
  1386. "description": "Internal Server Error",
  1387. "schema": {
  1388. "$ref": "#/definitions/app.Response"
  1389. }
  1390. }
  1391. }
  1392. }
  1393. },
  1394. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1395. "get": {
  1396. "security": [
  1397. {
  1398. "ApiKeyAuth": []
  1399. }
  1400. ],
  1401. "produces": [
  1402. "application/json"
  1403. ],
  1404. "tags": [
  1405. "企业风险管理(app)"
  1406. ],
  1407. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1408. "parameters": [
  1409. {
  1410. "type": "integer",
  1411. "description": "用户ID",
  1412. "name": "userid",
  1413. "in": "query"
  1414. },
  1415. {
  1416. "type": "integer",
  1417. "description": "主账号id",
  1418. "name": "accountid",
  1419. "in": "query"
  1420. }
  1421. ],
  1422. "responses": {
  1423. "200": {
  1424. "description": "OK",
  1425. "schema": {
  1426. "type": "array",
  1427. "items": {
  1428. "$ref": "#/definitions/models.MainAccountInfo"
  1429. }
  1430. }
  1431. },
  1432. "500": {
  1433. "description": "Internal Server Error",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/Ermcp/QueryAccMgrRole": {
  1442. "get": {
  1443. "security": [
  1444. {
  1445. "ApiKeyAuth": []
  1446. }
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "企业风险管理(app)"
  1453. ],
  1454. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1455. "parameters": [
  1456. {
  1457. "type": "integer",
  1458. "description": "用户ID",
  1459. "name": "userid",
  1460. "in": "query",
  1461. "required": true
  1462. }
  1463. ],
  1464. "responses": {
  1465. "200": {
  1466. "description": "OK",
  1467. "schema": {
  1468. "type": "array",
  1469. "items": {
  1470. "$ref": "#/definitions/models.ErmcpRole"
  1471. }
  1472. }
  1473. },
  1474. "500": {
  1475. "description": "Internal Server Error",
  1476. "schema": {
  1477. "$ref": "#/definitions/app.Response"
  1478. }
  1479. }
  1480. }
  1481. }
  1482. },
  1483. "/Ermcp/QueryAccMgrRoleMenu": {
  1484. "get": {
  1485. "security": [
  1486. {
  1487. "ApiKeyAuth": []
  1488. }
  1489. ],
  1490. "produces": [
  1491. "application/json"
  1492. ],
  1493. "tags": [
  1494. "企业风险管理(app)"
  1495. ],
  1496. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1497. "parameters": [
  1498. {
  1499. "type": "integer",
  1500. "description": "用户ID",
  1501. "name": "userid",
  1502. "in": "query",
  1503. "required": true
  1504. },
  1505. {
  1506. "type": "string",
  1507. "description": "角色id(可多个,逗号隔开)",
  1508. "name": "roleid",
  1509. "in": "query"
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1514. "name": "menutype",
  1515. "in": "query"
  1516. }
  1517. ],
  1518. "responses": {
  1519. "200": {
  1520. "description": "OK",
  1521. "schema": {
  1522. "type": "array",
  1523. "items": {
  1524. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1525. }
  1526. }
  1527. },
  1528. "500": {
  1529. "description": "Internal Server Error",
  1530. "schema": {
  1531. "$ref": "#/definitions/app.Response"
  1532. }
  1533. }
  1534. }
  1535. }
  1536. },
  1537. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1538. "get": {
  1539. "security": [
  1540. {
  1541. "ApiKeyAuth": []
  1542. }
  1543. ],
  1544. "produces": [
  1545. "application/json"
  1546. ],
  1547. "tags": [
  1548. "企业风险管理(app)"
  1549. ],
  1550. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1551. "parameters": [
  1552. {
  1553. "type": "integer",
  1554. "description": "用户ID",
  1555. "name": "userid",
  1556. "in": "query",
  1557. "required": true
  1558. },
  1559. {
  1560. "type": "integer",
  1561. "description": "账号id",
  1562. "name": "accountid",
  1563. "in": "query"
  1564. }
  1565. ],
  1566. "responses": {
  1567. "200": {
  1568. "description": "OK",
  1569. "schema": {
  1570. "type": "array",
  1571. "items": {
  1572. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1573. }
  1574. }
  1575. },
  1576. "500": {
  1577. "description": "Internal Server Error",
  1578. "schema": {
  1579. "$ref": "#/definitions/app.Response"
  1580. }
  1581. }
  1582. }
  1583. }
  1584. },
  1585. "/Ermcp/QueryAccMgrTaaccount": {
  1586. "get": {
  1587. "security": [
  1588. {
  1589. "ApiKeyAuth": []
  1590. }
  1591. ],
  1592. "produces": [
  1593. "application/json"
  1594. ],
  1595. "tags": [
  1596. "企业风险管理(app)"
  1597. ],
  1598. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1599. "parameters": [
  1600. {
  1601. "type": "integer",
  1602. "description": "用户ID",
  1603. "name": "userid",
  1604. "in": "query",
  1605. "required": true
  1606. }
  1607. ],
  1608. "responses": {
  1609. "200": {
  1610. "description": "OK",
  1611. "schema": {
  1612. "type": "array",
  1613. "items": {
  1614. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1615. }
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/Ermcp/QueryAvaildGoodsGroup": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "企业风险管理(app)"
  1639. ],
  1640. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1641. "parameters": [
  1642. {
  1643. "type": "integer",
  1644. "description": "所属机构ID",
  1645. "name": "userid",
  1646. "in": "query",
  1647. "required": true
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Ermcp/QueryBusinessDj": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "企业风险管理(app)"
  1681. ],
  1682. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1683. "parameters": [
  1684. {
  1685. "type": "integer",
  1686. "description": "用户ID",
  1687. "name": "UserId",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "用户类型 2-机构 7-企业成员",
  1694. "name": "usertype",
  1695. "in": "query"
  1696. },
  1697. {
  1698. "type": "string",
  1699. "description": "现货合同ID, 不填则查所有",
  1700. "name": "relatedid",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1706. "name": "applystatus",
  1707. "in": "query"
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryBusinessFp": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1743. "parameters": [
  1744. {
  1745. "type": "integer",
  1746. "description": "用户ID",
  1747. "name": "UserId",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "integer",
  1753. "description": "用户类型 2-机构 7-企业成员",
  1754. "name": "usertype",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "现货合同ID, 不填则查所有",
  1760. "name": "relatedid",
  1761. "in": "query"
  1762. },
  1763. {
  1764. "type": "string",
  1765. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1766. "name": "applystatus",
  1767. "in": "query"
  1768. }
  1769. ],
  1770. "responses": {
  1771. "200": {
  1772. "description": "OK",
  1773. "schema": {
  1774. "type": "array",
  1775. "items": {
  1776. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1777. }
  1778. }
  1779. },
  1780. "500": {
  1781. "description": "Internal Server Error",
  1782. "schema": {
  1783. "$ref": "#/definitions/app.Response"
  1784. }
  1785. }
  1786. }
  1787. }
  1788. },
  1789. "/Ermcp/QueryBusinessJs": {
  1790. "get": {
  1791. "security": [
  1792. {
  1793. "ApiKeyAuth": []
  1794. }
  1795. ],
  1796. "produces": [
  1797. "application/json"
  1798. ],
  1799. "tags": [
  1800. "企业风险管理(app)"
  1801. ],
  1802. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1803. "parameters": [
  1804. {
  1805. "type": "integer",
  1806. "description": "用户ID",
  1807. "name": "UserId",
  1808. "in": "query",
  1809. "required": true
  1810. },
  1811. {
  1812. "type": "integer",
  1813. "description": "用户类型 2-机构 7-企业成员",
  1814. "name": "usertype",
  1815. "in": "query"
  1816. },
  1817. {
  1818. "type": "string",
  1819. "description": "现货合同ID, 不填则查所有",
  1820. "name": "relatedid",
  1821. "in": "query"
  1822. },
  1823. {
  1824. "type": "string",
  1825. "description": "操作申请id",
  1826. "name": "operateapplyid",
  1827. "in": "query"
  1828. },
  1829. {
  1830. "type": "string",
  1831. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1832. "name": "applystatus",
  1833. "in": "query"
  1834. }
  1835. ],
  1836. "responses": {
  1837. "200": {
  1838. "description": "OK",
  1839. "schema": {
  1840. "type": "array",
  1841. "items": {
  1842. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1843. }
  1844. }
  1845. },
  1846. "500": {
  1847. "description": "Internal Server Error",
  1848. "schema": {
  1849. "$ref": "#/definitions/app.Response"
  1850. }
  1851. }
  1852. }
  1853. }
  1854. },
  1855. "/Ermcp/QueryBusinessJsEx": {
  1856. "get": {
  1857. "security": [
  1858. {
  1859. "ApiKeyAuth": []
  1860. }
  1861. ],
  1862. "produces": [
  1863. "application/json"
  1864. ],
  1865. "tags": [
  1866. "企业风险管理(app)"
  1867. ],
  1868. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1869. "parameters": [
  1870. {
  1871. "type": "integer",
  1872. "description": "用户ID",
  1873. "name": "UserId",
  1874. "in": "query",
  1875. "required": true
  1876. },
  1877. {
  1878. "type": "integer",
  1879. "description": "用户类型 2-机构 7-企业成员",
  1880. "name": "usertype",
  1881. "in": "query"
  1882. },
  1883. {
  1884. "type": "string",
  1885. "description": "现货合同ID, 不填则查所有",
  1886. "name": "relatedid",
  1887. "in": "query"
  1888. },
  1889. {
  1890. "type": "string",
  1891. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1892. "name": "applystatus",
  1893. "in": "query"
  1894. }
  1895. ],
  1896. "responses": {
  1897. "200": {
  1898. "description": "OK",
  1899. "schema": {
  1900. "type": "array",
  1901. "items": {
  1902. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1903. }
  1904. }
  1905. },
  1906. "500": {
  1907. "description": "Internal Server Error",
  1908. "schema": {
  1909. "$ref": "#/definitions/app.Response"
  1910. }
  1911. }
  1912. }
  1913. }
  1914. },
  1915. "/Ermcp/QueryBusinessKx": {
  1916. "get": {
  1917. "security": [
  1918. {
  1919. "ApiKeyAuth": []
  1920. }
  1921. ],
  1922. "produces": [
  1923. "application/json"
  1924. ],
  1925. "tags": [
  1926. "企业风险管理(app)"
  1927. ],
  1928. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1929. "parameters": [
  1930. {
  1931. "type": "integer",
  1932. "description": "用户ID",
  1933. "name": "UserId",
  1934. "in": "query",
  1935. "required": true
  1936. },
  1937. {
  1938. "type": "integer",
  1939. "description": "用户类型 2-机构 7-企业成员",
  1940. "name": "usertype",
  1941. "in": "query"
  1942. },
  1943. {
  1944. "type": "string",
  1945. "description": "现货合同ID, 不填则查所有",
  1946. "name": "relatedid",
  1947. "in": "query"
  1948. },
  1949. {
  1950. "type": "string",
  1951. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1952. "name": "applystatus",
  1953. "in": "query"
  1954. }
  1955. ],
  1956. "responses": {
  1957. "200": {
  1958. "description": "OK",
  1959. "schema": {
  1960. "type": "array",
  1961. "items": {
  1962. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1963. }
  1964. }
  1965. },
  1966. "500": {
  1967. "description": "Internal Server Error",
  1968. "schema": {
  1969. "$ref": "#/definitions/app.Response"
  1970. }
  1971. }
  1972. }
  1973. }
  1974. },
  1975. "/Ermcp/QueryChangeLog": {
  1976. "get": {
  1977. "security": [
  1978. {
  1979. "ApiKeyAuth": []
  1980. }
  1981. ],
  1982. "produces": [
  1983. "application/json"
  1984. ],
  1985. "tags": [
  1986. "企业风险管理(app)"
  1987. ],
  1988. "summary": "查询变更记录",
  1989. "parameters": [
  1990. {
  1991. "type": "string",
  1992. "description": "合同ID",
  1993. "name": "RelatedId",
  1994. "in": "query",
  1995. "required": true
  1996. }
  1997. ],
  1998. "responses": {
  1999. "200": {
  2000. "description": "OK",
  2001. "schema": {
  2002. "type": "array",
  2003. "items": {
  2004. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2005. }
  2006. }
  2007. },
  2008. "500": {
  2009. "description": "Internal Server Error",
  2010. "schema": {
  2011. "$ref": "#/definitions/app.Response"
  2012. }
  2013. }
  2014. }
  2015. }
  2016. },
  2017. "/Ermcp/QueryErmcpHisOrderDetails": {
  2018. "get": {
  2019. "security": [
  2020. {
  2021. "ApiKeyAuth": []
  2022. }
  2023. ],
  2024. "produces": [
  2025. "application/json"
  2026. ],
  2027. "tags": [
  2028. "企业风险管理(app)"
  2029. ],
  2030. "summary": "获取企业风管期货历史委托单信息",
  2031. "parameters": [
  2032. {
  2033. "type": "integer",
  2034. "description": "资金账户ID",
  2035. "name": "accountID",
  2036. "in": "query",
  2037. "required": true
  2038. },
  2039. {
  2040. "type": "string",
  2041. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2042. "name": "startDate",
  2043. "in": "query"
  2044. },
  2045. {
  2046. "type": "string",
  2047. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2048. "name": "endDate",
  2049. "in": "query"
  2050. }
  2051. ],
  2052. "responses": {
  2053. "200": {
  2054. "description": "OK",
  2055. "schema": {
  2056. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2057. }
  2058. },
  2059. "500": {
  2060. "description": "Internal Server Error",
  2061. "schema": {
  2062. "$ref": "#/definitions/app.Response"
  2063. }
  2064. }
  2065. }
  2066. }
  2067. },
  2068. "/Ermcp/QueryErmcpHisTradeDetails": {
  2069. "get": {
  2070. "security": [
  2071. {
  2072. "ApiKeyAuth": []
  2073. }
  2074. ],
  2075. "produces": [
  2076. "application/json"
  2077. ],
  2078. "tags": [
  2079. "企业风险管理(app)"
  2080. ],
  2081. "summary": "获取企业风管期货历史成交单信息",
  2082. "parameters": [
  2083. {
  2084. "type": "integer",
  2085. "description": "资金账户ID",
  2086. "name": "accountID",
  2087. "in": "query",
  2088. "required": true
  2089. },
  2090. {
  2091. "type": "integer",
  2092. "description": "商品ID",
  2093. "name": "goodsID",
  2094. "in": "query"
  2095. },
  2096. {
  2097. "type": "integer",
  2098. "description": "买卖方向,0:买 1:卖",
  2099. "name": "buyOrSell",
  2100. "in": "query"
  2101. },
  2102. {
  2103. "type": "integer",
  2104. "description": "关联委托单号",
  2105. "name": "orderID",
  2106. "in": "query"
  2107. },
  2108. {
  2109. "type": "string",
  2110. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2111. "name": "startDate",
  2112. "in": "query"
  2113. },
  2114. {
  2115. "type": "string",
  2116. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2117. "name": "endDate",
  2118. "in": "query"
  2119. }
  2120. ],
  2121. "responses": {
  2122. "200": {
  2123. "description": "OK",
  2124. "schema": {
  2125. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2126. }
  2127. },
  2128. "500": {
  2129. "description": "Internal Server Error",
  2130. "schema": {
  2131. "$ref": "#/definitions/app.Response"
  2132. }
  2133. }
  2134. }
  2135. }
  2136. },
  2137. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2138. "get": {
  2139. "security": [
  2140. {
  2141. "ApiKeyAuth": []
  2142. }
  2143. ],
  2144. "produces": [
  2145. "application/json"
  2146. ],
  2147. "tags": [
  2148. "企业风险管理(app)"
  2149. ],
  2150. "summary": "获取企业风管期货内部持仓单信息",
  2151. "parameters": [
  2152. {
  2153. "type": "integer",
  2154. "description": "资金账户ID",
  2155. "name": "accountID",
  2156. "in": "query",
  2157. "required": true
  2158. },
  2159. {
  2160. "type": "integer",
  2161. "description": "商品ID",
  2162. "name": "goodsID",
  2163. "in": "query"
  2164. },
  2165. {
  2166. "type": "integer",
  2167. "description": "买卖方向,0:买 1:卖",
  2168. "name": "buyOrSell",
  2169. "in": "query"
  2170. }
  2171. ],
  2172. "responses": {
  2173. "200": {
  2174. "description": "OK",
  2175. "schema": {
  2176. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2177. }
  2178. },
  2179. "500": {
  2180. "description": "Internal Server Error",
  2181. "schema": {
  2182. "$ref": "#/definitions/app.Response"
  2183. }
  2184. }
  2185. }
  2186. }
  2187. },
  2188. "/Ermcp/QueryErmcpOrderDetails": {
  2189. "get": {
  2190. "security": [
  2191. {
  2192. "ApiKeyAuth": []
  2193. }
  2194. ],
  2195. "produces": [
  2196. "application/json"
  2197. ],
  2198. "tags": [
  2199. "企业风险管理(app)"
  2200. ],
  2201. "summary": "获取企业风管期货委托单信息",
  2202. "parameters": [
  2203. {
  2204. "type": "integer",
  2205. "description": "资金账户ID",
  2206. "name": "accountID",
  2207. "in": "query",
  2208. "required": true
  2209. }
  2210. ],
  2211. "responses": {
  2212. "200": {
  2213. "description": "OK",
  2214. "schema": {
  2215. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2216. }
  2217. },
  2218. "500": {
  2219. "description": "Internal Server Error",
  2220. "schema": {
  2221. "$ref": "#/definitions/app.Response"
  2222. }
  2223. }
  2224. }
  2225. }
  2226. },
  2227. "/Ermcp/QueryErmcpTradeDetails": {
  2228. "get": {
  2229. "security": [
  2230. {
  2231. "ApiKeyAuth": []
  2232. }
  2233. ],
  2234. "produces": [
  2235. "application/json"
  2236. ],
  2237. "tags": [
  2238. "企业风险管理(app)"
  2239. ],
  2240. "summary": "获取企业风管期货成交单信息",
  2241. "parameters": [
  2242. {
  2243. "type": "integer",
  2244. "description": "资金账户ID",
  2245. "name": "accountID",
  2246. "in": "query",
  2247. "required": true
  2248. },
  2249. {
  2250. "type": "integer",
  2251. "description": "商品ID",
  2252. "name": "goodsID",
  2253. "in": "query"
  2254. },
  2255. {
  2256. "type": "integer",
  2257. "description": "买卖方向,0:买 1:卖",
  2258. "name": "buyOrSell",
  2259. "in": "query"
  2260. },
  2261. {
  2262. "type": "integer",
  2263. "description": "关联委托单号",
  2264. "name": "orderID",
  2265. "in": "query"
  2266. }
  2267. ],
  2268. "responses": {
  2269. "200": {
  2270. "description": "OK",
  2271. "schema": {
  2272. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2273. }
  2274. },
  2275. "500": {
  2276. "description": "Internal Server Error",
  2277. "schema": {
  2278. "$ref": "#/definitions/app.Response"
  2279. }
  2280. }
  2281. }
  2282. }
  2283. },
  2284. "/Ermcp/QueryErmcpTradePosition": {
  2285. "get": {
  2286. "security": [
  2287. {
  2288. "ApiKeyAuth": []
  2289. }
  2290. ],
  2291. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2292. "produces": [
  2293. "application/json"
  2294. ],
  2295. "tags": [
  2296. "企业风险管理(app)"
  2297. ],
  2298. "summary": "获取企业风管期货持仓头寸信息",
  2299. "parameters": [
  2300. {
  2301. "type": "integer",
  2302. "description": "资金账户ID",
  2303. "name": "accountID",
  2304. "in": "query",
  2305. "required": true
  2306. },
  2307. {
  2308. "type": "integer",
  2309. "description": "所属市场ID",
  2310. "name": "marketID",
  2311. "in": "query"
  2312. }
  2313. ],
  2314. "responses": {
  2315. "200": {
  2316. "description": "OK",
  2317. "schema": {
  2318. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryExposureDetail": {
  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": "areaUserId",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "套保商品",
  2355. "name": "middleGoodsId",
  2356. "in": "query",
  2357. "required": true
  2358. }
  2359. ],
  2360. "responses": {
  2361. "200": {
  2362. "description": "OK",
  2363. "schema": {
  2364. "type": "array",
  2365. "items": {
  2366. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2367. }
  2368. }
  2369. },
  2370. "500": {
  2371. "description": "Internal Server Error",
  2372. "schema": {
  2373. "$ref": "#/definitions/app.Response"
  2374. }
  2375. }
  2376. }
  2377. }
  2378. },
  2379. "/Ermcp/QueryExposureGoods": {
  2380. "get": {
  2381. "security": [
  2382. {
  2383. "ApiKeyAuth": []
  2384. }
  2385. ],
  2386. "produces": [
  2387. "application/json"
  2388. ],
  2389. "tags": [
  2390. "企业风险管理(app)"
  2391. ],
  2392. "summary": "查询敞口主力合约",
  2393. "parameters": [
  2394. {
  2395. "type": "integer",
  2396. "description": "套保商品id",
  2397. "name": "middlegoodsid",
  2398. "in": "query",
  2399. "required": true
  2400. }
  2401. ],
  2402. "responses": {
  2403. "200": {
  2404. "description": "OK",
  2405. "schema": {
  2406. "type": "array",
  2407. "items": {
  2408. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2409. }
  2410. }
  2411. },
  2412. "500": {
  2413. "description": "Internal Server Error",
  2414. "schema": {
  2415. "$ref": "#/definitions/app.Response"
  2416. }
  2417. }
  2418. }
  2419. }
  2420. },
  2421. "/Ermcp/QueryExposureHedgePosition": {
  2422. "get": {
  2423. "security": [
  2424. {
  2425. "ApiKeyAuth": []
  2426. }
  2427. ],
  2428. "produces": [
  2429. "application/json"
  2430. ],
  2431. "tags": [
  2432. "企业风险管理(app)"
  2433. ],
  2434. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2435. "parameters": [
  2436. {
  2437. "type": "integer",
  2438. "description": "用户id",
  2439. "name": "userid",
  2440. "in": "query",
  2441. "required": true
  2442. }
  2443. ],
  2444. "responses": {
  2445. "200": {
  2446. "description": "OK",
  2447. "schema": {
  2448. "type": "array",
  2449. "items": {
  2450. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2451. }
  2452. }
  2453. },
  2454. "500": {
  2455. "description": "Internal Server Error",
  2456. "schema": {
  2457. "$ref": "#/definitions/app.Response"
  2458. }
  2459. }
  2460. }
  2461. }
  2462. },
  2463. "/Ermcp/QueryExposureHedgePositionDetail": {
  2464. "get": {
  2465. "security": [
  2466. {
  2467. "ApiKeyAuth": []
  2468. }
  2469. ],
  2470. "produces": [
  2471. "application/json"
  2472. ],
  2473. "tags": [
  2474. "企业风险管理(app)"
  2475. ],
  2476. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2477. "parameters": [
  2478. {
  2479. "type": "integer",
  2480. "description": "所属机构ID",
  2481. "name": "userid",
  2482. "in": "query",
  2483. "required": true
  2484. },
  2485. {
  2486. "type": "integer",
  2487. "description": "商品id",
  2488. "name": "goodsId",
  2489. "in": "query",
  2490. "required": true
  2491. }
  2492. ],
  2493. "responses": {
  2494. "200": {
  2495. "description": "OK",
  2496. "schema": {
  2497. "type": "array",
  2498. "items": {
  2499. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2500. }
  2501. }
  2502. },
  2503. "500": {
  2504. "description": "Internal Server Error",
  2505. "schema": {
  2506. "$ref": "#/definitions/app.Response"
  2507. }
  2508. }
  2509. }
  2510. }
  2511. },
  2512. "/Ermcp/QueryExposureSpot": {
  2513. "get": {
  2514. "security": [
  2515. {
  2516. "ApiKeyAuth": []
  2517. }
  2518. ],
  2519. "produces": [
  2520. "application/json"
  2521. ],
  2522. "tags": [
  2523. "企业风险管理(app)"
  2524. ],
  2525. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2526. "parameters": [
  2527. {
  2528. "type": "integer",
  2529. "description": "所属机构ID",
  2530. "name": "areaUserId",
  2531. "in": "query",
  2532. "required": true
  2533. }
  2534. ],
  2535. "responses": {
  2536. "200": {
  2537. "description": "OK",
  2538. "schema": {
  2539. "type": "array",
  2540. "items": {
  2541. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2542. }
  2543. }
  2544. },
  2545. "500": {
  2546. "description": "Internal Server Error",
  2547. "schema": {
  2548. "$ref": "#/definitions/app.Response"
  2549. }
  2550. }
  2551. }
  2552. }
  2553. },
  2554. "/Ermcp/QueryExposureSpotDetail": {
  2555. "get": {
  2556. "security": [
  2557. {
  2558. "ApiKeyAuth": []
  2559. }
  2560. ],
  2561. "produces": [
  2562. "application/json"
  2563. ],
  2564. "tags": [
  2565. "企业风险管理(app)"
  2566. ],
  2567. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2568. "parameters": [
  2569. {
  2570. "type": "integer",
  2571. "description": "所属机构ID",
  2572. "name": "areaUserId",
  2573. "in": "query",
  2574. "required": true
  2575. },
  2576. {
  2577. "type": "integer",
  2578. "description": "现货品种ID",
  2579. "name": "wrstandardId",
  2580. "in": "query",
  2581. "required": true
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "type": "array",
  2589. "items": {
  2590. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2591. }
  2592. }
  2593. },
  2594. "500": {
  2595. "description": "Internal Server Error",
  2596. "schema": {
  2597. "$ref": "#/definitions/app.Response"
  2598. }
  2599. }
  2600. }
  2601. }
  2602. },
  2603. "/Ermcp/QueryFuturesCompany": {
  2604. "get": {
  2605. "security": [
  2606. {
  2607. "ApiKeyAuth": []
  2608. }
  2609. ],
  2610. "produces": [
  2611. "application/json"
  2612. ],
  2613. "tags": [
  2614. "企业风险管理(app)"
  2615. ],
  2616. "summary": "查询期货公司",
  2617. "responses": {
  2618. "200": {
  2619. "description": "OK",
  2620. "schema": {
  2621. "type": "array",
  2622. "items": {
  2623. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2624. }
  2625. }
  2626. },
  2627. "500": {
  2628. "description": "Internal Server Error",
  2629. "schema": {
  2630. "$ref": "#/definitions/app.Response"
  2631. }
  2632. }
  2633. }
  2634. }
  2635. },
  2636. "/Ermcp/QueryGGConvertConfig": {
  2637. "get": {
  2638. "security": [
  2639. {
  2640. "ApiKeyAuth": []
  2641. }
  2642. ],
  2643. "produces": [
  2644. "application/json"
  2645. ],
  2646. "tags": [
  2647. "企业风险管理(app)"
  2648. ],
  2649. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2650. "parameters": [
  2651. {
  2652. "type": "integer",
  2653. "description": "品种id(不填则查所有)",
  2654. "name": "goodsgroupid",
  2655. "in": "query"
  2656. }
  2657. ],
  2658. "responses": {
  2659. "200": {
  2660. "description": "OK",
  2661. "schema": {
  2662. "type": "array",
  2663. "items": {
  2664. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2665. }
  2666. }
  2667. },
  2668. "500": {
  2669. "description": "Internal Server Error",
  2670. "schema": {
  2671. "$ref": "#/definitions/app.Response"
  2672. }
  2673. }
  2674. }
  2675. }
  2676. },
  2677. "/Ermcp/QueryGoodsBrand": {
  2678. "get": {
  2679. "security": [
  2680. {
  2681. "ApiKeyAuth": []
  2682. }
  2683. ],
  2684. "produces": [
  2685. "application/json"
  2686. ],
  2687. "tags": [
  2688. "企业风险管理(app)"
  2689. ],
  2690. "summary": "查询商品品牌",
  2691. "parameters": [
  2692. {
  2693. "type": "integer",
  2694. "description": "用户ID",
  2695. "name": "userid",
  2696. "in": "query",
  2697. "required": true
  2698. },
  2699. {
  2700. "type": "integer",
  2701. "description": "现货商品ID",
  2702. "name": "wrstandardid",
  2703. "in": "query"
  2704. }
  2705. ],
  2706. "responses": {
  2707. "200": {
  2708. "description": "OK",
  2709. "schema": {
  2710. "type": "array",
  2711. "items": {
  2712. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2713. }
  2714. }
  2715. },
  2716. "500": {
  2717. "description": "Internal Server Error",
  2718. "schema": {
  2719. "$ref": "#/definitions/app.Response"
  2720. }
  2721. }
  2722. }
  2723. }
  2724. },
  2725. "/Ermcp/QueryGoodsModel": {
  2726. "get": {
  2727. "security": [
  2728. {
  2729. "ApiKeyAuth": []
  2730. }
  2731. ],
  2732. "produces": [
  2733. "application/json"
  2734. ],
  2735. "tags": [
  2736. "企业风险管理(app)"
  2737. ],
  2738. "summary": "查询商品型号",
  2739. "parameters": [
  2740. {
  2741. "type": "integer",
  2742. "description": "用户ID",
  2743. "name": "userid",
  2744. "in": "query",
  2745. "required": true
  2746. }
  2747. ],
  2748. "responses": {
  2749. "200": {
  2750. "description": "OK",
  2751. "schema": {
  2752. "type": "array",
  2753. "items": {
  2754. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2755. }
  2756. }
  2757. },
  2758. "500": {
  2759. "description": "Internal Server Error",
  2760. "schema": {
  2761. "$ref": "#/definitions/app.Response"
  2762. }
  2763. }
  2764. }
  2765. }
  2766. },
  2767. "/Ermcp/QueryHisExposure": {
  2768. "get": {
  2769. "security": [
  2770. {
  2771. "ApiKeyAuth": []
  2772. }
  2773. ],
  2774. "produces": [
  2775. "application/json"
  2776. ],
  2777. "tags": [
  2778. "企业风险管理(app)"
  2779. ],
  2780. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2781. "parameters": [
  2782. {
  2783. "type": "integer",
  2784. "description": "用户id",
  2785. "name": "userid",
  2786. "in": "query",
  2787. "required": true
  2788. },
  2789. {
  2790. "type": "integer",
  2791. "description": "每个品种记录数",
  2792. "name": "lastNum",
  2793. "in": "query",
  2794. "required": true
  2795. }
  2796. ],
  2797. "responses": {
  2798. "200": {
  2799. "description": "OK",
  2800. "schema": {
  2801. "type": "array",
  2802. "items": {
  2803. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2804. }
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/Ermcp/QueryMiddleGoods": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "produces": [
  2824. "application/json"
  2825. ],
  2826. "tags": [
  2827. "企业风险管理(app)"
  2828. ],
  2829. "summary": "查询套保品种(菜单:套保品种)",
  2830. "parameters": [
  2831. {
  2832. "type": "integer",
  2833. "description": "所属机构ID",
  2834. "name": "userid",
  2835. "in": "query",
  2836. "required": true
  2837. },
  2838. {
  2839. "type": "integer",
  2840. "description": "状态 0-停用 1-正常",
  2841. "name": "status",
  2842. "in": "query",
  2843. "required": true
  2844. }
  2845. ],
  2846. "responses": {
  2847. "200": {
  2848. "description": "OK",
  2849. "schema": {
  2850. "type": "array",
  2851. "items": {
  2852. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2853. }
  2854. }
  2855. },
  2856. "500": {
  2857. "description": "Internal Server Error",
  2858. "schema": {
  2859. "$ref": "#/definitions/app.Response"
  2860. }
  2861. }
  2862. }
  2863. }
  2864. },
  2865. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2866. "get": {
  2867. "security": [
  2868. {
  2869. "ApiKeyAuth": []
  2870. }
  2871. ],
  2872. "produces": [
  2873. "application/json"
  2874. ],
  2875. "tags": [
  2876. "企业风险管理(app)"
  2877. ],
  2878. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2879. "parameters": [
  2880. {
  2881. "type": "integer",
  2882. "description": "所属机构ID",
  2883. "name": "userid",
  2884. "in": "query",
  2885. "required": true
  2886. },
  2887. {
  2888. "type": "integer",
  2889. "description": "套保品种id",
  2890. "name": "middlegoodsid",
  2891. "in": "query",
  2892. "required": true
  2893. }
  2894. ],
  2895. "responses": {
  2896. "200": {
  2897. "description": "OK",
  2898. "schema": {
  2899. "type": "array",
  2900. "items": {
  2901. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2902. }
  2903. }
  2904. },
  2905. "500": {
  2906. "description": "Internal Server Error",
  2907. "schema": {
  2908. "$ref": "#/definitions/app.Response"
  2909. }
  2910. }
  2911. }
  2912. }
  2913. },
  2914. "/Ermcp/QueryMiddleGoodsDetail": {
  2915. "get": {
  2916. "security": [
  2917. {
  2918. "ApiKeyAuth": []
  2919. }
  2920. ],
  2921. "produces": [
  2922. "application/json"
  2923. ],
  2924. "tags": [
  2925. "企业风险管理(app)"
  2926. ],
  2927. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2928. "parameters": [
  2929. {
  2930. "type": "integer",
  2931. "description": "所属机构ID",
  2932. "name": "userid",
  2933. "in": "query",
  2934. "required": true
  2935. },
  2936. {
  2937. "type": "integer",
  2938. "description": "套保品种id",
  2939. "name": "middlegoodsid",
  2940. "in": "query"
  2941. }
  2942. ],
  2943. "responses": {
  2944. "200": {
  2945. "description": "OK",
  2946. "schema": {
  2947. "type": "array",
  2948. "items": {
  2949. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2950. }
  2951. }
  2952. },
  2953. "500": {
  2954. "description": "Internal Server Error",
  2955. "schema": {
  2956. "$ref": "#/definitions/app.Response"
  2957. }
  2958. }
  2959. }
  2960. }
  2961. },
  2962. "/Ermcp/QueryPendingAuditInfo": {
  2963. "get": {
  2964. "security": [
  2965. {
  2966. "ApiKeyAuth": []
  2967. }
  2968. ],
  2969. "produces": [
  2970. "application/json"
  2971. ],
  2972. "tags": [
  2973. "企业风险管理(app)"
  2974. ],
  2975. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2976. "parameters": [
  2977. {
  2978. "type": "integer",
  2979. "description": "用户ID",
  2980. "name": "UserId",
  2981. "in": "query",
  2982. "required": true
  2983. }
  2984. ],
  2985. "responses": {
  2986. "200": {
  2987. "description": "OK",
  2988. "schema": {
  2989. "type": "array",
  2990. "items": {
  2991. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2992. }
  2993. }
  2994. },
  2995. "500": {
  2996. "description": "Internal Server Error",
  2997. "schema": {
  2998. "$ref": "#/definitions/app.Response"
  2999. }
  3000. }
  3001. }
  3002. }
  3003. },
  3004. "/Ermcp/QueryRealtimeExposure": {
  3005. "get": {
  3006. "security": [
  3007. {
  3008. "ApiKeyAuth": []
  3009. }
  3010. ],
  3011. "produces": [
  3012. "application/json"
  3013. ],
  3014. "tags": [
  3015. "企业风险管理(app)"
  3016. ],
  3017. "summary": "查询实时敞口",
  3018. "parameters": [
  3019. {
  3020. "type": "integer",
  3021. "description": "所属机构ID",
  3022. "name": "userid",
  3023. "in": "query",
  3024. "required": true
  3025. }
  3026. ],
  3027. "responses": {
  3028. "200": {
  3029. "description": "OK",
  3030. "schema": {
  3031. "type": "array",
  3032. "items": {
  3033. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3034. }
  3035. }
  3036. },
  3037. "500": {
  3038. "description": "Internal Server Error",
  3039. "schema": {
  3040. "$ref": "#/definitions/app.Response"
  3041. }
  3042. }
  3043. }
  3044. }
  3045. },
  3046. "/Ermcp/QueryRealtimeExposurePosition": {
  3047. "get": {
  3048. "security": [
  3049. {
  3050. "ApiKeyAuth": []
  3051. }
  3052. ],
  3053. "produces": [
  3054. "application/json"
  3055. ],
  3056. "tags": [
  3057. "企业风险管理(app)"
  3058. ],
  3059. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3060. "parameters": [
  3061. {
  3062. "type": "integer",
  3063. "description": "用户id",
  3064. "name": "userid",
  3065. "in": "query",
  3066. "required": true
  3067. },
  3068. {
  3069. "type": "integer",
  3070. "description": "套保商品ID",
  3071. "name": "middleGoodsId",
  3072. "in": "query",
  3073. "required": true
  3074. }
  3075. ],
  3076. "responses": {
  3077. "200": {
  3078. "description": "OK",
  3079. "schema": {
  3080. "type": "array",
  3081. "items": {
  3082. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3083. }
  3084. }
  3085. },
  3086. "500": {
  3087. "description": "Internal Server Error",
  3088. "schema": {
  3089. "$ref": "#/definitions/app.Response"
  3090. }
  3091. }
  3092. }
  3093. }
  3094. },
  3095. "/Ermcp/QueryRoleMenu": {
  3096. "get": {
  3097. "security": [
  3098. {
  3099. "ApiKeyAuth": []
  3100. }
  3101. ],
  3102. "produces": [
  3103. "application/json"
  3104. ],
  3105. "tags": [
  3106. "企业风险管理(app)"
  3107. ],
  3108. "summary": "查询角色菜单和权限",
  3109. "parameters": [
  3110. {
  3111. "type": "integer",
  3112. "description": "登录ID",
  3113. "name": "loginid",
  3114. "in": "query",
  3115. "required": true
  3116. },
  3117. {
  3118. "type": "integer",
  3119. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3120. "name": "menutype",
  3121. "in": "query"
  3122. }
  3123. ],
  3124. "responses": {
  3125. "200": {
  3126. "description": "OK",
  3127. "schema": {
  3128. "type": "array",
  3129. "items": {
  3130. "$ref": "#/definitions/models.RoleMenu"
  3131. }
  3132. }
  3133. },
  3134. "500": {
  3135. "description": "Internal Server Error",
  3136. "schema": {
  3137. "$ref": "#/definitions/app.Response"
  3138. }
  3139. }
  3140. }
  3141. }
  3142. },
  3143. "/Ermcp/QueryTradeConfigTMP": {
  3144. "get": {
  3145. "security": [
  3146. {
  3147. "ApiKeyAuth": []
  3148. }
  3149. ],
  3150. "produces": [
  3151. "application/json"
  3152. ],
  3153. "tags": [
  3154. "企业风险管理(app)"
  3155. ],
  3156. "summary": "查询交易模板配置",
  3157. "parameters": [
  3158. {
  3159. "type": "integer",
  3160. "description": "所属机构id",
  3161. "name": "areauserid",
  3162. "in": "query"
  3163. }
  3164. ],
  3165. "responses": {
  3166. "200": {
  3167. "description": "OK",
  3168. "schema": {
  3169. "type": "array",
  3170. "items": {
  3171. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3172. }
  3173. }
  3174. },
  3175. "500": {
  3176. "description": "Internal Server Error",
  3177. "schema": {
  3178. "$ref": "#/definitions/app.Response"
  3179. }
  3180. }
  3181. }
  3182. }
  3183. },
  3184. "/Ermcp/QueryUserInfo": {
  3185. "get": {
  3186. "security": [
  3187. {
  3188. "ApiKeyAuth": []
  3189. }
  3190. ],
  3191. "produces": [
  3192. "application/json"
  3193. ],
  3194. "tags": [
  3195. "企业风险管理(app)"
  3196. ],
  3197. "summary": "查询客户资料",
  3198. "parameters": [
  3199. {
  3200. "type": "integer",
  3201. "description": "所属机构用户ID",
  3202. "name": "MemberUserID",
  3203. "in": "query",
  3204. "required": true
  3205. },
  3206. {
  3207. "type": "integer",
  3208. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3209. "name": "queryType",
  3210. "in": "query",
  3211. "required": true
  3212. }
  3213. ],
  3214. "responses": {
  3215. "200": {
  3216. "description": "OK",
  3217. "schema": {
  3218. "type": "array",
  3219. "items": {
  3220. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3221. }
  3222. }
  3223. },
  3224. "500": {
  3225. "description": "Internal Server Error",
  3226. "schema": {
  3227. "$ref": "#/definitions/app.Response"
  3228. }
  3229. }
  3230. }
  3231. }
  3232. },
  3233. "/Ermcp/QueryWarehouseInfo": {
  3234. "get": {
  3235. "security": [
  3236. {
  3237. "ApiKeyAuth": []
  3238. }
  3239. ],
  3240. "produces": [
  3241. "application/json"
  3242. ],
  3243. "tags": [
  3244. "企业风险管理(app)"
  3245. ],
  3246. "summary": "查询仓库信息",
  3247. "parameters": [
  3248. {
  3249. "type": "integer",
  3250. "description": "用户ID",
  3251. "name": "userid",
  3252. "in": "query",
  3253. "required": true
  3254. },
  3255. {
  3256. "type": "string",
  3257. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3258. "name": "status",
  3259. "in": "query"
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "OK",
  3265. "schema": {
  3266. "type": "array",
  3267. "items": {
  3268. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3269. }
  3270. }
  3271. },
  3272. "500": {
  3273. "description": "Internal Server Error",
  3274. "schema": {
  3275. "$ref": "#/definitions/app.Response"
  3276. }
  3277. }
  3278. }
  3279. }
  3280. },
  3281. "/Ermcp3/QryAreaExpourseContractDetail": {
  3282. "get": {
  3283. "security": [
  3284. {
  3285. "ApiKeyAuth": []
  3286. }
  3287. ],
  3288. "produces": [
  3289. "application/json"
  3290. ],
  3291. "tags": [
  3292. "企业风险管理v3(app)"
  3293. ],
  3294. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3295. "parameters": [
  3296. {
  3297. "type": "integer",
  3298. "description": "用户ID",
  3299. "name": "userid",
  3300. "in": "query",
  3301. "required": true
  3302. },
  3303. {
  3304. "type": "integer",
  3305. "description": "套保商品id",
  3306. "name": "middlegoodsid",
  3307. "in": "query",
  3308. "required": true
  3309. },
  3310. {
  3311. "type": "integer",
  3312. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3313. "name": "cycletype",
  3314. "in": "query",
  3315. "required": true
  3316. },
  3317. {
  3318. "type": "string",
  3319. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3320. "name": "cycletime",
  3321. "in": "query",
  3322. "required": true
  3323. }
  3324. ],
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "type": "array",
  3330. "items": {
  3331. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3332. }
  3333. }
  3334. },
  3335. "500": {
  3336. "description": "Internal Server Error",
  3337. "schema": {
  3338. "$ref": "#/definitions/app.Response"
  3339. }
  3340. }
  3341. }
  3342. }
  3343. },
  3344. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3345. "get": {
  3346. "security": [
  3347. {
  3348. "ApiKeyAuth": []
  3349. }
  3350. ],
  3351. "produces": [
  3352. "application/json"
  3353. ],
  3354. "tags": [
  3355. "企业风险管理v3(app)"
  3356. ],
  3357. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3358. "parameters": [
  3359. {
  3360. "type": "integer",
  3361. "description": "用户ID",
  3362. "name": "userid",
  3363. "in": "query",
  3364. "required": true
  3365. },
  3366. {
  3367. "type": "integer",
  3368. "description": "套保商品id",
  3369. "name": "middlegoodsid",
  3370. "in": "query",
  3371. "required": true
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3376. "name": "cycletype",
  3377. "in": "query",
  3378. "required": true
  3379. },
  3380. {
  3381. "type": "string",
  3382. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3383. "name": "cycletime",
  3384. "in": "query",
  3385. "required": true
  3386. }
  3387. ],
  3388. "responses": {
  3389. "200": {
  3390. "description": "OK",
  3391. "schema": {
  3392. "type": "array",
  3393. "items": {
  3394. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3395. }
  3396. }
  3397. },
  3398. "500": {
  3399. "description": "Internal Server Error",
  3400. "schema": {
  3401. "$ref": "#/definitions/app.Response"
  3402. }
  3403. }
  3404. }
  3405. }
  3406. },
  3407. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3408. "get": {
  3409. "security": [
  3410. {
  3411. "ApiKeyAuth": []
  3412. }
  3413. ],
  3414. "produces": [
  3415. "application/json"
  3416. ],
  3417. "tags": [
  3418. "企业风险管理v3(app)"
  3419. ],
  3420. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3421. "parameters": [
  3422. {
  3423. "type": "integer",
  3424. "description": "用户ID",
  3425. "name": "userid",
  3426. "in": "query",
  3427. "required": true
  3428. },
  3429. {
  3430. "type": "integer",
  3431. "description": "套保商品id",
  3432. "name": "middlegoodsid",
  3433. "in": "query",
  3434. "required": true
  3435. },
  3436. {
  3437. "type": "integer",
  3438. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3439. "name": "cycletype",
  3440. "in": "query",
  3441. "required": true
  3442. },
  3443. {
  3444. "type": "string",
  3445. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3446. "name": "cycletime",
  3447. "in": "query",
  3448. "required": true
  3449. }
  3450. ],
  3451. "responses": {
  3452. "200": {
  3453. "description": "OK",
  3454. "schema": {
  3455. "type": "array",
  3456. "items": {
  3457. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3458. }
  3459. }
  3460. },
  3461. "500": {
  3462. "description": "Internal Server Error",
  3463. "schema": {
  3464. "$ref": "#/definitions/app.Response"
  3465. }
  3466. }
  3467. }
  3468. }
  3469. },
  3470. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3471. "get": {
  3472. "security": [
  3473. {
  3474. "ApiKeyAuth": []
  3475. }
  3476. ],
  3477. "produces": [
  3478. "application/json"
  3479. ],
  3480. "tags": [
  3481. "企业风险管理v3(app)"
  3482. ],
  3483. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3484. "parameters": [
  3485. {
  3486. "type": "integer",
  3487. "description": "用户ID",
  3488. "name": "userid",
  3489. "in": "query",
  3490. "required": true
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "套保商品id",
  3495. "name": "middlegoodsid",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3502. "name": "cycletype",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "string",
  3508. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3509. "name": "cycletime",
  3510. "in": "query",
  3511. "required": true
  3512. }
  3513. ],
  3514. "responses": {
  3515. "200": {
  3516. "description": "OK",
  3517. "schema": {
  3518. "type": "array",
  3519. "items": {
  3520. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3521. }
  3522. }
  3523. },
  3524. "500": {
  3525. "description": "Internal Server Error",
  3526. "schema": {
  3527. "$ref": "#/definitions/app.Response"
  3528. }
  3529. }
  3530. }
  3531. }
  3532. },
  3533. "/Ermcp3/QryAreaExpourseReport": {
  3534. "get": {
  3535. "security": [
  3536. {
  3537. "ApiKeyAuth": []
  3538. }
  3539. ],
  3540. "produces": [
  3541. "application/json"
  3542. ],
  3543. "tags": [
  3544. "企业风险管理v3(app)"
  3545. ],
  3546. "summary": "查询敞口报表",
  3547. "parameters": [
  3548. {
  3549. "type": "integer",
  3550. "description": "用户ID",
  3551. "name": "userid",
  3552. "in": "query",
  3553. "required": true
  3554. },
  3555. {
  3556. "type": "integer",
  3557. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3558. "name": "querytype",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3565. "name": "cycletype",
  3566. "in": "query",
  3567. "required": true
  3568. },
  3569. {
  3570. "type": "string",
  3571. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3572. "name": "cycletime",
  3573. "in": "query",
  3574. "required": true
  3575. }
  3576. ],
  3577. "responses": {
  3578. "200": {
  3579. "description": "OK",
  3580. "schema": {
  3581. "type": "array",
  3582. "items": {
  3583. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3584. }
  3585. }
  3586. },
  3587. "500": {
  3588. "description": "Internal Server Error",
  3589. "schema": {
  3590. "$ref": "#/definitions/app.Response"
  3591. }
  3592. }
  3593. }
  3594. }
  3595. },
  3596. "/Ermcp3/QryAreaSpotplReport": {
  3597. "get": {
  3598. "security": [
  3599. {
  3600. "ApiKeyAuth": []
  3601. }
  3602. ],
  3603. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3604. "produces": [
  3605. "application/json"
  3606. ],
  3607. "tags": [
  3608. "企业风险管理v3(app)"
  3609. ],
  3610. "summary": "查询现货报表",
  3611. "parameters": [
  3612. {
  3613. "type": "integer",
  3614. "description": "用户ID",
  3615. "name": "userid",
  3616. "in": "query",
  3617. "required": true
  3618. },
  3619. {
  3620. "type": "integer",
  3621. "description": "查询类型 1-报表 2-报表明细",
  3622. "name": "querytype",
  3623. "in": "query",
  3624. "required": true
  3625. },
  3626. {
  3627. "type": "integer",
  3628. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3629. "name": "cycletype",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "string",
  3635. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3636. "name": "cycletime",
  3637. "in": "query",
  3638. "required": true
  3639. },
  3640. {
  3641. "type": "integer",
  3642. "description": "现货品种id(明细必填)",
  3643. "name": "deliverygoodsid",
  3644. "in": "query"
  3645. },
  3646. {
  3647. "type": "integer",
  3648. "description": "币种id(明细必填)",
  3649. "name": "currencyid",
  3650. "in": "query"
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "日/周/月报表汇总维度 1:品种+品类",
  3655. "name": "sumflag",
  3656. "in": "query"
  3657. }
  3658. ],
  3659. "responses": {
  3660. "200": {
  3661. "description": "OK",
  3662. "schema": {
  3663. "type": "array",
  3664. "items": {
  3665. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3666. }
  3667. }
  3668. },
  3669. "500": {
  3670. "description": "Internal Server Error",
  3671. "schema": {
  3672. "$ref": "#/definitions/app.Response"
  3673. }
  3674. }
  3675. }
  3676. }
  3677. },
  3678. "/Ermcp3/QryAreaStockReport": {
  3679. "get": {
  3680. "security": [
  3681. {
  3682. "ApiKeyAuth": []
  3683. }
  3684. ],
  3685. "produces": [
  3686. "application/json"
  3687. ],
  3688. "tags": [
  3689. "企业风险管理v3(app)"
  3690. ],
  3691. "summary": "查询库存报表",
  3692. "parameters": [
  3693. {
  3694. "type": "integer",
  3695. "description": "用户ID",
  3696. "name": "userid",
  3697. "in": "query",
  3698. "required": true
  3699. },
  3700. {
  3701. "type": "integer",
  3702. "description": "查询类型 1-报表 2-报表明细",
  3703. "name": "querytype",
  3704. "in": "query",
  3705. "required": true
  3706. },
  3707. {
  3708. "type": "integer",
  3709. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3710. "name": "cycletype",
  3711. "in": "query",
  3712. "required": true
  3713. },
  3714. {
  3715. "type": "string",
  3716. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3717. "name": "cycletime",
  3718. "in": "query",
  3719. "required": true
  3720. },
  3721. {
  3722. "type": "string",
  3723. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3724. "name": "sumfields",
  3725. "in": "query"
  3726. },
  3727. {
  3728. "type": "integer",
  3729. "description": "品种ID",
  3730. "name": "deliverygoodsid",
  3731. "in": "query"
  3732. },
  3733. {
  3734. "type": "integer",
  3735. "description": "品类ID",
  3736. "name": "wrstandardid",
  3737. "in": "query"
  3738. },
  3739. {
  3740. "type": "integer",
  3741. "description": "品牌ID",
  3742. "name": "spotgoodsbrandid",
  3743. "in": "query"
  3744. },
  3745. {
  3746. "type": "integer",
  3747. "description": "仓库ID",
  3748. "name": "warehouseinfoid",
  3749. "in": "query"
  3750. }
  3751. ],
  3752. "responses": {
  3753. "200": {
  3754. "description": "OK",
  3755. "schema": {
  3756. "type": "array",
  3757. "items": {
  3758. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3759. }
  3760. }
  3761. },
  3762. "500": {
  3763. "description": "Internal Server Error",
  3764. "schema": {
  3765. "$ref": "#/definitions/app.Response"
  3766. }
  3767. }
  3768. }
  3769. }
  3770. },
  3771. "/Ermcp3/QryAreaSumPL": {
  3772. "get": {
  3773. "security": [
  3774. {
  3775. "ApiKeyAuth": []
  3776. }
  3777. ],
  3778. "produces": [
  3779. "application/json"
  3780. ],
  3781. "tags": [
  3782. "企业风险管理v3(app)"
  3783. ],
  3784. "summary": "查询汇总损益表",
  3785. "parameters": [
  3786. {
  3787. "type": "integer",
  3788. "description": "用户ID",
  3789. "name": "userid",
  3790. "in": "query",
  3791. "required": true
  3792. },
  3793. {
  3794. "type": "integer",
  3795. "description": "查询类型 1-报表 2-报表明细",
  3796. "name": "querytype",
  3797. "in": "query",
  3798. "required": true
  3799. },
  3800. {
  3801. "type": "integer",
  3802. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3803. "name": "cycletype",
  3804. "in": "query",
  3805. "required": true
  3806. },
  3807. {
  3808. "type": "string",
  3809. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3810. "name": "cycletime",
  3811. "in": "query",
  3812. "required": true
  3813. },
  3814. {
  3815. "type": "integer",
  3816. "description": "币种id(明细必填)",
  3817. "name": "currencyid",
  3818. "in": "query"
  3819. },
  3820. {
  3821. "type": "integer",
  3822. "description": "套保品种ID, 查询类型为2时起效",
  3823. "name": "middlegoodsid",
  3824. "in": "query"
  3825. }
  3826. ],
  3827. "responses": {
  3828. "200": {
  3829. "description": "OK",
  3830. "schema": {
  3831. "type": "array",
  3832. "items": {
  3833. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3834. }
  3835. }
  3836. },
  3837. "500": {
  3838. "description": "Internal Server Error",
  3839. "schema": {
  3840. "$ref": "#/definitions/app.Response"
  3841. }
  3842. }
  3843. }
  3844. }
  3845. },
  3846. "/Ermcp3/QryFinanceReport": {
  3847. "get": {
  3848. "security": [
  3849. {
  3850. "ApiKeyAuth": []
  3851. }
  3852. ],
  3853. "produces": [
  3854. "application/json"
  3855. ],
  3856. "tags": [
  3857. "企业风险管理v3(app)"
  3858. ],
  3859. "summary": "查询财务报表",
  3860. "parameters": [
  3861. {
  3862. "type": "integer",
  3863. "description": "用户ID",
  3864. "name": "userid",
  3865. "in": "query",
  3866. "required": true
  3867. },
  3868. {
  3869. "type": "integer",
  3870. "description": "查询类型 1-报表 2-报表明细",
  3871. "name": "querytype",
  3872. "in": "query",
  3873. "required": true
  3874. },
  3875. {
  3876. "type": "integer",
  3877. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3878. "name": "cycletype",
  3879. "in": "query",
  3880. "required": true
  3881. },
  3882. {
  3883. "type": "string",
  3884. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3885. "name": "cycletime",
  3886. "in": "query",
  3887. "required": true
  3888. },
  3889. {
  3890. "type": "integer",
  3891. "description": "币种id(报表明细必填)",
  3892. "name": "currencyid",
  3893. "in": "query"
  3894. },
  3895. {
  3896. "type": "string",
  3897. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3898. "name": "sumfields",
  3899. "in": "query"
  3900. }
  3901. ],
  3902. "responses": {
  3903. "200": {
  3904. "description": "OK",
  3905. "schema": {
  3906. "type": "array",
  3907. "items": {
  3908. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3909. }
  3910. }
  3911. },
  3912. "500": {
  3913. "description": "Internal Server Error",
  3914. "schema": {
  3915. "$ref": "#/definitions/app.Response"
  3916. }
  3917. }
  3918. }
  3919. }
  3920. },
  3921. "/Ermcp3/QrySCMiddleGoodsReport": {
  3922. "get": {
  3923. "security": [
  3924. {
  3925. "ApiKeyAuth": []
  3926. }
  3927. ],
  3928. "produces": [
  3929. "application/json"
  3930. ],
  3931. "tags": [
  3932. "企业风险管理v3(app)"
  3933. ],
  3934. "summary": "查询定价报表",
  3935. "parameters": [
  3936. {
  3937. "type": "integer",
  3938. "description": "用户ID",
  3939. "name": "userid",
  3940. "in": "query",
  3941. "required": true
  3942. },
  3943. {
  3944. "type": "integer",
  3945. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3946. "name": "cycletype",
  3947. "in": "query",
  3948. "required": true
  3949. },
  3950. {
  3951. "type": "string",
  3952. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3953. "name": "cycletime",
  3954. "in": "query",
  3955. "required": true
  3956. },
  3957. {
  3958. "type": "integer",
  3959. "description": "合同id",
  3960. "name": "spotcontractid",
  3961. "in": "query"
  3962. },
  3963. {
  3964. "type": "integer",
  3965. "description": "套保品种id",
  3966. "name": "middlegoodsid",
  3967. "in": "query"
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "现货品种id",
  3972. "name": "deliverygoodsid",
  3973. "in": "query"
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "现货商品id",
  3978. "name": "wrstandardid",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "string",
  3983. "description": "合同编号(模糊匹配)",
  3984. "name": "contractno",
  3985. "in": "query"
  3986. }
  3987. ],
  3988. "responses": {
  3989. "200": {
  3990. "description": "OK",
  3991. "schema": {
  3992. "type": "array",
  3993. "items": {
  3994. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3995. }
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/Ermcp3/QryTaFutureDataReport": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "企业风险管理v3(app)"
  4019. ],
  4020. "summary": "查询期货报表",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "用户ID",
  4025. "name": "userid",
  4026. "in": "query",
  4027. "required": true
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "查询类型 1-报表 2-报表明细",
  4032. "name": "querytype",
  4033. "in": "query",
  4034. "required": true
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4039. "name": "cycletype",
  4040. "in": "query",
  4041. "required": true
  4042. },
  4043. {
  4044. "type": "string",
  4045. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4046. "name": "cycletime",
  4047. "in": "query",
  4048. "required": true
  4049. },
  4050. {
  4051. "type": "integer",
  4052. "description": "币种id(查明细必填)",
  4053. "name": "currencyid",
  4054. "in": "query"
  4055. },
  4056. {
  4057. "type": "integer",
  4058. "description": "品种id(查明细必填)",
  4059. "name": "goodsgroupid",
  4060. "in": "query"
  4061. },
  4062. {
  4063. "type": "integer",
  4064. "description": "商品id(查明细必填)",
  4065. "name": "goodsid",
  4066. "in": "query"
  4067. },
  4068. {
  4069. "type": "integer",
  4070. "description": "买卖方向(查明细必填)",
  4071. "name": "buyorsell",
  4072. "in": "query"
  4073. }
  4074. ],
  4075. "responses": {
  4076. "200": {
  4077. "description": "OK",
  4078. "schema": {
  4079. "type": "array",
  4080. "items": {
  4081. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4082. }
  4083. }
  4084. },
  4085. "500": {
  4086. "description": "Internal Server Error",
  4087. "schema": {
  4088. "$ref": "#/definitions/app.Response"
  4089. }
  4090. }
  4091. }
  4092. }
  4093. },
  4094. "/Ermcp3/QueryAreaStock": {
  4095. "get": {
  4096. "security": [
  4097. {
  4098. "ApiKeyAuth": []
  4099. }
  4100. ],
  4101. "produces": [
  4102. "application/json"
  4103. ],
  4104. "tags": [
  4105. "企业风险管理v3(app)"
  4106. ],
  4107. "summary": "查询机构库存(库存管理/当前库存)",
  4108. "parameters": [
  4109. {
  4110. "type": "integer",
  4111. "description": "用户ID",
  4112. "name": "userid",
  4113. "in": "query",
  4114. "required": true
  4115. }
  4116. ],
  4117. "responses": {
  4118. "200": {
  4119. "description": "OK",
  4120. "schema": {
  4121. "type": "array",
  4122. "items": {
  4123. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4124. }
  4125. }
  4126. },
  4127. "500": {
  4128. "description": "Internal Server Error",
  4129. "schema": {
  4130. "$ref": "#/definitions/app.Response"
  4131. }
  4132. }
  4133. }
  4134. }
  4135. },
  4136. "/Ermcp3/QueryAreaStockApply": {
  4137. "get": {
  4138. "security": [
  4139. {
  4140. "ApiKeyAuth": []
  4141. }
  4142. ],
  4143. "produces": [
  4144. "application/json"
  4145. ],
  4146. "tags": [
  4147. "企业风险管理v3(app)"
  4148. ],
  4149. "summary": "查询库存申请(出入库记录|库存审核)",
  4150. "parameters": [
  4151. {
  4152. "type": "integer",
  4153. "description": "用户ID",
  4154. "name": "userid",
  4155. "in": "query",
  4156. "required": true
  4157. },
  4158. {
  4159. "type": "integer",
  4160. "description": "用户类型 2-机构 7-企业成员",
  4161. "name": "usertype",
  4162. "in": "query"
  4163. },
  4164. {
  4165. "type": "integer",
  4166. "description": "现货商品ID",
  4167. "name": "deliverygoodsid",
  4168. "in": "query"
  4169. },
  4170. {
  4171. "type": "string",
  4172. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4173. "name": "inouttype",
  4174. "in": "query"
  4175. },
  4176. {
  4177. "type": "integer",
  4178. "description": "合同ID",
  4179. "name": "spotcontractid",
  4180. "in": "query"
  4181. },
  4182. {
  4183. "type": "integer",
  4184. "description": "品类ID",
  4185. "name": "wrstandardid",
  4186. "in": "query"
  4187. },
  4188. {
  4189. "type": "integer",
  4190. "description": "品牌ID",
  4191. "name": "spotgoodsbrandid",
  4192. "in": "query"
  4193. },
  4194. {
  4195. "type": "integer",
  4196. "description": "仓库ID",
  4197. "name": "warehouseinfoid",
  4198. "in": "query"
  4199. },
  4200. {
  4201. "type": "string",
  4202. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4203. "name": "applystatus",
  4204. "in": "query"
  4205. }
  4206. ],
  4207. "responses": {
  4208. "200": {
  4209. "description": "OK",
  4210. "schema": {
  4211. "type": "array",
  4212. "items": {
  4213. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4214. }
  4215. }
  4216. },
  4217. "500": {
  4218. "description": "Internal Server Error",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. }
  4223. }
  4224. }
  4225. },
  4226. "/Ermcp3/QueryAreaStockApplySum": {
  4227. "get": {
  4228. "security": [
  4229. {
  4230. "ApiKeyAuth": []
  4231. }
  4232. ],
  4233. "produces": [
  4234. "application/json"
  4235. ],
  4236. "tags": [
  4237. "企业风险管理v3(app)"
  4238. ],
  4239. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4240. "parameters": [
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query",
  4246. "required": true
  4247. }
  4248. ],
  4249. "responses": {
  4250. "200": {
  4251. "description": "OK",
  4252. "schema": {
  4253. "type": "array",
  4254. "items": {
  4255. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4256. }
  4257. }
  4258. },
  4259. "500": {
  4260. "description": "Internal Server Error",
  4261. "schema": {
  4262. "$ref": "#/definitions/app.Response"
  4263. }
  4264. }
  4265. }
  4266. }
  4267. },
  4268. "/Ermcp3/QueryDGFactoryItem": {
  4269. "get": {
  4270. "security": [
  4271. {
  4272. "ApiKeyAuth": []
  4273. }
  4274. ],
  4275. "produces": [
  4276. "application/json"
  4277. ],
  4278. "tags": [
  4279. "企业风险管理v3(app)"
  4280. ],
  4281. "summary": "查询品种要素定义项",
  4282. "parameters": [
  4283. {
  4284. "type": "integer",
  4285. "description": "用户id",
  4286. "name": "userid",
  4287. "in": "query"
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "用户类型 2-机构 7-企业成员",
  4292. "name": "usertype",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4298. "name": "dgfactoryitemid",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "现货品种ID",
  4304. "name": "deliverygoodsid",
  4305. "in": "query"
  4306. },
  4307. {
  4308. "type": "integer",
  4309. "description": "要素项类型",
  4310. "name": "dgfactoryitemtypeid",
  4311. "in": "query"
  4312. },
  4313. {
  4314. "type": "integer",
  4315. "description": "顺序",
  4316. "name": "orderindex",
  4317. "in": "query"
  4318. }
  4319. ],
  4320. "responses": {
  4321. "200": {
  4322. "description": "OK",
  4323. "schema": {
  4324. "type": "array",
  4325. "items": {
  4326. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4327. }
  4328. }
  4329. },
  4330. "500": {
  4331. "description": "Internal Server Error",
  4332. "schema": {
  4333. "$ref": "#/definitions/app.Response"
  4334. }
  4335. }
  4336. }
  4337. }
  4338. },
  4339. "/Ermcp3/QueryDeliveryGoods": {
  4340. "get": {
  4341. "security": [
  4342. {
  4343. "ApiKeyAuth": []
  4344. }
  4345. ],
  4346. "produces": [
  4347. "application/json"
  4348. ],
  4349. "tags": [
  4350. "企业风险管理v3(app)"
  4351. ],
  4352. "summary": "查询现货商品",
  4353. "parameters": [
  4354. {
  4355. "type": "integer",
  4356. "description": "用户id",
  4357. "name": "userid",
  4358. "in": "query",
  4359. "required": true
  4360. },
  4361. {
  4362. "type": "integer",
  4363. "description": "用户类型 2-机构 7-企业成员",
  4364. "name": "usertype",
  4365. "in": "query"
  4366. },
  4367. {
  4368. "type": "integer",
  4369. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4370. "name": "excludecfg",
  4371. "in": "query"
  4372. }
  4373. ],
  4374. "responses": {
  4375. "200": {
  4376. "description": "OK",
  4377. "schema": {
  4378. "type": "array",
  4379. "items": {
  4380. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4381. }
  4382. }
  4383. },
  4384. "500": {
  4385. "description": "Internal Server Error",
  4386. "schema": {
  4387. "$ref": "#/definitions/app.Response"
  4388. }
  4389. }
  4390. }
  4391. }
  4392. },
  4393. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4394. "get": {
  4395. "security": [
  4396. {
  4397. "ApiKeyAuth": []
  4398. }
  4399. ],
  4400. "produces": [
  4401. "application/json"
  4402. ],
  4403. "tags": [
  4404. "企业风险管理v3(app)"
  4405. ],
  4406. "summary": "查询现货商品详情",
  4407. "parameters": [
  4408. {
  4409. "type": "integer",
  4410. "description": "用户id",
  4411. "name": "userid",
  4412. "in": "query",
  4413. "required": true
  4414. },
  4415. {
  4416. "type": "integer",
  4417. "description": "用户类型 2-机构 7-企业成员",
  4418. "name": "usertype",
  4419. "in": "query"
  4420. },
  4421. {
  4422. "type": "integer",
  4423. "description": "现货商品id",
  4424. "name": "deliverygoodsid",
  4425. "in": "query"
  4426. },
  4427. {
  4428. "type": "integer",
  4429. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4430. "name": "filtersubempty",
  4431. "in": "query"
  4432. }
  4433. ],
  4434. "responses": {
  4435. "200": {
  4436. "description": "OK",
  4437. "schema": {
  4438. "type": "array",
  4439. "items": {
  4440. "$ref": "#/definitions/models.XHDeliveryGoods"
  4441. }
  4442. }
  4443. },
  4444. "500": {
  4445. "description": "Internal Server Error",
  4446. "schema": {
  4447. "$ref": "#/definitions/app.Response"
  4448. }
  4449. }
  4450. }
  4451. }
  4452. },
  4453. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4454. "get": {
  4455. "security": [
  4456. {
  4457. "ApiKeyAuth": []
  4458. }
  4459. ],
  4460. "produces": [
  4461. "application/json"
  4462. ],
  4463. "tags": [
  4464. "企业风险管理v3(app)"
  4465. ],
  4466. "summary": "查询现货合同期现配置信息",
  4467. "parameters": [
  4468. {
  4469. "type": "string",
  4470. "description": "合同id",
  4471. "name": "spotcontractid",
  4472. "in": "query",
  4473. "required": true
  4474. }
  4475. ],
  4476. "responses": {
  4477. "200": {
  4478. "description": "OK",
  4479. "schema": {
  4480. "type": "array",
  4481. "items": {
  4482. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4483. }
  4484. }
  4485. },
  4486. "500": {
  4487. "description": "Internal Server Error",
  4488. "schema": {
  4489. "$ref": "#/definitions/app.Response"
  4490. }
  4491. }
  4492. }
  4493. }
  4494. },
  4495. "/Ermcp3/QueryExposureDetail": {
  4496. "get": {
  4497. "security": [
  4498. {
  4499. "ApiKeyAuth": []
  4500. }
  4501. ],
  4502. "produces": [
  4503. "application/json"
  4504. ],
  4505. "tags": [
  4506. "企业风险管理v3(app)"
  4507. ],
  4508. "summary": "查询敞口现货明细",
  4509. "parameters": [
  4510. {
  4511. "type": "integer",
  4512. "description": "用户id",
  4513. "name": "userid",
  4514. "in": "query",
  4515. "required": true
  4516. },
  4517. {
  4518. "type": "integer",
  4519. "description": "用户类型 2-机构 7-企业成员",
  4520. "name": "usertype",
  4521. "in": "query"
  4522. },
  4523. {
  4524. "type": "integer",
  4525. "description": "套保商品",
  4526. "name": "middlegoodsid",
  4527. "in": "query",
  4528. "required": true
  4529. }
  4530. ],
  4531. "responses": {
  4532. "200": {
  4533. "description": "OK",
  4534. "schema": {
  4535. "type": "array",
  4536. "items": {
  4537. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4538. }
  4539. }
  4540. },
  4541. "500": {
  4542. "description": "Internal Server Error",
  4543. "schema": {
  4544. "$ref": "#/definitions/app.Response"
  4545. }
  4546. }
  4547. }
  4548. }
  4549. },
  4550. "/Ermcp3/QueryExposureSpot": {
  4551. "get": {
  4552. "security": [
  4553. {
  4554. "ApiKeyAuth": []
  4555. }
  4556. ],
  4557. "produces": [
  4558. "application/json"
  4559. ],
  4560. "tags": [
  4561. "企业风险管理v3(app)"
  4562. ],
  4563. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4564. "parameters": [
  4565. {
  4566. "type": "integer",
  4567. "description": "用户id",
  4568. "name": "userid",
  4569. "in": "query",
  4570. "required": true
  4571. },
  4572. {
  4573. "type": "integer",
  4574. "description": "用户类型 2-机构 7-企业成员",
  4575. "name": "usertype",
  4576. "in": "query"
  4577. }
  4578. ],
  4579. "responses": {
  4580. "200": {
  4581. "description": "OK",
  4582. "schema": {
  4583. "type": "array",
  4584. "items": {
  4585. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4586. }
  4587. }
  4588. },
  4589. "500": {
  4590. "description": "Internal Server Error",
  4591. "schema": {
  4592. "$ref": "#/definitions/app.Response"
  4593. }
  4594. }
  4595. }
  4596. }
  4597. },
  4598. "/Ermcp3/QueryExposureSpotDetail": {
  4599. "get": {
  4600. "security": [
  4601. {
  4602. "ApiKeyAuth": []
  4603. }
  4604. ],
  4605. "produces": [
  4606. "application/json"
  4607. ],
  4608. "tags": [
  4609. "企业风险管理v3(app)"
  4610. ],
  4611. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4612. "parameters": [
  4613. {
  4614. "type": "integer",
  4615. "description": "用户id",
  4616. "name": "userid",
  4617. "in": "query",
  4618. "required": true
  4619. },
  4620. {
  4621. "type": "integer",
  4622. "description": "用户类型 2-机构 7-企业成员",
  4623. "name": "usertype",
  4624. "in": "query"
  4625. },
  4626. {
  4627. "type": "integer",
  4628. "description": "现货商品ID",
  4629. "name": "wrstandardid",
  4630. "in": "query",
  4631. "required": true
  4632. }
  4633. ],
  4634. "responses": {
  4635. "200": {
  4636. "description": "OK",
  4637. "schema": {
  4638. "type": "array",
  4639. "items": {
  4640. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4641. }
  4642. }
  4643. },
  4644. "500": {
  4645. "description": "Internal Server Error",
  4646. "schema": {
  4647. "$ref": "#/definitions/app.Response"
  4648. }
  4649. }
  4650. }
  4651. }
  4652. },
  4653. "/Ermcp3/QueryGoodsGroup": {
  4654. "get": {
  4655. "security": [
  4656. {
  4657. "ApiKeyAuth": []
  4658. }
  4659. ],
  4660. "produces": [
  4661. "application/json"
  4662. ],
  4663. "tags": [
  4664. "企业风险管理v3(app)"
  4665. ],
  4666. "summary": "查询期货商品组",
  4667. "parameters": [
  4668. {
  4669. "type": "integer",
  4670. "description": "用户id",
  4671. "name": "userid",
  4672. "in": "query",
  4673. "required": true
  4674. },
  4675. {
  4676. "type": "integer",
  4677. "description": "用户类型 2-机构 7-企业成员",
  4678. "name": "usertype",
  4679. "in": "query"
  4680. },
  4681. {
  4682. "type": "integer",
  4683. "description": "排除套保品中已关联的商品组 1-排除",
  4684. "name": "excludecfg",
  4685. "in": "query"
  4686. }
  4687. ],
  4688. "responses": {
  4689. "200": {
  4690. "description": "OK",
  4691. "schema": {
  4692. "type": "array",
  4693. "items": {
  4694. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4695. }
  4696. }
  4697. },
  4698. "500": {
  4699. "description": "Internal Server Error",
  4700. "schema": {
  4701. "$ref": "#/definitions/app.Response"
  4702. }
  4703. }
  4704. }
  4705. }
  4706. },
  4707. "/Ermcp3/QueryGoodsWrstandard": {
  4708. "get": {
  4709. "security": [
  4710. {
  4711. "ApiKeyAuth": []
  4712. }
  4713. ],
  4714. "produces": [
  4715. "application/json"
  4716. ],
  4717. "tags": [
  4718. "企业风险管理v3(app)"
  4719. ],
  4720. "summary": "查询商品品类",
  4721. "parameters": [
  4722. {
  4723. "type": "integer",
  4724. "description": "用户id",
  4725. "name": "userid",
  4726. "in": "query",
  4727. "required": true
  4728. },
  4729. {
  4730. "type": "integer",
  4731. "description": "用户类型 2-机构 7-企业成员",
  4732. "name": "usertype",
  4733. "in": "query"
  4734. },
  4735. {
  4736. "type": "integer",
  4737. "description": "现货商品id",
  4738. "name": "deliverygoodsid",
  4739. "in": "query"
  4740. }
  4741. ],
  4742. "responses": {
  4743. "200": {
  4744. "description": "OK",
  4745. "schema": {
  4746. "type": "array",
  4747. "items": {
  4748. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4749. }
  4750. }
  4751. },
  4752. "500": {
  4753. "description": "Internal Server Error",
  4754. "schema": {
  4755. "$ref": "#/definitions/app.Response"
  4756. }
  4757. }
  4758. }
  4759. }
  4760. },
  4761. "/Ermcp3/QueryGoodsbrand": {
  4762. "get": {
  4763. "security": [
  4764. {
  4765. "ApiKeyAuth": []
  4766. }
  4767. ],
  4768. "produces": [
  4769. "application/json"
  4770. ],
  4771. "tags": [
  4772. "企业风险管理v3(app)"
  4773. ],
  4774. "summary": "查询商品品牌",
  4775. "parameters": [
  4776. {
  4777. "type": "integer",
  4778. "description": "用户id",
  4779. "name": "userid",
  4780. "in": "query",
  4781. "required": true
  4782. },
  4783. {
  4784. "type": "integer",
  4785. "description": "用户类型 2-机构 7-企业成员",
  4786. "name": "usertype",
  4787. "in": "query"
  4788. }
  4789. ],
  4790. "responses": {
  4791. "200": {
  4792. "description": "OK",
  4793. "schema": {
  4794. "type": "array",
  4795. "items": {
  4796. "$ref": "#/definitions/models.Ermcp3Brand"
  4797. }
  4798. }
  4799. },
  4800. "500": {
  4801. "description": "Internal Server Error",
  4802. "schema": {
  4803. "$ref": "#/definitions/app.Response"
  4804. }
  4805. }
  4806. }
  4807. }
  4808. },
  4809. "/Ermcp3/QueryHPMiddleGoods": {
  4810. "get": {
  4811. "security": [
  4812. {
  4813. "ApiKeyAuth": []
  4814. }
  4815. ],
  4816. "produces": [
  4817. "application/json"
  4818. ],
  4819. "tags": [
  4820. "企业风险管理v3(app)"
  4821. ],
  4822. "summary": "查询可关联套保计划",
  4823. "parameters": [
  4824. {
  4825. "type": "integer",
  4826. "description": "用户ID(填登录用户的userid)",
  4827. "name": "userid",
  4828. "in": "query",
  4829. "required": true
  4830. },
  4831. {
  4832. "type": "integer",
  4833. "description": "买卖方向 0-买 1-卖",
  4834. "name": "buyorsell",
  4835. "in": "query",
  4836. "required": true
  4837. },
  4838. {
  4839. "type": "integer",
  4840. "description": "商品组id",
  4841. "name": "goodsgroupid",
  4842. "in": "query",
  4843. "required": true
  4844. },
  4845. {
  4846. "type": "string",
  4847. "description": "套保计划编号(模糊匹配)",
  4848. "name": "hedgeplanno",
  4849. "in": "query"
  4850. },
  4851. {
  4852. "type": "string",
  4853. "description": "现货商品名称(模糊匹配)",
  4854. "name": "wrstandardname",
  4855. "in": "query"
  4856. }
  4857. ],
  4858. "responses": {
  4859. "200": {
  4860. "description": "OK",
  4861. "schema": {
  4862. "type": "array",
  4863. "items": {
  4864. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4865. }
  4866. }
  4867. },
  4868. "500": {
  4869. "description": "Internal Server Error",
  4870. "schema": {
  4871. "$ref": "#/definitions/app.Response"
  4872. }
  4873. }
  4874. }
  4875. }
  4876. },
  4877. "/Ermcp3/QueryHedgePlan": {
  4878. "get": {
  4879. "security": [
  4880. {
  4881. "ApiKeyAuth": []
  4882. }
  4883. ],
  4884. "produces": [
  4885. "application/json"
  4886. ],
  4887. "tags": [
  4888. "企业风险管理v3(app)"
  4889. ],
  4890. "summary": "查询套保计划",
  4891. "parameters": [
  4892. {
  4893. "type": "integer",
  4894. "description": "用户ID",
  4895. "name": "userid",
  4896. "in": "query",
  4897. "required": true
  4898. },
  4899. {
  4900. "type": "integer",
  4901. "description": "用户类型 2-机构 7-企业成员",
  4902. "name": "usertype",
  4903. "in": "query"
  4904. },
  4905. {
  4906. "type": "string",
  4907. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4908. "name": "hedgeplanstatus",
  4909. "in": "query",
  4910. "required": true
  4911. }
  4912. ],
  4913. "responses": {
  4914. "200": {
  4915. "description": "OK",
  4916. "schema": {
  4917. "type": "array",
  4918. "items": {
  4919. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4920. }
  4921. }
  4922. },
  4923. "500": {
  4924. "description": "Internal Server Error",
  4925. "schema": {
  4926. "$ref": "#/definitions/app.Response"
  4927. }
  4928. }
  4929. }
  4930. }
  4931. },
  4932. "/Ermcp3/QueryInnerTradeLink": {
  4933. "get": {
  4934. "security": [
  4935. {
  4936. "ApiKeyAuth": []
  4937. }
  4938. ],
  4939. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4940. "produces": [
  4941. "application/json"
  4942. ],
  4943. "tags": [
  4944. "企业风险管理v3(app)"
  4945. ],
  4946. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4947. "parameters": [
  4948. {
  4949. "type": "integer",
  4950. "description": "外部成交单号",
  4951. "name": "outtradeid",
  4952. "in": "query",
  4953. "required": true
  4954. }
  4955. ],
  4956. "responses": {
  4957. "200": {
  4958. "description": "OK",
  4959. "schema": {
  4960. "type": "array",
  4961. "items": {
  4962. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4963. }
  4964. }
  4965. },
  4966. "500": {
  4967. "description": "Internal Server Error",
  4968. "schema": {
  4969. "$ref": "#/definitions/app.Response"
  4970. }
  4971. }
  4972. }
  4973. }
  4974. },
  4975. "/Ermcp3/QueryMiddleGoodsDetail": {
  4976. "get": {
  4977. "security": [
  4978. {
  4979. "ApiKeyAuth": []
  4980. }
  4981. ],
  4982. "produces": [
  4983. "application/json"
  4984. ],
  4985. "tags": [
  4986. "企业风险管理v3(app)"
  4987. ],
  4988. "summary": "查询套保品种详情(套保品种/商品详情)",
  4989. "parameters": [
  4990. {
  4991. "type": "integer",
  4992. "description": "用户id",
  4993. "name": "userid",
  4994. "in": "query",
  4995. "required": true
  4996. },
  4997. {
  4998. "type": "integer",
  4999. "description": "用户类型 2-机构 7-企业成员",
  5000. "name": "usertype",
  5001. "in": "query"
  5002. },
  5003. {
  5004. "type": "integer",
  5005. "description": "套保品种id",
  5006. "name": "middlegoodsid",
  5007. "in": "query"
  5008. }
  5009. ],
  5010. "responses": {
  5011. "200": {
  5012. "description": "OK",
  5013. "schema": {
  5014. "type": "array",
  5015. "items": {
  5016. "$ref": "#/definitions/models.TBMiddleGoods"
  5017. }
  5018. }
  5019. },
  5020. "500": {
  5021. "description": "Internal Server Error",
  5022. "schema": {
  5023. "$ref": "#/definitions/app.Response"
  5024. }
  5025. }
  5026. }
  5027. }
  5028. },
  5029. "/Ermcp3/QueryOutTradeLink": {
  5030. "get": {
  5031. "security": [
  5032. {
  5033. "ApiKeyAuth": []
  5034. }
  5035. ],
  5036. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5037. "produces": [
  5038. "application/json"
  5039. ],
  5040. "tags": [
  5041. "企业风险管理v3(app)"
  5042. ],
  5043. "summary": "查询外部成交单关联",
  5044. "parameters": [
  5045. {
  5046. "type": "integer",
  5047. "description": "用户ID(填登录用户的userid)",
  5048. "name": "userid",
  5049. "in": "query",
  5050. "required": true
  5051. },
  5052. {
  5053. "type": "string",
  5054. "description": "外部订单号(模糊匹配)",
  5055. "name": "outtradeid",
  5056. "in": "query"
  5057. },
  5058. {
  5059. "type": "string",
  5060. "description": "合约名称/代码(模糊匹配)",
  5061. "name": "goodsname",
  5062. "in": "query"
  5063. },
  5064. {
  5065. "type": "integer",
  5066. "description": "关联状态 0-未关联 1-已关联",
  5067. "name": "hasinnerorder",
  5068. "in": "query"
  5069. }
  5070. ],
  5071. "responses": {
  5072. "200": {
  5073. "description": "OK",
  5074. "schema": {
  5075. "type": "array",
  5076. "items": {
  5077. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5078. }
  5079. }
  5080. },
  5081. "500": {
  5082. "description": "Internal Server Error",
  5083. "schema": {
  5084. "$ref": "#/definitions/app.Response"
  5085. }
  5086. }
  5087. }
  5088. }
  5089. },
  5090. "/Ermcp3/QueryPaAreaAuditCfg": {
  5091. "get": {
  5092. "security": [
  5093. {
  5094. "ApiKeyAuth": []
  5095. }
  5096. ],
  5097. "produces": [
  5098. "application/json"
  5099. ],
  5100. "tags": [
  5101. "企业风险管理v3(app)"
  5102. ],
  5103. "summary": "查询审核设置",
  5104. "parameters": [
  5105. {
  5106. "type": "integer",
  5107. "description": "用户id",
  5108. "name": "userid",
  5109. "in": "query",
  5110. "required": true
  5111. }
  5112. ],
  5113. "responses": {
  5114. "200": {
  5115. "description": "OK",
  5116. "schema": {
  5117. "type": "array",
  5118. "items": {
  5119. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5120. }
  5121. }
  5122. },
  5123. "500": {
  5124. "description": "Internal Server Error",
  5125. "schema": {
  5126. "$ref": "#/definitions/app.Response"
  5127. }
  5128. }
  5129. }
  5130. }
  5131. },
  5132. "/Ermcp3/QueryPaAreaSubject": {
  5133. "get": {
  5134. "security": [
  5135. {
  5136. "ApiKeyAuth": []
  5137. }
  5138. ],
  5139. "produces": [
  5140. "application/json"
  5141. ],
  5142. "tags": [
  5143. "企业风险管理v3(app)"
  5144. ],
  5145. "summary": "查询交易主体",
  5146. "parameters": [
  5147. {
  5148. "type": "integer",
  5149. "description": "用户id",
  5150. "name": "userid",
  5151. "in": "query",
  5152. "required": true
  5153. },
  5154. {
  5155. "type": "integer",
  5156. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5157. "name": "subjectid",
  5158. "in": "query"
  5159. },
  5160. {
  5161. "type": "integer",
  5162. "description": "主体类型 - 1:交易主体 2:业务部门",
  5163. "name": "subjecttype",
  5164. "in": "query"
  5165. },
  5166. {
  5167. "type": "integer",
  5168. "description": "主体状态 - 1:正常 2: 停用",
  5169. "name": "subjectstatus",
  5170. "in": "query"
  5171. }
  5172. ],
  5173. "responses": {
  5174. "200": {
  5175. "description": "OK",
  5176. "schema": {
  5177. "type": "array",
  5178. "items": {
  5179. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5180. }
  5181. }
  5182. },
  5183. "500": {
  5184. "description": "Internal Server Error",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "/Ermcp3/QueryPaTradeLink": {
  5193. "get": {
  5194. "security": [
  5195. {
  5196. "ApiKeyAuth": []
  5197. }
  5198. ],
  5199. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5200. "produces": [
  5201. "application/json"
  5202. ],
  5203. "tags": [
  5204. "企业风险管理v3(app)"
  5205. ],
  5206. "summary": "查询期现单据关联",
  5207. "parameters": [
  5208. {
  5209. "type": "integer",
  5210. "description": "用户ID",
  5211. "name": "userid",
  5212. "in": "query",
  5213. "required": true
  5214. }
  5215. ],
  5216. "responses": {
  5217. "200": {
  5218. "description": "OK",
  5219. "schema": {
  5220. "type": "array",
  5221. "items": {
  5222. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5223. }
  5224. }
  5225. },
  5226. "500": {
  5227. "description": "Internal Server Error",
  5228. "schema": {
  5229. "$ref": "#/definitions/app.Response"
  5230. }
  5231. }
  5232. }
  5233. }
  5234. },
  5235. "/Ermcp3/QueryPaTradeLinkDetail": {
  5236. "get": {
  5237. "security": [
  5238. {
  5239. "ApiKeyAuth": []
  5240. }
  5241. ],
  5242. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5243. "produces": [
  5244. "application/json"
  5245. ],
  5246. "tags": [
  5247. "企业风险管理v3(app)"
  5248. ],
  5249. "summary": "查询期现关联记录",
  5250. "parameters": [
  5251. {
  5252. "type": "integer",
  5253. "description": "用户ID(填登录用户的userid)",
  5254. "name": "userid",
  5255. "in": "query",
  5256. "required": true
  5257. },
  5258. {
  5259. "type": "integer",
  5260. "description": "关联状态 1:成功 2:失败 3:解绑",
  5261. "name": "linkstatus",
  5262. "in": "query"
  5263. },
  5264. {
  5265. "type": "string",
  5266. "description": "期货订单号(模糊匹配)",
  5267. "name": "tradeid",
  5268. "in": "query"
  5269. },
  5270. {
  5271. "type": "string",
  5272. "description": "现货编号(模糊匹配)",
  5273. "name": "contractno",
  5274. "in": "query"
  5275. },
  5276. {
  5277. "type": "string",
  5278. "description": "期货账户(模糊匹配)",
  5279. "name": "taname",
  5280. "in": "query"
  5281. }
  5282. ],
  5283. "responses": {
  5284. "200": {
  5285. "description": "OK",
  5286. "schema": {
  5287. "type": "array",
  5288. "items": {
  5289. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5290. }
  5291. }
  5292. },
  5293. "500": {
  5294. "description": "Internal Server Error",
  5295. "schema": {
  5296. "$ref": "#/definitions/app.Response"
  5297. }
  5298. }
  5299. }
  5300. }
  5301. },
  5302. "/Ermcp3/QueryParamChangeApp": {
  5303. "get": {
  5304. "security": [
  5305. {
  5306. "ApiKeyAuth": []
  5307. }
  5308. ],
  5309. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5310. "produces": [
  5311. "application/json"
  5312. ],
  5313. "tags": [
  5314. "企业风险管理v3(app)"
  5315. ],
  5316. "summary": "查询现货商品参数变更申请(流水)",
  5317. "parameters": [
  5318. {
  5319. "type": "integer",
  5320. "description": "用户ID",
  5321. "name": "userid",
  5322. "in": "query",
  5323. "required": true
  5324. },
  5325. {
  5326. "type": "integer",
  5327. "description": "现货品种id",
  5328. "name": "deliverygoodsid",
  5329. "in": "query"
  5330. },
  5331. {
  5332. "type": "integer",
  5333. "description": "现货商品id",
  5334. "name": "wrstandardid",
  5335. "in": "query"
  5336. },
  5337. {
  5338. "type": "integer",
  5339. "description": "套保商品id",
  5340. "name": "middlegoodsid",
  5341. "in": "query"
  5342. },
  5343. {
  5344. "type": "integer",
  5345. "description": "操作类型 1:新增 2:修改",
  5346. "name": "operatetype",
  5347. "in": "query"
  5348. },
  5349. {
  5350. "type": "integer",
  5351. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5352. "name": "paramchangetype",
  5353. "in": "query"
  5354. },
  5355. {
  5356. "type": "string",
  5357. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5358. "name": "ftstatus",
  5359. "in": "query"
  5360. }
  5361. ],
  5362. "responses": {
  5363. "200": {
  5364. "description": "OK",
  5365. "schema": {
  5366. "type": "array",
  5367. "items": {
  5368. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5369. }
  5370. }
  5371. },
  5372. "500": {
  5373. "description": "Internal Server Error",
  5374. "schema": {
  5375. "$ref": "#/definitions/app.Response"
  5376. }
  5377. }
  5378. }
  5379. }
  5380. },
  5381. "/Ermcp3/QueryRootUserAccount": {
  5382. "get": {
  5383. "security": [
  5384. {
  5385. "ApiKeyAuth": []
  5386. }
  5387. ],
  5388. "produces": [
  5389. "application/json"
  5390. ],
  5391. "tags": [
  5392. "企业风险管理v3(app)"
  5393. ],
  5394. "summary": "查询顶级用户信息",
  5395. "parameters": [
  5396. {
  5397. "type": "integer",
  5398. "description": "用户ID",
  5399. "name": "userid",
  5400. "in": "query",
  5401. "required": true
  5402. }
  5403. ],
  5404. "responses": {
  5405. "200": {
  5406. "description": "OK",
  5407. "schema": {
  5408. "type": "array",
  5409. "items": {
  5410. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5411. }
  5412. }
  5413. },
  5414. "500": {
  5415. "description": "Internal Server Error",
  5416. "schema": {
  5417. "$ref": "#/definitions/app.Response"
  5418. }
  5419. }
  5420. }
  5421. }
  5422. },
  5423. "/Ermcp3/QuerySCMiddleGoods": {
  5424. "get": {
  5425. "security": [
  5426. {
  5427. "ApiKeyAuth": []
  5428. }
  5429. ],
  5430. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5431. "produces": [
  5432. "application/json"
  5433. ],
  5434. "tags": [
  5435. "企业风险管理v3(app)"
  5436. ],
  5437. "summary": "查询现货订单",
  5438. "parameters": [
  5439. {
  5440. "type": "integer",
  5441. "description": "用户ID(填登录用户的userid)",
  5442. "name": "userid",
  5443. "in": "query",
  5444. "required": true
  5445. },
  5446. {
  5447. "type": "integer",
  5448. "description": "买卖方向 0-买 1-卖",
  5449. "name": "buyorsell",
  5450. "in": "query",
  5451. "required": true
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "商品组id",
  5456. "name": "goodsgroupid",
  5457. "in": "query",
  5458. "required": true
  5459. },
  5460. {
  5461. "type": "integer",
  5462. "description": "业务类型 1:套保 2:套利",
  5463. "name": "biztype",
  5464. "in": "query"
  5465. },
  5466. {
  5467. "type": "string",
  5468. "description": "现货编号(模糊匹配)",
  5469. "name": "contractno",
  5470. "in": "query"
  5471. },
  5472. {
  5473. "type": "string",
  5474. "description": "对手方(模糊匹配)",
  5475. "name": "customername",
  5476. "in": "query"
  5477. },
  5478. {
  5479. "type": "string",
  5480. "description": "现货商品名称(模糊匹配)",
  5481. "name": "wrstandardname",
  5482. "in": "query"
  5483. }
  5484. ],
  5485. "responses": {
  5486. "200": {
  5487. "description": "OK",
  5488. "schema": {
  5489. "type": "array",
  5490. "items": {
  5491. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5492. }
  5493. }
  5494. },
  5495. "500": {
  5496. "description": "Internal Server Error",
  5497. "schema": {
  5498. "$ref": "#/definitions/app.Response"
  5499. }
  5500. }
  5501. }
  5502. }
  5503. },
  5504. "/Ermcp3/QuerySpotContract": {
  5505. "get": {
  5506. "security": [
  5507. {
  5508. "ApiKeyAuth": []
  5509. }
  5510. ],
  5511. "produces": [
  5512. "application/json"
  5513. ],
  5514. "tags": [
  5515. "企业风险管理v3(app)"
  5516. ],
  5517. "summary": "查询现货合同",
  5518. "parameters": [
  5519. {
  5520. "type": "integer",
  5521. "description": "用户id(当指定contractid, userid可不填)",
  5522. "name": "userid",
  5523. "in": "query",
  5524. "required": true
  5525. },
  5526. {
  5527. "type": "integer",
  5528. "description": "用户类型 2-机构 7-企业成员",
  5529. "name": "usertype",
  5530. "in": "query"
  5531. },
  5532. {
  5533. "type": "integer",
  5534. "description": "合同类型 1-采购, -1-销售",
  5535. "name": "contracttype",
  5536. "in": "query"
  5537. },
  5538. {
  5539. "type": "string",
  5540. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5541. "name": "querytype",
  5542. "in": "query"
  5543. },
  5544. {
  5545. "type": "string",
  5546. "description": "合同ID(SpotContractId)",
  5547. "name": "contractid",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "string",
  5552. "description": "合同编号(模糊匹配)",
  5553. "name": "contractno",
  5554. "in": "query"
  5555. },
  5556. {
  5557. "type": "string",
  5558. "description": "商品名称(模糊匹配)",
  5559. "name": "wrstandardname",
  5560. "in": "query"
  5561. },
  5562. {
  5563. "type": "string",
  5564. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5565. "name": "status",
  5566. "in": "query"
  5567. },
  5568. {
  5569. "type": "integer",
  5570. "description": "是否只查今日的合同 1-查今日合同",
  5571. "name": "istoday",
  5572. "in": "query"
  5573. }
  5574. ],
  5575. "responses": {
  5576. "200": {
  5577. "description": "OK",
  5578. "schema": {
  5579. "type": "array",
  5580. "items": {
  5581. "$ref": "#/definitions/models.Ermcp3Contract"
  5582. }
  5583. }
  5584. },
  5585. "500": {
  5586. "description": "Internal Server Error",
  5587. "schema": {
  5588. "$ref": "#/definitions/app.Response"
  5589. }
  5590. }
  5591. }
  5592. }
  5593. },
  5594. "/Ermcp3/QuerySpotContractBS": {
  5595. "get": {
  5596. "security": [
  5597. {
  5598. "ApiKeyAuth": []
  5599. }
  5600. ],
  5601. "produces": [
  5602. "application/json"
  5603. ],
  5604. "tags": [
  5605. "企业风险管理v3(app)"
  5606. ],
  5607. "summary": "查询合同(采购/销售)",
  5608. "parameters": [
  5609. {
  5610. "type": "integer",
  5611. "description": "用户id",
  5612. "name": "userid",
  5613. "in": "query",
  5614. "required": true
  5615. },
  5616. {
  5617. "type": "integer",
  5618. "description": "用户类型 2-机构 7-企业成员",
  5619. "name": "usertype",
  5620. "in": "query"
  5621. },
  5622. {
  5623. "type": "integer",
  5624. "description": "合同类型 1-采购, -1-销售",
  5625. "name": "contracttype",
  5626. "in": "query",
  5627. "required": true
  5628. },
  5629. {
  5630. "type": "integer",
  5631. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5632. "name": "querytype",
  5633. "in": "query"
  5634. },
  5635. {
  5636. "type": "string",
  5637. "description": "合同ID(SpotContractId)",
  5638. "name": "contractid",
  5639. "in": "query"
  5640. },
  5641. {
  5642. "type": "string",
  5643. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5644. "name": "status",
  5645. "in": "query"
  5646. },
  5647. {
  5648. "type": "integer",
  5649. "description": "是否只查今日的合同 1-查今日合同",
  5650. "name": "istoday",
  5651. "in": "query"
  5652. }
  5653. ],
  5654. "responses": {
  5655. "200": {
  5656. "description": "OK",
  5657. "schema": {
  5658. "type": "array",
  5659. "items": {
  5660. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5661. }
  5662. }
  5663. },
  5664. "500": {
  5665. "description": "Internal Server Error",
  5666. "schema": {
  5667. "$ref": "#/definitions/app.Response"
  5668. }
  5669. }
  5670. }
  5671. }
  5672. },
  5673. "/Ermcp3/QuerySpotGoodsPrice": {
  5674. "get": {
  5675. "security": [
  5676. {
  5677. "ApiKeyAuth": []
  5678. }
  5679. ],
  5680. "produces": [
  5681. "application/json"
  5682. ],
  5683. "tags": [
  5684. "企业风险管理v3(app)"
  5685. ],
  5686. "summary": "查询现货市价(现货市价)",
  5687. "parameters": [
  5688. {
  5689. "type": "integer",
  5690. "description": "用户ID",
  5691. "name": "userid",
  5692. "in": "query",
  5693. "required": true
  5694. }
  5695. ],
  5696. "responses": {
  5697. "200": {
  5698. "description": "OK",
  5699. "schema": {
  5700. "type": "array",
  5701. "items": {
  5702. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5703. }
  5704. }
  5705. },
  5706. "500": {
  5707. "description": "Internal Server Error",
  5708. "schema": {
  5709. "$ref": "#/definitions/app.Response"
  5710. }
  5711. }
  5712. }
  5713. }
  5714. },
  5715. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5716. "get": {
  5717. "security": [
  5718. {
  5719. "ApiKeyAuth": []
  5720. }
  5721. ],
  5722. "produces": [
  5723. "application/json"
  5724. ],
  5725. "tags": [
  5726. "企业风险管理v3(app)"
  5727. ],
  5728. "summary": "查询现货市价详情(现货市价/详情)",
  5729. "parameters": [
  5730. {
  5731. "type": "integer",
  5732. "description": "用户ID",
  5733. "name": "userid",
  5734. "in": "query",
  5735. "required": true
  5736. },
  5737. {
  5738. "type": "integer",
  5739. "description": "现货商品ID",
  5740. "name": "deliverygoodsid",
  5741. "in": "query",
  5742. "required": true
  5743. },
  5744. {
  5745. "type": "integer",
  5746. "description": "品牌ID",
  5747. "name": "brandid",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "integer",
  5752. "description": "品类ID",
  5753. "name": "wrstandardid",
  5754. "in": "query"
  5755. }
  5756. ],
  5757. "responses": {
  5758. "200": {
  5759. "description": "OK",
  5760. "schema": {
  5761. "type": "array",
  5762. "items": {
  5763. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5764. }
  5765. }
  5766. },
  5767. "500": {
  5768. "description": "Internal Server Error",
  5769. "schema": {
  5770. "$ref": "#/definitions/app.Response"
  5771. }
  5772. }
  5773. }
  5774. }
  5775. },
  5776. "/Ermcp3/QuerySubTaaccount": {
  5777. "get": {
  5778. "security": [
  5779. {
  5780. "ApiKeyAuth": []
  5781. }
  5782. ],
  5783. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5784. "produces": [
  5785. "application/json"
  5786. ],
  5787. "tags": [
  5788. "企业风险管理v3(app)"
  5789. ],
  5790. "summary": "查询期货子账户",
  5791. "parameters": [
  5792. {
  5793. "type": "integer",
  5794. "description": "母账号id",
  5795. "name": "parentaccountid",
  5796. "in": "query"
  5797. },
  5798. {
  5799. "type": "string",
  5800. "description": "母账号代码",
  5801. "name": "parentaccountcode",
  5802. "in": "query"
  5803. }
  5804. ],
  5805. "responses": {
  5806. "200": {
  5807. "description": "OK",
  5808. "schema": {
  5809. "type": "array",
  5810. "items": {
  5811. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5812. }
  5813. }
  5814. },
  5815. "500": {
  5816. "description": "Internal Server Error",
  5817. "schema": {
  5818. "$ref": "#/definitions/app.Response"
  5819. }
  5820. }
  5821. }
  5822. }
  5823. },
  5824. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5825. "get": {
  5826. "security": [
  5827. {
  5828. "ApiKeyAuth": []
  5829. }
  5830. ],
  5831. "produces": [
  5832. "application/json"
  5833. ],
  5834. "tags": [
  5835. "企业风险管理v8"
  5836. ],
  5837. "summary": "现货成交明细查询",
  5838. "parameters": [
  5839. {
  5840. "type": "integer",
  5841. "description": "套期项目ID",
  5842. "name": "hedgeditemid",
  5843. "in": "query",
  5844. "required": true
  5845. }
  5846. ],
  5847. "responses": {
  5848. "200": {
  5849. "description": "OK",
  5850. "schema": {
  5851. "type": "array",
  5852. "items": {
  5853. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5854. }
  5855. }
  5856. },
  5857. "500": {
  5858. "description": "Internal Server Error",
  5859. "schema": {
  5860. "$ref": "#/definitions/app.Response"
  5861. }
  5862. }
  5863. }
  5864. }
  5865. },
  5866. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5867. "get": {
  5868. "security": [
  5869. {
  5870. "ApiKeyAuth": []
  5871. }
  5872. ],
  5873. "produces": [
  5874. "application/json"
  5875. ],
  5876. "tags": [
  5877. "企业风险管理v8"
  5878. ],
  5879. "summary": "套期计划明细查询",
  5880. "parameters": [
  5881. {
  5882. "type": "integer",
  5883. "description": "套期项目ID",
  5884. "name": "hedgeditemid",
  5885. "in": "query",
  5886. "required": true
  5887. }
  5888. ],
  5889. "responses": {
  5890. "200": {
  5891. "description": "OK",
  5892. "schema": {
  5893. "type": "array",
  5894. "items": {
  5895. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5896. }
  5897. }
  5898. },
  5899. "500": {
  5900. "description": "Internal Server Error",
  5901. "schema": {
  5902. "$ref": "#/definitions/app.Response"
  5903. }
  5904. }
  5905. }
  5906. }
  5907. },
  5908. "/Ermcp8/QueryERMCPJRLinkPos": {
  5909. "get": {
  5910. "security": [
  5911. {
  5912. "ApiKeyAuth": []
  5913. }
  5914. ],
  5915. "produces": [
  5916. "application/json"
  5917. ],
  5918. "tags": [
  5919. "企业风险管理v8"
  5920. ],
  5921. "summary": "期货持仓明细查询",
  5922. "parameters": [
  5923. {
  5924. "type": "integer",
  5925. "description": "套期项目ID",
  5926. "name": "hedgeditemid",
  5927. "in": "query",
  5928. "required": true
  5929. }
  5930. ],
  5931. "responses": {
  5932. "200": {
  5933. "description": "OK",
  5934. "schema": {
  5935. "type": "array",
  5936. "items": {
  5937. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  5938. }
  5939. }
  5940. },
  5941. "500": {
  5942. "description": "Internal Server Error",
  5943. "schema": {
  5944. "$ref": "#/definitions/app.Response"
  5945. }
  5946. }
  5947. }
  5948. }
  5949. },
  5950. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  5951. "get": {
  5952. "security": [
  5953. {
  5954. "ApiKeyAuth": []
  5955. }
  5956. ],
  5957. "produces": [
  5958. "application/json"
  5959. ],
  5960. "tags": [
  5961. "企业风险管理v8"
  5962. ],
  5963. "summary": "期货成交单明细查询",
  5964. "parameters": [
  5965. {
  5966. "type": "integer",
  5967. "description": "套期项目ID",
  5968. "name": "hedgeditemid",
  5969. "in": "query",
  5970. "required": true
  5971. }
  5972. ],
  5973. "responses": {
  5974. "200": {
  5975. "description": "OK",
  5976. "schema": {
  5977. "type": "array",
  5978. "items": {
  5979. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  5980. }
  5981. }
  5982. },
  5983. "500": {
  5984. "description": "Internal Server Error",
  5985. "schema": {
  5986. "$ref": "#/definitions/app.Response"
  5987. }
  5988. }
  5989. }
  5990. }
  5991. },
  5992. "/Ermcp8/QueryErmcp2AreaExposure": {
  5993. "get": {
  5994. "security": [
  5995. {
  5996. "ApiKeyAuth": []
  5997. }
  5998. ],
  5999. "produces": [
  6000. "application/json"
  6001. ],
  6002. "tags": [
  6003. "企业风险管理v8"
  6004. ],
  6005. "summary": "企业敞口查询",
  6006. "parameters": [
  6007. {
  6008. "type": "string",
  6009. "description": "用户ID",
  6010. "name": "userid",
  6011. "in": "query",
  6012. "required": true
  6013. }
  6014. ],
  6015. "responses": {
  6016. "200": {
  6017. "description": "OK",
  6018. "schema": {
  6019. "type": "array",
  6020. "items": {
  6021. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6022. }
  6023. }
  6024. },
  6025. "500": {
  6026. "description": "Internal Server Error",
  6027. "schema": {
  6028. "$ref": "#/definitions/app.Response"
  6029. }
  6030. }
  6031. }
  6032. }
  6033. },
  6034. "/Ermcp8/QueryErmcp2HedgedItem": {
  6035. "get": {
  6036. "security": [
  6037. {
  6038. "ApiKeyAuth": []
  6039. }
  6040. ],
  6041. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6042. "produces": [
  6043. "application/json"
  6044. ],
  6045. "tags": [
  6046. "企业风险管理v8"
  6047. ],
  6048. "summary": "查询被套期项目信息",
  6049. "parameters": [
  6050. {
  6051. "type": "string",
  6052. "description": "用户ID",
  6053. "name": "userid",
  6054. "in": "query",
  6055. "required": true
  6056. },
  6057. {
  6058. "type": "integer",
  6059. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6060. "name": "hedgedtype",
  6061. "in": "query"
  6062. },
  6063. {
  6064. "type": "integer",
  6065. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6066. "name": "hedgeditemstatus",
  6067. "in": "query"
  6068. }
  6069. ],
  6070. "responses": {
  6071. "200": {
  6072. "description": "OK",
  6073. "schema": {
  6074. "type": "array",
  6075. "items": {
  6076. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6077. }
  6078. }
  6079. },
  6080. "500": {
  6081. "description": "Internal Server Error",
  6082. "schema": {
  6083. "$ref": "#/definitions/app.Response"
  6084. }
  6085. }
  6086. }
  6087. }
  6088. },
  6089. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6090. "get": {
  6091. "security": [
  6092. {
  6093. "ApiKeyAuth": []
  6094. }
  6095. ],
  6096. "produces": [
  6097. "application/json"
  6098. ],
  6099. "tags": [
  6100. "企业风险管理v8"
  6101. ],
  6102. "summary": "现货合同关联被套期项目查询",
  6103. "parameters": [
  6104. {
  6105. "type": "integer",
  6106. "description": "现货合同ID",
  6107. "name": "spotcontractid",
  6108. "in": "query",
  6109. "required": true
  6110. }
  6111. ],
  6112. "responses": {
  6113. "200": {
  6114. "description": "OK",
  6115. "schema": {
  6116. "type": "array",
  6117. "items": {
  6118. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6119. }
  6120. }
  6121. },
  6122. "500": {
  6123. "description": "Internal Server Error",
  6124. "schema": {
  6125. "$ref": "#/definitions/app.Response"
  6126. }
  6127. }
  6128. }
  6129. }
  6130. },
  6131. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6132. "get": {
  6133. "security": [
  6134. {
  6135. "ApiKeyAuth": []
  6136. }
  6137. ],
  6138. "produces": [
  6139. "application/json"
  6140. ],
  6141. "tags": [
  6142. "企业风险管理v8"
  6143. ],
  6144. "summary": "敞口明细 - 计划变动明细",
  6145. "parameters": [
  6146. {
  6147. "type": "integer",
  6148. "description": "用户ID",
  6149. "name": "userid",
  6150. "in": "query",
  6151. "required": true
  6152. },
  6153. {
  6154. "type": "integer",
  6155. "description": "套保品种ID",
  6156. "name": "middlegoodsid",
  6157. "in": "query",
  6158. "required": true
  6159. }
  6160. ],
  6161. "responses": {
  6162. "200": {
  6163. "description": "OK",
  6164. "schema": {
  6165. "type": "array",
  6166. "items": {
  6167. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6168. }
  6169. }
  6170. },
  6171. "500": {
  6172. "description": "Internal Server Error",
  6173. "schema": {
  6174. "$ref": "#/definitions/app.Response"
  6175. }
  6176. }
  6177. }
  6178. }
  6179. },
  6180. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6181. "get": {
  6182. "security": [
  6183. {
  6184. "ApiKeyAuth": []
  6185. }
  6186. ],
  6187. "produces": [
  6188. "application/json"
  6189. ],
  6190. "tags": [
  6191. "企业风险管理v8"
  6192. ],
  6193. "summary": "敞口明细 - 现货变动明细查询",
  6194. "parameters": [
  6195. {
  6196. "type": "integer",
  6197. "description": "用户ID",
  6198. "name": "userid",
  6199. "in": "query",
  6200. "required": true
  6201. },
  6202. {
  6203. "type": "integer",
  6204. "description": "套保品种ID",
  6205. "name": "middlegoodsid",
  6206. "in": "query",
  6207. "required": true
  6208. }
  6209. ],
  6210. "responses": {
  6211. "200": {
  6212. "description": "OK",
  6213. "schema": {
  6214. "type": "array",
  6215. "items": {
  6216. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6217. }
  6218. }
  6219. },
  6220. "500": {
  6221. "description": "Internal Server Error",
  6222. "schema": {
  6223. "$ref": "#/definitions/app.Response"
  6224. }
  6225. }
  6226. }
  6227. }
  6228. },
  6229. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6230. "get": {
  6231. "security": [
  6232. {
  6233. "ApiKeyAuth": []
  6234. }
  6235. ],
  6236. "produces": [
  6237. "application/json"
  6238. ],
  6239. "tags": [
  6240. "企业风险管理v8"
  6241. ],
  6242. "summary": "可关联项目查询",
  6243. "parameters": [
  6244. {
  6245. "type": "integer",
  6246. "description": "用户ID",
  6247. "name": "userid",
  6248. "in": "query",
  6249. "required": true
  6250. },
  6251. {
  6252. "type": "integer",
  6253. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6254. "name": "spottype",
  6255. "in": "query",
  6256. "required": true
  6257. },
  6258. {
  6259. "type": "integer",
  6260. "description": "现货商品ID",
  6261. "name": "wrstandardid",
  6262. "in": "query"
  6263. }
  6264. ],
  6265. "responses": {
  6266. "200": {
  6267. "description": "OK",
  6268. "schema": {
  6269. "type": "array",
  6270. "items": {
  6271. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6272. }
  6273. }
  6274. },
  6275. "500": {
  6276. "description": "Internal Server Error",
  6277. "schema": {
  6278. "$ref": "#/definitions/app.Response"
  6279. }
  6280. }
  6281. }
  6282. }
  6283. },
  6284. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6285. "get": {
  6286. "security": [
  6287. {
  6288. "ApiKeyAuth": []
  6289. }
  6290. ],
  6291. "produces": [
  6292. "application/json"
  6293. ],
  6294. "tags": [
  6295. "企业风险管理v8"
  6296. ],
  6297. "summary": "套期项目报表查询",
  6298. "parameters": [
  6299. {
  6300. "type": "integer",
  6301. "description": "用户ID",
  6302. "name": "userid",
  6303. "in": "query",
  6304. "required": true
  6305. },
  6306. {
  6307. "type": "integer",
  6308. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6309. "name": "cycletype",
  6310. "in": "query"
  6311. },
  6312. {
  6313. "type": "string",
  6314. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6315. "name": "cycletime",
  6316. "in": "query",
  6317. "required": true
  6318. },
  6319. {
  6320. "type": "integer",
  6321. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6322. "name": "hedgedtype",
  6323. "in": "query"
  6324. },
  6325. {
  6326. "type": "integer",
  6327. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6328. "name": "hedgeditemstatus",
  6329. "in": "query"
  6330. },
  6331. {
  6332. "type": "string",
  6333. "description": "项目编号,模糊查询",
  6334. "name": "hedgeditemnum",
  6335. "in": "query"
  6336. },
  6337. {
  6338. "type": "integer",
  6339. "description": "现货商品ID",
  6340. "name": "wrstandardid",
  6341. "in": "query"
  6342. }
  6343. ],
  6344. "responses": {
  6345. "200": {
  6346. "description": "OK",
  6347. "schema": {
  6348. "type": "array",
  6349. "items": {
  6350. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6351. }
  6352. }
  6353. },
  6354. "500": {
  6355. "description": "Internal Server Error",
  6356. "schema": {
  6357. "$ref": "#/definitions/app.Response"
  6358. }
  6359. }
  6360. }
  6361. }
  6362. },
  6363. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6364. "get": {
  6365. "security": [
  6366. {
  6367. "ApiKeyAuth": []
  6368. }
  6369. ],
  6370. "produces": [
  6371. "application/json"
  6372. ],
  6373. "tags": [
  6374. "企业风险管理v8"
  6375. ],
  6376. "summary": "查询执行中项目查询信息",
  6377. "parameters": [
  6378. {
  6379. "type": "string",
  6380. "description": "用户ID",
  6381. "name": "userid",
  6382. "in": "query",
  6383. "required": true
  6384. }
  6385. ],
  6386. "responses": {
  6387. "200": {
  6388. "description": "OK",
  6389. "schema": {
  6390. "type": "array",
  6391. "items": {
  6392. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6393. }
  6394. }
  6395. },
  6396. "500": {
  6397. "description": "Internal Server Error",
  6398. "schema": {
  6399. "$ref": "#/definitions/app.Response"
  6400. }
  6401. }
  6402. }
  6403. }
  6404. },
  6405. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6406. "get": {
  6407. "security": [
  6408. {
  6409. "ApiKeyAuth": []
  6410. }
  6411. ],
  6412. "produces": [
  6413. "application/json"
  6414. ],
  6415. "tags": [
  6416. "企业风险管理v8"
  6417. ],
  6418. "summary": "内部成交单可关联项目查询",
  6419. "parameters": [
  6420. {
  6421. "type": "integer",
  6422. "description": "企业ID",
  6423. "name": "areauserid",
  6424. "in": "query",
  6425. "required": true
  6426. },
  6427. {
  6428. "type": "integer",
  6429. "description": "期货合约ID",
  6430. "name": "goodsid",
  6431. "in": "query",
  6432. "required": true
  6433. },
  6434. {
  6435. "type": "integer",
  6436. "description": "交易用户ID",
  6437. "name": "tradeuserid",
  6438. "in": "query",
  6439. "required": true
  6440. }
  6441. ],
  6442. "responses": {
  6443. "200": {
  6444. "description": "OK",
  6445. "schema": {
  6446. "type": "array",
  6447. "items": {
  6448. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6449. }
  6450. }
  6451. },
  6452. "500": {
  6453. "description": "Internal Server Error",
  6454. "schema": {
  6455. "$ref": "#/definitions/app.Response"
  6456. }
  6457. }
  6458. }
  6459. }
  6460. },
  6461. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6462. "get": {
  6463. "security": [
  6464. {
  6465. "ApiKeyAuth": []
  6466. }
  6467. ],
  6468. "produces": [
  6469. "application/json"
  6470. ],
  6471. "tags": [
  6472. "企业风险管理v8"
  6473. ],
  6474. "summary": "内部未关联成交单查询",
  6475. "parameters": [
  6476. {
  6477. "type": "integer",
  6478. "description": "用户编号",
  6479. "name": "userid",
  6480. "in": "query",
  6481. "required": true
  6482. },
  6483. {
  6484. "type": "string",
  6485. "description": "起始日期(格式yyyymmdd)",
  6486. "name": "begindate",
  6487. "in": "query"
  6488. },
  6489. {
  6490. "type": "string",
  6491. "description": "终止日期(格式yyyymmdd)",
  6492. "name": "enddate",
  6493. "in": "query"
  6494. },
  6495. {
  6496. "type": "string",
  6497. "description": "合约代码",
  6498. "name": "goodscode",
  6499. "in": "query"
  6500. },
  6501. {
  6502. "type": "string",
  6503. "description": "合约名称",
  6504. "name": "goodsname",
  6505. "in": "query"
  6506. },
  6507. {
  6508. "type": "integer",
  6509. "description": "成交单号",
  6510. "name": "tradeid",
  6511. "in": "query"
  6512. },
  6513. {
  6514. "type": "integer",
  6515. "description": "方向 - 0:买 1:卖",
  6516. "name": "buyorsell",
  6517. "in": "query"
  6518. },
  6519. {
  6520. "type": "string",
  6521. "description": "套期主体",
  6522. "name": "accountname",
  6523. "in": "query"
  6524. }
  6525. ],
  6526. "responses": {
  6527. "200": {
  6528. "description": "OK",
  6529. "schema": {
  6530. "type": "array",
  6531. "items": {
  6532. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6533. }
  6534. }
  6535. },
  6536. "500": {
  6537. "description": "Internal Server Error",
  6538. "schema": {
  6539. "$ref": "#/definitions/app.Response"
  6540. }
  6541. }
  6542. }
  6543. }
  6544. },
  6545. "/Ermcp8/QueryMarketCalendar": {
  6546. "get": {
  6547. "security": [
  6548. {
  6549. "ApiKeyAuth": []
  6550. }
  6551. ],
  6552. "produces": [
  6553. "application/json"
  6554. ],
  6555. "tags": [
  6556. "企业风险管理v8"
  6557. ],
  6558. "summary": "市场节假日查询",
  6559. "parameters": [
  6560. {
  6561. "type": "integer",
  6562. "description": "市场ID",
  6563. "name": "marketid",
  6564. "in": "query"
  6565. }
  6566. ],
  6567. "responses": {
  6568. "200": {
  6569. "description": "OK",
  6570. "schema": {
  6571. "type": "array",
  6572. "items": {
  6573. "$ref": "#/definitions/models.Marketcalendar"
  6574. }
  6575. }
  6576. },
  6577. "500": {
  6578. "description": "Internal Server Error",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. }
  6583. }
  6584. }
  6585. },
  6586. "/Ermcp8/QueryPatradeLinkDetail": {
  6587. "get": {
  6588. "security": [
  6589. {
  6590. "ApiKeyAuth": []
  6591. }
  6592. ],
  6593. "produces": [
  6594. "application/json"
  6595. ],
  6596. "tags": [
  6597. "企业风险管理v8"
  6598. ],
  6599. "summary": "敞口明细 - 期货变动明细",
  6600. "parameters": [
  6601. {
  6602. "type": "integer",
  6603. "description": "用户ID",
  6604. "name": "userid",
  6605. "in": "query",
  6606. "required": true
  6607. },
  6608. {
  6609. "type": "integer",
  6610. "description": "套保品种ID",
  6611. "name": "middlegoodsid",
  6612. "in": "query",
  6613. "required": true
  6614. }
  6615. ],
  6616. "responses": {
  6617. "200": {
  6618. "description": "OK",
  6619. "schema": {
  6620. "type": "array",
  6621. "items": {
  6622. "$ref": "#/definitions/models.Patradelinkdetail"
  6623. }
  6624. }
  6625. },
  6626. "500": {
  6627. "description": "Internal Server Error",
  6628. "schema": {
  6629. "$ref": "#/definitions/app.Response"
  6630. }
  6631. }
  6632. }
  6633. }
  6634. },
  6635. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6636. "get": {
  6637. "security": [
  6638. {
  6639. "ApiKeyAuth": []
  6640. }
  6641. ],
  6642. "produces": [
  6643. "application/json"
  6644. ],
  6645. "tags": [
  6646. "企业风险管理v8"
  6647. ],
  6648. "summary": "未关联购销计划",
  6649. "parameters": [
  6650. {
  6651. "type": "integer",
  6652. "description": "企业ID",
  6653. "name": "areauserid",
  6654. "in": "query",
  6655. "required": true
  6656. },
  6657. {
  6658. "type": "integer",
  6659. "description": "计划类型 - 1:采购 -1:销售",
  6660. "name": "contracttype",
  6661. "in": "query"
  6662. },
  6663. {
  6664. "type": "string",
  6665. "description": "计划编号,模糊查询",
  6666. "name": "hedgeplanno",
  6667. "in": "query"
  6668. },
  6669. {
  6670. "type": "string",
  6671. "description": "现货商品,模糊查询",
  6672. "name": "wrstandardname",
  6673. "in": "query"
  6674. }
  6675. ],
  6676. "responses": {
  6677. "200": {
  6678. "description": "OK",
  6679. "schema": {
  6680. "type": "array",
  6681. "items": {
  6682. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6683. }
  6684. }
  6685. },
  6686. "500": {
  6687. "description": "Internal Server Error",
  6688. "schema": {
  6689. "$ref": "#/definitions/app.Response"
  6690. }
  6691. }
  6692. }
  6693. }
  6694. },
  6695. "/Ermcp8/QueryUnLinkSpotContract": {
  6696. "get": {
  6697. "security": [
  6698. {
  6699. "ApiKeyAuth": []
  6700. }
  6701. ],
  6702. "produces": [
  6703. "application/json"
  6704. ],
  6705. "tags": [
  6706. "企业风险管理v8"
  6707. ],
  6708. "summary": "未关联合同查询",
  6709. "parameters": [
  6710. {
  6711. "type": "integer",
  6712. "description": "用户ID",
  6713. "name": "userid",
  6714. "in": "query",
  6715. "required": true
  6716. },
  6717. {
  6718. "type": "integer",
  6719. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6720. "name": "pricetype",
  6721. "in": "query"
  6722. },
  6723. {
  6724. "type": "string",
  6725. "description": "合同编号, 模拟查询",
  6726. "name": "contractno",
  6727. "in": "query"
  6728. },
  6729. {
  6730. "type": "string",
  6731. "description": "对手方, 模拟查询",
  6732. "name": "customername",
  6733. "in": "query"
  6734. },
  6735. {
  6736. "type": "integer",
  6737. "description": "项合同类型 - 1:采购 -1:销售",
  6738. "name": "contracttype",
  6739. "in": "query"
  6740. }
  6741. ],
  6742. "responses": {
  6743. "200": {
  6744. "description": "OK",
  6745. "schema": {
  6746. "type": "array",
  6747. "items": {
  6748. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6749. }
  6750. }
  6751. },
  6752. "500": {
  6753. "description": "Internal Server Error",
  6754. "schema": {
  6755. "$ref": "#/definitions/app.Response"
  6756. }
  6757. }
  6758. }
  6759. }
  6760. },
  6761. "/Erms2/QueryArbitrageStrategy": {
  6762. "get": {
  6763. "security": [
  6764. {
  6765. "ApiKeyAuth": []
  6766. }
  6767. ],
  6768. "produces": [
  6769. "application/json"
  6770. ],
  6771. "tags": [
  6772. "风险管理"
  6773. ],
  6774. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6775. "parameters": [
  6776. {
  6777. "type": "integer",
  6778. "description": "账户ID",
  6779. "name": "userid",
  6780. "in": "query",
  6781. "required": true
  6782. },
  6783. {
  6784. "type": "string",
  6785. "description": "商品组ID(品种ID)",
  6786. "name": "goodsgroupid",
  6787. "in": "query"
  6788. }
  6789. ],
  6790. "responses": {
  6791. "200": {
  6792. "description": "OK",
  6793. "schema": {
  6794. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6795. }
  6796. },
  6797. "500": {
  6798. "description": "Internal Server Error",
  6799. "schema": {
  6800. "$ref": "#/definitions/app.Response"
  6801. }
  6802. }
  6803. }
  6804. }
  6805. },
  6806. "/Erms2/QueryInnerTradeDetail": {
  6807. "get": {
  6808. "security": [
  6809. {
  6810. "ApiKeyAuth": []
  6811. }
  6812. ],
  6813. "produces": [
  6814. "application/json"
  6815. ],
  6816. "tags": [
  6817. "风险管理"
  6818. ],
  6819. "summary": "查询内部成交单信息",
  6820. "parameters": [
  6821. {
  6822. "type": "integer",
  6823. "description": "资金账户",
  6824. "name": "accountid",
  6825. "in": "query",
  6826. "required": true
  6827. }
  6828. ],
  6829. "responses": {
  6830. "200": {
  6831. "description": "OK",
  6832. "schema": {
  6833. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6834. }
  6835. },
  6836. "500": {
  6837. "description": "Internal Server Error",
  6838. "schema": {
  6839. "$ref": "#/definitions/app.Response"
  6840. }
  6841. }
  6842. }
  6843. }
  6844. },
  6845. "/Erms2/QuerySpotContract": {
  6846. "get": {
  6847. "security": [
  6848. {
  6849. "ApiKeyAuth": []
  6850. }
  6851. ],
  6852. "produces": [
  6853. "application/json"
  6854. ],
  6855. "tags": [
  6856. "风险管理"
  6857. ],
  6858. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6859. "parameters": [
  6860. {
  6861. "type": "integer",
  6862. "description": "策略申请ID",
  6863. "name": "asapplyid",
  6864. "in": "query",
  6865. "required": true
  6866. },
  6867. {
  6868. "type": "integer",
  6869. "description": "现货合同ID",
  6870. "name": "spotcontractid",
  6871. "in": "query"
  6872. }
  6873. ],
  6874. "responses": {
  6875. "200": {
  6876. "description": "OK",
  6877. "schema": {
  6878. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6879. }
  6880. },
  6881. "500": {
  6882. "description": "Internal Server Error",
  6883. "schema": {
  6884. "$ref": "#/definitions/app.Response"
  6885. }
  6886. }
  6887. }
  6888. }
  6889. },
  6890. "/Erms3/AddErms2ASApply": {
  6891. "post": {
  6892. "security": [
  6893. {
  6894. "ApiKeyAuth": []
  6895. }
  6896. ],
  6897. "produces": [
  6898. "application/json"
  6899. ],
  6900. "tags": [
  6901. "风险管理v3"
  6902. ],
  6903. "summary": "新增期现套利业务申请",
  6904. "parameters": [
  6905. {
  6906. "description": "申请参数",
  6907. "name": "jsonBody",
  6908. "in": "body",
  6909. "required": true,
  6910. "schema": {
  6911. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6912. }
  6913. }
  6914. ],
  6915. "responses": {
  6916. "200": {
  6917. "description": "OK",
  6918. "schema": {
  6919. "$ref": "#/definitions/app.Response"
  6920. }
  6921. },
  6922. "500": {
  6923. "description": "Internal Server Error",
  6924. "schema": {
  6925. "$ref": "#/definitions/app.Response"
  6926. }
  6927. }
  6928. }
  6929. }
  6930. },
  6931. "/Erms3/AddErms2SpotTradeApply": {
  6932. "post": {
  6933. "security": [
  6934. {
  6935. "ApiKeyAuth": []
  6936. }
  6937. ],
  6938. "produces": [
  6939. "application/json"
  6940. ],
  6941. "tags": [
  6942. "风险管理v3"
  6943. ],
  6944. "summary": "新增现货贸易业务申请",
  6945. "parameters": [
  6946. {
  6947. "description": "申请参数",
  6948. "name": "jsonBody",
  6949. "in": "body",
  6950. "required": true,
  6951. "schema": {
  6952. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6953. }
  6954. }
  6955. ],
  6956. "responses": {
  6957. "200": {
  6958. "description": "OK",
  6959. "schema": {
  6960. "$ref": "#/definitions/app.Response"
  6961. }
  6962. },
  6963. "500": {
  6964. "description": "Internal Server Error",
  6965. "schema": {
  6966. "$ref": "#/definitions/app.Response"
  6967. }
  6968. }
  6969. }
  6970. }
  6971. },
  6972. "/Erms3/AddSpotContractApply": {
  6973. "post": {
  6974. "security": [
  6975. {
  6976. "ApiKeyAuth": []
  6977. }
  6978. ],
  6979. "produces": [
  6980. "application/json"
  6981. ],
  6982. "tags": [
  6983. "风险管理v3"
  6984. ],
  6985. "summary": "新增现货合同申请",
  6986. "parameters": [
  6987. {
  6988. "description": "申请参数",
  6989. "name": "jsonBody",
  6990. "in": "body",
  6991. "required": true,
  6992. "schema": {
  6993. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6994. }
  6995. }
  6996. ],
  6997. "responses": {
  6998. "200": {
  6999. "description": "OK",
  7000. "schema": {
  7001. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7002. }
  7003. },
  7004. "500": {
  7005. "description": "Internal Server Error",
  7006. "schema": {
  7007. "$ref": "#/definitions/app.Response"
  7008. }
  7009. }
  7010. }
  7011. }
  7012. },
  7013. "/Erms3/AddUserInfoApply": {
  7014. "post": {
  7015. "security": [
  7016. {
  7017. "ApiKeyAuth": []
  7018. }
  7019. ],
  7020. "produces": [
  7021. "application/json"
  7022. ],
  7023. "tags": [
  7024. "风险管理v3"
  7025. ],
  7026. "summary": "新增客户申请",
  7027. "parameters": [
  7028. {
  7029. "description": "用户信息",
  7030. "name": "jsonBody",
  7031. "in": "body",
  7032. "required": true,
  7033. "schema": {
  7034. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7035. }
  7036. }
  7037. ],
  7038. "responses": {
  7039. "200": {
  7040. "description": "OK",
  7041. "schema": {
  7042. "$ref": "#/definitions/app.Response"
  7043. }
  7044. },
  7045. "500": {
  7046. "description": "Internal Server Error",
  7047. "schema": {
  7048. "$ref": "#/definitions/app.Response"
  7049. }
  7050. }
  7051. }
  7052. }
  7053. },
  7054. "/Erms3/DeleteUserInfoApply": {
  7055. "get": {
  7056. "security": [
  7057. {
  7058. "ApiKeyAuth": []
  7059. }
  7060. ],
  7061. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7062. "produces": [
  7063. "application/json"
  7064. ],
  7065. "tags": [
  7066. "风险管理v3"
  7067. ],
  7068. "summary": "删除客户申请",
  7069. "parameters": [
  7070. {
  7071. "type": "integer",
  7072. "description": "用户ID",
  7073. "name": "userID",
  7074. "in": "query",
  7075. "required": true
  7076. }
  7077. ],
  7078. "responses": {
  7079. "200": {
  7080. "description": "OK",
  7081. "schema": {
  7082. "$ref": "#/definitions/app.Response"
  7083. }
  7084. },
  7085. "500": {
  7086. "description": "Internal Server Error",
  7087. "schema": {
  7088. "$ref": "#/definitions/app.Response"
  7089. }
  7090. }
  7091. }
  7092. }
  7093. },
  7094. "/Erms3/ModifyUserInfoApply": {
  7095. "post": {
  7096. "security": [
  7097. {
  7098. "ApiKeyAuth": []
  7099. }
  7100. ],
  7101. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "风险管理v3"
  7107. ],
  7108. "summary": "修改客户申请",
  7109. "parameters": [
  7110. {
  7111. "description": "用户信息",
  7112. "name": "jsonBody",
  7113. "in": "body",
  7114. "required": true,
  7115. "schema": {
  7116. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7117. }
  7118. }
  7119. ],
  7120. "responses": {
  7121. "200": {
  7122. "description": "OK",
  7123. "schema": {
  7124. "$ref": "#/definitions/app.Response"
  7125. }
  7126. },
  7127. "500": {
  7128. "description": "Internal Server Error",
  7129. "schema": {
  7130. "$ref": "#/definitions/app.Response"
  7131. }
  7132. }
  7133. }
  7134. }
  7135. },
  7136. "/Erms3/QueryBusinessInfo": {
  7137. "get": {
  7138. "security": [
  7139. {
  7140. "ApiKeyAuth": []
  7141. }
  7142. ],
  7143. "produces": [
  7144. "application/json"
  7145. ],
  7146. "tags": [
  7147. "风险管理v3"
  7148. ],
  7149. "summary": "查询业务表单数据",
  7150. "parameters": [
  7151. {
  7152. "type": "string",
  7153. "description": "资金账号ID列表,用逗号分隔",
  7154. "name": "accountids",
  7155. "in": "query",
  7156. "required": true
  7157. },
  7158. {
  7159. "type": "integer",
  7160. "description": "状态,0为未结束 1为已结束",
  7161. "name": "status",
  7162. "in": "query",
  7163. "required": true
  7164. }
  7165. ],
  7166. "responses": {
  7167. "200": {
  7168. "description": "OK",
  7169. "schema": {
  7170. "type": "array",
  7171. "items": {
  7172. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7173. }
  7174. }
  7175. },
  7176. "500": {
  7177. "description": "Internal Server Error",
  7178. "schema": {
  7179. "$ref": "#/definitions/app.Response"
  7180. }
  7181. }
  7182. }
  7183. }
  7184. },
  7185. "/Erms3/QueryPendingAuditContract": {
  7186. "get": {
  7187. "security": [
  7188. {
  7189. "ApiKeyAuth": []
  7190. }
  7191. ],
  7192. "produces": [
  7193. "application/json"
  7194. ],
  7195. "tags": [
  7196. "风险管理v3"
  7197. ],
  7198. "summary": "查询待审核合同",
  7199. "parameters": [
  7200. {
  7201. "type": "string",
  7202. "description": "资金账号ID列表,逗号隔开",
  7203. "name": "accountids",
  7204. "in": "query",
  7205. "required": true
  7206. },
  7207. {
  7208. "type": "integer",
  7209. "description": "合同类型 1-采购 -1-销售",
  7210. "name": "contracttype",
  7211. "in": "query",
  7212. "required": true
  7213. },
  7214. {
  7215. "type": "integer",
  7216. "description": "合同模式 1-普通 2-回购",
  7217. "name": "contractmode",
  7218. "in": "query",
  7219. "required": true
  7220. }
  7221. ],
  7222. "responses": {
  7223. "200": {
  7224. "description": "OK",
  7225. "schema": {
  7226. "type": "array",
  7227. "items": {
  7228. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7229. }
  7230. }
  7231. },
  7232. "500": {
  7233. "description": "Internal Server Error",
  7234. "schema": {
  7235. "$ref": "#/definitions/app.Response"
  7236. }
  7237. }
  7238. }
  7239. }
  7240. },
  7241. "/Erms3/QueryPendingBusiness": {
  7242. "get": {
  7243. "security": [
  7244. {
  7245. "ApiKeyAuth": []
  7246. }
  7247. ],
  7248. "produces": [
  7249. "application/json"
  7250. ],
  7251. "tags": [
  7252. "风险管理v3"
  7253. ],
  7254. "summary": "查询待审核基差贸易业务",
  7255. "parameters": [
  7256. {
  7257. "type": "string",
  7258. "description": "资金账号ID列表,逗号隔开",
  7259. "name": "accountids",
  7260. "in": "query",
  7261. "required": true
  7262. }
  7263. ],
  7264. "responses": {
  7265. "200": {
  7266. "description": "OK",
  7267. "schema": {
  7268. "type": "array",
  7269. "items": {
  7270. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7271. }
  7272. }
  7273. },
  7274. "500": {
  7275. "description": "Internal Server Error",
  7276. "schema": {
  7277. "$ref": "#/definitions/app.Response"
  7278. }
  7279. }
  7280. }
  7281. }
  7282. },
  7283. "/Erms3/QuerySpotContractAppleForm": {
  7284. "get": {
  7285. "security": [
  7286. {
  7287. "ApiKeyAuth": []
  7288. }
  7289. ],
  7290. "produces": [
  7291. "application/json"
  7292. ],
  7293. "tags": [
  7294. "风险管理v3"
  7295. ],
  7296. "summary": "查询合同申请表单数据",
  7297. "parameters": [
  7298. {
  7299. "type": "integer",
  7300. "description": "登录账号",
  7301. "name": "loginID",
  7302. "in": "query",
  7303. "required": true
  7304. }
  7305. ],
  7306. "responses": {
  7307. "200": {
  7308. "description": "OK",
  7309. "schema": {
  7310. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7311. }
  7312. },
  7313. "500": {
  7314. "description": "Internal Server Error",
  7315. "schema": {
  7316. "$ref": "#/definitions/app.Response"
  7317. }
  7318. }
  7319. }
  7320. }
  7321. },
  7322. "/Erms3/QuerySpotContractDetail": {
  7323. "get": {
  7324. "security": [
  7325. {
  7326. "ApiKeyAuth": []
  7327. }
  7328. ],
  7329. "produces": [
  7330. "application/json"
  7331. ],
  7332. "tags": [
  7333. "风险管理v3"
  7334. ],
  7335. "summary": "查询合同详细信息",
  7336. "parameters": [
  7337. {
  7338. "type": "string",
  7339. "description": "资金账号ID列表,用逗号分隔",
  7340. "name": "accountids",
  7341. "in": "query",
  7342. "required": true
  7343. },
  7344. {
  7345. "type": "integer",
  7346. "description": "合同类型,1为采购合同 -1为销售合同",
  7347. "name": "contracttype",
  7348. "in": "query",
  7349. "required": true
  7350. },
  7351. {
  7352. "type": "integer",
  7353. "description": "合同模式,1为普通合同 2为回购销售合同",
  7354. "name": "contractmode",
  7355. "in": "query",
  7356. "required": true
  7357. },
  7358. {
  7359. "type": "integer",
  7360. "description": "状态,0为履约中 1为已完成",
  7361. "name": "status",
  7362. "in": "query",
  7363. "required": true
  7364. }
  7365. ],
  7366. "responses": {
  7367. "200": {
  7368. "description": "OK",
  7369. "schema": {
  7370. "type": "array",
  7371. "items": {
  7372. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7373. }
  7374. }
  7375. },
  7376. "500": {
  7377. "description": "Internal Server Error",
  7378. "schema": {
  7379. "$ref": "#/definitions/app.Response"
  7380. }
  7381. }
  7382. }
  7383. }
  7384. },
  7385. "/Erms3/QueryUserInfoApplies": {
  7386. "get": {
  7387. "security": [
  7388. {
  7389. "ApiKeyAuth": []
  7390. }
  7391. ],
  7392. "produces": [
  7393. "application/json"
  7394. ],
  7395. "tags": [
  7396. "风险管理v3"
  7397. ],
  7398. "summary": "客户申请信息查询",
  7399. "parameters": [
  7400. {
  7401. "type": "integer",
  7402. "description": "页码",
  7403. "name": "page",
  7404. "in": "query"
  7405. },
  7406. {
  7407. "type": "integer",
  7408. "description": "每页条数",
  7409. "name": "pagesize",
  7410. "in": "query"
  7411. },
  7412. {
  7413. "type": "string",
  7414. "description": "客户名称,支持模糊查询",
  7415. "name": "userName",
  7416. "in": "query"
  7417. }
  7418. ],
  7419. "responses": {
  7420. "200": {
  7421. "description": "OK",
  7422. "schema": {
  7423. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7424. }
  7425. },
  7426. "500": {
  7427. "description": "Internal Server Error",
  7428. "schema": {
  7429. "$ref": "#/definitions/app.Response"
  7430. }
  7431. }
  7432. }
  7433. }
  7434. },
  7435. "/Erms3/QueryUserInfos": {
  7436. "get": {
  7437. "security": [
  7438. {
  7439. "ApiKeyAuth": []
  7440. }
  7441. ],
  7442. "produces": [
  7443. "application/json"
  7444. ],
  7445. "tags": [
  7446. "风险管理v3"
  7447. ],
  7448. "summary": "客户信息查询",
  7449. "parameters": [
  7450. {
  7451. "type": "integer",
  7452. "description": "页码",
  7453. "name": "page",
  7454. "in": "query"
  7455. },
  7456. {
  7457. "type": "integer",
  7458. "description": "每页条数",
  7459. "name": "pagesize",
  7460. "in": "query"
  7461. },
  7462. {
  7463. "type": "string",
  7464. "description": "客户名称,支持模糊查询",
  7465. "name": "userName",
  7466. "in": "query"
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7474. }
  7475. },
  7476. "500": {
  7477. "description": "Internal Server Error",
  7478. "schema": {
  7479. "$ref": "#/definitions/app.Response"
  7480. }
  7481. }
  7482. }
  7483. }
  7484. },
  7485. "/Guangzuan/QueryBuyOrder": {
  7486. "get": {
  7487. "security": [
  7488. {
  7489. "ApiKeyAuth": []
  7490. },
  7491. {
  7492. "LoginID": []
  7493. },
  7494. {
  7495. "Group": []
  7496. }
  7497. ],
  7498. "produces": [
  7499. "application/json"
  7500. ],
  7501. "tags": [
  7502. "广钻"
  7503. ],
  7504. "summary": "查询求购大厅委托单",
  7505. "parameters": [
  7506. {
  7507. "type": "integer",
  7508. "description": "页码",
  7509. "name": "page",
  7510. "in": "query"
  7511. },
  7512. {
  7513. "type": "integer",
  7514. "description": "每页条数",
  7515. "name": "pagesize",
  7516. "in": "query"
  7517. },
  7518. {
  7519. "type": "string",
  7520. "description": "商品(查询字段-模糊查询)",
  7521. "name": "zsallproperties",
  7522. "in": "query"
  7523. },
  7524. {
  7525. "type": "integer",
  7526. "description": "钻石分类枚举ID",
  7527. "name": "zscategory",
  7528. "in": "query"
  7529. },
  7530. {
  7531. "type": "integer",
  7532. "description": "委托单号",
  7533. "name": "wrtradeorderid",
  7534. "in": "query"
  7535. },
  7536. {
  7537. "type": "string",
  7538. "description": "买方(查询字段-模糊查询)",
  7539. "name": "buyusername",
  7540. "in": "query"
  7541. }
  7542. ],
  7543. "responses": {
  7544. "200": {
  7545. "description": "OK",
  7546. "schema": {
  7547. "type": "array",
  7548. "items": {
  7549. "$ref": "#/definitions/models.BuyOrder"
  7550. }
  7551. }
  7552. },
  7553. "500": {
  7554. "description": "Internal Server Error",
  7555. "schema": {
  7556. "$ref": "#/definitions/app.Response"
  7557. }
  7558. }
  7559. }
  7560. }
  7561. },
  7562. "/Guangzuan/QueryDiamond": {
  7563. "post": {
  7564. "security": [
  7565. {
  7566. "ApiKeyAuth": []
  7567. },
  7568. {
  7569. "LoginID": []
  7570. },
  7571. {
  7572. "Group": []
  7573. }
  7574. ],
  7575. "produces": [
  7576. "application/json"
  7577. ],
  7578. "tags": [
  7579. "广钻"
  7580. ],
  7581. "summary": "钻石搜索",
  7582. "parameters": [
  7583. {
  7584. "description": "钻石搜索入参",
  7585. "name": "data",
  7586. "in": "body",
  7587. "required": true,
  7588. "schema": {
  7589. "$ref": "#/definitions/models.SellOrderQueryReq"
  7590. }
  7591. }
  7592. ],
  7593. "responses": {
  7594. "200": {
  7595. "description": "OK",
  7596. "schema": {
  7597. "type": "array",
  7598. "items": {
  7599. "$ref": "#/definitions/models.SellOrder"
  7600. }
  7601. }
  7602. },
  7603. "500": {
  7604. "description": "Internal Server Error",
  7605. "schema": {
  7606. "$ref": "#/definitions/app.Response"
  7607. }
  7608. }
  7609. }
  7610. }
  7611. },
  7612. "/Guangzuan/QueryMyBargainApply": {
  7613. "get": {
  7614. "security": [
  7615. {
  7616. "ApiKeyAuth": []
  7617. },
  7618. {
  7619. "LoginID": []
  7620. },
  7621. {
  7622. "Group": []
  7623. }
  7624. ],
  7625. "produces": [
  7626. "application/json"
  7627. ],
  7628. "tags": [
  7629. "广钻"
  7630. ],
  7631. "summary": "查询我的询价-求购",
  7632. "parameters": [
  7633. {
  7634. "type": "integer",
  7635. "description": "用户ID",
  7636. "name": "userid",
  7637. "in": "query",
  7638. "required": true
  7639. },
  7640. {
  7641. "type": "integer",
  7642. "description": "页码",
  7643. "name": "page",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "integer",
  7648. "description": "每页条数",
  7649. "name": "pagesize",
  7650. "in": "query"
  7651. },
  7652. {
  7653. "type": "integer",
  7654. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7655. "name": "applystatus",
  7656. "in": "query"
  7657. }
  7658. ],
  7659. "responses": {
  7660. "200": {
  7661. "description": "OK",
  7662. "schema": {
  7663. "type": "array",
  7664. "items": {
  7665. "$ref": "#/definitions/models.MyBargainApply"
  7666. }
  7667. }
  7668. },
  7669. "500": {
  7670. "description": "Internal Server Error",
  7671. "schema": {
  7672. "$ref": "#/definitions/app.Response"
  7673. }
  7674. }
  7675. }
  7676. }
  7677. },
  7678. "/Guangzuan/QueryMyBuyOrder": {
  7679. "get": {
  7680. "security": [
  7681. {
  7682. "ApiKeyAuth": []
  7683. },
  7684. {
  7685. "LoginID": []
  7686. },
  7687. {
  7688. "Group": []
  7689. }
  7690. ],
  7691. "produces": [
  7692. "application/json"
  7693. ],
  7694. "tags": [
  7695. "广钻"
  7696. ],
  7697. "summary": "查询我的求购",
  7698. "parameters": [
  7699. {
  7700. "type": "integer",
  7701. "description": "用户ID",
  7702. "name": "userid",
  7703. "in": "query",
  7704. "required": true
  7705. },
  7706. {
  7707. "type": "integer",
  7708. "description": "页码",
  7709. "name": "page",
  7710. "in": "query"
  7711. },
  7712. {
  7713. "type": "integer",
  7714. "description": "每页条数",
  7715. "name": "pagesize",
  7716. "in": "query"
  7717. },
  7718. {
  7719. "type": "string",
  7720. "description": "商品(查询字段-模糊查询)",
  7721. "name": "zsallproperties",
  7722. "in": "query"
  7723. },
  7724. {
  7725. "type": "integer",
  7726. "description": "钻石分类枚举ID",
  7727. "name": "zscategory",
  7728. "in": "query"
  7729. },
  7730. {
  7731. "type": "integer",
  7732. "description": "委托单号",
  7733. "name": "wrtradeorderid",
  7734. "in": "query"
  7735. },
  7736. {
  7737. "type": "boolean",
  7738. "description": "是否历史查询",
  7739. "name": "ishis",
  7740. "in": "query"
  7741. }
  7742. ],
  7743. "responses": {
  7744. "200": {
  7745. "description": "OK",
  7746. "schema": {
  7747. "type": "array",
  7748. "items": {
  7749. "$ref": "#/definitions/models.MyBuyOrder"
  7750. }
  7751. }
  7752. },
  7753. "500": {
  7754. "description": "Internal Server Error",
  7755. "schema": {
  7756. "$ref": "#/definitions/app.Response"
  7757. }
  7758. }
  7759. }
  7760. }
  7761. },
  7762. "/Guangzuan/QueryMyDeListing": {
  7763. "get": {
  7764. "security": [
  7765. {
  7766. "ApiKeyAuth": []
  7767. },
  7768. {
  7769. "LoginID": []
  7770. },
  7771. {
  7772. "Group": []
  7773. }
  7774. ],
  7775. "produces": [
  7776. "application/json"
  7777. ],
  7778. "tags": [
  7779. "广钻"
  7780. ],
  7781. "summary": "查询我的摘牌",
  7782. "parameters": [
  7783. {
  7784. "type": "integer",
  7785. "description": "用户ID",
  7786. "name": "userid",
  7787. "in": "query",
  7788. "required": true
  7789. },
  7790. {
  7791. "type": "integer",
  7792. "description": "页码",
  7793. "name": "page",
  7794. "in": "query"
  7795. },
  7796. {
  7797. "type": "integer",
  7798. "description": "每页条数",
  7799. "name": "pagesize",
  7800. "in": "query"
  7801. },
  7802. {
  7803. "type": "string",
  7804. "description": "商品(查询字段-模糊查询)",
  7805. "name": "zsallproperties",
  7806. "in": "query"
  7807. },
  7808. {
  7809. "type": "integer",
  7810. "description": "钻石分类枚举ID",
  7811. "name": "zscategory",
  7812. "in": "query"
  7813. },
  7814. {
  7815. "type": "integer",
  7816. "description": "成交单号",
  7817. "name": "wrtradedetailid",
  7818. "in": "query"
  7819. },
  7820. {
  7821. "type": "integer",
  7822. "description": "方向,0-全部(可不传) 1-购买 2-出售",
  7823. "name": "buyorsell",
  7824. "in": "query"
  7825. },
  7826. {
  7827. "type": "string",
  7828. "description": "开始交易日(yyyymmdd)",
  7829. "name": "begindate",
  7830. "in": "query"
  7831. },
  7832. {
  7833. "type": "string",
  7834. "description": "结束交易日(yyyymmdd)",
  7835. "name": "enddate",
  7836. "in": "query"
  7837. }
  7838. ],
  7839. "responses": {
  7840. "200": {
  7841. "description": "OK",
  7842. "schema": {
  7843. "type": "array",
  7844. "items": {
  7845. "$ref": "#/definitions/models.MyDeListing"
  7846. }
  7847. }
  7848. },
  7849. "500": {
  7850. "description": "Internal Server Error",
  7851. "schema": {
  7852. "$ref": "#/definitions/app.Response"
  7853. }
  7854. }
  7855. }
  7856. }
  7857. },
  7858. "/Guangzuan/QueryMyDelistingApply": {
  7859. "get": {
  7860. "security": [
  7861. {
  7862. "ApiKeyAuth": []
  7863. },
  7864. {
  7865. "LoginID": []
  7866. },
  7867. {
  7868. "Group": []
  7869. }
  7870. ],
  7871. "produces": [
  7872. "application/json"
  7873. ],
  7874. "tags": [
  7875. "广钻"
  7876. ],
  7877. "summary": "查询我的询价-出售",
  7878. "parameters": [
  7879. {
  7880. "type": "integer",
  7881. "description": "用户ID",
  7882. "name": "userid",
  7883. "in": "query",
  7884. "required": true
  7885. },
  7886. {
  7887. "type": "integer",
  7888. "description": "页码",
  7889. "name": "page",
  7890. "in": "query"
  7891. },
  7892. {
  7893. "type": "integer",
  7894. "description": "每页条数",
  7895. "name": "pagesize",
  7896. "in": "query"
  7897. },
  7898. {
  7899. "type": "integer",
  7900. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7901. "name": "applystatus",
  7902. "in": "query"
  7903. }
  7904. ],
  7905. "responses": {
  7906. "200": {
  7907. "description": "OK",
  7908. "schema": {
  7909. "type": "array",
  7910. "items": {
  7911. "$ref": "#/definitions/models.MyDelistingApply"
  7912. }
  7913. }
  7914. },
  7915. "500": {
  7916. "description": "Internal Server Error",
  7917. "schema": {
  7918. "$ref": "#/definitions/app.Response"
  7919. }
  7920. }
  7921. }
  7922. }
  7923. },
  7924. "/Guangzuan/QueryMySellOrder": {
  7925. "get": {
  7926. "security": [
  7927. {
  7928. "ApiKeyAuth": []
  7929. },
  7930. {
  7931. "LoginID": []
  7932. },
  7933. {
  7934. "Group": []
  7935. }
  7936. ],
  7937. "produces": [
  7938. "application/json"
  7939. ],
  7940. "tags": [
  7941. "广钻"
  7942. ],
  7943. "summary": "查询我的出售",
  7944. "parameters": [
  7945. {
  7946. "type": "integer",
  7947. "description": "用户ID",
  7948. "name": "userid",
  7949. "in": "query",
  7950. "required": true
  7951. },
  7952. {
  7953. "type": "integer",
  7954. "description": "页码",
  7955. "name": "page",
  7956. "in": "query"
  7957. },
  7958. {
  7959. "type": "integer",
  7960. "description": "每页条数",
  7961. "name": "pagesize",
  7962. "in": "query"
  7963. },
  7964. {
  7965. "type": "string",
  7966. "description": "商品(查询字段-模糊查询)",
  7967. "name": "zsallproperties",
  7968. "in": "query"
  7969. },
  7970. {
  7971. "type": "integer",
  7972. "description": "钻石分类枚举ID",
  7973. "name": "zscategory",
  7974. "in": "query"
  7975. },
  7976. {
  7977. "type": "integer",
  7978. "description": "委托单号",
  7979. "name": "wrtradeorderid",
  7980. "in": "query"
  7981. },
  7982. {
  7983. "type": "boolean",
  7984. "description": "是否历史查询",
  7985. "name": "ishis",
  7986. "in": "query"
  7987. }
  7988. ],
  7989. "responses": {
  7990. "200": {
  7991. "description": "OK",
  7992. "schema": {
  7993. "type": "array",
  7994. "items": {
  7995. "$ref": "#/definitions/models.MySellOrder"
  7996. }
  7997. }
  7998. },
  7999. "500": {
  8000. "description": "Internal Server Error",
  8001. "schema": {
  8002. "$ref": "#/definitions/app.Response"
  8003. }
  8004. }
  8005. }
  8006. }
  8007. },
  8008. "/Guangzuan/QueryMyWRPosition": {
  8009. "get": {
  8010. "security": [
  8011. {
  8012. "ApiKeyAuth": []
  8013. },
  8014. {
  8015. "LoginID": []
  8016. },
  8017. {
  8018. "Group": []
  8019. }
  8020. ],
  8021. "produces": [
  8022. "application/json"
  8023. ],
  8024. "tags": [
  8025. "广钻"
  8026. ],
  8027. "summary": "查询我的库存",
  8028. "parameters": [
  8029. {
  8030. "type": "integer",
  8031. "description": "页码",
  8032. "name": "page",
  8033. "in": "query"
  8034. },
  8035. {
  8036. "type": "integer",
  8037. "description": "每页条数",
  8038. "name": "pagesize",
  8039. "in": "query"
  8040. },
  8041. {
  8042. "type": "integer",
  8043. "description": "登录用户ID",
  8044. "name": "wruserid",
  8045. "in": "query",
  8046. "required": true
  8047. },
  8048. {
  8049. "type": "string",
  8050. "description": "商品(查询字段-模糊查询)",
  8051. "name": "zsallproperties",
  8052. "in": "query"
  8053. },
  8054. {
  8055. "type": "integer",
  8056. "description": "钻石分类枚举ID",
  8057. "name": "zscategory",
  8058. "in": "query"
  8059. },
  8060. {
  8061. "type": "integer",
  8062. "description": "仓库ID",
  8063. "name": "warehouseid",
  8064. "in": "query"
  8065. }
  8066. ],
  8067. "responses": {
  8068. "200": {
  8069. "description": "OK",
  8070. "schema": {
  8071. "type": "array",
  8072. "items": {
  8073. "$ref": "#/definitions/models.MyWRPosition"
  8074. }
  8075. }
  8076. },
  8077. "500": {
  8078. "description": "Internal Server Error",
  8079. "schema": {
  8080. "$ref": "#/definitions/app.Response"
  8081. }
  8082. }
  8083. }
  8084. }
  8085. },
  8086. "/Guangzuan/QuerySellOrder": {
  8087. "get": {
  8088. "security": [
  8089. {
  8090. "ApiKeyAuth": []
  8091. },
  8092. {
  8093. "LoginID": []
  8094. },
  8095. {
  8096. "Group": []
  8097. }
  8098. ],
  8099. "produces": [
  8100. "application/json"
  8101. ],
  8102. "tags": [
  8103. "广钻"
  8104. ],
  8105. "summary": "查询出售大厅委托单",
  8106. "parameters": [
  8107. {
  8108. "type": "integer",
  8109. "description": "页码",
  8110. "name": "page",
  8111. "in": "query"
  8112. },
  8113. {
  8114. "type": "integer",
  8115. "description": "每页条数",
  8116. "name": "pagesize",
  8117. "in": "query"
  8118. },
  8119. {
  8120. "type": "string",
  8121. "description": "商品(查询字段-模糊查询)",
  8122. "name": "zsallproperties",
  8123. "in": "query"
  8124. },
  8125. {
  8126. "type": "integer",
  8127. "description": "钻石分类枚举ID",
  8128. "name": "zscategory",
  8129. "in": "query"
  8130. },
  8131. {
  8132. "type": "integer",
  8133. "description": "委托单号",
  8134. "name": "wrtradeorderid",
  8135. "in": "query"
  8136. },
  8137. {
  8138. "type": "string",
  8139. "description": "卖方(查询字段-模糊查询)",
  8140. "name": "buyusername",
  8141. "in": "query"
  8142. }
  8143. ],
  8144. "responses": {
  8145. "200": {
  8146. "description": "OK",
  8147. "schema": {
  8148. "type": "array",
  8149. "items": {
  8150. "$ref": "#/definitions/models.SellOrder"
  8151. }
  8152. }
  8153. },
  8154. "500": {
  8155. "description": "Internal Server Error",
  8156. "schema": {
  8157. "$ref": "#/definitions/app.Response"
  8158. }
  8159. }
  8160. }
  8161. }
  8162. },
  8163. "/Guangzuan/QueryWarehouseInfo": {
  8164. "get": {
  8165. "security": [
  8166. {
  8167. "ApiKeyAuth": []
  8168. },
  8169. {
  8170. "LoginID": []
  8171. },
  8172. {
  8173. "Group": []
  8174. }
  8175. ],
  8176. "produces": [
  8177. "application/json"
  8178. ],
  8179. "tags": [
  8180. "广钻"
  8181. ],
  8182. "summary": "查询仓库信息",
  8183. "parameters": [
  8184. {
  8185. "type": "integer",
  8186. "description": "页码",
  8187. "name": "page",
  8188. "in": "query"
  8189. },
  8190. {
  8191. "type": "integer",
  8192. "description": "每页条数",
  8193. "name": "pagesize",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "integer",
  8198. "description": "用户ID",
  8199. "name": "userid",
  8200. "in": "query",
  8201. "required": true
  8202. },
  8203. {
  8204. "type": "string",
  8205. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8206. "name": "status",
  8207. "in": "query"
  8208. },
  8209. {
  8210. "type": "boolean",
  8211. "description": "是返回交易所仓库",
  8212. "name": "isincludeexchange",
  8213. "in": "query"
  8214. }
  8215. ],
  8216. "responses": {
  8217. "200": {
  8218. "description": "OK",
  8219. "schema": {
  8220. "type": "array",
  8221. "items": {
  8222. "$ref": "#/definitions/models.GZWarehouseinfo"
  8223. }
  8224. }
  8225. },
  8226. "500": {
  8227. "description": "Internal Server Error",
  8228. "schema": {
  8229. "$ref": "#/definitions/app.Response"
  8230. }
  8231. }
  8232. }
  8233. }
  8234. },
  8235. "/Market/GetAllExExchanges": {
  8236. "get": {
  8237. "security": [
  8238. {
  8239. "ApiKeyAuth": []
  8240. }
  8241. ],
  8242. "produces": [
  8243. "application/json"
  8244. ],
  8245. "tags": [
  8246. "通用市场"
  8247. ],
  8248. "summary": "获取所有外部交易所信息",
  8249. "responses": {
  8250. "200": {
  8251. "description": "OK",
  8252. "schema": {
  8253. "$ref": "#/definitions/models.Goods"
  8254. }
  8255. },
  8256. "500": {
  8257. "description": "Internal Server Error",
  8258. "schema": {
  8259. "$ref": "#/definitions/app.Response"
  8260. }
  8261. }
  8262. }
  8263. }
  8264. },
  8265. "/Market/QueryGoodsesByLoginID": {
  8266. "get": {
  8267. "security": [
  8268. {
  8269. "ApiKeyAuth": []
  8270. }
  8271. ],
  8272. "produces": [
  8273. "application/json"
  8274. ],
  8275. "tags": [
  8276. "通用市场"
  8277. ],
  8278. "summary": "获取登录账号有权限的商品信息",
  8279. "parameters": [
  8280. {
  8281. "type": "integer",
  8282. "description": "登录账号",
  8283. "name": "loginID",
  8284. "in": "query",
  8285. "required": true
  8286. },
  8287. {
  8288. "type": "string",
  8289. "description": "市场ID列表,格式:1,2,3",
  8290. "name": "marketIDs",
  8291. "in": "query"
  8292. }
  8293. ],
  8294. "responses": {
  8295. "200": {
  8296. "description": "OK",
  8297. "schema": {
  8298. "$ref": "#/definitions/models.Goods"
  8299. }
  8300. },
  8301. "500": {
  8302. "description": "Internal Server Error",
  8303. "schema": {
  8304. "$ref": "#/definitions/app.Response"
  8305. }
  8306. }
  8307. }
  8308. }
  8309. },
  8310. "/Market/QueryMarketRun": {
  8311. "get": {
  8312. "security": [
  8313. {
  8314. "ApiKeyAuth": []
  8315. }
  8316. ],
  8317. "produces": [
  8318. "application/json"
  8319. ],
  8320. "tags": [
  8321. "通用市场"
  8322. ],
  8323. "summary": "查询市场运行信息",
  8324. "parameters": [
  8325. {
  8326. "type": "integer",
  8327. "description": "市场ID,不传返回所有",
  8328. "name": "marketID",
  8329. "in": "query"
  8330. }
  8331. ],
  8332. "responses": {
  8333. "200": {
  8334. "description": "OK",
  8335. "schema": {
  8336. "$ref": "#/definitions/models.Marketrun"
  8337. }
  8338. },
  8339. "500": {
  8340. "description": "Internal Server Error",
  8341. "schema": {
  8342. "$ref": "#/definitions/app.Response"
  8343. }
  8344. }
  8345. }
  8346. }
  8347. },
  8348. "/Market/QueryMarketsByLoginID": {
  8349. "get": {
  8350. "security": [
  8351. {
  8352. "ApiKeyAuth": []
  8353. }
  8354. ],
  8355. "produces": [
  8356. "application/json"
  8357. ],
  8358. "tags": [
  8359. "通用市场"
  8360. ],
  8361. "summary": "获取登录账号有权限的市场信息",
  8362. "parameters": [
  8363. {
  8364. "type": "integer",
  8365. "description": "登录账号",
  8366. "name": "loginID",
  8367. "in": "query",
  8368. "required": true
  8369. }
  8370. ],
  8371. "responses": {
  8372. "200": {
  8373. "description": "OK",
  8374. "schema": {
  8375. "$ref": "#/definitions/models.Market"
  8376. }
  8377. },
  8378. "500": {
  8379. "description": "Internal Server Error",
  8380. "schema": {
  8381. "$ref": "#/definitions/app.Response"
  8382. }
  8383. }
  8384. }
  8385. }
  8386. },
  8387. "/Order/QueryHisTradeDetail": {
  8388. "get": {
  8389. "security": [
  8390. {
  8391. "ApiKeyAuth": []
  8392. }
  8393. ],
  8394. "produces": [
  8395. "application/json"
  8396. ],
  8397. "tags": [
  8398. "通用单据"
  8399. ],
  8400. "summary": "历史成交单查询(合约市场)",
  8401. "parameters": [
  8402. {
  8403. "type": "string",
  8404. "description": "资金账户 - 格式:1,2,3",
  8405. "name": "accountID",
  8406. "in": "query",
  8407. "required": true
  8408. },
  8409. {
  8410. "type": "integer",
  8411. "description": "成交单号",
  8412. "name": "tradeID",
  8413. "in": "query"
  8414. },
  8415. {
  8416. "type": "integer",
  8417. "description": "委托单号",
  8418. "name": "orderID",
  8419. "in": "query"
  8420. },
  8421. {
  8422. "type": "integer",
  8423. "description": "商品ID",
  8424. "name": "goodsID",
  8425. "in": "query"
  8426. },
  8427. {
  8428. "type": "string",
  8429. "description": "交易模式 - 格式:1,2,3",
  8430. "name": "tradeMode",
  8431. "in": "query"
  8432. },
  8433. {
  8434. "type": "integer",
  8435. "description": "委托单据类型",
  8436. "name": "buildType",
  8437. "in": "query"
  8438. },
  8439. {
  8440. "type": "string",
  8441. "description": "成交类别 - 格式:1,2,3",
  8442. "name": "tradeType",
  8443. "in": "query"
  8444. },
  8445. {
  8446. "type": "string",
  8447. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8448. "name": "startDate",
  8449. "in": "query"
  8450. },
  8451. {
  8452. "type": "string",
  8453. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8454. "name": "endDate",
  8455. "in": "query"
  8456. }
  8457. ],
  8458. "responses": {
  8459. "200": {
  8460. "description": "OK",
  8461. "schema": {
  8462. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8463. }
  8464. },
  8465. "500": {
  8466. "description": "Internal Server Error",
  8467. "schema": {
  8468. "$ref": "#/definitions/app.Response"
  8469. }
  8470. }
  8471. }
  8472. }
  8473. },
  8474. "/Order/QueryHisTradeOrderDetail": {
  8475. "get": {
  8476. "security": [
  8477. {
  8478. "ApiKeyAuth": []
  8479. }
  8480. ],
  8481. "produces": [
  8482. "application/json"
  8483. ],
  8484. "tags": [
  8485. "通用单据"
  8486. ],
  8487. "summary": "历史委托单查询请求(合约市场)",
  8488. "parameters": [
  8489. {
  8490. "type": "string",
  8491. "description": "资金账户 - 格式:1,2,3",
  8492. "name": "accountID",
  8493. "in": "query",
  8494. "required": true
  8495. },
  8496. {
  8497. "type": "string",
  8498. "description": "交易模式 - 格式:1,2,3",
  8499. "name": "tradeMode",
  8500. "in": "query"
  8501. },
  8502. {
  8503. "type": "string",
  8504. "description": "委托状态 - 格式:1,2,3",
  8505. "name": "orderStatus",
  8506. "in": "query"
  8507. },
  8508. {
  8509. "type": "integer",
  8510. "description": "委托单号",
  8511. "name": "orderID",
  8512. "in": "query"
  8513. },
  8514. {
  8515. "type": "string",
  8516. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8517. "name": "startDate",
  8518. "in": "query"
  8519. },
  8520. {
  8521. "type": "string",
  8522. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8523. "name": "endDate",
  8524. "in": "query"
  8525. }
  8526. ],
  8527. "responses": {
  8528. "200": {
  8529. "description": "OK",
  8530. "schema": {
  8531. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8532. }
  8533. },
  8534. "500": {
  8535. "description": "Internal Server Error",
  8536. "schema": {
  8537. "$ref": "#/definitions/app.Response"
  8538. }
  8539. }
  8540. }
  8541. }
  8542. },
  8543. "/Order/QueryTradeDetail": {
  8544. "get": {
  8545. "security": [
  8546. {
  8547. "ApiKeyAuth": []
  8548. }
  8549. ],
  8550. "produces": [
  8551. "application/json"
  8552. ],
  8553. "tags": [
  8554. "通用单据"
  8555. ],
  8556. "summary": "成交单查询(合约市场)",
  8557. "parameters": [
  8558. {
  8559. "type": "string",
  8560. "description": "资金账户 - 格式:1,2,3",
  8561. "name": "accountID",
  8562. "in": "query",
  8563. "required": true
  8564. },
  8565. {
  8566. "type": "integer",
  8567. "description": "成交单号",
  8568. "name": "tradeID",
  8569. "in": "query"
  8570. },
  8571. {
  8572. "type": "integer",
  8573. "description": "委托单号",
  8574. "name": "orderID",
  8575. "in": "query"
  8576. },
  8577. {
  8578. "type": "string",
  8579. "description": "交易模式 - 格式:1,2,3",
  8580. "name": "tradeMode",
  8581. "in": "query"
  8582. },
  8583. {
  8584. "type": "integer",
  8585. "description": "委托单据类型",
  8586. "name": "buildType",
  8587. "in": "query"
  8588. },
  8589. {
  8590. "type": "string",
  8591. "description": "成交类别 - 格式:1,2,3",
  8592. "name": "tradeType",
  8593. "in": "query"
  8594. },
  8595. {
  8596. "type": "integer",
  8597. "description": "商品ID",
  8598. "name": "goodsID",
  8599. "in": "query"
  8600. }
  8601. ],
  8602. "responses": {
  8603. "200": {
  8604. "description": "OK",
  8605. "schema": {
  8606. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8607. }
  8608. },
  8609. "500": {
  8610. "description": "Internal Server Error",
  8611. "schema": {
  8612. "$ref": "#/definitions/app.Response"
  8613. }
  8614. }
  8615. }
  8616. }
  8617. },
  8618. "/Order/QueryTradeHolderDetail": {
  8619. "get": {
  8620. "security": [
  8621. {
  8622. "ApiKeyAuth": []
  8623. }
  8624. ],
  8625. "produces": [
  8626. "application/json"
  8627. ],
  8628. "tags": [
  8629. "通用单据"
  8630. ],
  8631. "summary": "查询持仓明细",
  8632. "parameters": [
  8633. {
  8634. "type": "integer",
  8635. "description": "用户id",
  8636. "name": "userid",
  8637. "in": "query"
  8638. },
  8639. {
  8640. "type": "string",
  8641. "description": "资金账号, 格式 1,2,3",
  8642. "name": "accids",
  8643. "in": "query"
  8644. },
  8645. {
  8646. "type": "string",
  8647. "description": "交易模式, 格式 1,2,3",
  8648. "name": "trademodes",
  8649. "in": "query"
  8650. },
  8651. {
  8652. "type": "string",
  8653. "description": "市场id, 格式 1,2,3",
  8654. "name": "marketids",
  8655. "in": "query"
  8656. },
  8657. {
  8658. "type": "integer",
  8659. "description": "商品id",
  8660. "name": "goodsid",
  8661. "in": "query"
  8662. },
  8663. {
  8664. "type": "integer",
  8665. "description": "买卖方向 0-买 1-卖",
  8666. "name": "buyorsell",
  8667. "in": "query"
  8668. }
  8669. ],
  8670. "responses": {
  8671. "200": {
  8672. "description": "OK",
  8673. "schema": {
  8674. "type": "array",
  8675. "items": {
  8676. "$ref": "#/definitions/models.TradeHolderDetail"
  8677. }
  8678. }
  8679. },
  8680. "500": {
  8681. "description": "Internal Server Error",
  8682. "schema": {
  8683. "$ref": "#/definitions/app.Response"
  8684. }
  8685. }
  8686. }
  8687. }
  8688. },
  8689. "/Order/QueryTradeOrderDetail": {
  8690. "get": {
  8691. "security": [
  8692. {
  8693. "ApiKeyAuth": []
  8694. }
  8695. ],
  8696. "produces": [
  8697. "application/json"
  8698. ],
  8699. "tags": [
  8700. "通用单据"
  8701. ],
  8702. "summary": "委托单查询请求(合约市场)",
  8703. "parameters": [
  8704. {
  8705. "type": "string",
  8706. "description": "资金账户 - 格式:1,2,3",
  8707. "name": "accountID",
  8708. "in": "query",
  8709. "required": true
  8710. },
  8711. {
  8712. "type": "string",
  8713. "description": "交易模式 - 格式:1,2,3",
  8714. "name": "tradeMode",
  8715. "in": "query"
  8716. },
  8717. {
  8718. "type": "string",
  8719. "description": "委托状态 - 格式:1,2,3",
  8720. "name": "orderStatus",
  8721. "in": "query"
  8722. },
  8723. {
  8724. "type": "integer",
  8725. "description": "委托单号",
  8726. "name": "orderID",
  8727. "in": "query"
  8728. }
  8729. ],
  8730. "responses": {
  8731. "200": {
  8732. "description": "OK",
  8733. "schema": {
  8734. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8735. }
  8736. },
  8737. "500": {
  8738. "description": "Internal Server Error",
  8739. "schema": {
  8740. "$ref": "#/definitions/app.Response"
  8741. }
  8742. }
  8743. }
  8744. }
  8745. },
  8746. "/Order/QueryTradePosition": {
  8747. "get": {
  8748. "security": [
  8749. {
  8750. "ApiKeyAuth": []
  8751. }
  8752. ],
  8753. "produces": [
  8754. "application/json"
  8755. ],
  8756. "tags": [
  8757. "通用单据"
  8758. ],
  8759. "summary": "持仓汇总查询(合约市场)",
  8760. "parameters": [
  8761. {
  8762. "type": "string",
  8763. "description": "资金账户 - 格式:1,2,3",
  8764. "name": "accountID",
  8765. "in": "query",
  8766. "required": true
  8767. },
  8768. {
  8769. "type": "string",
  8770. "description": "交易模式 - 格式:1,2,3",
  8771. "name": "tradeMode",
  8772. "in": "query"
  8773. }
  8774. ],
  8775. "responses": {
  8776. "200": {
  8777. "description": "OK",
  8778. "schema": {
  8779. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8780. }
  8781. },
  8782. "500": {
  8783. "description": "Internal Server Error",
  8784. "schema": {
  8785. "$ref": "#/definitions/app.Response"
  8786. }
  8787. }
  8788. }
  8789. }
  8790. },
  8791. "/Quote/QueryHistoryDatas": {
  8792. "get": {
  8793. "security": [
  8794. {
  8795. "ApiKeyAuth": []
  8796. }
  8797. ],
  8798. "produces": [
  8799. "application/json"
  8800. ],
  8801. "tags": [
  8802. "行情服务"
  8803. ],
  8804. "summary": "查询行情历史数据",
  8805. "parameters": [
  8806. {
  8807. "type": "integer",
  8808. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  8809. "name": "cycleType",
  8810. "in": "query",
  8811. "required": true
  8812. },
  8813. {
  8814. "type": "string",
  8815. "description": "商品代码",
  8816. "name": "goodsCode",
  8817. "in": "query",
  8818. "required": true
  8819. },
  8820. {
  8821. "type": "string",
  8822. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8823. "name": "startTime",
  8824. "in": "query"
  8825. },
  8826. {
  8827. "type": "string",
  8828. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8829. "name": "endTime",
  8830. "in": "query"
  8831. },
  8832. {
  8833. "type": "integer",
  8834. "description": "条数",
  8835. "name": "count",
  8836. "in": "query"
  8837. },
  8838. {
  8839. "type": "boolean",
  8840. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8841. "name": "isAsc",
  8842. "in": "query"
  8843. }
  8844. ],
  8845. "responses": {
  8846. "200": {
  8847. "description": "OK",
  8848. "schema": {
  8849. "$ref": "#/definitions/quote.HistoryData"
  8850. }
  8851. },
  8852. "500": {
  8853. "description": "Internal Server Error",
  8854. "schema": {
  8855. "$ref": "#/definitions/app.Response"
  8856. }
  8857. }
  8858. }
  8859. }
  8860. },
  8861. "/Quote/QueryHistoryTikDatas": {
  8862. "get": {
  8863. "security": [
  8864. {
  8865. "ApiKeyAuth": []
  8866. }
  8867. ],
  8868. "produces": [
  8869. "application/json"
  8870. ],
  8871. "tags": [
  8872. "行情服务"
  8873. ],
  8874. "summary": "查询行情Tik数据",
  8875. "parameters": [
  8876. {
  8877. "type": "string",
  8878. "description": "商品代码",
  8879. "name": "goodsCode",
  8880. "in": "query",
  8881. "required": true
  8882. },
  8883. {
  8884. "type": "string",
  8885. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8886. "name": "startTime",
  8887. "in": "query"
  8888. },
  8889. {
  8890. "type": "string",
  8891. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8892. "name": "endTime",
  8893. "in": "query"
  8894. },
  8895. {
  8896. "type": "integer",
  8897. "description": "条数",
  8898. "name": "count",
  8899. "in": "query"
  8900. },
  8901. {
  8902. "type": "boolean",
  8903. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8904. "name": "isAsc",
  8905. "in": "query"
  8906. }
  8907. ],
  8908. "responses": {
  8909. "200": {
  8910. "description": "OK",
  8911. "schema": {
  8912. "$ref": "#/definitions/quote.HistoryTikData"
  8913. }
  8914. },
  8915. "500": {
  8916. "description": "Internal Server Error",
  8917. "schema": {
  8918. "$ref": "#/definitions/app.Response"
  8919. }
  8920. }
  8921. }
  8922. }
  8923. },
  8924. "/Quote/QueryQuoteDay": {
  8925. "get": {
  8926. "security": [
  8927. {
  8928. "ApiKeyAuth": []
  8929. }
  8930. ],
  8931. "produces": [
  8932. "application/json"
  8933. ],
  8934. "tags": [
  8935. "行情服务"
  8936. ],
  8937. "summary": "获取商品盘面信息",
  8938. "parameters": [
  8939. {
  8940. "type": "string",
  8941. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  8942. "name": "goodsCodes",
  8943. "in": "query"
  8944. }
  8945. ],
  8946. "responses": {
  8947. "200": {
  8948. "description": "OK",
  8949. "schema": {
  8950. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8951. }
  8952. },
  8953. "500": {
  8954. "description": "Internal Server Error",
  8955. "schema": {
  8956. "$ref": "#/definitions/app.Response"
  8957. }
  8958. }
  8959. }
  8960. }
  8961. },
  8962. "/Quote/QueryTSData": {
  8963. "get": {
  8964. "security": [
  8965. {
  8966. "ApiKeyAuth": []
  8967. }
  8968. ],
  8969. "produces": [
  8970. "application/json"
  8971. ],
  8972. "tags": [
  8973. "行情服务"
  8974. ],
  8975. "summary": "分时图数据查询",
  8976. "parameters": [
  8977. {
  8978. "type": "string",
  8979. "description": "商品代码",
  8980. "name": "goodsCode",
  8981. "in": "query",
  8982. "required": true
  8983. }
  8984. ],
  8985. "responses": {
  8986. "200": {
  8987. "description": "OK",
  8988. "schema": {
  8989. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8990. }
  8991. },
  8992. "500": {
  8993. "description": "Internal Server Error",
  8994. "schema": {
  8995. "$ref": "#/definitions/app.Response"
  8996. }
  8997. }
  8998. }
  8999. }
  9000. },
  9001. "/SZDZ/QueryConvertConfig": {
  9002. "get": {
  9003. "security": [
  9004. {
  9005. "ApiKeyAuth": []
  9006. }
  9007. ],
  9008. "produces": [
  9009. "application/json"
  9010. ],
  9011. "tags": [
  9012. "定制【尚志大宗】"
  9013. ],
  9014. "summary": "查询交易系统转换设置",
  9015. "parameters": [
  9016. {
  9017. "type": "integer",
  9018. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9019. "name": "convertType",
  9020. "in": "query"
  9021. },
  9022. {
  9023. "type": "string",
  9024. "description": "外部商品代码[JD\\PD]",
  9025. "name": "outerGoodsCode",
  9026. "in": "query"
  9027. },
  9028. {
  9029. "type": "string",
  9030. "description": "内部商品ID列表[交易],格式:1,2,3",
  9031. "name": "innerGoodsIDs",
  9032. "in": "query"
  9033. }
  9034. ],
  9035. "responses": {
  9036. "200": {
  9037. "description": "OK",
  9038. "schema": {
  9039. "$ref": "#/definitions/models.Szdz3convertconfig"
  9040. }
  9041. },
  9042. "500": {
  9043. "description": "Internal Server Error",
  9044. "schema": {
  9045. "$ref": "#/definitions/app.Response"
  9046. }
  9047. }
  9048. }
  9049. }
  9050. },
  9051. "/SZDZ/QueryConvertLog": {
  9052. "get": {
  9053. "security": [
  9054. {
  9055. "ApiKeyAuth": []
  9056. }
  9057. ],
  9058. "produces": [
  9059. "application/json"
  9060. ],
  9061. "tags": [
  9062. "定制【尚志大宗】"
  9063. ],
  9064. "summary": "交易系统转换流水查询",
  9065. "parameters": [
  9066. {
  9067. "type": "string",
  9068. "description": "资金账户 - 格式:1,2,3",
  9069. "name": "accountID",
  9070. "in": "query",
  9071. "required": true
  9072. },
  9073. {
  9074. "type": "string",
  9075. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9076. "name": "startDate",
  9077. "in": "query"
  9078. },
  9079. {
  9080. "type": "string",
  9081. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9082. "name": "endDate",
  9083. "in": "query"
  9084. }
  9085. ],
  9086. "responses": {
  9087. "200": {
  9088. "description": "OK",
  9089. "schema": {
  9090. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9091. }
  9092. },
  9093. "500": {
  9094. "description": "Internal Server Error",
  9095. "schema": {
  9096. "$ref": "#/definitions/app.Response"
  9097. }
  9098. }
  9099. }
  9100. }
  9101. },
  9102. "/SZDZ/QueryGoodsPickup": {
  9103. "get": {
  9104. "security": [
  9105. {
  9106. "ApiKeyAuth": []
  9107. }
  9108. ],
  9109. "produces": [
  9110. "application/json"
  9111. ],
  9112. "tags": [
  9113. "定制【尚志大宗】"
  9114. ],
  9115. "summary": "商品提货单查询",
  9116. "parameters": [
  9117. {
  9118. "type": "string",
  9119. "description": "资金账户 - 格式:1,2,3",
  9120. "name": "accountID",
  9121. "in": "query",
  9122. "required": true
  9123. },
  9124. {
  9125. "type": "integer",
  9126. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9127. "name": "takeOrderStatus",
  9128. "in": "query"
  9129. }
  9130. ],
  9131. "responses": {
  9132. "200": {
  9133. "description": "OK",
  9134. "schema": {
  9135. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9136. }
  9137. },
  9138. "500": {
  9139. "description": "Internal Server Error",
  9140. "schema": {
  9141. "$ref": "#/definitions/app.Response"
  9142. }
  9143. }
  9144. }
  9145. }
  9146. },
  9147. "/SZDZ/QueryRecieptOrder": {
  9148. "get": {
  9149. "security": [
  9150. {
  9151. "ApiKeyAuth": []
  9152. }
  9153. ],
  9154. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9155. "produces": [
  9156. "application/json"
  9157. ],
  9158. "tags": [
  9159. "定制【尚志大宗】"
  9160. ],
  9161. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9162. "parameters": [
  9163. {
  9164. "type": "integer",
  9165. "description": "页码",
  9166. "name": "page",
  9167. "in": "query"
  9168. },
  9169. {
  9170. "type": "integer",
  9171. "description": "每页条数",
  9172. "name": "pagesize",
  9173. "in": "query"
  9174. },
  9175. {
  9176. "type": "integer",
  9177. "description": "商品ID",
  9178. "name": "goodsID",
  9179. "in": "query",
  9180. "required": true
  9181. },
  9182. {
  9183. "type": "string",
  9184. "description": "所属账户名称",
  9185. "name": "accountName",
  9186. "in": "query"
  9187. },
  9188. {
  9189. "type": "integer",
  9190. "description": "市场ID",
  9191. "name": "marketID",
  9192. "in": "query"
  9193. },
  9194. {
  9195. "type": "integer",
  9196. "description": "方向 - 0:买 1:卖",
  9197. "name": "buyorsell",
  9198. "in": "query",
  9199. "required": true
  9200. }
  9201. ],
  9202. "responses": {
  9203. "200": {
  9204. "description": "OK",
  9205. "schema": {
  9206. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9207. }
  9208. },
  9209. "500": {
  9210. "description": "Internal Server Error",
  9211. "schema": {
  9212. "$ref": "#/definitions/app.Response"
  9213. }
  9214. }
  9215. }
  9216. }
  9217. },
  9218. "/SZDZ/QuerySZDZTradePosition": {
  9219. "get": {
  9220. "security": [
  9221. {
  9222. "ApiKeyAuth": []
  9223. }
  9224. ],
  9225. "produces": [
  9226. "application/json"
  9227. ],
  9228. "tags": [
  9229. "定制【尚志大宗】"
  9230. ],
  9231. "summary": "持仓汇总查询(尚志大宗)",
  9232. "parameters": [
  9233. {
  9234. "type": "integer",
  9235. "description": "资金账户",
  9236. "name": "accountID",
  9237. "in": "query",
  9238. "required": true
  9239. }
  9240. ],
  9241. "responses": {
  9242. "200": {
  9243. "description": "OK",
  9244. "schema": {
  9245. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9246. }
  9247. },
  9248. "500": {
  9249. "description": "Internal Server Error",
  9250. "schema": {
  9251. "$ref": "#/definitions/app.Response"
  9252. }
  9253. }
  9254. }
  9255. }
  9256. },
  9257. "/SZDZ/SearchWhite": {
  9258. "get": {
  9259. "security": [
  9260. {
  9261. "ApiKeyAuth": []
  9262. }
  9263. ],
  9264. "produces": [
  9265. "application/json"
  9266. ],
  9267. "tags": [
  9268. "定制【尚志大宗】"
  9269. ],
  9270. "summary": "搜索白名单",
  9271. "parameters": [
  9272. {
  9273. "type": "integer",
  9274. "description": "用户ID",
  9275. "name": "userID",
  9276. "in": "query",
  9277. "required": true
  9278. }
  9279. ],
  9280. "responses": {
  9281. "200": {
  9282. "description": "OK",
  9283. "schema": {
  9284. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9285. }
  9286. },
  9287. "500": {
  9288. "description": "Internal Server Error",
  9289. "schema": {
  9290. "$ref": "#/definitions/app.Response"
  9291. }
  9292. }
  9293. }
  9294. }
  9295. },
  9296. "/Search/SearchGoodses": {
  9297. "get": {
  9298. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9299. "produces": [
  9300. "application/json"
  9301. ],
  9302. "tags": [
  9303. "检索服务"
  9304. ],
  9305. "summary": "检索商品信息",
  9306. "parameters": [
  9307. {
  9308. "type": "string",
  9309. "description": "检索内容",
  9310. "name": "content",
  9311. "in": "query",
  9312. "required": true
  9313. },
  9314. {
  9315. "type": "string",
  9316. "description": "交易模式,格式:1,2,3",
  9317. "name": "tradeModes",
  9318. "in": "query"
  9319. }
  9320. ],
  9321. "responses": {
  9322. "200": {
  9323. "description": "OK",
  9324. "schema": {
  9325. "$ref": "#/definitions/models.SearchGoods"
  9326. }
  9327. },
  9328. "500": {
  9329. "description": "Internal Server Error",
  9330. "schema": {
  9331. "$ref": "#/definitions/app.Response"
  9332. }
  9333. }
  9334. }
  9335. }
  9336. },
  9337. "/TaAccount/GetTaAccounts": {
  9338. "get": {
  9339. "security": [
  9340. {
  9341. "ApiKeyAuth": []
  9342. }
  9343. ],
  9344. "produces": [
  9345. "application/json"
  9346. ],
  9347. "tags": [
  9348. "资金账户"
  9349. ],
  9350. "summary": "获取资金账户信息",
  9351. "parameters": [
  9352. {
  9353. "type": "integer",
  9354. "description": "登录账户",
  9355. "name": "loginID",
  9356. "in": "query",
  9357. "required": true
  9358. },
  9359. {
  9360. "type": "integer",
  9361. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9362. "name": "taAccountType",
  9363. "in": "query"
  9364. }
  9365. ],
  9366. "responses": {
  9367. "200": {
  9368. "description": "OK",
  9369. "schema": {
  9370. "$ref": "#/definitions/models.Taaccount"
  9371. }
  9372. },
  9373. "500": {
  9374. "description": "Internal Server Error",
  9375. "schema": {
  9376. "$ref": "#/definitions/app.Response"
  9377. }
  9378. }
  9379. }
  9380. }
  9381. },
  9382. "/TaAccount/QueryAmountLog": {
  9383. "get": {
  9384. "security": [
  9385. {
  9386. "ApiKeyAuth": []
  9387. }
  9388. ],
  9389. "produces": [
  9390. "application/json"
  9391. ],
  9392. "tags": [
  9393. "资金账户"
  9394. ],
  9395. "summary": "资金流水查询(当前)",
  9396. "parameters": [
  9397. {
  9398. "type": "integer",
  9399. "description": "页码",
  9400. "name": "page",
  9401. "in": "query"
  9402. },
  9403. {
  9404. "type": "integer",
  9405. "description": "每页条数",
  9406. "name": "pagesize",
  9407. "in": "query"
  9408. },
  9409. {
  9410. "type": "string",
  9411. "description": "资金账户 - 格式:1,2,3",
  9412. "name": "accountID",
  9413. "in": "query",
  9414. "required": true
  9415. },
  9416. {
  9417. "type": "string",
  9418. "description": "资金操作类型 - 格式:1,2,3",
  9419. "name": "OperateType",
  9420. "in": "query"
  9421. }
  9422. ],
  9423. "responses": {
  9424. "200": {
  9425. "description": "OK",
  9426. "schema": {
  9427. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9428. }
  9429. },
  9430. "500": {
  9431. "description": "Internal Server Error",
  9432. "schema": {
  9433. "$ref": "#/definitions/app.Response"
  9434. }
  9435. }
  9436. }
  9437. }
  9438. },
  9439. "/TaAccount/QueryHisAmountLog": {
  9440. "get": {
  9441. "security": [
  9442. {
  9443. "ApiKeyAuth": []
  9444. }
  9445. ],
  9446. "produces": [
  9447. "application/json"
  9448. ],
  9449. "tags": [
  9450. "资金账户"
  9451. ],
  9452. "summary": "资金流水查询(历史)",
  9453. "parameters": [
  9454. {
  9455. "type": "integer",
  9456. "description": "页码",
  9457. "name": "page",
  9458. "in": "query"
  9459. },
  9460. {
  9461. "type": "integer",
  9462. "description": "每页条数",
  9463. "name": "pagesize",
  9464. "in": "query"
  9465. },
  9466. {
  9467. "type": "string",
  9468. "description": "资金账户 - 格式:1,2,3",
  9469. "name": "accountID",
  9470. "in": "query",
  9471. "required": true
  9472. },
  9473. {
  9474. "type": "string",
  9475. "description": "资金操作类型 - 格式:1,2,3",
  9476. "name": "OperateType",
  9477. "in": "query"
  9478. },
  9479. {
  9480. "type": "string",
  9481. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9482. "name": "startDate",
  9483. "in": "query"
  9484. },
  9485. {
  9486. "type": "string",
  9487. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9488. "name": "endDate",
  9489. "in": "query"
  9490. }
  9491. ],
  9492. "responses": {
  9493. "200": {
  9494. "description": "OK",
  9495. "schema": {
  9496. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9497. }
  9498. },
  9499. "500": {
  9500. "description": "Internal Server Error",
  9501. "schema": {
  9502. "$ref": "#/definitions/app.Response"
  9503. }
  9504. }
  9505. }
  9506. }
  9507. },
  9508. "/TaAccount/QueryRelatedTaAccount": {
  9509. "get": {
  9510. "security": [
  9511. {
  9512. "ApiKeyAuth": []
  9513. }
  9514. ],
  9515. "produces": [
  9516. "application/json"
  9517. ],
  9518. "tags": [
  9519. "资金账户"
  9520. ],
  9521. "summary": "查询关联资金账户信息",
  9522. "parameters": [
  9523. {
  9524. "type": "integer",
  9525. "description": "关联UserID",
  9526. "name": "relateduserid",
  9527. "in": "query",
  9528. "required": true
  9529. }
  9530. ],
  9531. "responses": {
  9532. "200": {
  9533. "description": "OK",
  9534. "schema": {
  9535. "type": "array",
  9536. "items": {
  9537. "$ref": "#/definitions/models.RelatedTaAccount"
  9538. }
  9539. }
  9540. },
  9541. "500": {
  9542. "description": "Internal Server Error",
  9543. "schema": {
  9544. "$ref": "#/definitions/app.Response"
  9545. }
  9546. }
  9547. }
  9548. }
  9549. },
  9550. "/Tjmd/QueryQuoteGoodsList": {
  9551. "get": {
  9552. "security": [
  9553. {
  9554. "ApiKeyAuth": []
  9555. }
  9556. ],
  9557. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  9558. "produces": [
  9559. "application/json"
  9560. ],
  9561. "tags": [
  9562. "天津麦顿"
  9563. ],
  9564. "summary": "查询掉期报价列表",
  9565. "parameters": [
  9566. {
  9567. "type": "integer",
  9568. "description": "用户类型",
  9569. "name": "usertype",
  9570. "in": "query",
  9571. "required": true
  9572. },
  9573. {
  9574. "type": "string",
  9575. "description": "市场id, 格式 1,2,3",
  9576. "name": "marketids",
  9577. "in": "query"
  9578. },
  9579. {
  9580. "type": "integer",
  9581. "description": "商品组id",
  9582. "name": "goodsgroupid",
  9583. "in": "query"
  9584. },
  9585. {
  9586. "type": "integer",
  9587. "description": "商品id",
  9588. "name": "goodsid",
  9589. "in": "query"
  9590. }
  9591. ],
  9592. "responses": {
  9593. "200": {
  9594. "description": "OK",
  9595. "schema": {
  9596. "type": "array",
  9597. "items": {
  9598. "$ref": "#/definitions/models.TjmdQuoteGoods"
  9599. }
  9600. }
  9601. },
  9602. "500": {
  9603. "description": "Internal Server Error",
  9604. "schema": {
  9605. "$ref": "#/definitions/app.Response"
  9606. }
  9607. }
  9608. }
  9609. }
  9610. },
  9611. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  9612. "get": {
  9613. "security": [
  9614. {
  9615. "ApiKeyAuth": []
  9616. }
  9617. ],
  9618. "produces": [
  9619. "application/json"
  9620. ],
  9621. "tags": [
  9622. "天津麦顿"
  9623. ],
  9624. "summary": "掉期商品订单详情(交易确认书)",
  9625. "parameters": [
  9626. {
  9627. "type": "string",
  9628. "description": "成交单号",
  9629. "name": "tradeid",
  9630. "in": "query",
  9631. "required": true
  9632. }
  9633. ],
  9634. "responses": {
  9635. "200": {
  9636. "description": "OK",
  9637. "schema": {
  9638. "type": "array",
  9639. "items": {
  9640. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  9641. }
  9642. }
  9643. },
  9644. "500": {
  9645. "description": "Internal Server Error",
  9646. "schema": {
  9647. "$ref": "#/definitions/app.Response"
  9648. }
  9649. }
  9650. }
  9651. }
  9652. },
  9653. "/Tjmd/QueryTjmdMarketSection": {
  9654. "get": {
  9655. "security": [
  9656. {
  9657. "ApiKeyAuth": []
  9658. }
  9659. ],
  9660. "produces": [
  9661. "application/json"
  9662. ],
  9663. "tags": [
  9664. "天津麦顿"
  9665. ],
  9666. "summary": "查询市场板块",
  9667. "responses": {
  9668. "200": {
  9669. "description": "OK",
  9670. "schema": {
  9671. "type": "array",
  9672. "items": {
  9673. "$ref": "#/definitions/models.TjmdMarketSection"
  9674. }
  9675. }
  9676. },
  9677. "500": {
  9678. "description": "Internal Server Error",
  9679. "schema": {
  9680. "$ref": "#/definitions/app.Response"
  9681. }
  9682. }
  9683. }
  9684. }
  9685. },
  9686. "/Tjmd/QueryTjmdTodayAccountMargin": {
  9687. "get": {
  9688. "security": [
  9689. {
  9690. "ApiKeyAuth": []
  9691. }
  9692. ],
  9693. "produces": [
  9694. "application/json"
  9695. ],
  9696. "tags": [
  9697. "天津麦顿"
  9698. ],
  9699. "summary": "查询今日账户保证金配置",
  9700. "parameters": [
  9701. {
  9702. "type": "string",
  9703. "description": "市场id",
  9704. "name": "marketid",
  9705. "in": "query"
  9706. },
  9707. {
  9708. "type": "string",
  9709. "description": "商品id",
  9710. "name": "goodsid",
  9711. "in": "query"
  9712. },
  9713. {
  9714. "type": "string",
  9715. "description": "资金账号",
  9716. "name": "accountid",
  9717. "in": "query"
  9718. }
  9719. ],
  9720. "responses": {
  9721. "200": {
  9722. "description": "OK",
  9723. "schema": {
  9724. "type": "array",
  9725. "items": {
  9726. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  9727. }
  9728. }
  9729. },
  9730. "500": {
  9731. "description": "Internal Server Error",
  9732. "schema": {
  9733. "$ref": "#/definitions/app.Response"
  9734. }
  9735. }
  9736. }
  9737. }
  9738. },
  9739. "/Tjmd/QueryTjmdTradeOrderDetail": {
  9740. "get": {
  9741. "security": [
  9742. {
  9743. "ApiKeyAuth": []
  9744. }
  9745. ],
  9746. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  9747. "produces": [
  9748. "application/json"
  9749. ],
  9750. "tags": [
  9751. "天津麦顿"
  9752. ],
  9753. "summary": "查询掉期买卖大厅",
  9754. "parameters": [
  9755. {
  9756. "type": "integer",
  9757. "description": "页码",
  9758. "name": "page",
  9759. "in": "query"
  9760. },
  9761. {
  9762. "type": "integer",
  9763. "description": "每页条数",
  9764. "name": "pagesize",
  9765. "in": "query"
  9766. },
  9767. {
  9768. "type": "integer",
  9769. "description": "用户id",
  9770. "name": "userid",
  9771. "in": "query",
  9772. "required": true
  9773. },
  9774. {
  9775. "type": "integer",
  9776. "description": "用户类型",
  9777. "name": "usertype",
  9778. "in": "query",
  9779. "required": true
  9780. },
  9781. {
  9782. "type": "string",
  9783. "description": "市场id, 格式 1,2,3",
  9784. "name": "marketids",
  9785. "in": "query"
  9786. },
  9787. {
  9788. "type": "integer",
  9789. "description": "商品id",
  9790. "name": "goodsid",
  9791. "in": "query",
  9792. "required": true
  9793. },
  9794. {
  9795. "type": "integer",
  9796. "description": "买卖方向 0-买 1-卖",
  9797. "name": "buyorsell",
  9798. "in": "query",
  9799. "required": true
  9800. }
  9801. ],
  9802. "responses": {
  9803. "200": {
  9804. "description": "OK",
  9805. "schema": {
  9806. "type": "array",
  9807. "items": {
  9808. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  9809. }
  9810. }
  9811. },
  9812. "500": {
  9813. "description": "Internal Server Error",
  9814. "schema": {
  9815. "$ref": "#/definitions/app.Response"
  9816. }
  9817. }
  9818. }
  9819. }
  9820. },
  9821. "/Tjmd/QueryTjmdTransferApply": {
  9822. "get": {
  9823. "security": [
  9824. {
  9825. "ApiKeyAuth": []
  9826. }
  9827. ],
  9828. "produces": [
  9829. "application/json"
  9830. ],
  9831. "tags": [
  9832. "天津麦顿"
  9833. ],
  9834. "summary": "查询掉期协议单",
  9835. "parameters": [
  9836. {
  9837. "type": "integer",
  9838. "description": "类型 1-我的申请 2-对方申请",
  9839. "name": "applytype",
  9840. "in": "query",
  9841. "required": true
  9842. },
  9843. {
  9844. "type": "string",
  9845. "description": "市场id, 格式 1,2,3",
  9846. "name": "marketids",
  9847. "in": "query"
  9848. },
  9849. {
  9850. "type": "string",
  9851. "description": "资金账号, 格式 25000000001,25000000003",
  9852. "name": "accountids",
  9853. "in": "query"
  9854. },
  9855. {
  9856. "type": "string",
  9857. "description": "开始交易日(yyyymmdd)",
  9858. "name": "begindate",
  9859. "in": "query"
  9860. },
  9861. {
  9862. "type": "string",
  9863. "description": "结束交易日(yyyymmdd)",
  9864. "name": "enddate",
  9865. "in": "query"
  9866. }
  9867. ],
  9868. "responses": {
  9869. "200": {
  9870. "description": "OK",
  9871. "schema": {
  9872. "type": "array",
  9873. "items": {
  9874. "$ref": "#/definitions/models.TjmdTransferApply"
  9875. }
  9876. }
  9877. },
  9878. "500": {
  9879. "description": "Internal Server Error",
  9880. "schema": {
  9881. "$ref": "#/definitions/app.Response"
  9882. }
  9883. }
  9884. }
  9885. }
  9886. },
  9887. "/Trade/QueryRecieptOrder": {
  9888. "get": {
  9889. "security": [
  9890. {
  9891. "ApiKeyAuth": []
  9892. }
  9893. ],
  9894. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9895. "produces": [
  9896. "application/json"
  9897. ],
  9898. "tags": [
  9899. "通用交易"
  9900. ],
  9901. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9902. "parameters": [
  9903. {
  9904. "type": "integer",
  9905. "description": "页码",
  9906. "name": "page",
  9907. "in": "query"
  9908. },
  9909. {
  9910. "type": "integer",
  9911. "description": "每页条数",
  9912. "name": "pagesize",
  9913. "in": "query"
  9914. },
  9915. {
  9916. "type": "integer",
  9917. "description": "商品ID",
  9918. "name": "goodsID",
  9919. "in": "query",
  9920. "required": true
  9921. },
  9922. {
  9923. "type": "string",
  9924. "description": "所属账户名称",
  9925. "name": "accountName",
  9926. "in": "query"
  9927. },
  9928. {
  9929. "type": "integer",
  9930. "description": "市场ID",
  9931. "name": "marketID",
  9932. "in": "query"
  9933. },
  9934. {
  9935. "type": "integer",
  9936. "description": "方向 - 0:买 1:卖",
  9937. "name": "buyorsell",
  9938. "in": "query",
  9939. "required": true
  9940. }
  9941. ],
  9942. "responses": {
  9943. "200": {
  9944. "description": "OK",
  9945. "schema": {
  9946. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9947. }
  9948. },
  9949. "500": {
  9950. "description": "Internal Server Error",
  9951. "schema": {
  9952. "$ref": "#/definitions/app.Response"
  9953. }
  9954. }
  9955. }
  9956. }
  9957. },
  9958. "/User/AddMessageBoard": {
  9959. "post": {
  9960. "security": [
  9961. {
  9962. "ApiKeyAuth": []
  9963. }
  9964. ],
  9965. "produces": [
  9966. "application/json"
  9967. ],
  9968. "tags": [
  9969. "用户信息"
  9970. ],
  9971. "summary": "添加用户留言板信息",
  9972. "parameters": [
  9973. {
  9974. "type": "integer",
  9975. "description": "用户ID",
  9976. "name": "userID",
  9977. "in": "query",
  9978. "required": true
  9979. },
  9980. {
  9981. "type": "string",
  9982. "description": "留言信息",
  9983. "name": "message",
  9984. "in": "query",
  9985. "required": true
  9986. },
  9987. {
  9988. "type": "string",
  9989. "description": "联系电话",
  9990. "name": "contactNum",
  9991. "in": "query",
  9992. "required": true
  9993. }
  9994. ],
  9995. "responses": {
  9996. "200": {
  9997. "description": "OK",
  9998. "schema": {
  9999. "$ref": "#/definitions/app.Response"
  10000. }
  10001. },
  10002. "500": {
  10003. "description": "Internal Server Error",
  10004. "schema": {
  10005. "$ref": "#/definitions/app.Response"
  10006. }
  10007. }
  10008. }
  10009. }
  10010. },
  10011. "/User/AddUserFavoriteGoods": {
  10012. "post": {
  10013. "security": [
  10014. {
  10015. "ApiKeyAuth": []
  10016. }
  10017. ],
  10018. "produces": [
  10019. "application/json"
  10020. ],
  10021. "tags": [
  10022. "用户信息"
  10023. ],
  10024. "summary": "添加用户商品收藏信息",
  10025. "parameters": [
  10026. {
  10027. "type": "integer",
  10028. "description": "用户ID",
  10029. "name": "userID",
  10030. "in": "query",
  10031. "required": true
  10032. },
  10033. {
  10034. "type": "integer",
  10035. "description": "商品ID",
  10036. "name": "goodsID",
  10037. "in": "query",
  10038. "required": true
  10039. }
  10040. ],
  10041. "responses": {
  10042. "200": {
  10043. "description": "OK",
  10044. "schema": {
  10045. "$ref": "#/definitions/app.Response"
  10046. }
  10047. },
  10048. "500": {
  10049. "description": "Internal Server Error",
  10050. "schema": {
  10051. "$ref": "#/definitions/app.Response"
  10052. }
  10053. }
  10054. }
  10055. }
  10056. },
  10057. "/User/GetLoginID": {
  10058. "get": {
  10059. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10060. "produces": [
  10061. "application/json"
  10062. ],
  10063. "tags": [
  10064. "用户信息"
  10065. ],
  10066. "summary": "获取登录ID",
  10067. "parameters": [
  10068. {
  10069. "type": "string",
  10070. "description": "登录代码",
  10071. "name": "username",
  10072. "in": "query",
  10073. "required": true
  10074. }
  10075. ],
  10076. "responses": {
  10077. "200": {
  10078. "description": "OK",
  10079. "schema": {
  10080. "$ref": "#/definitions/app.Response"
  10081. }
  10082. },
  10083. "500": {
  10084. "description": "Internal Server Error",
  10085. "schema": {
  10086. "$ref": "#/definitions/app.Response"
  10087. }
  10088. }
  10089. }
  10090. }
  10091. },
  10092. "/User/GetUserAccount": {
  10093. "get": {
  10094. "security": [
  10095. {
  10096. "ApiKeyAuth": []
  10097. }
  10098. ],
  10099. "produces": [
  10100. "application/json"
  10101. ],
  10102. "tags": [
  10103. "用户信息"
  10104. ],
  10105. "summary": "获取用户账号信息",
  10106. "parameters": [
  10107. {
  10108. "type": "integer",
  10109. "description": "用户ID",
  10110. "name": "userID",
  10111. "in": "query",
  10112. "required": true
  10113. }
  10114. ],
  10115. "responses": {
  10116. "200": {
  10117. "description": "OK",
  10118. "schema": {
  10119. "$ref": "#/definitions/models.Useraccount"
  10120. }
  10121. },
  10122. "500": {
  10123. "description": "Internal Server Error",
  10124. "schema": {
  10125. "$ref": "#/definitions/app.Response"
  10126. }
  10127. }
  10128. }
  10129. }
  10130. },
  10131. "/User/GetUserAuthStatus": {
  10132. "get": {
  10133. "security": [
  10134. {
  10135. "ApiKeyAuth": []
  10136. }
  10137. ],
  10138. "produces": [
  10139. "application/json"
  10140. ],
  10141. "tags": [
  10142. "用户信息"
  10143. ],
  10144. "summary": "获取用户实名认证状态",
  10145. "parameters": [
  10146. {
  10147. "type": "integer",
  10148. "description": "用户ID",
  10149. "name": "userID",
  10150. "in": "query",
  10151. "required": true
  10152. }
  10153. ],
  10154. "responses": {
  10155. "200": {
  10156. "description": "OK",
  10157. "schema": {
  10158. "$ref": "#/definitions/app.Response"
  10159. }
  10160. },
  10161. "500": {
  10162. "description": "Internal Server Error",
  10163. "schema": {
  10164. "$ref": "#/definitions/app.Response"
  10165. }
  10166. }
  10167. }
  10168. }
  10169. },
  10170. "/User/LoginQuery": {
  10171. "get": {
  10172. "security": [
  10173. {
  10174. "ApiKeyAuth": []
  10175. }
  10176. ],
  10177. "produces": [
  10178. "application/json"
  10179. ],
  10180. "tags": [
  10181. "用户信息"
  10182. ],
  10183. "summary": "账户登录后信息查询",
  10184. "parameters": [
  10185. {
  10186. "type": "integer",
  10187. "description": "登录账号",
  10188. "name": "loginID",
  10189. "in": "query",
  10190. "required": true
  10191. }
  10192. ],
  10193. "responses": {
  10194. "200": {
  10195. "description": "OK",
  10196. "schema": {
  10197. "$ref": "#/definitions/user.LoginQueryRsp"
  10198. }
  10199. },
  10200. "500": {
  10201. "description": "Internal Server Error",
  10202. "schema": {
  10203. "$ref": "#/definitions/app.Response"
  10204. }
  10205. }
  10206. }
  10207. }
  10208. },
  10209. "/User/QueryMessageBoard": {
  10210. "get": {
  10211. "security": [
  10212. {
  10213. "ApiKeyAuth": []
  10214. }
  10215. ],
  10216. "produces": [
  10217. "application/json"
  10218. ],
  10219. "tags": [
  10220. "用户信息"
  10221. ],
  10222. "summary": "获取用户留言板信息",
  10223. "parameters": [
  10224. {
  10225. "type": "integer",
  10226. "description": "用户ID",
  10227. "name": "userID",
  10228. "in": "query",
  10229. "required": true
  10230. }
  10231. ],
  10232. "responses": {
  10233. "200": {
  10234. "description": "OK",
  10235. "schema": {
  10236. "$ref": "#/definitions/models.Messageboard"
  10237. }
  10238. },
  10239. "500": {
  10240. "description": "Internal Server Error",
  10241. "schema": {
  10242. "$ref": "#/definitions/app.Response"
  10243. }
  10244. }
  10245. }
  10246. }
  10247. },
  10248. "/User/QueryUserFavoriteGoodses": {
  10249. "get": {
  10250. "security": [
  10251. {
  10252. "ApiKeyAuth": []
  10253. }
  10254. ],
  10255. "produces": [
  10256. "application/json"
  10257. ],
  10258. "tags": [
  10259. "用户信息"
  10260. ],
  10261. "summary": "获取用户商品收藏信息",
  10262. "parameters": [
  10263. {
  10264. "type": "integer",
  10265. "description": "用户ID",
  10266. "name": "userID",
  10267. "in": "query",
  10268. "required": true
  10269. }
  10270. ],
  10271. "responses": {
  10272. "200": {
  10273. "description": "OK",
  10274. "schema": {
  10275. "$ref": "#/definitions/models.Userfavoritegoods"
  10276. }
  10277. },
  10278. "500": {
  10279. "description": "Internal Server Error",
  10280. "schema": {
  10281. "$ref": "#/definitions/app.Response"
  10282. }
  10283. }
  10284. }
  10285. }
  10286. },
  10287. "/User/QueryUserInfo": {
  10288. "get": {
  10289. "security": [
  10290. {
  10291. "ApiKeyAuth": []
  10292. }
  10293. ],
  10294. "produces": [
  10295. "application/json"
  10296. ],
  10297. "tags": [
  10298. "用户信息"
  10299. ],
  10300. "summary": "获取用户信息",
  10301. "parameters": [
  10302. {
  10303. "type": "integer",
  10304. "description": "用户ID",
  10305. "name": "userID",
  10306. "in": "query",
  10307. "required": true
  10308. },
  10309. {
  10310. "type": "boolean",
  10311. "description": "是否解密",
  10312. "name": "isDecrypt",
  10313. "in": "query"
  10314. }
  10315. ],
  10316. "responses": {
  10317. "200": {
  10318. "description": "OK",
  10319. "schema": {
  10320. "$ref": "#/definitions/models.Userinfo"
  10321. }
  10322. },
  10323. "500": {
  10324. "description": "Internal Server Error",
  10325. "schema": {
  10326. "$ref": "#/definitions/app.Response"
  10327. }
  10328. }
  10329. }
  10330. }
  10331. },
  10332. "/User/QueryUserReferNum": {
  10333. "get": {
  10334. "produces": [
  10335. "application/json"
  10336. ],
  10337. "tags": [
  10338. "用户信息"
  10339. ],
  10340. "summary": "获取用户邀请码",
  10341. "parameters": [
  10342. {
  10343. "type": "integer",
  10344. "description": "用户ID",
  10345. "name": "userID",
  10346. "in": "query",
  10347. "required": true
  10348. }
  10349. ],
  10350. "responses": {
  10351. "200": {
  10352. "description": "OK",
  10353. "schema": {
  10354. "$ref": "#/definitions/app.Response"
  10355. }
  10356. },
  10357. "500": {
  10358. "description": "Internal Server Error",
  10359. "schema": {
  10360. "$ref": "#/definitions/app.Response"
  10361. }
  10362. }
  10363. }
  10364. }
  10365. },
  10366. "/User/RemoveUserFavoriteGoods": {
  10367. "post": {
  10368. "security": [
  10369. {
  10370. "ApiKeyAuth": []
  10371. }
  10372. ],
  10373. "produces": [
  10374. "application/json"
  10375. ],
  10376. "tags": [
  10377. "用户信息"
  10378. ],
  10379. "summary": "移除用户商品收藏信息",
  10380. "parameters": [
  10381. {
  10382. "type": "integer",
  10383. "description": "用户ID",
  10384. "name": "userID",
  10385. "in": "query",
  10386. "required": true
  10387. },
  10388. {
  10389. "type": "integer",
  10390. "description": "商品ID",
  10391. "name": "goodsID",
  10392. "in": "query",
  10393. "required": true
  10394. }
  10395. ],
  10396. "responses": {
  10397. "200": {
  10398. "description": "OK",
  10399. "schema": {
  10400. "$ref": "#/definitions/app.Response"
  10401. }
  10402. },
  10403. "500": {
  10404. "description": "Internal Server Error",
  10405. "schema": {
  10406. "$ref": "#/definitions/app.Response"
  10407. }
  10408. }
  10409. }
  10410. }
  10411. },
  10412. "/User/UpdateUserAccountStatus": {
  10413. "post": {
  10414. "security": [
  10415. {
  10416. "ApiKeyAuth": []
  10417. }
  10418. ],
  10419. "produces": [
  10420. "application/json"
  10421. ],
  10422. "tags": [
  10423. "用户信息"
  10424. ],
  10425. "summary": "更新用户状态",
  10426. "parameters": [
  10427. {
  10428. "type": "integer",
  10429. "description": "用户ID",
  10430. "name": "userID",
  10431. "in": "query",
  10432. "required": true
  10433. },
  10434. {
  10435. "type": "integer",
  10436. "description": "账户状态 - 4:正常 6:注销(停用)",
  10437. "name": "accountStatus",
  10438. "in": "query",
  10439. "required": true
  10440. }
  10441. ],
  10442. "responses": {
  10443. "200": {
  10444. "description": "OK",
  10445. "schema": {
  10446. "$ref": "#/definitions/app.Response"
  10447. }
  10448. },
  10449. "500": {
  10450. "description": "Internal Server Error",
  10451. "schema": {
  10452. "$ref": "#/definitions/app.Response"
  10453. }
  10454. }
  10455. }
  10456. }
  10457. },
  10458. "/WRTrade/GetAllDeliveryGoods": {
  10459. "get": {
  10460. "security": [
  10461. {
  10462. "ApiKeyAuth": []
  10463. }
  10464. ],
  10465. "produces": [
  10466. "application/json"
  10467. ],
  10468. "tags": [
  10469. "仓单贸易",
  10470. "仓单贸易"
  10471. ],
  10472. "summary": "获取带仓单分类的种类信息",
  10473. "responses": {
  10474. "200": {
  10475. "description": "OK",
  10476. "schema": {
  10477. "$ref": "#/definitions/app.Response"
  10478. }
  10479. },
  10480. "500": {
  10481. "description": "Internal Server Error",
  10482. "schema": {
  10483. "$ref": "#/definitions/app.Response"
  10484. }
  10485. }
  10486. }
  10487. }
  10488. },
  10489. "/WrTrade2/InsertXhcpSellBackApply": {
  10490. "post": {
  10491. "security": [
  10492. {
  10493. "ApiKeyAuth": []
  10494. }
  10495. ],
  10496. "produces": [
  10497. "application/json"
  10498. ],
  10499. "tags": [
  10500. "仓单贸易v2"
  10501. ],
  10502. "summary": "新增回收申请(新会陈皮)",
  10503. "parameters": [
  10504. {
  10505. "description": "回收申请",
  10506. "name": "jsonBody",
  10507. "in": "body",
  10508. "required": true,
  10509. "schema": {
  10510. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  10511. }
  10512. }
  10513. ],
  10514. "responses": {
  10515. "200": {
  10516. "description": "OK",
  10517. "schema": {
  10518. "$ref": "#/definitions/app.Response"
  10519. }
  10520. },
  10521. "500": {
  10522. "description": "Internal Server Error",
  10523. "schema": {
  10524. "$ref": "#/definitions/app.Response"
  10525. }
  10526. }
  10527. }
  10528. }
  10529. },
  10530. "/WrTrade2/QueryDeliveryGoodsSection": {
  10531. "get": {
  10532. "security": [
  10533. {
  10534. "ApiKeyAuth": []
  10535. }
  10536. ],
  10537. "produces": [
  10538. "application/json"
  10539. ],
  10540. "tags": [
  10541. "仓单贸易v2"
  10542. ],
  10543. "summary": "查询板块(分类)",
  10544. "responses": {
  10545. "200": {
  10546. "description": "OK",
  10547. "schema": {
  10548. "type": "array",
  10549. "items": {
  10550. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  10551. }
  10552. }
  10553. },
  10554. "500": {
  10555. "description": "Internal Server Error",
  10556. "schema": {
  10557. "$ref": "#/definitions/app.Response"
  10558. }
  10559. }
  10560. }
  10561. }
  10562. },
  10563. "/WrTrade2/QueryFaProductDetail": {
  10564. "get": {
  10565. "security": [
  10566. {
  10567. "ApiKeyAuth": []
  10568. }
  10569. ],
  10570. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10571. "produces": [
  10572. "application/json"
  10573. ],
  10574. "tags": [
  10575. "仓单贸易v2"
  10576. ],
  10577. "summary": "查询融资产品列表",
  10578. "parameters": [
  10579. {
  10580. "type": "integer",
  10581. "description": "仓单要素id",
  10582. "name": "wrfactortypeid",
  10583. "in": "query",
  10584. "required": true
  10585. }
  10586. ],
  10587. "responses": {
  10588. "200": {
  10589. "description": "OK",
  10590. "schema": {
  10591. "type": "array",
  10592. "items": {
  10593. "$ref": "#/definitions/models.WrFAProductDetail"
  10594. }
  10595. }
  10596. },
  10597. "500": {
  10598. "description": "Internal Server Error",
  10599. "schema": {
  10600. "$ref": "#/definitions/app.Response"
  10601. }
  10602. }
  10603. }
  10604. }
  10605. },
  10606. "/WrTrade2/QueryFilterItem": {
  10607. "get": {
  10608. "security": [
  10609. {
  10610. "ApiKeyAuth": []
  10611. }
  10612. ],
  10613. "produces": [
  10614. "application/json"
  10615. ],
  10616. "tags": [
  10617. "仓单贸易v2"
  10618. ],
  10619. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  10620. "parameters": [
  10621. {
  10622. "type": "string",
  10623. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10624. "name": "itype",
  10625. "in": "query",
  10626. "required": true
  10627. }
  10628. ],
  10629. "responses": {
  10630. "200": {
  10631. "description": "OK",
  10632. "schema": {
  10633. "type": "array",
  10634. "items": {
  10635. "$ref": "#/definitions/models.WrFilterItem"
  10636. }
  10637. }
  10638. },
  10639. "500": {
  10640. "description": "Internal Server Error",
  10641. "schema": {
  10642. "$ref": "#/definitions/app.Response"
  10643. }
  10644. }
  10645. }
  10646. }
  10647. },
  10648. "/WrTrade2/QueryFtDeliveryGoods": {
  10649. "get": {
  10650. "security": [
  10651. {
  10652. "ApiKeyAuth": []
  10653. }
  10654. ],
  10655. "produces": [
  10656. "application/json"
  10657. ],
  10658. "tags": [
  10659. "仓单贸易v2"
  10660. ],
  10661. "summary": "查询品种品类筛选框列表",
  10662. "responses": {
  10663. "200": {
  10664. "description": "OK",
  10665. "schema": {
  10666. "type": "array",
  10667. "items": {
  10668. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  10669. }
  10670. }
  10671. },
  10672. "500": {
  10673. "description": "Internal Server Error",
  10674. "schema": {
  10675. "$ref": "#/definitions/app.Response"
  10676. }
  10677. }
  10678. }
  10679. }
  10680. },
  10681. "/WrTrade2/QueryHoldLB": {
  10682. "get": {
  10683. "security": [
  10684. {
  10685. "ApiKeyAuth": []
  10686. }
  10687. ],
  10688. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  10689. "produces": [
  10690. "application/json"
  10691. ],
  10692. "tags": [
  10693. "仓单贸易v2"
  10694. ],
  10695. "summary": "查询仓单持有记录",
  10696. "parameters": [
  10697. {
  10698. "type": "integer",
  10699. "description": "资金账号",
  10700. "name": "accountid",
  10701. "in": "query",
  10702. "required": true
  10703. },
  10704. {
  10705. "type": "integer",
  10706. "description": "仓库id",
  10707. "name": "warehouseid",
  10708. "in": "query"
  10709. },
  10710. {
  10711. "type": "integer",
  10712. "description": "品种id",
  10713. "name": "deliverygoodsid",
  10714. "in": "query"
  10715. },
  10716. {
  10717. "type": "integer",
  10718. "description": "品类id",
  10719. "name": "wrstandardid",
  10720. "in": "query"
  10721. },
  10722. {
  10723. "type": "integer",
  10724. "description": "仓单要素id",
  10725. "name": "wrfactortypeid",
  10726. "in": "query"
  10727. },
  10728. {
  10729. "type": "string",
  10730. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  10731. "name": "dgitemname",
  10732. "in": "query"
  10733. }
  10734. ],
  10735. "responses": {
  10736. "200": {
  10737. "description": "OK",
  10738. "schema": {
  10739. "type": "array",
  10740. "items": {
  10741. "$ref": "#/definitions/models.WrHoldLB"
  10742. }
  10743. }
  10744. },
  10745. "500": {
  10746. "description": "Internal Server Error",
  10747. "schema": {
  10748. "$ref": "#/definitions/app.Response"
  10749. }
  10750. }
  10751. }
  10752. }
  10753. },
  10754. "/WrTrade2/QueryOrderQuote": {
  10755. "get": {
  10756. "security": [
  10757. {
  10758. "ApiKeyAuth": []
  10759. }
  10760. ],
  10761. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  10762. "produces": [
  10763. "application/json"
  10764. ],
  10765. "tags": [
  10766. "仓单贸易v2"
  10767. ],
  10768. "summary": "查询大厅行情列表",
  10769. "parameters": [
  10770. {
  10771. "type": "integer",
  10772. "description": "页码",
  10773. "name": "page",
  10774. "in": "query"
  10775. },
  10776. {
  10777. "type": "integer",
  10778. "description": "每页条数",
  10779. "name": "pagesize",
  10780. "in": "query"
  10781. },
  10782. {
  10783. "type": "integer",
  10784. "description": "仓单贸易市场id",
  10785. "name": "marketid",
  10786. "in": "query"
  10787. },
  10788. {
  10789. "type": "integer",
  10790. "description": "价格方式 - 1:固定价 2-浮动价",
  10791. "name": "wrpricetype",
  10792. "in": "query",
  10793. "required": true
  10794. },
  10795. {
  10796. "type": "integer",
  10797. "description": "0:仓单预售 1:仓单贸易",
  10798. "name": "haswr",
  10799. "in": "query"
  10800. },
  10801. {
  10802. "type": "string",
  10803. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  10804. "name": "dgitemname",
  10805. "in": "query"
  10806. },
  10807. {
  10808. "type": "integer",
  10809. "description": "仓库id(筛选条件)",
  10810. "name": "warehouseid",
  10811. "in": "query"
  10812. },
  10813. {
  10814. "type": "integer",
  10815. "description": "品种id",
  10816. "name": "deliverygoodsid",
  10817. "in": "query"
  10818. },
  10819. {
  10820. "type": "integer",
  10821. "description": "品类id",
  10822. "name": "wrstandardid",
  10823. "in": "query"
  10824. },
  10825. {
  10826. "type": "integer",
  10827. "description": "品牌id(dgfactoryitemid)",
  10828. "name": "brandid",
  10829. "in": "query"
  10830. },
  10831. {
  10832. "type": "integer",
  10833. "description": "年份id(dgfactoryitemid)",
  10834. "name": "yearsid",
  10835. "in": "query"
  10836. },
  10837. {
  10838. "type": "integer",
  10839. "description": "仓单要素id",
  10840. "name": "wrfactortypeid",
  10841. "in": "query"
  10842. },
  10843. {
  10844. "type": "string",
  10845. "description": "交收月(yyyy-mm) 仓单预售填写",
  10846. "name": "deliverymonth",
  10847. "in": "query"
  10848. }
  10849. ],
  10850. "responses": {
  10851. "200": {
  10852. "description": "OK",
  10853. "schema": {
  10854. "type": "array",
  10855. "items": {
  10856. "$ref": "#/definitions/models.WrOrderQuote"
  10857. }
  10858. }
  10859. },
  10860. "500": {
  10861. "description": "Internal Server Error",
  10862. "schema": {
  10863. "$ref": "#/definitions/app.Response"
  10864. }
  10865. }
  10866. }
  10867. }
  10868. },
  10869. "/WrTrade2/QueryOrderQuoteDetail": {
  10870. "get": {
  10871. "security": [
  10872. {
  10873. "ApiKeyAuth": []
  10874. }
  10875. ],
  10876. "produces": [
  10877. "application/json"
  10878. ],
  10879. "tags": [
  10880. "仓单贸易v2"
  10881. ],
  10882. "summary": "查询买卖大厅",
  10883. "parameters": [
  10884. {
  10885. "type": "integer",
  10886. "description": "页码",
  10887. "name": "page",
  10888. "in": "query"
  10889. },
  10890. {
  10891. "type": "integer",
  10892. "description": "每页条数",
  10893. "name": "pagesize",
  10894. "in": "query"
  10895. },
  10896. {
  10897. "type": "integer",
  10898. "description": "仓单贸易市场id",
  10899. "name": "marketid",
  10900. "in": "query"
  10901. },
  10902. {
  10903. "type": "integer",
  10904. "description": "价格方式 - 1:固定价 2-浮动价",
  10905. "name": "wrpricetype",
  10906. "in": "query",
  10907. "required": true
  10908. },
  10909. {
  10910. "type": "integer",
  10911. "description": "0:仓单预售 1:仓单贸易",
  10912. "name": "haswr",
  10913. "in": "query"
  10914. },
  10915. {
  10916. "type": "integer",
  10917. "description": "仓单要素id",
  10918. "name": "wrfactortypeid",
  10919. "in": "query",
  10920. "required": true
  10921. },
  10922. {
  10923. "type": "integer",
  10924. "description": "期货商品id(浮动价方式时填)",
  10925. "name": "goodsid",
  10926. "in": "query"
  10927. },
  10928. {
  10929. "type": "integer",
  10930. "description": "买卖方向 0-买 1-卖",
  10931. "name": "buyorsell",
  10932. "in": "query",
  10933. "required": true
  10934. },
  10935. {
  10936. "type": "string",
  10937. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  10938. "name": "deliverymonth",
  10939. "in": "query"
  10940. }
  10941. ],
  10942. "responses": {
  10943. "200": {
  10944. "description": "OK",
  10945. "schema": {
  10946. "type": "array",
  10947. "items": {
  10948. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  10949. }
  10950. }
  10951. },
  10952. "500": {
  10953. "description": "Internal Server Error",
  10954. "schema": {
  10955. "$ref": "#/definitions/app.Response"
  10956. }
  10957. }
  10958. }
  10959. }
  10960. },
  10961. "/WrTrade2/QueryOrderQuoteMyq": {
  10962. "get": {
  10963. "security": [
  10964. {
  10965. "ApiKeyAuth": []
  10966. }
  10967. ],
  10968. "produces": [
  10969. "application/json"
  10970. ],
  10971. "tags": [
  10972. "仓单贸易v2"
  10973. ],
  10974. "summary": "查询贸易圈挂牌大厅",
  10975. "parameters": [
  10976. {
  10977. "type": "integer",
  10978. "description": "页码",
  10979. "name": "page",
  10980. "in": "query"
  10981. },
  10982. {
  10983. "type": "integer",
  10984. "description": "每页条数",
  10985. "name": "pagesize",
  10986. "in": "query"
  10987. },
  10988. {
  10989. "type": "integer",
  10990. "description": "用户id",
  10991. "name": "userid",
  10992. "in": "query",
  10993. "required": true
  10994. },
  10995. {
  10996. "type": "integer",
  10997. "description": "仓单贸易市场id",
  10998. "name": "marketid",
  10999. "in": "query"
  11000. },
  11001. {
  11002. "type": "integer",
  11003. "description": "0:仓单预售 1:仓单贸易",
  11004. "name": "haswr",
  11005. "in": "query"
  11006. },
  11007. {
  11008. "type": "integer",
  11009. "description": "买卖方向 0-买 1-卖",
  11010. "name": "buyorsell",
  11011. "in": "query",
  11012. "required": true
  11013. },
  11014. {
  11015. "type": "integer",
  11016. "description": "品种id",
  11017. "name": "deliverygoodsid",
  11018. "in": "query"
  11019. },
  11020. {
  11021. "type": "integer",
  11022. "description": "品类id",
  11023. "name": "wrstandardid",
  11024. "in": "query"
  11025. },
  11026. {
  11027. "type": "string",
  11028. "description": "交收月(yyyy-mm) 仓单预售填写",
  11029. "name": "deliverymonth",
  11030. "in": "query"
  11031. },
  11032. {
  11033. "type": "string",
  11034. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11035. "name": "dgitemname",
  11036. "in": "query"
  11037. }
  11038. ],
  11039. "responses": {
  11040. "200": {
  11041. "description": "OK",
  11042. "schema": {
  11043. "type": "array",
  11044. "items": {
  11045. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11046. }
  11047. }
  11048. },
  11049. "500": {
  11050. "description": "Internal Server Error",
  11051. "schema": {
  11052. "$ref": "#/definitions/app.Response"
  11053. }
  11054. }
  11055. }
  11056. }
  11057. },
  11058. "/WrTrade2/QueryPerformancePlan": {
  11059. "get": {
  11060. "security": [
  11061. {
  11062. "ApiKeyAuth": []
  11063. }
  11064. ],
  11065. "produces": [
  11066. "application/json"
  11067. ],
  11068. "tags": [
  11069. "仓单贸易v2"
  11070. ],
  11071. "summary": "查询履约信息",
  11072. "parameters": [
  11073. {
  11074. "type": "integer",
  11075. "description": "用户id",
  11076. "name": "userid",
  11077. "in": "query",
  11078. "required": true
  11079. },
  11080. {
  11081. "type": "integer",
  11082. "description": "买卖方向 0-买 1-卖",
  11083. "name": "buyorsell",
  11084. "in": "query",
  11085. "required": true
  11086. },
  11087. {
  11088. "type": "string",
  11089. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  11090. "name": "status",
  11091. "in": "query"
  11092. },
  11093. {
  11094. "type": "string",
  11095. "description": "开始交易日(yyyymmdd)",
  11096. "name": "begindate",
  11097. "in": "query"
  11098. },
  11099. {
  11100. "type": "string",
  11101. "description": "结束交易日(yyyymmdd)",
  11102. "name": "enddate",
  11103. "in": "query"
  11104. }
  11105. ],
  11106. "responses": {
  11107. "200": {
  11108. "description": "OK",
  11109. "schema": {
  11110. "type": "array",
  11111. "items": {
  11112. "$ref": "#/definitions/models.WrPerformancePlan"
  11113. }
  11114. }
  11115. },
  11116. "500": {
  11117. "description": "Internal Server Error",
  11118. "schema": {
  11119. "$ref": "#/definitions/app.Response"
  11120. }
  11121. }
  11122. }
  11123. }
  11124. },
  11125. "/WrTrade2/QueryPermancePlanTmp": {
  11126. "get": {
  11127. "security": [
  11128. {
  11129. "ApiKeyAuth": []
  11130. }
  11131. ],
  11132. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  11133. "produces": [
  11134. "application/json"
  11135. ],
  11136. "tags": [
  11137. "仓单贸易v2"
  11138. ],
  11139. "summary": "查询履约模板",
  11140. "parameters": [
  11141. {
  11142. "type": "integer",
  11143. "description": "用户id",
  11144. "name": "userid",
  11145. "in": "query"
  11146. },
  11147. {
  11148. "type": "string",
  11149. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11150. "name": "tmptype",
  11151. "in": "query"
  11152. },
  11153. {
  11154. "type": "integer",
  11155. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11156. "name": "includepub",
  11157. "in": "query"
  11158. },
  11159. {
  11160. "type": "integer",
  11161. "description": "市场id(天津麦顿指定此参数,其它不用)",
  11162. "name": "marketid",
  11163. "in": "query"
  11164. }
  11165. ],
  11166. "responses": {
  11167. "200": {
  11168. "description": "OK",
  11169. "schema": {
  11170. "type": "array",
  11171. "items": {
  11172. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11173. }
  11174. }
  11175. },
  11176. "500": {
  11177. "description": "Internal Server Error",
  11178. "schema": {
  11179. "$ref": "#/definitions/app.Response"
  11180. }
  11181. }
  11182. }
  11183. }
  11184. },
  11185. "/WrTrade2/QuerySiteColumnDetail": {
  11186. "get": {
  11187. "security": [
  11188. {
  11189. "ApiKeyAuth": []
  11190. }
  11191. ],
  11192. "produces": [
  11193. "application/json"
  11194. ],
  11195. "tags": [
  11196. "仓单贸易v2"
  11197. ],
  11198. "summary": "查询资讯",
  11199. "parameters": [
  11200. {
  11201. "type": "integer",
  11202. "description": "页码",
  11203. "name": "page",
  11204. "in": "query"
  11205. },
  11206. {
  11207. "type": "integer",
  11208. "description": "每页条数",
  11209. "name": "pagesize",
  11210. "in": "query"
  11211. },
  11212. {
  11213. "type": "integer",
  11214. "description": "所属栏目id",
  11215. "name": "columnid",
  11216. "in": "query"
  11217. }
  11218. ],
  11219. "responses": {
  11220. "200": {
  11221. "description": "OK",
  11222. "schema": {
  11223. "type": "array",
  11224. "items": {
  11225. "$ref": "#/definitions/models.WrSiteColumnDetail"
  11226. }
  11227. }
  11228. },
  11229. "500": {
  11230. "description": "Internal Server Error",
  11231. "schema": {
  11232. "$ref": "#/definitions/app.Response"
  11233. }
  11234. }
  11235. }
  11236. }
  11237. },
  11238. "/WrTrade2/QuerySpotGroupTradeSum": {
  11239. "get": {
  11240. "security": [
  11241. {
  11242. "ApiKeyAuth": []
  11243. }
  11244. ],
  11245. "produces": [
  11246. "application/json"
  11247. ],
  11248. "tags": [
  11249. "仓单贸易v2"
  11250. ],
  11251. "summary": "查询指数",
  11252. "responses": {
  11253. "200": {
  11254. "description": "OK",
  11255. "schema": {
  11256. "type": "array",
  11257. "items": {
  11258. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  11259. }
  11260. }
  11261. },
  11262. "500": {
  11263. "description": "Internal Server Error",
  11264. "schema": {
  11265. "$ref": "#/definitions/app.Response"
  11266. }
  11267. }
  11268. }
  11269. }
  11270. },
  11271. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  11272. "get": {
  11273. "security": [
  11274. {
  11275. "ApiKeyAuth": []
  11276. }
  11277. ],
  11278. "description": "查询的结果将会按日期 从小到大 排序",
  11279. "produces": [
  11280. "application/json"
  11281. ],
  11282. "tags": [
  11283. "仓单贸易v2"
  11284. ],
  11285. "summary": "查询指数详细(价格走势图)",
  11286. "parameters": [
  11287. {
  11288. "type": "integer",
  11289. "description": "现货商品id",
  11290. "name": "deliverygoodsid",
  11291. "in": "query",
  11292. "required": true
  11293. },
  11294. {
  11295. "type": "integer",
  11296. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  11297. "name": "lastnum",
  11298. "in": "query"
  11299. }
  11300. ],
  11301. "responses": {
  11302. "200": {
  11303. "description": "OK",
  11304. "schema": {
  11305. "type": "array",
  11306. "items": {
  11307. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  11308. }
  11309. }
  11310. },
  11311. "500": {
  11312. "description": "Internal Server Error",
  11313. "schema": {
  11314. "$ref": "#/definitions/app.Response"
  11315. }
  11316. }
  11317. }
  11318. }
  11319. },
  11320. "/WrTrade2/QueryWrAverageTradePrice": {
  11321. "get": {
  11322. "security": [
  11323. {
  11324. "ApiKeyAuth": []
  11325. }
  11326. ],
  11327. "produces": [
  11328. "application/json"
  11329. ],
  11330. "tags": [
  11331. "仓单贸易v2"
  11332. ],
  11333. "summary": "查询成交价(历史走势)",
  11334. "parameters": [
  11335. {
  11336. "type": "integer",
  11337. "description": "页码",
  11338. "name": "page",
  11339. "in": "query"
  11340. },
  11341. {
  11342. "type": "integer",
  11343. "description": "每页条数",
  11344. "name": "pagesize",
  11345. "in": "query"
  11346. },
  11347. {
  11348. "type": "integer",
  11349. "description": "0:仓单预售 1:仓单贸易",
  11350. "name": "haswr",
  11351. "in": "query",
  11352. "required": true
  11353. },
  11354. {
  11355. "type": "integer",
  11356. "description": "仓单要素id",
  11357. "name": "wrfactortypeid",
  11358. "in": "query",
  11359. "required": true
  11360. }
  11361. ],
  11362. "responses": {
  11363. "200": {
  11364. "description": "OK",
  11365. "schema": {
  11366. "type": "array",
  11367. "items": {
  11368. "$ref": "#/definitions/models.WrAverageTradePrice"
  11369. }
  11370. }
  11371. },
  11372. "500": {
  11373. "description": "Internal Server Error",
  11374. "schema": {
  11375. "$ref": "#/definitions/app.Response"
  11376. }
  11377. }
  11378. }
  11379. }
  11380. },
  11381. "/WrTrade2/QueryWrBrandAndYears": {
  11382. "get": {
  11383. "security": [
  11384. {
  11385. "ApiKeyAuth": []
  11386. }
  11387. ],
  11388. "produces": [
  11389. "application/json"
  11390. ],
  11391. "tags": [
  11392. "仓单贸易v2"
  11393. ],
  11394. "summary": "查询品牌和年份",
  11395. "responses": {
  11396. "200": {
  11397. "description": "OK",
  11398. "schema": {
  11399. "type": "array",
  11400. "items": {
  11401. "$ref": "#/definitions/models.WrBrandAndYears"
  11402. }
  11403. }
  11404. },
  11405. "500": {
  11406. "description": "Internal Server Error",
  11407. "schema": {
  11408. "$ref": "#/definitions/app.Response"
  11409. }
  11410. }
  11411. }
  11412. }
  11413. },
  11414. "/WrTrade2/QueryWrBsGoodsInfo": {
  11415. "get": {
  11416. "security": [
  11417. {
  11418. "ApiKeyAuth": []
  11419. }
  11420. ],
  11421. "description": "合约交易/买卖大厅/详情",
  11422. "produces": [
  11423. "application/json"
  11424. ],
  11425. "tags": [
  11426. "仓单贸易v2"
  11427. ],
  11428. "summary": "查询合约交易买卖大厅详情",
  11429. "parameters": [
  11430. {
  11431. "type": "integer",
  11432. "description": "商品id",
  11433. "name": "goodsid",
  11434. "in": "query",
  11435. "required": true
  11436. }
  11437. ],
  11438. "responses": {
  11439. "200": {
  11440. "description": "OK",
  11441. "schema": {
  11442. "type": "array",
  11443. "items": {
  11444. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11445. }
  11446. }
  11447. },
  11448. "500": {
  11449. "description": "Internal Server Error",
  11450. "schema": {
  11451. "$ref": "#/definitions/app.Response"
  11452. }
  11453. }
  11454. }
  11455. }
  11456. },
  11457. "/WrTrade2/QueryWrBuybackDetail": {
  11458. "get": {
  11459. "security": [
  11460. {
  11461. "ApiKeyAuth": []
  11462. }
  11463. ],
  11464. "produces": [
  11465. "application/json"
  11466. ],
  11467. "tags": [
  11468. "仓单贸易v2"
  11469. ],
  11470. "summary": "查询仓单回购明细",
  11471. "parameters": [
  11472. {
  11473. "type": "integer",
  11474. "description": "融资合同id",
  11475. "name": "scfcontractid",
  11476. "in": "query"
  11477. }
  11478. ],
  11479. "responses": {
  11480. "200": {
  11481. "description": "OK",
  11482. "schema": {
  11483. "type": "array",
  11484. "items": {
  11485. "$ref": "#/definitions/models.WrBuybackDetail"
  11486. }
  11487. }
  11488. },
  11489. "500": {
  11490. "description": "Internal Server Error",
  11491. "schema": {
  11492. "$ref": "#/definitions/app.Response"
  11493. }
  11494. }
  11495. }
  11496. }
  11497. },
  11498. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  11499. "get": {
  11500. "security": [
  11501. {
  11502. "ApiKeyAuth": []
  11503. }
  11504. ],
  11505. "produces": [
  11506. "application/json"
  11507. ],
  11508. "tags": [
  11509. "仓单贸易v2"
  11510. ],
  11511. "summary": "查询固定广告配置",
  11512. "responses": {
  11513. "200": {
  11514. "description": "OK",
  11515. "schema": {
  11516. "type": "array",
  11517. "items": {
  11518. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  11519. }
  11520. }
  11521. },
  11522. "500": {
  11523. "description": "Internal Server Error",
  11524. "schema": {
  11525. "$ref": "#/definitions/app.Response"
  11526. }
  11527. }
  11528. }
  11529. }
  11530. },
  11531. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  11532. "get": {
  11533. "security": [
  11534. {
  11535. "ApiKeyAuth": []
  11536. }
  11537. ],
  11538. "produces": [
  11539. "application/json"
  11540. ],
  11541. "tags": [
  11542. "仓单贸易v2"
  11543. ],
  11544. "summary": "查询合约交收可点选仓单",
  11545. "parameters": [
  11546. {
  11547. "type": "integer",
  11548. "description": "资金账号",
  11549. "name": "accountid",
  11550. "in": "query",
  11551. "required": true
  11552. },
  11553. {
  11554. "type": "integer",
  11555. "description": "商品id",
  11556. "name": "goodsid",
  11557. "in": "query",
  11558. "required": true
  11559. }
  11560. ],
  11561. "responses": {
  11562. "200": {
  11563. "description": "OK",
  11564. "schema": {
  11565. "type": "array",
  11566. "items": {
  11567. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  11568. }
  11569. }
  11570. },
  11571. "500": {
  11572. "description": "Internal Server Error",
  11573. "schema": {
  11574. "$ref": "#/definitions/app.Response"
  11575. }
  11576. }
  11577. }
  11578. }
  11579. },
  11580. "/WrTrade2/QueryWrDeliveryDetail": {
  11581. "get": {
  11582. "security": [
  11583. {
  11584. "ApiKeyAuth": []
  11585. }
  11586. ],
  11587. "produces": [
  11588. "application/json"
  11589. ],
  11590. "tags": [
  11591. "仓单贸易v2"
  11592. ],
  11593. "summary": "查询交收",
  11594. "parameters": [
  11595. {
  11596. "type": "integer",
  11597. "description": "用户id",
  11598. "name": "userid",
  11599. "in": "query",
  11600. "required": true
  11601. },
  11602. {
  11603. "type": "integer",
  11604. "description": "资金账号id",
  11605. "name": "accountid",
  11606. "in": "query"
  11607. },
  11608. {
  11609. "type": "string",
  11610. "description": "开始交易日(yyyymmdd)",
  11611. "name": "begindate",
  11612. "in": "query"
  11613. },
  11614. {
  11615. "type": "string",
  11616. "description": "结束交易日(yyyymmdd)",
  11617. "name": "enddate",
  11618. "in": "query"
  11619. }
  11620. ],
  11621. "responses": {
  11622. "200": {
  11623. "description": "OK",
  11624. "schema": {
  11625. "type": "array",
  11626. "items": {
  11627. "$ref": "#/definitions/models.WrDeliveryDetail"
  11628. }
  11629. }
  11630. },
  11631. "500": {
  11632. "description": "Internal Server Error",
  11633. "schema": {
  11634. "$ref": "#/definitions/app.Response"
  11635. }
  11636. }
  11637. }
  11638. }
  11639. },
  11640. "/WrTrade2/QueryWrDraftUserInfo": {
  11641. "get": {
  11642. "security": [
  11643. {
  11644. "ApiKeyAuth": []
  11645. }
  11646. ],
  11647. "produces": [
  11648. "application/json"
  11649. ],
  11650. "tags": [
  11651. "仓单贸易v2"
  11652. ],
  11653. "summary": "查询实名认证信息",
  11654. "parameters": [
  11655. {
  11656. "type": "integer",
  11657. "description": "用户ID",
  11658. "name": "userid",
  11659. "in": "query",
  11660. "required": true
  11661. },
  11662. {
  11663. "type": "integer",
  11664. "description": "用户状态 1:正常 2:注销",
  11665. "name": "userstatus",
  11666. "in": "query"
  11667. }
  11668. ],
  11669. "responses": {
  11670. "200": {
  11671. "description": "OK",
  11672. "schema": {
  11673. "type": "array",
  11674. "items": {
  11675. "$ref": "#/definitions/models.WrDraftUserInfo"
  11676. }
  11677. }
  11678. },
  11679. "500": {
  11680. "description": "Internal Server Error",
  11681. "schema": {
  11682. "$ref": "#/definitions/app.Response"
  11683. }
  11684. }
  11685. }
  11686. }
  11687. },
  11688. "/WrTrade2/QueryWrFactorTypeInfo": {
  11689. "get": {
  11690. "security": [
  11691. {
  11692. "ApiKeyAuth": []
  11693. }
  11694. ],
  11695. "produces": [
  11696. "application/json"
  11697. ],
  11698. "tags": [
  11699. "仓单贸易v2"
  11700. ],
  11701. "summary": "查询仓单要素详细信息",
  11702. "parameters": [
  11703. {
  11704. "type": "integer",
  11705. "description": "仓单要素id",
  11706. "name": "wrfactortypeid",
  11707. "in": "query",
  11708. "required": true
  11709. }
  11710. ],
  11711. "responses": {
  11712. "200": {
  11713. "description": "OK",
  11714. "schema": {
  11715. "type": "array",
  11716. "items": {
  11717. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11718. }
  11719. }
  11720. },
  11721. "500": {
  11722. "description": "Internal Server Error",
  11723. "schema": {
  11724. "$ref": "#/definitions/app.Response"
  11725. }
  11726. }
  11727. }
  11728. }
  11729. },
  11730. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11731. "get": {
  11732. "security": [
  11733. {
  11734. "ApiKeyAuth": []
  11735. }
  11736. ],
  11737. "produces": [
  11738. "application/json"
  11739. ],
  11740. "tags": [
  11741. "仓单贸易v2"
  11742. ],
  11743. "summary": "查询仓单要素详细信息列表项",
  11744. "parameters": [
  11745. {
  11746. "type": "integer",
  11747. "description": "仓单要素id",
  11748. "name": "wrfactortypeid",
  11749. "in": "query",
  11750. "required": true
  11751. }
  11752. ],
  11753. "responses": {
  11754. "200": {
  11755. "description": "OK",
  11756. "schema": {
  11757. "type": "array",
  11758. "items": {
  11759. "$ref": "#/definitions/models.WrTypeItem"
  11760. }
  11761. }
  11762. },
  11763. "500": {
  11764. "description": "Internal Server Error",
  11765. "schema": {
  11766. "$ref": "#/definitions/app.Response"
  11767. }
  11768. }
  11769. }
  11770. }
  11771. },
  11772. "/WrTrade2/QueryWrFinanceBuyApply": {
  11773. "get": {
  11774. "security": [
  11775. {
  11776. "ApiKeyAuth": []
  11777. }
  11778. ],
  11779. "description": "页面 融资信息+ / 申请单",
  11780. "produces": [
  11781. "application/json"
  11782. ],
  11783. "tags": [
  11784. "仓单贸易v2"
  11785. ],
  11786. "summary": "查询融资购买申请",
  11787. "parameters": [
  11788. {
  11789. "type": "integer",
  11790. "description": "用户id",
  11791. "name": "userid",
  11792. "in": "query",
  11793. "required": true
  11794. }
  11795. ],
  11796. "responses": {
  11797. "200": {
  11798. "description": "OK",
  11799. "schema": {
  11800. "type": "array",
  11801. "items": {
  11802. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11803. }
  11804. }
  11805. },
  11806. "500": {
  11807. "description": "Internal Server Error",
  11808. "schema": {
  11809. "$ref": "#/definitions/app.Response"
  11810. }
  11811. }
  11812. }
  11813. }
  11814. },
  11815. "/WrTrade2/QueryWrFriendApply": {
  11816. "get": {
  11817. "security": [
  11818. {
  11819. "ApiKeyAuth": []
  11820. }
  11821. ],
  11822. "produces": [
  11823. "application/json"
  11824. ],
  11825. "tags": [
  11826. "仓单贸易v2"
  11827. ],
  11828. "summary": "查询好友申请记录",
  11829. "parameters": [
  11830. {
  11831. "type": "integer",
  11832. "description": "用户id",
  11833. "name": "userid",
  11834. "in": "query",
  11835. "required": true
  11836. }
  11837. ],
  11838. "responses": {
  11839. "200": {
  11840. "description": "OK",
  11841. "schema": {
  11842. "type": "array",
  11843. "items": {
  11844. "$ref": "#/definitions/models.WrFriendApply"
  11845. }
  11846. }
  11847. },
  11848. "500": {
  11849. "description": "Internal Server Error",
  11850. "schema": {
  11851. "$ref": "#/definitions/app.Response"
  11852. }
  11853. }
  11854. }
  11855. }
  11856. },
  11857. "/WrTrade2/QueryWrGoodsInfo": {
  11858. "get": {
  11859. "security": [
  11860. {
  11861. "ApiKeyAuth": []
  11862. }
  11863. ],
  11864. "produces": [
  11865. "application/json"
  11866. ],
  11867. "tags": [
  11868. "仓单贸易v2"
  11869. ],
  11870. "summary": "查询仓单商品信息",
  11871. "parameters": [
  11872. {
  11873. "type": "integer",
  11874. "description": "仓单贸易市场id",
  11875. "name": "marketid",
  11876. "in": "query"
  11877. },
  11878. {
  11879. "type": "integer",
  11880. "description": "0:仓单预售 1:仓单贸易",
  11881. "name": "haswr",
  11882. "in": "query",
  11883. "required": true
  11884. },
  11885. {
  11886. "type": "integer",
  11887. "description": "仓单要素id",
  11888. "name": "wrfactortypeid",
  11889. "in": "query",
  11890. "required": true
  11891. },
  11892. {
  11893. "type": "integer",
  11894. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  11895. "name": "tmplateid",
  11896. "in": "query"
  11897. }
  11898. ],
  11899. "responses": {
  11900. "200": {
  11901. "description": "OK",
  11902. "schema": {
  11903. "type": "array",
  11904. "items": {
  11905. "$ref": "#/definitions/models.WrGoodsInfo"
  11906. }
  11907. }
  11908. },
  11909. "500": {
  11910. "description": "Internal Server Error",
  11911. "schema": {
  11912. "$ref": "#/definitions/app.Response"
  11913. }
  11914. }
  11915. }
  11916. }
  11917. },
  11918. "/WrTrade2/QueryWrMarketTradeConfig": {
  11919. "get": {
  11920. "security": [
  11921. {
  11922. "ApiKeyAuth": []
  11923. }
  11924. ],
  11925. "produces": [
  11926. "application/json"
  11927. ],
  11928. "tags": [
  11929. "仓单贸易v2"
  11930. ],
  11931. "summary": "查询市场交易参数配置",
  11932. "parameters": [
  11933. {
  11934. "type": "integer",
  11935. "description": "市场id",
  11936. "name": "marketid",
  11937. "in": "query"
  11938. }
  11939. ],
  11940. "responses": {
  11941. "200": {
  11942. "description": "OK",
  11943. "schema": {
  11944. "type": "array",
  11945. "items": {
  11946. "$ref": "#/definitions/models.WrMarketTradeConfig"
  11947. }
  11948. }
  11949. },
  11950. "500": {
  11951. "description": "Internal Server Error",
  11952. "schema": {
  11953. "$ref": "#/definitions/app.Response"
  11954. }
  11955. }
  11956. }
  11957. }
  11958. },
  11959. "/WrTrade2/QueryWrOrderDetail": {
  11960. "get": {
  11961. "security": [
  11962. {
  11963. "ApiKeyAuth": []
  11964. }
  11965. ],
  11966. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  11967. "produces": [
  11968. "application/json"
  11969. ],
  11970. "tags": [
  11971. "仓单贸易v2"
  11972. ],
  11973. "summary": "查询仓单委托单",
  11974. "parameters": [
  11975. {
  11976. "type": "integer",
  11977. "description": "页码",
  11978. "name": "page",
  11979. "in": "query"
  11980. },
  11981. {
  11982. "type": "integer",
  11983. "description": "每页条数",
  11984. "name": "pagesize",
  11985. "in": "query"
  11986. },
  11987. {
  11988. "type": "integer",
  11989. "description": "用户id",
  11990. "name": "userid",
  11991. "in": "query",
  11992. "required": true
  11993. },
  11994. {
  11995. "type": "integer",
  11996. "description": "仓单贸易市场id",
  11997. "name": "marketid",
  11998. "in": "query"
  11999. },
  12000. {
  12001. "type": "integer",
  12002. "description": "0:仓单预售 1:仓单贸易",
  12003. "name": "haswr",
  12004. "in": "query",
  12005. "required": true
  12006. },
  12007. {
  12008. "type": "integer",
  12009. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  12010. "name": "bcancel",
  12011. "in": "query"
  12012. },
  12013. {
  12014. "type": "integer",
  12015. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  12016. "name": "wrtradetype",
  12017. "in": "query"
  12018. },
  12019. {
  12020. "type": "string",
  12021. "description": "开始交易日(yyyymmdd)",
  12022. "name": "begindate",
  12023. "in": "query"
  12024. },
  12025. {
  12026. "type": "string",
  12027. "description": "结束交易日(yyyymmdd)",
  12028. "name": "enddate",
  12029. "in": "query"
  12030. }
  12031. ],
  12032. "responses": {
  12033. "200": {
  12034. "description": "OK",
  12035. "schema": {
  12036. "type": "array",
  12037. "items": {
  12038. "$ref": "#/definitions/models.WrOrderDetail"
  12039. }
  12040. }
  12041. },
  12042. "500": {
  12043. "description": "Internal Server Error",
  12044. "schema": {
  12045. "$ref": "#/definitions/app.Response"
  12046. }
  12047. }
  12048. }
  12049. }
  12050. },
  12051. "/WrTrade2/QueryWrOutInApply": {
  12052. "get": {
  12053. "security": [
  12054. {
  12055. "ApiKeyAuth": []
  12056. }
  12057. ],
  12058. "produces": [
  12059. "application/json"
  12060. ],
  12061. "tags": [
  12062. "仓单贸易v2"
  12063. ],
  12064. "summary": "查询提货申请",
  12065. "parameters": [
  12066. {
  12067. "type": "integer",
  12068. "description": "页码",
  12069. "name": "page",
  12070. "in": "query"
  12071. },
  12072. {
  12073. "type": "integer",
  12074. "description": "每页条数",
  12075. "name": "pagesize",
  12076. "in": "query"
  12077. },
  12078. {
  12079. "type": "integer",
  12080. "description": "用户id",
  12081. "name": "userid",
  12082. "in": "query",
  12083. "required": true
  12084. },
  12085. {
  12086. "type": "string",
  12087. "description": "开始交易日(yyyymmdd)",
  12088. "name": "begindate",
  12089. "in": "query"
  12090. },
  12091. {
  12092. "type": "string",
  12093. "description": "结束交易日(yyyymmdd)",
  12094. "name": "enddate",
  12095. "in": "query"
  12096. }
  12097. ],
  12098. "responses": {
  12099. "200": {
  12100. "description": "OK",
  12101. "schema": {
  12102. "type": "array",
  12103. "items": {
  12104. "$ref": "#/definitions/models.WrOutInApply"
  12105. }
  12106. }
  12107. },
  12108. "500": {
  12109. "description": "Internal Server Error",
  12110. "schema": {
  12111. "$ref": "#/definitions/app.Response"
  12112. }
  12113. }
  12114. }
  12115. }
  12116. },
  12117. "/WrTrade2/QueryWrPerformancePlanStep": {
  12118. "get": {
  12119. "security": [
  12120. {
  12121. "ApiKeyAuth": []
  12122. }
  12123. ],
  12124. "produces": [
  12125. "application/json"
  12126. ],
  12127. "tags": [
  12128. "仓单贸易v2"
  12129. ],
  12130. "summary": "查询履约信息详情",
  12131. "parameters": [
  12132. {
  12133. "type": "integer",
  12134. "description": "履约计划id(performanceplanid)",
  12135. "name": "planid",
  12136. "in": "query",
  12137. "required": true
  12138. },
  12139. {
  12140. "type": "integer",
  12141. "description": "当前步骤id",
  12142. "name": "curstepid",
  12143. "in": "query"
  12144. }
  12145. ],
  12146. "responses": {
  12147. "200": {
  12148. "description": "OK",
  12149. "schema": {
  12150. "type": "array",
  12151. "items": {
  12152. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12153. }
  12154. }
  12155. },
  12156. "500": {
  12157. "description": "Internal Server Error",
  12158. "schema": {
  12159. "$ref": "#/definitions/app.Response"
  12160. }
  12161. }
  12162. }
  12163. }
  12164. },
  12165. "/WrTrade2/QueryWrPerformanceStepType": {
  12166. "get": {
  12167. "security": [
  12168. {
  12169. "ApiKeyAuth": []
  12170. }
  12171. ],
  12172. "produces": [
  12173. "application/json"
  12174. ],
  12175. "tags": [
  12176. "仓单贸易v2"
  12177. ],
  12178. "summary": "查询履约步骤枚举",
  12179. "responses": {
  12180. "200": {
  12181. "description": "OK",
  12182. "schema": {
  12183. "type": "array",
  12184. "items": {
  12185. "$ref": "#/definitions/models.WrPerformanceStepType"
  12186. }
  12187. }
  12188. },
  12189. "500": {
  12190. "description": "Internal Server Error",
  12191. "schema": {
  12192. "$ref": "#/definitions/app.Response"
  12193. }
  12194. }
  12195. }
  12196. }
  12197. },
  12198. "/WrTrade2/QueryWrPosition": {
  12199. "get": {
  12200. "security": [
  12201. {
  12202. "ApiKeyAuth": []
  12203. }
  12204. ],
  12205. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12206. "produces": [
  12207. "application/json"
  12208. ],
  12209. "tags": [
  12210. "仓单贸易v2"
  12211. ],
  12212. "summary": "查询现货(预售)仓单持仓",
  12213. "parameters": [
  12214. {
  12215. "type": "integer",
  12216. "description": "用户id",
  12217. "name": "userid",
  12218. "in": "query",
  12219. "required": true
  12220. },
  12221. {
  12222. "type": "integer",
  12223. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12224. "name": "querytype",
  12225. "in": "query",
  12226. "required": true
  12227. },
  12228. {
  12229. "type": "integer",
  12230. "description": "0:仓单预售 1:仓单贸易",
  12231. "name": "haswr",
  12232. "in": "query",
  12233. "required": true
  12234. },
  12235. {
  12236. "type": "string",
  12237. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12238. "name": "dgitemname",
  12239. "in": "query"
  12240. },
  12241. {
  12242. "type": "integer",
  12243. "description": "仓库id(筛选条件)",
  12244. "name": "warehouseid",
  12245. "in": "query"
  12246. },
  12247. {
  12248. "type": "integer",
  12249. "description": "品种id",
  12250. "name": "deliverygoodsid",
  12251. "in": "query"
  12252. },
  12253. {
  12254. "type": "integer",
  12255. "description": "品类id",
  12256. "name": "wrstandardid",
  12257. "in": "query"
  12258. }
  12259. ],
  12260. "responses": {
  12261. "200": {
  12262. "description": "OK",
  12263. "schema": {
  12264. "type": "array",
  12265. "items": {
  12266. "$ref": "#/definitions/models.WrPosition"
  12267. }
  12268. }
  12269. },
  12270. "500": {
  12271. "description": "Internal Server Error",
  12272. "schema": {
  12273. "$ref": "#/definitions/app.Response"
  12274. }
  12275. }
  12276. }
  12277. }
  12278. },
  12279. "/WrTrade2/QueryWrPreSaleInfo": {
  12280. "get": {
  12281. "security": [
  12282. {
  12283. "ApiKeyAuth": []
  12284. }
  12285. ],
  12286. "produces": [
  12287. "application/json"
  12288. ],
  12289. "tags": [
  12290. "仓单贸易v2"
  12291. ],
  12292. "summary": "查询新品发布",
  12293. "parameters": [
  12294. {
  12295. "type": "integer",
  12296. "description": "市场id",
  12297. "name": "marketid",
  12298. "in": "query"
  12299. },
  12300. {
  12301. "type": "string",
  12302. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  12303. "name": "presalestatus",
  12304. "in": "query"
  12305. },
  12306. {
  12307. "type": "integer",
  12308. "description": "摇号标识 - 0:未摇号 1:已摇号",
  12309. "name": "lotteryflag",
  12310. "in": "query"
  12311. },
  12312. {
  12313. "type": "integer",
  12314. "description": "最近多少条记录(按创建时间倒序)",
  12315. "name": "lastnum",
  12316. "in": "query"
  12317. }
  12318. ],
  12319. "responses": {
  12320. "200": {
  12321. "description": "OK",
  12322. "schema": {
  12323. "type": "array",
  12324. "items": {
  12325. "$ref": "#/definitions/models.WrPreSaleInfo"
  12326. }
  12327. }
  12328. },
  12329. "500": {
  12330. "description": "Internal Server Error",
  12331. "schema": {
  12332. "$ref": "#/definitions/app.Response"
  12333. }
  12334. }
  12335. }
  12336. }
  12337. },
  12338. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  12339. "get": {
  12340. "security": [
  12341. {
  12342. "ApiKeyAuth": []
  12343. }
  12344. ],
  12345. "produces": [
  12346. "application/json"
  12347. ],
  12348. "tags": [
  12349. "仓单贸易v2"
  12350. ],
  12351. "summary": "查询价格走势",
  12352. "parameters": [
  12353. {
  12354. "type": "integer",
  12355. "description": "市场id",
  12356. "name": "marketid",
  12357. "in": "query",
  12358. "required": true
  12359. },
  12360. {
  12361. "type": "integer",
  12362. "description": "现货商品id",
  12363. "name": "wrstandardid",
  12364. "in": "query",
  12365. "required": true
  12366. },
  12367. {
  12368. "type": "string",
  12369. "description": "开始交易日(yyyymmdd)",
  12370. "name": "begindate",
  12371. "in": "query"
  12372. },
  12373. {
  12374. "type": "string",
  12375. "description": "结束交易日(yyyymmdd)",
  12376. "name": "enddate",
  12377. "in": "query"
  12378. },
  12379. {
  12380. "type": "integer",
  12381. "description": "最近多少条记录(按交易日倒序)",
  12382. "name": "lastnum",
  12383. "in": "query"
  12384. },
  12385. {
  12386. "type": "boolean",
  12387. "description": "是否今日",
  12388. "name": "istoday",
  12389. "in": "query"
  12390. }
  12391. ],
  12392. "responses": {
  12393. "200": {
  12394. "description": "OK",
  12395. "schema": {
  12396. "type": "array",
  12397. "items": {
  12398. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  12399. }
  12400. }
  12401. },
  12402. "500": {
  12403. "description": "Internal Server Error",
  12404. "schema": {
  12405. "$ref": "#/definitions/app.Response"
  12406. }
  12407. }
  12408. }
  12409. }
  12410. },
  12411. "/WrTrade2/QueryWrScfContract": {
  12412. "get": {
  12413. "security": [
  12414. {
  12415. "ApiKeyAuth": []
  12416. }
  12417. ],
  12418. "produces": [
  12419. "application/json"
  12420. ],
  12421. "tags": [
  12422. "仓单贸易v2"
  12423. ],
  12424. "summary": "查询仓单贸易融资合同",
  12425. "parameters": [
  12426. {
  12427. "type": "integer",
  12428. "description": "用户id",
  12429. "name": "userid",
  12430. "in": "query",
  12431. "required": true
  12432. },
  12433. {
  12434. "type": "integer",
  12435. "description": "融资合同id",
  12436. "name": "scfcontractid",
  12437. "in": "query"
  12438. }
  12439. ],
  12440. "responses": {
  12441. "200": {
  12442. "description": "OK",
  12443. "schema": {
  12444. "type": "array",
  12445. "items": {
  12446. "$ref": "#/definitions/models.WrScfContract"
  12447. }
  12448. }
  12449. },
  12450. "500": {
  12451. "description": "Internal Server Error",
  12452. "schema": {
  12453. "$ref": "#/definitions/app.Response"
  12454. }
  12455. }
  12456. }
  12457. }
  12458. },
  12459. "/WrTrade2/QueryWrScfContractInterest": {
  12460. "get": {
  12461. "security": [
  12462. {
  12463. "ApiKeyAuth": []
  12464. }
  12465. ],
  12466. "produces": [
  12467. "application/json"
  12468. ],
  12469. "tags": [
  12470. "仓单贸易v2"
  12471. ],
  12472. "summary": "查询融资合同费用明细",
  12473. "parameters": [
  12474. {
  12475. "type": "integer",
  12476. "description": "融资合同id",
  12477. "name": "scfcontractid",
  12478. "in": "query"
  12479. }
  12480. ],
  12481. "responses": {
  12482. "200": {
  12483. "description": "OK",
  12484. "schema": {
  12485. "type": "array",
  12486. "items": {
  12487. "$ref": "#/definitions/models.WrScfContractInterest"
  12488. }
  12489. }
  12490. },
  12491. "500": {
  12492. "description": "Internal Server Error",
  12493. "schema": {
  12494. "$ref": "#/definitions/app.Response"
  12495. }
  12496. }
  12497. }
  12498. }
  12499. },
  12500. "/WrTrade2/QueryWrSearchUser": {
  12501. "get": {
  12502. "security": [
  12503. {
  12504. "ApiKeyAuth": []
  12505. }
  12506. ],
  12507. "produces": [
  12508. "application/json"
  12509. ],
  12510. "tags": [
  12511. "仓单贸易v2"
  12512. ],
  12513. "summary": "查询用户",
  12514. "parameters": [
  12515. {
  12516. "type": "string",
  12517. "description": "用户名称(模糊匹配)",
  12518. "name": "username",
  12519. "in": "query",
  12520. "required": true
  12521. }
  12522. ],
  12523. "responses": {
  12524. "200": {
  12525. "description": "OK",
  12526. "schema": {
  12527. "type": "array",
  12528. "items": {
  12529. "$ref": "#/definitions/models.WrSearchUser"
  12530. }
  12531. }
  12532. },
  12533. "500": {
  12534. "description": "Internal Server Error",
  12535. "schema": {
  12536. "$ref": "#/definitions/app.Response"
  12537. }
  12538. }
  12539. }
  12540. }
  12541. },
  12542. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12543. "get": {
  12544. "security": [
  12545. {
  12546. "ApiKeyAuth": []
  12547. }
  12548. ],
  12549. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12550. "produces": [
  12551. "application/json"
  12552. ],
  12553. "tags": [
  12554. "仓单贸易v2"
  12555. ],
  12556. "summary": "查询指定成交",
  12557. "parameters": [
  12558. {
  12559. "type": "integer",
  12560. "description": "页码",
  12561. "name": "page",
  12562. "in": "query"
  12563. },
  12564. {
  12565. "type": "integer",
  12566. "description": "每页条数",
  12567. "name": "pagesize",
  12568. "in": "query"
  12569. },
  12570. {
  12571. "type": "integer",
  12572. "description": "用户id",
  12573. "name": "userid",
  12574. "in": "query",
  12575. "required": true
  12576. },
  12577. {
  12578. "type": "integer",
  12579. "description": "仓单贸易市场id",
  12580. "name": "marketid",
  12581. "in": "query"
  12582. },
  12583. {
  12584. "type": "integer",
  12585. "description": "0:仓单预售 1:仓单贸易",
  12586. "name": "haswr",
  12587. "in": "query",
  12588. "required": true
  12589. },
  12590. {
  12591. "type": "integer",
  12592. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  12593. "name": "isspecified",
  12594. "in": "query"
  12595. }
  12596. ],
  12597. "responses": {
  12598. "200": {
  12599. "description": "OK",
  12600. "schema": {
  12601. "type": "array",
  12602. "items": {
  12603. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12604. }
  12605. }
  12606. },
  12607. "500": {
  12608. "description": "Internal Server Error",
  12609. "schema": {
  12610. "$ref": "#/definitions/app.Response"
  12611. }
  12612. }
  12613. }
  12614. }
  12615. },
  12616. "/WrTrade2/QueryWrStandardFactoryItem": {
  12617. "get": {
  12618. "security": [
  12619. {
  12620. "ApiKeyAuth": []
  12621. }
  12622. ],
  12623. "produces": [
  12624. "application/json"
  12625. ],
  12626. "tags": [
  12627. "仓单贸易v2"
  12628. ],
  12629. "summary": "查询品类要素定义项",
  12630. "parameters": [
  12631. {
  12632. "type": "integer",
  12633. "description": "品类id",
  12634. "name": "wrstandardid",
  12635. "in": "query",
  12636. "required": true
  12637. }
  12638. ],
  12639. "responses": {
  12640. "200": {
  12641. "description": "OK",
  12642. "schema": {
  12643. "type": "array",
  12644. "items": {
  12645. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12646. }
  12647. }
  12648. },
  12649. "500": {
  12650. "description": "Internal Server Error",
  12651. "schema": {
  12652. "$ref": "#/definitions/app.Response"
  12653. }
  12654. }
  12655. }
  12656. }
  12657. },
  12658. "/WrTrade2/QueryWrTradeBargainApply": {
  12659. "get": {
  12660. "security": [
  12661. {
  12662. "ApiKeyAuth": []
  12663. }
  12664. ],
  12665. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  12666. "produces": [
  12667. "application/json"
  12668. ],
  12669. "tags": [
  12670. "仓单贸易v2"
  12671. ],
  12672. "summary": "查询议价单",
  12673. "parameters": [
  12674. {
  12675. "type": "integer",
  12676. "description": "议价人id(摘牌方)",
  12677. "name": "userid",
  12678. "in": "query"
  12679. },
  12680. {
  12681. "type": "integer",
  12682. "description": "挂牌方id(查对方议价时,填写此项)",
  12683. "name": "matchuserid",
  12684. "in": "query"
  12685. },
  12686. {
  12687. "type": "integer",
  12688. "description": "关联委托单id",
  12689. "name": "wrtradeorderid",
  12690. "in": "query"
  12691. },
  12692. {
  12693. "type": "integer",
  12694. "description": "0:仓单预售 1:仓单贸易",
  12695. "name": "haswr",
  12696. "in": "query",
  12697. "required": true
  12698. },
  12699. {
  12700. "type": "string",
  12701. "description": "开始交易日(yyyymmdd)",
  12702. "name": "begindate",
  12703. "in": "query"
  12704. },
  12705. {
  12706. "type": "string",
  12707. "description": "结束交易日(yyyymmdd)",
  12708. "name": "enddate",
  12709. "in": "query"
  12710. }
  12711. ],
  12712. "responses": {
  12713. "200": {
  12714. "description": "OK",
  12715. "schema": {
  12716. "type": "array",
  12717. "items": {
  12718. "$ref": "#/definitions/models.WRTradeBargainApply"
  12719. }
  12720. }
  12721. },
  12722. "500": {
  12723. "description": "Internal Server Error",
  12724. "schema": {
  12725. "$ref": "#/definitions/app.Response"
  12726. }
  12727. }
  12728. }
  12729. }
  12730. },
  12731. "/WrTrade2/QueryWrTradeDetail": {
  12732. "get": {
  12733. "security": [
  12734. {
  12735. "ApiKeyAuth": []
  12736. }
  12737. ],
  12738. "produces": [
  12739. "application/json"
  12740. ],
  12741. "tags": [
  12742. "仓单贸易v2"
  12743. ],
  12744. "summary": "查询仓单成交明细",
  12745. "parameters": [
  12746. {
  12747. "type": "integer",
  12748. "description": "页码",
  12749. "name": "page",
  12750. "in": "query"
  12751. },
  12752. {
  12753. "type": "integer",
  12754. "description": "每页条数",
  12755. "name": "pagesize",
  12756. "in": "query"
  12757. },
  12758. {
  12759. "type": "integer",
  12760. "description": "用户id",
  12761. "name": "userid",
  12762. "in": "query",
  12763. "required": true
  12764. },
  12765. {
  12766. "type": "integer",
  12767. "description": "仓单贸易市场id",
  12768. "name": "marketid",
  12769. "in": "query"
  12770. },
  12771. {
  12772. "type": "integer",
  12773. "description": "0:仓单预售 1:仓单贸易",
  12774. "name": "haswr",
  12775. "in": "query",
  12776. "required": true
  12777. },
  12778. {
  12779. "type": "string",
  12780. "description": "开始交易日(yyyymmdd)",
  12781. "name": "begindate",
  12782. "in": "query"
  12783. },
  12784. {
  12785. "type": "string",
  12786. "description": "结束交易日(yyyymmdd)",
  12787. "name": "enddate",
  12788. "in": "query"
  12789. }
  12790. ],
  12791. "responses": {
  12792. "200": {
  12793. "description": "OK",
  12794. "schema": {
  12795. "type": "array",
  12796. "items": {
  12797. "$ref": "#/definitions/models.WrTradeDetail"
  12798. }
  12799. }
  12800. },
  12801. "500": {
  12802. "description": "Internal Server Error",
  12803. "schema": {
  12804. "$ref": "#/definitions/app.Response"
  12805. }
  12806. }
  12807. }
  12808. }
  12809. },
  12810. "/WrTrade2/QueryWrTradeOrderDetail": {
  12811. "get": {
  12812. "security": [
  12813. {
  12814. "ApiKeyAuth": []
  12815. }
  12816. ],
  12817. "produces": [
  12818. "application/json"
  12819. ],
  12820. "tags": [
  12821. "仓单贸易v2"
  12822. ],
  12823. "summary": "查询合约交易买卖大厅",
  12824. "parameters": [
  12825. {
  12826. "type": "integer",
  12827. "description": "页码",
  12828. "name": "page",
  12829. "in": "query"
  12830. },
  12831. {
  12832. "type": "integer",
  12833. "description": "每页条数",
  12834. "name": "pagesize",
  12835. "in": "query"
  12836. },
  12837. {
  12838. "type": "integer",
  12839. "description": "商品id",
  12840. "name": "goodsid",
  12841. "in": "query",
  12842. "required": true
  12843. },
  12844. {
  12845. "type": "integer",
  12846. "description": "买卖方向 0-买 1-卖",
  12847. "name": "buyorsell",
  12848. "in": "query",
  12849. "required": true
  12850. }
  12851. ],
  12852. "responses": {
  12853. "200": {
  12854. "description": "OK",
  12855. "schema": {
  12856. "type": "array",
  12857. "items": {
  12858. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12859. }
  12860. }
  12861. },
  12862. "500": {
  12863. "description": "Internal Server Error",
  12864. "schema": {
  12865. "$ref": "#/definitions/app.Response"
  12866. }
  12867. }
  12868. }
  12869. }
  12870. },
  12871. "/WrTrade2/QueryWrTradeQuote": {
  12872. "get": {
  12873. "security": [
  12874. {
  12875. "ApiKeyAuth": []
  12876. }
  12877. ],
  12878. "produces": [
  12879. "application/json"
  12880. ],
  12881. "tags": [
  12882. "仓单贸易v2"
  12883. ],
  12884. "summary": "查询仓单贸易成交行情",
  12885. "parameters": [
  12886. {
  12887. "type": "integer",
  12888. "description": "现货商品id",
  12889. "name": "wrstandardid",
  12890. "in": "query",
  12891. "required": true
  12892. },
  12893. {
  12894. "type": "string",
  12895. "description": "开始日期(yyyymmdd)",
  12896. "name": "begindate",
  12897. "in": "query",
  12898. "required": true
  12899. },
  12900. {
  12901. "type": "string",
  12902. "description": "结束日期(yyyymmdd)",
  12903. "name": "enddate",
  12904. "in": "query",
  12905. "required": true
  12906. },
  12907. {
  12908. "type": "integer",
  12909. "description": "市场id",
  12910. "name": "marketid",
  12911. "in": "query"
  12912. }
  12913. ],
  12914. "responses": {
  12915. "200": {
  12916. "description": "OK",
  12917. "schema": {
  12918. "type": "array",
  12919. "items": {
  12920. "$ref": "#/definitions/models.Wrtradetradequote"
  12921. }
  12922. }
  12923. },
  12924. "500": {
  12925. "description": "Internal Server Error",
  12926. "schema": {
  12927. "$ref": "#/definitions/app.Response"
  12928. }
  12929. }
  12930. }
  12931. }
  12932. },
  12933. "/WrTrade2/QueryWrUserFriend": {
  12934. "get": {
  12935. "security": [
  12936. {
  12937. "ApiKeyAuth": []
  12938. }
  12939. ],
  12940. "produces": [
  12941. "application/json"
  12942. ],
  12943. "tags": [
  12944. "仓单贸易v2"
  12945. ],
  12946. "summary": "查询我的朋友",
  12947. "parameters": [
  12948. {
  12949. "type": "integer",
  12950. "description": "用户id",
  12951. "name": "userid",
  12952. "in": "query",
  12953. "required": true
  12954. },
  12955. {
  12956. "type": "integer",
  12957. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  12958. "name": "newuserid",
  12959. "in": "query"
  12960. }
  12961. ],
  12962. "responses": {
  12963. "200": {
  12964. "description": "OK",
  12965. "schema": {
  12966. "type": "array",
  12967. "items": {
  12968. "$ref": "#/definitions/models.WrUserFriend"
  12969. }
  12970. }
  12971. },
  12972. "500": {
  12973. "description": "Internal Server Error",
  12974. "schema": {
  12975. "$ref": "#/definitions/app.Response"
  12976. }
  12977. }
  12978. }
  12979. }
  12980. },
  12981. "/WrTrade2/QueryWrUserReceiptInfo": {
  12982. "get": {
  12983. "security": [
  12984. {
  12985. "ApiKeyAuth": []
  12986. }
  12987. ],
  12988. "produces": [
  12989. "application/json"
  12990. ],
  12991. "tags": [
  12992. "仓单贸易v2"
  12993. ],
  12994. "summary": "查询发票信息",
  12995. "parameters": [
  12996. {
  12997. "type": "integer",
  12998. "description": "用户id",
  12999. "name": "userid",
  13000. "in": "query"
  13001. },
  13002. {
  13003. "type": "integer",
  13004. "description": "发票类型 - 1:个人 2:企业",
  13005. "name": "receipttype",
  13006. "in": "query"
  13007. }
  13008. ],
  13009. "responses": {
  13010. "200": {
  13011. "description": "OK",
  13012. "schema": {
  13013. "type": "array",
  13014. "items": {
  13015. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13016. }
  13017. }
  13018. },
  13019. "500": {
  13020. "description": "Internal Server Error",
  13021. "schema": {
  13022. "$ref": "#/definitions/app.Response"
  13023. }
  13024. }
  13025. }
  13026. }
  13027. },
  13028. "/WrTrade2/QueryXhcpSellBackApply": {
  13029. "get": {
  13030. "security": [
  13031. {
  13032. "ApiKeyAuth": []
  13033. }
  13034. ],
  13035. "produces": [
  13036. "application/json"
  13037. ],
  13038. "tags": [
  13039. "仓单贸易v2"
  13040. ],
  13041. "summary": "查询我的回收申请(新会陈皮)",
  13042. "parameters": [
  13043. {
  13044. "type": "integer",
  13045. "description": "用户ID",
  13046. "name": "userid",
  13047. "in": "query",
  13048. "required": true
  13049. }
  13050. ],
  13051. "responses": {
  13052. "200": {
  13053. "description": "OK",
  13054. "schema": {
  13055. "type": "array",
  13056. "items": {
  13057. "$ref": "#/definitions/models.Xhcpsellbackapply"
  13058. }
  13059. }
  13060. },
  13061. "500": {
  13062. "description": "Internal Server Error",
  13063. "schema": {
  13064. "$ref": "#/definitions/app.Response"
  13065. }
  13066. }
  13067. }
  13068. }
  13069. },
  13070. "/ZJ/GetBankTip": {
  13071. "get": {
  13072. "produces": [
  13073. "application/json"
  13074. ],
  13075. "tags": [
  13076. "中江"
  13077. ],
  13078. "summary": "获取中江网银端出入金提示信息",
  13079. "responses": {
  13080. "200": {
  13081. "description": "OK",
  13082. "schema": {
  13083. "type": "string"
  13084. }
  13085. },
  13086. "500": {
  13087. "description": "Internal Server Error",
  13088. "schema": {
  13089. "$ref": "#/definitions/app.Response"
  13090. }
  13091. }
  13092. }
  13093. }
  13094. },
  13095. "/ZJ/GetCusBankChannels": {
  13096. "get": {
  13097. "produces": [
  13098. "application/json"
  13099. ],
  13100. "tags": [
  13101. "中江"
  13102. ],
  13103. "summary": "获取中江出入金渠道显示列表",
  13104. "responses": {
  13105. "200": {
  13106. "description": "OK",
  13107. "schema": {
  13108. "type": "array",
  13109. "items": {
  13110. "type": "string"
  13111. }
  13112. }
  13113. },
  13114. "500": {
  13115. "description": "Internal Server Error",
  13116. "schema": {
  13117. "$ref": "#/definitions/app.Response"
  13118. }
  13119. }
  13120. }
  13121. }
  13122. }
  13123. },
  13124. "definitions": {
  13125. "app.Response": {
  13126. "type": "object",
  13127. "properties": {
  13128. "code": {
  13129. "type": "integer"
  13130. },
  13131. "data": {},
  13132. "msg": {
  13133. "type": "string"
  13134. },
  13135. "page": {
  13136. "description": "页码",
  13137. "type": "integer"
  13138. },
  13139. "pagesize": {
  13140. "description": "每页条数",
  13141. "type": "integer"
  13142. },
  13143. "total": {
  13144. "description": "总条数",
  13145. "type": "integer"
  13146. }
  13147. }
  13148. },
  13149. "common.ClientMenu": {
  13150. "type": "object",
  13151. "properties": {
  13152. "children": {
  13153. "description": "子菜单列表",
  13154. "type": "array",
  13155. "items": {
  13156. "$ref": "#/definitions/common.ClientMenu"
  13157. }
  13158. },
  13159. "code": {
  13160. "description": "ID",
  13161. "type": "string"
  13162. },
  13163. "isshow": {
  13164. "description": "是否显示",
  13165. "type": "boolean"
  13166. },
  13167. "remark": {
  13168. "description": "备注",
  13169. "type": "string"
  13170. },
  13171. "rulekey": {
  13172. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13173. "type": "string"
  13174. },
  13175. "sort": {
  13176. "description": "排序",
  13177. "type": "integer"
  13178. },
  13179. "title": {
  13180. "description": "标题",
  13181. "type": "string"
  13182. },
  13183. "type": {
  13184. "description": "类型,1:菜单 2:按钮",
  13185. "type": "integer"
  13186. },
  13187. "url": {
  13188. "description": "URL",
  13189. "type": "string"
  13190. }
  13191. }
  13192. },
  13193. "common.PCWebMenu": {
  13194. "type": "object",
  13195. "properties": {
  13196. "auth": {
  13197. "description": "页面权限列表",
  13198. "type": "array",
  13199. "items": {
  13200. "$ref": "#/definitions/common.PCWebMenuAuth"
  13201. }
  13202. },
  13203. "children": {
  13204. "description": "子菜单列表",
  13205. "type": "array",
  13206. "items": {
  13207. "$ref": "#/definitions/common.PCWebMenu"
  13208. }
  13209. },
  13210. "code": {
  13211. "description": "ID,新版本中权限KEY也是这个字段",
  13212. "type": "string"
  13213. },
  13214. "component": {
  13215. "description": "路由组件",
  13216. "type": "string"
  13217. },
  13218. "isshow": {
  13219. "description": "是否显示",
  13220. "type": "boolean"
  13221. },
  13222. "path": {
  13223. "description": "路由路径",
  13224. "type": "string"
  13225. },
  13226. "remark": {
  13227. "description": "备注",
  13228. "type": "string"
  13229. },
  13230. "rulekey": {
  13231. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  13232. "type": "string"
  13233. },
  13234. "sort": {
  13235. "description": "排序",
  13236. "type": "integer"
  13237. },
  13238. "title": {
  13239. "description": "标题",
  13240. "type": "string"
  13241. },
  13242. "url": {
  13243. "description": "URL",
  13244. "type": "string"
  13245. }
  13246. }
  13247. },
  13248. "common.PCWebMenuAuth": {
  13249. "type": "object",
  13250. "properties": {
  13251. "code": {
  13252. "description": "ID,新版本中权限KEY也是这个字段",
  13253. "type": "string"
  13254. },
  13255. "isshow": {
  13256. "description": "是否显示",
  13257. "type": "boolean"
  13258. },
  13259. "label": {
  13260. "description": "标题",
  13261. "type": "string"
  13262. },
  13263. "remark": {
  13264. "description": "备注",
  13265. "type": "string"
  13266. },
  13267. "rulekey": {
  13268. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  13269. "type": "string"
  13270. }
  13271. }
  13272. },
  13273. "common.QueryImageConfigsRsp": {
  13274. "type": "object",
  13275. "required": [
  13276. "configid"
  13277. ],
  13278. "properties": {
  13279. "areauserid": {
  13280. "description": "所属机构ID",
  13281. "type": "integer"
  13282. },
  13283. "configid": {
  13284. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13285. "type": "integer"
  13286. },
  13287. "createdate": {
  13288. "description": "创建时间",
  13289. "type": "string"
  13290. },
  13291. "creatorid": {
  13292. "description": "创建人",
  13293. "type": "integer"
  13294. },
  13295. "imagedetailpath": {
  13296. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  13297. "type": "string"
  13298. },
  13299. "imagepath": {
  13300. "description": "图片",
  13301. "type": "string"
  13302. },
  13303. "imagetype": {
  13304. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13305. "type": "integer"
  13306. },
  13307. "isshow": {
  13308. "description": "是否展示 - 0:不展示 1:展示",
  13309. "type": "integer"
  13310. },
  13311. "marketid": {
  13312. "description": "市场ID",
  13313. "type": "integer"
  13314. },
  13315. "modifierid": {
  13316. "description": "操作人",
  13317. "type": "integer"
  13318. },
  13319. "sort": {
  13320. "description": "排序",
  13321. "type": "integer"
  13322. },
  13323. "title": {
  13324. "description": "标题",
  13325. "type": "string"
  13326. },
  13327. "trademode": {
  13328. "description": "交易模式",
  13329. "type": "integer"
  13330. },
  13331. "updatedate": {
  13332. "description": "修改时间",
  13333. "type": "string"
  13334. },
  13335. "url": {
  13336. "description": "链接(地址或商品ID)",
  13337. "type": "string"
  13338. },
  13339. "urltype": {
  13340. "description": "链接类型 - 1:直接地址 2:商品ID",
  13341. "type": "integer"
  13342. }
  13343. }
  13344. },
  13345. "common.QueryNoticeRsp": {
  13346. "type": "object",
  13347. "required": [
  13348. "autoid"
  13349. ],
  13350. "properties": {
  13351. "auditoruserid": {
  13352. "description": "审核人",
  13353. "type": "integer"
  13354. },
  13355. "auditremark": {
  13356. "description": "审核备注",
  13357. "type": "string"
  13358. },
  13359. "audittime": {
  13360. "description": "审核日期",
  13361. "type": "string"
  13362. },
  13363. "autoid": {
  13364. "description": "自增ID",
  13365. "type": "integer"
  13366. },
  13367. "content": {
  13368. "description": "内容",
  13369. "type": "string"
  13370. },
  13371. "createtime": {
  13372. "description": "创建时间",
  13373. "type": "string"
  13374. },
  13375. "creatorid": {
  13376. "description": "建仓人",
  13377. "type": "integer"
  13378. },
  13379. "endtime": {
  13380. "description": "结束时间",
  13381. "type": "string"
  13382. },
  13383. "istop": {
  13384. "description": "是否置顶 - 0:不置顶 1:置顶",
  13385. "type": "integer"
  13386. },
  13387. "msgiconurl": {
  13388. "description": "消息图标Url",
  13389. "type": "string"
  13390. },
  13391. "msgtype": {
  13392. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13393. "type": "integer"
  13394. },
  13395. "publisher": {
  13396. "description": "消息发布者",
  13397. "type": "string"
  13398. },
  13399. "readed": {
  13400. "description": "是否已读",
  13401. "type": "boolean"
  13402. },
  13403. "scheduletime": {
  13404. "description": "计划发送时间",
  13405. "type": "string"
  13406. },
  13407. "sendtype": {
  13408. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13409. "type": "integer"
  13410. },
  13411. "sentstatus": {
  13412. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13413. "type": "integer"
  13414. },
  13415. "title": {
  13416. "description": "标题",
  13417. "type": "string"
  13418. },
  13419. "userid": {
  13420. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13421. "type": "integer"
  13422. }
  13423. }
  13424. },
  13425. "common.QueryProvincesAndCitiesRsp": {
  13426. "type": "object",
  13427. "properties": {
  13428. "cities": {
  13429. "description": "市",
  13430. "type": "array",
  13431. "items": {
  13432. "$ref": "#/definitions/models.Division"
  13433. }
  13434. },
  13435. "province": {
  13436. "description": "省",
  13437. "$ref": "#/definitions/models.Division"
  13438. }
  13439. }
  13440. },
  13441. "common.QueryTableDefineRsp": {
  13442. "type": "object",
  13443. "required": [
  13444. "tablekey"
  13445. ],
  13446. "properties": {
  13447. "columns": {
  13448. "description": "列头信息数组",
  13449. "type": "array",
  13450. "items": {
  13451. "$ref": "#/definitions/models.Tablecolumnconfig"
  13452. }
  13453. },
  13454. "remark": {
  13455. "description": "Remark",
  13456. "type": "string"
  13457. },
  13458. "tabelmenu": {
  13459. "description": "列表菜单",
  13460. "type": "string"
  13461. },
  13462. "tablekey": {
  13463. "description": "列表Key",
  13464. "type": "string"
  13465. },
  13466. "tablename": {
  13467. "description": "列表名称",
  13468. "type": "string"
  13469. },
  13470. "tabletype": {
  13471. "description": "列表类型 - 1:管理端 2:终端",
  13472. "type": "integer"
  13473. }
  13474. }
  13475. },
  13476. "common.QueryTraderMenuRsp": {
  13477. "type": "object",
  13478. "properties": {
  13479. "OperationMenu": {
  13480. "description": "功能菜单",
  13481. "type": "array",
  13482. "items": {
  13483. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13484. }
  13485. },
  13486. "QuoteMenu": {
  13487. "description": "报价牌分类菜单",
  13488. "type": "array",
  13489. "items": {
  13490. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13491. }
  13492. }
  13493. }
  13494. },
  13495. "cptrade.Cptradepositioncancel": {
  13496. "type": "object",
  13497. "required": [
  13498. "cancelid"
  13499. ],
  13500. "properties": {
  13501. "accountid": {
  13502. "description": "申请人账户ID",
  13503. "type": "integer"
  13504. },
  13505. "applystatus": {
  13506. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13507. "type": "integer"
  13508. },
  13509. "applytime": {
  13510. "description": "申请时间",
  13511. "type": "string"
  13512. },
  13513. "cancelid": {
  13514. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13515. "type": "integer"
  13516. },
  13517. "cancelqty": {
  13518. "description": "注销数量",
  13519. "type": "integer"
  13520. },
  13521. "createtime": {
  13522. "description": "创建时间",
  13523. "type": "string"
  13524. },
  13525. "creatorid": {
  13526. "description": "创建人ID",
  13527. "type": "integer"
  13528. },
  13529. "creatorname": {
  13530. "description": "创建人",
  13531. "type": "string"
  13532. },
  13533. "goodscode": {
  13534. "description": "订单商品代码",
  13535. "type": "string"
  13536. },
  13537. "goodsid": {
  13538. "description": "商品ID",
  13539. "type": "integer"
  13540. },
  13541. "goodsname": {
  13542. "description": "订单商品名称",
  13543. "type": "string"
  13544. },
  13545. "goodunit": {
  13546. "description": "报价单位",
  13547. "type": "string"
  13548. },
  13549. "handlestatus": {
  13550. "description": "处理状态",
  13551. "type": "integer"
  13552. },
  13553. "marketid": {
  13554. "description": "市场ID",
  13555. "type": "integer"
  13556. },
  13557. "marketname": {
  13558. "description": "市场名称",
  13559. "type": "string"
  13560. },
  13561. "tradedate": {
  13562. "description": "交易日(yyyyMMdd)",
  13563. "type": "string"
  13564. },
  13565. "userid": {
  13566. "description": "申请人ID",
  13567. "type": "integer"
  13568. }
  13569. }
  13570. },
  13571. "cptrade.Cptradepresaleapply": {
  13572. "type": "object",
  13573. "required": [
  13574. "applyid"
  13575. ],
  13576. "properties": {
  13577. "accountid": {
  13578. "description": "申请人账户ID",
  13579. "type": "integer"
  13580. },
  13581. "applyid": {
  13582. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13583. "type": "integer"
  13584. },
  13585. "applyremark": {
  13586. "description": "申请备注",
  13587. "type": "string"
  13588. },
  13589. "applystatus": {
  13590. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13591. "type": "integer"
  13592. },
  13593. "applytime": {
  13594. "description": "申请时间",
  13595. "type": "string"
  13596. },
  13597. "attachmenturl": {
  13598. "description": "附件地址",
  13599. "type": "string"
  13600. },
  13601. "endtime": {
  13602. "description": "预售结束时间",
  13603. "type": "string"
  13604. },
  13605. "goodscode": {
  13606. "description": "商品代码",
  13607. "type": "string"
  13608. },
  13609. "goodsid": {
  13610. "description": "商品ID",
  13611. "type": "integer"
  13612. },
  13613. "goodsname": {
  13614. "description": "商品名称",
  13615. "type": "string"
  13616. },
  13617. "goodunit": {
  13618. "description": "报价单位",
  13619. "type": "string"
  13620. },
  13621. "handlestatus": {
  13622. "description": "处理状态",
  13623. "type": "integer"
  13624. },
  13625. "marketid": {
  13626. "description": "预售市场ID",
  13627. "type": "integer"
  13628. },
  13629. "marketname": {
  13630. "description": "预售市场名称",
  13631. "type": "string"
  13632. },
  13633. "presaleqty": {
  13634. "description": "预售数量",
  13635. "type": "integer"
  13636. },
  13637. "relatedgoodscode": {
  13638. "description": "关联交易合约代码",
  13639. "type": "string"
  13640. },
  13641. "relatedgoodsid": {
  13642. "description": "关联交易合约ID",
  13643. "type": "integer"
  13644. },
  13645. "relatedgoodsname": {
  13646. "description": "关联交易合约名称",
  13647. "type": "string"
  13648. },
  13649. "starttime": {
  13650. "description": "预售开始时间",
  13651. "type": "string"
  13652. },
  13653. "tradedate": {
  13654. "description": "交易日(yyyyMMdd)",
  13655. "type": "string"
  13656. },
  13657. "trademode": {
  13658. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13659. "type": "integer"
  13660. },
  13661. "userid": {
  13662. "description": "申请人ID",
  13663. "type": "integer"
  13664. }
  13665. }
  13666. },
  13667. "cptrade.Cptradeusergoodsdata": {
  13668. "type": "object",
  13669. "required": [
  13670. "accountid",
  13671. "goodsid"
  13672. ],
  13673. "properties": {
  13674. "EnabledQty": {
  13675. "description": "可用量",
  13676. "type": "integer"
  13677. },
  13678. "GoodsCode": {
  13679. "description": "订单商品代码",
  13680. "type": "string"
  13681. },
  13682. "GoodsName": {
  13683. "description": "订单商品名称",
  13684. "type": "string"
  13685. },
  13686. "WRStandardCode": {
  13687. "description": "仓单标准代码",
  13688. "type": "string"
  13689. },
  13690. "WRStandardName": {
  13691. "description": "仓单标准名称",
  13692. "type": "string"
  13693. },
  13694. "accountid": {
  13695. "description": "账户ID",
  13696. "type": "integer"
  13697. },
  13698. "cancelqty": {
  13699. "description": "注销量",
  13700. "type": "integer"
  13701. },
  13702. "curpresaleqty": {
  13703. "description": "当前预售量",
  13704. "type": "integer"
  13705. },
  13706. "deliveryqty": {
  13707. "description": "交割量",
  13708. "type": "integer"
  13709. },
  13710. "freezeamount": {
  13711. "description": "冻结金额",
  13712. "type": "number"
  13713. },
  13714. "goodsid": {
  13715. "description": "商品ID",
  13716. "type": "integer"
  13717. },
  13718. "goodunit": {
  13719. "description": "报价单位",
  13720. "type": "string"
  13721. },
  13722. "hasspotfreeze": {
  13723. "description": "是否有现货冻结 - 0:否 1:有",
  13724. "type": "integer"
  13725. },
  13726. "inqty": {
  13727. "description": "转入量(总数量)",
  13728. "type": "integer"
  13729. },
  13730. "marketid": {
  13731. "description": "市场ID",
  13732. "type": "integer"
  13733. },
  13734. "presaledamount": {
  13735. "description": "已预售总金额",
  13736. "type": "integer"
  13737. },
  13738. "presaledqty": {
  13739. "description": "已预售量",
  13740. "type": "integer"
  13741. },
  13742. "userid": {
  13743. "description": "用户ID",
  13744. "type": "integer"
  13745. },
  13746. "wrstandardid": {
  13747. "description": "仓单标准ID",
  13748. "type": "integer"
  13749. }
  13750. }
  13751. },
  13752. "cptrade.QueryCPTradeMyBidRsp": {
  13753. "type": "object",
  13754. "required": [
  13755. "accountid",
  13756. "goodsid",
  13757. "marketid",
  13758. "orderid",
  13759. "orderqty",
  13760. "ordertime",
  13761. "tradeprice",
  13762. "tradeqty"
  13763. ],
  13764. "properties": {
  13765. "accountid": {
  13766. "description": "账户ID[报价币种]",
  13767. "type": "integer"
  13768. },
  13769. "goodsid": {
  13770. "description": "商品ID",
  13771. "type": "integer"
  13772. },
  13773. "goodunit": {
  13774. "description": "报价单位",
  13775. "type": "string"
  13776. },
  13777. "marketid": {
  13778. "description": "市场ID",
  13779. "type": "integer"
  13780. },
  13781. "orderid": {
  13782. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13783. "type": "integer"
  13784. },
  13785. "orderprice": {
  13786. "description": "委托价格",
  13787. "type": "number"
  13788. },
  13789. "orderqty": {
  13790. "description": "委托数量",
  13791. "type": "integer"
  13792. },
  13793. "ordertime": {
  13794. "description": "委托时间",
  13795. "type": "string"
  13796. },
  13797. "ordertotalprice": {
  13798. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13799. "type": "number"
  13800. },
  13801. "ordertotalweight": {
  13802. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13803. "type": "integer"
  13804. },
  13805. "totaltotalprice": {
  13806. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13807. "type": "number"
  13808. },
  13809. "tradeprice": {
  13810. "description": "成交价格",
  13811. "type": "number"
  13812. },
  13813. "tradeqty": {
  13814. "description": "成交数量",
  13815. "type": "integer"
  13816. }
  13817. }
  13818. },
  13819. "cptrade.QueryCPTradeOrderDetailRsq": {
  13820. "type": "object",
  13821. "required": [
  13822. "accountid",
  13823. "buildtype",
  13824. "buyorsell",
  13825. "goodsid",
  13826. "marketid",
  13827. "memberuserid",
  13828. "operatetype",
  13829. "orderqty",
  13830. "ordertime",
  13831. "pricemode",
  13832. "strorderid",
  13833. "tradedate",
  13834. "validtype"
  13835. ],
  13836. "properties": {
  13837. "accountid": {
  13838. "description": "账户ID[报价币种]",
  13839. "type": "integer"
  13840. },
  13841. "buildtype": {
  13842. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13843. "type": "integer"
  13844. },
  13845. "buyorsell": {
  13846. "description": "买卖 - 0:买 1:卖",
  13847. "type": "integer"
  13848. },
  13849. "cancelorderid": {
  13850. "description": "撤单单号(撤单时填写)",
  13851. "type": "integer"
  13852. },
  13853. "cancelqty": {
  13854. "description": "撤单数量",
  13855. "type": "integer"
  13856. },
  13857. "clientordertime": {
  13858. "description": "客户端委托时间",
  13859. "type": "string"
  13860. },
  13861. "clientticket": {
  13862. "description": "客户端流水号",
  13863. "type": "string"
  13864. },
  13865. "clienttype": {
  13866. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13867. "type": "integer"
  13868. },
  13869. "closeexchagechargevalue": {
  13870. "description": "平仓交易所手续费设置值",
  13871. "type": "number"
  13872. },
  13873. "closefeealgorithm": {
  13874. "description": "平仓手续费收取方式 1:比率 2:固定",
  13875. "type": "integer"
  13876. },
  13877. "closefreezecharge": {
  13878. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13879. "type": "number"
  13880. },
  13881. "closememberchargevalue": {
  13882. "description": "平仓会员手续费设置值",
  13883. "type": "number"
  13884. },
  13885. "closeqty": {
  13886. "description": "平仓数量(先建后平操作 需要记录)",
  13887. "type": "integer"
  13888. },
  13889. "closetradeqty": {
  13890. "description": "平仓成交数量(先建后平操作,需要记录)",
  13891. "type": "integer"
  13892. },
  13893. "closeunfreezecharge": {
  13894. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13895. "type": "number"
  13896. },
  13897. "delistingtype": {
  13898. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13899. "type": "integer"
  13900. },
  13901. "freezecharge": {
  13902. "description": "冻结手续费",
  13903. "type": "number"
  13904. },
  13905. "freezemargin": {
  13906. "description": "冻结保证金(冻结交易金额)",
  13907. "type": "number"
  13908. },
  13909. "gcaccountid": {
  13910. "description": "账户ID[合约币种]",
  13911. "type": "integer"
  13912. },
  13913. "goodsid": {
  13914. "description": "商品ID",
  13915. "type": "integer"
  13916. },
  13917. "isconfirmexercise": {
  13918. "description": "是否确认行权- 0:否 1:是",
  13919. "type": "integer"
  13920. },
  13921. "ispreexercise": {
  13922. "description": "是否预申报- 0:否 1:是",
  13923. "type": "integer"
  13924. },
  13925. "listingselecttype": {
  13926. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13927. "type": "integer"
  13928. },
  13929. "marginalgorithm": {
  13930. "description": "保证金收取方式 1:比率 2:固定",
  13931. "type": "integer"
  13932. },
  13933. "marginvalue": {
  13934. "description": "即市保证金设置值",
  13935. "type": "number"
  13936. },
  13937. "marketid": {
  13938. "description": "市场ID",
  13939. "type": "integer"
  13940. },
  13941. "marketmaxsub": {
  13942. "description": "市价最大偏移范围",
  13943. "type": "number"
  13944. },
  13945. "memberuserid": {
  13946. "description": "所属会员UserID",
  13947. "type": "integer"
  13948. },
  13949. "openexchagechargevalue": {
  13950. "description": "建仓交易所手续费设置值",
  13951. "type": "number"
  13952. },
  13953. "openfeealgorithm": {
  13954. "description": "建仓手续费收取方式 1:比率 2:固定",
  13955. "type": "integer"
  13956. },
  13957. "openfreezecharge": {
  13958. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13959. "type": "number"
  13960. },
  13961. "openmemberchargevalue": {
  13962. "description": "建仓会员手续费设置值",
  13963. "type": "number"
  13964. },
  13965. "openqty": {
  13966. "description": "开仓数量(先建后平操作,需要记录)",
  13967. "type": "integer"
  13968. },
  13969. "opentradeqty": {
  13970. "description": "开仓成交数量(先建后平操作,需要记录)",
  13971. "type": "integer"
  13972. },
  13973. "openunfreezecharge": {
  13974. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13975. "type": "number"
  13976. },
  13977. "operatetype": {
  13978. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13979. "type": "integer"
  13980. },
  13981. "operatorid": {
  13982. "description": "登录账号(LoginID)",
  13983. "type": "integer"
  13984. },
  13985. "optiontype": {
  13986. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13987. "type": "integer"
  13988. },
  13989. "orderprice": {
  13990. "description": "委托价格",
  13991. "type": "number"
  13992. },
  13993. "orderqty": {
  13994. "description": "委托数量",
  13995. "type": "integer"
  13996. },
  13997. "ordersrc": {
  13998. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13999. "type": "integer"
  14000. },
  14001. "orderstatus": {
  14002. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14003. "type": "integer"
  14004. },
  14005. "ordertime": {
  14006. "description": "委托时间",
  14007. "type": "string"
  14008. },
  14009. "preexerciseprice": {
  14010. "description": "预申报价格",
  14011. "type": "number"
  14012. },
  14013. "premium": {
  14014. "description": "权利金",
  14015. "type": "number"
  14016. },
  14017. "preorderid": {
  14018. "description": "关联预埋单号(止盈止损单时填写)",
  14019. "type": "integer"
  14020. },
  14021. "pricemode": {
  14022. "description": "取价方式 - 1:市价 2: 限价",
  14023. "type": "integer"
  14024. },
  14025. "quoteid": {
  14026. "description": "报价单ID",
  14027. "type": "integer"
  14028. },
  14029. "relatedid": {
  14030. "description": "关联单号(交割单)",
  14031. "type": "integer"
  14032. },
  14033. "retcode": {
  14034. "description": "错误代码",
  14035. "type": "integer"
  14036. },
  14037. "sessionid": {
  14038. "description": "会话ID",
  14039. "type": "integer"
  14040. },
  14041. "strorderid": {
  14042. "description": "委托单号",
  14043. "type": "string"
  14044. },
  14045. "tradedate": {
  14046. "description": "交易日(yyyyMMdd)",
  14047. "type": "string"
  14048. },
  14049. "tradeproperty": {
  14050. "description": "交易属性",
  14051. "type": "integer"
  14052. },
  14053. "tradeqty": {
  14054. "description": "成交数量",
  14055. "type": "integer"
  14056. },
  14057. "unfreezecharge": {
  14058. "description": "解冻手续费",
  14059. "type": "number"
  14060. },
  14061. "unfreezemargin": {
  14062. "description": "解冻保证金",
  14063. "type": "number"
  14064. },
  14065. "updatetime": {
  14066. "description": "更新时间",
  14067. "type": "string"
  14068. },
  14069. "uuid": {
  14070. "description": "发起端唯一id",
  14071. "type": "string"
  14072. },
  14073. "validtime": {
  14074. "description": "有效期限",
  14075. "type": "string"
  14076. },
  14077. "validtype": {
  14078. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14079. "type": "integer"
  14080. },
  14081. "volumetype": {
  14082. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14083. "type": "integer"
  14084. }
  14085. }
  14086. },
  14087. "cptrade.QueryMyCPTradeGoodsRsp": {
  14088. "type": "object",
  14089. "required": [
  14090. "goodscode",
  14091. "goodsid",
  14092. "goodsname",
  14093. "marketid",
  14094. "relatedgoodscode",
  14095. "relatedgoodsname"
  14096. ],
  14097. "properties": {
  14098. "accountid": {
  14099. "description": "卖方账户ID",
  14100. "type": "integer"
  14101. },
  14102. "agreeunit": {
  14103. "description": "合约单位",
  14104. "type": "number"
  14105. },
  14106. "applyid": {
  14107. "description": "关联申请ID",
  14108. "type": "integer"
  14109. },
  14110. "attachmenturl": {
  14111. "description": "附件地址",
  14112. "type": "string"
  14113. },
  14114. "createtime": {
  14115. "description": "创建时间",
  14116. "type": "string"
  14117. },
  14118. "currencyid": {
  14119. "description": "报价货币ID",
  14120. "type": "integer"
  14121. },
  14122. "decimalplace": {
  14123. "description": "报价小数位",
  14124. "type": "integer"
  14125. },
  14126. "endtime": {
  14127. "description": "预售结束时间",
  14128. "type": "string"
  14129. },
  14130. "floorprice": {
  14131. "description": "底价[大宗式竞拍]",
  14132. "type": "number"
  14133. },
  14134. "goodscode": {
  14135. "description": "商品代码(预售)",
  14136. "type": "string"
  14137. },
  14138. "goodsdetail": {
  14139. "description": "详情[大宗]",
  14140. "type": "string"
  14141. },
  14142. "goodsid": {
  14143. "description": "商品ID(自增ID SEQ_GOODS)",
  14144. "type": "integer"
  14145. },
  14146. "goodsname": {
  14147. "description": "商品名称(预售)",
  14148. "type": "string"
  14149. },
  14150. "goodunit": {
  14151. "description": "报价单位",
  14152. "type": "string"
  14153. },
  14154. "goodunitid": {
  14155. "description": "报价单位ID",
  14156. "type": "integer"
  14157. },
  14158. "marketid": {
  14159. "description": "所属市场ID",
  14160. "type": "integer"
  14161. },
  14162. "marketname": {
  14163. "description": "预售市场名称",
  14164. "type": "string"
  14165. },
  14166. "presaledamount": {
  14167. "description": "已预售总金额(预售结束时更新)",
  14168. "type": "number"
  14169. },
  14170. "presaledqty": {
  14171. "description": "已预售量(预售结束时更新)",
  14172. "type": "integer"
  14173. },
  14174. "presalemode": {
  14175. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14176. "type": "integer"
  14177. },
  14178. "presaleqty": {
  14179. "description": "预售数量",
  14180. "type": "integer"
  14181. },
  14182. "refprice": {
  14183. "description": "参考价格[一口价]",
  14184. "type": "number"
  14185. },
  14186. "relatedgoodscode": {
  14187. "description": "商品代码(订单)",
  14188. "type": "string"
  14189. },
  14190. "relatedgoodsid": {
  14191. "description": "关联交易合约ID",
  14192. "type": "integer"
  14193. },
  14194. "relatedgoodsname": {
  14195. "description": "商品名称(订单)",
  14196. "type": "string"
  14197. },
  14198. "relatedmarketid": {
  14199. "description": "关联交易合约市场ID",
  14200. "type": "integer"
  14201. },
  14202. "sellstatus": {
  14203. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14204. "type": "integer"
  14205. },
  14206. "startprice": {
  14207. "description": "起拍价[大宗式竞拍]",
  14208. "type": "number"
  14209. },
  14210. "starttime": {
  14211. "description": "预售开始时间",
  14212. "type": "string"
  14213. },
  14214. "tradedate": {
  14215. "description": "交易日(yyyyMMdd)",
  14216. "type": "string"
  14217. },
  14218. "tradeprice": {
  14219. "description": "成交价[大宗]",
  14220. "type": "number"
  14221. },
  14222. "userid": {
  14223. "description": "卖方用户ID",
  14224. "type": "integer"
  14225. }
  14226. }
  14227. },
  14228. "cptrade.QueryPresaleGoodsExRsp": {
  14229. "type": "object",
  14230. "required": [
  14231. "goodsid"
  14232. ],
  14233. "properties": {
  14234. "attachmenturl": {
  14235. "description": "附件地址",
  14236. "type": "string"
  14237. },
  14238. "createtime": {
  14239. "description": "创建时间",
  14240. "type": "string"
  14241. },
  14242. "endtime": {
  14243. "description": "预售结束时间",
  14244. "type": "string"
  14245. },
  14246. "floorprice": {
  14247. "description": "底价[大宗式竞拍]",
  14248. "type": "number"
  14249. },
  14250. "goodsdetail": {
  14251. "description": "详情[大宗]",
  14252. "type": "string"
  14253. },
  14254. "goodsid": {
  14255. "description": "商品ID(预售)",
  14256. "type": "integer"
  14257. },
  14258. "goodunit": {
  14259. "description": "报价单位",
  14260. "type": "string"
  14261. },
  14262. "marketid": {
  14263. "description": "预售市场ID - 根据预售模式选择市场",
  14264. "type": "integer"
  14265. },
  14266. "presaledamount": {
  14267. "description": "已预售总金额(预售结束时更新)",
  14268. "type": "number"
  14269. },
  14270. "presaledqty": {
  14271. "description": "已预售量(预售结束时更新)",
  14272. "type": "integer"
  14273. },
  14274. "presalemode": {
  14275. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14276. "type": "integer"
  14277. },
  14278. "presaleqty": {
  14279. "description": "预售数量",
  14280. "type": "integer"
  14281. },
  14282. "refprice": {
  14283. "description": "参考价格[一口价]",
  14284. "type": "number"
  14285. },
  14286. "relatedgoodsid": {
  14287. "description": "关联交易合约ID",
  14288. "type": "integer"
  14289. },
  14290. "relatedmarketid": {
  14291. "description": "关联交易合约市场ID",
  14292. "type": "integer"
  14293. },
  14294. "sellstatus": {
  14295. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14296. "type": "integer"
  14297. },
  14298. "startprice": {
  14299. "description": "起拍价[大宗式竞拍]",
  14300. "type": "number"
  14301. },
  14302. "starttime": {
  14303. "description": "预售开始时间",
  14304. "type": "string"
  14305. },
  14306. "tradedate": {
  14307. "description": "交易日(yyyyMMdd)",
  14308. "type": "string"
  14309. },
  14310. "tradeprice": {
  14311. "description": "成交价[大宗]",
  14312. "type": "number"
  14313. }
  14314. }
  14315. },
  14316. "delivery.QueryDeliveryRelationRsp": {
  14317. "type": "object",
  14318. "required": [
  14319. "begindate",
  14320. "enddate",
  14321. "goodsid",
  14322. "mindeliveryqty",
  14323. "xdeliveryratio"
  14324. ],
  14325. "properties": {
  14326. "begindate": {
  14327. "description": "起始日期(yyyyMMdd)",
  14328. "type": "string"
  14329. },
  14330. "buytemplateid": {
  14331. "description": "买履约计划模板ID",
  14332. "type": "integer"
  14333. },
  14334. "deliverygoodscode": {
  14335. "description": "品种代码",
  14336. "type": "string"
  14337. },
  14338. "deliverygoodsid": {
  14339. "description": "交割商品",
  14340. "type": "integer"
  14341. },
  14342. "deliverygoodsname": {
  14343. "description": "品种名称",
  14344. "type": "string"
  14345. },
  14346. "deliverymode": {
  14347. "description": "交割方式 - 1:点选式 2:申报式",
  14348. "type": "integer"
  14349. },
  14350. "deliverypricerule": {
  14351. "description": "交割价规则- 1:行情价 2:建仓价",
  14352. "type": "integer"
  14353. },
  14354. "deliverytype": {
  14355. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14356. "type": "integer"
  14357. },
  14358. "enddate": {
  14359. "description": "结束日期(yyyyMMdd)",
  14360. "type": "string"
  14361. },
  14362. "enumdicname": {
  14363. "description": "品类单位名称",
  14364. "type": "string"
  14365. },
  14366. "goodscode": {
  14367. "description": "商品代码",
  14368. "type": "string"
  14369. },
  14370. "goodsid": {
  14371. "description": "交易合约ID",
  14372. "type": "integer"
  14373. },
  14374. "goodsname": {
  14375. "description": "商品名称",
  14376. "type": "string"
  14377. },
  14378. "marketid": {
  14379. "description": "市场ID",
  14380. "type": "integer"
  14381. },
  14382. "mindeliveryqty": {
  14383. "description": "最小交割系数(K)",
  14384. "type": "integer"
  14385. },
  14386. "p2deliveryprice": {
  14387. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14388. "type": "number"
  14389. },
  14390. "p2deliveryratio": {
  14391. "description": "P2合约系数(p)",
  14392. "type": "integer"
  14393. },
  14394. "p2goodsid": {
  14395. "description": "P2合约ID",
  14396. "type": "integer"
  14397. },
  14398. "p2pricemode": {
  14399. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14400. "type": "integer"
  14401. },
  14402. "pdeliveryprice": {
  14403. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14404. "type": "number"
  14405. },
  14406. "pdeliveryratio": {
  14407. "description": "P合约系数(n)",
  14408. "type": "integer"
  14409. },
  14410. "pgoodscode": {
  14411. "description": "p合约代码",
  14412. "type": "string"
  14413. },
  14414. "pgoodsid": {
  14415. "description": "P合约ID",
  14416. "type": "integer"
  14417. },
  14418. "ppricemode": {
  14419. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14420. "type": "integer"
  14421. },
  14422. "rratio": {
  14423. "description": "兑换系数(R)",
  14424. "type": "integer"
  14425. },
  14426. "rratio1": {
  14427. "description": "兑换系数(交易合约)(R1)",
  14428. "type": "integer"
  14429. },
  14430. "rratio2": {
  14431. "description": "兑换系数(仓单标准)(R2)",
  14432. "type": "integer"
  14433. },
  14434. "selltemplateid": {
  14435. "description": "卖履约计划模板ID",
  14436. "type": "integer"
  14437. },
  14438. "wrstandardid": {
  14439. "description": "仓单标准ID",
  14440. "type": "integer"
  14441. },
  14442. "xdeliveryratio": {
  14443. "description": "交易合约系数(m)",
  14444. "type": "integer"
  14445. }
  14446. }
  14447. },
  14448. "ermcp.ExposureDetailRsp": {
  14449. "type": "object",
  14450. "properties": {
  14451. "areauserid": {
  14452. "description": "机构ID",
  14453. "type": "integer"
  14454. },
  14455. "changeQty": {
  14456. "description": "套保变动量",
  14457. "type": "number"
  14458. },
  14459. "contracttype": {
  14460. "description": "现货合同类型 - 1:采购 -1:销售",
  14461. "type": "integer"
  14462. },
  14463. "convertfactor": {
  14464. "description": "标仓系数",
  14465. "type": "number"
  14466. },
  14467. "convertratio": {
  14468. "description": "套保系数",
  14469. "type": "number"
  14470. },
  14471. "createtime": {
  14472. "description": "时间",
  14473. "type": "string"
  14474. },
  14475. "enumdicname": {
  14476. "description": "现货商品单位名称",
  14477. "type": "string"
  14478. },
  14479. "logtype": {
  14480. "description": "类型 - 1:套保计划 2:现货合同",
  14481. "type": "integer"
  14482. },
  14483. "middlegoodsId": {
  14484. "description": "套保商品id",
  14485. "type": "integer"
  14486. },
  14487. "middlegoodscode": {
  14488. "description": "套保商品代码",
  14489. "type": "string"
  14490. },
  14491. "middlegoodsname": {
  14492. "description": "套保商品名称",
  14493. "type": "string"
  14494. },
  14495. "qty": {
  14496. "description": "数量",
  14497. "type": "number"
  14498. },
  14499. "relateNo": {
  14500. "description": "现货合同/套保计划编号",
  14501. "type": "string"
  14502. },
  14503. "wrstandardcode": {
  14504. "description": "现货商品代码",
  14505. "type": "string"
  14506. },
  14507. "wrstandardid": {
  14508. "description": "现货商品ID",
  14509. "type": "integer"
  14510. },
  14511. "wrstandardname": {
  14512. "description": "现货商品名称",
  14513. "type": "string"
  14514. }
  14515. }
  14516. },
  14517. "ermcp.ExposureHedgePosDetailRsp": {
  14518. "type": "object",
  14519. "properties": {
  14520. "buyorsell": {
  14521. "description": "买卖方向 0-买 1-卖",
  14522. "type": "integer"
  14523. },
  14524. "channelbuildtype": {
  14525. "description": "开平方向 1-建仓 2-平仓",
  14526. "type": "integer"
  14527. },
  14528. "goodscode": {
  14529. "description": "商品代码",
  14530. "type": "string"
  14531. },
  14532. "goodsname": {
  14533. "description": "商品名称",
  14534. "type": "string"
  14535. },
  14536. "hedgegoodsid": {
  14537. "description": "商品id",
  14538. "type": "integer"
  14539. },
  14540. "tradeqty": {
  14541. "description": "数量(成交数量)",
  14542. "type": "integer"
  14543. },
  14544. "tradetime": {
  14545. "description": "时间(成交时间)",
  14546. "type": "string"
  14547. }
  14548. }
  14549. },
  14550. "ermcp.ExposureHedgePositionRsp": {
  14551. "type": "object",
  14552. "properties": {
  14553. "accountid": {
  14554. "description": "资金账号[外部母账户]",
  14555. "type": "integer"
  14556. },
  14557. "curbuyposition": {
  14558. "description": "期末买头寸",
  14559. "type": "integer"
  14560. },
  14561. "cursellposition": {
  14562. "description": "期末卖头寸",
  14563. "type": "integer"
  14564. },
  14565. "curtdbuyposition": {
  14566. "description": "期末今日买头寸",
  14567. "type": "integer"
  14568. },
  14569. "curtdsellposition": {
  14570. "description": "期末今日卖头寸",
  14571. "type": "integer"
  14572. },
  14573. "curydbuyposition": {
  14574. "description": "期末上日买头寸",
  14575. "type": "integer"
  14576. },
  14577. "curydsellposition": {
  14578. "description": "期末上日卖头寸",
  14579. "type": "integer"
  14580. },
  14581. "decreaseqty": {
  14582. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14583. "type": "integer"
  14584. },
  14585. "fretdbuyposition": {
  14586. "description": "冻结今日买头寸",
  14587. "type": "integer"
  14588. },
  14589. "fretdsellposition": {
  14590. "description": "冻结今日卖头寸",
  14591. "type": "integer"
  14592. },
  14593. "freydbuyposition": {
  14594. "description": "冻结上日买头寸",
  14595. "type": "integer"
  14596. },
  14597. "freydsellposition": {
  14598. "description": "冻结上日卖头寸",
  14599. "type": "integer"
  14600. },
  14601. "goodscode": {
  14602. "description": "商品代码",
  14603. "type": "string"
  14604. },
  14605. "goodsid": {
  14606. "description": "商品id",
  14607. "type": "integer"
  14608. },
  14609. "goodsname": {
  14610. "description": "商品名称",
  14611. "type": "string"
  14612. },
  14613. "hedgeaccountcode": {
  14614. "description": "对冲账号",
  14615. "type": "string"
  14616. },
  14617. "hedgegoodsid": {
  14618. "description": "对冲合约ID",
  14619. "type": "integer"
  14620. },
  14621. "increaseqty": {
  14622. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14623. "type": "integer"
  14624. },
  14625. "marketid": {
  14626. "description": "市场ID",
  14627. "type": "integer"
  14628. },
  14629. "relateduserid": {
  14630. "description": "关联用户id",
  14631. "type": "integer"
  14632. },
  14633. "totalcurqty": {
  14634. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14635. "type": "integer"
  14636. },
  14637. "totalydqty": {
  14638. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14639. "type": "integer"
  14640. },
  14641. "tradedate": {
  14642. "description": "交易日(yyyyMMdd)",
  14643. "type": "string"
  14644. },
  14645. "ydbuyposition": {
  14646. "description": "期初买头寸",
  14647. "type": "integer"
  14648. },
  14649. "ydsellposition": {
  14650. "description": "期初卖头寸",
  14651. "type": "integer"
  14652. }
  14653. }
  14654. },
  14655. "ermcp.ExposureSpotDetailRsp": {
  14656. "type": "object",
  14657. "properties": {
  14658. "contracttype": {
  14659. "description": "合同类型 1-采购 -1-销售",
  14660. "type": "integer"
  14661. },
  14662. "createtime": {
  14663. "description": "创建时间",
  14664. "type": "string"
  14665. },
  14666. "enumdicname": {
  14667. "description": "现货商品单位名称",
  14668. "type": "string"
  14669. },
  14670. "logtype": {
  14671. "description": "记录类型 1-套保 2-现货合同",
  14672. "type": "integer"
  14673. },
  14674. "qty": {
  14675. "description": "数量",
  14676. "type": "number"
  14677. },
  14678. "recordname": {
  14679. "description": "类型名称",
  14680. "type": "string"
  14681. },
  14682. "relatedid": {
  14683. "description": "套保计划ID/现货合同ID",
  14684. "type": "string"
  14685. },
  14686. "relatedno": {
  14687. "description": "编号",
  14688. "type": "string"
  14689. },
  14690. "strtime": {
  14691. "description": "时间",
  14692. "type": "string"
  14693. },
  14694. "wrstandardcode": {
  14695. "description": "现货商品代码",
  14696. "type": "string"
  14697. },
  14698. "wrstandardname": {
  14699. "description": "现货商品名称",
  14700. "type": "string"
  14701. }
  14702. }
  14703. },
  14704. "ermcp.ExposureSpotRsp": {
  14705. "type": "object",
  14706. "properties": {
  14707. "areauserid": {
  14708. "description": "所属机构",
  14709. "type": "integer"
  14710. },
  14711. "decreaseqty": {
  14712. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14713. "type": "number"
  14714. },
  14715. "increaseqty": {
  14716. "description": "增加数量=销售计划数量+采购已定价数量",
  14717. "type": "number"
  14718. },
  14719. "oritoalspotqty": {
  14720. "description": "昨日数量",
  14721. "type": "number"
  14722. },
  14723. "totalspotqty": {
  14724. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14725. "type": "number"
  14726. },
  14727. "updatetime": {
  14728. "description": "更新时间",
  14729. "type": "string"
  14730. },
  14731. "wrstandardcode": {
  14732. "description": "现货品种代码",
  14733. "type": "string"
  14734. },
  14735. "wrstandardid": {
  14736. "description": "现货商品ID",
  14737. "type": "integer"
  14738. },
  14739. "wrstandardname": {
  14740. "description": "现货品种",
  14741. "type": "string"
  14742. }
  14743. }
  14744. },
  14745. "ermcp.HisExposureRsp": {
  14746. "type": "object",
  14747. "properties": {
  14748. "data": {
  14749. "description": "历史敞口",
  14750. "type": "array",
  14751. "items": {
  14752. "$ref": "#/definitions/models.ErmcpHisExposure"
  14753. }
  14754. },
  14755. "enumdicname": {
  14756. "description": "单位名称",
  14757. "type": "string"
  14758. },
  14759. "middlegoodscode": {
  14760. "description": "套保品种代码",
  14761. "type": "string"
  14762. },
  14763. "middlegoodsid": {
  14764. "description": "套保品种ID",
  14765. "type": "integer"
  14766. },
  14767. "middlegoodsname": {
  14768. "description": "套保品种名称",
  14769. "type": "string"
  14770. }
  14771. }
  14772. },
  14773. "ermcp.PendingAuditCntRsp": {
  14774. "type": "object",
  14775. "properties": {
  14776. "areastockqty": {
  14777. "description": "待审核数量: 库存申请",
  14778. "type": "integer"
  14779. },
  14780. "businessdjqty": {
  14781. "description": "待审核数量: 点价",
  14782. "type": "integer"
  14783. },
  14784. "businessfpqty": {
  14785. "description": "待审核数量: 发票",
  14786. "type": "integer"
  14787. },
  14788. "businessjsqty": {
  14789. "description": "待审核数量: 结算",
  14790. "type": "integer"
  14791. },
  14792. "businesskxqty": {
  14793. "description": "待审核数量: 款项",
  14794. "type": "integer"
  14795. },
  14796. "hedgeplanqty": {
  14797. "description": "待审核数量: 套保计划",
  14798. "type": "integer"
  14799. },
  14800. "spotcontractqty": {
  14801. "description": "待审核数量: 现货合同",
  14802. "type": "integer"
  14803. },
  14804. "userqty": {
  14805. "description": "待审核数量: 用户",
  14806. "type": "integer"
  14807. }
  14808. }
  14809. },
  14810. "ermcp.QryAvalidGPRsp": {
  14811. "type": "object",
  14812. "properties": {
  14813. "goodsgroupid": {
  14814. "description": "期货品种id",
  14815. "type": "integer"
  14816. },
  14817. "goodsgroupname": {
  14818. "description": "期货品种名称",
  14819. "type": "string"
  14820. },
  14821. "goodunitid": {
  14822. "description": "品种单位id",
  14823. "type": "integer"
  14824. },
  14825. "goodunitname": {
  14826. "description": "品种单位名称",
  14827. "type": "string"
  14828. },
  14829. "outergroupcode": {
  14830. "description": "期货品种代码",
  14831. "type": "string"
  14832. }
  14833. }
  14834. },
  14835. "ermcp.QryBusinessDjRsp": {
  14836. "type": "object",
  14837. "properties": {
  14838. "amount": {
  14839. "description": "期初均价",
  14840. "type": "number"
  14841. },
  14842. "applyid": {
  14843. "description": "申请人",
  14844. "type": "string"
  14845. },
  14846. "applyname": {
  14847. "description": "申请人名称",
  14848. "type": "string"
  14849. },
  14850. "applystatus": {
  14851. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14852. "type": "integer"
  14853. },
  14854. "applytime": {
  14855. "description": "申请时间",
  14856. "type": "string"
  14857. },
  14858. "attachurl": {
  14859. "description": "附件",
  14860. "type": "string"
  14861. },
  14862. "auditid": {
  14863. "description": "审核人ID",
  14864. "type": "string"
  14865. },
  14866. "auditname": {
  14867. "description": "审核人名称",
  14868. "type": "string"
  14869. },
  14870. "auditremark": {
  14871. "description": "审核备注",
  14872. "type": "string"
  14873. },
  14874. "audittime": {
  14875. "description": "审核时间",
  14876. "type": "string"
  14877. },
  14878. "buyusername": {
  14879. "description": "采购方名称",
  14880. "type": "string"
  14881. },
  14882. "contractno": {
  14883. "description": "合同编号",
  14884. "type": "string"
  14885. },
  14886. "contractstatus": {
  14887. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14888. "type": "integer"
  14889. },
  14890. "contracttype": {
  14891. "description": "现货合同类型 - 1:采购 -1:销售",
  14892. "type": "integer"
  14893. },
  14894. "deliverygoodscode": {
  14895. "description": "现货品种代码",
  14896. "type": "string"
  14897. },
  14898. "deliverygoodsid": {
  14899. "description": "现货商品ID",
  14900. "type": "integer"
  14901. },
  14902. "deliverygoodsname": {
  14903. "description": "现货品种名称",
  14904. "type": "string"
  14905. },
  14906. "enumdicname": {
  14907. "description": "单位名称",
  14908. "type": "string"
  14909. },
  14910. "goodscode": {
  14911. "description": "点价合约",
  14912. "type": "string"
  14913. },
  14914. "goodsname": {
  14915. "description": "商品名称",
  14916. "type": "string"
  14917. },
  14918. "operateapplyid": {
  14919. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14920. "type": "string"
  14921. },
  14922. "operateapplytype": {
  14923. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14924. "type": "integer"
  14925. },
  14926. "pricedPrice": {
  14927. "description": "点价价格(非必填)",
  14928. "type": "number"
  14929. },
  14930. "pricedQty": {
  14931. "description": "点价数量(非必填)",
  14932. "type": "number"
  14933. },
  14934. "pricemove": {
  14935. "description": "升贴水",
  14936. "type": "number"
  14937. },
  14938. "pricetype": {
  14939. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14940. "type": "integer"
  14941. },
  14942. "relatedid": {
  14943. "description": "现货合同ID",
  14944. "type": "string"
  14945. },
  14946. "sellusername": {
  14947. "description": "销售方名字",
  14948. "type": "string"
  14949. },
  14950. "userid": {
  14951. "description": "用户ID",
  14952. "type": "integer"
  14953. },
  14954. "wrstandardcode": {
  14955. "description": "品类代码",
  14956. "type": "string"
  14957. },
  14958. "wrstandardid": {
  14959. "description": "品类id",
  14960. "type": "integer"
  14961. },
  14962. "wrstandardname": {
  14963. "description": "品类名称",
  14964. "type": "string"
  14965. }
  14966. }
  14967. },
  14968. "ermcp.QryBussinessFpRsp": {
  14969. "type": "object",
  14970. "properties": {
  14971. "applyid": {
  14972. "description": "申请人",
  14973. "type": "string"
  14974. },
  14975. "applyname": {
  14976. "description": "申请人名称",
  14977. "type": "string"
  14978. },
  14979. "applystatus": {
  14980. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14981. "type": "integer"
  14982. },
  14983. "applytime": {
  14984. "description": "申请时间",
  14985. "type": "string"
  14986. },
  14987. "attachurl": {
  14988. "description": "附件",
  14989. "type": "string"
  14990. },
  14991. "auditid": {
  14992. "description": "审核人ID",
  14993. "type": "string"
  14994. },
  14995. "auditname": {
  14996. "description": "审核人名称",
  14997. "type": "string"
  14998. },
  14999. "auditremark": {
  15000. "description": "审核备注",
  15001. "type": "string"
  15002. },
  15003. "audittime": {
  15004. "description": "审核时间",
  15005. "type": "string"
  15006. },
  15007. "buyusername": {
  15008. "description": "采购方名称",
  15009. "type": "string"
  15010. },
  15011. "contractno": {
  15012. "description": "合同编号",
  15013. "type": "string"
  15014. },
  15015. "contractstatus": {
  15016. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15017. "type": "integer"
  15018. },
  15019. "contracttype": {
  15020. "description": "现货合同类型 - 1:采购 -1:销售",
  15021. "type": "integer"
  15022. },
  15023. "deliverygoodscode": {
  15024. "description": "现货品种代码",
  15025. "type": "string"
  15026. },
  15027. "deliverygoodsid": {
  15028. "description": "现货商品ID",
  15029. "type": "integer"
  15030. },
  15031. "deliverygoodsname": {
  15032. "description": "现货品种名称",
  15033. "type": "string"
  15034. },
  15035. "enumdicname": {
  15036. "description": "单位名称",
  15037. "type": "string"
  15038. },
  15039. "goodscode": {
  15040. "description": "点价合约",
  15041. "type": "string"
  15042. },
  15043. "goodsname": {
  15044. "description": "商品名称",
  15045. "type": "string"
  15046. },
  15047. "invoiceamount": {
  15048. "description": "已开收票金额(销售为开票,采购为收票)",
  15049. "type": "number"
  15050. },
  15051. "operateapplyid": {
  15052. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15053. "type": "string"
  15054. },
  15055. "operateapplytype": {
  15056. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15057. "type": "integer"
  15058. },
  15059. "pricemove": {
  15060. "description": "升贴水",
  15061. "type": "number"
  15062. },
  15063. "pricetype": {
  15064. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15065. "type": "integer"
  15066. },
  15067. "relatedid": {
  15068. "description": "现货合同ID",
  15069. "type": "string"
  15070. },
  15071. "sellusername": {
  15072. "description": "销售方名字",
  15073. "type": "string"
  15074. },
  15075. "userid": {
  15076. "description": "用户ID",
  15077. "type": "integer"
  15078. },
  15079. "wrstandardcode": {
  15080. "description": "品类代码",
  15081. "type": "string"
  15082. },
  15083. "wrstandardid": {
  15084. "description": "品类id",
  15085. "type": "integer"
  15086. },
  15087. "wrstandardname": {
  15088. "description": "品类名称",
  15089. "type": "string"
  15090. }
  15091. }
  15092. },
  15093. "ermcp.QryBussinessJsExRsp": {
  15094. "type": "object",
  15095. "properties": {
  15096. "applyid": {
  15097. "description": "申请人",
  15098. "type": "string"
  15099. },
  15100. "applyname": {
  15101. "description": "申请人名称",
  15102. "type": "string"
  15103. },
  15104. "applystatus": {
  15105. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15106. "type": "integer"
  15107. },
  15108. "applytime": {
  15109. "description": "申请时间",
  15110. "type": "string"
  15111. },
  15112. "attachurl": {
  15113. "description": "附件",
  15114. "type": "string"
  15115. },
  15116. "auditid": {
  15117. "description": "审核人ID",
  15118. "type": "string"
  15119. },
  15120. "auditname": {
  15121. "description": "审核人名称",
  15122. "type": "string"
  15123. },
  15124. "auditremark": {
  15125. "description": "审核备注",
  15126. "type": "string"
  15127. },
  15128. "audittime": {
  15129. "description": "审核时间",
  15130. "type": "string"
  15131. },
  15132. "buyusername": {
  15133. "description": "采购方名称",
  15134. "type": "string"
  15135. },
  15136. "contractno": {
  15137. "description": "合同编号",
  15138. "type": "string"
  15139. },
  15140. "contractstatus": {
  15141. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15142. "type": "integer"
  15143. },
  15144. "contracttype": {
  15145. "description": "现货合同类型 - 1:采购 -1:销售",
  15146. "type": "integer"
  15147. },
  15148. "deliverygoodscode": {
  15149. "description": "现货品种代码",
  15150. "type": "string"
  15151. },
  15152. "deliverygoodsid": {
  15153. "description": "现货商品ID",
  15154. "type": "integer"
  15155. },
  15156. "deliverygoodsname": {
  15157. "description": "现货品种名称",
  15158. "type": "string"
  15159. },
  15160. "enumdicname": {
  15161. "description": "单位名称",
  15162. "type": "string"
  15163. },
  15164. "goodscode": {
  15165. "description": "点价合约",
  15166. "type": "string"
  15167. },
  15168. "goodsname": {
  15169. "description": "商品名称",
  15170. "type": "string"
  15171. },
  15172. "operateapplyid": {
  15173. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15174. "type": "string"
  15175. },
  15176. "operateapplytype": {
  15177. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15178. "type": "integer"
  15179. },
  15180. "pricemove": {
  15181. "description": "升贴水",
  15182. "type": "number"
  15183. },
  15184. "pricetype": {
  15185. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15186. "type": "integer"
  15187. },
  15188. "reckontype": {
  15189. "description": "结算类型",
  15190. "type": "string"
  15191. },
  15192. "reckonvalue": {
  15193. "description": "值",
  15194. "type": "number"
  15195. },
  15196. "relatedid": {
  15197. "description": "现货合同ID",
  15198. "type": "string"
  15199. },
  15200. "sellusername": {
  15201. "description": "销售方名字",
  15202. "type": "string"
  15203. },
  15204. "userid": {
  15205. "description": "用户ID",
  15206. "type": "integer"
  15207. },
  15208. "wrstandardcode": {
  15209. "description": "品类代码",
  15210. "type": "string"
  15211. },
  15212. "wrstandardid": {
  15213. "description": "品类id",
  15214. "type": "integer"
  15215. },
  15216. "wrstandardname": {
  15217. "description": "品类名称",
  15218. "type": "string"
  15219. }
  15220. }
  15221. },
  15222. "ermcp.QryBussinessJsRsp": {
  15223. "type": "object",
  15224. "properties": {
  15225. "addmargin": {
  15226. "description": "追加保证金(非必填)",
  15227. "type": "number"
  15228. },
  15229. "applyid": {
  15230. "description": "申请人",
  15231. "type": "string"
  15232. },
  15233. "applyname": {
  15234. "description": "申请人名称",
  15235. "type": "string"
  15236. },
  15237. "applystatus": {
  15238. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15239. "type": "integer"
  15240. },
  15241. "applytime": {
  15242. "description": "申请时间",
  15243. "type": "string"
  15244. },
  15245. "attachurl": {
  15246. "description": "附件",
  15247. "type": "string"
  15248. },
  15249. "auditid": {
  15250. "description": "审核人ID",
  15251. "type": "string"
  15252. },
  15253. "auditname": {
  15254. "description": "审核人名称",
  15255. "type": "string"
  15256. },
  15257. "auditremark": {
  15258. "description": "审核备注",
  15259. "type": "string"
  15260. },
  15261. "audittime": {
  15262. "description": "审核时间",
  15263. "type": "string"
  15264. },
  15265. "buyusername": {
  15266. "description": "采购方名称",
  15267. "type": "string"
  15268. },
  15269. "contractno": {
  15270. "description": "合同编号",
  15271. "type": "string"
  15272. },
  15273. "contractstatus": {
  15274. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15275. "type": "integer"
  15276. },
  15277. "contracttype": {
  15278. "description": "现货合同类型 - 1:采购 -1:销售",
  15279. "type": "integer"
  15280. },
  15281. "decmargin": {
  15282. "description": "减少保证金(非必填)",
  15283. "type": "number"
  15284. },
  15285. "deliverygoodscode": {
  15286. "description": "现货品种代码",
  15287. "type": "string"
  15288. },
  15289. "deliverygoodsid": {
  15290. "description": "现货商品ID",
  15291. "type": "integer"
  15292. },
  15293. "deliverygoodsname": {
  15294. "description": "现货品种名称",
  15295. "type": "string"
  15296. },
  15297. "enumdicname": {
  15298. "description": "单位名称",
  15299. "type": "string"
  15300. },
  15301. "goodscode": {
  15302. "description": "点价合约",
  15303. "type": "string"
  15304. },
  15305. "goodsname": {
  15306. "description": "商品名称",
  15307. "type": "string"
  15308. },
  15309. "operateapplyid": {
  15310. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15311. "type": "string"
  15312. },
  15313. "operateapplytype": {
  15314. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15315. "type": "integer"
  15316. },
  15317. "pricemove": {
  15318. "description": "升贴水",
  15319. "type": "number"
  15320. },
  15321. "pricetype": {
  15322. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15323. "type": "integer"
  15324. },
  15325. "reckonadjustamount": {
  15326. "description": "结算调整金额(非必填)",
  15327. "type": "number"
  15328. },
  15329. "reckonosamount": {
  15330. "description": "结算溢短金额(非必填)",
  15331. "type": "number"
  15332. },
  15333. "reckonotheramount": {
  15334. "description": "结算其他费用(非必填)",
  15335. "type": "number"
  15336. },
  15337. "reckonrealqty": {
  15338. "description": "结算实际数量(非必填)",
  15339. "type": "number"
  15340. },
  15341. "relatedid": {
  15342. "description": "现货合同ID",
  15343. "type": "string"
  15344. },
  15345. "sellusername": {
  15346. "description": "销售方名字",
  15347. "type": "string"
  15348. },
  15349. "userid": {
  15350. "description": "用户ID",
  15351. "type": "integer"
  15352. },
  15353. "wrstandardcode": {
  15354. "description": "品类代码",
  15355. "type": "string"
  15356. },
  15357. "wrstandardid": {
  15358. "description": "品类id",
  15359. "type": "integer"
  15360. },
  15361. "wrstandardname": {
  15362. "description": "品类名称",
  15363. "type": "string"
  15364. }
  15365. }
  15366. },
  15367. "ermcp.QryBussinessKxRsp": {
  15368. "type": "object",
  15369. "properties": {
  15370. "applyid": {
  15371. "description": "申请人",
  15372. "type": "string"
  15373. },
  15374. "applyname": {
  15375. "description": "申请人名称",
  15376. "type": "string"
  15377. },
  15378. "applystatus": {
  15379. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15380. "type": "integer"
  15381. },
  15382. "applytime": {
  15383. "description": "申请时间",
  15384. "type": "string"
  15385. },
  15386. "attachurl": {
  15387. "description": "附件",
  15388. "type": "string"
  15389. },
  15390. "auditid": {
  15391. "description": "审核人ID",
  15392. "type": "string"
  15393. },
  15394. "auditname": {
  15395. "description": "审核人名称",
  15396. "type": "string"
  15397. },
  15398. "auditremark": {
  15399. "description": "审核备注",
  15400. "type": "string"
  15401. },
  15402. "audittime": {
  15403. "description": "审核时间",
  15404. "type": "string"
  15405. },
  15406. "buyusername": {
  15407. "description": "采购方名称",
  15408. "type": "string"
  15409. },
  15410. "contractno": {
  15411. "description": "合同编号",
  15412. "type": "string"
  15413. },
  15414. "contractstatus": {
  15415. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15416. "type": "integer"
  15417. },
  15418. "contracttype": {
  15419. "description": "现货合同类型 - 1:采购 -1:销售",
  15420. "type": "integer"
  15421. },
  15422. "deductamount": {
  15423. "description": "期初均价",
  15424. "type": "number"
  15425. },
  15426. "deliverygoodscode": {
  15427. "description": "现货品种代码",
  15428. "type": "string"
  15429. },
  15430. "deliverygoodsid": {
  15431. "description": "现货商品ID",
  15432. "type": "integer"
  15433. },
  15434. "deliverygoodsname": {
  15435. "description": "现货品种名称",
  15436. "type": "string"
  15437. },
  15438. "enumdicname": {
  15439. "description": "单位名称",
  15440. "type": "string"
  15441. },
  15442. "goodscode": {
  15443. "description": "点价合约",
  15444. "type": "string"
  15445. },
  15446. "goodsname": {
  15447. "description": "商品名称",
  15448. "type": "string"
  15449. },
  15450. "kxtype": {
  15451. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15452. "type": "integer"
  15453. },
  15454. "operateapplyid": {
  15455. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15456. "type": "string"
  15457. },
  15458. "operateapplytype": {
  15459. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15460. "type": "integer"
  15461. },
  15462. "payamount": {
  15463. "description": "期初均价",
  15464. "type": "number"
  15465. },
  15466. "pricemove": {
  15467. "description": "升贴水",
  15468. "type": "number"
  15469. },
  15470. "pricetype": {
  15471. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15472. "type": "integer"
  15473. },
  15474. "relatedid": {
  15475. "description": "现货合同ID",
  15476. "type": "string"
  15477. },
  15478. "sellusername": {
  15479. "description": "销售方名字",
  15480. "type": "string"
  15481. },
  15482. "userid": {
  15483. "description": "用户ID",
  15484. "type": "integer"
  15485. },
  15486. "wrstandardcode": {
  15487. "description": "品类代码",
  15488. "type": "string"
  15489. },
  15490. "wrstandardid": {
  15491. "description": "品类id",
  15492. "type": "integer"
  15493. },
  15494. "wrstandardname": {
  15495. "description": "品类名称",
  15496. "type": "string"
  15497. }
  15498. }
  15499. },
  15500. "ermcp.QryGGCovertCfgRsp": {
  15501. "type": "object",
  15502. "properties": {
  15503. "convertratio": {
  15504. "description": "折算系数",
  15505. "type": "number"
  15506. },
  15507. "destgoodsgroupid": {
  15508. "description": "目标品种ID",
  15509. "type": "integer"
  15510. },
  15511. "dstcode": {
  15512. "description": "目录品种代码",
  15513. "type": "string"
  15514. },
  15515. "dstexchangecode": {
  15516. "description": "目标期货交易所",
  15517. "type": "string"
  15518. },
  15519. "dstname": {
  15520. "description": "目标品种名称",
  15521. "type": "string"
  15522. },
  15523. "dstunitid": {
  15524. "description": "目标品种单位ID",
  15525. "type": "integer"
  15526. },
  15527. "dstunitidname": {
  15528. "description": "目标品种单位名称",
  15529. "type": "string"
  15530. },
  15531. "modifytime": {
  15532. "description": "修改时间",
  15533. "type": "string"
  15534. },
  15535. "srccode": {
  15536. "description": "源品种代码",
  15537. "type": "string"
  15538. },
  15539. "srcexchangecode": {
  15540. "description": "源期货交易所",
  15541. "type": "string"
  15542. },
  15543. "srcgoodsgroupid": {
  15544. "description": "源品种ID",
  15545. "type": "integer"
  15546. },
  15547. "srcname": {
  15548. "description": "源品种名称",
  15549. "type": "string"
  15550. },
  15551. "srcunitid": {
  15552. "description": "源品种单位ID",
  15553. "type": "integer"
  15554. },
  15555. "srcunitidname": {
  15556. "description": "源品种单位名称",
  15557. "type": "string"
  15558. }
  15559. }
  15560. },
  15561. "ermcp.QryMGChangeLogRsp": {
  15562. "type": "object",
  15563. "properties": {
  15564. "aftervalue": {
  15565. "description": "变更后",
  15566. "type": "number"
  15567. },
  15568. "applyid": {
  15569. "description": "操作人",
  15570. "type": "integer"
  15571. },
  15572. "applyname": {
  15573. "description": "操作人名称",
  15574. "type": "string"
  15575. },
  15576. "applysrc": {
  15577. "description": "操作来源 - 1:管理端 2:终端",
  15578. "type": "integer"
  15579. },
  15580. "beforevalue": {
  15581. "description": "变更前",
  15582. "type": "number"
  15583. },
  15584. "changelogtype": {
  15585. "description": "变更流水类型 - 1:套保比率变更",
  15586. "type": "integer"
  15587. },
  15588. "handlestatus": {
  15589. "description": "处理状态",
  15590. "type": "integer"
  15591. },
  15592. "logdatetime": {
  15593. "description": "流水日期",
  15594. "type": "string"
  15595. },
  15596. "logid": {
  15597. "description": "流水ID",
  15598. "type": "integer"
  15599. },
  15600. "logremark": {
  15601. "description": "流水备注",
  15602. "type": "string"
  15603. },
  15604. "middlegoodsid": {
  15605. "description": "套保品种ID",
  15606. "type": "integer"
  15607. },
  15608. "tradedate": {
  15609. "description": "交易日(yyyyMMdd)",
  15610. "type": "string"
  15611. },
  15612. "updatetime": {
  15613. "description": "更新时间",
  15614. "type": "string"
  15615. }
  15616. }
  15617. },
  15618. "ermcp.QryMiddleGoodsDetailRsp": {
  15619. "type": "object",
  15620. "properties": {
  15621. "cvList": {
  15622. "description": "期货品种折算列表",
  15623. "type": "array",
  15624. "items": {
  15625. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15626. }
  15627. },
  15628. "mg": {
  15629. "description": "套保品种基本信息",
  15630. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15631. },
  15632. "wrcList": {
  15633. "description": "现货品种列表(现货商品折算配置)",
  15634. "type": "array",
  15635. "items": {
  15636. "$ref": "#/definitions/models.WRSConverTDetail"
  15637. }
  15638. }
  15639. }
  15640. },
  15641. "ermcp.QryMiddleGoodsRsp": {
  15642. "type": "object",
  15643. "properties": {
  15644. "areauserid": {
  15645. "description": "机构用户ID",
  15646. "type": "integer"
  15647. },
  15648. "createtime": {
  15649. "description": "修改时间",
  15650. "type": "string"
  15651. },
  15652. "enumdicname": {
  15653. "description": "单位名称",
  15654. "type": "string"
  15655. },
  15656. "evaluateratio": {
  15657. "description": "估价系数",
  15658. "type": "number"
  15659. },
  15660. "goodsgroupid": {
  15661. "description": "关联期货品种ID",
  15662. "type": "integer"
  15663. },
  15664. "goodsunitid": {
  15665. "description": "单位ID",
  15666. "type": "integer"
  15667. },
  15668. "isvalid": {
  15669. "description": "状态 0-无效(停用) 1-有效(正常)",
  15670. "type": "integer"
  15671. },
  15672. "middlegoodscode": {
  15673. "description": "套保品种代码",
  15674. "type": "string"
  15675. },
  15676. "middlegoodsid": {
  15677. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15678. "type": "integer"
  15679. },
  15680. "middlegoodsname": {
  15681. "description": "套保品种名称",
  15682. "type": "string"
  15683. },
  15684. "modifytime": {
  15685. "description": "修改时间",
  15686. "type": "string"
  15687. },
  15688. "needarbitrageratio": {
  15689. "description": "套利比例",
  15690. "type": "number"
  15691. },
  15692. "needhedgeratio": {
  15693. "description": "套保比率",
  15694. "type": "number"
  15695. },
  15696. "qtydecimalplace": {
  15697. "description": "数量小数位",
  15698. "type": "integer"
  15699. },
  15700. "relatedgoodsid": {
  15701. "description": "关联交易商品ID",
  15702. "type": "integer"
  15703. },
  15704. "relatedgoodstype": {
  15705. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15706. "type": "integer"
  15707. },
  15708. "remark": {
  15709. "description": "备注",
  15710. "type": "string"
  15711. }
  15712. }
  15713. },
  15714. "ermcp.QryOPLogRsp": {
  15715. "type": "object",
  15716. "properties": {
  15717. "aftervalue": {
  15718. "description": "变更后",
  15719. "type": "number"
  15720. },
  15721. "applyid": {
  15722. "description": "操作人ID",
  15723. "type": "string"
  15724. },
  15725. "applyname": {
  15726. "description": "操作人名称",
  15727. "type": "string"
  15728. },
  15729. "beforevalue": {
  15730. "description": "变更前",
  15731. "type": "number"
  15732. },
  15733. "biztype": {
  15734. "description": "业务类型 - 1:套保计划 2:现货合同",
  15735. "type": "integer"
  15736. },
  15737. "contracttype": {
  15738. "description": "现货合同类型 - 1:采购 -1:销售",
  15739. "type": "integer"
  15740. },
  15741. "logvalue": {
  15742. "description": "数值",
  15743. "type": "number"
  15744. },
  15745. "operatelogtype": {
  15746. "description": "操作流水类型",
  15747. "type": "integer"
  15748. },
  15749. "operatelogtypedesc": {
  15750. "description": "操作流水类型名称",
  15751. "type": "string"
  15752. },
  15753. "relatedid": {
  15754. "description": "现货合同ID\\套保计划",
  15755. "type": "string"
  15756. },
  15757. "updatetime": {
  15758. "description": "更新时间",
  15759. "type": "string"
  15760. }
  15761. }
  15762. },
  15763. "ermcp.QryUserInfoRsp": {
  15764. "type": "object",
  15765. "properties": {
  15766. "address": {
  15767. "description": "通讯地址",
  15768. "type": "string"
  15769. },
  15770. "attachment1": {
  15771. "description": "附件1",
  15772. "type": "string"
  15773. },
  15774. "audittime": {
  15775. "description": "审核时间",
  15776. "type": "string"
  15777. },
  15778. "cardbackphotourl": {
  15779. "description": "证件反面图片地址",
  15780. "type": "string"
  15781. },
  15782. "cardfrontphotourl": {
  15783. "description": "证件正面图片地址",
  15784. "type": "string"
  15785. },
  15786. "cardnum": {
  15787. "description": "证件号码",
  15788. "type": "string"
  15789. },
  15790. "cardtype": {
  15791. "description": "证件类型",
  15792. "type": "integer"
  15793. },
  15794. "cardtypename": {
  15795. "description": "证件类型名称",
  15796. "type": "string"
  15797. },
  15798. "cityid": {
  15799. "description": "市",
  15800. "type": "integer"
  15801. },
  15802. "contactname": {
  15803. "description": "联系人",
  15804. "type": "string"
  15805. },
  15806. "countryid": {
  15807. "description": "国家",
  15808. "type": "integer"
  15809. },
  15810. "createtime": {
  15811. "description": "创建时间",
  15812. "type": "string"
  15813. },
  15814. "customername": {
  15815. "description": "企业名称",
  15816. "type": "string"
  15817. },
  15818. "districtid": {
  15819. "description": "区域",
  15820. "type": "integer"
  15821. },
  15822. "email": {
  15823. "description": "邮件",
  15824. "type": "string"
  15825. },
  15826. "legalpersonname": {
  15827. "description": "法人姓名(企业)",
  15828. "type": "string"
  15829. },
  15830. "memberuserid": {
  15831. "description": "所属机构ID",
  15832. "type": "integer"
  15833. },
  15834. "mobile": {
  15835. "description": "手机号码",
  15836. "type": "string"
  15837. },
  15838. "modifytime": {
  15839. "description": "修改时间",
  15840. "type": "string"
  15841. },
  15842. "nickname": {
  15843. "description": "昵称",
  15844. "type": "string"
  15845. },
  15846. "provinceid": {
  15847. "description": "省",
  15848. "type": "integer"
  15849. },
  15850. "remark": {
  15851. "description": "备注",
  15852. "type": "string"
  15853. },
  15854. "status": {
  15855. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15856. "type": "integer"
  15857. },
  15858. "statusdesc": {
  15859. "description": "账户状态中文描述",
  15860. "type": "string"
  15861. },
  15862. "taxpayernum": {
  15863. "description": "纳税人识别号",
  15864. "type": "string"
  15865. },
  15866. "telphone": {
  15867. "description": "联系电话",
  15868. "type": "string"
  15869. },
  15870. "userid": {
  15871. "description": "用户ID",
  15872. "type": "integer"
  15873. },
  15874. "userinfotype": {
  15875. "description": "客户类型",
  15876. "type": "string"
  15877. }
  15878. }
  15879. },
  15880. "ermcp.QryWarehouseRsp": {
  15881. "type": "object",
  15882. "properties": {
  15883. "address": {
  15884. "description": "详细地址",
  15885. "type": "string"
  15886. },
  15887. "areauserid": {
  15888. "description": "所属机构",
  15889. "type": "integer"
  15890. },
  15891. "autoid": {
  15892. "description": "自增ID(仓库ID)",
  15893. "type": "integer"
  15894. },
  15895. "cityid": {
  15896. "description": "市",
  15897. "type": "integer"
  15898. },
  15899. "contactname": {
  15900. "description": "联系人",
  15901. "type": "string"
  15902. },
  15903. "contactnum": {
  15904. "description": "联系电话",
  15905. "type": "string"
  15906. },
  15907. "countryid": {
  15908. "description": "国家",
  15909. "type": "integer"
  15910. },
  15911. "createtime": {
  15912. "description": "创建时间",
  15913. "type": "string"
  15914. },
  15915. "districtid": {
  15916. "description": "区",
  15917. "type": "integer"
  15918. },
  15919. "hasvideo": {
  15920. "description": "是否有视频 - 0:无 1:有",
  15921. "type": "integer"
  15922. },
  15923. "provinceid": {
  15924. "description": "省",
  15925. "type": "integer"
  15926. },
  15927. "remark": {
  15928. "description": "审核备注",
  15929. "type": "string"
  15930. },
  15931. "videourl": {
  15932. "description": "视频地址",
  15933. "type": "string"
  15934. },
  15935. "warehousecode": {
  15936. "description": "仓库代码",
  15937. "type": "string"
  15938. },
  15939. "warehousename": {
  15940. "description": "仓库名称",
  15941. "type": "string"
  15942. },
  15943. "warehousestatus": {
  15944. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15945. "type": "integer"
  15946. },
  15947. "warehousetype": {
  15948. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15949. "type": "integer"
  15950. }
  15951. }
  15952. },
  15953. "ermcp.QueryErmcpTradePositionRsp": {
  15954. "type": "object",
  15955. "properties": {
  15956. "agreeunit": {
  15957. "description": "合约单位",
  15958. "type": "number"
  15959. },
  15960. "buyorsell": {
  15961. "description": "方向 - 0:买 1:卖",
  15962. "type": "integer"
  15963. },
  15964. "curpositionqty": {
  15965. "description": "持仓(总仓数量, 期末头寸)",
  15966. "type": "integer"
  15967. },
  15968. "curtdposition": {
  15969. "description": "今仓数量(期末今日头寸)",
  15970. "type": "integer"
  15971. },
  15972. "curtdpositionenabled": {
  15973. "description": "今仓可用",
  15974. "type": "integer"
  15975. },
  15976. "decimalplace": {
  15977. "description": "报价小数位",
  15978. "type": "integer"
  15979. },
  15980. "enableqty": {
  15981. "description": "可用(总仓可用)",
  15982. "type": "integer"
  15983. },
  15984. "exexchangename": {
  15985. "description": "外部交易所名称",
  15986. "type": "string"
  15987. },
  15988. "exexehangecode": {
  15989. "description": "外部交易所代码",
  15990. "type": "string"
  15991. },
  15992. "exexehangeid": {
  15993. "description": "外部交易所id",
  15994. "type": "integer"
  15995. },
  15996. "goodscode": {
  15997. "description": "商品代码(内部)",
  15998. "type": "string"
  15999. },
  16000. "goodsid": {
  16001. "description": "商品ID(自增ID SEQ_GOODS)",
  16002. "type": "integer"
  16003. },
  16004. "goodsname": {
  16005. "description": "商品名称",
  16006. "type": "string"
  16007. },
  16008. "last": {
  16009. "description": "现价",
  16010. "type": "number"
  16011. },
  16012. "marketid": {
  16013. "description": "所属市场ID",
  16014. "type": "integer"
  16015. },
  16016. "openaverageprice": {
  16017. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16018. "type": "number"
  16019. },
  16020. "opencost": {
  16021. "description": "开仓成本",
  16022. "type": "number"
  16023. },
  16024. "openpl": {
  16025. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16026. "type": "number"
  16027. },
  16028. "outgoodscode": {
  16029. "description": "商品代码(外部)",
  16030. "type": "string"
  16031. },
  16032. "positionaverageprice": {
  16033. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16034. "type": "number"
  16035. },
  16036. "positioncost": {
  16037. "description": "持仓成本",
  16038. "type": "number"
  16039. },
  16040. "positionpl": {
  16041. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16042. "type": "number"
  16043. },
  16044. "positionplrate": {
  16045. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16046. "type": "number"
  16047. },
  16048. "usedmargin": {
  16049. "description": "占用保证金",
  16050. "type": "number"
  16051. }
  16052. }
  16053. },
  16054. "ermcp.RealtimeExposurePositionRsp": {
  16055. "type": "object",
  16056. "properties": {
  16057. "agreeunit": {
  16058. "description": "合约单位",
  16059. "type": "string"
  16060. },
  16061. "areauserid": {
  16062. "description": "所属机构id",
  16063. "type": "integer"
  16064. },
  16065. "convertratio": {
  16066. "description": "期货品种系数(折算系数)",
  16067. "type": "number"
  16068. },
  16069. "curhedgeqty": {
  16070. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  16071. "type": "number"
  16072. },
  16073. "curqty": {
  16074. "description": "当前持仓",
  16075. "type": "integer"
  16076. },
  16077. "diffhedgeqty": {
  16078. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16079. "type": "number"
  16080. },
  16081. "diffqty": {
  16082. "description": "持仓变动量=当前持仓-昨日持仓",
  16083. "type": "integer"
  16084. },
  16085. "goodscode": {
  16086. "description": "商品代码",
  16087. "type": "string"
  16088. },
  16089. "goodsid": {
  16090. "description": "商品id",
  16091. "type": "integer"
  16092. },
  16093. "goodsname": {
  16094. "description": "商品名称",
  16095. "type": "string"
  16096. },
  16097. "hedgeaccountcode": {
  16098. "description": "对冲账号(只有外部账号才有值)",
  16099. "type": "string"
  16100. },
  16101. "middlegoodscode": {
  16102. "description": "套保商品代码",
  16103. "type": "string"
  16104. },
  16105. "middlegoodsid": {
  16106. "description": "套保商品id",
  16107. "type": "integer"
  16108. },
  16109. "middlegoodsname": {
  16110. "description": "套保商品名称",
  16111. "type": "string"
  16112. },
  16113. "ydqty": {
  16114. "description": "昨日持仓",
  16115. "type": "integer"
  16116. }
  16117. }
  16118. },
  16119. "ermcp.RealtimeExposureRsp": {
  16120. "type": "object",
  16121. "properties": {
  16122. "AreaUserID": {
  16123. "description": "所属机构",
  16124. "type": "integer"
  16125. },
  16126. "BuyFutureQty": {
  16127. "description": "买入期货数量",
  16128. "type": "number"
  16129. },
  16130. "BuyPlanQty": {
  16131. "description": "采购计划数量",
  16132. "type": "number"
  16133. },
  16134. "BuyPricedQty": {
  16135. "description": "采购合同已定价数量",
  16136. "type": "number"
  16137. },
  16138. "MiddleGoodsCode": {
  16139. "description": "套保品种代码",
  16140. "type": "string"
  16141. },
  16142. "MiddleGoodsHedgeRatio": {
  16143. "description": "套保比例",
  16144. "type": "number"
  16145. },
  16146. "MiddleGoodsID": {
  16147. "description": "套保品种",
  16148. "type": "integer"
  16149. },
  16150. "MiddleGoodsName": {
  16151. "description": "套保品种名称",
  16152. "type": "string"
  16153. },
  16154. "NeedHedgeExposoure": {
  16155. "description": "应套保敞口(套保敞口)",
  16156. "type": "number"
  16157. },
  16158. "NeedHedgeRatio": {
  16159. "description": "应套保敞口比例",
  16160. "type": "number"
  16161. },
  16162. "OriBuyFutureQty": {
  16163. "description": "期初买入期货数量",
  16164. "type": "number"
  16165. },
  16166. "OriBuyPlanQty": {
  16167. "description": "期初采购计划数量",
  16168. "type": "number"
  16169. },
  16170. "OriBuyPricedQty": {
  16171. "description": "期初采购合同已定价数量",
  16172. "type": "number"
  16173. },
  16174. "OriSellFutureQty": {
  16175. "description": "期初卖出期货数量",
  16176. "type": "number"
  16177. },
  16178. "OriSellPlanQty": {
  16179. "description": "期初销售计划数量",
  16180. "type": "number"
  16181. },
  16182. "OriSellPricedQty": {
  16183. "description": "期初销售合同已定价数量",
  16184. "type": "number"
  16185. },
  16186. "OriTotalSpotQty": {
  16187. "description": "期初现货总量",
  16188. "type": "number"
  16189. },
  16190. "SellFutureQty": {
  16191. "description": "卖出期货数量",
  16192. "type": "number"
  16193. },
  16194. "SellPlanQty": {
  16195. "description": "销售计划数量",
  16196. "type": "number"
  16197. },
  16198. "SellPricedQty": {
  16199. "description": "销售合同已定价数量",
  16200. "type": "number"
  16201. },
  16202. "TotalExposure": {
  16203. "description": "总敞口 平安:净敞口",
  16204. "type": "number"
  16205. },
  16206. "TotalFutureQty": {
  16207. "description": "期货总量 平安:保值净持仓量",
  16208. "type": "number"
  16209. },
  16210. "TotalHedgeRatio": {
  16211. "description": "敞口比例",
  16212. "type": "number"
  16213. },
  16214. "TotalNeedHedgeQty": {
  16215. "description": "应套保总量(现货应套保总量)",
  16216. "type": "number"
  16217. },
  16218. "TotalSpotQty": {
  16219. "description": "现货总量 平安:采销定价净值",
  16220. "type": "number"
  16221. },
  16222. "arbitrageqty": {
  16223. "description": "套利量",
  16224. "type": "number"
  16225. },
  16226. "diffArbitrageQty": {
  16227. "description": "期初均价",
  16228. "type": "number"
  16229. },
  16230. "diffExposoureQty": {
  16231. "description": "期初均价",
  16232. "type": "number"
  16233. },
  16234. "diffFutuQty": {
  16235. "description": "期初均价",
  16236. "type": "number"
  16237. },
  16238. "diffHedgeQty": {
  16239. "description": "期初均价",
  16240. "type": "number"
  16241. },
  16242. "diffQty": {
  16243. "description": "期初均价",
  16244. "type": "number"
  16245. },
  16246. "diffSpotHedgeQty": {
  16247. "description": "期初均价",
  16248. "type": "number"
  16249. },
  16250. "diffSpotQty": {
  16251. "description": "期初均价",
  16252. "type": "number"
  16253. },
  16254. "enumdicname": {
  16255. "description": "单位名称",
  16256. "type": "string"
  16257. },
  16258. "hedgeqty": {
  16259. "description": "套保量",
  16260. "type": "number"
  16261. },
  16262. "needarbitrageqty": {
  16263. "description": "应套利量",
  16264. "type": "number"
  16265. },
  16266. "needarbitrageratio": {
  16267. "description": "套利比例",
  16268. "type": "number"
  16269. },
  16270. "needhedgeqty": {
  16271. "description": "应套保量",
  16272. "type": "number"
  16273. },
  16274. "oriarbitrageqty": {
  16275. "description": "期初套利量",
  16276. "type": "number"
  16277. },
  16278. "orihedgeqty": {
  16279. "description": "期初套保量",
  16280. "type": "number"
  16281. },
  16282. "orineedhedgeexposoure": {
  16283. "description": "期初套保敞口",
  16284. "type": "number"
  16285. },
  16286. "oritotalexposure": {
  16287. "description": "期初总敞口",
  16288. "type": "number"
  16289. },
  16290. "oritotalfutureqty": {
  16291. "description": "期初期货总量",
  16292. "type": "number"
  16293. },
  16294. "oritotalneedhedgeqty": {
  16295. "description": "期初现货应套保量",
  16296. "type": "number"
  16297. }
  16298. }
  16299. },
  16300. "erms2.QueryArbitrageStrategyRsp": {
  16301. "type": "object",
  16302. "required": [
  16303. "asapplyid"
  16304. ],
  16305. "properties": {
  16306. "applybasis": {
  16307. "description": "申请基差",
  16308. "type": "number"
  16309. },
  16310. "asapplyid": {
  16311. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16312. "type": "string"
  16313. },
  16314. "asname": {
  16315. "description": "策略名称",
  16316. "type": "string"
  16317. },
  16318. "asno": {
  16319. "description": "策略编号",
  16320. "type": "string"
  16321. },
  16322. "basischangepl": {
  16323. "description": "基差变动损益[结算更新]",
  16324. "type": "number"
  16325. },
  16326. "biztype": {
  16327. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16328. "type": "integer"
  16329. },
  16330. "closetradedate": {
  16331. "description": "完结交易日(yyyyMMdd)",
  16332. "type": "string"
  16333. },
  16334. "curbasis": {
  16335. "description": "当前基差[结算更新]",
  16336. "type": "number"
  16337. },
  16338. "deliverygoodsid": {
  16339. "description": "现货品种ID",
  16340. "type": "integer"
  16341. },
  16342. "futureavgprice": {
  16343. "description": "期货建仓均价",
  16344. "type": "number"
  16345. },
  16346. "futurecloseamount": {
  16347. "description": "期货平仓金额",
  16348. "type": "number"
  16349. },
  16350. "futurecloseqty": {
  16351. "description": "期货平仓数量",
  16352. "type": "number"
  16353. },
  16354. "futureopenamount": {
  16355. "description": "期货开仓金额",
  16356. "type": "number"
  16357. },
  16358. "futureopenqty": {
  16359. "description": "期货开仓数量",
  16360. "type": "number"
  16361. },
  16362. "futurepl": {
  16363. "description": "期货总盈亏[结算更新]",
  16364. "type": "number"
  16365. },
  16366. "futureqty": {
  16367. "description": "期货持仓数量",
  16368. "type": "number"
  16369. },
  16370. "futurequote": {
  16371. "description": "期货额度",
  16372. "type": "number"
  16373. },
  16374. "goodsgroupid": {
  16375. "description": "期货品种ID",
  16376. "type": "integer"
  16377. },
  16378. "marketid": {
  16379. "description": "市场ID",
  16380. "type": "integer"
  16381. },
  16382. "netexposure": {
  16383. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  16384. "type": "number"
  16385. },
  16386. "netexposurepl": {
  16387. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  16388. "type": "number"
  16389. },
  16390. "netexposurerate": {
  16391. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  16392. "type": "number"
  16393. },
  16394. "openbasis": {
  16395. "description": "建仓基差",
  16396. "type": "number"
  16397. },
  16398. "pricedspotqty": {
  16399. "description": "已定价现货数量",
  16400. "type": "number"
  16401. },
  16402. "pricedspotqtynotax": {
  16403. "description": "已定价现货不含税数量",
  16404. "type": "number"
  16405. },
  16406. "remark": {
  16407. "description": "备注",
  16408. "type": "string"
  16409. },
  16410. "spotavgprice": {
  16411. "description": "现货均价",
  16412. "type": "number"
  16413. },
  16414. "spotbuyamount": {
  16415. "description": "现货采购金额",
  16416. "type": "number"
  16417. },
  16418. "spotbuyqty": {
  16419. "description": "现货采购数量",
  16420. "type": "number"
  16421. },
  16422. "spotpl": {
  16423. "description": "现货总盈亏[结算更新]",
  16424. "type": "number"
  16425. },
  16426. "spotquota": {
  16427. "description": "现货额度",
  16428. "type": "number"
  16429. },
  16430. "spotsellamount": {
  16431. "description": "现货销售金额",
  16432. "type": "number"
  16433. },
  16434. "spotsellqty": {
  16435. "description": "现货销售数量",
  16436. "type": "number"
  16437. },
  16438. "spotusedquota": {
  16439. "description": "现货占用资金",
  16440. "type": "number"
  16441. },
  16442. "strategystatus": {
  16443. "description": "策略状态 - 0:未结束 1:已结束",
  16444. "type": "integer"
  16445. },
  16446. "totalpl": {
  16447. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  16448. "type": "number"
  16449. },
  16450. "tradedate": {
  16451. "description": "交易日(yyyyMMdd)",
  16452. "type": "string"
  16453. },
  16454. "updatetime": {
  16455. "description": "更新时间",
  16456. "type": "string"
  16457. },
  16458. "usedquota": {
  16459. "description": "已占用资金",
  16460. "type": "number"
  16461. },
  16462. "userid": {
  16463. "description": "所属机构",
  16464. "type": "integer"
  16465. }
  16466. }
  16467. },
  16468. "erms2.QueryInnerTradeDetailRsp": {
  16469. "type": "object",
  16470. "required": [
  16471. "asapplyid",
  16472. "buyorsell",
  16473. "goodscode",
  16474. "goodsgroupid",
  16475. "goodsgroupname",
  16476. "goodsname",
  16477. "tradeid"
  16478. ],
  16479. "properties": {
  16480. "accountid": {
  16481. "description": "账号ID",
  16482. "type": "integer"
  16483. },
  16484. "agreeunit": {
  16485. "description": "合约单位",
  16486. "type": "number"
  16487. },
  16488. "asapplyid": {
  16489. "description": "策略申请ID",
  16490. "type": "integer"
  16491. },
  16492. "asname": {
  16493. "description": "策略名称",
  16494. "type": "string"
  16495. },
  16496. "asno": {
  16497. "description": "策略编号",
  16498. "type": "string"
  16499. },
  16500. "buyorsell": {
  16501. "description": "方向 - 0:买 1:卖",
  16502. "type": "integer"
  16503. },
  16504. "channelbuildtype": {
  16505. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16506. "type": "integer"
  16507. },
  16508. "closetype": {
  16509. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16510. "type": "integer"
  16511. },
  16512. "decimalplace": {
  16513. "description": "报价小数位",
  16514. "type": "integer"
  16515. },
  16516. "detailtype": {
  16517. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  16518. "type": "integer"
  16519. },
  16520. "exexchangecode": {
  16521. "description": "外部交易所代码",
  16522. "type": "string"
  16523. },
  16524. "exexchangename": {
  16525. "description": "外部交易所名称",
  16526. "type": "string"
  16527. },
  16528. "goodscode": {
  16529. "description": "商品代码(合约)",
  16530. "type": "string"
  16531. },
  16532. "goodsgroupid": {
  16533. "description": "商品组ID(品种ID)",
  16534. "type": "integer"
  16535. },
  16536. "goodsgroupname": {
  16537. "description": "商品组名称(品种)",
  16538. "type": "string"
  16539. },
  16540. "goodsid": {
  16541. "description": "商品ID",
  16542. "type": "integer"
  16543. },
  16544. "goodsname": {
  16545. "description": "商品名称(合约)",
  16546. "type": "string"
  16547. },
  16548. "goodunit": {
  16549. "description": "报价单位",
  16550. "type": "string"
  16551. },
  16552. "marketid": {
  16553. "description": "市场ID",
  16554. "type": "integer"
  16555. },
  16556. "orderid": {
  16557. "description": "委托单号",
  16558. "type": "string"
  16559. },
  16560. "outgoodscode": {
  16561. "description": "商品代码(外部)",
  16562. "type": "string"
  16563. },
  16564. "relatedouttradeid": {
  16565. "description": "关联外部成交单ID",
  16566. "type": "string"
  16567. },
  16568. "remark": {
  16569. "description": "备注",
  16570. "type": "string"
  16571. },
  16572. "spotcontractid": {
  16573. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  16574. "type": "integer"
  16575. },
  16576. "spotcontractno": {
  16577. "description": "现货合同编号",
  16578. "type": "string"
  16579. },
  16580. "tradeid": {
  16581. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16582. "type": "string"
  16583. },
  16584. "tradeprice": {
  16585. "description": "成交价格",
  16586. "type": "number"
  16587. },
  16588. "tradeqty": {
  16589. "description": "成交数量",
  16590. "type": "integer"
  16591. },
  16592. "tradetime": {
  16593. "description": "成交时间",
  16594. "type": "string"
  16595. },
  16596. "updatetime": {
  16597. "description": "更新时间",
  16598. "type": "string"
  16599. }
  16600. }
  16601. },
  16602. "erms2.QuerySpotContractRsp": {
  16603. "type": "object",
  16604. "required": [
  16605. "spotcontractid"
  16606. ],
  16607. "properties": {
  16608. "accountid": {
  16609. "description": "资金账户ID",
  16610. "type": "integer"
  16611. },
  16612. "areauserid": {
  16613. "description": "所属机构",
  16614. "type": "integer"
  16615. },
  16616. "closedate": {
  16617. "description": "终止日期",
  16618. "type": "string"
  16619. },
  16620. "closeremark": {
  16621. "description": "结束备注",
  16622. "type": "string"
  16623. },
  16624. "closetradedate": {
  16625. "description": "完结交易日(yyyyMMdd)",
  16626. "type": "string"
  16627. },
  16628. "closetype": {
  16629. "description": "终止类型 - 1:违约 2:提前终止",
  16630. "type": "integer"
  16631. },
  16632. "contractamount": {
  16633. "description": "合同金额",
  16634. "type": "number"
  16635. },
  16636. "contractattachment": {
  16637. "description": "合同附件",
  16638. "type": "string"
  16639. },
  16640. "contractno": {
  16641. "description": "现货合同编号",
  16642. "type": "string"
  16643. },
  16644. "contractqty": {
  16645. "description": "合同数量(数值) (用于计算)",
  16646. "type": "number"
  16647. },
  16648. "contractqtychar": {
  16649. "description": "合同数量\\已订价数量 (用于显示)",
  16650. "type": "string"
  16651. },
  16652. "contractstatus": {
  16653. "description": "合同状态 - 0:未结束 1:已结束",
  16654. "type": "integer"
  16655. },
  16656. "contracttype": {
  16657. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  16658. "type": "integer"
  16659. },
  16660. "customeraccountid": {
  16661. "description": "客户资金账户ID",
  16662. "type": "integer"
  16663. },
  16664. "customeruserid": {
  16665. "description": "客户ID",
  16666. "type": "integer"
  16667. },
  16668. "deliverygoodsdesc": {
  16669. "description": "品种说明",
  16670. "type": "string"
  16671. },
  16672. "deliverygoodsid": {
  16673. "description": "现货品种ID",
  16674. "type": "integer"
  16675. },
  16676. "handlestatus": {
  16677. "description": "处理状态",
  16678. "type": "integer"
  16679. },
  16680. "invoiceatt": {
  16681. "description": "发票附件",
  16682. "type": "string"
  16683. },
  16684. "invoicedatetime": {
  16685. "description": "开收票更新时间",
  16686. "type": "string"
  16687. },
  16688. "invoiceopentime": {
  16689. "description": "开票时间",
  16690. "type": "string"
  16691. },
  16692. "invoiceremark": {
  16693. "description": "发票备注",
  16694. "type": "string"
  16695. },
  16696. "invoicestatus": {
  16697. "description": "开收票状态 - 0:未开票 1:已开票",
  16698. "type": "integer"
  16699. },
  16700. "lastdate": {
  16701. "description": "交货时间",
  16702. "type": "string"
  16703. },
  16704. "marketid": {
  16705. "description": "市场ID",
  16706. "type": "integer"
  16707. },
  16708. "paydatetime": {
  16709. "description": "收付款更新时间",
  16710. "type": "string"
  16711. },
  16712. "payremark": {
  16713. "description": "收付款备注",
  16714. "type": "string"
  16715. },
  16716. "paystatus": {
  16717. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  16718. "type": "integer"
  16719. },
  16720. "positionqty": {
  16721. "description": "头寸数量 - 合同数量去小数部分",
  16722. "type": "integer"
  16723. },
  16724. "producttype": {
  16725. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16726. "type": "integer"
  16727. },
  16728. "relatedqty": {
  16729. "description": "已关联数量",
  16730. "type": "number"
  16731. },
  16732. "relatedstatus": {
  16733. "description": "关联完结状态 - 0:未结束 1:已结束",
  16734. "type": "integer"
  16735. },
  16736. "remark": {
  16737. "description": "备注",
  16738. "type": "string"
  16739. },
  16740. "signdate": {
  16741. "description": "签订日期",
  16742. "type": "string"
  16743. },
  16744. "spotcontractid": {
  16745. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  16746. "type": "string"
  16747. },
  16748. "spotdatetime": {
  16749. "description": "收发货更新时间",
  16750. "type": "string"
  16751. },
  16752. "spotprice": {
  16753. "description": "价格",
  16754. "type": "number"
  16755. },
  16756. "spotremark": {
  16757. "description": "收发货备注",
  16758. "type": "string"
  16759. },
  16760. "spotstatus": {
  16761. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  16762. "type": "integer"
  16763. },
  16764. "tradedate": {
  16765. "description": "交易日(yyyyMMdd)",
  16766. "type": "string"
  16767. },
  16768. "userid": {
  16769. "description": "业务员用户ID",
  16770. "type": "integer"
  16771. },
  16772. "warehouseid": {
  16773. "description": "仓库ID",
  16774. "type": "integer"
  16775. },
  16776. "wrfactortypeid": {
  16777. "description": "仓单要素类型ID",
  16778. "type": "integer"
  16779. },
  16780. "wrstandardid": {
  16781. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16782. "type": "integer"
  16783. }
  16784. }
  16785. },
  16786. "erms3.AddErms2ASApplyReq": {
  16787. "type": "object",
  16788. "required": [
  16789. "asapplyid"
  16790. ],
  16791. "properties": {
  16792. "applybasis": {
  16793. "description": "申请基差",
  16794. "type": "number"
  16795. },
  16796. "applystatus": {
  16797. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16798. "type": "integer"
  16799. },
  16800. "asapplyid": {
  16801. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  16802. "type": "integer"
  16803. },
  16804. "asname": {
  16805. "description": "策略名称",
  16806. "type": "string"
  16807. },
  16808. "asno": {
  16809. "description": "策略编号",
  16810. "type": "string"
  16811. },
  16812. "auditid": {
  16813. "description": "审核人",
  16814. "type": "integer"
  16815. },
  16816. "auditremark": {
  16817. "description": "审核备注",
  16818. "type": "string"
  16819. },
  16820. "audittime": {
  16821. "description": "审核时间",
  16822. "type": "string"
  16823. },
  16824. "biztype": {
  16825. "description": "业务类型 - 1:正向套利 2:反向套利",
  16826. "type": "integer"
  16827. },
  16828. "createtime": {
  16829. "description": "创建时间",
  16830. "type": "string"
  16831. },
  16832. "creatorid": {
  16833. "description": "创建人",
  16834. "type": "integer"
  16835. },
  16836. "deliverygoodsid": {
  16837. "description": "现货品种ID",
  16838. "type": "integer"
  16839. },
  16840. "futurequote": {
  16841. "description": "期货额度",
  16842. "type": "number"
  16843. },
  16844. "goodsgroupid": {
  16845. "description": "期货品种ID",
  16846. "type": "integer"
  16847. },
  16848. "marketid": {
  16849. "description": "市场ID",
  16850. "type": "integer"
  16851. },
  16852. "remark": {
  16853. "description": "备注",
  16854. "type": "string"
  16855. },
  16856. "spotquota": {
  16857. "description": "现货额度",
  16858. "type": "number"
  16859. },
  16860. "tradedate": {
  16861. "description": "交易日(yyyyMMdd)",
  16862. "type": "string"
  16863. },
  16864. "userid": {
  16865. "description": "所属机构",
  16866. "type": "integer"
  16867. }
  16868. }
  16869. },
  16870. "erms3.AddErms2SpotTradeApplyReq": {
  16871. "type": "object",
  16872. "required": [
  16873. "spottradeid"
  16874. ],
  16875. "properties": {
  16876. "applyjsondetail": {
  16877. "description": "申请明细(JSON)",
  16878. "type": "string"
  16879. },
  16880. "applystatus": {
  16881. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16882. "type": "integer"
  16883. },
  16884. "areauserid": {
  16885. "description": "所属机构",
  16886. "type": "integer"
  16887. },
  16888. "auditid": {
  16889. "description": "审核人",
  16890. "type": "integer"
  16891. },
  16892. "auditremark": {
  16893. "description": "审核备注",
  16894. "type": "string"
  16895. },
  16896. "audittime": {
  16897. "description": "审核时间",
  16898. "type": "string"
  16899. },
  16900. "createtime": {
  16901. "description": "创建时间",
  16902. "type": "string"
  16903. },
  16904. "creatorid": {
  16905. "description": "创建人",
  16906. "type": "integer"
  16907. },
  16908. "deliverygoodsid": {
  16909. "description": "现货品种ID",
  16910. "type": "integer"
  16911. },
  16912. "futureaccountid": {
  16913. "description": "期货资金账户",
  16914. "type": "integer"
  16915. },
  16916. "goodsgroupid": {
  16917. "description": "期货品种",
  16918. "type": "integer"
  16919. },
  16920. "marketid": {
  16921. "description": "市场ID",
  16922. "type": "integer"
  16923. },
  16924. "remark": {
  16925. "description": "备注",
  16926. "type": "string"
  16927. },
  16928. "spotaccountid": {
  16929. "description": "现货资金账户",
  16930. "type": "integer"
  16931. },
  16932. "spottradeid": {
  16933. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  16934. "type": "integer"
  16935. },
  16936. "spottradename": {
  16937. "description": "业务名称",
  16938. "type": "string"
  16939. },
  16940. "spottradeno": {
  16941. "description": "业务编号",
  16942. "type": "string"
  16943. },
  16944. "tradedate": {
  16945. "description": "交易日(yyyyMMdd)",
  16946. "type": "string"
  16947. },
  16948. "wrstandardid": {
  16949. "description": "仓单标准ID",
  16950. "type": "integer"
  16951. }
  16952. }
  16953. },
  16954. "erms3.AddSpotContractApplyReq": {
  16955. "type": "object",
  16956. "required": [
  16957. "accountid",
  16958. "areauserid",
  16959. "contractno",
  16960. "contracttype",
  16961. "customeraccountid",
  16962. "customeruserid",
  16963. "details",
  16964. "orimargin",
  16965. "signdate"
  16966. ],
  16967. "properties": {
  16968. "accountid": {
  16969. "description": "资金账户ID",
  16970. "type": "integer"
  16971. },
  16972. "areauserid": {
  16973. "description": "所属机构",
  16974. "type": "integer"
  16975. },
  16976. "contractattachment": {
  16977. "description": "合同附件",
  16978. "type": "string"
  16979. },
  16980. "contractno": {
  16981. "description": "现货合同编号",
  16982. "type": "string"
  16983. },
  16984. "contracttype": {
  16985. "description": "现货合同类型 - 1:采购 -1:销售",
  16986. "type": "integer"
  16987. },
  16988. "creatorid": {
  16989. "description": "申请人",
  16990. "type": "integer"
  16991. },
  16992. "customeraccountid": {
  16993. "description": "客户资金账户ID",
  16994. "type": "integer"
  16995. },
  16996. "customeruserid": {
  16997. "description": "客户ID",
  16998. "type": "integer"
  16999. },
  17000. "details": {
  17001. "description": "明细",
  17002. "type": "array",
  17003. "items": {
  17004. "$ref": "#/definitions/erms3.SoptContractDetail"
  17005. }
  17006. },
  17007. "orimargin": {
  17008. "description": "初始保证金",
  17009. "type": "number"
  17010. },
  17011. "remark": {
  17012. "description": "备注",
  17013. "type": "string"
  17014. },
  17015. "signdate": {
  17016. "description": "签订日期",
  17017. "type": "string"
  17018. }
  17019. }
  17020. },
  17021. "erms3.AddSpotContractApplyRsp": {
  17022. "type": "object",
  17023. "required": [
  17024. "contractno"
  17025. ],
  17026. "properties": {
  17027. "contractno": {
  17028. "description": "现货合同编号",
  17029. "type": "string"
  17030. },
  17031. "spotcontractid": {
  17032. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17033. "type": "integer"
  17034. }
  17035. }
  17036. },
  17037. "erms3.AddUserInfoApplyReq": {
  17038. "type": "object",
  17039. "required": [
  17040. "userid"
  17041. ],
  17042. "properties": {
  17043. "accountid": {
  17044. "description": "交易系统帐号Id (加密存储)",
  17045. "type": "integer"
  17046. },
  17047. "areacode": {
  17048. "description": "机构代码",
  17049. "type": "string"
  17050. },
  17051. "areaid": {
  17052. "description": "机构Id",
  17053. "type": "integer"
  17054. },
  17055. "attachment1": {
  17056. "description": "附件1",
  17057. "type": "string"
  17058. },
  17059. "attachment2": {
  17060. "description": "附件2",
  17061. "type": "string"
  17062. },
  17063. "attachment3": {
  17064. "description": "附件3",
  17065. "type": "string"
  17066. },
  17067. "attachment4": {
  17068. "description": "附件4",
  17069. "type": "string"
  17070. },
  17071. "attachment5": {
  17072. "description": "附件5",
  17073. "type": "string"
  17074. },
  17075. "auditedby": {
  17076. "description": "审核人",
  17077. "type": "string"
  17078. },
  17079. "auditime": {
  17080. "description": "审核时间",
  17081. "type": "string"
  17082. },
  17083. "auditsrc": {
  17084. "description": "审核来源 - 1:管理端 2:终端",
  17085. "type": "integer"
  17086. },
  17087. "bankaccount": {
  17088. "description": "银行帐号 (加密存储)",
  17089. "type": "string"
  17090. },
  17091. "bankaccountname": {
  17092. "description": "收款人名称",
  17093. "type": "string"
  17094. },
  17095. "bankcardbackphotourl": {
  17096. "description": "银行卡背面照地址",
  17097. "type": "string"
  17098. },
  17099. "bankcardfrontphotourl": {
  17100. "description": "银行卡正面照地址",
  17101. "type": "string"
  17102. },
  17103. "bankid": {
  17104. "description": "银行编码",
  17105. "type": "string"
  17106. },
  17107. "bankname": {
  17108. "description": "银行名称",
  17109. "type": "string"
  17110. },
  17111. "bankpictureurl": {
  17112. "description": "银行卡正面地址",
  17113. "type": "string"
  17114. },
  17115. "biznature": {
  17116. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17117. "type": "integer"
  17118. },
  17119. "bizscope": {
  17120. "description": "企业经营范围(企业)",
  17121. "type": "string"
  17122. },
  17123. "biztype": {
  17124. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17125. "type": "integer"
  17126. },
  17127. "brokerid": {
  17128. "description": "经纪人ID(加密存储)",
  17129. "type": "string"
  17130. },
  17131. "cardaddress": {
  17132. "description": "证件地址 (加密存储)",
  17133. "type": "string"
  17134. },
  17135. "cardbackphotourl": {
  17136. "description": "背面证件照地址",
  17137. "type": "string"
  17138. },
  17139. "cardfrontphotourl": {
  17140. "description": "正面证件照地址",
  17141. "type": "string"
  17142. },
  17143. "cardnum": {
  17144. "description": "证件号码 (加密存储)",
  17145. "type": "string"
  17146. },
  17147. "cardtype": {
  17148. "description": "证件类型",
  17149. "type": "integer"
  17150. },
  17151. "cityid": {
  17152. "description": "市",
  17153. "type": "integer"
  17154. },
  17155. "company": {
  17156. "description": "公司(个人)",
  17157. "type": "string"
  17158. },
  17159. "contactcardbackphotourl": {
  17160. "description": "联系人证件背面图片地址",
  17161. "type": "string"
  17162. },
  17163. "contactcardfrontphotourl": {
  17164. "description": "联系人证件正面图片地址",
  17165. "type": "string"
  17166. },
  17167. "contactname": {
  17168. "description": "联系人",
  17169. "type": "string"
  17170. },
  17171. "countryid": {
  17172. "description": "国家",
  17173. "type": "integer"
  17174. },
  17175. "createtime": {
  17176. "description": "开户申请时间",
  17177. "type": "string"
  17178. },
  17179. "cusbankid": {
  17180. "description": "签约类型",
  17181. "type": "string"
  17182. },
  17183. "cusbankname": {
  17184. "description": "签约类型名称",
  17185. "type": "string"
  17186. },
  17187. "customername": {
  17188. "description": "客户名称(企业名称)",
  17189. "type": "string"
  17190. },
  17191. "districtid": {
  17192. "description": "地区",
  17193. "type": "integer"
  17194. },
  17195. "email": {
  17196. "description": "Email地址(加密存储)",
  17197. "type": "string"
  17198. },
  17199. "halfbodyphotourl": {
  17200. "description": "半身照地址",
  17201. "type": "string"
  17202. },
  17203. "headurl": {
  17204. "description": "头像地址",
  17205. "type": "string"
  17206. },
  17207. "ipaddress": {
  17208. "description": "IP地址",
  17209. "type": "string"
  17210. },
  17211. "isvalidate": {
  17212. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17213. "type": "string"
  17214. },
  17215. "legalcardbackphotourl": {
  17216. "description": "法人身份证背面照地址",
  17217. "type": "string"
  17218. },
  17219. "legalcardfrontphotourl": {
  17220. "description": "法人身份证正面照地址",
  17221. "type": "string"
  17222. },
  17223. "legalpersonname": {
  17224. "description": "法人姓名(企业)",
  17225. "type": "string"
  17226. },
  17227. "logincode": {
  17228. "description": "登录帐号 (加密存储)",
  17229. "type": "string"
  17230. },
  17231. "memberareaid": {
  17232. "description": "所属会员ID",
  17233. "type": "integer"
  17234. },
  17235. "mobile2": {
  17236. "description": "手机号码[明文-尚志]",
  17237. "type": "string"
  17238. },
  17239. "mobilephone": {
  17240. "description": "手机号码 (加密存储)",
  17241. "type": "string"
  17242. },
  17243. "modifiedby": {
  17244. "description": "修改人帐号",
  17245. "type": "integer"
  17246. },
  17247. "modifiedtime": {
  17248. "description": "修改时间",
  17249. "type": "string"
  17250. },
  17251. "nickname": {
  17252. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17253. "type": "string"
  17254. },
  17255. "openmode": {
  17256. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17257. "type": "integer"
  17258. },
  17259. "otherurl": {
  17260. "description": "其它图片地址[使用分号分隔]",
  17261. "type": "string"
  17262. },
  17263. "postalcode": {
  17264. "description": "邮政编码",
  17265. "type": "string"
  17266. },
  17267. "provinceid": {
  17268. "description": "省",
  17269. "type": "integer"
  17270. },
  17271. "proxystatementurl": {
  17272. "description": "授权委托书",
  17273. "type": "string"
  17274. },
  17275. "qq": {
  17276. "description": "QQ(加密存储",
  17277. "type": "string"
  17278. },
  17279. "referral": {
  17280. "description": "推荐人编码",
  17281. "type": "string"
  17282. },
  17283. "remark": {
  17284. "description": "备注",
  17285. "type": "string"
  17286. },
  17287. "removebeforestatus": {
  17288. "description": "REMOVEBEFORESTATUS",
  17289. "type": "integer"
  17290. },
  17291. "sex": {
  17292. "description": "性别 - 0:女 1:男",
  17293. "type": "integer"
  17294. },
  17295. "signedstatus": {
  17296. "description": "账户一号签签约状态",
  17297. "type": "integer"
  17298. },
  17299. "signpdfurl": {
  17300. "description": "签约pdf文件",
  17301. "type": "string"
  17302. },
  17303. "subbranch": {
  17304. "description": "开户支行",
  17305. "type": "string"
  17306. },
  17307. "taxpayernum": {
  17308. "description": "纳税人识别号",
  17309. "type": "string"
  17310. },
  17311. "telphone": {
  17312. "description": "联系电话(加密存储)",
  17313. "type": "string"
  17314. },
  17315. "userid": {
  17316. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17317. "type": "integer"
  17318. },
  17319. "userinfotype": {
  17320. "description": "用户信息类型 - 1:个人 2:企业",
  17321. "type": "integer"
  17322. },
  17323. "username": {
  17324. "description": "用户姓名",
  17325. "type": "string"
  17326. },
  17327. "userstate": {
  17328. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17329. "type": "integer"
  17330. },
  17331. "usertype": {
  17332. "description": "用户类型 - 1:投资者 2:机构",
  17333. "type": "integer"
  17334. },
  17335. "videourl": {
  17336. "description": "视频地址",
  17337. "type": "string"
  17338. },
  17339. "wechat": {
  17340. "description": "微信号 (加密存储)",
  17341. "type": "string"
  17342. }
  17343. }
  17344. },
  17345. "erms3.CustomerInfo": {
  17346. "type": "object",
  17347. "required": [
  17348. "userid"
  17349. ],
  17350. "properties": {
  17351. "accountids": {
  17352. "description": "资金账户ID列表",
  17353. "type": "array",
  17354. "items": {
  17355. "type": "integer"
  17356. }
  17357. },
  17358. "customername": {
  17359. "description": "名称(企业名称)",
  17360. "type": "string"
  17361. },
  17362. "mobile": {
  17363. "description": "手机号码",
  17364. "type": "string"
  17365. },
  17366. "userid": {
  17367. "description": "用户ID",
  17368. "type": "integer"
  17369. }
  17370. }
  17371. },
  17372. "erms3.ModifyUserInfoApplyReq": {
  17373. "type": "object",
  17374. "required": [
  17375. "userid"
  17376. ],
  17377. "properties": {
  17378. "accountid": {
  17379. "description": "交易系统帐号Id (加密存储)",
  17380. "type": "integer"
  17381. },
  17382. "areacode": {
  17383. "description": "机构代码",
  17384. "type": "string"
  17385. },
  17386. "areaid": {
  17387. "description": "机构Id",
  17388. "type": "integer"
  17389. },
  17390. "attachment1": {
  17391. "description": "附件1",
  17392. "type": "string"
  17393. },
  17394. "attachment2": {
  17395. "description": "附件2",
  17396. "type": "string"
  17397. },
  17398. "attachment3": {
  17399. "description": "附件3",
  17400. "type": "string"
  17401. },
  17402. "attachment4": {
  17403. "description": "附件4",
  17404. "type": "string"
  17405. },
  17406. "attachment5": {
  17407. "description": "附件5",
  17408. "type": "string"
  17409. },
  17410. "auditedby": {
  17411. "description": "审核人",
  17412. "type": "string"
  17413. },
  17414. "auditime": {
  17415. "description": "审核时间",
  17416. "type": "string"
  17417. },
  17418. "auditsrc": {
  17419. "description": "审核来源 - 1:管理端 2:终端",
  17420. "type": "integer"
  17421. },
  17422. "bankaccount": {
  17423. "description": "银行帐号 (加密存储)",
  17424. "type": "string"
  17425. },
  17426. "bankaccountname": {
  17427. "description": "收款人名称",
  17428. "type": "string"
  17429. },
  17430. "bankcardbackphotourl": {
  17431. "description": "银行卡背面照地址",
  17432. "type": "string"
  17433. },
  17434. "bankcardfrontphotourl": {
  17435. "description": "银行卡正面照地址",
  17436. "type": "string"
  17437. },
  17438. "bankid": {
  17439. "description": "银行编码",
  17440. "type": "string"
  17441. },
  17442. "bankname": {
  17443. "description": "银行名称",
  17444. "type": "string"
  17445. },
  17446. "bankpictureurl": {
  17447. "description": "银行卡正面地址",
  17448. "type": "string"
  17449. },
  17450. "biznature": {
  17451. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17452. "type": "integer"
  17453. },
  17454. "bizscope": {
  17455. "description": "企业经营范围(企业)",
  17456. "type": "string"
  17457. },
  17458. "biztype": {
  17459. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17460. "type": "integer"
  17461. },
  17462. "brokerid": {
  17463. "description": "经纪人ID(加密存储)",
  17464. "type": "string"
  17465. },
  17466. "cardaddress": {
  17467. "description": "证件地址 (加密存储)",
  17468. "type": "string"
  17469. },
  17470. "cardbackphotourl": {
  17471. "description": "背面证件照地址",
  17472. "type": "string"
  17473. },
  17474. "cardfrontphotourl": {
  17475. "description": "正面证件照地址",
  17476. "type": "string"
  17477. },
  17478. "cardnum": {
  17479. "description": "证件号码 (加密存储)",
  17480. "type": "string"
  17481. },
  17482. "cardtype": {
  17483. "description": "证件类型",
  17484. "type": "integer"
  17485. },
  17486. "cityid": {
  17487. "description": "市",
  17488. "type": "integer"
  17489. },
  17490. "company": {
  17491. "description": "公司(个人)",
  17492. "type": "string"
  17493. },
  17494. "contactcardbackphotourl": {
  17495. "description": "联系人证件背面图片地址",
  17496. "type": "string"
  17497. },
  17498. "contactcardfrontphotourl": {
  17499. "description": "联系人证件正面图片地址",
  17500. "type": "string"
  17501. },
  17502. "contactname": {
  17503. "description": "联系人",
  17504. "type": "string"
  17505. },
  17506. "countryid": {
  17507. "description": "国家",
  17508. "type": "integer"
  17509. },
  17510. "createtime": {
  17511. "description": "开户申请时间",
  17512. "type": "string"
  17513. },
  17514. "cusbankid": {
  17515. "description": "签约类型",
  17516. "type": "string"
  17517. },
  17518. "cusbankname": {
  17519. "description": "签约类型名称",
  17520. "type": "string"
  17521. },
  17522. "customername": {
  17523. "description": "客户名称(企业名称)",
  17524. "type": "string"
  17525. },
  17526. "districtid": {
  17527. "description": "地区",
  17528. "type": "integer"
  17529. },
  17530. "email": {
  17531. "description": "Email地址(加密存储)",
  17532. "type": "string"
  17533. },
  17534. "halfbodyphotourl": {
  17535. "description": "半身照地址",
  17536. "type": "string"
  17537. },
  17538. "headurl": {
  17539. "description": "头像地址",
  17540. "type": "string"
  17541. },
  17542. "ipaddress": {
  17543. "description": "IP地址",
  17544. "type": "string"
  17545. },
  17546. "isvalidate": {
  17547. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17548. "type": "string"
  17549. },
  17550. "legalcardbackphotourl": {
  17551. "description": "法人身份证背面照地址",
  17552. "type": "string"
  17553. },
  17554. "legalcardfrontphotourl": {
  17555. "description": "法人身份证正面照地址",
  17556. "type": "string"
  17557. },
  17558. "legalpersonname": {
  17559. "description": "法人姓名(企业)",
  17560. "type": "string"
  17561. },
  17562. "logincode": {
  17563. "description": "登录帐号 (加密存储)",
  17564. "type": "string"
  17565. },
  17566. "memberareaid": {
  17567. "description": "所属会员ID",
  17568. "type": "integer"
  17569. },
  17570. "mobile2": {
  17571. "description": "手机号码[明文-尚志]",
  17572. "type": "string"
  17573. },
  17574. "mobilephone": {
  17575. "description": "手机号码 (加密存储)",
  17576. "type": "string"
  17577. },
  17578. "modifiedby": {
  17579. "description": "修改人帐号",
  17580. "type": "integer"
  17581. },
  17582. "modifiedtime": {
  17583. "description": "修改时间",
  17584. "type": "string"
  17585. },
  17586. "nickname": {
  17587. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17588. "type": "string"
  17589. },
  17590. "openmode": {
  17591. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17592. "type": "integer"
  17593. },
  17594. "otherurl": {
  17595. "description": "其它图片地址[使用分号分隔]",
  17596. "type": "string"
  17597. },
  17598. "postalcode": {
  17599. "description": "邮政编码",
  17600. "type": "string"
  17601. },
  17602. "provinceid": {
  17603. "description": "省",
  17604. "type": "integer"
  17605. },
  17606. "proxystatementurl": {
  17607. "description": "授权委托书",
  17608. "type": "string"
  17609. },
  17610. "qq": {
  17611. "description": "QQ(加密存储",
  17612. "type": "string"
  17613. },
  17614. "referral": {
  17615. "description": "推荐人编码",
  17616. "type": "string"
  17617. },
  17618. "remark": {
  17619. "description": "备注",
  17620. "type": "string"
  17621. },
  17622. "removebeforestatus": {
  17623. "description": "REMOVEBEFORESTATUS",
  17624. "type": "integer"
  17625. },
  17626. "sex": {
  17627. "description": "性别 - 0:女 1:男",
  17628. "type": "integer"
  17629. },
  17630. "signedstatus": {
  17631. "description": "账户一号签签约状态",
  17632. "type": "integer"
  17633. },
  17634. "signpdfurl": {
  17635. "description": "签约pdf文件",
  17636. "type": "string"
  17637. },
  17638. "subbranch": {
  17639. "description": "开户支行",
  17640. "type": "string"
  17641. },
  17642. "taxpayernum": {
  17643. "description": "纳税人识别号",
  17644. "type": "string"
  17645. },
  17646. "telphone": {
  17647. "description": "联系电话(加密存储)",
  17648. "type": "string"
  17649. },
  17650. "userid": {
  17651. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17652. "type": "integer"
  17653. },
  17654. "userinfotype": {
  17655. "description": "用户信息类型 - 1:个人 2:企业",
  17656. "type": "integer"
  17657. },
  17658. "username": {
  17659. "description": "用户姓名",
  17660. "type": "string"
  17661. },
  17662. "userstate": {
  17663. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17664. "type": "integer"
  17665. },
  17666. "usertype": {
  17667. "description": "用户类型 - 1:投资者 2:机构",
  17668. "type": "integer"
  17669. },
  17670. "videourl": {
  17671. "description": "视频地址",
  17672. "type": "string"
  17673. },
  17674. "wechat": {
  17675. "description": "微信号 (加密存储)",
  17676. "type": "string"
  17677. }
  17678. }
  17679. },
  17680. "erms3.QryAuditContractRsp": {
  17681. "type": "object",
  17682. "required": [
  17683. "matchcustomername",
  17684. "spotcontractid"
  17685. ],
  17686. "properties": {
  17687. "accountid": {
  17688. "description": "交易员ID",
  17689. "type": "string"
  17690. },
  17691. "applystatus": {
  17692. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17693. "type": "integer"
  17694. },
  17695. "curdeliveryqty": {
  17696. "description": "未交收量",
  17697. "type": "integer"
  17698. },
  17699. "customername": {
  17700. "description": "采购方ID",
  17701. "type": "string"
  17702. },
  17703. "deliverygoodsid": {
  17704. "description": "品种ID",
  17705. "type": "string"
  17706. },
  17707. "deliveryqty": {
  17708. "description": "交收量",
  17709. "type": "integer"
  17710. },
  17711. "enumdicname": {
  17712. "description": "单位名称",
  17713. "type": "string"
  17714. },
  17715. "matchaccountid": {
  17716. "description": "业务员ID",
  17717. "type": "string"
  17718. },
  17719. "matchcustomername": {
  17720. "description": "销售方ID",
  17721. "type": "string"
  17722. },
  17723. "pricedqty": {
  17724. "description": "定价量",
  17725. "type": "number"
  17726. },
  17727. "signdate": {
  17728. "description": "签订日期",
  17729. "type": "string"
  17730. },
  17731. "spotcontractid": {
  17732. "description": "合同ID",
  17733. "type": "string"
  17734. },
  17735. "totaldqty": {
  17736. "description": "合同量",
  17737. "type": "number"
  17738. },
  17739. "unpricedqty": {
  17740. "description": "未定价量",
  17741. "type": "number"
  17742. },
  17743. "wrstandardname": {
  17744. "description": "商品名称",
  17745. "type": "string"
  17746. }
  17747. }
  17748. },
  17749. "erms3.QryPendingBizRsp": {
  17750. "type": "object",
  17751. "properties": {
  17752. "accountid": {
  17753. "description": "现货账户",
  17754. "type": "string"
  17755. },
  17756. "areaname": {
  17757. "description": "所属部门",
  17758. "type": "string"
  17759. },
  17760. "bizid": {
  17761. "description": "业务ID",
  17762. "type": "string"
  17763. },
  17764. "bizname": {
  17765. "description": "业务名称",
  17766. "type": "string"
  17767. },
  17768. "status": {
  17769. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17770. "type": "integer"
  17771. },
  17772. "type": {
  17773. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  17774. "type": "integer"
  17775. }
  17776. }
  17777. },
  17778. "erms3.QueryBusinessInfoRsp": {
  17779. "type": "object",
  17780. "properties": {
  17781. "businessid": {
  17782. "description": "业务ID.",
  17783. "type": "integer"
  17784. },
  17785. "buyamount": {
  17786. "description": "采购额.",
  17787. "type": "number"
  17788. },
  17789. "buyqty": {
  17790. "description": "采购量.",
  17791. "type": "string"
  17792. },
  17793. "futurepl": {
  17794. "description": "期货盈亏.",
  17795. "type": "number"
  17796. },
  17797. "futureqty": {
  17798. "description": "期货敞口.",
  17799. "type": "string"
  17800. },
  17801. "goodsid": {
  17802. "description": "商品名称/商品代码.",
  17803. "type": "string"
  17804. },
  17805. "hedgingqty": {
  17806. "description": "套保量.",
  17807. "type": "string"
  17808. },
  17809. "sellamount": {
  17810. "description": "销售额.",
  17811. "type": "number"
  17812. },
  17813. "sellqty": {
  17814. "description": "销售量.",
  17815. "type": "string"
  17816. },
  17817. "spotmarketvalue": {
  17818. "description": "现货市值.",
  17819. "type": "number"
  17820. },
  17821. "spotpl": {
  17822. "description": "浮动权益.",
  17823. "type": "number"
  17824. },
  17825. "spotqty": {
  17826. "description": "现货量.",
  17827. "type": "string"
  17828. },
  17829. "statu": {
  17830. "description": "状态,0-未结束 1-已结束.",
  17831. "type": "integer"
  17832. },
  17833. "totalpl": {
  17834. "description": "总盈亏.",
  17835. "type": "number"
  17836. },
  17837. "totalqty": {
  17838. "description": "总敞口.",
  17839. "type": "string"
  17840. },
  17841. "type": {
  17842. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  17843. "type": "integer"
  17844. }
  17845. }
  17846. },
  17847. "erms3.QuerySpotContractAppleFormRsp": {
  17848. "type": "object",
  17849. "properties": {
  17850. "goodses": {
  17851. "description": "合约列表",
  17852. "type": "array",
  17853. "items": {
  17854. "$ref": "#/definitions/models.GoodsIDAndName"
  17855. }
  17856. },
  17857. "oppositeusers": {
  17858. "description": "对方账号列表",
  17859. "type": "array",
  17860. "items": {
  17861. "$ref": "#/definitions/erms3.CustomerInfo"
  17862. }
  17863. },
  17864. "ouruser": {
  17865. "description": "我方账号",
  17866. "$ref": "#/definitions/erms3.CustomerInfo"
  17867. },
  17868. "warehouseinfos": {
  17869. "description": "仓库信息列表",
  17870. "type": "array",
  17871. "items": {
  17872. "$ref": "#/definitions/models.Warehouseinfo"
  17873. }
  17874. },
  17875. "wrstandards": {
  17876. "description": "仓单标准列表",
  17877. "type": "array",
  17878. "items": {
  17879. "$ref": "#/definitions/models.WRStandardInfo"
  17880. }
  17881. }
  17882. }
  17883. },
  17884. "erms3.QuerySpotContractInfoRsp": {
  17885. "type": "object",
  17886. "properties": {
  17887. "accountid": {
  17888. "description": "表示交易员ID.",
  17889. "type": "integer"
  17890. },
  17891. "curdeliveryqty": {
  17892. "description": "表示未交收量.",
  17893. "type": "number"
  17894. },
  17895. "customername": {
  17896. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  17897. "type": "string"
  17898. },
  17899. "deliverygoodsid": {
  17900. "description": "表示品种ID.",
  17901. "type": "string"
  17902. },
  17903. "deliveryqty": {
  17904. "description": "表示交收量.",
  17905. "type": "number"
  17906. },
  17907. "matchaccountid": {
  17908. "description": "表示业务员ID.",
  17909. "type": "integer"
  17910. },
  17911. "matchcustomername": {
  17912. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  17913. "type": "string"
  17914. },
  17915. "priceqty": {
  17916. "description": "表示定价量.",
  17917. "type": "number"
  17918. },
  17919. "relatedbizid": {
  17920. "description": "表示业务ID.",
  17921. "type": "string"
  17922. },
  17923. "signdate": {
  17924. "description": "表示签订日期.",
  17925. "type": "string"
  17926. },
  17927. "spotcontractid": {
  17928. "description": "合同ID",
  17929. "type": "string"
  17930. },
  17931. "status": {
  17932. "description": "表示状态,0-履约中 1-已完成.",
  17933. "type": "integer"
  17934. },
  17935. "totalqty": {
  17936. "description": "表示合同量.",
  17937. "type": "number"
  17938. },
  17939. "unpricedqty": {
  17940. "description": "表示未定价量.",
  17941. "type": "number"
  17942. },
  17943. "wrstandardname": {
  17944. "description": "表示商品ID.",
  17945. "type": "string"
  17946. }
  17947. }
  17948. },
  17949. "erms3.QueryUserInfoAppliesRsp": {
  17950. "type": "object",
  17951. "required": [
  17952. "userid"
  17953. ],
  17954. "properties": {
  17955. "biznature": {
  17956. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17957. "type": "integer"
  17958. },
  17959. "contactname": {
  17960. "description": "联系人",
  17961. "type": "string"
  17962. },
  17963. "createtime": {
  17964. "description": "开户申请时间",
  17965. "type": "string"
  17966. },
  17967. "userid": {
  17968. "description": "用户ID(自增ID)",
  17969. "type": "integer"
  17970. },
  17971. "userinfotype": {
  17972. "description": "用户信息类型 - 1:个人 2:企业",
  17973. "type": "integer"
  17974. },
  17975. "username": {
  17976. "description": "用户姓名",
  17977. "type": "string"
  17978. },
  17979. "userstate": {
  17980. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17981. "type": "integer"
  17982. }
  17983. }
  17984. },
  17985. "erms3.QueryUserInfosRsp": {
  17986. "type": "object",
  17987. "required": [
  17988. "userid"
  17989. ],
  17990. "properties": {
  17991. "biznature": {
  17992. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17993. "type": "integer"
  17994. },
  17995. "contactname": {
  17996. "description": "联系人",
  17997. "type": "string"
  17998. },
  17999. "customername": {
  18000. "description": "客户名称(企业名称)",
  18001. "type": "string"
  18002. },
  18003. "userid": {
  18004. "description": "用户ID",
  18005. "type": "integer"
  18006. },
  18007. "userinfotype": {
  18008. "description": "用户信息类型 - 1:个人 2:企业",
  18009. "type": "integer"
  18010. },
  18011. "userstatus": {
  18012. "description": "用户状态 - 1:正常 2:注销",
  18013. "type": "integer"
  18014. }
  18015. }
  18016. },
  18017. "erms3.SoptContractDetail": {
  18018. "type": "object",
  18019. "required": [
  18020. "deliverygoodsid",
  18021. "producttype",
  18022. "unitname",
  18023. "warehouseid",
  18024. "wrstandardid",
  18025. "wrstandardname"
  18026. ],
  18027. "properties": {
  18028. "deliverygoodsdesc": {
  18029. "description": "现货品种说明",
  18030. "type": "string"
  18031. },
  18032. "deliverygoodsid": {
  18033. "description": "现货品种ID",
  18034. "type": "integer"
  18035. },
  18036. "deliverygoodsname": {
  18037. "description": "现货品种名称",
  18038. "type": "string"
  18039. },
  18040. "pointdesc": {
  18041. "description": "点价描述",
  18042. "type": "string"
  18043. },
  18044. "producttype": {
  18045. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18046. "type": "integer"
  18047. },
  18048. "producttypename": {
  18049. "description": "产品类型名称",
  18050. "type": "string"
  18051. },
  18052. "spotPointOrderVoList": {
  18053. "description": "点价列表",
  18054. "type": "array",
  18055. "items": {
  18056. "$ref": "#/definitions/erms3.SpotPointOrder"
  18057. }
  18058. },
  18059. "spotPriceOrderList": {
  18060. "description": "定价列表",
  18061. "type": "array",
  18062. "items": {
  18063. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18064. }
  18065. },
  18066. "unitname": {
  18067. "description": "单位名称",
  18068. "type": "string"
  18069. },
  18070. "warehouseid": {
  18071. "description": "仓库ID",
  18072. "type": "integer"
  18073. },
  18074. "warehousename": {
  18075. "description": "仓库名称",
  18076. "type": "string"
  18077. },
  18078. "wrstandardid": {
  18079. "description": "交易标的ID",
  18080. "type": "integer"
  18081. },
  18082. "wrstandardname": {
  18083. "description": "交易标的名称",
  18084. "type": "string"
  18085. }
  18086. }
  18087. },
  18088. "erms3.SpotPointOrder": {
  18089. "type": "object",
  18090. "required": [
  18091. "basic",
  18092. "goodsid",
  18093. "qty"
  18094. ],
  18095. "properties": {
  18096. "basic": {
  18097. "description": "基差",
  18098. "type": "number"
  18099. },
  18100. "deliveryenddate": {
  18101. "description": "交收结束日期",
  18102. "type": "string"
  18103. },
  18104. "deliverystartdate": {
  18105. "description": "交收开始日期",
  18106. "type": "string"
  18107. },
  18108. "enddate": {
  18109. "description": "点价结束日期",
  18110. "type": "string"
  18111. },
  18112. "goodsid": {
  18113. "description": "商品ID",
  18114. "type": "integer"
  18115. },
  18116. "goodsname": {
  18117. "description": "商品名称",
  18118. "type": "string"
  18119. },
  18120. "qty": {
  18121. "description": "数量",
  18122. "type": "number"
  18123. },
  18124. "startdate": {
  18125. "description": "点价开始日期",
  18126. "type": "string"
  18127. }
  18128. }
  18129. },
  18130. "erms3.SpotPriceOrder": {
  18131. "type": "object",
  18132. "required": [
  18133. "amount",
  18134. "price",
  18135. "qty"
  18136. ],
  18137. "properties": {
  18138. "amount": {
  18139. "description": "金额",
  18140. "type": "number"
  18141. },
  18142. "deliveryenddate": {
  18143. "description": "交收结束日期",
  18144. "type": "string"
  18145. },
  18146. "deliverystartdate": {
  18147. "description": "交收开始日期",
  18148. "type": "string"
  18149. },
  18150. "price": {
  18151. "description": "价格",
  18152. "type": "number"
  18153. },
  18154. "qty": {
  18155. "description": "数量",
  18156. "type": "number"
  18157. }
  18158. }
  18159. },
  18160. "models.Arearole": {
  18161. "type": "object",
  18162. "required": [
  18163. "roletype",
  18164. "userid"
  18165. ],
  18166. "properties": {
  18167. "createtime": {
  18168. "description": "创建时间",
  18169. "type": "string"
  18170. },
  18171. "creatorid": {
  18172. "description": "创建人ID",
  18173. "type": "integer"
  18174. },
  18175. "fromuserid": {
  18176. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18177. "type": "integer"
  18178. },
  18179. "isreturnscore": {
  18180. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18181. "type": "integer"
  18182. },
  18183. "modifierid": {
  18184. "description": "修改人ID",
  18185. "type": "integer"
  18186. },
  18187. "modifytime": {
  18188. "description": "修改时间",
  18189. "type": "string"
  18190. },
  18191. "orgtype": {
  18192. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18193. "type": "integer"
  18194. },
  18195. "outuserid": {
  18196. "description": "外部账户[场外期权做市商]",
  18197. "type": "string"
  18198. },
  18199. "parentuserid": {
  18200. "description": "上级组织机构(组织机构)",
  18201. "type": "integer"
  18202. },
  18203. "roletype": {
  18204. "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:交易员 25:客户 98:代理 99:门店",
  18205. "type": "integer"
  18206. },
  18207. "rootuserid": {
  18208. "description": "顶级组织机构用户ID(组织机构)",
  18209. "type": "integer"
  18210. },
  18211. "shoppassword": {
  18212. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18213. "type": "string"
  18214. },
  18215. "sublevelpath": {
  18216. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18217. "type": "string"
  18218. },
  18219. "suborgtype": {
  18220. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18221. "type": "integer"
  18222. },
  18223. "tradeaccountid": {
  18224. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18225. "type": "integer"
  18226. },
  18227. "transurl": {
  18228. "description": "物流地址(物流机构)",
  18229. "type": "string"
  18230. },
  18231. "userid": {
  18232. "description": "机构用户ID其他做市关系,都设置为 1",
  18233. "type": "integer"
  18234. }
  18235. }
  18236. },
  18237. "models.BuyOrder": {
  18238. "type": "object",
  18239. "properties": {
  18240. "accountid": {
  18241. "description": "资金账户ID",
  18242. "type": "integer"
  18243. },
  18244. "buyusername": {
  18245. "description": "买方",
  18246. "type": "string"
  18247. },
  18248. "marketid": {
  18249. "description": "市场ID",
  18250. "type": "integer"
  18251. },
  18252. "ordertime": {
  18253. "description": "委托时间",
  18254. "type": "string"
  18255. },
  18256. "origin": {
  18257. "description": "原产地",
  18258. "type": "string"
  18259. },
  18260. "remark": {
  18261. "description": "备注",
  18262. "type": "string"
  18263. },
  18264. "userid": {
  18265. "description": "用户ID",
  18266. "type": "integer"
  18267. },
  18268. "validtime": {
  18269. "description": "有效期限",
  18270. "type": "string"
  18271. },
  18272. "warehouseids": {
  18273. "description": "仓库ID - 多个, 逗号分隔",
  18274. "type": "string"
  18275. },
  18276. "warehouseinfosdisplay": {
  18277. "type": "string"
  18278. },
  18279. "wrtradeorderid": {
  18280. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  18281. "type": "integer"
  18282. },
  18283. "wrtradeorderstatus": {
  18284. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、",
  18285. "type": "integer"
  18286. },
  18287. "zscategory": {
  18288. "description": "钻石分类 - 枚举”ZSCategory“",
  18289. "type": "integer"
  18290. },
  18291. "zscategorydisplay": {
  18292. "type": "string"
  18293. },
  18294. "zsclaritytype": {
  18295. "description": "净度 - 两个, 逗号分隔",
  18296. "type": "string"
  18297. },
  18298. "zsclaritytypedisplay": {
  18299. "type": "string"
  18300. },
  18301. "zscolortype": {
  18302. "description": "颜色 - 两个, 逗号分隔",
  18303. "type": "string"
  18304. },
  18305. "zscolortypedisplay": {
  18306. "type": "string"
  18307. },
  18308. "zscrystaltype": {
  18309. "description": "晶型 - 多个,逗号分隔",
  18310. "type": "string"
  18311. },
  18312. "zscrystaltypedisplay": {
  18313. "type": "string"
  18314. },
  18315. "zscurrencytype": {
  18316. "description": "货币类型 - 多个, 逗号分隔",
  18317. "type": "string"
  18318. },
  18319. "zscurrencytypedisplay": {
  18320. "type": "string"
  18321. },
  18322. "zscuttype": {
  18323. "description": "切工 - 两个, 逗号分隔",
  18324. "type": "string"
  18325. },
  18326. "zscuttypedisplay": {
  18327. "type": "string"
  18328. },
  18329. "zsczcolor1type": {
  18330. "description": "彩钻颜色1, 逗号分隔",
  18331. "type": "string"
  18332. },
  18333. "zsczcolor1typedisplay": {
  18334. "type": "string"
  18335. },
  18336. "zsczcolor2type": {
  18337. "description": "彩钻颜色2, 逗号分隔",
  18338. "type": "string"
  18339. },
  18340. "zsczcolor2typedisplay": {
  18341. "type": "string"
  18342. },
  18343. "zsczcolor3type": {
  18344. "description": "彩钻颜色3, 逗号分隔",
  18345. "type": "string"
  18346. },
  18347. "zsczcolor3typedisplay": {
  18348. "type": "string"
  18349. },
  18350. "zsfluorescencetype": {
  18351. "description": "荧光 - 多个, 逗号分隔",
  18352. "type": "string"
  18353. },
  18354. "zsfluorescencetypedisplay": {
  18355. "type": "string"
  18356. },
  18357. "zspolishtype": {
  18358. "description": "抛光度 - 两个, 逗号分隔",
  18359. "type": "string"
  18360. },
  18361. "zspolishtypedisplay": {
  18362. "type": "string"
  18363. },
  18364. "zsshapetype": {
  18365. "description": "形状 - 多个, 逗号分隔",
  18366. "type": "string"
  18367. },
  18368. "zsshapetypedisplay": {
  18369. "type": "string"
  18370. },
  18371. "zssize": {
  18372. "description": "尺寸 - 两个小数, 逗号分隔",
  18373. "type": "string"
  18374. },
  18375. "zsstyletype": {
  18376. "description": "款式 - 多个, 逗号分隔",
  18377. "type": "string"
  18378. },
  18379. "zsstyletypedisplay": {
  18380. "type": "string"
  18381. },
  18382. "zssymmetrytype": {
  18383. "description": "对称度 - 两个, 逗号分隔",
  18384. "type": "string"
  18385. },
  18386. "zssymmetrytypedisplay": {
  18387. "type": "string"
  18388. },
  18389. "zstabledisplay": {
  18390. "description": "求购信息",
  18391. "type": "string"
  18392. }
  18393. }
  18394. },
  18395. "models.DgFactoryItem": {
  18396. "type": "object",
  18397. "properties": {
  18398. "dgfactoryitemid": {
  18399. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18400. "type": "integer"
  18401. },
  18402. "dgfactoryitemtypeid": {
  18403. "description": "要素项类型",
  18404. "type": "integer"
  18405. },
  18406. "dgfactoryitemvalue": {
  18407. "description": "要素项值(类型为仓库时填写仓库名称)",
  18408. "type": "string"
  18409. },
  18410. "orderindex": {
  18411. "description": "顺序",
  18412. "type": "integer"
  18413. }
  18414. }
  18415. },
  18416. "models.Division": {
  18417. "type": "object",
  18418. "required": [
  18419. "autoid",
  18420. "divisioncode"
  18421. ],
  18422. "properties": {
  18423. "autoid": {
  18424. "description": "自增ID",
  18425. "type": "integer"
  18426. },
  18427. "divisioncode": {
  18428. "description": "行政代码",
  18429. "type": "string"
  18430. },
  18431. "divisionlevel": {
  18432. "description": "行政级别",
  18433. "type": "string"
  18434. },
  18435. "divisionname": {
  18436. "description": "行政名称",
  18437. "type": "string"
  18438. },
  18439. "modifierid": {
  18440. "description": "修改人",
  18441. "type": "integer"
  18442. },
  18443. "modifytime": {
  18444. "description": "修改时间",
  18445. "type": "string"
  18446. },
  18447. "parentcode": {
  18448. "description": "上级行政代码",
  18449. "type": "string"
  18450. },
  18451. "pathname": {
  18452. "description": "路径名称",
  18453. "type": "string"
  18454. },
  18455. "postcode": {
  18456. "description": "邮政编码",
  18457. "type": "string"
  18458. },
  18459. "separablename": {
  18460. "description": "可拆分的全称",
  18461. "type": "string"
  18462. },
  18463. "shortcode": {
  18464. "description": "地区简码",
  18465. "type": "string"
  18466. }
  18467. }
  18468. },
  18469. "models.Enumdicitem": {
  18470. "type": "object",
  18471. "required": [
  18472. "autoid",
  18473. "enumdiccode",
  18474. "enumdicid",
  18475. "enumitemname"
  18476. ],
  18477. "properties": {
  18478. "autoid": {
  18479. "description": "自增ID",
  18480. "type": "integer"
  18481. },
  18482. "bankmappedvalue": {
  18483. "description": "银行服务对应值",
  18484. "type": "string"
  18485. },
  18486. "enumdiccode": {
  18487. "description": "所属枚举代码",
  18488. "type": "string"
  18489. },
  18490. "enumdicid": {
  18491. "description": "所属枚举ID",
  18492. "type": "integer"
  18493. },
  18494. "enumdicname": {
  18495. "description": "枚举项名称",
  18496. "type": "string"
  18497. },
  18498. "enumitemname": {
  18499. "description": "枚举项值",
  18500. "type": "integer"
  18501. },
  18502. "enumitemstatus": {
  18503. "description": "枚举项状态 - 1.启用 2.不启用",
  18504. "type": "integer"
  18505. },
  18506. "enumitemvalue": {
  18507. "description": "通用值 - [币种通用简写]",
  18508. "type": "string"
  18509. },
  18510. "param1": {
  18511. "description": "参数1[币种:币种小数位]",
  18512. "type": "string"
  18513. },
  18514. "param2": {
  18515. "description": "参数1[币种:币种显示单位]",
  18516. "type": "string"
  18517. },
  18518. "remark": {
  18519. "description": "备注",
  18520. "type": "string"
  18521. }
  18522. }
  18523. },
  18524. "models.Ermcp2AreaExposure": {
  18525. "type": "object",
  18526. "properties": {
  18527. "areauserid": {
  18528. "description": "所属机构",
  18529. "type": "integer"
  18530. },
  18531. "enumdicname": {
  18532. "description": "单位",
  18533. "type": "string"
  18534. },
  18535. "futureqty": {
  18536. "description": "期货套期量",
  18537. "type": "number"
  18538. },
  18539. "futureqtychange": {
  18540. "description": "期货变动量 = FutureQty - OriFutureQty",
  18541. "type": "number"
  18542. },
  18543. "goodsunitid": {
  18544. "description": "单位ID",
  18545. "type": "integer"
  18546. },
  18547. "hedgedspotexposure": {
  18548. "description": "被套期现货敞口量",
  18549. "type": "number"
  18550. },
  18551. "hedgedspratio": {
  18552. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  18553. "type": "number"
  18554. },
  18555. "hedgedtotalexposourechange": {
  18556. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  18557. "type": "number"
  18558. },
  18559. "hedgedtotalexposure": {
  18560. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  18561. "type": "number"
  18562. },
  18563. "hedgeplanqty": {
  18564. "description": "套期计划量",
  18565. "type": "number"
  18566. },
  18567. "hedgeplanqtychange": {
  18568. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  18569. "type": "number"
  18570. },
  18571. "hedgespotqty": {
  18572. "description": "被套期现货量",
  18573. "type": "number"
  18574. },
  18575. "middlegoodsid": {
  18576. "description": "套保品种",
  18577. "type": "integer"
  18578. },
  18579. "middlegoodsname": {
  18580. "description": "套保品种名称",
  18581. "type": "string"
  18582. },
  18583. "orifutureqty": {
  18584. "description": "期初期货套期量",
  18585. "type": "number"
  18586. },
  18587. "orihedgedspotexposure": {
  18588. "description": "期初被套期现货敞口量",
  18589. "type": "number"
  18590. },
  18591. "orihedgedtotalexposure": {
  18592. "description": "期初套期敞口量",
  18593. "type": "number"
  18594. },
  18595. "orihedgeplanqty": {
  18596. "description": "期初套期计划量",
  18597. "type": "number"
  18598. },
  18599. "orihedgespotqty": {
  18600. "description": "期初被套期现货量",
  18601. "type": "number"
  18602. },
  18603. "orispotexposure": {
  18604. "description": "期初现货敞口量",
  18605. "type": "number"
  18606. },
  18607. "orispotqty": {
  18608. "description": "期初现货总量",
  18609. "type": "number"
  18610. },
  18611. "oritotalexposure": {
  18612. "description": "期初总敞口量",
  18613. "type": "number"
  18614. },
  18615. "spotexposure": {
  18616. "description": "现货敞口量",
  18617. "type": "number"
  18618. },
  18619. "spotqty": {
  18620. "description": "现货总量",
  18621. "type": "number"
  18622. },
  18623. "spotqtychange": {
  18624. "description": "现货变动量 = SpotQty - OriSpotQty",
  18625. "type": "number"
  18626. },
  18627. "spratio": {
  18628. "description": "总期现比例 = 期货套期量/现货敞口量",
  18629. "type": "number"
  18630. },
  18631. "totalexposure": {
  18632. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  18633. "type": "number"
  18634. },
  18635. "totalexposurechange": {
  18636. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  18637. "type": "number"
  18638. },
  18639. "updatetime": {
  18640. "description": "更新时间 --DATE",
  18641. "type": "string"
  18642. }
  18643. }
  18644. },
  18645. "models.Ermcp2hedgeditem": {
  18646. "type": "object",
  18647. "properties": {
  18648. "accountname": {
  18649. "description": "套期主体",
  18650. "type": "string"
  18651. },
  18652. "applyid": {
  18653. "description": "申请人",
  18654. "type": "integer"
  18655. },
  18656. "applysrc": {
  18657. "description": "申请来源 - 1:管理端 2:终端",
  18658. "type": "integer"
  18659. },
  18660. "areauserid": {
  18661. "description": "企业ID",
  18662. "type": "integer"
  18663. },
  18664. "auditid": {
  18665. "description": "审核人",
  18666. "type": "integer"
  18667. },
  18668. "auditremark": {
  18669. "description": "审核备注",
  18670. "type": "string"
  18671. },
  18672. "auditsrc": {
  18673. "description": "审核来源 - 1:管理端 2:终端",
  18674. "type": "integer"
  18675. },
  18676. "audittime": {
  18677. "description": "审核时间",
  18678. "type": "string"
  18679. },
  18680. "audittradedate": {
  18681. "description": "审核交易日(yyyyMMdd)",
  18682. "type": "string"
  18683. },
  18684. "createtime": {
  18685. "description": "申请时间",
  18686. "type": "string"
  18687. },
  18688. "curprice": {
  18689. "description": "当前市场价",
  18690. "type": "number"
  18691. },
  18692. "curstock": {
  18693. "description": "期末库存量 = 采购总量 - 销售总量",
  18694. "type": "number"
  18695. },
  18696. "deliverygoodsid": {
  18697. "description": "现货品种ID",
  18698. "type": "integer"
  18699. },
  18700. "enddate": {
  18701. "description": "完成日期",
  18702. "type": "string"
  18703. },
  18704. "endtradedate": {
  18705. "description": "完成交易日",
  18706. "type": "string"
  18707. },
  18708. "enumdicname": {
  18709. "description": "单位",
  18710. "type": "string"
  18711. },
  18712. "exeamount": {
  18713. "description": "执行市价总额",
  18714. "type": "number"
  18715. },
  18716. "exeavgprice": {
  18717. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  18718. "type": "number"
  18719. },
  18720. "execontractamount": {
  18721. "description": "执行定价总额",
  18722. "type": "number"
  18723. },
  18724. "exeqty": {
  18725. "description": "执行现货量",
  18726. "type": "number"
  18727. },
  18728. "exerestamount": {
  18729. "description": "执行剩余市价总额【现货贸易】",
  18730. "type": "number"
  18731. },
  18732. "futurefloatpl": {
  18733. "description": "期货浮动损益",
  18734. "type": "number"
  18735. },
  18736. "futurehedgepl": {
  18737. "description": "期货实际损益",
  18738. "type": "number"
  18739. },
  18740. "futurehedgeplchange": {
  18741. "description": "期货实际损益变动",
  18742. "type": "number"
  18743. },
  18744. "futurepl": {
  18745. "description": "期货套期损益",
  18746. "type": "number"
  18747. },
  18748. "futureplchange": {
  18749. "description": "期货套期损益变动",
  18750. "type": "number"
  18751. },
  18752. "hedgeamount": {
  18753. "description": "套期市价总额",
  18754. "type": "number"
  18755. },
  18756. "hedgecontractamount": {
  18757. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  18758. "type": "number"
  18759. },
  18760. "hedgeditemid": {
  18761. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  18762. "type": "string"
  18763. },
  18764. "hedgeditemname": {
  18765. "description": "项目名称",
  18766. "type": "string"
  18767. },
  18768. "hedgeditemnum": {
  18769. "description": "项目编号",
  18770. "type": "string"
  18771. },
  18772. "hedgeditemstatus": {
  18773. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18774. "type": "integer"
  18775. },
  18776. "hedgedtype": {
  18777. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  18778. "type": "integer"
  18779. },
  18780. "hedgeqty": {
  18781. "description": "套期现货量",
  18782. "type": "number"
  18783. },
  18784. "hedgerate": {
  18785. "description": "套保比率",
  18786. "type": "number"
  18787. },
  18788. "hedgerestamount": {
  18789. "description": "套期剩余市价总额【现货贸易】",
  18790. "type": "number"
  18791. },
  18792. "hedgesumpl": {
  18793. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  18794. "type": "number"
  18795. },
  18796. "middlegoodslist": {
  18797. "description": "套期商品列表",
  18798. "type": "array",
  18799. "items": {
  18800. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  18801. }
  18802. },
  18803. "oriavgprice": {
  18804. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  18805. "type": "number"
  18806. },
  18807. "orifuturehedgepl": {
  18808. "description": "期初期货实际损益",
  18809. "type": "number"
  18810. },
  18811. "orifuturepl": {
  18812. "description": "期初期货套期损益",
  18813. "type": "number"
  18814. },
  18815. "orispothedgepl": {
  18816. "description": "期初现货实际损益",
  18817. "type": "number"
  18818. },
  18819. "orispotpl": {
  18820. "description": "期初现货套期损益",
  18821. "type": "number"
  18822. },
  18823. "planenddate": {
  18824. "description": "计划结束日期",
  18825. "type": "string"
  18826. },
  18827. "planstartdate": {
  18828. "description": "计划开始日期",
  18829. "type": "string"
  18830. },
  18831. "remark": {
  18832. "description": "备注",
  18833. "type": "string"
  18834. },
  18835. "spotbookamount": {
  18836. "description": "现货账面总额",
  18837. "type": "number"
  18838. },
  18839. "spotfloatpl": {
  18840. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  18841. "type": "number"
  18842. },
  18843. "spothedgepl": {
  18844. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  18845. "type": "number"
  18846. },
  18847. "spothedgeplchange": {
  18848. "description": "现货实际损益变动",
  18849. "type": "number"
  18850. },
  18851. "spotpl": {
  18852. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  18853. "type": "number"
  18854. },
  18855. "spotplchange": {
  18856. "description": "现货套期损益变动",
  18857. "type": "number"
  18858. },
  18859. "spottradepl": {
  18860. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  18861. "type": "number"
  18862. },
  18863. "sumobspl": {
  18864. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  18865. "type": "number"
  18866. },
  18867. "tradeuserid": {
  18868. "description": "交易用户ID",
  18869. "type": "integer"
  18870. },
  18871. "unexeqty": {
  18872. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  18873. "type": "number"
  18874. },
  18875. "updatetime": {
  18876. "description": "更新时间",
  18877. "type": "string"
  18878. },
  18879. "vatpl": {
  18880. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  18881. "type": "number"
  18882. },
  18883. "vatrate": {
  18884. "description": "增值税",
  18885. "type": "number"
  18886. },
  18887. "wrstandardid": {
  18888. "description": "现货商品ID",
  18889. "type": "integer"
  18890. },
  18891. "wrstandardname": {
  18892. "description": "商品名称",
  18893. "type": "string"
  18894. }
  18895. }
  18896. },
  18897. "models.Ermcp2hedgeditemlink": {
  18898. "type": "object",
  18899. "required": [
  18900. "relatedspotcontractid"
  18901. ],
  18902. "properties": {
  18903. "areauserid": {
  18904. "description": "企业ID",
  18905. "type": "integer"
  18906. },
  18907. "createtime": {
  18908. "description": "[关联时间]创建时间",
  18909. "type": "string"
  18910. },
  18911. "customeruserid": {
  18912. "description": "对手方 【3:采购合同 4:销售合同】",
  18913. "type": "integer"
  18914. },
  18915. "deliverygoodsid": {
  18916. "description": "现货品种ID",
  18917. "type": "integer"
  18918. },
  18919. "enumdicname": {
  18920. "description": "单位",
  18921. "type": "string"
  18922. },
  18923. "hedgeditemid": {
  18924. "description": "被套期项目ID",
  18925. "type": "integer"
  18926. },
  18927. "hedgeditemlinkid": {
  18928. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  18929. "type": "integer"
  18930. },
  18931. "hedgeditemnum": {
  18932. "description": "项目编号",
  18933. "type": "string"
  18934. },
  18935. "hedgedtype": {
  18936. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  18937. "type": "integer"
  18938. },
  18939. "relatedamount": {
  18940. "description": "市价总额 = 关联数量 * 期初市场价",
  18941. "type": "number"
  18942. },
  18943. "relatedhedgeplanid": {
  18944. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  18945. "type": "integer"
  18946. },
  18947. "relatedqty": {
  18948. "description": "关联数量",
  18949. "type": "number"
  18950. },
  18951. "relatedspotcontractid": {
  18952. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  18953. "type": "integer"
  18954. },
  18955. "relatedtype": {
  18956. "description": "关联类型 - 1:套期关联 2:执行关联",
  18957. "type": "integer"
  18958. },
  18959. "spotgoodsbrandid": {
  18960. "description": "现货品牌ID",
  18961. "type": "integer"
  18962. },
  18963. "spotpricedamount": {
  18964. "description": "[关联定价总额]定价总额",
  18965. "type": "number"
  18966. },
  18967. "spotpricedavgprice": {
  18968. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  18969. "type": "number"
  18970. },
  18971. "spottype": {
  18972. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  18973. "type": "integer"
  18974. },
  18975. "tradeuserid": {
  18976. "description": "交易用户ID",
  18977. "type": "integer"
  18978. },
  18979. "unexeqty": {
  18980. "description": "未执行现货量【项目关联时值】",
  18981. "type": "number"
  18982. },
  18983. "wrstandardid": {
  18984. "description": "现货商品ID",
  18985. "type": "integer"
  18986. },
  18987. "wrstandardname": {
  18988. "description": "现货商品",
  18989. "type": "string"
  18990. }
  18991. }
  18992. },
  18993. "models.Ermcp2hedgeditemsDetail": {
  18994. "type": "object",
  18995. "properties": {
  18996. "accountname": {
  18997. "description": "套期主体",
  18998. "type": "string"
  18999. },
  19000. "areauserid": {
  19001. "description": "企业ID",
  19002. "type": "integer"
  19003. },
  19004. "createtime": {
  19005. "description": "[日期时间]创建时间",
  19006. "type": "string"
  19007. },
  19008. "customeruserid": {
  19009. "description": "对手方 【3:采购合同 4:销售合同】",
  19010. "type": "integer"
  19011. },
  19012. "deliverygoodsid": {
  19013. "description": "现货品种ID",
  19014. "type": "integer"
  19015. },
  19016. "enumdicname": {
  19017. "description": "单位",
  19018. "type": "string"
  19019. },
  19020. "hedgeditemid": {
  19021. "description": "被套期项目ID",
  19022. "type": "string"
  19023. },
  19024. "hedgeditemspotid": {
  19025. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19026. "type": "string"
  19027. },
  19028. "hedgedtype": {
  19029. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19030. "type": "integer"
  19031. },
  19032. "hedgeplanno": {
  19033. "description": "计划编号",
  19034. "type": "string"
  19035. },
  19036. "middlegoodschange": {
  19037. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  19038. "type": "number"
  19039. },
  19040. "oriavgprice": {
  19041. "description": "期初市场价[当初市场价]",
  19042. "type": "number"
  19043. },
  19044. "relatedamount": {
  19045. "description": "市价总额 = 关联数量 * 期初市场价",
  19046. "type": "number"
  19047. },
  19048. "relatedhedgeplanid": {
  19049. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19050. "type": "integer"
  19051. },
  19052. "relatedqty": {
  19053. "description": "[期间变化量]关联数量",
  19054. "type": "number"
  19055. },
  19056. "relatedspotcontractid": {
  19057. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19058. "type": "integer"
  19059. },
  19060. "relatedtype": {
  19061. "description": "关联类型 - 1:套期关联 2:执行关联",
  19062. "type": "integer"
  19063. },
  19064. "spotgoodsbrandid": {
  19065. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19066. "type": "integer"
  19067. },
  19068. "spotpricedamount": {
  19069. "description": "定价总额",
  19070. "type": "number"
  19071. },
  19072. "spotpricedavgprice": {
  19073. "description": "现货均价 = 定价总额 / 关联数量",
  19074. "type": "number"
  19075. },
  19076. "spottype": {
  19077. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19078. "type": "integer"
  19079. },
  19080. "tradeuserid": {
  19081. "description": "交易用户ID",
  19082. "type": "integer"
  19083. },
  19084. "unexeqty": {
  19085. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  19086. "type": "number"
  19087. },
  19088. "wrstandardid": {
  19089. "description": "现货商品ID",
  19090. "type": "integer"
  19091. },
  19092. "wrstandardname": {
  19093. "description": "现货商品",
  19094. "type": "string"
  19095. }
  19096. }
  19097. },
  19098. "models.Ermcp2hedgeditemspot": {
  19099. "type": "object",
  19100. "required": [
  19101. "hedgeditemid"
  19102. ],
  19103. "properties": {
  19104. "areauserid": {
  19105. "description": "企业ID",
  19106. "type": "integer"
  19107. },
  19108. "createtime": {
  19109. "description": "创建时间",
  19110. "type": "string"
  19111. },
  19112. "customeruserid": {
  19113. "description": "对手方 【3:采购合同 4:销售合同】",
  19114. "type": "integer"
  19115. },
  19116. "deliverygoodsid": {
  19117. "description": "现货品种ID",
  19118. "type": "integer"
  19119. },
  19120. "enumdicname": {
  19121. "description": "单位",
  19122. "type": "string"
  19123. },
  19124. "hedgeditemid": {
  19125. "description": "被套期项目ID",
  19126. "type": "string"
  19127. },
  19128. "hedgeditemspotid": {
  19129. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19130. "type": "string"
  19131. },
  19132. "hedgedtype": {
  19133. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19134. "type": "integer"
  19135. },
  19136. "hedgeplanno": {
  19137. "description": "计划编号",
  19138. "type": "string"
  19139. },
  19140. "oriavgprice": {
  19141. "description": "期初市场价[当初市场价]",
  19142. "type": "number"
  19143. },
  19144. "relatedamount": {
  19145. "description": "市价总额 = 关联数量 * 期初市场价",
  19146. "type": "number"
  19147. },
  19148. "relatedhedgeplanid": {
  19149. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19150. "type": "integer"
  19151. },
  19152. "relatedqty": {
  19153. "description": "关联数量[数量]",
  19154. "type": "number"
  19155. },
  19156. "relatedspotcontractid": {
  19157. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19158. "type": "integer"
  19159. },
  19160. "relatedtype": {
  19161. "description": "关联类型 - 1:套期关联 2:执行关联",
  19162. "type": "integer"
  19163. },
  19164. "spotgoodsbrandid": {
  19165. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19166. "type": "integer"
  19167. },
  19168. "spotpricedamount": {
  19169. "description": "定价总额",
  19170. "type": "number"
  19171. },
  19172. "spotpricedavgprice": {
  19173. "description": "现货均价 = 定价总额 / 关联数量",
  19174. "type": "number"
  19175. },
  19176. "spottype": {
  19177. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19178. "type": "integer"
  19179. },
  19180. "tradeuserid": {
  19181. "description": "交易用户ID",
  19182. "type": "integer"
  19183. },
  19184. "wrstandardid": {
  19185. "description": "现货商品ID",
  19186. "type": "integer"
  19187. },
  19188. "wrstandardname": {
  19189. "description": "现货商品",
  19190. "type": "string"
  19191. }
  19192. }
  19193. },
  19194. "models.Ermcp2hedgeditemspotDetail": {
  19195. "type": "object",
  19196. "required": [
  19197. "hedgeditemid"
  19198. ],
  19199. "properties": {
  19200. "accountname": {
  19201. "description": "对手方",
  19202. "type": "string"
  19203. },
  19204. "areauserid": {
  19205. "description": "企业ID",
  19206. "type": "integer"
  19207. },
  19208. "brandname": {
  19209. "description": "品牌",
  19210. "type": "string"
  19211. },
  19212. "contractno": {
  19213. "description": "合同编号",
  19214. "type": "string"
  19215. },
  19216. "createtime": {
  19217. "description": "创建时间",
  19218. "type": "string"
  19219. },
  19220. "customeruserid": {
  19221. "description": "对手方 【3:采购合同 4:销售合同】",
  19222. "type": "integer"
  19223. },
  19224. "deliverygoodsid": {
  19225. "description": "现货品种ID",
  19226. "type": "integer"
  19227. },
  19228. "enumdicname": {
  19229. "description": "单位",
  19230. "type": "string"
  19231. },
  19232. "hedgeditemid": {
  19233. "description": "被套期项目ID",
  19234. "type": "string"
  19235. },
  19236. "hedgeditemspotid": {
  19237. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19238. "type": "string"
  19239. },
  19240. "hedgedtype": {
  19241. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19242. "type": "integer"
  19243. },
  19244. "oriavgprice": {
  19245. "description": "期初市场价[当初市场价]",
  19246. "type": "number"
  19247. },
  19248. "relatedamount": {
  19249. "description": "市价总额 = 关联数量 * 期初市场价",
  19250. "type": "number"
  19251. },
  19252. "relatedhedgeplanid": {
  19253. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19254. "type": "integer"
  19255. },
  19256. "relatedqty": {
  19257. "description": "关联数量[数量]",
  19258. "type": "number"
  19259. },
  19260. "relatedspotcontractid": {
  19261. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19262. "type": "integer"
  19263. },
  19264. "relatedtype": {
  19265. "description": "关联类型 - 1:套期关联 2:执行关联",
  19266. "type": "integer"
  19267. },
  19268. "spotgoodsbrandid": {
  19269. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19270. "type": "integer"
  19271. },
  19272. "spotpricedamount": {
  19273. "description": "定价总额[金额]",
  19274. "type": "number"
  19275. },
  19276. "spotpricedavgprice": {
  19277. "description": "现货均价 = 定价总额 / 关联数量",
  19278. "type": "number"
  19279. },
  19280. "spottype": {
  19281. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19282. "type": "integer"
  19283. },
  19284. "tradeuserid": {
  19285. "description": "交易用户ID",
  19286. "type": "integer"
  19287. },
  19288. "wrstandardid": {
  19289. "description": "现货商品ID",
  19290. "type": "integer"
  19291. },
  19292. "wrstandardname": {
  19293. "description": "现货商品",
  19294. "type": "string"
  19295. }
  19296. }
  19297. },
  19298. "models.Ermcp2himiddlegoods": {
  19299. "type": "object",
  19300. "required": [
  19301. "hedgeditemid",
  19302. "middlegoodsid"
  19303. ],
  19304. "properties": {
  19305. "futurehedgeqty": {
  19306. "description": "期货持仓套期量",
  19307. "type": "number"
  19308. },
  19309. "hedgeditemid": {
  19310. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  19311. "type": "integer"
  19312. },
  19313. "hiexpsoure": {
  19314. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  19315. "type": "number"
  19316. },
  19317. "middlegoodscode": {
  19318. "description": "套保商品代码",
  19319. "type": "string"
  19320. },
  19321. "middlegoodsid": {
  19322. "description": "套保品种ID",
  19323. "type": "integer"
  19324. },
  19325. "middlegoodsname": {
  19326. "description": "套保商品名称",
  19327. "type": "string"
  19328. },
  19329. "unexehedgeqty": {
  19330. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  19331. "type": "number"
  19332. }
  19333. }
  19334. },
  19335. "models.Ermcp2stockspotchangelog": {
  19336. "type": "object",
  19337. "properties": {
  19338. "accountname": {
  19339. "description": "套期主体",
  19340. "type": "string"
  19341. },
  19342. "aftervalue": {
  19343. "description": "现货量",
  19344. "type": "number"
  19345. },
  19346. "beforevalue": {
  19347. "description": "变更前现货量",
  19348. "type": "number"
  19349. },
  19350. "contractno": {
  19351. "description": "[编号]现货合同编号",
  19352. "type": "string"
  19353. },
  19354. "contracttype": {
  19355. "description": "现货合同类型 - 1:采购 -1:销售",
  19356. "type": "integer"
  19357. },
  19358. "createtime": {
  19359. "description": "创建时间",
  19360. "type": "string"
  19361. },
  19362. "customerusername": {
  19363. "description": "对手方",
  19364. "type": "string"
  19365. },
  19366. "deliverygoodsid": {
  19367. "description": "现货品种ID",
  19368. "type": "integer"
  19369. },
  19370. "exetype": {
  19371. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  19372. "type": "integer"
  19373. },
  19374. "logid": {
  19375. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  19376. "type": "string"
  19377. },
  19378. "logvalue": {
  19379. "description": "[期间变化量]现货量变更值",
  19380. "type": "number"
  19381. },
  19382. "middlegoodschange": {
  19383. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  19384. "type": "number"
  19385. },
  19386. "operatelogtype": {
  19387. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  19388. "type": "integer"
  19389. },
  19390. "relatedid": {
  19391. "description": "现货合同ID",
  19392. "type": "integer"
  19393. },
  19394. "spotgoodsbrandid": {
  19395. "description": "现货品牌ID",
  19396. "type": "integer"
  19397. },
  19398. "tradedate": {
  19399. "description": "交易日(yyyyMMdd)",
  19400. "type": "string"
  19401. },
  19402. "userid": {
  19403. "description": "机构ID",
  19404. "type": "integer"
  19405. },
  19406. "warehouseinfoid": {
  19407. "description": "仓库ID",
  19408. "type": "integer"
  19409. },
  19410. "wrfactortypeid": {
  19411. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19412. "type": "integer"
  19413. },
  19414. "wrstandardid": {
  19415. "description": "现货商品ID",
  19416. "type": "integer"
  19417. },
  19418. "wrstandardname": {
  19419. "description": "商品名称",
  19420. "type": "string"
  19421. }
  19422. }
  19423. },
  19424. "models.Ermcp3AreaSpot": {
  19425. "type": "object",
  19426. "properties": {
  19427. "areauserid": {
  19428. "description": "所属机构",
  19429. "type": "integer"
  19430. },
  19431. "convertratio": {
  19432. "description": "套保系数",
  19433. "type": "number"
  19434. },
  19435. "decreaseqty": {
  19436. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19437. "type": "number"
  19438. },
  19439. "enumdicname": {
  19440. "description": "单位名称",
  19441. "type": "string"
  19442. },
  19443. "increaseqty": {
  19444. "description": "增加数量=销售计划数量+采购已定价数量",
  19445. "type": "number"
  19446. },
  19447. "oritoalspotqty": {
  19448. "description": "昨日数量",
  19449. "type": "number"
  19450. },
  19451. "totalspotqty": {
  19452. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19453. "type": "number"
  19454. },
  19455. "unitid": {
  19456. "description": "现货商品单位id",
  19457. "type": "integer"
  19458. },
  19459. "updatetime": {
  19460. "description": "更新时间",
  19461. "type": "string"
  19462. },
  19463. "wrstandardcode": {
  19464. "description": "现货商品代码",
  19465. "type": "string"
  19466. },
  19467. "wrstandardid": {
  19468. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19469. "type": "integer"
  19470. },
  19471. "wrstandardname": {
  19472. "description": "现货商品名称",
  19473. "type": "string"
  19474. }
  19475. }
  19476. },
  19477. "models.Ermcp3AreaSpotDetail": {
  19478. "type": "object",
  19479. "properties": {
  19480. "contracttype": {
  19481. "description": "合同类型 1-采购 -1-销售",
  19482. "type": "integer"
  19483. },
  19484. "createtime": {
  19485. "description": "创建时间",
  19486. "type": "string"
  19487. },
  19488. "enumdicname": {
  19489. "description": "现货商品单位名称",
  19490. "type": "string"
  19491. },
  19492. "logtype": {
  19493. "description": "记录类型 1-套保 2-现货合同",
  19494. "type": "integer"
  19495. },
  19496. "qty": {
  19497. "description": "数量",
  19498. "type": "number"
  19499. },
  19500. "recordname": {
  19501. "description": "类型名称",
  19502. "type": "string"
  19503. },
  19504. "relatedid": {
  19505. "description": "套保计划ID/现货合同ID",
  19506. "type": "string"
  19507. },
  19508. "relatedno": {
  19509. "description": "编号",
  19510. "type": "string"
  19511. },
  19512. "strtime": {
  19513. "description": "时间",
  19514. "type": "string"
  19515. },
  19516. "wrstandardcode": {
  19517. "description": "现货商品代码",
  19518. "type": "string"
  19519. },
  19520. "wrstandardid": {
  19521. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19522. "type": "integer"
  19523. },
  19524. "wrstandardname": {
  19525. "description": "现货商品名称",
  19526. "type": "string"
  19527. }
  19528. }
  19529. },
  19530. "models.Ermcp3AreaSpotPLReport": {
  19531. "type": "object",
  19532. "properties": {
  19533. "accountid": {
  19534. "description": "期货账户ID (作废, 默认为0)",
  19535. "type": "integer"
  19536. },
  19537. "accountname": {
  19538. "description": "机构名称",
  19539. "type": "string"
  19540. },
  19541. "actualpl": {
  19542. "description": "现货损益",
  19543. "type": "number"
  19544. },
  19545. "areauserid": {
  19546. "description": "所属机构\\交易用户ID",
  19547. "type": "integer"
  19548. },
  19549. "begindate": {
  19550. "description": "开始交易日",
  19551. "type": "string"
  19552. },
  19553. "biztype": {
  19554. "description": "业务类型 - 1:套保 2:套利",
  19555. "type": "integer"
  19556. },
  19557. "brandname": {
  19558. "description": "品牌名称",
  19559. "type": "string"
  19560. },
  19561. "curamount": {
  19562. "description": "期末额",
  19563. "type": "number"
  19564. },
  19565. "curaverageprice": {
  19566. "description": "期初均价",
  19567. "type": "number"
  19568. },
  19569. "curbuyamount": {
  19570. "description": "期末采购总额",
  19571. "type": "number"
  19572. },
  19573. "curbuyqty": {
  19574. "description": "期末采购总量",
  19575. "type": "number"
  19576. },
  19577. "curmarketvalue": {
  19578. "description": "期初均价",
  19579. "type": "number"
  19580. },
  19581. "curqty": {
  19582. "description": "期末量",
  19583. "type": "number"
  19584. },
  19585. "currencyid": {
  19586. "description": "结算币种ID【原值】",
  19587. "type": "integer"
  19588. },
  19589. "currencyname": {
  19590. "description": "币种名称",
  19591. "type": "string"
  19592. },
  19593. "cursellamount": {
  19594. "description": "期末销售总额",
  19595. "type": "number"
  19596. },
  19597. "cursellqty": {
  19598. "description": "期末销售总量",
  19599. "type": "number"
  19600. },
  19601. "curspotprice": {
  19602. "description": "期初均价",
  19603. "type": "number"
  19604. },
  19605. "cycletime": {
  19606. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19607. "type": "string"
  19608. },
  19609. "cycletype": {
  19610. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19611. "type": "integer"
  19612. },
  19613. "deliverygoodscode": {
  19614. "description": "现货品种代码",
  19615. "type": "string"
  19616. },
  19617. "deliverygoodsid": {
  19618. "description": "现货品种ID",
  19619. "type": "integer"
  19620. },
  19621. "deliverygoodsname": {
  19622. "description": "现货品种名称",
  19623. "type": "string"
  19624. },
  19625. "enddate": {
  19626. "description": "结束交易日",
  19627. "type": "string"
  19628. },
  19629. "enumdicname": {
  19630. "description": "现货品种单位名称(作废)",
  19631. "type": "string"
  19632. },
  19633. "floatpl": {
  19634. "description": "期初均价",
  19635. "type": "number"
  19636. },
  19637. "goodsunitid": {
  19638. "description": "现货品种单位id(作废)",
  19639. "type": "integer"
  19640. },
  19641. "oriamount": {
  19642. "description": "期初额",
  19643. "type": "number"
  19644. },
  19645. "oriaverageprice": {
  19646. "description": "期初均价",
  19647. "type": "number"
  19648. },
  19649. "oribuyamount": {
  19650. "description": "期初采购总额",
  19651. "type": "number"
  19652. },
  19653. "oribuyqty": {
  19654. "description": "期初采购总量",
  19655. "type": "number"
  19656. },
  19657. "oriqty": {
  19658. "description": "期初量",
  19659. "type": "number"
  19660. },
  19661. "orisellamount": {
  19662. "description": "期初销售总额",
  19663. "type": "number"
  19664. },
  19665. "orisellqty": {
  19666. "description": "期初销售总量",
  19667. "type": "number"
  19668. },
  19669. "reckondate": {
  19670. "description": "日照时期(yyyyMMdd)",
  19671. "type": "string"
  19672. },
  19673. "spotgoodsbrandid": {
  19674. "description": "现货品牌ID",
  19675. "type": "integer"
  19676. },
  19677. "todaybuyamount": {
  19678. "description": "今日采购额(今采购额)",
  19679. "type": "number"
  19680. },
  19681. "todaybuyaverageprice": {
  19682. "description": "期初均价",
  19683. "type": "number"
  19684. },
  19685. "todaybuyqty": {
  19686. "description": "今日采购量(今采购量)",
  19687. "type": "number"
  19688. },
  19689. "todayinqty": {
  19690. "description": "今日入库量(今入库量)",
  19691. "type": "number"
  19692. },
  19693. "todayoutqty": {
  19694. "description": "今日出库量(今出库量)",
  19695. "type": "number"
  19696. },
  19697. "todaysellamount": {
  19698. "description": "今日销售额(今销售额)",
  19699. "type": "number"
  19700. },
  19701. "todaysellaverageprice": {
  19702. "description": "期初均价",
  19703. "type": "number"
  19704. },
  19705. "todaysellqty": {
  19706. "description": "今日销售量(今销售量)",
  19707. "type": "number"
  19708. },
  19709. "unitid": {
  19710. "description": "品类单位id",
  19711. "type": "integer"
  19712. },
  19713. "unitidname": {
  19714. "description": "品类单位名称",
  19715. "type": "string"
  19716. },
  19717. "updatetime": {
  19718. "description": "更新时间",
  19719. "type": "string"
  19720. },
  19721. "wrfactortypeid": {
  19722. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19723. "type": "integer"
  19724. },
  19725. "wrstandardcode": {
  19726. "description": "现货商品(品类)代码",
  19727. "type": "string"
  19728. },
  19729. "wrstandardid": {
  19730. "description": "现货品类ID",
  19731. "type": "integer"
  19732. },
  19733. "wrstandardname": {
  19734. "description": "现货商品(品类)名称",
  19735. "type": "string"
  19736. }
  19737. }
  19738. },
  19739. "models.Ermcp3AreaStock": {
  19740. "type": "object",
  19741. "required": [
  19742. "userid"
  19743. ],
  19744. "properties": {
  19745. "brandname": {
  19746. "description": "品牌名称",
  19747. "type": "string"
  19748. },
  19749. "curstock": {
  19750. "description": "期末库存量(今日量)",
  19751. "type": "number"
  19752. },
  19753. "deliverygoodscode": {
  19754. "description": "现货品种代码",
  19755. "type": "string"
  19756. },
  19757. "deliverygoodsid": {
  19758. "description": "现货品种id",
  19759. "type": "integer"
  19760. },
  19761. "deliverygoodsname": {
  19762. "description": "现货品种名称",
  19763. "type": "string"
  19764. },
  19765. "enumdicname": {
  19766. "description": "单位名称",
  19767. "type": "string"
  19768. },
  19769. "goodsunitid": {
  19770. "description": "现货商品单位id",
  19771. "type": "integer"
  19772. },
  19773. "oristock": {
  19774. "description": "期初库存量(昨日量)",
  19775. "type": "number"
  19776. },
  19777. "spotgoodsbrandid": {
  19778. "description": "现货品牌ID",
  19779. "type": "integer"
  19780. },
  19781. "todaybuyinqty": {
  19782. "description": "今日采购入库量",
  19783. "type": "number"
  19784. },
  19785. "todayproduceinqty": {
  19786. "description": "今日生产入库量",
  19787. "type": "number"
  19788. },
  19789. "todayproduceoutqty": {
  19790. "description": "今日生产出库量",
  19791. "type": "number"
  19792. },
  19793. "todayselloutqty": {
  19794. "description": "今日销售出库量",
  19795. "type": "number"
  19796. },
  19797. "unitid": {
  19798. "description": "单位id",
  19799. "type": "integer"
  19800. },
  19801. "updatetime": {
  19802. "description": "更新时间",
  19803. "type": "string"
  19804. },
  19805. "userid": {
  19806. "description": "机构ID",
  19807. "type": "integer"
  19808. },
  19809. "username": {
  19810. "description": "机构名称",
  19811. "type": "string"
  19812. },
  19813. "warehousecode": {
  19814. "description": "仓库代码",
  19815. "type": "string"
  19816. },
  19817. "warehouseinfoid": {
  19818. "description": "仓库ID",
  19819. "type": "string"
  19820. },
  19821. "warehousename": {
  19822. "description": "仓库名称",
  19823. "type": "string"
  19824. },
  19825. "warehousetype": {
  19826. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19827. "type": "integer"
  19828. },
  19829. "wrstandardcode": {
  19830. "description": "品类代码",
  19831. "type": "string"
  19832. },
  19833. "wrstandardid": {
  19834. "description": "品类ID",
  19835. "type": "string"
  19836. },
  19837. "wrstandardname": {
  19838. "description": "品类名称",
  19839. "type": "string"
  19840. }
  19841. }
  19842. },
  19843. "models.Ermcp3AreaStockApply": {
  19844. "type": "object",
  19845. "properties": {
  19846. "applyid": {
  19847. "description": "申请人",
  19848. "type": "integer"
  19849. },
  19850. "applyname": {
  19851. "description": "申请人名称",
  19852. "type": "string"
  19853. },
  19854. "applyremark": {
  19855. "description": "申请备注",
  19856. "type": "string"
  19857. },
  19858. "applysrc": {
  19859. "description": "申请来源 - 1:管理端 2:终端",
  19860. "type": "integer"
  19861. },
  19862. "applystatus": {
  19863. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19864. "type": "integer"
  19865. },
  19866. "applytime": {
  19867. "description": "申请时间",
  19868. "type": "string"
  19869. },
  19870. "auditid": {
  19871. "description": "审核人",
  19872. "type": "integer"
  19873. },
  19874. "auditname": {
  19875. "description": "审核人名称",
  19876. "type": "string"
  19877. },
  19878. "auditremark": {
  19879. "description": "审核备注",
  19880. "type": "string"
  19881. },
  19882. "auditsrc": {
  19883. "description": "审核来源 - 1:管理端 2:终端",
  19884. "type": "integer"
  19885. },
  19886. "audittime": {
  19887. "description": "审核时间",
  19888. "type": "string"
  19889. },
  19890. "audittradedate": {
  19891. "description": "审核交易日(yyyyMMdd)",
  19892. "type": "string"
  19893. },
  19894. "brandname": {
  19895. "description": "品牌名称",
  19896. "type": "string"
  19897. },
  19898. "buynickname": {
  19899. "description": "采购方昵称",
  19900. "type": "string"
  19901. },
  19902. "buyuserid": {
  19903. "description": "采购方userid",
  19904. "type": "integer"
  19905. },
  19906. "buyusername": {
  19907. "description": "采购方名称",
  19908. "type": "string"
  19909. },
  19910. "contractno": {
  19911. "description": "合同编号",
  19912. "type": "string"
  19913. },
  19914. "contractqty": {
  19915. "description": "合同量",
  19916. "type": "number"
  19917. },
  19918. "contracttype": {
  19919. "description": "现货合同类型 - 1:采购 -1:销售",
  19920. "type": "integer"
  19921. },
  19922. "deliverygoodscode": {
  19923. "description": "现货品种代码",
  19924. "type": "string"
  19925. },
  19926. "deliverygoodsid": {
  19927. "description": "现货品种id",
  19928. "type": "integer"
  19929. },
  19930. "deliverygoodsname": {
  19931. "description": "现货品种名称",
  19932. "type": "string"
  19933. },
  19934. "detailjson": {
  19935. "description": "明细数据",
  19936. "type": "string"
  19937. },
  19938. "enumdicname": {
  19939. "description": "现货商品单位名称",
  19940. "type": "string"
  19941. },
  19942. "inoutapplyid": {
  19943. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19944. "type": "string"
  19945. },
  19946. "inouttype": {
  19947. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19948. "type": "integer"
  19949. },
  19950. "pricetype": {
  19951. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19952. "type": "integer"
  19953. },
  19954. "qty": {
  19955. "description": "数量",
  19956. "type": "number"
  19957. },
  19958. "sellnickname": {
  19959. "description": "销售方昵称",
  19960. "type": "string"
  19961. },
  19962. "selluserid": {
  19963. "description": "销售方userid",
  19964. "type": "integer"
  19965. },
  19966. "sellusername": {
  19967. "description": "销售方名称",
  19968. "type": "string"
  19969. },
  19970. "spotcontractid": {
  19971. "description": "关联现货合同ID",
  19972. "type": "string"
  19973. },
  19974. "spotgoodsbrandid": {
  19975. "description": "现货品牌ID",
  19976. "type": "integer"
  19977. },
  19978. "unitid": {
  19979. "description": "单位id",
  19980. "type": "integer"
  19981. },
  19982. "userid": {
  19983. "description": "机构ID",
  19984. "type": "integer"
  19985. },
  19986. "warehousecode": {
  19987. "description": "仓库代码",
  19988. "type": "string"
  19989. },
  19990. "warehouseinfoid": {
  19991. "description": "现货仓库ID",
  19992. "type": "string"
  19993. },
  19994. "warehousename": {
  19995. "description": "仓库名称",
  19996. "type": "string"
  19997. },
  19998. "warehousetype": {
  19999. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20000. "type": "integer"
  20001. },
  20002. "wrstandardcode": {
  20003. "description": "品类代码",
  20004. "type": "string"
  20005. },
  20006. "wrstandardid": {
  20007. "description": "品类ID",
  20008. "type": "integer"
  20009. },
  20010. "wrstandardname": {
  20011. "description": "品类名称",
  20012. "type": "string"
  20013. }
  20014. }
  20015. },
  20016. "models.Ermcp3AreaStockApplySum": {
  20017. "type": "object",
  20018. "properties": {
  20019. "brandname": {
  20020. "description": "品牌名称",
  20021. "type": "string"
  20022. },
  20023. "inouttype": {
  20024. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20025. "type": "integer"
  20026. },
  20027. "spotcontractid": {
  20028. "description": "关联现货合同ID",
  20029. "type": "string"
  20030. },
  20031. "spotgoodsbrandid": {
  20032. "description": "品牌id",
  20033. "type": "integer"
  20034. },
  20035. "totalqty": {
  20036. "description": "总数量",
  20037. "type": "number"
  20038. },
  20039. "wrstandardid": {
  20040. "description": "品类id",
  20041. "type": "integer"
  20042. },
  20043. "wrstandardname": {
  20044. "description": "品类名称",
  20045. "type": "string"
  20046. }
  20047. }
  20048. },
  20049. "models.Ermcp3AreaStockReportEx": {
  20050. "type": "object",
  20051. "properties": {
  20052. "begindate": {
  20053. "description": "开始交易日",
  20054. "type": "string"
  20055. },
  20056. "brandname": {
  20057. "description": "品牌名称",
  20058. "type": "string"
  20059. },
  20060. "curstock": {
  20061. "description": "期末库存量",
  20062. "type": "number"
  20063. },
  20064. "cycletime": {
  20065. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20066. "type": "string"
  20067. },
  20068. "cycletype": {
  20069. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20070. "type": "integer"
  20071. },
  20072. "deliverygoodscode": {
  20073. "description": "现货品种代码",
  20074. "type": "string"
  20075. },
  20076. "deliverygoodsid": {
  20077. "description": "现货品种id",
  20078. "type": "integer"
  20079. },
  20080. "deliverygoodsname": {
  20081. "description": "现货品种名称",
  20082. "type": "string"
  20083. },
  20084. "diffqty": {
  20085. "description": "库存变化量 = 期末 - 期初",
  20086. "type": "number"
  20087. },
  20088. "enddate": {
  20089. "description": "结束交易日",
  20090. "type": "string"
  20091. },
  20092. "enumdicname": {
  20093. "description": "单位名称",
  20094. "type": "string"
  20095. },
  20096. "goodsunitid": {
  20097. "description": "现货单位id",
  20098. "type": "integer"
  20099. },
  20100. "oristock": {
  20101. "description": "期初库存量",
  20102. "type": "number"
  20103. },
  20104. "reckondate": {
  20105. "description": "日照时期(yyyyMMdd)",
  20106. "type": "string"
  20107. },
  20108. "spotgoodsbrandid": {
  20109. "description": "现货品牌ID",
  20110. "type": "integer"
  20111. },
  20112. "todaybuyinqty": {
  20113. "description": "今采购入库量",
  20114. "type": "number"
  20115. },
  20116. "todayproduceinqty": {
  20117. "description": "今内部入库量",
  20118. "type": "number"
  20119. },
  20120. "todayproduceoutqty": {
  20121. "description": "今内部出库量",
  20122. "type": "number"
  20123. },
  20124. "todayselloutqty": {
  20125. "description": "今销售出库量",
  20126. "type": "number"
  20127. },
  20128. "unbuyinqty": {
  20129. "description": "采购未入库量(数据库未找到相关字段?)",
  20130. "type": "number"
  20131. },
  20132. "unitid": {
  20133. "description": "品类单位id",
  20134. "type": "integer"
  20135. },
  20136. "unselloutqty": {
  20137. "description": "销售未出库量(数据库未找到相关字段?)",
  20138. "type": "number"
  20139. },
  20140. "updatetime": {
  20141. "description": "更新时间",
  20142. "type": "string"
  20143. },
  20144. "userid": {
  20145. "description": "机构ID",
  20146. "type": "integer"
  20147. },
  20148. "username": {
  20149. "description": "机构名称",
  20150. "type": "string"
  20151. },
  20152. "warehousecode": {
  20153. "description": "仓库代码",
  20154. "type": "string"
  20155. },
  20156. "warehouseinfoid": {
  20157. "description": "仓库ID",
  20158. "type": "string"
  20159. },
  20160. "warehousename": {
  20161. "description": "仓库名称",
  20162. "type": "string"
  20163. },
  20164. "warehousetype": {
  20165. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20166. "type": "integer"
  20167. },
  20168. "wrstandardcode": {
  20169. "description": "品类代码",
  20170. "type": "string"
  20171. },
  20172. "wrstandardid": {
  20173. "description": "品类ID",
  20174. "type": "integer"
  20175. },
  20176. "wrstandardname": {
  20177. "description": "品类名称",
  20178. "type": "string"
  20179. }
  20180. }
  20181. },
  20182. "models.Ermcp3ArealSumPL": {
  20183. "type": "object",
  20184. "properties": {
  20185. "accountname": {
  20186. "description": "机构名称",
  20187. "type": "string"
  20188. },
  20189. "areauserid": {
  20190. "description": "所属机构\\交易用户ID",
  20191. "type": "integer"
  20192. },
  20193. "begindate": {
  20194. "description": "开始交易日",
  20195. "type": "string"
  20196. },
  20197. "currencyid": {
  20198. "description": "结算币种ID",
  20199. "type": "integer"
  20200. },
  20201. "currencyname": {
  20202. "description": "币种名称",
  20203. "type": "string"
  20204. },
  20205. "cycletime": {
  20206. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20207. "type": "string"
  20208. },
  20209. "cycletype": {
  20210. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20211. "type": "integer"
  20212. },
  20213. "enddate": {
  20214. "description": "结束交易日",
  20215. "type": "string"
  20216. },
  20217. "enumdicname": {
  20218. "description": "单位名称(套保品种)",
  20219. "type": "string"
  20220. },
  20221. "futureactualpl": {
  20222. "description": "期货损益",
  20223. "type": "number"
  20224. },
  20225. "futurefloatpl": {
  20226. "description": "期货浮动损益",
  20227. "type": "number"
  20228. },
  20229. "futurespotratio": {
  20230. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20231. "type": "number"
  20232. },
  20233. "goodsunitid": {
  20234. "description": "套保品种单位id",
  20235. "type": "integer"
  20236. },
  20237. "hedgeexposurepl": {
  20238. "description": "套保敞口损益",
  20239. "type": "number"
  20240. },
  20241. "middlegoodscode": {
  20242. "description": "套保品种代码",
  20243. "type": "string"
  20244. },
  20245. "middlegoodsid": {
  20246. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20247. "type": "integer"
  20248. },
  20249. "middlegoodsname": {
  20250. "description": "套保品种名称",
  20251. "type": "string"
  20252. },
  20253. "reckondate": {
  20254. "description": "日照时期(yyyyMMdd)",
  20255. "type": "string"
  20256. },
  20257. "spotactualpl": {
  20258. "description": "现货损益",
  20259. "type": "number"
  20260. },
  20261. "spotfloatpl": {
  20262. "description": "现货浮动损益",
  20263. "type": "number"
  20264. },
  20265. "sumactualpl": {
  20266. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20267. "type": "number"
  20268. },
  20269. "sumpl": {
  20270. "description": "总敞口损益 | 汇总损益",
  20271. "type": "number"
  20272. },
  20273. "totalfutureqty": {
  20274. "description": "期货头寸总量",
  20275. "type": "number"
  20276. },
  20277. "totalneedhedgeqty": {
  20278. "description": "应套保总量",
  20279. "type": "number"
  20280. },
  20281. "totalspotqty": {
  20282. "description": "现货头寸总量",
  20283. "type": "number"
  20284. },
  20285. "updatetime": {
  20286. "description": "更新时间",
  20287. "type": "string"
  20288. }
  20289. }
  20290. },
  20291. "models.Ermcp3Brand": {
  20292. "type": "object",
  20293. "properties": {
  20294. "areauserid": {
  20295. "description": "用户id",
  20296. "type": "integer"
  20297. },
  20298. "brandid": {
  20299. "description": "品牌id",
  20300. "type": "integer"
  20301. },
  20302. "brandname": {
  20303. "description": "品牌名称",
  20304. "type": "string"
  20305. },
  20306. "deliverygoodsid": {
  20307. "description": "品种ID",
  20308. "type": "integer"
  20309. },
  20310. "isvalid": {
  20311. "description": "是否有效",
  20312. "type": "integer"
  20313. }
  20314. }
  20315. },
  20316. "models.Ermcp3Contract": {
  20317. "type": "object",
  20318. "properties": {
  20319. "accountid": {
  20320. "description": "期货账户id",
  20321. "type": "string"
  20322. },
  20323. "amount": {
  20324. "description": "金额 [1:一口价、3:暂定价]",
  20325. "type": "number"
  20326. },
  20327. "attachment": {
  20328. "description": "附件",
  20329. "type": "string"
  20330. },
  20331. "auditremark": {
  20332. "description": "审核意见",
  20333. "type": "string"
  20334. },
  20335. "audittime": {
  20336. "description": "审核时间",
  20337. "type": "string"
  20338. },
  20339. "biztype": {
  20340. "description": "业务类型 1-套保 2-套利",
  20341. "type": "integer"
  20342. },
  20343. "brandname": {
  20344. "description": "品牌名称",
  20345. "type": "string"
  20346. },
  20347. "buynickname": {
  20348. "description": "销售方昵称",
  20349. "type": "string"
  20350. },
  20351. "buyuserid": {
  20352. "description": "采购方ID",
  20353. "type": "integer"
  20354. },
  20355. "buyusername": {
  20356. "description": "采购方名称",
  20357. "type": "string"
  20358. },
  20359. "contracctstatus": {
  20360. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20361. "type": "integer"
  20362. },
  20363. "contractmargin": {
  20364. "description": "合同保证金",
  20365. "type": "number"
  20366. },
  20367. "contractno": {
  20368. "description": "现货合同编号",
  20369. "type": "string"
  20370. },
  20371. "contracttype": {
  20372. "description": "现货合同类型 - 1:采购 -1:销售",
  20373. "type": "integer"
  20374. },
  20375. "convertfactor": {
  20376. "description": "标仓系数(品类)",
  20377. "type": "number"
  20378. },
  20379. "createtime": {
  20380. "description": "创建时间",
  20381. "type": "string"
  20382. },
  20383. "currencyid": {
  20384. "description": "币种id",
  20385. "type": "integer"
  20386. },
  20387. "currencyname": {
  20388. "description": "币种名称",
  20389. "type": "string"
  20390. },
  20391. "deliveryenddate": {
  20392. "description": "交收期(结束)",
  20393. "type": "string"
  20394. },
  20395. "deliverygoodscode": {
  20396. "description": "现货品种代码",
  20397. "type": "string"
  20398. },
  20399. "deliverygoodsid": {
  20400. "description": "现货品种ID",
  20401. "type": "integer"
  20402. },
  20403. "deliverygoodsname": {
  20404. "description": "现货品种名称",
  20405. "type": "string"
  20406. },
  20407. "deliverystartdate": {
  20408. "description": "交收期(开始)",
  20409. "type": "string"
  20410. },
  20411. "enddate": {
  20412. "description": "点价结束日期 [2:点价 3:暂定价]",
  20413. "type": "string"
  20414. },
  20415. "enumdicname": {
  20416. "description": "单位名称",
  20417. "type": "string"
  20418. },
  20419. "goodscode": {
  20420. "description": "点价合约代码",
  20421. "type": "string"
  20422. },
  20423. "goodsid": {
  20424. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20425. "type": "integer"
  20426. },
  20427. "goodsname": {
  20428. "description": "点价商品名称",
  20429. "type": "string"
  20430. },
  20431. "margin": {
  20432. "description": "当前保证金",
  20433. "type": "number"
  20434. },
  20435. "meruserid": {
  20436. "description": "跟单员id",
  20437. "type": "integer"
  20438. },
  20439. "meruserlogincode": {
  20440. "description": "跟单员登录代码",
  20441. "type": "string"
  20442. },
  20443. "merusername": {
  20444. "description": "跟单员名称",
  20445. "type": "string"
  20446. },
  20447. "pointdesc": {
  20448. "description": "点价备注",
  20449. "type": "string"
  20450. },
  20451. "price": {
  20452. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20453. "type": "number"
  20454. },
  20455. "pricemove": {
  20456. "description": "升贴水 [2:点价 3:暂定价]",
  20457. "type": "number"
  20458. },
  20459. "pricetype": {
  20460. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20461. "type": "integer"
  20462. },
  20463. "producttype": {
  20464. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20465. "type": "integer"
  20466. },
  20467. "qty": {
  20468. "description": "数量",
  20469. "type": "number"
  20470. },
  20471. "remark": {
  20472. "description": "备注",
  20473. "type": "string"
  20474. },
  20475. "saleuserid": {
  20476. "description": "业务员id",
  20477. "type": "integer"
  20478. },
  20479. "saleuserlogincode": {
  20480. "description": "业务员登录代码",
  20481. "type": "string"
  20482. },
  20483. "saleusername": {
  20484. "description": "业务员名称",
  20485. "type": "string"
  20486. },
  20487. "sellnickname": {
  20488. "description": "采购方昵称",
  20489. "type": "string"
  20490. },
  20491. "selluserid": {
  20492. "description": "销售方ID",
  20493. "type": "integer"
  20494. },
  20495. "sellusername": {
  20496. "description": "销售方名称",
  20497. "type": "string"
  20498. },
  20499. "spotcontractid": {
  20500. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20501. "type": "string"
  20502. },
  20503. "spotgoodsbrandid": {
  20504. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20505. "type": "integer"
  20506. },
  20507. "spotgoodsdesc": {
  20508. "description": "商品型号",
  20509. "type": "string"
  20510. },
  20511. "startdate": {
  20512. "description": "点价开始日期 [2:点价 3:暂定价]",
  20513. "type": "string"
  20514. },
  20515. "subjectid": {
  20516. "description": "交易主体ID",
  20517. "type": "integer"
  20518. },
  20519. "subjectname": {
  20520. "description": "交易主体名称",
  20521. "type": "string"
  20522. },
  20523. "tradeuserid": {
  20524. "description": "交易员id",
  20525. "type": "integer"
  20526. },
  20527. "tradeuserlogincode": {
  20528. "description": "交易员登录代码",
  20529. "type": "string"
  20530. },
  20531. "tradeusername": {
  20532. "description": "交易员名称",
  20533. "type": "string"
  20534. },
  20535. "unitid": {
  20536. "description": "单位id(取品类上的单位id)",
  20537. "type": "integer"
  20538. },
  20539. "updatetime": {
  20540. "description": "更新时间",
  20541. "type": "string"
  20542. },
  20543. "userid": {
  20544. "description": "所属机构ID",
  20545. "type": "integer"
  20546. },
  20547. "vatrate": {
  20548. "description": "增值税率",
  20549. "type": "number"
  20550. },
  20551. "wrstandardcode": {
  20552. "description": "品类代码",
  20553. "type": "string"
  20554. },
  20555. "wrstandardid": {
  20556. "description": "品类ID",
  20557. "type": "integer"
  20558. },
  20559. "wrstandardname": {
  20560. "description": "品类名称",
  20561. "type": "string"
  20562. }
  20563. }
  20564. },
  20565. "models.Ermcp3ContractMiddleGoodsCfg": {
  20566. "type": "object",
  20567. "properties": {
  20568. "agreeunit": {
  20569. "description": "合约乘数",
  20570. "type": "number"
  20571. },
  20572. "convertratio": {
  20573. "description": "期货品种系数",
  20574. "type": "number"
  20575. },
  20576. "covertqty": {
  20577. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  20578. "type": "integer"
  20579. },
  20580. "middlegoodsid": {
  20581. "description": "套保品种ID",
  20582. "type": "integer"
  20583. },
  20584. "middlegoodspricedqty3": {
  20585. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  20586. "type": "string",
  20587. "example": "0"
  20588. },
  20589. "pendingpricedqty": {
  20590. "description": "待点价量",
  20591. "type": "string",
  20592. "example": "0"
  20593. },
  20594. "relatedmiddlegoodsqty": {
  20595. "description": "已关联量(套保品种-期货)",
  20596. "type": "string",
  20597. "example": "0"
  20598. },
  20599. "spotcontractid": {
  20600. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20601. "type": "string"
  20602. }
  20603. }
  20604. },
  20605. "models.Ermcp3ExposureContractDetail": {
  20606. "type": "object",
  20607. "properties": {
  20608. "biztype": {
  20609. "description": "业务类型 1-套保 2-套利",
  20610. "type": "integer"
  20611. },
  20612. "brandname": {
  20613. "description": "品牌名称",
  20614. "type": "string"
  20615. },
  20616. "buyuserid": {
  20617. "description": "采购方id",
  20618. "type": "integer"
  20619. },
  20620. "buyusername": {
  20621. "description": "采购方名称",
  20622. "type": "string"
  20623. },
  20624. "contractno": {
  20625. "description": "合同编号",
  20626. "type": "string"
  20627. },
  20628. "contracttype": {
  20629. "description": "现货合同类型 - 1:采购 -1:销售",
  20630. "type": "integer"
  20631. },
  20632. "convertfactor": {
  20633. "description": "标仓系数",
  20634. "type": "number"
  20635. },
  20636. "convertratio": {
  20637. "description": "折算系数(套保品种)",
  20638. "type": "number"
  20639. },
  20640. "curqty": {
  20641. "description": "今定价量",
  20642. "type": "number"
  20643. },
  20644. "deliverygoodscode": {
  20645. "description": "现货品种代码",
  20646. "type": "string"
  20647. },
  20648. "deliverygoodsid": {
  20649. "description": "现货品种id",
  20650. "type": "integer"
  20651. },
  20652. "deliverygoodsname": {
  20653. "description": "现货品种名称",
  20654. "type": "string"
  20655. },
  20656. "diffhedgeqty": {
  20657. "description": "套保变动量",
  20658. "type": "number"
  20659. },
  20660. "diffneedhedgeqty": {
  20661. "description": "应套保变动量",
  20662. "type": "number"
  20663. },
  20664. "diffqty": {
  20665. "description": "套保品种今变动量",
  20666. "type": "number"
  20667. },
  20668. "enumdicname": {
  20669. "description": "单位名称",
  20670. "type": "string"
  20671. },
  20672. "mgunitname": {
  20673. "description": "套保品种单位名称",
  20674. "type": "string"
  20675. },
  20676. "middlegoodscode": {
  20677. "description": "套保品种代码",
  20678. "type": "string"
  20679. },
  20680. "middlegoodsid": {
  20681. "description": "套保品种id",
  20682. "type": "integer"
  20683. },
  20684. "middlegoodsname": {
  20685. "description": "套保品种名称",
  20686. "type": "string"
  20687. },
  20688. "needarbitrageratio": {
  20689. "description": "应套利比例",
  20690. "type": "number"
  20691. },
  20692. "needhedgeratio": {
  20693. "description": "应套保比例",
  20694. "type": "number"
  20695. },
  20696. "pricedqty": {
  20697. "description": "已定价量",
  20698. "type": "number"
  20699. },
  20700. "qty": {
  20701. "description": "合同量",
  20702. "type": "number"
  20703. },
  20704. "reckondate": {
  20705. "description": "交易日(reckondate)",
  20706. "type": "string"
  20707. },
  20708. "selluserid": {
  20709. "description": "销售方id",
  20710. "type": "integer"
  20711. },
  20712. "sellusername": {
  20713. "description": "销售方名称",
  20714. "type": "string"
  20715. },
  20716. "spotcontractid": {
  20717. "description": "合同id",
  20718. "type": "string"
  20719. },
  20720. "todaypricedqty": {
  20721. "description": "今定价量",
  20722. "type": "number"
  20723. },
  20724. "tradedate": {
  20725. "description": "交易日",
  20726. "type": "string"
  20727. },
  20728. "unitid": {
  20729. "description": "品类单位id",
  20730. "type": "integer"
  20731. },
  20732. "userid": {
  20733. "description": "机构id",
  20734. "type": "integer"
  20735. },
  20736. "username": {
  20737. "description": "交易用户",
  20738. "type": "string"
  20739. },
  20740. "wrstandardcode": {
  20741. "description": "现货商品代码",
  20742. "type": "string"
  20743. },
  20744. "wrstandardid": {
  20745. "description": "现货商品id",
  20746. "type": "integer"
  20747. },
  20748. "wrstandardname": {
  20749. "description": "现货商品名称",
  20750. "type": "string"
  20751. }
  20752. }
  20753. },
  20754. "models.Ermcp3ExposureDetail": {
  20755. "type": "object",
  20756. "properties": {
  20757. "areauserid": {
  20758. "description": "机构ID",
  20759. "type": "integer"
  20760. },
  20761. "changeQty": {
  20762. "description": "套保变动量",
  20763. "type": "number"
  20764. },
  20765. "contracttype": {
  20766. "description": "现货合同类型 - 1:采购 -1:销售",
  20767. "type": "integer"
  20768. },
  20769. "convertfactor": {
  20770. "description": "标仓系数",
  20771. "type": "number"
  20772. },
  20773. "convertratio": {
  20774. "description": "折算系数",
  20775. "type": "number"
  20776. },
  20777. "createtime": {
  20778. "description": "时间",
  20779. "type": "string"
  20780. },
  20781. "enumdicname": {
  20782. "description": "现货商品单位名称",
  20783. "type": "string"
  20784. },
  20785. "logtype": {
  20786. "description": "类型 - 1:套保计划 2:现货合同",
  20787. "type": "integer"
  20788. },
  20789. "mgunitid": {
  20790. "description": "套保品种单位id",
  20791. "type": "integer"
  20792. },
  20793. "mgunitidname": {
  20794. "description": "套保品种单位名称",
  20795. "type": "string"
  20796. },
  20797. "middlegoodsId": {
  20798. "description": "套保商品id",
  20799. "type": "integer"
  20800. },
  20801. "middlegoodscode": {
  20802. "description": "套保商品代码",
  20803. "type": "string"
  20804. },
  20805. "middlegoodsname": {
  20806. "description": "套保商品名称",
  20807. "type": "string"
  20808. },
  20809. "qty": {
  20810. "description": "数量",
  20811. "type": "number"
  20812. },
  20813. "relateNo": {
  20814. "description": "现货合同/套保计划编号",
  20815. "type": "string"
  20816. },
  20817. "unitid": {
  20818. "description": "现货商品单位id",
  20819. "type": "integer"
  20820. },
  20821. "wrstandardcode": {
  20822. "description": "现货商品代码",
  20823. "type": "string"
  20824. },
  20825. "wrstandardid": {
  20826. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20827. "type": "integer"
  20828. },
  20829. "wrstandardname": {
  20830. "description": "现货商品名称",
  20831. "type": "string"
  20832. }
  20833. }
  20834. },
  20835. "models.Ermcp3ExposureFutuDetail": {
  20836. "type": "object",
  20837. "properties": {
  20838. "accountid": {
  20839. "description": "交易账户id",
  20840. "type": "integer"
  20841. },
  20842. "accountname": {
  20843. "description": "交易账户",
  20844. "type": "string"
  20845. },
  20846. "begindate": {
  20847. "description": "开始交易日",
  20848. "type": "string"
  20849. },
  20850. "buyorsell": {
  20851. "description": "方向 0-买 1-卖",
  20852. "type": "integer"
  20853. },
  20854. "diffmgqty": {
  20855. "description": "套保品种今变化量",
  20856. "type": "number"
  20857. },
  20858. "diffneedqty": {
  20859. "description": "应套保总量变化量",
  20860. "type": "number"
  20861. },
  20862. "difftradeqty": {
  20863. "description": "交易品种今变化量",
  20864. "type": "number"
  20865. },
  20866. "enddate": {
  20867. "description": "结束交易日",
  20868. "type": "string"
  20869. },
  20870. "enumdicname": {
  20871. "description": "单位名称",
  20872. "type": "string"
  20873. },
  20874. "goodscode": {
  20875. "description": "商品代码",
  20876. "type": "string"
  20877. },
  20878. "goodsid": {
  20879. "description": "商品id",
  20880. "type": "integer"
  20881. },
  20882. "goodsname": {
  20883. "description": "商品名称",
  20884. "type": "string"
  20885. },
  20886. "holdqty": {
  20887. "description": "期末持仓量",
  20888. "type": "number"
  20889. },
  20890. "middlegoodscode": {
  20891. "description": "套保商品代码",
  20892. "type": "string"
  20893. },
  20894. "middlegoodsid": {
  20895. "description": "套保商品id",
  20896. "type": "integer"
  20897. },
  20898. "middlegoodsname": {
  20899. "description": "套保商品名称",
  20900. "type": "string"
  20901. },
  20902. "oriholdqty": {
  20903. "description": "期初持仓量",
  20904. "type": "number"
  20905. },
  20906. "reckondate": {
  20907. "description": "交易日(RECKONDATE)",
  20908. "type": "string"
  20909. },
  20910. "todaycloseqty": {
  20911. "description": "今平仓量",
  20912. "type": "number"
  20913. },
  20914. "todayopenqty": {
  20915. "description": "今开仓量",
  20916. "type": "number"
  20917. },
  20918. "tradedate": {
  20919. "description": "交易日(RECKONDATE)",
  20920. "type": "string"
  20921. },
  20922. "username": {
  20923. "description": "用户名称(交易用户)",
  20924. "type": "string"
  20925. }
  20926. }
  20927. },
  20928. "models.Ermcp3ExposureHedgeplanDetail": {
  20929. "type": "object",
  20930. "properties": {
  20931. "biztype": {
  20932. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20933. "type": "integer"
  20934. },
  20935. "changqty": {
  20936. "description": "应套保总量变化量",
  20937. "type": "number"
  20938. },
  20939. "contracttype": {
  20940. "description": "计划类型 - 1:采购 -1:销售",
  20941. "type": "integer"
  20942. },
  20943. "convertratio": {
  20944. "description": "折算系数(套保品种)",
  20945. "type": "number"
  20946. },
  20947. "deliverygoodscode": {
  20948. "description": "现货商品代码",
  20949. "type": "string"
  20950. },
  20951. "deliverygoodsid": {
  20952. "description": "现货商品id",
  20953. "type": "integer"
  20954. },
  20955. "deliverygoodsname": {
  20956. "description": "现货商吕名称",
  20957. "type": "string"
  20958. },
  20959. "dgunitid": {
  20960. "description": "现货商品单位id",
  20961. "type": "integer"
  20962. },
  20963. "dgunitidname": {
  20964. "description": "单位名称(现货商品)",
  20965. "type": "string"
  20966. },
  20967. "diffqty": {
  20968. "description": "套保品种今变动量",
  20969. "type": "number"
  20970. },
  20971. "enumdicname": {
  20972. "description": "单位名称(品类)",
  20973. "type": "string"
  20974. },
  20975. "hedgeplanid": {
  20976. "description": "套保计划id",
  20977. "type": "string"
  20978. },
  20979. "hedgeplanno": {
  20980. "description": "套保计划名称",
  20981. "type": "string"
  20982. },
  20983. "hedgeplanstatus": {
  20984. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20985. "type": "integer"
  20986. },
  20987. "mgunitidname": {
  20988. "description": "单位名称(套保商品)",
  20989. "type": "string"
  20990. },
  20991. "middlegoodscode": {
  20992. "description": "套保品种代码",
  20993. "type": "string"
  20994. },
  20995. "middlegoodsid": {
  20996. "description": "套保品种id",
  20997. "type": "integer"
  20998. },
  20999. "middlegoodsname": {
  21000. "description": "套保品种名称",
  21001. "type": "string"
  21002. },
  21003. "needarbitrageratio": {
  21004. "description": "应套利比例",
  21005. "type": "number"
  21006. },
  21007. "needhedgeratio": {
  21008. "description": "应套保比例",
  21009. "type": "number"
  21010. },
  21011. "pricedqty": {
  21012. "description": "已定价量",
  21013. "type": "number"
  21014. },
  21015. "qty": {
  21016. "description": "合同量",
  21017. "type": "number"
  21018. },
  21019. "reckondate": {
  21020. "description": "交易日(reckondate)",
  21021. "type": "string"
  21022. },
  21023. "tradedate": {
  21024. "description": "交易日(登记日)",
  21025. "type": "string"
  21026. },
  21027. "unitid": {
  21028. "description": "品类单位id",
  21029. "type": "integer"
  21030. },
  21031. "userid": {
  21032. "description": "机构id",
  21033. "type": "integer"
  21034. },
  21035. "wrstandardcode": {
  21036. "description": "品类代码",
  21037. "type": "string"
  21038. },
  21039. "wrstandardid": {
  21040. "description": "品类id",
  21041. "type": "integer"
  21042. },
  21043. "wrstandardname": {
  21044. "description": "品类名称",
  21045. "type": "string"
  21046. }
  21047. }
  21048. },
  21049. "models.Ermcp3ExposureParamChLog": {
  21050. "type": "object",
  21051. "properties": {
  21052. "accountid": {
  21053. "description": "期货账户ID (作废, 默认为0)",
  21054. "type": "integer"
  21055. },
  21056. "aftervalue": {
  21057. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21058. "type": "number"
  21059. },
  21060. "areauserid": {
  21061. "description": "所属机构\\交易用户ID",
  21062. "type": "integer"
  21063. },
  21064. "beforevalue": {
  21065. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21066. "type": "number"
  21067. },
  21068. "begindate": {
  21069. "description": "开始交易日",
  21070. "type": "string"
  21071. },
  21072. "changelogtype": {
  21073. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21074. "type": "integer"
  21075. },
  21076. "curvalue": {
  21077. "description": "当前套保\\套利量(套保总量|套利总量)",
  21078. "type": "number"
  21079. },
  21080. "diffvalue": {
  21081. "description": "应套保总量变化量",
  21082. "type": "number"
  21083. },
  21084. "enddate": {
  21085. "description": "结束交易日",
  21086. "type": "string"
  21087. },
  21088. "logdatetime": {
  21089. "description": "流水日期",
  21090. "type": "string"
  21091. },
  21092. "logid": {
  21093. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21094. "type": "string"
  21095. },
  21096. "middlegoodscode": {
  21097. "description": "套保品种代码",
  21098. "type": "string"
  21099. },
  21100. "middlegoodsid": {
  21101. "description": "套保品种",
  21102. "type": "integer"
  21103. },
  21104. "middlegoodsname": {
  21105. "description": "套保品种名称",
  21106. "type": "string"
  21107. },
  21108. "paramaftervalue": {
  21109. "description": "参数变更后(调整后参数值)",
  21110. "type": "number"
  21111. },
  21112. "parambeforevalue": {
  21113. "description": "参数变更前(调整前参数值)",
  21114. "type": "number"
  21115. },
  21116. "reckondate": {
  21117. "description": "交易日(reckondate)",
  21118. "type": "string"
  21119. },
  21120. "tradedate": {
  21121. "description": "交易日(yyyyMMdd)",
  21122. "type": "string"
  21123. }
  21124. }
  21125. },
  21126. "models.Ermcp3ExpourseReport": {
  21127. "type": "object",
  21128. "properties": {
  21129. "accountid": {
  21130. "description": "期货账户ID (作废, 默认为0)",
  21131. "type": "integer"
  21132. },
  21133. "accountname": {
  21134. "description": "机构名称",
  21135. "type": "string"
  21136. },
  21137. "arbitrageqty": {
  21138. "description": "套利量",
  21139. "type": "number"
  21140. },
  21141. "areauserid": {
  21142. "description": "所属机构\\交易用户ID",
  21143. "type": "integer"
  21144. },
  21145. "begindate": {
  21146. "description": "开始交易日",
  21147. "type": "string"
  21148. },
  21149. "buyfutureqty": {
  21150. "description": "买入期货数量",
  21151. "type": "number"
  21152. },
  21153. "buyplanqty": {
  21154. "description": "采购计划数量",
  21155. "type": "number"
  21156. },
  21157. "buypricedqty": {
  21158. "description": "采购合同已定价数量",
  21159. "type": "number"
  21160. },
  21161. "cycletime": {
  21162. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21163. "type": "string"
  21164. },
  21165. "cycletype": {
  21166. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21167. "type": "integer"
  21168. },
  21169. "diffexposure": {
  21170. "description": "变动量(套保敞口)",
  21171. "type": "number"
  21172. },
  21173. "difffutuqty": {
  21174. "description": "变动量(期货)",
  21175. "type": "number"
  21176. },
  21177. "diffhedgeqty": {
  21178. "description": "变动量(现货应套保总量)",
  21179. "type": "number"
  21180. },
  21181. "diffmgqtya": {
  21182. "description": "套保变动量",
  21183. "type": "number"
  21184. },
  21185. "diffmgqtyb": {
  21186. "description": "套利变动量",
  21187. "type": "number"
  21188. },
  21189. "diffneedqty": {
  21190. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  21191. "type": "number"
  21192. },
  21193. "diffqty": {
  21194. "description": "变动量(总敞口)",
  21195. "type": "number"
  21196. },
  21197. "diffspotqty": {
  21198. "description": "变动量(现货) | 除税变动量",
  21199. "type": "number"
  21200. },
  21201. "enddate": {
  21202. "description": "结束交易日",
  21203. "type": "string"
  21204. },
  21205. "enumdicname": {
  21206. "description": "单位名称",
  21207. "type": "string"
  21208. },
  21209. "hedgeqty": {
  21210. "description": "套保量",
  21211. "type": "number"
  21212. },
  21213. "mgneedhedgeratio": {
  21214. "description": "套保比例(套保品的)",
  21215. "type": "number"
  21216. },
  21217. "middlegoodsid": {
  21218. "description": "套保品种ID",
  21219. "type": "integer"
  21220. },
  21221. "middlegoodsname": {
  21222. "description": "套保商品名称",
  21223. "type": "string"
  21224. },
  21225. "middlgoodscode": {
  21226. "description": "套保商品代码",
  21227. "type": "string"
  21228. },
  21229. "needarbitrageqty": {
  21230. "description": "应套利量",
  21231. "type": "number"
  21232. },
  21233. "needarbitrageratio": {
  21234. "description": "套利比例(套保品的)",
  21235. "type": "number"
  21236. },
  21237. "needhedgeexposoure": {
  21238. "description": "应套保敞口(套保敞口)",
  21239. "type": "number"
  21240. },
  21241. "needhedgeqty": {
  21242. "description": "应套保量",
  21243. "type": "number"
  21244. },
  21245. "needhedgeratio": {
  21246. "description": "应套保敞口比例",
  21247. "type": "number"
  21248. },
  21249. "needqty": {
  21250. "description": "应套总量 = 应套保量 + 应套利量",
  21251. "type": "number"
  21252. },
  21253. "oriarbitrageqty": {
  21254. "description": "期初套利量",
  21255. "type": "number"
  21256. },
  21257. "oribuyfutureqty": {
  21258. "description": "期初买入期货数量",
  21259. "type": "number"
  21260. },
  21261. "oribuyplanqty": {
  21262. "description": "期初采购计划数量",
  21263. "type": "number"
  21264. },
  21265. "oribuypricedqty": {
  21266. "description": "期初采购合同已定价数量",
  21267. "type": "number"
  21268. },
  21269. "orihedgeqty": {
  21270. "description": "期初套保量",
  21271. "type": "number"
  21272. },
  21273. "orineedarbitrageqty": {
  21274. "description": "期初应套利量",
  21275. "type": "number"
  21276. },
  21277. "orineedhedgeexposoure": {
  21278. "description": "期初应套保敞口",
  21279. "type": "number"
  21280. },
  21281. "orineedhedgeqty": {
  21282. "description": "期初应套保量",
  21283. "type": "number"
  21284. },
  21285. "orisellfutureqty": {
  21286. "description": "期初卖出期货数量",
  21287. "type": "number"
  21288. },
  21289. "orisellplanqty": {
  21290. "description": "期初销售计划数量",
  21291. "type": "number"
  21292. },
  21293. "orisellpricedqty": {
  21294. "description": "期初销售合同已定价数量",
  21295. "type": "number"
  21296. },
  21297. "oritotalexposure": {
  21298. "description": "期初实时总敞口",
  21299. "type": "number"
  21300. },
  21301. "oritotalfutureqty": {
  21302. "description": "期初期货头寸总量",
  21303. "type": "number"
  21304. },
  21305. "oritotalneedhedgeqty": {
  21306. "description": "期初应套保总量",
  21307. "type": "number"
  21308. },
  21309. "oritotalspotqty": {
  21310. "description": "期初现货头寸总量",
  21311. "type": "number"
  21312. },
  21313. "reckondate": {
  21314. "description": "日照时期(yyyyMMdd)",
  21315. "type": "string"
  21316. },
  21317. "sellfutureqty": {
  21318. "description": "卖出期货数量",
  21319. "type": "number"
  21320. },
  21321. "sellplanqty": {
  21322. "description": "销售计划数量",
  21323. "type": "number"
  21324. },
  21325. "sellpricedqty": {
  21326. "description": "销售合同已定价数量",
  21327. "type": "number"
  21328. },
  21329. "totalexposure": {
  21330. "description": "实时总敞口(总敞口)",
  21331. "type": "number"
  21332. },
  21333. "totalfutureqty": {
  21334. "description": "期货头寸总量(期货总量)",
  21335. "type": "number"
  21336. },
  21337. "totalhedgeratio": {
  21338. "description": "敞口比例",
  21339. "type": "number"
  21340. },
  21341. "totalneedhedgeqty": {
  21342. "description": "应套保总量(现货应套保总量)",
  21343. "type": "number"
  21344. },
  21345. "totalspotqty": {
  21346. "description": "现货头寸总量 | 除税总量",
  21347. "type": "number"
  21348. },
  21349. "unitid": {
  21350. "description": "单位id",
  21351. "type": "integer"
  21352. },
  21353. "updatetime": {
  21354. "description": "更新时间",
  21355. "type": "string"
  21356. }
  21357. }
  21358. },
  21359. "models.Ermcp3FinanceReport": {
  21360. "type": "object",
  21361. "properties": {
  21362. "accountname": {
  21363. "description": "机构名称",
  21364. "type": "string"
  21365. },
  21366. "areauserid": {
  21367. "description": "所属机构\\交易用户ID",
  21368. "type": "integer"
  21369. },
  21370. "begindate": {
  21371. "description": "开始交易日",
  21372. "type": "string"
  21373. },
  21374. "biztype": {
  21375. "description": "业务类型 - 1:套保 2:套利",
  21376. "type": "integer"
  21377. },
  21378. "brandname": {
  21379. "description": "品牌名称",
  21380. "type": "string"
  21381. },
  21382. "buypreinvoicedamount": {
  21383. "description": "采购预收票额(预收票额)",
  21384. "type": "number"
  21385. },
  21386. "buyprepaidamount": {
  21387. "description": "采购预付款额(预付货款额)",
  21388. "type": "number"
  21389. },
  21390. "buytodayinvoiceamount": {
  21391. "description": "采购今收票额(今收票额)",
  21392. "type": "number"
  21393. },
  21394. "buytodayrefundamount": {
  21395. "description": "采购今收退款额(今收退款额)",
  21396. "type": "number"
  21397. },
  21398. "buytodaysettleamount": {
  21399. "description": "采购今付款额(今付货款额)",
  21400. "type": "number"
  21401. },
  21402. "buyuninvoicedamount": {
  21403. "description": "采购应收票额(应收票额)",
  21404. "type": "number"
  21405. },
  21406. "buyunpaidamount": {
  21407. "description": "采购应付款额(应付货款额)",
  21408. "type": "number"
  21409. },
  21410. "currencyid": {
  21411. "description": "结算币种ID",
  21412. "type": "integer"
  21413. },
  21414. "currencyname": {
  21415. "description": "币种名称",
  21416. "type": "string"
  21417. },
  21418. "cycletime": {
  21419. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21420. "type": "string"
  21421. },
  21422. "cycletype": {
  21423. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21424. "type": "integer"
  21425. },
  21426. "deliverygoodscode": {
  21427. "description": "现货品种代码",
  21428. "type": "string"
  21429. },
  21430. "deliverygoodsid": {
  21431. "description": "现货品种ID",
  21432. "type": "integer"
  21433. },
  21434. "deliverygoodsname": {
  21435. "description": "现货品种名称",
  21436. "type": "string"
  21437. },
  21438. "enddate": {
  21439. "description": "结束交易日",
  21440. "type": "string"
  21441. },
  21442. "reckondate": {
  21443. "description": "日照时期(yyyyMMdd)",
  21444. "type": "string"
  21445. },
  21446. "sellpreinvoicedamount": {
  21447. "description": "销售预开票额(预开票额)",
  21448. "type": "number"
  21449. },
  21450. "sellprepaidamount": {
  21451. "description": "销售预收款额(预收货款额)",
  21452. "type": "number"
  21453. },
  21454. "selltodayinvoiceamount": {
  21455. "description": "销售今开票额(今开票额)",
  21456. "type": "number"
  21457. },
  21458. "selltodayrefundamount": {
  21459. "description": "销售今付退款额(今付退款额)",
  21460. "type": "number"
  21461. },
  21462. "selltodaysettleamount": {
  21463. "description": "销售今收款额(今收货款额)",
  21464. "type": "number"
  21465. },
  21466. "selluninvoicedamount": {
  21467. "description": "销售应开票额(应开票额)",
  21468. "type": "number"
  21469. },
  21470. "sellunpaidamount": {
  21471. "description": "销售应收款额(应收货款额)",
  21472. "type": "number"
  21473. },
  21474. "spotgoodsbrandid": {
  21475. "description": "现货品牌ID",
  21476. "type": "integer"
  21477. },
  21478. "todaypaysum": {
  21479. "description": "今付款合计",
  21480. "type": "number"
  21481. },
  21482. "todayreceivesum": {
  21483. "description": "今收款合计",
  21484. "type": "number"
  21485. },
  21486. "updatetime": {
  21487. "description": "更新时间",
  21488. "type": "string"
  21489. },
  21490. "wrfactortypeid": {
  21491. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21492. "type": "integer"
  21493. },
  21494. "wrstandardcode": {
  21495. "description": "品类代码",
  21496. "type": "string"
  21497. },
  21498. "wrstandardid": {
  21499. "description": "现货商品ID",
  21500. "type": "integer"
  21501. },
  21502. "wrstandardname": {
  21503. "description": "品类名称",
  21504. "type": "string"
  21505. }
  21506. }
  21507. },
  21508. "models.Ermcp3GoodsGroup": {
  21509. "type": "object",
  21510. "required": [
  21511. "areauserid"
  21512. ],
  21513. "properties": {
  21514. "agreeunit": {
  21515. "description": "合约单位",
  21516. "type": "number"
  21517. },
  21518. "areauserid": {
  21519. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21520. "type": "integer"
  21521. },
  21522. "canshort": {
  21523. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21524. "type": "integer"
  21525. },
  21526. "closepricemode": {
  21527. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21528. "type": "integer"
  21529. },
  21530. "createtime": {
  21531. "description": "创建时间",
  21532. "type": "string"
  21533. },
  21534. "creatorid": {
  21535. "description": "创建人",
  21536. "type": "integer"
  21537. },
  21538. "currencyid": {
  21539. "description": "报价货币ID",
  21540. "type": "integer"
  21541. },
  21542. "decimalplace": {
  21543. "description": "报价小数位",
  21544. "type": "integer"
  21545. },
  21546. "enumdicname": {
  21547. "description": "单位名称",
  21548. "type": "string"
  21549. },
  21550. "exchangefullname": {
  21551. "description": "交易所全称",
  21552. "type": "string"
  21553. },
  21554. "excludecfg": {
  21555. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21556. "type": "integer"
  21557. },
  21558. "exexchangecode": {
  21559. "description": "交易所代码",
  21560. "type": "string"
  21561. },
  21562. "exexchangeid": {
  21563. "description": "外部交易所ID[通道交易]",
  21564. "type": "integer"
  21565. },
  21566. "exexchangename": {
  21567. "description": "交易所名称",
  21568. "type": "string"
  21569. },
  21570. "goodsgroupid": {
  21571. "description": "商品组ID(自增ID)",
  21572. "type": "integer"
  21573. },
  21574. "goodsgroupname": {
  21575. "description": "商品组名称",
  21576. "type": "string"
  21577. },
  21578. "goodsgroupstatus": {
  21579. "description": "商品组状态 - 1:正常 2:注销",
  21580. "type": "integer"
  21581. },
  21582. "goodunitid": {
  21583. "description": "报价单位ID",
  21584. "type": "integer"
  21585. },
  21586. "groupcategroyid": {
  21587. "description": "品种分类ID",
  21588. "type": "integer"
  21589. },
  21590. "innerdealmode": {
  21591. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21592. "type": "integer"
  21593. },
  21594. "marketid": {
  21595. "description": "所属市场ID",
  21596. "type": "integer"
  21597. },
  21598. "modifierid": {
  21599. "description": "修改人",
  21600. "type": "integer"
  21601. },
  21602. "modifytime": {
  21603. "description": "修改时间",
  21604. "type": "string"
  21605. },
  21606. "outerdealmode": {
  21607. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21608. "type": "integer"
  21609. },
  21610. "outergroupcode": {
  21611. "description": "外部商品组代码[通道交易]",
  21612. "type": "string"
  21613. },
  21614. "quoteminunit": {
  21615. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21616. "type": "integer"
  21617. },
  21618. "quotesourcegroupid": {
  21619. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21620. "type": "integer"
  21621. },
  21622. "syncgoodsqty": {
  21623. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21624. "type": "integer"
  21625. }
  21626. }
  21627. },
  21628. "models.Ermcp3HPMiddleGoods": {
  21629. "type": "object",
  21630. "properties": {
  21631. "biztype": {
  21632. "description": "业务类型 1:套保 2:套利",
  21633. "type": "integer"
  21634. },
  21635. "contracttype": {
  21636. "description": "合同类型 1:采购 -1:销售",
  21637. "type": "integer"
  21638. },
  21639. "convertratio": {
  21640. "description": "折算系数",
  21641. "type": "number"
  21642. },
  21643. "customername": {
  21644. "description": "对手手名称",
  21645. "type": "string"
  21646. },
  21647. "customeruserid": {
  21648. "description": "对手id",
  21649. "type": "integer"
  21650. },
  21651. "enumdicname": {
  21652. "description": "现货单位名称",
  21653. "type": "string"
  21654. },
  21655. "hedgeplanid": {
  21656. "description": "计划id",
  21657. "type": "string"
  21658. },
  21659. "hedgeplanno": {
  21660. "description": "计划编号",
  21661. "type": "string"
  21662. },
  21663. "middlegoodsid": {
  21664. "description": "套保品种ID",
  21665. "type": "integer"
  21666. },
  21667. "middlegoodsplanqty3": {
  21668. "description": "应套保计划量",
  21669. "type": "number"
  21670. },
  21671. "needhedgeratio": {
  21672. "description": "套保比例",
  21673. "type": "number"
  21674. },
  21675. "pricedqty": {
  21676. "description": "已定价量",
  21677. "type": "number"
  21678. },
  21679. "relatedmiddlegoodsqty": {
  21680. "description": "已关联量(套保品种)(期货)",
  21681. "type": "number"
  21682. },
  21683. "unitid": {
  21684. "description": "现货单位id",
  21685. "type": "integer"
  21686. },
  21687. "userid": {
  21688. "description": "用户id",
  21689. "type": "integer"
  21690. },
  21691. "vatrate": {
  21692. "description": "增值税率",
  21693. "type": "number"
  21694. },
  21695. "wrstandardcode": {
  21696. "description": "现货商品代码",
  21697. "type": "string"
  21698. },
  21699. "wrstandardid": {
  21700. "description": "现货商品id",
  21701. "type": "integer"
  21702. },
  21703. "wrstandardname": {
  21704. "description": "现货商品名称",
  21705. "type": "string"
  21706. }
  21707. }
  21708. },
  21709. "models.Ermcp3HedgePlan": {
  21710. "type": "object",
  21711. "properties": {
  21712. "accountid": {
  21713. "description": "资金账号",
  21714. "type": "integer"
  21715. },
  21716. "areauserid": {
  21717. "description": "用户ID",
  21718. "type": "integer"
  21719. },
  21720. "auditid": {
  21721. "description": "审核id",
  21722. "type": "integer"
  21723. },
  21724. "auditname": {
  21725. "description": "审核人名称",
  21726. "type": "string"
  21727. },
  21728. "auditremark": {
  21729. "description": "审核备注",
  21730. "type": "string"
  21731. },
  21732. "auditsrc": {
  21733. "description": "审核来源 1-管理端 2-终端",
  21734. "type": "integer"
  21735. },
  21736. "audittime": {
  21737. "description": "审核时间",
  21738. "type": "string"
  21739. },
  21740. "contracttype": {
  21741. "description": "计划类型 - 1:采购 -1:销售",
  21742. "type": "integer"
  21743. },
  21744. "convertfactor": {
  21745. "description": "标仓系数",
  21746. "type": "number"
  21747. },
  21748. "createtime": {
  21749. "description": "创建时间",
  21750. "type": "string"
  21751. },
  21752. "currencyid": {
  21753. "description": "币种id",
  21754. "type": "integer"
  21755. },
  21756. "currencyname": {
  21757. "description": "币种名称",
  21758. "type": "string"
  21759. },
  21760. "deliverygoodscode": {
  21761. "description": "现货品种代码",
  21762. "type": "string"
  21763. },
  21764. "deliverygoodsid": {
  21765. "description": "现货品种ID",
  21766. "type": "integer"
  21767. },
  21768. "deliverygoodsname": {
  21769. "description": "现货品种名称",
  21770. "type": "string"
  21771. },
  21772. "enumdicname": {
  21773. "description": "单位名称(现货商品)",
  21774. "type": "string"
  21775. },
  21776. "hedgeplanid": {
  21777. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21778. "type": "string"
  21779. },
  21780. "hedgeplanno": {
  21781. "description": "套保计划编号(名称)",
  21782. "type": "string"
  21783. },
  21784. "hedgeplanstatus": {
  21785. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21786. "type": "integer"
  21787. },
  21788. "planqty": {
  21789. "description": "计划数量",
  21790. "type": "number"
  21791. },
  21792. "plantime": {
  21793. "description": "计划时间",
  21794. "type": "string"
  21795. },
  21796. "producttype": {
  21797. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21798. "type": "integer"
  21799. },
  21800. "remark": {
  21801. "description": "备注",
  21802. "type": "string"
  21803. },
  21804. "spotgoodsdesc": {
  21805. "description": "商品型号",
  21806. "type": "string"
  21807. },
  21808. "taaccountname": {
  21809. "description": "资金账号名称",
  21810. "type": "string"
  21811. },
  21812. "tradeuserid": {
  21813. "description": "交易用户id",
  21814. "type": "integer"
  21815. },
  21816. "tradeusername": {
  21817. "description": "交易用户名称",
  21818. "type": "string"
  21819. },
  21820. "unitid": {
  21821. "description": "单位id(现货商品)",
  21822. "type": "integer"
  21823. },
  21824. "updatetime": {
  21825. "description": "更新时间",
  21826. "type": "string"
  21827. },
  21828. "vatrate": {
  21829. "description": "增值税率",
  21830. "type": "number"
  21831. },
  21832. "wrstandardcode": {
  21833. "description": "品类代码",
  21834. "type": "string"
  21835. },
  21836. "wrstandardid": {
  21837. "description": "品类id",
  21838. "type": "integer"
  21839. },
  21840. "wrstandardname": {
  21841. "description": "品类名称",
  21842. "type": "string"
  21843. },
  21844. "wrunitid": {
  21845. "description": "品类单位id",
  21846. "type": "integer"
  21847. },
  21848. "wrunitidame": {
  21849. "description": "品类单位名称",
  21850. "type": "string"
  21851. }
  21852. }
  21853. },
  21854. "models.Ermcp3InnerTradeLink": {
  21855. "type": "object",
  21856. "properties": {
  21857. "accountid": {
  21858. "description": "期货账号代码 | 资金账号ID",
  21859. "type": "integer"
  21860. },
  21861. "buyorsell": {
  21862. "description": "方向 - 0:买 1:卖",
  21863. "type": "integer"
  21864. },
  21865. "channelbuildtype": {
  21866. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21867. "type": "integer"
  21868. },
  21869. "currencyid": {
  21870. "description": "币种id",
  21871. "type": "integer"
  21872. },
  21873. "currencyname": {
  21874. "description": "结算币种 名称",
  21875. "type": "string"
  21876. },
  21877. "goodscode": {
  21878. "description": "商品代码",
  21879. "type": "string"
  21880. },
  21881. "goodsid": {
  21882. "description": "商品ID",
  21883. "type": "integer"
  21884. },
  21885. "goodsname": {
  21886. "description": "商品名称",
  21887. "type": "string"
  21888. },
  21889. "outtradeid": {
  21890. "description": "外部成交单号",
  21891. "type": "string"
  21892. },
  21893. "taname": {
  21894. "description": "期货账户名称",
  21895. "type": "string"
  21896. },
  21897. "tradeid": {
  21898. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21899. "type": "string"
  21900. },
  21901. "tradeprice": {
  21902. "description": "成交价格",
  21903. "type": "number"
  21904. },
  21905. "tradeqty": {
  21906. "description": "期货成交数量",
  21907. "type": "integer"
  21908. },
  21909. "tradetime": {
  21910. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21911. "type": "string"
  21912. },
  21913. "username": {
  21914. "description": "用户名称",
  21915. "type": "string"
  21916. }
  21917. }
  21918. },
  21919. "models.Ermcp3OutTradeLink": {
  21920. "type": "object",
  21921. "properties": {
  21922. "buyorsell": {
  21923. "description": "买卖方向 - 0:买 1:卖",
  21924. "type": "integer"
  21925. },
  21926. "channelbuildtype": {
  21927. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21928. "type": "integer"
  21929. },
  21930. "currencyname": {
  21931. "description": "币种名称",
  21932. "type": "string"
  21933. },
  21934. "exexchangecode": {
  21935. "description": "交易所代码",
  21936. "type": "string"
  21937. },
  21938. "exexchangename": {
  21939. "description": "交易所名称",
  21940. "type": "string"
  21941. },
  21942. "goodscode": {
  21943. "description": "合约代码",
  21944. "type": "string"
  21945. },
  21946. "goodsid": {
  21947. "description": "合约id",
  21948. "type": "integer"
  21949. },
  21950. "goodsname": {
  21951. "description": "合约名称",
  21952. "type": "string"
  21953. },
  21954. "hasinnerorder": {
  21955. "description": "是否有内部单关联 - 0:无 1:有",
  21956. "type": "integer"
  21957. },
  21958. "hedgeaccountcode": {
  21959. "description": "外部账号 | 对冲账号",
  21960. "type": "string"
  21961. },
  21962. "outtradeid": {
  21963. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21964. "type": "string"
  21965. },
  21966. "tradeprice": {
  21967. "description": "成交价格",
  21968. "type": "number"
  21969. },
  21970. "tradeqty": {
  21971. "description": "成交数量",
  21972. "type": "integer"
  21973. },
  21974. "tradetime": {
  21975. "description": "成交时间",
  21976. "type": "string"
  21977. }
  21978. }
  21979. },
  21980. "models.Ermcp3PaAreaAuditCfg": {
  21981. "type": "object",
  21982. "properties": {
  21983. "areauserid": {
  21984. "description": "用户ID",
  21985. "type": "integer"
  21986. },
  21987. "buyinauditflag": {
  21988. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21989. "type": "integer"
  21990. },
  21991. "costratioauditflag": {
  21992. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21993. "type": "integer"
  21994. },
  21995. "customerauditflag": {
  21996. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21997. "type": "integer"
  21998. },
  21999. "deliveryauditflag": {
  22000. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22001. "type": "integer"
  22002. },
  22003. "invoiceauditflag": {
  22004. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22005. "type": "integer"
  22006. },
  22007. "mgneedhedgeratioauditflag": {
  22008. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22009. "type": "integer"
  22010. },
  22011. "moneyauditflag": {
  22012. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22013. "type": "integer"
  22014. },
  22015. "operatorid": {
  22016. "description": "操作人",
  22017. "type": "integer"
  22018. },
  22019. "operatorsrc": {
  22020. "description": "操作来源 - 1:管理端 2:终端",
  22021. "type": "integer"
  22022. },
  22023. "pointpriceauditflag": {
  22024. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22025. "type": "integer"
  22026. },
  22027. "produceinauditflag": {
  22028. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22029. "type": "integer"
  22030. },
  22031. "produceoutauditflag": {
  22032. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22033. "type": "integer"
  22034. },
  22035. "selloutauditflag": {
  22036. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22037. "type": "integer"
  22038. },
  22039. "sgconvertratioauditflag": {
  22040. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22041. "type": "integer"
  22042. },
  22043. "sgvtaratioauditflag": {
  22044. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22045. "type": "integer"
  22046. },
  22047. "spotcontractauditflag": {
  22048. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22049. "type": "integer"
  22050. },
  22051. "updatetime": {
  22052. "description": "更新时间",
  22053. "type": "string"
  22054. }
  22055. }
  22056. },
  22057. "models.Ermcp3PaAreaSubject": {
  22058. "type": "object",
  22059. "properties": {
  22060. "areauserid": {
  22061. "description": "所属机构",
  22062. "type": "integer"
  22063. },
  22064. "canmodify": {
  22065. "description": "是否可修改 - 0:否 1:是",
  22066. "type": "integer"
  22067. },
  22068. "createtime": {
  22069. "description": "创建时间",
  22070. "type": "string"
  22071. },
  22072. "creatorid": {
  22073. "description": "创建人ID",
  22074. "type": "string"
  22075. },
  22076. "creatorsrc": {
  22077. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22078. "type": "integer"
  22079. },
  22080. "modifierid": {
  22081. "description": "修改人",
  22082. "type": "string"
  22083. },
  22084. "modifiersrc": {
  22085. "description": "修改人来源 - 1:管理端 2:终端",
  22086. "type": "integer"
  22087. },
  22088. "modifytime": {
  22089. "description": "修改时间",
  22090. "type": "string"
  22091. },
  22092. "parentsubjectid": {
  22093. "description": "上级主体ID",
  22094. "type": "string"
  22095. },
  22096. "remark": {
  22097. "description": "备注",
  22098. "type": "string"
  22099. },
  22100. "subjectid": {
  22101. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22102. "type": "integer"
  22103. },
  22104. "subjectname": {
  22105. "description": "主体名称",
  22106. "type": "string"
  22107. },
  22108. "subjectstatus": {
  22109. "description": "主体状态 - 1:正常 2: 停用",
  22110. "type": "integer"
  22111. },
  22112. "subjecttype": {
  22113. "description": "主体类型 - 1:交易主体 2:业务部门",
  22114. "type": "integer"
  22115. }
  22116. }
  22117. },
  22118. "models.Ermcp3PaTradeLink": {
  22119. "type": "object",
  22120. "properties": {
  22121. "accountid": {
  22122. "description": "期货账户代码 | 账号ID",
  22123. "type": "integer"
  22124. },
  22125. "agreeunit": {
  22126. "description": "合约乘数",
  22127. "type": "number"
  22128. },
  22129. "buyorsell": {
  22130. "description": "方向 - 0:买 1:卖",
  22131. "type": "integer"
  22132. },
  22133. "channelbuildtype": {
  22134. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22135. "type": "integer"
  22136. },
  22137. "charge": {
  22138. "description": "手续费",
  22139. "type": "number"
  22140. },
  22141. "closepl": {
  22142. "description": "平仓盈亏",
  22143. "type": "number"
  22144. },
  22145. "closetype": {
  22146. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22147. "type": "integer"
  22148. },
  22149. "convertratio": {
  22150. "description": "折算系数",
  22151. "type": "number"
  22152. },
  22153. "enumdicname": {
  22154. "description": "单位名称",
  22155. "type": "string"
  22156. },
  22157. "executeprice": {
  22158. "description": "执行价 [期权]",
  22159. "type": "integer"
  22160. },
  22161. "goodscode": {
  22162. "description": "合约代码",
  22163. "type": "string"
  22164. },
  22165. "goodsgroupid": {
  22166. "description": "对冲品种ID[期货合约商品组ID]",
  22167. "type": "integer"
  22168. },
  22169. "goodsid": {
  22170. "description": "商品ID",
  22171. "type": "integer"
  22172. },
  22173. "goodsname": {
  22174. "description": "合约名称",
  22175. "type": "string"
  22176. },
  22177. "goodunitid": {
  22178. "description": "单位id",
  22179. "type": "integer"
  22180. },
  22181. "hedgeflag": {
  22182. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22183. "type": "integer"
  22184. },
  22185. "marketid": {
  22186. "description": "市场ID",
  22187. "type": "integer"
  22188. },
  22189. "middlegoodsid": {
  22190. "description": "套保品种ID",
  22191. "type": "integer"
  22192. },
  22193. "middlegoodsqty": {
  22194. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22195. "type": "number"
  22196. },
  22197. "optioncode": {
  22198. "description": "期权代码 [期权]",
  22199. "type": "string"
  22200. },
  22201. "ordertype": {
  22202. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22203. "type": "integer"
  22204. },
  22205. "ordertypename": {
  22206. "description": "订单类型",
  22207. "type": "string"
  22208. },
  22209. "parentaccountid": {
  22210. "description": "所属母账户",
  22211. "type": "integer"
  22212. },
  22213. "premium": {
  22214. "description": "权利金 [期权]",
  22215. "type": "number"
  22216. },
  22217. "relatedlot": {
  22218. "description": "已关联数量(已关联数量手) | db:关联手数",
  22219. "type": "number"
  22220. },
  22221. "relatedouttradeid": {
  22222. "description": "关联外部成交单ID",
  22223. "type": "string"
  22224. },
  22225. "relatedqty": {
  22226. "description": "关联数量",
  22227. "type": "number"
  22228. },
  22229. "spotcontractid": {
  22230. "description": "现货合同ID [4:套期保值\\10\\11]",
  22231. "type": "string"
  22232. },
  22233. "taname": {
  22234. "description": "期货账户名称",
  22235. "type": "string"
  22236. },
  22237. "tradeamount": {
  22238. "description": "成交金额(账户)",
  22239. "type": "number"
  22240. },
  22241. "tradedate": {
  22242. "description": "交易日(yyyyMMdd)",
  22243. "type": "string"
  22244. },
  22245. "tradeid": {
  22246. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22247. "type": "string"
  22248. },
  22249. "tradelot": {
  22250. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22251. "type": "integer"
  22252. },
  22253. "tradeprice": {
  22254. "description": "成交价格",
  22255. "type": "number"
  22256. },
  22257. "tradetime": {
  22258. "description": "时间 | db:成交时间",
  22259. "type": "string"
  22260. },
  22261. "tradetype": {
  22262. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22263. "type": "integer"
  22264. },
  22265. "userid": {
  22266. "description": "所属机构 - 所属母账户的UserID",
  22267. "type": "string"
  22268. },
  22269. "username": {
  22270. "description": "用户名称",
  22271. "type": "string"
  22272. }
  22273. }
  22274. },
  22275. "models.Ermcp3ParamChangeApp": {
  22276. "type": "object",
  22277. "properties": {
  22278. "aftervalue": {
  22279. "description": "变更后",
  22280. "type": "number"
  22281. },
  22282. "applicationid": {
  22283. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22284. "type": "string"
  22285. },
  22286. "applyid": {
  22287. "description": "申请人",
  22288. "type": "string"
  22289. },
  22290. "applyname": {
  22291. "description": "申请人名称(代码)",
  22292. "type": "string"
  22293. },
  22294. "applyremark": {
  22295. "description": "申请备注",
  22296. "type": "string"
  22297. },
  22298. "applysrc": {
  22299. "description": "申请来源 - 1:管理端 2:终端",
  22300. "type": "integer"
  22301. },
  22302. "applystatus": {
  22303. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22304. "type": "integer"
  22305. },
  22306. "applytime": {
  22307. "description": "申请时间",
  22308. "type": "string"
  22309. },
  22310. "areauserid": {
  22311. "description": "所属机构用户ID",
  22312. "type": "integer"
  22313. },
  22314. "auditid": {
  22315. "description": "审核人",
  22316. "type": "string"
  22317. },
  22318. "auditname": {
  22319. "description": "审核人名称(代码)",
  22320. "type": "string"
  22321. },
  22322. "auditremark": {
  22323. "description": "审核备注",
  22324. "type": "string"
  22325. },
  22326. "auditsrc": {
  22327. "description": "审核来源 - 1:管理端 2:终端",
  22328. "type": "integer"
  22329. },
  22330. "audittime": {
  22331. "description": "审核时间",
  22332. "type": "string"
  22333. },
  22334. "audittradedate": {
  22335. "description": "审核交易日(yyyyMMdd)",
  22336. "type": "string"
  22337. },
  22338. "beforevalue": {
  22339. "description": "变更前",
  22340. "type": "number"
  22341. },
  22342. "deliverygoodscode": {
  22343. "description": "品种代码",
  22344. "type": "string"
  22345. },
  22346. "deliverygoodsid": {
  22347. "description": "品种id",
  22348. "type": "integer"
  22349. },
  22350. "deliverygoodsname": {
  22351. "description": "品种名称",
  22352. "type": "string"
  22353. },
  22354. "middlegoodscode": {
  22355. "description": "套保品种代码",
  22356. "type": "string"
  22357. },
  22358. "middlegoodsid": {
  22359. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22360. "type": "integer"
  22361. },
  22362. "middlegoodsname": {
  22363. "description": "套保品种名称",
  22364. "type": "string"
  22365. },
  22366. "operatetype": {
  22367. "description": "操作类型 - 1:新增 2:修改",
  22368. "type": "integer"
  22369. },
  22370. "paramchangetype": {
  22371. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22372. "type": "integer"
  22373. },
  22374. "wrstandardcode": {
  22375. "description": "现货商品代码",
  22376. "type": "string"
  22377. },
  22378. "wrstandardid": {
  22379. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22380. "type": "integer"
  22381. },
  22382. "wrstandardname": {
  22383. "description": "现货商品名称",
  22384. "type": "string"
  22385. }
  22386. }
  22387. },
  22388. "models.Ermcp3RootUserAccount": {
  22389. "type": "object",
  22390. "properties": {
  22391. "accountname": {
  22392. "description": "账户名称(机构名称)",
  22393. "type": "string"
  22394. },
  22395. "accountstatus": {
  22396. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22397. "type": "integer"
  22398. },
  22399. "applysrc": {
  22400. "description": "申请来源 - 1:管理端 2:终端",
  22401. "type": "integer"
  22402. },
  22403. "auditremark": {
  22404. "description": "审核备注",
  22405. "type": "string"
  22406. },
  22407. "auditsrc": {
  22408. "description": "审核来源 - 1:管理端 2:终端",
  22409. "type": "integer"
  22410. },
  22411. "audittime": {
  22412. "description": "审核时间",
  22413. "type": "string"
  22414. },
  22415. "audituserid": {
  22416. "description": "审核人",
  22417. "type": "integer"
  22418. },
  22419. "broker": {
  22420. "description": "所属经纪人ID",
  22421. "type": "integer"
  22422. },
  22423. "canceltime": {
  22424. "description": "销户时间",
  22425. "type": "string"
  22426. },
  22427. "canceluserid": {
  22428. "description": "销户人",
  22429. "type": "integer"
  22430. },
  22431. "canrecommend": {
  22432. "description": "是否可推荐 - 0:不可 1;可",
  22433. "type": "integer"
  22434. },
  22435. "createtime": {
  22436. "description": "创建时间",
  22437. "type": "string"
  22438. },
  22439. "creatorid": {
  22440. "description": "创建人",
  22441. "type": "integer"
  22442. },
  22443. "hasauth": {
  22444. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22445. "type": "integer"
  22446. },
  22447. "isanonymous": {
  22448. "description": "是否匿名下单 - 0:否 1:是",
  22449. "type": "integer"
  22450. },
  22451. "maxinvestornum": {
  22452. "description": "最大用户数(经纪会员下投资者个数)",
  22453. "type": "integer"
  22454. },
  22455. "memberuserid": {
  22456. "description": "所属会员ID",
  22457. "type": "integer"
  22458. },
  22459. "modifierid": {
  22460. "description": "修改人",
  22461. "type": "integer"
  22462. },
  22463. "modifyremark": {
  22464. "description": "变更备注",
  22465. "type": "string"
  22466. },
  22467. "modifystatus": {
  22468. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22469. "type": "integer"
  22470. },
  22471. "modifytime": {
  22472. "description": "修改时间",
  22473. "type": "string"
  22474. },
  22475. "nickname": {
  22476. "description": "昵称",
  22477. "type": "string"
  22478. },
  22479. "parenttopuser": {
  22480. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22481. "type": "string"
  22482. },
  22483. "parentuserid": {
  22484. "description": "所属机构ID",
  22485. "type": "integer"
  22486. },
  22487. "reckonaccountid": {
  22488. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22489. "type": "integer"
  22490. },
  22491. "refercount": {
  22492. "description": "推荐总人数",
  22493. "type": "integer"
  22494. },
  22495. "refereeuserid": {
  22496. "description": "推荐人ID",
  22497. "type": "integer"
  22498. },
  22499. "refernum": {
  22500. "description": "推荐码",
  22501. "type": "string"
  22502. },
  22503. "rootuserid": {
  22504. "description": "根用户ID",
  22505. "type": "integer"
  22506. },
  22507. "subaccountlevel": {
  22508. "description": "子账户层数",
  22509. "type": "integer"
  22510. },
  22511. "subarealevelpath": {
  22512. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22513. "type": "string"
  22514. },
  22515. "userid": {
  22516. "description": "用户ID",
  22517. "type": "integer"
  22518. },
  22519. "usertype": {
  22520. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22521. "type": "integer"
  22522. }
  22523. }
  22524. },
  22525. "models.Ermcp3SCMiddleGoods": {
  22526. "type": "object",
  22527. "properties": {
  22528. "biztype": {
  22529. "description": "业务类型 1:套保 2:套利",
  22530. "type": "integer"
  22531. },
  22532. "contractno": {
  22533. "description": "合同编号",
  22534. "type": "string"
  22535. },
  22536. "contracttype": {
  22537. "description": "合同类型 1:采购 -1:销售",
  22538. "type": "integer"
  22539. },
  22540. "convertratio": {
  22541. "description": "折算系数",
  22542. "type": "number"
  22543. },
  22544. "customername": {
  22545. "description": "对手手名称",
  22546. "type": "string"
  22547. },
  22548. "customeruserid": {
  22549. "description": "对手id",
  22550. "type": "integer"
  22551. },
  22552. "deliverygoodscode": {
  22553. "description": "现货品种代码",
  22554. "type": "string"
  22555. },
  22556. "deliverygoodsid": {
  22557. "description": "现货品种ID",
  22558. "type": "integer"
  22559. },
  22560. "deliverygoodsname": {
  22561. "description": "现货品种名称",
  22562. "type": "string"
  22563. },
  22564. "enumdicname": {
  22565. "description": "现货单位名称",
  22566. "type": "string"
  22567. },
  22568. "middlegoodsid": {
  22569. "description": "套保品种ID",
  22570. "type": "integer"
  22571. },
  22572. "middlegoodspricedqty3": {
  22573. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22574. "type": "number"
  22575. },
  22576. "needhedgeratio": {
  22577. "description": "套保比例",
  22578. "type": "number"
  22579. },
  22580. "pricedqty": {
  22581. "description": "已定价量",
  22582. "type": "number"
  22583. },
  22584. "relatedmiddlegoodsqty": {
  22585. "description": "已关联量(套保品种)(期货)",
  22586. "type": "number"
  22587. },
  22588. "spotcontractid": {
  22589. "description": "合同编号",
  22590. "type": "string"
  22591. },
  22592. "unitid": {
  22593. "description": "现货单位id",
  22594. "type": "integer"
  22595. },
  22596. "userid": {
  22597. "description": "用户id",
  22598. "type": "integer"
  22599. },
  22600. "vatrate": {
  22601. "description": "增值税率",
  22602. "type": "number"
  22603. },
  22604. "wrstandardcode": {
  22605. "description": "现货商品代码",
  22606. "type": "string"
  22607. },
  22608. "wrstandardid": {
  22609. "description": "现货商品id",
  22610. "type": "integer"
  22611. },
  22612. "wrstandardname": {
  22613. "description": "现货商品名称",
  22614. "type": "string"
  22615. }
  22616. }
  22617. },
  22618. "models.Ermcp3SCMiddleGoodsReport": {
  22619. "type": "object",
  22620. "properties": {
  22621. "begindate": {
  22622. "description": "开始交易日",
  22623. "type": "string"
  22624. },
  22625. "contractno": {
  22626. "description": "合同编号",
  22627. "type": "string"
  22628. },
  22629. "contracttype": {
  22630. "description": "合同类型 1:采购 -1:销售",
  22631. "type": "integer"
  22632. },
  22633. "convertratio": {
  22634. "description": "期初均价",
  22635. "type": "number"
  22636. },
  22637. "cycletime": {
  22638. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22639. "type": "string"
  22640. },
  22641. "cycletype": {
  22642. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22643. "type": "integer"
  22644. },
  22645. "deliverygoodscode": {
  22646. "description": "品种代码",
  22647. "type": "string"
  22648. },
  22649. "deliverygoodsid": {
  22650. "description": "现货品种ID",
  22651. "type": "integer"
  22652. },
  22653. "deliverygoodsname": {
  22654. "description": "品种名称",
  22655. "type": "string"
  22656. },
  22657. "diffprice": {
  22658. "description": "期初均价",
  22659. "type": "number"
  22660. },
  22661. "diffqty": {
  22662. "description": "期初均价",
  22663. "type": "number"
  22664. },
  22665. "enddate": {
  22666. "description": "结束交易日",
  22667. "type": "string"
  22668. },
  22669. "hedgeplanqty": {
  22670. "description": "期初均价",
  22671. "type": "number"
  22672. },
  22673. "matchname": {
  22674. "description": "交易对手方(个人:用户名称 企业:简称)",
  22675. "type": "string"
  22676. },
  22677. "matchnickname": {
  22678. "description": "交易对手方昵称",
  22679. "type": "string"
  22680. },
  22681. "middlegoodscode": {
  22682. "description": "套保品种代码",
  22683. "type": "string"
  22684. },
  22685. "middlegoodsid": {
  22686. "description": "套保品种ID",
  22687. "type": "integer"
  22688. },
  22689. "middlegoodsname": {
  22690. "description": "套保品种名称",
  22691. "type": "string"
  22692. },
  22693. "middlegoodspricedqty": {
  22694. "description": "期初均价",
  22695. "type": "number"
  22696. },
  22697. "middlegoodspricedqty2": {
  22698. "description": "期初均价",
  22699. "type": "number"
  22700. },
  22701. "middlegoodspricedqty3": {
  22702. "description": "期初均价",
  22703. "type": "number"
  22704. },
  22705. "needhedgeratio": {
  22706. "description": "期初均价",
  22707. "type": "number"
  22708. },
  22709. "pricedamount": {
  22710. "description": "期初均价",
  22711. "type": "number"
  22712. },
  22713. "pricedamount2": {
  22714. "description": "期初均价",
  22715. "type": "number"
  22716. },
  22717. "pricedqty": {
  22718. "description": "期初均价",
  22719. "type": "number"
  22720. },
  22721. "reckondate": {
  22722. "description": "日照时期(yyyyMMdd)",
  22723. "type": "string"
  22724. },
  22725. "relatedmiddlegoodsamount": {
  22726. "description": "期初均价",
  22727. "type": "number"
  22728. },
  22729. "relatedmiddlegoodsqty": {
  22730. "description": "期初均价",
  22731. "type": "number"
  22732. },
  22733. "spotcontractid": {
  22734. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22735. "type": "string"
  22736. },
  22737. "todayavgfutuprice": {
  22738. "description": "期初均价",
  22739. "type": "number"
  22740. },
  22741. "todayavgprice": {
  22742. "description": "期初均价",
  22743. "type": "number"
  22744. },
  22745. "todayavgprice2": {
  22746. "description": "期初均价",
  22747. "type": "number"
  22748. },
  22749. "todaypricedamount": {
  22750. "description": "期初均价",
  22751. "type": "number"
  22752. },
  22753. "todaypricedamount2": {
  22754. "description": "期初均价",
  22755. "type": "number"
  22756. },
  22757. "todaypricedqty": {
  22758. "description": "期初均价",
  22759. "type": "number"
  22760. },
  22761. "todayrelatedfutureqty": {
  22762. "description": "期初均价",
  22763. "type": "number"
  22764. },
  22765. "todayrelatedmiddlegoodsamount": {
  22766. "description": "期初均价",
  22767. "type": "number"
  22768. },
  22769. "todayrelatedmiddlegoodsqty": {
  22770. "description": "期初均价",
  22771. "type": "number"
  22772. },
  22773. "updatetime": {
  22774. "description": "更新时间",
  22775. "type": "string"
  22776. },
  22777. "userid": {
  22778. "description": "合同所属用户id",
  22779. "type": "integer"
  22780. },
  22781. "vatrate": {
  22782. "description": "期初均价",
  22783. "type": "number"
  22784. },
  22785. "wrstandardcode": {
  22786. "description": "商品(品类) 代码",
  22787. "type": "string"
  22788. },
  22789. "wrstandardid": {
  22790. "description": "现货商品ID",
  22791. "type": "integer"
  22792. },
  22793. "wrstandardname": {
  22794. "description": "商品(品类) 名称",
  22795. "type": "string"
  22796. }
  22797. }
  22798. },
  22799. "models.Ermcp3SellBuyContract": {
  22800. "type": "object",
  22801. "properties": {
  22802. "accountid": {
  22803. "description": "期货账户id",
  22804. "type": "string"
  22805. },
  22806. "accountname": {
  22807. "description": "账户名称",
  22808. "type": "string"
  22809. },
  22810. "attachment": {
  22811. "description": "附件",
  22812. "type": "string"
  22813. },
  22814. "audittime": {
  22815. "description": "审核时间",
  22816. "type": "string"
  22817. },
  22818. "bizsubjectid": {
  22819. "description": "归属业务部门ID - SubjectID",
  22820. "type": "integer"
  22821. },
  22822. "biztype": {
  22823. "description": "业务类型 1-套保 2-套利",
  22824. "type": "integer"
  22825. },
  22826. "brandname": {
  22827. "description": "品牌名称",
  22828. "type": "string"
  22829. },
  22830. "contracctstatus": {
  22831. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22832. "type": "integer"
  22833. },
  22834. "contractmargin": {
  22835. "description": "合同保证金",
  22836. "type": "number"
  22837. },
  22838. "contractno": {
  22839. "description": "合同编号",
  22840. "type": "string"
  22841. },
  22842. "contracttype": {
  22843. "description": "合同类型 1-采购, -1-销售",
  22844. "type": "integer"
  22845. },
  22846. "convertfactor": {
  22847. "description": "标仓系数(品类)",
  22848. "type": "number"
  22849. },
  22850. "createtime": {
  22851. "description": "创建时间",
  22852. "type": "string"
  22853. },
  22854. "currencyid": {
  22855. "description": "币种id",
  22856. "type": "integer"
  22857. },
  22858. "currencyname": {
  22859. "description": "币种名称",
  22860. "type": "string"
  22861. },
  22862. "daikaiamount": {
  22863. "description": "应收(开)票额 | 未收票额",
  22864. "type": "number"
  22865. },
  22866. "deliveryenddate": {
  22867. "description": "交割结束日",
  22868. "type": "string"
  22869. },
  22870. "deliverygoodscode": {
  22871. "description": "现货品种代码",
  22872. "type": "string"
  22873. },
  22874. "deliverygoodsid": {
  22875. "description": "现货商品ID",
  22876. "type": "integer"
  22877. },
  22878. "deliverygoodsname": {
  22879. "description": "现货品种名称",
  22880. "type": "string"
  22881. },
  22882. "deliverystartdate": {
  22883. "description": "交割开始日",
  22884. "type": "string"
  22885. },
  22886. "enddate": {
  22887. "description": "点价结束日",
  22888. "type": "string"
  22889. },
  22890. "enumdicname": {
  22891. "description": "单位名称",
  22892. "type": "string"
  22893. },
  22894. "goodscode": {
  22895. "description": "点价商品代码",
  22896. "type": "string"
  22897. },
  22898. "goodsgroupid": {
  22899. "description": "点价商品组id",
  22900. "type": "integer"
  22901. },
  22902. "goodsid": {
  22903. "description": "点价商品ID",
  22904. "type": "integer"
  22905. },
  22906. "goodsname": {
  22907. "description": "点价商品名称",
  22908. "type": "string"
  22909. },
  22910. "invoiceamount": {
  22911. "description": "已开票额",
  22912. "type": "number"
  22913. },
  22914. "loanamount": {
  22915. "description": "贷款总额=已定价额+调整金额",
  22916. "type": "number"
  22917. },
  22918. "margin": {
  22919. "description": "保证金",
  22920. "type": "number"
  22921. },
  22922. "meruserid": {
  22923. "description": "跟单员id",
  22924. "type": "integer"
  22925. },
  22926. "meruserlogincode": {
  22927. "description": "跟单员登录代码",
  22928. "type": "string"
  22929. },
  22930. "merusername": {
  22931. "description": "跟单员名称",
  22932. "type": "string"
  22933. },
  22934. "nickname": {
  22935. "description": "账户昵称",
  22936. "type": "string"
  22937. },
  22938. "orireckonrealqty": {
  22939. "description": "应交收量",
  22940. "type": "number"
  22941. },
  22942. "payamount": {
  22943. "description": "已收付额(收款或付款)",
  22944. "type": "number"
  22945. },
  22946. "preinvoiceamount": {
  22947. "description": "预收(开)票额",
  22948. "type": "number"
  22949. },
  22950. "prepayamount": {
  22951. "description": "预收付额",
  22952. "type": "number"
  22953. },
  22954. "price": {
  22955. "description": "价格",
  22956. "type": "number"
  22957. },
  22958. "pricedamount": {
  22959. "description": "已定价额",
  22960. "type": "number"
  22961. },
  22962. "pricedavg": {
  22963. "description": "已点均价",
  22964. "type": "number"
  22965. },
  22966. "pricedqty": {
  22967. "description": "已定价量",
  22968. "type": "number"
  22969. },
  22970. "pricemove": {
  22971. "description": "升贴水",
  22972. "type": "number"
  22973. },
  22974. "pricetype": {
  22975. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22976. "type": "integer"
  22977. },
  22978. "producttype": {
  22979. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22980. "type": "integer"
  22981. },
  22982. "qty": {
  22983. "description": "合同量",
  22984. "type": "number"
  22985. },
  22986. "reckonadjustamount": {
  22987. "description": "调整金额",
  22988. "type": "number"
  22989. },
  22990. "reckonedamount": {
  22991. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22992. "type": "number"
  22993. },
  22994. "reckonotheramount": {
  22995. "description": "其它费用",
  22996. "type": "number"
  22997. },
  22998. "reckonrealqty": {
  22999. "description": "已交收量",
  23000. "type": "number"
  23001. },
  23002. "remark": {
  23003. "description": "备注",
  23004. "type": "string"
  23005. },
  23006. "saleuserid": {
  23007. "description": "业务员id",
  23008. "type": "integer"
  23009. },
  23010. "saleuserlogincode": {
  23011. "description": "业务员登录代码",
  23012. "type": "string"
  23013. },
  23014. "saleusername": {
  23015. "description": "业务员名称",
  23016. "type": "string"
  23017. },
  23018. "spotcontractid": {
  23019. "description": "合同ID",
  23020. "type": "string"
  23021. },
  23022. "spotgoodsbrandid": {
  23023. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23024. "type": "integer"
  23025. },
  23026. "spotgoodsdesc": {
  23027. "description": "商品型号(商品规格)",
  23028. "type": "string"
  23029. },
  23030. "startdate": {
  23031. "description": "点价开始日",
  23032. "type": "string"
  23033. },
  23034. "subjectid": {
  23035. "description": "交易主体ID",
  23036. "type": "integer"
  23037. },
  23038. "subjectname": {
  23039. "description": "交易主体名称",
  23040. "type": "string"
  23041. },
  23042. "totalamount": {
  23043. "description": "合计总额",
  23044. "type": "number"
  23045. },
  23046. "tradeuserid": {
  23047. "description": "交易员id",
  23048. "type": "integer"
  23049. },
  23050. "tradeuserlogincode": {
  23051. "description": "交易员登录代码",
  23052. "type": "string"
  23053. },
  23054. "tradeusername": {
  23055. "description": "交易员名称",
  23056. "type": "string"
  23057. },
  23058. "unpayamount": {
  23059. "description": "应收付款额(应支付或应收款) | 未付款额",
  23060. "type": "number"
  23061. },
  23062. "unpricedqty": {
  23063. "description": "未定价量",
  23064. "type": "number"
  23065. },
  23066. "unsureqty": {
  23067. "description": "未确定量 | 未交收量",
  23068. "type": "number"
  23069. },
  23070. "userid": {
  23071. "description": "机构ID",
  23072. "type": "integer"
  23073. },
  23074. "vatrate": {
  23075. "description": "增值税率",
  23076. "type": "number"
  23077. },
  23078. "wrstandardcode": {
  23079. "description": "品类代码",
  23080. "type": "string"
  23081. },
  23082. "wrstandardid": {
  23083. "description": "品类ID",
  23084. "type": "integer"
  23085. },
  23086. "wrstandardname": {
  23087. "description": "品类名称",
  23088. "type": "string"
  23089. }
  23090. }
  23091. },
  23092. "models.Ermcp3SpotGoodsPrice": {
  23093. "type": "object",
  23094. "properties": {
  23095. "areauserid": {
  23096. "description": "所属机构id",
  23097. "type": "integer"
  23098. },
  23099. "brandname": {
  23100. "description": "品牌名称",
  23101. "type": "string"
  23102. },
  23103. "currencyid": {
  23104. "description": "报价货币ID",
  23105. "type": "integer"
  23106. },
  23107. "currencyname": {
  23108. "description": "币种名称",
  23109. "type": "string"
  23110. },
  23111. "deliverygoodscode": {
  23112. "description": "现货商品代码",
  23113. "type": "string"
  23114. },
  23115. "deliverygoodsid": {
  23116. "description": "现货商品id",
  23117. "type": "integer"
  23118. },
  23119. "deliverygoodsname": {
  23120. "description": "现货商品名称",
  23121. "type": "string"
  23122. },
  23123. "enumdicname": {
  23124. "description": "现货商品单位名称",
  23125. "type": "string"
  23126. },
  23127. "gbenumdicname": {
  23128. "description": "品类单位名称",
  23129. "type": "string"
  23130. },
  23131. "gmunitid": {
  23132. "description": "品类单位id",
  23133. "type": "integer"
  23134. },
  23135. "isvalid": {
  23136. "description": "是否有效 - 0:无效 1:有效",
  23137. "type": "integer"
  23138. },
  23139. "operateid": {
  23140. "description": "最后操作人",
  23141. "type": "integer"
  23142. },
  23143. "operatesrc": {
  23144. "description": "最后操作来源 - 1:管理端 2:终端",
  23145. "type": "integer"
  23146. },
  23147. "operatetime": {
  23148. "description": "最后操作时间",
  23149. "type": "string"
  23150. },
  23151. "operatorname": {
  23152. "description": "操作人名称",
  23153. "type": "string"
  23154. },
  23155. "spotgoodsbrandid": {
  23156. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23157. "type": "integer"
  23158. },
  23159. "spotgoodsprice": {
  23160. "description": "现货价格",
  23161. "type": "number"
  23162. },
  23163. "tradedate": {
  23164. "description": "交易日(yyyyMMdd)",
  23165. "type": "string"
  23166. },
  23167. "unitid": {
  23168. "description": "现货商品单位id",
  23169. "type": "integer"
  23170. },
  23171. "wrstandardcode": {
  23172. "description": "品类代码",
  23173. "type": "string"
  23174. },
  23175. "wrstandardid": {
  23176. "description": "现货品类ID(通用则为0)",
  23177. "type": "integer"
  23178. },
  23179. "wrstandardname": {
  23180. "description": "品类名称",
  23181. "type": "string"
  23182. }
  23183. }
  23184. },
  23185. "models.Ermcp3SpotGoodsPriceLog": {
  23186. "type": "object",
  23187. "properties": {
  23188. "areauserid": {
  23189. "description": "所属机构id",
  23190. "type": "integer"
  23191. },
  23192. "brandname": {
  23193. "description": "品牌名称",
  23194. "type": "string"
  23195. },
  23196. "currencyid": {
  23197. "description": "报价货币ID",
  23198. "type": "integer"
  23199. },
  23200. "deliverygoodscode": {
  23201. "description": "现货商品代码",
  23202. "type": "string"
  23203. },
  23204. "deliverygoodsid": {
  23205. "description": "现货商品id",
  23206. "type": "integer"
  23207. },
  23208. "deliverygoodsname": {
  23209. "description": "现货商品名称",
  23210. "type": "string"
  23211. },
  23212. "enumdicname": {
  23213. "description": "现货商品单位名称",
  23214. "type": "string"
  23215. },
  23216. "gbenumdicname": {
  23217. "description": "品类单位名称",
  23218. "type": "string"
  23219. },
  23220. "gmunitid": {
  23221. "description": "品类单位id",
  23222. "type": "integer"
  23223. },
  23224. "logid": {
  23225. "description": "日志id",
  23226. "type": "integer"
  23227. },
  23228. "operateid": {
  23229. "description": "最后操作人",
  23230. "type": "integer"
  23231. },
  23232. "operatesrc": {
  23233. "description": "最后操作来源 - 1:管理端 2:终端",
  23234. "type": "integer"
  23235. },
  23236. "operatetime": {
  23237. "description": "最后操作时间",
  23238. "type": "string"
  23239. },
  23240. "operatorname": {
  23241. "description": "操作人名称",
  23242. "type": "string"
  23243. },
  23244. "spotgoodsbrandid": {
  23245. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23246. "type": "integer"
  23247. },
  23248. "spotgoodsprice": {
  23249. "description": "现货价格",
  23250. "type": "number"
  23251. },
  23252. "tradedate": {
  23253. "description": "交易日(yyyyMMdd)",
  23254. "type": "string"
  23255. },
  23256. "unitid": {
  23257. "description": "现货商品单位id",
  23258. "type": "integer"
  23259. },
  23260. "wrstandardcode": {
  23261. "description": "品类代码",
  23262. "type": "string"
  23263. },
  23264. "wrstandardid": {
  23265. "description": "现货品类ID(通用则为0)",
  23266. "type": "integer"
  23267. },
  23268. "wrstandardname": {
  23269. "description": "品类名称",
  23270. "type": "string"
  23271. }
  23272. }
  23273. },
  23274. "models.Ermcp3SubTaaccount": {
  23275. "type": "object",
  23276. "properties": {
  23277. "accountid": {
  23278. "description": "资金账户ID",
  23279. "type": "integer"
  23280. },
  23281. "parentaccountcode": {
  23282. "description": "所属根账号代码(母账号代码)",
  23283. "type": "string"
  23284. },
  23285. "parentaccountid": {
  23286. "description": "所属根账号(母账号)",
  23287. "type": "integer"
  23288. },
  23289. "taname": {
  23290. "description": "资金账号名称",
  23291. "type": "string"
  23292. },
  23293. "tradestatus": {
  23294. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23295. "type": "integer"
  23296. },
  23297. "username": {
  23298. "description": "交易用户",
  23299. "type": "string"
  23300. }
  23301. }
  23302. },
  23303. "models.Ermcp3TaFutuReDataReport": {
  23304. "type": "object",
  23305. "properties": {
  23306. "accountid": {
  23307. "description": "交易账户",
  23308. "type": "integer"
  23309. },
  23310. "accountname": {
  23311. "description": "交易账号名称",
  23312. "type": "string"
  23313. },
  23314. "agreeunit": {
  23315. "description": "商品合约单位",
  23316. "type": "number"
  23317. },
  23318. "begindate": {
  23319. "description": "开始交易日",
  23320. "type": "string"
  23321. },
  23322. "buyorsell": {
  23323. "description": "持仓方向",
  23324. "type": "integer"
  23325. },
  23326. "charge": {
  23327. "description": "手续费",
  23328. "type": "number"
  23329. },
  23330. "closeavgprice": {
  23331. "description": "期初均价",
  23332. "type": "number"
  23333. },
  23334. "closepl": {
  23335. "description": "平仓损益",
  23336. "type": "number"
  23337. },
  23338. "currencyid": {
  23339. "description": "结算币种ID",
  23340. "type": "integer"
  23341. },
  23342. "currencyname": {
  23343. "description": "币种名称",
  23344. "type": "string"
  23345. },
  23346. "cycletime": {
  23347. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23348. "type": "string"
  23349. },
  23350. "cycletype": {
  23351. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23352. "type": "integer"
  23353. },
  23354. "enddate": {
  23355. "description": "结束交易日",
  23356. "type": "string"
  23357. },
  23358. "enumdicname": {
  23359. "description": "单位名称",
  23360. "type": "string"
  23361. },
  23362. "floatpl": {
  23363. "description": "浮动损益",
  23364. "type": "number"
  23365. },
  23366. "goodscode": {
  23367. "description": "交易合约代码",
  23368. "type": "string"
  23369. },
  23370. "goodsgroupid": {
  23371. "description": "交易品种",
  23372. "type": "integer"
  23373. },
  23374. "goodsgroupname": {
  23375. "description": "交易品种名称",
  23376. "type": "string"
  23377. },
  23378. "goodsgroupspotqty": {
  23379. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23380. "type": "number"
  23381. },
  23382. "goodsid": {
  23383. "description": "交易合约",
  23384. "type": "integer"
  23385. },
  23386. "goodsname": {
  23387. "description": "交易合约名称",
  23388. "type": "string"
  23389. },
  23390. "goodunitid": {
  23391. "description": "交易合约单位id",
  23392. "type": "integer"
  23393. },
  23394. "holdamount": {
  23395. "description": "期末持仓额",
  23396. "type": "number"
  23397. },
  23398. "holdqty": {
  23399. "description": "期初均价",
  23400. "type": "number"
  23401. },
  23402. "lastholdamount": {
  23403. "description": "当前持仓额",
  23404. "type": "number"
  23405. },
  23406. "lastprice": {
  23407. "description": "最新价",
  23408. "type": "number"
  23409. },
  23410. "middlegoodsid": {
  23411. "description": "套保品种id",
  23412. "type": "integer"
  23413. },
  23414. "middlegoodsname": {
  23415. "description": "套保商品名称",
  23416. "type": "string"
  23417. },
  23418. "middlegoodsqty": {
  23419. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23420. "type": "number"
  23421. },
  23422. "middlgoodscode": {
  23423. "description": "套保商品代码",
  23424. "type": "string"
  23425. },
  23426. "openamount": {
  23427. "description": "期末开仓额",
  23428. "type": "number"
  23429. },
  23430. "openavgprice": {
  23431. "description": "期初均价",
  23432. "type": "number"
  23433. },
  23434. "oriholdamount": {
  23435. "description": "期初持仓额",
  23436. "type": "number"
  23437. },
  23438. "oriholdqty": {
  23439. "description": "期初均价",
  23440. "type": "number"
  23441. },
  23442. "oriopenamount": {
  23443. "description": "期初开仓额",
  23444. "type": "number"
  23445. },
  23446. "outergroupcode": {
  23447. "description": "交易品种代码",
  23448. "type": "string"
  23449. },
  23450. "qtydecimalplace": {
  23451. "description": "成交量小数位",
  23452. "type": "integer"
  23453. },
  23454. "reckondate": {
  23455. "description": "日照时期(yyyyMMdd)",
  23456. "type": "string"
  23457. },
  23458. "reckonholdamount": {
  23459. "description": "结算持仓额",
  23460. "type": "number"
  23461. },
  23462. "reckonpl": {
  23463. "description": "结算损益",
  23464. "type": "number"
  23465. },
  23466. "reckonpl2": {
  23467. "description": "结算逐笔盈亏",
  23468. "type": "number"
  23469. },
  23470. "reckonprice": {
  23471. "description": "结算价",
  23472. "type": "number"
  23473. },
  23474. "relateduserid": {
  23475. "description": "账户关联用户ID",
  23476. "type": "integer"
  23477. },
  23478. "todaycloseamount": {
  23479. "description": "今平仓额",
  23480. "type": "number"
  23481. },
  23482. "todaycloseqty": {
  23483. "description": "期初均价",
  23484. "type": "number"
  23485. },
  23486. "todaygoodsgroupspotqty": {
  23487. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23488. "type": "number"
  23489. },
  23490. "todaymiddlegoodsqty": {
  23491. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23492. "type": "number"
  23493. },
  23494. "todayopenamount": {
  23495. "description": "今开仓额",
  23496. "type": "number"
  23497. },
  23498. "todayopenqty": {
  23499. "description": "期初均价",
  23500. "type": "number"
  23501. },
  23502. "userid": {
  23503. "description": "账户所属用户ID",
  23504. "type": "integer"
  23505. }
  23506. }
  23507. },
  23508. "models.Ermcp3TradeLinkDetail": {
  23509. "type": "object",
  23510. "properties": {
  23511. "accountid": {
  23512. "description": "资金账号",
  23513. "type": "integer"
  23514. },
  23515. "agreeunit": {
  23516. "description": "合约乘数",
  23517. "type": "number"
  23518. },
  23519. "areauserid": {
  23520. "description": "所属机构",
  23521. "type": "string"
  23522. },
  23523. "bizsubjectid": {
  23524. "description": "归属业务部门ID - SubjectID",
  23525. "type": "string"
  23526. },
  23527. "buyorsell": {
  23528. "description": "方向 - 0:买 1:卖",
  23529. "type": "integer"
  23530. },
  23531. "channelbuildtype": {
  23532. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23533. "type": "integer"
  23534. },
  23535. "contractno": {
  23536. "description": "现货编号 (合同编号)",
  23537. "type": "string"
  23538. },
  23539. "convertratio": {
  23540. "description": "折算系数",
  23541. "type": "number"
  23542. },
  23543. "createtime": {
  23544. "description": "关联时间 | 创建时间",
  23545. "type": "string"
  23546. },
  23547. "creatorid": {
  23548. "description": "创建人ID",
  23549. "type": "string"
  23550. },
  23551. "creatorsrc": {
  23552. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23553. "type": "integer"
  23554. },
  23555. "enumdicname": {
  23556. "description": "单位名称",
  23557. "type": "string"
  23558. },
  23559. "goodscode": {
  23560. "description": "合约代码",
  23561. "type": "string"
  23562. },
  23563. "goodsgroupid": {
  23564. "description": "对冲品种ID[期货合约商品组ID]",
  23565. "type": "integer"
  23566. },
  23567. "goodsid": {
  23568. "description": "商品ID",
  23569. "type": "integer"
  23570. },
  23571. "goodsname": {
  23572. "description": "合约名称",
  23573. "type": "string"
  23574. },
  23575. "hedgeflag": {
  23576. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23577. "type": "integer"
  23578. },
  23579. "linkdetailid": {
  23580. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23581. "type": "string"
  23582. },
  23583. "linkstatus": {
  23584. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23585. "type": "integer"
  23586. },
  23587. "middlegoodscode": {
  23588. "description": "套保品种代码",
  23589. "type": "string"
  23590. },
  23591. "middlegoodsid": {
  23592. "description": "套保品种ID",
  23593. "type": "integer"
  23594. },
  23595. "middlegoodsname": {
  23596. "description": "套保品种名称",
  23597. "type": "string"
  23598. },
  23599. "relatedlot": {
  23600. "description": "关联手数",
  23601. "type": "number"
  23602. },
  23603. "relatedmode": {
  23604. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23605. "type": "integer"
  23606. },
  23607. "relatedqty": {
  23608. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23609. "type": "number"
  23610. },
  23611. "retcode": {
  23612. "description": "返回码",
  23613. "type": "integer"
  23614. },
  23615. "saleuserid": {
  23616. "description": "业务员ID",
  23617. "type": "string"
  23618. },
  23619. "spotcontractid": {
  23620. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23621. "type": "string"
  23622. },
  23623. "taname": {
  23624. "description": "期货账户",
  23625. "type": "string"
  23626. },
  23627. "tradedate": {
  23628. "description": "关联交易日(yyyyMMdd)",
  23629. "type": "string"
  23630. },
  23631. "tradeid": {
  23632. "description": "期货订单号 | 内部成交单ID",
  23633. "type": "string"
  23634. },
  23635. "tradelot": {
  23636. "description": "成交数量 | 成交手数",
  23637. "type": "integer"
  23638. },
  23639. "tradeprice": {
  23640. "description": "成交价格",
  23641. "type": "number"
  23642. },
  23643. "tradetime": {
  23644. "description": "期货成交时间",
  23645. "type": "string"
  23646. },
  23647. "tradetradedate": {
  23648. "description": "成交交易日(yyyyMMdd)",
  23649. "type": "string"
  23650. },
  23651. "username": {
  23652. "description": "用户名称",
  23653. "type": "string"
  23654. }
  23655. }
  23656. },
  23657. "models.Ermcp3Wrstandard": {
  23658. "type": "object",
  23659. "properties": {
  23660. "areauserid": {
  23661. "description": "所属机构",
  23662. "type": "integer"
  23663. },
  23664. "cantrade": {
  23665. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23666. "type": "integer"
  23667. },
  23668. "convertfactor": {
  23669. "description": "标仓系数",
  23670. "type": "number"
  23671. },
  23672. "createtime": {
  23673. "description": "创建时间",
  23674. "type": "string"
  23675. },
  23676. "creatorid": {
  23677. "description": "创建人",
  23678. "type": "integer"
  23679. },
  23680. "deliverygoodsid": {
  23681. "description": "现货品种ID",
  23682. "type": "integer"
  23683. },
  23684. "enumdicname": {
  23685. "description": "品类单位名称",
  23686. "type": "string"
  23687. },
  23688. "isvalid": {
  23689. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23690. "type": "integer"
  23691. },
  23692. "minivalue": {
  23693. "description": "最小变动值",
  23694. "type": "integer"
  23695. },
  23696. "minivaluedp": {
  23697. "description": "最小变动值小数位",
  23698. "type": "integer"
  23699. },
  23700. "realminivalue": {
  23701. "description": "实际最小变动值",
  23702. "type": "integer"
  23703. },
  23704. "realminivaluedp": {
  23705. "description": "实际最小变动值小数位",
  23706. "type": "integer"
  23707. },
  23708. "remark": {
  23709. "description": "备注",
  23710. "type": "string"
  23711. },
  23712. "unitid": {
  23713. "description": "品类单位ID",
  23714. "type": "integer"
  23715. },
  23716. "updatetime": {
  23717. "description": "更新时间",
  23718. "type": "string"
  23719. },
  23720. "wrstandardcode": {
  23721. "description": "品类代码",
  23722. "type": "string"
  23723. },
  23724. "wrstandardid": {
  23725. "description": "品类ID(SEQ_WRSTANDARD)",
  23726. "type": "integer"
  23727. },
  23728. "wrstandardname": {
  23729. "description": "品类名称",
  23730. "type": "string"
  23731. }
  23732. }
  23733. },
  23734. "models.Ermcp8EnableHedgeditem": {
  23735. "type": "object",
  23736. "properties": {
  23737. "accountname": {
  23738. "description": "套期主体",
  23739. "type": "string"
  23740. },
  23741. "hedgeditemid": {
  23742. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23743. "type": "string"
  23744. },
  23745. "hedgeditemname": {
  23746. "description": "项目名称",
  23747. "type": "string"
  23748. },
  23749. "hedgeditemnum": {
  23750. "description": "项目编号",
  23751. "type": "string"
  23752. },
  23753. "hedgedtype": {
  23754. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23755. "type": "integer"
  23756. },
  23757. "planenddate": {
  23758. "description": "计划结束日期",
  23759. "type": "string"
  23760. },
  23761. "planstartdate": {
  23762. "description": "计划开始日期",
  23763. "type": "string"
  23764. },
  23765. "wrstandardid": {
  23766. "description": "现货商品ID",
  23767. "type": "integer"
  23768. },
  23769. "wrstandardname": {
  23770. "description": "现货商品",
  23771. "type": "string"
  23772. }
  23773. }
  23774. },
  23775. "models.Ermcp8HedgeditemReport": {
  23776. "type": "object",
  23777. "properties": {
  23778. "accountname": {
  23779. "description": "套期主体",
  23780. "type": "string"
  23781. },
  23782. "areauserid": {
  23783. "description": "企业ID",
  23784. "type": "integer"
  23785. },
  23786. "curprice": {
  23787. "description": "[当日现货市场价]当前市场价",
  23788. "type": "number"
  23789. },
  23790. "enumdicname": {
  23791. "description": "单位",
  23792. "type": "string"
  23793. },
  23794. "exeamount": {
  23795. "description": "[执行现货金额]执行市价总额",
  23796. "type": "number"
  23797. },
  23798. "exeavgprice": {
  23799. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  23800. "type": "number"
  23801. },
  23802. "exeqty": {
  23803. "description": "[执行数量]执行现货量",
  23804. "type": "number"
  23805. },
  23806. "futurehedgepl": {
  23807. "description": "期货实际损益",
  23808. "type": "number"
  23809. },
  23810. "futurehedgeplchange": {
  23811. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  23812. "type": "number"
  23813. },
  23814. "futurepl": {
  23815. "description": "期货套期损益",
  23816. "type": "number"
  23817. },
  23818. "futureplchange": {
  23819. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  23820. "type": "number"
  23821. },
  23822. "hedgeamount": {
  23823. "description": "[套期现货金额]套期市价总额",
  23824. "type": "number"
  23825. },
  23826. "hedgeditemnum": {
  23827. "description": "项目编号,模糊查询",
  23828. "type": "string"
  23829. },
  23830. "hedgeditemstatus": {
  23831. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23832. "type": "integer"
  23833. },
  23834. "hedgedtype": {
  23835. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23836. "type": "integer"
  23837. },
  23838. "hedgeqty": {
  23839. "description": "[套期数量]套期现货量",
  23840. "type": "number"
  23841. },
  23842. "oriavgprice": {
  23843. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  23844. "type": "number"
  23845. },
  23846. "orifuturehedgepl": {
  23847. "description": "期初期货实际损益",
  23848. "type": "number"
  23849. },
  23850. "orifuturepl": {
  23851. "description": "期初期货套期损益",
  23852. "type": "number"
  23853. },
  23854. "orispothedgepl": {
  23855. "description": "期初现货实际损益",
  23856. "type": "number"
  23857. },
  23858. "orispotpl": {
  23859. "description": "期初现货套期损益",
  23860. "type": "number"
  23861. },
  23862. "planenddate": {
  23863. "description": "计划结束日期",
  23864. "type": "string"
  23865. },
  23866. "planstartdate": {
  23867. "description": "计划开始日期",
  23868. "type": "string"
  23869. },
  23870. "spothedgepl": {
  23871. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23872. "type": "number"
  23873. },
  23874. "spothedgeplchange": {
  23875. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  23876. "type": "number"
  23877. },
  23878. "spotpl": {
  23879. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  23880. "type": "number"
  23881. },
  23882. "spotplchange": {
  23883. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  23884. "type": "number"
  23885. },
  23886. "tradeuserid": {
  23887. "description": "交易用户ID",
  23888. "type": "integer"
  23889. },
  23890. "unexeqty": {
  23891. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23892. "type": "number"
  23893. },
  23894. "wrstandardcode": {
  23895. "description": "现货品类代码",
  23896. "type": "string"
  23897. },
  23898. "wrstandardid": {
  23899. "description": "现货商品ID",
  23900. "type": "integer"
  23901. },
  23902. "wrstandardname": {
  23903. "description": "[现货商品]现货品类名称",
  23904. "type": "string"
  23905. }
  23906. }
  23907. },
  23908. "models.Ermcp8RunningHedgeditem": {
  23909. "type": "object",
  23910. "properties": {
  23911. "accountname": {
  23912. "description": "套期主体",
  23913. "type": "string"
  23914. },
  23915. "applyid": {
  23916. "description": "申请人",
  23917. "type": "integer"
  23918. },
  23919. "applysrc": {
  23920. "description": "申请来源 - 1:管理端 2:终端",
  23921. "type": "integer"
  23922. },
  23923. "areauserid": {
  23924. "description": "企业ID",
  23925. "type": "integer"
  23926. },
  23927. "auditid": {
  23928. "description": "审核人",
  23929. "type": "integer"
  23930. },
  23931. "auditremark": {
  23932. "description": "审核备注",
  23933. "type": "string"
  23934. },
  23935. "auditsrc": {
  23936. "description": "审核来源 - 1:管理端 2:终端",
  23937. "type": "integer"
  23938. },
  23939. "audittime": {
  23940. "description": "审核时间",
  23941. "type": "string"
  23942. },
  23943. "audittradedate": {
  23944. "description": "审核交易日(yyyyMMdd)",
  23945. "type": "string"
  23946. },
  23947. "createtime": {
  23948. "description": "申请时间",
  23949. "type": "string"
  23950. },
  23951. "curprice": {
  23952. "description": "当前市场价",
  23953. "type": "number"
  23954. },
  23955. "curstock": {
  23956. "description": "期末库存量 = 采购总量 - 销售总量",
  23957. "type": "number"
  23958. },
  23959. "deliverygoodsid": {
  23960. "description": "现货品种ID",
  23961. "type": "integer"
  23962. },
  23963. "enddate": {
  23964. "description": "完成日期",
  23965. "type": "string"
  23966. },
  23967. "endtradedate": {
  23968. "description": "完成交易日",
  23969. "type": "string"
  23970. },
  23971. "enumdicname": {
  23972. "description": "单位",
  23973. "type": "string"
  23974. },
  23975. "exeamount": {
  23976. "description": "执行市价总额",
  23977. "type": "number"
  23978. },
  23979. "exeavgprice": {
  23980. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  23981. "type": "number"
  23982. },
  23983. "execontractamount": {
  23984. "description": "执行定价总额",
  23985. "type": "number"
  23986. },
  23987. "exeqty": {
  23988. "description": "执行现货量",
  23989. "type": "number"
  23990. },
  23991. "exerestamount": {
  23992. "description": "执行剩余市价总额【现货贸易】",
  23993. "type": "number"
  23994. },
  23995. "futurefloatpl": {
  23996. "description": "期货浮动损益",
  23997. "type": "number"
  23998. },
  23999. "futurehedgepl": {
  24000. "description": "期货实际损益",
  24001. "type": "number"
  24002. },
  24003. "futurehedgeplchange": {
  24004. "description": "期货实际损益变动",
  24005. "type": "number"
  24006. },
  24007. "futurepl": {
  24008. "description": "期货套期损益",
  24009. "type": "number"
  24010. },
  24011. "futureplchange": {
  24012. "description": "期货套期损益变动",
  24013. "type": "number"
  24014. },
  24015. "hedgeamount": {
  24016. "description": "套期市价总额",
  24017. "type": "number"
  24018. },
  24019. "hedgecontractamount": {
  24020. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  24021. "type": "number"
  24022. },
  24023. "hedgeditemid": {
  24024. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  24025. "type": "string"
  24026. },
  24027. "hedgeditemname": {
  24028. "description": "项目名称",
  24029. "type": "string"
  24030. },
  24031. "hedgeditemnum": {
  24032. "description": "项目编号",
  24033. "type": "string"
  24034. },
  24035. "hedgeditemstatus": {
  24036. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24037. "type": "integer"
  24038. },
  24039. "hedgedtype": {
  24040. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  24041. "type": "integer"
  24042. },
  24043. "hedgeqty": {
  24044. "description": "套期现货量",
  24045. "type": "number"
  24046. },
  24047. "hedgerate": {
  24048. "description": "套保比率",
  24049. "type": "number"
  24050. },
  24051. "hedgerestamount": {
  24052. "description": "套期剩余市价总额【现货贸易】",
  24053. "type": "number"
  24054. },
  24055. "hedgesumpl": {
  24056. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  24057. "type": "number"
  24058. },
  24059. "middlegoodslist": {
  24060. "description": "套期商品列表",
  24061. "type": "array",
  24062. "items": {
  24063. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  24064. }
  24065. },
  24066. "oriavgprice": {
  24067. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  24068. "type": "number"
  24069. },
  24070. "orifuturehedgepl": {
  24071. "description": "期初期货实际损益",
  24072. "type": "number"
  24073. },
  24074. "orifuturepl": {
  24075. "description": "期初期货套期损益",
  24076. "type": "number"
  24077. },
  24078. "orispothedgepl": {
  24079. "description": "期初现货实际损益",
  24080. "type": "number"
  24081. },
  24082. "orispotpl": {
  24083. "description": "期初现货套期损益",
  24084. "type": "number"
  24085. },
  24086. "planenddate": {
  24087. "description": "计划结束日期",
  24088. "type": "string"
  24089. },
  24090. "planstartdate": {
  24091. "description": "计划开始日期",
  24092. "type": "string"
  24093. },
  24094. "remark": {
  24095. "description": "备注",
  24096. "type": "string"
  24097. },
  24098. "spotbookamount": {
  24099. "description": "现货账面总额",
  24100. "type": "number"
  24101. },
  24102. "spotfloatpl": {
  24103. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24104. "type": "number"
  24105. },
  24106. "spothedgepl": {
  24107. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24108. "type": "number"
  24109. },
  24110. "spothedgeplchange": {
  24111. "description": "现货实际损益变动",
  24112. "type": "number"
  24113. },
  24114. "spotpl": {
  24115. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  24116. "type": "number"
  24117. },
  24118. "spotplchange": {
  24119. "description": "现货套期损益变动",
  24120. "type": "number"
  24121. },
  24122. "spottradepl": {
  24123. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  24124. "type": "number"
  24125. },
  24126. "sumobspl": {
  24127. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  24128. "type": "number"
  24129. },
  24130. "tradeuserid": {
  24131. "description": "交易用户ID",
  24132. "type": "integer"
  24133. },
  24134. "unexeqty": {
  24135. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  24136. "type": "number"
  24137. },
  24138. "updatetime": {
  24139. "description": "更新时间",
  24140. "type": "string"
  24141. },
  24142. "vatpl": {
  24143. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  24144. "type": "number"
  24145. },
  24146. "vatrate": {
  24147. "description": "增值税",
  24148. "type": "number"
  24149. },
  24150. "wrstandardid": {
  24151. "description": "现货商品ID",
  24152. "type": "integer"
  24153. },
  24154. "wrstandardname": {
  24155. "description": "商品名称",
  24156. "type": "string"
  24157. }
  24158. }
  24159. },
  24160. "models.ErmcpBizGroupEx": {
  24161. "type": "object",
  24162. "properties": {
  24163. "acclist": {
  24164. "description": "账号列表",
  24165. "type": "array",
  24166. "items": {
  24167. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  24168. }
  24169. },
  24170. "bizgroupid": {
  24171. "description": "业务分组id",
  24172. "type": "integer"
  24173. },
  24174. "biztype": {
  24175. "description": "业务类型 1-套保 2-套利",
  24176. "type": "integer"
  24177. },
  24178. "wrlist": {
  24179. "description": "现货商品表",
  24180. "type": "array",
  24181. "items": {
  24182. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  24183. }
  24184. }
  24185. }
  24186. },
  24187. "models.ErmcpBizGroupSpotGoods": {
  24188. "type": "object",
  24189. "properties": {
  24190. "areauserid": {
  24191. "description": "所属机构id",
  24192. "type": "integer"
  24193. },
  24194. "bizgroupid": {
  24195. "description": "分组id",
  24196. "type": "integer"
  24197. },
  24198. "biztype": {
  24199. "description": "业务类型 1-套保 2-套利",
  24200. "type": "integer"
  24201. },
  24202. "deliverygoodscode": {
  24203. "description": "现货商品代码",
  24204. "type": "string"
  24205. },
  24206. "deliverygoodsid": {
  24207. "description": "现货商品id",
  24208. "type": "integer"
  24209. },
  24210. "deliverygoodsname": {
  24211. "description": "现货商品名称",
  24212. "type": "string"
  24213. },
  24214. "unitid": {
  24215. "description": "现货商品单位id",
  24216. "type": "integer"
  24217. }
  24218. }
  24219. },
  24220. "models.ErmcpBizGroupTaAccount": {
  24221. "type": "object",
  24222. "properties": {
  24223. "accountid": {
  24224. "description": "账号id",
  24225. "type": "integer"
  24226. },
  24227. "accountname": {
  24228. "description": "账号名称",
  24229. "type": "string"
  24230. },
  24231. "areauserid": {
  24232. "description": "所属机构id",
  24233. "type": "integer"
  24234. },
  24235. "bizgroupid": {
  24236. "description": "业务分组id",
  24237. "type": "integer"
  24238. },
  24239. "ismain": {
  24240. "description": "是否主账号 1-是 0-否",
  24241. "type": "integer"
  24242. }
  24243. }
  24244. },
  24245. "models.ErmcpDGFactoryItem": {
  24246. "type": "object",
  24247. "properties": {
  24248. "areauserid": {
  24249. "description": "用户id",
  24250. "type": "integer"
  24251. },
  24252. "deliverygoodsid": {
  24253. "description": "现货品种ID",
  24254. "type": "integer"
  24255. },
  24256. "dgfactoryitemid": {
  24257. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24258. "type": "integer"
  24259. },
  24260. "dgfactoryitemtypeid": {
  24261. "description": "要素项类型",
  24262. "type": "integer"
  24263. },
  24264. "dgfactoryitemvalue": {
  24265. "description": "要素项值(类型为仓库时填写仓库名称)",
  24266. "type": "string"
  24267. },
  24268. "isvalid": {
  24269. "description": "是否有效 - 0:无效 1:有效",
  24270. "type": "integer"
  24271. },
  24272. "orderindex": {
  24273. "description": "顺序",
  24274. "type": "integer"
  24275. },
  24276. "warehouseid": {
  24277. "description": "仓库ID(类型为仓库时填写)",
  24278. "type": "integer"
  24279. }
  24280. }
  24281. },
  24282. "models.ErmcpDeliveryGoods": {
  24283. "type": "object",
  24284. "properties": {
  24285. "agreeunit": {
  24286. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  24287. "type": "integer"
  24288. },
  24289. "areauserid": {
  24290. "description": "所属机构",
  24291. "type": "integer"
  24292. },
  24293. "auditflag": {
  24294. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  24295. "type": "integer"
  24296. },
  24297. "categoryid": {
  24298. "description": "类别ID(SEQ_WRCATEGORY)",
  24299. "type": "integer"
  24300. },
  24301. "deliverygoodscode": {
  24302. "description": "现货品种代码",
  24303. "type": "string"
  24304. },
  24305. "deliverygoodsid": {
  24306. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  24307. "type": "integer"
  24308. },
  24309. "deliverygoodsname": {
  24310. "description": "现货品种名称",
  24311. "type": "string"
  24312. },
  24313. "deliverygoodstype": {
  24314. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24315. "type": "integer"
  24316. },
  24317. "dgstatus": {
  24318. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24319. "type": "integer"
  24320. },
  24321. "enumdicname": {
  24322. "description": "现货品种单位名称",
  24323. "type": "string"
  24324. },
  24325. "goodsunitid": {
  24326. "description": "现货品种单位ID",
  24327. "type": "integer"
  24328. },
  24329. "isvalid": {
  24330. "description": "是否有效 - 0:无效 1:有效",
  24331. "type": "integer"
  24332. },
  24333. "qtydecimalplace": {
  24334. "description": "成交量小数位",
  24335. "type": "integer"
  24336. },
  24337. "remark": {
  24338. "description": "备注",
  24339. "type": "string"
  24340. },
  24341. "standardqty": {
  24342. "description": "标准数量(库位数量) [标准品特有]",
  24343. "type": "integer"
  24344. },
  24345. "standardqtyrange": {
  24346. "description": "标准数量偏差范围 [标准品特有]",
  24347. "type": "integer"
  24348. }
  24349. }
  24350. },
  24351. "models.ErmcpFuturesCompany": {
  24352. "type": "object",
  24353. "properties": {
  24354. "brokerid": {
  24355. "description": "经纪公司代码",
  24356. "type": "string"
  24357. },
  24358. "channeladdress": {
  24359. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24360. "type": "string"
  24361. },
  24362. "channelid": {
  24363. "description": "对冲渠道ID",
  24364. "type": "string"
  24365. },
  24366. "createtime": {
  24367. "description": "创建时间",
  24368. "type": "string"
  24369. },
  24370. "creatorid": {
  24371. "description": "创建人",
  24372. "type": "string"
  24373. },
  24374. "fcid": {
  24375. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24376. "type": "integer"
  24377. },
  24378. "fcname": {
  24379. "description": "期货公司名称",
  24380. "type": "string"
  24381. },
  24382. "isvalid": {
  24383. "description": "是否有效 - 0:无效 1:有效",
  24384. "type": "integer"
  24385. },
  24386. "mhpaddress": {
  24387. "description": "MHP服务地址(IP:Port)",
  24388. "type": "string"
  24389. },
  24390. "riskrulegroupid": {
  24391. "description": "风控规则组ID",
  24392. "type": "string"
  24393. },
  24394. "tradefeetmpid": {
  24395. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24396. "type": "string"
  24397. },
  24398. "trademargintmpid": {
  24399. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24400. "type": "string"
  24401. },
  24402. "traderatetmpid": {
  24403. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24404. "type": "string"
  24405. },
  24406. "updatetime": {
  24407. "description": "更新时间",
  24408. "type": "string"
  24409. },
  24410. "updatorid": {
  24411. "description": "更新人",
  24412. "type": "string"
  24413. }
  24414. }
  24415. },
  24416. "models.ErmcpGGConvertCfg": {
  24417. "type": "object",
  24418. "properties": {
  24419. "convertratio": {
  24420. "description": "折算系数",
  24421. "type": "number"
  24422. },
  24423. "destgoodsgroupid": {
  24424. "description": "目标品种ID",
  24425. "type": "integer"
  24426. },
  24427. "dstcode": {
  24428. "description": "目录品种代码",
  24429. "type": "string"
  24430. },
  24431. "dstexchangecode": {
  24432. "description": "目标期货交易所",
  24433. "type": "string"
  24434. },
  24435. "dstname": {
  24436. "description": "目标品种名称",
  24437. "type": "string"
  24438. },
  24439. "dstunitid": {
  24440. "description": "目标品种单位ID",
  24441. "type": "integer"
  24442. },
  24443. "dstunitidname": {
  24444. "description": "目标品种单位名称",
  24445. "type": "string"
  24446. },
  24447. "modifytime": {
  24448. "description": "修改时间",
  24449. "type": "string"
  24450. },
  24451. "srccode": {
  24452. "description": "源品种代码",
  24453. "type": "string"
  24454. },
  24455. "srcexchangecode": {
  24456. "description": "源期货交易所",
  24457. "type": "string"
  24458. },
  24459. "srcgoodsgroupid": {
  24460. "description": "源品种ID",
  24461. "type": "integer"
  24462. },
  24463. "srcname": {
  24464. "description": "源品种名称",
  24465. "type": "string"
  24466. },
  24467. "srcunitid": {
  24468. "description": "源品种单位ID",
  24469. "type": "integer"
  24470. },
  24471. "srcunitidname": {
  24472. "description": "源品种单位名称",
  24473. "type": "string"
  24474. }
  24475. }
  24476. },
  24477. "models.ErmcpGoods": {
  24478. "type": "object",
  24479. "required": [
  24480. "goodscode",
  24481. "goodsid",
  24482. "goodsname",
  24483. "marketid"
  24484. ],
  24485. "properties": {
  24486. "agreeunit": {
  24487. "description": "合约单位",
  24488. "type": "number"
  24489. },
  24490. "areauserid": {
  24491. "description": "所属机构",
  24492. "type": "integer"
  24493. },
  24494. "auditaccountid": {
  24495. "description": "审核操作员账号",
  24496. "type": "integer"
  24497. },
  24498. "audittime": {
  24499. "description": "审核时间",
  24500. "type": "string"
  24501. },
  24502. "cancelaccountid": {
  24503. "description": "注销操作员账号",
  24504. "type": "integer"
  24505. },
  24506. "canceltime": {
  24507. "description": "注销时间",
  24508. "type": "string"
  24509. },
  24510. "closepricemode": {
  24511. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24512. "type": "integer"
  24513. },
  24514. "closepriceparam": {
  24515. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24516. "type": "number"
  24517. },
  24518. "createtime": {
  24519. "description": "创建时间",
  24520. "type": "string"
  24521. },
  24522. "creatorid": {
  24523. "description": "创建人",
  24524. "type": "integer"
  24525. },
  24526. "currencyid": {
  24527. "description": "报价货币ID",
  24528. "type": "integer"
  24529. },
  24530. "cutmode": {
  24531. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24532. "type": "integer"
  24533. },
  24534. "decimalplace": {
  24535. "description": "报价小数位",
  24536. "type": "integer"
  24537. },
  24538. "delistingdate": {
  24539. "description": "商品退市时间(状态:退市) -- 已作废",
  24540. "type": "string"
  24541. },
  24542. "delistingmode": {
  24543. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24544. "type": "integer"
  24545. },
  24546. "deliveryflag": {
  24547. "description": "交割标志 - 0:不可交割 1:可交割",
  24548. "type": "integer"
  24549. },
  24550. "enumdicname": {
  24551. "description": "单位名称",
  24552. "type": "string"
  24553. },
  24554. "forceclosemode": {
  24555. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24556. "type": "integer"
  24557. },
  24558. "forceclosevalue": {
  24559. "description": "定期强平参数 [收益权]",
  24560. "type": "integer"
  24561. },
  24562. "goodscode": {
  24563. "description": "商品代码(内部)",
  24564. "type": "string"
  24565. },
  24566. "goodscurrencyid": {
  24567. "description": "合约货币ID",
  24568. "type": "integer"
  24569. },
  24570. "goodsgroupid": {
  24571. "description": "所属商品组ID",
  24572. "type": "integer"
  24573. },
  24574. "goodsid": {
  24575. "description": "商品ID(自增ID SEQ_GOODS)",
  24576. "type": "integer"
  24577. },
  24578. "goodsname": {
  24579. "description": "商品名称",
  24580. "type": "string"
  24581. },
  24582. "goodsquotetype": {
  24583. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24584. "type": "integer"
  24585. },
  24586. "goodsstatus": {
  24587. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24588. "type": "integer"
  24589. },
  24590. "goodstradetype": {
  24591. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24592. "type": "integer"
  24593. },
  24594. "goodunitid": {
  24595. "description": "报价单位ID",
  24596. "type": "integer"
  24597. },
  24598. "hasquoter": {
  24599. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24600. "type": "integer"
  24601. },
  24602. "hqprotecttime": {
  24603. "description": "行情保护时间(秒)",
  24604. "type": "integer"
  24605. },
  24606. "innerdealmode": {
  24607. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24608. "type": "integer"
  24609. },
  24610. "isbuylimited": {
  24611. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24612. "type": "integer"
  24613. },
  24614. "isvisible": {
  24615. "description": "游客是否可见 - 0:不可见 1:可见",
  24616. "type": "integer"
  24617. },
  24618. "lasttradedate": {
  24619. "description": "最后交易日期(状态:待退市)",
  24620. "type": "string"
  24621. },
  24622. "listingdate": {
  24623. "description": "交易开始日期",
  24624. "type": "string"
  24625. },
  24626. "marketid": {
  24627. "description": "所属市场ID",
  24628. "type": "integer"
  24629. },
  24630. "modifierid": {
  24631. "description": "修改人",
  24632. "type": "integer"
  24633. },
  24634. "modifystatus": {
  24635. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24636. "type": "integer"
  24637. },
  24638. "modifytime": {
  24639. "description": "修改时间",
  24640. "type": "string"
  24641. },
  24642. "outerdealmode": {
  24643. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24644. "type": "integer"
  24645. },
  24646. "outgoodscode": {
  24647. "description": "商品代码(外部)",
  24648. "type": "string"
  24649. },
  24650. "pictureurl": {
  24651. "description": "商品图片",
  24652. "type": "string"
  24653. },
  24654. "qtydecimalplace": {
  24655. "description": "成交量小数位",
  24656. "type": "integer"
  24657. },
  24658. "quotegear": {
  24659. "description": "行情档位(1-10)",
  24660. "type": "integer"
  24661. },
  24662. "quoteminunit": {
  24663. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24664. "type": "integer"
  24665. },
  24666. "quoteshowtype": {
  24667. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24668. "type": "integer"
  24669. },
  24670. "quoteshowtypeinterval": {
  24671. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24672. "type": "integer"
  24673. },
  24674. "relatedgoodsid": {
  24675. "description": "关联参考商品ID",
  24676. "type": "integer"
  24677. },
  24678. "remark": {
  24679. "description": "备注",
  24680. "type": "string"
  24681. },
  24682. "trademode": {
  24683. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24684. "type": "integer"
  24685. }
  24686. }
  24687. },
  24688. "models.ErmcpGoodsBrand": {
  24689. "type": "object",
  24690. "properties": {
  24691. "areauserid": {
  24692. "description": "所属机构",
  24693. "type": "integer"
  24694. },
  24695. "brandid": {
  24696. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24697. "type": "integer"
  24698. },
  24699. "brandname": {
  24700. "description": "品牌名称",
  24701. "type": "string"
  24702. },
  24703. "createtime": {
  24704. "description": "创建时间",
  24705. "type": "string"
  24706. },
  24707. "creatorid": {
  24708. "description": "创建人",
  24709. "type": "integer"
  24710. },
  24711. "creatorsrc": {
  24712. "description": "创建人来源 - 1:管理端 2:终端",
  24713. "type": "integer"
  24714. },
  24715. "deliverygoodsid": {
  24716. "description": "现货品种ID",
  24717. "type": "integer"
  24718. },
  24719. "isvalid": {
  24720. "description": "是否有效 - 0:无效 1:有效",
  24721. "type": "integer"
  24722. },
  24723. "updatetime": {
  24724. "description": "更新时间",
  24725. "type": "string"
  24726. },
  24727. "updatorid": {
  24728. "description": "更新人",
  24729. "type": "integer"
  24730. },
  24731. "updatorsrc": {
  24732. "description": "更新人来源 - 1:管理端 2:终端",
  24733. "type": "integer"
  24734. },
  24735. "wrstandardid": {
  24736. "description": "现货商品ID",
  24737. "type": "integer"
  24738. }
  24739. }
  24740. },
  24741. "models.ErmcpGoodsModel": {
  24742. "type": "object",
  24743. "properties": {
  24744. "areauserid": {
  24745. "description": "所属机构",
  24746. "type": "integer"
  24747. },
  24748. "convertfactor": {
  24749. "description": "标仓系数",
  24750. "type": "number"
  24751. },
  24752. "createtime": {
  24753. "description": "创建时间",
  24754. "type": "string"
  24755. },
  24756. "creatorid": {
  24757. "description": "创建人",
  24758. "type": "integer"
  24759. },
  24760. "creatorsrc": {
  24761. "description": "创建人来源 - 1:管理端 2:终端",
  24762. "type": "integer"
  24763. },
  24764. "deliverygoodsid": {
  24765. "description": "现货品种ID",
  24766. "type": "integer"
  24767. },
  24768. "isvalid": {
  24769. "description": "是否有效 - 0:无效 1:有效",
  24770. "type": "integer"
  24771. },
  24772. "modelid": {
  24773. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24774. "type": "integer"
  24775. },
  24776. "modelname": {
  24777. "description": "型号名称",
  24778. "type": "string"
  24779. },
  24780. "updatetime": {
  24781. "description": "更新时间",
  24782. "type": "string"
  24783. },
  24784. "updatorid": {
  24785. "description": "更新人",
  24786. "type": "integer"
  24787. },
  24788. "updatorsrc": {
  24789. "description": "更新人来源 - 1:管理端 2:终端",
  24790. "type": "integer"
  24791. },
  24792. "wrstandardid": {
  24793. "description": "现货商品ID",
  24794. "type": "integer"
  24795. }
  24796. }
  24797. },
  24798. "models.ErmcpHisExposure": {
  24799. "type": "object",
  24800. "properties": {
  24801. "needhedgeexposoure": {
  24802. "description": "应套保敞口",
  24803. "type": "number"
  24804. },
  24805. "reckondate": {
  24806. "description": "日照时期(yyyyMMdd)",
  24807. "type": "string"
  24808. },
  24809. "totalexposure": {
  24810. "description": "总敞口",
  24811. "type": "number"
  24812. }
  24813. }
  24814. },
  24815. "models.ErmcpLoginTaAccount": {
  24816. "type": "object",
  24817. "properties": {
  24818. "accountid": {
  24819. "description": "账号id",
  24820. "type": "integer"
  24821. },
  24822. "accountname": {
  24823. "description": "账号名称",
  24824. "type": "string"
  24825. }
  24826. }
  24827. },
  24828. "models.ErmcpLoginUser": {
  24829. "type": "object",
  24830. "properties": {
  24831. "acclist": {
  24832. "description": "关联资金账号",
  24833. "type": "array",
  24834. "items": {
  24835. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24836. }
  24837. },
  24838. "accountname": {
  24839. "description": "用户名称",
  24840. "type": "string"
  24841. },
  24842. "clientroleid": {
  24843. "description": "角色id(usertype=2)",
  24844. "type": "integer"
  24845. },
  24846. "createtime": {
  24847. "description": "创建时间",
  24848. "type": "string"
  24849. },
  24850. "logincode": {
  24851. "description": "登录代码",
  24852. "type": "string"
  24853. },
  24854. "loginid": {
  24855. "description": "登录id(LOGINID)",
  24856. "type": "integer"
  24857. },
  24858. "loginname": {
  24859. "description": "登录名称(loginaccount表中的accountname字段)",
  24860. "type": "string"
  24861. },
  24862. "loginstatus": {
  24863. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24864. "type": "integer"
  24865. },
  24866. "memberuserid": {
  24867. "description": "所属会员id",
  24868. "type": "integer"
  24869. },
  24870. "mobile": {
  24871. "description": "手机号",
  24872. "type": "string"
  24873. },
  24874. "modifytime": {
  24875. "description": "修改时间",
  24876. "type": "string"
  24877. },
  24878. "password": {
  24879. "description": "密码(不可解密)",
  24880. "type": "string"
  24881. },
  24882. "rolename": {
  24883. "description": "角色名称",
  24884. "type": "string"
  24885. },
  24886. "rolestatus": {
  24887. "description": "角色状态 1-启用 2-停用",
  24888. "type": "integer"
  24889. },
  24890. "roletype": {
  24891. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24892. "type": "string"
  24893. },
  24894. "userid": {
  24895. "description": "用户id",
  24896. "type": "integer"
  24897. },
  24898. "usertype": {
  24899. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24900. "type": "integer"
  24901. }
  24902. }
  24903. },
  24904. "models.ErmcpLoginUserEx": {
  24905. "type": "object",
  24906. "properties": {
  24907. "accountstatus": {
  24908. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24909. "type": "integer"
  24910. },
  24911. "mobile": {
  24912. "description": "手机号",
  24913. "type": "string"
  24914. },
  24915. "querytype": {
  24916. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24917. "type": "integer"
  24918. },
  24919. "roleid": {
  24920. "description": "角色id(交易账户-\u003e用户id)",
  24921. "type": "integer"
  24922. },
  24923. "rolename": {
  24924. "description": "角色名称(交易账户-\u003e用户名称)",
  24925. "type": "string"
  24926. },
  24927. "userlist": {
  24928. "description": "用户列表",
  24929. "type": "array",
  24930. "items": {
  24931. "$ref": "#/definitions/models.ErmcpLoginUser"
  24932. }
  24933. },
  24934. "usertype": {
  24935. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24936. "type": "integer"
  24937. }
  24938. }
  24939. },
  24940. "models.ErmcpMiddleGoodsModel": {
  24941. "type": "object",
  24942. "properties": {
  24943. "areauserid": {
  24944. "description": "机构用户ID",
  24945. "type": "integer"
  24946. },
  24947. "createtime": {
  24948. "description": "修改时间",
  24949. "type": "string"
  24950. },
  24951. "enumdicname": {
  24952. "description": "单位名称",
  24953. "type": "string"
  24954. },
  24955. "evaluateratio": {
  24956. "description": "估价系数",
  24957. "type": "number"
  24958. },
  24959. "goodsgroupid": {
  24960. "description": "关联期货品种ID",
  24961. "type": "integer"
  24962. },
  24963. "goodsunitid": {
  24964. "description": "单位ID",
  24965. "type": "integer"
  24966. },
  24967. "isvalid": {
  24968. "description": "状态 0-无效(停用) 1-有效(正常)",
  24969. "type": "integer"
  24970. },
  24971. "middlegoodscode": {
  24972. "description": "套保品种代码",
  24973. "type": "string"
  24974. },
  24975. "middlegoodsid": {
  24976. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24977. "type": "integer"
  24978. },
  24979. "middlegoodsname": {
  24980. "description": "套保品种名称",
  24981. "type": "string"
  24982. },
  24983. "modifytime": {
  24984. "description": "修改时间",
  24985. "type": "string"
  24986. },
  24987. "needarbitrageratio": {
  24988. "description": "套利比例",
  24989. "type": "number"
  24990. },
  24991. "needhedgeratio": {
  24992. "description": "套保比率",
  24993. "type": "number"
  24994. },
  24995. "qtydecimalplace": {
  24996. "description": "数量小数位",
  24997. "type": "integer"
  24998. },
  24999. "relatedgoodsid": {
  25000. "description": "关联交易商品ID",
  25001. "type": "integer"
  25002. },
  25003. "relatedgoodstype": {
  25004. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  25005. "type": "integer"
  25006. },
  25007. "remark": {
  25008. "description": "备注",
  25009. "type": "string"
  25010. }
  25011. }
  25012. },
  25013. "models.ErmcpMiddlegoodsRelateGoods": {
  25014. "type": "object",
  25015. "properties": {
  25016. "agreeunit": {
  25017. "description": "合约乘数",
  25018. "type": "number"
  25019. },
  25020. "convertratio": {
  25021. "description": "折算系数",
  25022. "type": "number"
  25023. },
  25024. "enumdicname": {
  25025. "description": "单位名称(交易商品)",
  25026. "type": "string"
  25027. },
  25028. "goodscode": {
  25029. "description": "交易商品代码",
  25030. "type": "string"
  25031. },
  25032. "goodsgroupid": {
  25033. "description": "交易品种id",
  25034. "type": "integer"
  25035. },
  25036. "goodsid": {
  25037. "description": "商品Id",
  25038. "type": "integer"
  25039. },
  25040. "goodsname": {
  25041. "description": "交易商品名称",
  25042. "type": "string"
  25043. },
  25044. "goodunitid": {
  25045. "description": "交易商品单位id",
  25046. "type": "integer"
  25047. },
  25048. "middlegoodsid": {
  25049. "description": "套保商品id",
  25050. "type": "integer"
  25051. },
  25052. "middlegoodsname": {
  25053. "description": "套保商品名称",
  25054. "type": "string"
  25055. },
  25056. "middlegoodsswcode": {
  25057. "description": "套保商品代码",
  25058. "type": "string"
  25059. },
  25060. "needarbitrageratio": {
  25061. "description": "应套利比例",
  25062. "type": "number"
  25063. },
  25064. "needhedgeratio": {
  25065. "description": "应套保比例",
  25066. "type": "number"
  25067. }
  25068. }
  25069. },
  25070. "models.ErmcpRole": {
  25071. "type": "object",
  25072. "properties": {
  25073. "areauserid": {
  25074. "description": "所属机构",
  25075. "type": "integer"
  25076. },
  25077. "autoid": {
  25078. "description": "角色ID(自增ID)",
  25079. "type": "integer"
  25080. },
  25081. "modifierid": {
  25082. "description": "修改人(创建人)",
  25083. "type": "integer"
  25084. },
  25085. "modifiername": {
  25086. "description": "修改人名称",
  25087. "type": "string"
  25088. },
  25089. "modifytime": {
  25090. "description": "修改时间(创建时间)",
  25091. "type": "string"
  25092. },
  25093. "rolename": {
  25094. "description": "角色名称",
  25095. "type": "string"
  25096. },
  25097. "rolestatus": {
  25098. "description": "角色状态 - 1:启用 2:停用",
  25099. "type": "integer"
  25100. },
  25101. "roletype": {
  25102. "description": "角色类型 - 1- 管理端 2- 交易端",
  25103. "type": "integer"
  25104. }
  25105. }
  25106. },
  25107. "models.ErmcpRoleMenu": {
  25108. "type": "object",
  25109. "properties": {
  25110. "iconame": {
  25111. "description": "菜单图标",
  25112. "type": "string"
  25113. },
  25114. "ishadrole": {
  25115. "description": "是否有权限",
  25116. "type": "boolean"
  25117. },
  25118. "menutype": {
  25119. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  25120. "type": "integer"
  25121. },
  25122. "parentcode": {
  25123. "description": "上级资源代码",
  25124. "type": "string"
  25125. },
  25126. "remark": {
  25127. "description": "菜单备注",
  25128. "type": "string"
  25129. },
  25130. "resourcecode": {
  25131. "description": "菜单代码",
  25132. "type": "string"
  25133. },
  25134. "resourcelevel": {
  25135. "description": "级别",
  25136. "type": "integer"
  25137. },
  25138. "resourcename": {
  25139. "description": "菜单名称",
  25140. "type": "string"
  25141. },
  25142. "roleid": {
  25143. "description": "角色id",
  25144. "type": "integer"
  25145. },
  25146. "sort": {
  25147. "description": "排序",
  25148. "type": "integer"
  25149. },
  25150. "url": {
  25151. "description": "URL",
  25152. "type": "string"
  25153. },
  25154. "userid": {
  25155. "description": "用户id",
  25156. "type": "integer"
  25157. }
  25158. }
  25159. },
  25160. "models.ErmcpRoleMenuEx": {
  25161. "type": "object",
  25162. "properties": {
  25163. "menu": {
  25164. "description": "父级菜单",
  25165. "$ref": "#/definitions/models.ErmcpRoleMenu"
  25166. },
  25167. "subMenu": {
  25168. "description": "子级菜单",
  25169. "type": "array",
  25170. "items": {
  25171. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  25172. }
  25173. }
  25174. }
  25175. },
  25176. "models.ErmcpSpotContractModelEx": {
  25177. "type": "object",
  25178. "properties": {
  25179. "accountname": {
  25180. "description": "套期主体",
  25181. "type": "string"
  25182. },
  25183. "amount": {
  25184. "description": "金额 [1:一口价、3:暂定价]",
  25185. "type": "number"
  25186. },
  25187. "attachment": {
  25188. "description": "附件",
  25189. "type": "string"
  25190. },
  25191. "auditremark": {
  25192. "description": "审核意见",
  25193. "type": "string"
  25194. },
  25195. "audittime": {
  25196. "description": "审核时间",
  25197. "type": "string"
  25198. },
  25199. "avgprice": {
  25200. "description": "定价均价 = 已定价金额 / 已定价量",
  25201. "type": "number"
  25202. },
  25203. "brandname": {
  25204. "description": "品牌名称",
  25205. "type": "string"
  25206. },
  25207. "buyuserid": {
  25208. "description": "采购方ID",
  25209. "type": "integer"
  25210. },
  25211. "buyusername": {
  25212. "description": "采购方名称",
  25213. "type": "string"
  25214. },
  25215. "contracctstatus": {
  25216. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25217. "type": "integer"
  25218. },
  25219. "contractmargin": {
  25220. "description": "合同保证金",
  25221. "type": "number"
  25222. },
  25223. "contractno": {
  25224. "description": "[合同编号]现货合同编号",
  25225. "type": "string"
  25226. },
  25227. "contracttype": {
  25228. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  25229. "type": "integer"
  25230. },
  25231. "convertfactor": {
  25232. "description": "标仓系数",
  25233. "type": "number"
  25234. },
  25235. "createtime": {
  25236. "description": "创建时间",
  25237. "type": "string"
  25238. },
  25239. "customername": {
  25240. "description": "对手方",
  25241. "type": "string"
  25242. },
  25243. "customeruserid": {
  25244. "description": "客户ID",
  25245. "type": "integer"
  25246. },
  25247. "deliveryenddate": {
  25248. "description": "交收期(结束)",
  25249. "type": "string"
  25250. },
  25251. "deliverygoodscode": {
  25252. "description": "现货品种代码",
  25253. "type": "string"
  25254. },
  25255. "deliverygoodsid": {
  25256. "description": "现货品种ID",
  25257. "type": "integer"
  25258. },
  25259. "deliverygoodsname": {
  25260. "description": "现货品种名称",
  25261. "type": "string"
  25262. },
  25263. "deliverystartdate": {
  25264. "description": "交收期(开始)",
  25265. "type": "string"
  25266. },
  25267. "enddate": {
  25268. "description": "点价结束日期 [2:点价 3:暂定价]",
  25269. "type": "string"
  25270. },
  25271. "enumdicname": {
  25272. "description": "单位名称",
  25273. "type": "string"
  25274. },
  25275. "goodscode": {
  25276. "description": "点价合约代码",
  25277. "type": "string"
  25278. },
  25279. "goodsid": {
  25280. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  25281. "type": "integer"
  25282. },
  25283. "goodsname": {
  25284. "description": "点价商品名称",
  25285. "type": "string"
  25286. },
  25287. "isrelated": {
  25288. "description": "是否已关联计划项目 - 0:否 1:是",
  25289. "type": "integer"
  25290. },
  25291. "isrelated2": {
  25292. "description": "是否已关联现货项目 - 0:否 1:是",
  25293. "type": "integer"
  25294. },
  25295. "margin": {
  25296. "description": "当前保证金",
  25297. "type": "number"
  25298. },
  25299. "modelname": {
  25300. "description": "型号名称",
  25301. "type": "string"
  25302. },
  25303. "price": {
  25304. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  25305. "type": "number"
  25306. },
  25307. "pricedamount": {
  25308. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  25309. "type": "number"
  25310. },
  25311. "pricedqty": {
  25312. "description": "已定价量",
  25313. "type": "number"
  25314. },
  25315. "pricemove": {
  25316. "description": "升贴水 [2:点价 3:暂定价]",
  25317. "type": "number"
  25318. },
  25319. "pricetype": {
  25320. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25321. "type": "integer"
  25322. },
  25323. "producttype": {
  25324. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25325. "type": "integer"
  25326. },
  25327. "qty": {
  25328. "description": "[合同数量]数量",
  25329. "type": "number"
  25330. },
  25331. "remark": {
  25332. "description": "备注",
  25333. "type": "string"
  25334. },
  25335. "selluserid": {
  25336. "description": "销售方ID",
  25337. "type": "integer"
  25338. },
  25339. "sellusername": {
  25340. "description": "销售方名称",
  25341. "type": "string"
  25342. },
  25343. "spotamount": {
  25344. "description": "合同现货金额 [不含升贴水]",
  25345. "type": "number"
  25346. },
  25347. "spotavgprice": {
  25348. "description": "现货均价 = 合同现货金额 / 已定价量",
  25349. "type": "number"
  25350. },
  25351. "spotcontractid": {
  25352. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25353. "type": "string"
  25354. },
  25355. "spotgoodsbrandid": {
  25356. "description": "现货品牌ID",
  25357. "type": "integer"
  25358. },
  25359. "spotgoodsdesc": {
  25360. "description": "商品型号",
  25361. "type": "string"
  25362. },
  25363. "spotgoodsmodelid": {
  25364. "description": "现货型号ID",
  25365. "type": "integer"
  25366. },
  25367. "startdate": {
  25368. "description": "点价开始日期 [2:点价 3:暂定价]",
  25369. "type": "string"
  25370. },
  25371. "tradeuserid": {
  25372. "description": "交易用户ID",
  25373. "type": "integer"
  25374. },
  25375. "unpricedqty": {
  25376. "description": "未定价量 = 合同数量 - 已定价量",
  25377. "type": "number"
  25378. },
  25379. "updatetime": {
  25380. "description": "更新时间",
  25381. "type": "string"
  25382. },
  25383. "userid": {
  25384. "description": "机构ID",
  25385. "type": "integer"
  25386. },
  25387. "wrstandardcode": {
  25388. "description": "现货商品代码",
  25389. "type": "string"
  25390. },
  25391. "wrstandardid": {
  25392. "description": "现货商品ID",
  25393. "type": "integer"
  25394. },
  25395. "wrstandardname": {
  25396. "description": "[现货商品]现货商品名称",
  25397. "type": "string"
  25398. }
  25399. }
  25400. },
  25401. "models.ErmcpTaAccount": {
  25402. "type": "object",
  25403. "properties": {
  25404. "accountid": {
  25405. "description": "账户id",
  25406. "type": "integer"
  25407. },
  25408. "accountname": {
  25409. "description": "账户名称",
  25410. "type": "string"
  25411. },
  25412. "currencyid": {
  25413. "description": "币种id",
  25414. "type": "integer"
  25415. },
  25416. "hedgeaccountcode": {
  25417. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25418. "type": "string"
  25419. },
  25420. "ismain": {
  25421. "description": "是否主账户 0-否 1-是",
  25422. "type": "integer"
  25423. },
  25424. "parentaccountid": {
  25425. "description": "父账户id",
  25426. "type": "integer"
  25427. },
  25428. "relateduserid": {
  25429. "description": "关联userid",
  25430. "type": "integer"
  25431. },
  25432. "tradefeetmpid": {
  25433. "description": "手续费模板id",
  25434. "type": "integer"
  25435. },
  25436. "tradefeetmpname": {
  25437. "description": "手续费模板名称",
  25438. "type": "string"
  25439. },
  25440. "trademargintmpid": {
  25441. "description": "保证金模板id",
  25442. "type": "integer"
  25443. },
  25444. "trademargintmpname": {
  25445. "description": "保证金模板名称",
  25446. "type": "string"
  25447. },
  25448. "traderatetmpid": {
  25449. "description": "汇率模板id",
  25450. "type": "integer"
  25451. },
  25452. "traderatetmpname": {
  25453. "description": "汇率模板名称",
  25454. "type": "string"
  25455. },
  25456. "tradestatus": {
  25457. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25458. "type": "integer"
  25459. },
  25460. "userid": {
  25461. "description": "用户id",
  25462. "type": "integer"
  25463. }
  25464. }
  25465. },
  25466. "models.ErmcpTaAccountEx": {
  25467. "type": "object",
  25468. "properties": {
  25469. "mainAcc": {
  25470. "description": "主账号",
  25471. "$ref": "#/definitions/models.ErmcpTaAccountM"
  25472. },
  25473. "subacclist": {
  25474. "description": "子账号列表",
  25475. "type": "array",
  25476. "items": {
  25477. "$ref": "#/definitions/models.ErmcpTaAccount"
  25478. }
  25479. }
  25480. }
  25481. },
  25482. "models.ErmcpTaAccountInfo": {
  25483. "type": "object",
  25484. "properties": {
  25485. "accountid": {
  25486. "description": "资金账户ID",
  25487. "type": "integer"
  25488. },
  25489. "accountname": {
  25490. "description": "账户名称",
  25491. "type": "string"
  25492. },
  25493. "balance": {
  25494. "description": "期初余额",
  25495. "type": "number"
  25496. },
  25497. "capitalbalance": {
  25498. "description": "本金余额[外部子账户实际出入金余额]",
  25499. "type": "number"
  25500. },
  25501. "closepl": {
  25502. "description": "今日平仓盈亏",
  25503. "type": "number"
  25504. },
  25505. "creditdecrease": {
  25506. "description": "今日授信减少",
  25507. "type": "number"
  25508. },
  25509. "creditincrease": {
  25510. "description": "今日授信增加",
  25511. "type": "number"
  25512. },
  25513. "curdebt": {
  25514. "description": "期末欠款",
  25515. "type": "number"
  25516. },
  25517. "currencyid": {
  25518. "description": "货币ID",
  25519. "type": "integer"
  25520. },
  25521. "currentbalance": {
  25522. "description": "期末余额",
  25523. "type": "number"
  25524. },
  25525. "freezecharge": {
  25526. "description": "手续费冻结",
  25527. "type": "number"
  25528. },
  25529. "freezemargin": {
  25530. "description": "冻结保证金",
  25531. "type": "number"
  25532. },
  25533. "fromaccountid": {
  25534. "description": "所属上级账户",
  25535. "type": "integer"
  25536. },
  25537. "inamount": {
  25538. "description": "今日入金金额(包括三方入金)",
  25539. "type": "number"
  25540. },
  25541. "ismain": {
  25542. "description": "是否母账号 0:不是母账户 1:是母账户",
  25543. "type": "integer"
  25544. },
  25545. "mortgagecredit": {
  25546. "description": "授信金额",
  25547. "type": "number"
  25548. },
  25549. "oridebt": {
  25550. "description": "期初欠款",
  25551. "type": "number"
  25552. },
  25553. "orifreezecharge": {
  25554. "description": "期初手续费冻结",
  25555. "type": "number"
  25556. },
  25557. "orifreezemargin": {
  25558. "description": "期初冻结保证金",
  25559. "type": "number"
  25560. },
  25561. "orimortgagecredit": {
  25562. "description": "期初授信金额",
  25563. "type": "number"
  25564. },
  25565. "oriothercredit": {
  25566. "description": "期初其它授信金额",
  25567. "type": "number"
  25568. },
  25569. "oriotherfreezemargin": {
  25570. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25571. "type": "number"
  25572. },
  25573. "orioutamountfreeze": {
  25574. "description": "期初出金冻结",
  25575. "type": "number"
  25576. },
  25577. "oriusedmargin": {
  25578. "description": "期初占用保证金",
  25579. "type": "number"
  25580. },
  25581. "othercredit": {
  25582. "description": "其它授信金额",
  25583. "type": "number"
  25584. },
  25585. "othercreditdecrease": {
  25586. "description": "今日其它授信减少",
  25587. "type": "number"
  25588. },
  25589. "othercreditincrease": {
  25590. "description": "今日其它授信增加",
  25591. "type": "number"
  25592. },
  25593. "otherfreezemargin": {
  25594. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25595. "type": "number"
  25596. },
  25597. "outamount": {
  25598. "description": "今日出金金额(包括三方出金)",
  25599. "type": "number"
  25600. },
  25601. "outamountfreeze": {
  25602. "description": "出金冻结",
  25603. "type": "number"
  25604. },
  25605. "outthreshold": {
  25606. "description": "出金阈值",
  25607. "type": "number"
  25608. },
  25609. "parentaccountid": {
  25610. "description": "所属根账号",
  25611. "type": "integer"
  25612. },
  25613. "paycharge": {
  25614. "description": "今日手续费支出",
  25615. "type": "number"
  25616. },
  25617. "relateduserid": {
  25618. "description": "关联用户",
  25619. "type": "integer"
  25620. },
  25621. "signstatus": {
  25622. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25623. "type": "integer"
  25624. },
  25625. "sublevelpath": {
  25626. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25627. "type": "string"
  25628. },
  25629. "taaccounttype": {
  25630. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25631. "type": "integer"
  25632. },
  25633. "thirdinamount": {
  25634. "description": "今日三方入金",
  25635. "type": "number"
  25636. },
  25637. "thirdoutamount": {
  25638. "description": "今日三方出金",
  25639. "type": "number"
  25640. },
  25641. "tradestatus": {
  25642. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25643. "type": "integer"
  25644. },
  25645. "transferamount": {
  25646. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25647. "type": "number"
  25648. },
  25649. "usedmargin": {
  25650. "description": "占用保证金",
  25651. "type": "number"
  25652. },
  25653. "userid": {
  25654. "description": "用户ID",
  25655. "type": "integer"
  25656. }
  25657. }
  25658. },
  25659. "models.ErmcpTaAccountM": {
  25660. "type": "object",
  25661. "properties": {
  25662. "accountid": {
  25663. "description": "账户id",
  25664. "type": "integer"
  25665. },
  25666. "accountname": {
  25667. "description": "账户名称",
  25668. "type": "string"
  25669. },
  25670. "currencyid": {
  25671. "description": "币种id",
  25672. "type": "integer"
  25673. },
  25674. "fcid": {
  25675. "description": "期货公司id",
  25676. "type": "integer"
  25677. },
  25678. "fcname": {
  25679. "description": "期货公司代码",
  25680. "type": "string"
  25681. },
  25682. "hedgeaccountcode": {
  25683. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25684. "type": "string"
  25685. },
  25686. "ismain": {
  25687. "description": "是否主账户 0-否 1-是",
  25688. "type": "integer"
  25689. },
  25690. "parentaccountid": {
  25691. "description": "父账户id",
  25692. "type": "integer"
  25693. },
  25694. "relateduserid": {
  25695. "description": "关联userid",
  25696. "type": "integer"
  25697. },
  25698. "tradefeetmpid": {
  25699. "description": "手续费模板id",
  25700. "type": "integer"
  25701. },
  25702. "tradefeetmpname": {
  25703. "description": "手续费模板名称",
  25704. "type": "string"
  25705. },
  25706. "trademargintmpid": {
  25707. "description": "保证金模板id",
  25708. "type": "integer"
  25709. },
  25710. "trademargintmpname": {
  25711. "description": "保证金模板名称",
  25712. "type": "string"
  25713. },
  25714. "traderatetmpid": {
  25715. "description": "汇率模板id",
  25716. "type": "integer"
  25717. },
  25718. "traderatetmpname": {
  25719. "description": "汇率模板名称",
  25720. "type": "string"
  25721. },
  25722. "tradestatus": {
  25723. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25724. "type": "integer"
  25725. },
  25726. "userid": {
  25727. "description": "用户id",
  25728. "type": "integer"
  25729. }
  25730. }
  25731. },
  25732. "models.ErmcpTradeConfigTMP": {
  25733. "type": "object",
  25734. "properties": {
  25735. "areauserid": {
  25736. "description": "所属机构",
  25737. "type": "integer"
  25738. },
  25739. "basiccurrencyid": {
  25740. "description": "基本币种ID[汇率] - 目标币种",
  25741. "type": "integer"
  25742. },
  25743. "mainaccountid": {
  25744. "description": "主账户ID",
  25745. "type": "integer"
  25746. },
  25747. "modifierid": {
  25748. "description": "修改人",
  25749. "type": "integer"
  25750. },
  25751. "remark": {
  25752. "description": "备注",
  25753. "type": "string"
  25754. },
  25755. "tradeconfigtmpid": {
  25756. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25757. "type": "integer"
  25758. },
  25759. "tradeconfigtmpname": {
  25760. "description": "交易配置模板名称",
  25761. "type": "string"
  25762. },
  25763. "tradeconfigtmptype": {
  25764. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25765. "type": "integer"
  25766. },
  25767. "updatetime": {
  25768. "description": "更新时间",
  25769. "type": "string"
  25770. }
  25771. }
  25772. },
  25773. "models.Ermcpjrlinkpos": {
  25774. "type": "object",
  25775. "required": [
  25776. "spotcontractid"
  25777. ],
  25778. "properties": {
  25779. "areauserid": {
  25780. "description": "所属企业",
  25781. "type": "integer"
  25782. },
  25783. "averageprice": {
  25784. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  25785. "type": "number"
  25786. },
  25787. "closepl": {
  25788. "description": "总平仓盈亏 [期货损益]",
  25789. "type": "number"
  25790. },
  25791. "executeprice": {
  25792. "description": "执行价 - 1:期货单 为 0",
  25793. "type": "integer"
  25794. },
  25795. "futurehedgeqty": {
  25796. "description": "期货套期量",
  25797. "type": "number"
  25798. },
  25799. "goodsid": {
  25800. "description": "期货合约",
  25801. "type": "integer"
  25802. },
  25803. "middlegoodscode": {
  25804. "description": "套保商品代码",
  25805. "type": "string"
  25806. },
  25807. "middlegoodsname": {
  25808. "description": "套保商品名称",
  25809. "type": "string"
  25810. },
  25811. "netqty": {
  25812. "description": "净头寸",
  25813. "type": "number"
  25814. },
  25815. "optioncode": {
  25816. "description": "期权代码",
  25817. "type": "string"
  25818. },
  25819. "ordertype": {
  25820. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  25821. "type": "integer"
  25822. },
  25823. "reckonpl": {
  25824. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  25825. "type": "number"
  25826. },
  25827. "spotcontractid": {
  25828. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  25829. "type": "string"
  25830. },
  25831. "todayfutureclosepl": {
  25832. "description": "今日平仓盈亏",
  25833. "type": "number"
  25834. },
  25835. "totalbuyamount": {
  25836. "description": "买金额 [期货]",
  25837. "type": "number"
  25838. },
  25839. "totalbuyholdamount": {
  25840. "description": "买持仓总金额[期货]",
  25841. "type": "number"
  25842. },
  25843. "totalbuyqty": {
  25844. "description": "买数量",
  25845. "type": "number"
  25846. },
  25847. "totalcharge": {
  25848. "description": "手续费",
  25849. "type": "number"
  25850. },
  25851. "totalpremium": {
  25852. "description": "权利金 [期权]",
  25853. "type": "number"
  25854. },
  25855. "totalsellamount": {
  25856. "description": "卖金额 [期货]",
  25857. "type": "number"
  25858. },
  25859. "totalsellholdamount": {
  25860. "description": "卖持仓总金额[期货]",
  25861. "type": "number"
  25862. },
  25863. "totalsellqty": {
  25864. "description": "卖数量",
  25865. "type": "number"
  25866. },
  25867. "updatetime": {
  25868. "description": "更新时间",
  25869. "type": "string"
  25870. }
  25871. }
  25872. },
  25873. "models.Ermcppatradelinkdetail": {
  25874. "type": "object",
  25875. "required": [
  25876. "hedgeditemid"
  25877. ],
  25878. "properties": {
  25879. "agreeunit": {
  25880. "description": "合约乘数",
  25881. "type": "number"
  25882. },
  25883. "amount": {
  25884. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  25885. "type": "number"
  25886. },
  25887. "areauserid": {
  25888. "description": "所属机构",
  25889. "type": "integer"
  25890. },
  25891. "bizsubjectid": {
  25892. "description": "归属业务部门ID - SubjectID",
  25893. "type": "integer"
  25894. },
  25895. "buyorsell": {
  25896. "description": "方向 - 0:买 1:卖",
  25897. "type": "integer"
  25898. },
  25899. "convertratio": {
  25900. "description": "品种系数",
  25901. "type": "number"
  25902. },
  25903. "createtime": {
  25904. "description": "创建时间",
  25905. "type": "string"
  25906. },
  25907. "creatorid": {
  25908. "description": "创建人ID",
  25909. "type": "integer"
  25910. },
  25911. "creatorsrc": {
  25912. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25913. "type": "integer"
  25914. },
  25915. "goodsgroupid": {
  25916. "description": "对冲品种ID[期货合约商品组ID]",
  25917. "type": "integer"
  25918. },
  25919. "goodsid": {
  25920. "description": "商品ID",
  25921. "type": "integer"
  25922. },
  25923. "hedgeditemid": {
  25924. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  25925. "type": "integer"
  25926. },
  25927. "hedgeflag": {
  25928. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  25929. "type": "integer"
  25930. },
  25931. "linkdetailid": {
  25932. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25933. "type": "string"
  25934. },
  25935. "linkstatus": {
  25936. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  25937. "type": "integer"
  25938. },
  25939. "middlegoodsid": {
  25940. "description": "套保品种ID",
  25941. "type": "integer"
  25942. },
  25943. "name": {
  25944. "description": "账户名/子账户",
  25945. "type": "string"
  25946. },
  25947. "optioncode": {
  25948. "description": "[期货合约]期权代码 [期权]",
  25949. "type": "string"
  25950. },
  25951. "ordertype": {
  25952. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  25953. "type": "integer"
  25954. },
  25955. "relatedlot": {
  25956. "description": "[数量]关联手数",
  25957. "type": "number"
  25958. },
  25959. "relatedmode": {
  25960. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  25961. "type": "integer"
  25962. },
  25963. "relatedqty": {
  25964. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  25965. "type": "number"
  25966. },
  25967. "retcode": {
  25968. "description": "返回码",
  25969. "type": "integer"
  25970. },
  25971. "saleuserid": {
  25972. "description": "业务员ID",
  25973. "type": "integer"
  25974. },
  25975. "tradedate": {
  25976. "description": "关联交易日(yyyyMMdd)",
  25977. "type": "string"
  25978. },
  25979. "tradeid": {
  25980. "description": "[成交单号]内部成交单ID",
  25981. "type": "string"
  25982. },
  25983. "tradelot": {
  25984. "description": "成交手数",
  25985. "type": "integer"
  25986. },
  25987. "tradeprice": {
  25988. "description": "[价格]成交价格",
  25989. "type": "number"
  25990. },
  25991. "tradetime": {
  25992. "description": "日期时间",
  25993. "type": "string"
  25994. },
  25995. "tradetradedate": {
  25996. "description": "成交交易日(yyyyMMdd)",
  25997. "type": "string"
  25998. }
  25999. }
  26000. },
  26001. "models.Externalexchange": {
  26002. "type": "object",
  26003. "required": [
  26004. "autoid"
  26005. ],
  26006. "properties": {
  26007. "autoid": {
  26008. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  26009. "type": "integer"
  26010. },
  26011. "exchangefullname": {
  26012. "description": "外部交易所全称",
  26013. "type": "string"
  26014. },
  26015. "exexchangecode": {
  26016. "description": "外部交易所代码",
  26017. "type": "string"
  26018. },
  26019. "exexchangename": {
  26020. "description": "外部交易所名称(简称)",
  26021. "type": "string"
  26022. },
  26023. "ismarketprice": {
  26024. "description": "是否支持市价 - 0:不支持 1:支持",
  26025. "type": "integer"
  26026. },
  26027. "quotegear": {
  26028. "description": "行情档位(1-10)",
  26029. "type": "integer"
  26030. },
  26031. "showbrokerflag": {
  26032. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  26033. "type": "integer"
  26034. },
  26035. "updatetime": {
  26036. "description": "更新时间",
  26037. "type": "string"
  26038. }
  26039. }
  26040. },
  26041. "models.Funcmenulist": {
  26042. "type": "object",
  26043. "required": [
  26044. "resourcecode"
  26045. ],
  26046. "properties": {
  26047. "iconame": {
  26048. "description": "菜单图标",
  26049. "type": "string"
  26050. },
  26051. "menutype": {
  26052. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  26053. "type": "integer"
  26054. },
  26055. "parentcode": {
  26056. "description": "上级资源代码",
  26057. "type": "string"
  26058. },
  26059. "remark": {
  26060. "description": "备注",
  26061. "type": "string"
  26062. },
  26063. "resourcecode": {
  26064. "description": "资源代码",
  26065. "type": "string"
  26066. },
  26067. "resourcelevel": {
  26068. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  26069. "type": "integer"
  26070. },
  26071. "resourcename": {
  26072. "description": "资源名",
  26073. "type": "string"
  26074. },
  26075. "sort": {
  26076. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  26077. "type": "integer"
  26078. },
  26079. "url": {
  26080. "description": "URL",
  26081. "type": "string"
  26082. }
  26083. }
  26084. },
  26085. "models.GZWarehouseinfo": {
  26086. "type": "object",
  26087. "properties": {
  26088. "address": {
  26089. "description": "详细地址",
  26090. "type": "string"
  26091. },
  26092. "areauserid": {
  26093. "description": "所属机构",
  26094. "type": "integer"
  26095. },
  26096. "autoid": {
  26097. "description": "自增ID",
  26098. "type": "integer"
  26099. },
  26100. "cityid": {
  26101. "description": "市",
  26102. "type": "integer"
  26103. },
  26104. "contactname": {
  26105. "description": "联系人",
  26106. "type": "string"
  26107. },
  26108. "contactnum": {
  26109. "description": "联系电话",
  26110. "type": "string"
  26111. },
  26112. "countryid": {
  26113. "description": "国家",
  26114. "type": "integer"
  26115. },
  26116. "createtime": {
  26117. "description": "创建时间",
  26118. "type": "string"
  26119. },
  26120. "districtid": {
  26121. "description": "区",
  26122. "type": "integer"
  26123. },
  26124. "hasvideo": {
  26125. "description": "是否有视频 - 0:无 1:有",
  26126. "type": "integer"
  26127. },
  26128. "provinceid": {
  26129. "description": "省",
  26130. "type": "integer"
  26131. },
  26132. "remark": {
  26133. "description": "审核备注",
  26134. "type": "string"
  26135. },
  26136. "videourl": {
  26137. "description": "视频地址",
  26138. "type": "string"
  26139. },
  26140. "warehousecode": {
  26141. "description": "仓库代码",
  26142. "type": "string"
  26143. },
  26144. "warehousename": {
  26145. "description": "仓库名称",
  26146. "type": "string"
  26147. },
  26148. "warehousestatus": {
  26149. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  26150. "type": "integer"
  26151. },
  26152. "warehousetype": {
  26153. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26154. "type": "integer"
  26155. }
  26156. }
  26157. },
  26158. "models.Goods": {
  26159. "type": "object",
  26160. "required": [
  26161. "goodscode",
  26162. "goodsid",
  26163. "goodsname",
  26164. "marketid"
  26165. ],
  26166. "properties": {
  26167. "agreeunit": {
  26168. "description": "合约单位",
  26169. "type": "number"
  26170. },
  26171. "areauserid": {
  26172. "description": "所属机构",
  26173. "type": "integer"
  26174. },
  26175. "auditaccountid": {
  26176. "description": "审核操作员账号",
  26177. "type": "integer"
  26178. },
  26179. "audittime": {
  26180. "description": "审核时间",
  26181. "type": "string"
  26182. },
  26183. "cancelaccountid": {
  26184. "description": "注销操作员账号",
  26185. "type": "integer"
  26186. },
  26187. "canceltime": {
  26188. "description": "注销时间",
  26189. "type": "string"
  26190. },
  26191. "closepricemode": {
  26192. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26193. "type": "integer"
  26194. },
  26195. "closepriceparam": {
  26196. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26197. "type": "number"
  26198. },
  26199. "createtime": {
  26200. "description": "创建时间",
  26201. "type": "string"
  26202. },
  26203. "creatorid": {
  26204. "description": "创建人",
  26205. "type": "integer"
  26206. },
  26207. "currencyid": {
  26208. "description": "报价货币ID",
  26209. "type": "integer"
  26210. },
  26211. "cutmode": {
  26212. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26213. "type": "integer"
  26214. },
  26215. "decimalplace": {
  26216. "description": "报价小数位",
  26217. "type": "integer"
  26218. },
  26219. "delistingdate": {
  26220. "description": "商品退市时间(状态:退市) -- 已作废",
  26221. "type": "string"
  26222. },
  26223. "delistingmode": {
  26224. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26225. "type": "integer"
  26226. },
  26227. "deliveryflag": {
  26228. "description": "交割标志 - 0:不可交割 1:可交割",
  26229. "type": "integer"
  26230. },
  26231. "forceclosemode": {
  26232. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26233. "type": "integer"
  26234. },
  26235. "forceclosevalue": {
  26236. "description": "定期强平参数 [收益权]",
  26237. "type": "integer"
  26238. },
  26239. "goodscode": {
  26240. "description": "商品代码(内部)",
  26241. "type": "string"
  26242. },
  26243. "goodscurrencyid": {
  26244. "description": "合约货币ID",
  26245. "type": "integer"
  26246. },
  26247. "goodsgroupid": {
  26248. "description": "所属商品组ID",
  26249. "type": "integer"
  26250. },
  26251. "goodsid": {
  26252. "description": "商品ID(自增ID SEQ_GOODS)",
  26253. "type": "integer"
  26254. },
  26255. "goodsname": {
  26256. "description": "商品名称",
  26257. "type": "string"
  26258. },
  26259. "goodsquotetype": {
  26260. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26261. "type": "integer"
  26262. },
  26263. "goodsstatus": {
  26264. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26265. "type": "integer"
  26266. },
  26267. "goodstradetype": {
  26268. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26269. "type": "integer"
  26270. },
  26271. "goodunitid": {
  26272. "description": "报价单位ID",
  26273. "type": "integer"
  26274. },
  26275. "hasquoter": {
  26276. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26277. "type": "integer"
  26278. },
  26279. "hqprotecttime": {
  26280. "description": "行情保护时间(秒)",
  26281. "type": "integer"
  26282. },
  26283. "innerdealmode": {
  26284. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26285. "type": "integer"
  26286. },
  26287. "isbuylimited": {
  26288. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26289. "type": "integer"
  26290. },
  26291. "isvisible": {
  26292. "description": "游客是否可见 - 0:不可见 1:可见",
  26293. "type": "integer"
  26294. },
  26295. "lasttradedate": {
  26296. "description": "最后交易日期(状态:待退市)",
  26297. "type": "string"
  26298. },
  26299. "listingdate": {
  26300. "description": "交易开始日期",
  26301. "type": "string"
  26302. },
  26303. "marketid": {
  26304. "description": "所属市场ID",
  26305. "type": "integer"
  26306. },
  26307. "modifierid": {
  26308. "description": "修改人",
  26309. "type": "integer"
  26310. },
  26311. "modifystatus": {
  26312. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26313. "type": "integer"
  26314. },
  26315. "modifytime": {
  26316. "description": "修改时间",
  26317. "type": "string"
  26318. },
  26319. "outerdealmode": {
  26320. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26321. "type": "integer"
  26322. },
  26323. "outgoodscode": {
  26324. "description": "商品代码(外部)",
  26325. "type": "string"
  26326. },
  26327. "pictureurl": {
  26328. "description": "商品图片",
  26329. "type": "string"
  26330. },
  26331. "qtydecimalplace": {
  26332. "description": "成交量小数位",
  26333. "type": "integer"
  26334. },
  26335. "quotegear": {
  26336. "description": "行情档位(1-10)",
  26337. "type": "integer"
  26338. },
  26339. "quoteminunit": {
  26340. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26341. "type": "integer"
  26342. },
  26343. "quoteshowtype": {
  26344. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  26345. "type": "integer"
  26346. },
  26347. "quoteshowtypeinterval": {
  26348. "description": "行情报价间隔时间(秒)(成交价时为0)",
  26349. "type": "integer"
  26350. },
  26351. "remark": {
  26352. "description": "备注",
  26353. "type": "string"
  26354. }
  26355. }
  26356. },
  26357. "models.GoodsIDAndName": {
  26358. "type": "object",
  26359. "required": [
  26360. "goodscode",
  26361. "goodsid",
  26362. "goodsname",
  26363. "marketid"
  26364. ],
  26365. "properties": {
  26366. "goodscode": {
  26367. "description": "商品代码(内部)",
  26368. "type": "string"
  26369. },
  26370. "goodsid": {
  26371. "description": "商品ID(自增ID SEQ_GOODS)",
  26372. "type": "integer"
  26373. },
  26374. "goodsname": {
  26375. "description": "商品名称",
  26376. "type": "string"
  26377. },
  26378. "marketid": {
  26379. "description": "所属市场ID",
  26380. "type": "integer"
  26381. }
  26382. }
  26383. },
  26384. "models.Goodsgroup": {
  26385. "type": "object",
  26386. "required": [
  26387. "goodsgroupid",
  26388. "goodsgroupname",
  26389. "goodsgroupstatus",
  26390. "marketid"
  26391. ],
  26392. "properties": {
  26393. "agreeunit": {
  26394. "description": "合约单位",
  26395. "type": "number"
  26396. },
  26397. "canshort": {
  26398. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  26399. "type": "integer"
  26400. },
  26401. "closepricemode": {
  26402. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26403. "type": "integer"
  26404. },
  26405. "closepriceparam": {
  26406. "description": "强平最新价浮动比例 - 方式为2时使用",
  26407. "type": "number"
  26408. },
  26409. "createtime": {
  26410. "description": "创建时间",
  26411. "type": "string"
  26412. },
  26413. "creatorid": {
  26414. "description": "创建人",
  26415. "type": "integer"
  26416. },
  26417. "currencyid": {
  26418. "description": "报价货币ID",
  26419. "type": "integer"
  26420. },
  26421. "decimalplace": {
  26422. "description": "报价小数位",
  26423. "type": "integer"
  26424. },
  26425. "exercisetype": {
  26426. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  26427. "type": "integer"
  26428. },
  26429. "exexchangeid": {
  26430. "description": "外部交易所ID[通道交易]",
  26431. "type": "integer"
  26432. },
  26433. "goodsgroupid": {
  26434. "description": "商品组ID(自增ID)",
  26435. "type": "integer"
  26436. },
  26437. "goodsgroupname": {
  26438. "description": "商品组名称",
  26439. "type": "string"
  26440. },
  26441. "goodsgroupstatus": {
  26442. "description": "商品组状态 - 1:正常 2:注销",
  26443. "type": "integer"
  26444. },
  26445. "goodunitid": {
  26446. "description": "报价单位ID",
  26447. "type": "integer"
  26448. },
  26449. "innerdealmode": {
  26450. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26451. "type": "integer"
  26452. },
  26453. "isbuylimited": {
  26454. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26455. "type": "integer"
  26456. },
  26457. "marketid": {
  26458. "description": "所属市场ID",
  26459. "type": "integer"
  26460. },
  26461. "modifierid": {
  26462. "description": "修改人",
  26463. "type": "integer"
  26464. },
  26465. "modifytime": {
  26466. "description": "修改时间",
  26467. "type": "string"
  26468. },
  26469. "outerdealmode": {
  26470. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26471. "type": "integer"
  26472. },
  26473. "outergroupcode": {
  26474. "description": "外部商品组代码[通道交易]",
  26475. "type": "string"
  26476. },
  26477. "premiumdecimalplace": {
  26478. "description": "权利金小数位[场外期权]",
  26479. "type": "integer"
  26480. },
  26481. "premiumspreadalgorithm": {
  26482. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  26483. "type": "integer"
  26484. },
  26485. "premiumspreadvalue": {
  26486. "description": "权利金点差值[场外期权]",
  26487. "type": "number"
  26488. },
  26489. "qtydecimalplace": {
  26490. "description": "成交量小数位",
  26491. "type": "integer"
  26492. },
  26493. "quotegear": {
  26494. "description": "行情档位(1-10)",
  26495. "type": "integer"
  26496. },
  26497. "quoteminunit": {
  26498. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26499. "type": "integer"
  26500. },
  26501. "quoterid": {
  26502. "description": "报价商ID[场外期权]",
  26503. "type": "integer"
  26504. },
  26505. "quotesourcegroupid": {
  26506. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  26507. "type": "integer"
  26508. },
  26509. "syncgoodsqty": {
  26510. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  26511. "type": "integer"
  26512. }
  26513. }
  26514. },
  26515. "models.Goodssortbypreposition": {
  26516. "type": "object",
  26517. "required": [
  26518. "goodscode",
  26519. "tradedate"
  26520. ],
  26521. "properties": {
  26522. "goodscode": {
  26523. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  26524. "type": "string"
  26525. },
  26526. "goodsgroupcode": {
  26527. "description": "品种代码",
  26528. "type": "string"
  26529. },
  26530. "prepositionqty": {
  26531. "description": "昨持仓量",
  26532. "type": "integer"
  26533. },
  26534. "sortindex": {
  26535. "description": "排序",
  26536. "type": "integer"
  26537. },
  26538. "tradedate": {
  26539. "description": "交易日",
  26540. "type": "string"
  26541. },
  26542. "updatetime": {
  26543. "description": "更新时间",
  26544. "type": "string"
  26545. }
  26546. }
  26547. },
  26548. "models.Hedgeinnerholderdetail": {
  26549. "type": "object",
  26550. "required": [
  26551. "buyorsell",
  26552. "tradeid"
  26553. ],
  26554. "properties": {
  26555. "accountid": {
  26556. "description": "账号ID",
  26557. "type": "integer"
  26558. },
  26559. "buyorsell": {
  26560. "description": "方向 - 0:买 1:卖",
  26561. "type": "integer"
  26562. },
  26563. "freezeqty": {
  26564. "description": "冻结数量 - 按单平使用",
  26565. "type": "integer"
  26566. },
  26567. "goodsid": {
  26568. "description": "商品ID",
  26569. "type": "integer"
  26570. },
  26571. "holderamount": {
  26572. "description": "持仓金额 [商品币种]",
  26573. "type": "number"
  26574. },
  26575. "holderdays": {
  26576. "description": "剩余冻结天数",
  26577. "type": "integer"
  26578. },
  26579. "holderprice": {
  26580. "description": "持仓价格",
  26581. "type": "number"
  26582. },
  26583. "holderqty": {
  26584. "description": "持仓数量",
  26585. "type": "integer"
  26586. },
  26587. "marketid": {
  26588. "description": "市场ID",
  26589. "type": "integer"
  26590. },
  26591. "openprice": {
  26592. "description": "建仓价格",
  26593. "type": "number"
  26594. },
  26595. "openqty": {
  26596. "description": "建仓数量",
  26597. "type": "integer"
  26598. },
  26599. "parentaccountid": {
  26600. "description": "所属母账户",
  26601. "type": "integer"
  26602. },
  26603. "releaseamount": {
  26604. "description": "释放持仓金额[商品币种]",
  26605. "type": "number"
  26606. },
  26607. "tradeamount": {
  26608. "description": "成交金额[账户]",
  26609. "type": "number"
  26610. },
  26611. "tradedate": {
  26612. "description": "交易日(yyyyMMdd)",
  26613. "type": "string"
  26614. },
  26615. "tradeid": {
  26616. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26617. "type": "string"
  26618. },
  26619. "tradetime": {
  26620. "description": "交易时间",
  26621. "type": "string"
  26622. }
  26623. }
  26624. },
  26625. "models.Hedgemarketopenlog": {
  26626. "type": "object",
  26627. "required": [
  26628. "accountid"
  26629. ],
  26630. "properties": {
  26631. "accountid": {
  26632. "description": "资金账号[外部母账户]",
  26633. "type": "integer"
  26634. },
  26635. "fcname": {
  26636. "description": "期货公司名称",
  26637. "type": "string"
  26638. },
  26639. "handlestatus": {
  26640. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  26641. "type": "integer"
  26642. },
  26643. "marketid": {
  26644. "description": "市场ID",
  26645. "type": "integer"
  26646. },
  26647. "status": {
  26648. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  26649. "type": "integer"
  26650. },
  26651. "tradedate": {
  26652. "description": "交易日(yyyyMMdd)",
  26653. "type": "string"
  26654. },
  26655. "updatetime": {
  26656. "description": "更新时间",
  26657. "type": "string"
  26658. }
  26659. }
  26660. },
  26661. "models.InternalEnableTradeDetail": {
  26662. "type": "object",
  26663. "required": [
  26664. "areauserid",
  26665. "goodsid",
  26666. "tradeuserid"
  26667. ],
  26668. "properties": {
  26669. "agreeunit": {
  26670. "description": "合约乘数",
  26671. "type": "number"
  26672. },
  26673. "areauserid": {
  26674. "description": "企业ID",
  26675. "type": "integer"
  26676. },
  26677. "convertratio": {
  26678. "description": "品种系数",
  26679. "type": "number"
  26680. },
  26681. "deliverygoodscode": {
  26682. "description": "现货品种代码",
  26683. "type": "string"
  26684. },
  26685. "deliverygoodsid": {
  26686. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26687. "type": "integer"
  26688. },
  26689. "deliverygoodsname": {
  26690. "description": "现货品种名称",
  26691. "type": "string"
  26692. },
  26693. "futurehedgeqty": {
  26694. "description": "[已关联数量]期货持仓套期量",
  26695. "type": "number"
  26696. },
  26697. "goodsid": {
  26698. "description": "期货合约ID",
  26699. "type": "integer"
  26700. },
  26701. "hedgeditemid": {
  26702. "description": "被套期项目ID",
  26703. "type": "string"
  26704. },
  26705. "hedgeditemnum": {
  26706. "description": "项目编号",
  26707. "type": "string"
  26708. },
  26709. "tradeuserid": {
  26710. "description": "交易用户ID",
  26711. "type": "integer"
  26712. },
  26713. "unexehedgeqty": {
  26714. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  26715. "type": "number"
  26716. },
  26717. "unexespotqty": {
  26718. "description": "未执行现货量",
  26719. "type": "number"
  26720. },
  26721. "wrstandardcode": {
  26722. "description": "现货品类代码",
  26723. "type": "string"
  26724. },
  26725. "wrstandardid": {
  26726. "description": "现货品类ID(SEQ_WRSTANDARD)",
  26727. "type": "integer"
  26728. },
  26729. "wrstandardname": {
  26730. "description": "现货品类名称",
  26731. "type": "string"
  26732. }
  26733. }
  26734. },
  26735. "models.InternalUncorrelatedTradeDetail": {
  26736. "type": "object",
  26737. "properties": {
  26738. "accountid": {
  26739. "description": "账号ID",
  26740. "type": "integer"
  26741. },
  26742. "accountname": {
  26743. "description": "套期主体",
  26744. "type": "string"
  26745. },
  26746. "agreeunit": {
  26747. "description": "合约乘数",
  26748. "type": "number"
  26749. },
  26750. "areauserid": {
  26751. "description": "所属机构",
  26752. "type": "integer"
  26753. },
  26754. "bizsubjectid": {
  26755. "description": "归属业务部门ID - SubjectID",
  26756. "type": "integer"
  26757. },
  26758. "buyorsell": {
  26759. "description": "方向 - 0:买 1:卖",
  26760. "type": "integer"
  26761. },
  26762. "channelbuildtype": {
  26763. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26764. "type": "integer"
  26765. },
  26766. "convertratio": {
  26767. "description": "品种系数",
  26768. "type": "number"
  26769. },
  26770. "createtime": {
  26771. "description": "创建时间",
  26772. "type": "string"
  26773. },
  26774. "creatorid": {
  26775. "description": "创建人ID",
  26776. "type": "integer"
  26777. },
  26778. "creatorsrc": {
  26779. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26780. "type": "integer"
  26781. },
  26782. "enableqty": {
  26783. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  26784. "type": "number"
  26785. },
  26786. "enumdicname": {
  26787. "description": "单位",
  26788. "type": "string"
  26789. },
  26790. "goodscode": {
  26791. "description": "合约代码",
  26792. "type": "string"
  26793. },
  26794. "goodsgroupid": {
  26795. "description": "对冲品种ID[期货合约商品组ID]",
  26796. "type": "integer"
  26797. },
  26798. "goodsid": {
  26799. "description": "商品ID",
  26800. "type": "integer"
  26801. },
  26802. "goodsname": {
  26803. "description": "合约名称",
  26804. "type": "string"
  26805. },
  26806. "hedgeditemid": {
  26807. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  26808. "type": "integer"
  26809. },
  26810. "hedgeflag": {
  26811. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  26812. "type": "integer"
  26813. },
  26814. "linkdetailid": {
  26815. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26816. "type": "string"
  26817. },
  26818. "linkstatus": {
  26819. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26820. "type": "integer"
  26821. },
  26822. "middlegoodsid": {
  26823. "description": "套保品种ID",
  26824. "type": "integer"
  26825. },
  26826. "middlegoodsqty": {
  26827. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  26828. "type": "number"
  26829. },
  26830. "relatedlot": {
  26831. "description": "[数量]关联手数",
  26832. "type": "number"
  26833. },
  26834. "relatedmode": {
  26835. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26836. "type": "integer"
  26837. },
  26838. "relatedqty": {
  26839. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26840. "type": "number"
  26841. },
  26842. "retcode": {
  26843. "description": "返回码",
  26844. "type": "integer"
  26845. },
  26846. "saleuserid": {
  26847. "description": "业务员ID",
  26848. "type": "integer"
  26849. },
  26850. "tradedate": {
  26851. "description": "关联交易日(yyyyMMdd)",
  26852. "type": "string"
  26853. },
  26854. "tradeid": {
  26855. "description": "成交单号",
  26856. "type": "string"
  26857. },
  26858. "tradelot": {
  26859. "description": "成交手数",
  26860. "type": "integer"
  26861. },
  26862. "tradeprice": {
  26863. "description": "成交价",
  26864. "type": "number"
  26865. },
  26866. "tradetime": {
  26867. "description": "成交时间",
  26868. "type": "string"
  26869. },
  26870. "tradetradedate": {
  26871. "description": "成交交易日(yyyyMMdd)",
  26872. "type": "string"
  26873. },
  26874. "tradeuserid": {
  26875. "description": "交易用户ID",
  26876. "type": "integer"
  26877. }
  26878. }
  26879. },
  26880. "models.Loginaccount": {
  26881. "type": "object",
  26882. "required": [
  26883. "loginid"
  26884. ],
  26885. "properties": {
  26886. "accountname": {
  26887. "description": "账户名称",
  26888. "type": "string"
  26889. },
  26890. "canoutin": {
  26891. "description": "是否可出入金 - 0:不可 1:可",
  26892. "type": "integer"
  26893. },
  26894. "clientroleid": {
  26895. "description": "终端角色ID",
  26896. "type": "integer"
  26897. },
  26898. "haslogined": {
  26899. "description": "是否已登录 - 0:未登录 1:已登录",
  26900. "type": "integer"
  26901. },
  26902. "hasupdatedpwd": {
  26903. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26904. "type": "integer"
  26905. },
  26906. "lastloginip": {
  26907. "description": "最新登录地址",
  26908. "type": "string"
  26909. },
  26910. "lastloginmode": {
  26911. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26912. "type": "integer"
  26913. },
  26914. "lastloginremark": {
  26915. "description": "最新登录描述",
  26916. "type": "string"
  26917. },
  26918. "lastlogintime": {
  26919. "description": "最新登录时间",
  26920. "type": "string"
  26921. },
  26922. "logincode": {
  26923. "description": "登录代码",
  26924. "type": "string"
  26925. },
  26926. "loginfailnum": {
  26927. "description": "连续登录失败次数(登录成功时清零)",
  26928. "type": "integer"
  26929. },
  26930. "loginid": {
  26931. "description": "登陆账号",
  26932. "type": "integer"
  26933. },
  26934. "loginport": {
  26935. "description": "最新登录端口",
  26936. "type": "integer"
  26937. },
  26938. "loginstatus": {
  26939. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26940. "type": "integer"
  26941. },
  26942. "loginusertype": {
  26943. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26944. "type": "integer"
  26945. },
  26946. "mobile": {
  26947. "description": "手机号码(加密存储)",
  26948. "type": "string"
  26949. },
  26950. "modifierid": {
  26951. "description": "修改人",
  26952. "type": "integer"
  26953. },
  26954. "modifysrc": {
  26955. "description": "审核来源 - 1:管理端 2:终端",
  26956. "type": "integer"
  26957. },
  26958. "modifytime": {
  26959. "description": "修改时间",
  26960. "type": "string"
  26961. },
  26962. "password": {
  26963. "description": "登陆密码",
  26964. "type": "string"
  26965. },
  26966. "pwdwrongcount": {
  26967. "description": "密码错误次数",
  26968. "type": "integer"
  26969. },
  26970. "relateduserid": {
  26971. "description": "关联用户ID(机构)",
  26972. "type": "integer"
  26973. },
  26974. "taaccountrighttype": {
  26975. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  26976. "type": "integer"
  26977. },
  26978. "unfreezetime": {
  26979. "description": "账户解冻时间",
  26980. "type": "string"
  26981. },
  26982. "userid": {
  26983. "description": "用户ID",
  26984. "type": "integer"
  26985. }
  26986. }
  26987. },
  26988. "models.MainAccountInfo": {
  26989. "type": "object",
  26990. "properties": {
  26991. "accountid": {
  26992. "description": "账号id",
  26993. "type": "integer"
  26994. },
  26995. "accountname": {
  26996. "description": "账号名称(taaccount表中的名称)",
  26997. "type": "string"
  26998. },
  26999. "appid": {
  27000. "description": "AppID",
  27001. "type": "string"
  27002. },
  27003. "authcode": {
  27004. "description": "授权码",
  27005. "type": "string"
  27006. },
  27007. "brokerid": {
  27008. "description": "经纪商id",
  27009. "type": "string"
  27010. },
  27011. "fcid": {
  27012. "description": "期货公司id",
  27013. "type": "integer"
  27014. },
  27015. "fcname": {
  27016. "description": "期货公司代码",
  27017. "type": "string"
  27018. },
  27019. "hedgeaccountcode": {
  27020. "description": "外部账号代码(主账号登录代码)",
  27021. "type": "string"
  27022. },
  27023. "hedgeaccountpwd": {
  27024. "description": "密码",
  27025. "type": "string"
  27026. },
  27027. "ismain": {
  27028. "description": "是否主账号",
  27029. "type": "integer"
  27030. },
  27031. "relateduserid": {
  27032. "description": "关联用户id",
  27033. "type": "integer"
  27034. },
  27035. "userid": {
  27036. "description": "关联用户id",
  27037. "type": "integer"
  27038. }
  27039. }
  27040. },
  27041. "models.Market": {
  27042. "type": "object",
  27043. "required": [
  27044. "marketid",
  27045. "marketstatus",
  27046. "openmethod",
  27047. "reckonpricealgorithm",
  27048. "trademode",
  27049. "tradeproperty"
  27050. ],
  27051. "properties": {
  27052. "auctionwrtype": {
  27053. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27054. "type": "integer"
  27055. },
  27056. "canacceptquote": {
  27057. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27058. "type": "integer"
  27059. },
  27060. "cangoodsexercise": {
  27061. "description": "[期权]是否可现货行权- 0:否 1:是",
  27062. "type": "integer"
  27063. },
  27064. "cangoodsexercisetype": {
  27065. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27066. "type": "integer"
  27067. },
  27068. "canmanualquotestrike": {
  27069. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27070. "type": "integer"
  27071. },
  27072. "canmutistage": {
  27073. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27074. "type": "integer"
  27075. },
  27076. "canpreexercise": {
  27077. "description": "[期权]是否可预申报- 0:否 1:是",
  27078. "type": "integer"
  27079. },
  27080. "clearinterval": {
  27081. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27082. "type": "integer"
  27083. },
  27084. "contracttmp": {
  27085. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27086. "type": "string"
  27087. },
  27088. "exchareaid": {
  27089. "description": "所属交易所,可以没有",
  27090. "type": "integer"
  27091. },
  27092. "goodstype": {
  27093. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27094. "type": "integer"
  27095. },
  27096. "hasrebate": {
  27097. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27098. "type": "integer"
  27099. },
  27100. "hastradecredit": {
  27101. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27102. "type": "integer"
  27103. },
  27104. "haswr": {
  27105. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27106. "type": "integer"
  27107. },
  27108. "isdeductmargin": {
  27109. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27110. "type": "integer"
  27111. },
  27112. "isrecordsource": {
  27113. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27114. "type": "integer"
  27115. },
  27116. "isreleasemargin": {
  27117. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27118. "type": "integer"
  27119. },
  27120. "marginformula": {
  27121. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27122. "type": "integer"
  27123. },
  27124. "marginformula2": {
  27125. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27126. "type": "integer"
  27127. },
  27128. "marketid": {
  27129. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27130. "type": "integer"
  27131. },
  27132. "marketname": {
  27133. "description": "市场名称",
  27134. "type": "string"
  27135. },
  27136. "marketserviceid": {
  27137. "description": "市场服务ID",
  27138. "type": "integer"
  27139. },
  27140. "marketstatus": {
  27141. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27142. "type": "integer"
  27143. },
  27144. "markettype": {
  27145. "description": "市场类型- 1:非交易服务 2:交易服务",
  27146. "type": "integer"
  27147. },
  27148. "matchermode": {
  27149. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27150. "type": "integer"
  27151. },
  27152. "openmethod": {
  27153. "description": "开盘模式 - 0 自动 1手动",
  27154. "type": "integer"
  27155. },
  27156. "otcuserid": {
  27157. "description": "场外期权做市商[场外期权]",
  27158. "type": "integer"
  27159. },
  27160. "outersynctime": {
  27161. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27162. "type": "string"
  27163. },
  27164. "pendingflag": {
  27165. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27166. "type": "integer"
  27167. },
  27168. "pendingtime": {
  27169. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27170. "type": "string"
  27171. },
  27172. "performancetempid": {
  27173. "description": "履约计划模板ID - 作废",
  27174. "type": "integer"
  27175. },
  27176. "premiumquotemode": {
  27177. "description": "权利金报价方式 - 1:自动 2:手动",
  27178. "type": "integer"
  27179. },
  27180. "rebateratio": {
  27181. "description": "返利比率[竞价式]",
  27182. "type": "number"
  27183. },
  27184. "reckonorder": {
  27185. "description": "结算顺序",
  27186. "type": "integer"
  27187. },
  27188. "reckonpricealgorithm": {
  27189. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27190. "type": "integer"
  27191. },
  27192. "reckonpriceparam": {
  27193. "description": "结算价参数",
  27194. "type": "integer"
  27195. },
  27196. "reckontime": {
  27197. "description": "结算时间[通道交易-对冲](HH:mm)",
  27198. "type": "string"
  27199. },
  27200. "roleprioritytype": {
  27201. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27202. "type": "integer"
  27203. },
  27204. "selllistingauditflag": {
  27205. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27206. "type": "integer"
  27207. },
  27208. "trademarkettype": {
  27209. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27210. "type": "integer"
  27211. },
  27212. "trademode": {
  27213. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27214. "type": "integer"
  27215. },
  27216. "tradeproperty": {
  27217. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27218. "type": "integer"
  27219. },
  27220. "tradetype": {
  27221. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27222. "type": "integer"
  27223. }
  27224. }
  27225. },
  27226. "models.Marketcalendar": {
  27227. "type": "object",
  27228. "properties": {
  27229. "holidaydate": {
  27230. "description": "节假日期(yyyy-MM-dd)",
  27231. "type": "string"
  27232. },
  27233. "marketid": {
  27234. "description": "市场ID",
  27235. "type": "integer"
  27236. }
  27237. }
  27238. },
  27239. "models.Marketrun": {
  27240. "type": "object",
  27241. "required": [
  27242. "marketid",
  27243. "nexttradedate",
  27244. "reckonflag",
  27245. "runstatus",
  27246. "tradedate",
  27247. "tradedate2"
  27248. ],
  27249. "properties": {
  27250. "afternexttradedate": {
  27251. "description": "下下交易日",
  27252. "type": "string"
  27253. },
  27254. "clearquoteflag": {
  27255. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27256. "type": "integer"
  27257. },
  27258. "lastreckondate": {
  27259. "description": "最新交易日(结算成功)",
  27260. "type": "string"
  27261. },
  27262. "machinedate": {
  27263. "description": "机器时间",
  27264. "type": "string"
  27265. },
  27266. "manualflag": {
  27267. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27268. "type": "integer"
  27269. },
  27270. "marketid": {
  27271. "description": "市场ID",
  27272. "type": "integer"
  27273. },
  27274. "nexttradedate": {
  27275. "description": "下一交易日",
  27276. "type": "string"
  27277. },
  27278. "pretradedate": {
  27279. "description": "上一交易日",
  27280. "type": "string"
  27281. },
  27282. "reckonflag": {
  27283. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27284. "type": "integer"
  27285. },
  27286. "runstatus": {
  27287. "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.今日免清算",
  27288. "type": "integer"
  27289. },
  27290. "sectionid": {
  27291. "description": "时间段号[多时段时用]",
  27292. "type": "integer"
  27293. },
  27294. "tradedate": {
  27295. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27296. "type": "string"
  27297. },
  27298. "tradedate2": {
  27299. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27300. "type": "string"
  27301. },
  27302. "updatetime": {
  27303. "description": "更新时间",
  27304. "type": "string"
  27305. }
  27306. }
  27307. },
  27308. "models.Messageboard": {
  27309. "type": "object",
  27310. "required": [
  27311. "messageboardid"
  27312. ],
  27313. "properties": {
  27314. "contactnum": {
  27315. "description": "联系电话",
  27316. "type": "string"
  27317. },
  27318. "createtime": {
  27319. "description": "创建时间",
  27320. "type": "string"
  27321. },
  27322. "message": {
  27323. "description": "留言信息",
  27324. "type": "string"
  27325. },
  27326. "messageboardid": {
  27327. "description": "留言簿ID(SEQ_MessageBoard)",
  27328. "type": "integer"
  27329. },
  27330. "userid": {
  27331. "description": "用户ID",
  27332. "type": "integer"
  27333. }
  27334. }
  27335. },
  27336. "models.MyBargainApply": {
  27337. "type": "object",
  27338. "required": [
  27339. "userid"
  27340. ],
  27341. "properties": {
  27342. "accountid": {
  27343. "description": "摘牌资金账号",
  27344. "type": "integer"
  27345. },
  27346. "applyprice": {
  27347. "description": "申请价格",
  27348. "type": "string"
  27349. },
  27350. "applyremark": {
  27351. "description": "申请备注",
  27352. "type": "string"
  27353. },
  27354. "applystatus": {
  27355. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  27356. "type": "integer"
  27357. },
  27358. "applytime": {
  27359. "description": "申请时间",
  27360. "type": "string"
  27361. },
  27362. "buyorsell": {
  27363. "description": "买卖 - 0:买 1:卖",
  27364. "type": "integer"
  27365. },
  27366. "confirmprice": {
  27367. "description": "可接受价格(拒绝时填写)-作废",
  27368. "type": "number"
  27369. },
  27370. "confirmqty": {
  27371. "description": "可接受数量(拒绝时填写)-作废",
  27372. "type": "integer"
  27373. },
  27374. "confirmremark": {
  27375. "description": "确认备注",
  27376. "type": "string"
  27377. },
  27378. "confirmtime": {
  27379. "description": "确认时间",
  27380. "type": "string"
  27381. },
  27382. "confirmuserid": {
  27383. "description": "确认人",
  27384. "type": "integer"
  27385. },
  27386. "handlestatus": {
  27387. "description": "处理状态",
  27388. "type": "integer"
  27389. },
  27390. "ladingbillid": {
  27391. "description": "摘牌方提单ID [卖]",
  27392. "type": "integer"
  27393. },
  27394. "marketid": {
  27395. "description": "市场ID",
  27396. "type": "integer"
  27397. },
  27398. "matchaccountid": {
  27399. "description": "挂牌方资金账号",
  27400. "type": "integer"
  27401. },
  27402. "matchuserid": {
  27403. "description": "挂牌方用户ID",
  27404. "type": "integer"
  27405. },
  27406. "qty": {
  27407. "description": "申请数量",
  27408. "type": "integer"
  27409. },
  27410. "refprice": {
  27411. "description": "参考价格",
  27412. "type": "string"
  27413. },
  27414. "retcode": {
  27415. "description": "委托返回代码",
  27416. "type": "integer"
  27417. },
  27418. "sellusername": {
  27419. "description": "卖方",
  27420. "type": "string"
  27421. },
  27422. "subnum": {
  27423. "description": "摘牌方提单子单号 [卖]",
  27424. "type": "integer"
  27425. },
  27426. "tradedate": {
  27427. "description": "交易日(yyyyMMdd)",
  27428. "type": "string"
  27429. },
  27430. "userid": {
  27431. "description": "摘牌人用户ID",
  27432. "type": "integer"
  27433. },
  27434. "wrbargainid": {
  27435. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  27436. "type": "integer"
  27437. },
  27438. "wrtradeorderid": {
  27439. "description": "关联委托单ID",
  27440. "type": "integer"
  27441. }
  27442. }
  27443. },
  27444. "models.MyBuyOrder": {
  27445. "type": "object",
  27446. "required": [
  27447. "userid"
  27448. ],
  27449. "properties": {
  27450. "accountid": {
  27451. "description": "资金账户ID",
  27452. "type": "integer"
  27453. },
  27454. "marketid": {
  27455. "description": "市场ID",
  27456. "type": "integer"
  27457. },
  27458. "ordertime": {
  27459. "description": "委托时间",
  27460. "type": "string"
  27461. },
  27462. "origin": {
  27463. "description": "原产地",
  27464. "type": "string"
  27465. },
  27466. "remark": {
  27467. "description": "备注",
  27468. "type": "string"
  27469. },
  27470. "userid": {
  27471. "description": "用户ID",
  27472. "type": "integer"
  27473. },
  27474. "validtime": {
  27475. "description": "有效期限",
  27476. "type": "string"
  27477. },
  27478. "warehouseids": {
  27479. "description": "仓库ID - 多个, 逗号分隔",
  27480. "type": "string"
  27481. },
  27482. "warehouseinfosdisplay": {
  27483. "type": "string"
  27484. },
  27485. "wrtradeorderid": {
  27486. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  27487. "type": "integer"
  27488. },
  27489. "wrtradeorderstatus": {
  27490. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、",
  27491. "type": "integer"
  27492. },
  27493. "zscategory": {
  27494. "description": "钻石分类 - 枚举”ZSCategory“",
  27495. "type": "integer"
  27496. },
  27497. "zscategorydisplay": {
  27498. "type": "string"
  27499. },
  27500. "zsclaritytype": {
  27501. "description": "净度 - 两个, 逗号分隔",
  27502. "type": "string"
  27503. },
  27504. "zsclaritytypedisplay": {
  27505. "type": "string"
  27506. },
  27507. "zscolortype": {
  27508. "description": "颜色 - 两个, 逗号分隔",
  27509. "type": "string"
  27510. },
  27511. "zscolortypedisplay": {
  27512. "type": "string"
  27513. },
  27514. "zscrystaltype": {
  27515. "description": "晶型 - 多个,逗号分隔",
  27516. "type": "string"
  27517. },
  27518. "zscrystaltypedisplay": {
  27519. "type": "string"
  27520. },
  27521. "zscurrencytype": {
  27522. "description": "货币类型 - 多个, 逗号分隔",
  27523. "type": "string"
  27524. },
  27525. "zscurrencytypedisplay": {
  27526. "type": "string"
  27527. },
  27528. "zscuttype": {
  27529. "description": "切工 - 两个, 逗号分隔",
  27530. "type": "string"
  27531. },
  27532. "zscuttypedisplay": {
  27533. "type": "string"
  27534. },
  27535. "zsczcolor1type": {
  27536. "description": "彩钻颜色1, 逗号分隔",
  27537. "type": "string"
  27538. },
  27539. "zsczcolor1typedisplay": {
  27540. "type": "string"
  27541. },
  27542. "zsczcolor2type": {
  27543. "description": "彩钻颜色2, 逗号分隔",
  27544. "type": "string"
  27545. },
  27546. "zsczcolor2typedisplay": {
  27547. "type": "string"
  27548. },
  27549. "zsczcolor3type": {
  27550. "description": "彩钻颜色3, 逗号分隔",
  27551. "type": "string"
  27552. },
  27553. "zsczcolor3typedisplay": {
  27554. "type": "string"
  27555. },
  27556. "zsfluorescencetype": {
  27557. "description": "荧光 - 多个, 逗号分隔",
  27558. "type": "string"
  27559. },
  27560. "zsfluorescencetypedisplay": {
  27561. "type": "string"
  27562. },
  27563. "zspolishtype": {
  27564. "description": "抛光度 - 两个, 逗号分隔",
  27565. "type": "string"
  27566. },
  27567. "zspolishtypedisplay": {
  27568. "type": "string"
  27569. },
  27570. "zsshapetype": {
  27571. "description": "形状 - 多个, 逗号分隔",
  27572. "type": "string"
  27573. },
  27574. "zsshapetypedisplay": {
  27575. "type": "string"
  27576. },
  27577. "zssize": {
  27578. "description": "尺寸 - 两个小数, 逗号分隔",
  27579. "type": "string"
  27580. },
  27581. "zsstyletype": {
  27582. "description": "款式 - 多个, 逗号分隔",
  27583. "type": "string"
  27584. },
  27585. "zsstyletypedisplay": {
  27586. "type": "string"
  27587. },
  27588. "zssymmetrytype": {
  27589. "description": "对称度 - 两个, 逗号分隔",
  27590. "type": "string"
  27591. },
  27592. "zssymmetrytypedisplay": {
  27593. "type": "string"
  27594. },
  27595. "zstabledisplay": {
  27596. "description": "求购信息",
  27597. "type": "string"
  27598. }
  27599. }
  27600. },
  27601. "models.MyDeListing": {
  27602. "type": "object",
  27603. "required": [
  27604. "userid"
  27605. ],
  27606. "properties": {
  27607. "buyaccountid": {
  27608. "description": "买方账号ID",
  27609. "type": "integer"
  27610. },
  27611. "buychargevalue": {
  27612. "description": "买方手续费",
  27613. "type": "number"
  27614. },
  27615. "buyorsell": {
  27616. "description": "方向 - 0:全部 1:买 2:卖",
  27617. "type": "integer"
  27618. },
  27619. "buyuserid": {
  27620. "description": "买方用户ID",
  27621. "type": "integer"
  27622. },
  27623. "deliverygoodsid": {
  27624. "description": "现货品种ID",
  27625. "type": "integer"
  27626. },
  27627. "exchangerate": {
  27628. "description": "汇率",
  27629. "type": "number"
  27630. },
  27631. "goodsno": {
  27632. "description": "商品编号",
  27633. "type": "string"
  27634. },
  27635. "marketid": {
  27636. "description": "市场ID",
  27637. "type": "integer"
  27638. },
  27639. "matchusername": {
  27640. "description": "对手方",
  27641. "type": "string"
  27642. },
  27643. "oritradeamount": {
  27644. "description": "成交金额[商品币种]",
  27645. "type": "number"
  27646. },
  27647. "performanceplanid": {
  27648. "description": "履约计划ID/合同ID",
  27649. "type": "integer"
  27650. },
  27651. "qty": {
  27652. "description": "成交重量",
  27653. "type": "number"
  27654. },
  27655. "sellaccountid": {
  27656. "description": "卖方账号ID",
  27657. "type": "integer"
  27658. },
  27659. "sellchargevalue": {
  27660. "description": "卖方手续费",
  27661. "type": "number"
  27662. },
  27663. "selluserid": {
  27664. "description": "卖方用户ID",
  27665. "type": "integer"
  27666. },
  27667. "tradeamount": {
  27668. "description": "成交金额",
  27669. "type": "number"
  27670. },
  27671. "tradedate": {
  27672. "description": "交易日(yyyyMMdd)",
  27673. "type": "string"
  27674. },
  27675. "tradeprice": {
  27676. "description": "成交价格",
  27677. "type": "number"
  27678. },
  27679. "tradetime": {
  27680. "description": "成交时间",
  27681. "type": "string"
  27682. },
  27683. "userid": {
  27684. "description": "用户ID",
  27685. "type": "integer"
  27686. },
  27687. "wrfactortypeid": {
  27688. "description": "仓单要素类型ID",
  27689. "type": "integer"
  27690. },
  27691. "wrstandardid": {
  27692. "description": "现货商品ID",
  27693. "type": "integer"
  27694. },
  27695. "wrtradedetailid": {
  27696. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  27697. "type": "integer"
  27698. },
  27699. "zscategory": {
  27700. "description": "钻石分类 - 枚举”ZSCategory“",
  27701. "type": "integer"
  27702. },
  27703. "zscategorydisplay": {
  27704. "type": "string"
  27705. },
  27706. "zscurrencytype": {
  27707. "description": "货币类型 - 枚举“ZSCurrencyType”",
  27708. "type": "integer"
  27709. }
  27710. }
  27711. },
  27712. "models.MyDelistingApply": {
  27713. "type": "object",
  27714. "required": [
  27715. "selluserid"
  27716. ],
  27717. "properties": {
  27718. "applyprice": {
  27719. "description": "申请价格",
  27720. "type": "number"
  27721. },
  27722. "applyqty": {
  27723. "description": "申请数量",
  27724. "type": "number"
  27725. },
  27726. "applyremark": {
  27727. "description": "申请备注",
  27728. "type": "string"
  27729. },
  27730. "applystatus": {
  27731. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  27732. "type": "integer"
  27733. },
  27734. "applytime": {
  27735. "description": "申请时间",
  27736. "type": "string"
  27737. },
  27738. "auditremark": {
  27739. "description": "确认备注",
  27740. "type": "string"
  27741. },
  27742. "audittime": {
  27743. "description": "确认时间",
  27744. "type": "string"
  27745. },
  27746. "buyuserid": {
  27747. "description": "买方用户ID",
  27748. "type": "integer"
  27749. },
  27750. "buyusername": {
  27751. "description": "买方",
  27752. "type": "string"
  27753. },
  27754. "buywrtradeorderid": {
  27755. "description": "买委托单ID",
  27756. "type": "integer"
  27757. },
  27758. "ladingbillid": {
  27759. "description": "卖方提单ID",
  27760. "type": "integer"
  27761. },
  27762. "marketid": {
  27763. "description": "市场ID",
  27764. "type": "integer"
  27765. },
  27766. "sellaccountid": {
  27767. "description": "卖方账户ID",
  27768. "type": "integer"
  27769. },
  27770. "selldelistingapplyid": {
  27771. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  27772. "type": "integer"
  27773. },
  27774. "selltradeorderid": {
  27775. "description": "卖方委托ID(买方确认成交后更新)",
  27776. "type": "integer"
  27777. },
  27778. "selluserid": {
  27779. "description": "卖方用户ID",
  27780. "type": "integer"
  27781. },
  27782. "subnum": {
  27783. "description": "卖方提单子单号",
  27784. "type": "integer"
  27785. },
  27786. "wrfactortypeid": {
  27787. "description": "仓单要素类型ID",
  27788. "type": "integer"
  27789. },
  27790. "wrstandardid": {
  27791. "description": "现货商品ID",
  27792. "type": "integer"
  27793. }
  27794. }
  27795. },
  27796. "models.MySellOrder": {
  27797. "type": "object",
  27798. "required": [
  27799. "userid"
  27800. ],
  27801. "properties": {
  27802. "accountid": {
  27803. "description": "资金账号",
  27804. "type": "integer"
  27805. },
  27806. "applyid": {
  27807. "description": "申请单ID",
  27808. "type": "integer"
  27809. },
  27810. "attachment1": {
  27811. "description": "附件1",
  27812. "type": "string"
  27813. },
  27814. "attachment2": {
  27815. "description": "附件2",
  27816. "type": "string"
  27817. },
  27818. "buyorsell": {
  27819. "description": "买卖 - 0:买 1:卖",
  27820. "type": "integer"
  27821. },
  27822. "canbargain": {
  27823. "description": "是否可议价 - 0:不可 1:可",
  27824. "type": "integer"
  27825. },
  27826. "cancelqty": {
  27827. "description": "撤销数量",
  27828. "type": "integer"
  27829. },
  27830. "canceltime": {
  27831. "description": "撤销时间",
  27832. "type": "string"
  27833. },
  27834. "chargealgorithm": {
  27835. "description": "手续费收取方式 1:比率 2:固定",
  27836. "type": "integer"
  27837. },
  27838. "chargealgorithmvalue": {
  27839. "description": "手续费设置值(交易所部分)",
  27840. "type": "number"
  27841. },
  27842. "chargealgorithmvalue2": {
  27843. "description": "手续费设置值(会员部分)",
  27844. "type": "number"
  27845. },
  27846. "clientordertime": {
  27847. "description": "客户端委托时间",
  27848. "type": "string"
  27849. },
  27850. "exchangerate": {
  27851. "description": "汇率[67]",
  27852. "type": "number"
  27853. },
  27854. "firstratio": {
  27855. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  27856. "type": "number"
  27857. },
  27858. "fixedprice": {
  27859. "description": "[克拉单价]固定价格 - [挂牌]",
  27860. "type": "number"
  27861. },
  27862. "freezecharge": {
  27863. "description": "冻结手续费",
  27864. "type": "number"
  27865. },
  27866. "freezefirstamount": {
  27867. "description": "冻结首付金额 - [摘牌]",
  27868. "type": "number"
  27869. },
  27870. "freezemargin": {
  27871. "description": "冻结保证金",
  27872. "type": "number"
  27873. },
  27874. "goodsno": {
  27875. "description": "商品编号",
  27876. "type": "string"
  27877. },
  27878. "isspecified": {
  27879. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  27880. "type": "integer"
  27881. },
  27882. "marginalgorithm": {
  27883. "description": "保证金方式 - 1:比率 2:固定",
  27884. "type": "integer"
  27885. },
  27886. "marginvalue": {
  27887. "description": "保证金设置值",
  27888. "type": "number"
  27889. },
  27890. "marketid": {
  27891. "description": "市场ID",
  27892. "type": "integer"
  27893. },
  27894. "orderamount": {
  27895. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  27896. "type": "number"
  27897. },
  27898. "ordertime": {
  27899. "description": "委托时间",
  27900. "type": "string"
  27901. },
  27902. "performancetemplateid": {
  27903. "description": "履约计划模板ID",
  27904. "type": "integer"
  27905. },
  27906. "pricefactor": {
  27907. "description": "价格系数(浮动价时填写) - [挂牌]",
  27908. "type": "number"
  27909. },
  27910. "pricemove": {
  27911. "description": "升贴水(浮动价时填写) - [挂牌]",
  27912. "type": "number"
  27913. },
  27914. "relatedwrtradeorderid": {
  27915. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  27916. "type": "integer"
  27917. },
  27918. "retcode": {
  27919. "description": "错误代码",
  27920. "type": "integer"
  27921. },
  27922. "selledqty": {
  27923. "description": "成交重量",
  27924. "type": "number"
  27925. },
  27926. "totalqty": {
  27927. "description": "总重量",
  27928. "type": "number"
  27929. },
  27930. "tradedate": {
  27931. "description": "交易日(yyyyMMdd)",
  27932. "type": "string"
  27933. },
  27934. "tradeprice": {
  27935. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  27936. "type": "number"
  27937. },
  27938. "unfreezecharge": {
  27939. "description": "解冻手续费",
  27940. "type": "number"
  27941. },
  27942. "unfreezefirstamount": {
  27943. "description": "解冻首付金额 - [摘牌]",
  27944. "type": "number"
  27945. },
  27946. "unfreezemargin": {
  27947. "description": "解冻保证金",
  27948. "type": "number"
  27949. },
  27950. "userid": {
  27951. "description": "用户ID",
  27952. "type": "integer"
  27953. },
  27954. "uuid": {
  27955. "description": "发起端唯一id",
  27956. "type": "string"
  27957. },
  27958. "validtime": {
  27959. "description": "有效期限",
  27960. "type": "string"
  27961. },
  27962. "validtype": {
  27963. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  27964. "type": "integer"
  27965. },
  27966. "wrbargainid": {
  27967. "description": "议价申请单ID",
  27968. "type": "integer"
  27969. },
  27970. "wrfactortypeid": {
  27971. "description": "仓单要素类型ID/商品ID(77)",
  27972. "type": "integer"
  27973. },
  27974. "wrpricetype": {
  27975. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  27976. "type": "integer"
  27977. },
  27978. "wrstandardid": {
  27979. "description": "现货商品ID",
  27980. "type": "integer"
  27981. },
  27982. "wrtradeorderid": {
  27983. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  27984. "type": "integer"
  27985. },
  27986. "wrtradeorderstatus": {
  27987. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  27988. "type": "integer"
  27989. },
  27990. "wrtradetype": {
  27991. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  27992. "type": "integer"
  27993. },
  27994. "wrtransferuserid": {
  27995. "description": "仓单受让用户 - [摘牌]",
  27996. "type": "integer"
  27997. },
  27998. "zscategory": {
  27999. "description": "钻石分类 - 枚举”ZSCategory“",
  28000. "type": "integer"
  28001. },
  28002. "zscategorydisplay": {
  28003. "description": "钻石分类 - 描述",
  28004. "type": "string"
  28005. },
  28006. "zscurrencytype": {
  28007. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28008. "type": "integer"
  28009. }
  28010. }
  28011. },
  28012. "models.MyWRPosition": {
  28013. "type": "object",
  28014. "required": [
  28015. "wruserid"
  28016. ],
  28017. "properties": {
  28018. "cerno": {
  28019. "description": "证书编号 - 类型:2,4,5",
  28020. "type": "string"
  28021. },
  28022. "cpcertno": {
  28023. "description": "金伯利证书编号 - 类型:3",
  28024. "type": "string"
  28025. },
  28026. "ffreezeqty": {
  28027. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  28028. "type": "number"
  28029. },
  28030. "ftotalqty": {
  28031. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  28032. "type": "number"
  28033. },
  28034. "goodsno": {
  28035. "description": "商品编号",
  28036. "type": "string"
  28037. },
  28038. "imagepath": {
  28039. "description": "商品照片(相对地址)",
  28040. "type": "string"
  28041. },
  28042. "isvalid": {
  28043. "description": "是否有效 - 0:无效 1:有效",
  28044. "type": "integer"
  28045. },
  28046. "kppath": {
  28047. "description": "金伯利证书图片(相对地址) - 类型:3",
  28048. "type": "string"
  28049. },
  28050. "kpweight": {
  28051. "description": "金伯利证书重量 - 类型:3",
  28052. "type": "string"
  28053. },
  28054. "ladingbillid": {
  28055. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  28056. "type": "integer"
  28057. },
  28058. "marketprice": {
  28059. "description": "市场价",
  28060. "type": "string"
  28061. },
  28062. "origin": {
  28063. "description": "原产地 - 类型:3",
  28064. "type": "string"
  28065. },
  28066. "price": {
  28067. "description": "总价(价格) - 类型:1,2,3,4,5",
  28068. "type": "number"
  28069. },
  28070. "priceper": {
  28071. "description": "克拉单价 - 类型:1,2,3,5",
  28072. "type": "string"
  28073. },
  28074. "remark": {
  28075. "description": "备注",
  28076. "type": "string"
  28077. },
  28078. "sellmobile": {
  28079. "description": "手机号码(加密存储)",
  28080. "type": "string"
  28081. },
  28082. "sellusername": {
  28083. "description": "账户名称(机构名称)",
  28084. "type": "string"
  28085. },
  28086. "settingmaterial": {
  28087. "description": "镶嵌材料 - 类型:4",
  28088. "type": "string"
  28089. },
  28090. "size1": {
  28091. "description": "尺寸1 - 类型:2,4,5",
  28092. "type": "string"
  28093. },
  28094. "size2": {
  28095. "description": "尺寸2 - 类型:2,4,5",
  28096. "type": "string"
  28097. },
  28098. "size3": {
  28099. "description": "尺寸3 - 类型:2,4,5",
  28100. "type": "string"
  28101. },
  28102. "stonedesc": {
  28103. "description": "配石描述 - 类型:4",
  28104. "type": "string"
  28105. },
  28106. "subnum": {
  28107. "description": "提单子单号",
  28108. "type": "integer"
  28109. },
  28110. "userid": {
  28111. "description": "用户ID",
  28112. "type": "integer"
  28113. },
  28114. "warehouseid": {
  28115. "description": "仓库ID",
  28116. "type": "integer"
  28117. },
  28118. "warehousenamedisplay": {
  28119. "type": "string"
  28120. },
  28121. "weight": {
  28122. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  28123. "type": "number"
  28124. },
  28125. "weightavg": {
  28126. "description": "平均单颗重量 - 类型:1,3",
  28127. "type": "number"
  28128. },
  28129. "wrpath": {
  28130. "description": "仓单扫描件(相对地址)",
  28131. "type": "string"
  28132. },
  28133. "wrstandardid": {
  28134. "description": "现货商品ID",
  28135. "type": "integer"
  28136. },
  28137. "wruserid": {
  28138. "description": "登录用户ID",
  28139. "type": "integer"
  28140. },
  28141. "zscategory": {
  28142. "description": "钻石分类 - 枚举”ZSCategory“",
  28143. "type": "integer"
  28144. },
  28145. "zscategorydisplay": {
  28146. "type": "string"
  28147. },
  28148. "zscerttype": {
  28149. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  28150. "type": "integer"
  28151. },
  28152. "zscerttypedisplay": {
  28153. "type": "string"
  28154. },
  28155. "zsclaritytype1": {
  28156. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  28157. "type": "integer"
  28158. },
  28159. "zsclaritytype1display": {
  28160. "type": "string"
  28161. },
  28162. "zsclaritytype2": {
  28163. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  28164. "type": "integer"
  28165. },
  28166. "zsclaritytype2display": {
  28167. "type": "string"
  28168. },
  28169. "zscolortype1": {
  28170. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  28171. "type": "integer"
  28172. },
  28173. "zscolortype1display": {
  28174. "type": "string"
  28175. },
  28176. "zscolortype2": {
  28177. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  28178. "type": "integer"
  28179. },
  28180. "zscolortype2display": {
  28181. "type": "string"
  28182. },
  28183. "zscrystaltype": {
  28184. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  28185. "type": "string"
  28186. },
  28187. "zscrystaltypedisplay": {
  28188. "type": "string"
  28189. },
  28190. "zscurrencytype": {
  28191. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28192. "type": "integer"
  28193. },
  28194. "zscurrencytypedisplay": {
  28195. "type": "string"
  28196. },
  28197. "zscurrencytypedisplayunit": {
  28198. "type": "string"
  28199. },
  28200. "zscuttype1": {
  28201. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  28202. "type": "integer"
  28203. },
  28204. "zscuttype1display": {
  28205. "type": "string"
  28206. },
  28207. "zscuttype2": {
  28208. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  28209. "type": "integer"
  28210. },
  28211. "zscuttype2display": {
  28212. "type": "string"
  28213. },
  28214. "zsczcolor1type": {
  28215. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  28216. "type": "integer"
  28217. },
  28218. "zsczcolor1typedisplay": {
  28219. "type": "string"
  28220. },
  28221. "zsczcolor2type": {
  28222. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  28223. "type": "integer"
  28224. },
  28225. "zsczcolor2typedisplay": {
  28226. "type": "string"
  28227. },
  28228. "zsczcolor3type": {
  28229. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  28230. "type": "integer"
  28231. },
  28232. "zsczcolor3typedisplay": {
  28233. "type": "string"
  28234. },
  28235. "zsfluorescencetype1": {
  28236. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  28237. "type": "integer"
  28238. },
  28239. "zsfluorescencetype1display": {
  28240. "type": "string"
  28241. },
  28242. "zsfluorescencetype2": {
  28243. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  28244. "type": "integer"
  28245. },
  28246. "zsfluorescencetype2display": {
  28247. "type": "string"
  28248. },
  28249. "zspolishtype1": {
  28250. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  28251. "type": "integer"
  28252. },
  28253. "zspolishtype1display": {
  28254. "type": "string"
  28255. },
  28256. "zspolishtype2": {
  28257. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  28258. "type": "integer"
  28259. },
  28260. "zspolishtype2display": {
  28261. "type": "string"
  28262. },
  28263. "zsshapetype": {
  28264. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  28265. "type": "string"
  28266. },
  28267. "zsshapetypedisplay": {
  28268. "type": "string"
  28269. },
  28270. "zsstyletype": {
  28271. "description": "款式 - 类型:4",
  28272. "type": "integer"
  28273. },
  28274. "zsstyletypedisplay": {
  28275. "type": "string"
  28276. },
  28277. "zssymmetrytype1": {
  28278. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  28279. "type": "integer"
  28280. },
  28281. "zssymmetrytype1display": {
  28282. "type": "string"
  28283. },
  28284. "zssymmetrytype2": {
  28285. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  28286. "type": "integer"
  28287. },
  28288. "zssymmetrytype2display": {
  28289. "type": "string"
  28290. }
  28291. }
  28292. },
  28293. "models.NewFuncmenulist": {
  28294. "type": "object",
  28295. "required": [
  28296. "resourcecode"
  28297. ],
  28298. "properties": {
  28299. "authtype": {
  28300. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  28301. "type": "integer"
  28302. },
  28303. "buttonname": {
  28304. "description": "按钮名称",
  28305. "type": "string"
  28306. },
  28307. "buttontype": {
  28308. "description": "按钮类型 - 存按钮样式",
  28309. "type": "string"
  28310. },
  28311. "component": {
  28312. "description": "组件名或组件地址",
  28313. "type": "string"
  28314. },
  28315. "hidden": {
  28316. "description": "是否隐藏 - 0:显示 1:隐藏",
  28317. "type": "integer"
  28318. },
  28319. "iconame": {
  28320. "description": "菜单图标",
  28321. "type": "string"
  28322. },
  28323. "menutype": {
  28324. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  28325. "type": "integer"
  28326. },
  28327. "parentcode": {
  28328. "description": "上级资源代码",
  28329. "type": "string"
  28330. },
  28331. "remark": {
  28332. "description": "Remark",
  28333. "type": "string"
  28334. },
  28335. "resourcecode": {
  28336. "description": "资源代码",
  28337. "type": "string"
  28338. },
  28339. "resourcelevel": {
  28340. "description": "级别1-一级 2-二级 3-三级4-四级",
  28341. "type": "integer"
  28342. },
  28343. "resourcename": {
  28344. "description": "资源名(Title)",
  28345. "type": "string"
  28346. },
  28347. "sort": {
  28348. "description": "排序",
  28349. "type": "integer"
  28350. },
  28351. "url": {
  28352. "description": "Url",
  28353. "type": "string"
  28354. },
  28355. "urltype": {
  28356. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  28357. "type": "integer"
  28358. }
  28359. }
  28360. },
  28361. "models.OperationPrimaryMenu": {
  28362. "type": "object",
  28363. "properties": {
  28364. "Children": {
  28365. "description": "二级功能菜单",
  28366. "type": "array",
  28367. "items": {
  28368. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28369. }
  28370. },
  28371. "Key": {
  28372. "description": "菜单KEY",
  28373. "type": "string"
  28374. },
  28375. "Label": {
  28376. "description": "菜单标题",
  28377. "type": "string"
  28378. }
  28379. }
  28380. },
  28381. "models.OperationSecondaryMenu": {
  28382. "type": "object",
  28383. "properties": {
  28384. "Key": {
  28385. "description": "菜单KEY",
  28386. "type": "string"
  28387. },
  28388. "Label": {
  28389. "description": "菜单标题",
  28390. "type": "string"
  28391. },
  28392. "TabList": {
  28393. "description": "三级功能菜单",
  28394. "type": "array",
  28395. "items": {
  28396. "$ref": "#/definitions/models.OperationTabMenu"
  28397. }
  28398. }
  28399. }
  28400. },
  28401. "models.OperationTabMenu": {
  28402. "type": "object",
  28403. "properties": {
  28404. "Key": {
  28405. "description": "菜单KEY",
  28406. "type": "string"
  28407. },
  28408. "Label": {
  28409. "description": "菜单标题",
  28410. "type": "string"
  28411. }
  28412. }
  28413. },
  28414. "models.Patradelinkdetail": {
  28415. "type": "object",
  28416. "properties": {
  28417. "accountname": {
  28418. "description": "套期主体",
  28419. "type": "string"
  28420. },
  28421. "agreeunit": {
  28422. "description": "合约乘数",
  28423. "type": "number"
  28424. },
  28425. "amount": {
  28426. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28427. "type": "number"
  28428. },
  28429. "areauserid": {
  28430. "description": "所属机构",
  28431. "type": "integer"
  28432. },
  28433. "bizsubjectid": {
  28434. "description": "归属业务部门ID - SubjectID",
  28435. "type": "integer"
  28436. },
  28437. "buyorsell": {
  28438. "description": "方向 - 0:买 1:卖",
  28439. "type": "integer"
  28440. },
  28441. "convertratio": {
  28442. "description": "品种系数",
  28443. "type": "number"
  28444. },
  28445. "convertratiochange": {
  28446. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  28447. "type": "number"
  28448. },
  28449. "createtime": {
  28450. "description": "[日期时间]创建时间",
  28451. "type": "string"
  28452. },
  28453. "creatorid": {
  28454. "description": "创建人ID",
  28455. "type": "integer"
  28456. },
  28457. "creatorsrc": {
  28458. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28459. "type": "integer"
  28460. },
  28461. "goodscode": {
  28462. "description": "商品代码(内部)",
  28463. "type": "string"
  28464. },
  28465. "goodsgroupid": {
  28466. "description": "对冲品种ID[期货合约商品组ID]",
  28467. "type": "integer"
  28468. },
  28469. "goodsid": {
  28470. "description": "商品ID",
  28471. "type": "integer"
  28472. },
  28473. "hedgeditemid": {
  28474. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28475. "type": "integer"
  28476. },
  28477. "hedgeflag": {
  28478. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28479. "type": "integer"
  28480. },
  28481. "linkdetailid": {
  28482. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28483. "type": "string"
  28484. },
  28485. "linkstatus": {
  28486. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28487. "type": "integer"
  28488. },
  28489. "middlegoodsid": {
  28490. "description": "套保品种ID",
  28491. "type": "integer"
  28492. },
  28493. "name": {
  28494. "description": "账户名/子账户",
  28495. "type": "string"
  28496. },
  28497. "optioncode": {
  28498. "description": "[期货合约]期权代码 [期权]",
  28499. "type": "string"
  28500. },
  28501. "ordertype": {
  28502. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28503. "type": "integer"
  28504. },
  28505. "relatedlot": {
  28506. "description": "[数量]关联手数",
  28507. "type": "number"
  28508. },
  28509. "relatedmode": {
  28510. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28511. "type": "integer"
  28512. },
  28513. "relatedqty": {
  28514. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28515. "type": "number"
  28516. },
  28517. "retcode": {
  28518. "description": "返回码",
  28519. "type": "integer"
  28520. },
  28521. "saleuserid": {
  28522. "description": "业务员ID",
  28523. "type": "integer"
  28524. },
  28525. "tradedate": {
  28526. "description": "关联交易日(yyyyMMdd)",
  28527. "type": "string"
  28528. },
  28529. "tradeid": {
  28530. "description": "[成交单号]内部成交单ID",
  28531. "type": "string"
  28532. },
  28533. "tradelot": {
  28534. "description": "成交手数",
  28535. "type": "integer"
  28536. },
  28537. "tradeprice": {
  28538. "description": "[价格]成交价格",
  28539. "type": "number"
  28540. },
  28541. "tradetradedate": {
  28542. "description": "成交交易日(yyyyMMdd)",
  28543. "type": "string"
  28544. }
  28545. }
  28546. },
  28547. "models.QueryErrorInfosRsp": {
  28548. "type": "object",
  28549. "required": [
  28550. "errorid"
  28551. ],
  28552. "properties": {
  28553. "description": {
  28554. "description": "异常描述",
  28555. "type": "string"
  28556. },
  28557. "errorcode": {
  28558. "description": "异常代码",
  28559. "type": "string"
  28560. },
  28561. "errorid": {
  28562. "description": "异常ID",
  28563. "type": "integer"
  28564. },
  28565. "modulecode": {
  28566. "description": "所属模块",
  28567. "type": "string"
  28568. },
  28569. "operatecode": {
  28570. "description": "所属操作",
  28571. "type": "string"
  28572. },
  28573. "rownumber": {
  28574. "description": "行号",
  28575. "type": "string"
  28576. }
  28577. }
  28578. },
  28579. "models.QueryHedgeOrderDetailRsp": {
  28580. "type": "object",
  28581. "properties": {
  28582. "accountid": {
  28583. "description": "账户ID",
  28584. "type": "integer"
  28585. },
  28586. "buyorsell": {
  28587. "description": "买卖 - 0:买 1:卖",
  28588. "type": "integer"
  28589. },
  28590. "cancellogincode": {
  28591. "description": "撤单人",
  28592. "type": "string"
  28593. },
  28594. "channelbuildtype": {
  28595. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28596. "type": "integer"
  28597. },
  28598. "channelinnerorderstatus": {
  28599. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28600. "type": "integer"
  28601. },
  28602. "channeloperatetype": {
  28603. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28604. "type": "integer"
  28605. },
  28606. "closetype": {
  28607. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28608. "type": "integer"
  28609. },
  28610. "curexchangerate": {
  28611. "description": "当前汇率",
  28612. "type": "number"
  28613. },
  28614. "decimalplace": {
  28615. "description": "商品报价小数位",
  28616. "type": "integer"
  28617. },
  28618. "exchangefullname": {
  28619. "description": "外部交易所全称",
  28620. "type": "string"
  28621. },
  28622. "goodscode": {
  28623. "description": "商品代码(内部)",
  28624. "type": "string"
  28625. },
  28626. "goodsid": {
  28627. "description": "商品ID",
  28628. "type": "integer"
  28629. },
  28630. "goodsname": {
  28631. "description": "商品名称",
  28632. "type": "string"
  28633. },
  28634. "marketid": {
  28635. "description": "市场ID",
  28636. "type": "integer"
  28637. },
  28638. "openfreezemargin": {
  28639. "description": "冻结保证金(冻结交易金额)",
  28640. "type": "number"
  28641. },
  28642. "orderid": {
  28643. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28644. "type": "string"
  28645. },
  28646. "orderlogincode": {
  28647. "description": "委托人",
  28648. "type": "string"
  28649. },
  28650. "orderprice": {
  28651. "description": "委托价格(账户)",
  28652. "type": "number"
  28653. },
  28654. "orderqty": {
  28655. "description": "委托数量",
  28656. "type": "integer"
  28657. },
  28658. "ordertime": {
  28659. "description": "委托时间",
  28660. "type": "string"
  28661. },
  28662. "pricemode": {
  28663. "description": "取价方式 - 1:市价 2: 限价",
  28664. "type": "integer"
  28665. },
  28666. "tradedate": {
  28667. "description": "交易日(yyyyMMdd)",
  28668. "type": "string"
  28669. },
  28670. "tradeqty": {
  28671. "description": "成交数量",
  28672. "type": "integer"
  28673. }
  28674. }
  28675. },
  28676. "models.QueryHedgeTradeDetailRsp": {
  28677. "type": "object",
  28678. "properties": {
  28679. "accountid": {
  28680. "description": "账号ID",
  28681. "type": "integer"
  28682. },
  28683. "buyorsell": {
  28684. "description": "方向 - 0:买 1:卖",
  28685. "type": "integer"
  28686. },
  28687. "channelbuildtype": {
  28688. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28689. "type": "integer"
  28690. },
  28691. "closecharge": {
  28692. "description": "平仓手续费(账户)",
  28693. "type": "number"
  28694. },
  28695. "closecharge2": {
  28696. "description": "平仓手续费(商品)",
  28697. "type": "number"
  28698. },
  28699. "closepl": {
  28700. "description": "平仓盈亏(账户)",
  28701. "type": "number"
  28702. },
  28703. "closepl2": {
  28704. "description": "平仓盈亏(商品)",
  28705. "type": "number"
  28706. },
  28707. "closepl3": {
  28708. "description": "平仓盈亏(账户)(逐笔)",
  28709. "type": "number"
  28710. },
  28711. "closepl4": {
  28712. "description": "平仓盈亏(商品)(逐笔)",
  28713. "type": "number"
  28714. },
  28715. "closetype": {
  28716. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28717. "type": "integer"
  28718. },
  28719. "curexchangerate": {
  28720. "description": "当前汇率",
  28721. "type": "number"
  28722. },
  28723. "decimalplace": {
  28724. "description": "商品报价小数位",
  28725. "type": "integer"
  28726. },
  28727. "exchangefullname": {
  28728. "description": "外部交易所全称",
  28729. "type": "string"
  28730. },
  28731. "goodscode": {
  28732. "description": "商品代码(内部)",
  28733. "type": "string"
  28734. },
  28735. "goodsid": {
  28736. "description": "商品ID",
  28737. "type": "integer"
  28738. },
  28739. "goodsname": {
  28740. "description": "商品名称",
  28741. "type": "string"
  28742. },
  28743. "marketid": {
  28744. "description": "市场ID",
  28745. "type": "integer"
  28746. },
  28747. "opencharge": {
  28748. "description": "建仓手续费(账户)",
  28749. "type": "number"
  28750. },
  28751. "opencharge2": {
  28752. "description": "建仓手续费(商品)",
  28753. "type": "number"
  28754. },
  28755. "orderid": {
  28756. "description": "委托单号",
  28757. "type": "string"
  28758. },
  28759. "orderlogincode": {
  28760. "description": "委托人",
  28761. "type": "string"
  28762. },
  28763. "tradeamount": {
  28764. "description": "成交金额(账户)",
  28765. "type": "number"
  28766. },
  28767. "tradedate": {
  28768. "description": "交易日(yyyyMMdd)",
  28769. "type": "string"
  28770. },
  28771. "tradeid": {
  28772. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28773. "type": "string"
  28774. },
  28775. "tradeprice": {
  28776. "description": "成交价格",
  28777. "type": "number"
  28778. },
  28779. "tradeqty": {
  28780. "description": "成交数量",
  28781. "type": "integer"
  28782. },
  28783. "tradetime": {
  28784. "description": "成交时间",
  28785. "type": "string"
  28786. },
  28787. "tradetype": {
  28788. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28789. "type": "integer"
  28790. }
  28791. }
  28792. },
  28793. "models.QuotePrimaryMenu": {
  28794. "type": "object",
  28795. "properties": {
  28796. "Index": {
  28797. "description": "序号",
  28798. "type": "integer"
  28799. },
  28800. "Key": {
  28801. "description": "键名",
  28802. "type": "string"
  28803. },
  28804. "Name": {
  28805. "description": "菜单名称",
  28806. "type": "string"
  28807. },
  28808. "SubMenus": {
  28809. "description": "子菜单",
  28810. "type": "array",
  28811. "items": {
  28812. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28813. }
  28814. },
  28815. "SubTitleType": {
  28816. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28817. "type": "integer"
  28818. },
  28819. "TradeModes": {
  28820. "description": "包含市场交易类型",
  28821. "type": "string"
  28822. }
  28823. }
  28824. },
  28825. "models.QuoteSecondaryMenu": {
  28826. "type": "object",
  28827. "properties": {
  28828. "ExExchangeCode": {
  28829. "description": "外部交易所代码",
  28830. "type": "string"
  28831. },
  28832. "ExExchangeID": {
  28833. "description": "外部交易所ID",
  28834. "type": "integer"
  28835. },
  28836. "GoodsGroupIDs": {
  28837. "description": "商品组ID列表",
  28838. "type": "array",
  28839. "items": {
  28840. "type": "integer"
  28841. }
  28842. },
  28843. "Index": {
  28844. "description": "序号",
  28845. "type": "integer"
  28846. },
  28847. "MarketID": {
  28848. "description": "市场ID",
  28849. "type": "integer"
  28850. },
  28851. "MenuTitle": {
  28852. "description": "菜单标题(市场名称或外部交易所名称)",
  28853. "type": "string"
  28854. },
  28855. "TradeMode": {
  28856. "description": "交易模式",
  28857. "type": "integer"
  28858. }
  28859. }
  28860. },
  28861. "models.RelatedTaAccount": {
  28862. "type": "object",
  28863. "properties": {
  28864. "accountid": {
  28865. "description": "资金账户ID",
  28866. "type": "integer"
  28867. }
  28868. }
  28869. },
  28870. "models.RoleMenu": {
  28871. "type": "object",
  28872. "properties": {
  28873. "hasright": {
  28874. "description": "是否有权限 0-没有权限 1-有权限",
  28875. "type": "integer"
  28876. },
  28877. "iconame": {
  28878. "description": "菜单图标",
  28879. "type": "string"
  28880. },
  28881. "menutype": {
  28882. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28883. "type": "integer"
  28884. },
  28885. "parentcode": {
  28886. "description": "上级资源代码",
  28887. "type": "string"
  28888. },
  28889. "remark": {
  28890. "description": "菜单备注",
  28891. "type": "string"
  28892. },
  28893. "resourcecode": {
  28894. "description": "菜单代码",
  28895. "type": "string"
  28896. },
  28897. "resourcelevel": {
  28898. "description": "级别",
  28899. "type": "integer"
  28900. },
  28901. "resourcename": {
  28902. "description": "菜单名称",
  28903. "type": "string"
  28904. },
  28905. "roleid": {
  28906. "description": "角色id",
  28907. "type": "integer"
  28908. },
  28909. "sort": {
  28910. "description": "排序",
  28911. "type": "integer"
  28912. },
  28913. "subMenu": {
  28914. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28915. "type": "array",
  28916. "items": {
  28917. "$ref": "#/definitions/models.RoleMenu"
  28918. }
  28919. },
  28920. "url": {
  28921. "description": "URL",
  28922. "type": "string"
  28923. },
  28924. "userid": {
  28925. "description": "用户id",
  28926. "type": "integer"
  28927. }
  28928. }
  28929. },
  28930. "models.SearchGoods": {
  28931. "type": "object",
  28932. "required": [
  28933. "goodscode",
  28934. "goodsid",
  28935. "goodsname",
  28936. "marketid",
  28937. "trademode"
  28938. ],
  28939. "properties": {
  28940. "goodscode": {
  28941. "description": "商品代码(内部)",
  28942. "type": "string"
  28943. },
  28944. "goodsid": {
  28945. "description": "商品ID(自增ID SEQ_GOODS)",
  28946. "type": "integer"
  28947. },
  28948. "goodsname": {
  28949. "description": "商品名称",
  28950. "type": "string"
  28951. },
  28952. "marketid": {
  28953. "description": "所属市场ID",
  28954. "type": "integer"
  28955. },
  28956. "marketname": {
  28957. "description": "市场名称",
  28958. "type": "string"
  28959. },
  28960. "trademode": {
  28961. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28962. "type": "integer"
  28963. }
  28964. }
  28965. },
  28966. "models.SellOrder": {
  28967. "type": "object",
  28968. "properties": {
  28969. "accountid": {
  28970. "description": "资金账号",
  28971. "type": "integer"
  28972. },
  28973. "applyid": {
  28974. "description": "申请单ID",
  28975. "type": "integer"
  28976. },
  28977. "attachment1": {
  28978. "description": "附件1",
  28979. "type": "string"
  28980. },
  28981. "attachment2": {
  28982. "description": "附件2",
  28983. "type": "string"
  28984. },
  28985. "buyorsell": {
  28986. "description": "买卖 - 0:买 1:卖",
  28987. "type": "integer"
  28988. },
  28989. "canbargain": {
  28990. "description": "是否可议价 - 0:不可 1:可",
  28991. "type": "integer"
  28992. },
  28993. "cancelqty": {
  28994. "description": "撤销数量",
  28995. "type": "integer"
  28996. },
  28997. "canceltime": {
  28998. "description": "撤销时间",
  28999. "type": "string"
  29000. },
  29001. "chargealgorithm": {
  29002. "description": "手续费收取方式 1:比率 2:固定",
  29003. "type": "integer"
  29004. },
  29005. "chargealgorithmvalue": {
  29006. "description": "手续费设置值(交易所部分)",
  29007. "type": "number"
  29008. },
  29009. "chargealgorithmvalue2": {
  29010. "description": "手续费设置值(会员部分)",
  29011. "type": "number"
  29012. },
  29013. "clientordertime": {
  29014. "description": "客户端委托时间",
  29015. "type": "string"
  29016. },
  29017. "exchangerate": {
  29018. "description": "汇率[67]",
  29019. "type": "number"
  29020. },
  29021. "firstratio": {
  29022. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  29023. "type": "number"
  29024. },
  29025. "fixedprice": {
  29026. "description": "[克拉单价]固定价格 - [挂牌]",
  29027. "type": "number"
  29028. },
  29029. "freezecharge": {
  29030. "description": "冻结手续费",
  29031. "type": "number"
  29032. },
  29033. "freezefirstamount": {
  29034. "description": "冻结首付金额 - [摘牌]",
  29035. "type": "number"
  29036. },
  29037. "freezemargin": {
  29038. "description": "冻结保证金",
  29039. "type": "number"
  29040. },
  29041. "goodsno": {
  29042. "description": "商品编号",
  29043. "type": "string"
  29044. },
  29045. "isQueryDiamond": {
  29046. "description": "是否钻石查询",
  29047. "type": "boolean"
  29048. },
  29049. "isspecified": {
  29050. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  29051. "type": "integer"
  29052. },
  29053. "marginalgorithm": {
  29054. "description": "保证金方式 - 1:比率 2:固定",
  29055. "type": "integer"
  29056. },
  29057. "marginvalue": {
  29058. "description": "保证金设置值",
  29059. "type": "number"
  29060. },
  29061. "marketid": {
  29062. "description": "市场ID",
  29063. "type": "integer"
  29064. },
  29065. "orderamount": {
  29066. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  29067. "type": "number"
  29068. },
  29069. "ordertime": {
  29070. "description": "委托时间",
  29071. "type": "string"
  29072. },
  29073. "performancetemplateid": {
  29074. "description": "履约计划模板ID",
  29075. "type": "integer"
  29076. },
  29077. "pricefactor": {
  29078. "description": "价格系数(浮动价时填写) - [挂牌]",
  29079. "type": "number"
  29080. },
  29081. "pricemove": {
  29082. "description": "升贴水(浮动价时填写) - [挂牌]",
  29083. "type": "number"
  29084. },
  29085. "relatedwrtradeorderid": {
  29086. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  29087. "type": "integer"
  29088. },
  29089. "remainqty": {
  29090. "description": "剩余重量",
  29091. "type": "number"
  29092. },
  29093. "retcode": {
  29094. "description": "错误代码",
  29095. "type": "integer"
  29096. },
  29097. "sellusername": {
  29098. "description": "卖方(查询字段-模糊查询)",
  29099. "type": "string"
  29100. },
  29101. "totalqty": {
  29102. "description": "总重量",
  29103. "type": "number"
  29104. },
  29105. "tradedate": {
  29106. "description": "交易日(yyyyMMdd)",
  29107. "type": "string"
  29108. },
  29109. "tradeprice": {
  29110. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29111. "type": "number"
  29112. },
  29113. "unfreezecharge": {
  29114. "description": "解冻手续费",
  29115. "type": "number"
  29116. },
  29117. "unfreezefirstamount": {
  29118. "description": "解冻首付金额 - [摘牌]",
  29119. "type": "number"
  29120. },
  29121. "unfreezemargin": {
  29122. "description": "解冻保证金",
  29123. "type": "number"
  29124. },
  29125. "userid": {
  29126. "description": "用户ID",
  29127. "type": "integer"
  29128. },
  29129. "uuid": {
  29130. "description": "发起端唯一id",
  29131. "type": "string"
  29132. },
  29133. "validtime": {
  29134. "description": "有效期限",
  29135. "type": "string"
  29136. },
  29137. "validtype": {
  29138. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  29139. "type": "integer"
  29140. },
  29141. "wrbargainid": {
  29142. "description": "议价申请单ID",
  29143. "type": "integer"
  29144. },
  29145. "wrfactortypeid": {
  29146. "description": "仓单要素类型ID/商品ID(77)",
  29147. "type": "integer"
  29148. },
  29149. "wrpricetype": {
  29150. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29151. "type": "integer"
  29152. },
  29153. "wrstandardid": {
  29154. "description": "现货商品ID",
  29155. "type": "integer"
  29156. },
  29157. "wrtradeorderid": {
  29158. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29159. "type": "integer"
  29160. },
  29161. "wrtradeorderstatus": {
  29162. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  29163. "type": "integer"
  29164. },
  29165. "wrtradetype": {
  29166. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29167. "type": "integer"
  29168. },
  29169. "wrtransferuserid": {
  29170. "description": "仓单受让用户 - [摘牌]",
  29171. "type": "integer"
  29172. },
  29173. "zscategory": {
  29174. "description": "钻石分类 - 枚举”ZSCategory“",
  29175. "type": "integer"
  29176. },
  29177. "zscategorydisplay": {
  29178. "description": "钻石分类 - 描述",
  29179. "type": "string"
  29180. },
  29181. "zscurrencytype": {
  29182. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29183. "type": "integer"
  29184. }
  29185. }
  29186. },
  29187. "models.SellOrderQueryReq": {
  29188. "type": "object",
  29189. "required": [
  29190. "zscategory"
  29191. ],
  29192. "properties": {
  29193. "origin": {
  29194. "description": "原产地",
  29195. "type": "string"
  29196. },
  29197. "page": {
  29198. "description": "页码",
  29199. "type": "integer"
  29200. },
  29201. "pagesize": {
  29202. "description": "每页大小",
  29203. "type": "integer"
  29204. },
  29205. "total": {
  29206. "description": "总条数",
  29207. "type": "integer"
  29208. },
  29209. "warehouseid": {
  29210. "description": "仓库ID",
  29211. "type": "integer"
  29212. },
  29213. "weight1": {
  29214. "description": "总重量(克拉重量)-从",
  29215. "type": "number"
  29216. },
  29217. "weight2": {
  29218. "description": "总重量(克拉重量)-至",
  29219. "type": "number"
  29220. },
  29221. "weightavg1": {
  29222. "description": "平均单颗重量-从",
  29223. "type": "number"
  29224. },
  29225. "weightavg2": {
  29226. "description": "平均单颗重量-至",
  29227. "type": "number"
  29228. },
  29229. "zscategory": {
  29230. "description": "钻石分类 - 枚举”ZSCategory“",
  29231. "type": "integer"
  29232. },
  29233. "zscerttype": {
  29234. "description": "证书类型",
  29235. "type": "array",
  29236. "items": {
  29237. "type": "string"
  29238. }
  29239. },
  29240. "zsclaritytype": {
  29241. "description": "净度",
  29242. "type": "array",
  29243. "items": {
  29244. "type": "integer"
  29245. }
  29246. },
  29247. "zscolortype": {
  29248. "description": "颜色",
  29249. "type": "array",
  29250. "items": {
  29251. "type": "integer"
  29252. }
  29253. },
  29254. "zscurrencytype": {
  29255. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29256. "type": "array",
  29257. "items": {
  29258. "type": "string"
  29259. }
  29260. },
  29261. "zscuttype": {
  29262. "description": "切工",
  29263. "type": "array",
  29264. "items": {
  29265. "type": "integer"
  29266. }
  29267. },
  29268. "zsczcolor1type": {
  29269. "description": "彩钻颜色1",
  29270. "type": "array",
  29271. "items": {
  29272. "type": "string"
  29273. }
  29274. },
  29275. "zsfluorescencetype": {
  29276. "description": "荧光",
  29277. "type": "array",
  29278. "items": {
  29279. "type": "integer"
  29280. }
  29281. },
  29282. "zspolishtype": {
  29283. "description": "抛光度",
  29284. "type": "array",
  29285. "items": {
  29286. "type": "integer"
  29287. }
  29288. },
  29289. "zsshapetype": {
  29290. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29291. "type": "array",
  29292. "items": {
  29293. "type": "string"
  29294. }
  29295. },
  29296. "zsstyletype": {
  29297. "description": "款式",
  29298. "type": "array",
  29299. "items": {
  29300. "type": "string"
  29301. }
  29302. },
  29303. "zssymmetrytype": {
  29304. "description": "对称度",
  29305. "type": "array",
  29306. "items": {
  29307. "type": "integer"
  29308. }
  29309. }
  29310. }
  29311. },
  29312. "models.Systemparam": {
  29313. "type": "object",
  29314. "required": [
  29315. "paramcode"
  29316. ],
  29317. "properties": {
  29318. "loginid": {
  29319. "description": "更新用户账号,登录账号",
  29320. "type": "string"
  29321. },
  29322. "modifyflag": {
  29323. "description": "修改标志0 不允许修改 1 允许修改",
  29324. "type": "integer"
  29325. },
  29326. "paramcode": {
  29327. "description": "参数代码",
  29328. "type": "string"
  29329. },
  29330. "paramname": {
  29331. "description": "参数名",
  29332. "type": "string"
  29333. },
  29334. "paramtype": {
  29335. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29336. "type": "integer"
  29337. },
  29338. "paramvalue": {
  29339. "description": "参数值",
  29340. "type": "string"
  29341. },
  29342. "paramvalue2": {
  29343. "description": "参数值(CLOB)",
  29344. "type": "string"
  29345. },
  29346. "regexpress": {
  29347. "description": "正则表达式",
  29348. "type": "string"
  29349. },
  29350. "remark": {
  29351. "description": "备注",
  29352. "type": "string"
  29353. },
  29354. "serverip": {
  29355. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29356. "type": "string"
  29357. },
  29358. "showflag": {
  29359. "description": "是否显示0 不显示 1 显示",
  29360. "type": "integer"
  29361. },
  29362. "updatetime": {
  29363. "description": "更新时间",
  29364. "type": "string"
  29365. },
  29366. "userid": {
  29367. "description": "更新用户ID",
  29368. "type": "integer"
  29369. }
  29370. }
  29371. },
  29372. "models.Szdz3convertconfig": {
  29373. "type": "object",
  29374. "required": [
  29375. "converttype",
  29376. "innergoodsid",
  29377. "outergoodscode"
  29378. ],
  29379. "properties": {
  29380. "canin": {
  29381. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29382. "type": "integer"
  29383. },
  29384. "canout": {
  29385. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29386. "type": "integer"
  29387. },
  29388. "converttype": {
  29389. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29390. "type": "integer"
  29391. },
  29392. "createtime": {
  29393. "description": "创建时间",
  29394. "type": "string"
  29395. },
  29396. "creatorid": {
  29397. "description": "创建人",
  29398. "type": "integer"
  29399. },
  29400. "daymaxvalue": {
  29401. "description": "当日最大转入限制",
  29402. "type": "number"
  29403. },
  29404. "freezedays": {
  29405. "description": "冻结天数 [5:花生米转交易]",
  29406. "type": "integer"
  29407. },
  29408. "innergoodsid": {
  29409. "description": "内部商品ID[交易]",
  29410. "type": "integer"
  29411. },
  29412. "inratio": {
  29413. "description": "目标值",
  29414. "type": "integer"
  29415. },
  29416. "modifierid": {
  29417. "description": "修改人",
  29418. "type": "integer"
  29419. },
  29420. "modifytime": {
  29421. "description": "修改时间",
  29422. "type": "string"
  29423. },
  29424. "outergoodscode": {
  29425. "description": "外部商品代码[JD\\PD]",
  29426. "type": "string"
  29427. },
  29428. "outratio": {
  29429. "description": "源值",
  29430. "type": "integer"
  29431. },
  29432. "pddecimalplace": {
  29433. "description": "PD小数位",
  29434. "type": "integer"
  29435. },
  29436. "timemaxvalue": {
  29437. "description": "单次最大转入限制",
  29438. "type": "number"
  29439. },
  29440. "timeminvalue": {
  29441. "description": "单次最小转入限制",
  29442. "type": "number"
  29443. }
  29444. }
  29445. },
  29446. "models.Szdz3searchwhitelist": {
  29447. "type": "object",
  29448. "required": [
  29449. "userid"
  29450. ],
  29451. "properties": {
  29452. "createtime": {
  29453. "description": "创建时间",
  29454. "type": "string"
  29455. },
  29456. "creatorid": {
  29457. "description": "创建人",
  29458. "type": "integer"
  29459. },
  29460. "modifierid": {
  29461. "description": "修改人",
  29462. "type": "integer"
  29463. },
  29464. "modifytime": {
  29465. "description": "修改时间",
  29466. "type": "string"
  29467. },
  29468. "userid": {
  29469. "description": "用户ID",
  29470. "type": "integer"
  29471. }
  29472. }
  29473. },
  29474. "models.TBGoods": {
  29475. "type": "object",
  29476. "properties": {
  29477. "agreeunit": {
  29478. "description": "合约乘数",
  29479. "type": "number"
  29480. },
  29481. "enumdicname": {
  29482. "description": "单位名称",
  29483. "type": "string"
  29484. },
  29485. "goodscode": {
  29486. "description": "商品代码(内部)",
  29487. "type": "string"
  29488. },
  29489. "goodsid": {
  29490. "description": "商品ID(自增ID SEQ_GOODS)",
  29491. "type": "integer"
  29492. },
  29493. "goodsname": {
  29494. "description": "商品名称",
  29495. "type": "string"
  29496. }
  29497. }
  29498. },
  29499. "models.TBGoodsGroup": {
  29500. "type": "object",
  29501. "properties": {
  29502. "GDLST": {
  29503. "description": "商品列表",
  29504. "type": "array",
  29505. "items": {
  29506. "$ref": "#/definitions/models.TBGoods"
  29507. }
  29508. },
  29509. "convertratio": {
  29510. "description": "折算系数",
  29511. "type": "number"
  29512. },
  29513. "enumdicname": {
  29514. "description": "单位名称",
  29515. "type": "string"
  29516. },
  29517. "exexchangecode": {
  29518. "description": "交易所代码",
  29519. "type": "string"
  29520. },
  29521. "exexchangename": {
  29522. "description": "交易所名称",
  29523. "type": "string"
  29524. },
  29525. "goodsgroupid": {
  29526. "description": "商品组ID(自增ID)",
  29527. "type": "integer"
  29528. },
  29529. "goodsgroupname": {
  29530. "description": "商品组名称",
  29531. "type": "string"
  29532. },
  29533. "goodunitid": {
  29534. "description": "报价单位ID",
  29535. "type": "integer"
  29536. }
  29537. }
  29538. },
  29539. "models.TBMiddleGoods": {
  29540. "type": "object",
  29541. "properties": {
  29542. "GPLST": {
  29543. "description": "期货品种列表",
  29544. "type": "array",
  29545. "items": {
  29546. "$ref": "#/definitions/models.TBGoodsGroup"
  29547. }
  29548. },
  29549. "WDLST": {
  29550. "description": "商品信息列表(现货品类)",
  29551. "type": "array",
  29552. "items": {
  29553. "$ref": "#/definitions/models.TBWrstandard"
  29554. }
  29555. },
  29556. "areauserid": {
  29557. "description": "机构用户ID",
  29558. "type": "integer"
  29559. },
  29560. "enumdicname": {
  29561. "description": "单位名称",
  29562. "type": "string"
  29563. },
  29564. "goodsunitid": {
  29565. "description": "套保品种单位id",
  29566. "type": "integer"
  29567. },
  29568. "middlegoodscode": {
  29569. "description": "套保品种代码",
  29570. "type": "string"
  29571. },
  29572. "middlegoodsid": {
  29573. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  29574. "type": "integer"
  29575. },
  29576. "middlegoodsname": {
  29577. "description": "套保品种名称",
  29578. "type": "string"
  29579. },
  29580. "needarbitrageratio": {
  29581. "description": "套利比率",
  29582. "type": "number"
  29583. },
  29584. "needhedgeratio": {
  29585. "description": "套保比率",
  29586. "type": "number"
  29587. }
  29588. }
  29589. },
  29590. "models.TBWrstandard": {
  29591. "type": "object",
  29592. "properties": {
  29593. "convertratio": {
  29594. "description": "折算系数",
  29595. "type": "number"
  29596. },
  29597. "deliverygoodsname": {
  29598. "description": "品种名称",
  29599. "type": "string"
  29600. },
  29601. "enumdicname": {
  29602. "description": "单位名称",
  29603. "type": "string"
  29604. },
  29605. "vatrate": {
  29606. "description": "增值税率",
  29607. "type": "number"
  29608. },
  29609. "wrstandardcode": {
  29610. "description": "现货商品代码",
  29611. "type": "string"
  29612. },
  29613. "wrstandardid": {
  29614. "description": "现货商品ID(SEQ_WRSTANDARD)",
  29615. "type": "integer"
  29616. },
  29617. "wrstandardname": {
  29618. "description": "现货商品名称",
  29619. "type": "string"
  29620. }
  29621. }
  29622. },
  29623. "models.Taaccount": {
  29624. "type": "object",
  29625. "required": [
  29626. "accountid",
  29627. "userid"
  29628. ],
  29629. "properties": {
  29630. "accountflag": {
  29631. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29632. "type": "integer"
  29633. },
  29634. "accountid": {
  29635. "description": "资金账户ID",
  29636. "type": "integer"
  29637. },
  29638. "accountname": {
  29639. "description": "账户名称",
  29640. "type": "string"
  29641. },
  29642. "balance": {
  29643. "description": "期初余额",
  29644. "type": "number"
  29645. },
  29646. "capitalbalance": {
  29647. "description": "本金余额[外部子账户实际出入金余额]",
  29648. "type": "number"
  29649. },
  29650. "changeflag": {
  29651. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29652. "type": "integer"
  29653. },
  29654. "changetime": {
  29655. "description": "账户状态变更时间",
  29656. "type": "string"
  29657. },
  29658. "closepl": {
  29659. "description": "今日平仓盈亏",
  29660. "type": "number"
  29661. },
  29662. "creditdecrease": {
  29663. "description": "今日授信减少",
  29664. "type": "number"
  29665. },
  29666. "creditincrease": {
  29667. "description": "今日授信增加",
  29668. "type": "number"
  29669. },
  29670. "curamount": {
  29671. "description": "总市值(从持仓中统计)",
  29672. "type": "number"
  29673. },
  29674. "currencyid": {
  29675. "description": "货币ID",
  29676. "type": "integer"
  29677. },
  29678. "currentbalance": {
  29679. "description": "期末余额",
  29680. "type": "number"
  29681. },
  29682. "freezecharge": {
  29683. "description": "手续费冻结",
  29684. "type": "number"
  29685. },
  29686. "freezemargin": {
  29687. "description": "冻结保证金",
  29688. "type": "number"
  29689. },
  29690. "fromaccountid": {
  29691. "description": "所属上级账户",
  29692. "type": "integer"
  29693. },
  29694. "inamount": {
  29695. "description": "今日入金金额(包括三方入金)",
  29696. "type": "number"
  29697. },
  29698. "ismain": {
  29699. "description": "是否母账号 0:不是母账户 1:是母账户",
  29700. "type": "integer"
  29701. },
  29702. "ismarketaccount": {
  29703. "description": "是否机构接单账号 0:不是 1:是",
  29704. "type": "integer"
  29705. },
  29706. "isreckonaccount": {
  29707. "description": "是否机构分润账号 0:不是 1:是",
  29708. "type": "integer"
  29709. },
  29710. "mortgagecredit": {
  29711. "description": "授信金额",
  29712. "type": "number"
  29713. },
  29714. "orifreezecharge": {
  29715. "description": "期初手续费冻结",
  29716. "type": "number"
  29717. },
  29718. "orifreezemargin": {
  29719. "description": "期初冻结保证金",
  29720. "type": "number"
  29721. },
  29722. "orimortgagecredit": {
  29723. "description": "期初授信金额",
  29724. "type": "number"
  29725. },
  29726. "oriothercredit": {
  29727. "description": "期初其它授信金额",
  29728. "type": "number"
  29729. },
  29730. "oriotherfreezemargin": {
  29731. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29732. "type": "number"
  29733. },
  29734. "orioutamountfreeze": {
  29735. "description": "期初出金冻结",
  29736. "type": "number"
  29737. },
  29738. "oriusedmargin": {
  29739. "description": "期初占用保证金",
  29740. "type": "number"
  29741. },
  29742. "othercredit": {
  29743. "description": "其它授信金额",
  29744. "type": "number"
  29745. },
  29746. "othercreditdecrease": {
  29747. "description": "今日其它授信减少",
  29748. "type": "number"
  29749. },
  29750. "othercreditincrease": {
  29751. "description": "今日其它授信增加",
  29752. "type": "number"
  29753. },
  29754. "otherfreezemargin": {
  29755. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29756. "type": "number"
  29757. },
  29758. "otherincome": {
  29759. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  29760. "type": "number"
  29761. },
  29762. "otherpay": {
  29763. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  29764. "type": "number"
  29765. },
  29766. "outamount": {
  29767. "description": "今日出金金额(包括三方出金)",
  29768. "type": "number"
  29769. },
  29770. "outamountfreeze": {
  29771. "description": "出金冻结",
  29772. "type": "number"
  29773. },
  29774. "outthreshold": {
  29775. "description": "出金阈值",
  29776. "type": "number"
  29777. },
  29778. "parentaccountid": {
  29779. "description": "所属根账号",
  29780. "type": "integer"
  29781. },
  29782. "paycharge": {
  29783. "description": "今日手续费支出",
  29784. "type": "number"
  29785. },
  29786. "relatedaccountstatus": {
  29787. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29788. "type": "integer"
  29789. },
  29790. "relateduserid": {
  29791. "description": "关联用户",
  29792. "type": "integer"
  29793. },
  29794. "remainamount": {
  29795. "description": "融资额(从融资合同中统计)",
  29796. "type": "number"
  29797. },
  29798. "serivcegroup": {
  29799. "description": "服务分组",
  29800. "type": "integer"
  29801. },
  29802. "signstatus": {
  29803. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29804. "type": "integer"
  29805. },
  29806. "sublevelpath": {
  29807. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29808. "type": "string"
  29809. },
  29810. "taaccounttype": {
  29811. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29812. "type": "integer"
  29813. },
  29814. "thirdinamount": {
  29815. "description": "今日三方入金",
  29816. "type": "number"
  29817. },
  29818. "thirdoutamount": {
  29819. "description": "今日三方出金",
  29820. "type": "number"
  29821. },
  29822. "tradestatus": {
  29823. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29824. "type": "integer"
  29825. },
  29826. "tradestatuschangetime": {
  29827. "description": "激活时间",
  29828. "type": "string"
  29829. },
  29830. "transferamount": {
  29831. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29832. "type": "number"
  29833. },
  29834. "usedmargin": {
  29835. "description": "占用保证金",
  29836. "type": "number"
  29837. },
  29838. "userid": {
  29839. "description": "用户ID",
  29840. "type": "integer"
  29841. }
  29842. }
  29843. },
  29844. "models.Tablecolumnconfig": {
  29845. "type": "object",
  29846. "required": [
  29847. "autoid"
  29848. ],
  29849. "properties": {
  29850. "aligntype": {
  29851. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29852. "type": "integer"
  29853. },
  29854. "autoid": {
  29855. "description": "AutoID",
  29856. "type": "integer"
  29857. },
  29858. "columnfield": {
  29859. "description": "列字段",
  29860. "type": "string"
  29861. },
  29862. "columntitle": {
  29863. "description": "列Title",
  29864. "type": "string"
  29865. },
  29866. "columnwidth": {
  29867. "description": "列宽",
  29868. "type": "string"
  29869. },
  29870. "fixed": {
  29871. "description": "固定类型 - 空 | left | right",
  29872. "type": "string"
  29873. },
  29874. "formatterstring": {
  29875. "description": "格式化字符",
  29876. "type": "string"
  29877. },
  29878. "formattertype": {
  29879. "description": "格式化类型",
  29880. "type": "string"
  29881. },
  29882. "groupname": {
  29883. "description": "表头分组名称",
  29884. "type": "string"
  29885. },
  29886. "ismerge": {
  29887. "description": "是否合并显示 - 0:不合并 1:合并",
  29888. "type": "integer"
  29889. },
  29890. "isshow": {
  29891. "description": "是否显示 - 0:不显示 1:显示",
  29892. "type": "integer"
  29893. },
  29894. "needsummary": {
  29895. "description": "是否需要汇总 - 0:不需要 1:需要",
  29896. "type": "integer"
  29897. },
  29898. "orderindex": {
  29899. "description": "顺序",
  29900. "type": "integer"
  29901. },
  29902. "remark": {
  29903. "description": "备注",
  29904. "type": "string"
  29905. },
  29906. "summarytype": {
  29907. "description": "汇总类型 - 1:加总 2:最后一个",
  29908. "type": "integer"
  29909. },
  29910. "tablekey": {
  29911. "description": "列表Key",
  29912. "type": "string"
  29913. }
  29914. }
  29915. },
  29916. "models.TjmdHolderDetailTradeInfo": {
  29917. "type": "object",
  29918. "properties": {
  29919. "agreeunit": {
  29920. "description": "合约乘数",
  29921. "type": "number"
  29922. },
  29923. "buyaccountid": {
  29924. "description": "买方账户",
  29925. "type": "string"
  29926. },
  29927. "buyusername": {
  29928. "description": "买方",
  29929. "type": "string"
  29930. },
  29931. "delistingdate": {
  29932. "description": "最后结算日",
  29933. "type": "string"
  29934. },
  29935. "expiredate": {
  29936. "description": "到期结算价定价日",
  29937. "type": "string"
  29938. },
  29939. "exprieprice": {
  29940. "description": "到期清算价格",
  29941. "type": "string"
  29942. },
  29943. "goodscode": {
  29944. "description": "商品代码",
  29945. "type": "string"
  29946. },
  29947. "goodsid": {
  29948. "description": "商品ID",
  29949. "type": "integer"
  29950. },
  29951. "goodsname": {
  29952. "description": "商品名称(交易标的)",
  29953. "type": "string"
  29954. },
  29955. "lasttradedate": {
  29956. "description": "最后交易日",
  29957. "type": "string"
  29958. },
  29959. "listingdate": {
  29960. "description": "开始交易日",
  29961. "type": "string"
  29962. },
  29963. "openprice": {
  29964. "description": "成交价",
  29965. "type": "number"
  29966. },
  29967. "openqty": {
  29968. "description": "交易数量",
  29969. "type": "integer"
  29970. },
  29971. "sellaccountid": {
  29972. "description": "卖方账户",
  29973. "type": "string"
  29974. },
  29975. "sellusername": {
  29976. "description": "卖方",
  29977. "type": "string"
  29978. },
  29979. "tradeamount": {
  29980. "description": "初始名义价值",
  29981. "type": "number"
  29982. },
  29983. "tradedate": {
  29984. "description": "成交日期",
  29985. "type": "string"
  29986. },
  29987. "tradeid": {
  29988. "description": "成交编号",
  29989. "type": "string"
  29990. }
  29991. }
  29992. },
  29993. "models.TjmdMarketSection": {
  29994. "type": "object",
  29995. "properties": {
  29996. "marketsectionid": {
  29997. "description": "市场版块ID(SEQ_MARKETSECTION)",
  29998. "type": "integer"
  29999. },
  30000. "marketsectionname": {
  30001. "description": "市场版块名称",
  30002. "type": "string"
  30003. },
  30004. "mlist": {
  30005. "description": "市场列表(板块下面有多少个市场)",
  30006. "type": "array",
  30007. "items": {
  30008. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  30009. }
  30010. },
  30011. "orderindex": {
  30012. "description": "排序",
  30013. "type": "integer"
  30014. },
  30015. "pictureurl": {
  30016. "description": "图片url, 规格(90*90)",
  30017. "type": "string"
  30018. },
  30019. "remark": {
  30020. "description": "备注",
  30021. "type": "string"
  30022. }
  30023. }
  30024. },
  30025. "models.TjmdMarketSectionConfig": {
  30026. "type": "object",
  30027. "properties": {
  30028. "auctionwrtype": {
  30029. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  30030. "type": "integer"
  30031. },
  30032. "canacceptquote": {
  30033. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30034. "type": "integer"
  30035. },
  30036. "cangoodsexercise": {
  30037. "description": "[期权]是否可现货行权- 0:否 1:是",
  30038. "type": "integer"
  30039. },
  30040. "cangoodsexercisetype": {
  30041. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30042. "type": "integer"
  30043. },
  30044. "canmanualquotestrike": {
  30045. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30046. "type": "integer"
  30047. },
  30048. "canmutistage": {
  30049. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30050. "type": "integer"
  30051. },
  30052. "canpreexercise": {
  30053. "description": "[期权]是否可预申报- 0:否 1:是",
  30054. "type": "integer"
  30055. },
  30056. "clearinterval": {
  30057. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30058. "type": "integer"
  30059. },
  30060. "contracttmp": {
  30061. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30062. "type": "string"
  30063. },
  30064. "exchareaid": {
  30065. "description": "所属交易所,可以没有",
  30066. "type": "integer"
  30067. },
  30068. "financemarketid": {
  30069. "description": "融资回购市场ID [仓单贸易]",
  30070. "type": "integer"
  30071. },
  30072. "goodstype": {
  30073. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30074. "type": "integer"
  30075. },
  30076. "hasrebate": {
  30077. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30078. "type": "integer"
  30079. },
  30080. "hastradecredit": {
  30081. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30082. "type": "integer"
  30083. },
  30084. "haswr": {
  30085. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30086. "type": "integer"
  30087. },
  30088. "isdeductmargin": {
  30089. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30090. "type": "integer"
  30091. },
  30092. "isrecordsource": {
  30093. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30094. "type": "integer"
  30095. },
  30096. "isreleasemargin": {
  30097. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30098. "type": "integer"
  30099. },
  30100. "isupdatereckonprice": {
  30101. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  30102. "type": "integer"
  30103. },
  30104. "listingmode": {
  30105. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  30106. "type": "integer"
  30107. },
  30108. "marginformula": {
  30109. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30110. "type": "integer"
  30111. },
  30112. "marginformula2": {
  30113. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30114. "type": "integer"
  30115. },
  30116. "marketid": {
  30117. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30118. "type": "integer"
  30119. },
  30120. "marketname": {
  30121. "description": "市场名称",
  30122. "type": "string"
  30123. },
  30124. "marketsectionid": {
  30125. "description": "市场版块ID(SEQ_MARKETSECTION)",
  30126. "type": "integer"
  30127. },
  30128. "marketserviceid": {
  30129. "description": "市场服务ID",
  30130. "type": "integer"
  30131. },
  30132. "marketstatus": {
  30133. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30134. "type": "integer"
  30135. },
  30136. "markettype": {
  30137. "description": "市场类型- 1:非交易服务 2:交易服务",
  30138. "type": "integer"
  30139. },
  30140. "matchermode": {
  30141. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  30142. "type": "integer"
  30143. },
  30144. "nowrquotaflag": {
  30145. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  30146. "type": "integer"
  30147. },
  30148. "openmethod": {
  30149. "description": "开盘模式 - 0 自动 1手动",
  30150. "type": "integer"
  30151. },
  30152. "orderindex": {
  30153. "description": "排序",
  30154. "type": "integer"
  30155. },
  30156. "otcuserid": {
  30157. "description": "场外期权做市商[场外期权]",
  30158. "type": "integer"
  30159. },
  30160. "outersynctime": {
  30161. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30162. "type": "string"
  30163. },
  30164. "paylaterflag": {
  30165. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  30166. "type": "integer"
  30167. },
  30168. "pendingflag": {
  30169. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30170. "type": "integer"
  30171. },
  30172. "pendingtime": {
  30173. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30174. "type": "string"
  30175. },
  30176. "performancetempid": {
  30177. "description": "履约计划模板ID - 作废",
  30178. "type": "integer"
  30179. },
  30180. "premiumquotemode": {
  30181. "description": "权利金报价方式 - 1:自动 2:手动",
  30182. "type": "integer"
  30183. },
  30184. "rebateratio": {
  30185. "description": "返利比率[竞价式]",
  30186. "type": "number"
  30187. },
  30188. "reckonorder": {
  30189. "description": "结算顺序",
  30190. "type": "integer"
  30191. },
  30192. "reckonpricealgorithm": {
  30193. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30194. "type": "integer"
  30195. },
  30196. "reckonpriceparam": {
  30197. "description": "结算价参数",
  30198. "type": "integer"
  30199. },
  30200. "reckontime": {
  30201. "description": "结算时间[通道交易-对冲](HH:mm)",
  30202. "type": "string"
  30203. },
  30204. "roleprioritytype": {
  30205. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30206. "type": "integer"
  30207. },
  30208. "selllistingauditflag": {
  30209. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30210. "type": "integer"
  30211. },
  30212. "trademarkettype": {
  30213. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30214. "type": "integer"
  30215. },
  30216. "trademode": {
  30217. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30218. "type": "integer"
  30219. },
  30220. "tradeproperty": {
  30221. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30222. "type": "integer"
  30223. },
  30224. "tradetype": {
  30225. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30226. "type": "integer"
  30227. },
  30228. "updatereckonpriceinterval": {
  30229. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  30230. "type": "integer"
  30231. }
  30232. }
  30233. },
  30234. "models.TjmdQuoteGoods": {
  30235. "type": "object",
  30236. "properties": {
  30237. "buyqty": {
  30238. "description": "买量(暂不做, 无值, 保留字段)",
  30239. "type": "number"
  30240. },
  30241. "decimalplace": {
  30242. "description": "报价小数位",
  30243. "type": "integer"
  30244. },
  30245. "goodscode": {
  30246. "description": "合约代码",
  30247. "type": "string"
  30248. },
  30249. "goodsgroupid": {
  30250. "description": "商品组ID(自增ID)",
  30251. "type": "integer"
  30252. },
  30253. "goodsgroupname": {
  30254. "description": "商品组名称",
  30255. "type": "string"
  30256. },
  30257. "goodsid": {
  30258. "description": "合约id",
  30259. "type": "integer"
  30260. },
  30261. "goodsname": {
  30262. "description": "合约名称",
  30263. "type": "string"
  30264. },
  30265. "refgoodscode": {
  30266. "description": "标的合约代码",
  30267. "type": "string"
  30268. },
  30269. "refgoodsid": {
  30270. "description": "标的合约id",
  30271. "type": "integer"
  30272. },
  30273. "refgoodsname": {
  30274. "description": "标的合约名称",
  30275. "type": "string"
  30276. },
  30277. "sellqty": {
  30278. "description": "卖量(暂不做, 无值, 保留字段)",
  30279. "type": "number"
  30280. }
  30281. }
  30282. },
  30283. "models.TjmdTodayAccountMargin": {
  30284. "type": "object",
  30285. "properties": {
  30286. "accountid": {
  30287. "description": "账号ID",
  30288. "type": "integer"
  30289. },
  30290. "goodsid": {
  30291. "description": "商品ID",
  30292. "type": "integer"
  30293. },
  30294. "infoc": {
  30295. "description": "配置参数",
  30296. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  30297. },
  30298. "marketid": {
  30299. "description": "市场ID",
  30300. "type": "integer"
  30301. }
  30302. }
  30303. },
  30304. "models.TjmdTradeOrderDetail": {
  30305. "type": "object",
  30306. "properties": {
  30307. "buyorsell": {
  30308. "description": "买卖方向 0-买 1-卖",
  30309. "type": "integer"
  30310. },
  30311. "goodsid": {
  30312. "description": "商品id",
  30313. "type": "integer"
  30314. },
  30315. "marketmaxsub": {
  30316. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30317. "type": "number"
  30318. },
  30319. "orderid": {
  30320. "description": "委托单号",
  30321. "type": "string"
  30322. },
  30323. "orderprice": {
  30324. "description": "期初均价",
  30325. "type": "number"
  30326. },
  30327. "orderqty": {
  30328. "description": "委托数量",
  30329. "type": "integer"
  30330. },
  30331. "pricemode": {
  30332. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30333. "type": "integer"
  30334. },
  30335. "userid": {
  30336. "description": "用户id",
  30337. "type": "integer"
  30338. },
  30339. "username": {
  30340. "description": "用户名称(已脱敏)",
  30341. "type": "string"
  30342. }
  30343. }
  30344. },
  30345. "models.TjmdTransferApply": {
  30346. "type": "object",
  30347. "properties": {
  30348. "applyid": {
  30349. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30350. "type": "integer"
  30351. },
  30352. "applystatus": {
  30353. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30354. "type": "integer"
  30355. },
  30356. "applytime": {
  30357. "description": "申请时间(时间)",
  30358. "type": "string"
  30359. },
  30360. "auditremark": {
  30361. "description": "审核备注(拒绝原因?)",
  30362. "type": "string"
  30363. },
  30364. "begindate": {
  30365. "description": "开始交易日(yyyymmdd)",
  30366. "type": "string"
  30367. },
  30368. "buyorsell": {
  30369. "description": "买卖 - 0:买 1:卖",
  30370. "type": "integer"
  30371. },
  30372. "enddate": {
  30373. "description": "结束交易日(yyyymmdd)",
  30374. "type": "string"
  30375. },
  30376. "goodscode": {
  30377. "description": "商品代码",
  30378. "type": "string"
  30379. },
  30380. "goodsid": {
  30381. "description": "商品ID",
  30382. "type": "integer"
  30383. },
  30384. "goodsname": {
  30385. "description": "商品名称",
  30386. "type": "string"
  30387. },
  30388. "marketid": {
  30389. "description": "市场ID",
  30390. "type": "integer"
  30391. },
  30392. "qty": {
  30393. "description": "期初均价",
  30394. "type": "number"
  30395. },
  30396. "tradeid": {
  30397. "description": "成交单号(关联持仓)",
  30398. "type": "string"
  30399. },
  30400. "transferamount": {
  30401. "description": "转让总金额(金额)",
  30402. "type": "number"
  30403. },
  30404. "transferprice": {
  30405. "description": "转让价格(协议价格)",
  30406. "type": "number"
  30407. }
  30408. }
  30409. },
  30410. "models.TradeHolderDetail": {
  30411. "type": "object",
  30412. "properties": {
  30413. "accountid": {
  30414. "description": "账号ID",
  30415. "type": "integer"
  30416. },
  30417. "agreeunit": {
  30418. "description": "合约乘数",
  30419. "type": "number"
  30420. },
  30421. "buyorsell": {
  30422. "description": "方向 - 0:买 1:卖",
  30423. "type": "integer"
  30424. },
  30425. "currencyid": {
  30426. "description": "商品币种id",
  30427. "type": "integer"
  30428. },
  30429. "currencyname": {
  30430. "description": "币种名称",
  30431. "type": "string"
  30432. },
  30433. "decimalplace": {
  30434. "description": "商品价格小数位",
  30435. "type": "integer"
  30436. },
  30437. "enumdicname": {
  30438. "description": "商品单位名称",
  30439. "type": "string"
  30440. },
  30441. "expirecycle": {
  30442. "description": "行权周期(天) - 1:滚动行权时填写",
  30443. "type": "integer"
  30444. },
  30445. "expiredate": {
  30446. "description": "行权日(yyyyMMdd) - 到期日",
  30447. "type": "string"
  30448. },
  30449. "expiretype": {
  30450. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30451. "type": "integer"
  30452. },
  30453. "freezeqty": {
  30454. "description": "期初均价",
  30455. "type": "number"
  30456. },
  30457. "goodscode": {
  30458. "description": "商品代码",
  30459. "type": "string"
  30460. },
  30461. "goodsid": {
  30462. "description": "商品ID",
  30463. "type": "integer"
  30464. },
  30465. "goodsname": {
  30466. "description": "商品名称",
  30467. "type": "string"
  30468. },
  30469. "goodunitid": {
  30470. "description": "商品单位id",
  30471. "type": "integer"
  30472. },
  30473. "holderamount": {
  30474. "description": "持仓金额",
  30475. "type": "number"
  30476. },
  30477. "holdercredit": {
  30478. "description": "持仓授信金额",
  30479. "type": "number"
  30480. },
  30481. "holderdays": {
  30482. "description": "剩余冻结天数",
  30483. "type": "integer"
  30484. },
  30485. "holderprice": {
  30486. "description": "持仓价格",
  30487. "type": "number"
  30488. },
  30489. "holderqty": {
  30490. "description": "期初均价",
  30491. "type": "number"
  30492. },
  30493. "isconfirmexercise": {
  30494. "description": "是否确认行权- 0:否 1:是",
  30495. "type": "integer"
  30496. },
  30497. "ispreexercise": {
  30498. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30499. "type": "integer"
  30500. },
  30501. "marketid": {
  30502. "description": "市场id",
  30503. "type": "integer"
  30504. },
  30505. "marketname": {
  30506. "description": "市场名称",
  30507. "type": "string"
  30508. },
  30509. "openprice": {
  30510. "description": "建仓价格",
  30511. "type": "number"
  30512. },
  30513. "openqty": {
  30514. "description": "期初均价",
  30515. "type": "number"
  30516. },
  30517. "optiontype": {
  30518. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30519. "type": "integer"
  30520. },
  30521. "preexerciseprice": {
  30522. "description": "预申报价格",
  30523. "type": "number"
  30524. },
  30525. "premium": {
  30526. "description": "权利金",
  30527. "type": "number"
  30528. },
  30529. "qtydecimalplace": {
  30530. "description": "商品成交量小数位",
  30531. "type": "integer"
  30532. },
  30533. "refgoodscode": {
  30534. "description": "标的合约代码",
  30535. "type": "string"
  30536. },
  30537. "refgoodsid": {
  30538. "description": "标的合约id",
  30539. "type": "integer"
  30540. },
  30541. "releaseamount": {
  30542. "description": "释放持仓金额",
  30543. "type": "number"
  30544. },
  30545. "releaseholdercredit": {
  30546. "description": "释放持仓授信金额",
  30547. "type": "number"
  30548. },
  30549. "taname": {
  30550. "description": "资金账号名称",
  30551. "type": "string"
  30552. },
  30553. "tradeamount": {
  30554. "description": "成交金额",
  30555. "type": "number"
  30556. },
  30557. "tradedate": {
  30558. "description": "交易日(yyyyMMdd)",
  30559. "type": "string"
  30560. },
  30561. "tradeid": {
  30562. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30563. "type": "string"
  30564. },
  30565. "trademode": {
  30566. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30567. "type": "integer"
  30568. },
  30569. "tradeproperty": {
  30570. "description": "交易属性",
  30571. "type": "integer"
  30572. },
  30573. "tradetime": {
  30574. "description": "交易时间",
  30575. "type": "string"
  30576. },
  30577. "userid": {
  30578. "description": "用户id",
  30579. "type": "integer"
  30580. },
  30581. "username": {
  30582. "description": "用户名称",
  30583. "type": "string"
  30584. }
  30585. }
  30586. },
  30587. "models.Unlinkermcphedgeplan": {
  30588. "type": "object",
  30589. "required": [
  30590. "areauserid"
  30591. ],
  30592. "properties": {
  30593. "accountid": {
  30594. "description": "期货账户ID - 作废",
  30595. "type": "integer"
  30596. },
  30597. "accountname": {
  30598. "description": "交易用户",
  30599. "type": "string"
  30600. },
  30601. "applyid": {
  30602. "description": "申请人",
  30603. "type": "integer"
  30604. },
  30605. "applysrc": {
  30606. "description": "申请来源 - 1:管理端 2:终端",
  30607. "type": "integer"
  30608. },
  30609. "applytime": {
  30610. "description": "申请时间",
  30611. "type": "string"
  30612. },
  30613. "areauserid": {
  30614. "description": "[企业ID]机构ID",
  30615. "type": "integer"
  30616. },
  30617. "auditid": {
  30618. "description": "审核人",
  30619. "type": "integer"
  30620. },
  30621. "auditremark": {
  30622. "description": "审核备注",
  30623. "type": "string"
  30624. },
  30625. "auditsrc": {
  30626. "description": "审核来源 - 1:管理端 2:终端",
  30627. "type": "integer"
  30628. },
  30629. "audittime": {
  30630. "description": "审核时间",
  30631. "type": "string"
  30632. },
  30633. "audittradedate": {
  30634. "description": "审核交易日(yyyyMMdd)",
  30635. "type": "string"
  30636. },
  30637. "biztype": {
  30638. "description": "业务类型 - 1:套保",
  30639. "type": "integer"
  30640. },
  30641. "contracttype": {
  30642. "description": "计划类型 - 1:采购 -1:销售",
  30643. "type": "integer"
  30644. },
  30645. "convertfactor": {
  30646. "description": "标仓系数 - 作废",
  30647. "type": "number"
  30648. },
  30649. "createtime": {
  30650. "description": "创建时间",
  30651. "type": "string"
  30652. },
  30653. "currencyid": {
  30654. "description": "结算币种ID - 作废",
  30655. "type": "integer"
  30656. },
  30657. "deliverygoodsid": {
  30658. "description": "现货品种ID",
  30659. "type": "integer"
  30660. },
  30661. "enumdicname": {
  30662. "description": "结算币种",
  30663. "type": "string"
  30664. },
  30665. "hedgeplanid": {
  30666. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  30667. "type": "string"
  30668. },
  30669. "hedgeplanno": {
  30670. "description": "[计划编号]套保计划编号,模糊查询",
  30671. "type": "string"
  30672. },
  30673. "hedgeplanstatus": {
  30674. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  30675. "type": "integer"
  30676. },
  30677. "isrelated": {
  30678. "description": "是否已关联计划项目 - 0:否 1:是",
  30679. "type": "integer"
  30680. },
  30681. "planqty": {
  30682. "description": "[计划量]计划数量",
  30683. "type": "number"
  30684. },
  30685. "plantime": {
  30686. "description": "计划时间",
  30687. "type": "string"
  30688. },
  30689. "producttype": {
  30690. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  30691. "type": "integer"
  30692. },
  30693. "remark": {
  30694. "description": "备注",
  30695. "type": "string"
  30696. },
  30697. "spotgoodsdesc": {
  30698. "description": "商品型号",
  30699. "type": "string"
  30700. },
  30701. "tradedate": {
  30702. "description": "交易日(yyyyMMdd)",
  30703. "type": "string"
  30704. },
  30705. "tradeuserid": {
  30706. "description": "交易用户ID",
  30707. "type": "integer"
  30708. },
  30709. "updatetime": {
  30710. "description": "更新时间",
  30711. "type": "string"
  30712. },
  30713. "wrstandardid": {
  30714. "description": "现货商品ID",
  30715. "type": "integer"
  30716. },
  30717. "wrstandardname": {
  30718. "description": "现货商品,模糊查询",
  30719. "type": "string"
  30720. }
  30721. }
  30722. },
  30723. "models.Useraccount": {
  30724. "type": "object",
  30725. "required": [
  30726. "userid"
  30727. ],
  30728. "properties": {
  30729. "accountname": {
  30730. "description": "账户名称(机构名称)",
  30731. "type": "string"
  30732. },
  30733. "accountstatus": {
  30734. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30735. "type": "integer"
  30736. },
  30737. "applysrc": {
  30738. "description": "申请来源 - 1:管理端 2:终端",
  30739. "type": "integer"
  30740. },
  30741. "auditremark": {
  30742. "description": "审核备注",
  30743. "type": "string"
  30744. },
  30745. "auditsrc": {
  30746. "description": "审核来源 - 1:管理端 2:终端",
  30747. "type": "integer"
  30748. },
  30749. "audittime": {
  30750. "description": "审核时间",
  30751. "type": "string"
  30752. },
  30753. "audituserid": {
  30754. "description": "审核人",
  30755. "type": "integer"
  30756. },
  30757. "broker": {
  30758. "description": "所属经纪人ID",
  30759. "type": "integer"
  30760. },
  30761. "canceltime": {
  30762. "description": "销户时间",
  30763. "type": "string"
  30764. },
  30765. "canceluserid": {
  30766. "description": "销户人",
  30767. "type": "integer"
  30768. },
  30769. "canrecommend": {
  30770. "description": "是否可推荐 - 0:不可 1;可",
  30771. "type": "integer"
  30772. },
  30773. "createtime": {
  30774. "description": "创建时间",
  30775. "type": "string"
  30776. },
  30777. "creatorid": {
  30778. "description": "创建人",
  30779. "type": "integer"
  30780. },
  30781. "hasauth": {
  30782. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30783. "type": "integer"
  30784. },
  30785. "isanonymous": {
  30786. "description": "是否匿名下单 - 0:否 1:是",
  30787. "type": "integer"
  30788. },
  30789. "maxinvestornum": {
  30790. "description": "最大用户数(经纪会员下投资者个数)",
  30791. "type": "integer"
  30792. },
  30793. "memberuserid": {
  30794. "description": "所属会员ID",
  30795. "type": "integer"
  30796. },
  30797. "modifierid": {
  30798. "description": "修改人",
  30799. "type": "integer"
  30800. },
  30801. "modifyremark": {
  30802. "description": "变更备注",
  30803. "type": "string"
  30804. },
  30805. "modifystatus": {
  30806. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  30807. "type": "integer"
  30808. },
  30809. "modifytime": {
  30810. "description": "修改时间",
  30811. "type": "string"
  30812. },
  30813. "parenttopuser": {
  30814. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30815. "type": "string"
  30816. },
  30817. "parentuserid": {
  30818. "description": "所属机构ID",
  30819. "type": "integer"
  30820. },
  30821. "reckonaccountid": {
  30822. "description": "默认结算资金账号ID(机构分润使用) 作废",
  30823. "type": "integer"
  30824. },
  30825. "refercount": {
  30826. "description": "推荐总人数",
  30827. "type": "integer"
  30828. },
  30829. "refereeuserid": {
  30830. "description": "推荐人ID",
  30831. "type": "integer"
  30832. },
  30833. "refernum": {
  30834. "description": "推荐码",
  30835. "type": "string"
  30836. },
  30837. "rootuserid": {
  30838. "description": "根用户ID",
  30839. "type": "integer"
  30840. },
  30841. "subaccountlevel": {
  30842. "description": "子账户层数",
  30843. "type": "integer"
  30844. },
  30845. "subarealevelpath": {
  30846. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30847. "type": "string"
  30848. },
  30849. "userid": {
  30850. "description": "用户ID",
  30851. "type": "integer"
  30852. },
  30853. "usertype": {
  30854. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30855. "type": "integer"
  30856. }
  30857. }
  30858. },
  30859. "models.Userfavoritegoods": {
  30860. "type": "object",
  30861. "required": [
  30862. "goodsid"
  30863. ],
  30864. "properties": {
  30865. "goodsid": {
  30866. "description": "商品ID",
  30867. "type": "integer"
  30868. }
  30869. }
  30870. },
  30871. "models.Userinfo": {
  30872. "type": "object",
  30873. "required": [
  30874. "userid"
  30875. ],
  30876. "properties": {
  30877. "address": {
  30878. "description": "地址",
  30879. "type": "string"
  30880. },
  30881. "attachment1": {
  30882. "description": "附件1",
  30883. "type": "string"
  30884. },
  30885. "attachment2": {
  30886. "description": "附件2",
  30887. "type": "string"
  30888. },
  30889. "bankaccount": {
  30890. "description": "银行帐号 (加密存储)",
  30891. "type": "string"
  30892. },
  30893. "bankaccountname": {
  30894. "description": "收款人名称",
  30895. "type": "string"
  30896. },
  30897. "bankcardfrontphotourl": {
  30898. "description": "银行卡正面照地址",
  30899. "type": "string"
  30900. },
  30901. "bankid": {
  30902. "description": "银行编码",
  30903. "type": "string"
  30904. },
  30905. "bankname": {
  30906. "description": "银行名称",
  30907. "type": "string"
  30908. },
  30909. "biznature": {
  30910. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  30911. "type": "integer"
  30912. },
  30913. "bizscope": {
  30914. "description": "企业经营范围(企业)",
  30915. "type": "string"
  30916. },
  30917. "cardbackphotourl": {
  30918. "description": "证件背面图片地址",
  30919. "type": "string"
  30920. },
  30921. "cardfrontphotourl": {
  30922. "description": "证件正面图片地址",
  30923. "type": "string"
  30924. },
  30925. "cardnum": {
  30926. "description": "证件号码(加密存储)",
  30927. "type": "string"
  30928. },
  30929. "cardtypeid": {
  30930. "description": "证件类型ID",
  30931. "type": "integer"
  30932. },
  30933. "cityid": {
  30934. "description": "市",
  30935. "type": "integer"
  30936. },
  30937. "company": {
  30938. "description": "公司(个人)",
  30939. "type": "string"
  30940. },
  30941. "contactname": {
  30942. "description": "联系人",
  30943. "type": "string"
  30944. },
  30945. "countryid": {
  30946. "description": "国家",
  30947. "type": "integer"
  30948. },
  30949. "createtime": {
  30950. "description": "创建时间",
  30951. "type": "string"
  30952. },
  30953. "creatorid": {
  30954. "description": "创建人",
  30955. "type": "integer"
  30956. },
  30957. "customername": {
  30958. "description": "客户名称(企业名称)",
  30959. "type": "string"
  30960. },
  30961. "districtid": {
  30962. "description": "地区",
  30963. "type": "integer"
  30964. },
  30965. "email": {
  30966. "description": "邮件(加密存储)",
  30967. "type": "string"
  30968. },
  30969. "fax": {
  30970. "description": "传真(加密存储)",
  30971. "type": "string"
  30972. },
  30973. "halfbodyphotourl": {
  30974. "description": "半身照地址",
  30975. "type": "string"
  30976. },
  30977. "hasencrypt": {
  30978. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30979. "type": "integer"
  30980. },
  30981. "headurl": {
  30982. "description": "头像地址",
  30983. "type": "string"
  30984. },
  30985. "legalcardbackphotourl": {
  30986. "description": "法人身份证背面照地址",
  30987. "type": "string"
  30988. },
  30989. "legalcardfrontphotourl": {
  30990. "description": "法人身份证正面照地址",
  30991. "type": "string"
  30992. },
  30993. "legalpersonname": {
  30994. "description": "法人姓名(企业)",
  30995. "type": "string"
  30996. },
  30997. "mobile": {
  30998. "description": "手机号码(加密存储)",
  30999. "type": "string"
  31000. },
  31001. "mobile2": {
  31002. "description": "手机号码[明文-尚志]",
  31003. "type": "string"
  31004. },
  31005. "modifierid": {
  31006. "description": "修改人",
  31007. "type": "integer"
  31008. },
  31009. "modifiertime": {
  31010. "description": "修改时间",
  31011. "type": "string"
  31012. },
  31013. "needinvoice": {
  31014. "description": "是否需要发票 - 0:不需要 1:需要",
  31015. "type": "integer"
  31016. },
  31017. "nickname": {
  31018. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31019. "type": "string"
  31020. },
  31021. "openmode": {
  31022. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31023. "type": "integer"
  31024. },
  31025. "otherurl": {
  31026. "description": "其它图片地址[使用分号分隔]",
  31027. "type": "string"
  31028. },
  31029. "postalcode": {
  31030. "description": "邮政编码",
  31031. "type": "string"
  31032. },
  31033. "provinceid": {
  31034. "description": "省",
  31035. "type": "integer"
  31036. },
  31037. "qq": {
  31038. "description": "QQ(加密存储",
  31039. "type": "string"
  31040. },
  31041. "remark": {
  31042. "description": "备注",
  31043. "type": "string"
  31044. },
  31045. "sex": {
  31046. "description": "用户性别 0: 女 1: 男",
  31047. "type": "integer"
  31048. },
  31049. "signpdfurl": {
  31050. "description": "签约pdf文件",
  31051. "type": "string"
  31052. },
  31053. "telphone": {
  31054. "description": "联系电话(加密存储)",
  31055. "type": "string"
  31056. },
  31057. "userid": {
  31058. "description": "用户ID",
  31059. "type": "integer"
  31060. },
  31061. "userinfotype": {
  31062. "description": "用户信息类型 - 1:个人 2:企业",
  31063. "type": "integer"
  31064. },
  31065. "userstatus": {
  31066. "description": "用户状态 - 1:正常 2:注销",
  31067. "type": "integer"
  31068. },
  31069. "usertype": {
  31070. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31071. "type": "integer"
  31072. },
  31073. "wechat": {
  31074. "description": "微信(加密存储)",
  31075. "type": "string"
  31076. },
  31077. "wskhinfo": {
  31078. "description": "开户申请信息(JSON)",
  31079. "type": "string"
  31080. }
  31081. }
  31082. },
  31083. "models.WRSConverTDetail": {
  31084. "type": "object",
  31085. "properties": {
  31086. "convertratio": {
  31087. "description": "套保系数",
  31088. "type": "number"
  31089. },
  31090. "deliverygoodscode": {
  31091. "description": "现货商品代码",
  31092. "type": "string"
  31093. },
  31094. "deliverygoodsid": {
  31095. "description": "现货品种ID",
  31096. "type": "integer"
  31097. },
  31098. "deliverygoodsname": {
  31099. "description": "现货商品名称",
  31100. "type": "string"
  31101. },
  31102. "enumdicname": {
  31103. "description": "单位名称",
  31104. "type": "string"
  31105. },
  31106. "goodsunitid": {
  31107. "description": "套保品种单位id",
  31108. "type": "integer"
  31109. },
  31110. "middlegoodscode": {
  31111. "description": "套保品种代码",
  31112. "type": "string"
  31113. },
  31114. "middlegoodsid": {
  31115. "description": "套保品种ID",
  31116. "type": "integer"
  31117. },
  31118. "middlegoodsname": {
  31119. "description": "套保品种名称",
  31120. "type": "string"
  31121. },
  31122. "modifytime": {
  31123. "description": "修改时间",
  31124. "type": "string"
  31125. },
  31126. "wrstandardid": {
  31127. "description": "品类ID",
  31128. "type": "integer"
  31129. }
  31130. }
  31131. },
  31132. "models.WRStandardInfo": {
  31133. "type": "object",
  31134. "required": [
  31135. "wrstandardid"
  31136. ],
  31137. "properties": {
  31138. "areauserid": {
  31139. "description": "所属机构",
  31140. "type": "integer"
  31141. },
  31142. "convertfactor": {
  31143. "description": "标仓系数",
  31144. "type": "number"
  31145. },
  31146. "createtime": {
  31147. "description": "创建时间",
  31148. "type": "string"
  31149. },
  31150. "creatorid": {
  31151. "description": "创建人",
  31152. "type": "integer"
  31153. },
  31154. "deliverygoodsid": {
  31155. "description": "品种ID",
  31156. "type": "integer"
  31157. },
  31158. "deliverygoodsname": {
  31159. "description": "交割商品名称",
  31160. "type": "string"
  31161. },
  31162. "factoryitemjson": {
  31163. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31164. "type": "string"
  31165. },
  31166. "isvalid": {
  31167. "description": "是否有效 - 0:无效 1:有效",
  31168. "type": "integer"
  31169. },
  31170. "minivalue": {
  31171. "description": "最小变动值",
  31172. "type": "integer"
  31173. },
  31174. "minivaluedp": {
  31175. "description": "最小变动值小数位",
  31176. "type": "integer"
  31177. },
  31178. "realminivalue": {
  31179. "description": "实际最小变动值",
  31180. "type": "integer"
  31181. },
  31182. "realminivaluedp": {
  31183. "description": "实际最小变动值小数位",
  31184. "type": "integer"
  31185. },
  31186. "remark": {
  31187. "description": "备注",
  31188. "type": "string"
  31189. },
  31190. "unitid": {
  31191. "description": "单位ID",
  31192. "type": "integer"
  31193. },
  31194. "unitname": {
  31195. "description": "单位",
  31196. "type": "string"
  31197. },
  31198. "updatetime": {
  31199. "description": "更新时间",
  31200. "type": "string"
  31201. },
  31202. "updatorid": {
  31203. "description": "更新人",
  31204. "type": "integer"
  31205. },
  31206. "wrsstatus": {
  31207. "description": "状态 - 作废 - 0:未激活 1:正常",
  31208. "type": "integer"
  31209. },
  31210. "wrstandardcode": {
  31211. "description": "现货品类代码",
  31212. "type": "string"
  31213. },
  31214. "wrstandardid": {
  31215. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31216. "type": "integer"
  31217. },
  31218. "wrstandardname": {
  31219. "description": "现货品类名称",
  31220. "type": "string"
  31221. }
  31222. }
  31223. },
  31224. "models.WRTradeBargainApply": {
  31225. "type": "object",
  31226. "properties": {
  31227. "accountid": {
  31228. "description": "摘牌资金账号",
  31229. "type": "integer"
  31230. },
  31231. "applyprice": {
  31232. "description": "申请价格(议价价格)",
  31233. "type": "string"
  31234. },
  31235. "applyqty": {
  31236. "description": "摘牌数量(议价数量)",
  31237. "type": "number"
  31238. },
  31239. "applyremark": {
  31240. "description": "申请备注",
  31241. "type": "string"
  31242. },
  31243. "applystatus": {
  31244. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31245. "type": "integer"
  31246. },
  31247. "applytime": {
  31248. "description": "申请时间(议价时间)",
  31249. "type": "string"
  31250. },
  31251. "begindate": {
  31252. "description": "开始交易日(yyyymmdd)",
  31253. "type": "string"
  31254. },
  31255. "buyorsell": {
  31256. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31257. "type": "integer"
  31258. },
  31259. "confirmremark": {
  31260. "description": "确认备注",
  31261. "type": "string"
  31262. },
  31263. "confirmtime": {
  31264. "description": "确认时间",
  31265. "type": "string"
  31266. },
  31267. "confirmuserid": {
  31268. "description": "确认人",
  31269. "type": "integer"
  31270. },
  31271. "deliverygoodscode": {
  31272. "description": "品种代码",
  31273. "type": "string"
  31274. },
  31275. "deliverygoodsid": {
  31276. "description": "品种ID",
  31277. "type": "integer"
  31278. },
  31279. "deliverygoodsname": {
  31280. "description": "品种名称",
  31281. "type": "string"
  31282. },
  31283. "deliverymonth": {
  31284. "description": "交收月",
  31285. "type": "string"
  31286. },
  31287. "enddate": {
  31288. "description": "结束交易日(yyyymmdd)",
  31289. "type": "string"
  31290. },
  31291. "enumdicname": {
  31292. "description": "单位名称",
  31293. "type": "string"
  31294. },
  31295. "fixedprice": {
  31296. "description": "期初均价",
  31297. "type": "number"
  31298. },
  31299. "handlestatus": {
  31300. "description": "处理状态",
  31301. "type": "integer"
  31302. },
  31303. "marginvalue": {
  31304. "description": "期初均价",
  31305. "type": "number"
  31306. },
  31307. "marketid": {
  31308. "description": "市场ID",
  31309. "type": "integer"
  31310. },
  31311. "matchaccountid": {
  31312. "description": "挂牌方资金账号",
  31313. "type": "integer"
  31314. },
  31315. "matchuserid": {
  31316. "description": "挂牌方用户id",
  31317. "type": "integer"
  31318. },
  31319. "matchusername": {
  31320. "description": "挂牌方用户名称(已脱敏)",
  31321. "type": "string"
  31322. },
  31323. "minivalue": {
  31324. "description": "现货商品最小变动值",
  31325. "type": "integer"
  31326. },
  31327. "optioncompare": {
  31328. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31329. "type": "string"
  31330. },
  31331. "orderqty": {
  31332. "description": "挂牌数量",
  31333. "type": "integer"
  31334. },
  31335. "refprice": {
  31336. "description": "参考价格",
  31337. "type": "string"
  31338. },
  31339. "retcode": {
  31340. "description": "委托返回代码",
  31341. "type": "integer"
  31342. },
  31343. "templatename": {
  31344. "description": "履约方式(履约模板名称)",
  31345. "type": "string"
  31346. },
  31347. "tradedate": {
  31348. "description": "交易日(yyyyMMdd)",
  31349. "type": "string"
  31350. },
  31351. "userid": {
  31352. "description": "摘牌人用户ID(议价人ID)",
  31353. "type": "integer"
  31354. },
  31355. "username": {
  31356. "description": "议价人名字(已脱敏)",
  31357. "type": "string"
  31358. },
  31359. "validtime": {
  31360. "description": "有效期限",
  31361. "type": "string"
  31362. },
  31363. "warehouseid": {
  31364. "description": "仓库ID",
  31365. "type": "integer"
  31366. },
  31367. "warehousename": {
  31368. "description": "仓库名称",
  31369. "type": "string"
  31370. },
  31371. "wrbargainid": {
  31372. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31373. "type": "string"
  31374. },
  31375. "wrfactortypeid": {
  31376. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31377. "type": "string"
  31378. },
  31379. "wrfactortypename": {
  31380. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31381. "type": "string"
  31382. },
  31383. "wrstandardcode": {
  31384. "description": "现货商品代码",
  31385. "type": "string"
  31386. },
  31387. "wrstandardid": {
  31388. "description": "现货商品ID",
  31389. "type": "integer"
  31390. },
  31391. "wrstandardname": {
  31392. "description": "商品名称",
  31393. "type": "string"
  31394. },
  31395. "wrtradeorderid": {
  31396. "description": "关联委托单ID",
  31397. "type": "string"
  31398. },
  31399. "wrtypename": {
  31400. "description": "商品",
  31401. "type": "string"
  31402. }
  31403. }
  31404. },
  31405. "models.Warehouseinfo": {
  31406. "type": "object",
  31407. "required": [
  31408. "autoid",
  31409. "warehousecode"
  31410. ],
  31411. "properties": {
  31412. "address": {
  31413. "description": "详细地址",
  31414. "type": "string"
  31415. },
  31416. "areauserid": {
  31417. "description": "所属机构",
  31418. "type": "integer"
  31419. },
  31420. "autoid": {
  31421. "description": "自增ID",
  31422. "type": "integer"
  31423. },
  31424. "cityid": {
  31425. "description": "市",
  31426. "type": "integer"
  31427. },
  31428. "contactname": {
  31429. "description": "联系人",
  31430. "type": "string"
  31431. },
  31432. "contactnum": {
  31433. "description": "联系电话",
  31434. "type": "string"
  31435. },
  31436. "countryid": {
  31437. "description": "国家",
  31438. "type": "integer"
  31439. },
  31440. "createtime": {
  31441. "description": "创建时间",
  31442. "type": "string"
  31443. },
  31444. "districtid": {
  31445. "description": "区",
  31446. "type": "integer"
  31447. },
  31448. "hasvideo": {
  31449. "description": "是否有视频 - 0:无 1:有",
  31450. "type": "integer"
  31451. },
  31452. "provinceid": {
  31453. "description": "省",
  31454. "type": "integer"
  31455. },
  31456. "remark": {
  31457. "description": "审核备注",
  31458. "type": "string"
  31459. },
  31460. "videourl": {
  31461. "description": "视频地址",
  31462. "type": "string"
  31463. },
  31464. "warehousecode": {
  31465. "description": "仓库代码",
  31466. "type": "string"
  31467. },
  31468. "warehousename": {
  31469. "description": "仓库名称",
  31470. "type": "string"
  31471. },
  31472. "warehousestatus": {
  31473. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31474. "type": "integer"
  31475. },
  31476. "warehousetype": {
  31477. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31478. "type": "integer"
  31479. }
  31480. }
  31481. },
  31482. "models.WrAverageTradePrice": {
  31483. "type": "object",
  31484. "properties": {
  31485. "averageprice": {
  31486. "description": "期初均价",
  31487. "type": "number"
  31488. },
  31489. "tradedate": {
  31490. "description": "交易日yyyymm",
  31491. "type": "string"
  31492. }
  31493. }
  31494. },
  31495. "models.WrBrandAndYears": {
  31496. "type": "object",
  31497. "properties": {
  31498. "brandlst": {
  31499. "description": "品牌列表",
  31500. "type": "array",
  31501. "items": {
  31502. "$ref": "#/definitions/models.DgFactoryItem"
  31503. }
  31504. },
  31505. "yearslst": {
  31506. "description": "年份列表",
  31507. "type": "array",
  31508. "items": {
  31509. "$ref": "#/definitions/models.DgFactoryItem"
  31510. }
  31511. }
  31512. }
  31513. },
  31514. "models.WrBsGoodsInfo": {
  31515. "type": "object",
  31516. "properties": {
  31517. "buyorsell": {
  31518. "description": "买卖方向 0-买 1-卖",
  31519. "type": "integer"
  31520. },
  31521. "goodsid": {
  31522. "description": "交易合约ID",
  31523. "type": "integer"
  31524. },
  31525. "lstitem": {
  31526. "description": "商品信息项",
  31527. "type": "array",
  31528. "items": {
  31529. "$ref": "#/definitions/models.WrTypeItem"
  31530. }
  31531. },
  31532. "lststep": {
  31533. "description": "履约规则",
  31534. "type": "array",
  31535. "items": {
  31536. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31537. }
  31538. }
  31539. }
  31540. },
  31541. "models.WrBuybackDetail": {
  31542. "type": "object",
  31543. "properties": {
  31544. "buybackamount": {
  31545. "description": "回购金额",
  31546. "type": "number"
  31547. },
  31548. "buybackqty": {
  31549. "description": "回购数量",
  31550. "type": "number"
  31551. },
  31552. "buybackreleasemargin": {
  31553. "description": "回购释放保证金",
  31554. "type": "number"
  31555. },
  31556. "buybacktime": {
  31557. "description": "回购时间",
  31558. "type": "string"
  31559. },
  31560. "errordesc": {
  31561. "description": "错误描述",
  31562. "type": "string"
  31563. },
  31564. "handlestatus": {
  31565. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31566. "type": "integer"
  31567. },
  31568. "relatedwrid": {
  31569. "description": "关联仓单ID",
  31570. "type": "integer"
  31571. },
  31572. "scfcontractid": {
  31573. "description": "SCF合同ID",
  31574. "type": "string"
  31575. },
  31576. "scfwrbuybackid": {
  31577. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31578. "type": "integer"
  31579. },
  31580. "tradedate": {
  31581. "description": "交易日(yyyyMMdd)",
  31582. "type": "string"
  31583. }
  31584. }
  31585. },
  31586. "models.WrClientAdSpaceConfig": {
  31587. "type": "object",
  31588. "properties": {
  31589. "adspaceid": {
  31590. "description": "广告位ID",
  31591. "type": "integer"
  31592. },
  31593. "adspacename": {
  31594. "description": "广告位名称",
  31595. "type": "string"
  31596. },
  31597. "adspacetype": {
  31598. "description": "广告位类型 - 1:固定广告位",
  31599. "type": "integer"
  31600. },
  31601. "areauserid": {
  31602. "description": "所属机构ID",
  31603. "type": "integer"
  31604. },
  31605. "createdate": {
  31606. "description": "创建时间",
  31607. "type": "string"
  31608. },
  31609. "imagepath": {
  31610. "description": "图片",
  31611. "type": "string"
  31612. },
  31613. "modifierid": {
  31614. "description": "操作人",
  31615. "type": "integer"
  31616. },
  31617. "recsize": {
  31618. "description": "推荐尺寸",
  31619. "type": "string"
  31620. },
  31621. "title": {
  31622. "description": "标题",
  31623. "type": "string"
  31624. },
  31625. "updatedate": {
  31626. "description": "更新时间",
  31627. "type": "string"
  31628. },
  31629. "urlcontent": {
  31630. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  31631. "type": "string"
  31632. },
  31633. "urltype": {
  31634. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  31635. "type": "integer"
  31636. }
  31637. }
  31638. },
  31639. "models.WrDeliveryAvalidHoldLB": {
  31640. "type": "object",
  31641. "properties": {
  31642. "accountid": {
  31643. "description": "资金账号",
  31644. "type": "integer"
  31645. },
  31646. "avalidqty": {
  31647. "description": "数量(可点选数量)",
  31648. "type": "number"
  31649. },
  31650. "deliverygoodsid": {
  31651. "description": "品种id",
  31652. "type": "integer"
  31653. },
  31654. "enumdicname": {
  31655. "description": "单位名称",
  31656. "type": "string"
  31657. },
  31658. "goodsid": {
  31659. "description": "x合约商品id",
  31660. "type": "integer"
  31661. },
  31662. "ladingbillid": {
  31663. "description": "提单id",
  31664. "type": "string"
  31665. },
  31666. "pgoodscode": {
  31667. "description": "p商品代码(点价合约)",
  31668. "type": "string"
  31669. },
  31670. "pgoodsid": {
  31671. "description": "p商品id(点价合约)",
  31672. "type": "integer"
  31673. },
  31674. "pgoodsname": {
  31675. "description": "p商品名称(点价合约)",
  31676. "type": "string"
  31677. },
  31678. "pricemove": {
  31679. "description": "升贴水",
  31680. "type": "number"
  31681. },
  31682. "subnum": {
  31683. "description": "提单子id",
  31684. "type": "integer"
  31685. },
  31686. "userid": {
  31687. "description": "用户id",
  31688. "type": "integer"
  31689. },
  31690. "username": {
  31691. "description": "仓单持有人",
  31692. "type": "string"
  31693. },
  31694. "warehousecode": {
  31695. "description": "仓库代码",
  31696. "type": "string"
  31697. },
  31698. "warehouseid": {
  31699. "description": "仓库id",
  31700. "type": "integer"
  31701. },
  31702. "warehousename": {
  31703. "description": "仓库名称",
  31704. "type": "string"
  31705. },
  31706. "wrfactortypeid": {
  31707. "description": "仓单要素id",
  31708. "type": "string"
  31709. },
  31710. "wrstandardcode": {
  31711. "description": "品代码",
  31712. "type": "string"
  31713. },
  31714. "wrstandardid": {
  31715. "description": "品类d",
  31716. "type": "integer"
  31717. },
  31718. "wrstandardname": {
  31719. "description": "品类名称",
  31720. "type": "string"
  31721. },
  31722. "wrtypename": {
  31723. "description": "商品",
  31724. "type": "string"
  31725. },
  31726. "xgoodscode": {
  31727. "description": "x合约代码",
  31728. "type": "string"
  31729. },
  31730. "xgoodsname": {
  31731. "description": "x合约名称",
  31732. "type": "string"
  31733. }
  31734. }
  31735. },
  31736. "models.WrDeliveryDetail": {
  31737. "type": "object",
  31738. "properties": {
  31739. "accountid": {
  31740. "description": "账号ID",
  31741. "type": "integer"
  31742. },
  31743. "averageprice": {
  31744. "description": "期初均价",
  31745. "type": "number"
  31746. },
  31747. "begindate": {
  31748. "description": "开始交易日(yyyymmdd)",
  31749. "type": "string"
  31750. },
  31751. "buyorsell": {
  31752. "description": "方向 - 0:买 1:卖",
  31753. "type": "integer"
  31754. },
  31755. "deliveryamount": {
  31756. "description": "货款金额(X总货款+P总货款)",
  31757. "type": "number"
  31758. },
  31759. "deliveryid": {
  31760. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  31761. "type": "string"
  31762. },
  31763. "deliveryorderid": {
  31764. "description": "申报单号",
  31765. "type": "string"
  31766. },
  31767. "deliverypricemove": {
  31768. "description": "升贴水(升贴水总额)",
  31769. "type": "number"
  31770. },
  31771. "deliveryqty": {
  31772. "description": "交收数量(点选数量)",
  31773. "type": "number"
  31774. },
  31775. "deliverystatus": {
  31776. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31777. "type": "integer"
  31778. },
  31779. "deliverytime": {
  31780. "description": "交割时间",
  31781. "type": "string"
  31782. },
  31783. "deliverytotalamount": {
  31784. "description": "交收金额",
  31785. "type": "number"
  31786. },
  31787. "enddate": {
  31788. "description": "结束交易日(yyyymmdd)",
  31789. "type": "string"
  31790. },
  31791. "enumdicname": {
  31792. "description": "单位名称",
  31793. "type": "string"
  31794. },
  31795. "matchaccountid": {
  31796. "description": "对手账号ID",
  31797. "type": "integer"
  31798. },
  31799. "matchusername": {
  31800. "description": "对手方名称(仓单持有人)",
  31801. "type": "string"
  31802. },
  31803. "p1goodsremainamount": {
  31804. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31805. "type": "number"
  31806. },
  31807. "pdeliverycloseqty": {
  31808. "description": "p合约平仓数量",
  31809. "type": "number"
  31810. },
  31811. "pdeliveryprice": {
  31812. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31813. "type": "number"
  31814. },
  31815. "pgoodscode": {
  31816. "description": "商品代码",
  31817. "type": "string"
  31818. },
  31819. "pgoodsid": {
  31820. "description": "p点选合约id",
  31821. "type": "integer"
  31822. },
  31823. "pgoodsname": {
  31824. "description": "商品名称",
  31825. "type": "string"
  31826. },
  31827. "ppricemode": {
  31828. "description": "点价价格方式 - 1:商品价 2:固定值",
  31829. "type": "integer"
  31830. },
  31831. "tradedate": {
  31832. "description": "交易日(yyyymmdd)",
  31833. "type": "string"
  31834. },
  31835. "userid": {
  31836. "description": "用户id",
  31837. "type": "integer"
  31838. },
  31839. "username": {
  31840. "description": "用户名称",
  31841. "type": "string"
  31842. },
  31843. "warehousename": {
  31844. "description": "仓库名称",
  31845. "type": "string"
  31846. },
  31847. "wrfactortypeid": {
  31848. "description": "仓单要素类型ID",
  31849. "type": "string"
  31850. },
  31851. "wrtypename": {
  31852. "description": "商品",
  31853. "type": "string"
  31854. },
  31855. "xdeliverycloseqty": {
  31856. "description": "合约数量",
  31857. "type": "number"
  31858. },
  31859. "xgoodsamount": {
  31860. "description": "期初均价",
  31861. "type": "number"
  31862. },
  31863. "xgoodscode": {
  31864. "description": "商品代码",
  31865. "type": "string"
  31866. },
  31867. "xgoodsid": {
  31868. "description": "x交易合约ID",
  31869. "type": "integer"
  31870. },
  31871. "xgoodsname": {
  31872. "description": "商品名称",
  31873. "type": "string"
  31874. }
  31875. }
  31876. },
  31877. "models.WrDeliveryGoodsSection": {
  31878. "type": "object",
  31879. "properties": {
  31880. "dglst": {
  31881. "description": "板块商品列表",
  31882. "type": "array",
  31883. "items": {
  31884. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  31885. }
  31886. },
  31887. "imagepath": {
  31888. "description": "图片地址",
  31889. "type": "string"
  31890. },
  31891. "orderindex": {
  31892. "description": "排序",
  31893. "type": "integer"
  31894. },
  31895. "sectionid": {
  31896. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  31897. "type": "integer"
  31898. },
  31899. "sectionname": {
  31900. "description": "版块名称",
  31901. "type": "string"
  31902. },
  31903. "sectiontype": {
  31904. "description": "版块类型 - 1:指数版块 2:普通版块",
  31905. "type": "integer"
  31906. }
  31907. }
  31908. },
  31909. "models.WrDeliveryGoodsSectionConfig": {
  31910. "type": "object",
  31911. "properties": {
  31912. "deliverygoodscode": {
  31913. "description": "现货商品代码",
  31914. "type": "string"
  31915. },
  31916. "deliverygoodsid": {
  31917. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  31918. "type": "integer"
  31919. },
  31920. "deliverygoodsname": {
  31921. "description": "现货商品名称",
  31922. "type": "string"
  31923. },
  31924. "orderindex": {
  31925. "description": "排序",
  31926. "type": "integer"
  31927. }
  31928. }
  31929. },
  31930. "models.WrDraftUserInfo": {
  31931. "type": "object",
  31932. "properties": {
  31933. "address": {
  31934. "description": "地址",
  31935. "type": "string"
  31936. },
  31937. "attachment1": {
  31938. "description": "附件1",
  31939. "type": "string"
  31940. },
  31941. "attachment2": {
  31942. "description": "附件2",
  31943. "type": "string"
  31944. },
  31945. "attachment3": {
  31946. "description": "附件3",
  31947. "type": "string"
  31948. },
  31949. "attachment4": {
  31950. "description": "附件4",
  31951. "type": "string"
  31952. },
  31953. "attachment5": {
  31954. "description": "附件5",
  31955. "type": "string"
  31956. },
  31957. "bankaccount": {
  31958. "description": "银行帐号 (加密存储)",
  31959. "type": "string"
  31960. },
  31961. "bankaccountname": {
  31962. "description": "收款人名称",
  31963. "type": "string"
  31964. },
  31965. "bankcardfrontphotourl": {
  31966. "description": "银行卡正面照地址",
  31967. "type": "string"
  31968. },
  31969. "bankid": {
  31970. "description": "银行编码",
  31971. "type": "string"
  31972. },
  31973. "bankname": {
  31974. "description": "银行名称",
  31975. "type": "string"
  31976. },
  31977. "birthday": {
  31978. "description": "生日(个人:年月日)",
  31979. "type": "string"
  31980. },
  31981. "biznature": {
  31982. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31983. "type": "integer"
  31984. },
  31985. "bizscope": {
  31986. "description": "企业经营范围(企业)",
  31987. "type": "string"
  31988. },
  31989. "biztype": {
  31990. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  31991. "type": "integer"
  31992. },
  31993. "cardbackphotourl": {
  31994. "description": "证件背面图片地址",
  31995. "type": "string"
  31996. },
  31997. "cardfrontphotourl": {
  31998. "description": "证件正面图片地址",
  31999. "type": "string"
  32000. },
  32001. "cardnum": {
  32002. "description": "证件号码(加密存储)",
  32003. "type": "string"
  32004. },
  32005. "cardtypeid": {
  32006. "description": "证件类型ID",
  32007. "type": "integer"
  32008. },
  32009. "cityid": {
  32010. "description": "市",
  32011. "type": "integer"
  32012. },
  32013. "company": {
  32014. "description": "公司(个人)",
  32015. "type": "string"
  32016. },
  32017. "contactcardbackphotourl": {
  32018. "description": "联系人证件背面图片地址",
  32019. "type": "string"
  32020. },
  32021. "contactcardfrontphotourl": {
  32022. "description": "联系人证件正面图片地址",
  32023. "type": "string"
  32024. },
  32025. "contactname": {
  32026. "description": "联系人",
  32027. "type": "string"
  32028. },
  32029. "countryid": {
  32030. "description": "国家",
  32031. "type": "integer"
  32032. },
  32033. "createtime": {
  32034. "description": "创建时间",
  32035. "type": "string"
  32036. },
  32037. "creatorid": {
  32038. "description": "创建人",
  32039. "type": "integer"
  32040. },
  32041. "creditquota": {
  32042. "description": "授信额度(金瑞)",
  32043. "type": "number"
  32044. },
  32045. "customername": {
  32046. "description": "客户名称(企业名称)",
  32047. "type": "string"
  32048. },
  32049. "districtid": {
  32050. "description": "地区",
  32051. "type": "integer"
  32052. },
  32053. "email": {
  32054. "description": "邮件(加密存储)",
  32055. "type": "string"
  32056. },
  32057. "fax": {
  32058. "description": "传真(加密存储)",
  32059. "type": "string"
  32060. },
  32061. "halfbodyphotourl": {
  32062. "description": "半身照地址",
  32063. "type": "string"
  32064. },
  32065. "hasencrypt": {
  32066. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32067. "type": "integer"
  32068. },
  32069. "headurl": {
  32070. "description": "头像地址",
  32071. "type": "string"
  32072. },
  32073. "legalcardbackphotourl": {
  32074. "description": "法人身份证背面照地址",
  32075. "type": "string"
  32076. },
  32077. "legalcardfrontphotourl": {
  32078. "description": "法人身份证正面照地址",
  32079. "type": "string"
  32080. },
  32081. "legalpersonname": {
  32082. "description": "法人姓名(企业)",
  32083. "type": "string"
  32084. },
  32085. "mobile": {
  32086. "description": "手机号码(加密存储)",
  32087. "type": "string"
  32088. },
  32089. "mobile2": {
  32090. "description": "手机号码[明文-尚志]",
  32091. "type": "string"
  32092. },
  32093. "modifierid": {
  32094. "description": "修改人",
  32095. "type": "integer"
  32096. },
  32097. "modifiertime": {
  32098. "description": "修改时间",
  32099. "type": "string"
  32100. },
  32101. "needinvoice": {
  32102. "description": "是否需要发票 - 0:不需要 1:需要",
  32103. "type": "integer"
  32104. },
  32105. "nickname": {
  32106. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32107. "type": "string"
  32108. },
  32109. "openmode": {
  32110. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  32111. "type": "integer"
  32112. },
  32113. "otherurl": {
  32114. "description": "其它图片地址[使用分号分隔]",
  32115. "type": "string"
  32116. },
  32117. "postalcode": {
  32118. "description": "邮政编码",
  32119. "type": "string"
  32120. },
  32121. "provinceid": {
  32122. "description": "省",
  32123. "type": "integer"
  32124. },
  32125. "proxystatementurl": {
  32126. "description": "授权委托书",
  32127. "type": "string"
  32128. },
  32129. "qq": {
  32130. "description": "QQ(加密存储",
  32131. "type": "string"
  32132. },
  32133. "remark": {
  32134. "description": "备注",
  32135. "type": "string"
  32136. },
  32137. "sex": {
  32138. "description": "用户性别 0: 女 1: 男",
  32139. "type": "integer"
  32140. },
  32141. "signpdfurl": {
  32142. "description": "签约pdf文件",
  32143. "type": "string"
  32144. },
  32145. "taxpayernum": {
  32146. "description": "纳税人识别号",
  32147. "type": "string"
  32148. },
  32149. "telphone": {
  32150. "description": "联系电话(加密存储)",
  32151. "type": "string"
  32152. },
  32153. "userid": {
  32154. "description": "用户ID",
  32155. "type": "integer"
  32156. },
  32157. "userinfotype": {
  32158. "description": "用户信息类型 - 1:个人 2:企业",
  32159. "type": "integer"
  32160. },
  32161. "userstatus": {
  32162. "description": "用户状态 - 1:正常 2:注销",
  32163. "type": "integer"
  32164. },
  32165. "usertype": {
  32166. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  32167. "type": "integer"
  32168. },
  32169. "wechat": {
  32170. "description": "微信(加密存储)",
  32171. "type": "string"
  32172. },
  32173. "wskhinfo": {
  32174. "description": "开户申请信息(JSON)",
  32175. "type": "string"
  32176. }
  32177. }
  32178. },
  32179. "models.WrFAProductDetail": {
  32180. "type": "object",
  32181. "properties": {
  32182. "accountid": {
  32183. "description": "资金账号",
  32184. "type": "integer"
  32185. },
  32186. "areauserid": {
  32187. "description": "金融机构ID",
  32188. "type": "integer"
  32189. },
  32190. "financingdays": {
  32191. "description": "天数(天)",
  32192. "type": "integer"
  32193. },
  32194. "interestminlen": {
  32195. "description": "最小起息天数",
  32196. "type": "integer"
  32197. },
  32198. "interestrate": {
  32199. "description": "利率",
  32200. "type": "number"
  32201. },
  32202. "interestratemode": {
  32203. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32204. "type": "integer"
  32205. },
  32206. "interestsettlemode": {
  32207. "description": "结息方式 - 1:按日结息 3:按月结息",
  32208. "type": "integer"
  32209. },
  32210. "interestsettlevalue": {
  32211. "description": "结息方式值",
  32212. "type": "integer"
  32213. },
  32214. "isautoloan": {
  32215. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32216. "type": "integer"
  32217. },
  32218. "loantag": {
  32219. "description": "放款标识: \"放款快\" 或者为空",
  32220. "type": "string"
  32221. },
  32222. "marginratio": {
  32223. "description": "保证金比率质押率 - [仓单质押]",
  32224. "type": "number"
  32225. },
  32226. "productdetailid": {
  32227. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32228. "type": "integer"
  32229. },
  32230. "productid": {
  32231. "description": "金融产品ID",
  32232. "type": "integer"
  32233. },
  32234. "productname": {
  32235. "description": "产品名称",
  32236. "type": "string"
  32237. },
  32238. "updatetime": {
  32239. "description": "更新时间",
  32240. "type": "string"
  32241. },
  32242. "username": {
  32243. "description": "融出方",
  32244. "type": "string"
  32245. }
  32246. }
  32247. },
  32248. "models.WrFactorTypeInfo": {
  32249. "type": "object",
  32250. "properties": {
  32251. "deliverygoodscode": {
  32252. "description": "品种代码",
  32253. "type": "string"
  32254. },
  32255. "deliverygoodsname": {
  32256. "description": "品种名称",
  32257. "type": "string"
  32258. },
  32259. "dgfactoryitemid": {
  32260. "description": "选择项id",
  32261. "type": "integer"
  32262. },
  32263. "dgfactoryitemtypeid": {
  32264. "description": "要素选择项ID (1-仓库 2-品牌)",
  32265. "type": "integer"
  32266. },
  32267. "dgfactoryitemvalue": {
  32268. "description": "要素项值",
  32269. "type": "string"
  32270. },
  32271. "itemtypename": {
  32272. "description": "要素项名称",
  32273. "type": "string"
  32274. },
  32275. "optioncompare": {
  32276. "description": "选择比较串",
  32277. "type": "string"
  32278. },
  32279. "warehouseid": {
  32280. "description": "仓库id",
  32281. "type": "integer"
  32282. },
  32283. "wrfactortypeid": {
  32284. "description": "仓单要素ID",
  32285. "type": "string"
  32286. },
  32287. "wrfactortypename": {
  32288. "description": "要素名称",
  32289. "type": "string"
  32290. },
  32291. "wrfactortypename2": {
  32292. "description": "要素名称(不含仓库)",
  32293. "type": "string"
  32294. },
  32295. "wrstandardcode": {
  32296. "description": "品类代码",
  32297. "type": "string"
  32298. },
  32299. "wrstandardid": {
  32300. "description": "品类id",
  32301. "type": "integer"
  32302. },
  32303. "wrstandardname": {
  32304. "description": "品类名称",
  32305. "type": "string"
  32306. }
  32307. }
  32308. },
  32309. "models.WrFilterItem": {
  32310. "type": "object",
  32311. "properties": {
  32312. "itemcode": {
  32313. "description": "代码",
  32314. "type": "string"
  32315. },
  32316. "itemid": {
  32317. "description": "项id",
  32318. "type": "integer"
  32319. },
  32320. "itemname": {
  32321. "description": "名称",
  32322. "type": "string"
  32323. },
  32324. "itemtype": {
  32325. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32326. "type": "integer"
  32327. }
  32328. }
  32329. },
  32330. "models.WrFinanceBuyApply": {
  32331. "type": "object",
  32332. "properties": {
  32333. "applydate": {
  32334. "description": "申请时间",
  32335. "type": "string"
  32336. },
  32337. "applystatus": {
  32338. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32339. "type": "integer"
  32340. },
  32341. "applyuserid": {
  32342. "description": "申请人",
  32343. "type": "integer"
  32344. },
  32345. "auditdate": {
  32346. "description": "审核时间",
  32347. "type": "string"
  32348. },
  32349. "auditremark": {
  32350. "description": "审核备注",
  32351. "type": "string"
  32352. },
  32353. "audituserid": {
  32354. "description": "审核人",
  32355. "type": "integer"
  32356. },
  32357. "buyaccountid": {
  32358. "description": "买方资金账号",
  32359. "type": "integer"
  32360. },
  32361. "buyorsell": {
  32362. "description": "买卖 - 0:买 1:卖",
  32363. "type": "integer"
  32364. },
  32365. "buyuserid": {
  32366. "description": "买方用户ID",
  32367. "type": "integer"
  32368. },
  32369. "buyusername": {
  32370. "description": "买方名称",
  32371. "type": "string"
  32372. },
  32373. "buywrtradeorderid": {
  32374. "description": "融资方买委托单ID",
  32375. "type": "string"
  32376. },
  32377. "deliverygoodscode": {
  32378. "description": "品种代码",
  32379. "type": "string"
  32380. },
  32381. "deliverygoodsid": {
  32382. "description": "品种ID",
  32383. "type": "integer"
  32384. },
  32385. "deliverygoodsname": {
  32386. "description": "品种名称",
  32387. "type": "string"
  32388. },
  32389. "deliverymonth": {
  32390. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32391. "type": "string"
  32392. },
  32393. "enumdicname": {
  32394. "description": "单位名称",
  32395. "type": "string"
  32396. },
  32397. "financeaccountid": {
  32398. "description": "融资方资金帐户ID",
  32399. "type": "integer"
  32400. },
  32401. "financeapplyid": {
  32402. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32403. "type": "string"
  32404. },
  32405. "financeareauserid": {
  32406. "description": "融资方用户ID",
  32407. "type": "string"
  32408. },
  32409. "financename": {
  32410. "description": "融出方名称",
  32411. "type": "string"
  32412. },
  32413. "financetype": {
  32414. "description": "融资类型 1-融资回购",
  32415. "type": "integer"
  32416. },
  32417. "financingdays": {
  32418. "description": "天数(天)",
  32419. "type": "integer"
  32420. },
  32421. "freezebuymargin": {
  32422. "description": "冻结融资保证金(买方)",
  32423. "type": "number"
  32424. },
  32425. "handleremark": {
  32426. "description": "处理备注",
  32427. "type": "string"
  32428. },
  32429. "handlestatus": {
  32430. "description": "处理状态",
  32431. "type": "integer"
  32432. },
  32433. "interestminlen": {
  32434. "description": "最小起息天数",
  32435. "type": "integer"
  32436. },
  32437. "interestrate": {
  32438. "description": "利率",
  32439. "type": "number"
  32440. },
  32441. "interestratemode": {
  32442. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32443. "type": "integer"
  32444. },
  32445. "interestsettlemode": {
  32446. "description": "结息方式 - 1:按日结息 3:按月结息",
  32447. "type": "integer"
  32448. },
  32449. "interestsettlevalue": {
  32450. "description": "结息方式值",
  32451. "type": "integer"
  32452. },
  32453. "isautoloan": {
  32454. "description": "是否自动放款 - 0:手动 1:自动",
  32455. "type": "integer"
  32456. },
  32457. "marginratio": {
  32458. "description": "保证金比率质押率 - [仓单质押]",
  32459. "type": "number"
  32460. },
  32461. "marketid": {
  32462. "description": "市场ID",
  32463. "type": "integer"
  32464. },
  32465. "minivalue": {
  32466. "description": "现货商品最小变动值",
  32467. "type": "integer"
  32468. },
  32469. "optioncompare": {
  32470. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32471. "type": "string"
  32472. },
  32473. "orderqty": {
  32474. "description": "委托数量(商品数量)",
  32475. "type": "number"
  32476. },
  32477. "productdetailid": {
  32478. "description": "产品组合ID",
  32479. "type": "integer"
  32480. },
  32481. "productid": {
  32482. "description": "金融产品ID",
  32483. "type": "integer"
  32484. },
  32485. "productname": {
  32486. "description": "产品名称",
  32487. "type": "string"
  32488. },
  32489. "remark": {
  32490. "description": "备注",
  32491. "type": "string"
  32492. },
  32493. "scfcontractid": {
  32494. "description": "仓单回购合同ID",
  32495. "type": "string"
  32496. },
  32497. "sellaccountid": {
  32498. "description": "卖方资金账号",
  32499. "type": "integer"
  32500. },
  32501. "selluserid": {
  32502. "description": "卖方用户ID",
  32503. "type": "integer"
  32504. },
  32505. "sellwrtradeorderid": {
  32506. "description": "卖方委托单ID",
  32507. "type": "string"
  32508. },
  32509. "tradeamount": {
  32510. "description": "成交金额(借款金额)",
  32511. "type": "number"
  32512. },
  32513. "tradedate": {
  32514. "description": "交易日(yyyyMMdd)",
  32515. "type": "string"
  32516. },
  32517. "tradeprice": {
  32518. "description": "成交价格",
  32519. "type": "number"
  32520. },
  32521. "warehouseid": {
  32522. "description": "仓库ID",
  32523. "type": "integer"
  32524. },
  32525. "warehousename": {
  32526. "description": "仓库名称",
  32527. "type": "string"
  32528. },
  32529. "wrfactortypeid": {
  32530. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32531. "type": "string"
  32532. },
  32533. "wrfactortypename": {
  32534. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32535. "type": "string"
  32536. },
  32537. "wrpricetype": {
  32538. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32539. "type": "integer"
  32540. },
  32541. "wrstandardcode": {
  32542. "description": "现货商品代码",
  32543. "type": "string"
  32544. },
  32545. "wrstandardid": {
  32546. "description": "现货商品ID",
  32547. "type": "integer"
  32548. },
  32549. "wrstandardname": {
  32550. "description": "商品名称",
  32551. "type": "string"
  32552. },
  32553. "wrtypename": {
  32554. "description": "商品",
  32555. "type": "string"
  32556. }
  32557. }
  32558. },
  32559. "models.WrFriendApply": {
  32560. "type": "object",
  32561. "properties": {
  32562. "applicantid": {
  32563. "description": "申请人",
  32564. "type": "integer"
  32565. },
  32566. "applyname": {
  32567. "description": "申请人名称",
  32568. "type": "string"
  32569. },
  32570. "applysrc": {
  32571. "description": "申请来源 - 1:管理端 2:终端",
  32572. "type": "integer"
  32573. },
  32574. "applystatus": {
  32575. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32576. "type": "integer"
  32577. },
  32578. "applytime": {
  32579. "description": "申请时间",
  32580. "type": "string"
  32581. },
  32582. "auditname": {
  32583. "description": "审核人名称",
  32584. "type": "string"
  32585. },
  32586. "auditorid": {
  32587. "description": "审核人",
  32588. "type": "integer"
  32589. },
  32590. "auditremark": {
  32591. "description": "审核备注",
  32592. "type": "string"
  32593. },
  32594. "auditsrc": {
  32595. "description": "审核来源 - 1:管理端 2:终端",
  32596. "type": "integer"
  32597. },
  32598. "audittime": {
  32599. "description": "审核时间",
  32600. "type": "string"
  32601. },
  32602. "friendapplyid": {
  32603. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32604. "type": "string"
  32605. },
  32606. "friendname": {
  32607. "description": "好友名字(已脱敏)",
  32608. "type": "string"
  32609. },
  32610. "frienduserid": {
  32611. "description": "好友用户ID",
  32612. "type": "string"
  32613. },
  32614. "remark": {
  32615. "description": "备注",
  32616. "type": "string"
  32617. },
  32618. "userid": {
  32619. "description": "申请人用户ID",
  32620. "type": "integer"
  32621. }
  32622. }
  32623. },
  32624. "models.WrFtDeliveryGoods": {
  32625. "type": "object",
  32626. "properties": {
  32627. "deliverygoodscode": {
  32628. "description": "品种代码",
  32629. "type": "string"
  32630. },
  32631. "deliverygoodsid": {
  32632. "description": "品种ID",
  32633. "type": "integer"
  32634. },
  32635. "deliverygoodsname": {
  32636. "description": "品种名称",
  32637. "type": "string"
  32638. },
  32639. "wdlst": {
  32640. "description": "商品列表",
  32641. "type": "array",
  32642. "items": {
  32643. "$ref": "#/definitions/models.WrFtWrstandard"
  32644. }
  32645. }
  32646. }
  32647. },
  32648. "models.WrFtWrstandard": {
  32649. "type": "object",
  32650. "properties": {
  32651. "enumdicname": {
  32652. "description": "单位名称",
  32653. "type": "string"
  32654. },
  32655. "minivalue": {
  32656. "description": "最小变动值",
  32657. "type": "integer"
  32658. },
  32659. "wrstandardcode": {
  32660. "description": "现货商品代码",
  32661. "type": "string"
  32662. },
  32663. "wrstandardid": {
  32664. "description": "现货商品ID",
  32665. "type": "integer"
  32666. },
  32667. "wrstandardname": {
  32668. "description": "商品名称",
  32669. "type": "string"
  32670. }
  32671. }
  32672. },
  32673. "models.WrGoodsInfo": {
  32674. "type": "object",
  32675. "properties": {
  32676. "haswr": {
  32677. "description": "0:仓单预售 1:仓单贸易",
  32678. "type": "integer"
  32679. },
  32680. "lstitem": {
  32681. "description": "商品信息项",
  32682. "type": "array",
  32683. "items": {
  32684. "$ref": "#/definitions/models.WrTypeItem"
  32685. }
  32686. },
  32687. "lststep": {
  32688. "description": "履约规则",
  32689. "type": "array",
  32690. "items": {
  32691. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32692. }
  32693. },
  32694. "marketid": {
  32695. "description": "市场id",
  32696. "type": "integer"
  32697. }
  32698. }
  32699. },
  32700. "models.WrGoodsPerformanceStep": {
  32701. "type": "object",
  32702. "properties": {
  32703. "autoid": {
  32704. "description": "AutoID",
  32705. "type": "integer"
  32706. },
  32707. "isauto": {
  32708. "description": "是否自动 - 0:不自动 1:自动",
  32709. "type": "integer"
  32710. },
  32711. "remark": {
  32712. "description": "备注",
  32713. "type": "string"
  32714. },
  32715. "stepdate": {
  32716. "description": "天数信息(T+N)",
  32717. "type": "string"
  32718. },
  32719. "stepdays": {
  32720. "description": "距离上一步天数",
  32721. "type": "integer"
  32722. },
  32723. "stepindex": {
  32724. "description": "步骤序号",
  32725. "type": "integer"
  32726. },
  32727. "stepinfo": {
  32728. "description": "步骤信息(步骤名称+步骤值)",
  32729. "type": "string"
  32730. },
  32731. "steptypeid": {
  32732. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32733. "type": "integer"
  32734. },
  32735. "steptypename": {
  32736. "description": "步骤名称",
  32737. "type": "string"
  32738. },
  32739. "stepvalue": {
  32740. "description": "期初均价",
  32741. "type": "number"
  32742. },
  32743. "templateid": {
  32744. "description": "履约计划模板ID",
  32745. "type": "integer"
  32746. }
  32747. }
  32748. },
  32749. "models.WrHoldLB": {
  32750. "type": "object",
  32751. "properties": {
  32752. "accountid": {
  32753. "description": "持有人帐户ID",
  32754. "type": "integer"
  32755. },
  32756. "bannerpicurl": {
  32757. "description": "Banner图",
  32758. "type": "string"
  32759. },
  32760. "createtime": {
  32761. "description": "创建时间(过户时间)",
  32762. "type": "string"
  32763. },
  32764. "deliverygoodscode": {
  32765. "description": "品种代码",
  32766. "type": "string"
  32767. },
  32768. "deliverygoodsid": {
  32769. "description": "品种ID",
  32770. "type": "integer"
  32771. },
  32772. "deliverygoodsname": {
  32773. "description": "品种名称",
  32774. "type": "string"
  32775. },
  32776. "enableqty": {
  32777. "description": "可用数量",
  32778. "type": "number"
  32779. },
  32780. "enumdicname": {
  32781. "description": "单位名称",
  32782. "type": "string"
  32783. },
  32784. "freezerqty": {
  32785. "description": "冻结数量",
  32786. "type": "number"
  32787. },
  32788. "ladingbillid": {
  32789. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32790. "type": "string"
  32791. },
  32792. "minivalue": {
  32793. "description": "现货商品最小变动值",
  32794. "type": "integer"
  32795. },
  32796. "optioncompare": {
  32797. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32798. "type": "string"
  32799. },
  32800. "parentsubnum": {
  32801. "description": "拆分父子单号",
  32802. "type": "integer"
  32803. },
  32804. "pledgeqty": {
  32805. "description": "质押数量",
  32806. "type": "number"
  32807. },
  32808. "qty": {
  32809. "description": "数量",
  32810. "type": "number"
  32811. },
  32812. "subnum": {
  32813. "description": "提单子单号",
  32814. "type": "integer"
  32815. },
  32816. "thumurls": {
  32817. "description": "缩略图",
  32818. "type": "string"
  32819. },
  32820. "tradedate": {
  32821. "description": "交易日(yyyyMMdd)",
  32822. "type": "string"
  32823. },
  32824. "userid": {
  32825. "description": "持有人ID",
  32826. "type": "integer"
  32827. },
  32828. "warehouseid": {
  32829. "description": "仓库ID",
  32830. "type": "integer"
  32831. },
  32832. "warehousename": {
  32833. "description": "仓库名称",
  32834. "type": "string"
  32835. },
  32836. "wrfactortypeid": {
  32837. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32838. "type": "string"
  32839. },
  32840. "wrfactortypename": {
  32841. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32842. "type": "string"
  32843. },
  32844. "wrholdeno": {
  32845. "description": "仓单编号",
  32846. "type": "string"
  32847. },
  32848. "wrid": {
  32849. "description": "仓单变更ID",
  32850. "type": "string"
  32851. },
  32852. "wrstandardcode": {
  32853. "description": "现货商品代码",
  32854. "type": "string"
  32855. },
  32856. "wrstandardid": {
  32857. "description": "现货商品ID",
  32858. "type": "integer"
  32859. },
  32860. "wrstandardname": {
  32861. "description": "商品名称",
  32862. "type": "string"
  32863. },
  32864. "wrtypename": {
  32865. "description": "商品",
  32866. "type": "string"
  32867. }
  32868. }
  32869. },
  32870. "models.WrMarketTradeConfig": {
  32871. "type": "object",
  32872. "properties": {
  32873. "basisdownratio": {
  32874. "description": "浮动价基差下限比例(仓单贸易)",
  32875. "type": "number"
  32876. },
  32877. "basisupratio": {
  32878. "description": "浮动价基差上限比例(仓单贸易)",
  32879. "type": "number"
  32880. },
  32881. "buychargealgorithm": {
  32882. "description": "买方手续费收取方式 1:比率 2:固定",
  32883. "type": "integer"
  32884. },
  32885. "buychargealgorithm2": {
  32886. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32887. "type": "integer"
  32888. },
  32889. "buychargealgorithmvalue": {
  32890. "description": "买方手续费设置值(交易所部分)",
  32891. "type": "number"
  32892. },
  32893. "buychargealgorithmvalue2": {
  32894. "description": "买方手续费设置值(会员部分)",
  32895. "type": "number"
  32896. },
  32897. "buychargealgorithmvalue3": {
  32898. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32899. "type": "number"
  32900. },
  32901. "buychargealgorithmvalue4": {
  32902. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32903. "type": "number"
  32904. },
  32905. "buyfirstmarginalgorithm": {
  32906. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32907. "type": "integer"
  32908. },
  32909. "buyfirstmarginvalue": {
  32910. "description": "买方出价保证金设置值 - [竞拍]",
  32911. "type": "number"
  32912. },
  32913. "buymarginalgorithm": {
  32914. "description": "买方保证金方式 - 1:比率 2:固定",
  32915. "type": "integer"
  32916. },
  32917. "buymarginvalue": {
  32918. "description": "买方保证金设置值",
  32919. "type": "number"
  32920. },
  32921. "buyreleaseratio": {
  32922. "description": "买方释放比率[2:分步履约]",
  32923. "type": "number"
  32924. },
  32925. "executemode": {
  32926. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32927. "type": "integer"
  32928. },
  32929. "executeside": {
  32930. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32931. "type": "integer"
  32932. },
  32933. "failedchargealgorithm": {
  32934. "description": "流拍手续费收取方式 1:比率 2:固定",
  32935. "type": "integer"
  32936. },
  32937. "failedchargevalue": {
  32938. "description": "流拍手续费设置值",
  32939. "type": "number"
  32940. },
  32941. "failedchargevalue2": {
  32942. "description": "流拍卖方手续费设置值",
  32943. "type": "number"
  32944. },
  32945. "holddays": {
  32946. "description": "合同期限[2:分步履约]",
  32947. "type": "integer"
  32948. },
  32949. "listingmode": {
  32950. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32951. "type": "integer"
  32952. },
  32953. "marketid": {
  32954. "description": "市场ID-仓单贸易、竞拍、预售",
  32955. "type": "integer"
  32956. },
  32957. "minqty": {
  32958. "description": "最小执行量[2:分步履约]",
  32959. "type": "number"
  32960. },
  32961. "modifierid": {
  32962. "description": "修改人",
  32963. "type": "integer"
  32964. },
  32965. "nowrquotaflag": {
  32966. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  32967. "type": "integer"
  32968. },
  32969. "performancetempid": {
  32970. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32971. "type": "integer"
  32972. },
  32973. "performancetempid2": {
  32974. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32975. "type": "integer"
  32976. },
  32977. "performancetempid2s": {
  32978. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32979. "type": "string"
  32980. },
  32981. "performancetempids": {
  32982. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32983. "type": "string"
  32984. },
  32985. "performanceway": {
  32986. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32987. "type": "integer"
  32988. },
  32989. "sellchargealgorithm": {
  32990. "description": "卖方手续费收取方式 1:比率 2:固定",
  32991. "type": "integer"
  32992. },
  32993. "sellchargealgorithm2": {
  32994. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32995. "type": "integer"
  32996. },
  32997. "sellchargealgorithmvalue": {
  32998. "description": "卖方手续费设置值(交易所部分)",
  32999. "type": "number"
  33000. },
  33001. "sellchargealgorithmvalue2": {
  33002. "description": "卖方手续费设置值(会员部分)",
  33003. "type": "number"
  33004. },
  33005. "sellchargealgorithmvalue3": {
  33006. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  33007. "type": "number"
  33008. },
  33009. "sellchargealgorithmvalue4": {
  33010. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  33011. "type": "number"
  33012. },
  33013. "sellmarginalgorithm": {
  33014. "description": "卖方保证金方式 - 1:比率 2:固定",
  33015. "type": "integer"
  33016. },
  33017. "sellmarginvalue": {
  33018. "description": "卖方保证金设置值",
  33019. "type": "number"
  33020. },
  33021. "sellmarginvalue2": {
  33022. "description": "卖方保证金设置值(无仓单)",
  33023. "type": "number"
  33024. },
  33025. "sellreleaseratio": {
  33026. "description": "卖方释放比率[2:分步履约]",
  33027. "type": "number"
  33028. },
  33029. "updatetime": {
  33030. "description": "更新时间",
  33031. "type": "string"
  33032. }
  33033. }
  33034. },
  33035. "models.WrOrderDetail": {
  33036. "type": "object",
  33037. "properties": {
  33038. "accountid": {
  33039. "description": "交易账号(资金账号)",
  33040. "type": "integer"
  33041. },
  33042. "allfriendsflag": {
  33043. "description": "是否全好友可见 - 0:否 1:是",
  33044. "type": "integer"
  33045. },
  33046. "amount": {
  33047. "description": "期初均价",
  33048. "type": "number"
  33049. },
  33050. "bannerpicurl": {
  33051. "description": "Banner图",
  33052. "type": "string"
  33053. },
  33054. "begindate": {
  33055. "description": "开始交易日(yyyymmdd)",
  33056. "type": "string"
  33057. },
  33058. "buyorsell": {
  33059. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33060. "type": "integer"
  33061. },
  33062. "canbargain": {
  33063. "description": "是否可议价 - 0:不可 1:可",
  33064. "type": "integer"
  33065. },
  33066. "cancelqty": {
  33067. "description": "撤销数量",
  33068. "type": "number"
  33069. },
  33070. "canpart": {
  33071. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  33072. "type": "integer"
  33073. },
  33074. "delistminqty": {
  33075. "description": "起摘数量",
  33076. "type": "integer"
  33077. },
  33078. "deliverygoodscode": {
  33079. "description": "品种代码",
  33080. "type": "string"
  33081. },
  33082. "deliverygoodsid": {
  33083. "description": "品种ID",
  33084. "type": "integer"
  33085. },
  33086. "deliverygoodsname": {
  33087. "description": "品种名称",
  33088. "type": "string"
  33089. },
  33090. "deliverymonth": {
  33091. "description": "交收月",
  33092. "type": "string"
  33093. },
  33094. "enddate": {
  33095. "description": "结束交易日(yyyymmdd)",
  33096. "type": "string"
  33097. },
  33098. "enumdicname": {
  33099. "description": "单位名称",
  33100. "type": "string"
  33101. },
  33102. "fixedprice": {
  33103. "description": "固定价格 - [挂牌]",
  33104. "type": "number"
  33105. },
  33106. "freezecharge": {
  33107. "description": "期初均价",
  33108. "type": "number"
  33109. },
  33110. "freezemargin": {
  33111. "description": "期初均价",
  33112. "type": "number"
  33113. },
  33114. "futupricemove": {
  33115. "description": "期货升贴水",
  33116. "type": "number"
  33117. },
  33118. "futushow": {
  33119. "description": "期货合约/升贴水",
  33120. "type": "string"
  33121. },
  33122. "goodscode": {
  33123. "description": "期货合约",
  33124. "type": "string"
  33125. },
  33126. "goodsid": {
  33127. "description": "期货商品id",
  33128. "type": "integer"
  33129. },
  33130. "goodsname": {
  33131. "description": "商品名称",
  33132. "type": "string"
  33133. },
  33134. "haswr": {
  33135. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33136. "type": "integer"
  33137. },
  33138. "isspecified": {
  33139. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  33140. "type": "integer"
  33141. },
  33142. "ladingbillid": {
  33143. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33144. "type": "string"
  33145. },
  33146. "marginvalue": {
  33147. "description": "期初均价",
  33148. "type": "number"
  33149. },
  33150. "marketid": {
  33151. "description": "市场ID",
  33152. "type": "integer"
  33153. },
  33154. "matchusername": {
  33155. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  33156. "type": "string"
  33157. },
  33158. "minivalue": {
  33159. "description": "现货商品最小变动值",
  33160. "type": "integer"
  33161. },
  33162. "optioncompare": {
  33163. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33164. "type": "string"
  33165. },
  33166. "orderqty": {
  33167. "description": "委托数量",
  33168. "type": "number"
  33169. },
  33170. "ordertime": {
  33171. "description": "委托时间(挂牌时间)",
  33172. "type": "string"
  33173. },
  33174. "performancetemplateid": {
  33175. "description": "履约模板id",
  33176. "type": "integer"
  33177. },
  33178. "pricemove": {
  33179. "description": "升贴水(浮动价时填写) - [挂牌]",
  33180. "type": "number"
  33181. },
  33182. "taname": {
  33183. "description": "交易用户名称(资金账号名称)",
  33184. "type": "string"
  33185. },
  33186. "thumurls": {
  33187. "description": "缩略图",
  33188. "type": "string"
  33189. },
  33190. "tradedate": {
  33191. "description": "交易日(yyyyMMdd)",
  33192. "type": "string"
  33193. },
  33194. "tradeprice": {
  33195. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33196. "type": "number"
  33197. },
  33198. "tradeqty": {
  33199. "description": "成交数量",
  33200. "type": "number"
  33201. },
  33202. "userid": {
  33203. "description": "用户ID",
  33204. "type": "integer"
  33205. },
  33206. "validtime": {
  33207. "description": "挂牌有效期",
  33208. "type": "string"
  33209. },
  33210. "validtype": {
  33211. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33212. "type": "integer"
  33213. },
  33214. "warehouseid": {
  33215. "description": "仓库ID",
  33216. "type": "integer"
  33217. },
  33218. "warehousename": {
  33219. "description": "仓库名称",
  33220. "type": "string"
  33221. },
  33222. "wrfactortypeid": {
  33223. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33224. "type": "string"
  33225. },
  33226. "wrfactortypename": {
  33227. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33228. "type": "string"
  33229. },
  33230. "wrpricetype": {
  33231. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33232. "type": "integer"
  33233. },
  33234. "wrstandardcode": {
  33235. "description": "现货商品代码",
  33236. "type": "string"
  33237. },
  33238. "wrstandardid": {
  33239. "description": "现货商品ID",
  33240. "type": "integer"
  33241. },
  33242. "wrstandardname": {
  33243. "description": "商品名称",
  33244. "type": "string"
  33245. },
  33246. "wrtradeorderid": {
  33247. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33248. "type": "string"
  33249. },
  33250. "wrtradeorderstatus": {
  33251. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  33252. "type": "integer"
  33253. },
  33254. "wrtradetype": {
  33255. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33256. "type": "integer"
  33257. },
  33258. "wrtypename": {
  33259. "description": "商品",
  33260. "type": "string"
  33261. }
  33262. }
  33263. },
  33264. "models.WrOrderQuote": {
  33265. "type": "object",
  33266. "properties": {
  33267. "bannerpicurl": {
  33268. "description": "Banner图",
  33269. "type": "string"
  33270. },
  33271. "buyprice": {
  33272. "description": "买价",
  33273. "type": "number"
  33274. },
  33275. "buypricemove": {
  33276. "description": "买升贴水(基差)",
  33277. "type": "number"
  33278. },
  33279. "buyqty": {
  33280. "description": "买量",
  33281. "type": "number"
  33282. },
  33283. "deliverygoodscode": {
  33284. "description": "品种代码",
  33285. "type": "string"
  33286. },
  33287. "deliverygoodsid": {
  33288. "description": "品种id",
  33289. "type": "integer"
  33290. },
  33291. "deliverygoodsname": {
  33292. "description": "品种名称",
  33293. "type": "string"
  33294. },
  33295. "deliverymonth": {
  33296. "description": "交收月",
  33297. "type": "string"
  33298. },
  33299. "enumdicname": {
  33300. "description": "单位名称",
  33301. "type": "string"
  33302. },
  33303. "goodscode": {
  33304. "description": "商品合约(浮动价列表才有)",
  33305. "type": "string"
  33306. },
  33307. "goodsid": {
  33308. "description": "商品id(浮动价列表才有)",
  33309. "type": "integer"
  33310. },
  33311. "minivalue": {
  33312. "description": "现货商品最小变动值",
  33313. "type": "integer"
  33314. },
  33315. "pictureurls": {
  33316. "description": "详情图片(逗号分隔)",
  33317. "type": "string"
  33318. },
  33319. "sellprice": {
  33320. "description": "卖价",
  33321. "type": "number"
  33322. },
  33323. "sellpricemove": {
  33324. "description": "卖升贴水(基差)",
  33325. "type": "number"
  33326. },
  33327. "sellqty": {
  33328. "description": "卖量",
  33329. "type": "number"
  33330. },
  33331. "thumurls": {
  33332. "description": "缩略图片(1:1)(逗号分隔)",
  33333. "type": "string"
  33334. },
  33335. "warehousecode": {
  33336. "description": "仓库代码",
  33337. "type": "string"
  33338. },
  33339. "warehouseid": {
  33340. "description": "仓库id",
  33341. "type": "integer"
  33342. },
  33343. "warehousename": {
  33344. "description": "仓库名称",
  33345. "type": "string"
  33346. },
  33347. "wrfactortypeid": {
  33348. "description": "仓单要素id",
  33349. "type": "string"
  33350. },
  33351. "wrfactortypename": {
  33352. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33353. "type": "string"
  33354. },
  33355. "wrgoodsname": {
  33356. "description": "商品(商品名称+仓库要素名称 拼接)",
  33357. "type": "string"
  33358. },
  33359. "wrstandardcode": {
  33360. "description": "商品代码",
  33361. "type": "string"
  33362. },
  33363. "wrstandardid": {
  33364. "description": "商品id",
  33365. "type": "integer"
  33366. },
  33367. "wrstandardname": {
  33368. "description": "商品名称",
  33369. "type": "string"
  33370. }
  33371. }
  33372. },
  33373. "models.WrOrderQuoteDetail": {
  33374. "type": "object",
  33375. "properties": {
  33376. "buyorsell": {
  33377. "description": "买卖 - 0:买 1:卖",
  33378. "type": "integer"
  33379. },
  33380. "delistminqty": {
  33381. "description": "期初均价",
  33382. "type": "number"
  33383. },
  33384. "deliverymonth": {
  33385. "description": "交收月",
  33386. "type": "string"
  33387. },
  33388. "enumdicname": {
  33389. "description": "单位名称",
  33390. "type": "string"
  33391. },
  33392. "fixedprice": {
  33393. "description": "买(卖)价",
  33394. "type": "number"
  33395. },
  33396. "marketid": {
  33397. "description": "市场id",
  33398. "type": "integer"
  33399. },
  33400. "minivalue": {
  33401. "description": "现货商品最小变动值",
  33402. "type": "integer"
  33403. },
  33404. "orderqty": {
  33405. "description": "买(卖)量(=委托量-成交量)",
  33406. "type": "number"
  33407. },
  33408. "ordertime": {
  33409. "description": "委托时间",
  33410. "type": "string"
  33411. },
  33412. "pricemove": {
  33413. "description": "买(卖)升贴水- 基差",
  33414. "type": "number"
  33415. },
  33416. "userid": {
  33417. "description": "购买方(销售方)用户ID",
  33418. "type": "integer"
  33419. },
  33420. "username": {
  33421. "description": "购买方(销售方)",
  33422. "type": "string"
  33423. },
  33424. "wrtradeorderid": {
  33425. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33426. "type": "string"
  33427. }
  33428. }
  33429. },
  33430. "models.WrOutInApply": {
  33431. "type": "object",
  33432. "properties": {
  33433. "applyid": {
  33434. "description": "申请单id",
  33435. "type": "string"
  33436. },
  33437. "applystatus": {
  33438. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33439. "type": "integer"
  33440. },
  33441. "applytime": {
  33442. "description": "申请时间",
  33443. "type": "string"
  33444. },
  33445. "applytype": {
  33446. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33447. "type": "integer"
  33448. },
  33449. "bannerpicurl": {
  33450. "description": "Banner图",
  33451. "type": "string"
  33452. },
  33453. "begindate": {
  33454. "description": "开始交易日(yyyymmdd)",
  33455. "type": "string"
  33456. },
  33457. "deliverygoodscode": {
  33458. "description": "品种代码",
  33459. "type": "string"
  33460. },
  33461. "deliverygoodsid": {
  33462. "description": "品种ID",
  33463. "type": "integer"
  33464. },
  33465. "deliverygoodsname": {
  33466. "description": "品种名称",
  33467. "type": "string"
  33468. },
  33469. "enddate": {
  33470. "description": "结束交易日(yyyymmdd)",
  33471. "type": "string"
  33472. },
  33473. "enumdicname": {
  33474. "description": "单位名称",
  33475. "type": "string"
  33476. },
  33477. "expresscompany": {
  33478. "description": "物流公司",
  33479. "type": "string"
  33480. },
  33481. "expressnum": {
  33482. "description": "物流单号",
  33483. "type": "string"
  33484. },
  33485. "minivalue": {
  33486. "description": "现货商品最小变动值",
  33487. "type": "integer"
  33488. },
  33489. "optioncompare": {
  33490. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33491. "type": "string"
  33492. },
  33493. "qty": {
  33494. "description": "数量",
  33495. "type": "integer"
  33496. },
  33497. "userid": {
  33498. "description": "用户id",
  33499. "type": "integer"
  33500. },
  33501. "warehouseid": {
  33502. "description": "仓库ID",
  33503. "type": "integer"
  33504. },
  33505. "warehousename": {
  33506. "description": "仓库名称",
  33507. "type": "string"
  33508. },
  33509. "wrfactortypeid": {
  33510. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33511. "type": "string"
  33512. },
  33513. "wrfactortypename": {
  33514. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33515. "type": "string"
  33516. },
  33517. "wrstandardcode": {
  33518. "description": "现货商品代码",
  33519. "type": "string"
  33520. },
  33521. "wrstandardid": {
  33522. "description": "现货商品ID",
  33523. "type": "integer"
  33524. },
  33525. "wrstandardname": {
  33526. "description": "商品名称",
  33527. "type": "string"
  33528. },
  33529. "wrtypename": {
  33530. "description": "商品",
  33531. "type": "string"
  33532. }
  33533. }
  33534. },
  33535. "models.WrPerformancePlan": {
  33536. "type": "object",
  33537. "required": [
  33538. "userid"
  33539. ],
  33540. "properties": {
  33541. "activatemonth": {
  33542. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33543. "type": "string"
  33544. },
  33545. "amount": {
  33546. "description": "履约金额(总金额)",
  33547. "type": "number"
  33548. },
  33549. "begindate": {
  33550. "description": "开始交易日(yyyymmdd)",
  33551. "type": "string"
  33552. },
  33553. "buyaccountid": {
  33554. "description": "买方账号",
  33555. "type": "integer"
  33556. },
  33557. "buyerfreezeamount": {
  33558. "description": "履约冻结(买履约)",
  33559. "type": "number"
  33560. },
  33561. "buyerfreezeamountremain": {
  33562. "description": "履约冻结剩余(买履约)",
  33563. "type": "number"
  33564. },
  33565. "buyorsell": {
  33566. "description": "买卖方向 0-买 1-卖",
  33567. "type": "integer"
  33568. },
  33569. "buypaidamount": {
  33570. "description": "买方已冻/已扣金额 (已付金额)",
  33571. "type": "number"
  33572. },
  33573. "buyusername": {
  33574. "description": "买方名字",
  33575. "type": "string"
  33576. },
  33577. "contractid": {
  33578. "description": "合同ID",
  33579. "type": "integer"
  33580. },
  33581. "createtime": {
  33582. "description": "创建时间",
  33583. "type": "string"
  33584. },
  33585. "creatorid": {
  33586. "description": "创建人",
  33587. "type": "integer"
  33588. },
  33589. "curstepdeadline": {
  33590. "description": "当前步骤到期时间",
  33591. "type": "string"
  33592. },
  33593. "curstepid": {
  33594. "description": "当前步骤ID",
  33595. "type": "string"
  33596. },
  33597. "curstepname": {
  33598. "description": "当前步骤名称",
  33599. "type": "string"
  33600. },
  33601. "deliverygoodscode": {
  33602. "description": "品种代码",
  33603. "type": "string"
  33604. },
  33605. "deliverygoodsid": {
  33606. "description": "品种ID",
  33607. "type": "integer"
  33608. },
  33609. "deliverygoodsname": {
  33610. "description": "品种名称",
  33611. "type": "string"
  33612. },
  33613. "enddate": {
  33614. "description": "结束交易日(yyyymmdd)",
  33615. "type": "string"
  33616. },
  33617. "enumdicname": {
  33618. "description": "单位名称",
  33619. "type": "string"
  33620. },
  33621. "expressfee": {
  33622. "description": "运费",
  33623. "type": "number"
  33624. },
  33625. "expressfeeconfirmed": {
  33626. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33627. "type": "integer"
  33628. },
  33629. "hasovershort": {
  33630. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33631. "type": "integer"
  33632. },
  33633. "haswr": {
  33634. "description": "类型 0-仓单预售 1-仓单贸易",
  33635. "type": "integer"
  33636. },
  33637. "marketid": {
  33638. "description": "市场ID",
  33639. "type": "integer"
  33640. },
  33641. "middleaccountid": {
  33642. "description": "中间商资金账号ID",
  33643. "type": "integer"
  33644. },
  33645. "middleuserid": {
  33646. "description": "中间商用户ID",
  33647. "type": "integer"
  33648. },
  33649. "minivalue": {
  33650. "description": "现货商品最小变动值",
  33651. "type": "integer"
  33652. },
  33653. "optioncompare": {
  33654. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33655. "type": "string"
  33656. },
  33657. "overshortamount": {
  33658. "description": "溢短金额",
  33659. "type": "number"
  33660. },
  33661. "overshortqty": {
  33662. "description": "溢短数量",
  33663. "type": "number"
  33664. },
  33665. "paymenttype": {
  33666. "description": "付款方式 - 1:冻结 2:扣款",
  33667. "type": "integer"
  33668. },
  33669. "performanceplanid": {
  33670. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33671. "type": "string"
  33672. },
  33673. "performancestatus": {
  33674. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33675. "type": "integer"
  33676. },
  33677. "performancetype": {
  33678. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33679. "type": "integer"
  33680. },
  33681. "qty": {
  33682. "description": "履约数量",
  33683. "type": "number"
  33684. },
  33685. "relatedorderid": {
  33686. "description": "关联单号(履约类型的关联单号)",
  33687. "type": "string"
  33688. },
  33689. "remark": {
  33690. "description": "备注",
  33691. "type": "string"
  33692. },
  33693. "sellaccountid": {
  33694. "description": "卖方账号",
  33695. "type": "integer"
  33696. },
  33697. "sellerfreezeamount": {
  33698. "description": "履约冻结(卖履约)",
  33699. "type": "number"
  33700. },
  33701. "sellerfreezeamountremain": {
  33702. "description": "履约冻结剩余(卖履约)",
  33703. "type": "number"
  33704. },
  33705. "sellreceivedamount": {
  33706. "description": "卖方已收金额",
  33707. "type": "number"
  33708. },
  33709. "sellusername": {
  33710. "description": "卖方名字",
  33711. "type": "string"
  33712. },
  33713. "shipremark": {
  33714. "description": "发货备注[物流单号]",
  33715. "type": "string"
  33716. },
  33717. "starttime": {
  33718. "description": "开始时间",
  33719. "type": "string"
  33720. },
  33721. "steptypeid": {
  33722. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33723. "type": "integer"
  33724. },
  33725. "typename": {
  33726. "description": "履约类型 名称",
  33727. "type": "string"
  33728. },
  33729. "unpaidamount": {
  33730. "description": "期初均价",
  33731. "type": "number"
  33732. },
  33733. "userid": {
  33734. "description": "用户id",
  33735. "type": "integer"
  33736. },
  33737. "warehouseid": {
  33738. "description": "仓库ID",
  33739. "type": "integer"
  33740. },
  33741. "warehousename": {
  33742. "description": "仓库名称",
  33743. "type": "string"
  33744. },
  33745. "wrfactortypeid": {
  33746. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33747. "type": "string"
  33748. },
  33749. "wrfactortypename": {
  33750. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33751. "type": "string"
  33752. },
  33753. "wrstandardcode": {
  33754. "description": "现货商品代码",
  33755. "type": "string"
  33756. },
  33757. "wrstandardid": {
  33758. "description": "现货商品ID",
  33759. "type": "integer"
  33760. },
  33761. "wrstandardname": {
  33762. "description": "商品名称",
  33763. "type": "string"
  33764. },
  33765. "wrtransferuserid": {
  33766. "description": "仓单受让用户",
  33767. "type": "integer"
  33768. },
  33769. "wrtypename": {
  33770. "description": "商品",
  33771. "type": "string"
  33772. }
  33773. }
  33774. },
  33775. "models.WrPerformancePlanStep": {
  33776. "type": "object",
  33777. "properties": {
  33778. "delaydays": {
  33779. "description": "延期申请天数",
  33780. "type": "integer"
  33781. },
  33782. "deliverygoodscode": {
  33783. "description": "品种代码",
  33784. "type": "string"
  33785. },
  33786. "deliverygoodsid": {
  33787. "description": "品种ID",
  33788. "type": "integer"
  33789. },
  33790. "deliverygoodsname": {
  33791. "description": "品种名称",
  33792. "type": "string"
  33793. },
  33794. "endtime": {
  33795. "description": "结束日期",
  33796. "type": "string"
  33797. },
  33798. "enumdicname": {
  33799. "description": "单位名称",
  33800. "type": "string"
  33801. },
  33802. "executeside": {
  33803. "description": "步骤执行方 - 1:买方 2:卖方",
  33804. "type": "integer"
  33805. },
  33806. "handlestatus": {
  33807. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33808. "type": "integer"
  33809. },
  33810. "isauto": {
  33811. "description": "是否自动 - 0:不自动 1:自动",
  33812. "type": "integer"
  33813. },
  33814. "islastreceivestep": {
  33815. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33816. "type": "integer"
  33817. },
  33818. "minivalue": {
  33819. "description": "现货商品最小变动值",
  33820. "type": "integer"
  33821. },
  33822. "optioncompare": {
  33823. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33824. "type": "string"
  33825. },
  33826. "overdays": {
  33827. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33828. "type": "integer"
  33829. },
  33830. "performancestepid": {
  33831. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33832. "type": "string"
  33833. },
  33834. "planid": {
  33835. "description": "所属履约计划ID",
  33836. "type": "string"
  33837. },
  33838. "realamount": {
  33839. "description": "实际完成金额",
  33840. "type": "number"
  33841. },
  33842. "relatedorderid": {
  33843. "description": "关联单号",
  33844. "type": "string"
  33845. },
  33846. "remaindays": {
  33847. "description": "剩余天数",
  33848. "type": "integer"
  33849. },
  33850. "remark": {
  33851. "description": "错误备注",
  33852. "type": "string"
  33853. },
  33854. "starttime": {
  33855. "description": "开始日期",
  33856. "type": "string"
  33857. },
  33858. "stepamount": {
  33859. "description": "步骤金额",
  33860. "type": "number"
  33861. },
  33862. "stepdays": {
  33863. "description": "距离上一步天数(分钟)",
  33864. "type": "integer"
  33865. },
  33866. "stepindex": {
  33867. "description": "步骤序号",
  33868. "type": "integer"
  33869. },
  33870. "steplanchtype": {
  33871. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33872. "type": "integer"
  33873. },
  33874. "stepremark": {
  33875. "description": "步骤备注",
  33876. "type": "string"
  33877. },
  33878. "stepstatus": {
  33879. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33880. "type": "integer"
  33881. },
  33882. "steptypeid": {
  33883. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33884. "type": "integer"
  33885. },
  33886. "steptypename": {
  33887. "description": "步骤名称",
  33888. "type": "string"
  33889. },
  33890. "stepvalue": {
  33891. "description": "步骤值",
  33892. "type": "number"
  33893. },
  33894. "warehouseid": {
  33895. "description": "仓库ID",
  33896. "type": "integer"
  33897. },
  33898. "warehousename": {
  33899. "description": "仓库名称",
  33900. "type": "string"
  33901. },
  33902. "wrfactortypeid": {
  33903. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33904. "type": "string"
  33905. },
  33906. "wrfactortypename": {
  33907. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33908. "type": "string"
  33909. },
  33910. "wrstandardcode": {
  33911. "description": "现货商品代码",
  33912. "type": "string"
  33913. },
  33914. "wrstandardid": {
  33915. "description": "现货商品ID",
  33916. "type": "integer"
  33917. },
  33918. "wrstandardname": {
  33919. "description": "商品名称",
  33920. "type": "string"
  33921. },
  33922. "wrtypename": {
  33923. "description": "商品",
  33924. "type": "string"
  33925. }
  33926. }
  33927. },
  33928. "models.WrPerformanceStepType": {
  33929. "type": "object",
  33930. "properties": {
  33931. "canauto": {
  33932. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33933. "type": "integer"
  33934. },
  33935. "steptypeid": {
  33936. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33937. "type": "integer"
  33938. },
  33939. "steptypename": {
  33940. "description": "步骤类型名称",
  33941. "type": "string"
  33942. }
  33943. }
  33944. },
  33945. "models.WrPerformanceTemplateEx": {
  33946. "type": "object",
  33947. "properties": {
  33948. "autoid": {
  33949. "description": "AutoID 模板id",
  33950. "type": "integer"
  33951. },
  33952. "createtime": {
  33953. "description": "创建时间",
  33954. "type": "string"
  33955. },
  33956. "creatorid": {
  33957. "description": "创建人",
  33958. "type": "integer"
  33959. },
  33960. "lstStep": {
  33961. "description": "步骤信息列表",
  33962. "type": "array",
  33963. "items": {
  33964. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33965. }
  33966. },
  33967. "paymenttype": {
  33968. "description": "支付方式 - 1:冻结 2:扣款",
  33969. "type": "integer"
  33970. },
  33971. "takemode": {
  33972. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33973. "type": "integer"
  33974. },
  33975. "templatename": {
  33976. "description": "模板名称",
  33977. "type": "string"
  33978. },
  33979. "templatetype": {
  33980. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33981. "type": "integer"
  33982. },
  33983. "userid": {
  33984. "description": "所属用户",
  33985. "type": "integer"
  33986. }
  33987. }
  33988. },
  33989. "models.WrPosition": {
  33990. "type": "object",
  33991. "properties": {
  33992. "accountid": {
  33993. "description": "帐户ID",
  33994. "type": "integer"
  33995. },
  33996. "buyexcuteqty": {
  33997. "description": "采购履约中数量",
  33998. "type": "number"
  33999. },
  34000. "creditcurqty": {
  34001. "description": "授信当前数量(预售仓单:预售当前量)",
  34002. "type": "number"
  34003. },
  34004. "creditenableqty": {
  34005. "description": "授信可用数量(预售仓单: 可用数量)",
  34006. "type": "number"
  34007. },
  34008. "creditfreezeqty": {
  34009. "description": "授信冻结数量(预售仓单: 当前数量)",
  34010. "type": "number"
  34011. },
  34012. "credittotalqty": {
  34013. "description": "授信总数量(预售仓单:预售总量)",
  34014. "type": "number"
  34015. },
  34016. "credittradeqty": {
  34017. "description": "授信成交数量(预售仓单:成交总量)",
  34018. "type": "number"
  34019. },
  34020. "deliverygoodscode": {
  34021. "description": "品种代码",
  34022. "type": "string"
  34023. },
  34024. "deliverygoodsid": {
  34025. "description": "品种ID",
  34026. "type": "integer"
  34027. },
  34028. "deliverygoodsname": {
  34029. "description": "品种名称",
  34030. "type": "string"
  34031. },
  34032. "enalbeqty": {
  34033. "description": "可用数量",
  34034. "type": "number"
  34035. },
  34036. "enumdicname": {
  34037. "description": "单位名称",
  34038. "type": "string"
  34039. },
  34040. "freezeqty": {
  34041. "description": "总冻结数量",
  34042. "type": "number"
  34043. },
  34044. "haswr": {
  34045. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34046. "type": "integer"
  34047. },
  34048. "minivalue": {
  34049. "description": "现货商品最小变动值",
  34050. "type": "integer"
  34051. },
  34052. "modifytime": {
  34053. "description": "修改时间(过户时间)",
  34054. "type": "string"
  34055. },
  34056. "optioncompare": {
  34057. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34058. "type": "string"
  34059. },
  34060. "pledgeqty": {
  34061. "description": "质押数量",
  34062. "type": "number"
  34063. },
  34064. "querytype": {
  34065. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  34066. "type": "integer"
  34067. },
  34068. "sellexcuteqty": {
  34069. "description": "销售履约中数量",
  34070. "type": "number"
  34071. },
  34072. "totalqty": {
  34073. "description": "总数量(库存数量)",
  34074. "type": "number"
  34075. },
  34076. "warehouseid": {
  34077. "description": "仓库ID",
  34078. "type": "integer"
  34079. },
  34080. "warehousename": {
  34081. "description": "仓库名称",
  34082. "type": "string"
  34083. },
  34084. "wrfactortypeid": {
  34085. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34086. "type": "string"
  34087. },
  34088. "wrfactortypename": {
  34089. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34090. "type": "string"
  34091. },
  34092. "wrpositionid": {
  34093. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  34094. "type": "string"
  34095. },
  34096. "wrpositionno": {
  34097. "description": "仓单编号",
  34098. "type": "string"
  34099. },
  34100. "wrstandardcode": {
  34101. "description": "现货商品代码",
  34102. "type": "string"
  34103. },
  34104. "wrstandardid": {
  34105. "description": "现货商品ID",
  34106. "type": "integer"
  34107. },
  34108. "wrstandardname": {
  34109. "description": "商品名称",
  34110. "type": "string"
  34111. },
  34112. "wrtypename": {
  34113. "description": "商品",
  34114. "type": "string"
  34115. },
  34116. "wruserid": {
  34117. "description": "持有人ID",
  34118. "type": "integer"
  34119. }
  34120. }
  34121. },
  34122. "models.WrPreSaleInfo": {
  34123. "type": "object",
  34124. "properties": {
  34125. "bannerpicurl": {
  34126. "description": "Banner图",
  34127. "type": "string"
  34128. },
  34129. "baseqty": {
  34130. "description": "中签基数",
  34131. "type": "number"
  34132. },
  34133. "createtime": {
  34134. "description": "创建时间",
  34135. "type": "string"
  34136. },
  34137. "deliverygoodsid": {
  34138. "description": "现货品种ID",
  34139. "type": "integer"
  34140. },
  34141. "enddate": {
  34142. "description": "预售结束日期",
  34143. "type": "string"
  34144. },
  34145. "enumdicname": {
  34146. "description": "单位名称",
  34147. "type": "string"
  34148. },
  34149. "lotteryflag": {
  34150. "description": "摇号标识 - 0:未摇号 1:已摇号",
  34151. "type": "integer"
  34152. },
  34153. "lotteryqty": {
  34154. "description": "摇号总量",
  34155. "type": "number"
  34156. },
  34157. "luckyqty": {
  34158. "description": "已中签量",
  34159. "type": "number"
  34160. },
  34161. "marketid": {
  34162. "description": "市场ID",
  34163. "type": "integer"
  34164. },
  34165. "maxbuyqty": {
  34166. "description": "单人最大申购量",
  34167. "type": "number"
  34168. },
  34169. "maxluckyqty": {
  34170. "description": "单人最大中签量",
  34171. "type": "number"
  34172. },
  34173. "pictureurls": {
  34174. "description": "详情图片(逗号分隔)",
  34175. "type": "string"
  34176. },
  34177. "placeqty": {
  34178. "description": "已配售量",
  34179. "type": "number"
  34180. },
  34181. "presaleapplyid": {
  34182. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  34183. "type": "string",
  34184. "example": "0"
  34185. },
  34186. "presaleqty": {
  34187. "description": "预售总量",
  34188. "type": "number"
  34189. },
  34190. "presalestatus": {
  34191. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  34192. "type": "integer"
  34193. },
  34194. "sellaccountid": {
  34195. "description": "发行方资金账户ID",
  34196. "type": "integer"
  34197. },
  34198. "selluserid": {
  34199. "description": "发行方用户ID",
  34200. "type": "integer"
  34201. },
  34202. "sellwrtradeorderid": {
  34203. "description": "发行方卖委托单ID",
  34204. "type": "string"
  34205. },
  34206. "startdate": {
  34207. "description": "预售开始日期",
  34208. "type": "string"
  34209. },
  34210. "takestartdate": {
  34211. "description": "提货开始日期",
  34212. "type": "string"
  34213. },
  34214. "thumurls": {
  34215. "description": "缩略图片(1:1)(逗号分隔)",
  34216. "type": "string"
  34217. },
  34218. "tradedate": {
  34219. "description": "交易日",
  34220. "type": "string"
  34221. },
  34222. "unitid": {
  34223. "description": "单位ID",
  34224. "type": "integer"
  34225. },
  34226. "unitprice": {
  34227. "description": "商品单价",
  34228. "type": "number"
  34229. },
  34230. "username": {
  34231. "description": "发行方用户名称",
  34232. "type": "string"
  34233. },
  34234. "warehousecode": {
  34235. "description": "仓库代码(仓库简称)",
  34236. "type": "string"
  34237. },
  34238. "warehouseid": {
  34239. "description": "仓库ID",
  34240. "type": "integer"
  34241. },
  34242. "warehousename": {
  34243. "description": "仓库名称",
  34244. "type": "string"
  34245. },
  34246. "wrfactortypeid": {
  34247. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  34248. "type": "string",
  34249. "example": "0"
  34250. },
  34251. "wrstandardid": {
  34252. "description": "现货商品ID",
  34253. "type": "integer"
  34254. },
  34255. "wrstandardname": {
  34256. "description": "现货商品名称",
  34257. "type": "string"
  34258. }
  34259. }
  34260. },
  34261. "models.WrQuoteOrderMyq": {
  34262. "type": "object",
  34263. "properties": {
  34264. "buyorsell": {
  34265. "description": "买卖 - 0:买 1:卖",
  34266. "type": "integer"
  34267. },
  34268. "canbargain": {
  34269. "description": "是否可议价 - 0:不可 1:可",
  34270. "type": "integer"
  34271. },
  34272. "canpart": {
  34273. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  34274. "type": "integer"
  34275. },
  34276. "delistminqty": {
  34277. "description": "期初均价",
  34278. "type": "number"
  34279. },
  34280. "deliverygoodscode": {
  34281. "description": "品种代码",
  34282. "type": "string"
  34283. },
  34284. "deliverygoodsid": {
  34285. "description": "品种ID",
  34286. "type": "integer"
  34287. },
  34288. "deliverygoodsname": {
  34289. "description": "品种名称",
  34290. "type": "string"
  34291. },
  34292. "deliverymonth": {
  34293. "description": "交收月",
  34294. "type": "string"
  34295. },
  34296. "enumdicname": {
  34297. "description": "单位名称",
  34298. "type": "string"
  34299. },
  34300. "fixedprice": {
  34301. "description": "买(卖)价",
  34302. "type": "number"
  34303. },
  34304. "goodscode": {
  34305. "description": "商品合约代码",
  34306. "type": "string"
  34307. },
  34308. "marginflag": {
  34309. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  34310. "type": "integer"
  34311. },
  34312. "marginvalue": {
  34313. "description": "保证金设置值",
  34314. "type": "number"
  34315. },
  34316. "minivalue": {
  34317. "description": "现货商品最小变动值",
  34318. "type": "integer"
  34319. },
  34320. "orderqty": {
  34321. "description": "买(卖)量(=委托量-成交量)",
  34322. "type": "number"
  34323. },
  34324. "ordertime": {
  34325. "description": "委托时间",
  34326. "type": "string"
  34327. },
  34328. "performancetemplateid": {
  34329. "description": "履约模板id",
  34330. "type": "integer"
  34331. },
  34332. "pricemove": {
  34333. "description": "买(卖)升贴水- 基差",
  34334. "type": "number"
  34335. },
  34336. "templatename": {
  34337. "description": "履约模板名称",
  34338. "type": "string"
  34339. },
  34340. "userid": {
  34341. "description": "购买方(销售方)用户ID",
  34342. "type": "integer"
  34343. },
  34344. "username": {
  34345. "description": "购买方(销售方)",
  34346. "type": "string"
  34347. },
  34348. "validtime": {
  34349. "description": "有效期限",
  34350. "type": "string"
  34351. },
  34352. "validtype": {
  34353. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  34354. "type": "integer"
  34355. },
  34356. "warehousename": {
  34357. "description": "仓库名称",
  34358. "type": "string"
  34359. },
  34360. "wrfactortypeid": {
  34361. "description": "仓单要素id",
  34362. "type": "string"
  34363. },
  34364. "wrstandardcode": {
  34365. "description": "现货商品代码",
  34366. "type": "string"
  34367. },
  34368. "wrstandardid": {
  34369. "description": "现货商品ID",
  34370. "type": "integer"
  34371. },
  34372. "wrstandardname": {
  34373. "description": "商品名称",
  34374. "type": "string"
  34375. },
  34376. "wrtradeorderid": {
  34377. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34378. "type": "string"
  34379. },
  34380. "wrtypename": {
  34381. "description": "商品",
  34382. "type": "string"
  34383. }
  34384. }
  34385. },
  34386. "models.WrReckonSpotGoodsTradeSum": {
  34387. "type": "object",
  34388. "properties": {
  34389. "begindate": {
  34390. "description": "开始日期(结果含开始日期) yyyymmdd",
  34391. "type": "string"
  34392. },
  34393. "enddate": {
  34394. "description": "结束日期(结果含结束日期) yyyymmdd",
  34395. "type": "string"
  34396. },
  34397. "istoday": {
  34398. "description": "是否当日",
  34399. "type": "boolean"
  34400. },
  34401. "marketid": {
  34402. "description": "市场ID",
  34403. "type": "integer"
  34404. },
  34405. "price": {
  34406. "description": "价格 = 日成交金额 / 日成交数量",
  34407. "type": "string"
  34408. },
  34409. "reckondate": {
  34410. "description": "日期 格式 yyyymmdd",
  34411. "type": "string"
  34412. },
  34413. "tradeamount": {
  34414. "description": "期初均价",
  34415. "type": "number"
  34416. },
  34417. "tradeqty": {
  34418. "description": "期初均价",
  34419. "type": "number"
  34420. },
  34421. "wrstandardid": {
  34422. "description": "现货商品ID",
  34423. "type": "integer"
  34424. }
  34425. }
  34426. },
  34427. "models.WrScfContract": {
  34428. "type": "object",
  34429. "properties": {
  34430. "borroweruserid": {
  34431. "description": "借款用户ID",
  34432. "type": "integer"
  34433. },
  34434. "buybackwrpositionqty": {
  34435. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  34436. "type": "number"
  34437. },
  34438. "closeinterest": {
  34439. "description": "已结利息 -\u003e 已结费用",
  34440. "type": "number"
  34441. },
  34442. "currisklevel": {
  34443. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34444. "type": "integer"
  34445. },
  34446. "deadline": {
  34447. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  34448. "type": "string"
  34449. },
  34450. "deliverygoodscode": {
  34451. "description": "品种代码",
  34452. "type": "string"
  34453. },
  34454. "deliverygoodsid": {
  34455. "description": "品种ID",
  34456. "type": "integer"
  34457. },
  34458. "deliverygoodsname": {
  34459. "description": "品种名称",
  34460. "type": "string"
  34461. },
  34462. "enumdicname": {
  34463. "description": "单位名称",
  34464. "type": "string"
  34465. },
  34466. "financingdays": {
  34467. "description": "天数(天)",
  34468. "type": "integer"
  34469. },
  34470. "initmargin": {
  34471. "description": "保证金 - [仓单回购]",
  34472. "type": "number"
  34473. },
  34474. "interestamount": {
  34475. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34476. "type": "number"
  34477. },
  34478. "interestdebt": {
  34479. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34480. "type": "number"
  34481. },
  34482. "interestminlen": {
  34483. "description": "最小起息天数",
  34484. "type": "integer"
  34485. },
  34486. "interestrate": {
  34487. "description": "利率",
  34488. "type": "number"
  34489. },
  34490. "interestratemode": {
  34491. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34492. "type": "integer"
  34493. },
  34494. "interestsettlemode": {
  34495. "description": "结息方式 - 1:按日结息 3:按月结息",
  34496. "type": "integer"
  34497. },
  34498. "interestsettlevalue": {
  34499. "description": "结息方式值",
  34500. "type": "integer"
  34501. },
  34502. "isautoloan": {
  34503. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34504. "type": "integer"
  34505. },
  34506. "lastcloseinterestday": {
  34507. "description": "最近结息日(yyyyMMdd)",
  34508. "type": "string"
  34509. },
  34510. "lenderamount": {
  34511. "description": "贷款金额 -\u003e 借款金额",
  34512. "type": "number"
  34513. },
  34514. "lenderuserid": {
  34515. "description": "贷款方用户ID -\u003e 融出方用户ID",
  34516. "type": "integer"
  34517. },
  34518. "lenderusername": {
  34519. "description": "融出方",
  34520. "type": "string"
  34521. },
  34522. "marginratio": {
  34523. "description": "保证金比率质押率 - [仓单质押]",
  34524. "type": "number"
  34525. },
  34526. "marketid": {
  34527. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34528. "type": "integer"
  34529. },
  34530. "minivalue": {
  34531. "description": "现货商品最小变动值",
  34532. "type": "integer"
  34533. },
  34534. "optioncompare": {
  34535. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34536. "type": "string"
  34537. },
  34538. "pricemove": {
  34539. "description": "估值升贴水值",
  34540. "type": "number"
  34541. },
  34542. "productdetailid": {
  34543. "description": "产品组合ID",
  34544. "type": "integer"
  34545. },
  34546. "productid": {
  34547. "description": "金融产品ID",
  34548. "type": "integer"
  34549. },
  34550. "productname": {
  34551. "description": "产品名称",
  34552. "type": "string"
  34553. },
  34554. "remainamount": {
  34555. "description": "合同剩余金额 -\u003e 剩余金额",
  34556. "type": "number"
  34557. },
  34558. "remainwrpositionqty": {
  34559. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34560. "type": "number"
  34561. },
  34562. "remark": {
  34563. "description": "备注",
  34564. "type": "string"
  34565. },
  34566. "scfcontractid": {
  34567. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34568. "type": "string"
  34569. },
  34570. "scfcontractstatus": {
  34571. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34572. "type": "integer"
  34573. },
  34574. "scfcontracttype": {
  34575. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34576. "type": "integer"
  34577. },
  34578. "startinterestday": {
  34579. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34580. "type": "string"
  34581. },
  34582. "totalinterest": {
  34583. "description": "已计利息 -\u003e 已计费用",
  34584. "type": "number"
  34585. },
  34586. "unpaidinterest": {
  34587. "description": "期初均价",
  34588. "type": "number"
  34589. },
  34590. "updatetime": {
  34591. "description": "更新时间",
  34592. "type": "string"
  34593. },
  34594. "warehouseid": {
  34595. "description": "仓库ID",
  34596. "type": "integer"
  34597. },
  34598. "warehousename": {
  34599. "description": "仓库名称",
  34600. "type": "string"
  34601. },
  34602. "wrfactortypeid": {
  34603. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34604. "type": "string"
  34605. },
  34606. "wrfactortypename": {
  34607. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34608. "type": "string"
  34609. },
  34610. "wrqty": {
  34611. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34612. "type": "number"
  34613. },
  34614. "wrstandardcode": {
  34615. "description": "现货商品代码",
  34616. "type": "string"
  34617. },
  34618. "wrstandardid": {
  34619. "description": "现货商品ID",
  34620. "type": "integer"
  34621. },
  34622. "wrstandardname": {
  34623. "description": "商品名称",
  34624. "type": "string"
  34625. },
  34626. "wrtypename": {
  34627. "description": "商品",
  34628. "type": "string"
  34629. }
  34630. }
  34631. },
  34632. "models.WrScfContractInterest": {
  34633. "type": "object",
  34634. "properties": {
  34635. "closeinterest": {
  34636. "description": "已结利息",
  34637. "type": "number"
  34638. },
  34639. "closeintereststatus": {
  34640. "description": "结息状态 - 1:未结 2:已结",
  34641. "type": "integer"
  34642. },
  34643. "closetime": {
  34644. "description": "结息时间",
  34645. "type": "string"
  34646. },
  34647. "closetradedate": {
  34648. "description": "结息交易日",
  34649. "type": "string"
  34650. },
  34651. "creatorid": {
  34652. "description": "操作人ID",
  34653. "type": "integer"
  34654. },
  34655. "dayrate": {
  34656. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34657. "type": "number"
  34658. },
  34659. "interest": {
  34660. "description": "利息",
  34661. "type": "number"
  34662. },
  34663. "interestamount": {
  34664. "description": "计息金额",
  34665. "type": "number"
  34666. },
  34667. "interestday": {
  34668. "description": "计息日(yyyyMMdd)",
  34669. "type": "string"
  34670. },
  34671. "scfcontractid": {
  34672. "description": "SCF合同ID",
  34673. "type": "string"
  34674. },
  34675. "scfcontractinterestid": {
  34676. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34677. "type": "integer"
  34678. },
  34679. "updatetime": {
  34680. "description": "更新时间",
  34681. "type": "string"
  34682. }
  34683. }
  34684. },
  34685. "models.WrSearchUser": {
  34686. "type": "object",
  34687. "required": [
  34688. "username"
  34689. ],
  34690. "properties": {
  34691. "userid": {
  34692. "description": "用户ID",
  34693. "type": "integer"
  34694. },
  34695. "username": {
  34696. "description": "用户名称(已脱敏)",
  34697. "type": "string"
  34698. },
  34699. "username2": {
  34700. "description": "用户名称(未脱敏)",
  34701. "type": "string"
  34702. },
  34703. "usertype": {
  34704. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34705. "type": "integer"
  34706. }
  34707. }
  34708. },
  34709. "models.WrSiteColumnDetail": {
  34710. "type": "object",
  34711. "properties": {
  34712. "brief": {
  34713. "description": "简介",
  34714. "type": "string"
  34715. },
  34716. "context": {
  34717. "description": "内容",
  34718. "type": "string"
  34719. },
  34720. "coverimage": {
  34721. "description": "封面图片",
  34722. "type": "string"
  34723. },
  34724. "creaedate": {
  34725. "description": "创建时间",
  34726. "type": "string"
  34727. },
  34728. "id": {
  34729. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  34730. "type": "integer"
  34731. },
  34732. "istop": {
  34733. "description": "是否置顶 - 0:不置 1:置顶",
  34734. "type": "integer"
  34735. },
  34736. "publishdate": {
  34737. "description": "发布日期",
  34738. "type": "string"
  34739. },
  34740. "title": {
  34741. "description": "标题",
  34742. "type": "string"
  34743. },
  34744. "updatedate": {
  34745. "description": "修改时间",
  34746. "type": "string"
  34747. }
  34748. }
  34749. },
  34750. "models.WrSpecialMatchOrder": {
  34751. "type": "object",
  34752. "properties": {
  34753. "amount": {
  34754. "description": "金额 = 数量 * 价格",
  34755. "type": "number"
  34756. },
  34757. "buyorsell": {
  34758. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34759. "type": "integer"
  34760. },
  34761. "cancelqty": {
  34762. "description": "撤销数量",
  34763. "type": "number"
  34764. },
  34765. "deliverygoodscode": {
  34766. "description": "品种代码",
  34767. "type": "string"
  34768. },
  34769. "deliverygoodsid": {
  34770. "description": "品种ID",
  34771. "type": "integer"
  34772. },
  34773. "deliverygoodsname": {
  34774. "description": "品种名称",
  34775. "type": "string"
  34776. },
  34777. "enumdicname": {
  34778. "description": "单位名称",
  34779. "type": "string"
  34780. },
  34781. "fixedprice": {
  34782. "description": "固定价格(价格)",
  34783. "type": "number"
  34784. },
  34785. "haswr": {
  34786. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34787. "type": "integer"
  34788. },
  34789. "isspecified": {
  34790. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  34791. "type": "integer"
  34792. },
  34793. "marketid": {
  34794. "description": "市场ID",
  34795. "type": "integer"
  34796. },
  34797. "matchuserid": {
  34798. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  34799. "type": "integer"
  34800. },
  34801. "matchusername": {
  34802. "description": "指定方",
  34803. "type": "string"
  34804. },
  34805. "minivalue": {
  34806. "description": "现货商品最小变动值",
  34807. "type": "integer"
  34808. },
  34809. "optioncompare": {
  34810. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34811. "type": "string"
  34812. },
  34813. "orderqty": {
  34814. "description": "委托数量",
  34815. "type": "number"
  34816. },
  34817. "ordertime": {
  34818. "description": "委托时间",
  34819. "type": "string"
  34820. },
  34821. "pricemove": {
  34822. "description": "升贴水(浮动价时填写) - [挂牌]",
  34823. "type": "number"
  34824. },
  34825. "tradedate": {
  34826. "description": "交易日(yyyyMMdd)",
  34827. "type": "string"
  34828. },
  34829. "tradeprice": {
  34830. "description": "成交价格",
  34831. "type": "number"
  34832. },
  34833. "tradeqty": {
  34834. "description": "成交数量",
  34835. "type": "number"
  34836. },
  34837. "userid": {
  34838. "description": "用户ID",
  34839. "type": "integer"
  34840. },
  34841. "username": {
  34842. "description": "发起方",
  34843. "type": "string"
  34844. },
  34845. "warehouseid": {
  34846. "description": "仓库ID",
  34847. "type": "integer"
  34848. },
  34849. "warehousename": {
  34850. "description": "仓库名称",
  34851. "type": "string"
  34852. },
  34853. "wrfactortypeid": {
  34854. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34855. "type": "string"
  34856. },
  34857. "wrfactortypename": {
  34858. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34859. "type": "string"
  34860. },
  34861. "wrpricetype": {
  34862. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34863. "type": "integer"
  34864. },
  34865. "wrstandardcode": {
  34866. "description": "现货商品代码",
  34867. "type": "string"
  34868. },
  34869. "wrstandardid": {
  34870. "description": "现货商品ID",
  34871. "type": "integer"
  34872. },
  34873. "wrstandardname": {
  34874. "description": "商品名称",
  34875. "type": "string"
  34876. },
  34877. "wrtradeorderid": {
  34878. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34879. "type": "string"
  34880. },
  34881. "wrtradeorderstatus": {
  34882. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  34883. "type": "integer"
  34884. },
  34885. "wrtradetype": {
  34886. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34887. "type": "integer"
  34888. },
  34889. "wrtypename": {
  34890. "description": "商品",
  34891. "type": "string"
  34892. }
  34893. }
  34894. },
  34895. "models.WrSpotGroupTradeSum": {
  34896. "type": "object",
  34897. "properties": {
  34898. "deliverygoodscode": {
  34899. "description": "现货品种代码",
  34900. "type": "string"
  34901. },
  34902. "deliverygoodsid": {
  34903. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34904. "type": "integer"
  34905. },
  34906. "deliverygoodsname": {
  34907. "description": "现货品种名称",
  34908. "type": "string"
  34909. },
  34910. "lastavgprice": {
  34911. "description": "上上个交易日价格(前2天价格)",
  34912. "type": "string"
  34913. },
  34914. "lastreckondate": {
  34915. "description": "上上个交易日(前2天交易日)",
  34916. "type": "string"
  34917. },
  34918. "reckondate": {
  34919. "description": "上个交易日(前1天交易日)",
  34920. "type": "string"
  34921. },
  34922. "todayavgprice": {
  34923. "description": "上个交易日价格(前1天价格)",
  34924. "type": "string"
  34925. },
  34926. "updown": {
  34927. "description": "涨跌",
  34928. "type": "string"
  34929. },
  34930. "updownratio": {
  34931. "description": "涨幅(已格式化, 直接显示即可)",
  34932. "type": "string"
  34933. }
  34934. }
  34935. },
  34936. "models.WrSpotGroupTradeSumDetail": {
  34937. "type": "object",
  34938. "properties": {
  34939. "deliverygoodsid": {
  34940. "description": "现货商品id",
  34941. "type": "integer"
  34942. },
  34943. "price": {
  34944. "description": "价格",
  34945. "type": "number"
  34946. },
  34947. "reckondate": {
  34948. "description": "日期(yyymmdd, 如:20211031)",
  34949. "type": "string"
  34950. }
  34951. }
  34952. },
  34953. "models.WrSpotGroupTradeSumEx": {
  34954. "type": "object",
  34955. "properties": {
  34956. "lst": {
  34957. "description": "指数列表",
  34958. "type": "array",
  34959. "items": {
  34960. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  34961. }
  34962. },
  34963. "prereckondate": {
  34964. "description": "上上个交易日(yyymmdd)",
  34965. "type": "string"
  34966. },
  34967. "reckondate": {
  34968. "description": "上个交易日(yyyymmdd)",
  34969. "type": "string"
  34970. }
  34971. }
  34972. },
  34973. "models.WrStandardFactoryItem": {
  34974. "type": "object",
  34975. "properties": {
  34976. "dgfactoryitemid": {
  34977. "description": "选择项id",
  34978. "type": "integer"
  34979. },
  34980. "dgfactoryitemvalue": {
  34981. "description": "要素项值",
  34982. "type": "string"
  34983. },
  34984. "warehouseid": {
  34985. "description": "仓库id",
  34986. "type": "integer"
  34987. }
  34988. }
  34989. },
  34990. "models.WrStandardFactoryItemEx": {
  34991. "type": "object",
  34992. "properties": {
  34993. "dgfactoryitemtypeid": {
  34994. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  34995. "type": "integer"
  34996. },
  34997. "itemlst": {
  34998. "description": "要素项列表",
  34999. "type": "array",
  35000. "items": {
  35001. "$ref": "#/definitions/models.WrStandardFactoryItem"
  35002. }
  35003. },
  35004. "itemtypename": {
  35005. "description": "要素项类型名称",
  35006. "type": "string"
  35007. },
  35008. "wrstandardid": {
  35009. "description": "品类",
  35010. "type": "integer"
  35011. }
  35012. }
  35013. },
  35014. "models.WrTradeDetail": {
  35015. "type": "object",
  35016. "properties": {
  35017. "accountid": {
  35018. "description": "资金账号",
  35019. "type": "integer"
  35020. },
  35021. "bannerpicurl": {
  35022. "description": "Banner图",
  35023. "type": "string"
  35024. },
  35025. "begindate": {
  35026. "description": "开始交易日(yyyymmdd)",
  35027. "type": "string"
  35028. },
  35029. "buyorsell": {
  35030. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35031. "type": "integer"
  35032. },
  35033. "chargevalue": {
  35034. "description": "手续费",
  35035. "type": "number"
  35036. },
  35037. "deliverygoodscode": {
  35038. "description": "品种代码",
  35039. "type": "string"
  35040. },
  35041. "deliverygoodsid": {
  35042. "description": "品种ID",
  35043. "type": "integer"
  35044. },
  35045. "deliverygoodsname": {
  35046. "description": "品种名称",
  35047. "type": "string"
  35048. },
  35049. "deliverymonth": {
  35050. "description": "交收月",
  35051. "type": "string"
  35052. },
  35053. "enddate": {
  35054. "description": "结束交易日(yyyymmdd)",
  35055. "type": "string"
  35056. },
  35057. "enumdicname": {
  35058. "description": "单位名称",
  35059. "type": "string"
  35060. },
  35061. "haswr": {
  35062. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35063. "type": "integer"
  35064. },
  35065. "marketid": {
  35066. "description": "市场ID",
  35067. "type": "integer"
  35068. },
  35069. "matchaccountid": {
  35070. "description": "对手账号",
  35071. "type": "integer"
  35072. },
  35073. "matchusername": {
  35074. "description": "对手方",
  35075. "type": "string"
  35076. },
  35077. "minivalue": {
  35078. "description": "现货商品最小变动值",
  35079. "type": "integer"
  35080. },
  35081. "optioncompare": {
  35082. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35083. "type": "string"
  35084. },
  35085. "thumurls": {
  35086. "description": "缩略图",
  35087. "type": "string"
  35088. },
  35089. "tradedate": {
  35090. "description": "交易日(yyyyMMdd)",
  35091. "type": "string"
  35092. },
  35093. "tradeprice": {
  35094. "description": "成交价格",
  35095. "type": "number"
  35096. },
  35097. "tradeqty": {
  35098. "description": "成交数量",
  35099. "type": "number"
  35100. },
  35101. "tradetime": {
  35102. "description": "成交时间",
  35103. "type": "string"
  35104. },
  35105. "userid": {
  35106. "description": "用户ID",
  35107. "type": "integer"
  35108. },
  35109. "warehouseid": {
  35110. "description": "仓库ID",
  35111. "type": "integer"
  35112. },
  35113. "warehousename": {
  35114. "description": "仓库名称",
  35115. "type": "string"
  35116. },
  35117. "wrfactortypeid": {
  35118. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35119. "type": "string"
  35120. },
  35121. "wrfactortypename": {
  35122. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35123. "type": "string"
  35124. },
  35125. "wrstandardcode": {
  35126. "description": "现货商品代码",
  35127. "type": "string"
  35128. },
  35129. "wrstandardid": {
  35130. "description": "现货商品ID",
  35131. "type": "integer"
  35132. },
  35133. "wrstandardname": {
  35134. "description": "商品名称",
  35135. "type": "string"
  35136. },
  35137. "wrtradedetailid": {
  35138. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35139. "type": "string"
  35140. },
  35141. "wrtradetype": {
  35142. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35143. "type": "integer"
  35144. },
  35145. "wrtypename": {
  35146. "description": "商品",
  35147. "type": "string"
  35148. }
  35149. }
  35150. },
  35151. "models.WrTradeOrderDetail": {
  35152. "type": "object",
  35153. "properties": {
  35154. "buyorsell": {
  35155. "description": "买卖方向 0-买 1-卖",
  35156. "type": "integer"
  35157. },
  35158. "goodsid": {
  35159. "description": "商品id",
  35160. "type": "integer"
  35161. },
  35162. "orderid": {
  35163. "description": "委托单号",
  35164. "type": "string"
  35165. },
  35166. "orderprice": {
  35167. "description": "期初均价",
  35168. "type": "number"
  35169. },
  35170. "orderqty": {
  35171. "description": "委托数量",
  35172. "type": "integer"
  35173. },
  35174. "userid": {
  35175. "description": "用户id",
  35176. "type": "integer"
  35177. },
  35178. "username": {
  35179. "description": "用户名称(已脱敏)",
  35180. "type": "string"
  35181. }
  35182. }
  35183. },
  35184. "models.WrTypeItem": {
  35185. "type": "object",
  35186. "properties": {
  35187. "name": {
  35188. "description": "名称",
  35189. "type": "string"
  35190. },
  35191. "value": {
  35192. "description": "值",
  35193. "type": "string"
  35194. }
  35195. }
  35196. },
  35197. "models.WrUserFriend": {
  35198. "type": "object",
  35199. "properties": {
  35200. "friendname": {
  35201. "description": "朋友名称(已脱敏)",
  35202. "type": "string"
  35203. },
  35204. "frienduserid": {
  35205. "description": "朋友id",
  35206. "type": "integer"
  35207. },
  35208. "isfriend": {
  35209. "description": "是否好友 0-不是 1-是",
  35210. "type": "integer"
  35211. },
  35212. "userid": {
  35213. "description": "用户id",
  35214. "type": "integer"
  35215. }
  35216. }
  35217. },
  35218. "models.WrUserReceiptInfo": {
  35219. "type": "object",
  35220. "properties": {
  35221. "address": {
  35222. "description": "地址[发票类型:企业]",
  35223. "type": "string"
  35224. },
  35225. "autoid": {
  35226. "description": "AutoID",
  35227. "type": "integer"
  35228. },
  35229. "contactinfo": {
  35230. "description": "联系方式",
  35231. "type": "string"
  35232. },
  35233. "idnum": {
  35234. "description": "身份证号码[发票类型:个人]",
  35235. "type": "string"
  35236. },
  35237. "isdefault": {
  35238. "description": "是否默认地址 - 0:否 1:是",
  35239. "type": "integer"
  35240. },
  35241. "receiptaccount": {
  35242. "description": "发票帐号[发票类型:企业]",
  35243. "type": "string"
  35244. },
  35245. "receiptbank": {
  35246. "description": "发票开户行[发票类型:企业]",
  35247. "type": "string"
  35248. },
  35249. "receipttype": {
  35250. "description": "发票类型 - 1:个人 2:企业",
  35251. "type": "integer"
  35252. },
  35253. "taxpayerid": {
  35254. "description": "纳税人识别号",
  35255. "type": "string"
  35256. },
  35257. "userid": {
  35258. "description": "用户ID",
  35259. "type": "integer"
  35260. },
  35261. "username": {
  35262. "description": "户名(个人姓名或企业名称)",
  35263. "type": "string"
  35264. }
  35265. }
  35266. },
  35267. "models.Wrtradetradequote": {
  35268. "type": "object",
  35269. "properties": {
  35270. "begindate": {
  35271. "description": "开始日期(结果含开始日期) yyyymmdd",
  35272. "type": "string"
  35273. },
  35274. "buyaccountid": {
  35275. "description": "买方账号ID",
  35276. "type": "integer"
  35277. },
  35278. "buyuserid": {
  35279. "description": "买方用户ID",
  35280. "type": "integer"
  35281. },
  35282. "deliverygoodsid": {
  35283. "description": "现货品种ID",
  35284. "type": "integer"
  35285. },
  35286. "enddate": {
  35287. "description": "结束日期(结果含结束日期) yyyymmdd",
  35288. "type": "string"
  35289. },
  35290. "marketid": {
  35291. "description": "市场ID",
  35292. "type": "integer"
  35293. },
  35294. "sellaccountid": {
  35295. "description": "卖方账号ID",
  35296. "type": "integer"
  35297. },
  35298. "selluserid": {
  35299. "description": "卖方用户ID",
  35300. "type": "integer"
  35301. },
  35302. "tradeamount": {
  35303. "description": "成交金额",
  35304. "type": "number"
  35305. },
  35306. "tradedate": {
  35307. "description": "交易日(yyyyMMdd)",
  35308. "type": "string"
  35309. },
  35310. "tradeprice": {
  35311. "description": "成交价格",
  35312. "type": "number"
  35313. },
  35314. "tradeqty": {
  35315. "description": "成交数量",
  35316. "type": "integer"
  35317. },
  35318. "tradetime": {
  35319. "description": "成交时间",
  35320. "type": "string"
  35321. },
  35322. "wrfactortypeid": {
  35323. "description": "仓单要素类型ID",
  35324. "type": "integer"
  35325. },
  35326. "wrstandardid": {
  35327. "description": "现货商品ID",
  35328. "type": "integer"
  35329. },
  35330. "wrtradedetailid": {
  35331. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35332. "type": "string"
  35333. }
  35334. }
  35335. },
  35336. "models.XHBRAND": {
  35337. "type": "object",
  35338. "properties": {
  35339. "brandid": {
  35340. "description": "品牌id",
  35341. "type": "integer"
  35342. },
  35343. "brandname": {
  35344. "description": "品牌名称",
  35345. "type": "string"
  35346. },
  35347. "isvalid": {
  35348. "description": "是否有效 0-无效 1-有效",
  35349. "type": "integer"
  35350. }
  35351. }
  35352. },
  35353. "models.XHDeliveryGoods": {
  35354. "type": "object",
  35355. "properties": {
  35356. "areauserid": {
  35357. "description": "所属机构",
  35358. "type": "integer"
  35359. },
  35360. "bdlst": {
  35361. "description": "品牌列表",
  35362. "type": "array",
  35363. "items": {
  35364. "$ref": "#/definitions/models.XHBRAND"
  35365. }
  35366. },
  35367. "deliverygoodscode": {
  35368. "description": "现货品种代码",
  35369. "type": "string"
  35370. },
  35371. "deliverygoodsid": {
  35372. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35373. "type": "integer"
  35374. },
  35375. "deliverygoodsname": {
  35376. "description": "现货品种名称",
  35377. "type": "string"
  35378. },
  35379. "dgstatus": {
  35380. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  35381. "type": "integer"
  35382. },
  35383. "filterSubEmpty": {
  35384. "description": "过滤下级为空的",
  35385. "type": "integer"
  35386. },
  35387. "isvalid": {
  35388. "description": "是否有效 - 0:无效 1:有效",
  35389. "type": "integer"
  35390. },
  35391. "remark": {
  35392. "description": "备注",
  35393. "type": "string"
  35394. },
  35395. "unitid": {
  35396. "description": "单位id(目前看,数据库中是空值)",
  35397. "type": "integer"
  35398. },
  35399. "wdlst": {
  35400. "description": "品类(现货商品)列表",
  35401. "type": "array",
  35402. "items": {
  35403. "$ref": "#/definitions/models.XHWrstandard"
  35404. }
  35405. }
  35406. }
  35407. },
  35408. "models.XHMiddleGoods": {
  35409. "type": "object",
  35410. "properties": {
  35411. "GPLST": {
  35412. "description": "期货品种列表",
  35413. "type": "array",
  35414. "items": {
  35415. "$ref": "#/definitions/models.TBGoodsGroup"
  35416. }
  35417. },
  35418. "convertratio": {
  35419. "description": "拆算系数",
  35420. "type": "number"
  35421. },
  35422. "costratio": {
  35423. "description": "成本权重",
  35424. "type": "number"
  35425. },
  35426. "deliverygoodsid": {
  35427. "description": "现货商品id",
  35428. "type": "integer"
  35429. },
  35430. "enumdicname": {
  35431. "description": "单位名称",
  35432. "type": "string"
  35433. },
  35434. "middlegoodscode": {
  35435. "description": "套保品种代码",
  35436. "type": "string"
  35437. },
  35438. "middlegoodsid": {
  35439. "description": "套保品种id",
  35440. "type": "integer"
  35441. },
  35442. "middlegoodsname": {
  35443. "description": "套保品种名称",
  35444. "type": "string"
  35445. },
  35446. "unitid": {
  35447. "description": "单位id",
  35448. "type": "integer"
  35449. }
  35450. }
  35451. },
  35452. "models.XHWrstandard": {
  35453. "type": "object",
  35454. "properties": {
  35455. "bannerpicurl": {
  35456. "description": "banner图",
  35457. "type": "string"
  35458. },
  35459. "deliverygoodsid": {
  35460. "description": "品种ID",
  35461. "type": "integer"
  35462. },
  35463. "enumdicname": {
  35464. "description": "单位名称",
  35465. "type": "string"
  35466. },
  35467. "mglst": {
  35468. "description": "套保品列表",
  35469. "type": "array",
  35470. "items": {
  35471. "$ref": "#/definitions/models.XHMiddleGoods"
  35472. }
  35473. },
  35474. "pictureurls": {
  35475. "description": "详情图片(逗号分隔)",
  35476. "type": "string"
  35477. },
  35478. "thumurls": {
  35479. "description": "缩略图片(1:1)(逗号分隔)",
  35480. "type": "string"
  35481. },
  35482. "unitid": {
  35483. "description": "单位id",
  35484. "type": "integer"
  35485. },
  35486. "vatrate": {
  35487. "description": "增值税率",
  35488. "type": "number"
  35489. },
  35490. "wrstandardcode": {
  35491. "description": "现货商品代码",
  35492. "type": "string"
  35493. },
  35494. "wrstandardid": {
  35495. "description": "现货商品ID(SEQ_WRSTANDARD)",
  35496. "type": "integer"
  35497. },
  35498. "wrstandardname": {
  35499. "description": "现货商品名称",
  35500. "type": "string"
  35501. }
  35502. }
  35503. },
  35504. "models.XhcpSellBackApplyEx": {
  35505. "type": "object",
  35506. "required": [
  35507. "userid"
  35508. ],
  35509. "properties": {
  35510. "applyremark": {
  35511. "description": "申请备注",
  35512. "type": "string"
  35513. },
  35514. "expirytype": {
  35515. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  35516. "type": "integer"
  35517. },
  35518. "goodsspec": {
  35519. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  35520. "type": "integer"
  35521. },
  35522. "holeflag": {
  35523. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  35524. "type": "integer"
  35525. },
  35526. "isunopened": {
  35527. "description": "是否原封 - 1:否 2:是",
  35528. "type": "integer"
  35529. },
  35530. "mpflag": {
  35531. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  35532. "type": "integer"
  35533. },
  35534. "openflag": {
  35535. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  35536. "type": "integer"
  35537. },
  35538. "phonenum": {
  35539. "description": "联系电话",
  35540. "type": "string"
  35541. },
  35542. "userid": {
  35543. "description": "所属用户ID",
  35544. "type": "integer"
  35545. },
  35546. "zpflag": {
  35547. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  35548. "type": "integer"
  35549. }
  35550. }
  35551. },
  35552. "models.Xhcpsellbackapply": {
  35553. "type": "object",
  35554. "required": [
  35555. "userid"
  35556. ],
  35557. "properties": {
  35558. "applyid": {
  35559. "description": "申请人",
  35560. "type": "integer"
  35561. },
  35562. "applyremark": {
  35563. "description": "申请备注",
  35564. "type": "string"
  35565. },
  35566. "applysrc": {
  35567. "description": "申请来源 - 1:管理端 2:终端",
  35568. "type": "integer"
  35569. },
  35570. "applystatus": {
  35571. "description": "申请状态 - 1:待确认 2:已处理",
  35572. "type": "integer"
  35573. },
  35574. "applytime": {
  35575. "description": "申请时间",
  35576. "type": "string"
  35577. },
  35578. "auditremark": {
  35579. "description": "审核备注",
  35580. "type": "string"
  35581. },
  35582. "auditsrc": {
  35583. "description": "审核来源 - 1:管理端 2:终端",
  35584. "type": "integer"
  35585. },
  35586. "expirytype": {
  35587. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  35588. "type": "integer"
  35589. },
  35590. "goodsspec": {
  35591. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  35592. "type": "integer"
  35593. },
  35594. "holeflag": {
  35595. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  35596. "type": "integer"
  35597. },
  35598. "isunopened": {
  35599. "description": "是否原封 - 1:否 2:是",
  35600. "type": "integer"
  35601. },
  35602. "mpflag": {
  35603. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  35604. "type": "integer"
  35605. },
  35606. "openflag": {
  35607. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  35608. "type": "integer"
  35609. },
  35610. "phonenum": {
  35611. "description": "联系电话",
  35612. "type": "string"
  35613. },
  35614. "sellbackapplyid": {
  35615. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  35616. "type": "string"
  35617. },
  35618. "userid": {
  35619. "description": "所属用户ID",
  35620. "type": "integer"
  35621. },
  35622. "zpflag": {
  35623. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  35624. "type": "integer"
  35625. }
  35626. }
  35627. },
  35628. "order.QueryHisTradeDetailRsp": {
  35629. "type": "object",
  35630. "required": [
  35631. "accountid",
  35632. "buyorsell",
  35633. "goodsid",
  35634. "histradedate",
  35635. "marketid",
  35636. "memberuserid",
  35637. "orderid",
  35638. "tradeamount",
  35639. "tradedate",
  35640. "tradeid",
  35641. "tradeprice",
  35642. "tradeqty",
  35643. "tradetime"
  35644. ],
  35645. "properties": {
  35646. "accountid": {
  35647. "description": "账户ID[报价币种]",
  35648. "type": "integer"
  35649. },
  35650. "advanceratio": {
  35651. "description": "首付比率",
  35652. "type": "number"
  35653. },
  35654. "buildtype": {
  35655. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35656. "type": "integer"
  35657. },
  35658. "buyorsell": {
  35659. "description": "方向 - 0:买 1:卖",
  35660. "type": "integer"
  35661. },
  35662. "charge": {
  35663. "description": "手续费",
  35664. "type": "number"
  35665. },
  35666. "closecharge": {
  35667. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35668. "type": "number"
  35669. },
  35670. "closeexchagechargevalue": {
  35671. "description": "平仓交易所手续费设置值",
  35672. "type": "number"
  35673. },
  35674. "closefeealgorithm": {
  35675. "description": "平仓手续费收取方式 1:比率 2:固定",
  35676. "type": "integer"
  35677. },
  35678. "closememberchargevalue": {
  35679. "description": "平仓会员手续费设置值",
  35680. "type": "number"
  35681. },
  35682. "closepl": {
  35683. "description": "平仓盈亏",
  35684. "type": "number"
  35685. },
  35686. "closepl2": {
  35687. "description": "平仓盈亏[逐笔]",
  35688. "type": "number"
  35689. },
  35690. "closeqty": {
  35691. "description": "平仓数量(先建后平操作 需要记录)",
  35692. "type": "number"
  35693. },
  35694. "creditamount": {
  35695. "description": "授信金额",
  35696. "type": "number"
  35697. },
  35698. "decimalplace": {
  35699. "description": "商品报价小数位",
  35700. "type": "integer"
  35701. },
  35702. "enumdicname": {
  35703. "description": "单位名称",
  35704. "type": "string"
  35705. },
  35706. "gcaccountid": {
  35707. "description": "账户ID[合约币种]",
  35708. "type": "integer"
  35709. },
  35710. "goodscode": {
  35711. "description": "商品代码",
  35712. "type": "string"
  35713. },
  35714. "goodsid": {
  35715. "description": "商品ID",
  35716. "type": "integer"
  35717. },
  35718. "goodsname": {
  35719. "description": "商品名称",
  35720. "type": "string"
  35721. },
  35722. "goodunitid": {
  35723. "description": "商品单位id",
  35724. "type": "integer"
  35725. },
  35726. "histradedate": {
  35727. "description": "历史交易日",
  35728. "type": "string"
  35729. },
  35730. "intclosepl": {
  35731. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35732. "type": "integer"
  35733. },
  35734. "isconfirmexercise": {
  35735. "description": "是否确认行权- 0:否 1:是",
  35736. "type": "integer"
  35737. },
  35738. "ismain": {
  35739. "description": "是否主单 - 0:不是 1:是",
  35740. "type": "integer"
  35741. },
  35742. "ispreexercise": {
  35743. "description": "是否预申报- 0:否 1:是",
  35744. "type": "integer"
  35745. },
  35746. "isreckoned": {
  35747. "description": "是否结算 - 0:未结算 1:已结算",
  35748. "type": "integer"
  35749. },
  35750. "isvaliddata": {
  35751. "description": "是否有效 - 0:无效 1:有效",
  35752. "type": "integer"
  35753. },
  35754. "listingselecttype": {
  35755. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35756. "type": "integer"
  35757. },
  35758. "marketid": {
  35759. "description": "市场ID",
  35760. "type": "integer"
  35761. },
  35762. "marketname": {
  35763. "description": "市场名称",
  35764. "type": "string"
  35765. },
  35766. "matchaccountid": {
  35767. "description": "对手账号id",
  35768. "type": "integer"
  35769. },
  35770. "memberuserid": {
  35771. "description": "会员id 个人投资者 需要填写",
  35772. "type": "integer"
  35773. },
  35774. "opencharge": {
  35775. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35776. "type": "number"
  35777. },
  35778. "openexchagechargevalue": {
  35779. "description": "建仓交易所手续费设置值",
  35780. "type": "number"
  35781. },
  35782. "openfeealgorithm": {
  35783. "description": "建仓手续费收取方式 1:比率 2:固定",
  35784. "type": "integer"
  35785. },
  35786. "openmemberchargevalue": {
  35787. "description": "建仓会员手续费设置值",
  35788. "type": "number"
  35789. },
  35790. "openqty": {
  35791. "description": "开仓数量(先建后平操作 需要记录)",
  35792. "type": "number"
  35793. },
  35794. "optiontype": {
  35795. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35796. "type": "integer"
  35797. },
  35798. "orderid": {
  35799. "description": "委托单号",
  35800. "type": "string"
  35801. },
  35802. "payamount": {
  35803. "description": "支付金额(付款金额)",
  35804. "type": "number"
  35805. },
  35806. "performanceplanid": {
  35807. "description": "履约计划ID[期权]",
  35808. "type": "integer"
  35809. },
  35810. "performancestatus": {
  35811. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35812. "type": "integer"
  35813. },
  35814. "preexerciseprice": {
  35815. "description": "预申报价格",
  35816. "type": "number"
  35817. },
  35818. "premium": {
  35819. "description": "权利金 - [持仓单的权利金]",
  35820. "type": "number"
  35821. },
  35822. "qtydecimalplace": {
  35823. "description": "商品报价小数位",
  35824. "type": "integer"
  35825. },
  35826. "recvamount": {
  35827. "description": "到账金额 = 成交金额 - 手续费",
  35828. "type": "number"
  35829. },
  35830. "relatedouttradeid": {
  35831. "description": "关联外部成交单ID",
  35832. "type": "integer"
  35833. },
  35834. "status": {
  35835. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35836. "type": "integer"
  35837. },
  35838. "totalamount": {
  35839. "description": "订单总额 = 成交金额 + 手续费",
  35840. "type": "number"
  35841. },
  35842. "tradeamount": {
  35843. "description": "成交金额[账户币种,用于所有权]",
  35844. "type": "number"
  35845. },
  35846. "tradedate": {
  35847. "description": "交易日(yyyyMMdd)",
  35848. "type": "string"
  35849. },
  35850. "tradeid": {
  35851. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35852. "type": "string"
  35853. },
  35854. "trademode": {
  35855. "description": "交易模式",
  35856. "type": "integer"
  35857. },
  35858. "tradeprice": {
  35859. "description": "成交价格",
  35860. "type": "number"
  35861. },
  35862. "tradeproperty": {
  35863. "description": "交易属性",
  35864. "type": "integer"
  35865. },
  35866. "tradeqty": {
  35867. "description": "成交数量",
  35868. "type": "number"
  35869. },
  35870. "tradetime": {
  35871. "description": "成交时间",
  35872. "type": "string"
  35873. },
  35874. "tradetype": {
  35875. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35876. "type": "integer"
  35877. }
  35878. }
  35879. },
  35880. "order.QueryHisTradeOrderDetailRsp": {
  35881. "type": "object",
  35882. "required": [
  35883. "accountid",
  35884. "buildtype",
  35885. "buyorsell",
  35886. "goodsid",
  35887. "histradedate",
  35888. "marketid",
  35889. "memberuserid",
  35890. "operatetype",
  35891. "orderid",
  35892. "orderqty",
  35893. "ordertime",
  35894. "pricemode",
  35895. "tradedate",
  35896. "validtype"
  35897. ],
  35898. "properties": {
  35899. "accountid": {
  35900. "description": "账户ID[报价币种]",
  35901. "type": "integer"
  35902. },
  35903. "buildtype": {
  35904. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35905. "type": "integer"
  35906. },
  35907. "buyorsell": {
  35908. "description": "买卖 - 0:买 1:卖",
  35909. "type": "integer"
  35910. },
  35911. "cancelorderid": {
  35912. "description": "撤单单号(撤单时填写)",
  35913. "type": "string"
  35914. },
  35915. "cancelqty": {
  35916. "description": "撤单数量",
  35917. "type": "number"
  35918. },
  35919. "clientordertime": {
  35920. "description": "客户端委托时间",
  35921. "type": "string"
  35922. },
  35923. "clientticket": {
  35924. "description": "客户端流水号",
  35925. "type": "string"
  35926. },
  35927. "clienttype": {
  35928. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35929. "type": "integer"
  35930. },
  35931. "closeexchagechargevalue": {
  35932. "description": "平仓交易所手续费设置值",
  35933. "type": "number"
  35934. },
  35935. "closefeealgorithm": {
  35936. "description": "平仓手续费收取方式 1:比率 2:固定",
  35937. "type": "integer"
  35938. },
  35939. "closefreezecharge": {
  35940. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35941. "type": "number"
  35942. },
  35943. "closememberchargevalue": {
  35944. "description": "平仓会员手续费设置值",
  35945. "type": "number"
  35946. },
  35947. "closeqty": {
  35948. "description": "平仓数量(先建后平操作 需要记录)",
  35949. "type": "number"
  35950. },
  35951. "closetradeqty": {
  35952. "description": "平仓成交数量(先建后平操作,需要记录)",
  35953. "type": "number"
  35954. },
  35955. "closeunfreezecharge": {
  35956. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35957. "type": "number"
  35958. },
  35959. "decimalplace": {
  35960. "description": "商品报价小数位",
  35961. "type": "integer"
  35962. },
  35963. "delistingtype": {
  35964. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35965. "type": "integer"
  35966. },
  35967. "enumdicname": {
  35968. "description": "单位名称",
  35969. "type": "string"
  35970. },
  35971. "freezecharge": {
  35972. "description": "冻结手续费",
  35973. "type": "number"
  35974. },
  35975. "freezemargin": {
  35976. "description": "冻结保证金(冻结交易金额)",
  35977. "type": "number"
  35978. },
  35979. "gcaccountid": {
  35980. "description": "账户ID[合约币种]",
  35981. "type": "integer"
  35982. },
  35983. "goodscode": {
  35984. "description": "商品代码",
  35985. "type": "string"
  35986. },
  35987. "goodsid": {
  35988. "description": "商品ID",
  35989. "type": "integer"
  35990. },
  35991. "goodsname": {
  35992. "description": "商品名称",
  35993. "type": "string"
  35994. },
  35995. "goodunitid": {
  35996. "description": "商品单位id",
  35997. "type": "integer"
  35998. },
  35999. "histradedate": {
  36000. "description": "历史交易日",
  36001. "type": "string"
  36002. },
  36003. "isconfirmexercise": {
  36004. "description": "是否确认行权- 0:否 1:是",
  36005. "type": "integer"
  36006. },
  36007. "ispreexercise": {
  36008. "description": "是否预申报- 0:否 1:是",
  36009. "type": "integer"
  36010. },
  36011. "isvaliddata": {
  36012. "description": "是否有效 - 0:无效 1:有效",
  36013. "type": "integer"
  36014. },
  36015. "listingselecttype": {
  36016. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36017. "type": "integer"
  36018. },
  36019. "marginalgorithm": {
  36020. "description": "保证金收取方式 1:比率 2:固定",
  36021. "type": "integer"
  36022. },
  36023. "marginvalue": {
  36024. "description": "即市保证金设置值",
  36025. "type": "number"
  36026. },
  36027. "marketid": {
  36028. "description": "市场ID",
  36029. "type": "integer"
  36030. },
  36031. "marketmaxsub": {
  36032. "description": "市价最大偏移范围",
  36033. "type": "number"
  36034. },
  36035. "marketname": {
  36036. "description": "市场名称",
  36037. "type": "string"
  36038. },
  36039. "memberuserid": {
  36040. "description": "所属会员UserID",
  36041. "type": "integer"
  36042. },
  36043. "openexchagechargevalue": {
  36044. "description": "建仓交易所手续费设置值",
  36045. "type": "number"
  36046. },
  36047. "openfeealgorithm": {
  36048. "description": "建仓手续费收取方式 1:比率 2:固定",
  36049. "type": "integer"
  36050. },
  36051. "openfreezecharge": {
  36052. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36053. "type": "number"
  36054. },
  36055. "openmemberchargevalue": {
  36056. "description": "建仓会员手续费设置值",
  36057. "type": "number"
  36058. },
  36059. "openqty": {
  36060. "description": "开仓数量(先建后平操作,需要记录)",
  36061. "type": "number"
  36062. },
  36063. "opentradeqty": {
  36064. "description": "开仓成交数量(先建后平操作,需要记录)",
  36065. "type": "number"
  36066. },
  36067. "openunfreezecharge": {
  36068. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36069. "type": "number"
  36070. },
  36071. "operatetype": {
  36072. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36073. "type": "integer"
  36074. },
  36075. "operatorid": {
  36076. "description": "登录账号(LoginID)",
  36077. "type": "integer"
  36078. },
  36079. "optiontype": {
  36080. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36081. "type": "integer"
  36082. },
  36083. "orderid": {
  36084. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36085. "type": "string"
  36086. },
  36087. "orderprice": {
  36088. "description": "委托价格",
  36089. "type": "number"
  36090. },
  36091. "orderqty": {
  36092. "description": "委托数量",
  36093. "type": "number"
  36094. },
  36095. "ordersrc": {
  36096. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36097. "type": "integer"
  36098. },
  36099. "orderstatus": {
  36100. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36101. "type": "integer"
  36102. },
  36103. "ordertime": {
  36104. "description": "委托时间",
  36105. "type": "string"
  36106. },
  36107. "preexerciseprice": {
  36108. "description": "预申报价格",
  36109. "type": "number"
  36110. },
  36111. "premium": {
  36112. "description": "权利金",
  36113. "type": "number"
  36114. },
  36115. "preorderid": {
  36116. "description": "关联预埋单号(止盈止损单时填写)",
  36117. "type": "string"
  36118. },
  36119. "pricemode": {
  36120. "description": "取价方式 - 1:市价 2: 限价",
  36121. "type": "integer"
  36122. },
  36123. "qtydecimalplace": {
  36124. "description": "成交量小数位",
  36125. "type": "integer"
  36126. },
  36127. "quoteid": {
  36128. "description": "报价单ID",
  36129. "type": "integer"
  36130. },
  36131. "relatedid": {
  36132. "description": "关联单号(交割单)",
  36133. "type": "string"
  36134. },
  36135. "retcode": {
  36136. "description": "错误代码",
  36137. "type": "integer"
  36138. },
  36139. "sessionid": {
  36140. "description": "会话ID",
  36141. "type": "integer"
  36142. },
  36143. "tradedate": {
  36144. "description": "交易日(yyyyMMdd)",
  36145. "type": "string"
  36146. },
  36147. "trademode": {
  36148. "description": "交易模式",
  36149. "type": "integer"
  36150. },
  36151. "tradeproperty": {
  36152. "description": "交易属性",
  36153. "type": "integer"
  36154. },
  36155. "tradeqty": {
  36156. "description": "成交数量",
  36157. "type": "number"
  36158. },
  36159. "unfreezecharge": {
  36160. "description": "解冻手续费",
  36161. "type": "number"
  36162. },
  36163. "unfreezemargin": {
  36164. "description": "解冻保证金",
  36165. "type": "number"
  36166. },
  36167. "updatetime": {
  36168. "description": "更新时间",
  36169. "type": "string"
  36170. },
  36171. "uuid": {
  36172. "description": "发起端唯一id",
  36173. "type": "string"
  36174. },
  36175. "validtime": {
  36176. "description": "有效期限",
  36177. "type": "string"
  36178. },
  36179. "validtype": {
  36180. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36181. "type": "integer"
  36182. },
  36183. "volumetype": {
  36184. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36185. "type": "integer"
  36186. }
  36187. }
  36188. },
  36189. "order.QueryTradeDetailRsp": {
  36190. "type": "object",
  36191. "required": [
  36192. "accountid",
  36193. "buyorsell",
  36194. "goodsid",
  36195. "marketid",
  36196. "memberuserid",
  36197. "orderid",
  36198. "tradeamount",
  36199. "tradedate",
  36200. "tradeid",
  36201. "tradeprice",
  36202. "tradeqty",
  36203. "tradetime"
  36204. ],
  36205. "properties": {
  36206. "accountid": {
  36207. "description": "账户ID[报价币种]",
  36208. "type": "integer"
  36209. },
  36210. "advanceratio": {
  36211. "description": "首付比率",
  36212. "type": "number"
  36213. },
  36214. "buildtype": {
  36215. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36216. "type": "integer"
  36217. },
  36218. "buyorsell": {
  36219. "description": "方向 - 0:买 1:卖",
  36220. "type": "integer"
  36221. },
  36222. "charge": {
  36223. "description": "手续费",
  36224. "type": "number"
  36225. },
  36226. "closecharge": {
  36227. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36228. "type": "number"
  36229. },
  36230. "closeexchagechargevalue": {
  36231. "description": "平仓交易所手续费设置值",
  36232. "type": "number"
  36233. },
  36234. "closefeealgorithm": {
  36235. "description": "平仓手续费收取方式 1:比率 2:固定",
  36236. "type": "integer"
  36237. },
  36238. "closememberchargevalue": {
  36239. "description": "平仓会员手续费设置值",
  36240. "type": "number"
  36241. },
  36242. "closepl": {
  36243. "description": "平仓盈亏",
  36244. "type": "number"
  36245. },
  36246. "closepl2": {
  36247. "description": "平仓盈亏[逐笔]",
  36248. "type": "number"
  36249. },
  36250. "closeqty": {
  36251. "description": "平仓数量(先建后平操作 需要记录)",
  36252. "type": "number"
  36253. },
  36254. "creditamount": {
  36255. "description": "授信金额",
  36256. "type": "number"
  36257. },
  36258. "decimalplace": {
  36259. "description": "商品报价小数位",
  36260. "type": "integer"
  36261. },
  36262. "enumdicname": {
  36263. "description": "单位名称",
  36264. "type": "string"
  36265. },
  36266. "gcaccountid": {
  36267. "description": "账户ID[合约币种]",
  36268. "type": "integer"
  36269. },
  36270. "goodscode": {
  36271. "description": "商品代码",
  36272. "type": "string"
  36273. },
  36274. "goodsid": {
  36275. "description": "商品ID",
  36276. "type": "integer"
  36277. },
  36278. "goodsname": {
  36279. "description": "商品名称",
  36280. "type": "string"
  36281. },
  36282. "goodunitid": {
  36283. "description": "商品单位id",
  36284. "type": "integer"
  36285. },
  36286. "intclosepl": {
  36287. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36288. "type": "integer"
  36289. },
  36290. "isconfirmexercise": {
  36291. "description": "是否确认行权- 0:否 1:是",
  36292. "type": "integer"
  36293. },
  36294. "ismain": {
  36295. "description": "是否主单 - 0:不是 1:是",
  36296. "type": "integer"
  36297. },
  36298. "ispreexercise": {
  36299. "description": "是否预申报- 0:否 1:是",
  36300. "type": "integer"
  36301. },
  36302. "isreckoned": {
  36303. "description": "是否结算 - 0:未结算 1:已结算",
  36304. "type": "integer"
  36305. },
  36306. "listingselecttype": {
  36307. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36308. "type": "integer"
  36309. },
  36310. "marketid": {
  36311. "description": "市场ID",
  36312. "type": "integer"
  36313. },
  36314. "marketname": {
  36315. "description": "市场名称",
  36316. "type": "string"
  36317. },
  36318. "matchaccountid": {
  36319. "description": "对手账号id",
  36320. "type": "integer"
  36321. },
  36322. "memberuserid": {
  36323. "description": "会员id 个人投资者 需要填写",
  36324. "type": "integer"
  36325. },
  36326. "opencharge": {
  36327. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36328. "type": "number"
  36329. },
  36330. "openexchagechargevalue": {
  36331. "description": "建仓交易所手续费设置值",
  36332. "type": "number"
  36333. },
  36334. "openfeealgorithm": {
  36335. "description": "建仓手续费收取方式 1:比率 2:固定",
  36336. "type": "integer"
  36337. },
  36338. "openmemberchargevalue": {
  36339. "description": "建仓会员手续费设置值",
  36340. "type": "number"
  36341. },
  36342. "openqty": {
  36343. "description": "开仓数量(先建后平操作 需要记录)",
  36344. "type": "number"
  36345. },
  36346. "optiontype": {
  36347. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36348. "type": "integer"
  36349. },
  36350. "orderid": {
  36351. "description": "委托单号",
  36352. "type": "string"
  36353. },
  36354. "payamount": {
  36355. "description": "支付金额(付款金额)",
  36356. "type": "number"
  36357. },
  36358. "performanceplanid": {
  36359. "description": "履约计划ID[期权]",
  36360. "type": "integer"
  36361. },
  36362. "performancestatus": {
  36363. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36364. "type": "integer"
  36365. },
  36366. "preexerciseprice": {
  36367. "description": "预申报价格",
  36368. "type": "number"
  36369. },
  36370. "premium": {
  36371. "description": "权利金 - [持仓单的权利金]",
  36372. "type": "number"
  36373. },
  36374. "qtydecimalplace": {
  36375. "description": "商品报价小数位",
  36376. "type": "integer"
  36377. },
  36378. "recvamount": {
  36379. "description": "到账金额 = 成交金额 - 手续费",
  36380. "type": "number"
  36381. },
  36382. "relatedouttradeid": {
  36383. "description": "关联外部成交单ID",
  36384. "type": "integer"
  36385. },
  36386. "status": {
  36387. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36388. "type": "integer"
  36389. },
  36390. "totalamount": {
  36391. "description": "订单总额 = 成交金额 + 手续费",
  36392. "type": "number"
  36393. },
  36394. "tradeamount": {
  36395. "description": "成交金额[账户币种,用于所有权]",
  36396. "type": "number"
  36397. },
  36398. "tradedate": {
  36399. "description": "交易日(yyyyMMdd)",
  36400. "type": "string"
  36401. },
  36402. "tradeid": {
  36403. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36404. "type": "string"
  36405. },
  36406. "trademode": {
  36407. "description": "交易模式",
  36408. "type": "integer"
  36409. },
  36410. "tradeprice": {
  36411. "description": "成交价格",
  36412. "type": "number"
  36413. },
  36414. "tradeproperty": {
  36415. "description": "交易属性",
  36416. "type": "integer"
  36417. },
  36418. "tradeqty": {
  36419. "description": "成交数量",
  36420. "type": "number"
  36421. },
  36422. "tradetime": {
  36423. "description": "成交时间",
  36424. "type": "string"
  36425. },
  36426. "tradetype": {
  36427. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36428. "type": "integer"
  36429. }
  36430. }
  36431. },
  36432. "order.QueryTradeOrderDetailRsp": {
  36433. "type": "object",
  36434. "required": [
  36435. "accountid",
  36436. "buildtype",
  36437. "buyorsell",
  36438. "goodsid",
  36439. "marketid",
  36440. "operatetype",
  36441. "orderqty",
  36442. "ordertime",
  36443. "pricemode",
  36444. "tradedate",
  36445. "validtype"
  36446. ],
  36447. "properties": {
  36448. "accountid": {
  36449. "description": "账户ID[报价币种]",
  36450. "type": "integer"
  36451. },
  36452. "buildtype": {
  36453. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36454. "type": "integer"
  36455. },
  36456. "buyorsell": {
  36457. "description": "买卖 - 0:买 1:卖",
  36458. "type": "integer"
  36459. },
  36460. "cancelorderid": {
  36461. "description": "撤单单号(撤单时填写)",
  36462. "type": "string"
  36463. },
  36464. "cancelqty": {
  36465. "description": "撤单数量",
  36466. "type": "number"
  36467. },
  36468. "clienttype": {
  36469. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36470. "type": "integer"
  36471. },
  36472. "closefreezecharge": {
  36473. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36474. "type": "number"
  36475. },
  36476. "closeqty": {
  36477. "description": "平仓数量(先建后平操作 需要记录)",
  36478. "type": "number"
  36479. },
  36480. "closetradeqty": {
  36481. "description": "平仓成交数量(先建后平操作,需要记录)",
  36482. "type": "number"
  36483. },
  36484. "closeunfreezecharge": {
  36485. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36486. "type": "number"
  36487. },
  36488. "decimalplace": {
  36489. "description": "商品报价小数位",
  36490. "type": "integer"
  36491. },
  36492. "delistingtype": {
  36493. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36494. "type": "integer"
  36495. },
  36496. "enableqty": {
  36497. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  36498. "type": "number"
  36499. },
  36500. "enumdicname": {
  36501. "description": "单位名称",
  36502. "type": "string"
  36503. },
  36504. "freezecharge": {
  36505. "description": "冻结手续费",
  36506. "type": "number"
  36507. },
  36508. "freezemargin": {
  36509. "description": "冻结保证金(冻结交易金额)",
  36510. "type": "number"
  36511. },
  36512. "goodscode": {
  36513. "description": "商品代码",
  36514. "type": "string"
  36515. },
  36516. "goodsid": {
  36517. "description": "商品ID",
  36518. "type": "integer"
  36519. },
  36520. "goodsname": {
  36521. "description": "商品名称",
  36522. "type": "string"
  36523. },
  36524. "goodunitid": {
  36525. "description": "商品单位id",
  36526. "type": "integer"
  36527. },
  36528. "listingselecttype": {
  36529. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36530. "type": "integer"
  36531. },
  36532. "marketid": {
  36533. "description": "市场ID",
  36534. "type": "integer"
  36535. },
  36536. "marketname": {
  36537. "description": "市场名称",
  36538. "type": "string"
  36539. },
  36540. "openfreezecharge": {
  36541. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36542. "type": "number"
  36543. },
  36544. "openqty": {
  36545. "description": "开仓数量(先建后平操作,需要记录)",
  36546. "type": "number"
  36547. },
  36548. "opentradeqty": {
  36549. "description": "开仓成交数量(先建后平操作,需要记录)",
  36550. "type": "number"
  36551. },
  36552. "openunfreezecharge": {
  36553. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36554. "type": "number"
  36555. },
  36556. "operatetype": {
  36557. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36558. "type": "integer"
  36559. },
  36560. "operatorid": {
  36561. "description": "登录账号(LoginID)",
  36562. "type": "integer"
  36563. },
  36564. "orderid": {
  36565. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36566. "type": "string"
  36567. },
  36568. "orderprice": {
  36569. "description": "委托价格",
  36570. "type": "number"
  36571. },
  36572. "orderqty": {
  36573. "description": "委托数量",
  36574. "type": "number"
  36575. },
  36576. "ordersrc": {
  36577. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36578. "type": "integer"
  36579. },
  36580. "orderstatus": {
  36581. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36582. "type": "integer"
  36583. },
  36584. "ordertime": {
  36585. "description": "委托时间",
  36586. "type": "string"
  36587. },
  36588. "preorderid": {
  36589. "description": "关联预埋单号(止盈止损单时填写)",
  36590. "type": "string"
  36591. },
  36592. "pricemode": {
  36593. "description": "取价方式 - 1:市价 2: 限价",
  36594. "type": "integer"
  36595. },
  36596. "qtydecimalplace": {
  36597. "description": "商品报价小数位",
  36598. "type": "integer"
  36599. },
  36600. "relatedid": {
  36601. "description": "关联单号(交割单)",
  36602. "type": "string"
  36603. },
  36604. "tradedate": {
  36605. "description": "交易日(yyyyMMdd)",
  36606. "type": "string"
  36607. },
  36608. "trademode": {
  36609. "description": "交易模式",
  36610. "type": "integer"
  36611. },
  36612. "tradeqty": {
  36613. "description": "成交数量",
  36614. "type": "number"
  36615. },
  36616. "unfreezecharge": {
  36617. "description": "解冻手续费",
  36618. "type": "number"
  36619. },
  36620. "unfreezemargin": {
  36621. "description": "解冻保证金",
  36622. "type": "number"
  36623. },
  36624. "validtime": {
  36625. "description": "有效期限",
  36626. "type": "string"
  36627. },
  36628. "validtype": {
  36629. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36630. "type": "integer"
  36631. },
  36632. "volumetype": {
  36633. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36634. "type": "integer"
  36635. }
  36636. }
  36637. },
  36638. "order.QueryTradePositionRsp": {
  36639. "type": "object",
  36640. "required": [
  36641. "goodsid"
  36642. ],
  36643. "properties": {
  36644. "accountid": {
  36645. "description": "资金账户",
  36646. "type": "integer"
  36647. },
  36648. "agreeunit": {
  36649. "description": "合约单位",
  36650. "type": "number"
  36651. },
  36652. "averageprice": {
  36653. "description": "持仓均价",
  36654. "type": "number"
  36655. },
  36656. "buyorsell": {
  36657. "description": "方向 - 0:买 1:卖",
  36658. "type": "integer"
  36659. },
  36660. "closetotalqty": {
  36661. "description": "平仓总数量",
  36662. "type": "number"
  36663. },
  36664. "curholderamount": {
  36665. "description": "当前持仓总金额[商品币种]",
  36666. "type": "number"
  36667. },
  36668. "curpositionqty": {
  36669. "description": "当前持仓总数量",
  36670. "type": "number"
  36671. },
  36672. "currencyid": {
  36673. "description": "报价货币ID",
  36674. "type": "integer"
  36675. },
  36676. "curtdposition": {
  36677. "description": "期末今日头寸",
  36678. "type": "number"
  36679. },
  36680. "decimalplace": {
  36681. "description": "报价小数位",
  36682. "type": "integer"
  36683. },
  36684. "enableqty": {
  36685. "description": "可用量",
  36686. "type": "number"
  36687. },
  36688. "fretdposition": {
  36689. "description": "冻结今日头寸",
  36690. "type": "number"
  36691. },
  36692. "frozenqty": {
  36693. "description": "持仓冻结数量",
  36694. "type": "number"
  36695. },
  36696. "goodscode": {
  36697. "description": "商品代码",
  36698. "type": "string"
  36699. },
  36700. "goodsid": {
  36701. "description": "商品Id",
  36702. "type": "integer"
  36703. },
  36704. "goodsname": {
  36705. "description": "商品名称",
  36706. "type": "string"
  36707. },
  36708. "goodunit": {
  36709. "description": "报价单位",
  36710. "type": "string"
  36711. },
  36712. "goodunitid": {
  36713. "description": "报价单位ID",
  36714. "type": "integer"
  36715. },
  36716. "holderamount": {
  36717. "description": "期初持仓总金额[商品币种]",
  36718. "type": "number"
  36719. },
  36720. "lastprice": {
  36721. "description": "最新价",
  36722. "type": "number"
  36723. },
  36724. "marketamount": {
  36725. "description": "市值",
  36726. "type": "number"
  36727. },
  36728. "marketid": {
  36729. "description": "所属市场ID",
  36730. "type": "integer"
  36731. },
  36732. "openreqqty": {
  36733. "description": "开仓申请数量(用于比较最大持仓数量)",
  36734. "type": "number"
  36735. },
  36736. "opentotalqty": {
  36737. "description": "开仓总数量",
  36738. "type": "number"
  36739. },
  36740. "otherfrozenqty": {
  36741. "description": "持仓其他冻结数量(交割冻结)",
  36742. "type": "number"
  36743. },
  36744. "positionpl": {
  36745. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  36746. "type": "number"
  36747. },
  36748. "positionplrate": {
  36749. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  36750. "type": "number"
  36751. },
  36752. "positionqty": {
  36753. "description": "期初持仓数量",
  36754. "type": "number"
  36755. },
  36756. "qtydecimalplace": {
  36757. "description": "成交量小数位",
  36758. "type": "integer"
  36759. },
  36760. "refgoodscode": {
  36761. "description": "参考商品代码",
  36762. "type": "string"
  36763. },
  36764. "refgoodsid": {
  36765. "description": "参考商品ID",
  36766. "type": "integer"
  36767. },
  36768. "tnqty": {
  36769. "description": "T+N冻结总量",
  36770. "type": "number"
  36771. },
  36772. "tnusedqty": {
  36773. "description": "T+N使用量(可以使用T+N的冻结数量)",
  36774. "type": "number"
  36775. },
  36776. "trademode": {
  36777. "description": "交易模式",
  36778. "type": "integer"
  36779. },
  36780. "tradeproperty": {
  36781. "description": "交易属性",
  36782. "type": "integer"
  36783. },
  36784. "usedmargin": {
  36785. "description": "占用保证金[商品币种]",
  36786. "type": "number"
  36787. }
  36788. }
  36789. },
  36790. "pb.GoodsMarginCfgStruct": {
  36791. "type": "object",
  36792. "properties": {
  36793. "CustomerTypeID": {
  36794. "description": "投资者客户类型",
  36795. "type": "integer"
  36796. },
  36797. "GoodsID": {
  36798. "description": "商品ID",
  36799. "type": "integer"
  36800. },
  36801. "IsDefault": {
  36802. "description": "是否默认标志位",
  36803. "type": "integer"
  36804. },
  36805. "LockMarginValue": {
  36806. "description": "锁仓保证金",
  36807. "type": "number"
  36808. },
  36809. "MarginAlgorithm": {
  36810. "description": "保证金计算方式",
  36811. "type": "integer"
  36812. },
  36813. "MarketMarginValue": {
  36814. "description": "即市保证金值",
  36815. "type": "number"
  36816. },
  36817. "RealMarginAlgorithm": {
  36818. "description": "实付保证金计算方式",
  36819. "type": "integer"
  36820. },
  36821. "RealMarginValue": {
  36822. "description": "实付比例",
  36823. "type": "number"
  36824. },
  36825. "ReckonMarginValue": {
  36826. "description": "结算保证金值",
  36827. "type": "number"
  36828. }
  36829. }
  36830. },
  36831. "quote.HistoryData": {
  36832. "type": "object",
  36833. "properties": {
  36834. "c": {
  36835. "description": "收盘价",
  36836. "type": "number"
  36837. },
  36838. "f": {
  36839. "description": "是否补充数据",
  36840. "type": "boolean"
  36841. },
  36842. "h": {
  36843. "description": "最高价",
  36844. "type": "number"
  36845. },
  36846. "hv": {
  36847. "description": "持仓量",
  36848. "type": "integer"
  36849. },
  36850. "l": {
  36851. "description": "最低价",
  36852. "type": "number"
  36853. },
  36854. "o": {
  36855. "description": "开盘价",
  36856. "type": "number"
  36857. },
  36858. "s": {
  36859. "description": "结算价,日线周期(包括)以上才有",
  36860. "type": "number"
  36861. },
  36862. "ts": {
  36863. "description": "时间",
  36864. "type": "string"
  36865. },
  36866. "tt": {
  36867. "description": "总金额",
  36868. "type": "number"
  36869. },
  36870. "tv": {
  36871. "description": "总量(成交量)",
  36872. "type": "integer"
  36873. }
  36874. }
  36875. },
  36876. "quote.HistoryTikData": {
  36877. "type": "object",
  36878. "properties": {
  36879. "AV": {
  36880. "description": "卖量",
  36881. "type": "integer"
  36882. },
  36883. "Ask": {
  36884. "description": "卖价",
  36885. "type": "number"
  36886. },
  36887. "BV": {
  36888. "description": "买量",
  36889. "type": "integer"
  36890. },
  36891. "Bid": {
  36892. "description": "买价",
  36893. "type": "number"
  36894. },
  36895. "HI": {
  36896. "description": "单笔持仓",
  36897. "type": "integer"
  36898. },
  36899. "HV": {
  36900. "description": "持仓量",
  36901. "type": "integer"
  36902. },
  36903. "PE": {
  36904. "description": "现价",
  36905. "type": "number"
  36906. },
  36907. "TDR": {
  36908. "description": "交易方向,0:买 1:卖",
  36909. "type": "integer"
  36910. },
  36911. "TK": {
  36912. "description": "交易类型",
  36913. "type": "integer"
  36914. },
  36915. "TS": {
  36916. "description": "行情时间文本",
  36917. "type": "string"
  36918. },
  36919. "TT": {
  36920. "description": "现金额",
  36921. "type": "number"
  36922. },
  36923. "Vol": {
  36924. "description": "现量",
  36925. "type": "integer"
  36926. }
  36927. }
  36928. },
  36929. "quote.QueryQuoteDayRsp": {
  36930. "type": "object",
  36931. "properties": {
  36932. "ask": {
  36933. "description": "卖1",
  36934. "type": "number"
  36935. },
  36936. "ask10": {
  36937. "description": "卖10",
  36938. "type": "number"
  36939. },
  36940. "ask2": {
  36941. "description": "卖2",
  36942. "type": "number"
  36943. },
  36944. "ask3": {
  36945. "description": "卖3",
  36946. "type": "number"
  36947. },
  36948. "ask4": {
  36949. "description": "卖4",
  36950. "type": "number"
  36951. },
  36952. "ask5": {
  36953. "description": "卖5",
  36954. "type": "number"
  36955. },
  36956. "ask6": {
  36957. "description": "卖6",
  36958. "type": "number"
  36959. },
  36960. "ask7": {
  36961. "description": "卖7",
  36962. "type": "number"
  36963. },
  36964. "ask8": {
  36965. "description": "卖8",
  36966. "type": "number"
  36967. },
  36968. "ask9": {
  36969. "description": "卖9",
  36970. "type": "number"
  36971. },
  36972. "askorderid": {
  36973. "description": "卖单号1",
  36974. "type": "integer"
  36975. },
  36976. "askorderid2": {
  36977. "description": "卖单号2",
  36978. "type": "integer"
  36979. },
  36980. "askorderid3": {
  36981. "description": "卖单号3",
  36982. "type": "integer"
  36983. },
  36984. "askorderid4": {
  36985. "description": "卖单号4",
  36986. "type": "integer"
  36987. },
  36988. "askorderid5": {
  36989. "description": "卖单号5",
  36990. "type": "integer"
  36991. },
  36992. "askordervolume": {
  36993. "description": "卖单量1",
  36994. "type": "integer"
  36995. },
  36996. "askordervolume10": {
  36997. "description": "卖单量10",
  36998. "type": "integer"
  36999. },
  37000. "askordervolume2": {
  37001. "description": "卖单量2",
  37002. "type": "integer"
  37003. },
  37004. "askordervolume3": {
  37005. "description": "卖单量3",
  37006. "type": "integer"
  37007. },
  37008. "askordervolume4": {
  37009. "description": "卖单量4",
  37010. "type": "integer"
  37011. },
  37012. "askordervolume5": {
  37013. "description": "卖单量5",
  37014. "type": "integer"
  37015. },
  37016. "askordervolume6": {
  37017. "description": "卖单量6",
  37018. "type": "integer"
  37019. },
  37020. "askordervolume7": {
  37021. "description": "卖单量7",
  37022. "type": "integer"
  37023. },
  37024. "askordervolume8": {
  37025. "description": "卖单量8",
  37026. "type": "integer"
  37027. },
  37028. "askordervolume9": {
  37029. "description": "卖单量9",
  37030. "type": "integer"
  37031. },
  37032. "askqueueinfo": {
  37033. "description": "大利市卖港股用",
  37034. "type": "string"
  37035. },
  37036. "askvolume": {
  37037. "description": "卖量1",
  37038. "type": "integer"
  37039. },
  37040. "askvolume10": {
  37041. "description": "卖量10",
  37042. "type": "integer"
  37043. },
  37044. "askvolume2": {
  37045. "description": "卖量2",
  37046. "type": "integer"
  37047. },
  37048. "askvolume3": {
  37049. "description": "卖量3",
  37050. "type": "integer"
  37051. },
  37052. "askvolume4": {
  37053. "description": "卖量4",
  37054. "type": "integer"
  37055. },
  37056. "askvolume5": {
  37057. "description": "卖量5",
  37058. "type": "integer"
  37059. },
  37060. "askvolume6": {
  37061. "description": "卖量6",
  37062. "type": "integer"
  37063. },
  37064. "askvolume7": {
  37065. "description": "卖量7",
  37066. "type": "integer"
  37067. },
  37068. "askvolume8": {
  37069. "description": "卖量8",
  37070. "type": "integer"
  37071. },
  37072. "askvolume9": {
  37073. "description": "卖量9",
  37074. "type": "integer"
  37075. },
  37076. "averageprice": {
  37077. "description": "均价",
  37078. "type": "number"
  37079. },
  37080. "bid": {
  37081. "description": "买1",
  37082. "type": "number"
  37083. },
  37084. "bid10": {
  37085. "description": "买10",
  37086. "type": "number"
  37087. },
  37088. "bid2": {
  37089. "description": "买2",
  37090. "type": "number"
  37091. },
  37092. "bid3": {
  37093. "description": "买3",
  37094. "type": "number"
  37095. },
  37096. "bid4": {
  37097. "description": "买4",
  37098. "type": "number"
  37099. },
  37100. "bid5": {
  37101. "description": "买5",
  37102. "type": "number"
  37103. },
  37104. "bid6": {
  37105. "description": "买6",
  37106. "type": "number"
  37107. },
  37108. "bid7": {
  37109. "description": "买7",
  37110. "type": "number"
  37111. },
  37112. "bid8": {
  37113. "description": "买8",
  37114. "type": "number"
  37115. },
  37116. "bid9": {
  37117. "description": "买9",
  37118. "type": "number"
  37119. },
  37120. "bidorderid": {
  37121. "description": "买单号1",
  37122. "type": "integer"
  37123. },
  37124. "bidorderid2": {
  37125. "description": "买单号2",
  37126. "type": "integer"
  37127. },
  37128. "bidorderid3": {
  37129. "description": "买单号3",
  37130. "type": "integer"
  37131. },
  37132. "bidorderid4": {
  37133. "description": "买单号4",
  37134. "type": "integer"
  37135. },
  37136. "bidorderid5": {
  37137. "description": "买单号5",
  37138. "type": "integer"
  37139. },
  37140. "bidordervolume": {
  37141. "description": "买单量1",
  37142. "type": "integer"
  37143. },
  37144. "bidordervolume10": {
  37145. "description": "买单量10",
  37146. "type": "integer"
  37147. },
  37148. "bidordervolume2": {
  37149. "description": "买单量2",
  37150. "type": "integer"
  37151. },
  37152. "bidordervolume3": {
  37153. "description": "买单量3",
  37154. "type": "integer"
  37155. },
  37156. "bidordervolume4": {
  37157. "description": "买单量4",
  37158. "type": "integer"
  37159. },
  37160. "bidordervolume5": {
  37161. "description": "买单量5",
  37162. "type": "integer"
  37163. },
  37164. "bidordervolume6": {
  37165. "description": "买单量6",
  37166. "type": "integer"
  37167. },
  37168. "bidordervolume7": {
  37169. "description": "买单量7",
  37170. "type": "integer"
  37171. },
  37172. "bidordervolume8": {
  37173. "description": "买单量8",
  37174. "type": "integer"
  37175. },
  37176. "bidordervolume9": {
  37177. "description": "买单量9",
  37178. "type": "integer"
  37179. },
  37180. "bidqueueinfo": {
  37181. "description": "大利市买港股用",
  37182. "type": "string"
  37183. },
  37184. "bidvolume": {
  37185. "description": "买量1",
  37186. "type": "integer"
  37187. },
  37188. "bidvolume10": {
  37189. "description": "买量10",
  37190. "type": "integer"
  37191. },
  37192. "bidvolume2": {
  37193. "description": "买量2",
  37194. "type": "integer"
  37195. },
  37196. "bidvolume3": {
  37197. "description": "买量3",
  37198. "type": "integer"
  37199. },
  37200. "bidvolume4": {
  37201. "description": "买量4",
  37202. "type": "integer"
  37203. },
  37204. "bidvolume5": {
  37205. "description": "买量5",
  37206. "type": "integer"
  37207. },
  37208. "bidvolume6": {
  37209. "description": "买量6",
  37210. "type": "integer"
  37211. },
  37212. "bidvolume7": {
  37213. "description": "买量7",
  37214. "type": "integer"
  37215. },
  37216. "bidvolume8": {
  37217. "description": "买量8",
  37218. "type": "integer"
  37219. },
  37220. "bidvolume9": {
  37221. "description": "买量9",
  37222. "type": "integer"
  37223. },
  37224. "calloptionpremiums": {
  37225. "description": "认购期权1",
  37226. "type": "integer"
  37227. },
  37228. "calloptionpremiums2": {
  37229. "description": "认购期权2",
  37230. "type": "integer"
  37231. },
  37232. "calloptionpremiums3": {
  37233. "description": "认购期权3",
  37234. "type": "integer"
  37235. },
  37236. "calloptionpremiums4": {
  37237. "description": "认购期权4",
  37238. "type": "integer"
  37239. },
  37240. "calloptionpremiums5": {
  37241. "description": "认购期权5",
  37242. "type": "integer"
  37243. },
  37244. "cleartime": {
  37245. "description": "清盘时间",
  37246. "type": "integer"
  37247. },
  37248. "exchangecode": {
  37249. "description": "交易所代码",
  37250. "type": "integer"
  37251. },
  37252. "exchangedate": {
  37253. "description": "交易日",
  37254. "type": "integer"
  37255. },
  37256. "goodscode": {
  37257. "description": "商品代码",
  37258. "type": "string"
  37259. },
  37260. "grepmarketprice": {
  37261. "description": "暗盘价 港股专用",
  37262. "type": "number"
  37263. },
  37264. "highest": {
  37265. "description": "最高价",
  37266. "type": "number"
  37267. },
  37268. "holdincrement": {
  37269. "description": "单笔持仓",
  37270. "type": "integer"
  37271. },
  37272. "holdvolume": {
  37273. "description": "持仓",
  37274. "type": "integer"
  37275. },
  37276. "iep": {
  37277. "description": "平衡价 港股专用",
  37278. "type": "number"
  37279. },
  37280. "iev": {
  37281. "description": "平衡量 港股专用",
  37282. "type": "number"
  37283. },
  37284. "inventory": {
  37285. "description": "库存",
  37286. "type": "integer"
  37287. },
  37288. "iscleared": {
  37289. "description": "是否清盘标志",
  37290. "type": "integer"
  37291. },
  37292. "issettled": {
  37293. "description": "是否结算标志",
  37294. "type": "integer"
  37295. },
  37296. "last": {
  37297. "description": "最新价",
  37298. "type": "number"
  37299. },
  37300. "lastlot": {
  37301. "description": "最新成交手数",
  37302. "type": "integer"
  37303. },
  37304. "lasttime": {
  37305. "description": "行情时间(只有现价变化行情时间才变化)",
  37306. "type": "string"
  37307. },
  37308. "lastturnover": {
  37309. "description": "最新成交金额",
  37310. "type": "number"
  37311. },
  37312. "lastvolume": {
  37313. "description": "最新成交量",
  37314. "type": "integer"
  37315. },
  37316. "limitdown": {
  37317. "description": "跌停价",
  37318. "type": "number"
  37319. },
  37320. "limitup": {
  37321. "description": "涨停价",
  37322. "type": "number"
  37323. },
  37324. "lowest": {
  37325. "description": "最低价",
  37326. "type": "number"
  37327. },
  37328. "nontotalholdervolume": {
  37329. "description": "非交易持仓量",
  37330. "type": "integer"
  37331. },
  37332. "nontotallot": {
  37333. "description": "非交易总手数",
  37334. "type": "integer"
  37335. },
  37336. "nontotalturnover": {
  37337. "description": "非交易总金额",
  37338. "type": "integer"
  37339. },
  37340. "nontotalvolume": {
  37341. "description": "非交易总量",
  37342. "type": "integer"
  37343. },
  37344. "opened": {
  37345. "description": "开盘价",
  37346. "type": "number"
  37347. },
  37348. "opentime": {
  37349. "description": "开盘时间",
  37350. "type": "string"
  37351. },
  37352. "orderid": {
  37353. "description": "序号",
  37354. "type": "integer"
  37355. },
  37356. "preclose": {
  37357. "description": "昨收",
  37358. "type": "number"
  37359. },
  37360. "preholdvolume": {
  37361. "description": "昨持仓",
  37362. "type": "integer"
  37363. },
  37364. "presettle": {
  37365. "description": "昨结价",
  37366. "type": "number"
  37367. },
  37368. "publictradetype": {
  37369. "description": "公共交易标志类型 港股专用",
  37370. "type": "string"
  37371. },
  37372. "putoptionpremiums": {
  37373. "description": "认沽期权1",
  37374. "type": "integer"
  37375. },
  37376. "putoptionpremiums2": {
  37377. "description": "认沽期权2",
  37378. "type": "integer"
  37379. },
  37380. "putoptionpremiums3": {
  37381. "description": "认沽期权3",
  37382. "type": "integer"
  37383. },
  37384. "putoptionpremiums4": {
  37385. "description": "认沽期权4",
  37386. "type": "integer"
  37387. },
  37388. "putoptionpremiums5": {
  37389. "description": "认沽期权5",
  37390. "type": "integer"
  37391. },
  37392. "settle": {
  37393. "description": "结算价",
  37394. "type": "number"
  37395. },
  37396. "strikeprice": {
  37397. "description": "发行价",
  37398. "type": "number"
  37399. },
  37400. "totalaskvolume": {
  37401. "description": "内盘",
  37402. "type": "integer"
  37403. },
  37404. "totalbidvolume": {
  37405. "description": "外盘",
  37406. "type": "integer"
  37407. },
  37408. "totallot": {
  37409. "description": "总手数",
  37410. "type": "integer"
  37411. },
  37412. "totalturnover": {
  37413. "description": "总金额",
  37414. "type": "number"
  37415. },
  37416. "totalvolume": {
  37417. "description": "总量",
  37418. "type": "integer"
  37419. },
  37420. "utclasttime": {
  37421. "description": "utc的行情时间",
  37422. "type": "string"
  37423. }
  37424. }
  37425. },
  37426. "quote.QueryTSDataRsp": {
  37427. "type": "object",
  37428. "properties": {
  37429. "Count": {
  37430. "description": "交易日应有数据个数",
  37431. "type": "integer"
  37432. },
  37433. "decimalPlace": {
  37434. "description": "小数位",
  37435. "type": "integer"
  37436. },
  37437. "endTime": {
  37438. "description": "结束时间",
  37439. "type": "string"
  37440. },
  37441. "goodsCode": {
  37442. "description": "商品代码",
  37443. "type": "string"
  37444. },
  37445. "historyDatas": {
  37446. "description": "历史数据",
  37447. "type": "array",
  37448. "items": {
  37449. "$ref": "#/definitions/quote.HistoryData"
  37450. }
  37451. },
  37452. "outGoodsCode": {
  37453. "description": "外部商品代码",
  37454. "type": "string"
  37455. },
  37456. "preSettle": {
  37457. "description": "昨结价",
  37458. "type": "number"
  37459. },
  37460. "runSteps": {
  37461. "description": "交易日开休市计划",
  37462. "type": "array",
  37463. "items": {
  37464. "$ref": "#/definitions/quote.TSDataRunStep"
  37465. }
  37466. },
  37467. "startTime": {
  37468. "description": "开始时间",
  37469. "type": "string"
  37470. },
  37471. "tradeDate": {
  37472. "description": "交易日",
  37473. "type": "string"
  37474. }
  37475. }
  37476. },
  37477. "quote.TSDataRunStep": {
  37478. "type": "object",
  37479. "properties": {
  37480. "end": {
  37481. "description": "真实结束时间",
  37482. "type": "string"
  37483. },
  37484. "endflag": {
  37485. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  37486. "type": "integer"
  37487. },
  37488. "endtime": {
  37489. "description": "结束时间(HH:mm)",
  37490. "type": "string"
  37491. },
  37492. "endweekday": {
  37493. "description": "结束周几",
  37494. "type": "integer"
  37495. },
  37496. "groupid": {
  37497. "description": "分组ID",
  37498. "type": "integer"
  37499. },
  37500. "runstep": {
  37501. "description": "运行阶段 - 2:连续交易",
  37502. "type": "integer"
  37503. },
  37504. "sectionid": {
  37505. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  37506. "type": "integer"
  37507. },
  37508. "start": {
  37509. "description": "真实开始时间",
  37510. "type": "string"
  37511. },
  37512. "startflag": {
  37513. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  37514. "type": "integer"
  37515. },
  37516. "starttime": {
  37517. "description": "起始时间(HH:mm)",
  37518. "type": "string"
  37519. },
  37520. "startweekday": {
  37521. "description": "起始周几",
  37522. "type": "integer"
  37523. },
  37524. "tradeweekday": {
  37525. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  37526. "type": "integer"
  37527. }
  37528. }
  37529. },
  37530. "szdz.QueryConvertLogRsp": {
  37531. "type": "object",
  37532. "required": [
  37533. "logid"
  37534. ],
  37535. "properties": {
  37536. "accountid": {
  37537. "description": "资金账户ID",
  37538. "type": "integer"
  37539. },
  37540. "clientticket": {
  37541. "description": "客户端流水号",
  37542. "type": "string"
  37543. },
  37544. "converttype": {
  37545. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  37546. "type": "integer"
  37547. },
  37548. "createtime": {
  37549. "description": "记账时间",
  37550. "type": "string"
  37551. },
  37552. "daymaxvalue": {
  37553. "description": "配置当日最大转入限制",
  37554. "type": "number"
  37555. },
  37556. "daymaxvalue2": {
  37557. "description": "配置当日最大转入限制(转入)",
  37558. "type": "number"
  37559. },
  37560. "goodscode": {
  37561. "description": "商品代码",
  37562. "type": "string"
  37563. },
  37564. "goodsname": {
  37565. "description": "商品名称",
  37566. "type": "string"
  37567. },
  37568. "handlestatus": {
  37569. "description": "处理状态",
  37570. "type": "integer"
  37571. },
  37572. "innergoodsid": {
  37573. "description": "内部商品ID",
  37574. "type": "integer"
  37575. },
  37576. "inratio": {
  37577. "description": "配置转入比值",
  37578. "type": "integer"
  37579. },
  37580. "invalue": {
  37581. "description": "目标值",
  37582. "type": "number"
  37583. },
  37584. "logid": {
  37585. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37586. "type": "integer"
  37587. },
  37588. "mobile": {
  37589. "description": "手机号码(加密存储)",
  37590. "type": "string"
  37591. },
  37592. "outergoodscode": {
  37593. "description": "外部商品代码[JD\\PD]",
  37594. "type": "string"
  37595. },
  37596. "outratio": {
  37597. "description": "配置转出比值",
  37598. "type": "integer"
  37599. },
  37600. "outvalue": {
  37601. "description": "源值",
  37602. "type": "number"
  37603. },
  37604. "pddecimalplace": {
  37605. "description": "PD小数位",
  37606. "type": "integer"
  37607. },
  37608. "qty": {
  37609. "description": "数量",
  37610. "type": "string"
  37611. },
  37612. "remark": {
  37613. "description": "备注",
  37614. "type": "string"
  37615. },
  37616. "sessionid": {
  37617. "description": "会话ID",
  37618. "type": "integer"
  37619. },
  37620. "timemaxvalue": {
  37621. "description": "配置单次最大转入限制",
  37622. "type": "number"
  37623. },
  37624. "timemaxvalue2": {
  37625. "description": "配置单次最大转入限制(转入)",
  37626. "type": "number"
  37627. },
  37628. "timeminvalue": {
  37629. "description": "配置单次最小数量限制",
  37630. "type": "number"
  37631. },
  37632. "timeminvalue2": {
  37633. "description": "配置单次最小数量限制(转入)",
  37634. "type": "number"
  37635. },
  37636. "tradedate": {
  37637. "description": "交易日(yyyyMMdd)",
  37638. "type": "string"
  37639. },
  37640. "userid": {
  37641. "description": "用户ID",
  37642. "type": "integer"
  37643. }
  37644. }
  37645. },
  37646. "szdz.QueryGoodsPickupRsp": {
  37647. "type": "object",
  37648. "required": [
  37649. "takeorderid"
  37650. ],
  37651. "properties": {
  37652. "accountid": {
  37653. "description": "账户ID",
  37654. "type": "integer"
  37655. },
  37656. "address": {
  37657. "description": "提货人详细地址",
  37658. "type": "string"
  37659. },
  37660. "auditer": {
  37661. "description": "审核人",
  37662. "type": "integer"
  37663. },
  37664. "audittime": {
  37665. "description": "审核时间",
  37666. "type": "string"
  37667. },
  37668. "cardnum": {
  37669. "description": "提货人证件号码",
  37670. "type": "string"
  37671. },
  37672. "cardtypeid": {
  37673. "description": "提货人证件类型",
  37674. "type": "integer"
  37675. },
  37676. "checkremark": {
  37677. "description": "审核备注",
  37678. "type": "string"
  37679. },
  37680. "goodscode": {
  37681. "description": "商品代码",
  37682. "type": "string"
  37683. },
  37684. "goodsid": {
  37685. "description": "商品ID",
  37686. "type": "integer"
  37687. },
  37688. "goodsname": {
  37689. "description": "商品名称",
  37690. "type": "string"
  37691. },
  37692. "handlestatus": {
  37693. "description": "处理状态",
  37694. "type": "integer"
  37695. },
  37696. "marketid": {
  37697. "description": "市场ID",
  37698. "type": "integer"
  37699. },
  37700. "phonenum": {
  37701. "description": "提货人联系方式",
  37702. "type": "string"
  37703. },
  37704. "qty": {
  37705. "description": "提货数量",
  37706. "type": "number"
  37707. },
  37708. "recivername": {
  37709. "description": "提货人姓名",
  37710. "type": "string"
  37711. },
  37712. "reqtime": {
  37713. "description": "更新时间",
  37714. "type": "string"
  37715. },
  37716. "takemode": {
  37717. "description": "提货方式 - 2:自提 3:配送",
  37718. "type": "integer"
  37719. },
  37720. "takeorderid": {
  37721. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  37722. "type": "string"
  37723. },
  37724. "takeorderstatus": {
  37725. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  37726. "type": "integer"
  37727. },
  37728. "takeremark": {
  37729. "description": "提货备注",
  37730. "type": "string"
  37731. },
  37732. "tradedate": {
  37733. "description": "交易日(yyyyMMdd)",
  37734. "type": "string"
  37735. },
  37736. "userid": {
  37737. "description": "用户ID",
  37738. "type": "integer"
  37739. }
  37740. }
  37741. },
  37742. "szdz.QueryRecieptOrderRsp": {
  37743. "type": "object",
  37744. "required": [
  37745. "ordertime"
  37746. ],
  37747. "properties": {
  37748. "accountName": {
  37749. "description": "所属账号名称(已脱敏)",
  37750. "type": "string"
  37751. },
  37752. "accountid": {
  37753. "description": "资金账号",
  37754. "type": "integer"
  37755. },
  37756. "buyorsell": {
  37757. "description": "方向 - 0:买 1:卖",
  37758. "type": "integer"
  37759. },
  37760. "enableqty": {
  37761. "description": "可摘数量",
  37762. "type": "integer"
  37763. },
  37764. "goodscode": {
  37765. "description": "商品代码",
  37766. "type": "string"
  37767. },
  37768. "goodsid": {
  37769. "description": "商品ID",
  37770. "type": "integer"
  37771. },
  37772. "goodsname": {
  37773. "description": "商品名称",
  37774. "type": "string"
  37775. },
  37776. "orderid": {
  37777. "description": "委托单号",
  37778. "type": "string"
  37779. },
  37780. "orderprice": {
  37781. "description": "委托价格",
  37782. "type": "number"
  37783. },
  37784. "ordertime": {
  37785. "description": "委托时间",
  37786. "type": "string"
  37787. },
  37788. "tradedate": {
  37789. "description": "交易日(yyyyMMdd)",
  37790. "type": "string"
  37791. }
  37792. }
  37793. },
  37794. "szdz.QuerySZDZTradePositionRsp": {
  37795. "type": "object",
  37796. "properties": {
  37797. "accountid": {
  37798. "description": "账号Id",
  37799. "type": "integer"
  37800. },
  37801. "agreeunit": {
  37802. "description": "合约单位",
  37803. "type": "number"
  37804. },
  37805. "averageprice": {
  37806. "description": "持仓均价",
  37807. "type": "number"
  37808. },
  37809. "buyorsell": {
  37810. "description": "方向 - 0:买 1:卖",
  37811. "type": "integer"
  37812. },
  37813. "closetotalqty": {
  37814. "description": "平仓总数量",
  37815. "type": "integer"
  37816. },
  37817. "curholderamount": {
  37818. "description": "当前持仓总金额",
  37819. "type": "number"
  37820. },
  37821. "curpositionqty": {
  37822. "description": "当前持仓总数量",
  37823. "type": "integer"
  37824. },
  37825. "currencyid": {
  37826. "description": "报价货币ID",
  37827. "type": "integer"
  37828. },
  37829. "curtdposition": {
  37830. "description": "期末今日头寸",
  37831. "type": "integer"
  37832. },
  37833. "decimalplace": {
  37834. "description": "报价小数位",
  37835. "type": "integer"
  37836. },
  37837. "enableqty": {
  37838. "description": "可用量",
  37839. "type": "integer"
  37840. },
  37841. "fretdposition": {
  37842. "description": "冻结今日头寸",
  37843. "type": "integer"
  37844. },
  37845. "frozenqty": {
  37846. "description": "持仓冻结数量",
  37847. "type": "integer"
  37848. },
  37849. "goodscode": {
  37850. "description": "商品代码(内部)",
  37851. "type": "string"
  37852. },
  37853. "goodsid": {
  37854. "description": "商品Id",
  37855. "type": "integer"
  37856. },
  37857. "goodsname": {
  37858. "description": "商品名称",
  37859. "type": "string"
  37860. },
  37861. "goodunit": {
  37862. "description": "报价单位",
  37863. "type": "string"
  37864. },
  37865. "goodunitid": {
  37866. "description": "报价单位ID",
  37867. "type": "integer"
  37868. },
  37869. "holderamount": {
  37870. "description": "期初持仓总金额",
  37871. "type": "number"
  37872. },
  37873. "marketid": {
  37874. "description": "市场ID",
  37875. "type": "integer"
  37876. },
  37877. "openreqqty": {
  37878. "description": "开仓申请数量",
  37879. "type": "integer"
  37880. },
  37881. "opentotalqty": {
  37882. "description": "开仓总数量",
  37883. "type": "integer"
  37884. },
  37885. "otherfrozenqty": {
  37886. "description": "持仓其他冻结数量(交割冻结)",
  37887. "type": "integer"
  37888. },
  37889. "positionqty": {
  37890. "description": "期初持仓数量",
  37891. "type": "integer"
  37892. },
  37893. "szdz3freezqty": {
  37894. "description": "尚志大宗转换冻结总数量",
  37895. "type": "integer"
  37896. },
  37897. "tnqty": {
  37898. "description": "T+N冻结总量",
  37899. "type": "integer"
  37900. },
  37901. "tnusedqty": {
  37902. "description": "T+N使用量",
  37903. "type": "integer"
  37904. },
  37905. "trademode": {
  37906. "description": "交易模式",
  37907. "type": "integer"
  37908. },
  37909. "usedmargin": {
  37910. "description": "占用保证金",
  37911. "type": "number"
  37912. }
  37913. }
  37914. },
  37915. "taaccount.QueryAmountLogRsp": {
  37916. "type": "object",
  37917. "required": [
  37918. "accountid",
  37919. "amount",
  37920. "amountadjusttype",
  37921. "autoid",
  37922. "balance",
  37923. "createtime",
  37924. "currentbalance",
  37925. "operatetype"
  37926. ],
  37927. "properties": {
  37928. "OPERATETYPENAME": {
  37929. "description": "资金操作类型名称",
  37930. "type": "string"
  37931. },
  37932. "accountid": {
  37933. "description": "资金账户ID",
  37934. "type": "integer"
  37935. },
  37936. "agoodscode": {
  37937. "description": "竞拍商品代码",
  37938. "type": "string"
  37939. },
  37940. "agoodsname": {
  37941. "description": "竞拍商品名称",
  37942. "type": "string"
  37943. },
  37944. "amount": {
  37945. "description": "资金金额",
  37946. "type": "number"
  37947. },
  37948. "amountadjusttype": {
  37949. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37950. "type": "integer"
  37951. },
  37952. "autoid": {
  37953. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37954. "type": "integer"
  37955. },
  37956. "balance": {
  37957. "description": "期初余额",
  37958. "type": "number"
  37959. },
  37960. "businesscode": {
  37961. "description": "业务编号",
  37962. "type": "integer"
  37963. },
  37964. "createtime": {
  37965. "description": "发生时间",
  37966. "type": "string"
  37967. },
  37968. "currencyid": {
  37969. "description": "币种ID",
  37970. "type": "integer"
  37971. },
  37972. "currentbalance": {
  37973. "description": "期末余额(变动后金额)",
  37974. "type": "number"
  37975. },
  37976. "dgoodscode": {
  37977. "description": "交割商品代码",
  37978. "type": "string"
  37979. },
  37980. "dgoodsname": {
  37981. "description": "交割商品名称",
  37982. "type": "string"
  37983. },
  37984. "goodscode": {
  37985. "description": "商品代码",
  37986. "type": "string"
  37987. },
  37988. "goodsid": {
  37989. "description": "商品ID",
  37990. "type": "integer"
  37991. },
  37992. "goodsname": {
  37993. "description": "商品名称",
  37994. "type": "string"
  37995. },
  37996. "marketid": {
  37997. "description": "市场ID",
  37998. "type": "integer"
  37999. },
  38000. "marketname": {
  38001. "description": "市场名称",
  38002. "type": "string"
  38003. },
  38004. "moneyticket": {
  38005. "description": "资金流水号:银行端流水号",
  38006. "type": "integer"
  38007. },
  38008. "operatetype": {
  38009. "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:营销收款",
  38010. "type": "integer"
  38011. },
  38012. "relationorderid": {
  38013. "description": "关联单号",
  38014. "type": "string"
  38015. },
  38016. "remark": {
  38017. "description": "备注",
  38018. "type": "string"
  38019. },
  38020. "trademode": {
  38021. "description": "交易模式",
  38022. "type": "integer"
  38023. }
  38024. }
  38025. },
  38026. "taaccount.QueryHisAmountLogRsp": {
  38027. "type": "object",
  38028. "required": [
  38029. "accountid",
  38030. "amount",
  38031. "amountadjusttype",
  38032. "autoid",
  38033. "balance",
  38034. "createtime",
  38035. "currentbalance",
  38036. "histradedate",
  38037. "operatetype"
  38038. ],
  38039. "properties": {
  38040. "OPERATETYPENAME": {
  38041. "description": "资金操作类型名称",
  38042. "type": "string"
  38043. },
  38044. "accountid": {
  38045. "description": "资金账户ID",
  38046. "type": "integer"
  38047. },
  38048. "agoodscode": {
  38049. "description": "竞拍商品代码",
  38050. "type": "string"
  38051. },
  38052. "agoodsname": {
  38053. "description": "竞拍商品名称",
  38054. "type": "string"
  38055. },
  38056. "amount": {
  38057. "description": "资金金额",
  38058. "type": "number"
  38059. },
  38060. "amountadjusttype": {
  38061. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38062. "type": "integer"
  38063. },
  38064. "autoid": {
  38065. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38066. "type": "integer"
  38067. },
  38068. "balance": {
  38069. "description": "期初余额",
  38070. "type": "number"
  38071. },
  38072. "businesscode": {
  38073. "description": "业务编号",
  38074. "type": "integer"
  38075. },
  38076. "createtime": {
  38077. "description": "发生时间",
  38078. "type": "string"
  38079. },
  38080. "currencyid": {
  38081. "description": "币种ID",
  38082. "type": "integer"
  38083. },
  38084. "currentbalance": {
  38085. "description": "期末余额(变动后金额)",
  38086. "type": "number"
  38087. },
  38088. "dgoodscode": {
  38089. "description": "交割商品代码",
  38090. "type": "string"
  38091. },
  38092. "dgoodsname": {
  38093. "description": "交割商品名称",
  38094. "type": "string"
  38095. },
  38096. "goodscode": {
  38097. "description": "商品代码",
  38098. "type": "string"
  38099. },
  38100. "goodsid": {
  38101. "description": "商品ID",
  38102. "type": "integer"
  38103. },
  38104. "goodsname": {
  38105. "description": "商品名称",
  38106. "type": "string"
  38107. },
  38108. "histradedate": {
  38109. "description": "历史交易日",
  38110. "type": "string"
  38111. },
  38112. "isvaliddata": {
  38113. "description": "是否有效 - 0:无效 1:有效",
  38114. "type": "integer"
  38115. },
  38116. "marketid": {
  38117. "description": "市场ID",
  38118. "type": "integer"
  38119. },
  38120. "marketname": {
  38121. "description": "市场名称",
  38122. "type": "string"
  38123. },
  38124. "moneyticket": {
  38125. "description": "资金流水号:银行端流水号",
  38126. "type": "integer"
  38127. },
  38128. "operatetype": {
  38129. "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:营销收款",
  38130. "type": "integer"
  38131. },
  38132. "relationorderid": {
  38133. "description": "关联单号",
  38134. "type": "string"
  38135. },
  38136. "remark": {
  38137. "description": "备注",
  38138. "type": "string"
  38139. },
  38140. "trademode": {
  38141. "description": "交易模式",
  38142. "type": "integer"
  38143. }
  38144. }
  38145. },
  38146. "trade.QueryRecieptOrderRsp": {
  38147. "type": "object",
  38148. "required": [
  38149. "ordertime"
  38150. ],
  38151. "properties": {
  38152. "accountName": {
  38153. "description": "所属账号名称(已脱敏)",
  38154. "type": "string"
  38155. },
  38156. "accountid": {
  38157. "description": "资金账号",
  38158. "type": "integer"
  38159. },
  38160. "buyorsell": {
  38161. "description": "方向 - 0:买 1:卖",
  38162. "type": "integer"
  38163. },
  38164. "enableqty": {
  38165. "description": "可摘数量",
  38166. "type": "integer"
  38167. },
  38168. "goodscode": {
  38169. "description": "商品代码",
  38170. "type": "string"
  38171. },
  38172. "goodsid": {
  38173. "description": "商品ID",
  38174. "type": "integer"
  38175. },
  38176. "goodsname": {
  38177. "description": "商品名称",
  38178. "type": "string"
  38179. },
  38180. "orderid": {
  38181. "description": "委托单号",
  38182. "type": "string"
  38183. },
  38184. "orderprice": {
  38185. "description": "委托价格",
  38186. "type": "number"
  38187. },
  38188. "ordertime": {
  38189. "description": "委托时间",
  38190. "type": "string"
  38191. },
  38192. "tradedate": {
  38193. "description": "交易日(yyyyMMdd)",
  38194. "type": "string"
  38195. }
  38196. }
  38197. },
  38198. "user.LoginQueryRsp": {
  38199. "type": "object",
  38200. "properties": {
  38201. "areaRoles": {
  38202. "description": "所属角色信息",
  38203. "type": "array",
  38204. "items": {
  38205. "$ref": "#/definitions/models.Arearole"
  38206. }
  38207. },
  38208. "externalExchanges": {
  38209. "description": "外部交易所",
  38210. "type": "array",
  38211. "items": {
  38212. "$ref": "#/definitions/models.Externalexchange"
  38213. }
  38214. },
  38215. "goodsgroups": {
  38216. "description": "商品组",
  38217. "type": "array",
  38218. "items": {
  38219. "$ref": "#/definitions/models.Goodsgroup"
  38220. }
  38221. },
  38222. "loginAccount": {
  38223. "description": "登录账号",
  38224. "$ref": "#/definitions/models.Loginaccount"
  38225. },
  38226. "markets": {
  38227. "description": "市场",
  38228. "type": "array",
  38229. "items": {
  38230. "$ref": "#/definitions/models.Market"
  38231. }
  38232. },
  38233. "systemParams": {
  38234. "description": "系统参数",
  38235. "type": "array",
  38236. "items": {
  38237. "$ref": "#/definitions/models.Systemparam"
  38238. }
  38239. },
  38240. "userAccount": {
  38241. "description": "用户账号",
  38242. "$ref": "#/definitions/models.Useraccount"
  38243. },
  38244. "userInfo": {
  38245. "description": "用户信息",
  38246. "$ref": "#/definitions/models.Userinfo"
  38247. },
  38248. "username": {
  38249. "description": "用户姓名",
  38250. "type": "string"
  38251. }
  38252. }
  38253. }
  38254. },
  38255. "securityDefinitions": {
  38256. "ApiKeyAuth": {
  38257. "type": "apiKey",
  38258. "name": "Authorization",
  38259. "in": "header"
  38260. },
  38261. "Group": {
  38262. "type": "apiKey",
  38263. "name": "Group",
  38264. "in": "header"
  38265. },
  38266. "LoginID": {
  38267. "type": "apiKey",
  38268. "name": "LoginID",
  38269. "in": "header"
  38270. }
  38271. }
  38272. }`
  38273. // SwaggerInfo holds exported Swagger Info so clients can modify it
  38274. var SwaggerInfo = &swag.Spec{
  38275. Version: "1.0",
  38276. Host: "",
  38277. BasePath: "",
  38278. Schemes: []string{},
  38279. Title: "MTP2.0 查询服务 API",
  38280. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  38281. InfoInstanceName: "swagger",
  38282. SwaggerTemplate: docTemplate,
  38283. }
  38284. func init() {
  38285. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  38286. }