docs.go 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250
  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. "origin": {
  18253. "description": "原产地",
  18254. "type": "string"
  18255. },
  18256. "remark": {
  18257. "description": "备注",
  18258. "type": "string"
  18259. },
  18260. "userid": {
  18261. "description": "用户ID",
  18262. "type": "integer"
  18263. },
  18264. "warehouseids": {
  18265. "description": "仓库ID - 多个, 逗号分隔",
  18266. "type": "string"
  18267. },
  18268. "warehouseinfosdisplay": {
  18269. "type": "string"
  18270. },
  18271. "wrtradeorderid": {
  18272. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  18273. "type": "integer"
  18274. },
  18275. "zscategory": {
  18276. "description": "钻石分类 - 枚举”ZSCategory“",
  18277. "type": "integer"
  18278. },
  18279. "zscategorydisplay": {
  18280. "type": "string"
  18281. },
  18282. "zsclaritytype": {
  18283. "description": "净度 - 两个, 逗号分隔",
  18284. "type": "string"
  18285. },
  18286. "zsclaritytypedisplay": {
  18287. "type": "string"
  18288. },
  18289. "zscolortype": {
  18290. "description": "颜色 - 两个, 逗号分隔",
  18291. "type": "string"
  18292. },
  18293. "zscolortypedisplay": {
  18294. "type": "string"
  18295. },
  18296. "zscrystaltype": {
  18297. "description": "晶型 - 多个,逗号分隔",
  18298. "type": "string"
  18299. },
  18300. "zscrystaltypedisplay": {
  18301. "type": "string"
  18302. },
  18303. "zscurrencytype": {
  18304. "description": "货币类型 - 多个, 逗号分隔",
  18305. "type": "string"
  18306. },
  18307. "zscurrencytypedisplay": {
  18308. "type": "string"
  18309. },
  18310. "zscuttype": {
  18311. "description": "切工 - 两个, 逗号分隔",
  18312. "type": "string"
  18313. },
  18314. "zscuttypedisplay": {
  18315. "type": "string"
  18316. },
  18317. "zsczcolor1type": {
  18318. "description": "彩钻颜色1, 逗号分隔",
  18319. "type": "string"
  18320. },
  18321. "zsczcolor1typedisplay": {
  18322. "type": "string"
  18323. },
  18324. "zsczcolor2type": {
  18325. "description": "彩钻颜色2, 逗号分隔",
  18326. "type": "string"
  18327. },
  18328. "zsczcolor2typedisplay": {
  18329. "type": "string"
  18330. },
  18331. "zsczcolor3type": {
  18332. "description": "彩钻颜色3, 逗号分隔",
  18333. "type": "string"
  18334. },
  18335. "zsczcolor3typedisplay": {
  18336. "type": "string"
  18337. },
  18338. "zsfluorescencetype": {
  18339. "description": "荧光 - 多个, 逗号分隔",
  18340. "type": "string"
  18341. },
  18342. "zsfluorescencetypedisplay": {
  18343. "type": "string"
  18344. },
  18345. "zspolishtype": {
  18346. "description": "抛光度 - 两个, 逗号分隔",
  18347. "type": "string"
  18348. },
  18349. "zspolishtypedisplay": {
  18350. "type": "string"
  18351. },
  18352. "zsshapetype": {
  18353. "description": "形状 - 多个, 逗号分隔",
  18354. "type": "string"
  18355. },
  18356. "zsshapetypedisplay": {
  18357. "type": "string"
  18358. },
  18359. "zssize": {
  18360. "description": "尺寸 - 两个小数, 逗号分隔",
  18361. "type": "string"
  18362. },
  18363. "zsstyletype": {
  18364. "description": "款式 - 多个, 逗号分隔",
  18365. "type": "string"
  18366. },
  18367. "zsstyletypedisplay": {
  18368. "type": "string"
  18369. },
  18370. "zssymmetrytype": {
  18371. "description": "对称度 - 两个, 逗号分隔",
  18372. "type": "string"
  18373. },
  18374. "zssymmetrytypedisplay": {
  18375. "type": "string"
  18376. },
  18377. "zstabledisplay": {
  18378. "description": "求购信息",
  18379. "type": "string"
  18380. }
  18381. }
  18382. },
  18383. "models.DgFactoryItem": {
  18384. "type": "object",
  18385. "properties": {
  18386. "dgfactoryitemid": {
  18387. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18388. "type": "integer"
  18389. },
  18390. "dgfactoryitemtypeid": {
  18391. "description": "要素项类型",
  18392. "type": "integer"
  18393. },
  18394. "dgfactoryitemvalue": {
  18395. "description": "要素项值(类型为仓库时填写仓库名称)",
  18396. "type": "string"
  18397. },
  18398. "orderindex": {
  18399. "description": "顺序",
  18400. "type": "integer"
  18401. }
  18402. }
  18403. },
  18404. "models.Division": {
  18405. "type": "object",
  18406. "required": [
  18407. "autoid",
  18408. "divisioncode"
  18409. ],
  18410. "properties": {
  18411. "autoid": {
  18412. "description": "自增ID",
  18413. "type": "integer"
  18414. },
  18415. "divisioncode": {
  18416. "description": "行政代码",
  18417. "type": "string"
  18418. },
  18419. "divisionlevel": {
  18420. "description": "行政级别",
  18421. "type": "string"
  18422. },
  18423. "divisionname": {
  18424. "description": "行政名称",
  18425. "type": "string"
  18426. },
  18427. "modifierid": {
  18428. "description": "修改人",
  18429. "type": "integer"
  18430. },
  18431. "modifytime": {
  18432. "description": "修改时间",
  18433. "type": "string"
  18434. },
  18435. "parentcode": {
  18436. "description": "上级行政代码",
  18437. "type": "string"
  18438. },
  18439. "pathname": {
  18440. "description": "路径名称",
  18441. "type": "string"
  18442. },
  18443. "postcode": {
  18444. "description": "邮政编码",
  18445. "type": "string"
  18446. },
  18447. "separablename": {
  18448. "description": "可拆分的全称",
  18449. "type": "string"
  18450. },
  18451. "shortcode": {
  18452. "description": "地区简码",
  18453. "type": "string"
  18454. }
  18455. }
  18456. },
  18457. "models.Enumdicitem": {
  18458. "type": "object",
  18459. "required": [
  18460. "autoid",
  18461. "enumdiccode",
  18462. "enumdicid",
  18463. "enumitemname"
  18464. ],
  18465. "properties": {
  18466. "autoid": {
  18467. "description": "自增ID",
  18468. "type": "integer"
  18469. },
  18470. "bankmappedvalue": {
  18471. "description": "银行服务对应值",
  18472. "type": "string"
  18473. },
  18474. "enumdiccode": {
  18475. "description": "所属枚举代码",
  18476. "type": "string"
  18477. },
  18478. "enumdicid": {
  18479. "description": "所属枚举ID",
  18480. "type": "integer"
  18481. },
  18482. "enumdicname": {
  18483. "description": "枚举项名称",
  18484. "type": "string"
  18485. },
  18486. "enumitemname": {
  18487. "description": "枚举项值",
  18488. "type": "integer"
  18489. },
  18490. "enumitemstatus": {
  18491. "description": "枚举项状态 - 1.启用 2.不启用",
  18492. "type": "integer"
  18493. },
  18494. "enumitemvalue": {
  18495. "description": "通用值 - [币种通用简写]",
  18496. "type": "string"
  18497. },
  18498. "param1": {
  18499. "description": "参数1[币种:币种小数位]",
  18500. "type": "string"
  18501. },
  18502. "param2": {
  18503. "description": "参数1[币种:币种显示单位]",
  18504. "type": "string"
  18505. },
  18506. "remark": {
  18507. "description": "备注",
  18508. "type": "string"
  18509. }
  18510. }
  18511. },
  18512. "models.Ermcp2AreaExposure": {
  18513. "type": "object",
  18514. "properties": {
  18515. "areauserid": {
  18516. "description": "所属机构",
  18517. "type": "integer"
  18518. },
  18519. "enumdicname": {
  18520. "description": "单位",
  18521. "type": "string"
  18522. },
  18523. "futureqty": {
  18524. "description": "期货套期量",
  18525. "type": "number"
  18526. },
  18527. "futureqtychange": {
  18528. "description": "期货变动量 = FutureQty - OriFutureQty",
  18529. "type": "number"
  18530. },
  18531. "goodsunitid": {
  18532. "description": "单位ID",
  18533. "type": "integer"
  18534. },
  18535. "hedgedspotexposure": {
  18536. "description": "被套期现货敞口量",
  18537. "type": "number"
  18538. },
  18539. "hedgedspratio": {
  18540. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  18541. "type": "number"
  18542. },
  18543. "hedgedtotalexposourechange": {
  18544. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  18545. "type": "number"
  18546. },
  18547. "hedgedtotalexposure": {
  18548. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  18549. "type": "number"
  18550. },
  18551. "hedgeplanqty": {
  18552. "description": "套期计划量",
  18553. "type": "number"
  18554. },
  18555. "hedgeplanqtychange": {
  18556. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  18557. "type": "number"
  18558. },
  18559. "hedgespotqty": {
  18560. "description": "被套期现货量",
  18561. "type": "number"
  18562. },
  18563. "middlegoodsid": {
  18564. "description": "套保品种",
  18565. "type": "integer"
  18566. },
  18567. "middlegoodsname": {
  18568. "description": "套保品种名称",
  18569. "type": "string"
  18570. },
  18571. "orifutureqty": {
  18572. "description": "期初期货套期量",
  18573. "type": "number"
  18574. },
  18575. "orihedgedspotexposure": {
  18576. "description": "期初被套期现货敞口量",
  18577. "type": "number"
  18578. },
  18579. "orihedgedtotalexposure": {
  18580. "description": "期初套期敞口量",
  18581. "type": "number"
  18582. },
  18583. "orihedgeplanqty": {
  18584. "description": "期初套期计划量",
  18585. "type": "number"
  18586. },
  18587. "orihedgespotqty": {
  18588. "description": "期初被套期现货量",
  18589. "type": "number"
  18590. },
  18591. "orispotexposure": {
  18592. "description": "期初现货敞口量",
  18593. "type": "number"
  18594. },
  18595. "orispotqty": {
  18596. "description": "期初现货总量",
  18597. "type": "number"
  18598. },
  18599. "oritotalexposure": {
  18600. "description": "期初总敞口量",
  18601. "type": "number"
  18602. },
  18603. "spotexposure": {
  18604. "description": "现货敞口量",
  18605. "type": "number"
  18606. },
  18607. "spotqty": {
  18608. "description": "现货总量",
  18609. "type": "number"
  18610. },
  18611. "spotqtychange": {
  18612. "description": "现货变动量 = SpotQty - OriSpotQty",
  18613. "type": "number"
  18614. },
  18615. "spratio": {
  18616. "description": "总期现比例 = 期货套期量/现货敞口量",
  18617. "type": "number"
  18618. },
  18619. "totalexposure": {
  18620. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  18621. "type": "number"
  18622. },
  18623. "totalexposurechange": {
  18624. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  18625. "type": "number"
  18626. },
  18627. "updatetime": {
  18628. "description": "更新时间 --DATE",
  18629. "type": "string"
  18630. }
  18631. }
  18632. },
  18633. "models.Ermcp2hedgeditem": {
  18634. "type": "object",
  18635. "properties": {
  18636. "accountname": {
  18637. "description": "套期主体",
  18638. "type": "string"
  18639. },
  18640. "applyid": {
  18641. "description": "申请人",
  18642. "type": "integer"
  18643. },
  18644. "applysrc": {
  18645. "description": "申请来源 - 1:管理端 2:终端",
  18646. "type": "integer"
  18647. },
  18648. "areauserid": {
  18649. "description": "企业ID",
  18650. "type": "integer"
  18651. },
  18652. "auditid": {
  18653. "description": "审核人",
  18654. "type": "integer"
  18655. },
  18656. "auditremark": {
  18657. "description": "审核备注",
  18658. "type": "string"
  18659. },
  18660. "auditsrc": {
  18661. "description": "审核来源 - 1:管理端 2:终端",
  18662. "type": "integer"
  18663. },
  18664. "audittime": {
  18665. "description": "审核时间",
  18666. "type": "string"
  18667. },
  18668. "audittradedate": {
  18669. "description": "审核交易日(yyyyMMdd)",
  18670. "type": "string"
  18671. },
  18672. "createtime": {
  18673. "description": "申请时间",
  18674. "type": "string"
  18675. },
  18676. "curprice": {
  18677. "description": "当前市场价",
  18678. "type": "number"
  18679. },
  18680. "curstock": {
  18681. "description": "期末库存量 = 采购总量 - 销售总量",
  18682. "type": "number"
  18683. },
  18684. "deliverygoodsid": {
  18685. "description": "现货品种ID",
  18686. "type": "integer"
  18687. },
  18688. "enddate": {
  18689. "description": "完成日期",
  18690. "type": "string"
  18691. },
  18692. "endtradedate": {
  18693. "description": "完成交易日",
  18694. "type": "string"
  18695. },
  18696. "enumdicname": {
  18697. "description": "单位",
  18698. "type": "string"
  18699. },
  18700. "exeamount": {
  18701. "description": "执行市价总额",
  18702. "type": "number"
  18703. },
  18704. "exeavgprice": {
  18705. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  18706. "type": "number"
  18707. },
  18708. "execontractamount": {
  18709. "description": "执行定价总额",
  18710. "type": "number"
  18711. },
  18712. "exeqty": {
  18713. "description": "执行现货量",
  18714. "type": "number"
  18715. },
  18716. "exerestamount": {
  18717. "description": "执行剩余市价总额【现货贸易】",
  18718. "type": "number"
  18719. },
  18720. "futurefloatpl": {
  18721. "description": "期货浮动损益",
  18722. "type": "number"
  18723. },
  18724. "futurehedgepl": {
  18725. "description": "期货实际损益",
  18726. "type": "number"
  18727. },
  18728. "futurehedgeplchange": {
  18729. "description": "期货实际损益变动",
  18730. "type": "number"
  18731. },
  18732. "futurepl": {
  18733. "description": "期货套期损益",
  18734. "type": "number"
  18735. },
  18736. "futureplchange": {
  18737. "description": "期货套期损益变动",
  18738. "type": "number"
  18739. },
  18740. "hedgeamount": {
  18741. "description": "套期市价总额",
  18742. "type": "number"
  18743. },
  18744. "hedgecontractamount": {
  18745. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  18746. "type": "number"
  18747. },
  18748. "hedgeditemid": {
  18749. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  18750. "type": "string"
  18751. },
  18752. "hedgeditemname": {
  18753. "description": "项目名称",
  18754. "type": "string"
  18755. },
  18756. "hedgeditemnum": {
  18757. "description": "项目编号",
  18758. "type": "string"
  18759. },
  18760. "hedgeditemstatus": {
  18761. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18762. "type": "integer"
  18763. },
  18764. "hedgedtype": {
  18765. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  18766. "type": "integer"
  18767. },
  18768. "hedgeqty": {
  18769. "description": "套期现货量",
  18770. "type": "number"
  18771. },
  18772. "hedgerate": {
  18773. "description": "套保比率",
  18774. "type": "number"
  18775. },
  18776. "hedgerestamount": {
  18777. "description": "套期剩余市价总额【现货贸易】",
  18778. "type": "number"
  18779. },
  18780. "hedgesumpl": {
  18781. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  18782. "type": "number"
  18783. },
  18784. "middlegoodslist": {
  18785. "description": "套期商品列表",
  18786. "type": "array",
  18787. "items": {
  18788. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  18789. }
  18790. },
  18791. "oriavgprice": {
  18792. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  18793. "type": "number"
  18794. },
  18795. "orifuturehedgepl": {
  18796. "description": "期初期货实际损益",
  18797. "type": "number"
  18798. },
  18799. "orifuturepl": {
  18800. "description": "期初期货套期损益",
  18801. "type": "number"
  18802. },
  18803. "orispothedgepl": {
  18804. "description": "期初现货实际损益",
  18805. "type": "number"
  18806. },
  18807. "orispotpl": {
  18808. "description": "期初现货套期损益",
  18809. "type": "number"
  18810. },
  18811. "planenddate": {
  18812. "description": "计划结束日期",
  18813. "type": "string"
  18814. },
  18815. "planstartdate": {
  18816. "description": "计划开始日期",
  18817. "type": "string"
  18818. },
  18819. "remark": {
  18820. "description": "备注",
  18821. "type": "string"
  18822. },
  18823. "spotbookamount": {
  18824. "description": "现货账面总额",
  18825. "type": "number"
  18826. },
  18827. "spotfloatpl": {
  18828. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  18829. "type": "number"
  18830. },
  18831. "spothedgepl": {
  18832. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  18833. "type": "number"
  18834. },
  18835. "spothedgeplchange": {
  18836. "description": "现货实际损益变动",
  18837. "type": "number"
  18838. },
  18839. "spotpl": {
  18840. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  18841. "type": "number"
  18842. },
  18843. "spotplchange": {
  18844. "description": "现货套期损益变动",
  18845. "type": "number"
  18846. },
  18847. "spottradepl": {
  18848. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  18849. "type": "number"
  18850. },
  18851. "sumobspl": {
  18852. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  18853. "type": "number"
  18854. },
  18855. "tradeuserid": {
  18856. "description": "交易用户ID",
  18857. "type": "integer"
  18858. },
  18859. "unexeqty": {
  18860. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  18861. "type": "number"
  18862. },
  18863. "updatetime": {
  18864. "description": "更新时间",
  18865. "type": "string"
  18866. },
  18867. "vatpl": {
  18868. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  18869. "type": "number"
  18870. },
  18871. "vatrate": {
  18872. "description": "增值税",
  18873. "type": "number"
  18874. },
  18875. "wrstandardid": {
  18876. "description": "现货商品ID",
  18877. "type": "integer"
  18878. },
  18879. "wrstandardname": {
  18880. "description": "商品名称",
  18881. "type": "string"
  18882. }
  18883. }
  18884. },
  18885. "models.Ermcp2hedgeditemlink": {
  18886. "type": "object",
  18887. "required": [
  18888. "relatedspotcontractid"
  18889. ],
  18890. "properties": {
  18891. "areauserid": {
  18892. "description": "企业ID",
  18893. "type": "integer"
  18894. },
  18895. "createtime": {
  18896. "description": "[关联时间]创建时间",
  18897. "type": "string"
  18898. },
  18899. "customeruserid": {
  18900. "description": "对手方 【3:采购合同 4:销售合同】",
  18901. "type": "integer"
  18902. },
  18903. "deliverygoodsid": {
  18904. "description": "现货品种ID",
  18905. "type": "integer"
  18906. },
  18907. "enumdicname": {
  18908. "description": "单位",
  18909. "type": "string"
  18910. },
  18911. "hedgeditemid": {
  18912. "description": "被套期项目ID",
  18913. "type": "integer"
  18914. },
  18915. "hedgeditemlinkid": {
  18916. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  18917. "type": "integer"
  18918. },
  18919. "hedgeditemnum": {
  18920. "description": "项目编号",
  18921. "type": "string"
  18922. },
  18923. "hedgedtype": {
  18924. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  18925. "type": "integer"
  18926. },
  18927. "relatedamount": {
  18928. "description": "市价总额 = 关联数量 * 期初市场价",
  18929. "type": "number"
  18930. },
  18931. "relatedhedgeplanid": {
  18932. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  18933. "type": "integer"
  18934. },
  18935. "relatedqty": {
  18936. "description": "关联数量",
  18937. "type": "number"
  18938. },
  18939. "relatedspotcontractid": {
  18940. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  18941. "type": "integer"
  18942. },
  18943. "relatedtype": {
  18944. "description": "关联类型 - 1:套期关联 2:执行关联",
  18945. "type": "integer"
  18946. },
  18947. "spotgoodsbrandid": {
  18948. "description": "现货品牌ID",
  18949. "type": "integer"
  18950. },
  18951. "spotpricedamount": {
  18952. "description": "[关联定价总额]定价总额",
  18953. "type": "number"
  18954. },
  18955. "spotpricedavgprice": {
  18956. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  18957. "type": "number"
  18958. },
  18959. "spottype": {
  18960. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  18961. "type": "integer"
  18962. },
  18963. "tradeuserid": {
  18964. "description": "交易用户ID",
  18965. "type": "integer"
  18966. },
  18967. "unexeqty": {
  18968. "description": "未执行现货量【项目关联时值】",
  18969. "type": "number"
  18970. },
  18971. "wrstandardid": {
  18972. "description": "现货商品ID",
  18973. "type": "integer"
  18974. },
  18975. "wrstandardname": {
  18976. "description": "现货商品",
  18977. "type": "string"
  18978. }
  18979. }
  18980. },
  18981. "models.Ermcp2hedgeditemsDetail": {
  18982. "type": "object",
  18983. "properties": {
  18984. "accountname": {
  18985. "description": "套期主体",
  18986. "type": "string"
  18987. },
  18988. "areauserid": {
  18989. "description": "企业ID",
  18990. "type": "integer"
  18991. },
  18992. "createtime": {
  18993. "description": "[日期时间]创建时间",
  18994. "type": "string"
  18995. },
  18996. "customeruserid": {
  18997. "description": "对手方 【3:采购合同 4:销售合同】",
  18998. "type": "integer"
  18999. },
  19000. "deliverygoodsid": {
  19001. "description": "现货品种ID",
  19002. "type": "integer"
  19003. },
  19004. "enumdicname": {
  19005. "description": "单位",
  19006. "type": "string"
  19007. },
  19008. "hedgeditemid": {
  19009. "description": "被套期项目ID",
  19010. "type": "string"
  19011. },
  19012. "hedgeditemspotid": {
  19013. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19014. "type": "string"
  19015. },
  19016. "hedgedtype": {
  19017. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19018. "type": "integer"
  19019. },
  19020. "hedgeplanno": {
  19021. "description": "计划编号",
  19022. "type": "string"
  19023. },
  19024. "middlegoodschange": {
  19025. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  19026. "type": "number"
  19027. },
  19028. "oriavgprice": {
  19029. "description": "期初市场价[当初市场价]",
  19030. "type": "number"
  19031. },
  19032. "relatedamount": {
  19033. "description": "市价总额 = 关联数量 * 期初市场价",
  19034. "type": "number"
  19035. },
  19036. "relatedhedgeplanid": {
  19037. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19038. "type": "integer"
  19039. },
  19040. "relatedqty": {
  19041. "description": "[期间变化量]关联数量",
  19042. "type": "number"
  19043. },
  19044. "relatedspotcontractid": {
  19045. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19046. "type": "integer"
  19047. },
  19048. "relatedtype": {
  19049. "description": "关联类型 - 1:套期关联 2:执行关联",
  19050. "type": "integer"
  19051. },
  19052. "spotgoodsbrandid": {
  19053. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19054. "type": "integer"
  19055. },
  19056. "spotpricedamount": {
  19057. "description": "定价总额",
  19058. "type": "number"
  19059. },
  19060. "spotpricedavgprice": {
  19061. "description": "现货均价 = 定价总额 / 关联数量",
  19062. "type": "number"
  19063. },
  19064. "spottype": {
  19065. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19066. "type": "integer"
  19067. },
  19068. "tradeuserid": {
  19069. "description": "交易用户ID",
  19070. "type": "integer"
  19071. },
  19072. "unexeqty": {
  19073. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  19074. "type": "number"
  19075. },
  19076. "wrstandardid": {
  19077. "description": "现货商品ID",
  19078. "type": "integer"
  19079. },
  19080. "wrstandardname": {
  19081. "description": "现货商品",
  19082. "type": "string"
  19083. }
  19084. }
  19085. },
  19086. "models.Ermcp2hedgeditemspot": {
  19087. "type": "object",
  19088. "required": [
  19089. "hedgeditemid"
  19090. ],
  19091. "properties": {
  19092. "areauserid": {
  19093. "description": "企业ID",
  19094. "type": "integer"
  19095. },
  19096. "createtime": {
  19097. "description": "创建时间",
  19098. "type": "string"
  19099. },
  19100. "customeruserid": {
  19101. "description": "对手方 【3:采购合同 4:销售合同】",
  19102. "type": "integer"
  19103. },
  19104. "deliverygoodsid": {
  19105. "description": "现货品种ID",
  19106. "type": "integer"
  19107. },
  19108. "enumdicname": {
  19109. "description": "单位",
  19110. "type": "string"
  19111. },
  19112. "hedgeditemid": {
  19113. "description": "被套期项目ID",
  19114. "type": "string"
  19115. },
  19116. "hedgeditemspotid": {
  19117. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19118. "type": "string"
  19119. },
  19120. "hedgedtype": {
  19121. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19122. "type": "integer"
  19123. },
  19124. "hedgeplanno": {
  19125. "description": "计划编号",
  19126. "type": "string"
  19127. },
  19128. "oriavgprice": {
  19129. "description": "期初市场价[当初市场价]",
  19130. "type": "number"
  19131. },
  19132. "relatedamount": {
  19133. "description": "市价总额 = 关联数量 * 期初市场价",
  19134. "type": "number"
  19135. },
  19136. "relatedhedgeplanid": {
  19137. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19138. "type": "integer"
  19139. },
  19140. "relatedqty": {
  19141. "description": "关联数量[数量]",
  19142. "type": "number"
  19143. },
  19144. "relatedspotcontractid": {
  19145. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19146. "type": "integer"
  19147. },
  19148. "relatedtype": {
  19149. "description": "关联类型 - 1:套期关联 2:执行关联",
  19150. "type": "integer"
  19151. },
  19152. "spotgoodsbrandid": {
  19153. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19154. "type": "integer"
  19155. },
  19156. "spotpricedamount": {
  19157. "description": "定价总额",
  19158. "type": "number"
  19159. },
  19160. "spotpricedavgprice": {
  19161. "description": "现货均价 = 定价总额 / 关联数量",
  19162. "type": "number"
  19163. },
  19164. "spottype": {
  19165. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19166. "type": "integer"
  19167. },
  19168. "tradeuserid": {
  19169. "description": "交易用户ID",
  19170. "type": "integer"
  19171. },
  19172. "wrstandardid": {
  19173. "description": "现货商品ID",
  19174. "type": "integer"
  19175. },
  19176. "wrstandardname": {
  19177. "description": "现货商品",
  19178. "type": "string"
  19179. }
  19180. }
  19181. },
  19182. "models.Ermcp2hedgeditemspotDetail": {
  19183. "type": "object",
  19184. "required": [
  19185. "hedgeditemid"
  19186. ],
  19187. "properties": {
  19188. "accountname": {
  19189. "description": "对手方",
  19190. "type": "string"
  19191. },
  19192. "areauserid": {
  19193. "description": "企业ID",
  19194. "type": "integer"
  19195. },
  19196. "brandname": {
  19197. "description": "品牌",
  19198. "type": "string"
  19199. },
  19200. "contractno": {
  19201. "description": "合同编号",
  19202. "type": "string"
  19203. },
  19204. "createtime": {
  19205. "description": "创建时间",
  19206. "type": "string"
  19207. },
  19208. "customeruserid": {
  19209. "description": "对手方 【3:采购合同 4:销售合同】",
  19210. "type": "integer"
  19211. },
  19212. "deliverygoodsid": {
  19213. "description": "现货品种ID",
  19214. "type": "integer"
  19215. },
  19216. "enumdicname": {
  19217. "description": "单位",
  19218. "type": "string"
  19219. },
  19220. "hedgeditemid": {
  19221. "description": "被套期项目ID",
  19222. "type": "string"
  19223. },
  19224. "hedgeditemspotid": {
  19225. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19226. "type": "string"
  19227. },
  19228. "hedgedtype": {
  19229. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19230. "type": "integer"
  19231. },
  19232. "oriavgprice": {
  19233. "description": "期初市场价[当初市场价]",
  19234. "type": "number"
  19235. },
  19236. "relatedamount": {
  19237. "description": "市价总额 = 关联数量 * 期初市场价",
  19238. "type": "number"
  19239. },
  19240. "relatedhedgeplanid": {
  19241. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19242. "type": "integer"
  19243. },
  19244. "relatedqty": {
  19245. "description": "关联数量[数量]",
  19246. "type": "number"
  19247. },
  19248. "relatedspotcontractid": {
  19249. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19250. "type": "integer"
  19251. },
  19252. "relatedtype": {
  19253. "description": "关联类型 - 1:套期关联 2:执行关联",
  19254. "type": "integer"
  19255. },
  19256. "spotgoodsbrandid": {
  19257. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19258. "type": "integer"
  19259. },
  19260. "spotpricedamount": {
  19261. "description": "定价总额[金额]",
  19262. "type": "number"
  19263. },
  19264. "spotpricedavgprice": {
  19265. "description": "现货均价 = 定价总额 / 关联数量",
  19266. "type": "number"
  19267. },
  19268. "spottype": {
  19269. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19270. "type": "integer"
  19271. },
  19272. "tradeuserid": {
  19273. "description": "交易用户ID",
  19274. "type": "integer"
  19275. },
  19276. "wrstandardid": {
  19277. "description": "现货商品ID",
  19278. "type": "integer"
  19279. },
  19280. "wrstandardname": {
  19281. "description": "现货商品",
  19282. "type": "string"
  19283. }
  19284. }
  19285. },
  19286. "models.Ermcp2himiddlegoods": {
  19287. "type": "object",
  19288. "required": [
  19289. "hedgeditemid",
  19290. "middlegoodsid"
  19291. ],
  19292. "properties": {
  19293. "futurehedgeqty": {
  19294. "description": "期货持仓套期量",
  19295. "type": "number"
  19296. },
  19297. "hedgeditemid": {
  19298. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  19299. "type": "integer"
  19300. },
  19301. "hiexpsoure": {
  19302. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  19303. "type": "number"
  19304. },
  19305. "middlegoodscode": {
  19306. "description": "套保商品代码",
  19307. "type": "string"
  19308. },
  19309. "middlegoodsid": {
  19310. "description": "套保品种ID",
  19311. "type": "integer"
  19312. },
  19313. "middlegoodsname": {
  19314. "description": "套保商品名称",
  19315. "type": "string"
  19316. },
  19317. "unexehedgeqty": {
  19318. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  19319. "type": "number"
  19320. }
  19321. }
  19322. },
  19323. "models.Ermcp2stockspotchangelog": {
  19324. "type": "object",
  19325. "properties": {
  19326. "accountname": {
  19327. "description": "套期主体",
  19328. "type": "string"
  19329. },
  19330. "aftervalue": {
  19331. "description": "现货量",
  19332. "type": "number"
  19333. },
  19334. "beforevalue": {
  19335. "description": "变更前现货量",
  19336. "type": "number"
  19337. },
  19338. "contractno": {
  19339. "description": "[编号]现货合同编号",
  19340. "type": "string"
  19341. },
  19342. "contracttype": {
  19343. "description": "现货合同类型 - 1:采购 -1:销售",
  19344. "type": "integer"
  19345. },
  19346. "createtime": {
  19347. "description": "创建时间",
  19348. "type": "string"
  19349. },
  19350. "customerusername": {
  19351. "description": "对手方",
  19352. "type": "string"
  19353. },
  19354. "deliverygoodsid": {
  19355. "description": "现货品种ID",
  19356. "type": "integer"
  19357. },
  19358. "exetype": {
  19359. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  19360. "type": "integer"
  19361. },
  19362. "logid": {
  19363. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  19364. "type": "string"
  19365. },
  19366. "logvalue": {
  19367. "description": "[期间变化量]现货量变更值",
  19368. "type": "number"
  19369. },
  19370. "middlegoodschange": {
  19371. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  19372. "type": "number"
  19373. },
  19374. "operatelogtype": {
  19375. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  19376. "type": "integer"
  19377. },
  19378. "relatedid": {
  19379. "description": "现货合同ID",
  19380. "type": "integer"
  19381. },
  19382. "spotgoodsbrandid": {
  19383. "description": "现货品牌ID",
  19384. "type": "integer"
  19385. },
  19386. "tradedate": {
  19387. "description": "交易日(yyyyMMdd)",
  19388. "type": "string"
  19389. },
  19390. "userid": {
  19391. "description": "机构ID",
  19392. "type": "integer"
  19393. },
  19394. "warehouseinfoid": {
  19395. "description": "仓库ID",
  19396. "type": "integer"
  19397. },
  19398. "wrfactortypeid": {
  19399. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19400. "type": "integer"
  19401. },
  19402. "wrstandardid": {
  19403. "description": "现货商品ID",
  19404. "type": "integer"
  19405. },
  19406. "wrstandardname": {
  19407. "description": "商品名称",
  19408. "type": "string"
  19409. }
  19410. }
  19411. },
  19412. "models.Ermcp3AreaSpot": {
  19413. "type": "object",
  19414. "properties": {
  19415. "areauserid": {
  19416. "description": "所属机构",
  19417. "type": "integer"
  19418. },
  19419. "convertratio": {
  19420. "description": "套保系数",
  19421. "type": "number"
  19422. },
  19423. "decreaseqty": {
  19424. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19425. "type": "number"
  19426. },
  19427. "enumdicname": {
  19428. "description": "单位名称",
  19429. "type": "string"
  19430. },
  19431. "increaseqty": {
  19432. "description": "增加数量=销售计划数量+采购已定价数量",
  19433. "type": "number"
  19434. },
  19435. "oritoalspotqty": {
  19436. "description": "昨日数量",
  19437. "type": "number"
  19438. },
  19439. "totalspotqty": {
  19440. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19441. "type": "number"
  19442. },
  19443. "unitid": {
  19444. "description": "现货商品单位id",
  19445. "type": "integer"
  19446. },
  19447. "updatetime": {
  19448. "description": "更新时间",
  19449. "type": "string"
  19450. },
  19451. "wrstandardcode": {
  19452. "description": "现货商品代码",
  19453. "type": "string"
  19454. },
  19455. "wrstandardid": {
  19456. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19457. "type": "integer"
  19458. },
  19459. "wrstandardname": {
  19460. "description": "现货商品名称",
  19461. "type": "string"
  19462. }
  19463. }
  19464. },
  19465. "models.Ermcp3AreaSpotDetail": {
  19466. "type": "object",
  19467. "properties": {
  19468. "contracttype": {
  19469. "description": "合同类型 1-采购 -1-销售",
  19470. "type": "integer"
  19471. },
  19472. "createtime": {
  19473. "description": "创建时间",
  19474. "type": "string"
  19475. },
  19476. "enumdicname": {
  19477. "description": "现货商品单位名称",
  19478. "type": "string"
  19479. },
  19480. "logtype": {
  19481. "description": "记录类型 1-套保 2-现货合同",
  19482. "type": "integer"
  19483. },
  19484. "qty": {
  19485. "description": "数量",
  19486. "type": "number"
  19487. },
  19488. "recordname": {
  19489. "description": "类型名称",
  19490. "type": "string"
  19491. },
  19492. "relatedid": {
  19493. "description": "套保计划ID/现货合同ID",
  19494. "type": "string"
  19495. },
  19496. "relatedno": {
  19497. "description": "编号",
  19498. "type": "string"
  19499. },
  19500. "strtime": {
  19501. "description": "时间",
  19502. "type": "string"
  19503. },
  19504. "wrstandardcode": {
  19505. "description": "现货商品代码",
  19506. "type": "string"
  19507. },
  19508. "wrstandardid": {
  19509. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19510. "type": "integer"
  19511. },
  19512. "wrstandardname": {
  19513. "description": "现货商品名称",
  19514. "type": "string"
  19515. }
  19516. }
  19517. },
  19518. "models.Ermcp3AreaSpotPLReport": {
  19519. "type": "object",
  19520. "properties": {
  19521. "accountid": {
  19522. "description": "期货账户ID (作废, 默认为0)",
  19523. "type": "integer"
  19524. },
  19525. "accountname": {
  19526. "description": "机构名称",
  19527. "type": "string"
  19528. },
  19529. "actualpl": {
  19530. "description": "现货损益",
  19531. "type": "number"
  19532. },
  19533. "areauserid": {
  19534. "description": "所属机构\\交易用户ID",
  19535. "type": "integer"
  19536. },
  19537. "begindate": {
  19538. "description": "开始交易日",
  19539. "type": "string"
  19540. },
  19541. "biztype": {
  19542. "description": "业务类型 - 1:套保 2:套利",
  19543. "type": "integer"
  19544. },
  19545. "brandname": {
  19546. "description": "品牌名称",
  19547. "type": "string"
  19548. },
  19549. "curamount": {
  19550. "description": "期末额",
  19551. "type": "number"
  19552. },
  19553. "curaverageprice": {
  19554. "description": "期初均价",
  19555. "type": "number"
  19556. },
  19557. "curbuyamount": {
  19558. "description": "期末采购总额",
  19559. "type": "number"
  19560. },
  19561. "curbuyqty": {
  19562. "description": "期末采购总量",
  19563. "type": "number"
  19564. },
  19565. "curmarketvalue": {
  19566. "description": "期初均价",
  19567. "type": "number"
  19568. },
  19569. "curqty": {
  19570. "description": "期末量",
  19571. "type": "number"
  19572. },
  19573. "currencyid": {
  19574. "description": "结算币种ID【原值】",
  19575. "type": "integer"
  19576. },
  19577. "currencyname": {
  19578. "description": "币种名称",
  19579. "type": "string"
  19580. },
  19581. "cursellamount": {
  19582. "description": "期末销售总额",
  19583. "type": "number"
  19584. },
  19585. "cursellqty": {
  19586. "description": "期末销售总量",
  19587. "type": "number"
  19588. },
  19589. "curspotprice": {
  19590. "description": "期初均价",
  19591. "type": "number"
  19592. },
  19593. "cycletime": {
  19594. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19595. "type": "string"
  19596. },
  19597. "cycletype": {
  19598. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19599. "type": "integer"
  19600. },
  19601. "deliverygoodscode": {
  19602. "description": "现货品种代码",
  19603. "type": "string"
  19604. },
  19605. "deliverygoodsid": {
  19606. "description": "现货品种ID",
  19607. "type": "integer"
  19608. },
  19609. "deliverygoodsname": {
  19610. "description": "现货品种名称",
  19611. "type": "string"
  19612. },
  19613. "enddate": {
  19614. "description": "结束交易日",
  19615. "type": "string"
  19616. },
  19617. "enumdicname": {
  19618. "description": "现货品种单位名称(作废)",
  19619. "type": "string"
  19620. },
  19621. "floatpl": {
  19622. "description": "期初均价",
  19623. "type": "number"
  19624. },
  19625. "goodsunitid": {
  19626. "description": "现货品种单位id(作废)",
  19627. "type": "integer"
  19628. },
  19629. "oriamount": {
  19630. "description": "期初额",
  19631. "type": "number"
  19632. },
  19633. "oriaverageprice": {
  19634. "description": "期初均价",
  19635. "type": "number"
  19636. },
  19637. "oribuyamount": {
  19638. "description": "期初采购总额",
  19639. "type": "number"
  19640. },
  19641. "oribuyqty": {
  19642. "description": "期初采购总量",
  19643. "type": "number"
  19644. },
  19645. "oriqty": {
  19646. "description": "期初量",
  19647. "type": "number"
  19648. },
  19649. "orisellamount": {
  19650. "description": "期初销售总额",
  19651. "type": "number"
  19652. },
  19653. "orisellqty": {
  19654. "description": "期初销售总量",
  19655. "type": "number"
  19656. },
  19657. "reckondate": {
  19658. "description": "日照时期(yyyyMMdd)",
  19659. "type": "string"
  19660. },
  19661. "spotgoodsbrandid": {
  19662. "description": "现货品牌ID",
  19663. "type": "integer"
  19664. },
  19665. "todaybuyamount": {
  19666. "description": "今日采购额(今采购额)",
  19667. "type": "number"
  19668. },
  19669. "todaybuyaverageprice": {
  19670. "description": "期初均价",
  19671. "type": "number"
  19672. },
  19673. "todaybuyqty": {
  19674. "description": "今日采购量(今采购量)",
  19675. "type": "number"
  19676. },
  19677. "todayinqty": {
  19678. "description": "今日入库量(今入库量)",
  19679. "type": "number"
  19680. },
  19681. "todayoutqty": {
  19682. "description": "今日出库量(今出库量)",
  19683. "type": "number"
  19684. },
  19685. "todaysellamount": {
  19686. "description": "今日销售额(今销售额)",
  19687. "type": "number"
  19688. },
  19689. "todaysellaverageprice": {
  19690. "description": "期初均价",
  19691. "type": "number"
  19692. },
  19693. "todaysellqty": {
  19694. "description": "今日销售量(今销售量)",
  19695. "type": "number"
  19696. },
  19697. "unitid": {
  19698. "description": "品类单位id",
  19699. "type": "integer"
  19700. },
  19701. "unitidname": {
  19702. "description": "品类单位名称",
  19703. "type": "string"
  19704. },
  19705. "updatetime": {
  19706. "description": "更新时间",
  19707. "type": "string"
  19708. },
  19709. "wrfactortypeid": {
  19710. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19711. "type": "integer"
  19712. },
  19713. "wrstandardcode": {
  19714. "description": "现货商品(品类)代码",
  19715. "type": "string"
  19716. },
  19717. "wrstandardid": {
  19718. "description": "现货品类ID",
  19719. "type": "integer"
  19720. },
  19721. "wrstandardname": {
  19722. "description": "现货商品(品类)名称",
  19723. "type": "string"
  19724. }
  19725. }
  19726. },
  19727. "models.Ermcp3AreaStock": {
  19728. "type": "object",
  19729. "required": [
  19730. "userid"
  19731. ],
  19732. "properties": {
  19733. "brandname": {
  19734. "description": "品牌名称",
  19735. "type": "string"
  19736. },
  19737. "curstock": {
  19738. "description": "期末库存量(今日量)",
  19739. "type": "number"
  19740. },
  19741. "deliverygoodscode": {
  19742. "description": "现货品种代码",
  19743. "type": "string"
  19744. },
  19745. "deliverygoodsid": {
  19746. "description": "现货品种id",
  19747. "type": "integer"
  19748. },
  19749. "deliverygoodsname": {
  19750. "description": "现货品种名称",
  19751. "type": "string"
  19752. },
  19753. "enumdicname": {
  19754. "description": "单位名称",
  19755. "type": "string"
  19756. },
  19757. "goodsunitid": {
  19758. "description": "现货商品单位id",
  19759. "type": "integer"
  19760. },
  19761. "oristock": {
  19762. "description": "期初库存量(昨日量)",
  19763. "type": "number"
  19764. },
  19765. "spotgoodsbrandid": {
  19766. "description": "现货品牌ID",
  19767. "type": "integer"
  19768. },
  19769. "todaybuyinqty": {
  19770. "description": "今日采购入库量",
  19771. "type": "number"
  19772. },
  19773. "todayproduceinqty": {
  19774. "description": "今日生产入库量",
  19775. "type": "number"
  19776. },
  19777. "todayproduceoutqty": {
  19778. "description": "今日生产出库量",
  19779. "type": "number"
  19780. },
  19781. "todayselloutqty": {
  19782. "description": "今日销售出库量",
  19783. "type": "number"
  19784. },
  19785. "unitid": {
  19786. "description": "单位id",
  19787. "type": "integer"
  19788. },
  19789. "updatetime": {
  19790. "description": "更新时间",
  19791. "type": "string"
  19792. },
  19793. "userid": {
  19794. "description": "机构ID",
  19795. "type": "integer"
  19796. },
  19797. "username": {
  19798. "description": "机构名称",
  19799. "type": "string"
  19800. },
  19801. "warehousecode": {
  19802. "description": "仓库代码",
  19803. "type": "string"
  19804. },
  19805. "warehouseinfoid": {
  19806. "description": "仓库ID",
  19807. "type": "string"
  19808. },
  19809. "warehousename": {
  19810. "description": "仓库名称",
  19811. "type": "string"
  19812. },
  19813. "warehousetype": {
  19814. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19815. "type": "integer"
  19816. },
  19817. "wrstandardcode": {
  19818. "description": "品类代码",
  19819. "type": "string"
  19820. },
  19821. "wrstandardid": {
  19822. "description": "品类ID",
  19823. "type": "string"
  19824. },
  19825. "wrstandardname": {
  19826. "description": "品类名称",
  19827. "type": "string"
  19828. }
  19829. }
  19830. },
  19831. "models.Ermcp3AreaStockApply": {
  19832. "type": "object",
  19833. "properties": {
  19834. "applyid": {
  19835. "description": "申请人",
  19836. "type": "integer"
  19837. },
  19838. "applyname": {
  19839. "description": "申请人名称",
  19840. "type": "string"
  19841. },
  19842. "applyremark": {
  19843. "description": "申请备注",
  19844. "type": "string"
  19845. },
  19846. "applysrc": {
  19847. "description": "申请来源 - 1:管理端 2:终端",
  19848. "type": "integer"
  19849. },
  19850. "applystatus": {
  19851. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19852. "type": "integer"
  19853. },
  19854. "applytime": {
  19855. "description": "申请时间",
  19856. "type": "string"
  19857. },
  19858. "auditid": {
  19859. "description": "审核人",
  19860. "type": "integer"
  19861. },
  19862. "auditname": {
  19863. "description": "审核人名称",
  19864. "type": "string"
  19865. },
  19866. "auditremark": {
  19867. "description": "审核备注",
  19868. "type": "string"
  19869. },
  19870. "auditsrc": {
  19871. "description": "审核来源 - 1:管理端 2:终端",
  19872. "type": "integer"
  19873. },
  19874. "audittime": {
  19875. "description": "审核时间",
  19876. "type": "string"
  19877. },
  19878. "audittradedate": {
  19879. "description": "审核交易日(yyyyMMdd)",
  19880. "type": "string"
  19881. },
  19882. "brandname": {
  19883. "description": "品牌名称",
  19884. "type": "string"
  19885. },
  19886. "buynickname": {
  19887. "description": "采购方昵称",
  19888. "type": "string"
  19889. },
  19890. "buyuserid": {
  19891. "description": "采购方userid",
  19892. "type": "integer"
  19893. },
  19894. "buyusername": {
  19895. "description": "采购方名称",
  19896. "type": "string"
  19897. },
  19898. "contractno": {
  19899. "description": "合同编号",
  19900. "type": "string"
  19901. },
  19902. "contractqty": {
  19903. "description": "合同量",
  19904. "type": "number"
  19905. },
  19906. "contracttype": {
  19907. "description": "现货合同类型 - 1:采购 -1:销售",
  19908. "type": "integer"
  19909. },
  19910. "deliverygoodscode": {
  19911. "description": "现货品种代码",
  19912. "type": "string"
  19913. },
  19914. "deliverygoodsid": {
  19915. "description": "现货品种id",
  19916. "type": "integer"
  19917. },
  19918. "deliverygoodsname": {
  19919. "description": "现货品种名称",
  19920. "type": "string"
  19921. },
  19922. "detailjson": {
  19923. "description": "明细数据",
  19924. "type": "string"
  19925. },
  19926. "enumdicname": {
  19927. "description": "现货商品单位名称",
  19928. "type": "string"
  19929. },
  19930. "inoutapplyid": {
  19931. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19932. "type": "string"
  19933. },
  19934. "inouttype": {
  19935. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19936. "type": "integer"
  19937. },
  19938. "pricetype": {
  19939. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19940. "type": "integer"
  19941. },
  19942. "qty": {
  19943. "description": "数量",
  19944. "type": "number"
  19945. },
  19946. "sellnickname": {
  19947. "description": "销售方昵称",
  19948. "type": "string"
  19949. },
  19950. "selluserid": {
  19951. "description": "销售方userid",
  19952. "type": "integer"
  19953. },
  19954. "sellusername": {
  19955. "description": "销售方名称",
  19956. "type": "string"
  19957. },
  19958. "spotcontractid": {
  19959. "description": "关联现货合同ID",
  19960. "type": "string"
  19961. },
  19962. "spotgoodsbrandid": {
  19963. "description": "现货品牌ID",
  19964. "type": "integer"
  19965. },
  19966. "unitid": {
  19967. "description": "单位id",
  19968. "type": "integer"
  19969. },
  19970. "userid": {
  19971. "description": "机构ID",
  19972. "type": "integer"
  19973. },
  19974. "warehousecode": {
  19975. "description": "仓库代码",
  19976. "type": "string"
  19977. },
  19978. "warehouseinfoid": {
  19979. "description": "现货仓库ID",
  19980. "type": "string"
  19981. },
  19982. "warehousename": {
  19983. "description": "仓库名称",
  19984. "type": "string"
  19985. },
  19986. "warehousetype": {
  19987. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19988. "type": "integer"
  19989. },
  19990. "wrstandardcode": {
  19991. "description": "品类代码",
  19992. "type": "string"
  19993. },
  19994. "wrstandardid": {
  19995. "description": "品类ID",
  19996. "type": "integer"
  19997. },
  19998. "wrstandardname": {
  19999. "description": "品类名称",
  20000. "type": "string"
  20001. }
  20002. }
  20003. },
  20004. "models.Ermcp3AreaStockApplySum": {
  20005. "type": "object",
  20006. "properties": {
  20007. "brandname": {
  20008. "description": "品牌名称",
  20009. "type": "string"
  20010. },
  20011. "inouttype": {
  20012. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20013. "type": "integer"
  20014. },
  20015. "spotcontractid": {
  20016. "description": "关联现货合同ID",
  20017. "type": "string"
  20018. },
  20019. "spotgoodsbrandid": {
  20020. "description": "品牌id",
  20021. "type": "integer"
  20022. },
  20023. "totalqty": {
  20024. "description": "总数量",
  20025. "type": "number"
  20026. },
  20027. "wrstandardid": {
  20028. "description": "品类id",
  20029. "type": "integer"
  20030. },
  20031. "wrstandardname": {
  20032. "description": "品类名称",
  20033. "type": "string"
  20034. }
  20035. }
  20036. },
  20037. "models.Ermcp3AreaStockReportEx": {
  20038. "type": "object",
  20039. "properties": {
  20040. "begindate": {
  20041. "description": "开始交易日",
  20042. "type": "string"
  20043. },
  20044. "brandname": {
  20045. "description": "品牌名称",
  20046. "type": "string"
  20047. },
  20048. "curstock": {
  20049. "description": "期末库存量",
  20050. "type": "number"
  20051. },
  20052. "cycletime": {
  20053. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20054. "type": "string"
  20055. },
  20056. "cycletype": {
  20057. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20058. "type": "integer"
  20059. },
  20060. "deliverygoodscode": {
  20061. "description": "现货品种代码",
  20062. "type": "string"
  20063. },
  20064. "deliverygoodsid": {
  20065. "description": "现货品种id",
  20066. "type": "integer"
  20067. },
  20068. "deliverygoodsname": {
  20069. "description": "现货品种名称",
  20070. "type": "string"
  20071. },
  20072. "diffqty": {
  20073. "description": "库存变化量 = 期末 - 期初",
  20074. "type": "number"
  20075. },
  20076. "enddate": {
  20077. "description": "结束交易日",
  20078. "type": "string"
  20079. },
  20080. "enumdicname": {
  20081. "description": "单位名称",
  20082. "type": "string"
  20083. },
  20084. "goodsunitid": {
  20085. "description": "现货单位id",
  20086. "type": "integer"
  20087. },
  20088. "oristock": {
  20089. "description": "期初库存量",
  20090. "type": "number"
  20091. },
  20092. "reckondate": {
  20093. "description": "日照时期(yyyyMMdd)",
  20094. "type": "string"
  20095. },
  20096. "spotgoodsbrandid": {
  20097. "description": "现货品牌ID",
  20098. "type": "integer"
  20099. },
  20100. "todaybuyinqty": {
  20101. "description": "今采购入库量",
  20102. "type": "number"
  20103. },
  20104. "todayproduceinqty": {
  20105. "description": "今内部入库量",
  20106. "type": "number"
  20107. },
  20108. "todayproduceoutqty": {
  20109. "description": "今内部出库量",
  20110. "type": "number"
  20111. },
  20112. "todayselloutqty": {
  20113. "description": "今销售出库量",
  20114. "type": "number"
  20115. },
  20116. "unbuyinqty": {
  20117. "description": "采购未入库量(数据库未找到相关字段?)",
  20118. "type": "number"
  20119. },
  20120. "unitid": {
  20121. "description": "品类单位id",
  20122. "type": "integer"
  20123. },
  20124. "unselloutqty": {
  20125. "description": "销售未出库量(数据库未找到相关字段?)",
  20126. "type": "number"
  20127. },
  20128. "updatetime": {
  20129. "description": "更新时间",
  20130. "type": "string"
  20131. },
  20132. "userid": {
  20133. "description": "机构ID",
  20134. "type": "integer"
  20135. },
  20136. "username": {
  20137. "description": "机构名称",
  20138. "type": "string"
  20139. },
  20140. "warehousecode": {
  20141. "description": "仓库代码",
  20142. "type": "string"
  20143. },
  20144. "warehouseinfoid": {
  20145. "description": "仓库ID",
  20146. "type": "string"
  20147. },
  20148. "warehousename": {
  20149. "description": "仓库名称",
  20150. "type": "string"
  20151. },
  20152. "warehousetype": {
  20153. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20154. "type": "integer"
  20155. },
  20156. "wrstandardcode": {
  20157. "description": "品类代码",
  20158. "type": "string"
  20159. },
  20160. "wrstandardid": {
  20161. "description": "品类ID",
  20162. "type": "integer"
  20163. },
  20164. "wrstandardname": {
  20165. "description": "品类名称",
  20166. "type": "string"
  20167. }
  20168. }
  20169. },
  20170. "models.Ermcp3ArealSumPL": {
  20171. "type": "object",
  20172. "properties": {
  20173. "accountname": {
  20174. "description": "机构名称",
  20175. "type": "string"
  20176. },
  20177. "areauserid": {
  20178. "description": "所属机构\\交易用户ID",
  20179. "type": "integer"
  20180. },
  20181. "begindate": {
  20182. "description": "开始交易日",
  20183. "type": "string"
  20184. },
  20185. "currencyid": {
  20186. "description": "结算币种ID",
  20187. "type": "integer"
  20188. },
  20189. "currencyname": {
  20190. "description": "币种名称",
  20191. "type": "string"
  20192. },
  20193. "cycletime": {
  20194. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20195. "type": "string"
  20196. },
  20197. "cycletype": {
  20198. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20199. "type": "integer"
  20200. },
  20201. "enddate": {
  20202. "description": "结束交易日",
  20203. "type": "string"
  20204. },
  20205. "enumdicname": {
  20206. "description": "单位名称(套保品种)",
  20207. "type": "string"
  20208. },
  20209. "futureactualpl": {
  20210. "description": "期货损益",
  20211. "type": "number"
  20212. },
  20213. "futurefloatpl": {
  20214. "description": "期货浮动损益",
  20215. "type": "number"
  20216. },
  20217. "futurespotratio": {
  20218. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20219. "type": "number"
  20220. },
  20221. "goodsunitid": {
  20222. "description": "套保品种单位id",
  20223. "type": "integer"
  20224. },
  20225. "hedgeexposurepl": {
  20226. "description": "套保敞口损益",
  20227. "type": "number"
  20228. },
  20229. "middlegoodscode": {
  20230. "description": "套保品种代码",
  20231. "type": "string"
  20232. },
  20233. "middlegoodsid": {
  20234. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20235. "type": "integer"
  20236. },
  20237. "middlegoodsname": {
  20238. "description": "套保品种名称",
  20239. "type": "string"
  20240. },
  20241. "reckondate": {
  20242. "description": "日照时期(yyyyMMdd)",
  20243. "type": "string"
  20244. },
  20245. "spotactualpl": {
  20246. "description": "现货损益",
  20247. "type": "number"
  20248. },
  20249. "spotfloatpl": {
  20250. "description": "现货浮动损益",
  20251. "type": "number"
  20252. },
  20253. "sumactualpl": {
  20254. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20255. "type": "number"
  20256. },
  20257. "sumpl": {
  20258. "description": "总敞口损益 | 汇总损益",
  20259. "type": "number"
  20260. },
  20261. "totalfutureqty": {
  20262. "description": "期货头寸总量",
  20263. "type": "number"
  20264. },
  20265. "totalneedhedgeqty": {
  20266. "description": "应套保总量",
  20267. "type": "number"
  20268. },
  20269. "totalspotqty": {
  20270. "description": "现货头寸总量",
  20271. "type": "number"
  20272. },
  20273. "updatetime": {
  20274. "description": "更新时间",
  20275. "type": "string"
  20276. }
  20277. }
  20278. },
  20279. "models.Ermcp3Brand": {
  20280. "type": "object",
  20281. "properties": {
  20282. "areauserid": {
  20283. "description": "用户id",
  20284. "type": "integer"
  20285. },
  20286. "brandid": {
  20287. "description": "品牌id",
  20288. "type": "integer"
  20289. },
  20290. "brandname": {
  20291. "description": "品牌名称",
  20292. "type": "string"
  20293. },
  20294. "deliverygoodsid": {
  20295. "description": "品种ID",
  20296. "type": "integer"
  20297. },
  20298. "isvalid": {
  20299. "description": "是否有效",
  20300. "type": "integer"
  20301. }
  20302. }
  20303. },
  20304. "models.Ermcp3Contract": {
  20305. "type": "object",
  20306. "properties": {
  20307. "accountid": {
  20308. "description": "期货账户id",
  20309. "type": "string"
  20310. },
  20311. "amount": {
  20312. "description": "金额 [1:一口价、3:暂定价]",
  20313. "type": "number"
  20314. },
  20315. "attachment": {
  20316. "description": "附件",
  20317. "type": "string"
  20318. },
  20319. "auditremark": {
  20320. "description": "审核意见",
  20321. "type": "string"
  20322. },
  20323. "audittime": {
  20324. "description": "审核时间",
  20325. "type": "string"
  20326. },
  20327. "biztype": {
  20328. "description": "业务类型 1-套保 2-套利",
  20329. "type": "integer"
  20330. },
  20331. "brandname": {
  20332. "description": "品牌名称",
  20333. "type": "string"
  20334. },
  20335. "buynickname": {
  20336. "description": "销售方昵称",
  20337. "type": "string"
  20338. },
  20339. "buyuserid": {
  20340. "description": "采购方ID",
  20341. "type": "integer"
  20342. },
  20343. "buyusername": {
  20344. "description": "采购方名称",
  20345. "type": "string"
  20346. },
  20347. "contracctstatus": {
  20348. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20349. "type": "integer"
  20350. },
  20351. "contractmargin": {
  20352. "description": "合同保证金",
  20353. "type": "number"
  20354. },
  20355. "contractno": {
  20356. "description": "现货合同编号",
  20357. "type": "string"
  20358. },
  20359. "contracttype": {
  20360. "description": "现货合同类型 - 1:采购 -1:销售",
  20361. "type": "integer"
  20362. },
  20363. "convertfactor": {
  20364. "description": "标仓系数(品类)",
  20365. "type": "number"
  20366. },
  20367. "createtime": {
  20368. "description": "创建时间",
  20369. "type": "string"
  20370. },
  20371. "currencyid": {
  20372. "description": "币种id",
  20373. "type": "integer"
  20374. },
  20375. "currencyname": {
  20376. "description": "币种名称",
  20377. "type": "string"
  20378. },
  20379. "deliveryenddate": {
  20380. "description": "交收期(结束)",
  20381. "type": "string"
  20382. },
  20383. "deliverygoodscode": {
  20384. "description": "现货品种代码",
  20385. "type": "string"
  20386. },
  20387. "deliverygoodsid": {
  20388. "description": "现货品种ID",
  20389. "type": "integer"
  20390. },
  20391. "deliverygoodsname": {
  20392. "description": "现货品种名称",
  20393. "type": "string"
  20394. },
  20395. "deliverystartdate": {
  20396. "description": "交收期(开始)",
  20397. "type": "string"
  20398. },
  20399. "enddate": {
  20400. "description": "点价结束日期 [2:点价 3:暂定价]",
  20401. "type": "string"
  20402. },
  20403. "enumdicname": {
  20404. "description": "单位名称",
  20405. "type": "string"
  20406. },
  20407. "goodscode": {
  20408. "description": "点价合约代码",
  20409. "type": "string"
  20410. },
  20411. "goodsid": {
  20412. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20413. "type": "integer"
  20414. },
  20415. "goodsname": {
  20416. "description": "点价商品名称",
  20417. "type": "string"
  20418. },
  20419. "margin": {
  20420. "description": "当前保证金",
  20421. "type": "number"
  20422. },
  20423. "meruserid": {
  20424. "description": "跟单员id",
  20425. "type": "integer"
  20426. },
  20427. "meruserlogincode": {
  20428. "description": "跟单员登录代码",
  20429. "type": "string"
  20430. },
  20431. "merusername": {
  20432. "description": "跟单员名称",
  20433. "type": "string"
  20434. },
  20435. "pointdesc": {
  20436. "description": "点价备注",
  20437. "type": "string"
  20438. },
  20439. "price": {
  20440. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20441. "type": "number"
  20442. },
  20443. "pricemove": {
  20444. "description": "升贴水 [2:点价 3:暂定价]",
  20445. "type": "number"
  20446. },
  20447. "pricetype": {
  20448. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20449. "type": "integer"
  20450. },
  20451. "producttype": {
  20452. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20453. "type": "integer"
  20454. },
  20455. "qty": {
  20456. "description": "数量",
  20457. "type": "number"
  20458. },
  20459. "remark": {
  20460. "description": "备注",
  20461. "type": "string"
  20462. },
  20463. "saleuserid": {
  20464. "description": "业务员id",
  20465. "type": "integer"
  20466. },
  20467. "saleuserlogincode": {
  20468. "description": "业务员登录代码",
  20469. "type": "string"
  20470. },
  20471. "saleusername": {
  20472. "description": "业务员名称",
  20473. "type": "string"
  20474. },
  20475. "sellnickname": {
  20476. "description": "采购方昵称",
  20477. "type": "string"
  20478. },
  20479. "selluserid": {
  20480. "description": "销售方ID",
  20481. "type": "integer"
  20482. },
  20483. "sellusername": {
  20484. "description": "销售方名称",
  20485. "type": "string"
  20486. },
  20487. "spotcontractid": {
  20488. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20489. "type": "string"
  20490. },
  20491. "spotgoodsbrandid": {
  20492. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20493. "type": "integer"
  20494. },
  20495. "spotgoodsdesc": {
  20496. "description": "商品型号",
  20497. "type": "string"
  20498. },
  20499. "startdate": {
  20500. "description": "点价开始日期 [2:点价 3:暂定价]",
  20501. "type": "string"
  20502. },
  20503. "subjectid": {
  20504. "description": "交易主体ID",
  20505. "type": "integer"
  20506. },
  20507. "subjectname": {
  20508. "description": "交易主体名称",
  20509. "type": "string"
  20510. },
  20511. "tradeuserid": {
  20512. "description": "交易员id",
  20513. "type": "integer"
  20514. },
  20515. "tradeuserlogincode": {
  20516. "description": "交易员登录代码",
  20517. "type": "string"
  20518. },
  20519. "tradeusername": {
  20520. "description": "交易员名称",
  20521. "type": "string"
  20522. },
  20523. "unitid": {
  20524. "description": "单位id(取品类上的单位id)",
  20525. "type": "integer"
  20526. },
  20527. "updatetime": {
  20528. "description": "更新时间",
  20529. "type": "string"
  20530. },
  20531. "userid": {
  20532. "description": "所属机构ID",
  20533. "type": "integer"
  20534. },
  20535. "vatrate": {
  20536. "description": "增值税率",
  20537. "type": "number"
  20538. },
  20539. "wrstandardcode": {
  20540. "description": "品类代码",
  20541. "type": "string"
  20542. },
  20543. "wrstandardid": {
  20544. "description": "品类ID",
  20545. "type": "integer"
  20546. },
  20547. "wrstandardname": {
  20548. "description": "品类名称",
  20549. "type": "string"
  20550. }
  20551. }
  20552. },
  20553. "models.Ermcp3ContractMiddleGoodsCfg": {
  20554. "type": "object",
  20555. "properties": {
  20556. "agreeunit": {
  20557. "description": "合约乘数",
  20558. "type": "number"
  20559. },
  20560. "convertratio": {
  20561. "description": "期货品种系数",
  20562. "type": "number"
  20563. },
  20564. "covertqty": {
  20565. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  20566. "type": "integer"
  20567. },
  20568. "middlegoodsid": {
  20569. "description": "套保品种ID",
  20570. "type": "integer"
  20571. },
  20572. "middlegoodspricedqty3": {
  20573. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  20574. "type": "string",
  20575. "example": "0"
  20576. },
  20577. "pendingpricedqty": {
  20578. "description": "待点价量",
  20579. "type": "string",
  20580. "example": "0"
  20581. },
  20582. "relatedmiddlegoodsqty": {
  20583. "description": "已关联量(套保品种-期货)",
  20584. "type": "string",
  20585. "example": "0"
  20586. },
  20587. "spotcontractid": {
  20588. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20589. "type": "string"
  20590. }
  20591. }
  20592. },
  20593. "models.Ermcp3ExposureContractDetail": {
  20594. "type": "object",
  20595. "properties": {
  20596. "biztype": {
  20597. "description": "业务类型 1-套保 2-套利",
  20598. "type": "integer"
  20599. },
  20600. "brandname": {
  20601. "description": "品牌名称",
  20602. "type": "string"
  20603. },
  20604. "buyuserid": {
  20605. "description": "采购方id",
  20606. "type": "integer"
  20607. },
  20608. "buyusername": {
  20609. "description": "采购方名称",
  20610. "type": "string"
  20611. },
  20612. "contractno": {
  20613. "description": "合同编号",
  20614. "type": "string"
  20615. },
  20616. "contracttype": {
  20617. "description": "现货合同类型 - 1:采购 -1:销售",
  20618. "type": "integer"
  20619. },
  20620. "convertfactor": {
  20621. "description": "标仓系数",
  20622. "type": "number"
  20623. },
  20624. "convertratio": {
  20625. "description": "折算系数(套保品种)",
  20626. "type": "number"
  20627. },
  20628. "curqty": {
  20629. "description": "今定价量",
  20630. "type": "number"
  20631. },
  20632. "deliverygoodscode": {
  20633. "description": "现货品种代码",
  20634. "type": "string"
  20635. },
  20636. "deliverygoodsid": {
  20637. "description": "现货品种id",
  20638. "type": "integer"
  20639. },
  20640. "deliverygoodsname": {
  20641. "description": "现货品种名称",
  20642. "type": "string"
  20643. },
  20644. "diffhedgeqty": {
  20645. "description": "套保变动量",
  20646. "type": "number"
  20647. },
  20648. "diffneedhedgeqty": {
  20649. "description": "应套保变动量",
  20650. "type": "number"
  20651. },
  20652. "diffqty": {
  20653. "description": "套保品种今变动量",
  20654. "type": "number"
  20655. },
  20656. "enumdicname": {
  20657. "description": "单位名称",
  20658. "type": "string"
  20659. },
  20660. "mgunitname": {
  20661. "description": "套保品种单位名称",
  20662. "type": "string"
  20663. },
  20664. "middlegoodscode": {
  20665. "description": "套保品种代码",
  20666. "type": "string"
  20667. },
  20668. "middlegoodsid": {
  20669. "description": "套保品种id",
  20670. "type": "integer"
  20671. },
  20672. "middlegoodsname": {
  20673. "description": "套保品种名称",
  20674. "type": "string"
  20675. },
  20676. "needarbitrageratio": {
  20677. "description": "应套利比例",
  20678. "type": "number"
  20679. },
  20680. "needhedgeratio": {
  20681. "description": "应套保比例",
  20682. "type": "number"
  20683. },
  20684. "pricedqty": {
  20685. "description": "已定价量",
  20686. "type": "number"
  20687. },
  20688. "qty": {
  20689. "description": "合同量",
  20690. "type": "number"
  20691. },
  20692. "reckondate": {
  20693. "description": "交易日(reckondate)",
  20694. "type": "string"
  20695. },
  20696. "selluserid": {
  20697. "description": "销售方id",
  20698. "type": "integer"
  20699. },
  20700. "sellusername": {
  20701. "description": "销售方名称",
  20702. "type": "string"
  20703. },
  20704. "spotcontractid": {
  20705. "description": "合同id",
  20706. "type": "string"
  20707. },
  20708. "todaypricedqty": {
  20709. "description": "今定价量",
  20710. "type": "number"
  20711. },
  20712. "tradedate": {
  20713. "description": "交易日",
  20714. "type": "string"
  20715. },
  20716. "unitid": {
  20717. "description": "品类单位id",
  20718. "type": "integer"
  20719. },
  20720. "userid": {
  20721. "description": "机构id",
  20722. "type": "integer"
  20723. },
  20724. "username": {
  20725. "description": "交易用户",
  20726. "type": "string"
  20727. },
  20728. "wrstandardcode": {
  20729. "description": "现货商品代码",
  20730. "type": "string"
  20731. },
  20732. "wrstandardid": {
  20733. "description": "现货商品id",
  20734. "type": "integer"
  20735. },
  20736. "wrstandardname": {
  20737. "description": "现货商品名称",
  20738. "type": "string"
  20739. }
  20740. }
  20741. },
  20742. "models.Ermcp3ExposureDetail": {
  20743. "type": "object",
  20744. "properties": {
  20745. "areauserid": {
  20746. "description": "机构ID",
  20747. "type": "integer"
  20748. },
  20749. "changeQty": {
  20750. "description": "套保变动量",
  20751. "type": "number"
  20752. },
  20753. "contracttype": {
  20754. "description": "现货合同类型 - 1:采购 -1:销售",
  20755. "type": "integer"
  20756. },
  20757. "convertfactor": {
  20758. "description": "标仓系数",
  20759. "type": "number"
  20760. },
  20761. "convertratio": {
  20762. "description": "折算系数",
  20763. "type": "number"
  20764. },
  20765. "createtime": {
  20766. "description": "时间",
  20767. "type": "string"
  20768. },
  20769. "enumdicname": {
  20770. "description": "现货商品单位名称",
  20771. "type": "string"
  20772. },
  20773. "logtype": {
  20774. "description": "类型 - 1:套保计划 2:现货合同",
  20775. "type": "integer"
  20776. },
  20777. "mgunitid": {
  20778. "description": "套保品种单位id",
  20779. "type": "integer"
  20780. },
  20781. "mgunitidname": {
  20782. "description": "套保品种单位名称",
  20783. "type": "string"
  20784. },
  20785. "middlegoodsId": {
  20786. "description": "套保商品id",
  20787. "type": "integer"
  20788. },
  20789. "middlegoodscode": {
  20790. "description": "套保商品代码",
  20791. "type": "string"
  20792. },
  20793. "middlegoodsname": {
  20794. "description": "套保商品名称",
  20795. "type": "string"
  20796. },
  20797. "qty": {
  20798. "description": "数量",
  20799. "type": "number"
  20800. },
  20801. "relateNo": {
  20802. "description": "现货合同/套保计划编号",
  20803. "type": "string"
  20804. },
  20805. "unitid": {
  20806. "description": "现货商品单位id",
  20807. "type": "integer"
  20808. },
  20809. "wrstandardcode": {
  20810. "description": "现货商品代码",
  20811. "type": "string"
  20812. },
  20813. "wrstandardid": {
  20814. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20815. "type": "integer"
  20816. },
  20817. "wrstandardname": {
  20818. "description": "现货商品名称",
  20819. "type": "string"
  20820. }
  20821. }
  20822. },
  20823. "models.Ermcp3ExposureFutuDetail": {
  20824. "type": "object",
  20825. "properties": {
  20826. "accountid": {
  20827. "description": "交易账户id",
  20828. "type": "integer"
  20829. },
  20830. "accountname": {
  20831. "description": "交易账户",
  20832. "type": "string"
  20833. },
  20834. "begindate": {
  20835. "description": "开始交易日",
  20836. "type": "string"
  20837. },
  20838. "buyorsell": {
  20839. "description": "方向 0-买 1-卖",
  20840. "type": "integer"
  20841. },
  20842. "diffmgqty": {
  20843. "description": "套保品种今变化量",
  20844. "type": "number"
  20845. },
  20846. "diffneedqty": {
  20847. "description": "应套保总量变化量",
  20848. "type": "number"
  20849. },
  20850. "difftradeqty": {
  20851. "description": "交易品种今变化量",
  20852. "type": "number"
  20853. },
  20854. "enddate": {
  20855. "description": "结束交易日",
  20856. "type": "string"
  20857. },
  20858. "enumdicname": {
  20859. "description": "单位名称",
  20860. "type": "string"
  20861. },
  20862. "goodscode": {
  20863. "description": "商品代码",
  20864. "type": "string"
  20865. },
  20866. "goodsid": {
  20867. "description": "商品id",
  20868. "type": "integer"
  20869. },
  20870. "goodsname": {
  20871. "description": "商品名称",
  20872. "type": "string"
  20873. },
  20874. "holdqty": {
  20875. "description": "期末持仓量",
  20876. "type": "number"
  20877. },
  20878. "middlegoodscode": {
  20879. "description": "套保商品代码",
  20880. "type": "string"
  20881. },
  20882. "middlegoodsid": {
  20883. "description": "套保商品id",
  20884. "type": "integer"
  20885. },
  20886. "middlegoodsname": {
  20887. "description": "套保商品名称",
  20888. "type": "string"
  20889. },
  20890. "oriholdqty": {
  20891. "description": "期初持仓量",
  20892. "type": "number"
  20893. },
  20894. "reckondate": {
  20895. "description": "交易日(RECKONDATE)",
  20896. "type": "string"
  20897. },
  20898. "todaycloseqty": {
  20899. "description": "今平仓量",
  20900. "type": "number"
  20901. },
  20902. "todayopenqty": {
  20903. "description": "今开仓量",
  20904. "type": "number"
  20905. },
  20906. "tradedate": {
  20907. "description": "交易日(RECKONDATE)",
  20908. "type": "string"
  20909. },
  20910. "username": {
  20911. "description": "用户名称(交易用户)",
  20912. "type": "string"
  20913. }
  20914. }
  20915. },
  20916. "models.Ermcp3ExposureHedgeplanDetail": {
  20917. "type": "object",
  20918. "properties": {
  20919. "biztype": {
  20920. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20921. "type": "integer"
  20922. },
  20923. "changqty": {
  20924. "description": "应套保总量变化量",
  20925. "type": "number"
  20926. },
  20927. "contracttype": {
  20928. "description": "计划类型 - 1:采购 -1:销售",
  20929. "type": "integer"
  20930. },
  20931. "convertratio": {
  20932. "description": "折算系数(套保品种)",
  20933. "type": "number"
  20934. },
  20935. "deliverygoodscode": {
  20936. "description": "现货商品代码",
  20937. "type": "string"
  20938. },
  20939. "deliverygoodsid": {
  20940. "description": "现货商品id",
  20941. "type": "integer"
  20942. },
  20943. "deliverygoodsname": {
  20944. "description": "现货商吕名称",
  20945. "type": "string"
  20946. },
  20947. "dgunitid": {
  20948. "description": "现货商品单位id",
  20949. "type": "integer"
  20950. },
  20951. "dgunitidname": {
  20952. "description": "单位名称(现货商品)",
  20953. "type": "string"
  20954. },
  20955. "diffqty": {
  20956. "description": "套保品种今变动量",
  20957. "type": "number"
  20958. },
  20959. "enumdicname": {
  20960. "description": "单位名称(品类)",
  20961. "type": "string"
  20962. },
  20963. "hedgeplanid": {
  20964. "description": "套保计划id",
  20965. "type": "string"
  20966. },
  20967. "hedgeplanno": {
  20968. "description": "套保计划名称",
  20969. "type": "string"
  20970. },
  20971. "hedgeplanstatus": {
  20972. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20973. "type": "integer"
  20974. },
  20975. "mgunitidname": {
  20976. "description": "单位名称(套保商品)",
  20977. "type": "string"
  20978. },
  20979. "middlegoodscode": {
  20980. "description": "套保品种代码",
  20981. "type": "string"
  20982. },
  20983. "middlegoodsid": {
  20984. "description": "套保品种id",
  20985. "type": "integer"
  20986. },
  20987. "middlegoodsname": {
  20988. "description": "套保品种名称",
  20989. "type": "string"
  20990. },
  20991. "needarbitrageratio": {
  20992. "description": "应套利比例",
  20993. "type": "number"
  20994. },
  20995. "needhedgeratio": {
  20996. "description": "应套保比例",
  20997. "type": "number"
  20998. },
  20999. "pricedqty": {
  21000. "description": "已定价量",
  21001. "type": "number"
  21002. },
  21003. "qty": {
  21004. "description": "合同量",
  21005. "type": "number"
  21006. },
  21007. "reckondate": {
  21008. "description": "交易日(reckondate)",
  21009. "type": "string"
  21010. },
  21011. "tradedate": {
  21012. "description": "交易日(登记日)",
  21013. "type": "string"
  21014. },
  21015. "unitid": {
  21016. "description": "品类单位id",
  21017. "type": "integer"
  21018. },
  21019. "userid": {
  21020. "description": "机构id",
  21021. "type": "integer"
  21022. },
  21023. "wrstandardcode": {
  21024. "description": "品类代码",
  21025. "type": "string"
  21026. },
  21027. "wrstandardid": {
  21028. "description": "品类id",
  21029. "type": "integer"
  21030. },
  21031. "wrstandardname": {
  21032. "description": "品类名称",
  21033. "type": "string"
  21034. }
  21035. }
  21036. },
  21037. "models.Ermcp3ExposureParamChLog": {
  21038. "type": "object",
  21039. "properties": {
  21040. "accountid": {
  21041. "description": "期货账户ID (作废, 默认为0)",
  21042. "type": "integer"
  21043. },
  21044. "aftervalue": {
  21045. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21046. "type": "number"
  21047. },
  21048. "areauserid": {
  21049. "description": "所属机构\\交易用户ID",
  21050. "type": "integer"
  21051. },
  21052. "beforevalue": {
  21053. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21054. "type": "number"
  21055. },
  21056. "begindate": {
  21057. "description": "开始交易日",
  21058. "type": "string"
  21059. },
  21060. "changelogtype": {
  21061. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21062. "type": "integer"
  21063. },
  21064. "curvalue": {
  21065. "description": "当前套保\\套利量(套保总量|套利总量)",
  21066. "type": "number"
  21067. },
  21068. "diffvalue": {
  21069. "description": "应套保总量变化量",
  21070. "type": "number"
  21071. },
  21072. "enddate": {
  21073. "description": "结束交易日",
  21074. "type": "string"
  21075. },
  21076. "logdatetime": {
  21077. "description": "流水日期",
  21078. "type": "string"
  21079. },
  21080. "logid": {
  21081. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21082. "type": "string"
  21083. },
  21084. "middlegoodscode": {
  21085. "description": "套保品种代码",
  21086. "type": "string"
  21087. },
  21088. "middlegoodsid": {
  21089. "description": "套保品种",
  21090. "type": "integer"
  21091. },
  21092. "middlegoodsname": {
  21093. "description": "套保品种名称",
  21094. "type": "string"
  21095. },
  21096. "paramaftervalue": {
  21097. "description": "参数变更后(调整后参数值)",
  21098. "type": "number"
  21099. },
  21100. "parambeforevalue": {
  21101. "description": "参数变更前(调整前参数值)",
  21102. "type": "number"
  21103. },
  21104. "reckondate": {
  21105. "description": "交易日(reckondate)",
  21106. "type": "string"
  21107. },
  21108. "tradedate": {
  21109. "description": "交易日(yyyyMMdd)",
  21110. "type": "string"
  21111. }
  21112. }
  21113. },
  21114. "models.Ermcp3ExpourseReport": {
  21115. "type": "object",
  21116. "properties": {
  21117. "accountid": {
  21118. "description": "期货账户ID (作废, 默认为0)",
  21119. "type": "integer"
  21120. },
  21121. "accountname": {
  21122. "description": "机构名称",
  21123. "type": "string"
  21124. },
  21125. "arbitrageqty": {
  21126. "description": "套利量",
  21127. "type": "number"
  21128. },
  21129. "areauserid": {
  21130. "description": "所属机构\\交易用户ID",
  21131. "type": "integer"
  21132. },
  21133. "begindate": {
  21134. "description": "开始交易日",
  21135. "type": "string"
  21136. },
  21137. "buyfutureqty": {
  21138. "description": "买入期货数量",
  21139. "type": "number"
  21140. },
  21141. "buyplanqty": {
  21142. "description": "采购计划数量",
  21143. "type": "number"
  21144. },
  21145. "buypricedqty": {
  21146. "description": "采购合同已定价数量",
  21147. "type": "number"
  21148. },
  21149. "cycletime": {
  21150. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21151. "type": "string"
  21152. },
  21153. "cycletype": {
  21154. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21155. "type": "integer"
  21156. },
  21157. "diffexposure": {
  21158. "description": "变动量(套保敞口)",
  21159. "type": "number"
  21160. },
  21161. "difffutuqty": {
  21162. "description": "变动量(期货)",
  21163. "type": "number"
  21164. },
  21165. "diffhedgeqty": {
  21166. "description": "变动量(现货应套保总量)",
  21167. "type": "number"
  21168. },
  21169. "diffmgqtya": {
  21170. "description": "套保变动量",
  21171. "type": "number"
  21172. },
  21173. "diffmgqtyb": {
  21174. "description": "套利变动量",
  21175. "type": "number"
  21176. },
  21177. "diffneedqty": {
  21178. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  21179. "type": "number"
  21180. },
  21181. "diffqty": {
  21182. "description": "变动量(总敞口)",
  21183. "type": "number"
  21184. },
  21185. "diffspotqty": {
  21186. "description": "变动量(现货) | 除税变动量",
  21187. "type": "number"
  21188. },
  21189. "enddate": {
  21190. "description": "结束交易日",
  21191. "type": "string"
  21192. },
  21193. "enumdicname": {
  21194. "description": "单位名称",
  21195. "type": "string"
  21196. },
  21197. "hedgeqty": {
  21198. "description": "套保量",
  21199. "type": "number"
  21200. },
  21201. "mgneedhedgeratio": {
  21202. "description": "套保比例(套保品的)",
  21203. "type": "number"
  21204. },
  21205. "middlegoodsid": {
  21206. "description": "套保品种ID",
  21207. "type": "integer"
  21208. },
  21209. "middlegoodsname": {
  21210. "description": "套保商品名称",
  21211. "type": "string"
  21212. },
  21213. "middlgoodscode": {
  21214. "description": "套保商品代码",
  21215. "type": "string"
  21216. },
  21217. "needarbitrageqty": {
  21218. "description": "应套利量",
  21219. "type": "number"
  21220. },
  21221. "needarbitrageratio": {
  21222. "description": "套利比例(套保品的)",
  21223. "type": "number"
  21224. },
  21225. "needhedgeexposoure": {
  21226. "description": "应套保敞口(套保敞口)",
  21227. "type": "number"
  21228. },
  21229. "needhedgeqty": {
  21230. "description": "应套保量",
  21231. "type": "number"
  21232. },
  21233. "needhedgeratio": {
  21234. "description": "应套保敞口比例",
  21235. "type": "number"
  21236. },
  21237. "needqty": {
  21238. "description": "应套总量 = 应套保量 + 应套利量",
  21239. "type": "number"
  21240. },
  21241. "oriarbitrageqty": {
  21242. "description": "期初套利量",
  21243. "type": "number"
  21244. },
  21245. "oribuyfutureqty": {
  21246. "description": "期初买入期货数量",
  21247. "type": "number"
  21248. },
  21249. "oribuyplanqty": {
  21250. "description": "期初采购计划数量",
  21251. "type": "number"
  21252. },
  21253. "oribuypricedqty": {
  21254. "description": "期初采购合同已定价数量",
  21255. "type": "number"
  21256. },
  21257. "orihedgeqty": {
  21258. "description": "期初套保量",
  21259. "type": "number"
  21260. },
  21261. "orineedarbitrageqty": {
  21262. "description": "期初应套利量",
  21263. "type": "number"
  21264. },
  21265. "orineedhedgeexposoure": {
  21266. "description": "期初应套保敞口",
  21267. "type": "number"
  21268. },
  21269. "orineedhedgeqty": {
  21270. "description": "期初应套保量",
  21271. "type": "number"
  21272. },
  21273. "orisellfutureqty": {
  21274. "description": "期初卖出期货数量",
  21275. "type": "number"
  21276. },
  21277. "orisellplanqty": {
  21278. "description": "期初销售计划数量",
  21279. "type": "number"
  21280. },
  21281. "orisellpricedqty": {
  21282. "description": "期初销售合同已定价数量",
  21283. "type": "number"
  21284. },
  21285. "oritotalexposure": {
  21286. "description": "期初实时总敞口",
  21287. "type": "number"
  21288. },
  21289. "oritotalfutureqty": {
  21290. "description": "期初期货头寸总量",
  21291. "type": "number"
  21292. },
  21293. "oritotalneedhedgeqty": {
  21294. "description": "期初应套保总量",
  21295. "type": "number"
  21296. },
  21297. "oritotalspotqty": {
  21298. "description": "期初现货头寸总量",
  21299. "type": "number"
  21300. },
  21301. "reckondate": {
  21302. "description": "日照时期(yyyyMMdd)",
  21303. "type": "string"
  21304. },
  21305. "sellfutureqty": {
  21306. "description": "卖出期货数量",
  21307. "type": "number"
  21308. },
  21309. "sellplanqty": {
  21310. "description": "销售计划数量",
  21311. "type": "number"
  21312. },
  21313. "sellpricedqty": {
  21314. "description": "销售合同已定价数量",
  21315. "type": "number"
  21316. },
  21317. "totalexposure": {
  21318. "description": "实时总敞口(总敞口)",
  21319. "type": "number"
  21320. },
  21321. "totalfutureqty": {
  21322. "description": "期货头寸总量(期货总量)",
  21323. "type": "number"
  21324. },
  21325. "totalhedgeratio": {
  21326. "description": "敞口比例",
  21327. "type": "number"
  21328. },
  21329. "totalneedhedgeqty": {
  21330. "description": "应套保总量(现货应套保总量)",
  21331. "type": "number"
  21332. },
  21333. "totalspotqty": {
  21334. "description": "现货头寸总量 | 除税总量",
  21335. "type": "number"
  21336. },
  21337. "unitid": {
  21338. "description": "单位id",
  21339. "type": "integer"
  21340. },
  21341. "updatetime": {
  21342. "description": "更新时间",
  21343. "type": "string"
  21344. }
  21345. }
  21346. },
  21347. "models.Ermcp3FinanceReport": {
  21348. "type": "object",
  21349. "properties": {
  21350. "accountname": {
  21351. "description": "机构名称",
  21352. "type": "string"
  21353. },
  21354. "areauserid": {
  21355. "description": "所属机构\\交易用户ID",
  21356. "type": "integer"
  21357. },
  21358. "begindate": {
  21359. "description": "开始交易日",
  21360. "type": "string"
  21361. },
  21362. "biztype": {
  21363. "description": "业务类型 - 1:套保 2:套利",
  21364. "type": "integer"
  21365. },
  21366. "brandname": {
  21367. "description": "品牌名称",
  21368. "type": "string"
  21369. },
  21370. "buypreinvoicedamount": {
  21371. "description": "采购预收票额(预收票额)",
  21372. "type": "number"
  21373. },
  21374. "buyprepaidamount": {
  21375. "description": "采购预付款额(预付货款额)",
  21376. "type": "number"
  21377. },
  21378. "buytodayinvoiceamount": {
  21379. "description": "采购今收票额(今收票额)",
  21380. "type": "number"
  21381. },
  21382. "buytodayrefundamount": {
  21383. "description": "采购今收退款额(今收退款额)",
  21384. "type": "number"
  21385. },
  21386. "buytodaysettleamount": {
  21387. "description": "采购今付款额(今付货款额)",
  21388. "type": "number"
  21389. },
  21390. "buyuninvoicedamount": {
  21391. "description": "采购应收票额(应收票额)",
  21392. "type": "number"
  21393. },
  21394. "buyunpaidamount": {
  21395. "description": "采购应付款额(应付货款额)",
  21396. "type": "number"
  21397. },
  21398. "currencyid": {
  21399. "description": "结算币种ID",
  21400. "type": "integer"
  21401. },
  21402. "currencyname": {
  21403. "description": "币种名称",
  21404. "type": "string"
  21405. },
  21406. "cycletime": {
  21407. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21408. "type": "string"
  21409. },
  21410. "cycletype": {
  21411. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21412. "type": "integer"
  21413. },
  21414. "deliverygoodscode": {
  21415. "description": "现货品种代码",
  21416. "type": "string"
  21417. },
  21418. "deliverygoodsid": {
  21419. "description": "现货品种ID",
  21420. "type": "integer"
  21421. },
  21422. "deliverygoodsname": {
  21423. "description": "现货品种名称",
  21424. "type": "string"
  21425. },
  21426. "enddate": {
  21427. "description": "结束交易日",
  21428. "type": "string"
  21429. },
  21430. "reckondate": {
  21431. "description": "日照时期(yyyyMMdd)",
  21432. "type": "string"
  21433. },
  21434. "sellpreinvoicedamount": {
  21435. "description": "销售预开票额(预开票额)",
  21436. "type": "number"
  21437. },
  21438. "sellprepaidamount": {
  21439. "description": "销售预收款额(预收货款额)",
  21440. "type": "number"
  21441. },
  21442. "selltodayinvoiceamount": {
  21443. "description": "销售今开票额(今开票额)",
  21444. "type": "number"
  21445. },
  21446. "selltodayrefundamount": {
  21447. "description": "销售今付退款额(今付退款额)",
  21448. "type": "number"
  21449. },
  21450. "selltodaysettleamount": {
  21451. "description": "销售今收款额(今收货款额)",
  21452. "type": "number"
  21453. },
  21454. "selluninvoicedamount": {
  21455. "description": "销售应开票额(应开票额)",
  21456. "type": "number"
  21457. },
  21458. "sellunpaidamount": {
  21459. "description": "销售应收款额(应收货款额)",
  21460. "type": "number"
  21461. },
  21462. "spotgoodsbrandid": {
  21463. "description": "现货品牌ID",
  21464. "type": "integer"
  21465. },
  21466. "todaypaysum": {
  21467. "description": "今付款合计",
  21468. "type": "number"
  21469. },
  21470. "todayreceivesum": {
  21471. "description": "今收款合计",
  21472. "type": "number"
  21473. },
  21474. "updatetime": {
  21475. "description": "更新时间",
  21476. "type": "string"
  21477. },
  21478. "wrfactortypeid": {
  21479. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21480. "type": "integer"
  21481. },
  21482. "wrstandardcode": {
  21483. "description": "品类代码",
  21484. "type": "string"
  21485. },
  21486. "wrstandardid": {
  21487. "description": "现货商品ID",
  21488. "type": "integer"
  21489. },
  21490. "wrstandardname": {
  21491. "description": "品类名称",
  21492. "type": "string"
  21493. }
  21494. }
  21495. },
  21496. "models.Ermcp3GoodsGroup": {
  21497. "type": "object",
  21498. "required": [
  21499. "areauserid"
  21500. ],
  21501. "properties": {
  21502. "agreeunit": {
  21503. "description": "合约单位",
  21504. "type": "number"
  21505. },
  21506. "areauserid": {
  21507. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21508. "type": "integer"
  21509. },
  21510. "canshort": {
  21511. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21512. "type": "integer"
  21513. },
  21514. "closepricemode": {
  21515. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21516. "type": "integer"
  21517. },
  21518. "createtime": {
  21519. "description": "创建时间",
  21520. "type": "string"
  21521. },
  21522. "creatorid": {
  21523. "description": "创建人",
  21524. "type": "integer"
  21525. },
  21526. "currencyid": {
  21527. "description": "报价货币ID",
  21528. "type": "integer"
  21529. },
  21530. "decimalplace": {
  21531. "description": "报价小数位",
  21532. "type": "integer"
  21533. },
  21534. "enumdicname": {
  21535. "description": "单位名称",
  21536. "type": "string"
  21537. },
  21538. "exchangefullname": {
  21539. "description": "交易所全称",
  21540. "type": "string"
  21541. },
  21542. "excludecfg": {
  21543. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21544. "type": "integer"
  21545. },
  21546. "exexchangecode": {
  21547. "description": "交易所代码",
  21548. "type": "string"
  21549. },
  21550. "exexchangeid": {
  21551. "description": "外部交易所ID[通道交易]",
  21552. "type": "integer"
  21553. },
  21554. "exexchangename": {
  21555. "description": "交易所名称",
  21556. "type": "string"
  21557. },
  21558. "goodsgroupid": {
  21559. "description": "商品组ID(自增ID)",
  21560. "type": "integer"
  21561. },
  21562. "goodsgroupname": {
  21563. "description": "商品组名称",
  21564. "type": "string"
  21565. },
  21566. "goodsgroupstatus": {
  21567. "description": "商品组状态 - 1:正常 2:注销",
  21568. "type": "integer"
  21569. },
  21570. "goodunitid": {
  21571. "description": "报价单位ID",
  21572. "type": "integer"
  21573. },
  21574. "groupcategroyid": {
  21575. "description": "品种分类ID",
  21576. "type": "integer"
  21577. },
  21578. "innerdealmode": {
  21579. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21580. "type": "integer"
  21581. },
  21582. "marketid": {
  21583. "description": "所属市场ID",
  21584. "type": "integer"
  21585. },
  21586. "modifierid": {
  21587. "description": "修改人",
  21588. "type": "integer"
  21589. },
  21590. "modifytime": {
  21591. "description": "修改时间",
  21592. "type": "string"
  21593. },
  21594. "outerdealmode": {
  21595. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21596. "type": "integer"
  21597. },
  21598. "outergroupcode": {
  21599. "description": "外部商品组代码[通道交易]",
  21600. "type": "string"
  21601. },
  21602. "quoteminunit": {
  21603. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21604. "type": "integer"
  21605. },
  21606. "quotesourcegroupid": {
  21607. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21608. "type": "integer"
  21609. },
  21610. "syncgoodsqty": {
  21611. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21612. "type": "integer"
  21613. }
  21614. }
  21615. },
  21616. "models.Ermcp3HPMiddleGoods": {
  21617. "type": "object",
  21618. "properties": {
  21619. "biztype": {
  21620. "description": "业务类型 1:套保 2:套利",
  21621. "type": "integer"
  21622. },
  21623. "contracttype": {
  21624. "description": "合同类型 1:采购 -1:销售",
  21625. "type": "integer"
  21626. },
  21627. "convertratio": {
  21628. "description": "折算系数",
  21629. "type": "number"
  21630. },
  21631. "customername": {
  21632. "description": "对手手名称",
  21633. "type": "string"
  21634. },
  21635. "customeruserid": {
  21636. "description": "对手id",
  21637. "type": "integer"
  21638. },
  21639. "enumdicname": {
  21640. "description": "现货单位名称",
  21641. "type": "string"
  21642. },
  21643. "hedgeplanid": {
  21644. "description": "计划id",
  21645. "type": "string"
  21646. },
  21647. "hedgeplanno": {
  21648. "description": "计划编号",
  21649. "type": "string"
  21650. },
  21651. "middlegoodsid": {
  21652. "description": "套保品种ID",
  21653. "type": "integer"
  21654. },
  21655. "middlegoodsplanqty3": {
  21656. "description": "应套保计划量",
  21657. "type": "number"
  21658. },
  21659. "needhedgeratio": {
  21660. "description": "套保比例",
  21661. "type": "number"
  21662. },
  21663. "pricedqty": {
  21664. "description": "已定价量",
  21665. "type": "number"
  21666. },
  21667. "relatedmiddlegoodsqty": {
  21668. "description": "已关联量(套保品种)(期货)",
  21669. "type": "number"
  21670. },
  21671. "unitid": {
  21672. "description": "现货单位id",
  21673. "type": "integer"
  21674. },
  21675. "userid": {
  21676. "description": "用户id",
  21677. "type": "integer"
  21678. },
  21679. "vatrate": {
  21680. "description": "增值税率",
  21681. "type": "number"
  21682. },
  21683. "wrstandardcode": {
  21684. "description": "现货商品代码",
  21685. "type": "string"
  21686. },
  21687. "wrstandardid": {
  21688. "description": "现货商品id",
  21689. "type": "integer"
  21690. },
  21691. "wrstandardname": {
  21692. "description": "现货商品名称",
  21693. "type": "string"
  21694. }
  21695. }
  21696. },
  21697. "models.Ermcp3HedgePlan": {
  21698. "type": "object",
  21699. "properties": {
  21700. "accountid": {
  21701. "description": "资金账号",
  21702. "type": "integer"
  21703. },
  21704. "areauserid": {
  21705. "description": "用户ID",
  21706. "type": "integer"
  21707. },
  21708. "auditid": {
  21709. "description": "审核id",
  21710. "type": "integer"
  21711. },
  21712. "auditname": {
  21713. "description": "审核人名称",
  21714. "type": "string"
  21715. },
  21716. "auditremark": {
  21717. "description": "审核备注",
  21718. "type": "string"
  21719. },
  21720. "auditsrc": {
  21721. "description": "审核来源 1-管理端 2-终端",
  21722. "type": "integer"
  21723. },
  21724. "audittime": {
  21725. "description": "审核时间",
  21726. "type": "string"
  21727. },
  21728. "contracttype": {
  21729. "description": "计划类型 - 1:采购 -1:销售",
  21730. "type": "integer"
  21731. },
  21732. "convertfactor": {
  21733. "description": "标仓系数",
  21734. "type": "number"
  21735. },
  21736. "createtime": {
  21737. "description": "创建时间",
  21738. "type": "string"
  21739. },
  21740. "currencyid": {
  21741. "description": "币种id",
  21742. "type": "integer"
  21743. },
  21744. "currencyname": {
  21745. "description": "币种名称",
  21746. "type": "string"
  21747. },
  21748. "deliverygoodscode": {
  21749. "description": "现货品种代码",
  21750. "type": "string"
  21751. },
  21752. "deliverygoodsid": {
  21753. "description": "现货品种ID",
  21754. "type": "integer"
  21755. },
  21756. "deliverygoodsname": {
  21757. "description": "现货品种名称",
  21758. "type": "string"
  21759. },
  21760. "enumdicname": {
  21761. "description": "单位名称(现货商品)",
  21762. "type": "string"
  21763. },
  21764. "hedgeplanid": {
  21765. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21766. "type": "string"
  21767. },
  21768. "hedgeplanno": {
  21769. "description": "套保计划编号(名称)",
  21770. "type": "string"
  21771. },
  21772. "hedgeplanstatus": {
  21773. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21774. "type": "integer"
  21775. },
  21776. "planqty": {
  21777. "description": "计划数量",
  21778. "type": "number"
  21779. },
  21780. "plantime": {
  21781. "description": "计划时间",
  21782. "type": "string"
  21783. },
  21784. "producttype": {
  21785. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21786. "type": "integer"
  21787. },
  21788. "remark": {
  21789. "description": "备注",
  21790. "type": "string"
  21791. },
  21792. "spotgoodsdesc": {
  21793. "description": "商品型号",
  21794. "type": "string"
  21795. },
  21796. "taaccountname": {
  21797. "description": "资金账号名称",
  21798. "type": "string"
  21799. },
  21800. "tradeuserid": {
  21801. "description": "交易用户id",
  21802. "type": "integer"
  21803. },
  21804. "tradeusername": {
  21805. "description": "交易用户名称",
  21806. "type": "string"
  21807. },
  21808. "unitid": {
  21809. "description": "单位id(现货商品)",
  21810. "type": "integer"
  21811. },
  21812. "updatetime": {
  21813. "description": "更新时间",
  21814. "type": "string"
  21815. },
  21816. "vatrate": {
  21817. "description": "增值税率",
  21818. "type": "number"
  21819. },
  21820. "wrstandardcode": {
  21821. "description": "品类代码",
  21822. "type": "string"
  21823. },
  21824. "wrstandardid": {
  21825. "description": "品类id",
  21826. "type": "integer"
  21827. },
  21828. "wrstandardname": {
  21829. "description": "品类名称",
  21830. "type": "string"
  21831. },
  21832. "wrunitid": {
  21833. "description": "品类单位id",
  21834. "type": "integer"
  21835. },
  21836. "wrunitidame": {
  21837. "description": "品类单位名称",
  21838. "type": "string"
  21839. }
  21840. }
  21841. },
  21842. "models.Ermcp3InnerTradeLink": {
  21843. "type": "object",
  21844. "properties": {
  21845. "accountid": {
  21846. "description": "期货账号代码 | 资金账号ID",
  21847. "type": "integer"
  21848. },
  21849. "buyorsell": {
  21850. "description": "方向 - 0:买 1:卖",
  21851. "type": "integer"
  21852. },
  21853. "channelbuildtype": {
  21854. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21855. "type": "integer"
  21856. },
  21857. "currencyid": {
  21858. "description": "币种id",
  21859. "type": "integer"
  21860. },
  21861. "currencyname": {
  21862. "description": "结算币种 名称",
  21863. "type": "string"
  21864. },
  21865. "goodscode": {
  21866. "description": "商品代码",
  21867. "type": "string"
  21868. },
  21869. "goodsid": {
  21870. "description": "商品ID",
  21871. "type": "integer"
  21872. },
  21873. "goodsname": {
  21874. "description": "商品名称",
  21875. "type": "string"
  21876. },
  21877. "outtradeid": {
  21878. "description": "外部成交单号",
  21879. "type": "string"
  21880. },
  21881. "taname": {
  21882. "description": "期货账户名称",
  21883. "type": "string"
  21884. },
  21885. "tradeid": {
  21886. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21887. "type": "string"
  21888. },
  21889. "tradeprice": {
  21890. "description": "成交价格",
  21891. "type": "number"
  21892. },
  21893. "tradeqty": {
  21894. "description": "期货成交数量",
  21895. "type": "integer"
  21896. },
  21897. "tradetime": {
  21898. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21899. "type": "string"
  21900. },
  21901. "username": {
  21902. "description": "用户名称",
  21903. "type": "string"
  21904. }
  21905. }
  21906. },
  21907. "models.Ermcp3OutTradeLink": {
  21908. "type": "object",
  21909. "properties": {
  21910. "buyorsell": {
  21911. "description": "买卖方向 - 0:买 1:卖",
  21912. "type": "integer"
  21913. },
  21914. "channelbuildtype": {
  21915. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21916. "type": "integer"
  21917. },
  21918. "currencyname": {
  21919. "description": "币种名称",
  21920. "type": "string"
  21921. },
  21922. "exexchangecode": {
  21923. "description": "交易所代码",
  21924. "type": "string"
  21925. },
  21926. "exexchangename": {
  21927. "description": "交易所名称",
  21928. "type": "string"
  21929. },
  21930. "goodscode": {
  21931. "description": "合约代码",
  21932. "type": "string"
  21933. },
  21934. "goodsid": {
  21935. "description": "合约id",
  21936. "type": "integer"
  21937. },
  21938. "goodsname": {
  21939. "description": "合约名称",
  21940. "type": "string"
  21941. },
  21942. "hasinnerorder": {
  21943. "description": "是否有内部单关联 - 0:无 1:有",
  21944. "type": "integer"
  21945. },
  21946. "hedgeaccountcode": {
  21947. "description": "外部账号 | 对冲账号",
  21948. "type": "string"
  21949. },
  21950. "outtradeid": {
  21951. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21952. "type": "string"
  21953. },
  21954. "tradeprice": {
  21955. "description": "成交价格",
  21956. "type": "number"
  21957. },
  21958. "tradeqty": {
  21959. "description": "成交数量",
  21960. "type": "integer"
  21961. },
  21962. "tradetime": {
  21963. "description": "成交时间",
  21964. "type": "string"
  21965. }
  21966. }
  21967. },
  21968. "models.Ermcp3PaAreaAuditCfg": {
  21969. "type": "object",
  21970. "properties": {
  21971. "areauserid": {
  21972. "description": "用户ID",
  21973. "type": "integer"
  21974. },
  21975. "buyinauditflag": {
  21976. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21977. "type": "integer"
  21978. },
  21979. "costratioauditflag": {
  21980. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21981. "type": "integer"
  21982. },
  21983. "customerauditflag": {
  21984. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21985. "type": "integer"
  21986. },
  21987. "deliveryauditflag": {
  21988. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21989. "type": "integer"
  21990. },
  21991. "invoiceauditflag": {
  21992. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21993. "type": "integer"
  21994. },
  21995. "mgneedhedgeratioauditflag": {
  21996. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21997. "type": "integer"
  21998. },
  21999. "moneyauditflag": {
  22000. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22001. "type": "integer"
  22002. },
  22003. "operatorid": {
  22004. "description": "操作人",
  22005. "type": "integer"
  22006. },
  22007. "operatorsrc": {
  22008. "description": "操作来源 - 1:管理端 2:终端",
  22009. "type": "integer"
  22010. },
  22011. "pointpriceauditflag": {
  22012. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22013. "type": "integer"
  22014. },
  22015. "produceinauditflag": {
  22016. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22017. "type": "integer"
  22018. },
  22019. "produceoutauditflag": {
  22020. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22021. "type": "integer"
  22022. },
  22023. "selloutauditflag": {
  22024. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22025. "type": "integer"
  22026. },
  22027. "sgconvertratioauditflag": {
  22028. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22029. "type": "integer"
  22030. },
  22031. "sgvtaratioauditflag": {
  22032. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22033. "type": "integer"
  22034. },
  22035. "spotcontractauditflag": {
  22036. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22037. "type": "integer"
  22038. },
  22039. "updatetime": {
  22040. "description": "更新时间",
  22041. "type": "string"
  22042. }
  22043. }
  22044. },
  22045. "models.Ermcp3PaAreaSubject": {
  22046. "type": "object",
  22047. "properties": {
  22048. "areauserid": {
  22049. "description": "所属机构",
  22050. "type": "integer"
  22051. },
  22052. "canmodify": {
  22053. "description": "是否可修改 - 0:否 1:是",
  22054. "type": "integer"
  22055. },
  22056. "createtime": {
  22057. "description": "创建时间",
  22058. "type": "string"
  22059. },
  22060. "creatorid": {
  22061. "description": "创建人ID",
  22062. "type": "string"
  22063. },
  22064. "creatorsrc": {
  22065. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22066. "type": "integer"
  22067. },
  22068. "modifierid": {
  22069. "description": "修改人",
  22070. "type": "string"
  22071. },
  22072. "modifiersrc": {
  22073. "description": "修改人来源 - 1:管理端 2:终端",
  22074. "type": "integer"
  22075. },
  22076. "modifytime": {
  22077. "description": "修改时间",
  22078. "type": "string"
  22079. },
  22080. "parentsubjectid": {
  22081. "description": "上级主体ID",
  22082. "type": "string"
  22083. },
  22084. "remark": {
  22085. "description": "备注",
  22086. "type": "string"
  22087. },
  22088. "subjectid": {
  22089. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22090. "type": "integer"
  22091. },
  22092. "subjectname": {
  22093. "description": "主体名称",
  22094. "type": "string"
  22095. },
  22096. "subjectstatus": {
  22097. "description": "主体状态 - 1:正常 2: 停用",
  22098. "type": "integer"
  22099. },
  22100. "subjecttype": {
  22101. "description": "主体类型 - 1:交易主体 2:业务部门",
  22102. "type": "integer"
  22103. }
  22104. }
  22105. },
  22106. "models.Ermcp3PaTradeLink": {
  22107. "type": "object",
  22108. "properties": {
  22109. "accountid": {
  22110. "description": "期货账户代码 | 账号ID",
  22111. "type": "integer"
  22112. },
  22113. "agreeunit": {
  22114. "description": "合约乘数",
  22115. "type": "number"
  22116. },
  22117. "buyorsell": {
  22118. "description": "方向 - 0:买 1:卖",
  22119. "type": "integer"
  22120. },
  22121. "channelbuildtype": {
  22122. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22123. "type": "integer"
  22124. },
  22125. "charge": {
  22126. "description": "手续费",
  22127. "type": "number"
  22128. },
  22129. "closepl": {
  22130. "description": "平仓盈亏",
  22131. "type": "number"
  22132. },
  22133. "closetype": {
  22134. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22135. "type": "integer"
  22136. },
  22137. "convertratio": {
  22138. "description": "折算系数",
  22139. "type": "number"
  22140. },
  22141. "enumdicname": {
  22142. "description": "单位名称",
  22143. "type": "string"
  22144. },
  22145. "executeprice": {
  22146. "description": "执行价 [期权]",
  22147. "type": "integer"
  22148. },
  22149. "goodscode": {
  22150. "description": "合约代码",
  22151. "type": "string"
  22152. },
  22153. "goodsgroupid": {
  22154. "description": "对冲品种ID[期货合约商品组ID]",
  22155. "type": "integer"
  22156. },
  22157. "goodsid": {
  22158. "description": "商品ID",
  22159. "type": "integer"
  22160. },
  22161. "goodsname": {
  22162. "description": "合约名称",
  22163. "type": "string"
  22164. },
  22165. "goodunitid": {
  22166. "description": "单位id",
  22167. "type": "integer"
  22168. },
  22169. "hedgeflag": {
  22170. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22171. "type": "integer"
  22172. },
  22173. "marketid": {
  22174. "description": "市场ID",
  22175. "type": "integer"
  22176. },
  22177. "middlegoodsid": {
  22178. "description": "套保品种ID",
  22179. "type": "integer"
  22180. },
  22181. "middlegoodsqty": {
  22182. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22183. "type": "number"
  22184. },
  22185. "optioncode": {
  22186. "description": "期权代码 [期权]",
  22187. "type": "string"
  22188. },
  22189. "ordertype": {
  22190. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22191. "type": "integer"
  22192. },
  22193. "ordertypename": {
  22194. "description": "订单类型",
  22195. "type": "string"
  22196. },
  22197. "parentaccountid": {
  22198. "description": "所属母账户",
  22199. "type": "integer"
  22200. },
  22201. "premium": {
  22202. "description": "权利金 [期权]",
  22203. "type": "number"
  22204. },
  22205. "relatedlot": {
  22206. "description": "已关联数量(已关联数量手) | db:关联手数",
  22207. "type": "number"
  22208. },
  22209. "relatedouttradeid": {
  22210. "description": "关联外部成交单ID",
  22211. "type": "string"
  22212. },
  22213. "relatedqty": {
  22214. "description": "关联数量",
  22215. "type": "number"
  22216. },
  22217. "spotcontractid": {
  22218. "description": "现货合同ID [4:套期保值\\10\\11]",
  22219. "type": "string"
  22220. },
  22221. "taname": {
  22222. "description": "期货账户名称",
  22223. "type": "string"
  22224. },
  22225. "tradeamount": {
  22226. "description": "成交金额(账户)",
  22227. "type": "number"
  22228. },
  22229. "tradedate": {
  22230. "description": "交易日(yyyyMMdd)",
  22231. "type": "string"
  22232. },
  22233. "tradeid": {
  22234. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22235. "type": "string"
  22236. },
  22237. "tradelot": {
  22238. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22239. "type": "integer"
  22240. },
  22241. "tradeprice": {
  22242. "description": "成交价格",
  22243. "type": "number"
  22244. },
  22245. "tradetime": {
  22246. "description": "时间 | db:成交时间",
  22247. "type": "string"
  22248. },
  22249. "tradetype": {
  22250. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22251. "type": "integer"
  22252. },
  22253. "userid": {
  22254. "description": "所属机构 - 所属母账户的UserID",
  22255. "type": "string"
  22256. },
  22257. "username": {
  22258. "description": "用户名称",
  22259. "type": "string"
  22260. }
  22261. }
  22262. },
  22263. "models.Ermcp3ParamChangeApp": {
  22264. "type": "object",
  22265. "properties": {
  22266. "aftervalue": {
  22267. "description": "变更后",
  22268. "type": "number"
  22269. },
  22270. "applicationid": {
  22271. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22272. "type": "string"
  22273. },
  22274. "applyid": {
  22275. "description": "申请人",
  22276. "type": "string"
  22277. },
  22278. "applyname": {
  22279. "description": "申请人名称(代码)",
  22280. "type": "string"
  22281. },
  22282. "applyremark": {
  22283. "description": "申请备注",
  22284. "type": "string"
  22285. },
  22286. "applysrc": {
  22287. "description": "申请来源 - 1:管理端 2:终端",
  22288. "type": "integer"
  22289. },
  22290. "applystatus": {
  22291. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22292. "type": "integer"
  22293. },
  22294. "applytime": {
  22295. "description": "申请时间",
  22296. "type": "string"
  22297. },
  22298. "areauserid": {
  22299. "description": "所属机构用户ID",
  22300. "type": "integer"
  22301. },
  22302. "auditid": {
  22303. "description": "审核人",
  22304. "type": "string"
  22305. },
  22306. "auditname": {
  22307. "description": "审核人名称(代码)",
  22308. "type": "string"
  22309. },
  22310. "auditremark": {
  22311. "description": "审核备注",
  22312. "type": "string"
  22313. },
  22314. "auditsrc": {
  22315. "description": "审核来源 - 1:管理端 2:终端",
  22316. "type": "integer"
  22317. },
  22318. "audittime": {
  22319. "description": "审核时间",
  22320. "type": "string"
  22321. },
  22322. "audittradedate": {
  22323. "description": "审核交易日(yyyyMMdd)",
  22324. "type": "string"
  22325. },
  22326. "beforevalue": {
  22327. "description": "变更前",
  22328. "type": "number"
  22329. },
  22330. "deliverygoodscode": {
  22331. "description": "品种代码",
  22332. "type": "string"
  22333. },
  22334. "deliverygoodsid": {
  22335. "description": "品种id",
  22336. "type": "integer"
  22337. },
  22338. "deliverygoodsname": {
  22339. "description": "品种名称",
  22340. "type": "string"
  22341. },
  22342. "middlegoodscode": {
  22343. "description": "套保品种代码",
  22344. "type": "string"
  22345. },
  22346. "middlegoodsid": {
  22347. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22348. "type": "integer"
  22349. },
  22350. "middlegoodsname": {
  22351. "description": "套保品种名称",
  22352. "type": "string"
  22353. },
  22354. "operatetype": {
  22355. "description": "操作类型 - 1:新增 2:修改",
  22356. "type": "integer"
  22357. },
  22358. "paramchangetype": {
  22359. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22360. "type": "integer"
  22361. },
  22362. "wrstandardcode": {
  22363. "description": "现货商品代码",
  22364. "type": "string"
  22365. },
  22366. "wrstandardid": {
  22367. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22368. "type": "integer"
  22369. },
  22370. "wrstandardname": {
  22371. "description": "现货商品名称",
  22372. "type": "string"
  22373. }
  22374. }
  22375. },
  22376. "models.Ermcp3RootUserAccount": {
  22377. "type": "object",
  22378. "properties": {
  22379. "accountname": {
  22380. "description": "账户名称(机构名称)",
  22381. "type": "string"
  22382. },
  22383. "accountstatus": {
  22384. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22385. "type": "integer"
  22386. },
  22387. "applysrc": {
  22388. "description": "申请来源 - 1:管理端 2:终端",
  22389. "type": "integer"
  22390. },
  22391. "auditremark": {
  22392. "description": "审核备注",
  22393. "type": "string"
  22394. },
  22395. "auditsrc": {
  22396. "description": "审核来源 - 1:管理端 2:终端",
  22397. "type": "integer"
  22398. },
  22399. "audittime": {
  22400. "description": "审核时间",
  22401. "type": "string"
  22402. },
  22403. "audituserid": {
  22404. "description": "审核人",
  22405. "type": "integer"
  22406. },
  22407. "broker": {
  22408. "description": "所属经纪人ID",
  22409. "type": "integer"
  22410. },
  22411. "canceltime": {
  22412. "description": "销户时间",
  22413. "type": "string"
  22414. },
  22415. "canceluserid": {
  22416. "description": "销户人",
  22417. "type": "integer"
  22418. },
  22419. "canrecommend": {
  22420. "description": "是否可推荐 - 0:不可 1;可",
  22421. "type": "integer"
  22422. },
  22423. "createtime": {
  22424. "description": "创建时间",
  22425. "type": "string"
  22426. },
  22427. "creatorid": {
  22428. "description": "创建人",
  22429. "type": "integer"
  22430. },
  22431. "hasauth": {
  22432. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22433. "type": "integer"
  22434. },
  22435. "isanonymous": {
  22436. "description": "是否匿名下单 - 0:否 1:是",
  22437. "type": "integer"
  22438. },
  22439. "maxinvestornum": {
  22440. "description": "最大用户数(经纪会员下投资者个数)",
  22441. "type": "integer"
  22442. },
  22443. "memberuserid": {
  22444. "description": "所属会员ID",
  22445. "type": "integer"
  22446. },
  22447. "modifierid": {
  22448. "description": "修改人",
  22449. "type": "integer"
  22450. },
  22451. "modifyremark": {
  22452. "description": "变更备注",
  22453. "type": "string"
  22454. },
  22455. "modifystatus": {
  22456. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22457. "type": "integer"
  22458. },
  22459. "modifytime": {
  22460. "description": "修改时间",
  22461. "type": "string"
  22462. },
  22463. "nickname": {
  22464. "description": "昵称",
  22465. "type": "string"
  22466. },
  22467. "parenttopuser": {
  22468. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22469. "type": "string"
  22470. },
  22471. "parentuserid": {
  22472. "description": "所属机构ID",
  22473. "type": "integer"
  22474. },
  22475. "reckonaccountid": {
  22476. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22477. "type": "integer"
  22478. },
  22479. "refercount": {
  22480. "description": "推荐总人数",
  22481. "type": "integer"
  22482. },
  22483. "refereeuserid": {
  22484. "description": "推荐人ID",
  22485. "type": "integer"
  22486. },
  22487. "refernum": {
  22488. "description": "推荐码",
  22489. "type": "string"
  22490. },
  22491. "rootuserid": {
  22492. "description": "根用户ID",
  22493. "type": "integer"
  22494. },
  22495. "subaccountlevel": {
  22496. "description": "子账户层数",
  22497. "type": "integer"
  22498. },
  22499. "subarealevelpath": {
  22500. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22501. "type": "string"
  22502. },
  22503. "userid": {
  22504. "description": "用户ID",
  22505. "type": "integer"
  22506. },
  22507. "usertype": {
  22508. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22509. "type": "integer"
  22510. }
  22511. }
  22512. },
  22513. "models.Ermcp3SCMiddleGoods": {
  22514. "type": "object",
  22515. "properties": {
  22516. "biztype": {
  22517. "description": "业务类型 1:套保 2:套利",
  22518. "type": "integer"
  22519. },
  22520. "contractno": {
  22521. "description": "合同编号",
  22522. "type": "string"
  22523. },
  22524. "contracttype": {
  22525. "description": "合同类型 1:采购 -1:销售",
  22526. "type": "integer"
  22527. },
  22528. "convertratio": {
  22529. "description": "折算系数",
  22530. "type": "number"
  22531. },
  22532. "customername": {
  22533. "description": "对手手名称",
  22534. "type": "string"
  22535. },
  22536. "customeruserid": {
  22537. "description": "对手id",
  22538. "type": "integer"
  22539. },
  22540. "deliverygoodscode": {
  22541. "description": "现货品种代码",
  22542. "type": "string"
  22543. },
  22544. "deliverygoodsid": {
  22545. "description": "现货品种ID",
  22546. "type": "integer"
  22547. },
  22548. "deliverygoodsname": {
  22549. "description": "现货品种名称",
  22550. "type": "string"
  22551. },
  22552. "enumdicname": {
  22553. "description": "现货单位名称",
  22554. "type": "string"
  22555. },
  22556. "middlegoodsid": {
  22557. "description": "套保品种ID",
  22558. "type": "integer"
  22559. },
  22560. "middlegoodspricedqty3": {
  22561. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22562. "type": "number"
  22563. },
  22564. "needhedgeratio": {
  22565. "description": "套保比例",
  22566. "type": "number"
  22567. },
  22568. "pricedqty": {
  22569. "description": "已定价量",
  22570. "type": "number"
  22571. },
  22572. "relatedmiddlegoodsqty": {
  22573. "description": "已关联量(套保品种)(期货)",
  22574. "type": "number"
  22575. },
  22576. "spotcontractid": {
  22577. "description": "合同编号",
  22578. "type": "string"
  22579. },
  22580. "unitid": {
  22581. "description": "现货单位id",
  22582. "type": "integer"
  22583. },
  22584. "userid": {
  22585. "description": "用户id",
  22586. "type": "integer"
  22587. },
  22588. "vatrate": {
  22589. "description": "增值税率",
  22590. "type": "number"
  22591. },
  22592. "wrstandardcode": {
  22593. "description": "现货商品代码",
  22594. "type": "string"
  22595. },
  22596. "wrstandardid": {
  22597. "description": "现货商品id",
  22598. "type": "integer"
  22599. },
  22600. "wrstandardname": {
  22601. "description": "现货商品名称",
  22602. "type": "string"
  22603. }
  22604. }
  22605. },
  22606. "models.Ermcp3SCMiddleGoodsReport": {
  22607. "type": "object",
  22608. "properties": {
  22609. "begindate": {
  22610. "description": "开始交易日",
  22611. "type": "string"
  22612. },
  22613. "contractno": {
  22614. "description": "合同编号",
  22615. "type": "string"
  22616. },
  22617. "contracttype": {
  22618. "description": "合同类型 1:采购 -1:销售",
  22619. "type": "integer"
  22620. },
  22621. "convertratio": {
  22622. "description": "期初均价",
  22623. "type": "number"
  22624. },
  22625. "cycletime": {
  22626. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22627. "type": "string"
  22628. },
  22629. "cycletype": {
  22630. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22631. "type": "integer"
  22632. },
  22633. "deliverygoodscode": {
  22634. "description": "品种代码",
  22635. "type": "string"
  22636. },
  22637. "deliverygoodsid": {
  22638. "description": "现货品种ID",
  22639. "type": "integer"
  22640. },
  22641. "deliverygoodsname": {
  22642. "description": "品种名称",
  22643. "type": "string"
  22644. },
  22645. "diffprice": {
  22646. "description": "期初均价",
  22647. "type": "number"
  22648. },
  22649. "diffqty": {
  22650. "description": "期初均价",
  22651. "type": "number"
  22652. },
  22653. "enddate": {
  22654. "description": "结束交易日",
  22655. "type": "string"
  22656. },
  22657. "hedgeplanqty": {
  22658. "description": "期初均价",
  22659. "type": "number"
  22660. },
  22661. "matchname": {
  22662. "description": "交易对手方(个人:用户名称 企业:简称)",
  22663. "type": "string"
  22664. },
  22665. "matchnickname": {
  22666. "description": "交易对手方昵称",
  22667. "type": "string"
  22668. },
  22669. "middlegoodscode": {
  22670. "description": "套保品种代码",
  22671. "type": "string"
  22672. },
  22673. "middlegoodsid": {
  22674. "description": "套保品种ID",
  22675. "type": "integer"
  22676. },
  22677. "middlegoodsname": {
  22678. "description": "套保品种名称",
  22679. "type": "string"
  22680. },
  22681. "middlegoodspricedqty": {
  22682. "description": "期初均价",
  22683. "type": "number"
  22684. },
  22685. "middlegoodspricedqty2": {
  22686. "description": "期初均价",
  22687. "type": "number"
  22688. },
  22689. "middlegoodspricedqty3": {
  22690. "description": "期初均价",
  22691. "type": "number"
  22692. },
  22693. "needhedgeratio": {
  22694. "description": "期初均价",
  22695. "type": "number"
  22696. },
  22697. "pricedamount": {
  22698. "description": "期初均价",
  22699. "type": "number"
  22700. },
  22701. "pricedamount2": {
  22702. "description": "期初均价",
  22703. "type": "number"
  22704. },
  22705. "pricedqty": {
  22706. "description": "期初均价",
  22707. "type": "number"
  22708. },
  22709. "reckondate": {
  22710. "description": "日照时期(yyyyMMdd)",
  22711. "type": "string"
  22712. },
  22713. "relatedmiddlegoodsamount": {
  22714. "description": "期初均价",
  22715. "type": "number"
  22716. },
  22717. "relatedmiddlegoodsqty": {
  22718. "description": "期初均价",
  22719. "type": "number"
  22720. },
  22721. "spotcontractid": {
  22722. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22723. "type": "string"
  22724. },
  22725. "todayavgfutuprice": {
  22726. "description": "期初均价",
  22727. "type": "number"
  22728. },
  22729. "todayavgprice": {
  22730. "description": "期初均价",
  22731. "type": "number"
  22732. },
  22733. "todayavgprice2": {
  22734. "description": "期初均价",
  22735. "type": "number"
  22736. },
  22737. "todaypricedamount": {
  22738. "description": "期初均价",
  22739. "type": "number"
  22740. },
  22741. "todaypricedamount2": {
  22742. "description": "期初均价",
  22743. "type": "number"
  22744. },
  22745. "todaypricedqty": {
  22746. "description": "期初均价",
  22747. "type": "number"
  22748. },
  22749. "todayrelatedfutureqty": {
  22750. "description": "期初均价",
  22751. "type": "number"
  22752. },
  22753. "todayrelatedmiddlegoodsamount": {
  22754. "description": "期初均价",
  22755. "type": "number"
  22756. },
  22757. "todayrelatedmiddlegoodsqty": {
  22758. "description": "期初均价",
  22759. "type": "number"
  22760. },
  22761. "updatetime": {
  22762. "description": "更新时间",
  22763. "type": "string"
  22764. },
  22765. "userid": {
  22766. "description": "合同所属用户id",
  22767. "type": "integer"
  22768. },
  22769. "vatrate": {
  22770. "description": "期初均价",
  22771. "type": "number"
  22772. },
  22773. "wrstandardcode": {
  22774. "description": "商品(品类) 代码",
  22775. "type": "string"
  22776. },
  22777. "wrstandardid": {
  22778. "description": "现货商品ID",
  22779. "type": "integer"
  22780. },
  22781. "wrstandardname": {
  22782. "description": "商品(品类) 名称",
  22783. "type": "string"
  22784. }
  22785. }
  22786. },
  22787. "models.Ermcp3SellBuyContract": {
  22788. "type": "object",
  22789. "properties": {
  22790. "accountid": {
  22791. "description": "期货账户id",
  22792. "type": "string"
  22793. },
  22794. "accountname": {
  22795. "description": "账户名称",
  22796. "type": "string"
  22797. },
  22798. "attachment": {
  22799. "description": "附件",
  22800. "type": "string"
  22801. },
  22802. "audittime": {
  22803. "description": "审核时间",
  22804. "type": "string"
  22805. },
  22806. "bizsubjectid": {
  22807. "description": "归属业务部门ID - SubjectID",
  22808. "type": "integer"
  22809. },
  22810. "biztype": {
  22811. "description": "业务类型 1-套保 2-套利",
  22812. "type": "integer"
  22813. },
  22814. "brandname": {
  22815. "description": "品牌名称",
  22816. "type": "string"
  22817. },
  22818. "contracctstatus": {
  22819. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22820. "type": "integer"
  22821. },
  22822. "contractmargin": {
  22823. "description": "合同保证金",
  22824. "type": "number"
  22825. },
  22826. "contractno": {
  22827. "description": "合同编号",
  22828. "type": "string"
  22829. },
  22830. "contracttype": {
  22831. "description": "合同类型 1-采购, -1-销售",
  22832. "type": "integer"
  22833. },
  22834. "convertfactor": {
  22835. "description": "标仓系数(品类)",
  22836. "type": "number"
  22837. },
  22838. "createtime": {
  22839. "description": "创建时间",
  22840. "type": "string"
  22841. },
  22842. "currencyid": {
  22843. "description": "币种id",
  22844. "type": "integer"
  22845. },
  22846. "currencyname": {
  22847. "description": "币种名称",
  22848. "type": "string"
  22849. },
  22850. "daikaiamount": {
  22851. "description": "应收(开)票额 | 未收票额",
  22852. "type": "number"
  22853. },
  22854. "deliveryenddate": {
  22855. "description": "交割结束日",
  22856. "type": "string"
  22857. },
  22858. "deliverygoodscode": {
  22859. "description": "现货品种代码",
  22860. "type": "string"
  22861. },
  22862. "deliverygoodsid": {
  22863. "description": "现货商品ID",
  22864. "type": "integer"
  22865. },
  22866. "deliverygoodsname": {
  22867. "description": "现货品种名称",
  22868. "type": "string"
  22869. },
  22870. "deliverystartdate": {
  22871. "description": "交割开始日",
  22872. "type": "string"
  22873. },
  22874. "enddate": {
  22875. "description": "点价结束日",
  22876. "type": "string"
  22877. },
  22878. "enumdicname": {
  22879. "description": "单位名称",
  22880. "type": "string"
  22881. },
  22882. "goodscode": {
  22883. "description": "点价商品代码",
  22884. "type": "string"
  22885. },
  22886. "goodsgroupid": {
  22887. "description": "点价商品组id",
  22888. "type": "integer"
  22889. },
  22890. "goodsid": {
  22891. "description": "点价商品ID",
  22892. "type": "integer"
  22893. },
  22894. "goodsname": {
  22895. "description": "点价商品名称",
  22896. "type": "string"
  22897. },
  22898. "invoiceamount": {
  22899. "description": "已开票额",
  22900. "type": "number"
  22901. },
  22902. "loanamount": {
  22903. "description": "贷款总额=已定价额+调整金额",
  22904. "type": "number"
  22905. },
  22906. "margin": {
  22907. "description": "保证金",
  22908. "type": "number"
  22909. },
  22910. "meruserid": {
  22911. "description": "跟单员id",
  22912. "type": "integer"
  22913. },
  22914. "meruserlogincode": {
  22915. "description": "跟单员登录代码",
  22916. "type": "string"
  22917. },
  22918. "merusername": {
  22919. "description": "跟单员名称",
  22920. "type": "string"
  22921. },
  22922. "nickname": {
  22923. "description": "账户昵称",
  22924. "type": "string"
  22925. },
  22926. "orireckonrealqty": {
  22927. "description": "应交收量",
  22928. "type": "number"
  22929. },
  22930. "payamount": {
  22931. "description": "已收付额(收款或付款)",
  22932. "type": "number"
  22933. },
  22934. "preinvoiceamount": {
  22935. "description": "预收(开)票额",
  22936. "type": "number"
  22937. },
  22938. "prepayamount": {
  22939. "description": "预收付额",
  22940. "type": "number"
  22941. },
  22942. "price": {
  22943. "description": "价格",
  22944. "type": "number"
  22945. },
  22946. "pricedamount": {
  22947. "description": "已定价额",
  22948. "type": "number"
  22949. },
  22950. "pricedavg": {
  22951. "description": "已点均价",
  22952. "type": "number"
  22953. },
  22954. "pricedqty": {
  22955. "description": "已定价量",
  22956. "type": "number"
  22957. },
  22958. "pricemove": {
  22959. "description": "升贴水",
  22960. "type": "number"
  22961. },
  22962. "pricetype": {
  22963. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22964. "type": "integer"
  22965. },
  22966. "producttype": {
  22967. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22968. "type": "integer"
  22969. },
  22970. "qty": {
  22971. "description": "合同量",
  22972. "type": "number"
  22973. },
  22974. "reckonadjustamount": {
  22975. "description": "调整金额",
  22976. "type": "number"
  22977. },
  22978. "reckonedamount": {
  22979. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22980. "type": "number"
  22981. },
  22982. "reckonotheramount": {
  22983. "description": "其它费用",
  22984. "type": "number"
  22985. },
  22986. "reckonrealqty": {
  22987. "description": "已交收量",
  22988. "type": "number"
  22989. },
  22990. "remark": {
  22991. "description": "备注",
  22992. "type": "string"
  22993. },
  22994. "saleuserid": {
  22995. "description": "业务员id",
  22996. "type": "integer"
  22997. },
  22998. "saleuserlogincode": {
  22999. "description": "业务员登录代码",
  23000. "type": "string"
  23001. },
  23002. "saleusername": {
  23003. "description": "业务员名称",
  23004. "type": "string"
  23005. },
  23006. "spotcontractid": {
  23007. "description": "合同ID",
  23008. "type": "string"
  23009. },
  23010. "spotgoodsbrandid": {
  23011. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23012. "type": "integer"
  23013. },
  23014. "spotgoodsdesc": {
  23015. "description": "商品型号(商品规格)",
  23016. "type": "string"
  23017. },
  23018. "startdate": {
  23019. "description": "点价开始日",
  23020. "type": "string"
  23021. },
  23022. "subjectid": {
  23023. "description": "交易主体ID",
  23024. "type": "integer"
  23025. },
  23026. "subjectname": {
  23027. "description": "交易主体名称",
  23028. "type": "string"
  23029. },
  23030. "totalamount": {
  23031. "description": "合计总额",
  23032. "type": "number"
  23033. },
  23034. "tradeuserid": {
  23035. "description": "交易员id",
  23036. "type": "integer"
  23037. },
  23038. "tradeuserlogincode": {
  23039. "description": "交易员登录代码",
  23040. "type": "string"
  23041. },
  23042. "tradeusername": {
  23043. "description": "交易员名称",
  23044. "type": "string"
  23045. },
  23046. "unpayamount": {
  23047. "description": "应收付款额(应支付或应收款) | 未付款额",
  23048. "type": "number"
  23049. },
  23050. "unpricedqty": {
  23051. "description": "未定价量",
  23052. "type": "number"
  23053. },
  23054. "unsureqty": {
  23055. "description": "未确定量 | 未交收量",
  23056. "type": "number"
  23057. },
  23058. "userid": {
  23059. "description": "机构ID",
  23060. "type": "integer"
  23061. },
  23062. "vatrate": {
  23063. "description": "增值税率",
  23064. "type": "number"
  23065. },
  23066. "wrstandardcode": {
  23067. "description": "品类代码",
  23068. "type": "string"
  23069. },
  23070. "wrstandardid": {
  23071. "description": "品类ID",
  23072. "type": "integer"
  23073. },
  23074. "wrstandardname": {
  23075. "description": "品类名称",
  23076. "type": "string"
  23077. }
  23078. }
  23079. },
  23080. "models.Ermcp3SpotGoodsPrice": {
  23081. "type": "object",
  23082. "properties": {
  23083. "areauserid": {
  23084. "description": "所属机构id",
  23085. "type": "integer"
  23086. },
  23087. "brandname": {
  23088. "description": "品牌名称",
  23089. "type": "string"
  23090. },
  23091. "currencyid": {
  23092. "description": "报价货币ID",
  23093. "type": "integer"
  23094. },
  23095. "currencyname": {
  23096. "description": "币种名称",
  23097. "type": "string"
  23098. },
  23099. "deliverygoodscode": {
  23100. "description": "现货商品代码",
  23101. "type": "string"
  23102. },
  23103. "deliverygoodsid": {
  23104. "description": "现货商品id",
  23105. "type": "integer"
  23106. },
  23107. "deliverygoodsname": {
  23108. "description": "现货商品名称",
  23109. "type": "string"
  23110. },
  23111. "enumdicname": {
  23112. "description": "现货商品单位名称",
  23113. "type": "string"
  23114. },
  23115. "gbenumdicname": {
  23116. "description": "品类单位名称",
  23117. "type": "string"
  23118. },
  23119. "gmunitid": {
  23120. "description": "品类单位id",
  23121. "type": "integer"
  23122. },
  23123. "isvalid": {
  23124. "description": "是否有效 - 0:无效 1:有效",
  23125. "type": "integer"
  23126. },
  23127. "operateid": {
  23128. "description": "最后操作人",
  23129. "type": "integer"
  23130. },
  23131. "operatesrc": {
  23132. "description": "最后操作来源 - 1:管理端 2:终端",
  23133. "type": "integer"
  23134. },
  23135. "operatetime": {
  23136. "description": "最后操作时间",
  23137. "type": "string"
  23138. },
  23139. "operatorname": {
  23140. "description": "操作人名称",
  23141. "type": "string"
  23142. },
  23143. "spotgoodsbrandid": {
  23144. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23145. "type": "integer"
  23146. },
  23147. "spotgoodsprice": {
  23148. "description": "现货价格",
  23149. "type": "number"
  23150. },
  23151. "tradedate": {
  23152. "description": "交易日(yyyyMMdd)",
  23153. "type": "string"
  23154. },
  23155. "unitid": {
  23156. "description": "现货商品单位id",
  23157. "type": "integer"
  23158. },
  23159. "wrstandardcode": {
  23160. "description": "品类代码",
  23161. "type": "string"
  23162. },
  23163. "wrstandardid": {
  23164. "description": "现货品类ID(通用则为0)",
  23165. "type": "integer"
  23166. },
  23167. "wrstandardname": {
  23168. "description": "品类名称",
  23169. "type": "string"
  23170. }
  23171. }
  23172. },
  23173. "models.Ermcp3SpotGoodsPriceLog": {
  23174. "type": "object",
  23175. "properties": {
  23176. "areauserid": {
  23177. "description": "所属机构id",
  23178. "type": "integer"
  23179. },
  23180. "brandname": {
  23181. "description": "品牌名称",
  23182. "type": "string"
  23183. },
  23184. "currencyid": {
  23185. "description": "报价货币ID",
  23186. "type": "integer"
  23187. },
  23188. "deliverygoodscode": {
  23189. "description": "现货商品代码",
  23190. "type": "string"
  23191. },
  23192. "deliverygoodsid": {
  23193. "description": "现货商品id",
  23194. "type": "integer"
  23195. },
  23196. "deliverygoodsname": {
  23197. "description": "现货商品名称",
  23198. "type": "string"
  23199. },
  23200. "enumdicname": {
  23201. "description": "现货商品单位名称",
  23202. "type": "string"
  23203. },
  23204. "gbenumdicname": {
  23205. "description": "品类单位名称",
  23206. "type": "string"
  23207. },
  23208. "gmunitid": {
  23209. "description": "品类单位id",
  23210. "type": "integer"
  23211. },
  23212. "logid": {
  23213. "description": "日志id",
  23214. "type": "integer"
  23215. },
  23216. "operateid": {
  23217. "description": "最后操作人",
  23218. "type": "integer"
  23219. },
  23220. "operatesrc": {
  23221. "description": "最后操作来源 - 1:管理端 2:终端",
  23222. "type": "integer"
  23223. },
  23224. "operatetime": {
  23225. "description": "最后操作时间",
  23226. "type": "string"
  23227. },
  23228. "operatorname": {
  23229. "description": "操作人名称",
  23230. "type": "string"
  23231. },
  23232. "spotgoodsbrandid": {
  23233. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23234. "type": "integer"
  23235. },
  23236. "spotgoodsprice": {
  23237. "description": "现货价格",
  23238. "type": "number"
  23239. },
  23240. "tradedate": {
  23241. "description": "交易日(yyyyMMdd)",
  23242. "type": "string"
  23243. },
  23244. "unitid": {
  23245. "description": "现货商品单位id",
  23246. "type": "integer"
  23247. },
  23248. "wrstandardcode": {
  23249. "description": "品类代码",
  23250. "type": "string"
  23251. },
  23252. "wrstandardid": {
  23253. "description": "现货品类ID(通用则为0)",
  23254. "type": "integer"
  23255. },
  23256. "wrstandardname": {
  23257. "description": "品类名称",
  23258. "type": "string"
  23259. }
  23260. }
  23261. },
  23262. "models.Ermcp3SubTaaccount": {
  23263. "type": "object",
  23264. "properties": {
  23265. "accountid": {
  23266. "description": "资金账户ID",
  23267. "type": "integer"
  23268. },
  23269. "parentaccountcode": {
  23270. "description": "所属根账号代码(母账号代码)",
  23271. "type": "string"
  23272. },
  23273. "parentaccountid": {
  23274. "description": "所属根账号(母账号)",
  23275. "type": "integer"
  23276. },
  23277. "taname": {
  23278. "description": "资金账号名称",
  23279. "type": "string"
  23280. },
  23281. "tradestatus": {
  23282. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23283. "type": "integer"
  23284. },
  23285. "username": {
  23286. "description": "交易用户",
  23287. "type": "string"
  23288. }
  23289. }
  23290. },
  23291. "models.Ermcp3TaFutuReDataReport": {
  23292. "type": "object",
  23293. "properties": {
  23294. "accountid": {
  23295. "description": "交易账户",
  23296. "type": "integer"
  23297. },
  23298. "accountname": {
  23299. "description": "交易账号名称",
  23300. "type": "string"
  23301. },
  23302. "agreeunit": {
  23303. "description": "商品合约单位",
  23304. "type": "number"
  23305. },
  23306. "begindate": {
  23307. "description": "开始交易日",
  23308. "type": "string"
  23309. },
  23310. "buyorsell": {
  23311. "description": "持仓方向",
  23312. "type": "integer"
  23313. },
  23314. "charge": {
  23315. "description": "手续费",
  23316. "type": "number"
  23317. },
  23318. "closeavgprice": {
  23319. "description": "期初均价",
  23320. "type": "number"
  23321. },
  23322. "closepl": {
  23323. "description": "平仓损益",
  23324. "type": "number"
  23325. },
  23326. "currencyid": {
  23327. "description": "结算币种ID",
  23328. "type": "integer"
  23329. },
  23330. "currencyname": {
  23331. "description": "币种名称",
  23332. "type": "string"
  23333. },
  23334. "cycletime": {
  23335. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23336. "type": "string"
  23337. },
  23338. "cycletype": {
  23339. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23340. "type": "integer"
  23341. },
  23342. "enddate": {
  23343. "description": "结束交易日",
  23344. "type": "string"
  23345. },
  23346. "enumdicname": {
  23347. "description": "单位名称",
  23348. "type": "string"
  23349. },
  23350. "floatpl": {
  23351. "description": "浮动损益",
  23352. "type": "number"
  23353. },
  23354. "goodscode": {
  23355. "description": "交易合约代码",
  23356. "type": "string"
  23357. },
  23358. "goodsgroupid": {
  23359. "description": "交易品种",
  23360. "type": "integer"
  23361. },
  23362. "goodsgroupname": {
  23363. "description": "交易品种名称",
  23364. "type": "string"
  23365. },
  23366. "goodsgroupspotqty": {
  23367. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23368. "type": "number"
  23369. },
  23370. "goodsid": {
  23371. "description": "交易合约",
  23372. "type": "integer"
  23373. },
  23374. "goodsname": {
  23375. "description": "交易合约名称",
  23376. "type": "string"
  23377. },
  23378. "goodunitid": {
  23379. "description": "交易合约单位id",
  23380. "type": "integer"
  23381. },
  23382. "holdamount": {
  23383. "description": "期末持仓额",
  23384. "type": "number"
  23385. },
  23386. "holdqty": {
  23387. "description": "期初均价",
  23388. "type": "number"
  23389. },
  23390. "lastholdamount": {
  23391. "description": "当前持仓额",
  23392. "type": "number"
  23393. },
  23394. "lastprice": {
  23395. "description": "最新价",
  23396. "type": "number"
  23397. },
  23398. "middlegoodsid": {
  23399. "description": "套保品种id",
  23400. "type": "integer"
  23401. },
  23402. "middlegoodsname": {
  23403. "description": "套保商品名称",
  23404. "type": "string"
  23405. },
  23406. "middlegoodsqty": {
  23407. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23408. "type": "number"
  23409. },
  23410. "middlgoodscode": {
  23411. "description": "套保商品代码",
  23412. "type": "string"
  23413. },
  23414. "openamount": {
  23415. "description": "期末开仓额",
  23416. "type": "number"
  23417. },
  23418. "openavgprice": {
  23419. "description": "期初均价",
  23420. "type": "number"
  23421. },
  23422. "oriholdamount": {
  23423. "description": "期初持仓额",
  23424. "type": "number"
  23425. },
  23426. "oriholdqty": {
  23427. "description": "期初均价",
  23428. "type": "number"
  23429. },
  23430. "oriopenamount": {
  23431. "description": "期初开仓额",
  23432. "type": "number"
  23433. },
  23434. "outergroupcode": {
  23435. "description": "交易品种代码",
  23436. "type": "string"
  23437. },
  23438. "qtydecimalplace": {
  23439. "description": "成交量小数位",
  23440. "type": "integer"
  23441. },
  23442. "reckondate": {
  23443. "description": "日照时期(yyyyMMdd)",
  23444. "type": "string"
  23445. },
  23446. "reckonholdamount": {
  23447. "description": "结算持仓额",
  23448. "type": "number"
  23449. },
  23450. "reckonpl": {
  23451. "description": "结算损益",
  23452. "type": "number"
  23453. },
  23454. "reckonpl2": {
  23455. "description": "结算逐笔盈亏",
  23456. "type": "number"
  23457. },
  23458. "reckonprice": {
  23459. "description": "结算价",
  23460. "type": "number"
  23461. },
  23462. "relateduserid": {
  23463. "description": "账户关联用户ID",
  23464. "type": "integer"
  23465. },
  23466. "todaycloseamount": {
  23467. "description": "今平仓额",
  23468. "type": "number"
  23469. },
  23470. "todaycloseqty": {
  23471. "description": "期初均价",
  23472. "type": "number"
  23473. },
  23474. "todaygoodsgroupspotqty": {
  23475. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23476. "type": "number"
  23477. },
  23478. "todaymiddlegoodsqty": {
  23479. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23480. "type": "number"
  23481. },
  23482. "todayopenamount": {
  23483. "description": "今开仓额",
  23484. "type": "number"
  23485. },
  23486. "todayopenqty": {
  23487. "description": "期初均价",
  23488. "type": "number"
  23489. },
  23490. "userid": {
  23491. "description": "账户所属用户ID",
  23492. "type": "integer"
  23493. }
  23494. }
  23495. },
  23496. "models.Ermcp3TradeLinkDetail": {
  23497. "type": "object",
  23498. "properties": {
  23499. "accountid": {
  23500. "description": "资金账号",
  23501. "type": "integer"
  23502. },
  23503. "agreeunit": {
  23504. "description": "合约乘数",
  23505. "type": "number"
  23506. },
  23507. "areauserid": {
  23508. "description": "所属机构",
  23509. "type": "string"
  23510. },
  23511. "bizsubjectid": {
  23512. "description": "归属业务部门ID - SubjectID",
  23513. "type": "string"
  23514. },
  23515. "buyorsell": {
  23516. "description": "方向 - 0:买 1:卖",
  23517. "type": "integer"
  23518. },
  23519. "channelbuildtype": {
  23520. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23521. "type": "integer"
  23522. },
  23523. "contractno": {
  23524. "description": "现货编号 (合同编号)",
  23525. "type": "string"
  23526. },
  23527. "convertratio": {
  23528. "description": "折算系数",
  23529. "type": "number"
  23530. },
  23531. "createtime": {
  23532. "description": "关联时间 | 创建时间",
  23533. "type": "string"
  23534. },
  23535. "creatorid": {
  23536. "description": "创建人ID",
  23537. "type": "string"
  23538. },
  23539. "creatorsrc": {
  23540. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23541. "type": "integer"
  23542. },
  23543. "enumdicname": {
  23544. "description": "单位名称",
  23545. "type": "string"
  23546. },
  23547. "goodscode": {
  23548. "description": "合约代码",
  23549. "type": "string"
  23550. },
  23551. "goodsgroupid": {
  23552. "description": "对冲品种ID[期货合约商品组ID]",
  23553. "type": "integer"
  23554. },
  23555. "goodsid": {
  23556. "description": "商品ID",
  23557. "type": "integer"
  23558. },
  23559. "goodsname": {
  23560. "description": "合约名称",
  23561. "type": "string"
  23562. },
  23563. "hedgeflag": {
  23564. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23565. "type": "integer"
  23566. },
  23567. "linkdetailid": {
  23568. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23569. "type": "string"
  23570. },
  23571. "linkstatus": {
  23572. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23573. "type": "integer"
  23574. },
  23575. "middlegoodscode": {
  23576. "description": "套保品种代码",
  23577. "type": "string"
  23578. },
  23579. "middlegoodsid": {
  23580. "description": "套保品种ID",
  23581. "type": "integer"
  23582. },
  23583. "middlegoodsname": {
  23584. "description": "套保品种名称",
  23585. "type": "string"
  23586. },
  23587. "relatedlot": {
  23588. "description": "关联手数",
  23589. "type": "number"
  23590. },
  23591. "relatedmode": {
  23592. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23593. "type": "integer"
  23594. },
  23595. "relatedqty": {
  23596. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23597. "type": "number"
  23598. },
  23599. "retcode": {
  23600. "description": "返回码",
  23601. "type": "integer"
  23602. },
  23603. "saleuserid": {
  23604. "description": "业务员ID",
  23605. "type": "string"
  23606. },
  23607. "spotcontractid": {
  23608. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23609. "type": "string"
  23610. },
  23611. "taname": {
  23612. "description": "期货账户",
  23613. "type": "string"
  23614. },
  23615. "tradedate": {
  23616. "description": "关联交易日(yyyyMMdd)",
  23617. "type": "string"
  23618. },
  23619. "tradeid": {
  23620. "description": "期货订单号 | 内部成交单ID",
  23621. "type": "string"
  23622. },
  23623. "tradelot": {
  23624. "description": "成交数量 | 成交手数",
  23625. "type": "integer"
  23626. },
  23627. "tradeprice": {
  23628. "description": "成交价格",
  23629. "type": "number"
  23630. },
  23631. "tradetime": {
  23632. "description": "期货成交时间",
  23633. "type": "string"
  23634. },
  23635. "tradetradedate": {
  23636. "description": "成交交易日(yyyyMMdd)",
  23637. "type": "string"
  23638. },
  23639. "username": {
  23640. "description": "用户名称",
  23641. "type": "string"
  23642. }
  23643. }
  23644. },
  23645. "models.Ermcp3Wrstandard": {
  23646. "type": "object",
  23647. "properties": {
  23648. "areauserid": {
  23649. "description": "所属机构",
  23650. "type": "integer"
  23651. },
  23652. "cantrade": {
  23653. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23654. "type": "integer"
  23655. },
  23656. "convertfactor": {
  23657. "description": "标仓系数",
  23658. "type": "number"
  23659. },
  23660. "createtime": {
  23661. "description": "创建时间",
  23662. "type": "string"
  23663. },
  23664. "creatorid": {
  23665. "description": "创建人",
  23666. "type": "integer"
  23667. },
  23668. "deliverygoodsid": {
  23669. "description": "现货品种ID",
  23670. "type": "integer"
  23671. },
  23672. "enumdicname": {
  23673. "description": "品类单位名称",
  23674. "type": "string"
  23675. },
  23676. "isvalid": {
  23677. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23678. "type": "integer"
  23679. },
  23680. "minivalue": {
  23681. "description": "最小变动值",
  23682. "type": "integer"
  23683. },
  23684. "minivaluedp": {
  23685. "description": "最小变动值小数位",
  23686. "type": "integer"
  23687. },
  23688. "realminivalue": {
  23689. "description": "实际最小变动值",
  23690. "type": "integer"
  23691. },
  23692. "realminivaluedp": {
  23693. "description": "实际最小变动值小数位",
  23694. "type": "integer"
  23695. },
  23696. "remark": {
  23697. "description": "备注",
  23698. "type": "string"
  23699. },
  23700. "unitid": {
  23701. "description": "品类单位ID",
  23702. "type": "integer"
  23703. },
  23704. "updatetime": {
  23705. "description": "更新时间",
  23706. "type": "string"
  23707. },
  23708. "wrstandardcode": {
  23709. "description": "品类代码",
  23710. "type": "string"
  23711. },
  23712. "wrstandardid": {
  23713. "description": "品类ID(SEQ_WRSTANDARD)",
  23714. "type": "integer"
  23715. },
  23716. "wrstandardname": {
  23717. "description": "品类名称",
  23718. "type": "string"
  23719. }
  23720. }
  23721. },
  23722. "models.Ermcp8EnableHedgeditem": {
  23723. "type": "object",
  23724. "properties": {
  23725. "accountname": {
  23726. "description": "套期主体",
  23727. "type": "string"
  23728. },
  23729. "hedgeditemid": {
  23730. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23731. "type": "string"
  23732. },
  23733. "hedgeditemname": {
  23734. "description": "项目名称",
  23735. "type": "string"
  23736. },
  23737. "hedgeditemnum": {
  23738. "description": "项目编号",
  23739. "type": "string"
  23740. },
  23741. "hedgedtype": {
  23742. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23743. "type": "integer"
  23744. },
  23745. "planenddate": {
  23746. "description": "计划结束日期",
  23747. "type": "string"
  23748. },
  23749. "planstartdate": {
  23750. "description": "计划开始日期",
  23751. "type": "string"
  23752. },
  23753. "wrstandardid": {
  23754. "description": "现货商品ID",
  23755. "type": "integer"
  23756. },
  23757. "wrstandardname": {
  23758. "description": "现货商品",
  23759. "type": "string"
  23760. }
  23761. }
  23762. },
  23763. "models.Ermcp8HedgeditemReport": {
  23764. "type": "object",
  23765. "properties": {
  23766. "accountname": {
  23767. "description": "套期主体",
  23768. "type": "string"
  23769. },
  23770. "areauserid": {
  23771. "description": "企业ID",
  23772. "type": "integer"
  23773. },
  23774. "curprice": {
  23775. "description": "[当日现货市场价]当前市场价",
  23776. "type": "number"
  23777. },
  23778. "enumdicname": {
  23779. "description": "单位",
  23780. "type": "string"
  23781. },
  23782. "exeamount": {
  23783. "description": "[执行现货金额]执行市价总额",
  23784. "type": "number"
  23785. },
  23786. "exeavgprice": {
  23787. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  23788. "type": "number"
  23789. },
  23790. "exeqty": {
  23791. "description": "[执行数量]执行现货量",
  23792. "type": "number"
  23793. },
  23794. "futurehedgepl": {
  23795. "description": "期货实际损益",
  23796. "type": "number"
  23797. },
  23798. "futurehedgeplchange": {
  23799. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  23800. "type": "number"
  23801. },
  23802. "futurepl": {
  23803. "description": "期货套期损益",
  23804. "type": "number"
  23805. },
  23806. "futureplchange": {
  23807. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  23808. "type": "number"
  23809. },
  23810. "hedgeamount": {
  23811. "description": "[套期现货金额]套期市价总额",
  23812. "type": "number"
  23813. },
  23814. "hedgeditemnum": {
  23815. "description": "项目编号,模糊查询",
  23816. "type": "string"
  23817. },
  23818. "hedgeditemstatus": {
  23819. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23820. "type": "integer"
  23821. },
  23822. "hedgedtype": {
  23823. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23824. "type": "integer"
  23825. },
  23826. "hedgeqty": {
  23827. "description": "[套期数量]套期现货量",
  23828. "type": "number"
  23829. },
  23830. "oriavgprice": {
  23831. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  23832. "type": "number"
  23833. },
  23834. "orifuturehedgepl": {
  23835. "description": "期初期货实际损益",
  23836. "type": "number"
  23837. },
  23838. "orifuturepl": {
  23839. "description": "期初期货套期损益",
  23840. "type": "number"
  23841. },
  23842. "orispothedgepl": {
  23843. "description": "期初现货实际损益",
  23844. "type": "number"
  23845. },
  23846. "orispotpl": {
  23847. "description": "期初现货套期损益",
  23848. "type": "number"
  23849. },
  23850. "planenddate": {
  23851. "description": "计划结束日期",
  23852. "type": "string"
  23853. },
  23854. "planstartdate": {
  23855. "description": "计划开始日期",
  23856. "type": "string"
  23857. },
  23858. "spothedgepl": {
  23859. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23860. "type": "number"
  23861. },
  23862. "spothedgeplchange": {
  23863. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  23864. "type": "number"
  23865. },
  23866. "spotpl": {
  23867. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  23868. "type": "number"
  23869. },
  23870. "spotplchange": {
  23871. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  23872. "type": "number"
  23873. },
  23874. "tradeuserid": {
  23875. "description": "交易用户ID",
  23876. "type": "integer"
  23877. },
  23878. "unexeqty": {
  23879. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23880. "type": "number"
  23881. },
  23882. "wrstandardcode": {
  23883. "description": "现货品类代码",
  23884. "type": "string"
  23885. },
  23886. "wrstandardid": {
  23887. "description": "现货商品ID",
  23888. "type": "integer"
  23889. },
  23890. "wrstandardname": {
  23891. "description": "[现货商品]现货品类名称",
  23892. "type": "string"
  23893. }
  23894. }
  23895. },
  23896. "models.Ermcp8RunningHedgeditem": {
  23897. "type": "object",
  23898. "properties": {
  23899. "accountname": {
  23900. "description": "套期主体",
  23901. "type": "string"
  23902. },
  23903. "applyid": {
  23904. "description": "申请人",
  23905. "type": "integer"
  23906. },
  23907. "applysrc": {
  23908. "description": "申请来源 - 1:管理端 2:终端",
  23909. "type": "integer"
  23910. },
  23911. "areauserid": {
  23912. "description": "企业ID",
  23913. "type": "integer"
  23914. },
  23915. "auditid": {
  23916. "description": "审核人",
  23917. "type": "integer"
  23918. },
  23919. "auditremark": {
  23920. "description": "审核备注",
  23921. "type": "string"
  23922. },
  23923. "auditsrc": {
  23924. "description": "审核来源 - 1:管理端 2:终端",
  23925. "type": "integer"
  23926. },
  23927. "audittime": {
  23928. "description": "审核时间",
  23929. "type": "string"
  23930. },
  23931. "audittradedate": {
  23932. "description": "审核交易日(yyyyMMdd)",
  23933. "type": "string"
  23934. },
  23935. "createtime": {
  23936. "description": "申请时间",
  23937. "type": "string"
  23938. },
  23939. "curprice": {
  23940. "description": "当前市场价",
  23941. "type": "number"
  23942. },
  23943. "curstock": {
  23944. "description": "期末库存量 = 采购总量 - 销售总量",
  23945. "type": "number"
  23946. },
  23947. "deliverygoodsid": {
  23948. "description": "现货品种ID",
  23949. "type": "integer"
  23950. },
  23951. "enddate": {
  23952. "description": "完成日期",
  23953. "type": "string"
  23954. },
  23955. "endtradedate": {
  23956. "description": "完成交易日",
  23957. "type": "string"
  23958. },
  23959. "enumdicname": {
  23960. "description": "单位",
  23961. "type": "string"
  23962. },
  23963. "exeamount": {
  23964. "description": "执行市价总额",
  23965. "type": "number"
  23966. },
  23967. "exeavgprice": {
  23968. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  23969. "type": "number"
  23970. },
  23971. "execontractamount": {
  23972. "description": "执行定价总额",
  23973. "type": "number"
  23974. },
  23975. "exeqty": {
  23976. "description": "执行现货量",
  23977. "type": "number"
  23978. },
  23979. "exerestamount": {
  23980. "description": "执行剩余市价总额【现货贸易】",
  23981. "type": "number"
  23982. },
  23983. "futurefloatpl": {
  23984. "description": "期货浮动损益",
  23985. "type": "number"
  23986. },
  23987. "futurehedgepl": {
  23988. "description": "期货实际损益",
  23989. "type": "number"
  23990. },
  23991. "futurehedgeplchange": {
  23992. "description": "期货实际损益变动",
  23993. "type": "number"
  23994. },
  23995. "futurepl": {
  23996. "description": "期货套期损益",
  23997. "type": "number"
  23998. },
  23999. "futureplchange": {
  24000. "description": "期货套期损益变动",
  24001. "type": "number"
  24002. },
  24003. "hedgeamount": {
  24004. "description": "套期市价总额",
  24005. "type": "number"
  24006. },
  24007. "hedgecontractamount": {
  24008. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  24009. "type": "number"
  24010. },
  24011. "hedgeditemid": {
  24012. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  24013. "type": "string"
  24014. },
  24015. "hedgeditemname": {
  24016. "description": "项目名称",
  24017. "type": "string"
  24018. },
  24019. "hedgeditemnum": {
  24020. "description": "项目编号",
  24021. "type": "string"
  24022. },
  24023. "hedgeditemstatus": {
  24024. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24025. "type": "integer"
  24026. },
  24027. "hedgedtype": {
  24028. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  24029. "type": "integer"
  24030. },
  24031. "hedgeqty": {
  24032. "description": "套期现货量",
  24033. "type": "number"
  24034. },
  24035. "hedgerate": {
  24036. "description": "套保比率",
  24037. "type": "number"
  24038. },
  24039. "hedgerestamount": {
  24040. "description": "套期剩余市价总额【现货贸易】",
  24041. "type": "number"
  24042. },
  24043. "hedgesumpl": {
  24044. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  24045. "type": "number"
  24046. },
  24047. "middlegoodslist": {
  24048. "description": "套期商品列表",
  24049. "type": "array",
  24050. "items": {
  24051. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  24052. }
  24053. },
  24054. "oriavgprice": {
  24055. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  24056. "type": "number"
  24057. },
  24058. "orifuturehedgepl": {
  24059. "description": "期初期货实际损益",
  24060. "type": "number"
  24061. },
  24062. "orifuturepl": {
  24063. "description": "期初期货套期损益",
  24064. "type": "number"
  24065. },
  24066. "orispothedgepl": {
  24067. "description": "期初现货实际损益",
  24068. "type": "number"
  24069. },
  24070. "orispotpl": {
  24071. "description": "期初现货套期损益",
  24072. "type": "number"
  24073. },
  24074. "planenddate": {
  24075. "description": "计划结束日期",
  24076. "type": "string"
  24077. },
  24078. "planstartdate": {
  24079. "description": "计划开始日期",
  24080. "type": "string"
  24081. },
  24082. "remark": {
  24083. "description": "备注",
  24084. "type": "string"
  24085. },
  24086. "spotbookamount": {
  24087. "description": "现货账面总额",
  24088. "type": "number"
  24089. },
  24090. "spotfloatpl": {
  24091. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24092. "type": "number"
  24093. },
  24094. "spothedgepl": {
  24095. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24096. "type": "number"
  24097. },
  24098. "spothedgeplchange": {
  24099. "description": "现货实际损益变动",
  24100. "type": "number"
  24101. },
  24102. "spotpl": {
  24103. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  24104. "type": "number"
  24105. },
  24106. "spotplchange": {
  24107. "description": "现货套期损益变动",
  24108. "type": "number"
  24109. },
  24110. "spottradepl": {
  24111. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  24112. "type": "number"
  24113. },
  24114. "sumobspl": {
  24115. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  24116. "type": "number"
  24117. },
  24118. "tradeuserid": {
  24119. "description": "交易用户ID",
  24120. "type": "integer"
  24121. },
  24122. "unexeqty": {
  24123. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  24124. "type": "number"
  24125. },
  24126. "updatetime": {
  24127. "description": "更新时间",
  24128. "type": "string"
  24129. },
  24130. "vatpl": {
  24131. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  24132. "type": "number"
  24133. },
  24134. "vatrate": {
  24135. "description": "增值税",
  24136. "type": "number"
  24137. },
  24138. "wrstandardid": {
  24139. "description": "现货商品ID",
  24140. "type": "integer"
  24141. },
  24142. "wrstandardname": {
  24143. "description": "商品名称",
  24144. "type": "string"
  24145. }
  24146. }
  24147. },
  24148. "models.ErmcpBizGroupEx": {
  24149. "type": "object",
  24150. "properties": {
  24151. "acclist": {
  24152. "description": "账号列表",
  24153. "type": "array",
  24154. "items": {
  24155. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  24156. }
  24157. },
  24158. "bizgroupid": {
  24159. "description": "业务分组id",
  24160. "type": "integer"
  24161. },
  24162. "biztype": {
  24163. "description": "业务类型 1-套保 2-套利",
  24164. "type": "integer"
  24165. },
  24166. "wrlist": {
  24167. "description": "现货商品表",
  24168. "type": "array",
  24169. "items": {
  24170. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  24171. }
  24172. }
  24173. }
  24174. },
  24175. "models.ErmcpBizGroupSpotGoods": {
  24176. "type": "object",
  24177. "properties": {
  24178. "areauserid": {
  24179. "description": "所属机构id",
  24180. "type": "integer"
  24181. },
  24182. "bizgroupid": {
  24183. "description": "分组id",
  24184. "type": "integer"
  24185. },
  24186. "biztype": {
  24187. "description": "业务类型 1-套保 2-套利",
  24188. "type": "integer"
  24189. },
  24190. "deliverygoodscode": {
  24191. "description": "现货商品代码",
  24192. "type": "string"
  24193. },
  24194. "deliverygoodsid": {
  24195. "description": "现货商品id",
  24196. "type": "integer"
  24197. },
  24198. "deliverygoodsname": {
  24199. "description": "现货商品名称",
  24200. "type": "string"
  24201. },
  24202. "unitid": {
  24203. "description": "现货商品单位id",
  24204. "type": "integer"
  24205. }
  24206. }
  24207. },
  24208. "models.ErmcpBizGroupTaAccount": {
  24209. "type": "object",
  24210. "properties": {
  24211. "accountid": {
  24212. "description": "账号id",
  24213. "type": "integer"
  24214. },
  24215. "accountname": {
  24216. "description": "账号名称",
  24217. "type": "string"
  24218. },
  24219. "areauserid": {
  24220. "description": "所属机构id",
  24221. "type": "integer"
  24222. },
  24223. "bizgroupid": {
  24224. "description": "业务分组id",
  24225. "type": "integer"
  24226. },
  24227. "ismain": {
  24228. "description": "是否主账号 1-是 0-否",
  24229. "type": "integer"
  24230. }
  24231. }
  24232. },
  24233. "models.ErmcpDGFactoryItem": {
  24234. "type": "object",
  24235. "properties": {
  24236. "areauserid": {
  24237. "description": "用户id",
  24238. "type": "integer"
  24239. },
  24240. "deliverygoodsid": {
  24241. "description": "现货品种ID",
  24242. "type": "integer"
  24243. },
  24244. "dgfactoryitemid": {
  24245. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24246. "type": "integer"
  24247. },
  24248. "dgfactoryitemtypeid": {
  24249. "description": "要素项类型",
  24250. "type": "integer"
  24251. },
  24252. "dgfactoryitemvalue": {
  24253. "description": "要素项值(类型为仓库时填写仓库名称)",
  24254. "type": "string"
  24255. },
  24256. "isvalid": {
  24257. "description": "是否有效 - 0:无效 1:有效",
  24258. "type": "integer"
  24259. },
  24260. "orderindex": {
  24261. "description": "顺序",
  24262. "type": "integer"
  24263. },
  24264. "warehouseid": {
  24265. "description": "仓库ID(类型为仓库时填写)",
  24266. "type": "integer"
  24267. }
  24268. }
  24269. },
  24270. "models.ErmcpDeliveryGoods": {
  24271. "type": "object",
  24272. "properties": {
  24273. "agreeunit": {
  24274. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  24275. "type": "integer"
  24276. },
  24277. "areauserid": {
  24278. "description": "所属机构",
  24279. "type": "integer"
  24280. },
  24281. "auditflag": {
  24282. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  24283. "type": "integer"
  24284. },
  24285. "categoryid": {
  24286. "description": "类别ID(SEQ_WRCATEGORY)",
  24287. "type": "integer"
  24288. },
  24289. "deliverygoodscode": {
  24290. "description": "现货品种代码",
  24291. "type": "string"
  24292. },
  24293. "deliverygoodsid": {
  24294. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  24295. "type": "integer"
  24296. },
  24297. "deliverygoodsname": {
  24298. "description": "现货品种名称",
  24299. "type": "string"
  24300. },
  24301. "deliverygoodstype": {
  24302. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24303. "type": "integer"
  24304. },
  24305. "dgstatus": {
  24306. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24307. "type": "integer"
  24308. },
  24309. "enumdicname": {
  24310. "description": "现货品种单位名称",
  24311. "type": "string"
  24312. },
  24313. "goodsunitid": {
  24314. "description": "现货品种单位ID",
  24315. "type": "integer"
  24316. },
  24317. "isvalid": {
  24318. "description": "是否有效 - 0:无效 1:有效",
  24319. "type": "integer"
  24320. },
  24321. "qtydecimalplace": {
  24322. "description": "成交量小数位",
  24323. "type": "integer"
  24324. },
  24325. "remark": {
  24326. "description": "备注",
  24327. "type": "string"
  24328. },
  24329. "standardqty": {
  24330. "description": "标准数量(库位数量) [标准品特有]",
  24331. "type": "integer"
  24332. },
  24333. "standardqtyrange": {
  24334. "description": "标准数量偏差范围 [标准品特有]",
  24335. "type": "integer"
  24336. }
  24337. }
  24338. },
  24339. "models.ErmcpFuturesCompany": {
  24340. "type": "object",
  24341. "properties": {
  24342. "brokerid": {
  24343. "description": "经纪公司代码",
  24344. "type": "string"
  24345. },
  24346. "channeladdress": {
  24347. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24348. "type": "string"
  24349. },
  24350. "channelid": {
  24351. "description": "对冲渠道ID",
  24352. "type": "string"
  24353. },
  24354. "createtime": {
  24355. "description": "创建时间",
  24356. "type": "string"
  24357. },
  24358. "creatorid": {
  24359. "description": "创建人",
  24360. "type": "string"
  24361. },
  24362. "fcid": {
  24363. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24364. "type": "integer"
  24365. },
  24366. "fcname": {
  24367. "description": "期货公司名称",
  24368. "type": "string"
  24369. },
  24370. "isvalid": {
  24371. "description": "是否有效 - 0:无效 1:有效",
  24372. "type": "integer"
  24373. },
  24374. "mhpaddress": {
  24375. "description": "MHP服务地址(IP:Port)",
  24376. "type": "string"
  24377. },
  24378. "riskrulegroupid": {
  24379. "description": "风控规则组ID",
  24380. "type": "string"
  24381. },
  24382. "tradefeetmpid": {
  24383. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24384. "type": "string"
  24385. },
  24386. "trademargintmpid": {
  24387. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24388. "type": "string"
  24389. },
  24390. "traderatetmpid": {
  24391. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24392. "type": "string"
  24393. },
  24394. "updatetime": {
  24395. "description": "更新时间",
  24396. "type": "string"
  24397. },
  24398. "updatorid": {
  24399. "description": "更新人",
  24400. "type": "string"
  24401. }
  24402. }
  24403. },
  24404. "models.ErmcpGGConvertCfg": {
  24405. "type": "object",
  24406. "properties": {
  24407. "convertratio": {
  24408. "description": "折算系数",
  24409. "type": "number"
  24410. },
  24411. "destgoodsgroupid": {
  24412. "description": "目标品种ID",
  24413. "type": "integer"
  24414. },
  24415. "dstcode": {
  24416. "description": "目录品种代码",
  24417. "type": "string"
  24418. },
  24419. "dstexchangecode": {
  24420. "description": "目标期货交易所",
  24421. "type": "string"
  24422. },
  24423. "dstname": {
  24424. "description": "目标品种名称",
  24425. "type": "string"
  24426. },
  24427. "dstunitid": {
  24428. "description": "目标品种单位ID",
  24429. "type": "integer"
  24430. },
  24431. "dstunitidname": {
  24432. "description": "目标品种单位名称",
  24433. "type": "string"
  24434. },
  24435. "modifytime": {
  24436. "description": "修改时间",
  24437. "type": "string"
  24438. },
  24439. "srccode": {
  24440. "description": "源品种代码",
  24441. "type": "string"
  24442. },
  24443. "srcexchangecode": {
  24444. "description": "源期货交易所",
  24445. "type": "string"
  24446. },
  24447. "srcgoodsgroupid": {
  24448. "description": "源品种ID",
  24449. "type": "integer"
  24450. },
  24451. "srcname": {
  24452. "description": "源品种名称",
  24453. "type": "string"
  24454. },
  24455. "srcunitid": {
  24456. "description": "源品种单位ID",
  24457. "type": "integer"
  24458. },
  24459. "srcunitidname": {
  24460. "description": "源品种单位名称",
  24461. "type": "string"
  24462. }
  24463. }
  24464. },
  24465. "models.ErmcpGoods": {
  24466. "type": "object",
  24467. "required": [
  24468. "goodscode",
  24469. "goodsid",
  24470. "goodsname",
  24471. "marketid"
  24472. ],
  24473. "properties": {
  24474. "agreeunit": {
  24475. "description": "合约单位",
  24476. "type": "number"
  24477. },
  24478. "areauserid": {
  24479. "description": "所属机构",
  24480. "type": "integer"
  24481. },
  24482. "auditaccountid": {
  24483. "description": "审核操作员账号",
  24484. "type": "integer"
  24485. },
  24486. "audittime": {
  24487. "description": "审核时间",
  24488. "type": "string"
  24489. },
  24490. "cancelaccountid": {
  24491. "description": "注销操作员账号",
  24492. "type": "integer"
  24493. },
  24494. "canceltime": {
  24495. "description": "注销时间",
  24496. "type": "string"
  24497. },
  24498. "closepricemode": {
  24499. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24500. "type": "integer"
  24501. },
  24502. "closepriceparam": {
  24503. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24504. "type": "number"
  24505. },
  24506. "createtime": {
  24507. "description": "创建时间",
  24508. "type": "string"
  24509. },
  24510. "creatorid": {
  24511. "description": "创建人",
  24512. "type": "integer"
  24513. },
  24514. "currencyid": {
  24515. "description": "报价货币ID",
  24516. "type": "integer"
  24517. },
  24518. "cutmode": {
  24519. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24520. "type": "integer"
  24521. },
  24522. "decimalplace": {
  24523. "description": "报价小数位",
  24524. "type": "integer"
  24525. },
  24526. "delistingdate": {
  24527. "description": "商品退市时间(状态:退市) -- 已作废",
  24528. "type": "string"
  24529. },
  24530. "delistingmode": {
  24531. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24532. "type": "integer"
  24533. },
  24534. "deliveryflag": {
  24535. "description": "交割标志 - 0:不可交割 1:可交割",
  24536. "type": "integer"
  24537. },
  24538. "enumdicname": {
  24539. "description": "单位名称",
  24540. "type": "string"
  24541. },
  24542. "forceclosemode": {
  24543. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24544. "type": "integer"
  24545. },
  24546. "forceclosevalue": {
  24547. "description": "定期强平参数 [收益权]",
  24548. "type": "integer"
  24549. },
  24550. "goodscode": {
  24551. "description": "商品代码(内部)",
  24552. "type": "string"
  24553. },
  24554. "goodscurrencyid": {
  24555. "description": "合约货币ID",
  24556. "type": "integer"
  24557. },
  24558. "goodsgroupid": {
  24559. "description": "所属商品组ID",
  24560. "type": "integer"
  24561. },
  24562. "goodsid": {
  24563. "description": "商品ID(自增ID SEQ_GOODS)",
  24564. "type": "integer"
  24565. },
  24566. "goodsname": {
  24567. "description": "商品名称",
  24568. "type": "string"
  24569. },
  24570. "goodsquotetype": {
  24571. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24572. "type": "integer"
  24573. },
  24574. "goodsstatus": {
  24575. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24576. "type": "integer"
  24577. },
  24578. "goodstradetype": {
  24579. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24580. "type": "integer"
  24581. },
  24582. "goodunitid": {
  24583. "description": "报价单位ID",
  24584. "type": "integer"
  24585. },
  24586. "hasquoter": {
  24587. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24588. "type": "integer"
  24589. },
  24590. "hqprotecttime": {
  24591. "description": "行情保护时间(秒)",
  24592. "type": "integer"
  24593. },
  24594. "innerdealmode": {
  24595. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24596. "type": "integer"
  24597. },
  24598. "isbuylimited": {
  24599. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24600. "type": "integer"
  24601. },
  24602. "isvisible": {
  24603. "description": "游客是否可见 - 0:不可见 1:可见",
  24604. "type": "integer"
  24605. },
  24606. "lasttradedate": {
  24607. "description": "最后交易日期(状态:待退市)",
  24608. "type": "string"
  24609. },
  24610. "listingdate": {
  24611. "description": "交易开始日期",
  24612. "type": "string"
  24613. },
  24614. "marketid": {
  24615. "description": "所属市场ID",
  24616. "type": "integer"
  24617. },
  24618. "modifierid": {
  24619. "description": "修改人",
  24620. "type": "integer"
  24621. },
  24622. "modifystatus": {
  24623. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24624. "type": "integer"
  24625. },
  24626. "modifytime": {
  24627. "description": "修改时间",
  24628. "type": "string"
  24629. },
  24630. "outerdealmode": {
  24631. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24632. "type": "integer"
  24633. },
  24634. "outgoodscode": {
  24635. "description": "商品代码(外部)",
  24636. "type": "string"
  24637. },
  24638. "pictureurl": {
  24639. "description": "商品图片",
  24640. "type": "string"
  24641. },
  24642. "qtydecimalplace": {
  24643. "description": "成交量小数位",
  24644. "type": "integer"
  24645. },
  24646. "quotegear": {
  24647. "description": "行情档位(1-10)",
  24648. "type": "integer"
  24649. },
  24650. "quoteminunit": {
  24651. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24652. "type": "integer"
  24653. },
  24654. "quoteshowtype": {
  24655. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24656. "type": "integer"
  24657. },
  24658. "quoteshowtypeinterval": {
  24659. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24660. "type": "integer"
  24661. },
  24662. "relatedgoodsid": {
  24663. "description": "关联参考商品ID",
  24664. "type": "integer"
  24665. },
  24666. "remark": {
  24667. "description": "备注",
  24668. "type": "string"
  24669. },
  24670. "trademode": {
  24671. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24672. "type": "integer"
  24673. }
  24674. }
  24675. },
  24676. "models.ErmcpGoodsBrand": {
  24677. "type": "object",
  24678. "properties": {
  24679. "areauserid": {
  24680. "description": "所属机构",
  24681. "type": "integer"
  24682. },
  24683. "brandid": {
  24684. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24685. "type": "integer"
  24686. },
  24687. "brandname": {
  24688. "description": "品牌名称",
  24689. "type": "string"
  24690. },
  24691. "createtime": {
  24692. "description": "创建时间",
  24693. "type": "string"
  24694. },
  24695. "creatorid": {
  24696. "description": "创建人",
  24697. "type": "integer"
  24698. },
  24699. "creatorsrc": {
  24700. "description": "创建人来源 - 1:管理端 2:终端",
  24701. "type": "integer"
  24702. },
  24703. "deliverygoodsid": {
  24704. "description": "现货品种ID",
  24705. "type": "integer"
  24706. },
  24707. "isvalid": {
  24708. "description": "是否有效 - 0:无效 1:有效",
  24709. "type": "integer"
  24710. },
  24711. "updatetime": {
  24712. "description": "更新时间",
  24713. "type": "string"
  24714. },
  24715. "updatorid": {
  24716. "description": "更新人",
  24717. "type": "integer"
  24718. },
  24719. "updatorsrc": {
  24720. "description": "更新人来源 - 1:管理端 2:终端",
  24721. "type": "integer"
  24722. },
  24723. "wrstandardid": {
  24724. "description": "现货商品ID",
  24725. "type": "integer"
  24726. }
  24727. }
  24728. },
  24729. "models.ErmcpGoodsModel": {
  24730. "type": "object",
  24731. "properties": {
  24732. "areauserid": {
  24733. "description": "所属机构",
  24734. "type": "integer"
  24735. },
  24736. "convertfactor": {
  24737. "description": "标仓系数",
  24738. "type": "number"
  24739. },
  24740. "createtime": {
  24741. "description": "创建时间",
  24742. "type": "string"
  24743. },
  24744. "creatorid": {
  24745. "description": "创建人",
  24746. "type": "integer"
  24747. },
  24748. "creatorsrc": {
  24749. "description": "创建人来源 - 1:管理端 2:终端",
  24750. "type": "integer"
  24751. },
  24752. "deliverygoodsid": {
  24753. "description": "现货品种ID",
  24754. "type": "integer"
  24755. },
  24756. "isvalid": {
  24757. "description": "是否有效 - 0:无效 1:有效",
  24758. "type": "integer"
  24759. },
  24760. "modelid": {
  24761. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24762. "type": "integer"
  24763. },
  24764. "modelname": {
  24765. "description": "型号名称",
  24766. "type": "string"
  24767. },
  24768. "updatetime": {
  24769. "description": "更新时间",
  24770. "type": "string"
  24771. },
  24772. "updatorid": {
  24773. "description": "更新人",
  24774. "type": "integer"
  24775. },
  24776. "updatorsrc": {
  24777. "description": "更新人来源 - 1:管理端 2:终端",
  24778. "type": "integer"
  24779. },
  24780. "wrstandardid": {
  24781. "description": "现货商品ID",
  24782. "type": "integer"
  24783. }
  24784. }
  24785. },
  24786. "models.ErmcpHisExposure": {
  24787. "type": "object",
  24788. "properties": {
  24789. "needhedgeexposoure": {
  24790. "description": "应套保敞口",
  24791. "type": "number"
  24792. },
  24793. "reckondate": {
  24794. "description": "日照时期(yyyyMMdd)",
  24795. "type": "string"
  24796. },
  24797. "totalexposure": {
  24798. "description": "总敞口",
  24799. "type": "number"
  24800. }
  24801. }
  24802. },
  24803. "models.ErmcpLoginTaAccount": {
  24804. "type": "object",
  24805. "properties": {
  24806. "accountid": {
  24807. "description": "账号id",
  24808. "type": "integer"
  24809. },
  24810. "accountname": {
  24811. "description": "账号名称",
  24812. "type": "string"
  24813. }
  24814. }
  24815. },
  24816. "models.ErmcpLoginUser": {
  24817. "type": "object",
  24818. "properties": {
  24819. "acclist": {
  24820. "description": "关联资金账号",
  24821. "type": "array",
  24822. "items": {
  24823. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24824. }
  24825. },
  24826. "accountname": {
  24827. "description": "用户名称",
  24828. "type": "string"
  24829. },
  24830. "clientroleid": {
  24831. "description": "角色id(usertype=2)",
  24832. "type": "integer"
  24833. },
  24834. "createtime": {
  24835. "description": "创建时间",
  24836. "type": "string"
  24837. },
  24838. "logincode": {
  24839. "description": "登录代码",
  24840. "type": "string"
  24841. },
  24842. "loginid": {
  24843. "description": "登录id(LOGINID)",
  24844. "type": "integer"
  24845. },
  24846. "loginname": {
  24847. "description": "登录名称(loginaccount表中的accountname字段)",
  24848. "type": "string"
  24849. },
  24850. "loginstatus": {
  24851. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24852. "type": "integer"
  24853. },
  24854. "memberuserid": {
  24855. "description": "所属会员id",
  24856. "type": "integer"
  24857. },
  24858. "mobile": {
  24859. "description": "手机号",
  24860. "type": "string"
  24861. },
  24862. "modifytime": {
  24863. "description": "修改时间",
  24864. "type": "string"
  24865. },
  24866. "password": {
  24867. "description": "密码(不可解密)",
  24868. "type": "string"
  24869. },
  24870. "rolename": {
  24871. "description": "角色名称",
  24872. "type": "string"
  24873. },
  24874. "rolestatus": {
  24875. "description": "角色状态 1-启用 2-停用",
  24876. "type": "integer"
  24877. },
  24878. "roletype": {
  24879. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24880. "type": "string"
  24881. },
  24882. "userid": {
  24883. "description": "用户id",
  24884. "type": "integer"
  24885. },
  24886. "usertype": {
  24887. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24888. "type": "integer"
  24889. }
  24890. }
  24891. },
  24892. "models.ErmcpLoginUserEx": {
  24893. "type": "object",
  24894. "properties": {
  24895. "accountstatus": {
  24896. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24897. "type": "integer"
  24898. },
  24899. "mobile": {
  24900. "description": "手机号",
  24901. "type": "string"
  24902. },
  24903. "querytype": {
  24904. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24905. "type": "integer"
  24906. },
  24907. "roleid": {
  24908. "description": "角色id(交易账户-\u003e用户id)",
  24909. "type": "integer"
  24910. },
  24911. "rolename": {
  24912. "description": "角色名称(交易账户-\u003e用户名称)",
  24913. "type": "string"
  24914. },
  24915. "userlist": {
  24916. "description": "用户列表",
  24917. "type": "array",
  24918. "items": {
  24919. "$ref": "#/definitions/models.ErmcpLoginUser"
  24920. }
  24921. },
  24922. "usertype": {
  24923. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24924. "type": "integer"
  24925. }
  24926. }
  24927. },
  24928. "models.ErmcpMiddleGoodsModel": {
  24929. "type": "object",
  24930. "properties": {
  24931. "areauserid": {
  24932. "description": "机构用户ID",
  24933. "type": "integer"
  24934. },
  24935. "createtime": {
  24936. "description": "修改时间",
  24937. "type": "string"
  24938. },
  24939. "enumdicname": {
  24940. "description": "单位名称",
  24941. "type": "string"
  24942. },
  24943. "evaluateratio": {
  24944. "description": "估价系数",
  24945. "type": "number"
  24946. },
  24947. "goodsgroupid": {
  24948. "description": "关联期货品种ID",
  24949. "type": "integer"
  24950. },
  24951. "goodsunitid": {
  24952. "description": "单位ID",
  24953. "type": "integer"
  24954. },
  24955. "isvalid": {
  24956. "description": "状态 0-无效(停用) 1-有效(正常)",
  24957. "type": "integer"
  24958. },
  24959. "middlegoodscode": {
  24960. "description": "套保品种代码",
  24961. "type": "string"
  24962. },
  24963. "middlegoodsid": {
  24964. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24965. "type": "integer"
  24966. },
  24967. "middlegoodsname": {
  24968. "description": "套保品种名称",
  24969. "type": "string"
  24970. },
  24971. "modifytime": {
  24972. "description": "修改时间",
  24973. "type": "string"
  24974. },
  24975. "needarbitrageratio": {
  24976. "description": "套利比例",
  24977. "type": "number"
  24978. },
  24979. "needhedgeratio": {
  24980. "description": "套保比率",
  24981. "type": "number"
  24982. },
  24983. "qtydecimalplace": {
  24984. "description": "数量小数位",
  24985. "type": "integer"
  24986. },
  24987. "relatedgoodsid": {
  24988. "description": "关联交易商品ID",
  24989. "type": "integer"
  24990. },
  24991. "relatedgoodstype": {
  24992. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24993. "type": "integer"
  24994. },
  24995. "remark": {
  24996. "description": "备注",
  24997. "type": "string"
  24998. }
  24999. }
  25000. },
  25001. "models.ErmcpMiddlegoodsRelateGoods": {
  25002. "type": "object",
  25003. "properties": {
  25004. "agreeunit": {
  25005. "description": "合约乘数",
  25006. "type": "number"
  25007. },
  25008. "convertratio": {
  25009. "description": "折算系数",
  25010. "type": "number"
  25011. },
  25012. "enumdicname": {
  25013. "description": "单位名称(交易商品)",
  25014. "type": "string"
  25015. },
  25016. "goodscode": {
  25017. "description": "交易商品代码",
  25018. "type": "string"
  25019. },
  25020. "goodsgroupid": {
  25021. "description": "交易品种id",
  25022. "type": "integer"
  25023. },
  25024. "goodsid": {
  25025. "description": "商品Id",
  25026. "type": "integer"
  25027. },
  25028. "goodsname": {
  25029. "description": "交易商品名称",
  25030. "type": "string"
  25031. },
  25032. "goodunitid": {
  25033. "description": "交易商品单位id",
  25034. "type": "integer"
  25035. },
  25036. "middlegoodsid": {
  25037. "description": "套保商品id",
  25038. "type": "integer"
  25039. },
  25040. "middlegoodsname": {
  25041. "description": "套保商品名称",
  25042. "type": "string"
  25043. },
  25044. "middlegoodsswcode": {
  25045. "description": "套保商品代码",
  25046. "type": "string"
  25047. },
  25048. "needarbitrageratio": {
  25049. "description": "应套利比例",
  25050. "type": "number"
  25051. },
  25052. "needhedgeratio": {
  25053. "description": "应套保比例",
  25054. "type": "number"
  25055. }
  25056. }
  25057. },
  25058. "models.ErmcpRole": {
  25059. "type": "object",
  25060. "properties": {
  25061. "areauserid": {
  25062. "description": "所属机构",
  25063. "type": "integer"
  25064. },
  25065. "autoid": {
  25066. "description": "角色ID(自增ID)",
  25067. "type": "integer"
  25068. },
  25069. "modifierid": {
  25070. "description": "修改人(创建人)",
  25071. "type": "integer"
  25072. },
  25073. "modifiername": {
  25074. "description": "修改人名称",
  25075. "type": "string"
  25076. },
  25077. "modifytime": {
  25078. "description": "修改时间(创建时间)",
  25079. "type": "string"
  25080. },
  25081. "rolename": {
  25082. "description": "角色名称",
  25083. "type": "string"
  25084. },
  25085. "rolestatus": {
  25086. "description": "角色状态 - 1:启用 2:停用",
  25087. "type": "integer"
  25088. },
  25089. "roletype": {
  25090. "description": "角色类型 - 1- 管理端 2- 交易端",
  25091. "type": "integer"
  25092. }
  25093. }
  25094. },
  25095. "models.ErmcpRoleMenu": {
  25096. "type": "object",
  25097. "properties": {
  25098. "iconame": {
  25099. "description": "菜单图标",
  25100. "type": "string"
  25101. },
  25102. "ishadrole": {
  25103. "description": "是否有权限",
  25104. "type": "boolean"
  25105. },
  25106. "menutype": {
  25107. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  25108. "type": "integer"
  25109. },
  25110. "parentcode": {
  25111. "description": "上级资源代码",
  25112. "type": "string"
  25113. },
  25114. "remark": {
  25115. "description": "菜单备注",
  25116. "type": "string"
  25117. },
  25118. "resourcecode": {
  25119. "description": "菜单代码",
  25120. "type": "string"
  25121. },
  25122. "resourcelevel": {
  25123. "description": "级别",
  25124. "type": "integer"
  25125. },
  25126. "resourcename": {
  25127. "description": "菜单名称",
  25128. "type": "string"
  25129. },
  25130. "roleid": {
  25131. "description": "角色id",
  25132. "type": "integer"
  25133. },
  25134. "sort": {
  25135. "description": "排序",
  25136. "type": "integer"
  25137. },
  25138. "url": {
  25139. "description": "URL",
  25140. "type": "string"
  25141. },
  25142. "userid": {
  25143. "description": "用户id",
  25144. "type": "integer"
  25145. }
  25146. }
  25147. },
  25148. "models.ErmcpRoleMenuEx": {
  25149. "type": "object",
  25150. "properties": {
  25151. "menu": {
  25152. "description": "父级菜单",
  25153. "$ref": "#/definitions/models.ErmcpRoleMenu"
  25154. },
  25155. "subMenu": {
  25156. "description": "子级菜单",
  25157. "type": "array",
  25158. "items": {
  25159. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  25160. }
  25161. }
  25162. }
  25163. },
  25164. "models.ErmcpSpotContractModelEx": {
  25165. "type": "object",
  25166. "properties": {
  25167. "accountname": {
  25168. "description": "套期主体",
  25169. "type": "string"
  25170. },
  25171. "amount": {
  25172. "description": "金额 [1:一口价、3:暂定价]",
  25173. "type": "number"
  25174. },
  25175. "attachment": {
  25176. "description": "附件",
  25177. "type": "string"
  25178. },
  25179. "auditremark": {
  25180. "description": "审核意见",
  25181. "type": "string"
  25182. },
  25183. "audittime": {
  25184. "description": "审核时间",
  25185. "type": "string"
  25186. },
  25187. "avgprice": {
  25188. "description": "定价均价 = 已定价金额 / 已定价量",
  25189. "type": "number"
  25190. },
  25191. "brandname": {
  25192. "description": "品牌名称",
  25193. "type": "string"
  25194. },
  25195. "buyuserid": {
  25196. "description": "采购方ID",
  25197. "type": "integer"
  25198. },
  25199. "buyusername": {
  25200. "description": "采购方名称",
  25201. "type": "string"
  25202. },
  25203. "contracctstatus": {
  25204. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25205. "type": "integer"
  25206. },
  25207. "contractmargin": {
  25208. "description": "合同保证金",
  25209. "type": "number"
  25210. },
  25211. "contractno": {
  25212. "description": "[合同编号]现货合同编号",
  25213. "type": "string"
  25214. },
  25215. "contracttype": {
  25216. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  25217. "type": "integer"
  25218. },
  25219. "convertfactor": {
  25220. "description": "标仓系数",
  25221. "type": "number"
  25222. },
  25223. "createtime": {
  25224. "description": "创建时间",
  25225. "type": "string"
  25226. },
  25227. "customername": {
  25228. "description": "对手方",
  25229. "type": "string"
  25230. },
  25231. "customeruserid": {
  25232. "description": "客户ID",
  25233. "type": "integer"
  25234. },
  25235. "deliveryenddate": {
  25236. "description": "交收期(结束)",
  25237. "type": "string"
  25238. },
  25239. "deliverygoodscode": {
  25240. "description": "现货品种代码",
  25241. "type": "string"
  25242. },
  25243. "deliverygoodsid": {
  25244. "description": "现货品种ID",
  25245. "type": "integer"
  25246. },
  25247. "deliverygoodsname": {
  25248. "description": "现货品种名称",
  25249. "type": "string"
  25250. },
  25251. "deliverystartdate": {
  25252. "description": "交收期(开始)",
  25253. "type": "string"
  25254. },
  25255. "enddate": {
  25256. "description": "点价结束日期 [2:点价 3:暂定价]",
  25257. "type": "string"
  25258. },
  25259. "enumdicname": {
  25260. "description": "单位名称",
  25261. "type": "string"
  25262. },
  25263. "goodscode": {
  25264. "description": "点价合约代码",
  25265. "type": "string"
  25266. },
  25267. "goodsid": {
  25268. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  25269. "type": "integer"
  25270. },
  25271. "goodsname": {
  25272. "description": "点价商品名称",
  25273. "type": "string"
  25274. },
  25275. "isrelated": {
  25276. "description": "是否已关联计划项目 - 0:否 1:是",
  25277. "type": "integer"
  25278. },
  25279. "isrelated2": {
  25280. "description": "是否已关联现货项目 - 0:否 1:是",
  25281. "type": "integer"
  25282. },
  25283. "margin": {
  25284. "description": "当前保证金",
  25285. "type": "number"
  25286. },
  25287. "modelname": {
  25288. "description": "型号名称",
  25289. "type": "string"
  25290. },
  25291. "price": {
  25292. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  25293. "type": "number"
  25294. },
  25295. "pricedamount": {
  25296. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  25297. "type": "number"
  25298. },
  25299. "pricedqty": {
  25300. "description": "已定价量",
  25301. "type": "number"
  25302. },
  25303. "pricemove": {
  25304. "description": "升贴水 [2:点价 3:暂定价]",
  25305. "type": "number"
  25306. },
  25307. "pricetype": {
  25308. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25309. "type": "integer"
  25310. },
  25311. "producttype": {
  25312. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25313. "type": "integer"
  25314. },
  25315. "qty": {
  25316. "description": "[合同数量]数量",
  25317. "type": "number"
  25318. },
  25319. "remark": {
  25320. "description": "备注",
  25321. "type": "string"
  25322. },
  25323. "selluserid": {
  25324. "description": "销售方ID",
  25325. "type": "integer"
  25326. },
  25327. "sellusername": {
  25328. "description": "销售方名称",
  25329. "type": "string"
  25330. },
  25331. "spotamount": {
  25332. "description": "合同现货金额 [不含升贴水]",
  25333. "type": "number"
  25334. },
  25335. "spotavgprice": {
  25336. "description": "现货均价 = 合同现货金额 / 已定价量",
  25337. "type": "number"
  25338. },
  25339. "spotcontractid": {
  25340. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25341. "type": "string"
  25342. },
  25343. "spotgoodsbrandid": {
  25344. "description": "现货品牌ID",
  25345. "type": "integer"
  25346. },
  25347. "spotgoodsdesc": {
  25348. "description": "商品型号",
  25349. "type": "string"
  25350. },
  25351. "spotgoodsmodelid": {
  25352. "description": "现货型号ID",
  25353. "type": "integer"
  25354. },
  25355. "startdate": {
  25356. "description": "点价开始日期 [2:点价 3:暂定价]",
  25357. "type": "string"
  25358. },
  25359. "tradeuserid": {
  25360. "description": "交易用户ID",
  25361. "type": "integer"
  25362. },
  25363. "unpricedqty": {
  25364. "description": "未定价量 = 合同数量 - 已定价量",
  25365. "type": "number"
  25366. },
  25367. "updatetime": {
  25368. "description": "更新时间",
  25369. "type": "string"
  25370. },
  25371. "userid": {
  25372. "description": "机构ID",
  25373. "type": "integer"
  25374. },
  25375. "wrstandardcode": {
  25376. "description": "现货商品代码",
  25377. "type": "string"
  25378. },
  25379. "wrstandardid": {
  25380. "description": "现货商品ID",
  25381. "type": "integer"
  25382. },
  25383. "wrstandardname": {
  25384. "description": "[现货商品]现货商品名称",
  25385. "type": "string"
  25386. }
  25387. }
  25388. },
  25389. "models.ErmcpTaAccount": {
  25390. "type": "object",
  25391. "properties": {
  25392. "accountid": {
  25393. "description": "账户id",
  25394. "type": "integer"
  25395. },
  25396. "accountname": {
  25397. "description": "账户名称",
  25398. "type": "string"
  25399. },
  25400. "currencyid": {
  25401. "description": "币种id",
  25402. "type": "integer"
  25403. },
  25404. "hedgeaccountcode": {
  25405. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25406. "type": "string"
  25407. },
  25408. "ismain": {
  25409. "description": "是否主账户 0-否 1-是",
  25410. "type": "integer"
  25411. },
  25412. "parentaccountid": {
  25413. "description": "父账户id",
  25414. "type": "integer"
  25415. },
  25416. "relateduserid": {
  25417. "description": "关联userid",
  25418. "type": "integer"
  25419. },
  25420. "tradefeetmpid": {
  25421. "description": "手续费模板id",
  25422. "type": "integer"
  25423. },
  25424. "tradefeetmpname": {
  25425. "description": "手续费模板名称",
  25426. "type": "string"
  25427. },
  25428. "trademargintmpid": {
  25429. "description": "保证金模板id",
  25430. "type": "integer"
  25431. },
  25432. "trademargintmpname": {
  25433. "description": "保证金模板名称",
  25434. "type": "string"
  25435. },
  25436. "traderatetmpid": {
  25437. "description": "汇率模板id",
  25438. "type": "integer"
  25439. },
  25440. "traderatetmpname": {
  25441. "description": "汇率模板名称",
  25442. "type": "string"
  25443. },
  25444. "tradestatus": {
  25445. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25446. "type": "integer"
  25447. },
  25448. "userid": {
  25449. "description": "用户id",
  25450. "type": "integer"
  25451. }
  25452. }
  25453. },
  25454. "models.ErmcpTaAccountEx": {
  25455. "type": "object",
  25456. "properties": {
  25457. "mainAcc": {
  25458. "description": "主账号",
  25459. "$ref": "#/definitions/models.ErmcpTaAccountM"
  25460. },
  25461. "subacclist": {
  25462. "description": "子账号列表",
  25463. "type": "array",
  25464. "items": {
  25465. "$ref": "#/definitions/models.ErmcpTaAccount"
  25466. }
  25467. }
  25468. }
  25469. },
  25470. "models.ErmcpTaAccountInfo": {
  25471. "type": "object",
  25472. "properties": {
  25473. "accountid": {
  25474. "description": "资金账户ID",
  25475. "type": "integer"
  25476. },
  25477. "accountname": {
  25478. "description": "账户名称",
  25479. "type": "string"
  25480. },
  25481. "balance": {
  25482. "description": "期初余额",
  25483. "type": "number"
  25484. },
  25485. "capitalbalance": {
  25486. "description": "本金余额[外部子账户实际出入金余额]",
  25487. "type": "number"
  25488. },
  25489. "closepl": {
  25490. "description": "今日平仓盈亏",
  25491. "type": "number"
  25492. },
  25493. "creditdecrease": {
  25494. "description": "今日授信减少",
  25495. "type": "number"
  25496. },
  25497. "creditincrease": {
  25498. "description": "今日授信增加",
  25499. "type": "number"
  25500. },
  25501. "curdebt": {
  25502. "description": "期末欠款",
  25503. "type": "number"
  25504. },
  25505. "currencyid": {
  25506. "description": "货币ID",
  25507. "type": "integer"
  25508. },
  25509. "currentbalance": {
  25510. "description": "期末余额",
  25511. "type": "number"
  25512. },
  25513. "freezecharge": {
  25514. "description": "手续费冻结",
  25515. "type": "number"
  25516. },
  25517. "freezemargin": {
  25518. "description": "冻结保证金",
  25519. "type": "number"
  25520. },
  25521. "fromaccountid": {
  25522. "description": "所属上级账户",
  25523. "type": "integer"
  25524. },
  25525. "inamount": {
  25526. "description": "今日入金金额(包括三方入金)",
  25527. "type": "number"
  25528. },
  25529. "ismain": {
  25530. "description": "是否母账号 0:不是母账户 1:是母账户",
  25531. "type": "integer"
  25532. },
  25533. "mortgagecredit": {
  25534. "description": "授信金额",
  25535. "type": "number"
  25536. },
  25537. "oridebt": {
  25538. "description": "期初欠款",
  25539. "type": "number"
  25540. },
  25541. "orifreezecharge": {
  25542. "description": "期初手续费冻结",
  25543. "type": "number"
  25544. },
  25545. "orifreezemargin": {
  25546. "description": "期初冻结保证金",
  25547. "type": "number"
  25548. },
  25549. "orimortgagecredit": {
  25550. "description": "期初授信金额",
  25551. "type": "number"
  25552. },
  25553. "oriothercredit": {
  25554. "description": "期初其它授信金额",
  25555. "type": "number"
  25556. },
  25557. "oriotherfreezemargin": {
  25558. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25559. "type": "number"
  25560. },
  25561. "orioutamountfreeze": {
  25562. "description": "期初出金冻结",
  25563. "type": "number"
  25564. },
  25565. "oriusedmargin": {
  25566. "description": "期初占用保证金",
  25567. "type": "number"
  25568. },
  25569. "othercredit": {
  25570. "description": "其它授信金额",
  25571. "type": "number"
  25572. },
  25573. "othercreditdecrease": {
  25574. "description": "今日其它授信减少",
  25575. "type": "number"
  25576. },
  25577. "othercreditincrease": {
  25578. "description": "今日其它授信增加",
  25579. "type": "number"
  25580. },
  25581. "otherfreezemargin": {
  25582. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25583. "type": "number"
  25584. },
  25585. "outamount": {
  25586. "description": "今日出金金额(包括三方出金)",
  25587. "type": "number"
  25588. },
  25589. "outamountfreeze": {
  25590. "description": "出金冻结",
  25591. "type": "number"
  25592. },
  25593. "outthreshold": {
  25594. "description": "出金阈值",
  25595. "type": "number"
  25596. },
  25597. "parentaccountid": {
  25598. "description": "所属根账号",
  25599. "type": "integer"
  25600. },
  25601. "paycharge": {
  25602. "description": "今日手续费支出",
  25603. "type": "number"
  25604. },
  25605. "relateduserid": {
  25606. "description": "关联用户",
  25607. "type": "integer"
  25608. },
  25609. "signstatus": {
  25610. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25611. "type": "integer"
  25612. },
  25613. "sublevelpath": {
  25614. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25615. "type": "string"
  25616. },
  25617. "taaccounttype": {
  25618. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25619. "type": "integer"
  25620. },
  25621. "thirdinamount": {
  25622. "description": "今日三方入金",
  25623. "type": "number"
  25624. },
  25625. "thirdoutamount": {
  25626. "description": "今日三方出金",
  25627. "type": "number"
  25628. },
  25629. "tradestatus": {
  25630. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25631. "type": "integer"
  25632. },
  25633. "transferamount": {
  25634. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25635. "type": "number"
  25636. },
  25637. "usedmargin": {
  25638. "description": "占用保证金",
  25639. "type": "number"
  25640. },
  25641. "userid": {
  25642. "description": "用户ID",
  25643. "type": "integer"
  25644. }
  25645. }
  25646. },
  25647. "models.ErmcpTaAccountM": {
  25648. "type": "object",
  25649. "properties": {
  25650. "accountid": {
  25651. "description": "账户id",
  25652. "type": "integer"
  25653. },
  25654. "accountname": {
  25655. "description": "账户名称",
  25656. "type": "string"
  25657. },
  25658. "currencyid": {
  25659. "description": "币种id",
  25660. "type": "integer"
  25661. },
  25662. "fcid": {
  25663. "description": "期货公司id",
  25664. "type": "integer"
  25665. },
  25666. "fcname": {
  25667. "description": "期货公司代码",
  25668. "type": "string"
  25669. },
  25670. "hedgeaccountcode": {
  25671. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25672. "type": "string"
  25673. },
  25674. "ismain": {
  25675. "description": "是否主账户 0-否 1-是",
  25676. "type": "integer"
  25677. },
  25678. "parentaccountid": {
  25679. "description": "父账户id",
  25680. "type": "integer"
  25681. },
  25682. "relateduserid": {
  25683. "description": "关联userid",
  25684. "type": "integer"
  25685. },
  25686. "tradefeetmpid": {
  25687. "description": "手续费模板id",
  25688. "type": "integer"
  25689. },
  25690. "tradefeetmpname": {
  25691. "description": "手续费模板名称",
  25692. "type": "string"
  25693. },
  25694. "trademargintmpid": {
  25695. "description": "保证金模板id",
  25696. "type": "integer"
  25697. },
  25698. "trademargintmpname": {
  25699. "description": "保证金模板名称",
  25700. "type": "string"
  25701. },
  25702. "traderatetmpid": {
  25703. "description": "汇率模板id",
  25704. "type": "integer"
  25705. },
  25706. "traderatetmpname": {
  25707. "description": "汇率模板名称",
  25708. "type": "string"
  25709. },
  25710. "tradestatus": {
  25711. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25712. "type": "integer"
  25713. },
  25714. "userid": {
  25715. "description": "用户id",
  25716. "type": "integer"
  25717. }
  25718. }
  25719. },
  25720. "models.ErmcpTradeConfigTMP": {
  25721. "type": "object",
  25722. "properties": {
  25723. "areauserid": {
  25724. "description": "所属机构",
  25725. "type": "integer"
  25726. },
  25727. "basiccurrencyid": {
  25728. "description": "基本币种ID[汇率] - 目标币种",
  25729. "type": "integer"
  25730. },
  25731. "mainaccountid": {
  25732. "description": "主账户ID",
  25733. "type": "integer"
  25734. },
  25735. "modifierid": {
  25736. "description": "修改人",
  25737. "type": "integer"
  25738. },
  25739. "remark": {
  25740. "description": "备注",
  25741. "type": "string"
  25742. },
  25743. "tradeconfigtmpid": {
  25744. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25745. "type": "integer"
  25746. },
  25747. "tradeconfigtmpname": {
  25748. "description": "交易配置模板名称",
  25749. "type": "string"
  25750. },
  25751. "tradeconfigtmptype": {
  25752. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25753. "type": "integer"
  25754. },
  25755. "updatetime": {
  25756. "description": "更新时间",
  25757. "type": "string"
  25758. }
  25759. }
  25760. },
  25761. "models.Ermcpjrlinkpos": {
  25762. "type": "object",
  25763. "required": [
  25764. "spotcontractid"
  25765. ],
  25766. "properties": {
  25767. "areauserid": {
  25768. "description": "所属企业",
  25769. "type": "integer"
  25770. },
  25771. "averageprice": {
  25772. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  25773. "type": "number"
  25774. },
  25775. "closepl": {
  25776. "description": "总平仓盈亏 [期货损益]",
  25777. "type": "number"
  25778. },
  25779. "executeprice": {
  25780. "description": "执行价 - 1:期货单 为 0",
  25781. "type": "integer"
  25782. },
  25783. "futurehedgeqty": {
  25784. "description": "期货套期量",
  25785. "type": "number"
  25786. },
  25787. "goodsid": {
  25788. "description": "期货合约",
  25789. "type": "integer"
  25790. },
  25791. "middlegoodscode": {
  25792. "description": "套保商品代码",
  25793. "type": "string"
  25794. },
  25795. "middlegoodsname": {
  25796. "description": "套保商品名称",
  25797. "type": "string"
  25798. },
  25799. "netqty": {
  25800. "description": "净头寸",
  25801. "type": "number"
  25802. },
  25803. "optioncode": {
  25804. "description": "期权代码",
  25805. "type": "string"
  25806. },
  25807. "ordertype": {
  25808. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  25809. "type": "integer"
  25810. },
  25811. "reckonpl": {
  25812. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  25813. "type": "number"
  25814. },
  25815. "spotcontractid": {
  25816. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  25817. "type": "string"
  25818. },
  25819. "todayfutureclosepl": {
  25820. "description": "今日平仓盈亏",
  25821. "type": "number"
  25822. },
  25823. "totalbuyamount": {
  25824. "description": "买金额 [期货]",
  25825. "type": "number"
  25826. },
  25827. "totalbuyholdamount": {
  25828. "description": "买持仓总金额[期货]",
  25829. "type": "number"
  25830. },
  25831. "totalbuyqty": {
  25832. "description": "买数量",
  25833. "type": "number"
  25834. },
  25835. "totalcharge": {
  25836. "description": "手续费",
  25837. "type": "number"
  25838. },
  25839. "totalpremium": {
  25840. "description": "权利金 [期权]",
  25841. "type": "number"
  25842. },
  25843. "totalsellamount": {
  25844. "description": "卖金额 [期货]",
  25845. "type": "number"
  25846. },
  25847. "totalsellholdamount": {
  25848. "description": "卖持仓总金额[期货]",
  25849. "type": "number"
  25850. },
  25851. "totalsellqty": {
  25852. "description": "卖数量",
  25853. "type": "number"
  25854. },
  25855. "updatetime": {
  25856. "description": "更新时间",
  25857. "type": "string"
  25858. }
  25859. }
  25860. },
  25861. "models.Ermcppatradelinkdetail": {
  25862. "type": "object",
  25863. "required": [
  25864. "hedgeditemid"
  25865. ],
  25866. "properties": {
  25867. "agreeunit": {
  25868. "description": "合约乘数",
  25869. "type": "number"
  25870. },
  25871. "amount": {
  25872. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  25873. "type": "number"
  25874. },
  25875. "areauserid": {
  25876. "description": "所属机构",
  25877. "type": "integer"
  25878. },
  25879. "bizsubjectid": {
  25880. "description": "归属业务部门ID - SubjectID",
  25881. "type": "integer"
  25882. },
  25883. "buyorsell": {
  25884. "description": "方向 - 0:买 1:卖",
  25885. "type": "integer"
  25886. },
  25887. "convertratio": {
  25888. "description": "品种系数",
  25889. "type": "number"
  25890. },
  25891. "createtime": {
  25892. "description": "创建时间",
  25893. "type": "string"
  25894. },
  25895. "creatorid": {
  25896. "description": "创建人ID",
  25897. "type": "integer"
  25898. },
  25899. "creatorsrc": {
  25900. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25901. "type": "integer"
  25902. },
  25903. "goodsgroupid": {
  25904. "description": "对冲品种ID[期货合约商品组ID]",
  25905. "type": "integer"
  25906. },
  25907. "goodsid": {
  25908. "description": "商品ID",
  25909. "type": "integer"
  25910. },
  25911. "hedgeditemid": {
  25912. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  25913. "type": "integer"
  25914. },
  25915. "hedgeflag": {
  25916. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  25917. "type": "integer"
  25918. },
  25919. "linkdetailid": {
  25920. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25921. "type": "string"
  25922. },
  25923. "linkstatus": {
  25924. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  25925. "type": "integer"
  25926. },
  25927. "middlegoodsid": {
  25928. "description": "套保品种ID",
  25929. "type": "integer"
  25930. },
  25931. "name": {
  25932. "description": "账户名/子账户",
  25933. "type": "string"
  25934. },
  25935. "optioncode": {
  25936. "description": "[期货合约]期权代码 [期权]",
  25937. "type": "string"
  25938. },
  25939. "ordertype": {
  25940. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  25941. "type": "integer"
  25942. },
  25943. "relatedlot": {
  25944. "description": "[数量]关联手数",
  25945. "type": "number"
  25946. },
  25947. "relatedmode": {
  25948. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  25949. "type": "integer"
  25950. },
  25951. "relatedqty": {
  25952. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  25953. "type": "number"
  25954. },
  25955. "retcode": {
  25956. "description": "返回码",
  25957. "type": "integer"
  25958. },
  25959. "saleuserid": {
  25960. "description": "业务员ID",
  25961. "type": "integer"
  25962. },
  25963. "tradedate": {
  25964. "description": "关联交易日(yyyyMMdd)",
  25965. "type": "string"
  25966. },
  25967. "tradeid": {
  25968. "description": "[成交单号]内部成交单ID",
  25969. "type": "string"
  25970. },
  25971. "tradelot": {
  25972. "description": "成交手数",
  25973. "type": "integer"
  25974. },
  25975. "tradeprice": {
  25976. "description": "[价格]成交价格",
  25977. "type": "number"
  25978. },
  25979. "tradetime": {
  25980. "description": "日期时间",
  25981. "type": "string"
  25982. },
  25983. "tradetradedate": {
  25984. "description": "成交交易日(yyyyMMdd)",
  25985. "type": "string"
  25986. }
  25987. }
  25988. },
  25989. "models.Externalexchange": {
  25990. "type": "object",
  25991. "required": [
  25992. "autoid"
  25993. ],
  25994. "properties": {
  25995. "autoid": {
  25996. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25997. "type": "integer"
  25998. },
  25999. "exchangefullname": {
  26000. "description": "外部交易所全称",
  26001. "type": "string"
  26002. },
  26003. "exexchangecode": {
  26004. "description": "外部交易所代码",
  26005. "type": "string"
  26006. },
  26007. "exexchangename": {
  26008. "description": "外部交易所名称(简称)",
  26009. "type": "string"
  26010. },
  26011. "ismarketprice": {
  26012. "description": "是否支持市价 - 0:不支持 1:支持",
  26013. "type": "integer"
  26014. },
  26015. "quotegear": {
  26016. "description": "行情档位(1-10)",
  26017. "type": "integer"
  26018. },
  26019. "showbrokerflag": {
  26020. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  26021. "type": "integer"
  26022. },
  26023. "updatetime": {
  26024. "description": "更新时间",
  26025. "type": "string"
  26026. }
  26027. }
  26028. },
  26029. "models.Funcmenulist": {
  26030. "type": "object",
  26031. "required": [
  26032. "resourcecode"
  26033. ],
  26034. "properties": {
  26035. "iconame": {
  26036. "description": "菜单图标",
  26037. "type": "string"
  26038. },
  26039. "menutype": {
  26040. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  26041. "type": "integer"
  26042. },
  26043. "parentcode": {
  26044. "description": "上级资源代码",
  26045. "type": "string"
  26046. },
  26047. "remark": {
  26048. "description": "备注",
  26049. "type": "string"
  26050. },
  26051. "resourcecode": {
  26052. "description": "资源代码",
  26053. "type": "string"
  26054. },
  26055. "resourcelevel": {
  26056. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  26057. "type": "integer"
  26058. },
  26059. "resourcename": {
  26060. "description": "资源名",
  26061. "type": "string"
  26062. },
  26063. "sort": {
  26064. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  26065. "type": "integer"
  26066. },
  26067. "url": {
  26068. "description": "URL",
  26069. "type": "string"
  26070. }
  26071. }
  26072. },
  26073. "models.GZWarehouseinfo": {
  26074. "type": "object",
  26075. "properties": {
  26076. "address": {
  26077. "description": "详细地址",
  26078. "type": "string"
  26079. },
  26080. "areauserid": {
  26081. "description": "所属机构",
  26082. "type": "integer"
  26083. },
  26084. "autoid": {
  26085. "description": "自增ID",
  26086. "type": "integer"
  26087. },
  26088. "cityid": {
  26089. "description": "市",
  26090. "type": "integer"
  26091. },
  26092. "contactname": {
  26093. "description": "联系人",
  26094. "type": "string"
  26095. },
  26096. "contactnum": {
  26097. "description": "联系电话",
  26098. "type": "string"
  26099. },
  26100. "countryid": {
  26101. "description": "国家",
  26102. "type": "integer"
  26103. },
  26104. "createtime": {
  26105. "description": "创建时间",
  26106. "type": "string"
  26107. },
  26108. "districtid": {
  26109. "description": "区",
  26110. "type": "integer"
  26111. },
  26112. "hasvideo": {
  26113. "description": "是否有视频 - 0:无 1:有",
  26114. "type": "integer"
  26115. },
  26116. "provinceid": {
  26117. "description": "省",
  26118. "type": "integer"
  26119. },
  26120. "remark": {
  26121. "description": "审核备注",
  26122. "type": "string"
  26123. },
  26124. "videourl": {
  26125. "description": "视频地址",
  26126. "type": "string"
  26127. },
  26128. "warehousecode": {
  26129. "description": "仓库代码",
  26130. "type": "string"
  26131. },
  26132. "warehousename": {
  26133. "description": "仓库名称",
  26134. "type": "string"
  26135. },
  26136. "warehousestatus": {
  26137. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  26138. "type": "integer"
  26139. },
  26140. "warehousetype": {
  26141. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26142. "type": "integer"
  26143. }
  26144. }
  26145. },
  26146. "models.Goods": {
  26147. "type": "object",
  26148. "required": [
  26149. "goodscode",
  26150. "goodsid",
  26151. "goodsname",
  26152. "marketid"
  26153. ],
  26154. "properties": {
  26155. "agreeunit": {
  26156. "description": "合约单位",
  26157. "type": "number"
  26158. },
  26159. "areauserid": {
  26160. "description": "所属机构",
  26161. "type": "integer"
  26162. },
  26163. "auditaccountid": {
  26164. "description": "审核操作员账号",
  26165. "type": "integer"
  26166. },
  26167. "audittime": {
  26168. "description": "审核时间",
  26169. "type": "string"
  26170. },
  26171. "cancelaccountid": {
  26172. "description": "注销操作员账号",
  26173. "type": "integer"
  26174. },
  26175. "canceltime": {
  26176. "description": "注销时间",
  26177. "type": "string"
  26178. },
  26179. "closepricemode": {
  26180. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26181. "type": "integer"
  26182. },
  26183. "closepriceparam": {
  26184. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26185. "type": "number"
  26186. },
  26187. "createtime": {
  26188. "description": "创建时间",
  26189. "type": "string"
  26190. },
  26191. "creatorid": {
  26192. "description": "创建人",
  26193. "type": "integer"
  26194. },
  26195. "currencyid": {
  26196. "description": "报价货币ID",
  26197. "type": "integer"
  26198. },
  26199. "cutmode": {
  26200. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26201. "type": "integer"
  26202. },
  26203. "decimalplace": {
  26204. "description": "报价小数位",
  26205. "type": "integer"
  26206. },
  26207. "delistingdate": {
  26208. "description": "商品退市时间(状态:退市) -- 已作废",
  26209. "type": "string"
  26210. },
  26211. "delistingmode": {
  26212. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26213. "type": "integer"
  26214. },
  26215. "deliveryflag": {
  26216. "description": "交割标志 - 0:不可交割 1:可交割",
  26217. "type": "integer"
  26218. },
  26219. "forceclosemode": {
  26220. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26221. "type": "integer"
  26222. },
  26223. "forceclosevalue": {
  26224. "description": "定期强平参数 [收益权]",
  26225. "type": "integer"
  26226. },
  26227. "goodscode": {
  26228. "description": "商品代码(内部)",
  26229. "type": "string"
  26230. },
  26231. "goodscurrencyid": {
  26232. "description": "合约货币ID",
  26233. "type": "integer"
  26234. },
  26235. "goodsgroupid": {
  26236. "description": "所属商品组ID",
  26237. "type": "integer"
  26238. },
  26239. "goodsid": {
  26240. "description": "商品ID(自增ID SEQ_GOODS)",
  26241. "type": "integer"
  26242. },
  26243. "goodsname": {
  26244. "description": "商品名称",
  26245. "type": "string"
  26246. },
  26247. "goodsquotetype": {
  26248. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26249. "type": "integer"
  26250. },
  26251. "goodsstatus": {
  26252. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26253. "type": "integer"
  26254. },
  26255. "goodstradetype": {
  26256. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26257. "type": "integer"
  26258. },
  26259. "goodunitid": {
  26260. "description": "报价单位ID",
  26261. "type": "integer"
  26262. },
  26263. "hasquoter": {
  26264. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26265. "type": "integer"
  26266. },
  26267. "hqprotecttime": {
  26268. "description": "行情保护时间(秒)",
  26269. "type": "integer"
  26270. },
  26271. "innerdealmode": {
  26272. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26273. "type": "integer"
  26274. },
  26275. "isbuylimited": {
  26276. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26277. "type": "integer"
  26278. },
  26279. "isvisible": {
  26280. "description": "游客是否可见 - 0:不可见 1:可见",
  26281. "type": "integer"
  26282. },
  26283. "lasttradedate": {
  26284. "description": "最后交易日期(状态:待退市)",
  26285. "type": "string"
  26286. },
  26287. "listingdate": {
  26288. "description": "交易开始日期",
  26289. "type": "string"
  26290. },
  26291. "marketid": {
  26292. "description": "所属市场ID",
  26293. "type": "integer"
  26294. },
  26295. "modifierid": {
  26296. "description": "修改人",
  26297. "type": "integer"
  26298. },
  26299. "modifystatus": {
  26300. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26301. "type": "integer"
  26302. },
  26303. "modifytime": {
  26304. "description": "修改时间",
  26305. "type": "string"
  26306. },
  26307. "outerdealmode": {
  26308. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26309. "type": "integer"
  26310. },
  26311. "outgoodscode": {
  26312. "description": "商品代码(外部)",
  26313. "type": "string"
  26314. },
  26315. "pictureurl": {
  26316. "description": "商品图片",
  26317. "type": "string"
  26318. },
  26319. "qtydecimalplace": {
  26320. "description": "成交量小数位",
  26321. "type": "integer"
  26322. },
  26323. "quotegear": {
  26324. "description": "行情档位(1-10)",
  26325. "type": "integer"
  26326. },
  26327. "quoteminunit": {
  26328. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26329. "type": "integer"
  26330. },
  26331. "quoteshowtype": {
  26332. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  26333. "type": "integer"
  26334. },
  26335. "quoteshowtypeinterval": {
  26336. "description": "行情报价间隔时间(秒)(成交价时为0)",
  26337. "type": "integer"
  26338. },
  26339. "remark": {
  26340. "description": "备注",
  26341. "type": "string"
  26342. }
  26343. }
  26344. },
  26345. "models.GoodsIDAndName": {
  26346. "type": "object",
  26347. "required": [
  26348. "goodscode",
  26349. "goodsid",
  26350. "goodsname",
  26351. "marketid"
  26352. ],
  26353. "properties": {
  26354. "goodscode": {
  26355. "description": "商品代码(内部)",
  26356. "type": "string"
  26357. },
  26358. "goodsid": {
  26359. "description": "商品ID(自增ID SEQ_GOODS)",
  26360. "type": "integer"
  26361. },
  26362. "goodsname": {
  26363. "description": "商品名称",
  26364. "type": "string"
  26365. },
  26366. "marketid": {
  26367. "description": "所属市场ID",
  26368. "type": "integer"
  26369. }
  26370. }
  26371. },
  26372. "models.Goodsgroup": {
  26373. "type": "object",
  26374. "required": [
  26375. "goodsgroupid",
  26376. "goodsgroupname",
  26377. "goodsgroupstatus",
  26378. "marketid"
  26379. ],
  26380. "properties": {
  26381. "agreeunit": {
  26382. "description": "合约单位",
  26383. "type": "number"
  26384. },
  26385. "canshort": {
  26386. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  26387. "type": "integer"
  26388. },
  26389. "closepricemode": {
  26390. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26391. "type": "integer"
  26392. },
  26393. "closepriceparam": {
  26394. "description": "强平最新价浮动比例 - 方式为2时使用",
  26395. "type": "number"
  26396. },
  26397. "createtime": {
  26398. "description": "创建时间",
  26399. "type": "string"
  26400. },
  26401. "creatorid": {
  26402. "description": "创建人",
  26403. "type": "integer"
  26404. },
  26405. "currencyid": {
  26406. "description": "报价货币ID",
  26407. "type": "integer"
  26408. },
  26409. "decimalplace": {
  26410. "description": "报价小数位",
  26411. "type": "integer"
  26412. },
  26413. "exercisetype": {
  26414. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  26415. "type": "integer"
  26416. },
  26417. "exexchangeid": {
  26418. "description": "外部交易所ID[通道交易]",
  26419. "type": "integer"
  26420. },
  26421. "goodsgroupid": {
  26422. "description": "商品组ID(自增ID)",
  26423. "type": "integer"
  26424. },
  26425. "goodsgroupname": {
  26426. "description": "商品组名称",
  26427. "type": "string"
  26428. },
  26429. "goodsgroupstatus": {
  26430. "description": "商品组状态 - 1:正常 2:注销",
  26431. "type": "integer"
  26432. },
  26433. "goodunitid": {
  26434. "description": "报价单位ID",
  26435. "type": "integer"
  26436. },
  26437. "innerdealmode": {
  26438. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26439. "type": "integer"
  26440. },
  26441. "isbuylimited": {
  26442. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26443. "type": "integer"
  26444. },
  26445. "marketid": {
  26446. "description": "所属市场ID",
  26447. "type": "integer"
  26448. },
  26449. "modifierid": {
  26450. "description": "修改人",
  26451. "type": "integer"
  26452. },
  26453. "modifytime": {
  26454. "description": "修改时间",
  26455. "type": "string"
  26456. },
  26457. "outerdealmode": {
  26458. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26459. "type": "integer"
  26460. },
  26461. "outergroupcode": {
  26462. "description": "外部商品组代码[通道交易]",
  26463. "type": "string"
  26464. },
  26465. "premiumdecimalplace": {
  26466. "description": "权利金小数位[场外期权]",
  26467. "type": "integer"
  26468. },
  26469. "premiumspreadalgorithm": {
  26470. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  26471. "type": "integer"
  26472. },
  26473. "premiumspreadvalue": {
  26474. "description": "权利金点差值[场外期权]",
  26475. "type": "number"
  26476. },
  26477. "qtydecimalplace": {
  26478. "description": "成交量小数位",
  26479. "type": "integer"
  26480. },
  26481. "quotegear": {
  26482. "description": "行情档位(1-10)",
  26483. "type": "integer"
  26484. },
  26485. "quoteminunit": {
  26486. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26487. "type": "integer"
  26488. },
  26489. "quoterid": {
  26490. "description": "报价商ID[场外期权]",
  26491. "type": "integer"
  26492. },
  26493. "quotesourcegroupid": {
  26494. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  26495. "type": "integer"
  26496. },
  26497. "syncgoodsqty": {
  26498. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  26499. "type": "integer"
  26500. }
  26501. }
  26502. },
  26503. "models.Goodssortbypreposition": {
  26504. "type": "object",
  26505. "required": [
  26506. "goodscode",
  26507. "tradedate"
  26508. ],
  26509. "properties": {
  26510. "goodscode": {
  26511. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  26512. "type": "string"
  26513. },
  26514. "goodsgroupcode": {
  26515. "description": "品种代码",
  26516. "type": "string"
  26517. },
  26518. "prepositionqty": {
  26519. "description": "昨持仓量",
  26520. "type": "integer"
  26521. },
  26522. "sortindex": {
  26523. "description": "排序",
  26524. "type": "integer"
  26525. },
  26526. "tradedate": {
  26527. "description": "交易日",
  26528. "type": "string"
  26529. },
  26530. "updatetime": {
  26531. "description": "更新时间",
  26532. "type": "string"
  26533. }
  26534. }
  26535. },
  26536. "models.Hedgeinnerholderdetail": {
  26537. "type": "object",
  26538. "required": [
  26539. "buyorsell",
  26540. "tradeid"
  26541. ],
  26542. "properties": {
  26543. "accountid": {
  26544. "description": "账号ID",
  26545. "type": "integer"
  26546. },
  26547. "buyorsell": {
  26548. "description": "方向 - 0:买 1:卖",
  26549. "type": "integer"
  26550. },
  26551. "freezeqty": {
  26552. "description": "冻结数量 - 按单平使用",
  26553. "type": "integer"
  26554. },
  26555. "goodsid": {
  26556. "description": "商品ID",
  26557. "type": "integer"
  26558. },
  26559. "holderamount": {
  26560. "description": "持仓金额 [商品币种]",
  26561. "type": "number"
  26562. },
  26563. "holderdays": {
  26564. "description": "剩余冻结天数",
  26565. "type": "integer"
  26566. },
  26567. "holderprice": {
  26568. "description": "持仓价格",
  26569. "type": "number"
  26570. },
  26571. "holderqty": {
  26572. "description": "持仓数量",
  26573. "type": "integer"
  26574. },
  26575. "marketid": {
  26576. "description": "市场ID",
  26577. "type": "integer"
  26578. },
  26579. "openprice": {
  26580. "description": "建仓价格",
  26581. "type": "number"
  26582. },
  26583. "openqty": {
  26584. "description": "建仓数量",
  26585. "type": "integer"
  26586. },
  26587. "parentaccountid": {
  26588. "description": "所属母账户",
  26589. "type": "integer"
  26590. },
  26591. "releaseamount": {
  26592. "description": "释放持仓金额[商品币种]",
  26593. "type": "number"
  26594. },
  26595. "tradeamount": {
  26596. "description": "成交金额[账户]",
  26597. "type": "number"
  26598. },
  26599. "tradedate": {
  26600. "description": "交易日(yyyyMMdd)",
  26601. "type": "string"
  26602. },
  26603. "tradeid": {
  26604. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26605. "type": "string"
  26606. },
  26607. "tradetime": {
  26608. "description": "交易时间",
  26609. "type": "string"
  26610. }
  26611. }
  26612. },
  26613. "models.Hedgemarketopenlog": {
  26614. "type": "object",
  26615. "required": [
  26616. "accountid"
  26617. ],
  26618. "properties": {
  26619. "accountid": {
  26620. "description": "资金账号[外部母账户]",
  26621. "type": "integer"
  26622. },
  26623. "fcname": {
  26624. "description": "期货公司名称",
  26625. "type": "string"
  26626. },
  26627. "handlestatus": {
  26628. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  26629. "type": "integer"
  26630. },
  26631. "marketid": {
  26632. "description": "市场ID",
  26633. "type": "integer"
  26634. },
  26635. "status": {
  26636. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  26637. "type": "integer"
  26638. },
  26639. "tradedate": {
  26640. "description": "交易日(yyyyMMdd)",
  26641. "type": "string"
  26642. },
  26643. "updatetime": {
  26644. "description": "更新时间",
  26645. "type": "string"
  26646. }
  26647. }
  26648. },
  26649. "models.InternalEnableTradeDetail": {
  26650. "type": "object",
  26651. "required": [
  26652. "areauserid",
  26653. "goodsid",
  26654. "tradeuserid"
  26655. ],
  26656. "properties": {
  26657. "agreeunit": {
  26658. "description": "合约乘数",
  26659. "type": "number"
  26660. },
  26661. "areauserid": {
  26662. "description": "企业ID",
  26663. "type": "integer"
  26664. },
  26665. "convertratio": {
  26666. "description": "品种系数",
  26667. "type": "number"
  26668. },
  26669. "deliverygoodscode": {
  26670. "description": "现货品种代码",
  26671. "type": "string"
  26672. },
  26673. "deliverygoodsid": {
  26674. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26675. "type": "integer"
  26676. },
  26677. "deliverygoodsname": {
  26678. "description": "现货品种名称",
  26679. "type": "string"
  26680. },
  26681. "futurehedgeqty": {
  26682. "description": "[已关联数量]期货持仓套期量",
  26683. "type": "number"
  26684. },
  26685. "goodsid": {
  26686. "description": "期货合约ID",
  26687. "type": "integer"
  26688. },
  26689. "hedgeditemid": {
  26690. "description": "被套期项目ID",
  26691. "type": "string"
  26692. },
  26693. "hedgeditemnum": {
  26694. "description": "项目编号",
  26695. "type": "string"
  26696. },
  26697. "tradeuserid": {
  26698. "description": "交易用户ID",
  26699. "type": "integer"
  26700. },
  26701. "unexehedgeqty": {
  26702. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  26703. "type": "number"
  26704. },
  26705. "unexespotqty": {
  26706. "description": "未执行现货量",
  26707. "type": "number"
  26708. },
  26709. "wrstandardcode": {
  26710. "description": "现货品类代码",
  26711. "type": "string"
  26712. },
  26713. "wrstandardid": {
  26714. "description": "现货品类ID(SEQ_WRSTANDARD)",
  26715. "type": "integer"
  26716. },
  26717. "wrstandardname": {
  26718. "description": "现货品类名称",
  26719. "type": "string"
  26720. }
  26721. }
  26722. },
  26723. "models.InternalUncorrelatedTradeDetail": {
  26724. "type": "object",
  26725. "properties": {
  26726. "accountid": {
  26727. "description": "账号ID",
  26728. "type": "integer"
  26729. },
  26730. "accountname": {
  26731. "description": "套期主体",
  26732. "type": "string"
  26733. },
  26734. "agreeunit": {
  26735. "description": "合约乘数",
  26736. "type": "number"
  26737. },
  26738. "areauserid": {
  26739. "description": "所属机构",
  26740. "type": "integer"
  26741. },
  26742. "bizsubjectid": {
  26743. "description": "归属业务部门ID - SubjectID",
  26744. "type": "integer"
  26745. },
  26746. "buyorsell": {
  26747. "description": "方向 - 0:买 1:卖",
  26748. "type": "integer"
  26749. },
  26750. "channelbuildtype": {
  26751. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26752. "type": "integer"
  26753. },
  26754. "convertratio": {
  26755. "description": "品种系数",
  26756. "type": "number"
  26757. },
  26758. "createtime": {
  26759. "description": "创建时间",
  26760. "type": "string"
  26761. },
  26762. "creatorid": {
  26763. "description": "创建人ID",
  26764. "type": "integer"
  26765. },
  26766. "creatorsrc": {
  26767. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26768. "type": "integer"
  26769. },
  26770. "enableqty": {
  26771. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  26772. "type": "number"
  26773. },
  26774. "enumdicname": {
  26775. "description": "单位",
  26776. "type": "string"
  26777. },
  26778. "goodscode": {
  26779. "description": "合约代码",
  26780. "type": "string"
  26781. },
  26782. "goodsgroupid": {
  26783. "description": "对冲品种ID[期货合约商品组ID]",
  26784. "type": "integer"
  26785. },
  26786. "goodsid": {
  26787. "description": "商品ID",
  26788. "type": "integer"
  26789. },
  26790. "goodsname": {
  26791. "description": "合约名称",
  26792. "type": "string"
  26793. },
  26794. "hedgeditemid": {
  26795. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  26796. "type": "integer"
  26797. },
  26798. "hedgeflag": {
  26799. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  26800. "type": "integer"
  26801. },
  26802. "linkdetailid": {
  26803. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26804. "type": "string"
  26805. },
  26806. "linkstatus": {
  26807. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26808. "type": "integer"
  26809. },
  26810. "middlegoodsid": {
  26811. "description": "套保品种ID",
  26812. "type": "integer"
  26813. },
  26814. "middlegoodsqty": {
  26815. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  26816. "type": "number"
  26817. },
  26818. "relatedlot": {
  26819. "description": "[数量]关联手数",
  26820. "type": "number"
  26821. },
  26822. "relatedmode": {
  26823. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26824. "type": "integer"
  26825. },
  26826. "relatedqty": {
  26827. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26828. "type": "number"
  26829. },
  26830. "retcode": {
  26831. "description": "返回码",
  26832. "type": "integer"
  26833. },
  26834. "saleuserid": {
  26835. "description": "业务员ID",
  26836. "type": "integer"
  26837. },
  26838. "tradedate": {
  26839. "description": "关联交易日(yyyyMMdd)",
  26840. "type": "string"
  26841. },
  26842. "tradeid": {
  26843. "description": "成交单号",
  26844. "type": "string"
  26845. },
  26846. "tradelot": {
  26847. "description": "成交手数",
  26848. "type": "integer"
  26849. },
  26850. "tradeprice": {
  26851. "description": "成交价",
  26852. "type": "number"
  26853. },
  26854. "tradetime": {
  26855. "description": "成交时间",
  26856. "type": "string"
  26857. },
  26858. "tradetradedate": {
  26859. "description": "成交交易日(yyyyMMdd)",
  26860. "type": "string"
  26861. },
  26862. "tradeuserid": {
  26863. "description": "交易用户ID",
  26864. "type": "integer"
  26865. }
  26866. }
  26867. },
  26868. "models.Loginaccount": {
  26869. "type": "object",
  26870. "required": [
  26871. "loginid"
  26872. ],
  26873. "properties": {
  26874. "accountname": {
  26875. "description": "账户名称",
  26876. "type": "string"
  26877. },
  26878. "canoutin": {
  26879. "description": "是否可出入金 - 0:不可 1:可",
  26880. "type": "integer"
  26881. },
  26882. "clientroleid": {
  26883. "description": "终端角色ID",
  26884. "type": "integer"
  26885. },
  26886. "haslogined": {
  26887. "description": "是否已登录 - 0:未登录 1:已登录",
  26888. "type": "integer"
  26889. },
  26890. "hasupdatedpwd": {
  26891. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26892. "type": "integer"
  26893. },
  26894. "lastloginip": {
  26895. "description": "最新登录地址",
  26896. "type": "string"
  26897. },
  26898. "lastloginmode": {
  26899. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26900. "type": "integer"
  26901. },
  26902. "lastloginremark": {
  26903. "description": "最新登录描述",
  26904. "type": "string"
  26905. },
  26906. "lastlogintime": {
  26907. "description": "最新登录时间",
  26908. "type": "string"
  26909. },
  26910. "logincode": {
  26911. "description": "登录代码",
  26912. "type": "string"
  26913. },
  26914. "loginfailnum": {
  26915. "description": "连续登录失败次数(登录成功时清零)",
  26916. "type": "integer"
  26917. },
  26918. "loginid": {
  26919. "description": "登陆账号",
  26920. "type": "integer"
  26921. },
  26922. "loginport": {
  26923. "description": "最新登录端口",
  26924. "type": "integer"
  26925. },
  26926. "loginstatus": {
  26927. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26928. "type": "integer"
  26929. },
  26930. "loginusertype": {
  26931. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26932. "type": "integer"
  26933. },
  26934. "mobile": {
  26935. "description": "手机号码(加密存储)",
  26936. "type": "string"
  26937. },
  26938. "modifierid": {
  26939. "description": "修改人",
  26940. "type": "integer"
  26941. },
  26942. "modifysrc": {
  26943. "description": "审核来源 - 1:管理端 2:终端",
  26944. "type": "integer"
  26945. },
  26946. "modifytime": {
  26947. "description": "修改时间",
  26948. "type": "string"
  26949. },
  26950. "password": {
  26951. "description": "登陆密码",
  26952. "type": "string"
  26953. },
  26954. "pwdwrongcount": {
  26955. "description": "密码错误次数",
  26956. "type": "integer"
  26957. },
  26958. "relateduserid": {
  26959. "description": "关联用户ID(机构)",
  26960. "type": "integer"
  26961. },
  26962. "taaccountrighttype": {
  26963. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  26964. "type": "integer"
  26965. },
  26966. "unfreezetime": {
  26967. "description": "账户解冻时间",
  26968. "type": "string"
  26969. },
  26970. "userid": {
  26971. "description": "用户ID",
  26972. "type": "integer"
  26973. }
  26974. }
  26975. },
  26976. "models.MainAccountInfo": {
  26977. "type": "object",
  26978. "properties": {
  26979. "accountid": {
  26980. "description": "账号id",
  26981. "type": "integer"
  26982. },
  26983. "accountname": {
  26984. "description": "账号名称(taaccount表中的名称)",
  26985. "type": "string"
  26986. },
  26987. "appid": {
  26988. "description": "AppID",
  26989. "type": "string"
  26990. },
  26991. "authcode": {
  26992. "description": "授权码",
  26993. "type": "string"
  26994. },
  26995. "brokerid": {
  26996. "description": "经纪商id",
  26997. "type": "string"
  26998. },
  26999. "fcid": {
  27000. "description": "期货公司id",
  27001. "type": "integer"
  27002. },
  27003. "fcname": {
  27004. "description": "期货公司代码",
  27005. "type": "string"
  27006. },
  27007. "hedgeaccountcode": {
  27008. "description": "外部账号代码(主账号登录代码)",
  27009. "type": "string"
  27010. },
  27011. "hedgeaccountpwd": {
  27012. "description": "密码",
  27013. "type": "string"
  27014. },
  27015. "ismain": {
  27016. "description": "是否主账号",
  27017. "type": "integer"
  27018. },
  27019. "relateduserid": {
  27020. "description": "关联用户id",
  27021. "type": "integer"
  27022. },
  27023. "userid": {
  27024. "description": "关联用户id",
  27025. "type": "integer"
  27026. }
  27027. }
  27028. },
  27029. "models.Market": {
  27030. "type": "object",
  27031. "required": [
  27032. "marketid",
  27033. "marketstatus",
  27034. "openmethod",
  27035. "reckonpricealgorithm",
  27036. "trademode",
  27037. "tradeproperty"
  27038. ],
  27039. "properties": {
  27040. "auctionwrtype": {
  27041. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27042. "type": "integer"
  27043. },
  27044. "canacceptquote": {
  27045. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27046. "type": "integer"
  27047. },
  27048. "cangoodsexercise": {
  27049. "description": "[期权]是否可现货行权- 0:否 1:是",
  27050. "type": "integer"
  27051. },
  27052. "cangoodsexercisetype": {
  27053. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27054. "type": "integer"
  27055. },
  27056. "canmanualquotestrike": {
  27057. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27058. "type": "integer"
  27059. },
  27060. "canmutistage": {
  27061. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27062. "type": "integer"
  27063. },
  27064. "canpreexercise": {
  27065. "description": "[期权]是否可预申报- 0:否 1:是",
  27066. "type": "integer"
  27067. },
  27068. "clearinterval": {
  27069. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27070. "type": "integer"
  27071. },
  27072. "contracttmp": {
  27073. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27074. "type": "string"
  27075. },
  27076. "exchareaid": {
  27077. "description": "所属交易所,可以没有",
  27078. "type": "integer"
  27079. },
  27080. "goodstype": {
  27081. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27082. "type": "integer"
  27083. },
  27084. "hasrebate": {
  27085. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27086. "type": "integer"
  27087. },
  27088. "hastradecredit": {
  27089. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27090. "type": "integer"
  27091. },
  27092. "haswr": {
  27093. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27094. "type": "integer"
  27095. },
  27096. "isdeductmargin": {
  27097. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27098. "type": "integer"
  27099. },
  27100. "isrecordsource": {
  27101. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27102. "type": "integer"
  27103. },
  27104. "isreleasemargin": {
  27105. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27106. "type": "integer"
  27107. },
  27108. "marginformula": {
  27109. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27110. "type": "integer"
  27111. },
  27112. "marginformula2": {
  27113. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27114. "type": "integer"
  27115. },
  27116. "marketid": {
  27117. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27118. "type": "integer"
  27119. },
  27120. "marketname": {
  27121. "description": "市场名称",
  27122. "type": "string"
  27123. },
  27124. "marketserviceid": {
  27125. "description": "市场服务ID",
  27126. "type": "integer"
  27127. },
  27128. "marketstatus": {
  27129. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27130. "type": "integer"
  27131. },
  27132. "markettype": {
  27133. "description": "市场类型- 1:非交易服务 2:交易服务",
  27134. "type": "integer"
  27135. },
  27136. "matchermode": {
  27137. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27138. "type": "integer"
  27139. },
  27140. "openmethod": {
  27141. "description": "开盘模式 - 0 自动 1手动",
  27142. "type": "integer"
  27143. },
  27144. "otcuserid": {
  27145. "description": "场外期权做市商[场外期权]",
  27146. "type": "integer"
  27147. },
  27148. "outersynctime": {
  27149. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27150. "type": "string"
  27151. },
  27152. "pendingflag": {
  27153. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27154. "type": "integer"
  27155. },
  27156. "pendingtime": {
  27157. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27158. "type": "string"
  27159. },
  27160. "performancetempid": {
  27161. "description": "履约计划模板ID - 作废",
  27162. "type": "integer"
  27163. },
  27164. "premiumquotemode": {
  27165. "description": "权利金报价方式 - 1:自动 2:手动",
  27166. "type": "integer"
  27167. },
  27168. "rebateratio": {
  27169. "description": "返利比率[竞价式]",
  27170. "type": "number"
  27171. },
  27172. "reckonorder": {
  27173. "description": "结算顺序",
  27174. "type": "integer"
  27175. },
  27176. "reckonpricealgorithm": {
  27177. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27178. "type": "integer"
  27179. },
  27180. "reckonpriceparam": {
  27181. "description": "结算价参数",
  27182. "type": "integer"
  27183. },
  27184. "reckontime": {
  27185. "description": "结算时间[通道交易-对冲](HH:mm)",
  27186. "type": "string"
  27187. },
  27188. "roleprioritytype": {
  27189. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27190. "type": "integer"
  27191. },
  27192. "selllistingauditflag": {
  27193. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27194. "type": "integer"
  27195. },
  27196. "trademarkettype": {
  27197. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27198. "type": "integer"
  27199. },
  27200. "trademode": {
  27201. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27202. "type": "integer"
  27203. },
  27204. "tradeproperty": {
  27205. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27206. "type": "integer"
  27207. },
  27208. "tradetype": {
  27209. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27210. "type": "integer"
  27211. }
  27212. }
  27213. },
  27214. "models.Marketcalendar": {
  27215. "type": "object",
  27216. "properties": {
  27217. "holidaydate": {
  27218. "description": "节假日期(yyyy-MM-dd)",
  27219. "type": "string"
  27220. },
  27221. "marketid": {
  27222. "description": "市场ID",
  27223. "type": "integer"
  27224. }
  27225. }
  27226. },
  27227. "models.Marketrun": {
  27228. "type": "object",
  27229. "required": [
  27230. "marketid",
  27231. "nexttradedate",
  27232. "reckonflag",
  27233. "runstatus",
  27234. "tradedate",
  27235. "tradedate2"
  27236. ],
  27237. "properties": {
  27238. "afternexttradedate": {
  27239. "description": "下下交易日",
  27240. "type": "string"
  27241. },
  27242. "clearquoteflag": {
  27243. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27244. "type": "integer"
  27245. },
  27246. "lastreckondate": {
  27247. "description": "最新交易日(结算成功)",
  27248. "type": "string"
  27249. },
  27250. "machinedate": {
  27251. "description": "机器时间",
  27252. "type": "string"
  27253. },
  27254. "manualflag": {
  27255. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27256. "type": "integer"
  27257. },
  27258. "marketid": {
  27259. "description": "市场ID",
  27260. "type": "integer"
  27261. },
  27262. "nexttradedate": {
  27263. "description": "下一交易日",
  27264. "type": "string"
  27265. },
  27266. "pretradedate": {
  27267. "description": "上一交易日",
  27268. "type": "string"
  27269. },
  27270. "reckonflag": {
  27271. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27272. "type": "integer"
  27273. },
  27274. "runstatus": {
  27275. "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.今日免清算",
  27276. "type": "integer"
  27277. },
  27278. "sectionid": {
  27279. "description": "时间段号[多时段时用]",
  27280. "type": "integer"
  27281. },
  27282. "tradedate": {
  27283. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27284. "type": "string"
  27285. },
  27286. "tradedate2": {
  27287. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27288. "type": "string"
  27289. },
  27290. "updatetime": {
  27291. "description": "更新时间",
  27292. "type": "string"
  27293. }
  27294. }
  27295. },
  27296. "models.Messageboard": {
  27297. "type": "object",
  27298. "required": [
  27299. "messageboardid"
  27300. ],
  27301. "properties": {
  27302. "contactnum": {
  27303. "description": "联系电话",
  27304. "type": "string"
  27305. },
  27306. "createtime": {
  27307. "description": "创建时间",
  27308. "type": "string"
  27309. },
  27310. "message": {
  27311. "description": "留言信息",
  27312. "type": "string"
  27313. },
  27314. "messageboardid": {
  27315. "description": "留言簿ID(SEQ_MessageBoard)",
  27316. "type": "integer"
  27317. },
  27318. "userid": {
  27319. "description": "用户ID",
  27320. "type": "integer"
  27321. }
  27322. }
  27323. },
  27324. "models.MyBargainApply": {
  27325. "type": "object",
  27326. "required": [
  27327. "userid"
  27328. ],
  27329. "properties": {
  27330. "accountid": {
  27331. "description": "摘牌资金账号",
  27332. "type": "integer"
  27333. },
  27334. "applyprice": {
  27335. "description": "申请价格",
  27336. "type": "string"
  27337. },
  27338. "applyqty": {
  27339. "description": "摘牌数量",
  27340. "type": "integer"
  27341. },
  27342. "applyremark": {
  27343. "description": "申请备注",
  27344. "type": "string"
  27345. },
  27346. "applystatus": {
  27347. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  27348. "type": "integer"
  27349. },
  27350. "applytime": {
  27351. "description": "申请时间",
  27352. "type": "string"
  27353. },
  27354. "buyorsell": {
  27355. "description": "买卖 - 0:买 1:卖",
  27356. "type": "integer"
  27357. },
  27358. "confirmprice": {
  27359. "description": "可接受价格(拒绝时填写)-作废",
  27360. "type": "number"
  27361. },
  27362. "confirmqty": {
  27363. "description": "可接受数量(拒绝时填写)-作废",
  27364. "type": "integer"
  27365. },
  27366. "confirmremark": {
  27367. "description": "确认备注",
  27368. "type": "string"
  27369. },
  27370. "confirmtime": {
  27371. "description": "确认时间",
  27372. "type": "string"
  27373. },
  27374. "confirmuserid": {
  27375. "description": "确认人",
  27376. "type": "integer"
  27377. },
  27378. "handlestatus": {
  27379. "description": "处理状态",
  27380. "type": "integer"
  27381. },
  27382. "ladingbillid": {
  27383. "description": "摘牌方提单ID [卖]",
  27384. "type": "integer"
  27385. },
  27386. "marketid": {
  27387. "description": "市场ID",
  27388. "type": "integer"
  27389. },
  27390. "matchaccountid": {
  27391. "description": "挂牌方资金账号",
  27392. "type": "integer"
  27393. },
  27394. "matchuserid": {
  27395. "description": "挂牌方用户ID",
  27396. "type": "integer"
  27397. },
  27398. "refprice": {
  27399. "description": "参考价格",
  27400. "type": "string"
  27401. },
  27402. "retcode": {
  27403. "description": "委托返回代码",
  27404. "type": "integer"
  27405. },
  27406. "sellusername": {
  27407. "description": "卖方",
  27408. "type": "string"
  27409. },
  27410. "subnum": {
  27411. "description": "摘牌方提单子单号 [卖]",
  27412. "type": "integer"
  27413. },
  27414. "tradedate": {
  27415. "description": "交易日(yyyyMMdd)",
  27416. "type": "string"
  27417. },
  27418. "userid": {
  27419. "description": "摘牌人用户ID",
  27420. "type": "integer"
  27421. },
  27422. "wrbargainid": {
  27423. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  27424. "type": "integer"
  27425. },
  27426. "wrtradeorderid": {
  27427. "description": "关联委托单ID",
  27428. "type": "integer"
  27429. }
  27430. }
  27431. },
  27432. "models.MyBuyOrder": {
  27433. "type": "object",
  27434. "required": [
  27435. "userid"
  27436. ],
  27437. "properties": {
  27438. "accountid": {
  27439. "description": "资金账户ID",
  27440. "type": "integer"
  27441. },
  27442. "marketid": {
  27443. "description": "市场ID",
  27444. "type": "integer"
  27445. },
  27446. "origin": {
  27447. "description": "原产地",
  27448. "type": "string"
  27449. },
  27450. "remark": {
  27451. "description": "备注",
  27452. "type": "string"
  27453. },
  27454. "userid": {
  27455. "description": "用户ID",
  27456. "type": "integer"
  27457. },
  27458. "warehouseids": {
  27459. "description": "仓库ID - 多个, 逗号分隔",
  27460. "type": "string"
  27461. },
  27462. "warehouseinfosdisplay": {
  27463. "type": "string"
  27464. },
  27465. "wrtradeorderid": {
  27466. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  27467. "type": "integer"
  27468. },
  27469. "zscategory": {
  27470. "description": "钻石分类 - 枚举”ZSCategory“",
  27471. "type": "integer"
  27472. },
  27473. "zscategorydisplay": {
  27474. "type": "string"
  27475. },
  27476. "zsclaritytype": {
  27477. "description": "净度 - 两个, 逗号分隔",
  27478. "type": "string"
  27479. },
  27480. "zsclaritytypedisplay": {
  27481. "type": "string"
  27482. },
  27483. "zscolortype": {
  27484. "description": "颜色 - 两个, 逗号分隔",
  27485. "type": "string"
  27486. },
  27487. "zscolortypedisplay": {
  27488. "type": "string"
  27489. },
  27490. "zscrystaltype": {
  27491. "description": "晶型 - 多个,逗号分隔",
  27492. "type": "string"
  27493. },
  27494. "zscrystaltypedisplay": {
  27495. "type": "string"
  27496. },
  27497. "zscurrencytype": {
  27498. "description": "货币类型 - 多个, 逗号分隔",
  27499. "type": "string"
  27500. },
  27501. "zscurrencytypedisplay": {
  27502. "type": "string"
  27503. },
  27504. "zscuttype": {
  27505. "description": "切工 - 两个, 逗号分隔",
  27506. "type": "string"
  27507. },
  27508. "zscuttypedisplay": {
  27509. "type": "string"
  27510. },
  27511. "zsczcolor1type": {
  27512. "description": "彩钻颜色1, 逗号分隔",
  27513. "type": "string"
  27514. },
  27515. "zsczcolor1typedisplay": {
  27516. "type": "string"
  27517. },
  27518. "zsczcolor2type": {
  27519. "description": "彩钻颜色2, 逗号分隔",
  27520. "type": "string"
  27521. },
  27522. "zsczcolor2typedisplay": {
  27523. "type": "string"
  27524. },
  27525. "zsczcolor3type": {
  27526. "description": "彩钻颜色3, 逗号分隔",
  27527. "type": "string"
  27528. },
  27529. "zsczcolor3typedisplay": {
  27530. "type": "string"
  27531. },
  27532. "zsfluorescencetype": {
  27533. "description": "荧光 - 多个, 逗号分隔",
  27534. "type": "string"
  27535. },
  27536. "zsfluorescencetypedisplay": {
  27537. "type": "string"
  27538. },
  27539. "zspolishtype": {
  27540. "description": "抛光度 - 两个, 逗号分隔",
  27541. "type": "string"
  27542. },
  27543. "zspolishtypedisplay": {
  27544. "type": "string"
  27545. },
  27546. "zsshapetype": {
  27547. "description": "形状 - 多个, 逗号分隔",
  27548. "type": "string"
  27549. },
  27550. "zsshapetypedisplay": {
  27551. "type": "string"
  27552. },
  27553. "zssize": {
  27554. "description": "尺寸 - 两个小数, 逗号分隔",
  27555. "type": "string"
  27556. },
  27557. "zsstyletype": {
  27558. "description": "款式 - 多个, 逗号分隔",
  27559. "type": "string"
  27560. },
  27561. "zsstyletypedisplay": {
  27562. "type": "string"
  27563. },
  27564. "zssymmetrytype": {
  27565. "description": "对称度 - 两个, 逗号分隔",
  27566. "type": "string"
  27567. },
  27568. "zssymmetrytypedisplay": {
  27569. "type": "string"
  27570. },
  27571. "zstabledisplay": {
  27572. "description": "求购信息",
  27573. "type": "string"
  27574. }
  27575. }
  27576. },
  27577. "models.MyDeListing": {
  27578. "type": "object",
  27579. "required": [
  27580. "userid"
  27581. ],
  27582. "properties": {
  27583. "buyaccountid": {
  27584. "description": "买方账号ID",
  27585. "type": "integer"
  27586. },
  27587. "buychargevalue": {
  27588. "description": "买方手续费",
  27589. "type": "number"
  27590. },
  27591. "buyorsell": {
  27592. "description": "方向 - 0:全部 1:买 2:卖",
  27593. "type": "integer"
  27594. },
  27595. "buyuserid": {
  27596. "description": "买方用户ID",
  27597. "type": "integer"
  27598. },
  27599. "deliverygoodsid": {
  27600. "description": "现货品种ID",
  27601. "type": "integer"
  27602. },
  27603. "exchangerate": {
  27604. "description": "汇率",
  27605. "type": "number"
  27606. },
  27607. "goodsno": {
  27608. "description": "商品编号",
  27609. "type": "string"
  27610. },
  27611. "marketid": {
  27612. "description": "市场ID",
  27613. "type": "integer"
  27614. },
  27615. "matchusername": {
  27616. "description": "对手方",
  27617. "type": "string"
  27618. },
  27619. "oritradeamount": {
  27620. "description": "成交金额[商品币种]",
  27621. "type": "number"
  27622. },
  27623. "performanceplanid": {
  27624. "description": "履约计划ID/合同ID",
  27625. "type": "integer"
  27626. },
  27627. "sellaccountid": {
  27628. "description": "卖方账号ID",
  27629. "type": "integer"
  27630. },
  27631. "sellchargevalue": {
  27632. "description": "卖方手续费",
  27633. "type": "number"
  27634. },
  27635. "selluserid": {
  27636. "description": "卖方用户ID",
  27637. "type": "integer"
  27638. },
  27639. "tradeamount": {
  27640. "description": "成交金额",
  27641. "type": "number"
  27642. },
  27643. "tradedate": {
  27644. "description": "交易日(yyyyMMdd)",
  27645. "type": "string"
  27646. },
  27647. "tradeprice": {
  27648. "description": "成交价格",
  27649. "type": "number"
  27650. },
  27651. "tradeqty": {
  27652. "description": "成交数量",
  27653. "type": "integer"
  27654. },
  27655. "tradetime": {
  27656. "description": "成交时间",
  27657. "type": "string"
  27658. },
  27659. "userid": {
  27660. "description": "用户ID",
  27661. "type": "integer"
  27662. },
  27663. "wrfactortypeid": {
  27664. "description": "仓单要素类型ID",
  27665. "type": "integer"
  27666. },
  27667. "wrstandardid": {
  27668. "description": "现货商品ID",
  27669. "type": "integer"
  27670. },
  27671. "wrtradedetailid": {
  27672. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  27673. "type": "integer"
  27674. },
  27675. "zscategory": {
  27676. "description": "钻石分类 - 枚举”ZSCategory“",
  27677. "type": "integer"
  27678. },
  27679. "zscategorydisplay": {
  27680. "type": "string"
  27681. },
  27682. "zscurrencytype": {
  27683. "description": "货币类型 - 枚举“ZSCurrencyType”",
  27684. "type": "integer"
  27685. }
  27686. }
  27687. },
  27688. "models.MyDelistingApply": {
  27689. "type": "object",
  27690. "required": [
  27691. "selluserid"
  27692. ],
  27693. "properties": {
  27694. "applyprice": {
  27695. "description": "申请价格",
  27696. "type": "number"
  27697. },
  27698. "applyqty": {
  27699. "description": "申请数量",
  27700. "type": "number"
  27701. },
  27702. "applyremark": {
  27703. "description": "申请备注",
  27704. "type": "string"
  27705. },
  27706. "applystatus": {
  27707. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  27708. "type": "integer"
  27709. },
  27710. "applytime": {
  27711. "description": "申请时间",
  27712. "type": "string"
  27713. },
  27714. "auditremark": {
  27715. "description": "确认备注",
  27716. "type": "string"
  27717. },
  27718. "audittime": {
  27719. "description": "确认时间",
  27720. "type": "string"
  27721. },
  27722. "buyuserid": {
  27723. "description": "买方用户ID",
  27724. "type": "integer"
  27725. },
  27726. "buyusername": {
  27727. "description": "买方",
  27728. "type": "string"
  27729. },
  27730. "buywrtradeorderid": {
  27731. "description": "买委托单ID",
  27732. "type": "integer"
  27733. },
  27734. "ladingbillid": {
  27735. "description": "卖方提单ID",
  27736. "type": "integer"
  27737. },
  27738. "marketid": {
  27739. "description": "市场ID",
  27740. "type": "integer"
  27741. },
  27742. "sellaccountid": {
  27743. "description": "卖方账户ID",
  27744. "type": "integer"
  27745. },
  27746. "selldelistingapplyid": {
  27747. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  27748. "type": "integer"
  27749. },
  27750. "selltradeorderid": {
  27751. "description": "卖方委托ID(买方确认成交后更新)",
  27752. "type": "integer"
  27753. },
  27754. "selluserid": {
  27755. "description": "卖方用户ID",
  27756. "type": "integer"
  27757. },
  27758. "subnum": {
  27759. "description": "卖方提单子单号",
  27760. "type": "integer"
  27761. },
  27762. "wrfactortypeid": {
  27763. "description": "仓单要素类型ID",
  27764. "type": "integer"
  27765. },
  27766. "wrstandardid": {
  27767. "description": "现货商品ID",
  27768. "type": "integer"
  27769. }
  27770. }
  27771. },
  27772. "models.MySellOrder": {
  27773. "type": "object",
  27774. "required": [
  27775. "userid"
  27776. ],
  27777. "properties": {
  27778. "accountid": {
  27779. "description": "资金账号",
  27780. "type": "integer"
  27781. },
  27782. "applyid": {
  27783. "description": "申请单ID",
  27784. "type": "integer"
  27785. },
  27786. "attachment1": {
  27787. "description": "附件1",
  27788. "type": "string"
  27789. },
  27790. "attachment2": {
  27791. "description": "附件2",
  27792. "type": "string"
  27793. },
  27794. "buyorsell": {
  27795. "description": "买卖 - 0:买 1:卖",
  27796. "type": "integer"
  27797. },
  27798. "canbargain": {
  27799. "description": "是否可议价 - 0:不可 1:可",
  27800. "type": "integer"
  27801. },
  27802. "cancelqty": {
  27803. "description": "撤销数量",
  27804. "type": "integer"
  27805. },
  27806. "canceltime": {
  27807. "description": "撤销时间",
  27808. "type": "string"
  27809. },
  27810. "chargealgorithm": {
  27811. "description": "手续费收取方式 1:比率 2:固定",
  27812. "type": "integer"
  27813. },
  27814. "chargealgorithmvalue": {
  27815. "description": "手续费设置值(交易所部分)",
  27816. "type": "number"
  27817. },
  27818. "chargealgorithmvalue2": {
  27819. "description": "手续费设置值(会员部分)",
  27820. "type": "number"
  27821. },
  27822. "clientordertime": {
  27823. "description": "客户端委托时间",
  27824. "type": "string"
  27825. },
  27826. "exchangerate": {
  27827. "description": "汇率[67]",
  27828. "type": "number"
  27829. },
  27830. "firstratio": {
  27831. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  27832. "type": "number"
  27833. },
  27834. "fixedprice": {
  27835. "description": "固定价格 - [挂牌]",
  27836. "type": "number"
  27837. },
  27838. "freezecharge": {
  27839. "description": "冻结手续费",
  27840. "type": "number"
  27841. },
  27842. "freezefirstamount": {
  27843. "description": "冻结首付金额 - [摘牌]",
  27844. "type": "number"
  27845. },
  27846. "freezemargin": {
  27847. "description": "冻结保证金",
  27848. "type": "number"
  27849. },
  27850. "goodsno": {
  27851. "description": "商品编号",
  27852. "type": "string"
  27853. },
  27854. "isspecified": {
  27855. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  27856. "type": "integer"
  27857. },
  27858. "marginalgorithm": {
  27859. "description": "保证金方式 - 1:比率 2:固定",
  27860. "type": "integer"
  27861. },
  27862. "marginvalue": {
  27863. "description": "保证金设置值",
  27864. "type": "number"
  27865. },
  27866. "marketid": {
  27867. "description": "市场ID",
  27868. "type": "integer"
  27869. },
  27870. "orderamount": {
  27871. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  27872. "type": "number"
  27873. },
  27874. "orderqty": {
  27875. "description": "委托数量",
  27876. "type": "integer"
  27877. },
  27878. "ordertime": {
  27879. "description": "委托时间",
  27880. "type": "string"
  27881. },
  27882. "performancetemplateid": {
  27883. "description": "履约计划模板ID",
  27884. "type": "integer"
  27885. },
  27886. "pricefactor": {
  27887. "description": "价格系数(浮动价时填写) - [挂牌]",
  27888. "type": "number"
  27889. },
  27890. "pricemove": {
  27891. "description": "升贴水(浮动价时填写) - [挂牌]",
  27892. "type": "number"
  27893. },
  27894. "relatedwrtradeorderid": {
  27895. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  27896. "type": "integer"
  27897. },
  27898. "retcode": {
  27899. "description": "错误代码",
  27900. "type": "integer"
  27901. },
  27902. "tradedate": {
  27903. "description": "交易日(yyyyMMdd)",
  27904. "type": "string"
  27905. },
  27906. "tradeprice": {
  27907. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  27908. "type": "number"
  27909. },
  27910. "tradeqty": {
  27911. "description": "成交数量",
  27912. "type": "integer"
  27913. },
  27914. "unfreezecharge": {
  27915. "description": "解冻手续费",
  27916. "type": "number"
  27917. },
  27918. "unfreezefirstamount": {
  27919. "description": "解冻首付金额 - [摘牌]",
  27920. "type": "number"
  27921. },
  27922. "unfreezemargin": {
  27923. "description": "解冻保证金",
  27924. "type": "number"
  27925. },
  27926. "userid": {
  27927. "description": "用户ID",
  27928. "type": "integer"
  27929. },
  27930. "uuid": {
  27931. "description": "发起端唯一id",
  27932. "type": "string"
  27933. },
  27934. "validtime": {
  27935. "description": "有效期限",
  27936. "type": "string"
  27937. },
  27938. "validtype": {
  27939. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  27940. "type": "integer"
  27941. },
  27942. "wrbargainid": {
  27943. "description": "议价申请单ID",
  27944. "type": "integer"
  27945. },
  27946. "wrfactortypeid": {
  27947. "description": "仓单要素类型ID/商品ID(77)",
  27948. "type": "integer"
  27949. },
  27950. "wrpricetype": {
  27951. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  27952. "type": "integer"
  27953. },
  27954. "wrstandardid": {
  27955. "description": "现货商品ID",
  27956. "type": "integer"
  27957. },
  27958. "wrtradeorderid": {
  27959. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  27960. "type": "integer"
  27961. },
  27962. "wrtradeorderstatus": {
  27963. "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:撤单解冻贷款失败",
  27964. "type": "integer"
  27965. },
  27966. "wrtradetype": {
  27967. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  27968. "type": "integer"
  27969. },
  27970. "wrtransferuserid": {
  27971. "description": "仓单受让用户 - [摘牌]",
  27972. "type": "integer"
  27973. },
  27974. "zscategory": {
  27975. "description": "钻石分类 - 枚举”ZSCategory“",
  27976. "type": "integer"
  27977. },
  27978. "zscurrencytype": {
  27979. "description": "货币类型 - 枚举“ZSCurrencyType”",
  27980. "type": "integer"
  27981. }
  27982. }
  27983. },
  27984. "models.MyWRPosition": {
  27985. "type": "object",
  27986. "required": [
  27987. "wruserid"
  27988. ],
  27989. "properties": {
  27990. "cerno": {
  27991. "description": "证书编号 - 类型:2,4,5",
  27992. "type": "string"
  27993. },
  27994. "cpcertno": {
  27995. "description": "金伯利证书编号 - 类型:3",
  27996. "type": "string"
  27997. },
  27998. "ffreezeqty": {
  27999. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  28000. "type": "number"
  28001. },
  28002. "ftotalqty": {
  28003. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  28004. "type": "number"
  28005. },
  28006. "goodsno": {
  28007. "description": "商品编号",
  28008. "type": "string"
  28009. },
  28010. "imagepath": {
  28011. "description": "商品照片(相对地址)",
  28012. "type": "string"
  28013. },
  28014. "isvalid": {
  28015. "description": "是否有效 - 0:无效 1:有效",
  28016. "type": "integer"
  28017. },
  28018. "kppath": {
  28019. "description": "金伯利证书图片(相对地址) - 类型:3",
  28020. "type": "string"
  28021. },
  28022. "kpweight": {
  28023. "description": "金伯利证书重量 - 类型:3",
  28024. "type": "string"
  28025. },
  28026. "marketprice": {
  28027. "description": "市场价",
  28028. "type": "string"
  28029. },
  28030. "origin": {
  28031. "description": "原产地 - 类型:3",
  28032. "type": "string"
  28033. },
  28034. "price": {
  28035. "description": "总价(价格) - 类型:1,2,3,4,5",
  28036. "type": "number"
  28037. },
  28038. "priceper": {
  28039. "description": "克拉单价 - 类型:1,2,3,5",
  28040. "type": "string"
  28041. },
  28042. "remark": {
  28043. "description": "备注",
  28044. "type": "string"
  28045. },
  28046. "sellmobile": {
  28047. "description": "手机号码(加密存储)",
  28048. "type": "string"
  28049. },
  28050. "sellusername": {
  28051. "description": "账户名称(机构名称)",
  28052. "type": "string"
  28053. },
  28054. "settingmaterial": {
  28055. "description": "镶嵌材料 - 类型:4",
  28056. "type": "string"
  28057. },
  28058. "size1": {
  28059. "description": "尺寸1 - 类型:2,4,5",
  28060. "type": "string"
  28061. },
  28062. "size2": {
  28063. "description": "尺寸2 - 类型:2,4,5",
  28064. "type": "string"
  28065. },
  28066. "size3": {
  28067. "description": "尺寸3 - 类型:2,4,5",
  28068. "type": "string"
  28069. },
  28070. "stonedesc": {
  28071. "description": "配石描述 - 类型:4",
  28072. "type": "string"
  28073. },
  28074. "userid": {
  28075. "description": "用户ID",
  28076. "type": "integer"
  28077. },
  28078. "warehouseid": {
  28079. "description": "仓库ID",
  28080. "type": "integer"
  28081. },
  28082. "warehousenamedisplay": {
  28083. "type": "string"
  28084. },
  28085. "weight": {
  28086. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  28087. "type": "number"
  28088. },
  28089. "weightavg": {
  28090. "description": "平均单颗重量 - 类型:1,3",
  28091. "type": "number"
  28092. },
  28093. "wrpath": {
  28094. "description": "仓单扫描件(相对地址)",
  28095. "type": "string"
  28096. },
  28097. "wrstandardid": {
  28098. "description": "现货商品ID",
  28099. "type": "integer"
  28100. },
  28101. "wruserid": {
  28102. "description": "登录用户ID",
  28103. "type": "integer"
  28104. },
  28105. "zscategory": {
  28106. "description": "钻石分类 - 枚举”ZSCategory“",
  28107. "type": "integer"
  28108. },
  28109. "zscategorydisplay": {
  28110. "type": "string"
  28111. },
  28112. "zscerttype": {
  28113. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  28114. "type": "integer"
  28115. },
  28116. "zscerttypedisplay": {
  28117. "type": "string"
  28118. },
  28119. "zsclaritytype1": {
  28120. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  28121. "type": "integer"
  28122. },
  28123. "zsclaritytype1display": {
  28124. "type": "string"
  28125. },
  28126. "zsclaritytype2": {
  28127. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  28128. "type": "integer"
  28129. },
  28130. "zsclaritytype2display": {
  28131. "type": "string"
  28132. },
  28133. "zscolortype1": {
  28134. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  28135. "type": "integer"
  28136. },
  28137. "zscolortype1display": {
  28138. "type": "string"
  28139. },
  28140. "zscolortype2": {
  28141. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  28142. "type": "integer"
  28143. },
  28144. "zscolortype2display": {
  28145. "type": "string"
  28146. },
  28147. "zscrystaltype": {
  28148. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  28149. "type": "string"
  28150. },
  28151. "zscrystaltypedisplay": {
  28152. "type": "string"
  28153. },
  28154. "zscurrencytype": {
  28155. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28156. "type": "integer"
  28157. },
  28158. "zscurrencytypedisplay": {
  28159. "type": "string"
  28160. },
  28161. "zscurrencytypedisplayunit": {
  28162. "type": "string"
  28163. },
  28164. "zscuttype1": {
  28165. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  28166. "type": "integer"
  28167. },
  28168. "zscuttype1display": {
  28169. "type": "string"
  28170. },
  28171. "zscuttype2": {
  28172. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  28173. "type": "integer"
  28174. },
  28175. "zscuttype2display": {
  28176. "type": "string"
  28177. },
  28178. "zsczcolor1type": {
  28179. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  28180. "type": "integer"
  28181. },
  28182. "zsczcolor1typedisplay": {
  28183. "type": "string"
  28184. },
  28185. "zsczcolor2type": {
  28186. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  28187. "type": "integer"
  28188. },
  28189. "zsczcolor2typedisplay": {
  28190. "type": "string"
  28191. },
  28192. "zsczcolor3type": {
  28193. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  28194. "type": "integer"
  28195. },
  28196. "zsczcolor3typedisplay": {
  28197. "type": "string"
  28198. },
  28199. "zsfluorescencetype1": {
  28200. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  28201. "type": "integer"
  28202. },
  28203. "zsfluorescencetype1display": {
  28204. "type": "string"
  28205. },
  28206. "zsfluorescencetype2": {
  28207. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  28208. "type": "integer"
  28209. },
  28210. "zsfluorescencetype2display": {
  28211. "type": "string"
  28212. },
  28213. "zspolishtype1": {
  28214. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  28215. "type": "integer"
  28216. },
  28217. "zspolishtype1display": {
  28218. "type": "string"
  28219. },
  28220. "zspolishtype2": {
  28221. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  28222. "type": "integer"
  28223. },
  28224. "zspolishtype2display": {
  28225. "type": "string"
  28226. },
  28227. "zsshapetype": {
  28228. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  28229. "type": "string"
  28230. },
  28231. "zsshapetypedisplay": {
  28232. "type": "string"
  28233. },
  28234. "zsstyletype": {
  28235. "description": "款式 - 类型:4",
  28236. "type": "integer"
  28237. },
  28238. "zsstyletypedisplay": {
  28239. "type": "string"
  28240. },
  28241. "zssymmetrytype1": {
  28242. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  28243. "type": "integer"
  28244. },
  28245. "zssymmetrytype1display": {
  28246. "type": "string"
  28247. },
  28248. "zssymmetrytype2": {
  28249. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  28250. "type": "integer"
  28251. },
  28252. "zssymmetrytype2display": {
  28253. "type": "string"
  28254. }
  28255. }
  28256. },
  28257. "models.NewFuncmenulist": {
  28258. "type": "object",
  28259. "required": [
  28260. "resourcecode"
  28261. ],
  28262. "properties": {
  28263. "authtype": {
  28264. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  28265. "type": "integer"
  28266. },
  28267. "buttonname": {
  28268. "description": "按钮名称",
  28269. "type": "string"
  28270. },
  28271. "buttontype": {
  28272. "description": "按钮类型 - 存按钮样式",
  28273. "type": "string"
  28274. },
  28275. "component": {
  28276. "description": "组件名或组件地址",
  28277. "type": "string"
  28278. },
  28279. "hidden": {
  28280. "description": "是否隐藏 - 0:显示 1:隐藏",
  28281. "type": "integer"
  28282. },
  28283. "iconame": {
  28284. "description": "菜单图标",
  28285. "type": "string"
  28286. },
  28287. "menutype": {
  28288. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  28289. "type": "integer"
  28290. },
  28291. "parentcode": {
  28292. "description": "上级资源代码",
  28293. "type": "string"
  28294. },
  28295. "remark": {
  28296. "description": "Remark",
  28297. "type": "string"
  28298. },
  28299. "resourcecode": {
  28300. "description": "资源代码",
  28301. "type": "string"
  28302. },
  28303. "resourcelevel": {
  28304. "description": "级别1-一级 2-二级 3-三级4-四级",
  28305. "type": "integer"
  28306. },
  28307. "resourcename": {
  28308. "description": "资源名(Title)",
  28309. "type": "string"
  28310. },
  28311. "sort": {
  28312. "description": "排序",
  28313. "type": "integer"
  28314. },
  28315. "url": {
  28316. "description": "Url",
  28317. "type": "string"
  28318. },
  28319. "urltype": {
  28320. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  28321. "type": "integer"
  28322. }
  28323. }
  28324. },
  28325. "models.OperationPrimaryMenu": {
  28326. "type": "object",
  28327. "properties": {
  28328. "Children": {
  28329. "description": "二级功能菜单",
  28330. "type": "array",
  28331. "items": {
  28332. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28333. }
  28334. },
  28335. "Key": {
  28336. "description": "菜单KEY",
  28337. "type": "string"
  28338. },
  28339. "Label": {
  28340. "description": "菜单标题",
  28341. "type": "string"
  28342. }
  28343. }
  28344. },
  28345. "models.OperationSecondaryMenu": {
  28346. "type": "object",
  28347. "properties": {
  28348. "Key": {
  28349. "description": "菜单KEY",
  28350. "type": "string"
  28351. },
  28352. "Label": {
  28353. "description": "菜单标题",
  28354. "type": "string"
  28355. },
  28356. "TabList": {
  28357. "description": "三级功能菜单",
  28358. "type": "array",
  28359. "items": {
  28360. "$ref": "#/definitions/models.OperationTabMenu"
  28361. }
  28362. }
  28363. }
  28364. },
  28365. "models.OperationTabMenu": {
  28366. "type": "object",
  28367. "properties": {
  28368. "Key": {
  28369. "description": "菜单KEY",
  28370. "type": "string"
  28371. },
  28372. "Label": {
  28373. "description": "菜单标题",
  28374. "type": "string"
  28375. }
  28376. }
  28377. },
  28378. "models.Patradelinkdetail": {
  28379. "type": "object",
  28380. "properties": {
  28381. "accountname": {
  28382. "description": "套期主体",
  28383. "type": "string"
  28384. },
  28385. "agreeunit": {
  28386. "description": "合约乘数",
  28387. "type": "number"
  28388. },
  28389. "amount": {
  28390. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28391. "type": "number"
  28392. },
  28393. "areauserid": {
  28394. "description": "所属机构",
  28395. "type": "integer"
  28396. },
  28397. "bizsubjectid": {
  28398. "description": "归属业务部门ID - SubjectID",
  28399. "type": "integer"
  28400. },
  28401. "buyorsell": {
  28402. "description": "方向 - 0:买 1:卖",
  28403. "type": "integer"
  28404. },
  28405. "convertratio": {
  28406. "description": "品种系数",
  28407. "type": "number"
  28408. },
  28409. "convertratiochange": {
  28410. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  28411. "type": "number"
  28412. },
  28413. "createtime": {
  28414. "description": "[日期时间]创建时间",
  28415. "type": "string"
  28416. },
  28417. "creatorid": {
  28418. "description": "创建人ID",
  28419. "type": "integer"
  28420. },
  28421. "creatorsrc": {
  28422. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28423. "type": "integer"
  28424. },
  28425. "goodscode": {
  28426. "description": "商品代码(内部)",
  28427. "type": "string"
  28428. },
  28429. "goodsgroupid": {
  28430. "description": "对冲品种ID[期货合约商品组ID]",
  28431. "type": "integer"
  28432. },
  28433. "goodsid": {
  28434. "description": "商品ID",
  28435. "type": "integer"
  28436. },
  28437. "hedgeditemid": {
  28438. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28439. "type": "integer"
  28440. },
  28441. "hedgeflag": {
  28442. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28443. "type": "integer"
  28444. },
  28445. "linkdetailid": {
  28446. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28447. "type": "string"
  28448. },
  28449. "linkstatus": {
  28450. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28451. "type": "integer"
  28452. },
  28453. "middlegoodsid": {
  28454. "description": "套保品种ID",
  28455. "type": "integer"
  28456. },
  28457. "name": {
  28458. "description": "账户名/子账户",
  28459. "type": "string"
  28460. },
  28461. "optioncode": {
  28462. "description": "[期货合约]期权代码 [期权]",
  28463. "type": "string"
  28464. },
  28465. "ordertype": {
  28466. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28467. "type": "integer"
  28468. },
  28469. "relatedlot": {
  28470. "description": "[数量]关联手数",
  28471. "type": "number"
  28472. },
  28473. "relatedmode": {
  28474. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28475. "type": "integer"
  28476. },
  28477. "relatedqty": {
  28478. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28479. "type": "number"
  28480. },
  28481. "retcode": {
  28482. "description": "返回码",
  28483. "type": "integer"
  28484. },
  28485. "saleuserid": {
  28486. "description": "业务员ID",
  28487. "type": "integer"
  28488. },
  28489. "tradedate": {
  28490. "description": "关联交易日(yyyyMMdd)",
  28491. "type": "string"
  28492. },
  28493. "tradeid": {
  28494. "description": "[成交单号]内部成交单ID",
  28495. "type": "string"
  28496. },
  28497. "tradelot": {
  28498. "description": "成交手数",
  28499. "type": "integer"
  28500. },
  28501. "tradeprice": {
  28502. "description": "[价格]成交价格",
  28503. "type": "number"
  28504. },
  28505. "tradetradedate": {
  28506. "description": "成交交易日(yyyyMMdd)",
  28507. "type": "string"
  28508. }
  28509. }
  28510. },
  28511. "models.QueryErrorInfosRsp": {
  28512. "type": "object",
  28513. "required": [
  28514. "errorid"
  28515. ],
  28516. "properties": {
  28517. "description": {
  28518. "description": "异常描述",
  28519. "type": "string"
  28520. },
  28521. "errorcode": {
  28522. "description": "异常代码",
  28523. "type": "string"
  28524. },
  28525. "errorid": {
  28526. "description": "异常ID",
  28527. "type": "integer"
  28528. },
  28529. "modulecode": {
  28530. "description": "所属模块",
  28531. "type": "string"
  28532. },
  28533. "operatecode": {
  28534. "description": "所属操作",
  28535. "type": "string"
  28536. },
  28537. "rownumber": {
  28538. "description": "行号",
  28539. "type": "string"
  28540. }
  28541. }
  28542. },
  28543. "models.QueryHedgeOrderDetailRsp": {
  28544. "type": "object",
  28545. "properties": {
  28546. "accountid": {
  28547. "description": "账户ID",
  28548. "type": "integer"
  28549. },
  28550. "buyorsell": {
  28551. "description": "买卖 - 0:买 1:卖",
  28552. "type": "integer"
  28553. },
  28554. "cancellogincode": {
  28555. "description": "撤单人",
  28556. "type": "string"
  28557. },
  28558. "channelbuildtype": {
  28559. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28560. "type": "integer"
  28561. },
  28562. "channelinnerorderstatus": {
  28563. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28564. "type": "integer"
  28565. },
  28566. "channeloperatetype": {
  28567. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28568. "type": "integer"
  28569. },
  28570. "closetype": {
  28571. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28572. "type": "integer"
  28573. },
  28574. "curexchangerate": {
  28575. "description": "当前汇率",
  28576. "type": "number"
  28577. },
  28578. "decimalplace": {
  28579. "description": "商品报价小数位",
  28580. "type": "integer"
  28581. },
  28582. "exchangefullname": {
  28583. "description": "外部交易所全称",
  28584. "type": "string"
  28585. },
  28586. "goodscode": {
  28587. "description": "商品代码(内部)",
  28588. "type": "string"
  28589. },
  28590. "goodsid": {
  28591. "description": "商品ID",
  28592. "type": "integer"
  28593. },
  28594. "goodsname": {
  28595. "description": "商品名称",
  28596. "type": "string"
  28597. },
  28598. "marketid": {
  28599. "description": "市场ID",
  28600. "type": "integer"
  28601. },
  28602. "openfreezemargin": {
  28603. "description": "冻结保证金(冻结交易金额)",
  28604. "type": "number"
  28605. },
  28606. "orderid": {
  28607. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28608. "type": "string"
  28609. },
  28610. "orderlogincode": {
  28611. "description": "委托人",
  28612. "type": "string"
  28613. },
  28614. "orderprice": {
  28615. "description": "委托价格(账户)",
  28616. "type": "number"
  28617. },
  28618. "orderqty": {
  28619. "description": "委托数量",
  28620. "type": "integer"
  28621. },
  28622. "ordertime": {
  28623. "description": "委托时间",
  28624. "type": "string"
  28625. },
  28626. "pricemode": {
  28627. "description": "取价方式 - 1:市价 2: 限价",
  28628. "type": "integer"
  28629. },
  28630. "tradedate": {
  28631. "description": "交易日(yyyyMMdd)",
  28632. "type": "string"
  28633. },
  28634. "tradeqty": {
  28635. "description": "成交数量",
  28636. "type": "integer"
  28637. }
  28638. }
  28639. },
  28640. "models.QueryHedgeTradeDetailRsp": {
  28641. "type": "object",
  28642. "properties": {
  28643. "accountid": {
  28644. "description": "账号ID",
  28645. "type": "integer"
  28646. },
  28647. "buyorsell": {
  28648. "description": "方向 - 0:买 1:卖",
  28649. "type": "integer"
  28650. },
  28651. "channelbuildtype": {
  28652. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28653. "type": "integer"
  28654. },
  28655. "closecharge": {
  28656. "description": "平仓手续费(账户)",
  28657. "type": "number"
  28658. },
  28659. "closecharge2": {
  28660. "description": "平仓手续费(商品)",
  28661. "type": "number"
  28662. },
  28663. "closepl": {
  28664. "description": "平仓盈亏(账户)",
  28665. "type": "number"
  28666. },
  28667. "closepl2": {
  28668. "description": "平仓盈亏(商品)",
  28669. "type": "number"
  28670. },
  28671. "closepl3": {
  28672. "description": "平仓盈亏(账户)(逐笔)",
  28673. "type": "number"
  28674. },
  28675. "closepl4": {
  28676. "description": "平仓盈亏(商品)(逐笔)",
  28677. "type": "number"
  28678. },
  28679. "closetype": {
  28680. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28681. "type": "integer"
  28682. },
  28683. "curexchangerate": {
  28684. "description": "当前汇率",
  28685. "type": "number"
  28686. },
  28687. "decimalplace": {
  28688. "description": "商品报价小数位",
  28689. "type": "integer"
  28690. },
  28691. "exchangefullname": {
  28692. "description": "外部交易所全称",
  28693. "type": "string"
  28694. },
  28695. "goodscode": {
  28696. "description": "商品代码(内部)",
  28697. "type": "string"
  28698. },
  28699. "goodsid": {
  28700. "description": "商品ID",
  28701. "type": "integer"
  28702. },
  28703. "goodsname": {
  28704. "description": "商品名称",
  28705. "type": "string"
  28706. },
  28707. "marketid": {
  28708. "description": "市场ID",
  28709. "type": "integer"
  28710. },
  28711. "opencharge": {
  28712. "description": "建仓手续费(账户)",
  28713. "type": "number"
  28714. },
  28715. "opencharge2": {
  28716. "description": "建仓手续费(商品)",
  28717. "type": "number"
  28718. },
  28719. "orderid": {
  28720. "description": "委托单号",
  28721. "type": "string"
  28722. },
  28723. "orderlogincode": {
  28724. "description": "委托人",
  28725. "type": "string"
  28726. },
  28727. "tradeamount": {
  28728. "description": "成交金额(账户)",
  28729. "type": "number"
  28730. },
  28731. "tradedate": {
  28732. "description": "交易日(yyyyMMdd)",
  28733. "type": "string"
  28734. },
  28735. "tradeid": {
  28736. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28737. "type": "string"
  28738. },
  28739. "tradeprice": {
  28740. "description": "成交价格",
  28741. "type": "number"
  28742. },
  28743. "tradeqty": {
  28744. "description": "成交数量",
  28745. "type": "integer"
  28746. },
  28747. "tradetime": {
  28748. "description": "成交时间",
  28749. "type": "string"
  28750. },
  28751. "tradetype": {
  28752. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28753. "type": "integer"
  28754. }
  28755. }
  28756. },
  28757. "models.QuotePrimaryMenu": {
  28758. "type": "object",
  28759. "properties": {
  28760. "Index": {
  28761. "description": "序号",
  28762. "type": "integer"
  28763. },
  28764. "Key": {
  28765. "description": "键名",
  28766. "type": "string"
  28767. },
  28768. "Name": {
  28769. "description": "菜单名称",
  28770. "type": "string"
  28771. },
  28772. "SubMenus": {
  28773. "description": "子菜单",
  28774. "type": "array",
  28775. "items": {
  28776. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28777. }
  28778. },
  28779. "SubTitleType": {
  28780. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28781. "type": "integer"
  28782. },
  28783. "TradeModes": {
  28784. "description": "包含市场交易类型",
  28785. "type": "string"
  28786. }
  28787. }
  28788. },
  28789. "models.QuoteSecondaryMenu": {
  28790. "type": "object",
  28791. "properties": {
  28792. "ExExchangeCode": {
  28793. "description": "外部交易所代码",
  28794. "type": "string"
  28795. },
  28796. "ExExchangeID": {
  28797. "description": "外部交易所ID",
  28798. "type": "integer"
  28799. },
  28800. "GoodsGroupIDs": {
  28801. "description": "商品组ID列表",
  28802. "type": "array",
  28803. "items": {
  28804. "type": "integer"
  28805. }
  28806. },
  28807. "Index": {
  28808. "description": "序号",
  28809. "type": "integer"
  28810. },
  28811. "MarketID": {
  28812. "description": "市场ID",
  28813. "type": "integer"
  28814. },
  28815. "MenuTitle": {
  28816. "description": "菜单标题(市场名称或外部交易所名称)",
  28817. "type": "string"
  28818. },
  28819. "TradeMode": {
  28820. "description": "交易模式",
  28821. "type": "integer"
  28822. }
  28823. }
  28824. },
  28825. "models.RelatedTaAccount": {
  28826. "type": "object",
  28827. "properties": {
  28828. "accountid": {
  28829. "description": "资金账户ID",
  28830. "type": "integer"
  28831. }
  28832. }
  28833. },
  28834. "models.RoleMenu": {
  28835. "type": "object",
  28836. "properties": {
  28837. "hasright": {
  28838. "description": "是否有权限 0-没有权限 1-有权限",
  28839. "type": "integer"
  28840. },
  28841. "iconame": {
  28842. "description": "菜单图标",
  28843. "type": "string"
  28844. },
  28845. "menutype": {
  28846. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28847. "type": "integer"
  28848. },
  28849. "parentcode": {
  28850. "description": "上级资源代码",
  28851. "type": "string"
  28852. },
  28853. "remark": {
  28854. "description": "菜单备注",
  28855. "type": "string"
  28856. },
  28857. "resourcecode": {
  28858. "description": "菜单代码",
  28859. "type": "string"
  28860. },
  28861. "resourcelevel": {
  28862. "description": "级别",
  28863. "type": "integer"
  28864. },
  28865. "resourcename": {
  28866. "description": "菜单名称",
  28867. "type": "string"
  28868. },
  28869. "roleid": {
  28870. "description": "角色id",
  28871. "type": "integer"
  28872. },
  28873. "sort": {
  28874. "description": "排序",
  28875. "type": "integer"
  28876. },
  28877. "subMenu": {
  28878. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28879. "type": "array",
  28880. "items": {
  28881. "$ref": "#/definitions/models.RoleMenu"
  28882. }
  28883. },
  28884. "url": {
  28885. "description": "URL",
  28886. "type": "string"
  28887. },
  28888. "userid": {
  28889. "description": "用户id",
  28890. "type": "integer"
  28891. }
  28892. }
  28893. },
  28894. "models.SearchGoods": {
  28895. "type": "object",
  28896. "required": [
  28897. "goodscode",
  28898. "goodsid",
  28899. "goodsname",
  28900. "marketid",
  28901. "trademode"
  28902. ],
  28903. "properties": {
  28904. "goodscode": {
  28905. "description": "商品代码(内部)",
  28906. "type": "string"
  28907. },
  28908. "goodsid": {
  28909. "description": "商品ID(自增ID SEQ_GOODS)",
  28910. "type": "integer"
  28911. },
  28912. "goodsname": {
  28913. "description": "商品名称",
  28914. "type": "string"
  28915. },
  28916. "marketid": {
  28917. "description": "所属市场ID",
  28918. "type": "integer"
  28919. },
  28920. "marketname": {
  28921. "description": "市场名称",
  28922. "type": "string"
  28923. },
  28924. "trademode": {
  28925. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28926. "type": "integer"
  28927. }
  28928. }
  28929. },
  28930. "models.SellOrder": {
  28931. "type": "object",
  28932. "properties": {
  28933. "accountid": {
  28934. "description": "资金账号",
  28935. "type": "integer"
  28936. },
  28937. "applyid": {
  28938. "description": "申请单ID",
  28939. "type": "integer"
  28940. },
  28941. "attachment1": {
  28942. "description": "附件1",
  28943. "type": "string"
  28944. },
  28945. "attachment2": {
  28946. "description": "附件2",
  28947. "type": "string"
  28948. },
  28949. "buyorsell": {
  28950. "description": "买卖 - 0:买 1:卖",
  28951. "type": "integer"
  28952. },
  28953. "canbargain": {
  28954. "description": "是否可议价 - 0:不可 1:可",
  28955. "type": "integer"
  28956. },
  28957. "cancelqty": {
  28958. "description": "撤销数量",
  28959. "type": "integer"
  28960. },
  28961. "canceltime": {
  28962. "description": "撤销时间",
  28963. "type": "string"
  28964. },
  28965. "chargealgorithm": {
  28966. "description": "手续费收取方式 1:比率 2:固定",
  28967. "type": "integer"
  28968. },
  28969. "chargealgorithmvalue": {
  28970. "description": "手续费设置值(交易所部分)",
  28971. "type": "number"
  28972. },
  28973. "chargealgorithmvalue2": {
  28974. "description": "手续费设置值(会员部分)",
  28975. "type": "number"
  28976. },
  28977. "clientordertime": {
  28978. "description": "客户端委托时间",
  28979. "type": "string"
  28980. },
  28981. "exchangerate": {
  28982. "description": "汇率[67]",
  28983. "type": "number"
  28984. },
  28985. "firstratio": {
  28986. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  28987. "type": "number"
  28988. },
  28989. "fixedprice": {
  28990. "description": "固定价格 - [挂牌]",
  28991. "type": "number"
  28992. },
  28993. "freezecharge": {
  28994. "description": "冻结手续费",
  28995. "type": "number"
  28996. },
  28997. "freezefirstamount": {
  28998. "description": "冻结首付金额 - [摘牌]",
  28999. "type": "number"
  29000. },
  29001. "freezemargin": {
  29002. "description": "冻结保证金",
  29003. "type": "number"
  29004. },
  29005. "goodsno": {
  29006. "description": "商品编号",
  29007. "type": "string"
  29008. },
  29009. "isQueryDiamond": {
  29010. "description": "是否钻石查询",
  29011. "type": "boolean"
  29012. },
  29013. "isspecified": {
  29014. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  29015. "type": "integer"
  29016. },
  29017. "marginalgorithm": {
  29018. "description": "保证金方式 - 1:比率 2:固定",
  29019. "type": "integer"
  29020. },
  29021. "marginvalue": {
  29022. "description": "保证金设置值",
  29023. "type": "number"
  29024. },
  29025. "marketid": {
  29026. "description": "市场ID",
  29027. "type": "integer"
  29028. },
  29029. "orderamount": {
  29030. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  29031. "type": "number"
  29032. },
  29033. "orderqty": {
  29034. "description": "委托数量",
  29035. "type": "integer"
  29036. },
  29037. "ordertime": {
  29038. "description": "委托时间",
  29039. "type": "string"
  29040. },
  29041. "performancetemplateid": {
  29042. "description": "履约计划模板ID",
  29043. "type": "integer"
  29044. },
  29045. "pricefactor": {
  29046. "description": "价格系数(浮动价时填写) - [挂牌]",
  29047. "type": "number"
  29048. },
  29049. "pricemove": {
  29050. "description": "升贴水(浮动价时填写) - [挂牌]",
  29051. "type": "number"
  29052. },
  29053. "relatedwrtradeorderid": {
  29054. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  29055. "type": "integer"
  29056. },
  29057. "retcode": {
  29058. "description": "错误代码",
  29059. "type": "integer"
  29060. },
  29061. "sellusername": {
  29062. "description": "卖方(查询字段-模糊查询)",
  29063. "type": "string"
  29064. },
  29065. "tradedate": {
  29066. "description": "交易日(yyyyMMdd)",
  29067. "type": "string"
  29068. },
  29069. "tradeprice": {
  29070. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29071. "type": "number"
  29072. },
  29073. "tradeqty": {
  29074. "description": "成交数量",
  29075. "type": "integer"
  29076. },
  29077. "unfreezecharge": {
  29078. "description": "解冻手续费",
  29079. "type": "number"
  29080. },
  29081. "unfreezefirstamount": {
  29082. "description": "解冻首付金额 - [摘牌]",
  29083. "type": "number"
  29084. },
  29085. "unfreezemargin": {
  29086. "description": "解冻保证金",
  29087. "type": "number"
  29088. },
  29089. "userid": {
  29090. "description": "用户ID",
  29091. "type": "integer"
  29092. },
  29093. "uuid": {
  29094. "description": "发起端唯一id",
  29095. "type": "string"
  29096. },
  29097. "validtime": {
  29098. "description": "有效期限",
  29099. "type": "string"
  29100. },
  29101. "validtype": {
  29102. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  29103. "type": "integer"
  29104. },
  29105. "wrbargainid": {
  29106. "description": "议价申请单ID",
  29107. "type": "integer"
  29108. },
  29109. "wrfactortypeid": {
  29110. "description": "仓单要素类型ID/商品ID(77)",
  29111. "type": "integer"
  29112. },
  29113. "wrpricetype": {
  29114. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29115. "type": "integer"
  29116. },
  29117. "wrstandardid": {
  29118. "description": "现货商品ID",
  29119. "type": "integer"
  29120. },
  29121. "wrtradeorderid": {
  29122. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29123. "type": "integer"
  29124. },
  29125. "wrtradeorderstatus": {
  29126. "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:撤单解冻贷款失败",
  29127. "type": "integer"
  29128. },
  29129. "wrtradetype": {
  29130. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29131. "type": "integer"
  29132. },
  29133. "wrtransferuserid": {
  29134. "description": "仓单受让用户 - [摘牌]",
  29135. "type": "integer"
  29136. },
  29137. "zscategory": {
  29138. "description": "钻石分类 - 枚举”ZSCategory“",
  29139. "type": "integer"
  29140. },
  29141. "zscurrencytype": {
  29142. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29143. "type": "integer"
  29144. }
  29145. }
  29146. },
  29147. "models.SellOrderQueryReq": {
  29148. "type": "object",
  29149. "required": [
  29150. "zscategory"
  29151. ],
  29152. "properties": {
  29153. "origin": {
  29154. "description": "原产地",
  29155. "type": "string"
  29156. },
  29157. "page": {
  29158. "description": "页码",
  29159. "type": "integer"
  29160. },
  29161. "pagesize": {
  29162. "description": "每页大小",
  29163. "type": "integer"
  29164. },
  29165. "total": {
  29166. "description": "总条数",
  29167. "type": "integer"
  29168. },
  29169. "warehouseid": {
  29170. "description": "仓库ID",
  29171. "type": "integer"
  29172. },
  29173. "weight1": {
  29174. "description": "总重量(克拉重量)-从",
  29175. "type": "number"
  29176. },
  29177. "weight2": {
  29178. "description": "总重量(克拉重量)-至",
  29179. "type": "number"
  29180. },
  29181. "weightavg1": {
  29182. "description": "平均单颗重量-从",
  29183. "type": "number"
  29184. },
  29185. "weightavg2": {
  29186. "description": "平均单颗重量-至",
  29187. "type": "number"
  29188. },
  29189. "zscategory": {
  29190. "description": "钻石分类 - 枚举”ZSCategory“",
  29191. "type": "integer"
  29192. },
  29193. "zscerttype": {
  29194. "description": "证书类型",
  29195. "type": "array",
  29196. "items": {
  29197. "type": "string"
  29198. }
  29199. },
  29200. "zsclaritytype": {
  29201. "description": "净度",
  29202. "type": "array",
  29203. "items": {
  29204. "type": "integer"
  29205. }
  29206. },
  29207. "zscolortype": {
  29208. "description": "颜色",
  29209. "type": "array",
  29210. "items": {
  29211. "type": "integer"
  29212. }
  29213. },
  29214. "zscurrencytype": {
  29215. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29216. "type": "array",
  29217. "items": {
  29218. "type": "string"
  29219. }
  29220. },
  29221. "zscuttype": {
  29222. "description": "切工",
  29223. "type": "array",
  29224. "items": {
  29225. "type": "integer"
  29226. }
  29227. },
  29228. "zsczcolor1type": {
  29229. "description": "彩钻颜色1",
  29230. "type": "array",
  29231. "items": {
  29232. "type": "string"
  29233. }
  29234. },
  29235. "zsfluorescencetype": {
  29236. "description": "荧光",
  29237. "type": "array",
  29238. "items": {
  29239. "type": "integer"
  29240. }
  29241. },
  29242. "zspolishtype": {
  29243. "description": "抛光度",
  29244. "type": "array",
  29245. "items": {
  29246. "type": "integer"
  29247. }
  29248. },
  29249. "zsshapetype": {
  29250. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29251. "type": "array",
  29252. "items": {
  29253. "type": "string"
  29254. }
  29255. },
  29256. "zsstyletype": {
  29257. "description": "款式",
  29258. "type": "array",
  29259. "items": {
  29260. "type": "string"
  29261. }
  29262. },
  29263. "zssymmetrytype": {
  29264. "description": "对称度",
  29265. "type": "array",
  29266. "items": {
  29267. "type": "integer"
  29268. }
  29269. }
  29270. }
  29271. },
  29272. "models.Systemparam": {
  29273. "type": "object",
  29274. "required": [
  29275. "paramcode"
  29276. ],
  29277. "properties": {
  29278. "loginid": {
  29279. "description": "更新用户账号,登录账号",
  29280. "type": "string"
  29281. },
  29282. "modifyflag": {
  29283. "description": "修改标志0 不允许修改 1 允许修改",
  29284. "type": "integer"
  29285. },
  29286. "paramcode": {
  29287. "description": "参数代码",
  29288. "type": "string"
  29289. },
  29290. "paramname": {
  29291. "description": "参数名",
  29292. "type": "string"
  29293. },
  29294. "paramtype": {
  29295. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29296. "type": "integer"
  29297. },
  29298. "paramvalue": {
  29299. "description": "参数值",
  29300. "type": "string"
  29301. },
  29302. "paramvalue2": {
  29303. "description": "参数值(CLOB)",
  29304. "type": "string"
  29305. },
  29306. "regexpress": {
  29307. "description": "正则表达式",
  29308. "type": "string"
  29309. },
  29310. "remark": {
  29311. "description": "备注",
  29312. "type": "string"
  29313. },
  29314. "serverip": {
  29315. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29316. "type": "string"
  29317. },
  29318. "showflag": {
  29319. "description": "是否显示0 不显示 1 显示",
  29320. "type": "integer"
  29321. },
  29322. "updatetime": {
  29323. "description": "更新时间",
  29324. "type": "string"
  29325. },
  29326. "userid": {
  29327. "description": "更新用户ID",
  29328. "type": "integer"
  29329. }
  29330. }
  29331. },
  29332. "models.Szdz3convertconfig": {
  29333. "type": "object",
  29334. "required": [
  29335. "converttype",
  29336. "innergoodsid",
  29337. "outergoodscode"
  29338. ],
  29339. "properties": {
  29340. "canin": {
  29341. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29342. "type": "integer"
  29343. },
  29344. "canout": {
  29345. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29346. "type": "integer"
  29347. },
  29348. "converttype": {
  29349. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29350. "type": "integer"
  29351. },
  29352. "createtime": {
  29353. "description": "创建时间",
  29354. "type": "string"
  29355. },
  29356. "creatorid": {
  29357. "description": "创建人",
  29358. "type": "integer"
  29359. },
  29360. "daymaxvalue": {
  29361. "description": "当日最大转入限制",
  29362. "type": "number"
  29363. },
  29364. "freezedays": {
  29365. "description": "冻结天数 [5:花生米转交易]",
  29366. "type": "integer"
  29367. },
  29368. "innergoodsid": {
  29369. "description": "内部商品ID[交易]",
  29370. "type": "integer"
  29371. },
  29372. "inratio": {
  29373. "description": "目标值",
  29374. "type": "integer"
  29375. },
  29376. "modifierid": {
  29377. "description": "修改人",
  29378. "type": "integer"
  29379. },
  29380. "modifytime": {
  29381. "description": "修改时间",
  29382. "type": "string"
  29383. },
  29384. "outergoodscode": {
  29385. "description": "外部商品代码[JD\\PD]",
  29386. "type": "string"
  29387. },
  29388. "outratio": {
  29389. "description": "源值",
  29390. "type": "integer"
  29391. },
  29392. "pddecimalplace": {
  29393. "description": "PD小数位",
  29394. "type": "integer"
  29395. },
  29396. "timemaxvalue": {
  29397. "description": "单次最大转入限制",
  29398. "type": "number"
  29399. },
  29400. "timeminvalue": {
  29401. "description": "单次最小转入限制",
  29402. "type": "number"
  29403. }
  29404. }
  29405. },
  29406. "models.Szdz3searchwhitelist": {
  29407. "type": "object",
  29408. "required": [
  29409. "userid"
  29410. ],
  29411. "properties": {
  29412. "createtime": {
  29413. "description": "创建时间",
  29414. "type": "string"
  29415. },
  29416. "creatorid": {
  29417. "description": "创建人",
  29418. "type": "integer"
  29419. },
  29420. "modifierid": {
  29421. "description": "修改人",
  29422. "type": "integer"
  29423. },
  29424. "modifytime": {
  29425. "description": "修改时间",
  29426. "type": "string"
  29427. },
  29428. "userid": {
  29429. "description": "用户ID",
  29430. "type": "integer"
  29431. }
  29432. }
  29433. },
  29434. "models.TBGoods": {
  29435. "type": "object",
  29436. "properties": {
  29437. "agreeunit": {
  29438. "description": "合约乘数",
  29439. "type": "number"
  29440. },
  29441. "enumdicname": {
  29442. "description": "单位名称",
  29443. "type": "string"
  29444. },
  29445. "goodscode": {
  29446. "description": "商品代码(内部)",
  29447. "type": "string"
  29448. },
  29449. "goodsid": {
  29450. "description": "商品ID(自增ID SEQ_GOODS)",
  29451. "type": "integer"
  29452. },
  29453. "goodsname": {
  29454. "description": "商品名称",
  29455. "type": "string"
  29456. }
  29457. }
  29458. },
  29459. "models.TBGoodsGroup": {
  29460. "type": "object",
  29461. "properties": {
  29462. "GDLST": {
  29463. "description": "商品列表",
  29464. "type": "array",
  29465. "items": {
  29466. "$ref": "#/definitions/models.TBGoods"
  29467. }
  29468. },
  29469. "convertratio": {
  29470. "description": "折算系数",
  29471. "type": "number"
  29472. },
  29473. "enumdicname": {
  29474. "description": "单位名称",
  29475. "type": "string"
  29476. },
  29477. "exexchangecode": {
  29478. "description": "交易所代码",
  29479. "type": "string"
  29480. },
  29481. "exexchangename": {
  29482. "description": "交易所名称",
  29483. "type": "string"
  29484. },
  29485. "goodsgroupid": {
  29486. "description": "商品组ID(自增ID)",
  29487. "type": "integer"
  29488. },
  29489. "goodsgroupname": {
  29490. "description": "商品组名称",
  29491. "type": "string"
  29492. },
  29493. "goodunitid": {
  29494. "description": "报价单位ID",
  29495. "type": "integer"
  29496. }
  29497. }
  29498. },
  29499. "models.TBMiddleGoods": {
  29500. "type": "object",
  29501. "properties": {
  29502. "GPLST": {
  29503. "description": "期货品种列表",
  29504. "type": "array",
  29505. "items": {
  29506. "$ref": "#/definitions/models.TBGoodsGroup"
  29507. }
  29508. },
  29509. "WDLST": {
  29510. "description": "商品信息列表(现货品类)",
  29511. "type": "array",
  29512. "items": {
  29513. "$ref": "#/definitions/models.TBWrstandard"
  29514. }
  29515. },
  29516. "areauserid": {
  29517. "description": "机构用户ID",
  29518. "type": "integer"
  29519. },
  29520. "enumdicname": {
  29521. "description": "单位名称",
  29522. "type": "string"
  29523. },
  29524. "goodsunitid": {
  29525. "description": "套保品种单位id",
  29526. "type": "integer"
  29527. },
  29528. "middlegoodscode": {
  29529. "description": "套保品种代码",
  29530. "type": "string"
  29531. },
  29532. "middlegoodsid": {
  29533. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  29534. "type": "integer"
  29535. },
  29536. "middlegoodsname": {
  29537. "description": "套保品种名称",
  29538. "type": "string"
  29539. },
  29540. "needarbitrageratio": {
  29541. "description": "套利比率",
  29542. "type": "number"
  29543. },
  29544. "needhedgeratio": {
  29545. "description": "套保比率",
  29546. "type": "number"
  29547. }
  29548. }
  29549. },
  29550. "models.TBWrstandard": {
  29551. "type": "object",
  29552. "properties": {
  29553. "convertratio": {
  29554. "description": "折算系数",
  29555. "type": "number"
  29556. },
  29557. "deliverygoodsname": {
  29558. "description": "品种名称",
  29559. "type": "string"
  29560. },
  29561. "enumdicname": {
  29562. "description": "单位名称",
  29563. "type": "string"
  29564. },
  29565. "vatrate": {
  29566. "description": "增值税率",
  29567. "type": "number"
  29568. },
  29569. "wrstandardcode": {
  29570. "description": "现货商品代码",
  29571. "type": "string"
  29572. },
  29573. "wrstandardid": {
  29574. "description": "现货商品ID(SEQ_WRSTANDARD)",
  29575. "type": "integer"
  29576. },
  29577. "wrstandardname": {
  29578. "description": "现货商品名称",
  29579. "type": "string"
  29580. }
  29581. }
  29582. },
  29583. "models.Taaccount": {
  29584. "type": "object",
  29585. "required": [
  29586. "accountid",
  29587. "userid"
  29588. ],
  29589. "properties": {
  29590. "accountflag": {
  29591. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29592. "type": "integer"
  29593. },
  29594. "accountid": {
  29595. "description": "资金账户ID",
  29596. "type": "integer"
  29597. },
  29598. "accountname": {
  29599. "description": "账户名称",
  29600. "type": "string"
  29601. },
  29602. "balance": {
  29603. "description": "期初余额",
  29604. "type": "number"
  29605. },
  29606. "capitalbalance": {
  29607. "description": "本金余额[外部子账户实际出入金余额]",
  29608. "type": "number"
  29609. },
  29610. "changeflag": {
  29611. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29612. "type": "integer"
  29613. },
  29614. "changetime": {
  29615. "description": "账户状态变更时间",
  29616. "type": "string"
  29617. },
  29618. "closepl": {
  29619. "description": "今日平仓盈亏",
  29620. "type": "number"
  29621. },
  29622. "creditdecrease": {
  29623. "description": "今日授信减少",
  29624. "type": "number"
  29625. },
  29626. "creditincrease": {
  29627. "description": "今日授信增加",
  29628. "type": "number"
  29629. },
  29630. "curamount": {
  29631. "description": "总市值(从持仓中统计)",
  29632. "type": "number"
  29633. },
  29634. "currencyid": {
  29635. "description": "货币ID",
  29636. "type": "integer"
  29637. },
  29638. "currentbalance": {
  29639. "description": "期末余额",
  29640. "type": "number"
  29641. },
  29642. "freezecharge": {
  29643. "description": "手续费冻结",
  29644. "type": "number"
  29645. },
  29646. "freezemargin": {
  29647. "description": "冻结保证金",
  29648. "type": "number"
  29649. },
  29650. "fromaccountid": {
  29651. "description": "所属上级账户",
  29652. "type": "integer"
  29653. },
  29654. "inamount": {
  29655. "description": "今日入金金额(包括三方入金)",
  29656. "type": "number"
  29657. },
  29658. "ismain": {
  29659. "description": "是否母账号 0:不是母账户 1:是母账户",
  29660. "type": "integer"
  29661. },
  29662. "ismarketaccount": {
  29663. "description": "是否机构接单账号 0:不是 1:是",
  29664. "type": "integer"
  29665. },
  29666. "isreckonaccount": {
  29667. "description": "是否机构分润账号 0:不是 1:是",
  29668. "type": "integer"
  29669. },
  29670. "mortgagecredit": {
  29671. "description": "授信金额",
  29672. "type": "number"
  29673. },
  29674. "orifreezecharge": {
  29675. "description": "期初手续费冻结",
  29676. "type": "number"
  29677. },
  29678. "orifreezemargin": {
  29679. "description": "期初冻结保证金",
  29680. "type": "number"
  29681. },
  29682. "orimortgagecredit": {
  29683. "description": "期初授信金额",
  29684. "type": "number"
  29685. },
  29686. "oriothercredit": {
  29687. "description": "期初其它授信金额",
  29688. "type": "number"
  29689. },
  29690. "oriotherfreezemargin": {
  29691. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29692. "type": "number"
  29693. },
  29694. "orioutamountfreeze": {
  29695. "description": "期初出金冻结",
  29696. "type": "number"
  29697. },
  29698. "oriusedmargin": {
  29699. "description": "期初占用保证金",
  29700. "type": "number"
  29701. },
  29702. "othercredit": {
  29703. "description": "其它授信金额",
  29704. "type": "number"
  29705. },
  29706. "othercreditdecrease": {
  29707. "description": "今日其它授信减少",
  29708. "type": "number"
  29709. },
  29710. "othercreditincrease": {
  29711. "description": "今日其它授信增加",
  29712. "type": "number"
  29713. },
  29714. "otherfreezemargin": {
  29715. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29716. "type": "number"
  29717. },
  29718. "otherincome": {
  29719. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  29720. "type": "number"
  29721. },
  29722. "otherpay": {
  29723. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  29724. "type": "number"
  29725. },
  29726. "outamount": {
  29727. "description": "今日出金金额(包括三方出金)",
  29728. "type": "number"
  29729. },
  29730. "outamountfreeze": {
  29731. "description": "出金冻结",
  29732. "type": "number"
  29733. },
  29734. "outthreshold": {
  29735. "description": "出金阈值",
  29736. "type": "number"
  29737. },
  29738. "parentaccountid": {
  29739. "description": "所属根账号",
  29740. "type": "integer"
  29741. },
  29742. "paycharge": {
  29743. "description": "今日手续费支出",
  29744. "type": "number"
  29745. },
  29746. "relatedaccountstatus": {
  29747. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29748. "type": "integer"
  29749. },
  29750. "relateduserid": {
  29751. "description": "关联用户",
  29752. "type": "integer"
  29753. },
  29754. "remainamount": {
  29755. "description": "融资额(从融资合同中统计)",
  29756. "type": "number"
  29757. },
  29758. "serivcegroup": {
  29759. "description": "服务分组",
  29760. "type": "integer"
  29761. },
  29762. "signstatus": {
  29763. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29764. "type": "integer"
  29765. },
  29766. "sublevelpath": {
  29767. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29768. "type": "string"
  29769. },
  29770. "taaccounttype": {
  29771. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29772. "type": "integer"
  29773. },
  29774. "thirdinamount": {
  29775. "description": "今日三方入金",
  29776. "type": "number"
  29777. },
  29778. "thirdoutamount": {
  29779. "description": "今日三方出金",
  29780. "type": "number"
  29781. },
  29782. "tradestatus": {
  29783. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29784. "type": "integer"
  29785. },
  29786. "tradestatuschangetime": {
  29787. "description": "激活时间",
  29788. "type": "string"
  29789. },
  29790. "transferamount": {
  29791. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29792. "type": "number"
  29793. },
  29794. "usedmargin": {
  29795. "description": "占用保证金",
  29796. "type": "number"
  29797. },
  29798. "userid": {
  29799. "description": "用户ID",
  29800. "type": "integer"
  29801. }
  29802. }
  29803. },
  29804. "models.Tablecolumnconfig": {
  29805. "type": "object",
  29806. "required": [
  29807. "autoid"
  29808. ],
  29809. "properties": {
  29810. "aligntype": {
  29811. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29812. "type": "integer"
  29813. },
  29814. "autoid": {
  29815. "description": "AutoID",
  29816. "type": "integer"
  29817. },
  29818. "columnfield": {
  29819. "description": "列字段",
  29820. "type": "string"
  29821. },
  29822. "columntitle": {
  29823. "description": "列Title",
  29824. "type": "string"
  29825. },
  29826. "columnwidth": {
  29827. "description": "列宽",
  29828. "type": "string"
  29829. },
  29830. "fixed": {
  29831. "description": "固定类型 - 空 | left | right",
  29832. "type": "string"
  29833. },
  29834. "formatterstring": {
  29835. "description": "格式化字符",
  29836. "type": "string"
  29837. },
  29838. "formattertype": {
  29839. "description": "格式化类型",
  29840. "type": "string"
  29841. },
  29842. "groupname": {
  29843. "description": "表头分组名称",
  29844. "type": "string"
  29845. },
  29846. "ismerge": {
  29847. "description": "是否合并显示 - 0:不合并 1:合并",
  29848. "type": "integer"
  29849. },
  29850. "isshow": {
  29851. "description": "是否显示 - 0:不显示 1:显示",
  29852. "type": "integer"
  29853. },
  29854. "needsummary": {
  29855. "description": "是否需要汇总 - 0:不需要 1:需要",
  29856. "type": "integer"
  29857. },
  29858. "orderindex": {
  29859. "description": "顺序",
  29860. "type": "integer"
  29861. },
  29862. "remark": {
  29863. "description": "备注",
  29864. "type": "string"
  29865. },
  29866. "summarytype": {
  29867. "description": "汇总类型 - 1:加总 2:最后一个",
  29868. "type": "integer"
  29869. },
  29870. "tablekey": {
  29871. "description": "列表Key",
  29872. "type": "string"
  29873. }
  29874. }
  29875. },
  29876. "models.TjmdHolderDetailTradeInfo": {
  29877. "type": "object",
  29878. "properties": {
  29879. "agreeunit": {
  29880. "description": "合约乘数",
  29881. "type": "number"
  29882. },
  29883. "buyaccountid": {
  29884. "description": "买方账户",
  29885. "type": "string"
  29886. },
  29887. "buyusername": {
  29888. "description": "买方",
  29889. "type": "string"
  29890. },
  29891. "delistingdate": {
  29892. "description": "最后结算日",
  29893. "type": "string"
  29894. },
  29895. "expiredate": {
  29896. "description": "到期结算价定价日",
  29897. "type": "string"
  29898. },
  29899. "exprieprice": {
  29900. "description": "到期清算价格",
  29901. "type": "string"
  29902. },
  29903. "goodscode": {
  29904. "description": "商品代码",
  29905. "type": "string"
  29906. },
  29907. "goodsid": {
  29908. "description": "商品ID",
  29909. "type": "integer"
  29910. },
  29911. "goodsname": {
  29912. "description": "商品名称(交易标的)",
  29913. "type": "string"
  29914. },
  29915. "lasttradedate": {
  29916. "description": "最后交易日",
  29917. "type": "string"
  29918. },
  29919. "listingdate": {
  29920. "description": "开始交易日",
  29921. "type": "string"
  29922. },
  29923. "openprice": {
  29924. "description": "成交价",
  29925. "type": "number"
  29926. },
  29927. "openqty": {
  29928. "description": "交易数量",
  29929. "type": "integer"
  29930. },
  29931. "sellaccountid": {
  29932. "description": "卖方账户",
  29933. "type": "string"
  29934. },
  29935. "sellusername": {
  29936. "description": "卖方",
  29937. "type": "string"
  29938. },
  29939. "tradeamount": {
  29940. "description": "初始名义价值",
  29941. "type": "number"
  29942. },
  29943. "tradedate": {
  29944. "description": "成交日期",
  29945. "type": "string"
  29946. },
  29947. "tradeid": {
  29948. "description": "成交编号",
  29949. "type": "string"
  29950. }
  29951. }
  29952. },
  29953. "models.TjmdMarketSection": {
  29954. "type": "object",
  29955. "properties": {
  29956. "marketsectionid": {
  29957. "description": "市场版块ID(SEQ_MARKETSECTION)",
  29958. "type": "integer"
  29959. },
  29960. "marketsectionname": {
  29961. "description": "市场版块名称",
  29962. "type": "string"
  29963. },
  29964. "mlist": {
  29965. "description": "市场列表(板块下面有多少个市场)",
  29966. "type": "array",
  29967. "items": {
  29968. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  29969. }
  29970. },
  29971. "orderindex": {
  29972. "description": "排序",
  29973. "type": "integer"
  29974. },
  29975. "pictureurl": {
  29976. "description": "图片url, 规格(90*90)",
  29977. "type": "string"
  29978. },
  29979. "remark": {
  29980. "description": "备注",
  29981. "type": "string"
  29982. }
  29983. }
  29984. },
  29985. "models.TjmdMarketSectionConfig": {
  29986. "type": "object",
  29987. "properties": {
  29988. "auctionwrtype": {
  29989. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  29990. "type": "integer"
  29991. },
  29992. "canacceptquote": {
  29993. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  29994. "type": "integer"
  29995. },
  29996. "cangoodsexercise": {
  29997. "description": "[期权]是否可现货行权- 0:否 1:是",
  29998. "type": "integer"
  29999. },
  30000. "cangoodsexercisetype": {
  30001. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30002. "type": "integer"
  30003. },
  30004. "canmanualquotestrike": {
  30005. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30006. "type": "integer"
  30007. },
  30008. "canmutistage": {
  30009. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30010. "type": "integer"
  30011. },
  30012. "canpreexercise": {
  30013. "description": "[期权]是否可预申报- 0:否 1:是",
  30014. "type": "integer"
  30015. },
  30016. "clearinterval": {
  30017. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30018. "type": "integer"
  30019. },
  30020. "contracttmp": {
  30021. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30022. "type": "string"
  30023. },
  30024. "exchareaid": {
  30025. "description": "所属交易所,可以没有",
  30026. "type": "integer"
  30027. },
  30028. "financemarketid": {
  30029. "description": "融资回购市场ID [仓单贸易]",
  30030. "type": "integer"
  30031. },
  30032. "goodstype": {
  30033. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30034. "type": "integer"
  30035. },
  30036. "hasrebate": {
  30037. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30038. "type": "integer"
  30039. },
  30040. "hastradecredit": {
  30041. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30042. "type": "integer"
  30043. },
  30044. "haswr": {
  30045. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30046. "type": "integer"
  30047. },
  30048. "isdeductmargin": {
  30049. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30050. "type": "integer"
  30051. },
  30052. "isrecordsource": {
  30053. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30054. "type": "integer"
  30055. },
  30056. "isreleasemargin": {
  30057. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30058. "type": "integer"
  30059. },
  30060. "isupdatereckonprice": {
  30061. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  30062. "type": "integer"
  30063. },
  30064. "listingmode": {
  30065. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  30066. "type": "integer"
  30067. },
  30068. "marginformula": {
  30069. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30070. "type": "integer"
  30071. },
  30072. "marginformula2": {
  30073. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30074. "type": "integer"
  30075. },
  30076. "marketid": {
  30077. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30078. "type": "integer"
  30079. },
  30080. "marketname": {
  30081. "description": "市场名称",
  30082. "type": "string"
  30083. },
  30084. "marketsectionid": {
  30085. "description": "市场版块ID(SEQ_MARKETSECTION)",
  30086. "type": "integer"
  30087. },
  30088. "marketserviceid": {
  30089. "description": "市场服务ID",
  30090. "type": "integer"
  30091. },
  30092. "marketstatus": {
  30093. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30094. "type": "integer"
  30095. },
  30096. "markettype": {
  30097. "description": "市场类型- 1:非交易服务 2:交易服务",
  30098. "type": "integer"
  30099. },
  30100. "matchermode": {
  30101. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  30102. "type": "integer"
  30103. },
  30104. "nowrquotaflag": {
  30105. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  30106. "type": "integer"
  30107. },
  30108. "openmethod": {
  30109. "description": "开盘模式 - 0 自动 1手动",
  30110. "type": "integer"
  30111. },
  30112. "orderindex": {
  30113. "description": "排序",
  30114. "type": "integer"
  30115. },
  30116. "otcuserid": {
  30117. "description": "场外期权做市商[场外期权]",
  30118. "type": "integer"
  30119. },
  30120. "outersynctime": {
  30121. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30122. "type": "string"
  30123. },
  30124. "paylaterflag": {
  30125. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  30126. "type": "integer"
  30127. },
  30128. "pendingflag": {
  30129. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30130. "type": "integer"
  30131. },
  30132. "pendingtime": {
  30133. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30134. "type": "string"
  30135. },
  30136. "performancetempid": {
  30137. "description": "履约计划模板ID - 作废",
  30138. "type": "integer"
  30139. },
  30140. "premiumquotemode": {
  30141. "description": "权利金报价方式 - 1:自动 2:手动",
  30142. "type": "integer"
  30143. },
  30144. "rebateratio": {
  30145. "description": "返利比率[竞价式]",
  30146. "type": "number"
  30147. },
  30148. "reckonorder": {
  30149. "description": "结算顺序",
  30150. "type": "integer"
  30151. },
  30152. "reckonpricealgorithm": {
  30153. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30154. "type": "integer"
  30155. },
  30156. "reckonpriceparam": {
  30157. "description": "结算价参数",
  30158. "type": "integer"
  30159. },
  30160. "reckontime": {
  30161. "description": "结算时间[通道交易-对冲](HH:mm)",
  30162. "type": "string"
  30163. },
  30164. "roleprioritytype": {
  30165. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30166. "type": "integer"
  30167. },
  30168. "selllistingauditflag": {
  30169. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30170. "type": "integer"
  30171. },
  30172. "trademarkettype": {
  30173. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30174. "type": "integer"
  30175. },
  30176. "trademode": {
  30177. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30178. "type": "integer"
  30179. },
  30180. "tradeproperty": {
  30181. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30182. "type": "integer"
  30183. },
  30184. "tradetype": {
  30185. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30186. "type": "integer"
  30187. },
  30188. "updatereckonpriceinterval": {
  30189. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  30190. "type": "integer"
  30191. }
  30192. }
  30193. },
  30194. "models.TjmdQuoteGoods": {
  30195. "type": "object",
  30196. "properties": {
  30197. "buyqty": {
  30198. "description": "买量(暂不做, 无值, 保留字段)",
  30199. "type": "number"
  30200. },
  30201. "decimalplace": {
  30202. "description": "报价小数位",
  30203. "type": "integer"
  30204. },
  30205. "goodscode": {
  30206. "description": "合约代码",
  30207. "type": "string"
  30208. },
  30209. "goodsgroupid": {
  30210. "description": "商品组ID(自增ID)",
  30211. "type": "integer"
  30212. },
  30213. "goodsgroupname": {
  30214. "description": "商品组名称",
  30215. "type": "string"
  30216. },
  30217. "goodsid": {
  30218. "description": "合约id",
  30219. "type": "integer"
  30220. },
  30221. "goodsname": {
  30222. "description": "合约名称",
  30223. "type": "string"
  30224. },
  30225. "refgoodscode": {
  30226. "description": "标的合约代码",
  30227. "type": "string"
  30228. },
  30229. "refgoodsid": {
  30230. "description": "标的合约id",
  30231. "type": "integer"
  30232. },
  30233. "refgoodsname": {
  30234. "description": "标的合约名称",
  30235. "type": "string"
  30236. },
  30237. "sellqty": {
  30238. "description": "卖量(暂不做, 无值, 保留字段)",
  30239. "type": "number"
  30240. }
  30241. }
  30242. },
  30243. "models.TjmdTodayAccountMargin": {
  30244. "type": "object",
  30245. "properties": {
  30246. "accountid": {
  30247. "description": "账号ID",
  30248. "type": "integer"
  30249. },
  30250. "goodsid": {
  30251. "description": "商品ID",
  30252. "type": "integer"
  30253. },
  30254. "infoc": {
  30255. "description": "配置参数",
  30256. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  30257. },
  30258. "marketid": {
  30259. "description": "市场ID",
  30260. "type": "integer"
  30261. }
  30262. }
  30263. },
  30264. "models.TjmdTradeOrderDetail": {
  30265. "type": "object",
  30266. "properties": {
  30267. "buyorsell": {
  30268. "description": "买卖方向 0-买 1-卖",
  30269. "type": "integer"
  30270. },
  30271. "goodsid": {
  30272. "description": "商品id",
  30273. "type": "integer"
  30274. },
  30275. "marketmaxsub": {
  30276. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30277. "type": "number"
  30278. },
  30279. "orderid": {
  30280. "description": "委托单号",
  30281. "type": "string"
  30282. },
  30283. "orderprice": {
  30284. "description": "期初均价",
  30285. "type": "number"
  30286. },
  30287. "orderqty": {
  30288. "description": "委托数量",
  30289. "type": "integer"
  30290. },
  30291. "pricemode": {
  30292. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30293. "type": "integer"
  30294. },
  30295. "userid": {
  30296. "description": "用户id",
  30297. "type": "integer"
  30298. },
  30299. "username": {
  30300. "description": "用户名称(已脱敏)",
  30301. "type": "string"
  30302. }
  30303. }
  30304. },
  30305. "models.TjmdTransferApply": {
  30306. "type": "object",
  30307. "properties": {
  30308. "applyid": {
  30309. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30310. "type": "integer"
  30311. },
  30312. "applystatus": {
  30313. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30314. "type": "integer"
  30315. },
  30316. "applytime": {
  30317. "description": "申请时间(时间)",
  30318. "type": "string"
  30319. },
  30320. "auditremark": {
  30321. "description": "审核备注(拒绝原因?)",
  30322. "type": "string"
  30323. },
  30324. "begindate": {
  30325. "description": "开始交易日(yyyymmdd)",
  30326. "type": "string"
  30327. },
  30328. "buyorsell": {
  30329. "description": "买卖 - 0:买 1:卖",
  30330. "type": "integer"
  30331. },
  30332. "enddate": {
  30333. "description": "结束交易日(yyyymmdd)",
  30334. "type": "string"
  30335. },
  30336. "goodscode": {
  30337. "description": "商品代码",
  30338. "type": "string"
  30339. },
  30340. "goodsid": {
  30341. "description": "商品ID",
  30342. "type": "integer"
  30343. },
  30344. "goodsname": {
  30345. "description": "商品名称",
  30346. "type": "string"
  30347. },
  30348. "marketid": {
  30349. "description": "市场ID",
  30350. "type": "integer"
  30351. },
  30352. "qty": {
  30353. "description": "期初均价",
  30354. "type": "number"
  30355. },
  30356. "tradeid": {
  30357. "description": "成交单号(关联持仓)",
  30358. "type": "string"
  30359. },
  30360. "transferamount": {
  30361. "description": "转让总金额(金额)",
  30362. "type": "number"
  30363. },
  30364. "transferprice": {
  30365. "description": "转让价格(协议价格)",
  30366. "type": "number"
  30367. }
  30368. }
  30369. },
  30370. "models.TradeHolderDetail": {
  30371. "type": "object",
  30372. "properties": {
  30373. "accountid": {
  30374. "description": "账号ID",
  30375. "type": "integer"
  30376. },
  30377. "agreeunit": {
  30378. "description": "合约乘数",
  30379. "type": "number"
  30380. },
  30381. "buyorsell": {
  30382. "description": "方向 - 0:买 1:卖",
  30383. "type": "integer"
  30384. },
  30385. "currencyid": {
  30386. "description": "商品币种id",
  30387. "type": "integer"
  30388. },
  30389. "currencyname": {
  30390. "description": "币种名称",
  30391. "type": "string"
  30392. },
  30393. "decimalplace": {
  30394. "description": "商品价格小数位",
  30395. "type": "integer"
  30396. },
  30397. "enumdicname": {
  30398. "description": "商品单位名称",
  30399. "type": "string"
  30400. },
  30401. "expirecycle": {
  30402. "description": "行权周期(天) - 1:滚动行权时填写",
  30403. "type": "integer"
  30404. },
  30405. "expiredate": {
  30406. "description": "行权日(yyyyMMdd) - 到期日",
  30407. "type": "string"
  30408. },
  30409. "expiretype": {
  30410. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30411. "type": "integer"
  30412. },
  30413. "freezeqty": {
  30414. "description": "期初均价",
  30415. "type": "number"
  30416. },
  30417. "goodscode": {
  30418. "description": "商品代码",
  30419. "type": "string"
  30420. },
  30421. "goodsid": {
  30422. "description": "商品ID",
  30423. "type": "integer"
  30424. },
  30425. "goodsname": {
  30426. "description": "商品名称",
  30427. "type": "string"
  30428. },
  30429. "goodunitid": {
  30430. "description": "商品单位id",
  30431. "type": "integer"
  30432. },
  30433. "holderamount": {
  30434. "description": "持仓金额",
  30435. "type": "number"
  30436. },
  30437. "holdercredit": {
  30438. "description": "持仓授信金额",
  30439. "type": "number"
  30440. },
  30441. "holderdays": {
  30442. "description": "剩余冻结天数",
  30443. "type": "integer"
  30444. },
  30445. "holderprice": {
  30446. "description": "持仓价格",
  30447. "type": "number"
  30448. },
  30449. "holderqty": {
  30450. "description": "期初均价",
  30451. "type": "number"
  30452. },
  30453. "isconfirmexercise": {
  30454. "description": "是否确认行权- 0:否 1:是",
  30455. "type": "integer"
  30456. },
  30457. "ispreexercise": {
  30458. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30459. "type": "integer"
  30460. },
  30461. "marketid": {
  30462. "description": "市场id",
  30463. "type": "integer"
  30464. },
  30465. "marketname": {
  30466. "description": "市场名称",
  30467. "type": "string"
  30468. },
  30469. "openprice": {
  30470. "description": "建仓价格",
  30471. "type": "number"
  30472. },
  30473. "openqty": {
  30474. "description": "期初均价",
  30475. "type": "number"
  30476. },
  30477. "optiontype": {
  30478. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30479. "type": "integer"
  30480. },
  30481. "preexerciseprice": {
  30482. "description": "预申报价格",
  30483. "type": "number"
  30484. },
  30485. "premium": {
  30486. "description": "权利金",
  30487. "type": "number"
  30488. },
  30489. "qtydecimalplace": {
  30490. "description": "商品成交量小数位",
  30491. "type": "integer"
  30492. },
  30493. "refgoodscode": {
  30494. "description": "标的合约代码",
  30495. "type": "string"
  30496. },
  30497. "refgoodsid": {
  30498. "description": "标的合约id",
  30499. "type": "integer"
  30500. },
  30501. "releaseamount": {
  30502. "description": "释放持仓金额",
  30503. "type": "number"
  30504. },
  30505. "releaseholdercredit": {
  30506. "description": "释放持仓授信金额",
  30507. "type": "number"
  30508. },
  30509. "taname": {
  30510. "description": "资金账号名称",
  30511. "type": "string"
  30512. },
  30513. "tradeamount": {
  30514. "description": "成交金额",
  30515. "type": "number"
  30516. },
  30517. "tradedate": {
  30518. "description": "交易日(yyyyMMdd)",
  30519. "type": "string"
  30520. },
  30521. "tradeid": {
  30522. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30523. "type": "string"
  30524. },
  30525. "trademode": {
  30526. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30527. "type": "integer"
  30528. },
  30529. "tradeproperty": {
  30530. "description": "交易属性",
  30531. "type": "integer"
  30532. },
  30533. "tradetime": {
  30534. "description": "交易时间",
  30535. "type": "string"
  30536. },
  30537. "userid": {
  30538. "description": "用户id",
  30539. "type": "integer"
  30540. },
  30541. "username": {
  30542. "description": "用户名称",
  30543. "type": "string"
  30544. }
  30545. }
  30546. },
  30547. "models.Unlinkermcphedgeplan": {
  30548. "type": "object",
  30549. "required": [
  30550. "areauserid"
  30551. ],
  30552. "properties": {
  30553. "accountid": {
  30554. "description": "期货账户ID - 作废",
  30555. "type": "integer"
  30556. },
  30557. "accountname": {
  30558. "description": "交易用户",
  30559. "type": "string"
  30560. },
  30561. "applyid": {
  30562. "description": "申请人",
  30563. "type": "integer"
  30564. },
  30565. "applysrc": {
  30566. "description": "申请来源 - 1:管理端 2:终端",
  30567. "type": "integer"
  30568. },
  30569. "applytime": {
  30570. "description": "申请时间",
  30571. "type": "string"
  30572. },
  30573. "areauserid": {
  30574. "description": "[企业ID]机构ID",
  30575. "type": "integer"
  30576. },
  30577. "auditid": {
  30578. "description": "审核人",
  30579. "type": "integer"
  30580. },
  30581. "auditremark": {
  30582. "description": "审核备注",
  30583. "type": "string"
  30584. },
  30585. "auditsrc": {
  30586. "description": "审核来源 - 1:管理端 2:终端",
  30587. "type": "integer"
  30588. },
  30589. "audittime": {
  30590. "description": "审核时间",
  30591. "type": "string"
  30592. },
  30593. "audittradedate": {
  30594. "description": "审核交易日(yyyyMMdd)",
  30595. "type": "string"
  30596. },
  30597. "biztype": {
  30598. "description": "业务类型 - 1:套保",
  30599. "type": "integer"
  30600. },
  30601. "contracttype": {
  30602. "description": "计划类型 - 1:采购 -1:销售",
  30603. "type": "integer"
  30604. },
  30605. "convertfactor": {
  30606. "description": "标仓系数 - 作废",
  30607. "type": "number"
  30608. },
  30609. "createtime": {
  30610. "description": "创建时间",
  30611. "type": "string"
  30612. },
  30613. "currencyid": {
  30614. "description": "结算币种ID - 作废",
  30615. "type": "integer"
  30616. },
  30617. "deliverygoodsid": {
  30618. "description": "现货品种ID",
  30619. "type": "integer"
  30620. },
  30621. "enumdicname": {
  30622. "description": "结算币种",
  30623. "type": "string"
  30624. },
  30625. "hedgeplanid": {
  30626. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  30627. "type": "string"
  30628. },
  30629. "hedgeplanno": {
  30630. "description": "[计划编号]套保计划编号,模糊查询",
  30631. "type": "string"
  30632. },
  30633. "hedgeplanstatus": {
  30634. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  30635. "type": "integer"
  30636. },
  30637. "isrelated": {
  30638. "description": "是否已关联计划项目 - 0:否 1:是",
  30639. "type": "integer"
  30640. },
  30641. "planqty": {
  30642. "description": "[计划量]计划数量",
  30643. "type": "number"
  30644. },
  30645. "plantime": {
  30646. "description": "计划时间",
  30647. "type": "string"
  30648. },
  30649. "producttype": {
  30650. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  30651. "type": "integer"
  30652. },
  30653. "remark": {
  30654. "description": "备注",
  30655. "type": "string"
  30656. },
  30657. "spotgoodsdesc": {
  30658. "description": "商品型号",
  30659. "type": "string"
  30660. },
  30661. "tradedate": {
  30662. "description": "交易日(yyyyMMdd)",
  30663. "type": "string"
  30664. },
  30665. "tradeuserid": {
  30666. "description": "交易用户ID",
  30667. "type": "integer"
  30668. },
  30669. "updatetime": {
  30670. "description": "更新时间",
  30671. "type": "string"
  30672. },
  30673. "wrstandardid": {
  30674. "description": "现货商品ID",
  30675. "type": "integer"
  30676. },
  30677. "wrstandardname": {
  30678. "description": "现货商品,模糊查询",
  30679. "type": "string"
  30680. }
  30681. }
  30682. },
  30683. "models.Useraccount": {
  30684. "type": "object",
  30685. "required": [
  30686. "userid"
  30687. ],
  30688. "properties": {
  30689. "accountname": {
  30690. "description": "账户名称(机构名称)",
  30691. "type": "string"
  30692. },
  30693. "accountstatus": {
  30694. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30695. "type": "integer"
  30696. },
  30697. "applysrc": {
  30698. "description": "申请来源 - 1:管理端 2:终端",
  30699. "type": "integer"
  30700. },
  30701. "auditremark": {
  30702. "description": "审核备注",
  30703. "type": "string"
  30704. },
  30705. "auditsrc": {
  30706. "description": "审核来源 - 1:管理端 2:终端",
  30707. "type": "integer"
  30708. },
  30709. "audittime": {
  30710. "description": "审核时间",
  30711. "type": "string"
  30712. },
  30713. "audituserid": {
  30714. "description": "审核人",
  30715. "type": "integer"
  30716. },
  30717. "broker": {
  30718. "description": "所属经纪人ID",
  30719. "type": "integer"
  30720. },
  30721. "canceltime": {
  30722. "description": "销户时间",
  30723. "type": "string"
  30724. },
  30725. "canceluserid": {
  30726. "description": "销户人",
  30727. "type": "integer"
  30728. },
  30729. "canrecommend": {
  30730. "description": "是否可推荐 - 0:不可 1;可",
  30731. "type": "integer"
  30732. },
  30733. "createtime": {
  30734. "description": "创建时间",
  30735. "type": "string"
  30736. },
  30737. "creatorid": {
  30738. "description": "创建人",
  30739. "type": "integer"
  30740. },
  30741. "hasauth": {
  30742. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30743. "type": "integer"
  30744. },
  30745. "isanonymous": {
  30746. "description": "是否匿名下单 - 0:否 1:是",
  30747. "type": "integer"
  30748. },
  30749. "maxinvestornum": {
  30750. "description": "最大用户数(经纪会员下投资者个数)",
  30751. "type": "integer"
  30752. },
  30753. "memberuserid": {
  30754. "description": "所属会员ID",
  30755. "type": "integer"
  30756. },
  30757. "modifierid": {
  30758. "description": "修改人",
  30759. "type": "integer"
  30760. },
  30761. "modifyremark": {
  30762. "description": "变更备注",
  30763. "type": "string"
  30764. },
  30765. "modifystatus": {
  30766. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  30767. "type": "integer"
  30768. },
  30769. "modifytime": {
  30770. "description": "修改时间",
  30771. "type": "string"
  30772. },
  30773. "parenttopuser": {
  30774. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30775. "type": "string"
  30776. },
  30777. "parentuserid": {
  30778. "description": "所属机构ID",
  30779. "type": "integer"
  30780. },
  30781. "reckonaccountid": {
  30782. "description": "默认结算资金账号ID(机构分润使用) 作废",
  30783. "type": "integer"
  30784. },
  30785. "refercount": {
  30786. "description": "推荐总人数",
  30787. "type": "integer"
  30788. },
  30789. "refereeuserid": {
  30790. "description": "推荐人ID",
  30791. "type": "integer"
  30792. },
  30793. "refernum": {
  30794. "description": "推荐码",
  30795. "type": "string"
  30796. },
  30797. "rootuserid": {
  30798. "description": "根用户ID",
  30799. "type": "integer"
  30800. },
  30801. "subaccountlevel": {
  30802. "description": "子账户层数",
  30803. "type": "integer"
  30804. },
  30805. "subarealevelpath": {
  30806. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30807. "type": "string"
  30808. },
  30809. "userid": {
  30810. "description": "用户ID",
  30811. "type": "integer"
  30812. },
  30813. "usertype": {
  30814. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30815. "type": "integer"
  30816. }
  30817. }
  30818. },
  30819. "models.Userfavoritegoods": {
  30820. "type": "object",
  30821. "required": [
  30822. "goodsid"
  30823. ],
  30824. "properties": {
  30825. "goodsid": {
  30826. "description": "商品ID",
  30827. "type": "integer"
  30828. }
  30829. }
  30830. },
  30831. "models.Userinfo": {
  30832. "type": "object",
  30833. "required": [
  30834. "userid"
  30835. ],
  30836. "properties": {
  30837. "address": {
  30838. "description": "地址",
  30839. "type": "string"
  30840. },
  30841. "attachment1": {
  30842. "description": "附件1",
  30843. "type": "string"
  30844. },
  30845. "attachment2": {
  30846. "description": "附件2",
  30847. "type": "string"
  30848. },
  30849. "bankaccount": {
  30850. "description": "银行帐号 (加密存储)",
  30851. "type": "string"
  30852. },
  30853. "bankaccountname": {
  30854. "description": "收款人名称",
  30855. "type": "string"
  30856. },
  30857. "bankcardfrontphotourl": {
  30858. "description": "银行卡正面照地址",
  30859. "type": "string"
  30860. },
  30861. "bankid": {
  30862. "description": "银行编码",
  30863. "type": "string"
  30864. },
  30865. "bankname": {
  30866. "description": "银行名称",
  30867. "type": "string"
  30868. },
  30869. "biznature": {
  30870. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  30871. "type": "integer"
  30872. },
  30873. "bizscope": {
  30874. "description": "企业经营范围(企业)",
  30875. "type": "string"
  30876. },
  30877. "cardbackphotourl": {
  30878. "description": "证件背面图片地址",
  30879. "type": "string"
  30880. },
  30881. "cardfrontphotourl": {
  30882. "description": "证件正面图片地址",
  30883. "type": "string"
  30884. },
  30885. "cardnum": {
  30886. "description": "证件号码(加密存储)",
  30887. "type": "string"
  30888. },
  30889. "cardtypeid": {
  30890. "description": "证件类型ID",
  30891. "type": "integer"
  30892. },
  30893. "cityid": {
  30894. "description": "市",
  30895. "type": "integer"
  30896. },
  30897. "company": {
  30898. "description": "公司(个人)",
  30899. "type": "string"
  30900. },
  30901. "contactname": {
  30902. "description": "联系人",
  30903. "type": "string"
  30904. },
  30905. "countryid": {
  30906. "description": "国家",
  30907. "type": "integer"
  30908. },
  30909. "createtime": {
  30910. "description": "创建时间",
  30911. "type": "string"
  30912. },
  30913. "creatorid": {
  30914. "description": "创建人",
  30915. "type": "integer"
  30916. },
  30917. "customername": {
  30918. "description": "客户名称(企业名称)",
  30919. "type": "string"
  30920. },
  30921. "districtid": {
  30922. "description": "地区",
  30923. "type": "integer"
  30924. },
  30925. "email": {
  30926. "description": "邮件(加密存储)",
  30927. "type": "string"
  30928. },
  30929. "fax": {
  30930. "description": "传真(加密存储)",
  30931. "type": "string"
  30932. },
  30933. "halfbodyphotourl": {
  30934. "description": "半身照地址",
  30935. "type": "string"
  30936. },
  30937. "hasencrypt": {
  30938. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30939. "type": "integer"
  30940. },
  30941. "headurl": {
  30942. "description": "头像地址",
  30943. "type": "string"
  30944. },
  30945. "legalcardbackphotourl": {
  30946. "description": "法人身份证背面照地址",
  30947. "type": "string"
  30948. },
  30949. "legalcardfrontphotourl": {
  30950. "description": "法人身份证正面照地址",
  30951. "type": "string"
  30952. },
  30953. "legalpersonname": {
  30954. "description": "法人姓名(企业)",
  30955. "type": "string"
  30956. },
  30957. "mobile": {
  30958. "description": "手机号码(加密存储)",
  30959. "type": "string"
  30960. },
  30961. "mobile2": {
  30962. "description": "手机号码[明文-尚志]",
  30963. "type": "string"
  30964. },
  30965. "modifierid": {
  30966. "description": "修改人",
  30967. "type": "integer"
  30968. },
  30969. "modifiertime": {
  30970. "description": "修改时间",
  30971. "type": "string"
  30972. },
  30973. "needinvoice": {
  30974. "description": "是否需要发票 - 0:不需要 1:需要",
  30975. "type": "integer"
  30976. },
  30977. "nickname": {
  30978. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  30979. "type": "string"
  30980. },
  30981. "openmode": {
  30982. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  30983. "type": "integer"
  30984. },
  30985. "otherurl": {
  30986. "description": "其它图片地址[使用分号分隔]",
  30987. "type": "string"
  30988. },
  30989. "postalcode": {
  30990. "description": "邮政编码",
  30991. "type": "string"
  30992. },
  30993. "provinceid": {
  30994. "description": "省",
  30995. "type": "integer"
  30996. },
  30997. "qq": {
  30998. "description": "QQ(加密存储",
  30999. "type": "string"
  31000. },
  31001. "remark": {
  31002. "description": "备注",
  31003. "type": "string"
  31004. },
  31005. "sex": {
  31006. "description": "用户性别 0: 女 1: 男",
  31007. "type": "integer"
  31008. },
  31009. "signpdfurl": {
  31010. "description": "签约pdf文件",
  31011. "type": "string"
  31012. },
  31013. "telphone": {
  31014. "description": "联系电话(加密存储)",
  31015. "type": "string"
  31016. },
  31017. "userid": {
  31018. "description": "用户ID",
  31019. "type": "integer"
  31020. },
  31021. "userinfotype": {
  31022. "description": "用户信息类型 - 1:个人 2:企业",
  31023. "type": "integer"
  31024. },
  31025. "userstatus": {
  31026. "description": "用户状态 - 1:正常 2:注销",
  31027. "type": "integer"
  31028. },
  31029. "usertype": {
  31030. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31031. "type": "integer"
  31032. },
  31033. "wechat": {
  31034. "description": "微信(加密存储)",
  31035. "type": "string"
  31036. },
  31037. "wskhinfo": {
  31038. "description": "开户申请信息(JSON)",
  31039. "type": "string"
  31040. }
  31041. }
  31042. },
  31043. "models.WRSConverTDetail": {
  31044. "type": "object",
  31045. "properties": {
  31046. "convertratio": {
  31047. "description": "套保系数",
  31048. "type": "number"
  31049. },
  31050. "deliverygoodscode": {
  31051. "description": "现货商品代码",
  31052. "type": "string"
  31053. },
  31054. "deliverygoodsid": {
  31055. "description": "现货品种ID",
  31056. "type": "integer"
  31057. },
  31058. "deliverygoodsname": {
  31059. "description": "现货商品名称",
  31060. "type": "string"
  31061. },
  31062. "enumdicname": {
  31063. "description": "单位名称",
  31064. "type": "string"
  31065. },
  31066. "goodsunitid": {
  31067. "description": "套保品种单位id",
  31068. "type": "integer"
  31069. },
  31070. "middlegoodscode": {
  31071. "description": "套保品种代码",
  31072. "type": "string"
  31073. },
  31074. "middlegoodsid": {
  31075. "description": "套保品种ID",
  31076. "type": "integer"
  31077. },
  31078. "middlegoodsname": {
  31079. "description": "套保品种名称",
  31080. "type": "string"
  31081. },
  31082. "modifytime": {
  31083. "description": "修改时间",
  31084. "type": "string"
  31085. },
  31086. "wrstandardid": {
  31087. "description": "品类ID",
  31088. "type": "integer"
  31089. }
  31090. }
  31091. },
  31092. "models.WRStandardInfo": {
  31093. "type": "object",
  31094. "required": [
  31095. "wrstandardid"
  31096. ],
  31097. "properties": {
  31098. "areauserid": {
  31099. "description": "所属机构",
  31100. "type": "integer"
  31101. },
  31102. "convertfactor": {
  31103. "description": "标仓系数",
  31104. "type": "number"
  31105. },
  31106. "createtime": {
  31107. "description": "创建时间",
  31108. "type": "string"
  31109. },
  31110. "creatorid": {
  31111. "description": "创建人",
  31112. "type": "integer"
  31113. },
  31114. "deliverygoodsid": {
  31115. "description": "品种ID",
  31116. "type": "integer"
  31117. },
  31118. "deliverygoodsname": {
  31119. "description": "交割商品名称",
  31120. "type": "string"
  31121. },
  31122. "factoryitemjson": {
  31123. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31124. "type": "string"
  31125. },
  31126. "isvalid": {
  31127. "description": "是否有效 - 0:无效 1:有效",
  31128. "type": "integer"
  31129. },
  31130. "minivalue": {
  31131. "description": "最小变动值",
  31132. "type": "integer"
  31133. },
  31134. "minivaluedp": {
  31135. "description": "最小变动值小数位",
  31136. "type": "integer"
  31137. },
  31138. "realminivalue": {
  31139. "description": "实际最小变动值",
  31140. "type": "integer"
  31141. },
  31142. "realminivaluedp": {
  31143. "description": "实际最小变动值小数位",
  31144. "type": "integer"
  31145. },
  31146. "remark": {
  31147. "description": "备注",
  31148. "type": "string"
  31149. },
  31150. "unitid": {
  31151. "description": "单位ID",
  31152. "type": "integer"
  31153. },
  31154. "unitname": {
  31155. "description": "单位",
  31156. "type": "string"
  31157. },
  31158. "updatetime": {
  31159. "description": "更新时间",
  31160. "type": "string"
  31161. },
  31162. "updatorid": {
  31163. "description": "更新人",
  31164. "type": "integer"
  31165. },
  31166. "wrsstatus": {
  31167. "description": "状态 - 作废 - 0:未激活 1:正常",
  31168. "type": "integer"
  31169. },
  31170. "wrstandardcode": {
  31171. "description": "现货品类代码",
  31172. "type": "string"
  31173. },
  31174. "wrstandardid": {
  31175. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31176. "type": "integer"
  31177. },
  31178. "wrstandardname": {
  31179. "description": "现货品类名称",
  31180. "type": "string"
  31181. }
  31182. }
  31183. },
  31184. "models.WRTradeBargainApply": {
  31185. "type": "object",
  31186. "properties": {
  31187. "accountid": {
  31188. "description": "摘牌资金账号",
  31189. "type": "integer"
  31190. },
  31191. "applyprice": {
  31192. "description": "申请价格(议价价格)",
  31193. "type": "string"
  31194. },
  31195. "applyqty": {
  31196. "description": "摘牌数量(议价数量)",
  31197. "type": "number"
  31198. },
  31199. "applyremark": {
  31200. "description": "申请备注",
  31201. "type": "string"
  31202. },
  31203. "applystatus": {
  31204. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31205. "type": "integer"
  31206. },
  31207. "applytime": {
  31208. "description": "申请时间(议价时间)",
  31209. "type": "string"
  31210. },
  31211. "begindate": {
  31212. "description": "开始交易日(yyyymmdd)",
  31213. "type": "string"
  31214. },
  31215. "buyorsell": {
  31216. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31217. "type": "integer"
  31218. },
  31219. "confirmremark": {
  31220. "description": "确认备注",
  31221. "type": "string"
  31222. },
  31223. "confirmtime": {
  31224. "description": "确认时间",
  31225. "type": "string"
  31226. },
  31227. "confirmuserid": {
  31228. "description": "确认人",
  31229. "type": "integer"
  31230. },
  31231. "deliverygoodscode": {
  31232. "description": "品种代码",
  31233. "type": "string"
  31234. },
  31235. "deliverygoodsid": {
  31236. "description": "品种ID",
  31237. "type": "integer"
  31238. },
  31239. "deliverygoodsname": {
  31240. "description": "品种名称",
  31241. "type": "string"
  31242. },
  31243. "deliverymonth": {
  31244. "description": "交收月",
  31245. "type": "string"
  31246. },
  31247. "enddate": {
  31248. "description": "结束交易日(yyyymmdd)",
  31249. "type": "string"
  31250. },
  31251. "enumdicname": {
  31252. "description": "单位名称",
  31253. "type": "string"
  31254. },
  31255. "fixedprice": {
  31256. "description": "期初均价",
  31257. "type": "number"
  31258. },
  31259. "handlestatus": {
  31260. "description": "处理状态",
  31261. "type": "integer"
  31262. },
  31263. "marginvalue": {
  31264. "description": "期初均价",
  31265. "type": "number"
  31266. },
  31267. "marketid": {
  31268. "description": "市场ID",
  31269. "type": "integer"
  31270. },
  31271. "matchaccountid": {
  31272. "description": "挂牌方资金账号",
  31273. "type": "integer"
  31274. },
  31275. "matchuserid": {
  31276. "description": "挂牌方用户id",
  31277. "type": "integer"
  31278. },
  31279. "matchusername": {
  31280. "description": "挂牌方用户名称(已脱敏)",
  31281. "type": "string"
  31282. },
  31283. "minivalue": {
  31284. "description": "现货商品最小变动值",
  31285. "type": "integer"
  31286. },
  31287. "optioncompare": {
  31288. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31289. "type": "string"
  31290. },
  31291. "orderqty": {
  31292. "description": "挂牌数量",
  31293. "type": "integer"
  31294. },
  31295. "refprice": {
  31296. "description": "参考价格",
  31297. "type": "string"
  31298. },
  31299. "retcode": {
  31300. "description": "委托返回代码",
  31301. "type": "integer"
  31302. },
  31303. "templatename": {
  31304. "description": "履约方式(履约模板名称)",
  31305. "type": "string"
  31306. },
  31307. "tradedate": {
  31308. "description": "交易日(yyyyMMdd)",
  31309. "type": "string"
  31310. },
  31311. "userid": {
  31312. "description": "摘牌人用户ID(议价人ID)",
  31313. "type": "integer"
  31314. },
  31315. "username": {
  31316. "description": "议价人名字(已脱敏)",
  31317. "type": "string"
  31318. },
  31319. "validtime": {
  31320. "description": "有效期限",
  31321. "type": "string"
  31322. },
  31323. "warehouseid": {
  31324. "description": "仓库ID",
  31325. "type": "integer"
  31326. },
  31327. "warehousename": {
  31328. "description": "仓库名称",
  31329. "type": "string"
  31330. },
  31331. "wrbargainid": {
  31332. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31333. "type": "string"
  31334. },
  31335. "wrfactortypeid": {
  31336. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31337. "type": "string"
  31338. },
  31339. "wrfactortypename": {
  31340. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31341. "type": "string"
  31342. },
  31343. "wrstandardcode": {
  31344. "description": "现货商品代码",
  31345. "type": "string"
  31346. },
  31347. "wrstandardid": {
  31348. "description": "现货商品ID",
  31349. "type": "integer"
  31350. },
  31351. "wrstandardname": {
  31352. "description": "商品名称",
  31353. "type": "string"
  31354. },
  31355. "wrtradeorderid": {
  31356. "description": "关联委托单ID",
  31357. "type": "string"
  31358. },
  31359. "wrtypename": {
  31360. "description": "商品",
  31361. "type": "string"
  31362. }
  31363. }
  31364. },
  31365. "models.Warehouseinfo": {
  31366. "type": "object",
  31367. "required": [
  31368. "autoid",
  31369. "warehousecode"
  31370. ],
  31371. "properties": {
  31372. "address": {
  31373. "description": "详细地址",
  31374. "type": "string"
  31375. },
  31376. "areauserid": {
  31377. "description": "所属机构",
  31378. "type": "integer"
  31379. },
  31380. "autoid": {
  31381. "description": "自增ID",
  31382. "type": "integer"
  31383. },
  31384. "cityid": {
  31385. "description": "市",
  31386. "type": "integer"
  31387. },
  31388. "contactname": {
  31389. "description": "联系人",
  31390. "type": "string"
  31391. },
  31392. "contactnum": {
  31393. "description": "联系电话",
  31394. "type": "string"
  31395. },
  31396. "countryid": {
  31397. "description": "国家",
  31398. "type": "integer"
  31399. },
  31400. "createtime": {
  31401. "description": "创建时间",
  31402. "type": "string"
  31403. },
  31404. "districtid": {
  31405. "description": "区",
  31406. "type": "integer"
  31407. },
  31408. "hasvideo": {
  31409. "description": "是否有视频 - 0:无 1:有",
  31410. "type": "integer"
  31411. },
  31412. "provinceid": {
  31413. "description": "省",
  31414. "type": "integer"
  31415. },
  31416. "remark": {
  31417. "description": "审核备注",
  31418. "type": "string"
  31419. },
  31420. "videourl": {
  31421. "description": "视频地址",
  31422. "type": "string"
  31423. },
  31424. "warehousecode": {
  31425. "description": "仓库代码",
  31426. "type": "string"
  31427. },
  31428. "warehousename": {
  31429. "description": "仓库名称",
  31430. "type": "string"
  31431. },
  31432. "warehousestatus": {
  31433. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31434. "type": "integer"
  31435. },
  31436. "warehousetype": {
  31437. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31438. "type": "integer"
  31439. }
  31440. }
  31441. },
  31442. "models.WrAverageTradePrice": {
  31443. "type": "object",
  31444. "properties": {
  31445. "averageprice": {
  31446. "description": "期初均价",
  31447. "type": "number"
  31448. },
  31449. "tradedate": {
  31450. "description": "交易日yyyymm",
  31451. "type": "string"
  31452. }
  31453. }
  31454. },
  31455. "models.WrBrandAndYears": {
  31456. "type": "object",
  31457. "properties": {
  31458. "brandlst": {
  31459. "description": "品牌列表",
  31460. "type": "array",
  31461. "items": {
  31462. "$ref": "#/definitions/models.DgFactoryItem"
  31463. }
  31464. },
  31465. "yearslst": {
  31466. "description": "年份列表",
  31467. "type": "array",
  31468. "items": {
  31469. "$ref": "#/definitions/models.DgFactoryItem"
  31470. }
  31471. }
  31472. }
  31473. },
  31474. "models.WrBsGoodsInfo": {
  31475. "type": "object",
  31476. "properties": {
  31477. "buyorsell": {
  31478. "description": "买卖方向 0-买 1-卖",
  31479. "type": "integer"
  31480. },
  31481. "goodsid": {
  31482. "description": "交易合约ID",
  31483. "type": "integer"
  31484. },
  31485. "lstitem": {
  31486. "description": "商品信息项",
  31487. "type": "array",
  31488. "items": {
  31489. "$ref": "#/definitions/models.WrTypeItem"
  31490. }
  31491. },
  31492. "lststep": {
  31493. "description": "履约规则",
  31494. "type": "array",
  31495. "items": {
  31496. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31497. }
  31498. }
  31499. }
  31500. },
  31501. "models.WrBuybackDetail": {
  31502. "type": "object",
  31503. "properties": {
  31504. "buybackamount": {
  31505. "description": "回购金额",
  31506. "type": "number"
  31507. },
  31508. "buybackqty": {
  31509. "description": "回购数量",
  31510. "type": "number"
  31511. },
  31512. "buybackreleasemargin": {
  31513. "description": "回购释放保证金",
  31514. "type": "number"
  31515. },
  31516. "buybacktime": {
  31517. "description": "回购时间",
  31518. "type": "string"
  31519. },
  31520. "errordesc": {
  31521. "description": "错误描述",
  31522. "type": "string"
  31523. },
  31524. "handlestatus": {
  31525. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31526. "type": "integer"
  31527. },
  31528. "relatedwrid": {
  31529. "description": "关联仓单ID",
  31530. "type": "integer"
  31531. },
  31532. "scfcontractid": {
  31533. "description": "SCF合同ID",
  31534. "type": "string"
  31535. },
  31536. "scfwrbuybackid": {
  31537. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31538. "type": "integer"
  31539. },
  31540. "tradedate": {
  31541. "description": "交易日(yyyyMMdd)",
  31542. "type": "string"
  31543. }
  31544. }
  31545. },
  31546. "models.WrClientAdSpaceConfig": {
  31547. "type": "object",
  31548. "properties": {
  31549. "adspaceid": {
  31550. "description": "广告位ID",
  31551. "type": "integer"
  31552. },
  31553. "adspacename": {
  31554. "description": "广告位名称",
  31555. "type": "string"
  31556. },
  31557. "adspacetype": {
  31558. "description": "广告位类型 - 1:固定广告位",
  31559. "type": "integer"
  31560. },
  31561. "areauserid": {
  31562. "description": "所属机构ID",
  31563. "type": "integer"
  31564. },
  31565. "createdate": {
  31566. "description": "创建时间",
  31567. "type": "string"
  31568. },
  31569. "imagepath": {
  31570. "description": "图片",
  31571. "type": "string"
  31572. },
  31573. "modifierid": {
  31574. "description": "操作人",
  31575. "type": "integer"
  31576. },
  31577. "recsize": {
  31578. "description": "推荐尺寸",
  31579. "type": "string"
  31580. },
  31581. "title": {
  31582. "description": "标题",
  31583. "type": "string"
  31584. },
  31585. "updatedate": {
  31586. "description": "更新时间",
  31587. "type": "string"
  31588. },
  31589. "urlcontent": {
  31590. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  31591. "type": "string"
  31592. },
  31593. "urltype": {
  31594. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  31595. "type": "integer"
  31596. }
  31597. }
  31598. },
  31599. "models.WrDeliveryAvalidHoldLB": {
  31600. "type": "object",
  31601. "properties": {
  31602. "accountid": {
  31603. "description": "资金账号",
  31604. "type": "integer"
  31605. },
  31606. "avalidqty": {
  31607. "description": "数量(可点选数量)",
  31608. "type": "number"
  31609. },
  31610. "deliverygoodsid": {
  31611. "description": "品种id",
  31612. "type": "integer"
  31613. },
  31614. "enumdicname": {
  31615. "description": "单位名称",
  31616. "type": "string"
  31617. },
  31618. "goodsid": {
  31619. "description": "x合约商品id",
  31620. "type": "integer"
  31621. },
  31622. "ladingbillid": {
  31623. "description": "提单id",
  31624. "type": "string"
  31625. },
  31626. "pgoodscode": {
  31627. "description": "p商品代码(点价合约)",
  31628. "type": "string"
  31629. },
  31630. "pgoodsid": {
  31631. "description": "p商品id(点价合约)",
  31632. "type": "integer"
  31633. },
  31634. "pgoodsname": {
  31635. "description": "p商品名称(点价合约)",
  31636. "type": "string"
  31637. },
  31638. "pricemove": {
  31639. "description": "升贴水",
  31640. "type": "number"
  31641. },
  31642. "subnum": {
  31643. "description": "提单子id",
  31644. "type": "integer"
  31645. },
  31646. "userid": {
  31647. "description": "用户id",
  31648. "type": "integer"
  31649. },
  31650. "username": {
  31651. "description": "仓单持有人",
  31652. "type": "string"
  31653. },
  31654. "warehousecode": {
  31655. "description": "仓库代码",
  31656. "type": "string"
  31657. },
  31658. "warehouseid": {
  31659. "description": "仓库id",
  31660. "type": "integer"
  31661. },
  31662. "warehousename": {
  31663. "description": "仓库名称",
  31664. "type": "string"
  31665. },
  31666. "wrfactortypeid": {
  31667. "description": "仓单要素id",
  31668. "type": "string"
  31669. },
  31670. "wrstandardcode": {
  31671. "description": "品代码",
  31672. "type": "string"
  31673. },
  31674. "wrstandardid": {
  31675. "description": "品类d",
  31676. "type": "integer"
  31677. },
  31678. "wrstandardname": {
  31679. "description": "品类名称",
  31680. "type": "string"
  31681. },
  31682. "wrtypename": {
  31683. "description": "商品",
  31684. "type": "string"
  31685. },
  31686. "xgoodscode": {
  31687. "description": "x合约代码",
  31688. "type": "string"
  31689. },
  31690. "xgoodsname": {
  31691. "description": "x合约名称",
  31692. "type": "string"
  31693. }
  31694. }
  31695. },
  31696. "models.WrDeliveryDetail": {
  31697. "type": "object",
  31698. "properties": {
  31699. "accountid": {
  31700. "description": "账号ID",
  31701. "type": "integer"
  31702. },
  31703. "averageprice": {
  31704. "description": "期初均价",
  31705. "type": "number"
  31706. },
  31707. "begindate": {
  31708. "description": "开始交易日(yyyymmdd)",
  31709. "type": "string"
  31710. },
  31711. "buyorsell": {
  31712. "description": "方向 - 0:买 1:卖",
  31713. "type": "integer"
  31714. },
  31715. "deliveryamount": {
  31716. "description": "货款金额(X总货款+P总货款)",
  31717. "type": "number"
  31718. },
  31719. "deliveryid": {
  31720. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  31721. "type": "string"
  31722. },
  31723. "deliveryorderid": {
  31724. "description": "申报单号",
  31725. "type": "string"
  31726. },
  31727. "deliverypricemove": {
  31728. "description": "升贴水(升贴水总额)",
  31729. "type": "number"
  31730. },
  31731. "deliveryqty": {
  31732. "description": "交收数量(点选数量)",
  31733. "type": "number"
  31734. },
  31735. "deliverystatus": {
  31736. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31737. "type": "integer"
  31738. },
  31739. "deliverytime": {
  31740. "description": "交割时间",
  31741. "type": "string"
  31742. },
  31743. "deliverytotalamount": {
  31744. "description": "交收金额",
  31745. "type": "number"
  31746. },
  31747. "enddate": {
  31748. "description": "结束交易日(yyyymmdd)",
  31749. "type": "string"
  31750. },
  31751. "enumdicname": {
  31752. "description": "单位名称",
  31753. "type": "string"
  31754. },
  31755. "matchaccountid": {
  31756. "description": "对手账号ID",
  31757. "type": "integer"
  31758. },
  31759. "matchusername": {
  31760. "description": "对手方名称(仓单持有人)",
  31761. "type": "string"
  31762. },
  31763. "p1goodsremainamount": {
  31764. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31765. "type": "number"
  31766. },
  31767. "pdeliverycloseqty": {
  31768. "description": "p合约平仓数量",
  31769. "type": "number"
  31770. },
  31771. "pdeliveryprice": {
  31772. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31773. "type": "number"
  31774. },
  31775. "pgoodscode": {
  31776. "description": "商品代码",
  31777. "type": "string"
  31778. },
  31779. "pgoodsid": {
  31780. "description": "p点选合约id",
  31781. "type": "integer"
  31782. },
  31783. "pgoodsname": {
  31784. "description": "商品名称",
  31785. "type": "string"
  31786. },
  31787. "ppricemode": {
  31788. "description": "点价价格方式 - 1:商品价 2:固定值",
  31789. "type": "integer"
  31790. },
  31791. "tradedate": {
  31792. "description": "交易日(yyyymmdd)",
  31793. "type": "string"
  31794. },
  31795. "userid": {
  31796. "description": "用户id",
  31797. "type": "integer"
  31798. },
  31799. "username": {
  31800. "description": "用户名称",
  31801. "type": "string"
  31802. },
  31803. "warehousename": {
  31804. "description": "仓库名称",
  31805. "type": "string"
  31806. },
  31807. "wrfactortypeid": {
  31808. "description": "仓单要素类型ID",
  31809. "type": "string"
  31810. },
  31811. "wrtypename": {
  31812. "description": "商品",
  31813. "type": "string"
  31814. },
  31815. "xdeliverycloseqty": {
  31816. "description": "合约数量",
  31817. "type": "number"
  31818. },
  31819. "xgoodsamount": {
  31820. "description": "期初均价",
  31821. "type": "number"
  31822. },
  31823. "xgoodscode": {
  31824. "description": "商品代码",
  31825. "type": "string"
  31826. },
  31827. "xgoodsid": {
  31828. "description": "x交易合约ID",
  31829. "type": "integer"
  31830. },
  31831. "xgoodsname": {
  31832. "description": "商品名称",
  31833. "type": "string"
  31834. }
  31835. }
  31836. },
  31837. "models.WrDeliveryGoodsSection": {
  31838. "type": "object",
  31839. "properties": {
  31840. "dglst": {
  31841. "description": "板块商品列表",
  31842. "type": "array",
  31843. "items": {
  31844. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  31845. }
  31846. },
  31847. "imagepath": {
  31848. "description": "图片地址",
  31849. "type": "string"
  31850. },
  31851. "orderindex": {
  31852. "description": "排序",
  31853. "type": "integer"
  31854. },
  31855. "sectionid": {
  31856. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  31857. "type": "integer"
  31858. },
  31859. "sectionname": {
  31860. "description": "版块名称",
  31861. "type": "string"
  31862. },
  31863. "sectiontype": {
  31864. "description": "版块类型 - 1:指数版块 2:普通版块",
  31865. "type": "integer"
  31866. }
  31867. }
  31868. },
  31869. "models.WrDeliveryGoodsSectionConfig": {
  31870. "type": "object",
  31871. "properties": {
  31872. "deliverygoodscode": {
  31873. "description": "现货商品代码",
  31874. "type": "string"
  31875. },
  31876. "deliverygoodsid": {
  31877. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  31878. "type": "integer"
  31879. },
  31880. "deliverygoodsname": {
  31881. "description": "现货商品名称",
  31882. "type": "string"
  31883. },
  31884. "orderindex": {
  31885. "description": "排序",
  31886. "type": "integer"
  31887. }
  31888. }
  31889. },
  31890. "models.WrDraftUserInfo": {
  31891. "type": "object",
  31892. "properties": {
  31893. "address": {
  31894. "description": "地址",
  31895. "type": "string"
  31896. },
  31897. "attachment1": {
  31898. "description": "附件1",
  31899. "type": "string"
  31900. },
  31901. "attachment2": {
  31902. "description": "附件2",
  31903. "type": "string"
  31904. },
  31905. "attachment3": {
  31906. "description": "附件3",
  31907. "type": "string"
  31908. },
  31909. "attachment4": {
  31910. "description": "附件4",
  31911. "type": "string"
  31912. },
  31913. "attachment5": {
  31914. "description": "附件5",
  31915. "type": "string"
  31916. },
  31917. "bankaccount": {
  31918. "description": "银行帐号 (加密存储)",
  31919. "type": "string"
  31920. },
  31921. "bankaccountname": {
  31922. "description": "收款人名称",
  31923. "type": "string"
  31924. },
  31925. "bankcardfrontphotourl": {
  31926. "description": "银行卡正面照地址",
  31927. "type": "string"
  31928. },
  31929. "bankid": {
  31930. "description": "银行编码",
  31931. "type": "string"
  31932. },
  31933. "bankname": {
  31934. "description": "银行名称",
  31935. "type": "string"
  31936. },
  31937. "birthday": {
  31938. "description": "生日(个人:年月日)",
  31939. "type": "string"
  31940. },
  31941. "biznature": {
  31942. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31943. "type": "integer"
  31944. },
  31945. "bizscope": {
  31946. "description": "企业经营范围(企业)",
  31947. "type": "string"
  31948. },
  31949. "biztype": {
  31950. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  31951. "type": "integer"
  31952. },
  31953. "cardbackphotourl": {
  31954. "description": "证件背面图片地址",
  31955. "type": "string"
  31956. },
  31957. "cardfrontphotourl": {
  31958. "description": "证件正面图片地址",
  31959. "type": "string"
  31960. },
  31961. "cardnum": {
  31962. "description": "证件号码(加密存储)",
  31963. "type": "string"
  31964. },
  31965. "cardtypeid": {
  31966. "description": "证件类型ID",
  31967. "type": "integer"
  31968. },
  31969. "cityid": {
  31970. "description": "市",
  31971. "type": "integer"
  31972. },
  31973. "company": {
  31974. "description": "公司(个人)",
  31975. "type": "string"
  31976. },
  31977. "contactcardbackphotourl": {
  31978. "description": "联系人证件背面图片地址",
  31979. "type": "string"
  31980. },
  31981. "contactcardfrontphotourl": {
  31982. "description": "联系人证件正面图片地址",
  31983. "type": "string"
  31984. },
  31985. "contactname": {
  31986. "description": "联系人",
  31987. "type": "string"
  31988. },
  31989. "countryid": {
  31990. "description": "国家",
  31991. "type": "integer"
  31992. },
  31993. "createtime": {
  31994. "description": "创建时间",
  31995. "type": "string"
  31996. },
  31997. "creatorid": {
  31998. "description": "创建人",
  31999. "type": "integer"
  32000. },
  32001. "creditquota": {
  32002. "description": "授信额度(金瑞)",
  32003. "type": "number"
  32004. },
  32005. "customername": {
  32006. "description": "客户名称(企业名称)",
  32007. "type": "string"
  32008. },
  32009. "districtid": {
  32010. "description": "地区",
  32011. "type": "integer"
  32012. },
  32013. "email": {
  32014. "description": "邮件(加密存储)",
  32015. "type": "string"
  32016. },
  32017. "fax": {
  32018. "description": "传真(加密存储)",
  32019. "type": "string"
  32020. },
  32021. "halfbodyphotourl": {
  32022. "description": "半身照地址",
  32023. "type": "string"
  32024. },
  32025. "hasencrypt": {
  32026. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32027. "type": "integer"
  32028. },
  32029. "headurl": {
  32030. "description": "头像地址",
  32031. "type": "string"
  32032. },
  32033. "legalcardbackphotourl": {
  32034. "description": "法人身份证背面照地址",
  32035. "type": "string"
  32036. },
  32037. "legalcardfrontphotourl": {
  32038. "description": "法人身份证正面照地址",
  32039. "type": "string"
  32040. },
  32041. "legalpersonname": {
  32042. "description": "法人姓名(企业)",
  32043. "type": "string"
  32044. },
  32045. "mobile": {
  32046. "description": "手机号码(加密存储)",
  32047. "type": "string"
  32048. },
  32049. "mobile2": {
  32050. "description": "手机号码[明文-尚志]",
  32051. "type": "string"
  32052. },
  32053. "modifierid": {
  32054. "description": "修改人",
  32055. "type": "integer"
  32056. },
  32057. "modifiertime": {
  32058. "description": "修改时间",
  32059. "type": "string"
  32060. },
  32061. "needinvoice": {
  32062. "description": "是否需要发票 - 0:不需要 1:需要",
  32063. "type": "integer"
  32064. },
  32065. "nickname": {
  32066. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32067. "type": "string"
  32068. },
  32069. "openmode": {
  32070. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  32071. "type": "integer"
  32072. },
  32073. "otherurl": {
  32074. "description": "其它图片地址[使用分号分隔]",
  32075. "type": "string"
  32076. },
  32077. "postalcode": {
  32078. "description": "邮政编码",
  32079. "type": "string"
  32080. },
  32081. "provinceid": {
  32082. "description": "省",
  32083. "type": "integer"
  32084. },
  32085. "proxystatementurl": {
  32086. "description": "授权委托书",
  32087. "type": "string"
  32088. },
  32089. "qq": {
  32090. "description": "QQ(加密存储",
  32091. "type": "string"
  32092. },
  32093. "remark": {
  32094. "description": "备注",
  32095. "type": "string"
  32096. },
  32097. "sex": {
  32098. "description": "用户性别 0: 女 1: 男",
  32099. "type": "integer"
  32100. },
  32101. "signpdfurl": {
  32102. "description": "签约pdf文件",
  32103. "type": "string"
  32104. },
  32105. "taxpayernum": {
  32106. "description": "纳税人识别号",
  32107. "type": "string"
  32108. },
  32109. "telphone": {
  32110. "description": "联系电话(加密存储)",
  32111. "type": "string"
  32112. },
  32113. "userid": {
  32114. "description": "用户ID",
  32115. "type": "integer"
  32116. },
  32117. "userinfotype": {
  32118. "description": "用户信息类型 - 1:个人 2:企业",
  32119. "type": "integer"
  32120. },
  32121. "userstatus": {
  32122. "description": "用户状态 - 1:正常 2:注销",
  32123. "type": "integer"
  32124. },
  32125. "usertype": {
  32126. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  32127. "type": "integer"
  32128. },
  32129. "wechat": {
  32130. "description": "微信(加密存储)",
  32131. "type": "string"
  32132. },
  32133. "wskhinfo": {
  32134. "description": "开户申请信息(JSON)",
  32135. "type": "string"
  32136. }
  32137. }
  32138. },
  32139. "models.WrFAProductDetail": {
  32140. "type": "object",
  32141. "properties": {
  32142. "accountid": {
  32143. "description": "资金账号",
  32144. "type": "integer"
  32145. },
  32146. "areauserid": {
  32147. "description": "金融机构ID",
  32148. "type": "integer"
  32149. },
  32150. "financingdays": {
  32151. "description": "天数(天)",
  32152. "type": "integer"
  32153. },
  32154. "interestminlen": {
  32155. "description": "最小起息天数",
  32156. "type": "integer"
  32157. },
  32158. "interestrate": {
  32159. "description": "利率",
  32160. "type": "number"
  32161. },
  32162. "interestratemode": {
  32163. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32164. "type": "integer"
  32165. },
  32166. "interestsettlemode": {
  32167. "description": "结息方式 - 1:按日结息 3:按月结息",
  32168. "type": "integer"
  32169. },
  32170. "interestsettlevalue": {
  32171. "description": "结息方式值",
  32172. "type": "integer"
  32173. },
  32174. "isautoloan": {
  32175. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32176. "type": "integer"
  32177. },
  32178. "loantag": {
  32179. "description": "放款标识: \"放款快\" 或者为空",
  32180. "type": "string"
  32181. },
  32182. "marginratio": {
  32183. "description": "保证金比率质押率 - [仓单质押]",
  32184. "type": "number"
  32185. },
  32186. "productdetailid": {
  32187. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32188. "type": "integer"
  32189. },
  32190. "productid": {
  32191. "description": "金融产品ID",
  32192. "type": "integer"
  32193. },
  32194. "productname": {
  32195. "description": "产品名称",
  32196. "type": "string"
  32197. },
  32198. "updatetime": {
  32199. "description": "更新时间",
  32200. "type": "string"
  32201. },
  32202. "username": {
  32203. "description": "融出方",
  32204. "type": "string"
  32205. }
  32206. }
  32207. },
  32208. "models.WrFactorTypeInfo": {
  32209. "type": "object",
  32210. "properties": {
  32211. "deliverygoodscode": {
  32212. "description": "品种代码",
  32213. "type": "string"
  32214. },
  32215. "deliverygoodsname": {
  32216. "description": "品种名称",
  32217. "type": "string"
  32218. },
  32219. "dgfactoryitemid": {
  32220. "description": "选择项id",
  32221. "type": "integer"
  32222. },
  32223. "dgfactoryitemtypeid": {
  32224. "description": "要素选择项ID (1-仓库 2-品牌)",
  32225. "type": "integer"
  32226. },
  32227. "dgfactoryitemvalue": {
  32228. "description": "要素项值",
  32229. "type": "string"
  32230. },
  32231. "itemtypename": {
  32232. "description": "要素项名称",
  32233. "type": "string"
  32234. },
  32235. "optioncompare": {
  32236. "description": "选择比较串",
  32237. "type": "string"
  32238. },
  32239. "warehouseid": {
  32240. "description": "仓库id",
  32241. "type": "integer"
  32242. },
  32243. "wrfactortypeid": {
  32244. "description": "仓单要素ID",
  32245. "type": "string"
  32246. },
  32247. "wrfactortypename": {
  32248. "description": "要素名称",
  32249. "type": "string"
  32250. },
  32251. "wrfactortypename2": {
  32252. "description": "要素名称(不含仓库)",
  32253. "type": "string"
  32254. },
  32255. "wrstandardcode": {
  32256. "description": "品类代码",
  32257. "type": "string"
  32258. },
  32259. "wrstandardid": {
  32260. "description": "品类id",
  32261. "type": "integer"
  32262. },
  32263. "wrstandardname": {
  32264. "description": "品类名称",
  32265. "type": "string"
  32266. }
  32267. }
  32268. },
  32269. "models.WrFilterItem": {
  32270. "type": "object",
  32271. "properties": {
  32272. "itemcode": {
  32273. "description": "代码",
  32274. "type": "string"
  32275. },
  32276. "itemid": {
  32277. "description": "项id",
  32278. "type": "integer"
  32279. },
  32280. "itemname": {
  32281. "description": "名称",
  32282. "type": "string"
  32283. },
  32284. "itemtype": {
  32285. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32286. "type": "integer"
  32287. }
  32288. }
  32289. },
  32290. "models.WrFinanceBuyApply": {
  32291. "type": "object",
  32292. "properties": {
  32293. "applydate": {
  32294. "description": "申请时间",
  32295. "type": "string"
  32296. },
  32297. "applystatus": {
  32298. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32299. "type": "integer"
  32300. },
  32301. "applyuserid": {
  32302. "description": "申请人",
  32303. "type": "integer"
  32304. },
  32305. "auditdate": {
  32306. "description": "审核时间",
  32307. "type": "string"
  32308. },
  32309. "auditremark": {
  32310. "description": "审核备注",
  32311. "type": "string"
  32312. },
  32313. "audituserid": {
  32314. "description": "审核人",
  32315. "type": "integer"
  32316. },
  32317. "buyaccountid": {
  32318. "description": "买方资金账号",
  32319. "type": "integer"
  32320. },
  32321. "buyorsell": {
  32322. "description": "买卖 - 0:买 1:卖",
  32323. "type": "integer"
  32324. },
  32325. "buyuserid": {
  32326. "description": "买方用户ID",
  32327. "type": "integer"
  32328. },
  32329. "buyusername": {
  32330. "description": "买方名称",
  32331. "type": "string"
  32332. },
  32333. "buywrtradeorderid": {
  32334. "description": "融资方买委托单ID",
  32335. "type": "string"
  32336. },
  32337. "deliverygoodscode": {
  32338. "description": "品种代码",
  32339. "type": "string"
  32340. },
  32341. "deliverygoodsid": {
  32342. "description": "品种ID",
  32343. "type": "integer"
  32344. },
  32345. "deliverygoodsname": {
  32346. "description": "品种名称",
  32347. "type": "string"
  32348. },
  32349. "deliverymonth": {
  32350. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32351. "type": "string"
  32352. },
  32353. "enumdicname": {
  32354. "description": "单位名称",
  32355. "type": "string"
  32356. },
  32357. "financeaccountid": {
  32358. "description": "融资方资金帐户ID",
  32359. "type": "integer"
  32360. },
  32361. "financeapplyid": {
  32362. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32363. "type": "string"
  32364. },
  32365. "financeareauserid": {
  32366. "description": "融资方用户ID",
  32367. "type": "string"
  32368. },
  32369. "financename": {
  32370. "description": "融出方名称",
  32371. "type": "string"
  32372. },
  32373. "financetype": {
  32374. "description": "融资类型 1-融资回购",
  32375. "type": "integer"
  32376. },
  32377. "financingdays": {
  32378. "description": "天数(天)",
  32379. "type": "integer"
  32380. },
  32381. "freezebuymargin": {
  32382. "description": "冻结融资保证金(买方)",
  32383. "type": "number"
  32384. },
  32385. "handleremark": {
  32386. "description": "处理备注",
  32387. "type": "string"
  32388. },
  32389. "handlestatus": {
  32390. "description": "处理状态",
  32391. "type": "integer"
  32392. },
  32393. "interestminlen": {
  32394. "description": "最小起息天数",
  32395. "type": "integer"
  32396. },
  32397. "interestrate": {
  32398. "description": "利率",
  32399. "type": "number"
  32400. },
  32401. "interestratemode": {
  32402. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32403. "type": "integer"
  32404. },
  32405. "interestsettlemode": {
  32406. "description": "结息方式 - 1:按日结息 3:按月结息",
  32407. "type": "integer"
  32408. },
  32409. "interestsettlevalue": {
  32410. "description": "结息方式值",
  32411. "type": "integer"
  32412. },
  32413. "isautoloan": {
  32414. "description": "是否自动放款 - 0:手动 1:自动",
  32415. "type": "integer"
  32416. },
  32417. "marginratio": {
  32418. "description": "保证金比率质押率 - [仓单质押]",
  32419. "type": "number"
  32420. },
  32421. "marketid": {
  32422. "description": "市场ID",
  32423. "type": "integer"
  32424. },
  32425. "minivalue": {
  32426. "description": "现货商品最小变动值",
  32427. "type": "integer"
  32428. },
  32429. "optioncompare": {
  32430. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32431. "type": "string"
  32432. },
  32433. "orderqty": {
  32434. "description": "委托数量(商品数量)",
  32435. "type": "number"
  32436. },
  32437. "productdetailid": {
  32438. "description": "产品组合ID",
  32439. "type": "integer"
  32440. },
  32441. "productid": {
  32442. "description": "金融产品ID",
  32443. "type": "integer"
  32444. },
  32445. "productname": {
  32446. "description": "产品名称",
  32447. "type": "string"
  32448. },
  32449. "remark": {
  32450. "description": "备注",
  32451. "type": "string"
  32452. },
  32453. "scfcontractid": {
  32454. "description": "仓单回购合同ID",
  32455. "type": "string"
  32456. },
  32457. "sellaccountid": {
  32458. "description": "卖方资金账号",
  32459. "type": "integer"
  32460. },
  32461. "selluserid": {
  32462. "description": "卖方用户ID",
  32463. "type": "integer"
  32464. },
  32465. "sellwrtradeorderid": {
  32466. "description": "卖方委托单ID",
  32467. "type": "string"
  32468. },
  32469. "tradeamount": {
  32470. "description": "成交金额(借款金额)",
  32471. "type": "number"
  32472. },
  32473. "tradedate": {
  32474. "description": "交易日(yyyyMMdd)",
  32475. "type": "string"
  32476. },
  32477. "tradeprice": {
  32478. "description": "成交价格",
  32479. "type": "number"
  32480. },
  32481. "warehouseid": {
  32482. "description": "仓库ID",
  32483. "type": "integer"
  32484. },
  32485. "warehousename": {
  32486. "description": "仓库名称",
  32487. "type": "string"
  32488. },
  32489. "wrfactortypeid": {
  32490. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32491. "type": "string"
  32492. },
  32493. "wrfactortypename": {
  32494. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32495. "type": "string"
  32496. },
  32497. "wrpricetype": {
  32498. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32499. "type": "integer"
  32500. },
  32501. "wrstandardcode": {
  32502. "description": "现货商品代码",
  32503. "type": "string"
  32504. },
  32505. "wrstandardid": {
  32506. "description": "现货商品ID",
  32507. "type": "integer"
  32508. },
  32509. "wrstandardname": {
  32510. "description": "商品名称",
  32511. "type": "string"
  32512. },
  32513. "wrtypename": {
  32514. "description": "商品",
  32515. "type": "string"
  32516. }
  32517. }
  32518. },
  32519. "models.WrFriendApply": {
  32520. "type": "object",
  32521. "properties": {
  32522. "applicantid": {
  32523. "description": "申请人",
  32524. "type": "integer"
  32525. },
  32526. "applyname": {
  32527. "description": "申请人名称",
  32528. "type": "string"
  32529. },
  32530. "applysrc": {
  32531. "description": "申请来源 - 1:管理端 2:终端",
  32532. "type": "integer"
  32533. },
  32534. "applystatus": {
  32535. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32536. "type": "integer"
  32537. },
  32538. "applytime": {
  32539. "description": "申请时间",
  32540. "type": "string"
  32541. },
  32542. "auditname": {
  32543. "description": "审核人名称",
  32544. "type": "string"
  32545. },
  32546. "auditorid": {
  32547. "description": "审核人",
  32548. "type": "integer"
  32549. },
  32550. "auditremark": {
  32551. "description": "审核备注",
  32552. "type": "string"
  32553. },
  32554. "auditsrc": {
  32555. "description": "审核来源 - 1:管理端 2:终端",
  32556. "type": "integer"
  32557. },
  32558. "audittime": {
  32559. "description": "审核时间",
  32560. "type": "string"
  32561. },
  32562. "friendapplyid": {
  32563. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32564. "type": "string"
  32565. },
  32566. "friendname": {
  32567. "description": "好友名字(已脱敏)",
  32568. "type": "string"
  32569. },
  32570. "frienduserid": {
  32571. "description": "好友用户ID",
  32572. "type": "string"
  32573. },
  32574. "remark": {
  32575. "description": "备注",
  32576. "type": "string"
  32577. },
  32578. "userid": {
  32579. "description": "申请人用户ID",
  32580. "type": "integer"
  32581. }
  32582. }
  32583. },
  32584. "models.WrFtDeliveryGoods": {
  32585. "type": "object",
  32586. "properties": {
  32587. "deliverygoodscode": {
  32588. "description": "品种代码",
  32589. "type": "string"
  32590. },
  32591. "deliverygoodsid": {
  32592. "description": "品种ID",
  32593. "type": "integer"
  32594. },
  32595. "deliverygoodsname": {
  32596. "description": "品种名称",
  32597. "type": "string"
  32598. },
  32599. "wdlst": {
  32600. "description": "商品列表",
  32601. "type": "array",
  32602. "items": {
  32603. "$ref": "#/definitions/models.WrFtWrstandard"
  32604. }
  32605. }
  32606. }
  32607. },
  32608. "models.WrFtWrstandard": {
  32609. "type": "object",
  32610. "properties": {
  32611. "enumdicname": {
  32612. "description": "单位名称",
  32613. "type": "string"
  32614. },
  32615. "minivalue": {
  32616. "description": "最小变动值",
  32617. "type": "integer"
  32618. },
  32619. "wrstandardcode": {
  32620. "description": "现货商品代码",
  32621. "type": "string"
  32622. },
  32623. "wrstandardid": {
  32624. "description": "现货商品ID",
  32625. "type": "integer"
  32626. },
  32627. "wrstandardname": {
  32628. "description": "商品名称",
  32629. "type": "string"
  32630. }
  32631. }
  32632. },
  32633. "models.WrGoodsInfo": {
  32634. "type": "object",
  32635. "properties": {
  32636. "haswr": {
  32637. "description": "0:仓单预售 1:仓单贸易",
  32638. "type": "integer"
  32639. },
  32640. "lstitem": {
  32641. "description": "商品信息项",
  32642. "type": "array",
  32643. "items": {
  32644. "$ref": "#/definitions/models.WrTypeItem"
  32645. }
  32646. },
  32647. "lststep": {
  32648. "description": "履约规则",
  32649. "type": "array",
  32650. "items": {
  32651. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32652. }
  32653. },
  32654. "marketid": {
  32655. "description": "市场id",
  32656. "type": "integer"
  32657. }
  32658. }
  32659. },
  32660. "models.WrGoodsPerformanceStep": {
  32661. "type": "object",
  32662. "properties": {
  32663. "autoid": {
  32664. "description": "AutoID",
  32665. "type": "integer"
  32666. },
  32667. "isauto": {
  32668. "description": "是否自动 - 0:不自动 1:自动",
  32669. "type": "integer"
  32670. },
  32671. "remark": {
  32672. "description": "备注",
  32673. "type": "string"
  32674. },
  32675. "stepdate": {
  32676. "description": "天数信息(T+N)",
  32677. "type": "string"
  32678. },
  32679. "stepdays": {
  32680. "description": "距离上一步天数",
  32681. "type": "integer"
  32682. },
  32683. "stepindex": {
  32684. "description": "步骤序号",
  32685. "type": "integer"
  32686. },
  32687. "stepinfo": {
  32688. "description": "步骤信息(步骤名称+步骤值)",
  32689. "type": "string"
  32690. },
  32691. "steptypeid": {
  32692. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32693. "type": "integer"
  32694. },
  32695. "steptypename": {
  32696. "description": "步骤名称",
  32697. "type": "string"
  32698. },
  32699. "stepvalue": {
  32700. "description": "期初均价",
  32701. "type": "number"
  32702. },
  32703. "templateid": {
  32704. "description": "履约计划模板ID",
  32705. "type": "integer"
  32706. }
  32707. }
  32708. },
  32709. "models.WrHoldLB": {
  32710. "type": "object",
  32711. "properties": {
  32712. "accountid": {
  32713. "description": "持有人帐户ID",
  32714. "type": "integer"
  32715. },
  32716. "bannerpicurl": {
  32717. "description": "Banner图",
  32718. "type": "string"
  32719. },
  32720. "createtime": {
  32721. "description": "创建时间(过户时间)",
  32722. "type": "string"
  32723. },
  32724. "deliverygoodscode": {
  32725. "description": "品种代码",
  32726. "type": "string"
  32727. },
  32728. "deliverygoodsid": {
  32729. "description": "品种ID",
  32730. "type": "integer"
  32731. },
  32732. "deliverygoodsname": {
  32733. "description": "品种名称",
  32734. "type": "string"
  32735. },
  32736. "enableqty": {
  32737. "description": "可用数量",
  32738. "type": "number"
  32739. },
  32740. "enumdicname": {
  32741. "description": "单位名称",
  32742. "type": "string"
  32743. },
  32744. "freezerqty": {
  32745. "description": "冻结数量",
  32746. "type": "number"
  32747. },
  32748. "ladingbillid": {
  32749. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32750. "type": "string"
  32751. },
  32752. "minivalue": {
  32753. "description": "现货商品最小变动值",
  32754. "type": "integer"
  32755. },
  32756. "optioncompare": {
  32757. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32758. "type": "string"
  32759. },
  32760. "parentsubnum": {
  32761. "description": "拆分父子单号",
  32762. "type": "integer"
  32763. },
  32764. "pledgeqty": {
  32765. "description": "质押数量",
  32766. "type": "number"
  32767. },
  32768. "qty": {
  32769. "description": "数量",
  32770. "type": "number"
  32771. },
  32772. "subnum": {
  32773. "description": "提单子单号",
  32774. "type": "integer"
  32775. },
  32776. "thumurls": {
  32777. "description": "缩略图",
  32778. "type": "string"
  32779. },
  32780. "tradedate": {
  32781. "description": "交易日(yyyyMMdd)",
  32782. "type": "string"
  32783. },
  32784. "userid": {
  32785. "description": "持有人ID",
  32786. "type": "integer"
  32787. },
  32788. "warehouseid": {
  32789. "description": "仓库ID",
  32790. "type": "integer"
  32791. },
  32792. "warehousename": {
  32793. "description": "仓库名称",
  32794. "type": "string"
  32795. },
  32796. "wrfactortypeid": {
  32797. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32798. "type": "string"
  32799. },
  32800. "wrfactortypename": {
  32801. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32802. "type": "string"
  32803. },
  32804. "wrholdeno": {
  32805. "description": "仓单编号",
  32806. "type": "string"
  32807. },
  32808. "wrid": {
  32809. "description": "仓单变更ID",
  32810. "type": "string"
  32811. },
  32812. "wrstandardcode": {
  32813. "description": "现货商品代码",
  32814. "type": "string"
  32815. },
  32816. "wrstandardid": {
  32817. "description": "现货商品ID",
  32818. "type": "integer"
  32819. },
  32820. "wrstandardname": {
  32821. "description": "商品名称",
  32822. "type": "string"
  32823. },
  32824. "wrtypename": {
  32825. "description": "商品",
  32826. "type": "string"
  32827. }
  32828. }
  32829. },
  32830. "models.WrMarketTradeConfig": {
  32831. "type": "object",
  32832. "properties": {
  32833. "basisdownratio": {
  32834. "description": "浮动价基差下限比例(仓单贸易)",
  32835. "type": "number"
  32836. },
  32837. "basisupratio": {
  32838. "description": "浮动价基差上限比例(仓单贸易)",
  32839. "type": "number"
  32840. },
  32841. "buychargealgorithm": {
  32842. "description": "买方手续费收取方式 1:比率 2:固定",
  32843. "type": "integer"
  32844. },
  32845. "buychargealgorithm2": {
  32846. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32847. "type": "integer"
  32848. },
  32849. "buychargealgorithmvalue": {
  32850. "description": "买方手续费设置值(交易所部分)",
  32851. "type": "number"
  32852. },
  32853. "buychargealgorithmvalue2": {
  32854. "description": "买方手续费设置值(会员部分)",
  32855. "type": "number"
  32856. },
  32857. "buychargealgorithmvalue3": {
  32858. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32859. "type": "number"
  32860. },
  32861. "buychargealgorithmvalue4": {
  32862. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32863. "type": "number"
  32864. },
  32865. "buyfirstmarginalgorithm": {
  32866. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32867. "type": "integer"
  32868. },
  32869. "buyfirstmarginvalue": {
  32870. "description": "买方出价保证金设置值 - [竞拍]",
  32871. "type": "number"
  32872. },
  32873. "buymarginalgorithm": {
  32874. "description": "买方保证金方式 - 1:比率 2:固定",
  32875. "type": "integer"
  32876. },
  32877. "buymarginvalue": {
  32878. "description": "买方保证金设置值",
  32879. "type": "number"
  32880. },
  32881. "buyreleaseratio": {
  32882. "description": "买方释放比率[2:分步履约]",
  32883. "type": "number"
  32884. },
  32885. "executemode": {
  32886. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32887. "type": "integer"
  32888. },
  32889. "executeside": {
  32890. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32891. "type": "integer"
  32892. },
  32893. "failedchargealgorithm": {
  32894. "description": "流拍手续费收取方式 1:比率 2:固定",
  32895. "type": "integer"
  32896. },
  32897. "failedchargevalue": {
  32898. "description": "流拍手续费设置值",
  32899. "type": "number"
  32900. },
  32901. "failedchargevalue2": {
  32902. "description": "流拍卖方手续费设置值",
  32903. "type": "number"
  32904. },
  32905. "holddays": {
  32906. "description": "合同期限[2:分步履约]",
  32907. "type": "integer"
  32908. },
  32909. "listingmode": {
  32910. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32911. "type": "integer"
  32912. },
  32913. "marketid": {
  32914. "description": "市场ID-仓单贸易、竞拍、预售",
  32915. "type": "integer"
  32916. },
  32917. "minqty": {
  32918. "description": "最小执行量[2:分步履约]",
  32919. "type": "number"
  32920. },
  32921. "modifierid": {
  32922. "description": "修改人",
  32923. "type": "integer"
  32924. },
  32925. "nowrquotaflag": {
  32926. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  32927. "type": "integer"
  32928. },
  32929. "performancetempid": {
  32930. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32931. "type": "integer"
  32932. },
  32933. "performancetempid2": {
  32934. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32935. "type": "integer"
  32936. },
  32937. "performancetempid2s": {
  32938. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32939. "type": "string"
  32940. },
  32941. "performancetempids": {
  32942. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32943. "type": "string"
  32944. },
  32945. "performanceway": {
  32946. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32947. "type": "integer"
  32948. },
  32949. "sellchargealgorithm": {
  32950. "description": "卖方手续费收取方式 1:比率 2:固定",
  32951. "type": "integer"
  32952. },
  32953. "sellchargealgorithm2": {
  32954. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32955. "type": "integer"
  32956. },
  32957. "sellchargealgorithmvalue": {
  32958. "description": "卖方手续费设置值(交易所部分)",
  32959. "type": "number"
  32960. },
  32961. "sellchargealgorithmvalue2": {
  32962. "description": "卖方手续费设置值(会员部分)",
  32963. "type": "number"
  32964. },
  32965. "sellchargealgorithmvalue3": {
  32966. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  32967. "type": "number"
  32968. },
  32969. "sellchargealgorithmvalue4": {
  32970. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  32971. "type": "number"
  32972. },
  32973. "sellmarginalgorithm": {
  32974. "description": "卖方保证金方式 - 1:比率 2:固定",
  32975. "type": "integer"
  32976. },
  32977. "sellmarginvalue": {
  32978. "description": "卖方保证金设置值",
  32979. "type": "number"
  32980. },
  32981. "sellmarginvalue2": {
  32982. "description": "卖方保证金设置值(无仓单)",
  32983. "type": "number"
  32984. },
  32985. "sellreleaseratio": {
  32986. "description": "卖方释放比率[2:分步履约]",
  32987. "type": "number"
  32988. },
  32989. "updatetime": {
  32990. "description": "更新时间",
  32991. "type": "string"
  32992. }
  32993. }
  32994. },
  32995. "models.WrOrderDetail": {
  32996. "type": "object",
  32997. "properties": {
  32998. "accountid": {
  32999. "description": "交易账号(资金账号)",
  33000. "type": "integer"
  33001. },
  33002. "allfriendsflag": {
  33003. "description": "是否全好友可见 - 0:否 1:是",
  33004. "type": "integer"
  33005. },
  33006. "amount": {
  33007. "description": "期初均价",
  33008. "type": "number"
  33009. },
  33010. "bannerpicurl": {
  33011. "description": "Banner图",
  33012. "type": "string"
  33013. },
  33014. "begindate": {
  33015. "description": "开始交易日(yyyymmdd)",
  33016. "type": "string"
  33017. },
  33018. "buyorsell": {
  33019. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33020. "type": "integer"
  33021. },
  33022. "canbargain": {
  33023. "description": "是否可议价 - 0:不可 1:可",
  33024. "type": "integer"
  33025. },
  33026. "cancelqty": {
  33027. "description": "撤销数量",
  33028. "type": "number"
  33029. },
  33030. "canpart": {
  33031. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  33032. "type": "integer"
  33033. },
  33034. "delistminqty": {
  33035. "description": "起摘数量",
  33036. "type": "integer"
  33037. },
  33038. "deliverygoodscode": {
  33039. "description": "品种代码",
  33040. "type": "string"
  33041. },
  33042. "deliverygoodsid": {
  33043. "description": "品种ID",
  33044. "type": "integer"
  33045. },
  33046. "deliverygoodsname": {
  33047. "description": "品种名称",
  33048. "type": "string"
  33049. },
  33050. "deliverymonth": {
  33051. "description": "交收月",
  33052. "type": "string"
  33053. },
  33054. "enddate": {
  33055. "description": "结束交易日(yyyymmdd)",
  33056. "type": "string"
  33057. },
  33058. "enumdicname": {
  33059. "description": "单位名称",
  33060. "type": "string"
  33061. },
  33062. "fixedprice": {
  33063. "description": "固定价格 - [挂牌]",
  33064. "type": "number"
  33065. },
  33066. "freezecharge": {
  33067. "description": "期初均价",
  33068. "type": "number"
  33069. },
  33070. "freezemargin": {
  33071. "description": "期初均价",
  33072. "type": "number"
  33073. },
  33074. "futupricemove": {
  33075. "description": "期货升贴水",
  33076. "type": "number"
  33077. },
  33078. "futushow": {
  33079. "description": "期货合约/升贴水",
  33080. "type": "string"
  33081. },
  33082. "goodscode": {
  33083. "description": "期货合约",
  33084. "type": "string"
  33085. },
  33086. "goodsid": {
  33087. "description": "期货商品id",
  33088. "type": "integer"
  33089. },
  33090. "goodsname": {
  33091. "description": "商品名称",
  33092. "type": "string"
  33093. },
  33094. "haswr": {
  33095. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33096. "type": "integer"
  33097. },
  33098. "isspecified": {
  33099. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  33100. "type": "integer"
  33101. },
  33102. "ladingbillid": {
  33103. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33104. "type": "string"
  33105. },
  33106. "marginvalue": {
  33107. "description": "期初均价",
  33108. "type": "number"
  33109. },
  33110. "marketid": {
  33111. "description": "市场ID",
  33112. "type": "integer"
  33113. },
  33114. "matchusername": {
  33115. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  33116. "type": "string"
  33117. },
  33118. "minivalue": {
  33119. "description": "现货商品最小变动值",
  33120. "type": "integer"
  33121. },
  33122. "optioncompare": {
  33123. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33124. "type": "string"
  33125. },
  33126. "orderqty": {
  33127. "description": "委托数量",
  33128. "type": "number"
  33129. },
  33130. "ordertime": {
  33131. "description": "委托时间(挂牌时间)",
  33132. "type": "string"
  33133. },
  33134. "performancetemplateid": {
  33135. "description": "履约模板id",
  33136. "type": "integer"
  33137. },
  33138. "pricemove": {
  33139. "description": "升贴水(浮动价时填写) - [挂牌]",
  33140. "type": "number"
  33141. },
  33142. "taname": {
  33143. "description": "交易用户名称(资金账号名称)",
  33144. "type": "string"
  33145. },
  33146. "thumurls": {
  33147. "description": "缩略图",
  33148. "type": "string"
  33149. },
  33150. "tradedate": {
  33151. "description": "交易日(yyyyMMdd)",
  33152. "type": "string"
  33153. },
  33154. "tradeprice": {
  33155. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33156. "type": "number"
  33157. },
  33158. "tradeqty": {
  33159. "description": "成交数量",
  33160. "type": "number"
  33161. },
  33162. "userid": {
  33163. "description": "用户ID",
  33164. "type": "integer"
  33165. },
  33166. "validtime": {
  33167. "description": "挂牌有效期",
  33168. "type": "string"
  33169. },
  33170. "validtype": {
  33171. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33172. "type": "integer"
  33173. },
  33174. "warehouseid": {
  33175. "description": "仓库ID",
  33176. "type": "integer"
  33177. },
  33178. "warehousename": {
  33179. "description": "仓库名称",
  33180. "type": "string"
  33181. },
  33182. "wrfactortypeid": {
  33183. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33184. "type": "string"
  33185. },
  33186. "wrfactortypename": {
  33187. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33188. "type": "string"
  33189. },
  33190. "wrpricetype": {
  33191. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33192. "type": "integer"
  33193. },
  33194. "wrstandardcode": {
  33195. "description": "现货商品代码",
  33196. "type": "string"
  33197. },
  33198. "wrstandardid": {
  33199. "description": "现货商品ID",
  33200. "type": "integer"
  33201. },
  33202. "wrstandardname": {
  33203. "description": "商品名称",
  33204. "type": "string"
  33205. },
  33206. "wrtradeorderid": {
  33207. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33208. "type": "string"
  33209. },
  33210. "wrtradeorderstatus": {
  33211. "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:撤单解冻贷款失败",
  33212. "type": "integer"
  33213. },
  33214. "wrtradetype": {
  33215. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33216. "type": "integer"
  33217. },
  33218. "wrtypename": {
  33219. "description": "商品",
  33220. "type": "string"
  33221. }
  33222. }
  33223. },
  33224. "models.WrOrderQuote": {
  33225. "type": "object",
  33226. "properties": {
  33227. "bannerpicurl": {
  33228. "description": "Banner图",
  33229. "type": "string"
  33230. },
  33231. "buyprice": {
  33232. "description": "买价",
  33233. "type": "number"
  33234. },
  33235. "buypricemove": {
  33236. "description": "买升贴水(基差)",
  33237. "type": "number"
  33238. },
  33239. "buyqty": {
  33240. "description": "买量",
  33241. "type": "number"
  33242. },
  33243. "deliverygoodscode": {
  33244. "description": "品种代码",
  33245. "type": "string"
  33246. },
  33247. "deliverygoodsid": {
  33248. "description": "品种id",
  33249. "type": "integer"
  33250. },
  33251. "deliverygoodsname": {
  33252. "description": "品种名称",
  33253. "type": "string"
  33254. },
  33255. "deliverymonth": {
  33256. "description": "交收月",
  33257. "type": "string"
  33258. },
  33259. "enumdicname": {
  33260. "description": "单位名称",
  33261. "type": "string"
  33262. },
  33263. "goodscode": {
  33264. "description": "商品合约(浮动价列表才有)",
  33265. "type": "string"
  33266. },
  33267. "goodsid": {
  33268. "description": "商品id(浮动价列表才有)",
  33269. "type": "integer"
  33270. },
  33271. "minivalue": {
  33272. "description": "现货商品最小变动值",
  33273. "type": "integer"
  33274. },
  33275. "pictureurls": {
  33276. "description": "详情图片(逗号分隔)",
  33277. "type": "string"
  33278. },
  33279. "sellprice": {
  33280. "description": "卖价",
  33281. "type": "number"
  33282. },
  33283. "sellpricemove": {
  33284. "description": "卖升贴水(基差)",
  33285. "type": "number"
  33286. },
  33287. "sellqty": {
  33288. "description": "卖量",
  33289. "type": "number"
  33290. },
  33291. "thumurls": {
  33292. "description": "缩略图片(1:1)(逗号分隔)",
  33293. "type": "string"
  33294. },
  33295. "warehousecode": {
  33296. "description": "仓库代码",
  33297. "type": "string"
  33298. },
  33299. "warehouseid": {
  33300. "description": "仓库id",
  33301. "type": "integer"
  33302. },
  33303. "warehousename": {
  33304. "description": "仓库名称",
  33305. "type": "string"
  33306. },
  33307. "wrfactortypeid": {
  33308. "description": "仓单要素id",
  33309. "type": "string"
  33310. },
  33311. "wrfactortypename": {
  33312. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33313. "type": "string"
  33314. },
  33315. "wrgoodsname": {
  33316. "description": "商品(商品名称+仓库要素名称 拼接)",
  33317. "type": "string"
  33318. },
  33319. "wrstandardcode": {
  33320. "description": "商品代码",
  33321. "type": "string"
  33322. },
  33323. "wrstandardid": {
  33324. "description": "商品id",
  33325. "type": "integer"
  33326. },
  33327. "wrstandardname": {
  33328. "description": "商品名称",
  33329. "type": "string"
  33330. }
  33331. }
  33332. },
  33333. "models.WrOrderQuoteDetail": {
  33334. "type": "object",
  33335. "properties": {
  33336. "buyorsell": {
  33337. "description": "买卖 - 0:买 1:卖",
  33338. "type": "integer"
  33339. },
  33340. "delistminqty": {
  33341. "description": "期初均价",
  33342. "type": "number"
  33343. },
  33344. "deliverymonth": {
  33345. "description": "交收月",
  33346. "type": "string"
  33347. },
  33348. "enumdicname": {
  33349. "description": "单位名称",
  33350. "type": "string"
  33351. },
  33352. "fixedprice": {
  33353. "description": "买(卖)价",
  33354. "type": "number"
  33355. },
  33356. "marketid": {
  33357. "description": "市场id",
  33358. "type": "integer"
  33359. },
  33360. "minivalue": {
  33361. "description": "现货商品最小变动值",
  33362. "type": "integer"
  33363. },
  33364. "orderqty": {
  33365. "description": "买(卖)量(=委托量-成交量)",
  33366. "type": "number"
  33367. },
  33368. "ordertime": {
  33369. "description": "委托时间",
  33370. "type": "string"
  33371. },
  33372. "pricemove": {
  33373. "description": "买(卖)升贴水- 基差",
  33374. "type": "number"
  33375. },
  33376. "userid": {
  33377. "description": "购买方(销售方)用户ID",
  33378. "type": "integer"
  33379. },
  33380. "username": {
  33381. "description": "购买方(销售方)",
  33382. "type": "string"
  33383. },
  33384. "wrtradeorderid": {
  33385. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33386. "type": "string"
  33387. }
  33388. }
  33389. },
  33390. "models.WrOutInApply": {
  33391. "type": "object",
  33392. "properties": {
  33393. "applyid": {
  33394. "description": "申请单id",
  33395. "type": "string"
  33396. },
  33397. "applystatus": {
  33398. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33399. "type": "integer"
  33400. },
  33401. "applytime": {
  33402. "description": "申请时间",
  33403. "type": "string"
  33404. },
  33405. "applytype": {
  33406. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33407. "type": "integer"
  33408. },
  33409. "bannerpicurl": {
  33410. "description": "Banner图",
  33411. "type": "string"
  33412. },
  33413. "begindate": {
  33414. "description": "开始交易日(yyyymmdd)",
  33415. "type": "string"
  33416. },
  33417. "deliverygoodscode": {
  33418. "description": "品种代码",
  33419. "type": "string"
  33420. },
  33421. "deliverygoodsid": {
  33422. "description": "品种ID",
  33423. "type": "integer"
  33424. },
  33425. "deliverygoodsname": {
  33426. "description": "品种名称",
  33427. "type": "string"
  33428. },
  33429. "enddate": {
  33430. "description": "结束交易日(yyyymmdd)",
  33431. "type": "string"
  33432. },
  33433. "enumdicname": {
  33434. "description": "单位名称",
  33435. "type": "string"
  33436. },
  33437. "expresscompany": {
  33438. "description": "物流公司",
  33439. "type": "string"
  33440. },
  33441. "expressnum": {
  33442. "description": "物流单号",
  33443. "type": "string"
  33444. },
  33445. "minivalue": {
  33446. "description": "现货商品最小变动值",
  33447. "type": "integer"
  33448. },
  33449. "optioncompare": {
  33450. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33451. "type": "string"
  33452. },
  33453. "qty": {
  33454. "description": "数量",
  33455. "type": "integer"
  33456. },
  33457. "userid": {
  33458. "description": "用户id",
  33459. "type": "integer"
  33460. },
  33461. "warehouseid": {
  33462. "description": "仓库ID",
  33463. "type": "integer"
  33464. },
  33465. "warehousename": {
  33466. "description": "仓库名称",
  33467. "type": "string"
  33468. },
  33469. "wrfactortypeid": {
  33470. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33471. "type": "string"
  33472. },
  33473. "wrfactortypename": {
  33474. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33475. "type": "string"
  33476. },
  33477. "wrstandardcode": {
  33478. "description": "现货商品代码",
  33479. "type": "string"
  33480. },
  33481. "wrstandardid": {
  33482. "description": "现货商品ID",
  33483. "type": "integer"
  33484. },
  33485. "wrstandardname": {
  33486. "description": "商品名称",
  33487. "type": "string"
  33488. },
  33489. "wrtypename": {
  33490. "description": "商品",
  33491. "type": "string"
  33492. }
  33493. }
  33494. },
  33495. "models.WrPerformancePlan": {
  33496. "type": "object",
  33497. "required": [
  33498. "userid"
  33499. ],
  33500. "properties": {
  33501. "activatemonth": {
  33502. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33503. "type": "string"
  33504. },
  33505. "amount": {
  33506. "description": "履约金额(总金额)",
  33507. "type": "number"
  33508. },
  33509. "begindate": {
  33510. "description": "开始交易日(yyyymmdd)",
  33511. "type": "string"
  33512. },
  33513. "buyaccountid": {
  33514. "description": "买方账号",
  33515. "type": "integer"
  33516. },
  33517. "buyerfreezeamount": {
  33518. "description": "履约冻结(买履约)",
  33519. "type": "number"
  33520. },
  33521. "buyerfreezeamountremain": {
  33522. "description": "履约冻结剩余(买履约)",
  33523. "type": "number"
  33524. },
  33525. "buyorsell": {
  33526. "description": "买卖方向 0-买 1-卖",
  33527. "type": "integer"
  33528. },
  33529. "buypaidamount": {
  33530. "description": "买方已冻/已扣金额 (已付金额)",
  33531. "type": "number"
  33532. },
  33533. "buyusername": {
  33534. "description": "买方名字",
  33535. "type": "string"
  33536. },
  33537. "contractid": {
  33538. "description": "合同ID",
  33539. "type": "integer"
  33540. },
  33541. "createtime": {
  33542. "description": "创建时间",
  33543. "type": "string"
  33544. },
  33545. "creatorid": {
  33546. "description": "创建人",
  33547. "type": "integer"
  33548. },
  33549. "curstepdeadline": {
  33550. "description": "当前步骤到期时间",
  33551. "type": "string"
  33552. },
  33553. "curstepid": {
  33554. "description": "当前步骤ID",
  33555. "type": "string"
  33556. },
  33557. "curstepname": {
  33558. "description": "当前步骤名称",
  33559. "type": "string"
  33560. },
  33561. "deliverygoodscode": {
  33562. "description": "品种代码",
  33563. "type": "string"
  33564. },
  33565. "deliverygoodsid": {
  33566. "description": "品种ID",
  33567. "type": "integer"
  33568. },
  33569. "deliverygoodsname": {
  33570. "description": "品种名称",
  33571. "type": "string"
  33572. },
  33573. "enddate": {
  33574. "description": "结束交易日(yyyymmdd)",
  33575. "type": "string"
  33576. },
  33577. "enumdicname": {
  33578. "description": "单位名称",
  33579. "type": "string"
  33580. },
  33581. "expressfee": {
  33582. "description": "运费",
  33583. "type": "number"
  33584. },
  33585. "expressfeeconfirmed": {
  33586. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33587. "type": "integer"
  33588. },
  33589. "hasovershort": {
  33590. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33591. "type": "integer"
  33592. },
  33593. "haswr": {
  33594. "description": "类型 0-仓单预售 1-仓单贸易",
  33595. "type": "integer"
  33596. },
  33597. "marketid": {
  33598. "description": "市场ID",
  33599. "type": "integer"
  33600. },
  33601. "middleaccountid": {
  33602. "description": "中间商资金账号ID",
  33603. "type": "integer"
  33604. },
  33605. "middleuserid": {
  33606. "description": "中间商用户ID",
  33607. "type": "integer"
  33608. },
  33609. "minivalue": {
  33610. "description": "现货商品最小变动值",
  33611. "type": "integer"
  33612. },
  33613. "optioncompare": {
  33614. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33615. "type": "string"
  33616. },
  33617. "overshortamount": {
  33618. "description": "溢短金额",
  33619. "type": "number"
  33620. },
  33621. "overshortqty": {
  33622. "description": "溢短数量",
  33623. "type": "number"
  33624. },
  33625. "paymenttype": {
  33626. "description": "付款方式 - 1:冻结 2:扣款",
  33627. "type": "integer"
  33628. },
  33629. "performanceplanid": {
  33630. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33631. "type": "string"
  33632. },
  33633. "performancestatus": {
  33634. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33635. "type": "integer"
  33636. },
  33637. "performancetype": {
  33638. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33639. "type": "integer"
  33640. },
  33641. "qty": {
  33642. "description": "履约数量",
  33643. "type": "number"
  33644. },
  33645. "relatedorderid": {
  33646. "description": "关联单号(履约类型的关联单号)",
  33647. "type": "string"
  33648. },
  33649. "remark": {
  33650. "description": "备注",
  33651. "type": "string"
  33652. },
  33653. "sellaccountid": {
  33654. "description": "卖方账号",
  33655. "type": "integer"
  33656. },
  33657. "sellerfreezeamount": {
  33658. "description": "履约冻结(卖履约)",
  33659. "type": "number"
  33660. },
  33661. "sellerfreezeamountremain": {
  33662. "description": "履约冻结剩余(卖履约)",
  33663. "type": "number"
  33664. },
  33665. "sellreceivedamount": {
  33666. "description": "卖方已收金额",
  33667. "type": "number"
  33668. },
  33669. "sellusername": {
  33670. "description": "卖方名字",
  33671. "type": "string"
  33672. },
  33673. "shipremark": {
  33674. "description": "发货备注[物流单号]",
  33675. "type": "string"
  33676. },
  33677. "starttime": {
  33678. "description": "开始时间",
  33679. "type": "string"
  33680. },
  33681. "steptypeid": {
  33682. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33683. "type": "integer"
  33684. },
  33685. "typename": {
  33686. "description": "履约类型 名称",
  33687. "type": "string"
  33688. },
  33689. "unpaidamount": {
  33690. "description": "期初均价",
  33691. "type": "number"
  33692. },
  33693. "userid": {
  33694. "description": "用户id",
  33695. "type": "integer"
  33696. },
  33697. "warehouseid": {
  33698. "description": "仓库ID",
  33699. "type": "integer"
  33700. },
  33701. "warehousename": {
  33702. "description": "仓库名称",
  33703. "type": "string"
  33704. },
  33705. "wrfactortypeid": {
  33706. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33707. "type": "string"
  33708. },
  33709. "wrfactortypename": {
  33710. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33711. "type": "string"
  33712. },
  33713. "wrstandardcode": {
  33714. "description": "现货商品代码",
  33715. "type": "string"
  33716. },
  33717. "wrstandardid": {
  33718. "description": "现货商品ID",
  33719. "type": "integer"
  33720. },
  33721. "wrstandardname": {
  33722. "description": "商品名称",
  33723. "type": "string"
  33724. },
  33725. "wrtransferuserid": {
  33726. "description": "仓单受让用户",
  33727. "type": "integer"
  33728. },
  33729. "wrtypename": {
  33730. "description": "商品",
  33731. "type": "string"
  33732. }
  33733. }
  33734. },
  33735. "models.WrPerformancePlanStep": {
  33736. "type": "object",
  33737. "properties": {
  33738. "delaydays": {
  33739. "description": "延期申请天数",
  33740. "type": "integer"
  33741. },
  33742. "deliverygoodscode": {
  33743. "description": "品种代码",
  33744. "type": "string"
  33745. },
  33746. "deliverygoodsid": {
  33747. "description": "品种ID",
  33748. "type": "integer"
  33749. },
  33750. "deliverygoodsname": {
  33751. "description": "品种名称",
  33752. "type": "string"
  33753. },
  33754. "endtime": {
  33755. "description": "结束日期",
  33756. "type": "string"
  33757. },
  33758. "enumdicname": {
  33759. "description": "单位名称",
  33760. "type": "string"
  33761. },
  33762. "executeside": {
  33763. "description": "步骤执行方 - 1:买方 2:卖方",
  33764. "type": "integer"
  33765. },
  33766. "handlestatus": {
  33767. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33768. "type": "integer"
  33769. },
  33770. "isauto": {
  33771. "description": "是否自动 - 0:不自动 1:自动",
  33772. "type": "integer"
  33773. },
  33774. "islastreceivestep": {
  33775. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33776. "type": "integer"
  33777. },
  33778. "minivalue": {
  33779. "description": "现货商品最小变动值",
  33780. "type": "integer"
  33781. },
  33782. "optioncompare": {
  33783. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33784. "type": "string"
  33785. },
  33786. "overdays": {
  33787. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33788. "type": "integer"
  33789. },
  33790. "performancestepid": {
  33791. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33792. "type": "string"
  33793. },
  33794. "planid": {
  33795. "description": "所属履约计划ID",
  33796. "type": "string"
  33797. },
  33798. "realamount": {
  33799. "description": "实际完成金额",
  33800. "type": "number"
  33801. },
  33802. "relatedorderid": {
  33803. "description": "关联单号",
  33804. "type": "string"
  33805. },
  33806. "remaindays": {
  33807. "description": "剩余天数",
  33808. "type": "integer"
  33809. },
  33810. "remark": {
  33811. "description": "错误备注",
  33812. "type": "string"
  33813. },
  33814. "starttime": {
  33815. "description": "开始日期",
  33816. "type": "string"
  33817. },
  33818. "stepamount": {
  33819. "description": "步骤金额",
  33820. "type": "number"
  33821. },
  33822. "stepdays": {
  33823. "description": "距离上一步天数(分钟)",
  33824. "type": "integer"
  33825. },
  33826. "stepindex": {
  33827. "description": "步骤序号",
  33828. "type": "integer"
  33829. },
  33830. "steplanchtype": {
  33831. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33832. "type": "integer"
  33833. },
  33834. "stepremark": {
  33835. "description": "步骤备注",
  33836. "type": "string"
  33837. },
  33838. "stepstatus": {
  33839. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33840. "type": "integer"
  33841. },
  33842. "steptypeid": {
  33843. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33844. "type": "integer"
  33845. },
  33846. "steptypename": {
  33847. "description": "步骤名称",
  33848. "type": "string"
  33849. },
  33850. "stepvalue": {
  33851. "description": "步骤值",
  33852. "type": "number"
  33853. },
  33854. "warehouseid": {
  33855. "description": "仓库ID",
  33856. "type": "integer"
  33857. },
  33858. "warehousename": {
  33859. "description": "仓库名称",
  33860. "type": "string"
  33861. },
  33862. "wrfactortypeid": {
  33863. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33864. "type": "string"
  33865. },
  33866. "wrfactortypename": {
  33867. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33868. "type": "string"
  33869. },
  33870. "wrstandardcode": {
  33871. "description": "现货商品代码",
  33872. "type": "string"
  33873. },
  33874. "wrstandardid": {
  33875. "description": "现货商品ID",
  33876. "type": "integer"
  33877. },
  33878. "wrstandardname": {
  33879. "description": "商品名称",
  33880. "type": "string"
  33881. },
  33882. "wrtypename": {
  33883. "description": "商品",
  33884. "type": "string"
  33885. }
  33886. }
  33887. },
  33888. "models.WrPerformanceStepType": {
  33889. "type": "object",
  33890. "properties": {
  33891. "canauto": {
  33892. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33893. "type": "integer"
  33894. },
  33895. "steptypeid": {
  33896. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33897. "type": "integer"
  33898. },
  33899. "steptypename": {
  33900. "description": "步骤类型名称",
  33901. "type": "string"
  33902. }
  33903. }
  33904. },
  33905. "models.WrPerformanceTemplateEx": {
  33906. "type": "object",
  33907. "properties": {
  33908. "autoid": {
  33909. "description": "AutoID 模板id",
  33910. "type": "integer"
  33911. },
  33912. "createtime": {
  33913. "description": "创建时间",
  33914. "type": "string"
  33915. },
  33916. "creatorid": {
  33917. "description": "创建人",
  33918. "type": "integer"
  33919. },
  33920. "lstStep": {
  33921. "description": "步骤信息列表",
  33922. "type": "array",
  33923. "items": {
  33924. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33925. }
  33926. },
  33927. "paymenttype": {
  33928. "description": "支付方式 - 1:冻结 2:扣款",
  33929. "type": "integer"
  33930. },
  33931. "takemode": {
  33932. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33933. "type": "integer"
  33934. },
  33935. "templatename": {
  33936. "description": "模板名称",
  33937. "type": "string"
  33938. },
  33939. "templatetype": {
  33940. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33941. "type": "integer"
  33942. },
  33943. "userid": {
  33944. "description": "所属用户",
  33945. "type": "integer"
  33946. }
  33947. }
  33948. },
  33949. "models.WrPosition": {
  33950. "type": "object",
  33951. "properties": {
  33952. "accountid": {
  33953. "description": "帐户ID",
  33954. "type": "integer"
  33955. },
  33956. "buyexcuteqty": {
  33957. "description": "采购履约中数量",
  33958. "type": "number"
  33959. },
  33960. "creditcurqty": {
  33961. "description": "授信当前数量(预售仓单:预售当前量)",
  33962. "type": "number"
  33963. },
  33964. "creditenableqty": {
  33965. "description": "授信可用数量(预售仓单: 可用数量)",
  33966. "type": "number"
  33967. },
  33968. "creditfreezeqty": {
  33969. "description": "授信冻结数量(预售仓单: 当前数量)",
  33970. "type": "number"
  33971. },
  33972. "credittotalqty": {
  33973. "description": "授信总数量(预售仓单:预售总量)",
  33974. "type": "number"
  33975. },
  33976. "credittradeqty": {
  33977. "description": "授信成交数量(预售仓单:成交总量)",
  33978. "type": "number"
  33979. },
  33980. "deliverygoodscode": {
  33981. "description": "品种代码",
  33982. "type": "string"
  33983. },
  33984. "deliverygoodsid": {
  33985. "description": "品种ID",
  33986. "type": "integer"
  33987. },
  33988. "deliverygoodsname": {
  33989. "description": "品种名称",
  33990. "type": "string"
  33991. },
  33992. "enalbeqty": {
  33993. "description": "可用数量",
  33994. "type": "number"
  33995. },
  33996. "enumdicname": {
  33997. "description": "单位名称",
  33998. "type": "string"
  33999. },
  34000. "freezeqty": {
  34001. "description": "总冻结数量",
  34002. "type": "number"
  34003. },
  34004. "haswr": {
  34005. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34006. "type": "integer"
  34007. },
  34008. "minivalue": {
  34009. "description": "现货商品最小变动值",
  34010. "type": "integer"
  34011. },
  34012. "modifytime": {
  34013. "description": "修改时间(过户时间)",
  34014. "type": "string"
  34015. },
  34016. "optioncompare": {
  34017. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34018. "type": "string"
  34019. },
  34020. "pledgeqty": {
  34021. "description": "质押数量",
  34022. "type": "number"
  34023. },
  34024. "querytype": {
  34025. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  34026. "type": "integer"
  34027. },
  34028. "sellexcuteqty": {
  34029. "description": "销售履约中数量",
  34030. "type": "number"
  34031. },
  34032. "totalqty": {
  34033. "description": "总数量(库存数量)",
  34034. "type": "number"
  34035. },
  34036. "warehouseid": {
  34037. "description": "仓库ID",
  34038. "type": "integer"
  34039. },
  34040. "warehousename": {
  34041. "description": "仓库名称",
  34042. "type": "string"
  34043. },
  34044. "wrfactortypeid": {
  34045. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34046. "type": "string"
  34047. },
  34048. "wrfactortypename": {
  34049. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34050. "type": "string"
  34051. },
  34052. "wrpositionid": {
  34053. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  34054. "type": "string"
  34055. },
  34056. "wrpositionno": {
  34057. "description": "仓单编号",
  34058. "type": "string"
  34059. },
  34060. "wrstandardcode": {
  34061. "description": "现货商品代码",
  34062. "type": "string"
  34063. },
  34064. "wrstandardid": {
  34065. "description": "现货商品ID",
  34066. "type": "integer"
  34067. },
  34068. "wrstandardname": {
  34069. "description": "商品名称",
  34070. "type": "string"
  34071. },
  34072. "wrtypename": {
  34073. "description": "商品",
  34074. "type": "string"
  34075. },
  34076. "wruserid": {
  34077. "description": "持有人ID",
  34078. "type": "integer"
  34079. }
  34080. }
  34081. },
  34082. "models.WrPreSaleInfo": {
  34083. "type": "object",
  34084. "properties": {
  34085. "bannerpicurl": {
  34086. "description": "Banner图",
  34087. "type": "string"
  34088. },
  34089. "baseqty": {
  34090. "description": "中签基数",
  34091. "type": "number"
  34092. },
  34093. "createtime": {
  34094. "description": "创建时间",
  34095. "type": "string"
  34096. },
  34097. "deliverygoodsid": {
  34098. "description": "现货品种ID",
  34099. "type": "integer"
  34100. },
  34101. "enddate": {
  34102. "description": "预售结束日期",
  34103. "type": "string"
  34104. },
  34105. "enumdicname": {
  34106. "description": "单位名称",
  34107. "type": "string"
  34108. },
  34109. "lotteryflag": {
  34110. "description": "摇号标识 - 0:未摇号 1:已摇号",
  34111. "type": "integer"
  34112. },
  34113. "lotteryqty": {
  34114. "description": "摇号总量",
  34115. "type": "number"
  34116. },
  34117. "luckyqty": {
  34118. "description": "已中签量",
  34119. "type": "number"
  34120. },
  34121. "marketid": {
  34122. "description": "市场ID",
  34123. "type": "integer"
  34124. },
  34125. "maxbuyqty": {
  34126. "description": "单人最大申购量",
  34127. "type": "number"
  34128. },
  34129. "maxluckyqty": {
  34130. "description": "单人最大中签量",
  34131. "type": "number"
  34132. },
  34133. "pictureurls": {
  34134. "description": "详情图片(逗号分隔)",
  34135. "type": "string"
  34136. },
  34137. "placeqty": {
  34138. "description": "已配售量",
  34139. "type": "number"
  34140. },
  34141. "presaleapplyid": {
  34142. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  34143. "type": "string",
  34144. "example": "0"
  34145. },
  34146. "presaleqty": {
  34147. "description": "预售总量",
  34148. "type": "number"
  34149. },
  34150. "presalestatus": {
  34151. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  34152. "type": "integer"
  34153. },
  34154. "sellaccountid": {
  34155. "description": "发行方资金账户ID",
  34156. "type": "integer"
  34157. },
  34158. "selluserid": {
  34159. "description": "发行方用户ID",
  34160. "type": "integer"
  34161. },
  34162. "sellwrtradeorderid": {
  34163. "description": "发行方卖委托单ID",
  34164. "type": "string"
  34165. },
  34166. "startdate": {
  34167. "description": "预售开始日期",
  34168. "type": "string"
  34169. },
  34170. "takestartdate": {
  34171. "description": "提货开始日期",
  34172. "type": "string"
  34173. },
  34174. "thumurls": {
  34175. "description": "缩略图片(1:1)(逗号分隔)",
  34176. "type": "string"
  34177. },
  34178. "tradedate": {
  34179. "description": "交易日",
  34180. "type": "string"
  34181. },
  34182. "unitid": {
  34183. "description": "单位ID",
  34184. "type": "integer"
  34185. },
  34186. "unitprice": {
  34187. "description": "商品单价",
  34188. "type": "number"
  34189. },
  34190. "username": {
  34191. "description": "发行方用户名称",
  34192. "type": "string"
  34193. },
  34194. "warehousecode": {
  34195. "description": "仓库代码(仓库简称)",
  34196. "type": "string"
  34197. },
  34198. "warehouseid": {
  34199. "description": "仓库ID",
  34200. "type": "integer"
  34201. },
  34202. "warehousename": {
  34203. "description": "仓库名称",
  34204. "type": "string"
  34205. },
  34206. "wrfactortypeid": {
  34207. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  34208. "type": "string",
  34209. "example": "0"
  34210. },
  34211. "wrstandardid": {
  34212. "description": "现货商品ID",
  34213. "type": "integer"
  34214. },
  34215. "wrstandardname": {
  34216. "description": "现货商品名称",
  34217. "type": "string"
  34218. }
  34219. }
  34220. },
  34221. "models.WrQuoteOrderMyq": {
  34222. "type": "object",
  34223. "properties": {
  34224. "buyorsell": {
  34225. "description": "买卖 - 0:买 1:卖",
  34226. "type": "integer"
  34227. },
  34228. "canbargain": {
  34229. "description": "是否可议价 - 0:不可 1:可",
  34230. "type": "integer"
  34231. },
  34232. "canpart": {
  34233. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  34234. "type": "integer"
  34235. },
  34236. "delistminqty": {
  34237. "description": "期初均价",
  34238. "type": "number"
  34239. },
  34240. "deliverygoodscode": {
  34241. "description": "品种代码",
  34242. "type": "string"
  34243. },
  34244. "deliverygoodsid": {
  34245. "description": "品种ID",
  34246. "type": "integer"
  34247. },
  34248. "deliverygoodsname": {
  34249. "description": "品种名称",
  34250. "type": "string"
  34251. },
  34252. "deliverymonth": {
  34253. "description": "交收月",
  34254. "type": "string"
  34255. },
  34256. "enumdicname": {
  34257. "description": "单位名称",
  34258. "type": "string"
  34259. },
  34260. "fixedprice": {
  34261. "description": "买(卖)价",
  34262. "type": "number"
  34263. },
  34264. "goodscode": {
  34265. "description": "商品合约代码",
  34266. "type": "string"
  34267. },
  34268. "marginflag": {
  34269. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  34270. "type": "integer"
  34271. },
  34272. "marginvalue": {
  34273. "description": "保证金设置值",
  34274. "type": "number"
  34275. },
  34276. "minivalue": {
  34277. "description": "现货商品最小变动值",
  34278. "type": "integer"
  34279. },
  34280. "orderqty": {
  34281. "description": "买(卖)量(=委托量-成交量)",
  34282. "type": "number"
  34283. },
  34284. "ordertime": {
  34285. "description": "委托时间",
  34286. "type": "string"
  34287. },
  34288. "performancetemplateid": {
  34289. "description": "履约模板id",
  34290. "type": "integer"
  34291. },
  34292. "pricemove": {
  34293. "description": "买(卖)升贴水- 基差",
  34294. "type": "number"
  34295. },
  34296. "templatename": {
  34297. "description": "履约模板名称",
  34298. "type": "string"
  34299. },
  34300. "userid": {
  34301. "description": "购买方(销售方)用户ID",
  34302. "type": "integer"
  34303. },
  34304. "username": {
  34305. "description": "购买方(销售方)",
  34306. "type": "string"
  34307. },
  34308. "validtime": {
  34309. "description": "有效期限",
  34310. "type": "string"
  34311. },
  34312. "validtype": {
  34313. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  34314. "type": "integer"
  34315. },
  34316. "warehousename": {
  34317. "description": "仓库名称",
  34318. "type": "string"
  34319. },
  34320. "wrfactortypeid": {
  34321. "description": "仓单要素id",
  34322. "type": "string"
  34323. },
  34324. "wrstandardcode": {
  34325. "description": "现货商品代码",
  34326. "type": "string"
  34327. },
  34328. "wrstandardid": {
  34329. "description": "现货商品ID",
  34330. "type": "integer"
  34331. },
  34332. "wrstandardname": {
  34333. "description": "商品名称",
  34334. "type": "string"
  34335. },
  34336. "wrtradeorderid": {
  34337. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34338. "type": "string"
  34339. },
  34340. "wrtypename": {
  34341. "description": "商品",
  34342. "type": "string"
  34343. }
  34344. }
  34345. },
  34346. "models.WrReckonSpotGoodsTradeSum": {
  34347. "type": "object",
  34348. "properties": {
  34349. "begindate": {
  34350. "description": "开始日期(结果含开始日期) yyyymmdd",
  34351. "type": "string"
  34352. },
  34353. "enddate": {
  34354. "description": "结束日期(结果含结束日期) yyyymmdd",
  34355. "type": "string"
  34356. },
  34357. "istoday": {
  34358. "description": "是否当日",
  34359. "type": "boolean"
  34360. },
  34361. "marketid": {
  34362. "description": "市场ID",
  34363. "type": "integer"
  34364. },
  34365. "price": {
  34366. "description": "价格 = 日成交金额 / 日成交数量",
  34367. "type": "string"
  34368. },
  34369. "reckondate": {
  34370. "description": "日期 格式 yyyymmdd",
  34371. "type": "string"
  34372. },
  34373. "tradeamount": {
  34374. "description": "期初均价",
  34375. "type": "number"
  34376. },
  34377. "tradeqty": {
  34378. "description": "期初均价",
  34379. "type": "number"
  34380. },
  34381. "wrstandardid": {
  34382. "description": "现货商品ID",
  34383. "type": "integer"
  34384. }
  34385. }
  34386. },
  34387. "models.WrScfContract": {
  34388. "type": "object",
  34389. "properties": {
  34390. "borroweruserid": {
  34391. "description": "借款用户ID",
  34392. "type": "integer"
  34393. },
  34394. "buybackwrpositionqty": {
  34395. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  34396. "type": "number"
  34397. },
  34398. "closeinterest": {
  34399. "description": "已结利息 -\u003e 已结费用",
  34400. "type": "number"
  34401. },
  34402. "currisklevel": {
  34403. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34404. "type": "integer"
  34405. },
  34406. "deadline": {
  34407. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  34408. "type": "string"
  34409. },
  34410. "deliverygoodscode": {
  34411. "description": "品种代码",
  34412. "type": "string"
  34413. },
  34414. "deliverygoodsid": {
  34415. "description": "品种ID",
  34416. "type": "integer"
  34417. },
  34418. "deliverygoodsname": {
  34419. "description": "品种名称",
  34420. "type": "string"
  34421. },
  34422. "enumdicname": {
  34423. "description": "单位名称",
  34424. "type": "string"
  34425. },
  34426. "financingdays": {
  34427. "description": "天数(天)",
  34428. "type": "integer"
  34429. },
  34430. "initmargin": {
  34431. "description": "保证金 - [仓单回购]",
  34432. "type": "number"
  34433. },
  34434. "interestamount": {
  34435. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34436. "type": "number"
  34437. },
  34438. "interestdebt": {
  34439. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34440. "type": "number"
  34441. },
  34442. "interestminlen": {
  34443. "description": "最小起息天数",
  34444. "type": "integer"
  34445. },
  34446. "interestrate": {
  34447. "description": "利率",
  34448. "type": "number"
  34449. },
  34450. "interestratemode": {
  34451. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34452. "type": "integer"
  34453. },
  34454. "interestsettlemode": {
  34455. "description": "结息方式 - 1:按日结息 3:按月结息",
  34456. "type": "integer"
  34457. },
  34458. "interestsettlevalue": {
  34459. "description": "结息方式值",
  34460. "type": "integer"
  34461. },
  34462. "isautoloan": {
  34463. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34464. "type": "integer"
  34465. },
  34466. "lastcloseinterestday": {
  34467. "description": "最近结息日(yyyyMMdd)",
  34468. "type": "string"
  34469. },
  34470. "lenderamount": {
  34471. "description": "贷款金额 -\u003e 借款金额",
  34472. "type": "number"
  34473. },
  34474. "lenderuserid": {
  34475. "description": "贷款方用户ID -\u003e 融出方用户ID",
  34476. "type": "integer"
  34477. },
  34478. "lenderusername": {
  34479. "description": "融出方",
  34480. "type": "string"
  34481. },
  34482. "marginratio": {
  34483. "description": "保证金比率质押率 - [仓单质押]",
  34484. "type": "number"
  34485. },
  34486. "marketid": {
  34487. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34488. "type": "integer"
  34489. },
  34490. "minivalue": {
  34491. "description": "现货商品最小变动值",
  34492. "type": "integer"
  34493. },
  34494. "optioncompare": {
  34495. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34496. "type": "string"
  34497. },
  34498. "pricemove": {
  34499. "description": "估值升贴水值",
  34500. "type": "number"
  34501. },
  34502. "productdetailid": {
  34503. "description": "产品组合ID",
  34504. "type": "integer"
  34505. },
  34506. "productid": {
  34507. "description": "金融产品ID",
  34508. "type": "integer"
  34509. },
  34510. "productname": {
  34511. "description": "产品名称",
  34512. "type": "string"
  34513. },
  34514. "remainamount": {
  34515. "description": "合同剩余金额 -\u003e 剩余金额",
  34516. "type": "number"
  34517. },
  34518. "remainwrpositionqty": {
  34519. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34520. "type": "number"
  34521. },
  34522. "remark": {
  34523. "description": "备注",
  34524. "type": "string"
  34525. },
  34526. "scfcontractid": {
  34527. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34528. "type": "string"
  34529. },
  34530. "scfcontractstatus": {
  34531. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34532. "type": "integer"
  34533. },
  34534. "scfcontracttype": {
  34535. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34536. "type": "integer"
  34537. },
  34538. "startinterestday": {
  34539. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34540. "type": "string"
  34541. },
  34542. "totalinterest": {
  34543. "description": "已计利息 -\u003e 已计费用",
  34544. "type": "number"
  34545. },
  34546. "unpaidinterest": {
  34547. "description": "期初均价",
  34548. "type": "number"
  34549. },
  34550. "updatetime": {
  34551. "description": "更新时间",
  34552. "type": "string"
  34553. },
  34554. "warehouseid": {
  34555. "description": "仓库ID",
  34556. "type": "integer"
  34557. },
  34558. "warehousename": {
  34559. "description": "仓库名称",
  34560. "type": "string"
  34561. },
  34562. "wrfactortypeid": {
  34563. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34564. "type": "string"
  34565. },
  34566. "wrfactortypename": {
  34567. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34568. "type": "string"
  34569. },
  34570. "wrqty": {
  34571. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34572. "type": "number"
  34573. },
  34574. "wrstandardcode": {
  34575. "description": "现货商品代码",
  34576. "type": "string"
  34577. },
  34578. "wrstandardid": {
  34579. "description": "现货商品ID",
  34580. "type": "integer"
  34581. },
  34582. "wrstandardname": {
  34583. "description": "商品名称",
  34584. "type": "string"
  34585. },
  34586. "wrtypename": {
  34587. "description": "商品",
  34588. "type": "string"
  34589. }
  34590. }
  34591. },
  34592. "models.WrScfContractInterest": {
  34593. "type": "object",
  34594. "properties": {
  34595. "closeinterest": {
  34596. "description": "已结利息",
  34597. "type": "number"
  34598. },
  34599. "closeintereststatus": {
  34600. "description": "结息状态 - 1:未结 2:已结",
  34601. "type": "integer"
  34602. },
  34603. "closetime": {
  34604. "description": "结息时间",
  34605. "type": "string"
  34606. },
  34607. "closetradedate": {
  34608. "description": "结息交易日",
  34609. "type": "string"
  34610. },
  34611. "creatorid": {
  34612. "description": "操作人ID",
  34613. "type": "integer"
  34614. },
  34615. "dayrate": {
  34616. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34617. "type": "number"
  34618. },
  34619. "interest": {
  34620. "description": "利息",
  34621. "type": "number"
  34622. },
  34623. "interestamount": {
  34624. "description": "计息金额",
  34625. "type": "number"
  34626. },
  34627. "interestday": {
  34628. "description": "计息日(yyyyMMdd)",
  34629. "type": "string"
  34630. },
  34631. "scfcontractid": {
  34632. "description": "SCF合同ID",
  34633. "type": "string"
  34634. },
  34635. "scfcontractinterestid": {
  34636. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34637. "type": "integer"
  34638. },
  34639. "updatetime": {
  34640. "description": "更新时间",
  34641. "type": "string"
  34642. }
  34643. }
  34644. },
  34645. "models.WrSearchUser": {
  34646. "type": "object",
  34647. "required": [
  34648. "username"
  34649. ],
  34650. "properties": {
  34651. "userid": {
  34652. "description": "用户ID",
  34653. "type": "integer"
  34654. },
  34655. "username": {
  34656. "description": "用户名称(已脱敏)",
  34657. "type": "string"
  34658. },
  34659. "username2": {
  34660. "description": "用户名称(未脱敏)",
  34661. "type": "string"
  34662. },
  34663. "usertype": {
  34664. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34665. "type": "integer"
  34666. }
  34667. }
  34668. },
  34669. "models.WrSiteColumnDetail": {
  34670. "type": "object",
  34671. "properties": {
  34672. "brief": {
  34673. "description": "简介",
  34674. "type": "string"
  34675. },
  34676. "context": {
  34677. "description": "内容",
  34678. "type": "string"
  34679. },
  34680. "coverimage": {
  34681. "description": "封面图片",
  34682. "type": "string"
  34683. },
  34684. "creaedate": {
  34685. "description": "创建时间",
  34686. "type": "string"
  34687. },
  34688. "id": {
  34689. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  34690. "type": "integer"
  34691. },
  34692. "istop": {
  34693. "description": "是否置顶 - 0:不置 1:置顶",
  34694. "type": "integer"
  34695. },
  34696. "publishdate": {
  34697. "description": "发布日期",
  34698. "type": "string"
  34699. },
  34700. "title": {
  34701. "description": "标题",
  34702. "type": "string"
  34703. },
  34704. "updatedate": {
  34705. "description": "修改时间",
  34706. "type": "string"
  34707. }
  34708. }
  34709. },
  34710. "models.WrSpecialMatchOrder": {
  34711. "type": "object",
  34712. "properties": {
  34713. "amount": {
  34714. "description": "金额 = 数量 * 价格",
  34715. "type": "number"
  34716. },
  34717. "buyorsell": {
  34718. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34719. "type": "integer"
  34720. },
  34721. "cancelqty": {
  34722. "description": "撤销数量",
  34723. "type": "number"
  34724. },
  34725. "deliverygoodscode": {
  34726. "description": "品种代码",
  34727. "type": "string"
  34728. },
  34729. "deliverygoodsid": {
  34730. "description": "品种ID",
  34731. "type": "integer"
  34732. },
  34733. "deliverygoodsname": {
  34734. "description": "品种名称",
  34735. "type": "string"
  34736. },
  34737. "enumdicname": {
  34738. "description": "单位名称",
  34739. "type": "string"
  34740. },
  34741. "fixedprice": {
  34742. "description": "固定价格(价格)",
  34743. "type": "number"
  34744. },
  34745. "haswr": {
  34746. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34747. "type": "integer"
  34748. },
  34749. "isspecified": {
  34750. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  34751. "type": "integer"
  34752. },
  34753. "marketid": {
  34754. "description": "市场ID",
  34755. "type": "integer"
  34756. },
  34757. "matchuserid": {
  34758. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  34759. "type": "integer"
  34760. },
  34761. "matchusername": {
  34762. "description": "指定方",
  34763. "type": "string"
  34764. },
  34765. "minivalue": {
  34766. "description": "现货商品最小变动值",
  34767. "type": "integer"
  34768. },
  34769. "optioncompare": {
  34770. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34771. "type": "string"
  34772. },
  34773. "orderqty": {
  34774. "description": "委托数量",
  34775. "type": "number"
  34776. },
  34777. "ordertime": {
  34778. "description": "委托时间",
  34779. "type": "string"
  34780. },
  34781. "pricemove": {
  34782. "description": "升贴水(浮动价时填写) - [挂牌]",
  34783. "type": "number"
  34784. },
  34785. "tradedate": {
  34786. "description": "交易日(yyyyMMdd)",
  34787. "type": "string"
  34788. },
  34789. "tradeprice": {
  34790. "description": "成交价格",
  34791. "type": "number"
  34792. },
  34793. "tradeqty": {
  34794. "description": "成交数量",
  34795. "type": "number"
  34796. },
  34797. "userid": {
  34798. "description": "用户ID",
  34799. "type": "integer"
  34800. },
  34801. "username": {
  34802. "description": "发起方",
  34803. "type": "string"
  34804. },
  34805. "warehouseid": {
  34806. "description": "仓库ID",
  34807. "type": "integer"
  34808. },
  34809. "warehousename": {
  34810. "description": "仓库名称",
  34811. "type": "string"
  34812. },
  34813. "wrfactortypeid": {
  34814. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34815. "type": "string"
  34816. },
  34817. "wrfactortypename": {
  34818. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34819. "type": "string"
  34820. },
  34821. "wrpricetype": {
  34822. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34823. "type": "integer"
  34824. },
  34825. "wrstandardcode": {
  34826. "description": "现货商品代码",
  34827. "type": "string"
  34828. },
  34829. "wrstandardid": {
  34830. "description": "现货商品ID",
  34831. "type": "integer"
  34832. },
  34833. "wrstandardname": {
  34834. "description": "商品名称",
  34835. "type": "string"
  34836. },
  34837. "wrtradeorderid": {
  34838. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34839. "type": "string"
  34840. },
  34841. "wrtradeorderstatus": {
  34842. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  34843. "type": "integer"
  34844. },
  34845. "wrtradetype": {
  34846. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34847. "type": "integer"
  34848. },
  34849. "wrtypename": {
  34850. "description": "商品",
  34851. "type": "string"
  34852. }
  34853. }
  34854. },
  34855. "models.WrSpotGroupTradeSum": {
  34856. "type": "object",
  34857. "properties": {
  34858. "deliverygoodscode": {
  34859. "description": "现货品种代码",
  34860. "type": "string"
  34861. },
  34862. "deliverygoodsid": {
  34863. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34864. "type": "integer"
  34865. },
  34866. "deliverygoodsname": {
  34867. "description": "现货品种名称",
  34868. "type": "string"
  34869. },
  34870. "lastavgprice": {
  34871. "description": "上上个交易日价格(前2天价格)",
  34872. "type": "string"
  34873. },
  34874. "lastreckondate": {
  34875. "description": "上上个交易日(前2天交易日)",
  34876. "type": "string"
  34877. },
  34878. "reckondate": {
  34879. "description": "上个交易日(前1天交易日)",
  34880. "type": "string"
  34881. },
  34882. "todayavgprice": {
  34883. "description": "上个交易日价格(前1天价格)",
  34884. "type": "string"
  34885. },
  34886. "updown": {
  34887. "description": "涨跌",
  34888. "type": "string"
  34889. },
  34890. "updownratio": {
  34891. "description": "涨幅(已格式化, 直接显示即可)",
  34892. "type": "string"
  34893. }
  34894. }
  34895. },
  34896. "models.WrSpotGroupTradeSumDetail": {
  34897. "type": "object",
  34898. "properties": {
  34899. "deliverygoodsid": {
  34900. "description": "现货商品id",
  34901. "type": "integer"
  34902. },
  34903. "price": {
  34904. "description": "价格",
  34905. "type": "number"
  34906. },
  34907. "reckondate": {
  34908. "description": "日期(yyymmdd, 如:20211031)",
  34909. "type": "string"
  34910. }
  34911. }
  34912. },
  34913. "models.WrSpotGroupTradeSumEx": {
  34914. "type": "object",
  34915. "properties": {
  34916. "lst": {
  34917. "description": "指数列表",
  34918. "type": "array",
  34919. "items": {
  34920. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  34921. }
  34922. },
  34923. "prereckondate": {
  34924. "description": "上上个交易日(yyymmdd)",
  34925. "type": "string"
  34926. },
  34927. "reckondate": {
  34928. "description": "上个交易日(yyyymmdd)",
  34929. "type": "string"
  34930. }
  34931. }
  34932. },
  34933. "models.WrStandardFactoryItem": {
  34934. "type": "object",
  34935. "properties": {
  34936. "dgfactoryitemid": {
  34937. "description": "选择项id",
  34938. "type": "integer"
  34939. },
  34940. "dgfactoryitemvalue": {
  34941. "description": "要素项值",
  34942. "type": "string"
  34943. },
  34944. "warehouseid": {
  34945. "description": "仓库id",
  34946. "type": "integer"
  34947. }
  34948. }
  34949. },
  34950. "models.WrStandardFactoryItemEx": {
  34951. "type": "object",
  34952. "properties": {
  34953. "dgfactoryitemtypeid": {
  34954. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  34955. "type": "integer"
  34956. },
  34957. "itemlst": {
  34958. "description": "要素项列表",
  34959. "type": "array",
  34960. "items": {
  34961. "$ref": "#/definitions/models.WrStandardFactoryItem"
  34962. }
  34963. },
  34964. "itemtypename": {
  34965. "description": "要素项类型名称",
  34966. "type": "string"
  34967. },
  34968. "wrstandardid": {
  34969. "description": "品类",
  34970. "type": "integer"
  34971. }
  34972. }
  34973. },
  34974. "models.WrTradeDetail": {
  34975. "type": "object",
  34976. "properties": {
  34977. "accountid": {
  34978. "description": "资金账号",
  34979. "type": "integer"
  34980. },
  34981. "bannerpicurl": {
  34982. "description": "Banner图",
  34983. "type": "string"
  34984. },
  34985. "begindate": {
  34986. "description": "开始交易日(yyyymmdd)",
  34987. "type": "string"
  34988. },
  34989. "buyorsell": {
  34990. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34991. "type": "integer"
  34992. },
  34993. "chargevalue": {
  34994. "description": "手续费",
  34995. "type": "number"
  34996. },
  34997. "deliverygoodscode": {
  34998. "description": "品种代码",
  34999. "type": "string"
  35000. },
  35001. "deliverygoodsid": {
  35002. "description": "品种ID",
  35003. "type": "integer"
  35004. },
  35005. "deliverygoodsname": {
  35006. "description": "品种名称",
  35007. "type": "string"
  35008. },
  35009. "deliverymonth": {
  35010. "description": "交收月",
  35011. "type": "string"
  35012. },
  35013. "enddate": {
  35014. "description": "结束交易日(yyyymmdd)",
  35015. "type": "string"
  35016. },
  35017. "enumdicname": {
  35018. "description": "单位名称",
  35019. "type": "string"
  35020. },
  35021. "haswr": {
  35022. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35023. "type": "integer"
  35024. },
  35025. "marketid": {
  35026. "description": "市场ID",
  35027. "type": "integer"
  35028. },
  35029. "matchaccountid": {
  35030. "description": "对手账号",
  35031. "type": "integer"
  35032. },
  35033. "matchusername": {
  35034. "description": "对手方",
  35035. "type": "string"
  35036. },
  35037. "minivalue": {
  35038. "description": "现货商品最小变动值",
  35039. "type": "integer"
  35040. },
  35041. "optioncompare": {
  35042. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35043. "type": "string"
  35044. },
  35045. "thumurls": {
  35046. "description": "缩略图",
  35047. "type": "string"
  35048. },
  35049. "tradedate": {
  35050. "description": "交易日(yyyyMMdd)",
  35051. "type": "string"
  35052. },
  35053. "tradeprice": {
  35054. "description": "成交价格",
  35055. "type": "number"
  35056. },
  35057. "tradeqty": {
  35058. "description": "成交数量",
  35059. "type": "number"
  35060. },
  35061. "tradetime": {
  35062. "description": "成交时间",
  35063. "type": "string"
  35064. },
  35065. "userid": {
  35066. "description": "用户ID",
  35067. "type": "integer"
  35068. },
  35069. "warehouseid": {
  35070. "description": "仓库ID",
  35071. "type": "integer"
  35072. },
  35073. "warehousename": {
  35074. "description": "仓库名称",
  35075. "type": "string"
  35076. },
  35077. "wrfactortypeid": {
  35078. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35079. "type": "string"
  35080. },
  35081. "wrfactortypename": {
  35082. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35083. "type": "string"
  35084. },
  35085. "wrstandardcode": {
  35086. "description": "现货商品代码",
  35087. "type": "string"
  35088. },
  35089. "wrstandardid": {
  35090. "description": "现货商品ID",
  35091. "type": "integer"
  35092. },
  35093. "wrstandardname": {
  35094. "description": "商品名称",
  35095. "type": "string"
  35096. },
  35097. "wrtradedetailid": {
  35098. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35099. "type": "string"
  35100. },
  35101. "wrtradetype": {
  35102. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35103. "type": "integer"
  35104. },
  35105. "wrtypename": {
  35106. "description": "商品",
  35107. "type": "string"
  35108. }
  35109. }
  35110. },
  35111. "models.WrTradeOrderDetail": {
  35112. "type": "object",
  35113. "properties": {
  35114. "buyorsell": {
  35115. "description": "买卖方向 0-买 1-卖",
  35116. "type": "integer"
  35117. },
  35118. "goodsid": {
  35119. "description": "商品id",
  35120. "type": "integer"
  35121. },
  35122. "orderid": {
  35123. "description": "委托单号",
  35124. "type": "string"
  35125. },
  35126. "orderprice": {
  35127. "description": "期初均价",
  35128. "type": "number"
  35129. },
  35130. "orderqty": {
  35131. "description": "委托数量",
  35132. "type": "integer"
  35133. },
  35134. "userid": {
  35135. "description": "用户id",
  35136. "type": "integer"
  35137. },
  35138. "username": {
  35139. "description": "用户名称(已脱敏)",
  35140. "type": "string"
  35141. }
  35142. }
  35143. },
  35144. "models.WrTypeItem": {
  35145. "type": "object",
  35146. "properties": {
  35147. "name": {
  35148. "description": "名称",
  35149. "type": "string"
  35150. },
  35151. "value": {
  35152. "description": "值",
  35153. "type": "string"
  35154. }
  35155. }
  35156. },
  35157. "models.WrUserFriend": {
  35158. "type": "object",
  35159. "properties": {
  35160. "friendname": {
  35161. "description": "朋友名称(已脱敏)",
  35162. "type": "string"
  35163. },
  35164. "frienduserid": {
  35165. "description": "朋友id",
  35166. "type": "integer"
  35167. },
  35168. "isfriend": {
  35169. "description": "是否好友 0-不是 1-是",
  35170. "type": "integer"
  35171. },
  35172. "userid": {
  35173. "description": "用户id",
  35174. "type": "integer"
  35175. }
  35176. }
  35177. },
  35178. "models.WrUserReceiptInfo": {
  35179. "type": "object",
  35180. "properties": {
  35181. "address": {
  35182. "description": "地址[发票类型:企业]",
  35183. "type": "string"
  35184. },
  35185. "autoid": {
  35186. "description": "AutoID",
  35187. "type": "integer"
  35188. },
  35189. "contactinfo": {
  35190. "description": "联系方式",
  35191. "type": "string"
  35192. },
  35193. "idnum": {
  35194. "description": "身份证号码[发票类型:个人]",
  35195. "type": "string"
  35196. },
  35197. "isdefault": {
  35198. "description": "是否默认地址 - 0:否 1:是",
  35199. "type": "integer"
  35200. },
  35201. "receiptaccount": {
  35202. "description": "发票帐号[发票类型:企业]",
  35203. "type": "string"
  35204. },
  35205. "receiptbank": {
  35206. "description": "发票开户行[发票类型:企业]",
  35207. "type": "string"
  35208. },
  35209. "receipttype": {
  35210. "description": "发票类型 - 1:个人 2:企业",
  35211. "type": "integer"
  35212. },
  35213. "taxpayerid": {
  35214. "description": "纳税人识别号",
  35215. "type": "string"
  35216. },
  35217. "userid": {
  35218. "description": "用户ID",
  35219. "type": "integer"
  35220. },
  35221. "username": {
  35222. "description": "户名(个人姓名或企业名称)",
  35223. "type": "string"
  35224. }
  35225. }
  35226. },
  35227. "models.Wrtradetradequote": {
  35228. "type": "object",
  35229. "properties": {
  35230. "begindate": {
  35231. "description": "开始日期(结果含开始日期) yyyymmdd",
  35232. "type": "string"
  35233. },
  35234. "buyaccountid": {
  35235. "description": "买方账号ID",
  35236. "type": "integer"
  35237. },
  35238. "buyuserid": {
  35239. "description": "买方用户ID",
  35240. "type": "integer"
  35241. },
  35242. "deliverygoodsid": {
  35243. "description": "现货品种ID",
  35244. "type": "integer"
  35245. },
  35246. "enddate": {
  35247. "description": "结束日期(结果含结束日期) yyyymmdd",
  35248. "type": "string"
  35249. },
  35250. "marketid": {
  35251. "description": "市场ID",
  35252. "type": "integer"
  35253. },
  35254. "sellaccountid": {
  35255. "description": "卖方账号ID",
  35256. "type": "integer"
  35257. },
  35258. "selluserid": {
  35259. "description": "卖方用户ID",
  35260. "type": "integer"
  35261. },
  35262. "tradeamount": {
  35263. "description": "成交金额",
  35264. "type": "number"
  35265. },
  35266. "tradedate": {
  35267. "description": "交易日(yyyyMMdd)",
  35268. "type": "string"
  35269. },
  35270. "tradeprice": {
  35271. "description": "成交价格",
  35272. "type": "number"
  35273. },
  35274. "tradeqty": {
  35275. "description": "成交数量",
  35276. "type": "integer"
  35277. },
  35278. "tradetime": {
  35279. "description": "成交时间",
  35280. "type": "string"
  35281. },
  35282. "wrfactortypeid": {
  35283. "description": "仓单要素类型ID",
  35284. "type": "integer"
  35285. },
  35286. "wrstandardid": {
  35287. "description": "现货商品ID",
  35288. "type": "integer"
  35289. },
  35290. "wrtradedetailid": {
  35291. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35292. "type": "string"
  35293. }
  35294. }
  35295. },
  35296. "models.XHBRAND": {
  35297. "type": "object",
  35298. "properties": {
  35299. "brandid": {
  35300. "description": "品牌id",
  35301. "type": "integer"
  35302. },
  35303. "brandname": {
  35304. "description": "品牌名称",
  35305. "type": "string"
  35306. },
  35307. "isvalid": {
  35308. "description": "是否有效 0-无效 1-有效",
  35309. "type": "integer"
  35310. }
  35311. }
  35312. },
  35313. "models.XHDeliveryGoods": {
  35314. "type": "object",
  35315. "properties": {
  35316. "areauserid": {
  35317. "description": "所属机构",
  35318. "type": "integer"
  35319. },
  35320. "bdlst": {
  35321. "description": "品牌列表",
  35322. "type": "array",
  35323. "items": {
  35324. "$ref": "#/definitions/models.XHBRAND"
  35325. }
  35326. },
  35327. "deliverygoodscode": {
  35328. "description": "现货品种代码",
  35329. "type": "string"
  35330. },
  35331. "deliverygoodsid": {
  35332. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35333. "type": "integer"
  35334. },
  35335. "deliverygoodsname": {
  35336. "description": "现货品种名称",
  35337. "type": "string"
  35338. },
  35339. "dgstatus": {
  35340. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  35341. "type": "integer"
  35342. },
  35343. "filterSubEmpty": {
  35344. "description": "过滤下级为空的",
  35345. "type": "integer"
  35346. },
  35347. "isvalid": {
  35348. "description": "是否有效 - 0:无效 1:有效",
  35349. "type": "integer"
  35350. },
  35351. "remark": {
  35352. "description": "备注",
  35353. "type": "string"
  35354. },
  35355. "unitid": {
  35356. "description": "单位id(目前看,数据库中是空值)",
  35357. "type": "integer"
  35358. },
  35359. "wdlst": {
  35360. "description": "品类(现货商品)列表",
  35361. "type": "array",
  35362. "items": {
  35363. "$ref": "#/definitions/models.XHWrstandard"
  35364. }
  35365. }
  35366. }
  35367. },
  35368. "models.XHMiddleGoods": {
  35369. "type": "object",
  35370. "properties": {
  35371. "GPLST": {
  35372. "description": "期货品种列表",
  35373. "type": "array",
  35374. "items": {
  35375. "$ref": "#/definitions/models.TBGoodsGroup"
  35376. }
  35377. },
  35378. "convertratio": {
  35379. "description": "拆算系数",
  35380. "type": "number"
  35381. },
  35382. "costratio": {
  35383. "description": "成本权重",
  35384. "type": "number"
  35385. },
  35386. "deliverygoodsid": {
  35387. "description": "现货商品id",
  35388. "type": "integer"
  35389. },
  35390. "enumdicname": {
  35391. "description": "单位名称",
  35392. "type": "string"
  35393. },
  35394. "middlegoodscode": {
  35395. "description": "套保品种代码",
  35396. "type": "string"
  35397. },
  35398. "middlegoodsid": {
  35399. "description": "套保品种id",
  35400. "type": "integer"
  35401. },
  35402. "middlegoodsname": {
  35403. "description": "套保品种名称",
  35404. "type": "string"
  35405. },
  35406. "unitid": {
  35407. "description": "单位id",
  35408. "type": "integer"
  35409. }
  35410. }
  35411. },
  35412. "models.XHWrstandard": {
  35413. "type": "object",
  35414. "properties": {
  35415. "bannerpicurl": {
  35416. "description": "banner图",
  35417. "type": "string"
  35418. },
  35419. "deliverygoodsid": {
  35420. "description": "品种ID",
  35421. "type": "integer"
  35422. },
  35423. "enumdicname": {
  35424. "description": "单位名称",
  35425. "type": "string"
  35426. },
  35427. "mglst": {
  35428. "description": "套保品列表",
  35429. "type": "array",
  35430. "items": {
  35431. "$ref": "#/definitions/models.XHMiddleGoods"
  35432. }
  35433. },
  35434. "pictureurls": {
  35435. "description": "详情图片(逗号分隔)",
  35436. "type": "string"
  35437. },
  35438. "thumurls": {
  35439. "description": "缩略图片(1:1)(逗号分隔)",
  35440. "type": "string"
  35441. },
  35442. "unitid": {
  35443. "description": "单位id",
  35444. "type": "integer"
  35445. },
  35446. "vatrate": {
  35447. "description": "增值税率",
  35448. "type": "number"
  35449. },
  35450. "wrstandardcode": {
  35451. "description": "现货商品代码",
  35452. "type": "string"
  35453. },
  35454. "wrstandardid": {
  35455. "description": "现货商品ID(SEQ_WRSTANDARD)",
  35456. "type": "integer"
  35457. },
  35458. "wrstandardname": {
  35459. "description": "现货商品名称",
  35460. "type": "string"
  35461. }
  35462. }
  35463. },
  35464. "models.XhcpSellBackApplyEx": {
  35465. "type": "object",
  35466. "required": [
  35467. "userid"
  35468. ],
  35469. "properties": {
  35470. "applyremark": {
  35471. "description": "申请备注",
  35472. "type": "string"
  35473. },
  35474. "expirytype": {
  35475. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  35476. "type": "integer"
  35477. },
  35478. "goodsspec": {
  35479. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  35480. "type": "integer"
  35481. },
  35482. "holeflag": {
  35483. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  35484. "type": "integer"
  35485. },
  35486. "isunopened": {
  35487. "description": "是否原封 - 1:否 2:是",
  35488. "type": "integer"
  35489. },
  35490. "mpflag": {
  35491. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  35492. "type": "integer"
  35493. },
  35494. "openflag": {
  35495. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  35496. "type": "integer"
  35497. },
  35498. "phonenum": {
  35499. "description": "联系电话",
  35500. "type": "string"
  35501. },
  35502. "userid": {
  35503. "description": "所属用户ID",
  35504. "type": "integer"
  35505. },
  35506. "zpflag": {
  35507. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  35508. "type": "integer"
  35509. }
  35510. }
  35511. },
  35512. "models.Xhcpsellbackapply": {
  35513. "type": "object",
  35514. "required": [
  35515. "userid"
  35516. ],
  35517. "properties": {
  35518. "applyid": {
  35519. "description": "申请人",
  35520. "type": "integer"
  35521. },
  35522. "applyremark": {
  35523. "description": "申请备注",
  35524. "type": "string"
  35525. },
  35526. "applysrc": {
  35527. "description": "申请来源 - 1:管理端 2:终端",
  35528. "type": "integer"
  35529. },
  35530. "applystatus": {
  35531. "description": "申请状态 - 1:待确认 2:已处理",
  35532. "type": "integer"
  35533. },
  35534. "applytime": {
  35535. "description": "申请时间",
  35536. "type": "string"
  35537. },
  35538. "auditremark": {
  35539. "description": "审核备注",
  35540. "type": "string"
  35541. },
  35542. "auditsrc": {
  35543. "description": "审核来源 - 1:管理端 2:终端",
  35544. "type": "integer"
  35545. },
  35546. "expirytype": {
  35547. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  35548. "type": "integer"
  35549. },
  35550. "goodsspec": {
  35551. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  35552. "type": "integer"
  35553. },
  35554. "holeflag": {
  35555. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  35556. "type": "integer"
  35557. },
  35558. "isunopened": {
  35559. "description": "是否原封 - 1:否 2:是",
  35560. "type": "integer"
  35561. },
  35562. "mpflag": {
  35563. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  35564. "type": "integer"
  35565. },
  35566. "openflag": {
  35567. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  35568. "type": "integer"
  35569. },
  35570. "phonenum": {
  35571. "description": "联系电话",
  35572. "type": "string"
  35573. },
  35574. "sellbackapplyid": {
  35575. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  35576. "type": "string"
  35577. },
  35578. "userid": {
  35579. "description": "所属用户ID",
  35580. "type": "integer"
  35581. },
  35582. "zpflag": {
  35583. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  35584. "type": "integer"
  35585. }
  35586. }
  35587. },
  35588. "order.QueryHisTradeDetailRsp": {
  35589. "type": "object",
  35590. "required": [
  35591. "accountid",
  35592. "buyorsell",
  35593. "goodsid",
  35594. "histradedate",
  35595. "marketid",
  35596. "memberuserid",
  35597. "orderid",
  35598. "tradeamount",
  35599. "tradedate",
  35600. "tradeid",
  35601. "tradeprice",
  35602. "tradeqty",
  35603. "tradetime"
  35604. ],
  35605. "properties": {
  35606. "accountid": {
  35607. "description": "账户ID[报价币种]",
  35608. "type": "integer"
  35609. },
  35610. "advanceratio": {
  35611. "description": "首付比率",
  35612. "type": "number"
  35613. },
  35614. "buildtype": {
  35615. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35616. "type": "integer"
  35617. },
  35618. "buyorsell": {
  35619. "description": "方向 - 0:买 1:卖",
  35620. "type": "integer"
  35621. },
  35622. "charge": {
  35623. "description": "手续费",
  35624. "type": "number"
  35625. },
  35626. "closecharge": {
  35627. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35628. "type": "number"
  35629. },
  35630. "closeexchagechargevalue": {
  35631. "description": "平仓交易所手续费设置值",
  35632. "type": "number"
  35633. },
  35634. "closefeealgorithm": {
  35635. "description": "平仓手续费收取方式 1:比率 2:固定",
  35636. "type": "integer"
  35637. },
  35638. "closememberchargevalue": {
  35639. "description": "平仓会员手续费设置值",
  35640. "type": "number"
  35641. },
  35642. "closepl": {
  35643. "description": "平仓盈亏",
  35644. "type": "number"
  35645. },
  35646. "closepl2": {
  35647. "description": "平仓盈亏[逐笔]",
  35648. "type": "number"
  35649. },
  35650. "closeqty": {
  35651. "description": "平仓数量(先建后平操作 需要记录)",
  35652. "type": "number"
  35653. },
  35654. "creditamount": {
  35655. "description": "授信金额",
  35656. "type": "number"
  35657. },
  35658. "decimalplace": {
  35659. "description": "商品报价小数位",
  35660. "type": "integer"
  35661. },
  35662. "enumdicname": {
  35663. "description": "单位名称",
  35664. "type": "string"
  35665. },
  35666. "gcaccountid": {
  35667. "description": "账户ID[合约币种]",
  35668. "type": "integer"
  35669. },
  35670. "goodscode": {
  35671. "description": "商品代码",
  35672. "type": "string"
  35673. },
  35674. "goodsid": {
  35675. "description": "商品ID",
  35676. "type": "integer"
  35677. },
  35678. "goodsname": {
  35679. "description": "商品名称",
  35680. "type": "string"
  35681. },
  35682. "goodunitid": {
  35683. "description": "商品单位id",
  35684. "type": "integer"
  35685. },
  35686. "histradedate": {
  35687. "description": "历史交易日",
  35688. "type": "string"
  35689. },
  35690. "intclosepl": {
  35691. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35692. "type": "integer"
  35693. },
  35694. "isconfirmexercise": {
  35695. "description": "是否确认行权- 0:否 1:是",
  35696. "type": "integer"
  35697. },
  35698. "ismain": {
  35699. "description": "是否主单 - 0:不是 1:是",
  35700. "type": "integer"
  35701. },
  35702. "ispreexercise": {
  35703. "description": "是否预申报- 0:否 1:是",
  35704. "type": "integer"
  35705. },
  35706. "isreckoned": {
  35707. "description": "是否结算 - 0:未结算 1:已结算",
  35708. "type": "integer"
  35709. },
  35710. "isvaliddata": {
  35711. "description": "是否有效 - 0:无效 1:有效",
  35712. "type": "integer"
  35713. },
  35714. "listingselecttype": {
  35715. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35716. "type": "integer"
  35717. },
  35718. "marketid": {
  35719. "description": "市场ID",
  35720. "type": "integer"
  35721. },
  35722. "marketname": {
  35723. "description": "市场名称",
  35724. "type": "string"
  35725. },
  35726. "matchaccountid": {
  35727. "description": "对手账号id",
  35728. "type": "integer"
  35729. },
  35730. "memberuserid": {
  35731. "description": "会员id 个人投资者 需要填写",
  35732. "type": "integer"
  35733. },
  35734. "opencharge": {
  35735. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35736. "type": "number"
  35737. },
  35738. "openexchagechargevalue": {
  35739. "description": "建仓交易所手续费设置值",
  35740. "type": "number"
  35741. },
  35742. "openfeealgorithm": {
  35743. "description": "建仓手续费收取方式 1:比率 2:固定",
  35744. "type": "integer"
  35745. },
  35746. "openmemberchargevalue": {
  35747. "description": "建仓会员手续费设置值",
  35748. "type": "number"
  35749. },
  35750. "openqty": {
  35751. "description": "开仓数量(先建后平操作 需要记录)",
  35752. "type": "number"
  35753. },
  35754. "optiontype": {
  35755. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35756. "type": "integer"
  35757. },
  35758. "orderid": {
  35759. "description": "委托单号",
  35760. "type": "string"
  35761. },
  35762. "payamount": {
  35763. "description": "支付金额(付款金额)",
  35764. "type": "number"
  35765. },
  35766. "performanceplanid": {
  35767. "description": "履约计划ID[期权]",
  35768. "type": "integer"
  35769. },
  35770. "performancestatus": {
  35771. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35772. "type": "integer"
  35773. },
  35774. "preexerciseprice": {
  35775. "description": "预申报价格",
  35776. "type": "number"
  35777. },
  35778. "premium": {
  35779. "description": "权利金 - [持仓单的权利金]",
  35780. "type": "number"
  35781. },
  35782. "qtydecimalplace": {
  35783. "description": "商品报价小数位",
  35784. "type": "integer"
  35785. },
  35786. "recvamount": {
  35787. "description": "到账金额 = 成交金额 - 手续费",
  35788. "type": "number"
  35789. },
  35790. "relatedouttradeid": {
  35791. "description": "关联外部成交单ID",
  35792. "type": "integer"
  35793. },
  35794. "status": {
  35795. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35796. "type": "integer"
  35797. },
  35798. "totalamount": {
  35799. "description": "订单总额 = 成交金额 + 手续费",
  35800. "type": "number"
  35801. },
  35802. "tradeamount": {
  35803. "description": "成交金额[账户币种,用于所有权]",
  35804. "type": "number"
  35805. },
  35806. "tradedate": {
  35807. "description": "交易日(yyyyMMdd)",
  35808. "type": "string"
  35809. },
  35810. "tradeid": {
  35811. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35812. "type": "string"
  35813. },
  35814. "trademode": {
  35815. "description": "交易模式",
  35816. "type": "integer"
  35817. },
  35818. "tradeprice": {
  35819. "description": "成交价格",
  35820. "type": "number"
  35821. },
  35822. "tradeproperty": {
  35823. "description": "交易属性",
  35824. "type": "integer"
  35825. },
  35826. "tradeqty": {
  35827. "description": "成交数量",
  35828. "type": "number"
  35829. },
  35830. "tradetime": {
  35831. "description": "成交时间",
  35832. "type": "string"
  35833. },
  35834. "tradetype": {
  35835. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35836. "type": "integer"
  35837. }
  35838. }
  35839. },
  35840. "order.QueryHisTradeOrderDetailRsp": {
  35841. "type": "object",
  35842. "required": [
  35843. "accountid",
  35844. "buildtype",
  35845. "buyorsell",
  35846. "goodsid",
  35847. "histradedate",
  35848. "marketid",
  35849. "memberuserid",
  35850. "operatetype",
  35851. "orderid",
  35852. "orderqty",
  35853. "ordertime",
  35854. "pricemode",
  35855. "tradedate",
  35856. "validtype"
  35857. ],
  35858. "properties": {
  35859. "accountid": {
  35860. "description": "账户ID[报价币种]",
  35861. "type": "integer"
  35862. },
  35863. "buildtype": {
  35864. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35865. "type": "integer"
  35866. },
  35867. "buyorsell": {
  35868. "description": "买卖 - 0:买 1:卖",
  35869. "type": "integer"
  35870. },
  35871. "cancelorderid": {
  35872. "description": "撤单单号(撤单时填写)",
  35873. "type": "string"
  35874. },
  35875. "cancelqty": {
  35876. "description": "撤单数量",
  35877. "type": "number"
  35878. },
  35879. "clientordertime": {
  35880. "description": "客户端委托时间",
  35881. "type": "string"
  35882. },
  35883. "clientticket": {
  35884. "description": "客户端流水号",
  35885. "type": "string"
  35886. },
  35887. "clienttype": {
  35888. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35889. "type": "integer"
  35890. },
  35891. "closeexchagechargevalue": {
  35892. "description": "平仓交易所手续费设置值",
  35893. "type": "number"
  35894. },
  35895. "closefeealgorithm": {
  35896. "description": "平仓手续费收取方式 1:比率 2:固定",
  35897. "type": "integer"
  35898. },
  35899. "closefreezecharge": {
  35900. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35901. "type": "number"
  35902. },
  35903. "closememberchargevalue": {
  35904. "description": "平仓会员手续费设置值",
  35905. "type": "number"
  35906. },
  35907. "closeqty": {
  35908. "description": "平仓数量(先建后平操作 需要记录)",
  35909. "type": "number"
  35910. },
  35911. "closetradeqty": {
  35912. "description": "平仓成交数量(先建后平操作,需要记录)",
  35913. "type": "number"
  35914. },
  35915. "closeunfreezecharge": {
  35916. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35917. "type": "number"
  35918. },
  35919. "decimalplace": {
  35920. "description": "商品报价小数位",
  35921. "type": "integer"
  35922. },
  35923. "delistingtype": {
  35924. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35925. "type": "integer"
  35926. },
  35927. "enumdicname": {
  35928. "description": "单位名称",
  35929. "type": "string"
  35930. },
  35931. "freezecharge": {
  35932. "description": "冻结手续费",
  35933. "type": "number"
  35934. },
  35935. "freezemargin": {
  35936. "description": "冻结保证金(冻结交易金额)",
  35937. "type": "number"
  35938. },
  35939. "gcaccountid": {
  35940. "description": "账户ID[合约币种]",
  35941. "type": "integer"
  35942. },
  35943. "goodscode": {
  35944. "description": "商品代码",
  35945. "type": "string"
  35946. },
  35947. "goodsid": {
  35948. "description": "商品ID",
  35949. "type": "integer"
  35950. },
  35951. "goodsname": {
  35952. "description": "商品名称",
  35953. "type": "string"
  35954. },
  35955. "goodunitid": {
  35956. "description": "商品单位id",
  35957. "type": "integer"
  35958. },
  35959. "histradedate": {
  35960. "description": "历史交易日",
  35961. "type": "string"
  35962. },
  35963. "isconfirmexercise": {
  35964. "description": "是否确认行权- 0:否 1:是",
  35965. "type": "integer"
  35966. },
  35967. "ispreexercise": {
  35968. "description": "是否预申报- 0:否 1:是",
  35969. "type": "integer"
  35970. },
  35971. "isvaliddata": {
  35972. "description": "是否有效 - 0:无效 1:有效",
  35973. "type": "integer"
  35974. },
  35975. "listingselecttype": {
  35976. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35977. "type": "integer"
  35978. },
  35979. "marginalgorithm": {
  35980. "description": "保证金收取方式 1:比率 2:固定",
  35981. "type": "integer"
  35982. },
  35983. "marginvalue": {
  35984. "description": "即市保证金设置值",
  35985. "type": "number"
  35986. },
  35987. "marketid": {
  35988. "description": "市场ID",
  35989. "type": "integer"
  35990. },
  35991. "marketmaxsub": {
  35992. "description": "市价最大偏移范围",
  35993. "type": "number"
  35994. },
  35995. "marketname": {
  35996. "description": "市场名称",
  35997. "type": "string"
  35998. },
  35999. "memberuserid": {
  36000. "description": "所属会员UserID",
  36001. "type": "integer"
  36002. },
  36003. "openexchagechargevalue": {
  36004. "description": "建仓交易所手续费设置值",
  36005. "type": "number"
  36006. },
  36007. "openfeealgorithm": {
  36008. "description": "建仓手续费收取方式 1:比率 2:固定",
  36009. "type": "integer"
  36010. },
  36011. "openfreezecharge": {
  36012. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36013. "type": "number"
  36014. },
  36015. "openmemberchargevalue": {
  36016. "description": "建仓会员手续费设置值",
  36017. "type": "number"
  36018. },
  36019. "openqty": {
  36020. "description": "开仓数量(先建后平操作,需要记录)",
  36021. "type": "number"
  36022. },
  36023. "opentradeqty": {
  36024. "description": "开仓成交数量(先建后平操作,需要记录)",
  36025. "type": "number"
  36026. },
  36027. "openunfreezecharge": {
  36028. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36029. "type": "number"
  36030. },
  36031. "operatetype": {
  36032. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36033. "type": "integer"
  36034. },
  36035. "operatorid": {
  36036. "description": "登录账号(LoginID)",
  36037. "type": "integer"
  36038. },
  36039. "optiontype": {
  36040. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36041. "type": "integer"
  36042. },
  36043. "orderid": {
  36044. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36045. "type": "string"
  36046. },
  36047. "orderprice": {
  36048. "description": "委托价格",
  36049. "type": "number"
  36050. },
  36051. "orderqty": {
  36052. "description": "委托数量",
  36053. "type": "number"
  36054. },
  36055. "ordersrc": {
  36056. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36057. "type": "integer"
  36058. },
  36059. "orderstatus": {
  36060. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36061. "type": "integer"
  36062. },
  36063. "ordertime": {
  36064. "description": "委托时间",
  36065. "type": "string"
  36066. },
  36067. "preexerciseprice": {
  36068. "description": "预申报价格",
  36069. "type": "number"
  36070. },
  36071. "premium": {
  36072. "description": "权利金",
  36073. "type": "number"
  36074. },
  36075. "preorderid": {
  36076. "description": "关联预埋单号(止盈止损单时填写)",
  36077. "type": "string"
  36078. },
  36079. "pricemode": {
  36080. "description": "取价方式 - 1:市价 2: 限价",
  36081. "type": "integer"
  36082. },
  36083. "qtydecimalplace": {
  36084. "description": "成交量小数位",
  36085. "type": "integer"
  36086. },
  36087. "quoteid": {
  36088. "description": "报价单ID",
  36089. "type": "integer"
  36090. },
  36091. "relatedid": {
  36092. "description": "关联单号(交割单)",
  36093. "type": "string"
  36094. },
  36095. "retcode": {
  36096. "description": "错误代码",
  36097. "type": "integer"
  36098. },
  36099. "sessionid": {
  36100. "description": "会话ID",
  36101. "type": "integer"
  36102. },
  36103. "tradedate": {
  36104. "description": "交易日(yyyyMMdd)",
  36105. "type": "string"
  36106. },
  36107. "trademode": {
  36108. "description": "交易模式",
  36109. "type": "integer"
  36110. },
  36111. "tradeproperty": {
  36112. "description": "交易属性",
  36113. "type": "integer"
  36114. },
  36115. "tradeqty": {
  36116. "description": "成交数量",
  36117. "type": "number"
  36118. },
  36119. "unfreezecharge": {
  36120. "description": "解冻手续费",
  36121. "type": "number"
  36122. },
  36123. "unfreezemargin": {
  36124. "description": "解冻保证金",
  36125. "type": "number"
  36126. },
  36127. "updatetime": {
  36128. "description": "更新时间",
  36129. "type": "string"
  36130. },
  36131. "uuid": {
  36132. "description": "发起端唯一id",
  36133. "type": "string"
  36134. },
  36135. "validtime": {
  36136. "description": "有效期限",
  36137. "type": "string"
  36138. },
  36139. "validtype": {
  36140. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36141. "type": "integer"
  36142. },
  36143. "volumetype": {
  36144. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36145. "type": "integer"
  36146. }
  36147. }
  36148. },
  36149. "order.QueryTradeDetailRsp": {
  36150. "type": "object",
  36151. "required": [
  36152. "accountid",
  36153. "buyorsell",
  36154. "goodsid",
  36155. "marketid",
  36156. "memberuserid",
  36157. "orderid",
  36158. "tradeamount",
  36159. "tradedate",
  36160. "tradeid",
  36161. "tradeprice",
  36162. "tradeqty",
  36163. "tradetime"
  36164. ],
  36165. "properties": {
  36166. "accountid": {
  36167. "description": "账户ID[报价币种]",
  36168. "type": "integer"
  36169. },
  36170. "advanceratio": {
  36171. "description": "首付比率",
  36172. "type": "number"
  36173. },
  36174. "buildtype": {
  36175. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36176. "type": "integer"
  36177. },
  36178. "buyorsell": {
  36179. "description": "方向 - 0:买 1:卖",
  36180. "type": "integer"
  36181. },
  36182. "charge": {
  36183. "description": "手续费",
  36184. "type": "number"
  36185. },
  36186. "closecharge": {
  36187. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36188. "type": "number"
  36189. },
  36190. "closeexchagechargevalue": {
  36191. "description": "平仓交易所手续费设置值",
  36192. "type": "number"
  36193. },
  36194. "closefeealgorithm": {
  36195. "description": "平仓手续费收取方式 1:比率 2:固定",
  36196. "type": "integer"
  36197. },
  36198. "closememberchargevalue": {
  36199. "description": "平仓会员手续费设置值",
  36200. "type": "number"
  36201. },
  36202. "closepl": {
  36203. "description": "平仓盈亏",
  36204. "type": "number"
  36205. },
  36206. "closepl2": {
  36207. "description": "平仓盈亏[逐笔]",
  36208. "type": "number"
  36209. },
  36210. "closeqty": {
  36211. "description": "平仓数量(先建后平操作 需要记录)",
  36212. "type": "number"
  36213. },
  36214. "creditamount": {
  36215. "description": "授信金额",
  36216. "type": "number"
  36217. },
  36218. "decimalplace": {
  36219. "description": "商品报价小数位",
  36220. "type": "integer"
  36221. },
  36222. "enumdicname": {
  36223. "description": "单位名称",
  36224. "type": "string"
  36225. },
  36226. "gcaccountid": {
  36227. "description": "账户ID[合约币种]",
  36228. "type": "integer"
  36229. },
  36230. "goodscode": {
  36231. "description": "商品代码",
  36232. "type": "string"
  36233. },
  36234. "goodsid": {
  36235. "description": "商品ID",
  36236. "type": "integer"
  36237. },
  36238. "goodsname": {
  36239. "description": "商品名称",
  36240. "type": "string"
  36241. },
  36242. "goodunitid": {
  36243. "description": "商品单位id",
  36244. "type": "integer"
  36245. },
  36246. "intclosepl": {
  36247. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36248. "type": "integer"
  36249. },
  36250. "isconfirmexercise": {
  36251. "description": "是否确认行权- 0:否 1:是",
  36252. "type": "integer"
  36253. },
  36254. "ismain": {
  36255. "description": "是否主单 - 0:不是 1:是",
  36256. "type": "integer"
  36257. },
  36258. "ispreexercise": {
  36259. "description": "是否预申报- 0:否 1:是",
  36260. "type": "integer"
  36261. },
  36262. "isreckoned": {
  36263. "description": "是否结算 - 0:未结算 1:已结算",
  36264. "type": "integer"
  36265. },
  36266. "listingselecttype": {
  36267. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36268. "type": "integer"
  36269. },
  36270. "marketid": {
  36271. "description": "市场ID",
  36272. "type": "integer"
  36273. },
  36274. "marketname": {
  36275. "description": "市场名称",
  36276. "type": "string"
  36277. },
  36278. "matchaccountid": {
  36279. "description": "对手账号id",
  36280. "type": "integer"
  36281. },
  36282. "memberuserid": {
  36283. "description": "会员id 个人投资者 需要填写",
  36284. "type": "integer"
  36285. },
  36286. "opencharge": {
  36287. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36288. "type": "number"
  36289. },
  36290. "openexchagechargevalue": {
  36291. "description": "建仓交易所手续费设置值",
  36292. "type": "number"
  36293. },
  36294. "openfeealgorithm": {
  36295. "description": "建仓手续费收取方式 1:比率 2:固定",
  36296. "type": "integer"
  36297. },
  36298. "openmemberchargevalue": {
  36299. "description": "建仓会员手续费设置值",
  36300. "type": "number"
  36301. },
  36302. "openqty": {
  36303. "description": "开仓数量(先建后平操作 需要记录)",
  36304. "type": "number"
  36305. },
  36306. "optiontype": {
  36307. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36308. "type": "integer"
  36309. },
  36310. "orderid": {
  36311. "description": "委托单号",
  36312. "type": "string"
  36313. },
  36314. "payamount": {
  36315. "description": "支付金额(付款金额)",
  36316. "type": "number"
  36317. },
  36318. "performanceplanid": {
  36319. "description": "履约计划ID[期权]",
  36320. "type": "integer"
  36321. },
  36322. "performancestatus": {
  36323. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36324. "type": "integer"
  36325. },
  36326. "preexerciseprice": {
  36327. "description": "预申报价格",
  36328. "type": "number"
  36329. },
  36330. "premium": {
  36331. "description": "权利金 - [持仓单的权利金]",
  36332. "type": "number"
  36333. },
  36334. "qtydecimalplace": {
  36335. "description": "商品报价小数位",
  36336. "type": "integer"
  36337. },
  36338. "recvamount": {
  36339. "description": "到账金额 = 成交金额 - 手续费",
  36340. "type": "number"
  36341. },
  36342. "relatedouttradeid": {
  36343. "description": "关联外部成交单ID",
  36344. "type": "integer"
  36345. },
  36346. "status": {
  36347. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36348. "type": "integer"
  36349. },
  36350. "totalamount": {
  36351. "description": "订单总额 = 成交金额 + 手续费",
  36352. "type": "number"
  36353. },
  36354. "tradeamount": {
  36355. "description": "成交金额[账户币种,用于所有权]",
  36356. "type": "number"
  36357. },
  36358. "tradedate": {
  36359. "description": "交易日(yyyyMMdd)",
  36360. "type": "string"
  36361. },
  36362. "tradeid": {
  36363. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36364. "type": "string"
  36365. },
  36366. "trademode": {
  36367. "description": "交易模式",
  36368. "type": "integer"
  36369. },
  36370. "tradeprice": {
  36371. "description": "成交价格",
  36372. "type": "number"
  36373. },
  36374. "tradeproperty": {
  36375. "description": "交易属性",
  36376. "type": "integer"
  36377. },
  36378. "tradeqty": {
  36379. "description": "成交数量",
  36380. "type": "number"
  36381. },
  36382. "tradetime": {
  36383. "description": "成交时间",
  36384. "type": "string"
  36385. },
  36386. "tradetype": {
  36387. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36388. "type": "integer"
  36389. }
  36390. }
  36391. },
  36392. "order.QueryTradeOrderDetailRsp": {
  36393. "type": "object",
  36394. "required": [
  36395. "accountid",
  36396. "buildtype",
  36397. "buyorsell",
  36398. "goodsid",
  36399. "marketid",
  36400. "operatetype",
  36401. "orderqty",
  36402. "ordertime",
  36403. "pricemode",
  36404. "tradedate",
  36405. "validtype"
  36406. ],
  36407. "properties": {
  36408. "accountid": {
  36409. "description": "账户ID[报价币种]",
  36410. "type": "integer"
  36411. },
  36412. "buildtype": {
  36413. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36414. "type": "integer"
  36415. },
  36416. "buyorsell": {
  36417. "description": "买卖 - 0:买 1:卖",
  36418. "type": "integer"
  36419. },
  36420. "cancelorderid": {
  36421. "description": "撤单单号(撤单时填写)",
  36422. "type": "string"
  36423. },
  36424. "cancelqty": {
  36425. "description": "撤单数量",
  36426. "type": "number"
  36427. },
  36428. "clienttype": {
  36429. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36430. "type": "integer"
  36431. },
  36432. "closefreezecharge": {
  36433. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36434. "type": "number"
  36435. },
  36436. "closeqty": {
  36437. "description": "平仓数量(先建后平操作 需要记录)",
  36438. "type": "number"
  36439. },
  36440. "closetradeqty": {
  36441. "description": "平仓成交数量(先建后平操作,需要记录)",
  36442. "type": "number"
  36443. },
  36444. "closeunfreezecharge": {
  36445. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36446. "type": "number"
  36447. },
  36448. "decimalplace": {
  36449. "description": "商品报价小数位",
  36450. "type": "integer"
  36451. },
  36452. "delistingtype": {
  36453. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36454. "type": "integer"
  36455. },
  36456. "enableqty": {
  36457. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  36458. "type": "number"
  36459. },
  36460. "enumdicname": {
  36461. "description": "单位名称",
  36462. "type": "string"
  36463. },
  36464. "freezecharge": {
  36465. "description": "冻结手续费",
  36466. "type": "number"
  36467. },
  36468. "freezemargin": {
  36469. "description": "冻结保证金(冻结交易金额)",
  36470. "type": "number"
  36471. },
  36472. "goodscode": {
  36473. "description": "商品代码",
  36474. "type": "string"
  36475. },
  36476. "goodsid": {
  36477. "description": "商品ID",
  36478. "type": "integer"
  36479. },
  36480. "goodsname": {
  36481. "description": "商品名称",
  36482. "type": "string"
  36483. },
  36484. "goodunitid": {
  36485. "description": "商品单位id",
  36486. "type": "integer"
  36487. },
  36488. "listingselecttype": {
  36489. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36490. "type": "integer"
  36491. },
  36492. "marketid": {
  36493. "description": "市场ID",
  36494. "type": "integer"
  36495. },
  36496. "marketname": {
  36497. "description": "市场名称",
  36498. "type": "string"
  36499. },
  36500. "openfreezecharge": {
  36501. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36502. "type": "number"
  36503. },
  36504. "openqty": {
  36505. "description": "开仓数量(先建后平操作,需要记录)",
  36506. "type": "number"
  36507. },
  36508. "opentradeqty": {
  36509. "description": "开仓成交数量(先建后平操作,需要记录)",
  36510. "type": "number"
  36511. },
  36512. "openunfreezecharge": {
  36513. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36514. "type": "number"
  36515. },
  36516. "operatetype": {
  36517. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36518. "type": "integer"
  36519. },
  36520. "operatorid": {
  36521. "description": "登录账号(LoginID)",
  36522. "type": "integer"
  36523. },
  36524. "orderid": {
  36525. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36526. "type": "string"
  36527. },
  36528. "orderprice": {
  36529. "description": "委托价格",
  36530. "type": "number"
  36531. },
  36532. "orderqty": {
  36533. "description": "委托数量",
  36534. "type": "number"
  36535. },
  36536. "ordersrc": {
  36537. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36538. "type": "integer"
  36539. },
  36540. "orderstatus": {
  36541. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36542. "type": "integer"
  36543. },
  36544. "ordertime": {
  36545. "description": "委托时间",
  36546. "type": "string"
  36547. },
  36548. "preorderid": {
  36549. "description": "关联预埋单号(止盈止损单时填写)",
  36550. "type": "string"
  36551. },
  36552. "pricemode": {
  36553. "description": "取价方式 - 1:市价 2: 限价",
  36554. "type": "integer"
  36555. },
  36556. "qtydecimalplace": {
  36557. "description": "商品报价小数位",
  36558. "type": "integer"
  36559. },
  36560. "relatedid": {
  36561. "description": "关联单号(交割单)",
  36562. "type": "string"
  36563. },
  36564. "tradedate": {
  36565. "description": "交易日(yyyyMMdd)",
  36566. "type": "string"
  36567. },
  36568. "trademode": {
  36569. "description": "交易模式",
  36570. "type": "integer"
  36571. },
  36572. "tradeqty": {
  36573. "description": "成交数量",
  36574. "type": "number"
  36575. },
  36576. "unfreezecharge": {
  36577. "description": "解冻手续费",
  36578. "type": "number"
  36579. },
  36580. "unfreezemargin": {
  36581. "description": "解冻保证金",
  36582. "type": "number"
  36583. },
  36584. "validtime": {
  36585. "description": "有效期限",
  36586. "type": "string"
  36587. },
  36588. "validtype": {
  36589. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36590. "type": "integer"
  36591. },
  36592. "volumetype": {
  36593. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36594. "type": "integer"
  36595. }
  36596. }
  36597. },
  36598. "order.QueryTradePositionRsp": {
  36599. "type": "object",
  36600. "required": [
  36601. "goodsid"
  36602. ],
  36603. "properties": {
  36604. "accountid": {
  36605. "description": "资金账户",
  36606. "type": "integer"
  36607. },
  36608. "agreeunit": {
  36609. "description": "合约单位",
  36610. "type": "number"
  36611. },
  36612. "averageprice": {
  36613. "description": "持仓均价",
  36614. "type": "number"
  36615. },
  36616. "buyorsell": {
  36617. "description": "方向 - 0:买 1:卖",
  36618. "type": "integer"
  36619. },
  36620. "closetotalqty": {
  36621. "description": "平仓总数量",
  36622. "type": "number"
  36623. },
  36624. "curholderamount": {
  36625. "description": "当前持仓总金额[商品币种]",
  36626. "type": "number"
  36627. },
  36628. "curpositionqty": {
  36629. "description": "当前持仓总数量",
  36630. "type": "number"
  36631. },
  36632. "currencyid": {
  36633. "description": "报价货币ID",
  36634. "type": "integer"
  36635. },
  36636. "curtdposition": {
  36637. "description": "期末今日头寸",
  36638. "type": "number"
  36639. },
  36640. "decimalplace": {
  36641. "description": "报价小数位",
  36642. "type": "integer"
  36643. },
  36644. "enableqty": {
  36645. "description": "可用量",
  36646. "type": "number"
  36647. },
  36648. "fretdposition": {
  36649. "description": "冻结今日头寸",
  36650. "type": "number"
  36651. },
  36652. "frozenqty": {
  36653. "description": "持仓冻结数量",
  36654. "type": "number"
  36655. },
  36656. "goodscode": {
  36657. "description": "商品代码",
  36658. "type": "string"
  36659. },
  36660. "goodsid": {
  36661. "description": "商品Id",
  36662. "type": "integer"
  36663. },
  36664. "goodsname": {
  36665. "description": "商品名称",
  36666. "type": "string"
  36667. },
  36668. "goodunit": {
  36669. "description": "报价单位",
  36670. "type": "string"
  36671. },
  36672. "goodunitid": {
  36673. "description": "报价单位ID",
  36674. "type": "integer"
  36675. },
  36676. "holderamount": {
  36677. "description": "期初持仓总金额[商品币种]",
  36678. "type": "number"
  36679. },
  36680. "lastprice": {
  36681. "description": "最新价",
  36682. "type": "number"
  36683. },
  36684. "marketamount": {
  36685. "description": "市值",
  36686. "type": "number"
  36687. },
  36688. "marketid": {
  36689. "description": "所属市场ID",
  36690. "type": "integer"
  36691. },
  36692. "openreqqty": {
  36693. "description": "开仓申请数量(用于比较最大持仓数量)",
  36694. "type": "number"
  36695. },
  36696. "opentotalqty": {
  36697. "description": "开仓总数量",
  36698. "type": "number"
  36699. },
  36700. "otherfrozenqty": {
  36701. "description": "持仓其他冻结数量(交割冻结)",
  36702. "type": "number"
  36703. },
  36704. "positionpl": {
  36705. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  36706. "type": "number"
  36707. },
  36708. "positionplrate": {
  36709. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  36710. "type": "number"
  36711. },
  36712. "positionqty": {
  36713. "description": "期初持仓数量",
  36714. "type": "number"
  36715. },
  36716. "qtydecimalplace": {
  36717. "description": "成交量小数位",
  36718. "type": "integer"
  36719. },
  36720. "refgoodscode": {
  36721. "description": "参考商品代码",
  36722. "type": "string"
  36723. },
  36724. "refgoodsid": {
  36725. "description": "参考商品ID",
  36726. "type": "integer"
  36727. },
  36728. "tnqty": {
  36729. "description": "T+N冻结总量",
  36730. "type": "number"
  36731. },
  36732. "tnusedqty": {
  36733. "description": "T+N使用量(可以使用T+N的冻结数量)",
  36734. "type": "number"
  36735. },
  36736. "trademode": {
  36737. "description": "交易模式",
  36738. "type": "integer"
  36739. },
  36740. "tradeproperty": {
  36741. "description": "交易属性",
  36742. "type": "integer"
  36743. },
  36744. "usedmargin": {
  36745. "description": "占用保证金[商品币种]",
  36746. "type": "number"
  36747. }
  36748. }
  36749. },
  36750. "pb.GoodsMarginCfgStruct": {
  36751. "type": "object",
  36752. "properties": {
  36753. "CustomerTypeID": {
  36754. "description": "投资者客户类型",
  36755. "type": "integer"
  36756. },
  36757. "GoodsID": {
  36758. "description": "商品ID",
  36759. "type": "integer"
  36760. },
  36761. "IsDefault": {
  36762. "description": "是否默认标志位",
  36763. "type": "integer"
  36764. },
  36765. "LockMarginValue": {
  36766. "description": "锁仓保证金",
  36767. "type": "number"
  36768. },
  36769. "MarginAlgorithm": {
  36770. "description": "保证金计算方式",
  36771. "type": "integer"
  36772. },
  36773. "MarketMarginValue": {
  36774. "description": "即市保证金值",
  36775. "type": "number"
  36776. },
  36777. "RealMarginAlgorithm": {
  36778. "description": "实付保证金计算方式",
  36779. "type": "integer"
  36780. },
  36781. "RealMarginValue": {
  36782. "description": "实付比例",
  36783. "type": "number"
  36784. },
  36785. "ReckonMarginValue": {
  36786. "description": "结算保证金值",
  36787. "type": "number"
  36788. }
  36789. }
  36790. },
  36791. "quote.HistoryData": {
  36792. "type": "object",
  36793. "properties": {
  36794. "c": {
  36795. "description": "收盘价",
  36796. "type": "number"
  36797. },
  36798. "f": {
  36799. "description": "是否补充数据",
  36800. "type": "boolean"
  36801. },
  36802. "h": {
  36803. "description": "最高价",
  36804. "type": "number"
  36805. },
  36806. "hv": {
  36807. "description": "持仓量",
  36808. "type": "integer"
  36809. },
  36810. "l": {
  36811. "description": "最低价",
  36812. "type": "number"
  36813. },
  36814. "o": {
  36815. "description": "开盘价",
  36816. "type": "number"
  36817. },
  36818. "s": {
  36819. "description": "结算价,日线周期(包括)以上才有",
  36820. "type": "number"
  36821. },
  36822. "ts": {
  36823. "description": "时间",
  36824. "type": "string"
  36825. },
  36826. "tt": {
  36827. "description": "总金额",
  36828. "type": "number"
  36829. },
  36830. "tv": {
  36831. "description": "总量(成交量)",
  36832. "type": "integer"
  36833. }
  36834. }
  36835. },
  36836. "quote.HistoryTikData": {
  36837. "type": "object",
  36838. "properties": {
  36839. "AV": {
  36840. "description": "卖量",
  36841. "type": "integer"
  36842. },
  36843. "Ask": {
  36844. "description": "卖价",
  36845. "type": "number"
  36846. },
  36847. "BV": {
  36848. "description": "买量",
  36849. "type": "integer"
  36850. },
  36851. "Bid": {
  36852. "description": "买价",
  36853. "type": "number"
  36854. },
  36855. "HI": {
  36856. "description": "单笔持仓",
  36857. "type": "integer"
  36858. },
  36859. "HV": {
  36860. "description": "持仓量",
  36861. "type": "integer"
  36862. },
  36863. "PE": {
  36864. "description": "现价",
  36865. "type": "number"
  36866. },
  36867. "TDR": {
  36868. "description": "交易方向,0:买 1:卖",
  36869. "type": "integer"
  36870. },
  36871. "TK": {
  36872. "description": "交易类型",
  36873. "type": "integer"
  36874. },
  36875. "TS": {
  36876. "description": "行情时间文本",
  36877. "type": "string"
  36878. },
  36879. "TT": {
  36880. "description": "现金额",
  36881. "type": "number"
  36882. },
  36883. "Vol": {
  36884. "description": "现量",
  36885. "type": "integer"
  36886. }
  36887. }
  36888. },
  36889. "quote.QueryQuoteDayRsp": {
  36890. "type": "object",
  36891. "properties": {
  36892. "ask": {
  36893. "description": "卖1",
  36894. "type": "number"
  36895. },
  36896. "ask10": {
  36897. "description": "卖10",
  36898. "type": "number"
  36899. },
  36900. "ask2": {
  36901. "description": "卖2",
  36902. "type": "number"
  36903. },
  36904. "ask3": {
  36905. "description": "卖3",
  36906. "type": "number"
  36907. },
  36908. "ask4": {
  36909. "description": "卖4",
  36910. "type": "number"
  36911. },
  36912. "ask5": {
  36913. "description": "卖5",
  36914. "type": "number"
  36915. },
  36916. "ask6": {
  36917. "description": "卖6",
  36918. "type": "number"
  36919. },
  36920. "ask7": {
  36921. "description": "卖7",
  36922. "type": "number"
  36923. },
  36924. "ask8": {
  36925. "description": "卖8",
  36926. "type": "number"
  36927. },
  36928. "ask9": {
  36929. "description": "卖9",
  36930. "type": "number"
  36931. },
  36932. "askorderid": {
  36933. "description": "卖单号1",
  36934. "type": "integer"
  36935. },
  36936. "askorderid2": {
  36937. "description": "卖单号2",
  36938. "type": "integer"
  36939. },
  36940. "askorderid3": {
  36941. "description": "卖单号3",
  36942. "type": "integer"
  36943. },
  36944. "askorderid4": {
  36945. "description": "卖单号4",
  36946. "type": "integer"
  36947. },
  36948. "askorderid5": {
  36949. "description": "卖单号5",
  36950. "type": "integer"
  36951. },
  36952. "askordervolume": {
  36953. "description": "卖单量1",
  36954. "type": "integer"
  36955. },
  36956. "askordervolume10": {
  36957. "description": "卖单量10",
  36958. "type": "integer"
  36959. },
  36960. "askordervolume2": {
  36961. "description": "卖单量2",
  36962. "type": "integer"
  36963. },
  36964. "askordervolume3": {
  36965. "description": "卖单量3",
  36966. "type": "integer"
  36967. },
  36968. "askordervolume4": {
  36969. "description": "卖单量4",
  36970. "type": "integer"
  36971. },
  36972. "askordervolume5": {
  36973. "description": "卖单量5",
  36974. "type": "integer"
  36975. },
  36976. "askordervolume6": {
  36977. "description": "卖单量6",
  36978. "type": "integer"
  36979. },
  36980. "askordervolume7": {
  36981. "description": "卖单量7",
  36982. "type": "integer"
  36983. },
  36984. "askordervolume8": {
  36985. "description": "卖单量8",
  36986. "type": "integer"
  36987. },
  36988. "askordervolume9": {
  36989. "description": "卖单量9",
  36990. "type": "integer"
  36991. },
  36992. "askqueueinfo": {
  36993. "description": "大利市卖港股用",
  36994. "type": "string"
  36995. },
  36996. "askvolume": {
  36997. "description": "卖量1",
  36998. "type": "integer"
  36999. },
  37000. "askvolume10": {
  37001. "description": "卖量10",
  37002. "type": "integer"
  37003. },
  37004. "askvolume2": {
  37005. "description": "卖量2",
  37006. "type": "integer"
  37007. },
  37008. "askvolume3": {
  37009. "description": "卖量3",
  37010. "type": "integer"
  37011. },
  37012. "askvolume4": {
  37013. "description": "卖量4",
  37014. "type": "integer"
  37015. },
  37016. "askvolume5": {
  37017. "description": "卖量5",
  37018. "type": "integer"
  37019. },
  37020. "askvolume6": {
  37021. "description": "卖量6",
  37022. "type": "integer"
  37023. },
  37024. "askvolume7": {
  37025. "description": "卖量7",
  37026. "type": "integer"
  37027. },
  37028. "askvolume8": {
  37029. "description": "卖量8",
  37030. "type": "integer"
  37031. },
  37032. "askvolume9": {
  37033. "description": "卖量9",
  37034. "type": "integer"
  37035. },
  37036. "averageprice": {
  37037. "description": "均价",
  37038. "type": "number"
  37039. },
  37040. "bid": {
  37041. "description": "买1",
  37042. "type": "number"
  37043. },
  37044. "bid10": {
  37045. "description": "买10",
  37046. "type": "number"
  37047. },
  37048. "bid2": {
  37049. "description": "买2",
  37050. "type": "number"
  37051. },
  37052. "bid3": {
  37053. "description": "买3",
  37054. "type": "number"
  37055. },
  37056. "bid4": {
  37057. "description": "买4",
  37058. "type": "number"
  37059. },
  37060. "bid5": {
  37061. "description": "买5",
  37062. "type": "number"
  37063. },
  37064. "bid6": {
  37065. "description": "买6",
  37066. "type": "number"
  37067. },
  37068. "bid7": {
  37069. "description": "买7",
  37070. "type": "number"
  37071. },
  37072. "bid8": {
  37073. "description": "买8",
  37074. "type": "number"
  37075. },
  37076. "bid9": {
  37077. "description": "买9",
  37078. "type": "number"
  37079. },
  37080. "bidorderid": {
  37081. "description": "买单号1",
  37082. "type": "integer"
  37083. },
  37084. "bidorderid2": {
  37085. "description": "买单号2",
  37086. "type": "integer"
  37087. },
  37088. "bidorderid3": {
  37089. "description": "买单号3",
  37090. "type": "integer"
  37091. },
  37092. "bidorderid4": {
  37093. "description": "买单号4",
  37094. "type": "integer"
  37095. },
  37096. "bidorderid5": {
  37097. "description": "买单号5",
  37098. "type": "integer"
  37099. },
  37100. "bidordervolume": {
  37101. "description": "买单量1",
  37102. "type": "integer"
  37103. },
  37104. "bidordervolume10": {
  37105. "description": "买单量10",
  37106. "type": "integer"
  37107. },
  37108. "bidordervolume2": {
  37109. "description": "买单量2",
  37110. "type": "integer"
  37111. },
  37112. "bidordervolume3": {
  37113. "description": "买单量3",
  37114. "type": "integer"
  37115. },
  37116. "bidordervolume4": {
  37117. "description": "买单量4",
  37118. "type": "integer"
  37119. },
  37120. "bidordervolume5": {
  37121. "description": "买单量5",
  37122. "type": "integer"
  37123. },
  37124. "bidordervolume6": {
  37125. "description": "买单量6",
  37126. "type": "integer"
  37127. },
  37128. "bidordervolume7": {
  37129. "description": "买单量7",
  37130. "type": "integer"
  37131. },
  37132. "bidordervolume8": {
  37133. "description": "买单量8",
  37134. "type": "integer"
  37135. },
  37136. "bidordervolume9": {
  37137. "description": "买单量9",
  37138. "type": "integer"
  37139. },
  37140. "bidqueueinfo": {
  37141. "description": "大利市买港股用",
  37142. "type": "string"
  37143. },
  37144. "bidvolume": {
  37145. "description": "买量1",
  37146. "type": "integer"
  37147. },
  37148. "bidvolume10": {
  37149. "description": "买量10",
  37150. "type": "integer"
  37151. },
  37152. "bidvolume2": {
  37153. "description": "买量2",
  37154. "type": "integer"
  37155. },
  37156. "bidvolume3": {
  37157. "description": "买量3",
  37158. "type": "integer"
  37159. },
  37160. "bidvolume4": {
  37161. "description": "买量4",
  37162. "type": "integer"
  37163. },
  37164. "bidvolume5": {
  37165. "description": "买量5",
  37166. "type": "integer"
  37167. },
  37168. "bidvolume6": {
  37169. "description": "买量6",
  37170. "type": "integer"
  37171. },
  37172. "bidvolume7": {
  37173. "description": "买量7",
  37174. "type": "integer"
  37175. },
  37176. "bidvolume8": {
  37177. "description": "买量8",
  37178. "type": "integer"
  37179. },
  37180. "bidvolume9": {
  37181. "description": "买量9",
  37182. "type": "integer"
  37183. },
  37184. "calloptionpremiums": {
  37185. "description": "认购期权1",
  37186. "type": "integer"
  37187. },
  37188. "calloptionpremiums2": {
  37189. "description": "认购期权2",
  37190. "type": "integer"
  37191. },
  37192. "calloptionpremiums3": {
  37193. "description": "认购期权3",
  37194. "type": "integer"
  37195. },
  37196. "calloptionpremiums4": {
  37197. "description": "认购期权4",
  37198. "type": "integer"
  37199. },
  37200. "calloptionpremiums5": {
  37201. "description": "认购期权5",
  37202. "type": "integer"
  37203. },
  37204. "cleartime": {
  37205. "description": "清盘时间",
  37206. "type": "integer"
  37207. },
  37208. "exchangecode": {
  37209. "description": "交易所代码",
  37210. "type": "integer"
  37211. },
  37212. "exchangedate": {
  37213. "description": "交易日",
  37214. "type": "integer"
  37215. },
  37216. "goodscode": {
  37217. "description": "商品代码",
  37218. "type": "string"
  37219. },
  37220. "grepmarketprice": {
  37221. "description": "暗盘价 港股专用",
  37222. "type": "number"
  37223. },
  37224. "highest": {
  37225. "description": "最高价",
  37226. "type": "number"
  37227. },
  37228. "holdincrement": {
  37229. "description": "单笔持仓",
  37230. "type": "integer"
  37231. },
  37232. "holdvolume": {
  37233. "description": "持仓",
  37234. "type": "integer"
  37235. },
  37236. "iep": {
  37237. "description": "平衡价 港股专用",
  37238. "type": "number"
  37239. },
  37240. "iev": {
  37241. "description": "平衡量 港股专用",
  37242. "type": "number"
  37243. },
  37244. "inventory": {
  37245. "description": "库存",
  37246. "type": "integer"
  37247. },
  37248. "iscleared": {
  37249. "description": "是否清盘标志",
  37250. "type": "integer"
  37251. },
  37252. "issettled": {
  37253. "description": "是否结算标志",
  37254. "type": "integer"
  37255. },
  37256. "last": {
  37257. "description": "最新价",
  37258. "type": "number"
  37259. },
  37260. "lastlot": {
  37261. "description": "最新成交手数",
  37262. "type": "integer"
  37263. },
  37264. "lasttime": {
  37265. "description": "行情时间(只有现价变化行情时间才变化)",
  37266. "type": "string"
  37267. },
  37268. "lastturnover": {
  37269. "description": "最新成交金额",
  37270. "type": "number"
  37271. },
  37272. "lastvolume": {
  37273. "description": "最新成交量",
  37274. "type": "integer"
  37275. },
  37276. "limitdown": {
  37277. "description": "跌停价",
  37278. "type": "number"
  37279. },
  37280. "limitup": {
  37281. "description": "涨停价",
  37282. "type": "number"
  37283. },
  37284. "lowest": {
  37285. "description": "最低价",
  37286. "type": "number"
  37287. },
  37288. "nontotalholdervolume": {
  37289. "description": "非交易持仓量",
  37290. "type": "integer"
  37291. },
  37292. "nontotallot": {
  37293. "description": "非交易总手数",
  37294. "type": "integer"
  37295. },
  37296. "nontotalturnover": {
  37297. "description": "非交易总金额",
  37298. "type": "integer"
  37299. },
  37300. "nontotalvolume": {
  37301. "description": "非交易总量",
  37302. "type": "integer"
  37303. },
  37304. "opened": {
  37305. "description": "开盘价",
  37306. "type": "number"
  37307. },
  37308. "opentime": {
  37309. "description": "开盘时间",
  37310. "type": "string"
  37311. },
  37312. "orderid": {
  37313. "description": "序号",
  37314. "type": "integer"
  37315. },
  37316. "preclose": {
  37317. "description": "昨收",
  37318. "type": "number"
  37319. },
  37320. "preholdvolume": {
  37321. "description": "昨持仓",
  37322. "type": "integer"
  37323. },
  37324. "presettle": {
  37325. "description": "昨结价",
  37326. "type": "number"
  37327. },
  37328. "publictradetype": {
  37329. "description": "公共交易标志类型 港股专用",
  37330. "type": "string"
  37331. },
  37332. "putoptionpremiums": {
  37333. "description": "认沽期权1",
  37334. "type": "integer"
  37335. },
  37336. "putoptionpremiums2": {
  37337. "description": "认沽期权2",
  37338. "type": "integer"
  37339. },
  37340. "putoptionpremiums3": {
  37341. "description": "认沽期权3",
  37342. "type": "integer"
  37343. },
  37344. "putoptionpremiums4": {
  37345. "description": "认沽期权4",
  37346. "type": "integer"
  37347. },
  37348. "putoptionpremiums5": {
  37349. "description": "认沽期权5",
  37350. "type": "integer"
  37351. },
  37352. "settle": {
  37353. "description": "结算价",
  37354. "type": "number"
  37355. },
  37356. "strikeprice": {
  37357. "description": "发行价",
  37358. "type": "number"
  37359. },
  37360. "totalaskvolume": {
  37361. "description": "内盘",
  37362. "type": "integer"
  37363. },
  37364. "totalbidvolume": {
  37365. "description": "外盘",
  37366. "type": "integer"
  37367. },
  37368. "totallot": {
  37369. "description": "总手数",
  37370. "type": "integer"
  37371. },
  37372. "totalturnover": {
  37373. "description": "总金额",
  37374. "type": "number"
  37375. },
  37376. "totalvolume": {
  37377. "description": "总量",
  37378. "type": "integer"
  37379. },
  37380. "utclasttime": {
  37381. "description": "utc的行情时间",
  37382. "type": "string"
  37383. }
  37384. }
  37385. },
  37386. "quote.QueryTSDataRsp": {
  37387. "type": "object",
  37388. "properties": {
  37389. "Count": {
  37390. "description": "交易日应有数据个数",
  37391. "type": "integer"
  37392. },
  37393. "decimalPlace": {
  37394. "description": "小数位",
  37395. "type": "integer"
  37396. },
  37397. "endTime": {
  37398. "description": "结束时间",
  37399. "type": "string"
  37400. },
  37401. "goodsCode": {
  37402. "description": "商品代码",
  37403. "type": "string"
  37404. },
  37405. "historyDatas": {
  37406. "description": "历史数据",
  37407. "type": "array",
  37408. "items": {
  37409. "$ref": "#/definitions/quote.HistoryData"
  37410. }
  37411. },
  37412. "outGoodsCode": {
  37413. "description": "外部商品代码",
  37414. "type": "string"
  37415. },
  37416. "preSettle": {
  37417. "description": "昨结价",
  37418. "type": "number"
  37419. },
  37420. "runSteps": {
  37421. "description": "交易日开休市计划",
  37422. "type": "array",
  37423. "items": {
  37424. "$ref": "#/definitions/quote.TSDataRunStep"
  37425. }
  37426. },
  37427. "startTime": {
  37428. "description": "开始时间",
  37429. "type": "string"
  37430. },
  37431. "tradeDate": {
  37432. "description": "交易日",
  37433. "type": "string"
  37434. }
  37435. }
  37436. },
  37437. "quote.TSDataRunStep": {
  37438. "type": "object",
  37439. "properties": {
  37440. "end": {
  37441. "description": "真实结束时间",
  37442. "type": "string"
  37443. },
  37444. "endflag": {
  37445. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  37446. "type": "integer"
  37447. },
  37448. "endtime": {
  37449. "description": "结束时间(HH:mm)",
  37450. "type": "string"
  37451. },
  37452. "endweekday": {
  37453. "description": "结束周几",
  37454. "type": "integer"
  37455. },
  37456. "groupid": {
  37457. "description": "分组ID",
  37458. "type": "integer"
  37459. },
  37460. "runstep": {
  37461. "description": "运行阶段 - 2:连续交易",
  37462. "type": "integer"
  37463. },
  37464. "sectionid": {
  37465. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  37466. "type": "integer"
  37467. },
  37468. "start": {
  37469. "description": "真实开始时间",
  37470. "type": "string"
  37471. },
  37472. "startflag": {
  37473. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  37474. "type": "integer"
  37475. },
  37476. "starttime": {
  37477. "description": "起始时间(HH:mm)",
  37478. "type": "string"
  37479. },
  37480. "startweekday": {
  37481. "description": "起始周几",
  37482. "type": "integer"
  37483. },
  37484. "tradeweekday": {
  37485. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  37486. "type": "integer"
  37487. }
  37488. }
  37489. },
  37490. "szdz.QueryConvertLogRsp": {
  37491. "type": "object",
  37492. "required": [
  37493. "logid"
  37494. ],
  37495. "properties": {
  37496. "accountid": {
  37497. "description": "资金账户ID",
  37498. "type": "integer"
  37499. },
  37500. "clientticket": {
  37501. "description": "客户端流水号",
  37502. "type": "string"
  37503. },
  37504. "converttype": {
  37505. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  37506. "type": "integer"
  37507. },
  37508. "createtime": {
  37509. "description": "记账时间",
  37510. "type": "string"
  37511. },
  37512. "daymaxvalue": {
  37513. "description": "配置当日最大转入限制",
  37514. "type": "number"
  37515. },
  37516. "daymaxvalue2": {
  37517. "description": "配置当日最大转入限制(转入)",
  37518. "type": "number"
  37519. },
  37520. "goodscode": {
  37521. "description": "商品代码",
  37522. "type": "string"
  37523. },
  37524. "goodsname": {
  37525. "description": "商品名称",
  37526. "type": "string"
  37527. },
  37528. "handlestatus": {
  37529. "description": "处理状态",
  37530. "type": "integer"
  37531. },
  37532. "innergoodsid": {
  37533. "description": "内部商品ID",
  37534. "type": "integer"
  37535. },
  37536. "inratio": {
  37537. "description": "配置转入比值",
  37538. "type": "integer"
  37539. },
  37540. "invalue": {
  37541. "description": "目标值",
  37542. "type": "number"
  37543. },
  37544. "logid": {
  37545. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37546. "type": "integer"
  37547. },
  37548. "mobile": {
  37549. "description": "手机号码(加密存储)",
  37550. "type": "string"
  37551. },
  37552. "outergoodscode": {
  37553. "description": "外部商品代码[JD\\PD]",
  37554. "type": "string"
  37555. },
  37556. "outratio": {
  37557. "description": "配置转出比值",
  37558. "type": "integer"
  37559. },
  37560. "outvalue": {
  37561. "description": "源值",
  37562. "type": "number"
  37563. },
  37564. "pddecimalplace": {
  37565. "description": "PD小数位",
  37566. "type": "integer"
  37567. },
  37568. "qty": {
  37569. "description": "数量",
  37570. "type": "string"
  37571. },
  37572. "remark": {
  37573. "description": "备注",
  37574. "type": "string"
  37575. },
  37576. "sessionid": {
  37577. "description": "会话ID",
  37578. "type": "integer"
  37579. },
  37580. "timemaxvalue": {
  37581. "description": "配置单次最大转入限制",
  37582. "type": "number"
  37583. },
  37584. "timemaxvalue2": {
  37585. "description": "配置单次最大转入限制(转入)",
  37586. "type": "number"
  37587. },
  37588. "timeminvalue": {
  37589. "description": "配置单次最小数量限制",
  37590. "type": "number"
  37591. },
  37592. "timeminvalue2": {
  37593. "description": "配置单次最小数量限制(转入)",
  37594. "type": "number"
  37595. },
  37596. "tradedate": {
  37597. "description": "交易日(yyyyMMdd)",
  37598. "type": "string"
  37599. },
  37600. "userid": {
  37601. "description": "用户ID",
  37602. "type": "integer"
  37603. }
  37604. }
  37605. },
  37606. "szdz.QueryGoodsPickupRsp": {
  37607. "type": "object",
  37608. "required": [
  37609. "takeorderid"
  37610. ],
  37611. "properties": {
  37612. "accountid": {
  37613. "description": "账户ID",
  37614. "type": "integer"
  37615. },
  37616. "address": {
  37617. "description": "提货人详细地址",
  37618. "type": "string"
  37619. },
  37620. "auditer": {
  37621. "description": "审核人",
  37622. "type": "integer"
  37623. },
  37624. "audittime": {
  37625. "description": "审核时间",
  37626. "type": "string"
  37627. },
  37628. "cardnum": {
  37629. "description": "提货人证件号码",
  37630. "type": "string"
  37631. },
  37632. "cardtypeid": {
  37633. "description": "提货人证件类型",
  37634. "type": "integer"
  37635. },
  37636. "checkremark": {
  37637. "description": "审核备注",
  37638. "type": "string"
  37639. },
  37640. "goodscode": {
  37641. "description": "商品代码",
  37642. "type": "string"
  37643. },
  37644. "goodsid": {
  37645. "description": "商品ID",
  37646. "type": "integer"
  37647. },
  37648. "goodsname": {
  37649. "description": "商品名称",
  37650. "type": "string"
  37651. },
  37652. "handlestatus": {
  37653. "description": "处理状态",
  37654. "type": "integer"
  37655. },
  37656. "marketid": {
  37657. "description": "市场ID",
  37658. "type": "integer"
  37659. },
  37660. "phonenum": {
  37661. "description": "提货人联系方式",
  37662. "type": "string"
  37663. },
  37664. "qty": {
  37665. "description": "提货数量",
  37666. "type": "number"
  37667. },
  37668. "recivername": {
  37669. "description": "提货人姓名",
  37670. "type": "string"
  37671. },
  37672. "reqtime": {
  37673. "description": "更新时间",
  37674. "type": "string"
  37675. },
  37676. "takemode": {
  37677. "description": "提货方式 - 2:自提 3:配送",
  37678. "type": "integer"
  37679. },
  37680. "takeorderid": {
  37681. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  37682. "type": "string"
  37683. },
  37684. "takeorderstatus": {
  37685. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  37686. "type": "integer"
  37687. },
  37688. "takeremark": {
  37689. "description": "提货备注",
  37690. "type": "string"
  37691. },
  37692. "tradedate": {
  37693. "description": "交易日(yyyyMMdd)",
  37694. "type": "string"
  37695. },
  37696. "userid": {
  37697. "description": "用户ID",
  37698. "type": "integer"
  37699. }
  37700. }
  37701. },
  37702. "szdz.QueryRecieptOrderRsp": {
  37703. "type": "object",
  37704. "required": [
  37705. "ordertime"
  37706. ],
  37707. "properties": {
  37708. "accountName": {
  37709. "description": "所属账号名称(已脱敏)",
  37710. "type": "string"
  37711. },
  37712. "accountid": {
  37713. "description": "资金账号",
  37714. "type": "integer"
  37715. },
  37716. "buyorsell": {
  37717. "description": "方向 - 0:买 1:卖",
  37718. "type": "integer"
  37719. },
  37720. "enableqty": {
  37721. "description": "可摘数量",
  37722. "type": "integer"
  37723. },
  37724. "goodscode": {
  37725. "description": "商品代码",
  37726. "type": "string"
  37727. },
  37728. "goodsid": {
  37729. "description": "商品ID",
  37730. "type": "integer"
  37731. },
  37732. "goodsname": {
  37733. "description": "商品名称",
  37734. "type": "string"
  37735. },
  37736. "orderid": {
  37737. "description": "委托单号",
  37738. "type": "string"
  37739. },
  37740. "orderprice": {
  37741. "description": "委托价格",
  37742. "type": "number"
  37743. },
  37744. "ordertime": {
  37745. "description": "委托时间",
  37746. "type": "string"
  37747. },
  37748. "tradedate": {
  37749. "description": "交易日(yyyyMMdd)",
  37750. "type": "string"
  37751. }
  37752. }
  37753. },
  37754. "szdz.QuerySZDZTradePositionRsp": {
  37755. "type": "object",
  37756. "properties": {
  37757. "accountid": {
  37758. "description": "账号Id",
  37759. "type": "integer"
  37760. },
  37761. "agreeunit": {
  37762. "description": "合约单位",
  37763. "type": "number"
  37764. },
  37765. "averageprice": {
  37766. "description": "持仓均价",
  37767. "type": "number"
  37768. },
  37769. "buyorsell": {
  37770. "description": "方向 - 0:买 1:卖",
  37771. "type": "integer"
  37772. },
  37773. "closetotalqty": {
  37774. "description": "平仓总数量",
  37775. "type": "integer"
  37776. },
  37777. "curholderamount": {
  37778. "description": "当前持仓总金额",
  37779. "type": "number"
  37780. },
  37781. "curpositionqty": {
  37782. "description": "当前持仓总数量",
  37783. "type": "integer"
  37784. },
  37785. "currencyid": {
  37786. "description": "报价货币ID",
  37787. "type": "integer"
  37788. },
  37789. "curtdposition": {
  37790. "description": "期末今日头寸",
  37791. "type": "integer"
  37792. },
  37793. "decimalplace": {
  37794. "description": "报价小数位",
  37795. "type": "integer"
  37796. },
  37797. "enableqty": {
  37798. "description": "可用量",
  37799. "type": "integer"
  37800. },
  37801. "fretdposition": {
  37802. "description": "冻结今日头寸",
  37803. "type": "integer"
  37804. },
  37805. "frozenqty": {
  37806. "description": "持仓冻结数量",
  37807. "type": "integer"
  37808. },
  37809. "goodscode": {
  37810. "description": "商品代码(内部)",
  37811. "type": "string"
  37812. },
  37813. "goodsid": {
  37814. "description": "商品Id",
  37815. "type": "integer"
  37816. },
  37817. "goodsname": {
  37818. "description": "商品名称",
  37819. "type": "string"
  37820. },
  37821. "goodunit": {
  37822. "description": "报价单位",
  37823. "type": "string"
  37824. },
  37825. "goodunitid": {
  37826. "description": "报价单位ID",
  37827. "type": "integer"
  37828. },
  37829. "holderamount": {
  37830. "description": "期初持仓总金额",
  37831. "type": "number"
  37832. },
  37833. "marketid": {
  37834. "description": "市场ID",
  37835. "type": "integer"
  37836. },
  37837. "openreqqty": {
  37838. "description": "开仓申请数量",
  37839. "type": "integer"
  37840. },
  37841. "opentotalqty": {
  37842. "description": "开仓总数量",
  37843. "type": "integer"
  37844. },
  37845. "otherfrozenqty": {
  37846. "description": "持仓其他冻结数量(交割冻结)",
  37847. "type": "integer"
  37848. },
  37849. "positionqty": {
  37850. "description": "期初持仓数量",
  37851. "type": "integer"
  37852. },
  37853. "szdz3freezqty": {
  37854. "description": "尚志大宗转换冻结总数量",
  37855. "type": "integer"
  37856. },
  37857. "tnqty": {
  37858. "description": "T+N冻结总量",
  37859. "type": "integer"
  37860. },
  37861. "tnusedqty": {
  37862. "description": "T+N使用量",
  37863. "type": "integer"
  37864. },
  37865. "trademode": {
  37866. "description": "交易模式",
  37867. "type": "integer"
  37868. },
  37869. "usedmargin": {
  37870. "description": "占用保证金",
  37871. "type": "number"
  37872. }
  37873. }
  37874. },
  37875. "taaccount.QueryAmountLogRsp": {
  37876. "type": "object",
  37877. "required": [
  37878. "accountid",
  37879. "amount",
  37880. "amountadjusttype",
  37881. "autoid",
  37882. "balance",
  37883. "createtime",
  37884. "currentbalance",
  37885. "operatetype"
  37886. ],
  37887. "properties": {
  37888. "OPERATETYPENAME": {
  37889. "description": "资金操作类型名称",
  37890. "type": "string"
  37891. },
  37892. "accountid": {
  37893. "description": "资金账户ID",
  37894. "type": "integer"
  37895. },
  37896. "agoodscode": {
  37897. "description": "竞拍商品代码",
  37898. "type": "string"
  37899. },
  37900. "agoodsname": {
  37901. "description": "竞拍商品名称",
  37902. "type": "string"
  37903. },
  37904. "amount": {
  37905. "description": "资金金额",
  37906. "type": "number"
  37907. },
  37908. "amountadjusttype": {
  37909. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37910. "type": "integer"
  37911. },
  37912. "autoid": {
  37913. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37914. "type": "integer"
  37915. },
  37916. "balance": {
  37917. "description": "期初余额",
  37918. "type": "number"
  37919. },
  37920. "businesscode": {
  37921. "description": "业务编号",
  37922. "type": "integer"
  37923. },
  37924. "createtime": {
  37925. "description": "发生时间",
  37926. "type": "string"
  37927. },
  37928. "currencyid": {
  37929. "description": "币种ID",
  37930. "type": "integer"
  37931. },
  37932. "currentbalance": {
  37933. "description": "期末余额(变动后金额)",
  37934. "type": "number"
  37935. },
  37936. "dgoodscode": {
  37937. "description": "交割商品代码",
  37938. "type": "string"
  37939. },
  37940. "dgoodsname": {
  37941. "description": "交割商品名称",
  37942. "type": "string"
  37943. },
  37944. "goodscode": {
  37945. "description": "商品代码",
  37946. "type": "string"
  37947. },
  37948. "goodsid": {
  37949. "description": "商品ID",
  37950. "type": "integer"
  37951. },
  37952. "goodsname": {
  37953. "description": "商品名称",
  37954. "type": "string"
  37955. },
  37956. "marketid": {
  37957. "description": "市场ID",
  37958. "type": "integer"
  37959. },
  37960. "marketname": {
  37961. "description": "市场名称",
  37962. "type": "string"
  37963. },
  37964. "moneyticket": {
  37965. "description": "资金流水号:银行端流水号",
  37966. "type": "integer"
  37967. },
  37968. "operatetype": {
  37969. "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:营销收款",
  37970. "type": "integer"
  37971. },
  37972. "relationorderid": {
  37973. "description": "关联单号",
  37974. "type": "string"
  37975. },
  37976. "remark": {
  37977. "description": "备注",
  37978. "type": "string"
  37979. },
  37980. "trademode": {
  37981. "description": "交易模式",
  37982. "type": "integer"
  37983. }
  37984. }
  37985. },
  37986. "taaccount.QueryHisAmountLogRsp": {
  37987. "type": "object",
  37988. "required": [
  37989. "accountid",
  37990. "amount",
  37991. "amountadjusttype",
  37992. "autoid",
  37993. "balance",
  37994. "createtime",
  37995. "currentbalance",
  37996. "histradedate",
  37997. "operatetype"
  37998. ],
  37999. "properties": {
  38000. "OPERATETYPENAME": {
  38001. "description": "资金操作类型名称",
  38002. "type": "string"
  38003. },
  38004. "accountid": {
  38005. "description": "资金账户ID",
  38006. "type": "integer"
  38007. },
  38008. "agoodscode": {
  38009. "description": "竞拍商品代码",
  38010. "type": "string"
  38011. },
  38012. "agoodsname": {
  38013. "description": "竞拍商品名称",
  38014. "type": "string"
  38015. },
  38016. "amount": {
  38017. "description": "资金金额",
  38018. "type": "number"
  38019. },
  38020. "amountadjusttype": {
  38021. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38022. "type": "integer"
  38023. },
  38024. "autoid": {
  38025. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38026. "type": "integer"
  38027. },
  38028. "balance": {
  38029. "description": "期初余额",
  38030. "type": "number"
  38031. },
  38032. "businesscode": {
  38033. "description": "业务编号",
  38034. "type": "integer"
  38035. },
  38036. "createtime": {
  38037. "description": "发生时间",
  38038. "type": "string"
  38039. },
  38040. "currencyid": {
  38041. "description": "币种ID",
  38042. "type": "integer"
  38043. },
  38044. "currentbalance": {
  38045. "description": "期末余额(变动后金额)",
  38046. "type": "number"
  38047. },
  38048. "dgoodscode": {
  38049. "description": "交割商品代码",
  38050. "type": "string"
  38051. },
  38052. "dgoodsname": {
  38053. "description": "交割商品名称",
  38054. "type": "string"
  38055. },
  38056. "goodscode": {
  38057. "description": "商品代码",
  38058. "type": "string"
  38059. },
  38060. "goodsid": {
  38061. "description": "商品ID",
  38062. "type": "integer"
  38063. },
  38064. "goodsname": {
  38065. "description": "商品名称",
  38066. "type": "string"
  38067. },
  38068. "histradedate": {
  38069. "description": "历史交易日",
  38070. "type": "string"
  38071. },
  38072. "isvaliddata": {
  38073. "description": "是否有效 - 0:无效 1:有效",
  38074. "type": "integer"
  38075. },
  38076. "marketid": {
  38077. "description": "市场ID",
  38078. "type": "integer"
  38079. },
  38080. "marketname": {
  38081. "description": "市场名称",
  38082. "type": "string"
  38083. },
  38084. "moneyticket": {
  38085. "description": "资金流水号:银行端流水号",
  38086. "type": "integer"
  38087. },
  38088. "operatetype": {
  38089. "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:营销收款",
  38090. "type": "integer"
  38091. },
  38092. "relationorderid": {
  38093. "description": "关联单号",
  38094. "type": "string"
  38095. },
  38096. "remark": {
  38097. "description": "备注",
  38098. "type": "string"
  38099. },
  38100. "trademode": {
  38101. "description": "交易模式",
  38102. "type": "integer"
  38103. }
  38104. }
  38105. },
  38106. "trade.QueryRecieptOrderRsp": {
  38107. "type": "object",
  38108. "required": [
  38109. "ordertime"
  38110. ],
  38111. "properties": {
  38112. "accountName": {
  38113. "description": "所属账号名称(已脱敏)",
  38114. "type": "string"
  38115. },
  38116. "accountid": {
  38117. "description": "资金账号",
  38118. "type": "integer"
  38119. },
  38120. "buyorsell": {
  38121. "description": "方向 - 0:买 1:卖",
  38122. "type": "integer"
  38123. },
  38124. "enableqty": {
  38125. "description": "可摘数量",
  38126. "type": "integer"
  38127. },
  38128. "goodscode": {
  38129. "description": "商品代码",
  38130. "type": "string"
  38131. },
  38132. "goodsid": {
  38133. "description": "商品ID",
  38134. "type": "integer"
  38135. },
  38136. "goodsname": {
  38137. "description": "商品名称",
  38138. "type": "string"
  38139. },
  38140. "orderid": {
  38141. "description": "委托单号",
  38142. "type": "string"
  38143. },
  38144. "orderprice": {
  38145. "description": "委托价格",
  38146. "type": "number"
  38147. },
  38148. "ordertime": {
  38149. "description": "委托时间",
  38150. "type": "string"
  38151. },
  38152. "tradedate": {
  38153. "description": "交易日(yyyyMMdd)",
  38154. "type": "string"
  38155. }
  38156. }
  38157. },
  38158. "user.LoginQueryRsp": {
  38159. "type": "object",
  38160. "properties": {
  38161. "areaRoles": {
  38162. "description": "所属角色信息",
  38163. "type": "array",
  38164. "items": {
  38165. "$ref": "#/definitions/models.Arearole"
  38166. }
  38167. },
  38168. "externalExchanges": {
  38169. "description": "外部交易所",
  38170. "type": "array",
  38171. "items": {
  38172. "$ref": "#/definitions/models.Externalexchange"
  38173. }
  38174. },
  38175. "goodsgroups": {
  38176. "description": "商品组",
  38177. "type": "array",
  38178. "items": {
  38179. "$ref": "#/definitions/models.Goodsgroup"
  38180. }
  38181. },
  38182. "loginAccount": {
  38183. "description": "登录账号",
  38184. "$ref": "#/definitions/models.Loginaccount"
  38185. },
  38186. "markets": {
  38187. "description": "市场",
  38188. "type": "array",
  38189. "items": {
  38190. "$ref": "#/definitions/models.Market"
  38191. }
  38192. },
  38193. "systemParams": {
  38194. "description": "系统参数",
  38195. "type": "array",
  38196. "items": {
  38197. "$ref": "#/definitions/models.Systemparam"
  38198. }
  38199. },
  38200. "userAccount": {
  38201. "description": "用户账号",
  38202. "$ref": "#/definitions/models.Useraccount"
  38203. },
  38204. "userInfo": {
  38205. "description": "用户信息",
  38206. "$ref": "#/definitions/models.Userinfo"
  38207. },
  38208. "username": {
  38209. "description": "用户姓名",
  38210. "type": "string"
  38211. }
  38212. }
  38213. }
  38214. },
  38215. "securityDefinitions": {
  38216. "ApiKeyAuth": {
  38217. "type": "apiKey",
  38218. "name": "Authorization",
  38219. "in": "header"
  38220. },
  38221. "Group": {
  38222. "type": "apiKey",
  38223. "name": "Group",
  38224. "in": "header"
  38225. },
  38226. "LoginID": {
  38227. "type": "apiKey",
  38228. "name": "LoginID",
  38229. "in": "header"
  38230. }
  38231. }
  38232. }`
  38233. // SwaggerInfo holds exported Swagger Info so clients can modify it
  38234. var SwaggerInfo = &swag.Spec{
  38235. Version: "1.0",
  38236. Host: "",
  38237. BasePath: "",
  38238. Schemes: []string{},
  38239. Title: "MTP2.0 查询服务 API",
  38240. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  38241. InfoInstanceName: "swagger",
  38242. SwaggerTemplate: docTemplate,
  38243. }
  38244. func init() {
  38245. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  38246. }