docs.go 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596
  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/GetGoods": {
  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": "string",
  7508. "description": "商品编号",
  7509. "name": "goodsno",
  7510. "in": "query",
  7511. "required": true
  7512. }
  7513. ],
  7514. "responses": {
  7515. "200": {
  7516. "description": "OK",
  7517. "schema": {
  7518. "$ref": "#/definitions/models.GZGoods"
  7519. }
  7520. },
  7521. "500": {
  7522. "description": "Internal Server Error",
  7523. "schema": {
  7524. "$ref": "#/definitions/app.Response"
  7525. }
  7526. }
  7527. }
  7528. }
  7529. },
  7530. "/Guangzuan/QueryBuyOrder": {
  7531. "get": {
  7532. "security": [
  7533. {
  7534. "ApiKeyAuth": []
  7535. },
  7536. {
  7537. "LoginID": []
  7538. },
  7539. {
  7540. "Group": []
  7541. }
  7542. ],
  7543. "produces": [
  7544. "application/json"
  7545. ],
  7546. "tags": [
  7547. "广钻"
  7548. ],
  7549. "summary": "查询求购大厅委托单",
  7550. "parameters": [
  7551. {
  7552. "type": "integer",
  7553. "description": "页码",
  7554. "name": "page",
  7555. "in": "query"
  7556. },
  7557. {
  7558. "type": "integer",
  7559. "description": "每页条数",
  7560. "name": "pagesize",
  7561. "in": "query"
  7562. },
  7563. {
  7564. "type": "string",
  7565. "description": "商品(查询字段-模糊查询)",
  7566. "name": "zsallproperties",
  7567. "in": "query"
  7568. },
  7569. {
  7570. "type": "integer",
  7571. "description": "钻石分类枚举ID",
  7572. "name": "zscategory",
  7573. "in": "query"
  7574. },
  7575. {
  7576. "type": "integer",
  7577. "description": "委托单号",
  7578. "name": "wrtradeorderid",
  7579. "in": "query"
  7580. },
  7581. {
  7582. "type": "string",
  7583. "description": "买方(查询字段-模糊查询)",
  7584. "name": "buyusername",
  7585. "in": "query"
  7586. }
  7587. ],
  7588. "responses": {
  7589. "200": {
  7590. "description": "OK",
  7591. "schema": {
  7592. "type": "array",
  7593. "items": {
  7594. "$ref": "#/definitions/models.BuyOrder"
  7595. }
  7596. }
  7597. },
  7598. "500": {
  7599. "description": "Internal Server Error",
  7600. "schema": {
  7601. "$ref": "#/definitions/app.Response"
  7602. }
  7603. }
  7604. }
  7605. }
  7606. },
  7607. "/Guangzuan/QueryDiamond": {
  7608. "post": {
  7609. "security": [
  7610. {
  7611. "ApiKeyAuth": []
  7612. },
  7613. {
  7614. "LoginID": []
  7615. },
  7616. {
  7617. "Group": []
  7618. }
  7619. ],
  7620. "produces": [
  7621. "application/json"
  7622. ],
  7623. "tags": [
  7624. "广钻"
  7625. ],
  7626. "summary": "钻石搜索",
  7627. "parameters": [
  7628. {
  7629. "description": "钻石搜索入参",
  7630. "name": "data",
  7631. "in": "body",
  7632. "required": true,
  7633. "schema": {
  7634. "$ref": "#/definitions/models.SellOrderQueryReq"
  7635. }
  7636. }
  7637. ],
  7638. "responses": {
  7639. "200": {
  7640. "description": "OK",
  7641. "schema": {
  7642. "type": "array",
  7643. "items": {
  7644. "$ref": "#/definitions/models.SellOrder"
  7645. }
  7646. }
  7647. },
  7648. "500": {
  7649. "description": "Internal Server Error",
  7650. "schema": {
  7651. "$ref": "#/definitions/app.Response"
  7652. }
  7653. }
  7654. }
  7655. }
  7656. },
  7657. "/Guangzuan/QueryMyBargainApply": {
  7658. "get": {
  7659. "security": [
  7660. {
  7661. "ApiKeyAuth": []
  7662. },
  7663. {
  7664. "LoginID": []
  7665. },
  7666. {
  7667. "Group": []
  7668. }
  7669. ],
  7670. "produces": [
  7671. "application/json"
  7672. ],
  7673. "tags": [
  7674. "广钻"
  7675. ],
  7676. "summary": "查询我的询价-求购",
  7677. "parameters": [
  7678. {
  7679. "type": "integer",
  7680. "description": "用户ID",
  7681. "name": "userid",
  7682. "in": "query",
  7683. "required": true
  7684. },
  7685. {
  7686. "type": "integer",
  7687. "description": "页码",
  7688. "name": "page",
  7689. "in": "query"
  7690. },
  7691. {
  7692. "type": "integer",
  7693. "description": "每页条数",
  7694. "name": "pagesize",
  7695. "in": "query"
  7696. },
  7697. {
  7698. "type": "integer",
  7699. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7700. "name": "applystatus",
  7701. "in": "query"
  7702. }
  7703. ],
  7704. "responses": {
  7705. "200": {
  7706. "description": "OK",
  7707. "schema": {
  7708. "type": "array",
  7709. "items": {
  7710. "$ref": "#/definitions/models.MyBargainApply"
  7711. }
  7712. }
  7713. },
  7714. "500": {
  7715. "description": "Internal Server Error",
  7716. "schema": {
  7717. "$ref": "#/definitions/app.Response"
  7718. }
  7719. }
  7720. }
  7721. }
  7722. },
  7723. "/Guangzuan/QueryMyBuyOrder": {
  7724. "get": {
  7725. "security": [
  7726. {
  7727. "ApiKeyAuth": []
  7728. },
  7729. {
  7730. "LoginID": []
  7731. },
  7732. {
  7733. "Group": []
  7734. }
  7735. ],
  7736. "produces": [
  7737. "application/json"
  7738. ],
  7739. "tags": [
  7740. "广钻"
  7741. ],
  7742. "summary": "查询我的求购",
  7743. "parameters": [
  7744. {
  7745. "type": "integer",
  7746. "description": "用户ID",
  7747. "name": "userid",
  7748. "in": "query",
  7749. "required": true
  7750. },
  7751. {
  7752. "type": "integer",
  7753. "description": "页码",
  7754. "name": "page",
  7755. "in": "query"
  7756. },
  7757. {
  7758. "type": "integer",
  7759. "description": "每页条数",
  7760. "name": "pagesize",
  7761. "in": "query"
  7762. },
  7763. {
  7764. "type": "string",
  7765. "description": "商品(查询字段-模糊查询)",
  7766. "name": "zsallproperties",
  7767. "in": "query"
  7768. },
  7769. {
  7770. "type": "integer",
  7771. "description": "钻石分类枚举ID",
  7772. "name": "zscategory",
  7773. "in": "query"
  7774. },
  7775. {
  7776. "type": "integer",
  7777. "description": "委托单号",
  7778. "name": "wrtradeorderid",
  7779. "in": "query"
  7780. },
  7781. {
  7782. "type": "boolean",
  7783. "description": "是否历史查询",
  7784. "name": "ishis",
  7785. "in": "query"
  7786. }
  7787. ],
  7788. "responses": {
  7789. "200": {
  7790. "description": "OK",
  7791. "schema": {
  7792. "type": "array",
  7793. "items": {
  7794. "$ref": "#/definitions/models.MyBuyOrder"
  7795. }
  7796. }
  7797. },
  7798. "500": {
  7799. "description": "Internal Server Error",
  7800. "schema": {
  7801. "$ref": "#/definitions/app.Response"
  7802. }
  7803. }
  7804. }
  7805. }
  7806. },
  7807. "/Guangzuan/QueryMyDeListing": {
  7808. "get": {
  7809. "security": [
  7810. {
  7811. "ApiKeyAuth": []
  7812. },
  7813. {
  7814. "LoginID": []
  7815. },
  7816. {
  7817. "Group": []
  7818. }
  7819. ],
  7820. "produces": [
  7821. "application/json"
  7822. ],
  7823. "tags": [
  7824. "广钻"
  7825. ],
  7826. "summary": "查询我的摘牌",
  7827. "parameters": [
  7828. {
  7829. "type": "integer",
  7830. "description": "用户ID",
  7831. "name": "userid",
  7832. "in": "query",
  7833. "required": true
  7834. },
  7835. {
  7836. "type": "integer",
  7837. "description": "页码",
  7838. "name": "page",
  7839. "in": "query"
  7840. },
  7841. {
  7842. "type": "integer",
  7843. "description": "每页条数",
  7844. "name": "pagesize",
  7845. "in": "query"
  7846. },
  7847. {
  7848. "type": "string",
  7849. "description": "商品(查询字段-模糊查询)",
  7850. "name": "zsallproperties",
  7851. "in": "query"
  7852. },
  7853. {
  7854. "type": "integer",
  7855. "description": "钻石分类枚举ID",
  7856. "name": "zscategory",
  7857. "in": "query"
  7858. },
  7859. {
  7860. "type": "integer",
  7861. "description": "成交单号",
  7862. "name": "wrtradedetailid",
  7863. "in": "query"
  7864. },
  7865. {
  7866. "type": "integer",
  7867. "description": "方向,0-全部(可不传) 1-购买 2-出售",
  7868. "name": "buyorsell",
  7869. "in": "query"
  7870. },
  7871. {
  7872. "type": "string",
  7873. "description": "开始交易日(yyyymmdd)",
  7874. "name": "begindate",
  7875. "in": "query"
  7876. },
  7877. {
  7878. "type": "string",
  7879. "description": "结束交易日(yyyymmdd)",
  7880. "name": "enddate",
  7881. "in": "query"
  7882. }
  7883. ],
  7884. "responses": {
  7885. "200": {
  7886. "description": "OK",
  7887. "schema": {
  7888. "type": "array",
  7889. "items": {
  7890. "$ref": "#/definitions/models.MyDeListing"
  7891. }
  7892. }
  7893. },
  7894. "500": {
  7895. "description": "Internal Server Error",
  7896. "schema": {
  7897. "$ref": "#/definitions/app.Response"
  7898. }
  7899. }
  7900. }
  7901. }
  7902. },
  7903. "/Guangzuan/QueryMyDelistingApply": {
  7904. "get": {
  7905. "security": [
  7906. {
  7907. "ApiKeyAuth": []
  7908. },
  7909. {
  7910. "LoginID": []
  7911. },
  7912. {
  7913. "Group": []
  7914. }
  7915. ],
  7916. "produces": [
  7917. "application/json"
  7918. ],
  7919. "tags": [
  7920. "广钻"
  7921. ],
  7922. "summary": "查询我的询价-出售",
  7923. "parameters": [
  7924. {
  7925. "type": "integer",
  7926. "description": "用户ID",
  7927. "name": "userid",
  7928. "in": "query",
  7929. "required": true
  7930. },
  7931. {
  7932. "type": "integer",
  7933. "description": "页码",
  7934. "name": "page",
  7935. "in": "query"
  7936. },
  7937. {
  7938. "type": "integer",
  7939. "description": "每页条数",
  7940. "name": "pagesize",
  7941. "in": "query"
  7942. },
  7943. {
  7944. "type": "integer",
  7945. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7946. "name": "applystatus",
  7947. "in": "query"
  7948. }
  7949. ],
  7950. "responses": {
  7951. "200": {
  7952. "description": "OK",
  7953. "schema": {
  7954. "type": "array",
  7955. "items": {
  7956. "$ref": "#/definitions/models.MyDelistingApply"
  7957. }
  7958. }
  7959. },
  7960. "500": {
  7961. "description": "Internal Server Error",
  7962. "schema": {
  7963. "$ref": "#/definitions/app.Response"
  7964. }
  7965. }
  7966. }
  7967. }
  7968. },
  7969. "/Guangzuan/QueryMySellOrder": {
  7970. "get": {
  7971. "security": [
  7972. {
  7973. "ApiKeyAuth": []
  7974. },
  7975. {
  7976. "LoginID": []
  7977. },
  7978. {
  7979. "Group": []
  7980. }
  7981. ],
  7982. "produces": [
  7983. "application/json"
  7984. ],
  7985. "tags": [
  7986. "广钻"
  7987. ],
  7988. "summary": "查询我的出售",
  7989. "parameters": [
  7990. {
  7991. "type": "integer",
  7992. "description": "用户ID",
  7993. "name": "userid",
  7994. "in": "query",
  7995. "required": true
  7996. },
  7997. {
  7998. "type": "integer",
  7999. "description": "页码",
  8000. "name": "page",
  8001. "in": "query"
  8002. },
  8003. {
  8004. "type": "integer",
  8005. "description": "每页条数",
  8006. "name": "pagesize",
  8007. "in": "query"
  8008. },
  8009. {
  8010. "type": "string",
  8011. "description": "商品(查询字段-模糊查询)",
  8012. "name": "zsallproperties",
  8013. "in": "query"
  8014. },
  8015. {
  8016. "type": "integer",
  8017. "description": "钻石分类枚举ID",
  8018. "name": "zscategory",
  8019. "in": "query"
  8020. },
  8021. {
  8022. "type": "integer",
  8023. "description": "委托单号",
  8024. "name": "wrtradeorderid",
  8025. "in": "query"
  8026. },
  8027. {
  8028. "type": "boolean",
  8029. "description": "是否历史查询",
  8030. "name": "ishis",
  8031. "in": "query"
  8032. }
  8033. ],
  8034. "responses": {
  8035. "200": {
  8036. "description": "OK",
  8037. "schema": {
  8038. "type": "array",
  8039. "items": {
  8040. "$ref": "#/definitions/models.MySellOrder"
  8041. }
  8042. }
  8043. },
  8044. "500": {
  8045. "description": "Internal Server Error",
  8046. "schema": {
  8047. "$ref": "#/definitions/app.Response"
  8048. }
  8049. }
  8050. }
  8051. }
  8052. },
  8053. "/Guangzuan/QueryMyWRPosition": {
  8054. "get": {
  8055. "security": [
  8056. {
  8057. "ApiKeyAuth": []
  8058. },
  8059. {
  8060. "LoginID": []
  8061. },
  8062. {
  8063. "Group": []
  8064. }
  8065. ],
  8066. "produces": [
  8067. "application/json"
  8068. ],
  8069. "tags": [
  8070. "广钻"
  8071. ],
  8072. "summary": "查询我的库存",
  8073. "parameters": [
  8074. {
  8075. "type": "integer",
  8076. "description": "页码",
  8077. "name": "page",
  8078. "in": "query"
  8079. },
  8080. {
  8081. "type": "integer",
  8082. "description": "每页条数",
  8083. "name": "pagesize",
  8084. "in": "query"
  8085. },
  8086. {
  8087. "type": "integer",
  8088. "description": "登录用户ID",
  8089. "name": "wruserid",
  8090. "in": "query",
  8091. "required": true
  8092. },
  8093. {
  8094. "type": "string",
  8095. "description": "商品(查询字段-模糊查询)",
  8096. "name": "zsallproperties",
  8097. "in": "query"
  8098. },
  8099. {
  8100. "type": "integer",
  8101. "description": "钻石分类枚举ID",
  8102. "name": "zscategory",
  8103. "in": "query"
  8104. },
  8105. {
  8106. "type": "integer",
  8107. "description": "仓库ID",
  8108. "name": "warehouseid",
  8109. "in": "query"
  8110. }
  8111. ],
  8112. "responses": {
  8113. "200": {
  8114. "description": "OK",
  8115. "schema": {
  8116. "type": "array",
  8117. "items": {
  8118. "$ref": "#/definitions/models.MyWRPosition"
  8119. }
  8120. }
  8121. },
  8122. "500": {
  8123. "description": "Internal Server Error",
  8124. "schema": {
  8125. "$ref": "#/definitions/app.Response"
  8126. }
  8127. }
  8128. }
  8129. }
  8130. },
  8131. "/Guangzuan/QuerySellOrder": {
  8132. "get": {
  8133. "security": [
  8134. {
  8135. "ApiKeyAuth": []
  8136. },
  8137. {
  8138. "LoginID": []
  8139. },
  8140. {
  8141. "Group": []
  8142. }
  8143. ],
  8144. "produces": [
  8145. "application/json"
  8146. ],
  8147. "tags": [
  8148. "广钻"
  8149. ],
  8150. "summary": "查询出售大厅委托单",
  8151. "parameters": [
  8152. {
  8153. "type": "integer",
  8154. "description": "页码",
  8155. "name": "page",
  8156. "in": "query"
  8157. },
  8158. {
  8159. "type": "integer",
  8160. "description": "每页条数",
  8161. "name": "pagesize",
  8162. "in": "query"
  8163. },
  8164. {
  8165. "type": "string",
  8166. "description": "商品(查询字段-模糊查询)",
  8167. "name": "zsallproperties",
  8168. "in": "query"
  8169. },
  8170. {
  8171. "type": "integer",
  8172. "description": "钻石分类枚举ID",
  8173. "name": "zscategory",
  8174. "in": "query"
  8175. },
  8176. {
  8177. "type": "integer",
  8178. "description": "委托单号",
  8179. "name": "wrtradeorderid",
  8180. "in": "query"
  8181. },
  8182. {
  8183. "type": "string",
  8184. "description": "卖方(查询字段-模糊查询)",
  8185. "name": "buyusername",
  8186. "in": "query"
  8187. }
  8188. ],
  8189. "responses": {
  8190. "200": {
  8191. "description": "OK",
  8192. "schema": {
  8193. "type": "array",
  8194. "items": {
  8195. "$ref": "#/definitions/models.SellOrder"
  8196. }
  8197. }
  8198. },
  8199. "500": {
  8200. "description": "Internal Server Error",
  8201. "schema": {
  8202. "$ref": "#/definitions/app.Response"
  8203. }
  8204. }
  8205. }
  8206. }
  8207. },
  8208. "/Guangzuan/QueryWarehouseInfo": {
  8209. "get": {
  8210. "security": [
  8211. {
  8212. "ApiKeyAuth": []
  8213. },
  8214. {
  8215. "LoginID": []
  8216. },
  8217. {
  8218. "Group": []
  8219. }
  8220. ],
  8221. "produces": [
  8222. "application/json"
  8223. ],
  8224. "tags": [
  8225. "广钻"
  8226. ],
  8227. "summary": "查询仓库信息",
  8228. "parameters": [
  8229. {
  8230. "type": "integer",
  8231. "description": "页码",
  8232. "name": "page",
  8233. "in": "query"
  8234. },
  8235. {
  8236. "type": "integer",
  8237. "description": "每页条数",
  8238. "name": "pagesize",
  8239. "in": "query"
  8240. },
  8241. {
  8242. "type": "integer",
  8243. "description": "用户ID",
  8244. "name": "userid",
  8245. "in": "query",
  8246. "required": true
  8247. },
  8248. {
  8249. "type": "string",
  8250. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8251. "name": "status",
  8252. "in": "query"
  8253. },
  8254. {
  8255. "type": "boolean",
  8256. "description": "是返回交易所仓库",
  8257. "name": "isincludeexchange",
  8258. "in": "query"
  8259. }
  8260. ],
  8261. "responses": {
  8262. "200": {
  8263. "description": "OK",
  8264. "schema": {
  8265. "type": "array",
  8266. "items": {
  8267. "$ref": "#/definitions/models.GZWarehouseinfo"
  8268. }
  8269. }
  8270. },
  8271. "500": {
  8272. "description": "Internal Server Error",
  8273. "schema": {
  8274. "$ref": "#/definitions/app.Response"
  8275. }
  8276. }
  8277. }
  8278. }
  8279. },
  8280. "/Market/GetAllExExchanges": {
  8281. "get": {
  8282. "security": [
  8283. {
  8284. "ApiKeyAuth": []
  8285. }
  8286. ],
  8287. "produces": [
  8288. "application/json"
  8289. ],
  8290. "tags": [
  8291. "通用市场"
  8292. ],
  8293. "summary": "获取所有外部交易所信息",
  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/QueryGoodsesByLoginID": {
  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": "登录账号",
  8328. "name": "loginID",
  8329. "in": "query",
  8330. "required": true
  8331. },
  8332. {
  8333. "type": "string",
  8334. "description": "市场ID列表,格式:1,2,3",
  8335. "name": "marketIDs",
  8336. "in": "query"
  8337. }
  8338. ],
  8339. "responses": {
  8340. "200": {
  8341. "description": "OK",
  8342. "schema": {
  8343. "$ref": "#/definitions/models.Goods"
  8344. }
  8345. },
  8346. "500": {
  8347. "description": "Internal Server Error",
  8348. "schema": {
  8349. "$ref": "#/definitions/app.Response"
  8350. }
  8351. }
  8352. }
  8353. }
  8354. },
  8355. "/Market/QueryMarketRun": {
  8356. "get": {
  8357. "security": [
  8358. {
  8359. "ApiKeyAuth": []
  8360. }
  8361. ],
  8362. "produces": [
  8363. "application/json"
  8364. ],
  8365. "tags": [
  8366. "通用市场"
  8367. ],
  8368. "summary": "查询市场运行信息",
  8369. "parameters": [
  8370. {
  8371. "type": "integer",
  8372. "description": "市场ID,不传返回所有",
  8373. "name": "marketID",
  8374. "in": "query"
  8375. }
  8376. ],
  8377. "responses": {
  8378. "200": {
  8379. "description": "OK",
  8380. "schema": {
  8381. "$ref": "#/definitions/models.Marketrun"
  8382. }
  8383. },
  8384. "500": {
  8385. "description": "Internal Server Error",
  8386. "schema": {
  8387. "$ref": "#/definitions/app.Response"
  8388. }
  8389. }
  8390. }
  8391. }
  8392. },
  8393. "/Market/QueryMarketsByLoginID": {
  8394. "get": {
  8395. "security": [
  8396. {
  8397. "ApiKeyAuth": []
  8398. }
  8399. ],
  8400. "produces": [
  8401. "application/json"
  8402. ],
  8403. "tags": [
  8404. "通用市场"
  8405. ],
  8406. "summary": "获取登录账号有权限的市场信息",
  8407. "parameters": [
  8408. {
  8409. "type": "integer",
  8410. "description": "登录账号",
  8411. "name": "loginID",
  8412. "in": "query",
  8413. "required": true
  8414. }
  8415. ],
  8416. "responses": {
  8417. "200": {
  8418. "description": "OK",
  8419. "schema": {
  8420. "$ref": "#/definitions/models.Market"
  8421. }
  8422. },
  8423. "500": {
  8424. "description": "Internal Server Error",
  8425. "schema": {
  8426. "$ref": "#/definitions/app.Response"
  8427. }
  8428. }
  8429. }
  8430. }
  8431. },
  8432. "/Order/QueryHisTradeDetail": {
  8433. "get": {
  8434. "security": [
  8435. {
  8436. "ApiKeyAuth": []
  8437. }
  8438. ],
  8439. "produces": [
  8440. "application/json"
  8441. ],
  8442. "tags": [
  8443. "通用单据"
  8444. ],
  8445. "summary": "历史成交单查询(合约市场)",
  8446. "parameters": [
  8447. {
  8448. "type": "string",
  8449. "description": "资金账户 - 格式:1,2,3",
  8450. "name": "accountID",
  8451. "in": "query",
  8452. "required": true
  8453. },
  8454. {
  8455. "type": "integer",
  8456. "description": "成交单号",
  8457. "name": "tradeID",
  8458. "in": "query"
  8459. },
  8460. {
  8461. "type": "integer",
  8462. "description": "委托单号",
  8463. "name": "orderID",
  8464. "in": "query"
  8465. },
  8466. {
  8467. "type": "integer",
  8468. "description": "商品ID",
  8469. "name": "goodsID",
  8470. "in": "query"
  8471. },
  8472. {
  8473. "type": "string",
  8474. "description": "交易模式 - 格式:1,2,3",
  8475. "name": "tradeMode",
  8476. "in": "query"
  8477. },
  8478. {
  8479. "type": "integer",
  8480. "description": "委托单据类型",
  8481. "name": "buildType",
  8482. "in": "query"
  8483. },
  8484. {
  8485. "type": "string",
  8486. "description": "成交类别 - 格式:1,2,3",
  8487. "name": "tradeType",
  8488. "in": "query"
  8489. },
  8490. {
  8491. "type": "string",
  8492. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8493. "name": "startDate",
  8494. "in": "query"
  8495. },
  8496. {
  8497. "type": "string",
  8498. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8499. "name": "endDate",
  8500. "in": "query"
  8501. }
  8502. ],
  8503. "responses": {
  8504. "200": {
  8505. "description": "OK",
  8506. "schema": {
  8507. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8508. }
  8509. },
  8510. "500": {
  8511. "description": "Internal Server Error",
  8512. "schema": {
  8513. "$ref": "#/definitions/app.Response"
  8514. }
  8515. }
  8516. }
  8517. }
  8518. },
  8519. "/Order/QueryHisTradeOrderDetail": {
  8520. "get": {
  8521. "security": [
  8522. {
  8523. "ApiKeyAuth": []
  8524. }
  8525. ],
  8526. "produces": [
  8527. "application/json"
  8528. ],
  8529. "tags": [
  8530. "通用单据"
  8531. ],
  8532. "summary": "历史委托单查询请求(合约市场)",
  8533. "parameters": [
  8534. {
  8535. "type": "string",
  8536. "description": "资金账户 - 格式:1,2,3",
  8537. "name": "accountID",
  8538. "in": "query",
  8539. "required": true
  8540. },
  8541. {
  8542. "type": "string",
  8543. "description": "交易模式 - 格式:1,2,3",
  8544. "name": "tradeMode",
  8545. "in": "query"
  8546. },
  8547. {
  8548. "type": "string",
  8549. "description": "委托状态 - 格式:1,2,3",
  8550. "name": "orderStatus",
  8551. "in": "query"
  8552. },
  8553. {
  8554. "type": "integer",
  8555. "description": "委托单号",
  8556. "name": "orderID",
  8557. "in": "query"
  8558. },
  8559. {
  8560. "type": "string",
  8561. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8562. "name": "startDate",
  8563. "in": "query"
  8564. },
  8565. {
  8566. "type": "string",
  8567. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8568. "name": "endDate",
  8569. "in": "query"
  8570. }
  8571. ],
  8572. "responses": {
  8573. "200": {
  8574. "description": "OK",
  8575. "schema": {
  8576. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8577. }
  8578. },
  8579. "500": {
  8580. "description": "Internal Server Error",
  8581. "schema": {
  8582. "$ref": "#/definitions/app.Response"
  8583. }
  8584. }
  8585. }
  8586. }
  8587. },
  8588. "/Order/QueryTradeDetail": {
  8589. "get": {
  8590. "security": [
  8591. {
  8592. "ApiKeyAuth": []
  8593. }
  8594. ],
  8595. "produces": [
  8596. "application/json"
  8597. ],
  8598. "tags": [
  8599. "通用单据"
  8600. ],
  8601. "summary": "成交单查询(合约市场)",
  8602. "parameters": [
  8603. {
  8604. "type": "string",
  8605. "description": "资金账户 - 格式:1,2,3",
  8606. "name": "accountID",
  8607. "in": "query",
  8608. "required": true
  8609. },
  8610. {
  8611. "type": "integer",
  8612. "description": "成交单号",
  8613. "name": "tradeID",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "integer",
  8618. "description": "委托单号",
  8619. "name": "orderID",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "string",
  8624. "description": "交易模式 - 格式:1,2,3",
  8625. "name": "tradeMode",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "integer",
  8630. "description": "委托单据类型",
  8631. "name": "buildType",
  8632. "in": "query"
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "成交类别 - 格式:1,2,3",
  8637. "name": "tradeType",
  8638. "in": "query"
  8639. },
  8640. {
  8641. "type": "integer",
  8642. "description": "商品ID",
  8643. "name": "goodsID",
  8644. "in": "query"
  8645. }
  8646. ],
  8647. "responses": {
  8648. "200": {
  8649. "description": "OK",
  8650. "schema": {
  8651. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8652. }
  8653. },
  8654. "500": {
  8655. "description": "Internal Server Error",
  8656. "schema": {
  8657. "$ref": "#/definitions/app.Response"
  8658. }
  8659. }
  8660. }
  8661. }
  8662. },
  8663. "/Order/QueryTradeHolderDetail": {
  8664. "get": {
  8665. "security": [
  8666. {
  8667. "ApiKeyAuth": []
  8668. }
  8669. ],
  8670. "produces": [
  8671. "application/json"
  8672. ],
  8673. "tags": [
  8674. "通用单据"
  8675. ],
  8676. "summary": "查询持仓明细",
  8677. "parameters": [
  8678. {
  8679. "type": "integer",
  8680. "description": "用户id",
  8681. "name": "userid",
  8682. "in": "query"
  8683. },
  8684. {
  8685. "type": "string",
  8686. "description": "资金账号, 格式 1,2,3",
  8687. "name": "accids",
  8688. "in": "query"
  8689. },
  8690. {
  8691. "type": "string",
  8692. "description": "交易模式, 格式 1,2,3",
  8693. "name": "trademodes",
  8694. "in": "query"
  8695. },
  8696. {
  8697. "type": "string",
  8698. "description": "市场id, 格式 1,2,3",
  8699. "name": "marketids",
  8700. "in": "query"
  8701. },
  8702. {
  8703. "type": "integer",
  8704. "description": "商品id",
  8705. "name": "goodsid",
  8706. "in": "query"
  8707. },
  8708. {
  8709. "type": "integer",
  8710. "description": "买卖方向 0-买 1-卖",
  8711. "name": "buyorsell",
  8712. "in": "query"
  8713. }
  8714. ],
  8715. "responses": {
  8716. "200": {
  8717. "description": "OK",
  8718. "schema": {
  8719. "type": "array",
  8720. "items": {
  8721. "$ref": "#/definitions/models.TradeHolderDetail"
  8722. }
  8723. }
  8724. },
  8725. "500": {
  8726. "description": "Internal Server Error",
  8727. "schema": {
  8728. "$ref": "#/definitions/app.Response"
  8729. }
  8730. }
  8731. }
  8732. }
  8733. },
  8734. "/Order/QueryTradeOrderDetail": {
  8735. "get": {
  8736. "security": [
  8737. {
  8738. "ApiKeyAuth": []
  8739. }
  8740. ],
  8741. "produces": [
  8742. "application/json"
  8743. ],
  8744. "tags": [
  8745. "通用单据"
  8746. ],
  8747. "summary": "委托单查询请求(合约市场)",
  8748. "parameters": [
  8749. {
  8750. "type": "string",
  8751. "description": "资金账户 - 格式:1,2,3",
  8752. "name": "accountID",
  8753. "in": "query",
  8754. "required": true
  8755. },
  8756. {
  8757. "type": "string",
  8758. "description": "交易模式 - 格式:1,2,3",
  8759. "name": "tradeMode",
  8760. "in": "query"
  8761. },
  8762. {
  8763. "type": "string",
  8764. "description": "委托状态 - 格式:1,2,3",
  8765. "name": "orderStatus",
  8766. "in": "query"
  8767. },
  8768. {
  8769. "type": "integer",
  8770. "description": "委托单号",
  8771. "name": "orderID",
  8772. "in": "query"
  8773. }
  8774. ],
  8775. "responses": {
  8776. "200": {
  8777. "description": "OK",
  8778. "schema": {
  8779. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8780. }
  8781. },
  8782. "500": {
  8783. "description": "Internal Server Error",
  8784. "schema": {
  8785. "$ref": "#/definitions/app.Response"
  8786. }
  8787. }
  8788. }
  8789. }
  8790. },
  8791. "/Order/QueryTradePosition": {
  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": "string",
  8808. "description": "资金账户 - 格式:1,2,3",
  8809. "name": "accountID",
  8810. "in": "query",
  8811. "required": true
  8812. },
  8813. {
  8814. "type": "string",
  8815. "description": "交易模式 - 格式:1,2,3",
  8816. "name": "tradeMode",
  8817. "in": "query"
  8818. }
  8819. ],
  8820. "responses": {
  8821. "200": {
  8822. "description": "OK",
  8823. "schema": {
  8824. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8825. }
  8826. },
  8827. "500": {
  8828. "description": "Internal Server Error",
  8829. "schema": {
  8830. "$ref": "#/definitions/app.Response"
  8831. }
  8832. }
  8833. }
  8834. }
  8835. },
  8836. "/Quote/QueryHistoryDatas": {
  8837. "get": {
  8838. "security": [
  8839. {
  8840. "ApiKeyAuth": []
  8841. }
  8842. ],
  8843. "produces": [
  8844. "application/json"
  8845. ],
  8846. "tags": [
  8847. "行情服务"
  8848. ],
  8849. "summary": "查询行情历史数据",
  8850. "parameters": [
  8851. {
  8852. "type": "integer",
  8853. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  8854. "name": "cycleType",
  8855. "in": "query",
  8856. "required": true
  8857. },
  8858. {
  8859. "type": "string",
  8860. "description": "商品代码",
  8861. "name": "goodsCode",
  8862. "in": "query",
  8863. "required": true
  8864. },
  8865. {
  8866. "type": "string",
  8867. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8868. "name": "startTime",
  8869. "in": "query"
  8870. },
  8871. {
  8872. "type": "string",
  8873. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8874. "name": "endTime",
  8875. "in": "query"
  8876. },
  8877. {
  8878. "type": "integer",
  8879. "description": "条数",
  8880. "name": "count",
  8881. "in": "query"
  8882. },
  8883. {
  8884. "type": "boolean",
  8885. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8886. "name": "isAsc",
  8887. "in": "query"
  8888. }
  8889. ],
  8890. "responses": {
  8891. "200": {
  8892. "description": "OK",
  8893. "schema": {
  8894. "$ref": "#/definitions/quote.HistoryData"
  8895. }
  8896. },
  8897. "500": {
  8898. "description": "Internal Server Error",
  8899. "schema": {
  8900. "$ref": "#/definitions/app.Response"
  8901. }
  8902. }
  8903. }
  8904. }
  8905. },
  8906. "/Quote/QueryHistoryTikDatas": {
  8907. "get": {
  8908. "security": [
  8909. {
  8910. "ApiKeyAuth": []
  8911. }
  8912. ],
  8913. "produces": [
  8914. "application/json"
  8915. ],
  8916. "tags": [
  8917. "行情服务"
  8918. ],
  8919. "summary": "查询行情Tik数据",
  8920. "parameters": [
  8921. {
  8922. "type": "string",
  8923. "description": "商品代码",
  8924. "name": "goodsCode",
  8925. "in": "query",
  8926. "required": true
  8927. },
  8928. {
  8929. "type": "string",
  8930. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8931. "name": "startTime",
  8932. "in": "query"
  8933. },
  8934. {
  8935. "type": "string",
  8936. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8937. "name": "endTime",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "条数",
  8943. "name": "count",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "boolean",
  8948. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8949. "name": "isAsc",
  8950. "in": "query"
  8951. }
  8952. ],
  8953. "responses": {
  8954. "200": {
  8955. "description": "OK",
  8956. "schema": {
  8957. "$ref": "#/definitions/quote.HistoryTikData"
  8958. }
  8959. },
  8960. "500": {
  8961. "description": "Internal Server Error",
  8962. "schema": {
  8963. "$ref": "#/definitions/app.Response"
  8964. }
  8965. }
  8966. }
  8967. }
  8968. },
  8969. "/Quote/QueryQuoteDay": {
  8970. "get": {
  8971. "security": [
  8972. {
  8973. "ApiKeyAuth": []
  8974. }
  8975. ],
  8976. "produces": [
  8977. "application/json"
  8978. ],
  8979. "tags": [
  8980. "行情服务"
  8981. ],
  8982. "summary": "获取商品盘面信息",
  8983. "parameters": [
  8984. {
  8985. "type": "string",
  8986. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  8987. "name": "goodsCodes",
  8988. "in": "query"
  8989. }
  8990. ],
  8991. "responses": {
  8992. "200": {
  8993. "description": "OK",
  8994. "schema": {
  8995. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8996. }
  8997. },
  8998. "500": {
  8999. "description": "Internal Server Error",
  9000. "schema": {
  9001. "$ref": "#/definitions/app.Response"
  9002. }
  9003. }
  9004. }
  9005. }
  9006. },
  9007. "/Quote/QueryTSData": {
  9008. "get": {
  9009. "security": [
  9010. {
  9011. "ApiKeyAuth": []
  9012. }
  9013. ],
  9014. "produces": [
  9015. "application/json"
  9016. ],
  9017. "tags": [
  9018. "行情服务"
  9019. ],
  9020. "summary": "分时图数据查询",
  9021. "parameters": [
  9022. {
  9023. "type": "string",
  9024. "description": "商品代码",
  9025. "name": "goodsCode",
  9026. "in": "query",
  9027. "required": true
  9028. }
  9029. ],
  9030. "responses": {
  9031. "200": {
  9032. "description": "OK",
  9033. "schema": {
  9034. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9035. }
  9036. },
  9037. "500": {
  9038. "description": "Internal Server Error",
  9039. "schema": {
  9040. "$ref": "#/definitions/app.Response"
  9041. }
  9042. }
  9043. }
  9044. }
  9045. },
  9046. "/SZDZ/QueryConvertConfig": {
  9047. "get": {
  9048. "security": [
  9049. {
  9050. "ApiKeyAuth": []
  9051. }
  9052. ],
  9053. "produces": [
  9054. "application/json"
  9055. ],
  9056. "tags": [
  9057. "定制【尚志大宗】"
  9058. ],
  9059. "summary": "查询交易系统转换设置",
  9060. "parameters": [
  9061. {
  9062. "type": "integer",
  9063. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9064. "name": "convertType",
  9065. "in": "query"
  9066. },
  9067. {
  9068. "type": "string",
  9069. "description": "外部商品代码[JD\\PD]",
  9070. "name": "outerGoodsCode",
  9071. "in": "query"
  9072. },
  9073. {
  9074. "type": "string",
  9075. "description": "内部商品ID列表[交易],格式:1,2,3",
  9076. "name": "innerGoodsIDs",
  9077. "in": "query"
  9078. }
  9079. ],
  9080. "responses": {
  9081. "200": {
  9082. "description": "OK",
  9083. "schema": {
  9084. "$ref": "#/definitions/models.Szdz3convertconfig"
  9085. }
  9086. },
  9087. "500": {
  9088. "description": "Internal Server Error",
  9089. "schema": {
  9090. "$ref": "#/definitions/app.Response"
  9091. }
  9092. }
  9093. }
  9094. }
  9095. },
  9096. "/SZDZ/QueryConvertLog": {
  9097. "get": {
  9098. "security": [
  9099. {
  9100. "ApiKeyAuth": []
  9101. }
  9102. ],
  9103. "produces": [
  9104. "application/json"
  9105. ],
  9106. "tags": [
  9107. "定制【尚志大宗】"
  9108. ],
  9109. "summary": "交易系统转换流水查询",
  9110. "parameters": [
  9111. {
  9112. "type": "string",
  9113. "description": "资金账户 - 格式:1,2,3",
  9114. "name": "accountID",
  9115. "in": "query",
  9116. "required": true
  9117. },
  9118. {
  9119. "type": "string",
  9120. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9121. "name": "startDate",
  9122. "in": "query"
  9123. },
  9124. {
  9125. "type": "string",
  9126. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9127. "name": "endDate",
  9128. "in": "query"
  9129. }
  9130. ],
  9131. "responses": {
  9132. "200": {
  9133. "description": "OK",
  9134. "schema": {
  9135. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9136. }
  9137. },
  9138. "500": {
  9139. "description": "Internal Server Error",
  9140. "schema": {
  9141. "$ref": "#/definitions/app.Response"
  9142. }
  9143. }
  9144. }
  9145. }
  9146. },
  9147. "/SZDZ/QueryGoodsPickup": {
  9148. "get": {
  9149. "security": [
  9150. {
  9151. "ApiKeyAuth": []
  9152. }
  9153. ],
  9154. "produces": [
  9155. "application/json"
  9156. ],
  9157. "tags": [
  9158. "定制【尚志大宗】"
  9159. ],
  9160. "summary": "商品提货单查询",
  9161. "parameters": [
  9162. {
  9163. "type": "string",
  9164. "description": "资金账户 - 格式:1,2,3",
  9165. "name": "accountID",
  9166. "in": "query",
  9167. "required": true
  9168. },
  9169. {
  9170. "type": "integer",
  9171. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9172. "name": "takeOrderStatus",
  9173. "in": "query"
  9174. }
  9175. ],
  9176. "responses": {
  9177. "200": {
  9178. "description": "OK",
  9179. "schema": {
  9180. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9181. }
  9182. },
  9183. "500": {
  9184. "description": "Internal Server Error",
  9185. "schema": {
  9186. "$ref": "#/definitions/app.Response"
  9187. }
  9188. }
  9189. }
  9190. }
  9191. },
  9192. "/SZDZ/QueryRecieptOrder": {
  9193. "get": {
  9194. "security": [
  9195. {
  9196. "ApiKeyAuth": []
  9197. }
  9198. ],
  9199. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9200. "produces": [
  9201. "application/json"
  9202. ],
  9203. "tags": [
  9204. "定制【尚志大宗】"
  9205. ],
  9206. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9207. "parameters": [
  9208. {
  9209. "type": "integer",
  9210. "description": "页码",
  9211. "name": "page",
  9212. "in": "query"
  9213. },
  9214. {
  9215. "type": "integer",
  9216. "description": "每页条数",
  9217. "name": "pagesize",
  9218. "in": "query"
  9219. },
  9220. {
  9221. "type": "integer",
  9222. "description": "商品ID",
  9223. "name": "goodsID",
  9224. "in": "query",
  9225. "required": true
  9226. },
  9227. {
  9228. "type": "string",
  9229. "description": "所属账户名称",
  9230. "name": "accountName",
  9231. "in": "query"
  9232. },
  9233. {
  9234. "type": "integer",
  9235. "description": "市场ID",
  9236. "name": "marketID",
  9237. "in": "query"
  9238. },
  9239. {
  9240. "type": "integer",
  9241. "description": "方向 - 0:买 1:卖",
  9242. "name": "buyorsell",
  9243. "in": "query",
  9244. "required": true
  9245. }
  9246. ],
  9247. "responses": {
  9248. "200": {
  9249. "description": "OK",
  9250. "schema": {
  9251. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9252. }
  9253. },
  9254. "500": {
  9255. "description": "Internal Server Error",
  9256. "schema": {
  9257. "$ref": "#/definitions/app.Response"
  9258. }
  9259. }
  9260. }
  9261. }
  9262. },
  9263. "/SZDZ/QuerySZDZTradePosition": {
  9264. "get": {
  9265. "security": [
  9266. {
  9267. "ApiKeyAuth": []
  9268. }
  9269. ],
  9270. "produces": [
  9271. "application/json"
  9272. ],
  9273. "tags": [
  9274. "定制【尚志大宗】"
  9275. ],
  9276. "summary": "持仓汇总查询(尚志大宗)",
  9277. "parameters": [
  9278. {
  9279. "type": "integer",
  9280. "description": "资金账户",
  9281. "name": "accountID",
  9282. "in": "query",
  9283. "required": true
  9284. }
  9285. ],
  9286. "responses": {
  9287. "200": {
  9288. "description": "OK",
  9289. "schema": {
  9290. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9291. }
  9292. },
  9293. "500": {
  9294. "description": "Internal Server Error",
  9295. "schema": {
  9296. "$ref": "#/definitions/app.Response"
  9297. }
  9298. }
  9299. }
  9300. }
  9301. },
  9302. "/SZDZ/SearchWhite": {
  9303. "get": {
  9304. "security": [
  9305. {
  9306. "ApiKeyAuth": []
  9307. }
  9308. ],
  9309. "produces": [
  9310. "application/json"
  9311. ],
  9312. "tags": [
  9313. "定制【尚志大宗】"
  9314. ],
  9315. "summary": "搜索白名单",
  9316. "parameters": [
  9317. {
  9318. "type": "integer",
  9319. "description": "用户ID",
  9320. "name": "userID",
  9321. "in": "query",
  9322. "required": true
  9323. }
  9324. ],
  9325. "responses": {
  9326. "200": {
  9327. "description": "OK",
  9328. "schema": {
  9329. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9330. }
  9331. },
  9332. "500": {
  9333. "description": "Internal Server Error",
  9334. "schema": {
  9335. "$ref": "#/definitions/app.Response"
  9336. }
  9337. }
  9338. }
  9339. }
  9340. },
  9341. "/Search/SearchGoodses": {
  9342. "get": {
  9343. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9344. "produces": [
  9345. "application/json"
  9346. ],
  9347. "tags": [
  9348. "检索服务"
  9349. ],
  9350. "summary": "检索商品信息",
  9351. "parameters": [
  9352. {
  9353. "type": "string",
  9354. "description": "检索内容",
  9355. "name": "content",
  9356. "in": "query",
  9357. "required": true
  9358. },
  9359. {
  9360. "type": "string",
  9361. "description": "交易模式,格式:1,2,3",
  9362. "name": "tradeModes",
  9363. "in": "query"
  9364. }
  9365. ],
  9366. "responses": {
  9367. "200": {
  9368. "description": "OK",
  9369. "schema": {
  9370. "$ref": "#/definitions/models.SearchGoods"
  9371. }
  9372. },
  9373. "500": {
  9374. "description": "Internal Server Error",
  9375. "schema": {
  9376. "$ref": "#/definitions/app.Response"
  9377. }
  9378. }
  9379. }
  9380. }
  9381. },
  9382. "/TaAccount/GetTaAccounts": {
  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": "loginID",
  9401. "in": "query",
  9402. "required": true
  9403. },
  9404. {
  9405. "type": "integer",
  9406. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9407. "name": "taAccountType",
  9408. "in": "query"
  9409. }
  9410. ],
  9411. "responses": {
  9412. "200": {
  9413. "description": "OK",
  9414. "schema": {
  9415. "$ref": "#/definitions/models.Taaccount"
  9416. }
  9417. },
  9418. "500": {
  9419. "description": "Internal Server Error",
  9420. "schema": {
  9421. "$ref": "#/definitions/app.Response"
  9422. }
  9423. }
  9424. }
  9425. }
  9426. },
  9427. "/TaAccount/QueryAmountLog": {
  9428. "get": {
  9429. "security": [
  9430. {
  9431. "ApiKeyAuth": []
  9432. }
  9433. ],
  9434. "produces": [
  9435. "application/json"
  9436. ],
  9437. "tags": [
  9438. "资金账户"
  9439. ],
  9440. "summary": "资金流水查询(当前)",
  9441. "parameters": [
  9442. {
  9443. "type": "integer",
  9444. "description": "页码",
  9445. "name": "page",
  9446. "in": "query"
  9447. },
  9448. {
  9449. "type": "integer",
  9450. "description": "每页条数",
  9451. "name": "pagesize",
  9452. "in": "query"
  9453. },
  9454. {
  9455. "type": "string",
  9456. "description": "资金账户 - 格式:1,2,3",
  9457. "name": "accountID",
  9458. "in": "query",
  9459. "required": true
  9460. },
  9461. {
  9462. "type": "string",
  9463. "description": "资金操作类型 - 格式:1,2,3",
  9464. "name": "OperateType",
  9465. "in": "query"
  9466. }
  9467. ],
  9468. "responses": {
  9469. "200": {
  9470. "description": "OK",
  9471. "schema": {
  9472. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9473. }
  9474. },
  9475. "500": {
  9476. "description": "Internal Server Error",
  9477. "schema": {
  9478. "$ref": "#/definitions/app.Response"
  9479. }
  9480. }
  9481. }
  9482. }
  9483. },
  9484. "/TaAccount/QueryHisAmountLog": {
  9485. "get": {
  9486. "security": [
  9487. {
  9488. "ApiKeyAuth": []
  9489. }
  9490. ],
  9491. "produces": [
  9492. "application/json"
  9493. ],
  9494. "tags": [
  9495. "资金账户"
  9496. ],
  9497. "summary": "资金流水查询(历史)",
  9498. "parameters": [
  9499. {
  9500. "type": "integer",
  9501. "description": "页码",
  9502. "name": "page",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "integer",
  9507. "description": "每页条数",
  9508. "name": "pagesize",
  9509. "in": "query"
  9510. },
  9511. {
  9512. "type": "string",
  9513. "description": "资金账户 - 格式:1,2,3",
  9514. "name": "accountID",
  9515. "in": "query",
  9516. "required": true
  9517. },
  9518. {
  9519. "type": "string",
  9520. "description": "资金操作类型 - 格式:1,2,3",
  9521. "name": "OperateType",
  9522. "in": "query"
  9523. },
  9524. {
  9525. "type": "string",
  9526. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9527. "name": "startDate",
  9528. "in": "query"
  9529. },
  9530. {
  9531. "type": "string",
  9532. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9533. "name": "endDate",
  9534. "in": "query"
  9535. }
  9536. ],
  9537. "responses": {
  9538. "200": {
  9539. "description": "OK",
  9540. "schema": {
  9541. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9542. }
  9543. },
  9544. "500": {
  9545. "description": "Internal Server Error",
  9546. "schema": {
  9547. "$ref": "#/definitions/app.Response"
  9548. }
  9549. }
  9550. }
  9551. }
  9552. },
  9553. "/TaAccount/QueryRelatedTaAccount": {
  9554. "get": {
  9555. "security": [
  9556. {
  9557. "ApiKeyAuth": []
  9558. }
  9559. ],
  9560. "produces": [
  9561. "application/json"
  9562. ],
  9563. "tags": [
  9564. "资金账户"
  9565. ],
  9566. "summary": "查询关联资金账户信息",
  9567. "parameters": [
  9568. {
  9569. "type": "integer",
  9570. "description": "关联UserID",
  9571. "name": "relateduserid",
  9572. "in": "query",
  9573. "required": true
  9574. }
  9575. ],
  9576. "responses": {
  9577. "200": {
  9578. "description": "OK",
  9579. "schema": {
  9580. "type": "array",
  9581. "items": {
  9582. "$ref": "#/definitions/models.RelatedTaAccount"
  9583. }
  9584. }
  9585. },
  9586. "500": {
  9587. "description": "Internal Server Error",
  9588. "schema": {
  9589. "$ref": "#/definitions/app.Response"
  9590. }
  9591. }
  9592. }
  9593. }
  9594. },
  9595. "/Tjmd/QueryQuoteGoodsList": {
  9596. "get": {
  9597. "security": [
  9598. {
  9599. "ApiKeyAuth": []
  9600. }
  9601. ],
  9602. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  9603. "produces": [
  9604. "application/json"
  9605. ],
  9606. "tags": [
  9607. "天津麦顿"
  9608. ],
  9609. "summary": "查询掉期报价列表",
  9610. "parameters": [
  9611. {
  9612. "type": "integer",
  9613. "description": "用户类型",
  9614. "name": "usertype",
  9615. "in": "query",
  9616. "required": true
  9617. },
  9618. {
  9619. "type": "string",
  9620. "description": "市场id, 格式 1,2,3",
  9621. "name": "marketids",
  9622. "in": "query"
  9623. },
  9624. {
  9625. "type": "integer",
  9626. "description": "商品组id",
  9627. "name": "goodsgroupid",
  9628. "in": "query"
  9629. },
  9630. {
  9631. "type": "integer",
  9632. "description": "商品id",
  9633. "name": "goodsid",
  9634. "in": "query"
  9635. }
  9636. ],
  9637. "responses": {
  9638. "200": {
  9639. "description": "OK",
  9640. "schema": {
  9641. "type": "array",
  9642. "items": {
  9643. "$ref": "#/definitions/models.TjmdQuoteGoods"
  9644. }
  9645. }
  9646. },
  9647. "500": {
  9648. "description": "Internal Server Error",
  9649. "schema": {
  9650. "$ref": "#/definitions/app.Response"
  9651. }
  9652. }
  9653. }
  9654. }
  9655. },
  9656. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  9657. "get": {
  9658. "security": [
  9659. {
  9660. "ApiKeyAuth": []
  9661. }
  9662. ],
  9663. "produces": [
  9664. "application/json"
  9665. ],
  9666. "tags": [
  9667. "天津麦顿"
  9668. ],
  9669. "summary": "掉期商品订单详情(交易确认书)",
  9670. "parameters": [
  9671. {
  9672. "type": "string",
  9673. "description": "成交单号",
  9674. "name": "tradeid",
  9675. "in": "query",
  9676. "required": true
  9677. }
  9678. ],
  9679. "responses": {
  9680. "200": {
  9681. "description": "OK",
  9682. "schema": {
  9683. "type": "array",
  9684. "items": {
  9685. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  9686. }
  9687. }
  9688. },
  9689. "500": {
  9690. "description": "Internal Server Error",
  9691. "schema": {
  9692. "$ref": "#/definitions/app.Response"
  9693. }
  9694. }
  9695. }
  9696. }
  9697. },
  9698. "/Tjmd/QueryTjmdMarketSection": {
  9699. "get": {
  9700. "security": [
  9701. {
  9702. "ApiKeyAuth": []
  9703. }
  9704. ],
  9705. "produces": [
  9706. "application/json"
  9707. ],
  9708. "tags": [
  9709. "天津麦顿"
  9710. ],
  9711. "summary": "查询市场板块",
  9712. "responses": {
  9713. "200": {
  9714. "description": "OK",
  9715. "schema": {
  9716. "type": "array",
  9717. "items": {
  9718. "$ref": "#/definitions/models.TjmdMarketSection"
  9719. }
  9720. }
  9721. },
  9722. "500": {
  9723. "description": "Internal Server Error",
  9724. "schema": {
  9725. "$ref": "#/definitions/app.Response"
  9726. }
  9727. }
  9728. }
  9729. }
  9730. },
  9731. "/Tjmd/QueryTjmdTodayAccountMargin": {
  9732. "get": {
  9733. "security": [
  9734. {
  9735. "ApiKeyAuth": []
  9736. }
  9737. ],
  9738. "produces": [
  9739. "application/json"
  9740. ],
  9741. "tags": [
  9742. "天津麦顿"
  9743. ],
  9744. "summary": "查询今日账户保证金配置",
  9745. "parameters": [
  9746. {
  9747. "type": "string",
  9748. "description": "市场id",
  9749. "name": "marketid",
  9750. "in": "query"
  9751. },
  9752. {
  9753. "type": "string",
  9754. "description": "商品id",
  9755. "name": "goodsid",
  9756. "in": "query"
  9757. },
  9758. {
  9759. "type": "string",
  9760. "description": "资金账号",
  9761. "name": "accountid",
  9762. "in": "query"
  9763. }
  9764. ],
  9765. "responses": {
  9766. "200": {
  9767. "description": "OK",
  9768. "schema": {
  9769. "type": "array",
  9770. "items": {
  9771. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  9772. }
  9773. }
  9774. },
  9775. "500": {
  9776. "description": "Internal Server Error",
  9777. "schema": {
  9778. "$ref": "#/definitions/app.Response"
  9779. }
  9780. }
  9781. }
  9782. }
  9783. },
  9784. "/Tjmd/QueryTjmdTradeOrderDetail": {
  9785. "get": {
  9786. "security": [
  9787. {
  9788. "ApiKeyAuth": []
  9789. }
  9790. ],
  9791. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  9792. "produces": [
  9793. "application/json"
  9794. ],
  9795. "tags": [
  9796. "天津麦顿"
  9797. ],
  9798. "summary": "查询掉期买卖大厅",
  9799. "parameters": [
  9800. {
  9801. "type": "integer",
  9802. "description": "页码",
  9803. "name": "page",
  9804. "in": "query"
  9805. },
  9806. {
  9807. "type": "integer",
  9808. "description": "每页条数",
  9809. "name": "pagesize",
  9810. "in": "query"
  9811. },
  9812. {
  9813. "type": "integer",
  9814. "description": "用户id",
  9815. "name": "userid",
  9816. "in": "query",
  9817. "required": true
  9818. },
  9819. {
  9820. "type": "integer",
  9821. "description": "用户类型",
  9822. "name": "usertype",
  9823. "in": "query",
  9824. "required": true
  9825. },
  9826. {
  9827. "type": "string",
  9828. "description": "市场id, 格式 1,2,3",
  9829. "name": "marketids",
  9830. "in": "query"
  9831. },
  9832. {
  9833. "type": "integer",
  9834. "description": "商品id",
  9835. "name": "goodsid",
  9836. "in": "query",
  9837. "required": true
  9838. },
  9839. {
  9840. "type": "integer",
  9841. "description": "买卖方向 0-买 1-卖",
  9842. "name": "buyorsell",
  9843. "in": "query",
  9844. "required": true
  9845. }
  9846. ],
  9847. "responses": {
  9848. "200": {
  9849. "description": "OK",
  9850. "schema": {
  9851. "type": "array",
  9852. "items": {
  9853. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  9854. }
  9855. }
  9856. },
  9857. "500": {
  9858. "description": "Internal Server Error",
  9859. "schema": {
  9860. "$ref": "#/definitions/app.Response"
  9861. }
  9862. }
  9863. }
  9864. }
  9865. },
  9866. "/Tjmd/QueryTjmdTransferApply": {
  9867. "get": {
  9868. "security": [
  9869. {
  9870. "ApiKeyAuth": []
  9871. }
  9872. ],
  9873. "produces": [
  9874. "application/json"
  9875. ],
  9876. "tags": [
  9877. "天津麦顿"
  9878. ],
  9879. "summary": "查询掉期协议单",
  9880. "parameters": [
  9881. {
  9882. "type": "integer",
  9883. "description": "类型 1-我的申请 2-对方申请",
  9884. "name": "applytype",
  9885. "in": "query",
  9886. "required": true
  9887. },
  9888. {
  9889. "type": "string",
  9890. "description": "市场id, 格式 1,2,3",
  9891. "name": "marketids",
  9892. "in": "query"
  9893. },
  9894. {
  9895. "type": "string",
  9896. "description": "资金账号, 格式 25000000001,25000000003",
  9897. "name": "accountids",
  9898. "in": "query"
  9899. },
  9900. {
  9901. "type": "string",
  9902. "description": "开始交易日(yyyymmdd)",
  9903. "name": "begindate",
  9904. "in": "query"
  9905. },
  9906. {
  9907. "type": "string",
  9908. "description": "结束交易日(yyyymmdd)",
  9909. "name": "enddate",
  9910. "in": "query"
  9911. }
  9912. ],
  9913. "responses": {
  9914. "200": {
  9915. "description": "OK",
  9916. "schema": {
  9917. "type": "array",
  9918. "items": {
  9919. "$ref": "#/definitions/models.TjmdTransferApply"
  9920. }
  9921. }
  9922. },
  9923. "500": {
  9924. "description": "Internal Server Error",
  9925. "schema": {
  9926. "$ref": "#/definitions/app.Response"
  9927. }
  9928. }
  9929. }
  9930. }
  9931. },
  9932. "/Trade/QueryRecieptOrder": {
  9933. "get": {
  9934. "security": [
  9935. {
  9936. "ApiKeyAuth": []
  9937. }
  9938. ],
  9939. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9940. "produces": [
  9941. "application/json"
  9942. ],
  9943. "tags": [
  9944. "通用交易"
  9945. ],
  9946. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9947. "parameters": [
  9948. {
  9949. "type": "integer",
  9950. "description": "页码",
  9951. "name": "page",
  9952. "in": "query"
  9953. },
  9954. {
  9955. "type": "integer",
  9956. "description": "每页条数",
  9957. "name": "pagesize",
  9958. "in": "query"
  9959. },
  9960. {
  9961. "type": "integer",
  9962. "description": "商品ID",
  9963. "name": "goodsID",
  9964. "in": "query",
  9965. "required": true
  9966. },
  9967. {
  9968. "type": "string",
  9969. "description": "所属账户名称",
  9970. "name": "accountName",
  9971. "in": "query"
  9972. },
  9973. {
  9974. "type": "integer",
  9975. "description": "市场ID",
  9976. "name": "marketID",
  9977. "in": "query"
  9978. },
  9979. {
  9980. "type": "integer",
  9981. "description": "方向 - 0:买 1:卖",
  9982. "name": "buyorsell",
  9983. "in": "query",
  9984. "required": true
  9985. }
  9986. ],
  9987. "responses": {
  9988. "200": {
  9989. "description": "OK",
  9990. "schema": {
  9991. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9992. }
  9993. },
  9994. "500": {
  9995. "description": "Internal Server Error",
  9996. "schema": {
  9997. "$ref": "#/definitions/app.Response"
  9998. }
  9999. }
  10000. }
  10001. }
  10002. },
  10003. "/User/AddMessageBoard": {
  10004. "post": {
  10005. "security": [
  10006. {
  10007. "ApiKeyAuth": []
  10008. }
  10009. ],
  10010. "produces": [
  10011. "application/json"
  10012. ],
  10013. "tags": [
  10014. "用户信息"
  10015. ],
  10016. "summary": "添加用户留言板信息",
  10017. "parameters": [
  10018. {
  10019. "type": "integer",
  10020. "description": "用户ID",
  10021. "name": "userID",
  10022. "in": "query",
  10023. "required": true
  10024. },
  10025. {
  10026. "type": "string",
  10027. "description": "留言信息",
  10028. "name": "message",
  10029. "in": "query",
  10030. "required": true
  10031. },
  10032. {
  10033. "type": "string",
  10034. "description": "联系电话",
  10035. "name": "contactNum",
  10036. "in": "query",
  10037. "required": true
  10038. }
  10039. ],
  10040. "responses": {
  10041. "200": {
  10042. "description": "OK",
  10043. "schema": {
  10044. "$ref": "#/definitions/app.Response"
  10045. }
  10046. },
  10047. "500": {
  10048. "description": "Internal Server Error",
  10049. "schema": {
  10050. "$ref": "#/definitions/app.Response"
  10051. }
  10052. }
  10053. }
  10054. }
  10055. },
  10056. "/User/AddUserFavoriteGoods": {
  10057. "post": {
  10058. "security": [
  10059. {
  10060. "ApiKeyAuth": []
  10061. }
  10062. ],
  10063. "produces": [
  10064. "application/json"
  10065. ],
  10066. "tags": [
  10067. "用户信息"
  10068. ],
  10069. "summary": "添加用户商品收藏信息",
  10070. "parameters": [
  10071. {
  10072. "type": "integer",
  10073. "description": "用户ID",
  10074. "name": "userID",
  10075. "in": "query",
  10076. "required": true
  10077. },
  10078. {
  10079. "type": "integer",
  10080. "description": "商品ID",
  10081. "name": "goodsID",
  10082. "in": "query",
  10083. "required": true
  10084. }
  10085. ],
  10086. "responses": {
  10087. "200": {
  10088. "description": "OK",
  10089. "schema": {
  10090. "$ref": "#/definitions/app.Response"
  10091. }
  10092. },
  10093. "500": {
  10094. "description": "Internal Server Error",
  10095. "schema": {
  10096. "$ref": "#/definitions/app.Response"
  10097. }
  10098. }
  10099. }
  10100. }
  10101. },
  10102. "/User/GetLoginID": {
  10103. "get": {
  10104. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10105. "produces": [
  10106. "application/json"
  10107. ],
  10108. "tags": [
  10109. "用户信息"
  10110. ],
  10111. "summary": "获取登录ID",
  10112. "parameters": [
  10113. {
  10114. "type": "string",
  10115. "description": "登录代码",
  10116. "name": "username",
  10117. "in": "query",
  10118. "required": true
  10119. }
  10120. ],
  10121. "responses": {
  10122. "200": {
  10123. "description": "OK",
  10124. "schema": {
  10125. "$ref": "#/definitions/app.Response"
  10126. }
  10127. },
  10128. "500": {
  10129. "description": "Internal Server Error",
  10130. "schema": {
  10131. "$ref": "#/definitions/app.Response"
  10132. }
  10133. }
  10134. }
  10135. }
  10136. },
  10137. "/User/GetUserAccount": {
  10138. "get": {
  10139. "security": [
  10140. {
  10141. "ApiKeyAuth": []
  10142. }
  10143. ],
  10144. "produces": [
  10145. "application/json"
  10146. ],
  10147. "tags": [
  10148. "用户信息"
  10149. ],
  10150. "summary": "获取用户账号信息",
  10151. "parameters": [
  10152. {
  10153. "type": "integer",
  10154. "description": "用户ID",
  10155. "name": "userID",
  10156. "in": "query",
  10157. "required": true
  10158. }
  10159. ],
  10160. "responses": {
  10161. "200": {
  10162. "description": "OK",
  10163. "schema": {
  10164. "$ref": "#/definitions/models.Useraccount"
  10165. }
  10166. },
  10167. "500": {
  10168. "description": "Internal Server Error",
  10169. "schema": {
  10170. "$ref": "#/definitions/app.Response"
  10171. }
  10172. }
  10173. }
  10174. }
  10175. },
  10176. "/User/GetUserAuthStatus": {
  10177. "get": {
  10178. "security": [
  10179. {
  10180. "ApiKeyAuth": []
  10181. }
  10182. ],
  10183. "produces": [
  10184. "application/json"
  10185. ],
  10186. "tags": [
  10187. "用户信息"
  10188. ],
  10189. "summary": "获取用户实名认证状态",
  10190. "parameters": [
  10191. {
  10192. "type": "integer",
  10193. "description": "用户ID",
  10194. "name": "userID",
  10195. "in": "query",
  10196. "required": true
  10197. }
  10198. ],
  10199. "responses": {
  10200. "200": {
  10201. "description": "OK",
  10202. "schema": {
  10203. "$ref": "#/definitions/app.Response"
  10204. }
  10205. },
  10206. "500": {
  10207. "description": "Internal Server Error",
  10208. "schema": {
  10209. "$ref": "#/definitions/app.Response"
  10210. }
  10211. }
  10212. }
  10213. }
  10214. },
  10215. "/User/LoginQuery": {
  10216. "get": {
  10217. "security": [
  10218. {
  10219. "ApiKeyAuth": []
  10220. }
  10221. ],
  10222. "produces": [
  10223. "application/json"
  10224. ],
  10225. "tags": [
  10226. "用户信息"
  10227. ],
  10228. "summary": "账户登录后信息查询",
  10229. "parameters": [
  10230. {
  10231. "type": "integer",
  10232. "description": "登录账号",
  10233. "name": "loginID",
  10234. "in": "query",
  10235. "required": true
  10236. }
  10237. ],
  10238. "responses": {
  10239. "200": {
  10240. "description": "OK",
  10241. "schema": {
  10242. "$ref": "#/definitions/user.LoginQueryRsp"
  10243. }
  10244. },
  10245. "500": {
  10246. "description": "Internal Server Error",
  10247. "schema": {
  10248. "$ref": "#/definitions/app.Response"
  10249. }
  10250. }
  10251. }
  10252. }
  10253. },
  10254. "/User/QueryMessageBoard": {
  10255. "get": {
  10256. "security": [
  10257. {
  10258. "ApiKeyAuth": []
  10259. }
  10260. ],
  10261. "produces": [
  10262. "application/json"
  10263. ],
  10264. "tags": [
  10265. "用户信息"
  10266. ],
  10267. "summary": "获取用户留言板信息",
  10268. "parameters": [
  10269. {
  10270. "type": "integer",
  10271. "description": "用户ID",
  10272. "name": "userID",
  10273. "in": "query",
  10274. "required": true
  10275. }
  10276. ],
  10277. "responses": {
  10278. "200": {
  10279. "description": "OK",
  10280. "schema": {
  10281. "$ref": "#/definitions/models.Messageboard"
  10282. }
  10283. },
  10284. "500": {
  10285. "description": "Internal Server Error",
  10286. "schema": {
  10287. "$ref": "#/definitions/app.Response"
  10288. }
  10289. }
  10290. }
  10291. }
  10292. },
  10293. "/User/QueryUserFavoriteGoodses": {
  10294. "get": {
  10295. "security": [
  10296. {
  10297. "ApiKeyAuth": []
  10298. }
  10299. ],
  10300. "produces": [
  10301. "application/json"
  10302. ],
  10303. "tags": [
  10304. "用户信息"
  10305. ],
  10306. "summary": "获取用户商品收藏信息",
  10307. "parameters": [
  10308. {
  10309. "type": "integer",
  10310. "description": "用户ID",
  10311. "name": "userID",
  10312. "in": "query",
  10313. "required": true
  10314. }
  10315. ],
  10316. "responses": {
  10317. "200": {
  10318. "description": "OK",
  10319. "schema": {
  10320. "$ref": "#/definitions/models.Userfavoritegoods"
  10321. }
  10322. },
  10323. "500": {
  10324. "description": "Internal Server Error",
  10325. "schema": {
  10326. "$ref": "#/definitions/app.Response"
  10327. }
  10328. }
  10329. }
  10330. }
  10331. },
  10332. "/User/QueryUserInfo": {
  10333. "get": {
  10334. "security": [
  10335. {
  10336. "ApiKeyAuth": []
  10337. }
  10338. ],
  10339. "produces": [
  10340. "application/json"
  10341. ],
  10342. "tags": [
  10343. "用户信息"
  10344. ],
  10345. "summary": "获取用户信息",
  10346. "parameters": [
  10347. {
  10348. "type": "integer",
  10349. "description": "用户ID",
  10350. "name": "userID",
  10351. "in": "query",
  10352. "required": true
  10353. },
  10354. {
  10355. "type": "boolean",
  10356. "description": "是否解密",
  10357. "name": "isDecrypt",
  10358. "in": "query"
  10359. }
  10360. ],
  10361. "responses": {
  10362. "200": {
  10363. "description": "OK",
  10364. "schema": {
  10365. "$ref": "#/definitions/models.Userinfo"
  10366. }
  10367. },
  10368. "500": {
  10369. "description": "Internal Server Error",
  10370. "schema": {
  10371. "$ref": "#/definitions/app.Response"
  10372. }
  10373. }
  10374. }
  10375. }
  10376. },
  10377. "/User/QueryUserReferNum": {
  10378. "get": {
  10379. "produces": [
  10380. "application/json"
  10381. ],
  10382. "tags": [
  10383. "用户信息"
  10384. ],
  10385. "summary": "获取用户邀请码",
  10386. "parameters": [
  10387. {
  10388. "type": "integer",
  10389. "description": "用户ID",
  10390. "name": "userID",
  10391. "in": "query",
  10392. "required": true
  10393. }
  10394. ],
  10395. "responses": {
  10396. "200": {
  10397. "description": "OK",
  10398. "schema": {
  10399. "$ref": "#/definitions/app.Response"
  10400. }
  10401. },
  10402. "500": {
  10403. "description": "Internal Server Error",
  10404. "schema": {
  10405. "$ref": "#/definitions/app.Response"
  10406. }
  10407. }
  10408. }
  10409. }
  10410. },
  10411. "/User/RemoveUserFavoriteGoods": {
  10412. "post": {
  10413. "security": [
  10414. {
  10415. "ApiKeyAuth": []
  10416. }
  10417. ],
  10418. "produces": [
  10419. "application/json"
  10420. ],
  10421. "tags": [
  10422. "用户信息"
  10423. ],
  10424. "summary": "移除用户商品收藏信息",
  10425. "parameters": [
  10426. {
  10427. "type": "integer",
  10428. "description": "用户ID",
  10429. "name": "userID",
  10430. "in": "query",
  10431. "required": true
  10432. },
  10433. {
  10434. "type": "integer",
  10435. "description": "商品ID",
  10436. "name": "goodsID",
  10437. "in": "query",
  10438. "required": true
  10439. }
  10440. ],
  10441. "responses": {
  10442. "200": {
  10443. "description": "OK",
  10444. "schema": {
  10445. "$ref": "#/definitions/app.Response"
  10446. }
  10447. },
  10448. "500": {
  10449. "description": "Internal Server Error",
  10450. "schema": {
  10451. "$ref": "#/definitions/app.Response"
  10452. }
  10453. }
  10454. }
  10455. }
  10456. },
  10457. "/User/UpdateUserAccountStatus": {
  10458. "post": {
  10459. "security": [
  10460. {
  10461. "ApiKeyAuth": []
  10462. }
  10463. ],
  10464. "produces": [
  10465. "application/json"
  10466. ],
  10467. "tags": [
  10468. "用户信息"
  10469. ],
  10470. "summary": "更新用户状态",
  10471. "parameters": [
  10472. {
  10473. "type": "integer",
  10474. "description": "用户ID",
  10475. "name": "userID",
  10476. "in": "query",
  10477. "required": true
  10478. },
  10479. {
  10480. "type": "integer",
  10481. "description": "账户状态 - 4:正常 6:注销(停用)",
  10482. "name": "accountStatus",
  10483. "in": "query",
  10484. "required": true
  10485. }
  10486. ],
  10487. "responses": {
  10488. "200": {
  10489. "description": "OK",
  10490. "schema": {
  10491. "$ref": "#/definitions/app.Response"
  10492. }
  10493. },
  10494. "500": {
  10495. "description": "Internal Server Error",
  10496. "schema": {
  10497. "$ref": "#/definitions/app.Response"
  10498. }
  10499. }
  10500. }
  10501. }
  10502. },
  10503. "/WRTrade/GetAllDeliveryGoods": {
  10504. "get": {
  10505. "security": [
  10506. {
  10507. "ApiKeyAuth": []
  10508. }
  10509. ],
  10510. "produces": [
  10511. "application/json"
  10512. ],
  10513. "tags": [
  10514. "仓单贸易",
  10515. "仓单贸易"
  10516. ],
  10517. "summary": "获取带仓单分类的种类信息",
  10518. "responses": {
  10519. "200": {
  10520. "description": "OK",
  10521. "schema": {
  10522. "$ref": "#/definitions/app.Response"
  10523. }
  10524. },
  10525. "500": {
  10526. "description": "Internal Server Error",
  10527. "schema": {
  10528. "$ref": "#/definitions/app.Response"
  10529. }
  10530. }
  10531. }
  10532. }
  10533. },
  10534. "/WrTrade2/InsertXhcpSellBackApply": {
  10535. "post": {
  10536. "security": [
  10537. {
  10538. "ApiKeyAuth": []
  10539. }
  10540. ],
  10541. "produces": [
  10542. "application/json"
  10543. ],
  10544. "tags": [
  10545. "仓单贸易v2"
  10546. ],
  10547. "summary": "新增回收申请(新会陈皮)",
  10548. "parameters": [
  10549. {
  10550. "description": "回收申请",
  10551. "name": "jsonBody",
  10552. "in": "body",
  10553. "required": true,
  10554. "schema": {
  10555. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  10556. }
  10557. }
  10558. ],
  10559. "responses": {
  10560. "200": {
  10561. "description": "OK",
  10562. "schema": {
  10563. "$ref": "#/definitions/app.Response"
  10564. }
  10565. },
  10566. "500": {
  10567. "description": "Internal Server Error",
  10568. "schema": {
  10569. "$ref": "#/definitions/app.Response"
  10570. }
  10571. }
  10572. }
  10573. }
  10574. },
  10575. "/WrTrade2/QueryDeliveryGoodsSection": {
  10576. "get": {
  10577. "security": [
  10578. {
  10579. "ApiKeyAuth": []
  10580. }
  10581. ],
  10582. "produces": [
  10583. "application/json"
  10584. ],
  10585. "tags": [
  10586. "仓单贸易v2"
  10587. ],
  10588. "summary": "查询板块(分类)",
  10589. "responses": {
  10590. "200": {
  10591. "description": "OK",
  10592. "schema": {
  10593. "type": "array",
  10594. "items": {
  10595. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  10596. }
  10597. }
  10598. },
  10599. "500": {
  10600. "description": "Internal Server Error",
  10601. "schema": {
  10602. "$ref": "#/definitions/app.Response"
  10603. }
  10604. }
  10605. }
  10606. }
  10607. },
  10608. "/WrTrade2/QueryFaProductDetail": {
  10609. "get": {
  10610. "security": [
  10611. {
  10612. "ApiKeyAuth": []
  10613. }
  10614. ],
  10615. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10616. "produces": [
  10617. "application/json"
  10618. ],
  10619. "tags": [
  10620. "仓单贸易v2"
  10621. ],
  10622. "summary": "查询融资产品列表",
  10623. "parameters": [
  10624. {
  10625. "type": "integer",
  10626. "description": "仓单要素id",
  10627. "name": "wrfactortypeid",
  10628. "in": "query",
  10629. "required": true
  10630. }
  10631. ],
  10632. "responses": {
  10633. "200": {
  10634. "description": "OK",
  10635. "schema": {
  10636. "type": "array",
  10637. "items": {
  10638. "$ref": "#/definitions/models.WrFAProductDetail"
  10639. }
  10640. }
  10641. },
  10642. "500": {
  10643. "description": "Internal Server Error",
  10644. "schema": {
  10645. "$ref": "#/definitions/app.Response"
  10646. }
  10647. }
  10648. }
  10649. }
  10650. },
  10651. "/WrTrade2/QueryFilterItem": {
  10652. "get": {
  10653. "security": [
  10654. {
  10655. "ApiKeyAuth": []
  10656. }
  10657. ],
  10658. "produces": [
  10659. "application/json"
  10660. ],
  10661. "tags": [
  10662. "仓单贸易v2"
  10663. ],
  10664. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  10665. "parameters": [
  10666. {
  10667. "type": "string",
  10668. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10669. "name": "itype",
  10670. "in": "query",
  10671. "required": true
  10672. }
  10673. ],
  10674. "responses": {
  10675. "200": {
  10676. "description": "OK",
  10677. "schema": {
  10678. "type": "array",
  10679. "items": {
  10680. "$ref": "#/definitions/models.WrFilterItem"
  10681. }
  10682. }
  10683. },
  10684. "500": {
  10685. "description": "Internal Server Error",
  10686. "schema": {
  10687. "$ref": "#/definitions/app.Response"
  10688. }
  10689. }
  10690. }
  10691. }
  10692. },
  10693. "/WrTrade2/QueryFtDeliveryGoods": {
  10694. "get": {
  10695. "security": [
  10696. {
  10697. "ApiKeyAuth": []
  10698. }
  10699. ],
  10700. "produces": [
  10701. "application/json"
  10702. ],
  10703. "tags": [
  10704. "仓单贸易v2"
  10705. ],
  10706. "summary": "查询品种品类筛选框列表",
  10707. "responses": {
  10708. "200": {
  10709. "description": "OK",
  10710. "schema": {
  10711. "type": "array",
  10712. "items": {
  10713. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  10714. }
  10715. }
  10716. },
  10717. "500": {
  10718. "description": "Internal Server Error",
  10719. "schema": {
  10720. "$ref": "#/definitions/app.Response"
  10721. }
  10722. }
  10723. }
  10724. }
  10725. },
  10726. "/WrTrade2/QueryHoldLB": {
  10727. "get": {
  10728. "security": [
  10729. {
  10730. "ApiKeyAuth": []
  10731. }
  10732. ],
  10733. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  10734. "produces": [
  10735. "application/json"
  10736. ],
  10737. "tags": [
  10738. "仓单贸易v2"
  10739. ],
  10740. "summary": "查询仓单持有记录",
  10741. "parameters": [
  10742. {
  10743. "type": "integer",
  10744. "description": "资金账号",
  10745. "name": "accountid",
  10746. "in": "query",
  10747. "required": true
  10748. },
  10749. {
  10750. "type": "integer",
  10751. "description": "仓库id",
  10752. "name": "warehouseid",
  10753. "in": "query"
  10754. },
  10755. {
  10756. "type": "integer",
  10757. "description": "品种id",
  10758. "name": "deliverygoodsid",
  10759. "in": "query"
  10760. },
  10761. {
  10762. "type": "integer",
  10763. "description": "品类id",
  10764. "name": "wrstandardid",
  10765. "in": "query"
  10766. },
  10767. {
  10768. "type": "integer",
  10769. "description": "仓单要素id",
  10770. "name": "wrfactortypeid",
  10771. "in": "query"
  10772. },
  10773. {
  10774. "type": "string",
  10775. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  10776. "name": "dgitemname",
  10777. "in": "query"
  10778. }
  10779. ],
  10780. "responses": {
  10781. "200": {
  10782. "description": "OK",
  10783. "schema": {
  10784. "type": "array",
  10785. "items": {
  10786. "$ref": "#/definitions/models.WrHoldLB"
  10787. }
  10788. }
  10789. },
  10790. "500": {
  10791. "description": "Internal Server Error",
  10792. "schema": {
  10793. "$ref": "#/definitions/app.Response"
  10794. }
  10795. }
  10796. }
  10797. }
  10798. },
  10799. "/WrTrade2/QueryOrderQuote": {
  10800. "get": {
  10801. "security": [
  10802. {
  10803. "ApiKeyAuth": []
  10804. }
  10805. ],
  10806. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  10807. "produces": [
  10808. "application/json"
  10809. ],
  10810. "tags": [
  10811. "仓单贸易v2"
  10812. ],
  10813. "summary": "查询大厅行情列表",
  10814. "parameters": [
  10815. {
  10816. "type": "integer",
  10817. "description": "页码",
  10818. "name": "page",
  10819. "in": "query"
  10820. },
  10821. {
  10822. "type": "integer",
  10823. "description": "每页条数",
  10824. "name": "pagesize",
  10825. "in": "query"
  10826. },
  10827. {
  10828. "type": "integer",
  10829. "description": "仓单贸易市场id",
  10830. "name": "marketid",
  10831. "in": "query"
  10832. },
  10833. {
  10834. "type": "integer",
  10835. "description": "价格方式 - 1:固定价 2-浮动价",
  10836. "name": "wrpricetype",
  10837. "in": "query",
  10838. "required": true
  10839. },
  10840. {
  10841. "type": "integer",
  10842. "description": "0:仓单预售 1:仓单贸易",
  10843. "name": "haswr",
  10844. "in": "query"
  10845. },
  10846. {
  10847. "type": "string",
  10848. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  10849. "name": "dgitemname",
  10850. "in": "query"
  10851. },
  10852. {
  10853. "type": "integer",
  10854. "description": "仓库id(筛选条件)",
  10855. "name": "warehouseid",
  10856. "in": "query"
  10857. },
  10858. {
  10859. "type": "integer",
  10860. "description": "品种id",
  10861. "name": "deliverygoodsid",
  10862. "in": "query"
  10863. },
  10864. {
  10865. "type": "integer",
  10866. "description": "品类id",
  10867. "name": "wrstandardid",
  10868. "in": "query"
  10869. },
  10870. {
  10871. "type": "integer",
  10872. "description": "品牌id(dgfactoryitemid)",
  10873. "name": "brandid",
  10874. "in": "query"
  10875. },
  10876. {
  10877. "type": "integer",
  10878. "description": "年份id(dgfactoryitemid)",
  10879. "name": "yearsid",
  10880. "in": "query"
  10881. },
  10882. {
  10883. "type": "integer",
  10884. "description": "仓单要素id",
  10885. "name": "wrfactortypeid",
  10886. "in": "query"
  10887. },
  10888. {
  10889. "type": "string",
  10890. "description": "交收月(yyyy-mm) 仓单预售填写",
  10891. "name": "deliverymonth",
  10892. "in": "query"
  10893. }
  10894. ],
  10895. "responses": {
  10896. "200": {
  10897. "description": "OK",
  10898. "schema": {
  10899. "type": "array",
  10900. "items": {
  10901. "$ref": "#/definitions/models.WrOrderQuote"
  10902. }
  10903. }
  10904. },
  10905. "500": {
  10906. "description": "Internal Server Error",
  10907. "schema": {
  10908. "$ref": "#/definitions/app.Response"
  10909. }
  10910. }
  10911. }
  10912. }
  10913. },
  10914. "/WrTrade2/QueryOrderQuoteDetail": {
  10915. "get": {
  10916. "security": [
  10917. {
  10918. "ApiKeyAuth": []
  10919. }
  10920. ],
  10921. "produces": [
  10922. "application/json"
  10923. ],
  10924. "tags": [
  10925. "仓单贸易v2"
  10926. ],
  10927. "summary": "查询买卖大厅",
  10928. "parameters": [
  10929. {
  10930. "type": "integer",
  10931. "description": "页码",
  10932. "name": "page",
  10933. "in": "query"
  10934. },
  10935. {
  10936. "type": "integer",
  10937. "description": "每页条数",
  10938. "name": "pagesize",
  10939. "in": "query"
  10940. },
  10941. {
  10942. "type": "integer",
  10943. "description": "仓单贸易市场id",
  10944. "name": "marketid",
  10945. "in": "query"
  10946. },
  10947. {
  10948. "type": "integer",
  10949. "description": "价格方式 - 1:固定价 2-浮动价",
  10950. "name": "wrpricetype",
  10951. "in": "query",
  10952. "required": true
  10953. },
  10954. {
  10955. "type": "integer",
  10956. "description": "0:仓单预售 1:仓单贸易",
  10957. "name": "haswr",
  10958. "in": "query"
  10959. },
  10960. {
  10961. "type": "integer",
  10962. "description": "仓单要素id",
  10963. "name": "wrfactortypeid",
  10964. "in": "query",
  10965. "required": true
  10966. },
  10967. {
  10968. "type": "integer",
  10969. "description": "期货商品id(浮动价方式时填)",
  10970. "name": "goodsid",
  10971. "in": "query"
  10972. },
  10973. {
  10974. "type": "integer",
  10975. "description": "买卖方向 0-买 1-卖",
  10976. "name": "buyorsell",
  10977. "in": "query",
  10978. "required": true
  10979. },
  10980. {
  10981. "type": "string",
  10982. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  10983. "name": "deliverymonth",
  10984. "in": "query"
  10985. }
  10986. ],
  10987. "responses": {
  10988. "200": {
  10989. "description": "OK",
  10990. "schema": {
  10991. "type": "array",
  10992. "items": {
  10993. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  10994. }
  10995. }
  10996. },
  10997. "500": {
  10998. "description": "Internal Server Error",
  10999. "schema": {
  11000. "$ref": "#/definitions/app.Response"
  11001. }
  11002. }
  11003. }
  11004. }
  11005. },
  11006. "/WrTrade2/QueryOrderQuoteMyq": {
  11007. "get": {
  11008. "security": [
  11009. {
  11010. "ApiKeyAuth": []
  11011. }
  11012. ],
  11013. "produces": [
  11014. "application/json"
  11015. ],
  11016. "tags": [
  11017. "仓单贸易v2"
  11018. ],
  11019. "summary": "查询贸易圈挂牌大厅",
  11020. "parameters": [
  11021. {
  11022. "type": "integer",
  11023. "description": "页码",
  11024. "name": "page",
  11025. "in": "query"
  11026. },
  11027. {
  11028. "type": "integer",
  11029. "description": "每页条数",
  11030. "name": "pagesize",
  11031. "in": "query"
  11032. },
  11033. {
  11034. "type": "integer",
  11035. "description": "用户id",
  11036. "name": "userid",
  11037. "in": "query",
  11038. "required": true
  11039. },
  11040. {
  11041. "type": "integer",
  11042. "description": "仓单贸易市场id",
  11043. "name": "marketid",
  11044. "in": "query"
  11045. },
  11046. {
  11047. "type": "integer",
  11048. "description": "0:仓单预售 1:仓单贸易",
  11049. "name": "haswr",
  11050. "in": "query"
  11051. },
  11052. {
  11053. "type": "integer",
  11054. "description": "买卖方向 0-买 1-卖",
  11055. "name": "buyorsell",
  11056. "in": "query",
  11057. "required": true
  11058. },
  11059. {
  11060. "type": "integer",
  11061. "description": "品种id",
  11062. "name": "deliverygoodsid",
  11063. "in": "query"
  11064. },
  11065. {
  11066. "type": "integer",
  11067. "description": "品类id",
  11068. "name": "wrstandardid",
  11069. "in": "query"
  11070. },
  11071. {
  11072. "type": "string",
  11073. "description": "交收月(yyyy-mm) 仓单预售填写",
  11074. "name": "deliverymonth",
  11075. "in": "query"
  11076. },
  11077. {
  11078. "type": "string",
  11079. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11080. "name": "dgitemname",
  11081. "in": "query"
  11082. }
  11083. ],
  11084. "responses": {
  11085. "200": {
  11086. "description": "OK",
  11087. "schema": {
  11088. "type": "array",
  11089. "items": {
  11090. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11091. }
  11092. }
  11093. },
  11094. "500": {
  11095. "description": "Internal Server Error",
  11096. "schema": {
  11097. "$ref": "#/definitions/app.Response"
  11098. }
  11099. }
  11100. }
  11101. }
  11102. },
  11103. "/WrTrade2/QueryPerformancePlan": {
  11104. "get": {
  11105. "security": [
  11106. {
  11107. "ApiKeyAuth": []
  11108. }
  11109. ],
  11110. "produces": [
  11111. "application/json"
  11112. ],
  11113. "tags": [
  11114. "仓单贸易v2"
  11115. ],
  11116. "summary": "查询履约信息",
  11117. "parameters": [
  11118. {
  11119. "type": "integer",
  11120. "description": "用户id",
  11121. "name": "userid",
  11122. "in": "query",
  11123. "required": true
  11124. },
  11125. {
  11126. "type": "integer",
  11127. "description": "买卖方向 0-买 1-卖",
  11128. "name": "buyorsell",
  11129. "in": "query",
  11130. "required": true
  11131. },
  11132. {
  11133. "type": "string",
  11134. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  11135. "name": "status",
  11136. "in": "query"
  11137. },
  11138. {
  11139. "type": "string",
  11140. "description": "开始交易日(yyyymmdd)",
  11141. "name": "begindate",
  11142. "in": "query"
  11143. },
  11144. {
  11145. "type": "string",
  11146. "description": "结束交易日(yyyymmdd)",
  11147. "name": "enddate",
  11148. "in": "query"
  11149. }
  11150. ],
  11151. "responses": {
  11152. "200": {
  11153. "description": "OK",
  11154. "schema": {
  11155. "type": "array",
  11156. "items": {
  11157. "$ref": "#/definitions/models.WrPerformancePlan"
  11158. }
  11159. }
  11160. },
  11161. "500": {
  11162. "description": "Internal Server Error",
  11163. "schema": {
  11164. "$ref": "#/definitions/app.Response"
  11165. }
  11166. }
  11167. }
  11168. }
  11169. },
  11170. "/WrTrade2/QueryPermancePlanTmp": {
  11171. "get": {
  11172. "security": [
  11173. {
  11174. "ApiKeyAuth": []
  11175. }
  11176. ],
  11177. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  11178. "produces": [
  11179. "application/json"
  11180. ],
  11181. "tags": [
  11182. "仓单贸易v2"
  11183. ],
  11184. "summary": "查询履约模板",
  11185. "parameters": [
  11186. {
  11187. "type": "integer",
  11188. "description": "用户id",
  11189. "name": "userid",
  11190. "in": "query"
  11191. },
  11192. {
  11193. "type": "string",
  11194. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11195. "name": "tmptype",
  11196. "in": "query"
  11197. },
  11198. {
  11199. "type": "integer",
  11200. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11201. "name": "includepub",
  11202. "in": "query"
  11203. },
  11204. {
  11205. "type": "integer",
  11206. "description": "市场id(天津麦顿指定此参数,其它不用)",
  11207. "name": "marketid",
  11208. "in": "query"
  11209. }
  11210. ],
  11211. "responses": {
  11212. "200": {
  11213. "description": "OK",
  11214. "schema": {
  11215. "type": "array",
  11216. "items": {
  11217. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11218. }
  11219. }
  11220. },
  11221. "500": {
  11222. "description": "Internal Server Error",
  11223. "schema": {
  11224. "$ref": "#/definitions/app.Response"
  11225. }
  11226. }
  11227. }
  11228. }
  11229. },
  11230. "/WrTrade2/QuerySiteColumnDetail": {
  11231. "get": {
  11232. "security": [
  11233. {
  11234. "ApiKeyAuth": []
  11235. }
  11236. ],
  11237. "produces": [
  11238. "application/json"
  11239. ],
  11240. "tags": [
  11241. "仓单贸易v2"
  11242. ],
  11243. "summary": "查询资讯",
  11244. "parameters": [
  11245. {
  11246. "type": "integer",
  11247. "description": "页码",
  11248. "name": "page",
  11249. "in": "query"
  11250. },
  11251. {
  11252. "type": "integer",
  11253. "description": "每页条数",
  11254. "name": "pagesize",
  11255. "in": "query"
  11256. },
  11257. {
  11258. "type": "integer",
  11259. "description": "所属栏目id",
  11260. "name": "columnid",
  11261. "in": "query"
  11262. }
  11263. ],
  11264. "responses": {
  11265. "200": {
  11266. "description": "OK",
  11267. "schema": {
  11268. "type": "array",
  11269. "items": {
  11270. "$ref": "#/definitions/models.WrSiteColumnDetail"
  11271. }
  11272. }
  11273. },
  11274. "500": {
  11275. "description": "Internal Server Error",
  11276. "schema": {
  11277. "$ref": "#/definitions/app.Response"
  11278. }
  11279. }
  11280. }
  11281. }
  11282. },
  11283. "/WrTrade2/QuerySpotGroupTradeSum": {
  11284. "get": {
  11285. "security": [
  11286. {
  11287. "ApiKeyAuth": []
  11288. }
  11289. ],
  11290. "produces": [
  11291. "application/json"
  11292. ],
  11293. "tags": [
  11294. "仓单贸易v2"
  11295. ],
  11296. "summary": "查询指数",
  11297. "responses": {
  11298. "200": {
  11299. "description": "OK",
  11300. "schema": {
  11301. "type": "array",
  11302. "items": {
  11303. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  11304. }
  11305. }
  11306. },
  11307. "500": {
  11308. "description": "Internal Server Error",
  11309. "schema": {
  11310. "$ref": "#/definitions/app.Response"
  11311. }
  11312. }
  11313. }
  11314. }
  11315. },
  11316. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  11317. "get": {
  11318. "security": [
  11319. {
  11320. "ApiKeyAuth": []
  11321. }
  11322. ],
  11323. "description": "查询的结果将会按日期 从小到大 排序",
  11324. "produces": [
  11325. "application/json"
  11326. ],
  11327. "tags": [
  11328. "仓单贸易v2"
  11329. ],
  11330. "summary": "查询指数详细(价格走势图)",
  11331. "parameters": [
  11332. {
  11333. "type": "integer",
  11334. "description": "现货商品id",
  11335. "name": "deliverygoodsid",
  11336. "in": "query",
  11337. "required": true
  11338. },
  11339. {
  11340. "type": "integer",
  11341. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  11342. "name": "lastnum",
  11343. "in": "query"
  11344. }
  11345. ],
  11346. "responses": {
  11347. "200": {
  11348. "description": "OK",
  11349. "schema": {
  11350. "type": "array",
  11351. "items": {
  11352. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  11353. }
  11354. }
  11355. },
  11356. "500": {
  11357. "description": "Internal Server Error",
  11358. "schema": {
  11359. "$ref": "#/definitions/app.Response"
  11360. }
  11361. }
  11362. }
  11363. }
  11364. },
  11365. "/WrTrade2/QueryWrAverageTradePrice": {
  11366. "get": {
  11367. "security": [
  11368. {
  11369. "ApiKeyAuth": []
  11370. }
  11371. ],
  11372. "produces": [
  11373. "application/json"
  11374. ],
  11375. "tags": [
  11376. "仓单贸易v2"
  11377. ],
  11378. "summary": "查询成交价(历史走势)",
  11379. "parameters": [
  11380. {
  11381. "type": "integer",
  11382. "description": "页码",
  11383. "name": "page",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "integer",
  11388. "description": "每页条数",
  11389. "name": "pagesize",
  11390. "in": "query"
  11391. },
  11392. {
  11393. "type": "integer",
  11394. "description": "0:仓单预售 1:仓单贸易",
  11395. "name": "haswr",
  11396. "in": "query",
  11397. "required": true
  11398. },
  11399. {
  11400. "type": "integer",
  11401. "description": "仓单要素id",
  11402. "name": "wrfactortypeid",
  11403. "in": "query",
  11404. "required": true
  11405. }
  11406. ],
  11407. "responses": {
  11408. "200": {
  11409. "description": "OK",
  11410. "schema": {
  11411. "type": "array",
  11412. "items": {
  11413. "$ref": "#/definitions/models.WrAverageTradePrice"
  11414. }
  11415. }
  11416. },
  11417. "500": {
  11418. "description": "Internal Server Error",
  11419. "schema": {
  11420. "$ref": "#/definitions/app.Response"
  11421. }
  11422. }
  11423. }
  11424. }
  11425. },
  11426. "/WrTrade2/QueryWrBrandAndYears": {
  11427. "get": {
  11428. "security": [
  11429. {
  11430. "ApiKeyAuth": []
  11431. }
  11432. ],
  11433. "produces": [
  11434. "application/json"
  11435. ],
  11436. "tags": [
  11437. "仓单贸易v2"
  11438. ],
  11439. "summary": "查询品牌和年份",
  11440. "responses": {
  11441. "200": {
  11442. "description": "OK",
  11443. "schema": {
  11444. "type": "array",
  11445. "items": {
  11446. "$ref": "#/definitions/models.WrBrandAndYears"
  11447. }
  11448. }
  11449. },
  11450. "500": {
  11451. "description": "Internal Server Error",
  11452. "schema": {
  11453. "$ref": "#/definitions/app.Response"
  11454. }
  11455. }
  11456. }
  11457. }
  11458. },
  11459. "/WrTrade2/QueryWrBsGoodsInfo": {
  11460. "get": {
  11461. "security": [
  11462. {
  11463. "ApiKeyAuth": []
  11464. }
  11465. ],
  11466. "description": "合约交易/买卖大厅/详情",
  11467. "produces": [
  11468. "application/json"
  11469. ],
  11470. "tags": [
  11471. "仓单贸易v2"
  11472. ],
  11473. "summary": "查询合约交易买卖大厅详情",
  11474. "parameters": [
  11475. {
  11476. "type": "integer",
  11477. "description": "商品id",
  11478. "name": "goodsid",
  11479. "in": "query",
  11480. "required": true
  11481. }
  11482. ],
  11483. "responses": {
  11484. "200": {
  11485. "description": "OK",
  11486. "schema": {
  11487. "type": "array",
  11488. "items": {
  11489. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11490. }
  11491. }
  11492. },
  11493. "500": {
  11494. "description": "Internal Server Error",
  11495. "schema": {
  11496. "$ref": "#/definitions/app.Response"
  11497. }
  11498. }
  11499. }
  11500. }
  11501. },
  11502. "/WrTrade2/QueryWrBuybackDetail": {
  11503. "get": {
  11504. "security": [
  11505. {
  11506. "ApiKeyAuth": []
  11507. }
  11508. ],
  11509. "produces": [
  11510. "application/json"
  11511. ],
  11512. "tags": [
  11513. "仓单贸易v2"
  11514. ],
  11515. "summary": "查询仓单回购明细",
  11516. "parameters": [
  11517. {
  11518. "type": "integer",
  11519. "description": "融资合同id",
  11520. "name": "scfcontractid",
  11521. "in": "query"
  11522. }
  11523. ],
  11524. "responses": {
  11525. "200": {
  11526. "description": "OK",
  11527. "schema": {
  11528. "type": "array",
  11529. "items": {
  11530. "$ref": "#/definitions/models.WrBuybackDetail"
  11531. }
  11532. }
  11533. },
  11534. "500": {
  11535. "description": "Internal Server Error",
  11536. "schema": {
  11537. "$ref": "#/definitions/app.Response"
  11538. }
  11539. }
  11540. }
  11541. }
  11542. },
  11543. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  11544. "get": {
  11545. "security": [
  11546. {
  11547. "ApiKeyAuth": []
  11548. }
  11549. ],
  11550. "produces": [
  11551. "application/json"
  11552. ],
  11553. "tags": [
  11554. "仓单贸易v2"
  11555. ],
  11556. "summary": "查询固定广告配置",
  11557. "responses": {
  11558. "200": {
  11559. "description": "OK",
  11560. "schema": {
  11561. "type": "array",
  11562. "items": {
  11563. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  11564. }
  11565. }
  11566. },
  11567. "500": {
  11568. "description": "Internal Server Error",
  11569. "schema": {
  11570. "$ref": "#/definitions/app.Response"
  11571. }
  11572. }
  11573. }
  11574. }
  11575. },
  11576. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  11577. "get": {
  11578. "security": [
  11579. {
  11580. "ApiKeyAuth": []
  11581. }
  11582. ],
  11583. "produces": [
  11584. "application/json"
  11585. ],
  11586. "tags": [
  11587. "仓单贸易v2"
  11588. ],
  11589. "summary": "查询合约交收可点选仓单",
  11590. "parameters": [
  11591. {
  11592. "type": "integer",
  11593. "description": "资金账号",
  11594. "name": "accountid",
  11595. "in": "query",
  11596. "required": true
  11597. },
  11598. {
  11599. "type": "integer",
  11600. "description": "商品id",
  11601. "name": "goodsid",
  11602. "in": "query",
  11603. "required": true
  11604. }
  11605. ],
  11606. "responses": {
  11607. "200": {
  11608. "description": "OK",
  11609. "schema": {
  11610. "type": "array",
  11611. "items": {
  11612. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  11613. }
  11614. }
  11615. },
  11616. "500": {
  11617. "description": "Internal Server Error",
  11618. "schema": {
  11619. "$ref": "#/definitions/app.Response"
  11620. }
  11621. }
  11622. }
  11623. }
  11624. },
  11625. "/WrTrade2/QueryWrDeliveryDetail": {
  11626. "get": {
  11627. "security": [
  11628. {
  11629. "ApiKeyAuth": []
  11630. }
  11631. ],
  11632. "produces": [
  11633. "application/json"
  11634. ],
  11635. "tags": [
  11636. "仓单贸易v2"
  11637. ],
  11638. "summary": "查询交收",
  11639. "parameters": [
  11640. {
  11641. "type": "integer",
  11642. "description": "用户id",
  11643. "name": "userid",
  11644. "in": "query",
  11645. "required": true
  11646. },
  11647. {
  11648. "type": "integer",
  11649. "description": "资金账号id",
  11650. "name": "accountid",
  11651. "in": "query"
  11652. },
  11653. {
  11654. "type": "string",
  11655. "description": "开始交易日(yyyymmdd)",
  11656. "name": "begindate",
  11657. "in": "query"
  11658. },
  11659. {
  11660. "type": "string",
  11661. "description": "结束交易日(yyyymmdd)",
  11662. "name": "enddate",
  11663. "in": "query"
  11664. }
  11665. ],
  11666. "responses": {
  11667. "200": {
  11668. "description": "OK",
  11669. "schema": {
  11670. "type": "array",
  11671. "items": {
  11672. "$ref": "#/definitions/models.WrDeliveryDetail"
  11673. }
  11674. }
  11675. },
  11676. "500": {
  11677. "description": "Internal Server Error",
  11678. "schema": {
  11679. "$ref": "#/definitions/app.Response"
  11680. }
  11681. }
  11682. }
  11683. }
  11684. },
  11685. "/WrTrade2/QueryWrDraftUserInfo": {
  11686. "get": {
  11687. "security": [
  11688. {
  11689. "ApiKeyAuth": []
  11690. }
  11691. ],
  11692. "produces": [
  11693. "application/json"
  11694. ],
  11695. "tags": [
  11696. "仓单贸易v2"
  11697. ],
  11698. "summary": "查询实名认证信息",
  11699. "parameters": [
  11700. {
  11701. "type": "integer",
  11702. "description": "用户ID",
  11703. "name": "userid",
  11704. "in": "query",
  11705. "required": true
  11706. },
  11707. {
  11708. "type": "integer",
  11709. "description": "用户状态 1:正常 2:注销",
  11710. "name": "userstatus",
  11711. "in": "query"
  11712. }
  11713. ],
  11714. "responses": {
  11715. "200": {
  11716. "description": "OK",
  11717. "schema": {
  11718. "type": "array",
  11719. "items": {
  11720. "$ref": "#/definitions/models.WrDraftUserInfo"
  11721. }
  11722. }
  11723. },
  11724. "500": {
  11725. "description": "Internal Server Error",
  11726. "schema": {
  11727. "$ref": "#/definitions/app.Response"
  11728. }
  11729. }
  11730. }
  11731. }
  11732. },
  11733. "/WrTrade2/QueryWrFactorTypeInfo": {
  11734. "get": {
  11735. "security": [
  11736. {
  11737. "ApiKeyAuth": []
  11738. }
  11739. ],
  11740. "produces": [
  11741. "application/json"
  11742. ],
  11743. "tags": [
  11744. "仓单贸易v2"
  11745. ],
  11746. "summary": "查询仓单要素详细信息",
  11747. "parameters": [
  11748. {
  11749. "type": "integer",
  11750. "description": "仓单要素id",
  11751. "name": "wrfactortypeid",
  11752. "in": "query",
  11753. "required": true
  11754. }
  11755. ],
  11756. "responses": {
  11757. "200": {
  11758. "description": "OK",
  11759. "schema": {
  11760. "type": "array",
  11761. "items": {
  11762. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11763. }
  11764. }
  11765. },
  11766. "500": {
  11767. "description": "Internal Server Error",
  11768. "schema": {
  11769. "$ref": "#/definitions/app.Response"
  11770. }
  11771. }
  11772. }
  11773. }
  11774. },
  11775. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11776. "get": {
  11777. "security": [
  11778. {
  11779. "ApiKeyAuth": []
  11780. }
  11781. ],
  11782. "produces": [
  11783. "application/json"
  11784. ],
  11785. "tags": [
  11786. "仓单贸易v2"
  11787. ],
  11788. "summary": "查询仓单要素详细信息列表项",
  11789. "parameters": [
  11790. {
  11791. "type": "integer",
  11792. "description": "仓单要素id",
  11793. "name": "wrfactortypeid",
  11794. "in": "query",
  11795. "required": true
  11796. }
  11797. ],
  11798. "responses": {
  11799. "200": {
  11800. "description": "OK",
  11801. "schema": {
  11802. "type": "array",
  11803. "items": {
  11804. "$ref": "#/definitions/models.WrTypeItem"
  11805. }
  11806. }
  11807. },
  11808. "500": {
  11809. "description": "Internal Server Error",
  11810. "schema": {
  11811. "$ref": "#/definitions/app.Response"
  11812. }
  11813. }
  11814. }
  11815. }
  11816. },
  11817. "/WrTrade2/QueryWrFinanceBuyApply": {
  11818. "get": {
  11819. "security": [
  11820. {
  11821. "ApiKeyAuth": []
  11822. }
  11823. ],
  11824. "description": "页面 融资信息+ / 申请单",
  11825. "produces": [
  11826. "application/json"
  11827. ],
  11828. "tags": [
  11829. "仓单贸易v2"
  11830. ],
  11831. "summary": "查询融资购买申请",
  11832. "parameters": [
  11833. {
  11834. "type": "integer",
  11835. "description": "用户id",
  11836. "name": "userid",
  11837. "in": "query",
  11838. "required": true
  11839. }
  11840. ],
  11841. "responses": {
  11842. "200": {
  11843. "description": "OK",
  11844. "schema": {
  11845. "type": "array",
  11846. "items": {
  11847. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11848. }
  11849. }
  11850. },
  11851. "500": {
  11852. "description": "Internal Server Error",
  11853. "schema": {
  11854. "$ref": "#/definitions/app.Response"
  11855. }
  11856. }
  11857. }
  11858. }
  11859. },
  11860. "/WrTrade2/QueryWrFriendApply": {
  11861. "get": {
  11862. "security": [
  11863. {
  11864. "ApiKeyAuth": []
  11865. }
  11866. ],
  11867. "produces": [
  11868. "application/json"
  11869. ],
  11870. "tags": [
  11871. "仓单贸易v2"
  11872. ],
  11873. "summary": "查询好友申请记录",
  11874. "parameters": [
  11875. {
  11876. "type": "integer",
  11877. "description": "用户id",
  11878. "name": "userid",
  11879. "in": "query",
  11880. "required": true
  11881. }
  11882. ],
  11883. "responses": {
  11884. "200": {
  11885. "description": "OK",
  11886. "schema": {
  11887. "type": "array",
  11888. "items": {
  11889. "$ref": "#/definitions/models.WrFriendApply"
  11890. }
  11891. }
  11892. },
  11893. "500": {
  11894. "description": "Internal Server Error",
  11895. "schema": {
  11896. "$ref": "#/definitions/app.Response"
  11897. }
  11898. }
  11899. }
  11900. }
  11901. },
  11902. "/WrTrade2/QueryWrGoodsInfo": {
  11903. "get": {
  11904. "security": [
  11905. {
  11906. "ApiKeyAuth": []
  11907. }
  11908. ],
  11909. "produces": [
  11910. "application/json"
  11911. ],
  11912. "tags": [
  11913. "仓单贸易v2"
  11914. ],
  11915. "summary": "查询仓单商品信息",
  11916. "parameters": [
  11917. {
  11918. "type": "integer",
  11919. "description": "仓单贸易市场id",
  11920. "name": "marketid",
  11921. "in": "query"
  11922. },
  11923. {
  11924. "type": "integer",
  11925. "description": "0:仓单预售 1:仓单贸易",
  11926. "name": "haswr",
  11927. "in": "query",
  11928. "required": true
  11929. },
  11930. {
  11931. "type": "integer",
  11932. "description": "仓单要素id",
  11933. "name": "wrfactortypeid",
  11934. "in": "query",
  11935. "required": true
  11936. },
  11937. {
  11938. "type": "integer",
  11939. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  11940. "name": "tmplateid",
  11941. "in": "query"
  11942. }
  11943. ],
  11944. "responses": {
  11945. "200": {
  11946. "description": "OK",
  11947. "schema": {
  11948. "type": "array",
  11949. "items": {
  11950. "$ref": "#/definitions/models.WrGoodsInfo"
  11951. }
  11952. }
  11953. },
  11954. "500": {
  11955. "description": "Internal Server Error",
  11956. "schema": {
  11957. "$ref": "#/definitions/app.Response"
  11958. }
  11959. }
  11960. }
  11961. }
  11962. },
  11963. "/WrTrade2/QueryWrMarketTradeConfig": {
  11964. "get": {
  11965. "security": [
  11966. {
  11967. "ApiKeyAuth": []
  11968. }
  11969. ],
  11970. "produces": [
  11971. "application/json"
  11972. ],
  11973. "tags": [
  11974. "仓单贸易v2"
  11975. ],
  11976. "summary": "查询市场交易参数配置",
  11977. "parameters": [
  11978. {
  11979. "type": "integer",
  11980. "description": "市场id",
  11981. "name": "marketid",
  11982. "in": "query"
  11983. }
  11984. ],
  11985. "responses": {
  11986. "200": {
  11987. "description": "OK",
  11988. "schema": {
  11989. "type": "array",
  11990. "items": {
  11991. "$ref": "#/definitions/models.WrMarketTradeConfig"
  11992. }
  11993. }
  11994. },
  11995. "500": {
  11996. "description": "Internal Server Error",
  11997. "schema": {
  11998. "$ref": "#/definitions/app.Response"
  11999. }
  12000. }
  12001. }
  12002. }
  12003. },
  12004. "/WrTrade2/QueryWrOrderDetail": {
  12005. "get": {
  12006. "security": [
  12007. {
  12008. "ApiKeyAuth": []
  12009. }
  12010. ],
  12011. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  12012. "produces": [
  12013. "application/json"
  12014. ],
  12015. "tags": [
  12016. "仓单贸易v2"
  12017. ],
  12018. "summary": "查询仓单委托单",
  12019. "parameters": [
  12020. {
  12021. "type": "integer",
  12022. "description": "页码",
  12023. "name": "page",
  12024. "in": "query"
  12025. },
  12026. {
  12027. "type": "integer",
  12028. "description": "每页条数",
  12029. "name": "pagesize",
  12030. "in": "query"
  12031. },
  12032. {
  12033. "type": "integer",
  12034. "description": "用户id",
  12035. "name": "userid",
  12036. "in": "query",
  12037. "required": true
  12038. },
  12039. {
  12040. "type": "integer",
  12041. "description": "仓单贸易市场id",
  12042. "name": "marketid",
  12043. "in": "query"
  12044. },
  12045. {
  12046. "type": "integer",
  12047. "description": "0:仓单预售 1:仓单贸易",
  12048. "name": "haswr",
  12049. "in": "query",
  12050. "required": true
  12051. },
  12052. {
  12053. "type": "integer",
  12054. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  12055. "name": "bcancel",
  12056. "in": "query"
  12057. },
  12058. {
  12059. "type": "integer",
  12060. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  12061. "name": "wrtradetype",
  12062. "in": "query"
  12063. },
  12064. {
  12065. "type": "string",
  12066. "description": "开始交易日(yyyymmdd)",
  12067. "name": "begindate",
  12068. "in": "query"
  12069. },
  12070. {
  12071. "type": "string",
  12072. "description": "结束交易日(yyyymmdd)",
  12073. "name": "enddate",
  12074. "in": "query"
  12075. }
  12076. ],
  12077. "responses": {
  12078. "200": {
  12079. "description": "OK",
  12080. "schema": {
  12081. "type": "array",
  12082. "items": {
  12083. "$ref": "#/definitions/models.WrOrderDetail"
  12084. }
  12085. }
  12086. },
  12087. "500": {
  12088. "description": "Internal Server Error",
  12089. "schema": {
  12090. "$ref": "#/definitions/app.Response"
  12091. }
  12092. }
  12093. }
  12094. }
  12095. },
  12096. "/WrTrade2/QueryWrOutInApply": {
  12097. "get": {
  12098. "security": [
  12099. {
  12100. "ApiKeyAuth": []
  12101. }
  12102. ],
  12103. "produces": [
  12104. "application/json"
  12105. ],
  12106. "tags": [
  12107. "仓单贸易v2"
  12108. ],
  12109. "summary": "查询提货申请",
  12110. "parameters": [
  12111. {
  12112. "type": "integer",
  12113. "description": "页码",
  12114. "name": "page",
  12115. "in": "query"
  12116. },
  12117. {
  12118. "type": "integer",
  12119. "description": "每页条数",
  12120. "name": "pagesize",
  12121. "in": "query"
  12122. },
  12123. {
  12124. "type": "integer",
  12125. "description": "用户id",
  12126. "name": "userid",
  12127. "in": "query",
  12128. "required": true
  12129. },
  12130. {
  12131. "type": "string",
  12132. "description": "开始交易日(yyyymmdd)",
  12133. "name": "begindate",
  12134. "in": "query"
  12135. },
  12136. {
  12137. "type": "string",
  12138. "description": "结束交易日(yyyymmdd)",
  12139. "name": "enddate",
  12140. "in": "query"
  12141. }
  12142. ],
  12143. "responses": {
  12144. "200": {
  12145. "description": "OK",
  12146. "schema": {
  12147. "type": "array",
  12148. "items": {
  12149. "$ref": "#/definitions/models.WrOutInApply"
  12150. }
  12151. }
  12152. },
  12153. "500": {
  12154. "description": "Internal Server Error",
  12155. "schema": {
  12156. "$ref": "#/definitions/app.Response"
  12157. }
  12158. }
  12159. }
  12160. }
  12161. },
  12162. "/WrTrade2/QueryWrPerformancePlanStep": {
  12163. "get": {
  12164. "security": [
  12165. {
  12166. "ApiKeyAuth": []
  12167. }
  12168. ],
  12169. "produces": [
  12170. "application/json"
  12171. ],
  12172. "tags": [
  12173. "仓单贸易v2"
  12174. ],
  12175. "summary": "查询履约信息详情",
  12176. "parameters": [
  12177. {
  12178. "type": "integer",
  12179. "description": "履约计划id(performanceplanid)",
  12180. "name": "planid",
  12181. "in": "query",
  12182. "required": true
  12183. },
  12184. {
  12185. "type": "integer",
  12186. "description": "当前步骤id",
  12187. "name": "curstepid",
  12188. "in": "query"
  12189. }
  12190. ],
  12191. "responses": {
  12192. "200": {
  12193. "description": "OK",
  12194. "schema": {
  12195. "type": "array",
  12196. "items": {
  12197. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12198. }
  12199. }
  12200. },
  12201. "500": {
  12202. "description": "Internal Server Error",
  12203. "schema": {
  12204. "$ref": "#/definitions/app.Response"
  12205. }
  12206. }
  12207. }
  12208. }
  12209. },
  12210. "/WrTrade2/QueryWrPerformanceStepType": {
  12211. "get": {
  12212. "security": [
  12213. {
  12214. "ApiKeyAuth": []
  12215. }
  12216. ],
  12217. "produces": [
  12218. "application/json"
  12219. ],
  12220. "tags": [
  12221. "仓单贸易v2"
  12222. ],
  12223. "summary": "查询履约步骤枚举",
  12224. "responses": {
  12225. "200": {
  12226. "description": "OK",
  12227. "schema": {
  12228. "type": "array",
  12229. "items": {
  12230. "$ref": "#/definitions/models.WrPerformanceStepType"
  12231. }
  12232. }
  12233. },
  12234. "500": {
  12235. "description": "Internal Server Error",
  12236. "schema": {
  12237. "$ref": "#/definitions/app.Response"
  12238. }
  12239. }
  12240. }
  12241. }
  12242. },
  12243. "/WrTrade2/QueryWrPosition": {
  12244. "get": {
  12245. "security": [
  12246. {
  12247. "ApiKeyAuth": []
  12248. }
  12249. ],
  12250. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12251. "produces": [
  12252. "application/json"
  12253. ],
  12254. "tags": [
  12255. "仓单贸易v2"
  12256. ],
  12257. "summary": "查询现货(预售)仓单持仓",
  12258. "parameters": [
  12259. {
  12260. "type": "integer",
  12261. "description": "用户id",
  12262. "name": "userid",
  12263. "in": "query",
  12264. "required": true
  12265. },
  12266. {
  12267. "type": "integer",
  12268. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12269. "name": "querytype",
  12270. "in": "query",
  12271. "required": true
  12272. },
  12273. {
  12274. "type": "integer",
  12275. "description": "0:仓单预售 1:仓单贸易",
  12276. "name": "haswr",
  12277. "in": "query",
  12278. "required": true
  12279. },
  12280. {
  12281. "type": "string",
  12282. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12283. "name": "dgitemname",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "integer",
  12288. "description": "仓库id(筛选条件)",
  12289. "name": "warehouseid",
  12290. "in": "query"
  12291. },
  12292. {
  12293. "type": "integer",
  12294. "description": "品种id",
  12295. "name": "deliverygoodsid",
  12296. "in": "query"
  12297. },
  12298. {
  12299. "type": "integer",
  12300. "description": "品类id",
  12301. "name": "wrstandardid",
  12302. "in": "query"
  12303. }
  12304. ],
  12305. "responses": {
  12306. "200": {
  12307. "description": "OK",
  12308. "schema": {
  12309. "type": "array",
  12310. "items": {
  12311. "$ref": "#/definitions/models.WrPosition"
  12312. }
  12313. }
  12314. },
  12315. "500": {
  12316. "description": "Internal Server Error",
  12317. "schema": {
  12318. "$ref": "#/definitions/app.Response"
  12319. }
  12320. }
  12321. }
  12322. }
  12323. },
  12324. "/WrTrade2/QueryWrPreSaleInfo": {
  12325. "get": {
  12326. "security": [
  12327. {
  12328. "ApiKeyAuth": []
  12329. }
  12330. ],
  12331. "produces": [
  12332. "application/json"
  12333. ],
  12334. "tags": [
  12335. "仓单贸易v2"
  12336. ],
  12337. "summary": "查询新品发布",
  12338. "parameters": [
  12339. {
  12340. "type": "integer",
  12341. "description": "市场id",
  12342. "name": "marketid",
  12343. "in": "query"
  12344. },
  12345. {
  12346. "type": "string",
  12347. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  12348. "name": "presalestatus",
  12349. "in": "query"
  12350. },
  12351. {
  12352. "type": "integer",
  12353. "description": "摇号标识 - 0:未摇号 1:已摇号",
  12354. "name": "lotteryflag",
  12355. "in": "query"
  12356. },
  12357. {
  12358. "type": "integer",
  12359. "description": "最近多少条记录(按创建时间倒序)",
  12360. "name": "lastnum",
  12361. "in": "query"
  12362. }
  12363. ],
  12364. "responses": {
  12365. "200": {
  12366. "description": "OK",
  12367. "schema": {
  12368. "type": "array",
  12369. "items": {
  12370. "$ref": "#/definitions/models.WrPreSaleInfo"
  12371. }
  12372. }
  12373. },
  12374. "500": {
  12375. "description": "Internal Server Error",
  12376. "schema": {
  12377. "$ref": "#/definitions/app.Response"
  12378. }
  12379. }
  12380. }
  12381. }
  12382. },
  12383. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  12384. "get": {
  12385. "security": [
  12386. {
  12387. "ApiKeyAuth": []
  12388. }
  12389. ],
  12390. "produces": [
  12391. "application/json"
  12392. ],
  12393. "tags": [
  12394. "仓单贸易v2"
  12395. ],
  12396. "summary": "查询价格走势",
  12397. "parameters": [
  12398. {
  12399. "type": "integer",
  12400. "description": "市场id",
  12401. "name": "marketid",
  12402. "in": "query",
  12403. "required": true
  12404. },
  12405. {
  12406. "type": "integer",
  12407. "description": "现货商品id",
  12408. "name": "wrstandardid",
  12409. "in": "query",
  12410. "required": true
  12411. },
  12412. {
  12413. "type": "string",
  12414. "description": "开始交易日(yyyymmdd)",
  12415. "name": "begindate",
  12416. "in": "query"
  12417. },
  12418. {
  12419. "type": "string",
  12420. "description": "结束交易日(yyyymmdd)",
  12421. "name": "enddate",
  12422. "in": "query"
  12423. },
  12424. {
  12425. "type": "integer",
  12426. "description": "最近多少条记录(按交易日倒序)",
  12427. "name": "lastnum",
  12428. "in": "query"
  12429. },
  12430. {
  12431. "type": "boolean",
  12432. "description": "是否今日",
  12433. "name": "istoday",
  12434. "in": "query"
  12435. }
  12436. ],
  12437. "responses": {
  12438. "200": {
  12439. "description": "OK",
  12440. "schema": {
  12441. "type": "array",
  12442. "items": {
  12443. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  12444. }
  12445. }
  12446. },
  12447. "500": {
  12448. "description": "Internal Server Error",
  12449. "schema": {
  12450. "$ref": "#/definitions/app.Response"
  12451. }
  12452. }
  12453. }
  12454. }
  12455. },
  12456. "/WrTrade2/QueryWrScfContract": {
  12457. "get": {
  12458. "security": [
  12459. {
  12460. "ApiKeyAuth": []
  12461. }
  12462. ],
  12463. "produces": [
  12464. "application/json"
  12465. ],
  12466. "tags": [
  12467. "仓单贸易v2"
  12468. ],
  12469. "summary": "查询仓单贸易融资合同",
  12470. "parameters": [
  12471. {
  12472. "type": "integer",
  12473. "description": "用户id",
  12474. "name": "userid",
  12475. "in": "query",
  12476. "required": true
  12477. },
  12478. {
  12479. "type": "integer",
  12480. "description": "融资合同id",
  12481. "name": "scfcontractid",
  12482. "in": "query"
  12483. }
  12484. ],
  12485. "responses": {
  12486. "200": {
  12487. "description": "OK",
  12488. "schema": {
  12489. "type": "array",
  12490. "items": {
  12491. "$ref": "#/definitions/models.WrScfContract"
  12492. }
  12493. }
  12494. },
  12495. "500": {
  12496. "description": "Internal Server Error",
  12497. "schema": {
  12498. "$ref": "#/definitions/app.Response"
  12499. }
  12500. }
  12501. }
  12502. }
  12503. },
  12504. "/WrTrade2/QueryWrScfContractInterest": {
  12505. "get": {
  12506. "security": [
  12507. {
  12508. "ApiKeyAuth": []
  12509. }
  12510. ],
  12511. "produces": [
  12512. "application/json"
  12513. ],
  12514. "tags": [
  12515. "仓单贸易v2"
  12516. ],
  12517. "summary": "查询融资合同费用明细",
  12518. "parameters": [
  12519. {
  12520. "type": "integer",
  12521. "description": "融资合同id",
  12522. "name": "scfcontractid",
  12523. "in": "query"
  12524. }
  12525. ],
  12526. "responses": {
  12527. "200": {
  12528. "description": "OK",
  12529. "schema": {
  12530. "type": "array",
  12531. "items": {
  12532. "$ref": "#/definitions/models.WrScfContractInterest"
  12533. }
  12534. }
  12535. },
  12536. "500": {
  12537. "description": "Internal Server Error",
  12538. "schema": {
  12539. "$ref": "#/definitions/app.Response"
  12540. }
  12541. }
  12542. }
  12543. }
  12544. },
  12545. "/WrTrade2/QueryWrSearchUser": {
  12546. "get": {
  12547. "security": [
  12548. {
  12549. "ApiKeyAuth": []
  12550. }
  12551. ],
  12552. "produces": [
  12553. "application/json"
  12554. ],
  12555. "tags": [
  12556. "仓单贸易v2"
  12557. ],
  12558. "summary": "查询用户",
  12559. "parameters": [
  12560. {
  12561. "type": "string",
  12562. "description": "用户名称(模糊匹配)",
  12563. "name": "username",
  12564. "in": "query",
  12565. "required": true
  12566. }
  12567. ],
  12568. "responses": {
  12569. "200": {
  12570. "description": "OK",
  12571. "schema": {
  12572. "type": "array",
  12573. "items": {
  12574. "$ref": "#/definitions/models.WrSearchUser"
  12575. }
  12576. }
  12577. },
  12578. "500": {
  12579. "description": "Internal Server Error",
  12580. "schema": {
  12581. "$ref": "#/definitions/app.Response"
  12582. }
  12583. }
  12584. }
  12585. }
  12586. },
  12587. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12588. "get": {
  12589. "security": [
  12590. {
  12591. "ApiKeyAuth": []
  12592. }
  12593. ],
  12594. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12595. "produces": [
  12596. "application/json"
  12597. ],
  12598. "tags": [
  12599. "仓单贸易v2"
  12600. ],
  12601. "summary": "查询指定成交",
  12602. "parameters": [
  12603. {
  12604. "type": "integer",
  12605. "description": "页码",
  12606. "name": "page",
  12607. "in": "query"
  12608. },
  12609. {
  12610. "type": "integer",
  12611. "description": "每页条数",
  12612. "name": "pagesize",
  12613. "in": "query"
  12614. },
  12615. {
  12616. "type": "integer",
  12617. "description": "用户id",
  12618. "name": "userid",
  12619. "in": "query",
  12620. "required": true
  12621. },
  12622. {
  12623. "type": "integer",
  12624. "description": "仓单贸易市场id",
  12625. "name": "marketid",
  12626. "in": "query"
  12627. },
  12628. {
  12629. "type": "integer",
  12630. "description": "0:仓单预售 1:仓单贸易",
  12631. "name": "haswr",
  12632. "in": "query",
  12633. "required": true
  12634. },
  12635. {
  12636. "type": "integer",
  12637. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  12638. "name": "isspecified",
  12639. "in": "query"
  12640. }
  12641. ],
  12642. "responses": {
  12643. "200": {
  12644. "description": "OK",
  12645. "schema": {
  12646. "type": "array",
  12647. "items": {
  12648. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12649. }
  12650. }
  12651. },
  12652. "500": {
  12653. "description": "Internal Server Error",
  12654. "schema": {
  12655. "$ref": "#/definitions/app.Response"
  12656. }
  12657. }
  12658. }
  12659. }
  12660. },
  12661. "/WrTrade2/QueryWrStandardFactoryItem": {
  12662. "get": {
  12663. "security": [
  12664. {
  12665. "ApiKeyAuth": []
  12666. }
  12667. ],
  12668. "produces": [
  12669. "application/json"
  12670. ],
  12671. "tags": [
  12672. "仓单贸易v2"
  12673. ],
  12674. "summary": "查询品类要素定义项",
  12675. "parameters": [
  12676. {
  12677. "type": "integer",
  12678. "description": "品类id",
  12679. "name": "wrstandardid",
  12680. "in": "query",
  12681. "required": true
  12682. }
  12683. ],
  12684. "responses": {
  12685. "200": {
  12686. "description": "OK",
  12687. "schema": {
  12688. "type": "array",
  12689. "items": {
  12690. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12691. }
  12692. }
  12693. },
  12694. "500": {
  12695. "description": "Internal Server Error",
  12696. "schema": {
  12697. "$ref": "#/definitions/app.Response"
  12698. }
  12699. }
  12700. }
  12701. }
  12702. },
  12703. "/WrTrade2/QueryWrTradeBargainApply": {
  12704. "get": {
  12705. "security": [
  12706. {
  12707. "ApiKeyAuth": []
  12708. }
  12709. ],
  12710. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  12711. "produces": [
  12712. "application/json"
  12713. ],
  12714. "tags": [
  12715. "仓单贸易v2"
  12716. ],
  12717. "summary": "查询议价单",
  12718. "parameters": [
  12719. {
  12720. "type": "integer",
  12721. "description": "议价人id(摘牌方)",
  12722. "name": "userid",
  12723. "in": "query"
  12724. },
  12725. {
  12726. "type": "integer",
  12727. "description": "挂牌方id(查对方议价时,填写此项)",
  12728. "name": "matchuserid",
  12729. "in": "query"
  12730. },
  12731. {
  12732. "type": "integer",
  12733. "description": "关联委托单id",
  12734. "name": "wrtradeorderid",
  12735. "in": "query"
  12736. },
  12737. {
  12738. "type": "integer",
  12739. "description": "0:仓单预售 1:仓单贸易",
  12740. "name": "haswr",
  12741. "in": "query",
  12742. "required": true
  12743. },
  12744. {
  12745. "type": "string",
  12746. "description": "开始交易日(yyyymmdd)",
  12747. "name": "begindate",
  12748. "in": "query"
  12749. },
  12750. {
  12751. "type": "string",
  12752. "description": "结束交易日(yyyymmdd)",
  12753. "name": "enddate",
  12754. "in": "query"
  12755. }
  12756. ],
  12757. "responses": {
  12758. "200": {
  12759. "description": "OK",
  12760. "schema": {
  12761. "type": "array",
  12762. "items": {
  12763. "$ref": "#/definitions/models.WRTradeBargainApply"
  12764. }
  12765. }
  12766. },
  12767. "500": {
  12768. "description": "Internal Server Error",
  12769. "schema": {
  12770. "$ref": "#/definitions/app.Response"
  12771. }
  12772. }
  12773. }
  12774. }
  12775. },
  12776. "/WrTrade2/QueryWrTradeDetail": {
  12777. "get": {
  12778. "security": [
  12779. {
  12780. "ApiKeyAuth": []
  12781. }
  12782. ],
  12783. "produces": [
  12784. "application/json"
  12785. ],
  12786. "tags": [
  12787. "仓单贸易v2"
  12788. ],
  12789. "summary": "查询仓单成交明细",
  12790. "parameters": [
  12791. {
  12792. "type": "integer",
  12793. "description": "页码",
  12794. "name": "page",
  12795. "in": "query"
  12796. },
  12797. {
  12798. "type": "integer",
  12799. "description": "每页条数",
  12800. "name": "pagesize",
  12801. "in": "query"
  12802. },
  12803. {
  12804. "type": "integer",
  12805. "description": "用户id",
  12806. "name": "userid",
  12807. "in": "query",
  12808. "required": true
  12809. },
  12810. {
  12811. "type": "integer",
  12812. "description": "仓单贸易市场id",
  12813. "name": "marketid",
  12814. "in": "query"
  12815. },
  12816. {
  12817. "type": "integer",
  12818. "description": "0:仓单预售 1:仓单贸易",
  12819. "name": "haswr",
  12820. "in": "query",
  12821. "required": true
  12822. },
  12823. {
  12824. "type": "string",
  12825. "description": "开始交易日(yyyymmdd)",
  12826. "name": "begindate",
  12827. "in": "query"
  12828. },
  12829. {
  12830. "type": "string",
  12831. "description": "结束交易日(yyyymmdd)",
  12832. "name": "enddate",
  12833. "in": "query"
  12834. }
  12835. ],
  12836. "responses": {
  12837. "200": {
  12838. "description": "OK",
  12839. "schema": {
  12840. "type": "array",
  12841. "items": {
  12842. "$ref": "#/definitions/models.WrTradeDetail"
  12843. }
  12844. }
  12845. },
  12846. "500": {
  12847. "description": "Internal Server Error",
  12848. "schema": {
  12849. "$ref": "#/definitions/app.Response"
  12850. }
  12851. }
  12852. }
  12853. }
  12854. },
  12855. "/WrTrade2/QueryWrTradeOrderDetail": {
  12856. "get": {
  12857. "security": [
  12858. {
  12859. "ApiKeyAuth": []
  12860. }
  12861. ],
  12862. "produces": [
  12863. "application/json"
  12864. ],
  12865. "tags": [
  12866. "仓单贸易v2"
  12867. ],
  12868. "summary": "查询合约交易买卖大厅",
  12869. "parameters": [
  12870. {
  12871. "type": "integer",
  12872. "description": "页码",
  12873. "name": "page",
  12874. "in": "query"
  12875. },
  12876. {
  12877. "type": "integer",
  12878. "description": "每页条数",
  12879. "name": "pagesize",
  12880. "in": "query"
  12881. },
  12882. {
  12883. "type": "integer",
  12884. "description": "商品id",
  12885. "name": "goodsid",
  12886. "in": "query",
  12887. "required": true
  12888. },
  12889. {
  12890. "type": "integer",
  12891. "description": "买卖方向 0-买 1-卖",
  12892. "name": "buyorsell",
  12893. "in": "query",
  12894. "required": true
  12895. }
  12896. ],
  12897. "responses": {
  12898. "200": {
  12899. "description": "OK",
  12900. "schema": {
  12901. "type": "array",
  12902. "items": {
  12903. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12904. }
  12905. }
  12906. },
  12907. "500": {
  12908. "description": "Internal Server Error",
  12909. "schema": {
  12910. "$ref": "#/definitions/app.Response"
  12911. }
  12912. }
  12913. }
  12914. }
  12915. },
  12916. "/WrTrade2/QueryWrTradeQuote": {
  12917. "get": {
  12918. "security": [
  12919. {
  12920. "ApiKeyAuth": []
  12921. }
  12922. ],
  12923. "produces": [
  12924. "application/json"
  12925. ],
  12926. "tags": [
  12927. "仓单贸易v2"
  12928. ],
  12929. "summary": "查询仓单贸易成交行情",
  12930. "parameters": [
  12931. {
  12932. "type": "integer",
  12933. "description": "现货商品id",
  12934. "name": "wrstandardid",
  12935. "in": "query",
  12936. "required": true
  12937. },
  12938. {
  12939. "type": "string",
  12940. "description": "开始日期(yyyymmdd)",
  12941. "name": "begindate",
  12942. "in": "query",
  12943. "required": true
  12944. },
  12945. {
  12946. "type": "string",
  12947. "description": "结束日期(yyyymmdd)",
  12948. "name": "enddate",
  12949. "in": "query",
  12950. "required": true
  12951. },
  12952. {
  12953. "type": "integer",
  12954. "description": "市场id",
  12955. "name": "marketid",
  12956. "in": "query"
  12957. }
  12958. ],
  12959. "responses": {
  12960. "200": {
  12961. "description": "OK",
  12962. "schema": {
  12963. "type": "array",
  12964. "items": {
  12965. "$ref": "#/definitions/models.Wrtradetradequote"
  12966. }
  12967. }
  12968. },
  12969. "500": {
  12970. "description": "Internal Server Error",
  12971. "schema": {
  12972. "$ref": "#/definitions/app.Response"
  12973. }
  12974. }
  12975. }
  12976. }
  12977. },
  12978. "/WrTrade2/QueryWrUserFriend": {
  12979. "get": {
  12980. "security": [
  12981. {
  12982. "ApiKeyAuth": []
  12983. }
  12984. ],
  12985. "produces": [
  12986. "application/json"
  12987. ],
  12988. "tags": [
  12989. "仓单贸易v2"
  12990. ],
  12991. "summary": "查询我的朋友",
  12992. "parameters": [
  12993. {
  12994. "type": "integer",
  12995. "description": "用户id",
  12996. "name": "userid",
  12997. "in": "query",
  12998. "required": true
  12999. },
  13000. {
  13001. "type": "integer",
  13002. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13003. "name": "newuserid",
  13004. "in": "query"
  13005. }
  13006. ],
  13007. "responses": {
  13008. "200": {
  13009. "description": "OK",
  13010. "schema": {
  13011. "type": "array",
  13012. "items": {
  13013. "$ref": "#/definitions/models.WrUserFriend"
  13014. }
  13015. }
  13016. },
  13017. "500": {
  13018. "description": "Internal Server Error",
  13019. "schema": {
  13020. "$ref": "#/definitions/app.Response"
  13021. }
  13022. }
  13023. }
  13024. }
  13025. },
  13026. "/WrTrade2/QueryWrUserReceiptInfo": {
  13027. "get": {
  13028. "security": [
  13029. {
  13030. "ApiKeyAuth": []
  13031. }
  13032. ],
  13033. "produces": [
  13034. "application/json"
  13035. ],
  13036. "tags": [
  13037. "仓单贸易v2"
  13038. ],
  13039. "summary": "查询发票信息",
  13040. "parameters": [
  13041. {
  13042. "type": "integer",
  13043. "description": "用户id",
  13044. "name": "userid",
  13045. "in": "query"
  13046. },
  13047. {
  13048. "type": "integer",
  13049. "description": "发票类型 - 1:个人 2:企业",
  13050. "name": "receipttype",
  13051. "in": "query"
  13052. }
  13053. ],
  13054. "responses": {
  13055. "200": {
  13056. "description": "OK",
  13057. "schema": {
  13058. "type": "array",
  13059. "items": {
  13060. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13061. }
  13062. }
  13063. },
  13064. "500": {
  13065. "description": "Internal Server Error",
  13066. "schema": {
  13067. "$ref": "#/definitions/app.Response"
  13068. }
  13069. }
  13070. }
  13071. }
  13072. },
  13073. "/WrTrade2/QueryXhcpSellBackApply": {
  13074. "get": {
  13075. "security": [
  13076. {
  13077. "ApiKeyAuth": []
  13078. }
  13079. ],
  13080. "produces": [
  13081. "application/json"
  13082. ],
  13083. "tags": [
  13084. "仓单贸易v2"
  13085. ],
  13086. "summary": "查询我的回收申请(新会陈皮)",
  13087. "parameters": [
  13088. {
  13089. "type": "integer",
  13090. "description": "用户ID",
  13091. "name": "userid",
  13092. "in": "query",
  13093. "required": true
  13094. }
  13095. ],
  13096. "responses": {
  13097. "200": {
  13098. "description": "OK",
  13099. "schema": {
  13100. "type": "array",
  13101. "items": {
  13102. "$ref": "#/definitions/models.Xhcpsellbackapply"
  13103. }
  13104. }
  13105. },
  13106. "500": {
  13107. "description": "Internal Server Error",
  13108. "schema": {
  13109. "$ref": "#/definitions/app.Response"
  13110. }
  13111. }
  13112. }
  13113. }
  13114. },
  13115. "/ZJ/GetBankTip": {
  13116. "get": {
  13117. "produces": [
  13118. "application/json"
  13119. ],
  13120. "tags": [
  13121. "中江"
  13122. ],
  13123. "summary": "获取中江网银端出入金提示信息",
  13124. "responses": {
  13125. "200": {
  13126. "description": "OK",
  13127. "schema": {
  13128. "type": "string"
  13129. }
  13130. },
  13131. "500": {
  13132. "description": "Internal Server Error",
  13133. "schema": {
  13134. "$ref": "#/definitions/app.Response"
  13135. }
  13136. }
  13137. }
  13138. }
  13139. },
  13140. "/ZJ/GetCusBankChannels": {
  13141. "get": {
  13142. "produces": [
  13143. "application/json"
  13144. ],
  13145. "tags": [
  13146. "中江"
  13147. ],
  13148. "summary": "获取中江出入金渠道显示列表",
  13149. "responses": {
  13150. "200": {
  13151. "description": "OK",
  13152. "schema": {
  13153. "type": "array",
  13154. "items": {
  13155. "type": "string"
  13156. }
  13157. }
  13158. },
  13159. "500": {
  13160. "description": "Internal Server Error",
  13161. "schema": {
  13162. "$ref": "#/definitions/app.Response"
  13163. }
  13164. }
  13165. }
  13166. }
  13167. }
  13168. },
  13169. "definitions": {
  13170. "app.Response": {
  13171. "type": "object",
  13172. "properties": {
  13173. "code": {
  13174. "type": "integer"
  13175. },
  13176. "data": {},
  13177. "msg": {
  13178. "type": "string"
  13179. },
  13180. "page": {
  13181. "description": "页码",
  13182. "type": "integer"
  13183. },
  13184. "pagesize": {
  13185. "description": "每页条数",
  13186. "type": "integer"
  13187. },
  13188. "total": {
  13189. "description": "总条数",
  13190. "type": "integer"
  13191. }
  13192. }
  13193. },
  13194. "common.ClientMenu": {
  13195. "type": "object",
  13196. "properties": {
  13197. "children": {
  13198. "description": "子菜单列表",
  13199. "type": "array",
  13200. "items": {
  13201. "$ref": "#/definitions/common.ClientMenu"
  13202. }
  13203. },
  13204. "code": {
  13205. "description": "ID",
  13206. "type": "string"
  13207. },
  13208. "isshow": {
  13209. "description": "是否显示",
  13210. "type": "boolean"
  13211. },
  13212. "remark": {
  13213. "description": "备注",
  13214. "type": "string"
  13215. },
  13216. "rulekey": {
  13217. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13218. "type": "string"
  13219. },
  13220. "sort": {
  13221. "description": "排序",
  13222. "type": "integer"
  13223. },
  13224. "title": {
  13225. "description": "标题",
  13226. "type": "string"
  13227. },
  13228. "type": {
  13229. "description": "类型,1:菜单 2:按钮",
  13230. "type": "integer"
  13231. },
  13232. "url": {
  13233. "description": "URL",
  13234. "type": "string"
  13235. }
  13236. }
  13237. },
  13238. "common.PCWebMenu": {
  13239. "type": "object",
  13240. "properties": {
  13241. "auth": {
  13242. "description": "页面权限列表",
  13243. "type": "array",
  13244. "items": {
  13245. "$ref": "#/definitions/common.PCWebMenuAuth"
  13246. }
  13247. },
  13248. "children": {
  13249. "description": "子菜单列表",
  13250. "type": "array",
  13251. "items": {
  13252. "$ref": "#/definitions/common.PCWebMenu"
  13253. }
  13254. },
  13255. "code": {
  13256. "description": "ID,新版本中权限KEY也是这个字段",
  13257. "type": "string"
  13258. },
  13259. "component": {
  13260. "description": "路由组件",
  13261. "type": "string"
  13262. },
  13263. "isshow": {
  13264. "description": "是否显示",
  13265. "type": "boolean"
  13266. },
  13267. "path": {
  13268. "description": "路由路径",
  13269. "type": "string"
  13270. },
  13271. "remark": {
  13272. "description": "备注",
  13273. "type": "string"
  13274. },
  13275. "rulekey": {
  13276. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  13277. "type": "string"
  13278. },
  13279. "sort": {
  13280. "description": "排序",
  13281. "type": "integer"
  13282. },
  13283. "title": {
  13284. "description": "标题",
  13285. "type": "string"
  13286. },
  13287. "url": {
  13288. "description": "URL",
  13289. "type": "string"
  13290. }
  13291. }
  13292. },
  13293. "common.PCWebMenuAuth": {
  13294. "type": "object",
  13295. "properties": {
  13296. "code": {
  13297. "description": "ID,新版本中权限KEY也是这个字段",
  13298. "type": "string"
  13299. },
  13300. "isshow": {
  13301. "description": "是否显示",
  13302. "type": "boolean"
  13303. },
  13304. "label": {
  13305. "description": "标题",
  13306. "type": "string"
  13307. },
  13308. "remark": {
  13309. "description": "备注",
  13310. "type": "string"
  13311. },
  13312. "rulekey": {
  13313. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  13314. "type": "string"
  13315. }
  13316. }
  13317. },
  13318. "common.QueryImageConfigsRsp": {
  13319. "type": "object",
  13320. "required": [
  13321. "configid"
  13322. ],
  13323. "properties": {
  13324. "areauserid": {
  13325. "description": "所属机构ID",
  13326. "type": "integer"
  13327. },
  13328. "configid": {
  13329. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13330. "type": "integer"
  13331. },
  13332. "createdate": {
  13333. "description": "创建时间",
  13334. "type": "string"
  13335. },
  13336. "creatorid": {
  13337. "description": "创建人",
  13338. "type": "integer"
  13339. },
  13340. "imagedetailpath": {
  13341. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  13342. "type": "string"
  13343. },
  13344. "imagepath": {
  13345. "description": "图片",
  13346. "type": "string"
  13347. },
  13348. "imagetype": {
  13349. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13350. "type": "integer"
  13351. },
  13352. "isshow": {
  13353. "description": "是否展示 - 0:不展示 1:展示",
  13354. "type": "integer"
  13355. },
  13356. "marketid": {
  13357. "description": "市场ID",
  13358. "type": "integer"
  13359. },
  13360. "modifierid": {
  13361. "description": "操作人",
  13362. "type": "integer"
  13363. },
  13364. "sort": {
  13365. "description": "排序",
  13366. "type": "integer"
  13367. },
  13368. "title": {
  13369. "description": "标题",
  13370. "type": "string"
  13371. },
  13372. "trademode": {
  13373. "description": "交易模式",
  13374. "type": "integer"
  13375. },
  13376. "updatedate": {
  13377. "description": "修改时间",
  13378. "type": "string"
  13379. },
  13380. "url": {
  13381. "description": "链接(地址或商品ID)",
  13382. "type": "string"
  13383. },
  13384. "urltype": {
  13385. "description": "链接类型 - 1:直接地址 2:商品ID",
  13386. "type": "integer"
  13387. }
  13388. }
  13389. },
  13390. "common.QueryNoticeRsp": {
  13391. "type": "object",
  13392. "required": [
  13393. "autoid"
  13394. ],
  13395. "properties": {
  13396. "auditoruserid": {
  13397. "description": "审核人",
  13398. "type": "integer"
  13399. },
  13400. "auditremark": {
  13401. "description": "审核备注",
  13402. "type": "string"
  13403. },
  13404. "audittime": {
  13405. "description": "审核日期",
  13406. "type": "string"
  13407. },
  13408. "autoid": {
  13409. "description": "自增ID",
  13410. "type": "integer"
  13411. },
  13412. "content": {
  13413. "description": "内容",
  13414. "type": "string"
  13415. },
  13416. "createtime": {
  13417. "description": "创建时间",
  13418. "type": "string"
  13419. },
  13420. "creatorid": {
  13421. "description": "建仓人",
  13422. "type": "integer"
  13423. },
  13424. "endtime": {
  13425. "description": "结束时间",
  13426. "type": "string"
  13427. },
  13428. "istop": {
  13429. "description": "是否置顶 - 0:不置顶 1:置顶",
  13430. "type": "integer"
  13431. },
  13432. "msgiconurl": {
  13433. "description": "消息图标Url",
  13434. "type": "string"
  13435. },
  13436. "msgtype": {
  13437. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13438. "type": "integer"
  13439. },
  13440. "publisher": {
  13441. "description": "消息发布者",
  13442. "type": "string"
  13443. },
  13444. "readed": {
  13445. "description": "是否已读",
  13446. "type": "boolean"
  13447. },
  13448. "scheduletime": {
  13449. "description": "计划发送时间",
  13450. "type": "string"
  13451. },
  13452. "sendtype": {
  13453. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13454. "type": "integer"
  13455. },
  13456. "sentstatus": {
  13457. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13458. "type": "integer"
  13459. },
  13460. "title": {
  13461. "description": "标题",
  13462. "type": "string"
  13463. },
  13464. "userid": {
  13465. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13466. "type": "integer"
  13467. }
  13468. }
  13469. },
  13470. "common.QueryProvincesAndCitiesRsp": {
  13471. "type": "object",
  13472. "properties": {
  13473. "cities": {
  13474. "description": "市",
  13475. "type": "array",
  13476. "items": {
  13477. "$ref": "#/definitions/models.Division"
  13478. }
  13479. },
  13480. "province": {
  13481. "description": "省",
  13482. "$ref": "#/definitions/models.Division"
  13483. }
  13484. }
  13485. },
  13486. "common.QueryTableDefineRsp": {
  13487. "type": "object",
  13488. "required": [
  13489. "tablekey"
  13490. ],
  13491. "properties": {
  13492. "columns": {
  13493. "description": "列头信息数组",
  13494. "type": "array",
  13495. "items": {
  13496. "$ref": "#/definitions/models.Tablecolumnconfig"
  13497. }
  13498. },
  13499. "remark": {
  13500. "description": "Remark",
  13501. "type": "string"
  13502. },
  13503. "tabelmenu": {
  13504. "description": "列表菜单",
  13505. "type": "string"
  13506. },
  13507. "tablekey": {
  13508. "description": "列表Key",
  13509. "type": "string"
  13510. },
  13511. "tablename": {
  13512. "description": "列表名称",
  13513. "type": "string"
  13514. },
  13515. "tabletype": {
  13516. "description": "列表类型 - 1:管理端 2:终端",
  13517. "type": "integer"
  13518. }
  13519. }
  13520. },
  13521. "common.QueryTraderMenuRsp": {
  13522. "type": "object",
  13523. "properties": {
  13524. "OperationMenu": {
  13525. "description": "功能菜单",
  13526. "type": "array",
  13527. "items": {
  13528. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13529. }
  13530. },
  13531. "QuoteMenu": {
  13532. "description": "报价牌分类菜单",
  13533. "type": "array",
  13534. "items": {
  13535. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13536. }
  13537. }
  13538. }
  13539. },
  13540. "cptrade.Cptradepositioncancel": {
  13541. "type": "object",
  13542. "required": [
  13543. "cancelid"
  13544. ],
  13545. "properties": {
  13546. "accountid": {
  13547. "description": "申请人账户ID",
  13548. "type": "integer"
  13549. },
  13550. "applystatus": {
  13551. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13552. "type": "integer"
  13553. },
  13554. "applytime": {
  13555. "description": "申请时间",
  13556. "type": "string"
  13557. },
  13558. "cancelid": {
  13559. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13560. "type": "integer"
  13561. },
  13562. "cancelqty": {
  13563. "description": "注销数量",
  13564. "type": "integer"
  13565. },
  13566. "createtime": {
  13567. "description": "创建时间",
  13568. "type": "string"
  13569. },
  13570. "creatorid": {
  13571. "description": "创建人ID",
  13572. "type": "integer"
  13573. },
  13574. "creatorname": {
  13575. "description": "创建人",
  13576. "type": "string"
  13577. },
  13578. "goodscode": {
  13579. "description": "订单商品代码",
  13580. "type": "string"
  13581. },
  13582. "goodsid": {
  13583. "description": "商品ID",
  13584. "type": "integer"
  13585. },
  13586. "goodsname": {
  13587. "description": "订单商品名称",
  13588. "type": "string"
  13589. },
  13590. "goodunit": {
  13591. "description": "报价单位",
  13592. "type": "string"
  13593. },
  13594. "handlestatus": {
  13595. "description": "处理状态",
  13596. "type": "integer"
  13597. },
  13598. "marketid": {
  13599. "description": "市场ID",
  13600. "type": "integer"
  13601. },
  13602. "marketname": {
  13603. "description": "市场名称",
  13604. "type": "string"
  13605. },
  13606. "tradedate": {
  13607. "description": "交易日(yyyyMMdd)",
  13608. "type": "string"
  13609. },
  13610. "userid": {
  13611. "description": "申请人ID",
  13612. "type": "integer"
  13613. }
  13614. }
  13615. },
  13616. "cptrade.Cptradepresaleapply": {
  13617. "type": "object",
  13618. "required": [
  13619. "applyid"
  13620. ],
  13621. "properties": {
  13622. "accountid": {
  13623. "description": "申请人账户ID",
  13624. "type": "integer"
  13625. },
  13626. "applyid": {
  13627. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13628. "type": "integer"
  13629. },
  13630. "applyremark": {
  13631. "description": "申请备注",
  13632. "type": "string"
  13633. },
  13634. "applystatus": {
  13635. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13636. "type": "integer"
  13637. },
  13638. "applytime": {
  13639. "description": "申请时间",
  13640. "type": "string"
  13641. },
  13642. "attachmenturl": {
  13643. "description": "附件地址",
  13644. "type": "string"
  13645. },
  13646. "endtime": {
  13647. "description": "预售结束时间",
  13648. "type": "string"
  13649. },
  13650. "goodscode": {
  13651. "description": "商品代码",
  13652. "type": "string"
  13653. },
  13654. "goodsid": {
  13655. "description": "商品ID",
  13656. "type": "integer"
  13657. },
  13658. "goodsname": {
  13659. "description": "商品名称",
  13660. "type": "string"
  13661. },
  13662. "goodunit": {
  13663. "description": "报价单位",
  13664. "type": "string"
  13665. },
  13666. "handlestatus": {
  13667. "description": "处理状态",
  13668. "type": "integer"
  13669. },
  13670. "marketid": {
  13671. "description": "预售市场ID",
  13672. "type": "integer"
  13673. },
  13674. "marketname": {
  13675. "description": "预售市场名称",
  13676. "type": "string"
  13677. },
  13678. "presaleqty": {
  13679. "description": "预售数量",
  13680. "type": "integer"
  13681. },
  13682. "relatedgoodscode": {
  13683. "description": "关联交易合约代码",
  13684. "type": "string"
  13685. },
  13686. "relatedgoodsid": {
  13687. "description": "关联交易合约ID",
  13688. "type": "integer"
  13689. },
  13690. "relatedgoodsname": {
  13691. "description": "关联交易合约名称",
  13692. "type": "string"
  13693. },
  13694. "starttime": {
  13695. "description": "预售开始时间",
  13696. "type": "string"
  13697. },
  13698. "tradedate": {
  13699. "description": "交易日(yyyyMMdd)",
  13700. "type": "string"
  13701. },
  13702. "trademode": {
  13703. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13704. "type": "integer"
  13705. },
  13706. "userid": {
  13707. "description": "申请人ID",
  13708. "type": "integer"
  13709. }
  13710. }
  13711. },
  13712. "cptrade.Cptradeusergoodsdata": {
  13713. "type": "object",
  13714. "required": [
  13715. "accountid",
  13716. "goodsid"
  13717. ],
  13718. "properties": {
  13719. "EnabledQty": {
  13720. "description": "可用量",
  13721. "type": "integer"
  13722. },
  13723. "GoodsCode": {
  13724. "description": "订单商品代码",
  13725. "type": "string"
  13726. },
  13727. "GoodsName": {
  13728. "description": "订单商品名称",
  13729. "type": "string"
  13730. },
  13731. "WRStandardCode": {
  13732. "description": "仓单标准代码",
  13733. "type": "string"
  13734. },
  13735. "WRStandardName": {
  13736. "description": "仓单标准名称",
  13737. "type": "string"
  13738. },
  13739. "accountid": {
  13740. "description": "账户ID",
  13741. "type": "integer"
  13742. },
  13743. "cancelqty": {
  13744. "description": "注销量",
  13745. "type": "integer"
  13746. },
  13747. "curpresaleqty": {
  13748. "description": "当前预售量",
  13749. "type": "integer"
  13750. },
  13751. "deliveryqty": {
  13752. "description": "交割量",
  13753. "type": "integer"
  13754. },
  13755. "freezeamount": {
  13756. "description": "冻结金额",
  13757. "type": "number"
  13758. },
  13759. "goodsid": {
  13760. "description": "商品ID",
  13761. "type": "integer"
  13762. },
  13763. "goodunit": {
  13764. "description": "报价单位",
  13765. "type": "string"
  13766. },
  13767. "hasspotfreeze": {
  13768. "description": "是否有现货冻结 - 0:否 1:有",
  13769. "type": "integer"
  13770. },
  13771. "inqty": {
  13772. "description": "转入量(总数量)",
  13773. "type": "integer"
  13774. },
  13775. "marketid": {
  13776. "description": "市场ID",
  13777. "type": "integer"
  13778. },
  13779. "presaledamount": {
  13780. "description": "已预售总金额",
  13781. "type": "integer"
  13782. },
  13783. "presaledqty": {
  13784. "description": "已预售量",
  13785. "type": "integer"
  13786. },
  13787. "userid": {
  13788. "description": "用户ID",
  13789. "type": "integer"
  13790. },
  13791. "wrstandardid": {
  13792. "description": "仓单标准ID",
  13793. "type": "integer"
  13794. }
  13795. }
  13796. },
  13797. "cptrade.QueryCPTradeMyBidRsp": {
  13798. "type": "object",
  13799. "required": [
  13800. "accountid",
  13801. "goodsid",
  13802. "marketid",
  13803. "orderid",
  13804. "orderqty",
  13805. "ordertime",
  13806. "tradeprice",
  13807. "tradeqty"
  13808. ],
  13809. "properties": {
  13810. "accountid": {
  13811. "description": "账户ID[报价币种]",
  13812. "type": "integer"
  13813. },
  13814. "goodsid": {
  13815. "description": "商品ID",
  13816. "type": "integer"
  13817. },
  13818. "goodunit": {
  13819. "description": "报价单位",
  13820. "type": "string"
  13821. },
  13822. "marketid": {
  13823. "description": "市场ID",
  13824. "type": "integer"
  13825. },
  13826. "orderid": {
  13827. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13828. "type": "integer"
  13829. },
  13830. "orderprice": {
  13831. "description": "委托价格",
  13832. "type": "number"
  13833. },
  13834. "orderqty": {
  13835. "description": "委托数量",
  13836. "type": "integer"
  13837. },
  13838. "ordertime": {
  13839. "description": "委托时间",
  13840. "type": "string"
  13841. },
  13842. "ordertotalprice": {
  13843. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13844. "type": "number"
  13845. },
  13846. "ordertotalweight": {
  13847. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13848. "type": "integer"
  13849. },
  13850. "totaltotalprice": {
  13851. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13852. "type": "number"
  13853. },
  13854. "tradeprice": {
  13855. "description": "成交价格",
  13856. "type": "number"
  13857. },
  13858. "tradeqty": {
  13859. "description": "成交数量",
  13860. "type": "integer"
  13861. }
  13862. }
  13863. },
  13864. "cptrade.QueryCPTradeOrderDetailRsq": {
  13865. "type": "object",
  13866. "required": [
  13867. "accountid",
  13868. "buildtype",
  13869. "buyorsell",
  13870. "goodsid",
  13871. "marketid",
  13872. "memberuserid",
  13873. "operatetype",
  13874. "orderqty",
  13875. "ordertime",
  13876. "pricemode",
  13877. "strorderid",
  13878. "tradedate",
  13879. "validtype"
  13880. ],
  13881. "properties": {
  13882. "accountid": {
  13883. "description": "账户ID[报价币种]",
  13884. "type": "integer"
  13885. },
  13886. "buildtype": {
  13887. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13888. "type": "integer"
  13889. },
  13890. "buyorsell": {
  13891. "description": "买卖 - 0:买 1:卖",
  13892. "type": "integer"
  13893. },
  13894. "cancelorderid": {
  13895. "description": "撤单单号(撤单时填写)",
  13896. "type": "integer"
  13897. },
  13898. "cancelqty": {
  13899. "description": "撤单数量",
  13900. "type": "integer"
  13901. },
  13902. "clientordertime": {
  13903. "description": "客户端委托时间",
  13904. "type": "string"
  13905. },
  13906. "clientticket": {
  13907. "description": "客户端流水号",
  13908. "type": "string"
  13909. },
  13910. "clienttype": {
  13911. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13912. "type": "integer"
  13913. },
  13914. "closeexchagechargevalue": {
  13915. "description": "平仓交易所手续费设置值",
  13916. "type": "number"
  13917. },
  13918. "closefeealgorithm": {
  13919. "description": "平仓手续费收取方式 1:比率 2:固定",
  13920. "type": "integer"
  13921. },
  13922. "closefreezecharge": {
  13923. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13924. "type": "number"
  13925. },
  13926. "closememberchargevalue": {
  13927. "description": "平仓会员手续费设置值",
  13928. "type": "number"
  13929. },
  13930. "closeqty": {
  13931. "description": "平仓数量(先建后平操作 需要记录)",
  13932. "type": "integer"
  13933. },
  13934. "closetradeqty": {
  13935. "description": "平仓成交数量(先建后平操作,需要记录)",
  13936. "type": "integer"
  13937. },
  13938. "closeunfreezecharge": {
  13939. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13940. "type": "number"
  13941. },
  13942. "delistingtype": {
  13943. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13944. "type": "integer"
  13945. },
  13946. "freezecharge": {
  13947. "description": "冻结手续费",
  13948. "type": "number"
  13949. },
  13950. "freezemargin": {
  13951. "description": "冻结保证金(冻结交易金额)",
  13952. "type": "number"
  13953. },
  13954. "gcaccountid": {
  13955. "description": "账户ID[合约币种]",
  13956. "type": "integer"
  13957. },
  13958. "goodsid": {
  13959. "description": "商品ID",
  13960. "type": "integer"
  13961. },
  13962. "isconfirmexercise": {
  13963. "description": "是否确认行权- 0:否 1:是",
  13964. "type": "integer"
  13965. },
  13966. "ispreexercise": {
  13967. "description": "是否预申报- 0:否 1:是",
  13968. "type": "integer"
  13969. },
  13970. "listingselecttype": {
  13971. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13972. "type": "integer"
  13973. },
  13974. "marginalgorithm": {
  13975. "description": "保证金收取方式 1:比率 2:固定",
  13976. "type": "integer"
  13977. },
  13978. "marginvalue": {
  13979. "description": "即市保证金设置值",
  13980. "type": "number"
  13981. },
  13982. "marketid": {
  13983. "description": "市场ID",
  13984. "type": "integer"
  13985. },
  13986. "marketmaxsub": {
  13987. "description": "市价最大偏移范围",
  13988. "type": "number"
  13989. },
  13990. "memberuserid": {
  13991. "description": "所属会员UserID",
  13992. "type": "integer"
  13993. },
  13994. "openexchagechargevalue": {
  13995. "description": "建仓交易所手续费设置值",
  13996. "type": "number"
  13997. },
  13998. "openfeealgorithm": {
  13999. "description": "建仓手续费收取方式 1:比率 2:固定",
  14000. "type": "integer"
  14001. },
  14002. "openfreezecharge": {
  14003. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14004. "type": "number"
  14005. },
  14006. "openmemberchargevalue": {
  14007. "description": "建仓会员手续费设置值",
  14008. "type": "number"
  14009. },
  14010. "openqty": {
  14011. "description": "开仓数量(先建后平操作,需要记录)",
  14012. "type": "integer"
  14013. },
  14014. "opentradeqty": {
  14015. "description": "开仓成交数量(先建后平操作,需要记录)",
  14016. "type": "integer"
  14017. },
  14018. "openunfreezecharge": {
  14019. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14020. "type": "number"
  14021. },
  14022. "operatetype": {
  14023. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14024. "type": "integer"
  14025. },
  14026. "operatorid": {
  14027. "description": "登录账号(LoginID)",
  14028. "type": "integer"
  14029. },
  14030. "optiontype": {
  14031. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14032. "type": "integer"
  14033. },
  14034. "orderprice": {
  14035. "description": "委托价格",
  14036. "type": "number"
  14037. },
  14038. "orderqty": {
  14039. "description": "委托数量",
  14040. "type": "integer"
  14041. },
  14042. "ordersrc": {
  14043. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14044. "type": "integer"
  14045. },
  14046. "orderstatus": {
  14047. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14048. "type": "integer"
  14049. },
  14050. "ordertime": {
  14051. "description": "委托时间",
  14052. "type": "string"
  14053. },
  14054. "preexerciseprice": {
  14055. "description": "预申报价格",
  14056. "type": "number"
  14057. },
  14058. "premium": {
  14059. "description": "权利金",
  14060. "type": "number"
  14061. },
  14062. "preorderid": {
  14063. "description": "关联预埋单号(止盈止损单时填写)",
  14064. "type": "integer"
  14065. },
  14066. "pricemode": {
  14067. "description": "取价方式 - 1:市价 2: 限价",
  14068. "type": "integer"
  14069. },
  14070. "quoteid": {
  14071. "description": "报价单ID",
  14072. "type": "integer"
  14073. },
  14074. "relatedid": {
  14075. "description": "关联单号(交割单)",
  14076. "type": "integer"
  14077. },
  14078. "retcode": {
  14079. "description": "错误代码",
  14080. "type": "integer"
  14081. },
  14082. "sessionid": {
  14083. "description": "会话ID",
  14084. "type": "integer"
  14085. },
  14086. "strorderid": {
  14087. "description": "委托单号",
  14088. "type": "string"
  14089. },
  14090. "tradedate": {
  14091. "description": "交易日(yyyyMMdd)",
  14092. "type": "string"
  14093. },
  14094. "tradeproperty": {
  14095. "description": "交易属性",
  14096. "type": "integer"
  14097. },
  14098. "tradeqty": {
  14099. "description": "成交数量",
  14100. "type": "integer"
  14101. },
  14102. "unfreezecharge": {
  14103. "description": "解冻手续费",
  14104. "type": "number"
  14105. },
  14106. "unfreezemargin": {
  14107. "description": "解冻保证金",
  14108. "type": "number"
  14109. },
  14110. "updatetime": {
  14111. "description": "更新时间",
  14112. "type": "string"
  14113. },
  14114. "uuid": {
  14115. "description": "发起端唯一id",
  14116. "type": "string"
  14117. },
  14118. "validtime": {
  14119. "description": "有效期限",
  14120. "type": "string"
  14121. },
  14122. "validtype": {
  14123. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14124. "type": "integer"
  14125. },
  14126. "volumetype": {
  14127. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14128. "type": "integer"
  14129. }
  14130. }
  14131. },
  14132. "cptrade.QueryMyCPTradeGoodsRsp": {
  14133. "type": "object",
  14134. "required": [
  14135. "goodscode",
  14136. "goodsid",
  14137. "goodsname",
  14138. "marketid",
  14139. "relatedgoodscode",
  14140. "relatedgoodsname"
  14141. ],
  14142. "properties": {
  14143. "accountid": {
  14144. "description": "卖方账户ID",
  14145. "type": "integer"
  14146. },
  14147. "agreeunit": {
  14148. "description": "合约单位",
  14149. "type": "number"
  14150. },
  14151. "applyid": {
  14152. "description": "关联申请ID",
  14153. "type": "integer"
  14154. },
  14155. "attachmenturl": {
  14156. "description": "附件地址",
  14157. "type": "string"
  14158. },
  14159. "createtime": {
  14160. "description": "创建时间",
  14161. "type": "string"
  14162. },
  14163. "currencyid": {
  14164. "description": "报价货币ID",
  14165. "type": "integer"
  14166. },
  14167. "decimalplace": {
  14168. "description": "报价小数位",
  14169. "type": "integer"
  14170. },
  14171. "endtime": {
  14172. "description": "预售结束时间",
  14173. "type": "string"
  14174. },
  14175. "floorprice": {
  14176. "description": "底价[大宗式竞拍]",
  14177. "type": "number"
  14178. },
  14179. "goodscode": {
  14180. "description": "商品代码(预售)",
  14181. "type": "string"
  14182. },
  14183. "goodsdetail": {
  14184. "description": "详情[大宗]",
  14185. "type": "string"
  14186. },
  14187. "goodsid": {
  14188. "description": "商品ID(自增ID SEQ_GOODS)",
  14189. "type": "integer"
  14190. },
  14191. "goodsname": {
  14192. "description": "商品名称(预售)",
  14193. "type": "string"
  14194. },
  14195. "goodunit": {
  14196. "description": "报价单位",
  14197. "type": "string"
  14198. },
  14199. "goodunitid": {
  14200. "description": "报价单位ID",
  14201. "type": "integer"
  14202. },
  14203. "marketid": {
  14204. "description": "所属市场ID",
  14205. "type": "integer"
  14206. },
  14207. "marketname": {
  14208. "description": "预售市场名称",
  14209. "type": "string"
  14210. },
  14211. "presaledamount": {
  14212. "description": "已预售总金额(预售结束时更新)",
  14213. "type": "number"
  14214. },
  14215. "presaledqty": {
  14216. "description": "已预售量(预售结束时更新)",
  14217. "type": "integer"
  14218. },
  14219. "presalemode": {
  14220. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14221. "type": "integer"
  14222. },
  14223. "presaleqty": {
  14224. "description": "预售数量",
  14225. "type": "integer"
  14226. },
  14227. "refprice": {
  14228. "description": "参考价格[一口价]",
  14229. "type": "number"
  14230. },
  14231. "relatedgoodscode": {
  14232. "description": "商品代码(订单)",
  14233. "type": "string"
  14234. },
  14235. "relatedgoodsid": {
  14236. "description": "关联交易合约ID",
  14237. "type": "integer"
  14238. },
  14239. "relatedgoodsname": {
  14240. "description": "商品名称(订单)",
  14241. "type": "string"
  14242. },
  14243. "relatedmarketid": {
  14244. "description": "关联交易合约市场ID",
  14245. "type": "integer"
  14246. },
  14247. "sellstatus": {
  14248. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14249. "type": "integer"
  14250. },
  14251. "startprice": {
  14252. "description": "起拍价[大宗式竞拍]",
  14253. "type": "number"
  14254. },
  14255. "starttime": {
  14256. "description": "预售开始时间",
  14257. "type": "string"
  14258. },
  14259. "tradedate": {
  14260. "description": "交易日(yyyyMMdd)",
  14261. "type": "string"
  14262. },
  14263. "tradeprice": {
  14264. "description": "成交价[大宗]",
  14265. "type": "number"
  14266. },
  14267. "userid": {
  14268. "description": "卖方用户ID",
  14269. "type": "integer"
  14270. }
  14271. }
  14272. },
  14273. "cptrade.QueryPresaleGoodsExRsp": {
  14274. "type": "object",
  14275. "required": [
  14276. "goodsid"
  14277. ],
  14278. "properties": {
  14279. "attachmenturl": {
  14280. "description": "附件地址",
  14281. "type": "string"
  14282. },
  14283. "createtime": {
  14284. "description": "创建时间",
  14285. "type": "string"
  14286. },
  14287. "endtime": {
  14288. "description": "预售结束时间",
  14289. "type": "string"
  14290. },
  14291. "floorprice": {
  14292. "description": "底价[大宗式竞拍]",
  14293. "type": "number"
  14294. },
  14295. "goodsdetail": {
  14296. "description": "详情[大宗]",
  14297. "type": "string"
  14298. },
  14299. "goodsid": {
  14300. "description": "商品ID(预售)",
  14301. "type": "integer"
  14302. },
  14303. "goodunit": {
  14304. "description": "报价单位",
  14305. "type": "string"
  14306. },
  14307. "marketid": {
  14308. "description": "预售市场ID - 根据预售模式选择市场",
  14309. "type": "integer"
  14310. },
  14311. "presaledamount": {
  14312. "description": "已预售总金额(预售结束时更新)",
  14313. "type": "number"
  14314. },
  14315. "presaledqty": {
  14316. "description": "已预售量(预售结束时更新)",
  14317. "type": "integer"
  14318. },
  14319. "presalemode": {
  14320. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14321. "type": "integer"
  14322. },
  14323. "presaleqty": {
  14324. "description": "预售数量",
  14325. "type": "integer"
  14326. },
  14327. "refprice": {
  14328. "description": "参考价格[一口价]",
  14329. "type": "number"
  14330. },
  14331. "relatedgoodsid": {
  14332. "description": "关联交易合约ID",
  14333. "type": "integer"
  14334. },
  14335. "relatedmarketid": {
  14336. "description": "关联交易合约市场ID",
  14337. "type": "integer"
  14338. },
  14339. "sellstatus": {
  14340. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14341. "type": "integer"
  14342. },
  14343. "startprice": {
  14344. "description": "起拍价[大宗式竞拍]",
  14345. "type": "number"
  14346. },
  14347. "starttime": {
  14348. "description": "预售开始时间",
  14349. "type": "string"
  14350. },
  14351. "tradedate": {
  14352. "description": "交易日(yyyyMMdd)",
  14353. "type": "string"
  14354. },
  14355. "tradeprice": {
  14356. "description": "成交价[大宗]",
  14357. "type": "number"
  14358. }
  14359. }
  14360. },
  14361. "delivery.QueryDeliveryRelationRsp": {
  14362. "type": "object",
  14363. "required": [
  14364. "begindate",
  14365. "enddate",
  14366. "goodsid",
  14367. "mindeliveryqty",
  14368. "xdeliveryratio"
  14369. ],
  14370. "properties": {
  14371. "begindate": {
  14372. "description": "起始日期(yyyyMMdd)",
  14373. "type": "string"
  14374. },
  14375. "buytemplateid": {
  14376. "description": "买履约计划模板ID",
  14377. "type": "integer"
  14378. },
  14379. "deliverygoodscode": {
  14380. "description": "品种代码",
  14381. "type": "string"
  14382. },
  14383. "deliverygoodsid": {
  14384. "description": "交割商品",
  14385. "type": "integer"
  14386. },
  14387. "deliverygoodsname": {
  14388. "description": "品种名称",
  14389. "type": "string"
  14390. },
  14391. "deliverymode": {
  14392. "description": "交割方式 - 1:点选式 2:申报式",
  14393. "type": "integer"
  14394. },
  14395. "deliverypricerule": {
  14396. "description": "交割价规则- 1:行情价 2:建仓价",
  14397. "type": "integer"
  14398. },
  14399. "deliverytype": {
  14400. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14401. "type": "integer"
  14402. },
  14403. "enddate": {
  14404. "description": "结束日期(yyyyMMdd)",
  14405. "type": "string"
  14406. },
  14407. "enumdicname": {
  14408. "description": "品类单位名称",
  14409. "type": "string"
  14410. },
  14411. "goodscode": {
  14412. "description": "商品代码",
  14413. "type": "string"
  14414. },
  14415. "goodsid": {
  14416. "description": "交易合约ID",
  14417. "type": "integer"
  14418. },
  14419. "goodsname": {
  14420. "description": "商品名称",
  14421. "type": "string"
  14422. },
  14423. "marketid": {
  14424. "description": "市场ID",
  14425. "type": "integer"
  14426. },
  14427. "mindeliveryqty": {
  14428. "description": "最小交割系数(K)",
  14429. "type": "integer"
  14430. },
  14431. "p2deliveryprice": {
  14432. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14433. "type": "number"
  14434. },
  14435. "p2deliveryratio": {
  14436. "description": "P2合约系数(p)",
  14437. "type": "integer"
  14438. },
  14439. "p2goodsid": {
  14440. "description": "P2合约ID",
  14441. "type": "integer"
  14442. },
  14443. "p2pricemode": {
  14444. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14445. "type": "integer"
  14446. },
  14447. "pdeliveryprice": {
  14448. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14449. "type": "number"
  14450. },
  14451. "pdeliveryratio": {
  14452. "description": "P合约系数(n)",
  14453. "type": "integer"
  14454. },
  14455. "pgoodscode": {
  14456. "description": "p合约代码",
  14457. "type": "string"
  14458. },
  14459. "pgoodsid": {
  14460. "description": "P合约ID",
  14461. "type": "integer"
  14462. },
  14463. "ppricemode": {
  14464. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14465. "type": "integer"
  14466. },
  14467. "rratio": {
  14468. "description": "兑换系数(R)",
  14469. "type": "integer"
  14470. },
  14471. "rratio1": {
  14472. "description": "兑换系数(交易合约)(R1)",
  14473. "type": "integer"
  14474. },
  14475. "rratio2": {
  14476. "description": "兑换系数(仓单标准)(R2)",
  14477. "type": "integer"
  14478. },
  14479. "selltemplateid": {
  14480. "description": "卖履约计划模板ID",
  14481. "type": "integer"
  14482. },
  14483. "wrstandardid": {
  14484. "description": "仓单标准ID",
  14485. "type": "integer"
  14486. },
  14487. "xdeliveryratio": {
  14488. "description": "交易合约系数(m)",
  14489. "type": "integer"
  14490. }
  14491. }
  14492. },
  14493. "ermcp.ExposureDetailRsp": {
  14494. "type": "object",
  14495. "properties": {
  14496. "areauserid": {
  14497. "description": "机构ID",
  14498. "type": "integer"
  14499. },
  14500. "changeQty": {
  14501. "description": "套保变动量",
  14502. "type": "number"
  14503. },
  14504. "contracttype": {
  14505. "description": "现货合同类型 - 1:采购 -1:销售",
  14506. "type": "integer"
  14507. },
  14508. "convertfactor": {
  14509. "description": "标仓系数",
  14510. "type": "number"
  14511. },
  14512. "convertratio": {
  14513. "description": "套保系数",
  14514. "type": "number"
  14515. },
  14516. "createtime": {
  14517. "description": "时间",
  14518. "type": "string"
  14519. },
  14520. "enumdicname": {
  14521. "description": "现货商品单位名称",
  14522. "type": "string"
  14523. },
  14524. "logtype": {
  14525. "description": "类型 - 1:套保计划 2:现货合同",
  14526. "type": "integer"
  14527. },
  14528. "middlegoodsId": {
  14529. "description": "套保商品id",
  14530. "type": "integer"
  14531. },
  14532. "middlegoodscode": {
  14533. "description": "套保商品代码",
  14534. "type": "string"
  14535. },
  14536. "middlegoodsname": {
  14537. "description": "套保商品名称",
  14538. "type": "string"
  14539. },
  14540. "qty": {
  14541. "description": "数量",
  14542. "type": "number"
  14543. },
  14544. "relateNo": {
  14545. "description": "现货合同/套保计划编号",
  14546. "type": "string"
  14547. },
  14548. "wrstandardcode": {
  14549. "description": "现货商品代码",
  14550. "type": "string"
  14551. },
  14552. "wrstandardid": {
  14553. "description": "现货商品ID",
  14554. "type": "integer"
  14555. },
  14556. "wrstandardname": {
  14557. "description": "现货商品名称",
  14558. "type": "string"
  14559. }
  14560. }
  14561. },
  14562. "ermcp.ExposureHedgePosDetailRsp": {
  14563. "type": "object",
  14564. "properties": {
  14565. "buyorsell": {
  14566. "description": "买卖方向 0-买 1-卖",
  14567. "type": "integer"
  14568. },
  14569. "channelbuildtype": {
  14570. "description": "开平方向 1-建仓 2-平仓",
  14571. "type": "integer"
  14572. },
  14573. "goodscode": {
  14574. "description": "商品代码",
  14575. "type": "string"
  14576. },
  14577. "goodsname": {
  14578. "description": "商品名称",
  14579. "type": "string"
  14580. },
  14581. "hedgegoodsid": {
  14582. "description": "商品id",
  14583. "type": "integer"
  14584. },
  14585. "tradeqty": {
  14586. "description": "数量(成交数量)",
  14587. "type": "integer"
  14588. },
  14589. "tradetime": {
  14590. "description": "时间(成交时间)",
  14591. "type": "string"
  14592. }
  14593. }
  14594. },
  14595. "ermcp.ExposureHedgePositionRsp": {
  14596. "type": "object",
  14597. "properties": {
  14598. "accountid": {
  14599. "description": "资金账号[外部母账户]",
  14600. "type": "integer"
  14601. },
  14602. "curbuyposition": {
  14603. "description": "期末买头寸",
  14604. "type": "integer"
  14605. },
  14606. "cursellposition": {
  14607. "description": "期末卖头寸",
  14608. "type": "integer"
  14609. },
  14610. "curtdbuyposition": {
  14611. "description": "期末今日买头寸",
  14612. "type": "integer"
  14613. },
  14614. "curtdsellposition": {
  14615. "description": "期末今日卖头寸",
  14616. "type": "integer"
  14617. },
  14618. "curydbuyposition": {
  14619. "description": "期末上日买头寸",
  14620. "type": "integer"
  14621. },
  14622. "curydsellposition": {
  14623. "description": "期末上日卖头寸",
  14624. "type": "integer"
  14625. },
  14626. "decreaseqty": {
  14627. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14628. "type": "integer"
  14629. },
  14630. "fretdbuyposition": {
  14631. "description": "冻结今日买头寸",
  14632. "type": "integer"
  14633. },
  14634. "fretdsellposition": {
  14635. "description": "冻结今日卖头寸",
  14636. "type": "integer"
  14637. },
  14638. "freydbuyposition": {
  14639. "description": "冻结上日买头寸",
  14640. "type": "integer"
  14641. },
  14642. "freydsellposition": {
  14643. "description": "冻结上日卖头寸",
  14644. "type": "integer"
  14645. },
  14646. "goodscode": {
  14647. "description": "商品代码",
  14648. "type": "string"
  14649. },
  14650. "goodsid": {
  14651. "description": "商品id",
  14652. "type": "integer"
  14653. },
  14654. "goodsname": {
  14655. "description": "商品名称",
  14656. "type": "string"
  14657. },
  14658. "hedgeaccountcode": {
  14659. "description": "对冲账号",
  14660. "type": "string"
  14661. },
  14662. "hedgegoodsid": {
  14663. "description": "对冲合约ID",
  14664. "type": "integer"
  14665. },
  14666. "increaseqty": {
  14667. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14668. "type": "integer"
  14669. },
  14670. "marketid": {
  14671. "description": "市场ID",
  14672. "type": "integer"
  14673. },
  14674. "relateduserid": {
  14675. "description": "关联用户id",
  14676. "type": "integer"
  14677. },
  14678. "totalcurqty": {
  14679. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14680. "type": "integer"
  14681. },
  14682. "totalydqty": {
  14683. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14684. "type": "integer"
  14685. },
  14686. "tradedate": {
  14687. "description": "交易日(yyyyMMdd)",
  14688. "type": "string"
  14689. },
  14690. "ydbuyposition": {
  14691. "description": "期初买头寸",
  14692. "type": "integer"
  14693. },
  14694. "ydsellposition": {
  14695. "description": "期初卖头寸",
  14696. "type": "integer"
  14697. }
  14698. }
  14699. },
  14700. "ermcp.ExposureSpotDetailRsp": {
  14701. "type": "object",
  14702. "properties": {
  14703. "contracttype": {
  14704. "description": "合同类型 1-采购 -1-销售",
  14705. "type": "integer"
  14706. },
  14707. "createtime": {
  14708. "description": "创建时间",
  14709. "type": "string"
  14710. },
  14711. "enumdicname": {
  14712. "description": "现货商品单位名称",
  14713. "type": "string"
  14714. },
  14715. "logtype": {
  14716. "description": "记录类型 1-套保 2-现货合同",
  14717. "type": "integer"
  14718. },
  14719. "qty": {
  14720. "description": "数量",
  14721. "type": "number"
  14722. },
  14723. "recordname": {
  14724. "description": "类型名称",
  14725. "type": "string"
  14726. },
  14727. "relatedid": {
  14728. "description": "套保计划ID/现货合同ID",
  14729. "type": "string"
  14730. },
  14731. "relatedno": {
  14732. "description": "编号",
  14733. "type": "string"
  14734. },
  14735. "strtime": {
  14736. "description": "时间",
  14737. "type": "string"
  14738. },
  14739. "wrstandardcode": {
  14740. "description": "现货商品代码",
  14741. "type": "string"
  14742. },
  14743. "wrstandardname": {
  14744. "description": "现货商品名称",
  14745. "type": "string"
  14746. }
  14747. }
  14748. },
  14749. "ermcp.ExposureSpotRsp": {
  14750. "type": "object",
  14751. "properties": {
  14752. "areauserid": {
  14753. "description": "所属机构",
  14754. "type": "integer"
  14755. },
  14756. "decreaseqty": {
  14757. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14758. "type": "number"
  14759. },
  14760. "increaseqty": {
  14761. "description": "增加数量=销售计划数量+采购已定价数量",
  14762. "type": "number"
  14763. },
  14764. "oritoalspotqty": {
  14765. "description": "昨日数量",
  14766. "type": "number"
  14767. },
  14768. "totalspotqty": {
  14769. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14770. "type": "number"
  14771. },
  14772. "updatetime": {
  14773. "description": "更新时间",
  14774. "type": "string"
  14775. },
  14776. "wrstandardcode": {
  14777. "description": "现货品种代码",
  14778. "type": "string"
  14779. },
  14780. "wrstandardid": {
  14781. "description": "现货商品ID",
  14782. "type": "integer"
  14783. },
  14784. "wrstandardname": {
  14785. "description": "现货品种",
  14786. "type": "string"
  14787. }
  14788. }
  14789. },
  14790. "ermcp.HisExposureRsp": {
  14791. "type": "object",
  14792. "properties": {
  14793. "data": {
  14794. "description": "历史敞口",
  14795. "type": "array",
  14796. "items": {
  14797. "$ref": "#/definitions/models.ErmcpHisExposure"
  14798. }
  14799. },
  14800. "enumdicname": {
  14801. "description": "单位名称",
  14802. "type": "string"
  14803. },
  14804. "middlegoodscode": {
  14805. "description": "套保品种代码",
  14806. "type": "string"
  14807. },
  14808. "middlegoodsid": {
  14809. "description": "套保品种ID",
  14810. "type": "integer"
  14811. },
  14812. "middlegoodsname": {
  14813. "description": "套保品种名称",
  14814. "type": "string"
  14815. }
  14816. }
  14817. },
  14818. "ermcp.PendingAuditCntRsp": {
  14819. "type": "object",
  14820. "properties": {
  14821. "areastockqty": {
  14822. "description": "待审核数量: 库存申请",
  14823. "type": "integer"
  14824. },
  14825. "businessdjqty": {
  14826. "description": "待审核数量: 点价",
  14827. "type": "integer"
  14828. },
  14829. "businessfpqty": {
  14830. "description": "待审核数量: 发票",
  14831. "type": "integer"
  14832. },
  14833. "businessjsqty": {
  14834. "description": "待审核数量: 结算",
  14835. "type": "integer"
  14836. },
  14837. "businesskxqty": {
  14838. "description": "待审核数量: 款项",
  14839. "type": "integer"
  14840. },
  14841. "hedgeplanqty": {
  14842. "description": "待审核数量: 套保计划",
  14843. "type": "integer"
  14844. },
  14845. "spotcontractqty": {
  14846. "description": "待审核数量: 现货合同",
  14847. "type": "integer"
  14848. },
  14849. "userqty": {
  14850. "description": "待审核数量: 用户",
  14851. "type": "integer"
  14852. }
  14853. }
  14854. },
  14855. "ermcp.QryAvalidGPRsp": {
  14856. "type": "object",
  14857. "properties": {
  14858. "goodsgroupid": {
  14859. "description": "期货品种id",
  14860. "type": "integer"
  14861. },
  14862. "goodsgroupname": {
  14863. "description": "期货品种名称",
  14864. "type": "string"
  14865. },
  14866. "goodunitid": {
  14867. "description": "品种单位id",
  14868. "type": "integer"
  14869. },
  14870. "goodunitname": {
  14871. "description": "品种单位名称",
  14872. "type": "string"
  14873. },
  14874. "outergroupcode": {
  14875. "description": "期货品种代码",
  14876. "type": "string"
  14877. }
  14878. }
  14879. },
  14880. "ermcp.QryBusinessDjRsp": {
  14881. "type": "object",
  14882. "properties": {
  14883. "amount": {
  14884. "description": "期初均价",
  14885. "type": "number"
  14886. },
  14887. "applyid": {
  14888. "description": "申请人",
  14889. "type": "string"
  14890. },
  14891. "applyname": {
  14892. "description": "申请人名称",
  14893. "type": "string"
  14894. },
  14895. "applystatus": {
  14896. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14897. "type": "integer"
  14898. },
  14899. "applytime": {
  14900. "description": "申请时间",
  14901. "type": "string"
  14902. },
  14903. "attachurl": {
  14904. "description": "附件",
  14905. "type": "string"
  14906. },
  14907. "auditid": {
  14908. "description": "审核人ID",
  14909. "type": "string"
  14910. },
  14911. "auditname": {
  14912. "description": "审核人名称",
  14913. "type": "string"
  14914. },
  14915. "auditremark": {
  14916. "description": "审核备注",
  14917. "type": "string"
  14918. },
  14919. "audittime": {
  14920. "description": "审核时间",
  14921. "type": "string"
  14922. },
  14923. "buyusername": {
  14924. "description": "采购方名称",
  14925. "type": "string"
  14926. },
  14927. "contractno": {
  14928. "description": "合同编号",
  14929. "type": "string"
  14930. },
  14931. "contractstatus": {
  14932. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14933. "type": "integer"
  14934. },
  14935. "contracttype": {
  14936. "description": "现货合同类型 - 1:采购 -1:销售",
  14937. "type": "integer"
  14938. },
  14939. "deliverygoodscode": {
  14940. "description": "现货品种代码",
  14941. "type": "string"
  14942. },
  14943. "deliverygoodsid": {
  14944. "description": "现货商品ID",
  14945. "type": "integer"
  14946. },
  14947. "deliverygoodsname": {
  14948. "description": "现货品种名称",
  14949. "type": "string"
  14950. },
  14951. "enumdicname": {
  14952. "description": "单位名称",
  14953. "type": "string"
  14954. },
  14955. "goodscode": {
  14956. "description": "点价合约",
  14957. "type": "string"
  14958. },
  14959. "goodsname": {
  14960. "description": "商品名称",
  14961. "type": "string"
  14962. },
  14963. "operateapplyid": {
  14964. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14965. "type": "string"
  14966. },
  14967. "operateapplytype": {
  14968. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14969. "type": "integer"
  14970. },
  14971. "pricedPrice": {
  14972. "description": "点价价格(非必填)",
  14973. "type": "number"
  14974. },
  14975. "pricedQty": {
  14976. "description": "点价数量(非必填)",
  14977. "type": "number"
  14978. },
  14979. "pricemove": {
  14980. "description": "升贴水",
  14981. "type": "number"
  14982. },
  14983. "pricetype": {
  14984. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14985. "type": "integer"
  14986. },
  14987. "relatedid": {
  14988. "description": "现货合同ID",
  14989. "type": "string"
  14990. },
  14991. "sellusername": {
  14992. "description": "销售方名字",
  14993. "type": "string"
  14994. },
  14995. "userid": {
  14996. "description": "用户ID",
  14997. "type": "integer"
  14998. },
  14999. "wrstandardcode": {
  15000. "description": "品类代码",
  15001. "type": "string"
  15002. },
  15003. "wrstandardid": {
  15004. "description": "品类id",
  15005. "type": "integer"
  15006. },
  15007. "wrstandardname": {
  15008. "description": "品类名称",
  15009. "type": "string"
  15010. }
  15011. }
  15012. },
  15013. "ermcp.QryBussinessFpRsp": {
  15014. "type": "object",
  15015. "properties": {
  15016. "applyid": {
  15017. "description": "申请人",
  15018. "type": "string"
  15019. },
  15020. "applyname": {
  15021. "description": "申请人名称",
  15022. "type": "string"
  15023. },
  15024. "applystatus": {
  15025. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15026. "type": "integer"
  15027. },
  15028. "applytime": {
  15029. "description": "申请时间",
  15030. "type": "string"
  15031. },
  15032. "attachurl": {
  15033. "description": "附件",
  15034. "type": "string"
  15035. },
  15036. "auditid": {
  15037. "description": "审核人ID",
  15038. "type": "string"
  15039. },
  15040. "auditname": {
  15041. "description": "审核人名称",
  15042. "type": "string"
  15043. },
  15044. "auditremark": {
  15045. "description": "审核备注",
  15046. "type": "string"
  15047. },
  15048. "audittime": {
  15049. "description": "审核时间",
  15050. "type": "string"
  15051. },
  15052. "buyusername": {
  15053. "description": "采购方名称",
  15054. "type": "string"
  15055. },
  15056. "contractno": {
  15057. "description": "合同编号",
  15058. "type": "string"
  15059. },
  15060. "contractstatus": {
  15061. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15062. "type": "integer"
  15063. },
  15064. "contracttype": {
  15065. "description": "现货合同类型 - 1:采购 -1:销售",
  15066. "type": "integer"
  15067. },
  15068. "deliverygoodscode": {
  15069. "description": "现货品种代码",
  15070. "type": "string"
  15071. },
  15072. "deliverygoodsid": {
  15073. "description": "现货商品ID",
  15074. "type": "integer"
  15075. },
  15076. "deliverygoodsname": {
  15077. "description": "现货品种名称",
  15078. "type": "string"
  15079. },
  15080. "enumdicname": {
  15081. "description": "单位名称",
  15082. "type": "string"
  15083. },
  15084. "goodscode": {
  15085. "description": "点价合约",
  15086. "type": "string"
  15087. },
  15088. "goodsname": {
  15089. "description": "商品名称",
  15090. "type": "string"
  15091. },
  15092. "invoiceamount": {
  15093. "description": "已开收票金额(销售为开票,采购为收票)",
  15094. "type": "number"
  15095. },
  15096. "operateapplyid": {
  15097. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15098. "type": "string"
  15099. },
  15100. "operateapplytype": {
  15101. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15102. "type": "integer"
  15103. },
  15104. "pricemove": {
  15105. "description": "升贴水",
  15106. "type": "number"
  15107. },
  15108. "pricetype": {
  15109. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15110. "type": "integer"
  15111. },
  15112. "relatedid": {
  15113. "description": "现货合同ID",
  15114. "type": "string"
  15115. },
  15116. "sellusername": {
  15117. "description": "销售方名字",
  15118. "type": "string"
  15119. },
  15120. "userid": {
  15121. "description": "用户ID",
  15122. "type": "integer"
  15123. },
  15124. "wrstandardcode": {
  15125. "description": "品类代码",
  15126. "type": "string"
  15127. },
  15128. "wrstandardid": {
  15129. "description": "品类id",
  15130. "type": "integer"
  15131. },
  15132. "wrstandardname": {
  15133. "description": "品类名称",
  15134. "type": "string"
  15135. }
  15136. }
  15137. },
  15138. "ermcp.QryBussinessJsExRsp": {
  15139. "type": "object",
  15140. "properties": {
  15141. "applyid": {
  15142. "description": "申请人",
  15143. "type": "string"
  15144. },
  15145. "applyname": {
  15146. "description": "申请人名称",
  15147. "type": "string"
  15148. },
  15149. "applystatus": {
  15150. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15151. "type": "integer"
  15152. },
  15153. "applytime": {
  15154. "description": "申请时间",
  15155. "type": "string"
  15156. },
  15157. "attachurl": {
  15158. "description": "附件",
  15159. "type": "string"
  15160. },
  15161. "auditid": {
  15162. "description": "审核人ID",
  15163. "type": "string"
  15164. },
  15165. "auditname": {
  15166. "description": "审核人名称",
  15167. "type": "string"
  15168. },
  15169. "auditremark": {
  15170. "description": "审核备注",
  15171. "type": "string"
  15172. },
  15173. "audittime": {
  15174. "description": "审核时间",
  15175. "type": "string"
  15176. },
  15177. "buyusername": {
  15178. "description": "采购方名称",
  15179. "type": "string"
  15180. },
  15181. "contractno": {
  15182. "description": "合同编号",
  15183. "type": "string"
  15184. },
  15185. "contractstatus": {
  15186. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15187. "type": "integer"
  15188. },
  15189. "contracttype": {
  15190. "description": "现货合同类型 - 1:采购 -1:销售",
  15191. "type": "integer"
  15192. },
  15193. "deliverygoodscode": {
  15194. "description": "现货品种代码",
  15195. "type": "string"
  15196. },
  15197. "deliverygoodsid": {
  15198. "description": "现货商品ID",
  15199. "type": "integer"
  15200. },
  15201. "deliverygoodsname": {
  15202. "description": "现货品种名称",
  15203. "type": "string"
  15204. },
  15205. "enumdicname": {
  15206. "description": "单位名称",
  15207. "type": "string"
  15208. },
  15209. "goodscode": {
  15210. "description": "点价合约",
  15211. "type": "string"
  15212. },
  15213. "goodsname": {
  15214. "description": "商品名称",
  15215. "type": "string"
  15216. },
  15217. "operateapplyid": {
  15218. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15219. "type": "string"
  15220. },
  15221. "operateapplytype": {
  15222. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15223. "type": "integer"
  15224. },
  15225. "pricemove": {
  15226. "description": "升贴水",
  15227. "type": "number"
  15228. },
  15229. "pricetype": {
  15230. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15231. "type": "integer"
  15232. },
  15233. "reckontype": {
  15234. "description": "结算类型",
  15235. "type": "string"
  15236. },
  15237. "reckonvalue": {
  15238. "description": "值",
  15239. "type": "number"
  15240. },
  15241. "relatedid": {
  15242. "description": "现货合同ID",
  15243. "type": "string"
  15244. },
  15245. "sellusername": {
  15246. "description": "销售方名字",
  15247. "type": "string"
  15248. },
  15249. "userid": {
  15250. "description": "用户ID",
  15251. "type": "integer"
  15252. },
  15253. "wrstandardcode": {
  15254. "description": "品类代码",
  15255. "type": "string"
  15256. },
  15257. "wrstandardid": {
  15258. "description": "品类id",
  15259. "type": "integer"
  15260. },
  15261. "wrstandardname": {
  15262. "description": "品类名称",
  15263. "type": "string"
  15264. }
  15265. }
  15266. },
  15267. "ermcp.QryBussinessJsRsp": {
  15268. "type": "object",
  15269. "properties": {
  15270. "addmargin": {
  15271. "description": "追加保证金(非必填)",
  15272. "type": "number"
  15273. },
  15274. "applyid": {
  15275. "description": "申请人",
  15276. "type": "string"
  15277. },
  15278. "applyname": {
  15279. "description": "申请人名称",
  15280. "type": "string"
  15281. },
  15282. "applystatus": {
  15283. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15284. "type": "integer"
  15285. },
  15286. "applytime": {
  15287. "description": "申请时间",
  15288. "type": "string"
  15289. },
  15290. "attachurl": {
  15291. "description": "附件",
  15292. "type": "string"
  15293. },
  15294. "auditid": {
  15295. "description": "审核人ID",
  15296. "type": "string"
  15297. },
  15298. "auditname": {
  15299. "description": "审核人名称",
  15300. "type": "string"
  15301. },
  15302. "auditremark": {
  15303. "description": "审核备注",
  15304. "type": "string"
  15305. },
  15306. "audittime": {
  15307. "description": "审核时间",
  15308. "type": "string"
  15309. },
  15310. "buyusername": {
  15311. "description": "采购方名称",
  15312. "type": "string"
  15313. },
  15314. "contractno": {
  15315. "description": "合同编号",
  15316. "type": "string"
  15317. },
  15318. "contractstatus": {
  15319. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15320. "type": "integer"
  15321. },
  15322. "contracttype": {
  15323. "description": "现货合同类型 - 1:采购 -1:销售",
  15324. "type": "integer"
  15325. },
  15326. "decmargin": {
  15327. "description": "减少保证金(非必填)",
  15328. "type": "number"
  15329. },
  15330. "deliverygoodscode": {
  15331. "description": "现货品种代码",
  15332. "type": "string"
  15333. },
  15334. "deliverygoodsid": {
  15335. "description": "现货商品ID",
  15336. "type": "integer"
  15337. },
  15338. "deliverygoodsname": {
  15339. "description": "现货品种名称",
  15340. "type": "string"
  15341. },
  15342. "enumdicname": {
  15343. "description": "单位名称",
  15344. "type": "string"
  15345. },
  15346. "goodscode": {
  15347. "description": "点价合约",
  15348. "type": "string"
  15349. },
  15350. "goodsname": {
  15351. "description": "商品名称",
  15352. "type": "string"
  15353. },
  15354. "operateapplyid": {
  15355. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15356. "type": "string"
  15357. },
  15358. "operateapplytype": {
  15359. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15360. "type": "integer"
  15361. },
  15362. "pricemove": {
  15363. "description": "升贴水",
  15364. "type": "number"
  15365. },
  15366. "pricetype": {
  15367. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15368. "type": "integer"
  15369. },
  15370. "reckonadjustamount": {
  15371. "description": "结算调整金额(非必填)",
  15372. "type": "number"
  15373. },
  15374. "reckonosamount": {
  15375. "description": "结算溢短金额(非必填)",
  15376. "type": "number"
  15377. },
  15378. "reckonotheramount": {
  15379. "description": "结算其他费用(非必填)",
  15380. "type": "number"
  15381. },
  15382. "reckonrealqty": {
  15383. "description": "结算实际数量(非必填)",
  15384. "type": "number"
  15385. },
  15386. "relatedid": {
  15387. "description": "现货合同ID",
  15388. "type": "string"
  15389. },
  15390. "sellusername": {
  15391. "description": "销售方名字",
  15392. "type": "string"
  15393. },
  15394. "userid": {
  15395. "description": "用户ID",
  15396. "type": "integer"
  15397. },
  15398. "wrstandardcode": {
  15399. "description": "品类代码",
  15400. "type": "string"
  15401. },
  15402. "wrstandardid": {
  15403. "description": "品类id",
  15404. "type": "integer"
  15405. },
  15406. "wrstandardname": {
  15407. "description": "品类名称",
  15408. "type": "string"
  15409. }
  15410. }
  15411. },
  15412. "ermcp.QryBussinessKxRsp": {
  15413. "type": "object",
  15414. "properties": {
  15415. "applyid": {
  15416. "description": "申请人",
  15417. "type": "string"
  15418. },
  15419. "applyname": {
  15420. "description": "申请人名称",
  15421. "type": "string"
  15422. },
  15423. "applystatus": {
  15424. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15425. "type": "integer"
  15426. },
  15427. "applytime": {
  15428. "description": "申请时间",
  15429. "type": "string"
  15430. },
  15431. "attachurl": {
  15432. "description": "附件",
  15433. "type": "string"
  15434. },
  15435. "auditid": {
  15436. "description": "审核人ID",
  15437. "type": "string"
  15438. },
  15439. "auditname": {
  15440. "description": "审核人名称",
  15441. "type": "string"
  15442. },
  15443. "auditremark": {
  15444. "description": "审核备注",
  15445. "type": "string"
  15446. },
  15447. "audittime": {
  15448. "description": "审核时间",
  15449. "type": "string"
  15450. },
  15451. "buyusername": {
  15452. "description": "采购方名称",
  15453. "type": "string"
  15454. },
  15455. "contractno": {
  15456. "description": "合同编号",
  15457. "type": "string"
  15458. },
  15459. "contractstatus": {
  15460. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15461. "type": "integer"
  15462. },
  15463. "contracttype": {
  15464. "description": "现货合同类型 - 1:采购 -1:销售",
  15465. "type": "integer"
  15466. },
  15467. "deductamount": {
  15468. "description": "期初均价",
  15469. "type": "number"
  15470. },
  15471. "deliverygoodscode": {
  15472. "description": "现货品种代码",
  15473. "type": "string"
  15474. },
  15475. "deliverygoodsid": {
  15476. "description": "现货商品ID",
  15477. "type": "integer"
  15478. },
  15479. "deliverygoodsname": {
  15480. "description": "现货品种名称",
  15481. "type": "string"
  15482. },
  15483. "enumdicname": {
  15484. "description": "单位名称",
  15485. "type": "string"
  15486. },
  15487. "goodscode": {
  15488. "description": "点价合约",
  15489. "type": "string"
  15490. },
  15491. "goodsname": {
  15492. "description": "商品名称",
  15493. "type": "string"
  15494. },
  15495. "kxtype": {
  15496. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15497. "type": "integer"
  15498. },
  15499. "operateapplyid": {
  15500. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15501. "type": "string"
  15502. },
  15503. "operateapplytype": {
  15504. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15505. "type": "integer"
  15506. },
  15507. "payamount": {
  15508. "description": "期初均价",
  15509. "type": "number"
  15510. },
  15511. "pricemove": {
  15512. "description": "升贴水",
  15513. "type": "number"
  15514. },
  15515. "pricetype": {
  15516. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15517. "type": "integer"
  15518. },
  15519. "relatedid": {
  15520. "description": "现货合同ID",
  15521. "type": "string"
  15522. },
  15523. "sellusername": {
  15524. "description": "销售方名字",
  15525. "type": "string"
  15526. },
  15527. "userid": {
  15528. "description": "用户ID",
  15529. "type": "integer"
  15530. },
  15531. "wrstandardcode": {
  15532. "description": "品类代码",
  15533. "type": "string"
  15534. },
  15535. "wrstandardid": {
  15536. "description": "品类id",
  15537. "type": "integer"
  15538. },
  15539. "wrstandardname": {
  15540. "description": "品类名称",
  15541. "type": "string"
  15542. }
  15543. }
  15544. },
  15545. "ermcp.QryGGCovertCfgRsp": {
  15546. "type": "object",
  15547. "properties": {
  15548. "convertratio": {
  15549. "description": "折算系数",
  15550. "type": "number"
  15551. },
  15552. "destgoodsgroupid": {
  15553. "description": "目标品种ID",
  15554. "type": "integer"
  15555. },
  15556. "dstcode": {
  15557. "description": "目录品种代码",
  15558. "type": "string"
  15559. },
  15560. "dstexchangecode": {
  15561. "description": "目标期货交易所",
  15562. "type": "string"
  15563. },
  15564. "dstname": {
  15565. "description": "目标品种名称",
  15566. "type": "string"
  15567. },
  15568. "dstunitid": {
  15569. "description": "目标品种单位ID",
  15570. "type": "integer"
  15571. },
  15572. "dstunitidname": {
  15573. "description": "目标品种单位名称",
  15574. "type": "string"
  15575. },
  15576. "modifytime": {
  15577. "description": "修改时间",
  15578. "type": "string"
  15579. },
  15580. "srccode": {
  15581. "description": "源品种代码",
  15582. "type": "string"
  15583. },
  15584. "srcexchangecode": {
  15585. "description": "源期货交易所",
  15586. "type": "string"
  15587. },
  15588. "srcgoodsgroupid": {
  15589. "description": "源品种ID",
  15590. "type": "integer"
  15591. },
  15592. "srcname": {
  15593. "description": "源品种名称",
  15594. "type": "string"
  15595. },
  15596. "srcunitid": {
  15597. "description": "源品种单位ID",
  15598. "type": "integer"
  15599. },
  15600. "srcunitidname": {
  15601. "description": "源品种单位名称",
  15602. "type": "string"
  15603. }
  15604. }
  15605. },
  15606. "ermcp.QryMGChangeLogRsp": {
  15607. "type": "object",
  15608. "properties": {
  15609. "aftervalue": {
  15610. "description": "变更后",
  15611. "type": "number"
  15612. },
  15613. "applyid": {
  15614. "description": "操作人",
  15615. "type": "integer"
  15616. },
  15617. "applyname": {
  15618. "description": "操作人名称",
  15619. "type": "string"
  15620. },
  15621. "applysrc": {
  15622. "description": "操作来源 - 1:管理端 2:终端",
  15623. "type": "integer"
  15624. },
  15625. "beforevalue": {
  15626. "description": "变更前",
  15627. "type": "number"
  15628. },
  15629. "changelogtype": {
  15630. "description": "变更流水类型 - 1:套保比率变更",
  15631. "type": "integer"
  15632. },
  15633. "handlestatus": {
  15634. "description": "处理状态",
  15635. "type": "integer"
  15636. },
  15637. "logdatetime": {
  15638. "description": "流水日期",
  15639. "type": "string"
  15640. },
  15641. "logid": {
  15642. "description": "流水ID",
  15643. "type": "integer"
  15644. },
  15645. "logremark": {
  15646. "description": "流水备注",
  15647. "type": "string"
  15648. },
  15649. "middlegoodsid": {
  15650. "description": "套保品种ID",
  15651. "type": "integer"
  15652. },
  15653. "tradedate": {
  15654. "description": "交易日(yyyyMMdd)",
  15655. "type": "string"
  15656. },
  15657. "updatetime": {
  15658. "description": "更新时间",
  15659. "type": "string"
  15660. }
  15661. }
  15662. },
  15663. "ermcp.QryMiddleGoodsDetailRsp": {
  15664. "type": "object",
  15665. "properties": {
  15666. "cvList": {
  15667. "description": "期货品种折算列表",
  15668. "type": "array",
  15669. "items": {
  15670. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15671. }
  15672. },
  15673. "mg": {
  15674. "description": "套保品种基本信息",
  15675. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15676. },
  15677. "wrcList": {
  15678. "description": "现货品种列表(现货商品折算配置)",
  15679. "type": "array",
  15680. "items": {
  15681. "$ref": "#/definitions/models.WRSConverTDetail"
  15682. }
  15683. }
  15684. }
  15685. },
  15686. "ermcp.QryMiddleGoodsRsp": {
  15687. "type": "object",
  15688. "properties": {
  15689. "areauserid": {
  15690. "description": "机构用户ID",
  15691. "type": "integer"
  15692. },
  15693. "createtime": {
  15694. "description": "修改时间",
  15695. "type": "string"
  15696. },
  15697. "enumdicname": {
  15698. "description": "单位名称",
  15699. "type": "string"
  15700. },
  15701. "evaluateratio": {
  15702. "description": "估价系数",
  15703. "type": "number"
  15704. },
  15705. "goodsgroupid": {
  15706. "description": "关联期货品种ID",
  15707. "type": "integer"
  15708. },
  15709. "goodsunitid": {
  15710. "description": "单位ID",
  15711. "type": "integer"
  15712. },
  15713. "isvalid": {
  15714. "description": "状态 0-无效(停用) 1-有效(正常)",
  15715. "type": "integer"
  15716. },
  15717. "middlegoodscode": {
  15718. "description": "套保品种代码",
  15719. "type": "string"
  15720. },
  15721. "middlegoodsid": {
  15722. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15723. "type": "integer"
  15724. },
  15725. "middlegoodsname": {
  15726. "description": "套保品种名称",
  15727. "type": "string"
  15728. },
  15729. "modifytime": {
  15730. "description": "修改时间",
  15731. "type": "string"
  15732. },
  15733. "needarbitrageratio": {
  15734. "description": "套利比例",
  15735. "type": "number"
  15736. },
  15737. "needhedgeratio": {
  15738. "description": "套保比率",
  15739. "type": "number"
  15740. },
  15741. "qtydecimalplace": {
  15742. "description": "数量小数位",
  15743. "type": "integer"
  15744. },
  15745. "relatedgoodsid": {
  15746. "description": "关联交易商品ID",
  15747. "type": "integer"
  15748. },
  15749. "relatedgoodstype": {
  15750. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15751. "type": "integer"
  15752. },
  15753. "remark": {
  15754. "description": "备注",
  15755. "type": "string"
  15756. }
  15757. }
  15758. },
  15759. "ermcp.QryOPLogRsp": {
  15760. "type": "object",
  15761. "properties": {
  15762. "aftervalue": {
  15763. "description": "变更后",
  15764. "type": "number"
  15765. },
  15766. "applyid": {
  15767. "description": "操作人ID",
  15768. "type": "string"
  15769. },
  15770. "applyname": {
  15771. "description": "操作人名称",
  15772. "type": "string"
  15773. },
  15774. "beforevalue": {
  15775. "description": "变更前",
  15776. "type": "number"
  15777. },
  15778. "biztype": {
  15779. "description": "业务类型 - 1:套保计划 2:现货合同",
  15780. "type": "integer"
  15781. },
  15782. "contracttype": {
  15783. "description": "现货合同类型 - 1:采购 -1:销售",
  15784. "type": "integer"
  15785. },
  15786. "logvalue": {
  15787. "description": "数值",
  15788. "type": "number"
  15789. },
  15790. "operatelogtype": {
  15791. "description": "操作流水类型",
  15792. "type": "integer"
  15793. },
  15794. "operatelogtypedesc": {
  15795. "description": "操作流水类型名称",
  15796. "type": "string"
  15797. },
  15798. "relatedid": {
  15799. "description": "现货合同ID\\套保计划",
  15800. "type": "string"
  15801. },
  15802. "updatetime": {
  15803. "description": "更新时间",
  15804. "type": "string"
  15805. }
  15806. }
  15807. },
  15808. "ermcp.QryUserInfoRsp": {
  15809. "type": "object",
  15810. "properties": {
  15811. "address": {
  15812. "description": "通讯地址",
  15813. "type": "string"
  15814. },
  15815. "attachment1": {
  15816. "description": "附件1",
  15817. "type": "string"
  15818. },
  15819. "audittime": {
  15820. "description": "审核时间",
  15821. "type": "string"
  15822. },
  15823. "cardbackphotourl": {
  15824. "description": "证件反面图片地址",
  15825. "type": "string"
  15826. },
  15827. "cardfrontphotourl": {
  15828. "description": "证件正面图片地址",
  15829. "type": "string"
  15830. },
  15831. "cardnum": {
  15832. "description": "证件号码",
  15833. "type": "string"
  15834. },
  15835. "cardtype": {
  15836. "description": "证件类型",
  15837. "type": "integer"
  15838. },
  15839. "cardtypename": {
  15840. "description": "证件类型名称",
  15841. "type": "string"
  15842. },
  15843. "cityid": {
  15844. "description": "市",
  15845. "type": "integer"
  15846. },
  15847. "contactname": {
  15848. "description": "联系人",
  15849. "type": "string"
  15850. },
  15851. "countryid": {
  15852. "description": "国家",
  15853. "type": "integer"
  15854. },
  15855. "createtime": {
  15856. "description": "创建时间",
  15857. "type": "string"
  15858. },
  15859. "customername": {
  15860. "description": "企业名称",
  15861. "type": "string"
  15862. },
  15863. "districtid": {
  15864. "description": "区域",
  15865. "type": "integer"
  15866. },
  15867. "email": {
  15868. "description": "邮件",
  15869. "type": "string"
  15870. },
  15871. "legalpersonname": {
  15872. "description": "法人姓名(企业)",
  15873. "type": "string"
  15874. },
  15875. "memberuserid": {
  15876. "description": "所属机构ID",
  15877. "type": "integer"
  15878. },
  15879. "mobile": {
  15880. "description": "手机号码",
  15881. "type": "string"
  15882. },
  15883. "modifytime": {
  15884. "description": "修改时间",
  15885. "type": "string"
  15886. },
  15887. "nickname": {
  15888. "description": "昵称",
  15889. "type": "string"
  15890. },
  15891. "provinceid": {
  15892. "description": "省",
  15893. "type": "integer"
  15894. },
  15895. "remark": {
  15896. "description": "备注",
  15897. "type": "string"
  15898. },
  15899. "status": {
  15900. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15901. "type": "integer"
  15902. },
  15903. "statusdesc": {
  15904. "description": "账户状态中文描述",
  15905. "type": "string"
  15906. },
  15907. "taxpayernum": {
  15908. "description": "纳税人识别号",
  15909. "type": "string"
  15910. },
  15911. "telphone": {
  15912. "description": "联系电话",
  15913. "type": "string"
  15914. },
  15915. "userid": {
  15916. "description": "用户ID",
  15917. "type": "integer"
  15918. },
  15919. "userinfotype": {
  15920. "description": "客户类型",
  15921. "type": "string"
  15922. }
  15923. }
  15924. },
  15925. "ermcp.QryWarehouseRsp": {
  15926. "type": "object",
  15927. "properties": {
  15928. "address": {
  15929. "description": "详细地址",
  15930. "type": "string"
  15931. },
  15932. "areauserid": {
  15933. "description": "所属机构",
  15934. "type": "integer"
  15935. },
  15936. "autoid": {
  15937. "description": "自增ID(仓库ID)",
  15938. "type": "integer"
  15939. },
  15940. "cityid": {
  15941. "description": "市",
  15942. "type": "integer"
  15943. },
  15944. "contactname": {
  15945. "description": "联系人",
  15946. "type": "string"
  15947. },
  15948. "contactnum": {
  15949. "description": "联系电话",
  15950. "type": "string"
  15951. },
  15952. "countryid": {
  15953. "description": "国家",
  15954. "type": "integer"
  15955. },
  15956. "createtime": {
  15957. "description": "创建时间",
  15958. "type": "string"
  15959. },
  15960. "districtid": {
  15961. "description": "区",
  15962. "type": "integer"
  15963. },
  15964. "hasvideo": {
  15965. "description": "是否有视频 - 0:无 1:有",
  15966. "type": "integer"
  15967. },
  15968. "provinceid": {
  15969. "description": "省",
  15970. "type": "integer"
  15971. },
  15972. "remark": {
  15973. "description": "审核备注",
  15974. "type": "string"
  15975. },
  15976. "videourl": {
  15977. "description": "视频地址",
  15978. "type": "string"
  15979. },
  15980. "warehousecode": {
  15981. "description": "仓库代码",
  15982. "type": "string"
  15983. },
  15984. "warehousename": {
  15985. "description": "仓库名称",
  15986. "type": "string"
  15987. },
  15988. "warehousestatus": {
  15989. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15990. "type": "integer"
  15991. },
  15992. "warehousetype": {
  15993. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15994. "type": "integer"
  15995. }
  15996. }
  15997. },
  15998. "ermcp.QueryErmcpTradePositionRsp": {
  15999. "type": "object",
  16000. "properties": {
  16001. "agreeunit": {
  16002. "description": "合约单位",
  16003. "type": "number"
  16004. },
  16005. "buyorsell": {
  16006. "description": "方向 - 0:买 1:卖",
  16007. "type": "integer"
  16008. },
  16009. "curpositionqty": {
  16010. "description": "持仓(总仓数量, 期末头寸)",
  16011. "type": "integer"
  16012. },
  16013. "curtdposition": {
  16014. "description": "今仓数量(期末今日头寸)",
  16015. "type": "integer"
  16016. },
  16017. "curtdpositionenabled": {
  16018. "description": "今仓可用",
  16019. "type": "integer"
  16020. },
  16021. "decimalplace": {
  16022. "description": "报价小数位",
  16023. "type": "integer"
  16024. },
  16025. "enableqty": {
  16026. "description": "可用(总仓可用)",
  16027. "type": "integer"
  16028. },
  16029. "exexchangename": {
  16030. "description": "外部交易所名称",
  16031. "type": "string"
  16032. },
  16033. "exexehangecode": {
  16034. "description": "外部交易所代码",
  16035. "type": "string"
  16036. },
  16037. "exexehangeid": {
  16038. "description": "外部交易所id",
  16039. "type": "integer"
  16040. },
  16041. "goodscode": {
  16042. "description": "商品代码(内部)",
  16043. "type": "string"
  16044. },
  16045. "goodsid": {
  16046. "description": "商品ID(自增ID SEQ_GOODS)",
  16047. "type": "integer"
  16048. },
  16049. "goodsname": {
  16050. "description": "商品名称",
  16051. "type": "string"
  16052. },
  16053. "last": {
  16054. "description": "现价",
  16055. "type": "number"
  16056. },
  16057. "marketid": {
  16058. "description": "所属市场ID",
  16059. "type": "integer"
  16060. },
  16061. "openaverageprice": {
  16062. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16063. "type": "number"
  16064. },
  16065. "opencost": {
  16066. "description": "开仓成本",
  16067. "type": "number"
  16068. },
  16069. "openpl": {
  16070. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16071. "type": "number"
  16072. },
  16073. "outgoodscode": {
  16074. "description": "商品代码(外部)",
  16075. "type": "string"
  16076. },
  16077. "positionaverageprice": {
  16078. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16079. "type": "number"
  16080. },
  16081. "positioncost": {
  16082. "description": "持仓成本",
  16083. "type": "number"
  16084. },
  16085. "positionpl": {
  16086. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16087. "type": "number"
  16088. },
  16089. "positionplrate": {
  16090. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16091. "type": "number"
  16092. },
  16093. "usedmargin": {
  16094. "description": "占用保证金",
  16095. "type": "number"
  16096. }
  16097. }
  16098. },
  16099. "ermcp.RealtimeExposurePositionRsp": {
  16100. "type": "object",
  16101. "properties": {
  16102. "agreeunit": {
  16103. "description": "合约单位",
  16104. "type": "string"
  16105. },
  16106. "areauserid": {
  16107. "description": "所属机构id",
  16108. "type": "integer"
  16109. },
  16110. "convertratio": {
  16111. "description": "期货品种系数(折算系数)",
  16112. "type": "number"
  16113. },
  16114. "curhedgeqty": {
  16115. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  16116. "type": "number"
  16117. },
  16118. "curqty": {
  16119. "description": "当前持仓",
  16120. "type": "integer"
  16121. },
  16122. "diffhedgeqty": {
  16123. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16124. "type": "number"
  16125. },
  16126. "diffqty": {
  16127. "description": "持仓变动量=当前持仓-昨日持仓",
  16128. "type": "integer"
  16129. },
  16130. "goodscode": {
  16131. "description": "商品代码",
  16132. "type": "string"
  16133. },
  16134. "goodsid": {
  16135. "description": "商品id",
  16136. "type": "integer"
  16137. },
  16138. "goodsname": {
  16139. "description": "商品名称",
  16140. "type": "string"
  16141. },
  16142. "hedgeaccountcode": {
  16143. "description": "对冲账号(只有外部账号才有值)",
  16144. "type": "string"
  16145. },
  16146. "middlegoodscode": {
  16147. "description": "套保商品代码",
  16148. "type": "string"
  16149. },
  16150. "middlegoodsid": {
  16151. "description": "套保商品id",
  16152. "type": "integer"
  16153. },
  16154. "middlegoodsname": {
  16155. "description": "套保商品名称",
  16156. "type": "string"
  16157. },
  16158. "ydqty": {
  16159. "description": "昨日持仓",
  16160. "type": "integer"
  16161. }
  16162. }
  16163. },
  16164. "ermcp.RealtimeExposureRsp": {
  16165. "type": "object",
  16166. "properties": {
  16167. "AreaUserID": {
  16168. "description": "所属机构",
  16169. "type": "integer"
  16170. },
  16171. "BuyFutureQty": {
  16172. "description": "买入期货数量",
  16173. "type": "number"
  16174. },
  16175. "BuyPlanQty": {
  16176. "description": "采购计划数量",
  16177. "type": "number"
  16178. },
  16179. "BuyPricedQty": {
  16180. "description": "采购合同已定价数量",
  16181. "type": "number"
  16182. },
  16183. "MiddleGoodsCode": {
  16184. "description": "套保品种代码",
  16185. "type": "string"
  16186. },
  16187. "MiddleGoodsHedgeRatio": {
  16188. "description": "套保比例",
  16189. "type": "number"
  16190. },
  16191. "MiddleGoodsID": {
  16192. "description": "套保品种",
  16193. "type": "integer"
  16194. },
  16195. "MiddleGoodsName": {
  16196. "description": "套保品种名称",
  16197. "type": "string"
  16198. },
  16199. "NeedHedgeExposoure": {
  16200. "description": "应套保敞口(套保敞口)",
  16201. "type": "number"
  16202. },
  16203. "NeedHedgeRatio": {
  16204. "description": "应套保敞口比例",
  16205. "type": "number"
  16206. },
  16207. "OriBuyFutureQty": {
  16208. "description": "期初买入期货数量",
  16209. "type": "number"
  16210. },
  16211. "OriBuyPlanQty": {
  16212. "description": "期初采购计划数量",
  16213. "type": "number"
  16214. },
  16215. "OriBuyPricedQty": {
  16216. "description": "期初采购合同已定价数量",
  16217. "type": "number"
  16218. },
  16219. "OriSellFutureQty": {
  16220. "description": "期初卖出期货数量",
  16221. "type": "number"
  16222. },
  16223. "OriSellPlanQty": {
  16224. "description": "期初销售计划数量",
  16225. "type": "number"
  16226. },
  16227. "OriSellPricedQty": {
  16228. "description": "期初销售合同已定价数量",
  16229. "type": "number"
  16230. },
  16231. "OriTotalSpotQty": {
  16232. "description": "期初现货总量",
  16233. "type": "number"
  16234. },
  16235. "SellFutureQty": {
  16236. "description": "卖出期货数量",
  16237. "type": "number"
  16238. },
  16239. "SellPlanQty": {
  16240. "description": "销售计划数量",
  16241. "type": "number"
  16242. },
  16243. "SellPricedQty": {
  16244. "description": "销售合同已定价数量",
  16245. "type": "number"
  16246. },
  16247. "TotalExposure": {
  16248. "description": "总敞口 平安:净敞口",
  16249. "type": "number"
  16250. },
  16251. "TotalFutureQty": {
  16252. "description": "期货总量 平安:保值净持仓量",
  16253. "type": "number"
  16254. },
  16255. "TotalHedgeRatio": {
  16256. "description": "敞口比例",
  16257. "type": "number"
  16258. },
  16259. "TotalNeedHedgeQty": {
  16260. "description": "应套保总量(现货应套保总量)",
  16261. "type": "number"
  16262. },
  16263. "TotalSpotQty": {
  16264. "description": "现货总量 平安:采销定价净值",
  16265. "type": "number"
  16266. },
  16267. "arbitrageqty": {
  16268. "description": "套利量",
  16269. "type": "number"
  16270. },
  16271. "diffArbitrageQty": {
  16272. "description": "期初均价",
  16273. "type": "number"
  16274. },
  16275. "diffExposoureQty": {
  16276. "description": "期初均价",
  16277. "type": "number"
  16278. },
  16279. "diffFutuQty": {
  16280. "description": "期初均价",
  16281. "type": "number"
  16282. },
  16283. "diffHedgeQty": {
  16284. "description": "期初均价",
  16285. "type": "number"
  16286. },
  16287. "diffQty": {
  16288. "description": "期初均价",
  16289. "type": "number"
  16290. },
  16291. "diffSpotHedgeQty": {
  16292. "description": "期初均价",
  16293. "type": "number"
  16294. },
  16295. "diffSpotQty": {
  16296. "description": "期初均价",
  16297. "type": "number"
  16298. },
  16299. "enumdicname": {
  16300. "description": "单位名称",
  16301. "type": "string"
  16302. },
  16303. "hedgeqty": {
  16304. "description": "套保量",
  16305. "type": "number"
  16306. },
  16307. "needarbitrageqty": {
  16308. "description": "应套利量",
  16309. "type": "number"
  16310. },
  16311. "needarbitrageratio": {
  16312. "description": "套利比例",
  16313. "type": "number"
  16314. },
  16315. "needhedgeqty": {
  16316. "description": "应套保量",
  16317. "type": "number"
  16318. },
  16319. "oriarbitrageqty": {
  16320. "description": "期初套利量",
  16321. "type": "number"
  16322. },
  16323. "orihedgeqty": {
  16324. "description": "期初套保量",
  16325. "type": "number"
  16326. },
  16327. "orineedhedgeexposoure": {
  16328. "description": "期初套保敞口",
  16329. "type": "number"
  16330. },
  16331. "oritotalexposure": {
  16332. "description": "期初总敞口",
  16333. "type": "number"
  16334. },
  16335. "oritotalfutureqty": {
  16336. "description": "期初期货总量",
  16337. "type": "number"
  16338. },
  16339. "oritotalneedhedgeqty": {
  16340. "description": "期初现货应套保量",
  16341. "type": "number"
  16342. }
  16343. }
  16344. },
  16345. "erms2.QueryArbitrageStrategyRsp": {
  16346. "type": "object",
  16347. "required": [
  16348. "asapplyid"
  16349. ],
  16350. "properties": {
  16351. "applybasis": {
  16352. "description": "申请基差",
  16353. "type": "number"
  16354. },
  16355. "asapplyid": {
  16356. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16357. "type": "string"
  16358. },
  16359. "asname": {
  16360. "description": "策略名称",
  16361. "type": "string"
  16362. },
  16363. "asno": {
  16364. "description": "策略编号",
  16365. "type": "string"
  16366. },
  16367. "basischangepl": {
  16368. "description": "基差变动损益[结算更新]",
  16369. "type": "number"
  16370. },
  16371. "biztype": {
  16372. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16373. "type": "integer"
  16374. },
  16375. "closetradedate": {
  16376. "description": "完结交易日(yyyyMMdd)",
  16377. "type": "string"
  16378. },
  16379. "curbasis": {
  16380. "description": "当前基差[结算更新]",
  16381. "type": "number"
  16382. },
  16383. "deliverygoodsid": {
  16384. "description": "现货品种ID",
  16385. "type": "integer"
  16386. },
  16387. "futureavgprice": {
  16388. "description": "期货建仓均价",
  16389. "type": "number"
  16390. },
  16391. "futurecloseamount": {
  16392. "description": "期货平仓金额",
  16393. "type": "number"
  16394. },
  16395. "futurecloseqty": {
  16396. "description": "期货平仓数量",
  16397. "type": "number"
  16398. },
  16399. "futureopenamount": {
  16400. "description": "期货开仓金额",
  16401. "type": "number"
  16402. },
  16403. "futureopenqty": {
  16404. "description": "期货开仓数量",
  16405. "type": "number"
  16406. },
  16407. "futurepl": {
  16408. "description": "期货总盈亏[结算更新]",
  16409. "type": "number"
  16410. },
  16411. "futureqty": {
  16412. "description": "期货持仓数量",
  16413. "type": "number"
  16414. },
  16415. "futurequote": {
  16416. "description": "期货额度",
  16417. "type": "number"
  16418. },
  16419. "goodsgroupid": {
  16420. "description": "期货品种ID",
  16421. "type": "integer"
  16422. },
  16423. "marketid": {
  16424. "description": "市场ID",
  16425. "type": "integer"
  16426. },
  16427. "netexposure": {
  16428. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  16429. "type": "number"
  16430. },
  16431. "netexposurepl": {
  16432. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  16433. "type": "number"
  16434. },
  16435. "netexposurerate": {
  16436. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  16437. "type": "number"
  16438. },
  16439. "openbasis": {
  16440. "description": "建仓基差",
  16441. "type": "number"
  16442. },
  16443. "pricedspotqty": {
  16444. "description": "已定价现货数量",
  16445. "type": "number"
  16446. },
  16447. "pricedspotqtynotax": {
  16448. "description": "已定价现货不含税数量",
  16449. "type": "number"
  16450. },
  16451. "remark": {
  16452. "description": "备注",
  16453. "type": "string"
  16454. },
  16455. "spotavgprice": {
  16456. "description": "现货均价",
  16457. "type": "number"
  16458. },
  16459. "spotbuyamount": {
  16460. "description": "现货采购金额",
  16461. "type": "number"
  16462. },
  16463. "spotbuyqty": {
  16464. "description": "现货采购数量",
  16465. "type": "number"
  16466. },
  16467. "spotpl": {
  16468. "description": "现货总盈亏[结算更新]",
  16469. "type": "number"
  16470. },
  16471. "spotquota": {
  16472. "description": "现货额度",
  16473. "type": "number"
  16474. },
  16475. "spotsellamount": {
  16476. "description": "现货销售金额",
  16477. "type": "number"
  16478. },
  16479. "spotsellqty": {
  16480. "description": "现货销售数量",
  16481. "type": "number"
  16482. },
  16483. "spotusedquota": {
  16484. "description": "现货占用资金",
  16485. "type": "number"
  16486. },
  16487. "strategystatus": {
  16488. "description": "策略状态 - 0:未结束 1:已结束",
  16489. "type": "integer"
  16490. },
  16491. "totalpl": {
  16492. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  16493. "type": "number"
  16494. },
  16495. "tradedate": {
  16496. "description": "交易日(yyyyMMdd)",
  16497. "type": "string"
  16498. },
  16499. "updatetime": {
  16500. "description": "更新时间",
  16501. "type": "string"
  16502. },
  16503. "usedquota": {
  16504. "description": "已占用资金",
  16505. "type": "number"
  16506. },
  16507. "userid": {
  16508. "description": "所属机构",
  16509. "type": "integer"
  16510. }
  16511. }
  16512. },
  16513. "erms2.QueryInnerTradeDetailRsp": {
  16514. "type": "object",
  16515. "required": [
  16516. "asapplyid",
  16517. "buyorsell",
  16518. "goodscode",
  16519. "goodsgroupid",
  16520. "goodsgroupname",
  16521. "goodsname",
  16522. "tradeid"
  16523. ],
  16524. "properties": {
  16525. "accountid": {
  16526. "description": "账号ID",
  16527. "type": "integer"
  16528. },
  16529. "agreeunit": {
  16530. "description": "合约单位",
  16531. "type": "number"
  16532. },
  16533. "asapplyid": {
  16534. "description": "策略申请ID",
  16535. "type": "integer"
  16536. },
  16537. "asname": {
  16538. "description": "策略名称",
  16539. "type": "string"
  16540. },
  16541. "asno": {
  16542. "description": "策略编号",
  16543. "type": "string"
  16544. },
  16545. "buyorsell": {
  16546. "description": "方向 - 0:买 1:卖",
  16547. "type": "integer"
  16548. },
  16549. "channelbuildtype": {
  16550. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16551. "type": "integer"
  16552. },
  16553. "closetype": {
  16554. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16555. "type": "integer"
  16556. },
  16557. "decimalplace": {
  16558. "description": "报价小数位",
  16559. "type": "integer"
  16560. },
  16561. "detailtype": {
  16562. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  16563. "type": "integer"
  16564. },
  16565. "exexchangecode": {
  16566. "description": "外部交易所代码",
  16567. "type": "string"
  16568. },
  16569. "exexchangename": {
  16570. "description": "外部交易所名称",
  16571. "type": "string"
  16572. },
  16573. "goodscode": {
  16574. "description": "商品代码(合约)",
  16575. "type": "string"
  16576. },
  16577. "goodsgroupid": {
  16578. "description": "商品组ID(品种ID)",
  16579. "type": "integer"
  16580. },
  16581. "goodsgroupname": {
  16582. "description": "商品组名称(品种)",
  16583. "type": "string"
  16584. },
  16585. "goodsid": {
  16586. "description": "商品ID",
  16587. "type": "integer"
  16588. },
  16589. "goodsname": {
  16590. "description": "商品名称(合约)",
  16591. "type": "string"
  16592. },
  16593. "goodunit": {
  16594. "description": "报价单位",
  16595. "type": "string"
  16596. },
  16597. "marketid": {
  16598. "description": "市场ID",
  16599. "type": "integer"
  16600. },
  16601. "orderid": {
  16602. "description": "委托单号",
  16603. "type": "string"
  16604. },
  16605. "outgoodscode": {
  16606. "description": "商品代码(外部)",
  16607. "type": "string"
  16608. },
  16609. "relatedouttradeid": {
  16610. "description": "关联外部成交单ID",
  16611. "type": "string"
  16612. },
  16613. "remark": {
  16614. "description": "备注",
  16615. "type": "string"
  16616. },
  16617. "spotcontractid": {
  16618. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  16619. "type": "integer"
  16620. },
  16621. "spotcontractno": {
  16622. "description": "现货合同编号",
  16623. "type": "string"
  16624. },
  16625. "tradeid": {
  16626. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16627. "type": "string"
  16628. },
  16629. "tradeprice": {
  16630. "description": "成交价格",
  16631. "type": "number"
  16632. },
  16633. "tradeqty": {
  16634. "description": "成交数量",
  16635. "type": "integer"
  16636. },
  16637. "tradetime": {
  16638. "description": "成交时间",
  16639. "type": "string"
  16640. },
  16641. "updatetime": {
  16642. "description": "更新时间",
  16643. "type": "string"
  16644. }
  16645. }
  16646. },
  16647. "erms2.QuerySpotContractRsp": {
  16648. "type": "object",
  16649. "required": [
  16650. "spotcontractid"
  16651. ],
  16652. "properties": {
  16653. "accountid": {
  16654. "description": "资金账户ID",
  16655. "type": "integer"
  16656. },
  16657. "areauserid": {
  16658. "description": "所属机构",
  16659. "type": "integer"
  16660. },
  16661. "closedate": {
  16662. "description": "终止日期",
  16663. "type": "string"
  16664. },
  16665. "closeremark": {
  16666. "description": "结束备注",
  16667. "type": "string"
  16668. },
  16669. "closetradedate": {
  16670. "description": "完结交易日(yyyyMMdd)",
  16671. "type": "string"
  16672. },
  16673. "closetype": {
  16674. "description": "终止类型 - 1:违约 2:提前终止",
  16675. "type": "integer"
  16676. },
  16677. "contractamount": {
  16678. "description": "合同金额",
  16679. "type": "number"
  16680. },
  16681. "contractattachment": {
  16682. "description": "合同附件",
  16683. "type": "string"
  16684. },
  16685. "contractno": {
  16686. "description": "现货合同编号",
  16687. "type": "string"
  16688. },
  16689. "contractqty": {
  16690. "description": "合同数量(数值) (用于计算)",
  16691. "type": "number"
  16692. },
  16693. "contractqtychar": {
  16694. "description": "合同数量\\已订价数量 (用于显示)",
  16695. "type": "string"
  16696. },
  16697. "contractstatus": {
  16698. "description": "合同状态 - 0:未结束 1:已结束",
  16699. "type": "integer"
  16700. },
  16701. "contracttype": {
  16702. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  16703. "type": "integer"
  16704. },
  16705. "customeraccountid": {
  16706. "description": "客户资金账户ID",
  16707. "type": "integer"
  16708. },
  16709. "customeruserid": {
  16710. "description": "客户ID",
  16711. "type": "integer"
  16712. },
  16713. "deliverygoodsdesc": {
  16714. "description": "品种说明",
  16715. "type": "string"
  16716. },
  16717. "deliverygoodsid": {
  16718. "description": "现货品种ID",
  16719. "type": "integer"
  16720. },
  16721. "handlestatus": {
  16722. "description": "处理状态",
  16723. "type": "integer"
  16724. },
  16725. "invoiceatt": {
  16726. "description": "发票附件",
  16727. "type": "string"
  16728. },
  16729. "invoicedatetime": {
  16730. "description": "开收票更新时间",
  16731. "type": "string"
  16732. },
  16733. "invoiceopentime": {
  16734. "description": "开票时间",
  16735. "type": "string"
  16736. },
  16737. "invoiceremark": {
  16738. "description": "发票备注",
  16739. "type": "string"
  16740. },
  16741. "invoicestatus": {
  16742. "description": "开收票状态 - 0:未开票 1:已开票",
  16743. "type": "integer"
  16744. },
  16745. "lastdate": {
  16746. "description": "交货时间",
  16747. "type": "string"
  16748. },
  16749. "marketid": {
  16750. "description": "市场ID",
  16751. "type": "integer"
  16752. },
  16753. "paydatetime": {
  16754. "description": "收付款更新时间",
  16755. "type": "string"
  16756. },
  16757. "payremark": {
  16758. "description": "收付款备注",
  16759. "type": "string"
  16760. },
  16761. "paystatus": {
  16762. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  16763. "type": "integer"
  16764. },
  16765. "positionqty": {
  16766. "description": "头寸数量 - 合同数量去小数部分",
  16767. "type": "integer"
  16768. },
  16769. "producttype": {
  16770. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16771. "type": "integer"
  16772. },
  16773. "relatedqty": {
  16774. "description": "已关联数量",
  16775. "type": "number"
  16776. },
  16777. "relatedstatus": {
  16778. "description": "关联完结状态 - 0:未结束 1:已结束",
  16779. "type": "integer"
  16780. },
  16781. "remark": {
  16782. "description": "备注",
  16783. "type": "string"
  16784. },
  16785. "signdate": {
  16786. "description": "签订日期",
  16787. "type": "string"
  16788. },
  16789. "spotcontractid": {
  16790. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  16791. "type": "string"
  16792. },
  16793. "spotdatetime": {
  16794. "description": "收发货更新时间",
  16795. "type": "string"
  16796. },
  16797. "spotprice": {
  16798. "description": "价格",
  16799. "type": "number"
  16800. },
  16801. "spotremark": {
  16802. "description": "收发货备注",
  16803. "type": "string"
  16804. },
  16805. "spotstatus": {
  16806. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  16807. "type": "integer"
  16808. },
  16809. "tradedate": {
  16810. "description": "交易日(yyyyMMdd)",
  16811. "type": "string"
  16812. },
  16813. "userid": {
  16814. "description": "业务员用户ID",
  16815. "type": "integer"
  16816. },
  16817. "warehouseid": {
  16818. "description": "仓库ID",
  16819. "type": "integer"
  16820. },
  16821. "wrfactortypeid": {
  16822. "description": "仓单要素类型ID",
  16823. "type": "integer"
  16824. },
  16825. "wrstandardid": {
  16826. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16827. "type": "integer"
  16828. }
  16829. }
  16830. },
  16831. "erms3.AddErms2ASApplyReq": {
  16832. "type": "object",
  16833. "required": [
  16834. "asapplyid"
  16835. ],
  16836. "properties": {
  16837. "applybasis": {
  16838. "description": "申请基差",
  16839. "type": "number"
  16840. },
  16841. "applystatus": {
  16842. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16843. "type": "integer"
  16844. },
  16845. "asapplyid": {
  16846. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  16847. "type": "integer"
  16848. },
  16849. "asname": {
  16850. "description": "策略名称",
  16851. "type": "string"
  16852. },
  16853. "asno": {
  16854. "description": "策略编号",
  16855. "type": "string"
  16856. },
  16857. "auditid": {
  16858. "description": "审核人",
  16859. "type": "integer"
  16860. },
  16861. "auditremark": {
  16862. "description": "审核备注",
  16863. "type": "string"
  16864. },
  16865. "audittime": {
  16866. "description": "审核时间",
  16867. "type": "string"
  16868. },
  16869. "biztype": {
  16870. "description": "业务类型 - 1:正向套利 2:反向套利",
  16871. "type": "integer"
  16872. },
  16873. "createtime": {
  16874. "description": "创建时间",
  16875. "type": "string"
  16876. },
  16877. "creatorid": {
  16878. "description": "创建人",
  16879. "type": "integer"
  16880. },
  16881. "deliverygoodsid": {
  16882. "description": "现货品种ID",
  16883. "type": "integer"
  16884. },
  16885. "futurequote": {
  16886. "description": "期货额度",
  16887. "type": "number"
  16888. },
  16889. "goodsgroupid": {
  16890. "description": "期货品种ID",
  16891. "type": "integer"
  16892. },
  16893. "marketid": {
  16894. "description": "市场ID",
  16895. "type": "integer"
  16896. },
  16897. "remark": {
  16898. "description": "备注",
  16899. "type": "string"
  16900. },
  16901. "spotquota": {
  16902. "description": "现货额度",
  16903. "type": "number"
  16904. },
  16905. "tradedate": {
  16906. "description": "交易日(yyyyMMdd)",
  16907. "type": "string"
  16908. },
  16909. "userid": {
  16910. "description": "所属机构",
  16911. "type": "integer"
  16912. }
  16913. }
  16914. },
  16915. "erms3.AddErms2SpotTradeApplyReq": {
  16916. "type": "object",
  16917. "required": [
  16918. "spottradeid"
  16919. ],
  16920. "properties": {
  16921. "applyjsondetail": {
  16922. "description": "申请明细(JSON)",
  16923. "type": "string"
  16924. },
  16925. "applystatus": {
  16926. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16927. "type": "integer"
  16928. },
  16929. "areauserid": {
  16930. "description": "所属机构",
  16931. "type": "integer"
  16932. },
  16933. "auditid": {
  16934. "description": "审核人",
  16935. "type": "integer"
  16936. },
  16937. "auditremark": {
  16938. "description": "审核备注",
  16939. "type": "string"
  16940. },
  16941. "audittime": {
  16942. "description": "审核时间",
  16943. "type": "string"
  16944. },
  16945. "createtime": {
  16946. "description": "创建时间",
  16947. "type": "string"
  16948. },
  16949. "creatorid": {
  16950. "description": "创建人",
  16951. "type": "integer"
  16952. },
  16953. "deliverygoodsid": {
  16954. "description": "现货品种ID",
  16955. "type": "integer"
  16956. },
  16957. "futureaccountid": {
  16958. "description": "期货资金账户",
  16959. "type": "integer"
  16960. },
  16961. "goodsgroupid": {
  16962. "description": "期货品种",
  16963. "type": "integer"
  16964. },
  16965. "marketid": {
  16966. "description": "市场ID",
  16967. "type": "integer"
  16968. },
  16969. "remark": {
  16970. "description": "备注",
  16971. "type": "string"
  16972. },
  16973. "spotaccountid": {
  16974. "description": "现货资金账户",
  16975. "type": "integer"
  16976. },
  16977. "spottradeid": {
  16978. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  16979. "type": "integer"
  16980. },
  16981. "spottradename": {
  16982. "description": "业务名称",
  16983. "type": "string"
  16984. },
  16985. "spottradeno": {
  16986. "description": "业务编号",
  16987. "type": "string"
  16988. },
  16989. "tradedate": {
  16990. "description": "交易日(yyyyMMdd)",
  16991. "type": "string"
  16992. },
  16993. "wrstandardid": {
  16994. "description": "仓单标准ID",
  16995. "type": "integer"
  16996. }
  16997. }
  16998. },
  16999. "erms3.AddSpotContractApplyReq": {
  17000. "type": "object",
  17001. "required": [
  17002. "accountid",
  17003. "areauserid",
  17004. "contractno",
  17005. "contracttype",
  17006. "customeraccountid",
  17007. "customeruserid",
  17008. "details",
  17009. "orimargin",
  17010. "signdate"
  17011. ],
  17012. "properties": {
  17013. "accountid": {
  17014. "description": "资金账户ID",
  17015. "type": "integer"
  17016. },
  17017. "areauserid": {
  17018. "description": "所属机构",
  17019. "type": "integer"
  17020. },
  17021. "contractattachment": {
  17022. "description": "合同附件",
  17023. "type": "string"
  17024. },
  17025. "contractno": {
  17026. "description": "现货合同编号",
  17027. "type": "string"
  17028. },
  17029. "contracttype": {
  17030. "description": "现货合同类型 - 1:采购 -1:销售",
  17031. "type": "integer"
  17032. },
  17033. "creatorid": {
  17034. "description": "申请人",
  17035. "type": "integer"
  17036. },
  17037. "customeraccountid": {
  17038. "description": "客户资金账户ID",
  17039. "type": "integer"
  17040. },
  17041. "customeruserid": {
  17042. "description": "客户ID",
  17043. "type": "integer"
  17044. },
  17045. "details": {
  17046. "description": "明细",
  17047. "type": "array",
  17048. "items": {
  17049. "$ref": "#/definitions/erms3.SoptContractDetail"
  17050. }
  17051. },
  17052. "orimargin": {
  17053. "description": "初始保证金",
  17054. "type": "number"
  17055. },
  17056. "remark": {
  17057. "description": "备注",
  17058. "type": "string"
  17059. },
  17060. "signdate": {
  17061. "description": "签订日期",
  17062. "type": "string"
  17063. }
  17064. }
  17065. },
  17066. "erms3.AddSpotContractApplyRsp": {
  17067. "type": "object",
  17068. "required": [
  17069. "contractno"
  17070. ],
  17071. "properties": {
  17072. "contractno": {
  17073. "description": "现货合同编号",
  17074. "type": "string"
  17075. },
  17076. "spotcontractid": {
  17077. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17078. "type": "integer"
  17079. }
  17080. }
  17081. },
  17082. "erms3.AddUserInfoApplyReq": {
  17083. "type": "object",
  17084. "required": [
  17085. "userid"
  17086. ],
  17087. "properties": {
  17088. "accountid": {
  17089. "description": "交易系统帐号Id (加密存储)",
  17090. "type": "integer"
  17091. },
  17092. "areacode": {
  17093. "description": "机构代码",
  17094. "type": "string"
  17095. },
  17096. "areaid": {
  17097. "description": "机构Id",
  17098. "type": "integer"
  17099. },
  17100. "attachment1": {
  17101. "description": "附件1",
  17102. "type": "string"
  17103. },
  17104. "attachment2": {
  17105. "description": "附件2",
  17106. "type": "string"
  17107. },
  17108. "attachment3": {
  17109. "description": "附件3",
  17110. "type": "string"
  17111. },
  17112. "attachment4": {
  17113. "description": "附件4",
  17114. "type": "string"
  17115. },
  17116. "attachment5": {
  17117. "description": "附件5",
  17118. "type": "string"
  17119. },
  17120. "auditedby": {
  17121. "description": "审核人",
  17122. "type": "string"
  17123. },
  17124. "auditime": {
  17125. "description": "审核时间",
  17126. "type": "string"
  17127. },
  17128. "auditsrc": {
  17129. "description": "审核来源 - 1:管理端 2:终端",
  17130. "type": "integer"
  17131. },
  17132. "bankaccount": {
  17133. "description": "银行帐号 (加密存储)",
  17134. "type": "string"
  17135. },
  17136. "bankaccountname": {
  17137. "description": "收款人名称",
  17138. "type": "string"
  17139. },
  17140. "bankcardbackphotourl": {
  17141. "description": "银行卡背面照地址",
  17142. "type": "string"
  17143. },
  17144. "bankcardfrontphotourl": {
  17145. "description": "银行卡正面照地址",
  17146. "type": "string"
  17147. },
  17148. "bankid": {
  17149. "description": "银行编码",
  17150. "type": "string"
  17151. },
  17152. "bankname": {
  17153. "description": "银行名称",
  17154. "type": "string"
  17155. },
  17156. "bankpictureurl": {
  17157. "description": "银行卡正面地址",
  17158. "type": "string"
  17159. },
  17160. "biznature": {
  17161. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17162. "type": "integer"
  17163. },
  17164. "bizscope": {
  17165. "description": "企业经营范围(企业)",
  17166. "type": "string"
  17167. },
  17168. "biztype": {
  17169. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17170. "type": "integer"
  17171. },
  17172. "brokerid": {
  17173. "description": "经纪人ID(加密存储)",
  17174. "type": "string"
  17175. },
  17176. "cardaddress": {
  17177. "description": "证件地址 (加密存储)",
  17178. "type": "string"
  17179. },
  17180. "cardbackphotourl": {
  17181. "description": "背面证件照地址",
  17182. "type": "string"
  17183. },
  17184. "cardfrontphotourl": {
  17185. "description": "正面证件照地址",
  17186. "type": "string"
  17187. },
  17188. "cardnum": {
  17189. "description": "证件号码 (加密存储)",
  17190. "type": "string"
  17191. },
  17192. "cardtype": {
  17193. "description": "证件类型",
  17194. "type": "integer"
  17195. },
  17196. "cityid": {
  17197. "description": "市",
  17198. "type": "integer"
  17199. },
  17200. "company": {
  17201. "description": "公司(个人)",
  17202. "type": "string"
  17203. },
  17204. "contactcardbackphotourl": {
  17205. "description": "联系人证件背面图片地址",
  17206. "type": "string"
  17207. },
  17208. "contactcardfrontphotourl": {
  17209. "description": "联系人证件正面图片地址",
  17210. "type": "string"
  17211. },
  17212. "contactname": {
  17213. "description": "联系人",
  17214. "type": "string"
  17215. },
  17216. "countryid": {
  17217. "description": "国家",
  17218. "type": "integer"
  17219. },
  17220. "createtime": {
  17221. "description": "开户申请时间",
  17222. "type": "string"
  17223. },
  17224. "cusbankid": {
  17225. "description": "签约类型",
  17226. "type": "string"
  17227. },
  17228. "cusbankname": {
  17229. "description": "签约类型名称",
  17230. "type": "string"
  17231. },
  17232. "customername": {
  17233. "description": "客户名称(企业名称)",
  17234. "type": "string"
  17235. },
  17236. "districtid": {
  17237. "description": "地区",
  17238. "type": "integer"
  17239. },
  17240. "email": {
  17241. "description": "Email地址(加密存储)",
  17242. "type": "string"
  17243. },
  17244. "halfbodyphotourl": {
  17245. "description": "半身照地址",
  17246. "type": "string"
  17247. },
  17248. "headurl": {
  17249. "description": "头像地址",
  17250. "type": "string"
  17251. },
  17252. "ipaddress": {
  17253. "description": "IP地址",
  17254. "type": "string"
  17255. },
  17256. "isvalidate": {
  17257. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17258. "type": "string"
  17259. },
  17260. "legalcardbackphotourl": {
  17261. "description": "法人身份证背面照地址",
  17262. "type": "string"
  17263. },
  17264. "legalcardfrontphotourl": {
  17265. "description": "法人身份证正面照地址",
  17266. "type": "string"
  17267. },
  17268. "legalpersonname": {
  17269. "description": "法人姓名(企业)",
  17270. "type": "string"
  17271. },
  17272. "logincode": {
  17273. "description": "登录帐号 (加密存储)",
  17274. "type": "string"
  17275. },
  17276. "memberareaid": {
  17277. "description": "所属会员ID",
  17278. "type": "integer"
  17279. },
  17280. "mobile2": {
  17281. "description": "手机号码[明文-尚志]",
  17282. "type": "string"
  17283. },
  17284. "mobilephone": {
  17285. "description": "手机号码 (加密存储)",
  17286. "type": "string"
  17287. },
  17288. "modifiedby": {
  17289. "description": "修改人帐号",
  17290. "type": "integer"
  17291. },
  17292. "modifiedtime": {
  17293. "description": "修改时间",
  17294. "type": "string"
  17295. },
  17296. "nickname": {
  17297. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17298. "type": "string"
  17299. },
  17300. "openmode": {
  17301. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17302. "type": "integer"
  17303. },
  17304. "otherurl": {
  17305. "description": "其它图片地址[使用分号分隔]",
  17306. "type": "string"
  17307. },
  17308. "postalcode": {
  17309. "description": "邮政编码",
  17310. "type": "string"
  17311. },
  17312. "provinceid": {
  17313. "description": "省",
  17314. "type": "integer"
  17315. },
  17316. "proxystatementurl": {
  17317. "description": "授权委托书",
  17318. "type": "string"
  17319. },
  17320. "qq": {
  17321. "description": "QQ(加密存储",
  17322. "type": "string"
  17323. },
  17324. "referral": {
  17325. "description": "推荐人编码",
  17326. "type": "string"
  17327. },
  17328. "remark": {
  17329. "description": "备注",
  17330. "type": "string"
  17331. },
  17332. "removebeforestatus": {
  17333. "description": "REMOVEBEFORESTATUS",
  17334. "type": "integer"
  17335. },
  17336. "sex": {
  17337. "description": "性别 - 0:女 1:男",
  17338. "type": "integer"
  17339. },
  17340. "signedstatus": {
  17341. "description": "账户一号签签约状态",
  17342. "type": "integer"
  17343. },
  17344. "signpdfurl": {
  17345. "description": "签约pdf文件",
  17346. "type": "string"
  17347. },
  17348. "subbranch": {
  17349. "description": "开户支行",
  17350. "type": "string"
  17351. },
  17352. "taxpayernum": {
  17353. "description": "纳税人识别号",
  17354. "type": "string"
  17355. },
  17356. "telphone": {
  17357. "description": "联系电话(加密存储)",
  17358. "type": "string"
  17359. },
  17360. "userid": {
  17361. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17362. "type": "integer"
  17363. },
  17364. "userinfotype": {
  17365. "description": "用户信息类型 - 1:个人 2:企业",
  17366. "type": "integer"
  17367. },
  17368. "username": {
  17369. "description": "用户姓名",
  17370. "type": "string"
  17371. },
  17372. "userstate": {
  17373. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17374. "type": "integer"
  17375. },
  17376. "usertype": {
  17377. "description": "用户类型 - 1:投资者 2:机构",
  17378. "type": "integer"
  17379. },
  17380. "videourl": {
  17381. "description": "视频地址",
  17382. "type": "string"
  17383. },
  17384. "wechat": {
  17385. "description": "微信号 (加密存储)",
  17386. "type": "string"
  17387. }
  17388. }
  17389. },
  17390. "erms3.CustomerInfo": {
  17391. "type": "object",
  17392. "required": [
  17393. "userid"
  17394. ],
  17395. "properties": {
  17396. "accountids": {
  17397. "description": "资金账户ID列表",
  17398. "type": "array",
  17399. "items": {
  17400. "type": "integer"
  17401. }
  17402. },
  17403. "customername": {
  17404. "description": "名称(企业名称)",
  17405. "type": "string"
  17406. },
  17407. "mobile": {
  17408. "description": "手机号码",
  17409. "type": "string"
  17410. },
  17411. "userid": {
  17412. "description": "用户ID",
  17413. "type": "integer"
  17414. }
  17415. }
  17416. },
  17417. "erms3.ModifyUserInfoApplyReq": {
  17418. "type": "object",
  17419. "required": [
  17420. "userid"
  17421. ],
  17422. "properties": {
  17423. "accountid": {
  17424. "description": "交易系统帐号Id (加密存储)",
  17425. "type": "integer"
  17426. },
  17427. "areacode": {
  17428. "description": "机构代码",
  17429. "type": "string"
  17430. },
  17431. "areaid": {
  17432. "description": "机构Id",
  17433. "type": "integer"
  17434. },
  17435. "attachment1": {
  17436. "description": "附件1",
  17437. "type": "string"
  17438. },
  17439. "attachment2": {
  17440. "description": "附件2",
  17441. "type": "string"
  17442. },
  17443. "attachment3": {
  17444. "description": "附件3",
  17445. "type": "string"
  17446. },
  17447. "attachment4": {
  17448. "description": "附件4",
  17449. "type": "string"
  17450. },
  17451. "attachment5": {
  17452. "description": "附件5",
  17453. "type": "string"
  17454. },
  17455. "auditedby": {
  17456. "description": "审核人",
  17457. "type": "string"
  17458. },
  17459. "auditime": {
  17460. "description": "审核时间",
  17461. "type": "string"
  17462. },
  17463. "auditsrc": {
  17464. "description": "审核来源 - 1:管理端 2:终端",
  17465. "type": "integer"
  17466. },
  17467. "bankaccount": {
  17468. "description": "银行帐号 (加密存储)",
  17469. "type": "string"
  17470. },
  17471. "bankaccountname": {
  17472. "description": "收款人名称",
  17473. "type": "string"
  17474. },
  17475. "bankcardbackphotourl": {
  17476. "description": "银行卡背面照地址",
  17477. "type": "string"
  17478. },
  17479. "bankcardfrontphotourl": {
  17480. "description": "银行卡正面照地址",
  17481. "type": "string"
  17482. },
  17483. "bankid": {
  17484. "description": "银行编码",
  17485. "type": "string"
  17486. },
  17487. "bankname": {
  17488. "description": "银行名称",
  17489. "type": "string"
  17490. },
  17491. "bankpictureurl": {
  17492. "description": "银行卡正面地址",
  17493. "type": "string"
  17494. },
  17495. "biznature": {
  17496. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17497. "type": "integer"
  17498. },
  17499. "bizscope": {
  17500. "description": "企业经营范围(企业)",
  17501. "type": "string"
  17502. },
  17503. "biztype": {
  17504. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17505. "type": "integer"
  17506. },
  17507. "brokerid": {
  17508. "description": "经纪人ID(加密存储)",
  17509. "type": "string"
  17510. },
  17511. "cardaddress": {
  17512. "description": "证件地址 (加密存储)",
  17513. "type": "string"
  17514. },
  17515. "cardbackphotourl": {
  17516. "description": "背面证件照地址",
  17517. "type": "string"
  17518. },
  17519. "cardfrontphotourl": {
  17520. "description": "正面证件照地址",
  17521. "type": "string"
  17522. },
  17523. "cardnum": {
  17524. "description": "证件号码 (加密存储)",
  17525. "type": "string"
  17526. },
  17527. "cardtype": {
  17528. "description": "证件类型",
  17529. "type": "integer"
  17530. },
  17531. "cityid": {
  17532. "description": "市",
  17533. "type": "integer"
  17534. },
  17535. "company": {
  17536. "description": "公司(个人)",
  17537. "type": "string"
  17538. },
  17539. "contactcardbackphotourl": {
  17540. "description": "联系人证件背面图片地址",
  17541. "type": "string"
  17542. },
  17543. "contactcardfrontphotourl": {
  17544. "description": "联系人证件正面图片地址",
  17545. "type": "string"
  17546. },
  17547. "contactname": {
  17548. "description": "联系人",
  17549. "type": "string"
  17550. },
  17551. "countryid": {
  17552. "description": "国家",
  17553. "type": "integer"
  17554. },
  17555. "createtime": {
  17556. "description": "开户申请时间",
  17557. "type": "string"
  17558. },
  17559. "cusbankid": {
  17560. "description": "签约类型",
  17561. "type": "string"
  17562. },
  17563. "cusbankname": {
  17564. "description": "签约类型名称",
  17565. "type": "string"
  17566. },
  17567. "customername": {
  17568. "description": "客户名称(企业名称)",
  17569. "type": "string"
  17570. },
  17571. "districtid": {
  17572. "description": "地区",
  17573. "type": "integer"
  17574. },
  17575. "email": {
  17576. "description": "Email地址(加密存储)",
  17577. "type": "string"
  17578. },
  17579. "halfbodyphotourl": {
  17580. "description": "半身照地址",
  17581. "type": "string"
  17582. },
  17583. "headurl": {
  17584. "description": "头像地址",
  17585. "type": "string"
  17586. },
  17587. "ipaddress": {
  17588. "description": "IP地址",
  17589. "type": "string"
  17590. },
  17591. "isvalidate": {
  17592. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17593. "type": "string"
  17594. },
  17595. "legalcardbackphotourl": {
  17596. "description": "法人身份证背面照地址",
  17597. "type": "string"
  17598. },
  17599. "legalcardfrontphotourl": {
  17600. "description": "法人身份证正面照地址",
  17601. "type": "string"
  17602. },
  17603. "legalpersonname": {
  17604. "description": "法人姓名(企业)",
  17605. "type": "string"
  17606. },
  17607. "logincode": {
  17608. "description": "登录帐号 (加密存储)",
  17609. "type": "string"
  17610. },
  17611. "memberareaid": {
  17612. "description": "所属会员ID",
  17613. "type": "integer"
  17614. },
  17615. "mobile2": {
  17616. "description": "手机号码[明文-尚志]",
  17617. "type": "string"
  17618. },
  17619. "mobilephone": {
  17620. "description": "手机号码 (加密存储)",
  17621. "type": "string"
  17622. },
  17623. "modifiedby": {
  17624. "description": "修改人帐号",
  17625. "type": "integer"
  17626. },
  17627. "modifiedtime": {
  17628. "description": "修改时间",
  17629. "type": "string"
  17630. },
  17631. "nickname": {
  17632. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17633. "type": "string"
  17634. },
  17635. "openmode": {
  17636. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17637. "type": "integer"
  17638. },
  17639. "otherurl": {
  17640. "description": "其它图片地址[使用分号分隔]",
  17641. "type": "string"
  17642. },
  17643. "postalcode": {
  17644. "description": "邮政编码",
  17645. "type": "string"
  17646. },
  17647. "provinceid": {
  17648. "description": "省",
  17649. "type": "integer"
  17650. },
  17651. "proxystatementurl": {
  17652. "description": "授权委托书",
  17653. "type": "string"
  17654. },
  17655. "qq": {
  17656. "description": "QQ(加密存储",
  17657. "type": "string"
  17658. },
  17659. "referral": {
  17660. "description": "推荐人编码",
  17661. "type": "string"
  17662. },
  17663. "remark": {
  17664. "description": "备注",
  17665. "type": "string"
  17666. },
  17667. "removebeforestatus": {
  17668. "description": "REMOVEBEFORESTATUS",
  17669. "type": "integer"
  17670. },
  17671. "sex": {
  17672. "description": "性别 - 0:女 1:男",
  17673. "type": "integer"
  17674. },
  17675. "signedstatus": {
  17676. "description": "账户一号签签约状态",
  17677. "type": "integer"
  17678. },
  17679. "signpdfurl": {
  17680. "description": "签约pdf文件",
  17681. "type": "string"
  17682. },
  17683. "subbranch": {
  17684. "description": "开户支行",
  17685. "type": "string"
  17686. },
  17687. "taxpayernum": {
  17688. "description": "纳税人识别号",
  17689. "type": "string"
  17690. },
  17691. "telphone": {
  17692. "description": "联系电话(加密存储)",
  17693. "type": "string"
  17694. },
  17695. "userid": {
  17696. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17697. "type": "integer"
  17698. },
  17699. "userinfotype": {
  17700. "description": "用户信息类型 - 1:个人 2:企业",
  17701. "type": "integer"
  17702. },
  17703. "username": {
  17704. "description": "用户姓名",
  17705. "type": "string"
  17706. },
  17707. "userstate": {
  17708. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17709. "type": "integer"
  17710. },
  17711. "usertype": {
  17712. "description": "用户类型 - 1:投资者 2:机构",
  17713. "type": "integer"
  17714. },
  17715. "videourl": {
  17716. "description": "视频地址",
  17717. "type": "string"
  17718. },
  17719. "wechat": {
  17720. "description": "微信号 (加密存储)",
  17721. "type": "string"
  17722. }
  17723. }
  17724. },
  17725. "erms3.QryAuditContractRsp": {
  17726. "type": "object",
  17727. "required": [
  17728. "matchcustomername",
  17729. "spotcontractid"
  17730. ],
  17731. "properties": {
  17732. "accountid": {
  17733. "description": "交易员ID",
  17734. "type": "string"
  17735. },
  17736. "applystatus": {
  17737. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17738. "type": "integer"
  17739. },
  17740. "curdeliveryqty": {
  17741. "description": "未交收量",
  17742. "type": "integer"
  17743. },
  17744. "customername": {
  17745. "description": "采购方ID",
  17746. "type": "string"
  17747. },
  17748. "deliverygoodsid": {
  17749. "description": "品种ID",
  17750. "type": "string"
  17751. },
  17752. "deliveryqty": {
  17753. "description": "交收量",
  17754. "type": "integer"
  17755. },
  17756. "enumdicname": {
  17757. "description": "单位名称",
  17758. "type": "string"
  17759. },
  17760. "matchaccountid": {
  17761. "description": "业务员ID",
  17762. "type": "string"
  17763. },
  17764. "matchcustomername": {
  17765. "description": "销售方ID",
  17766. "type": "string"
  17767. },
  17768. "pricedqty": {
  17769. "description": "定价量",
  17770. "type": "number"
  17771. },
  17772. "signdate": {
  17773. "description": "签订日期",
  17774. "type": "string"
  17775. },
  17776. "spotcontractid": {
  17777. "description": "合同ID",
  17778. "type": "string"
  17779. },
  17780. "totaldqty": {
  17781. "description": "合同量",
  17782. "type": "number"
  17783. },
  17784. "unpricedqty": {
  17785. "description": "未定价量",
  17786. "type": "number"
  17787. },
  17788. "wrstandardname": {
  17789. "description": "商品名称",
  17790. "type": "string"
  17791. }
  17792. }
  17793. },
  17794. "erms3.QryPendingBizRsp": {
  17795. "type": "object",
  17796. "properties": {
  17797. "accountid": {
  17798. "description": "现货账户",
  17799. "type": "string"
  17800. },
  17801. "areaname": {
  17802. "description": "所属部门",
  17803. "type": "string"
  17804. },
  17805. "bizid": {
  17806. "description": "业务ID",
  17807. "type": "string"
  17808. },
  17809. "bizname": {
  17810. "description": "业务名称",
  17811. "type": "string"
  17812. },
  17813. "status": {
  17814. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17815. "type": "integer"
  17816. },
  17817. "type": {
  17818. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  17819. "type": "integer"
  17820. }
  17821. }
  17822. },
  17823. "erms3.QueryBusinessInfoRsp": {
  17824. "type": "object",
  17825. "properties": {
  17826. "businessid": {
  17827. "description": "业务ID.",
  17828. "type": "integer"
  17829. },
  17830. "buyamount": {
  17831. "description": "采购额.",
  17832. "type": "number"
  17833. },
  17834. "buyqty": {
  17835. "description": "采购量.",
  17836. "type": "string"
  17837. },
  17838. "futurepl": {
  17839. "description": "期货盈亏.",
  17840. "type": "number"
  17841. },
  17842. "futureqty": {
  17843. "description": "期货敞口.",
  17844. "type": "string"
  17845. },
  17846. "goodsid": {
  17847. "description": "商品名称/商品代码.",
  17848. "type": "string"
  17849. },
  17850. "hedgingqty": {
  17851. "description": "套保量.",
  17852. "type": "string"
  17853. },
  17854. "sellamount": {
  17855. "description": "销售额.",
  17856. "type": "number"
  17857. },
  17858. "sellqty": {
  17859. "description": "销售量.",
  17860. "type": "string"
  17861. },
  17862. "spotmarketvalue": {
  17863. "description": "现货市值.",
  17864. "type": "number"
  17865. },
  17866. "spotpl": {
  17867. "description": "浮动权益.",
  17868. "type": "number"
  17869. },
  17870. "spotqty": {
  17871. "description": "现货量.",
  17872. "type": "string"
  17873. },
  17874. "statu": {
  17875. "description": "状态,0-未结束 1-已结束.",
  17876. "type": "integer"
  17877. },
  17878. "totalpl": {
  17879. "description": "总盈亏.",
  17880. "type": "number"
  17881. },
  17882. "totalqty": {
  17883. "description": "总敞口.",
  17884. "type": "string"
  17885. },
  17886. "type": {
  17887. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  17888. "type": "integer"
  17889. }
  17890. }
  17891. },
  17892. "erms3.QuerySpotContractAppleFormRsp": {
  17893. "type": "object",
  17894. "properties": {
  17895. "goodses": {
  17896. "description": "合约列表",
  17897. "type": "array",
  17898. "items": {
  17899. "$ref": "#/definitions/models.GoodsIDAndName"
  17900. }
  17901. },
  17902. "oppositeusers": {
  17903. "description": "对方账号列表",
  17904. "type": "array",
  17905. "items": {
  17906. "$ref": "#/definitions/erms3.CustomerInfo"
  17907. }
  17908. },
  17909. "ouruser": {
  17910. "description": "我方账号",
  17911. "$ref": "#/definitions/erms3.CustomerInfo"
  17912. },
  17913. "warehouseinfos": {
  17914. "description": "仓库信息列表",
  17915. "type": "array",
  17916. "items": {
  17917. "$ref": "#/definitions/models.Warehouseinfo"
  17918. }
  17919. },
  17920. "wrstandards": {
  17921. "description": "仓单标准列表",
  17922. "type": "array",
  17923. "items": {
  17924. "$ref": "#/definitions/models.WRStandardInfo"
  17925. }
  17926. }
  17927. }
  17928. },
  17929. "erms3.QuerySpotContractInfoRsp": {
  17930. "type": "object",
  17931. "properties": {
  17932. "accountid": {
  17933. "description": "表示交易员ID.",
  17934. "type": "integer"
  17935. },
  17936. "curdeliveryqty": {
  17937. "description": "表示未交收量.",
  17938. "type": "number"
  17939. },
  17940. "customername": {
  17941. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  17942. "type": "string"
  17943. },
  17944. "deliverygoodsid": {
  17945. "description": "表示品种ID.",
  17946. "type": "string"
  17947. },
  17948. "deliveryqty": {
  17949. "description": "表示交收量.",
  17950. "type": "number"
  17951. },
  17952. "matchaccountid": {
  17953. "description": "表示业务员ID.",
  17954. "type": "integer"
  17955. },
  17956. "matchcustomername": {
  17957. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  17958. "type": "string"
  17959. },
  17960. "priceqty": {
  17961. "description": "表示定价量.",
  17962. "type": "number"
  17963. },
  17964. "relatedbizid": {
  17965. "description": "表示业务ID.",
  17966. "type": "string"
  17967. },
  17968. "signdate": {
  17969. "description": "表示签订日期.",
  17970. "type": "string"
  17971. },
  17972. "spotcontractid": {
  17973. "description": "合同ID",
  17974. "type": "string"
  17975. },
  17976. "status": {
  17977. "description": "表示状态,0-履约中 1-已完成.",
  17978. "type": "integer"
  17979. },
  17980. "totalqty": {
  17981. "description": "表示合同量.",
  17982. "type": "number"
  17983. },
  17984. "unpricedqty": {
  17985. "description": "表示未定价量.",
  17986. "type": "number"
  17987. },
  17988. "wrstandardname": {
  17989. "description": "表示商品ID.",
  17990. "type": "string"
  17991. }
  17992. }
  17993. },
  17994. "erms3.QueryUserInfoAppliesRsp": {
  17995. "type": "object",
  17996. "required": [
  17997. "userid"
  17998. ],
  17999. "properties": {
  18000. "biznature": {
  18001. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18002. "type": "integer"
  18003. },
  18004. "contactname": {
  18005. "description": "联系人",
  18006. "type": "string"
  18007. },
  18008. "createtime": {
  18009. "description": "开户申请时间",
  18010. "type": "string"
  18011. },
  18012. "userid": {
  18013. "description": "用户ID(自增ID)",
  18014. "type": "integer"
  18015. },
  18016. "userinfotype": {
  18017. "description": "用户信息类型 - 1:个人 2:企业",
  18018. "type": "integer"
  18019. },
  18020. "username": {
  18021. "description": "用户姓名",
  18022. "type": "string"
  18023. },
  18024. "userstate": {
  18025. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18026. "type": "integer"
  18027. }
  18028. }
  18029. },
  18030. "erms3.QueryUserInfosRsp": {
  18031. "type": "object",
  18032. "required": [
  18033. "userid"
  18034. ],
  18035. "properties": {
  18036. "biznature": {
  18037. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18038. "type": "integer"
  18039. },
  18040. "contactname": {
  18041. "description": "联系人",
  18042. "type": "string"
  18043. },
  18044. "customername": {
  18045. "description": "客户名称(企业名称)",
  18046. "type": "string"
  18047. },
  18048. "userid": {
  18049. "description": "用户ID",
  18050. "type": "integer"
  18051. },
  18052. "userinfotype": {
  18053. "description": "用户信息类型 - 1:个人 2:企业",
  18054. "type": "integer"
  18055. },
  18056. "userstatus": {
  18057. "description": "用户状态 - 1:正常 2:注销",
  18058. "type": "integer"
  18059. }
  18060. }
  18061. },
  18062. "erms3.SoptContractDetail": {
  18063. "type": "object",
  18064. "required": [
  18065. "deliverygoodsid",
  18066. "producttype",
  18067. "unitname",
  18068. "warehouseid",
  18069. "wrstandardid",
  18070. "wrstandardname"
  18071. ],
  18072. "properties": {
  18073. "deliverygoodsdesc": {
  18074. "description": "现货品种说明",
  18075. "type": "string"
  18076. },
  18077. "deliverygoodsid": {
  18078. "description": "现货品种ID",
  18079. "type": "integer"
  18080. },
  18081. "deliverygoodsname": {
  18082. "description": "现货品种名称",
  18083. "type": "string"
  18084. },
  18085. "pointdesc": {
  18086. "description": "点价描述",
  18087. "type": "string"
  18088. },
  18089. "producttype": {
  18090. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18091. "type": "integer"
  18092. },
  18093. "producttypename": {
  18094. "description": "产品类型名称",
  18095. "type": "string"
  18096. },
  18097. "spotPointOrderVoList": {
  18098. "description": "点价列表",
  18099. "type": "array",
  18100. "items": {
  18101. "$ref": "#/definitions/erms3.SpotPointOrder"
  18102. }
  18103. },
  18104. "spotPriceOrderList": {
  18105. "description": "定价列表",
  18106. "type": "array",
  18107. "items": {
  18108. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18109. }
  18110. },
  18111. "unitname": {
  18112. "description": "单位名称",
  18113. "type": "string"
  18114. },
  18115. "warehouseid": {
  18116. "description": "仓库ID",
  18117. "type": "integer"
  18118. },
  18119. "warehousename": {
  18120. "description": "仓库名称",
  18121. "type": "string"
  18122. },
  18123. "wrstandardid": {
  18124. "description": "交易标的ID",
  18125. "type": "integer"
  18126. },
  18127. "wrstandardname": {
  18128. "description": "交易标的名称",
  18129. "type": "string"
  18130. }
  18131. }
  18132. },
  18133. "erms3.SpotPointOrder": {
  18134. "type": "object",
  18135. "required": [
  18136. "basic",
  18137. "goodsid",
  18138. "qty"
  18139. ],
  18140. "properties": {
  18141. "basic": {
  18142. "description": "基差",
  18143. "type": "number"
  18144. },
  18145. "deliveryenddate": {
  18146. "description": "交收结束日期",
  18147. "type": "string"
  18148. },
  18149. "deliverystartdate": {
  18150. "description": "交收开始日期",
  18151. "type": "string"
  18152. },
  18153. "enddate": {
  18154. "description": "点价结束日期",
  18155. "type": "string"
  18156. },
  18157. "goodsid": {
  18158. "description": "商品ID",
  18159. "type": "integer"
  18160. },
  18161. "goodsname": {
  18162. "description": "商品名称",
  18163. "type": "string"
  18164. },
  18165. "qty": {
  18166. "description": "数量",
  18167. "type": "number"
  18168. },
  18169. "startdate": {
  18170. "description": "点价开始日期",
  18171. "type": "string"
  18172. }
  18173. }
  18174. },
  18175. "erms3.SpotPriceOrder": {
  18176. "type": "object",
  18177. "required": [
  18178. "amount",
  18179. "price",
  18180. "qty"
  18181. ],
  18182. "properties": {
  18183. "amount": {
  18184. "description": "金额",
  18185. "type": "number"
  18186. },
  18187. "deliveryenddate": {
  18188. "description": "交收结束日期",
  18189. "type": "string"
  18190. },
  18191. "deliverystartdate": {
  18192. "description": "交收开始日期",
  18193. "type": "string"
  18194. },
  18195. "price": {
  18196. "description": "价格",
  18197. "type": "number"
  18198. },
  18199. "qty": {
  18200. "description": "数量",
  18201. "type": "number"
  18202. }
  18203. }
  18204. },
  18205. "models.Arearole": {
  18206. "type": "object",
  18207. "required": [
  18208. "roletype",
  18209. "userid"
  18210. ],
  18211. "properties": {
  18212. "createtime": {
  18213. "description": "创建时间",
  18214. "type": "string"
  18215. },
  18216. "creatorid": {
  18217. "description": "创建人ID",
  18218. "type": "integer"
  18219. },
  18220. "fromuserid": {
  18221. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18222. "type": "integer"
  18223. },
  18224. "isreturnscore": {
  18225. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18226. "type": "integer"
  18227. },
  18228. "modifierid": {
  18229. "description": "修改人ID",
  18230. "type": "integer"
  18231. },
  18232. "modifytime": {
  18233. "description": "修改时间",
  18234. "type": "string"
  18235. },
  18236. "orgtype": {
  18237. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18238. "type": "integer"
  18239. },
  18240. "outuserid": {
  18241. "description": "外部账户[场外期权做市商]",
  18242. "type": "string"
  18243. },
  18244. "parentuserid": {
  18245. "description": "上级组织机构(组织机构)",
  18246. "type": "integer"
  18247. },
  18248. "roletype": {
  18249. "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:门店",
  18250. "type": "integer"
  18251. },
  18252. "rootuserid": {
  18253. "description": "顶级组织机构用户ID(组织机构)",
  18254. "type": "integer"
  18255. },
  18256. "shoppassword": {
  18257. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18258. "type": "string"
  18259. },
  18260. "sublevelpath": {
  18261. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18262. "type": "string"
  18263. },
  18264. "suborgtype": {
  18265. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18266. "type": "integer"
  18267. },
  18268. "tradeaccountid": {
  18269. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18270. "type": "integer"
  18271. },
  18272. "transurl": {
  18273. "description": "物流地址(物流机构)",
  18274. "type": "string"
  18275. },
  18276. "userid": {
  18277. "description": "机构用户ID其他做市关系,都设置为 1",
  18278. "type": "integer"
  18279. }
  18280. }
  18281. },
  18282. "models.BuyOrder": {
  18283. "type": "object",
  18284. "properties": {
  18285. "accountid": {
  18286. "description": "资金账户ID",
  18287. "type": "integer"
  18288. },
  18289. "buyusername": {
  18290. "description": "买方",
  18291. "type": "string"
  18292. },
  18293. "marketid": {
  18294. "description": "市场ID",
  18295. "type": "integer"
  18296. },
  18297. "ordertime": {
  18298. "description": "委托时间",
  18299. "type": "string"
  18300. },
  18301. "origin": {
  18302. "description": "原产地",
  18303. "type": "string"
  18304. },
  18305. "remark": {
  18306. "description": "备注",
  18307. "type": "string"
  18308. },
  18309. "userid": {
  18310. "description": "用户ID",
  18311. "type": "integer"
  18312. },
  18313. "validtime": {
  18314. "description": "有效期限",
  18315. "type": "string"
  18316. },
  18317. "warehouseids": {
  18318. "description": "仓库ID - 多个, 逗号分隔",
  18319. "type": "string"
  18320. },
  18321. "warehouseinfosdisplay": {
  18322. "type": "string"
  18323. },
  18324. "wrtradeorderid": {
  18325. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  18326. "type": "integer"
  18327. },
  18328. "wrtradeorderstatus": {
  18329. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、",
  18330. "type": "integer"
  18331. },
  18332. "zscategory": {
  18333. "description": "钻石分类 - 枚举”ZSCategory“",
  18334. "type": "integer"
  18335. },
  18336. "zscategorydisplay": {
  18337. "type": "string"
  18338. },
  18339. "zsclaritytype": {
  18340. "description": "净度 - 两个, 逗号分隔",
  18341. "type": "string"
  18342. },
  18343. "zsclaritytypedisplay": {
  18344. "type": "string"
  18345. },
  18346. "zscolortype": {
  18347. "description": "颜色 - 两个, 逗号分隔",
  18348. "type": "string"
  18349. },
  18350. "zscolortypedisplay": {
  18351. "type": "string"
  18352. },
  18353. "zscrystaltype": {
  18354. "description": "晶型 - 多个,逗号分隔",
  18355. "type": "string"
  18356. },
  18357. "zscrystaltypedisplay": {
  18358. "type": "string"
  18359. },
  18360. "zscurrencytype": {
  18361. "description": "货币类型 - 多个, 逗号分隔",
  18362. "type": "string"
  18363. },
  18364. "zscurrencytypedisplay": {
  18365. "type": "string"
  18366. },
  18367. "zscuttype": {
  18368. "description": "切工 - 两个, 逗号分隔",
  18369. "type": "string"
  18370. },
  18371. "zscuttypedisplay": {
  18372. "type": "string"
  18373. },
  18374. "zsczcolor1type": {
  18375. "description": "彩钻颜色1, 逗号分隔",
  18376. "type": "string"
  18377. },
  18378. "zsczcolor1typedisplay": {
  18379. "type": "string"
  18380. },
  18381. "zsczcolor2type": {
  18382. "description": "彩钻颜色2, 逗号分隔",
  18383. "type": "string"
  18384. },
  18385. "zsczcolor2typedisplay": {
  18386. "type": "string"
  18387. },
  18388. "zsczcolor3type": {
  18389. "description": "彩钻颜色3, 逗号分隔",
  18390. "type": "string"
  18391. },
  18392. "zsczcolor3typedisplay": {
  18393. "type": "string"
  18394. },
  18395. "zsfluorescencetype": {
  18396. "description": "荧光 - 多个, 逗号分隔",
  18397. "type": "string"
  18398. },
  18399. "zsfluorescencetypedisplay": {
  18400. "type": "string"
  18401. },
  18402. "zspolishtype": {
  18403. "description": "抛光度 - 两个, 逗号分隔",
  18404. "type": "string"
  18405. },
  18406. "zspolishtypedisplay": {
  18407. "type": "string"
  18408. },
  18409. "zsshapetype": {
  18410. "description": "形状 - 多个, 逗号分隔",
  18411. "type": "string"
  18412. },
  18413. "zsshapetypedisplay": {
  18414. "type": "string"
  18415. },
  18416. "zssize": {
  18417. "description": "尺寸 - 两个小数, 逗号分隔",
  18418. "type": "string"
  18419. },
  18420. "zsstyletype": {
  18421. "description": "款式 - 多个, 逗号分隔",
  18422. "type": "string"
  18423. },
  18424. "zsstyletypedisplay": {
  18425. "type": "string"
  18426. },
  18427. "zssymmetrytype": {
  18428. "description": "对称度 - 两个, 逗号分隔",
  18429. "type": "string"
  18430. },
  18431. "zssymmetrytypedisplay": {
  18432. "type": "string"
  18433. },
  18434. "zstabledisplay": {
  18435. "description": "求购信息",
  18436. "type": "string"
  18437. }
  18438. }
  18439. },
  18440. "models.DgFactoryItem": {
  18441. "type": "object",
  18442. "properties": {
  18443. "dgfactoryitemid": {
  18444. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18445. "type": "integer"
  18446. },
  18447. "dgfactoryitemtypeid": {
  18448. "description": "要素项类型",
  18449. "type": "integer"
  18450. },
  18451. "dgfactoryitemvalue": {
  18452. "description": "要素项值(类型为仓库时填写仓库名称)",
  18453. "type": "string"
  18454. },
  18455. "orderindex": {
  18456. "description": "顺序",
  18457. "type": "integer"
  18458. }
  18459. }
  18460. },
  18461. "models.Division": {
  18462. "type": "object",
  18463. "required": [
  18464. "autoid",
  18465. "divisioncode"
  18466. ],
  18467. "properties": {
  18468. "autoid": {
  18469. "description": "自增ID",
  18470. "type": "integer"
  18471. },
  18472. "divisioncode": {
  18473. "description": "行政代码",
  18474. "type": "string"
  18475. },
  18476. "divisionlevel": {
  18477. "description": "行政级别",
  18478. "type": "string"
  18479. },
  18480. "divisionname": {
  18481. "description": "行政名称",
  18482. "type": "string"
  18483. },
  18484. "modifierid": {
  18485. "description": "修改人",
  18486. "type": "integer"
  18487. },
  18488. "modifytime": {
  18489. "description": "修改时间",
  18490. "type": "string"
  18491. },
  18492. "parentcode": {
  18493. "description": "上级行政代码",
  18494. "type": "string"
  18495. },
  18496. "pathname": {
  18497. "description": "路径名称",
  18498. "type": "string"
  18499. },
  18500. "postcode": {
  18501. "description": "邮政编码",
  18502. "type": "string"
  18503. },
  18504. "separablename": {
  18505. "description": "可拆分的全称",
  18506. "type": "string"
  18507. },
  18508. "shortcode": {
  18509. "description": "地区简码",
  18510. "type": "string"
  18511. }
  18512. }
  18513. },
  18514. "models.Enumdicitem": {
  18515. "type": "object",
  18516. "required": [
  18517. "autoid",
  18518. "enumdiccode",
  18519. "enumdicid",
  18520. "enumitemname"
  18521. ],
  18522. "properties": {
  18523. "autoid": {
  18524. "description": "自增ID",
  18525. "type": "integer"
  18526. },
  18527. "bankmappedvalue": {
  18528. "description": "银行服务对应值",
  18529. "type": "string"
  18530. },
  18531. "enumdiccode": {
  18532. "description": "所属枚举代码",
  18533. "type": "string"
  18534. },
  18535. "enumdicid": {
  18536. "description": "所属枚举ID",
  18537. "type": "integer"
  18538. },
  18539. "enumdicname": {
  18540. "description": "枚举项名称",
  18541. "type": "string"
  18542. },
  18543. "enumitemname": {
  18544. "description": "枚举项值",
  18545. "type": "integer"
  18546. },
  18547. "enumitemstatus": {
  18548. "description": "枚举项状态 - 1.启用 2.不启用",
  18549. "type": "integer"
  18550. },
  18551. "enumitemvalue": {
  18552. "description": "通用值 - [币种通用简写]",
  18553. "type": "string"
  18554. },
  18555. "param1": {
  18556. "description": "参数1[币种:币种小数位]",
  18557. "type": "string"
  18558. },
  18559. "param2": {
  18560. "description": "参数1[币种:币种显示单位]",
  18561. "type": "string"
  18562. },
  18563. "remark": {
  18564. "description": "备注",
  18565. "type": "string"
  18566. }
  18567. }
  18568. },
  18569. "models.Ermcp2AreaExposure": {
  18570. "type": "object",
  18571. "properties": {
  18572. "areauserid": {
  18573. "description": "所属机构",
  18574. "type": "integer"
  18575. },
  18576. "enumdicname": {
  18577. "description": "单位",
  18578. "type": "string"
  18579. },
  18580. "futureqty": {
  18581. "description": "期货套期量",
  18582. "type": "number"
  18583. },
  18584. "futureqtychange": {
  18585. "description": "期货变动量 = FutureQty - OriFutureQty",
  18586. "type": "number"
  18587. },
  18588. "goodsunitid": {
  18589. "description": "单位ID",
  18590. "type": "integer"
  18591. },
  18592. "hedgedspotexposure": {
  18593. "description": "被套期现货敞口量",
  18594. "type": "number"
  18595. },
  18596. "hedgedspratio": {
  18597. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  18598. "type": "number"
  18599. },
  18600. "hedgedtotalexposourechange": {
  18601. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  18602. "type": "number"
  18603. },
  18604. "hedgedtotalexposure": {
  18605. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  18606. "type": "number"
  18607. },
  18608. "hedgeplanqty": {
  18609. "description": "套期计划量",
  18610. "type": "number"
  18611. },
  18612. "hedgeplanqtychange": {
  18613. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  18614. "type": "number"
  18615. },
  18616. "hedgespotqty": {
  18617. "description": "被套期现货量",
  18618. "type": "number"
  18619. },
  18620. "middlegoodsid": {
  18621. "description": "套保品种",
  18622. "type": "integer"
  18623. },
  18624. "middlegoodsname": {
  18625. "description": "套保品种名称",
  18626. "type": "string"
  18627. },
  18628. "orifutureqty": {
  18629. "description": "期初期货套期量",
  18630. "type": "number"
  18631. },
  18632. "orihedgedspotexposure": {
  18633. "description": "期初被套期现货敞口量",
  18634. "type": "number"
  18635. },
  18636. "orihedgedtotalexposure": {
  18637. "description": "期初套期敞口量",
  18638. "type": "number"
  18639. },
  18640. "orihedgeplanqty": {
  18641. "description": "期初套期计划量",
  18642. "type": "number"
  18643. },
  18644. "orihedgespotqty": {
  18645. "description": "期初被套期现货量",
  18646. "type": "number"
  18647. },
  18648. "orispotexposure": {
  18649. "description": "期初现货敞口量",
  18650. "type": "number"
  18651. },
  18652. "orispotqty": {
  18653. "description": "期初现货总量",
  18654. "type": "number"
  18655. },
  18656. "oritotalexposure": {
  18657. "description": "期初总敞口量",
  18658. "type": "number"
  18659. },
  18660. "spotexposure": {
  18661. "description": "现货敞口量",
  18662. "type": "number"
  18663. },
  18664. "spotqty": {
  18665. "description": "现货总量",
  18666. "type": "number"
  18667. },
  18668. "spotqtychange": {
  18669. "description": "现货变动量 = SpotQty - OriSpotQty",
  18670. "type": "number"
  18671. },
  18672. "spratio": {
  18673. "description": "总期现比例 = 期货套期量/现货敞口量",
  18674. "type": "number"
  18675. },
  18676. "totalexposure": {
  18677. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  18678. "type": "number"
  18679. },
  18680. "totalexposurechange": {
  18681. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  18682. "type": "number"
  18683. },
  18684. "updatetime": {
  18685. "description": "更新时间 --DATE",
  18686. "type": "string"
  18687. }
  18688. }
  18689. },
  18690. "models.Ermcp2hedgeditem": {
  18691. "type": "object",
  18692. "properties": {
  18693. "accountname": {
  18694. "description": "套期主体",
  18695. "type": "string"
  18696. },
  18697. "applyid": {
  18698. "description": "申请人",
  18699. "type": "integer"
  18700. },
  18701. "applysrc": {
  18702. "description": "申请来源 - 1:管理端 2:终端",
  18703. "type": "integer"
  18704. },
  18705. "areauserid": {
  18706. "description": "企业ID",
  18707. "type": "integer"
  18708. },
  18709. "auditid": {
  18710. "description": "审核人",
  18711. "type": "integer"
  18712. },
  18713. "auditremark": {
  18714. "description": "审核备注",
  18715. "type": "string"
  18716. },
  18717. "auditsrc": {
  18718. "description": "审核来源 - 1:管理端 2:终端",
  18719. "type": "integer"
  18720. },
  18721. "audittime": {
  18722. "description": "审核时间",
  18723. "type": "string"
  18724. },
  18725. "audittradedate": {
  18726. "description": "审核交易日(yyyyMMdd)",
  18727. "type": "string"
  18728. },
  18729. "createtime": {
  18730. "description": "申请时间",
  18731. "type": "string"
  18732. },
  18733. "curprice": {
  18734. "description": "当前市场价",
  18735. "type": "number"
  18736. },
  18737. "curstock": {
  18738. "description": "期末库存量 = 采购总量 - 销售总量",
  18739. "type": "number"
  18740. },
  18741. "deliverygoodsid": {
  18742. "description": "现货品种ID",
  18743. "type": "integer"
  18744. },
  18745. "enddate": {
  18746. "description": "完成日期",
  18747. "type": "string"
  18748. },
  18749. "endtradedate": {
  18750. "description": "完成交易日",
  18751. "type": "string"
  18752. },
  18753. "enumdicname": {
  18754. "description": "单位",
  18755. "type": "string"
  18756. },
  18757. "exeamount": {
  18758. "description": "执行市价总额",
  18759. "type": "number"
  18760. },
  18761. "exeavgprice": {
  18762. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  18763. "type": "number"
  18764. },
  18765. "execontractamount": {
  18766. "description": "执行定价总额",
  18767. "type": "number"
  18768. },
  18769. "exeqty": {
  18770. "description": "执行现货量",
  18771. "type": "number"
  18772. },
  18773. "exerestamount": {
  18774. "description": "执行剩余市价总额【现货贸易】",
  18775. "type": "number"
  18776. },
  18777. "futurefloatpl": {
  18778. "description": "期货浮动损益",
  18779. "type": "number"
  18780. },
  18781. "futurehedgepl": {
  18782. "description": "期货实际损益",
  18783. "type": "number"
  18784. },
  18785. "futurehedgeplchange": {
  18786. "description": "期货实际损益变动",
  18787. "type": "number"
  18788. },
  18789. "futurepl": {
  18790. "description": "期货套期损益",
  18791. "type": "number"
  18792. },
  18793. "futureplchange": {
  18794. "description": "期货套期损益变动",
  18795. "type": "number"
  18796. },
  18797. "hedgeamount": {
  18798. "description": "套期市价总额",
  18799. "type": "number"
  18800. },
  18801. "hedgecontractamount": {
  18802. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  18803. "type": "number"
  18804. },
  18805. "hedgeditemid": {
  18806. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  18807. "type": "string"
  18808. },
  18809. "hedgeditemname": {
  18810. "description": "项目名称",
  18811. "type": "string"
  18812. },
  18813. "hedgeditemnum": {
  18814. "description": "项目编号",
  18815. "type": "string"
  18816. },
  18817. "hedgeditemstatus": {
  18818. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18819. "type": "integer"
  18820. },
  18821. "hedgedtype": {
  18822. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  18823. "type": "integer"
  18824. },
  18825. "hedgeqty": {
  18826. "description": "套期现货量",
  18827. "type": "number"
  18828. },
  18829. "hedgerate": {
  18830. "description": "套保比率",
  18831. "type": "number"
  18832. },
  18833. "hedgerestamount": {
  18834. "description": "套期剩余市价总额【现货贸易】",
  18835. "type": "number"
  18836. },
  18837. "hedgesumpl": {
  18838. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  18839. "type": "number"
  18840. },
  18841. "middlegoodslist": {
  18842. "description": "套期商品列表",
  18843. "type": "array",
  18844. "items": {
  18845. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  18846. }
  18847. },
  18848. "oriavgprice": {
  18849. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  18850. "type": "number"
  18851. },
  18852. "orifuturehedgepl": {
  18853. "description": "期初期货实际损益",
  18854. "type": "number"
  18855. },
  18856. "orifuturepl": {
  18857. "description": "期初期货套期损益",
  18858. "type": "number"
  18859. },
  18860. "orispothedgepl": {
  18861. "description": "期初现货实际损益",
  18862. "type": "number"
  18863. },
  18864. "orispotpl": {
  18865. "description": "期初现货套期损益",
  18866. "type": "number"
  18867. },
  18868. "planenddate": {
  18869. "description": "计划结束日期",
  18870. "type": "string"
  18871. },
  18872. "planstartdate": {
  18873. "description": "计划开始日期",
  18874. "type": "string"
  18875. },
  18876. "remark": {
  18877. "description": "备注",
  18878. "type": "string"
  18879. },
  18880. "spotbookamount": {
  18881. "description": "现货账面总额",
  18882. "type": "number"
  18883. },
  18884. "spotfloatpl": {
  18885. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  18886. "type": "number"
  18887. },
  18888. "spothedgepl": {
  18889. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  18890. "type": "number"
  18891. },
  18892. "spothedgeplchange": {
  18893. "description": "现货实际损益变动",
  18894. "type": "number"
  18895. },
  18896. "spotpl": {
  18897. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  18898. "type": "number"
  18899. },
  18900. "spotplchange": {
  18901. "description": "现货套期损益变动",
  18902. "type": "number"
  18903. },
  18904. "spottradepl": {
  18905. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  18906. "type": "number"
  18907. },
  18908. "sumobspl": {
  18909. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  18910. "type": "number"
  18911. },
  18912. "tradeuserid": {
  18913. "description": "交易用户ID",
  18914. "type": "integer"
  18915. },
  18916. "unexeqty": {
  18917. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  18918. "type": "number"
  18919. },
  18920. "updatetime": {
  18921. "description": "更新时间",
  18922. "type": "string"
  18923. },
  18924. "vatpl": {
  18925. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  18926. "type": "number"
  18927. },
  18928. "vatrate": {
  18929. "description": "增值税",
  18930. "type": "number"
  18931. },
  18932. "wrstandardid": {
  18933. "description": "现货商品ID",
  18934. "type": "integer"
  18935. },
  18936. "wrstandardname": {
  18937. "description": "商品名称",
  18938. "type": "string"
  18939. }
  18940. }
  18941. },
  18942. "models.Ermcp2hedgeditemlink": {
  18943. "type": "object",
  18944. "required": [
  18945. "relatedspotcontractid"
  18946. ],
  18947. "properties": {
  18948. "areauserid": {
  18949. "description": "企业ID",
  18950. "type": "integer"
  18951. },
  18952. "createtime": {
  18953. "description": "[关联时间]创建时间",
  18954. "type": "string"
  18955. },
  18956. "customeruserid": {
  18957. "description": "对手方 【3:采购合同 4:销售合同】",
  18958. "type": "integer"
  18959. },
  18960. "deliverygoodsid": {
  18961. "description": "现货品种ID",
  18962. "type": "integer"
  18963. },
  18964. "enumdicname": {
  18965. "description": "单位",
  18966. "type": "string"
  18967. },
  18968. "hedgeditemid": {
  18969. "description": "被套期项目ID",
  18970. "type": "integer"
  18971. },
  18972. "hedgeditemlinkid": {
  18973. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  18974. "type": "integer"
  18975. },
  18976. "hedgeditemnum": {
  18977. "description": "项目编号",
  18978. "type": "string"
  18979. },
  18980. "hedgedtype": {
  18981. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  18982. "type": "integer"
  18983. },
  18984. "relatedamount": {
  18985. "description": "市价总额 = 关联数量 * 期初市场价",
  18986. "type": "number"
  18987. },
  18988. "relatedhedgeplanid": {
  18989. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  18990. "type": "integer"
  18991. },
  18992. "relatedqty": {
  18993. "description": "关联数量",
  18994. "type": "number"
  18995. },
  18996. "relatedspotcontractid": {
  18997. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  18998. "type": "integer"
  18999. },
  19000. "relatedtype": {
  19001. "description": "关联类型 - 1:套期关联 2:执行关联",
  19002. "type": "integer"
  19003. },
  19004. "spotgoodsbrandid": {
  19005. "description": "现货品牌ID",
  19006. "type": "integer"
  19007. },
  19008. "spotpricedamount": {
  19009. "description": "[关联定价总额]定价总额",
  19010. "type": "number"
  19011. },
  19012. "spotpricedavgprice": {
  19013. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  19014. "type": "number"
  19015. },
  19016. "spottype": {
  19017. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19018. "type": "integer"
  19019. },
  19020. "tradeuserid": {
  19021. "description": "交易用户ID",
  19022. "type": "integer"
  19023. },
  19024. "unexeqty": {
  19025. "description": "未执行现货量【项目关联时值】",
  19026. "type": "number"
  19027. },
  19028. "wrstandardid": {
  19029. "description": "现货商品ID",
  19030. "type": "integer"
  19031. },
  19032. "wrstandardname": {
  19033. "description": "现货商品",
  19034. "type": "string"
  19035. }
  19036. }
  19037. },
  19038. "models.Ermcp2hedgeditemsDetail": {
  19039. "type": "object",
  19040. "properties": {
  19041. "accountname": {
  19042. "description": "套期主体",
  19043. "type": "string"
  19044. },
  19045. "areauserid": {
  19046. "description": "企业ID",
  19047. "type": "integer"
  19048. },
  19049. "createtime": {
  19050. "description": "[日期时间]创建时间",
  19051. "type": "string"
  19052. },
  19053. "customeruserid": {
  19054. "description": "对手方 【3:采购合同 4:销售合同】",
  19055. "type": "integer"
  19056. },
  19057. "deliverygoodsid": {
  19058. "description": "现货品种ID",
  19059. "type": "integer"
  19060. },
  19061. "enumdicname": {
  19062. "description": "单位",
  19063. "type": "string"
  19064. },
  19065. "hedgeditemid": {
  19066. "description": "被套期项目ID",
  19067. "type": "string"
  19068. },
  19069. "hedgeditemspotid": {
  19070. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19071. "type": "string"
  19072. },
  19073. "hedgedtype": {
  19074. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19075. "type": "integer"
  19076. },
  19077. "hedgeplanno": {
  19078. "description": "计划编号",
  19079. "type": "string"
  19080. },
  19081. "middlegoodschange": {
  19082. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  19083. "type": "number"
  19084. },
  19085. "oriavgprice": {
  19086. "description": "期初市场价[当初市场价]",
  19087. "type": "number"
  19088. },
  19089. "relatedamount": {
  19090. "description": "市价总额 = 关联数量 * 期初市场价",
  19091. "type": "number"
  19092. },
  19093. "relatedhedgeplanid": {
  19094. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19095. "type": "integer"
  19096. },
  19097. "relatedqty": {
  19098. "description": "[期间变化量]关联数量",
  19099. "type": "number"
  19100. },
  19101. "relatedspotcontractid": {
  19102. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19103. "type": "integer"
  19104. },
  19105. "relatedtype": {
  19106. "description": "关联类型 - 1:套期关联 2:执行关联",
  19107. "type": "integer"
  19108. },
  19109. "spotgoodsbrandid": {
  19110. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19111. "type": "integer"
  19112. },
  19113. "spotpricedamount": {
  19114. "description": "定价总额",
  19115. "type": "number"
  19116. },
  19117. "spotpricedavgprice": {
  19118. "description": "现货均价 = 定价总额 / 关联数量",
  19119. "type": "number"
  19120. },
  19121. "spottype": {
  19122. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19123. "type": "integer"
  19124. },
  19125. "tradeuserid": {
  19126. "description": "交易用户ID",
  19127. "type": "integer"
  19128. },
  19129. "unexeqty": {
  19130. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  19131. "type": "number"
  19132. },
  19133. "wrstandardid": {
  19134. "description": "现货商品ID",
  19135. "type": "integer"
  19136. },
  19137. "wrstandardname": {
  19138. "description": "现货商品",
  19139. "type": "string"
  19140. }
  19141. }
  19142. },
  19143. "models.Ermcp2hedgeditemspot": {
  19144. "type": "object",
  19145. "required": [
  19146. "hedgeditemid"
  19147. ],
  19148. "properties": {
  19149. "areauserid": {
  19150. "description": "企业ID",
  19151. "type": "integer"
  19152. },
  19153. "createtime": {
  19154. "description": "创建时间",
  19155. "type": "string"
  19156. },
  19157. "customeruserid": {
  19158. "description": "对手方 【3:采购合同 4:销售合同】",
  19159. "type": "integer"
  19160. },
  19161. "deliverygoodsid": {
  19162. "description": "现货品种ID",
  19163. "type": "integer"
  19164. },
  19165. "enumdicname": {
  19166. "description": "单位",
  19167. "type": "string"
  19168. },
  19169. "hedgeditemid": {
  19170. "description": "被套期项目ID",
  19171. "type": "string"
  19172. },
  19173. "hedgeditemspotid": {
  19174. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19175. "type": "string"
  19176. },
  19177. "hedgedtype": {
  19178. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19179. "type": "integer"
  19180. },
  19181. "hedgeplanno": {
  19182. "description": "计划编号",
  19183. "type": "string"
  19184. },
  19185. "oriavgprice": {
  19186. "description": "期初市场价[当初市场价]",
  19187. "type": "number"
  19188. },
  19189. "relatedamount": {
  19190. "description": "市价总额 = 关联数量 * 期初市场价",
  19191. "type": "number"
  19192. },
  19193. "relatedhedgeplanid": {
  19194. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19195. "type": "integer"
  19196. },
  19197. "relatedqty": {
  19198. "description": "关联数量[数量]",
  19199. "type": "number"
  19200. },
  19201. "relatedspotcontractid": {
  19202. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19203. "type": "integer"
  19204. },
  19205. "relatedtype": {
  19206. "description": "关联类型 - 1:套期关联 2:执行关联",
  19207. "type": "integer"
  19208. },
  19209. "spotgoodsbrandid": {
  19210. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19211. "type": "integer"
  19212. },
  19213. "spotpricedamount": {
  19214. "description": "定价总额",
  19215. "type": "number"
  19216. },
  19217. "spotpricedavgprice": {
  19218. "description": "现货均价 = 定价总额 / 关联数量",
  19219. "type": "number"
  19220. },
  19221. "spottype": {
  19222. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19223. "type": "integer"
  19224. },
  19225. "tradeuserid": {
  19226. "description": "交易用户ID",
  19227. "type": "integer"
  19228. },
  19229. "wrstandardid": {
  19230. "description": "现货商品ID",
  19231. "type": "integer"
  19232. },
  19233. "wrstandardname": {
  19234. "description": "现货商品",
  19235. "type": "string"
  19236. }
  19237. }
  19238. },
  19239. "models.Ermcp2hedgeditemspotDetail": {
  19240. "type": "object",
  19241. "required": [
  19242. "hedgeditemid"
  19243. ],
  19244. "properties": {
  19245. "accountname": {
  19246. "description": "对手方",
  19247. "type": "string"
  19248. },
  19249. "areauserid": {
  19250. "description": "企业ID",
  19251. "type": "integer"
  19252. },
  19253. "brandname": {
  19254. "description": "品牌",
  19255. "type": "string"
  19256. },
  19257. "contractno": {
  19258. "description": "合同编号",
  19259. "type": "string"
  19260. },
  19261. "createtime": {
  19262. "description": "创建时间",
  19263. "type": "string"
  19264. },
  19265. "customeruserid": {
  19266. "description": "对手方 【3:采购合同 4:销售合同】",
  19267. "type": "integer"
  19268. },
  19269. "deliverygoodsid": {
  19270. "description": "现货品种ID",
  19271. "type": "integer"
  19272. },
  19273. "enumdicname": {
  19274. "description": "单位",
  19275. "type": "string"
  19276. },
  19277. "hedgeditemid": {
  19278. "description": "被套期项目ID",
  19279. "type": "string"
  19280. },
  19281. "hedgeditemspotid": {
  19282. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19283. "type": "string"
  19284. },
  19285. "hedgedtype": {
  19286. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19287. "type": "integer"
  19288. },
  19289. "oriavgprice": {
  19290. "description": "期初市场价[当初市场价]",
  19291. "type": "number"
  19292. },
  19293. "relatedamount": {
  19294. "description": "市价总额 = 关联数量 * 期初市场价",
  19295. "type": "number"
  19296. },
  19297. "relatedhedgeplanid": {
  19298. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19299. "type": "integer"
  19300. },
  19301. "relatedqty": {
  19302. "description": "关联数量[数量]",
  19303. "type": "number"
  19304. },
  19305. "relatedspotcontractid": {
  19306. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19307. "type": "integer"
  19308. },
  19309. "relatedtype": {
  19310. "description": "关联类型 - 1:套期关联 2:执行关联",
  19311. "type": "integer"
  19312. },
  19313. "spotgoodsbrandid": {
  19314. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19315. "type": "integer"
  19316. },
  19317. "spotpricedamount": {
  19318. "description": "定价总额[金额]",
  19319. "type": "number"
  19320. },
  19321. "spotpricedavgprice": {
  19322. "description": "现货均价 = 定价总额 / 关联数量",
  19323. "type": "number"
  19324. },
  19325. "spottype": {
  19326. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19327. "type": "integer"
  19328. },
  19329. "tradeuserid": {
  19330. "description": "交易用户ID",
  19331. "type": "integer"
  19332. },
  19333. "wrstandardid": {
  19334. "description": "现货商品ID",
  19335. "type": "integer"
  19336. },
  19337. "wrstandardname": {
  19338. "description": "现货商品",
  19339. "type": "string"
  19340. }
  19341. }
  19342. },
  19343. "models.Ermcp2himiddlegoods": {
  19344. "type": "object",
  19345. "required": [
  19346. "hedgeditemid",
  19347. "middlegoodsid"
  19348. ],
  19349. "properties": {
  19350. "futurehedgeqty": {
  19351. "description": "期货持仓套期量",
  19352. "type": "number"
  19353. },
  19354. "hedgeditemid": {
  19355. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  19356. "type": "integer"
  19357. },
  19358. "hiexpsoure": {
  19359. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  19360. "type": "number"
  19361. },
  19362. "middlegoodscode": {
  19363. "description": "套保商品代码",
  19364. "type": "string"
  19365. },
  19366. "middlegoodsid": {
  19367. "description": "套保品种ID",
  19368. "type": "integer"
  19369. },
  19370. "middlegoodsname": {
  19371. "description": "套保商品名称",
  19372. "type": "string"
  19373. },
  19374. "unexehedgeqty": {
  19375. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  19376. "type": "number"
  19377. }
  19378. }
  19379. },
  19380. "models.Ermcp2stockspotchangelog": {
  19381. "type": "object",
  19382. "properties": {
  19383. "accountname": {
  19384. "description": "套期主体",
  19385. "type": "string"
  19386. },
  19387. "aftervalue": {
  19388. "description": "现货量",
  19389. "type": "number"
  19390. },
  19391. "beforevalue": {
  19392. "description": "变更前现货量",
  19393. "type": "number"
  19394. },
  19395. "contractno": {
  19396. "description": "[编号]现货合同编号",
  19397. "type": "string"
  19398. },
  19399. "contracttype": {
  19400. "description": "现货合同类型 - 1:采购 -1:销售",
  19401. "type": "integer"
  19402. },
  19403. "createtime": {
  19404. "description": "创建时间",
  19405. "type": "string"
  19406. },
  19407. "customerusername": {
  19408. "description": "对手方",
  19409. "type": "string"
  19410. },
  19411. "deliverygoodsid": {
  19412. "description": "现货品种ID",
  19413. "type": "integer"
  19414. },
  19415. "exetype": {
  19416. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  19417. "type": "integer"
  19418. },
  19419. "logid": {
  19420. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  19421. "type": "string"
  19422. },
  19423. "logvalue": {
  19424. "description": "[期间变化量]现货量变更值",
  19425. "type": "number"
  19426. },
  19427. "middlegoodschange": {
  19428. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  19429. "type": "number"
  19430. },
  19431. "operatelogtype": {
  19432. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  19433. "type": "integer"
  19434. },
  19435. "relatedid": {
  19436. "description": "现货合同ID",
  19437. "type": "integer"
  19438. },
  19439. "spotgoodsbrandid": {
  19440. "description": "现货品牌ID",
  19441. "type": "integer"
  19442. },
  19443. "tradedate": {
  19444. "description": "交易日(yyyyMMdd)",
  19445. "type": "string"
  19446. },
  19447. "userid": {
  19448. "description": "机构ID",
  19449. "type": "integer"
  19450. },
  19451. "warehouseinfoid": {
  19452. "description": "仓库ID",
  19453. "type": "integer"
  19454. },
  19455. "wrfactortypeid": {
  19456. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19457. "type": "integer"
  19458. },
  19459. "wrstandardid": {
  19460. "description": "现货商品ID",
  19461. "type": "integer"
  19462. },
  19463. "wrstandardname": {
  19464. "description": "商品名称",
  19465. "type": "string"
  19466. }
  19467. }
  19468. },
  19469. "models.Ermcp3AreaSpot": {
  19470. "type": "object",
  19471. "properties": {
  19472. "areauserid": {
  19473. "description": "所属机构",
  19474. "type": "integer"
  19475. },
  19476. "convertratio": {
  19477. "description": "套保系数",
  19478. "type": "number"
  19479. },
  19480. "decreaseqty": {
  19481. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19482. "type": "number"
  19483. },
  19484. "enumdicname": {
  19485. "description": "单位名称",
  19486. "type": "string"
  19487. },
  19488. "increaseqty": {
  19489. "description": "增加数量=销售计划数量+采购已定价数量",
  19490. "type": "number"
  19491. },
  19492. "oritoalspotqty": {
  19493. "description": "昨日数量",
  19494. "type": "number"
  19495. },
  19496. "totalspotqty": {
  19497. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19498. "type": "number"
  19499. },
  19500. "unitid": {
  19501. "description": "现货商品单位id",
  19502. "type": "integer"
  19503. },
  19504. "updatetime": {
  19505. "description": "更新时间",
  19506. "type": "string"
  19507. },
  19508. "wrstandardcode": {
  19509. "description": "现货商品代码",
  19510. "type": "string"
  19511. },
  19512. "wrstandardid": {
  19513. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19514. "type": "integer"
  19515. },
  19516. "wrstandardname": {
  19517. "description": "现货商品名称",
  19518. "type": "string"
  19519. }
  19520. }
  19521. },
  19522. "models.Ermcp3AreaSpotDetail": {
  19523. "type": "object",
  19524. "properties": {
  19525. "contracttype": {
  19526. "description": "合同类型 1-采购 -1-销售",
  19527. "type": "integer"
  19528. },
  19529. "createtime": {
  19530. "description": "创建时间",
  19531. "type": "string"
  19532. },
  19533. "enumdicname": {
  19534. "description": "现货商品单位名称",
  19535. "type": "string"
  19536. },
  19537. "logtype": {
  19538. "description": "记录类型 1-套保 2-现货合同",
  19539. "type": "integer"
  19540. },
  19541. "qty": {
  19542. "description": "数量",
  19543. "type": "number"
  19544. },
  19545. "recordname": {
  19546. "description": "类型名称",
  19547. "type": "string"
  19548. },
  19549. "relatedid": {
  19550. "description": "套保计划ID/现货合同ID",
  19551. "type": "string"
  19552. },
  19553. "relatedno": {
  19554. "description": "编号",
  19555. "type": "string"
  19556. },
  19557. "strtime": {
  19558. "description": "时间",
  19559. "type": "string"
  19560. },
  19561. "wrstandardcode": {
  19562. "description": "现货商品代码",
  19563. "type": "string"
  19564. },
  19565. "wrstandardid": {
  19566. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19567. "type": "integer"
  19568. },
  19569. "wrstandardname": {
  19570. "description": "现货商品名称",
  19571. "type": "string"
  19572. }
  19573. }
  19574. },
  19575. "models.Ermcp3AreaSpotPLReport": {
  19576. "type": "object",
  19577. "properties": {
  19578. "accountid": {
  19579. "description": "期货账户ID (作废, 默认为0)",
  19580. "type": "integer"
  19581. },
  19582. "accountname": {
  19583. "description": "机构名称",
  19584. "type": "string"
  19585. },
  19586. "actualpl": {
  19587. "description": "现货损益",
  19588. "type": "number"
  19589. },
  19590. "areauserid": {
  19591. "description": "所属机构\\交易用户ID",
  19592. "type": "integer"
  19593. },
  19594. "begindate": {
  19595. "description": "开始交易日",
  19596. "type": "string"
  19597. },
  19598. "biztype": {
  19599. "description": "业务类型 - 1:套保 2:套利",
  19600. "type": "integer"
  19601. },
  19602. "brandname": {
  19603. "description": "品牌名称",
  19604. "type": "string"
  19605. },
  19606. "curamount": {
  19607. "description": "期末额",
  19608. "type": "number"
  19609. },
  19610. "curaverageprice": {
  19611. "description": "期初均价",
  19612. "type": "number"
  19613. },
  19614. "curbuyamount": {
  19615. "description": "期末采购总额",
  19616. "type": "number"
  19617. },
  19618. "curbuyqty": {
  19619. "description": "期末采购总量",
  19620. "type": "number"
  19621. },
  19622. "curmarketvalue": {
  19623. "description": "期初均价",
  19624. "type": "number"
  19625. },
  19626. "curqty": {
  19627. "description": "期末量",
  19628. "type": "number"
  19629. },
  19630. "currencyid": {
  19631. "description": "结算币种ID【原值】",
  19632. "type": "integer"
  19633. },
  19634. "currencyname": {
  19635. "description": "币种名称",
  19636. "type": "string"
  19637. },
  19638. "cursellamount": {
  19639. "description": "期末销售总额",
  19640. "type": "number"
  19641. },
  19642. "cursellqty": {
  19643. "description": "期末销售总量",
  19644. "type": "number"
  19645. },
  19646. "curspotprice": {
  19647. "description": "期初均价",
  19648. "type": "number"
  19649. },
  19650. "cycletime": {
  19651. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19652. "type": "string"
  19653. },
  19654. "cycletype": {
  19655. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19656. "type": "integer"
  19657. },
  19658. "deliverygoodscode": {
  19659. "description": "现货品种代码",
  19660. "type": "string"
  19661. },
  19662. "deliverygoodsid": {
  19663. "description": "现货品种ID",
  19664. "type": "integer"
  19665. },
  19666. "deliverygoodsname": {
  19667. "description": "现货品种名称",
  19668. "type": "string"
  19669. },
  19670. "enddate": {
  19671. "description": "结束交易日",
  19672. "type": "string"
  19673. },
  19674. "enumdicname": {
  19675. "description": "现货品种单位名称(作废)",
  19676. "type": "string"
  19677. },
  19678. "floatpl": {
  19679. "description": "期初均价",
  19680. "type": "number"
  19681. },
  19682. "goodsunitid": {
  19683. "description": "现货品种单位id(作废)",
  19684. "type": "integer"
  19685. },
  19686. "oriamount": {
  19687. "description": "期初额",
  19688. "type": "number"
  19689. },
  19690. "oriaverageprice": {
  19691. "description": "期初均价",
  19692. "type": "number"
  19693. },
  19694. "oribuyamount": {
  19695. "description": "期初采购总额",
  19696. "type": "number"
  19697. },
  19698. "oribuyqty": {
  19699. "description": "期初采购总量",
  19700. "type": "number"
  19701. },
  19702. "oriqty": {
  19703. "description": "期初量",
  19704. "type": "number"
  19705. },
  19706. "orisellamount": {
  19707. "description": "期初销售总额",
  19708. "type": "number"
  19709. },
  19710. "orisellqty": {
  19711. "description": "期初销售总量",
  19712. "type": "number"
  19713. },
  19714. "reckondate": {
  19715. "description": "日照时期(yyyyMMdd)",
  19716. "type": "string"
  19717. },
  19718. "spotgoodsbrandid": {
  19719. "description": "现货品牌ID",
  19720. "type": "integer"
  19721. },
  19722. "todaybuyamount": {
  19723. "description": "今日采购额(今采购额)",
  19724. "type": "number"
  19725. },
  19726. "todaybuyaverageprice": {
  19727. "description": "期初均价",
  19728. "type": "number"
  19729. },
  19730. "todaybuyqty": {
  19731. "description": "今日采购量(今采购量)",
  19732. "type": "number"
  19733. },
  19734. "todayinqty": {
  19735. "description": "今日入库量(今入库量)",
  19736. "type": "number"
  19737. },
  19738. "todayoutqty": {
  19739. "description": "今日出库量(今出库量)",
  19740. "type": "number"
  19741. },
  19742. "todaysellamount": {
  19743. "description": "今日销售额(今销售额)",
  19744. "type": "number"
  19745. },
  19746. "todaysellaverageprice": {
  19747. "description": "期初均价",
  19748. "type": "number"
  19749. },
  19750. "todaysellqty": {
  19751. "description": "今日销售量(今销售量)",
  19752. "type": "number"
  19753. },
  19754. "unitid": {
  19755. "description": "品类单位id",
  19756. "type": "integer"
  19757. },
  19758. "unitidname": {
  19759. "description": "品类单位名称",
  19760. "type": "string"
  19761. },
  19762. "updatetime": {
  19763. "description": "更新时间",
  19764. "type": "string"
  19765. },
  19766. "wrfactortypeid": {
  19767. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19768. "type": "integer"
  19769. },
  19770. "wrstandardcode": {
  19771. "description": "现货商品(品类)代码",
  19772. "type": "string"
  19773. },
  19774. "wrstandardid": {
  19775. "description": "现货品类ID",
  19776. "type": "integer"
  19777. },
  19778. "wrstandardname": {
  19779. "description": "现货商品(品类)名称",
  19780. "type": "string"
  19781. }
  19782. }
  19783. },
  19784. "models.Ermcp3AreaStock": {
  19785. "type": "object",
  19786. "required": [
  19787. "userid"
  19788. ],
  19789. "properties": {
  19790. "brandname": {
  19791. "description": "品牌名称",
  19792. "type": "string"
  19793. },
  19794. "curstock": {
  19795. "description": "期末库存量(今日量)",
  19796. "type": "number"
  19797. },
  19798. "deliverygoodscode": {
  19799. "description": "现货品种代码",
  19800. "type": "string"
  19801. },
  19802. "deliverygoodsid": {
  19803. "description": "现货品种id",
  19804. "type": "integer"
  19805. },
  19806. "deliverygoodsname": {
  19807. "description": "现货品种名称",
  19808. "type": "string"
  19809. },
  19810. "enumdicname": {
  19811. "description": "单位名称",
  19812. "type": "string"
  19813. },
  19814. "goodsunitid": {
  19815. "description": "现货商品单位id",
  19816. "type": "integer"
  19817. },
  19818. "oristock": {
  19819. "description": "期初库存量(昨日量)",
  19820. "type": "number"
  19821. },
  19822. "spotgoodsbrandid": {
  19823. "description": "现货品牌ID",
  19824. "type": "integer"
  19825. },
  19826. "todaybuyinqty": {
  19827. "description": "今日采购入库量",
  19828. "type": "number"
  19829. },
  19830. "todayproduceinqty": {
  19831. "description": "今日生产入库量",
  19832. "type": "number"
  19833. },
  19834. "todayproduceoutqty": {
  19835. "description": "今日生产出库量",
  19836. "type": "number"
  19837. },
  19838. "todayselloutqty": {
  19839. "description": "今日销售出库量",
  19840. "type": "number"
  19841. },
  19842. "unitid": {
  19843. "description": "单位id",
  19844. "type": "integer"
  19845. },
  19846. "updatetime": {
  19847. "description": "更新时间",
  19848. "type": "string"
  19849. },
  19850. "userid": {
  19851. "description": "机构ID",
  19852. "type": "integer"
  19853. },
  19854. "username": {
  19855. "description": "机构名称",
  19856. "type": "string"
  19857. },
  19858. "warehousecode": {
  19859. "description": "仓库代码",
  19860. "type": "string"
  19861. },
  19862. "warehouseinfoid": {
  19863. "description": "仓库ID",
  19864. "type": "string"
  19865. },
  19866. "warehousename": {
  19867. "description": "仓库名称",
  19868. "type": "string"
  19869. },
  19870. "warehousetype": {
  19871. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19872. "type": "integer"
  19873. },
  19874. "wrstandardcode": {
  19875. "description": "品类代码",
  19876. "type": "string"
  19877. },
  19878. "wrstandardid": {
  19879. "description": "品类ID",
  19880. "type": "string"
  19881. },
  19882. "wrstandardname": {
  19883. "description": "品类名称",
  19884. "type": "string"
  19885. }
  19886. }
  19887. },
  19888. "models.Ermcp3AreaStockApply": {
  19889. "type": "object",
  19890. "properties": {
  19891. "applyid": {
  19892. "description": "申请人",
  19893. "type": "integer"
  19894. },
  19895. "applyname": {
  19896. "description": "申请人名称",
  19897. "type": "string"
  19898. },
  19899. "applyremark": {
  19900. "description": "申请备注",
  19901. "type": "string"
  19902. },
  19903. "applysrc": {
  19904. "description": "申请来源 - 1:管理端 2:终端",
  19905. "type": "integer"
  19906. },
  19907. "applystatus": {
  19908. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19909. "type": "integer"
  19910. },
  19911. "applytime": {
  19912. "description": "申请时间",
  19913. "type": "string"
  19914. },
  19915. "auditid": {
  19916. "description": "审核人",
  19917. "type": "integer"
  19918. },
  19919. "auditname": {
  19920. "description": "审核人名称",
  19921. "type": "string"
  19922. },
  19923. "auditremark": {
  19924. "description": "审核备注",
  19925. "type": "string"
  19926. },
  19927. "auditsrc": {
  19928. "description": "审核来源 - 1:管理端 2:终端",
  19929. "type": "integer"
  19930. },
  19931. "audittime": {
  19932. "description": "审核时间",
  19933. "type": "string"
  19934. },
  19935. "audittradedate": {
  19936. "description": "审核交易日(yyyyMMdd)",
  19937. "type": "string"
  19938. },
  19939. "brandname": {
  19940. "description": "品牌名称",
  19941. "type": "string"
  19942. },
  19943. "buynickname": {
  19944. "description": "采购方昵称",
  19945. "type": "string"
  19946. },
  19947. "buyuserid": {
  19948. "description": "采购方userid",
  19949. "type": "integer"
  19950. },
  19951. "buyusername": {
  19952. "description": "采购方名称",
  19953. "type": "string"
  19954. },
  19955. "contractno": {
  19956. "description": "合同编号",
  19957. "type": "string"
  19958. },
  19959. "contractqty": {
  19960. "description": "合同量",
  19961. "type": "number"
  19962. },
  19963. "contracttype": {
  19964. "description": "现货合同类型 - 1:采购 -1:销售",
  19965. "type": "integer"
  19966. },
  19967. "deliverygoodscode": {
  19968. "description": "现货品种代码",
  19969. "type": "string"
  19970. },
  19971. "deliverygoodsid": {
  19972. "description": "现货品种id",
  19973. "type": "integer"
  19974. },
  19975. "deliverygoodsname": {
  19976. "description": "现货品种名称",
  19977. "type": "string"
  19978. },
  19979. "detailjson": {
  19980. "description": "明细数据",
  19981. "type": "string"
  19982. },
  19983. "enumdicname": {
  19984. "description": "现货商品单位名称",
  19985. "type": "string"
  19986. },
  19987. "inoutapplyid": {
  19988. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19989. "type": "string"
  19990. },
  19991. "inouttype": {
  19992. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19993. "type": "integer"
  19994. },
  19995. "pricetype": {
  19996. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19997. "type": "integer"
  19998. },
  19999. "qty": {
  20000. "description": "数量",
  20001. "type": "number"
  20002. },
  20003. "sellnickname": {
  20004. "description": "销售方昵称",
  20005. "type": "string"
  20006. },
  20007. "selluserid": {
  20008. "description": "销售方userid",
  20009. "type": "integer"
  20010. },
  20011. "sellusername": {
  20012. "description": "销售方名称",
  20013. "type": "string"
  20014. },
  20015. "spotcontractid": {
  20016. "description": "关联现货合同ID",
  20017. "type": "string"
  20018. },
  20019. "spotgoodsbrandid": {
  20020. "description": "现货品牌ID",
  20021. "type": "integer"
  20022. },
  20023. "unitid": {
  20024. "description": "单位id",
  20025. "type": "integer"
  20026. },
  20027. "userid": {
  20028. "description": "机构ID",
  20029. "type": "integer"
  20030. },
  20031. "warehousecode": {
  20032. "description": "仓库代码",
  20033. "type": "string"
  20034. },
  20035. "warehouseinfoid": {
  20036. "description": "现货仓库ID",
  20037. "type": "string"
  20038. },
  20039. "warehousename": {
  20040. "description": "仓库名称",
  20041. "type": "string"
  20042. },
  20043. "warehousetype": {
  20044. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20045. "type": "integer"
  20046. },
  20047. "wrstandardcode": {
  20048. "description": "品类代码",
  20049. "type": "string"
  20050. },
  20051. "wrstandardid": {
  20052. "description": "品类ID",
  20053. "type": "integer"
  20054. },
  20055. "wrstandardname": {
  20056. "description": "品类名称",
  20057. "type": "string"
  20058. }
  20059. }
  20060. },
  20061. "models.Ermcp3AreaStockApplySum": {
  20062. "type": "object",
  20063. "properties": {
  20064. "brandname": {
  20065. "description": "品牌名称",
  20066. "type": "string"
  20067. },
  20068. "inouttype": {
  20069. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20070. "type": "integer"
  20071. },
  20072. "spotcontractid": {
  20073. "description": "关联现货合同ID",
  20074. "type": "string"
  20075. },
  20076. "spotgoodsbrandid": {
  20077. "description": "品牌id",
  20078. "type": "integer"
  20079. },
  20080. "totalqty": {
  20081. "description": "总数量",
  20082. "type": "number"
  20083. },
  20084. "wrstandardid": {
  20085. "description": "品类id",
  20086. "type": "integer"
  20087. },
  20088. "wrstandardname": {
  20089. "description": "品类名称",
  20090. "type": "string"
  20091. }
  20092. }
  20093. },
  20094. "models.Ermcp3AreaStockReportEx": {
  20095. "type": "object",
  20096. "properties": {
  20097. "begindate": {
  20098. "description": "开始交易日",
  20099. "type": "string"
  20100. },
  20101. "brandname": {
  20102. "description": "品牌名称",
  20103. "type": "string"
  20104. },
  20105. "curstock": {
  20106. "description": "期末库存量",
  20107. "type": "number"
  20108. },
  20109. "cycletime": {
  20110. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20111. "type": "string"
  20112. },
  20113. "cycletype": {
  20114. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20115. "type": "integer"
  20116. },
  20117. "deliverygoodscode": {
  20118. "description": "现货品种代码",
  20119. "type": "string"
  20120. },
  20121. "deliverygoodsid": {
  20122. "description": "现货品种id",
  20123. "type": "integer"
  20124. },
  20125. "deliverygoodsname": {
  20126. "description": "现货品种名称",
  20127. "type": "string"
  20128. },
  20129. "diffqty": {
  20130. "description": "库存变化量 = 期末 - 期初",
  20131. "type": "number"
  20132. },
  20133. "enddate": {
  20134. "description": "结束交易日",
  20135. "type": "string"
  20136. },
  20137. "enumdicname": {
  20138. "description": "单位名称",
  20139. "type": "string"
  20140. },
  20141. "goodsunitid": {
  20142. "description": "现货单位id",
  20143. "type": "integer"
  20144. },
  20145. "oristock": {
  20146. "description": "期初库存量",
  20147. "type": "number"
  20148. },
  20149. "reckondate": {
  20150. "description": "日照时期(yyyyMMdd)",
  20151. "type": "string"
  20152. },
  20153. "spotgoodsbrandid": {
  20154. "description": "现货品牌ID",
  20155. "type": "integer"
  20156. },
  20157. "todaybuyinqty": {
  20158. "description": "今采购入库量",
  20159. "type": "number"
  20160. },
  20161. "todayproduceinqty": {
  20162. "description": "今内部入库量",
  20163. "type": "number"
  20164. },
  20165. "todayproduceoutqty": {
  20166. "description": "今内部出库量",
  20167. "type": "number"
  20168. },
  20169. "todayselloutqty": {
  20170. "description": "今销售出库量",
  20171. "type": "number"
  20172. },
  20173. "unbuyinqty": {
  20174. "description": "采购未入库量(数据库未找到相关字段?)",
  20175. "type": "number"
  20176. },
  20177. "unitid": {
  20178. "description": "品类单位id",
  20179. "type": "integer"
  20180. },
  20181. "unselloutqty": {
  20182. "description": "销售未出库量(数据库未找到相关字段?)",
  20183. "type": "number"
  20184. },
  20185. "updatetime": {
  20186. "description": "更新时间",
  20187. "type": "string"
  20188. },
  20189. "userid": {
  20190. "description": "机构ID",
  20191. "type": "integer"
  20192. },
  20193. "username": {
  20194. "description": "机构名称",
  20195. "type": "string"
  20196. },
  20197. "warehousecode": {
  20198. "description": "仓库代码",
  20199. "type": "string"
  20200. },
  20201. "warehouseinfoid": {
  20202. "description": "仓库ID",
  20203. "type": "string"
  20204. },
  20205. "warehousename": {
  20206. "description": "仓库名称",
  20207. "type": "string"
  20208. },
  20209. "warehousetype": {
  20210. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20211. "type": "integer"
  20212. },
  20213. "wrstandardcode": {
  20214. "description": "品类代码",
  20215. "type": "string"
  20216. },
  20217. "wrstandardid": {
  20218. "description": "品类ID",
  20219. "type": "integer"
  20220. },
  20221. "wrstandardname": {
  20222. "description": "品类名称",
  20223. "type": "string"
  20224. }
  20225. }
  20226. },
  20227. "models.Ermcp3ArealSumPL": {
  20228. "type": "object",
  20229. "properties": {
  20230. "accountname": {
  20231. "description": "机构名称",
  20232. "type": "string"
  20233. },
  20234. "areauserid": {
  20235. "description": "所属机构\\交易用户ID",
  20236. "type": "integer"
  20237. },
  20238. "begindate": {
  20239. "description": "开始交易日",
  20240. "type": "string"
  20241. },
  20242. "currencyid": {
  20243. "description": "结算币种ID",
  20244. "type": "integer"
  20245. },
  20246. "currencyname": {
  20247. "description": "币种名称",
  20248. "type": "string"
  20249. },
  20250. "cycletime": {
  20251. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20252. "type": "string"
  20253. },
  20254. "cycletype": {
  20255. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20256. "type": "integer"
  20257. },
  20258. "enddate": {
  20259. "description": "结束交易日",
  20260. "type": "string"
  20261. },
  20262. "enumdicname": {
  20263. "description": "单位名称(套保品种)",
  20264. "type": "string"
  20265. },
  20266. "futureactualpl": {
  20267. "description": "期货损益",
  20268. "type": "number"
  20269. },
  20270. "futurefloatpl": {
  20271. "description": "期货浮动损益",
  20272. "type": "number"
  20273. },
  20274. "futurespotratio": {
  20275. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20276. "type": "number"
  20277. },
  20278. "goodsunitid": {
  20279. "description": "套保品种单位id",
  20280. "type": "integer"
  20281. },
  20282. "hedgeexposurepl": {
  20283. "description": "套保敞口损益",
  20284. "type": "number"
  20285. },
  20286. "middlegoodscode": {
  20287. "description": "套保品种代码",
  20288. "type": "string"
  20289. },
  20290. "middlegoodsid": {
  20291. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20292. "type": "integer"
  20293. },
  20294. "middlegoodsname": {
  20295. "description": "套保品种名称",
  20296. "type": "string"
  20297. },
  20298. "reckondate": {
  20299. "description": "日照时期(yyyyMMdd)",
  20300. "type": "string"
  20301. },
  20302. "spotactualpl": {
  20303. "description": "现货损益",
  20304. "type": "number"
  20305. },
  20306. "spotfloatpl": {
  20307. "description": "现货浮动损益",
  20308. "type": "number"
  20309. },
  20310. "sumactualpl": {
  20311. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20312. "type": "number"
  20313. },
  20314. "sumpl": {
  20315. "description": "总敞口损益 | 汇总损益",
  20316. "type": "number"
  20317. },
  20318. "totalfutureqty": {
  20319. "description": "期货头寸总量",
  20320. "type": "number"
  20321. },
  20322. "totalneedhedgeqty": {
  20323. "description": "应套保总量",
  20324. "type": "number"
  20325. },
  20326. "totalspotqty": {
  20327. "description": "现货头寸总量",
  20328. "type": "number"
  20329. },
  20330. "updatetime": {
  20331. "description": "更新时间",
  20332. "type": "string"
  20333. }
  20334. }
  20335. },
  20336. "models.Ermcp3Brand": {
  20337. "type": "object",
  20338. "properties": {
  20339. "areauserid": {
  20340. "description": "用户id",
  20341. "type": "integer"
  20342. },
  20343. "brandid": {
  20344. "description": "品牌id",
  20345. "type": "integer"
  20346. },
  20347. "brandname": {
  20348. "description": "品牌名称",
  20349. "type": "string"
  20350. },
  20351. "deliverygoodsid": {
  20352. "description": "品种ID",
  20353. "type": "integer"
  20354. },
  20355. "isvalid": {
  20356. "description": "是否有效",
  20357. "type": "integer"
  20358. }
  20359. }
  20360. },
  20361. "models.Ermcp3Contract": {
  20362. "type": "object",
  20363. "properties": {
  20364. "accountid": {
  20365. "description": "期货账户id",
  20366. "type": "string"
  20367. },
  20368. "amount": {
  20369. "description": "金额 [1:一口价、3:暂定价]",
  20370. "type": "number"
  20371. },
  20372. "attachment": {
  20373. "description": "附件",
  20374. "type": "string"
  20375. },
  20376. "auditremark": {
  20377. "description": "审核意见",
  20378. "type": "string"
  20379. },
  20380. "audittime": {
  20381. "description": "审核时间",
  20382. "type": "string"
  20383. },
  20384. "biztype": {
  20385. "description": "业务类型 1-套保 2-套利",
  20386. "type": "integer"
  20387. },
  20388. "brandname": {
  20389. "description": "品牌名称",
  20390. "type": "string"
  20391. },
  20392. "buynickname": {
  20393. "description": "销售方昵称",
  20394. "type": "string"
  20395. },
  20396. "buyuserid": {
  20397. "description": "采购方ID",
  20398. "type": "integer"
  20399. },
  20400. "buyusername": {
  20401. "description": "采购方名称",
  20402. "type": "string"
  20403. },
  20404. "contracctstatus": {
  20405. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20406. "type": "integer"
  20407. },
  20408. "contractmargin": {
  20409. "description": "合同保证金",
  20410. "type": "number"
  20411. },
  20412. "contractno": {
  20413. "description": "现货合同编号",
  20414. "type": "string"
  20415. },
  20416. "contracttype": {
  20417. "description": "现货合同类型 - 1:采购 -1:销售",
  20418. "type": "integer"
  20419. },
  20420. "convertfactor": {
  20421. "description": "标仓系数(品类)",
  20422. "type": "number"
  20423. },
  20424. "createtime": {
  20425. "description": "创建时间",
  20426. "type": "string"
  20427. },
  20428. "currencyid": {
  20429. "description": "币种id",
  20430. "type": "integer"
  20431. },
  20432. "currencyname": {
  20433. "description": "币种名称",
  20434. "type": "string"
  20435. },
  20436. "deliveryenddate": {
  20437. "description": "交收期(结束)",
  20438. "type": "string"
  20439. },
  20440. "deliverygoodscode": {
  20441. "description": "现货品种代码",
  20442. "type": "string"
  20443. },
  20444. "deliverygoodsid": {
  20445. "description": "现货品种ID",
  20446. "type": "integer"
  20447. },
  20448. "deliverygoodsname": {
  20449. "description": "现货品种名称",
  20450. "type": "string"
  20451. },
  20452. "deliverystartdate": {
  20453. "description": "交收期(开始)",
  20454. "type": "string"
  20455. },
  20456. "enddate": {
  20457. "description": "点价结束日期 [2:点价 3:暂定价]",
  20458. "type": "string"
  20459. },
  20460. "enumdicname": {
  20461. "description": "单位名称",
  20462. "type": "string"
  20463. },
  20464. "goodscode": {
  20465. "description": "点价合约代码",
  20466. "type": "string"
  20467. },
  20468. "goodsid": {
  20469. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20470. "type": "integer"
  20471. },
  20472. "goodsname": {
  20473. "description": "点价商品名称",
  20474. "type": "string"
  20475. },
  20476. "margin": {
  20477. "description": "当前保证金",
  20478. "type": "number"
  20479. },
  20480. "meruserid": {
  20481. "description": "跟单员id",
  20482. "type": "integer"
  20483. },
  20484. "meruserlogincode": {
  20485. "description": "跟单员登录代码",
  20486. "type": "string"
  20487. },
  20488. "merusername": {
  20489. "description": "跟单员名称",
  20490. "type": "string"
  20491. },
  20492. "pointdesc": {
  20493. "description": "点价备注",
  20494. "type": "string"
  20495. },
  20496. "price": {
  20497. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20498. "type": "number"
  20499. },
  20500. "pricemove": {
  20501. "description": "升贴水 [2:点价 3:暂定价]",
  20502. "type": "number"
  20503. },
  20504. "pricetype": {
  20505. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20506. "type": "integer"
  20507. },
  20508. "producttype": {
  20509. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20510. "type": "integer"
  20511. },
  20512. "qty": {
  20513. "description": "数量",
  20514. "type": "number"
  20515. },
  20516. "remark": {
  20517. "description": "备注",
  20518. "type": "string"
  20519. },
  20520. "saleuserid": {
  20521. "description": "业务员id",
  20522. "type": "integer"
  20523. },
  20524. "saleuserlogincode": {
  20525. "description": "业务员登录代码",
  20526. "type": "string"
  20527. },
  20528. "saleusername": {
  20529. "description": "业务员名称",
  20530. "type": "string"
  20531. },
  20532. "sellnickname": {
  20533. "description": "采购方昵称",
  20534. "type": "string"
  20535. },
  20536. "selluserid": {
  20537. "description": "销售方ID",
  20538. "type": "integer"
  20539. },
  20540. "sellusername": {
  20541. "description": "销售方名称",
  20542. "type": "string"
  20543. },
  20544. "spotcontractid": {
  20545. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20546. "type": "string"
  20547. },
  20548. "spotgoodsbrandid": {
  20549. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20550. "type": "integer"
  20551. },
  20552. "spotgoodsdesc": {
  20553. "description": "商品型号",
  20554. "type": "string"
  20555. },
  20556. "startdate": {
  20557. "description": "点价开始日期 [2:点价 3:暂定价]",
  20558. "type": "string"
  20559. },
  20560. "subjectid": {
  20561. "description": "交易主体ID",
  20562. "type": "integer"
  20563. },
  20564. "subjectname": {
  20565. "description": "交易主体名称",
  20566. "type": "string"
  20567. },
  20568. "tradeuserid": {
  20569. "description": "交易员id",
  20570. "type": "integer"
  20571. },
  20572. "tradeuserlogincode": {
  20573. "description": "交易员登录代码",
  20574. "type": "string"
  20575. },
  20576. "tradeusername": {
  20577. "description": "交易员名称",
  20578. "type": "string"
  20579. },
  20580. "unitid": {
  20581. "description": "单位id(取品类上的单位id)",
  20582. "type": "integer"
  20583. },
  20584. "updatetime": {
  20585. "description": "更新时间",
  20586. "type": "string"
  20587. },
  20588. "userid": {
  20589. "description": "所属机构ID",
  20590. "type": "integer"
  20591. },
  20592. "vatrate": {
  20593. "description": "增值税率",
  20594. "type": "number"
  20595. },
  20596. "wrstandardcode": {
  20597. "description": "品类代码",
  20598. "type": "string"
  20599. },
  20600. "wrstandardid": {
  20601. "description": "品类ID",
  20602. "type": "integer"
  20603. },
  20604. "wrstandardname": {
  20605. "description": "品类名称",
  20606. "type": "string"
  20607. }
  20608. }
  20609. },
  20610. "models.Ermcp3ContractMiddleGoodsCfg": {
  20611. "type": "object",
  20612. "properties": {
  20613. "agreeunit": {
  20614. "description": "合约乘数",
  20615. "type": "number"
  20616. },
  20617. "convertratio": {
  20618. "description": "期货品种系数",
  20619. "type": "number"
  20620. },
  20621. "covertqty": {
  20622. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  20623. "type": "integer"
  20624. },
  20625. "middlegoodsid": {
  20626. "description": "套保品种ID",
  20627. "type": "integer"
  20628. },
  20629. "middlegoodspricedqty3": {
  20630. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  20631. "type": "string",
  20632. "example": "0"
  20633. },
  20634. "pendingpricedqty": {
  20635. "description": "待点价量",
  20636. "type": "string",
  20637. "example": "0"
  20638. },
  20639. "relatedmiddlegoodsqty": {
  20640. "description": "已关联量(套保品种-期货)",
  20641. "type": "string",
  20642. "example": "0"
  20643. },
  20644. "spotcontractid": {
  20645. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20646. "type": "string"
  20647. }
  20648. }
  20649. },
  20650. "models.Ermcp3ExposureContractDetail": {
  20651. "type": "object",
  20652. "properties": {
  20653. "biztype": {
  20654. "description": "业务类型 1-套保 2-套利",
  20655. "type": "integer"
  20656. },
  20657. "brandname": {
  20658. "description": "品牌名称",
  20659. "type": "string"
  20660. },
  20661. "buyuserid": {
  20662. "description": "采购方id",
  20663. "type": "integer"
  20664. },
  20665. "buyusername": {
  20666. "description": "采购方名称",
  20667. "type": "string"
  20668. },
  20669. "contractno": {
  20670. "description": "合同编号",
  20671. "type": "string"
  20672. },
  20673. "contracttype": {
  20674. "description": "现货合同类型 - 1:采购 -1:销售",
  20675. "type": "integer"
  20676. },
  20677. "convertfactor": {
  20678. "description": "标仓系数",
  20679. "type": "number"
  20680. },
  20681. "convertratio": {
  20682. "description": "折算系数(套保品种)",
  20683. "type": "number"
  20684. },
  20685. "curqty": {
  20686. "description": "今定价量",
  20687. "type": "number"
  20688. },
  20689. "deliverygoodscode": {
  20690. "description": "现货品种代码",
  20691. "type": "string"
  20692. },
  20693. "deliverygoodsid": {
  20694. "description": "现货品种id",
  20695. "type": "integer"
  20696. },
  20697. "deliverygoodsname": {
  20698. "description": "现货品种名称",
  20699. "type": "string"
  20700. },
  20701. "diffhedgeqty": {
  20702. "description": "套保变动量",
  20703. "type": "number"
  20704. },
  20705. "diffneedhedgeqty": {
  20706. "description": "应套保变动量",
  20707. "type": "number"
  20708. },
  20709. "diffqty": {
  20710. "description": "套保品种今变动量",
  20711. "type": "number"
  20712. },
  20713. "enumdicname": {
  20714. "description": "单位名称",
  20715. "type": "string"
  20716. },
  20717. "mgunitname": {
  20718. "description": "套保品种单位名称",
  20719. "type": "string"
  20720. },
  20721. "middlegoodscode": {
  20722. "description": "套保品种代码",
  20723. "type": "string"
  20724. },
  20725. "middlegoodsid": {
  20726. "description": "套保品种id",
  20727. "type": "integer"
  20728. },
  20729. "middlegoodsname": {
  20730. "description": "套保品种名称",
  20731. "type": "string"
  20732. },
  20733. "needarbitrageratio": {
  20734. "description": "应套利比例",
  20735. "type": "number"
  20736. },
  20737. "needhedgeratio": {
  20738. "description": "应套保比例",
  20739. "type": "number"
  20740. },
  20741. "pricedqty": {
  20742. "description": "已定价量",
  20743. "type": "number"
  20744. },
  20745. "qty": {
  20746. "description": "合同量",
  20747. "type": "number"
  20748. },
  20749. "reckondate": {
  20750. "description": "交易日(reckondate)",
  20751. "type": "string"
  20752. },
  20753. "selluserid": {
  20754. "description": "销售方id",
  20755. "type": "integer"
  20756. },
  20757. "sellusername": {
  20758. "description": "销售方名称",
  20759. "type": "string"
  20760. },
  20761. "spotcontractid": {
  20762. "description": "合同id",
  20763. "type": "string"
  20764. },
  20765. "todaypricedqty": {
  20766. "description": "今定价量",
  20767. "type": "number"
  20768. },
  20769. "tradedate": {
  20770. "description": "交易日",
  20771. "type": "string"
  20772. },
  20773. "unitid": {
  20774. "description": "品类单位id",
  20775. "type": "integer"
  20776. },
  20777. "userid": {
  20778. "description": "机构id",
  20779. "type": "integer"
  20780. },
  20781. "username": {
  20782. "description": "交易用户",
  20783. "type": "string"
  20784. },
  20785. "wrstandardcode": {
  20786. "description": "现货商品代码",
  20787. "type": "string"
  20788. },
  20789. "wrstandardid": {
  20790. "description": "现货商品id",
  20791. "type": "integer"
  20792. },
  20793. "wrstandardname": {
  20794. "description": "现货商品名称",
  20795. "type": "string"
  20796. }
  20797. }
  20798. },
  20799. "models.Ermcp3ExposureDetail": {
  20800. "type": "object",
  20801. "properties": {
  20802. "areauserid": {
  20803. "description": "机构ID",
  20804. "type": "integer"
  20805. },
  20806. "changeQty": {
  20807. "description": "套保变动量",
  20808. "type": "number"
  20809. },
  20810. "contracttype": {
  20811. "description": "现货合同类型 - 1:采购 -1:销售",
  20812. "type": "integer"
  20813. },
  20814. "convertfactor": {
  20815. "description": "标仓系数",
  20816. "type": "number"
  20817. },
  20818. "convertratio": {
  20819. "description": "折算系数",
  20820. "type": "number"
  20821. },
  20822. "createtime": {
  20823. "description": "时间",
  20824. "type": "string"
  20825. },
  20826. "enumdicname": {
  20827. "description": "现货商品单位名称",
  20828. "type": "string"
  20829. },
  20830. "logtype": {
  20831. "description": "类型 - 1:套保计划 2:现货合同",
  20832. "type": "integer"
  20833. },
  20834. "mgunitid": {
  20835. "description": "套保品种单位id",
  20836. "type": "integer"
  20837. },
  20838. "mgunitidname": {
  20839. "description": "套保品种单位名称",
  20840. "type": "string"
  20841. },
  20842. "middlegoodsId": {
  20843. "description": "套保商品id",
  20844. "type": "integer"
  20845. },
  20846. "middlegoodscode": {
  20847. "description": "套保商品代码",
  20848. "type": "string"
  20849. },
  20850. "middlegoodsname": {
  20851. "description": "套保商品名称",
  20852. "type": "string"
  20853. },
  20854. "qty": {
  20855. "description": "数量",
  20856. "type": "number"
  20857. },
  20858. "relateNo": {
  20859. "description": "现货合同/套保计划编号",
  20860. "type": "string"
  20861. },
  20862. "unitid": {
  20863. "description": "现货商品单位id",
  20864. "type": "integer"
  20865. },
  20866. "wrstandardcode": {
  20867. "description": "现货商品代码",
  20868. "type": "string"
  20869. },
  20870. "wrstandardid": {
  20871. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20872. "type": "integer"
  20873. },
  20874. "wrstandardname": {
  20875. "description": "现货商品名称",
  20876. "type": "string"
  20877. }
  20878. }
  20879. },
  20880. "models.Ermcp3ExposureFutuDetail": {
  20881. "type": "object",
  20882. "properties": {
  20883. "accountid": {
  20884. "description": "交易账户id",
  20885. "type": "integer"
  20886. },
  20887. "accountname": {
  20888. "description": "交易账户",
  20889. "type": "string"
  20890. },
  20891. "begindate": {
  20892. "description": "开始交易日",
  20893. "type": "string"
  20894. },
  20895. "buyorsell": {
  20896. "description": "方向 0-买 1-卖",
  20897. "type": "integer"
  20898. },
  20899. "diffmgqty": {
  20900. "description": "套保品种今变化量",
  20901. "type": "number"
  20902. },
  20903. "diffneedqty": {
  20904. "description": "应套保总量变化量",
  20905. "type": "number"
  20906. },
  20907. "difftradeqty": {
  20908. "description": "交易品种今变化量",
  20909. "type": "number"
  20910. },
  20911. "enddate": {
  20912. "description": "结束交易日",
  20913. "type": "string"
  20914. },
  20915. "enumdicname": {
  20916. "description": "单位名称",
  20917. "type": "string"
  20918. },
  20919. "goodscode": {
  20920. "description": "商品代码",
  20921. "type": "string"
  20922. },
  20923. "goodsid": {
  20924. "description": "商品id",
  20925. "type": "integer"
  20926. },
  20927. "goodsname": {
  20928. "description": "商品名称",
  20929. "type": "string"
  20930. },
  20931. "holdqty": {
  20932. "description": "期末持仓量",
  20933. "type": "number"
  20934. },
  20935. "middlegoodscode": {
  20936. "description": "套保商品代码",
  20937. "type": "string"
  20938. },
  20939. "middlegoodsid": {
  20940. "description": "套保商品id",
  20941. "type": "integer"
  20942. },
  20943. "middlegoodsname": {
  20944. "description": "套保商品名称",
  20945. "type": "string"
  20946. },
  20947. "oriholdqty": {
  20948. "description": "期初持仓量",
  20949. "type": "number"
  20950. },
  20951. "reckondate": {
  20952. "description": "交易日(RECKONDATE)",
  20953. "type": "string"
  20954. },
  20955. "todaycloseqty": {
  20956. "description": "今平仓量",
  20957. "type": "number"
  20958. },
  20959. "todayopenqty": {
  20960. "description": "今开仓量",
  20961. "type": "number"
  20962. },
  20963. "tradedate": {
  20964. "description": "交易日(RECKONDATE)",
  20965. "type": "string"
  20966. },
  20967. "username": {
  20968. "description": "用户名称(交易用户)",
  20969. "type": "string"
  20970. }
  20971. }
  20972. },
  20973. "models.Ermcp3ExposureHedgeplanDetail": {
  20974. "type": "object",
  20975. "properties": {
  20976. "biztype": {
  20977. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20978. "type": "integer"
  20979. },
  20980. "changqty": {
  20981. "description": "应套保总量变化量",
  20982. "type": "number"
  20983. },
  20984. "contracttype": {
  20985. "description": "计划类型 - 1:采购 -1:销售",
  20986. "type": "integer"
  20987. },
  20988. "convertratio": {
  20989. "description": "折算系数(套保品种)",
  20990. "type": "number"
  20991. },
  20992. "deliverygoodscode": {
  20993. "description": "现货商品代码",
  20994. "type": "string"
  20995. },
  20996. "deliverygoodsid": {
  20997. "description": "现货商品id",
  20998. "type": "integer"
  20999. },
  21000. "deliverygoodsname": {
  21001. "description": "现货商吕名称",
  21002. "type": "string"
  21003. },
  21004. "dgunitid": {
  21005. "description": "现货商品单位id",
  21006. "type": "integer"
  21007. },
  21008. "dgunitidname": {
  21009. "description": "单位名称(现货商品)",
  21010. "type": "string"
  21011. },
  21012. "diffqty": {
  21013. "description": "套保品种今变动量",
  21014. "type": "number"
  21015. },
  21016. "enumdicname": {
  21017. "description": "单位名称(品类)",
  21018. "type": "string"
  21019. },
  21020. "hedgeplanid": {
  21021. "description": "套保计划id",
  21022. "type": "string"
  21023. },
  21024. "hedgeplanno": {
  21025. "description": "套保计划名称",
  21026. "type": "string"
  21027. },
  21028. "hedgeplanstatus": {
  21029. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21030. "type": "integer"
  21031. },
  21032. "mgunitidname": {
  21033. "description": "单位名称(套保商品)",
  21034. "type": "string"
  21035. },
  21036. "middlegoodscode": {
  21037. "description": "套保品种代码",
  21038. "type": "string"
  21039. },
  21040. "middlegoodsid": {
  21041. "description": "套保品种id",
  21042. "type": "integer"
  21043. },
  21044. "middlegoodsname": {
  21045. "description": "套保品种名称",
  21046. "type": "string"
  21047. },
  21048. "needarbitrageratio": {
  21049. "description": "应套利比例",
  21050. "type": "number"
  21051. },
  21052. "needhedgeratio": {
  21053. "description": "应套保比例",
  21054. "type": "number"
  21055. },
  21056. "pricedqty": {
  21057. "description": "已定价量",
  21058. "type": "number"
  21059. },
  21060. "qty": {
  21061. "description": "合同量",
  21062. "type": "number"
  21063. },
  21064. "reckondate": {
  21065. "description": "交易日(reckondate)",
  21066. "type": "string"
  21067. },
  21068. "tradedate": {
  21069. "description": "交易日(登记日)",
  21070. "type": "string"
  21071. },
  21072. "unitid": {
  21073. "description": "品类单位id",
  21074. "type": "integer"
  21075. },
  21076. "userid": {
  21077. "description": "机构id",
  21078. "type": "integer"
  21079. },
  21080. "wrstandardcode": {
  21081. "description": "品类代码",
  21082. "type": "string"
  21083. },
  21084. "wrstandardid": {
  21085. "description": "品类id",
  21086. "type": "integer"
  21087. },
  21088. "wrstandardname": {
  21089. "description": "品类名称",
  21090. "type": "string"
  21091. }
  21092. }
  21093. },
  21094. "models.Ermcp3ExposureParamChLog": {
  21095. "type": "object",
  21096. "properties": {
  21097. "accountid": {
  21098. "description": "期货账户ID (作废, 默认为0)",
  21099. "type": "integer"
  21100. },
  21101. "aftervalue": {
  21102. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21103. "type": "number"
  21104. },
  21105. "areauserid": {
  21106. "description": "所属机构\\交易用户ID",
  21107. "type": "integer"
  21108. },
  21109. "beforevalue": {
  21110. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21111. "type": "number"
  21112. },
  21113. "begindate": {
  21114. "description": "开始交易日",
  21115. "type": "string"
  21116. },
  21117. "changelogtype": {
  21118. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21119. "type": "integer"
  21120. },
  21121. "curvalue": {
  21122. "description": "当前套保\\套利量(套保总量|套利总量)",
  21123. "type": "number"
  21124. },
  21125. "diffvalue": {
  21126. "description": "应套保总量变化量",
  21127. "type": "number"
  21128. },
  21129. "enddate": {
  21130. "description": "结束交易日",
  21131. "type": "string"
  21132. },
  21133. "logdatetime": {
  21134. "description": "流水日期",
  21135. "type": "string"
  21136. },
  21137. "logid": {
  21138. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21139. "type": "string"
  21140. },
  21141. "middlegoodscode": {
  21142. "description": "套保品种代码",
  21143. "type": "string"
  21144. },
  21145. "middlegoodsid": {
  21146. "description": "套保品种",
  21147. "type": "integer"
  21148. },
  21149. "middlegoodsname": {
  21150. "description": "套保品种名称",
  21151. "type": "string"
  21152. },
  21153. "paramaftervalue": {
  21154. "description": "参数变更后(调整后参数值)",
  21155. "type": "number"
  21156. },
  21157. "parambeforevalue": {
  21158. "description": "参数变更前(调整前参数值)",
  21159. "type": "number"
  21160. },
  21161. "reckondate": {
  21162. "description": "交易日(reckondate)",
  21163. "type": "string"
  21164. },
  21165. "tradedate": {
  21166. "description": "交易日(yyyyMMdd)",
  21167. "type": "string"
  21168. }
  21169. }
  21170. },
  21171. "models.Ermcp3ExpourseReport": {
  21172. "type": "object",
  21173. "properties": {
  21174. "accountid": {
  21175. "description": "期货账户ID (作废, 默认为0)",
  21176. "type": "integer"
  21177. },
  21178. "accountname": {
  21179. "description": "机构名称",
  21180. "type": "string"
  21181. },
  21182. "arbitrageqty": {
  21183. "description": "套利量",
  21184. "type": "number"
  21185. },
  21186. "areauserid": {
  21187. "description": "所属机构\\交易用户ID",
  21188. "type": "integer"
  21189. },
  21190. "begindate": {
  21191. "description": "开始交易日",
  21192. "type": "string"
  21193. },
  21194. "buyfutureqty": {
  21195. "description": "买入期货数量",
  21196. "type": "number"
  21197. },
  21198. "buyplanqty": {
  21199. "description": "采购计划数量",
  21200. "type": "number"
  21201. },
  21202. "buypricedqty": {
  21203. "description": "采购合同已定价数量",
  21204. "type": "number"
  21205. },
  21206. "cycletime": {
  21207. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21208. "type": "string"
  21209. },
  21210. "cycletype": {
  21211. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21212. "type": "integer"
  21213. },
  21214. "diffexposure": {
  21215. "description": "变动量(套保敞口)",
  21216. "type": "number"
  21217. },
  21218. "difffutuqty": {
  21219. "description": "变动量(期货)",
  21220. "type": "number"
  21221. },
  21222. "diffhedgeqty": {
  21223. "description": "变动量(现货应套保总量)",
  21224. "type": "number"
  21225. },
  21226. "diffmgqtya": {
  21227. "description": "套保变动量",
  21228. "type": "number"
  21229. },
  21230. "diffmgqtyb": {
  21231. "description": "套利变动量",
  21232. "type": "number"
  21233. },
  21234. "diffneedqty": {
  21235. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  21236. "type": "number"
  21237. },
  21238. "diffqty": {
  21239. "description": "变动量(总敞口)",
  21240. "type": "number"
  21241. },
  21242. "diffspotqty": {
  21243. "description": "变动量(现货) | 除税变动量",
  21244. "type": "number"
  21245. },
  21246. "enddate": {
  21247. "description": "结束交易日",
  21248. "type": "string"
  21249. },
  21250. "enumdicname": {
  21251. "description": "单位名称",
  21252. "type": "string"
  21253. },
  21254. "hedgeqty": {
  21255. "description": "套保量",
  21256. "type": "number"
  21257. },
  21258. "mgneedhedgeratio": {
  21259. "description": "套保比例(套保品的)",
  21260. "type": "number"
  21261. },
  21262. "middlegoodsid": {
  21263. "description": "套保品种ID",
  21264. "type": "integer"
  21265. },
  21266. "middlegoodsname": {
  21267. "description": "套保商品名称",
  21268. "type": "string"
  21269. },
  21270. "middlgoodscode": {
  21271. "description": "套保商品代码",
  21272. "type": "string"
  21273. },
  21274. "needarbitrageqty": {
  21275. "description": "应套利量",
  21276. "type": "number"
  21277. },
  21278. "needarbitrageratio": {
  21279. "description": "套利比例(套保品的)",
  21280. "type": "number"
  21281. },
  21282. "needhedgeexposoure": {
  21283. "description": "应套保敞口(套保敞口)",
  21284. "type": "number"
  21285. },
  21286. "needhedgeqty": {
  21287. "description": "应套保量",
  21288. "type": "number"
  21289. },
  21290. "needhedgeratio": {
  21291. "description": "应套保敞口比例",
  21292. "type": "number"
  21293. },
  21294. "needqty": {
  21295. "description": "应套总量 = 应套保量 + 应套利量",
  21296. "type": "number"
  21297. },
  21298. "oriarbitrageqty": {
  21299. "description": "期初套利量",
  21300. "type": "number"
  21301. },
  21302. "oribuyfutureqty": {
  21303. "description": "期初买入期货数量",
  21304. "type": "number"
  21305. },
  21306. "oribuyplanqty": {
  21307. "description": "期初采购计划数量",
  21308. "type": "number"
  21309. },
  21310. "oribuypricedqty": {
  21311. "description": "期初采购合同已定价数量",
  21312. "type": "number"
  21313. },
  21314. "orihedgeqty": {
  21315. "description": "期初套保量",
  21316. "type": "number"
  21317. },
  21318. "orineedarbitrageqty": {
  21319. "description": "期初应套利量",
  21320. "type": "number"
  21321. },
  21322. "orineedhedgeexposoure": {
  21323. "description": "期初应套保敞口",
  21324. "type": "number"
  21325. },
  21326. "orineedhedgeqty": {
  21327. "description": "期初应套保量",
  21328. "type": "number"
  21329. },
  21330. "orisellfutureqty": {
  21331. "description": "期初卖出期货数量",
  21332. "type": "number"
  21333. },
  21334. "orisellplanqty": {
  21335. "description": "期初销售计划数量",
  21336. "type": "number"
  21337. },
  21338. "orisellpricedqty": {
  21339. "description": "期初销售合同已定价数量",
  21340. "type": "number"
  21341. },
  21342. "oritotalexposure": {
  21343. "description": "期初实时总敞口",
  21344. "type": "number"
  21345. },
  21346. "oritotalfutureqty": {
  21347. "description": "期初期货头寸总量",
  21348. "type": "number"
  21349. },
  21350. "oritotalneedhedgeqty": {
  21351. "description": "期初应套保总量",
  21352. "type": "number"
  21353. },
  21354. "oritotalspotqty": {
  21355. "description": "期初现货头寸总量",
  21356. "type": "number"
  21357. },
  21358. "reckondate": {
  21359. "description": "日照时期(yyyyMMdd)",
  21360. "type": "string"
  21361. },
  21362. "sellfutureqty": {
  21363. "description": "卖出期货数量",
  21364. "type": "number"
  21365. },
  21366. "sellplanqty": {
  21367. "description": "销售计划数量",
  21368. "type": "number"
  21369. },
  21370. "sellpricedqty": {
  21371. "description": "销售合同已定价数量",
  21372. "type": "number"
  21373. },
  21374. "totalexposure": {
  21375. "description": "实时总敞口(总敞口)",
  21376. "type": "number"
  21377. },
  21378. "totalfutureqty": {
  21379. "description": "期货头寸总量(期货总量)",
  21380. "type": "number"
  21381. },
  21382. "totalhedgeratio": {
  21383. "description": "敞口比例",
  21384. "type": "number"
  21385. },
  21386. "totalneedhedgeqty": {
  21387. "description": "应套保总量(现货应套保总量)",
  21388. "type": "number"
  21389. },
  21390. "totalspotqty": {
  21391. "description": "现货头寸总量 | 除税总量",
  21392. "type": "number"
  21393. },
  21394. "unitid": {
  21395. "description": "单位id",
  21396. "type": "integer"
  21397. },
  21398. "updatetime": {
  21399. "description": "更新时间",
  21400. "type": "string"
  21401. }
  21402. }
  21403. },
  21404. "models.Ermcp3FinanceReport": {
  21405. "type": "object",
  21406. "properties": {
  21407. "accountname": {
  21408. "description": "机构名称",
  21409. "type": "string"
  21410. },
  21411. "areauserid": {
  21412. "description": "所属机构\\交易用户ID",
  21413. "type": "integer"
  21414. },
  21415. "begindate": {
  21416. "description": "开始交易日",
  21417. "type": "string"
  21418. },
  21419. "biztype": {
  21420. "description": "业务类型 - 1:套保 2:套利",
  21421. "type": "integer"
  21422. },
  21423. "brandname": {
  21424. "description": "品牌名称",
  21425. "type": "string"
  21426. },
  21427. "buypreinvoicedamount": {
  21428. "description": "采购预收票额(预收票额)",
  21429. "type": "number"
  21430. },
  21431. "buyprepaidamount": {
  21432. "description": "采购预付款额(预付货款额)",
  21433. "type": "number"
  21434. },
  21435. "buytodayinvoiceamount": {
  21436. "description": "采购今收票额(今收票额)",
  21437. "type": "number"
  21438. },
  21439. "buytodayrefundamount": {
  21440. "description": "采购今收退款额(今收退款额)",
  21441. "type": "number"
  21442. },
  21443. "buytodaysettleamount": {
  21444. "description": "采购今付款额(今付货款额)",
  21445. "type": "number"
  21446. },
  21447. "buyuninvoicedamount": {
  21448. "description": "采购应收票额(应收票额)",
  21449. "type": "number"
  21450. },
  21451. "buyunpaidamount": {
  21452. "description": "采购应付款额(应付货款额)",
  21453. "type": "number"
  21454. },
  21455. "currencyid": {
  21456. "description": "结算币种ID",
  21457. "type": "integer"
  21458. },
  21459. "currencyname": {
  21460. "description": "币种名称",
  21461. "type": "string"
  21462. },
  21463. "cycletime": {
  21464. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21465. "type": "string"
  21466. },
  21467. "cycletype": {
  21468. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21469. "type": "integer"
  21470. },
  21471. "deliverygoodscode": {
  21472. "description": "现货品种代码",
  21473. "type": "string"
  21474. },
  21475. "deliverygoodsid": {
  21476. "description": "现货品种ID",
  21477. "type": "integer"
  21478. },
  21479. "deliverygoodsname": {
  21480. "description": "现货品种名称",
  21481. "type": "string"
  21482. },
  21483. "enddate": {
  21484. "description": "结束交易日",
  21485. "type": "string"
  21486. },
  21487. "reckondate": {
  21488. "description": "日照时期(yyyyMMdd)",
  21489. "type": "string"
  21490. },
  21491. "sellpreinvoicedamount": {
  21492. "description": "销售预开票额(预开票额)",
  21493. "type": "number"
  21494. },
  21495. "sellprepaidamount": {
  21496. "description": "销售预收款额(预收货款额)",
  21497. "type": "number"
  21498. },
  21499. "selltodayinvoiceamount": {
  21500. "description": "销售今开票额(今开票额)",
  21501. "type": "number"
  21502. },
  21503. "selltodayrefundamount": {
  21504. "description": "销售今付退款额(今付退款额)",
  21505. "type": "number"
  21506. },
  21507. "selltodaysettleamount": {
  21508. "description": "销售今收款额(今收货款额)",
  21509. "type": "number"
  21510. },
  21511. "selluninvoicedamount": {
  21512. "description": "销售应开票额(应开票额)",
  21513. "type": "number"
  21514. },
  21515. "sellunpaidamount": {
  21516. "description": "销售应收款额(应收货款额)",
  21517. "type": "number"
  21518. },
  21519. "spotgoodsbrandid": {
  21520. "description": "现货品牌ID",
  21521. "type": "integer"
  21522. },
  21523. "todaypaysum": {
  21524. "description": "今付款合计",
  21525. "type": "number"
  21526. },
  21527. "todayreceivesum": {
  21528. "description": "今收款合计",
  21529. "type": "number"
  21530. },
  21531. "updatetime": {
  21532. "description": "更新时间",
  21533. "type": "string"
  21534. },
  21535. "wrfactortypeid": {
  21536. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21537. "type": "integer"
  21538. },
  21539. "wrstandardcode": {
  21540. "description": "品类代码",
  21541. "type": "string"
  21542. },
  21543. "wrstandardid": {
  21544. "description": "现货商品ID",
  21545. "type": "integer"
  21546. },
  21547. "wrstandardname": {
  21548. "description": "品类名称",
  21549. "type": "string"
  21550. }
  21551. }
  21552. },
  21553. "models.Ermcp3GoodsGroup": {
  21554. "type": "object",
  21555. "required": [
  21556. "areauserid"
  21557. ],
  21558. "properties": {
  21559. "agreeunit": {
  21560. "description": "合约单位",
  21561. "type": "number"
  21562. },
  21563. "areauserid": {
  21564. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21565. "type": "integer"
  21566. },
  21567. "canshort": {
  21568. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21569. "type": "integer"
  21570. },
  21571. "closepricemode": {
  21572. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21573. "type": "integer"
  21574. },
  21575. "createtime": {
  21576. "description": "创建时间",
  21577. "type": "string"
  21578. },
  21579. "creatorid": {
  21580. "description": "创建人",
  21581. "type": "integer"
  21582. },
  21583. "currencyid": {
  21584. "description": "报价货币ID",
  21585. "type": "integer"
  21586. },
  21587. "decimalplace": {
  21588. "description": "报价小数位",
  21589. "type": "integer"
  21590. },
  21591. "enumdicname": {
  21592. "description": "单位名称",
  21593. "type": "string"
  21594. },
  21595. "exchangefullname": {
  21596. "description": "交易所全称",
  21597. "type": "string"
  21598. },
  21599. "excludecfg": {
  21600. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21601. "type": "integer"
  21602. },
  21603. "exexchangecode": {
  21604. "description": "交易所代码",
  21605. "type": "string"
  21606. },
  21607. "exexchangeid": {
  21608. "description": "外部交易所ID[通道交易]",
  21609. "type": "integer"
  21610. },
  21611. "exexchangename": {
  21612. "description": "交易所名称",
  21613. "type": "string"
  21614. },
  21615. "goodsgroupid": {
  21616. "description": "商品组ID(自增ID)",
  21617. "type": "integer"
  21618. },
  21619. "goodsgroupname": {
  21620. "description": "商品组名称",
  21621. "type": "string"
  21622. },
  21623. "goodsgroupstatus": {
  21624. "description": "商品组状态 - 1:正常 2:注销",
  21625. "type": "integer"
  21626. },
  21627. "goodunitid": {
  21628. "description": "报价单位ID",
  21629. "type": "integer"
  21630. },
  21631. "groupcategroyid": {
  21632. "description": "品种分类ID",
  21633. "type": "integer"
  21634. },
  21635. "innerdealmode": {
  21636. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21637. "type": "integer"
  21638. },
  21639. "marketid": {
  21640. "description": "所属市场ID",
  21641. "type": "integer"
  21642. },
  21643. "modifierid": {
  21644. "description": "修改人",
  21645. "type": "integer"
  21646. },
  21647. "modifytime": {
  21648. "description": "修改时间",
  21649. "type": "string"
  21650. },
  21651. "outerdealmode": {
  21652. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21653. "type": "integer"
  21654. },
  21655. "outergroupcode": {
  21656. "description": "外部商品组代码[通道交易]",
  21657. "type": "string"
  21658. },
  21659. "quoteminunit": {
  21660. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21661. "type": "integer"
  21662. },
  21663. "quotesourcegroupid": {
  21664. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21665. "type": "integer"
  21666. },
  21667. "syncgoodsqty": {
  21668. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21669. "type": "integer"
  21670. }
  21671. }
  21672. },
  21673. "models.Ermcp3HPMiddleGoods": {
  21674. "type": "object",
  21675. "properties": {
  21676. "biztype": {
  21677. "description": "业务类型 1:套保 2:套利",
  21678. "type": "integer"
  21679. },
  21680. "contracttype": {
  21681. "description": "合同类型 1:采购 -1:销售",
  21682. "type": "integer"
  21683. },
  21684. "convertratio": {
  21685. "description": "折算系数",
  21686. "type": "number"
  21687. },
  21688. "customername": {
  21689. "description": "对手手名称",
  21690. "type": "string"
  21691. },
  21692. "customeruserid": {
  21693. "description": "对手id",
  21694. "type": "integer"
  21695. },
  21696. "enumdicname": {
  21697. "description": "现货单位名称",
  21698. "type": "string"
  21699. },
  21700. "hedgeplanid": {
  21701. "description": "计划id",
  21702. "type": "string"
  21703. },
  21704. "hedgeplanno": {
  21705. "description": "计划编号",
  21706. "type": "string"
  21707. },
  21708. "middlegoodsid": {
  21709. "description": "套保品种ID",
  21710. "type": "integer"
  21711. },
  21712. "middlegoodsplanqty3": {
  21713. "description": "应套保计划量",
  21714. "type": "number"
  21715. },
  21716. "needhedgeratio": {
  21717. "description": "套保比例",
  21718. "type": "number"
  21719. },
  21720. "pricedqty": {
  21721. "description": "已定价量",
  21722. "type": "number"
  21723. },
  21724. "relatedmiddlegoodsqty": {
  21725. "description": "已关联量(套保品种)(期货)",
  21726. "type": "number"
  21727. },
  21728. "unitid": {
  21729. "description": "现货单位id",
  21730. "type": "integer"
  21731. },
  21732. "userid": {
  21733. "description": "用户id",
  21734. "type": "integer"
  21735. },
  21736. "vatrate": {
  21737. "description": "增值税率",
  21738. "type": "number"
  21739. },
  21740. "wrstandardcode": {
  21741. "description": "现货商品代码",
  21742. "type": "string"
  21743. },
  21744. "wrstandardid": {
  21745. "description": "现货商品id",
  21746. "type": "integer"
  21747. },
  21748. "wrstandardname": {
  21749. "description": "现货商品名称",
  21750. "type": "string"
  21751. }
  21752. }
  21753. },
  21754. "models.Ermcp3HedgePlan": {
  21755. "type": "object",
  21756. "properties": {
  21757. "accountid": {
  21758. "description": "资金账号",
  21759. "type": "integer"
  21760. },
  21761. "areauserid": {
  21762. "description": "用户ID",
  21763. "type": "integer"
  21764. },
  21765. "auditid": {
  21766. "description": "审核id",
  21767. "type": "integer"
  21768. },
  21769. "auditname": {
  21770. "description": "审核人名称",
  21771. "type": "string"
  21772. },
  21773. "auditremark": {
  21774. "description": "审核备注",
  21775. "type": "string"
  21776. },
  21777. "auditsrc": {
  21778. "description": "审核来源 1-管理端 2-终端",
  21779. "type": "integer"
  21780. },
  21781. "audittime": {
  21782. "description": "审核时间",
  21783. "type": "string"
  21784. },
  21785. "contracttype": {
  21786. "description": "计划类型 - 1:采购 -1:销售",
  21787. "type": "integer"
  21788. },
  21789. "convertfactor": {
  21790. "description": "标仓系数",
  21791. "type": "number"
  21792. },
  21793. "createtime": {
  21794. "description": "创建时间",
  21795. "type": "string"
  21796. },
  21797. "currencyid": {
  21798. "description": "币种id",
  21799. "type": "integer"
  21800. },
  21801. "currencyname": {
  21802. "description": "币种名称",
  21803. "type": "string"
  21804. },
  21805. "deliverygoodscode": {
  21806. "description": "现货品种代码",
  21807. "type": "string"
  21808. },
  21809. "deliverygoodsid": {
  21810. "description": "现货品种ID",
  21811. "type": "integer"
  21812. },
  21813. "deliverygoodsname": {
  21814. "description": "现货品种名称",
  21815. "type": "string"
  21816. },
  21817. "enumdicname": {
  21818. "description": "单位名称(现货商品)",
  21819. "type": "string"
  21820. },
  21821. "hedgeplanid": {
  21822. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21823. "type": "string"
  21824. },
  21825. "hedgeplanno": {
  21826. "description": "套保计划编号(名称)",
  21827. "type": "string"
  21828. },
  21829. "hedgeplanstatus": {
  21830. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21831. "type": "integer"
  21832. },
  21833. "planqty": {
  21834. "description": "计划数量",
  21835. "type": "number"
  21836. },
  21837. "plantime": {
  21838. "description": "计划时间",
  21839. "type": "string"
  21840. },
  21841. "producttype": {
  21842. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21843. "type": "integer"
  21844. },
  21845. "remark": {
  21846. "description": "备注",
  21847. "type": "string"
  21848. },
  21849. "spotgoodsdesc": {
  21850. "description": "商品型号",
  21851. "type": "string"
  21852. },
  21853. "taaccountname": {
  21854. "description": "资金账号名称",
  21855. "type": "string"
  21856. },
  21857. "tradeuserid": {
  21858. "description": "交易用户id",
  21859. "type": "integer"
  21860. },
  21861. "tradeusername": {
  21862. "description": "交易用户名称",
  21863. "type": "string"
  21864. },
  21865. "unitid": {
  21866. "description": "单位id(现货商品)",
  21867. "type": "integer"
  21868. },
  21869. "updatetime": {
  21870. "description": "更新时间",
  21871. "type": "string"
  21872. },
  21873. "vatrate": {
  21874. "description": "增值税率",
  21875. "type": "number"
  21876. },
  21877. "wrstandardcode": {
  21878. "description": "品类代码",
  21879. "type": "string"
  21880. },
  21881. "wrstandardid": {
  21882. "description": "品类id",
  21883. "type": "integer"
  21884. },
  21885. "wrstandardname": {
  21886. "description": "品类名称",
  21887. "type": "string"
  21888. },
  21889. "wrunitid": {
  21890. "description": "品类单位id",
  21891. "type": "integer"
  21892. },
  21893. "wrunitidame": {
  21894. "description": "品类单位名称",
  21895. "type": "string"
  21896. }
  21897. }
  21898. },
  21899. "models.Ermcp3InnerTradeLink": {
  21900. "type": "object",
  21901. "properties": {
  21902. "accountid": {
  21903. "description": "期货账号代码 | 资金账号ID",
  21904. "type": "integer"
  21905. },
  21906. "buyorsell": {
  21907. "description": "方向 - 0:买 1:卖",
  21908. "type": "integer"
  21909. },
  21910. "channelbuildtype": {
  21911. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21912. "type": "integer"
  21913. },
  21914. "currencyid": {
  21915. "description": "币种id",
  21916. "type": "integer"
  21917. },
  21918. "currencyname": {
  21919. "description": "结算币种 名称",
  21920. "type": "string"
  21921. },
  21922. "goodscode": {
  21923. "description": "商品代码",
  21924. "type": "string"
  21925. },
  21926. "goodsid": {
  21927. "description": "商品ID",
  21928. "type": "integer"
  21929. },
  21930. "goodsname": {
  21931. "description": "商品名称",
  21932. "type": "string"
  21933. },
  21934. "outtradeid": {
  21935. "description": "外部成交单号",
  21936. "type": "string"
  21937. },
  21938. "taname": {
  21939. "description": "期货账户名称",
  21940. "type": "string"
  21941. },
  21942. "tradeid": {
  21943. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21944. "type": "string"
  21945. },
  21946. "tradeprice": {
  21947. "description": "成交价格",
  21948. "type": "number"
  21949. },
  21950. "tradeqty": {
  21951. "description": "期货成交数量",
  21952. "type": "integer"
  21953. },
  21954. "tradetime": {
  21955. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21956. "type": "string"
  21957. },
  21958. "username": {
  21959. "description": "用户名称",
  21960. "type": "string"
  21961. }
  21962. }
  21963. },
  21964. "models.Ermcp3OutTradeLink": {
  21965. "type": "object",
  21966. "properties": {
  21967. "buyorsell": {
  21968. "description": "买卖方向 - 0:买 1:卖",
  21969. "type": "integer"
  21970. },
  21971. "channelbuildtype": {
  21972. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21973. "type": "integer"
  21974. },
  21975. "currencyname": {
  21976. "description": "币种名称",
  21977. "type": "string"
  21978. },
  21979. "exexchangecode": {
  21980. "description": "交易所代码",
  21981. "type": "string"
  21982. },
  21983. "exexchangename": {
  21984. "description": "交易所名称",
  21985. "type": "string"
  21986. },
  21987. "goodscode": {
  21988. "description": "合约代码",
  21989. "type": "string"
  21990. },
  21991. "goodsid": {
  21992. "description": "合约id",
  21993. "type": "integer"
  21994. },
  21995. "goodsname": {
  21996. "description": "合约名称",
  21997. "type": "string"
  21998. },
  21999. "hasinnerorder": {
  22000. "description": "是否有内部单关联 - 0:无 1:有",
  22001. "type": "integer"
  22002. },
  22003. "hedgeaccountcode": {
  22004. "description": "外部账号 | 对冲账号",
  22005. "type": "string"
  22006. },
  22007. "outtradeid": {
  22008. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22009. "type": "string"
  22010. },
  22011. "tradeprice": {
  22012. "description": "成交价格",
  22013. "type": "number"
  22014. },
  22015. "tradeqty": {
  22016. "description": "成交数量",
  22017. "type": "integer"
  22018. },
  22019. "tradetime": {
  22020. "description": "成交时间",
  22021. "type": "string"
  22022. }
  22023. }
  22024. },
  22025. "models.Ermcp3PaAreaAuditCfg": {
  22026. "type": "object",
  22027. "properties": {
  22028. "areauserid": {
  22029. "description": "用户ID",
  22030. "type": "integer"
  22031. },
  22032. "buyinauditflag": {
  22033. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  22034. "type": "integer"
  22035. },
  22036. "costratioauditflag": {
  22037. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  22038. "type": "integer"
  22039. },
  22040. "customerauditflag": {
  22041. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  22042. "type": "integer"
  22043. },
  22044. "deliveryauditflag": {
  22045. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22046. "type": "integer"
  22047. },
  22048. "invoiceauditflag": {
  22049. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22050. "type": "integer"
  22051. },
  22052. "mgneedhedgeratioauditflag": {
  22053. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22054. "type": "integer"
  22055. },
  22056. "moneyauditflag": {
  22057. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22058. "type": "integer"
  22059. },
  22060. "operatorid": {
  22061. "description": "操作人",
  22062. "type": "integer"
  22063. },
  22064. "operatorsrc": {
  22065. "description": "操作来源 - 1:管理端 2:终端",
  22066. "type": "integer"
  22067. },
  22068. "pointpriceauditflag": {
  22069. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22070. "type": "integer"
  22071. },
  22072. "produceinauditflag": {
  22073. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22074. "type": "integer"
  22075. },
  22076. "produceoutauditflag": {
  22077. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22078. "type": "integer"
  22079. },
  22080. "selloutauditflag": {
  22081. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22082. "type": "integer"
  22083. },
  22084. "sgconvertratioauditflag": {
  22085. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22086. "type": "integer"
  22087. },
  22088. "sgvtaratioauditflag": {
  22089. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22090. "type": "integer"
  22091. },
  22092. "spotcontractauditflag": {
  22093. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22094. "type": "integer"
  22095. },
  22096. "updatetime": {
  22097. "description": "更新时间",
  22098. "type": "string"
  22099. }
  22100. }
  22101. },
  22102. "models.Ermcp3PaAreaSubject": {
  22103. "type": "object",
  22104. "properties": {
  22105. "areauserid": {
  22106. "description": "所属机构",
  22107. "type": "integer"
  22108. },
  22109. "canmodify": {
  22110. "description": "是否可修改 - 0:否 1:是",
  22111. "type": "integer"
  22112. },
  22113. "createtime": {
  22114. "description": "创建时间",
  22115. "type": "string"
  22116. },
  22117. "creatorid": {
  22118. "description": "创建人ID",
  22119. "type": "string"
  22120. },
  22121. "creatorsrc": {
  22122. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22123. "type": "integer"
  22124. },
  22125. "modifierid": {
  22126. "description": "修改人",
  22127. "type": "string"
  22128. },
  22129. "modifiersrc": {
  22130. "description": "修改人来源 - 1:管理端 2:终端",
  22131. "type": "integer"
  22132. },
  22133. "modifytime": {
  22134. "description": "修改时间",
  22135. "type": "string"
  22136. },
  22137. "parentsubjectid": {
  22138. "description": "上级主体ID",
  22139. "type": "string"
  22140. },
  22141. "remark": {
  22142. "description": "备注",
  22143. "type": "string"
  22144. },
  22145. "subjectid": {
  22146. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22147. "type": "integer"
  22148. },
  22149. "subjectname": {
  22150. "description": "主体名称",
  22151. "type": "string"
  22152. },
  22153. "subjectstatus": {
  22154. "description": "主体状态 - 1:正常 2: 停用",
  22155. "type": "integer"
  22156. },
  22157. "subjecttype": {
  22158. "description": "主体类型 - 1:交易主体 2:业务部门",
  22159. "type": "integer"
  22160. }
  22161. }
  22162. },
  22163. "models.Ermcp3PaTradeLink": {
  22164. "type": "object",
  22165. "properties": {
  22166. "accountid": {
  22167. "description": "期货账户代码 | 账号ID",
  22168. "type": "integer"
  22169. },
  22170. "agreeunit": {
  22171. "description": "合约乘数",
  22172. "type": "number"
  22173. },
  22174. "buyorsell": {
  22175. "description": "方向 - 0:买 1:卖",
  22176. "type": "integer"
  22177. },
  22178. "channelbuildtype": {
  22179. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22180. "type": "integer"
  22181. },
  22182. "charge": {
  22183. "description": "手续费",
  22184. "type": "number"
  22185. },
  22186. "closepl": {
  22187. "description": "平仓盈亏",
  22188. "type": "number"
  22189. },
  22190. "closetype": {
  22191. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22192. "type": "integer"
  22193. },
  22194. "convertratio": {
  22195. "description": "折算系数",
  22196. "type": "number"
  22197. },
  22198. "enumdicname": {
  22199. "description": "单位名称",
  22200. "type": "string"
  22201. },
  22202. "executeprice": {
  22203. "description": "执行价 [期权]",
  22204. "type": "integer"
  22205. },
  22206. "goodscode": {
  22207. "description": "合约代码",
  22208. "type": "string"
  22209. },
  22210. "goodsgroupid": {
  22211. "description": "对冲品种ID[期货合约商品组ID]",
  22212. "type": "integer"
  22213. },
  22214. "goodsid": {
  22215. "description": "商品ID",
  22216. "type": "integer"
  22217. },
  22218. "goodsname": {
  22219. "description": "合约名称",
  22220. "type": "string"
  22221. },
  22222. "goodunitid": {
  22223. "description": "单位id",
  22224. "type": "integer"
  22225. },
  22226. "hedgeflag": {
  22227. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22228. "type": "integer"
  22229. },
  22230. "marketid": {
  22231. "description": "市场ID",
  22232. "type": "integer"
  22233. },
  22234. "middlegoodsid": {
  22235. "description": "套保品种ID",
  22236. "type": "integer"
  22237. },
  22238. "middlegoodsqty": {
  22239. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22240. "type": "number"
  22241. },
  22242. "optioncode": {
  22243. "description": "期权代码 [期权]",
  22244. "type": "string"
  22245. },
  22246. "ordertype": {
  22247. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22248. "type": "integer"
  22249. },
  22250. "ordertypename": {
  22251. "description": "订单类型",
  22252. "type": "string"
  22253. },
  22254. "parentaccountid": {
  22255. "description": "所属母账户",
  22256. "type": "integer"
  22257. },
  22258. "premium": {
  22259. "description": "权利金 [期权]",
  22260. "type": "number"
  22261. },
  22262. "relatedlot": {
  22263. "description": "已关联数量(已关联数量手) | db:关联手数",
  22264. "type": "number"
  22265. },
  22266. "relatedouttradeid": {
  22267. "description": "关联外部成交单ID",
  22268. "type": "string"
  22269. },
  22270. "relatedqty": {
  22271. "description": "关联数量",
  22272. "type": "number"
  22273. },
  22274. "spotcontractid": {
  22275. "description": "现货合同ID [4:套期保值\\10\\11]",
  22276. "type": "string"
  22277. },
  22278. "taname": {
  22279. "description": "期货账户名称",
  22280. "type": "string"
  22281. },
  22282. "tradeamount": {
  22283. "description": "成交金额(账户)",
  22284. "type": "number"
  22285. },
  22286. "tradedate": {
  22287. "description": "交易日(yyyyMMdd)",
  22288. "type": "string"
  22289. },
  22290. "tradeid": {
  22291. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22292. "type": "string"
  22293. },
  22294. "tradelot": {
  22295. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22296. "type": "integer"
  22297. },
  22298. "tradeprice": {
  22299. "description": "成交价格",
  22300. "type": "number"
  22301. },
  22302. "tradetime": {
  22303. "description": "时间 | db:成交时间",
  22304. "type": "string"
  22305. },
  22306. "tradetype": {
  22307. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22308. "type": "integer"
  22309. },
  22310. "userid": {
  22311. "description": "所属机构 - 所属母账户的UserID",
  22312. "type": "string"
  22313. },
  22314. "username": {
  22315. "description": "用户名称",
  22316. "type": "string"
  22317. }
  22318. }
  22319. },
  22320. "models.Ermcp3ParamChangeApp": {
  22321. "type": "object",
  22322. "properties": {
  22323. "aftervalue": {
  22324. "description": "变更后",
  22325. "type": "number"
  22326. },
  22327. "applicationid": {
  22328. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22329. "type": "string"
  22330. },
  22331. "applyid": {
  22332. "description": "申请人",
  22333. "type": "string"
  22334. },
  22335. "applyname": {
  22336. "description": "申请人名称(代码)",
  22337. "type": "string"
  22338. },
  22339. "applyremark": {
  22340. "description": "申请备注",
  22341. "type": "string"
  22342. },
  22343. "applysrc": {
  22344. "description": "申请来源 - 1:管理端 2:终端",
  22345. "type": "integer"
  22346. },
  22347. "applystatus": {
  22348. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22349. "type": "integer"
  22350. },
  22351. "applytime": {
  22352. "description": "申请时间",
  22353. "type": "string"
  22354. },
  22355. "areauserid": {
  22356. "description": "所属机构用户ID",
  22357. "type": "integer"
  22358. },
  22359. "auditid": {
  22360. "description": "审核人",
  22361. "type": "string"
  22362. },
  22363. "auditname": {
  22364. "description": "审核人名称(代码)",
  22365. "type": "string"
  22366. },
  22367. "auditremark": {
  22368. "description": "审核备注",
  22369. "type": "string"
  22370. },
  22371. "auditsrc": {
  22372. "description": "审核来源 - 1:管理端 2:终端",
  22373. "type": "integer"
  22374. },
  22375. "audittime": {
  22376. "description": "审核时间",
  22377. "type": "string"
  22378. },
  22379. "audittradedate": {
  22380. "description": "审核交易日(yyyyMMdd)",
  22381. "type": "string"
  22382. },
  22383. "beforevalue": {
  22384. "description": "变更前",
  22385. "type": "number"
  22386. },
  22387. "deliverygoodscode": {
  22388. "description": "品种代码",
  22389. "type": "string"
  22390. },
  22391. "deliverygoodsid": {
  22392. "description": "品种id",
  22393. "type": "integer"
  22394. },
  22395. "deliverygoodsname": {
  22396. "description": "品种名称",
  22397. "type": "string"
  22398. },
  22399. "middlegoodscode": {
  22400. "description": "套保品种代码",
  22401. "type": "string"
  22402. },
  22403. "middlegoodsid": {
  22404. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22405. "type": "integer"
  22406. },
  22407. "middlegoodsname": {
  22408. "description": "套保品种名称",
  22409. "type": "string"
  22410. },
  22411. "operatetype": {
  22412. "description": "操作类型 - 1:新增 2:修改",
  22413. "type": "integer"
  22414. },
  22415. "paramchangetype": {
  22416. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22417. "type": "integer"
  22418. },
  22419. "wrstandardcode": {
  22420. "description": "现货商品代码",
  22421. "type": "string"
  22422. },
  22423. "wrstandardid": {
  22424. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22425. "type": "integer"
  22426. },
  22427. "wrstandardname": {
  22428. "description": "现货商品名称",
  22429. "type": "string"
  22430. }
  22431. }
  22432. },
  22433. "models.Ermcp3RootUserAccount": {
  22434. "type": "object",
  22435. "properties": {
  22436. "accountname": {
  22437. "description": "账户名称(机构名称)",
  22438. "type": "string"
  22439. },
  22440. "accountstatus": {
  22441. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22442. "type": "integer"
  22443. },
  22444. "applysrc": {
  22445. "description": "申请来源 - 1:管理端 2:终端",
  22446. "type": "integer"
  22447. },
  22448. "auditremark": {
  22449. "description": "审核备注",
  22450. "type": "string"
  22451. },
  22452. "auditsrc": {
  22453. "description": "审核来源 - 1:管理端 2:终端",
  22454. "type": "integer"
  22455. },
  22456. "audittime": {
  22457. "description": "审核时间",
  22458. "type": "string"
  22459. },
  22460. "audituserid": {
  22461. "description": "审核人",
  22462. "type": "integer"
  22463. },
  22464. "broker": {
  22465. "description": "所属经纪人ID",
  22466. "type": "integer"
  22467. },
  22468. "canceltime": {
  22469. "description": "销户时间",
  22470. "type": "string"
  22471. },
  22472. "canceluserid": {
  22473. "description": "销户人",
  22474. "type": "integer"
  22475. },
  22476. "canrecommend": {
  22477. "description": "是否可推荐 - 0:不可 1;可",
  22478. "type": "integer"
  22479. },
  22480. "createtime": {
  22481. "description": "创建时间",
  22482. "type": "string"
  22483. },
  22484. "creatorid": {
  22485. "description": "创建人",
  22486. "type": "integer"
  22487. },
  22488. "hasauth": {
  22489. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22490. "type": "integer"
  22491. },
  22492. "isanonymous": {
  22493. "description": "是否匿名下单 - 0:否 1:是",
  22494. "type": "integer"
  22495. },
  22496. "maxinvestornum": {
  22497. "description": "最大用户数(经纪会员下投资者个数)",
  22498. "type": "integer"
  22499. },
  22500. "memberuserid": {
  22501. "description": "所属会员ID",
  22502. "type": "integer"
  22503. },
  22504. "modifierid": {
  22505. "description": "修改人",
  22506. "type": "integer"
  22507. },
  22508. "modifyremark": {
  22509. "description": "变更备注",
  22510. "type": "string"
  22511. },
  22512. "modifystatus": {
  22513. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22514. "type": "integer"
  22515. },
  22516. "modifytime": {
  22517. "description": "修改时间",
  22518. "type": "string"
  22519. },
  22520. "nickname": {
  22521. "description": "昵称",
  22522. "type": "string"
  22523. },
  22524. "parenttopuser": {
  22525. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22526. "type": "string"
  22527. },
  22528. "parentuserid": {
  22529. "description": "所属机构ID",
  22530. "type": "integer"
  22531. },
  22532. "reckonaccountid": {
  22533. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22534. "type": "integer"
  22535. },
  22536. "refercount": {
  22537. "description": "推荐总人数",
  22538. "type": "integer"
  22539. },
  22540. "refereeuserid": {
  22541. "description": "推荐人ID",
  22542. "type": "integer"
  22543. },
  22544. "refernum": {
  22545. "description": "推荐码",
  22546. "type": "string"
  22547. },
  22548. "rootuserid": {
  22549. "description": "根用户ID",
  22550. "type": "integer"
  22551. },
  22552. "subaccountlevel": {
  22553. "description": "子账户层数",
  22554. "type": "integer"
  22555. },
  22556. "subarealevelpath": {
  22557. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22558. "type": "string"
  22559. },
  22560. "userid": {
  22561. "description": "用户ID",
  22562. "type": "integer"
  22563. },
  22564. "usertype": {
  22565. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22566. "type": "integer"
  22567. }
  22568. }
  22569. },
  22570. "models.Ermcp3SCMiddleGoods": {
  22571. "type": "object",
  22572. "properties": {
  22573. "biztype": {
  22574. "description": "业务类型 1:套保 2:套利",
  22575. "type": "integer"
  22576. },
  22577. "contractno": {
  22578. "description": "合同编号",
  22579. "type": "string"
  22580. },
  22581. "contracttype": {
  22582. "description": "合同类型 1:采购 -1:销售",
  22583. "type": "integer"
  22584. },
  22585. "convertratio": {
  22586. "description": "折算系数",
  22587. "type": "number"
  22588. },
  22589. "customername": {
  22590. "description": "对手手名称",
  22591. "type": "string"
  22592. },
  22593. "customeruserid": {
  22594. "description": "对手id",
  22595. "type": "integer"
  22596. },
  22597. "deliverygoodscode": {
  22598. "description": "现货品种代码",
  22599. "type": "string"
  22600. },
  22601. "deliverygoodsid": {
  22602. "description": "现货品种ID",
  22603. "type": "integer"
  22604. },
  22605. "deliverygoodsname": {
  22606. "description": "现货品种名称",
  22607. "type": "string"
  22608. },
  22609. "enumdicname": {
  22610. "description": "现货单位名称",
  22611. "type": "string"
  22612. },
  22613. "middlegoodsid": {
  22614. "description": "套保品种ID",
  22615. "type": "integer"
  22616. },
  22617. "middlegoodspricedqty3": {
  22618. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22619. "type": "number"
  22620. },
  22621. "needhedgeratio": {
  22622. "description": "套保比例",
  22623. "type": "number"
  22624. },
  22625. "pricedqty": {
  22626. "description": "已定价量",
  22627. "type": "number"
  22628. },
  22629. "relatedmiddlegoodsqty": {
  22630. "description": "已关联量(套保品种)(期货)",
  22631. "type": "number"
  22632. },
  22633. "spotcontractid": {
  22634. "description": "合同编号",
  22635. "type": "string"
  22636. },
  22637. "unitid": {
  22638. "description": "现货单位id",
  22639. "type": "integer"
  22640. },
  22641. "userid": {
  22642. "description": "用户id",
  22643. "type": "integer"
  22644. },
  22645. "vatrate": {
  22646. "description": "增值税率",
  22647. "type": "number"
  22648. },
  22649. "wrstandardcode": {
  22650. "description": "现货商品代码",
  22651. "type": "string"
  22652. },
  22653. "wrstandardid": {
  22654. "description": "现货商品id",
  22655. "type": "integer"
  22656. },
  22657. "wrstandardname": {
  22658. "description": "现货商品名称",
  22659. "type": "string"
  22660. }
  22661. }
  22662. },
  22663. "models.Ermcp3SCMiddleGoodsReport": {
  22664. "type": "object",
  22665. "properties": {
  22666. "begindate": {
  22667. "description": "开始交易日",
  22668. "type": "string"
  22669. },
  22670. "contractno": {
  22671. "description": "合同编号",
  22672. "type": "string"
  22673. },
  22674. "contracttype": {
  22675. "description": "合同类型 1:采购 -1:销售",
  22676. "type": "integer"
  22677. },
  22678. "convertratio": {
  22679. "description": "期初均价",
  22680. "type": "number"
  22681. },
  22682. "cycletime": {
  22683. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22684. "type": "string"
  22685. },
  22686. "cycletype": {
  22687. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22688. "type": "integer"
  22689. },
  22690. "deliverygoodscode": {
  22691. "description": "品种代码",
  22692. "type": "string"
  22693. },
  22694. "deliverygoodsid": {
  22695. "description": "现货品种ID",
  22696. "type": "integer"
  22697. },
  22698. "deliverygoodsname": {
  22699. "description": "品种名称",
  22700. "type": "string"
  22701. },
  22702. "diffprice": {
  22703. "description": "期初均价",
  22704. "type": "number"
  22705. },
  22706. "diffqty": {
  22707. "description": "期初均价",
  22708. "type": "number"
  22709. },
  22710. "enddate": {
  22711. "description": "结束交易日",
  22712. "type": "string"
  22713. },
  22714. "hedgeplanqty": {
  22715. "description": "期初均价",
  22716. "type": "number"
  22717. },
  22718. "matchname": {
  22719. "description": "交易对手方(个人:用户名称 企业:简称)",
  22720. "type": "string"
  22721. },
  22722. "matchnickname": {
  22723. "description": "交易对手方昵称",
  22724. "type": "string"
  22725. },
  22726. "middlegoodscode": {
  22727. "description": "套保品种代码",
  22728. "type": "string"
  22729. },
  22730. "middlegoodsid": {
  22731. "description": "套保品种ID",
  22732. "type": "integer"
  22733. },
  22734. "middlegoodsname": {
  22735. "description": "套保品种名称",
  22736. "type": "string"
  22737. },
  22738. "middlegoodspricedqty": {
  22739. "description": "期初均价",
  22740. "type": "number"
  22741. },
  22742. "middlegoodspricedqty2": {
  22743. "description": "期初均价",
  22744. "type": "number"
  22745. },
  22746. "middlegoodspricedqty3": {
  22747. "description": "期初均价",
  22748. "type": "number"
  22749. },
  22750. "needhedgeratio": {
  22751. "description": "期初均价",
  22752. "type": "number"
  22753. },
  22754. "pricedamount": {
  22755. "description": "期初均价",
  22756. "type": "number"
  22757. },
  22758. "pricedamount2": {
  22759. "description": "期初均价",
  22760. "type": "number"
  22761. },
  22762. "pricedqty": {
  22763. "description": "期初均价",
  22764. "type": "number"
  22765. },
  22766. "reckondate": {
  22767. "description": "日照时期(yyyyMMdd)",
  22768. "type": "string"
  22769. },
  22770. "relatedmiddlegoodsamount": {
  22771. "description": "期初均价",
  22772. "type": "number"
  22773. },
  22774. "relatedmiddlegoodsqty": {
  22775. "description": "期初均价",
  22776. "type": "number"
  22777. },
  22778. "spotcontractid": {
  22779. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22780. "type": "string"
  22781. },
  22782. "todayavgfutuprice": {
  22783. "description": "期初均价",
  22784. "type": "number"
  22785. },
  22786. "todayavgprice": {
  22787. "description": "期初均价",
  22788. "type": "number"
  22789. },
  22790. "todayavgprice2": {
  22791. "description": "期初均价",
  22792. "type": "number"
  22793. },
  22794. "todaypricedamount": {
  22795. "description": "期初均价",
  22796. "type": "number"
  22797. },
  22798. "todaypricedamount2": {
  22799. "description": "期初均价",
  22800. "type": "number"
  22801. },
  22802. "todaypricedqty": {
  22803. "description": "期初均价",
  22804. "type": "number"
  22805. },
  22806. "todayrelatedfutureqty": {
  22807. "description": "期初均价",
  22808. "type": "number"
  22809. },
  22810. "todayrelatedmiddlegoodsamount": {
  22811. "description": "期初均价",
  22812. "type": "number"
  22813. },
  22814. "todayrelatedmiddlegoodsqty": {
  22815. "description": "期初均价",
  22816. "type": "number"
  22817. },
  22818. "updatetime": {
  22819. "description": "更新时间",
  22820. "type": "string"
  22821. },
  22822. "userid": {
  22823. "description": "合同所属用户id",
  22824. "type": "integer"
  22825. },
  22826. "vatrate": {
  22827. "description": "期初均价",
  22828. "type": "number"
  22829. },
  22830. "wrstandardcode": {
  22831. "description": "商品(品类) 代码",
  22832. "type": "string"
  22833. },
  22834. "wrstandardid": {
  22835. "description": "现货商品ID",
  22836. "type": "integer"
  22837. },
  22838. "wrstandardname": {
  22839. "description": "商品(品类) 名称",
  22840. "type": "string"
  22841. }
  22842. }
  22843. },
  22844. "models.Ermcp3SellBuyContract": {
  22845. "type": "object",
  22846. "properties": {
  22847. "accountid": {
  22848. "description": "期货账户id",
  22849. "type": "string"
  22850. },
  22851. "accountname": {
  22852. "description": "账户名称",
  22853. "type": "string"
  22854. },
  22855. "attachment": {
  22856. "description": "附件",
  22857. "type": "string"
  22858. },
  22859. "audittime": {
  22860. "description": "审核时间",
  22861. "type": "string"
  22862. },
  22863. "bizsubjectid": {
  22864. "description": "归属业务部门ID - SubjectID",
  22865. "type": "integer"
  22866. },
  22867. "biztype": {
  22868. "description": "业务类型 1-套保 2-套利",
  22869. "type": "integer"
  22870. },
  22871. "brandname": {
  22872. "description": "品牌名称",
  22873. "type": "string"
  22874. },
  22875. "contracctstatus": {
  22876. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22877. "type": "integer"
  22878. },
  22879. "contractmargin": {
  22880. "description": "合同保证金",
  22881. "type": "number"
  22882. },
  22883. "contractno": {
  22884. "description": "合同编号",
  22885. "type": "string"
  22886. },
  22887. "contracttype": {
  22888. "description": "合同类型 1-采购, -1-销售",
  22889. "type": "integer"
  22890. },
  22891. "convertfactor": {
  22892. "description": "标仓系数(品类)",
  22893. "type": "number"
  22894. },
  22895. "createtime": {
  22896. "description": "创建时间",
  22897. "type": "string"
  22898. },
  22899. "currencyid": {
  22900. "description": "币种id",
  22901. "type": "integer"
  22902. },
  22903. "currencyname": {
  22904. "description": "币种名称",
  22905. "type": "string"
  22906. },
  22907. "daikaiamount": {
  22908. "description": "应收(开)票额 | 未收票额",
  22909. "type": "number"
  22910. },
  22911. "deliveryenddate": {
  22912. "description": "交割结束日",
  22913. "type": "string"
  22914. },
  22915. "deliverygoodscode": {
  22916. "description": "现货品种代码",
  22917. "type": "string"
  22918. },
  22919. "deliverygoodsid": {
  22920. "description": "现货商品ID",
  22921. "type": "integer"
  22922. },
  22923. "deliverygoodsname": {
  22924. "description": "现货品种名称",
  22925. "type": "string"
  22926. },
  22927. "deliverystartdate": {
  22928. "description": "交割开始日",
  22929. "type": "string"
  22930. },
  22931. "enddate": {
  22932. "description": "点价结束日",
  22933. "type": "string"
  22934. },
  22935. "enumdicname": {
  22936. "description": "单位名称",
  22937. "type": "string"
  22938. },
  22939. "goodscode": {
  22940. "description": "点价商品代码",
  22941. "type": "string"
  22942. },
  22943. "goodsgroupid": {
  22944. "description": "点价商品组id",
  22945. "type": "integer"
  22946. },
  22947. "goodsid": {
  22948. "description": "点价商品ID",
  22949. "type": "integer"
  22950. },
  22951. "goodsname": {
  22952. "description": "点价商品名称",
  22953. "type": "string"
  22954. },
  22955. "invoiceamount": {
  22956. "description": "已开票额",
  22957. "type": "number"
  22958. },
  22959. "loanamount": {
  22960. "description": "贷款总额=已定价额+调整金额",
  22961. "type": "number"
  22962. },
  22963. "margin": {
  22964. "description": "保证金",
  22965. "type": "number"
  22966. },
  22967. "meruserid": {
  22968. "description": "跟单员id",
  22969. "type": "integer"
  22970. },
  22971. "meruserlogincode": {
  22972. "description": "跟单员登录代码",
  22973. "type": "string"
  22974. },
  22975. "merusername": {
  22976. "description": "跟单员名称",
  22977. "type": "string"
  22978. },
  22979. "nickname": {
  22980. "description": "账户昵称",
  22981. "type": "string"
  22982. },
  22983. "orireckonrealqty": {
  22984. "description": "应交收量",
  22985. "type": "number"
  22986. },
  22987. "payamount": {
  22988. "description": "已收付额(收款或付款)",
  22989. "type": "number"
  22990. },
  22991. "preinvoiceamount": {
  22992. "description": "预收(开)票额",
  22993. "type": "number"
  22994. },
  22995. "prepayamount": {
  22996. "description": "预收付额",
  22997. "type": "number"
  22998. },
  22999. "price": {
  23000. "description": "价格",
  23001. "type": "number"
  23002. },
  23003. "pricedamount": {
  23004. "description": "已定价额",
  23005. "type": "number"
  23006. },
  23007. "pricedavg": {
  23008. "description": "已点均价",
  23009. "type": "number"
  23010. },
  23011. "pricedqty": {
  23012. "description": "已定价量",
  23013. "type": "number"
  23014. },
  23015. "pricemove": {
  23016. "description": "升贴水",
  23017. "type": "number"
  23018. },
  23019. "pricetype": {
  23020. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23021. "type": "integer"
  23022. },
  23023. "producttype": {
  23024. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23025. "type": "integer"
  23026. },
  23027. "qty": {
  23028. "description": "合同量",
  23029. "type": "number"
  23030. },
  23031. "reckonadjustamount": {
  23032. "description": "调整金额",
  23033. "type": "number"
  23034. },
  23035. "reckonedamount": {
  23036. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  23037. "type": "number"
  23038. },
  23039. "reckonotheramount": {
  23040. "description": "其它费用",
  23041. "type": "number"
  23042. },
  23043. "reckonrealqty": {
  23044. "description": "已交收量",
  23045. "type": "number"
  23046. },
  23047. "remark": {
  23048. "description": "备注",
  23049. "type": "string"
  23050. },
  23051. "saleuserid": {
  23052. "description": "业务员id",
  23053. "type": "integer"
  23054. },
  23055. "saleuserlogincode": {
  23056. "description": "业务员登录代码",
  23057. "type": "string"
  23058. },
  23059. "saleusername": {
  23060. "description": "业务员名称",
  23061. "type": "string"
  23062. },
  23063. "spotcontractid": {
  23064. "description": "合同ID",
  23065. "type": "string"
  23066. },
  23067. "spotgoodsbrandid": {
  23068. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23069. "type": "integer"
  23070. },
  23071. "spotgoodsdesc": {
  23072. "description": "商品型号(商品规格)",
  23073. "type": "string"
  23074. },
  23075. "startdate": {
  23076. "description": "点价开始日",
  23077. "type": "string"
  23078. },
  23079. "subjectid": {
  23080. "description": "交易主体ID",
  23081. "type": "integer"
  23082. },
  23083. "subjectname": {
  23084. "description": "交易主体名称",
  23085. "type": "string"
  23086. },
  23087. "totalamount": {
  23088. "description": "合计总额",
  23089. "type": "number"
  23090. },
  23091. "tradeuserid": {
  23092. "description": "交易员id",
  23093. "type": "integer"
  23094. },
  23095. "tradeuserlogincode": {
  23096. "description": "交易员登录代码",
  23097. "type": "string"
  23098. },
  23099. "tradeusername": {
  23100. "description": "交易员名称",
  23101. "type": "string"
  23102. },
  23103. "unpayamount": {
  23104. "description": "应收付款额(应支付或应收款) | 未付款额",
  23105. "type": "number"
  23106. },
  23107. "unpricedqty": {
  23108. "description": "未定价量",
  23109. "type": "number"
  23110. },
  23111. "unsureqty": {
  23112. "description": "未确定量 | 未交收量",
  23113. "type": "number"
  23114. },
  23115. "userid": {
  23116. "description": "机构ID",
  23117. "type": "integer"
  23118. },
  23119. "vatrate": {
  23120. "description": "增值税率",
  23121. "type": "number"
  23122. },
  23123. "wrstandardcode": {
  23124. "description": "品类代码",
  23125. "type": "string"
  23126. },
  23127. "wrstandardid": {
  23128. "description": "品类ID",
  23129. "type": "integer"
  23130. },
  23131. "wrstandardname": {
  23132. "description": "品类名称",
  23133. "type": "string"
  23134. }
  23135. }
  23136. },
  23137. "models.Ermcp3SpotGoodsPrice": {
  23138. "type": "object",
  23139. "properties": {
  23140. "areauserid": {
  23141. "description": "所属机构id",
  23142. "type": "integer"
  23143. },
  23144. "brandname": {
  23145. "description": "品牌名称",
  23146. "type": "string"
  23147. },
  23148. "currencyid": {
  23149. "description": "报价货币ID",
  23150. "type": "integer"
  23151. },
  23152. "currencyname": {
  23153. "description": "币种名称",
  23154. "type": "string"
  23155. },
  23156. "deliverygoodscode": {
  23157. "description": "现货商品代码",
  23158. "type": "string"
  23159. },
  23160. "deliverygoodsid": {
  23161. "description": "现货商品id",
  23162. "type": "integer"
  23163. },
  23164. "deliverygoodsname": {
  23165. "description": "现货商品名称",
  23166. "type": "string"
  23167. },
  23168. "enumdicname": {
  23169. "description": "现货商品单位名称",
  23170. "type": "string"
  23171. },
  23172. "gbenumdicname": {
  23173. "description": "品类单位名称",
  23174. "type": "string"
  23175. },
  23176. "gmunitid": {
  23177. "description": "品类单位id",
  23178. "type": "integer"
  23179. },
  23180. "isvalid": {
  23181. "description": "是否有效 - 0:无效 1:有效",
  23182. "type": "integer"
  23183. },
  23184. "operateid": {
  23185. "description": "最后操作人",
  23186. "type": "integer"
  23187. },
  23188. "operatesrc": {
  23189. "description": "最后操作来源 - 1:管理端 2:终端",
  23190. "type": "integer"
  23191. },
  23192. "operatetime": {
  23193. "description": "最后操作时间",
  23194. "type": "string"
  23195. },
  23196. "operatorname": {
  23197. "description": "操作人名称",
  23198. "type": "string"
  23199. },
  23200. "spotgoodsbrandid": {
  23201. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23202. "type": "integer"
  23203. },
  23204. "spotgoodsprice": {
  23205. "description": "现货价格",
  23206. "type": "number"
  23207. },
  23208. "tradedate": {
  23209. "description": "交易日(yyyyMMdd)",
  23210. "type": "string"
  23211. },
  23212. "unitid": {
  23213. "description": "现货商品单位id",
  23214. "type": "integer"
  23215. },
  23216. "wrstandardcode": {
  23217. "description": "品类代码",
  23218. "type": "string"
  23219. },
  23220. "wrstandardid": {
  23221. "description": "现货品类ID(通用则为0)",
  23222. "type": "integer"
  23223. },
  23224. "wrstandardname": {
  23225. "description": "品类名称",
  23226. "type": "string"
  23227. }
  23228. }
  23229. },
  23230. "models.Ermcp3SpotGoodsPriceLog": {
  23231. "type": "object",
  23232. "properties": {
  23233. "areauserid": {
  23234. "description": "所属机构id",
  23235. "type": "integer"
  23236. },
  23237. "brandname": {
  23238. "description": "品牌名称",
  23239. "type": "string"
  23240. },
  23241. "currencyid": {
  23242. "description": "报价货币ID",
  23243. "type": "integer"
  23244. },
  23245. "deliverygoodscode": {
  23246. "description": "现货商品代码",
  23247. "type": "string"
  23248. },
  23249. "deliverygoodsid": {
  23250. "description": "现货商品id",
  23251. "type": "integer"
  23252. },
  23253. "deliverygoodsname": {
  23254. "description": "现货商品名称",
  23255. "type": "string"
  23256. },
  23257. "enumdicname": {
  23258. "description": "现货商品单位名称",
  23259. "type": "string"
  23260. },
  23261. "gbenumdicname": {
  23262. "description": "品类单位名称",
  23263. "type": "string"
  23264. },
  23265. "gmunitid": {
  23266. "description": "品类单位id",
  23267. "type": "integer"
  23268. },
  23269. "logid": {
  23270. "description": "日志id",
  23271. "type": "integer"
  23272. },
  23273. "operateid": {
  23274. "description": "最后操作人",
  23275. "type": "integer"
  23276. },
  23277. "operatesrc": {
  23278. "description": "最后操作来源 - 1:管理端 2:终端",
  23279. "type": "integer"
  23280. },
  23281. "operatetime": {
  23282. "description": "最后操作时间",
  23283. "type": "string"
  23284. },
  23285. "operatorname": {
  23286. "description": "操作人名称",
  23287. "type": "string"
  23288. },
  23289. "spotgoodsbrandid": {
  23290. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23291. "type": "integer"
  23292. },
  23293. "spotgoodsprice": {
  23294. "description": "现货价格",
  23295. "type": "number"
  23296. },
  23297. "tradedate": {
  23298. "description": "交易日(yyyyMMdd)",
  23299. "type": "string"
  23300. },
  23301. "unitid": {
  23302. "description": "现货商品单位id",
  23303. "type": "integer"
  23304. },
  23305. "wrstandardcode": {
  23306. "description": "品类代码",
  23307. "type": "string"
  23308. },
  23309. "wrstandardid": {
  23310. "description": "现货品类ID(通用则为0)",
  23311. "type": "integer"
  23312. },
  23313. "wrstandardname": {
  23314. "description": "品类名称",
  23315. "type": "string"
  23316. }
  23317. }
  23318. },
  23319. "models.Ermcp3SubTaaccount": {
  23320. "type": "object",
  23321. "properties": {
  23322. "accountid": {
  23323. "description": "资金账户ID",
  23324. "type": "integer"
  23325. },
  23326. "parentaccountcode": {
  23327. "description": "所属根账号代码(母账号代码)",
  23328. "type": "string"
  23329. },
  23330. "parentaccountid": {
  23331. "description": "所属根账号(母账号)",
  23332. "type": "integer"
  23333. },
  23334. "taname": {
  23335. "description": "资金账号名称",
  23336. "type": "string"
  23337. },
  23338. "tradestatus": {
  23339. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23340. "type": "integer"
  23341. },
  23342. "username": {
  23343. "description": "交易用户",
  23344. "type": "string"
  23345. }
  23346. }
  23347. },
  23348. "models.Ermcp3TaFutuReDataReport": {
  23349. "type": "object",
  23350. "properties": {
  23351. "accountid": {
  23352. "description": "交易账户",
  23353. "type": "integer"
  23354. },
  23355. "accountname": {
  23356. "description": "交易账号名称",
  23357. "type": "string"
  23358. },
  23359. "agreeunit": {
  23360. "description": "商品合约单位",
  23361. "type": "number"
  23362. },
  23363. "begindate": {
  23364. "description": "开始交易日",
  23365. "type": "string"
  23366. },
  23367. "buyorsell": {
  23368. "description": "持仓方向",
  23369. "type": "integer"
  23370. },
  23371. "charge": {
  23372. "description": "手续费",
  23373. "type": "number"
  23374. },
  23375. "closeavgprice": {
  23376. "description": "期初均价",
  23377. "type": "number"
  23378. },
  23379. "closepl": {
  23380. "description": "平仓损益",
  23381. "type": "number"
  23382. },
  23383. "currencyid": {
  23384. "description": "结算币种ID",
  23385. "type": "integer"
  23386. },
  23387. "currencyname": {
  23388. "description": "币种名称",
  23389. "type": "string"
  23390. },
  23391. "cycletime": {
  23392. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23393. "type": "string"
  23394. },
  23395. "cycletype": {
  23396. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23397. "type": "integer"
  23398. },
  23399. "enddate": {
  23400. "description": "结束交易日",
  23401. "type": "string"
  23402. },
  23403. "enumdicname": {
  23404. "description": "单位名称",
  23405. "type": "string"
  23406. },
  23407. "floatpl": {
  23408. "description": "浮动损益",
  23409. "type": "number"
  23410. },
  23411. "goodscode": {
  23412. "description": "交易合约代码",
  23413. "type": "string"
  23414. },
  23415. "goodsgroupid": {
  23416. "description": "交易品种",
  23417. "type": "integer"
  23418. },
  23419. "goodsgroupname": {
  23420. "description": "交易品种名称",
  23421. "type": "string"
  23422. },
  23423. "goodsgroupspotqty": {
  23424. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23425. "type": "number"
  23426. },
  23427. "goodsid": {
  23428. "description": "交易合约",
  23429. "type": "integer"
  23430. },
  23431. "goodsname": {
  23432. "description": "交易合约名称",
  23433. "type": "string"
  23434. },
  23435. "goodunitid": {
  23436. "description": "交易合约单位id",
  23437. "type": "integer"
  23438. },
  23439. "holdamount": {
  23440. "description": "期末持仓额",
  23441. "type": "number"
  23442. },
  23443. "holdqty": {
  23444. "description": "期初均价",
  23445. "type": "number"
  23446. },
  23447. "lastholdamount": {
  23448. "description": "当前持仓额",
  23449. "type": "number"
  23450. },
  23451. "lastprice": {
  23452. "description": "最新价",
  23453. "type": "number"
  23454. },
  23455. "middlegoodsid": {
  23456. "description": "套保品种id",
  23457. "type": "integer"
  23458. },
  23459. "middlegoodsname": {
  23460. "description": "套保商品名称",
  23461. "type": "string"
  23462. },
  23463. "middlegoodsqty": {
  23464. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23465. "type": "number"
  23466. },
  23467. "middlgoodscode": {
  23468. "description": "套保商品代码",
  23469. "type": "string"
  23470. },
  23471. "openamount": {
  23472. "description": "期末开仓额",
  23473. "type": "number"
  23474. },
  23475. "openavgprice": {
  23476. "description": "期初均价",
  23477. "type": "number"
  23478. },
  23479. "oriholdamount": {
  23480. "description": "期初持仓额",
  23481. "type": "number"
  23482. },
  23483. "oriholdqty": {
  23484. "description": "期初均价",
  23485. "type": "number"
  23486. },
  23487. "oriopenamount": {
  23488. "description": "期初开仓额",
  23489. "type": "number"
  23490. },
  23491. "outergroupcode": {
  23492. "description": "交易品种代码",
  23493. "type": "string"
  23494. },
  23495. "qtydecimalplace": {
  23496. "description": "成交量小数位",
  23497. "type": "integer"
  23498. },
  23499. "reckondate": {
  23500. "description": "日照时期(yyyyMMdd)",
  23501. "type": "string"
  23502. },
  23503. "reckonholdamount": {
  23504. "description": "结算持仓额",
  23505. "type": "number"
  23506. },
  23507. "reckonpl": {
  23508. "description": "结算损益",
  23509. "type": "number"
  23510. },
  23511. "reckonpl2": {
  23512. "description": "结算逐笔盈亏",
  23513. "type": "number"
  23514. },
  23515. "reckonprice": {
  23516. "description": "结算价",
  23517. "type": "number"
  23518. },
  23519. "relateduserid": {
  23520. "description": "账户关联用户ID",
  23521. "type": "integer"
  23522. },
  23523. "todaycloseamount": {
  23524. "description": "今平仓额",
  23525. "type": "number"
  23526. },
  23527. "todaycloseqty": {
  23528. "description": "期初均价",
  23529. "type": "number"
  23530. },
  23531. "todaygoodsgroupspotqty": {
  23532. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23533. "type": "number"
  23534. },
  23535. "todaymiddlegoodsqty": {
  23536. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23537. "type": "number"
  23538. },
  23539. "todayopenamount": {
  23540. "description": "今开仓额",
  23541. "type": "number"
  23542. },
  23543. "todayopenqty": {
  23544. "description": "期初均价",
  23545. "type": "number"
  23546. },
  23547. "userid": {
  23548. "description": "账户所属用户ID",
  23549. "type": "integer"
  23550. }
  23551. }
  23552. },
  23553. "models.Ermcp3TradeLinkDetail": {
  23554. "type": "object",
  23555. "properties": {
  23556. "accountid": {
  23557. "description": "资金账号",
  23558. "type": "integer"
  23559. },
  23560. "agreeunit": {
  23561. "description": "合约乘数",
  23562. "type": "number"
  23563. },
  23564. "areauserid": {
  23565. "description": "所属机构",
  23566. "type": "string"
  23567. },
  23568. "bizsubjectid": {
  23569. "description": "归属业务部门ID - SubjectID",
  23570. "type": "string"
  23571. },
  23572. "buyorsell": {
  23573. "description": "方向 - 0:买 1:卖",
  23574. "type": "integer"
  23575. },
  23576. "channelbuildtype": {
  23577. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23578. "type": "integer"
  23579. },
  23580. "contractno": {
  23581. "description": "现货编号 (合同编号)",
  23582. "type": "string"
  23583. },
  23584. "convertratio": {
  23585. "description": "折算系数",
  23586. "type": "number"
  23587. },
  23588. "createtime": {
  23589. "description": "关联时间 | 创建时间",
  23590. "type": "string"
  23591. },
  23592. "creatorid": {
  23593. "description": "创建人ID",
  23594. "type": "string"
  23595. },
  23596. "creatorsrc": {
  23597. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23598. "type": "integer"
  23599. },
  23600. "enumdicname": {
  23601. "description": "单位名称",
  23602. "type": "string"
  23603. },
  23604. "goodscode": {
  23605. "description": "合约代码",
  23606. "type": "string"
  23607. },
  23608. "goodsgroupid": {
  23609. "description": "对冲品种ID[期货合约商品组ID]",
  23610. "type": "integer"
  23611. },
  23612. "goodsid": {
  23613. "description": "商品ID",
  23614. "type": "integer"
  23615. },
  23616. "goodsname": {
  23617. "description": "合约名称",
  23618. "type": "string"
  23619. },
  23620. "hedgeflag": {
  23621. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23622. "type": "integer"
  23623. },
  23624. "linkdetailid": {
  23625. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23626. "type": "string"
  23627. },
  23628. "linkstatus": {
  23629. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23630. "type": "integer"
  23631. },
  23632. "middlegoodscode": {
  23633. "description": "套保品种代码",
  23634. "type": "string"
  23635. },
  23636. "middlegoodsid": {
  23637. "description": "套保品种ID",
  23638. "type": "integer"
  23639. },
  23640. "middlegoodsname": {
  23641. "description": "套保品种名称",
  23642. "type": "string"
  23643. },
  23644. "relatedlot": {
  23645. "description": "关联手数",
  23646. "type": "number"
  23647. },
  23648. "relatedmode": {
  23649. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23650. "type": "integer"
  23651. },
  23652. "relatedqty": {
  23653. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23654. "type": "number"
  23655. },
  23656. "retcode": {
  23657. "description": "返回码",
  23658. "type": "integer"
  23659. },
  23660. "saleuserid": {
  23661. "description": "业务员ID",
  23662. "type": "string"
  23663. },
  23664. "spotcontractid": {
  23665. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23666. "type": "string"
  23667. },
  23668. "taname": {
  23669. "description": "期货账户",
  23670. "type": "string"
  23671. },
  23672. "tradedate": {
  23673. "description": "关联交易日(yyyyMMdd)",
  23674. "type": "string"
  23675. },
  23676. "tradeid": {
  23677. "description": "期货订单号 | 内部成交单ID",
  23678. "type": "string"
  23679. },
  23680. "tradelot": {
  23681. "description": "成交数量 | 成交手数",
  23682. "type": "integer"
  23683. },
  23684. "tradeprice": {
  23685. "description": "成交价格",
  23686. "type": "number"
  23687. },
  23688. "tradetime": {
  23689. "description": "期货成交时间",
  23690. "type": "string"
  23691. },
  23692. "tradetradedate": {
  23693. "description": "成交交易日(yyyyMMdd)",
  23694. "type": "string"
  23695. },
  23696. "username": {
  23697. "description": "用户名称",
  23698. "type": "string"
  23699. }
  23700. }
  23701. },
  23702. "models.Ermcp3Wrstandard": {
  23703. "type": "object",
  23704. "properties": {
  23705. "areauserid": {
  23706. "description": "所属机构",
  23707. "type": "integer"
  23708. },
  23709. "cantrade": {
  23710. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23711. "type": "integer"
  23712. },
  23713. "convertfactor": {
  23714. "description": "标仓系数",
  23715. "type": "number"
  23716. },
  23717. "createtime": {
  23718. "description": "创建时间",
  23719. "type": "string"
  23720. },
  23721. "creatorid": {
  23722. "description": "创建人",
  23723. "type": "integer"
  23724. },
  23725. "deliverygoodsid": {
  23726. "description": "现货品种ID",
  23727. "type": "integer"
  23728. },
  23729. "enumdicname": {
  23730. "description": "品类单位名称",
  23731. "type": "string"
  23732. },
  23733. "isvalid": {
  23734. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23735. "type": "integer"
  23736. },
  23737. "minivalue": {
  23738. "description": "最小变动值",
  23739. "type": "integer"
  23740. },
  23741. "minivaluedp": {
  23742. "description": "最小变动值小数位",
  23743. "type": "integer"
  23744. },
  23745. "realminivalue": {
  23746. "description": "实际最小变动值",
  23747. "type": "integer"
  23748. },
  23749. "realminivaluedp": {
  23750. "description": "实际最小变动值小数位",
  23751. "type": "integer"
  23752. },
  23753. "remark": {
  23754. "description": "备注",
  23755. "type": "string"
  23756. },
  23757. "unitid": {
  23758. "description": "品类单位ID",
  23759. "type": "integer"
  23760. },
  23761. "updatetime": {
  23762. "description": "更新时间",
  23763. "type": "string"
  23764. },
  23765. "wrstandardcode": {
  23766. "description": "品类代码",
  23767. "type": "string"
  23768. },
  23769. "wrstandardid": {
  23770. "description": "品类ID(SEQ_WRSTANDARD)",
  23771. "type": "integer"
  23772. },
  23773. "wrstandardname": {
  23774. "description": "品类名称",
  23775. "type": "string"
  23776. }
  23777. }
  23778. },
  23779. "models.Ermcp8EnableHedgeditem": {
  23780. "type": "object",
  23781. "properties": {
  23782. "accountname": {
  23783. "description": "套期主体",
  23784. "type": "string"
  23785. },
  23786. "hedgeditemid": {
  23787. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23788. "type": "string"
  23789. },
  23790. "hedgeditemname": {
  23791. "description": "项目名称",
  23792. "type": "string"
  23793. },
  23794. "hedgeditemnum": {
  23795. "description": "项目编号",
  23796. "type": "string"
  23797. },
  23798. "hedgedtype": {
  23799. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23800. "type": "integer"
  23801. },
  23802. "planenddate": {
  23803. "description": "计划结束日期",
  23804. "type": "string"
  23805. },
  23806. "planstartdate": {
  23807. "description": "计划开始日期",
  23808. "type": "string"
  23809. },
  23810. "wrstandardid": {
  23811. "description": "现货商品ID",
  23812. "type": "integer"
  23813. },
  23814. "wrstandardname": {
  23815. "description": "现货商品",
  23816. "type": "string"
  23817. }
  23818. }
  23819. },
  23820. "models.Ermcp8HedgeditemReport": {
  23821. "type": "object",
  23822. "properties": {
  23823. "accountname": {
  23824. "description": "套期主体",
  23825. "type": "string"
  23826. },
  23827. "areauserid": {
  23828. "description": "企业ID",
  23829. "type": "integer"
  23830. },
  23831. "curprice": {
  23832. "description": "[当日现货市场价]当前市场价",
  23833. "type": "number"
  23834. },
  23835. "enumdicname": {
  23836. "description": "单位",
  23837. "type": "string"
  23838. },
  23839. "exeamount": {
  23840. "description": "[执行现货金额]执行市价总额",
  23841. "type": "number"
  23842. },
  23843. "exeavgprice": {
  23844. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  23845. "type": "number"
  23846. },
  23847. "exeqty": {
  23848. "description": "[执行数量]执行现货量",
  23849. "type": "number"
  23850. },
  23851. "futurehedgepl": {
  23852. "description": "期货实际损益",
  23853. "type": "number"
  23854. },
  23855. "futurehedgeplchange": {
  23856. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  23857. "type": "number"
  23858. },
  23859. "futurepl": {
  23860. "description": "期货套期损益",
  23861. "type": "number"
  23862. },
  23863. "futureplchange": {
  23864. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  23865. "type": "number"
  23866. },
  23867. "hedgeamount": {
  23868. "description": "[套期现货金额]套期市价总额",
  23869. "type": "number"
  23870. },
  23871. "hedgeditemnum": {
  23872. "description": "项目编号,模糊查询",
  23873. "type": "string"
  23874. },
  23875. "hedgeditemstatus": {
  23876. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23877. "type": "integer"
  23878. },
  23879. "hedgedtype": {
  23880. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23881. "type": "integer"
  23882. },
  23883. "hedgeqty": {
  23884. "description": "[套期数量]套期现货量",
  23885. "type": "number"
  23886. },
  23887. "oriavgprice": {
  23888. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  23889. "type": "number"
  23890. },
  23891. "orifuturehedgepl": {
  23892. "description": "期初期货实际损益",
  23893. "type": "number"
  23894. },
  23895. "orifuturepl": {
  23896. "description": "期初期货套期损益",
  23897. "type": "number"
  23898. },
  23899. "orispothedgepl": {
  23900. "description": "期初现货实际损益",
  23901. "type": "number"
  23902. },
  23903. "orispotpl": {
  23904. "description": "期初现货套期损益",
  23905. "type": "number"
  23906. },
  23907. "planenddate": {
  23908. "description": "计划结束日期",
  23909. "type": "string"
  23910. },
  23911. "planstartdate": {
  23912. "description": "计划开始日期",
  23913. "type": "string"
  23914. },
  23915. "spothedgepl": {
  23916. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23917. "type": "number"
  23918. },
  23919. "spothedgeplchange": {
  23920. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  23921. "type": "number"
  23922. },
  23923. "spotpl": {
  23924. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  23925. "type": "number"
  23926. },
  23927. "spotplchange": {
  23928. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  23929. "type": "number"
  23930. },
  23931. "tradeuserid": {
  23932. "description": "交易用户ID",
  23933. "type": "integer"
  23934. },
  23935. "unexeqty": {
  23936. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23937. "type": "number"
  23938. },
  23939. "wrstandardcode": {
  23940. "description": "现货品类代码",
  23941. "type": "string"
  23942. },
  23943. "wrstandardid": {
  23944. "description": "现货商品ID",
  23945. "type": "integer"
  23946. },
  23947. "wrstandardname": {
  23948. "description": "[现货商品]现货品类名称",
  23949. "type": "string"
  23950. }
  23951. }
  23952. },
  23953. "models.Ermcp8RunningHedgeditem": {
  23954. "type": "object",
  23955. "properties": {
  23956. "accountname": {
  23957. "description": "套期主体",
  23958. "type": "string"
  23959. },
  23960. "applyid": {
  23961. "description": "申请人",
  23962. "type": "integer"
  23963. },
  23964. "applysrc": {
  23965. "description": "申请来源 - 1:管理端 2:终端",
  23966. "type": "integer"
  23967. },
  23968. "areauserid": {
  23969. "description": "企业ID",
  23970. "type": "integer"
  23971. },
  23972. "auditid": {
  23973. "description": "审核人",
  23974. "type": "integer"
  23975. },
  23976. "auditremark": {
  23977. "description": "审核备注",
  23978. "type": "string"
  23979. },
  23980. "auditsrc": {
  23981. "description": "审核来源 - 1:管理端 2:终端",
  23982. "type": "integer"
  23983. },
  23984. "audittime": {
  23985. "description": "审核时间",
  23986. "type": "string"
  23987. },
  23988. "audittradedate": {
  23989. "description": "审核交易日(yyyyMMdd)",
  23990. "type": "string"
  23991. },
  23992. "createtime": {
  23993. "description": "申请时间",
  23994. "type": "string"
  23995. },
  23996. "curprice": {
  23997. "description": "当前市场价",
  23998. "type": "number"
  23999. },
  24000. "curstock": {
  24001. "description": "期末库存量 = 采购总量 - 销售总量",
  24002. "type": "number"
  24003. },
  24004. "deliverygoodsid": {
  24005. "description": "现货品种ID",
  24006. "type": "integer"
  24007. },
  24008. "enddate": {
  24009. "description": "完成日期",
  24010. "type": "string"
  24011. },
  24012. "endtradedate": {
  24013. "description": "完成交易日",
  24014. "type": "string"
  24015. },
  24016. "enumdicname": {
  24017. "description": "单位",
  24018. "type": "string"
  24019. },
  24020. "exeamount": {
  24021. "description": "执行市价总额",
  24022. "type": "number"
  24023. },
  24024. "exeavgprice": {
  24025. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  24026. "type": "number"
  24027. },
  24028. "execontractamount": {
  24029. "description": "执行定价总额",
  24030. "type": "number"
  24031. },
  24032. "exeqty": {
  24033. "description": "执行现货量",
  24034. "type": "number"
  24035. },
  24036. "exerestamount": {
  24037. "description": "执行剩余市价总额【现货贸易】",
  24038. "type": "number"
  24039. },
  24040. "futurefloatpl": {
  24041. "description": "期货浮动损益",
  24042. "type": "number"
  24043. },
  24044. "futurehedgepl": {
  24045. "description": "期货实际损益",
  24046. "type": "number"
  24047. },
  24048. "futurehedgeplchange": {
  24049. "description": "期货实际损益变动",
  24050. "type": "number"
  24051. },
  24052. "futurepl": {
  24053. "description": "期货套期损益",
  24054. "type": "number"
  24055. },
  24056. "futureplchange": {
  24057. "description": "期货套期损益变动",
  24058. "type": "number"
  24059. },
  24060. "hedgeamount": {
  24061. "description": "套期市价总额",
  24062. "type": "number"
  24063. },
  24064. "hedgecontractamount": {
  24065. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  24066. "type": "number"
  24067. },
  24068. "hedgeditemid": {
  24069. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  24070. "type": "string"
  24071. },
  24072. "hedgeditemname": {
  24073. "description": "项目名称",
  24074. "type": "string"
  24075. },
  24076. "hedgeditemnum": {
  24077. "description": "项目编号",
  24078. "type": "string"
  24079. },
  24080. "hedgeditemstatus": {
  24081. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24082. "type": "integer"
  24083. },
  24084. "hedgedtype": {
  24085. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  24086. "type": "integer"
  24087. },
  24088. "hedgeqty": {
  24089. "description": "套期现货量",
  24090. "type": "number"
  24091. },
  24092. "hedgerate": {
  24093. "description": "套保比率",
  24094. "type": "number"
  24095. },
  24096. "hedgerestamount": {
  24097. "description": "套期剩余市价总额【现货贸易】",
  24098. "type": "number"
  24099. },
  24100. "hedgesumpl": {
  24101. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  24102. "type": "number"
  24103. },
  24104. "middlegoodslist": {
  24105. "description": "套期商品列表",
  24106. "type": "array",
  24107. "items": {
  24108. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  24109. }
  24110. },
  24111. "oriavgprice": {
  24112. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  24113. "type": "number"
  24114. },
  24115. "orifuturehedgepl": {
  24116. "description": "期初期货实际损益",
  24117. "type": "number"
  24118. },
  24119. "orifuturepl": {
  24120. "description": "期初期货套期损益",
  24121. "type": "number"
  24122. },
  24123. "orispothedgepl": {
  24124. "description": "期初现货实际损益",
  24125. "type": "number"
  24126. },
  24127. "orispotpl": {
  24128. "description": "期初现货套期损益",
  24129. "type": "number"
  24130. },
  24131. "planenddate": {
  24132. "description": "计划结束日期",
  24133. "type": "string"
  24134. },
  24135. "planstartdate": {
  24136. "description": "计划开始日期",
  24137. "type": "string"
  24138. },
  24139. "remark": {
  24140. "description": "备注",
  24141. "type": "string"
  24142. },
  24143. "spotbookamount": {
  24144. "description": "现货账面总额",
  24145. "type": "number"
  24146. },
  24147. "spotfloatpl": {
  24148. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24149. "type": "number"
  24150. },
  24151. "spothedgepl": {
  24152. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24153. "type": "number"
  24154. },
  24155. "spothedgeplchange": {
  24156. "description": "现货实际损益变动",
  24157. "type": "number"
  24158. },
  24159. "spotpl": {
  24160. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  24161. "type": "number"
  24162. },
  24163. "spotplchange": {
  24164. "description": "现货套期损益变动",
  24165. "type": "number"
  24166. },
  24167. "spottradepl": {
  24168. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  24169. "type": "number"
  24170. },
  24171. "sumobspl": {
  24172. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  24173. "type": "number"
  24174. },
  24175. "tradeuserid": {
  24176. "description": "交易用户ID",
  24177. "type": "integer"
  24178. },
  24179. "unexeqty": {
  24180. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  24181. "type": "number"
  24182. },
  24183. "updatetime": {
  24184. "description": "更新时间",
  24185. "type": "string"
  24186. },
  24187. "vatpl": {
  24188. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  24189. "type": "number"
  24190. },
  24191. "vatrate": {
  24192. "description": "增值税",
  24193. "type": "number"
  24194. },
  24195. "wrstandardid": {
  24196. "description": "现货商品ID",
  24197. "type": "integer"
  24198. },
  24199. "wrstandardname": {
  24200. "description": "商品名称",
  24201. "type": "string"
  24202. }
  24203. }
  24204. },
  24205. "models.ErmcpBizGroupEx": {
  24206. "type": "object",
  24207. "properties": {
  24208. "acclist": {
  24209. "description": "账号列表",
  24210. "type": "array",
  24211. "items": {
  24212. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  24213. }
  24214. },
  24215. "bizgroupid": {
  24216. "description": "业务分组id",
  24217. "type": "integer"
  24218. },
  24219. "biztype": {
  24220. "description": "业务类型 1-套保 2-套利",
  24221. "type": "integer"
  24222. },
  24223. "wrlist": {
  24224. "description": "现货商品表",
  24225. "type": "array",
  24226. "items": {
  24227. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  24228. }
  24229. }
  24230. }
  24231. },
  24232. "models.ErmcpBizGroupSpotGoods": {
  24233. "type": "object",
  24234. "properties": {
  24235. "areauserid": {
  24236. "description": "所属机构id",
  24237. "type": "integer"
  24238. },
  24239. "bizgroupid": {
  24240. "description": "分组id",
  24241. "type": "integer"
  24242. },
  24243. "biztype": {
  24244. "description": "业务类型 1-套保 2-套利",
  24245. "type": "integer"
  24246. },
  24247. "deliverygoodscode": {
  24248. "description": "现货商品代码",
  24249. "type": "string"
  24250. },
  24251. "deliverygoodsid": {
  24252. "description": "现货商品id",
  24253. "type": "integer"
  24254. },
  24255. "deliverygoodsname": {
  24256. "description": "现货商品名称",
  24257. "type": "string"
  24258. },
  24259. "unitid": {
  24260. "description": "现货商品单位id",
  24261. "type": "integer"
  24262. }
  24263. }
  24264. },
  24265. "models.ErmcpBizGroupTaAccount": {
  24266. "type": "object",
  24267. "properties": {
  24268. "accountid": {
  24269. "description": "账号id",
  24270. "type": "integer"
  24271. },
  24272. "accountname": {
  24273. "description": "账号名称",
  24274. "type": "string"
  24275. },
  24276. "areauserid": {
  24277. "description": "所属机构id",
  24278. "type": "integer"
  24279. },
  24280. "bizgroupid": {
  24281. "description": "业务分组id",
  24282. "type": "integer"
  24283. },
  24284. "ismain": {
  24285. "description": "是否主账号 1-是 0-否",
  24286. "type": "integer"
  24287. }
  24288. }
  24289. },
  24290. "models.ErmcpDGFactoryItem": {
  24291. "type": "object",
  24292. "properties": {
  24293. "areauserid": {
  24294. "description": "用户id",
  24295. "type": "integer"
  24296. },
  24297. "deliverygoodsid": {
  24298. "description": "现货品种ID",
  24299. "type": "integer"
  24300. },
  24301. "dgfactoryitemid": {
  24302. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24303. "type": "integer"
  24304. },
  24305. "dgfactoryitemtypeid": {
  24306. "description": "要素项类型",
  24307. "type": "integer"
  24308. },
  24309. "dgfactoryitemvalue": {
  24310. "description": "要素项值(类型为仓库时填写仓库名称)",
  24311. "type": "string"
  24312. },
  24313. "isvalid": {
  24314. "description": "是否有效 - 0:无效 1:有效",
  24315. "type": "integer"
  24316. },
  24317. "orderindex": {
  24318. "description": "顺序",
  24319. "type": "integer"
  24320. },
  24321. "warehouseid": {
  24322. "description": "仓库ID(类型为仓库时填写)",
  24323. "type": "integer"
  24324. }
  24325. }
  24326. },
  24327. "models.ErmcpDeliveryGoods": {
  24328. "type": "object",
  24329. "properties": {
  24330. "agreeunit": {
  24331. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  24332. "type": "integer"
  24333. },
  24334. "areauserid": {
  24335. "description": "所属机构",
  24336. "type": "integer"
  24337. },
  24338. "auditflag": {
  24339. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  24340. "type": "integer"
  24341. },
  24342. "categoryid": {
  24343. "description": "类别ID(SEQ_WRCATEGORY)",
  24344. "type": "integer"
  24345. },
  24346. "deliverygoodscode": {
  24347. "description": "现货品种代码",
  24348. "type": "string"
  24349. },
  24350. "deliverygoodsid": {
  24351. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  24352. "type": "integer"
  24353. },
  24354. "deliverygoodsname": {
  24355. "description": "现货品种名称",
  24356. "type": "string"
  24357. },
  24358. "deliverygoodstype": {
  24359. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24360. "type": "integer"
  24361. },
  24362. "dgstatus": {
  24363. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24364. "type": "integer"
  24365. },
  24366. "enumdicname": {
  24367. "description": "现货品种单位名称",
  24368. "type": "string"
  24369. },
  24370. "goodsunitid": {
  24371. "description": "现货品种单位ID",
  24372. "type": "integer"
  24373. },
  24374. "isvalid": {
  24375. "description": "是否有效 - 0:无效 1:有效",
  24376. "type": "integer"
  24377. },
  24378. "qtydecimalplace": {
  24379. "description": "成交量小数位",
  24380. "type": "integer"
  24381. },
  24382. "remark": {
  24383. "description": "备注",
  24384. "type": "string"
  24385. },
  24386. "standardqty": {
  24387. "description": "标准数量(库位数量) [标准品特有]",
  24388. "type": "integer"
  24389. },
  24390. "standardqtyrange": {
  24391. "description": "标准数量偏差范围 [标准品特有]",
  24392. "type": "integer"
  24393. }
  24394. }
  24395. },
  24396. "models.ErmcpFuturesCompany": {
  24397. "type": "object",
  24398. "properties": {
  24399. "brokerid": {
  24400. "description": "经纪公司代码",
  24401. "type": "string"
  24402. },
  24403. "channeladdress": {
  24404. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24405. "type": "string"
  24406. },
  24407. "channelid": {
  24408. "description": "对冲渠道ID",
  24409. "type": "string"
  24410. },
  24411. "createtime": {
  24412. "description": "创建时间",
  24413. "type": "string"
  24414. },
  24415. "creatorid": {
  24416. "description": "创建人",
  24417. "type": "string"
  24418. },
  24419. "fcid": {
  24420. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24421. "type": "integer"
  24422. },
  24423. "fcname": {
  24424. "description": "期货公司名称",
  24425. "type": "string"
  24426. },
  24427. "isvalid": {
  24428. "description": "是否有效 - 0:无效 1:有效",
  24429. "type": "integer"
  24430. },
  24431. "mhpaddress": {
  24432. "description": "MHP服务地址(IP:Port)",
  24433. "type": "string"
  24434. },
  24435. "riskrulegroupid": {
  24436. "description": "风控规则组ID",
  24437. "type": "string"
  24438. },
  24439. "tradefeetmpid": {
  24440. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24441. "type": "string"
  24442. },
  24443. "trademargintmpid": {
  24444. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24445. "type": "string"
  24446. },
  24447. "traderatetmpid": {
  24448. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24449. "type": "string"
  24450. },
  24451. "updatetime": {
  24452. "description": "更新时间",
  24453. "type": "string"
  24454. },
  24455. "updatorid": {
  24456. "description": "更新人",
  24457. "type": "string"
  24458. }
  24459. }
  24460. },
  24461. "models.ErmcpGGConvertCfg": {
  24462. "type": "object",
  24463. "properties": {
  24464. "convertratio": {
  24465. "description": "折算系数",
  24466. "type": "number"
  24467. },
  24468. "destgoodsgroupid": {
  24469. "description": "目标品种ID",
  24470. "type": "integer"
  24471. },
  24472. "dstcode": {
  24473. "description": "目录品种代码",
  24474. "type": "string"
  24475. },
  24476. "dstexchangecode": {
  24477. "description": "目标期货交易所",
  24478. "type": "string"
  24479. },
  24480. "dstname": {
  24481. "description": "目标品种名称",
  24482. "type": "string"
  24483. },
  24484. "dstunitid": {
  24485. "description": "目标品种单位ID",
  24486. "type": "integer"
  24487. },
  24488. "dstunitidname": {
  24489. "description": "目标品种单位名称",
  24490. "type": "string"
  24491. },
  24492. "modifytime": {
  24493. "description": "修改时间",
  24494. "type": "string"
  24495. },
  24496. "srccode": {
  24497. "description": "源品种代码",
  24498. "type": "string"
  24499. },
  24500. "srcexchangecode": {
  24501. "description": "源期货交易所",
  24502. "type": "string"
  24503. },
  24504. "srcgoodsgroupid": {
  24505. "description": "源品种ID",
  24506. "type": "integer"
  24507. },
  24508. "srcname": {
  24509. "description": "源品种名称",
  24510. "type": "string"
  24511. },
  24512. "srcunitid": {
  24513. "description": "源品种单位ID",
  24514. "type": "integer"
  24515. },
  24516. "srcunitidname": {
  24517. "description": "源品种单位名称",
  24518. "type": "string"
  24519. }
  24520. }
  24521. },
  24522. "models.ErmcpGoods": {
  24523. "type": "object",
  24524. "required": [
  24525. "goodscode",
  24526. "goodsid",
  24527. "goodsname",
  24528. "marketid"
  24529. ],
  24530. "properties": {
  24531. "agreeunit": {
  24532. "description": "合约单位",
  24533. "type": "number"
  24534. },
  24535. "areauserid": {
  24536. "description": "所属机构",
  24537. "type": "integer"
  24538. },
  24539. "auditaccountid": {
  24540. "description": "审核操作员账号",
  24541. "type": "integer"
  24542. },
  24543. "audittime": {
  24544. "description": "审核时间",
  24545. "type": "string"
  24546. },
  24547. "cancelaccountid": {
  24548. "description": "注销操作员账号",
  24549. "type": "integer"
  24550. },
  24551. "canceltime": {
  24552. "description": "注销时间",
  24553. "type": "string"
  24554. },
  24555. "closepricemode": {
  24556. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24557. "type": "integer"
  24558. },
  24559. "closepriceparam": {
  24560. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24561. "type": "number"
  24562. },
  24563. "createtime": {
  24564. "description": "创建时间",
  24565. "type": "string"
  24566. },
  24567. "creatorid": {
  24568. "description": "创建人",
  24569. "type": "integer"
  24570. },
  24571. "currencyid": {
  24572. "description": "报价货币ID",
  24573. "type": "integer"
  24574. },
  24575. "cutmode": {
  24576. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24577. "type": "integer"
  24578. },
  24579. "decimalplace": {
  24580. "description": "报价小数位",
  24581. "type": "integer"
  24582. },
  24583. "delistingdate": {
  24584. "description": "商品退市时间(状态:退市) -- 已作废",
  24585. "type": "string"
  24586. },
  24587. "delistingmode": {
  24588. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24589. "type": "integer"
  24590. },
  24591. "deliveryflag": {
  24592. "description": "交割标志 - 0:不可交割 1:可交割",
  24593. "type": "integer"
  24594. },
  24595. "enumdicname": {
  24596. "description": "单位名称",
  24597. "type": "string"
  24598. },
  24599. "forceclosemode": {
  24600. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24601. "type": "integer"
  24602. },
  24603. "forceclosevalue": {
  24604. "description": "定期强平参数 [收益权]",
  24605. "type": "integer"
  24606. },
  24607. "goodscode": {
  24608. "description": "商品代码(内部)",
  24609. "type": "string"
  24610. },
  24611. "goodscurrencyid": {
  24612. "description": "合约货币ID",
  24613. "type": "integer"
  24614. },
  24615. "goodsgroupid": {
  24616. "description": "所属商品组ID",
  24617. "type": "integer"
  24618. },
  24619. "goodsid": {
  24620. "description": "商品ID(自增ID SEQ_GOODS)",
  24621. "type": "integer"
  24622. },
  24623. "goodsname": {
  24624. "description": "商品名称",
  24625. "type": "string"
  24626. },
  24627. "goodsquotetype": {
  24628. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24629. "type": "integer"
  24630. },
  24631. "goodsstatus": {
  24632. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24633. "type": "integer"
  24634. },
  24635. "goodstradetype": {
  24636. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24637. "type": "integer"
  24638. },
  24639. "goodunitid": {
  24640. "description": "报价单位ID",
  24641. "type": "integer"
  24642. },
  24643. "hasquoter": {
  24644. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24645. "type": "integer"
  24646. },
  24647. "hqprotecttime": {
  24648. "description": "行情保护时间(秒)",
  24649. "type": "integer"
  24650. },
  24651. "innerdealmode": {
  24652. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24653. "type": "integer"
  24654. },
  24655. "isbuylimited": {
  24656. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24657. "type": "integer"
  24658. },
  24659. "isvisible": {
  24660. "description": "游客是否可见 - 0:不可见 1:可见",
  24661. "type": "integer"
  24662. },
  24663. "lasttradedate": {
  24664. "description": "最后交易日期(状态:待退市)",
  24665. "type": "string"
  24666. },
  24667. "listingdate": {
  24668. "description": "交易开始日期",
  24669. "type": "string"
  24670. },
  24671. "marketid": {
  24672. "description": "所属市场ID",
  24673. "type": "integer"
  24674. },
  24675. "modifierid": {
  24676. "description": "修改人",
  24677. "type": "integer"
  24678. },
  24679. "modifystatus": {
  24680. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24681. "type": "integer"
  24682. },
  24683. "modifytime": {
  24684. "description": "修改时间",
  24685. "type": "string"
  24686. },
  24687. "outerdealmode": {
  24688. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24689. "type": "integer"
  24690. },
  24691. "outgoodscode": {
  24692. "description": "商品代码(外部)",
  24693. "type": "string"
  24694. },
  24695. "pictureurl": {
  24696. "description": "商品图片",
  24697. "type": "string"
  24698. },
  24699. "qtydecimalplace": {
  24700. "description": "成交量小数位",
  24701. "type": "integer"
  24702. },
  24703. "quotegear": {
  24704. "description": "行情档位(1-10)",
  24705. "type": "integer"
  24706. },
  24707. "quoteminunit": {
  24708. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24709. "type": "integer"
  24710. },
  24711. "quoteshowtype": {
  24712. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24713. "type": "integer"
  24714. },
  24715. "quoteshowtypeinterval": {
  24716. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24717. "type": "integer"
  24718. },
  24719. "relatedgoodsid": {
  24720. "description": "关联参考商品ID",
  24721. "type": "integer"
  24722. },
  24723. "remark": {
  24724. "description": "备注",
  24725. "type": "string"
  24726. },
  24727. "trademode": {
  24728. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24729. "type": "integer"
  24730. }
  24731. }
  24732. },
  24733. "models.ErmcpGoodsBrand": {
  24734. "type": "object",
  24735. "properties": {
  24736. "areauserid": {
  24737. "description": "所属机构",
  24738. "type": "integer"
  24739. },
  24740. "brandid": {
  24741. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24742. "type": "integer"
  24743. },
  24744. "brandname": {
  24745. "description": "品牌名称",
  24746. "type": "string"
  24747. },
  24748. "createtime": {
  24749. "description": "创建时间",
  24750. "type": "string"
  24751. },
  24752. "creatorid": {
  24753. "description": "创建人",
  24754. "type": "integer"
  24755. },
  24756. "creatorsrc": {
  24757. "description": "创建人来源 - 1:管理端 2:终端",
  24758. "type": "integer"
  24759. },
  24760. "deliverygoodsid": {
  24761. "description": "现货品种ID",
  24762. "type": "integer"
  24763. },
  24764. "isvalid": {
  24765. "description": "是否有效 - 0:无效 1:有效",
  24766. "type": "integer"
  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.ErmcpGoodsModel": {
  24787. "type": "object",
  24788. "properties": {
  24789. "areauserid": {
  24790. "description": "所属机构",
  24791. "type": "integer"
  24792. },
  24793. "convertfactor": {
  24794. "description": "标仓系数",
  24795. "type": "number"
  24796. },
  24797. "createtime": {
  24798. "description": "创建时间",
  24799. "type": "string"
  24800. },
  24801. "creatorid": {
  24802. "description": "创建人",
  24803. "type": "integer"
  24804. },
  24805. "creatorsrc": {
  24806. "description": "创建人来源 - 1:管理端 2:终端",
  24807. "type": "integer"
  24808. },
  24809. "deliverygoodsid": {
  24810. "description": "现货品种ID",
  24811. "type": "integer"
  24812. },
  24813. "isvalid": {
  24814. "description": "是否有效 - 0:无效 1:有效",
  24815. "type": "integer"
  24816. },
  24817. "modelid": {
  24818. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24819. "type": "integer"
  24820. },
  24821. "modelname": {
  24822. "description": "型号名称",
  24823. "type": "string"
  24824. },
  24825. "updatetime": {
  24826. "description": "更新时间",
  24827. "type": "string"
  24828. },
  24829. "updatorid": {
  24830. "description": "更新人",
  24831. "type": "integer"
  24832. },
  24833. "updatorsrc": {
  24834. "description": "更新人来源 - 1:管理端 2:终端",
  24835. "type": "integer"
  24836. },
  24837. "wrstandardid": {
  24838. "description": "现货商品ID",
  24839. "type": "integer"
  24840. }
  24841. }
  24842. },
  24843. "models.ErmcpHisExposure": {
  24844. "type": "object",
  24845. "properties": {
  24846. "needhedgeexposoure": {
  24847. "description": "应套保敞口",
  24848. "type": "number"
  24849. },
  24850. "reckondate": {
  24851. "description": "日照时期(yyyyMMdd)",
  24852. "type": "string"
  24853. },
  24854. "totalexposure": {
  24855. "description": "总敞口",
  24856. "type": "number"
  24857. }
  24858. }
  24859. },
  24860. "models.ErmcpLoginTaAccount": {
  24861. "type": "object",
  24862. "properties": {
  24863. "accountid": {
  24864. "description": "账号id",
  24865. "type": "integer"
  24866. },
  24867. "accountname": {
  24868. "description": "账号名称",
  24869. "type": "string"
  24870. }
  24871. }
  24872. },
  24873. "models.ErmcpLoginUser": {
  24874. "type": "object",
  24875. "properties": {
  24876. "acclist": {
  24877. "description": "关联资金账号",
  24878. "type": "array",
  24879. "items": {
  24880. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24881. }
  24882. },
  24883. "accountname": {
  24884. "description": "用户名称",
  24885. "type": "string"
  24886. },
  24887. "clientroleid": {
  24888. "description": "角色id(usertype=2)",
  24889. "type": "integer"
  24890. },
  24891. "createtime": {
  24892. "description": "创建时间",
  24893. "type": "string"
  24894. },
  24895. "logincode": {
  24896. "description": "登录代码",
  24897. "type": "string"
  24898. },
  24899. "loginid": {
  24900. "description": "登录id(LOGINID)",
  24901. "type": "integer"
  24902. },
  24903. "loginname": {
  24904. "description": "登录名称(loginaccount表中的accountname字段)",
  24905. "type": "string"
  24906. },
  24907. "loginstatus": {
  24908. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24909. "type": "integer"
  24910. },
  24911. "memberuserid": {
  24912. "description": "所属会员id",
  24913. "type": "integer"
  24914. },
  24915. "mobile": {
  24916. "description": "手机号",
  24917. "type": "string"
  24918. },
  24919. "modifytime": {
  24920. "description": "修改时间",
  24921. "type": "string"
  24922. },
  24923. "password": {
  24924. "description": "密码(不可解密)",
  24925. "type": "string"
  24926. },
  24927. "rolename": {
  24928. "description": "角色名称",
  24929. "type": "string"
  24930. },
  24931. "rolestatus": {
  24932. "description": "角色状态 1-启用 2-停用",
  24933. "type": "integer"
  24934. },
  24935. "roletype": {
  24936. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24937. "type": "string"
  24938. },
  24939. "userid": {
  24940. "description": "用户id",
  24941. "type": "integer"
  24942. },
  24943. "usertype": {
  24944. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24945. "type": "integer"
  24946. }
  24947. }
  24948. },
  24949. "models.ErmcpLoginUserEx": {
  24950. "type": "object",
  24951. "properties": {
  24952. "accountstatus": {
  24953. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24954. "type": "integer"
  24955. },
  24956. "mobile": {
  24957. "description": "手机号",
  24958. "type": "string"
  24959. },
  24960. "querytype": {
  24961. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24962. "type": "integer"
  24963. },
  24964. "roleid": {
  24965. "description": "角色id(交易账户-\u003e用户id)",
  24966. "type": "integer"
  24967. },
  24968. "rolename": {
  24969. "description": "角色名称(交易账户-\u003e用户名称)",
  24970. "type": "string"
  24971. },
  24972. "userlist": {
  24973. "description": "用户列表",
  24974. "type": "array",
  24975. "items": {
  24976. "$ref": "#/definitions/models.ErmcpLoginUser"
  24977. }
  24978. },
  24979. "usertype": {
  24980. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24981. "type": "integer"
  24982. }
  24983. }
  24984. },
  24985. "models.ErmcpMiddleGoodsModel": {
  24986. "type": "object",
  24987. "properties": {
  24988. "areauserid": {
  24989. "description": "机构用户ID",
  24990. "type": "integer"
  24991. },
  24992. "createtime": {
  24993. "description": "修改时间",
  24994. "type": "string"
  24995. },
  24996. "enumdicname": {
  24997. "description": "单位名称",
  24998. "type": "string"
  24999. },
  25000. "evaluateratio": {
  25001. "description": "估价系数",
  25002. "type": "number"
  25003. },
  25004. "goodsgroupid": {
  25005. "description": "关联期货品种ID",
  25006. "type": "integer"
  25007. },
  25008. "goodsunitid": {
  25009. "description": "单位ID",
  25010. "type": "integer"
  25011. },
  25012. "isvalid": {
  25013. "description": "状态 0-无效(停用) 1-有效(正常)",
  25014. "type": "integer"
  25015. },
  25016. "middlegoodscode": {
  25017. "description": "套保品种代码",
  25018. "type": "string"
  25019. },
  25020. "middlegoodsid": {
  25021. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  25022. "type": "integer"
  25023. },
  25024. "middlegoodsname": {
  25025. "description": "套保品种名称",
  25026. "type": "string"
  25027. },
  25028. "modifytime": {
  25029. "description": "修改时间",
  25030. "type": "string"
  25031. },
  25032. "needarbitrageratio": {
  25033. "description": "套利比例",
  25034. "type": "number"
  25035. },
  25036. "needhedgeratio": {
  25037. "description": "套保比率",
  25038. "type": "number"
  25039. },
  25040. "qtydecimalplace": {
  25041. "description": "数量小数位",
  25042. "type": "integer"
  25043. },
  25044. "relatedgoodsid": {
  25045. "description": "关联交易商品ID",
  25046. "type": "integer"
  25047. },
  25048. "relatedgoodstype": {
  25049. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  25050. "type": "integer"
  25051. },
  25052. "remark": {
  25053. "description": "备注",
  25054. "type": "string"
  25055. }
  25056. }
  25057. },
  25058. "models.ErmcpMiddlegoodsRelateGoods": {
  25059. "type": "object",
  25060. "properties": {
  25061. "agreeunit": {
  25062. "description": "合约乘数",
  25063. "type": "number"
  25064. },
  25065. "convertratio": {
  25066. "description": "折算系数",
  25067. "type": "number"
  25068. },
  25069. "enumdicname": {
  25070. "description": "单位名称(交易商品)",
  25071. "type": "string"
  25072. },
  25073. "goodscode": {
  25074. "description": "交易商品代码",
  25075. "type": "string"
  25076. },
  25077. "goodsgroupid": {
  25078. "description": "交易品种id",
  25079. "type": "integer"
  25080. },
  25081. "goodsid": {
  25082. "description": "商品Id",
  25083. "type": "integer"
  25084. },
  25085. "goodsname": {
  25086. "description": "交易商品名称",
  25087. "type": "string"
  25088. },
  25089. "goodunitid": {
  25090. "description": "交易商品单位id",
  25091. "type": "integer"
  25092. },
  25093. "middlegoodsid": {
  25094. "description": "套保商品id",
  25095. "type": "integer"
  25096. },
  25097. "middlegoodsname": {
  25098. "description": "套保商品名称",
  25099. "type": "string"
  25100. },
  25101. "middlegoodsswcode": {
  25102. "description": "套保商品代码",
  25103. "type": "string"
  25104. },
  25105. "needarbitrageratio": {
  25106. "description": "应套利比例",
  25107. "type": "number"
  25108. },
  25109. "needhedgeratio": {
  25110. "description": "应套保比例",
  25111. "type": "number"
  25112. }
  25113. }
  25114. },
  25115. "models.ErmcpRole": {
  25116. "type": "object",
  25117. "properties": {
  25118. "areauserid": {
  25119. "description": "所属机构",
  25120. "type": "integer"
  25121. },
  25122. "autoid": {
  25123. "description": "角色ID(自增ID)",
  25124. "type": "integer"
  25125. },
  25126. "modifierid": {
  25127. "description": "修改人(创建人)",
  25128. "type": "integer"
  25129. },
  25130. "modifiername": {
  25131. "description": "修改人名称",
  25132. "type": "string"
  25133. },
  25134. "modifytime": {
  25135. "description": "修改时间(创建时间)",
  25136. "type": "string"
  25137. },
  25138. "rolename": {
  25139. "description": "角色名称",
  25140. "type": "string"
  25141. },
  25142. "rolestatus": {
  25143. "description": "角色状态 - 1:启用 2:停用",
  25144. "type": "integer"
  25145. },
  25146. "roletype": {
  25147. "description": "角色类型 - 1- 管理端 2- 交易端",
  25148. "type": "integer"
  25149. }
  25150. }
  25151. },
  25152. "models.ErmcpRoleMenu": {
  25153. "type": "object",
  25154. "properties": {
  25155. "iconame": {
  25156. "description": "菜单图标",
  25157. "type": "string"
  25158. },
  25159. "ishadrole": {
  25160. "description": "是否有权限",
  25161. "type": "boolean"
  25162. },
  25163. "menutype": {
  25164. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  25165. "type": "integer"
  25166. },
  25167. "parentcode": {
  25168. "description": "上级资源代码",
  25169. "type": "string"
  25170. },
  25171. "remark": {
  25172. "description": "菜单备注",
  25173. "type": "string"
  25174. },
  25175. "resourcecode": {
  25176. "description": "菜单代码",
  25177. "type": "string"
  25178. },
  25179. "resourcelevel": {
  25180. "description": "级别",
  25181. "type": "integer"
  25182. },
  25183. "resourcename": {
  25184. "description": "菜单名称",
  25185. "type": "string"
  25186. },
  25187. "roleid": {
  25188. "description": "角色id",
  25189. "type": "integer"
  25190. },
  25191. "sort": {
  25192. "description": "排序",
  25193. "type": "integer"
  25194. },
  25195. "url": {
  25196. "description": "URL",
  25197. "type": "string"
  25198. },
  25199. "userid": {
  25200. "description": "用户id",
  25201. "type": "integer"
  25202. }
  25203. }
  25204. },
  25205. "models.ErmcpRoleMenuEx": {
  25206. "type": "object",
  25207. "properties": {
  25208. "menu": {
  25209. "description": "父级菜单",
  25210. "$ref": "#/definitions/models.ErmcpRoleMenu"
  25211. },
  25212. "subMenu": {
  25213. "description": "子级菜单",
  25214. "type": "array",
  25215. "items": {
  25216. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  25217. }
  25218. }
  25219. }
  25220. },
  25221. "models.ErmcpSpotContractModelEx": {
  25222. "type": "object",
  25223. "properties": {
  25224. "accountname": {
  25225. "description": "套期主体",
  25226. "type": "string"
  25227. },
  25228. "amount": {
  25229. "description": "金额 [1:一口价、3:暂定价]",
  25230. "type": "number"
  25231. },
  25232. "attachment": {
  25233. "description": "附件",
  25234. "type": "string"
  25235. },
  25236. "auditremark": {
  25237. "description": "审核意见",
  25238. "type": "string"
  25239. },
  25240. "audittime": {
  25241. "description": "审核时间",
  25242. "type": "string"
  25243. },
  25244. "avgprice": {
  25245. "description": "定价均价 = 已定价金额 / 已定价量",
  25246. "type": "number"
  25247. },
  25248. "brandname": {
  25249. "description": "品牌名称",
  25250. "type": "string"
  25251. },
  25252. "buyuserid": {
  25253. "description": "采购方ID",
  25254. "type": "integer"
  25255. },
  25256. "buyusername": {
  25257. "description": "采购方名称",
  25258. "type": "string"
  25259. },
  25260. "contracctstatus": {
  25261. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25262. "type": "integer"
  25263. },
  25264. "contractmargin": {
  25265. "description": "合同保证金",
  25266. "type": "number"
  25267. },
  25268. "contractno": {
  25269. "description": "[合同编号]现货合同编号",
  25270. "type": "string"
  25271. },
  25272. "contracttype": {
  25273. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  25274. "type": "integer"
  25275. },
  25276. "convertfactor": {
  25277. "description": "标仓系数",
  25278. "type": "number"
  25279. },
  25280. "createtime": {
  25281. "description": "创建时间",
  25282. "type": "string"
  25283. },
  25284. "customername": {
  25285. "description": "对手方",
  25286. "type": "string"
  25287. },
  25288. "customeruserid": {
  25289. "description": "客户ID",
  25290. "type": "integer"
  25291. },
  25292. "deliveryenddate": {
  25293. "description": "交收期(结束)",
  25294. "type": "string"
  25295. },
  25296. "deliverygoodscode": {
  25297. "description": "现货品种代码",
  25298. "type": "string"
  25299. },
  25300. "deliverygoodsid": {
  25301. "description": "现货品种ID",
  25302. "type": "integer"
  25303. },
  25304. "deliverygoodsname": {
  25305. "description": "现货品种名称",
  25306. "type": "string"
  25307. },
  25308. "deliverystartdate": {
  25309. "description": "交收期(开始)",
  25310. "type": "string"
  25311. },
  25312. "enddate": {
  25313. "description": "点价结束日期 [2:点价 3:暂定价]",
  25314. "type": "string"
  25315. },
  25316. "enumdicname": {
  25317. "description": "单位名称",
  25318. "type": "string"
  25319. },
  25320. "goodscode": {
  25321. "description": "点价合约代码",
  25322. "type": "string"
  25323. },
  25324. "goodsid": {
  25325. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  25326. "type": "integer"
  25327. },
  25328. "goodsname": {
  25329. "description": "点价商品名称",
  25330. "type": "string"
  25331. },
  25332. "isrelated": {
  25333. "description": "是否已关联计划项目 - 0:否 1:是",
  25334. "type": "integer"
  25335. },
  25336. "isrelated2": {
  25337. "description": "是否已关联现货项目 - 0:否 1:是",
  25338. "type": "integer"
  25339. },
  25340. "margin": {
  25341. "description": "当前保证金",
  25342. "type": "number"
  25343. },
  25344. "modelname": {
  25345. "description": "型号名称",
  25346. "type": "string"
  25347. },
  25348. "price": {
  25349. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  25350. "type": "number"
  25351. },
  25352. "pricedamount": {
  25353. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  25354. "type": "number"
  25355. },
  25356. "pricedqty": {
  25357. "description": "已定价量",
  25358. "type": "number"
  25359. },
  25360. "pricemove": {
  25361. "description": "升贴水 [2:点价 3:暂定价]",
  25362. "type": "number"
  25363. },
  25364. "pricetype": {
  25365. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25366. "type": "integer"
  25367. },
  25368. "producttype": {
  25369. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25370. "type": "integer"
  25371. },
  25372. "qty": {
  25373. "description": "[合同数量]数量",
  25374. "type": "number"
  25375. },
  25376. "remark": {
  25377. "description": "备注",
  25378. "type": "string"
  25379. },
  25380. "selluserid": {
  25381. "description": "销售方ID",
  25382. "type": "integer"
  25383. },
  25384. "sellusername": {
  25385. "description": "销售方名称",
  25386. "type": "string"
  25387. },
  25388. "spotamount": {
  25389. "description": "合同现货金额 [不含升贴水]",
  25390. "type": "number"
  25391. },
  25392. "spotavgprice": {
  25393. "description": "现货均价 = 合同现货金额 / 已定价量",
  25394. "type": "number"
  25395. },
  25396. "spotcontractid": {
  25397. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25398. "type": "string"
  25399. },
  25400. "spotgoodsbrandid": {
  25401. "description": "现货品牌ID",
  25402. "type": "integer"
  25403. },
  25404. "spotgoodsdesc": {
  25405. "description": "商品型号",
  25406. "type": "string"
  25407. },
  25408. "spotgoodsmodelid": {
  25409. "description": "现货型号ID",
  25410. "type": "integer"
  25411. },
  25412. "startdate": {
  25413. "description": "点价开始日期 [2:点价 3:暂定价]",
  25414. "type": "string"
  25415. },
  25416. "tradeuserid": {
  25417. "description": "交易用户ID",
  25418. "type": "integer"
  25419. },
  25420. "unpricedqty": {
  25421. "description": "未定价量 = 合同数量 - 已定价量",
  25422. "type": "number"
  25423. },
  25424. "updatetime": {
  25425. "description": "更新时间",
  25426. "type": "string"
  25427. },
  25428. "userid": {
  25429. "description": "机构ID",
  25430. "type": "integer"
  25431. },
  25432. "wrstandardcode": {
  25433. "description": "现货商品代码",
  25434. "type": "string"
  25435. },
  25436. "wrstandardid": {
  25437. "description": "现货商品ID",
  25438. "type": "integer"
  25439. },
  25440. "wrstandardname": {
  25441. "description": "[现货商品]现货商品名称",
  25442. "type": "string"
  25443. }
  25444. }
  25445. },
  25446. "models.ErmcpTaAccount": {
  25447. "type": "object",
  25448. "properties": {
  25449. "accountid": {
  25450. "description": "账户id",
  25451. "type": "integer"
  25452. },
  25453. "accountname": {
  25454. "description": "账户名称",
  25455. "type": "string"
  25456. },
  25457. "currencyid": {
  25458. "description": "币种id",
  25459. "type": "integer"
  25460. },
  25461. "hedgeaccountcode": {
  25462. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25463. "type": "string"
  25464. },
  25465. "ismain": {
  25466. "description": "是否主账户 0-否 1-是",
  25467. "type": "integer"
  25468. },
  25469. "parentaccountid": {
  25470. "description": "父账户id",
  25471. "type": "integer"
  25472. },
  25473. "relateduserid": {
  25474. "description": "关联userid",
  25475. "type": "integer"
  25476. },
  25477. "tradefeetmpid": {
  25478. "description": "手续费模板id",
  25479. "type": "integer"
  25480. },
  25481. "tradefeetmpname": {
  25482. "description": "手续费模板名称",
  25483. "type": "string"
  25484. },
  25485. "trademargintmpid": {
  25486. "description": "保证金模板id",
  25487. "type": "integer"
  25488. },
  25489. "trademargintmpname": {
  25490. "description": "保证金模板名称",
  25491. "type": "string"
  25492. },
  25493. "traderatetmpid": {
  25494. "description": "汇率模板id",
  25495. "type": "integer"
  25496. },
  25497. "traderatetmpname": {
  25498. "description": "汇率模板名称",
  25499. "type": "string"
  25500. },
  25501. "tradestatus": {
  25502. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25503. "type": "integer"
  25504. },
  25505. "userid": {
  25506. "description": "用户id",
  25507. "type": "integer"
  25508. }
  25509. }
  25510. },
  25511. "models.ErmcpTaAccountEx": {
  25512. "type": "object",
  25513. "properties": {
  25514. "mainAcc": {
  25515. "description": "主账号",
  25516. "$ref": "#/definitions/models.ErmcpTaAccountM"
  25517. },
  25518. "subacclist": {
  25519. "description": "子账号列表",
  25520. "type": "array",
  25521. "items": {
  25522. "$ref": "#/definitions/models.ErmcpTaAccount"
  25523. }
  25524. }
  25525. }
  25526. },
  25527. "models.ErmcpTaAccountInfo": {
  25528. "type": "object",
  25529. "properties": {
  25530. "accountid": {
  25531. "description": "资金账户ID",
  25532. "type": "integer"
  25533. },
  25534. "accountname": {
  25535. "description": "账户名称",
  25536. "type": "string"
  25537. },
  25538. "balance": {
  25539. "description": "期初余额",
  25540. "type": "number"
  25541. },
  25542. "capitalbalance": {
  25543. "description": "本金余额[外部子账户实际出入金余额]",
  25544. "type": "number"
  25545. },
  25546. "closepl": {
  25547. "description": "今日平仓盈亏",
  25548. "type": "number"
  25549. },
  25550. "creditdecrease": {
  25551. "description": "今日授信减少",
  25552. "type": "number"
  25553. },
  25554. "creditincrease": {
  25555. "description": "今日授信增加",
  25556. "type": "number"
  25557. },
  25558. "curdebt": {
  25559. "description": "期末欠款",
  25560. "type": "number"
  25561. },
  25562. "currencyid": {
  25563. "description": "货币ID",
  25564. "type": "integer"
  25565. },
  25566. "currentbalance": {
  25567. "description": "期末余额",
  25568. "type": "number"
  25569. },
  25570. "freezecharge": {
  25571. "description": "手续费冻结",
  25572. "type": "number"
  25573. },
  25574. "freezemargin": {
  25575. "description": "冻结保证金",
  25576. "type": "number"
  25577. },
  25578. "fromaccountid": {
  25579. "description": "所属上级账户",
  25580. "type": "integer"
  25581. },
  25582. "inamount": {
  25583. "description": "今日入金金额(包括三方入金)",
  25584. "type": "number"
  25585. },
  25586. "ismain": {
  25587. "description": "是否母账号 0:不是母账户 1:是母账户",
  25588. "type": "integer"
  25589. },
  25590. "mortgagecredit": {
  25591. "description": "授信金额",
  25592. "type": "number"
  25593. },
  25594. "oridebt": {
  25595. "description": "期初欠款",
  25596. "type": "number"
  25597. },
  25598. "orifreezecharge": {
  25599. "description": "期初手续费冻结",
  25600. "type": "number"
  25601. },
  25602. "orifreezemargin": {
  25603. "description": "期初冻结保证金",
  25604. "type": "number"
  25605. },
  25606. "orimortgagecredit": {
  25607. "description": "期初授信金额",
  25608. "type": "number"
  25609. },
  25610. "oriothercredit": {
  25611. "description": "期初其它授信金额",
  25612. "type": "number"
  25613. },
  25614. "oriotherfreezemargin": {
  25615. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25616. "type": "number"
  25617. },
  25618. "orioutamountfreeze": {
  25619. "description": "期初出金冻结",
  25620. "type": "number"
  25621. },
  25622. "oriusedmargin": {
  25623. "description": "期初占用保证金",
  25624. "type": "number"
  25625. },
  25626. "othercredit": {
  25627. "description": "其它授信金额",
  25628. "type": "number"
  25629. },
  25630. "othercreditdecrease": {
  25631. "description": "今日其它授信减少",
  25632. "type": "number"
  25633. },
  25634. "othercreditincrease": {
  25635. "description": "今日其它授信增加",
  25636. "type": "number"
  25637. },
  25638. "otherfreezemargin": {
  25639. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25640. "type": "number"
  25641. },
  25642. "outamount": {
  25643. "description": "今日出金金额(包括三方出金)",
  25644. "type": "number"
  25645. },
  25646. "outamountfreeze": {
  25647. "description": "出金冻结",
  25648. "type": "number"
  25649. },
  25650. "outthreshold": {
  25651. "description": "出金阈值",
  25652. "type": "number"
  25653. },
  25654. "parentaccountid": {
  25655. "description": "所属根账号",
  25656. "type": "integer"
  25657. },
  25658. "paycharge": {
  25659. "description": "今日手续费支出",
  25660. "type": "number"
  25661. },
  25662. "relateduserid": {
  25663. "description": "关联用户",
  25664. "type": "integer"
  25665. },
  25666. "signstatus": {
  25667. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25668. "type": "integer"
  25669. },
  25670. "sublevelpath": {
  25671. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25672. "type": "string"
  25673. },
  25674. "taaccounttype": {
  25675. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25676. "type": "integer"
  25677. },
  25678. "thirdinamount": {
  25679. "description": "今日三方入金",
  25680. "type": "number"
  25681. },
  25682. "thirdoutamount": {
  25683. "description": "今日三方出金",
  25684. "type": "number"
  25685. },
  25686. "tradestatus": {
  25687. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25688. "type": "integer"
  25689. },
  25690. "transferamount": {
  25691. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25692. "type": "number"
  25693. },
  25694. "usedmargin": {
  25695. "description": "占用保证金",
  25696. "type": "number"
  25697. },
  25698. "userid": {
  25699. "description": "用户ID",
  25700. "type": "integer"
  25701. }
  25702. }
  25703. },
  25704. "models.ErmcpTaAccountM": {
  25705. "type": "object",
  25706. "properties": {
  25707. "accountid": {
  25708. "description": "账户id",
  25709. "type": "integer"
  25710. },
  25711. "accountname": {
  25712. "description": "账户名称",
  25713. "type": "string"
  25714. },
  25715. "currencyid": {
  25716. "description": "币种id",
  25717. "type": "integer"
  25718. },
  25719. "fcid": {
  25720. "description": "期货公司id",
  25721. "type": "integer"
  25722. },
  25723. "fcname": {
  25724. "description": "期货公司代码",
  25725. "type": "string"
  25726. },
  25727. "hedgeaccountcode": {
  25728. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25729. "type": "string"
  25730. },
  25731. "ismain": {
  25732. "description": "是否主账户 0-否 1-是",
  25733. "type": "integer"
  25734. },
  25735. "parentaccountid": {
  25736. "description": "父账户id",
  25737. "type": "integer"
  25738. },
  25739. "relateduserid": {
  25740. "description": "关联userid",
  25741. "type": "integer"
  25742. },
  25743. "tradefeetmpid": {
  25744. "description": "手续费模板id",
  25745. "type": "integer"
  25746. },
  25747. "tradefeetmpname": {
  25748. "description": "手续费模板名称",
  25749. "type": "string"
  25750. },
  25751. "trademargintmpid": {
  25752. "description": "保证金模板id",
  25753. "type": "integer"
  25754. },
  25755. "trademargintmpname": {
  25756. "description": "保证金模板名称",
  25757. "type": "string"
  25758. },
  25759. "traderatetmpid": {
  25760. "description": "汇率模板id",
  25761. "type": "integer"
  25762. },
  25763. "traderatetmpname": {
  25764. "description": "汇率模板名称",
  25765. "type": "string"
  25766. },
  25767. "tradestatus": {
  25768. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25769. "type": "integer"
  25770. },
  25771. "userid": {
  25772. "description": "用户id",
  25773. "type": "integer"
  25774. }
  25775. }
  25776. },
  25777. "models.ErmcpTradeConfigTMP": {
  25778. "type": "object",
  25779. "properties": {
  25780. "areauserid": {
  25781. "description": "所属机构",
  25782. "type": "integer"
  25783. },
  25784. "basiccurrencyid": {
  25785. "description": "基本币种ID[汇率] - 目标币种",
  25786. "type": "integer"
  25787. },
  25788. "mainaccountid": {
  25789. "description": "主账户ID",
  25790. "type": "integer"
  25791. },
  25792. "modifierid": {
  25793. "description": "修改人",
  25794. "type": "integer"
  25795. },
  25796. "remark": {
  25797. "description": "备注",
  25798. "type": "string"
  25799. },
  25800. "tradeconfigtmpid": {
  25801. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25802. "type": "integer"
  25803. },
  25804. "tradeconfigtmpname": {
  25805. "description": "交易配置模板名称",
  25806. "type": "string"
  25807. },
  25808. "tradeconfigtmptype": {
  25809. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25810. "type": "integer"
  25811. },
  25812. "updatetime": {
  25813. "description": "更新时间",
  25814. "type": "string"
  25815. }
  25816. }
  25817. },
  25818. "models.Ermcpjrlinkpos": {
  25819. "type": "object",
  25820. "required": [
  25821. "spotcontractid"
  25822. ],
  25823. "properties": {
  25824. "areauserid": {
  25825. "description": "所属企业",
  25826. "type": "integer"
  25827. },
  25828. "averageprice": {
  25829. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  25830. "type": "number"
  25831. },
  25832. "closepl": {
  25833. "description": "总平仓盈亏 [期货损益]",
  25834. "type": "number"
  25835. },
  25836. "executeprice": {
  25837. "description": "执行价 - 1:期货单 为 0",
  25838. "type": "integer"
  25839. },
  25840. "futurehedgeqty": {
  25841. "description": "期货套期量",
  25842. "type": "number"
  25843. },
  25844. "goodsid": {
  25845. "description": "期货合约",
  25846. "type": "integer"
  25847. },
  25848. "middlegoodscode": {
  25849. "description": "套保商品代码",
  25850. "type": "string"
  25851. },
  25852. "middlegoodsname": {
  25853. "description": "套保商品名称",
  25854. "type": "string"
  25855. },
  25856. "netqty": {
  25857. "description": "净头寸",
  25858. "type": "number"
  25859. },
  25860. "optioncode": {
  25861. "description": "期权代码",
  25862. "type": "string"
  25863. },
  25864. "ordertype": {
  25865. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  25866. "type": "integer"
  25867. },
  25868. "reckonpl": {
  25869. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  25870. "type": "number"
  25871. },
  25872. "spotcontractid": {
  25873. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  25874. "type": "string"
  25875. },
  25876. "todayfutureclosepl": {
  25877. "description": "今日平仓盈亏",
  25878. "type": "number"
  25879. },
  25880. "totalbuyamount": {
  25881. "description": "买金额 [期货]",
  25882. "type": "number"
  25883. },
  25884. "totalbuyholdamount": {
  25885. "description": "买持仓总金额[期货]",
  25886. "type": "number"
  25887. },
  25888. "totalbuyqty": {
  25889. "description": "买数量",
  25890. "type": "number"
  25891. },
  25892. "totalcharge": {
  25893. "description": "手续费",
  25894. "type": "number"
  25895. },
  25896. "totalpremium": {
  25897. "description": "权利金 [期权]",
  25898. "type": "number"
  25899. },
  25900. "totalsellamount": {
  25901. "description": "卖金额 [期货]",
  25902. "type": "number"
  25903. },
  25904. "totalsellholdamount": {
  25905. "description": "卖持仓总金额[期货]",
  25906. "type": "number"
  25907. },
  25908. "totalsellqty": {
  25909. "description": "卖数量",
  25910. "type": "number"
  25911. },
  25912. "updatetime": {
  25913. "description": "更新时间",
  25914. "type": "string"
  25915. }
  25916. }
  25917. },
  25918. "models.Ermcppatradelinkdetail": {
  25919. "type": "object",
  25920. "required": [
  25921. "hedgeditemid"
  25922. ],
  25923. "properties": {
  25924. "agreeunit": {
  25925. "description": "合约乘数",
  25926. "type": "number"
  25927. },
  25928. "amount": {
  25929. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  25930. "type": "number"
  25931. },
  25932. "areauserid": {
  25933. "description": "所属机构",
  25934. "type": "integer"
  25935. },
  25936. "bizsubjectid": {
  25937. "description": "归属业务部门ID - SubjectID",
  25938. "type": "integer"
  25939. },
  25940. "buyorsell": {
  25941. "description": "方向 - 0:买 1:卖",
  25942. "type": "integer"
  25943. },
  25944. "convertratio": {
  25945. "description": "品种系数",
  25946. "type": "number"
  25947. },
  25948. "createtime": {
  25949. "description": "创建时间",
  25950. "type": "string"
  25951. },
  25952. "creatorid": {
  25953. "description": "创建人ID",
  25954. "type": "integer"
  25955. },
  25956. "creatorsrc": {
  25957. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25958. "type": "integer"
  25959. },
  25960. "goodsgroupid": {
  25961. "description": "对冲品种ID[期货合约商品组ID]",
  25962. "type": "integer"
  25963. },
  25964. "goodsid": {
  25965. "description": "商品ID",
  25966. "type": "integer"
  25967. },
  25968. "hedgeditemid": {
  25969. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  25970. "type": "integer"
  25971. },
  25972. "hedgeflag": {
  25973. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  25974. "type": "integer"
  25975. },
  25976. "linkdetailid": {
  25977. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25978. "type": "string"
  25979. },
  25980. "linkstatus": {
  25981. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  25982. "type": "integer"
  25983. },
  25984. "middlegoodsid": {
  25985. "description": "套保品种ID",
  25986. "type": "integer"
  25987. },
  25988. "name": {
  25989. "description": "账户名/子账户",
  25990. "type": "string"
  25991. },
  25992. "optioncode": {
  25993. "description": "[期货合约]期权代码 [期权]",
  25994. "type": "string"
  25995. },
  25996. "ordertype": {
  25997. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  25998. "type": "integer"
  25999. },
  26000. "relatedlot": {
  26001. "description": "[数量]关联手数",
  26002. "type": "number"
  26003. },
  26004. "relatedmode": {
  26005. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26006. "type": "integer"
  26007. },
  26008. "relatedqty": {
  26009. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26010. "type": "number"
  26011. },
  26012. "retcode": {
  26013. "description": "返回码",
  26014. "type": "integer"
  26015. },
  26016. "saleuserid": {
  26017. "description": "业务员ID",
  26018. "type": "integer"
  26019. },
  26020. "tradedate": {
  26021. "description": "关联交易日(yyyyMMdd)",
  26022. "type": "string"
  26023. },
  26024. "tradeid": {
  26025. "description": "[成交单号]内部成交单ID",
  26026. "type": "string"
  26027. },
  26028. "tradelot": {
  26029. "description": "成交手数",
  26030. "type": "integer"
  26031. },
  26032. "tradeprice": {
  26033. "description": "[价格]成交价格",
  26034. "type": "number"
  26035. },
  26036. "tradetime": {
  26037. "description": "日期时间",
  26038. "type": "string"
  26039. },
  26040. "tradetradedate": {
  26041. "description": "成交交易日(yyyyMMdd)",
  26042. "type": "string"
  26043. }
  26044. }
  26045. },
  26046. "models.Externalexchange": {
  26047. "type": "object",
  26048. "required": [
  26049. "autoid"
  26050. ],
  26051. "properties": {
  26052. "autoid": {
  26053. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  26054. "type": "integer"
  26055. },
  26056. "exchangefullname": {
  26057. "description": "外部交易所全称",
  26058. "type": "string"
  26059. },
  26060. "exexchangecode": {
  26061. "description": "外部交易所代码",
  26062. "type": "string"
  26063. },
  26064. "exexchangename": {
  26065. "description": "外部交易所名称(简称)",
  26066. "type": "string"
  26067. },
  26068. "ismarketprice": {
  26069. "description": "是否支持市价 - 0:不支持 1:支持",
  26070. "type": "integer"
  26071. },
  26072. "quotegear": {
  26073. "description": "行情档位(1-10)",
  26074. "type": "integer"
  26075. },
  26076. "showbrokerflag": {
  26077. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  26078. "type": "integer"
  26079. },
  26080. "updatetime": {
  26081. "description": "更新时间",
  26082. "type": "string"
  26083. }
  26084. }
  26085. },
  26086. "models.Funcmenulist": {
  26087. "type": "object",
  26088. "required": [
  26089. "resourcecode"
  26090. ],
  26091. "properties": {
  26092. "iconame": {
  26093. "description": "菜单图标",
  26094. "type": "string"
  26095. },
  26096. "menutype": {
  26097. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  26098. "type": "integer"
  26099. },
  26100. "parentcode": {
  26101. "description": "上级资源代码",
  26102. "type": "string"
  26103. },
  26104. "remark": {
  26105. "description": "备注",
  26106. "type": "string"
  26107. },
  26108. "resourcecode": {
  26109. "description": "资源代码",
  26110. "type": "string"
  26111. },
  26112. "resourcelevel": {
  26113. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  26114. "type": "integer"
  26115. },
  26116. "resourcename": {
  26117. "description": "资源名",
  26118. "type": "string"
  26119. },
  26120. "sort": {
  26121. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  26122. "type": "integer"
  26123. },
  26124. "url": {
  26125. "description": "URL",
  26126. "type": "string"
  26127. }
  26128. }
  26129. },
  26130. "models.GZGoods": {
  26131. "type": "object",
  26132. "required": [
  26133. "goodsno"
  26134. ],
  26135. "properties": {
  26136. "cerno": {
  26137. "description": "证书编号 - 类型:2,4,5",
  26138. "type": "string"
  26139. },
  26140. "cpcertno": {
  26141. "description": "金伯利证书编号 - 类型:3",
  26142. "type": "string"
  26143. },
  26144. "goodsno": {
  26145. "description": "商品编号",
  26146. "type": "string"
  26147. },
  26148. "imagepath": {
  26149. "description": "商品照片(相对地址)",
  26150. "type": "string"
  26151. },
  26152. "isvalid": {
  26153. "description": "是否有效 - 0:无效 1:有效",
  26154. "type": "integer"
  26155. },
  26156. "kppath": {
  26157. "description": "金伯利证书图片(相对地址) - 类型:3",
  26158. "type": "string"
  26159. },
  26160. "kpweight": {
  26161. "description": "金伯利证书重量 - 类型:3",
  26162. "type": "string"
  26163. },
  26164. "marketprice": {
  26165. "description": "市场价",
  26166. "type": "string"
  26167. },
  26168. "origin": {
  26169. "description": "原产地 - 类型:3",
  26170. "type": "string"
  26171. },
  26172. "price": {
  26173. "description": "总价(价格) - 类型:1,2,3,4,5",
  26174. "type": "number"
  26175. },
  26176. "priceper": {
  26177. "description": "克拉单价 - 类型:1,2,3,5",
  26178. "type": "string"
  26179. },
  26180. "remark": {
  26181. "description": "备注",
  26182. "type": "string"
  26183. },
  26184. "sellmobile": {
  26185. "description": "手机号码(加密存储)",
  26186. "type": "string"
  26187. },
  26188. "sellusername": {
  26189. "description": "账户名称(机构名称)",
  26190. "type": "string"
  26191. },
  26192. "settingmaterial": {
  26193. "description": "镶嵌材料 - 类型:4",
  26194. "type": "string"
  26195. },
  26196. "size1": {
  26197. "description": "尺寸1 - 类型:2,4,5",
  26198. "type": "string"
  26199. },
  26200. "size2": {
  26201. "description": "尺寸2 - 类型:2,4,5",
  26202. "type": "string"
  26203. },
  26204. "size3": {
  26205. "description": "尺寸3 - 类型:2,4,5",
  26206. "type": "string"
  26207. },
  26208. "stonedesc": {
  26209. "description": "配石描述 - 类型:4",
  26210. "type": "string"
  26211. },
  26212. "userid": {
  26213. "description": "用户ID",
  26214. "type": "integer"
  26215. },
  26216. "warehouseid": {
  26217. "description": "仓库ID",
  26218. "type": "integer"
  26219. },
  26220. "warehousenamedisplay": {
  26221. "type": "string"
  26222. },
  26223. "weight": {
  26224. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  26225. "type": "number"
  26226. },
  26227. "weightavg": {
  26228. "description": "平均单颗重量 - 类型:1,3",
  26229. "type": "number"
  26230. },
  26231. "wrpath": {
  26232. "description": "仓单扫描件(相对地址)",
  26233. "type": "string"
  26234. },
  26235. "wrstandardid": {
  26236. "description": "现货商品ID",
  26237. "type": "integer"
  26238. },
  26239. "zscategory": {
  26240. "description": "钻石分类 - 枚举”ZSCategory“",
  26241. "type": "integer"
  26242. },
  26243. "zscategorydisplay": {
  26244. "type": "string"
  26245. },
  26246. "zscerttype": {
  26247. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  26248. "type": "integer"
  26249. },
  26250. "zscerttypedisplay": {
  26251. "type": "string"
  26252. },
  26253. "zsclaritytype1": {
  26254. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  26255. "type": "integer"
  26256. },
  26257. "zsclaritytype1display": {
  26258. "type": "string"
  26259. },
  26260. "zsclaritytype2": {
  26261. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  26262. "type": "integer"
  26263. },
  26264. "zsclaritytype2display": {
  26265. "type": "string"
  26266. },
  26267. "zscolortype1": {
  26268. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  26269. "type": "integer"
  26270. },
  26271. "zscolortype1display": {
  26272. "type": "string"
  26273. },
  26274. "zscolortype2": {
  26275. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  26276. "type": "integer"
  26277. },
  26278. "zscolortype2display": {
  26279. "type": "string"
  26280. },
  26281. "zscrystaltype": {
  26282. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  26283. "type": "string"
  26284. },
  26285. "zscrystaltypedisplay": {
  26286. "type": "string"
  26287. },
  26288. "zscurrencytype": {
  26289. "description": "货币类型 - 枚举“ZSCurrencyType”",
  26290. "type": "integer"
  26291. },
  26292. "zscurrencytypedisplay": {
  26293. "type": "string"
  26294. },
  26295. "zscurrencytypedisplayunit": {
  26296. "type": "string"
  26297. },
  26298. "zscuttype1": {
  26299. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  26300. "type": "integer"
  26301. },
  26302. "zscuttype1display": {
  26303. "type": "string"
  26304. },
  26305. "zscuttype2": {
  26306. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  26307. "type": "integer"
  26308. },
  26309. "zscuttype2display": {
  26310. "type": "string"
  26311. },
  26312. "zsczcolor1type": {
  26313. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  26314. "type": "integer"
  26315. },
  26316. "zsczcolor1typedisplay": {
  26317. "type": "string"
  26318. },
  26319. "zsczcolor2type": {
  26320. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  26321. "type": "integer"
  26322. },
  26323. "zsczcolor2typedisplay": {
  26324. "type": "string"
  26325. },
  26326. "zsczcolor3type": {
  26327. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  26328. "type": "integer"
  26329. },
  26330. "zsczcolor3typedisplay": {
  26331. "type": "string"
  26332. },
  26333. "zsfluorescencetype1": {
  26334. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  26335. "type": "integer"
  26336. },
  26337. "zsfluorescencetype1display": {
  26338. "type": "string"
  26339. },
  26340. "zsfluorescencetype2": {
  26341. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  26342. "type": "integer"
  26343. },
  26344. "zsfluorescencetype2display": {
  26345. "type": "string"
  26346. },
  26347. "zspolishtype1": {
  26348. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  26349. "type": "integer"
  26350. },
  26351. "zspolishtype1display": {
  26352. "type": "string"
  26353. },
  26354. "zspolishtype2": {
  26355. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  26356. "type": "integer"
  26357. },
  26358. "zspolishtype2display": {
  26359. "type": "string"
  26360. },
  26361. "zsshapetype": {
  26362. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  26363. "type": "string"
  26364. },
  26365. "zsshapetypedisplay": {
  26366. "type": "string"
  26367. },
  26368. "zsstyletype": {
  26369. "description": "款式 - 类型:4",
  26370. "type": "integer"
  26371. },
  26372. "zsstyletypedisplay": {
  26373. "type": "string"
  26374. },
  26375. "zssymmetrytype1": {
  26376. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  26377. "type": "integer"
  26378. },
  26379. "zssymmetrytype1display": {
  26380. "type": "string"
  26381. },
  26382. "zssymmetrytype2": {
  26383. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  26384. "type": "integer"
  26385. },
  26386. "zssymmetrytype2display": {
  26387. "type": "string"
  26388. }
  26389. }
  26390. },
  26391. "models.GZWarehouseinfo": {
  26392. "type": "object",
  26393. "properties": {
  26394. "address": {
  26395. "description": "详细地址",
  26396. "type": "string"
  26397. },
  26398. "areauserid": {
  26399. "description": "所属机构",
  26400. "type": "integer"
  26401. },
  26402. "autoid": {
  26403. "description": "自增ID",
  26404. "type": "integer"
  26405. },
  26406. "cityid": {
  26407. "description": "市",
  26408. "type": "integer"
  26409. },
  26410. "contactname": {
  26411. "description": "联系人",
  26412. "type": "string"
  26413. },
  26414. "contactnum": {
  26415. "description": "联系电话",
  26416. "type": "string"
  26417. },
  26418. "countryid": {
  26419. "description": "国家",
  26420. "type": "integer"
  26421. },
  26422. "createtime": {
  26423. "description": "创建时间",
  26424. "type": "string"
  26425. },
  26426. "districtid": {
  26427. "description": "区",
  26428. "type": "integer"
  26429. },
  26430. "hasvideo": {
  26431. "description": "是否有视频 - 0:无 1:有",
  26432. "type": "integer"
  26433. },
  26434. "provinceid": {
  26435. "description": "省",
  26436. "type": "integer"
  26437. },
  26438. "remark": {
  26439. "description": "审核备注",
  26440. "type": "string"
  26441. },
  26442. "videourl": {
  26443. "description": "视频地址",
  26444. "type": "string"
  26445. },
  26446. "warehousecode": {
  26447. "description": "仓库代码",
  26448. "type": "string"
  26449. },
  26450. "warehousename": {
  26451. "description": "仓库名称",
  26452. "type": "string"
  26453. },
  26454. "warehousestatus": {
  26455. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  26456. "type": "integer"
  26457. },
  26458. "warehousetype": {
  26459. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26460. "type": "integer"
  26461. }
  26462. }
  26463. },
  26464. "models.Goods": {
  26465. "type": "object",
  26466. "required": [
  26467. "goodscode",
  26468. "goodsid",
  26469. "goodsname",
  26470. "marketid"
  26471. ],
  26472. "properties": {
  26473. "agreeunit": {
  26474. "description": "合约单位",
  26475. "type": "number"
  26476. },
  26477. "areauserid": {
  26478. "description": "所属机构",
  26479. "type": "integer"
  26480. },
  26481. "auditaccountid": {
  26482. "description": "审核操作员账号",
  26483. "type": "integer"
  26484. },
  26485. "audittime": {
  26486. "description": "审核时间",
  26487. "type": "string"
  26488. },
  26489. "cancelaccountid": {
  26490. "description": "注销操作员账号",
  26491. "type": "integer"
  26492. },
  26493. "canceltime": {
  26494. "description": "注销时间",
  26495. "type": "string"
  26496. },
  26497. "closepricemode": {
  26498. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26499. "type": "integer"
  26500. },
  26501. "closepriceparam": {
  26502. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26503. "type": "number"
  26504. },
  26505. "createtime": {
  26506. "description": "创建时间",
  26507. "type": "string"
  26508. },
  26509. "creatorid": {
  26510. "description": "创建人",
  26511. "type": "integer"
  26512. },
  26513. "currencyid": {
  26514. "description": "报价货币ID",
  26515. "type": "integer"
  26516. },
  26517. "cutmode": {
  26518. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26519. "type": "integer"
  26520. },
  26521. "decimalplace": {
  26522. "description": "报价小数位",
  26523. "type": "integer"
  26524. },
  26525. "delistingdate": {
  26526. "description": "商品退市时间(状态:退市) -- 已作废",
  26527. "type": "string"
  26528. },
  26529. "delistingmode": {
  26530. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26531. "type": "integer"
  26532. },
  26533. "deliveryflag": {
  26534. "description": "交割标志 - 0:不可交割 1:可交割",
  26535. "type": "integer"
  26536. },
  26537. "forceclosemode": {
  26538. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26539. "type": "integer"
  26540. },
  26541. "forceclosevalue": {
  26542. "description": "定期强平参数 [收益权]",
  26543. "type": "integer"
  26544. },
  26545. "goodscode": {
  26546. "description": "商品代码(内部)",
  26547. "type": "string"
  26548. },
  26549. "goodscurrencyid": {
  26550. "description": "合约货币ID",
  26551. "type": "integer"
  26552. },
  26553. "goodsgroupid": {
  26554. "description": "所属商品组ID",
  26555. "type": "integer"
  26556. },
  26557. "goodsid": {
  26558. "description": "商品ID(自增ID SEQ_GOODS)",
  26559. "type": "integer"
  26560. },
  26561. "goodsname": {
  26562. "description": "商品名称",
  26563. "type": "string"
  26564. },
  26565. "goodsquotetype": {
  26566. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26567. "type": "integer"
  26568. },
  26569. "goodsstatus": {
  26570. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26571. "type": "integer"
  26572. },
  26573. "goodstradetype": {
  26574. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26575. "type": "integer"
  26576. },
  26577. "goodunitid": {
  26578. "description": "报价单位ID",
  26579. "type": "integer"
  26580. },
  26581. "hasquoter": {
  26582. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26583. "type": "integer"
  26584. },
  26585. "hqprotecttime": {
  26586. "description": "行情保护时间(秒)",
  26587. "type": "integer"
  26588. },
  26589. "innerdealmode": {
  26590. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26591. "type": "integer"
  26592. },
  26593. "isbuylimited": {
  26594. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26595. "type": "integer"
  26596. },
  26597. "isvisible": {
  26598. "description": "游客是否可见 - 0:不可见 1:可见",
  26599. "type": "integer"
  26600. },
  26601. "lasttradedate": {
  26602. "description": "最后交易日期(状态:待退市)",
  26603. "type": "string"
  26604. },
  26605. "listingdate": {
  26606. "description": "交易开始日期",
  26607. "type": "string"
  26608. },
  26609. "marketid": {
  26610. "description": "所属市场ID",
  26611. "type": "integer"
  26612. },
  26613. "modifierid": {
  26614. "description": "修改人",
  26615. "type": "integer"
  26616. },
  26617. "modifystatus": {
  26618. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26619. "type": "integer"
  26620. },
  26621. "modifytime": {
  26622. "description": "修改时间",
  26623. "type": "string"
  26624. },
  26625. "outerdealmode": {
  26626. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26627. "type": "integer"
  26628. },
  26629. "outgoodscode": {
  26630. "description": "商品代码(外部)",
  26631. "type": "string"
  26632. },
  26633. "pictureurl": {
  26634. "description": "商品图片",
  26635. "type": "string"
  26636. },
  26637. "qtydecimalplace": {
  26638. "description": "成交量小数位",
  26639. "type": "integer"
  26640. },
  26641. "quotegear": {
  26642. "description": "行情档位(1-10)",
  26643. "type": "integer"
  26644. },
  26645. "quoteminunit": {
  26646. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26647. "type": "integer"
  26648. },
  26649. "quoteshowtype": {
  26650. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  26651. "type": "integer"
  26652. },
  26653. "quoteshowtypeinterval": {
  26654. "description": "行情报价间隔时间(秒)(成交价时为0)",
  26655. "type": "integer"
  26656. },
  26657. "remark": {
  26658. "description": "备注",
  26659. "type": "string"
  26660. }
  26661. }
  26662. },
  26663. "models.GoodsIDAndName": {
  26664. "type": "object",
  26665. "required": [
  26666. "goodscode",
  26667. "goodsid",
  26668. "goodsname",
  26669. "marketid"
  26670. ],
  26671. "properties": {
  26672. "goodscode": {
  26673. "description": "商品代码(内部)",
  26674. "type": "string"
  26675. },
  26676. "goodsid": {
  26677. "description": "商品ID(自增ID SEQ_GOODS)",
  26678. "type": "integer"
  26679. },
  26680. "goodsname": {
  26681. "description": "商品名称",
  26682. "type": "string"
  26683. },
  26684. "marketid": {
  26685. "description": "所属市场ID",
  26686. "type": "integer"
  26687. }
  26688. }
  26689. },
  26690. "models.Goodsgroup": {
  26691. "type": "object",
  26692. "required": [
  26693. "goodsgroupid",
  26694. "goodsgroupname",
  26695. "goodsgroupstatus",
  26696. "marketid"
  26697. ],
  26698. "properties": {
  26699. "agreeunit": {
  26700. "description": "合约单位",
  26701. "type": "number"
  26702. },
  26703. "canshort": {
  26704. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  26705. "type": "integer"
  26706. },
  26707. "closepricemode": {
  26708. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26709. "type": "integer"
  26710. },
  26711. "closepriceparam": {
  26712. "description": "强平最新价浮动比例 - 方式为2时使用",
  26713. "type": "number"
  26714. },
  26715. "createtime": {
  26716. "description": "创建时间",
  26717. "type": "string"
  26718. },
  26719. "creatorid": {
  26720. "description": "创建人",
  26721. "type": "integer"
  26722. },
  26723. "currencyid": {
  26724. "description": "报价货币ID",
  26725. "type": "integer"
  26726. },
  26727. "decimalplace": {
  26728. "description": "报价小数位",
  26729. "type": "integer"
  26730. },
  26731. "exercisetype": {
  26732. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  26733. "type": "integer"
  26734. },
  26735. "exexchangeid": {
  26736. "description": "外部交易所ID[通道交易]",
  26737. "type": "integer"
  26738. },
  26739. "goodsgroupid": {
  26740. "description": "商品组ID(自增ID)",
  26741. "type": "integer"
  26742. },
  26743. "goodsgroupname": {
  26744. "description": "商品组名称",
  26745. "type": "string"
  26746. },
  26747. "goodsgroupstatus": {
  26748. "description": "商品组状态 - 1:正常 2:注销",
  26749. "type": "integer"
  26750. },
  26751. "goodunitid": {
  26752. "description": "报价单位ID",
  26753. "type": "integer"
  26754. },
  26755. "innerdealmode": {
  26756. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26757. "type": "integer"
  26758. },
  26759. "isbuylimited": {
  26760. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26761. "type": "integer"
  26762. },
  26763. "marketid": {
  26764. "description": "所属市场ID",
  26765. "type": "integer"
  26766. },
  26767. "modifierid": {
  26768. "description": "修改人",
  26769. "type": "integer"
  26770. },
  26771. "modifytime": {
  26772. "description": "修改时间",
  26773. "type": "string"
  26774. },
  26775. "outerdealmode": {
  26776. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26777. "type": "integer"
  26778. },
  26779. "outergroupcode": {
  26780. "description": "外部商品组代码[通道交易]",
  26781. "type": "string"
  26782. },
  26783. "premiumdecimalplace": {
  26784. "description": "权利金小数位[场外期权]",
  26785. "type": "integer"
  26786. },
  26787. "premiumspreadalgorithm": {
  26788. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  26789. "type": "integer"
  26790. },
  26791. "premiumspreadvalue": {
  26792. "description": "权利金点差值[场外期权]",
  26793. "type": "number"
  26794. },
  26795. "qtydecimalplace": {
  26796. "description": "成交量小数位",
  26797. "type": "integer"
  26798. },
  26799. "quotegear": {
  26800. "description": "行情档位(1-10)",
  26801. "type": "integer"
  26802. },
  26803. "quoteminunit": {
  26804. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26805. "type": "integer"
  26806. },
  26807. "quoterid": {
  26808. "description": "报价商ID[场外期权]",
  26809. "type": "integer"
  26810. },
  26811. "quotesourcegroupid": {
  26812. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  26813. "type": "integer"
  26814. },
  26815. "syncgoodsqty": {
  26816. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  26817. "type": "integer"
  26818. }
  26819. }
  26820. },
  26821. "models.Goodssortbypreposition": {
  26822. "type": "object",
  26823. "required": [
  26824. "goodscode",
  26825. "tradedate"
  26826. ],
  26827. "properties": {
  26828. "goodscode": {
  26829. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  26830. "type": "string"
  26831. },
  26832. "goodsgroupcode": {
  26833. "description": "品种代码",
  26834. "type": "string"
  26835. },
  26836. "prepositionqty": {
  26837. "description": "昨持仓量",
  26838. "type": "integer"
  26839. },
  26840. "sortindex": {
  26841. "description": "排序",
  26842. "type": "integer"
  26843. },
  26844. "tradedate": {
  26845. "description": "交易日",
  26846. "type": "string"
  26847. },
  26848. "updatetime": {
  26849. "description": "更新时间",
  26850. "type": "string"
  26851. }
  26852. }
  26853. },
  26854. "models.Hedgeinnerholderdetail": {
  26855. "type": "object",
  26856. "required": [
  26857. "buyorsell",
  26858. "tradeid"
  26859. ],
  26860. "properties": {
  26861. "accountid": {
  26862. "description": "账号ID",
  26863. "type": "integer"
  26864. },
  26865. "buyorsell": {
  26866. "description": "方向 - 0:买 1:卖",
  26867. "type": "integer"
  26868. },
  26869. "freezeqty": {
  26870. "description": "冻结数量 - 按单平使用",
  26871. "type": "integer"
  26872. },
  26873. "goodsid": {
  26874. "description": "商品ID",
  26875. "type": "integer"
  26876. },
  26877. "holderamount": {
  26878. "description": "持仓金额 [商品币种]",
  26879. "type": "number"
  26880. },
  26881. "holderdays": {
  26882. "description": "剩余冻结天数",
  26883. "type": "integer"
  26884. },
  26885. "holderprice": {
  26886. "description": "持仓价格",
  26887. "type": "number"
  26888. },
  26889. "holderqty": {
  26890. "description": "持仓数量",
  26891. "type": "integer"
  26892. },
  26893. "marketid": {
  26894. "description": "市场ID",
  26895. "type": "integer"
  26896. },
  26897. "openprice": {
  26898. "description": "建仓价格",
  26899. "type": "number"
  26900. },
  26901. "openqty": {
  26902. "description": "建仓数量",
  26903. "type": "integer"
  26904. },
  26905. "parentaccountid": {
  26906. "description": "所属母账户",
  26907. "type": "integer"
  26908. },
  26909. "releaseamount": {
  26910. "description": "释放持仓金额[商品币种]",
  26911. "type": "number"
  26912. },
  26913. "tradeamount": {
  26914. "description": "成交金额[账户]",
  26915. "type": "number"
  26916. },
  26917. "tradedate": {
  26918. "description": "交易日(yyyyMMdd)",
  26919. "type": "string"
  26920. },
  26921. "tradeid": {
  26922. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26923. "type": "string"
  26924. },
  26925. "tradetime": {
  26926. "description": "交易时间",
  26927. "type": "string"
  26928. }
  26929. }
  26930. },
  26931. "models.Hedgemarketopenlog": {
  26932. "type": "object",
  26933. "required": [
  26934. "accountid"
  26935. ],
  26936. "properties": {
  26937. "accountid": {
  26938. "description": "资金账号[外部母账户]",
  26939. "type": "integer"
  26940. },
  26941. "fcname": {
  26942. "description": "期货公司名称",
  26943. "type": "string"
  26944. },
  26945. "handlestatus": {
  26946. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  26947. "type": "integer"
  26948. },
  26949. "marketid": {
  26950. "description": "市场ID",
  26951. "type": "integer"
  26952. },
  26953. "status": {
  26954. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  26955. "type": "integer"
  26956. },
  26957. "tradedate": {
  26958. "description": "交易日(yyyyMMdd)",
  26959. "type": "string"
  26960. },
  26961. "updatetime": {
  26962. "description": "更新时间",
  26963. "type": "string"
  26964. }
  26965. }
  26966. },
  26967. "models.InternalEnableTradeDetail": {
  26968. "type": "object",
  26969. "required": [
  26970. "areauserid",
  26971. "goodsid",
  26972. "tradeuserid"
  26973. ],
  26974. "properties": {
  26975. "agreeunit": {
  26976. "description": "合约乘数",
  26977. "type": "number"
  26978. },
  26979. "areauserid": {
  26980. "description": "企业ID",
  26981. "type": "integer"
  26982. },
  26983. "convertratio": {
  26984. "description": "品种系数",
  26985. "type": "number"
  26986. },
  26987. "deliverygoodscode": {
  26988. "description": "现货品种代码",
  26989. "type": "string"
  26990. },
  26991. "deliverygoodsid": {
  26992. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26993. "type": "integer"
  26994. },
  26995. "deliverygoodsname": {
  26996. "description": "现货品种名称",
  26997. "type": "string"
  26998. },
  26999. "futurehedgeqty": {
  27000. "description": "[已关联数量]期货持仓套期量",
  27001. "type": "number"
  27002. },
  27003. "goodsid": {
  27004. "description": "期货合约ID",
  27005. "type": "integer"
  27006. },
  27007. "hedgeditemid": {
  27008. "description": "被套期项目ID",
  27009. "type": "string"
  27010. },
  27011. "hedgeditemnum": {
  27012. "description": "项目编号",
  27013. "type": "string"
  27014. },
  27015. "tradeuserid": {
  27016. "description": "交易用户ID",
  27017. "type": "integer"
  27018. },
  27019. "unexehedgeqty": {
  27020. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  27021. "type": "number"
  27022. },
  27023. "unexespotqty": {
  27024. "description": "未执行现货量",
  27025. "type": "number"
  27026. },
  27027. "wrstandardcode": {
  27028. "description": "现货品类代码",
  27029. "type": "string"
  27030. },
  27031. "wrstandardid": {
  27032. "description": "现货品类ID(SEQ_WRSTANDARD)",
  27033. "type": "integer"
  27034. },
  27035. "wrstandardname": {
  27036. "description": "现货品类名称",
  27037. "type": "string"
  27038. }
  27039. }
  27040. },
  27041. "models.InternalUncorrelatedTradeDetail": {
  27042. "type": "object",
  27043. "properties": {
  27044. "accountid": {
  27045. "description": "账号ID",
  27046. "type": "integer"
  27047. },
  27048. "accountname": {
  27049. "description": "套期主体",
  27050. "type": "string"
  27051. },
  27052. "agreeunit": {
  27053. "description": "合约乘数",
  27054. "type": "number"
  27055. },
  27056. "areauserid": {
  27057. "description": "所属机构",
  27058. "type": "integer"
  27059. },
  27060. "bizsubjectid": {
  27061. "description": "归属业务部门ID - SubjectID",
  27062. "type": "integer"
  27063. },
  27064. "buyorsell": {
  27065. "description": "方向 - 0:买 1:卖",
  27066. "type": "integer"
  27067. },
  27068. "channelbuildtype": {
  27069. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27070. "type": "integer"
  27071. },
  27072. "convertratio": {
  27073. "description": "品种系数",
  27074. "type": "number"
  27075. },
  27076. "createtime": {
  27077. "description": "创建时间",
  27078. "type": "string"
  27079. },
  27080. "creatorid": {
  27081. "description": "创建人ID",
  27082. "type": "integer"
  27083. },
  27084. "creatorsrc": {
  27085. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  27086. "type": "integer"
  27087. },
  27088. "enableqty": {
  27089. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  27090. "type": "number"
  27091. },
  27092. "enumdicname": {
  27093. "description": "单位",
  27094. "type": "string"
  27095. },
  27096. "goodscode": {
  27097. "description": "合约代码",
  27098. "type": "string"
  27099. },
  27100. "goodsgroupid": {
  27101. "description": "对冲品种ID[期货合约商品组ID]",
  27102. "type": "integer"
  27103. },
  27104. "goodsid": {
  27105. "description": "商品ID",
  27106. "type": "integer"
  27107. },
  27108. "goodsname": {
  27109. "description": "合约名称",
  27110. "type": "string"
  27111. },
  27112. "hedgeditemid": {
  27113. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  27114. "type": "integer"
  27115. },
  27116. "hedgeflag": {
  27117. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  27118. "type": "integer"
  27119. },
  27120. "linkdetailid": {
  27121. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  27122. "type": "string"
  27123. },
  27124. "linkstatus": {
  27125. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  27126. "type": "integer"
  27127. },
  27128. "middlegoodsid": {
  27129. "description": "套保品种ID",
  27130. "type": "integer"
  27131. },
  27132. "middlegoodsqty": {
  27133. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  27134. "type": "number"
  27135. },
  27136. "relatedlot": {
  27137. "description": "[数量]关联手数",
  27138. "type": "number"
  27139. },
  27140. "relatedmode": {
  27141. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  27142. "type": "integer"
  27143. },
  27144. "relatedqty": {
  27145. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  27146. "type": "number"
  27147. },
  27148. "retcode": {
  27149. "description": "返回码",
  27150. "type": "integer"
  27151. },
  27152. "saleuserid": {
  27153. "description": "业务员ID",
  27154. "type": "integer"
  27155. },
  27156. "tradedate": {
  27157. "description": "关联交易日(yyyyMMdd)",
  27158. "type": "string"
  27159. },
  27160. "tradeid": {
  27161. "description": "成交单号",
  27162. "type": "string"
  27163. },
  27164. "tradelot": {
  27165. "description": "成交手数",
  27166. "type": "integer"
  27167. },
  27168. "tradeprice": {
  27169. "description": "成交价",
  27170. "type": "number"
  27171. },
  27172. "tradetime": {
  27173. "description": "成交时间",
  27174. "type": "string"
  27175. },
  27176. "tradetradedate": {
  27177. "description": "成交交易日(yyyyMMdd)",
  27178. "type": "string"
  27179. },
  27180. "tradeuserid": {
  27181. "description": "交易用户ID",
  27182. "type": "integer"
  27183. }
  27184. }
  27185. },
  27186. "models.Loginaccount": {
  27187. "type": "object",
  27188. "required": [
  27189. "loginid"
  27190. ],
  27191. "properties": {
  27192. "accountname": {
  27193. "description": "账户名称",
  27194. "type": "string"
  27195. },
  27196. "canoutin": {
  27197. "description": "是否可出入金 - 0:不可 1:可",
  27198. "type": "integer"
  27199. },
  27200. "clientroleid": {
  27201. "description": "终端角色ID",
  27202. "type": "integer"
  27203. },
  27204. "haslogined": {
  27205. "description": "是否已登录 - 0:未登录 1:已登录",
  27206. "type": "integer"
  27207. },
  27208. "hasupdatedpwd": {
  27209. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27210. "type": "integer"
  27211. },
  27212. "lastloginip": {
  27213. "description": "最新登录地址",
  27214. "type": "string"
  27215. },
  27216. "lastloginmode": {
  27217. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27218. "type": "integer"
  27219. },
  27220. "lastloginremark": {
  27221. "description": "最新登录描述",
  27222. "type": "string"
  27223. },
  27224. "lastlogintime": {
  27225. "description": "最新登录时间",
  27226. "type": "string"
  27227. },
  27228. "logincode": {
  27229. "description": "登录代码",
  27230. "type": "string"
  27231. },
  27232. "loginfailnum": {
  27233. "description": "连续登录失败次数(登录成功时清零)",
  27234. "type": "integer"
  27235. },
  27236. "loginid": {
  27237. "description": "登陆账号",
  27238. "type": "integer"
  27239. },
  27240. "loginport": {
  27241. "description": "最新登录端口",
  27242. "type": "integer"
  27243. },
  27244. "loginstatus": {
  27245. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27246. "type": "integer"
  27247. },
  27248. "loginusertype": {
  27249. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27250. "type": "integer"
  27251. },
  27252. "mobile": {
  27253. "description": "手机号码(加密存储)",
  27254. "type": "string"
  27255. },
  27256. "modifierid": {
  27257. "description": "修改人",
  27258. "type": "integer"
  27259. },
  27260. "modifysrc": {
  27261. "description": "审核来源 - 1:管理端 2:终端",
  27262. "type": "integer"
  27263. },
  27264. "modifytime": {
  27265. "description": "修改时间",
  27266. "type": "string"
  27267. },
  27268. "password": {
  27269. "description": "登陆密码",
  27270. "type": "string"
  27271. },
  27272. "pwdwrongcount": {
  27273. "description": "密码错误次数",
  27274. "type": "integer"
  27275. },
  27276. "relateduserid": {
  27277. "description": "关联用户ID(机构)",
  27278. "type": "integer"
  27279. },
  27280. "taaccountrighttype": {
  27281. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27282. "type": "integer"
  27283. },
  27284. "unfreezetime": {
  27285. "description": "账户解冻时间",
  27286. "type": "string"
  27287. },
  27288. "userid": {
  27289. "description": "用户ID",
  27290. "type": "integer"
  27291. }
  27292. }
  27293. },
  27294. "models.MainAccountInfo": {
  27295. "type": "object",
  27296. "properties": {
  27297. "accountid": {
  27298. "description": "账号id",
  27299. "type": "integer"
  27300. },
  27301. "accountname": {
  27302. "description": "账号名称(taaccount表中的名称)",
  27303. "type": "string"
  27304. },
  27305. "appid": {
  27306. "description": "AppID",
  27307. "type": "string"
  27308. },
  27309. "authcode": {
  27310. "description": "授权码",
  27311. "type": "string"
  27312. },
  27313. "brokerid": {
  27314. "description": "经纪商id",
  27315. "type": "string"
  27316. },
  27317. "fcid": {
  27318. "description": "期货公司id",
  27319. "type": "integer"
  27320. },
  27321. "fcname": {
  27322. "description": "期货公司代码",
  27323. "type": "string"
  27324. },
  27325. "hedgeaccountcode": {
  27326. "description": "外部账号代码(主账号登录代码)",
  27327. "type": "string"
  27328. },
  27329. "hedgeaccountpwd": {
  27330. "description": "密码",
  27331. "type": "string"
  27332. },
  27333. "ismain": {
  27334. "description": "是否主账号",
  27335. "type": "integer"
  27336. },
  27337. "relateduserid": {
  27338. "description": "关联用户id",
  27339. "type": "integer"
  27340. },
  27341. "userid": {
  27342. "description": "关联用户id",
  27343. "type": "integer"
  27344. }
  27345. }
  27346. },
  27347. "models.Market": {
  27348. "type": "object",
  27349. "required": [
  27350. "marketid",
  27351. "marketstatus",
  27352. "openmethod",
  27353. "reckonpricealgorithm",
  27354. "trademode",
  27355. "tradeproperty"
  27356. ],
  27357. "properties": {
  27358. "auctionwrtype": {
  27359. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27360. "type": "integer"
  27361. },
  27362. "canacceptquote": {
  27363. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27364. "type": "integer"
  27365. },
  27366. "cangoodsexercise": {
  27367. "description": "[期权]是否可现货行权- 0:否 1:是",
  27368. "type": "integer"
  27369. },
  27370. "cangoodsexercisetype": {
  27371. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27372. "type": "integer"
  27373. },
  27374. "canmanualquotestrike": {
  27375. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27376. "type": "integer"
  27377. },
  27378. "canmutistage": {
  27379. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27380. "type": "integer"
  27381. },
  27382. "canpreexercise": {
  27383. "description": "[期权]是否可预申报- 0:否 1:是",
  27384. "type": "integer"
  27385. },
  27386. "clearinterval": {
  27387. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27388. "type": "integer"
  27389. },
  27390. "contracttmp": {
  27391. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27392. "type": "string"
  27393. },
  27394. "exchareaid": {
  27395. "description": "所属交易所,可以没有",
  27396. "type": "integer"
  27397. },
  27398. "goodstype": {
  27399. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27400. "type": "integer"
  27401. },
  27402. "hasrebate": {
  27403. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27404. "type": "integer"
  27405. },
  27406. "hastradecredit": {
  27407. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27408. "type": "integer"
  27409. },
  27410. "haswr": {
  27411. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27412. "type": "integer"
  27413. },
  27414. "isdeductmargin": {
  27415. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27416. "type": "integer"
  27417. },
  27418. "isrecordsource": {
  27419. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27420. "type": "integer"
  27421. },
  27422. "isreleasemargin": {
  27423. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27424. "type": "integer"
  27425. },
  27426. "marginformula": {
  27427. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27428. "type": "integer"
  27429. },
  27430. "marginformula2": {
  27431. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27432. "type": "integer"
  27433. },
  27434. "marketid": {
  27435. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27436. "type": "integer"
  27437. },
  27438. "marketname": {
  27439. "description": "市场名称",
  27440. "type": "string"
  27441. },
  27442. "marketserviceid": {
  27443. "description": "市场服务ID",
  27444. "type": "integer"
  27445. },
  27446. "marketstatus": {
  27447. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27448. "type": "integer"
  27449. },
  27450. "markettype": {
  27451. "description": "市场类型- 1:非交易服务 2:交易服务",
  27452. "type": "integer"
  27453. },
  27454. "matchermode": {
  27455. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27456. "type": "integer"
  27457. },
  27458. "openmethod": {
  27459. "description": "开盘模式 - 0 自动 1手动",
  27460. "type": "integer"
  27461. },
  27462. "otcuserid": {
  27463. "description": "场外期权做市商[场外期权]",
  27464. "type": "integer"
  27465. },
  27466. "outersynctime": {
  27467. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27468. "type": "string"
  27469. },
  27470. "pendingflag": {
  27471. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27472. "type": "integer"
  27473. },
  27474. "pendingtime": {
  27475. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27476. "type": "string"
  27477. },
  27478. "performancetempid": {
  27479. "description": "履约计划模板ID - 作废",
  27480. "type": "integer"
  27481. },
  27482. "premiumquotemode": {
  27483. "description": "权利金报价方式 - 1:自动 2:手动",
  27484. "type": "integer"
  27485. },
  27486. "rebateratio": {
  27487. "description": "返利比率[竞价式]",
  27488. "type": "number"
  27489. },
  27490. "reckonorder": {
  27491. "description": "结算顺序",
  27492. "type": "integer"
  27493. },
  27494. "reckonpricealgorithm": {
  27495. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27496. "type": "integer"
  27497. },
  27498. "reckonpriceparam": {
  27499. "description": "结算价参数",
  27500. "type": "integer"
  27501. },
  27502. "reckontime": {
  27503. "description": "结算时间[通道交易-对冲](HH:mm)",
  27504. "type": "string"
  27505. },
  27506. "roleprioritytype": {
  27507. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27508. "type": "integer"
  27509. },
  27510. "selllistingauditflag": {
  27511. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27512. "type": "integer"
  27513. },
  27514. "trademarkettype": {
  27515. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27516. "type": "integer"
  27517. },
  27518. "trademode": {
  27519. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27520. "type": "integer"
  27521. },
  27522. "tradeproperty": {
  27523. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27524. "type": "integer"
  27525. },
  27526. "tradetype": {
  27527. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27528. "type": "integer"
  27529. }
  27530. }
  27531. },
  27532. "models.Marketcalendar": {
  27533. "type": "object",
  27534. "properties": {
  27535. "holidaydate": {
  27536. "description": "节假日期(yyyy-MM-dd)",
  27537. "type": "string"
  27538. },
  27539. "marketid": {
  27540. "description": "市场ID",
  27541. "type": "integer"
  27542. }
  27543. }
  27544. },
  27545. "models.Marketrun": {
  27546. "type": "object",
  27547. "required": [
  27548. "marketid",
  27549. "nexttradedate",
  27550. "reckonflag",
  27551. "runstatus",
  27552. "tradedate",
  27553. "tradedate2"
  27554. ],
  27555. "properties": {
  27556. "afternexttradedate": {
  27557. "description": "下下交易日",
  27558. "type": "string"
  27559. },
  27560. "clearquoteflag": {
  27561. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27562. "type": "integer"
  27563. },
  27564. "lastreckondate": {
  27565. "description": "最新交易日(结算成功)",
  27566. "type": "string"
  27567. },
  27568. "machinedate": {
  27569. "description": "机器时间",
  27570. "type": "string"
  27571. },
  27572. "manualflag": {
  27573. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27574. "type": "integer"
  27575. },
  27576. "marketid": {
  27577. "description": "市场ID",
  27578. "type": "integer"
  27579. },
  27580. "nexttradedate": {
  27581. "description": "下一交易日",
  27582. "type": "string"
  27583. },
  27584. "pretradedate": {
  27585. "description": "上一交易日",
  27586. "type": "string"
  27587. },
  27588. "reckonflag": {
  27589. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27590. "type": "integer"
  27591. },
  27592. "runstatus": {
  27593. "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.今日免清算",
  27594. "type": "integer"
  27595. },
  27596. "sectionid": {
  27597. "description": "时间段号[多时段时用]",
  27598. "type": "integer"
  27599. },
  27600. "tradedate": {
  27601. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27602. "type": "string"
  27603. },
  27604. "tradedate2": {
  27605. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27606. "type": "string"
  27607. },
  27608. "updatetime": {
  27609. "description": "更新时间",
  27610. "type": "string"
  27611. }
  27612. }
  27613. },
  27614. "models.Messageboard": {
  27615. "type": "object",
  27616. "required": [
  27617. "messageboardid"
  27618. ],
  27619. "properties": {
  27620. "contactnum": {
  27621. "description": "联系电话",
  27622. "type": "string"
  27623. },
  27624. "createtime": {
  27625. "description": "创建时间",
  27626. "type": "string"
  27627. },
  27628. "message": {
  27629. "description": "留言信息",
  27630. "type": "string"
  27631. },
  27632. "messageboardid": {
  27633. "description": "留言簿ID(SEQ_MessageBoard)",
  27634. "type": "integer"
  27635. },
  27636. "userid": {
  27637. "description": "用户ID",
  27638. "type": "integer"
  27639. }
  27640. }
  27641. },
  27642. "models.MyBargainApply": {
  27643. "type": "object",
  27644. "required": [
  27645. "userid"
  27646. ],
  27647. "properties": {
  27648. "accountid": {
  27649. "description": "摘牌资金账号",
  27650. "type": "integer"
  27651. },
  27652. "applyprice": {
  27653. "description": "申请价格",
  27654. "type": "string"
  27655. },
  27656. "applyremark": {
  27657. "description": "申请备注",
  27658. "type": "string"
  27659. },
  27660. "applystatus": {
  27661. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  27662. "type": "integer"
  27663. },
  27664. "applytime": {
  27665. "description": "申请时间",
  27666. "type": "string"
  27667. },
  27668. "buyorsell": {
  27669. "description": "买卖 - 0:买 1:卖",
  27670. "type": "integer"
  27671. },
  27672. "confirmprice": {
  27673. "description": "可接受价格(拒绝时填写)-作废",
  27674. "type": "number"
  27675. },
  27676. "confirmqty": {
  27677. "description": "可接受数量(拒绝时填写)-作废",
  27678. "type": "integer"
  27679. },
  27680. "confirmremark": {
  27681. "description": "确认备注",
  27682. "type": "string"
  27683. },
  27684. "confirmtime": {
  27685. "description": "确认时间",
  27686. "type": "string"
  27687. },
  27688. "confirmuserid": {
  27689. "description": "确认人",
  27690. "type": "integer"
  27691. },
  27692. "handlestatus": {
  27693. "description": "处理状态",
  27694. "type": "integer"
  27695. },
  27696. "ladingbillid": {
  27697. "description": "摘牌方提单ID [卖]",
  27698. "type": "integer"
  27699. },
  27700. "marketid": {
  27701. "description": "市场ID",
  27702. "type": "integer"
  27703. },
  27704. "matchaccountid": {
  27705. "description": "挂牌方资金账号",
  27706. "type": "integer"
  27707. },
  27708. "matchuserid": {
  27709. "description": "挂牌方用户ID",
  27710. "type": "integer"
  27711. },
  27712. "qty": {
  27713. "description": "申请数量",
  27714. "type": "integer"
  27715. },
  27716. "refprice": {
  27717. "description": "参考价格",
  27718. "type": "string"
  27719. },
  27720. "retcode": {
  27721. "description": "委托返回代码",
  27722. "type": "integer"
  27723. },
  27724. "sellusername": {
  27725. "description": "卖方",
  27726. "type": "string"
  27727. },
  27728. "subnum": {
  27729. "description": "摘牌方提单子单号 [卖]",
  27730. "type": "integer"
  27731. },
  27732. "tradedate": {
  27733. "description": "交易日(yyyyMMdd)",
  27734. "type": "string"
  27735. },
  27736. "userid": {
  27737. "description": "摘牌人用户ID",
  27738. "type": "integer"
  27739. },
  27740. "wrbargainid": {
  27741. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  27742. "type": "integer"
  27743. },
  27744. "wrtradeorderid": {
  27745. "description": "关联委托单ID",
  27746. "type": "integer"
  27747. }
  27748. }
  27749. },
  27750. "models.MyBuyOrder": {
  27751. "type": "object",
  27752. "required": [
  27753. "userid"
  27754. ],
  27755. "properties": {
  27756. "accountid": {
  27757. "description": "资金账户ID",
  27758. "type": "integer"
  27759. },
  27760. "marketid": {
  27761. "description": "市场ID",
  27762. "type": "integer"
  27763. },
  27764. "ordertime": {
  27765. "description": "委托时间",
  27766. "type": "string"
  27767. },
  27768. "origin": {
  27769. "description": "原产地",
  27770. "type": "string"
  27771. },
  27772. "remark": {
  27773. "description": "备注",
  27774. "type": "string"
  27775. },
  27776. "userid": {
  27777. "description": "用户ID",
  27778. "type": "integer"
  27779. },
  27780. "validtime": {
  27781. "description": "有效期限",
  27782. "type": "string"
  27783. },
  27784. "warehouseids": {
  27785. "description": "仓库ID - 多个, 逗号分隔",
  27786. "type": "string"
  27787. },
  27788. "warehouseinfosdisplay": {
  27789. "type": "string"
  27790. },
  27791. "wrtradeorderid": {
  27792. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  27793. "type": "integer"
  27794. },
  27795. "wrtradeorderstatus": {
  27796. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、",
  27797. "type": "integer"
  27798. },
  27799. "zscategory": {
  27800. "description": "钻石分类 - 枚举”ZSCategory“",
  27801. "type": "integer"
  27802. },
  27803. "zscategorydisplay": {
  27804. "type": "string"
  27805. },
  27806. "zsclaritytype": {
  27807. "description": "净度 - 两个, 逗号分隔",
  27808. "type": "string"
  27809. },
  27810. "zsclaritytypedisplay": {
  27811. "type": "string"
  27812. },
  27813. "zscolortype": {
  27814. "description": "颜色 - 两个, 逗号分隔",
  27815. "type": "string"
  27816. },
  27817. "zscolortypedisplay": {
  27818. "type": "string"
  27819. },
  27820. "zscrystaltype": {
  27821. "description": "晶型 - 多个,逗号分隔",
  27822. "type": "string"
  27823. },
  27824. "zscrystaltypedisplay": {
  27825. "type": "string"
  27826. },
  27827. "zscurrencytype": {
  27828. "description": "货币类型 - 多个, 逗号分隔",
  27829. "type": "string"
  27830. },
  27831. "zscurrencytypedisplay": {
  27832. "type": "string"
  27833. },
  27834. "zscuttype": {
  27835. "description": "切工 - 两个, 逗号分隔",
  27836. "type": "string"
  27837. },
  27838. "zscuttypedisplay": {
  27839. "type": "string"
  27840. },
  27841. "zsczcolor1type": {
  27842. "description": "彩钻颜色1, 逗号分隔",
  27843. "type": "string"
  27844. },
  27845. "zsczcolor1typedisplay": {
  27846. "type": "string"
  27847. },
  27848. "zsczcolor2type": {
  27849. "description": "彩钻颜色2, 逗号分隔",
  27850. "type": "string"
  27851. },
  27852. "zsczcolor2typedisplay": {
  27853. "type": "string"
  27854. },
  27855. "zsczcolor3type": {
  27856. "description": "彩钻颜色3, 逗号分隔",
  27857. "type": "string"
  27858. },
  27859. "zsczcolor3typedisplay": {
  27860. "type": "string"
  27861. },
  27862. "zsfluorescencetype": {
  27863. "description": "荧光 - 多个, 逗号分隔",
  27864. "type": "string"
  27865. },
  27866. "zsfluorescencetypedisplay": {
  27867. "type": "string"
  27868. },
  27869. "zspolishtype": {
  27870. "description": "抛光度 - 两个, 逗号分隔",
  27871. "type": "string"
  27872. },
  27873. "zspolishtypedisplay": {
  27874. "type": "string"
  27875. },
  27876. "zsshapetype": {
  27877. "description": "形状 - 多个, 逗号分隔",
  27878. "type": "string"
  27879. },
  27880. "zsshapetypedisplay": {
  27881. "type": "string"
  27882. },
  27883. "zssize": {
  27884. "description": "尺寸 - 两个小数, 逗号分隔",
  27885. "type": "string"
  27886. },
  27887. "zsstyletype": {
  27888. "description": "款式 - 多个, 逗号分隔",
  27889. "type": "string"
  27890. },
  27891. "zsstyletypedisplay": {
  27892. "type": "string"
  27893. },
  27894. "zssymmetrytype": {
  27895. "description": "对称度 - 两个, 逗号分隔",
  27896. "type": "string"
  27897. },
  27898. "zssymmetrytypedisplay": {
  27899. "type": "string"
  27900. },
  27901. "zstabledisplay": {
  27902. "description": "求购信息",
  27903. "type": "string"
  27904. }
  27905. }
  27906. },
  27907. "models.MyDeListing": {
  27908. "type": "object",
  27909. "required": [
  27910. "userid"
  27911. ],
  27912. "properties": {
  27913. "buyaccountid": {
  27914. "description": "买方账号ID",
  27915. "type": "integer"
  27916. },
  27917. "buychargevalue": {
  27918. "description": "买方手续费",
  27919. "type": "number"
  27920. },
  27921. "buyorsell": {
  27922. "description": "方向 - 0:全部 1:买 2:卖",
  27923. "type": "integer"
  27924. },
  27925. "buyuserid": {
  27926. "description": "买方用户ID",
  27927. "type": "integer"
  27928. },
  27929. "deliverygoodsid": {
  27930. "description": "现货品种ID",
  27931. "type": "integer"
  27932. },
  27933. "exchangerate": {
  27934. "description": "汇率",
  27935. "type": "number"
  27936. },
  27937. "goodsno": {
  27938. "description": "商品编号",
  27939. "type": "string"
  27940. },
  27941. "marketid": {
  27942. "description": "市场ID",
  27943. "type": "integer"
  27944. },
  27945. "matchusername": {
  27946. "description": "对手方",
  27947. "type": "string"
  27948. },
  27949. "oritradeamount": {
  27950. "description": "成交金额[商品币种]",
  27951. "type": "number"
  27952. },
  27953. "performanceplanid": {
  27954. "description": "履约计划ID/合同ID",
  27955. "type": "integer"
  27956. },
  27957. "qty": {
  27958. "description": "成交重量",
  27959. "type": "number"
  27960. },
  27961. "sellaccountid": {
  27962. "description": "卖方账号ID",
  27963. "type": "integer"
  27964. },
  27965. "sellchargevalue": {
  27966. "description": "卖方手续费",
  27967. "type": "number"
  27968. },
  27969. "selluserid": {
  27970. "description": "卖方用户ID",
  27971. "type": "integer"
  27972. },
  27973. "tradeamount": {
  27974. "description": "成交金额",
  27975. "type": "number"
  27976. },
  27977. "tradedate": {
  27978. "description": "交易日(yyyyMMdd)",
  27979. "type": "string"
  27980. },
  27981. "tradeprice": {
  27982. "description": "成交价格",
  27983. "type": "number"
  27984. },
  27985. "tradetime": {
  27986. "description": "成交时间",
  27987. "type": "string"
  27988. },
  27989. "userid": {
  27990. "description": "用户ID",
  27991. "type": "integer"
  27992. },
  27993. "wrfactortypeid": {
  27994. "description": "仓单要素类型ID",
  27995. "type": "integer"
  27996. },
  27997. "wrstandardid": {
  27998. "description": "现货商品ID",
  27999. "type": "integer"
  28000. },
  28001. "wrtradedetailid": {
  28002. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  28003. "type": "integer"
  28004. },
  28005. "zscategory": {
  28006. "description": "钻石分类 - 枚举”ZSCategory“",
  28007. "type": "integer"
  28008. },
  28009. "zscategorydisplay": {
  28010. "type": "string"
  28011. },
  28012. "zscurrencytype": {
  28013. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28014. "type": "integer"
  28015. }
  28016. }
  28017. },
  28018. "models.MyDelistingApply": {
  28019. "type": "object",
  28020. "required": [
  28021. "selluserid"
  28022. ],
  28023. "properties": {
  28024. "applyprice": {
  28025. "description": "申请价格",
  28026. "type": "number"
  28027. },
  28028. "applyqty": {
  28029. "description": "申请数量",
  28030. "type": "number"
  28031. },
  28032. "applyremark": {
  28033. "description": "申请备注",
  28034. "type": "string"
  28035. },
  28036. "applystatus": {
  28037. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  28038. "type": "integer"
  28039. },
  28040. "applytime": {
  28041. "description": "申请时间",
  28042. "type": "string"
  28043. },
  28044. "auditremark": {
  28045. "description": "确认备注",
  28046. "type": "string"
  28047. },
  28048. "audittime": {
  28049. "description": "确认时间",
  28050. "type": "string"
  28051. },
  28052. "buyuserid": {
  28053. "description": "买方用户ID",
  28054. "type": "integer"
  28055. },
  28056. "buyusername": {
  28057. "description": "买方",
  28058. "type": "string"
  28059. },
  28060. "buywrtradeorderid": {
  28061. "description": "买委托单ID",
  28062. "type": "integer"
  28063. },
  28064. "ladingbillid": {
  28065. "description": "卖方提单ID",
  28066. "type": "integer"
  28067. },
  28068. "marketid": {
  28069. "description": "市场ID",
  28070. "type": "integer"
  28071. },
  28072. "sellaccountid": {
  28073. "description": "卖方账户ID",
  28074. "type": "integer"
  28075. },
  28076. "selldelistingapplyid": {
  28077. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  28078. "type": "integer"
  28079. },
  28080. "selltradeorderid": {
  28081. "description": "卖方委托ID(买方确认成交后更新)",
  28082. "type": "integer"
  28083. },
  28084. "selluserid": {
  28085. "description": "卖方用户ID",
  28086. "type": "integer"
  28087. },
  28088. "subnum": {
  28089. "description": "卖方提单子单号",
  28090. "type": "integer"
  28091. },
  28092. "wrfactortypeid": {
  28093. "description": "仓单要素类型ID",
  28094. "type": "integer"
  28095. },
  28096. "wrstandardid": {
  28097. "description": "现货商品ID",
  28098. "type": "integer"
  28099. }
  28100. }
  28101. },
  28102. "models.MySellOrder": {
  28103. "type": "object",
  28104. "required": [
  28105. "userid"
  28106. ],
  28107. "properties": {
  28108. "accountid": {
  28109. "description": "资金账号",
  28110. "type": "integer"
  28111. },
  28112. "applyid": {
  28113. "description": "申请单ID",
  28114. "type": "integer"
  28115. },
  28116. "attachment1": {
  28117. "description": "附件1",
  28118. "type": "string"
  28119. },
  28120. "attachment2": {
  28121. "description": "附件2",
  28122. "type": "string"
  28123. },
  28124. "buyorsell": {
  28125. "description": "买卖 - 0:买 1:卖",
  28126. "type": "integer"
  28127. },
  28128. "canbargain": {
  28129. "description": "是否可议价 - 0:不可 1:可",
  28130. "type": "integer"
  28131. },
  28132. "cancelqty": {
  28133. "description": "撤销数量",
  28134. "type": "integer"
  28135. },
  28136. "canceltime": {
  28137. "description": "撤销时间",
  28138. "type": "string"
  28139. },
  28140. "chargealgorithm": {
  28141. "description": "手续费收取方式 1:比率 2:固定",
  28142. "type": "integer"
  28143. },
  28144. "chargealgorithmvalue": {
  28145. "description": "手续费设置值(交易所部分)",
  28146. "type": "number"
  28147. },
  28148. "chargealgorithmvalue2": {
  28149. "description": "手续费设置值(会员部分)",
  28150. "type": "number"
  28151. },
  28152. "clientordertime": {
  28153. "description": "客户端委托时间",
  28154. "type": "string"
  28155. },
  28156. "exchangerate": {
  28157. "description": "汇率[67]",
  28158. "type": "number"
  28159. },
  28160. "firstratio": {
  28161. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  28162. "type": "number"
  28163. },
  28164. "fixedprice": {
  28165. "description": "[克拉单价]固定价格 - [挂牌]",
  28166. "type": "number"
  28167. },
  28168. "freezecharge": {
  28169. "description": "冻结手续费",
  28170. "type": "number"
  28171. },
  28172. "freezefirstamount": {
  28173. "description": "冻结首付金额 - [摘牌]",
  28174. "type": "number"
  28175. },
  28176. "freezemargin": {
  28177. "description": "冻结保证金",
  28178. "type": "number"
  28179. },
  28180. "goodsno": {
  28181. "description": "商品编号",
  28182. "type": "string"
  28183. },
  28184. "isspecified": {
  28185. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  28186. "type": "integer"
  28187. },
  28188. "marginalgorithm": {
  28189. "description": "保证金方式 - 1:比率 2:固定",
  28190. "type": "integer"
  28191. },
  28192. "marginvalue": {
  28193. "description": "保证金设置值",
  28194. "type": "number"
  28195. },
  28196. "marketid": {
  28197. "description": "市场ID",
  28198. "type": "integer"
  28199. },
  28200. "orderamount": {
  28201. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  28202. "type": "number"
  28203. },
  28204. "ordertime": {
  28205. "description": "委托时间",
  28206. "type": "string"
  28207. },
  28208. "performancetemplateid": {
  28209. "description": "履约计划模板ID",
  28210. "type": "integer"
  28211. },
  28212. "pricefactor": {
  28213. "description": "价格系数(浮动价时填写) - [挂牌]",
  28214. "type": "number"
  28215. },
  28216. "pricemove": {
  28217. "description": "升贴水(浮动价时填写) - [挂牌]",
  28218. "type": "number"
  28219. },
  28220. "relatedwrtradeorderid": {
  28221. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  28222. "type": "integer"
  28223. },
  28224. "retcode": {
  28225. "description": "错误代码",
  28226. "type": "integer"
  28227. },
  28228. "selledqty": {
  28229. "description": "成交重量",
  28230. "type": "number"
  28231. },
  28232. "totalqty": {
  28233. "description": "总重量",
  28234. "type": "number"
  28235. },
  28236. "tradedate": {
  28237. "description": "交易日(yyyyMMdd)",
  28238. "type": "string"
  28239. },
  28240. "tradeprice": {
  28241. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  28242. "type": "number"
  28243. },
  28244. "unfreezecharge": {
  28245. "description": "解冻手续费",
  28246. "type": "number"
  28247. },
  28248. "unfreezefirstamount": {
  28249. "description": "解冻首付金额 - [摘牌]",
  28250. "type": "number"
  28251. },
  28252. "unfreezemargin": {
  28253. "description": "解冻保证金",
  28254. "type": "number"
  28255. },
  28256. "userid": {
  28257. "description": "用户ID",
  28258. "type": "integer"
  28259. },
  28260. "uuid": {
  28261. "description": "发起端唯一id",
  28262. "type": "string"
  28263. },
  28264. "validtime": {
  28265. "description": "有效期限",
  28266. "type": "string"
  28267. },
  28268. "validtype": {
  28269. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  28270. "type": "integer"
  28271. },
  28272. "wrbargainid": {
  28273. "description": "议价申请单ID",
  28274. "type": "integer"
  28275. },
  28276. "wrfactortypeid": {
  28277. "description": "仓单要素类型ID/商品ID(77)",
  28278. "type": "integer"
  28279. },
  28280. "wrpricetype": {
  28281. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  28282. "type": "integer"
  28283. },
  28284. "wrstandardid": {
  28285. "description": "现货商品ID",
  28286. "type": "integer"
  28287. },
  28288. "wrtradeorderid": {
  28289. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  28290. "type": "integer"
  28291. },
  28292. "wrtradeorderstatus": {
  28293. "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:撤单解冻贷款失败",
  28294. "type": "integer"
  28295. },
  28296. "wrtradetype": {
  28297. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  28298. "type": "integer"
  28299. },
  28300. "wrtransferuserid": {
  28301. "description": "仓单受让用户 - [摘牌]",
  28302. "type": "integer"
  28303. },
  28304. "zscategory": {
  28305. "description": "钻石分类 - 枚举”ZSCategory“",
  28306. "type": "integer"
  28307. },
  28308. "zscategorydisplay": {
  28309. "description": "钻石分类 - 描述",
  28310. "type": "string"
  28311. },
  28312. "zscurrencytype": {
  28313. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28314. "type": "integer"
  28315. }
  28316. }
  28317. },
  28318. "models.MyWRPosition": {
  28319. "type": "object",
  28320. "required": [
  28321. "wruserid"
  28322. ],
  28323. "properties": {
  28324. "cerno": {
  28325. "description": "证书编号 - 类型:2,4,5",
  28326. "type": "string"
  28327. },
  28328. "cpcertno": {
  28329. "description": "金伯利证书编号 - 类型:3",
  28330. "type": "string"
  28331. },
  28332. "ffreezeqty": {
  28333. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  28334. "type": "number"
  28335. },
  28336. "ftotalqty": {
  28337. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  28338. "type": "number"
  28339. },
  28340. "goodsno": {
  28341. "description": "商品编号",
  28342. "type": "string"
  28343. },
  28344. "imagepath": {
  28345. "description": "商品照片(相对地址)",
  28346. "type": "string"
  28347. },
  28348. "isvalid": {
  28349. "description": "是否有效 - 0:无效 1:有效",
  28350. "type": "integer"
  28351. },
  28352. "kppath": {
  28353. "description": "金伯利证书图片(相对地址) - 类型:3",
  28354. "type": "string"
  28355. },
  28356. "kpweight": {
  28357. "description": "金伯利证书重量 - 类型:3",
  28358. "type": "string"
  28359. },
  28360. "ladingbillid": {
  28361. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  28362. "type": "integer"
  28363. },
  28364. "marketprice": {
  28365. "description": "市场价",
  28366. "type": "string"
  28367. },
  28368. "origin": {
  28369. "description": "原产地 - 类型:3",
  28370. "type": "string"
  28371. },
  28372. "price": {
  28373. "description": "总价(价格) - 类型:1,2,3,4,5",
  28374. "type": "number"
  28375. },
  28376. "priceper": {
  28377. "description": "克拉单价 - 类型:1,2,3,5",
  28378. "type": "string"
  28379. },
  28380. "remark": {
  28381. "description": "备注",
  28382. "type": "string"
  28383. },
  28384. "sellmobile": {
  28385. "description": "手机号码(加密存储)",
  28386. "type": "string"
  28387. },
  28388. "sellusername": {
  28389. "description": "账户名称(机构名称)",
  28390. "type": "string"
  28391. },
  28392. "settingmaterial": {
  28393. "description": "镶嵌材料 - 类型:4",
  28394. "type": "string"
  28395. },
  28396. "size1": {
  28397. "description": "尺寸1 - 类型:2,4,5",
  28398. "type": "string"
  28399. },
  28400. "size2": {
  28401. "description": "尺寸2 - 类型:2,4,5",
  28402. "type": "string"
  28403. },
  28404. "size3": {
  28405. "description": "尺寸3 - 类型:2,4,5",
  28406. "type": "string"
  28407. },
  28408. "stonedesc": {
  28409. "description": "配石描述 - 类型:4",
  28410. "type": "string"
  28411. },
  28412. "subnum": {
  28413. "description": "提单子单号",
  28414. "type": "integer"
  28415. },
  28416. "userid": {
  28417. "description": "用户ID",
  28418. "type": "integer"
  28419. },
  28420. "warehouseid": {
  28421. "description": "仓库ID",
  28422. "type": "integer"
  28423. },
  28424. "warehousenamedisplay": {
  28425. "type": "string"
  28426. },
  28427. "weight": {
  28428. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  28429. "type": "number"
  28430. },
  28431. "weightavg": {
  28432. "description": "平均单颗重量 - 类型:1,3",
  28433. "type": "number"
  28434. },
  28435. "wrpath": {
  28436. "description": "仓单扫描件(相对地址)",
  28437. "type": "string"
  28438. },
  28439. "wrstandardid": {
  28440. "description": "现货商品ID",
  28441. "type": "integer"
  28442. },
  28443. "wruserid": {
  28444. "description": "登录用户ID",
  28445. "type": "integer"
  28446. },
  28447. "zscategory": {
  28448. "description": "钻石分类 - 枚举”ZSCategory“",
  28449. "type": "integer"
  28450. },
  28451. "zscategorydisplay": {
  28452. "type": "string"
  28453. },
  28454. "zscerttype": {
  28455. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  28456. "type": "integer"
  28457. },
  28458. "zscerttypedisplay": {
  28459. "type": "string"
  28460. },
  28461. "zsclaritytype1": {
  28462. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  28463. "type": "integer"
  28464. },
  28465. "zsclaritytype1display": {
  28466. "type": "string"
  28467. },
  28468. "zsclaritytype2": {
  28469. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  28470. "type": "integer"
  28471. },
  28472. "zsclaritytype2display": {
  28473. "type": "string"
  28474. },
  28475. "zscolortype1": {
  28476. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  28477. "type": "integer"
  28478. },
  28479. "zscolortype1display": {
  28480. "type": "string"
  28481. },
  28482. "zscolortype2": {
  28483. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  28484. "type": "integer"
  28485. },
  28486. "zscolortype2display": {
  28487. "type": "string"
  28488. },
  28489. "zscrystaltype": {
  28490. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  28491. "type": "string"
  28492. },
  28493. "zscrystaltypedisplay": {
  28494. "type": "string"
  28495. },
  28496. "zscurrencytype": {
  28497. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28498. "type": "integer"
  28499. },
  28500. "zscurrencytypedisplay": {
  28501. "type": "string"
  28502. },
  28503. "zscurrencytypedisplayunit": {
  28504. "type": "string"
  28505. },
  28506. "zscuttype1": {
  28507. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  28508. "type": "integer"
  28509. },
  28510. "zscuttype1display": {
  28511. "type": "string"
  28512. },
  28513. "zscuttype2": {
  28514. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  28515. "type": "integer"
  28516. },
  28517. "zscuttype2display": {
  28518. "type": "string"
  28519. },
  28520. "zsczcolor1type": {
  28521. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  28522. "type": "integer"
  28523. },
  28524. "zsczcolor1typedisplay": {
  28525. "type": "string"
  28526. },
  28527. "zsczcolor2type": {
  28528. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  28529. "type": "integer"
  28530. },
  28531. "zsczcolor2typedisplay": {
  28532. "type": "string"
  28533. },
  28534. "zsczcolor3type": {
  28535. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  28536. "type": "integer"
  28537. },
  28538. "zsczcolor3typedisplay": {
  28539. "type": "string"
  28540. },
  28541. "zsfluorescencetype1": {
  28542. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  28543. "type": "integer"
  28544. },
  28545. "zsfluorescencetype1display": {
  28546. "type": "string"
  28547. },
  28548. "zsfluorescencetype2": {
  28549. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  28550. "type": "integer"
  28551. },
  28552. "zsfluorescencetype2display": {
  28553. "type": "string"
  28554. },
  28555. "zspolishtype1": {
  28556. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  28557. "type": "integer"
  28558. },
  28559. "zspolishtype1display": {
  28560. "type": "string"
  28561. },
  28562. "zspolishtype2": {
  28563. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  28564. "type": "integer"
  28565. },
  28566. "zspolishtype2display": {
  28567. "type": "string"
  28568. },
  28569. "zsshapetype": {
  28570. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  28571. "type": "string"
  28572. },
  28573. "zsshapetypedisplay": {
  28574. "type": "string"
  28575. },
  28576. "zsstyletype": {
  28577. "description": "款式 - 类型:4",
  28578. "type": "integer"
  28579. },
  28580. "zsstyletypedisplay": {
  28581. "type": "string"
  28582. },
  28583. "zssymmetrytype1": {
  28584. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  28585. "type": "integer"
  28586. },
  28587. "zssymmetrytype1display": {
  28588. "type": "string"
  28589. },
  28590. "zssymmetrytype2": {
  28591. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  28592. "type": "integer"
  28593. },
  28594. "zssymmetrytype2display": {
  28595. "type": "string"
  28596. }
  28597. }
  28598. },
  28599. "models.NewFuncmenulist": {
  28600. "type": "object",
  28601. "required": [
  28602. "resourcecode"
  28603. ],
  28604. "properties": {
  28605. "authtype": {
  28606. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  28607. "type": "integer"
  28608. },
  28609. "buttonname": {
  28610. "description": "按钮名称",
  28611. "type": "string"
  28612. },
  28613. "buttontype": {
  28614. "description": "按钮类型 - 存按钮样式",
  28615. "type": "string"
  28616. },
  28617. "component": {
  28618. "description": "组件名或组件地址",
  28619. "type": "string"
  28620. },
  28621. "hidden": {
  28622. "description": "是否隐藏 - 0:显示 1:隐藏",
  28623. "type": "integer"
  28624. },
  28625. "iconame": {
  28626. "description": "菜单图标",
  28627. "type": "string"
  28628. },
  28629. "menutype": {
  28630. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  28631. "type": "integer"
  28632. },
  28633. "parentcode": {
  28634. "description": "上级资源代码",
  28635. "type": "string"
  28636. },
  28637. "remark": {
  28638. "description": "Remark",
  28639. "type": "string"
  28640. },
  28641. "resourcecode": {
  28642. "description": "资源代码",
  28643. "type": "string"
  28644. },
  28645. "resourcelevel": {
  28646. "description": "级别1-一级 2-二级 3-三级4-四级",
  28647. "type": "integer"
  28648. },
  28649. "resourcename": {
  28650. "description": "资源名(Title)",
  28651. "type": "string"
  28652. },
  28653. "sort": {
  28654. "description": "排序",
  28655. "type": "integer"
  28656. },
  28657. "url": {
  28658. "description": "Url",
  28659. "type": "string"
  28660. },
  28661. "urltype": {
  28662. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  28663. "type": "integer"
  28664. }
  28665. }
  28666. },
  28667. "models.OperationPrimaryMenu": {
  28668. "type": "object",
  28669. "properties": {
  28670. "Children": {
  28671. "description": "二级功能菜单",
  28672. "type": "array",
  28673. "items": {
  28674. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28675. }
  28676. },
  28677. "Key": {
  28678. "description": "菜单KEY",
  28679. "type": "string"
  28680. },
  28681. "Label": {
  28682. "description": "菜单标题",
  28683. "type": "string"
  28684. }
  28685. }
  28686. },
  28687. "models.OperationSecondaryMenu": {
  28688. "type": "object",
  28689. "properties": {
  28690. "Key": {
  28691. "description": "菜单KEY",
  28692. "type": "string"
  28693. },
  28694. "Label": {
  28695. "description": "菜单标题",
  28696. "type": "string"
  28697. },
  28698. "TabList": {
  28699. "description": "三级功能菜单",
  28700. "type": "array",
  28701. "items": {
  28702. "$ref": "#/definitions/models.OperationTabMenu"
  28703. }
  28704. }
  28705. }
  28706. },
  28707. "models.OperationTabMenu": {
  28708. "type": "object",
  28709. "properties": {
  28710. "Key": {
  28711. "description": "菜单KEY",
  28712. "type": "string"
  28713. },
  28714. "Label": {
  28715. "description": "菜单标题",
  28716. "type": "string"
  28717. }
  28718. }
  28719. },
  28720. "models.Patradelinkdetail": {
  28721. "type": "object",
  28722. "properties": {
  28723. "accountname": {
  28724. "description": "套期主体",
  28725. "type": "string"
  28726. },
  28727. "agreeunit": {
  28728. "description": "合约乘数",
  28729. "type": "number"
  28730. },
  28731. "amount": {
  28732. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28733. "type": "number"
  28734. },
  28735. "areauserid": {
  28736. "description": "所属机构",
  28737. "type": "integer"
  28738. },
  28739. "bizsubjectid": {
  28740. "description": "归属业务部门ID - SubjectID",
  28741. "type": "integer"
  28742. },
  28743. "buyorsell": {
  28744. "description": "方向 - 0:买 1:卖",
  28745. "type": "integer"
  28746. },
  28747. "convertratio": {
  28748. "description": "品种系数",
  28749. "type": "number"
  28750. },
  28751. "convertratiochange": {
  28752. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  28753. "type": "number"
  28754. },
  28755. "createtime": {
  28756. "description": "[日期时间]创建时间",
  28757. "type": "string"
  28758. },
  28759. "creatorid": {
  28760. "description": "创建人ID",
  28761. "type": "integer"
  28762. },
  28763. "creatorsrc": {
  28764. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28765. "type": "integer"
  28766. },
  28767. "goodscode": {
  28768. "description": "商品代码(内部)",
  28769. "type": "string"
  28770. },
  28771. "goodsgroupid": {
  28772. "description": "对冲品种ID[期货合约商品组ID]",
  28773. "type": "integer"
  28774. },
  28775. "goodsid": {
  28776. "description": "商品ID",
  28777. "type": "integer"
  28778. },
  28779. "hedgeditemid": {
  28780. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28781. "type": "integer"
  28782. },
  28783. "hedgeflag": {
  28784. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28785. "type": "integer"
  28786. },
  28787. "linkdetailid": {
  28788. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28789. "type": "string"
  28790. },
  28791. "linkstatus": {
  28792. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28793. "type": "integer"
  28794. },
  28795. "middlegoodsid": {
  28796. "description": "套保品种ID",
  28797. "type": "integer"
  28798. },
  28799. "name": {
  28800. "description": "账户名/子账户",
  28801. "type": "string"
  28802. },
  28803. "optioncode": {
  28804. "description": "[期货合约]期权代码 [期权]",
  28805. "type": "string"
  28806. },
  28807. "ordertype": {
  28808. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28809. "type": "integer"
  28810. },
  28811. "relatedlot": {
  28812. "description": "[数量]关联手数",
  28813. "type": "number"
  28814. },
  28815. "relatedmode": {
  28816. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28817. "type": "integer"
  28818. },
  28819. "relatedqty": {
  28820. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28821. "type": "number"
  28822. },
  28823. "retcode": {
  28824. "description": "返回码",
  28825. "type": "integer"
  28826. },
  28827. "saleuserid": {
  28828. "description": "业务员ID",
  28829. "type": "integer"
  28830. },
  28831. "tradedate": {
  28832. "description": "关联交易日(yyyyMMdd)",
  28833. "type": "string"
  28834. },
  28835. "tradeid": {
  28836. "description": "[成交单号]内部成交单ID",
  28837. "type": "string"
  28838. },
  28839. "tradelot": {
  28840. "description": "成交手数",
  28841. "type": "integer"
  28842. },
  28843. "tradeprice": {
  28844. "description": "[价格]成交价格",
  28845. "type": "number"
  28846. },
  28847. "tradetradedate": {
  28848. "description": "成交交易日(yyyyMMdd)",
  28849. "type": "string"
  28850. }
  28851. }
  28852. },
  28853. "models.QueryErrorInfosRsp": {
  28854. "type": "object",
  28855. "required": [
  28856. "errorid"
  28857. ],
  28858. "properties": {
  28859. "description": {
  28860. "description": "异常描述",
  28861. "type": "string"
  28862. },
  28863. "errorcode": {
  28864. "description": "异常代码",
  28865. "type": "string"
  28866. },
  28867. "errorid": {
  28868. "description": "异常ID",
  28869. "type": "integer"
  28870. },
  28871. "modulecode": {
  28872. "description": "所属模块",
  28873. "type": "string"
  28874. },
  28875. "operatecode": {
  28876. "description": "所属操作",
  28877. "type": "string"
  28878. },
  28879. "rownumber": {
  28880. "description": "行号",
  28881. "type": "string"
  28882. }
  28883. }
  28884. },
  28885. "models.QueryHedgeOrderDetailRsp": {
  28886. "type": "object",
  28887. "properties": {
  28888. "accountid": {
  28889. "description": "账户ID",
  28890. "type": "integer"
  28891. },
  28892. "buyorsell": {
  28893. "description": "买卖 - 0:买 1:卖",
  28894. "type": "integer"
  28895. },
  28896. "cancellogincode": {
  28897. "description": "撤单人",
  28898. "type": "string"
  28899. },
  28900. "channelbuildtype": {
  28901. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28902. "type": "integer"
  28903. },
  28904. "channelinnerorderstatus": {
  28905. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28906. "type": "integer"
  28907. },
  28908. "channeloperatetype": {
  28909. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28910. "type": "integer"
  28911. },
  28912. "closetype": {
  28913. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28914. "type": "integer"
  28915. },
  28916. "curexchangerate": {
  28917. "description": "当前汇率",
  28918. "type": "number"
  28919. },
  28920. "decimalplace": {
  28921. "description": "商品报价小数位",
  28922. "type": "integer"
  28923. },
  28924. "exchangefullname": {
  28925. "description": "外部交易所全称",
  28926. "type": "string"
  28927. },
  28928. "goodscode": {
  28929. "description": "商品代码(内部)",
  28930. "type": "string"
  28931. },
  28932. "goodsid": {
  28933. "description": "商品ID",
  28934. "type": "integer"
  28935. },
  28936. "goodsname": {
  28937. "description": "商品名称",
  28938. "type": "string"
  28939. },
  28940. "marketid": {
  28941. "description": "市场ID",
  28942. "type": "integer"
  28943. },
  28944. "openfreezemargin": {
  28945. "description": "冻结保证金(冻结交易金额)",
  28946. "type": "number"
  28947. },
  28948. "orderid": {
  28949. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28950. "type": "string"
  28951. },
  28952. "orderlogincode": {
  28953. "description": "委托人",
  28954. "type": "string"
  28955. },
  28956. "orderprice": {
  28957. "description": "委托价格(账户)",
  28958. "type": "number"
  28959. },
  28960. "orderqty": {
  28961. "description": "委托数量",
  28962. "type": "integer"
  28963. },
  28964. "ordertime": {
  28965. "description": "委托时间",
  28966. "type": "string"
  28967. },
  28968. "pricemode": {
  28969. "description": "取价方式 - 1:市价 2: 限价",
  28970. "type": "integer"
  28971. },
  28972. "tradedate": {
  28973. "description": "交易日(yyyyMMdd)",
  28974. "type": "string"
  28975. },
  28976. "tradeqty": {
  28977. "description": "成交数量",
  28978. "type": "integer"
  28979. }
  28980. }
  28981. },
  28982. "models.QueryHedgeTradeDetailRsp": {
  28983. "type": "object",
  28984. "properties": {
  28985. "accountid": {
  28986. "description": "账号ID",
  28987. "type": "integer"
  28988. },
  28989. "buyorsell": {
  28990. "description": "方向 - 0:买 1:卖",
  28991. "type": "integer"
  28992. },
  28993. "channelbuildtype": {
  28994. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28995. "type": "integer"
  28996. },
  28997. "closecharge": {
  28998. "description": "平仓手续费(账户)",
  28999. "type": "number"
  29000. },
  29001. "closecharge2": {
  29002. "description": "平仓手续费(商品)",
  29003. "type": "number"
  29004. },
  29005. "closepl": {
  29006. "description": "平仓盈亏(账户)",
  29007. "type": "number"
  29008. },
  29009. "closepl2": {
  29010. "description": "平仓盈亏(商品)",
  29011. "type": "number"
  29012. },
  29013. "closepl3": {
  29014. "description": "平仓盈亏(账户)(逐笔)",
  29015. "type": "number"
  29016. },
  29017. "closepl4": {
  29018. "description": "平仓盈亏(商品)(逐笔)",
  29019. "type": "number"
  29020. },
  29021. "closetype": {
  29022. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29023. "type": "integer"
  29024. },
  29025. "curexchangerate": {
  29026. "description": "当前汇率",
  29027. "type": "number"
  29028. },
  29029. "decimalplace": {
  29030. "description": "商品报价小数位",
  29031. "type": "integer"
  29032. },
  29033. "exchangefullname": {
  29034. "description": "外部交易所全称",
  29035. "type": "string"
  29036. },
  29037. "goodscode": {
  29038. "description": "商品代码(内部)",
  29039. "type": "string"
  29040. },
  29041. "goodsid": {
  29042. "description": "商品ID",
  29043. "type": "integer"
  29044. },
  29045. "goodsname": {
  29046. "description": "商品名称",
  29047. "type": "string"
  29048. },
  29049. "marketid": {
  29050. "description": "市场ID",
  29051. "type": "integer"
  29052. },
  29053. "opencharge": {
  29054. "description": "建仓手续费(账户)",
  29055. "type": "number"
  29056. },
  29057. "opencharge2": {
  29058. "description": "建仓手续费(商品)",
  29059. "type": "number"
  29060. },
  29061. "orderid": {
  29062. "description": "委托单号",
  29063. "type": "string"
  29064. },
  29065. "orderlogincode": {
  29066. "description": "委托人",
  29067. "type": "string"
  29068. },
  29069. "tradeamount": {
  29070. "description": "成交金额(账户)",
  29071. "type": "number"
  29072. },
  29073. "tradedate": {
  29074. "description": "交易日(yyyyMMdd)",
  29075. "type": "string"
  29076. },
  29077. "tradeid": {
  29078. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29079. "type": "string"
  29080. },
  29081. "tradeprice": {
  29082. "description": "成交价格",
  29083. "type": "number"
  29084. },
  29085. "tradeqty": {
  29086. "description": "成交数量",
  29087. "type": "integer"
  29088. },
  29089. "tradetime": {
  29090. "description": "成交时间",
  29091. "type": "string"
  29092. },
  29093. "tradetype": {
  29094. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29095. "type": "integer"
  29096. }
  29097. }
  29098. },
  29099. "models.QuotePrimaryMenu": {
  29100. "type": "object",
  29101. "properties": {
  29102. "Index": {
  29103. "description": "序号",
  29104. "type": "integer"
  29105. },
  29106. "Key": {
  29107. "description": "键名",
  29108. "type": "string"
  29109. },
  29110. "Name": {
  29111. "description": "菜单名称",
  29112. "type": "string"
  29113. },
  29114. "SubMenus": {
  29115. "description": "子菜单",
  29116. "type": "array",
  29117. "items": {
  29118. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29119. }
  29120. },
  29121. "SubTitleType": {
  29122. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29123. "type": "integer"
  29124. },
  29125. "TradeModes": {
  29126. "description": "包含市场交易类型",
  29127. "type": "string"
  29128. }
  29129. }
  29130. },
  29131. "models.QuoteSecondaryMenu": {
  29132. "type": "object",
  29133. "properties": {
  29134. "ExExchangeCode": {
  29135. "description": "外部交易所代码",
  29136. "type": "string"
  29137. },
  29138. "ExExchangeID": {
  29139. "description": "外部交易所ID",
  29140. "type": "integer"
  29141. },
  29142. "GoodsGroupIDs": {
  29143. "description": "商品组ID列表",
  29144. "type": "array",
  29145. "items": {
  29146. "type": "integer"
  29147. }
  29148. },
  29149. "Index": {
  29150. "description": "序号",
  29151. "type": "integer"
  29152. },
  29153. "MarketID": {
  29154. "description": "市场ID",
  29155. "type": "integer"
  29156. },
  29157. "MenuTitle": {
  29158. "description": "菜单标题(市场名称或外部交易所名称)",
  29159. "type": "string"
  29160. },
  29161. "TradeMode": {
  29162. "description": "交易模式",
  29163. "type": "integer"
  29164. }
  29165. }
  29166. },
  29167. "models.RelatedTaAccount": {
  29168. "type": "object",
  29169. "properties": {
  29170. "accountid": {
  29171. "description": "资金账户ID",
  29172. "type": "integer"
  29173. }
  29174. }
  29175. },
  29176. "models.RoleMenu": {
  29177. "type": "object",
  29178. "properties": {
  29179. "hasright": {
  29180. "description": "是否有权限 0-没有权限 1-有权限",
  29181. "type": "integer"
  29182. },
  29183. "iconame": {
  29184. "description": "菜单图标",
  29185. "type": "string"
  29186. },
  29187. "menutype": {
  29188. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29189. "type": "integer"
  29190. },
  29191. "parentcode": {
  29192. "description": "上级资源代码",
  29193. "type": "string"
  29194. },
  29195. "remark": {
  29196. "description": "菜单备注",
  29197. "type": "string"
  29198. },
  29199. "resourcecode": {
  29200. "description": "菜单代码",
  29201. "type": "string"
  29202. },
  29203. "resourcelevel": {
  29204. "description": "级别",
  29205. "type": "integer"
  29206. },
  29207. "resourcename": {
  29208. "description": "菜单名称",
  29209. "type": "string"
  29210. },
  29211. "roleid": {
  29212. "description": "角色id",
  29213. "type": "integer"
  29214. },
  29215. "sort": {
  29216. "description": "排序",
  29217. "type": "integer"
  29218. },
  29219. "subMenu": {
  29220. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29221. "type": "array",
  29222. "items": {
  29223. "$ref": "#/definitions/models.RoleMenu"
  29224. }
  29225. },
  29226. "url": {
  29227. "description": "URL",
  29228. "type": "string"
  29229. },
  29230. "userid": {
  29231. "description": "用户id",
  29232. "type": "integer"
  29233. }
  29234. }
  29235. },
  29236. "models.SearchGoods": {
  29237. "type": "object",
  29238. "required": [
  29239. "goodscode",
  29240. "goodsid",
  29241. "goodsname",
  29242. "marketid",
  29243. "trademode"
  29244. ],
  29245. "properties": {
  29246. "goodscode": {
  29247. "description": "商品代码(内部)",
  29248. "type": "string"
  29249. },
  29250. "goodsid": {
  29251. "description": "商品ID(自增ID SEQ_GOODS)",
  29252. "type": "integer"
  29253. },
  29254. "goodsname": {
  29255. "description": "商品名称",
  29256. "type": "string"
  29257. },
  29258. "marketid": {
  29259. "description": "所属市场ID",
  29260. "type": "integer"
  29261. },
  29262. "marketname": {
  29263. "description": "市场名称",
  29264. "type": "string"
  29265. },
  29266. "trademode": {
  29267. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29268. "type": "integer"
  29269. }
  29270. }
  29271. },
  29272. "models.SellOrder": {
  29273. "type": "object",
  29274. "properties": {
  29275. "accountid": {
  29276. "description": "资金账号",
  29277. "type": "integer"
  29278. },
  29279. "applyid": {
  29280. "description": "申请单ID",
  29281. "type": "integer"
  29282. },
  29283. "attachment1": {
  29284. "description": "附件1",
  29285. "type": "string"
  29286. },
  29287. "attachment2": {
  29288. "description": "附件2",
  29289. "type": "string"
  29290. },
  29291. "buyorsell": {
  29292. "description": "买卖 - 0:买 1:卖",
  29293. "type": "integer"
  29294. },
  29295. "canbargain": {
  29296. "description": "是否可议价 - 0:不可 1:可",
  29297. "type": "integer"
  29298. },
  29299. "cancelqty": {
  29300. "description": "撤销数量",
  29301. "type": "integer"
  29302. },
  29303. "canceltime": {
  29304. "description": "撤销时间",
  29305. "type": "string"
  29306. },
  29307. "chargealgorithm": {
  29308. "description": "手续费收取方式 1:比率 2:固定",
  29309. "type": "integer"
  29310. },
  29311. "chargealgorithmvalue": {
  29312. "description": "手续费设置值(交易所部分)",
  29313. "type": "number"
  29314. },
  29315. "chargealgorithmvalue2": {
  29316. "description": "手续费设置值(会员部分)",
  29317. "type": "number"
  29318. },
  29319. "clientordertime": {
  29320. "description": "客户端委托时间",
  29321. "type": "string"
  29322. },
  29323. "exchangerate": {
  29324. "description": "汇率[67]",
  29325. "type": "number"
  29326. },
  29327. "firstratio": {
  29328. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  29329. "type": "number"
  29330. },
  29331. "fixedprice": {
  29332. "description": "[克拉单价]固定价格 - [挂牌]",
  29333. "type": "number"
  29334. },
  29335. "freezecharge": {
  29336. "description": "冻结手续费",
  29337. "type": "number"
  29338. },
  29339. "freezefirstamount": {
  29340. "description": "冻结首付金额 - [摘牌]",
  29341. "type": "number"
  29342. },
  29343. "freezemargin": {
  29344. "description": "冻结保证金",
  29345. "type": "number"
  29346. },
  29347. "goodsno": {
  29348. "description": "商品编号",
  29349. "type": "string"
  29350. },
  29351. "isQueryDiamond": {
  29352. "description": "是否钻石查询",
  29353. "type": "boolean"
  29354. },
  29355. "isspecified": {
  29356. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  29357. "type": "integer"
  29358. },
  29359. "marginalgorithm": {
  29360. "description": "保证金方式 - 1:比率 2:固定",
  29361. "type": "integer"
  29362. },
  29363. "marginvalue": {
  29364. "description": "保证金设置值",
  29365. "type": "number"
  29366. },
  29367. "marketid": {
  29368. "description": "市场ID",
  29369. "type": "integer"
  29370. },
  29371. "orderamount": {
  29372. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  29373. "type": "number"
  29374. },
  29375. "ordertime": {
  29376. "description": "委托时间",
  29377. "type": "string"
  29378. },
  29379. "performancetemplateid": {
  29380. "description": "履约计划模板ID",
  29381. "type": "integer"
  29382. },
  29383. "pricefactor": {
  29384. "description": "价格系数(浮动价时填写) - [挂牌]",
  29385. "type": "number"
  29386. },
  29387. "pricemove": {
  29388. "description": "升贴水(浮动价时填写) - [挂牌]",
  29389. "type": "number"
  29390. },
  29391. "relatedwrtradeorderid": {
  29392. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  29393. "type": "integer"
  29394. },
  29395. "remainqty": {
  29396. "description": "剩余重量",
  29397. "type": "number"
  29398. },
  29399. "retcode": {
  29400. "description": "错误代码",
  29401. "type": "integer"
  29402. },
  29403. "sellusername": {
  29404. "description": "卖方(查询字段-模糊查询)",
  29405. "type": "string"
  29406. },
  29407. "totalqty": {
  29408. "description": "总重量",
  29409. "type": "number"
  29410. },
  29411. "tradedate": {
  29412. "description": "交易日(yyyyMMdd)",
  29413. "type": "string"
  29414. },
  29415. "tradeprice": {
  29416. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29417. "type": "number"
  29418. },
  29419. "unfreezecharge": {
  29420. "description": "解冻手续费",
  29421. "type": "number"
  29422. },
  29423. "unfreezefirstamount": {
  29424. "description": "解冻首付金额 - [摘牌]",
  29425. "type": "number"
  29426. },
  29427. "unfreezemargin": {
  29428. "description": "解冻保证金",
  29429. "type": "number"
  29430. },
  29431. "userid": {
  29432. "description": "用户ID",
  29433. "type": "integer"
  29434. },
  29435. "uuid": {
  29436. "description": "发起端唯一id",
  29437. "type": "string"
  29438. },
  29439. "validtime": {
  29440. "description": "有效期限",
  29441. "type": "string"
  29442. },
  29443. "validtype": {
  29444. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  29445. "type": "integer"
  29446. },
  29447. "wrbargainid": {
  29448. "description": "议价申请单ID",
  29449. "type": "integer"
  29450. },
  29451. "wrfactortypeid": {
  29452. "description": "仓单要素类型ID/商品ID(77)",
  29453. "type": "integer"
  29454. },
  29455. "wrpricetype": {
  29456. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29457. "type": "integer"
  29458. },
  29459. "wrstandardid": {
  29460. "description": "现货商品ID",
  29461. "type": "integer"
  29462. },
  29463. "wrtradeorderid": {
  29464. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29465. "type": "integer"
  29466. },
  29467. "wrtradeorderstatus": {
  29468. "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:撤单解冻贷款失败",
  29469. "type": "integer"
  29470. },
  29471. "wrtradetype": {
  29472. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29473. "type": "integer"
  29474. },
  29475. "wrtransferuserid": {
  29476. "description": "仓单受让用户 - [摘牌]",
  29477. "type": "integer"
  29478. },
  29479. "zscategory": {
  29480. "description": "钻石分类 - 枚举”ZSCategory“",
  29481. "type": "integer"
  29482. },
  29483. "zscategorydisplay": {
  29484. "description": "钻石分类 - 描述",
  29485. "type": "string"
  29486. },
  29487. "zscurrencytype": {
  29488. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29489. "type": "integer"
  29490. }
  29491. }
  29492. },
  29493. "models.SellOrderQueryReq": {
  29494. "type": "object",
  29495. "required": [
  29496. "zscategory"
  29497. ],
  29498. "properties": {
  29499. "origin": {
  29500. "description": "原产地",
  29501. "type": "string"
  29502. },
  29503. "page": {
  29504. "description": "页码",
  29505. "type": "integer"
  29506. },
  29507. "pagesize": {
  29508. "description": "每页大小",
  29509. "type": "integer"
  29510. },
  29511. "total": {
  29512. "description": "总条数",
  29513. "type": "integer"
  29514. },
  29515. "warehouseid": {
  29516. "description": "仓库ID",
  29517. "type": "integer"
  29518. },
  29519. "weight1": {
  29520. "description": "总重量(克拉重量)-从",
  29521. "type": "number"
  29522. },
  29523. "weight2": {
  29524. "description": "总重量(克拉重量)-至",
  29525. "type": "number"
  29526. },
  29527. "weightavg1": {
  29528. "description": "平均单颗重量-从",
  29529. "type": "number"
  29530. },
  29531. "weightavg2": {
  29532. "description": "平均单颗重量-至",
  29533. "type": "number"
  29534. },
  29535. "zscategory": {
  29536. "description": "钻石分类 - 枚举”ZSCategory“",
  29537. "type": "integer"
  29538. },
  29539. "zscerttype": {
  29540. "description": "证书类型",
  29541. "type": "array",
  29542. "items": {
  29543. "type": "string"
  29544. }
  29545. },
  29546. "zsclaritytype": {
  29547. "description": "净度",
  29548. "type": "array",
  29549. "items": {
  29550. "type": "integer"
  29551. }
  29552. },
  29553. "zscolortype": {
  29554. "description": "颜色",
  29555. "type": "array",
  29556. "items": {
  29557. "type": "integer"
  29558. }
  29559. },
  29560. "zscurrencytype": {
  29561. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29562. "type": "array",
  29563. "items": {
  29564. "type": "string"
  29565. }
  29566. },
  29567. "zscuttype": {
  29568. "description": "切工",
  29569. "type": "array",
  29570. "items": {
  29571. "type": "integer"
  29572. }
  29573. },
  29574. "zsczcolor1type": {
  29575. "description": "彩钻颜色1",
  29576. "type": "array",
  29577. "items": {
  29578. "type": "string"
  29579. }
  29580. },
  29581. "zsfluorescencetype": {
  29582. "description": "荧光",
  29583. "type": "array",
  29584. "items": {
  29585. "type": "integer"
  29586. }
  29587. },
  29588. "zspolishtype": {
  29589. "description": "抛光度",
  29590. "type": "array",
  29591. "items": {
  29592. "type": "integer"
  29593. }
  29594. },
  29595. "zsshapetype": {
  29596. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29597. "type": "array",
  29598. "items": {
  29599. "type": "string"
  29600. }
  29601. },
  29602. "zsstyletype": {
  29603. "description": "款式",
  29604. "type": "array",
  29605. "items": {
  29606. "type": "string"
  29607. }
  29608. },
  29609. "zssymmetrytype": {
  29610. "description": "对称度",
  29611. "type": "array",
  29612. "items": {
  29613. "type": "integer"
  29614. }
  29615. }
  29616. }
  29617. },
  29618. "models.Systemparam": {
  29619. "type": "object",
  29620. "required": [
  29621. "paramcode"
  29622. ],
  29623. "properties": {
  29624. "loginid": {
  29625. "description": "更新用户账号,登录账号",
  29626. "type": "string"
  29627. },
  29628. "modifyflag": {
  29629. "description": "修改标志0 不允许修改 1 允许修改",
  29630. "type": "integer"
  29631. },
  29632. "paramcode": {
  29633. "description": "参数代码",
  29634. "type": "string"
  29635. },
  29636. "paramname": {
  29637. "description": "参数名",
  29638. "type": "string"
  29639. },
  29640. "paramtype": {
  29641. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29642. "type": "integer"
  29643. },
  29644. "paramvalue": {
  29645. "description": "参数值",
  29646. "type": "string"
  29647. },
  29648. "paramvalue2": {
  29649. "description": "参数值(CLOB)",
  29650. "type": "string"
  29651. },
  29652. "regexpress": {
  29653. "description": "正则表达式",
  29654. "type": "string"
  29655. },
  29656. "remark": {
  29657. "description": "备注",
  29658. "type": "string"
  29659. },
  29660. "serverip": {
  29661. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29662. "type": "string"
  29663. },
  29664. "showflag": {
  29665. "description": "是否显示0 不显示 1 显示",
  29666. "type": "integer"
  29667. },
  29668. "updatetime": {
  29669. "description": "更新时间",
  29670. "type": "string"
  29671. },
  29672. "userid": {
  29673. "description": "更新用户ID",
  29674. "type": "integer"
  29675. }
  29676. }
  29677. },
  29678. "models.Szdz3convertconfig": {
  29679. "type": "object",
  29680. "required": [
  29681. "converttype",
  29682. "innergoodsid",
  29683. "outergoodscode"
  29684. ],
  29685. "properties": {
  29686. "canin": {
  29687. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29688. "type": "integer"
  29689. },
  29690. "canout": {
  29691. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29692. "type": "integer"
  29693. },
  29694. "converttype": {
  29695. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29696. "type": "integer"
  29697. },
  29698. "createtime": {
  29699. "description": "创建时间",
  29700. "type": "string"
  29701. },
  29702. "creatorid": {
  29703. "description": "创建人",
  29704. "type": "integer"
  29705. },
  29706. "daymaxvalue": {
  29707. "description": "当日最大转入限制",
  29708. "type": "number"
  29709. },
  29710. "freezedays": {
  29711. "description": "冻结天数 [5:花生米转交易]",
  29712. "type": "integer"
  29713. },
  29714. "innergoodsid": {
  29715. "description": "内部商品ID[交易]",
  29716. "type": "integer"
  29717. },
  29718. "inratio": {
  29719. "description": "目标值",
  29720. "type": "integer"
  29721. },
  29722. "modifierid": {
  29723. "description": "修改人",
  29724. "type": "integer"
  29725. },
  29726. "modifytime": {
  29727. "description": "修改时间",
  29728. "type": "string"
  29729. },
  29730. "outergoodscode": {
  29731. "description": "外部商品代码[JD\\PD]",
  29732. "type": "string"
  29733. },
  29734. "outratio": {
  29735. "description": "源值",
  29736. "type": "integer"
  29737. },
  29738. "pddecimalplace": {
  29739. "description": "PD小数位",
  29740. "type": "integer"
  29741. },
  29742. "timemaxvalue": {
  29743. "description": "单次最大转入限制",
  29744. "type": "number"
  29745. },
  29746. "timeminvalue": {
  29747. "description": "单次最小转入限制",
  29748. "type": "number"
  29749. }
  29750. }
  29751. },
  29752. "models.Szdz3searchwhitelist": {
  29753. "type": "object",
  29754. "required": [
  29755. "userid"
  29756. ],
  29757. "properties": {
  29758. "createtime": {
  29759. "description": "创建时间",
  29760. "type": "string"
  29761. },
  29762. "creatorid": {
  29763. "description": "创建人",
  29764. "type": "integer"
  29765. },
  29766. "modifierid": {
  29767. "description": "修改人",
  29768. "type": "integer"
  29769. },
  29770. "modifytime": {
  29771. "description": "修改时间",
  29772. "type": "string"
  29773. },
  29774. "userid": {
  29775. "description": "用户ID",
  29776. "type": "integer"
  29777. }
  29778. }
  29779. },
  29780. "models.TBGoods": {
  29781. "type": "object",
  29782. "properties": {
  29783. "agreeunit": {
  29784. "description": "合约乘数",
  29785. "type": "number"
  29786. },
  29787. "enumdicname": {
  29788. "description": "单位名称",
  29789. "type": "string"
  29790. },
  29791. "goodscode": {
  29792. "description": "商品代码(内部)",
  29793. "type": "string"
  29794. },
  29795. "goodsid": {
  29796. "description": "商品ID(自增ID SEQ_GOODS)",
  29797. "type": "integer"
  29798. },
  29799. "goodsname": {
  29800. "description": "商品名称",
  29801. "type": "string"
  29802. }
  29803. }
  29804. },
  29805. "models.TBGoodsGroup": {
  29806. "type": "object",
  29807. "properties": {
  29808. "GDLST": {
  29809. "description": "商品列表",
  29810. "type": "array",
  29811. "items": {
  29812. "$ref": "#/definitions/models.TBGoods"
  29813. }
  29814. },
  29815. "convertratio": {
  29816. "description": "折算系数",
  29817. "type": "number"
  29818. },
  29819. "enumdicname": {
  29820. "description": "单位名称",
  29821. "type": "string"
  29822. },
  29823. "exexchangecode": {
  29824. "description": "交易所代码",
  29825. "type": "string"
  29826. },
  29827. "exexchangename": {
  29828. "description": "交易所名称",
  29829. "type": "string"
  29830. },
  29831. "goodsgroupid": {
  29832. "description": "商品组ID(自增ID)",
  29833. "type": "integer"
  29834. },
  29835. "goodsgroupname": {
  29836. "description": "商品组名称",
  29837. "type": "string"
  29838. },
  29839. "goodunitid": {
  29840. "description": "报价单位ID",
  29841. "type": "integer"
  29842. }
  29843. }
  29844. },
  29845. "models.TBMiddleGoods": {
  29846. "type": "object",
  29847. "properties": {
  29848. "GPLST": {
  29849. "description": "期货品种列表",
  29850. "type": "array",
  29851. "items": {
  29852. "$ref": "#/definitions/models.TBGoodsGroup"
  29853. }
  29854. },
  29855. "WDLST": {
  29856. "description": "商品信息列表(现货品类)",
  29857. "type": "array",
  29858. "items": {
  29859. "$ref": "#/definitions/models.TBWrstandard"
  29860. }
  29861. },
  29862. "areauserid": {
  29863. "description": "机构用户ID",
  29864. "type": "integer"
  29865. },
  29866. "enumdicname": {
  29867. "description": "单位名称",
  29868. "type": "string"
  29869. },
  29870. "goodsunitid": {
  29871. "description": "套保品种单位id",
  29872. "type": "integer"
  29873. },
  29874. "middlegoodscode": {
  29875. "description": "套保品种代码",
  29876. "type": "string"
  29877. },
  29878. "middlegoodsid": {
  29879. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  29880. "type": "integer"
  29881. },
  29882. "middlegoodsname": {
  29883. "description": "套保品种名称",
  29884. "type": "string"
  29885. },
  29886. "needarbitrageratio": {
  29887. "description": "套利比率",
  29888. "type": "number"
  29889. },
  29890. "needhedgeratio": {
  29891. "description": "套保比率",
  29892. "type": "number"
  29893. }
  29894. }
  29895. },
  29896. "models.TBWrstandard": {
  29897. "type": "object",
  29898. "properties": {
  29899. "convertratio": {
  29900. "description": "折算系数",
  29901. "type": "number"
  29902. },
  29903. "deliverygoodsname": {
  29904. "description": "品种名称",
  29905. "type": "string"
  29906. },
  29907. "enumdicname": {
  29908. "description": "单位名称",
  29909. "type": "string"
  29910. },
  29911. "vatrate": {
  29912. "description": "增值税率",
  29913. "type": "number"
  29914. },
  29915. "wrstandardcode": {
  29916. "description": "现货商品代码",
  29917. "type": "string"
  29918. },
  29919. "wrstandardid": {
  29920. "description": "现货商品ID(SEQ_WRSTANDARD)",
  29921. "type": "integer"
  29922. },
  29923. "wrstandardname": {
  29924. "description": "现货商品名称",
  29925. "type": "string"
  29926. }
  29927. }
  29928. },
  29929. "models.Taaccount": {
  29930. "type": "object",
  29931. "required": [
  29932. "accountid",
  29933. "userid"
  29934. ],
  29935. "properties": {
  29936. "accountflag": {
  29937. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29938. "type": "integer"
  29939. },
  29940. "accountid": {
  29941. "description": "资金账户ID",
  29942. "type": "integer"
  29943. },
  29944. "accountname": {
  29945. "description": "账户名称",
  29946. "type": "string"
  29947. },
  29948. "balance": {
  29949. "description": "期初余额",
  29950. "type": "number"
  29951. },
  29952. "capitalbalance": {
  29953. "description": "本金余额[外部子账户实际出入金余额]",
  29954. "type": "number"
  29955. },
  29956. "changeflag": {
  29957. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29958. "type": "integer"
  29959. },
  29960. "changetime": {
  29961. "description": "账户状态变更时间",
  29962. "type": "string"
  29963. },
  29964. "closepl": {
  29965. "description": "今日平仓盈亏",
  29966. "type": "number"
  29967. },
  29968. "creditdecrease": {
  29969. "description": "今日授信减少",
  29970. "type": "number"
  29971. },
  29972. "creditincrease": {
  29973. "description": "今日授信增加",
  29974. "type": "number"
  29975. },
  29976. "curamount": {
  29977. "description": "总市值(从持仓中统计)",
  29978. "type": "number"
  29979. },
  29980. "currencyid": {
  29981. "description": "货币ID",
  29982. "type": "integer"
  29983. },
  29984. "currentbalance": {
  29985. "description": "期末余额",
  29986. "type": "number"
  29987. },
  29988. "freezecharge": {
  29989. "description": "手续费冻结",
  29990. "type": "number"
  29991. },
  29992. "freezemargin": {
  29993. "description": "冻结保证金",
  29994. "type": "number"
  29995. },
  29996. "fromaccountid": {
  29997. "description": "所属上级账户",
  29998. "type": "integer"
  29999. },
  30000. "inamount": {
  30001. "description": "今日入金金额(包括三方入金)",
  30002. "type": "number"
  30003. },
  30004. "ismain": {
  30005. "description": "是否母账号 0:不是母账户 1:是母账户",
  30006. "type": "integer"
  30007. },
  30008. "ismarketaccount": {
  30009. "description": "是否机构接单账号 0:不是 1:是",
  30010. "type": "integer"
  30011. },
  30012. "isreckonaccount": {
  30013. "description": "是否机构分润账号 0:不是 1:是",
  30014. "type": "integer"
  30015. },
  30016. "mortgagecredit": {
  30017. "description": "授信金额",
  30018. "type": "number"
  30019. },
  30020. "orifreezecharge": {
  30021. "description": "期初手续费冻结",
  30022. "type": "number"
  30023. },
  30024. "orifreezemargin": {
  30025. "description": "期初冻结保证金",
  30026. "type": "number"
  30027. },
  30028. "orimortgagecredit": {
  30029. "description": "期初授信金额",
  30030. "type": "number"
  30031. },
  30032. "oriothercredit": {
  30033. "description": "期初其它授信金额",
  30034. "type": "number"
  30035. },
  30036. "oriotherfreezemargin": {
  30037. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30038. "type": "number"
  30039. },
  30040. "orioutamountfreeze": {
  30041. "description": "期初出金冻结",
  30042. "type": "number"
  30043. },
  30044. "oriusedmargin": {
  30045. "description": "期初占用保证金",
  30046. "type": "number"
  30047. },
  30048. "othercredit": {
  30049. "description": "其它授信金额",
  30050. "type": "number"
  30051. },
  30052. "othercreditdecrease": {
  30053. "description": "今日其它授信减少",
  30054. "type": "number"
  30055. },
  30056. "othercreditincrease": {
  30057. "description": "今日其它授信增加",
  30058. "type": "number"
  30059. },
  30060. "otherfreezemargin": {
  30061. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30062. "type": "number"
  30063. },
  30064. "otherincome": {
  30065. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30066. "type": "number"
  30067. },
  30068. "otherpay": {
  30069. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30070. "type": "number"
  30071. },
  30072. "outamount": {
  30073. "description": "今日出金金额(包括三方出金)",
  30074. "type": "number"
  30075. },
  30076. "outamountfreeze": {
  30077. "description": "出金冻结",
  30078. "type": "number"
  30079. },
  30080. "outthreshold": {
  30081. "description": "出金阈值",
  30082. "type": "number"
  30083. },
  30084. "parentaccountid": {
  30085. "description": "所属根账号",
  30086. "type": "integer"
  30087. },
  30088. "paycharge": {
  30089. "description": "今日手续费支出",
  30090. "type": "number"
  30091. },
  30092. "relatedaccountstatus": {
  30093. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30094. "type": "integer"
  30095. },
  30096. "relateduserid": {
  30097. "description": "关联用户",
  30098. "type": "integer"
  30099. },
  30100. "remainamount": {
  30101. "description": "融资额(从融资合同中统计)",
  30102. "type": "number"
  30103. },
  30104. "serivcegroup": {
  30105. "description": "服务分组",
  30106. "type": "integer"
  30107. },
  30108. "signstatus": {
  30109. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30110. "type": "integer"
  30111. },
  30112. "sublevelpath": {
  30113. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30114. "type": "string"
  30115. },
  30116. "taaccounttype": {
  30117. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30118. "type": "integer"
  30119. },
  30120. "thirdinamount": {
  30121. "description": "今日三方入金",
  30122. "type": "number"
  30123. },
  30124. "thirdoutamount": {
  30125. "description": "今日三方出金",
  30126. "type": "number"
  30127. },
  30128. "tradestatus": {
  30129. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30130. "type": "integer"
  30131. },
  30132. "tradestatuschangetime": {
  30133. "description": "激活时间",
  30134. "type": "string"
  30135. },
  30136. "transferamount": {
  30137. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30138. "type": "number"
  30139. },
  30140. "usedmargin": {
  30141. "description": "占用保证金",
  30142. "type": "number"
  30143. },
  30144. "userid": {
  30145. "description": "用户ID",
  30146. "type": "integer"
  30147. }
  30148. }
  30149. },
  30150. "models.Tablecolumnconfig": {
  30151. "type": "object",
  30152. "required": [
  30153. "autoid"
  30154. ],
  30155. "properties": {
  30156. "aligntype": {
  30157. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30158. "type": "integer"
  30159. },
  30160. "autoid": {
  30161. "description": "AutoID",
  30162. "type": "integer"
  30163. },
  30164. "columnfield": {
  30165. "description": "列字段",
  30166. "type": "string"
  30167. },
  30168. "columntitle": {
  30169. "description": "列Title",
  30170. "type": "string"
  30171. },
  30172. "columnwidth": {
  30173. "description": "列宽",
  30174. "type": "string"
  30175. },
  30176. "fixed": {
  30177. "description": "固定类型 - 空 | left | right",
  30178. "type": "string"
  30179. },
  30180. "formatterstring": {
  30181. "description": "格式化字符",
  30182. "type": "string"
  30183. },
  30184. "formattertype": {
  30185. "description": "格式化类型",
  30186. "type": "string"
  30187. },
  30188. "groupname": {
  30189. "description": "表头分组名称",
  30190. "type": "string"
  30191. },
  30192. "ismerge": {
  30193. "description": "是否合并显示 - 0:不合并 1:合并",
  30194. "type": "integer"
  30195. },
  30196. "isshow": {
  30197. "description": "是否显示 - 0:不显示 1:显示",
  30198. "type": "integer"
  30199. },
  30200. "needsummary": {
  30201. "description": "是否需要汇总 - 0:不需要 1:需要",
  30202. "type": "integer"
  30203. },
  30204. "orderindex": {
  30205. "description": "顺序",
  30206. "type": "integer"
  30207. },
  30208. "remark": {
  30209. "description": "备注",
  30210. "type": "string"
  30211. },
  30212. "summarytype": {
  30213. "description": "汇总类型 - 1:加总 2:最后一个",
  30214. "type": "integer"
  30215. },
  30216. "tablekey": {
  30217. "description": "列表Key",
  30218. "type": "string"
  30219. }
  30220. }
  30221. },
  30222. "models.TjmdHolderDetailTradeInfo": {
  30223. "type": "object",
  30224. "properties": {
  30225. "agreeunit": {
  30226. "description": "合约乘数",
  30227. "type": "number"
  30228. },
  30229. "buyaccountid": {
  30230. "description": "买方账户",
  30231. "type": "string"
  30232. },
  30233. "buyusername": {
  30234. "description": "买方",
  30235. "type": "string"
  30236. },
  30237. "delistingdate": {
  30238. "description": "最后结算日",
  30239. "type": "string"
  30240. },
  30241. "expiredate": {
  30242. "description": "到期结算价定价日",
  30243. "type": "string"
  30244. },
  30245. "exprieprice": {
  30246. "description": "到期清算价格",
  30247. "type": "string"
  30248. },
  30249. "goodscode": {
  30250. "description": "商品代码",
  30251. "type": "string"
  30252. },
  30253. "goodsid": {
  30254. "description": "商品ID",
  30255. "type": "integer"
  30256. },
  30257. "goodsname": {
  30258. "description": "商品名称(交易标的)",
  30259. "type": "string"
  30260. },
  30261. "lasttradedate": {
  30262. "description": "最后交易日",
  30263. "type": "string"
  30264. },
  30265. "listingdate": {
  30266. "description": "开始交易日",
  30267. "type": "string"
  30268. },
  30269. "openprice": {
  30270. "description": "成交价",
  30271. "type": "number"
  30272. },
  30273. "openqty": {
  30274. "description": "交易数量",
  30275. "type": "integer"
  30276. },
  30277. "sellaccountid": {
  30278. "description": "卖方账户",
  30279. "type": "string"
  30280. },
  30281. "sellusername": {
  30282. "description": "卖方",
  30283. "type": "string"
  30284. },
  30285. "tradeamount": {
  30286. "description": "初始名义价值",
  30287. "type": "number"
  30288. },
  30289. "tradedate": {
  30290. "description": "成交日期",
  30291. "type": "string"
  30292. },
  30293. "tradeid": {
  30294. "description": "成交编号",
  30295. "type": "string"
  30296. }
  30297. }
  30298. },
  30299. "models.TjmdMarketSection": {
  30300. "type": "object",
  30301. "properties": {
  30302. "marketsectionid": {
  30303. "description": "市场版块ID(SEQ_MARKETSECTION)",
  30304. "type": "integer"
  30305. },
  30306. "marketsectionname": {
  30307. "description": "市场版块名称",
  30308. "type": "string"
  30309. },
  30310. "mlist": {
  30311. "description": "市场列表(板块下面有多少个市场)",
  30312. "type": "array",
  30313. "items": {
  30314. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  30315. }
  30316. },
  30317. "orderindex": {
  30318. "description": "排序",
  30319. "type": "integer"
  30320. },
  30321. "pictureurl": {
  30322. "description": "图片url, 规格(90*90)",
  30323. "type": "string"
  30324. },
  30325. "remark": {
  30326. "description": "备注",
  30327. "type": "string"
  30328. }
  30329. }
  30330. },
  30331. "models.TjmdMarketSectionConfig": {
  30332. "type": "object",
  30333. "properties": {
  30334. "auctionwrtype": {
  30335. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  30336. "type": "integer"
  30337. },
  30338. "canacceptquote": {
  30339. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30340. "type": "integer"
  30341. },
  30342. "cangoodsexercise": {
  30343. "description": "[期权]是否可现货行权- 0:否 1:是",
  30344. "type": "integer"
  30345. },
  30346. "cangoodsexercisetype": {
  30347. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30348. "type": "integer"
  30349. },
  30350. "canmanualquotestrike": {
  30351. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30352. "type": "integer"
  30353. },
  30354. "canmutistage": {
  30355. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30356. "type": "integer"
  30357. },
  30358. "canpreexercise": {
  30359. "description": "[期权]是否可预申报- 0:否 1:是",
  30360. "type": "integer"
  30361. },
  30362. "clearinterval": {
  30363. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30364. "type": "integer"
  30365. },
  30366. "contracttmp": {
  30367. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30368. "type": "string"
  30369. },
  30370. "exchareaid": {
  30371. "description": "所属交易所,可以没有",
  30372. "type": "integer"
  30373. },
  30374. "financemarketid": {
  30375. "description": "融资回购市场ID [仓单贸易]",
  30376. "type": "integer"
  30377. },
  30378. "goodstype": {
  30379. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30380. "type": "integer"
  30381. },
  30382. "hasrebate": {
  30383. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30384. "type": "integer"
  30385. },
  30386. "hastradecredit": {
  30387. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30388. "type": "integer"
  30389. },
  30390. "haswr": {
  30391. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30392. "type": "integer"
  30393. },
  30394. "isdeductmargin": {
  30395. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30396. "type": "integer"
  30397. },
  30398. "isrecordsource": {
  30399. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30400. "type": "integer"
  30401. },
  30402. "isreleasemargin": {
  30403. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30404. "type": "integer"
  30405. },
  30406. "isupdatereckonprice": {
  30407. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  30408. "type": "integer"
  30409. },
  30410. "listingmode": {
  30411. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  30412. "type": "integer"
  30413. },
  30414. "marginformula": {
  30415. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30416. "type": "integer"
  30417. },
  30418. "marginformula2": {
  30419. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30420. "type": "integer"
  30421. },
  30422. "marketid": {
  30423. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30424. "type": "integer"
  30425. },
  30426. "marketname": {
  30427. "description": "市场名称",
  30428. "type": "string"
  30429. },
  30430. "marketsectionid": {
  30431. "description": "市场版块ID(SEQ_MARKETSECTION)",
  30432. "type": "integer"
  30433. },
  30434. "marketserviceid": {
  30435. "description": "市场服务ID",
  30436. "type": "integer"
  30437. },
  30438. "marketstatus": {
  30439. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30440. "type": "integer"
  30441. },
  30442. "markettype": {
  30443. "description": "市场类型- 1:非交易服务 2:交易服务",
  30444. "type": "integer"
  30445. },
  30446. "matchermode": {
  30447. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  30448. "type": "integer"
  30449. },
  30450. "nowrquotaflag": {
  30451. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  30452. "type": "integer"
  30453. },
  30454. "openmethod": {
  30455. "description": "开盘模式 - 0 自动 1手动",
  30456. "type": "integer"
  30457. },
  30458. "orderindex": {
  30459. "description": "排序",
  30460. "type": "integer"
  30461. },
  30462. "otcuserid": {
  30463. "description": "场外期权做市商[场外期权]",
  30464. "type": "integer"
  30465. },
  30466. "outersynctime": {
  30467. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30468. "type": "string"
  30469. },
  30470. "paylaterflag": {
  30471. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  30472. "type": "integer"
  30473. },
  30474. "pendingflag": {
  30475. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30476. "type": "integer"
  30477. },
  30478. "pendingtime": {
  30479. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30480. "type": "string"
  30481. },
  30482. "performancetempid": {
  30483. "description": "履约计划模板ID - 作废",
  30484. "type": "integer"
  30485. },
  30486. "premiumquotemode": {
  30487. "description": "权利金报价方式 - 1:自动 2:手动",
  30488. "type": "integer"
  30489. },
  30490. "rebateratio": {
  30491. "description": "返利比率[竞价式]",
  30492. "type": "number"
  30493. },
  30494. "reckonorder": {
  30495. "description": "结算顺序",
  30496. "type": "integer"
  30497. },
  30498. "reckonpricealgorithm": {
  30499. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30500. "type": "integer"
  30501. },
  30502. "reckonpriceparam": {
  30503. "description": "结算价参数",
  30504. "type": "integer"
  30505. },
  30506. "reckontime": {
  30507. "description": "结算时间[通道交易-对冲](HH:mm)",
  30508. "type": "string"
  30509. },
  30510. "roleprioritytype": {
  30511. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30512. "type": "integer"
  30513. },
  30514. "selllistingauditflag": {
  30515. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30516. "type": "integer"
  30517. },
  30518. "trademarkettype": {
  30519. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30520. "type": "integer"
  30521. },
  30522. "trademode": {
  30523. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30524. "type": "integer"
  30525. },
  30526. "tradeproperty": {
  30527. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30528. "type": "integer"
  30529. },
  30530. "tradetype": {
  30531. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30532. "type": "integer"
  30533. },
  30534. "updatereckonpriceinterval": {
  30535. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  30536. "type": "integer"
  30537. }
  30538. }
  30539. },
  30540. "models.TjmdQuoteGoods": {
  30541. "type": "object",
  30542. "properties": {
  30543. "buyqty": {
  30544. "description": "买量(暂不做, 无值, 保留字段)",
  30545. "type": "number"
  30546. },
  30547. "decimalplace": {
  30548. "description": "报价小数位",
  30549. "type": "integer"
  30550. },
  30551. "goodscode": {
  30552. "description": "合约代码",
  30553. "type": "string"
  30554. },
  30555. "goodsgroupid": {
  30556. "description": "商品组ID(自增ID)",
  30557. "type": "integer"
  30558. },
  30559. "goodsgroupname": {
  30560. "description": "商品组名称",
  30561. "type": "string"
  30562. },
  30563. "goodsid": {
  30564. "description": "合约id",
  30565. "type": "integer"
  30566. },
  30567. "goodsname": {
  30568. "description": "合约名称",
  30569. "type": "string"
  30570. },
  30571. "refgoodscode": {
  30572. "description": "标的合约代码",
  30573. "type": "string"
  30574. },
  30575. "refgoodsid": {
  30576. "description": "标的合约id",
  30577. "type": "integer"
  30578. },
  30579. "refgoodsname": {
  30580. "description": "标的合约名称",
  30581. "type": "string"
  30582. },
  30583. "sellqty": {
  30584. "description": "卖量(暂不做, 无值, 保留字段)",
  30585. "type": "number"
  30586. }
  30587. }
  30588. },
  30589. "models.TjmdTodayAccountMargin": {
  30590. "type": "object",
  30591. "properties": {
  30592. "accountid": {
  30593. "description": "账号ID",
  30594. "type": "integer"
  30595. },
  30596. "goodsid": {
  30597. "description": "商品ID",
  30598. "type": "integer"
  30599. },
  30600. "infoc": {
  30601. "description": "配置参数",
  30602. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  30603. },
  30604. "marketid": {
  30605. "description": "市场ID",
  30606. "type": "integer"
  30607. }
  30608. }
  30609. },
  30610. "models.TjmdTradeOrderDetail": {
  30611. "type": "object",
  30612. "properties": {
  30613. "buyorsell": {
  30614. "description": "买卖方向 0-买 1-卖",
  30615. "type": "integer"
  30616. },
  30617. "goodsid": {
  30618. "description": "商品id",
  30619. "type": "integer"
  30620. },
  30621. "marketmaxsub": {
  30622. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30623. "type": "number"
  30624. },
  30625. "orderid": {
  30626. "description": "委托单号",
  30627. "type": "string"
  30628. },
  30629. "orderprice": {
  30630. "description": "期初均价",
  30631. "type": "number"
  30632. },
  30633. "orderqty": {
  30634. "description": "委托数量",
  30635. "type": "integer"
  30636. },
  30637. "pricemode": {
  30638. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30639. "type": "integer"
  30640. },
  30641. "userid": {
  30642. "description": "用户id",
  30643. "type": "integer"
  30644. },
  30645. "username": {
  30646. "description": "用户名称(已脱敏)",
  30647. "type": "string"
  30648. }
  30649. }
  30650. },
  30651. "models.TjmdTransferApply": {
  30652. "type": "object",
  30653. "properties": {
  30654. "applyid": {
  30655. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30656. "type": "integer"
  30657. },
  30658. "applystatus": {
  30659. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30660. "type": "integer"
  30661. },
  30662. "applytime": {
  30663. "description": "申请时间(时间)",
  30664. "type": "string"
  30665. },
  30666. "auditremark": {
  30667. "description": "审核备注(拒绝原因?)",
  30668. "type": "string"
  30669. },
  30670. "begindate": {
  30671. "description": "开始交易日(yyyymmdd)",
  30672. "type": "string"
  30673. },
  30674. "buyorsell": {
  30675. "description": "买卖 - 0:买 1:卖",
  30676. "type": "integer"
  30677. },
  30678. "enddate": {
  30679. "description": "结束交易日(yyyymmdd)",
  30680. "type": "string"
  30681. },
  30682. "goodscode": {
  30683. "description": "商品代码",
  30684. "type": "string"
  30685. },
  30686. "goodsid": {
  30687. "description": "商品ID",
  30688. "type": "integer"
  30689. },
  30690. "goodsname": {
  30691. "description": "商品名称",
  30692. "type": "string"
  30693. },
  30694. "marketid": {
  30695. "description": "市场ID",
  30696. "type": "integer"
  30697. },
  30698. "qty": {
  30699. "description": "期初均价",
  30700. "type": "number"
  30701. },
  30702. "tradeid": {
  30703. "description": "成交单号(关联持仓)",
  30704. "type": "string"
  30705. },
  30706. "transferamount": {
  30707. "description": "转让总金额(金额)",
  30708. "type": "number"
  30709. },
  30710. "transferprice": {
  30711. "description": "转让价格(协议价格)",
  30712. "type": "number"
  30713. }
  30714. }
  30715. },
  30716. "models.TradeHolderDetail": {
  30717. "type": "object",
  30718. "properties": {
  30719. "accountid": {
  30720. "description": "账号ID",
  30721. "type": "integer"
  30722. },
  30723. "agreeunit": {
  30724. "description": "合约乘数",
  30725. "type": "number"
  30726. },
  30727. "buyorsell": {
  30728. "description": "方向 - 0:买 1:卖",
  30729. "type": "integer"
  30730. },
  30731. "currencyid": {
  30732. "description": "商品币种id",
  30733. "type": "integer"
  30734. },
  30735. "currencyname": {
  30736. "description": "币种名称",
  30737. "type": "string"
  30738. },
  30739. "decimalplace": {
  30740. "description": "商品价格小数位",
  30741. "type": "integer"
  30742. },
  30743. "enumdicname": {
  30744. "description": "商品单位名称",
  30745. "type": "string"
  30746. },
  30747. "expirecycle": {
  30748. "description": "行权周期(天) - 1:滚动行权时填写",
  30749. "type": "integer"
  30750. },
  30751. "expiredate": {
  30752. "description": "行权日(yyyyMMdd) - 到期日",
  30753. "type": "string"
  30754. },
  30755. "expiretype": {
  30756. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30757. "type": "integer"
  30758. },
  30759. "freezeqty": {
  30760. "description": "期初均价",
  30761. "type": "number"
  30762. },
  30763. "goodscode": {
  30764. "description": "商品代码",
  30765. "type": "string"
  30766. },
  30767. "goodsid": {
  30768. "description": "商品ID",
  30769. "type": "integer"
  30770. },
  30771. "goodsname": {
  30772. "description": "商品名称",
  30773. "type": "string"
  30774. },
  30775. "goodunitid": {
  30776. "description": "商品单位id",
  30777. "type": "integer"
  30778. },
  30779. "holderamount": {
  30780. "description": "持仓金额",
  30781. "type": "number"
  30782. },
  30783. "holdercredit": {
  30784. "description": "持仓授信金额",
  30785. "type": "number"
  30786. },
  30787. "holderdays": {
  30788. "description": "剩余冻结天数",
  30789. "type": "integer"
  30790. },
  30791. "holderprice": {
  30792. "description": "持仓价格",
  30793. "type": "number"
  30794. },
  30795. "holderqty": {
  30796. "description": "期初均价",
  30797. "type": "number"
  30798. },
  30799. "isconfirmexercise": {
  30800. "description": "是否确认行权- 0:否 1:是",
  30801. "type": "integer"
  30802. },
  30803. "ispreexercise": {
  30804. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30805. "type": "integer"
  30806. },
  30807. "marketid": {
  30808. "description": "市场id",
  30809. "type": "integer"
  30810. },
  30811. "marketname": {
  30812. "description": "市场名称",
  30813. "type": "string"
  30814. },
  30815. "openprice": {
  30816. "description": "建仓价格",
  30817. "type": "number"
  30818. },
  30819. "openqty": {
  30820. "description": "期初均价",
  30821. "type": "number"
  30822. },
  30823. "optiontype": {
  30824. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30825. "type": "integer"
  30826. },
  30827. "preexerciseprice": {
  30828. "description": "预申报价格",
  30829. "type": "number"
  30830. },
  30831. "premium": {
  30832. "description": "权利金",
  30833. "type": "number"
  30834. },
  30835. "qtydecimalplace": {
  30836. "description": "商品成交量小数位",
  30837. "type": "integer"
  30838. },
  30839. "refgoodscode": {
  30840. "description": "标的合约代码",
  30841. "type": "string"
  30842. },
  30843. "refgoodsid": {
  30844. "description": "标的合约id",
  30845. "type": "integer"
  30846. },
  30847. "releaseamount": {
  30848. "description": "释放持仓金额",
  30849. "type": "number"
  30850. },
  30851. "releaseholdercredit": {
  30852. "description": "释放持仓授信金额",
  30853. "type": "number"
  30854. },
  30855. "taname": {
  30856. "description": "资金账号名称",
  30857. "type": "string"
  30858. },
  30859. "tradeamount": {
  30860. "description": "成交金额",
  30861. "type": "number"
  30862. },
  30863. "tradedate": {
  30864. "description": "交易日(yyyyMMdd)",
  30865. "type": "string"
  30866. },
  30867. "tradeid": {
  30868. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30869. "type": "string"
  30870. },
  30871. "trademode": {
  30872. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30873. "type": "integer"
  30874. },
  30875. "tradeproperty": {
  30876. "description": "交易属性",
  30877. "type": "integer"
  30878. },
  30879. "tradetime": {
  30880. "description": "交易时间",
  30881. "type": "string"
  30882. },
  30883. "userid": {
  30884. "description": "用户id",
  30885. "type": "integer"
  30886. },
  30887. "username": {
  30888. "description": "用户名称",
  30889. "type": "string"
  30890. }
  30891. }
  30892. },
  30893. "models.Unlinkermcphedgeplan": {
  30894. "type": "object",
  30895. "required": [
  30896. "areauserid"
  30897. ],
  30898. "properties": {
  30899. "accountid": {
  30900. "description": "期货账户ID - 作废",
  30901. "type": "integer"
  30902. },
  30903. "accountname": {
  30904. "description": "交易用户",
  30905. "type": "string"
  30906. },
  30907. "applyid": {
  30908. "description": "申请人",
  30909. "type": "integer"
  30910. },
  30911. "applysrc": {
  30912. "description": "申请来源 - 1:管理端 2:终端",
  30913. "type": "integer"
  30914. },
  30915. "applytime": {
  30916. "description": "申请时间",
  30917. "type": "string"
  30918. },
  30919. "areauserid": {
  30920. "description": "[企业ID]机构ID",
  30921. "type": "integer"
  30922. },
  30923. "auditid": {
  30924. "description": "审核人",
  30925. "type": "integer"
  30926. },
  30927. "auditremark": {
  30928. "description": "审核备注",
  30929. "type": "string"
  30930. },
  30931. "auditsrc": {
  30932. "description": "审核来源 - 1:管理端 2:终端",
  30933. "type": "integer"
  30934. },
  30935. "audittime": {
  30936. "description": "审核时间",
  30937. "type": "string"
  30938. },
  30939. "audittradedate": {
  30940. "description": "审核交易日(yyyyMMdd)",
  30941. "type": "string"
  30942. },
  30943. "biztype": {
  30944. "description": "业务类型 - 1:套保",
  30945. "type": "integer"
  30946. },
  30947. "contracttype": {
  30948. "description": "计划类型 - 1:采购 -1:销售",
  30949. "type": "integer"
  30950. },
  30951. "convertfactor": {
  30952. "description": "标仓系数 - 作废",
  30953. "type": "number"
  30954. },
  30955. "createtime": {
  30956. "description": "创建时间",
  30957. "type": "string"
  30958. },
  30959. "currencyid": {
  30960. "description": "结算币种ID - 作废",
  30961. "type": "integer"
  30962. },
  30963. "deliverygoodsid": {
  30964. "description": "现货品种ID",
  30965. "type": "integer"
  30966. },
  30967. "enumdicname": {
  30968. "description": "结算币种",
  30969. "type": "string"
  30970. },
  30971. "hedgeplanid": {
  30972. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  30973. "type": "string"
  30974. },
  30975. "hedgeplanno": {
  30976. "description": "[计划编号]套保计划编号,模糊查询",
  30977. "type": "string"
  30978. },
  30979. "hedgeplanstatus": {
  30980. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  30981. "type": "integer"
  30982. },
  30983. "isrelated": {
  30984. "description": "是否已关联计划项目 - 0:否 1:是",
  30985. "type": "integer"
  30986. },
  30987. "planqty": {
  30988. "description": "[计划量]计划数量",
  30989. "type": "number"
  30990. },
  30991. "plantime": {
  30992. "description": "计划时间",
  30993. "type": "string"
  30994. },
  30995. "producttype": {
  30996. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  30997. "type": "integer"
  30998. },
  30999. "remark": {
  31000. "description": "备注",
  31001. "type": "string"
  31002. },
  31003. "spotgoodsdesc": {
  31004. "description": "商品型号",
  31005. "type": "string"
  31006. },
  31007. "tradedate": {
  31008. "description": "交易日(yyyyMMdd)",
  31009. "type": "string"
  31010. },
  31011. "tradeuserid": {
  31012. "description": "交易用户ID",
  31013. "type": "integer"
  31014. },
  31015. "updatetime": {
  31016. "description": "更新时间",
  31017. "type": "string"
  31018. },
  31019. "wrstandardid": {
  31020. "description": "现货商品ID",
  31021. "type": "integer"
  31022. },
  31023. "wrstandardname": {
  31024. "description": "现货商品,模糊查询",
  31025. "type": "string"
  31026. }
  31027. }
  31028. },
  31029. "models.Useraccount": {
  31030. "type": "object",
  31031. "required": [
  31032. "userid"
  31033. ],
  31034. "properties": {
  31035. "accountname": {
  31036. "description": "账户名称(机构名称)",
  31037. "type": "string"
  31038. },
  31039. "accountstatus": {
  31040. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  31041. "type": "integer"
  31042. },
  31043. "applysrc": {
  31044. "description": "申请来源 - 1:管理端 2:终端",
  31045. "type": "integer"
  31046. },
  31047. "auditremark": {
  31048. "description": "审核备注",
  31049. "type": "string"
  31050. },
  31051. "auditsrc": {
  31052. "description": "审核来源 - 1:管理端 2:终端",
  31053. "type": "integer"
  31054. },
  31055. "audittime": {
  31056. "description": "审核时间",
  31057. "type": "string"
  31058. },
  31059. "audituserid": {
  31060. "description": "审核人",
  31061. "type": "integer"
  31062. },
  31063. "broker": {
  31064. "description": "所属经纪人ID",
  31065. "type": "integer"
  31066. },
  31067. "canceltime": {
  31068. "description": "销户时间",
  31069. "type": "string"
  31070. },
  31071. "canceluserid": {
  31072. "description": "销户人",
  31073. "type": "integer"
  31074. },
  31075. "canrecommend": {
  31076. "description": "是否可推荐 - 0:不可 1;可",
  31077. "type": "integer"
  31078. },
  31079. "createtime": {
  31080. "description": "创建时间",
  31081. "type": "string"
  31082. },
  31083. "creatorid": {
  31084. "description": "创建人",
  31085. "type": "integer"
  31086. },
  31087. "hasauth": {
  31088. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  31089. "type": "integer"
  31090. },
  31091. "isanonymous": {
  31092. "description": "是否匿名下单 - 0:否 1:是",
  31093. "type": "integer"
  31094. },
  31095. "maxinvestornum": {
  31096. "description": "最大用户数(经纪会员下投资者个数)",
  31097. "type": "integer"
  31098. },
  31099. "memberuserid": {
  31100. "description": "所属会员ID",
  31101. "type": "integer"
  31102. },
  31103. "modifierid": {
  31104. "description": "修改人",
  31105. "type": "integer"
  31106. },
  31107. "modifyremark": {
  31108. "description": "变更备注",
  31109. "type": "string"
  31110. },
  31111. "modifystatus": {
  31112. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  31113. "type": "integer"
  31114. },
  31115. "modifytime": {
  31116. "description": "修改时间",
  31117. "type": "string"
  31118. },
  31119. "parenttopuser": {
  31120. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31121. "type": "string"
  31122. },
  31123. "parentuserid": {
  31124. "description": "所属机构ID",
  31125. "type": "integer"
  31126. },
  31127. "reckonaccountid": {
  31128. "description": "默认结算资金账号ID(机构分润使用) 作废",
  31129. "type": "integer"
  31130. },
  31131. "refercount": {
  31132. "description": "推荐总人数",
  31133. "type": "integer"
  31134. },
  31135. "refereeuserid": {
  31136. "description": "推荐人ID",
  31137. "type": "integer"
  31138. },
  31139. "refernum": {
  31140. "description": "推荐码",
  31141. "type": "string"
  31142. },
  31143. "rootuserid": {
  31144. "description": "根用户ID",
  31145. "type": "integer"
  31146. },
  31147. "subaccountlevel": {
  31148. "description": "子账户层数",
  31149. "type": "integer"
  31150. },
  31151. "subarealevelpath": {
  31152. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31153. "type": "string"
  31154. },
  31155. "userid": {
  31156. "description": "用户ID",
  31157. "type": "integer"
  31158. },
  31159. "usertype": {
  31160. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31161. "type": "integer"
  31162. }
  31163. }
  31164. },
  31165. "models.Userfavoritegoods": {
  31166. "type": "object",
  31167. "required": [
  31168. "goodsid"
  31169. ],
  31170. "properties": {
  31171. "goodsid": {
  31172. "description": "商品ID",
  31173. "type": "integer"
  31174. }
  31175. }
  31176. },
  31177. "models.Userinfo": {
  31178. "type": "object",
  31179. "required": [
  31180. "userid"
  31181. ],
  31182. "properties": {
  31183. "address": {
  31184. "description": "地址",
  31185. "type": "string"
  31186. },
  31187. "attachment1": {
  31188. "description": "附件1",
  31189. "type": "string"
  31190. },
  31191. "attachment2": {
  31192. "description": "附件2",
  31193. "type": "string"
  31194. },
  31195. "bankaccount": {
  31196. "description": "银行帐号 (加密存储)",
  31197. "type": "string"
  31198. },
  31199. "bankaccountname": {
  31200. "description": "收款人名称",
  31201. "type": "string"
  31202. },
  31203. "bankcardfrontphotourl": {
  31204. "description": "银行卡正面照地址",
  31205. "type": "string"
  31206. },
  31207. "bankid": {
  31208. "description": "银行编码",
  31209. "type": "string"
  31210. },
  31211. "bankname": {
  31212. "description": "银行名称",
  31213. "type": "string"
  31214. },
  31215. "biznature": {
  31216. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31217. "type": "integer"
  31218. },
  31219. "bizscope": {
  31220. "description": "企业经营范围(企业)",
  31221. "type": "string"
  31222. },
  31223. "cardbackphotourl": {
  31224. "description": "证件背面图片地址",
  31225. "type": "string"
  31226. },
  31227. "cardfrontphotourl": {
  31228. "description": "证件正面图片地址",
  31229. "type": "string"
  31230. },
  31231. "cardnum": {
  31232. "description": "证件号码(加密存储)",
  31233. "type": "string"
  31234. },
  31235. "cardtypeid": {
  31236. "description": "证件类型ID",
  31237. "type": "integer"
  31238. },
  31239. "cityid": {
  31240. "description": "市",
  31241. "type": "integer"
  31242. },
  31243. "company": {
  31244. "description": "公司(个人)",
  31245. "type": "string"
  31246. },
  31247. "contactname": {
  31248. "description": "联系人",
  31249. "type": "string"
  31250. },
  31251. "countryid": {
  31252. "description": "国家",
  31253. "type": "integer"
  31254. },
  31255. "createtime": {
  31256. "description": "创建时间",
  31257. "type": "string"
  31258. },
  31259. "creatorid": {
  31260. "description": "创建人",
  31261. "type": "integer"
  31262. },
  31263. "customername": {
  31264. "description": "客户名称(企业名称)",
  31265. "type": "string"
  31266. },
  31267. "districtid": {
  31268. "description": "地区",
  31269. "type": "integer"
  31270. },
  31271. "email": {
  31272. "description": "邮件(加密存储)",
  31273. "type": "string"
  31274. },
  31275. "fax": {
  31276. "description": "传真(加密存储)",
  31277. "type": "string"
  31278. },
  31279. "halfbodyphotourl": {
  31280. "description": "半身照地址",
  31281. "type": "string"
  31282. },
  31283. "hasencrypt": {
  31284. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31285. "type": "integer"
  31286. },
  31287. "headurl": {
  31288. "description": "头像地址",
  31289. "type": "string"
  31290. },
  31291. "legalcardbackphotourl": {
  31292. "description": "法人身份证背面照地址",
  31293. "type": "string"
  31294. },
  31295. "legalcardfrontphotourl": {
  31296. "description": "法人身份证正面照地址",
  31297. "type": "string"
  31298. },
  31299. "legalpersonname": {
  31300. "description": "法人姓名(企业)",
  31301. "type": "string"
  31302. },
  31303. "mobile": {
  31304. "description": "手机号码(加密存储)",
  31305. "type": "string"
  31306. },
  31307. "mobile2": {
  31308. "description": "手机号码[明文-尚志]",
  31309. "type": "string"
  31310. },
  31311. "modifierid": {
  31312. "description": "修改人",
  31313. "type": "integer"
  31314. },
  31315. "modifiertime": {
  31316. "description": "修改时间",
  31317. "type": "string"
  31318. },
  31319. "needinvoice": {
  31320. "description": "是否需要发票 - 0:不需要 1:需要",
  31321. "type": "integer"
  31322. },
  31323. "nickname": {
  31324. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31325. "type": "string"
  31326. },
  31327. "openmode": {
  31328. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31329. "type": "integer"
  31330. },
  31331. "otherurl": {
  31332. "description": "其它图片地址[使用分号分隔]",
  31333. "type": "string"
  31334. },
  31335. "postalcode": {
  31336. "description": "邮政编码",
  31337. "type": "string"
  31338. },
  31339. "provinceid": {
  31340. "description": "省",
  31341. "type": "integer"
  31342. },
  31343. "qq": {
  31344. "description": "QQ(加密存储",
  31345. "type": "string"
  31346. },
  31347. "remark": {
  31348. "description": "备注",
  31349. "type": "string"
  31350. },
  31351. "sex": {
  31352. "description": "用户性别 0: 女 1: 男",
  31353. "type": "integer"
  31354. },
  31355. "signpdfurl": {
  31356. "description": "签约pdf文件",
  31357. "type": "string"
  31358. },
  31359. "telphone": {
  31360. "description": "联系电话(加密存储)",
  31361. "type": "string"
  31362. },
  31363. "userid": {
  31364. "description": "用户ID",
  31365. "type": "integer"
  31366. },
  31367. "userinfotype": {
  31368. "description": "用户信息类型 - 1:个人 2:企业",
  31369. "type": "integer"
  31370. },
  31371. "userstatus": {
  31372. "description": "用户状态 - 1:正常 2:注销",
  31373. "type": "integer"
  31374. },
  31375. "usertype": {
  31376. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31377. "type": "integer"
  31378. },
  31379. "wechat": {
  31380. "description": "微信(加密存储)",
  31381. "type": "string"
  31382. },
  31383. "wskhinfo": {
  31384. "description": "开户申请信息(JSON)",
  31385. "type": "string"
  31386. }
  31387. }
  31388. },
  31389. "models.WRSConverTDetail": {
  31390. "type": "object",
  31391. "properties": {
  31392. "convertratio": {
  31393. "description": "套保系数",
  31394. "type": "number"
  31395. },
  31396. "deliverygoodscode": {
  31397. "description": "现货商品代码",
  31398. "type": "string"
  31399. },
  31400. "deliverygoodsid": {
  31401. "description": "现货品种ID",
  31402. "type": "integer"
  31403. },
  31404. "deliverygoodsname": {
  31405. "description": "现货商品名称",
  31406. "type": "string"
  31407. },
  31408. "enumdicname": {
  31409. "description": "单位名称",
  31410. "type": "string"
  31411. },
  31412. "goodsunitid": {
  31413. "description": "套保品种单位id",
  31414. "type": "integer"
  31415. },
  31416. "middlegoodscode": {
  31417. "description": "套保品种代码",
  31418. "type": "string"
  31419. },
  31420. "middlegoodsid": {
  31421. "description": "套保品种ID",
  31422. "type": "integer"
  31423. },
  31424. "middlegoodsname": {
  31425. "description": "套保品种名称",
  31426. "type": "string"
  31427. },
  31428. "modifytime": {
  31429. "description": "修改时间",
  31430. "type": "string"
  31431. },
  31432. "wrstandardid": {
  31433. "description": "品类ID",
  31434. "type": "integer"
  31435. }
  31436. }
  31437. },
  31438. "models.WRStandardInfo": {
  31439. "type": "object",
  31440. "required": [
  31441. "wrstandardid"
  31442. ],
  31443. "properties": {
  31444. "areauserid": {
  31445. "description": "所属机构",
  31446. "type": "integer"
  31447. },
  31448. "convertfactor": {
  31449. "description": "标仓系数",
  31450. "type": "number"
  31451. },
  31452. "createtime": {
  31453. "description": "创建时间",
  31454. "type": "string"
  31455. },
  31456. "creatorid": {
  31457. "description": "创建人",
  31458. "type": "integer"
  31459. },
  31460. "deliverygoodsid": {
  31461. "description": "品种ID",
  31462. "type": "integer"
  31463. },
  31464. "deliverygoodsname": {
  31465. "description": "交割商品名称",
  31466. "type": "string"
  31467. },
  31468. "factoryitemjson": {
  31469. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31470. "type": "string"
  31471. },
  31472. "isvalid": {
  31473. "description": "是否有效 - 0:无效 1:有效",
  31474. "type": "integer"
  31475. },
  31476. "minivalue": {
  31477. "description": "最小变动值",
  31478. "type": "integer"
  31479. },
  31480. "minivaluedp": {
  31481. "description": "最小变动值小数位",
  31482. "type": "integer"
  31483. },
  31484. "realminivalue": {
  31485. "description": "实际最小变动值",
  31486. "type": "integer"
  31487. },
  31488. "realminivaluedp": {
  31489. "description": "实际最小变动值小数位",
  31490. "type": "integer"
  31491. },
  31492. "remark": {
  31493. "description": "备注",
  31494. "type": "string"
  31495. },
  31496. "unitid": {
  31497. "description": "单位ID",
  31498. "type": "integer"
  31499. },
  31500. "unitname": {
  31501. "description": "单位",
  31502. "type": "string"
  31503. },
  31504. "updatetime": {
  31505. "description": "更新时间",
  31506. "type": "string"
  31507. },
  31508. "updatorid": {
  31509. "description": "更新人",
  31510. "type": "integer"
  31511. },
  31512. "wrsstatus": {
  31513. "description": "状态 - 作废 - 0:未激活 1:正常",
  31514. "type": "integer"
  31515. },
  31516. "wrstandardcode": {
  31517. "description": "现货品类代码",
  31518. "type": "string"
  31519. },
  31520. "wrstandardid": {
  31521. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31522. "type": "integer"
  31523. },
  31524. "wrstandardname": {
  31525. "description": "现货品类名称",
  31526. "type": "string"
  31527. }
  31528. }
  31529. },
  31530. "models.WRTradeBargainApply": {
  31531. "type": "object",
  31532. "properties": {
  31533. "accountid": {
  31534. "description": "摘牌资金账号",
  31535. "type": "integer"
  31536. },
  31537. "applyprice": {
  31538. "description": "申请价格(议价价格)",
  31539. "type": "string"
  31540. },
  31541. "applyqty": {
  31542. "description": "摘牌数量(议价数量)",
  31543. "type": "number"
  31544. },
  31545. "applyremark": {
  31546. "description": "申请备注",
  31547. "type": "string"
  31548. },
  31549. "applystatus": {
  31550. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31551. "type": "integer"
  31552. },
  31553. "applytime": {
  31554. "description": "申请时间(议价时间)",
  31555. "type": "string"
  31556. },
  31557. "begindate": {
  31558. "description": "开始交易日(yyyymmdd)",
  31559. "type": "string"
  31560. },
  31561. "buyorsell": {
  31562. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31563. "type": "integer"
  31564. },
  31565. "confirmremark": {
  31566. "description": "确认备注",
  31567. "type": "string"
  31568. },
  31569. "confirmtime": {
  31570. "description": "确认时间",
  31571. "type": "string"
  31572. },
  31573. "confirmuserid": {
  31574. "description": "确认人",
  31575. "type": "integer"
  31576. },
  31577. "deliverygoodscode": {
  31578. "description": "品种代码",
  31579. "type": "string"
  31580. },
  31581. "deliverygoodsid": {
  31582. "description": "品种ID",
  31583. "type": "integer"
  31584. },
  31585. "deliverygoodsname": {
  31586. "description": "品种名称",
  31587. "type": "string"
  31588. },
  31589. "deliverymonth": {
  31590. "description": "交收月",
  31591. "type": "string"
  31592. },
  31593. "enddate": {
  31594. "description": "结束交易日(yyyymmdd)",
  31595. "type": "string"
  31596. },
  31597. "enumdicname": {
  31598. "description": "单位名称",
  31599. "type": "string"
  31600. },
  31601. "fixedprice": {
  31602. "description": "期初均价",
  31603. "type": "number"
  31604. },
  31605. "handlestatus": {
  31606. "description": "处理状态",
  31607. "type": "integer"
  31608. },
  31609. "marginvalue": {
  31610. "description": "期初均价",
  31611. "type": "number"
  31612. },
  31613. "marketid": {
  31614. "description": "市场ID",
  31615. "type": "integer"
  31616. },
  31617. "matchaccountid": {
  31618. "description": "挂牌方资金账号",
  31619. "type": "integer"
  31620. },
  31621. "matchuserid": {
  31622. "description": "挂牌方用户id",
  31623. "type": "integer"
  31624. },
  31625. "matchusername": {
  31626. "description": "挂牌方用户名称(已脱敏)",
  31627. "type": "string"
  31628. },
  31629. "minivalue": {
  31630. "description": "现货商品最小变动值",
  31631. "type": "integer"
  31632. },
  31633. "optioncompare": {
  31634. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31635. "type": "string"
  31636. },
  31637. "orderqty": {
  31638. "description": "挂牌数量",
  31639. "type": "integer"
  31640. },
  31641. "refprice": {
  31642. "description": "参考价格",
  31643. "type": "string"
  31644. },
  31645. "retcode": {
  31646. "description": "委托返回代码",
  31647. "type": "integer"
  31648. },
  31649. "templatename": {
  31650. "description": "履约方式(履约模板名称)",
  31651. "type": "string"
  31652. },
  31653. "tradedate": {
  31654. "description": "交易日(yyyyMMdd)",
  31655. "type": "string"
  31656. },
  31657. "userid": {
  31658. "description": "摘牌人用户ID(议价人ID)",
  31659. "type": "integer"
  31660. },
  31661. "username": {
  31662. "description": "议价人名字(已脱敏)",
  31663. "type": "string"
  31664. },
  31665. "validtime": {
  31666. "description": "有效期限",
  31667. "type": "string"
  31668. },
  31669. "warehouseid": {
  31670. "description": "仓库ID",
  31671. "type": "integer"
  31672. },
  31673. "warehousename": {
  31674. "description": "仓库名称",
  31675. "type": "string"
  31676. },
  31677. "wrbargainid": {
  31678. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31679. "type": "string"
  31680. },
  31681. "wrfactortypeid": {
  31682. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31683. "type": "string"
  31684. },
  31685. "wrfactortypename": {
  31686. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31687. "type": "string"
  31688. },
  31689. "wrstandardcode": {
  31690. "description": "现货商品代码",
  31691. "type": "string"
  31692. },
  31693. "wrstandardid": {
  31694. "description": "现货商品ID",
  31695. "type": "integer"
  31696. },
  31697. "wrstandardname": {
  31698. "description": "商品名称",
  31699. "type": "string"
  31700. },
  31701. "wrtradeorderid": {
  31702. "description": "关联委托单ID",
  31703. "type": "string"
  31704. },
  31705. "wrtypename": {
  31706. "description": "商品",
  31707. "type": "string"
  31708. }
  31709. }
  31710. },
  31711. "models.Warehouseinfo": {
  31712. "type": "object",
  31713. "required": [
  31714. "autoid",
  31715. "warehousecode"
  31716. ],
  31717. "properties": {
  31718. "address": {
  31719. "description": "详细地址",
  31720. "type": "string"
  31721. },
  31722. "areauserid": {
  31723. "description": "所属机构",
  31724. "type": "integer"
  31725. },
  31726. "autoid": {
  31727. "description": "自增ID",
  31728. "type": "integer"
  31729. },
  31730. "cityid": {
  31731. "description": "市",
  31732. "type": "integer"
  31733. },
  31734. "contactname": {
  31735. "description": "联系人",
  31736. "type": "string"
  31737. },
  31738. "contactnum": {
  31739. "description": "联系电话",
  31740. "type": "string"
  31741. },
  31742. "countryid": {
  31743. "description": "国家",
  31744. "type": "integer"
  31745. },
  31746. "createtime": {
  31747. "description": "创建时间",
  31748. "type": "string"
  31749. },
  31750. "districtid": {
  31751. "description": "区",
  31752. "type": "integer"
  31753. },
  31754. "hasvideo": {
  31755. "description": "是否有视频 - 0:无 1:有",
  31756. "type": "integer"
  31757. },
  31758. "provinceid": {
  31759. "description": "省",
  31760. "type": "integer"
  31761. },
  31762. "remark": {
  31763. "description": "审核备注",
  31764. "type": "string"
  31765. },
  31766. "videourl": {
  31767. "description": "视频地址",
  31768. "type": "string"
  31769. },
  31770. "warehousecode": {
  31771. "description": "仓库代码",
  31772. "type": "string"
  31773. },
  31774. "warehousename": {
  31775. "description": "仓库名称",
  31776. "type": "string"
  31777. },
  31778. "warehousestatus": {
  31779. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31780. "type": "integer"
  31781. },
  31782. "warehousetype": {
  31783. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31784. "type": "integer"
  31785. }
  31786. }
  31787. },
  31788. "models.WrAverageTradePrice": {
  31789. "type": "object",
  31790. "properties": {
  31791. "averageprice": {
  31792. "description": "期初均价",
  31793. "type": "number"
  31794. },
  31795. "tradedate": {
  31796. "description": "交易日yyyymm",
  31797. "type": "string"
  31798. }
  31799. }
  31800. },
  31801. "models.WrBrandAndYears": {
  31802. "type": "object",
  31803. "properties": {
  31804. "brandlst": {
  31805. "description": "品牌列表",
  31806. "type": "array",
  31807. "items": {
  31808. "$ref": "#/definitions/models.DgFactoryItem"
  31809. }
  31810. },
  31811. "yearslst": {
  31812. "description": "年份列表",
  31813. "type": "array",
  31814. "items": {
  31815. "$ref": "#/definitions/models.DgFactoryItem"
  31816. }
  31817. }
  31818. }
  31819. },
  31820. "models.WrBsGoodsInfo": {
  31821. "type": "object",
  31822. "properties": {
  31823. "buyorsell": {
  31824. "description": "买卖方向 0-买 1-卖",
  31825. "type": "integer"
  31826. },
  31827. "goodsid": {
  31828. "description": "交易合约ID",
  31829. "type": "integer"
  31830. },
  31831. "lstitem": {
  31832. "description": "商品信息项",
  31833. "type": "array",
  31834. "items": {
  31835. "$ref": "#/definitions/models.WrTypeItem"
  31836. }
  31837. },
  31838. "lststep": {
  31839. "description": "履约规则",
  31840. "type": "array",
  31841. "items": {
  31842. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31843. }
  31844. }
  31845. }
  31846. },
  31847. "models.WrBuybackDetail": {
  31848. "type": "object",
  31849. "properties": {
  31850. "buybackamount": {
  31851. "description": "回购金额",
  31852. "type": "number"
  31853. },
  31854. "buybackqty": {
  31855. "description": "回购数量",
  31856. "type": "number"
  31857. },
  31858. "buybackreleasemargin": {
  31859. "description": "回购释放保证金",
  31860. "type": "number"
  31861. },
  31862. "buybacktime": {
  31863. "description": "回购时间",
  31864. "type": "string"
  31865. },
  31866. "errordesc": {
  31867. "description": "错误描述",
  31868. "type": "string"
  31869. },
  31870. "handlestatus": {
  31871. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31872. "type": "integer"
  31873. },
  31874. "relatedwrid": {
  31875. "description": "关联仓单ID",
  31876. "type": "integer"
  31877. },
  31878. "scfcontractid": {
  31879. "description": "SCF合同ID",
  31880. "type": "string"
  31881. },
  31882. "scfwrbuybackid": {
  31883. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31884. "type": "integer"
  31885. },
  31886. "tradedate": {
  31887. "description": "交易日(yyyyMMdd)",
  31888. "type": "string"
  31889. }
  31890. }
  31891. },
  31892. "models.WrClientAdSpaceConfig": {
  31893. "type": "object",
  31894. "properties": {
  31895. "adspaceid": {
  31896. "description": "广告位ID",
  31897. "type": "integer"
  31898. },
  31899. "adspacename": {
  31900. "description": "广告位名称",
  31901. "type": "string"
  31902. },
  31903. "adspacetype": {
  31904. "description": "广告位类型 - 1:固定广告位",
  31905. "type": "integer"
  31906. },
  31907. "areauserid": {
  31908. "description": "所属机构ID",
  31909. "type": "integer"
  31910. },
  31911. "createdate": {
  31912. "description": "创建时间",
  31913. "type": "string"
  31914. },
  31915. "imagepath": {
  31916. "description": "图片",
  31917. "type": "string"
  31918. },
  31919. "modifierid": {
  31920. "description": "操作人",
  31921. "type": "integer"
  31922. },
  31923. "recsize": {
  31924. "description": "推荐尺寸",
  31925. "type": "string"
  31926. },
  31927. "title": {
  31928. "description": "标题",
  31929. "type": "string"
  31930. },
  31931. "updatedate": {
  31932. "description": "更新时间",
  31933. "type": "string"
  31934. },
  31935. "urlcontent": {
  31936. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  31937. "type": "string"
  31938. },
  31939. "urltype": {
  31940. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  31941. "type": "integer"
  31942. }
  31943. }
  31944. },
  31945. "models.WrDeliveryAvalidHoldLB": {
  31946. "type": "object",
  31947. "properties": {
  31948. "accountid": {
  31949. "description": "资金账号",
  31950. "type": "integer"
  31951. },
  31952. "avalidqty": {
  31953. "description": "数量(可点选数量)",
  31954. "type": "number"
  31955. },
  31956. "deliverygoodsid": {
  31957. "description": "品种id",
  31958. "type": "integer"
  31959. },
  31960. "enumdicname": {
  31961. "description": "单位名称",
  31962. "type": "string"
  31963. },
  31964. "goodsid": {
  31965. "description": "x合约商品id",
  31966. "type": "integer"
  31967. },
  31968. "ladingbillid": {
  31969. "description": "提单id",
  31970. "type": "string"
  31971. },
  31972. "pgoodscode": {
  31973. "description": "p商品代码(点价合约)",
  31974. "type": "string"
  31975. },
  31976. "pgoodsid": {
  31977. "description": "p商品id(点价合约)",
  31978. "type": "integer"
  31979. },
  31980. "pgoodsname": {
  31981. "description": "p商品名称(点价合约)",
  31982. "type": "string"
  31983. },
  31984. "pricemove": {
  31985. "description": "升贴水",
  31986. "type": "number"
  31987. },
  31988. "subnum": {
  31989. "description": "提单子id",
  31990. "type": "integer"
  31991. },
  31992. "userid": {
  31993. "description": "用户id",
  31994. "type": "integer"
  31995. },
  31996. "username": {
  31997. "description": "仓单持有人",
  31998. "type": "string"
  31999. },
  32000. "warehousecode": {
  32001. "description": "仓库代码",
  32002. "type": "string"
  32003. },
  32004. "warehouseid": {
  32005. "description": "仓库id",
  32006. "type": "integer"
  32007. },
  32008. "warehousename": {
  32009. "description": "仓库名称",
  32010. "type": "string"
  32011. },
  32012. "wrfactortypeid": {
  32013. "description": "仓单要素id",
  32014. "type": "string"
  32015. },
  32016. "wrstandardcode": {
  32017. "description": "品代码",
  32018. "type": "string"
  32019. },
  32020. "wrstandardid": {
  32021. "description": "品类d",
  32022. "type": "integer"
  32023. },
  32024. "wrstandardname": {
  32025. "description": "品类名称",
  32026. "type": "string"
  32027. },
  32028. "wrtypename": {
  32029. "description": "商品",
  32030. "type": "string"
  32031. },
  32032. "xgoodscode": {
  32033. "description": "x合约代码",
  32034. "type": "string"
  32035. },
  32036. "xgoodsname": {
  32037. "description": "x合约名称",
  32038. "type": "string"
  32039. }
  32040. }
  32041. },
  32042. "models.WrDeliveryDetail": {
  32043. "type": "object",
  32044. "properties": {
  32045. "accountid": {
  32046. "description": "账号ID",
  32047. "type": "integer"
  32048. },
  32049. "averageprice": {
  32050. "description": "期初均价",
  32051. "type": "number"
  32052. },
  32053. "begindate": {
  32054. "description": "开始交易日(yyyymmdd)",
  32055. "type": "string"
  32056. },
  32057. "buyorsell": {
  32058. "description": "方向 - 0:买 1:卖",
  32059. "type": "integer"
  32060. },
  32061. "deliveryamount": {
  32062. "description": "货款金额(X总货款+P总货款)",
  32063. "type": "number"
  32064. },
  32065. "deliveryid": {
  32066. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  32067. "type": "string"
  32068. },
  32069. "deliveryorderid": {
  32070. "description": "申报单号",
  32071. "type": "string"
  32072. },
  32073. "deliverypricemove": {
  32074. "description": "升贴水(升贴水总额)",
  32075. "type": "number"
  32076. },
  32077. "deliveryqty": {
  32078. "description": "交收数量(点选数量)",
  32079. "type": "number"
  32080. },
  32081. "deliverystatus": {
  32082. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  32083. "type": "integer"
  32084. },
  32085. "deliverytime": {
  32086. "description": "交割时间",
  32087. "type": "string"
  32088. },
  32089. "deliverytotalamount": {
  32090. "description": "交收金额",
  32091. "type": "number"
  32092. },
  32093. "enddate": {
  32094. "description": "结束交易日(yyyymmdd)",
  32095. "type": "string"
  32096. },
  32097. "enumdicname": {
  32098. "description": "单位名称",
  32099. "type": "string"
  32100. },
  32101. "matchaccountid": {
  32102. "description": "对手账号ID",
  32103. "type": "integer"
  32104. },
  32105. "matchusername": {
  32106. "description": "对手方名称(仓单持有人)",
  32107. "type": "string"
  32108. },
  32109. "p1goodsremainamount": {
  32110. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  32111. "type": "number"
  32112. },
  32113. "pdeliverycloseqty": {
  32114. "description": "p合约平仓数量",
  32115. "type": "number"
  32116. },
  32117. "pdeliveryprice": {
  32118. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  32119. "type": "number"
  32120. },
  32121. "pgoodscode": {
  32122. "description": "商品代码",
  32123. "type": "string"
  32124. },
  32125. "pgoodsid": {
  32126. "description": "p点选合约id",
  32127. "type": "integer"
  32128. },
  32129. "pgoodsname": {
  32130. "description": "商品名称",
  32131. "type": "string"
  32132. },
  32133. "ppricemode": {
  32134. "description": "点价价格方式 - 1:商品价 2:固定值",
  32135. "type": "integer"
  32136. },
  32137. "tradedate": {
  32138. "description": "交易日(yyyymmdd)",
  32139. "type": "string"
  32140. },
  32141. "userid": {
  32142. "description": "用户id",
  32143. "type": "integer"
  32144. },
  32145. "username": {
  32146. "description": "用户名称",
  32147. "type": "string"
  32148. },
  32149. "warehousename": {
  32150. "description": "仓库名称",
  32151. "type": "string"
  32152. },
  32153. "wrfactortypeid": {
  32154. "description": "仓单要素类型ID",
  32155. "type": "string"
  32156. },
  32157. "wrtypename": {
  32158. "description": "商品",
  32159. "type": "string"
  32160. },
  32161. "xdeliverycloseqty": {
  32162. "description": "合约数量",
  32163. "type": "number"
  32164. },
  32165. "xgoodsamount": {
  32166. "description": "期初均价",
  32167. "type": "number"
  32168. },
  32169. "xgoodscode": {
  32170. "description": "商品代码",
  32171. "type": "string"
  32172. },
  32173. "xgoodsid": {
  32174. "description": "x交易合约ID",
  32175. "type": "integer"
  32176. },
  32177. "xgoodsname": {
  32178. "description": "商品名称",
  32179. "type": "string"
  32180. }
  32181. }
  32182. },
  32183. "models.WrDeliveryGoodsSection": {
  32184. "type": "object",
  32185. "properties": {
  32186. "dglst": {
  32187. "description": "板块商品列表",
  32188. "type": "array",
  32189. "items": {
  32190. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  32191. }
  32192. },
  32193. "imagepath": {
  32194. "description": "图片地址",
  32195. "type": "string"
  32196. },
  32197. "orderindex": {
  32198. "description": "排序",
  32199. "type": "integer"
  32200. },
  32201. "sectionid": {
  32202. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  32203. "type": "integer"
  32204. },
  32205. "sectionname": {
  32206. "description": "版块名称",
  32207. "type": "string"
  32208. },
  32209. "sectiontype": {
  32210. "description": "版块类型 - 1:指数版块 2:普通版块",
  32211. "type": "integer"
  32212. }
  32213. }
  32214. },
  32215. "models.WrDeliveryGoodsSectionConfig": {
  32216. "type": "object",
  32217. "properties": {
  32218. "deliverygoodscode": {
  32219. "description": "现货商品代码",
  32220. "type": "string"
  32221. },
  32222. "deliverygoodsid": {
  32223. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  32224. "type": "integer"
  32225. },
  32226. "deliverygoodsname": {
  32227. "description": "现货商品名称",
  32228. "type": "string"
  32229. },
  32230. "orderindex": {
  32231. "description": "排序",
  32232. "type": "integer"
  32233. }
  32234. }
  32235. },
  32236. "models.WrDraftUserInfo": {
  32237. "type": "object",
  32238. "properties": {
  32239. "address": {
  32240. "description": "地址",
  32241. "type": "string"
  32242. },
  32243. "attachment1": {
  32244. "description": "附件1",
  32245. "type": "string"
  32246. },
  32247. "attachment2": {
  32248. "description": "附件2",
  32249. "type": "string"
  32250. },
  32251. "attachment3": {
  32252. "description": "附件3",
  32253. "type": "string"
  32254. },
  32255. "attachment4": {
  32256. "description": "附件4",
  32257. "type": "string"
  32258. },
  32259. "attachment5": {
  32260. "description": "附件5",
  32261. "type": "string"
  32262. },
  32263. "bankaccount": {
  32264. "description": "银行帐号 (加密存储)",
  32265. "type": "string"
  32266. },
  32267. "bankaccountname": {
  32268. "description": "收款人名称",
  32269. "type": "string"
  32270. },
  32271. "bankcardfrontphotourl": {
  32272. "description": "银行卡正面照地址",
  32273. "type": "string"
  32274. },
  32275. "bankid": {
  32276. "description": "银行编码",
  32277. "type": "string"
  32278. },
  32279. "bankname": {
  32280. "description": "银行名称",
  32281. "type": "string"
  32282. },
  32283. "birthday": {
  32284. "description": "生日(个人:年月日)",
  32285. "type": "string"
  32286. },
  32287. "biznature": {
  32288. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32289. "type": "integer"
  32290. },
  32291. "bizscope": {
  32292. "description": "企业经营范围(企业)",
  32293. "type": "string"
  32294. },
  32295. "biztype": {
  32296. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  32297. "type": "integer"
  32298. },
  32299. "cardbackphotourl": {
  32300. "description": "证件背面图片地址",
  32301. "type": "string"
  32302. },
  32303. "cardfrontphotourl": {
  32304. "description": "证件正面图片地址",
  32305. "type": "string"
  32306. },
  32307. "cardnum": {
  32308. "description": "证件号码(加密存储)",
  32309. "type": "string"
  32310. },
  32311. "cardtypeid": {
  32312. "description": "证件类型ID",
  32313. "type": "integer"
  32314. },
  32315. "cityid": {
  32316. "description": "市",
  32317. "type": "integer"
  32318. },
  32319. "company": {
  32320. "description": "公司(个人)",
  32321. "type": "string"
  32322. },
  32323. "contactcardbackphotourl": {
  32324. "description": "联系人证件背面图片地址",
  32325. "type": "string"
  32326. },
  32327. "contactcardfrontphotourl": {
  32328. "description": "联系人证件正面图片地址",
  32329. "type": "string"
  32330. },
  32331. "contactname": {
  32332. "description": "联系人",
  32333. "type": "string"
  32334. },
  32335. "countryid": {
  32336. "description": "国家",
  32337. "type": "integer"
  32338. },
  32339. "createtime": {
  32340. "description": "创建时间",
  32341. "type": "string"
  32342. },
  32343. "creatorid": {
  32344. "description": "创建人",
  32345. "type": "integer"
  32346. },
  32347. "creditquota": {
  32348. "description": "授信额度(金瑞)",
  32349. "type": "number"
  32350. },
  32351. "customername": {
  32352. "description": "客户名称(企业名称)",
  32353. "type": "string"
  32354. },
  32355. "districtid": {
  32356. "description": "地区",
  32357. "type": "integer"
  32358. },
  32359. "email": {
  32360. "description": "邮件(加密存储)",
  32361. "type": "string"
  32362. },
  32363. "fax": {
  32364. "description": "传真(加密存储)",
  32365. "type": "string"
  32366. },
  32367. "halfbodyphotourl": {
  32368. "description": "半身照地址",
  32369. "type": "string"
  32370. },
  32371. "hasencrypt": {
  32372. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32373. "type": "integer"
  32374. },
  32375. "headurl": {
  32376. "description": "头像地址",
  32377. "type": "string"
  32378. },
  32379. "legalcardbackphotourl": {
  32380. "description": "法人身份证背面照地址",
  32381. "type": "string"
  32382. },
  32383. "legalcardfrontphotourl": {
  32384. "description": "法人身份证正面照地址",
  32385. "type": "string"
  32386. },
  32387. "legalpersonname": {
  32388. "description": "法人姓名(企业)",
  32389. "type": "string"
  32390. },
  32391. "mobile": {
  32392. "description": "手机号码(加密存储)",
  32393. "type": "string"
  32394. },
  32395. "mobile2": {
  32396. "description": "手机号码[明文-尚志]",
  32397. "type": "string"
  32398. },
  32399. "modifierid": {
  32400. "description": "修改人",
  32401. "type": "integer"
  32402. },
  32403. "modifiertime": {
  32404. "description": "修改时间",
  32405. "type": "string"
  32406. },
  32407. "needinvoice": {
  32408. "description": "是否需要发票 - 0:不需要 1:需要",
  32409. "type": "integer"
  32410. },
  32411. "nickname": {
  32412. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32413. "type": "string"
  32414. },
  32415. "openmode": {
  32416. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  32417. "type": "integer"
  32418. },
  32419. "otherurl": {
  32420. "description": "其它图片地址[使用分号分隔]",
  32421. "type": "string"
  32422. },
  32423. "postalcode": {
  32424. "description": "邮政编码",
  32425. "type": "string"
  32426. },
  32427. "provinceid": {
  32428. "description": "省",
  32429. "type": "integer"
  32430. },
  32431. "proxystatementurl": {
  32432. "description": "授权委托书",
  32433. "type": "string"
  32434. },
  32435. "qq": {
  32436. "description": "QQ(加密存储",
  32437. "type": "string"
  32438. },
  32439. "remark": {
  32440. "description": "备注",
  32441. "type": "string"
  32442. },
  32443. "sex": {
  32444. "description": "用户性别 0: 女 1: 男",
  32445. "type": "integer"
  32446. },
  32447. "signpdfurl": {
  32448. "description": "签约pdf文件",
  32449. "type": "string"
  32450. },
  32451. "taxpayernum": {
  32452. "description": "纳税人识别号",
  32453. "type": "string"
  32454. },
  32455. "telphone": {
  32456. "description": "联系电话(加密存储)",
  32457. "type": "string"
  32458. },
  32459. "userid": {
  32460. "description": "用户ID",
  32461. "type": "integer"
  32462. },
  32463. "userinfotype": {
  32464. "description": "用户信息类型 - 1:个人 2:企业",
  32465. "type": "integer"
  32466. },
  32467. "userstatus": {
  32468. "description": "用户状态 - 1:正常 2:注销",
  32469. "type": "integer"
  32470. },
  32471. "usertype": {
  32472. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  32473. "type": "integer"
  32474. },
  32475. "wechat": {
  32476. "description": "微信(加密存储)",
  32477. "type": "string"
  32478. },
  32479. "wskhinfo": {
  32480. "description": "开户申请信息(JSON)",
  32481. "type": "string"
  32482. }
  32483. }
  32484. },
  32485. "models.WrFAProductDetail": {
  32486. "type": "object",
  32487. "properties": {
  32488. "accountid": {
  32489. "description": "资金账号",
  32490. "type": "integer"
  32491. },
  32492. "areauserid": {
  32493. "description": "金融机构ID",
  32494. "type": "integer"
  32495. },
  32496. "financingdays": {
  32497. "description": "天数(天)",
  32498. "type": "integer"
  32499. },
  32500. "interestminlen": {
  32501. "description": "最小起息天数",
  32502. "type": "integer"
  32503. },
  32504. "interestrate": {
  32505. "description": "利率",
  32506. "type": "number"
  32507. },
  32508. "interestratemode": {
  32509. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32510. "type": "integer"
  32511. },
  32512. "interestsettlemode": {
  32513. "description": "结息方式 - 1:按日结息 3:按月结息",
  32514. "type": "integer"
  32515. },
  32516. "interestsettlevalue": {
  32517. "description": "结息方式值",
  32518. "type": "integer"
  32519. },
  32520. "isautoloan": {
  32521. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32522. "type": "integer"
  32523. },
  32524. "loantag": {
  32525. "description": "放款标识: \"放款快\" 或者为空",
  32526. "type": "string"
  32527. },
  32528. "marginratio": {
  32529. "description": "保证金比率质押率 - [仓单质押]",
  32530. "type": "number"
  32531. },
  32532. "productdetailid": {
  32533. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32534. "type": "integer"
  32535. },
  32536. "productid": {
  32537. "description": "金融产品ID",
  32538. "type": "integer"
  32539. },
  32540. "productname": {
  32541. "description": "产品名称",
  32542. "type": "string"
  32543. },
  32544. "updatetime": {
  32545. "description": "更新时间",
  32546. "type": "string"
  32547. },
  32548. "username": {
  32549. "description": "融出方",
  32550. "type": "string"
  32551. }
  32552. }
  32553. },
  32554. "models.WrFactorTypeInfo": {
  32555. "type": "object",
  32556. "properties": {
  32557. "deliverygoodscode": {
  32558. "description": "品种代码",
  32559. "type": "string"
  32560. },
  32561. "deliverygoodsname": {
  32562. "description": "品种名称",
  32563. "type": "string"
  32564. },
  32565. "dgfactoryitemid": {
  32566. "description": "选择项id",
  32567. "type": "integer"
  32568. },
  32569. "dgfactoryitemtypeid": {
  32570. "description": "要素选择项ID (1-仓库 2-品牌)",
  32571. "type": "integer"
  32572. },
  32573. "dgfactoryitemvalue": {
  32574. "description": "要素项值",
  32575. "type": "string"
  32576. },
  32577. "itemtypename": {
  32578. "description": "要素项名称",
  32579. "type": "string"
  32580. },
  32581. "optioncompare": {
  32582. "description": "选择比较串",
  32583. "type": "string"
  32584. },
  32585. "warehouseid": {
  32586. "description": "仓库id",
  32587. "type": "integer"
  32588. },
  32589. "wrfactortypeid": {
  32590. "description": "仓单要素ID",
  32591. "type": "string"
  32592. },
  32593. "wrfactortypename": {
  32594. "description": "要素名称",
  32595. "type": "string"
  32596. },
  32597. "wrfactortypename2": {
  32598. "description": "要素名称(不含仓库)",
  32599. "type": "string"
  32600. },
  32601. "wrstandardcode": {
  32602. "description": "品类代码",
  32603. "type": "string"
  32604. },
  32605. "wrstandardid": {
  32606. "description": "品类id",
  32607. "type": "integer"
  32608. },
  32609. "wrstandardname": {
  32610. "description": "品类名称",
  32611. "type": "string"
  32612. }
  32613. }
  32614. },
  32615. "models.WrFilterItem": {
  32616. "type": "object",
  32617. "properties": {
  32618. "itemcode": {
  32619. "description": "代码",
  32620. "type": "string"
  32621. },
  32622. "itemid": {
  32623. "description": "项id",
  32624. "type": "integer"
  32625. },
  32626. "itemname": {
  32627. "description": "名称",
  32628. "type": "string"
  32629. },
  32630. "itemtype": {
  32631. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32632. "type": "integer"
  32633. }
  32634. }
  32635. },
  32636. "models.WrFinanceBuyApply": {
  32637. "type": "object",
  32638. "properties": {
  32639. "applydate": {
  32640. "description": "申请时间",
  32641. "type": "string"
  32642. },
  32643. "applystatus": {
  32644. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32645. "type": "integer"
  32646. },
  32647. "applyuserid": {
  32648. "description": "申请人",
  32649. "type": "integer"
  32650. },
  32651. "auditdate": {
  32652. "description": "审核时间",
  32653. "type": "string"
  32654. },
  32655. "auditremark": {
  32656. "description": "审核备注",
  32657. "type": "string"
  32658. },
  32659. "audituserid": {
  32660. "description": "审核人",
  32661. "type": "integer"
  32662. },
  32663. "buyaccountid": {
  32664. "description": "买方资金账号",
  32665. "type": "integer"
  32666. },
  32667. "buyorsell": {
  32668. "description": "买卖 - 0:买 1:卖",
  32669. "type": "integer"
  32670. },
  32671. "buyuserid": {
  32672. "description": "买方用户ID",
  32673. "type": "integer"
  32674. },
  32675. "buyusername": {
  32676. "description": "买方名称",
  32677. "type": "string"
  32678. },
  32679. "buywrtradeorderid": {
  32680. "description": "融资方买委托单ID",
  32681. "type": "string"
  32682. },
  32683. "deliverygoodscode": {
  32684. "description": "品种代码",
  32685. "type": "string"
  32686. },
  32687. "deliverygoodsid": {
  32688. "description": "品种ID",
  32689. "type": "integer"
  32690. },
  32691. "deliverygoodsname": {
  32692. "description": "品种名称",
  32693. "type": "string"
  32694. },
  32695. "deliverymonth": {
  32696. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32697. "type": "string"
  32698. },
  32699. "enumdicname": {
  32700. "description": "单位名称",
  32701. "type": "string"
  32702. },
  32703. "financeaccountid": {
  32704. "description": "融资方资金帐户ID",
  32705. "type": "integer"
  32706. },
  32707. "financeapplyid": {
  32708. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32709. "type": "string"
  32710. },
  32711. "financeareauserid": {
  32712. "description": "融资方用户ID",
  32713. "type": "string"
  32714. },
  32715. "financename": {
  32716. "description": "融出方名称",
  32717. "type": "string"
  32718. },
  32719. "financetype": {
  32720. "description": "融资类型 1-融资回购",
  32721. "type": "integer"
  32722. },
  32723. "financingdays": {
  32724. "description": "天数(天)",
  32725. "type": "integer"
  32726. },
  32727. "freezebuymargin": {
  32728. "description": "冻结融资保证金(买方)",
  32729. "type": "number"
  32730. },
  32731. "handleremark": {
  32732. "description": "处理备注",
  32733. "type": "string"
  32734. },
  32735. "handlestatus": {
  32736. "description": "处理状态",
  32737. "type": "integer"
  32738. },
  32739. "interestminlen": {
  32740. "description": "最小起息天数",
  32741. "type": "integer"
  32742. },
  32743. "interestrate": {
  32744. "description": "利率",
  32745. "type": "number"
  32746. },
  32747. "interestratemode": {
  32748. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32749. "type": "integer"
  32750. },
  32751. "interestsettlemode": {
  32752. "description": "结息方式 - 1:按日结息 3:按月结息",
  32753. "type": "integer"
  32754. },
  32755. "interestsettlevalue": {
  32756. "description": "结息方式值",
  32757. "type": "integer"
  32758. },
  32759. "isautoloan": {
  32760. "description": "是否自动放款 - 0:手动 1:自动",
  32761. "type": "integer"
  32762. },
  32763. "marginratio": {
  32764. "description": "保证金比率质押率 - [仓单质押]",
  32765. "type": "number"
  32766. },
  32767. "marketid": {
  32768. "description": "市场ID",
  32769. "type": "integer"
  32770. },
  32771. "minivalue": {
  32772. "description": "现货商品最小变动值",
  32773. "type": "integer"
  32774. },
  32775. "optioncompare": {
  32776. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32777. "type": "string"
  32778. },
  32779. "orderqty": {
  32780. "description": "委托数量(商品数量)",
  32781. "type": "number"
  32782. },
  32783. "productdetailid": {
  32784. "description": "产品组合ID",
  32785. "type": "integer"
  32786. },
  32787. "productid": {
  32788. "description": "金融产品ID",
  32789. "type": "integer"
  32790. },
  32791. "productname": {
  32792. "description": "产品名称",
  32793. "type": "string"
  32794. },
  32795. "remark": {
  32796. "description": "备注",
  32797. "type": "string"
  32798. },
  32799. "scfcontractid": {
  32800. "description": "仓单回购合同ID",
  32801. "type": "string"
  32802. },
  32803. "sellaccountid": {
  32804. "description": "卖方资金账号",
  32805. "type": "integer"
  32806. },
  32807. "selluserid": {
  32808. "description": "卖方用户ID",
  32809. "type": "integer"
  32810. },
  32811. "sellwrtradeorderid": {
  32812. "description": "卖方委托单ID",
  32813. "type": "string"
  32814. },
  32815. "tradeamount": {
  32816. "description": "成交金额(借款金额)",
  32817. "type": "number"
  32818. },
  32819. "tradedate": {
  32820. "description": "交易日(yyyyMMdd)",
  32821. "type": "string"
  32822. },
  32823. "tradeprice": {
  32824. "description": "成交价格",
  32825. "type": "number"
  32826. },
  32827. "warehouseid": {
  32828. "description": "仓库ID",
  32829. "type": "integer"
  32830. },
  32831. "warehousename": {
  32832. "description": "仓库名称",
  32833. "type": "string"
  32834. },
  32835. "wrfactortypeid": {
  32836. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32837. "type": "string"
  32838. },
  32839. "wrfactortypename": {
  32840. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32841. "type": "string"
  32842. },
  32843. "wrpricetype": {
  32844. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32845. "type": "integer"
  32846. },
  32847. "wrstandardcode": {
  32848. "description": "现货商品代码",
  32849. "type": "string"
  32850. },
  32851. "wrstandardid": {
  32852. "description": "现货商品ID",
  32853. "type": "integer"
  32854. },
  32855. "wrstandardname": {
  32856. "description": "商品名称",
  32857. "type": "string"
  32858. },
  32859. "wrtypename": {
  32860. "description": "商品",
  32861. "type": "string"
  32862. }
  32863. }
  32864. },
  32865. "models.WrFriendApply": {
  32866. "type": "object",
  32867. "properties": {
  32868. "applicantid": {
  32869. "description": "申请人",
  32870. "type": "integer"
  32871. },
  32872. "applyname": {
  32873. "description": "申请人名称",
  32874. "type": "string"
  32875. },
  32876. "applysrc": {
  32877. "description": "申请来源 - 1:管理端 2:终端",
  32878. "type": "integer"
  32879. },
  32880. "applystatus": {
  32881. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32882. "type": "integer"
  32883. },
  32884. "applytime": {
  32885. "description": "申请时间",
  32886. "type": "string"
  32887. },
  32888. "auditname": {
  32889. "description": "审核人名称",
  32890. "type": "string"
  32891. },
  32892. "auditorid": {
  32893. "description": "审核人",
  32894. "type": "integer"
  32895. },
  32896. "auditremark": {
  32897. "description": "审核备注",
  32898. "type": "string"
  32899. },
  32900. "auditsrc": {
  32901. "description": "审核来源 - 1:管理端 2:终端",
  32902. "type": "integer"
  32903. },
  32904. "audittime": {
  32905. "description": "审核时间",
  32906. "type": "string"
  32907. },
  32908. "friendapplyid": {
  32909. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32910. "type": "string"
  32911. },
  32912. "friendname": {
  32913. "description": "好友名字(已脱敏)",
  32914. "type": "string"
  32915. },
  32916. "frienduserid": {
  32917. "description": "好友用户ID",
  32918. "type": "string"
  32919. },
  32920. "remark": {
  32921. "description": "备注",
  32922. "type": "string"
  32923. },
  32924. "userid": {
  32925. "description": "申请人用户ID",
  32926. "type": "integer"
  32927. }
  32928. }
  32929. },
  32930. "models.WrFtDeliveryGoods": {
  32931. "type": "object",
  32932. "properties": {
  32933. "deliverygoodscode": {
  32934. "description": "品种代码",
  32935. "type": "string"
  32936. },
  32937. "deliverygoodsid": {
  32938. "description": "品种ID",
  32939. "type": "integer"
  32940. },
  32941. "deliverygoodsname": {
  32942. "description": "品种名称",
  32943. "type": "string"
  32944. },
  32945. "wdlst": {
  32946. "description": "商品列表",
  32947. "type": "array",
  32948. "items": {
  32949. "$ref": "#/definitions/models.WrFtWrstandard"
  32950. }
  32951. }
  32952. }
  32953. },
  32954. "models.WrFtWrstandard": {
  32955. "type": "object",
  32956. "properties": {
  32957. "enumdicname": {
  32958. "description": "单位名称",
  32959. "type": "string"
  32960. },
  32961. "minivalue": {
  32962. "description": "最小变动值",
  32963. "type": "integer"
  32964. },
  32965. "wrstandardcode": {
  32966. "description": "现货商品代码",
  32967. "type": "string"
  32968. },
  32969. "wrstandardid": {
  32970. "description": "现货商品ID",
  32971. "type": "integer"
  32972. },
  32973. "wrstandardname": {
  32974. "description": "商品名称",
  32975. "type": "string"
  32976. }
  32977. }
  32978. },
  32979. "models.WrGoodsInfo": {
  32980. "type": "object",
  32981. "properties": {
  32982. "haswr": {
  32983. "description": "0:仓单预售 1:仓单贸易",
  32984. "type": "integer"
  32985. },
  32986. "lstitem": {
  32987. "description": "商品信息项",
  32988. "type": "array",
  32989. "items": {
  32990. "$ref": "#/definitions/models.WrTypeItem"
  32991. }
  32992. },
  32993. "lststep": {
  32994. "description": "履约规则",
  32995. "type": "array",
  32996. "items": {
  32997. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32998. }
  32999. },
  33000. "marketid": {
  33001. "description": "市场id",
  33002. "type": "integer"
  33003. }
  33004. }
  33005. },
  33006. "models.WrGoodsPerformanceStep": {
  33007. "type": "object",
  33008. "properties": {
  33009. "autoid": {
  33010. "description": "AutoID",
  33011. "type": "integer"
  33012. },
  33013. "isauto": {
  33014. "description": "是否自动 - 0:不自动 1:自动",
  33015. "type": "integer"
  33016. },
  33017. "remark": {
  33018. "description": "备注",
  33019. "type": "string"
  33020. },
  33021. "stepdate": {
  33022. "description": "天数信息(T+N)",
  33023. "type": "string"
  33024. },
  33025. "stepdays": {
  33026. "description": "距离上一步天数",
  33027. "type": "integer"
  33028. },
  33029. "stepindex": {
  33030. "description": "步骤序号",
  33031. "type": "integer"
  33032. },
  33033. "stepinfo": {
  33034. "description": "步骤信息(步骤名称+步骤值)",
  33035. "type": "string"
  33036. },
  33037. "steptypeid": {
  33038. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33039. "type": "integer"
  33040. },
  33041. "steptypename": {
  33042. "description": "步骤名称",
  33043. "type": "string"
  33044. },
  33045. "stepvalue": {
  33046. "description": "期初均价",
  33047. "type": "number"
  33048. },
  33049. "templateid": {
  33050. "description": "履约计划模板ID",
  33051. "type": "integer"
  33052. }
  33053. }
  33054. },
  33055. "models.WrHoldLB": {
  33056. "type": "object",
  33057. "properties": {
  33058. "accountid": {
  33059. "description": "持有人帐户ID",
  33060. "type": "integer"
  33061. },
  33062. "bannerpicurl": {
  33063. "description": "Banner图",
  33064. "type": "string"
  33065. },
  33066. "createtime": {
  33067. "description": "创建时间(过户时间)",
  33068. "type": "string"
  33069. },
  33070. "deliverygoodscode": {
  33071. "description": "品种代码",
  33072. "type": "string"
  33073. },
  33074. "deliverygoodsid": {
  33075. "description": "品种ID",
  33076. "type": "integer"
  33077. },
  33078. "deliverygoodsname": {
  33079. "description": "品种名称",
  33080. "type": "string"
  33081. },
  33082. "enableqty": {
  33083. "description": "可用数量",
  33084. "type": "number"
  33085. },
  33086. "enumdicname": {
  33087. "description": "单位名称",
  33088. "type": "string"
  33089. },
  33090. "freezerqty": {
  33091. "description": "冻结数量",
  33092. "type": "number"
  33093. },
  33094. "ladingbillid": {
  33095. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33096. "type": "string"
  33097. },
  33098. "minivalue": {
  33099. "description": "现货商品最小变动值",
  33100. "type": "integer"
  33101. },
  33102. "optioncompare": {
  33103. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33104. "type": "string"
  33105. },
  33106. "parentsubnum": {
  33107. "description": "拆分父子单号",
  33108. "type": "integer"
  33109. },
  33110. "pledgeqty": {
  33111. "description": "质押数量",
  33112. "type": "number"
  33113. },
  33114. "qty": {
  33115. "description": "数量",
  33116. "type": "number"
  33117. },
  33118. "subnum": {
  33119. "description": "提单子单号",
  33120. "type": "integer"
  33121. },
  33122. "thumurls": {
  33123. "description": "缩略图",
  33124. "type": "string"
  33125. },
  33126. "tradedate": {
  33127. "description": "交易日(yyyyMMdd)",
  33128. "type": "string"
  33129. },
  33130. "userid": {
  33131. "description": "持有人ID",
  33132. "type": "integer"
  33133. },
  33134. "warehouseid": {
  33135. "description": "仓库ID",
  33136. "type": "integer"
  33137. },
  33138. "warehousename": {
  33139. "description": "仓库名称",
  33140. "type": "string"
  33141. },
  33142. "wrfactortypeid": {
  33143. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33144. "type": "string"
  33145. },
  33146. "wrfactortypename": {
  33147. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33148. "type": "string"
  33149. },
  33150. "wrholdeno": {
  33151. "description": "仓单编号",
  33152. "type": "string"
  33153. },
  33154. "wrid": {
  33155. "description": "仓单变更ID",
  33156. "type": "string"
  33157. },
  33158. "wrstandardcode": {
  33159. "description": "现货商品代码",
  33160. "type": "string"
  33161. },
  33162. "wrstandardid": {
  33163. "description": "现货商品ID",
  33164. "type": "integer"
  33165. },
  33166. "wrstandardname": {
  33167. "description": "商品名称",
  33168. "type": "string"
  33169. },
  33170. "wrtypename": {
  33171. "description": "商品",
  33172. "type": "string"
  33173. }
  33174. }
  33175. },
  33176. "models.WrMarketTradeConfig": {
  33177. "type": "object",
  33178. "properties": {
  33179. "basisdownratio": {
  33180. "description": "浮动价基差下限比例(仓单贸易)",
  33181. "type": "number"
  33182. },
  33183. "basisupratio": {
  33184. "description": "浮动价基差上限比例(仓单贸易)",
  33185. "type": "number"
  33186. },
  33187. "buychargealgorithm": {
  33188. "description": "买方手续费收取方式 1:比率 2:固定",
  33189. "type": "integer"
  33190. },
  33191. "buychargealgorithm2": {
  33192. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  33193. "type": "integer"
  33194. },
  33195. "buychargealgorithmvalue": {
  33196. "description": "买方手续费设置值(交易所部分)",
  33197. "type": "number"
  33198. },
  33199. "buychargealgorithmvalue2": {
  33200. "description": "买方手续费设置值(会员部分)",
  33201. "type": "number"
  33202. },
  33203. "buychargealgorithmvalue3": {
  33204. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  33205. "type": "number"
  33206. },
  33207. "buychargealgorithmvalue4": {
  33208. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  33209. "type": "number"
  33210. },
  33211. "buyfirstmarginalgorithm": {
  33212. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  33213. "type": "integer"
  33214. },
  33215. "buyfirstmarginvalue": {
  33216. "description": "买方出价保证金设置值 - [竞拍]",
  33217. "type": "number"
  33218. },
  33219. "buymarginalgorithm": {
  33220. "description": "买方保证金方式 - 1:比率 2:固定",
  33221. "type": "integer"
  33222. },
  33223. "buymarginvalue": {
  33224. "description": "买方保证金设置值",
  33225. "type": "number"
  33226. },
  33227. "buyreleaseratio": {
  33228. "description": "买方释放比率[2:分步履约]",
  33229. "type": "number"
  33230. },
  33231. "executemode": {
  33232. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  33233. "type": "integer"
  33234. },
  33235. "executeside": {
  33236. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  33237. "type": "integer"
  33238. },
  33239. "failedchargealgorithm": {
  33240. "description": "流拍手续费收取方式 1:比率 2:固定",
  33241. "type": "integer"
  33242. },
  33243. "failedchargevalue": {
  33244. "description": "流拍手续费设置值",
  33245. "type": "number"
  33246. },
  33247. "failedchargevalue2": {
  33248. "description": "流拍卖方手续费设置值",
  33249. "type": "number"
  33250. },
  33251. "holddays": {
  33252. "description": "合同期限[2:分步履约]",
  33253. "type": "integer"
  33254. },
  33255. "listingmode": {
  33256. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  33257. "type": "integer"
  33258. },
  33259. "marketid": {
  33260. "description": "市场ID-仓单贸易、竞拍、预售",
  33261. "type": "integer"
  33262. },
  33263. "minqty": {
  33264. "description": "最小执行量[2:分步履约]",
  33265. "type": "number"
  33266. },
  33267. "modifierid": {
  33268. "description": "修改人",
  33269. "type": "integer"
  33270. },
  33271. "nowrquotaflag": {
  33272. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  33273. "type": "integer"
  33274. },
  33275. "performancetempid": {
  33276. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  33277. "type": "integer"
  33278. },
  33279. "performancetempid2": {
  33280. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  33281. "type": "integer"
  33282. },
  33283. "performancetempid2s": {
  33284. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  33285. "type": "string"
  33286. },
  33287. "performancetempids": {
  33288. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  33289. "type": "string"
  33290. },
  33291. "performanceway": {
  33292. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  33293. "type": "integer"
  33294. },
  33295. "sellchargealgorithm": {
  33296. "description": "卖方手续费收取方式 1:比率 2:固定",
  33297. "type": "integer"
  33298. },
  33299. "sellchargealgorithm2": {
  33300. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  33301. "type": "integer"
  33302. },
  33303. "sellchargealgorithmvalue": {
  33304. "description": "卖方手续费设置值(交易所部分)",
  33305. "type": "number"
  33306. },
  33307. "sellchargealgorithmvalue2": {
  33308. "description": "卖方手续费设置值(会员部分)",
  33309. "type": "number"
  33310. },
  33311. "sellchargealgorithmvalue3": {
  33312. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  33313. "type": "number"
  33314. },
  33315. "sellchargealgorithmvalue4": {
  33316. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  33317. "type": "number"
  33318. },
  33319. "sellmarginalgorithm": {
  33320. "description": "卖方保证金方式 - 1:比率 2:固定",
  33321. "type": "integer"
  33322. },
  33323. "sellmarginvalue": {
  33324. "description": "卖方保证金设置值",
  33325. "type": "number"
  33326. },
  33327. "sellmarginvalue2": {
  33328. "description": "卖方保证金设置值(无仓单)",
  33329. "type": "number"
  33330. },
  33331. "sellreleaseratio": {
  33332. "description": "卖方释放比率[2:分步履约]",
  33333. "type": "number"
  33334. },
  33335. "updatetime": {
  33336. "description": "更新时间",
  33337. "type": "string"
  33338. }
  33339. }
  33340. },
  33341. "models.WrOrderDetail": {
  33342. "type": "object",
  33343. "properties": {
  33344. "accountid": {
  33345. "description": "交易账号(资金账号)",
  33346. "type": "integer"
  33347. },
  33348. "allfriendsflag": {
  33349. "description": "是否全好友可见 - 0:否 1:是",
  33350. "type": "integer"
  33351. },
  33352. "amount": {
  33353. "description": "期初均价",
  33354. "type": "number"
  33355. },
  33356. "bannerpicurl": {
  33357. "description": "Banner图",
  33358. "type": "string"
  33359. },
  33360. "begindate": {
  33361. "description": "开始交易日(yyyymmdd)",
  33362. "type": "string"
  33363. },
  33364. "buyorsell": {
  33365. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33366. "type": "integer"
  33367. },
  33368. "canbargain": {
  33369. "description": "是否可议价 - 0:不可 1:可",
  33370. "type": "integer"
  33371. },
  33372. "cancelqty": {
  33373. "description": "撤销数量",
  33374. "type": "number"
  33375. },
  33376. "canpart": {
  33377. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  33378. "type": "integer"
  33379. },
  33380. "delistminqty": {
  33381. "description": "起摘数量",
  33382. "type": "integer"
  33383. },
  33384. "deliverygoodscode": {
  33385. "description": "品种代码",
  33386. "type": "string"
  33387. },
  33388. "deliverygoodsid": {
  33389. "description": "品种ID",
  33390. "type": "integer"
  33391. },
  33392. "deliverygoodsname": {
  33393. "description": "品种名称",
  33394. "type": "string"
  33395. },
  33396. "deliverymonth": {
  33397. "description": "交收月",
  33398. "type": "string"
  33399. },
  33400. "enddate": {
  33401. "description": "结束交易日(yyyymmdd)",
  33402. "type": "string"
  33403. },
  33404. "enumdicname": {
  33405. "description": "单位名称",
  33406. "type": "string"
  33407. },
  33408. "fixedprice": {
  33409. "description": "固定价格 - [挂牌]",
  33410. "type": "number"
  33411. },
  33412. "freezecharge": {
  33413. "description": "期初均价",
  33414. "type": "number"
  33415. },
  33416. "freezemargin": {
  33417. "description": "期初均价",
  33418. "type": "number"
  33419. },
  33420. "futupricemove": {
  33421. "description": "期货升贴水",
  33422. "type": "number"
  33423. },
  33424. "futushow": {
  33425. "description": "期货合约/升贴水",
  33426. "type": "string"
  33427. },
  33428. "goodscode": {
  33429. "description": "期货合约",
  33430. "type": "string"
  33431. },
  33432. "goodsid": {
  33433. "description": "期货商品id",
  33434. "type": "integer"
  33435. },
  33436. "goodsname": {
  33437. "description": "商品名称",
  33438. "type": "string"
  33439. },
  33440. "haswr": {
  33441. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33442. "type": "integer"
  33443. },
  33444. "isspecified": {
  33445. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  33446. "type": "integer"
  33447. },
  33448. "ladingbillid": {
  33449. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33450. "type": "string"
  33451. },
  33452. "marginvalue": {
  33453. "description": "期初均价",
  33454. "type": "number"
  33455. },
  33456. "marketid": {
  33457. "description": "市场ID",
  33458. "type": "integer"
  33459. },
  33460. "matchusername": {
  33461. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  33462. "type": "string"
  33463. },
  33464. "minivalue": {
  33465. "description": "现货商品最小变动值",
  33466. "type": "integer"
  33467. },
  33468. "optioncompare": {
  33469. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33470. "type": "string"
  33471. },
  33472. "orderqty": {
  33473. "description": "委托数量",
  33474. "type": "number"
  33475. },
  33476. "ordertime": {
  33477. "description": "委托时间(挂牌时间)",
  33478. "type": "string"
  33479. },
  33480. "performancetemplateid": {
  33481. "description": "履约模板id",
  33482. "type": "integer"
  33483. },
  33484. "pricemove": {
  33485. "description": "升贴水(浮动价时填写) - [挂牌]",
  33486. "type": "number"
  33487. },
  33488. "taname": {
  33489. "description": "交易用户名称(资金账号名称)",
  33490. "type": "string"
  33491. },
  33492. "thumurls": {
  33493. "description": "缩略图",
  33494. "type": "string"
  33495. },
  33496. "tradedate": {
  33497. "description": "交易日(yyyyMMdd)",
  33498. "type": "string"
  33499. },
  33500. "tradeprice": {
  33501. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33502. "type": "number"
  33503. },
  33504. "tradeqty": {
  33505. "description": "成交数量",
  33506. "type": "number"
  33507. },
  33508. "userid": {
  33509. "description": "用户ID",
  33510. "type": "integer"
  33511. },
  33512. "validtime": {
  33513. "description": "挂牌有效期",
  33514. "type": "string"
  33515. },
  33516. "validtype": {
  33517. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33518. "type": "integer"
  33519. },
  33520. "warehouseid": {
  33521. "description": "仓库ID",
  33522. "type": "integer"
  33523. },
  33524. "warehousename": {
  33525. "description": "仓库名称",
  33526. "type": "string"
  33527. },
  33528. "wrfactortypeid": {
  33529. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33530. "type": "string"
  33531. },
  33532. "wrfactortypename": {
  33533. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33534. "type": "string"
  33535. },
  33536. "wrpricetype": {
  33537. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33538. "type": "integer"
  33539. },
  33540. "wrstandardcode": {
  33541. "description": "现货商品代码",
  33542. "type": "string"
  33543. },
  33544. "wrstandardid": {
  33545. "description": "现货商品ID",
  33546. "type": "integer"
  33547. },
  33548. "wrstandardname": {
  33549. "description": "商品名称",
  33550. "type": "string"
  33551. },
  33552. "wrtradeorderid": {
  33553. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33554. "type": "string"
  33555. },
  33556. "wrtradeorderstatus": {
  33557. "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:撤单解冻贷款失败",
  33558. "type": "integer"
  33559. },
  33560. "wrtradetype": {
  33561. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33562. "type": "integer"
  33563. },
  33564. "wrtypename": {
  33565. "description": "商品",
  33566. "type": "string"
  33567. }
  33568. }
  33569. },
  33570. "models.WrOrderQuote": {
  33571. "type": "object",
  33572. "properties": {
  33573. "bannerpicurl": {
  33574. "description": "Banner图",
  33575. "type": "string"
  33576. },
  33577. "buyprice": {
  33578. "description": "买价",
  33579. "type": "number"
  33580. },
  33581. "buypricemove": {
  33582. "description": "买升贴水(基差)",
  33583. "type": "number"
  33584. },
  33585. "buyqty": {
  33586. "description": "买量",
  33587. "type": "number"
  33588. },
  33589. "deliverygoodscode": {
  33590. "description": "品种代码",
  33591. "type": "string"
  33592. },
  33593. "deliverygoodsid": {
  33594. "description": "品种id",
  33595. "type": "integer"
  33596. },
  33597. "deliverygoodsname": {
  33598. "description": "品种名称",
  33599. "type": "string"
  33600. },
  33601. "deliverymonth": {
  33602. "description": "交收月",
  33603. "type": "string"
  33604. },
  33605. "enumdicname": {
  33606. "description": "单位名称",
  33607. "type": "string"
  33608. },
  33609. "goodscode": {
  33610. "description": "商品合约(浮动价列表才有)",
  33611. "type": "string"
  33612. },
  33613. "goodsid": {
  33614. "description": "商品id(浮动价列表才有)",
  33615. "type": "integer"
  33616. },
  33617. "minivalue": {
  33618. "description": "现货商品最小变动值",
  33619. "type": "integer"
  33620. },
  33621. "pictureurls": {
  33622. "description": "详情图片(逗号分隔)",
  33623. "type": "string"
  33624. },
  33625. "sellprice": {
  33626. "description": "卖价",
  33627. "type": "number"
  33628. },
  33629. "sellpricemove": {
  33630. "description": "卖升贴水(基差)",
  33631. "type": "number"
  33632. },
  33633. "sellqty": {
  33634. "description": "卖量",
  33635. "type": "number"
  33636. },
  33637. "thumurls": {
  33638. "description": "缩略图片(1:1)(逗号分隔)",
  33639. "type": "string"
  33640. },
  33641. "warehousecode": {
  33642. "description": "仓库代码",
  33643. "type": "string"
  33644. },
  33645. "warehouseid": {
  33646. "description": "仓库id",
  33647. "type": "integer"
  33648. },
  33649. "warehousename": {
  33650. "description": "仓库名称",
  33651. "type": "string"
  33652. },
  33653. "wrfactortypeid": {
  33654. "description": "仓单要素id",
  33655. "type": "string"
  33656. },
  33657. "wrfactortypename": {
  33658. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33659. "type": "string"
  33660. },
  33661. "wrgoodsname": {
  33662. "description": "商品(商品名称+仓库要素名称 拼接)",
  33663. "type": "string"
  33664. },
  33665. "wrstandardcode": {
  33666. "description": "商品代码",
  33667. "type": "string"
  33668. },
  33669. "wrstandardid": {
  33670. "description": "商品id",
  33671. "type": "integer"
  33672. },
  33673. "wrstandardname": {
  33674. "description": "商品名称",
  33675. "type": "string"
  33676. }
  33677. }
  33678. },
  33679. "models.WrOrderQuoteDetail": {
  33680. "type": "object",
  33681. "properties": {
  33682. "buyorsell": {
  33683. "description": "买卖 - 0:买 1:卖",
  33684. "type": "integer"
  33685. },
  33686. "delistminqty": {
  33687. "description": "期初均价",
  33688. "type": "number"
  33689. },
  33690. "deliverymonth": {
  33691. "description": "交收月",
  33692. "type": "string"
  33693. },
  33694. "enumdicname": {
  33695. "description": "单位名称",
  33696. "type": "string"
  33697. },
  33698. "fixedprice": {
  33699. "description": "买(卖)价",
  33700. "type": "number"
  33701. },
  33702. "marketid": {
  33703. "description": "市场id",
  33704. "type": "integer"
  33705. },
  33706. "minivalue": {
  33707. "description": "现货商品最小变动值",
  33708. "type": "integer"
  33709. },
  33710. "orderqty": {
  33711. "description": "买(卖)量(=委托量-成交量)",
  33712. "type": "number"
  33713. },
  33714. "ordertime": {
  33715. "description": "委托时间",
  33716. "type": "string"
  33717. },
  33718. "pricemove": {
  33719. "description": "买(卖)升贴水- 基差",
  33720. "type": "number"
  33721. },
  33722. "userid": {
  33723. "description": "购买方(销售方)用户ID",
  33724. "type": "integer"
  33725. },
  33726. "username": {
  33727. "description": "购买方(销售方)",
  33728. "type": "string"
  33729. },
  33730. "wrtradeorderid": {
  33731. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33732. "type": "string"
  33733. }
  33734. }
  33735. },
  33736. "models.WrOutInApply": {
  33737. "type": "object",
  33738. "properties": {
  33739. "applyid": {
  33740. "description": "申请单id",
  33741. "type": "string"
  33742. },
  33743. "applystatus": {
  33744. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33745. "type": "integer"
  33746. },
  33747. "applytime": {
  33748. "description": "申请时间",
  33749. "type": "string"
  33750. },
  33751. "applytype": {
  33752. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33753. "type": "integer"
  33754. },
  33755. "bannerpicurl": {
  33756. "description": "Banner图",
  33757. "type": "string"
  33758. },
  33759. "begindate": {
  33760. "description": "开始交易日(yyyymmdd)",
  33761. "type": "string"
  33762. },
  33763. "deliverygoodscode": {
  33764. "description": "品种代码",
  33765. "type": "string"
  33766. },
  33767. "deliverygoodsid": {
  33768. "description": "品种ID",
  33769. "type": "integer"
  33770. },
  33771. "deliverygoodsname": {
  33772. "description": "品种名称",
  33773. "type": "string"
  33774. },
  33775. "enddate": {
  33776. "description": "结束交易日(yyyymmdd)",
  33777. "type": "string"
  33778. },
  33779. "enumdicname": {
  33780. "description": "单位名称",
  33781. "type": "string"
  33782. },
  33783. "expresscompany": {
  33784. "description": "物流公司",
  33785. "type": "string"
  33786. },
  33787. "expressnum": {
  33788. "description": "物流单号",
  33789. "type": "string"
  33790. },
  33791. "minivalue": {
  33792. "description": "现货商品最小变动值",
  33793. "type": "integer"
  33794. },
  33795. "optioncompare": {
  33796. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33797. "type": "string"
  33798. },
  33799. "qty": {
  33800. "description": "数量",
  33801. "type": "integer"
  33802. },
  33803. "userid": {
  33804. "description": "用户id",
  33805. "type": "integer"
  33806. },
  33807. "warehouseid": {
  33808. "description": "仓库ID",
  33809. "type": "integer"
  33810. },
  33811. "warehousename": {
  33812. "description": "仓库名称",
  33813. "type": "string"
  33814. },
  33815. "wrfactortypeid": {
  33816. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33817. "type": "string"
  33818. },
  33819. "wrfactortypename": {
  33820. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33821. "type": "string"
  33822. },
  33823. "wrstandardcode": {
  33824. "description": "现货商品代码",
  33825. "type": "string"
  33826. },
  33827. "wrstandardid": {
  33828. "description": "现货商品ID",
  33829. "type": "integer"
  33830. },
  33831. "wrstandardname": {
  33832. "description": "商品名称",
  33833. "type": "string"
  33834. },
  33835. "wrtypename": {
  33836. "description": "商品",
  33837. "type": "string"
  33838. }
  33839. }
  33840. },
  33841. "models.WrPerformancePlan": {
  33842. "type": "object",
  33843. "required": [
  33844. "userid"
  33845. ],
  33846. "properties": {
  33847. "activatemonth": {
  33848. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33849. "type": "string"
  33850. },
  33851. "amount": {
  33852. "description": "履约金额(总金额)",
  33853. "type": "number"
  33854. },
  33855. "begindate": {
  33856. "description": "开始交易日(yyyymmdd)",
  33857. "type": "string"
  33858. },
  33859. "buyaccountid": {
  33860. "description": "买方账号",
  33861. "type": "integer"
  33862. },
  33863. "buyerfreezeamount": {
  33864. "description": "履约冻结(买履约)",
  33865. "type": "number"
  33866. },
  33867. "buyerfreezeamountremain": {
  33868. "description": "履约冻结剩余(买履约)",
  33869. "type": "number"
  33870. },
  33871. "buyorsell": {
  33872. "description": "买卖方向 0-买 1-卖",
  33873. "type": "integer"
  33874. },
  33875. "buypaidamount": {
  33876. "description": "买方已冻/已扣金额 (已付金额)",
  33877. "type": "number"
  33878. },
  33879. "buyusername": {
  33880. "description": "买方名字",
  33881. "type": "string"
  33882. },
  33883. "contractid": {
  33884. "description": "合同ID",
  33885. "type": "integer"
  33886. },
  33887. "createtime": {
  33888. "description": "创建时间",
  33889. "type": "string"
  33890. },
  33891. "creatorid": {
  33892. "description": "创建人",
  33893. "type": "integer"
  33894. },
  33895. "curstepdeadline": {
  33896. "description": "当前步骤到期时间",
  33897. "type": "string"
  33898. },
  33899. "curstepid": {
  33900. "description": "当前步骤ID",
  33901. "type": "string"
  33902. },
  33903. "curstepname": {
  33904. "description": "当前步骤名称",
  33905. "type": "string"
  33906. },
  33907. "deliverygoodscode": {
  33908. "description": "品种代码",
  33909. "type": "string"
  33910. },
  33911. "deliverygoodsid": {
  33912. "description": "品种ID",
  33913. "type": "integer"
  33914. },
  33915. "deliverygoodsname": {
  33916. "description": "品种名称",
  33917. "type": "string"
  33918. },
  33919. "enddate": {
  33920. "description": "结束交易日(yyyymmdd)",
  33921. "type": "string"
  33922. },
  33923. "enumdicname": {
  33924. "description": "单位名称",
  33925. "type": "string"
  33926. },
  33927. "expressfee": {
  33928. "description": "运费",
  33929. "type": "number"
  33930. },
  33931. "expressfeeconfirmed": {
  33932. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33933. "type": "integer"
  33934. },
  33935. "hasovershort": {
  33936. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33937. "type": "integer"
  33938. },
  33939. "haswr": {
  33940. "description": "类型 0-仓单预售 1-仓单贸易",
  33941. "type": "integer"
  33942. },
  33943. "marketid": {
  33944. "description": "市场ID",
  33945. "type": "integer"
  33946. },
  33947. "middleaccountid": {
  33948. "description": "中间商资金账号ID",
  33949. "type": "integer"
  33950. },
  33951. "middleuserid": {
  33952. "description": "中间商用户ID",
  33953. "type": "integer"
  33954. },
  33955. "minivalue": {
  33956. "description": "现货商品最小变动值",
  33957. "type": "integer"
  33958. },
  33959. "optioncompare": {
  33960. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33961. "type": "string"
  33962. },
  33963. "overshortamount": {
  33964. "description": "溢短金额",
  33965. "type": "number"
  33966. },
  33967. "overshortqty": {
  33968. "description": "溢短数量",
  33969. "type": "number"
  33970. },
  33971. "paymenttype": {
  33972. "description": "付款方式 - 1:冻结 2:扣款",
  33973. "type": "integer"
  33974. },
  33975. "performanceplanid": {
  33976. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33977. "type": "string"
  33978. },
  33979. "performancestatus": {
  33980. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33981. "type": "integer"
  33982. },
  33983. "performancetype": {
  33984. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33985. "type": "integer"
  33986. },
  33987. "qty": {
  33988. "description": "履约数量",
  33989. "type": "number"
  33990. },
  33991. "relatedorderid": {
  33992. "description": "关联单号(履约类型的关联单号)",
  33993. "type": "string"
  33994. },
  33995. "remark": {
  33996. "description": "备注",
  33997. "type": "string"
  33998. },
  33999. "sellaccountid": {
  34000. "description": "卖方账号",
  34001. "type": "integer"
  34002. },
  34003. "sellerfreezeamount": {
  34004. "description": "履约冻结(卖履约)",
  34005. "type": "number"
  34006. },
  34007. "sellerfreezeamountremain": {
  34008. "description": "履约冻结剩余(卖履约)",
  34009. "type": "number"
  34010. },
  34011. "sellreceivedamount": {
  34012. "description": "卖方已收金额",
  34013. "type": "number"
  34014. },
  34015. "sellusername": {
  34016. "description": "卖方名字",
  34017. "type": "string"
  34018. },
  34019. "shipremark": {
  34020. "description": "发货备注[物流单号]",
  34021. "type": "string"
  34022. },
  34023. "starttime": {
  34024. "description": "开始时间",
  34025. "type": "string"
  34026. },
  34027. "steptypeid": {
  34028. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34029. "type": "integer"
  34030. },
  34031. "typename": {
  34032. "description": "履约类型 名称",
  34033. "type": "string"
  34034. },
  34035. "unpaidamount": {
  34036. "description": "期初均价",
  34037. "type": "number"
  34038. },
  34039. "userid": {
  34040. "description": "用户id",
  34041. "type": "integer"
  34042. },
  34043. "warehouseid": {
  34044. "description": "仓库ID",
  34045. "type": "integer"
  34046. },
  34047. "warehousename": {
  34048. "description": "仓库名称",
  34049. "type": "string"
  34050. },
  34051. "wrfactortypeid": {
  34052. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34053. "type": "string"
  34054. },
  34055. "wrfactortypename": {
  34056. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34057. "type": "string"
  34058. },
  34059. "wrstandardcode": {
  34060. "description": "现货商品代码",
  34061. "type": "string"
  34062. },
  34063. "wrstandardid": {
  34064. "description": "现货商品ID",
  34065. "type": "integer"
  34066. },
  34067. "wrstandardname": {
  34068. "description": "商品名称",
  34069. "type": "string"
  34070. },
  34071. "wrtransferuserid": {
  34072. "description": "仓单受让用户",
  34073. "type": "integer"
  34074. },
  34075. "wrtypename": {
  34076. "description": "商品",
  34077. "type": "string"
  34078. }
  34079. }
  34080. },
  34081. "models.WrPerformancePlanStep": {
  34082. "type": "object",
  34083. "properties": {
  34084. "delaydays": {
  34085. "description": "延期申请天数",
  34086. "type": "integer"
  34087. },
  34088. "deliverygoodscode": {
  34089. "description": "品种代码",
  34090. "type": "string"
  34091. },
  34092. "deliverygoodsid": {
  34093. "description": "品种ID",
  34094. "type": "integer"
  34095. },
  34096. "deliverygoodsname": {
  34097. "description": "品种名称",
  34098. "type": "string"
  34099. },
  34100. "endtime": {
  34101. "description": "结束日期",
  34102. "type": "string"
  34103. },
  34104. "enumdicname": {
  34105. "description": "单位名称",
  34106. "type": "string"
  34107. },
  34108. "executeside": {
  34109. "description": "步骤执行方 - 1:买方 2:卖方",
  34110. "type": "integer"
  34111. },
  34112. "handlestatus": {
  34113. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  34114. "type": "integer"
  34115. },
  34116. "isauto": {
  34117. "description": "是否自动 - 0:不自动 1:自动",
  34118. "type": "integer"
  34119. },
  34120. "islastreceivestep": {
  34121. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  34122. "type": "integer"
  34123. },
  34124. "minivalue": {
  34125. "description": "现货商品最小变动值",
  34126. "type": "integer"
  34127. },
  34128. "optioncompare": {
  34129. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34130. "type": "string"
  34131. },
  34132. "overdays": {
  34133. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  34134. "type": "integer"
  34135. },
  34136. "performancestepid": {
  34137. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  34138. "type": "string"
  34139. },
  34140. "planid": {
  34141. "description": "所属履约计划ID",
  34142. "type": "string"
  34143. },
  34144. "realamount": {
  34145. "description": "实际完成金额",
  34146. "type": "number"
  34147. },
  34148. "relatedorderid": {
  34149. "description": "关联单号",
  34150. "type": "string"
  34151. },
  34152. "remaindays": {
  34153. "description": "剩余天数",
  34154. "type": "integer"
  34155. },
  34156. "remark": {
  34157. "description": "错误备注",
  34158. "type": "string"
  34159. },
  34160. "starttime": {
  34161. "description": "开始日期",
  34162. "type": "string"
  34163. },
  34164. "stepamount": {
  34165. "description": "步骤金额",
  34166. "type": "number"
  34167. },
  34168. "stepdays": {
  34169. "description": "距离上一步天数(分钟)",
  34170. "type": "integer"
  34171. },
  34172. "stepindex": {
  34173. "description": "步骤序号",
  34174. "type": "integer"
  34175. },
  34176. "steplanchtype": {
  34177. "description": "步骤启动类型 - 1:系统自动 2:手动",
  34178. "type": "integer"
  34179. },
  34180. "stepremark": {
  34181. "description": "步骤备注",
  34182. "type": "string"
  34183. },
  34184. "stepstatus": {
  34185. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  34186. "type": "integer"
  34187. },
  34188. "steptypeid": {
  34189. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34190. "type": "integer"
  34191. },
  34192. "steptypename": {
  34193. "description": "步骤名称",
  34194. "type": "string"
  34195. },
  34196. "stepvalue": {
  34197. "description": "步骤值",
  34198. "type": "number"
  34199. },
  34200. "warehouseid": {
  34201. "description": "仓库ID",
  34202. "type": "integer"
  34203. },
  34204. "warehousename": {
  34205. "description": "仓库名称",
  34206. "type": "string"
  34207. },
  34208. "wrfactortypeid": {
  34209. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34210. "type": "string"
  34211. },
  34212. "wrfactortypename": {
  34213. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34214. "type": "string"
  34215. },
  34216. "wrstandardcode": {
  34217. "description": "现货商品代码",
  34218. "type": "string"
  34219. },
  34220. "wrstandardid": {
  34221. "description": "现货商品ID",
  34222. "type": "integer"
  34223. },
  34224. "wrstandardname": {
  34225. "description": "商品名称",
  34226. "type": "string"
  34227. },
  34228. "wrtypename": {
  34229. "description": "商品",
  34230. "type": "string"
  34231. }
  34232. }
  34233. },
  34234. "models.WrPerformanceStepType": {
  34235. "type": "object",
  34236. "properties": {
  34237. "canauto": {
  34238. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  34239. "type": "integer"
  34240. },
  34241. "steptypeid": {
  34242. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  34243. "type": "integer"
  34244. },
  34245. "steptypename": {
  34246. "description": "步骤类型名称",
  34247. "type": "string"
  34248. }
  34249. }
  34250. },
  34251. "models.WrPerformanceTemplateEx": {
  34252. "type": "object",
  34253. "properties": {
  34254. "autoid": {
  34255. "description": "AutoID 模板id",
  34256. "type": "integer"
  34257. },
  34258. "createtime": {
  34259. "description": "创建时间",
  34260. "type": "string"
  34261. },
  34262. "creatorid": {
  34263. "description": "创建人",
  34264. "type": "integer"
  34265. },
  34266. "lstStep": {
  34267. "description": "步骤信息列表",
  34268. "type": "array",
  34269. "items": {
  34270. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34271. }
  34272. },
  34273. "paymenttype": {
  34274. "description": "支付方式 - 1:冻结 2:扣款",
  34275. "type": "integer"
  34276. },
  34277. "takemode": {
  34278. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  34279. "type": "integer"
  34280. },
  34281. "templatename": {
  34282. "description": "模板名称",
  34283. "type": "string"
  34284. },
  34285. "templatetype": {
  34286. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  34287. "type": "integer"
  34288. },
  34289. "userid": {
  34290. "description": "所属用户",
  34291. "type": "integer"
  34292. }
  34293. }
  34294. },
  34295. "models.WrPosition": {
  34296. "type": "object",
  34297. "properties": {
  34298. "accountid": {
  34299. "description": "帐户ID",
  34300. "type": "integer"
  34301. },
  34302. "buyexcuteqty": {
  34303. "description": "采购履约中数量",
  34304. "type": "number"
  34305. },
  34306. "creditcurqty": {
  34307. "description": "授信当前数量(预售仓单:预售当前量)",
  34308. "type": "number"
  34309. },
  34310. "creditenableqty": {
  34311. "description": "授信可用数量(预售仓单: 可用数量)",
  34312. "type": "number"
  34313. },
  34314. "creditfreezeqty": {
  34315. "description": "授信冻结数量(预售仓单: 当前数量)",
  34316. "type": "number"
  34317. },
  34318. "credittotalqty": {
  34319. "description": "授信总数量(预售仓单:预售总量)",
  34320. "type": "number"
  34321. },
  34322. "credittradeqty": {
  34323. "description": "授信成交数量(预售仓单:成交总量)",
  34324. "type": "number"
  34325. },
  34326. "deliverygoodscode": {
  34327. "description": "品种代码",
  34328. "type": "string"
  34329. },
  34330. "deliverygoodsid": {
  34331. "description": "品种ID",
  34332. "type": "integer"
  34333. },
  34334. "deliverygoodsname": {
  34335. "description": "品种名称",
  34336. "type": "string"
  34337. },
  34338. "enalbeqty": {
  34339. "description": "可用数量",
  34340. "type": "number"
  34341. },
  34342. "enumdicname": {
  34343. "description": "单位名称",
  34344. "type": "string"
  34345. },
  34346. "freezeqty": {
  34347. "description": "总冻结数量",
  34348. "type": "number"
  34349. },
  34350. "haswr": {
  34351. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34352. "type": "integer"
  34353. },
  34354. "minivalue": {
  34355. "description": "现货商品最小变动值",
  34356. "type": "integer"
  34357. },
  34358. "modifytime": {
  34359. "description": "修改时间(过户时间)",
  34360. "type": "string"
  34361. },
  34362. "optioncompare": {
  34363. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34364. "type": "string"
  34365. },
  34366. "pledgeqty": {
  34367. "description": "质押数量",
  34368. "type": "number"
  34369. },
  34370. "querytype": {
  34371. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  34372. "type": "integer"
  34373. },
  34374. "sellexcuteqty": {
  34375. "description": "销售履约中数量",
  34376. "type": "number"
  34377. },
  34378. "totalqty": {
  34379. "description": "总数量(库存数量)",
  34380. "type": "number"
  34381. },
  34382. "warehouseid": {
  34383. "description": "仓库ID",
  34384. "type": "integer"
  34385. },
  34386. "warehousename": {
  34387. "description": "仓库名称",
  34388. "type": "string"
  34389. },
  34390. "wrfactortypeid": {
  34391. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34392. "type": "string"
  34393. },
  34394. "wrfactortypename": {
  34395. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34396. "type": "string"
  34397. },
  34398. "wrpositionid": {
  34399. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  34400. "type": "string"
  34401. },
  34402. "wrpositionno": {
  34403. "description": "仓单编号",
  34404. "type": "string"
  34405. },
  34406. "wrstandardcode": {
  34407. "description": "现货商品代码",
  34408. "type": "string"
  34409. },
  34410. "wrstandardid": {
  34411. "description": "现货商品ID",
  34412. "type": "integer"
  34413. },
  34414. "wrstandardname": {
  34415. "description": "商品名称",
  34416. "type": "string"
  34417. },
  34418. "wrtypename": {
  34419. "description": "商品",
  34420. "type": "string"
  34421. },
  34422. "wruserid": {
  34423. "description": "持有人ID",
  34424. "type": "integer"
  34425. }
  34426. }
  34427. },
  34428. "models.WrPreSaleInfo": {
  34429. "type": "object",
  34430. "properties": {
  34431. "bannerpicurl": {
  34432. "description": "Banner图",
  34433. "type": "string"
  34434. },
  34435. "baseqty": {
  34436. "description": "中签基数",
  34437. "type": "number"
  34438. },
  34439. "createtime": {
  34440. "description": "创建时间",
  34441. "type": "string"
  34442. },
  34443. "deliverygoodsid": {
  34444. "description": "现货品种ID",
  34445. "type": "integer"
  34446. },
  34447. "enddate": {
  34448. "description": "预售结束日期",
  34449. "type": "string"
  34450. },
  34451. "enumdicname": {
  34452. "description": "单位名称",
  34453. "type": "string"
  34454. },
  34455. "lotteryflag": {
  34456. "description": "摇号标识 - 0:未摇号 1:已摇号",
  34457. "type": "integer"
  34458. },
  34459. "lotteryqty": {
  34460. "description": "摇号总量",
  34461. "type": "number"
  34462. },
  34463. "luckyqty": {
  34464. "description": "已中签量",
  34465. "type": "number"
  34466. },
  34467. "marketid": {
  34468. "description": "市场ID",
  34469. "type": "integer"
  34470. },
  34471. "maxbuyqty": {
  34472. "description": "单人最大申购量",
  34473. "type": "number"
  34474. },
  34475. "maxluckyqty": {
  34476. "description": "单人最大中签量",
  34477. "type": "number"
  34478. },
  34479. "pictureurls": {
  34480. "description": "详情图片(逗号分隔)",
  34481. "type": "string"
  34482. },
  34483. "placeqty": {
  34484. "description": "已配售量",
  34485. "type": "number"
  34486. },
  34487. "presaleapplyid": {
  34488. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  34489. "type": "string",
  34490. "example": "0"
  34491. },
  34492. "presaleqty": {
  34493. "description": "预售总量",
  34494. "type": "number"
  34495. },
  34496. "presalestatus": {
  34497. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  34498. "type": "integer"
  34499. },
  34500. "sellaccountid": {
  34501. "description": "发行方资金账户ID",
  34502. "type": "integer"
  34503. },
  34504. "selluserid": {
  34505. "description": "发行方用户ID",
  34506. "type": "integer"
  34507. },
  34508. "sellwrtradeorderid": {
  34509. "description": "发行方卖委托单ID",
  34510. "type": "string"
  34511. },
  34512. "startdate": {
  34513. "description": "预售开始日期",
  34514. "type": "string"
  34515. },
  34516. "takestartdate": {
  34517. "description": "提货开始日期",
  34518. "type": "string"
  34519. },
  34520. "thumurls": {
  34521. "description": "缩略图片(1:1)(逗号分隔)",
  34522. "type": "string"
  34523. },
  34524. "tradedate": {
  34525. "description": "交易日",
  34526. "type": "string"
  34527. },
  34528. "unitid": {
  34529. "description": "单位ID",
  34530. "type": "integer"
  34531. },
  34532. "unitprice": {
  34533. "description": "商品单价",
  34534. "type": "number"
  34535. },
  34536. "username": {
  34537. "description": "发行方用户名称",
  34538. "type": "string"
  34539. },
  34540. "warehousecode": {
  34541. "description": "仓库代码(仓库简称)",
  34542. "type": "string"
  34543. },
  34544. "warehouseid": {
  34545. "description": "仓库ID",
  34546. "type": "integer"
  34547. },
  34548. "warehousename": {
  34549. "description": "仓库名称",
  34550. "type": "string"
  34551. },
  34552. "wrfactortypeid": {
  34553. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  34554. "type": "string",
  34555. "example": "0"
  34556. },
  34557. "wrstandardid": {
  34558. "description": "现货商品ID",
  34559. "type": "integer"
  34560. },
  34561. "wrstandardname": {
  34562. "description": "现货商品名称",
  34563. "type": "string"
  34564. }
  34565. }
  34566. },
  34567. "models.WrQuoteOrderMyq": {
  34568. "type": "object",
  34569. "properties": {
  34570. "buyorsell": {
  34571. "description": "买卖 - 0:买 1:卖",
  34572. "type": "integer"
  34573. },
  34574. "canbargain": {
  34575. "description": "是否可议价 - 0:不可 1:可",
  34576. "type": "integer"
  34577. },
  34578. "canpart": {
  34579. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  34580. "type": "integer"
  34581. },
  34582. "delistminqty": {
  34583. "description": "期初均价",
  34584. "type": "number"
  34585. },
  34586. "deliverygoodscode": {
  34587. "description": "品种代码",
  34588. "type": "string"
  34589. },
  34590. "deliverygoodsid": {
  34591. "description": "品种ID",
  34592. "type": "integer"
  34593. },
  34594. "deliverygoodsname": {
  34595. "description": "品种名称",
  34596. "type": "string"
  34597. },
  34598. "deliverymonth": {
  34599. "description": "交收月",
  34600. "type": "string"
  34601. },
  34602. "enumdicname": {
  34603. "description": "单位名称",
  34604. "type": "string"
  34605. },
  34606. "fixedprice": {
  34607. "description": "买(卖)价",
  34608. "type": "number"
  34609. },
  34610. "goodscode": {
  34611. "description": "商品合约代码",
  34612. "type": "string"
  34613. },
  34614. "marginflag": {
  34615. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  34616. "type": "integer"
  34617. },
  34618. "marginvalue": {
  34619. "description": "保证金设置值",
  34620. "type": "number"
  34621. },
  34622. "minivalue": {
  34623. "description": "现货商品最小变动值",
  34624. "type": "integer"
  34625. },
  34626. "orderqty": {
  34627. "description": "买(卖)量(=委托量-成交量)",
  34628. "type": "number"
  34629. },
  34630. "ordertime": {
  34631. "description": "委托时间",
  34632. "type": "string"
  34633. },
  34634. "performancetemplateid": {
  34635. "description": "履约模板id",
  34636. "type": "integer"
  34637. },
  34638. "pricemove": {
  34639. "description": "买(卖)升贴水- 基差",
  34640. "type": "number"
  34641. },
  34642. "templatename": {
  34643. "description": "履约模板名称",
  34644. "type": "string"
  34645. },
  34646. "userid": {
  34647. "description": "购买方(销售方)用户ID",
  34648. "type": "integer"
  34649. },
  34650. "username": {
  34651. "description": "购买方(销售方)",
  34652. "type": "string"
  34653. },
  34654. "validtime": {
  34655. "description": "有效期限",
  34656. "type": "string"
  34657. },
  34658. "validtype": {
  34659. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  34660. "type": "integer"
  34661. },
  34662. "warehousename": {
  34663. "description": "仓库名称",
  34664. "type": "string"
  34665. },
  34666. "wrfactortypeid": {
  34667. "description": "仓单要素id",
  34668. "type": "string"
  34669. },
  34670. "wrstandardcode": {
  34671. "description": "现货商品代码",
  34672. "type": "string"
  34673. },
  34674. "wrstandardid": {
  34675. "description": "现货商品ID",
  34676. "type": "integer"
  34677. },
  34678. "wrstandardname": {
  34679. "description": "商品名称",
  34680. "type": "string"
  34681. },
  34682. "wrtradeorderid": {
  34683. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34684. "type": "string"
  34685. },
  34686. "wrtypename": {
  34687. "description": "商品",
  34688. "type": "string"
  34689. }
  34690. }
  34691. },
  34692. "models.WrReckonSpotGoodsTradeSum": {
  34693. "type": "object",
  34694. "properties": {
  34695. "begindate": {
  34696. "description": "开始日期(结果含开始日期) yyyymmdd",
  34697. "type": "string"
  34698. },
  34699. "enddate": {
  34700. "description": "结束日期(结果含结束日期) yyyymmdd",
  34701. "type": "string"
  34702. },
  34703. "istoday": {
  34704. "description": "是否当日",
  34705. "type": "boolean"
  34706. },
  34707. "marketid": {
  34708. "description": "市场ID",
  34709. "type": "integer"
  34710. },
  34711. "price": {
  34712. "description": "价格 = 日成交金额 / 日成交数量",
  34713. "type": "string"
  34714. },
  34715. "reckondate": {
  34716. "description": "日期 格式 yyyymmdd",
  34717. "type": "string"
  34718. },
  34719. "tradeamount": {
  34720. "description": "期初均价",
  34721. "type": "number"
  34722. },
  34723. "tradeqty": {
  34724. "description": "期初均价",
  34725. "type": "number"
  34726. },
  34727. "wrstandardid": {
  34728. "description": "现货商品ID",
  34729. "type": "integer"
  34730. }
  34731. }
  34732. },
  34733. "models.WrScfContract": {
  34734. "type": "object",
  34735. "properties": {
  34736. "borroweruserid": {
  34737. "description": "借款用户ID",
  34738. "type": "integer"
  34739. },
  34740. "buybackwrpositionqty": {
  34741. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  34742. "type": "number"
  34743. },
  34744. "closeinterest": {
  34745. "description": "已结利息 -\u003e 已结费用",
  34746. "type": "number"
  34747. },
  34748. "currisklevel": {
  34749. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34750. "type": "integer"
  34751. },
  34752. "deadline": {
  34753. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  34754. "type": "string"
  34755. },
  34756. "deliverygoodscode": {
  34757. "description": "品种代码",
  34758. "type": "string"
  34759. },
  34760. "deliverygoodsid": {
  34761. "description": "品种ID",
  34762. "type": "integer"
  34763. },
  34764. "deliverygoodsname": {
  34765. "description": "品种名称",
  34766. "type": "string"
  34767. },
  34768. "enumdicname": {
  34769. "description": "单位名称",
  34770. "type": "string"
  34771. },
  34772. "financingdays": {
  34773. "description": "天数(天)",
  34774. "type": "integer"
  34775. },
  34776. "initmargin": {
  34777. "description": "保证金 - [仓单回购]",
  34778. "type": "number"
  34779. },
  34780. "interestamount": {
  34781. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34782. "type": "number"
  34783. },
  34784. "interestdebt": {
  34785. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34786. "type": "number"
  34787. },
  34788. "interestminlen": {
  34789. "description": "最小起息天数",
  34790. "type": "integer"
  34791. },
  34792. "interestrate": {
  34793. "description": "利率",
  34794. "type": "number"
  34795. },
  34796. "interestratemode": {
  34797. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34798. "type": "integer"
  34799. },
  34800. "interestsettlemode": {
  34801. "description": "结息方式 - 1:按日结息 3:按月结息",
  34802. "type": "integer"
  34803. },
  34804. "interestsettlevalue": {
  34805. "description": "结息方式值",
  34806. "type": "integer"
  34807. },
  34808. "isautoloan": {
  34809. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34810. "type": "integer"
  34811. },
  34812. "lastcloseinterestday": {
  34813. "description": "最近结息日(yyyyMMdd)",
  34814. "type": "string"
  34815. },
  34816. "lenderamount": {
  34817. "description": "贷款金额 -\u003e 借款金额",
  34818. "type": "number"
  34819. },
  34820. "lenderuserid": {
  34821. "description": "贷款方用户ID -\u003e 融出方用户ID",
  34822. "type": "integer"
  34823. },
  34824. "lenderusername": {
  34825. "description": "融出方",
  34826. "type": "string"
  34827. },
  34828. "marginratio": {
  34829. "description": "保证金比率质押率 - [仓单质押]",
  34830. "type": "number"
  34831. },
  34832. "marketid": {
  34833. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34834. "type": "integer"
  34835. },
  34836. "minivalue": {
  34837. "description": "现货商品最小变动值",
  34838. "type": "integer"
  34839. },
  34840. "optioncompare": {
  34841. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34842. "type": "string"
  34843. },
  34844. "pricemove": {
  34845. "description": "估值升贴水值",
  34846. "type": "number"
  34847. },
  34848. "productdetailid": {
  34849. "description": "产品组合ID",
  34850. "type": "integer"
  34851. },
  34852. "productid": {
  34853. "description": "金融产品ID",
  34854. "type": "integer"
  34855. },
  34856. "productname": {
  34857. "description": "产品名称",
  34858. "type": "string"
  34859. },
  34860. "remainamount": {
  34861. "description": "合同剩余金额 -\u003e 剩余金额",
  34862. "type": "number"
  34863. },
  34864. "remainwrpositionqty": {
  34865. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34866. "type": "number"
  34867. },
  34868. "remark": {
  34869. "description": "备注",
  34870. "type": "string"
  34871. },
  34872. "scfcontractid": {
  34873. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34874. "type": "string"
  34875. },
  34876. "scfcontractstatus": {
  34877. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34878. "type": "integer"
  34879. },
  34880. "scfcontracttype": {
  34881. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34882. "type": "integer"
  34883. },
  34884. "startinterestday": {
  34885. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34886. "type": "string"
  34887. },
  34888. "totalinterest": {
  34889. "description": "已计利息 -\u003e 已计费用",
  34890. "type": "number"
  34891. },
  34892. "unpaidinterest": {
  34893. "description": "期初均价",
  34894. "type": "number"
  34895. },
  34896. "updatetime": {
  34897. "description": "更新时间",
  34898. "type": "string"
  34899. },
  34900. "warehouseid": {
  34901. "description": "仓库ID",
  34902. "type": "integer"
  34903. },
  34904. "warehousename": {
  34905. "description": "仓库名称",
  34906. "type": "string"
  34907. },
  34908. "wrfactortypeid": {
  34909. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34910. "type": "string"
  34911. },
  34912. "wrfactortypename": {
  34913. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34914. "type": "string"
  34915. },
  34916. "wrqty": {
  34917. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34918. "type": "number"
  34919. },
  34920. "wrstandardcode": {
  34921. "description": "现货商品代码",
  34922. "type": "string"
  34923. },
  34924. "wrstandardid": {
  34925. "description": "现货商品ID",
  34926. "type": "integer"
  34927. },
  34928. "wrstandardname": {
  34929. "description": "商品名称",
  34930. "type": "string"
  34931. },
  34932. "wrtypename": {
  34933. "description": "商品",
  34934. "type": "string"
  34935. }
  34936. }
  34937. },
  34938. "models.WrScfContractInterest": {
  34939. "type": "object",
  34940. "properties": {
  34941. "closeinterest": {
  34942. "description": "已结利息",
  34943. "type": "number"
  34944. },
  34945. "closeintereststatus": {
  34946. "description": "结息状态 - 1:未结 2:已结",
  34947. "type": "integer"
  34948. },
  34949. "closetime": {
  34950. "description": "结息时间",
  34951. "type": "string"
  34952. },
  34953. "closetradedate": {
  34954. "description": "结息交易日",
  34955. "type": "string"
  34956. },
  34957. "creatorid": {
  34958. "description": "操作人ID",
  34959. "type": "integer"
  34960. },
  34961. "dayrate": {
  34962. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34963. "type": "number"
  34964. },
  34965. "interest": {
  34966. "description": "利息",
  34967. "type": "number"
  34968. },
  34969. "interestamount": {
  34970. "description": "计息金额",
  34971. "type": "number"
  34972. },
  34973. "interestday": {
  34974. "description": "计息日(yyyyMMdd)",
  34975. "type": "string"
  34976. },
  34977. "scfcontractid": {
  34978. "description": "SCF合同ID",
  34979. "type": "string"
  34980. },
  34981. "scfcontractinterestid": {
  34982. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34983. "type": "integer"
  34984. },
  34985. "updatetime": {
  34986. "description": "更新时间",
  34987. "type": "string"
  34988. }
  34989. }
  34990. },
  34991. "models.WrSearchUser": {
  34992. "type": "object",
  34993. "required": [
  34994. "username"
  34995. ],
  34996. "properties": {
  34997. "userid": {
  34998. "description": "用户ID",
  34999. "type": "integer"
  35000. },
  35001. "username": {
  35002. "description": "用户名称(已脱敏)",
  35003. "type": "string"
  35004. },
  35005. "username2": {
  35006. "description": "用户名称(未脱敏)",
  35007. "type": "string"
  35008. },
  35009. "usertype": {
  35010. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  35011. "type": "integer"
  35012. }
  35013. }
  35014. },
  35015. "models.WrSiteColumnDetail": {
  35016. "type": "object",
  35017. "properties": {
  35018. "brief": {
  35019. "description": "简介",
  35020. "type": "string"
  35021. },
  35022. "context": {
  35023. "description": "内容",
  35024. "type": "string"
  35025. },
  35026. "coverimage": {
  35027. "description": "封面图片",
  35028. "type": "string"
  35029. },
  35030. "creaedate": {
  35031. "description": "创建时间",
  35032. "type": "string"
  35033. },
  35034. "id": {
  35035. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35036. "type": "integer"
  35037. },
  35038. "istop": {
  35039. "description": "是否置顶 - 0:不置 1:置顶",
  35040. "type": "integer"
  35041. },
  35042. "publishdate": {
  35043. "description": "发布日期",
  35044. "type": "string"
  35045. },
  35046. "title": {
  35047. "description": "标题",
  35048. "type": "string"
  35049. },
  35050. "updatedate": {
  35051. "description": "修改时间",
  35052. "type": "string"
  35053. }
  35054. }
  35055. },
  35056. "models.WrSpecialMatchOrder": {
  35057. "type": "object",
  35058. "properties": {
  35059. "amount": {
  35060. "description": "金额 = 数量 * 价格",
  35061. "type": "number"
  35062. },
  35063. "buyorsell": {
  35064. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35065. "type": "integer"
  35066. },
  35067. "cancelqty": {
  35068. "description": "撤销数量",
  35069. "type": "number"
  35070. },
  35071. "deliverygoodscode": {
  35072. "description": "品种代码",
  35073. "type": "string"
  35074. },
  35075. "deliverygoodsid": {
  35076. "description": "品种ID",
  35077. "type": "integer"
  35078. },
  35079. "deliverygoodsname": {
  35080. "description": "品种名称",
  35081. "type": "string"
  35082. },
  35083. "enumdicname": {
  35084. "description": "单位名称",
  35085. "type": "string"
  35086. },
  35087. "fixedprice": {
  35088. "description": "固定价格(价格)",
  35089. "type": "number"
  35090. },
  35091. "haswr": {
  35092. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35093. "type": "integer"
  35094. },
  35095. "isspecified": {
  35096. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  35097. "type": "integer"
  35098. },
  35099. "marketid": {
  35100. "description": "市场ID",
  35101. "type": "integer"
  35102. },
  35103. "matchuserid": {
  35104. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  35105. "type": "integer"
  35106. },
  35107. "matchusername": {
  35108. "description": "指定方",
  35109. "type": "string"
  35110. },
  35111. "minivalue": {
  35112. "description": "现货商品最小变动值",
  35113. "type": "integer"
  35114. },
  35115. "optioncompare": {
  35116. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35117. "type": "string"
  35118. },
  35119. "orderqty": {
  35120. "description": "委托数量",
  35121. "type": "number"
  35122. },
  35123. "ordertime": {
  35124. "description": "委托时间",
  35125. "type": "string"
  35126. },
  35127. "pricemove": {
  35128. "description": "升贴水(浮动价时填写) - [挂牌]",
  35129. "type": "number"
  35130. },
  35131. "tradedate": {
  35132. "description": "交易日(yyyyMMdd)",
  35133. "type": "string"
  35134. },
  35135. "tradeprice": {
  35136. "description": "成交价格",
  35137. "type": "number"
  35138. },
  35139. "tradeqty": {
  35140. "description": "成交数量",
  35141. "type": "number"
  35142. },
  35143. "userid": {
  35144. "description": "用户ID",
  35145. "type": "integer"
  35146. },
  35147. "username": {
  35148. "description": "发起方",
  35149. "type": "string"
  35150. },
  35151. "warehouseid": {
  35152. "description": "仓库ID",
  35153. "type": "integer"
  35154. },
  35155. "warehousename": {
  35156. "description": "仓库名称",
  35157. "type": "string"
  35158. },
  35159. "wrfactortypeid": {
  35160. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35161. "type": "string"
  35162. },
  35163. "wrfactortypename": {
  35164. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35165. "type": "string"
  35166. },
  35167. "wrpricetype": {
  35168. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35169. "type": "integer"
  35170. },
  35171. "wrstandardcode": {
  35172. "description": "现货商品代码",
  35173. "type": "string"
  35174. },
  35175. "wrstandardid": {
  35176. "description": "现货商品ID",
  35177. "type": "integer"
  35178. },
  35179. "wrstandardname": {
  35180. "description": "商品名称",
  35181. "type": "string"
  35182. },
  35183. "wrtradeorderid": {
  35184. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35185. "type": "string"
  35186. },
  35187. "wrtradeorderstatus": {
  35188. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  35189. "type": "integer"
  35190. },
  35191. "wrtradetype": {
  35192. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35193. "type": "integer"
  35194. },
  35195. "wrtypename": {
  35196. "description": "商品",
  35197. "type": "string"
  35198. }
  35199. }
  35200. },
  35201. "models.WrSpotGroupTradeSum": {
  35202. "type": "object",
  35203. "properties": {
  35204. "deliverygoodscode": {
  35205. "description": "现货品种代码",
  35206. "type": "string"
  35207. },
  35208. "deliverygoodsid": {
  35209. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35210. "type": "integer"
  35211. },
  35212. "deliverygoodsname": {
  35213. "description": "现货品种名称",
  35214. "type": "string"
  35215. },
  35216. "lastavgprice": {
  35217. "description": "上上个交易日价格(前2天价格)",
  35218. "type": "string"
  35219. },
  35220. "lastreckondate": {
  35221. "description": "上上个交易日(前2天交易日)",
  35222. "type": "string"
  35223. },
  35224. "reckondate": {
  35225. "description": "上个交易日(前1天交易日)",
  35226. "type": "string"
  35227. },
  35228. "todayavgprice": {
  35229. "description": "上个交易日价格(前1天价格)",
  35230. "type": "string"
  35231. },
  35232. "updown": {
  35233. "description": "涨跌",
  35234. "type": "string"
  35235. },
  35236. "updownratio": {
  35237. "description": "涨幅(已格式化, 直接显示即可)",
  35238. "type": "string"
  35239. }
  35240. }
  35241. },
  35242. "models.WrSpotGroupTradeSumDetail": {
  35243. "type": "object",
  35244. "properties": {
  35245. "deliverygoodsid": {
  35246. "description": "现货商品id",
  35247. "type": "integer"
  35248. },
  35249. "price": {
  35250. "description": "价格",
  35251. "type": "number"
  35252. },
  35253. "reckondate": {
  35254. "description": "日期(yyymmdd, 如:20211031)",
  35255. "type": "string"
  35256. }
  35257. }
  35258. },
  35259. "models.WrSpotGroupTradeSumEx": {
  35260. "type": "object",
  35261. "properties": {
  35262. "lst": {
  35263. "description": "指数列表",
  35264. "type": "array",
  35265. "items": {
  35266. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  35267. }
  35268. },
  35269. "prereckondate": {
  35270. "description": "上上个交易日(yyymmdd)",
  35271. "type": "string"
  35272. },
  35273. "reckondate": {
  35274. "description": "上个交易日(yyyymmdd)",
  35275. "type": "string"
  35276. }
  35277. }
  35278. },
  35279. "models.WrStandardFactoryItem": {
  35280. "type": "object",
  35281. "properties": {
  35282. "dgfactoryitemid": {
  35283. "description": "选择项id",
  35284. "type": "integer"
  35285. },
  35286. "dgfactoryitemvalue": {
  35287. "description": "要素项值",
  35288. "type": "string"
  35289. },
  35290. "warehouseid": {
  35291. "description": "仓库id",
  35292. "type": "integer"
  35293. }
  35294. }
  35295. },
  35296. "models.WrStandardFactoryItemEx": {
  35297. "type": "object",
  35298. "properties": {
  35299. "dgfactoryitemtypeid": {
  35300. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  35301. "type": "integer"
  35302. },
  35303. "itemlst": {
  35304. "description": "要素项列表",
  35305. "type": "array",
  35306. "items": {
  35307. "$ref": "#/definitions/models.WrStandardFactoryItem"
  35308. }
  35309. },
  35310. "itemtypename": {
  35311. "description": "要素项类型名称",
  35312. "type": "string"
  35313. },
  35314. "wrstandardid": {
  35315. "description": "品类",
  35316. "type": "integer"
  35317. }
  35318. }
  35319. },
  35320. "models.WrTradeDetail": {
  35321. "type": "object",
  35322. "properties": {
  35323. "accountid": {
  35324. "description": "资金账号",
  35325. "type": "integer"
  35326. },
  35327. "bannerpicurl": {
  35328. "description": "Banner图",
  35329. "type": "string"
  35330. },
  35331. "begindate": {
  35332. "description": "开始交易日(yyyymmdd)",
  35333. "type": "string"
  35334. },
  35335. "buyorsell": {
  35336. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35337. "type": "integer"
  35338. },
  35339. "chargevalue": {
  35340. "description": "手续费",
  35341. "type": "number"
  35342. },
  35343. "deliverygoodscode": {
  35344. "description": "品种代码",
  35345. "type": "string"
  35346. },
  35347. "deliverygoodsid": {
  35348. "description": "品种ID",
  35349. "type": "integer"
  35350. },
  35351. "deliverygoodsname": {
  35352. "description": "品种名称",
  35353. "type": "string"
  35354. },
  35355. "deliverymonth": {
  35356. "description": "交收月",
  35357. "type": "string"
  35358. },
  35359. "enddate": {
  35360. "description": "结束交易日(yyyymmdd)",
  35361. "type": "string"
  35362. },
  35363. "enumdicname": {
  35364. "description": "单位名称",
  35365. "type": "string"
  35366. },
  35367. "haswr": {
  35368. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35369. "type": "integer"
  35370. },
  35371. "marketid": {
  35372. "description": "市场ID",
  35373. "type": "integer"
  35374. },
  35375. "matchaccountid": {
  35376. "description": "对手账号",
  35377. "type": "integer"
  35378. },
  35379. "matchusername": {
  35380. "description": "对手方",
  35381. "type": "string"
  35382. },
  35383. "minivalue": {
  35384. "description": "现货商品最小变动值",
  35385. "type": "integer"
  35386. },
  35387. "optioncompare": {
  35388. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35389. "type": "string"
  35390. },
  35391. "thumurls": {
  35392. "description": "缩略图",
  35393. "type": "string"
  35394. },
  35395. "tradedate": {
  35396. "description": "交易日(yyyyMMdd)",
  35397. "type": "string"
  35398. },
  35399. "tradeprice": {
  35400. "description": "成交价格",
  35401. "type": "number"
  35402. },
  35403. "tradeqty": {
  35404. "description": "成交数量",
  35405. "type": "number"
  35406. },
  35407. "tradetime": {
  35408. "description": "成交时间",
  35409. "type": "string"
  35410. },
  35411. "userid": {
  35412. "description": "用户ID",
  35413. "type": "integer"
  35414. },
  35415. "warehouseid": {
  35416. "description": "仓库ID",
  35417. "type": "integer"
  35418. },
  35419. "warehousename": {
  35420. "description": "仓库名称",
  35421. "type": "string"
  35422. },
  35423. "wrfactortypeid": {
  35424. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35425. "type": "string"
  35426. },
  35427. "wrfactortypename": {
  35428. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35429. "type": "string"
  35430. },
  35431. "wrstandardcode": {
  35432. "description": "现货商品代码",
  35433. "type": "string"
  35434. },
  35435. "wrstandardid": {
  35436. "description": "现货商品ID",
  35437. "type": "integer"
  35438. },
  35439. "wrstandardname": {
  35440. "description": "商品名称",
  35441. "type": "string"
  35442. },
  35443. "wrtradedetailid": {
  35444. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35445. "type": "string"
  35446. },
  35447. "wrtradetype": {
  35448. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35449. "type": "integer"
  35450. },
  35451. "wrtypename": {
  35452. "description": "商品",
  35453. "type": "string"
  35454. }
  35455. }
  35456. },
  35457. "models.WrTradeOrderDetail": {
  35458. "type": "object",
  35459. "properties": {
  35460. "buyorsell": {
  35461. "description": "买卖方向 0-买 1-卖",
  35462. "type": "integer"
  35463. },
  35464. "goodsid": {
  35465. "description": "商品id",
  35466. "type": "integer"
  35467. },
  35468. "orderid": {
  35469. "description": "委托单号",
  35470. "type": "string"
  35471. },
  35472. "orderprice": {
  35473. "description": "期初均价",
  35474. "type": "number"
  35475. },
  35476. "orderqty": {
  35477. "description": "委托数量",
  35478. "type": "integer"
  35479. },
  35480. "userid": {
  35481. "description": "用户id",
  35482. "type": "integer"
  35483. },
  35484. "username": {
  35485. "description": "用户名称(已脱敏)",
  35486. "type": "string"
  35487. }
  35488. }
  35489. },
  35490. "models.WrTypeItem": {
  35491. "type": "object",
  35492. "properties": {
  35493. "name": {
  35494. "description": "名称",
  35495. "type": "string"
  35496. },
  35497. "value": {
  35498. "description": "值",
  35499. "type": "string"
  35500. }
  35501. }
  35502. },
  35503. "models.WrUserFriend": {
  35504. "type": "object",
  35505. "properties": {
  35506. "friendname": {
  35507. "description": "朋友名称(已脱敏)",
  35508. "type": "string"
  35509. },
  35510. "frienduserid": {
  35511. "description": "朋友id",
  35512. "type": "integer"
  35513. },
  35514. "isfriend": {
  35515. "description": "是否好友 0-不是 1-是",
  35516. "type": "integer"
  35517. },
  35518. "userid": {
  35519. "description": "用户id",
  35520. "type": "integer"
  35521. }
  35522. }
  35523. },
  35524. "models.WrUserReceiptInfo": {
  35525. "type": "object",
  35526. "properties": {
  35527. "address": {
  35528. "description": "地址[发票类型:企业]",
  35529. "type": "string"
  35530. },
  35531. "autoid": {
  35532. "description": "AutoID",
  35533. "type": "integer"
  35534. },
  35535. "contactinfo": {
  35536. "description": "联系方式",
  35537. "type": "string"
  35538. },
  35539. "idnum": {
  35540. "description": "身份证号码[发票类型:个人]",
  35541. "type": "string"
  35542. },
  35543. "isdefault": {
  35544. "description": "是否默认地址 - 0:否 1:是",
  35545. "type": "integer"
  35546. },
  35547. "receiptaccount": {
  35548. "description": "发票帐号[发票类型:企业]",
  35549. "type": "string"
  35550. },
  35551. "receiptbank": {
  35552. "description": "发票开户行[发票类型:企业]",
  35553. "type": "string"
  35554. },
  35555. "receipttype": {
  35556. "description": "发票类型 - 1:个人 2:企业",
  35557. "type": "integer"
  35558. },
  35559. "taxpayerid": {
  35560. "description": "纳税人识别号",
  35561. "type": "string"
  35562. },
  35563. "userid": {
  35564. "description": "用户ID",
  35565. "type": "integer"
  35566. },
  35567. "username": {
  35568. "description": "户名(个人姓名或企业名称)",
  35569. "type": "string"
  35570. }
  35571. }
  35572. },
  35573. "models.Wrtradetradequote": {
  35574. "type": "object",
  35575. "properties": {
  35576. "begindate": {
  35577. "description": "开始日期(结果含开始日期) yyyymmdd",
  35578. "type": "string"
  35579. },
  35580. "buyaccountid": {
  35581. "description": "买方账号ID",
  35582. "type": "integer"
  35583. },
  35584. "buyuserid": {
  35585. "description": "买方用户ID",
  35586. "type": "integer"
  35587. },
  35588. "deliverygoodsid": {
  35589. "description": "现货品种ID",
  35590. "type": "integer"
  35591. },
  35592. "enddate": {
  35593. "description": "结束日期(结果含结束日期) yyyymmdd",
  35594. "type": "string"
  35595. },
  35596. "marketid": {
  35597. "description": "市场ID",
  35598. "type": "integer"
  35599. },
  35600. "sellaccountid": {
  35601. "description": "卖方账号ID",
  35602. "type": "integer"
  35603. },
  35604. "selluserid": {
  35605. "description": "卖方用户ID",
  35606. "type": "integer"
  35607. },
  35608. "tradeamount": {
  35609. "description": "成交金额",
  35610. "type": "number"
  35611. },
  35612. "tradedate": {
  35613. "description": "交易日(yyyyMMdd)",
  35614. "type": "string"
  35615. },
  35616. "tradeprice": {
  35617. "description": "成交价格",
  35618. "type": "number"
  35619. },
  35620. "tradeqty": {
  35621. "description": "成交数量",
  35622. "type": "integer"
  35623. },
  35624. "tradetime": {
  35625. "description": "成交时间",
  35626. "type": "string"
  35627. },
  35628. "wrfactortypeid": {
  35629. "description": "仓单要素类型ID",
  35630. "type": "integer"
  35631. },
  35632. "wrstandardid": {
  35633. "description": "现货商品ID",
  35634. "type": "integer"
  35635. },
  35636. "wrtradedetailid": {
  35637. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35638. "type": "string"
  35639. }
  35640. }
  35641. },
  35642. "models.XHBRAND": {
  35643. "type": "object",
  35644. "properties": {
  35645. "brandid": {
  35646. "description": "品牌id",
  35647. "type": "integer"
  35648. },
  35649. "brandname": {
  35650. "description": "品牌名称",
  35651. "type": "string"
  35652. },
  35653. "isvalid": {
  35654. "description": "是否有效 0-无效 1-有效",
  35655. "type": "integer"
  35656. }
  35657. }
  35658. },
  35659. "models.XHDeliveryGoods": {
  35660. "type": "object",
  35661. "properties": {
  35662. "areauserid": {
  35663. "description": "所属机构",
  35664. "type": "integer"
  35665. },
  35666. "bdlst": {
  35667. "description": "品牌列表",
  35668. "type": "array",
  35669. "items": {
  35670. "$ref": "#/definitions/models.XHBRAND"
  35671. }
  35672. },
  35673. "deliverygoodscode": {
  35674. "description": "现货品种代码",
  35675. "type": "string"
  35676. },
  35677. "deliverygoodsid": {
  35678. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35679. "type": "integer"
  35680. },
  35681. "deliverygoodsname": {
  35682. "description": "现货品种名称",
  35683. "type": "string"
  35684. },
  35685. "dgstatus": {
  35686. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  35687. "type": "integer"
  35688. },
  35689. "filterSubEmpty": {
  35690. "description": "过滤下级为空的",
  35691. "type": "integer"
  35692. },
  35693. "isvalid": {
  35694. "description": "是否有效 - 0:无效 1:有效",
  35695. "type": "integer"
  35696. },
  35697. "remark": {
  35698. "description": "备注",
  35699. "type": "string"
  35700. },
  35701. "unitid": {
  35702. "description": "单位id(目前看,数据库中是空值)",
  35703. "type": "integer"
  35704. },
  35705. "wdlst": {
  35706. "description": "品类(现货商品)列表",
  35707. "type": "array",
  35708. "items": {
  35709. "$ref": "#/definitions/models.XHWrstandard"
  35710. }
  35711. }
  35712. }
  35713. },
  35714. "models.XHMiddleGoods": {
  35715. "type": "object",
  35716. "properties": {
  35717. "GPLST": {
  35718. "description": "期货品种列表",
  35719. "type": "array",
  35720. "items": {
  35721. "$ref": "#/definitions/models.TBGoodsGroup"
  35722. }
  35723. },
  35724. "convertratio": {
  35725. "description": "拆算系数",
  35726. "type": "number"
  35727. },
  35728. "costratio": {
  35729. "description": "成本权重",
  35730. "type": "number"
  35731. },
  35732. "deliverygoodsid": {
  35733. "description": "现货商品id",
  35734. "type": "integer"
  35735. },
  35736. "enumdicname": {
  35737. "description": "单位名称",
  35738. "type": "string"
  35739. },
  35740. "middlegoodscode": {
  35741. "description": "套保品种代码",
  35742. "type": "string"
  35743. },
  35744. "middlegoodsid": {
  35745. "description": "套保品种id",
  35746. "type": "integer"
  35747. },
  35748. "middlegoodsname": {
  35749. "description": "套保品种名称",
  35750. "type": "string"
  35751. },
  35752. "unitid": {
  35753. "description": "单位id",
  35754. "type": "integer"
  35755. }
  35756. }
  35757. },
  35758. "models.XHWrstandard": {
  35759. "type": "object",
  35760. "properties": {
  35761. "bannerpicurl": {
  35762. "description": "banner图",
  35763. "type": "string"
  35764. },
  35765. "deliverygoodsid": {
  35766. "description": "品种ID",
  35767. "type": "integer"
  35768. },
  35769. "enumdicname": {
  35770. "description": "单位名称",
  35771. "type": "string"
  35772. },
  35773. "mglst": {
  35774. "description": "套保品列表",
  35775. "type": "array",
  35776. "items": {
  35777. "$ref": "#/definitions/models.XHMiddleGoods"
  35778. }
  35779. },
  35780. "pictureurls": {
  35781. "description": "详情图片(逗号分隔)",
  35782. "type": "string"
  35783. },
  35784. "thumurls": {
  35785. "description": "缩略图片(1:1)(逗号分隔)",
  35786. "type": "string"
  35787. },
  35788. "unitid": {
  35789. "description": "单位id",
  35790. "type": "integer"
  35791. },
  35792. "vatrate": {
  35793. "description": "增值税率",
  35794. "type": "number"
  35795. },
  35796. "wrstandardcode": {
  35797. "description": "现货商品代码",
  35798. "type": "string"
  35799. },
  35800. "wrstandardid": {
  35801. "description": "现货商品ID(SEQ_WRSTANDARD)",
  35802. "type": "integer"
  35803. },
  35804. "wrstandardname": {
  35805. "description": "现货商品名称",
  35806. "type": "string"
  35807. }
  35808. }
  35809. },
  35810. "models.XhcpSellBackApplyEx": {
  35811. "type": "object",
  35812. "required": [
  35813. "userid"
  35814. ],
  35815. "properties": {
  35816. "applyremark": {
  35817. "description": "申请备注",
  35818. "type": "string"
  35819. },
  35820. "expirytype": {
  35821. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  35822. "type": "integer"
  35823. },
  35824. "goodsspec": {
  35825. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  35826. "type": "integer"
  35827. },
  35828. "holeflag": {
  35829. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  35830. "type": "integer"
  35831. },
  35832. "isunopened": {
  35833. "description": "是否原封 - 1:否 2:是",
  35834. "type": "integer"
  35835. },
  35836. "mpflag": {
  35837. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  35838. "type": "integer"
  35839. },
  35840. "openflag": {
  35841. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  35842. "type": "integer"
  35843. },
  35844. "phonenum": {
  35845. "description": "联系电话",
  35846. "type": "string"
  35847. },
  35848. "userid": {
  35849. "description": "所属用户ID",
  35850. "type": "integer"
  35851. },
  35852. "zpflag": {
  35853. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  35854. "type": "integer"
  35855. }
  35856. }
  35857. },
  35858. "models.Xhcpsellbackapply": {
  35859. "type": "object",
  35860. "required": [
  35861. "userid"
  35862. ],
  35863. "properties": {
  35864. "applyid": {
  35865. "description": "申请人",
  35866. "type": "integer"
  35867. },
  35868. "applyremark": {
  35869. "description": "申请备注",
  35870. "type": "string"
  35871. },
  35872. "applysrc": {
  35873. "description": "申请来源 - 1:管理端 2:终端",
  35874. "type": "integer"
  35875. },
  35876. "applystatus": {
  35877. "description": "申请状态 - 1:待确认 2:已处理",
  35878. "type": "integer"
  35879. },
  35880. "applytime": {
  35881. "description": "申请时间",
  35882. "type": "string"
  35883. },
  35884. "auditremark": {
  35885. "description": "审核备注",
  35886. "type": "string"
  35887. },
  35888. "auditsrc": {
  35889. "description": "审核来源 - 1:管理端 2:终端",
  35890. "type": "integer"
  35891. },
  35892. "expirytype": {
  35893. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  35894. "type": "integer"
  35895. },
  35896. "goodsspec": {
  35897. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  35898. "type": "integer"
  35899. },
  35900. "holeflag": {
  35901. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  35902. "type": "integer"
  35903. },
  35904. "isunopened": {
  35905. "description": "是否原封 - 1:否 2:是",
  35906. "type": "integer"
  35907. },
  35908. "mpflag": {
  35909. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  35910. "type": "integer"
  35911. },
  35912. "openflag": {
  35913. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  35914. "type": "integer"
  35915. },
  35916. "phonenum": {
  35917. "description": "联系电话",
  35918. "type": "string"
  35919. },
  35920. "sellbackapplyid": {
  35921. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  35922. "type": "string"
  35923. },
  35924. "userid": {
  35925. "description": "所属用户ID",
  35926. "type": "integer"
  35927. },
  35928. "zpflag": {
  35929. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  35930. "type": "integer"
  35931. }
  35932. }
  35933. },
  35934. "order.QueryHisTradeDetailRsp": {
  35935. "type": "object",
  35936. "required": [
  35937. "accountid",
  35938. "buyorsell",
  35939. "goodsid",
  35940. "histradedate",
  35941. "marketid",
  35942. "memberuserid",
  35943. "orderid",
  35944. "tradeamount",
  35945. "tradedate",
  35946. "tradeid",
  35947. "tradeprice",
  35948. "tradeqty",
  35949. "tradetime"
  35950. ],
  35951. "properties": {
  35952. "accountid": {
  35953. "description": "账户ID[报价币种]",
  35954. "type": "integer"
  35955. },
  35956. "advanceratio": {
  35957. "description": "首付比率",
  35958. "type": "number"
  35959. },
  35960. "buildtype": {
  35961. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35962. "type": "integer"
  35963. },
  35964. "buyorsell": {
  35965. "description": "方向 - 0:买 1:卖",
  35966. "type": "integer"
  35967. },
  35968. "charge": {
  35969. "description": "手续费",
  35970. "type": "number"
  35971. },
  35972. "closecharge": {
  35973. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35974. "type": "number"
  35975. },
  35976. "closeexchagechargevalue": {
  35977. "description": "平仓交易所手续费设置值",
  35978. "type": "number"
  35979. },
  35980. "closefeealgorithm": {
  35981. "description": "平仓手续费收取方式 1:比率 2:固定",
  35982. "type": "integer"
  35983. },
  35984. "closememberchargevalue": {
  35985. "description": "平仓会员手续费设置值",
  35986. "type": "number"
  35987. },
  35988. "closepl": {
  35989. "description": "平仓盈亏",
  35990. "type": "number"
  35991. },
  35992. "closepl2": {
  35993. "description": "平仓盈亏[逐笔]",
  35994. "type": "number"
  35995. },
  35996. "closeqty": {
  35997. "description": "平仓数量(先建后平操作 需要记录)",
  35998. "type": "number"
  35999. },
  36000. "creditamount": {
  36001. "description": "授信金额",
  36002. "type": "number"
  36003. },
  36004. "decimalplace": {
  36005. "description": "商品报价小数位",
  36006. "type": "integer"
  36007. },
  36008. "enumdicname": {
  36009. "description": "单位名称",
  36010. "type": "string"
  36011. },
  36012. "gcaccountid": {
  36013. "description": "账户ID[合约币种]",
  36014. "type": "integer"
  36015. },
  36016. "goodscode": {
  36017. "description": "商品代码",
  36018. "type": "string"
  36019. },
  36020. "goodsid": {
  36021. "description": "商品ID",
  36022. "type": "integer"
  36023. },
  36024. "goodsname": {
  36025. "description": "商品名称",
  36026. "type": "string"
  36027. },
  36028. "goodunitid": {
  36029. "description": "商品单位id",
  36030. "type": "integer"
  36031. },
  36032. "histradedate": {
  36033. "description": "历史交易日",
  36034. "type": "string"
  36035. },
  36036. "intclosepl": {
  36037. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36038. "type": "integer"
  36039. },
  36040. "isconfirmexercise": {
  36041. "description": "是否确认行权- 0:否 1:是",
  36042. "type": "integer"
  36043. },
  36044. "ismain": {
  36045. "description": "是否主单 - 0:不是 1:是",
  36046. "type": "integer"
  36047. },
  36048. "ispreexercise": {
  36049. "description": "是否预申报- 0:否 1:是",
  36050. "type": "integer"
  36051. },
  36052. "isreckoned": {
  36053. "description": "是否结算 - 0:未结算 1:已结算",
  36054. "type": "integer"
  36055. },
  36056. "isvaliddata": {
  36057. "description": "是否有效 - 0:无效 1:有效",
  36058. "type": "integer"
  36059. },
  36060. "listingselecttype": {
  36061. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36062. "type": "integer"
  36063. },
  36064. "marketid": {
  36065. "description": "市场ID",
  36066. "type": "integer"
  36067. },
  36068. "marketname": {
  36069. "description": "市场名称",
  36070. "type": "string"
  36071. },
  36072. "matchaccountid": {
  36073. "description": "对手账号id",
  36074. "type": "integer"
  36075. },
  36076. "memberuserid": {
  36077. "description": "会员id 个人投资者 需要填写",
  36078. "type": "integer"
  36079. },
  36080. "opencharge": {
  36081. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36082. "type": "number"
  36083. },
  36084. "openexchagechargevalue": {
  36085. "description": "建仓交易所手续费设置值",
  36086. "type": "number"
  36087. },
  36088. "openfeealgorithm": {
  36089. "description": "建仓手续费收取方式 1:比率 2:固定",
  36090. "type": "integer"
  36091. },
  36092. "openmemberchargevalue": {
  36093. "description": "建仓会员手续费设置值",
  36094. "type": "number"
  36095. },
  36096. "openqty": {
  36097. "description": "开仓数量(先建后平操作 需要记录)",
  36098. "type": "number"
  36099. },
  36100. "optiontype": {
  36101. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36102. "type": "integer"
  36103. },
  36104. "orderid": {
  36105. "description": "委托单号",
  36106. "type": "string"
  36107. },
  36108. "payamount": {
  36109. "description": "支付金额(付款金额)",
  36110. "type": "number"
  36111. },
  36112. "performanceplanid": {
  36113. "description": "履约计划ID[期权]",
  36114. "type": "integer"
  36115. },
  36116. "performancestatus": {
  36117. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36118. "type": "integer"
  36119. },
  36120. "preexerciseprice": {
  36121. "description": "预申报价格",
  36122. "type": "number"
  36123. },
  36124. "premium": {
  36125. "description": "权利金 - [持仓单的权利金]",
  36126. "type": "number"
  36127. },
  36128. "qtydecimalplace": {
  36129. "description": "商品报价小数位",
  36130. "type": "integer"
  36131. },
  36132. "recvamount": {
  36133. "description": "到账金额 = 成交金额 - 手续费",
  36134. "type": "number"
  36135. },
  36136. "relatedouttradeid": {
  36137. "description": "关联外部成交单ID",
  36138. "type": "integer"
  36139. },
  36140. "status": {
  36141. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36142. "type": "integer"
  36143. },
  36144. "totalamount": {
  36145. "description": "订单总额 = 成交金额 + 手续费",
  36146. "type": "number"
  36147. },
  36148. "tradeamount": {
  36149. "description": "成交金额[账户币种,用于所有权]",
  36150. "type": "number"
  36151. },
  36152. "tradedate": {
  36153. "description": "交易日(yyyyMMdd)",
  36154. "type": "string"
  36155. },
  36156. "tradeid": {
  36157. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36158. "type": "string"
  36159. },
  36160. "trademode": {
  36161. "description": "交易模式",
  36162. "type": "integer"
  36163. },
  36164. "tradeprice": {
  36165. "description": "成交价格",
  36166. "type": "number"
  36167. },
  36168. "tradeproperty": {
  36169. "description": "交易属性",
  36170. "type": "integer"
  36171. },
  36172. "tradeqty": {
  36173. "description": "成交数量",
  36174. "type": "number"
  36175. },
  36176. "tradetime": {
  36177. "description": "成交时间",
  36178. "type": "string"
  36179. },
  36180. "tradetype": {
  36181. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36182. "type": "integer"
  36183. }
  36184. }
  36185. },
  36186. "order.QueryHisTradeOrderDetailRsp": {
  36187. "type": "object",
  36188. "required": [
  36189. "accountid",
  36190. "buildtype",
  36191. "buyorsell",
  36192. "goodsid",
  36193. "histradedate",
  36194. "marketid",
  36195. "memberuserid",
  36196. "operatetype",
  36197. "orderid",
  36198. "orderqty",
  36199. "ordertime",
  36200. "pricemode",
  36201. "tradedate",
  36202. "validtype"
  36203. ],
  36204. "properties": {
  36205. "accountid": {
  36206. "description": "账户ID[报价币种]",
  36207. "type": "integer"
  36208. },
  36209. "buildtype": {
  36210. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36211. "type": "integer"
  36212. },
  36213. "buyorsell": {
  36214. "description": "买卖 - 0:买 1:卖",
  36215. "type": "integer"
  36216. },
  36217. "cancelorderid": {
  36218. "description": "撤单单号(撤单时填写)",
  36219. "type": "string"
  36220. },
  36221. "cancelqty": {
  36222. "description": "撤单数量",
  36223. "type": "number"
  36224. },
  36225. "clientordertime": {
  36226. "description": "客户端委托时间",
  36227. "type": "string"
  36228. },
  36229. "clientticket": {
  36230. "description": "客户端流水号",
  36231. "type": "string"
  36232. },
  36233. "clienttype": {
  36234. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36235. "type": "integer"
  36236. },
  36237. "closeexchagechargevalue": {
  36238. "description": "平仓交易所手续费设置值",
  36239. "type": "number"
  36240. },
  36241. "closefeealgorithm": {
  36242. "description": "平仓手续费收取方式 1:比率 2:固定",
  36243. "type": "integer"
  36244. },
  36245. "closefreezecharge": {
  36246. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36247. "type": "number"
  36248. },
  36249. "closememberchargevalue": {
  36250. "description": "平仓会员手续费设置值",
  36251. "type": "number"
  36252. },
  36253. "closeqty": {
  36254. "description": "平仓数量(先建后平操作 需要记录)",
  36255. "type": "number"
  36256. },
  36257. "closetradeqty": {
  36258. "description": "平仓成交数量(先建后平操作,需要记录)",
  36259. "type": "number"
  36260. },
  36261. "closeunfreezecharge": {
  36262. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36263. "type": "number"
  36264. },
  36265. "decimalplace": {
  36266. "description": "商品报价小数位",
  36267. "type": "integer"
  36268. },
  36269. "delistingtype": {
  36270. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36271. "type": "integer"
  36272. },
  36273. "enumdicname": {
  36274. "description": "单位名称",
  36275. "type": "string"
  36276. },
  36277. "freezecharge": {
  36278. "description": "冻结手续费",
  36279. "type": "number"
  36280. },
  36281. "freezemargin": {
  36282. "description": "冻结保证金(冻结交易金额)",
  36283. "type": "number"
  36284. },
  36285. "gcaccountid": {
  36286. "description": "账户ID[合约币种]",
  36287. "type": "integer"
  36288. },
  36289. "goodscode": {
  36290. "description": "商品代码",
  36291. "type": "string"
  36292. },
  36293. "goodsid": {
  36294. "description": "商品ID",
  36295. "type": "integer"
  36296. },
  36297. "goodsname": {
  36298. "description": "商品名称",
  36299. "type": "string"
  36300. },
  36301. "goodunitid": {
  36302. "description": "商品单位id",
  36303. "type": "integer"
  36304. },
  36305. "histradedate": {
  36306. "description": "历史交易日",
  36307. "type": "string"
  36308. },
  36309. "isconfirmexercise": {
  36310. "description": "是否确认行权- 0:否 1:是",
  36311. "type": "integer"
  36312. },
  36313. "ispreexercise": {
  36314. "description": "是否预申报- 0:否 1:是",
  36315. "type": "integer"
  36316. },
  36317. "isvaliddata": {
  36318. "description": "是否有效 - 0:无效 1:有效",
  36319. "type": "integer"
  36320. },
  36321. "listingselecttype": {
  36322. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36323. "type": "integer"
  36324. },
  36325. "marginalgorithm": {
  36326. "description": "保证金收取方式 1:比率 2:固定",
  36327. "type": "integer"
  36328. },
  36329. "marginvalue": {
  36330. "description": "即市保证金设置值",
  36331. "type": "number"
  36332. },
  36333. "marketid": {
  36334. "description": "市场ID",
  36335. "type": "integer"
  36336. },
  36337. "marketmaxsub": {
  36338. "description": "市价最大偏移范围",
  36339. "type": "number"
  36340. },
  36341. "marketname": {
  36342. "description": "市场名称",
  36343. "type": "string"
  36344. },
  36345. "memberuserid": {
  36346. "description": "所属会员UserID",
  36347. "type": "integer"
  36348. },
  36349. "openexchagechargevalue": {
  36350. "description": "建仓交易所手续费设置值",
  36351. "type": "number"
  36352. },
  36353. "openfeealgorithm": {
  36354. "description": "建仓手续费收取方式 1:比率 2:固定",
  36355. "type": "integer"
  36356. },
  36357. "openfreezecharge": {
  36358. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36359. "type": "number"
  36360. },
  36361. "openmemberchargevalue": {
  36362. "description": "建仓会员手续费设置值",
  36363. "type": "number"
  36364. },
  36365. "openqty": {
  36366. "description": "开仓数量(先建后平操作,需要记录)",
  36367. "type": "number"
  36368. },
  36369. "opentradeqty": {
  36370. "description": "开仓成交数量(先建后平操作,需要记录)",
  36371. "type": "number"
  36372. },
  36373. "openunfreezecharge": {
  36374. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36375. "type": "number"
  36376. },
  36377. "operatetype": {
  36378. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36379. "type": "integer"
  36380. },
  36381. "operatorid": {
  36382. "description": "登录账号(LoginID)",
  36383. "type": "integer"
  36384. },
  36385. "optiontype": {
  36386. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36387. "type": "integer"
  36388. },
  36389. "orderid": {
  36390. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36391. "type": "string"
  36392. },
  36393. "orderprice": {
  36394. "description": "委托价格",
  36395. "type": "number"
  36396. },
  36397. "orderqty": {
  36398. "description": "委托数量",
  36399. "type": "number"
  36400. },
  36401. "ordersrc": {
  36402. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36403. "type": "integer"
  36404. },
  36405. "orderstatus": {
  36406. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36407. "type": "integer"
  36408. },
  36409. "ordertime": {
  36410. "description": "委托时间",
  36411. "type": "string"
  36412. },
  36413. "preexerciseprice": {
  36414. "description": "预申报价格",
  36415. "type": "number"
  36416. },
  36417. "premium": {
  36418. "description": "权利金",
  36419. "type": "number"
  36420. },
  36421. "preorderid": {
  36422. "description": "关联预埋单号(止盈止损单时填写)",
  36423. "type": "string"
  36424. },
  36425. "pricemode": {
  36426. "description": "取价方式 - 1:市价 2: 限价",
  36427. "type": "integer"
  36428. },
  36429. "qtydecimalplace": {
  36430. "description": "成交量小数位",
  36431. "type": "integer"
  36432. },
  36433. "quoteid": {
  36434. "description": "报价单ID",
  36435. "type": "integer"
  36436. },
  36437. "relatedid": {
  36438. "description": "关联单号(交割单)",
  36439. "type": "string"
  36440. },
  36441. "retcode": {
  36442. "description": "错误代码",
  36443. "type": "integer"
  36444. },
  36445. "sessionid": {
  36446. "description": "会话ID",
  36447. "type": "integer"
  36448. },
  36449. "tradedate": {
  36450. "description": "交易日(yyyyMMdd)",
  36451. "type": "string"
  36452. },
  36453. "trademode": {
  36454. "description": "交易模式",
  36455. "type": "integer"
  36456. },
  36457. "tradeproperty": {
  36458. "description": "交易属性",
  36459. "type": "integer"
  36460. },
  36461. "tradeqty": {
  36462. "description": "成交数量",
  36463. "type": "number"
  36464. },
  36465. "unfreezecharge": {
  36466. "description": "解冻手续费",
  36467. "type": "number"
  36468. },
  36469. "unfreezemargin": {
  36470. "description": "解冻保证金",
  36471. "type": "number"
  36472. },
  36473. "updatetime": {
  36474. "description": "更新时间",
  36475. "type": "string"
  36476. },
  36477. "uuid": {
  36478. "description": "发起端唯一id",
  36479. "type": "string"
  36480. },
  36481. "validtime": {
  36482. "description": "有效期限",
  36483. "type": "string"
  36484. },
  36485. "validtype": {
  36486. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36487. "type": "integer"
  36488. },
  36489. "volumetype": {
  36490. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36491. "type": "integer"
  36492. }
  36493. }
  36494. },
  36495. "order.QueryTradeDetailRsp": {
  36496. "type": "object",
  36497. "required": [
  36498. "accountid",
  36499. "buyorsell",
  36500. "goodsid",
  36501. "marketid",
  36502. "memberuserid",
  36503. "orderid",
  36504. "tradeamount",
  36505. "tradedate",
  36506. "tradeid",
  36507. "tradeprice",
  36508. "tradeqty",
  36509. "tradetime"
  36510. ],
  36511. "properties": {
  36512. "accountid": {
  36513. "description": "账户ID[报价币种]",
  36514. "type": "integer"
  36515. },
  36516. "advanceratio": {
  36517. "description": "首付比率",
  36518. "type": "number"
  36519. },
  36520. "buildtype": {
  36521. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36522. "type": "integer"
  36523. },
  36524. "buyorsell": {
  36525. "description": "方向 - 0:买 1:卖",
  36526. "type": "integer"
  36527. },
  36528. "charge": {
  36529. "description": "手续费",
  36530. "type": "number"
  36531. },
  36532. "closecharge": {
  36533. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36534. "type": "number"
  36535. },
  36536. "closeexchagechargevalue": {
  36537. "description": "平仓交易所手续费设置值",
  36538. "type": "number"
  36539. },
  36540. "closefeealgorithm": {
  36541. "description": "平仓手续费收取方式 1:比率 2:固定",
  36542. "type": "integer"
  36543. },
  36544. "closememberchargevalue": {
  36545. "description": "平仓会员手续费设置值",
  36546. "type": "number"
  36547. },
  36548. "closepl": {
  36549. "description": "平仓盈亏",
  36550. "type": "number"
  36551. },
  36552. "closepl2": {
  36553. "description": "平仓盈亏[逐笔]",
  36554. "type": "number"
  36555. },
  36556. "closeqty": {
  36557. "description": "平仓数量(先建后平操作 需要记录)",
  36558. "type": "number"
  36559. },
  36560. "creditamount": {
  36561. "description": "授信金额",
  36562. "type": "number"
  36563. },
  36564. "decimalplace": {
  36565. "description": "商品报价小数位",
  36566. "type": "integer"
  36567. },
  36568. "enumdicname": {
  36569. "description": "单位名称",
  36570. "type": "string"
  36571. },
  36572. "gcaccountid": {
  36573. "description": "账户ID[合约币种]",
  36574. "type": "integer"
  36575. },
  36576. "goodscode": {
  36577. "description": "商品代码",
  36578. "type": "string"
  36579. },
  36580. "goodsid": {
  36581. "description": "商品ID",
  36582. "type": "integer"
  36583. },
  36584. "goodsname": {
  36585. "description": "商品名称",
  36586. "type": "string"
  36587. },
  36588. "goodunitid": {
  36589. "description": "商品单位id",
  36590. "type": "integer"
  36591. },
  36592. "intclosepl": {
  36593. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36594. "type": "integer"
  36595. },
  36596. "isconfirmexercise": {
  36597. "description": "是否确认行权- 0:否 1:是",
  36598. "type": "integer"
  36599. },
  36600. "ismain": {
  36601. "description": "是否主单 - 0:不是 1:是",
  36602. "type": "integer"
  36603. },
  36604. "ispreexercise": {
  36605. "description": "是否预申报- 0:否 1:是",
  36606. "type": "integer"
  36607. },
  36608. "isreckoned": {
  36609. "description": "是否结算 - 0:未结算 1:已结算",
  36610. "type": "integer"
  36611. },
  36612. "listingselecttype": {
  36613. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36614. "type": "integer"
  36615. },
  36616. "marketid": {
  36617. "description": "市场ID",
  36618. "type": "integer"
  36619. },
  36620. "marketname": {
  36621. "description": "市场名称",
  36622. "type": "string"
  36623. },
  36624. "matchaccountid": {
  36625. "description": "对手账号id",
  36626. "type": "integer"
  36627. },
  36628. "memberuserid": {
  36629. "description": "会员id 个人投资者 需要填写",
  36630. "type": "integer"
  36631. },
  36632. "opencharge": {
  36633. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36634. "type": "number"
  36635. },
  36636. "openexchagechargevalue": {
  36637. "description": "建仓交易所手续费设置值",
  36638. "type": "number"
  36639. },
  36640. "openfeealgorithm": {
  36641. "description": "建仓手续费收取方式 1:比率 2:固定",
  36642. "type": "integer"
  36643. },
  36644. "openmemberchargevalue": {
  36645. "description": "建仓会员手续费设置值",
  36646. "type": "number"
  36647. },
  36648. "openqty": {
  36649. "description": "开仓数量(先建后平操作 需要记录)",
  36650. "type": "number"
  36651. },
  36652. "optiontype": {
  36653. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36654. "type": "integer"
  36655. },
  36656. "orderid": {
  36657. "description": "委托单号",
  36658. "type": "string"
  36659. },
  36660. "payamount": {
  36661. "description": "支付金额(付款金额)",
  36662. "type": "number"
  36663. },
  36664. "performanceplanid": {
  36665. "description": "履约计划ID[期权]",
  36666. "type": "integer"
  36667. },
  36668. "performancestatus": {
  36669. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36670. "type": "integer"
  36671. },
  36672. "preexerciseprice": {
  36673. "description": "预申报价格",
  36674. "type": "number"
  36675. },
  36676. "premium": {
  36677. "description": "权利金 - [持仓单的权利金]",
  36678. "type": "number"
  36679. },
  36680. "qtydecimalplace": {
  36681. "description": "商品报价小数位",
  36682. "type": "integer"
  36683. },
  36684. "recvamount": {
  36685. "description": "到账金额 = 成交金额 - 手续费",
  36686. "type": "number"
  36687. },
  36688. "relatedouttradeid": {
  36689. "description": "关联外部成交单ID",
  36690. "type": "integer"
  36691. },
  36692. "status": {
  36693. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36694. "type": "integer"
  36695. },
  36696. "totalamount": {
  36697. "description": "订单总额 = 成交金额 + 手续费",
  36698. "type": "number"
  36699. },
  36700. "tradeamount": {
  36701. "description": "成交金额[账户币种,用于所有权]",
  36702. "type": "number"
  36703. },
  36704. "tradedate": {
  36705. "description": "交易日(yyyyMMdd)",
  36706. "type": "string"
  36707. },
  36708. "tradeid": {
  36709. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36710. "type": "string"
  36711. },
  36712. "trademode": {
  36713. "description": "交易模式",
  36714. "type": "integer"
  36715. },
  36716. "tradeprice": {
  36717. "description": "成交价格",
  36718. "type": "number"
  36719. },
  36720. "tradeproperty": {
  36721. "description": "交易属性",
  36722. "type": "integer"
  36723. },
  36724. "tradeqty": {
  36725. "description": "成交数量",
  36726. "type": "number"
  36727. },
  36728. "tradetime": {
  36729. "description": "成交时间",
  36730. "type": "string"
  36731. },
  36732. "tradetype": {
  36733. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36734. "type": "integer"
  36735. }
  36736. }
  36737. },
  36738. "order.QueryTradeOrderDetailRsp": {
  36739. "type": "object",
  36740. "required": [
  36741. "accountid",
  36742. "buildtype",
  36743. "buyorsell",
  36744. "goodsid",
  36745. "marketid",
  36746. "operatetype",
  36747. "orderqty",
  36748. "ordertime",
  36749. "pricemode",
  36750. "tradedate",
  36751. "validtype"
  36752. ],
  36753. "properties": {
  36754. "accountid": {
  36755. "description": "账户ID[报价币种]",
  36756. "type": "integer"
  36757. },
  36758. "buildtype": {
  36759. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36760. "type": "integer"
  36761. },
  36762. "buyorsell": {
  36763. "description": "买卖 - 0:买 1:卖",
  36764. "type": "integer"
  36765. },
  36766. "cancelorderid": {
  36767. "description": "撤单单号(撤单时填写)",
  36768. "type": "string"
  36769. },
  36770. "cancelqty": {
  36771. "description": "撤单数量",
  36772. "type": "number"
  36773. },
  36774. "clienttype": {
  36775. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36776. "type": "integer"
  36777. },
  36778. "closefreezecharge": {
  36779. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36780. "type": "number"
  36781. },
  36782. "closeqty": {
  36783. "description": "平仓数量(先建后平操作 需要记录)",
  36784. "type": "number"
  36785. },
  36786. "closetradeqty": {
  36787. "description": "平仓成交数量(先建后平操作,需要记录)",
  36788. "type": "number"
  36789. },
  36790. "closeunfreezecharge": {
  36791. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36792. "type": "number"
  36793. },
  36794. "decimalplace": {
  36795. "description": "商品报价小数位",
  36796. "type": "integer"
  36797. },
  36798. "delistingtype": {
  36799. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36800. "type": "integer"
  36801. },
  36802. "enableqty": {
  36803. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  36804. "type": "number"
  36805. },
  36806. "enumdicname": {
  36807. "description": "单位名称",
  36808. "type": "string"
  36809. },
  36810. "freezecharge": {
  36811. "description": "冻结手续费",
  36812. "type": "number"
  36813. },
  36814. "freezemargin": {
  36815. "description": "冻结保证金(冻结交易金额)",
  36816. "type": "number"
  36817. },
  36818. "goodscode": {
  36819. "description": "商品代码",
  36820. "type": "string"
  36821. },
  36822. "goodsid": {
  36823. "description": "商品ID",
  36824. "type": "integer"
  36825. },
  36826. "goodsname": {
  36827. "description": "商品名称",
  36828. "type": "string"
  36829. },
  36830. "goodunitid": {
  36831. "description": "商品单位id",
  36832. "type": "integer"
  36833. },
  36834. "listingselecttype": {
  36835. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36836. "type": "integer"
  36837. },
  36838. "marketid": {
  36839. "description": "市场ID",
  36840. "type": "integer"
  36841. },
  36842. "marketname": {
  36843. "description": "市场名称",
  36844. "type": "string"
  36845. },
  36846. "openfreezecharge": {
  36847. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36848. "type": "number"
  36849. },
  36850. "openqty": {
  36851. "description": "开仓数量(先建后平操作,需要记录)",
  36852. "type": "number"
  36853. },
  36854. "opentradeqty": {
  36855. "description": "开仓成交数量(先建后平操作,需要记录)",
  36856. "type": "number"
  36857. },
  36858. "openunfreezecharge": {
  36859. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36860. "type": "number"
  36861. },
  36862. "operatetype": {
  36863. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36864. "type": "integer"
  36865. },
  36866. "operatorid": {
  36867. "description": "登录账号(LoginID)",
  36868. "type": "integer"
  36869. },
  36870. "orderid": {
  36871. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36872. "type": "string"
  36873. },
  36874. "orderprice": {
  36875. "description": "委托价格",
  36876. "type": "number"
  36877. },
  36878. "orderqty": {
  36879. "description": "委托数量",
  36880. "type": "number"
  36881. },
  36882. "ordersrc": {
  36883. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36884. "type": "integer"
  36885. },
  36886. "orderstatus": {
  36887. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36888. "type": "integer"
  36889. },
  36890. "ordertime": {
  36891. "description": "委托时间",
  36892. "type": "string"
  36893. },
  36894. "preorderid": {
  36895. "description": "关联预埋单号(止盈止损单时填写)",
  36896. "type": "string"
  36897. },
  36898. "pricemode": {
  36899. "description": "取价方式 - 1:市价 2: 限价",
  36900. "type": "integer"
  36901. },
  36902. "qtydecimalplace": {
  36903. "description": "商品报价小数位",
  36904. "type": "integer"
  36905. },
  36906. "relatedid": {
  36907. "description": "关联单号(交割单)",
  36908. "type": "string"
  36909. },
  36910. "tradedate": {
  36911. "description": "交易日(yyyyMMdd)",
  36912. "type": "string"
  36913. },
  36914. "trademode": {
  36915. "description": "交易模式",
  36916. "type": "integer"
  36917. },
  36918. "tradeqty": {
  36919. "description": "成交数量",
  36920. "type": "number"
  36921. },
  36922. "unfreezecharge": {
  36923. "description": "解冻手续费",
  36924. "type": "number"
  36925. },
  36926. "unfreezemargin": {
  36927. "description": "解冻保证金",
  36928. "type": "number"
  36929. },
  36930. "validtime": {
  36931. "description": "有效期限",
  36932. "type": "string"
  36933. },
  36934. "validtype": {
  36935. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36936. "type": "integer"
  36937. },
  36938. "volumetype": {
  36939. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36940. "type": "integer"
  36941. }
  36942. }
  36943. },
  36944. "order.QueryTradePositionRsp": {
  36945. "type": "object",
  36946. "required": [
  36947. "goodsid"
  36948. ],
  36949. "properties": {
  36950. "accountid": {
  36951. "description": "资金账户",
  36952. "type": "integer"
  36953. },
  36954. "agreeunit": {
  36955. "description": "合约单位",
  36956. "type": "number"
  36957. },
  36958. "averageprice": {
  36959. "description": "持仓均价",
  36960. "type": "number"
  36961. },
  36962. "buyorsell": {
  36963. "description": "方向 - 0:买 1:卖",
  36964. "type": "integer"
  36965. },
  36966. "closetotalqty": {
  36967. "description": "平仓总数量",
  36968. "type": "number"
  36969. },
  36970. "curholderamount": {
  36971. "description": "当前持仓总金额[商品币种]",
  36972. "type": "number"
  36973. },
  36974. "curpositionqty": {
  36975. "description": "当前持仓总数量",
  36976. "type": "number"
  36977. },
  36978. "currencyid": {
  36979. "description": "报价货币ID",
  36980. "type": "integer"
  36981. },
  36982. "curtdposition": {
  36983. "description": "期末今日头寸",
  36984. "type": "number"
  36985. },
  36986. "decimalplace": {
  36987. "description": "报价小数位",
  36988. "type": "integer"
  36989. },
  36990. "enableqty": {
  36991. "description": "可用量",
  36992. "type": "number"
  36993. },
  36994. "fretdposition": {
  36995. "description": "冻结今日头寸",
  36996. "type": "number"
  36997. },
  36998. "frozenqty": {
  36999. "description": "持仓冻结数量",
  37000. "type": "number"
  37001. },
  37002. "goodscode": {
  37003. "description": "商品代码",
  37004. "type": "string"
  37005. },
  37006. "goodsid": {
  37007. "description": "商品Id",
  37008. "type": "integer"
  37009. },
  37010. "goodsname": {
  37011. "description": "商品名称",
  37012. "type": "string"
  37013. },
  37014. "goodunit": {
  37015. "description": "报价单位",
  37016. "type": "string"
  37017. },
  37018. "goodunitid": {
  37019. "description": "报价单位ID",
  37020. "type": "integer"
  37021. },
  37022. "holderamount": {
  37023. "description": "期初持仓总金额[商品币种]",
  37024. "type": "number"
  37025. },
  37026. "lastprice": {
  37027. "description": "最新价",
  37028. "type": "number"
  37029. },
  37030. "marketamount": {
  37031. "description": "市值",
  37032. "type": "number"
  37033. },
  37034. "marketid": {
  37035. "description": "所属市场ID",
  37036. "type": "integer"
  37037. },
  37038. "openreqqty": {
  37039. "description": "开仓申请数量(用于比较最大持仓数量)",
  37040. "type": "number"
  37041. },
  37042. "opentotalqty": {
  37043. "description": "开仓总数量",
  37044. "type": "number"
  37045. },
  37046. "otherfrozenqty": {
  37047. "description": "持仓其他冻结数量(交割冻结)",
  37048. "type": "number"
  37049. },
  37050. "positionpl": {
  37051. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37052. "type": "number"
  37053. },
  37054. "positionplrate": {
  37055. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37056. "type": "number"
  37057. },
  37058. "positionqty": {
  37059. "description": "期初持仓数量",
  37060. "type": "number"
  37061. },
  37062. "qtydecimalplace": {
  37063. "description": "成交量小数位",
  37064. "type": "integer"
  37065. },
  37066. "refgoodscode": {
  37067. "description": "参考商品代码",
  37068. "type": "string"
  37069. },
  37070. "refgoodsid": {
  37071. "description": "参考商品ID",
  37072. "type": "integer"
  37073. },
  37074. "tnqty": {
  37075. "description": "T+N冻结总量",
  37076. "type": "number"
  37077. },
  37078. "tnusedqty": {
  37079. "description": "T+N使用量(可以使用T+N的冻结数量)",
  37080. "type": "number"
  37081. },
  37082. "trademode": {
  37083. "description": "交易模式",
  37084. "type": "integer"
  37085. },
  37086. "tradeproperty": {
  37087. "description": "交易属性",
  37088. "type": "integer"
  37089. },
  37090. "usedmargin": {
  37091. "description": "占用保证金[商品币种]",
  37092. "type": "number"
  37093. }
  37094. }
  37095. },
  37096. "pb.GoodsMarginCfgStruct": {
  37097. "type": "object",
  37098. "properties": {
  37099. "CustomerTypeID": {
  37100. "description": "投资者客户类型",
  37101. "type": "integer"
  37102. },
  37103. "GoodsID": {
  37104. "description": "商品ID",
  37105. "type": "integer"
  37106. },
  37107. "IsDefault": {
  37108. "description": "是否默认标志位",
  37109. "type": "integer"
  37110. },
  37111. "LockMarginValue": {
  37112. "description": "锁仓保证金",
  37113. "type": "number"
  37114. },
  37115. "MarginAlgorithm": {
  37116. "description": "保证金计算方式",
  37117. "type": "integer"
  37118. },
  37119. "MarketMarginValue": {
  37120. "description": "即市保证金值",
  37121. "type": "number"
  37122. },
  37123. "RealMarginAlgorithm": {
  37124. "description": "实付保证金计算方式",
  37125. "type": "integer"
  37126. },
  37127. "RealMarginValue": {
  37128. "description": "实付比例",
  37129. "type": "number"
  37130. },
  37131. "ReckonMarginValue": {
  37132. "description": "结算保证金值",
  37133. "type": "number"
  37134. }
  37135. }
  37136. },
  37137. "quote.HistoryData": {
  37138. "type": "object",
  37139. "properties": {
  37140. "c": {
  37141. "description": "收盘价",
  37142. "type": "number"
  37143. },
  37144. "f": {
  37145. "description": "是否补充数据",
  37146. "type": "boolean"
  37147. },
  37148. "h": {
  37149. "description": "最高价",
  37150. "type": "number"
  37151. },
  37152. "hv": {
  37153. "description": "持仓量",
  37154. "type": "integer"
  37155. },
  37156. "l": {
  37157. "description": "最低价",
  37158. "type": "number"
  37159. },
  37160. "o": {
  37161. "description": "开盘价",
  37162. "type": "number"
  37163. },
  37164. "s": {
  37165. "description": "结算价,日线周期(包括)以上才有",
  37166. "type": "number"
  37167. },
  37168. "ts": {
  37169. "description": "时间",
  37170. "type": "string"
  37171. },
  37172. "tt": {
  37173. "description": "总金额",
  37174. "type": "number"
  37175. },
  37176. "tv": {
  37177. "description": "总量(成交量)",
  37178. "type": "integer"
  37179. }
  37180. }
  37181. },
  37182. "quote.HistoryTikData": {
  37183. "type": "object",
  37184. "properties": {
  37185. "AV": {
  37186. "description": "卖量",
  37187. "type": "integer"
  37188. },
  37189. "Ask": {
  37190. "description": "卖价",
  37191. "type": "number"
  37192. },
  37193. "BV": {
  37194. "description": "买量",
  37195. "type": "integer"
  37196. },
  37197. "Bid": {
  37198. "description": "买价",
  37199. "type": "number"
  37200. },
  37201. "HI": {
  37202. "description": "单笔持仓",
  37203. "type": "integer"
  37204. },
  37205. "HV": {
  37206. "description": "持仓量",
  37207. "type": "integer"
  37208. },
  37209. "PE": {
  37210. "description": "现价",
  37211. "type": "number"
  37212. },
  37213. "TDR": {
  37214. "description": "交易方向,0:买 1:卖",
  37215. "type": "integer"
  37216. },
  37217. "TK": {
  37218. "description": "交易类型",
  37219. "type": "integer"
  37220. },
  37221. "TS": {
  37222. "description": "行情时间文本",
  37223. "type": "string"
  37224. },
  37225. "TT": {
  37226. "description": "现金额",
  37227. "type": "number"
  37228. },
  37229. "Vol": {
  37230. "description": "现量",
  37231. "type": "integer"
  37232. }
  37233. }
  37234. },
  37235. "quote.QueryQuoteDayRsp": {
  37236. "type": "object",
  37237. "properties": {
  37238. "ask": {
  37239. "description": "卖1",
  37240. "type": "number"
  37241. },
  37242. "ask10": {
  37243. "description": "卖10",
  37244. "type": "number"
  37245. },
  37246. "ask2": {
  37247. "description": "卖2",
  37248. "type": "number"
  37249. },
  37250. "ask3": {
  37251. "description": "卖3",
  37252. "type": "number"
  37253. },
  37254. "ask4": {
  37255. "description": "卖4",
  37256. "type": "number"
  37257. },
  37258. "ask5": {
  37259. "description": "卖5",
  37260. "type": "number"
  37261. },
  37262. "ask6": {
  37263. "description": "卖6",
  37264. "type": "number"
  37265. },
  37266. "ask7": {
  37267. "description": "卖7",
  37268. "type": "number"
  37269. },
  37270. "ask8": {
  37271. "description": "卖8",
  37272. "type": "number"
  37273. },
  37274. "ask9": {
  37275. "description": "卖9",
  37276. "type": "number"
  37277. },
  37278. "askorderid": {
  37279. "description": "卖单号1",
  37280. "type": "integer"
  37281. },
  37282. "askorderid2": {
  37283. "description": "卖单号2",
  37284. "type": "integer"
  37285. },
  37286. "askorderid3": {
  37287. "description": "卖单号3",
  37288. "type": "integer"
  37289. },
  37290. "askorderid4": {
  37291. "description": "卖单号4",
  37292. "type": "integer"
  37293. },
  37294. "askorderid5": {
  37295. "description": "卖单号5",
  37296. "type": "integer"
  37297. },
  37298. "askordervolume": {
  37299. "description": "卖单量1",
  37300. "type": "integer"
  37301. },
  37302. "askordervolume10": {
  37303. "description": "卖单量10",
  37304. "type": "integer"
  37305. },
  37306. "askordervolume2": {
  37307. "description": "卖单量2",
  37308. "type": "integer"
  37309. },
  37310. "askordervolume3": {
  37311. "description": "卖单量3",
  37312. "type": "integer"
  37313. },
  37314. "askordervolume4": {
  37315. "description": "卖单量4",
  37316. "type": "integer"
  37317. },
  37318. "askordervolume5": {
  37319. "description": "卖单量5",
  37320. "type": "integer"
  37321. },
  37322. "askordervolume6": {
  37323. "description": "卖单量6",
  37324. "type": "integer"
  37325. },
  37326. "askordervolume7": {
  37327. "description": "卖单量7",
  37328. "type": "integer"
  37329. },
  37330. "askordervolume8": {
  37331. "description": "卖单量8",
  37332. "type": "integer"
  37333. },
  37334. "askordervolume9": {
  37335. "description": "卖单量9",
  37336. "type": "integer"
  37337. },
  37338. "askqueueinfo": {
  37339. "description": "大利市卖港股用",
  37340. "type": "string"
  37341. },
  37342. "askvolume": {
  37343. "description": "卖量1",
  37344. "type": "integer"
  37345. },
  37346. "askvolume10": {
  37347. "description": "卖量10",
  37348. "type": "integer"
  37349. },
  37350. "askvolume2": {
  37351. "description": "卖量2",
  37352. "type": "integer"
  37353. },
  37354. "askvolume3": {
  37355. "description": "卖量3",
  37356. "type": "integer"
  37357. },
  37358. "askvolume4": {
  37359. "description": "卖量4",
  37360. "type": "integer"
  37361. },
  37362. "askvolume5": {
  37363. "description": "卖量5",
  37364. "type": "integer"
  37365. },
  37366. "askvolume6": {
  37367. "description": "卖量6",
  37368. "type": "integer"
  37369. },
  37370. "askvolume7": {
  37371. "description": "卖量7",
  37372. "type": "integer"
  37373. },
  37374. "askvolume8": {
  37375. "description": "卖量8",
  37376. "type": "integer"
  37377. },
  37378. "askvolume9": {
  37379. "description": "卖量9",
  37380. "type": "integer"
  37381. },
  37382. "averageprice": {
  37383. "description": "均价",
  37384. "type": "number"
  37385. },
  37386. "bid": {
  37387. "description": "买1",
  37388. "type": "number"
  37389. },
  37390. "bid10": {
  37391. "description": "买10",
  37392. "type": "number"
  37393. },
  37394. "bid2": {
  37395. "description": "买2",
  37396. "type": "number"
  37397. },
  37398. "bid3": {
  37399. "description": "买3",
  37400. "type": "number"
  37401. },
  37402. "bid4": {
  37403. "description": "买4",
  37404. "type": "number"
  37405. },
  37406. "bid5": {
  37407. "description": "买5",
  37408. "type": "number"
  37409. },
  37410. "bid6": {
  37411. "description": "买6",
  37412. "type": "number"
  37413. },
  37414. "bid7": {
  37415. "description": "买7",
  37416. "type": "number"
  37417. },
  37418. "bid8": {
  37419. "description": "买8",
  37420. "type": "number"
  37421. },
  37422. "bid9": {
  37423. "description": "买9",
  37424. "type": "number"
  37425. },
  37426. "bidorderid": {
  37427. "description": "买单号1",
  37428. "type": "integer"
  37429. },
  37430. "bidorderid2": {
  37431. "description": "买单号2",
  37432. "type": "integer"
  37433. },
  37434. "bidorderid3": {
  37435. "description": "买单号3",
  37436. "type": "integer"
  37437. },
  37438. "bidorderid4": {
  37439. "description": "买单号4",
  37440. "type": "integer"
  37441. },
  37442. "bidorderid5": {
  37443. "description": "买单号5",
  37444. "type": "integer"
  37445. },
  37446. "bidordervolume": {
  37447. "description": "买单量1",
  37448. "type": "integer"
  37449. },
  37450. "bidordervolume10": {
  37451. "description": "买单量10",
  37452. "type": "integer"
  37453. },
  37454. "bidordervolume2": {
  37455. "description": "买单量2",
  37456. "type": "integer"
  37457. },
  37458. "bidordervolume3": {
  37459. "description": "买单量3",
  37460. "type": "integer"
  37461. },
  37462. "bidordervolume4": {
  37463. "description": "买单量4",
  37464. "type": "integer"
  37465. },
  37466. "bidordervolume5": {
  37467. "description": "买单量5",
  37468. "type": "integer"
  37469. },
  37470. "bidordervolume6": {
  37471. "description": "买单量6",
  37472. "type": "integer"
  37473. },
  37474. "bidordervolume7": {
  37475. "description": "买单量7",
  37476. "type": "integer"
  37477. },
  37478. "bidordervolume8": {
  37479. "description": "买单量8",
  37480. "type": "integer"
  37481. },
  37482. "bidordervolume9": {
  37483. "description": "买单量9",
  37484. "type": "integer"
  37485. },
  37486. "bidqueueinfo": {
  37487. "description": "大利市买港股用",
  37488. "type": "string"
  37489. },
  37490. "bidvolume": {
  37491. "description": "买量1",
  37492. "type": "integer"
  37493. },
  37494. "bidvolume10": {
  37495. "description": "买量10",
  37496. "type": "integer"
  37497. },
  37498. "bidvolume2": {
  37499. "description": "买量2",
  37500. "type": "integer"
  37501. },
  37502. "bidvolume3": {
  37503. "description": "买量3",
  37504. "type": "integer"
  37505. },
  37506. "bidvolume4": {
  37507. "description": "买量4",
  37508. "type": "integer"
  37509. },
  37510. "bidvolume5": {
  37511. "description": "买量5",
  37512. "type": "integer"
  37513. },
  37514. "bidvolume6": {
  37515. "description": "买量6",
  37516. "type": "integer"
  37517. },
  37518. "bidvolume7": {
  37519. "description": "买量7",
  37520. "type": "integer"
  37521. },
  37522. "bidvolume8": {
  37523. "description": "买量8",
  37524. "type": "integer"
  37525. },
  37526. "bidvolume9": {
  37527. "description": "买量9",
  37528. "type": "integer"
  37529. },
  37530. "calloptionpremiums": {
  37531. "description": "认购期权1",
  37532. "type": "integer"
  37533. },
  37534. "calloptionpremiums2": {
  37535. "description": "认购期权2",
  37536. "type": "integer"
  37537. },
  37538. "calloptionpremiums3": {
  37539. "description": "认购期权3",
  37540. "type": "integer"
  37541. },
  37542. "calloptionpremiums4": {
  37543. "description": "认购期权4",
  37544. "type": "integer"
  37545. },
  37546. "calloptionpremiums5": {
  37547. "description": "认购期权5",
  37548. "type": "integer"
  37549. },
  37550. "cleartime": {
  37551. "description": "清盘时间",
  37552. "type": "integer"
  37553. },
  37554. "exchangecode": {
  37555. "description": "交易所代码",
  37556. "type": "integer"
  37557. },
  37558. "exchangedate": {
  37559. "description": "交易日",
  37560. "type": "integer"
  37561. },
  37562. "goodscode": {
  37563. "description": "商品代码",
  37564. "type": "string"
  37565. },
  37566. "grepmarketprice": {
  37567. "description": "暗盘价 港股专用",
  37568. "type": "number"
  37569. },
  37570. "highest": {
  37571. "description": "最高价",
  37572. "type": "number"
  37573. },
  37574. "holdincrement": {
  37575. "description": "单笔持仓",
  37576. "type": "integer"
  37577. },
  37578. "holdvolume": {
  37579. "description": "持仓",
  37580. "type": "integer"
  37581. },
  37582. "iep": {
  37583. "description": "平衡价 港股专用",
  37584. "type": "number"
  37585. },
  37586. "iev": {
  37587. "description": "平衡量 港股专用",
  37588. "type": "number"
  37589. },
  37590. "inventory": {
  37591. "description": "库存",
  37592. "type": "integer"
  37593. },
  37594. "iscleared": {
  37595. "description": "是否清盘标志",
  37596. "type": "integer"
  37597. },
  37598. "issettled": {
  37599. "description": "是否结算标志",
  37600. "type": "integer"
  37601. },
  37602. "last": {
  37603. "description": "最新价",
  37604. "type": "number"
  37605. },
  37606. "lastlot": {
  37607. "description": "最新成交手数",
  37608. "type": "integer"
  37609. },
  37610. "lasttime": {
  37611. "description": "行情时间(只有现价变化行情时间才变化)",
  37612. "type": "string"
  37613. },
  37614. "lastturnover": {
  37615. "description": "最新成交金额",
  37616. "type": "number"
  37617. },
  37618. "lastvolume": {
  37619. "description": "最新成交量",
  37620. "type": "integer"
  37621. },
  37622. "limitdown": {
  37623. "description": "跌停价",
  37624. "type": "number"
  37625. },
  37626. "limitup": {
  37627. "description": "涨停价",
  37628. "type": "number"
  37629. },
  37630. "lowest": {
  37631. "description": "最低价",
  37632. "type": "number"
  37633. },
  37634. "nontotalholdervolume": {
  37635. "description": "非交易持仓量",
  37636. "type": "integer"
  37637. },
  37638. "nontotallot": {
  37639. "description": "非交易总手数",
  37640. "type": "integer"
  37641. },
  37642. "nontotalturnover": {
  37643. "description": "非交易总金额",
  37644. "type": "integer"
  37645. },
  37646. "nontotalvolume": {
  37647. "description": "非交易总量",
  37648. "type": "integer"
  37649. },
  37650. "opened": {
  37651. "description": "开盘价",
  37652. "type": "number"
  37653. },
  37654. "opentime": {
  37655. "description": "开盘时间",
  37656. "type": "string"
  37657. },
  37658. "orderid": {
  37659. "description": "序号",
  37660. "type": "integer"
  37661. },
  37662. "preclose": {
  37663. "description": "昨收",
  37664. "type": "number"
  37665. },
  37666. "preholdvolume": {
  37667. "description": "昨持仓",
  37668. "type": "integer"
  37669. },
  37670. "presettle": {
  37671. "description": "昨结价",
  37672. "type": "number"
  37673. },
  37674. "publictradetype": {
  37675. "description": "公共交易标志类型 港股专用",
  37676. "type": "string"
  37677. },
  37678. "putoptionpremiums": {
  37679. "description": "认沽期权1",
  37680. "type": "integer"
  37681. },
  37682. "putoptionpremiums2": {
  37683. "description": "认沽期权2",
  37684. "type": "integer"
  37685. },
  37686. "putoptionpremiums3": {
  37687. "description": "认沽期权3",
  37688. "type": "integer"
  37689. },
  37690. "putoptionpremiums4": {
  37691. "description": "认沽期权4",
  37692. "type": "integer"
  37693. },
  37694. "putoptionpremiums5": {
  37695. "description": "认沽期权5",
  37696. "type": "integer"
  37697. },
  37698. "settle": {
  37699. "description": "结算价",
  37700. "type": "number"
  37701. },
  37702. "strikeprice": {
  37703. "description": "发行价",
  37704. "type": "number"
  37705. },
  37706. "totalaskvolume": {
  37707. "description": "内盘",
  37708. "type": "integer"
  37709. },
  37710. "totalbidvolume": {
  37711. "description": "外盘",
  37712. "type": "integer"
  37713. },
  37714. "totallot": {
  37715. "description": "总手数",
  37716. "type": "integer"
  37717. },
  37718. "totalturnover": {
  37719. "description": "总金额",
  37720. "type": "number"
  37721. },
  37722. "totalvolume": {
  37723. "description": "总量",
  37724. "type": "integer"
  37725. },
  37726. "utclasttime": {
  37727. "description": "utc的行情时间",
  37728. "type": "string"
  37729. }
  37730. }
  37731. },
  37732. "quote.QueryTSDataRsp": {
  37733. "type": "object",
  37734. "properties": {
  37735. "Count": {
  37736. "description": "交易日应有数据个数",
  37737. "type": "integer"
  37738. },
  37739. "decimalPlace": {
  37740. "description": "小数位",
  37741. "type": "integer"
  37742. },
  37743. "endTime": {
  37744. "description": "结束时间",
  37745. "type": "string"
  37746. },
  37747. "goodsCode": {
  37748. "description": "商品代码",
  37749. "type": "string"
  37750. },
  37751. "historyDatas": {
  37752. "description": "历史数据",
  37753. "type": "array",
  37754. "items": {
  37755. "$ref": "#/definitions/quote.HistoryData"
  37756. }
  37757. },
  37758. "outGoodsCode": {
  37759. "description": "外部商品代码",
  37760. "type": "string"
  37761. },
  37762. "preSettle": {
  37763. "description": "昨结价",
  37764. "type": "number"
  37765. },
  37766. "runSteps": {
  37767. "description": "交易日开休市计划",
  37768. "type": "array",
  37769. "items": {
  37770. "$ref": "#/definitions/quote.TSDataRunStep"
  37771. }
  37772. },
  37773. "startTime": {
  37774. "description": "开始时间",
  37775. "type": "string"
  37776. },
  37777. "tradeDate": {
  37778. "description": "交易日",
  37779. "type": "string"
  37780. }
  37781. }
  37782. },
  37783. "quote.TSDataRunStep": {
  37784. "type": "object",
  37785. "properties": {
  37786. "end": {
  37787. "description": "真实结束时间",
  37788. "type": "string"
  37789. },
  37790. "endflag": {
  37791. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  37792. "type": "integer"
  37793. },
  37794. "endtime": {
  37795. "description": "结束时间(HH:mm)",
  37796. "type": "string"
  37797. },
  37798. "endweekday": {
  37799. "description": "结束周几",
  37800. "type": "integer"
  37801. },
  37802. "groupid": {
  37803. "description": "分组ID",
  37804. "type": "integer"
  37805. },
  37806. "runstep": {
  37807. "description": "运行阶段 - 2:连续交易",
  37808. "type": "integer"
  37809. },
  37810. "sectionid": {
  37811. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  37812. "type": "integer"
  37813. },
  37814. "start": {
  37815. "description": "真实开始时间",
  37816. "type": "string"
  37817. },
  37818. "startflag": {
  37819. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  37820. "type": "integer"
  37821. },
  37822. "starttime": {
  37823. "description": "起始时间(HH:mm)",
  37824. "type": "string"
  37825. },
  37826. "startweekday": {
  37827. "description": "起始周几",
  37828. "type": "integer"
  37829. },
  37830. "tradeweekday": {
  37831. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  37832. "type": "integer"
  37833. }
  37834. }
  37835. },
  37836. "szdz.QueryConvertLogRsp": {
  37837. "type": "object",
  37838. "required": [
  37839. "logid"
  37840. ],
  37841. "properties": {
  37842. "accountid": {
  37843. "description": "资金账户ID",
  37844. "type": "integer"
  37845. },
  37846. "clientticket": {
  37847. "description": "客户端流水号",
  37848. "type": "string"
  37849. },
  37850. "converttype": {
  37851. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  37852. "type": "integer"
  37853. },
  37854. "createtime": {
  37855. "description": "记账时间",
  37856. "type": "string"
  37857. },
  37858. "daymaxvalue": {
  37859. "description": "配置当日最大转入限制",
  37860. "type": "number"
  37861. },
  37862. "daymaxvalue2": {
  37863. "description": "配置当日最大转入限制(转入)",
  37864. "type": "number"
  37865. },
  37866. "goodscode": {
  37867. "description": "商品代码",
  37868. "type": "string"
  37869. },
  37870. "goodsname": {
  37871. "description": "商品名称",
  37872. "type": "string"
  37873. },
  37874. "handlestatus": {
  37875. "description": "处理状态",
  37876. "type": "integer"
  37877. },
  37878. "innergoodsid": {
  37879. "description": "内部商品ID",
  37880. "type": "integer"
  37881. },
  37882. "inratio": {
  37883. "description": "配置转入比值",
  37884. "type": "integer"
  37885. },
  37886. "invalue": {
  37887. "description": "目标值",
  37888. "type": "number"
  37889. },
  37890. "logid": {
  37891. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37892. "type": "integer"
  37893. },
  37894. "mobile": {
  37895. "description": "手机号码(加密存储)",
  37896. "type": "string"
  37897. },
  37898. "outergoodscode": {
  37899. "description": "外部商品代码[JD\\PD]",
  37900. "type": "string"
  37901. },
  37902. "outratio": {
  37903. "description": "配置转出比值",
  37904. "type": "integer"
  37905. },
  37906. "outvalue": {
  37907. "description": "源值",
  37908. "type": "number"
  37909. },
  37910. "pddecimalplace": {
  37911. "description": "PD小数位",
  37912. "type": "integer"
  37913. },
  37914. "qty": {
  37915. "description": "数量",
  37916. "type": "string"
  37917. },
  37918. "remark": {
  37919. "description": "备注",
  37920. "type": "string"
  37921. },
  37922. "sessionid": {
  37923. "description": "会话ID",
  37924. "type": "integer"
  37925. },
  37926. "timemaxvalue": {
  37927. "description": "配置单次最大转入限制",
  37928. "type": "number"
  37929. },
  37930. "timemaxvalue2": {
  37931. "description": "配置单次最大转入限制(转入)",
  37932. "type": "number"
  37933. },
  37934. "timeminvalue": {
  37935. "description": "配置单次最小数量限制",
  37936. "type": "number"
  37937. },
  37938. "timeminvalue2": {
  37939. "description": "配置单次最小数量限制(转入)",
  37940. "type": "number"
  37941. },
  37942. "tradedate": {
  37943. "description": "交易日(yyyyMMdd)",
  37944. "type": "string"
  37945. },
  37946. "userid": {
  37947. "description": "用户ID",
  37948. "type": "integer"
  37949. }
  37950. }
  37951. },
  37952. "szdz.QueryGoodsPickupRsp": {
  37953. "type": "object",
  37954. "required": [
  37955. "takeorderid"
  37956. ],
  37957. "properties": {
  37958. "accountid": {
  37959. "description": "账户ID",
  37960. "type": "integer"
  37961. },
  37962. "address": {
  37963. "description": "提货人详细地址",
  37964. "type": "string"
  37965. },
  37966. "auditer": {
  37967. "description": "审核人",
  37968. "type": "integer"
  37969. },
  37970. "audittime": {
  37971. "description": "审核时间",
  37972. "type": "string"
  37973. },
  37974. "cardnum": {
  37975. "description": "提货人证件号码",
  37976. "type": "string"
  37977. },
  37978. "cardtypeid": {
  37979. "description": "提货人证件类型",
  37980. "type": "integer"
  37981. },
  37982. "checkremark": {
  37983. "description": "审核备注",
  37984. "type": "string"
  37985. },
  37986. "goodscode": {
  37987. "description": "商品代码",
  37988. "type": "string"
  37989. },
  37990. "goodsid": {
  37991. "description": "商品ID",
  37992. "type": "integer"
  37993. },
  37994. "goodsname": {
  37995. "description": "商品名称",
  37996. "type": "string"
  37997. },
  37998. "handlestatus": {
  37999. "description": "处理状态",
  38000. "type": "integer"
  38001. },
  38002. "marketid": {
  38003. "description": "市场ID",
  38004. "type": "integer"
  38005. },
  38006. "phonenum": {
  38007. "description": "提货人联系方式",
  38008. "type": "string"
  38009. },
  38010. "qty": {
  38011. "description": "提货数量",
  38012. "type": "number"
  38013. },
  38014. "recivername": {
  38015. "description": "提货人姓名",
  38016. "type": "string"
  38017. },
  38018. "reqtime": {
  38019. "description": "更新时间",
  38020. "type": "string"
  38021. },
  38022. "takemode": {
  38023. "description": "提货方式 - 2:自提 3:配送",
  38024. "type": "integer"
  38025. },
  38026. "takeorderid": {
  38027. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38028. "type": "string"
  38029. },
  38030. "takeorderstatus": {
  38031. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38032. "type": "integer"
  38033. },
  38034. "takeremark": {
  38035. "description": "提货备注",
  38036. "type": "string"
  38037. },
  38038. "tradedate": {
  38039. "description": "交易日(yyyyMMdd)",
  38040. "type": "string"
  38041. },
  38042. "userid": {
  38043. "description": "用户ID",
  38044. "type": "integer"
  38045. }
  38046. }
  38047. },
  38048. "szdz.QueryRecieptOrderRsp": {
  38049. "type": "object",
  38050. "required": [
  38051. "ordertime"
  38052. ],
  38053. "properties": {
  38054. "accountName": {
  38055. "description": "所属账号名称(已脱敏)",
  38056. "type": "string"
  38057. },
  38058. "accountid": {
  38059. "description": "资金账号",
  38060. "type": "integer"
  38061. },
  38062. "buyorsell": {
  38063. "description": "方向 - 0:买 1:卖",
  38064. "type": "integer"
  38065. },
  38066. "enableqty": {
  38067. "description": "可摘数量",
  38068. "type": "integer"
  38069. },
  38070. "goodscode": {
  38071. "description": "商品代码",
  38072. "type": "string"
  38073. },
  38074. "goodsid": {
  38075. "description": "商品ID",
  38076. "type": "integer"
  38077. },
  38078. "goodsname": {
  38079. "description": "商品名称",
  38080. "type": "string"
  38081. },
  38082. "orderid": {
  38083. "description": "委托单号",
  38084. "type": "string"
  38085. },
  38086. "orderprice": {
  38087. "description": "委托价格",
  38088. "type": "number"
  38089. },
  38090. "ordertime": {
  38091. "description": "委托时间",
  38092. "type": "string"
  38093. },
  38094. "tradedate": {
  38095. "description": "交易日(yyyyMMdd)",
  38096. "type": "string"
  38097. }
  38098. }
  38099. },
  38100. "szdz.QuerySZDZTradePositionRsp": {
  38101. "type": "object",
  38102. "properties": {
  38103. "accountid": {
  38104. "description": "账号Id",
  38105. "type": "integer"
  38106. },
  38107. "agreeunit": {
  38108. "description": "合约单位",
  38109. "type": "number"
  38110. },
  38111. "averageprice": {
  38112. "description": "持仓均价",
  38113. "type": "number"
  38114. },
  38115. "buyorsell": {
  38116. "description": "方向 - 0:买 1:卖",
  38117. "type": "integer"
  38118. },
  38119. "closetotalqty": {
  38120. "description": "平仓总数量",
  38121. "type": "integer"
  38122. },
  38123. "curholderamount": {
  38124. "description": "当前持仓总金额",
  38125. "type": "number"
  38126. },
  38127. "curpositionqty": {
  38128. "description": "当前持仓总数量",
  38129. "type": "integer"
  38130. },
  38131. "currencyid": {
  38132. "description": "报价货币ID",
  38133. "type": "integer"
  38134. },
  38135. "curtdposition": {
  38136. "description": "期末今日头寸",
  38137. "type": "integer"
  38138. },
  38139. "decimalplace": {
  38140. "description": "报价小数位",
  38141. "type": "integer"
  38142. },
  38143. "enableqty": {
  38144. "description": "可用量",
  38145. "type": "integer"
  38146. },
  38147. "fretdposition": {
  38148. "description": "冻结今日头寸",
  38149. "type": "integer"
  38150. },
  38151. "frozenqty": {
  38152. "description": "持仓冻结数量",
  38153. "type": "integer"
  38154. },
  38155. "goodscode": {
  38156. "description": "商品代码(内部)",
  38157. "type": "string"
  38158. },
  38159. "goodsid": {
  38160. "description": "商品Id",
  38161. "type": "integer"
  38162. },
  38163. "goodsname": {
  38164. "description": "商品名称",
  38165. "type": "string"
  38166. },
  38167. "goodunit": {
  38168. "description": "报价单位",
  38169. "type": "string"
  38170. },
  38171. "goodunitid": {
  38172. "description": "报价单位ID",
  38173. "type": "integer"
  38174. },
  38175. "holderamount": {
  38176. "description": "期初持仓总金额",
  38177. "type": "number"
  38178. },
  38179. "marketid": {
  38180. "description": "市场ID",
  38181. "type": "integer"
  38182. },
  38183. "openreqqty": {
  38184. "description": "开仓申请数量",
  38185. "type": "integer"
  38186. },
  38187. "opentotalqty": {
  38188. "description": "开仓总数量",
  38189. "type": "integer"
  38190. },
  38191. "otherfrozenqty": {
  38192. "description": "持仓其他冻结数量(交割冻结)",
  38193. "type": "integer"
  38194. },
  38195. "positionqty": {
  38196. "description": "期初持仓数量",
  38197. "type": "integer"
  38198. },
  38199. "szdz3freezqty": {
  38200. "description": "尚志大宗转换冻结总数量",
  38201. "type": "integer"
  38202. },
  38203. "tnqty": {
  38204. "description": "T+N冻结总量",
  38205. "type": "integer"
  38206. },
  38207. "tnusedqty": {
  38208. "description": "T+N使用量",
  38209. "type": "integer"
  38210. },
  38211. "trademode": {
  38212. "description": "交易模式",
  38213. "type": "integer"
  38214. },
  38215. "usedmargin": {
  38216. "description": "占用保证金",
  38217. "type": "number"
  38218. }
  38219. }
  38220. },
  38221. "taaccount.QueryAmountLogRsp": {
  38222. "type": "object",
  38223. "required": [
  38224. "accountid",
  38225. "amount",
  38226. "amountadjusttype",
  38227. "autoid",
  38228. "balance",
  38229. "createtime",
  38230. "currentbalance",
  38231. "operatetype"
  38232. ],
  38233. "properties": {
  38234. "OPERATETYPENAME": {
  38235. "description": "资金操作类型名称",
  38236. "type": "string"
  38237. },
  38238. "accountid": {
  38239. "description": "资金账户ID",
  38240. "type": "integer"
  38241. },
  38242. "agoodscode": {
  38243. "description": "竞拍商品代码",
  38244. "type": "string"
  38245. },
  38246. "agoodsname": {
  38247. "description": "竞拍商品名称",
  38248. "type": "string"
  38249. },
  38250. "amount": {
  38251. "description": "资金金额",
  38252. "type": "number"
  38253. },
  38254. "amountadjusttype": {
  38255. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38256. "type": "integer"
  38257. },
  38258. "autoid": {
  38259. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38260. "type": "integer"
  38261. },
  38262. "balance": {
  38263. "description": "期初余额",
  38264. "type": "number"
  38265. },
  38266. "businesscode": {
  38267. "description": "业务编号",
  38268. "type": "integer"
  38269. },
  38270. "createtime": {
  38271. "description": "发生时间",
  38272. "type": "string"
  38273. },
  38274. "currencyid": {
  38275. "description": "币种ID",
  38276. "type": "integer"
  38277. },
  38278. "currentbalance": {
  38279. "description": "期末余额(变动后金额)",
  38280. "type": "number"
  38281. },
  38282. "dgoodscode": {
  38283. "description": "交割商品代码",
  38284. "type": "string"
  38285. },
  38286. "dgoodsname": {
  38287. "description": "交割商品名称",
  38288. "type": "string"
  38289. },
  38290. "goodscode": {
  38291. "description": "商品代码",
  38292. "type": "string"
  38293. },
  38294. "goodsid": {
  38295. "description": "商品ID",
  38296. "type": "integer"
  38297. },
  38298. "goodsname": {
  38299. "description": "商品名称",
  38300. "type": "string"
  38301. },
  38302. "marketid": {
  38303. "description": "市场ID",
  38304. "type": "integer"
  38305. },
  38306. "marketname": {
  38307. "description": "市场名称",
  38308. "type": "string"
  38309. },
  38310. "moneyticket": {
  38311. "description": "资金流水号:银行端流水号",
  38312. "type": "integer"
  38313. },
  38314. "operatetype": {
  38315. "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:营销收款",
  38316. "type": "integer"
  38317. },
  38318. "relationorderid": {
  38319. "description": "关联单号",
  38320. "type": "string"
  38321. },
  38322. "remark": {
  38323. "description": "备注",
  38324. "type": "string"
  38325. },
  38326. "trademode": {
  38327. "description": "交易模式",
  38328. "type": "integer"
  38329. }
  38330. }
  38331. },
  38332. "taaccount.QueryHisAmountLogRsp": {
  38333. "type": "object",
  38334. "required": [
  38335. "accountid",
  38336. "amount",
  38337. "amountadjusttype",
  38338. "autoid",
  38339. "balance",
  38340. "createtime",
  38341. "currentbalance",
  38342. "histradedate",
  38343. "operatetype"
  38344. ],
  38345. "properties": {
  38346. "OPERATETYPENAME": {
  38347. "description": "资金操作类型名称",
  38348. "type": "string"
  38349. },
  38350. "accountid": {
  38351. "description": "资金账户ID",
  38352. "type": "integer"
  38353. },
  38354. "agoodscode": {
  38355. "description": "竞拍商品代码",
  38356. "type": "string"
  38357. },
  38358. "agoodsname": {
  38359. "description": "竞拍商品名称",
  38360. "type": "string"
  38361. },
  38362. "amount": {
  38363. "description": "资金金额",
  38364. "type": "number"
  38365. },
  38366. "amountadjusttype": {
  38367. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38368. "type": "integer"
  38369. },
  38370. "autoid": {
  38371. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38372. "type": "integer"
  38373. },
  38374. "balance": {
  38375. "description": "期初余额",
  38376. "type": "number"
  38377. },
  38378. "businesscode": {
  38379. "description": "业务编号",
  38380. "type": "integer"
  38381. },
  38382. "createtime": {
  38383. "description": "发生时间",
  38384. "type": "string"
  38385. },
  38386. "currencyid": {
  38387. "description": "币种ID",
  38388. "type": "integer"
  38389. },
  38390. "currentbalance": {
  38391. "description": "期末余额(变动后金额)",
  38392. "type": "number"
  38393. },
  38394. "dgoodscode": {
  38395. "description": "交割商品代码",
  38396. "type": "string"
  38397. },
  38398. "dgoodsname": {
  38399. "description": "交割商品名称",
  38400. "type": "string"
  38401. },
  38402. "goodscode": {
  38403. "description": "商品代码",
  38404. "type": "string"
  38405. },
  38406. "goodsid": {
  38407. "description": "商品ID",
  38408. "type": "integer"
  38409. },
  38410. "goodsname": {
  38411. "description": "商品名称",
  38412. "type": "string"
  38413. },
  38414. "histradedate": {
  38415. "description": "历史交易日",
  38416. "type": "string"
  38417. },
  38418. "isvaliddata": {
  38419. "description": "是否有效 - 0:无效 1:有效",
  38420. "type": "integer"
  38421. },
  38422. "marketid": {
  38423. "description": "市场ID",
  38424. "type": "integer"
  38425. },
  38426. "marketname": {
  38427. "description": "市场名称",
  38428. "type": "string"
  38429. },
  38430. "moneyticket": {
  38431. "description": "资金流水号:银行端流水号",
  38432. "type": "integer"
  38433. },
  38434. "operatetype": {
  38435. "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:营销收款",
  38436. "type": "integer"
  38437. },
  38438. "relationorderid": {
  38439. "description": "关联单号",
  38440. "type": "string"
  38441. },
  38442. "remark": {
  38443. "description": "备注",
  38444. "type": "string"
  38445. },
  38446. "trademode": {
  38447. "description": "交易模式",
  38448. "type": "integer"
  38449. }
  38450. }
  38451. },
  38452. "trade.QueryRecieptOrderRsp": {
  38453. "type": "object",
  38454. "required": [
  38455. "ordertime"
  38456. ],
  38457. "properties": {
  38458. "accountName": {
  38459. "description": "所属账号名称(已脱敏)",
  38460. "type": "string"
  38461. },
  38462. "accountid": {
  38463. "description": "资金账号",
  38464. "type": "integer"
  38465. },
  38466. "buyorsell": {
  38467. "description": "方向 - 0:买 1:卖",
  38468. "type": "integer"
  38469. },
  38470. "enableqty": {
  38471. "description": "可摘数量",
  38472. "type": "integer"
  38473. },
  38474. "goodscode": {
  38475. "description": "商品代码",
  38476. "type": "string"
  38477. },
  38478. "goodsid": {
  38479. "description": "商品ID",
  38480. "type": "integer"
  38481. },
  38482. "goodsname": {
  38483. "description": "商品名称",
  38484. "type": "string"
  38485. },
  38486. "orderid": {
  38487. "description": "委托单号",
  38488. "type": "string"
  38489. },
  38490. "orderprice": {
  38491. "description": "委托价格",
  38492. "type": "number"
  38493. },
  38494. "ordertime": {
  38495. "description": "委托时间",
  38496. "type": "string"
  38497. },
  38498. "tradedate": {
  38499. "description": "交易日(yyyyMMdd)",
  38500. "type": "string"
  38501. }
  38502. }
  38503. },
  38504. "user.LoginQueryRsp": {
  38505. "type": "object",
  38506. "properties": {
  38507. "areaRoles": {
  38508. "description": "所属角色信息",
  38509. "type": "array",
  38510. "items": {
  38511. "$ref": "#/definitions/models.Arearole"
  38512. }
  38513. },
  38514. "externalExchanges": {
  38515. "description": "外部交易所",
  38516. "type": "array",
  38517. "items": {
  38518. "$ref": "#/definitions/models.Externalexchange"
  38519. }
  38520. },
  38521. "goodsgroups": {
  38522. "description": "商品组",
  38523. "type": "array",
  38524. "items": {
  38525. "$ref": "#/definitions/models.Goodsgroup"
  38526. }
  38527. },
  38528. "loginAccount": {
  38529. "description": "登录账号",
  38530. "$ref": "#/definitions/models.Loginaccount"
  38531. },
  38532. "markets": {
  38533. "description": "市场",
  38534. "type": "array",
  38535. "items": {
  38536. "$ref": "#/definitions/models.Market"
  38537. }
  38538. },
  38539. "systemParams": {
  38540. "description": "系统参数",
  38541. "type": "array",
  38542. "items": {
  38543. "$ref": "#/definitions/models.Systemparam"
  38544. }
  38545. },
  38546. "userAccount": {
  38547. "description": "用户账号",
  38548. "$ref": "#/definitions/models.Useraccount"
  38549. },
  38550. "userInfo": {
  38551. "description": "用户信息",
  38552. "$ref": "#/definitions/models.Userinfo"
  38553. },
  38554. "username": {
  38555. "description": "用户姓名",
  38556. "type": "string"
  38557. }
  38558. }
  38559. }
  38560. },
  38561. "securityDefinitions": {
  38562. "ApiKeyAuth": {
  38563. "type": "apiKey",
  38564. "name": "Authorization",
  38565. "in": "header"
  38566. },
  38567. "Group": {
  38568. "type": "apiKey",
  38569. "name": "Group",
  38570. "in": "header"
  38571. },
  38572. "LoginID": {
  38573. "type": "apiKey",
  38574. "name": "LoginID",
  38575. "in": "header"
  38576. }
  38577. }
  38578. }`
  38579. // SwaggerInfo holds exported Swagger Info so clients can modify it
  38580. var SwaggerInfo = &swag.Spec{
  38581. Version: "1.0",
  38582. Host: "",
  38583. BasePath: "",
  38584. Schemes: []string{},
  38585. Title: "MTP2.0 查询服务 API",
  38586. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  38587. InfoInstanceName: "swagger",
  38588. SwaggerTemplate: docTemplate,
  38589. }
  38590. func init() {
  38591. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  38592. }