docs.go 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884
  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/QueryRates": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. },
  970. {
  971. "LoginID": []
  972. },
  973. {
  974. "Group": []
  975. }
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "通用服务"
  982. ],
  983. "summary": "查询汇率信息",
  984. "parameters": [
  985. {
  986. "type": "integer",
  987. "description": "页码",
  988. "name": "page",
  989. "in": "query"
  990. },
  991. {
  992. "type": "integer",
  993. "description": "每页条数",
  994. "name": "pagesize",
  995. "in": "query"
  996. },
  997. {
  998. "type": "integer",
  999. "description": "源币种ID",
  1000. "name": "oricurrencyid",
  1001. "in": "query"
  1002. },
  1003. {
  1004. "type": "integer",
  1005. "description": "目标币种ID",
  1006. "name": "descurrencyid",
  1007. "in": "query"
  1008. }
  1009. ],
  1010. "responses": {
  1011. "200": {
  1012. "description": "OK",
  1013. "schema": {
  1014. "type": "array",
  1015. "items": {
  1016. "$ref": "#/definitions/models.Exchangerateconfig"
  1017. }
  1018. }
  1019. },
  1020. "500": {
  1021. "description": "Internal Server Error",
  1022. "schema": {
  1023. "$ref": "#/definitions/app.Response"
  1024. }
  1025. }
  1026. }
  1027. }
  1028. },
  1029. "/Common/QueryTableDefine": {
  1030. "get": {
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "通用服务"
  1036. ],
  1037. "summary": "查询交易端列表头信息",
  1038. "parameters": [
  1039. {
  1040. "type": "string",
  1041. "description": "表key",
  1042. "name": "tableKey",
  1043. "in": "query"
  1044. },
  1045. {
  1046. "type": "integer",
  1047. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1048. "name": "tableType",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Common/QueryTraderMenu": {
  1069. "get": {
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "通用服务"
  1075. ],
  1076. "summary": "查询交易端菜单",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "登录账号",
  1081. "name": "loginid",
  1082. "in": "query",
  1083. "required": true
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1091. }
  1092. },
  1093. "500": {
  1094. "description": "Internal Server Error",
  1095. "schema": {
  1096. "$ref": "#/definitions/app.Response"
  1097. }
  1098. }
  1099. }
  1100. }
  1101. },
  1102. "/Common/UpdateNewFuncmenu": {
  1103. "put": {
  1104. "security": [
  1105. {
  1106. "ApiKeyAuth": []
  1107. }
  1108. ],
  1109. "consumes": [
  1110. "application/json"
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "通用服务"
  1117. ],
  1118. "summary": "更新菜单表数据",
  1119. "parameters": [
  1120. {
  1121. "description": "菜单表数据",
  1122. "name": "data",
  1123. "in": "body",
  1124. "required": true,
  1125. "schema": {
  1126. "$ref": "#/definitions/models.NewFuncmenulist"
  1127. }
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "$ref": "#/definitions/app.Response"
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Delivery/QueryDeliveryRelation": {
  1147. "get": {
  1148. "security": [
  1149. {
  1150. "ApiKeyAuth": []
  1151. }
  1152. ],
  1153. "produces": [
  1154. "application/json"
  1155. ],
  1156. "tags": [
  1157. "交割服务"
  1158. ],
  1159. "summary": "查询商品交割关系表",
  1160. "parameters": [
  1161. {
  1162. "type": "integer",
  1163. "description": "商品ID",
  1164. "name": "goodsid",
  1165. "in": "query"
  1166. },
  1167. {
  1168. "type": "integer",
  1169. "description": "品种ID",
  1170. "name": "deliverygoodsid",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "市场ID",
  1176. "name": "marketid",
  1177. "in": "query"
  1178. }
  1179. ],
  1180. "responses": {
  1181. "200": {
  1182. "description": "OK",
  1183. "schema": {
  1184. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/GetErmcpGoods": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询企业风管期货商品信息",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1214. "name": "userid",
  1215. "in": "query"
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1220. "name": "lastUpdateTime",
  1221. "in": "query"
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "$ref": "#/definitions/models.ErmcpGoods"
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1241. "get": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "企业风险管理(app)"
  1252. ],
  1253. "summary": "查询企业风管期货主力、次主力商品信息",
  1254. "parameters": [
  1255. {
  1256. "type": "string",
  1257. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1258. "name": "sortIndex",
  1259. "in": "query"
  1260. }
  1261. ],
  1262. "responses": {
  1263. "200": {
  1264. "description": "OK",
  1265. "schema": {
  1266. "$ref": "#/definitions/models.Goodssortbypreposition"
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/GetErmcpOutAccountStatus": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "获取目标登录账号当前对冲账号在线状态",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "登录账号",
  1296. "name": "loginID",
  1297. "in": "query",
  1298. "required": true
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1306. }
  1307. },
  1308. "500": {
  1309. "description": "Internal Server Error",
  1310. "schema": {
  1311. "$ref": "#/definitions/app.Response"
  1312. }
  1313. }
  1314. }
  1315. }
  1316. },
  1317. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1318. "get": {
  1319. "security": [
  1320. {
  1321. "ApiKeyAuth": []
  1322. }
  1323. ],
  1324. "produces": [
  1325. "application/json"
  1326. ],
  1327. "tags": [
  1328. "企业风险管理(app)"
  1329. ],
  1330. "summary": "获取企业风管终端权限",
  1331. "parameters": [
  1332. {
  1333. "type": "integer",
  1334. "description": "登录账号",
  1335. "name": "loginID",
  1336. "in": "query",
  1337. "required": true
  1338. }
  1339. ],
  1340. "responses": {
  1341. "200": {
  1342. "description": "OK",
  1343. "schema": {
  1344. "$ref": "#/definitions/models.Funcmenulist"
  1345. }
  1346. },
  1347. "500": {
  1348. "description": "Internal Server Error",
  1349. "schema": {
  1350. "$ref": "#/definitions/app.Response"
  1351. }
  1352. }
  1353. }
  1354. }
  1355. },
  1356. "/Ermcp/QueryAccMgrBizGroupSet": {
  1357. "get": {
  1358. "security": [
  1359. {
  1360. "ApiKeyAuth": []
  1361. }
  1362. ],
  1363. "produces": [
  1364. "application/json"
  1365. ],
  1366. "tags": [
  1367. "企业风险管理(app)"
  1368. ],
  1369. "summary": "查询业务类型分组(账户管理/账户设置)",
  1370. "parameters": [
  1371. {
  1372. "type": "integer",
  1373. "description": "用户ID",
  1374. "name": "userid",
  1375. "in": "query",
  1376. "required": true
  1377. },
  1378. {
  1379. "type": "integer",
  1380. "description": "现货商品id",
  1381. "name": "deliverygoodsid",
  1382. "in": "query"
  1383. }
  1384. ],
  1385. "responses": {
  1386. "200": {
  1387. "description": "OK",
  1388. "schema": {
  1389. "type": "array",
  1390. "items": {
  1391. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1392. }
  1393. }
  1394. },
  1395. "500": {
  1396. "description": "Internal Server Error",
  1397. "schema": {
  1398. "$ref": "#/definitions/app.Response"
  1399. }
  1400. }
  1401. }
  1402. }
  1403. },
  1404. "/Ermcp/QueryAccMgrLoginUser": {
  1405. "get": {
  1406. "security": [
  1407. {
  1408. "ApiKeyAuth": []
  1409. }
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "企业风险管理(app)"
  1416. ],
  1417. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1418. "parameters": [
  1419. {
  1420. "type": "integer",
  1421. "description": "用户ID",
  1422. "name": "userid",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": "用户类型 2-机构 7-企业成员",
  1429. "name": "usertype",
  1430. "in": "query"
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1435. "name": "querytype",
  1436. "in": "query",
  1437. "required": true
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "type": "array",
  1445. "items": {
  1446. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1447. }
  1448. }
  1449. },
  1450. "500": {
  1451. "description": "Internal Server Error",
  1452. "schema": {
  1453. "$ref": "#/definitions/app.Response"
  1454. }
  1455. }
  1456. }
  1457. }
  1458. },
  1459. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1460. "get": {
  1461. "security": [
  1462. {
  1463. "ApiKeyAuth": []
  1464. }
  1465. ],
  1466. "produces": [
  1467. "application/json"
  1468. ],
  1469. "tags": [
  1470. "企业风险管理(app)"
  1471. ],
  1472. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1473. "parameters": [
  1474. {
  1475. "type": "integer",
  1476. "description": "用户ID",
  1477. "name": "userid",
  1478. "in": "query"
  1479. },
  1480. {
  1481. "type": "integer",
  1482. "description": "主账号id",
  1483. "name": "accountid",
  1484. "in": "query"
  1485. }
  1486. ],
  1487. "responses": {
  1488. "200": {
  1489. "description": "OK",
  1490. "schema": {
  1491. "type": "array",
  1492. "items": {
  1493. "$ref": "#/definitions/models.MainAccountInfo"
  1494. }
  1495. }
  1496. },
  1497. "500": {
  1498. "description": "Internal Server Error",
  1499. "schema": {
  1500. "$ref": "#/definitions/app.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/Ermcp/QueryAccMgrRole": {
  1507. "get": {
  1508. "security": [
  1509. {
  1510. "ApiKeyAuth": []
  1511. }
  1512. ],
  1513. "produces": [
  1514. "application/json"
  1515. ],
  1516. "tags": [
  1517. "企业风险管理(app)"
  1518. ],
  1519. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1520. "parameters": [
  1521. {
  1522. "type": "integer",
  1523. "description": "用户ID",
  1524. "name": "userid",
  1525. "in": "query",
  1526. "required": true
  1527. }
  1528. ],
  1529. "responses": {
  1530. "200": {
  1531. "description": "OK",
  1532. "schema": {
  1533. "type": "array",
  1534. "items": {
  1535. "$ref": "#/definitions/models.ErmcpRole"
  1536. }
  1537. }
  1538. },
  1539. "500": {
  1540. "description": "Internal Server Error",
  1541. "schema": {
  1542. "$ref": "#/definitions/app.Response"
  1543. }
  1544. }
  1545. }
  1546. }
  1547. },
  1548. "/Ermcp/QueryAccMgrRoleMenu": {
  1549. "get": {
  1550. "security": [
  1551. {
  1552. "ApiKeyAuth": []
  1553. }
  1554. ],
  1555. "produces": [
  1556. "application/json"
  1557. ],
  1558. "tags": [
  1559. "企业风险管理(app)"
  1560. ],
  1561. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1562. "parameters": [
  1563. {
  1564. "type": "integer",
  1565. "description": "用户ID",
  1566. "name": "userid",
  1567. "in": "query",
  1568. "required": true
  1569. },
  1570. {
  1571. "type": "string",
  1572. "description": "角色id(可多个,逗号隔开)",
  1573. "name": "roleid",
  1574. "in": "query"
  1575. },
  1576. {
  1577. "type": "integer",
  1578. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1579. "name": "menutype",
  1580. "in": "query"
  1581. }
  1582. ],
  1583. "responses": {
  1584. "200": {
  1585. "description": "OK",
  1586. "schema": {
  1587. "type": "array",
  1588. "items": {
  1589. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1590. }
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "企业风险管理(app)"
  1614. ],
  1615. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1616. "parameters": [
  1617. {
  1618. "type": "integer",
  1619. "description": "用户ID",
  1620. "name": "userid",
  1621. "in": "query",
  1622. "required": true
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "账号id",
  1627. "name": "accountid",
  1628. "in": "query"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "type": "array",
  1636. "items": {
  1637. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1638. }
  1639. }
  1640. },
  1641. "500": {
  1642. "description": "Internal Server Error",
  1643. "schema": {
  1644. "$ref": "#/definitions/app.Response"
  1645. }
  1646. }
  1647. }
  1648. }
  1649. },
  1650. "/Ermcp/QueryAccMgrTaaccount": {
  1651. "get": {
  1652. "security": [
  1653. {
  1654. "ApiKeyAuth": []
  1655. }
  1656. ],
  1657. "produces": [
  1658. "application/json"
  1659. ],
  1660. "tags": [
  1661. "企业风险管理(app)"
  1662. ],
  1663. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1664. "parameters": [
  1665. {
  1666. "type": "integer",
  1667. "description": "用户ID",
  1668. "name": "userid",
  1669. "in": "query",
  1670. "required": true
  1671. }
  1672. ],
  1673. "responses": {
  1674. "200": {
  1675. "description": "OK",
  1676. "schema": {
  1677. "type": "array",
  1678. "items": {
  1679. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1680. }
  1681. }
  1682. },
  1683. "500": {
  1684. "description": "Internal Server Error",
  1685. "schema": {
  1686. "$ref": "#/definitions/app.Response"
  1687. }
  1688. }
  1689. }
  1690. }
  1691. },
  1692. "/Ermcp/QueryAvaildGoodsGroup": {
  1693. "get": {
  1694. "security": [
  1695. {
  1696. "ApiKeyAuth": []
  1697. }
  1698. ],
  1699. "produces": [
  1700. "application/json"
  1701. ],
  1702. "tags": [
  1703. "企业风险管理(app)"
  1704. ],
  1705. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1706. "parameters": [
  1707. {
  1708. "type": "integer",
  1709. "description": "所属机构ID",
  1710. "name": "userid",
  1711. "in": "query",
  1712. "required": true
  1713. }
  1714. ],
  1715. "responses": {
  1716. "200": {
  1717. "description": "OK",
  1718. "schema": {
  1719. "type": "array",
  1720. "items": {
  1721. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1722. }
  1723. }
  1724. },
  1725. "500": {
  1726. "description": "Internal Server Error",
  1727. "schema": {
  1728. "$ref": "#/definitions/app.Response"
  1729. }
  1730. }
  1731. }
  1732. }
  1733. },
  1734. "/Ermcp/QueryBusinessDj": {
  1735. "get": {
  1736. "security": [
  1737. {
  1738. "ApiKeyAuth": []
  1739. }
  1740. ],
  1741. "produces": [
  1742. "application/json"
  1743. ],
  1744. "tags": [
  1745. "企业风险管理(app)"
  1746. ],
  1747. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1748. "parameters": [
  1749. {
  1750. "type": "integer",
  1751. "description": "用户ID",
  1752. "name": "UserId",
  1753. "in": "query",
  1754. "required": true
  1755. },
  1756. {
  1757. "type": "integer",
  1758. "description": "用户类型 2-机构 7-企业成员",
  1759. "name": "usertype",
  1760. "in": "query"
  1761. },
  1762. {
  1763. "type": "string",
  1764. "description": "现货合同ID, 不填则查所有",
  1765. "name": "relatedid",
  1766. "in": "query"
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1771. "name": "applystatus",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessFp": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "integer",
  1818. "description": "用户类型 2-机构 7-企业成员",
  1819. "name": "usertype",
  1820. "in": "query"
  1821. },
  1822. {
  1823. "type": "string",
  1824. "description": "现货合同ID, 不填则查所有",
  1825. "name": "relatedid",
  1826. "in": "query"
  1827. },
  1828. {
  1829. "type": "string",
  1830. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1831. "name": "applystatus",
  1832. "in": "query"
  1833. }
  1834. ],
  1835. "responses": {
  1836. "200": {
  1837. "description": "OK",
  1838. "schema": {
  1839. "type": "array",
  1840. "items": {
  1841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1842. }
  1843. }
  1844. },
  1845. "500": {
  1846. "description": "Internal Server Error",
  1847. "schema": {
  1848. "$ref": "#/definitions/app.Response"
  1849. }
  1850. }
  1851. }
  1852. }
  1853. },
  1854. "/Ermcp/QueryBusinessJs": {
  1855. "get": {
  1856. "security": [
  1857. {
  1858. "ApiKeyAuth": []
  1859. }
  1860. ],
  1861. "produces": [
  1862. "application/json"
  1863. ],
  1864. "tags": [
  1865. "企业风险管理(app)"
  1866. ],
  1867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1868. "parameters": [
  1869. {
  1870. "type": "integer",
  1871. "description": "用户ID",
  1872. "name": "UserId",
  1873. "in": "query",
  1874. "required": true
  1875. },
  1876. {
  1877. "type": "integer",
  1878. "description": "用户类型 2-机构 7-企业成员",
  1879. "name": "usertype",
  1880. "in": "query"
  1881. },
  1882. {
  1883. "type": "string",
  1884. "description": "现货合同ID, 不填则查所有",
  1885. "name": "relatedid",
  1886. "in": "query"
  1887. },
  1888. {
  1889. "type": "string",
  1890. "description": "操作申请id",
  1891. "name": "operateapplyid",
  1892. "in": "query"
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1897. "name": "applystatus",
  1898. "in": "query"
  1899. }
  1900. ],
  1901. "responses": {
  1902. "200": {
  1903. "description": "OK",
  1904. "schema": {
  1905. "type": "array",
  1906. "items": {
  1907. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1908. }
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/Ermcp/QueryBusinessJsEx": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "企业风险管理(app)"
  1932. ],
  1933. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1934. "parameters": [
  1935. {
  1936. "type": "integer",
  1937. "description": "用户ID",
  1938. "name": "UserId",
  1939. "in": "query",
  1940. "required": true
  1941. },
  1942. {
  1943. "type": "integer",
  1944. "description": "用户类型 2-机构 7-企业成员",
  1945. "name": "usertype",
  1946. "in": "query"
  1947. },
  1948. {
  1949. "type": "string",
  1950. "description": "现货合同ID, 不填则查所有",
  1951. "name": "relatedid",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1957. "name": "applystatus",
  1958. "in": "query"
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryBusinessKx": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "UserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "用户类型 2-机构 7-企业成员",
  2005. "name": "usertype",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "string",
  2010. "description": "现货合同ID, 不填则查所有",
  2011. "name": "relatedid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2017. "name": "applystatus",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryChangeLog": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询变更记录",
  2054. "parameters": [
  2055. {
  2056. "type": "string",
  2057. "description": "合同ID",
  2058. "name": "RelatedId",
  2059. "in": "query",
  2060. "required": true
  2061. }
  2062. ],
  2063. "responses": {
  2064. "200": {
  2065. "description": "OK",
  2066. "schema": {
  2067. "type": "array",
  2068. "items": {
  2069. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2070. }
  2071. }
  2072. },
  2073. "500": {
  2074. "description": "Internal Server Error",
  2075. "schema": {
  2076. "$ref": "#/definitions/app.Response"
  2077. }
  2078. }
  2079. }
  2080. }
  2081. },
  2082. "/Ermcp/QueryErmcpHisOrderDetails": {
  2083. "get": {
  2084. "security": [
  2085. {
  2086. "ApiKeyAuth": []
  2087. }
  2088. ],
  2089. "produces": [
  2090. "application/json"
  2091. ],
  2092. "tags": [
  2093. "企业风险管理(app)"
  2094. ],
  2095. "summary": "获取企业风管期货历史委托单信息",
  2096. "parameters": [
  2097. {
  2098. "type": "integer",
  2099. "description": "资金账户ID",
  2100. "name": "accountID",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "string",
  2106. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2107. "name": "startDate",
  2108. "in": "query"
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2113. "name": "endDate",
  2114. "in": "query"
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryErmcpHisTradeDetails": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "获取企业风管期货历史成交单信息",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "资金账户ID",
  2151. "name": "accountID",
  2152. "in": "query",
  2153. "required": true
  2154. },
  2155. {
  2156. "type": "integer",
  2157. "description": "商品ID",
  2158. "name": "goodsID",
  2159. "in": "query"
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "买卖方向,0:买 1:卖",
  2164. "name": "buyOrSell",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "关联委托单号",
  2170. "name": "orderID",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "string",
  2175. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2176. "name": "startDate",
  2177. "in": "query"
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "endDate",
  2183. "in": "query"
  2184. }
  2185. ],
  2186. "responses": {
  2187. "200": {
  2188. "description": "OK",
  2189. "schema": {
  2190. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2191. }
  2192. },
  2193. "500": {
  2194. "description": "Internal Server Error",
  2195. "schema": {
  2196. "$ref": "#/definitions/app.Response"
  2197. }
  2198. }
  2199. }
  2200. }
  2201. },
  2202. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2203. "get": {
  2204. "security": [
  2205. {
  2206. "ApiKeyAuth": []
  2207. }
  2208. ],
  2209. "produces": [
  2210. "application/json"
  2211. ],
  2212. "tags": [
  2213. "企业风险管理(app)"
  2214. ],
  2215. "summary": "获取企业风管期货内部持仓单信息",
  2216. "parameters": [
  2217. {
  2218. "type": "integer",
  2219. "description": "资金账户ID",
  2220. "name": "accountID",
  2221. "in": "query",
  2222. "required": true
  2223. },
  2224. {
  2225. "type": "integer",
  2226. "description": "商品ID",
  2227. "name": "goodsID",
  2228. "in": "query"
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "买卖方向,0:买 1:卖",
  2233. "name": "buyOrSell",
  2234. "in": "query"
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2242. }
  2243. },
  2244. "500": {
  2245. "description": "Internal Server Error",
  2246. "schema": {
  2247. "$ref": "#/definitions/app.Response"
  2248. }
  2249. }
  2250. }
  2251. }
  2252. },
  2253. "/Ermcp/QueryErmcpOrderDetails": {
  2254. "get": {
  2255. "security": [
  2256. {
  2257. "ApiKeyAuth": []
  2258. }
  2259. ],
  2260. "produces": [
  2261. "application/json"
  2262. ],
  2263. "tags": [
  2264. "企业风险管理(app)"
  2265. ],
  2266. "summary": "获取企业风管期货委托单信息",
  2267. "parameters": [
  2268. {
  2269. "type": "integer",
  2270. "description": "资金账户ID",
  2271. "name": "accountID",
  2272. "in": "query",
  2273. "required": true
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "OK",
  2279. "schema": {
  2280. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Ermcp/QueryErmcpTradeDetails": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "企业风险管理(app)"
  2304. ],
  2305. "summary": "获取企业风管期货成交单信息",
  2306. "parameters": [
  2307. {
  2308. "type": "integer",
  2309. "description": "资金账户ID",
  2310. "name": "accountID",
  2311. "in": "query",
  2312. "required": true
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "商品ID",
  2317. "name": "goodsID",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "买卖方向,0:买 1:卖",
  2323. "name": "buyOrSell",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "关联委托单号",
  2329. "name": "orderID",
  2330. "in": "query"
  2331. }
  2332. ],
  2333. "responses": {
  2334. "200": {
  2335. "description": "OK",
  2336. "schema": {
  2337. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryErmcpTradePosition": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2357. "produces": [
  2358. "application/json"
  2359. ],
  2360. "tags": [
  2361. "企业风险管理(app)"
  2362. ],
  2363. "summary": "获取企业风管期货持仓头寸信息",
  2364. "parameters": [
  2365. {
  2366. "type": "integer",
  2367. "description": "资金账户ID",
  2368. "name": "accountID",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "所属市场ID",
  2375. "name": "marketID",
  2376. "in": "query"
  2377. }
  2378. ],
  2379. "responses": {
  2380. "200": {
  2381. "description": "OK",
  2382. "schema": {
  2383. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2384. }
  2385. },
  2386. "500": {
  2387. "description": "Internal Server Error",
  2388. "schema": {
  2389. "$ref": "#/definitions/app.Response"
  2390. }
  2391. }
  2392. }
  2393. }
  2394. },
  2395. "/Ermcp/QueryExposureDetail": {
  2396. "get": {
  2397. "security": [
  2398. {
  2399. "ApiKeyAuth": []
  2400. }
  2401. ],
  2402. "produces": [
  2403. "application/json"
  2404. ],
  2405. "tags": [
  2406. "企业风险管理(app)"
  2407. ],
  2408. "summary": "查询敞口现货明细",
  2409. "parameters": [
  2410. {
  2411. "type": "integer",
  2412. "description": "所属机构ID",
  2413. "name": "areaUserId",
  2414. "in": "query",
  2415. "required": true
  2416. },
  2417. {
  2418. "type": "integer",
  2419. "description": "套保商品",
  2420. "name": "middleGoodsId",
  2421. "in": "query",
  2422. "required": true
  2423. }
  2424. ],
  2425. "responses": {
  2426. "200": {
  2427. "description": "OK",
  2428. "schema": {
  2429. "type": "array",
  2430. "items": {
  2431. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2432. }
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Ermcp/QueryExposureGoods": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "企业风险管理(app)"
  2456. ],
  2457. "summary": "查询敞口主力合约",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "套保商品id",
  2462. "name": "middlegoodsid",
  2463. "in": "query",
  2464. "required": true
  2465. }
  2466. ],
  2467. "responses": {
  2468. "200": {
  2469. "description": "OK",
  2470. "schema": {
  2471. "type": "array",
  2472. "items": {
  2473. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2474. }
  2475. }
  2476. },
  2477. "500": {
  2478. "description": "Internal Server Error",
  2479. "schema": {
  2480. "$ref": "#/definitions/app.Response"
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "/Ermcp/QueryExposureHedgePosition": {
  2487. "get": {
  2488. "security": [
  2489. {
  2490. "ApiKeyAuth": []
  2491. }
  2492. ],
  2493. "produces": [
  2494. "application/json"
  2495. ],
  2496. "tags": [
  2497. "企业风险管理(app)"
  2498. ],
  2499. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2500. "parameters": [
  2501. {
  2502. "type": "integer",
  2503. "description": "用户id",
  2504. "name": "userid",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryExposureHedgePositionDetail": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "商品id",
  2553. "name": "goodsId",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryExposureSpot": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "areaUserId",
  2596. "in": "query",
  2597. "required": true
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "type": "array",
  2605. "items": {
  2606. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2607. }
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/Ermcp/QueryExposureSpotDetail": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "企业风险管理(app)"
  2631. ],
  2632. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2633. "parameters": [
  2634. {
  2635. "type": "integer",
  2636. "description": "所属机构ID",
  2637. "name": "areaUserId",
  2638. "in": "query",
  2639. "required": true
  2640. },
  2641. {
  2642. "type": "integer",
  2643. "description": "现货品种ID",
  2644. "name": "wrstandardId",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2656. }
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/Ermcp/QueryFuturesCompany": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "企业风险管理(app)"
  2680. ],
  2681. "summary": "查询期货公司",
  2682. "responses": {
  2683. "200": {
  2684. "description": "OK",
  2685. "schema": {
  2686. "type": "array",
  2687. "items": {
  2688. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2689. }
  2690. }
  2691. },
  2692. "500": {
  2693. "description": "Internal Server Error",
  2694. "schema": {
  2695. "$ref": "#/definitions/app.Response"
  2696. }
  2697. }
  2698. }
  2699. }
  2700. },
  2701. "/Ermcp/QueryGGConvertConfig": {
  2702. "get": {
  2703. "security": [
  2704. {
  2705. "ApiKeyAuth": []
  2706. }
  2707. ],
  2708. "produces": [
  2709. "application/json"
  2710. ],
  2711. "tags": [
  2712. "企业风险管理(app)"
  2713. ],
  2714. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2715. "parameters": [
  2716. {
  2717. "type": "integer",
  2718. "description": "品种id(不填则查所有)",
  2719. "name": "goodsgroupid",
  2720. "in": "query"
  2721. }
  2722. ],
  2723. "responses": {
  2724. "200": {
  2725. "description": "OK",
  2726. "schema": {
  2727. "type": "array",
  2728. "items": {
  2729. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2730. }
  2731. }
  2732. },
  2733. "500": {
  2734. "description": "Internal Server Error",
  2735. "schema": {
  2736. "$ref": "#/definitions/app.Response"
  2737. }
  2738. }
  2739. }
  2740. }
  2741. },
  2742. "/Ermcp/QueryGoodsBrand": {
  2743. "get": {
  2744. "security": [
  2745. {
  2746. "ApiKeyAuth": []
  2747. }
  2748. ],
  2749. "produces": [
  2750. "application/json"
  2751. ],
  2752. "tags": [
  2753. "企业风险管理(app)"
  2754. ],
  2755. "summary": "查询商品品牌",
  2756. "parameters": [
  2757. {
  2758. "type": "integer",
  2759. "description": "用户ID",
  2760. "name": "userid",
  2761. "in": "query",
  2762. "required": true
  2763. },
  2764. {
  2765. "type": "integer",
  2766. "description": "现货商品ID",
  2767. "name": "wrstandardid",
  2768. "in": "query"
  2769. }
  2770. ],
  2771. "responses": {
  2772. "200": {
  2773. "description": "OK",
  2774. "schema": {
  2775. "type": "array",
  2776. "items": {
  2777. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2778. }
  2779. }
  2780. },
  2781. "500": {
  2782. "description": "Internal Server Error",
  2783. "schema": {
  2784. "$ref": "#/definitions/app.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. },
  2790. "/Ermcp/QueryGoodsModel": {
  2791. "get": {
  2792. "security": [
  2793. {
  2794. "ApiKeyAuth": []
  2795. }
  2796. ],
  2797. "produces": [
  2798. "application/json"
  2799. ],
  2800. "tags": [
  2801. "企业风险管理(app)"
  2802. ],
  2803. "summary": "查询商品型号",
  2804. "parameters": [
  2805. {
  2806. "type": "integer",
  2807. "description": "用户ID",
  2808. "name": "userid",
  2809. "in": "query",
  2810. "required": true
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "type": "array",
  2818. "items": {
  2819. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2820. }
  2821. }
  2822. },
  2823. "500": {
  2824. "description": "Internal Server Error",
  2825. "schema": {
  2826. "$ref": "#/definitions/app.Response"
  2827. }
  2828. }
  2829. }
  2830. }
  2831. },
  2832. "/Ermcp/QueryHisExposure": {
  2833. "get": {
  2834. "security": [
  2835. {
  2836. "ApiKeyAuth": []
  2837. }
  2838. ],
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "企业风险管理(app)"
  2844. ],
  2845. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2846. "parameters": [
  2847. {
  2848. "type": "integer",
  2849. "description": "用户id",
  2850. "name": "userid",
  2851. "in": "query",
  2852. "required": true
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "每个品种记录数",
  2857. "name": "lastNum",
  2858. "in": "query",
  2859. "required": true
  2860. }
  2861. ],
  2862. "responses": {
  2863. "200": {
  2864. "description": "OK",
  2865. "schema": {
  2866. "type": "array",
  2867. "items": {
  2868. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2869. }
  2870. }
  2871. },
  2872. "500": {
  2873. "description": "Internal Server Error",
  2874. "schema": {
  2875. "$ref": "#/definitions/app.Response"
  2876. }
  2877. }
  2878. }
  2879. }
  2880. },
  2881. "/Ermcp/QueryMiddleGoods": {
  2882. "get": {
  2883. "security": [
  2884. {
  2885. "ApiKeyAuth": []
  2886. }
  2887. ],
  2888. "produces": [
  2889. "application/json"
  2890. ],
  2891. "tags": [
  2892. "企业风险管理(app)"
  2893. ],
  2894. "summary": "查询套保品种(菜单:套保品种)",
  2895. "parameters": [
  2896. {
  2897. "type": "integer",
  2898. "description": "所属机构ID",
  2899. "name": "userid",
  2900. "in": "query",
  2901. "required": true
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "状态 0-停用 1-正常",
  2906. "name": "status",
  2907. "in": "query",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "type": "array",
  2916. "items": {
  2917. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2918. }
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "企业风险管理(app)"
  2942. ],
  2943. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "所属机构ID",
  2948. "name": "userid",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "integer",
  2954. "description": "套保品种id",
  2955. "name": "middlegoodsid",
  2956. "in": "query",
  2957. "required": true
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "type": "array",
  2965. "items": {
  2966. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2967. }
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Ermcp/QueryMiddleGoodsDetail": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "企业风险管理(app)"
  2991. ],
  2992. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2993. "parameters": [
  2994. {
  2995. "type": "integer",
  2996. "description": "所属机构ID",
  2997. "name": "userid",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "套保品种id",
  3004. "name": "middlegoodsid",
  3005. "in": "query"
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Ermcp/QueryPendingAuditInfo": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "企业风险管理(app)"
  3039. ],
  3040. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3041. "parameters": [
  3042. {
  3043. "type": "integer",
  3044. "description": "用户ID",
  3045. "name": "UserId",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Ermcp/QueryRealtimeExposure": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "企业风险管理(app)"
  3081. ],
  3082. "summary": "查询实时敞口",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "所属机构ID",
  3087. "name": "userid",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "type": "array",
  3097. "items": {
  3098. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3099. }
  3100. }
  3101. },
  3102. "500": {
  3103. "description": "Internal Server Error",
  3104. "schema": {
  3105. "$ref": "#/definitions/app.Response"
  3106. }
  3107. }
  3108. }
  3109. }
  3110. },
  3111. "/Ermcp/QueryRealtimeExposurePosition": {
  3112. "get": {
  3113. "security": [
  3114. {
  3115. "ApiKeyAuth": []
  3116. }
  3117. ],
  3118. "produces": [
  3119. "application/json"
  3120. ],
  3121. "tags": [
  3122. "企业风险管理(app)"
  3123. ],
  3124. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3125. "parameters": [
  3126. {
  3127. "type": "integer",
  3128. "description": "用户id",
  3129. "name": "userid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "套保商品ID",
  3136. "name": "middleGoodsId",
  3137. "in": "query",
  3138. "required": true
  3139. }
  3140. ],
  3141. "responses": {
  3142. "200": {
  3143. "description": "OK",
  3144. "schema": {
  3145. "type": "array",
  3146. "items": {
  3147. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3148. }
  3149. }
  3150. },
  3151. "500": {
  3152. "description": "Internal Server Error",
  3153. "schema": {
  3154. "$ref": "#/definitions/app.Response"
  3155. }
  3156. }
  3157. }
  3158. }
  3159. },
  3160. "/Ermcp/QueryRoleMenu": {
  3161. "get": {
  3162. "security": [
  3163. {
  3164. "ApiKeyAuth": []
  3165. }
  3166. ],
  3167. "produces": [
  3168. "application/json"
  3169. ],
  3170. "tags": [
  3171. "企业风险管理(app)"
  3172. ],
  3173. "summary": "查询角色菜单和权限",
  3174. "parameters": [
  3175. {
  3176. "type": "integer",
  3177. "description": "登录ID",
  3178. "name": "loginid",
  3179. "in": "query",
  3180. "required": true
  3181. },
  3182. {
  3183. "type": "integer",
  3184. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3185. "name": "menutype",
  3186. "in": "query"
  3187. }
  3188. ],
  3189. "responses": {
  3190. "200": {
  3191. "description": "OK",
  3192. "schema": {
  3193. "type": "array",
  3194. "items": {
  3195. "$ref": "#/definitions/models.RoleMenu"
  3196. }
  3197. }
  3198. },
  3199. "500": {
  3200. "description": "Internal Server Error",
  3201. "schema": {
  3202. "$ref": "#/definitions/app.Response"
  3203. }
  3204. }
  3205. }
  3206. }
  3207. },
  3208. "/Ermcp/QueryTradeConfigTMP": {
  3209. "get": {
  3210. "security": [
  3211. {
  3212. "ApiKeyAuth": []
  3213. }
  3214. ],
  3215. "produces": [
  3216. "application/json"
  3217. ],
  3218. "tags": [
  3219. "企业风险管理(app)"
  3220. ],
  3221. "summary": "查询交易模板配置",
  3222. "parameters": [
  3223. {
  3224. "type": "integer",
  3225. "description": "所属机构id",
  3226. "name": "areauserid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp/QueryUserInfo": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理(app)"
  3261. ],
  3262. "summary": "查询客户资料",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "所属机构用户ID",
  3267. "name": "MemberUserID",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3274. "name": "queryType",
  3275. "in": "query",
  3276. "required": true
  3277. }
  3278. ],
  3279. "responses": {
  3280. "200": {
  3281. "description": "OK",
  3282. "schema": {
  3283. "type": "array",
  3284. "items": {
  3285. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3286. }
  3287. }
  3288. },
  3289. "500": {
  3290. "description": "Internal Server Error",
  3291. "schema": {
  3292. "$ref": "#/definitions/app.Response"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "/Ermcp/QueryWarehouseInfo": {
  3299. "get": {
  3300. "security": [
  3301. {
  3302. "ApiKeyAuth": []
  3303. }
  3304. ],
  3305. "produces": [
  3306. "application/json"
  3307. ],
  3308. "tags": [
  3309. "企业风险管理(app)"
  3310. ],
  3311. "summary": "查询仓库信息",
  3312. "parameters": [
  3313. {
  3314. "type": "integer",
  3315. "description": "用户ID",
  3316. "name": "userid",
  3317. "in": "query",
  3318. "required": true
  3319. },
  3320. {
  3321. "type": "string",
  3322. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3323. "name": "status",
  3324. "in": "query"
  3325. }
  3326. ],
  3327. "responses": {
  3328. "200": {
  3329. "description": "OK",
  3330. "schema": {
  3331. "type": "array",
  3332. "items": {
  3333. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3334. }
  3335. }
  3336. },
  3337. "500": {
  3338. "description": "Internal Server Error",
  3339. "schema": {
  3340. "$ref": "#/definitions/app.Response"
  3341. }
  3342. }
  3343. }
  3344. }
  3345. },
  3346. "/Ermcp3/QryAreaExpourseContractDetail": {
  3347. "get": {
  3348. "security": [
  3349. {
  3350. "ApiKeyAuth": []
  3351. }
  3352. ],
  3353. "produces": [
  3354. "application/json"
  3355. ],
  3356. "tags": [
  3357. "企业风险管理v3(app)"
  3358. ],
  3359. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3360. "parameters": [
  3361. {
  3362. "type": "integer",
  3363. "description": "用户ID",
  3364. "name": "userid",
  3365. "in": "query",
  3366. "required": true
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "套保商品id",
  3371. "name": "middlegoodsid",
  3372. "in": "query",
  3373. "required": true
  3374. },
  3375. {
  3376. "type": "integer",
  3377. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3378. "name": "cycletype",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3385. "name": "cycletime",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "type": "array",
  3395. "items": {
  3396. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3397. }
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "企业风险管理v3(app)"
  3421. ],
  3422. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "用户ID",
  3427. "name": "userid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "套保商品id",
  3434. "name": "middlegoodsid",
  3435. "in": "query",
  3436. "required": true
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3441. "name": "cycletype",
  3442. "in": "query",
  3443. "required": true
  3444. },
  3445. {
  3446. "type": "string",
  3447. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3448. "name": "cycletime",
  3449. "in": "query",
  3450. "required": true
  3451. }
  3452. ],
  3453. "responses": {
  3454. "200": {
  3455. "description": "OK",
  3456. "schema": {
  3457. "type": "array",
  3458. "items": {
  3459. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3460. }
  3461. }
  3462. },
  3463. "500": {
  3464. "description": "Internal Server Error",
  3465. "schema": {
  3466. "$ref": "#/definitions/app.Response"
  3467. }
  3468. }
  3469. }
  3470. }
  3471. },
  3472. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3473. "get": {
  3474. "security": [
  3475. {
  3476. "ApiKeyAuth": []
  3477. }
  3478. ],
  3479. "produces": [
  3480. "application/json"
  3481. ],
  3482. "tags": [
  3483. "企业风险管理v3(app)"
  3484. ],
  3485. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3486. "parameters": [
  3487. {
  3488. "type": "integer",
  3489. "description": "用户ID",
  3490. "name": "userid",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "套保商品id",
  3497. "name": "middlegoodsid",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "integer",
  3503. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3504. "name": "cycletype",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "string",
  3510. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3511. "name": "cycletime",
  3512. "in": "query",
  3513. "required": true
  3514. }
  3515. ],
  3516. "responses": {
  3517. "200": {
  3518. "description": "OK",
  3519. "schema": {
  3520. "type": "array",
  3521. "items": {
  3522. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3523. }
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3536. "get": {
  3537. "security": [
  3538. {
  3539. "ApiKeyAuth": []
  3540. }
  3541. ],
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "企业风险管理v3(app)"
  3547. ],
  3548. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3549. "parameters": [
  3550. {
  3551. "type": "integer",
  3552. "description": "用户ID",
  3553. "name": "userid",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "套保商品id",
  3560. "name": "middlegoodsid",
  3561. "in": "query",
  3562. "required": true
  3563. },
  3564. {
  3565. "type": "integer",
  3566. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3567. "name": "cycletype",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "string",
  3573. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3574. "name": "cycletime",
  3575. "in": "query",
  3576. "required": true
  3577. }
  3578. ],
  3579. "responses": {
  3580. "200": {
  3581. "description": "OK",
  3582. "schema": {
  3583. "type": "array",
  3584. "items": {
  3585. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3586. }
  3587. }
  3588. },
  3589. "500": {
  3590. "description": "Internal Server Error",
  3591. "schema": {
  3592. "$ref": "#/definitions/app.Response"
  3593. }
  3594. }
  3595. }
  3596. }
  3597. },
  3598. "/Ermcp3/QryAreaExpourseReport": {
  3599. "get": {
  3600. "security": [
  3601. {
  3602. "ApiKeyAuth": []
  3603. }
  3604. ],
  3605. "produces": [
  3606. "application/json"
  3607. ],
  3608. "tags": [
  3609. "企业风险管理v3(app)"
  3610. ],
  3611. "summary": "查询敞口报表",
  3612. "parameters": [
  3613. {
  3614. "type": "integer",
  3615. "description": "用户ID",
  3616. "name": "userid",
  3617. "in": "query",
  3618. "required": true
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3623. "name": "querytype",
  3624. "in": "query",
  3625. "required": true
  3626. },
  3627. {
  3628. "type": "integer",
  3629. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3630. "name": "cycletype",
  3631. "in": "query",
  3632. "required": true
  3633. },
  3634. {
  3635. "type": "string",
  3636. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3637. "name": "cycletime",
  3638. "in": "query",
  3639. "required": true
  3640. }
  3641. ],
  3642. "responses": {
  3643. "200": {
  3644. "description": "OK",
  3645. "schema": {
  3646. "type": "array",
  3647. "items": {
  3648. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3649. }
  3650. }
  3651. },
  3652. "500": {
  3653. "description": "Internal Server Error",
  3654. "schema": {
  3655. "$ref": "#/definitions/app.Response"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/Ermcp3/QryAreaSpotplReport": {
  3662. "get": {
  3663. "security": [
  3664. {
  3665. "ApiKeyAuth": []
  3666. }
  3667. ],
  3668. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3669. "produces": [
  3670. "application/json"
  3671. ],
  3672. "tags": [
  3673. "企业风险管理v3(app)"
  3674. ],
  3675. "summary": "查询现货报表",
  3676. "parameters": [
  3677. {
  3678. "type": "integer",
  3679. "description": "用户ID",
  3680. "name": "userid",
  3681. "in": "query",
  3682. "required": true
  3683. },
  3684. {
  3685. "type": "integer",
  3686. "description": "查询类型 1-报表 2-报表明细",
  3687. "name": "querytype",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3694. "name": "cycletype",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "string",
  3700. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3701. "name": "cycletime",
  3702. "in": "query",
  3703. "required": true
  3704. },
  3705. {
  3706. "type": "integer",
  3707. "description": "现货品种id(明细必填)",
  3708. "name": "deliverygoodsid",
  3709. "in": "query"
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "币种id(明细必填)",
  3714. "name": "currencyid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "日/周/月报表汇总维度 1:品种+品类",
  3720. "name": "sumflag",
  3721. "in": "query"
  3722. }
  3723. ],
  3724. "responses": {
  3725. "200": {
  3726. "description": "OK",
  3727. "schema": {
  3728. "type": "array",
  3729. "items": {
  3730. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3731. }
  3732. }
  3733. },
  3734. "500": {
  3735. "description": "Internal Server Error",
  3736. "schema": {
  3737. "$ref": "#/definitions/app.Response"
  3738. }
  3739. }
  3740. }
  3741. }
  3742. },
  3743. "/Ermcp3/QryAreaStockReport": {
  3744. "get": {
  3745. "security": [
  3746. {
  3747. "ApiKeyAuth": []
  3748. }
  3749. ],
  3750. "produces": [
  3751. "application/json"
  3752. ],
  3753. "tags": [
  3754. "企业风险管理v3(app)"
  3755. ],
  3756. "summary": "查询库存报表",
  3757. "parameters": [
  3758. {
  3759. "type": "integer",
  3760. "description": "用户ID",
  3761. "name": "userid",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "查询类型 1-报表 2-报表明细",
  3768. "name": "querytype",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3775. "name": "cycletype",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "string",
  3781. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3782. "name": "cycletime",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "string",
  3788. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3789. "name": "sumfields",
  3790. "in": "query"
  3791. },
  3792. {
  3793. "type": "integer",
  3794. "description": "品种ID",
  3795. "name": "deliverygoodsid",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "品类ID",
  3801. "name": "wrstandardid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品牌ID",
  3807. "name": "spotgoodsbrandid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "仓库ID",
  3813. "name": "warehouseinfoid",
  3814. "in": "query"
  3815. }
  3816. ],
  3817. "responses": {
  3818. "200": {
  3819. "description": "OK",
  3820. "schema": {
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3824. }
  3825. }
  3826. },
  3827. "500": {
  3828. "description": "Internal Server Error",
  3829. "schema": {
  3830. "$ref": "#/definitions/app.Response"
  3831. }
  3832. }
  3833. }
  3834. }
  3835. },
  3836. "/Ermcp3/QryAreaSumPL": {
  3837. "get": {
  3838. "security": [
  3839. {
  3840. "ApiKeyAuth": []
  3841. }
  3842. ],
  3843. "produces": [
  3844. "application/json"
  3845. ],
  3846. "tags": [
  3847. "企业风险管理v3(app)"
  3848. ],
  3849. "summary": "查询汇总损益表",
  3850. "parameters": [
  3851. {
  3852. "type": "integer",
  3853. "description": "用户ID",
  3854. "name": "userid",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "查询类型 1-报表 2-报表明细",
  3861. "name": "querytype",
  3862. "in": "query",
  3863. "required": true
  3864. },
  3865. {
  3866. "type": "integer",
  3867. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3868. "name": "cycletype",
  3869. "in": "query",
  3870. "required": true
  3871. },
  3872. {
  3873. "type": "string",
  3874. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3875. "name": "cycletime",
  3876. "in": "query",
  3877. "required": true
  3878. },
  3879. {
  3880. "type": "integer",
  3881. "description": "币种id(明细必填)",
  3882. "name": "currencyid",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "套保品种ID, 查询类型为2时起效",
  3888. "name": "middlegoodsid",
  3889. "in": "query"
  3890. }
  3891. ],
  3892. "responses": {
  3893. "200": {
  3894. "description": "OK",
  3895. "schema": {
  3896. "type": "array",
  3897. "items": {
  3898. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3899. }
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/Ermcp3/QryFinanceReport": {
  3912. "get": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "企业风险管理v3(app)"
  3923. ],
  3924. "summary": "查询财务报表",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "用户ID",
  3929. "name": "userid",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "查询类型 1-报表 2-报表明细",
  3936. "name": "querytype",
  3937. "in": "query",
  3938. "required": true
  3939. },
  3940. {
  3941. "type": "integer",
  3942. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3943. "name": "cycletype",
  3944. "in": "query",
  3945. "required": true
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3950. "name": "cycletime",
  3951. "in": "query",
  3952. "required": true
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "币种id(报表明细必填)",
  3957. "name": "currencyid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3963. "name": "sumfields",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QrySCMiddleGoodsReport": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询定价报表",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "用户ID",
  4004. "name": "userid",
  4005. "in": "query",
  4006. "required": true
  4007. },
  4008. {
  4009. "type": "integer",
  4010. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4011. "name": "cycletype",
  4012. "in": "query",
  4013. "required": true
  4014. },
  4015. {
  4016. "type": "string",
  4017. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4018. "name": "cycletime",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "合同id",
  4025. "name": "spotcontractid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保品种id",
  4031. "name": "middlegoodsid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "现货品种id",
  4037. "name": "deliverygoodsid",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "现货商品id",
  4043. "name": "wrstandardid",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "合同编号(模糊匹配)",
  4049. "name": "contractno",
  4050. "in": "query"
  4051. }
  4052. ],
  4053. "responses": {
  4054. "200": {
  4055. "description": "OK",
  4056. "schema": {
  4057. "type": "array",
  4058. "items": {
  4059. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4060. }
  4061. }
  4062. },
  4063. "500": {
  4064. "description": "Internal Server Error",
  4065. "schema": {
  4066. "$ref": "#/definitions/app.Response"
  4067. }
  4068. }
  4069. }
  4070. }
  4071. },
  4072. "/Ermcp3/QryTaFutureDataReport": {
  4073. "get": {
  4074. "security": [
  4075. {
  4076. "ApiKeyAuth": []
  4077. }
  4078. ],
  4079. "produces": [
  4080. "application/json"
  4081. ],
  4082. "tags": [
  4083. "企业风险管理v3(app)"
  4084. ],
  4085. "summary": "查询期货报表",
  4086. "parameters": [
  4087. {
  4088. "type": "integer",
  4089. "description": "用户ID",
  4090. "name": "userid",
  4091. "in": "query",
  4092. "required": true
  4093. },
  4094. {
  4095. "type": "integer",
  4096. "description": "查询类型 1-报表 2-报表明细",
  4097. "name": "querytype",
  4098. "in": "query",
  4099. "required": true
  4100. },
  4101. {
  4102. "type": "integer",
  4103. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4104. "name": "cycletype",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "string",
  4110. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4111. "name": "cycletime",
  4112. "in": "query",
  4113. "required": true
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "币种id(查明细必填)",
  4118. "name": "currencyid",
  4119. "in": "query"
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "品种id(查明细必填)",
  4124. "name": "goodsgroupid",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "商品id(查明细必填)",
  4130. "name": "goodsid",
  4131. "in": "query"
  4132. },
  4133. {
  4134. "type": "integer",
  4135. "description": "买卖方向(查明细必填)",
  4136. "name": "buyorsell",
  4137. "in": "query"
  4138. }
  4139. ],
  4140. "responses": {
  4141. "200": {
  4142. "description": "OK",
  4143. "schema": {
  4144. "type": "array",
  4145. "items": {
  4146. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4147. }
  4148. }
  4149. },
  4150. "500": {
  4151. "description": "Internal Server Error",
  4152. "schema": {
  4153. "$ref": "#/definitions/app.Response"
  4154. }
  4155. }
  4156. }
  4157. }
  4158. },
  4159. "/Ermcp3/QueryAreaStock": {
  4160. "get": {
  4161. "security": [
  4162. {
  4163. "ApiKeyAuth": []
  4164. }
  4165. ],
  4166. "produces": [
  4167. "application/json"
  4168. ],
  4169. "tags": [
  4170. "企业风险管理v3(app)"
  4171. ],
  4172. "summary": "查询机构库存(库存管理/当前库存)",
  4173. "parameters": [
  4174. {
  4175. "type": "integer",
  4176. "description": "用户ID",
  4177. "name": "userid",
  4178. "in": "query",
  4179. "required": true
  4180. }
  4181. ],
  4182. "responses": {
  4183. "200": {
  4184. "description": "OK",
  4185. "schema": {
  4186. "type": "array",
  4187. "items": {
  4188. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4189. }
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/Ermcp3/QueryAreaStockApply": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "企业风险管理v3(app)"
  4213. ],
  4214. "summary": "查询库存申请(出入库记录|库存审核)",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "用户ID",
  4219. "name": "userid",
  4220. "in": "query",
  4221. "required": true
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "用户类型 2-机构 7-企业成员",
  4226. "name": "usertype",
  4227. "in": "query"
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "现货商品ID",
  4232. "name": "deliverygoodsid",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "string",
  4237. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4238. "name": "inouttype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "品类ID",
  4250. "name": "wrstandardid",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "品牌ID",
  4256. "name": "spotgoodsbrandid",
  4257. "in": "query"
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "仓库ID",
  4262. "name": "warehouseinfoid",
  4263. "in": "query"
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4268. "name": "applystatus",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QueryAreaStockApplySum": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "合同ID",
  4309. "name": "spotcontractid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QueryDGFactoryItem": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询品种要素定义项",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户id",
  4351. "name": "userid",
  4352. "in": "query"
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "用户类型 2-机构 7-企业成员",
  4357. "name": "usertype",
  4358. "in": "query"
  4359. },
  4360. {
  4361. "type": "integer",
  4362. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4363. "name": "dgfactoryitemid",
  4364. "in": "query"
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "现货品种ID",
  4369. "name": "deliverygoodsid",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "要素项类型",
  4375. "name": "dgfactoryitemtypeid",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "顺序",
  4381. "name": "orderindex",
  4382. "in": "query"
  4383. }
  4384. ],
  4385. "responses": {
  4386. "200": {
  4387. "description": "OK",
  4388. "schema": {
  4389. "type": "array",
  4390. "items": {
  4391. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4392. }
  4393. }
  4394. },
  4395. "500": {
  4396. "description": "Internal Server Error",
  4397. "schema": {
  4398. "$ref": "#/definitions/app.Response"
  4399. }
  4400. }
  4401. }
  4402. }
  4403. },
  4404. "/Ermcp3/QueryDeliveryGoods": {
  4405. "get": {
  4406. "security": [
  4407. {
  4408. "ApiKeyAuth": []
  4409. }
  4410. ],
  4411. "produces": [
  4412. "application/json"
  4413. ],
  4414. "tags": [
  4415. "企业风险管理v3(app)"
  4416. ],
  4417. "summary": "查询现货商品",
  4418. "parameters": [
  4419. {
  4420. "type": "integer",
  4421. "description": "用户id",
  4422. "name": "userid",
  4423. "in": "query",
  4424. "required": true
  4425. },
  4426. {
  4427. "type": "integer",
  4428. "description": "用户类型 2-机构 7-企业成员",
  4429. "name": "usertype",
  4430. "in": "query"
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4435. "name": "excludecfg",
  4436. "in": "query"
  4437. }
  4438. ],
  4439. "responses": {
  4440. "200": {
  4441. "description": "OK",
  4442. "schema": {
  4443. "type": "array",
  4444. "items": {
  4445. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4446. }
  4447. }
  4448. },
  4449. "500": {
  4450. "description": "Internal Server Error",
  4451. "schema": {
  4452. "$ref": "#/definitions/app.Response"
  4453. }
  4454. }
  4455. }
  4456. }
  4457. },
  4458. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4459. "get": {
  4460. "security": [
  4461. {
  4462. "ApiKeyAuth": []
  4463. }
  4464. ],
  4465. "produces": [
  4466. "application/json"
  4467. ],
  4468. "tags": [
  4469. "企业风险管理v3(app)"
  4470. ],
  4471. "summary": "查询现货商品详情",
  4472. "parameters": [
  4473. {
  4474. "type": "integer",
  4475. "description": "用户id",
  4476. "name": "userid",
  4477. "in": "query",
  4478. "required": true
  4479. },
  4480. {
  4481. "type": "integer",
  4482. "description": "用户类型 2-机构 7-企业成员",
  4483. "name": "usertype",
  4484. "in": "query"
  4485. },
  4486. {
  4487. "type": "integer",
  4488. "description": "现货商品id",
  4489. "name": "deliverygoodsid",
  4490. "in": "query"
  4491. },
  4492. {
  4493. "type": "integer",
  4494. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4495. "name": "filtersubempty",
  4496. "in": "query"
  4497. }
  4498. ],
  4499. "responses": {
  4500. "200": {
  4501. "description": "OK",
  4502. "schema": {
  4503. "type": "array",
  4504. "items": {
  4505. "$ref": "#/definitions/models.XHDeliveryGoods"
  4506. }
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4519. "get": {
  4520. "security": [
  4521. {
  4522. "ApiKeyAuth": []
  4523. }
  4524. ],
  4525. "produces": [
  4526. "application/json"
  4527. ],
  4528. "tags": [
  4529. "企业风险管理v3(app)"
  4530. ],
  4531. "summary": "查询现货合同期现配置信息",
  4532. "parameters": [
  4533. {
  4534. "type": "string",
  4535. "description": "合同id",
  4536. "name": "spotcontractid",
  4537. "in": "query",
  4538. "required": true
  4539. }
  4540. ],
  4541. "responses": {
  4542. "200": {
  4543. "description": "OK",
  4544. "schema": {
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4548. }
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/Ermcp3/QueryExposureDetail": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "企业风险管理v3(app)"
  4572. ],
  4573. "summary": "查询敞口现货明细",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "用户id",
  4578. "name": "userid",
  4579. "in": "query",
  4580. "required": true
  4581. },
  4582. {
  4583. "type": "integer",
  4584. "description": "用户类型 2-机构 7-企业成员",
  4585. "name": "usertype",
  4586. "in": "query"
  4587. },
  4588. {
  4589. "type": "integer",
  4590. "description": "套保商品",
  4591. "name": "middlegoodsid",
  4592. "in": "query",
  4593. "required": true
  4594. }
  4595. ],
  4596. "responses": {
  4597. "200": {
  4598. "description": "OK",
  4599. "schema": {
  4600. "type": "array",
  4601. "items": {
  4602. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4603. }
  4604. }
  4605. },
  4606. "500": {
  4607. "description": "Internal Server Error",
  4608. "schema": {
  4609. "$ref": "#/definitions/app.Response"
  4610. }
  4611. }
  4612. }
  4613. }
  4614. },
  4615. "/Ermcp3/QueryExposureSpot": {
  4616. "get": {
  4617. "security": [
  4618. {
  4619. "ApiKeyAuth": []
  4620. }
  4621. ],
  4622. "produces": [
  4623. "application/json"
  4624. ],
  4625. "tags": [
  4626. "企业风险管理v3(app)"
  4627. ],
  4628. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4629. "parameters": [
  4630. {
  4631. "type": "integer",
  4632. "description": "用户id",
  4633. "name": "userid",
  4634. "in": "query",
  4635. "required": true
  4636. },
  4637. {
  4638. "type": "integer",
  4639. "description": "用户类型 2-机构 7-企业成员",
  4640. "name": "usertype",
  4641. "in": "query"
  4642. }
  4643. ],
  4644. "responses": {
  4645. "200": {
  4646. "description": "OK",
  4647. "schema": {
  4648. "type": "array",
  4649. "items": {
  4650. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4651. }
  4652. }
  4653. },
  4654. "500": {
  4655. "description": "Internal Server Error",
  4656. "schema": {
  4657. "$ref": "#/definitions/app.Response"
  4658. }
  4659. }
  4660. }
  4661. }
  4662. },
  4663. "/Ermcp3/QueryExposureSpotDetail": {
  4664. "get": {
  4665. "security": [
  4666. {
  4667. "ApiKeyAuth": []
  4668. }
  4669. ],
  4670. "produces": [
  4671. "application/json"
  4672. ],
  4673. "tags": [
  4674. "企业风险管理v3(app)"
  4675. ],
  4676. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4677. "parameters": [
  4678. {
  4679. "type": "integer",
  4680. "description": "用户id",
  4681. "name": "userid",
  4682. "in": "query",
  4683. "required": true
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "用户类型 2-机构 7-企业成员",
  4688. "name": "usertype",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "现货商品ID",
  4694. "name": "wrstandardid",
  4695. "in": "query",
  4696. "required": true
  4697. }
  4698. ],
  4699. "responses": {
  4700. "200": {
  4701. "description": "OK",
  4702. "schema": {
  4703. "type": "array",
  4704. "items": {
  4705. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4706. }
  4707. }
  4708. },
  4709. "500": {
  4710. "description": "Internal Server Error",
  4711. "schema": {
  4712. "$ref": "#/definitions/app.Response"
  4713. }
  4714. }
  4715. }
  4716. }
  4717. },
  4718. "/Ermcp3/QueryGoodsGroup": {
  4719. "get": {
  4720. "security": [
  4721. {
  4722. "ApiKeyAuth": []
  4723. }
  4724. ],
  4725. "produces": [
  4726. "application/json"
  4727. ],
  4728. "tags": [
  4729. "企业风险管理v3(app)"
  4730. ],
  4731. "summary": "查询期货商品组",
  4732. "parameters": [
  4733. {
  4734. "type": "integer",
  4735. "description": "用户id",
  4736. "name": "userid",
  4737. "in": "query",
  4738. "required": true
  4739. },
  4740. {
  4741. "type": "integer",
  4742. "description": "用户类型 2-机构 7-企业成员",
  4743. "name": "usertype",
  4744. "in": "query"
  4745. },
  4746. {
  4747. "type": "integer",
  4748. "description": "排除套保品中已关联的商品组 1-排除",
  4749. "name": "excludecfg",
  4750. "in": "query"
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "type": "array",
  4758. "items": {
  4759. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4760. }
  4761. }
  4762. },
  4763. "500": {
  4764. "description": "Internal Server Error",
  4765. "schema": {
  4766. "$ref": "#/definitions/app.Response"
  4767. }
  4768. }
  4769. }
  4770. }
  4771. },
  4772. "/Ermcp3/QueryGoodsWrstandard": {
  4773. "get": {
  4774. "security": [
  4775. {
  4776. "ApiKeyAuth": []
  4777. }
  4778. ],
  4779. "produces": [
  4780. "application/json"
  4781. ],
  4782. "tags": [
  4783. "企业风险管理v3(app)"
  4784. ],
  4785. "summary": "查询商品品类",
  4786. "parameters": [
  4787. {
  4788. "type": "integer",
  4789. "description": "用户id",
  4790. "name": "userid",
  4791. "in": "query",
  4792. "required": true
  4793. },
  4794. {
  4795. "type": "integer",
  4796. "description": "用户类型 2-机构 7-企业成员",
  4797. "name": "usertype",
  4798. "in": "query"
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "现货商品id",
  4803. "name": "deliverygoodsid",
  4804. "in": "query"
  4805. }
  4806. ],
  4807. "responses": {
  4808. "200": {
  4809. "description": "OK",
  4810. "schema": {
  4811. "type": "array",
  4812. "items": {
  4813. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4814. }
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Ermcp3/QueryGoodsbrand": {
  4827. "get": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "企业风险管理v3(app)"
  4838. ],
  4839. "summary": "查询商品品牌",
  4840. "parameters": [
  4841. {
  4842. "type": "integer",
  4843. "description": "用户id",
  4844. "name": "userid",
  4845. "in": "query",
  4846. "required": true
  4847. },
  4848. {
  4849. "type": "integer",
  4850. "description": "用户类型 2-机构 7-企业成员",
  4851. "name": "usertype",
  4852. "in": "query"
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/models.Ermcp3Brand"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Ermcp3/QueryHPMiddleGoods": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询可关联套保计划",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "用户ID(填登录用户的userid)",
  4892. "name": "userid",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "买卖方向 0-买 1-卖",
  4899. "name": "buyorsell",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "integer",
  4905. "description": "商品组id",
  4906. "name": "goodsgroupid",
  4907. "in": "query",
  4908. "required": true
  4909. },
  4910. {
  4911. "type": "string",
  4912. "description": "套保计划编号(模糊匹配)",
  4913. "name": "hedgeplanno",
  4914. "in": "query"
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "现货商品名称(模糊匹配)",
  4919. "name": "wrstandardname",
  4920. "in": "query"
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "type": "array",
  4928. "items": {
  4929. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4930. }
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/Ermcp3/QueryHedgePlan": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "produces": [
  4950. "application/json"
  4951. ],
  4952. "tags": [
  4953. "企业风险管理v3(app)"
  4954. ],
  4955. "summary": "查询套保计划",
  4956. "parameters": [
  4957. {
  4958. "type": "integer",
  4959. "description": "用户ID",
  4960. "name": "userid",
  4961. "in": "query",
  4962. "required": true
  4963. },
  4964. {
  4965. "type": "integer",
  4966. "description": "用户类型 2-机构 7-企业成员",
  4967. "name": "usertype",
  4968. "in": "query"
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4973. "name": "hedgeplanstatus",
  4974. "in": "query",
  4975. "required": true
  4976. }
  4977. ],
  4978. "responses": {
  4979. "200": {
  4980. "description": "OK",
  4981. "schema": {
  4982. "type": "array",
  4983. "items": {
  4984. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4985. }
  4986. }
  4987. },
  4988. "500": {
  4989. "description": "Internal Server Error",
  4990. "schema": {
  4991. "$ref": "#/definitions/app.Response"
  4992. }
  4993. }
  4994. }
  4995. }
  4996. },
  4997. "/Ermcp3/QueryInnerTradeLink": {
  4998. "get": {
  4999. "security": [
  5000. {
  5001. "ApiKeyAuth": []
  5002. }
  5003. ],
  5004. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  5005. "produces": [
  5006. "application/json"
  5007. ],
  5008. "tags": [
  5009. "企业风险管理v3(app)"
  5010. ],
  5011. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5012. "parameters": [
  5013. {
  5014. "type": "integer",
  5015. "description": "外部成交单号",
  5016. "name": "outtradeid",
  5017. "in": "query",
  5018. "required": true
  5019. }
  5020. ],
  5021. "responses": {
  5022. "200": {
  5023. "description": "OK",
  5024. "schema": {
  5025. "type": "array",
  5026. "items": {
  5027. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5028. }
  5029. }
  5030. },
  5031. "500": {
  5032. "description": "Internal Server Error",
  5033. "schema": {
  5034. "$ref": "#/definitions/app.Response"
  5035. }
  5036. }
  5037. }
  5038. }
  5039. },
  5040. "/Ermcp3/QueryMiddleGoodsDetail": {
  5041. "get": {
  5042. "security": [
  5043. {
  5044. "ApiKeyAuth": []
  5045. }
  5046. ],
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "企业风险管理v3(app)"
  5052. ],
  5053. "summary": "查询套保品种详情(套保品种/商品详情)",
  5054. "parameters": [
  5055. {
  5056. "type": "integer",
  5057. "description": "用户id",
  5058. "name": "userid",
  5059. "in": "query",
  5060. "required": true
  5061. },
  5062. {
  5063. "type": "integer",
  5064. "description": "用户类型 2-机构 7-企业成员",
  5065. "name": "usertype",
  5066. "in": "query"
  5067. },
  5068. {
  5069. "type": "integer",
  5070. "description": "套保品种id",
  5071. "name": "middlegoodsid",
  5072. "in": "query"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "type": "array",
  5080. "items": {
  5081. "$ref": "#/definitions/models.TBMiddleGoods"
  5082. }
  5083. }
  5084. },
  5085. "500": {
  5086. "description": "Internal Server Error",
  5087. "schema": {
  5088. "$ref": "#/definitions/app.Response"
  5089. }
  5090. }
  5091. }
  5092. }
  5093. },
  5094. "/Ermcp3/QueryOutTradeLink": {
  5095. "get": {
  5096. "security": [
  5097. {
  5098. "ApiKeyAuth": []
  5099. }
  5100. ],
  5101. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5102. "produces": [
  5103. "application/json"
  5104. ],
  5105. "tags": [
  5106. "企业风险管理v3(app)"
  5107. ],
  5108. "summary": "查询外部成交单关联",
  5109. "parameters": [
  5110. {
  5111. "type": "integer",
  5112. "description": "用户ID(填登录用户的userid)",
  5113. "name": "userid",
  5114. "in": "query",
  5115. "required": true
  5116. },
  5117. {
  5118. "type": "string",
  5119. "description": "外部订单号(模糊匹配)",
  5120. "name": "outtradeid",
  5121. "in": "query"
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "合约名称/代码(模糊匹配)",
  5126. "name": "goodsname",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "integer",
  5131. "description": "关联状态 0-未关联 1-已关联",
  5132. "name": "hasinnerorder",
  5133. "in": "query"
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "type": "array",
  5141. "items": {
  5142. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5143. }
  5144. }
  5145. },
  5146. "500": {
  5147. "description": "Internal Server Error",
  5148. "schema": {
  5149. "$ref": "#/definitions/app.Response"
  5150. }
  5151. }
  5152. }
  5153. }
  5154. },
  5155. "/Ermcp3/QueryPaAreaAuditCfg": {
  5156. "get": {
  5157. "security": [
  5158. {
  5159. "ApiKeyAuth": []
  5160. }
  5161. ],
  5162. "produces": [
  5163. "application/json"
  5164. ],
  5165. "tags": [
  5166. "企业风险管理v3(app)"
  5167. ],
  5168. "summary": "查询审核设置",
  5169. "parameters": [
  5170. {
  5171. "type": "integer",
  5172. "description": "用户id",
  5173. "name": "userid",
  5174. "in": "query",
  5175. "required": true
  5176. }
  5177. ],
  5178. "responses": {
  5179. "200": {
  5180. "description": "OK",
  5181. "schema": {
  5182. "type": "array",
  5183. "items": {
  5184. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5185. }
  5186. }
  5187. },
  5188. "500": {
  5189. "description": "Internal Server Error",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. }
  5194. }
  5195. }
  5196. },
  5197. "/Ermcp3/QueryPaAreaSubject": {
  5198. "get": {
  5199. "security": [
  5200. {
  5201. "ApiKeyAuth": []
  5202. }
  5203. ],
  5204. "produces": [
  5205. "application/json"
  5206. ],
  5207. "tags": [
  5208. "企业风险管理v3(app)"
  5209. ],
  5210. "summary": "查询交易主体",
  5211. "parameters": [
  5212. {
  5213. "type": "integer",
  5214. "description": "用户id",
  5215. "name": "userid",
  5216. "in": "query",
  5217. "required": true
  5218. },
  5219. {
  5220. "type": "integer",
  5221. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5222. "name": "subjectid",
  5223. "in": "query"
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "主体类型 - 1:交易主体 2:业务部门",
  5228. "name": "subjecttype",
  5229. "in": "query"
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "主体状态 - 1:正常 2: 停用",
  5234. "name": "subjectstatus",
  5235. "in": "query"
  5236. }
  5237. ],
  5238. "responses": {
  5239. "200": {
  5240. "description": "OK",
  5241. "schema": {
  5242. "type": "array",
  5243. "items": {
  5244. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5245. }
  5246. }
  5247. },
  5248. "500": {
  5249. "description": "Internal Server Error",
  5250. "schema": {
  5251. "$ref": "#/definitions/app.Response"
  5252. }
  5253. }
  5254. }
  5255. }
  5256. },
  5257. "/Ermcp3/QueryPaTradeLink": {
  5258. "get": {
  5259. "security": [
  5260. {
  5261. "ApiKeyAuth": []
  5262. }
  5263. ],
  5264. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "企业风险管理v3(app)"
  5270. ],
  5271. "summary": "查询期现单据关联",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "用户ID",
  5276. "name": "userid",
  5277. "in": "query",
  5278. "required": true
  5279. }
  5280. ],
  5281. "responses": {
  5282. "200": {
  5283. "description": "OK",
  5284. "schema": {
  5285. "type": "array",
  5286. "items": {
  5287. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5288. }
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/Ermcp3/QueryPaTradeLinkDetail": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "企业风险管理v3(app)"
  5313. ],
  5314. "summary": "查询期现关联记录",
  5315. "parameters": [
  5316. {
  5317. "type": "integer",
  5318. "description": "用户ID(填登录用户的userid)",
  5319. "name": "userid",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "integer",
  5325. "description": "关联状态 1:成功 2:失败 3:解绑",
  5326. "name": "linkstatus",
  5327. "in": "query"
  5328. },
  5329. {
  5330. "type": "string",
  5331. "description": "期货订单号(模糊匹配)",
  5332. "name": "tradeid",
  5333. "in": "query"
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "现货编号(模糊匹配)",
  5338. "name": "contractno",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "string",
  5343. "description": "期货账户(模糊匹配)",
  5344. "name": "taname",
  5345. "in": "query"
  5346. }
  5347. ],
  5348. "responses": {
  5349. "200": {
  5350. "description": "OK",
  5351. "schema": {
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5355. }
  5356. }
  5357. },
  5358. "500": {
  5359. "description": "Internal Server Error",
  5360. "schema": {
  5361. "$ref": "#/definitions/app.Response"
  5362. }
  5363. }
  5364. }
  5365. }
  5366. },
  5367. "/Ermcp3/QueryParamChangeApp": {
  5368. "get": {
  5369. "security": [
  5370. {
  5371. "ApiKeyAuth": []
  5372. }
  5373. ],
  5374. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5375. "produces": [
  5376. "application/json"
  5377. ],
  5378. "tags": [
  5379. "企业风险管理v3(app)"
  5380. ],
  5381. "summary": "查询现货商品参数变更申请(流水)",
  5382. "parameters": [
  5383. {
  5384. "type": "integer",
  5385. "description": "用户ID",
  5386. "name": "userid",
  5387. "in": "query",
  5388. "required": true
  5389. },
  5390. {
  5391. "type": "integer",
  5392. "description": "现货品种id",
  5393. "name": "deliverygoodsid",
  5394. "in": "query"
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "现货商品id",
  5399. "name": "wrstandardid",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "套保商品id",
  5405. "name": "middlegoodsid",
  5406. "in": "query"
  5407. },
  5408. {
  5409. "type": "integer",
  5410. "description": "操作类型 1:新增 2:修改",
  5411. "name": "operatetype",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5417. "name": "paramchangetype",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "string",
  5422. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5423. "name": "ftstatus",
  5424. "in": "query"
  5425. }
  5426. ],
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "type": "array",
  5432. "items": {
  5433. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5434. }
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/Ermcp3/QueryRootUserAccount": {
  5447. "get": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "企业风险管理v3(app)"
  5458. ],
  5459. "summary": "查询顶级用户信息",
  5460. "parameters": [
  5461. {
  5462. "type": "integer",
  5463. "description": "用户ID",
  5464. "name": "userid",
  5465. "in": "query",
  5466. "required": true
  5467. }
  5468. ],
  5469. "responses": {
  5470. "200": {
  5471. "description": "OK",
  5472. "schema": {
  5473. "type": "array",
  5474. "items": {
  5475. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5476. }
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/Ermcp3/QuerySCMiddleGoods": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "企业风险管理v3(app)"
  5501. ],
  5502. "summary": "查询现货订单",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "用户ID(填登录用户的userid)",
  5507. "name": "userid",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "买卖方向 0-买 1-卖",
  5514. "name": "buyorsell",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "integer",
  5520. "description": "商品组id",
  5521. "name": "goodsgroupid",
  5522. "in": "query",
  5523. "required": true
  5524. },
  5525. {
  5526. "type": "integer",
  5527. "description": "业务类型 1:套保 2:套利",
  5528. "name": "biztype",
  5529. "in": "query"
  5530. },
  5531. {
  5532. "type": "string",
  5533. "description": "现货编号(模糊匹配)",
  5534. "name": "contractno",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "对手方(模糊匹配)",
  5540. "name": "customername",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "现货商品名称(模糊匹配)",
  5546. "name": "wrstandardname",
  5547. "in": "query"
  5548. }
  5549. ],
  5550. "responses": {
  5551. "200": {
  5552. "description": "OK",
  5553. "schema": {
  5554. "type": "array",
  5555. "items": {
  5556. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5557. }
  5558. }
  5559. },
  5560. "500": {
  5561. "description": "Internal Server Error",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. }
  5566. }
  5567. }
  5568. },
  5569. "/Ermcp3/QuerySpotContract": {
  5570. "get": {
  5571. "security": [
  5572. {
  5573. "ApiKeyAuth": []
  5574. }
  5575. ],
  5576. "produces": [
  5577. "application/json"
  5578. ],
  5579. "tags": [
  5580. "企业风险管理v3(app)"
  5581. ],
  5582. "summary": "查询现货合同",
  5583. "parameters": [
  5584. {
  5585. "type": "integer",
  5586. "description": "用户id(当指定contractid, userid可不填)",
  5587. "name": "userid",
  5588. "in": "query",
  5589. "required": true
  5590. },
  5591. {
  5592. "type": "integer",
  5593. "description": "用户类型 2-机构 7-企业成员",
  5594. "name": "usertype",
  5595. "in": "query"
  5596. },
  5597. {
  5598. "type": "integer",
  5599. "description": "合同类型 1-采购, -1-销售",
  5600. "name": "contracttype",
  5601. "in": "query"
  5602. },
  5603. {
  5604. "type": "string",
  5605. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5606. "name": "querytype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "合同ID(SpotContractId)",
  5612. "name": "contractid",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "合同编号(模糊匹配)",
  5618. "name": "contractno",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "商品名称(模糊匹配)",
  5624. "name": "wrstandardname",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5630. "name": "status",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "是否只查今日的合同 1-查今日合同",
  5636. "name": "istoday",
  5637. "in": "query"
  5638. }
  5639. ],
  5640. "responses": {
  5641. "200": {
  5642. "description": "OK",
  5643. "schema": {
  5644. "type": "array",
  5645. "items": {
  5646. "$ref": "#/definitions/models.Ermcp3Contract"
  5647. }
  5648. }
  5649. },
  5650. "500": {
  5651. "description": "Internal Server Error",
  5652. "schema": {
  5653. "$ref": "#/definitions/app.Response"
  5654. }
  5655. }
  5656. }
  5657. }
  5658. },
  5659. "/Ermcp3/QuerySpotContractBS": {
  5660. "get": {
  5661. "security": [
  5662. {
  5663. "ApiKeyAuth": []
  5664. }
  5665. ],
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "企业风险管理v3(app)"
  5671. ],
  5672. "summary": "查询合同(采购/销售)",
  5673. "parameters": [
  5674. {
  5675. "type": "integer",
  5676. "description": "用户id",
  5677. "name": "userid",
  5678. "in": "query",
  5679. "required": true
  5680. },
  5681. {
  5682. "type": "integer",
  5683. "description": "用户类型 2-机构 7-企业成员",
  5684. "name": "usertype",
  5685. "in": "query"
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "合同类型 1-采购, -1-销售",
  5690. "name": "contracttype",
  5691. "in": "query",
  5692. "required": true
  5693. },
  5694. {
  5695. "type": "integer",
  5696. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5697. "name": "querytype",
  5698. "in": "query"
  5699. },
  5700. {
  5701. "type": "string",
  5702. "description": "合同ID(SpotContractId)",
  5703. "name": "contractid",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5709. "name": "status",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "integer",
  5714. "description": "是否只查今日的合同 1-查今日合同",
  5715. "name": "istoday",
  5716. "in": "query"
  5717. }
  5718. ],
  5719. "responses": {
  5720. "200": {
  5721. "description": "OK",
  5722. "schema": {
  5723. "type": "array",
  5724. "items": {
  5725. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5726. }
  5727. }
  5728. },
  5729. "500": {
  5730. "description": "Internal Server Error",
  5731. "schema": {
  5732. "$ref": "#/definitions/app.Response"
  5733. }
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "/Ermcp3/QuerySpotGoodsPrice": {
  5739. "get": {
  5740. "security": [
  5741. {
  5742. "ApiKeyAuth": []
  5743. }
  5744. ],
  5745. "produces": [
  5746. "application/json"
  5747. ],
  5748. "tags": [
  5749. "企业风险管理v3(app)"
  5750. ],
  5751. "summary": "查询现货市价(现货市价)",
  5752. "parameters": [
  5753. {
  5754. "type": "integer",
  5755. "description": "用户ID",
  5756. "name": "userid",
  5757. "in": "query",
  5758. "required": true
  5759. }
  5760. ],
  5761. "responses": {
  5762. "200": {
  5763. "description": "OK",
  5764. "schema": {
  5765. "type": "array",
  5766. "items": {
  5767. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5768. }
  5769. }
  5770. },
  5771. "500": {
  5772. "description": "Internal Server Error",
  5773. "schema": {
  5774. "$ref": "#/definitions/app.Response"
  5775. }
  5776. }
  5777. }
  5778. }
  5779. },
  5780. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5781. "get": {
  5782. "security": [
  5783. {
  5784. "ApiKeyAuth": []
  5785. }
  5786. ],
  5787. "produces": [
  5788. "application/json"
  5789. ],
  5790. "tags": [
  5791. "企业风险管理v3(app)"
  5792. ],
  5793. "summary": "查询现货市价详情(现货市价/详情)",
  5794. "parameters": [
  5795. {
  5796. "type": "integer",
  5797. "description": "用户ID",
  5798. "name": "userid",
  5799. "in": "query",
  5800. "required": true
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "现货商品ID",
  5805. "name": "deliverygoodsid",
  5806. "in": "query",
  5807. "required": true
  5808. },
  5809. {
  5810. "type": "integer",
  5811. "description": "品牌ID",
  5812. "name": "brandid",
  5813. "in": "query"
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "品类ID",
  5818. "name": "wrstandardid",
  5819. "in": "query"
  5820. }
  5821. ],
  5822. "responses": {
  5823. "200": {
  5824. "description": "OK",
  5825. "schema": {
  5826. "type": "array",
  5827. "items": {
  5828. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5829. }
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/Ermcp3/QuerySubTaaccount": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "企业风险管理v3(app)"
  5854. ],
  5855. "summary": "查询期货子账户",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "母账号id",
  5860. "name": "parentaccountid",
  5861. "in": "query"
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "母账号代码",
  5866. "name": "parentaccountcode",
  5867. "in": "query"
  5868. }
  5869. ],
  5870. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "type": "array",
  5875. "items": {
  5876. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5877. }
  5878. }
  5879. },
  5880. "500": {
  5881. "description": "Internal Server Error",
  5882. "schema": {
  5883. "$ref": "#/definitions/app.Response"
  5884. }
  5885. }
  5886. }
  5887. }
  5888. },
  5889. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5890. "get": {
  5891. "security": [
  5892. {
  5893. "ApiKeyAuth": []
  5894. }
  5895. ],
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "企业风险管理v8"
  5901. ],
  5902. "summary": "现货成交明细查询",
  5903. "parameters": [
  5904. {
  5905. "type": "integer",
  5906. "description": "套期项目ID",
  5907. "name": "hedgeditemid",
  5908. "in": "query",
  5909. "required": true
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "type": "array",
  5917. "items": {
  5918. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5919. }
  5920. }
  5921. },
  5922. "500": {
  5923. "description": "Internal Server Error",
  5924. "schema": {
  5925. "$ref": "#/definitions/app.Response"
  5926. }
  5927. }
  5928. }
  5929. }
  5930. },
  5931. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5932. "get": {
  5933. "security": [
  5934. {
  5935. "ApiKeyAuth": []
  5936. }
  5937. ],
  5938. "produces": [
  5939. "application/json"
  5940. ],
  5941. "tags": [
  5942. "企业风险管理v8"
  5943. ],
  5944. "summary": "套期计划明细查询",
  5945. "parameters": [
  5946. {
  5947. "type": "integer",
  5948. "description": "套期项目ID",
  5949. "name": "hedgeditemid",
  5950. "in": "query",
  5951. "required": true
  5952. }
  5953. ],
  5954. "responses": {
  5955. "200": {
  5956. "description": "OK",
  5957. "schema": {
  5958. "type": "array",
  5959. "items": {
  5960. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5961. }
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/Ermcp8/QueryERMCPJRLinkPos": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "企业风险管理v8"
  5985. ],
  5986. "summary": "期货持仓明细查询",
  5987. "parameters": [
  5988. {
  5989. "type": "integer",
  5990. "description": "套期项目ID",
  5991. "name": "hedgeditemid",
  5992. "in": "query",
  5993. "required": true
  5994. }
  5995. ],
  5996. "responses": {
  5997. "200": {
  5998. "description": "OK",
  5999. "schema": {
  6000. "type": "array",
  6001. "items": {
  6002. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  6003. }
  6004. }
  6005. },
  6006. "500": {
  6007. "description": "Internal Server Error",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. }
  6012. }
  6013. }
  6014. },
  6015. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6016. "get": {
  6017. "security": [
  6018. {
  6019. "ApiKeyAuth": []
  6020. }
  6021. ],
  6022. "produces": [
  6023. "application/json"
  6024. ],
  6025. "tags": [
  6026. "企业风险管理v8"
  6027. ],
  6028. "summary": "期货成交单明细查询",
  6029. "parameters": [
  6030. {
  6031. "type": "integer",
  6032. "description": "套期项目ID",
  6033. "name": "hedgeditemid",
  6034. "in": "query",
  6035. "required": true
  6036. }
  6037. ],
  6038. "responses": {
  6039. "200": {
  6040. "description": "OK",
  6041. "schema": {
  6042. "type": "array",
  6043. "items": {
  6044. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6045. }
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/Ermcp8/QueryErmcp2AreaExposure": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "企业风险管理v8"
  6069. ],
  6070. "summary": "企业敞口查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "用户ID",
  6075. "name": "userid",
  6076. "in": "query",
  6077. "required": true
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "type": "array",
  6085. "items": {
  6086. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6087. }
  6088. }
  6089. },
  6090. "500": {
  6091. "description": "Internal Server Error",
  6092. "schema": {
  6093. "$ref": "#/definitions/app.Response"
  6094. }
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "/Ermcp8/QueryErmcp2HedgedItem": {
  6100. "get": {
  6101. "security": [
  6102. {
  6103. "ApiKeyAuth": []
  6104. }
  6105. ],
  6106. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6107. "produces": [
  6108. "application/json"
  6109. ],
  6110. "tags": [
  6111. "企业风险管理v8"
  6112. ],
  6113. "summary": "查询被套期项目信息",
  6114. "parameters": [
  6115. {
  6116. "type": "string",
  6117. "description": "用户ID",
  6118. "name": "userid",
  6119. "in": "query",
  6120. "required": true
  6121. },
  6122. {
  6123. "type": "integer",
  6124. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6125. "name": "hedgedtype",
  6126. "in": "query"
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6131. "name": "hedgeditemstatus",
  6132. "in": "query"
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "type": "array",
  6140. "items": {
  6141. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6142. }
  6143. }
  6144. },
  6145. "500": {
  6146. "description": "Internal Server Error",
  6147. "schema": {
  6148. "$ref": "#/definitions/app.Response"
  6149. }
  6150. }
  6151. }
  6152. }
  6153. },
  6154. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6155. "get": {
  6156. "security": [
  6157. {
  6158. "ApiKeyAuth": []
  6159. }
  6160. ],
  6161. "produces": [
  6162. "application/json"
  6163. ],
  6164. "tags": [
  6165. "企业风险管理v8"
  6166. ],
  6167. "summary": "现货合同关联被套期项目查询",
  6168. "parameters": [
  6169. {
  6170. "type": "integer",
  6171. "description": "现货合同ID",
  6172. "name": "spotcontractid",
  6173. "in": "query",
  6174. "required": true
  6175. }
  6176. ],
  6177. "responses": {
  6178. "200": {
  6179. "description": "OK",
  6180. "schema": {
  6181. "type": "array",
  6182. "items": {
  6183. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6184. }
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "企业风险管理v8"
  6208. ],
  6209. "summary": "敞口明细 - 计划变动明细",
  6210. "parameters": [
  6211. {
  6212. "type": "integer",
  6213. "description": "用户ID",
  6214. "name": "userid",
  6215. "in": "query",
  6216. "required": true
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "套保品种ID",
  6221. "name": "middlegoodsid",
  6222. "in": "query",
  6223. "required": true
  6224. }
  6225. ],
  6226. "responses": {
  6227. "200": {
  6228. "description": "OK",
  6229. "schema": {
  6230. "type": "array",
  6231. "items": {
  6232. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6233. }
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "企业风险管理v8"
  6257. ],
  6258. "summary": "敞口明细 - 现货变动明细查询",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "用户ID",
  6263. "name": "userid",
  6264. "in": "query",
  6265. "required": true
  6266. },
  6267. {
  6268. "type": "integer",
  6269. "description": "套保品种ID",
  6270. "name": "middlegoodsid",
  6271. "in": "query",
  6272. "required": true
  6273. }
  6274. ],
  6275. "responses": {
  6276. "200": {
  6277. "description": "OK",
  6278. "schema": {
  6279. "type": "array",
  6280. "items": {
  6281. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6282. }
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6295. "get": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "企业风险管理v8"
  6306. ],
  6307. "summary": "可关联项目查询",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "用户ID",
  6312. "name": "userid",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "integer",
  6318. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6319. "name": "spottype",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "integer",
  6325. "description": "现货商品ID",
  6326. "name": "wrstandardid",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "type": "array",
  6335. "items": {
  6336. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6337. }
  6338. }
  6339. },
  6340. "500": {
  6341. "description": "Internal Server Error",
  6342. "schema": {
  6343. "$ref": "#/definitions/app.Response"
  6344. }
  6345. }
  6346. }
  6347. }
  6348. },
  6349. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6350. "get": {
  6351. "security": [
  6352. {
  6353. "ApiKeyAuth": []
  6354. }
  6355. ],
  6356. "produces": [
  6357. "application/json"
  6358. ],
  6359. "tags": [
  6360. "企业风险管理v8"
  6361. ],
  6362. "summary": "套期项目报表查询",
  6363. "parameters": [
  6364. {
  6365. "type": "integer",
  6366. "description": "用户ID",
  6367. "name": "userid",
  6368. "in": "query",
  6369. "required": true
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6374. "name": "cycletype",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "string",
  6379. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6380. "name": "cycletime",
  6381. "in": "query",
  6382. "required": true
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6387. "name": "hedgedtype",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6393. "name": "hedgeditemstatus",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "string",
  6398. "description": "项目编号,模糊查询",
  6399. "name": "hedgeditemnum",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "integer",
  6404. "description": "现货商品ID",
  6405. "name": "wrstandardid",
  6406. "in": "query"
  6407. }
  6408. ],
  6409. "responses": {
  6410. "200": {
  6411. "description": "OK",
  6412. "schema": {
  6413. "type": "array",
  6414. "items": {
  6415. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6416. }
  6417. }
  6418. },
  6419. "500": {
  6420. "description": "Internal Server Error",
  6421. "schema": {
  6422. "$ref": "#/definitions/app.Response"
  6423. }
  6424. }
  6425. }
  6426. }
  6427. },
  6428. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6429. "get": {
  6430. "security": [
  6431. {
  6432. "ApiKeyAuth": []
  6433. }
  6434. ],
  6435. "produces": [
  6436. "application/json"
  6437. ],
  6438. "tags": [
  6439. "企业风险管理v8"
  6440. ],
  6441. "summary": "查询执行中项目查询信息",
  6442. "parameters": [
  6443. {
  6444. "type": "string",
  6445. "description": "用户ID",
  6446. "name": "userid",
  6447. "in": "query",
  6448. "required": true
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "type": "array",
  6456. "items": {
  6457. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6458. }
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6471. "get": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "企业风险管理v8"
  6482. ],
  6483. "summary": "内部成交单可关联项目查询",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "企业ID",
  6488. "name": "areauserid",
  6489. "in": "query",
  6490. "required": true
  6491. },
  6492. {
  6493. "type": "integer",
  6494. "description": "期货合约ID",
  6495. "name": "goodsid",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "integer",
  6501. "description": "交易用户ID",
  6502. "name": "tradeuserid",
  6503. "in": "query",
  6504. "required": true
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "type": "array",
  6512. "items": {
  6513. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6514. }
  6515. }
  6516. },
  6517. "500": {
  6518. "description": "Internal Server Error",
  6519. "schema": {
  6520. "$ref": "#/definitions/app.Response"
  6521. }
  6522. }
  6523. }
  6524. }
  6525. },
  6526. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6527. "get": {
  6528. "security": [
  6529. {
  6530. "ApiKeyAuth": []
  6531. }
  6532. ],
  6533. "produces": [
  6534. "application/json"
  6535. ],
  6536. "tags": [
  6537. "企业风险管理v8"
  6538. ],
  6539. "summary": "内部未关联成交单查询",
  6540. "parameters": [
  6541. {
  6542. "type": "integer",
  6543. "description": "用户编号",
  6544. "name": "userid",
  6545. "in": "query",
  6546. "required": true
  6547. },
  6548. {
  6549. "type": "string",
  6550. "description": "起始日期(格式yyyymmdd)",
  6551. "name": "begindate",
  6552. "in": "query"
  6553. },
  6554. {
  6555. "type": "string",
  6556. "description": "终止日期(格式yyyymmdd)",
  6557. "name": "enddate",
  6558. "in": "query"
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "合约代码",
  6563. "name": "goodscode",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "合约名称",
  6569. "name": "goodsname",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "成交单号",
  6575. "name": "tradeid",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "integer",
  6580. "description": "方向 - 0:买 1:卖",
  6581. "name": "buyorsell",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "string",
  6586. "description": "套期主体",
  6587. "name": "accountname",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "type": "array",
  6596. "items": {
  6597. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6598. }
  6599. }
  6600. },
  6601. "500": {
  6602. "description": "Internal Server Error",
  6603. "schema": {
  6604. "$ref": "#/definitions/app.Response"
  6605. }
  6606. }
  6607. }
  6608. }
  6609. },
  6610. "/Ermcp8/QueryMarketCalendar": {
  6611. "get": {
  6612. "security": [
  6613. {
  6614. "ApiKeyAuth": []
  6615. }
  6616. ],
  6617. "produces": [
  6618. "application/json"
  6619. ],
  6620. "tags": [
  6621. "企业风险管理v8"
  6622. ],
  6623. "summary": "市场节假日查询",
  6624. "parameters": [
  6625. {
  6626. "type": "integer",
  6627. "description": "市场ID",
  6628. "name": "marketid",
  6629. "in": "query"
  6630. }
  6631. ],
  6632. "responses": {
  6633. "200": {
  6634. "description": "OK",
  6635. "schema": {
  6636. "type": "array",
  6637. "items": {
  6638. "$ref": "#/definitions/models.Marketcalendar"
  6639. }
  6640. }
  6641. },
  6642. "500": {
  6643. "description": "Internal Server Error",
  6644. "schema": {
  6645. "$ref": "#/definitions/app.Response"
  6646. }
  6647. }
  6648. }
  6649. }
  6650. },
  6651. "/Ermcp8/QueryPatradeLinkDetail": {
  6652. "get": {
  6653. "security": [
  6654. {
  6655. "ApiKeyAuth": []
  6656. }
  6657. ],
  6658. "produces": [
  6659. "application/json"
  6660. ],
  6661. "tags": [
  6662. "企业风险管理v8"
  6663. ],
  6664. "summary": "敞口明细 - 期货变动明细",
  6665. "parameters": [
  6666. {
  6667. "type": "integer",
  6668. "description": "用户ID",
  6669. "name": "userid",
  6670. "in": "query",
  6671. "required": true
  6672. },
  6673. {
  6674. "type": "integer",
  6675. "description": "套保品种ID",
  6676. "name": "middlegoodsid",
  6677. "in": "query",
  6678. "required": true
  6679. }
  6680. ],
  6681. "responses": {
  6682. "200": {
  6683. "description": "OK",
  6684. "schema": {
  6685. "type": "array",
  6686. "items": {
  6687. "$ref": "#/definitions/models.Patradelinkdetail"
  6688. }
  6689. }
  6690. },
  6691. "500": {
  6692. "description": "Internal Server Error",
  6693. "schema": {
  6694. "$ref": "#/definitions/app.Response"
  6695. }
  6696. }
  6697. }
  6698. }
  6699. },
  6700. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6701. "get": {
  6702. "security": [
  6703. {
  6704. "ApiKeyAuth": []
  6705. }
  6706. ],
  6707. "produces": [
  6708. "application/json"
  6709. ],
  6710. "tags": [
  6711. "企业风险管理v8"
  6712. ],
  6713. "summary": "未关联购销计划",
  6714. "parameters": [
  6715. {
  6716. "type": "integer",
  6717. "description": "企业ID",
  6718. "name": "areauserid",
  6719. "in": "query",
  6720. "required": true
  6721. },
  6722. {
  6723. "type": "integer",
  6724. "description": "计划类型 - 1:采购 -1:销售",
  6725. "name": "contracttype",
  6726. "in": "query"
  6727. },
  6728. {
  6729. "type": "string",
  6730. "description": "计划编号,模糊查询",
  6731. "name": "hedgeplanno",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "现货商品,模糊查询",
  6737. "name": "wrstandardname",
  6738. "in": "query"
  6739. }
  6740. ],
  6741. "responses": {
  6742. "200": {
  6743. "description": "OK",
  6744. "schema": {
  6745. "type": "array",
  6746. "items": {
  6747. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6748. }
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Ermcp8/QueryUnLinkSpotContract": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "企业风险管理v8"
  6772. ],
  6773. "summary": "未关联合同查询",
  6774. "parameters": [
  6775. {
  6776. "type": "integer",
  6777. "description": "用户ID",
  6778. "name": "userid",
  6779. "in": "query",
  6780. "required": true
  6781. },
  6782. {
  6783. "type": "integer",
  6784. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6785. "name": "pricetype",
  6786. "in": "query"
  6787. },
  6788. {
  6789. "type": "string",
  6790. "description": "合同编号, 模拟查询",
  6791. "name": "contractno",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "string",
  6796. "description": "对手方, 模拟查询",
  6797. "name": "customername",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "integer",
  6802. "description": "项合同类型 - 1:采购 -1:销售",
  6803. "name": "contracttype",
  6804. "in": "query"
  6805. }
  6806. ],
  6807. "responses": {
  6808. "200": {
  6809. "description": "OK",
  6810. "schema": {
  6811. "type": "array",
  6812. "items": {
  6813. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6814. }
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/Erms2/QueryArbitrageStrategy": {
  6827. "get": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "风险管理"
  6838. ],
  6839. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "账户ID",
  6844. "name": "userid",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "商品组ID(品种ID)",
  6851. "name": "goodsgroupid",
  6852. "in": "query"
  6853. }
  6854. ],
  6855. "responses": {
  6856. "200": {
  6857. "description": "OK",
  6858. "schema": {
  6859. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6860. }
  6861. },
  6862. "500": {
  6863. "description": "Internal Server Error",
  6864. "schema": {
  6865. "$ref": "#/definitions/app.Response"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "/Erms2/QueryInnerTradeDetail": {
  6872. "get": {
  6873. "security": [
  6874. {
  6875. "ApiKeyAuth": []
  6876. }
  6877. ],
  6878. "produces": [
  6879. "application/json"
  6880. ],
  6881. "tags": [
  6882. "风险管理"
  6883. ],
  6884. "summary": "查询内部成交单信息",
  6885. "parameters": [
  6886. {
  6887. "type": "integer",
  6888. "description": "资金账户",
  6889. "name": "accountid",
  6890. "in": "query",
  6891. "required": true
  6892. }
  6893. ],
  6894. "responses": {
  6895. "200": {
  6896. "description": "OK",
  6897. "schema": {
  6898. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6899. }
  6900. },
  6901. "500": {
  6902. "description": "Internal Server Error",
  6903. "schema": {
  6904. "$ref": "#/definitions/app.Response"
  6905. }
  6906. }
  6907. }
  6908. }
  6909. },
  6910. "/Erms2/QuerySpotContract": {
  6911. "get": {
  6912. "security": [
  6913. {
  6914. "ApiKeyAuth": []
  6915. }
  6916. ],
  6917. "produces": [
  6918. "application/json"
  6919. ],
  6920. "tags": [
  6921. "风险管理"
  6922. ],
  6923. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6924. "parameters": [
  6925. {
  6926. "type": "integer",
  6927. "description": "策略申请ID",
  6928. "name": "asapplyid",
  6929. "in": "query",
  6930. "required": true
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "现货合同ID",
  6935. "name": "spotcontractid",
  6936. "in": "query"
  6937. }
  6938. ],
  6939. "responses": {
  6940. "200": {
  6941. "description": "OK",
  6942. "schema": {
  6943. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6944. }
  6945. },
  6946. "500": {
  6947. "description": "Internal Server Error",
  6948. "schema": {
  6949. "$ref": "#/definitions/app.Response"
  6950. }
  6951. }
  6952. }
  6953. }
  6954. },
  6955. "/Erms3/AddErms2ASApply": {
  6956. "post": {
  6957. "security": [
  6958. {
  6959. "ApiKeyAuth": []
  6960. }
  6961. ],
  6962. "produces": [
  6963. "application/json"
  6964. ],
  6965. "tags": [
  6966. "风险管理v3"
  6967. ],
  6968. "summary": "新增期现套利业务申请",
  6969. "parameters": [
  6970. {
  6971. "description": "申请参数",
  6972. "name": "jsonBody",
  6973. "in": "body",
  6974. "required": true,
  6975. "schema": {
  6976. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6977. }
  6978. }
  6979. ],
  6980. "responses": {
  6981. "200": {
  6982. "description": "OK",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. },
  6987. "500": {
  6988. "description": "Internal Server Error",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. }
  6993. }
  6994. }
  6995. },
  6996. "/Erms3/AddErms2SpotTradeApply": {
  6997. "post": {
  6998. "security": [
  6999. {
  7000. "ApiKeyAuth": []
  7001. }
  7002. ],
  7003. "produces": [
  7004. "application/json"
  7005. ],
  7006. "tags": [
  7007. "风险管理v3"
  7008. ],
  7009. "summary": "新增现货贸易业务申请",
  7010. "parameters": [
  7011. {
  7012. "description": "申请参数",
  7013. "name": "jsonBody",
  7014. "in": "body",
  7015. "required": true,
  7016. "schema": {
  7017. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7018. }
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/app.Response"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/Erms3/AddSpotContractApply": {
  7038. "post": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "produces": [
  7045. "application/json"
  7046. ],
  7047. "tags": [
  7048. "风险管理v3"
  7049. ],
  7050. "summary": "新增现货合同申请",
  7051. "parameters": [
  7052. {
  7053. "description": "申请参数",
  7054. "name": "jsonBody",
  7055. "in": "body",
  7056. "required": true,
  7057. "schema": {
  7058. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7059. }
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/Erms3/AddUserInfoApply": {
  7079. "post": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "produces": [
  7086. "application/json"
  7087. ],
  7088. "tags": [
  7089. "风险管理v3"
  7090. ],
  7091. "summary": "新增客户申请",
  7092. "parameters": [
  7093. {
  7094. "description": "用户信息",
  7095. "name": "jsonBody",
  7096. "in": "body",
  7097. "required": true,
  7098. "schema": {
  7099. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7100. }
  7101. }
  7102. ],
  7103. "responses": {
  7104. "200": {
  7105. "description": "OK",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. },
  7110. "500": {
  7111. "description": "Internal Server Error",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. }
  7116. }
  7117. }
  7118. },
  7119. "/Erms3/DeleteUserInfoApply": {
  7120. "get": {
  7121. "security": [
  7122. {
  7123. "ApiKeyAuth": []
  7124. }
  7125. ],
  7126. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7127. "produces": [
  7128. "application/json"
  7129. ],
  7130. "tags": [
  7131. "风险管理v3"
  7132. ],
  7133. "summary": "删除客户申请",
  7134. "parameters": [
  7135. {
  7136. "type": "integer",
  7137. "description": "用户ID",
  7138. "name": "userID",
  7139. "in": "query",
  7140. "required": true
  7141. }
  7142. ],
  7143. "responses": {
  7144. "200": {
  7145. "description": "OK",
  7146. "schema": {
  7147. "$ref": "#/definitions/app.Response"
  7148. }
  7149. },
  7150. "500": {
  7151. "description": "Internal Server Error",
  7152. "schema": {
  7153. "$ref": "#/definitions/app.Response"
  7154. }
  7155. }
  7156. }
  7157. }
  7158. },
  7159. "/Erms3/ModifyUserInfoApply": {
  7160. "post": {
  7161. "security": [
  7162. {
  7163. "ApiKeyAuth": []
  7164. }
  7165. ],
  7166. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7167. "produces": [
  7168. "application/json"
  7169. ],
  7170. "tags": [
  7171. "风险管理v3"
  7172. ],
  7173. "summary": "修改客户申请",
  7174. "parameters": [
  7175. {
  7176. "description": "用户信息",
  7177. "name": "jsonBody",
  7178. "in": "body",
  7179. "required": true,
  7180. "schema": {
  7181. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7182. }
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/app.Response"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/Erms3/QueryBusinessInfo": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "风险管理v3"
  7213. ],
  7214. "summary": "查询业务表单数据",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "资金账号ID列表,用逗号分隔",
  7219. "name": "accountids",
  7220. "in": "query",
  7221. "required": true
  7222. },
  7223. {
  7224. "type": "integer",
  7225. "description": "状态,0为未结束 1为已结束",
  7226. "name": "status",
  7227. "in": "query",
  7228. "required": true
  7229. }
  7230. ],
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "type": "array",
  7236. "items": {
  7237. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7238. }
  7239. }
  7240. },
  7241. "500": {
  7242. "description": "Internal Server Error",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. }
  7247. }
  7248. }
  7249. },
  7250. "/Erms3/QueryPendingAuditContract": {
  7251. "get": {
  7252. "security": [
  7253. {
  7254. "ApiKeyAuth": []
  7255. }
  7256. ],
  7257. "produces": [
  7258. "application/json"
  7259. ],
  7260. "tags": [
  7261. "风险管理v3"
  7262. ],
  7263. "summary": "查询待审核合同",
  7264. "parameters": [
  7265. {
  7266. "type": "string",
  7267. "description": "资金账号ID列表,逗号隔开",
  7268. "name": "accountids",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "合同类型 1-采购 -1-销售",
  7275. "name": "contracttype",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "integer",
  7281. "description": "合同模式 1-普通 2-回购",
  7282. "name": "contractmode",
  7283. "in": "query",
  7284. "required": true
  7285. }
  7286. ],
  7287. "responses": {
  7288. "200": {
  7289. "description": "OK",
  7290. "schema": {
  7291. "type": "array",
  7292. "items": {
  7293. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7294. }
  7295. }
  7296. },
  7297. "500": {
  7298. "description": "Internal Server Error",
  7299. "schema": {
  7300. "$ref": "#/definitions/app.Response"
  7301. }
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "/Erms3/QueryPendingBusiness": {
  7307. "get": {
  7308. "security": [
  7309. {
  7310. "ApiKeyAuth": []
  7311. }
  7312. ],
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "风险管理v3"
  7318. ],
  7319. "summary": "查询待审核基差贸易业务",
  7320. "parameters": [
  7321. {
  7322. "type": "string",
  7323. "description": "资金账号ID列表,逗号隔开",
  7324. "name": "accountids",
  7325. "in": "query",
  7326. "required": true
  7327. }
  7328. ],
  7329. "responses": {
  7330. "200": {
  7331. "description": "OK",
  7332. "schema": {
  7333. "type": "array",
  7334. "items": {
  7335. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7336. }
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/Erms3/QuerySpotContractAppleForm": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "风险管理v3"
  7360. ],
  7361. "summary": "查询合同申请表单数据",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "登录账号",
  7366. "name": "loginID",
  7367. "in": "query",
  7368. "required": true
  7369. }
  7370. ],
  7371. "responses": {
  7372. "200": {
  7373. "description": "OK",
  7374. "schema": {
  7375. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7376. }
  7377. },
  7378. "500": {
  7379. "description": "Internal Server Error",
  7380. "schema": {
  7381. "$ref": "#/definitions/app.Response"
  7382. }
  7383. }
  7384. }
  7385. }
  7386. },
  7387. "/Erms3/QuerySpotContractDetail": {
  7388. "get": {
  7389. "security": [
  7390. {
  7391. "ApiKeyAuth": []
  7392. }
  7393. ],
  7394. "produces": [
  7395. "application/json"
  7396. ],
  7397. "tags": [
  7398. "风险管理v3"
  7399. ],
  7400. "summary": "查询合同详细信息",
  7401. "parameters": [
  7402. {
  7403. "type": "string",
  7404. "description": "资金账号ID列表,用逗号分隔",
  7405. "name": "accountids",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "integer",
  7411. "description": "合同类型,1为采购合同 -1为销售合同",
  7412. "name": "contracttype",
  7413. "in": "query",
  7414. "required": true
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "合同模式,1为普通合同 2为回购销售合同",
  7419. "name": "contractmode",
  7420. "in": "query",
  7421. "required": true
  7422. },
  7423. {
  7424. "type": "integer",
  7425. "description": "状态,0为履约中 1为已完成",
  7426. "name": "status",
  7427. "in": "query",
  7428. "required": true
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "OK",
  7434. "schema": {
  7435. "type": "array",
  7436. "items": {
  7437. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7438. }
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Erms3/QueryUserInfoApplies": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "风险管理v3"
  7462. ],
  7463. "summary": "客户申请信息查询",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "页码",
  7468. "name": "page",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "integer",
  7473. "description": "每页条数",
  7474. "name": "pagesize",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "string",
  7479. "description": "客户名称,支持模糊查询",
  7480. "name": "userName",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7489. }
  7490. },
  7491. "500": {
  7492. "description": "Internal Server Error",
  7493. "schema": {
  7494. "$ref": "#/definitions/app.Response"
  7495. }
  7496. }
  7497. }
  7498. }
  7499. },
  7500. "/Erms3/QueryUserInfos": {
  7501. "get": {
  7502. "security": [
  7503. {
  7504. "ApiKeyAuth": []
  7505. }
  7506. ],
  7507. "produces": [
  7508. "application/json"
  7509. ],
  7510. "tags": [
  7511. "风险管理v3"
  7512. ],
  7513. "summary": "客户信息查询",
  7514. "parameters": [
  7515. {
  7516. "type": "integer",
  7517. "description": "页码",
  7518. "name": "page",
  7519. "in": "query"
  7520. },
  7521. {
  7522. "type": "integer",
  7523. "description": "每页条数",
  7524. "name": "pagesize",
  7525. "in": "query"
  7526. },
  7527. {
  7528. "type": "string",
  7529. "description": "客户名称,支持模糊查询",
  7530. "name": "userName",
  7531. "in": "query"
  7532. }
  7533. ],
  7534. "responses": {
  7535. "200": {
  7536. "description": "OK",
  7537. "schema": {
  7538. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7539. }
  7540. },
  7541. "500": {
  7542. "description": "Internal Server Error",
  7543. "schema": {
  7544. "$ref": "#/definitions/app.Response"
  7545. }
  7546. }
  7547. }
  7548. }
  7549. },
  7550. "/Guangzuan/GetGoods": {
  7551. "get": {
  7552. "security": [
  7553. {
  7554. "ApiKeyAuth": []
  7555. },
  7556. {
  7557. "LoginID": []
  7558. },
  7559. {
  7560. "Group": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "广钻"
  7568. ],
  7569. "summary": "获取钻石详情",
  7570. "parameters": [
  7571. {
  7572. "type": "string",
  7573. "description": "商品编号",
  7574. "name": "goodsno",
  7575. "in": "query",
  7576. "required": true
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "$ref": "#/definitions/models.GZGoods"
  7584. }
  7585. },
  7586. "500": {
  7587. "description": "Internal Server Error",
  7588. "schema": {
  7589. "$ref": "#/definitions/app.Response"
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "/Guangzuan/QueryBuyOrder": {
  7596. "get": {
  7597. "security": [
  7598. {
  7599. "ApiKeyAuth": []
  7600. },
  7601. {
  7602. "LoginID": []
  7603. },
  7604. {
  7605. "Group": []
  7606. }
  7607. ],
  7608. "produces": [
  7609. "application/json"
  7610. ],
  7611. "tags": [
  7612. "广钻"
  7613. ],
  7614. "summary": "查询求购大厅委托单",
  7615. "parameters": [
  7616. {
  7617. "type": "integer",
  7618. "description": "页码",
  7619. "name": "page",
  7620. "in": "query"
  7621. },
  7622. {
  7623. "type": "integer",
  7624. "description": "每页条数",
  7625. "name": "pagesize",
  7626. "in": "query"
  7627. },
  7628. {
  7629. "type": "string",
  7630. "description": "商品(查询字段-模糊查询)",
  7631. "name": "zsallproperties",
  7632. "in": "query"
  7633. },
  7634. {
  7635. "type": "string",
  7636. "description": "钻石分类, 格式:1,2,3",
  7637. "name": "zscategorys",
  7638. "in": "query"
  7639. },
  7640. {
  7641. "type": "integer",
  7642. "description": "委托单号",
  7643. "name": "wrtradeorderid",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "string",
  7648. "description": "买方(查询字段-模糊查询)",
  7649. "name": "buyusername",
  7650. "in": "query"
  7651. }
  7652. ],
  7653. "responses": {
  7654. "200": {
  7655. "description": "OK",
  7656. "schema": {
  7657. "type": "array",
  7658. "items": {
  7659. "$ref": "#/definitions/models.BuyOrder"
  7660. }
  7661. }
  7662. },
  7663. "500": {
  7664. "description": "Internal Server Error",
  7665. "schema": {
  7666. "$ref": "#/definitions/app.Response"
  7667. }
  7668. }
  7669. }
  7670. }
  7671. },
  7672. "/Guangzuan/QueryDiamond": {
  7673. "post": {
  7674. "security": [
  7675. {
  7676. "ApiKeyAuth": []
  7677. },
  7678. {
  7679. "LoginID": []
  7680. },
  7681. {
  7682. "Group": []
  7683. }
  7684. ],
  7685. "produces": [
  7686. "application/json"
  7687. ],
  7688. "tags": [
  7689. "广钻"
  7690. ],
  7691. "summary": "钻石搜索",
  7692. "parameters": [
  7693. {
  7694. "description": "钻石搜索入参",
  7695. "name": "data",
  7696. "in": "body",
  7697. "required": true,
  7698. "schema": {
  7699. "$ref": "#/definitions/models.SellOrderQueryReq"
  7700. }
  7701. }
  7702. ],
  7703. "responses": {
  7704. "200": {
  7705. "description": "OK",
  7706. "schema": {
  7707. "type": "array",
  7708. "items": {
  7709. "$ref": "#/definitions/models.SellOrder"
  7710. }
  7711. }
  7712. },
  7713. "500": {
  7714. "description": "Internal Server Error",
  7715. "schema": {
  7716. "$ref": "#/definitions/app.Response"
  7717. }
  7718. }
  7719. }
  7720. }
  7721. },
  7722. "/Guangzuan/QueryMyBargainApply": {
  7723. "get": {
  7724. "security": [
  7725. {
  7726. "ApiKeyAuth": []
  7727. },
  7728. {
  7729. "LoginID": []
  7730. },
  7731. {
  7732. "Group": []
  7733. }
  7734. ],
  7735. "produces": [
  7736. "application/json"
  7737. ],
  7738. "tags": [
  7739. "广钻"
  7740. ],
  7741. "summary": "查询我的询价-求购",
  7742. "parameters": [
  7743. {
  7744. "type": "integer",
  7745. "description": "用户ID",
  7746. "name": "userid",
  7747. "in": "query",
  7748. "required": true
  7749. },
  7750. {
  7751. "type": "integer",
  7752. "description": "页码",
  7753. "name": "page",
  7754. "in": "query"
  7755. },
  7756. {
  7757. "type": "integer",
  7758. "description": "每页条数",
  7759. "name": "pagesize",
  7760. "in": "query"
  7761. },
  7762. {
  7763. "type": "integer",
  7764. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7765. "name": "applystatus",
  7766. "in": "query"
  7767. }
  7768. ],
  7769. "responses": {
  7770. "200": {
  7771. "description": "OK",
  7772. "schema": {
  7773. "type": "array",
  7774. "items": {
  7775. "$ref": "#/definitions/models.MyBargainApply"
  7776. }
  7777. }
  7778. },
  7779. "500": {
  7780. "description": "Internal Server Error",
  7781. "schema": {
  7782. "$ref": "#/definitions/app.Response"
  7783. }
  7784. }
  7785. }
  7786. }
  7787. },
  7788. "/Guangzuan/QueryMyBuyOrder": {
  7789. "get": {
  7790. "security": [
  7791. {
  7792. "ApiKeyAuth": []
  7793. },
  7794. {
  7795. "LoginID": []
  7796. },
  7797. {
  7798. "Group": []
  7799. }
  7800. ],
  7801. "produces": [
  7802. "application/json"
  7803. ],
  7804. "tags": [
  7805. "广钻"
  7806. ],
  7807. "summary": "查询我的求购",
  7808. "parameters": [
  7809. {
  7810. "type": "integer",
  7811. "description": "用户ID",
  7812. "name": "userid",
  7813. "in": "query",
  7814. "required": true
  7815. },
  7816. {
  7817. "type": "integer",
  7818. "description": "页码",
  7819. "name": "page",
  7820. "in": "query"
  7821. },
  7822. {
  7823. "type": "integer",
  7824. "description": "每页条数",
  7825. "name": "pagesize",
  7826. "in": "query"
  7827. },
  7828. {
  7829. "type": "string",
  7830. "description": "商品(查询字段-模糊查询)",
  7831. "name": "zsallproperties",
  7832. "in": "query"
  7833. },
  7834. {
  7835. "type": "string",
  7836. "description": "钻石分类, 格式:1,2,3",
  7837. "name": "zscategorys",
  7838. "in": "query"
  7839. },
  7840. {
  7841. "type": "integer",
  7842. "description": "委托单号",
  7843. "name": "wrtradeorderid",
  7844. "in": "query"
  7845. },
  7846. {
  7847. "type": "boolean",
  7848. "description": "是否历史查询",
  7849. "name": "ishis",
  7850. "in": "query"
  7851. }
  7852. ],
  7853. "responses": {
  7854. "200": {
  7855. "description": "OK",
  7856. "schema": {
  7857. "type": "array",
  7858. "items": {
  7859. "$ref": "#/definitions/models.MyBuyOrder"
  7860. }
  7861. }
  7862. },
  7863. "500": {
  7864. "description": "Internal Server Error",
  7865. "schema": {
  7866. "$ref": "#/definitions/app.Response"
  7867. }
  7868. }
  7869. }
  7870. }
  7871. },
  7872. "/Guangzuan/QueryMyDeListing": {
  7873. "get": {
  7874. "security": [
  7875. {
  7876. "ApiKeyAuth": []
  7877. },
  7878. {
  7879. "LoginID": []
  7880. },
  7881. {
  7882. "Group": []
  7883. }
  7884. ],
  7885. "produces": [
  7886. "application/json"
  7887. ],
  7888. "tags": [
  7889. "广钻"
  7890. ],
  7891. "summary": "查询我的摘牌",
  7892. "parameters": [
  7893. {
  7894. "type": "integer",
  7895. "description": "用户ID",
  7896. "name": "userid",
  7897. "in": "query",
  7898. "required": true
  7899. },
  7900. {
  7901. "type": "integer",
  7902. "description": "页码",
  7903. "name": "page",
  7904. "in": "query"
  7905. },
  7906. {
  7907. "type": "integer",
  7908. "description": "每页条数",
  7909. "name": "pagesize",
  7910. "in": "query"
  7911. },
  7912. {
  7913. "type": "string",
  7914. "description": "商品(查询字段-模糊查询)",
  7915. "name": "zsallproperties",
  7916. "in": "query"
  7917. },
  7918. {
  7919. "type": "string",
  7920. "description": "钻石分类, 格式:1,2,3",
  7921. "name": "zscategorys",
  7922. "in": "query"
  7923. },
  7924. {
  7925. "type": "integer",
  7926. "description": "成交单号",
  7927. "name": "wrtradedetailid",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "integer",
  7932. "description": "方向,0-全部(可不传) 1-购买 2-出售",
  7933. "name": "buyorsell",
  7934. "in": "query"
  7935. },
  7936. {
  7937. "type": "string",
  7938. "description": "开始交易日(yyyymmdd)",
  7939. "name": "begindate",
  7940. "in": "query"
  7941. },
  7942. {
  7943. "type": "string",
  7944. "description": "结束交易日(yyyymmdd)",
  7945. "name": "enddate",
  7946. "in": "query"
  7947. }
  7948. ],
  7949. "responses": {
  7950. "200": {
  7951. "description": "OK",
  7952. "schema": {
  7953. "type": "array",
  7954. "items": {
  7955. "$ref": "#/definitions/models.MyDeListing"
  7956. }
  7957. }
  7958. },
  7959. "500": {
  7960. "description": "Internal Server Error",
  7961. "schema": {
  7962. "$ref": "#/definitions/app.Response"
  7963. }
  7964. }
  7965. }
  7966. }
  7967. },
  7968. "/Guangzuan/QueryMyDelistingApply": {
  7969. "get": {
  7970. "security": [
  7971. {
  7972. "ApiKeyAuth": []
  7973. },
  7974. {
  7975. "LoginID": []
  7976. },
  7977. {
  7978. "Group": []
  7979. }
  7980. ],
  7981. "produces": [
  7982. "application/json"
  7983. ],
  7984. "tags": [
  7985. "广钻"
  7986. ],
  7987. "summary": "查询我的询价-出售",
  7988. "parameters": [
  7989. {
  7990. "type": "integer",
  7991. "description": "用户ID",
  7992. "name": "userid",
  7993. "in": "query",
  7994. "required": true
  7995. },
  7996. {
  7997. "type": "integer",
  7998. "description": "页码",
  7999. "name": "page",
  8000. "in": "query"
  8001. },
  8002. {
  8003. "type": "integer",
  8004. "description": "每页条数",
  8005. "name": "pagesize",
  8006. "in": "query"
  8007. },
  8008. {
  8009. "type": "integer",
  8010. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8011. "name": "applystatus",
  8012. "in": "query"
  8013. }
  8014. ],
  8015. "responses": {
  8016. "200": {
  8017. "description": "OK",
  8018. "schema": {
  8019. "type": "array",
  8020. "items": {
  8021. "$ref": "#/definitions/models.MyDelistingApply"
  8022. }
  8023. }
  8024. },
  8025. "500": {
  8026. "description": "Internal Server Error",
  8027. "schema": {
  8028. "$ref": "#/definitions/app.Response"
  8029. }
  8030. }
  8031. }
  8032. }
  8033. },
  8034. "/Guangzuan/QueryMySellOrder": {
  8035. "get": {
  8036. "security": [
  8037. {
  8038. "ApiKeyAuth": []
  8039. },
  8040. {
  8041. "LoginID": []
  8042. },
  8043. {
  8044. "Group": []
  8045. }
  8046. ],
  8047. "produces": [
  8048. "application/json"
  8049. ],
  8050. "tags": [
  8051. "广钻"
  8052. ],
  8053. "summary": "查询我的出售",
  8054. "parameters": [
  8055. {
  8056. "type": "integer",
  8057. "description": "用户ID",
  8058. "name": "userid",
  8059. "in": "query",
  8060. "required": true
  8061. },
  8062. {
  8063. "type": "integer",
  8064. "description": "页码",
  8065. "name": "page",
  8066. "in": "query"
  8067. },
  8068. {
  8069. "type": "integer",
  8070. "description": "每页条数",
  8071. "name": "pagesize",
  8072. "in": "query"
  8073. },
  8074. {
  8075. "type": "string",
  8076. "description": "商品(查询字段-模糊查询)",
  8077. "name": "zsallproperties",
  8078. "in": "query"
  8079. },
  8080. {
  8081. "type": "string",
  8082. "description": "钻石分类, 格式:1,2,3",
  8083. "name": "zscategorys",
  8084. "in": "query"
  8085. },
  8086. {
  8087. "type": "integer",
  8088. "description": "委托单号",
  8089. "name": "wrtradeorderid",
  8090. "in": "query"
  8091. },
  8092. {
  8093. "type": "boolean",
  8094. "description": "是否历史查询",
  8095. "name": "ishis",
  8096. "in": "query"
  8097. }
  8098. ],
  8099. "responses": {
  8100. "200": {
  8101. "description": "OK",
  8102. "schema": {
  8103. "type": "array",
  8104. "items": {
  8105. "$ref": "#/definitions/models.MySellOrder"
  8106. }
  8107. }
  8108. },
  8109. "500": {
  8110. "description": "Internal Server Error",
  8111. "schema": {
  8112. "$ref": "#/definitions/app.Response"
  8113. }
  8114. }
  8115. }
  8116. }
  8117. },
  8118. "/Guangzuan/QueryMyWRPosition": {
  8119. "get": {
  8120. "security": [
  8121. {
  8122. "ApiKeyAuth": []
  8123. },
  8124. {
  8125. "LoginID": []
  8126. },
  8127. {
  8128. "Group": []
  8129. }
  8130. ],
  8131. "produces": [
  8132. "application/json"
  8133. ],
  8134. "tags": [
  8135. "广钻"
  8136. ],
  8137. "summary": "查询我的库存",
  8138. "parameters": [
  8139. {
  8140. "type": "integer",
  8141. "description": "页码",
  8142. "name": "page",
  8143. "in": "query"
  8144. },
  8145. {
  8146. "type": "integer",
  8147. "description": "每页条数",
  8148. "name": "pagesize",
  8149. "in": "query"
  8150. },
  8151. {
  8152. "type": "integer",
  8153. "description": "登录用户ID",
  8154. "name": "wruserid",
  8155. "in": "query",
  8156. "required": true
  8157. },
  8158. {
  8159. "type": "string",
  8160. "description": "商品(查询字段-模糊查询)",
  8161. "name": "zsallproperties",
  8162. "in": "query"
  8163. },
  8164. {
  8165. "type": "string",
  8166. "description": "钻石分类, 格式:1,2,3",
  8167. "name": "zscategorys",
  8168. "in": "query"
  8169. },
  8170. {
  8171. "type": "integer",
  8172. "description": "仓库ID",
  8173. "name": "warehouseid",
  8174. "in": "query"
  8175. }
  8176. ],
  8177. "responses": {
  8178. "200": {
  8179. "description": "OK",
  8180. "schema": {
  8181. "type": "array",
  8182. "items": {
  8183. "$ref": "#/definitions/models.MyWRPosition"
  8184. }
  8185. }
  8186. },
  8187. "500": {
  8188. "description": "Internal Server Error",
  8189. "schema": {
  8190. "$ref": "#/definitions/app.Response"
  8191. }
  8192. }
  8193. }
  8194. }
  8195. },
  8196. "/Guangzuan/QuerySellOrder": {
  8197. "get": {
  8198. "security": [
  8199. {
  8200. "ApiKeyAuth": []
  8201. },
  8202. {
  8203. "LoginID": []
  8204. },
  8205. {
  8206. "Group": []
  8207. }
  8208. ],
  8209. "produces": [
  8210. "application/json"
  8211. ],
  8212. "tags": [
  8213. "广钻"
  8214. ],
  8215. "summary": "查询出售大厅委托单",
  8216. "parameters": [
  8217. {
  8218. "type": "integer",
  8219. "description": "页码",
  8220. "name": "page",
  8221. "in": "query"
  8222. },
  8223. {
  8224. "type": "integer",
  8225. "description": "每页条数",
  8226. "name": "pagesize",
  8227. "in": "query"
  8228. },
  8229. {
  8230. "type": "string",
  8231. "description": "商品(查询字段-模糊查询)",
  8232. "name": "zsallproperties",
  8233. "in": "query"
  8234. },
  8235. {
  8236. "type": "string",
  8237. "description": "钻石分类, 格式:1,2,3",
  8238. "name": "zscategorys",
  8239. "in": "query"
  8240. },
  8241. {
  8242. "type": "integer",
  8243. "description": "委托单号",
  8244. "name": "wrtradeorderid",
  8245. "in": "query"
  8246. },
  8247. {
  8248. "type": "string",
  8249. "description": "卖方(查询字段-模糊查询)",
  8250. "name": "buyusername",
  8251. "in": "query"
  8252. }
  8253. ],
  8254. "responses": {
  8255. "200": {
  8256. "description": "OK",
  8257. "schema": {
  8258. "type": "array",
  8259. "items": {
  8260. "$ref": "#/definitions/models.SellOrder"
  8261. }
  8262. }
  8263. },
  8264. "500": {
  8265. "description": "Internal Server Error",
  8266. "schema": {
  8267. "$ref": "#/definitions/app.Response"
  8268. }
  8269. }
  8270. }
  8271. }
  8272. },
  8273. "/Guangzuan/QueryWarehouseInfo": {
  8274. "get": {
  8275. "security": [
  8276. {
  8277. "ApiKeyAuth": []
  8278. },
  8279. {
  8280. "LoginID": []
  8281. },
  8282. {
  8283. "Group": []
  8284. }
  8285. ],
  8286. "produces": [
  8287. "application/json"
  8288. ],
  8289. "tags": [
  8290. "广钻"
  8291. ],
  8292. "summary": "查询仓库信息",
  8293. "parameters": [
  8294. {
  8295. "type": "integer",
  8296. "description": "页码",
  8297. "name": "page",
  8298. "in": "query"
  8299. },
  8300. {
  8301. "type": "integer",
  8302. "description": "每页条数",
  8303. "name": "pagesize",
  8304. "in": "query"
  8305. },
  8306. {
  8307. "type": "integer",
  8308. "description": "用户ID",
  8309. "name": "userid",
  8310. "in": "query",
  8311. "required": true
  8312. },
  8313. {
  8314. "type": "string",
  8315. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8316. "name": "status",
  8317. "in": "query"
  8318. },
  8319. {
  8320. "type": "boolean",
  8321. "description": "是返回交易所仓库",
  8322. "name": "isincludeexchange",
  8323. "in": "query"
  8324. }
  8325. ],
  8326. "responses": {
  8327. "200": {
  8328. "description": "OK",
  8329. "schema": {
  8330. "type": "array",
  8331. "items": {
  8332. "$ref": "#/definitions/models.GZWarehouseinfo"
  8333. }
  8334. }
  8335. },
  8336. "500": {
  8337. "description": "Internal Server Error",
  8338. "schema": {
  8339. "$ref": "#/definitions/app.Response"
  8340. }
  8341. }
  8342. }
  8343. }
  8344. },
  8345. "/Market/GetAllExExchanges": {
  8346. "get": {
  8347. "security": [
  8348. {
  8349. "ApiKeyAuth": []
  8350. }
  8351. ],
  8352. "produces": [
  8353. "application/json"
  8354. ],
  8355. "tags": [
  8356. "通用市场"
  8357. ],
  8358. "summary": "获取所有外部交易所信息",
  8359. "responses": {
  8360. "200": {
  8361. "description": "OK",
  8362. "schema": {
  8363. "$ref": "#/definitions/models.Goods"
  8364. }
  8365. },
  8366. "500": {
  8367. "description": "Internal Server Error",
  8368. "schema": {
  8369. "$ref": "#/definitions/app.Response"
  8370. }
  8371. }
  8372. }
  8373. }
  8374. },
  8375. "/Market/QueryGoodsesByLoginID": {
  8376. "get": {
  8377. "security": [
  8378. {
  8379. "ApiKeyAuth": []
  8380. }
  8381. ],
  8382. "produces": [
  8383. "application/json"
  8384. ],
  8385. "tags": [
  8386. "通用市场"
  8387. ],
  8388. "summary": "获取登录账号有权限的商品信息",
  8389. "parameters": [
  8390. {
  8391. "type": "integer",
  8392. "description": "登录账号",
  8393. "name": "loginID",
  8394. "in": "query",
  8395. "required": true
  8396. },
  8397. {
  8398. "type": "string",
  8399. "description": "市场ID列表,格式:1,2,3",
  8400. "name": "marketIDs",
  8401. "in": "query"
  8402. }
  8403. ],
  8404. "responses": {
  8405. "200": {
  8406. "description": "OK",
  8407. "schema": {
  8408. "$ref": "#/definitions/models.Goods"
  8409. }
  8410. },
  8411. "500": {
  8412. "description": "Internal Server Error",
  8413. "schema": {
  8414. "$ref": "#/definitions/app.Response"
  8415. }
  8416. }
  8417. }
  8418. }
  8419. },
  8420. "/Market/QueryMarketRun": {
  8421. "get": {
  8422. "security": [
  8423. {
  8424. "ApiKeyAuth": []
  8425. }
  8426. ],
  8427. "produces": [
  8428. "application/json"
  8429. ],
  8430. "tags": [
  8431. "通用市场"
  8432. ],
  8433. "summary": "查询市场运行信息",
  8434. "parameters": [
  8435. {
  8436. "type": "integer",
  8437. "description": "市场ID,不传返回所有",
  8438. "name": "marketID",
  8439. "in": "query"
  8440. }
  8441. ],
  8442. "responses": {
  8443. "200": {
  8444. "description": "OK",
  8445. "schema": {
  8446. "$ref": "#/definitions/models.Marketrun"
  8447. }
  8448. },
  8449. "500": {
  8450. "description": "Internal Server Error",
  8451. "schema": {
  8452. "$ref": "#/definitions/app.Response"
  8453. }
  8454. }
  8455. }
  8456. }
  8457. },
  8458. "/Market/QueryMarketsByLoginID": {
  8459. "get": {
  8460. "security": [
  8461. {
  8462. "ApiKeyAuth": []
  8463. }
  8464. ],
  8465. "produces": [
  8466. "application/json"
  8467. ],
  8468. "tags": [
  8469. "通用市场"
  8470. ],
  8471. "summary": "获取登录账号有权限的市场信息",
  8472. "parameters": [
  8473. {
  8474. "type": "integer",
  8475. "description": "登录账号",
  8476. "name": "loginID",
  8477. "in": "query",
  8478. "required": true
  8479. }
  8480. ],
  8481. "responses": {
  8482. "200": {
  8483. "description": "OK",
  8484. "schema": {
  8485. "$ref": "#/definitions/models.Market"
  8486. }
  8487. },
  8488. "500": {
  8489. "description": "Internal Server Error",
  8490. "schema": {
  8491. "$ref": "#/definitions/app.Response"
  8492. }
  8493. }
  8494. }
  8495. }
  8496. },
  8497. "/Order/QueryHisTradeDetail": {
  8498. "get": {
  8499. "security": [
  8500. {
  8501. "ApiKeyAuth": []
  8502. }
  8503. ],
  8504. "produces": [
  8505. "application/json"
  8506. ],
  8507. "tags": [
  8508. "通用单据"
  8509. ],
  8510. "summary": "历史成交单查询(合约市场)",
  8511. "parameters": [
  8512. {
  8513. "type": "string",
  8514. "description": "资金账户 - 格式:1,2,3",
  8515. "name": "accountID",
  8516. "in": "query",
  8517. "required": true
  8518. },
  8519. {
  8520. "type": "integer",
  8521. "description": "成交单号",
  8522. "name": "tradeID",
  8523. "in": "query"
  8524. },
  8525. {
  8526. "type": "integer",
  8527. "description": "委托单号",
  8528. "name": "orderID",
  8529. "in": "query"
  8530. },
  8531. {
  8532. "type": "integer",
  8533. "description": "商品ID",
  8534. "name": "goodsID",
  8535. "in": "query"
  8536. },
  8537. {
  8538. "type": "string",
  8539. "description": "交易模式 - 格式:1,2,3",
  8540. "name": "tradeMode",
  8541. "in": "query"
  8542. },
  8543. {
  8544. "type": "integer",
  8545. "description": "委托单据类型",
  8546. "name": "buildType",
  8547. "in": "query"
  8548. },
  8549. {
  8550. "type": "string",
  8551. "description": "成交类别 - 格式:1,2,3",
  8552. "name": "tradeType",
  8553. "in": "query"
  8554. },
  8555. {
  8556. "type": "string",
  8557. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8558. "name": "startDate",
  8559. "in": "query"
  8560. },
  8561. {
  8562. "type": "string",
  8563. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8564. "name": "endDate",
  8565. "in": "query"
  8566. }
  8567. ],
  8568. "responses": {
  8569. "200": {
  8570. "description": "OK",
  8571. "schema": {
  8572. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8573. }
  8574. },
  8575. "500": {
  8576. "description": "Internal Server Error",
  8577. "schema": {
  8578. "$ref": "#/definitions/app.Response"
  8579. }
  8580. }
  8581. }
  8582. }
  8583. },
  8584. "/Order/QueryHisTradeOrderDetail": {
  8585. "get": {
  8586. "security": [
  8587. {
  8588. "ApiKeyAuth": []
  8589. }
  8590. ],
  8591. "produces": [
  8592. "application/json"
  8593. ],
  8594. "tags": [
  8595. "通用单据"
  8596. ],
  8597. "summary": "历史委托单查询请求(合约市场)",
  8598. "parameters": [
  8599. {
  8600. "type": "string",
  8601. "description": "资金账户 - 格式:1,2,3",
  8602. "name": "accountID",
  8603. "in": "query",
  8604. "required": true
  8605. },
  8606. {
  8607. "type": "string",
  8608. "description": "交易模式 - 格式:1,2,3",
  8609. "name": "tradeMode",
  8610. "in": "query"
  8611. },
  8612. {
  8613. "type": "string",
  8614. "description": "委托状态 - 格式:1,2,3",
  8615. "name": "orderStatus",
  8616. "in": "query"
  8617. },
  8618. {
  8619. "type": "integer",
  8620. "description": "委托单号",
  8621. "name": "orderID",
  8622. "in": "query"
  8623. },
  8624. {
  8625. "type": "string",
  8626. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8627. "name": "startDate",
  8628. "in": "query"
  8629. },
  8630. {
  8631. "type": "string",
  8632. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8633. "name": "endDate",
  8634. "in": "query"
  8635. }
  8636. ],
  8637. "responses": {
  8638. "200": {
  8639. "description": "OK",
  8640. "schema": {
  8641. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8642. }
  8643. },
  8644. "500": {
  8645. "description": "Internal Server Error",
  8646. "schema": {
  8647. "$ref": "#/definitions/app.Response"
  8648. }
  8649. }
  8650. }
  8651. }
  8652. },
  8653. "/Order/QueryTradeDetail": {
  8654. "get": {
  8655. "security": [
  8656. {
  8657. "ApiKeyAuth": []
  8658. }
  8659. ],
  8660. "produces": [
  8661. "application/json"
  8662. ],
  8663. "tags": [
  8664. "通用单据"
  8665. ],
  8666. "summary": "成交单查询(合约市场)",
  8667. "parameters": [
  8668. {
  8669. "type": "string",
  8670. "description": "资金账户 - 格式:1,2,3",
  8671. "name": "accountID",
  8672. "in": "query",
  8673. "required": true
  8674. },
  8675. {
  8676. "type": "integer",
  8677. "description": "成交单号",
  8678. "name": "tradeID",
  8679. "in": "query"
  8680. },
  8681. {
  8682. "type": "integer",
  8683. "description": "委托单号",
  8684. "name": "orderID",
  8685. "in": "query"
  8686. },
  8687. {
  8688. "type": "string",
  8689. "description": "交易模式 - 格式:1,2,3",
  8690. "name": "tradeMode",
  8691. "in": "query"
  8692. },
  8693. {
  8694. "type": "integer",
  8695. "description": "委托单据类型",
  8696. "name": "buildType",
  8697. "in": "query"
  8698. },
  8699. {
  8700. "type": "string",
  8701. "description": "成交类别 - 格式:1,2,3",
  8702. "name": "tradeType",
  8703. "in": "query"
  8704. },
  8705. {
  8706. "type": "integer",
  8707. "description": "商品ID",
  8708. "name": "goodsID",
  8709. "in": "query"
  8710. }
  8711. ],
  8712. "responses": {
  8713. "200": {
  8714. "description": "OK",
  8715. "schema": {
  8716. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8717. }
  8718. },
  8719. "500": {
  8720. "description": "Internal Server Error",
  8721. "schema": {
  8722. "$ref": "#/definitions/app.Response"
  8723. }
  8724. }
  8725. }
  8726. }
  8727. },
  8728. "/Order/QueryTradeHolderDetail": {
  8729. "get": {
  8730. "security": [
  8731. {
  8732. "ApiKeyAuth": []
  8733. }
  8734. ],
  8735. "produces": [
  8736. "application/json"
  8737. ],
  8738. "tags": [
  8739. "通用单据"
  8740. ],
  8741. "summary": "查询持仓明细",
  8742. "parameters": [
  8743. {
  8744. "type": "integer",
  8745. "description": "用户id",
  8746. "name": "userid",
  8747. "in": "query"
  8748. },
  8749. {
  8750. "type": "string",
  8751. "description": "资金账号, 格式 1,2,3",
  8752. "name": "accids",
  8753. "in": "query"
  8754. },
  8755. {
  8756. "type": "string",
  8757. "description": "交易模式, 格式 1,2,3",
  8758. "name": "trademodes",
  8759. "in": "query"
  8760. },
  8761. {
  8762. "type": "string",
  8763. "description": "市场id, 格式 1,2,3",
  8764. "name": "marketids",
  8765. "in": "query"
  8766. },
  8767. {
  8768. "type": "integer",
  8769. "description": "商品id",
  8770. "name": "goodsid",
  8771. "in": "query"
  8772. },
  8773. {
  8774. "type": "integer",
  8775. "description": "买卖方向 0-买 1-卖",
  8776. "name": "buyorsell",
  8777. "in": "query"
  8778. }
  8779. ],
  8780. "responses": {
  8781. "200": {
  8782. "description": "OK",
  8783. "schema": {
  8784. "type": "array",
  8785. "items": {
  8786. "$ref": "#/definitions/models.TradeHolderDetail"
  8787. }
  8788. }
  8789. },
  8790. "500": {
  8791. "description": "Internal Server Error",
  8792. "schema": {
  8793. "$ref": "#/definitions/app.Response"
  8794. }
  8795. }
  8796. }
  8797. }
  8798. },
  8799. "/Order/QueryTradeOrderDetail": {
  8800. "get": {
  8801. "security": [
  8802. {
  8803. "ApiKeyAuth": []
  8804. }
  8805. ],
  8806. "produces": [
  8807. "application/json"
  8808. ],
  8809. "tags": [
  8810. "通用单据"
  8811. ],
  8812. "summary": "委托单查询请求(合约市场)",
  8813. "parameters": [
  8814. {
  8815. "type": "string",
  8816. "description": "资金账户 - 格式:1,2,3",
  8817. "name": "accountID",
  8818. "in": "query",
  8819. "required": true
  8820. },
  8821. {
  8822. "type": "string",
  8823. "description": "交易模式 - 格式:1,2,3",
  8824. "name": "tradeMode",
  8825. "in": "query"
  8826. },
  8827. {
  8828. "type": "string",
  8829. "description": "委托状态 - 格式:1,2,3",
  8830. "name": "orderStatus",
  8831. "in": "query"
  8832. },
  8833. {
  8834. "type": "integer",
  8835. "description": "委托单号",
  8836. "name": "orderID",
  8837. "in": "query"
  8838. }
  8839. ],
  8840. "responses": {
  8841. "200": {
  8842. "description": "OK",
  8843. "schema": {
  8844. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8845. }
  8846. },
  8847. "500": {
  8848. "description": "Internal Server Error",
  8849. "schema": {
  8850. "$ref": "#/definitions/app.Response"
  8851. }
  8852. }
  8853. }
  8854. }
  8855. },
  8856. "/Order/QueryTradePosition": {
  8857. "get": {
  8858. "security": [
  8859. {
  8860. "ApiKeyAuth": []
  8861. }
  8862. ],
  8863. "produces": [
  8864. "application/json"
  8865. ],
  8866. "tags": [
  8867. "通用单据"
  8868. ],
  8869. "summary": "持仓汇总查询(合约市场)",
  8870. "parameters": [
  8871. {
  8872. "type": "string",
  8873. "description": "资金账户 - 格式:1,2,3",
  8874. "name": "accountID",
  8875. "in": "query",
  8876. "required": true
  8877. },
  8878. {
  8879. "type": "string",
  8880. "description": "交易模式 - 格式:1,2,3",
  8881. "name": "tradeMode",
  8882. "in": "query"
  8883. }
  8884. ],
  8885. "responses": {
  8886. "200": {
  8887. "description": "OK",
  8888. "schema": {
  8889. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8890. }
  8891. },
  8892. "500": {
  8893. "description": "Internal Server Error",
  8894. "schema": {
  8895. "$ref": "#/definitions/app.Response"
  8896. }
  8897. }
  8898. }
  8899. }
  8900. },
  8901. "/Quote/QueryHistoryDatas": {
  8902. "get": {
  8903. "security": [
  8904. {
  8905. "ApiKeyAuth": []
  8906. }
  8907. ],
  8908. "produces": [
  8909. "application/json"
  8910. ],
  8911. "tags": [
  8912. "行情服务"
  8913. ],
  8914. "summary": "查询行情历史数据",
  8915. "parameters": [
  8916. {
  8917. "type": "integer",
  8918. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  8919. "name": "cycleType",
  8920. "in": "query",
  8921. "required": true
  8922. },
  8923. {
  8924. "type": "string",
  8925. "description": "商品代码",
  8926. "name": "goodsCode",
  8927. "in": "query",
  8928. "required": true
  8929. },
  8930. {
  8931. "type": "string",
  8932. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8933. "name": "startTime",
  8934. "in": "query"
  8935. },
  8936. {
  8937. "type": "string",
  8938. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8939. "name": "endTime",
  8940. "in": "query"
  8941. },
  8942. {
  8943. "type": "integer",
  8944. "description": "条数",
  8945. "name": "count",
  8946. "in": "query"
  8947. },
  8948. {
  8949. "type": "boolean",
  8950. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8951. "name": "isAsc",
  8952. "in": "query"
  8953. }
  8954. ],
  8955. "responses": {
  8956. "200": {
  8957. "description": "OK",
  8958. "schema": {
  8959. "$ref": "#/definitions/quote.HistoryData"
  8960. }
  8961. },
  8962. "500": {
  8963. "description": "Internal Server Error",
  8964. "schema": {
  8965. "$ref": "#/definitions/app.Response"
  8966. }
  8967. }
  8968. }
  8969. }
  8970. },
  8971. "/Quote/QueryHistoryTikDatas": {
  8972. "get": {
  8973. "security": [
  8974. {
  8975. "ApiKeyAuth": []
  8976. }
  8977. ],
  8978. "produces": [
  8979. "application/json"
  8980. ],
  8981. "tags": [
  8982. "行情服务"
  8983. ],
  8984. "summary": "查询行情Tik数据",
  8985. "parameters": [
  8986. {
  8987. "type": "string",
  8988. "description": "商品代码",
  8989. "name": "goodsCode",
  8990. "in": "query",
  8991. "required": true
  8992. },
  8993. {
  8994. "type": "string",
  8995. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8996. "name": "startTime",
  8997. "in": "query"
  8998. },
  8999. {
  9000. "type": "string",
  9001. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9002. "name": "endTime",
  9003. "in": "query"
  9004. },
  9005. {
  9006. "type": "integer",
  9007. "description": "条数",
  9008. "name": "count",
  9009. "in": "query"
  9010. },
  9011. {
  9012. "type": "boolean",
  9013. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9014. "name": "isAsc",
  9015. "in": "query"
  9016. }
  9017. ],
  9018. "responses": {
  9019. "200": {
  9020. "description": "OK",
  9021. "schema": {
  9022. "$ref": "#/definitions/quote.HistoryTikData"
  9023. }
  9024. },
  9025. "500": {
  9026. "description": "Internal Server Error",
  9027. "schema": {
  9028. "$ref": "#/definitions/app.Response"
  9029. }
  9030. }
  9031. }
  9032. }
  9033. },
  9034. "/Quote/QueryQuoteDay": {
  9035. "get": {
  9036. "security": [
  9037. {
  9038. "ApiKeyAuth": []
  9039. }
  9040. ],
  9041. "produces": [
  9042. "application/json"
  9043. ],
  9044. "tags": [
  9045. "行情服务"
  9046. ],
  9047. "summary": "获取商品盘面信息",
  9048. "parameters": [
  9049. {
  9050. "type": "string",
  9051. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  9052. "name": "goodsCodes",
  9053. "in": "query"
  9054. }
  9055. ],
  9056. "responses": {
  9057. "200": {
  9058. "description": "OK",
  9059. "schema": {
  9060. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9061. }
  9062. },
  9063. "500": {
  9064. "description": "Internal Server Error",
  9065. "schema": {
  9066. "$ref": "#/definitions/app.Response"
  9067. }
  9068. }
  9069. }
  9070. }
  9071. },
  9072. "/Quote/QueryTSData": {
  9073. "get": {
  9074. "security": [
  9075. {
  9076. "ApiKeyAuth": []
  9077. }
  9078. ],
  9079. "produces": [
  9080. "application/json"
  9081. ],
  9082. "tags": [
  9083. "行情服务"
  9084. ],
  9085. "summary": "分时图数据查询",
  9086. "parameters": [
  9087. {
  9088. "type": "string",
  9089. "description": "商品代码",
  9090. "name": "goodsCode",
  9091. "in": "query",
  9092. "required": true
  9093. }
  9094. ],
  9095. "responses": {
  9096. "200": {
  9097. "description": "OK",
  9098. "schema": {
  9099. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9100. }
  9101. },
  9102. "500": {
  9103. "description": "Internal Server Error",
  9104. "schema": {
  9105. "$ref": "#/definitions/app.Response"
  9106. }
  9107. }
  9108. }
  9109. }
  9110. },
  9111. "/SZDZ/QueryConvertConfig": {
  9112. "get": {
  9113. "security": [
  9114. {
  9115. "ApiKeyAuth": []
  9116. }
  9117. ],
  9118. "produces": [
  9119. "application/json"
  9120. ],
  9121. "tags": [
  9122. "定制【尚志大宗】"
  9123. ],
  9124. "summary": "查询交易系统转换设置",
  9125. "parameters": [
  9126. {
  9127. "type": "integer",
  9128. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9129. "name": "convertType",
  9130. "in": "query"
  9131. },
  9132. {
  9133. "type": "string",
  9134. "description": "外部商品代码[JD\\PD]",
  9135. "name": "outerGoodsCode",
  9136. "in": "query"
  9137. },
  9138. {
  9139. "type": "string",
  9140. "description": "内部商品ID列表[交易],格式:1,2,3",
  9141. "name": "innerGoodsIDs",
  9142. "in": "query"
  9143. }
  9144. ],
  9145. "responses": {
  9146. "200": {
  9147. "description": "OK",
  9148. "schema": {
  9149. "$ref": "#/definitions/models.Szdz3convertconfig"
  9150. }
  9151. },
  9152. "500": {
  9153. "description": "Internal Server Error",
  9154. "schema": {
  9155. "$ref": "#/definitions/app.Response"
  9156. }
  9157. }
  9158. }
  9159. }
  9160. },
  9161. "/SZDZ/QueryConvertLog": {
  9162. "get": {
  9163. "security": [
  9164. {
  9165. "ApiKeyAuth": []
  9166. }
  9167. ],
  9168. "produces": [
  9169. "application/json"
  9170. ],
  9171. "tags": [
  9172. "定制【尚志大宗】"
  9173. ],
  9174. "summary": "交易系统转换流水查询",
  9175. "parameters": [
  9176. {
  9177. "type": "string",
  9178. "description": "资金账户 - 格式:1,2,3",
  9179. "name": "accountID",
  9180. "in": "query",
  9181. "required": true
  9182. },
  9183. {
  9184. "type": "string",
  9185. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9186. "name": "startDate",
  9187. "in": "query"
  9188. },
  9189. {
  9190. "type": "string",
  9191. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9192. "name": "endDate",
  9193. "in": "query"
  9194. }
  9195. ],
  9196. "responses": {
  9197. "200": {
  9198. "description": "OK",
  9199. "schema": {
  9200. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9201. }
  9202. },
  9203. "500": {
  9204. "description": "Internal Server Error",
  9205. "schema": {
  9206. "$ref": "#/definitions/app.Response"
  9207. }
  9208. }
  9209. }
  9210. }
  9211. },
  9212. "/SZDZ/QueryGoodsPickup": {
  9213. "get": {
  9214. "security": [
  9215. {
  9216. "ApiKeyAuth": []
  9217. }
  9218. ],
  9219. "produces": [
  9220. "application/json"
  9221. ],
  9222. "tags": [
  9223. "定制【尚志大宗】"
  9224. ],
  9225. "summary": "商品提货单查询",
  9226. "parameters": [
  9227. {
  9228. "type": "string",
  9229. "description": "资金账户 - 格式:1,2,3",
  9230. "name": "accountID",
  9231. "in": "query",
  9232. "required": true
  9233. },
  9234. {
  9235. "type": "integer",
  9236. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9237. "name": "takeOrderStatus",
  9238. "in": "query"
  9239. }
  9240. ],
  9241. "responses": {
  9242. "200": {
  9243. "description": "OK",
  9244. "schema": {
  9245. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9246. }
  9247. },
  9248. "500": {
  9249. "description": "Internal Server Error",
  9250. "schema": {
  9251. "$ref": "#/definitions/app.Response"
  9252. }
  9253. }
  9254. }
  9255. }
  9256. },
  9257. "/SZDZ/QueryRecieptOrder": {
  9258. "get": {
  9259. "security": [
  9260. {
  9261. "ApiKeyAuth": []
  9262. }
  9263. ],
  9264. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9265. "produces": [
  9266. "application/json"
  9267. ],
  9268. "tags": [
  9269. "定制【尚志大宗】"
  9270. ],
  9271. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9272. "parameters": [
  9273. {
  9274. "type": "integer",
  9275. "description": "页码",
  9276. "name": "page",
  9277. "in": "query"
  9278. },
  9279. {
  9280. "type": "integer",
  9281. "description": "每页条数",
  9282. "name": "pagesize",
  9283. "in": "query"
  9284. },
  9285. {
  9286. "type": "integer",
  9287. "description": "商品ID",
  9288. "name": "goodsID",
  9289. "in": "query",
  9290. "required": true
  9291. },
  9292. {
  9293. "type": "string",
  9294. "description": "所属账户名称",
  9295. "name": "accountName",
  9296. "in": "query"
  9297. },
  9298. {
  9299. "type": "integer",
  9300. "description": "市场ID",
  9301. "name": "marketID",
  9302. "in": "query"
  9303. },
  9304. {
  9305. "type": "integer",
  9306. "description": "方向 - 0:买 1:卖",
  9307. "name": "buyorsell",
  9308. "in": "query",
  9309. "required": true
  9310. }
  9311. ],
  9312. "responses": {
  9313. "200": {
  9314. "description": "OK",
  9315. "schema": {
  9316. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9317. }
  9318. },
  9319. "500": {
  9320. "description": "Internal Server Error",
  9321. "schema": {
  9322. "$ref": "#/definitions/app.Response"
  9323. }
  9324. }
  9325. }
  9326. }
  9327. },
  9328. "/SZDZ/QuerySZDZTradePosition": {
  9329. "get": {
  9330. "security": [
  9331. {
  9332. "ApiKeyAuth": []
  9333. }
  9334. ],
  9335. "produces": [
  9336. "application/json"
  9337. ],
  9338. "tags": [
  9339. "定制【尚志大宗】"
  9340. ],
  9341. "summary": "持仓汇总查询(尚志大宗)",
  9342. "parameters": [
  9343. {
  9344. "type": "integer",
  9345. "description": "资金账户",
  9346. "name": "accountID",
  9347. "in": "query",
  9348. "required": true
  9349. }
  9350. ],
  9351. "responses": {
  9352. "200": {
  9353. "description": "OK",
  9354. "schema": {
  9355. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9356. }
  9357. },
  9358. "500": {
  9359. "description": "Internal Server Error",
  9360. "schema": {
  9361. "$ref": "#/definitions/app.Response"
  9362. }
  9363. }
  9364. }
  9365. }
  9366. },
  9367. "/SZDZ/SearchWhite": {
  9368. "get": {
  9369. "security": [
  9370. {
  9371. "ApiKeyAuth": []
  9372. }
  9373. ],
  9374. "produces": [
  9375. "application/json"
  9376. ],
  9377. "tags": [
  9378. "定制【尚志大宗】"
  9379. ],
  9380. "summary": "搜索白名单",
  9381. "parameters": [
  9382. {
  9383. "type": "integer",
  9384. "description": "用户ID",
  9385. "name": "userID",
  9386. "in": "query",
  9387. "required": true
  9388. }
  9389. ],
  9390. "responses": {
  9391. "200": {
  9392. "description": "OK",
  9393. "schema": {
  9394. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9395. }
  9396. },
  9397. "500": {
  9398. "description": "Internal Server Error",
  9399. "schema": {
  9400. "$ref": "#/definitions/app.Response"
  9401. }
  9402. }
  9403. }
  9404. }
  9405. },
  9406. "/Search/SearchGoodses": {
  9407. "get": {
  9408. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9409. "produces": [
  9410. "application/json"
  9411. ],
  9412. "tags": [
  9413. "检索服务"
  9414. ],
  9415. "summary": "检索商品信息",
  9416. "parameters": [
  9417. {
  9418. "type": "string",
  9419. "description": "检索内容",
  9420. "name": "content",
  9421. "in": "query",
  9422. "required": true
  9423. },
  9424. {
  9425. "type": "string",
  9426. "description": "交易模式,格式:1,2,3",
  9427. "name": "tradeModes",
  9428. "in": "query"
  9429. }
  9430. ],
  9431. "responses": {
  9432. "200": {
  9433. "description": "OK",
  9434. "schema": {
  9435. "$ref": "#/definitions/models.SearchGoods"
  9436. }
  9437. },
  9438. "500": {
  9439. "description": "Internal Server Error",
  9440. "schema": {
  9441. "$ref": "#/definitions/app.Response"
  9442. }
  9443. }
  9444. }
  9445. }
  9446. },
  9447. "/TaAccount/GetTaAccounts": {
  9448. "get": {
  9449. "security": [
  9450. {
  9451. "ApiKeyAuth": []
  9452. }
  9453. ],
  9454. "produces": [
  9455. "application/json"
  9456. ],
  9457. "tags": [
  9458. "资金账户"
  9459. ],
  9460. "summary": "获取资金账户信息",
  9461. "parameters": [
  9462. {
  9463. "type": "integer",
  9464. "description": "登录账户",
  9465. "name": "loginID",
  9466. "in": "query",
  9467. "required": true
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9472. "name": "taAccountType",
  9473. "in": "query"
  9474. }
  9475. ],
  9476. "responses": {
  9477. "200": {
  9478. "description": "OK",
  9479. "schema": {
  9480. "$ref": "#/definitions/models.Taaccount"
  9481. }
  9482. },
  9483. "500": {
  9484. "description": "Internal Server Error",
  9485. "schema": {
  9486. "$ref": "#/definitions/app.Response"
  9487. }
  9488. }
  9489. }
  9490. }
  9491. },
  9492. "/TaAccount/QueryAmountLog": {
  9493. "get": {
  9494. "security": [
  9495. {
  9496. "ApiKeyAuth": []
  9497. }
  9498. ],
  9499. "produces": [
  9500. "application/json"
  9501. ],
  9502. "tags": [
  9503. "资金账户"
  9504. ],
  9505. "summary": "资金流水查询(当前)",
  9506. "parameters": [
  9507. {
  9508. "type": "integer",
  9509. "description": "页码",
  9510. "name": "page",
  9511. "in": "query"
  9512. },
  9513. {
  9514. "type": "integer",
  9515. "description": "每页条数",
  9516. "name": "pagesize",
  9517. "in": "query"
  9518. },
  9519. {
  9520. "type": "string",
  9521. "description": "资金账户 - 格式:1,2,3",
  9522. "name": "accountID",
  9523. "in": "query",
  9524. "required": true
  9525. },
  9526. {
  9527. "type": "string",
  9528. "description": "资金操作类型 - 格式:1,2,3",
  9529. "name": "OperateType",
  9530. "in": "query"
  9531. }
  9532. ],
  9533. "responses": {
  9534. "200": {
  9535. "description": "OK",
  9536. "schema": {
  9537. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9538. }
  9539. },
  9540. "500": {
  9541. "description": "Internal Server Error",
  9542. "schema": {
  9543. "$ref": "#/definitions/app.Response"
  9544. }
  9545. }
  9546. }
  9547. }
  9548. },
  9549. "/TaAccount/QueryHisAmountLog": {
  9550. "get": {
  9551. "security": [
  9552. {
  9553. "ApiKeyAuth": []
  9554. }
  9555. ],
  9556. "produces": [
  9557. "application/json"
  9558. ],
  9559. "tags": [
  9560. "资金账户"
  9561. ],
  9562. "summary": "资金流水查询(历史)",
  9563. "parameters": [
  9564. {
  9565. "type": "integer",
  9566. "description": "页码",
  9567. "name": "page",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "每页条数",
  9573. "name": "pagesize",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "string",
  9578. "description": "资金账户 - 格式:1,2,3",
  9579. "name": "accountID",
  9580. "in": "query",
  9581. "required": true
  9582. },
  9583. {
  9584. "type": "string",
  9585. "description": "资金操作类型 - 格式:1,2,3",
  9586. "name": "OperateType",
  9587. "in": "query"
  9588. },
  9589. {
  9590. "type": "string",
  9591. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9592. "name": "startDate",
  9593. "in": "query"
  9594. },
  9595. {
  9596. "type": "string",
  9597. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9598. "name": "endDate",
  9599. "in": "query"
  9600. }
  9601. ],
  9602. "responses": {
  9603. "200": {
  9604. "description": "OK",
  9605. "schema": {
  9606. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9607. }
  9608. },
  9609. "500": {
  9610. "description": "Internal Server Error",
  9611. "schema": {
  9612. "$ref": "#/definitions/app.Response"
  9613. }
  9614. }
  9615. }
  9616. }
  9617. },
  9618. "/TaAccount/QueryRelatedTaAccount": {
  9619. "get": {
  9620. "security": [
  9621. {
  9622. "ApiKeyAuth": []
  9623. }
  9624. ],
  9625. "produces": [
  9626. "application/json"
  9627. ],
  9628. "tags": [
  9629. "资金账户"
  9630. ],
  9631. "summary": "查询关联资金账户信息",
  9632. "parameters": [
  9633. {
  9634. "type": "integer",
  9635. "description": "关联UserID",
  9636. "name": "relateduserid",
  9637. "in": "query",
  9638. "required": true
  9639. }
  9640. ],
  9641. "responses": {
  9642. "200": {
  9643. "description": "OK",
  9644. "schema": {
  9645. "type": "array",
  9646. "items": {
  9647. "$ref": "#/definitions/models.RelatedTaAccount"
  9648. }
  9649. }
  9650. },
  9651. "500": {
  9652. "description": "Internal Server Error",
  9653. "schema": {
  9654. "$ref": "#/definitions/app.Response"
  9655. }
  9656. }
  9657. }
  9658. }
  9659. },
  9660. "/Tjmd/QueryQuoteGoodsList": {
  9661. "get": {
  9662. "security": [
  9663. {
  9664. "ApiKeyAuth": []
  9665. }
  9666. ],
  9667. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  9668. "produces": [
  9669. "application/json"
  9670. ],
  9671. "tags": [
  9672. "天津麦顿"
  9673. ],
  9674. "summary": "查询掉期报价列表",
  9675. "parameters": [
  9676. {
  9677. "type": "integer",
  9678. "description": "用户类型",
  9679. "name": "usertype",
  9680. "in": "query",
  9681. "required": true
  9682. },
  9683. {
  9684. "type": "string",
  9685. "description": "市场id, 格式 1,2,3",
  9686. "name": "marketids",
  9687. "in": "query"
  9688. },
  9689. {
  9690. "type": "integer",
  9691. "description": "商品组id",
  9692. "name": "goodsgroupid",
  9693. "in": "query"
  9694. },
  9695. {
  9696. "type": "integer",
  9697. "description": "商品id",
  9698. "name": "goodsid",
  9699. "in": "query"
  9700. }
  9701. ],
  9702. "responses": {
  9703. "200": {
  9704. "description": "OK",
  9705. "schema": {
  9706. "type": "array",
  9707. "items": {
  9708. "$ref": "#/definitions/models.TjmdQuoteGoods"
  9709. }
  9710. }
  9711. },
  9712. "500": {
  9713. "description": "Internal Server Error",
  9714. "schema": {
  9715. "$ref": "#/definitions/app.Response"
  9716. }
  9717. }
  9718. }
  9719. }
  9720. },
  9721. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  9722. "get": {
  9723. "security": [
  9724. {
  9725. "ApiKeyAuth": []
  9726. }
  9727. ],
  9728. "produces": [
  9729. "application/json"
  9730. ],
  9731. "tags": [
  9732. "天津麦顿"
  9733. ],
  9734. "summary": "掉期商品订单详情(交易确认书)",
  9735. "parameters": [
  9736. {
  9737. "type": "string",
  9738. "description": "成交单号",
  9739. "name": "tradeid",
  9740. "in": "query",
  9741. "required": true
  9742. }
  9743. ],
  9744. "responses": {
  9745. "200": {
  9746. "description": "OK",
  9747. "schema": {
  9748. "type": "array",
  9749. "items": {
  9750. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  9751. }
  9752. }
  9753. },
  9754. "500": {
  9755. "description": "Internal Server Error",
  9756. "schema": {
  9757. "$ref": "#/definitions/app.Response"
  9758. }
  9759. }
  9760. }
  9761. }
  9762. },
  9763. "/Tjmd/QueryTjmdMarketSection": {
  9764. "get": {
  9765. "security": [
  9766. {
  9767. "ApiKeyAuth": []
  9768. }
  9769. ],
  9770. "produces": [
  9771. "application/json"
  9772. ],
  9773. "tags": [
  9774. "天津麦顿"
  9775. ],
  9776. "summary": "查询市场板块",
  9777. "responses": {
  9778. "200": {
  9779. "description": "OK",
  9780. "schema": {
  9781. "type": "array",
  9782. "items": {
  9783. "$ref": "#/definitions/models.TjmdMarketSection"
  9784. }
  9785. }
  9786. },
  9787. "500": {
  9788. "description": "Internal Server Error",
  9789. "schema": {
  9790. "$ref": "#/definitions/app.Response"
  9791. }
  9792. }
  9793. }
  9794. }
  9795. },
  9796. "/Tjmd/QueryTjmdTodayAccountMargin": {
  9797. "get": {
  9798. "security": [
  9799. {
  9800. "ApiKeyAuth": []
  9801. }
  9802. ],
  9803. "produces": [
  9804. "application/json"
  9805. ],
  9806. "tags": [
  9807. "天津麦顿"
  9808. ],
  9809. "summary": "查询今日账户保证金配置",
  9810. "parameters": [
  9811. {
  9812. "type": "string",
  9813. "description": "市场id",
  9814. "name": "marketid",
  9815. "in": "query"
  9816. },
  9817. {
  9818. "type": "string",
  9819. "description": "商品id",
  9820. "name": "goodsid",
  9821. "in": "query"
  9822. },
  9823. {
  9824. "type": "string",
  9825. "description": "资金账号",
  9826. "name": "accountid",
  9827. "in": "query"
  9828. }
  9829. ],
  9830. "responses": {
  9831. "200": {
  9832. "description": "OK",
  9833. "schema": {
  9834. "type": "array",
  9835. "items": {
  9836. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  9837. }
  9838. }
  9839. },
  9840. "500": {
  9841. "description": "Internal Server Error",
  9842. "schema": {
  9843. "$ref": "#/definitions/app.Response"
  9844. }
  9845. }
  9846. }
  9847. }
  9848. },
  9849. "/Tjmd/QueryTjmdTradeOrderDetail": {
  9850. "get": {
  9851. "security": [
  9852. {
  9853. "ApiKeyAuth": []
  9854. }
  9855. ],
  9856. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  9857. "produces": [
  9858. "application/json"
  9859. ],
  9860. "tags": [
  9861. "天津麦顿"
  9862. ],
  9863. "summary": "查询掉期买卖大厅",
  9864. "parameters": [
  9865. {
  9866. "type": "integer",
  9867. "description": "页码",
  9868. "name": "page",
  9869. "in": "query"
  9870. },
  9871. {
  9872. "type": "integer",
  9873. "description": "每页条数",
  9874. "name": "pagesize",
  9875. "in": "query"
  9876. },
  9877. {
  9878. "type": "integer",
  9879. "description": "用户id",
  9880. "name": "userid",
  9881. "in": "query",
  9882. "required": true
  9883. },
  9884. {
  9885. "type": "integer",
  9886. "description": "用户类型",
  9887. "name": "usertype",
  9888. "in": "query",
  9889. "required": true
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "市场id, 格式 1,2,3",
  9894. "name": "marketids",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "integer",
  9899. "description": "商品id",
  9900. "name": "goodsid",
  9901. "in": "query",
  9902. "required": true
  9903. },
  9904. {
  9905. "type": "integer",
  9906. "description": "买卖方向 0-买 1-卖",
  9907. "name": "buyorsell",
  9908. "in": "query",
  9909. "required": true
  9910. }
  9911. ],
  9912. "responses": {
  9913. "200": {
  9914. "description": "OK",
  9915. "schema": {
  9916. "type": "array",
  9917. "items": {
  9918. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  9919. }
  9920. }
  9921. },
  9922. "500": {
  9923. "description": "Internal Server Error",
  9924. "schema": {
  9925. "$ref": "#/definitions/app.Response"
  9926. }
  9927. }
  9928. }
  9929. }
  9930. },
  9931. "/Tjmd/QueryTjmdTransferApply": {
  9932. "get": {
  9933. "security": [
  9934. {
  9935. "ApiKeyAuth": []
  9936. }
  9937. ],
  9938. "produces": [
  9939. "application/json"
  9940. ],
  9941. "tags": [
  9942. "天津麦顿"
  9943. ],
  9944. "summary": "查询掉期协议单",
  9945. "parameters": [
  9946. {
  9947. "type": "integer",
  9948. "description": "类型 1-我的申请 2-对方申请",
  9949. "name": "applytype",
  9950. "in": "query",
  9951. "required": true
  9952. },
  9953. {
  9954. "type": "string",
  9955. "description": "市场id, 格式 1,2,3",
  9956. "name": "marketids",
  9957. "in": "query"
  9958. },
  9959. {
  9960. "type": "string",
  9961. "description": "资金账号, 格式 25000000001,25000000003",
  9962. "name": "accountids",
  9963. "in": "query"
  9964. },
  9965. {
  9966. "type": "string",
  9967. "description": "开始交易日(yyyymmdd)",
  9968. "name": "begindate",
  9969. "in": "query"
  9970. },
  9971. {
  9972. "type": "string",
  9973. "description": "结束交易日(yyyymmdd)",
  9974. "name": "enddate",
  9975. "in": "query"
  9976. }
  9977. ],
  9978. "responses": {
  9979. "200": {
  9980. "description": "OK",
  9981. "schema": {
  9982. "type": "array",
  9983. "items": {
  9984. "$ref": "#/definitions/models.TjmdTransferApply"
  9985. }
  9986. }
  9987. },
  9988. "500": {
  9989. "description": "Internal Server Error",
  9990. "schema": {
  9991. "$ref": "#/definitions/app.Response"
  9992. }
  9993. }
  9994. }
  9995. }
  9996. },
  9997. "/Trade/QueryRecieptOrder": {
  9998. "get": {
  9999. "security": [
  10000. {
  10001. "ApiKeyAuth": []
  10002. }
  10003. ],
  10004. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10005. "produces": [
  10006. "application/json"
  10007. ],
  10008. "tags": [
  10009. "通用交易"
  10010. ],
  10011. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10012. "parameters": [
  10013. {
  10014. "type": "integer",
  10015. "description": "页码",
  10016. "name": "page",
  10017. "in": "query"
  10018. },
  10019. {
  10020. "type": "integer",
  10021. "description": "每页条数",
  10022. "name": "pagesize",
  10023. "in": "query"
  10024. },
  10025. {
  10026. "type": "integer",
  10027. "description": "商品ID",
  10028. "name": "goodsID",
  10029. "in": "query",
  10030. "required": true
  10031. },
  10032. {
  10033. "type": "string",
  10034. "description": "所属账户名称",
  10035. "name": "accountName",
  10036. "in": "query"
  10037. },
  10038. {
  10039. "type": "integer",
  10040. "description": "市场ID",
  10041. "name": "marketID",
  10042. "in": "query"
  10043. },
  10044. {
  10045. "type": "integer",
  10046. "description": "方向 - 0:买 1:卖",
  10047. "name": "buyorsell",
  10048. "in": "query",
  10049. "required": true
  10050. }
  10051. ],
  10052. "responses": {
  10053. "200": {
  10054. "description": "OK",
  10055. "schema": {
  10056. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10057. }
  10058. },
  10059. "500": {
  10060. "description": "Internal Server Error",
  10061. "schema": {
  10062. "$ref": "#/definitions/app.Response"
  10063. }
  10064. }
  10065. }
  10066. }
  10067. },
  10068. "/User/AddMessageBoard": {
  10069. "post": {
  10070. "security": [
  10071. {
  10072. "ApiKeyAuth": []
  10073. }
  10074. ],
  10075. "produces": [
  10076. "application/json"
  10077. ],
  10078. "tags": [
  10079. "用户信息"
  10080. ],
  10081. "summary": "添加用户留言板信息",
  10082. "parameters": [
  10083. {
  10084. "type": "integer",
  10085. "description": "用户ID",
  10086. "name": "userID",
  10087. "in": "query",
  10088. "required": true
  10089. },
  10090. {
  10091. "type": "string",
  10092. "description": "留言信息",
  10093. "name": "message",
  10094. "in": "query",
  10095. "required": true
  10096. },
  10097. {
  10098. "type": "string",
  10099. "description": "联系电话",
  10100. "name": "contactNum",
  10101. "in": "query",
  10102. "required": true
  10103. }
  10104. ],
  10105. "responses": {
  10106. "200": {
  10107. "description": "OK",
  10108. "schema": {
  10109. "$ref": "#/definitions/app.Response"
  10110. }
  10111. },
  10112. "500": {
  10113. "description": "Internal Server Error",
  10114. "schema": {
  10115. "$ref": "#/definitions/app.Response"
  10116. }
  10117. }
  10118. }
  10119. }
  10120. },
  10121. "/User/AddUserFavoriteGoods": {
  10122. "post": {
  10123. "security": [
  10124. {
  10125. "ApiKeyAuth": []
  10126. }
  10127. ],
  10128. "produces": [
  10129. "application/json"
  10130. ],
  10131. "tags": [
  10132. "用户信息"
  10133. ],
  10134. "summary": "添加用户商品收藏信息",
  10135. "parameters": [
  10136. {
  10137. "type": "integer",
  10138. "description": "用户ID",
  10139. "name": "userID",
  10140. "in": "query",
  10141. "required": true
  10142. },
  10143. {
  10144. "type": "integer",
  10145. "description": "商品ID",
  10146. "name": "goodsID",
  10147. "in": "query",
  10148. "required": true
  10149. }
  10150. ],
  10151. "responses": {
  10152. "200": {
  10153. "description": "OK",
  10154. "schema": {
  10155. "$ref": "#/definitions/app.Response"
  10156. }
  10157. },
  10158. "500": {
  10159. "description": "Internal Server Error",
  10160. "schema": {
  10161. "$ref": "#/definitions/app.Response"
  10162. }
  10163. }
  10164. }
  10165. }
  10166. },
  10167. "/User/GetLoginID": {
  10168. "get": {
  10169. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10170. "produces": [
  10171. "application/json"
  10172. ],
  10173. "tags": [
  10174. "用户信息"
  10175. ],
  10176. "summary": "获取登录ID",
  10177. "parameters": [
  10178. {
  10179. "type": "string",
  10180. "description": "登录代码",
  10181. "name": "username",
  10182. "in": "query",
  10183. "required": true
  10184. }
  10185. ],
  10186. "responses": {
  10187. "200": {
  10188. "description": "OK",
  10189. "schema": {
  10190. "$ref": "#/definitions/app.Response"
  10191. }
  10192. },
  10193. "500": {
  10194. "description": "Internal Server Error",
  10195. "schema": {
  10196. "$ref": "#/definitions/app.Response"
  10197. }
  10198. }
  10199. }
  10200. }
  10201. },
  10202. "/User/GetUserAccount": {
  10203. "get": {
  10204. "security": [
  10205. {
  10206. "ApiKeyAuth": []
  10207. }
  10208. ],
  10209. "produces": [
  10210. "application/json"
  10211. ],
  10212. "tags": [
  10213. "用户信息"
  10214. ],
  10215. "summary": "获取用户账号信息",
  10216. "parameters": [
  10217. {
  10218. "type": "integer",
  10219. "description": "用户ID",
  10220. "name": "userID",
  10221. "in": "query",
  10222. "required": true
  10223. }
  10224. ],
  10225. "responses": {
  10226. "200": {
  10227. "description": "OK",
  10228. "schema": {
  10229. "$ref": "#/definitions/models.Useraccount"
  10230. }
  10231. },
  10232. "500": {
  10233. "description": "Internal Server Error",
  10234. "schema": {
  10235. "$ref": "#/definitions/app.Response"
  10236. }
  10237. }
  10238. }
  10239. }
  10240. },
  10241. "/User/GetUserAuthStatus": {
  10242. "get": {
  10243. "security": [
  10244. {
  10245. "ApiKeyAuth": []
  10246. }
  10247. ],
  10248. "produces": [
  10249. "application/json"
  10250. ],
  10251. "tags": [
  10252. "用户信息"
  10253. ],
  10254. "summary": "获取用户实名认证状态",
  10255. "parameters": [
  10256. {
  10257. "type": "integer",
  10258. "description": "用户ID",
  10259. "name": "userID",
  10260. "in": "query",
  10261. "required": true
  10262. }
  10263. ],
  10264. "responses": {
  10265. "200": {
  10266. "description": "OK",
  10267. "schema": {
  10268. "$ref": "#/definitions/app.Response"
  10269. }
  10270. },
  10271. "500": {
  10272. "description": "Internal Server Error",
  10273. "schema": {
  10274. "$ref": "#/definitions/app.Response"
  10275. }
  10276. }
  10277. }
  10278. }
  10279. },
  10280. "/User/LoginQuery": {
  10281. "get": {
  10282. "security": [
  10283. {
  10284. "ApiKeyAuth": []
  10285. }
  10286. ],
  10287. "produces": [
  10288. "application/json"
  10289. ],
  10290. "tags": [
  10291. "用户信息"
  10292. ],
  10293. "summary": "账户登录后信息查询",
  10294. "parameters": [
  10295. {
  10296. "type": "integer",
  10297. "description": "登录账号",
  10298. "name": "loginID",
  10299. "in": "query",
  10300. "required": true
  10301. }
  10302. ],
  10303. "responses": {
  10304. "200": {
  10305. "description": "OK",
  10306. "schema": {
  10307. "$ref": "#/definitions/user.LoginQueryRsp"
  10308. }
  10309. },
  10310. "500": {
  10311. "description": "Internal Server Error",
  10312. "schema": {
  10313. "$ref": "#/definitions/app.Response"
  10314. }
  10315. }
  10316. }
  10317. }
  10318. },
  10319. "/User/QueryMessageBoard": {
  10320. "get": {
  10321. "security": [
  10322. {
  10323. "ApiKeyAuth": []
  10324. }
  10325. ],
  10326. "produces": [
  10327. "application/json"
  10328. ],
  10329. "tags": [
  10330. "用户信息"
  10331. ],
  10332. "summary": "获取用户留言板信息",
  10333. "parameters": [
  10334. {
  10335. "type": "integer",
  10336. "description": "用户ID",
  10337. "name": "userID",
  10338. "in": "query",
  10339. "required": true
  10340. }
  10341. ],
  10342. "responses": {
  10343. "200": {
  10344. "description": "OK",
  10345. "schema": {
  10346. "$ref": "#/definitions/models.Messageboard"
  10347. }
  10348. },
  10349. "500": {
  10350. "description": "Internal Server Error",
  10351. "schema": {
  10352. "$ref": "#/definitions/app.Response"
  10353. }
  10354. }
  10355. }
  10356. }
  10357. },
  10358. "/User/QueryUserFavoriteGoodses": {
  10359. "get": {
  10360. "security": [
  10361. {
  10362. "ApiKeyAuth": []
  10363. }
  10364. ],
  10365. "produces": [
  10366. "application/json"
  10367. ],
  10368. "tags": [
  10369. "用户信息"
  10370. ],
  10371. "summary": "获取用户商品收藏信息",
  10372. "parameters": [
  10373. {
  10374. "type": "integer",
  10375. "description": "用户ID",
  10376. "name": "userID",
  10377. "in": "query",
  10378. "required": true
  10379. }
  10380. ],
  10381. "responses": {
  10382. "200": {
  10383. "description": "OK",
  10384. "schema": {
  10385. "$ref": "#/definitions/models.Userfavoritegoods"
  10386. }
  10387. },
  10388. "500": {
  10389. "description": "Internal Server Error",
  10390. "schema": {
  10391. "$ref": "#/definitions/app.Response"
  10392. }
  10393. }
  10394. }
  10395. }
  10396. },
  10397. "/User/QueryUserInfo": {
  10398. "get": {
  10399. "security": [
  10400. {
  10401. "ApiKeyAuth": []
  10402. }
  10403. ],
  10404. "produces": [
  10405. "application/json"
  10406. ],
  10407. "tags": [
  10408. "用户信息"
  10409. ],
  10410. "summary": "获取用户信息",
  10411. "parameters": [
  10412. {
  10413. "type": "integer",
  10414. "description": "用户ID",
  10415. "name": "userID",
  10416. "in": "query",
  10417. "required": true
  10418. },
  10419. {
  10420. "type": "boolean",
  10421. "description": "是否解密",
  10422. "name": "isDecrypt",
  10423. "in": "query"
  10424. }
  10425. ],
  10426. "responses": {
  10427. "200": {
  10428. "description": "OK",
  10429. "schema": {
  10430. "$ref": "#/definitions/models.Userinfo"
  10431. }
  10432. },
  10433. "500": {
  10434. "description": "Internal Server Error",
  10435. "schema": {
  10436. "$ref": "#/definitions/app.Response"
  10437. }
  10438. }
  10439. }
  10440. }
  10441. },
  10442. "/User/QueryUserReferNum": {
  10443. "get": {
  10444. "produces": [
  10445. "application/json"
  10446. ],
  10447. "tags": [
  10448. "用户信息"
  10449. ],
  10450. "summary": "获取用户邀请码",
  10451. "parameters": [
  10452. {
  10453. "type": "integer",
  10454. "description": "用户ID",
  10455. "name": "userID",
  10456. "in": "query",
  10457. "required": true
  10458. }
  10459. ],
  10460. "responses": {
  10461. "200": {
  10462. "description": "OK",
  10463. "schema": {
  10464. "$ref": "#/definitions/app.Response"
  10465. }
  10466. },
  10467. "500": {
  10468. "description": "Internal Server Error",
  10469. "schema": {
  10470. "$ref": "#/definitions/app.Response"
  10471. }
  10472. }
  10473. }
  10474. }
  10475. },
  10476. "/User/RemoveUserFavoriteGoods": {
  10477. "post": {
  10478. "security": [
  10479. {
  10480. "ApiKeyAuth": []
  10481. }
  10482. ],
  10483. "produces": [
  10484. "application/json"
  10485. ],
  10486. "tags": [
  10487. "用户信息"
  10488. ],
  10489. "summary": "移除用户商品收藏信息",
  10490. "parameters": [
  10491. {
  10492. "type": "integer",
  10493. "description": "用户ID",
  10494. "name": "userID",
  10495. "in": "query",
  10496. "required": true
  10497. },
  10498. {
  10499. "type": "integer",
  10500. "description": "商品ID",
  10501. "name": "goodsID",
  10502. "in": "query",
  10503. "required": true
  10504. }
  10505. ],
  10506. "responses": {
  10507. "200": {
  10508. "description": "OK",
  10509. "schema": {
  10510. "$ref": "#/definitions/app.Response"
  10511. }
  10512. },
  10513. "500": {
  10514. "description": "Internal Server Error",
  10515. "schema": {
  10516. "$ref": "#/definitions/app.Response"
  10517. }
  10518. }
  10519. }
  10520. }
  10521. },
  10522. "/User/UpdateUserAccountStatus": {
  10523. "post": {
  10524. "security": [
  10525. {
  10526. "ApiKeyAuth": []
  10527. }
  10528. ],
  10529. "produces": [
  10530. "application/json"
  10531. ],
  10532. "tags": [
  10533. "用户信息"
  10534. ],
  10535. "summary": "更新用户状态",
  10536. "parameters": [
  10537. {
  10538. "type": "integer",
  10539. "description": "用户ID",
  10540. "name": "userID",
  10541. "in": "query",
  10542. "required": true
  10543. },
  10544. {
  10545. "type": "integer",
  10546. "description": "账户状态 - 4:正常 6:注销(停用)",
  10547. "name": "accountStatus",
  10548. "in": "query",
  10549. "required": true
  10550. }
  10551. ],
  10552. "responses": {
  10553. "200": {
  10554. "description": "OK",
  10555. "schema": {
  10556. "$ref": "#/definitions/app.Response"
  10557. }
  10558. },
  10559. "500": {
  10560. "description": "Internal Server Error",
  10561. "schema": {
  10562. "$ref": "#/definitions/app.Response"
  10563. }
  10564. }
  10565. }
  10566. }
  10567. },
  10568. "/WRTrade/GetAllDeliveryGoods": {
  10569. "get": {
  10570. "security": [
  10571. {
  10572. "ApiKeyAuth": []
  10573. }
  10574. ],
  10575. "produces": [
  10576. "application/json"
  10577. ],
  10578. "tags": [
  10579. "仓单贸易",
  10580. "仓单贸易"
  10581. ],
  10582. "summary": "获取带仓单分类的种类信息",
  10583. "responses": {
  10584. "200": {
  10585. "description": "OK",
  10586. "schema": {
  10587. "$ref": "#/definitions/app.Response"
  10588. }
  10589. },
  10590. "500": {
  10591. "description": "Internal Server Error",
  10592. "schema": {
  10593. "$ref": "#/definitions/app.Response"
  10594. }
  10595. }
  10596. }
  10597. }
  10598. },
  10599. "/WrTrade2/InsertXhcpSellBackApply": {
  10600. "post": {
  10601. "security": [
  10602. {
  10603. "ApiKeyAuth": []
  10604. }
  10605. ],
  10606. "produces": [
  10607. "application/json"
  10608. ],
  10609. "tags": [
  10610. "仓单贸易v2"
  10611. ],
  10612. "summary": "新增回收申请(新会陈皮)",
  10613. "parameters": [
  10614. {
  10615. "description": "回收申请",
  10616. "name": "jsonBody",
  10617. "in": "body",
  10618. "required": true,
  10619. "schema": {
  10620. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  10621. }
  10622. }
  10623. ],
  10624. "responses": {
  10625. "200": {
  10626. "description": "OK",
  10627. "schema": {
  10628. "$ref": "#/definitions/app.Response"
  10629. }
  10630. },
  10631. "500": {
  10632. "description": "Internal Server Error",
  10633. "schema": {
  10634. "$ref": "#/definitions/app.Response"
  10635. }
  10636. }
  10637. }
  10638. }
  10639. },
  10640. "/WrTrade2/QueryDeliveryGoodsSection": {
  10641. "get": {
  10642. "security": [
  10643. {
  10644. "ApiKeyAuth": []
  10645. }
  10646. ],
  10647. "produces": [
  10648. "application/json"
  10649. ],
  10650. "tags": [
  10651. "仓单贸易v2"
  10652. ],
  10653. "summary": "查询板块(分类)",
  10654. "responses": {
  10655. "200": {
  10656. "description": "OK",
  10657. "schema": {
  10658. "type": "array",
  10659. "items": {
  10660. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  10661. }
  10662. }
  10663. },
  10664. "500": {
  10665. "description": "Internal Server Error",
  10666. "schema": {
  10667. "$ref": "#/definitions/app.Response"
  10668. }
  10669. }
  10670. }
  10671. }
  10672. },
  10673. "/WrTrade2/QueryFaProductDetail": {
  10674. "get": {
  10675. "security": [
  10676. {
  10677. "ApiKeyAuth": []
  10678. }
  10679. ],
  10680. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10681. "produces": [
  10682. "application/json"
  10683. ],
  10684. "tags": [
  10685. "仓单贸易v2"
  10686. ],
  10687. "summary": "查询融资产品列表",
  10688. "parameters": [
  10689. {
  10690. "type": "integer",
  10691. "description": "仓单要素id",
  10692. "name": "wrfactortypeid",
  10693. "in": "query",
  10694. "required": true
  10695. }
  10696. ],
  10697. "responses": {
  10698. "200": {
  10699. "description": "OK",
  10700. "schema": {
  10701. "type": "array",
  10702. "items": {
  10703. "$ref": "#/definitions/models.WrFAProductDetail"
  10704. }
  10705. }
  10706. },
  10707. "500": {
  10708. "description": "Internal Server Error",
  10709. "schema": {
  10710. "$ref": "#/definitions/app.Response"
  10711. }
  10712. }
  10713. }
  10714. }
  10715. },
  10716. "/WrTrade2/QueryFilterItem": {
  10717. "get": {
  10718. "security": [
  10719. {
  10720. "ApiKeyAuth": []
  10721. }
  10722. ],
  10723. "produces": [
  10724. "application/json"
  10725. ],
  10726. "tags": [
  10727. "仓单贸易v2"
  10728. ],
  10729. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  10730. "parameters": [
  10731. {
  10732. "type": "string",
  10733. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10734. "name": "itype",
  10735. "in": "query",
  10736. "required": true
  10737. }
  10738. ],
  10739. "responses": {
  10740. "200": {
  10741. "description": "OK",
  10742. "schema": {
  10743. "type": "array",
  10744. "items": {
  10745. "$ref": "#/definitions/models.WrFilterItem"
  10746. }
  10747. }
  10748. },
  10749. "500": {
  10750. "description": "Internal Server Error",
  10751. "schema": {
  10752. "$ref": "#/definitions/app.Response"
  10753. }
  10754. }
  10755. }
  10756. }
  10757. },
  10758. "/WrTrade2/QueryFtDeliveryGoods": {
  10759. "get": {
  10760. "security": [
  10761. {
  10762. "ApiKeyAuth": []
  10763. }
  10764. ],
  10765. "produces": [
  10766. "application/json"
  10767. ],
  10768. "tags": [
  10769. "仓单贸易v2"
  10770. ],
  10771. "summary": "查询品种品类筛选框列表",
  10772. "responses": {
  10773. "200": {
  10774. "description": "OK",
  10775. "schema": {
  10776. "type": "array",
  10777. "items": {
  10778. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  10779. }
  10780. }
  10781. },
  10782. "500": {
  10783. "description": "Internal Server Error",
  10784. "schema": {
  10785. "$ref": "#/definitions/app.Response"
  10786. }
  10787. }
  10788. }
  10789. }
  10790. },
  10791. "/WrTrade2/QueryHoldLB": {
  10792. "get": {
  10793. "security": [
  10794. {
  10795. "ApiKeyAuth": []
  10796. }
  10797. ],
  10798. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  10799. "produces": [
  10800. "application/json"
  10801. ],
  10802. "tags": [
  10803. "仓单贸易v2"
  10804. ],
  10805. "summary": "查询仓单持有记录",
  10806. "parameters": [
  10807. {
  10808. "type": "integer",
  10809. "description": "资金账号",
  10810. "name": "accountid",
  10811. "in": "query",
  10812. "required": true
  10813. },
  10814. {
  10815. "type": "integer",
  10816. "description": "仓库id",
  10817. "name": "warehouseid",
  10818. "in": "query"
  10819. },
  10820. {
  10821. "type": "integer",
  10822. "description": "品种id",
  10823. "name": "deliverygoodsid",
  10824. "in": "query"
  10825. },
  10826. {
  10827. "type": "integer",
  10828. "description": "品类id",
  10829. "name": "wrstandardid",
  10830. "in": "query"
  10831. },
  10832. {
  10833. "type": "integer",
  10834. "description": "仓单要素id",
  10835. "name": "wrfactortypeid",
  10836. "in": "query"
  10837. },
  10838. {
  10839. "type": "string",
  10840. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  10841. "name": "dgitemname",
  10842. "in": "query"
  10843. }
  10844. ],
  10845. "responses": {
  10846. "200": {
  10847. "description": "OK",
  10848. "schema": {
  10849. "type": "array",
  10850. "items": {
  10851. "$ref": "#/definitions/models.WrHoldLB"
  10852. }
  10853. }
  10854. },
  10855. "500": {
  10856. "description": "Internal Server Error",
  10857. "schema": {
  10858. "$ref": "#/definitions/app.Response"
  10859. }
  10860. }
  10861. }
  10862. }
  10863. },
  10864. "/WrTrade2/QueryOrderQuote": {
  10865. "get": {
  10866. "security": [
  10867. {
  10868. "ApiKeyAuth": []
  10869. }
  10870. ],
  10871. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  10872. "produces": [
  10873. "application/json"
  10874. ],
  10875. "tags": [
  10876. "仓单贸易v2"
  10877. ],
  10878. "summary": "查询大厅行情列表",
  10879. "parameters": [
  10880. {
  10881. "type": "integer",
  10882. "description": "页码",
  10883. "name": "page",
  10884. "in": "query"
  10885. },
  10886. {
  10887. "type": "integer",
  10888. "description": "每页条数",
  10889. "name": "pagesize",
  10890. "in": "query"
  10891. },
  10892. {
  10893. "type": "integer",
  10894. "description": "仓单贸易市场id",
  10895. "name": "marketid",
  10896. "in": "query"
  10897. },
  10898. {
  10899. "type": "integer",
  10900. "description": "价格方式 - 1:固定价 2-浮动价",
  10901. "name": "wrpricetype",
  10902. "in": "query",
  10903. "required": true
  10904. },
  10905. {
  10906. "type": "integer",
  10907. "description": "0:仓单预售 1:仓单贸易",
  10908. "name": "haswr",
  10909. "in": "query"
  10910. },
  10911. {
  10912. "type": "string",
  10913. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  10914. "name": "dgitemname",
  10915. "in": "query"
  10916. },
  10917. {
  10918. "type": "integer",
  10919. "description": "仓库id(筛选条件)",
  10920. "name": "warehouseid",
  10921. "in": "query"
  10922. },
  10923. {
  10924. "type": "integer",
  10925. "description": "品种id",
  10926. "name": "deliverygoodsid",
  10927. "in": "query"
  10928. },
  10929. {
  10930. "type": "integer",
  10931. "description": "品类id",
  10932. "name": "wrstandardid",
  10933. "in": "query"
  10934. },
  10935. {
  10936. "type": "integer",
  10937. "description": "品牌id(dgfactoryitemid)",
  10938. "name": "brandid",
  10939. "in": "query"
  10940. },
  10941. {
  10942. "type": "integer",
  10943. "description": "年份id(dgfactoryitemid)",
  10944. "name": "yearsid",
  10945. "in": "query"
  10946. },
  10947. {
  10948. "type": "integer",
  10949. "description": "仓单要素id",
  10950. "name": "wrfactortypeid",
  10951. "in": "query"
  10952. },
  10953. {
  10954. "type": "string",
  10955. "description": "交收月(yyyy-mm) 仓单预售填写",
  10956. "name": "deliverymonth",
  10957. "in": "query"
  10958. }
  10959. ],
  10960. "responses": {
  10961. "200": {
  10962. "description": "OK",
  10963. "schema": {
  10964. "type": "array",
  10965. "items": {
  10966. "$ref": "#/definitions/models.WrOrderQuote"
  10967. }
  10968. }
  10969. },
  10970. "500": {
  10971. "description": "Internal Server Error",
  10972. "schema": {
  10973. "$ref": "#/definitions/app.Response"
  10974. }
  10975. }
  10976. }
  10977. }
  10978. },
  10979. "/WrTrade2/QueryOrderQuoteDetail": {
  10980. "get": {
  10981. "security": [
  10982. {
  10983. "ApiKeyAuth": []
  10984. }
  10985. ],
  10986. "produces": [
  10987. "application/json"
  10988. ],
  10989. "tags": [
  10990. "仓单贸易v2"
  10991. ],
  10992. "summary": "查询买卖大厅",
  10993. "parameters": [
  10994. {
  10995. "type": "integer",
  10996. "description": "页码",
  10997. "name": "page",
  10998. "in": "query"
  10999. },
  11000. {
  11001. "type": "integer",
  11002. "description": "每页条数",
  11003. "name": "pagesize",
  11004. "in": "query"
  11005. },
  11006. {
  11007. "type": "integer",
  11008. "description": "仓单贸易市场id",
  11009. "name": "marketid",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "integer",
  11014. "description": "价格方式 - 1:固定价 2-浮动价",
  11015. "name": "wrpricetype",
  11016. "in": "query",
  11017. "required": true
  11018. },
  11019. {
  11020. "type": "integer",
  11021. "description": "0:仓单预售 1:仓单贸易",
  11022. "name": "haswr",
  11023. "in": "query"
  11024. },
  11025. {
  11026. "type": "integer",
  11027. "description": "仓单要素id",
  11028. "name": "wrfactortypeid",
  11029. "in": "query",
  11030. "required": true
  11031. },
  11032. {
  11033. "type": "integer",
  11034. "description": "期货商品id(浮动价方式时填)",
  11035. "name": "goodsid",
  11036. "in": "query"
  11037. },
  11038. {
  11039. "type": "integer",
  11040. "description": "买卖方向 0-买 1-卖",
  11041. "name": "buyorsell",
  11042. "in": "query",
  11043. "required": true
  11044. },
  11045. {
  11046. "type": "string",
  11047. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11048. "name": "deliverymonth",
  11049. "in": "query"
  11050. }
  11051. ],
  11052. "responses": {
  11053. "200": {
  11054. "description": "OK",
  11055. "schema": {
  11056. "type": "array",
  11057. "items": {
  11058. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11059. }
  11060. }
  11061. },
  11062. "500": {
  11063. "description": "Internal Server Error",
  11064. "schema": {
  11065. "$ref": "#/definitions/app.Response"
  11066. }
  11067. }
  11068. }
  11069. }
  11070. },
  11071. "/WrTrade2/QueryOrderQuoteMyq": {
  11072. "get": {
  11073. "security": [
  11074. {
  11075. "ApiKeyAuth": []
  11076. }
  11077. ],
  11078. "produces": [
  11079. "application/json"
  11080. ],
  11081. "tags": [
  11082. "仓单贸易v2"
  11083. ],
  11084. "summary": "查询贸易圈挂牌大厅",
  11085. "parameters": [
  11086. {
  11087. "type": "integer",
  11088. "description": "页码",
  11089. "name": "page",
  11090. "in": "query"
  11091. },
  11092. {
  11093. "type": "integer",
  11094. "description": "每页条数",
  11095. "name": "pagesize",
  11096. "in": "query"
  11097. },
  11098. {
  11099. "type": "integer",
  11100. "description": "用户id",
  11101. "name": "userid",
  11102. "in": "query",
  11103. "required": true
  11104. },
  11105. {
  11106. "type": "integer",
  11107. "description": "仓单贸易市场id",
  11108. "name": "marketid",
  11109. "in": "query"
  11110. },
  11111. {
  11112. "type": "integer",
  11113. "description": "0:仓单预售 1:仓单贸易",
  11114. "name": "haswr",
  11115. "in": "query"
  11116. },
  11117. {
  11118. "type": "integer",
  11119. "description": "买卖方向 0-买 1-卖",
  11120. "name": "buyorsell",
  11121. "in": "query",
  11122. "required": true
  11123. },
  11124. {
  11125. "type": "integer",
  11126. "description": "品种id",
  11127. "name": "deliverygoodsid",
  11128. "in": "query"
  11129. },
  11130. {
  11131. "type": "integer",
  11132. "description": "品类id",
  11133. "name": "wrstandardid",
  11134. "in": "query"
  11135. },
  11136. {
  11137. "type": "string",
  11138. "description": "交收月(yyyy-mm) 仓单预售填写",
  11139. "name": "deliverymonth",
  11140. "in": "query"
  11141. },
  11142. {
  11143. "type": "string",
  11144. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11145. "name": "dgitemname",
  11146. "in": "query"
  11147. }
  11148. ],
  11149. "responses": {
  11150. "200": {
  11151. "description": "OK",
  11152. "schema": {
  11153. "type": "array",
  11154. "items": {
  11155. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11156. }
  11157. }
  11158. },
  11159. "500": {
  11160. "description": "Internal Server Error",
  11161. "schema": {
  11162. "$ref": "#/definitions/app.Response"
  11163. }
  11164. }
  11165. }
  11166. }
  11167. },
  11168. "/WrTrade2/QueryPerformancePlan": {
  11169. "get": {
  11170. "security": [
  11171. {
  11172. "ApiKeyAuth": []
  11173. }
  11174. ],
  11175. "produces": [
  11176. "application/json"
  11177. ],
  11178. "tags": [
  11179. "仓单贸易v2"
  11180. ],
  11181. "summary": "查询履约信息",
  11182. "parameters": [
  11183. {
  11184. "type": "integer",
  11185. "description": "用户id",
  11186. "name": "userid",
  11187. "in": "query",
  11188. "required": true
  11189. },
  11190. {
  11191. "type": "integer",
  11192. "description": "买卖方向 0-买 1-卖",
  11193. "name": "buyorsell",
  11194. "in": "query",
  11195. "required": true
  11196. },
  11197. {
  11198. "type": "string",
  11199. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  11200. "name": "status",
  11201. "in": "query"
  11202. },
  11203. {
  11204. "type": "string",
  11205. "description": "开始交易日(yyyymmdd)",
  11206. "name": "begindate",
  11207. "in": "query"
  11208. },
  11209. {
  11210. "type": "string",
  11211. "description": "结束交易日(yyyymmdd)",
  11212. "name": "enddate",
  11213. "in": "query"
  11214. }
  11215. ],
  11216. "responses": {
  11217. "200": {
  11218. "description": "OK",
  11219. "schema": {
  11220. "type": "array",
  11221. "items": {
  11222. "$ref": "#/definitions/models.WrPerformancePlan"
  11223. }
  11224. }
  11225. },
  11226. "500": {
  11227. "description": "Internal Server Error",
  11228. "schema": {
  11229. "$ref": "#/definitions/app.Response"
  11230. }
  11231. }
  11232. }
  11233. }
  11234. },
  11235. "/WrTrade2/QueryPermancePlanTmp": {
  11236. "get": {
  11237. "security": [
  11238. {
  11239. "ApiKeyAuth": []
  11240. }
  11241. ],
  11242. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  11243. "produces": [
  11244. "application/json"
  11245. ],
  11246. "tags": [
  11247. "仓单贸易v2"
  11248. ],
  11249. "summary": "查询履约模板",
  11250. "parameters": [
  11251. {
  11252. "type": "integer",
  11253. "description": "用户id",
  11254. "name": "userid",
  11255. "in": "query"
  11256. },
  11257. {
  11258. "type": "string",
  11259. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11260. "name": "tmptype",
  11261. "in": "query"
  11262. },
  11263. {
  11264. "type": "integer",
  11265. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11266. "name": "includepub",
  11267. "in": "query"
  11268. },
  11269. {
  11270. "type": "integer",
  11271. "description": "市场id(天津麦顿指定此参数,其它不用)",
  11272. "name": "marketid",
  11273. "in": "query"
  11274. }
  11275. ],
  11276. "responses": {
  11277. "200": {
  11278. "description": "OK",
  11279. "schema": {
  11280. "type": "array",
  11281. "items": {
  11282. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11283. }
  11284. }
  11285. },
  11286. "500": {
  11287. "description": "Internal Server Error",
  11288. "schema": {
  11289. "$ref": "#/definitions/app.Response"
  11290. }
  11291. }
  11292. }
  11293. }
  11294. },
  11295. "/WrTrade2/QuerySiteColumnDetail": {
  11296. "get": {
  11297. "security": [
  11298. {
  11299. "ApiKeyAuth": []
  11300. }
  11301. ],
  11302. "produces": [
  11303. "application/json"
  11304. ],
  11305. "tags": [
  11306. "仓单贸易v2"
  11307. ],
  11308. "summary": "查询资讯",
  11309. "parameters": [
  11310. {
  11311. "type": "integer",
  11312. "description": "页码",
  11313. "name": "page",
  11314. "in": "query"
  11315. },
  11316. {
  11317. "type": "integer",
  11318. "description": "每页条数",
  11319. "name": "pagesize",
  11320. "in": "query"
  11321. },
  11322. {
  11323. "type": "integer",
  11324. "description": "所属栏目id",
  11325. "name": "columnid",
  11326. "in": "query"
  11327. }
  11328. ],
  11329. "responses": {
  11330. "200": {
  11331. "description": "OK",
  11332. "schema": {
  11333. "type": "array",
  11334. "items": {
  11335. "$ref": "#/definitions/models.WrSiteColumnDetail"
  11336. }
  11337. }
  11338. },
  11339. "500": {
  11340. "description": "Internal Server Error",
  11341. "schema": {
  11342. "$ref": "#/definitions/app.Response"
  11343. }
  11344. }
  11345. }
  11346. }
  11347. },
  11348. "/WrTrade2/QuerySpotGroupTradeSum": {
  11349. "get": {
  11350. "security": [
  11351. {
  11352. "ApiKeyAuth": []
  11353. }
  11354. ],
  11355. "produces": [
  11356. "application/json"
  11357. ],
  11358. "tags": [
  11359. "仓单贸易v2"
  11360. ],
  11361. "summary": "查询指数",
  11362. "responses": {
  11363. "200": {
  11364. "description": "OK",
  11365. "schema": {
  11366. "type": "array",
  11367. "items": {
  11368. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  11369. }
  11370. }
  11371. },
  11372. "500": {
  11373. "description": "Internal Server Error",
  11374. "schema": {
  11375. "$ref": "#/definitions/app.Response"
  11376. }
  11377. }
  11378. }
  11379. }
  11380. },
  11381. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  11382. "get": {
  11383. "security": [
  11384. {
  11385. "ApiKeyAuth": []
  11386. }
  11387. ],
  11388. "description": "查询的结果将会按日期 从小到大 排序",
  11389. "produces": [
  11390. "application/json"
  11391. ],
  11392. "tags": [
  11393. "仓单贸易v2"
  11394. ],
  11395. "summary": "查询指数详细(价格走势图)",
  11396. "parameters": [
  11397. {
  11398. "type": "integer",
  11399. "description": "现货商品id",
  11400. "name": "deliverygoodsid",
  11401. "in": "query",
  11402. "required": true
  11403. },
  11404. {
  11405. "type": "integer",
  11406. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  11407. "name": "lastnum",
  11408. "in": "query"
  11409. }
  11410. ],
  11411. "responses": {
  11412. "200": {
  11413. "description": "OK",
  11414. "schema": {
  11415. "type": "array",
  11416. "items": {
  11417. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  11418. }
  11419. }
  11420. },
  11421. "500": {
  11422. "description": "Internal Server Error",
  11423. "schema": {
  11424. "$ref": "#/definitions/app.Response"
  11425. }
  11426. }
  11427. }
  11428. }
  11429. },
  11430. "/WrTrade2/QueryWrAverageTradePrice": {
  11431. "get": {
  11432. "security": [
  11433. {
  11434. "ApiKeyAuth": []
  11435. }
  11436. ],
  11437. "produces": [
  11438. "application/json"
  11439. ],
  11440. "tags": [
  11441. "仓单贸易v2"
  11442. ],
  11443. "summary": "查询成交价(历史走势)",
  11444. "parameters": [
  11445. {
  11446. "type": "integer",
  11447. "description": "页码",
  11448. "name": "page",
  11449. "in": "query"
  11450. },
  11451. {
  11452. "type": "integer",
  11453. "description": "每页条数",
  11454. "name": "pagesize",
  11455. "in": "query"
  11456. },
  11457. {
  11458. "type": "integer",
  11459. "description": "0:仓单预售 1:仓单贸易",
  11460. "name": "haswr",
  11461. "in": "query",
  11462. "required": true
  11463. },
  11464. {
  11465. "type": "integer",
  11466. "description": "仓单要素id",
  11467. "name": "wrfactortypeid",
  11468. "in": "query",
  11469. "required": true
  11470. }
  11471. ],
  11472. "responses": {
  11473. "200": {
  11474. "description": "OK",
  11475. "schema": {
  11476. "type": "array",
  11477. "items": {
  11478. "$ref": "#/definitions/models.WrAverageTradePrice"
  11479. }
  11480. }
  11481. },
  11482. "500": {
  11483. "description": "Internal Server Error",
  11484. "schema": {
  11485. "$ref": "#/definitions/app.Response"
  11486. }
  11487. }
  11488. }
  11489. }
  11490. },
  11491. "/WrTrade2/QueryWrBrandAndYears": {
  11492. "get": {
  11493. "security": [
  11494. {
  11495. "ApiKeyAuth": []
  11496. }
  11497. ],
  11498. "produces": [
  11499. "application/json"
  11500. ],
  11501. "tags": [
  11502. "仓单贸易v2"
  11503. ],
  11504. "summary": "查询品牌和年份",
  11505. "responses": {
  11506. "200": {
  11507. "description": "OK",
  11508. "schema": {
  11509. "type": "array",
  11510. "items": {
  11511. "$ref": "#/definitions/models.WrBrandAndYears"
  11512. }
  11513. }
  11514. },
  11515. "500": {
  11516. "description": "Internal Server Error",
  11517. "schema": {
  11518. "$ref": "#/definitions/app.Response"
  11519. }
  11520. }
  11521. }
  11522. }
  11523. },
  11524. "/WrTrade2/QueryWrBsGoodsInfo": {
  11525. "get": {
  11526. "security": [
  11527. {
  11528. "ApiKeyAuth": []
  11529. }
  11530. ],
  11531. "description": "合约交易/买卖大厅/详情",
  11532. "produces": [
  11533. "application/json"
  11534. ],
  11535. "tags": [
  11536. "仓单贸易v2"
  11537. ],
  11538. "summary": "查询合约交易买卖大厅详情",
  11539. "parameters": [
  11540. {
  11541. "type": "integer",
  11542. "description": "商品id",
  11543. "name": "goodsid",
  11544. "in": "query",
  11545. "required": true
  11546. }
  11547. ],
  11548. "responses": {
  11549. "200": {
  11550. "description": "OK",
  11551. "schema": {
  11552. "type": "array",
  11553. "items": {
  11554. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11555. }
  11556. }
  11557. },
  11558. "500": {
  11559. "description": "Internal Server Error",
  11560. "schema": {
  11561. "$ref": "#/definitions/app.Response"
  11562. }
  11563. }
  11564. }
  11565. }
  11566. },
  11567. "/WrTrade2/QueryWrBuybackDetail": {
  11568. "get": {
  11569. "security": [
  11570. {
  11571. "ApiKeyAuth": []
  11572. }
  11573. ],
  11574. "produces": [
  11575. "application/json"
  11576. ],
  11577. "tags": [
  11578. "仓单贸易v2"
  11579. ],
  11580. "summary": "查询仓单回购明细",
  11581. "parameters": [
  11582. {
  11583. "type": "integer",
  11584. "description": "融资合同id",
  11585. "name": "scfcontractid",
  11586. "in": "query"
  11587. }
  11588. ],
  11589. "responses": {
  11590. "200": {
  11591. "description": "OK",
  11592. "schema": {
  11593. "type": "array",
  11594. "items": {
  11595. "$ref": "#/definitions/models.WrBuybackDetail"
  11596. }
  11597. }
  11598. },
  11599. "500": {
  11600. "description": "Internal Server Error",
  11601. "schema": {
  11602. "$ref": "#/definitions/app.Response"
  11603. }
  11604. }
  11605. }
  11606. }
  11607. },
  11608. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  11609. "get": {
  11610. "security": [
  11611. {
  11612. "ApiKeyAuth": []
  11613. }
  11614. ],
  11615. "produces": [
  11616. "application/json"
  11617. ],
  11618. "tags": [
  11619. "仓单贸易v2"
  11620. ],
  11621. "summary": "查询固定广告配置",
  11622. "responses": {
  11623. "200": {
  11624. "description": "OK",
  11625. "schema": {
  11626. "type": "array",
  11627. "items": {
  11628. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  11629. }
  11630. }
  11631. },
  11632. "500": {
  11633. "description": "Internal Server Error",
  11634. "schema": {
  11635. "$ref": "#/definitions/app.Response"
  11636. }
  11637. }
  11638. }
  11639. }
  11640. },
  11641. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  11642. "get": {
  11643. "security": [
  11644. {
  11645. "ApiKeyAuth": []
  11646. }
  11647. ],
  11648. "produces": [
  11649. "application/json"
  11650. ],
  11651. "tags": [
  11652. "仓单贸易v2"
  11653. ],
  11654. "summary": "查询合约交收可点选仓单",
  11655. "parameters": [
  11656. {
  11657. "type": "integer",
  11658. "description": "资金账号",
  11659. "name": "accountid",
  11660. "in": "query",
  11661. "required": true
  11662. },
  11663. {
  11664. "type": "integer",
  11665. "description": "商品id",
  11666. "name": "goodsid",
  11667. "in": "query",
  11668. "required": true
  11669. }
  11670. ],
  11671. "responses": {
  11672. "200": {
  11673. "description": "OK",
  11674. "schema": {
  11675. "type": "array",
  11676. "items": {
  11677. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  11678. }
  11679. }
  11680. },
  11681. "500": {
  11682. "description": "Internal Server Error",
  11683. "schema": {
  11684. "$ref": "#/definitions/app.Response"
  11685. }
  11686. }
  11687. }
  11688. }
  11689. },
  11690. "/WrTrade2/QueryWrDeliveryDetail": {
  11691. "get": {
  11692. "security": [
  11693. {
  11694. "ApiKeyAuth": []
  11695. }
  11696. ],
  11697. "produces": [
  11698. "application/json"
  11699. ],
  11700. "tags": [
  11701. "仓单贸易v2"
  11702. ],
  11703. "summary": "查询交收",
  11704. "parameters": [
  11705. {
  11706. "type": "integer",
  11707. "description": "用户id",
  11708. "name": "userid",
  11709. "in": "query",
  11710. "required": true
  11711. },
  11712. {
  11713. "type": "integer",
  11714. "description": "资金账号id",
  11715. "name": "accountid",
  11716. "in": "query"
  11717. },
  11718. {
  11719. "type": "string",
  11720. "description": "开始交易日(yyyymmdd)",
  11721. "name": "begindate",
  11722. "in": "query"
  11723. },
  11724. {
  11725. "type": "string",
  11726. "description": "结束交易日(yyyymmdd)",
  11727. "name": "enddate",
  11728. "in": "query"
  11729. }
  11730. ],
  11731. "responses": {
  11732. "200": {
  11733. "description": "OK",
  11734. "schema": {
  11735. "type": "array",
  11736. "items": {
  11737. "$ref": "#/definitions/models.WrDeliveryDetail"
  11738. }
  11739. }
  11740. },
  11741. "500": {
  11742. "description": "Internal Server Error",
  11743. "schema": {
  11744. "$ref": "#/definitions/app.Response"
  11745. }
  11746. }
  11747. }
  11748. }
  11749. },
  11750. "/WrTrade2/QueryWrDraftUserInfo": {
  11751. "get": {
  11752. "security": [
  11753. {
  11754. "ApiKeyAuth": []
  11755. }
  11756. ],
  11757. "produces": [
  11758. "application/json"
  11759. ],
  11760. "tags": [
  11761. "仓单贸易v2"
  11762. ],
  11763. "summary": "查询实名认证信息",
  11764. "parameters": [
  11765. {
  11766. "type": "integer",
  11767. "description": "用户ID",
  11768. "name": "userid",
  11769. "in": "query",
  11770. "required": true
  11771. },
  11772. {
  11773. "type": "integer",
  11774. "description": "用户状态 1:正常 2:注销",
  11775. "name": "userstatus",
  11776. "in": "query"
  11777. }
  11778. ],
  11779. "responses": {
  11780. "200": {
  11781. "description": "OK",
  11782. "schema": {
  11783. "type": "array",
  11784. "items": {
  11785. "$ref": "#/definitions/models.WrDraftUserInfo"
  11786. }
  11787. }
  11788. },
  11789. "500": {
  11790. "description": "Internal Server Error",
  11791. "schema": {
  11792. "$ref": "#/definitions/app.Response"
  11793. }
  11794. }
  11795. }
  11796. }
  11797. },
  11798. "/WrTrade2/QueryWrFactorTypeInfo": {
  11799. "get": {
  11800. "security": [
  11801. {
  11802. "ApiKeyAuth": []
  11803. }
  11804. ],
  11805. "produces": [
  11806. "application/json"
  11807. ],
  11808. "tags": [
  11809. "仓单贸易v2"
  11810. ],
  11811. "summary": "查询仓单要素详细信息",
  11812. "parameters": [
  11813. {
  11814. "type": "integer",
  11815. "description": "仓单要素id",
  11816. "name": "wrfactortypeid",
  11817. "in": "query",
  11818. "required": true
  11819. }
  11820. ],
  11821. "responses": {
  11822. "200": {
  11823. "description": "OK",
  11824. "schema": {
  11825. "type": "array",
  11826. "items": {
  11827. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11828. }
  11829. }
  11830. },
  11831. "500": {
  11832. "description": "Internal Server Error",
  11833. "schema": {
  11834. "$ref": "#/definitions/app.Response"
  11835. }
  11836. }
  11837. }
  11838. }
  11839. },
  11840. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11841. "get": {
  11842. "security": [
  11843. {
  11844. "ApiKeyAuth": []
  11845. }
  11846. ],
  11847. "produces": [
  11848. "application/json"
  11849. ],
  11850. "tags": [
  11851. "仓单贸易v2"
  11852. ],
  11853. "summary": "查询仓单要素详细信息列表项",
  11854. "parameters": [
  11855. {
  11856. "type": "integer",
  11857. "description": "仓单要素id",
  11858. "name": "wrfactortypeid",
  11859. "in": "query",
  11860. "required": true
  11861. }
  11862. ],
  11863. "responses": {
  11864. "200": {
  11865. "description": "OK",
  11866. "schema": {
  11867. "type": "array",
  11868. "items": {
  11869. "$ref": "#/definitions/models.WrTypeItem"
  11870. }
  11871. }
  11872. },
  11873. "500": {
  11874. "description": "Internal Server Error",
  11875. "schema": {
  11876. "$ref": "#/definitions/app.Response"
  11877. }
  11878. }
  11879. }
  11880. }
  11881. },
  11882. "/WrTrade2/QueryWrFinanceBuyApply": {
  11883. "get": {
  11884. "security": [
  11885. {
  11886. "ApiKeyAuth": []
  11887. }
  11888. ],
  11889. "description": "页面 融资信息+ / 申请单",
  11890. "produces": [
  11891. "application/json"
  11892. ],
  11893. "tags": [
  11894. "仓单贸易v2"
  11895. ],
  11896. "summary": "查询融资购买申请",
  11897. "parameters": [
  11898. {
  11899. "type": "integer",
  11900. "description": "用户id",
  11901. "name": "userid",
  11902. "in": "query",
  11903. "required": true
  11904. }
  11905. ],
  11906. "responses": {
  11907. "200": {
  11908. "description": "OK",
  11909. "schema": {
  11910. "type": "array",
  11911. "items": {
  11912. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11913. }
  11914. }
  11915. },
  11916. "500": {
  11917. "description": "Internal Server Error",
  11918. "schema": {
  11919. "$ref": "#/definitions/app.Response"
  11920. }
  11921. }
  11922. }
  11923. }
  11924. },
  11925. "/WrTrade2/QueryWrFriendApply": {
  11926. "get": {
  11927. "security": [
  11928. {
  11929. "ApiKeyAuth": []
  11930. }
  11931. ],
  11932. "produces": [
  11933. "application/json"
  11934. ],
  11935. "tags": [
  11936. "仓单贸易v2"
  11937. ],
  11938. "summary": "查询好友申请记录",
  11939. "parameters": [
  11940. {
  11941. "type": "integer",
  11942. "description": "用户id",
  11943. "name": "userid",
  11944. "in": "query",
  11945. "required": true
  11946. }
  11947. ],
  11948. "responses": {
  11949. "200": {
  11950. "description": "OK",
  11951. "schema": {
  11952. "type": "array",
  11953. "items": {
  11954. "$ref": "#/definitions/models.WrFriendApply"
  11955. }
  11956. }
  11957. },
  11958. "500": {
  11959. "description": "Internal Server Error",
  11960. "schema": {
  11961. "$ref": "#/definitions/app.Response"
  11962. }
  11963. }
  11964. }
  11965. }
  11966. },
  11967. "/WrTrade2/QueryWrGoodsInfo": {
  11968. "get": {
  11969. "security": [
  11970. {
  11971. "ApiKeyAuth": []
  11972. }
  11973. ],
  11974. "produces": [
  11975. "application/json"
  11976. ],
  11977. "tags": [
  11978. "仓单贸易v2"
  11979. ],
  11980. "summary": "查询仓单商品信息",
  11981. "parameters": [
  11982. {
  11983. "type": "integer",
  11984. "description": "仓单贸易市场id",
  11985. "name": "marketid",
  11986. "in": "query"
  11987. },
  11988. {
  11989. "type": "integer",
  11990. "description": "0:仓单预售 1:仓单贸易",
  11991. "name": "haswr",
  11992. "in": "query",
  11993. "required": true
  11994. },
  11995. {
  11996. "type": "integer",
  11997. "description": "仓单要素id",
  11998. "name": "wrfactortypeid",
  11999. "in": "query",
  12000. "required": true
  12001. },
  12002. {
  12003. "type": "integer",
  12004. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12005. "name": "tmplateid",
  12006. "in": "query"
  12007. }
  12008. ],
  12009. "responses": {
  12010. "200": {
  12011. "description": "OK",
  12012. "schema": {
  12013. "type": "array",
  12014. "items": {
  12015. "$ref": "#/definitions/models.WrGoodsInfo"
  12016. }
  12017. }
  12018. },
  12019. "500": {
  12020. "description": "Internal Server Error",
  12021. "schema": {
  12022. "$ref": "#/definitions/app.Response"
  12023. }
  12024. }
  12025. }
  12026. }
  12027. },
  12028. "/WrTrade2/QueryWrMarketTradeConfig": {
  12029. "get": {
  12030. "security": [
  12031. {
  12032. "ApiKeyAuth": []
  12033. }
  12034. ],
  12035. "produces": [
  12036. "application/json"
  12037. ],
  12038. "tags": [
  12039. "仓单贸易v2"
  12040. ],
  12041. "summary": "查询市场交易参数配置",
  12042. "parameters": [
  12043. {
  12044. "type": "integer",
  12045. "description": "市场id",
  12046. "name": "marketid",
  12047. "in": "query"
  12048. }
  12049. ],
  12050. "responses": {
  12051. "200": {
  12052. "description": "OK",
  12053. "schema": {
  12054. "type": "array",
  12055. "items": {
  12056. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12057. }
  12058. }
  12059. },
  12060. "500": {
  12061. "description": "Internal Server Error",
  12062. "schema": {
  12063. "$ref": "#/definitions/app.Response"
  12064. }
  12065. }
  12066. }
  12067. }
  12068. },
  12069. "/WrTrade2/QueryWrOrderDetail": {
  12070. "get": {
  12071. "security": [
  12072. {
  12073. "ApiKeyAuth": []
  12074. }
  12075. ],
  12076. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  12077. "produces": [
  12078. "application/json"
  12079. ],
  12080. "tags": [
  12081. "仓单贸易v2"
  12082. ],
  12083. "summary": "查询仓单委托单",
  12084. "parameters": [
  12085. {
  12086. "type": "integer",
  12087. "description": "页码",
  12088. "name": "page",
  12089. "in": "query"
  12090. },
  12091. {
  12092. "type": "integer",
  12093. "description": "每页条数",
  12094. "name": "pagesize",
  12095. "in": "query"
  12096. },
  12097. {
  12098. "type": "integer",
  12099. "description": "用户id",
  12100. "name": "userid",
  12101. "in": "query",
  12102. "required": true
  12103. },
  12104. {
  12105. "type": "integer",
  12106. "description": "仓单贸易市场id",
  12107. "name": "marketid",
  12108. "in": "query"
  12109. },
  12110. {
  12111. "type": "integer",
  12112. "description": "0:仓单预售 1:仓单贸易",
  12113. "name": "haswr",
  12114. "in": "query",
  12115. "required": true
  12116. },
  12117. {
  12118. "type": "integer",
  12119. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  12120. "name": "bcancel",
  12121. "in": "query"
  12122. },
  12123. {
  12124. "type": "integer",
  12125. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  12126. "name": "wrtradetype",
  12127. "in": "query"
  12128. },
  12129. {
  12130. "type": "string",
  12131. "description": "开始交易日(yyyymmdd)",
  12132. "name": "begindate",
  12133. "in": "query"
  12134. },
  12135. {
  12136. "type": "string",
  12137. "description": "结束交易日(yyyymmdd)",
  12138. "name": "enddate",
  12139. "in": "query"
  12140. }
  12141. ],
  12142. "responses": {
  12143. "200": {
  12144. "description": "OK",
  12145. "schema": {
  12146. "type": "array",
  12147. "items": {
  12148. "$ref": "#/definitions/models.WrOrderDetail"
  12149. }
  12150. }
  12151. },
  12152. "500": {
  12153. "description": "Internal Server Error",
  12154. "schema": {
  12155. "$ref": "#/definitions/app.Response"
  12156. }
  12157. }
  12158. }
  12159. }
  12160. },
  12161. "/WrTrade2/QueryWrOutInApply": {
  12162. "get": {
  12163. "security": [
  12164. {
  12165. "ApiKeyAuth": []
  12166. }
  12167. ],
  12168. "produces": [
  12169. "application/json"
  12170. ],
  12171. "tags": [
  12172. "仓单贸易v2"
  12173. ],
  12174. "summary": "查询提货申请",
  12175. "parameters": [
  12176. {
  12177. "type": "integer",
  12178. "description": "页码",
  12179. "name": "page",
  12180. "in": "query"
  12181. },
  12182. {
  12183. "type": "integer",
  12184. "description": "每页条数",
  12185. "name": "pagesize",
  12186. "in": "query"
  12187. },
  12188. {
  12189. "type": "integer",
  12190. "description": "用户id",
  12191. "name": "userid",
  12192. "in": "query",
  12193. "required": true
  12194. },
  12195. {
  12196. "type": "string",
  12197. "description": "开始交易日(yyyymmdd)",
  12198. "name": "begindate",
  12199. "in": "query"
  12200. },
  12201. {
  12202. "type": "string",
  12203. "description": "结束交易日(yyyymmdd)",
  12204. "name": "enddate",
  12205. "in": "query"
  12206. }
  12207. ],
  12208. "responses": {
  12209. "200": {
  12210. "description": "OK",
  12211. "schema": {
  12212. "type": "array",
  12213. "items": {
  12214. "$ref": "#/definitions/models.WrOutInApply"
  12215. }
  12216. }
  12217. },
  12218. "500": {
  12219. "description": "Internal Server Error",
  12220. "schema": {
  12221. "$ref": "#/definitions/app.Response"
  12222. }
  12223. }
  12224. }
  12225. }
  12226. },
  12227. "/WrTrade2/QueryWrPerformancePlanStep": {
  12228. "get": {
  12229. "security": [
  12230. {
  12231. "ApiKeyAuth": []
  12232. }
  12233. ],
  12234. "produces": [
  12235. "application/json"
  12236. ],
  12237. "tags": [
  12238. "仓单贸易v2"
  12239. ],
  12240. "summary": "查询履约信息详情",
  12241. "parameters": [
  12242. {
  12243. "type": "integer",
  12244. "description": "履约计划id(performanceplanid)",
  12245. "name": "planid",
  12246. "in": "query",
  12247. "required": true
  12248. },
  12249. {
  12250. "type": "integer",
  12251. "description": "当前步骤id",
  12252. "name": "curstepid",
  12253. "in": "query"
  12254. }
  12255. ],
  12256. "responses": {
  12257. "200": {
  12258. "description": "OK",
  12259. "schema": {
  12260. "type": "array",
  12261. "items": {
  12262. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12263. }
  12264. }
  12265. },
  12266. "500": {
  12267. "description": "Internal Server Error",
  12268. "schema": {
  12269. "$ref": "#/definitions/app.Response"
  12270. }
  12271. }
  12272. }
  12273. }
  12274. },
  12275. "/WrTrade2/QueryWrPerformanceStepType": {
  12276. "get": {
  12277. "security": [
  12278. {
  12279. "ApiKeyAuth": []
  12280. }
  12281. ],
  12282. "produces": [
  12283. "application/json"
  12284. ],
  12285. "tags": [
  12286. "仓单贸易v2"
  12287. ],
  12288. "summary": "查询履约步骤枚举",
  12289. "responses": {
  12290. "200": {
  12291. "description": "OK",
  12292. "schema": {
  12293. "type": "array",
  12294. "items": {
  12295. "$ref": "#/definitions/models.WrPerformanceStepType"
  12296. }
  12297. }
  12298. },
  12299. "500": {
  12300. "description": "Internal Server Error",
  12301. "schema": {
  12302. "$ref": "#/definitions/app.Response"
  12303. }
  12304. }
  12305. }
  12306. }
  12307. },
  12308. "/WrTrade2/QueryWrPosition": {
  12309. "get": {
  12310. "security": [
  12311. {
  12312. "ApiKeyAuth": []
  12313. }
  12314. ],
  12315. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12316. "produces": [
  12317. "application/json"
  12318. ],
  12319. "tags": [
  12320. "仓单贸易v2"
  12321. ],
  12322. "summary": "查询现货(预售)仓单持仓",
  12323. "parameters": [
  12324. {
  12325. "type": "integer",
  12326. "description": "用户id",
  12327. "name": "userid",
  12328. "in": "query",
  12329. "required": true
  12330. },
  12331. {
  12332. "type": "integer",
  12333. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12334. "name": "querytype",
  12335. "in": "query",
  12336. "required": true
  12337. },
  12338. {
  12339. "type": "integer",
  12340. "description": "0:仓单预售 1:仓单贸易",
  12341. "name": "haswr",
  12342. "in": "query",
  12343. "required": true
  12344. },
  12345. {
  12346. "type": "string",
  12347. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12348. "name": "dgitemname",
  12349. "in": "query"
  12350. },
  12351. {
  12352. "type": "integer",
  12353. "description": "仓库id(筛选条件)",
  12354. "name": "warehouseid",
  12355. "in": "query"
  12356. },
  12357. {
  12358. "type": "integer",
  12359. "description": "品种id",
  12360. "name": "deliverygoodsid",
  12361. "in": "query"
  12362. },
  12363. {
  12364. "type": "integer",
  12365. "description": "品类id",
  12366. "name": "wrstandardid",
  12367. "in": "query"
  12368. }
  12369. ],
  12370. "responses": {
  12371. "200": {
  12372. "description": "OK",
  12373. "schema": {
  12374. "type": "array",
  12375. "items": {
  12376. "$ref": "#/definitions/models.WrPosition"
  12377. }
  12378. }
  12379. },
  12380. "500": {
  12381. "description": "Internal Server Error",
  12382. "schema": {
  12383. "$ref": "#/definitions/app.Response"
  12384. }
  12385. }
  12386. }
  12387. }
  12388. },
  12389. "/WrTrade2/QueryWrPreSaleInfo": {
  12390. "get": {
  12391. "security": [
  12392. {
  12393. "ApiKeyAuth": []
  12394. }
  12395. ],
  12396. "produces": [
  12397. "application/json"
  12398. ],
  12399. "tags": [
  12400. "仓单贸易v2"
  12401. ],
  12402. "summary": "查询新品发布",
  12403. "parameters": [
  12404. {
  12405. "type": "integer",
  12406. "description": "市场id",
  12407. "name": "marketid",
  12408. "in": "query"
  12409. },
  12410. {
  12411. "type": "string",
  12412. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  12413. "name": "presalestatus",
  12414. "in": "query"
  12415. },
  12416. {
  12417. "type": "integer",
  12418. "description": "摇号标识 - 0:未摇号 1:已摇号",
  12419. "name": "lotteryflag",
  12420. "in": "query"
  12421. },
  12422. {
  12423. "type": "integer",
  12424. "description": "最近多少条记录(按创建时间倒序)",
  12425. "name": "lastnum",
  12426. "in": "query"
  12427. }
  12428. ],
  12429. "responses": {
  12430. "200": {
  12431. "description": "OK",
  12432. "schema": {
  12433. "type": "array",
  12434. "items": {
  12435. "$ref": "#/definitions/models.WrPreSaleInfo"
  12436. }
  12437. }
  12438. },
  12439. "500": {
  12440. "description": "Internal Server Error",
  12441. "schema": {
  12442. "$ref": "#/definitions/app.Response"
  12443. }
  12444. }
  12445. }
  12446. }
  12447. },
  12448. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  12449. "get": {
  12450. "security": [
  12451. {
  12452. "ApiKeyAuth": []
  12453. }
  12454. ],
  12455. "produces": [
  12456. "application/json"
  12457. ],
  12458. "tags": [
  12459. "仓单贸易v2"
  12460. ],
  12461. "summary": "查询价格走势",
  12462. "parameters": [
  12463. {
  12464. "type": "integer",
  12465. "description": "市场id",
  12466. "name": "marketid",
  12467. "in": "query",
  12468. "required": true
  12469. },
  12470. {
  12471. "type": "integer",
  12472. "description": "现货商品id",
  12473. "name": "wrstandardid",
  12474. "in": "query",
  12475. "required": true
  12476. },
  12477. {
  12478. "type": "string",
  12479. "description": "开始交易日(yyyymmdd)",
  12480. "name": "begindate",
  12481. "in": "query"
  12482. },
  12483. {
  12484. "type": "string",
  12485. "description": "结束交易日(yyyymmdd)",
  12486. "name": "enddate",
  12487. "in": "query"
  12488. },
  12489. {
  12490. "type": "integer",
  12491. "description": "最近多少条记录(按交易日倒序)",
  12492. "name": "lastnum",
  12493. "in": "query"
  12494. },
  12495. {
  12496. "type": "boolean",
  12497. "description": "是否今日",
  12498. "name": "istoday",
  12499. "in": "query"
  12500. }
  12501. ],
  12502. "responses": {
  12503. "200": {
  12504. "description": "OK",
  12505. "schema": {
  12506. "type": "array",
  12507. "items": {
  12508. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  12509. }
  12510. }
  12511. },
  12512. "500": {
  12513. "description": "Internal Server Error",
  12514. "schema": {
  12515. "$ref": "#/definitions/app.Response"
  12516. }
  12517. }
  12518. }
  12519. }
  12520. },
  12521. "/WrTrade2/QueryWrScfContract": {
  12522. "get": {
  12523. "security": [
  12524. {
  12525. "ApiKeyAuth": []
  12526. }
  12527. ],
  12528. "produces": [
  12529. "application/json"
  12530. ],
  12531. "tags": [
  12532. "仓单贸易v2"
  12533. ],
  12534. "summary": "查询仓单贸易融资合同",
  12535. "parameters": [
  12536. {
  12537. "type": "integer",
  12538. "description": "用户id",
  12539. "name": "userid",
  12540. "in": "query",
  12541. "required": true
  12542. },
  12543. {
  12544. "type": "integer",
  12545. "description": "融资合同id",
  12546. "name": "scfcontractid",
  12547. "in": "query"
  12548. }
  12549. ],
  12550. "responses": {
  12551. "200": {
  12552. "description": "OK",
  12553. "schema": {
  12554. "type": "array",
  12555. "items": {
  12556. "$ref": "#/definitions/models.WrScfContract"
  12557. }
  12558. }
  12559. },
  12560. "500": {
  12561. "description": "Internal Server Error",
  12562. "schema": {
  12563. "$ref": "#/definitions/app.Response"
  12564. }
  12565. }
  12566. }
  12567. }
  12568. },
  12569. "/WrTrade2/QueryWrScfContractInterest": {
  12570. "get": {
  12571. "security": [
  12572. {
  12573. "ApiKeyAuth": []
  12574. }
  12575. ],
  12576. "produces": [
  12577. "application/json"
  12578. ],
  12579. "tags": [
  12580. "仓单贸易v2"
  12581. ],
  12582. "summary": "查询融资合同费用明细",
  12583. "parameters": [
  12584. {
  12585. "type": "integer",
  12586. "description": "融资合同id",
  12587. "name": "scfcontractid",
  12588. "in": "query"
  12589. }
  12590. ],
  12591. "responses": {
  12592. "200": {
  12593. "description": "OK",
  12594. "schema": {
  12595. "type": "array",
  12596. "items": {
  12597. "$ref": "#/definitions/models.WrScfContractInterest"
  12598. }
  12599. }
  12600. },
  12601. "500": {
  12602. "description": "Internal Server Error",
  12603. "schema": {
  12604. "$ref": "#/definitions/app.Response"
  12605. }
  12606. }
  12607. }
  12608. }
  12609. },
  12610. "/WrTrade2/QueryWrSearchUser": {
  12611. "get": {
  12612. "security": [
  12613. {
  12614. "ApiKeyAuth": []
  12615. }
  12616. ],
  12617. "produces": [
  12618. "application/json"
  12619. ],
  12620. "tags": [
  12621. "仓单贸易v2"
  12622. ],
  12623. "summary": "查询用户",
  12624. "parameters": [
  12625. {
  12626. "type": "string",
  12627. "description": "用户名称(模糊匹配)",
  12628. "name": "username",
  12629. "in": "query",
  12630. "required": true
  12631. }
  12632. ],
  12633. "responses": {
  12634. "200": {
  12635. "description": "OK",
  12636. "schema": {
  12637. "type": "array",
  12638. "items": {
  12639. "$ref": "#/definitions/models.WrSearchUser"
  12640. }
  12641. }
  12642. },
  12643. "500": {
  12644. "description": "Internal Server Error",
  12645. "schema": {
  12646. "$ref": "#/definitions/app.Response"
  12647. }
  12648. }
  12649. }
  12650. }
  12651. },
  12652. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12653. "get": {
  12654. "security": [
  12655. {
  12656. "ApiKeyAuth": []
  12657. }
  12658. ],
  12659. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12660. "produces": [
  12661. "application/json"
  12662. ],
  12663. "tags": [
  12664. "仓单贸易v2"
  12665. ],
  12666. "summary": "查询指定成交",
  12667. "parameters": [
  12668. {
  12669. "type": "integer",
  12670. "description": "页码",
  12671. "name": "page",
  12672. "in": "query"
  12673. },
  12674. {
  12675. "type": "integer",
  12676. "description": "每页条数",
  12677. "name": "pagesize",
  12678. "in": "query"
  12679. },
  12680. {
  12681. "type": "integer",
  12682. "description": "用户id",
  12683. "name": "userid",
  12684. "in": "query",
  12685. "required": true
  12686. },
  12687. {
  12688. "type": "integer",
  12689. "description": "仓单贸易市场id",
  12690. "name": "marketid",
  12691. "in": "query"
  12692. },
  12693. {
  12694. "type": "integer",
  12695. "description": "0:仓单预售 1:仓单贸易",
  12696. "name": "haswr",
  12697. "in": "query",
  12698. "required": true
  12699. },
  12700. {
  12701. "type": "integer",
  12702. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  12703. "name": "isspecified",
  12704. "in": "query"
  12705. }
  12706. ],
  12707. "responses": {
  12708. "200": {
  12709. "description": "OK",
  12710. "schema": {
  12711. "type": "array",
  12712. "items": {
  12713. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12714. }
  12715. }
  12716. },
  12717. "500": {
  12718. "description": "Internal Server Error",
  12719. "schema": {
  12720. "$ref": "#/definitions/app.Response"
  12721. }
  12722. }
  12723. }
  12724. }
  12725. },
  12726. "/WrTrade2/QueryWrStandardFactoryItem": {
  12727. "get": {
  12728. "security": [
  12729. {
  12730. "ApiKeyAuth": []
  12731. }
  12732. ],
  12733. "produces": [
  12734. "application/json"
  12735. ],
  12736. "tags": [
  12737. "仓单贸易v2"
  12738. ],
  12739. "summary": "查询品类要素定义项",
  12740. "parameters": [
  12741. {
  12742. "type": "integer",
  12743. "description": "品类id",
  12744. "name": "wrstandardid",
  12745. "in": "query",
  12746. "required": true
  12747. }
  12748. ],
  12749. "responses": {
  12750. "200": {
  12751. "description": "OK",
  12752. "schema": {
  12753. "type": "array",
  12754. "items": {
  12755. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12756. }
  12757. }
  12758. },
  12759. "500": {
  12760. "description": "Internal Server Error",
  12761. "schema": {
  12762. "$ref": "#/definitions/app.Response"
  12763. }
  12764. }
  12765. }
  12766. }
  12767. },
  12768. "/WrTrade2/QueryWrTradeBargainApply": {
  12769. "get": {
  12770. "security": [
  12771. {
  12772. "ApiKeyAuth": []
  12773. }
  12774. ],
  12775. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  12776. "produces": [
  12777. "application/json"
  12778. ],
  12779. "tags": [
  12780. "仓单贸易v2"
  12781. ],
  12782. "summary": "查询议价单",
  12783. "parameters": [
  12784. {
  12785. "type": "integer",
  12786. "description": "议价人id(摘牌方)",
  12787. "name": "userid",
  12788. "in": "query"
  12789. },
  12790. {
  12791. "type": "integer",
  12792. "description": "挂牌方id(查对方议价时,填写此项)",
  12793. "name": "matchuserid",
  12794. "in": "query"
  12795. },
  12796. {
  12797. "type": "integer",
  12798. "description": "关联委托单id",
  12799. "name": "wrtradeorderid",
  12800. "in": "query"
  12801. },
  12802. {
  12803. "type": "integer",
  12804. "description": "0:仓单预售 1:仓单贸易",
  12805. "name": "haswr",
  12806. "in": "query",
  12807. "required": true
  12808. },
  12809. {
  12810. "type": "string",
  12811. "description": "开始交易日(yyyymmdd)",
  12812. "name": "begindate",
  12813. "in": "query"
  12814. },
  12815. {
  12816. "type": "string",
  12817. "description": "结束交易日(yyyymmdd)",
  12818. "name": "enddate",
  12819. "in": "query"
  12820. }
  12821. ],
  12822. "responses": {
  12823. "200": {
  12824. "description": "OK",
  12825. "schema": {
  12826. "type": "array",
  12827. "items": {
  12828. "$ref": "#/definitions/models.WRTradeBargainApply"
  12829. }
  12830. }
  12831. },
  12832. "500": {
  12833. "description": "Internal Server Error",
  12834. "schema": {
  12835. "$ref": "#/definitions/app.Response"
  12836. }
  12837. }
  12838. }
  12839. }
  12840. },
  12841. "/WrTrade2/QueryWrTradeDetail": {
  12842. "get": {
  12843. "security": [
  12844. {
  12845. "ApiKeyAuth": []
  12846. }
  12847. ],
  12848. "produces": [
  12849. "application/json"
  12850. ],
  12851. "tags": [
  12852. "仓单贸易v2"
  12853. ],
  12854. "summary": "查询仓单成交明细",
  12855. "parameters": [
  12856. {
  12857. "type": "integer",
  12858. "description": "页码",
  12859. "name": "page",
  12860. "in": "query"
  12861. },
  12862. {
  12863. "type": "integer",
  12864. "description": "每页条数",
  12865. "name": "pagesize",
  12866. "in": "query"
  12867. },
  12868. {
  12869. "type": "integer",
  12870. "description": "用户id",
  12871. "name": "userid",
  12872. "in": "query",
  12873. "required": true
  12874. },
  12875. {
  12876. "type": "integer",
  12877. "description": "仓单贸易市场id",
  12878. "name": "marketid",
  12879. "in": "query"
  12880. },
  12881. {
  12882. "type": "integer",
  12883. "description": "0:仓单预售 1:仓单贸易",
  12884. "name": "haswr",
  12885. "in": "query",
  12886. "required": true
  12887. },
  12888. {
  12889. "type": "string",
  12890. "description": "开始交易日(yyyymmdd)",
  12891. "name": "begindate",
  12892. "in": "query"
  12893. },
  12894. {
  12895. "type": "string",
  12896. "description": "结束交易日(yyyymmdd)",
  12897. "name": "enddate",
  12898. "in": "query"
  12899. }
  12900. ],
  12901. "responses": {
  12902. "200": {
  12903. "description": "OK",
  12904. "schema": {
  12905. "type": "array",
  12906. "items": {
  12907. "$ref": "#/definitions/models.WrTradeDetail"
  12908. }
  12909. }
  12910. },
  12911. "500": {
  12912. "description": "Internal Server Error",
  12913. "schema": {
  12914. "$ref": "#/definitions/app.Response"
  12915. }
  12916. }
  12917. }
  12918. }
  12919. },
  12920. "/WrTrade2/QueryWrTradeOrderDetail": {
  12921. "get": {
  12922. "security": [
  12923. {
  12924. "ApiKeyAuth": []
  12925. }
  12926. ],
  12927. "produces": [
  12928. "application/json"
  12929. ],
  12930. "tags": [
  12931. "仓单贸易v2"
  12932. ],
  12933. "summary": "查询合约交易买卖大厅",
  12934. "parameters": [
  12935. {
  12936. "type": "integer",
  12937. "description": "页码",
  12938. "name": "page",
  12939. "in": "query"
  12940. },
  12941. {
  12942. "type": "integer",
  12943. "description": "每页条数",
  12944. "name": "pagesize",
  12945. "in": "query"
  12946. },
  12947. {
  12948. "type": "integer",
  12949. "description": "商品id",
  12950. "name": "goodsid",
  12951. "in": "query",
  12952. "required": true
  12953. },
  12954. {
  12955. "type": "integer",
  12956. "description": "买卖方向 0-买 1-卖",
  12957. "name": "buyorsell",
  12958. "in": "query",
  12959. "required": true
  12960. }
  12961. ],
  12962. "responses": {
  12963. "200": {
  12964. "description": "OK",
  12965. "schema": {
  12966. "type": "array",
  12967. "items": {
  12968. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12969. }
  12970. }
  12971. },
  12972. "500": {
  12973. "description": "Internal Server Error",
  12974. "schema": {
  12975. "$ref": "#/definitions/app.Response"
  12976. }
  12977. }
  12978. }
  12979. }
  12980. },
  12981. "/WrTrade2/QueryWrTradeQuote": {
  12982. "get": {
  12983. "security": [
  12984. {
  12985. "ApiKeyAuth": []
  12986. }
  12987. ],
  12988. "produces": [
  12989. "application/json"
  12990. ],
  12991. "tags": [
  12992. "仓单贸易v2"
  12993. ],
  12994. "summary": "查询仓单贸易成交行情",
  12995. "parameters": [
  12996. {
  12997. "type": "integer",
  12998. "description": "现货商品id",
  12999. "name": "wrstandardid",
  13000. "in": "query",
  13001. "required": true
  13002. },
  13003. {
  13004. "type": "string",
  13005. "description": "开始日期(yyyymmdd)",
  13006. "name": "begindate",
  13007. "in": "query",
  13008. "required": true
  13009. },
  13010. {
  13011. "type": "string",
  13012. "description": "结束日期(yyyymmdd)",
  13013. "name": "enddate",
  13014. "in": "query",
  13015. "required": true
  13016. },
  13017. {
  13018. "type": "integer",
  13019. "description": "市场id",
  13020. "name": "marketid",
  13021. "in": "query"
  13022. }
  13023. ],
  13024. "responses": {
  13025. "200": {
  13026. "description": "OK",
  13027. "schema": {
  13028. "type": "array",
  13029. "items": {
  13030. "$ref": "#/definitions/models.Wrtradetradequote"
  13031. }
  13032. }
  13033. },
  13034. "500": {
  13035. "description": "Internal Server Error",
  13036. "schema": {
  13037. "$ref": "#/definitions/app.Response"
  13038. }
  13039. }
  13040. }
  13041. }
  13042. },
  13043. "/WrTrade2/QueryWrUserFriend": {
  13044. "get": {
  13045. "security": [
  13046. {
  13047. "ApiKeyAuth": []
  13048. }
  13049. ],
  13050. "produces": [
  13051. "application/json"
  13052. ],
  13053. "tags": [
  13054. "仓单贸易v2"
  13055. ],
  13056. "summary": "查询我的朋友",
  13057. "parameters": [
  13058. {
  13059. "type": "integer",
  13060. "description": "用户id",
  13061. "name": "userid",
  13062. "in": "query",
  13063. "required": true
  13064. },
  13065. {
  13066. "type": "integer",
  13067. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13068. "name": "newuserid",
  13069. "in": "query"
  13070. }
  13071. ],
  13072. "responses": {
  13073. "200": {
  13074. "description": "OK",
  13075. "schema": {
  13076. "type": "array",
  13077. "items": {
  13078. "$ref": "#/definitions/models.WrUserFriend"
  13079. }
  13080. }
  13081. },
  13082. "500": {
  13083. "description": "Internal Server Error",
  13084. "schema": {
  13085. "$ref": "#/definitions/app.Response"
  13086. }
  13087. }
  13088. }
  13089. }
  13090. },
  13091. "/WrTrade2/QueryWrUserReceiptInfo": {
  13092. "get": {
  13093. "security": [
  13094. {
  13095. "ApiKeyAuth": []
  13096. }
  13097. ],
  13098. "produces": [
  13099. "application/json"
  13100. ],
  13101. "tags": [
  13102. "仓单贸易v2"
  13103. ],
  13104. "summary": "查询发票信息",
  13105. "parameters": [
  13106. {
  13107. "type": "integer",
  13108. "description": "用户id",
  13109. "name": "userid",
  13110. "in": "query"
  13111. },
  13112. {
  13113. "type": "integer",
  13114. "description": "发票类型 - 1:个人 2:企业",
  13115. "name": "receipttype",
  13116. "in": "query"
  13117. }
  13118. ],
  13119. "responses": {
  13120. "200": {
  13121. "description": "OK",
  13122. "schema": {
  13123. "type": "array",
  13124. "items": {
  13125. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13126. }
  13127. }
  13128. },
  13129. "500": {
  13130. "description": "Internal Server Error",
  13131. "schema": {
  13132. "$ref": "#/definitions/app.Response"
  13133. }
  13134. }
  13135. }
  13136. }
  13137. },
  13138. "/WrTrade2/QueryXhcpSellBackApply": {
  13139. "get": {
  13140. "security": [
  13141. {
  13142. "ApiKeyAuth": []
  13143. }
  13144. ],
  13145. "produces": [
  13146. "application/json"
  13147. ],
  13148. "tags": [
  13149. "仓单贸易v2"
  13150. ],
  13151. "summary": "查询我的回收申请(新会陈皮)",
  13152. "parameters": [
  13153. {
  13154. "type": "integer",
  13155. "description": "用户ID",
  13156. "name": "userid",
  13157. "in": "query",
  13158. "required": true
  13159. }
  13160. ],
  13161. "responses": {
  13162. "200": {
  13163. "description": "OK",
  13164. "schema": {
  13165. "type": "array",
  13166. "items": {
  13167. "$ref": "#/definitions/models.Xhcpsellbackapply"
  13168. }
  13169. }
  13170. },
  13171. "500": {
  13172. "description": "Internal Server Error",
  13173. "schema": {
  13174. "$ref": "#/definitions/app.Response"
  13175. }
  13176. }
  13177. }
  13178. }
  13179. },
  13180. "/ZJ/GetBankTip": {
  13181. "get": {
  13182. "produces": [
  13183. "application/json"
  13184. ],
  13185. "tags": [
  13186. "中江"
  13187. ],
  13188. "summary": "获取中江网银端出入金提示信息",
  13189. "responses": {
  13190. "200": {
  13191. "description": "OK",
  13192. "schema": {
  13193. "type": "string"
  13194. }
  13195. },
  13196. "500": {
  13197. "description": "Internal Server Error",
  13198. "schema": {
  13199. "$ref": "#/definitions/app.Response"
  13200. }
  13201. }
  13202. }
  13203. }
  13204. },
  13205. "/ZJ/GetCusBankChannels": {
  13206. "get": {
  13207. "produces": [
  13208. "application/json"
  13209. ],
  13210. "tags": [
  13211. "中江"
  13212. ],
  13213. "summary": "获取中江出入金渠道显示列表",
  13214. "responses": {
  13215. "200": {
  13216. "description": "OK",
  13217. "schema": {
  13218. "type": "array",
  13219. "items": {
  13220. "type": "string"
  13221. }
  13222. }
  13223. },
  13224. "500": {
  13225. "description": "Internal Server Error",
  13226. "schema": {
  13227. "$ref": "#/definitions/app.Response"
  13228. }
  13229. }
  13230. }
  13231. }
  13232. }
  13233. },
  13234. "definitions": {
  13235. "app.Response": {
  13236. "type": "object",
  13237. "properties": {
  13238. "code": {
  13239. "type": "integer"
  13240. },
  13241. "data": {},
  13242. "msg": {
  13243. "type": "string"
  13244. },
  13245. "page": {
  13246. "description": "页码",
  13247. "type": "integer"
  13248. },
  13249. "pagesize": {
  13250. "description": "每页条数",
  13251. "type": "integer"
  13252. },
  13253. "total": {
  13254. "description": "总条数",
  13255. "type": "integer"
  13256. }
  13257. }
  13258. },
  13259. "common.ClientMenu": {
  13260. "type": "object",
  13261. "properties": {
  13262. "children": {
  13263. "description": "子菜单列表",
  13264. "type": "array",
  13265. "items": {
  13266. "$ref": "#/definitions/common.ClientMenu"
  13267. }
  13268. },
  13269. "code": {
  13270. "description": "ID",
  13271. "type": "string"
  13272. },
  13273. "isshow": {
  13274. "description": "是否显示",
  13275. "type": "boolean"
  13276. },
  13277. "remark": {
  13278. "description": "备注",
  13279. "type": "string"
  13280. },
  13281. "rulekey": {
  13282. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13283. "type": "string"
  13284. },
  13285. "sort": {
  13286. "description": "排序",
  13287. "type": "integer"
  13288. },
  13289. "title": {
  13290. "description": "标题",
  13291. "type": "string"
  13292. },
  13293. "type": {
  13294. "description": "类型,1:菜单 2:按钮",
  13295. "type": "integer"
  13296. },
  13297. "url": {
  13298. "description": "URL",
  13299. "type": "string"
  13300. }
  13301. }
  13302. },
  13303. "common.PCWebMenu": {
  13304. "type": "object",
  13305. "properties": {
  13306. "auth": {
  13307. "description": "页面权限列表",
  13308. "type": "array",
  13309. "items": {
  13310. "$ref": "#/definitions/common.PCWebMenuAuth"
  13311. }
  13312. },
  13313. "children": {
  13314. "description": "子菜单列表",
  13315. "type": "array",
  13316. "items": {
  13317. "$ref": "#/definitions/common.PCWebMenu"
  13318. }
  13319. },
  13320. "code": {
  13321. "description": "ID,新版本中权限KEY也是这个字段",
  13322. "type": "string"
  13323. },
  13324. "component": {
  13325. "description": "路由组件",
  13326. "type": "string"
  13327. },
  13328. "isshow": {
  13329. "description": "是否显示",
  13330. "type": "boolean"
  13331. },
  13332. "path": {
  13333. "description": "路由路径",
  13334. "type": "string"
  13335. },
  13336. "remark": {
  13337. "description": "备注",
  13338. "type": "string"
  13339. },
  13340. "rulekey": {
  13341. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  13342. "type": "string"
  13343. },
  13344. "sort": {
  13345. "description": "排序",
  13346. "type": "integer"
  13347. },
  13348. "title": {
  13349. "description": "标题",
  13350. "type": "string"
  13351. },
  13352. "url": {
  13353. "description": "URL",
  13354. "type": "string"
  13355. }
  13356. }
  13357. },
  13358. "common.PCWebMenuAuth": {
  13359. "type": "object",
  13360. "properties": {
  13361. "code": {
  13362. "description": "ID,新版本中权限KEY也是这个字段",
  13363. "type": "string"
  13364. },
  13365. "isshow": {
  13366. "description": "是否显示",
  13367. "type": "boolean"
  13368. },
  13369. "label": {
  13370. "description": "标题",
  13371. "type": "string"
  13372. },
  13373. "remark": {
  13374. "description": "备注",
  13375. "type": "string"
  13376. },
  13377. "rulekey": {
  13378. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  13379. "type": "string"
  13380. }
  13381. }
  13382. },
  13383. "common.QueryImageConfigsRsp": {
  13384. "type": "object",
  13385. "required": [
  13386. "configid"
  13387. ],
  13388. "properties": {
  13389. "areauserid": {
  13390. "description": "所属机构ID",
  13391. "type": "integer"
  13392. },
  13393. "configid": {
  13394. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13395. "type": "integer"
  13396. },
  13397. "createdate": {
  13398. "description": "创建时间",
  13399. "type": "string"
  13400. },
  13401. "creatorid": {
  13402. "description": "创建人",
  13403. "type": "integer"
  13404. },
  13405. "imagedetailpath": {
  13406. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  13407. "type": "string"
  13408. },
  13409. "imagepath": {
  13410. "description": "图片",
  13411. "type": "string"
  13412. },
  13413. "imagetype": {
  13414. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13415. "type": "integer"
  13416. },
  13417. "isshow": {
  13418. "description": "是否展示 - 0:不展示 1:展示",
  13419. "type": "integer"
  13420. },
  13421. "marketid": {
  13422. "description": "市场ID",
  13423. "type": "integer"
  13424. },
  13425. "modifierid": {
  13426. "description": "操作人",
  13427. "type": "integer"
  13428. },
  13429. "sort": {
  13430. "description": "排序",
  13431. "type": "integer"
  13432. },
  13433. "title": {
  13434. "description": "标题",
  13435. "type": "string"
  13436. },
  13437. "trademode": {
  13438. "description": "交易模式",
  13439. "type": "integer"
  13440. },
  13441. "updatedate": {
  13442. "description": "修改时间",
  13443. "type": "string"
  13444. },
  13445. "url": {
  13446. "description": "链接(地址或商品ID)",
  13447. "type": "string"
  13448. },
  13449. "urltype": {
  13450. "description": "链接类型 - 1:直接地址 2:商品ID",
  13451. "type": "integer"
  13452. }
  13453. }
  13454. },
  13455. "common.QueryNoticeRsp": {
  13456. "type": "object",
  13457. "required": [
  13458. "autoid"
  13459. ],
  13460. "properties": {
  13461. "auditoruserid": {
  13462. "description": "审核人",
  13463. "type": "integer"
  13464. },
  13465. "auditremark": {
  13466. "description": "审核备注",
  13467. "type": "string"
  13468. },
  13469. "audittime": {
  13470. "description": "审核日期",
  13471. "type": "string"
  13472. },
  13473. "autoid": {
  13474. "description": "自增ID",
  13475. "type": "integer"
  13476. },
  13477. "content": {
  13478. "description": "内容",
  13479. "type": "string"
  13480. },
  13481. "createtime": {
  13482. "description": "创建时间",
  13483. "type": "string"
  13484. },
  13485. "creatorid": {
  13486. "description": "建仓人",
  13487. "type": "integer"
  13488. },
  13489. "endtime": {
  13490. "description": "结束时间",
  13491. "type": "string"
  13492. },
  13493. "istop": {
  13494. "description": "是否置顶 - 0:不置顶 1:置顶",
  13495. "type": "integer"
  13496. },
  13497. "msgiconurl": {
  13498. "description": "消息图标Url",
  13499. "type": "string"
  13500. },
  13501. "msgtype": {
  13502. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13503. "type": "integer"
  13504. },
  13505. "publisher": {
  13506. "description": "消息发布者",
  13507. "type": "string"
  13508. },
  13509. "readed": {
  13510. "description": "是否已读",
  13511. "type": "boolean"
  13512. },
  13513. "scheduletime": {
  13514. "description": "计划发送时间",
  13515. "type": "string"
  13516. },
  13517. "sendtype": {
  13518. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13519. "type": "integer"
  13520. },
  13521. "sentstatus": {
  13522. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13523. "type": "integer"
  13524. },
  13525. "title": {
  13526. "description": "标题",
  13527. "type": "string"
  13528. },
  13529. "userid": {
  13530. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13531. "type": "integer"
  13532. }
  13533. }
  13534. },
  13535. "common.QueryProvincesAndCitiesRsp": {
  13536. "type": "object",
  13537. "properties": {
  13538. "cities": {
  13539. "description": "市",
  13540. "type": "array",
  13541. "items": {
  13542. "$ref": "#/definitions/models.Division"
  13543. }
  13544. },
  13545. "province": {
  13546. "description": "省",
  13547. "$ref": "#/definitions/models.Division"
  13548. }
  13549. }
  13550. },
  13551. "common.QueryTableDefineRsp": {
  13552. "type": "object",
  13553. "required": [
  13554. "tablekey"
  13555. ],
  13556. "properties": {
  13557. "columns": {
  13558. "description": "列头信息数组",
  13559. "type": "array",
  13560. "items": {
  13561. "$ref": "#/definitions/models.Tablecolumnconfig"
  13562. }
  13563. },
  13564. "remark": {
  13565. "description": "Remark",
  13566. "type": "string"
  13567. },
  13568. "tabelmenu": {
  13569. "description": "列表菜单",
  13570. "type": "string"
  13571. },
  13572. "tablekey": {
  13573. "description": "列表Key",
  13574. "type": "string"
  13575. },
  13576. "tablename": {
  13577. "description": "列表名称",
  13578. "type": "string"
  13579. },
  13580. "tabletype": {
  13581. "description": "列表类型 - 1:管理端 2:终端",
  13582. "type": "integer"
  13583. }
  13584. }
  13585. },
  13586. "common.QueryTraderMenuRsp": {
  13587. "type": "object",
  13588. "properties": {
  13589. "OperationMenu": {
  13590. "description": "功能菜单",
  13591. "type": "array",
  13592. "items": {
  13593. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13594. }
  13595. },
  13596. "QuoteMenu": {
  13597. "description": "报价牌分类菜单",
  13598. "type": "array",
  13599. "items": {
  13600. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13601. }
  13602. }
  13603. }
  13604. },
  13605. "cptrade.Cptradepositioncancel": {
  13606. "type": "object",
  13607. "required": [
  13608. "cancelid"
  13609. ],
  13610. "properties": {
  13611. "accountid": {
  13612. "description": "申请人账户ID",
  13613. "type": "integer"
  13614. },
  13615. "applystatus": {
  13616. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13617. "type": "integer"
  13618. },
  13619. "applytime": {
  13620. "description": "申请时间",
  13621. "type": "string"
  13622. },
  13623. "cancelid": {
  13624. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13625. "type": "integer"
  13626. },
  13627. "cancelqty": {
  13628. "description": "注销数量",
  13629. "type": "integer"
  13630. },
  13631. "createtime": {
  13632. "description": "创建时间",
  13633. "type": "string"
  13634. },
  13635. "creatorid": {
  13636. "description": "创建人ID",
  13637. "type": "integer"
  13638. },
  13639. "creatorname": {
  13640. "description": "创建人",
  13641. "type": "string"
  13642. },
  13643. "goodscode": {
  13644. "description": "订单商品代码",
  13645. "type": "string"
  13646. },
  13647. "goodsid": {
  13648. "description": "商品ID",
  13649. "type": "integer"
  13650. },
  13651. "goodsname": {
  13652. "description": "订单商品名称",
  13653. "type": "string"
  13654. },
  13655. "goodunit": {
  13656. "description": "报价单位",
  13657. "type": "string"
  13658. },
  13659. "handlestatus": {
  13660. "description": "处理状态",
  13661. "type": "integer"
  13662. },
  13663. "marketid": {
  13664. "description": "市场ID",
  13665. "type": "integer"
  13666. },
  13667. "marketname": {
  13668. "description": "市场名称",
  13669. "type": "string"
  13670. },
  13671. "tradedate": {
  13672. "description": "交易日(yyyyMMdd)",
  13673. "type": "string"
  13674. },
  13675. "userid": {
  13676. "description": "申请人ID",
  13677. "type": "integer"
  13678. }
  13679. }
  13680. },
  13681. "cptrade.Cptradepresaleapply": {
  13682. "type": "object",
  13683. "required": [
  13684. "applyid"
  13685. ],
  13686. "properties": {
  13687. "accountid": {
  13688. "description": "申请人账户ID",
  13689. "type": "integer"
  13690. },
  13691. "applyid": {
  13692. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13693. "type": "integer"
  13694. },
  13695. "applyremark": {
  13696. "description": "申请备注",
  13697. "type": "string"
  13698. },
  13699. "applystatus": {
  13700. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13701. "type": "integer"
  13702. },
  13703. "applytime": {
  13704. "description": "申请时间",
  13705. "type": "string"
  13706. },
  13707. "attachmenturl": {
  13708. "description": "附件地址",
  13709. "type": "string"
  13710. },
  13711. "endtime": {
  13712. "description": "预售结束时间",
  13713. "type": "string"
  13714. },
  13715. "goodscode": {
  13716. "description": "商品代码",
  13717. "type": "string"
  13718. },
  13719. "goodsid": {
  13720. "description": "商品ID",
  13721. "type": "integer"
  13722. },
  13723. "goodsname": {
  13724. "description": "商品名称",
  13725. "type": "string"
  13726. },
  13727. "goodunit": {
  13728. "description": "报价单位",
  13729. "type": "string"
  13730. },
  13731. "handlestatus": {
  13732. "description": "处理状态",
  13733. "type": "integer"
  13734. },
  13735. "marketid": {
  13736. "description": "预售市场ID",
  13737. "type": "integer"
  13738. },
  13739. "marketname": {
  13740. "description": "预售市场名称",
  13741. "type": "string"
  13742. },
  13743. "presaleqty": {
  13744. "description": "预售数量",
  13745. "type": "integer"
  13746. },
  13747. "relatedgoodscode": {
  13748. "description": "关联交易合约代码",
  13749. "type": "string"
  13750. },
  13751. "relatedgoodsid": {
  13752. "description": "关联交易合约ID",
  13753. "type": "integer"
  13754. },
  13755. "relatedgoodsname": {
  13756. "description": "关联交易合约名称",
  13757. "type": "string"
  13758. },
  13759. "starttime": {
  13760. "description": "预售开始时间",
  13761. "type": "string"
  13762. },
  13763. "tradedate": {
  13764. "description": "交易日(yyyyMMdd)",
  13765. "type": "string"
  13766. },
  13767. "trademode": {
  13768. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13769. "type": "integer"
  13770. },
  13771. "userid": {
  13772. "description": "申请人ID",
  13773. "type": "integer"
  13774. }
  13775. }
  13776. },
  13777. "cptrade.Cptradeusergoodsdata": {
  13778. "type": "object",
  13779. "required": [
  13780. "accountid",
  13781. "goodsid"
  13782. ],
  13783. "properties": {
  13784. "EnabledQty": {
  13785. "description": "可用量",
  13786. "type": "integer"
  13787. },
  13788. "GoodsCode": {
  13789. "description": "订单商品代码",
  13790. "type": "string"
  13791. },
  13792. "GoodsName": {
  13793. "description": "订单商品名称",
  13794. "type": "string"
  13795. },
  13796. "WRStandardCode": {
  13797. "description": "仓单标准代码",
  13798. "type": "string"
  13799. },
  13800. "WRStandardName": {
  13801. "description": "仓单标准名称",
  13802. "type": "string"
  13803. },
  13804. "accountid": {
  13805. "description": "账户ID",
  13806. "type": "integer"
  13807. },
  13808. "cancelqty": {
  13809. "description": "注销量",
  13810. "type": "integer"
  13811. },
  13812. "curpresaleqty": {
  13813. "description": "当前预售量",
  13814. "type": "integer"
  13815. },
  13816. "deliveryqty": {
  13817. "description": "交割量",
  13818. "type": "integer"
  13819. },
  13820. "freezeamount": {
  13821. "description": "冻结金额",
  13822. "type": "number"
  13823. },
  13824. "goodsid": {
  13825. "description": "商品ID",
  13826. "type": "integer"
  13827. },
  13828. "goodunit": {
  13829. "description": "报价单位",
  13830. "type": "string"
  13831. },
  13832. "hasspotfreeze": {
  13833. "description": "是否有现货冻结 - 0:否 1:有",
  13834. "type": "integer"
  13835. },
  13836. "inqty": {
  13837. "description": "转入量(总数量)",
  13838. "type": "integer"
  13839. },
  13840. "marketid": {
  13841. "description": "市场ID",
  13842. "type": "integer"
  13843. },
  13844. "presaledamount": {
  13845. "description": "已预售总金额",
  13846. "type": "integer"
  13847. },
  13848. "presaledqty": {
  13849. "description": "已预售量",
  13850. "type": "integer"
  13851. },
  13852. "userid": {
  13853. "description": "用户ID",
  13854. "type": "integer"
  13855. },
  13856. "wrstandardid": {
  13857. "description": "仓单标准ID",
  13858. "type": "integer"
  13859. }
  13860. }
  13861. },
  13862. "cptrade.QueryCPTradeMyBidRsp": {
  13863. "type": "object",
  13864. "required": [
  13865. "accountid",
  13866. "goodsid",
  13867. "marketid",
  13868. "orderid",
  13869. "orderqty",
  13870. "ordertime",
  13871. "tradeprice",
  13872. "tradeqty"
  13873. ],
  13874. "properties": {
  13875. "accountid": {
  13876. "description": "账户ID[报价币种]",
  13877. "type": "integer"
  13878. },
  13879. "goodsid": {
  13880. "description": "商品ID",
  13881. "type": "integer"
  13882. },
  13883. "goodunit": {
  13884. "description": "报价单位",
  13885. "type": "string"
  13886. },
  13887. "marketid": {
  13888. "description": "市场ID",
  13889. "type": "integer"
  13890. },
  13891. "orderid": {
  13892. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13893. "type": "integer"
  13894. },
  13895. "orderprice": {
  13896. "description": "委托价格",
  13897. "type": "number"
  13898. },
  13899. "orderqty": {
  13900. "description": "委托数量",
  13901. "type": "integer"
  13902. },
  13903. "ordertime": {
  13904. "description": "委托时间",
  13905. "type": "string"
  13906. },
  13907. "ordertotalprice": {
  13908. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13909. "type": "number"
  13910. },
  13911. "ordertotalweight": {
  13912. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13913. "type": "integer"
  13914. },
  13915. "totaltotalprice": {
  13916. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13917. "type": "number"
  13918. },
  13919. "tradeprice": {
  13920. "description": "成交价格",
  13921. "type": "number"
  13922. },
  13923. "tradeqty": {
  13924. "description": "成交数量",
  13925. "type": "integer"
  13926. }
  13927. }
  13928. },
  13929. "cptrade.QueryCPTradeOrderDetailRsq": {
  13930. "type": "object",
  13931. "required": [
  13932. "accountid",
  13933. "buildtype",
  13934. "buyorsell",
  13935. "goodsid",
  13936. "marketid",
  13937. "memberuserid",
  13938. "operatetype",
  13939. "orderqty",
  13940. "ordertime",
  13941. "pricemode",
  13942. "strorderid",
  13943. "tradedate",
  13944. "validtype"
  13945. ],
  13946. "properties": {
  13947. "accountid": {
  13948. "description": "账户ID[报价币种]",
  13949. "type": "integer"
  13950. },
  13951. "buildtype": {
  13952. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13953. "type": "integer"
  13954. },
  13955. "buyorsell": {
  13956. "description": "买卖 - 0:买 1:卖",
  13957. "type": "integer"
  13958. },
  13959. "cancelorderid": {
  13960. "description": "撤单单号(撤单时填写)",
  13961. "type": "integer"
  13962. },
  13963. "cancelqty": {
  13964. "description": "撤单数量",
  13965. "type": "integer"
  13966. },
  13967. "clientordertime": {
  13968. "description": "客户端委托时间",
  13969. "type": "string"
  13970. },
  13971. "clientticket": {
  13972. "description": "客户端流水号",
  13973. "type": "string"
  13974. },
  13975. "clienttype": {
  13976. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13977. "type": "integer"
  13978. },
  13979. "closeexchagechargevalue": {
  13980. "description": "平仓交易所手续费设置值",
  13981. "type": "number"
  13982. },
  13983. "closefeealgorithm": {
  13984. "description": "平仓手续费收取方式 1:比率 2:固定",
  13985. "type": "integer"
  13986. },
  13987. "closefreezecharge": {
  13988. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13989. "type": "number"
  13990. },
  13991. "closememberchargevalue": {
  13992. "description": "平仓会员手续费设置值",
  13993. "type": "number"
  13994. },
  13995. "closeqty": {
  13996. "description": "平仓数量(先建后平操作 需要记录)",
  13997. "type": "integer"
  13998. },
  13999. "closetradeqty": {
  14000. "description": "平仓成交数量(先建后平操作,需要记录)",
  14001. "type": "integer"
  14002. },
  14003. "closeunfreezecharge": {
  14004. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14005. "type": "number"
  14006. },
  14007. "delistingtype": {
  14008. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14009. "type": "integer"
  14010. },
  14011. "freezecharge": {
  14012. "description": "冻结手续费",
  14013. "type": "number"
  14014. },
  14015. "freezemargin": {
  14016. "description": "冻结保证金(冻结交易金额)",
  14017. "type": "number"
  14018. },
  14019. "gcaccountid": {
  14020. "description": "账户ID[合约币种]",
  14021. "type": "integer"
  14022. },
  14023. "goodsid": {
  14024. "description": "商品ID",
  14025. "type": "integer"
  14026. },
  14027. "isconfirmexercise": {
  14028. "description": "是否确认行权- 0:否 1:是",
  14029. "type": "integer"
  14030. },
  14031. "ispreexercise": {
  14032. "description": "是否预申报- 0:否 1:是",
  14033. "type": "integer"
  14034. },
  14035. "listingselecttype": {
  14036. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14037. "type": "integer"
  14038. },
  14039. "marginalgorithm": {
  14040. "description": "保证金收取方式 1:比率 2:固定",
  14041. "type": "integer"
  14042. },
  14043. "marginvalue": {
  14044. "description": "即市保证金设置值",
  14045. "type": "number"
  14046. },
  14047. "marketid": {
  14048. "description": "市场ID",
  14049. "type": "integer"
  14050. },
  14051. "marketmaxsub": {
  14052. "description": "市价最大偏移范围",
  14053. "type": "number"
  14054. },
  14055. "memberuserid": {
  14056. "description": "所属会员UserID",
  14057. "type": "integer"
  14058. },
  14059. "openexchagechargevalue": {
  14060. "description": "建仓交易所手续费设置值",
  14061. "type": "number"
  14062. },
  14063. "openfeealgorithm": {
  14064. "description": "建仓手续费收取方式 1:比率 2:固定",
  14065. "type": "integer"
  14066. },
  14067. "openfreezecharge": {
  14068. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14069. "type": "number"
  14070. },
  14071. "openmemberchargevalue": {
  14072. "description": "建仓会员手续费设置值",
  14073. "type": "number"
  14074. },
  14075. "openqty": {
  14076. "description": "开仓数量(先建后平操作,需要记录)",
  14077. "type": "integer"
  14078. },
  14079. "opentradeqty": {
  14080. "description": "开仓成交数量(先建后平操作,需要记录)",
  14081. "type": "integer"
  14082. },
  14083. "openunfreezecharge": {
  14084. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14085. "type": "number"
  14086. },
  14087. "operatetype": {
  14088. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14089. "type": "integer"
  14090. },
  14091. "operatorid": {
  14092. "description": "登录账号(LoginID)",
  14093. "type": "integer"
  14094. },
  14095. "optiontype": {
  14096. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14097. "type": "integer"
  14098. },
  14099. "orderprice": {
  14100. "description": "委托价格",
  14101. "type": "number"
  14102. },
  14103. "orderqty": {
  14104. "description": "委托数量",
  14105. "type": "integer"
  14106. },
  14107. "ordersrc": {
  14108. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14109. "type": "integer"
  14110. },
  14111. "orderstatus": {
  14112. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14113. "type": "integer"
  14114. },
  14115. "ordertime": {
  14116. "description": "委托时间",
  14117. "type": "string"
  14118. },
  14119. "preexerciseprice": {
  14120. "description": "预申报价格",
  14121. "type": "number"
  14122. },
  14123. "premium": {
  14124. "description": "权利金",
  14125. "type": "number"
  14126. },
  14127. "preorderid": {
  14128. "description": "关联预埋单号(止盈止损单时填写)",
  14129. "type": "integer"
  14130. },
  14131. "pricemode": {
  14132. "description": "取价方式 - 1:市价 2: 限价",
  14133. "type": "integer"
  14134. },
  14135. "quoteid": {
  14136. "description": "报价单ID",
  14137. "type": "integer"
  14138. },
  14139. "relatedid": {
  14140. "description": "关联单号(交割单)",
  14141. "type": "integer"
  14142. },
  14143. "retcode": {
  14144. "description": "错误代码",
  14145. "type": "integer"
  14146. },
  14147. "sessionid": {
  14148. "description": "会话ID",
  14149. "type": "integer"
  14150. },
  14151. "strorderid": {
  14152. "description": "委托单号",
  14153. "type": "string"
  14154. },
  14155. "tradedate": {
  14156. "description": "交易日(yyyyMMdd)",
  14157. "type": "string"
  14158. },
  14159. "tradeproperty": {
  14160. "description": "交易属性",
  14161. "type": "integer"
  14162. },
  14163. "tradeqty": {
  14164. "description": "成交数量",
  14165. "type": "integer"
  14166. },
  14167. "unfreezecharge": {
  14168. "description": "解冻手续费",
  14169. "type": "number"
  14170. },
  14171. "unfreezemargin": {
  14172. "description": "解冻保证金",
  14173. "type": "number"
  14174. },
  14175. "updatetime": {
  14176. "description": "更新时间",
  14177. "type": "string"
  14178. },
  14179. "uuid": {
  14180. "description": "发起端唯一id",
  14181. "type": "string"
  14182. },
  14183. "validtime": {
  14184. "description": "有效期限",
  14185. "type": "string"
  14186. },
  14187. "validtype": {
  14188. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14189. "type": "integer"
  14190. },
  14191. "volumetype": {
  14192. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14193. "type": "integer"
  14194. }
  14195. }
  14196. },
  14197. "cptrade.QueryMyCPTradeGoodsRsp": {
  14198. "type": "object",
  14199. "required": [
  14200. "goodscode",
  14201. "goodsid",
  14202. "goodsname",
  14203. "marketid",
  14204. "relatedgoodscode",
  14205. "relatedgoodsname"
  14206. ],
  14207. "properties": {
  14208. "accountid": {
  14209. "description": "卖方账户ID",
  14210. "type": "integer"
  14211. },
  14212. "agreeunit": {
  14213. "description": "合约单位",
  14214. "type": "number"
  14215. },
  14216. "applyid": {
  14217. "description": "关联申请ID",
  14218. "type": "integer"
  14219. },
  14220. "attachmenturl": {
  14221. "description": "附件地址",
  14222. "type": "string"
  14223. },
  14224. "createtime": {
  14225. "description": "创建时间",
  14226. "type": "string"
  14227. },
  14228. "currencyid": {
  14229. "description": "报价货币ID",
  14230. "type": "integer"
  14231. },
  14232. "decimalplace": {
  14233. "description": "报价小数位",
  14234. "type": "integer"
  14235. },
  14236. "endtime": {
  14237. "description": "预售结束时间",
  14238. "type": "string"
  14239. },
  14240. "floorprice": {
  14241. "description": "底价[大宗式竞拍]",
  14242. "type": "number"
  14243. },
  14244. "goodscode": {
  14245. "description": "商品代码(预售)",
  14246. "type": "string"
  14247. },
  14248. "goodsdetail": {
  14249. "description": "详情[大宗]",
  14250. "type": "string"
  14251. },
  14252. "goodsid": {
  14253. "description": "商品ID(自增ID SEQ_GOODS)",
  14254. "type": "integer"
  14255. },
  14256. "goodsname": {
  14257. "description": "商品名称(预售)",
  14258. "type": "string"
  14259. },
  14260. "goodunit": {
  14261. "description": "报价单位",
  14262. "type": "string"
  14263. },
  14264. "goodunitid": {
  14265. "description": "报价单位ID",
  14266. "type": "integer"
  14267. },
  14268. "marketid": {
  14269. "description": "所属市场ID",
  14270. "type": "integer"
  14271. },
  14272. "marketname": {
  14273. "description": "预售市场名称",
  14274. "type": "string"
  14275. },
  14276. "presaledamount": {
  14277. "description": "已预售总金额(预售结束时更新)",
  14278. "type": "number"
  14279. },
  14280. "presaledqty": {
  14281. "description": "已预售量(预售结束时更新)",
  14282. "type": "integer"
  14283. },
  14284. "presalemode": {
  14285. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14286. "type": "integer"
  14287. },
  14288. "presaleqty": {
  14289. "description": "预售数量",
  14290. "type": "integer"
  14291. },
  14292. "refprice": {
  14293. "description": "参考价格[一口价]",
  14294. "type": "number"
  14295. },
  14296. "relatedgoodscode": {
  14297. "description": "商品代码(订单)",
  14298. "type": "string"
  14299. },
  14300. "relatedgoodsid": {
  14301. "description": "关联交易合约ID",
  14302. "type": "integer"
  14303. },
  14304. "relatedgoodsname": {
  14305. "description": "商品名称(订单)",
  14306. "type": "string"
  14307. },
  14308. "relatedmarketid": {
  14309. "description": "关联交易合约市场ID",
  14310. "type": "integer"
  14311. },
  14312. "sellstatus": {
  14313. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14314. "type": "integer"
  14315. },
  14316. "startprice": {
  14317. "description": "起拍价[大宗式竞拍]",
  14318. "type": "number"
  14319. },
  14320. "starttime": {
  14321. "description": "预售开始时间",
  14322. "type": "string"
  14323. },
  14324. "tradedate": {
  14325. "description": "交易日(yyyyMMdd)",
  14326. "type": "string"
  14327. },
  14328. "tradeprice": {
  14329. "description": "成交价[大宗]",
  14330. "type": "number"
  14331. },
  14332. "userid": {
  14333. "description": "卖方用户ID",
  14334. "type": "integer"
  14335. }
  14336. }
  14337. },
  14338. "cptrade.QueryPresaleGoodsExRsp": {
  14339. "type": "object",
  14340. "required": [
  14341. "goodsid"
  14342. ],
  14343. "properties": {
  14344. "attachmenturl": {
  14345. "description": "附件地址",
  14346. "type": "string"
  14347. },
  14348. "createtime": {
  14349. "description": "创建时间",
  14350. "type": "string"
  14351. },
  14352. "endtime": {
  14353. "description": "预售结束时间",
  14354. "type": "string"
  14355. },
  14356. "floorprice": {
  14357. "description": "底价[大宗式竞拍]",
  14358. "type": "number"
  14359. },
  14360. "goodsdetail": {
  14361. "description": "详情[大宗]",
  14362. "type": "string"
  14363. },
  14364. "goodsid": {
  14365. "description": "商品ID(预售)",
  14366. "type": "integer"
  14367. },
  14368. "goodunit": {
  14369. "description": "报价单位",
  14370. "type": "string"
  14371. },
  14372. "marketid": {
  14373. "description": "预售市场ID - 根据预售模式选择市场",
  14374. "type": "integer"
  14375. },
  14376. "presaledamount": {
  14377. "description": "已预售总金额(预售结束时更新)",
  14378. "type": "number"
  14379. },
  14380. "presaledqty": {
  14381. "description": "已预售量(预售结束时更新)",
  14382. "type": "integer"
  14383. },
  14384. "presalemode": {
  14385. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14386. "type": "integer"
  14387. },
  14388. "presaleqty": {
  14389. "description": "预售数量",
  14390. "type": "integer"
  14391. },
  14392. "refprice": {
  14393. "description": "参考价格[一口价]",
  14394. "type": "number"
  14395. },
  14396. "relatedgoodsid": {
  14397. "description": "关联交易合约ID",
  14398. "type": "integer"
  14399. },
  14400. "relatedmarketid": {
  14401. "description": "关联交易合约市场ID",
  14402. "type": "integer"
  14403. },
  14404. "sellstatus": {
  14405. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14406. "type": "integer"
  14407. },
  14408. "startprice": {
  14409. "description": "起拍价[大宗式竞拍]",
  14410. "type": "number"
  14411. },
  14412. "starttime": {
  14413. "description": "预售开始时间",
  14414. "type": "string"
  14415. },
  14416. "tradedate": {
  14417. "description": "交易日(yyyyMMdd)",
  14418. "type": "string"
  14419. },
  14420. "tradeprice": {
  14421. "description": "成交价[大宗]",
  14422. "type": "number"
  14423. }
  14424. }
  14425. },
  14426. "delivery.QueryDeliveryRelationRsp": {
  14427. "type": "object",
  14428. "required": [
  14429. "begindate",
  14430. "enddate",
  14431. "goodsid",
  14432. "mindeliveryqty",
  14433. "xdeliveryratio"
  14434. ],
  14435. "properties": {
  14436. "begindate": {
  14437. "description": "起始日期(yyyyMMdd)",
  14438. "type": "string"
  14439. },
  14440. "buytemplateid": {
  14441. "description": "买履约计划模板ID",
  14442. "type": "integer"
  14443. },
  14444. "deliverygoodscode": {
  14445. "description": "品种代码",
  14446. "type": "string"
  14447. },
  14448. "deliverygoodsid": {
  14449. "description": "交割商品",
  14450. "type": "integer"
  14451. },
  14452. "deliverygoodsname": {
  14453. "description": "品种名称",
  14454. "type": "string"
  14455. },
  14456. "deliverymode": {
  14457. "description": "交割方式 - 1:点选式 2:申报式",
  14458. "type": "integer"
  14459. },
  14460. "deliverypricerule": {
  14461. "description": "交割价规则- 1:行情价 2:建仓价",
  14462. "type": "integer"
  14463. },
  14464. "deliverytype": {
  14465. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14466. "type": "integer"
  14467. },
  14468. "enddate": {
  14469. "description": "结束日期(yyyyMMdd)",
  14470. "type": "string"
  14471. },
  14472. "enumdicname": {
  14473. "description": "品类单位名称",
  14474. "type": "string"
  14475. },
  14476. "goodscode": {
  14477. "description": "商品代码",
  14478. "type": "string"
  14479. },
  14480. "goodsid": {
  14481. "description": "交易合约ID",
  14482. "type": "integer"
  14483. },
  14484. "goodsname": {
  14485. "description": "商品名称",
  14486. "type": "string"
  14487. },
  14488. "marketid": {
  14489. "description": "市场ID",
  14490. "type": "integer"
  14491. },
  14492. "mindeliveryqty": {
  14493. "description": "最小交割系数(K)",
  14494. "type": "integer"
  14495. },
  14496. "p2deliveryprice": {
  14497. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14498. "type": "number"
  14499. },
  14500. "p2deliveryratio": {
  14501. "description": "P2合约系数(p)",
  14502. "type": "integer"
  14503. },
  14504. "p2goodsid": {
  14505. "description": "P2合约ID",
  14506. "type": "integer"
  14507. },
  14508. "p2pricemode": {
  14509. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14510. "type": "integer"
  14511. },
  14512. "pdeliveryprice": {
  14513. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14514. "type": "number"
  14515. },
  14516. "pdeliveryratio": {
  14517. "description": "P合约系数(n)",
  14518. "type": "integer"
  14519. },
  14520. "pgoodscode": {
  14521. "description": "p合约代码",
  14522. "type": "string"
  14523. },
  14524. "pgoodsid": {
  14525. "description": "P合约ID",
  14526. "type": "integer"
  14527. },
  14528. "ppricemode": {
  14529. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14530. "type": "integer"
  14531. },
  14532. "rratio": {
  14533. "description": "兑换系数(R)",
  14534. "type": "integer"
  14535. },
  14536. "rratio1": {
  14537. "description": "兑换系数(交易合约)(R1)",
  14538. "type": "integer"
  14539. },
  14540. "rratio2": {
  14541. "description": "兑换系数(仓单标准)(R2)",
  14542. "type": "integer"
  14543. },
  14544. "selltemplateid": {
  14545. "description": "卖履约计划模板ID",
  14546. "type": "integer"
  14547. },
  14548. "wrstandardid": {
  14549. "description": "仓单标准ID",
  14550. "type": "integer"
  14551. },
  14552. "xdeliveryratio": {
  14553. "description": "交易合约系数(m)",
  14554. "type": "integer"
  14555. }
  14556. }
  14557. },
  14558. "ermcp.ExposureDetailRsp": {
  14559. "type": "object",
  14560. "properties": {
  14561. "areauserid": {
  14562. "description": "机构ID",
  14563. "type": "integer"
  14564. },
  14565. "changeQty": {
  14566. "description": "套保变动量",
  14567. "type": "number"
  14568. },
  14569. "contracttype": {
  14570. "description": "现货合同类型 - 1:采购 -1:销售",
  14571. "type": "integer"
  14572. },
  14573. "convertfactor": {
  14574. "description": "标仓系数",
  14575. "type": "number"
  14576. },
  14577. "convertratio": {
  14578. "description": "套保系数",
  14579. "type": "number"
  14580. },
  14581. "createtime": {
  14582. "description": "时间",
  14583. "type": "string"
  14584. },
  14585. "enumdicname": {
  14586. "description": "现货商品单位名称",
  14587. "type": "string"
  14588. },
  14589. "logtype": {
  14590. "description": "类型 - 1:套保计划 2:现货合同",
  14591. "type": "integer"
  14592. },
  14593. "middlegoodsId": {
  14594. "description": "套保商品id",
  14595. "type": "integer"
  14596. },
  14597. "middlegoodscode": {
  14598. "description": "套保商品代码",
  14599. "type": "string"
  14600. },
  14601. "middlegoodsname": {
  14602. "description": "套保商品名称",
  14603. "type": "string"
  14604. },
  14605. "qty": {
  14606. "description": "数量",
  14607. "type": "number"
  14608. },
  14609. "relateNo": {
  14610. "description": "现货合同/套保计划编号",
  14611. "type": "string"
  14612. },
  14613. "wrstandardcode": {
  14614. "description": "现货商品代码",
  14615. "type": "string"
  14616. },
  14617. "wrstandardid": {
  14618. "description": "现货商品ID",
  14619. "type": "integer"
  14620. },
  14621. "wrstandardname": {
  14622. "description": "现货商品名称",
  14623. "type": "string"
  14624. }
  14625. }
  14626. },
  14627. "ermcp.ExposureHedgePosDetailRsp": {
  14628. "type": "object",
  14629. "properties": {
  14630. "buyorsell": {
  14631. "description": "买卖方向 0-买 1-卖",
  14632. "type": "integer"
  14633. },
  14634. "channelbuildtype": {
  14635. "description": "开平方向 1-建仓 2-平仓",
  14636. "type": "integer"
  14637. },
  14638. "goodscode": {
  14639. "description": "商品代码",
  14640. "type": "string"
  14641. },
  14642. "goodsname": {
  14643. "description": "商品名称",
  14644. "type": "string"
  14645. },
  14646. "hedgegoodsid": {
  14647. "description": "商品id",
  14648. "type": "integer"
  14649. },
  14650. "tradeqty": {
  14651. "description": "数量(成交数量)",
  14652. "type": "integer"
  14653. },
  14654. "tradetime": {
  14655. "description": "时间(成交时间)",
  14656. "type": "string"
  14657. }
  14658. }
  14659. },
  14660. "ermcp.ExposureHedgePositionRsp": {
  14661. "type": "object",
  14662. "properties": {
  14663. "accountid": {
  14664. "description": "资金账号[外部母账户]",
  14665. "type": "integer"
  14666. },
  14667. "curbuyposition": {
  14668. "description": "期末买头寸",
  14669. "type": "integer"
  14670. },
  14671. "cursellposition": {
  14672. "description": "期末卖头寸",
  14673. "type": "integer"
  14674. },
  14675. "curtdbuyposition": {
  14676. "description": "期末今日买头寸",
  14677. "type": "integer"
  14678. },
  14679. "curtdsellposition": {
  14680. "description": "期末今日卖头寸",
  14681. "type": "integer"
  14682. },
  14683. "curydbuyposition": {
  14684. "description": "期末上日买头寸",
  14685. "type": "integer"
  14686. },
  14687. "curydsellposition": {
  14688. "description": "期末上日卖头寸",
  14689. "type": "integer"
  14690. },
  14691. "decreaseqty": {
  14692. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14693. "type": "integer"
  14694. },
  14695. "fretdbuyposition": {
  14696. "description": "冻结今日买头寸",
  14697. "type": "integer"
  14698. },
  14699. "fretdsellposition": {
  14700. "description": "冻结今日卖头寸",
  14701. "type": "integer"
  14702. },
  14703. "freydbuyposition": {
  14704. "description": "冻结上日买头寸",
  14705. "type": "integer"
  14706. },
  14707. "freydsellposition": {
  14708. "description": "冻结上日卖头寸",
  14709. "type": "integer"
  14710. },
  14711. "goodscode": {
  14712. "description": "商品代码",
  14713. "type": "string"
  14714. },
  14715. "goodsid": {
  14716. "description": "商品id",
  14717. "type": "integer"
  14718. },
  14719. "goodsname": {
  14720. "description": "商品名称",
  14721. "type": "string"
  14722. },
  14723. "hedgeaccountcode": {
  14724. "description": "对冲账号",
  14725. "type": "string"
  14726. },
  14727. "hedgegoodsid": {
  14728. "description": "对冲合约ID",
  14729. "type": "integer"
  14730. },
  14731. "increaseqty": {
  14732. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14733. "type": "integer"
  14734. },
  14735. "marketid": {
  14736. "description": "市场ID",
  14737. "type": "integer"
  14738. },
  14739. "relateduserid": {
  14740. "description": "关联用户id",
  14741. "type": "integer"
  14742. },
  14743. "totalcurqty": {
  14744. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14745. "type": "integer"
  14746. },
  14747. "totalydqty": {
  14748. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14749. "type": "integer"
  14750. },
  14751. "tradedate": {
  14752. "description": "交易日(yyyyMMdd)",
  14753. "type": "string"
  14754. },
  14755. "ydbuyposition": {
  14756. "description": "期初买头寸",
  14757. "type": "integer"
  14758. },
  14759. "ydsellposition": {
  14760. "description": "期初卖头寸",
  14761. "type": "integer"
  14762. }
  14763. }
  14764. },
  14765. "ermcp.ExposureSpotDetailRsp": {
  14766. "type": "object",
  14767. "properties": {
  14768. "contracttype": {
  14769. "description": "合同类型 1-采购 -1-销售",
  14770. "type": "integer"
  14771. },
  14772. "createtime": {
  14773. "description": "创建时间",
  14774. "type": "string"
  14775. },
  14776. "enumdicname": {
  14777. "description": "现货商品单位名称",
  14778. "type": "string"
  14779. },
  14780. "logtype": {
  14781. "description": "记录类型 1-套保 2-现货合同",
  14782. "type": "integer"
  14783. },
  14784. "qty": {
  14785. "description": "数量",
  14786. "type": "number"
  14787. },
  14788. "recordname": {
  14789. "description": "类型名称",
  14790. "type": "string"
  14791. },
  14792. "relatedid": {
  14793. "description": "套保计划ID/现货合同ID",
  14794. "type": "string"
  14795. },
  14796. "relatedno": {
  14797. "description": "编号",
  14798. "type": "string"
  14799. },
  14800. "strtime": {
  14801. "description": "时间",
  14802. "type": "string"
  14803. },
  14804. "wrstandardcode": {
  14805. "description": "现货商品代码",
  14806. "type": "string"
  14807. },
  14808. "wrstandardname": {
  14809. "description": "现货商品名称",
  14810. "type": "string"
  14811. }
  14812. }
  14813. },
  14814. "ermcp.ExposureSpotRsp": {
  14815. "type": "object",
  14816. "properties": {
  14817. "areauserid": {
  14818. "description": "所属机构",
  14819. "type": "integer"
  14820. },
  14821. "decreaseqty": {
  14822. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14823. "type": "number"
  14824. },
  14825. "increaseqty": {
  14826. "description": "增加数量=销售计划数量+采购已定价数量",
  14827. "type": "number"
  14828. },
  14829. "oritoalspotqty": {
  14830. "description": "昨日数量",
  14831. "type": "number"
  14832. },
  14833. "totalspotqty": {
  14834. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14835. "type": "number"
  14836. },
  14837. "updatetime": {
  14838. "description": "更新时间",
  14839. "type": "string"
  14840. },
  14841. "wrstandardcode": {
  14842. "description": "现货品种代码",
  14843. "type": "string"
  14844. },
  14845. "wrstandardid": {
  14846. "description": "现货商品ID",
  14847. "type": "integer"
  14848. },
  14849. "wrstandardname": {
  14850. "description": "现货品种",
  14851. "type": "string"
  14852. }
  14853. }
  14854. },
  14855. "ermcp.HisExposureRsp": {
  14856. "type": "object",
  14857. "properties": {
  14858. "data": {
  14859. "description": "历史敞口",
  14860. "type": "array",
  14861. "items": {
  14862. "$ref": "#/definitions/models.ErmcpHisExposure"
  14863. }
  14864. },
  14865. "enumdicname": {
  14866. "description": "单位名称",
  14867. "type": "string"
  14868. },
  14869. "middlegoodscode": {
  14870. "description": "套保品种代码",
  14871. "type": "string"
  14872. },
  14873. "middlegoodsid": {
  14874. "description": "套保品种ID",
  14875. "type": "integer"
  14876. },
  14877. "middlegoodsname": {
  14878. "description": "套保品种名称",
  14879. "type": "string"
  14880. }
  14881. }
  14882. },
  14883. "ermcp.PendingAuditCntRsp": {
  14884. "type": "object",
  14885. "properties": {
  14886. "areastockqty": {
  14887. "description": "待审核数量: 库存申请",
  14888. "type": "integer"
  14889. },
  14890. "businessdjqty": {
  14891. "description": "待审核数量: 点价",
  14892. "type": "integer"
  14893. },
  14894. "businessfpqty": {
  14895. "description": "待审核数量: 发票",
  14896. "type": "integer"
  14897. },
  14898. "businessjsqty": {
  14899. "description": "待审核数量: 结算",
  14900. "type": "integer"
  14901. },
  14902. "businesskxqty": {
  14903. "description": "待审核数量: 款项",
  14904. "type": "integer"
  14905. },
  14906. "hedgeplanqty": {
  14907. "description": "待审核数量: 套保计划",
  14908. "type": "integer"
  14909. },
  14910. "spotcontractqty": {
  14911. "description": "待审核数量: 现货合同",
  14912. "type": "integer"
  14913. },
  14914. "userqty": {
  14915. "description": "待审核数量: 用户",
  14916. "type": "integer"
  14917. }
  14918. }
  14919. },
  14920. "ermcp.QryAvalidGPRsp": {
  14921. "type": "object",
  14922. "properties": {
  14923. "goodsgroupid": {
  14924. "description": "期货品种id",
  14925. "type": "integer"
  14926. },
  14927. "goodsgroupname": {
  14928. "description": "期货品种名称",
  14929. "type": "string"
  14930. },
  14931. "goodunitid": {
  14932. "description": "品种单位id",
  14933. "type": "integer"
  14934. },
  14935. "goodunitname": {
  14936. "description": "品种单位名称",
  14937. "type": "string"
  14938. },
  14939. "outergroupcode": {
  14940. "description": "期货品种代码",
  14941. "type": "string"
  14942. }
  14943. }
  14944. },
  14945. "ermcp.QryBusinessDjRsp": {
  14946. "type": "object",
  14947. "properties": {
  14948. "amount": {
  14949. "description": "期初均价",
  14950. "type": "number"
  14951. },
  14952. "applyid": {
  14953. "description": "申请人",
  14954. "type": "string"
  14955. },
  14956. "applyname": {
  14957. "description": "申请人名称",
  14958. "type": "string"
  14959. },
  14960. "applystatus": {
  14961. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14962. "type": "integer"
  14963. },
  14964. "applytime": {
  14965. "description": "申请时间",
  14966. "type": "string"
  14967. },
  14968. "attachurl": {
  14969. "description": "附件",
  14970. "type": "string"
  14971. },
  14972. "auditid": {
  14973. "description": "审核人ID",
  14974. "type": "string"
  14975. },
  14976. "auditname": {
  14977. "description": "审核人名称",
  14978. "type": "string"
  14979. },
  14980. "auditremark": {
  14981. "description": "审核备注",
  14982. "type": "string"
  14983. },
  14984. "audittime": {
  14985. "description": "审核时间",
  14986. "type": "string"
  14987. },
  14988. "buyusername": {
  14989. "description": "采购方名称",
  14990. "type": "string"
  14991. },
  14992. "contractno": {
  14993. "description": "合同编号",
  14994. "type": "string"
  14995. },
  14996. "contractstatus": {
  14997. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14998. "type": "integer"
  14999. },
  15000. "contracttype": {
  15001. "description": "现货合同类型 - 1:采购 -1:销售",
  15002. "type": "integer"
  15003. },
  15004. "deliverygoodscode": {
  15005. "description": "现货品种代码",
  15006. "type": "string"
  15007. },
  15008. "deliverygoodsid": {
  15009. "description": "现货商品ID",
  15010. "type": "integer"
  15011. },
  15012. "deliverygoodsname": {
  15013. "description": "现货品种名称",
  15014. "type": "string"
  15015. },
  15016. "enumdicname": {
  15017. "description": "单位名称",
  15018. "type": "string"
  15019. },
  15020. "goodscode": {
  15021. "description": "点价合约",
  15022. "type": "string"
  15023. },
  15024. "goodsname": {
  15025. "description": "商品名称",
  15026. "type": "string"
  15027. },
  15028. "operateapplyid": {
  15029. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15030. "type": "string"
  15031. },
  15032. "operateapplytype": {
  15033. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15034. "type": "integer"
  15035. },
  15036. "pricedPrice": {
  15037. "description": "点价价格(非必填)",
  15038. "type": "number"
  15039. },
  15040. "pricedQty": {
  15041. "description": "点价数量(非必填)",
  15042. "type": "number"
  15043. },
  15044. "pricemove": {
  15045. "description": "升贴水",
  15046. "type": "number"
  15047. },
  15048. "pricetype": {
  15049. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15050. "type": "integer"
  15051. },
  15052. "relatedid": {
  15053. "description": "现货合同ID",
  15054. "type": "string"
  15055. },
  15056. "sellusername": {
  15057. "description": "销售方名字",
  15058. "type": "string"
  15059. },
  15060. "userid": {
  15061. "description": "用户ID",
  15062. "type": "integer"
  15063. },
  15064. "wrstandardcode": {
  15065. "description": "品类代码",
  15066. "type": "string"
  15067. },
  15068. "wrstandardid": {
  15069. "description": "品类id",
  15070. "type": "integer"
  15071. },
  15072. "wrstandardname": {
  15073. "description": "品类名称",
  15074. "type": "string"
  15075. }
  15076. }
  15077. },
  15078. "ermcp.QryBussinessFpRsp": {
  15079. "type": "object",
  15080. "properties": {
  15081. "applyid": {
  15082. "description": "申请人",
  15083. "type": "string"
  15084. },
  15085. "applyname": {
  15086. "description": "申请人名称",
  15087. "type": "string"
  15088. },
  15089. "applystatus": {
  15090. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15091. "type": "integer"
  15092. },
  15093. "applytime": {
  15094. "description": "申请时间",
  15095. "type": "string"
  15096. },
  15097. "attachurl": {
  15098. "description": "附件",
  15099. "type": "string"
  15100. },
  15101. "auditid": {
  15102. "description": "审核人ID",
  15103. "type": "string"
  15104. },
  15105. "auditname": {
  15106. "description": "审核人名称",
  15107. "type": "string"
  15108. },
  15109. "auditremark": {
  15110. "description": "审核备注",
  15111. "type": "string"
  15112. },
  15113. "audittime": {
  15114. "description": "审核时间",
  15115. "type": "string"
  15116. },
  15117. "buyusername": {
  15118. "description": "采购方名称",
  15119. "type": "string"
  15120. },
  15121. "contractno": {
  15122. "description": "合同编号",
  15123. "type": "string"
  15124. },
  15125. "contractstatus": {
  15126. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15127. "type": "integer"
  15128. },
  15129. "contracttype": {
  15130. "description": "现货合同类型 - 1:采购 -1:销售",
  15131. "type": "integer"
  15132. },
  15133. "deliverygoodscode": {
  15134. "description": "现货品种代码",
  15135. "type": "string"
  15136. },
  15137. "deliverygoodsid": {
  15138. "description": "现货商品ID",
  15139. "type": "integer"
  15140. },
  15141. "deliverygoodsname": {
  15142. "description": "现货品种名称",
  15143. "type": "string"
  15144. },
  15145. "enumdicname": {
  15146. "description": "单位名称",
  15147. "type": "string"
  15148. },
  15149. "goodscode": {
  15150. "description": "点价合约",
  15151. "type": "string"
  15152. },
  15153. "goodsname": {
  15154. "description": "商品名称",
  15155. "type": "string"
  15156. },
  15157. "invoiceamount": {
  15158. "description": "已开收票金额(销售为开票,采购为收票)",
  15159. "type": "number"
  15160. },
  15161. "operateapplyid": {
  15162. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15163. "type": "string"
  15164. },
  15165. "operateapplytype": {
  15166. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15167. "type": "integer"
  15168. },
  15169. "pricemove": {
  15170. "description": "升贴水",
  15171. "type": "number"
  15172. },
  15173. "pricetype": {
  15174. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15175. "type": "integer"
  15176. },
  15177. "relatedid": {
  15178. "description": "现货合同ID",
  15179. "type": "string"
  15180. },
  15181. "sellusername": {
  15182. "description": "销售方名字",
  15183. "type": "string"
  15184. },
  15185. "userid": {
  15186. "description": "用户ID",
  15187. "type": "integer"
  15188. },
  15189. "wrstandardcode": {
  15190. "description": "品类代码",
  15191. "type": "string"
  15192. },
  15193. "wrstandardid": {
  15194. "description": "品类id",
  15195. "type": "integer"
  15196. },
  15197. "wrstandardname": {
  15198. "description": "品类名称",
  15199. "type": "string"
  15200. }
  15201. }
  15202. },
  15203. "ermcp.QryBussinessJsExRsp": {
  15204. "type": "object",
  15205. "properties": {
  15206. "applyid": {
  15207. "description": "申请人",
  15208. "type": "string"
  15209. },
  15210. "applyname": {
  15211. "description": "申请人名称",
  15212. "type": "string"
  15213. },
  15214. "applystatus": {
  15215. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15216. "type": "integer"
  15217. },
  15218. "applytime": {
  15219. "description": "申请时间",
  15220. "type": "string"
  15221. },
  15222. "attachurl": {
  15223. "description": "附件",
  15224. "type": "string"
  15225. },
  15226. "auditid": {
  15227. "description": "审核人ID",
  15228. "type": "string"
  15229. },
  15230. "auditname": {
  15231. "description": "审核人名称",
  15232. "type": "string"
  15233. },
  15234. "auditremark": {
  15235. "description": "审核备注",
  15236. "type": "string"
  15237. },
  15238. "audittime": {
  15239. "description": "审核时间",
  15240. "type": "string"
  15241. },
  15242. "buyusername": {
  15243. "description": "采购方名称",
  15244. "type": "string"
  15245. },
  15246. "contractno": {
  15247. "description": "合同编号",
  15248. "type": "string"
  15249. },
  15250. "contractstatus": {
  15251. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15252. "type": "integer"
  15253. },
  15254. "contracttype": {
  15255. "description": "现货合同类型 - 1:采购 -1:销售",
  15256. "type": "integer"
  15257. },
  15258. "deliverygoodscode": {
  15259. "description": "现货品种代码",
  15260. "type": "string"
  15261. },
  15262. "deliverygoodsid": {
  15263. "description": "现货商品ID",
  15264. "type": "integer"
  15265. },
  15266. "deliverygoodsname": {
  15267. "description": "现货品种名称",
  15268. "type": "string"
  15269. },
  15270. "enumdicname": {
  15271. "description": "单位名称",
  15272. "type": "string"
  15273. },
  15274. "goodscode": {
  15275. "description": "点价合约",
  15276. "type": "string"
  15277. },
  15278. "goodsname": {
  15279. "description": "商品名称",
  15280. "type": "string"
  15281. },
  15282. "operateapplyid": {
  15283. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15284. "type": "string"
  15285. },
  15286. "operateapplytype": {
  15287. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15288. "type": "integer"
  15289. },
  15290. "pricemove": {
  15291. "description": "升贴水",
  15292. "type": "number"
  15293. },
  15294. "pricetype": {
  15295. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15296. "type": "integer"
  15297. },
  15298. "reckontype": {
  15299. "description": "结算类型",
  15300. "type": "string"
  15301. },
  15302. "reckonvalue": {
  15303. "description": "值",
  15304. "type": "number"
  15305. },
  15306. "relatedid": {
  15307. "description": "现货合同ID",
  15308. "type": "string"
  15309. },
  15310. "sellusername": {
  15311. "description": "销售方名字",
  15312. "type": "string"
  15313. },
  15314. "userid": {
  15315. "description": "用户ID",
  15316. "type": "integer"
  15317. },
  15318. "wrstandardcode": {
  15319. "description": "品类代码",
  15320. "type": "string"
  15321. },
  15322. "wrstandardid": {
  15323. "description": "品类id",
  15324. "type": "integer"
  15325. },
  15326. "wrstandardname": {
  15327. "description": "品类名称",
  15328. "type": "string"
  15329. }
  15330. }
  15331. },
  15332. "ermcp.QryBussinessJsRsp": {
  15333. "type": "object",
  15334. "properties": {
  15335. "addmargin": {
  15336. "description": "追加保证金(非必填)",
  15337. "type": "number"
  15338. },
  15339. "applyid": {
  15340. "description": "申请人",
  15341. "type": "string"
  15342. },
  15343. "applyname": {
  15344. "description": "申请人名称",
  15345. "type": "string"
  15346. },
  15347. "applystatus": {
  15348. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15349. "type": "integer"
  15350. },
  15351. "applytime": {
  15352. "description": "申请时间",
  15353. "type": "string"
  15354. },
  15355. "attachurl": {
  15356. "description": "附件",
  15357. "type": "string"
  15358. },
  15359. "auditid": {
  15360. "description": "审核人ID",
  15361. "type": "string"
  15362. },
  15363. "auditname": {
  15364. "description": "审核人名称",
  15365. "type": "string"
  15366. },
  15367. "auditremark": {
  15368. "description": "审核备注",
  15369. "type": "string"
  15370. },
  15371. "audittime": {
  15372. "description": "审核时间",
  15373. "type": "string"
  15374. },
  15375. "buyusername": {
  15376. "description": "采购方名称",
  15377. "type": "string"
  15378. },
  15379. "contractno": {
  15380. "description": "合同编号",
  15381. "type": "string"
  15382. },
  15383. "contractstatus": {
  15384. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15385. "type": "integer"
  15386. },
  15387. "contracttype": {
  15388. "description": "现货合同类型 - 1:采购 -1:销售",
  15389. "type": "integer"
  15390. },
  15391. "decmargin": {
  15392. "description": "减少保证金(非必填)",
  15393. "type": "number"
  15394. },
  15395. "deliverygoodscode": {
  15396. "description": "现货品种代码",
  15397. "type": "string"
  15398. },
  15399. "deliverygoodsid": {
  15400. "description": "现货商品ID",
  15401. "type": "integer"
  15402. },
  15403. "deliverygoodsname": {
  15404. "description": "现货品种名称",
  15405. "type": "string"
  15406. },
  15407. "enumdicname": {
  15408. "description": "单位名称",
  15409. "type": "string"
  15410. },
  15411. "goodscode": {
  15412. "description": "点价合约",
  15413. "type": "string"
  15414. },
  15415. "goodsname": {
  15416. "description": "商品名称",
  15417. "type": "string"
  15418. },
  15419. "operateapplyid": {
  15420. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15421. "type": "string"
  15422. },
  15423. "operateapplytype": {
  15424. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15425. "type": "integer"
  15426. },
  15427. "pricemove": {
  15428. "description": "升贴水",
  15429. "type": "number"
  15430. },
  15431. "pricetype": {
  15432. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15433. "type": "integer"
  15434. },
  15435. "reckonadjustamount": {
  15436. "description": "结算调整金额(非必填)",
  15437. "type": "number"
  15438. },
  15439. "reckonosamount": {
  15440. "description": "结算溢短金额(非必填)",
  15441. "type": "number"
  15442. },
  15443. "reckonotheramount": {
  15444. "description": "结算其他费用(非必填)",
  15445. "type": "number"
  15446. },
  15447. "reckonrealqty": {
  15448. "description": "结算实际数量(非必填)",
  15449. "type": "number"
  15450. },
  15451. "relatedid": {
  15452. "description": "现货合同ID",
  15453. "type": "string"
  15454. },
  15455. "sellusername": {
  15456. "description": "销售方名字",
  15457. "type": "string"
  15458. },
  15459. "userid": {
  15460. "description": "用户ID",
  15461. "type": "integer"
  15462. },
  15463. "wrstandardcode": {
  15464. "description": "品类代码",
  15465. "type": "string"
  15466. },
  15467. "wrstandardid": {
  15468. "description": "品类id",
  15469. "type": "integer"
  15470. },
  15471. "wrstandardname": {
  15472. "description": "品类名称",
  15473. "type": "string"
  15474. }
  15475. }
  15476. },
  15477. "ermcp.QryBussinessKxRsp": {
  15478. "type": "object",
  15479. "properties": {
  15480. "applyid": {
  15481. "description": "申请人",
  15482. "type": "string"
  15483. },
  15484. "applyname": {
  15485. "description": "申请人名称",
  15486. "type": "string"
  15487. },
  15488. "applystatus": {
  15489. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15490. "type": "integer"
  15491. },
  15492. "applytime": {
  15493. "description": "申请时间",
  15494. "type": "string"
  15495. },
  15496. "attachurl": {
  15497. "description": "附件",
  15498. "type": "string"
  15499. },
  15500. "auditid": {
  15501. "description": "审核人ID",
  15502. "type": "string"
  15503. },
  15504. "auditname": {
  15505. "description": "审核人名称",
  15506. "type": "string"
  15507. },
  15508. "auditremark": {
  15509. "description": "审核备注",
  15510. "type": "string"
  15511. },
  15512. "audittime": {
  15513. "description": "审核时间",
  15514. "type": "string"
  15515. },
  15516. "buyusername": {
  15517. "description": "采购方名称",
  15518. "type": "string"
  15519. },
  15520. "contractno": {
  15521. "description": "合同编号",
  15522. "type": "string"
  15523. },
  15524. "contractstatus": {
  15525. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15526. "type": "integer"
  15527. },
  15528. "contracttype": {
  15529. "description": "现货合同类型 - 1:采购 -1:销售",
  15530. "type": "integer"
  15531. },
  15532. "deductamount": {
  15533. "description": "期初均价",
  15534. "type": "number"
  15535. },
  15536. "deliverygoodscode": {
  15537. "description": "现货品种代码",
  15538. "type": "string"
  15539. },
  15540. "deliverygoodsid": {
  15541. "description": "现货商品ID",
  15542. "type": "integer"
  15543. },
  15544. "deliverygoodsname": {
  15545. "description": "现货品种名称",
  15546. "type": "string"
  15547. },
  15548. "enumdicname": {
  15549. "description": "单位名称",
  15550. "type": "string"
  15551. },
  15552. "goodscode": {
  15553. "description": "点价合约",
  15554. "type": "string"
  15555. },
  15556. "goodsname": {
  15557. "description": "商品名称",
  15558. "type": "string"
  15559. },
  15560. "kxtype": {
  15561. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15562. "type": "integer"
  15563. },
  15564. "operateapplyid": {
  15565. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15566. "type": "string"
  15567. },
  15568. "operateapplytype": {
  15569. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15570. "type": "integer"
  15571. },
  15572. "payamount": {
  15573. "description": "期初均价",
  15574. "type": "number"
  15575. },
  15576. "pricemove": {
  15577. "description": "升贴水",
  15578. "type": "number"
  15579. },
  15580. "pricetype": {
  15581. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15582. "type": "integer"
  15583. },
  15584. "relatedid": {
  15585. "description": "现货合同ID",
  15586. "type": "string"
  15587. },
  15588. "sellusername": {
  15589. "description": "销售方名字",
  15590. "type": "string"
  15591. },
  15592. "userid": {
  15593. "description": "用户ID",
  15594. "type": "integer"
  15595. },
  15596. "wrstandardcode": {
  15597. "description": "品类代码",
  15598. "type": "string"
  15599. },
  15600. "wrstandardid": {
  15601. "description": "品类id",
  15602. "type": "integer"
  15603. },
  15604. "wrstandardname": {
  15605. "description": "品类名称",
  15606. "type": "string"
  15607. }
  15608. }
  15609. },
  15610. "ermcp.QryGGCovertCfgRsp": {
  15611. "type": "object",
  15612. "properties": {
  15613. "convertratio": {
  15614. "description": "折算系数",
  15615. "type": "number"
  15616. },
  15617. "destgoodsgroupid": {
  15618. "description": "目标品种ID",
  15619. "type": "integer"
  15620. },
  15621. "dstcode": {
  15622. "description": "目录品种代码",
  15623. "type": "string"
  15624. },
  15625. "dstexchangecode": {
  15626. "description": "目标期货交易所",
  15627. "type": "string"
  15628. },
  15629. "dstname": {
  15630. "description": "目标品种名称",
  15631. "type": "string"
  15632. },
  15633. "dstunitid": {
  15634. "description": "目标品种单位ID",
  15635. "type": "integer"
  15636. },
  15637. "dstunitidname": {
  15638. "description": "目标品种单位名称",
  15639. "type": "string"
  15640. },
  15641. "modifytime": {
  15642. "description": "修改时间",
  15643. "type": "string"
  15644. },
  15645. "srccode": {
  15646. "description": "源品种代码",
  15647. "type": "string"
  15648. },
  15649. "srcexchangecode": {
  15650. "description": "源期货交易所",
  15651. "type": "string"
  15652. },
  15653. "srcgoodsgroupid": {
  15654. "description": "源品种ID",
  15655. "type": "integer"
  15656. },
  15657. "srcname": {
  15658. "description": "源品种名称",
  15659. "type": "string"
  15660. },
  15661. "srcunitid": {
  15662. "description": "源品种单位ID",
  15663. "type": "integer"
  15664. },
  15665. "srcunitidname": {
  15666. "description": "源品种单位名称",
  15667. "type": "string"
  15668. }
  15669. }
  15670. },
  15671. "ermcp.QryMGChangeLogRsp": {
  15672. "type": "object",
  15673. "properties": {
  15674. "aftervalue": {
  15675. "description": "变更后",
  15676. "type": "number"
  15677. },
  15678. "applyid": {
  15679. "description": "操作人",
  15680. "type": "integer"
  15681. },
  15682. "applyname": {
  15683. "description": "操作人名称",
  15684. "type": "string"
  15685. },
  15686. "applysrc": {
  15687. "description": "操作来源 - 1:管理端 2:终端",
  15688. "type": "integer"
  15689. },
  15690. "beforevalue": {
  15691. "description": "变更前",
  15692. "type": "number"
  15693. },
  15694. "changelogtype": {
  15695. "description": "变更流水类型 - 1:套保比率变更",
  15696. "type": "integer"
  15697. },
  15698. "handlestatus": {
  15699. "description": "处理状态",
  15700. "type": "integer"
  15701. },
  15702. "logdatetime": {
  15703. "description": "流水日期",
  15704. "type": "string"
  15705. },
  15706. "logid": {
  15707. "description": "流水ID",
  15708. "type": "integer"
  15709. },
  15710. "logremark": {
  15711. "description": "流水备注",
  15712. "type": "string"
  15713. },
  15714. "middlegoodsid": {
  15715. "description": "套保品种ID",
  15716. "type": "integer"
  15717. },
  15718. "tradedate": {
  15719. "description": "交易日(yyyyMMdd)",
  15720. "type": "string"
  15721. },
  15722. "updatetime": {
  15723. "description": "更新时间",
  15724. "type": "string"
  15725. }
  15726. }
  15727. },
  15728. "ermcp.QryMiddleGoodsDetailRsp": {
  15729. "type": "object",
  15730. "properties": {
  15731. "cvList": {
  15732. "description": "期货品种折算列表",
  15733. "type": "array",
  15734. "items": {
  15735. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15736. }
  15737. },
  15738. "mg": {
  15739. "description": "套保品种基本信息",
  15740. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15741. },
  15742. "wrcList": {
  15743. "description": "现货品种列表(现货商品折算配置)",
  15744. "type": "array",
  15745. "items": {
  15746. "$ref": "#/definitions/models.WRSConverTDetail"
  15747. }
  15748. }
  15749. }
  15750. },
  15751. "ermcp.QryMiddleGoodsRsp": {
  15752. "type": "object",
  15753. "properties": {
  15754. "areauserid": {
  15755. "description": "机构用户ID",
  15756. "type": "integer"
  15757. },
  15758. "createtime": {
  15759. "description": "修改时间",
  15760. "type": "string"
  15761. },
  15762. "enumdicname": {
  15763. "description": "单位名称",
  15764. "type": "string"
  15765. },
  15766. "evaluateratio": {
  15767. "description": "估价系数",
  15768. "type": "number"
  15769. },
  15770. "goodsgroupid": {
  15771. "description": "关联期货品种ID",
  15772. "type": "integer"
  15773. },
  15774. "goodsunitid": {
  15775. "description": "单位ID",
  15776. "type": "integer"
  15777. },
  15778. "isvalid": {
  15779. "description": "状态 0-无效(停用) 1-有效(正常)",
  15780. "type": "integer"
  15781. },
  15782. "middlegoodscode": {
  15783. "description": "套保品种代码",
  15784. "type": "string"
  15785. },
  15786. "middlegoodsid": {
  15787. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15788. "type": "integer"
  15789. },
  15790. "middlegoodsname": {
  15791. "description": "套保品种名称",
  15792. "type": "string"
  15793. },
  15794. "modifytime": {
  15795. "description": "修改时间",
  15796. "type": "string"
  15797. },
  15798. "needarbitrageratio": {
  15799. "description": "套利比例",
  15800. "type": "number"
  15801. },
  15802. "needhedgeratio": {
  15803. "description": "套保比率",
  15804. "type": "number"
  15805. },
  15806. "qtydecimalplace": {
  15807. "description": "数量小数位",
  15808. "type": "integer"
  15809. },
  15810. "relatedgoodsid": {
  15811. "description": "关联交易商品ID",
  15812. "type": "integer"
  15813. },
  15814. "relatedgoodstype": {
  15815. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15816. "type": "integer"
  15817. },
  15818. "remark": {
  15819. "description": "备注",
  15820. "type": "string"
  15821. }
  15822. }
  15823. },
  15824. "ermcp.QryOPLogRsp": {
  15825. "type": "object",
  15826. "properties": {
  15827. "aftervalue": {
  15828. "description": "变更后",
  15829. "type": "number"
  15830. },
  15831. "applyid": {
  15832. "description": "操作人ID",
  15833. "type": "string"
  15834. },
  15835. "applyname": {
  15836. "description": "操作人名称",
  15837. "type": "string"
  15838. },
  15839. "beforevalue": {
  15840. "description": "变更前",
  15841. "type": "number"
  15842. },
  15843. "biztype": {
  15844. "description": "业务类型 - 1:套保计划 2:现货合同",
  15845. "type": "integer"
  15846. },
  15847. "contracttype": {
  15848. "description": "现货合同类型 - 1:采购 -1:销售",
  15849. "type": "integer"
  15850. },
  15851. "logvalue": {
  15852. "description": "数值",
  15853. "type": "number"
  15854. },
  15855. "operatelogtype": {
  15856. "description": "操作流水类型",
  15857. "type": "integer"
  15858. },
  15859. "operatelogtypedesc": {
  15860. "description": "操作流水类型名称",
  15861. "type": "string"
  15862. },
  15863. "relatedid": {
  15864. "description": "现货合同ID\\套保计划",
  15865. "type": "string"
  15866. },
  15867. "updatetime": {
  15868. "description": "更新时间",
  15869. "type": "string"
  15870. }
  15871. }
  15872. },
  15873. "ermcp.QryUserInfoRsp": {
  15874. "type": "object",
  15875. "properties": {
  15876. "address": {
  15877. "description": "通讯地址",
  15878. "type": "string"
  15879. },
  15880. "attachment1": {
  15881. "description": "附件1",
  15882. "type": "string"
  15883. },
  15884. "audittime": {
  15885. "description": "审核时间",
  15886. "type": "string"
  15887. },
  15888. "cardbackphotourl": {
  15889. "description": "证件反面图片地址",
  15890. "type": "string"
  15891. },
  15892. "cardfrontphotourl": {
  15893. "description": "证件正面图片地址",
  15894. "type": "string"
  15895. },
  15896. "cardnum": {
  15897. "description": "证件号码",
  15898. "type": "string"
  15899. },
  15900. "cardtype": {
  15901. "description": "证件类型",
  15902. "type": "integer"
  15903. },
  15904. "cardtypename": {
  15905. "description": "证件类型名称",
  15906. "type": "string"
  15907. },
  15908. "cityid": {
  15909. "description": "市",
  15910. "type": "integer"
  15911. },
  15912. "contactname": {
  15913. "description": "联系人",
  15914. "type": "string"
  15915. },
  15916. "countryid": {
  15917. "description": "国家",
  15918. "type": "integer"
  15919. },
  15920. "createtime": {
  15921. "description": "创建时间",
  15922. "type": "string"
  15923. },
  15924. "customername": {
  15925. "description": "企业名称",
  15926. "type": "string"
  15927. },
  15928. "districtid": {
  15929. "description": "区域",
  15930. "type": "integer"
  15931. },
  15932. "email": {
  15933. "description": "邮件",
  15934. "type": "string"
  15935. },
  15936. "legalpersonname": {
  15937. "description": "法人姓名(企业)",
  15938. "type": "string"
  15939. },
  15940. "memberuserid": {
  15941. "description": "所属机构ID",
  15942. "type": "integer"
  15943. },
  15944. "mobile": {
  15945. "description": "手机号码",
  15946. "type": "string"
  15947. },
  15948. "modifytime": {
  15949. "description": "修改时间",
  15950. "type": "string"
  15951. },
  15952. "nickname": {
  15953. "description": "昵称",
  15954. "type": "string"
  15955. },
  15956. "provinceid": {
  15957. "description": "省",
  15958. "type": "integer"
  15959. },
  15960. "remark": {
  15961. "description": "备注",
  15962. "type": "string"
  15963. },
  15964. "status": {
  15965. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15966. "type": "integer"
  15967. },
  15968. "statusdesc": {
  15969. "description": "账户状态中文描述",
  15970. "type": "string"
  15971. },
  15972. "taxpayernum": {
  15973. "description": "纳税人识别号",
  15974. "type": "string"
  15975. },
  15976. "telphone": {
  15977. "description": "联系电话",
  15978. "type": "string"
  15979. },
  15980. "userid": {
  15981. "description": "用户ID",
  15982. "type": "integer"
  15983. },
  15984. "userinfotype": {
  15985. "description": "客户类型",
  15986. "type": "string"
  15987. }
  15988. }
  15989. },
  15990. "ermcp.QryWarehouseRsp": {
  15991. "type": "object",
  15992. "properties": {
  15993. "address": {
  15994. "description": "详细地址",
  15995. "type": "string"
  15996. },
  15997. "areauserid": {
  15998. "description": "所属机构",
  15999. "type": "integer"
  16000. },
  16001. "autoid": {
  16002. "description": "自增ID(仓库ID)",
  16003. "type": "integer"
  16004. },
  16005. "cityid": {
  16006. "description": "市",
  16007. "type": "integer"
  16008. },
  16009. "contactname": {
  16010. "description": "联系人",
  16011. "type": "string"
  16012. },
  16013. "contactnum": {
  16014. "description": "联系电话",
  16015. "type": "string"
  16016. },
  16017. "countryid": {
  16018. "description": "国家",
  16019. "type": "integer"
  16020. },
  16021. "createtime": {
  16022. "description": "创建时间",
  16023. "type": "string"
  16024. },
  16025. "districtid": {
  16026. "description": "区",
  16027. "type": "integer"
  16028. },
  16029. "hasvideo": {
  16030. "description": "是否有视频 - 0:无 1:有",
  16031. "type": "integer"
  16032. },
  16033. "provinceid": {
  16034. "description": "省",
  16035. "type": "integer"
  16036. },
  16037. "remark": {
  16038. "description": "审核备注",
  16039. "type": "string"
  16040. },
  16041. "videourl": {
  16042. "description": "视频地址",
  16043. "type": "string"
  16044. },
  16045. "warehousecode": {
  16046. "description": "仓库代码",
  16047. "type": "string"
  16048. },
  16049. "warehousename": {
  16050. "description": "仓库名称",
  16051. "type": "string"
  16052. },
  16053. "warehousestatus": {
  16054. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16055. "type": "integer"
  16056. },
  16057. "warehousetype": {
  16058. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16059. "type": "integer"
  16060. }
  16061. }
  16062. },
  16063. "ermcp.QueryErmcpTradePositionRsp": {
  16064. "type": "object",
  16065. "properties": {
  16066. "agreeunit": {
  16067. "description": "合约单位",
  16068. "type": "number"
  16069. },
  16070. "buyorsell": {
  16071. "description": "方向 - 0:买 1:卖",
  16072. "type": "integer"
  16073. },
  16074. "curpositionqty": {
  16075. "description": "持仓(总仓数量, 期末头寸)",
  16076. "type": "integer"
  16077. },
  16078. "curtdposition": {
  16079. "description": "今仓数量(期末今日头寸)",
  16080. "type": "integer"
  16081. },
  16082. "curtdpositionenabled": {
  16083. "description": "今仓可用",
  16084. "type": "integer"
  16085. },
  16086. "decimalplace": {
  16087. "description": "报价小数位",
  16088. "type": "integer"
  16089. },
  16090. "enableqty": {
  16091. "description": "可用(总仓可用)",
  16092. "type": "integer"
  16093. },
  16094. "exexchangename": {
  16095. "description": "外部交易所名称",
  16096. "type": "string"
  16097. },
  16098. "exexehangecode": {
  16099. "description": "外部交易所代码",
  16100. "type": "string"
  16101. },
  16102. "exexehangeid": {
  16103. "description": "外部交易所id",
  16104. "type": "integer"
  16105. },
  16106. "goodscode": {
  16107. "description": "商品代码(内部)",
  16108. "type": "string"
  16109. },
  16110. "goodsid": {
  16111. "description": "商品ID(自增ID SEQ_GOODS)",
  16112. "type": "integer"
  16113. },
  16114. "goodsname": {
  16115. "description": "商品名称",
  16116. "type": "string"
  16117. },
  16118. "last": {
  16119. "description": "现价",
  16120. "type": "number"
  16121. },
  16122. "marketid": {
  16123. "description": "所属市场ID",
  16124. "type": "integer"
  16125. },
  16126. "openaverageprice": {
  16127. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16128. "type": "number"
  16129. },
  16130. "opencost": {
  16131. "description": "开仓成本",
  16132. "type": "number"
  16133. },
  16134. "openpl": {
  16135. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16136. "type": "number"
  16137. },
  16138. "outgoodscode": {
  16139. "description": "商品代码(外部)",
  16140. "type": "string"
  16141. },
  16142. "positionaverageprice": {
  16143. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16144. "type": "number"
  16145. },
  16146. "positioncost": {
  16147. "description": "持仓成本",
  16148. "type": "number"
  16149. },
  16150. "positionpl": {
  16151. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16152. "type": "number"
  16153. },
  16154. "positionplrate": {
  16155. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16156. "type": "number"
  16157. },
  16158. "usedmargin": {
  16159. "description": "占用保证金",
  16160. "type": "number"
  16161. }
  16162. }
  16163. },
  16164. "ermcp.RealtimeExposurePositionRsp": {
  16165. "type": "object",
  16166. "properties": {
  16167. "agreeunit": {
  16168. "description": "合约单位",
  16169. "type": "string"
  16170. },
  16171. "areauserid": {
  16172. "description": "所属机构id",
  16173. "type": "integer"
  16174. },
  16175. "convertratio": {
  16176. "description": "期货品种系数(折算系数)",
  16177. "type": "number"
  16178. },
  16179. "curhedgeqty": {
  16180. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  16181. "type": "number"
  16182. },
  16183. "curqty": {
  16184. "description": "当前持仓",
  16185. "type": "integer"
  16186. },
  16187. "diffhedgeqty": {
  16188. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16189. "type": "number"
  16190. },
  16191. "diffqty": {
  16192. "description": "持仓变动量=当前持仓-昨日持仓",
  16193. "type": "integer"
  16194. },
  16195. "goodscode": {
  16196. "description": "商品代码",
  16197. "type": "string"
  16198. },
  16199. "goodsid": {
  16200. "description": "商品id",
  16201. "type": "integer"
  16202. },
  16203. "goodsname": {
  16204. "description": "商品名称",
  16205. "type": "string"
  16206. },
  16207. "hedgeaccountcode": {
  16208. "description": "对冲账号(只有外部账号才有值)",
  16209. "type": "string"
  16210. },
  16211. "middlegoodscode": {
  16212. "description": "套保商品代码",
  16213. "type": "string"
  16214. },
  16215. "middlegoodsid": {
  16216. "description": "套保商品id",
  16217. "type": "integer"
  16218. },
  16219. "middlegoodsname": {
  16220. "description": "套保商品名称",
  16221. "type": "string"
  16222. },
  16223. "ydqty": {
  16224. "description": "昨日持仓",
  16225. "type": "integer"
  16226. }
  16227. }
  16228. },
  16229. "ermcp.RealtimeExposureRsp": {
  16230. "type": "object",
  16231. "properties": {
  16232. "AreaUserID": {
  16233. "description": "所属机构",
  16234. "type": "integer"
  16235. },
  16236. "BuyFutureQty": {
  16237. "description": "买入期货数量",
  16238. "type": "number"
  16239. },
  16240. "BuyPlanQty": {
  16241. "description": "采购计划数量",
  16242. "type": "number"
  16243. },
  16244. "BuyPricedQty": {
  16245. "description": "采购合同已定价数量",
  16246. "type": "number"
  16247. },
  16248. "MiddleGoodsCode": {
  16249. "description": "套保品种代码",
  16250. "type": "string"
  16251. },
  16252. "MiddleGoodsHedgeRatio": {
  16253. "description": "套保比例",
  16254. "type": "number"
  16255. },
  16256. "MiddleGoodsID": {
  16257. "description": "套保品种",
  16258. "type": "integer"
  16259. },
  16260. "MiddleGoodsName": {
  16261. "description": "套保品种名称",
  16262. "type": "string"
  16263. },
  16264. "NeedHedgeExposoure": {
  16265. "description": "应套保敞口(套保敞口)",
  16266. "type": "number"
  16267. },
  16268. "NeedHedgeRatio": {
  16269. "description": "应套保敞口比例",
  16270. "type": "number"
  16271. },
  16272. "OriBuyFutureQty": {
  16273. "description": "期初买入期货数量",
  16274. "type": "number"
  16275. },
  16276. "OriBuyPlanQty": {
  16277. "description": "期初采购计划数量",
  16278. "type": "number"
  16279. },
  16280. "OriBuyPricedQty": {
  16281. "description": "期初采购合同已定价数量",
  16282. "type": "number"
  16283. },
  16284. "OriSellFutureQty": {
  16285. "description": "期初卖出期货数量",
  16286. "type": "number"
  16287. },
  16288. "OriSellPlanQty": {
  16289. "description": "期初销售计划数量",
  16290. "type": "number"
  16291. },
  16292. "OriSellPricedQty": {
  16293. "description": "期初销售合同已定价数量",
  16294. "type": "number"
  16295. },
  16296. "OriTotalSpotQty": {
  16297. "description": "期初现货总量",
  16298. "type": "number"
  16299. },
  16300. "SellFutureQty": {
  16301. "description": "卖出期货数量",
  16302. "type": "number"
  16303. },
  16304. "SellPlanQty": {
  16305. "description": "销售计划数量",
  16306. "type": "number"
  16307. },
  16308. "SellPricedQty": {
  16309. "description": "销售合同已定价数量",
  16310. "type": "number"
  16311. },
  16312. "TotalExposure": {
  16313. "description": "总敞口 平安:净敞口",
  16314. "type": "number"
  16315. },
  16316. "TotalFutureQty": {
  16317. "description": "期货总量 平安:保值净持仓量",
  16318. "type": "number"
  16319. },
  16320. "TotalHedgeRatio": {
  16321. "description": "敞口比例",
  16322. "type": "number"
  16323. },
  16324. "TotalNeedHedgeQty": {
  16325. "description": "应套保总量(现货应套保总量)",
  16326. "type": "number"
  16327. },
  16328. "TotalSpotQty": {
  16329. "description": "现货总量 平安:采销定价净值",
  16330. "type": "number"
  16331. },
  16332. "arbitrageqty": {
  16333. "description": "套利量",
  16334. "type": "number"
  16335. },
  16336. "diffArbitrageQty": {
  16337. "description": "期初均价",
  16338. "type": "number"
  16339. },
  16340. "diffExposoureQty": {
  16341. "description": "期初均价",
  16342. "type": "number"
  16343. },
  16344. "diffFutuQty": {
  16345. "description": "期初均价",
  16346. "type": "number"
  16347. },
  16348. "diffHedgeQty": {
  16349. "description": "期初均价",
  16350. "type": "number"
  16351. },
  16352. "diffQty": {
  16353. "description": "期初均价",
  16354. "type": "number"
  16355. },
  16356. "diffSpotHedgeQty": {
  16357. "description": "期初均价",
  16358. "type": "number"
  16359. },
  16360. "diffSpotQty": {
  16361. "description": "期初均价",
  16362. "type": "number"
  16363. },
  16364. "enumdicname": {
  16365. "description": "单位名称",
  16366. "type": "string"
  16367. },
  16368. "hedgeqty": {
  16369. "description": "套保量",
  16370. "type": "number"
  16371. },
  16372. "needarbitrageqty": {
  16373. "description": "应套利量",
  16374. "type": "number"
  16375. },
  16376. "needarbitrageratio": {
  16377. "description": "套利比例",
  16378. "type": "number"
  16379. },
  16380. "needhedgeqty": {
  16381. "description": "应套保量",
  16382. "type": "number"
  16383. },
  16384. "oriarbitrageqty": {
  16385. "description": "期初套利量",
  16386. "type": "number"
  16387. },
  16388. "orihedgeqty": {
  16389. "description": "期初套保量",
  16390. "type": "number"
  16391. },
  16392. "orineedhedgeexposoure": {
  16393. "description": "期初套保敞口",
  16394. "type": "number"
  16395. },
  16396. "oritotalexposure": {
  16397. "description": "期初总敞口",
  16398. "type": "number"
  16399. },
  16400. "oritotalfutureqty": {
  16401. "description": "期初期货总量",
  16402. "type": "number"
  16403. },
  16404. "oritotalneedhedgeqty": {
  16405. "description": "期初现货应套保量",
  16406. "type": "number"
  16407. }
  16408. }
  16409. },
  16410. "erms2.QueryArbitrageStrategyRsp": {
  16411. "type": "object",
  16412. "required": [
  16413. "asapplyid"
  16414. ],
  16415. "properties": {
  16416. "applybasis": {
  16417. "description": "申请基差",
  16418. "type": "number"
  16419. },
  16420. "asapplyid": {
  16421. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16422. "type": "string"
  16423. },
  16424. "asname": {
  16425. "description": "策略名称",
  16426. "type": "string"
  16427. },
  16428. "asno": {
  16429. "description": "策略编号",
  16430. "type": "string"
  16431. },
  16432. "basischangepl": {
  16433. "description": "基差变动损益[结算更新]",
  16434. "type": "number"
  16435. },
  16436. "biztype": {
  16437. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16438. "type": "integer"
  16439. },
  16440. "closetradedate": {
  16441. "description": "完结交易日(yyyyMMdd)",
  16442. "type": "string"
  16443. },
  16444. "curbasis": {
  16445. "description": "当前基差[结算更新]",
  16446. "type": "number"
  16447. },
  16448. "deliverygoodsid": {
  16449. "description": "现货品种ID",
  16450. "type": "integer"
  16451. },
  16452. "futureavgprice": {
  16453. "description": "期货建仓均价",
  16454. "type": "number"
  16455. },
  16456. "futurecloseamount": {
  16457. "description": "期货平仓金额",
  16458. "type": "number"
  16459. },
  16460. "futurecloseqty": {
  16461. "description": "期货平仓数量",
  16462. "type": "number"
  16463. },
  16464. "futureopenamount": {
  16465. "description": "期货开仓金额",
  16466. "type": "number"
  16467. },
  16468. "futureopenqty": {
  16469. "description": "期货开仓数量",
  16470. "type": "number"
  16471. },
  16472. "futurepl": {
  16473. "description": "期货总盈亏[结算更新]",
  16474. "type": "number"
  16475. },
  16476. "futureqty": {
  16477. "description": "期货持仓数量",
  16478. "type": "number"
  16479. },
  16480. "futurequote": {
  16481. "description": "期货额度",
  16482. "type": "number"
  16483. },
  16484. "goodsgroupid": {
  16485. "description": "期货品种ID",
  16486. "type": "integer"
  16487. },
  16488. "marketid": {
  16489. "description": "市场ID",
  16490. "type": "integer"
  16491. },
  16492. "netexposure": {
  16493. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  16494. "type": "number"
  16495. },
  16496. "netexposurepl": {
  16497. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  16498. "type": "number"
  16499. },
  16500. "netexposurerate": {
  16501. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  16502. "type": "number"
  16503. },
  16504. "openbasis": {
  16505. "description": "建仓基差",
  16506. "type": "number"
  16507. },
  16508. "pricedspotqty": {
  16509. "description": "已定价现货数量",
  16510. "type": "number"
  16511. },
  16512. "pricedspotqtynotax": {
  16513. "description": "已定价现货不含税数量",
  16514. "type": "number"
  16515. },
  16516. "remark": {
  16517. "description": "备注",
  16518. "type": "string"
  16519. },
  16520. "spotavgprice": {
  16521. "description": "现货均价",
  16522. "type": "number"
  16523. },
  16524. "spotbuyamount": {
  16525. "description": "现货采购金额",
  16526. "type": "number"
  16527. },
  16528. "spotbuyqty": {
  16529. "description": "现货采购数量",
  16530. "type": "number"
  16531. },
  16532. "spotpl": {
  16533. "description": "现货总盈亏[结算更新]",
  16534. "type": "number"
  16535. },
  16536. "spotquota": {
  16537. "description": "现货额度",
  16538. "type": "number"
  16539. },
  16540. "spotsellamount": {
  16541. "description": "现货销售金额",
  16542. "type": "number"
  16543. },
  16544. "spotsellqty": {
  16545. "description": "现货销售数量",
  16546. "type": "number"
  16547. },
  16548. "spotusedquota": {
  16549. "description": "现货占用资金",
  16550. "type": "number"
  16551. },
  16552. "strategystatus": {
  16553. "description": "策略状态 - 0:未结束 1:已结束",
  16554. "type": "integer"
  16555. },
  16556. "totalpl": {
  16557. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  16558. "type": "number"
  16559. },
  16560. "tradedate": {
  16561. "description": "交易日(yyyyMMdd)",
  16562. "type": "string"
  16563. },
  16564. "updatetime": {
  16565. "description": "更新时间",
  16566. "type": "string"
  16567. },
  16568. "usedquota": {
  16569. "description": "已占用资金",
  16570. "type": "number"
  16571. },
  16572. "userid": {
  16573. "description": "所属机构",
  16574. "type": "integer"
  16575. }
  16576. }
  16577. },
  16578. "erms2.QueryInnerTradeDetailRsp": {
  16579. "type": "object",
  16580. "required": [
  16581. "asapplyid",
  16582. "buyorsell",
  16583. "goodscode",
  16584. "goodsgroupid",
  16585. "goodsgroupname",
  16586. "goodsname",
  16587. "tradeid"
  16588. ],
  16589. "properties": {
  16590. "accountid": {
  16591. "description": "账号ID",
  16592. "type": "integer"
  16593. },
  16594. "agreeunit": {
  16595. "description": "合约单位",
  16596. "type": "number"
  16597. },
  16598. "asapplyid": {
  16599. "description": "策略申请ID",
  16600. "type": "integer"
  16601. },
  16602. "asname": {
  16603. "description": "策略名称",
  16604. "type": "string"
  16605. },
  16606. "asno": {
  16607. "description": "策略编号",
  16608. "type": "string"
  16609. },
  16610. "buyorsell": {
  16611. "description": "方向 - 0:买 1:卖",
  16612. "type": "integer"
  16613. },
  16614. "channelbuildtype": {
  16615. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16616. "type": "integer"
  16617. },
  16618. "closetype": {
  16619. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16620. "type": "integer"
  16621. },
  16622. "decimalplace": {
  16623. "description": "报价小数位",
  16624. "type": "integer"
  16625. },
  16626. "detailtype": {
  16627. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  16628. "type": "integer"
  16629. },
  16630. "exexchangecode": {
  16631. "description": "外部交易所代码",
  16632. "type": "string"
  16633. },
  16634. "exexchangename": {
  16635. "description": "外部交易所名称",
  16636. "type": "string"
  16637. },
  16638. "goodscode": {
  16639. "description": "商品代码(合约)",
  16640. "type": "string"
  16641. },
  16642. "goodsgroupid": {
  16643. "description": "商品组ID(品种ID)",
  16644. "type": "integer"
  16645. },
  16646. "goodsgroupname": {
  16647. "description": "商品组名称(品种)",
  16648. "type": "string"
  16649. },
  16650. "goodsid": {
  16651. "description": "商品ID",
  16652. "type": "integer"
  16653. },
  16654. "goodsname": {
  16655. "description": "商品名称(合约)",
  16656. "type": "string"
  16657. },
  16658. "goodunit": {
  16659. "description": "报价单位",
  16660. "type": "string"
  16661. },
  16662. "marketid": {
  16663. "description": "市场ID",
  16664. "type": "integer"
  16665. },
  16666. "orderid": {
  16667. "description": "委托单号",
  16668. "type": "string"
  16669. },
  16670. "outgoodscode": {
  16671. "description": "商品代码(外部)",
  16672. "type": "string"
  16673. },
  16674. "relatedouttradeid": {
  16675. "description": "关联外部成交单ID",
  16676. "type": "string"
  16677. },
  16678. "remark": {
  16679. "description": "备注",
  16680. "type": "string"
  16681. },
  16682. "spotcontractid": {
  16683. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  16684. "type": "integer"
  16685. },
  16686. "spotcontractno": {
  16687. "description": "现货合同编号",
  16688. "type": "string"
  16689. },
  16690. "tradeid": {
  16691. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16692. "type": "string"
  16693. },
  16694. "tradeprice": {
  16695. "description": "成交价格",
  16696. "type": "number"
  16697. },
  16698. "tradeqty": {
  16699. "description": "成交数量",
  16700. "type": "integer"
  16701. },
  16702. "tradetime": {
  16703. "description": "成交时间",
  16704. "type": "string"
  16705. },
  16706. "updatetime": {
  16707. "description": "更新时间",
  16708. "type": "string"
  16709. }
  16710. }
  16711. },
  16712. "erms2.QuerySpotContractRsp": {
  16713. "type": "object",
  16714. "required": [
  16715. "spotcontractid"
  16716. ],
  16717. "properties": {
  16718. "accountid": {
  16719. "description": "资金账户ID",
  16720. "type": "integer"
  16721. },
  16722. "areauserid": {
  16723. "description": "所属机构",
  16724. "type": "integer"
  16725. },
  16726. "closedate": {
  16727. "description": "终止日期",
  16728. "type": "string"
  16729. },
  16730. "closeremark": {
  16731. "description": "结束备注",
  16732. "type": "string"
  16733. },
  16734. "closetradedate": {
  16735. "description": "完结交易日(yyyyMMdd)",
  16736. "type": "string"
  16737. },
  16738. "closetype": {
  16739. "description": "终止类型 - 1:违约 2:提前终止",
  16740. "type": "integer"
  16741. },
  16742. "contractamount": {
  16743. "description": "合同金额",
  16744. "type": "number"
  16745. },
  16746. "contractattachment": {
  16747. "description": "合同附件",
  16748. "type": "string"
  16749. },
  16750. "contractno": {
  16751. "description": "现货合同编号",
  16752. "type": "string"
  16753. },
  16754. "contractqty": {
  16755. "description": "合同数量(数值) (用于计算)",
  16756. "type": "number"
  16757. },
  16758. "contractqtychar": {
  16759. "description": "合同数量\\已订价数量 (用于显示)",
  16760. "type": "string"
  16761. },
  16762. "contractstatus": {
  16763. "description": "合同状态 - 0:未结束 1:已结束",
  16764. "type": "integer"
  16765. },
  16766. "contracttype": {
  16767. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  16768. "type": "integer"
  16769. },
  16770. "customeraccountid": {
  16771. "description": "客户资金账户ID",
  16772. "type": "integer"
  16773. },
  16774. "customeruserid": {
  16775. "description": "客户ID",
  16776. "type": "integer"
  16777. },
  16778. "deliverygoodsdesc": {
  16779. "description": "品种说明",
  16780. "type": "string"
  16781. },
  16782. "deliverygoodsid": {
  16783. "description": "现货品种ID",
  16784. "type": "integer"
  16785. },
  16786. "handlestatus": {
  16787. "description": "处理状态",
  16788. "type": "integer"
  16789. },
  16790. "invoiceatt": {
  16791. "description": "发票附件",
  16792. "type": "string"
  16793. },
  16794. "invoicedatetime": {
  16795. "description": "开收票更新时间",
  16796. "type": "string"
  16797. },
  16798. "invoiceopentime": {
  16799. "description": "开票时间",
  16800. "type": "string"
  16801. },
  16802. "invoiceremark": {
  16803. "description": "发票备注",
  16804. "type": "string"
  16805. },
  16806. "invoicestatus": {
  16807. "description": "开收票状态 - 0:未开票 1:已开票",
  16808. "type": "integer"
  16809. },
  16810. "lastdate": {
  16811. "description": "交货时间",
  16812. "type": "string"
  16813. },
  16814. "marketid": {
  16815. "description": "市场ID",
  16816. "type": "integer"
  16817. },
  16818. "paydatetime": {
  16819. "description": "收付款更新时间",
  16820. "type": "string"
  16821. },
  16822. "payremark": {
  16823. "description": "收付款备注",
  16824. "type": "string"
  16825. },
  16826. "paystatus": {
  16827. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  16828. "type": "integer"
  16829. },
  16830. "positionqty": {
  16831. "description": "头寸数量 - 合同数量去小数部分",
  16832. "type": "integer"
  16833. },
  16834. "producttype": {
  16835. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16836. "type": "integer"
  16837. },
  16838. "relatedqty": {
  16839. "description": "已关联数量",
  16840. "type": "number"
  16841. },
  16842. "relatedstatus": {
  16843. "description": "关联完结状态 - 0:未结束 1:已结束",
  16844. "type": "integer"
  16845. },
  16846. "remark": {
  16847. "description": "备注",
  16848. "type": "string"
  16849. },
  16850. "signdate": {
  16851. "description": "签订日期",
  16852. "type": "string"
  16853. },
  16854. "spotcontractid": {
  16855. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  16856. "type": "string"
  16857. },
  16858. "spotdatetime": {
  16859. "description": "收发货更新时间",
  16860. "type": "string"
  16861. },
  16862. "spotprice": {
  16863. "description": "价格",
  16864. "type": "number"
  16865. },
  16866. "spotremark": {
  16867. "description": "收发货备注",
  16868. "type": "string"
  16869. },
  16870. "spotstatus": {
  16871. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  16872. "type": "integer"
  16873. },
  16874. "tradedate": {
  16875. "description": "交易日(yyyyMMdd)",
  16876. "type": "string"
  16877. },
  16878. "userid": {
  16879. "description": "业务员用户ID",
  16880. "type": "integer"
  16881. },
  16882. "warehouseid": {
  16883. "description": "仓库ID",
  16884. "type": "integer"
  16885. },
  16886. "wrfactortypeid": {
  16887. "description": "仓单要素类型ID",
  16888. "type": "integer"
  16889. },
  16890. "wrstandardid": {
  16891. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16892. "type": "integer"
  16893. }
  16894. }
  16895. },
  16896. "erms3.AddErms2ASApplyReq": {
  16897. "type": "object",
  16898. "required": [
  16899. "asapplyid"
  16900. ],
  16901. "properties": {
  16902. "applybasis": {
  16903. "description": "申请基差",
  16904. "type": "number"
  16905. },
  16906. "applystatus": {
  16907. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16908. "type": "integer"
  16909. },
  16910. "asapplyid": {
  16911. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  16912. "type": "integer"
  16913. },
  16914. "asname": {
  16915. "description": "策略名称",
  16916. "type": "string"
  16917. },
  16918. "asno": {
  16919. "description": "策略编号",
  16920. "type": "string"
  16921. },
  16922. "auditid": {
  16923. "description": "审核人",
  16924. "type": "integer"
  16925. },
  16926. "auditremark": {
  16927. "description": "审核备注",
  16928. "type": "string"
  16929. },
  16930. "audittime": {
  16931. "description": "审核时间",
  16932. "type": "string"
  16933. },
  16934. "biztype": {
  16935. "description": "业务类型 - 1:正向套利 2:反向套利",
  16936. "type": "integer"
  16937. },
  16938. "createtime": {
  16939. "description": "创建时间",
  16940. "type": "string"
  16941. },
  16942. "creatorid": {
  16943. "description": "创建人",
  16944. "type": "integer"
  16945. },
  16946. "deliverygoodsid": {
  16947. "description": "现货品种ID",
  16948. "type": "integer"
  16949. },
  16950. "futurequote": {
  16951. "description": "期货额度",
  16952. "type": "number"
  16953. },
  16954. "goodsgroupid": {
  16955. "description": "期货品种ID",
  16956. "type": "integer"
  16957. },
  16958. "marketid": {
  16959. "description": "市场ID",
  16960. "type": "integer"
  16961. },
  16962. "remark": {
  16963. "description": "备注",
  16964. "type": "string"
  16965. },
  16966. "spotquota": {
  16967. "description": "现货额度",
  16968. "type": "number"
  16969. },
  16970. "tradedate": {
  16971. "description": "交易日(yyyyMMdd)",
  16972. "type": "string"
  16973. },
  16974. "userid": {
  16975. "description": "所属机构",
  16976. "type": "integer"
  16977. }
  16978. }
  16979. },
  16980. "erms3.AddErms2SpotTradeApplyReq": {
  16981. "type": "object",
  16982. "required": [
  16983. "spottradeid"
  16984. ],
  16985. "properties": {
  16986. "applyjsondetail": {
  16987. "description": "申请明细(JSON)",
  16988. "type": "string"
  16989. },
  16990. "applystatus": {
  16991. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16992. "type": "integer"
  16993. },
  16994. "areauserid": {
  16995. "description": "所属机构",
  16996. "type": "integer"
  16997. },
  16998. "auditid": {
  16999. "description": "审核人",
  17000. "type": "integer"
  17001. },
  17002. "auditremark": {
  17003. "description": "审核备注",
  17004. "type": "string"
  17005. },
  17006. "audittime": {
  17007. "description": "审核时间",
  17008. "type": "string"
  17009. },
  17010. "createtime": {
  17011. "description": "创建时间",
  17012. "type": "string"
  17013. },
  17014. "creatorid": {
  17015. "description": "创建人",
  17016. "type": "integer"
  17017. },
  17018. "deliverygoodsid": {
  17019. "description": "现货品种ID",
  17020. "type": "integer"
  17021. },
  17022. "futureaccountid": {
  17023. "description": "期货资金账户",
  17024. "type": "integer"
  17025. },
  17026. "goodsgroupid": {
  17027. "description": "期货品种",
  17028. "type": "integer"
  17029. },
  17030. "marketid": {
  17031. "description": "市场ID",
  17032. "type": "integer"
  17033. },
  17034. "remark": {
  17035. "description": "备注",
  17036. "type": "string"
  17037. },
  17038. "spotaccountid": {
  17039. "description": "现货资金账户",
  17040. "type": "integer"
  17041. },
  17042. "spottradeid": {
  17043. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17044. "type": "integer"
  17045. },
  17046. "spottradename": {
  17047. "description": "业务名称",
  17048. "type": "string"
  17049. },
  17050. "spottradeno": {
  17051. "description": "业务编号",
  17052. "type": "string"
  17053. },
  17054. "tradedate": {
  17055. "description": "交易日(yyyyMMdd)",
  17056. "type": "string"
  17057. },
  17058. "wrstandardid": {
  17059. "description": "仓单标准ID",
  17060. "type": "integer"
  17061. }
  17062. }
  17063. },
  17064. "erms3.AddSpotContractApplyReq": {
  17065. "type": "object",
  17066. "required": [
  17067. "accountid",
  17068. "areauserid",
  17069. "contractno",
  17070. "contracttype",
  17071. "customeraccountid",
  17072. "customeruserid",
  17073. "details",
  17074. "orimargin",
  17075. "signdate"
  17076. ],
  17077. "properties": {
  17078. "accountid": {
  17079. "description": "资金账户ID",
  17080. "type": "integer"
  17081. },
  17082. "areauserid": {
  17083. "description": "所属机构",
  17084. "type": "integer"
  17085. },
  17086. "contractattachment": {
  17087. "description": "合同附件",
  17088. "type": "string"
  17089. },
  17090. "contractno": {
  17091. "description": "现货合同编号",
  17092. "type": "string"
  17093. },
  17094. "contracttype": {
  17095. "description": "现货合同类型 - 1:采购 -1:销售",
  17096. "type": "integer"
  17097. },
  17098. "creatorid": {
  17099. "description": "申请人",
  17100. "type": "integer"
  17101. },
  17102. "customeraccountid": {
  17103. "description": "客户资金账户ID",
  17104. "type": "integer"
  17105. },
  17106. "customeruserid": {
  17107. "description": "客户ID",
  17108. "type": "integer"
  17109. },
  17110. "details": {
  17111. "description": "明细",
  17112. "type": "array",
  17113. "items": {
  17114. "$ref": "#/definitions/erms3.SoptContractDetail"
  17115. }
  17116. },
  17117. "orimargin": {
  17118. "description": "初始保证金",
  17119. "type": "number"
  17120. },
  17121. "remark": {
  17122. "description": "备注",
  17123. "type": "string"
  17124. },
  17125. "signdate": {
  17126. "description": "签订日期",
  17127. "type": "string"
  17128. }
  17129. }
  17130. },
  17131. "erms3.AddSpotContractApplyRsp": {
  17132. "type": "object",
  17133. "required": [
  17134. "contractno"
  17135. ],
  17136. "properties": {
  17137. "contractno": {
  17138. "description": "现货合同编号",
  17139. "type": "string"
  17140. },
  17141. "spotcontractid": {
  17142. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17143. "type": "integer"
  17144. }
  17145. }
  17146. },
  17147. "erms3.AddUserInfoApplyReq": {
  17148. "type": "object",
  17149. "required": [
  17150. "userid"
  17151. ],
  17152. "properties": {
  17153. "accountid": {
  17154. "description": "交易系统帐号Id (加密存储)",
  17155. "type": "integer"
  17156. },
  17157. "areacode": {
  17158. "description": "机构代码",
  17159. "type": "string"
  17160. },
  17161. "areaid": {
  17162. "description": "机构Id",
  17163. "type": "integer"
  17164. },
  17165. "attachment1": {
  17166. "description": "附件1",
  17167. "type": "string"
  17168. },
  17169. "attachment2": {
  17170. "description": "附件2",
  17171. "type": "string"
  17172. },
  17173. "attachment3": {
  17174. "description": "附件3",
  17175. "type": "string"
  17176. },
  17177. "attachment4": {
  17178. "description": "附件4",
  17179. "type": "string"
  17180. },
  17181. "attachment5": {
  17182. "description": "附件5",
  17183. "type": "string"
  17184. },
  17185. "auditedby": {
  17186. "description": "审核人",
  17187. "type": "string"
  17188. },
  17189. "auditime": {
  17190. "description": "审核时间",
  17191. "type": "string"
  17192. },
  17193. "auditsrc": {
  17194. "description": "审核来源 - 1:管理端 2:终端",
  17195. "type": "integer"
  17196. },
  17197. "bankaccount": {
  17198. "description": "银行帐号 (加密存储)",
  17199. "type": "string"
  17200. },
  17201. "bankaccountname": {
  17202. "description": "收款人名称",
  17203. "type": "string"
  17204. },
  17205. "bankcardbackphotourl": {
  17206. "description": "银行卡背面照地址",
  17207. "type": "string"
  17208. },
  17209. "bankcardfrontphotourl": {
  17210. "description": "银行卡正面照地址",
  17211. "type": "string"
  17212. },
  17213. "bankid": {
  17214. "description": "银行编码",
  17215. "type": "string"
  17216. },
  17217. "bankname": {
  17218. "description": "银行名称",
  17219. "type": "string"
  17220. },
  17221. "bankpictureurl": {
  17222. "description": "银行卡正面地址",
  17223. "type": "string"
  17224. },
  17225. "biznature": {
  17226. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17227. "type": "integer"
  17228. },
  17229. "bizscope": {
  17230. "description": "企业经营范围(企业)",
  17231. "type": "string"
  17232. },
  17233. "biztype": {
  17234. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17235. "type": "integer"
  17236. },
  17237. "brokerid": {
  17238. "description": "经纪人ID(加密存储)",
  17239. "type": "string"
  17240. },
  17241. "cardaddress": {
  17242. "description": "证件地址 (加密存储)",
  17243. "type": "string"
  17244. },
  17245. "cardbackphotourl": {
  17246. "description": "背面证件照地址",
  17247. "type": "string"
  17248. },
  17249. "cardfrontphotourl": {
  17250. "description": "正面证件照地址",
  17251. "type": "string"
  17252. },
  17253. "cardnum": {
  17254. "description": "证件号码 (加密存储)",
  17255. "type": "string"
  17256. },
  17257. "cardtype": {
  17258. "description": "证件类型",
  17259. "type": "integer"
  17260. },
  17261. "cityid": {
  17262. "description": "市",
  17263. "type": "integer"
  17264. },
  17265. "company": {
  17266. "description": "公司(个人)",
  17267. "type": "string"
  17268. },
  17269. "contactcardbackphotourl": {
  17270. "description": "联系人证件背面图片地址",
  17271. "type": "string"
  17272. },
  17273. "contactcardfrontphotourl": {
  17274. "description": "联系人证件正面图片地址",
  17275. "type": "string"
  17276. },
  17277. "contactname": {
  17278. "description": "联系人",
  17279. "type": "string"
  17280. },
  17281. "countryid": {
  17282. "description": "国家",
  17283. "type": "integer"
  17284. },
  17285. "createtime": {
  17286. "description": "开户申请时间",
  17287. "type": "string"
  17288. },
  17289. "cusbankid": {
  17290. "description": "签约类型",
  17291. "type": "string"
  17292. },
  17293. "cusbankname": {
  17294. "description": "签约类型名称",
  17295. "type": "string"
  17296. },
  17297. "customername": {
  17298. "description": "客户名称(企业名称)",
  17299. "type": "string"
  17300. },
  17301. "districtid": {
  17302. "description": "地区",
  17303. "type": "integer"
  17304. },
  17305. "email": {
  17306. "description": "Email地址(加密存储)",
  17307. "type": "string"
  17308. },
  17309. "halfbodyphotourl": {
  17310. "description": "半身照地址",
  17311. "type": "string"
  17312. },
  17313. "headurl": {
  17314. "description": "头像地址",
  17315. "type": "string"
  17316. },
  17317. "ipaddress": {
  17318. "description": "IP地址",
  17319. "type": "string"
  17320. },
  17321. "isvalidate": {
  17322. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17323. "type": "string"
  17324. },
  17325. "legalcardbackphotourl": {
  17326. "description": "法人身份证背面照地址",
  17327. "type": "string"
  17328. },
  17329. "legalcardfrontphotourl": {
  17330. "description": "法人身份证正面照地址",
  17331. "type": "string"
  17332. },
  17333. "legalpersonname": {
  17334. "description": "法人姓名(企业)",
  17335. "type": "string"
  17336. },
  17337. "logincode": {
  17338. "description": "登录帐号 (加密存储)",
  17339. "type": "string"
  17340. },
  17341. "memberareaid": {
  17342. "description": "所属会员ID",
  17343. "type": "integer"
  17344. },
  17345. "mobile2": {
  17346. "description": "手机号码[明文-尚志]",
  17347. "type": "string"
  17348. },
  17349. "mobilephone": {
  17350. "description": "手机号码 (加密存储)",
  17351. "type": "string"
  17352. },
  17353. "modifiedby": {
  17354. "description": "修改人帐号",
  17355. "type": "integer"
  17356. },
  17357. "modifiedtime": {
  17358. "description": "修改时间",
  17359. "type": "string"
  17360. },
  17361. "nickname": {
  17362. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17363. "type": "string"
  17364. },
  17365. "openmode": {
  17366. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17367. "type": "integer"
  17368. },
  17369. "otherurl": {
  17370. "description": "其它图片地址[使用分号分隔]",
  17371. "type": "string"
  17372. },
  17373. "postalcode": {
  17374. "description": "邮政编码",
  17375. "type": "string"
  17376. },
  17377. "provinceid": {
  17378. "description": "省",
  17379. "type": "integer"
  17380. },
  17381. "proxystatementurl": {
  17382. "description": "授权委托书",
  17383. "type": "string"
  17384. },
  17385. "qq": {
  17386. "description": "QQ(加密存储",
  17387. "type": "string"
  17388. },
  17389. "referral": {
  17390. "description": "推荐人编码",
  17391. "type": "string"
  17392. },
  17393. "remark": {
  17394. "description": "备注",
  17395. "type": "string"
  17396. },
  17397. "removebeforestatus": {
  17398. "description": "REMOVEBEFORESTATUS",
  17399. "type": "integer"
  17400. },
  17401. "sex": {
  17402. "description": "性别 - 0:女 1:男",
  17403. "type": "integer"
  17404. },
  17405. "signedstatus": {
  17406. "description": "账户一号签签约状态",
  17407. "type": "integer"
  17408. },
  17409. "signpdfurl": {
  17410. "description": "签约pdf文件",
  17411. "type": "string"
  17412. },
  17413. "subbranch": {
  17414. "description": "开户支行",
  17415. "type": "string"
  17416. },
  17417. "taxpayernum": {
  17418. "description": "纳税人识别号",
  17419. "type": "string"
  17420. },
  17421. "telphone": {
  17422. "description": "联系电话(加密存储)",
  17423. "type": "string"
  17424. },
  17425. "userid": {
  17426. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17427. "type": "integer"
  17428. },
  17429. "userinfotype": {
  17430. "description": "用户信息类型 - 1:个人 2:企业",
  17431. "type": "integer"
  17432. },
  17433. "username": {
  17434. "description": "用户姓名",
  17435. "type": "string"
  17436. },
  17437. "userstate": {
  17438. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17439. "type": "integer"
  17440. },
  17441. "usertype": {
  17442. "description": "用户类型 - 1:投资者 2:机构",
  17443. "type": "integer"
  17444. },
  17445. "videourl": {
  17446. "description": "视频地址",
  17447. "type": "string"
  17448. },
  17449. "wechat": {
  17450. "description": "微信号 (加密存储)",
  17451. "type": "string"
  17452. }
  17453. }
  17454. },
  17455. "erms3.CustomerInfo": {
  17456. "type": "object",
  17457. "required": [
  17458. "userid"
  17459. ],
  17460. "properties": {
  17461. "accountids": {
  17462. "description": "资金账户ID列表",
  17463. "type": "array",
  17464. "items": {
  17465. "type": "integer"
  17466. }
  17467. },
  17468. "customername": {
  17469. "description": "名称(企业名称)",
  17470. "type": "string"
  17471. },
  17472. "mobile": {
  17473. "description": "手机号码",
  17474. "type": "string"
  17475. },
  17476. "userid": {
  17477. "description": "用户ID",
  17478. "type": "integer"
  17479. }
  17480. }
  17481. },
  17482. "erms3.ModifyUserInfoApplyReq": {
  17483. "type": "object",
  17484. "required": [
  17485. "userid"
  17486. ],
  17487. "properties": {
  17488. "accountid": {
  17489. "description": "交易系统帐号Id (加密存储)",
  17490. "type": "integer"
  17491. },
  17492. "areacode": {
  17493. "description": "机构代码",
  17494. "type": "string"
  17495. },
  17496. "areaid": {
  17497. "description": "机构Id",
  17498. "type": "integer"
  17499. },
  17500. "attachment1": {
  17501. "description": "附件1",
  17502. "type": "string"
  17503. },
  17504. "attachment2": {
  17505. "description": "附件2",
  17506. "type": "string"
  17507. },
  17508. "attachment3": {
  17509. "description": "附件3",
  17510. "type": "string"
  17511. },
  17512. "attachment4": {
  17513. "description": "附件4",
  17514. "type": "string"
  17515. },
  17516. "attachment5": {
  17517. "description": "附件5",
  17518. "type": "string"
  17519. },
  17520. "auditedby": {
  17521. "description": "审核人",
  17522. "type": "string"
  17523. },
  17524. "auditime": {
  17525. "description": "审核时间",
  17526. "type": "string"
  17527. },
  17528. "auditsrc": {
  17529. "description": "审核来源 - 1:管理端 2:终端",
  17530. "type": "integer"
  17531. },
  17532. "bankaccount": {
  17533. "description": "银行帐号 (加密存储)",
  17534. "type": "string"
  17535. },
  17536. "bankaccountname": {
  17537. "description": "收款人名称",
  17538. "type": "string"
  17539. },
  17540. "bankcardbackphotourl": {
  17541. "description": "银行卡背面照地址",
  17542. "type": "string"
  17543. },
  17544. "bankcardfrontphotourl": {
  17545. "description": "银行卡正面照地址",
  17546. "type": "string"
  17547. },
  17548. "bankid": {
  17549. "description": "银行编码",
  17550. "type": "string"
  17551. },
  17552. "bankname": {
  17553. "description": "银行名称",
  17554. "type": "string"
  17555. },
  17556. "bankpictureurl": {
  17557. "description": "银行卡正面地址",
  17558. "type": "string"
  17559. },
  17560. "biznature": {
  17561. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17562. "type": "integer"
  17563. },
  17564. "bizscope": {
  17565. "description": "企业经营范围(企业)",
  17566. "type": "string"
  17567. },
  17568. "biztype": {
  17569. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17570. "type": "integer"
  17571. },
  17572. "brokerid": {
  17573. "description": "经纪人ID(加密存储)",
  17574. "type": "string"
  17575. },
  17576. "cardaddress": {
  17577. "description": "证件地址 (加密存储)",
  17578. "type": "string"
  17579. },
  17580. "cardbackphotourl": {
  17581. "description": "背面证件照地址",
  17582. "type": "string"
  17583. },
  17584. "cardfrontphotourl": {
  17585. "description": "正面证件照地址",
  17586. "type": "string"
  17587. },
  17588. "cardnum": {
  17589. "description": "证件号码 (加密存储)",
  17590. "type": "string"
  17591. },
  17592. "cardtype": {
  17593. "description": "证件类型",
  17594. "type": "integer"
  17595. },
  17596. "cityid": {
  17597. "description": "市",
  17598. "type": "integer"
  17599. },
  17600. "company": {
  17601. "description": "公司(个人)",
  17602. "type": "string"
  17603. },
  17604. "contactcardbackphotourl": {
  17605. "description": "联系人证件背面图片地址",
  17606. "type": "string"
  17607. },
  17608. "contactcardfrontphotourl": {
  17609. "description": "联系人证件正面图片地址",
  17610. "type": "string"
  17611. },
  17612. "contactname": {
  17613. "description": "联系人",
  17614. "type": "string"
  17615. },
  17616. "countryid": {
  17617. "description": "国家",
  17618. "type": "integer"
  17619. },
  17620. "createtime": {
  17621. "description": "开户申请时间",
  17622. "type": "string"
  17623. },
  17624. "cusbankid": {
  17625. "description": "签约类型",
  17626. "type": "string"
  17627. },
  17628. "cusbankname": {
  17629. "description": "签约类型名称",
  17630. "type": "string"
  17631. },
  17632. "customername": {
  17633. "description": "客户名称(企业名称)",
  17634. "type": "string"
  17635. },
  17636. "districtid": {
  17637. "description": "地区",
  17638. "type": "integer"
  17639. },
  17640. "email": {
  17641. "description": "Email地址(加密存储)",
  17642. "type": "string"
  17643. },
  17644. "halfbodyphotourl": {
  17645. "description": "半身照地址",
  17646. "type": "string"
  17647. },
  17648. "headurl": {
  17649. "description": "头像地址",
  17650. "type": "string"
  17651. },
  17652. "ipaddress": {
  17653. "description": "IP地址",
  17654. "type": "string"
  17655. },
  17656. "isvalidate": {
  17657. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17658. "type": "string"
  17659. },
  17660. "legalcardbackphotourl": {
  17661. "description": "法人身份证背面照地址",
  17662. "type": "string"
  17663. },
  17664. "legalcardfrontphotourl": {
  17665. "description": "法人身份证正面照地址",
  17666. "type": "string"
  17667. },
  17668. "legalpersonname": {
  17669. "description": "法人姓名(企业)",
  17670. "type": "string"
  17671. },
  17672. "logincode": {
  17673. "description": "登录帐号 (加密存储)",
  17674. "type": "string"
  17675. },
  17676. "memberareaid": {
  17677. "description": "所属会员ID",
  17678. "type": "integer"
  17679. },
  17680. "mobile2": {
  17681. "description": "手机号码[明文-尚志]",
  17682. "type": "string"
  17683. },
  17684. "mobilephone": {
  17685. "description": "手机号码 (加密存储)",
  17686. "type": "string"
  17687. },
  17688. "modifiedby": {
  17689. "description": "修改人帐号",
  17690. "type": "integer"
  17691. },
  17692. "modifiedtime": {
  17693. "description": "修改时间",
  17694. "type": "string"
  17695. },
  17696. "nickname": {
  17697. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17698. "type": "string"
  17699. },
  17700. "openmode": {
  17701. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17702. "type": "integer"
  17703. },
  17704. "otherurl": {
  17705. "description": "其它图片地址[使用分号分隔]",
  17706. "type": "string"
  17707. },
  17708. "postalcode": {
  17709. "description": "邮政编码",
  17710. "type": "string"
  17711. },
  17712. "provinceid": {
  17713. "description": "省",
  17714. "type": "integer"
  17715. },
  17716. "proxystatementurl": {
  17717. "description": "授权委托书",
  17718. "type": "string"
  17719. },
  17720. "qq": {
  17721. "description": "QQ(加密存储",
  17722. "type": "string"
  17723. },
  17724. "referral": {
  17725. "description": "推荐人编码",
  17726. "type": "string"
  17727. },
  17728. "remark": {
  17729. "description": "备注",
  17730. "type": "string"
  17731. },
  17732. "removebeforestatus": {
  17733. "description": "REMOVEBEFORESTATUS",
  17734. "type": "integer"
  17735. },
  17736. "sex": {
  17737. "description": "性别 - 0:女 1:男",
  17738. "type": "integer"
  17739. },
  17740. "signedstatus": {
  17741. "description": "账户一号签签约状态",
  17742. "type": "integer"
  17743. },
  17744. "signpdfurl": {
  17745. "description": "签约pdf文件",
  17746. "type": "string"
  17747. },
  17748. "subbranch": {
  17749. "description": "开户支行",
  17750. "type": "string"
  17751. },
  17752. "taxpayernum": {
  17753. "description": "纳税人识别号",
  17754. "type": "string"
  17755. },
  17756. "telphone": {
  17757. "description": "联系电话(加密存储)",
  17758. "type": "string"
  17759. },
  17760. "userid": {
  17761. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17762. "type": "integer"
  17763. },
  17764. "userinfotype": {
  17765. "description": "用户信息类型 - 1:个人 2:企业",
  17766. "type": "integer"
  17767. },
  17768. "username": {
  17769. "description": "用户姓名",
  17770. "type": "string"
  17771. },
  17772. "userstate": {
  17773. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17774. "type": "integer"
  17775. },
  17776. "usertype": {
  17777. "description": "用户类型 - 1:投资者 2:机构",
  17778. "type": "integer"
  17779. },
  17780. "videourl": {
  17781. "description": "视频地址",
  17782. "type": "string"
  17783. },
  17784. "wechat": {
  17785. "description": "微信号 (加密存储)",
  17786. "type": "string"
  17787. }
  17788. }
  17789. },
  17790. "erms3.QryAuditContractRsp": {
  17791. "type": "object",
  17792. "required": [
  17793. "matchcustomername",
  17794. "spotcontractid"
  17795. ],
  17796. "properties": {
  17797. "accountid": {
  17798. "description": "交易员ID",
  17799. "type": "string"
  17800. },
  17801. "applystatus": {
  17802. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17803. "type": "integer"
  17804. },
  17805. "curdeliveryqty": {
  17806. "description": "未交收量",
  17807. "type": "integer"
  17808. },
  17809. "customername": {
  17810. "description": "采购方ID",
  17811. "type": "string"
  17812. },
  17813. "deliverygoodsid": {
  17814. "description": "品种ID",
  17815. "type": "string"
  17816. },
  17817. "deliveryqty": {
  17818. "description": "交收量",
  17819. "type": "integer"
  17820. },
  17821. "enumdicname": {
  17822. "description": "单位名称",
  17823. "type": "string"
  17824. },
  17825. "matchaccountid": {
  17826. "description": "业务员ID",
  17827. "type": "string"
  17828. },
  17829. "matchcustomername": {
  17830. "description": "销售方ID",
  17831. "type": "string"
  17832. },
  17833. "pricedqty": {
  17834. "description": "定价量",
  17835. "type": "number"
  17836. },
  17837. "signdate": {
  17838. "description": "签订日期",
  17839. "type": "string"
  17840. },
  17841. "spotcontractid": {
  17842. "description": "合同ID",
  17843. "type": "string"
  17844. },
  17845. "totaldqty": {
  17846. "description": "合同量",
  17847. "type": "number"
  17848. },
  17849. "unpricedqty": {
  17850. "description": "未定价量",
  17851. "type": "number"
  17852. },
  17853. "wrstandardname": {
  17854. "description": "商品名称",
  17855. "type": "string"
  17856. }
  17857. }
  17858. },
  17859. "erms3.QryPendingBizRsp": {
  17860. "type": "object",
  17861. "properties": {
  17862. "accountid": {
  17863. "description": "现货账户",
  17864. "type": "string"
  17865. },
  17866. "areaname": {
  17867. "description": "所属部门",
  17868. "type": "string"
  17869. },
  17870. "bizid": {
  17871. "description": "业务ID",
  17872. "type": "string"
  17873. },
  17874. "bizname": {
  17875. "description": "业务名称",
  17876. "type": "string"
  17877. },
  17878. "status": {
  17879. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17880. "type": "integer"
  17881. },
  17882. "type": {
  17883. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  17884. "type": "integer"
  17885. }
  17886. }
  17887. },
  17888. "erms3.QueryBusinessInfoRsp": {
  17889. "type": "object",
  17890. "properties": {
  17891. "businessid": {
  17892. "description": "业务ID.",
  17893. "type": "integer"
  17894. },
  17895. "buyamount": {
  17896. "description": "采购额.",
  17897. "type": "number"
  17898. },
  17899. "buyqty": {
  17900. "description": "采购量.",
  17901. "type": "string"
  17902. },
  17903. "futurepl": {
  17904. "description": "期货盈亏.",
  17905. "type": "number"
  17906. },
  17907. "futureqty": {
  17908. "description": "期货敞口.",
  17909. "type": "string"
  17910. },
  17911. "goodsid": {
  17912. "description": "商品名称/商品代码.",
  17913. "type": "string"
  17914. },
  17915. "hedgingqty": {
  17916. "description": "套保量.",
  17917. "type": "string"
  17918. },
  17919. "sellamount": {
  17920. "description": "销售额.",
  17921. "type": "number"
  17922. },
  17923. "sellqty": {
  17924. "description": "销售量.",
  17925. "type": "string"
  17926. },
  17927. "spotmarketvalue": {
  17928. "description": "现货市值.",
  17929. "type": "number"
  17930. },
  17931. "spotpl": {
  17932. "description": "浮动权益.",
  17933. "type": "number"
  17934. },
  17935. "spotqty": {
  17936. "description": "现货量.",
  17937. "type": "string"
  17938. },
  17939. "statu": {
  17940. "description": "状态,0-未结束 1-已结束.",
  17941. "type": "integer"
  17942. },
  17943. "totalpl": {
  17944. "description": "总盈亏.",
  17945. "type": "number"
  17946. },
  17947. "totalqty": {
  17948. "description": "总敞口.",
  17949. "type": "string"
  17950. },
  17951. "type": {
  17952. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  17953. "type": "integer"
  17954. }
  17955. }
  17956. },
  17957. "erms3.QuerySpotContractAppleFormRsp": {
  17958. "type": "object",
  17959. "properties": {
  17960. "goodses": {
  17961. "description": "合约列表",
  17962. "type": "array",
  17963. "items": {
  17964. "$ref": "#/definitions/models.GoodsIDAndName"
  17965. }
  17966. },
  17967. "oppositeusers": {
  17968. "description": "对方账号列表",
  17969. "type": "array",
  17970. "items": {
  17971. "$ref": "#/definitions/erms3.CustomerInfo"
  17972. }
  17973. },
  17974. "ouruser": {
  17975. "description": "我方账号",
  17976. "$ref": "#/definitions/erms3.CustomerInfo"
  17977. },
  17978. "warehouseinfos": {
  17979. "description": "仓库信息列表",
  17980. "type": "array",
  17981. "items": {
  17982. "$ref": "#/definitions/models.Warehouseinfo"
  17983. }
  17984. },
  17985. "wrstandards": {
  17986. "description": "仓单标准列表",
  17987. "type": "array",
  17988. "items": {
  17989. "$ref": "#/definitions/models.WRStandardInfo"
  17990. }
  17991. }
  17992. }
  17993. },
  17994. "erms3.QuerySpotContractInfoRsp": {
  17995. "type": "object",
  17996. "properties": {
  17997. "accountid": {
  17998. "description": "表示交易员ID.",
  17999. "type": "integer"
  18000. },
  18001. "curdeliveryqty": {
  18002. "description": "表示未交收量.",
  18003. "type": "number"
  18004. },
  18005. "customername": {
  18006. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18007. "type": "string"
  18008. },
  18009. "deliverygoodsid": {
  18010. "description": "表示品种ID.",
  18011. "type": "string"
  18012. },
  18013. "deliveryqty": {
  18014. "description": "表示交收量.",
  18015. "type": "number"
  18016. },
  18017. "matchaccountid": {
  18018. "description": "表示业务员ID.",
  18019. "type": "integer"
  18020. },
  18021. "matchcustomername": {
  18022. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18023. "type": "string"
  18024. },
  18025. "priceqty": {
  18026. "description": "表示定价量.",
  18027. "type": "number"
  18028. },
  18029. "relatedbizid": {
  18030. "description": "表示业务ID.",
  18031. "type": "string"
  18032. },
  18033. "signdate": {
  18034. "description": "表示签订日期.",
  18035. "type": "string"
  18036. },
  18037. "spotcontractid": {
  18038. "description": "合同ID",
  18039. "type": "string"
  18040. },
  18041. "status": {
  18042. "description": "表示状态,0-履约中 1-已完成.",
  18043. "type": "integer"
  18044. },
  18045. "totalqty": {
  18046. "description": "表示合同量.",
  18047. "type": "number"
  18048. },
  18049. "unpricedqty": {
  18050. "description": "表示未定价量.",
  18051. "type": "number"
  18052. },
  18053. "wrstandardname": {
  18054. "description": "表示商品ID.",
  18055. "type": "string"
  18056. }
  18057. }
  18058. },
  18059. "erms3.QueryUserInfoAppliesRsp": {
  18060. "type": "object",
  18061. "required": [
  18062. "userid"
  18063. ],
  18064. "properties": {
  18065. "biznature": {
  18066. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18067. "type": "integer"
  18068. },
  18069. "contactname": {
  18070. "description": "联系人",
  18071. "type": "string"
  18072. },
  18073. "createtime": {
  18074. "description": "开户申请时间",
  18075. "type": "string"
  18076. },
  18077. "userid": {
  18078. "description": "用户ID(自增ID)",
  18079. "type": "integer"
  18080. },
  18081. "userinfotype": {
  18082. "description": "用户信息类型 - 1:个人 2:企业",
  18083. "type": "integer"
  18084. },
  18085. "username": {
  18086. "description": "用户姓名",
  18087. "type": "string"
  18088. },
  18089. "userstate": {
  18090. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18091. "type": "integer"
  18092. }
  18093. }
  18094. },
  18095. "erms3.QueryUserInfosRsp": {
  18096. "type": "object",
  18097. "required": [
  18098. "userid"
  18099. ],
  18100. "properties": {
  18101. "biznature": {
  18102. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18103. "type": "integer"
  18104. },
  18105. "contactname": {
  18106. "description": "联系人",
  18107. "type": "string"
  18108. },
  18109. "customername": {
  18110. "description": "客户名称(企业名称)",
  18111. "type": "string"
  18112. },
  18113. "userid": {
  18114. "description": "用户ID",
  18115. "type": "integer"
  18116. },
  18117. "userinfotype": {
  18118. "description": "用户信息类型 - 1:个人 2:企业",
  18119. "type": "integer"
  18120. },
  18121. "userstatus": {
  18122. "description": "用户状态 - 1:正常 2:注销",
  18123. "type": "integer"
  18124. }
  18125. }
  18126. },
  18127. "erms3.SoptContractDetail": {
  18128. "type": "object",
  18129. "required": [
  18130. "deliverygoodsid",
  18131. "producttype",
  18132. "unitname",
  18133. "warehouseid",
  18134. "wrstandardid",
  18135. "wrstandardname"
  18136. ],
  18137. "properties": {
  18138. "deliverygoodsdesc": {
  18139. "description": "现货品种说明",
  18140. "type": "string"
  18141. },
  18142. "deliverygoodsid": {
  18143. "description": "现货品种ID",
  18144. "type": "integer"
  18145. },
  18146. "deliverygoodsname": {
  18147. "description": "现货品种名称",
  18148. "type": "string"
  18149. },
  18150. "pointdesc": {
  18151. "description": "点价描述",
  18152. "type": "string"
  18153. },
  18154. "producttype": {
  18155. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18156. "type": "integer"
  18157. },
  18158. "producttypename": {
  18159. "description": "产品类型名称",
  18160. "type": "string"
  18161. },
  18162. "spotPointOrderVoList": {
  18163. "description": "点价列表",
  18164. "type": "array",
  18165. "items": {
  18166. "$ref": "#/definitions/erms3.SpotPointOrder"
  18167. }
  18168. },
  18169. "spotPriceOrderList": {
  18170. "description": "定价列表",
  18171. "type": "array",
  18172. "items": {
  18173. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18174. }
  18175. },
  18176. "unitname": {
  18177. "description": "单位名称",
  18178. "type": "string"
  18179. },
  18180. "warehouseid": {
  18181. "description": "仓库ID",
  18182. "type": "integer"
  18183. },
  18184. "warehousename": {
  18185. "description": "仓库名称",
  18186. "type": "string"
  18187. },
  18188. "wrstandardid": {
  18189. "description": "交易标的ID",
  18190. "type": "integer"
  18191. },
  18192. "wrstandardname": {
  18193. "description": "交易标的名称",
  18194. "type": "string"
  18195. }
  18196. }
  18197. },
  18198. "erms3.SpotPointOrder": {
  18199. "type": "object",
  18200. "required": [
  18201. "basic",
  18202. "goodsid",
  18203. "qty"
  18204. ],
  18205. "properties": {
  18206. "basic": {
  18207. "description": "基差",
  18208. "type": "number"
  18209. },
  18210. "deliveryenddate": {
  18211. "description": "交收结束日期",
  18212. "type": "string"
  18213. },
  18214. "deliverystartdate": {
  18215. "description": "交收开始日期",
  18216. "type": "string"
  18217. },
  18218. "enddate": {
  18219. "description": "点价结束日期",
  18220. "type": "string"
  18221. },
  18222. "goodsid": {
  18223. "description": "商品ID",
  18224. "type": "integer"
  18225. },
  18226. "goodsname": {
  18227. "description": "商品名称",
  18228. "type": "string"
  18229. },
  18230. "qty": {
  18231. "description": "数量",
  18232. "type": "number"
  18233. },
  18234. "startdate": {
  18235. "description": "点价开始日期",
  18236. "type": "string"
  18237. }
  18238. }
  18239. },
  18240. "erms3.SpotPriceOrder": {
  18241. "type": "object",
  18242. "required": [
  18243. "amount",
  18244. "price",
  18245. "qty"
  18246. ],
  18247. "properties": {
  18248. "amount": {
  18249. "description": "金额",
  18250. "type": "number"
  18251. },
  18252. "deliveryenddate": {
  18253. "description": "交收结束日期",
  18254. "type": "string"
  18255. },
  18256. "deliverystartdate": {
  18257. "description": "交收开始日期",
  18258. "type": "string"
  18259. },
  18260. "price": {
  18261. "description": "价格",
  18262. "type": "number"
  18263. },
  18264. "qty": {
  18265. "description": "数量",
  18266. "type": "number"
  18267. }
  18268. }
  18269. },
  18270. "models.Arearole": {
  18271. "type": "object",
  18272. "required": [
  18273. "roletype",
  18274. "userid"
  18275. ],
  18276. "properties": {
  18277. "createtime": {
  18278. "description": "创建时间",
  18279. "type": "string"
  18280. },
  18281. "creatorid": {
  18282. "description": "创建人ID",
  18283. "type": "integer"
  18284. },
  18285. "fromuserid": {
  18286. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18287. "type": "integer"
  18288. },
  18289. "isreturnscore": {
  18290. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18291. "type": "integer"
  18292. },
  18293. "modifierid": {
  18294. "description": "修改人ID",
  18295. "type": "integer"
  18296. },
  18297. "modifytime": {
  18298. "description": "修改时间",
  18299. "type": "string"
  18300. },
  18301. "orgtype": {
  18302. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18303. "type": "integer"
  18304. },
  18305. "outuserid": {
  18306. "description": "外部账户[场外期权做市商]",
  18307. "type": "string"
  18308. },
  18309. "parentuserid": {
  18310. "description": "上级组织机构(组织机构)",
  18311. "type": "integer"
  18312. },
  18313. "roletype": {
  18314. "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:门店",
  18315. "type": "integer"
  18316. },
  18317. "rootuserid": {
  18318. "description": "顶级组织机构用户ID(组织机构)",
  18319. "type": "integer"
  18320. },
  18321. "shoppassword": {
  18322. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18323. "type": "string"
  18324. },
  18325. "sublevelpath": {
  18326. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18327. "type": "string"
  18328. },
  18329. "suborgtype": {
  18330. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18331. "type": "integer"
  18332. },
  18333. "tradeaccountid": {
  18334. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18335. "type": "integer"
  18336. },
  18337. "transurl": {
  18338. "description": "物流地址(物流机构)",
  18339. "type": "string"
  18340. },
  18341. "userid": {
  18342. "description": "机构用户ID其他做市关系,都设置为 1",
  18343. "type": "integer"
  18344. }
  18345. }
  18346. },
  18347. "models.BuyOrder": {
  18348. "type": "object",
  18349. "properties": {
  18350. "accountid": {
  18351. "description": "资金账户ID",
  18352. "type": "integer"
  18353. },
  18354. "buyusername": {
  18355. "description": "买方",
  18356. "type": "string"
  18357. },
  18358. "marketid": {
  18359. "description": "市场ID",
  18360. "type": "integer"
  18361. },
  18362. "ordertime": {
  18363. "description": "委托时间",
  18364. "type": "string"
  18365. },
  18366. "origin": {
  18367. "description": "原产地",
  18368. "type": "string"
  18369. },
  18370. "remark": {
  18371. "description": "备注",
  18372. "type": "string"
  18373. },
  18374. "userid": {
  18375. "description": "用户ID",
  18376. "type": "integer"
  18377. },
  18378. "validtime": {
  18379. "description": "有效期限",
  18380. "type": "string"
  18381. },
  18382. "warehouseids": {
  18383. "description": "仓库ID - 多个, 逗号分隔",
  18384. "type": "string"
  18385. },
  18386. "warehouseinfosdisplay": {
  18387. "type": "string"
  18388. },
  18389. "wrtradeorderid": {
  18390. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  18391. "type": "string"
  18392. },
  18393. "wrtradeorderstatus": {
  18394. "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、",
  18395. "type": "integer"
  18396. },
  18397. "zscategory": {
  18398. "description": "钻石分类 - 枚举”ZSCategory“",
  18399. "type": "integer"
  18400. },
  18401. "zscategorydisplay": {
  18402. "type": "string"
  18403. },
  18404. "zsclaritytype": {
  18405. "description": "净度 - 两个, 逗号分隔",
  18406. "type": "string"
  18407. },
  18408. "zsclaritytypedisplay": {
  18409. "type": "string"
  18410. },
  18411. "zscolortype": {
  18412. "description": "颜色 - 两个, 逗号分隔",
  18413. "type": "string"
  18414. },
  18415. "zscolortypedisplay": {
  18416. "type": "string"
  18417. },
  18418. "zscrystaltype": {
  18419. "description": "晶型 - 多个,逗号分隔",
  18420. "type": "string"
  18421. },
  18422. "zscrystaltypedisplay": {
  18423. "type": "string"
  18424. },
  18425. "zscurrencytype": {
  18426. "description": "货币类型 - 多个, 逗号分隔",
  18427. "type": "string"
  18428. },
  18429. "zscurrencytypedisplay": {
  18430. "type": "string"
  18431. },
  18432. "zscuttype": {
  18433. "description": "切工 - 两个, 逗号分隔",
  18434. "type": "string"
  18435. },
  18436. "zscuttypedisplay": {
  18437. "type": "string"
  18438. },
  18439. "zsczcolor1type": {
  18440. "description": "彩钻颜色1, 逗号分隔",
  18441. "type": "string"
  18442. },
  18443. "zsczcolor1typedisplay": {
  18444. "type": "string"
  18445. },
  18446. "zsczcolor2type": {
  18447. "description": "彩钻颜色2, 逗号分隔",
  18448. "type": "string"
  18449. },
  18450. "zsczcolor2typedisplay": {
  18451. "type": "string"
  18452. },
  18453. "zsczcolor3type": {
  18454. "description": "彩钻颜色3, 逗号分隔",
  18455. "type": "string"
  18456. },
  18457. "zsczcolor3typedisplay": {
  18458. "type": "string"
  18459. },
  18460. "zsfluorescencetype": {
  18461. "description": "荧光 - 多个, 逗号分隔",
  18462. "type": "string"
  18463. },
  18464. "zsfluorescencetypedisplay": {
  18465. "type": "string"
  18466. },
  18467. "zspolishtype": {
  18468. "description": "抛光度 - 两个, 逗号分隔",
  18469. "type": "string"
  18470. },
  18471. "zspolishtypedisplay": {
  18472. "type": "string"
  18473. },
  18474. "zsshapetype": {
  18475. "description": "形状 - 多个, 逗号分隔",
  18476. "type": "string"
  18477. },
  18478. "zsshapetypedisplay": {
  18479. "type": "string"
  18480. },
  18481. "zssize": {
  18482. "description": "尺寸 - 两个小数, 逗号分隔",
  18483. "type": "string"
  18484. },
  18485. "zsstyletype": {
  18486. "description": "款式 - 多个, 逗号分隔",
  18487. "type": "string"
  18488. },
  18489. "zsstyletypedisplay": {
  18490. "type": "string"
  18491. },
  18492. "zssymmetrytype": {
  18493. "description": "对称度 - 两个, 逗号分隔",
  18494. "type": "string"
  18495. },
  18496. "zssymmetrytypedisplay": {
  18497. "type": "string"
  18498. },
  18499. "zstabledisplay": {
  18500. "description": "求购信息",
  18501. "type": "string"
  18502. }
  18503. }
  18504. },
  18505. "models.DgFactoryItem": {
  18506. "type": "object",
  18507. "properties": {
  18508. "dgfactoryitemid": {
  18509. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18510. "type": "integer"
  18511. },
  18512. "dgfactoryitemtypeid": {
  18513. "description": "要素项类型",
  18514. "type": "integer"
  18515. },
  18516. "dgfactoryitemvalue": {
  18517. "description": "要素项值(类型为仓库时填写仓库名称)",
  18518. "type": "string"
  18519. },
  18520. "orderindex": {
  18521. "description": "顺序",
  18522. "type": "integer"
  18523. }
  18524. }
  18525. },
  18526. "models.Division": {
  18527. "type": "object",
  18528. "required": [
  18529. "autoid",
  18530. "divisioncode"
  18531. ],
  18532. "properties": {
  18533. "autoid": {
  18534. "description": "自增ID",
  18535. "type": "integer"
  18536. },
  18537. "divisioncode": {
  18538. "description": "行政代码",
  18539. "type": "string"
  18540. },
  18541. "divisionlevel": {
  18542. "description": "行政级别",
  18543. "type": "string"
  18544. },
  18545. "divisionname": {
  18546. "description": "行政名称",
  18547. "type": "string"
  18548. },
  18549. "modifierid": {
  18550. "description": "修改人",
  18551. "type": "integer"
  18552. },
  18553. "modifytime": {
  18554. "description": "修改时间",
  18555. "type": "string"
  18556. },
  18557. "parentcode": {
  18558. "description": "上级行政代码",
  18559. "type": "string"
  18560. },
  18561. "pathname": {
  18562. "description": "路径名称",
  18563. "type": "string"
  18564. },
  18565. "postcode": {
  18566. "description": "邮政编码",
  18567. "type": "string"
  18568. },
  18569. "separablename": {
  18570. "description": "可拆分的全称",
  18571. "type": "string"
  18572. },
  18573. "shortcode": {
  18574. "description": "地区简码",
  18575. "type": "string"
  18576. }
  18577. }
  18578. },
  18579. "models.Enumdicitem": {
  18580. "type": "object",
  18581. "required": [
  18582. "autoid",
  18583. "enumdiccode",
  18584. "enumdicid",
  18585. "enumitemname"
  18586. ],
  18587. "properties": {
  18588. "autoid": {
  18589. "description": "自增ID",
  18590. "type": "integer"
  18591. },
  18592. "bankmappedvalue": {
  18593. "description": "银行服务对应值",
  18594. "type": "string"
  18595. },
  18596. "enumdiccode": {
  18597. "description": "所属枚举代码",
  18598. "type": "string"
  18599. },
  18600. "enumdicid": {
  18601. "description": "所属枚举ID",
  18602. "type": "integer"
  18603. },
  18604. "enumdicname": {
  18605. "description": "枚举项名称",
  18606. "type": "string"
  18607. },
  18608. "enumitemname": {
  18609. "description": "枚举项值",
  18610. "type": "integer"
  18611. },
  18612. "enumitemstatus": {
  18613. "description": "枚举项状态 - 1.启用 2.不启用",
  18614. "type": "integer"
  18615. },
  18616. "enumitemvalue": {
  18617. "description": "通用值 - [币种通用简写]",
  18618. "type": "string"
  18619. },
  18620. "param1": {
  18621. "description": "参数1[币种:币种小数位]",
  18622. "type": "string"
  18623. },
  18624. "param2": {
  18625. "description": "参数1[币种:币种显示单位]",
  18626. "type": "string"
  18627. },
  18628. "remark": {
  18629. "description": "备注",
  18630. "type": "string"
  18631. }
  18632. }
  18633. },
  18634. "models.Ermcp2AreaExposure": {
  18635. "type": "object",
  18636. "properties": {
  18637. "areauserid": {
  18638. "description": "所属机构",
  18639. "type": "integer"
  18640. },
  18641. "enumdicname": {
  18642. "description": "单位",
  18643. "type": "string"
  18644. },
  18645. "futureqty": {
  18646. "description": "期货套期量",
  18647. "type": "number"
  18648. },
  18649. "futureqtychange": {
  18650. "description": "期货变动量 = FutureQty - OriFutureQty",
  18651. "type": "number"
  18652. },
  18653. "goodsunitid": {
  18654. "description": "单位ID",
  18655. "type": "integer"
  18656. },
  18657. "hedgedspotexposure": {
  18658. "description": "被套期现货敞口量",
  18659. "type": "number"
  18660. },
  18661. "hedgedspratio": {
  18662. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  18663. "type": "number"
  18664. },
  18665. "hedgedtotalexposourechange": {
  18666. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  18667. "type": "number"
  18668. },
  18669. "hedgedtotalexposure": {
  18670. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  18671. "type": "number"
  18672. },
  18673. "hedgeplanqty": {
  18674. "description": "套期计划量",
  18675. "type": "number"
  18676. },
  18677. "hedgeplanqtychange": {
  18678. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  18679. "type": "number"
  18680. },
  18681. "hedgespotqty": {
  18682. "description": "被套期现货量",
  18683. "type": "number"
  18684. },
  18685. "middlegoodsid": {
  18686. "description": "套保品种",
  18687. "type": "integer"
  18688. },
  18689. "middlegoodsname": {
  18690. "description": "套保品种名称",
  18691. "type": "string"
  18692. },
  18693. "orifutureqty": {
  18694. "description": "期初期货套期量",
  18695. "type": "number"
  18696. },
  18697. "orihedgedspotexposure": {
  18698. "description": "期初被套期现货敞口量",
  18699. "type": "number"
  18700. },
  18701. "orihedgedtotalexposure": {
  18702. "description": "期初套期敞口量",
  18703. "type": "number"
  18704. },
  18705. "orihedgeplanqty": {
  18706. "description": "期初套期计划量",
  18707. "type": "number"
  18708. },
  18709. "orihedgespotqty": {
  18710. "description": "期初被套期现货量",
  18711. "type": "number"
  18712. },
  18713. "orispotexposure": {
  18714. "description": "期初现货敞口量",
  18715. "type": "number"
  18716. },
  18717. "orispotqty": {
  18718. "description": "期初现货总量",
  18719. "type": "number"
  18720. },
  18721. "oritotalexposure": {
  18722. "description": "期初总敞口量",
  18723. "type": "number"
  18724. },
  18725. "spotexposure": {
  18726. "description": "现货敞口量",
  18727. "type": "number"
  18728. },
  18729. "spotqty": {
  18730. "description": "现货总量",
  18731. "type": "number"
  18732. },
  18733. "spotqtychange": {
  18734. "description": "现货变动量 = SpotQty - OriSpotQty",
  18735. "type": "number"
  18736. },
  18737. "spratio": {
  18738. "description": "总期现比例 = 期货套期量/现货敞口量",
  18739. "type": "number"
  18740. },
  18741. "totalexposure": {
  18742. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  18743. "type": "number"
  18744. },
  18745. "totalexposurechange": {
  18746. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  18747. "type": "number"
  18748. },
  18749. "updatetime": {
  18750. "description": "更新时间 --DATE",
  18751. "type": "string"
  18752. }
  18753. }
  18754. },
  18755. "models.Ermcp2hedgeditem": {
  18756. "type": "object",
  18757. "properties": {
  18758. "accountname": {
  18759. "description": "套期主体",
  18760. "type": "string"
  18761. },
  18762. "applyid": {
  18763. "description": "申请人",
  18764. "type": "integer"
  18765. },
  18766. "applysrc": {
  18767. "description": "申请来源 - 1:管理端 2:终端",
  18768. "type": "integer"
  18769. },
  18770. "areauserid": {
  18771. "description": "企业ID",
  18772. "type": "integer"
  18773. },
  18774. "auditid": {
  18775. "description": "审核人",
  18776. "type": "integer"
  18777. },
  18778. "auditremark": {
  18779. "description": "审核备注",
  18780. "type": "string"
  18781. },
  18782. "auditsrc": {
  18783. "description": "审核来源 - 1:管理端 2:终端",
  18784. "type": "integer"
  18785. },
  18786. "audittime": {
  18787. "description": "审核时间",
  18788. "type": "string"
  18789. },
  18790. "audittradedate": {
  18791. "description": "审核交易日(yyyyMMdd)",
  18792. "type": "string"
  18793. },
  18794. "createtime": {
  18795. "description": "申请时间",
  18796. "type": "string"
  18797. },
  18798. "curprice": {
  18799. "description": "当前市场价",
  18800. "type": "number"
  18801. },
  18802. "curstock": {
  18803. "description": "期末库存量 = 采购总量 - 销售总量",
  18804. "type": "number"
  18805. },
  18806. "deliverygoodsid": {
  18807. "description": "现货品种ID",
  18808. "type": "integer"
  18809. },
  18810. "enddate": {
  18811. "description": "完成日期",
  18812. "type": "string"
  18813. },
  18814. "endtradedate": {
  18815. "description": "完成交易日",
  18816. "type": "string"
  18817. },
  18818. "enumdicname": {
  18819. "description": "单位",
  18820. "type": "string"
  18821. },
  18822. "exeamount": {
  18823. "description": "执行市价总额",
  18824. "type": "number"
  18825. },
  18826. "exeavgprice": {
  18827. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  18828. "type": "number"
  18829. },
  18830. "execontractamount": {
  18831. "description": "执行定价总额",
  18832. "type": "number"
  18833. },
  18834. "exeqty": {
  18835. "description": "执行现货量",
  18836. "type": "number"
  18837. },
  18838. "exerestamount": {
  18839. "description": "执行剩余市价总额【现货贸易】",
  18840. "type": "number"
  18841. },
  18842. "futurefloatpl": {
  18843. "description": "期货浮动损益",
  18844. "type": "number"
  18845. },
  18846. "futurehedgepl": {
  18847. "description": "期货实际损益",
  18848. "type": "number"
  18849. },
  18850. "futurehedgeplchange": {
  18851. "description": "期货实际损益变动",
  18852. "type": "number"
  18853. },
  18854. "futurepl": {
  18855. "description": "期货套期损益",
  18856. "type": "number"
  18857. },
  18858. "futureplchange": {
  18859. "description": "期货套期损益变动",
  18860. "type": "number"
  18861. },
  18862. "hedgeamount": {
  18863. "description": "套期市价总额",
  18864. "type": "number"
  18865. },
  18866. "hedgecontractamount": {
  18867. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  18868. "type": "number"
  18869. },
  18870. "hedgeditemid": {
  18871. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  18872. "type": "string"
  18873. },
  18874. "hedgeditemname": {
  18875. "description": "项目名称",
  18876. "type": "string"
  18877. },
  18878. "hedgeditemnum": {
  18879. "description": "项目编号",
  18880. "type": "string"
  18881. },
  18882. "hedgeditemstatus": {
  18883. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18884. "type": "integer"
  18885. },
  18886. "hedgedtype": {
  18887. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  18888. "type": "integer"
  18889. },
  18890. "hedgeqty": {
  18891. "description": "套期现货量",
  18892. "type": "number"
  18893. },
  18894. "hedgerate": {
  18895. "description": "套保比率",
  18896. "type": "number"
  18897. },
  18898. "hedgerestamount": {
  18899. "description": "套期剩余市价总额【现货贸易】",
  18900. "type": "number"
  18901. },
  18902. "hedgesumpl": {
  18903. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  18904. "type": "number"
  18905. },
  18906. "middlegoodslist": {
  18907. "description": "套期商品列表",
  18908. "type": "array",
  18909. "items": {
  18910. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  18911. }
  18912. },
  18913. "oriavgprice": {
  18914. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  18915. "type": "number"
  18916. },
  18917. "orifuturehedgepl": {
  18918. "description": "期初期货实际损益",
  18919. "type": "number"
  18920. },
  18921. "orifuturepl": {
  18922. "description": "期初期货套期损益",
  18923. "type": "number"
  18924. },
  18925. "orispothedgepl": {
  18926. "description": "期初现货实际损益",
  18927. "type": "number"
  18928. },
  18929. "orispotpl": {
  18930. "description": "期初现货套期损益",
  18931. "type": "number"
  18932. },
  18933. "planenddate": {
  18934. "description": "计划结束日期",
  18935. "type": "string"
  18936. },
  18937. "planstartdate": {
  18938. "description": "计划开始日期",
  18939. "type": "string"
  18940. },
  18941. "remark": {
  18942. "description": "备注",
  18943. "type": "string"
  18944. },
  18945. "spotbookamount": {
  18946. "description": "现货账面总额",
  18947. "type": "number"
  18948. },
  18949. "spotfloatpl": {
  18950. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  18951. "type": "number"
  18952. },
  18953. "spothedgepl": {
  18954. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  18955. "type": "number"
  18956. },
  18957. "spothedgeplchange": {
  18958. "description": "现货实际损益变动",
  18959. "type": "number"
  18960. },
  18961. "spotpl": {
  18962. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  18963. "type": "number"
  18964. },
  18965. "spotplchange": {
  18966. "description": "现货套期损益变动",
  18967. "type": "number"
  18968. },
  18969. "spottradepl": {
  18970. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  18971. "type": "number"
  18972. },
  18973. "sumobspl": {
  18974. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  18975. "type": "number"
  18976. },
  18977. "tradeuserid": {
  18978. "description": "交易用户ID",
  18979. "type": "integer"
  18980. },
  18981. "unexeqty": {
  18982. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  18983. "type": "number"
  18984. },
  18985. "updatetime": {
  18986. "description": "更新时间",
  18987. "type": "string"
  18988. },
  18989. "vatpl": {
  18990. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  18991. "type": "number"
  18992. },
  18993. "vatrate": {
  18994. "description": "增值税",
  18995. "type": "number"
  18996. },
  18997. "wrstandardid": {
  18998. "description": "现货商品ID",
  18999. "type": "integer"
  19000. },
  19001. "wrstandardname": {
  19002. "description": "商品名称",
  19003. "type": "string"
  19004. }
  19005. }
  19006. },
  19007. "models.Ermcp2hedgeditemlink": {
  19008. "type": "object",
  19009. "required": [
  19010. "relatedspotcontractid"
  19011. ],
  19012. "properties": {
  19013. "areauserid": {
  19014. "description": "企业ID",
  19015. "type": "integer"
  19016. },
  19017. "createtime": {
  19018. "description": "[关联时间]创建时间",
  19019. "type": "string"
  19020. },
  19021. "customeruserid": {
  19022. "description": "对手方 【3:采购合同 4:销售合同】",
  19023. "type": "integer"
  19024. },
  19025. "deliverygoodsid": {
  19026. "description": "现货品种ID",
  19027. "type": "integer"
  19028. },
  19029. "enumdicname": {
  19030. "description": "单位",
  19031. "type": "string"
  19032. },
  19033. "hedgeditemid": {
  19034. "description": "被套期项目ID",
  19035. "type": "integer"
  19036. },
  19037. "hedgeditemlinkid": {
  19038. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  19039. "type": "integer"
  19040. },
  19041. "hedgeditemnum": {
  19042. "description": "项目编号",
  19043. "type": "string"
  19044. },
  19045. "hedgedtype": {
  19046. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19047. "type": "integer"
  19048. },
  19049. "relatedamount": {
  19050. "description": "市价总额 = 关联数量 * 期初市场价",
  19051. "type": "number"
  19052. },
  19053. "relatedhedgeplanid": {
  19054. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19055. "type": "integer"
  19056. },
  19057. "relatedqty": {
  19058. "description": "关联数量",
  19059. "type": "number"
  19060. },
  19061. "relatedspotcontractid": {
  19062. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19063. "type": "integer"
  19064. },
  19065. "relatedtype": {
  19066. "description": "关联类型 - 1:套期关联 2:执行关联",
  19067. "type": "integer"
  19068. },
  19069. "spotgoodsbrandid": {
  19070. "description": "现货品牌ID",
  19071. "type": "integer"
  19072. },
  19073. "spotpricedamount": {
  19074. "description": "[关联定价总额]定价总额",
  19075. "type": "number"
  19076. },
  19077. "spotpricedavgprice": {
  19078. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  19079. "type": "number"
  19080. },
  19081. "spottype": {
  19082. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19083. "type": "integer"
  19084. },
  19085. "tradeuserid": {
  19086. "description": "交易用户ID",
  19087. "type": "integer"
  19088. },
  19089. "unexeqty": {
  19090. "description": "未执行现货量【项目关联时值】",
  19091. "type": "number"
  19092. },
  19093. "wrstandardid": {
  19094. "description": "现货商品ID",
  19095. "type": "integer"
  19096. },
  19097. "wrstandardname": {
  19098. "description": "现货商品",
  19099. "type": "string"
  19100. }
  19101. }
  19102. },
  19103. "models.Ermcp2hedgeditemsDetail": {
  19104. "type": "object",
  19105. "properties": {
  19106. "accountname": {
  19107. "description": "套期主体",
  19108. "type": "string"
  19109. },
  19110. "areauserid": {
  19111. "description": "企业ID",
  19112. "type": "integer"
  19113. },
  19114. "createtime": {
  19115. "description": "[日期时间]创建时间",
  19116. "type": "string"
  19117. },
  19118. "customeruserid": {
  19119. "description": "对手方 【3:采购合同 4:销售合同】",
  19120. "type": "integer"
  19121. },
  19122. "deliverygoodsid": {
  19123. "description": "现货品种ID",
  19124. "type": "integer"
  19125. },
  19126. "enumdicname": {
  19127. "description": "单位",
  19128. "type": "string"
  19129. },
  19130. "hedgeditemid": {
  19131. "description": "被套期项目ID",
  19132. "type": "string"
  19133. },
  19134. "hedgeditemspotid": {
  19135. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19136. "type": "string"
  19137. },
  19138. "hedgedtype": {
  19139. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19140. "type": "integer"
  19141. },
  19142. "hedgeplanno": {
  19143. "description": "计划编号",
  19144. "type": "string"
  19145. },
  19146. "middlegoodschange": {
  19147. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  19148. "type": "number"
  19149. },
  19150. "oriavgprice": {
  19151. "description": "期初市场价[当初市场价]",
  19152. "type": "number"
  19153. },
  19154. "relatedamount": {
  19155. "description": "市价总额 = 关联数量 * 期初市场价",
  19156. "type": "number"
  19157. },
  19158. "relatedhedgeplanid": {
  19159. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19160. "type": "integer"
  19161. },
  19162. "relatedqty": {
  19163. "description": "[期间变化量]关联数量",
  19164. "type": "number"
  19165. },
  19166. "relatedspotcontractid": {
  19167. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19168. "type": "integer"
  19169. },
  19170. "relatedtype": {
  19171. "description": "关联类型 - 1:套期关联 2:执行关联",
  19172. "type": "integer"
  19173. },
  19174. "spotgoodsbrandid": {
  19175. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19176. "type": "integer"
  19177. },
  19178. "spotpricedamount": {
  19179. "description": "定价总额",
  19180. "type": "number"
  19181. },
  19182. "spotpricedavgprice": {
  19183. "description": "现货均价 = 定价总额 / 关联数量",
  19184. "type": "number"
  19185. },
  19186. "spottype": {
  19187. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19188. "type": "integer"
  19189. },
  19190. "tradeuserid": {
  19191. "description": "交易用户ID",
  19192. "type": "integer"
  19193. },
  19194. "unexeqty": {
  19195. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  19196. "type": "number"
  19197. },
  19198. "wrstandardid": {
  19199. "description": "现货商品ID",
  19200. "type": "integer"
  19201. },
  19202. "wrstandardname": {
  19203. "description": "现货商品",
  19204. "type": "string"
  19205. }
  19206. }
  19207. },
  19208. "models.Ermcp2hedgeditemspot": {
  19209. "type": "object",
  19210. "required": [
  19211. "hedgeditemid"
  19212. ],
  19213. "properties": {
  19214. "areauserid": {
  19215. "description": "企业ID",
  19216. "type": "integer"
  19217. },
  19218. "createtime": {
  19219. "description": "创建时间",
  19220. "type": "string"
  19221. },
  19222. "customeruserid": {
  19223. "description": "对手方 【3:采购合同 4:销售合同】",
  19224. "type": "integer"
  19225. },
  19226. "deliverygoodsid": {
  19227. "description": "现货品种ID",
  19228. "type": "integer"
  19229. },
  19230. "enumdicname": {
  19231. "description": "单位",
  19232. "type": "string"
  19233. },
  19234. "hedgeditemid": {
  19235. "description": "被套期项目ID",
  19236. "type": "string"
  19237. },
  19238. "hedgeditemspotid": {
  19239. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19240. "type": "string"
  19241. },
  19242. "hedgedtype": {
  19243. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19244. "type": "integer"
  19245. },
  19246. "hedgeplanno": {
  19247. "description": "计划编号",
  19248. "type": "string"
  19249. },
  19250. "oriavgprice": {
  19251. "description": "期初市场价[当初市场价]",
  19252. "type": "number"
  19253. },
  19254. "relatedamount": {
  19255. "description": "市价总额 = 关联数量 * 期初市场价",
  19256. "type": "number"
  19257. },
  19258. "relatedhedgeplanid": {
  19259. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19260. "type": "integer"
  19261. },
  19262. "relatedqty": {
  19263. "description": "关联数量[数量]",
  19264. "type": "number"
  19265. },
  19266. "relatedspotcontractid": {
  19267. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19268. "type": "integer"
  19269. },
  19270. "relatedtype": {
  19271. "description": "关联类型 - 1:套期关联 2:执行关联",
  19272. "type": "integer"
  19273. },
  19274. "spotgoodsbrandid": {
  19275. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19276. "type": "integer"
  19277. },
  19278. "spotpricedamount": {
  19279. "description": "定价总额",
  19280. "type": "number"
  19281. },
  19282. "spotpricedavgprice": {
  19283. "description": "现货均价 = 定价总额 / 关联数量",
  19284. "type": "number"
  19285. },
  19286. "spottype": {
  19287. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19288. "type": "integer"
  19289. },
  19290. "tradeuserid": {
  19291. "description": "交易用户ID",
  19292. "type": "integer"
  19293. },
  19294. "wrstandardid": {
  19295. "description": "现货商品ID",
  19296. "type": "integer"
  19297. },
  19298. "wrstandardname": {
  19299. "description": "现货商品",
  19300. "type": "string"
  19301. }
  19302. }
  19303. },
  19304. "models.Ermcp2hedgeditemspotDetail": {
  19305. "type": "object",
  19306. "required": [
  19307. "hedgeditemid"
  19308. ],
  19309. "properties": {
  19310. "accountname": {
  19311. "description": "对手方",
  19312. "type": "string"
  19313. },
  19314. "areauserid": {
  19315. "description": "企业ID",
  19316. "type": "integer"
  19317. },
  19318. "brandname": {
  19319. "description": "品牌",
  19320. "type": "string"
  19321. },
  19322. "contractno": {
  19323. "description": "合同编号",
  19324. "type": "string"
  19325. },
  19326. "createtime": {
  19327. "description": "创建时间",
  19328. "type": "string"
  19329. },
  19330. "customeruserid": {
  19331. "description": "对手方 【3:采购合同 4:销售合同】",
  19332. "type": "integer"
  19333. },
  19334. "deliverygoodsid": {
  19335. "description": "现货品种ID",
  19336. "type": "integer"
  19337. },
  19338. "enumdicname": {
  19339. "description": "单位",
  19340. "type": "string"
  19341. },
  19342. "hedgeditemid": {
  19343. "description": "被套期项目ID",
  19344. "type": "string"
  19345. },
  19346. "hedgeditemspotid": {
  19347. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19348. "type": "string"
  19349. },
  19350. "hedgedtype": {
  19351. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19352. "type": "integer"
  19353. },
  19354. "oriavgprice": {
  19355. "description": "期初市场价[当初市场价]",
  19356. "type": "number"
  19357. },
  19358. "relatedamount": {
  19359. "description": "市价总额 = 关联数量 * 期初市场价",
  19360. "type": "number"
  19361. },
  19362. "relatedhedgeplanid": {
  19363. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19364. "type": "integer"
  19365. },
  19366. "relatedqty": {
  19367. "description": "关联数量[数量]",
  19368. "type": "number"
  19369. },
  19370. "relatedspotcontractid": {
  19371. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19372. "type": "integer"
  19373. },
  19374. "relatedtype": {
  19375. "description": "关联类型 - 1:套期关联 2:执行关联",
  19376. "type": "integer"
  19377. },
  19378. "spotgoodsbrandid": {
  19379. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19380. "type": "integer"
  19381. },
  19382. "spotpricedamount": {
  19383. "description": "定价总额[金额]",
  19384. "type": "number"
  19385. },
  19386. "spotpricedavgprice": {
  19387. "description": "现货均价 = 定价总额 / 关联数量",
  19388. "type": "number"
  19389. },
  19390. "spottype": {
  19391. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19392. "type": "integer"
  19393. },
  19394. "tradeuserid": {
  19395. "description": "交易用户ID",
  19396. "type": "integer"
  19397. },
  19398. "wrstandardid": {
  19399. "description": "现货商品ID",
  19400. "type": "integer"
  19401. },
  19402. "wrstandardname": {
  19403. "description": "现货商品",
  19404. "type": "string"
  19405. }
  19406. }
  19407. },
  19408. "models.Ermcp2himiddlegoods": {
  19409. "type": "object",
  19410. "required": [
  19411. "hedgeditemid",
  19412. "middlegoodsid"
  19413. ],
  19414. "properties": {
  19415. "futurehedgeqty": {
  19416. "description": "期货持仓套期量",
  19417. "type": "number"
  19418. },
  19419. "hedgeditemid": {
  19420. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  19421. "type": "integer"
  19422. },
  19423. "hiexpsoure": {
  19424. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  19425. "type": "number"
  19426. },
  19427. "middlegoodscode": {
  19428. "description": "套保商品代码",
  19429. "type": "string"
  19430. },
  19431. "middlegoodsid": {
  19432. "description": "套保品种ID",
  19433. "type": "integer"
  19434. },
  19435. "middlegoodsname": {
  19436. "description": "套保商品名称",
  19437. "type": "string"
  19438. },
  19439. "unexehedgeqty": {
  19440. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  19441. "type": "number"
  19442. }
  19443. }
  19444. },
  19445. "models.Ermcp2stockspotchangelog": {
  19446. "type": "object",
  19447. "properties": {
  19448. "accountname": {
  19449. "description": "套期主体",
  19450. "type": "string"
  19451. },
  19452. "aftervalue": {
  19453. "description": "现货量",
  19454. "type": "number"
  19455. },
  19456. "beforevalue": {
  19457. "description": "变更前现货量",
  19458. "type": "number"
  19459. },
  19460. "contractno": {
  19461. "description": "[编号]现货合同编号",
  19462. "type": "string"
  19463. },
  19464. "contracttype": {
  19465. "description": "现货合同类型 - 1:采购 -1:销售",
  19466. "type": "integer"
  19467. },
  19468. "createtime": {
  19469. "description": "创建时间",
  19470. "type": "string"
  19471. },
  19472. "customerusername": {
  19473. "description": "对手方",
  19474. "type": "string"
  19475. },
  19476. "deliverygoodsid": {
  19477. "description": "现货品种ID",
  19478. "type": "integer"
  19479. },
  19480. "exetype": {
  19481. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  19482. "type": "integer"
  19483. },
  19484. "logid": {
  19485. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  19486. "type": "string"
  19487. },
  19488. "logvalue": {
  19489. "description": "[期间变化量]现货量变更值",
  19490. "type": "number"
  19491. },
  19492. "middlegoodschange": {
  19493. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  19494. "type": "number"
  19495. },
  19496. "operatelogtype": {
  19497. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  19498. "type": "integer"
  19499. },
  19500. "relatedid": {
  19501. "description": "现货合同ID",
  19502. "type": "integer"
  19503. },
  19504. "spotgoodsbrandid": {
  19505. "description": "现货品牌ID",
  19506. "type": "integer"
  19507. },
  19508. "tradedate": {
  19509. "description": "交易日(yyyyMMdd)",
  19510. "type": "string"
  19511. },
  19512. "userid": {
  19513. "description": "机构ID",
  19514. "type": "integer"
  19515. },
  19516. "warehouseinfoid": {
  19517. "description": "仓库ID",
  19518. "type": "integer"
  19519. },
  19520. "wrfactortypeid": {
  19521. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19522. "type": "integer"
  19523. },
  19524. "wrstandardid": {
  19525. "description": "现货商品ID",
  19526. "type": "integer"
  19527. },
  19528. "wrstandardname": {
  19529. "description": "商品名称",
  19530. "type": "string"
  19531. }
  19532. }
  19533. },
  19534. "models.Ermcp3AreaSpot": {
  19535. "type": "object",
  19536. "properties": {
  19537. "areauserid": {
  19538. "description": "所属机构",
  19539. "type": "integer"
  19540. },
  19541. "convertratio": {
  19542. "description": "套保系数",
  19543. "type": "number"
  19544. },
  19545. "decreaseqty": {
  19546. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19547. "type": "number"
  19548. },
  19549. "enumdicname": {
  19550. "description": "单位名称",
  19551. "type": "string"
  19552. },
  19553. "increaseqty": {
  19554. "description": "增加数量=销售计划数量+采购已定价数量",
  19555. "type": "number"
  19556. },
  19557. "oritoalspotqty": {
  19558. "description": "昨日数量",
  19559. "type": "number"
  19560. },
  19561. "totalspotqty": {
  19562. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19563. "type": "number"
  19564. },
  19565. "unitid": {
  19566. "description": "现货商品单位id",
  19567. "type": "integer"
  19568. },
  19569. "updatetime": {
  19570. "description": "更新时间",
  19571. "type": "string"
  19572. },
  19573. "wrstandardcode": {
  19574. "description": "现货商品代码",
  19575. "type": "string"
  19576. },
  19577. "wrstandardid": {
  19578. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19579. "type": "integer"
  19580. },
  19581. "wrstandardname": {
  19582. "description": "现货商品名称",
  19583. "type": "string"
  19584. }
  19585. }
  19586. },
  19587. "models.Ermcp3AreaSpotDetail": {
  19588. "type": "object",
  19589. "properties": {
  19590. "contracttype": {
  19591. "description": "合同类型 1-采购 -1-销售",
  19592. "type": "integer"
  19593. },
  19594. "createtime": {
  19595. "description": "创建时间",
  19596. "type": "string"
  19597. },
  19598. "enumdicname": {
  19599. "description": "现货商品单位名称",
  19600. "type": "string"
  19601. },
  19602. "logtype": {
  19603. "description": "记录类型 1-套保 2-现货合同",
  19604. "type": "integer"
  19605. },
  19606. "qty": {
  19607. "description": "数量",
  19608. "type": "number"
  19609. },
  19610. "recordname": {
  19611. "description": "类型名称",
  19612. "type": "string"
  19613. },
  19614. "relatedid": {
  19615. "description": "套保计划ID/现货合同ID",
  19616. "type": "string"
  19617. },
  19618. "relatedno": {
  19619. "description": "编号",
  19620. "type": "string"
  19621. },
  19622. "strtime": {
  19623. "description": "时间",
  19624. "type": "string"
  19625. },
  19626. "wrstandardcode": {
  19627. "description": "现货商品代码",
  19628. "type": "string"
  19629. },
  19630. "wrstandardid": {
  19631. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19632. "type": "integer"
  19633. },
  19634. "wrstandardname": {
  19635. "description": "现货商品名称",
  19636. "type": "string"
  19637. }
  19638. }
  19639. },
  19640. "models.Ermcp3AreaSpotPLReport": {
  19641. "type": "object",
  19642. "properties": {
  19643. "accountid": {
  19644. "description": "期货账户ID (作废, 默认为0)",
  19645. "type": "integer"
  19646. },
  19647. "accountname": {
  19648. "description": "机构名称",
  19649. "type": "string"
  19650. },
  19651. "actualpl": {
  19652. "description": "现货损益",
  19653. "type": "number"
  19654. },
  19655. "areauserid": {
  19656. "description": "所属机构\\交易用户ID",
  19657. "type": "integer"
  19658. },
  19659. "begindate": {
  19660. "description": "开始交易日",
  19661. "type": "string"
  19662. },
  19663. "biztype": {
  19664. "description": "业务类型 - 1:套保 2:套利",
  19665. "type": "integer"
  19666. },
  19667. "brandname": {
  19668. "description": "品牌名称",
  19669. "type": "string"
  19670. },
  19671. "curamount": {
  19672. "description": "期末额",
  19673. "type": "number"
  19674. },
  19675. "curaverageprice": {
  19676. "description": "期初均价",
  19677. "type": "number"
  19678. },
  19679. "curbuyamount": {
  19680. "description": "期末采购总额",
  19681. "type": "number"
  19682. },
  19683. "curbuyqty": {
  19684. "description": "期末采购总量",
  19685. "type": "number"
  19686. },
  19687. "curmarketvalue": {
  19688. "description": "期初均价",
  19689. "type": "number"
  19690. },
  19691. "curqty": {
  19692. "description": "期末量",
  19693. "type": "number"
  19694. },
  19695. "currencyid": {
  19696. "description": "结算币种ID【原值】",
  19697. "type": "integer"
  19698. },
  19699. "currencyname": {
  19700. "description": "币种名称",
  19701. "type": "string"
  19702. },
  19703. "cursellamount": {
  19704. "description": "期末销售总额",
  19705. "type": "number"
  19706. },
  19707. "cursellqty": {
  19708. "description": "期末销售总量",
  19709. "type": "number"
  19710. },
  19711. "curspotprice": {
  19712. "description": "期初均价",
  19713. "type": "number"
  19714. },
  19715. "cycletime": {
  19716. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19717. "type": "string"
  19718. },
  19719. "cycletype": {
  19720. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19721. "type": "integer"
  19722. },
  19723. "deliverygoodscode": {
  19724. "description": "现货品种代码",
  19725. "type": "string"
  19726. },
  19727. "deliverygoodsid": {
  19728. "description": "现货品种ID",
  19729. "type": "integer"
  19730. },
  19731. "deliverygoodsname": {
  19732. "description": "现货品种名称",
  19733. "type": "string"
  19734. },
  19735. "enddate": {
  19736. "description": "结束交易日",
  19737. "type": "string"
  19738. },
  19739. "enumdicname": {
  19740. "description": "现货品种单位名称(作废)",
  19741. "type": "string"
  19742. },
  19743. "floatpl": {
  19744. "description": "期初均价",
  19745. "type": "number"
  19746. },
  19747. "goodsunitid": {
  19748. "description": "现货品种单位id(作废)",
  19749. "type": "integer"
  19750. },
  19751. "oriamount": {
  19752. "description": "期初额",
  19753. "type": "number"
  19754. },
  19755. "oriaverageprice": {
  19756. "description": "期初均价",
  19757. "type": "number"
  19758. },
  19759. "oribuyamount": {
  19760. "description": "期初采购总额",
  19761. "type": "number"
  19762. },
  19763. "oribuyqty": {
  19764. "description": "期初采购总量",
  19765. "type": "number"
  19766. },
  19767. "oriqty": {
  19768. "description": "期初量",
  19769. "type": "number"
  19770. },
  19771. "orisellamount": {
  19772. "description": "期初销售总额",
  19773. "type": "number"
  19774. },
  19775. "orisellqty": {
  19776. "description": "期初销售总量",
  19777. "type": "number"
  19778. },
  19779. "reckondate": {
  19780. "description": "日照时期(yyyyMMdd)",
  19781. "type": "string"
  19782. },
  19783. "spotgoodsbrandid": {
  19784. "description": "现货品牌ID",
  19785. "type": "integer"
  19786. },
  19787. "todaybuyamount": {
  19788. "description": "今日采购额(今采购额)",
  19789. "type": "number"
  19790. },
  19791. "todaybuyaverageprice": {
  19792. "description": "期初均价",
  19793. "type": "number"
  19794. },
  19795. "todaybuyqty": {
  19796. "description": "今日采购量(今采购量)",
  19797. "type": "number"
  19798. },
  19799. "todayinqty": {
  19800. "description": "今日入库量(今入库量)",
  19801. "type": "number"
  19802. },
  19803. "todayoutqty": {
  19804. "description": "今日出库量(今出库量)",
  19805. "type": "number"
  19806. },
  19807. "todaysellamount": {
  19808. "description": "今日销售额(今销售额)",
  19809. "type": "number"
  19810. },
  19811. "todaysellaverageprice": {
  19812. "description": "期初均价",
  19813. "type": "number"
  19814. },
  19815. "todaysellqty": {
  19816. "description": "今日销售量(今销售量)",
  19817. "type": "number"
  19818. },
  19819. "unitid": {
  19820. "description": "品类单位id",
  19821. "type": "integer"
  19822. },
  19823. "unitidname": {
  19824. "description": "品类单位名称",
  19825. "type": "string"
  19826. },
  19827. "updatetime": {
  19828. "description": "更新时间",
  19829. "type": "string"
  19830. },
  19831. "wrfactortypeid": {
  19832. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19833. "type": "integer"
  19834. },
  19835. "wrstandardcode": {
  19836. "description": "现货商品(品类)代码",
  19837. "type": "string"
  19838. },
  19839. "wrstandardid": {
  19840. "description": "现货品类ID",
  19841. "type": "integer"
  19842. },
  19843. "wrstandardname": {
  19844. "description": "现货商品(品类)名称",
  19845. "type": "string"
  19846. }
  19847. }
  19848. },
  19849. "models.Ermcp3AreaStock": {
  19850. "type": "object",
  19851. "required": [
  19852. "userid"
  19853. ],
  19854. "properties": {
  19855. "brandname": {
  19856. "description": "品牌名称",
  19857. "type": "string"
  19858. },
  19859. "curstock": {
  19860. "description": "期末库存量(今日量)",
  19861. "type": "number"
  19862. },
  19863. "deliverygoodscode": {
  19864. "description": "现货品种代码",
  19865. "type": "string"
  19866. },
  19867. "deliverygoodsid": {
  19868. "description": "现货品种id",
  19869. "type": "integer"
  19870. },
  19871. "deliverygoodsname": {
  19872. "description": "现货品种名称",
  19873. "type": "string"
  19874. },
  19875. "enumdicname": {
  19876. "description": "单位名称",
  19877. "type": "string"
  19878. },
  19879. "goodsunitid": {
  19880. "description": "现货商品单位id",
  19881. "type": "integer"
  19882. },
  19883. "oristock": {
  19884. "description": "期初库存量(昨日量)",
  19885. "type": "number"
  19886. },
  19887. "spotgoodsbrandid": {
  19888. "description": "现货品牌ID",
  19889. "type": "integer"
  19890. },
  19891. "todaybuyinqty": {
  19892. "description": "今日采购入库量",
  19893. "type": "number"
  19894. },
  19895. "todayproduceinqty": {
  19896. "description": "今日生产入库量",
  19897. "type": "number"
  19898. },
  19899. "todayproduceoutqty": {
  19900. "description": "今日生产出库量",
  19901. "type": "number"
  19902. },
  19903. "todayselloutqty": {
  19904. "description": "今日销售出库量",
  19905. "type": "number"
  19906. },
  19907. "unitid": {
  19908. "description": "单位id",
  19909. "type": "integer"
  19910. },
  19911. "updatetime": {
  19912. "description": "更新时间",
  19913. "type": "string"
  19914. },
  19915. "userid": {
  19916. "description": "机构ID",
  19917. "type": "integer"
  19918. },
  19919. "username": {
  19920. "description": "机构名称",
  19921. "type": "string"
  19922. },
  19923. "warehousecode": {
  19924. "description": "仓库代码",
  19925. "type": "string"
  19926. },
  19927. "warehouseinfoid": {
  19928. "description": "仓库ID",
  19929. "type": "string"
  19930. },
  19931. "warehousename": {
  19932. "description": "仓库名称",
  19933. "type": "string"
  19934. },
  19935. "warehousetype": {
  19936. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19937. "type": "integer"
  19938. },
  19939. "wrstandardcode": {
  19940. "description": "品类代码",
  19941. "type": "string"
  19942. },
  19943. "wrstandardid": {
  19944. "description": "品类ID",
  19945. "type": "string"
  19946. },
  19947. "wrstandardname": {
  19948. "description": "品类名称",
  19949. "type": "string"
  19950. }
  19951. }
  19952. },
  19953. "models.Ermcp3AreaStockApply": {
  19954. "type": "object",
  19955. "properties": {
  19956. "applyid": {
  19957. "description": "申请人",
  19958. "type": "integer"
  19959. },
  19960. "applyname": {
  19961. "description": "申请人名称",
  19962. "type": "string"
  19963. },
  19964. "applyremark": {
  19965. "description": "申请备注",
  19966. "type": "string"
  19967. },
  19968. "applysrc": {
  19969. "description": "申请来源 - 1:管理端 2:终端",
  19970. "type": "integer"
  19971. },
  19972. "applystatus": {
  19973. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19974. "type": "integer"
  19975. },
  19976. "applytime": {
  19977. "description": "申请时间",
  19978. "type": "string"
  19979. },
  19980. "auditid": {
  19981. "description": "审核人",
  19982. "type": "integer"
  19983. },
  19984. "auditname": {
  19985. "description": "审核人名称",
  19986. "type": "string"
  19987. },
  19988. "auditremark": {
  19989. "description": "审核备注",
  19990. "type": "string"
  19991. },
  19992. "auditsrc": {
  19993. "description": "审核来源 - 1:管理端 2:终端",
  19994. "type": "integer"
  19995. },
  19996. "audittime": {
  19997. "description": "审核时间",
  19998. "type": "string"
  19999. },
  20000. "audittradedate": {
  20001. "description": "审核交易日(yyyyMMdd)",
  20002. "type": "string"
  20003. },
  20004. "brandname": {
  20005. "description": "品牌名称",
  20006. "type": "string"
  20007. },
  20008. "buynickname": {
  20009. "description": "采购方昵称",
  20010. "type": "string"
  20011. },
  20012. "buyuserid": {
  20013. "description": "采购方userid",
  20014. "type": "integer"
  20015. },
  20016. "buyusername": {
  20017. "description": "采购方名称",
  20018. "type": "string"
  20019. },
  20020. "contractno": {
  20021. "description": "合同编号",
  20022. "type": "string"
  20023. },
  20024. "contractqty": {
  20025. "description": "合同量",
  20026. "type": "number"
  20027. },
  20028. "contracttype": {
  20029. "description": "现货合同类型 - 1:采购 -1:销售",
  20030. "type": "integer"
  20031. },
  20032. "deliverygoodscode": {
  20033. "description": "现货品种代码",
  20034. "type": "string"
  20035. },
  20036. "deliverygoodsid": {
  20037. "description": "现货品种id",
  20038. "type": "integer"
  20039. },
  20040. "deliverygoodsname": {
  20041. "description": "现货品种名称",
  20042. "type": "string"
  20043. },
  20044. "detailjson": {
  20045. "description": "明细数据",
  20046. "type": "string"
  20047. },
  20048. "enumdicname": {
  20049. "description": "现货商品单位名称",
  20050. "type": "string"
  20051. },
  20052. "inoutapplyid": {
  20053. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20054. "type": "string"
  20055. },
  20056. "inouttype": {
  20057. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20058. "type": "integer"
  20059. },
  20060. "pricetype": {
  20061. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20062. "type": "integer"
  20063. },
  20064. "qty": {
  20065. "description": "数量",
  20066. "type": "number"
  20067. },
  20068. "sellnickname": {
  20069. "description": "销售方昵称",
  20070. "type": "string"
  20071. },
  20072. "selluserid": {
  20073. "description": "销售方userid",
  20074. "type": "integer"
  20075. },
  20076. "sellusername": {
  20077. "description": "销售方名称",
  20078. "type": "string"
  20079. },
  20080. "spotcontractid": {
  20081. "description": "关联现货合同ID",
  20082. "type": "string"
  20083. },
  20084. "spotgoodsbrandid": {
  20085. "description": "现货品牌ID",
  20086. "type": "integer"
  20087. },
  20088. "unitid": {
  20089. "description": "单位id",
  20090. "type": "integer"
  20091. },
  20092. "userid": {
  20093. "description": "机构ID",
  20094. "type": "integer"
  20095. },
  20096. "warehousecode": {
  20097. "description": "仓库代码",
  20098. "type": "string"
  20099. },
  20100. "warehouseinfoid": {
  20101. "description": "现货仓库ID",
  20102. "type": "string"
  20103. },
  20104. "warehousename": {
  20105. "description": "仓库名称",
  20106. "type": "string"
  20107. },
  20108. "warehousetype": {
  20109. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20110. "type": "integer"
  20111. },
  20112. "wrstandardcode": {
  20113. "description": "品类代码",
  20114. "type": "string"
  20115. },
  20116. "wrstandardid": {
  20117. "description": "品类ID",
  20118. "type": "integer"
  20119. },
  20120. "wrstandardname": {
  20121. "description": "品类名称",
  20122. "type": "string"
  20123. }
  20124. }
  20125. },
  20126. "models.Ermcp3AreaStockApplySum": {
  20127. "type": "object",
  20128. "properties": {
  20129. "brandname": {
  20130. "description": "品牌名称",
  20131. "type": "string"
  20132. },
  20133. "inouttype": {
  20134. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20135. "type": "integer"
  20136. },
  20137. "spotcontractid": {
  20138. "description": "关联现货合同ID",
  20139. "type": "string"
  20140. },
  20141. "spotgoodsbrandid": {
  20142. "description": "品牌id",
  20143. "type": "integer"
  20144. },
  20145. "totalqty": {
  20146. "description": "总数量",
  20147. "type": "number"
  20148. },
  20149. "wrstandardid": {
  20150. "description": "品类id",
  20151. "type": "integer"
  20152. },
  20153. "wrstandardname": {
  20154. "description": "品类名称",
  20155. "type": "string"
  20156. }
  20157. }
  20158. },
  20159. "models.Ermcp3AreaStockReportEx": {
  20160. "type": "object",
  20161. "properties": {
  20162. "begindate": {
  20163. "description": "开始交易日",
  20164. "type": "string"
  20165. },
  20166. "brandname": {
  20167. "description": "品牌名称",
  20168. "type": "string"
  20169. },
  20170. "curstock": {
  20171. "description": "期末库存量",
  20172. "type": "number"
  20173. },
  20174. "cycletime": {
  20175. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20176. "type": "string"
  20177. },
  20178. "cycletype": {
  20179. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20180. "type": "integer"
  20181. },
  20182. "deliverygoodscode": {
  20183. "description": "现货品种代码",
  20184. "type": "string"
  20185. },
  20186. "deliverygoodsid": {
  20187. "description": "现货品种id",
  20188. "type": "integer"
  20189. },
  20190. "deliverygoodsname": {
  20191. "description": "现货品种名称",
  20192. "type": "string"
  20193. },
  20194. "diffqty": {
  20195. "description": "库存变化量 = 期末 - 期初",
  20196. "type": "number"
  20197. },
  20198. "enddate": {
  20199. "description": "结束交易日",
  20200. "type": "string"
  20201. },
  20202. "enumdicname": {
  20203. "description": "单位名称",
  20204. "type": "string"
  20205. },
  20206. "goodsunitid": {
  20207. "description": "现货单位id",
  20208. "type": "integer"
  20209. },
  20210. "oristock": {
  20211. "description": "期初库存量",
  20212. "type": "number"
  20213. },
  20214. "reckondate": {
  20215. "description": "日照时期(yyyyMMdd)",
  20216. "type": "string"
  20217. },
  20218. "spotgoodsbrandid": {
  20219. "description": "现货品牌ID",
  20220. "type": "integer"
  20221. },
  20222. "todaybuyinqty": {
  20223. "description": "今采购入库量",
  20224. "type": "number"
  20225. },
  20226. "todayproduceinqty": {
  20227. "description": "今内部入库量",
  20228. "type": "number"
  20229. },
  20230. "todayproduceoutqty": {
  20231. "description": "今内部出库量",
  20232. "type": "number"
  20233. },
  20234. "todayselloutqty": {
  20235. "description": "今销售出库量",
  20236. "type": "number"
  20237. },
  20238. "unbuyinqty": {
  20239. "description": "采购未入库量(数据库未找到相关字段?)",
  20240. "type": "number"
  20241. },
  20242. "unitid": {
  20243. "description": "品类单位id",
  20244. "type": "integer"
  20245. },
  20246. "unselloutqty": {
  20247. "description": "销售未出库量(数据库未找到相关字段?)",
  20248. "type": "number"
  20249. },
  20250. "updatetime": {
  20251. "description": "更新时间",
  20252. "type": "string"
  20253. },
  20254. "userid": {
  20255. "description": "机构ID",
  20256. "type": "integer"
  20257. },
  20258. "username": {
  20259. "description": "机构名称",
  20260. "type": "string"
  20261. },
  20262. "warehousecode": {
  20263. "description": "仓库代码",
  20264. "type": "string"
  20265. },
  20266. "warehouseinfoid": {
  20267. "description": "仓库ID",
  20268. "type": "string"
  20269. },
  20270. "warehousename": {
  20271. "description": "仓库名称",
  20272. "type": "string"
  20273. },
  20274. "warehousetype": {
  20275. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20276. "type": "integer"
  20277. },
  20278. "wrstandardcode": {
  20279. "description": "品类代码",
  20280. "type": "string"
  20281. },
  20282. "wrstandardid": {
  20283. "description": "品类ID",
  20284. "type": "integer"
  20285. },
  20286. "wrstandardname": {
  20287. "description": "品类名称",
  20288. "type": "string"
  20289. }
  20290. }
  20291. },
  20292. "models.Ermcp3ArealSumPL": {
  20293. "type": "object",
  20294. "properties": {
  20295. "accountname": {
  20296. "description": "机构名称",
  20297. "type": "string"
  20298. },
  20299. "areauserid": {
  20300. "description": "所属机构\\交易用户ID",
  20301. "type": "integer"
  20302. },
  20303. "begindate": {
  20304. "description": "开始交易日",
  20305. "type": "string"
  20306. },
  20307. "currencyid": {
  20308. "description": "结算币种ID",
  20309. "type": "integer"
  20310. },
  20311. "currencyname": {
  20312. "description": "币种名称",
  20313. "type": "string"
  20314. },
  20315. "cycletime": {
  20316. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20317. "type": "string"
  20318. },
  20319. "cycletype": {
  20320. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20321. "type": "integer"
  20322. },
  20323. "enddate": {
  20324. "description": "结束交易日",
  20325. "type": "string"
  20326. },
  20327. "enumdicname": {
  20328. "description": "单位名称(套保品种)",
  20329. "type": "string"
  20330. },
  20331. "futureactualpl": {
  20332. "description": "期货损益",
  20333. "type": "number"
  20334. },
  20335. "futurefloatpl": {
  20336. "description": "期货浮动损益",
  20337. "type": "number"
  20338. },
  20339. "futurespotratio": {
  20340. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20341. "type": "number"
  20342. },
  20343. "goodsunitid": {
  20344. "description": "套保品种单位id",
  20345. "type": "integer"
  20346. },
  20347. "hedgeexposurepl": {
  20348. "description": "套保敞口损益",
  20349. "type": "number"
  20350. },
  20351. "middlegoodscode": {
  20352. "description": "套保品种代码",
  20353. "type": "string"
  20354. },
  20355. "middlegoodsid": {
  20356. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20357. "type": "integer"
  20358. },
  20359. "middlegoodsname": {
  20360. "description": "套保品种名称",
  20361. "type": "string"
  20362. },
  20363. "reckondate": {
  20364. "description": "日照时期(yyyyMMdd)",
  20365. "type": "string"
  20366. },
  20367. "spotactualpl": {
  20368. "description": "现货损益",
  20369. "type": "number"
  20370. },
  20371. "spotfloatpl": {
  20372. "description": "现货浮动损益",
  20373. "type": "number"
  20374. },
  20375. "sumactualpl": {
  20376. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20377. "type": "number"
  20378. },
  20379. "sumpl": {
  20380. "description": "总敞口损益 | 汇总损益",
  20381. "type": "number"
  20382. },
  20383. "totalfutureqty": {
  20384. "description": "期货头寸总量",
  20385. "type": "number"
  20386. },
  20387. "totalneedhedgeqty": {
  20388. "description": "应套保总量",
  20389. "type": "number"
  20390. },
  20391. "totalspotqty": {
  20392. "description": "现货头寸总量",
  20393. "type": "number"
  20394. },
  20395. "updatetime": {
  20396. "description": "更新时间",
  20397. "type": "string"
  20398. }
  20399. }
  20400. },
  20401. "models.Ermcp3Brand": {
  20402. "type": "object",
  20403. "properties": {
  20404. "areauserid": {
  20405. "description": "用户id",
  20406. "type": "integer"
  20407. },
  20408. "brandid": {
  20409. "description": "品牌id",
  20410. "type": "integer"
  20411. },
  20412. "brandname": {
  20413. "description": "品牌名称",
  20414. "type": "string"
  20415. },
  20416. "deliverygoodsid": {
  20417. "description": "品种ID",
  20418. "type": "integer"
  20419. },
  20420. "isvalid": {
  20421. "description": "是否有效",
  20422. "type": "integer"
  20423. }
  20424. }
  20425. },
  20426. "models.Ermcp3Contract": {
  20427. "type": "object",
  20428. "properties": {
  20429. "accountid": {
  20430. "description": "期货账户id",
  20431. "type": "string"
  20432. },
  20433. "amount": {
  20434. "description": "金额 [1:一口价、3:暂定价]",
  20435. "type": "number"
  20436. },
  20437. "attachment": {
  20438. "description": "附件",
  20439. "type": "string"
  20440. },
  20441. "auditremark": {
  20442. "description": "审核意见",
  20443. "type": "string"
  20444. },
  20445. "audittime": {
  20446. "description": "审核时间",
  20447. "type": "string"
  20448. },
  20449. "biztype": {
  20450. "description": "业务类型 1-套保 2-套利",
  20451. "type": "integer"
  20452. },
  20453. "brandname": {
  20454. "description": "品牌名称",
  20455. "type": "string"
  20456. },
  20457. "buynickname": {
  20458. "description": "销售方昵称",
  20459. "type": "string"
  20460. },
  20461. "buyuserid": {
  20462. "description": "采购方ID",
  20463. "type": "integer"
  20464. },
  20465. "buyusername": {
  20466. "description": "采购方名称",
  20467. "type": "string"
  20468. },
  20469. "contracctstatus": {
  20470. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20471. "type": "integer"
  20472. },
  20473. "contractmargin": {
  20474. "description": "合同保证金",
  20475. "type": "number"
  20476. },
  20477. "contractno": {
  20478. "description": "现货合同编号",
  20479. "type": "string"
  20480. },
  20481. "contracttype": {
  20482. "description": "现货合同类型 - 1:采购 -1:销售",
  20483. "type": "integer"
  20484. },
  20485. "convertfactor": {
  20486. "description": "标仓系数(品类)",
  20487. "type": "number"
  20488. },
  20489. "createtime": {
  20490. "description": "创建时间",
  20491. "type": "string"
  20492. },
  20493. "currencyid": {
  20494. "description": "币种id",
  20495. "type": "integer"
  20496. },
  20497. "currencyname": {
  20498. "description": "币种名称",
  20499. "type": "string"
  20500. },
  20501. "deliveryenddate": {
  20502. "description": "交收期(结束)",
  20503. "type": "string"
  20504. },
  20505. "deliverygoodscode": {
  20506. "description": "现货品种代码",
  20507. "type": "string"
  20508. },
  20509. "deliverygoodsid": {
  20510. "description": "现货品种ID",
  20511. "type": "integer"
  20512. },
  20513. "deliverygoodsname": {
  20514. "description": "现货品种名称",
  20515. "type": "string"
  20516. },
  20517. "deliverystartdate": {
  20518. "description": "交收期(开始)",
  20519. "type": "string"
  20520. },
  20521. "enddate": {
  20522. "description": "点价结束日期 [2:点价 3:暂定价]",
  20523. "type": "string"
  20524. },
  20525. "enumdicname": {
  20526. "description": "单位名称",
  20527. "type": "string"
  20528. },
  20529. "goodscode": {
  20530. "description": "点价合约代码",
  20531. "type": "string"
  20532. },
  20533. "goodsid": {
  20534. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20535. "type": "integer"
  20536. },
  20537. "goodsname": {
  20538. "description": "点价商品名称",
  20539. "type": "string"
  20540. },
  20541. "margin": {
  20542. "description": "当前保证金",
  20543. "type": "number"
  20544. },
  20545. "meruserid": {
  20546. "description": "跟单员id",
  20547. "type": "integer"
  20548. },
  20549. "meruserlogincode": {
  20550. "description": "跟单员登录代码",
  20551. "type": "string"
  20552. },
  20553. "merusername": {
  20554. "description": "跟单员名称",
  20555. "type": "string"
  20556. },
  20557. "pointdesc": {
  20558. "description": "点价备注",
  20559. "type": "string"
  20560. },
  20561. "price": {
  20562. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20563. "type": "number"
  20564. },
  20565. "pricemove": {
  20566. "description": "升贴水 [2:点价 3:暂定价]",
  20567. "type": "number"
  20568. },
  20569. "pricetype": {
  20570. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20571. "type": "integer"
  20572. },
  20573. "producttype": {
  20574. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20575. "type": "integer"
  20576. },
  20577. "qty": {
  20578. "description": "数量",
  20579. "type": "number"
  20580. },
  20581. "remark": {
  20582. "description": "备注",
  20583. "type": "string"
  20584. },
  20585. "saleuserid": {
  20586. "description": "业务员id",
  20587. "type": "integer"
  20588. },
  20589. "saleuserlogincode": {
  20590. "description": "业务员登录代码",
  20591. "type": "string"
  20592. },
  20593. "saleusername": {
  20594. "description": "业务员名称",
  20595. "type": "string"
  20596. },
  20597. "sellnickname": {
  20598. "description": "采购方昵称",
  20599. "type": "string"
  20600. },
  20601. "selluserid": {
  20602. "description": "销售方ID",
  20603. "type": "integer"
  20604. },
  20605. "sellusername": {
  20606. "description": "销售方名称",
  20607. "type": "string"
  20608. },
  20609. "spotcontractid": {
  20610. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20611. "type": "string"
  20612. },
  20613. "spotgoodsbrandid": {
  20614. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20615. "type": "integer"
  20616. },
  20617. "spotgoodsdesc": {
  20618. "description": "商品型号",
  20619. "type": "string"
  20620. },
  20621. "startdate": {
  20622. "description": "点价开始日期 [2:点价 3:暂定价]",
  20623. "type": "string"
  20624. },
  20625. "subjectid": {
  20626. "description": "交易主体ID",
  20627. "type": "integer"
  20628. },
  20629. "subjectname": {
  20630. "description": "交易主体名称",
  20631. "type": "string"
  20632. },
  20633. "tradeuserid": {
  20634. "description": "交易员id",
  20635. "type": "integer"
  20636. },
  20637. "tradeuserlogincode": {
  20638. "description": "交易员登录代码",
  20639. "type": "string"
  20640. },
  20641. "tradeusername": {
  20642. "description": "交易员名称",
  20643. "type": "string"
  20644. },
  20645. "unitid": {
  20646. "description": "单位id(取品类上的单位id)",
  20647. "type": "integer"
  20648. },
  20649. "updatetime": {
  20650. "description": "更新时间",
  20651. "type": "string"
  20652. },
  20653. "userid": {
  20654. "description": "所属机构ID",
  20655. "type": "integer"
  20656. },
  20657. "vatrate": {
  20658. "description": "增值税率",
  20659. "type": "number"
  20660. },
  20661. "wrstandardcode": {
  20662. "description": "品类代码",
  20663. "type": "string"
  20664. },
  20665. "wrstandardid": {
  20666. "description": "品类ID",
  20667. "type": "integer"
  20668. },
  20669. "wrstandardname": {
  20670. "description": "品类名称",
  20671. "type": "string"
  20672. }
  20673. }
  20674. },
  20675. "models.Ermcp3ContractMiddleGoodsCfg": {
  20676. "type": "object",
  20677. "properties": {
  20678. "agreeunit": {
  20679. "description": "合约乘数",
  20680. "type": "number"
  20681. },
  20682. "convertratio": {
  20683. "description": "期货品种系数",
  20684. "type": "number"
  20685. },
  20686. "covertqty": {
  20687. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  20688. "type": "integer"
  20689. },
  20690. "middlegoodsid": {
  20691. "description": "套保品种ID",
  20692. "type": "integer"
  20693. },
  20694. "middlegoodspricedqty3": {
  20695. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  20696. "type": "string",
  20697. "example": "0"
  20698. },
  20699. "pendingpricedqty": {
  20700. "description": "待点价量",
  20701. "type": "string",
  20702. "example": "0"
  20703. },
  20704. "relatedmiddlegoodsqty": {
  20705. "description": "已关联量(套保品种-期货)",
  20706. "type": "string",
  20707. "example": "0"
  20708. },
  20709. "spotcontractid": {
  20710. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20711. "type": "string"
  20712. }
  20713. }
  20714. },
  20715. "models.Ermcp3ExposureContractDetail": {
  20716. "type": "object",
  20717. "properties": {
  20718. "biztype": {
  20719. "description": "业务类型 1-套保 2-套利",
  20720. "type": "integer"
  20721. },
  20722. "brandname": {
  20723. "description": "品牌名称",
  20724. "type": "string"
  20725. },
  20726. "buyuserid": {
  20727. "description": "采购方id",
  20728. "type": "integer"
  20729. },
  20730. "buyusername": {
  20731. "description": "采购方名称",
  20732. "type": "string"
  20733. },
  20734. "contractno": {
  20735. "description": "合同编号",
  20736. "type": "string"
  20737. },
  20738. "contracttype": {
  20739. "description": "现货合同类型 - 1:采购 -1:销售",
  20740. "type": "integer"
  20741. },
  20742. "convertfactor": {
  20743. "description": "标仓系数",
  20744. "type": "number"
  20745. },
  20746. "convertratio": {
  20747. "description": "折算系数(套保品种)",
  20748. "type": "number"
  20749. },
  20750. "curqty": {
  20751. "description": "今定价量",
  20752. "type": "number"
  20753. },
  20754. "deliverygoodscode": {
  20755. "description": "现货品种代码",
  20756. "type": "string"
  20757. },
  20758. "deliverygoodsid": {
  20759. "description": "现货品种id",
  20760. "type": "integer"
  20761. },
  20762. "deliverygoodsname": {
  20763. "description": "现货品种名称",
  20764. "type": "string"
  20765. },
  20766. "diffhedgeqty": {
  20767. "description": "套保变动量",
  20768. "type": "number"
  20769. },
  20770. "diffneedhedgeqty": {
  20771. "description": "应套保变动量",
  20772. "type": "number"
  20773. },
  20774. "diffqty": {
  20775. "description": "套保品种今变动量",
  20776. "type": "number"
  20777. },
  20778. "enumdicname": {
  20779. "description": "单位名称",
  20780. "type": "string"
  20781. },
  20782. "mgunitname": {
  20783. "description": "套保品种单位名称",
  20784. "type": "string"
  20785. },
  20786. "middlegoodscode": {
  20787. "description": "套保品种代码",
  20788. "type": "string"
  20789. },
  20790. "middlegoodsid": {
  20791. "description": "套保品种id",
  20792. "type": "integer"
  20793. },
  20794. "middlegoodsname": {
  20795. "description": "套保品种名称",
  20796. "type": "string"
  20797. },
  20798. "needarbitrageratio": {
  20799. "description": "应套利比例",
  20800. "type": "number"
  20801. },
  20802. "needhedgeratio": {
  20803. "description": "应套保比例",
  20804. "type": "number"
  20805. },
  20806. "pricedqty": {
  20807. "description": "已定价量",
  20808. "type": "number"
  20809. },
  20810. "qty": {
  20811. "description": "合同量",
  20812. "type": "number"
  20813. },
  20814. "reckondate": {
  20815. "description": "交易日(reckondate)",
  20816. "type": "string"
  20817. },
  20818. "selluserid": {
  20819. "description": "销售方id",
  20820. "type": "integer"
  20821. },
  20822. "sellusername": {
  20823. "description": "销售方名称",
  20824. "type": "string"
  20825. },
  20826. "spotcontractid": {
  20827. "description": "合同id",
  20828. "type": "string"
  20829. },
  20830. "todaypricedqty": {
  20831. "description": "今定价量",
  20832. "type": "number"
  20833. },
  20834. "tradedate": {
  20835. "description": "交易日",
  20836. "type": "string"
  20837. },
  20838. "unitid": {
  20839. "description": "品类单位id",
  20840. "type": "integer"
  20841. },
  20842. "userid": {
  20843. "description": "机构id",
  20844. "type": "integer"
  20845. },
  20846. "username": {
  20847. "description": "交易用户",
  20848. "type": "string"
  20849. },
  20850. "wrstandardcode": {
  20851. "description": "现货商品代码",
  20852. "type": "string"
  20853. },
  20854. "wrstandardid": {
  20855. "description": "现货商品id",
  20856. "type": "integer"
  20857. },
  20858. "wrstandardname": {
  20859. "description": "现货商品名称",
  20860. "type": "string"
  20861. }
  20862. }
  20863. },
  20864. "models.Ermcp3ExposureDetail": {
  20865. "type": "object",
  20866. "properties": {
  20867. "areauserid": {
  20868. "description": "机构ID",
  20869. "type": "integer"
  20870. },
  20871. "changeQty": {
  20872. "description": "套保变动量",
  20873. "type": "number"
  20874. },
  20875. "contracttype": {
  20876. "description": "现货合同类型 - 1:采购 -1:销售",
  20877. "type": "integer"
  20878. },
  20879. "convertfactor": {
  20880. "description": "标仓系数",
  20881. "type": "number"
  20882. },
  20883. "convertratio": {
  20884. "description": "折算系数",
  20885. "type": "number"
  20886. },
  20887. "createtime": {
  20888. "description": "时间",
  20889. "type": "string"
  20890. },
  20891. "enumdicname": {
  20892. "description": "现货商品单位名称",
  20893. "type": "string"
  20894. },
  20895. "logtype": {
  20896. "description": "类型 - 1:套保计划 2:现货合同",
  20897. "type": "integer"
  20898. },
  20899. "mgunitid": {
  20900. "description": "套保品种单位id",
  20901. "type": "integer"
  20902. },
  20903. "mgunitidname": {
  20904. "description": "套保品种单位名称",
  20905. "type": "string"
  20906. },
  20907. "middlegoodsId": {
  20908. "description": "套保商品id",
  20909. "type": "integer"
  20910. },
  20911. "middlegoodscode": {
  20912. "description": "套保商品代码",
  20913. "type": "string"
  20914. },
  20915. "middlegoodsname": {
  20916. "description": "套保商品名称",
  20917. "type": "string"
  20918. },
  20919. "qty": {
  20920. "description": "数量",
  20921. "type": "number"
  20922. },
  20923. "relateNo": {
  20924. "description": "现货合同/套保计划编号",
  20925. "type": "string"
  20926. },
  20927. "unitid": {
  20928. "description": "现货商品单位id",
  20929. "type": "integer"
  20930. },
  20931. "wrstandardcode": {
  20932. "description": "现货商品代码",
  20933. "type": "string"
  20934. },
  20935. "wrstandardid": {
  20936. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20937. "type": "integer"
  20938. },
  20939. "wrstandardname": {
  20940. "description": "现货商品名称",
  20941. "type": "string"
  20942. }
  20943. }
  20944. },
  20945. "models.Ermcp3ExposureFutuDetail": {
  20946. "type": "object",
  20947. "properties": {
  20948. "accountid": {
  20949. "description": "交易账户id",
  20950. "type": "integer"
  20951. },
  20952. "accountname": {
  20953. "description": "交易账户",
  20954. "type": "string"
  20955. },
  20956. "begindate": {
  20957. "description": "开始交易日",
  20958. "type": "string"
  20959. },
  20960. "buyorsell": {
  20961. "description": "方向 0-买 1-卖",
  20962. "type": "integer"
  20963. },
  20964. "diffmgqty": {
  20965. "description": "套保品种今变化量",
  20966. "type": "number"
  20967. },
  20968. "diffneedqty": {
  20969. "description": "应套保总量变化量",
  20970. "type": "number"
  20971. },
  20972. "difftradeqty": {
  20973. "description": "交易品种今变化量",
  20974. "type": "number"
  20975. },
  20976. "enddate": {
  20977. "description": "结束交易日",
  20978. "type": "string"
  20979. },
  20980. "enumdicname": {
  20981. "description": "单位名称",
  20982. "type": "string"
  20983. },
  20984. "goodscode": {
  20985. "description": "商品代码",
  20986. "type": "string"
  20987. },
  20988. "goodsid": {
  20989. "description": "商品id",
  20990. "type": "integer"
  20991. },
  20992. "goodsname": {
  20993. "description": "商品名称",
  20994. "type": "string"
  20995. },
  20996. "holdqty": {
  20997. "description": "期末持仓量",
  20998. "type": "number"
  20999. },
  21000. "middlegoodscode": {
  21001. "description": "套保商品代码",
  21002. "type": "string"
  21003. },
  21004. "middlegoodsid": {
  21005. "description": "套保商品id",
  21006. "type": "integer"
  21007. },
  21008. "middlegoodsname": {
  21009. "description": "套保商品名称",
  21010. "type": "string"
  21011. },
  21012. "oriholdqty": {
  21013. "description": "期初持仓量",
  21014. "type": "number"
  21015. },
  21016. "reckondate": {
  21017. "description": "交易日(RECKONDATE)",
  21018. "type": "string"
  21019. },
  21020. "todaycloseqty": {
  21021. "description": "今平仓量",
  21022. "type": "number"
  21023. },
  21024. "todayopenqty": {
  21025. "description": "今开仓量",
  21026. "type": "number"
  21027. },
  21028. "tradedate": {
  21029. "description": "交易日(RECKONDATE)",
  21030. "type": "string"
  21031. },
  21032. "username": {
  21033. "description": "用户名称(交易用户)",
  21034. "type": "string"
  21035. }
  21036. }
  21037. },
  21038. "models.Ermcp3ExposureHedgeplanDetail": {
  21039. "type": "object",
  21040. "properties": {
  21041. "biztype": {
  21042. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  21043. "type": "integer"
  21044. },
  21045. "changqty": {
  21046. "description": "应套保总量变化量",
  21047. "type": "number"
  21048. },
  21049. "contracttype": {
  21050. "description": "计划类型 - 1:采购 -1:销售",
  21051. "type": "integer"
  21052. },
  21053. "convertratio": {
  21054. "description": "折算系数(套保品种)",
  21055. "type": "number"
  21056. },
  21057. "deliverygoodscode": {
  21058. "description": "现货商品代码",
  21059. "type": "string"
  21060. },
  21061. "deliverygoodsid": {
  21062. "description": "现货商品id",
  21063. "type": "integer"
  21064. },
  21065. "deliverygoodsname": {
  21066. "description": "现货商吕名称",
  21067. "type": "string"
  21068. },
  21069. "dgunitid": {
  21070. "description": "现货商品单位id",
  21071. "type": "integer"
  21072. },
  21073. "dgunitidname": {
  21074. "description": "单位名称(现货商品)",
  21075. "type": "string"
  21076. },
  21077. "diffqty": {
  21078. "description": "套保品种今变动量",
  21079. "type": "number"
  21080. },
  21081. "enumdicname": {
  21082. "description": "单位名称(品类)",
  21083. "type": "string"
  21084. },
  21085. "hedgeplanid": {
  21086. "description": "套保计划id",
  21087. "type": "string"
  21088. },
  21089. "hedgeplanno": {
  21090. "description": "套保计划名称",
  21091. "type": "string"
  21092. },
  21093. "hedgeplanstatus": {
  21094. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21095. "type": "integer"
  21096. },
  21097. "mgunitidname": {
  21098. "description": "单位名称(套保商品)",
  21099. "type": "string"
  21100. },
  21101. "middlegoodscode": {
  21102. "description": "套保品种代码",
  21103. "type": "string"
  21104. },
  21105. "middlegoodsid": {
  21106. "description": "套保品种id",
  21107. "type": "integer"
  21108. },
  21109. "middlegoodsname": {
  21110. "description": "套保品种名称",
  21111. "type": "string"
  21112. },
  21113. "needarbitrageratio": {
  21114. "description": "应套利比例",
  21115. "type": "number"
  21116. },
  21117. "needhedgeratio": {
  21118. "description": "应套保比例",
  21119. "type": "number"
  21120. },
  21121. "pricedqty": {
  21122. "description": "已定价量",
  21123. "type": "number"
  21124. },
  21125. "qty": {
  21126. "description": "合同量",
  21127. "type": "number"
  21128. },
  21129. "reckondate": {
  21130. "description": "交易日(reckondate)",
  21131. "type": "string"
  21132. },
  21133. "tradedate": {
  21134. "description": "交易日(登记日)",
  21135. "type": "string"
  21136. },
  21137. "unitid": {
  21138. "description": "品类单位id",
  21139. "type": "integer"
  21140. },
  21141. "userid": {
  21142. "description": "机构id",
  21143. "type": "integer"
  21144. },
  21145. "wrstandardcode": {
  21146. "description": "品类代码",
  21147. "type": "string"
  21148. },
  21149. "wrstandardid": {
  21150. "description": "品类id",
  21151. "type": "integer"
  21152. },
  21153. "wrstandardname": {
  21154. "description": "品类名称",
  21155. "type": "string"
  21156. }
  21157. }
  21158. },
  21159. "models.Ermcp3ExposureParamChLog": {
  21160. "type": "object",
  21161. "properties": {
  21162. "accountid": {
  21163. "description": "期货账户ID (作废, 默认为0)",
  21164. "type": "integer"
  21165. },
  21166. "aftervalue": {
  21167. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21168. "type": "number"
  21169. },
  21170. "areauserid": {
  21171. "description": "所属机构\\交易用户ID",
  21172. "type": "integer"
  21173. },
  21174. "beforevalue": {
  21175. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21176. "type": "number"
  21177. },
  21178. "begindate": {
  21179. "description": "开始交易日",
  21180. "type": "string"
  21181. },
  21182. "changelogtype": {
  21183. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21184. "type": "integer"
  21185. },
  21186. "curvalue": {
  21187. "description": "当前套保\\套利量(套保总量|套利总量)",
  21188. "type": "number"
  21189. },
  21190. "diffvalue": {
  21191. "description": "应套保总量变化量",
  21192. "type": "number"
  21193. },
  21194. "enddate": {
  21195. "description": "结束交易日",
  21196. "type": "string"
  21197. },
  21198. "logdatetime": {
  21199. "description": "流水日期",
  21200. "type": "string"
  21201. },
  21202. "logid": {
  21203. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21204. "type": "string"
  21205. },
  21206. "middlegoodscode": {
  21207. "description": "套保品种代码",
  21208. "type": "string"
  21209. },
  21210. "middlegoodsid": {
  21211. "description": "套保品种",
  21212. "type": "integer"
  21213. },
  21214. "middlegoodsname": {
  21215. "description": "套保品种名称",
  21216. "type": "string"
  21217. },
  21218. "paramaftervalue": {
  21219. "description": "参数变更后(调整后参数值)",
  21220. "type": "number"
  21221. },
  21222. "parambeforevalue": {
  21223. "description": "参数变更前(调整前参数值)",
  21224. "type": "number"
  21225. },
  21226. "reckondate": {
  21227. "description": "交易日(reckondate)",
  21228. "type": "string"
  21229. },
  21230. "tradedate": {
  21231. "description": "交易日(yyyyMMdd)",
  21232. "type": "string"
  21233. }
  21234. }
  21235. },
  21236. "models.Ermcp3ExpourseReport": {
  21237. "type": "object",
  21238. "properties": {
  21239. "accountid": {
  21240. "description": "期货账户ID (作废, 默认为0)",
  21241. "type": "integer"
  21242. },
  21243. "accountname": {
  21244. "description": "机构名称",
  21245. "type": "string"
  21246. },
  21247. "arbitrageqty": {
  21248. "description": "套利量",
  21249. "type": "number"
  21250. },
  21251. "areauserid": {
  21252. "description": "所属机构\\交易用户ID",
  21253. "type": "integer"
  21254. },
  21255. "begindate": {
  21256. "description": "开始交易日",
  21257. "type": "string"
  21258. },
  21259. "buyfutureqty": {
  21260. "description": "买入期货数量",
  21261. "type": "number"
  21262. },
  21263. "buyplanqty": {
  21264. "description": "采购计划数量",
  21265. "type": "number"
  21266. },
  21267. "buypricedqty": {
  21268. "description": "采购合同已定价数量",
  21269. "type": "number"
  21270. },
  21271. "cycletime": {
  21272. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21273. "type": "string"
  21274. },
  21275. "cycletype": {
  21276. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21277. "type": "integer"
  21278. },
  21279. "diffexposure": {
  21280. "description": "变动量(套保敞口)",
  21281. "type": "number"
  21282. },
  21283. "difffutuqty": {
  21284. "description": "变动量(期货)",
  21285. "type": "number"
  21286. },
  21287. "diffhedgeqty": {
  21288. "description": "变动量(现货应套保总量)",
  21289. "type": "number"
  21290. },
  21291. "diffmgqtya": {
  21292. "description": "套保变动量",
  21293. "type": "number"
  21294. },
  21295. "diffmgqtyb": {
  21296. "description": "套利变动量",
  21297. "type": "number"
  21298. },
  21299. "diffneedqty": {
  21300. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  21301. "type": "number"
  21302. },
  21303. "diffqty": {
  21304. "description": "变动量(总敞口)",
  21305. "type": "number"
  21306. },
  21307. "diffspotqty": {
  21308. "description": "变动量(现货) | 除税变动量",
  21309. "type": "number"
  21310. },
  21311. "enddate": {
  21312. "description": "结束交易日",
  21313. "type": "string"
  21314. },
  21315. "enumdicname": {
  21316. "description": "单位名称",
  21317. "type": "string"
  21318. },
  21319. "hedgeqty": {
  21320. "description": "套保量",
  21321. "type": "number"
  21322. },
  21323. "mgneedhedgeratio": {
  21324. "description": "套保比例(套保品的)",
  21325. "type": "number"
  21326. },
  21327. "middlegoodsid": {
  21328. "description": "套保品种ID",
  21329. "type": "integer"
  21330. },
  21331. "middlegoodsname": {
  21332. "description": "套保商品名称",
  21333. "type": "string"
  21334. },
  21335. "middlgoodscode": {
  21336. "description": "套保商品代码",
  21337. "type": "string"
  21338. },
  21339. "needarbitrageqty": {
  21340. "description": "应套利量",
  21341. "type": "number"
  21342. },
  21343. "needarbitrageratio": {
  21344. "description": "套利比例(套保品的)",
  21345. "type": "number"
  21346. },
  21347. "needhedgeexposoure": {
  21348. "description": "应套保敞口(套保敞口)",
  21349. "type": "number"
  21350. },
  21351. "needhedgeqty": {
  21352. "description": "应套保量",
  21353. "type": "number"
  21354. },
  21355. "needhedgeratio": {
  21356. "description": "应套保敞口比例",
  21357. "type": "number"
  21358. },
  21359. "needqty": {
  21360. "description": "应套总量 = 应套保量 + 应套利量",
  21361. "type": "number"
  21362. },
  21363. "oriarbitrageqty": {
  21364. "description": "期初套利量",
  21365. "type": "number"
  21366. },
  21367. "oribuyfutureqty": {
  21368. "description": "期初买入期货数量",
  21369. "type": "number"
  21370. },
  21371. "oribuyplanqty": {
  21372. "description": "期初采购计划数量",
  21373. "type": "number"
  21374. },
  21375. "oribuypricedqty": {
  21376. "description": "期初采购合同已定价数量",
  21377. "type": "number"
  21378. },
  21379. "orihedgeqty": {
  21380. "description": "期初套保量",
  21381. "type": "number"
  21382. },
  21383. "orineedarbitrageqty": {
  21384. "description": "期初应套利量",
  21385. "type": "number"
  21386. },
  21387. "orineedhedgeexposoure": {
  21388. "description": "期初应套保敞口",
  21389. "type": "number"
  21390. },
  21391. "orineedhedgeqty": {
  21392. "description": "期初应套保量",
  21393. "type": "number"
  21394. },
  21395. "orisellfutureqty": {
  21396. "description": "期初卖出期货数量",
  21397. "type": "number"
  21398. },
  21399. "orisellplanqty": {
  21400. "description": "期初销售计划数量",
  21401. "type": "number"
  21402. },
  21403. "orisellpricedqty": {
  21404. "description": "期初销售合同已定价数量",
  21405. "type": "number"
  21406. },
  21407. "oritotalexposure": {
  21408. "description": "期初实时总敞口",
  21409. "type": "number"
  21410. },
  21411. "oritotalfutureqty": {
  21412. "description": "期初期货头寸总量",
  21413. "type": "number"
  21414. },
  21415. "oritotalneedhedgeqty": {
  21416. "description": "期初应套保总量",
  21417. "type": "number"
  21418. },
  21419. "oritotalspotqty": {
  21420. "description": "期初现货头寸总量",
  21421. "type": "number"
  21422. },
  21423. "reckondate": {
  21424. "description": "日照时期(yyyyMMdd)",
  21425. "type": "string"
  21426. },
  21427. "sellfutureqty": {
  21428. "description": "卖出期货数量",
  21429. "type": "number"
  21430. },
  21431. "sellplanqty": {
  21432. "description": "销售计划数量",
  21433. "type": "number"
  21434. },
  21435. "sellpricedqty": {
  21436. "description": "销售合同已定价数量",
  21437. "type": "number"
  21438. },
  21439. "totalexposure": {
  21440. "description": "实时总敞口(总敞口)",
  21441. "type": "number"
  21442. },
  21443. "totalfutureqty": {
  21444. "description": "期货头寸总量(期货总量)",
  21445. "type": "number"
  21446. },
  21447. "totalhedgeratio": {
  21448. "description": "敞口比例",
  21449. "type": "number"
  21450. },
  21451. "totalneedhedgeqty": {
  21452. "description": "应套保总量(现货应套保总量)",
  21453. "type": "number"
  21454. },
  21455. "totalspotqty": {
  21456. "description": "现货头寸总量 | 除税总量",
  21457. "type": "number"
  21458. },
  21459. "unitid": {
  21460. "description": "单位id",
  21461. "type": "integer"
  21462. },
  21463. "updatetime": {
  21464. "description": "更新时间",
  21465. "type": "string"
  21466. }
  21467. }
  21468. },
  21469. "models.Ermcp3FinanceReport": {
  21470. "type": "object",
  21471. "properties": {
  21472. "accountname": {
  21473. "description": "机构名称",
  21474. "type": "string"
  21475. },
  21476. "areauserid": {
  21477. "description": "所属机构\\交易用户ID",
  21478. "type": "integer"
  21479. },
  21480. "begindate": {
  21481. "description": "开始交易日",
  21482. "type": "string"
  21483. },
  21484. "biztype": {
  21485. "description": "业务类型 - 1:套保 2:套利",
  21486. "type": "integer"
  21487. },
  21488. "brandname": {
  21489. "description": "品牌名称",
  21490. "type": "string"
  21491. },
  21492. "buypreinvoicedamount": {
  21493. "description": "采购预收票额(预收票额)",
  21494. "type": "number"
  21495. },
  21496. "buyprepaidamount": {
  21497. "description": "采购预付款额(预付货款额)",
  21498. "type": "number"
  21499. },
  21500. "buytodayinvoiceamount": {
  21501. "description": "采购今收票额(今收票额)",
  21502. "type": "number"
  21503. },
  21504. "buytodayrefundamount": {
  21505. "description": "采购今收退款额(今收退款额)",
  21506. "type": "number"
  21507. },
  21508. "buytodaysettleamount": {
  21509. "description": "采购今付款额(今付货款额)",
  21510. "type": "number"
  21511. },
  21512. "buyuninvoicedamount": {
  21513. "description": "采购应收票额(应收票额)",
  21514. "type": "number"
  21515. },
  21516. "buyunpaidamount": {
  21517. "description": "采购应付款额(应付货款额)",
  21518. "type": "number"
  21519. },
  21520. "currencyid": {
  21521. "description": "结算币种ID",
  21522. "type": "integer"
  21523. },
  21524. "currencyname": {
  21525. "description": "币种名称",
  21526. "type": "string"
  21527. },
  21528. "cycletime": {
  21529. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21530. "type": "string"
  21531. },
  21532. "cycletype": {
  21533. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21534. "type": "integer"
  21535. },
  21536. "deliverygoodscode": {
  21537. "description": "现货品种代码",
  21538. "type": "string"
  21539. },
  21540. "deliverygoodsid": {
  21541. "description": "现货品种ID",
  21542. "type": "integer"
  21543. },
  21544. "deliverygoodsname": {
  21545. "description": "现货品种名称",
  21546. "type": "string"
  21547. },
  21548. "enddate": {
  21549. "description": "结束交易日",
  21550. "type": "string"
  21551. },
  21552. "reckondate": {
  21553. "description": "日照时期(yyyyMMdd)",
  21554. "type": "string"
  21555. },
  21556. "sellpreinvoicedamount": {
  21557. "description": "销售预开票额(预开票额)",
  21558. "type": "number"
  21559. },
  21560. "sellprepaidamount": {
  21561. "description": "销售预收款额(预收货款额)",
  21562. "type": "number"
  21563. },
  21564. "selltodayinvoiceamount": {
  21565. "description": "销售今开票额(今开票额)",
  21566. "type": "number"
  21567. },
  21568. "selltodayrefundamount": {
  21569. "description": "销售今付退款额(今付退款额)",
  21570. "type": "number"
  21571. },
  21572. "selltodaysettleamount": {
  21573. "description": "销售今收款额(今收货款额)",
  21574. "type": "number"
  21575. },
  21576. "selluninvoicedamount": {
  21577. "description": "销售应开票额(应开票额)",
  21578. "type": "number"
  21579. },
  21580. "sellunpaidamount": {
  21581. "description": "销售应收款额(应收货款额)",
  21582. "type": "number"
  21583. },
  21584. "spotgoodsbrandid": {
  21585. "description": "现货品牌ID",
  21586. "type": "integer"
  21587. },
  21588. "todaypaysum": {
  21589. "description": "今付款合计",
  21590. "type": "number"
  21591. },
  21592. "todayreceivesum": {
  21593. "description": "今收款合计",
  21594. "type": "number"
  21595. },
  21596. "updatetime": {
  21597. "description": "更新时间",
  21598. "type": "string"
  21599. },
  21600. "wrfactortypeid": {
  21601. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21602. "type": "integer"
  21603. },
  21604. "wrstandardcode": {
  21605. "description": "品类代码",
  21606. "type": "string"
  21607. },
  21608. "wrstandardid": {
  21609. "description": "现货商品ID",
  21610. "type": "integer"
  21611. },
  21612. "wrstandardname": {
  21613. "description": "品类名称",
  21614. "type": "string"
  21615. }
  21616. }
  21617. },
  21618. "models.Ermcp3GoodsGroup": {
  21619. "type": "object",
  21620. "required": [
  21621. "areauserid"
  21622. ],
  21623. "properties": {
  21624. "agreeunit": {
  21625. "description": "合约单位",
  21626. "type": "number"
  21627. },
  21628. "areauserid": {
  21629. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21630. "type": "integer"
  21631. },
  21632. "canshort": {
  21633. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21634. "type": "integer"
  21635. },
  21636. "closepricemode": {
  21637. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21638. "type": "integer"
  21639. },
  21640. "createtime": {
  21641. "description": "创建时间",
  21642. "type": "string"
  21643. },
  21644. "creatorid": {
  21645. "description": "创建人",
  21646. "type": "integer"
  21647. },
  21648. "currencyid": {
  21649. "description": "报价货币ID",
  21650. "type": "integer"
  21651. },
  21652. "decimalplace": {
  21653. "description": "报价小数位",
  21654. "type": "integer"
  21655. },
  21656. "enumdicname": {
  21657. "description": "单位名称",
  21658. "type": "string"
  21659. },
  21660. "exchangefullname": {
  21661. "description": "交易所全称",
  21662. "type": "string"
  21663. },
  21664. "excludecfg": {
  21665. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21666. "type": "integer"
  21667. },
  21668. "exexchangecode": {
  21669. "description": "交易所代码",
  21670. "type": "string"
  21671. },
  21672. "exexchangeid": {
  21673. "description": "外部交易所ID[通道交易]",
  21674. "type": "integer"
  21675. },
  21676. "exexchangename": {
  21677. "description": "交易所名称",
  21678. "type": "string"
  21679. },
  21680. "goodsgroupid": {
  21681. "description": "商品组ID(自增ID)",
  21682. "type": "integer"
  21683. },
  21684. "goodsgroupname": {
  21685. "description": "商品组名称",
  21686. "type": "string"
  21687. },
  21688. "goodsgroupstatus": {
  21689. "description": "商品组状态 - 1:正常 2:注销",
  21690. "type": "integer"
  21691. },
  21692. "goodunitid": {
  21693. "description": "报价单位ID",
  21694. "type": "integer"
  21695. },
  21696. "groupcategroyid": {
  21697. "description": "品种分类ID",
  21698. "type": "integer"
  21699. },
  21700. "innerdealmode": {
  21701. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21702. "type": "integer"
  21703. },
  21704. "marketid": {
  21705. "description": "所属市场ID",
  21706. "type": "integer"
  21707. },
  21708. "modifierid": {
  21709. "description": "修改人",
  21710. "type": "integer"
  21711. },
  21712. "modifytime": {
  21713. "description": "修改时间",
  21714. "type": "string"
  21715. },
  21716. "outerdealmode": {
  21717. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21718. "type": "integer"
  21719. },
  21720. "outergroupcode": {
  21721. "description": "外部商品组代码[通道交易]",
  21722. "type": "string"
  21723. },
  21724. "quoteminunit": {
  21725. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21726. "type": "integer"
  21727. },
  21728. "quotesourcegroupid": {
  21729. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21730. "type": "integer"
  21731. },
  21732. "syncgoodsqty": {
  21733. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21734. "type": "integer"
  21735. }
  21736. }
  21737. },
  21738. "models.Ermcp3HPMiddleGoods": {
  21739. "type": "object",
  21740. "properties": {
  21741. "biztype": {
  21742. "description": "业务类型 1:套保 2:套利",
  21743. "type": "integer"
  21744. },
  21745. "contracttype": {
  21746. "description": "合同类型 1:采购 -1:销售",
  21747. "type": "integer"
  21748. },
  21749. "convertratio": {
  21750. "description": "折算系数",
  21751. "type": "number"
  21752. },
  21753. "customername": {
  21754. "description": "对手手名称",
  21755. "type": "string"
  21756. },
  21757. "customeruserid": {
  21758. "description": "对手id",
  21759. "type": "integer"
  21760. },
  21761. "enumdicname": {
  21762. "description": "现货单位名称",
  21763. "type": "string"
  21764. },
  21765. "hedgeplanid": {
  21766. "description": "计划id",
  21767. "type": "string"
  21768. },
  21769. "hedgeplanno": {
  21770. "description": "计划编号",
  21771. "type": "string"
  21772. },
  21773. "middlegoodsid": {
  21774. "description": "套保品种ID",
  21775. "type": "integer"
  21776. },
  21777. "middlegoodsplanqty3": {
  21778. "description": "应套保计划量",
  21779. "type": "number"
  21780. },
  21781. "needhedgeratio": {
  21782. "description": "套保比例",
  21783. "type": "number"
  21784. },
  21785. "pricedqty": {
  21786. "description": "已定价量",
  21787. "type": "number"
  21788. },
  21789. "relatedmiddlegoodsqty": {
  21790. "description": "已关联量(套保品种)(期货)",
  21791. "type": "number"
  21792. },
  21793. "unitid": {
  21794. "description": "现货单位id",
  21795. "type": "integer"
  21796. },
  21797. "userid": {
  21798. "description": "用户id",
  21799. "type": "integer"
  21800. },
  21801. "vatrate": {
  21802. "description": "增值税率",
  21803. "type": "number"
  21804. },
  21805. "wrstandardcode": {
  21806. "description": "现货商品代码",
  21807. "type": "string"
  21808. },
  21809. "wrstandardid": {
  21810. "description": "现货商品id",
  21811. "type": "integer"
  21812. },
  21813. "wrstandardname": {
  21814. "description": "现货商品名称",
  21815. "type": "string"
  21816. }
  21817. }
  21818. },
  21819. "models.Ermcp3HedgePlan": {
  21820. "type": "object",
  21821. "properties": {
  21822. "accountid": {
  21823. "description": "资金账号",
  21824. "type": "integer"
  21825. },
  21826. "areauserid": {
  21827. "description": "用户ID",
  21828. "type": "integer"
  21829. },
  21830. "auditid": {
  21831. "description": "审核id",
  21832. "type": "integer"
  21833. },
  21834. "auditname": {
  21835. "description": "审核人名称",
  21836. "type": "string"
  21837. },
  21838. "auditremark": {
  21839. "description": "审核备注",
  21840. "type": "string"
  21841. },
  21842. "auditsrc": {
  21843. "description": "审核来源 1-管理端 2-终端",
  21844. "type": "integer"
  21845. },
  21846. "audittime": {
  21847. "description": "审核时间",
  21848. "type": "string"
  21849. },
  21850. "contracttype": {
  21851. "description": "计划类型 - 1:采购 -1:销售",
  21852. "type": "integer"
  21853. },
  21854. "convertfactor": {
  21855. "description": "标仓系数",
  21856. "type": "number"
  21857. },
  21858. "createtime": {
  21859. "description": "创建时间",
  21860. "type": "string"
  21861. },
  21862. "currencyid": {
  21863. "description": "币种id",
  21864. "type": "integer"
  21865. },
  21866. "currencyname": {
  21867. "description": "币种名称",
  21868. "type": "string"
  21869. },
  21870. "deliverygoodscode": {
  21871. "description": "现货品种代码",
  21872. "type": "string"
  21873. },
  21874. "deliverygoodsid": {
  21875. "description": "现货品种ID",
  21876. "type": "integer"
  21877. },
  21878. "deliverygoodsname": {
  21879. "description": "现货品种名称",
  21880. "type": "string"
  21881. },
  21882. "enumdicname": {
  21883. "description": "单位名称(现货商品)",
  21884. "type": "string"
  21885. },
  21886. "hedgeplanid": {
  21887. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21888. "type": "string"
  21889. },
  21890. "hedgeplanno": {
  21891. "description": "套保计划编号(名称)",
  21892. "type": "string"
  21893. },
  21894. "hedgeplanstatus": {
  21895. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21896. "type": "integer"
  21897. },
  21898. "planqty": {
  21899. "description": "计划数量",
  21900. "type": "number"
  21901. },
  21902. "plantime": {
  21903. "description": "计划时间",
  21904. "type": "string"
  21905. },
  21906. "producttype": {
  21907. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21908. "type": "integer"
  21909. },
  21910. "remark": {
  21911. "description": "备注",
  21912. "type": "string"
  21913. },
  21914. "spotgoodsdesc": {
  21915. "description": "商品型号",
  21916. "type": "string"
  21917. },
  21918. "taaccountname": {
  21919. "description": "资金账号名称",
  21920. "type": "string"
  21921. },
  21922. "tradeuserid": {
  21923. "description": "交易用户id",
  21924. "type": "integer"
  21925. },
  21926. "tradeusername": {
  21927. "description": "交易用户名称",
  21928. "type": "string"
  21929. },
  21930. "unitid": {
  21931. "description": "单位id(现货商品)",
  21932. "type": "integer"
  21933. },
  21934. "updatetime": {
  21935. "description": "更新时间",
  21936. "type": "string"
  21937. },
  21938. "vatrate": {
  21939. "description": "增值税率",
  21940. "type": "number"
  21941. },
  21942. "wrstandardcode": {
  21943. "description": "品类代码",
  21944. "type": "string"
  21945. },
  21946. "wrstandardid": {
  21947. "description": "品类id",
  21948. "type": "integer"
  21949. },
  21950. "wrstandardname": {
  21951. "description": "品类名称",
  21952. "type": "string"
  21953. },
  21954. "wrunitid": {
  21955. "description": "品类单位id",
  21956. "type": "integer"
  21957. },
  21958. "wrunitidame": {
  21959. "description": "品类单位名称",
  21960. "type": "string"
  21961. }
  21962. }
  21963. },
  21964. "models.Ermcp3InnerTradeLink": {
  21965. "type": "object",
  21966. "properties": {
  21967. "accountid": {
  21968. "description": "期货账号代码 | 资金账号ID",
  21969. "type": "integer"
  21970. },
  21971. "buyorsell": {
  21972. "description": "方向 - 0:买 1:卖",
  21973. "type": "integer"
  21974. },
  21975. "channelbuildtype": {
  21976. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21977. "type": "integer"
  21978. },
  21979. "currencyid": {
  21980. "description": "币种id",
  21981. "type": "integer"
  21982. },
  21983. "currencyname": {
  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. "outtradeid": {
  22000. "description": "外部成交单号",
  22001. "type": "string"
  22002. },
  22003. "taname": {
  22004. "description": "期货账户名称",
  22005. "type": "string"
  22006. },
  22007. "tradeid": {
  22008. "description": "期货单号 | 内部成交单号(108+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": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  22021. "type": "string"
  22022. },
  22023. "username": {
  22024. "description": "用户名称",
  22025. "type": "string"
  22026. }
  22027. }
  22028. },
  22029. "models.Ermcp3OutTradeLink": {
  22030. "type": "object",
  22031. "properties": {
  22032. "buyorsell": {
  22033. "description": "买卖方向 - 0:买 1:卖",
  22034. "type": "integer"
  22035. },
  22036. "channelbuildtype": {
  22037. "description": "开平标志- 0:无 1:建仓 2:平仓",
  22038. "type": "integer"
  22039. },
  22040. "currencyname": {
  22041. "description": "币种名称",
  22042. "type": "string"
  22043. },
  22044. "exexchangecode": {
  22045. "description": "交易所代码",
  22046. "type": "string"
  22047. },
  22048. "exexchangename": {
  22049. "description": "交易所名称",
  22050. "type": "string"
  22051. },
  22052. "goodscode": {
  22053. "description": "合约代码",
  22054. "type": "string"
  22055. },
  22056. "goodsid": {
  22057. "description": "合约id",
  22058. "type": "integer"
  22059. },
  22060. "goodsname": {
  22061. "description": "合约名称",
  22062. "type": "string"
  22063. },
  22064. "hasinnerorder": {
  22065. "description": "是否有内部单关联 - 0:无 1:有",
  22066. "type": "integer"
  22067. },
  22068. "hedgeaccountcode": {
  22069. "description": "外部账号 | 对冲账号",
  22070. "type": "string"
  22071. },
  22072. "outtradeid": {
  22073. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22074. "type": "string"
  22075. },
  22076. "tradeprice": {
  22077. "description": "成交价格",
  22078. "type": "number"
  22079. },
  22080. "tradeqty": {
  22081. "description": "成交数量",
  22082. "type": "integer"
  22083. },
  22084. "tradetime": {
  22085. "description": "成交时间",
  22086. "type": "string"
  22087. }
  22088. }
  22089. },
  22090. "models.Ermcp3PaAreaAuditCfg": {
  22091. "type": "object",
  22092. "properties": {
  22093. "areauserid": {
  22094. "description": "用户ID",
  22095. "type": "integer"
  22096. },
  22097. "buyinauditflag": {
  22098. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  22099. "type": "integer"
  22100. },
  22101. "costratioauditflag": {
  22102. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  22103. "type": "integer"
  22104. },
  22105. "customerauditflag": {
  22106. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  22107. "type": "integer"
  22108. },
  22109. "deliveryauditflag": {
  22110. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22111. "type": "integer"
  22112. },
  22113. "invoiceauditflag": {
  22114. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22115. "type": "integer"
  22116. },
  22117. "mgneedhedgeratioauditflag": {
  22118. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22119. "type": "integer"
  22120. },
  22121. "moneyauditflag": {
  22122. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22123. "type": "integer"
  22124. },
  22125. "operatorid": {
  22126. "description": "操作人",
  22127. "type": "integer"
  22128. },
  22129. "operatorsrc": {
  22130. "description": "操作来源 - 1:管理端 2:终端",
  22131. "type": "integer"
  22132. },
  22133. "pointpriceauditflag": {
  22134. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22135. "type": "integer"
  22136. },
  22137. "produceinauditflag": {
  22138. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22139. "type": "integer"
  22140. },
  22141. "produceoutauditflag": {
  22142. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22143. "type": "integer"
  22144. },
  22145. "selloutauditflag": {
  22146. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22147. "type": "integer"
  22148. },
  22149. "sgconvertratioauditflag": {
  22150. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22151. "type": "integer"
  22152. },
  22153. "sgvtaratioauditflag": {
  22154. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22155. "type": "integer"
  22156. },
  22157. "spotcontractauditflag": {
  22158. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22159. "type": "integer"
  22160. },
  22161. "updatetime": {
  22162. "description": "更新时间",
  22163. "type": "string"
  22164. }
  22165. }
  22166. },
  22167. "models.Ermcp3PaAreaSubject": {
  22168. "type": "object",
  22169. "properties": {
  22170. "areauserid": {
  22171. "description": "所属机构",
  22172. "type": "integer"
  22173. },
  22174. "canmodify": {
  22175. "description": "是否可修改 - 0:否 1:是",
  22176. "type": "integer"
  22177. },
  22178. "createtime": {
  22179. "description": "创建时间",
  22180. "type": "string"
  22181. },
  22182. "creatorid": {
  22183. "description": "创建人ID",
  22184. "type": "string"
  22185. },
  22186. "creatorsrc": {
  22187. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22188. "type": "integer"
  22189. },
  22190. "modifierid": {
  22191. "description": "修改人",
  22192. "type": "string"
  22193. },
  22194. "modifiersrc": {
  22195. "description": "修改人来源 - 1:管理端 2:终端",
  22196. "type": "integer"
  22197. },
  22198. "modifytime": {
  22199. "description": "修改时间",
  22200. "type": "string"
  22201. },
  22202. "parentsubjectid": {
  22203. "description": "上级主体ID",
  22204. "type": "string"
  22205. },
  22206. "remark": {
  22207. "description": "备注",
  22208. "type": "string"
  22209. },
  22210. "subjectid": {
  22211. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22212. "type": "integer"
  22213. },
  22214. "subjectname": {
  22215. "description": "主体名称",
  22216. "type": "string"
  22217. },
  22218. "subjectstatus": {
  22219. "description": "主体状态 - 1:正常 2: 停用",
  22220. "type": "integer"
  22221. },
  22222. "subjecttype": {
  22223. "description": "主体类型 - 1:交易主体 2:业务部门",
  22224. "type": "integer"
  22225. }
  22226. }
  22227. },
  22228. "models.Ermcp3PaTradeLink": {
  22229. "type": "object",
  22230. "properties": {
  22231. "accountid": {
  22232. "description": "期货账户代码 | 账号ID",
  22233. "type": "integer"
  22234. },
  22235. "agreeunit": {
  22236. "description": "合约乘数",
  22237. "type": "number"
  22238. },
  22239. "buyorsell": {
  22240. "description": "方向 - 0:买 1:卖",
  22241. "type": "integer"
  22242. },
  22243. "channelbuildtype": {
  22244. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22245. "type": "integer"
  22246. },
  22247. "charge": {
  22248. "description": "手续费",
  22249. "type": "number"
  22250. },
  22251. "closepl": {
  22252. "description": "平仓盈亏",
  22253. "type": "number"
  22254. },
  22255. "closetype": {
  22256. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22257. "type": "integer"
  22258. },
  22259. "convertratio": {
  22260. "description": "折算系数",
  22261. "type": "number"
  22262. },
  22263. "enumdicname": {
  22264. "description": "单位名称",
  22265. "type": "string"
  22266. },
  22267. "executeprice": {
  22268. "description": "执行价 [期权]",
  22269. "type": "integer"
  22270. },
  22271. "goodscode": {
  22272. "description": "合约代码",
  22273. "type": "string"
  22274. },
  22275. "goodsgroupid": {
  22276. "description": "对冲品种ID[期货合约商品组ID]",
  22277. "type": "integer"
  22278. },
  22279. "goodsid": {
  22280. "description": "商品ID",
  22281. "type": "integer"
  22282. },
  22283. "goodsname": {
  22284. "description": "合约名称",
  22285. "type": "string"
  22286. },
  22287. "goodunitid": {
  22288. "description": "单位id",
  22289. "type": "integer"
  22290. },
  22291. "hedgeflag": {
  22292. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22293. "type": "integer"
  22294. },
  22295. "marketid": {
  22296. "description": "市场ID",
  22297. "type": "integer"
  22298. },
  22299. "middlegoodsid": {
  22300. "description": "套保品种ID",
  22301. "type": "integer"
  22302. },
  22303. "middlegoodsqty": {
  22304. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22305. "type": "number"
  22306. },
  22307. "optioncode": {
  22308. "description": "期权代码 [期权]",
  22309. "type": "string"
  22310. },
  22311. "ordertype": {
  22312. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22313. "type": "integer"
  22314. },
  22315. "ordertypename": {
  22316. "description": "订单类型",
  22317. "type": "string"
  22318. },
  22319. "parentaccountid": {
  22320. "description": "所属母账户",
  22321. "type": "integer"
  22322. },
  22323. "premium": {
  22324. "description": "权利金 [期权]",
  22325. "type": "number"
  22326. },
  22327. "relatedlot": {
  22328. "description": "已关联数量(已关联数量手) | db:关联手数",
  22329. "type": "number"
  22330. },
  22331. "relatedouttradeid": {
  22332. "description": "关联外部成交单ID",
  22333. "type": "string"
  22334. },
  22335. "relatedqty": {
  22336. "description": "关联数量",
  22337. "type": "number"
  22338. },
  22339. "spotcontractid": {
  22340. "description": "现货合同ID [4:套期保值\\10\\11]",
  22341. "type": "string"
  22342. },
  22343. "taname": {
  22344. "description": "期货账户名称",
  22345. "type": "string"
  22346. },
  22347. "tradeamount": {
  22348. "description": "成交金额(账户)",
  22349. "type": "number"
  22350. },
  22351. "tradedate": {
  22352. "description": "交易日(yyyyMMdd)",
  22353. "type": "string"
  22354. },
  22355. "tradeid": {
  22356. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22357. "type": "string"
  22358. },
  22359. "tradelot": {
  22360. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22361. "type": "integer"
  22362. },
  22363. "tradeprice": {
  22364. "description": "成交价格",
  22365. "type": "number"
  22366. },
  22367. "tradetime": {
  22368. "description": "时间 | db:成交时间",
  22369. "type": "string"
  22370. },
  22371. "tradetype": {
  22372. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22373. "type": "integer"
  22374. },
  22375. "userid": {
  22376. "description": "所属机构 - 所属母账户的UserID",
  22377. "type": "string"
  22378. },
  22379. "username": {
  22380. "description": "用户名称",
  22381. "type": "string"
  22382. }
  22383. }
  22384. },
  22385. "models.Ermcp3ParamChangeApp": {
  22386. "type": "object",
  22387. "properties": {
  22388. "aftervalue": {
  22389. "description": "变更后",
  22390. "type": "number"
  22391. },
  22392. "applicationid": {
  22393. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22394. "type": "string"
  22395. },
  22396. "applyid": {
  22397. "description": "申请人",
  22398. "type": "string"
  22399. },
  22400. "applyname": {
  22401. "description": "申请人名称(代码)",
  22402. "type": "string"
  22403. },
  22404. "applyremark": {
  22405. "description": "申请备注",
  22406. "type": "string"
  22407. },
  22408. "applysrc": {
  22409. "description": "申请来源 - 1:管理端 2:终端",
  22410. "type": "integer"
  22411. },
  22412. "applystatus": {
  22413. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22414. "type": "integer"
  22415. },
  22416. "applytime": {
  22417. "description": "申请时间",
  22418. "type": "string"
  22419. },
  22420. "areauserid": {
  22421. "description": "所属机构用户ID",
  22422. "type": "integer"
  22423. },
  22424. "auditid": {
  22425. "description": "审核人",
  22426. "type": "string"
  22427. },
  22428. "auditname": {
  22429. "description": "审核人名称(代码)",
  22430. "type": "string"
  22431. },
  22432. "auditremark": {
  22433. "description": "审核备注",
  22434. "type": "string"
  22435. },
  22436. "auditsrc": {
  22437. "description": "审核来源 - 1:管理端 2:终端",
  22438. "type": "integer"
  22439. },
  22440. "audittime": {
  22441. "description": "审核时间",
  22442. "type": "string"
  22443. },
  22444. "audittradedate": {
  22445. "description": "审核交易日(yyyyMMdd)",
  22446. "type": "string"
  22447. },
  22448. "beforevalue": {
  22449. "description": "变更前",
  22450. "type": "number"
  22451. },
  22452. "deliverygoodscode": {
  22453. "description": "品种代码",
  22454. "type": "string"
  22455. },
  22456. "deliverygoodsid": {
  22457. "description": "品种id",
  22458. "type": "integer"
  22459. },
  22460. "deliverygoodsname": {
  22461. "description": "品种名称",
  22462. "type": "string"
  22463. },
  22464. "middlegoodscode": {
  22465. "description": "套保品种代码",
  22466. "type": "string"
  22467. },
  22468. "middlegoodsid": {
  22469. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22470. "type": "integer"
  22471. },
  22472. "middlegoodsname": {
  22473. "description": "套保品种名称",
  22474. "type": "string"
  22475. },
  22476. "operatetype": {
  22477. "description": "操作类型 - 1:新增 2:修改",
  22478. "type": "integer"
  22479. },
  22480. "paramchangetype": {
  22481. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22482. "type": "integer"
  22483. },
  22484. "wrstandardcode": {
  22485. "description": "现货商品代码",
  22486. "type": "string"
  22487. },
  22488. "wrstandardid": {
  22489. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22490. "type": "integer"
  22491. },
  22492. "wrstandardname": {
  22493. "description": "现货商品名称",
  22494. "type": "string"
  22495. }
  22496. }
  22497. },
  22498. "models.Ermcp3RootUserAccount": {
  22499. "type": "object",
  22500. "properties": {
  22501. "accountname": {
  22502. "description": "账户名称(机构名称)",
  22503. "type": "string"
  22504. },
  22505. "accountstatus": {
  22506. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22507. "type": "integer"
  22508. },
  22509. "applysrc": {
  22510. "description": "申请来源 - 1:管理端 2:终端",
  22511. "type": "integer"
  22512. },
  22513. "auditremark": {
  22514. "description": "审核备注",
  22515. "type": "string"
  22516. },
  22517. "auditsrc": {
  22518. "description": "审核来源 - 1:管理端 2:终端",
  22519. "type": "integer"
  22520. },
  22521. "audittime": {
  22522. "description": "审核时间",
  22523. "type": "string"
  22524. },
  22525. "audituserid": {
  22526. "description": "审核人",
  22527. "type": "integer"
  22528. },
  22529. "broker": {
  22530. "description": "所属经纪人ID",
  22531. "type": "integer"
  22532. },
  22533. "canceltime": {
  22534. "description": "销户时间",
  22535. "type": "string"
  22536. },
  22537. "canceluserid": {
  22538. "description": "销户人",
  22539. "type": "integer"
  22540. },
  22541. "canrecommend": {
  22542. "description": "是否可推荐 - 0:不可 1;可",
  22543. "type": "integer"
  22544. },
  22545. "createtime": {
  22546. "description": "创建时间",
  22547. "type": "string"
  22548. },
  22549. "creatorid": {
  22550. "description": "创建人",
  22551. "type": "integer"
  22552. },
  22553. "hasauth": {
  22554. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22555. "type": "integer"
  22556. },
  22557. "isanonymous": {
  22558. "description": "是否匿名下单 - 0:否 1:是",
  22559. "type": "integer"
  22560. },
  22561. "maxinvestornum": {
  22562. "description": "最大用户数(经纪会员下投资者个数)",
  22563. "type": "integer"
  22564. },
  22565. "memberuserid": {
  22566. "description": "所属会员ID",
  22567. "type": "integer"
  22568. },
  22569. "modifierid": {
  22570. "description": "修改人",
  22571. "type": "integer"
  22572. },
  22573. "modifyremark": {
  22574. "description": "变更备注",
  22575. "type": "string"
  22576. },
  22577. "modifystatus": {
  22578. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22579. "type": "integer"
  22580. },
  22581. "modifytime": {
  22582. "description": "修改时间",
  22583. "type": "string"
  22584. },
  22585. "nickname": {
  22586. "description": "昵称",
  22587. "type": "string"
  22588. },
  22589. "parenttopuser": {
  22590. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22591. "type": "string"
  22592. },
  22593. "parentuserid": {
  22594. "description": "所属机构ID",
  22595. "type": "integer"
  22596. },
  22597. "reckonaccountid": {
  22598. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22599. "type": "integer"
  22600. },
  22601. "refercount": {
  22602. "description": "推荐总人数",
  22603. "type": "integer"
  22604. },
  22605. "refereeuserid": {
  22606. "description": "推荐人ID",
  22607. "type": "integer"
  22608. },
  22609. "refernum": {
  22610. "description": "推荐码",
  22611. "type": "string"
  22612. },
  22613. "rootuserid": {
  22614. "description": "根用户ID",
  22615. "type": "integer"
  22616. },
  22617. "subaccountlevel": {
  22618. "description": "子账户层数",
  22619. "type": "integer"
  22620. },
  22621. "subarealevelpath": {
  22622. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22623. "type": "string"
  22624. },
  22625. "userid": {
  22626. "description": "用户ID",
  22627. "type": "integer"
  22628. },
  22629. "usertype": {
  22630. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22631. "type": "integer"
  22632. }
  22633. }
  22634. },
  22635. "models.Ermcp3SCMiddleGoods": {
  22636. "type": "object",
  22637. "properties": {
  22638. "biztype": {
  22639. "description": "业务类型 1:套保 2:套利",
  22640. "type": "integer"
  22641. },
  22642. "contractno": {
  22643. "description": "合同编号",
  22644. "type": "string"
  22645. },
  22646. "contracttype": {
  22647. "description": "合同类型 1:采购 -1:销售",
  22648. "type": "integer"
  22649. },
  22650. "convertratio": {
  22651. "description": "折算系数",
  22652. "type": "number"
  22653. },
  22654. "customername": {
  22655. "description": "对手手名称",
  22656. "type": "string"
  22657. },
  22658. "customeruserid": {
  22659. "description": "对手id",
  22660. "type": "integer"
  22661. },
  22662. "deliverygoodscode": {
  22663. "description": "现货品种代码",
  22664. "type": "string"
  22665. },
  22666. "deliverygoodsid": {
  22667. "description": "现货品种ID",
  22668. "type": "integer"
  22669. },
  22670. "deliverygoodsname": {
  22671. "description": "现货品种名称",
  22672. "type": "string"
  22673. },
  22674. "enumdicname": {
  22675. "description": "现货单位名称",
  22676. "type": "string"
  22677. },
  22678. "middlegoodsid": {
  22679. "description": "套保品种ID",
  22680. "type": "integer"
  22681. },
  22682. "middlegoodspricedqty3": {
  22683. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22684. "type": "number"
  22685. },
  22686. "needhedgeratio": {
  22687. "description": "套保比例",
  22688. "type": "number"
  22689. },
  22690. "pricedqty": {
  22691. "description": "已定价量",
  22692. "type": "number"
  22693. },
  22694. "relatedmiddlegoodsqty": {
  22695. "description": "已关联量(套保品种)(期货)",
  22696. "type": "number"
  22697. },
  22698. "spotcontractid": {
  22699. "description": "合同编号",
  22700. "type": "string"
  22701. },
  22702. "unitid": {
  22703. "description": "现货单位id",
  22704. "type": "integer"
  22705. },
  22706. "userid": {
  22707. "description": "用户id",
  22708. "type": "integer"
  22709. },
  22710. "vatrate": {
  22711. "description": "增值税率",
  22712. "type": "number"
  22713. },
  22714. "wrstandardcode": {
  22715. "description": "现货商品代码",
  22716. "type": "string"
  22717. },
  22718. "wrstandardid": {
  22719. "description": "现货商品id",
  22720. "type": "integer"
  22721. },
  22722. "wrstandardname": {
  22723. "description": "现货商品名称",
  22724. "type": "string"
  22725. }
  22726. }
  22727. },
  22728. "models.Ermcp3SCMiddleGoodsReport": {
  22729. "type": "object",
  22730. "properties": {
  22731. "begindate": {
  22732. "description": "开始交易日",
  22733. "type": "string"
  22734. },
  22735. "contractno": {
  22736. "description": "合同编号",
  22737. "type": "string"
  22738. },
  22739. "contracttype": {
  22740. "description": "合同类型 1:采购 -1:销售",
  22741. "type": "integer"
  22742. },
  22743. "convertratio": {
  22744. "description": "期初均价",
  22745. "type": "number"
  22746. },
  22747. "cycletime": {
  22748. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22749. "type": "string"
  22750. },
  22751. "cycletype": {
  22752. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22753. "type": "integer"
  22754. },
  22755. "deliverygoodscode": {
  22756. "description": "品种代码",
  22757. "type": "string"
  22758. },
  22759. "deliverygoodsid": {
  22760. "description": "现货品种ID",
  22761. "type": "integer"
  22762. },
  22763. "deliverygoodsname": {
  22764. "description": "品种名称",
  22765. "type": "string"
  22766. },
  22767. "diffprice": {
  22768. "description": "期初均价",
  22769. "type": "number"
  22770. },
  22771. "diffqty": {
  22772. "description": "期初均价",
  22773. "type": "number"
  22774. },
  22775. "enddate": {
  22776. "description": "结束交易日",
  22777. "type": "string"
  22778. },
  22779. "hedgeplanqty": {
  22780. "description": "期初均价",
  22781. "type": "number"
  22782. },
  22783. "matchname": {
  22784. "description": "交易对手方(个人:用户名称 企业:简称)",
  22785. "type": "string"
  22786. },
  22787. "matchnickname": {
  22788. "description": "交易对手方昵称",
  22789. "type": "string"
  22790. },
  22791. "middlegoodscode": {
  22792. "description": "套保品种代码",
  22793. "type": "string"
  22794. },
  22795. "middlegoodsid": {
  22796. "description": "套保品种ID",
  22797. "type": "integer"
  22798. },
  22799. "middlegoodsname": {
  22800. "description": "套保品种名称",
  22801. "type": "string"
  22802. },
  22803. "middlegoodspricedqty": {
  22804. "description": "期初均价",
  22805. "type": "number"
  22806. },
  22807. "middlegoodspricedqty2": {
  22808. "description": "期初均价",
  22809. "type": "number"
  22810. },
  22811. "middlegoodspricedqty3": {
  22812. "description": "期初均价",
  22813. "type": "number"
  22814. },
  22815. "needhedgeratio": {
  22816. "description": "期初均价",
  22817. "type": "number"
  22818. },
  22819. "pricedamount": {
  22820. "description": "期初均价",
  22821. "type": "number"
  22822. },
  22823. "pricedamount2": {
  22824. "description": "期初均价",
  22825. "type": "number"
  22826. },
  22827. "pricedqty": {
  22828. "description": "期初均价",
  22829. "type": "number"
  22830. },
  22831. "reckondate": {
  22832. "description": "日照时期(yyyyMMdd)",
  22833. "type": "string"
  22834. },
  22835. "relatedmiddlegoodsamount": {
  22836. "description": "期初均价",
  22837. "type": "number"
  22838. },
  22839. "relatedmiddlegoodsqty": {
  22840. "description": "期初均价",
  22841. "type": "number"
  22842. },
  22843. "spotcontractid": {
  22844. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22845. "type": "string"
  22846. },
  22847. "todayavgfutuprice": {
  22848. "description": "期初均价",
  22849. "type": "number"
  22850. },
  22851. "todayavgprice": {
  22852. "description": "期初均价",
  22853. "type": "number"
  22854. },
  22855. "todayavgprice2": {
  22856. "description": "期初均价",
  22857. "type": "number"
  22858. },
  22859. "todaypricedamount": {
  22860. "description": "期初均价",
  22861. "type": "number"
  22862. },
  22863. "todaypricedamount2": {
  22864. "description": "期初均价",
  22865. "type": "number"
  22866. },
  22867. "todaypricedqty": {
  22868. "description": "期初均价",
  22869. "type": "number"
  22870. },
  22871. "todayrelatedfutureqty": {
  22872. "description": "期初均价",
  22873. "type": "number"
  22874. },
  22875. "todayrelatedmiddlegoodsamount": {
  22876. "description": "期初均价",
  22877. "type": "number"
  22878. },
  22879. "todayrelatedmiddlegoodsqty": {
  22880. "description": "期初均价",
  22881. "type": "number"
  22882. },
  22883. "updatetime": {
  22884. "description": "更新时间",
  22885. "type": "string"
  22886. },
  22887. "userid": {
  22888. "description": "合同所属用户id",
  22889. "type": "integer"
  22890. },
  22891. "vatrate": {
  22892. "description": "期初均价",
  22893. "type": "number"
  22894. },
  22895. "wrstandardcode": {
  22896. "description": "商品(品类) 代码",
  22897. "type": "string"
  22898. },
  22899. "wrstandardid": {
  22900. "description": "现货商品ID",
  22901. "type": "integer"
  22902. },
  22903. "wrstandardname": {
  22904. "description": "商品(品类) 名称",
  22905. "type": "string"
  22906. }
  22907. }
  22908. },
  22909. "models.Ermcp3SellBuyContract": {
  22910. "type": "object",
  22911. "properties": {
  22912. "accountid": {
  22913. "description": "期货账户id",
  22914. "type": "string"
  22915. },
  22916. "accountname": {
  22917. "description": "账户名称",
  22918. "type": "string"
  22919. },
  22920. "attachment": {
  22921. "description": "附件",
  22922. "type": "string"
  22923. },
  22924. "audittime": {
  22925. "description": "审核时间",
  22926. "type": "string"
  22927. },
  22928. "bizsubjectid": {
  22929. "description": "归属业务部门ID - SubjectID",
  22930. "type": "integer"
  22931. },
  22932. "biztype": {
  22933. "description": "业务类型 1-套保 2-套利",
  22934. "type": "integer"
  22935. },
  22936. "brandname": {
  22937. "description": "品牌名称",
  22938. "type": "string"
  22939. },
  22940. "contracctstatus": {
  22941. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22942. "type": "integer"
  22943. },
  22944. "contractmargin": {
  22945. "description": "合同保证金",
  22946. "type": "number"
  22947. },
  22948. "contractno": {
  22949. "description": "合同编号",
  22950. "type": "string"
  22951. },
  22952. "contracttype": {
  22953. "description": "合同类型 1-采购, -1-销售",
  22954. "type": "integer"
  22955. },
  22956. "convertfactor": {
  22957. "description": "标仓系数(品类)",
  22958. "type": "number"
  22959. },
  22960. "createtime": {
  22961. "description": "创建时间",
  22962. "type": "string"
  22963. },
  22964. "currencyid": {
  22965. "description": "币种id",
  22966. "type": "integer"
  22967. },
  22968. "currencyname": {
  22969. "description": "币种名称",
  22970. "type": "string"
  22971. },
  22972. "daikaiamount": {
  22973. "description": "应收(开)票额 | 未收票额",
  22974. "type": "number"
  22975. },
  22976. "deliveryenddate": {
  22977. "description": "交割结束日",
  22978. "type": "string"
  22979. },
  22980. "deliverygoodscode": {
  22981. "description": "现货品种代码",
  22982. "type": "string"
  22983. },
  22984. "deliverygoodsid": {
  22985. "description": "现货商品ID",
  22986. "type": "integer"
  22987. },
  22988. "deliverygoodsname": {
  22989. "description": "现货品种名称",
  22990. "type": "string"
  22991. },
  22992. "deliverystartdate": {
  22993. "description": "交割开始日",
  22994. "type": "string"
  22995. },
  22996. "enddate": {
  22997. "description": "点价结束日",
  22998. "type": "string"
  22999. },
  23000. "enumdicname": {
  23001. "description": "单位名称",
  23002. "type": "string"
  23003. },
  23004. "goodscode": {
  23005. "description": "点价商品代码",
  23006. "type": "string"
  23007. },
  23008. "goodsgroupid": {
  23009. "description": "点价商品组id",
  23010. "type": "integer"
  23011. },
  23012. "goodsid": {
  23013. "description": "点价商品ID",
  23014. "type": "integer"
  23015. },
  23016. "goodsname": {
  23017. "description": "点价商品名称",
  23018. "type": "string"
  23019. },
  23020. "invoiceamount": {
  23021. "description": "已开票额",
  23022. "type": "number"
  23023. },
  23024. "loanamount": {
  23025. "description": "贷款总额=已定价额+调整金额",
  23026. "type": "number"
  23027. },
  23028. "margin": {
  23029. "description": "保证金",
  23030. "type": "number"
  23031. },
  23032. "meruserid": {
  23033. "description": "跟单员id",
  23034. "type": "integer"
  23035. },
  23036. "meruserlogincode": {
  23037. "description": "跟单员登录代码",
  23038. "type": "string"
  23039. },
  23040. "merusername": {
  23041. "description": "跟单员名称",
  23042. "type": "string"
  23043. },
  23044. "nickname": {
  23045. "description": "账户昵称",
  23046. "type": "string"
  23047. },
  23048. "orireckonrealqty": {
  23049. "description": "应交收量",
  23050. "type": "number"
  23051. },
  23052. "payamount": {
  23053. "description": "已收付额(收款或付款)",
  23054. "type": "number"
  23055. },
  23056. "preinvoiceamount": {
  23057. "description": "预收(开)票额",
  23058. "type": "number"
  23059. },
  23060. "prepayamount": {
  23061. "description": "预收付额",
  23062. "type": "number"
  23063. },
  23064. "price": {
  23065. "description": "价格",
  23066. "type": "number"
  23067. },
  23068. "pricedamount": {
  23069. "description": "已定价额",
  23070. "type": "number"
  23071. },
  23072. "pricedavg": {
  23073. "description": "已点均价",
  23074. "type": "number"
  23075. },
  23076. "pricedqty": {
  23077. "description": "已定价量",
  23078. "type": "number"
  23079. },
  23080. "pricemove": {
  23081. "description": "升贴水",
  23082. "type": "number"
  23083. },
  23084. "pricetype": {
  23085. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23086. "type": "integer"
  23087. },
  23088. "producttype": {
  23089. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23090. "type": "integer"
  23091. },
  23092. "qty": {
  23093. "description": "合同量",
  23094. "type": "number"
  23095. },
  23096. "reckonadjustamount": {
  23097. "description": "调整金额",
  23098. "type": "number"
  23099. },
  23100. "reckonedamount": {
  23101. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  23102. "type": "number"
  23103. },
  23104. "reckonotheramount": {
  23105. "description": "其它费用",
  23106. "type": "number"
  23107. },
  23108. "reckonrealqty": {
  23109. "description": "已交收量",
  23110. "type": "number"
  23111. },
  23112. "remark": {
  23113. "description": "备注",
  23114. "type": "string"
  23115. },
  23116. "saleuserid": {
  23117. "description": "业务员id",
  23118. "type": "integer"
  23119. },
  23120. "saleuserlogincode": {
  23121. "description": "业务员登录代码",
  23122. "type": "string"
  23123. },
  23124. "saleusername": {
  23125. "description": "业务员名称",
  23126. "type": "string"
  23127. },
  23128. "spotcontractid": {
  23129. "description": "合同ID",
  23130. "type": "string"
  23131. },
  23132. "spotgoodsbrandid": {
  23133. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23134. "type": "integer"
  23135. },
  23136. "spotgoodsdesc": {
  23137. "description": "商品型号(商品规格)",
  23138. "type": "string"
  23139. },
  23140. "startdate": {
  23141. "description": "点价开始日",
  23142. "type": "string"
  23143. },
  23144. "subjectid": {
  23145. "description": "交易主体ID",
  23146. "type": "integer"
  23147. },
  23148. "subjectname": {
  23149. "description": "交易主体名称",
  23150. "type": "string"
  23151. },
  23152. "totalamount": {
  23153. "description": "合计总额",
  23154. "type": "number"
  23155. },
  23156. "tradeuserid": {
  23157. "description": "交易员id",
  23158. "type": "integer"
  23159. },
  23160. "tradeuserlogincode": {
  23161. "description": "交易员登录代码",
  23162. "type": "string"
  23163. },
  23164. "tradeusername": {
  23165. "description": "交易员名称",
  23166. "type": "string"
  23167. },
  23168. "unpayamount": {
  23169. "description": "应收付款额(应支付或应收款) | 未付款额",
  23170. "type": "number"
  23171. },
  23172. "unpricedqty": {
  23173. "description": "未定价量",
  23174. "type": "number"
  23175. },
  23176. "unsureqty": {
  23177. "description": "未确定量 | 未交收量",
  23178. "type": "number"
  23179. },
  23180. "userid": {
  23181. "description": "机构ID",
  23182. "type": "integer"
  23183. },
  23184. "vatrate": {
  23185. "description": "增值税率",
  23186. "type": "number"
  23187. },
  23188. "wrstandardcode": {
  23189. "description": "品类代码",
  23190. "type": "string"
  23191. },
  23192. "wrstandardid": {
  23193. "description": "品类ID",
  23194. "type": "integer"
  23195. },
  23196. "wrstandardname": {
  23197. "description": "品类名称",
  23198. "type": "string"
  23199. }
  23200. }
  23201. },
  23202. "models.Ermcp3SpotGoodsPrice": {
  23203. "type": "object",
  23204. "properties": {
  23205. "areauserid": {
  23206. "description": "所属机构id",
  23207. "type": "integer"
  23208. },
  23209. "brandname": {
  23210. "description": "品牌名称",
  23211. "type": "string"
  23212. },
  23213. "currencyid": {
  23214. "description": "报价货币ID",
  23215. "type": "integer"
  23216. },
  23217. "currencyname": {
  23218. "description": "币种名称",
  23219. "type": "string"
  23220. },
  23221. "deliverygoodscode": {
  23222. "description": "现货商品代码",
  23223. "type": "string"
  23224. },
  23225. "deliverygoodsid": {
  23226. "description": "现货商品id",
  23227. "type": "integer"
  23228. },
  23229. "deliverygoodsname": {
  23230. "description": "现货商品名称",
  23231. "type": "string"
  23232. },
  23233. "enumdicname": {
  23234. "description": "现货商品单位名称",
  23235. "type": "string"
  23236. },
  23237. "gbenumdicname": {
  23238. "description": "品类单位名称",
  23239. "type": "string"
  23240. },
  23241. "gmunitid": {
  23242. "description": "品类单位id",
  23243. "type": "integer"
  23244. },
  23245. "isvalid": {
  23246. "description": "是否有效 - 0:无效 1:有效",
  23247. "type": "integer"
  23248. },
  23249. "operateid": {
  23250. "description": "最后操作人",
  23251. "type": "integer"
  23252. },
  23253. "operatesrc": {
  23254. "description": "最后操作来源 - 1:管理端 2:终端",
  23255. "type": "integer"
  23256. },
  23257. "operatetime": {
  23258. "description": "最后操作时间",
  23259. "type": "string"
  23260. },
  23261. "operatorname": {
  23262. "description": "操作人名称",
  23263. "type": "string"
  23264. },
  23265. "spotgoodsbrandid": {
  23266. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23267. "type": "integer"
  23268. },
  23269. "spotgoodsprice": {
  23270. "description": "现货价格",
  23271. "type": "number"
  23272. },
  23273. "tradedate": {
  23274. "description": "交易日(yyyyMMdd)",
  23275. "type": "string"
  23276. },
  23277. "unitid": {
  23278. "description": "现货商品单位id",
  23279. "type": "integer"
  23280. },
  23281. "wrstandardcode": {
  23282. "description": "品类代码",
  23283. "type": "string"
  23284. },
  23285. "wrstandardid": {
  23286. "description": "现货品类ID(通用则为0)",
  23287. "type": "integer"
  23288. },
  23289. "wrstandardname": {
  23290. "description": "品类名称",
  23291. "type": "string"
  23292. }
  23293. }
  23294. },
  23295. "models.Ermcp3SpotGoodsPriceLog": {
  23296. "type": "object",
  23297. "properties": {
  23298. "areauserid": {
  23299. "description": "所属机构id",
  23300. "type": "integer"
  23301. },
  23302. "brandname": {
  23303. "description": "品牌名称",
  23304. "type": "string"
  23305. },
  23306. "currencyid": {
  23307. "description": "报价货币ID",
  23308. "type": "integer"
  23309. },
  23310. "deliverygoodscode": {
  23311. "description": "现货商品代码",
  23312. "type": "string"
  23313. },
  23314. "deliverygoodsid": {
  23315. "description": "现货商品id",
  23316. "type": "integer"
  23317. },
  23318. "deliverygoodsname": {
  23319. "description": "现货商品名称",
  23320. "type": "string"
  23321. },
  23322. "enumdicname": {
  23323. "description": "现货商品单位名称",
  23324. "type": "string"
  23325. },
  23326. "gbenumdicname": {
  23327. "description": "品类单位名称",
  23328. "type": "string"
  23329. },
  23330. "gmunitid": {
  23331. "description": "品类单位id",
  23332. "type": "integer"
  23333. },
  23334. "logid": {
  23335. "description": "日志id",
  23336. "type": "integer"
  23337. },
  23338. "operateid": {
  23339. "description": "最后操作人",
  23340. "type": "integer"
  23341. },
  23342. "operatesrc": {
  23343. "description": "最后操作来源 - 1:管理端 2:终端",
  23344. "type": "integer"
  23345. },
  23346. "operatetime": {
  23347. "description": "最后操作时间",
  23348. "type": "string"
  23349. },
  23350. "operatorname": {
  23351. "description": "操作人名称",
  23352. "type": "string"
  23353. },
  23354. "spotgoodsbrandid": {
  23355. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23356. "type": "integer"
  23357. },
  23358. "spotgoodsprice": {
  23359. "description": "现货价格",
  23360. "type": "number"
  23361. },
  23362. "tradedate": {
  23363. "description": "交易日(yyyyMMdd)",
  23364. "type": "string"
  23365. },
  23366. "unitid": {
  23367. "description": "现货商品单位id",
  23368. "type": "integer"
  23369. },
  23370. "wrstandardcode": {
  23371. "description": "品类代码",
  23372. "type": "string"
  23373. },
  23374. "wrstandardid": {
  23375. "description": "现货品类ID(通用则为0)",
  23376. "type": "integer"
  23377. },
  23378. "wrstandardname": {
  23379. "description": "品类名称",
  23380. "type": "string"
  23381. }
  23382. }
  23383. },
  23384. "models.Ermcp3SubTaaccount": {
  23385. "type": "object",
  23386. "properties": {
  23387. "accountid": {
  23388. "description": "资金账户ID",
  23389. "type": "integer"
  23390. },
  23391. "parentaccountcode": {
  23392. "description": "所属根账号代码(母账号代码)",
  23393. "type": "string"
  23394. },
  23395. "parentaccountid": {
  23396. "description": "所属根账号(母账号)",
  23397. "type": "integer"
  23398. },
  23399. "taname": {
  23400. "description": "资金账号名称",
  23401. "type": "string"
  23402. },
  23403. "tradestatus": {
  23404. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23405. "type": "integer"
  23406. },
  23407. "username": {
  23408. "description": "交易用户",
  23409. "type": "string"
  23410. }
  23411. }
  23412. },
  23413. "models.Ermcp3TaFutuReDataReport": {
  23414. "type": "object",
  23415. "properties": {
  23416. "accountid": {
  23417. "description": "交易账户",
  23418. "type": "integer"
  23419. },
  23420. "accountname": {
  23421. "description": "交易账号名称",
  23422. "type": "string"
  23423. },
  23424. "agreeunit": {
  23425. "description": "商品合约单位",
  23426. "type": "number"
  23427. },
  23428. "begindate": {
  23429. "description": "开始交易日",
  23430. "type": "string"
  23431. },
  23432. "buyorsell": {
  23433. "description": "持仓方向",
  23434. "type": "integer"
  23435. },
  23436. "charge": {
  23437. "description": "手续费",
  23438. "type": "number"
  23439. },
  23440. "closeavgprice": {
  23441. "description": "期初均价",
  23442. "type": "number"
  23443. },
  23444. "closepl": {
  23445. "description": "平仓损益",
  23446. "type": "number"
  23447. },
  23448. "currencyid": {
  23449. "description": "结算币种ID",
  23450. "type": "integer"
  23451. },
  23452. "currencyname": {
  23453. "description": "币种名称",
  23454. "type": "string"
  23455. },
  23456. "cycletime": {
  23457. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23458. "type": "string"
  23459. },
  23460. "cycletype": {
  23461. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23462. "type": "integer"
  23463. },
  23464. "enddate": {
  23465. "description": "结束交易日",
  23466. "type": "string"
  23467. },
  23468. "enumdicname": {
  23469. "description": "单位名称",
  23470. "type": "string"
  23471. },
  23472. "floatpl": {
  23473. "description": "浮动损益",
  23474. "type": "number"
  23475. },
  23476. "goodscode": {
  23477. "description": "交易合约代码",
  23478. "type": "string"
  23479. },
  23480. "goodsgroupid": {
  23481. "description": "交易品种",
  23482. "type": "integer"
  23483. },
  23484. "goodsgroupname": {
  23485. "description": "交易品种名称",
  23486. "type": "string"
  23487. },
  23488. "goodsgroupspotqty": {
  23489. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23490. "type": "number"
  23491. },
  23492. "goodsid": {
  23493. "description": "交易合约",
  23494. "type": "integer"
  23495. },
  23496. "goodsname": {
  23497. "description": "交易合约名称",
  23498. "type": "string"
  23499. },
  23500. "goodunitid": {
  23501. "description": "交易合约单位id",
  23502. "type": "integer"
  23503. },
  23504. "holdamount": {
  23505. "description": "期末持仓额",
  23506. "type": "number"
  23507. },
  23508. "holdqty": {
  23509. "description": "期初均价",
  23510. "type": "number"
  23511. },
  23512. "lastholdamount": {
  23513. "description": "当前持仓额",
  23514. "type": "number"
  23515. },
  23516. "lastprice": {
  23517. "description": "最新价",
  23518. "type": "number"
  23519. },
  23520. "middlegoodsid": {
  23521. "description": "套保品种id",
  23522. "type": "integer"
  23523. },
  23524. "middlegoodsname": {
  23525. "description": "套保商品名称",
  23526. "type": "string"
  23527. },
  23528. "middlegoodsqty": {
  23529. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23530. "type": "number"
  23531. },
  23532. "middlgoodscode": {
  23533. "description": "套保商品代码",
  23534. "type": "string"
  23535. },
  23536. "openamount": {
  23537. "description": "期末开仓额",
  23538. "type": "number"
  23539. },
  23540. "openavgprice": {
  23541. "description": "期初均价",
  23542. "type": "number"
  23543. },
  23544. "oriholdamount": {
  23545. "description": "期初持仓额",
  23546. "type": "number"
  23547. },
  23548. "oriholdqty": {
  23549. "description": "期初均价",
  23550. "type": "number"
  23551. },
  23552. "oriopenamount": {
  23553. "description": "期初开仓额",
  23554. "type": "number"
  23555. },
  23556. "outergroupcode": {
  23557. "description": "交易品种代码",
  23558. "type": "string"
  23559. },
  23560. "qtydecimalplace": {
  23561. "description": "成交量小数位",
  23562. "type": "integer"
  23563. },
  23564. "reckondate": {
  23565. "description": "日照时期(yyyyMMdd)",
  23566. "type": "string"
  23567. },
  23568. "reckonholdamount": {
  23569. "description": "结算持仓额",
  23570. "type": "number"
  23571. },
  23572. "reckonpl": {
  23573. "description": "结算损益",
  23574. "type": "number"
  23575. },
  23576. "reckonpl2": {
  23577. "description": "结算逐笔盈亏",
  23578. "type": "number"
  23579. },
  23580. "reckonprice": {
  23581. "description": "结算价",
  23582. "type": "number"
  23583. },
  23584. "relateduserid": {
  23585. "description": "账户关联用户ID",
  23586. "type": "integer"
  23587. },
  23588. "todaycloseamount": {
  23589. "description": "今平仓额",
  23590. "type": "number"
  23591. },
  23592. "todaycloseqty": {
  23593. "description": "期初均价",
  23594. "type": "number"
  23595. },
  23596. "todaygoodsgroupspotqty": {
  23597. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23598. "type": "number"
  23599. },
  23600. "todaymiddlegoodsqty": {
  23601. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23602. "type": "number"
  23603. },
  23604. "todayopenamount": {
  23605. "description": "今开仓额",
  23606. "type": "number"
  23607. },
  23608. "todayopenqty": {
  23609. "description": "期初均价",
  23610. "type": "number"
  23611. },
  23612. "userid": {
  23613. "description": "账户所属用户ID",
  23614. "type": "integer"
  23615. }
  23616. }
  23617. },
  23618. "models.Ermcp3TradeLinkDetail": {
  23619. "type": "object",
  23620. "properties": {
  23621. "accountid": {
  23622. "description": "资金账号",
  23623. "type": "integer"
  23624. },
  23625. "agreeunit": {
  23626. "description": "合约乘数",
  23627. "type": "number"
  23628. },
  23629. "areauserid": {
  23630. "description": "所属机构",
  23631. "type": "string"
  23632. },
  23633. "bizsubjectid": {
  23634. "description": "归属业务部门ID - SubjectID",
  23635. "type": "string"
  23636. },
  23637. "buyorsell": {
  23638. "description": "方向 - 0:买 1:卖",
  23639. "type": "integer"
  23640. },
  23641. "channelbuildtype": {
  23642. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23643. "type": "integer"
  23644. },
  23645. "contractno": {
  23646. "description": "现货编号 (合同编号)",
  23647. "type": "string"
  23648. },
  23649. "convertratio": {
  23650. "description": "折算系数",
  23651. "type": "number"
  23652. },
  23653. "createtime": {
  23654. "description": "关联时间 | 创建时间",
  23655. "type": "string"
  23656. },
  23657. "creatorid": {
  23658. "description": "创建人ID",
  23659. "type": "string"
  23660. },
  23661. "creatorsrc": {
  23662. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23663. "type": "integer"
  23664. },
  23665. "enumdicname": {
  23666. "description": "单位名称",
  23667. "type": "string"
  23668. },
  23669. "goodscode": {
  23670. "description": "合约代码",
  23671. "type": "string"
  23672. },
  23673. "goodsgroupid": {
  23674. "description": "对冲品种ID[期货合约商品组ID]",
  23675. "type": "integer"
  23676. },
  23677. "goodsid": {
  23678. "description": "商品ID",
  23679. "type": "integer"
  23680. },
  23681. "goodsname": {
  23682. "description": "合约名称",
  23683. "type": "string"
  23684. },
  23685. "hedgeflag": {
  23686. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23687. "type": "integer"
  23688. },
  23689. "linkdetailid": {
  23690. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23691. "type": "string"
  23692. },
  23693. "linkstatus": {
  23694. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23695. "type": "integer"
  23696. },
  23697. "middlegoodscode": {
  23698. "description": "套保品种代码",
  23699. "type": "string"
  23700. },
  23701. "middlegoodsid": {
  23702. "description": "套保品种ID",
  23703. "type": "integer"
  23704. },
  23705. "middlegoodsname": {
  23706. "description": "套保品种名称",
  23707. "type": "string"
  23708. },
  23709. "relatedlot": {
  23710. "description": "关联手数",
  23711. "type": "number"
  23712. },
  23713. "relatedmode": {
  23714. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23715. "type": "integer"
  23716. },
  23717. "relatedqty": {
  23718. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23719. "type": "number"
  23720. },
  23721. "retcode": {
  23722. "description": "返回码",
  23723. "type": "integer"
  23724. },
  23725. "saleuserid": {
  23726. "description": "业务员ID",
  23727. "type": "string"
  23728. },
  23729. "spotcontractid": {
  23730. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23731. "type": "string"
  23732. },
  23733. "taname": {
  23734. "description": "期货账户",
  23735. "type": "string"
  23736. },
  23737. "tradedate": {
  23738. "description": "关联交易日(yyyyMMdd)",
  23739. "type": "string"
  23740. },
  23741. "tradeid": {
  23742. "description": "期货订单号 | 内部成交单ID",
  23743. "type": "string"
  23744. },
  23745. "tradelot": {
  23746. "description": "成交数量 | 成交手数",
  23747. "type": "integer"
  23748. },
  23749. "tradeprice": {
  23750. "description": "成交价格",
  23751. "type": "number"
  23752. },
  23753. "tradetime": {
  23754. "description": "期货成交时间",
  23755. "type": "string"
  23756. },
  23757. "tradetradedate": {
  23758. "description": "成交交易日(yyyyMMdd)",
  23759. "type": "string"
  23760. },
  23761. "username": {
  23762. "description": "用户名称",
  23763. "type": "string"
  23764. }
  23765. }
  23766. },
  23767. "models.Ermcp3Wrstandard": {
  23768. "type": "object",
  23769. "properties": {
  23770. "areauserid": {
  23771. "description": "所属机构",
  23772. "type": "integer"
  23773. },
  23774. "cantrade": {
  23775. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23776. "type": "integer"
  23777. },
  23778. "convertfactor": {
  23779. "description": "标仓系数",
  23780. "type": "number"
  23781. },
  23782. "createtime": {
  23783. "description": "创建时间",
  23784. "type": "string"
  23785. },
  23786. "creatorid": {
  23787. "description": "创建人",
  23788. "type": "integer"
  23789. },
  23790. "deliverygoodsid": {
  23791. "description": "现货品种ID",
  23792. "type": "integer"
  23793. },
  23794. "enumdicname": {
  23795. "description": "品类单位名称",
  23796. "type": "string"
  23797. },
  23798. "isvalid": {
  23799. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23800. "type": "integer"
  23801. },
  23802. "minivalue": {
  23803. "description": "最小变动值",
  23804. "type": "integer"
  23805. },
  23806. "minivaluedp": {
  23807. "description": "最小变动值小数位",
  23808. "type": "integer"
  23809. },
  23810. "realminivalue": {
  23811. "description": "实际最小变动值",
  23812. "type": "integer"
  23813. },
  23814. "realminivaluedp": {
  23815. "description": "实际最小变动值小数位",
  23816. "type": "integer"
  23817. },
  23818. "remark": {
  23819. "description": "备注",
  23820. "type": "string"
  23821. },
  23822. "unitid": {
  23823. "description": "品类单位ID",
  23824. "type": "integer"
  23825. },
  23826. "updatetime": {
  23827. "description": "更新时间",
  23828. "type": "string"
  23829. },
  23830. "wrstandardcode": {
  23831. "description": "品类代码",
  23832. "type": "string"
  23833. },
  23834. "wrstandardid": {
  23835. "description": "品类ID(SEQ_WRSTANDARD)",
  23836. "type": "integer"
  23837. },
  23838. "wrstandardname": {
  23839. "description": "品类名称",
  23840. "type": "string"
  23841. }
  23842. }
  23843. },
  23844. "models.Ermcp8EnableHedgeditem": {
  23845. "type": "object",
  23846. "properties": {
  23847. "accountname": {
  23848. "description": "套期主体",
  23849. "type": "string"
  23850. },
  23851. "hedgeditemid": {
  23852. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23853. "type": "string"
  23854. },
  23855. "hedgeditemname": {
  23856. "description": "项目名称",
  23857. "type": "string"
  23858. },
  23859. "hedgeditemnum": {
  23860. "description": "项目编号",
  23861. "type": "string"
  23862. },
  23863. "hedgedtype": {
  23864. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23865. "type": "integer"
  23866. },
  23867. "planenddate": {
  23868. "description": "计划结束日期",
  23869. "type": "string"
  23870. },
  23871. "planstartdate": {
  23872. "description": "计划开始日期",
  23873. "type": "string"
  23874. },
  23875. "wrstandardid": {
  23876. "description": "现货商品ID",
  23877. "type": "integer"
  23878. },
  23879. "wrstandardname": {
  23880. "description": "现货商品",
  23881. "type": "string"
  23882. }
  23883. }
  23884. },
  23885. "models.Ermcp8HedgeditemReport": {
  23886. "type": "object",
  23887. "properties": {
  23888. "accountname": {
  23889. "description": "套期主体",
  23890. "type": "string"
  23891. },
  23892. "areauserid": {
  23893. "description": "企业ID",
  23894. "type": "integer"
  23895. },
  23896. "curprice": {
  23897. "description": "[当日现货市场价]当前市场价",
  23898. "type": "number"
  23899. },
  23900. "enumdicname": {
  23901. "description": "单位",
  23902. "type": "string"
  23903. },
  23904. "exeamount": {
  23905. "description": "[执行现货金额]执行市价总额",
  23906. "type": "number"
  23907. },
  23908. "exeavgprice": {
  23909. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  23910. "type": "number"
  23911. },
  23912. "exeqty": {
  23913. "description": "[执行数量]执行现货量",
  23914. "type": "number"
  23915. },
  23916. "futurehedgepl": {
  23917. "description": "期货实际损益",
  23918. "type": "number"
  23919. },
  23920. "futurehedgeplchange": {
  23921. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  23922. "type": "number"
  23923. },
  23924. "futurepl": {
  23925. "description": "期货套期损益",
  23926. "type": "number"
  23927. },
  23928. "futureplchange": {
  23929. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  23930. "type": "number"
  23931. },
  23932. "hedgeamount": {
  23933. "description": "[套期现货金额]套期市价总额",
  23934. "type": "number"
  23935. },
  23936. "hedgeditemnum": {
  23937. "description": "项目编号,模糊查询",
  23938. "type": "string"
  23939. },
  23940. "hedgeditemstatus": {
  23941. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23942. "type": "integer"
  23943. },
  23944. "hedgedtype": {
  23945. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23946. "type": "integer"
  23947. },
  23948. "hedgeqty": {
  23949. "description": "[套期数量]套期现货量",
  23950. "type": "number"
  23951. },
  23952. "oriavgprice": {
  23953. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  23954. "type": "number"
  23955. },
  23956. "orifuturehedgepl": {
  23957. "description": "期初期货实际损益",
  23958. "type": "number"
  23959. },
  23960. "orifuturepl": {
  23961. "description": "期初期货套期损益",
  23962. "type": "number"
  23963. },
  23964. "orispothedgepl": {
  23965. "description": "期初现货实际损益",
  23966. "type": "number"
  23967. },
  23968. "orispotpl": {
  23969. "description": "期初现货套期损益",
  23970. "type": "number"
  23971. },
  23972. "planenddate": {
  23973. "description": "计划结束日期",
  23974. "type": "string"
  23975. },
  23976. "planstartdate": {
  23977. "description": "计划开始日期",
  23978. "type": "string"
  23979. },
  23980. "spothedgepl": {
  23981. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23982. "type": "number"
  23983. },
  23984. "spothedgeplchange": {
  23985. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  23986. "type": "number"
  23987. },
  23988. "spotpl": {
  23989. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  23990. "type": "number"
  23991. },
  23992. "spotplchange": {
  23993. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  23994. "type": "number"
  23995. },
  23996. "tradeuserid": {
  23997. "description": "交易用户ID",
  23998. "type": "integer"
  23999. },
  24000. "unexeqty": {
  24001. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  24002. "type": "number"
  24003. },
  24004. "wrstandardcode": {
  24005. "description": "现货品类代码",
  24006. "type": "string"
  24007. },
  24008. "wrstandardid": {
  24009. "description": "现货商品ID",
  24010. "type": "integer"
  24011. },
  24012. "wrstandardname": {
  24013. "description": "[现货商品]现货品类名称",
  24014. "type": "string"
  24015. }
  24016. }
  24017. },
  24018. "models.Ermcp8RunningHedgeditem": {
  24019. "type": "object",
  24020. "properties": {
  24021. "accountname": {
  24022. "description": "套期主体",
  24023. "type": "string"
  24024. },
  24025. "applyid": {
  24026. "description": "申请人",
  24027. "type": "integer"
  24028. },
  24029. "applysrc": {
  24030. "description": "申请来源 - 1:管理端 2:终端",
  24031. "type": "integer"
  24032. },
  24033. "areauserid": {
  24034. "description": "企业ID",
  24035. "type": "integer"
  24036. },
  24037. "auditid": {
  24038. "description": "审核人",
  24039. "type": "integer"
  24040. },
  24041. "auditremark": {
  24042. "description": "审核备注",
  24043. "type": "string"
  24044. },
  24045. "auditsrc": {
  24046. "description": "审核来源 - 1:管理端 2:终端",
  24047. "type": "integer"
  24048. },
  24049. "audittime": {
  24050. "description": "审核时间",
  24051. "type": "string"
  24052. },
  24053. "audittradedate": {
  24054. "description": "审核交易日(yyyyMMdd)",
  24055. "type": "string"
  24056. },
  24057. "createtime": {
  24058. "description": "申请时间",
  24059. "type": "string"
  24060. },
  24061. "curprice": {
  24062. "description": "当前市场价",
  24063. "type": "number"
  24064. },
  24065. "curstock": {
  24066. "description": "期末库存量 = 采购总量 - 销售总量",
  24067. "type": "number"
  24068. },
  24069. "deliverygoodsid": {
  24070. "description": "现货品种ID",
  24071. "type": "integer"
  24072. },
  24073. "enddate": {
  24074. "description": "完成日期",
  24075. "type": "string"
  24076. },
  24077. "endtradedate": {
  24078. "description": "完成交易日",
  24079. "type": "string"
  24080. },
  24081. "enumdicname": {
  24082. "description": "单位",
  24083. "type": "string"
  24084. },
  24085. "exeamount": {
  24086. "description": "执行市价总额",
  24087. "type": "number"
  24088. },
  24089. "exeavgprice": {
  24090. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  24091. "type": "number"
  24092. },
  24093. "execontractamount": {
  24094. "description": "执行定价总额",
  24095. "type": "number"
  24096. },
  24097. "exeqty": {
  24098. "description": "执行现货量",
  24099. "type": "number"
  24100. },
  24101. "exerestamount": {
  24102. "description": "执行剩余市价总额【现货贸易】",
  24103. "type": "number"
  24104. },
  24105. "futurefloatpl": {
  24106. "description": "期货浮动损益",
  24107. "type": "number"
  24108. },
  24109. "futurehedgepl": {
  24110. "description": "期货实际损益",
  24111. "type": "number"
  24112. },
  24113. "futurehedgeplchange": {
  24114. "description": "期货实际损益变动",
  24115. "type": "number"
  24116. },
  24117. "futurepl": {
  24118. "description": "期货套期损益",
  24119. "type": "number"
  24120. },
  24121. "futureplchange": {
  24122. "description": "期货套期损益变动",
  24123. "type": "number"
  24124. },
  24125. "hedgeamount": {
  24126. "description": "套期市价总额",
  24127. "type": "number"
  24128. },
  24129. "hedgecontractamount": {
  24130. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  24131. "type": "number"
  24132. },
  24133. "hedgeditemid": {
  24134. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  24135. "type": "string"
  24136. },
  24137. "hedgeditemname": {
  24138. "description": "项目名称",
  24139. "type": "string"
  24140. },
  24141. "hedgeditemnum": {
  24142. "description": "项目编号",
  24143. "type": "string"
  24144. },
  24145. "hedgeditemstatus": {
  24146. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24147. "type": "integer"
  24148. },
  24149. "hedgedtype": {
  24150. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  24151. "type": "integer"
  24152. },
  24153. "hedgeqty": {
  24154. "description": "套期现货量",
  24155. "type": "number"
  24156. },
  24157. "hedgerate": {
  24158. "description": "套保比率",
  24159. "type": "number"
  24160. },
  24161. "hedgerestamount": {
  24162. "description": "套期剩余市价总额【现货贸易】",
  24163. "type": "number"
  24164. },
  24165. "hedgesumpl": {
  24166. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  24167. "type": "number"
  24168. },
  24169. "middlegoodslist": {
  24170. "description": "套期商品列表",
  24171. "type": "array",
  24172. "items": {
  24173. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  24174. }
  24175. },
  24176. "oriavgprice": {
  24177. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  24178. "type": "number"
  24179. },
  24180. "orifuturehedgepl": {
  24181. "description": "期初期货实际损益",
  24182. "type": "number"
  24183. },
  24184. "orifuturepl": {
  24185. "description": "期初期货套期损益",
  24186. "type": "number"
  24187. },
  24188. "orispothedgepl": {
  24189. "description": "期初现货实际损益",
  24190. "type": "number"
  24191. },
  24192. "orispotpl": {
  24193. "description": "期初现货套期损益",
  24194. "type": "number"
  24195. },
  24196. "planenddate": {
  24197. "description": "计划结束日期",
  24198. "type": "string"
  24199. },
  24200. "planstartdate": {
  24201. "description": "计划开始日期",
  24202. "type": "string"
  24203. },
  24204. "remark": {
  24205. "description": "备注",
  24206. "type": "string"
  24207. },
  24208. "spotbookamount": {
  24209. "description": "现货账面总额",
  24210. "type": "number"
  24211. },
  24212. "spotfloatpl": {
  24213. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24214. "type": "number"
  24215. },
  24216. "spothedgepl": {
  24217. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24218. "type": "number"
  24219. },
  24220. "spothedgeplchange": {
  24221. "description": "现货实际损益变动",
  24222. "type": "number"
  24223. },
  24224. "spotpl": {
  24225. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  24226. "type": "number"
  24227. },
  24228. "spotplchange": {
  24229. "description": "现货套期损益变动",
  24230. "type": "number"
  24231. },
  24232. "spottradepl": {
  24233. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  24234. "type": "number"
  24235. },
  24236. "sumobspl": {
  24237. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  24238. "type": "number"
  24239. },
  24240. "tradeuserid": {
  24241. "description": "交易用户ID",
  24242. "type": "integer"
  24243. },
  24244. "unexeqty": {
  24245. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  24246. "type": "number"
  24247. },
  24248. "updatetime": {
  24249. "description": "更新时间",
  24250. "type": "string"
  24251. },
  24252. "vatpl": {
  24253. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  24254. "type": "number"
  24255. },
  24256. "vatrate": {
  24257. "description": "增值税",
  24258. "type": "number"
  24259. },
  24260. "wrstandardid": {
  24261. "description": "现货商品ID",
  24262. "type": "integer"
  24263. },
  24264. "wrstandardname": {
  24265. "description": "商品名称",
  24266. "type": "string"
  24267. }
  24268. }
  24269. },
  24270. "models.ErmcpBizGroupEx": {
  24271. "type": "object",
  24272. "properties": {
  24273. "acclist": {
  24274. "description": "账号列表",
  24275. "type": "array",
  24276. "items": {
  24277. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  24278. }
  24279. },
  24280. "bizgroupid": {
  24281. "description": "业务分组id",
  24282. "type": "integer"
  24283. },
  24284. "biztype": {
  24285. "description": "业务类型 1-套保 2-套利",
  24286. "type": "integer"
  24287. },
  24288. "wrlist": {
  24289. "description": "现货商品表",
  24290. "type": "array",
  24291. "items": {
  24292. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  24293. }
  24294. }
  24295. }
  24296. },
  24297. "models.ErmcpBizGroupSpotGoods": {
  24298. "type": "object",
  24299. "properties": {
  24300. "areauserid": {
  24301. "description": "所属机构id",
  24302. "type": "integer"
  24303. },
  24304. "bizgroupid": {
  24305. "description": "分组id",
  24306. "type": "integer"
  24307. },
  24308. "biztype": {
  24309. "description": "业务类型 1-套保 2-套利",
  24310. "type": "integer"
  24311. },
  24312. "deliverygoodscode": {
  24313. "description": "现货商品代码",
  24314. "type": "string"
  24315. },
  24316. "deliverygoodsid": {
  24317. "description": "现货商品id",
  24318. "type": "integer"
  24319. },
  24320. "deliverygoodsname": {
  24321. "description": "现货商品名称",
  24322. "type": "string"
  24323. },
  24324. "unitid": {
  24325. "description": "现货商品单位id",
  24326. "type": "integer"
  24327. }
  24328. }
  24329. },
  24330. "models.ErmcpBizGroupTaAccount": {
  24331. "type": "object",
  24332. "properties": {
  24333. "accountid": {
  24334. "description": "账号id",
  24335. "type": "integer"
  24336. },
  24337. "accountname": {
  24338. "description": "账号名称",
  24339. "type": "string"
  24340. },
  24341. "areauserid": {
  24342. "description": "所属机构id",
  24343. "type": "integer"
  24344. },
  24345. "bizgroupid": {
  24346. "description": "业务分组id",
  24347. "type": "integer"
  24348. },
  24349. "ismain": {
  24350. "description": "是否主账号 1-是 0-否",
  24351. "type": "integer"
  24352. }
  24353. }
  24354. },
  24355. "models.ErmcpDGFactoryItem": {
  24356. "type": "object",
  24357. "properties": {
  24358. "areauserid": {
  24359. "description": "用户id",
  24360. "type": "integer"
  24361. },
  24362. "deliverygoodsid": {
  24363. "description": "现货品种ID",
  24364. "type": "integer"
  24365. },
  24366. "dgfactoryitemid": {
  24367. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24368. "type": "integer"
  24369. },
  24370. "dgfactoryitemtypeid": {
  24371. "description": "要素项类型",
  24372. "type": "integer"
  24373. },
  24374. "dgfactoryitemvalue": {
  24375. "description": "要素项值(类型为仓库时填写仓库名称)",
  24376. "type": "string"
  24377. },
  24378. "isvalid": {
  24379. "description": "是否有效 - 0:无效 1:有效",
  24380. "type": "integer"
  24381. },
  24382. "orderindex": {
  24383. "description": "顺序",
  24384. "type": "integer"
  24385. },
  24386. "warehouseid": {
  24387. "description": "仓库ID(类型为仓库时填写)",
  24388. "type": "integer"
  24389. }
  24390. }
  24391. },
  24392. "models.ErmcpDeliveryGoods": {
  24393. "type": "object",
  24394. "properties": {
  24395. "agreeunit": {
  24396. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  24397. "type": "integer"
  24398. },
  24399. "areauserid": {
  24400. "description": "所属机构",
  24401. "type": "integer"
  24402. },
  24403. "auditflag": {
  24404. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  24405. "type": "integer"
  24406. },
  24407. "categoryid": {
  24408. "description": "类别ID(SEQ_WRCATEGORY)",
  24409. "type": "integer"
  24410. },
  24411. "deliverygoodscode": {
  24412. "description": "现货品种代码",
  24413. "type": "string"
  24414. },
  24415. "deliverygoodsid": {
  24416. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  24417. "type": "integer"
  24418. },
  24419. "deliverygoodsname": {
  24420. "description": "现货品种名称",
  24421. "type": "string"
  24422. },
  24423. "deliverygoodstype": {
  24424. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24425. "type": "integer"
  24426. },
  24427. "dgstatus": {
  24428. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24429. "type": "integer"
  24430. },
  24431. "enumdicname": {
  24432. "description": "现货品种单位名称",
  24433. "type": "string"
  24434. },
  24435. "goodsunitid": {
  24436. "description": "现货品种单位ID",
  24437. "type": "integer"
  24438. },
  24439. "isvalid": {
  24440. "description": "是否有效 - 0:无效 1:有效",
  24441. "type": "integer"
  24442. },
  24443. "qtydecimalplace": {
  24444. "description": "成交量小数位",
  24445. "type": "integer"
  24446. },
  24447. "remark": {
  24448. "description": "备注",
  24449. "type": "string"
  24450. },
  24451. "standardqty": {
  24452. "description": "标准数量(库位数量) [标准品特有]",
  24453. "type": "integer"
  24454. },
  24455. "standardqtyrange": {
  24456. "description": "标准数量偏差范围 [标准品特有]",
  24457. "type": "integer"
  24458. }
  24459. }
  24460. },
  24461. "models.ErmcpFuturesCompany": {
  24462. "type": "object",
  24463. "properties": {
  24464. "brokerid": {
  24465. "description": "经纪公司代码",
  24466. "type": "string"
  24467. },
  24468. "channeladdress": {
  24469. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24470. "type": "string"
  24471. },
  24472. "channelid": {
  24473. "description": "对冲渠道ID",
  24474. "type": "string"
  24475. },
  24476. "createtime": {
  24477. "description": "创建时间",
  24478. "type": "string"
  24479. },
  24480. "creatorid": {
  24481. "description": "创建人",
  24482. "type": "string"
  24483. },
  24484. "fcid": {
  24485. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24486. "type": "integer"
  24487. },
  24488. "fcname": {
  24489. "description": "期货公司名称",
  24490. "type": "string"
  24491. },
  24492. "isvalid": {
  24493. "description": "是否有效 - 0:无效 1:有效",
  24494. "type": "integer"
  24495. },
  24496. "mhpaddress": {
  24497. "description": "MHP服务地址(IP:Port)",
  24498. "type": "string"
  24499. },
  24500. "riskrulegroupid": {
  24501. "description": "风控规则组ID",
  24502. "type": "string"
  24503. },
  24504. "tradefeetmpid": {
  24505. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24506. "type": "string"
  24507. },
  24508. "trademargintmpid": {
  24509. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24510. "type": "string"
  24511. },
  24512. "traderatetmpid": {
  24513. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24514. "type": "string"
  24515. },
  24516. "updatetime": {
  24517. "description": "更新时间",
  24518. "type": "string"
  24519. },
  24520. "updatorid": {
  24521. "description": "更新人",
  24522. "type": "string"
  24523. }
  24524. }
  24525. },
  24526. "models.ErmcpGGConvertCfg": {
  24527. "type": "object",
  24528. "properties": {
  24529. "convertratio": {
  24530. "description": "折算系数",
  24531. "type": "number"
  24532. },
  24533. "destgoodsgroupid": {
  24534. "description": "目标品种ID",
  24535. "type": "integer"
  24536. },
  24537. "dstcode": {
  24538. "description": "目录品种代码",
  24539. "type": "string"
  24540. },
  24541. "dstexchangecode": {
  24542. "description": "目标期货交易所",
  24543. "type": "string"
  24544. },
  24545. "dstname": {
  24546. "description": "目标品种名称",
  24547. "type": "string"
  24548. },
  24549. "dstunitid": {
  24550. "description": "目标品种单位ID",
  24551. "type": "integer"
  24552. },
  24553. "dstunitidname": {
  24554. "description": "目标品种单位名称",
  24555. "type": "string"
  24556. },
  24557. "modifytime": {
  24558. "description": "修改时间",
  24559. "type": "string"
  24560. },
  24561. "srccode": {
  24562. "description": "源品种代码",
  24563. "type": "string"
  24564. },
  24565. "srcexchangecode": {
  24566. "description": "源期货交易所",
  24567. "type": "string"
  24568. },
  24569. "srcgoodsgroupid": {
  24570. "description": "源品种ID",
  24571. "type": "integer"
  24572. },
  24573. "srcname": {
  24574. "description": "源品种名称",
  24575. "type": "string"
  24576. },
  24577. "srcunitid": {
  24578. "description": "源品种单位ID",
  24579. "type": "integer"
  24580. },
  24581. "srcunitidname": {
  24582. "description": "源品种单位名称",
  24583. "type": "string"
  24584. }
  24585. }
  24586. },
  24587. "models.ErmcpGoods": {
  24588. "type": "object",
  24589. "required": [
  24590. "goodscode",
  24591. "goodsid",
  24592. "goodsname",
  24593. "marketid"
  24594. ],
  24595. "properties": {
  24596. "agreeunit": {
  24597. "description": "合约单位",
  24598. "type": "number"
  24599. },
  24600. "areauserid": {
  24601. "description": "所属机构",
  24602. "type": "integer"
  24603. },
  24604. "auditaccountid": {
  24605. "description": "审核操作员账号",
  24606. "type": "integer"
  24607. },
  24608. "audittime": {
  24609. "description": "审核时间",
  24610. "type": "string"
  24611. },
  24612. "cancelaccountid": {
  24613. "description": "注销操作员账号",
  24614. "type": "integer"
  24615. },
  24616. "canceltime": {
  24617. "description": "注销时间",
  24618. "type": "string"
  24619. },
  24620. "closepricemode": {
  24621. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24622. "type": "integer"
  24623. },
  24624. "closepriceparam": {
  24625. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24626. "type": "number"
  24627. },
  24628. "createtime": {
  24629. "description": "创建时间",
  24630. "type": "string"
  24631. },
  24632. "creatorid": {
  24633. "description": "创建人",
  24634. "type": "integer"
  24635. },
  24636. "currencyid": {
  24637. "description": "报价货币ID",
  24638. "type": "integer"
  24639. },
  24640. "cutmode": {
  24641. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24642. "type": "integer"
  24643. },
  24644. "decimalplace": {
  24645. "description": "报价小数位",
  24646. "type": "integer"
  24647. },
  24648. "delistingdate": {
  24649. "description": "商品退市时间(状态:退市) -- 已作废",
  24650. "type": "string"
  24651. },
  24652. "delistingmode": {
  24653. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24654. "type": "integer"
  24655. },
  24656. "deliveryflag": {
  24657. "description": "交割标志 - 0:不可交割 1:可交割",
  24658. "type": "integer"
  24659. },
  24660. "enumdicname": {
  24661. "description": "单位名称",
  24662. "type": "string"
  24663. },
  24664. "forceclosemode": {
  24665. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24666. "type": "integer"
  24667. },
  24668. "forceclosevalue": {
  24669. "description": "定期强平参数 [收益权]",
  24670. "type": "integer"
  24671. },
  24672. "goodscode": {
  24673. "description": "商品代码(内部)",
  24674. "type": "string"
  24675. },
  24676. "goodscurrencyid": {
  24677. "description": "合约货币ID",
  24678. "type": "integer"
  24679. },
  24680. "goodsgroupid": {
  24681. "description": "所属商品组ID",
  24682. "type": "integer"
  24683. },
  24684. "goodsid": {
  24685. "description": "商品ID(自增ID SEQ_GOODS)",
  24686. "type": "integer"
  24687. },
  24688. "goodsname": {
  24689. "description": "商品名称",
  24690. "type": "string"
  24691. },
  24692. "goodsquotetype": {
  24693. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24694. "type": "integer"
  24695. },
  24696. "goodsstatus": {
  24697. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24698. "type": "integer"
  24699. },
  24700. "goodstradetype": {
  24701. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24702. "type": "integer"
  24703. },
  24704. "goodunitid": {
  24705. "description": "报价单位ID",
  24706. "type": "integer"
  24707. },
  24708. "hasquoter": {
  24709. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24710. "type": "integer"
  24711. },
  24712. "hqprotecttime": {
  24713. "description": "行情保护时间(秒)",
  24714. "type": "integer"
  24715. },
  24716. "innerdealmode": {
  24717. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24718. "type": "integer"
  24719. },
  24720. "isbuylimited": {
  24721. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24722. "type": "integer"
  24723. },
  24724. "isvisible": {
  24725. "description": "游客是否可见 - 0:不可见 1:可见",
  24726. "type": "integer"
  24727. },
  24728. "lasttradedate": {
  24729. "description": "最后交易日期(状态:待退市)",
  24730. "type": "string"
  24731. },
  24732. "listingdate": {
  24733. "description": "交易开始日期",
  24734. "type": "string"
  24735. },
  24736. "marketid": {
  24737. "description": "所属市场ID",
  24738. "type": "integer"
  24739. },
  24740. "modifierid": {
  24741. "description": "修改人",
  24742. "type": "integer"
  24743. },
  24744. "modifystatus": {
  24745. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24746. "type": "integer"
  24747. },
  24748. "modifytime": {
  24749. "description": "修改时间",
  24750. "type": "string"
  24751. },
  24752. "outerdealmode": {
  24753. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24754. "type": "integer"
  24755. },
  24756. "outgoodscode": {
  24757. "description": "商品代码(外部)",
  24758. "type": "string"
  24759. },
  24760. "pictureurl": {
  24761. "description": "商品图片",
  24762. "type": "string"
  24763. },
  24764. "qtydecimalplace": {
  24765. "description": "成交量小数位",
  24766. "type": "integer"
  24767. },
  24768. "quotegear": {
  24769. "description": "行情档位(1-10)",
  24770. "type": "integer"
  24771. },
  24772. "quoteminunit": {
  24773. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24774. "type": "integer"
  24775. },
  24776. "quoteshowtype": {
  24777. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24778. "type": "integer"
  24779. },
  24780. "quoteshowtypeinterval": {
  24781. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24782. "type": "integer"
  24783. },
  24784. "relatedgoodsid": {
  24785. "description": "关联参考商品ID",
  24786. "type": "integer"
  24787. },
  24788. "remark": {
  24789. "description": "备注",
  24790. "type": "string"
  24791. },
  24792. "trademode": {
  24793. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24794. "type": "integer"
  24795. }
  24796. }
  24797. },
  24798. "models.ErmcpGoodsBrand": {
  24799. "type": "object",
  24800. "properties": {
  24801. "areauserid": {
  24802. "description": "所属机构",
  24803. "type": "integer"
  24804. },
  24805. "brandid": {
  24806. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24807. "type": "integer"
  24808. },
  24809. "brandname": {
  24810. "description": "品牌名称",
  24811. "type": "string"
  24812. },
  24813. "createtime": {
  24814. "description": "创建时间",
  24815. "type": "string"
  24816. },
  24817. "creatorid": {
  24818. "description": "创建人",
  24819. "type": "integer"
  24820. },
  24821. "creatorsrc": {
  24822. "description": "创建人来源 - 1:管理端 2:终端",
  24823. "type": "integer"
  24824. },
  24825. "deliverygoodsid": {
  24826. "description": "现货品种ID",
  24827. "type": "integer"
  24828. },
  24829. "isvalid": {
  24830. "description": "是否有效 - 0:无效 1:有效",
  24831. "type": "integer"
  24832. },
  24833. "updatetime": {
  24834. "description": "更新时间",
  24835. "type": "string"
  24836. },
  24837. "updatorid": {
  24838. "description": "更新人",
  24839. "type": "integer"
  24840. },
  24841. "updatorsrc": {
  24842. "description": "更新人来源 - 1:管理端 2:终端",
  24843. "type": "integer"
  24844. },
  24845. "wrstandardid": {
  24846. "description": "现货商品ID",
  24847. "type": "integer"
  24848. }
  24849. }
  24850. },
  24851. "models.ErmcpGoodsModel": {
  24852. "type": "object",
  24853. "properties": {
  24854. "areauserid": {
  24855. "description": "所属机构",
  24856. "type": "integer"
  24857. },
  24858. "convertfactor": {
  24859. "description": "标仓系数",
  24860. "type": "number"
  24861. },
  24862. "createtime": {
  24863. "description": "创建时间",
  24864. "type": "string"
  24865. },
  24866. "creatorid": {
  24867. "description": "创建人",
  24868. "type": "integer"
  24869. },
  24870. "creatorsrc": {
  24871. "description": "创建人来源 - 1:管理端 2:终端",
  24872. "type": "integer"
  24873. },
  24874. "deliverygoodsid": {
  24875. "description": "现货品种ID",
  24876. "type": "integer"
  24877. },
  24878. "isvalid": {
  24879. "description": "是否有效 - 0:无效 1:有效",
  24880. "type": "integer"
  24881. },
  24882. "modelid": {
  24883. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24884. "type": "integer"
  24885. },
  24886. "modelname": {
  24887. "description": "型号名称",
  24888. "type": "string"
  24889. },
  24890. "updatetime": {
  24891. "description": "更新时间",
  24892. "type": "string"
  24893. },
  24894. "updatorid": {
  24895. "description": "更新人",
  24896. "type": "integer"
  24897. },
  24898. "updatorsrc": {
  24899. "description": "更新人来源 - 1:管理端 2:终端",
  24900. "type": "integer"
  24901. },
  24902. "wrstandardid": {
  24903. "description": "现货商品ID",
  24904. "type": "integer"
  24905. }
  24906. }
  24907. },
  24908. "models.ErmcpHisExposure": {
  24909. "type": "object",
  24910. "properties": {
  24911. "needhedgeexposoure": {
  24912. "description": "应套保敞口",
  24913. "type": "number"
  24914. },
  24915. "reckondate": {
  24916. "description": "日照时期(yyyyMMdd)",
  24917. "type": "string"
  24918. },
  24919. "totalexposure": {
  24920. "description": "总敞口",
  24921. "type": "number"
  24922. }
  24923. }
  24924. },
  24925. "models.ErmcpLoginTaAccount": {
  24926. "type": "object",
  24927. "properties": {
  24928. "accountid": {
  24929. "description": "账号id",
  24930. "type": "integer"
  24931. },
  24932. "accountname": {
  24933. "description": "账号名称",
  24934. "type": "string"
  24935. }
  24936. }
  24937. },
  24938. "models.ErmcpLoginUser": {
  24939. "type": "object",
  24940. "properties": {
  24941. "acclist": {
  24942. "description": "关联资金账号",
  24943. "type": "array",
  24944. "items": {
  24945. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24946. }
  24947. },
  24948. "accountname": {
  24949. "description": "用户名称",
  24950. "type": "string"
  24951. },
  24952. "clientroleid": {
  24953. "description": "角色id(usertype=2)",
  24954. "type": "integer"
  24955. },
  24956. "createtime": {
  24957. "description": "创建时间",
  24958. "type": "string"
  24959. },
  24960. "logincode": {
  24961. "description": "登录代码",
  24962. "type": "string"
  24963. },
  24964. "loginid": {
  24965. "description": "登录id(LOGINID)",
  24966. "type": "integer"
  24967. },
  24968. "loginname": {
  24969. "description": "登录名称(loginaccount表中的accountname字段)",
  24970. "type": "string"
  24971. },
  24972. "loginstatus": {
  24973. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24974. "type": "integer"
  24975. },
  24976. "memberuserid": {
  24977. "description": "所属会员id",
  24978. "type": "integer"
  24979. },
  24980. "mobile": {
  24981. "description": "手机号",
  24982. "type": "string"
  24983. },
  24984. "modifytime": {
  24985. "description": "修改时间",
  24986. "type": "string"
  24987. },
  24988. "password": {
  24989. "description": "密码(不可解密)",
  24990. "type": "string"
  24991. },
  24992. "rolename": {
  24993. "description": "角色名称",
  24994. "type": "string"
  24995. },
  24996. "rolestatus": {
  24997. "description": "角色状态 1-启用 2-停用",
  24998. "type": "integer"
  24999. },
  25000. "roletype": {
  25001. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  25002. "type": "string"
  25003. },
  25004. "userid": {
  25005. "description": "用户id",
  25006. "type": "integer"
  25007. },
  25008. "usertype": {
  25009. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25010. "type": "integer"
  25011. }
  25012. }
  25013. },
  25014. "models.ErmcpLoginUserEx": {
  25015. "type": "object",
  25016. "properties": {
  25017. "accountstatus": {
  25018. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25019. "type": "integer"
  25020. },
  25021. "mobile": {
  25022. "description": "手机号",
  25023. "type": "string"
  25024. },
  25025. "querytype": {
  25026. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  25027. "type": "integer"
  25028. },
  25029. "roleid": {
  25030. "description": "角色id(交易账户-\u003e用户id)",
  25031. "type": "integer"
  25032. },
  25033. "rolename": {
  25034. "description": "角色名称(交易账户-\u003e用户名称)",
  25035. "type": "string"
  25036. },
  25037. "userlist": {
  25038. "description": "用户列表",
  25039. "type": "array",
  25040. "items": {
  25041. "$ref": "#/definitions/models.ErmcpLoginUser"
  25042. }
  25043. },
  25044. "usertype": {
  25045. "description": "用户类型 2-机构 7-企业成员(云平台)",
  25046. "type": "integer"
  25047. }
  25048. }
  25049. },
  25050. "models.ErmcpMiddleGoodsModel": {
  25051. "type": "object",
  25052. "properties": {
  25053. "areauserid": {
  25054. "description": "机构用户ID",
  25055. "type": "integer"
  25056. },
  25057. "createtime": {
  25058. "description": "修改时间",
  25059. "type": "string"
  25060. },
  25061. "enumdicname": {
  25062. "description": "单位名称",
  25063. "type": "string"
  25064. },
  25065. "evaluateratio": {
  25066. "description": "估价系数",
  25067. "type": "number"
  25068. },
  25069. "goodsgroupid": {
  25070. "description": "关联期货品种ID",
  25071. "type": "integer"
  25072. },
  25073. "goodsunitid": {
  25074. "description": "单位ID",
  25075. "type": "integer"
  25076. },
  25077. "isvalid": {
  25078. "description": "状态 0-无效(停用) 1-有效(正常)",
  25079. "type": "integer"
  25080. },
  25081. "middlegoodscode": {
  25082. "description": "套保品种代码",
  25083. "type": "string"
  25084. },
  25085. "middlegoodsid": {
  25086. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  25087. "type": "integer"
  25088. },
  25089. "middlegoodsname": {
  25090. "description": "套保品种名称",
  25091. "type": "string"
  25092. },
  25093. "modifytime": {
  25094. "description": "修改时间",
  25095. "type": "string"
  25096. },
  25097. "needarbitrageratio": {
  25098. "description": "套利比例",
  25099. "type": "number"
  25100. },
  25101. "needhedgeratio": {
  25102. "description": "套保比率",
  25103. "type": "number"
  25104. },
  25105. "qtydecimalplace": {
  25106. "description": "数量小数位",
  25107. "type": "integer"
  25108. },
  25109. "relatedgoodsid": {
  25110. "description": "关联交易商品ID",
  25111. "type": "integer"
  25112. },
  25113. "relatedgoodstype": {
  25114. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  25115. "type": "integer"
  25116. },
  25117. "remark": {
  25118. "description": "备注",
  25119. "type": "string"
  25120. }
  25121. }
  25122. },
  25123. "models.ErmcpMiddlegoodsRelateGoods": {
  25124. "type": "object",
  25125. "properties": {
  25126. "agreeunit": {
  25127. "description": "合约乘数",
  25128. "type": "number"
  25129. },
  25130. "convertratio": {
  25131. "description": "折算系数",
  25132. "type": "number"
  25133. },
  25134. "enumdicname": {
  25135. "description": "单位名称(交易商品)",
  25136. "type": "string"
  25137. },
  25138. "goodscode": {
  25139. "description": "交易商品代码",
  25140. "type": "string"
  25141. },
  25142. "goodsgroupid": {
  25143. "description": "交易品种id",
  25144. "type": "integer"
  25145. },
  25146. "goodsid": {
  25147. "description": "商品Id",
  25148. "type": "integer"
  25149. },
  25150. "goodsname": {
  25151. "description": "交易商品名称",
  25152. "type": "string"
  25153. },
  25154. "goodunitid": {
  25155. "description": "交易商品单位id",
  25156. "type": "integer"
  25157. },
  25158. "middlegoodsid": {
  25159. "description": "套保商品id",
  25160. "type": "integer"
  25161. },
  25162. "middlegoodsname": {
  25163. "description": "套保商品名称",
  25164. "type": "string"
  25165. },
  25166. "middlegoodsswcode": {
  25167. "description": "套保商品代码",
  25168. "type": "string"
  25169. },
  25170. "needarbitrageratio": {
  25171. "description": "应套利比例",
  25172. "type": "number"
  25173. },
  25174. "needhedgeratio": {
  25175. "description": "应套保比例",
  25176. "type": "number"
  25177. }
  25178. }
  25179. },
  25180. "models.ErmcpRole": {
  25181. "type": "object",
  25182. "properties": {
  25183. "areauserid": {
  25184. "description": "所属机构",
  25185. "type": "integer"
  25186. },
  25187. "autoid": {
  25188. "description": "角色ID(自增ID)",
  25189. "type": "integer"
  25190. },
  25191. "modifierid": {
  25192. "description": "修改人(创建人)",
  25193. "type": "integer"
  25194. },
  25195. "modifiername": {
  25196. "description": "修改人名称",
  25197. "type": "string"
  25198. },
  25199. "modifytime": {
  25200. "description": "修改时间(创建时间)",
  25201. "type": "string"
  25202. },
  25203. "rolename": {
  25204. "description": "角色名称",
  25205. "type": "string"
  25206. },
  25207. "rolestatus": {
  25208. "description": "角色状态 - 1:启用 2:停用",
  25209. "type": "integer"
  25210. },
  25211. "roletype": {
  25212. "description": "角色类型 - 1- 管理端 2- 交易端",
  25213. "type": "integer"
  25214. }
  25215. }
  25216. },
  25217. "models.ErmcpRoleMenu": {
  25218. "type": "object",
  25219. "properties": {
  25220. "iconame": {
  25221. "description": "菜单图标",
  25222. "type": "string"
  25223. },
  25224. "ishadrole": {
  25225. "description": "是否有权限",
  25226. "type": "boolean"
  25227. },
  25228. "menutype": {
  25229. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  25230. "type": "integer"
  25231. },
  25232. "parentcode": {
  25233. "description": "上级资源代码",
  25234. "type": "string"
  25235. },
  25236. "remark": {
  25237. "description": "菜单备注",
  25238. "type": "string"
  25239. },
  25240. "resourcecode": {
  25241. "description": "菜单代码",
  25242. "type": "string"
  25243. },
  25244. "resourcelevel": {
  25245. "description": "级别",
  25246. "type": "integer"
  25247. },
  25248. "resourcename": {
  25249. "description": "菜单名称",
  25250. "type": "string"
  25251. },
  25252. "roleid": {
  25253. "description": "角色id",
  25254. "type": "integer"
  25255. },
  25256. "sort": {
  25257. "description": "排序",
  25258. "type": "integer"
  25259. },
  25260. "url": {
  25261. "description": "URL",
  25262. "type": "string"
  25263. },
  25264. "userid": {
  25265. "description": "用户id",
  25266. "type": "integer"
  25267. }
  25268. }
  25269. },
  25270. "models.ErmcpRoleMenuEx": {
  25271. "type": "object",
  25272. "properties": {
  25273. "menu": {
  25274. "description": "父级菜单",
  25275. "$ref": "#/definitions/models.ErmcpRoleMenu"
  25276. },
  25277. "subMenu": {
  25278. "description": "子级菜单",
  25279. "type": "array",
  25280. "items": {
  25281. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  25282. }
  25283. }
  25284. }
  25285. },
  25286. "models.ErmcpSpotContractModelEx": {
  25287. "type": "object",
  25288. "properties": {
  25289. "accountname": {
  25290. "description": "套期主体",
  25291. "type": "string"
  25292. },
  25293. "amount": {
  25294. "description": "金额 [1:一口价、3:暂定价]",
  25295. "type": "number"
  25296. },
  25297. "attachment": {
  25298. "description": "附件",
  25299. "type": "string"
  25300. },
  25301. "auditremark": {
  25302. "description": "审核意见",
  25303. "type": "string"
  25304. },
  25305. "audittime": {
  25306. "description": "审核时间",
  25307. "type": "string"
  25308. },
  25309. "avgprice": {
  25310. "description": "定价均价 = 已定价金额 / 已定价量",
  25311. "type": "number"
  25312. },
  25313. "brandname": {
  25314. "description": "品牌名称",
  25315. "type": "string"
  25316. },
  25317. "buyuserid": {
  25318. "description": "采购方ID",
  25319. "type": "integer"
  25320. },
  25321. "buyusername": {
  25322. "description": "采购方名称",
  25323. "type": "string"
  25324. },
  25325. "contracctstatus": {
  25326. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25327. "type": "integer"
  25328. },
  25329. "contractmargin": {
  25330. "description": "合同保证金",
  25331. "type": "number"
  25332. },
  25333. "contractno": {
  25334. "description": "[合同编号]现货合同编号",
  25335. "type": "string"
  25336. },
  25337. "contracttype": {
  25338. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  25339. "type": "integer"
  25340. },
  25341. "convertfactor": {
  25342. "description": "标仓系数",
  25343. "type": "number"
  25344. },
  25345. "createtime": {
  25346. "description": "创建时间",
  25347. "type": "string"
  25348. },
  25349. "customername": {
  25350. "description": "对手方",
  25351. "type": "string"
  25352. },
  25353. "customeruserid": {
  25354. "description": "客户ID",
  25355. "type": "integer"
  25356. },
  25357. "deliveryenddate": {
  25358. "description": "交收期(结束)",
  25359. "type": "string"
  25360. },
  25361. "deliverygoodscode": {
  25362. "description": "现货品种代码",
  25363. "type": "string"
  25364. },
  25365. "deliverygoodsid": {
  25366. "description": "现货品种ID",
  25367. "type": "integer"
  25368. },
  25369. "deliverygoodsname": {
  25370. "description": "现货品种名称",
  25371. "type": "string"
  25372. },
  25373. "deliverystartdate": {
  25374. "description": "交收期(开始)",
  25375. "type": "string"
  25376. },
  25377. "enddate": {
  25378. "description": "点价结束日期 [2:点价 3:暂定价]",
  25379. "type": "string"
  25380. },
  25381. "enumdicname": {
  25382. "description": "单位名称",
  25383. "type": "string"
  25384. },
  25385. "goodscode": {
  25386. "description": "点价合约代码",
  25387. "type": "string"
  25388. },
  25389. "goodsid": {
  25390. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  25391. "type": "integer"
  25392. },
  25393. "goodsname": {
  25394. "description": "点价商品名称",
  25395. "type": "string"
  25396. },
  25397. "isrelated": {
  25398. "description": "是否已关联计划项目 - 0:否 1:是",
  25399. "type": "integer"
  25400. },
  25401. "isrelated2": {
  25402. "description": "是否已关联现货项目 - 0:否 1:是",
  25403. "type": "integer"
  25404. },
  25405. "margin": {
  25406. "description": "当前保证金",
  25407. "type": "number"
  25408. },
  25409. "modelname": {
  25410. "description": "型号名称",
  25411. "type": "string"
  25412. },
  25413. "price": {
  25414. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  25415. "type": "number"
  25416. },
  25417. "pricedamount": {
  25418. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  25419. "type": "number"
  25420. },
  25421. "pricedqty": {
  25422. "description": "已定价量",
  25423. "type": "number"
  25424. },
  25425. "pricemove": {
  25426. "description": "升贴水 [2:点价 3:暂定价]",
  25427. "type": "number"
  25428. },
  25429. "pricetype": {
  25430. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25431. "type": "integer"
  25432. },
  25433. "producttype": {
  25434. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25435. "type": "integer"
  25436. },
  25437. "qty": {
  25438. "description": "[合同数量]数量",
  25439. "type": "number"
  25440. },
  25441. "remark": {
  25442. "description": "备注",
  25443. "type": "string"
  25444. },
  25445. "selluserid": {
  25446. "description": "销售方ID",
  25447. "type": "integer"
  25448. },
  25449. "sellusername": {
  25450. "description": "销售方名称",
  25451. "type": "string"
  25452. },
  25453. "spotamount": {
  25454. "description": "合同现货金额 [不含升贴水]",
  25455. "type": "number"
  25456. },
  25457. "spotavgprice": {
  25458. "description": "现货均价 = 合同现货金额 / 已定价量",
  25459. "type": "number"
  25460. },
  25461. "spotcontractid": {
  25462. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25463. "type": "string"
  25464. },
  25465. "spotgoodsbrandid": {
  25466. "description": "现货品牌ID",
  25467. "type": "integer"
  25468. },
  25469. "spotgoodsdesc": {
  25470. "description": "商品型号",
  25471. "type": "string"
  25472. },
  25473. "spotgoodsmodelid": {
  25474. "description": "现货型号ID",
  25475. "type": "integer"
  25476. },
  25477. "startdate": {
  25478. "description": "点价开始日期 [2:点价 3:暂定价]",
  25479. "type": "string"
  25480. },
  25481. "tradeuserid": {
  25482. "description": "交易用户ID",
  25483. "type": "integer"
  25484. },
  25485. "unpricedqty": {
  25486. "description": "未定价量 = 合同数量 - 已定价量",
  25487. "type": "number"
  25488. },
  25489. "updatetime": {
  25490. "description": "更新时间",
  25491. "type": "string"
  25492. },
  25493. "userid": {
  25494. "description": "机构ID",
  25495. "type": "integer"
  25496. },
  25497. "wrstandardcode": {
  25498. "description": "现货商品代码",
  25499. "type": "string"
  25500. },
  25501. "wrstandardid": {
  25502. "description": "现货商品ID",
  25503. "type": "integer"
  25504. },
  25505. "wrstandardname": {
  25506. "description": "[现货商品]现货商品名称",
  25507. "type": "string"
  25508. }
  25509. }
  25510. },
  25511. "models.ErmcpTaAccount": {
  25512. "type": "object",
  25513. "properties": {
  25514. "accountid": {
  25515. "description": "账户id",
  25516. "type": "integer"
  25517. },
  25518. "accountname": {
  25519. "description": "账户名称",
  25520. "type": "string"
  25521. },
  25522. "currencyid": {
  25523. "description": "币种id",
  25524. "type": "integer"
  25525. },
  25526. "hedgeaccountcode": {
  25527. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25528. "type": "string"
  25529. },
  25530. "ismain": {
  25531. "description": "是否主账户 0-否 1-是",
  25532. "type": "integer"
  25533. },
  25534. "parentaccountid": {
  25535. "description": "父账户id",
  25536. "type": "integer"
  25537. },
  25538. "relateduserid": {
  25539. "description": "关联userid",
  25540. "type": "integer"
  25541. },
  25542. "tradefeetmpid": {
  25543. "description": "手续费模板id",
  25544. "type": "integer"
  25545. },
  25546. "tradefeetmpname": {
  25547. "description": "手续费模板名称",
  25548. "type": "string"
  25549. },
  25550. "trademargintmpid": {
  25551. "description": "保证金模板id",
  25552. "type": "integer"
  25553. },
  25554. "trademargintmpname": {
  25555. "description": "保证金模板名称",
  25556. "type": "string"
  25557. },
  25558. "traderatetmpid": {
  25559. "description": "汇率模板id",
  25560. "type": "integer"
  25561. },
  25562. "traderatetmpname": {
  25563. "description": "汇率模板名称",
  25564. "type": "string"
  25565. },
  25566. "tradestatus": {
  25567. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25568. "type": "integer"
  25569. },
  25570. "userid": {
  25571. "description": "用户id",
  25572. "type": "integer"
  25573. }
  25574. }
  25575. },
  25576. "models.ErmcpTaAccountEx": {
  25577. "type": "object",
  25578. "properties": {
  25579. "mainAcc": {
  25580. "description": "主账号",
  25581. "$ref": "#/definitions/models.ErmcpTaAccountM"
  25582. },
  25583. "subacclist": {
  25584. "description": "子账号列表",
  25585. "type": "array",
  25586. "items": {
  25587. "$ref": "#/definitions/models.ErmcpTaAccount"
  25588. }
  25589. }
  25590. }
  25591. },
  25592. "models.ErmcpTaAccountInfo": {
  25593. "type": "object",
  25594. "properties": {
  25595. "accountid": {
  25596. "description": "资金账户ID",
  25597. "type": "integer"
  25598. },
  25599. "accountname": {
  25600. "description": "账户名称",
  25601. "type": "string"
  25602. },
  25603. "balance": {
  25604. "description": "期初余额",
  25605. "type": "number"
  25606. },
  25607. "capitalbalance": {
  25608. "description": "本金余额[外部子账户实际出入金余额]",
  25609. "type": "number"
  25610. },
  25611. "closepl": {
  25612. "description": "今日平仓盈亏",
  25613. "type": "number"
  25614. },
  25615. "creditdecrease": {
  25616. "description": "今日授信减少",
  25617. "type": "number"
  25618. },
  25619. "creditincrease": {
  25620. "description": "今日授信增加",
  25621. "type": "number"
  25622. },
  25623. "curdebt": {
  25624. "description": "期末欠款",
  25625. "type": "number"
  25626. },
  25627. "currencyid": {
  25628. "description": "货币ID",
  25629. "type": "integer"
  25630. },
  25631. "currentbalance": {
  25632. "description": "期末余额",
  25633. "type": "number"
  25634. },
  25635. "freezecharge": {
  25636. "description": "手续费冻结",
  25637. "type": "number"
  25638. },
  25639. "freezemargin": {
  25640. "description": "冻结保证金",
  25641. "type": "number"
  25642. },
  25643. "fromaccountid": {
  25644. "description": "所属上级账户",
  25645. "type": "integer"
  25646. },
  25647. "inamount": {
  25648. "description": "今日入金金额(包括三方入金)",
  25649. "type": "number"
  25650. },
  25651. "ismain": {
  25652. "description": "是否母账号 0:不是母账户 1:是母账户",
  25653. "type": "integer"
  25654. },
  25655. "mortgagecredit": {
  25656. "description": "授信金额",
  25657. "type": "number"
  25658. },
  25659. "oridebt": {
  25660. "description": "期初欠款",
  25661. "type": "number"
  25662. },
  25663. "orifreezecharge": {
  25664. "description": "期初手续费冻结",
  25665. "type": "number"
  25666. },
  25667. "orifreezemargin": {
  25668. "description": "期初冻结保证金",
  25669. "type": "number"
  25670. },
  25671. "orimortgagecredit": {
  25672. "description": "期初授信金额",
  25673. "type": "number"
  25674. },
  25675. "oriothercredit": {
  25676. "description": "期初其它授信金额",
  25677. "type": "number"
  25678. },
  25679. "oriotherfreezemargin": {
  25680. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25681. "type": "number"
  25682. },
  25683. "orioutamountfreeze": {
  25684. "description": "期初出金冻结",
  25685. "type": "number"
  25686. },
  25687. "oriusedmargin": {
  25688. "description": "期初占用保证金",
  25689. "type": "number"
  25690. },
  25691. "othercredit": {
  25692. "description": "其它授信金额",
  25693. "type": "number"
  25694. },
  25695. "othercreditdecrease": {
  25696. "description": "今日其它授信减少",
  25697. "type": "number"
  25698. },
  25699. "othercreditincrease": {
  25700. "description": "今日其它授信增加",
  25701. "type": "number"
  25702. },
  25703. "otherfreezemargin": {
  25704. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25705. "type": "number"
  25706. },
  25707. "outamount": {
  25708. "description": "今日出金金额(包括三方出金)",
  25709. "type": "number"
  25710. },
  25711. "outamountfreeze": {
  25712. "description": "出金冻结",
  25713. "type": "number"
  25714. },
  25715. "outthreshold": {
  25716. "description": "出金阈值",
  25717. "type": "number"
  25718. },
  25719. "parentaccountid": {
  25720. "description": "所属根账号",
  25721. "type": "integer"
  25722. },
  25723. "paycharge": {
  25724. "description": "今日手续费支出",
  25725. "type": "number"
  25726. },
  25727. "relateduserid": {
  25728. "description": "关联用户",
  25729. "type": "integer"
  25730. },
  25731. "signstatus": {
  25732. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25733. "type": "integer"
  25734. },
  25735. "sublevelpath": {
  25736. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25737. "type": "string"
  25738. },
  25739. "taaccounttype": {
  25740. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25741. "type": "integer"
  25742. },
  25743. "thirdinamount": {
  25744. "description": "今日三方入金",
  25745. "type": "number"
  25746. },
  25747. "thirdoutamount": {
  25748. "description": "今日三方出金",
  25749. "type": "number"
  25750. },
  25751. "tradestatus": {
  25752. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25753. "type": "integer"
  25754. },
  25755. "transferamount": {
  25756. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25757. "type": "number"
  25758. },
  25759. "usedmargin": {
  25760. "description": "占用保证金",
  25761. "type": "number"
  25762. },
  25763. "userid": {
  25764. "description": "用户ID",
  25765. "type": "integer"
  25766. }
  25767. }
  25768. },
  25769. "models.ErmcpTaAccountM": {
  25770. "type": "object",
  25771. "properties": {
  25772. "accountid": {
  25773. "description": "账户id",
  25774. "type": "integer"
  25775. },
  25776. "accountname": {
  25777. "description": "账户名称",
  25778. "type": "string"
  25779. },
  25780. "currencyid": {
  25781. "description": "币种id",
  25782. "type": "integer"
  25783. },
  25784. "fcid": {
  25785. "description": "期货公司id",
  25786. "type": "integer"
  25787. },
  25788. "fcname": {
  25789. "description": "期货公司代码",
  25790. "type": "string"
  25791. },
  25792. "hedgeaccountcode": {
  25793. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25794. "type": "string"
  25795. },
  25796. "ismain": {
  25797. "description": "是否主账户 0-否 1-是",
  25798. "type": "integer"
  25799. },
  25800. "parentaccountid": {
  25801. "description": "父账户id",
  25802. "type": "integer"
  25803. },
  25804. "relateduserid": {
  25805. "description": "关联userid",
  25806. "type": "integer"
  25807. },
  25808. "tradefeetmpid": {
  25809. "description": "手续费模板id",
  25810. "type": "integer"
  25811. },
  25812. "tradefeetmpname": {
  25813. "description": "手续费模板名称",
  25814. "type": "string"
  25815. },
  25816. "trademargintmpid": {
  25817. "description": "保证金模板id",
  25818. "type": "integer"
  25819. },
  25820. "trademargintmpname": {
  25821. "description": "保证金模板名称",
  25822. "type": "string"
  25823. },
  25824. "traderatetmpid": {
  25825. "description": "汇率模板id",
  25826. "type": "integer"
  25827. },
  25828. "traderatetmpname": {
  25829. "description": "汇率模板名称",
  25830. "type": "string"
  25831. },
  25832. "tradestatus": {
  25833. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25834. "type": "integer"
  25835. },
  25836. "userid": {
  25837. "description": "用户id",
  25838. "type": "integer"
  25839. }
  25840. }
  25841. },
  25842. "models.ErmcpTradeConfigTMP": {
  25843. "type": "object",
  25844. "properties": {
  25845. "areauserid": {
  25846. "description": "所属机构",
  25847. "type": "integer"
  25848. },
  25849. "basiccurrencyid": {
  25850. "description": "基本币种ID[汇率] - 目标币种",
  25851. "type": "integer"
  25852. },
  25853. "mainaccountid": {
  25854. "description": "主账户ID",
  25855. "type": "integer"
  25856. },
  25857. "modifierid": {
  25858. "description": "修改人",
  25859. "type": "integer"
  25860. },
  25861. "remark": {
  25862. "description": "备注",
  25863. "type": "string"
  25864. },
  25865. "tradeconfigtmpid": {
  25866. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25867. "type": "integer"
  25868. },
  25869. "tradeconfigtmpname": {
  25870. "description": "交易配置模板名称",
  25871. "type": "string"
  25872. },
  25873. "tradeconfigtmptype": {
  25874. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25875. "type": "integer"
  25876. },
  25877. "updatetime": {
  25878. "description": "更新时间",
  25879. "type": "string"
  25880. }
  25881. }
  25882. },
  25883. "models.Ermcpjrlinkpos": {
  25884. "type": "object",
  25885. "required": [
  25886. "spotcontractid"
  25887. ],
  25888. "properties": {
  25889. "areauserid": {
  25890. "description": "所属企业",
  25891. "type": "integer"
  25892. },
  25893. "averageprice": {
  25894. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  25895. "type": "number"
  25896. },
  25897. "closepl": {
  25898. "description": "总平仓盈亏 [期货损益]",
  25899. "type": "number"
  25900. },
  25901. "executeprice": {
  25902. "description": "执行价 - 1:期货单 为 0",
  25903. "type": "integer"
  25904. },
  25905. "futurehedgeqty": {
  25906. "description": "期货套期量",
  25907. "type": "number"
  25908. },
  25909. "goodsid": {
  25910. "description": "期货合约",
  25911. "type": "integer"
  25912. },
  25913. "middlegoodscode": {
  25914. "description": "套保商品代码",
  25915. "type": "string"
  25916. },
  25917. "middlegoodsname": {
  25918. "description": "套保商品名称",
  25919. "type": "string"
  25920. },
  25921. "netqty": {
  25922. "description": "净头寸",
  25923. "type": "number"
  25924. },
  25925. "optioncode": {
  25926. "description": "期权代码",
  25927. "type": "string"
  25928. },
  25929. "ordertype": {
  25930. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  25931. "type": "integer"
  25932. },
  25933. "reckonpl": {
  25934. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  25935. "type": "number"
  25936. },
  25937. "spotcontractid": {
  25938. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  25939. "type": "string"
  25940. },
  25941. "todayfutureclosepl": {
  25942. "description": "今日平仓盈亏",
  25943. "type": "number"
  25944. },
  25945. "totalbuyamount": {
  25946. "description": "买金额 [期货]",
  25947. "type": "number"
  25948. },
  25949. "totalbuyholdamount": {
  25950. "description": "买持仓总金额[期货]",
  25951. "type": "number"
  25952. },
  25953. "totalbuyqty": {
  25954. "description": "买数量",
  25955. "type": "number"
  25956. },
  25957. "totalcharge": {
  25958. "description": "手续费",
  25959. "type": "number"
  25960. },
  25961. "totalpremium": {
  25962. "description": "权利金 [期权]",
  25963. "type": "number"
  25964. },
  25965. "totalsellamount": {
  25966. "description": "卖金额 [期货]",
  25967. "type": "number"
  25968. },
  25969. "totalsellholdamount": {
  25970. "description": "卖持仓总金额[期货]",
  25971. "type": "number"
  25972. },
  25973. "totalsellqty": {
  25974. "description": "卖数量",
  25975. "type": "number"
  25976. },
  25977. "updatetime": {
  25978. "description": "更新时间",
  25979. "type": "string"
  25980. }
  25981. }
  25982. },
  25983. "models.Ermcppatradelinkdetail": {
  25984. "type": "object",
  25985. "required": [
  25986. "hedgeditemid"
  25987. ],
  25988. "properties": {
  25989. "agreeunit": {
  25990. "description": "合约乘数",
  25991. "type": "number"
  25992. },
  25993. "amount": {
  25994. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  25995. "type": "number"
  25996. },
  25997. "areauserid": {
  25998. "description": "所属机构",
  25999. "type": "integer"
  26000. },
  26001. "bizsubjectid": {
  26002. "description": "归属业务部门ID - SubjectID",
  26003. "type": "integer"
  26004. },
  26005. "buyorsell": {
  26006. "description": "方向 - 0:买 1:卖",
  26007. "type": "integer"
  26008. },
  26009. "convertratio": {
  26010. "description": "品种系数",
  26011. "type": "number"
  26012. },
  26013. "createtime": {
  26014. "description": "创建时间",
  26015. "type": "string"
  26016. },
  26017. "creatorid": {
  26018. "description": "创建人ID",
  26019. "type": "integer"
  26020. },
  26021. "creatorsrc": {
  26022. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26023. "type": "integer"
  26024. },
  26025. "goodsgroupid": {
  26026. "description": "对冲品种ID[期货合约商品组ID]",
  26027. "type": "integer"
  26028. },
  26029. "goodsid": {
  26030. "description": "商品ID",
  26031. "type": "integer"
  26032. },
  26033. "hedgeditemid": {
  26034. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  26035. "type": "integer"
  26036. },
  26037. "hedgeflag": {
  26038. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  26039. "type": "integer"
  26040. },
  26041. "linkdetailid": {
  26042. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26043. "type": "string"
  26044. },
  26045. "linkstatus": {
  26046. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26047. "type": "integer"
  26048. },
  26049. "middlegoodsid": {
  26050. "description": "套保品种ID",
  26051. "type": "integer"
  26052. },
  26053. "name": {
  26054. "description": "账户名/子账户",
  26055. "type": "string"
  26056. },
  26057. "optioncode": {
  26058. "description": "[期货合约]期权代码 [期权]",
  26059. "type": "string"
  26060. },
  26061. "ordertype": {
  26062. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  26063. "type": "integer"
  26064. },
  26065. "relatedlot": {
  26066. "description": "[数量]关联手数",
  26067. "type": "number"
  26068. },
  26069. "relatedmode": {
  26070. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26071. "type": "integer"
  26072. },
  26073. "relatedqty": {
  26074. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26075. "type": "number"
  26076. },
  26077. "retcode": {
  26078. "description": "返回码",
  26079. "type": "integer"
  26080. },
  26081. "saleuserid": {
  26082. "description": "业务员ID",
  26083. "type": "integer"
  26084. },
  26085. "tradedate": {
  26086. "description": "关联交易日(yyyyMMdd)",
  26087. "type": "string"
  26088. },
  26089. "tradeid": {
  26090. "description": "[成交单号]内部成交单ID",
  26091. "type": "string"
  26092. },
  26093. "tradelot": {
  26094. "description": "成交手数",
  26095. "type": "integer"
  26096. },
  26097. "tradeprice": {
  26098. "description": "[价格]成交价格",
  26099. "type": "number"
  26100. },
  26101. "tradetime": {
  26102. "description": "日期时间",
  26103. "type": "string"
  26104. },
  26105. "tradetradedate": {
  26106. "description": "成交交易日(yyyyMMdd)",
  26107. "type": "string"
  26108. }
  26109. }
  26110. },
  26111. "models.Exchangerateconfig": {
  26112. "type": "object",
  26113. "properties": {
  26114. "descurrencyid": {
  26115. "description": "目标币种ID",
  26116. "type": "integer"
  26117. },
  26118. "exchangerate": {
  26119. "description": "汇率",
  26120. "type": "number"
  26121. },
  26122. "oricurrencyid": {
  26123. "description": "源币种ID",
  26124. "type": "integer"
  26125. },
  26126. "remark": {
  26127. "description": "备注",
  26128. "type": "string"
  26129. }
  26130. }
  26131. },
  26132. "models.Externalexchange": {
  26133. "type": "object",
  26134. "required": [
  26135. "autoid"
  26136. ],
  26137. "properties": {
  26138. "autoid": {
  26139. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  26140. "type": "integer"
  26141. },
  26142. "exchangefullname": {
  26143. "description": "外部交易所全称",
  26144. "type": "string"
  26145. },
  26146. "exexchangecode": {
  26147. "description": "外部交易所代码",
  26148. "type": "string"
  26149. },
  26150. "exexchangename": {
  26151. "description": "外部交易所名称(简称)",
  26152. "type": "string"
  26153. },
  26154. "ismarketprice": {
  26155. "description": "是否支持市价 - 0:不支持 1:支持",
  26156. "type": "integer"
  26157. },
  26158. "quotegear": {
  26159. "description": "行情档位(1-10)",
  26160. "type": "integer"
  26161. },
  26162. "showbrokerflag": {
  26163. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  26164. "type": "integer"
  26165. },
  26166. "updatetime": {
  26167. "description": "更新时间",
  26168. "type": "string"
  26169. }
  26170. }
  26171. },
  26172. "models.Funcmenulist": {
  26173. "type": "object",
  26174. "required": [
  26175. "resourcecode"
  26176. ],
  26177. "properties": {
  26178. "iconame": {
  26179. "description": "菜单图标",
  26180. "type": "string"
  26181. },
  26182. "menutype": {
  26183. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  26184. "type": "integer"
  26185. },
  26186. "parentcode": {
  26187. "description": "上级资源代码",
  26188. "type": "string"
  26189. },
  26190. "remark": {
  26191. "description": "备注",
  26192. "type": "string"
  26193. },
  26194. "resourcecode": {
  26195. "description": "资源代码",
  26196. "type": "string"
  26197. },
  26198. "resourcelevel": {
  26199. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  26200. "type": "integer"
  26201. },
  26202. "resourcename": {
  26203. "description": "资源名",
  26204. "type": "string"
  26205. },
  26206. "sort": {
  26207. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  26208. "type": "integer"
  26209. },
  26210. "url": {
  26211. "description": "URL",
  26212. "type": "string"
  26213. }
  26214. }
  26215. },
  26216. "models.GZGoods": {
  26217. "type": "object",
  26218. "required": [
  26219. "goodsno"
  26220. ],
  26221. "properties": {
  26222. "cerno": {
  26223. "description": "证书编号 - 类型:2,4,5",
  26224. "type": "string"
  26225. },
  26226. "cpcertno": {
  26227. "description": "金伯利证书编号 - 类型:3",
  26228. "type": "string"
  26229. },
  26230. "goodsno": {
  26231. "description": "商品编号",
  26232. "type": "string"
  26233. },
  26234. "imagepath": {
  26235. "description": "商品照片(相对地址)",
  26236. "type": "string"
  26237. },
  26238. "isvalid": {
  26239. "description": "是否有效 - 0:无效 1:有效",
  26240. "type": "integer"
  26241. },
  26242. "kppath": {
  26243. "description": "金伯利证书图片(相对地址) - 类型:3",
  26244. "type": "string"
  26245. },
  26246. "kpweight": {
  26247. "description": "金伯利证书重量 - 类型:3",
  26248. "type": "string"
  26249. },
  26250. "marketprice": {
  26251. "description": "市场价",
  26252. "type": "string"
  26253. },
  26254. "mobile": {
  26255. "description": "手机号码",
  26256. "type": "string"
  26257. },
  26258. "origin": {
  26259. "description": "原产地 - 类型:3",
  26260. "type": "string"
  26261. },
  26262. "price": {
  26263. "description": "总价(价格) - 类型:1,2,3,4,5",
  26264. "type": "number"
  26265. },
  26266. "priceper": {
  26267. "description": "克拉单价 - 类型:1,2,3,5",
  26268. "type": "string"
  26269. },
  26270. "remark": {
  26271. "description": "备注",
  26272. "type": "string"
  26273. },
  26274. "sellusername": {
  26275. "description": "账户名称(机构名称)",
  26276. "type": "string"
  26277. },
  26278. "settingmaterial": {
  26279. "description": "镶嵌材料 - 类型:4",
  26280. "type": "string"
  26281. },
  26282. "size1": {
  26283. "description": "尺寸1 - 类型:2,4,5",
  26284. "type": "string"
  26285. },
  26286. "size2": {
  26287. "description": "尺寸2 - 类型:2,4,5",
  26288. "type": "string"
  26289. },
  26290. "size3": {
  26291. "description": "尺寸3 - 类型:2,4,5",
  26292. "type": "string"
  26293. },
  26294. "stonedesc": {
  26295. "description": "配石描述 - 类型:4",
  26296. "type": "string"
  26297. },
  26298. "userid": {
  26299. "description": "用户ID",
  26300. "type": "integer"
  26301. },
  26302. "warehouseid": {
  26303. "description": "仓库ID",
  26304. "type": "integer"
  26305. },
  26306. "warehousenamedisplay": {
  26307. "type": "string"
  26308. },
  26309. "weight": {
  26310. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  26311. "type": "number"
  26312. },
  26313. "weightavg": {
  26314. "description": "平均单颗重量 - 类型:1,3",
  26315. "type": "number"
  26316. },
  26317. "wrpath": {
  26318. "description": "仓单扫描件(相对地址)",
  26319. "type": "string"
  26320. },
  26321. "wrstandardid": {
  26322. "description": "现货商品ID",
  26323. "type": "integer"
  26324. },
  26325. "zscategory": {
  26326. "description": "钻石分类 - 枚举”ZSCategory“",
  26327. "type": "integer"
  26328. },
  26329. "zscategorydisplay": {
  26330. "type": "string"
  26331. },
  26332. "zscerttype": {
  26333. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  26334. "type": "integer"
  26335. },
  26336. "zscerttypedisplay": {
  26337. "type": "string"
  26338. },
  26339. "zsclaritytype1": {
  26340. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  26341. "type": "integer"
  26342. },
  26343. "zsclaritytype1display": {
  26344. "type": "string"
  26345. },
  26346. "zsclaritytype2": {
  26347. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  26348. "type": "integer"
  26349. },
  26350. "zsclaritytype2display": {
  26351. "type": "string"
  26352. },
  26353. "zscolortype1": {
  26354. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  26355. "type": "integer"
  26356. },
  26357. "zscolortype1display": {
  26358. "type": "string"
  26359. },
  26360. "zscolortype2": {
  26361. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  26362. "type": "integer"
  26363. },
  26364. "zscolortype2display": {
  26365. "type": "string"
  26366. },
  26367. "zscrystaltype": {
  26368. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  26369. "type": "string"
  26370. },
  26371. "zscrystaltypedisplay": {
  26372. "type": "string"
  26373. },
  26374. "zscurrencytype": {
  26375. "description": "货币类型 - 枚举“ZSCurrencyType”",
  26376. "type": "integer"
  26377. },
  26378. "zscurrencytypedisplay": {
  26379. "type": "string"
  26380. },
  26381. "zscurrencytypedisplayunit": {
  26382. "type": "string"
  26383. },
  26384. "zscuttype1": {
  26385. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  26386. "type": "integer"
  26387. },
  26388. "zscuttype1display": {
  26389. "type": "string"
  26390. },
  26391. "zscuttype2": {
  26392. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  26393. "type": "integer"
  26394. },
  26395. "zscuttype2display": {
  26396. "type": "string"
  26397. },
  26398. "zsczcolor1type": {
  26399. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  26400. "type": "integer"
  26401. },
  26402. "zsczcolor1typedisplay": {
  26403. "type": "string"
  26404. },
  26405. "zsczcolor2type": {
  26406. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  26407. "type": "integer"
  26408. },
  26409. "zsczcolor2typedisplay": {
  26410. "type": "string"
  26411. },
  26412. "zsczcolor3type": {
  26413. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  26414. "type": "integer"
  26415. },
  26416. "zsczcolor3typedisplay": {
  26417. "type": "string"
  26418. },
  26419. "zsfluorescencetype1": {
  26420. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  26421. "type": "integer"
  26422. },
  26423. "zsfluorescencetype1display": {
  26424. "type": "string"
  26425. },
  26426. "zsfluorescencetype2": {
  26427. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  26428. "type": "integer"
  26429. },
  26430. "zsfluorescencetype2display": {
  26431. "type": "string"
  26432. },
  26433. "zspolishtype1": {
  26434. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  26435. "type": "integer"
  26436. },
  26437. "zspolishtype1display": {
  26438. "type": "string"
  26439. },
  26440. "zspolishtype2": {
  26441. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  26442. "type": "integer"
  26443. },
  26444. "zspolishtype2display": {
  26445. "type": "string"
  26446. },
  26447. "zsshapetype": {
  26448. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  26449. "type": "string"
  26450. },
  26451. "zsshapetypedisplay": {
  26452. "type": "string"
  26453. },
  26454. "zsstyletype": {
  26455. "description": "款式 - 类型:4",
  26456. "type": "integer"
  26457. },
  26458. "zsstyletypedisplay": {
  26459. "type": "string"
  26460. },
  26461. "zssymmetrytype1": {
  26462. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  26463. "type": "integer"
  26464. },
  26465. "zssymmetrytype1display": {
  26466. "type": "string"
  26467. },
  26468. "zssymmetrytype2": {
  26469. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  26470. "type": "integer"
  26471. },
  26472. "zssymmetrytype2display": {
  26473. "type": "string"
  26474. }
  26475. }
  26476. },
  26477. "models.GZWarehouseinfo": {
  26478. "type": "object",
  26479. "properties": {
  26480. "address": {
  26481. "description": "详细地址",
  26482. "type": "string"
  26483. },
  26484. "areauserid": {
  26485. "description": "所属机构",
  26486. "type": "integer"
  26487. },
  26488. "autoid": {
  26489. "description": "自增ID",
  26490. "type": "integer"
  26491. },
  26492. "cityid": {
  26493. "description": "市",
  26494. "type": "integer"
  26495. },
  26496. "contactname": {
  26497. "description": "联系人",
  26498. "type": "string"
  26499. },
  26500. "contactnum": {
  26501. "description": "联系电话",
  26502. "type": "string"
  26503. },
  26504. "countryid": {
  26505. "description": "国家",
  26506. "type": "integer"
  26507. },
  26508. "createtime": {
  26509. "description": "创建时间",
  26510. "type": "string"
  26511. },
  26512. "districtid": {
  26513. "description": "区",
  26514. "type": "integer"
  26515. },
  26516. "hasvideo": {
  26517. "description": "是否有视频 - 0:无 1:有",
  26518. "type": "integer"
  26519. },
  26520. "provinceid": {
  26521. "description": "省",
  26522. "type": "integer"
  26523. },
  26524. "remark": {
  26525. "description": "审核备注",
  26526. "type": "string"
  26527. },
  26528. "videourl": {
  26529. "description": "视频地址",
  26530. "type": "string"
  26531. },
  26532. "warehousecode": {
  26533. "description": "仓库代码",
  26534. "type": "string"
  26535. },
  26536. "warehousename": {
  26537. "description": "仓库名称",
  26538. "type": "string"
  26539. },
  26540. "warehousestatus": {
  26541. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  26542. "type": "integer"
  26543. },
  26544. "warehousetype": {
  26545. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26546. "type": "integer"
  26547. }
  26548. }
  26549. },
  26550. "models.Goods": {
  26551. "type": "object",
  26552. "required": [
  26553. "goodscode",
  26554. "goodsid",
  26555. "goodsname",
  26556. "marketid"
  26557. ],
  26558. "properties": {
  26559. "agreeunit": {
  26560. "description": "合约单位",
  26561. "type": "number"
  26562. },
  26563. "areauserid": {
  26564. "description": "所属机构",
  26565. "type": "integer"
  26566. },
  26567. "auditaccountid": {
  26568. "description": "审核操作员账号",
  26569. "type": "integer"
  26570. },
  26571. "audittime": {
  26572. "description": "审核时间",
  26573. "type": "string"
  26574. },
  26575. "cancelaccountid": {
  26576. "description": "注销操作员账号",
  26577. "type": "integer"
  26578. },
  26579. "canceltime": {
  26580. "description": "注销时间",
  26581. "type": "string"
  26582. },
  26583. "closepricemode": {
  26584. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26585. "type": "integer"
  26586. },
  26587. "closepriceparam": {
  26588. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26589. "type": "number"
  26590. },
  26591. "createtime": {
  26592. "description": "创建时间",
  26593. "type": "string"
  26594. },
  26595. "creatorid": {
  26596. "description": "创建人",
  26597. "type": "integer"
  26598. },
  26599. "currencyid": {
  26600. "description": "报价货币ID",
  26601. "type": "integer"
  26602. },
  26603. "cutmode": {
  26604. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26605. "type": "integer"
  26606. },
  26607. "decimalplace": {
  26608. "description": "报价小数位",
  26609. "type": "integer"
  26610. },
  26611. "delistingdate": {
  26612. "description": "商品退市时间(状态:退市) -- 已作废",
  26613. "type": "string"
  26614. },
  26615. "delistingmode": {
  26616. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26617. "type": "integer"
  26618. },
  26619. "deliveryflag": {
  26620. "description": "交割标志 - 0:不可交割 1:可交割",
  26621. "type": "integer"
  26622. },
  26623. "forceclosemode": {
  26624. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26625. "type": "integer"
  26626. },
  26627. "forceclosevalue": {
  26628. "description": "定期强平参数 [收益权]",
  26629. "type": "integer"
  26630. },
  26631. "goodscode": {
  26632. "description": "商品代码(内部)",
  26633. "type": "string"
  26634. },
  26635. "goodscurrencyid": {
  26636. "description": "合约货币ID",
  26637. "type": "integer"
  26638. },
  26639. "goodsgroupid": {
  26640. "description": "所属商品组ID",
  26641. "type": "integer"
  26642. },
  26643. "goodsid": {
  26644. "description": "商品ID(自增ID SEQ_GOODS)",
  26645. "type": "integer"
  26646. },
  26647. "goodsname": {
  26648. "description": "商品名称",
  26649. "type": "string"
  26650. },
  26651. "goodsquotetype": {
  26652. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26653. "type": "integer"
  26654. },
  26655. "goodsstatus": {
  26656. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26657. "type": "integer"
  26658. },
  26659. "goodstradetype": {
  26660. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26661. "type": "integer"
  26662. },
  26663. "goodunitid": {
  26664. "description": "报价单位ID",
  26665. "type": "integer"
  26666. },
  26667. "hasquoter": {
  26668. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26669. "type": "integer"
  26670. },
  26671. "hqprotecttime": {
  26672. "description": "行情保护时间(秒)",
  26673. "type": "integer"
  26674. },
  26675. "innerdealmode": {
  26676. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26677. "type": "integer"
  26678. },
  26679. "isbuylimited": {
  26680. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26681. "type": "integer"
  26682. },
  26683. "isvisible": {
  26684. "description": "游客是否可见 - 0:不可见 1:可见",
  26685. "type": "integer"
  26686. },
  26687. "lasttradedate": {
  26688. "description": "最后交易日期(状态:待退市)",
  26689. "type": "string"
  26690. },
  26691. "listingdate": {
  26692. "description": "交易开始日期",
  26693. "type": "string"
  26694. },
  26695. "marketid": {
  26696. "description": "所属市场ID",
  26697. "type": "integer"
  26698. },
  26699. "modifierid": {
  26700. "description": "修改人",
  26701. "type": "integer"
  26702. },
  26703. "modifystatus": {
  26704. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26705. "type": "integer"
  26706. },
  26707. "modifytime": {
  26708. "description": "修改时间",
  26709. "type": "string"
  26710. },
  26711. "outerdealmode": {
  26712. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26713. "type": "integer"
  26714. },
  26715. "outgoodscode": {
  26716. "description": "商品代码(外部)",
  26717. "type": "string"
  26718. },
  26719. "pictureurl": {
  26720. "description": "商品图片",
  26721. "type": "string"
  26722. },
  26723. "qtydecimalplace": {
  26724. "description": "成交量小数位",
  26725. "type": "integer"
  26726. },
  26727. "quotegear": {
  26728. "description": "行情档位(1-10)",
  26729. "type": "integer"
  26730. },
  26731. "quoteminunit": {
  26732. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26733. "type": "integer"
  26734. },
  26735. "quoteshowtype": {
  26736. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  26737. "type": "integer"
  26738. },
  26739. "quoteshowtypeinterval": {
  26740. "description": "行情报价间隔时间(秒)(成交价时为0)",
  26741. "type": "integer"
  26742. },
  26743. "remark": {
  26744. "description": "备注",
  26745. "type": "string"
  26746. }
  26747. }
  26748. },
  26749. "models.GoodsIDAndName": {
  26750. "type": "object",
  26751. "required": [
  26752. "goodscode",
  26753. "goodsid",
  26754. "goodsname",
  26755. "marketid"
  26756. ],
  26757. "properties": {
  26758. "goodscode": {
  26759. "description": "商品代码(内部)",
  26760. "type": "string"
  26761. },
  26762. "goodsid": {
  26763. "description": "商品ID(自增ID SEQ_GOODS)",
  26764. "type": "integer"
  26765. },
  26766. "goodsname": {
  26767. "description": "商品名称",
  26768. "type": "string"
  26769. },
  26770. "marketid": {
  26771. "description": "所属市场ID",
  26772. "type": "integer"
  26773. }
  26774. }
  26775. },
  26776. "models.Goodsgroup": {
  26777. "type": "object",
  26778. "required": [
  26779. "goodsgroupid",
  26780. "goodsgroupname",
  26781. "goodsgroupstatus",
  26782. "marketid"
  26783. ],
  26784. "properties": {
  26785. "agreeunit": {
  26786. "description": "合约单位",
  26787. "type": "number"
  26788. },
  26789. "canshort": {
  26790. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  26791. "type": "integer"
  26792. },
  26793. "closepricemode": {
  26794. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26795. "type": "integer"
  26796. },
  26797. "closepriceparam": {
  26798. "description": "强平最新价浮动比例 - 方式为2时使用",
  26799. "type": "number"
  26800. },
  26801. "createtime": {
  26802. "description": "创建时间",
  26803. "type": "string"
  26804. },
  26805. "creatorid": {
  26806. "description": "创建人",
  26807. "type": "integer"
  26808. },
  26809. "currencyid": {
  26810. "description": "报价货币ID",
  26811. "type": "integer"
  26812. },
  26813. "decimalplace": {
  26814. "description": "报价小数位",
  26815. "type": "integer"
  26816. },
  26817. "exercisetype": {
  26818. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  26819. "type": "integer"
  26820. },
  26821. "exexchangeid": {
  26822. "description": "外部交易所ID[通道交易]",
  26823. "type": "integer"
  26824. },
  26825. "goodsgroupid": {
  26826. "description": "商品组ID(自增ID)",
  26827. "type": "integer"
  26828. },
  26829. "goodsgroupname": {
  26830. "description": "商品组名称",
  26831. "type": "string"
  26832. },
  26833. "goodsgroupstatus": {
  26834. "description": "商品组状态 - 1:正常 2:注销",
  26835. "type": "integer"
  26836. },
  26837. "goodunitid": {
  26838. "description": "报价单位ID",
  26839. "type": "integer"
  26840. },
  26841. "innerdealmode": {
  26842. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26843. "type": "integer"
  26844. },
  26845. "isbuylimited": {
  26846. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26847. "type": "integer"
  26848. },
  26849. "marketid": {
  26850. "description": "所属市场ID",
  26851. "type": "integer"
  26852. },
  26853. "modifierid": {
  26854. "description": "修改人",
  26855. "type": "integer"
  26856. },
  26857. "modifytime": {
  26858. "description": "修改时间",
  26859. "type": "string"
  26860. },
  26861. "outerdealmode": {
  26862. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26863. "type": "integer"
  26864. },
  26865. "outergroupcode": {
  26866. "description": "外部商品组代码[通道交易]",
  26867. "type": "string"
  26868. },
  26869. "premiumdecimalplace": {
  26870. "description": "权利金小数位[场外期权]",
  26871. "type": "integer"
  26872. },
  26873. "premiumspreadalgorithm": {
  26874. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  26875. "type": "integer"
  26876. },
  26877. "premiumspreadvalue": {
  26878. "description": "权利金点差值[场外期权]",
  26879. "type": "number"
  26880. },
  26881. "qtydecimalplace": {
  26882. "description": "成交量小数位",
  26883. "type": "integer"
  26884. },
  26885. "quotegear": {
  26886. "description": "行情档位(1-10)",
  26887. "type": "integer"
  26888. },
  26889. "quoteminunit": {
  26890. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26891. "type": "integer"
  26892. },
  26893. "quoterid": {
  26894. "description": "报价商ID[场外期权]",
  26895. "type": "integer"
  26896. },
  26897. "quotesourcegroupid": {
  26898. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  26899. "type": "integer"
  26900. },
  26901. "syncgoodsqty": {
  26902. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  26903. "type": "integer"
  26904. }
  26905. }
  26906. },
  26907. "models.Goodssortbypreposition": {
  26908. "type": "object",
  26909. "required": [
  26910. "goodscode",
  26911. "tradedate"
  26912. ],
  26913. "properties": {
  26914. "goodscode": {
  26915. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  26916. "type": "string"
  26917. },
  26918. "goodsgroupcode": {
  26919. "description": "品种代码",
  26920. "type": "string"
  26921. },
  26922. "prepositionqty": {
  26923. "description": "昨持仓量",
  26924. "type": "integer"
  26925. },
  26926. "sortindex": {
  26927. "description": "排序",
  26928. "type": "integer"
  26929. },
  26930. "tradedate": {
  26931. "description": "交易日",
  26932. "type": "string"
  26933. },
  26934. "updatetime": {
  26935. "description": "更新时间",
  26936. "type": "string"
  26937. }
  26938. }
  26939. },
  26940. "models.Hedgeinnerholderdetail": {
  26941. "type": "object",
  26942. "required": [
  26943. "buyorsell",
  26944. "tradeid"
  26945. ],
  26946. "properties": {
  26947. "accountid": {
  26948. "description": "账号ID",
  26949. "type": "integer"
  26950. },
  26951. "buyorsell": {
  26952. "description": "方向 - 0:买 1:卖",
  26953. "type": "integer"
  26954. },
  26955. "freezeqty": {
  26956. "description": "冻结数量 - 按单平使用",
  26957. "type": "integer"
  26958. },
  26959. "goodsid": {
  26960. "description": "商品ID",
  26961. "type": "integer"
  26962. },
  26963. "holderamount": {
  26964. "description": "持仓金额 [商品币种]",
  26965. "type": "number"
  26966. },
  26967. "holderdays": {
  26968. "description": "剩余冻结天数",
  26969. "type": "integer"
  26970. },
  26971. "holderprice": {
  26972. "description": "持仓价格",
  26973. "type": "number"
  26974. },
  26975. "holderqty": {
  26976. "description": "持仓数量",
  26977. "type": "integer"
  26978. },
  26979. "marketid": {
  26980. "description": "市场ID",
  26981. "type": "integer"
  26982. },
  26983. "openprice": {
  26984. "description": "建仓价格",
  26985. "type": "number"
  26986. },
  26987. "openqty": {
  26988. "description": "建仓数量",
  26989. "type": "integer"
  26990. },
  26991. "parentaccountid": {
  26992. "description": "所属母账户",
  26993. "type": "integer"
  26994. },
  26995. "releaseamount": {
  26996. "description": "释放持仓金额[商品币种]",
  26997. "type": "number"
  26998. },
  26999. "tradeamount": {
  27000. "description": "成交金额[账户]",
  27001. "type": "number"
  27002. },
  27003. "tradedate": {
  27004. "description": "交易日(yyyyMMdd)",
  27005. "type": "string"
  27006. },
  27007. "tradeid": {
  27008. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27009. "type": "string"
  27010. },
  27011. "tradetime": {
  27012. "description": "交易时间",
  27013. "type": "string"
  27014. }
  27015. }
  27016. },
  27017. "models.Hedgemarketopenlog": {
  27018. "type": "object",
  27019. "required": [
  27020. "accountid"
  27021. ],
  27022. "properties": {
  27023. "accountid": {
  27024. "description": "资金账号[外部母账户]",
  27025. "type": "integer"
  27026. },
  27027. "fcname": {
  27028. "description": "期货公司名称",
  27029. "type": "string"
  27030. },
  27031. "handlestatus": {
  27032. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  27033. "type": "integer"
  27034. },
  27035. "marketid": {
  27036. "description": "市场ID",
  27037. "type": "integer"
  27038. },
  27039. "status": {
  27040. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  27041. "type": "integer"
  27042. },
  27043. "tradedate": {
  27044. "description": "交易日(yyyyMMdd)",
  27045. "type": "string"
  27046. },
  27047. "updatetime": {
  27048. "description": "更新时间",
  27049. "type": "string"
  27050. }
  27051. }
  27052. },
  27053. "models.InternalEnableTradeDetail": {
  27054. "type": "object",
  27055. "required": [
  27056. "areauserid",
  27057. "goodsid",
  27058. "tradeuserid"
  27059. ],
  27060. "properties": {
  27061. "agreeunit": {
  27062. "description": "合约乘数",
  27063. "type": "number"
  27064. },
  27065. "areauserid": {
  27066. "description": "企业ID",
  27067. "type": "integer"
  27068. },
  27069. "convertratio": {
  27070. "description": "品种系数",
  27071. "type": "number"
  27072. },
  27073. "deliverygoodscode": {
  27074. "description": "现货品种代码",
  27075. "type": "string"
  27076. },
  27077. "deliverygoodsid": {
  27078. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27079. "type": "integer"
  27080. },
  27081. "deliverygoodsname": {
  27082. "description": "现货品种名称",
  27083. "type": "string"
  27084. },
  27085. "futurehedgeqty": {
  27086. "description": "[已关联数量]期货持仓套期量",
  27087. "type": "number"
  27088. },
  27089. "goodsid": {
  27090. "description": "期货合约ID",
  27091. "type": "integer"
  27092. },
  27093. "hedgeditemid": {
  27094. "description": "被套期项目ID",
  27095. "type": "string"
  27096. },
  27097. "hedgeditemnum": {
  27098. "description": "项目编号",
  27099. "type": "string"
  27100. },
  27101. "tradeuserid": {
  27102. "description": "交易用户ID",
  27103. "type": "integer"
  27104. },
  27105. "unexehedgeqty": {
  27106. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  27107. "type": "number"
  27108. },
  27109. "unexespotqty": {
  27110. "description": "未执行现货量",
  27111. "type": "number"
  27112. },
  27113. "wrstandardcode": {
  27114. "description": "现货品类代码",
  27115. "type": "string"
  27116. },
  27117. "wrstandardid": {
  27118. "description": "现货品类ID(SEQ_WRSTANDARD)",
  27119. "type": "integer"
  27120. },
  27121. "wrstandardname": {
  27122. "description": "现货品类名称",
  27123. "type": "string"
  27124. }
  27125. }
  27126. },
  27127. "models.InternalUncorrelatedTradeDetail": {
  27128. "type": "object",
  27129. "properties": {
  27130. "accountid": {
  27131. "description": "账号ID",
  27132. "type": "integer"
  27133. },
  27134. "accountname": {
  27135. "description": "套期主体",
  27136. "type": "string"
  27137. },
  27138. "agreeunit": {
  27139. "description": "合约乘数",
  27140. "type": "number"
  27141. },
  27142. "areauserid": {
  27143. "description": "所属机构",
  27144. "type": "integer"
  27145. },
  27146. "bizsubjectid": {
  27147. "description": "归属业务部门ID - SubjectID",
  27148. "type": "integer"
  27149. },
  27150. "buyorsell": {
  27151. "description": "方向 - 0:买 1:卖",
  27152. "type": "integer"
  27153. },
  27154. "channelbuildtype": {
  27155. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27156. "type": "integer"
  27157. },
  27158. "convertratio": {
  27159. "description": "品种系数",
  27160. "type": "number"
  27161. },
  27162. "createtime": {
  27163. "description": "创建时间",
  27164. "type": "string"
  27165. },
  27166. "creatorid": {
  27167. "description": "创建人ID",
  27168. "type": "integer"
  27169. },
  27170. "creatorsrc": {
  27171. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  27172. "type": "integer"
  27173. },
  27174. "enableqty": {
  27175. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  27176. "type": "number"
  27177. },
  27178. "enumdicname": {
  27179. "description": "单位",
  27180. "type": "string"
  27181. },
  27182. "goodscode": {
  27183. "description": "合约代码",
  27184. "type": "string"
  27185. },
  27186. "goodsgroupid": {
  27187. "description": "对冲品种ID[期货合约商品组ID]",
  27188. "type": "integer"
  27189. },
  27190. "goodsid": {
  27191. "description": "商品ID",
  27192. "type": "integer"
  27193. },
  27194. "goodsname": {
  27195. "description": "合约名称",
  27196. "type": "string"
  27197. },
  27198. "hedgeditemid": {
  27199. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  27200. "type": "integer"
  27201. },
  27202. "hedgeflag": {
  27203. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  27204. "type": "integer"
  27205. },
  27206. "linkdetailid": {
  27207. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  27208. "type": "string"
  27209. },
  27210. "linkstatus": {
  27211. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  27212. "type": "integer"
  27213. },
  27214. "middlegoodsid": {
  27215. "description": "套保品种ID",
  27216. "type": "integer"
  27217. },
  27218. "middlegoodsqty": {
  27219. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  27220. "type": "number"
  27221. },
  27222. "relatedlot": {
  27223. "description": "[数量]关联手数",
  27224. "type": "number"
  27225. },
  27226. "relatedmode": {
  27227. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  27228. "type": "integer"
  27229. },
  27230. "relatedqty": {
  27231. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  27232. "type": "number"
  27233. },
  27234. "retcode": {
  27235. "description": "返回码",
  27236. "type": "integer"
  27237. },
  27238. "saleuserid": {
  27239. "description": "业务员ID",
  27240. "type": "integer"
  27241. },
  27242. "tradedate": {
  27243. "description": "关联交易日(yyyyMMdd)",
  27244. "type": "string"
  27245. },
  27246. "tradeid": {
  27247. "description": "成交单号",
  27248. "type": "string"
  27249. },
  27250. "tradelot": {
  27251. "description": "成交手数",
  27252. "type": "integer"
  27253. },
  27254. "tradeprice": {
  27255. "description": "成交价",
  27256. "type": "number"
  27257. },
  27258. "tradetime": {
  27259. "description": "成交时间",
  27260. "type": "string"
  27261. },
  27262. "tradetradedate": {
  27263. "description": "成交交易日(yyyyMMdd)",
  27264. "type": "string"
  27265. },
  27266. "tradeuserid": {
  27267. "description": "交易用户ID",
  27268. "type": "integer"
  27269. }
  27270. }
  27271. },
  27272. "models.Loginaccount": {
  27273. "type": "object",
  27274. "required": [
  27275. "loginid"
  27276. ],
  27277. "properties": {
  27278. "accountname": {
  27279. "description": "账户名称",
  27280. "type": "string"
  27281. },
  27282. "canoutin": {
  27283. "description": "是否可出入金 - 0:不可 1:可",
  27284. "type": "integer"
  27285. },
  27286. "clientroleid": {
  27287. "description": "终端角色ID",
  27288. "type": "integer"
  27289. },
  27290. "haslogined": {
  27291. "description": "是否已登录 - 0:未登录 1:已登录",
  27292. "type": "integer"
  27293. },
  27294. "hasupdatedpwd": {
  27295. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27296. "type": "integer"
  27297. },
  27298. "lastloginip": {
  27299. "description": "最新登录地址",
  27300. "type": "string"
  27301. },
  27302. "lastloginmode": {
  27303. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27304. "type": "integer"
  27305. },
  27306. "lastloginremark": {
  27307. "description": "最新登录描述",
  27308. "type": "string"
  27309. },
  27310. "lastlogintime": {
  27311. "description": "最新登录时间",
  27312. "type": "string"
  27313. },
  27314. "logincode": {
  27315. "description": "登录代码",
  27316. "type": "string"
  27317. },
  27318. "loginfailnum": {
  27319. "description": "连续登录失败次数(登录成功时清零)",
  27320. "type": "integer"
  27321. },
  27322. "loginid": {
  27323. "description": "登陆账号",
  27324. "type": "integer"
  27325. },
  27326. "loginport": {
  27327. "description": "最新登录端口",
  27328. "type": "integer"
  27329. },
  27330. "loginstatus": {
  27331. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27332. "type": "integer"
  27333. },
  27334. "loginusertype": {
  27335. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27336. "type": "integer"
  27337. },
  27338. "mobile": {
  27339. "description": "手机号码(加密存储)",
  27340. "type": "string"
  27341. },
  27342. "modifierid": {
  27343. "description": "修改人",
  27344. "type": "integer"
  27345. },
  27346. "modifysrc": {
  27347. "description": "审核来源 - 1:管理端 2:终端",
  27348. "type": "integer"
  27349. },
  27350. "modifytime": {
  27351. "description": "修改时间",
  27352. "type": "string"
  27353. },
  27354. "password": {
  27355. "description": "登陆密码",
  27356. "type": "string"
  27357. },
  27358. "pwdwrongcount": {
  27359. "description": "密码错误次数",
  27360. "type": "integer"
  27361. },
  27362. "relateduserid": {
  27363. "description": "关联用户ID(机构)",
  27364. "type": "integer"
  27365. },
  27366. "taaccountrighttype": {
  27367. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27368. "type": "integer"
  27369. },
  27370. "unfreezetime": {
  27371. "description": "账户解冻时间",
  27372. "type": "string"
  27373. },
  27374. "userid": {
  27375. "description": "用户ID",
  27376. "type": "integer"
  27377. }
  27378. }
  27379. },
  27380. "models.MainAccountInfo": {
  27381. "type": "object",
  27382. "properties": {
  27383. "accountid": {
  27384. "description": "账号id",
  27385. "type": "integer"
  27386. },
  27387. "accountname": {
  27388. "description": "账号名称(taaccount表中的名称)",
  27389. "type": "string"
  27390. },
  27391. "appid": {
  27392. "description": "AppID",
  27393. "type": "string"
  27394. },
  27395. "authcode": {
  27396. "description": "授权码",
  27397. "type": "string"
  27398. },
  27399. "brokerid": {
  27400. "description": "经纪商id",
  27401. "type": "string"
  27402. },
  27403. "fcid": {
  27404. "description": "期货公司id",
  27405. "type": "integer"
  27406. },
  27407. "fcname": {
  27408. "description": "期货公司代码",
  27409. "type": "string"
  27410. },
  27411. "hedgeaccountcode": {
  27412. "description": "外部账号代码(主账号登录代码)",
  27413. "type": "string"
  27414. },
  27415. "hedgeaccountpwd": {
  27416. "description": "密码",
  27417. "type": "string"
  27418. },
  27419. "ismain": {
  27420. "description": "是否主账号",
  27421. "type": "integer"
  27422. },
  27423. "relateduserid": {
  27424. "description": "关联用户id",
  27425. "type": "integer"
  27426. },
  27427. "userid": {
  27428. "description": "关联用户id",
  27429. "type": "integer"
  27430. }
  27431. }
  27432. },
  27433. "models.Market": {
  27434. "type": "object",
  27435. "required": [
  27436. "marketid",
  27437. "marketstatus",
  27438. "openmethod",
  27439. "reckonpricealgorithm",
  27440. "trademode",
  27441. "tradeproperty"
  27442. ],
  27443. "properties": {
  27444. "auctionwrtype": {
  27445. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27446. "type": "integer"
  27447. },
  27448. "canacceptquote": {
  27449. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27450. "type": "integer"
  27451. },
  27452. "cangoodsexercise": {
  27453. "description": "[期权]是否可现货行权- 0:否 1:是",
  27454. "type": "integer"
  27455. },
  27456. "cangoodsexercisetype": {
  27457. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27458. "type": "integer"
  27459. },
  27460. "canmanualquotestrike": {
  27461. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27462. "type": "integer"
  27463. },
  27464. "canmutistage": {
  27465. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27466. "type": "integer"
  27467. },
  27468. "canpreexercise": {
  27469. "description": "[期权]是否可预申报- 0:否 1:是",
  27470. "type": "integer"
  27471. },
  27472. "clearinterval": {
  27473. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27474. "type": "integer"
  27475. },
  27476. "contracttmp": {
  27477. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27478. "type": "string"
  27479. },
  27480. "exchareaid": {
  27481. "description": "所属交易所,可以没有",
  27482. "type": "integer"
  27483. },
  27484. "goodstype": {
  27485. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27486. "type": "integer"
  27487. },
  27488. "hasrebate": {
  27489. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27490. "type": "integer"
  27491. },
  27492. "hastradecredit": {
  27493. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27494. "type": "integer"
  27495. },
  27496. "haswr": {
  27497. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27498. "type": "integer"
  27499. },
  27500. "isdeductmargin": {
  27501. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27502. "type": "integer"
  27503. },
  27504. "isrecordsource": {
  27505. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27506. "type": "integer"
  27507. },
  27508. "isreleasemargin": {
  27509. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27510. "type": "integer"
  27511. },
  27512. "marginformula": {
  27513. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27514. "type": "integer"
  27515. },
  27516. "marginformula2": {
  27517. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27518. "type": "integer"
  27519. },
  27520. "marketid": {
  27521. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27522. "type": "integer"
  27523. },
  27524. "marketname": {
  27525. "description": "市场名称",
  27526. "type": "string"
  27527. },
  27528. "marketserviceid": {
  27529. "description": "市场服务ID",
  27530. "type": "integer"
  27531. },
  27532. "marketstatus": {
  27533. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27534. "type": "integer"
  27535. },
  27536. "markettype": {
  27537. "description": "市场类型- 1:非交易服务 2:交易服务",
  27538. "type": "integer"
  27539. },
  27540. "matchermode": {
  27541. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27542. "type": "integer"
  27543. },
  27544. "openmethod": {
  27545. "description": "开盘模式 - 0 自动 1手动",
  27546. "type": "integer"
  27547. },
  27548. "otcuserid": {
  27549. "description": "场外期权做市商[场外期权]",
  27550. "type": "integer"
  27551. },
  27552. "outersynctime": {
  27553. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27554. "type": "string"
  27555. },
  27556. "pendingflag": {
  27557. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27558. "type": "integer"
  27559. },
  27560. "pendingtime": {
  27561. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27562. "type": "string"
  27563. },
  27564. "performancetempid": {
  27565. "description": "履约计划模板ID - 作废",
  27566. "type": "integer"
  27567. },
  27568. "premiumquotemode": {
  27569. "description": "权利金报价方式 - 1:自动 2:手动",
  27570. "type": "integer"
  27571. },
  27572. "rebateratio": {
  27573. "description": "返利比率[竞价式]",
  27574. "type": "number"
  27575. },
  27576. "reckonorder": {
  27577. "description": "结算顺序",
  27578. "type": "integer"
  27579. },
  27580. "reckonpricealgorithm": {
  27581. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27582. "type": "integer"
  27583. },
  27584. "reckonpriceparam": {
  27585. "description": "结算价参数",
  27586. "type": "integer"
  27587. },
  27588. "reckontime": {
  27589. "description": "结算时间[通道交易-对冲](HH:mm)",
  27590. "type": "string"
  27591. },
  27592. "roleprioritytype": {
  27593. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27594. "type": "integer"
  27595. },
  27596. "selllistingauditflag": {
  27597. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27598. "type": "integer"
  27599. },
  27600. "trademarkettype": {
  27601. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27602. "type": "integer"
  27603. },
  27604. "trademode": {
  27605. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27606. "type": "integer"
  27607. },
  27608. "tradeproperty": {
  27609. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27610. "type": "integer"
  27611. },
  27612. "tradetype": {
  27613. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27614. "type": "integer"
  27615. }
  27616. }
  27617. },
  27618. "models.Marketcalendar": {
  27619. "type": "object",
  27620. "properties": {
  27621. "holidaydate": {
  27622. "description": "节假日期(yyyy-MM-dd)",
  27623. "type": "string"
  27624. },
  27625. "marketid": {
  27626. "description": "市场ID",
  27627. "type": "integer"
  27628. }
  27629. }
  27630. },
  27631. "models.Marketrun": {
  27632. "type": "object",
  27633. "required": [
  27634. "marketid",
  27635. "nexttradedate",
  27636. "reckonflag",
  27637. "runstatus",
  27638. "tradedate",
  27639. "tradedate2"
  27640. ],
  27641. "properties": {
  27642. "afternexttradedate": {
  27643. "description": "下下交易日",
  27644. "type": "string"
  27645. },
  27646. "clearquoteflag": {
  27647. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27648. "type": "integer"
  27649. },
  27650. "lastreckondate": {
  27651. "description": "最新交易日(结算成功)",
  27652. "type": "string"
  27653. },
  27654. "machinedate": {
  27655. "description": "机器时间",
  27656. "type": "string"
  27657. },
  27658. "manualflag": {
  27659. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27660. "type": "integer"
  27661. },
  27662. "marketid": {
  27663. "description": "市场ID",
  27664. "type": "integer"
  27665. },
  27666. "nexttradedate": {
  27667. "description": "下一交易日",
  27668. "type": "string"
  27669. },
  27670. "pretradedate": {
  27671. "description": "上一交易日",
  27672. "type": "string"
  27673. },
  27674. "reckonflag": {
  27675. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27676. "type": "integer"
  27677. },
  27678. "runstatus": {
  27679. "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.今日免清算",
  27680. "type": "integer"
  27681. },
  27682. "sectionid": {
  27683. "description": "时间段号[多时段时用]",
  27684. "type": "integer"
  27685. },
  27686. "tradedate": {
  27687. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27688. "type": "string"
  27689. },
  27690. "tradedate2": {
  27691. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27692. "type": "string"
  27693. },
  27694. "updatetime": {
  27695. "description": "更新时间",
  27696. "type": "string"
  27697. }
  27698. }
  27699. },
  27700. "models.Messageboard": {
  27701. "type": "object",
  27702. "required": [
  27703. "messageboardid"
  27704. ],
  27705. "properties": {
  27706. "contactnum": {
  27707. "description": "联系电话",
  27708. "type": "string"
  27709. },
  27710. "createtime": {
  27711. "description": "创建时间",
  27712. "type": "string"
  27713. },
  27714. "message": {
  27715. "description": "留言信息",
  27716. "type": "string"
  27717. },
  27718. "messageboardid": {
  27719. "description": "留言簿ID(SEQ_MessageBoard)",
  27720. "type": "integer"
  27721. },
  27722. "userid": {
  27723. "description": "用户ID",
  27724. "type": "integer"
  27725. }
  27726. }
  27727. },
  27728. "models.MyBargainApply": {
  27729. "type": "object",
  27730. "required": [
  27731. "userid"
  27732. ],
  27733. "properties": {
  27734. "accountid": {
  27735. "description": "摘牌资金账号",
  27736. "type": "integer"
  27737. },
  27738. "applyprice": {
  27739. "description": "申请价格",
  27740. "type": "string"
  27741. },
  27742. "applyremark": {
  27743. "description": "申请备注",
  27744. "type": "string"
  27745. },
  27746. "applystatus": {
  27747. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  27748. "type": "integer"
  27749. },
  27750. "applytime": {
  27751. "description": "申请时间",
  27752. "type": "string"
  27753. },
  27754. "buyorsell": {
  27755. "description": "买卖 - 0:买 1:卖",
  27756. "type": "integer"
  27757. },
  27758. "confirmprice": {
  27759. "description": "可接受价格(拒绝时填写)-作废",
  27760. "type": "number"
  27761. },
  27762. "confirmqty": {
  27763. "description": "可接受数量(拒绝时填写)-作废",
  27764. "type": "integer"
  27765. },
  27766. "confirmremark": {
  27767. "description": "确认备注",
  27768. "type": "string"
  27769. },
  27770. "confirmtime": {
  27771. "description": "确认时间",
  27772. "type": "string"
  27773. },
  27774. "confirmuserid": {
  27775. "description": "确认人",
  27776. "type": "integer"
  27777. },
  27778. "handlestatus": {
  27779. "description": "处理状态",
  27780. "type": "integer"
  27781. },
  27782. "ladingbillid": {
  27783. "description": "摘牌方提单ID [卖]",
  27784. "type": "integer"
  27785. },
  27786. "marketid": {
  27787. "description": "市场ID",
  27788. "type": "integer"
  27789. },
  27790. "matchaccountid": {
  27791. "description": "挂牌方资金账号",
  27792. "type": "integer"
  27793. },
  27794. "matchuserid": {
  27795. "description": "挂牌方用户ID",
  27796. "type": "integer"
  27797. },
  27798. "qty": {
  27799. "description": "申请数量",
  27800. "type": "integer"
  27801. },
  27802. "refprice": {
  27803. "description": "参考价格",
  27804. "type": "string"
  27805. },
  27806. "retcode": {
  27807. "description": "委托返回代码",
  27808. "type": "integer"
  27809. },
  27810. "sellusername": {
  27811. "description": "卖方",
  27812. "type": "string"
  27813. },
  27814. "subnum": {
  27815. "description": "摘牌方提单子单号 [卖]",
  27816. "type": "integer"
  27817. },
  27818. "tradedate": {
  27819. "description": "交易日(yyyyMMdd)",
  27820. "type": "string"
  27821. },
  27822. "userid": {
  27823. "description": "摘牌人用户ID",
  27824. "type": "integer"
  27825. },
  27826. "warehousenamedisplay": {
  27827. "type": "string"
  27828. },
  27829. "wrbargainid": {
  27830. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  27831. "type": "string"
  27832. },
  27833. "wrtradeorderid": {
  27834. "description": "关联委托单ID",
  27835. "type": "integer"
  27836. },
  27837. "zscerttypedisplay": {
  27838. "type": "string"
  27839. },
  27840. "zsclaritytype1display": {
  27841. "type": "string"
  27842. },
  27843. "zsclaritytype2display": {
  27844. "type": "string"
  27845. },
  27846. "zscolortype1display": {
  27847. "type": "string"
  27848. },
  27849. "zscolortype2display": {
  27850. "type": "string"
  27851. },
  27852. "zscrystaltypedisplay": {
  27853. "type": "string"
  27854. },
  27855. "zscurrencytypedisplay": {
  27856. "type": "string"
  27857. },
  27858. "zscurrencytypedisplayunit": {
  27859. "type": "string"
  27860. },
  27861. "zscuttype1display": {
  27862. "type": "string"
  27863. },
  27864. "zscuttype2display": {
  27865. "type": "string"
  27866. },
  27867. "zsczcolor1typedisplay": {
  27868. "type": "string"
  27869. },
  27870. "zsczcolor2typedisplay": {
  27871. "type": "string"
  27872. },
  27873. "zsczcolor3typedisplay": {
  27874. "type": "string"
  27875. },
  27876. "zsfluorescencetype1display": {
  27877. "type": "string"
  27878. },
  27879. "zsfluorescencetype2display": {
  27880. "type": "string"
  27881. },
  27882. "zspolishtype1display": {
  27883. "type": "string"
  27884. },
  27885. "zspolishtype2display": {
  27886. "type": "string"
  27887. },
  27888. "zsshapetypedisplay": {
  27889. "type": "string"
  27890. },
  27891. "zsstyletypedisplay": {
  27892. "type": "string"
  27893. },
  27894. "zssymmetrytype1display": {
  27895. "type": "string"
  27896. },
  27897. "zssymmetrytype2display": {
  27898. "type": "string"
  27899. }
  27900. }
  27901. },
  27902. "models.MyBuyOrder": {
  27903. "type": "object",
  27904. "required": [
  27905. "userid"
  27906. ],
  27907. "properties": {
  27908. "accountid": {
  27909. "description": "资金账户ID",
  27910. "type": "integer"
  27911. },
  27912. "marketid": {
  27913. "description": "市场ID",
  27914. "type": "integer"
  27915. },
  27916. "ordertime": {
  27917. "description": "委托时间",
  27918. "type": "string"
  27919. },
  27920. "origin": {
  27921. "description": "原产地",
  27922. "type": "string"
  27923. },
  27924. "remark": {
  27925. "description": "备注",
  27926. "type": "string"
  27927. },
  27928. "userid": {
  27929. "description": "用户ID",
  27930. "type": "integer"
  27931. },
  27932. "validtime": {
  27933. "description": "有效期限",
  27934. "type": "string"
  27935. },
  27936. "warehouseids": {
  27937. "description": "仓库ID - 多个, 逗号分隔",
  27938. "type": "string"
  27939. },
  27940. "warehouseinfosdisplay": {
  27941. "type": "string"
  27942. },
  27943. "wrtradeorderid": {
  27944. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  27945. "type": "string"
  27946. },
  27947. "wrtradeorderstatus": {
  27948. "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、",
  27949. "type": "integer"
  27950. },
  27951. "zscategory": {
  27952. "description": "钻石分类 - 枚举”ZSCategory“",
  27953. "type": "integer"
  27954. },
  27955. "zscategorydisplay": {
  27956. "type": "string"
  27957. },
  27958. "zsclaritytype": {
  27959. "description": "净度 - 两个, 逗号分隔",
  27960. "type": "string"
  27961. },
  27962. "zsclaritytypedisplay": {
  27963. "type": "string"
  27964. },
  27965. "zscolortype": {
  27966. "description": "颜色 - 两个, 逗号分隔",
  27967. "type": "string"
  27968. },
  27969. "zscolortypedisplay": {
  27970. "type": "string"
  27971. },
  27972. "zscrystaltype": {
  27973. "description": "晶型 - 多个,逗号分隔",
  27974. "type": "string"
  27975. },
  27976. "zscrystaltypedisplay": {
  27977. "type": "string"
  27978. },
  27979. "zscurrencytype": {
  27980. "description": "货币类型 - 多个, 逗号分隔",
  27981. "type": "string"
  27982. },
  27983. "zscurrencytypedisplay": {
  27984. "type": "string"
  27985. },
  27986. "zscuttype": {
  27987. "description": "切工 - 两个, 逗号分隔",
  27988. "type": "string"
  27989. },
  27990. "zscuttypedisplay": {
  27991. "type": "string"
  27992. },
  27993. "zsczcolor1type": {
  27994. "description": "彩钻颜色1, 逗号分隔",
  27995. "type": "string"
  27996. },
  27997. "zsczcolor1typedisplay": {
  27998. "type": "string"
  27999. },
  28000. "zsczcolor2type": {
  28001. "description": "彩钻颜色2, 逗号分隔",
  28002. "type": "string"
  28003. },
  28004. "zsczcolor2typedisplay": {
  28005. "type": "string"
  28006. },
  28007. "zsczcolor3type": {
  28008. "description": "彩钻颜色3, 逗号分隔",
  28009. "type": "string"
  28010. },
  28011. "zsczcolor3typedisplay": {
  28012. "type": "string"
  28013. },
  28014. "zsfluorescencetype": {
  28015. "description": "荧光 - 多个, 逗号分隔",
  28016. "type": "string"
  28017. },
  28018. "zsfluorescencetypedisplay": {
  28019. "type": "string"
  28020. },
  28021. "zspolishtype": {
  28022. "description": "抛光度 - 两个, 逗号分隔",
  28023. "type": "string"
  28024. },
  28025. "zspolishtypedisplay": {
  28026. "type": "string"
  28027. },
  28028. "zsshapetype": {
  28029. "description": "形状 - 多个, 逗号分隔",
  28030. "type": "string"
  28031. },
  28032. "zsshapetypedisplay": {
  28033. "type": "string"
  28034. },
  28035. "zssize": {
  28036. "description": "尺寸 - 两个小数, 逗号分隔",
  28037. "type": "string"
  28038. },
  28039. "zsstyletype": {
  28040. "description": "款式 - 多个, 逗号分隔",
  28041. "type": "string"
  28042. },
  28043. "zsstyletypedisplay": {
  28044. "type": "string"
  28045. },
  28046. "zssymmetrytype": {
  28047. "description": "对称度 - 两个, 逗号分隔",
  28048. "type": "string"
  28049. },
  28050. "zssymmetrytypedisplay": {
  28051. "type": "string"
  28052. },
  28053. "zstabledisplay": {
  28054. "description": "求购信息",
  28055. "type": "string"
  28056. }
  28057. }
  28058. },
  28059. "models.MyDeListing": {
  28060. "type": "object",
  28061. "required": [
  28062. "userid"
  28063. ],
  28064. "properties": {
  28065. "buyaccountid": {
  28066. "description": "买方账号ID",
  28067. "type": "integer"
  28068. },
  28069. "buychargevalue": {
  28070. "description": "买方手续费",
  28071. "type": "number"
  28072. },
  28073. "buyorsell": {
  28074. "description": "【入参】方向 - 0:全部 1:买 2:卖;【出参】方向 - 0:买 1:卖",
  28075. "type": "integer"
  28076. },
  28077. "buyuserid": {
  28078. "description": "买方用户ID",
  28079. "type": "integer"
  28080. },
  28081. "deliverygoodsid": {
  28082. "description": "现货品种ID",
  28083. "type": "integer"
  28084. },
  28085. "exchangerate": {
  28086. "description": "汇率",
  28087. "type": "number"
  28088. },
  28089. "goodsno": {
  28090. "description": "商品编号",
  28091. "type": "string"
  28092. },
  28093. "marketid": {
  28094. "description": "市场ID",
  28095. "type": "integer"
  28096. },
  28097. "matchusername": {
  28098. "description": "对手方",
  28099. "type": "string"
  28100. },
  28101. "oritradeamount": {
  28102. "description": "成交金额[商品币种]",
  28103. "type": "number"
  28104. },
  28105. "performanceplanid": {
  28106. "description": "履约计划ID/合同ID",
  28107. "type": "integer"
  28108. },
  28109. "qty": {
  28110. "description": "成交重量",
  28111. "type": "number"
  28112. },
  28113. "sellaccountid": {
  28114. "description": "卖方账号ID",
  28115. "type": "integer"
  28116. },
  28117. "sellchargevalue": {
  28118. "description": "卖方手续费",
  28119. "type": "number"
  28120. },
  28121. "selluserid": {
  28122. "description": "卖方用户ID",
  28123. "type": "integer"
  28124. },
  28125. "tradeamount": {
  28126. "description": "成交金额",
  28127. "type": "number"
  28128. },
  28129. "tradedate": {
  28130. "description": "交易日(yyyyMMdd)",
  28131. "type": "string"
  28132. },
  28133. "tradeprice": {
  28134. "description": "成交价格",
  28135. "type": "number"
  28136. },
  28137. "tradetime": {
  28138. "description": "成交时间",
  28139. "type": "string"
  28140. },
  28141. "userid": {
  28142. "description": "用户ID",
  28143. "type": "integer"
  28144. },
  28145. "warehousenamedisplay": {
  28146. "type": "string"
  28147. },
  28148. "wrfactortypeid": {
  28149. "description": "仓单要素类型ID",
  28150. "type": "integer"
  28151. },
  28152. "wrstandardid": {
  28153. "description": "现货商品ID",
  28154. "type": "integer"
  28155. },
  28156. "wrtradedetailid": {
  28157. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  28158. "type": "string"
  28159. },
  28160. "zscategory": {
  28161. "description": "钻石分类 - 枚举”ZSCategory“",
  28162. "type": "integer"
  28163. },
  28164. "zscategorydisplay": {
  28165. "type": "string"
  28166. },
  28167. "zscerttypedisplay": {
  28168. "type": "string"
  28169. },
  28170. "zsclaritytype1display": {
  28171. "type": "string"
  28172. },
  28173. "zsclaritytype2display": {
  28174. "type": "string"
  28175. },
  28176. "zscolortype1display": {
  28177. "type": "string"
  28178. },
  28179. "zscolortype2display": {
  28180. "type": "string"
  28181. },
  28182. "zscrystaltypedisplay": {
  28183. "type": "string"
  28184. },
  28185. "zscurrencytype": {
  28186. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28187. "type": "integer"
  28188. },
  28189. "zscurrencytypedisplay": {
  28190. "type": "string"
  28191. },
  28192. "zscurrencytypedisplayunit": {
  28193. "type": "string"
  28194. },
  28195. "zscuttype1display": {
  28196. "type": "string"
  28197. },
  28198. "zscuttype2display": {
  28199. "type": "string"
  28200. },
  28201. "zsczcolor1typedisplay": {
  28202. "type": "string"
  28203. },
  28204. "zsczcolor2typedisplay": {
  28205. "type": "string"
  28206. },
  28207. "zsczcolor3typedisplay": {
  28208. "type": "string"
  28209. },
  28210. "zsfluorescencetype1display": {
  28211. "type": "string"
  28212. },
  28213. "zsfluorescencetype2display": {
  28214. "type": "string"
  28215. },
  28216. "zspolishtype1display": {
  28217. "type": "string"
  28218. },
  28219. "zspolishtype2display": {
  28220. "type": "string"
  28221. },
  28222. "zsshapetypedisplay": {
  28223. "type": "string"
  28224. },
  28225. "zsstyletypedisplay": {
  28226. "type": "string"
  28227. },
  28228. "zssymmetrytype1display": {
  28229. "type": "string"
  28230. },
  28231. "zssymmetrytype2display": {
  28232. "type": "string"
  28233. }
  28234. }
  28235. },
  28236. "models.MyDelistingApply": {
  28237. "type": "object",
  28238. "required": [
  28239. "selluserid"
  28240. ],
  28241. "properties": {
  28242. "applyprice": {
  28243. "description": "申请价格",
  28244. "type": "number"
  28245. },
  28246. "applyqty": {
  28247. "description": "申请数量",
  28248. "type": "number"
  28249. },
  28250. "applyremark": {
  28251. "description": "申请备注",
  28252. "type": "string"
  28253. },
  28254. "applystatus": {
  28255. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  28256. "type": "integer"
  28257. },
  28258. "applytime": {
  28259. "description": "申请时间",
  28260. "type": "string"
  28261. },
  28262. "auditremark": {
  28263. "description": "确认备注",
  28264. "type": "string"
  28265. },
  28266. "audittime": {
  28267. "description": "确认时间",
  28268. "type": "string"
  28269. },
  28270. "buyuserid": {
  28271. "description": "买方用户ID",
  28272. "type": "integer"
  28273. },
  28274. "buyusername": {
  28275. "description": "买方",
  28276. "type": "string"
  28277. },
  28278. "buywrtradeorderid": {
  28279. "description": "买委托单ID",
  28280. "type": "integer"
  28281. },
  28282. "goodsno": {
  28283. "description": "商品编号",
  28284. "type": "string"
  28285. },
  28286. "ladingbillid": {
  28287. "description": "卖方提单ID",
  28288. "type": "integer"
  28289. },
  28290. "marketid": {
  28291. "description": "市场ID",
  28292. "type": "integer"
  28293. },
  28294. "sellaccountid": {
  28295. "description": "卖方账户ID",
  28296. "type": "integer"
  28297. },
  28298. "selldelistingapplyid": {
  28299. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  28300. "type": "integer"
  28301. },
  28302. "selltradeorderid": {
  28303. "description": "卖方委托ID(买方确认成交后更新)",
  28304. "type": "integer"
  28305. },
  28306. "selluserid": {
  28307. "description": "卖方用户ID",
  28308. "type": "integer"
  28309. },
  28310. "subnum": {
  28311. "description": "卖方提单子单号",
  28312. "type": "integer"
  28313. },
  28314. "warehousenamedisplay": {
  28315. "type": "string"
  28316. },
  28317. "wrfactortypeid": {
  28318. "description": "仓单要素类型ID",
  28319. "type": "integer"
  28320. },
  28321. "wrstandardid": {
  28322. "description": "现货商品ID",
  28323. "type": "integer"
  28324. },
  28325. "zscerttypedisplay": {
  28326. "type": "string"
  28327. },
  28328. "zsclaritytype1display": {
  28329. "type": "string"
  28330. },
  28331. "zsclaritytype2display": {
  28332. "type": "string"
  28333. },
  28334. "zscolortype1display": {
  28335. "type": "string"
  28336. },
  28337. "zscolortype2display": {
  28338. "type": "string"
  28339. },
  28340. "zscrystaltypedisplay": {
  28341. "type": "string"
  28342. },
  28343. "zscurrencytypedisplay": {
  28344. "type": "string"
  28345. },
  28346. "zscurrencytypedisplayunit": {
  28347. "type": "string"
  28348. },
  28349. "zscuttype1display": {
  28350. "type": "string"
  28351. },
  28352. "zscuttype2display": {
  28353. "type": "string"
  28354. },
  28355. "zsczcolor1typedisplay": {
  28356. "type": "string"
  28357. },
  28358. "zsczcolor2typedisplay": {
  28359. "type": "string"
  28360. },
  28361. "zsczcolor3typedisplay": {
  28362. "type": "string"
  28363. },
  28364. "zsfluorescencetype1display": {
  28365. "type": "string"
  28366. },
  28367. "zsfluorescencetype2display": {
  28368. "type": "string"
  28369. },
  28370. "zspolishtype1display": {
  28371. "type": "string"
  28372. },
  28373. "zspolishtype2display": {
  28374. "type": "string"
  28375. },
  28376. "zsshapetypedisplay": {
  28377. "type": "string"
  28378. },
  28379. "zsstyletypedisplay": {
  28380. "type": "string"
  28381. },
  28382. "zssymmetrytype1display": {
  28383. "type": "string"
  28384. },
  28385. "zssymmetrytype2display": {
  28386. "type": "string"
  28387. }
  28388. }
  28389. },
  28390. "models.MySellOrder": {
  28391. "type": "object",
  28392. "required": [
  28393. "userid"
  28394. ],
  28395. "properties": {
  28396. "accountid": {
  28397. "description": "资金账号",
  28398. "type": "integer"
  28399. },
  28400. "applyid": {
  28401. "description": "申请单ID",
  28402. "type": "integer"
  28403. },
  28404. "attachment1": {
  28405. "description": "附件1",
  28406. "type": "string"
  28407. },
  28408. "attachment2": {
  28409. "description": "附件2",
  28410. "type": "string"
  28411. },
  28412. "buyorsell": {
  28413. "description": "买卖 - 0:买 1:卖",
  28414. "type": "integer"
  28415. },
  28416. "canbargain": {
  28417. "description": "是否可议价 - 0:不可 1:可",
  28418. "type": "integer"
  28419. },
  28420. "cancelqty": {
  28421. "description": "撤销数量",
  28422. "type": "integer"
  28423. },
  28424. "canceltime": {
  28425. "description": "撤销时间",
  28426. "type": "string"
  28427. },
  28428. "chargealgorithm": {
  28429. "description": "手续费收取方式 1:比率 2:固定",
  28430. "type": "integer"
  28431. },
  28432. "chargealgorithmvalue": {
  28433. "description": "手续费设置值(交易所部分)",
  28434. "type": "number"
  28435. },
  28436. "chargealgorithmvalue2": {
  28437. "description": "手续费设置值(会员部分)",
  28438. "type": "number"
  28439. },
  28440. "clientordertime": {
  28441. "description": "客户端委托时间",
  28442. "type": "string"
  28443. },
  28444. "exchangerate": {
  28445. "description": "汇率[67]",
  28446. "type": "number"
  28447. },
  28448. "firstratio": {
  28449. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  28450. "type": "number"
  28451. },
  28452. "fixedprice": {
  28453. "description": "[克拉单价]固定价格 - [挂牌]",
  28454. "type": "number"
  28455. },
  28456. "freezecharge": {
  28457. "description": "冻结手续费",
  28458. "type": "number"
  28459. },
  28460. "freezefirstamount": {
  28461. "description": "冻结首付金额 - [摘牌]",
  28462. "type": "number"
  28463. },
  28464. "freezemargin": {
  28465. "description": "冻结保证金",
  28466. "type": "number"
  28467. },
  28468. "goodsno": {
  28469. "description": "商品编号",
  28470. "type": "string"
  28471. },
  28472. "isspecified": {
  28473. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  28474. "type": "integer"
  28475. },
  28476. "marginalgorithm": {
  28477. "description": "保证金方式 - 1:比率 2:固定",
  28478. "type": "integer"
  28479. },
  28480. "marginvalue": {
  28481. "description": "保证金设置值",
  28482. "type": "number"
  28483. },
  28484. "marketid": {
  28485. "description": "市场ID",
  28486. "type": "integer"
  28487. },
  28488. "orderamount": {
  28489. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  28490. "type": "number"
  28491. },
  28492. "ordertime": {
  28493. "description": "委托时间",
  28494. "type": "string"
  28495. },
  28496. "performancetemplateid": {
  28497. "description": "履约计划模板ID",
  28498. "type": "integer"
  28499. },
  28500. "pricefactor": {
  28501. "description": "价格系数(浮动价时填写) - [挂牌]",
  28502. "type": "number"
  28503. },
  28504. "pricemove": {
  28505. "description": "升贴水(浮动价时填写) - [挂牌]",
  28506. "type": "number"
  28507. },
  28508. "relatedwrtradeorderid": {
  28509. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  28510. "type": "integer"
  28511. },
  28512. "retcode": {
  28513. "description": "错误代码",
  28514. "type": "integer"
  28515. },
  28516. "selledqty": {
  28517. "description": "成交重量",
  28518. "type": "number"
  28519. },
  28520. "totalqty": {
  28521. "description": "总重量",
  28522. "type": "number"
  28523. },
  28524. "tradedate": {
  28525. "description": "交易日(yyyyMMdd)",
  28526. "type": "string"
  28527. },
  28528. "tradeprice": {
  28529. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  28530. "type": "number"
  28531. },
  28532. "unfreezecharge": {
  28533. "description": "解冻手续费",
  28534. "type": "number"
  28535. },
  28536. "unfreezefirstamount": {
  28537. "description": "解冻首付金额 - [摘牌]",
  28538. "type": "number"
  28539. },
  28540. "unfreezemargin": {
  28541. "description": "解冻保证金",
  28542. "type": "number"
  28543. },
  28544. "userid": {
  28545. "description": "用户ID",
  28546. "type": "integer"
  28547. },
  28548. "uuid": {
  28549. "description": "发起端唯一id",
  28550. "type": "string"
  28551. },
  28552. "validtime": {
  28553. "description": "有效期限",
  28554. "type": "string"
  28555. },
  28556. "validtype": {
  28557. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  28558. "type": "integer"
  28559. },
  28560. "wrbargainid": {
  28561. "description": "议价申请单ID",
  28562. "type": "integer"
  28563. },
  28564. "wrfactortypeid": {
  28565. "description": "仓单要素类型ID/商品ID(77)",
  28566. "type": "integer"
  28567. },
  28568. "wrpricetype": {
  28569. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  28570. "type": "integer"
  28571. },
  28572. "wrstandardid": {
  28573. "description": "现货商品ID",
  28574. "type": "integer"
  28575. },
  28576. "wrtradeorderid": {
  28577. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  28578. "type": "string"
  28579. },
  28580. "wrtradeorderstatus": {
  28581. "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:撤单解冻贷款失败",
  28582. "type": "integer"
  28583. },
  28584. "wrtradetype": {
  28585. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  28586. "type": "integer"
  28587. },
  28588. "wrtransferuserid": {
  28589. "description": "仓单受让用户 - [摘牌]",
  28590. "type": "integer"
  28591. },
  28592. "zscategory": {
  28593. "description": "钻石分类 - 枚举”ZSCategory“",
  28594. "type": "integer"
  28595. },
  28596. "zscategorydisplay": {
  28597. "description": "钻石分类 - 描述",
  28598. "type": "string"
  28599. },
  28600. "zscurrencytype": {
  28601. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28602. "type": "integer"
  28603. }
  28604. }
  28605. },
  28606. "models.MyWRPosition": {
  28607. "type": "object",
  28608. "required": [
  28609. "wruserid"
  28610. ],
  28611. "properties": {
  28612. "cerno": {
  28613. "description": "证书编号 - 类型:2,4,5",
  28614. "type": "string"
  28615. },
  28616. "cpcertno": {
  28617. "description": "金伯利证书编号 - 类型:3",
  28618. "type": "string"
  28619. },
  28620. "ffreezeqty": {
  28621. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  28622. "type": "number"
  28623. },
  28624. "ftotalqty": {
  28625. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  28626. "type": "number"
  28627. },
  28628. "goodsno": {
  28629. "description": "商品编号",
  28630. "type": "string"
  28631. },
  28632. "imagepath": {
  28633. "description": "商品照片(相对地址)",
  28634. "type": "string"
  28635. },
  28636. "isvalid": {
  28637. "description": "是否有效 - 0:无效 1:有效",
  28638. "type": "integer"
  28639. },
  28640. "kppath": {
  28641. "description": "金伯利证书图片(相对地址) - 类型:3",
  28642. "type": "string"
  28643. },
  28644. "kpweight": {
  28645. "description": "金伯利证书重量 - 类型:3",
  28646. "type": "string"
  28647. },
  28648. "ladingbillid": {
  28649. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  28650. "type": "string"
  28651. },
  28652. "marketprice": {
  28653. "description": "市场价",
  28654. "type": "string"
  28655. },
  28656. "origin": {
  28657. "description": "原产地 - 类型:3",
  28658. "type": "string"
  28659. },
  28660. "price": {
  28661. "description": "总价(价格) - 类型:1,2,3,4,5",
  28662. "type": "number"
  28663. },
  28664. "priceper": {
  28665. "description": "克拉单价 - 类型:1,2,3,5",
  28666. "type": "string"
  28667. },
  28668. "remark": {
  28669. "description": "备注",
  28670. "type": "string"
  28671. },
  28672. "sellmobile": {
  28673. "description": "手机号码(加密存储)",
  28674. "type": "string"
  28675. },
  28676. "sellusername": {
  28677. "description": "账户名称(机构名称)",
  28678. "type": "string"
  28679. },
  28680. "settingmaterial": {
  28681. "description": "镶嵌材料 - 类型:4",
  28682. "type": "string"
  28683. },
  28684. "size1": {
  28685. "description": "尺寸1 - 类型:2,4,5",
  28686. "type": "string"
  28687. },
  28688. "size2": {
  28689. "description": "尺寸2 - 类型:2,4,5",
  28690. "type": "string"
  28691. },
  28692. "size3": {
  28693. "description": "尺寸3 - 类型:2,4,5",
  28694. "type": "string"
  28695. },
  28696. "stonedesc": {
  28697. "description": "配石描述 - 类型:4",
  28698. "type": "string"
  28699. },
  28700. "subnum": {
  28701. "description": "提单子单号",
  28702. "type": "integer"
  28703. },
  28704. "userid": {
  28705. "description": "用户ID",
  28706. "type": "integer"
  28707. },
  28708. "warehouseid": {
  28709. "description": "仓库ID",
  28710. "type": "integer"
  28711. },
  28712. "warehousenamedisplay": {
  28713. "type": "string"
  28714. },
  28715. "weight": {
  28716. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  28717. "type": "number"
  28718. },
  28719. "weightavg": {
  28720. "description": "平均单颗重量 - 类型:1,3",
  28721. "type": "number"
  28722. },
  28723. "wrpath": {
  28724. "description": "仓单扫描件(相对地址)",
  28725. "type": "string"
  28726. },
  28727. "wrstandardid": {
  28728. "description": "现货商品ID",
  28729. "type": "integer"
  28730. },
  28731. "wruserid": {
  28732. "description": "登录用户ID",
  28733. "type": "integer"
  28734. },
  28735. "zscategory": {
  28736. "description": "钻石分类 - 枚举”ZSCategory“",
  28737. "type": "integer"
  28738. },
  28739. "zscategorydisplay": {
  28740. "type": "string"
  28741. },
  28742. "zscerttype": {
  28743. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  28744. "type": "integer"
  28745. },
  28746. "zscerttypedisplay": {
  28747. "type": "string"
  28748. },
  28749. "zsclaritytype1": {
  28750. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  28751. "type": "integer"
  28752. },
  28753. "zsclaritytype1display": {
  28754. "type": "string"
  28755. },
  28756. "zsclaritytype2": {
  28757. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  28758. "type": "integer"
  28759. },
  28760. "zsclaritytype2display": {
  28761. "type": "string"
  28762. },
  28763. "zscolortype1": {
  28764. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  28765. "type": "integer"
  28766. },
  28767. "zscolortype1display": {
  28768. "type": "string"
  28769. },
  28770. "zscolortype2": {
  28771. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  28772. "type": "integer"
  28773. },
  28774. "zscolortype2display": {
  28775. "type": "string"
  28776. },
  28777. "zscrystaltype": {
  28778. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  28779. "type": "string"
  28780. },
  28781. "zscrystaltypedisplay": {
  28782. "type": "string"
  28783. },
  28784. "zscurrencytype": {
  28785. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28786. "type": "integer"
  28787. },
  28788. "zscurrencytypedisplay": {
  28789. "type": "string"
  28790. },
  28791. "zscurrencytypedisplayunit": {
  28792. "type": "string"
  28793. },
  28794. "zscuttype1": {
  28795. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  28796. "type": "integer"
  28797. },
  28798. "zscuttype1display": {
  28799. "type": "string"
  28800. },
  28801. "zscuttype2": {
  28802. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  28803. "type": "integer"
  28804. },
  28805. "zscuttype2display": {
  28806. "type": "string"
  28807. },
  28808. "zsczcolor1type": {
  28809. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  28810. "type": "integer"
  28811. },
  28812. "zsczcolor1typedisplay": {
  28813. "type": "string"
  28814. },
  28815. "zsczcolor2type": {
  28816. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  28817. "type": "integer"
  28818. },
  28819. "zsczcolor2typedisplay": {
  28820. "type": "string"
  28821. },
  28822. "zsczcolor3type": {
  28823. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  28824. "type": "integer"
  28825. },
  28826. "zsczcolor3typedisplay": {
  28827. "type": "string"
  28828. },
  28829. "zsfluorescencetype1": {
  28830. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  28831. "type": "integer"
  28832. },
  28833. "zsfluorescencetype1display": {
  28834. "type": "string"
  28835. },
  28836. "zsfluorescencetype2": {
  28837. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  28838. "type": "integer"
  28839. },
  28840. "zsfluorescencetype2display": {
  28841. "type": "string"
  28842. },
  28843. "zspolishtype1": {
  28844. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  28845. "type": "integer"
  28846. },
  28847. "zspolishtype1display": {
  28848. "type": "string"
  28849. },
  28850. "zspolishtype2": {
  28851. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  28852. "type": "integer"
  28853. },
  28854. "zspolishtype2display": {
  28855. "type": "string"
  28856. },
  28857. "zsshapetype": {
  28858. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  28859. "type": "string"
  28860. },
  28861. "zsshapetypedisplay": {
  28862. "type": "string"
  28863. },
  28864. "zsstyletype": {
  28865. "description": "款式 - 类型:4",
  28866. "type": "integer"
  28867. },
  28868. "zsstyletypedisplay": {
  28869. "type": "string"
  28870. },
  28871. "zssymmetrytype1": {
  28872. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  28873. "type": "integer"
  28874. },
  28875. "zssymmetrytype1display": {
  28876. "type": "string"
  28877. },
  28878. "zssymmetrytype2": {
  28879. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  28880. "type": "integer"
  28881. },
  28882. "zssymmetrytype2display": {
  28883. "type": "string"
  28884. }
  28885. }
  28886. },
  28887. "models.NewFuncmenulist": {
  28888. "type": "object",
  28889. "required": [
  28890. "resourcecode"
  28891. ],
  28892. "properties": {
  28893. "authtype": {
  28894. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  28895. "type": "integer"
  28896. },
  28897. "buttonname": {
  28898. "description": "按钮名称",
  28899. "type": "string"
  28900. },
  28901. "buttontype": {
  28902. "description": "按钮类型 - 存按钮样式",
  28903. "type": "string"
  28904. },
  28905. "component": {
  28906. "description": "组件名或组件地址",
  28907. "type": "string"
  28908. },
  28909. "hidden": {
  28910. "description": "是否隐藏 - 0:显示 1:隐藏",
  28911. "type": "integer"
  28912. },
  28913. "iconame": {
  28914. "description": "菜单图标",
  28915. "type": "string"
  28916. },
  28917. "menutype": {
  28918. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  28919. "type": "integer"
  28920. },
  28921. "parentcode": {
  28922. "description": "上级资源代码",
  28923. "type": "string"
  28924. },
  28925. "remark": {
  28926. "description": "Remark",
  28927. "type": "string"
  28928. },
  28929. "resourcecode": {
  28930. "description": "资源代码",
  28931. "type": "string"
  28932. },
  28933. "resourcelevel": {
  28934. "description": "级别1-一级 2-二级 3-三级4-四级",
  28935. "type": "integer"
  28936. },
  28937. "resourcename": {
  28938. "description": "资源名(Title)",
  28939. "type": "string"
  28940. },
  28941. "sort": {
  28942. "description": "排序",
  28943. "type": "integer"
  28944. },
  28945. "url": {
  28946. "description": "Url",
  28947. "type": "string"
  28948. },
  28949. "urltype": {
  28950. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  28951. "type": "integer"
  28952. }
  28953. }
  28954. },
  28955. "models.OperationPrimaryMenu": {
  28956. "type": "object",
  28957. "properties": {
  28958. "Children": {
  28959. "description": "二级功能菜单",
  28960. "type": "array",
  28961. "items": {
  28962. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28963. }
  28964. },
  28965. "Key": {
  28966. "description": "菜单KEY",
  28967. "type": "string"
  28968. },
  28969. "Label": {
  28970. "description": "菜单标题",
  28971. "type": "string"
  28972. }
  28973. }
  28974. },
  28975. "models.OperationSecondaryMenu": {
  28976. "type": "object",
  28977. "properties": {
  28978. "Key": {
  28979. "description": "菜单KEY",
  28980. "type": "string"
  28981. },
  28982. "Label": {
  28983. "description": "菜单标题",
  28984. "type": "string"
  28985. },
  28986. "TabList": {
  28987. "description": "三级功能菜单",
  28988. "type": "array",
  28989. "items": {
  28990. "$ref": "#/definitions/models.OperationTabMenu"
  28991. }
  28992. }
  28993. }
  28994. },
  28995. "models.OperationTabMenu": {
  28996. "type": "object",
  28997. "properties": {
  28998. "Key": {
  28999. "description": "菜单KEY",
  29000. "type": "string"
  29001. },
  29002. "Label": {
  29003. "description": "菜单标题",
  29004. "type": "string"
  29005. }
  29006. }
  29007. },
  29008. "models.Patradelinkdetail": {
  29009. "type": "object",
  29010. "properties": {
  29011. "accountname": {
  29012. "description": "套期主体",
  29013. "type": "string"
  29014. },
  29015. "agreeunit": {
  29016. "description": "合约乘数",
  29017. "type": "number"
  29018. },
  29019. "amount": {
  29020. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  29021. "type": "number"
  29022. },
  29023. "areauserid": {
  29024. "description": "所属机构",
  29025. "type": "integer"
  29026. },
  29027. "bizsubjectid": {
  29028. "description": "归属业务部门ID - SubjectID",
  29029. "type": "integer"
  29030. },
  29031. "buyorsell": {
  29032. "description": "方向 - 0:买 1:卖",
  29033. "type": "integer"
  29034. },
  29035. "convertratio": {
  29036. "description": "品种系数",
  29037. "type": "number"
  29038. },
  29039. "convertratiochange": {
  29040. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  29041. "type": "number"
  29042. },
  29043. "createtime": {
  29044. "description": "[日期时间]创建时间",
  29045. "type": "string"
  29046. },
  29047. "creatorid": {
  29048. "description": "创建人ID",
  29049. "type": "integer"
  29050. },
  29051. "creatorsrc": {
  29052. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29053. "type": "integer"
  29054. },
  29055. "goodscode": {
  29056. "description": "商品代码(内部)",
  29057. "type": "string"
  29058. },
  29059. "goodsgroupid": {
  29060. "description": "对冲品种ID[期货合约商品组ID]",
  29061. "type": "integer"
  29062. },
  29063. "goodsid": {
  29064. "description": "商品ID",
  29065. "type": "integer"
  29066. },
  29067. "hedgeditemid": {
  29068. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29069. "type": "integer"
  29070. },
  29071. "hedgeflag": {
  29072. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29073. "type": "integer"
  29074. },
  29075. "linkdetailid": {
  29076. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29077. "type": "string"
  29078. },
  29079. "linkstatus": {
  29080. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29081. "type": "integer"
  29082. },
  29083. "middlegoodsid": {
  29084. "description": "套保品种ID",
  29085. "type": "integer"
  29086. },
  29087. "name": {
  29088. "description": "账户名/子账户",
  29089. "type": "string"
  29090. },
  29091. "optioncode": {
  29092. "description": "[期货合约]期权代码 [期权]",
  29093. "type": "string"
  29094. },
  29095. "ordertype": {
  29096. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29097. "type": "integer"
  29098. },
  29099. "relatedlot": {
  29100. "description": "[数量]关联手数",
  29101. "type": "number"
  29102. },
  29103. "relatedmode": {
  29104. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29105. "type": "integer"
  29106. },
  29107. "relatedqty": {
  29108. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29109. "type": "number"
  29110. },
  29111. "retcode": {
  29112. "description": "返回码",
  29113. "type": "integer"
  29114. },
  29115. "saleuserid": {
  29116. "description": "业务员ID",
  29117. "type": "integer"
  29118. },
  29119. "tradedate": {
  29120. "description": "关联交易日(yyyyMMdd)",
  29121. "type": "string"
  29122. },
  29123. "tradeid": {
  29124. "description": "[成交单号]内部成交单ID",
  29125. "type": "string"
  29126. },
  29127. "tradelot": {
  29128. "description": "成交手数",
  29129. "type": "integer"
  29130. },
  29131. "tradeprice": {
  29132. "description": "[价格]成交价格",
  29133. "type": "number"
  29134. },
  29135. "tradetradedate": {
  29136. "description": "成交交易日(yyyyMMdd)",
  29137. "type": "string"
  29138. }
  29139. }
  29140. },
  29141. "models.QueryErrorInfosRsp": {
  29142. "type": "object",
  29143. "required": [
  29144. "errorid"
  29145. ],
  29146. "properties": {
  29147. "description": {
  29148. "description": "异常描述",
  29149. "type": "string"
  29150. },
  29151. "errorcode": {
  29152. "description": "异常代码",
  29153. "type": "string"
  29154. },
  29155. "errorid": {
  29156. "description": "异常ID",
  29157. "type": "integer"
  29158. },
  29159. "modulecode": {
  29160. "description": "所属模块",
  29161. "type": "string"
  29162. },
  29163. "operatecode": {
  29164. "description": "所属操作",
  29165. "type": "string"
  29166. },
  29167. "rownumber": {
  29168. "description": "行号",
  29169. "type": "string"
  29170. }
  29171. }
  29172. },
  29173. "models.QueryHedgeOrderDetailRsp": {
  29174. "type": "object",
  29175. "properties": {
  29176. "accountid": {
  29177. "description": "账户ID",
  29178. "type": "integer"
  29179. },
  29180. "buyorsell": {
  29181. "description": "买卖 - 0:买 1:卖",
  29182. "type": "integer"
  29183. },
  29184. "cancellogincode": {
  29185. "description": "撤单人",
  29186. "type": "string"
  29187. },
  29188. "channelbuildtype": {
  29189. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29190. "type": "integer"
  29191. },
  29192. "channelinnerorderstatus": {
  29193. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29194. "type": "integer"
  29195. },
  29196. "channeloperatetype": {
  29197. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29198. "type": "integer"
  29199. },
  29200. "closetype": {
  29201. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29202. "type": "integer"
  29203. },
  29204. "curexchangerate": {
  29205. "description": "当前汇率",
  29206. "type": "number"
  29207. },
  29208. "decimalplace": {
  29209. "description": "商品报价小数位",
  29210. "type": "integer"
  29211. },
  29212. "exchangefullname": {
  29213. "description": "外部交易所全称",
  29214. "type": "string"
  29215. },
  29216. "goodscode": {
  29217. "description": "商品代码(内部)",
  29218. "type": "string"
  29219. },
  29220. "goodsid": {
  29221. "description": "商品ID",
  29222. "type": "integer"
  29223. },
  29224. "goodsname": {
  29225. "description": "商品名称",
  29226. "type": "string"
  29227. },
  29228. "marketid": {
  29229. "description": "市场ID",
  29230. "type": "integer"
  29231. },
  29232. "openfreezemargin": {
  29233. "description": "冻结保证金(冻结交易金额)",
  29234. "type": "number"
  29235. },
  29236. "orderid": {
  29237. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29238. "type": "string"
  29239. },
  29240. "orderlogincode": {
  29241. "description": "委托人",
  29242. "type": "string"
  29243. },
  29244. "orderprice": {
  29245. "description": "委托价格(账户)",
  29246. "type": "number"
  29247. },
  29248. "orderqty": {
  29249. "description": "委托数量",
  29250. "type": "integer"
  29251. },
  29252. "ordertime": {
  29253. "description": "委托时间",
  29254. "type": "string"
  29255. },
  29256. "pricemode": {
  29257. "description": "取价方式 - 1:市价 2: 限价",
  29258. "type": "integer"
  29259. },
  29260. "tradedate": {
  29261. "description": "交易日(yyyyMMdd)",
  29262. "type": "string"
  29263. },
  29264. "tradeqty": {
  29265. "description": "成交数量",
  29266. "type": "integer"
  29267. }
  29268. }
  29269. },
  29270. "models.QueryHedgeTradeDetailRsp": {
  29271. "type": "object",
  29272. "properties": {
  29273. "accountid": {
  29274. "description": "账号ID",
  29275. "type": "integer"
  29276. },
  29277. "buyorsell": {
  29278. "description": "方向 - 0:买 1:卖",
  29279. "type": "integer"
  29280. },
  29281. "channelbuildtype": {
  29282. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29283. "type": "integer"
  29284. },
  29285. "closecharge": {
  29286. "description": "平仓手续费(账户)",
  29287. "type": "number"
  29288. },
  29289. "closecharge2": {
  29290. "description": "平仓手续费(商品)",
  29291. "type": "number"
  29292. },
  29293. "closepl": {
  29294. "description": "平仓盈亏(账户)",
  29295. "type": "number"
  29296. },
  29297. "closepl2": {
  29298. "description": "平仓盈亏(商品)",
  29299. "type": "number"
  29300. },
  29301. "closepl3": {
  29302. "description": "平仓盈亏(账户)(逐笔)",
  29303. "type": "number"
  29304. },
  29305. "closepl4": {
  29306. "description": "平仓盈亏(商品)(逐笔)",
  29307. "type": "number"
  29308. },
  29309. "closetype": {
  29310. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29311. "type": "integer"
  29312. },
  29313. "curexchangerate": {
  29314. "description": "当前汇率",
  29315. "type": "number"
  29316. },
  29317. "decimalplace": {
  29318. "description": "商品报价小数位",
  29319. "type": "integer"
  29320. },
  29321. "exchangefullname": {
  29322. "description": "外部交易所全称",
  29323. "type": "string"
  29324. },
  29325. "goodscode": {
  29326. "description": "商品代码(内部)",
  29327. "type": "string"
  29328. },
  29329. "goodsid": {
  29330. "description": "商品ID",
  29331. "type": "integer"
  29332. },
  29333. "goodsname": {
  29334. "description": "商品名称",
  29335. "type": "string"
  29336. },
  29337. "marketid": {
  29338. "description": "市场ID",
  29339. "type": "integer"
  29340. },
  29341. "opencharge": {
  29342. "description": "建仓手续费(账户)",
  29343. "type": "number"
  29344. },
  29345. "opencharge2": {
  29346. "description": "建仓手续费(商品)",
  29347. "type": "number"
  29348. },
  29349. "orderid": {
  29350. "description": "委托单号",
  29351. "type": "string"
  29352. },
  29353. "orderlogincode": {
  29354. "description": "委托人",
  29355. "type": "string"
  29356. },
  29357. "tradeamount": {
  29358. "description": "成交金额(账户)",
  29359. "type": "number"
  29360. },
  29361. "tradedate": {
  29362. "description": "交易日(yyyyMMdd)",
  29363. "type": "string"
  29364. },
  29365. "tradeid": {
  29366. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29367. "type": "string"
  29368. },
  29369. "tradeprice": {
  29370. "description": "成交价格",
  29371. "type": "number"
  29372. },
  29373. "tradeqty": {
  29374. "description": "成交数量",
  29375. "type": "integer"
  29376. },
  29377. "tradetime": {
  29378. "description": "成交时间",
  29379. "type": "string"
  29380. },
  29381. "tradetype": {
  29382. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29383. "type": "integer"
  29384. }
  29385. }
  29386. },
  29387. "models.QuotePrimaryMenu": {
  29388. "type": "object",
  29389. "properties": {
  29390. "Index": {
  29391. "description": "序号",
  29392. "type": "integer"
  29393. },
  29394. "Key": {
  29395. "description": "键名",
  29396. "type": "string"
  29397. },
  29398. "Name": {
  29399. "description": "菜单名称",
  29400. "type": "string"
  29401. },
  29402. "SubMenus": {
  29403. "description": "子菜单",
  29404. "type": "array",
  29405. "items": {
  29406. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29407. }
  29408. },
  29409. "SubTitleType": {
  29410. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29411. "type": "integer"
  29412. },
  29413. "TradeModes": {
  29414. "description": "包含市场交易类型",
  29415. "type": "string"
  29416. }
  29417. }
  29418. },
  29419. "models.QuoteSecondaryMenu": {
  29420. "type": "object",
  29421. "properties": {
  29422. "ExExchangeCode": {
  29423. "description": "外部交易所代码",
  29424. "type": "string"
  29425. },
  29426. "ExExchangeID": {
  29427. "description": "外部交易所ID",
  29428. "type": "integer"
  29429. },
  29430. "GoodsGroupIDs": {
  29431. "description": "商品组ID列表",
  29432. "type": "array",
  29433. "items": {
  29434. "type": "integer"
  29435. }
  29436. },
  29437. "Index": {
  29438. "description": "序号",
  29439. "type": "integer"
  29440. },
  29441. "MarketID": {
  29442. "description": "市场ID",
  29443. "type": "integer"
  29444. },
  29445. "MenuTitle": {
  29446. "description": "菜单标题(市场名称或外部交易所名称)",
  29447. "type": "string"
  29448. },
  29449. "TradeMode": {
  29450. "description": "交易模式",
  29451. "type": "integer"
  29452. }
  29453. }
  29454. },
  29455. "models.RelatedTaAccount": {
  29456. "type": "object",
  29457. "properties": {
  29458. "accountid": {
  29459. "description": "资金账户ID",
  29460. "type": "integer"
  29461. }
  29462. }
  29463. },
  29464. "models.RoleMenu": {
  29465. "type": "object",
  29466. "properties": {
  29467. "hasright": {
  29468. "description": "是否有权限 0-没有权限 1-有权限",
  29469. "type": "integer"
  29470. },
  29471. "iconame": {
  29472. "description": "菜单图标",
  29473. "type": "string"
  29474. },
  29475. "menutype": {
  29476. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29477. "type": "integer"
  29478. },
  29479. "parentcode": {
  29480. "description": "上级资源代码",
  29481. "type": "string"
  29482. },
  29483. "remark": {
  29484. "description": "菜单备注",
  29485. "type": "string"
  29486. },
  29487. "resourcecode": {
  29488. "description": "菜单代码",
  29489. "type": "string"
  29490. },
  29491. "resourcelevel": {
  29492. "description": "级别",
  29493. "type": "integer"
  29494. },
  29495. "resourcename": {
  29496. "description": "菜单名称",
  29497. "type": "string"
  29498. },
  29499. "roleid": {
  29500. "description": "角色id",
  29501. "type": "integer"
  29502. },
  29503. "sort": {
  29504. "description": "排序",
  29505. "type": "integer"
  29506. },
  29507. "subMenu": {
  29508. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29509. "type": "array",
  29510. "items": {
  29511. "$ref": "#/definitions/models.RoleMenu"
  29512. }
  29513. },
  29514. "url": {
  29515. "description": "URL",
  29516. "type": "string"
  29517. },
  29518. "userid": {
  29519. "description": "用户id",
  29520. "type": "integer"
  29521. }
  29522. }
  29523. },
  29524. "models.SearchGoods": {
  29525. "type": "object",
  29526. "required": [
  29527. "goodscode",
  29528. "goodsid",
  29529. "goodsname",
  29530. "marketid",
  29531. "trademode"
  29532. ],
  29533. "properties": {
  29534. "goodscode": {
  29535. "description": "商品代码(内部)",
  29536. "type": "string"
  29537. },
  29538. "goodsid": {
  29539. "description": "商品ID(自增ID SEQ_GOODS)",
  29540. "type": "integer"
  29541. },
  29542. "goodsname": {
  29543. "description": "商品名称",
  29544. "type": "string"
  29545. },
  29546. "marketid": {
  29547. "description": "所属市场ID",
  29548. "type": "integer"
  29549. },
  29550. "marketname": {
  29551. "description": "市场名称",
  29552. "type": "string"
  29553. },
  29554. "trademode": {
  29555. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29556. "type": "integer"
  29557. }
  29558. }
  29559. },
  29560. "models.SellOrder": {
  29561. "type": "object",
  29562. "properties": {
  29563. "accountid": {
  29564. "description": "资金账号",
  29565. "type": "integer"
  29566. },
  29567. "applyid": {
  29568. "description": "申请单ID",
  29569. "type": "integer"
  29570. },
  29571. "attachment1": {
  29572. "description": "附件1",
  29573. "type": "string"
  29574. },
  29575. "attachment2": {
  29576. "description": "附件2",
  29577. "type": "string"
  29578. },
  29579. "buyorsell": {
  29580. "description": "买卖 - 0:买 1:卖",
  29581. "type": "integer"
  29582. },
  29583. "canbargain": {
  29584. "description": "是否可议价 - 0:不可 1:可",
  29585. "type": "integer"
  29586. },
  29587. "cancelqty": {
  29588. "description": "撤销数量",
  29589. "type": "integer"
  29590. },
  29591. "canceltime": {
  29592. "description": "撤销时间",
  29593. "type": "string"
  29594. },
  29595. "chargealgorithm": {
  29596. "description": "手续费收取方式 1:比率 2:固定",
  29597. "type": "integer"
  29598. },
  29599. "chargealgorithmvalue": {
  29600. "description": "手续费设置值(交易所部分)",
  29601. "type": "number"
  29602. },
  29603. "chargealgorithmvalue2": {
  29604. "description": "手续费设置值(会员部分)",
  29605. "type": "number"
  29606. },
  29607. "clientordertime": {
  29608. "description": "客户端委托时间",
  29609. "type": "string"
  29610. },
  29611. "exchangerate": {
  29612. "description": "汇率[67]",
  29613. "type": "number"
  29614. },
  29615. "firstratio": {
  29616. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  29617. "type": "number"
  29618. },
  29619. "fixedprice": {
  29620. "description": "[克拉单价]固定价格 - [挂牌]",
  29621. "type": "number"
  29622. },
  29623. "freezecharge": {
  29624. "description": "冻结手续费",
  29625. "type": "number"
  29626. },
  29627. "freezefirstamount": {
  29628. "description": "冻结首付金额 - [摘牌]",
  29629. "type": "number"
  29630. },
  29631. "freezemargin": {
  29632. "description": "冻结保证金",
  29633. "type": "number"
  29634. },
  29635. "goodsno": {
  29636. "description": "商品编号",
  29637. "type": "string"
  29638. },
  29639. "isQueryDiamond": {
  29640. "description": "是否钻石查询",
  29641. "type": "boolean"
  29642. },
  29643. "isspecified": {
  29644. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  29645. "type": "integer"
  29646. },
  29647. "marginalgorithm": {
  29648. "description": "保证金方式 - 1:比率 2:固定",
  29649. "type": "integer"
  29650. },
  29651. "marginvalue": {
  29652. "description": "保证金设置值",
  29653. "type": "number"
  29654. },
  29655. "marketid": {
  29656. "description": "市场ID",
  29657. "type": "integer"
  29658. },
  29659. "orderamount": {
  29660. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  29661. "type": "number"
  29662. },
  29663. "ordertime": {
  29664. "description": "委托时间",
  29665. "type": "string"
  29666. },
  29667. "performancetemplateid": {
  29668. "description": "履约计划模板ID",
  29669. "type": "integer"
  29670. },
  29671. "pricefactor": {
  29672. "description": "价格系数(浮动价时填写) - [挂牌]",
  29673. "type": "number"
  29674. },
  29675. "pricemove": {
  29676. "description": "升贴水(浮动价时填写) - [挂牌]",
  29677. "type": "number"
  29678. },
  29679. "relatedwrtradeorderid": {
  29680. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  29681. "type": "integer"
  29682. },
  29683. "remainqty": {
  29684. "description": "剩余重量",
  29685. "type": "number"
  29686. },
  29687. "retcode": {
  29688. "description": "错误代码",
  29689. "type": "integer"
  29690. },
  29691. "sellusername": {
  29692. "description": "卖方(查询字段-模糊查询)",
  29693. "type": "string"
  29694. },
  29695. "totalqty": {
  29696. "description": "总重量",
  29697. "type": "number"
  29698. },
  29699. "tradedate": {
  29700. "description": "交易日(yyyyMMdd)",
  29701. "type": "string"
  29702. },
  29703. "tradeprice": {
  29704. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29705. "type": "number"
  29706. },
  29707. "unfreezecharge": {
  29708. "description": "解冻手续费",
  29709. "type": "number"
  29710. },
  29711. "unfreezefirstamount": {
  29712. "description": "解冻首付金额 - [摘牌]",
  29713. "type": "number"
  29714. },
  29715. "unfreezemargin": {
  29716. "description": "解冻保证金",
  29717. "type": "number"
  29718. },
  29719. "userid": {
  29720. "description": "用户ID",
  29721. "type": "integer"
  29722. },
  29723. "uuid": {
  29724. "description": "发起端唯一id",
  29725. "type": "string"
  29726. },
  29727. "validtime": {
  29728. "description": "有效期限",
  29729. "type": "string"
  29730. },
  29731. "validtype": {
  29732. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  29733. "type": "integer"
  29734. },
  29735. "wrbargainid": {
  29736. "description": "议价申请单ID",
  29737. "type": "integer"
  29738. },
  29739. "wrfactortypeid": {
  29740. "description": "仓单要素类型ID/商品ID(77)",
  29741. "type": "integer"
  29742. },
  29743. "wrpricetype": {
  29744. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29745. "type": "integer"
  29746. },
  29747. "wrstandardid": {
  29748. "description": "现货商品ID",
  29749. "type": "integer"
  29750. },
  29751. "wrtradeorderid": {
  29752. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29753. "type": "string"
  29754. },
  29755. "wrtradeorderstatus": {
  29756. "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:撤单解冻贷款失败",
  29757. "type": "integer"
  29758. },
  29759. "wrtradetype": {
  29760. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29761. "type": "integer"
  29762. },
  29763. "wrtransferuserid": {
  29764. "description": "仓单受让用户 - [摘牌]",
  29765. "type": "integer"
  29766. },
  29767. "zscategory": {
  29768. "description": "钻石分类 - 枚举”ZSCategory“",
  29769. "type": "integer"
  29770. },
  29771. "zscategorydisplay": {
  29772. "description": "钻石分类 - 描述",
  29773. "type": "string"
  29774. },
  29775. "zscurrencytype": {
  29776. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29777. "type": "integer"
  29778. }
  29779. }
  29780. },
  29781. "models.SellOrderQueryReq": {
  29782. "type": "object",
  29783. "required": [
  29784. "zscategory"
  29785. ],
  29786. "properties": {
  29787. "origin": {
  29788. "description": "原产地",
  29789. "type": "string"
  29790. },
  29791. "page": {
  29792. "description": "页码",
  29793. "type": "integer"
  29794. },
  29795. "pagesize": {
  29796. "description": "每页大小",
  29797. "type": "integer"
  29798. },
  29799. "total": {
  29800. "description": "总条数",
  29801. "type": "integer"
  29802. },
  29803. "warehouseid": {
  29804. "description": "仓库ID",
  29805. "type": "integer"
  29806. },
  29807. "weight1": {
  29808. "description": "总重量(克拉重量)-从",
  29809. "type": "number"
  29810. },
  29811. "weight2": {
  29812. "description": "总重量(克拉重量)-至",
  29813. "type": "number"
  29814. },
  29815. "weightavg1": {
  29816. "description": "平均单颗重量-从",
  29817. "type": "number"
  29818. },
  29819. "weightavg2": {
  29820. "description": "平均单颗重量-至",
  29821. "type": "number"
  29822. },
  29823. "zscategory": {
  29824. "description": "钻石分类 - 枚举”ZSCategory“",
  29825. "type": "integer"
  29826. },
  29827. "zscerttype": {
  29828. "description": "证书类型",
  29829. "type": "array",
  29830. "items": {
  29831. "type": "string"
  29832. }
  29833. },
  29834. "zsclaritytype": {
  29835. "description": "净度",
  29836. "type": "array",
  29837. "items": {
  29838. "type": "integer"
  29839. }
  29840. },
  29841. "zscolortype": {
  29842. "description": "颜色",
  29843. "type": "array",
  29844. "items": {
  29845. "type": "integer"
  29846. }
  29847. },
  29848. "zscurrencytype": {
  29849. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29850. "type": "array",
  29851. "items": {
  29852. "type": "string"
  29853. }
  29854. },
  29855. "zscuttype": {
  29856. "description": "切工",
  29857. "type": "array",
  29858. "items": {
  29859. "type": "integer"
  29860. }
  29861. },
  29862. "zsczcolor1type": {
  29863. "description": "彩钻颜色1",
  29864. "type": "array",
  29865. "items": {
  29866. "type": "string"
  29867. }
  29868. },
  29869. "zsfluorescencetype": {
  29870. "description": "荧光",
  29871. "type": "array",
  29872. "items": {
  29873. "type": "integer"
  29874. }
  29875. },
  29876. "zspolishtype": {
  29877. "description": "抛光度",
  29878. "type": "array",
  29879. "items": {
  29880. "type": "integer"
  29881. }
  29882. },
  29883. "zsshapetype": {
  29884. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29885. "type": "array",
  29886. "items": {
  29887. "type": "string"
  29888. }
  29889. },
  29890. "zsstyletype": {
  29891. "description": "款式",
  29892. "type": "array",
  29893. "items": {
  29894. "type": "string"
  29895. }
  29896. },
  29897. "zssymmetrytype": {
  29898. "description": "对称度",
  29899. "type": "array",
  29900. "items": {
  29901. "type": "integer"
  29902. }
  29903. }
  29904. }
  29905. },
  29906. "models.Systemparam": {
  29907. "type": "object",
  29908. "required": [
  29909. "paramcode"
  29910. ],
  29911. "properties": {
  29912. "loginid": {
  29913. "description": "更新用户账号,登录账号",
  29914. "type": "string"
  29915. },
  29916. "modifyflag": {
  29917. "description": "修改标志0 不允许修改 1 允许修改",
  29918. "type": "integer"
  29919. },
  29920. "paramcode": {
  29921. "description": "参数代码",
  29922. "type": "string"
  29923. },
  29924. "paramname": {
  29925. "description": "参数名",
  29926. "type": "string"
  29927. },
  29928. "paramtype": {
  29929. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29930. "type": "integer"
  29931. },
  29932. "paramvalue": {
  29933. "description": "参数值",
  29934. "type": "string"
  29935. },
  29936. "paramvalue2": {
  29937. "description": "参数值(CLOB)",
  29938. "type": "string"
  29939. },
  29940. "regexpress": {
  29941. "description": "正则表达式",
  29942. "type": "string"
  29943. },
  29944. "remark": {
  29945. "description": "备注",
  29946. "type": "string"
  29947. },
  29948. "serverip": {
  29949. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29950. "type": "string"
  29951. },
  29952. "showflag": {
  29953. "description": "是否显示0 不显示 1 显示",
  29954. "type": "integer"
  29955. },
  29956. "updatetime": {
  29957. "description": "更新时间",
  29958. "type": "string"
  29959. },
  29960. "userid": {
  29961. "description": "更新用户ID",
  29962. "type": "integer"
  29963. }
  29964. }
  29965. },
  29966. "models.Szdz3convertconfig": {
  29967. "type": "object",
  29968. "required": [
  29969. "converttype",
  29970. "innergoodsid",
  29971. "outergoodscode"
  29972. ],
  29973. "properties": {
  29974. "canin": {
  29975. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29976. "type": "integer"
  29977. },
  29978. "canout": {
  29979. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29980. "type": "integer"
  29981. },
  29982. "converttype": {
  29983. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29984. "type": "integer"
  29985. },
  29986. "createtime": {
  29987. "description": "创建时间",
  29988. "type": "string"
  29989. },
  29990. "creatorid": {
  29991. "description": "创建人",
  29992. "type": "integer"
  29993. },
  29994. "daymaxvalue": {
  29995. "description": "当日最大转入限制",
  29996. "type": "number"
  29997. },
  29998. "freezedays": {
  29999. "description": "冻结天数 [5:花生米转交易]",
  30000. "type": "integer"
  30001. },
  30002. "innergoodsid": {
  30003. "description": "内部商品ID[交易]",
  30004. "type": "integer"
  30005. },
  30006. "inratio": {
  30007. "description": "目标值",
  30008. "type": "integer"
  30009. },
  30010. "modifierid": {
  30011. "description": "修改人",
  30012. "type": "integer"
  30013. },
  30014. "modifytime": {
  30015. "description": "修改时间",
  30016. "type": "string"
  30017. },
  30018. "outergoodscode": {
  30019. "description": "外部商品代码[JD\\PD]",
  30020. "type": "string"
  30021. },
  30022. "outratio": {
  30023. "description": "源值",
  30024. "type": "integer"
  30025. },
  30026. "pddecimalplace": {
  30027. "description": "PD小数位",
  30028. "type": "integer"
  30029. },
  30030. "timemaxvalue": {
  30031. "description": "单次最大转入限制",
  30032. "type": "number"
  30033. },
  30034. "timeminvalue": {
  30035. "description": "单次最小转入限制",
  30036. "type": "number"
  30037. }
  30038. }
  30039. },
  30040. "models.Szdz3searchwhitelist": {
  30041. "type": "object",
  30042. "required": [
  30043. "userid"
  30044. ],
  30045. "properties": {
  30046. "createtime": {
  30047. "description": "创建时间",
  30048. "type": "string"
  30049. },
  30050. "creatorid": {
  30051. "description": "创建人",
  30052. "type": "integer"
  30053. },
  30054. "modifierid": {
  30055. "description": "修改人",
  30056. "type": "integer"
  30057. },
  30058. "modifytime": {
  30059. "description": "修改时间",
  30060. "type": "string"
  30061. },
  30062. "userid": {
  30063. "description": "用户ID",
  30064. "type": "integer"
  30065. }
  30066. }
  30067. },
  30068. "models.TBGoods": {
  30069. "type": "object",
  30070. "properties": {
  30071. "agreeunit": {
  30072. "description": "合约乘数",
  30073. "type": "number"
  30074. },
  30075. "enumdicname": {
  30076. "description": "单位名称",
  30077. "type": "string"
  30078. },
  30079. "goodscode": {
  30080. "description": "商品代码(内部)",
  30081. "type": "string"
  30082. },
  30083. "goodsid": {
  30084. "description": "商品ID(自增ID SEQ_GOODS)",
  30085. "type": "integer"
  30086. },
  30087. "goodsname": {
  30088. "description": "商品名称",
  30089. "type": "string"
  30090. }
  30091. }
  30092. },
  30093. "models.TBGoodsGroup": {
  30094. "type": "object",
  30095. "properties": {
  30096. "GDLST": {
  30097. "description": "商品列表",
  30098. "type": "array",
  30099. "items": {
  30100. "$ref": "#/definitions/models.TBGoods"
  30101. }
  30102. },
  30103. "convertratio": {
  30104. "description": "折算系数",
  30105. "type": "number"
  30106. },
  30107. "enumdicname": {
  30108. "description": "单位名称",
  30109. "type": "string"
  30110. },
  30111. "exexchangecode": {
  30112. "description": "交易所代码",
  30113. "type": "string"
  30114. },
  30115. "exexchangename": {
  30116. "description": "交易所名称",
  30117. "type": "string"
  30118. },
  30119. "goodsgroupid": {
  30120. "description": "商品组ID(自增ID)",
  30121. "type": "integer"
  30122. },
  30123. "goodsgroupname": {
  30124. "description": "商品组名称",
  30125. "type": "string"
  30126. },
  30127. "goodunitid": {
  30128. "description": "报价单位ID",
  30129. "type": "integer"
  30130. }
  30131. }
  30132. },
  30133. "models.TBMiddleGoods": {
  30134. "type": "object",
  30135. "properties": {
  30136. "GPLST": {
  30137. "description": "期货品种列表",
  30138. "type": "array",
  30139. "items": {
  30140. "$ref": "#/definitions/models.TBGoodsGroup"
  30141. }
  30142. },
  30143. "WDLST": {
  30144. "description": "商品信息列表(现货品类)",
  30145. "type": "array",
  30146. "items": {
  30147. "$ref": "#/definitions/models.TBWrstandard"
  30148. }
  30149. },
  30150. "areauserid": {
  30151. "description": "机构用户ID",
  30152. "type": "integer"
  30153. },
  30154. "enumdicname": {
  30155. "description": "单位名称",
  30156. "type": "string"
  30157. },
  30158. "goodsunitid": {
  30159. "description": "套保品种单位id",
  30160. "type": "integer"
  30161. },
  30162. "middlegoodscode": {
  30163. "description": "套保品种代码",
  30164. "type": "string"
  30165. },
  30166. "middlegoodsid": {
  30167. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  30168. "type": "integer"
  30169. },
  30170. "middlegoodsname": {
  30171. "description": "套保品种名称",
  30172. "type": "string"
  30173. },
  30174. "needarbitrageratio": {
  30175. "description": "套利比率",
  30176. "type": "number"
  30177. },
  30178. "needhedgeratio": {
  30179. "description": "套保比率",
  30180. "type": "number"
  30181. }
  30182. }
  30183. },
  30184. "models.TBWrstandard": {
  30185. "type": "object",
  30186. "properties": {
  30187. "convertratio": {
  30188. "description": "折算系数",
  30189. "type": "number"
  30190. },
  30191. "deliverygoodsname": {
  30192. "description": "品种名称",
  30193. "type": "string"
  30194. },
  30195. "enumdicname": {
  30196. "description": "单位名称",
  30197. "type": "string"
  30198. },
  30199. "vatrate": {
  30200. "description": "增值税率",
  30201. "type": "number"
  30202. },
  30203. "wrstandardcode": {
  30204. "description": "现货商品代码",
  30205. "type": "string"
  30206. },
  30207. "wrstandardid": {
  30208. "description": "现货商品ID(SEQ_WRSTANDARD)",
  30209. "type": "integer"
  30210. },
  30211. "wrstandardname": {
  30212. "description": "现货商品名称",
  30213. "type": "string"
  30214. }
  30215. }
  30216. },
  30217. "models.Taaccount": {
  30218. "type": "object",
  30219. "required": [
  30220. "accountid",
  30221. "userid"
  30222. ],
  30223. "properties": {
  30224. "accountflag": {
  30225. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  30226. "type": "integer"
  30227. },
  30228. "accountid": {
  30229. "description": "资金账户ID",
  30230. "type": "integer"
  30231. },
  30232. "accountname": {
  30233. "description": "账户名称",
  30234. "type": "string"
  30235. },
  30236. "balance": {
  30237. "description": "期初余额",
  30238. "type": "number"
  30239. },
  30240. "capitalbalance": {
  30241. "description": "本金余额[外部子账户实际出入金余额]",
  30242. "type": "number"
  30243. },
  30244. "changeflag": {
  30245. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  30246. "type": "integer"
  30247. },
  30248. "changetime": {
  30249. "description": "账户状态变更时间",
  30250. "type": "string"
  30251. },
  30252. "closepl": {
  30253. "description": "今日平仓盈亏",
  30254. "type": "number"
  30255. },
  30256. "creditdecrease": {
  30257. "description": "今日授信减少",
  30258. "type": "number"
  30259. },
  30260. "creditincrease": {
  30261. "description": "今日授信增加",
  30262. "type": "number"
  30263. },
  30264. "curamount": {
  30265. "description": "总市值(从持仓中统计)",
  30266. "type": "number"
  30267. },
  30268. "currencyid": {
  30269. "description": "货币ID",
  30270. "type": "integer"
  30271. },
  30272. "currentbalance": {
  30273. "description": "期末余额",
  30274. "type": "number"
  30275. },
  30276. "freezecharge": {
  30277. "description": "手续费冻结",
  30278. "type": "number"
  30279. },
  30280. "freezemargin": {
  30281. "description": "冻结保证金",
  30282. "type": "number"
  30283. },
  30284. "fromaccountid": {
  30285. "description": "所属上级账户",
  30286. "type": "integer"
  30287. },
  30288. "inamount": {
  30289. "description": "今日入金金额(包括三方入金)",
  30290. "type": "number"
  30291. },
  30292. "ismain": {
  30293. "description": "是否母账号 0:不是母账户 1:是母账户",
  30294. "type": "integer"
  30295. },
  30296. "ismarketaccount": {
  30297. "description": "是否机构接单账号 0:不是 1:是",
  30298. "type": "integer"
  30299. },
  30300. "isreckonaccount": {
  30301. "description": "是否机构分润账号 0:不是 1:是",
  30302. "type": "integer"
  30303. },
  30304. "mortgagecredit": {
  30305. "description": "授信金额",
  30306. "type": "number"
  30307. },
  30308. "orifreezecharge": {
  30309. "description": "期初手续费冻结",
  30310. "type": "number"
  30311. },
  30312. "orifreezemargin": {
  30313. "description": "期初冻结保证金",
  30314. "type": "number"
  30315. },
  30316. "orimortgagecredit": {
  30317. "description": "期初授信金额",
  30318. "type": "number"
  30319. },
  30320. "oriothercredit": {
  30321. "description": "期初其它授信金额",
  30322. "type": "number"
  30323. },
  30324. "oriotherfreezemargin": {
  30325. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30326. "type": "number"
  30327. },
  30328. "orioutamountfreeze": {
  30329. "description": "期初出金冻结",
  30330. "type": "number"
  30331. },
  30332. "oriusedmargin": {
  30333. "description": "期初占用保证金",
  30334. "type": "number"
  30335. },
  30336. "othercredit": {
  30337. "description": "其它授信金额",
  30338. "type": "number"
  30339. },
  30340. "othercreditdecrease": {
  30341. "description": "今日其它授信减少",
  30342. "type": "number"
  30343. },
  30344. "othercreditincrease": {
  30345. "description": "今日其它授信增加",
  30346. "type": "number"
  30347. },
  30348. "otherfreezemargin": {
  30349. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30350. "type": "number"
  30351. },
  30352. "otherincome": {
  30353. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30354. "type": "number"
  30355. },
  30356. "otherpay": {
  30357. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30358. "type": "number"
  30359. },
  30360. "outamount": {
  30361. "description": "今日出金金额(包括三方出金)",
  30362. "type": "number"
  30363. },
  30364. "outamountfreeze": {
  30365. "description": "出金冻结",
  30366. "type": "number"
  30367. },
  30368. "outthreshold": {
  30369. "description": "出金阈值",
  30370. "type": "number"
  30371. },
  30372. "parentaccountid": {
  30373. "description": "所属根账号",
  30374. "type": "integer"
  30375. },
  30376. "paycharge": {
  30377. "description": "今日手续费支出",
  30378. "type": "number"
  30379. },
  30380. "relatedaccountstatus": {
  30381. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30382. "type": "integer"
  30383. },
  30384. "relateduserid": {
  30385. "description": "关联用户",
  30386. "type": "integer"
  30387. },
  30388. "remainamount": {
  30389. "description": "融资额(从融资合同中统计)",
  30390. "type": "number"
  30391. },
  30392. "serivcegroup": {
  30393. "description": "服务分组",
  30394. "type": "integer"
  30395. },
  30396. "signstatus": {
  30397. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30398. "type": "integer"
  30399. },
  30400. "sublevelpath": {
  30401. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30402. "type": "string"
  30403. },
  30404. "taaccounttype": {
  30405. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30406. "type": "integer"
  30407. },
  30408. "thirdinamount": {
  30409. "description": "今日三方入金",
  30410. "type": "number"
  30411. },
  30412. "thirdoutamount": {
  30413. "description": "今日三方出金",
  30414. "type": "number"
  30415. },
  30416. "tradestatus": {
  30417. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30418. "type": "integer"
  30419. },
  30420. "tradestatuschangetime": {
  30421. "description": "激活时间",
  30422. "type": "string"
  30423. },
  30424. "transferamount": {
  30425. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30426. "type": "number"
  30427. },
  30428. "usedmargin": {
  30429. "description": "占用保证金",
  30430. "type": "number"
  30431. },
  30432. "userid": {
  30433. "description": "用户ID",
  30434. "type": "integer"
  30435. }
  30436. }
  30437. },
  30438. "models.Tablecolumnconfig": {
  30439. "type": "object",
  30440. "required": [
  30441. "autoid"
  30442. ],
  30443. "properties": {
  30444. "aligntype": {
  30445. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30446. "type": "integer"
  30447. },
  30448. "autoid": {
  30449. "description": "AutoID",
  30450. "type": "integer"
  30451. },
  30452. "columnfield": {
  30453. "description": "列字段",
  30454. "type": "string"
  30455. },
  30456. "columntitle": {
  30457. "description": "列Title",
  30458. "type": "string"
  30459. },
  30460. "columnwidth": {
  30461. "description": "列宽",
  30462. "type": "string"
  30463. },
  30464. "fixed": {
  30465. "description": "固定类型 - 空 | left | right",
  30466. "type": "string"
  30467. },
  30468. "formatterstring": {
  30469. "description": "格式化字符",
  30470. "type": "string"
  30471. },
  30472. "formattertype": {
  30473. "description": "格式化类型",
  30474. "type": "string"
  30475. },
  30476. "groupname": {
  30477. "description": "表头分组名称",
  30478. "type": "string"
  30479. },
  30480. "ismerge": {
  30481. "description": "是否合并显示 - 0:不合并 1:合并",
  30482. "type": "integer"
  30483. },
  30484. "isshow": {
  30485. "description": "是否显示 - 0:不显示 1:显示",
  30486. "type": "integer"
  30487. },
  30488. "needsummary": {
  30489. "description": "是否需要汇总 - 0:不需要 1:需要",
  30490. "type": "integer"
  30491. },
  30492. "orderindex": {
  30493. "description": "顺序",
  30494. "type": "integer"
  30495. },
  30496. "remark": {
  30497. "description": "备注",
  30498. "type": "string"
  30499. },
  30500. "summarytype": {
  30501. "description": "汇总类型 - 1:加总 2:最后一个",
  30502. "type": "integer"
  30503. },
  30504. "tablekey": {
  30505. "description": "列表Key",
  30506. "type": "string"
  30507. }
  30508. }
  30509. },
  30510. "models.TjmdHolderDetailTradeInfo": {
  30511. "type": "object",
  30512. "properties": {
  30513. "agreeunit": {
  30514. "description": "合约乘数",
  30515. "type": "number"
  30516. },
  30517. "buyaccountid": {
  30518. "description": "买方账户",
  30519. "type": "string"
  30520. },
  30521. "buyusername": {
  30522. "description": "买方",
  30523. "type": "string"
  30524. },
  30525. "delistingdate": {
  30526. "description": "最后结算日",
  30527. "type": "string"
  30528. },
  30529. "expiredate": {
  30530. "description": "到期结算价定价日",
  30531. "type": "string"
  30532. },
  30533. "exprieprice": {
  30534. "description": "到期清算价格",
  30535. "type": "string"
  30536. },
  30537. "goodscode": {
  30538. "description": "商品代码",
  30539. "type": "string"
  30540. },
  30541. "goodsid": {
  30542. "description": "商品ID",
  30543. "type": "integer"
  30544. },
  30545. "goodsname": {
  30546. "description": "商品名称(交易标的)",
  30547. "type": "string"
  30548. },
  30549. "lasttradedate": {
  30550. "description": "最后交易日",
  30551. "type": "string"
  30552. },
  30553. "listingdate": {
  30554. "description": "开始交易日",
  30555. "type": "string"
  30556. },
  30557. "openprice": {
  30558. "description": "成交价",
  30559. "type": "number"
  30560. },
  30561. "openqty": {
  30562. "description": "交易数量",
  30563. "type": "integer"
  30564. },
  30565. "sellaccountid": {
  30566. "description": "卖方账户",
  30567. "type": "string"
  30568. },
  30569. "sellusername": {
  30570. "description": "卖方",
  30571. "type": "string"
  30572. },
  30573. "tradeamount": {
  30574. "description": "初始名义价值",
  30575. "type": "number"
  30576. },
  30577. "tradedate": {
  30578. "description": "成交日期",
  30579. "type": "string"
  30580. },
  30581. "tradeid": {
  30582. "description": "成交编号",
  30583. "type": "string"
  30584. }
  30585. }
  30586. },
  30587. "models.TjmdMarketSection": {
  30588. "type": "object",
  30589. "properties": {
  30590. "marketsectionid": {
  30591. "description": "市场版块ID(SEQ_MARKETSECTION)",
  30592. "type": "integer"
  30593. },
  30594. "marketsectionname": {
  30595. "description": "市场版块名称",
  30596. "type": "string"
  30597. },
  30598. "mlist": {
  30599. "description": "市场列表(板块下面有多少个市场)",
  30600. "type": "array",
  30601. "items": {
  30602. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  30603. }
  30604. },
  30605. "orderindex": {
  30606. "description": "排序",
  30607. "type": "integer"
  30608. },
  30609. "pictureurl": {
  30610. "description": "图片url, 规格(90*90)",
  30611. "type": "string"
  30612. },
  30613. "remark": {
  30614. "description": "备注",
  30615. "type": "string"
  30616. }
  30617. }
  30618. },
  30619. "models.TjmdMarketSectionConfig": {
  30620. "type": "object",
  30621. "properties": {
  30622. "auctionwrtype": {
  30623. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  30624. "type": "integer"
  30625. },
  30626. "canacceptquote": {
  30627. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30628. "type": "integer"
  30629. },
  30630. "cangoodsexercise": {
  30631. "description": "[期权]是否可现货行权- 0:否 1:是",
  30632. "type": "integer"
  30633. },
  30634. "cangoodsexercisetype": {
  30635. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30636. "type": "integer"
  30637. },
  30638. "canmanualquotestrike": {
  30639. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30640. "type": "integer"
  30641. },
  30642. "canmutistage": {
  30643. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30644. "type": "integer"
  30645. },
  30646. "canpreexercise": {
  30647. "description": "[期权]是否可预申报- 0:否 1:是",
  30648. "type": "integer"
  30649. },
  30650. "clearinterval": {
  30651. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30652. "type": "integer"
  30653. },
  30654. "contracttmp": {
  30655. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30656. "type": "string"
  30657. },
  30658. "exchareaid": {
  30659. "description": "所属交易所,可以没有",
  30660. "type": "integer"
  30661. },
  30662. "financemarketid": {
  30663. "description": "融资回购市场ID [仓单贸易]",
  30664. "type": "integer"
  30665. },
  30666. "goodstype": {
  30667. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30668. "type": "integer"
  30669. },
  30670. "hasrebate": {
  30671. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30672. "type": "integer"
  30673. },
  30674. "hastradecredit": {
  30675. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30676. "type": "integer"
  30677. },
  30678. "haswr": {
  30679. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30680. "type": "integer"
  30681. },
  30682. "isdeductmargin": {
  30683. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30684. "type": "integer"
  30685. },
  30686. "isrecordsource": {
  30687. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30688. "type": "integer"
  30689. },
  30690. "isreleasemargin": {
  30691. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30692. "type": "integer"
  30693. },
  30694. "isupdatereckonprice": {
  30695. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  30696. "type": "integer"
  30697. },
  30698. "listingmode": {
  30699. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  30700. "type": "integer"
  30701. },
  30702. "marginformula": {
  30703. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30704. "type": "integer"
  30705. },
  30706. "marginformula2": {
  30707. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30708. "type": "integer"
  30709. },
  30710. "marketid": {
  30711. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30712. "type": "integer"
  30713. },
  30714. "marketname": {
  30715. "description": "市场名称",
  30716. "type": "string"
  30717. },
  30718. "marketsectionid": {
  30719. "description": "市场版块ID(SEQ_MARKETSECTION)",
  30720. "type": "integer"
  30721. },
  30722. "marketserviceid": {
  30723. "description": "市场服务ID",
  30724. "type": "integer"
  30725. },
  30726. "marketstatus": {
  30727. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30728. "type": "integer"
  30729. },
  30730. "markettype": {
  30731. "description": "市场类型- 1:非交易服务 2:交易服务",
  30732. "type": "integer"
  30733. },
  30734. "matchermode": {
  30735. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  30736. "type": "integer"
  30737. },
  30738. "nowrquotaflag": {
  30739. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  30740. "type": "integer"
  30741. },
  30742. "openmethod": {
  30743. "description": "开盘模式 - 0 自动 1手动",
  30744. "type": "integer"
  30745. },
  30746. "orderindex": {
  30747. "description": "排序",
  30748. "type": "integer"
  30749. },
  30750. "otcuserid": {
  30751. "description": "场外期权做市商[场外期权]",
  30752. "type": "integer"
  30753. },
  30754. "outersynctime": {
  30755. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30756. "type": "string"
  30757. },
  30758. "paylaterflag": {
  30759. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  30760. "type": "integer"
  30761. },
  30762. "pendingflag": {
  30763. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30764. "type": "integer"
  30765. },
  30766. "pendingtime": {
  30767. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30768. "type": "string"
  30769. },
  30770. "performancetempid": {
  30771. "description": "履约计划模板ID - 作废",
  30772. "type": "integer"
  30773. },
  30774. "premiumquotemode": {
  30775. "description": "权利金报价方式 - 1:自动 2:手动",
  30776. "type": "integer"
  30777. },
  30778. "rebateratio": {
  30779. "description": "返利比率[竞价式]",
  30780. "type": "number"
  30781. },
  30782. "reckonorder": {
  30783. "description": "结算顺序",
  30784. "type": "integer"
  30785. },
  30786. "reckonpricealgorithm": {
  30787. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30788. "type": "integer"
  30789. },
  30790. "reckonpriceparam": {
  30791. "description": "结算价参数",
  30792. "type": "integer"
  30793. },
  30794. "reckontime": {
  30795. "description": "结算时间[通道交易-对冲](HH:mm)",
  30796. "type": "string"
  30797. },
  30798. "roleprioritytype": {
  30799. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30800. "type": "integer"
  30801. },
  30802. "selllistingauditflag": {
  30803. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30804. "type": "integer"
  30805. },
  30806. "trademarkettype": {
  30807. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30808. "type": "integer"
  30809. },
  30810. "trademode": {
  30811. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30812. "type": "integer"
  30813. },
  30814. "tradeproperty": {
  30815. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30816. "type": "integer"
  30817. },
  30818. "tradetype": {
  30819. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30820. "type": "integer"
  30821. },
  30822. "updatereckonpriceinterval": {
  30823. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  30824. "type": "integer"
  30825. }
  30826. }
  30827. },
  30828. "models.TjmdQuoteGoods": {
  30829. "type": "object",
  30830. "properties": {
  30831. "buyqty": {
  30832. "description": "买量(暂不做, 无值, 保留字段)",
  30833. "type": "number"
  30834. },
  30835. "decimalplace": {
  30836. "description": "报价小数位",
  30837. "type": "integer"
  30838. },
  30839. "goodscode": {
  30840. "description": "合约代码",
  30841. "type": "string"
  30842. },
  30843. "goodsgroupid": {
  30844. "description": "商品组ID(自增ID)",
  30845. "type": "integer"
  30846. },
  30847. "goodsgroupname": {
  30848. "description": "商品组名称",
  30849. "type": "string"
  30850. },
  30851. "goodsid": {
  30852. "description": "合约id",
  30853. "type": "integer"
  30854. },
  30855. "goodsname": {
  30856. "description": "合约名称",
  30857. "type": "string"
  30858. },
  30859. "refgoodscode": {
  30860. "description": "标的合约代码",
  30861. "type": "string"
  30862. },
  30863. "refgoodsid": {
  30864. "description": "标的合约id",
  30865. "type": "integer"
  30866. },
  30867. "refgoodsname": {
  30868. "description": "标的合约名称",
  30869. "type": "string"
  30870. },
  30871. "sellqty": {
  30872. "description": "卖量(暂不做, 无值, 保留字段)",
  30873. "type": "number"
  30874. }
  30875. }
  30876. },
  30877. "models.TjmdTodayAccountMargin": {
  30878. "type": "object",
  30879. "properties": {
  30880. "accountid": {
  30881. "description": "账号ID",
  30882. "type": "integer"
  30883. },
  30884. "goodsid": {
  30885. "description": "商品ID",
  30886. "type": "integer"
  30887. },
  30888. "infoc": {
  30889. "description": "配置参数",
  30890. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  30891. },
  30892. "marketid": {
  30893. "description": "市场ID",
  30894. "type": "integer"
  30895. }
  30896. }
  30897. },
  30898. "models.TjmdTradeOrderDetail": {
  30899. "type": "object",
  30900. "properties": {
  30901. "buyorsell": {
  30902. "description": "买卖方向 0-买 1-卖",
  30903. "type": "integer"
  30904. },
  30905. "goodsid": {
  30906. "description": "商品id",
  30907. "type": "integer"
  30908. },
  30909. "marketmaxsub": {
  30910. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30911. "type": "number"
  30912. },
  30913. "orderid": {
  30914. "description": "委托单号",
  30915. "type": "string"
  30916. },
  30917. "orderprice": {
  30918. "description": "期初均价",
  30919. "type": "number"
  30920. },
  30921. "orderqty": {
  30922. "description": "委托数量",
  30923. "type": "integer"
  30924. },
  30925. "pricemode": {
  30926. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30927. "type": "integer"
  30928. },
  30929. "userid": {
  30930. "description": "用户id",
  30931. "type": "integer"
  30932. },
  30933. "username": {
  30934. "description": "用户名称(已脱敏)",
  30935. "type": "string"
  30936. }
  30937. }
  30938. },
  30939. "models.TjmdTransferApply": {
  30940. "type": "object",
  30941. "properties": {
  30942. "applyid": {
  30943. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30944. "type": "integer"
  30945. },
  30946. "applystatus": {
  30947. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30948. "type": "integer"
  30949. },
  30950. "applytime": {
  30951. "description": "申请时间(时间)",
  30952. "type": "string"
  30953. },
  30954. "auditremark": {
  30955. "description": "审核备注(拒绝原因?)",
  30956. "type": "string"
  30957. },
  30958. "begindate": {
  30959. "description": "开始交易日(yyyymmdd)",
  30960. "type": "string"
  30961. },
  30962. "buyorsell": {
  30963. "description": "买卖 - 0:买 1:卖",
  30964. "type": "integer"
  30965. },
  30966. "enddate": {
  30967. "description": "结束交易日(yyyymmdd)",
  30968. "type": "string"
  30969. },
  30970. "goodscode": {
  30971. "description": "商品代码",
  30972. "type": "string"
  30973. },
  30974. "goodsid": {
  30975. "description": "商品ID",
  30976. "type": "integer"
  30977. },
  30978. "goodsname": {
  30979. "description": "商品名称",
  30980. "type": "string"
  30981. },
  30982. "marketid": {
  30983. "description": "市场ID",
  30984. "type": "integer"
  30985. },
  30986. "qty": {
  30987. "description": "期初均价",
  30988. "type": "number"
  30989. },
  30990. "tradeid": {
  30991. "description": "成交单号(关联持仓)",
  30992. "type": "string"
  30993. },
  30994. "transferamount": {
  30995. "description": "转让总金额(金额)",
  30996. "type": "number"
  30997. },
  30998. "transferprice": {
  30999. "description": "转让价格(协议价格)",
  31000. "type": "number"
  31001. }
  31002. }
  31003. },
  31004. "models.TradeHolderDetail": {
  31005. "type": "object",
  31006. "properties": {
  31007. "accountid": {
  31008. "description": "账号ID",
  31009. "type": "integer"
  31010. },
  31011. "agreeunit": {
  31012. "description": "合约乘数",
  31013. "type": "number"
  31014. },
  31015. "buyorsell": {
  31016. "description": "方向 - 0:买 1:卖",
  31017. "type": "integer"
  31018. },
  31019. "currencyid": {
  31020. "description": "商品币种id",
  31021. "type": "integer"
  31022. },
  31023. "currencyname": {
  31024. "description": "币种名称",
  31025. "type": "string"
  31026. },
  31027. "decimalplace": {
  31028. "description": "商品价格小数位",
  31029. "type": "integer"
  31030. },
  31031. "enumdicname": {
  31032. "description": "商品单位名称",
  31033. "type": "string"
  31034. },
  31035. "expirecycle": {
  31036. "description": "行权周期(天) - 1:滚动行权时填写",
  31037. "type": "integer"
  31038. },
  31039. "expiredate": {
  31040. "description": "行权日(yyyyMMdd) - 到期日",
  31041. "type": "string"
  31042. },
  31043. "expiretype": {
  31044. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  31045. "type": "integer"
  31046. },
  31047. "freezeqty": {
  31048. "description": "期初均价",
  31049. "type": "number"
  31050. },
  31051. "goodscode": {
  31052. "description": "商品代码",
  31053. "type": "string"
  31054. },
  31055. "goodsid": {
  31056. "description": "商品ID",
  31057. "type": "integer"
  31058. },
  31059. "goodsname": {
  31060. "description": "商品名称",
  31061. "type": "string"
  31062. },
  31063. "goodunitid": {
  31064. "description": "商品单位id",
  31065. "type": "integer"
  31066. },
  31067. "holderamount": {
  31068. "description": "持仓金额",
  31069. "type": "number"
  31070. },
  31071. "holdercredit": {
  31072. "description": "持仓授信金额",
  31073. "type": "number"
  31074. },
  31075. "holderdays": {
  31076. "description": "剩余冻结天数",
  31077. "type": "integer"
  31078. },
  31079. "holderprice": {
  31080. "description": "持仓价格",
  31081. "type": "number"
  31082. },
  31083. "holderqty": {
  31084. "description": "期初均价",
  31085. "type": "number"
  31086. },
  31087. "isconfirmexercise": {
  31088. "description": "是否确认行权- 0:否 1:是",
  31089. "type": "integer"
  31090. },
  31091. "ispreexercise": {
  31092. "description": "是否预申报- 0:否 1:是 2:不可行权",
  31093. "type": "integer"
  31094. },
  31095. "marketid": {
  31096. "description": "市场id",
  31097. "type": "integer"
  31098. },
  31099. "marketname": {
  31100. "description": "市场名称",
  31101. "type": "string"
  31102. },
  31103. "openprice": {
  31104. "description": "建仓价格",
  31105. "type": "number"
  31106. },
  31107. "openqty": {
  31108. "description": "期初均价",
  31109. "type": "number"
  31110. },
  31111. "optiontype": {
  31112. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31113. "type": "integer"
  31114. },
  31115. "preexerciseprice": {
  31116. "description": "预申报价格",
  31117. "type": "number"
  31118. },
  31119. "premium": {
  31120. "description": "权利金",
  31121. "type": "number"
  31122. },
  31123. "qtydecimalplace": {
  31124. "description": "商品成交量小数位",
  31125. "type": "integer"
  31126. },
  31127. "refgoodscode": {
  31128. "description": "标的合约代码",
  31129. "type": "string"
  31130. },
  31131. "refgoodsid": {
  31132. "description": "标的合约id",
  31133. "type": "integer"
  31134. },
  31135. "releaseamount": {
  31136. "description": "释放持仓金额",
  31137. "type": "number"
  31138. },
  31139. "releaseholdercredit": {
  31140. "description": "释放持仓授信金额",
  31141. "type": "number"
  31142. },
  31143. "taname": {
  31144. "description": "资金账号名称",
  31145. "type": "string"
  31146. },
  31147. "tradeamount": {
  31148. "description": "成交金额",
  31149. "type": "number"
  31150. },
  31151. "tradedate": {
  31152. "description": "交易日(yyyyMMdd)",
  31153. "type": "string"
  31154. },
  31155. "tradeid": {
  31156. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31157. "type": "string"
  31158. },
  31159. "trademode": {
  31160. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  31161. "type": "integer"
  31162. },
  31163. "tradeproperty": {
  31164. "description": "交易属性",
  31165. "type": "integer"
  31166. },
  31167. "tradetime": {
  31168. "description": "交易时间",
  31169. "type": "string"
  31170. },
  31171. "userid": {
  31172. "description": "用户id",
  31173. "type": "integer"
  31174. },
  31175. "username": {
  31176. "description": "用户名称",
  31177. "type": "string"
  31178. }
  31179. }
  31180. },
  31181. "models.Unlinkermcphedgeplan": {
  31182. "type": "object",
  31183. "required": [
  31184. "areauserid"
  31185. ],
  31186. "properties": {
  31187. "accountid": {
  31188. "description": "期货账户ID - 作废",
  31189. "type": "integer"
  31190. },
  31191. "accountname": {
  31192. "description": "交易用户",
  31193. "type": "string"
  31194. },
  31195. "applyid": {
  31196. "description": "申请人",
  31197. "type": "integer"
  31198. },
  31199. "applysrc": {
  31200. "description": "申请来源 - 1:管理端 2:终端",
  31201. "type": "integer"
  31202. },
  31203. "applytime": {
  31204. "description": "申请时间",
  31205. "type": "string"
  31206. },
  31207. "areauserid": {
  31208. "description": "[企业ID]机构ID",
  31209. "type": "integer"
  31210. },
  31211. "auditid": {
  31212. "description": "审核人",
  31213. "type": "integer"
  31214. },
  31215. "auditremark": {
  31216. "description": "审核备注",
  31217. "type": "string"
  31218. },
  31219. "auditsrc": {
  31220. "description": "审核来源 - 1:管理端 2:终端",
  31221. "type": "integer"
  31222. },
  31223. "audittime": {
  31224. "description": "审核时间",
  31225. "type": "string"
  31226. },
  31227. "audittradedate": {
  31228. "description": "审核交易日(yyyyMMdd)",
  31229. "type": "string"
  31230. },
  31231. "biztype": {
  31232. "description": "业务类型 - 1:套保",
  31233. "type": "integer"
  31234. },
  31235. "contracttype": {
  31236. "description": "计划类型 - 1:采购 -1:销售",
  31237. "type": "integer"
  31238. },
  31239. "convertfactor": {
  31240. "description": "标仓系数 - 作废",
  31241. "type": "number"
  31242. },
  31243. "createtime": {
  31244. "description": "创建时间",
  31245. "type": "string"
  31246. },
  31247. "currencyid": {
  31248. "description": "结算币种ID - 作废",
  31249. "type": "integer"
  31250. },
  31251. "deliverygoodsid": {
  31252. "description": "现货品种ID",
  31253. "type": "integer"
  31254. },
  31255. "enumdicname": {
  31256. "description": "结算币种",
  31257. "type": "string"
  31258. },
  31259. "hedgeplanid": {
  31260. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  31261. "type": "string"
  31262. },
  31263. "hedgeplanno": {
  31264. "description": "[计划编号]套保计划编号,模糊查询",
  31265. "type": "string"
  31266. },
  31267. "hedgeplanstatus": {
  31268. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  31269. "type": "integer"
  31270. },
  31271. "isrelated": {
  31272. "description": "是否已关联计划项目 - 0:否 1:是",
  31273. "type": "integer"
  31274. },
  31275. "planqty": {
  31276. "description": "[计划量]计划数量",
  31277. "type": "number"
  31278. },
  31279. "plantime": {
  31280. "description": "计划时间",
  31281. "type": "string"
  31282. },
  31283. "producttype": {
  31284. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  31285. "type": "integer"
  31286. },
  31287. "remark": {
  31288. "description": "备注",
  31289. "type": "string"
  31290. },
  31291. "spotgoodsdesc": {
  31292. "description": "商品型号",
  31293. "type": "string"
  31294. },
  31295. "tradedate": {
  31296. "description": "交易日(yyyyMMdd)",
  31297. "type": "string"
  31298. },
  31299. "tradeuserid": {
  31300. "description": "交易用户ID",
  31301. "type": "integer"
  31302. },
  31303. "updatetime": {
  31304. "description": "更新时间",
  31305. "type": "string"
  31306. },
  31307. "wrstandardid": {
  31308. "description": "现货商品ID",
  31309. "type": "integer"
  31310. },
  31311. "wrstandardname": {
  31312. "description": "现货商品,模糊查询",
  31313. "type": "string"
  31314. }
  31315. }
  31316. },
  31317. "models.Useraccount": {
  31318. "type": "object",
  31319. "required": [
  31320. "userid"
  31321. ],
  31322. "properties": {
  31323. "accountname": {
  31324. "description": "账户名称(机构名称)",
  31325. "type": "string"
  31326. },
  31327. "accountstatus": {
  31328. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  31329. "type": "integer"
  31330. },
  31331. "applysrc": {
  31332. "description": "申请来源 - 1:管理端 2:终端",
  31333. "type": "integer"
  31334. },
  31335. "auditremark": {
  31336. "description": "审核备注",
  31337. "type": "string"
  31338. },
  31339. "auditsrc": {
  31340. "description": "审核来源 - 1:管理端 2:终端",
  31341. "type": "integer"
  31342. },
  31343. "audittime": {
  31344. "description": "审核时间",
  31345. "type": "string"
  31346. },
  31347. "audituserid": {
  31348. "description": "审核人",
  31349. "type": "integer"
  31350. },
  31351. "broker": {
  31352. "description": "所属经纪人ID",
  31353. "type": "integer"
  31354. },
  31355. "canceltime": {
  31356. "description": "销户时间",
  31357. "type": "string"
  31358. },
  31359. "canceluserid": {
  31360. "description": "销户人",
  31361. "type": "integer"
  31362. },
  31363. "canrecommend": {
  31364. "description": "是否可推荐 - 0:不可 1;可",
  31365. "type": "integer"
  31366. },
  31367. "createtime": {
  31368. "description": "创建时间",
  31369. "type": "string"
  31370. },
  31371. "creatorid": {
  31372. "description": "创建人",
  31373. "type": "integer"
  31374. },
  31375. "hasauth": {
  31376. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  31377. "type": "integer"
  31378. },
  31379. "isanonymous": {
  31380. "description": "是否匿名下单 - 0:否 1:是",
  31381. "type": "integer"
  31382. },
  31383. "maxinvestornum": {
  31384. "description": "最大用户数(经纪会员下投资者个数)",
  31385. "type": "integer"
  31386. },
  31387. "memberuserid": {
  31388. "description": "所属会员ID",
  31389. "type": "integer"
  31390. },
  31391. "modifierid": {
  31392. "description": "修改人",
  31393. "type": "integer"
  31394. },
  31395. "modifyremark": {
  31396. "description": "变更备注",
  31397. "type": "string"
  31398. },
  31399. "modifystatus": {
  31400. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  31401. "type": "integer"
  31402. },
  31403. "modifytime": {
  31404. "description": "修改时间",
  31405. "type": "string"
  31406. },
  31407. "parenttopuser": {
  31408. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31409. "type": "string"
  31410. },
  31411. "parentuserid": {
  31412. "description": "所属机构ID",
  31413. "type": "integer"
  31414. },
  31415. "reckonaccountid": {
  31416. "description": "默认结算资金账号ID(机构分润使用) 作废",
  31417. "type": "integer"
  31418. },
  31419. "refercount": {
  31420. "description": "推荐总人数",
  31421. "type": "integer"
  31422. },
  31423. "refereeuserid": {
  31424. "description": "推荐人ID",
  31425. "type": "integer"
  31426. },
  31427. "refernum": {
  31428. "description": "推荐码",
  31429. "type": "string"
  31430. },
  31431. "rootuserid": {
  31432. "description": "根用户ID",
  31433. "type": "integer"
  31434. },
  31435. "subaccountlevel": {
  31436. "description": "子账户层数",
  31437. "type": "integer"
  31438. },
  31439. "subarealevelpath": {
  31440. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31441. "type": "string"
  31442. },
  31443. "userid": {
  31444. "description": "用户ID",
  31445. "type": "integer"
  31446. },
  31447. "usertype": {
  31448. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31449. "type": "integer"
  31450. }
  31451. }
  31452. },
  31453. "models.Userfavoritegoods": {
  31454. "type": "object",
  31455. "required": [
  31456. "goodsid"
  31457. ],
  31458. "properties": {
  31459. "goodsid": {
  31460. "description": "商品ID",
  31461. "type": "integer"
  31462. }
  31463. }
  31464. },
  31465. "models.Userinfo": {
  31466. "type": "object",
  31467. "required": [
  31468. "userid"
  31469. ],
  31470. "properties": {
  31471. "address": {
  31472. "description": "地址",
  31473. "type": "string"
  31474. },
  31475. "attachment1": {
  31476. "description": "附件1",
  31477. "type": "string"
  31478. },
  31479. "attachment2": {
  31480. "description": "附件2",
  31481. "type": "string"
  31482. },
  31483. "bankaccount": {
  31484. "description": "银行帐号 (加密存储)",
  31485. "type": "string"
  31486. },
  31487. "bankaccountname": {
  31488. "description": "收款人名称",
  31489. "type": "string"
  31490. },
  31491. "bankcardfrontphotourl": {
  31492. "description": "银行卡正面照地址",
  31493. "type": "string"
  31494. },
  31495. "bankid": {
  31496. "description": "银行编码",
  31497. "type": "string"
  31498. },
  31499. "bankname": {
  31500. "description": "银行名称",
  31501. "type": "string"
  31502. },
  31503. "biznature": {
  31504. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31505. "type": "integer"
  31506. },
  31507. "bizscope": {
  31508. "description": "企业经营范围(企业)",
  31509. "type": "string"
  31510. },
  31511. "cardbackphotourl": {
  31512. "description": "证件背面图片地址",
  31513. "type": "string"
  31514. },
  31515. "cardfrontphotourl": {
  31516. "description": "证件正面图片地址",
  31517. "type": "string"
  31518. },
  31519. "cardnum": {
  31520. "description": "证件号码(加密存储)",
  31521. "type": "string"
  31522. },
  31523. "cardtypeid": {
  31524. "description": "证件类型ID",
  31525. "type": "integer"
  31526. },
  31527. "cityid": {
  31528. "description": "市",
  31529. "type": "integer"
  31530. },
  31531. "company": {
  31532. "description": "公司(个人)",
  31533. "type": "string"
  31534. },
  31535. "contactname": {
  31536. "description": "联系人",
  31537. "type": "string"
  31538. },
  31539. "countryid": {
  31540. "description": "国家",
  31541. "type": "integer"
  31542. },
  31543. "createtime": {
  31544. "description": "创建时间",
  31545. "type": "string"
  31546. },
  31547. "creatorid": {
  31548. "description": "创建人",
  31549. "type": "integer"
  31550. },
  31551. "customername": {
  31552. "description": "客户名称(企业名称)",
  31553. "type": "string"
  31554. },
  31555. "districtid": {
  31556. "description": "地区",
  31557. "type": "integer"
  31558. },
  31559. "email": {
  31560. "description": "邮件(加密存储)",
  31561. "type": "string"
  31562. },
  31563. "fax": {
  31564. "description": "传真(加密存储)",
  31565. "type": "string"
  31566. },
  31567. "halfbodyphotourl": {
  31568. "description": "半身照地址",
  31569. "type": "string"
  31570. },
  31571. "hasencrypt": {
  31572. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31573. "type": "integer"
  31574. },
  31575. "headurl": {
  31576. "description": "头像地址",
  31577. "type": "string"
  31578. },
  31579. "legalcardbackphotourl": {
  31580. "description": "法人身份证背面照地址",
  31581. "type": "string"
  31582. },
  31583. "legalcardfrontphotourl": {
  31584. "description": "法人身份证正面照地址",
  31585. "type": "string"
  31586. },
  31587. "legalpersonname": {
  31588. "description": "法人姓名(企业)",
  31589. "type": "string"
  31590. },
  31591. "mobile": {
  31592. "description": "手机号码(加密存储)",
  31593. "type": "string"
  31594. },
  31595. "mobile2": {
  31596. "description": "手机号码[明文-尚志]",
  31597. "type": "string"
  31598. },
  31599. "modifierid": {
  31600. "description": "修改人",
  31601. "type": "integer"
  31602. },
  31603. "modifiertime": {
  31604. "description": "修改时间",
  31605. "type": "string"
  31606. },
  31607. "needinvoice": {
  31608. "description": "是否需要发票 - 0:不需要 1:需要",
  31609. "type": "integer"
  31610. },
  31611. "nickname": {
  31612. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31613. "type": "string"
  31614. },
  31615. "openmode": {
  31616. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31617. "type": "integer"
  31618. },
  31619. "otherurl": {
  31620. "description": "其它图片地址[使用分号分隔]",
  31621. "type": "string"
  31622. },
  31623. "postalcode": {
  31624. "description": "邮政编码",
  31625. "type": "string"
  31626. },
  31627. "provinceid": {
  31628. "description": "省",
  31629. "type": "integer"
  31630. },
  31631. "qq": {
  31632. "description": "QQ(加密存储",
  31633. "type": "string"
  31634. },
  31635. "remark": {
  31636. "description": "备注",
  31637. "type": "string"
  31638. },
  31639. "sex": {
  31640. "description": "用户性别 0: 女 1: 男",
  31641. "type": "integer"
  31642. },
  31643. "signpdfurl": {
  31644. "description": "签约pdf文件",
  31645. "type": "string"
  31646. },
  31647. "telphone": {
  31648. "description": "联系电话(加密存储)",
  31649. "type": "string"
  31650. },
  31651. "userid": {
  31652. "description": "用户ID",
  31653. "type": "integer"
  31654. },
  31655. "userinfotype": {
  31656. "description": "用户信息类型 - 1:个人 2:企业",
  31657. "type": "integer"
  31658. },
  31659. "userstatus": {
  31660. "description": "用户状态 - 1:正常 2:注销",
  31661. "type": "integer"
  31662. },
  31663. "usertype": {
  31664. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31665. "type": "integer"
  31666. },
  31667. "wechat": {
  31668. "description": "微信(加密存储)",
  31669. "type": "string"
  31670. },
  31671. "wskhinfo": {
  31672. "description": "开户申请信息(JSON)",
  31673. "type": "string"
  31674. }
  31675. }
  31676. },
  31677. "models.WRSConverTDetail": {
  31678. "type": "object",
  31679. "properties": {
  31680. "convertratio": {
  31681. "description": "套保系数",
  31682. "type": "number"
  31683. },
  31684. "deliverygoodscode": {
  31685. "description": "现货商品代码",
  31686. "type": "string"
  31687. },
  31688. "deliverygoodsid": {
  31689. "description": "现货品种ID",
  31690. "type": "integer"
  31691. },
  31692. "deliverygoodsname": {
  31693. "description": "现货商品名称",
  31694. "type": "string"
  31695. },
  31696. "enumdicname": {
  31697. "description": "单位名称",
  31698. "type": "string"
  31699. },
  31700. "goodsunitid": {
  31701. "description": "套保品种单位id",
  31702. "type": "integer"
  31703. },
  31704. "middlegoodscode": {
  31705. "description": "套保品种代码",
  31706. "type": "string"
  31707. },
  31708. "middlegoodsid": {
  31709. "description": "套保品种ID",
  31710. "type": "integer"
  31711. },
  31712. "middlegoodsname": {
  31713. "description": "套保品种名称",
  31714. "type": "string"
  31715. },
  31716. "modifytime": {
  31717. "description": "修改时间",
  31718. "type": "string"
  31719. },
  31720. "wrstandardid": {
  31721. "description": "品类ID",
  31722. "type": "integer"
  31723. }
  31724. }
  31725. },
  31726. "models.WRStandardInfo": {
  31727. "type": "object",
  31728. "required": [
  31729. "wrstandardid"
  31730. ],
  31731. "properties": {
  31732. "areauserid": {
  31733. "description": "所属机构",
  31734. "type": "integer"
  31735. },
  31736. "convertfactor": {
  31737. "description": "标仓系数",
  31738. "type": "number"
  31739. },
  31740. "createtime": {
  31741. "description": "创建时间",
  31742. "type": "string"
  31743. },
  31744. "creatorid": {
  31745. "description": "创建人",
  31746. "type": "integer"
  31747. },
  31748. "deliverygoodsid": {
  31749. "description": "品种ID",
  31750. "type": "integer"
  31751. },
  31752. "deliverygoodsname": {
  31753. "description": "交割商品名称",
  31754. "type": "string"
  31755. },
  31756. "factoryitemjson": {
  31757. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31758. "type": "string"
  31759. },
  31760. "isvalid": {
  31761. "description": "是否有效 - 0:无效 1:有效",
  31762. "type": "integer"
  31763. },
  31764. "minivalue": {
  31765. "description": "最小变动值",
  31766. "type": "integer"
  31767. },
  31768. "minivaluedp": {
  31769. "description": "最小变动值小数位",
  31770. "type": "integer"
  31771. },
  31772. "realminivalue": {
  31773. "description": "实际最小变动值",
  31774. "type": "integer"
  31775. },
  31776. "realminivaluedp": {
  31777. "description": "实际最小变动值小数位",
  31778. "type": "integer"
  31779. },
  31780. "remark": {
  31781. "description": "备注",
  31782. "type": "string"
  31783. },
  31784. "unitid": {
  31785. "description": "单位ID",
  31786. "type": "integer"
  31787. },
  31788. "unitname": {
  31789. "description": "单位",
  31790. "type": "string"
  31791. },
  31792. "updatetime": {
  31793. "description": "更新时间",
  31794. "type": "string"
  31795. },
  31796. "updatorid": {
  31797. "description": "更新人",
  31798. "type": "integer"
  31799. },
  31800. "wrsstatus": {
  31801. "description": "状态 - 作废 - 0:未激活 1:正常",
  31802. "type": "integer"
  31803. },
  31804. "wrstandardcode": {
  31805. "description": "现货品类代码",
  31806. "type": "string"
  31807. },
  31808. "wrstandardid": {
  31809. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31810. "type": "integer"
  31811. },
  31812. "wrstandardname": {
  31813. "description": "现货品类名称",
  31814. "type": "string"
  31815. }
  31816. }
  31817. },
  31818. "models.WRTradeBargainApply": {
  31819. "type": "object",
  31820. "properties": {
  31821. "accountid": {
  31822. "description": "摘牌资金账号",
  31823. "type": "integer"
  31824. },
  31825. "applyprice": {
  31826. "description": "申请价格(议价价格)",
  31827. "type": "string"
  31828. },
  31829. "applyqty": {
  31830. "description": "摘牌数量(议价数量)",
  31831. "type": "number"
  31832. },
  31833. "applyremark": {
  31834. "description": "申请备注",
  31835. "type": "string"
  31836. },
  31837. "applystatus": {
  31838. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31839. "type": "integer"
  31840. },
  31841. "applytime": {
  31842. "description": "申请时间(议价时间)",
  31843. "type": "string"
  31844. },
  31845. "begindate": {
  31846. "description": "开始交易日(yyyymmdd)",
  31847. "type": "string"
  31848. },
  31849. "buyorsell": {
  31850. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31851. "type": "integer"
  31852. },
  31853. "confirmremark": {
  31854. "description": "确认备注",
  31855. "type": "string"
  31856. },
  31857. "confirmtime": {
  31858. "description": "确认时间",
  31859. "type": "string"
  31860. },
  31861. "confirmuserid": {
  31862. "description": "确认人",
  31863. "type": "integer"
  31864. },
  31865. "deliverygoodscode": {
  31866. "description": "品种代码",
  31867. "type": "string"
  31868. },
  31869. "deliverygoodsid": {
  31870. "description": "品种ID",
  31871. "type": "integer"
  31872. },
  31873. "deliverygoodsname": {
  31874. "description": "品种名称",
  31875. "type": "string"
  31876. },
  31877. "deliverymonth": {
  31878. "description": "交收月",
  31879. "type": "string"
  31880. },
  31881. "enddate": {
  31882. "description": "结束交易日(yyyymmdd)",
  31883. "type": "string"
  31884. },
  31885. "enumdicname": {
  31886. "description": "单位名称",
  31887. "type": "string"
  31888. },
  31889. "fixedprice": {
  31890. "description": "期初均价",
  31891. "type": "number"
  31892. },
  31893. "handlestatus": {
  31894. "description": "处理状态",
  31895. "type": "integer"
  31896. },
  31897. "marginvalue": {
  31898. "description": "期初均价",
  31899. "type": "number"
  31900. },
  31901. "marketid": {
  31902. "description": "市场ID",
  31903. "type": "integer"
  31904. },
  31905. "matchaccountid": {
  31906. "description": "挂牌方资金账号",
  31907. "type": "integer"
  31908. },
  31909. "matchuserid": {
  31910. "description": "挂牌方用户id",
  31911. "type": "integer"
  31912. },
  31913. "matchusername": {
  31914. "description": "挂牌方用户名称(已脱敏)",
  31915. "type": "string"
  31916. },
  31917. "minivalue": {
  31918. "description": "现货商品最小变动值",
  31919. "type": "integer"
  31920. },
  31921. "optioncompare": {
  31922. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31923. "type": "string"
  31924. },
  31925. "orderqty": {
  31926. "description": "挂牌数量",
  31927. "type": "integer"
  31928. },
  31929. "refprice": {
  31930. "description": "参考价格",
  31931. "type": "string"
  31932. },
  31933. "retcode": {
  31934. "description": "委托返回代码",
  31935. "type": "integer"
  31936. },
  31937. "templatename": {
  31938. "description": "履约方式(履约模板名称)",
  31939. "type": "string"
  31940. },
  31941. "tradedate": {
  31942. "description": "交易日(yyyyMMdd)",
  31943. "type": "string"
  31944. },
  31945. "userid": {
  31946. "description": "摘牌人用户ID(议价人ID)",
  31947. "type": "integer"
  31948. },
  31949. "username": {
  31950. "description": "议价人名字(已脱敏)",
  31951. "type": "string"
  31952. },
  31953. "validtime": {
  31954. "description": "有效期限",
  31955. "type": "string"
  31956. },
  31957. "warehouseid": {
  31958. "description": "仓库ID",
  31959. "type": "integer"
  31960. },
  31961. "warehousename": {
  31962. "description": "仓库名称",
  31963. "type": "string"
  31964. },
  31965. "wrbargainid": {
  31966. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31967. "type": "string"
  31968. },
  31969. "wrfactortypeid": {
  31970. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31971. "type": "string"
  31972. },
  31973. "wrfactortypename": {
  31974. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31975. "type": "string"
  31976. },
  31977. "wrstandardcode": {
  31978. "description": "现货商品代码",
  31979. "type": "string"
  31980. },
  31981. "wrstandardid": {
  31982. "description": "现货商品ID",
  31983. "type": "integer"
  31984. },
  31985. "wrstandardname": {
  31986. "description": "商品名称",
  31987. "type": "string"
  31988. },
  31989. "wrtradeorderid": {
  31990. "description": "关联委托单ID",
  31991. "type": "string"
  31992. },
  31993. "wrtypename": {
  31994. "description": "商品",
  31995. "type": "string"
  31996. }
  31997. }
  31998. },
  31999. "models.Warehouseinfo": {
  32000. "type": "object",
  32001. "required": [
  32002. "autoid",
  32003. "warehousecode"
  32004. ],
  32005. "properties": {
  32006. "address": {
  32007. "description": "详细地址",
  32008. "type": "string"
  32009. },
  32010. "areauserid": {
  32011. "description": "所属机构",
  32012. "type": "integer"
  32013. },
  32014. "autoid": {
  32015. "description": "自增ID",
  32016. "type": "integer"
  32017. },
  32018. "cityid": {
  32019. "description": "市",
  32020. "type": "integer"
  32021. },
  32022. "contactname": {
  32023. "description": "联系人",
  32024. "type": "string"
  32025. },
  32026. "contactnum": {
  32027. "description": "联系电话",
  32028. "type": "string"
  32029. },
  32030. "countryid": {
  32031. "description": "国家",
  32032. "type": "integer"
  32033. },
  32034. "createtime": {
  32035. "description": "创建时间",
  32036. "type": "string"
  32037. },
  32038. "districtid": {
  32039. "description": "区",
  32040. "type": "integer"
  32041. },
  32042. "hasvideo": {
  32043. "description": "是否有视频 - 0:无 1:有",
  32044. "type": "integer"
  32045. },
  32046. "provinceid": {
  32047. "description": "省",
  32048. "type": "integer"
  32049. },
  32050. "remark": {
  32051. "description": "审核备注",
  32052. "type": "string"
  32053. },
  32054. "videourl": {
  32055. "description": "视频地址",
  32056. "type": "string"
  32057. },
  32058. "warehousecode": {
  32059. "description": "仓库代码",
  32060. "type": "string"
  32061. },
  32062. "warehousename": {
  32063. "description": "仓库名称",
  32064. "type": "string"
  32065. },
  32066. "warehousestatus": {
  32067. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  32068. "type": "integer"
  32069. },
  32070. "warehousetype": {
  32071. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  32072. "type": "integer"
  32073. }
  32074. }
  32075. },
  32076. "models.WrAverageTradePrice": {
  32077. "type": "object",
  32078. "properties": {
  32079. "averageprice": {
  32080. "description": "期初均价",
  32081. "type": "number"
  32082. },
  32083. "tradedate": {
  32084. "description": "交易日yyyymm",
  32085. "type": "string"
  32086. }
  32087. }
  32088. },
  32089. "models.WrBrandAndYears": {
  32090. "type": "object",
  32091. "properties": {
  32092. "brandlst": {
  32093. "description": "品牌列表",
  32094. "type": "array",
  32095. "items": {
  32096. "$ref": "#/definitions/models.DgFactoryItem"
  32097. }
  32098. },
  32099. "yearslst": {
  32100. "description": "年份列表",
  32101. "type": "array",
  32102. "items": {
  32103. "$ref": "#/definitions/models.DgFactoryItem"
  32104. }
  32105. }
  32106. }
  32107. },
  32108. "models.WrBsGoodsInfo": {
  32109. "type": "object",
  32110. "properties": {
  32111. "buyorsell": {
  32112. "description": "买卖方向 0-买 1-卖",
  32113. "type": "integer"
  32114. },
  32115. "goodsid": {
  32116. "description": "交易合约ID",
  32117. "type": "integer"
  32118. },
  32119. "lstitem": {
  32120. "description": "商品信息项",
  32121. "type": "array",
  32122. "items": {
  32123. "$ref": "#/definitions/models.WrTypeItem"
  32124. }
  32125. },
  32126. "lststep": {
  32127. "description": "履约规则",
  32128. "type": "array",
  32129. "items": {
  32130. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32131. }
  32132. }
  32133. }
  32134. },
  32135. "models.WrBuybackDetail": {
  32136. "type": "object",
  32137. "properties": {
  32138. "buybackamount": {
  32139. "description": "回购金额",
  32140. "type": "number"
  32141. },
  32142. "buybackqty": {
  32143. "description": "回购数量",
  32144. "type": "number"
  32145. },
  32146. "buybackreleasemargin": {
  32147. "description": "回购释放保证金",
  32148. "type": "number"
  32149. },
  32150. "buybacktime": {
  32151. "description": "回购时间",
  32152. "type": "string"
  32153. },
  32154. "errordesc": {
  32155. "description": "错误描述",
  32156. "type": "string"
  32157. },
  32158. "handlestatus": {
  32159. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  32160. "type": "integer"
  32161. },
  32162. "relatedwrid": {
  32163. "description": "关联仓单ID",
  32164. "type": "integer"
  32165. },
  32166. "scfcontractid": {
  32167. "description": "SCF合同ID",
  32168. "type": "string"
  32169. },
  32170. "scfwrbuybackid": {
  32171. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  32172. "type": "integer"
  32173. },
  32174. "tradedate": {
  32175. "description": "交易日(yyyyMMdd)",
  32176. "type": "string"
  32177. }
  32178. }
  32179. },
  32180. "models.WrClientAdSpaceConfig": {
  32181. "type": "object",
  32182. "properties": {
  32183. "adspaceid": {
  32184. "description": "广告位ID",
  32185. "type": "integer"
  32186. },
  32187. "adspacename": {
  32188. "description": "广告位名称",
  32189. "type": "string"
  32190. },
  32191. "adspacetype": {
  32192. "description": "广告位类型 - 1:固定广告位",
  32193. "type": "integer"
  32194. },
  32195. "areauserid": {
  32196. "description": "所属机构ID",
  32197. "type": "integer"
  32198. },
  32199. "createdate": {
  32200. "description": "创建时间",
  32201. "type": "string"
  32202. },
  32203. "imagepath": {
  32204. "description": "图片",
  32205. "type": "string"
  32206. },
  32207. "modifierid": {
  32208. "description": "操作人",
  32209. "type": "integer"
  32210. },
  32211. "recsize": {
  32212. "description": "推荐尺寸",
  32213. "type": "string"
  32214. },
  32215. "title": {
  32216. "description": "标题",
  32217. "type": "string"
  32218. },
  32219. "updatedate": {
  32220. "description": "更新时间",
  32221. "type": "string"
  32222. },
  32223. "urlcontent": {
  32224. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  32225. "type": "string"
  32226. },
  32227. "urltype": {
  32228. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  32229. "type": "integer"
  32230. }
  32231. }
  32232. },
  32233. "models.WrDeliveryAvalidHoldLB": {
  32234. "type": "object",
  32235. "properties": {
  32236. "accountid": {
  32237. "description": "资金账号",
  32238. "type": "integer"
  32239. },
  32240. "avalidqty": {
  32241. "description": "数量(可点选数量)",
  32242. "type": "number"
  32243. },
  32244. "deliverygoodsid": {
  32245. "description": "品种id",
  32246. "type": "integer"
  32247. },
  32248. "enumdicname": {
  32249. "description": "单位名称",
  32250. "type": "string"
  32251. },
  32252. "goodsid": {
  32253. "description": "x合约商品id",
  32254. "type": "integer"
  32255. },
  32256. "ladingbillid": {
  32257. "description": "提单id",
  32258. "type": "string"
  32259. },
  32260. "pgoodscode": {
  32261. "description": "p商品代码(点价合约)",
  32262. "type": "string"
  32263. },
  32264. "pgoodsid": {
  32265. "description": "p商品id(点价合约)",
  32266. "type": "integer"
  32267. },
  32268. "pgoodsname": {
  32269. "description": "p商品名称(点价合约)",
  32270. "type": "string"
  32271. },
  32272. "pricemove": {
  32273. "description": "升贴水",
  32274. "type": "number"
  32275. },
  32276. "subnum": {
  32277. "description": "提单子id",
  32278. "type": "integer"
  32279. },
  32280. "userid": {
  32281. "description": "用户id",
  32282. "type": "integer"
  32283. },
  32284. "username": {
  32285. "description": "仓单持有人",
  32286. "type": "string"
  32287. },
  32288. "warehousecode": {
  32289. "description": "仓库代码",
  32290. "type": "string"
  32291. },
  32292. "warehouseid": {
  32293. "description": "仓库id",
  32294. "type": "integer"
  32295. },
  32296. "warehousename": {
  32297. "description": "仓库名称",
  32298. "type": "string"
  32299. },
  32300. "wrfactortypeid": {
  32301. "description": "仓单要素id",
  32302. "type": "string"
  32303. },
  32304. "wrstandardcode": {
  32305. "description": "品代码",
  32306. "type": "string"
  32307. },
  32308. "wrstandardid": {
  32309. "description": "品类d",
  32310. "type": "integer"
  32311. },
  32312. "wrstandardname": {
  32313. "description": "品类名称",
  32314. "type": "string"
  32315. },
  32316. "wrtypename": {
  32317. "description": "商品",
  32318. "type": "string"
  32319. },
  32320. "xgoodscode": {
  32321. "description": "x合约代码",
  32322. "type": "string"
  32323. },
  32324. "xgoodsname": {
  32325. "description": "x合约名称",
  32326. "type": "string"
  32327. }
  32328. }
  32329. },
  32330. "models.WrDeliveryDetail": {
  32331. "type": "object",
  32332. "properties": {
  32333. "accountid": {
  32334. "description": "账号ID",
  32335. "type": "integer"
  32336. },
  32337. "averageprice": {
  32338. "description": "期初均价",
  32339. "type": "number"
  32340. },
  32341. "begindate": {
  32342. "description": "开始交易日(yyyymmdd)",
  32343. "type": "string"
  32344. },
  32345. "buyorsell": {
  32346. "description": "方向 - 0:买 1:卖",
  32347. "type": "integer"
  32348. },
  32349. "deliveryamount": {
  32350. "description": "货款金额(X总货款+P总货款)",
  32351. "type": "number"
  32352. },
  32353. "deliveryid": {
  32354. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  32355. "type": "string"
  32356. },
  32357. "deliveryorderid": {
  32358. "description": "申报单号",
  32359. "type": "string"
  32360. },
  32361. "deliverypricemove": {
  32362. "description": "升贴水(升贴水总额)",
  32363. "type": "number"
  32364. },
  32365. "deliveryqty": {
  32366. "description": "交收数量(点选数量)",
  32367. "type": "number"
  32368. },
  32369. "deliverystatus": {
  32370. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  32371. "type": "integer"
  32372. },
  32373. "deliverytime": {
  32374. "description": "交割时间",
  32375. "type": "string"
  32376. },
  32377. "deliverytotalamount": {
  32378. "description": "交收金额",
  32379. "type": "number"
  32380. },
  32381. "enddate": {
  32382. "description": "结束交易日(yyyymmdd)",
  32383. "type": "string"
  32384. },
  32385. "enumdicname": {
  32386. "description": "单位名称",
  32387. "type": "string"
  32388. },
  32389. "matchaccountid": {
  32390. "description": "对手账号ID",
  32391. "type": "integer"
  32392. },
  32393. "matchusername": {
  32394. "description": "对手方名称(仓单持有人)",
  32395. "type": "string"
  32396. },
  32397. "p1goodsremainamount": {
  32398. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  32399. "type": "number"
  32400. },
  32401. "pdeliverycloseqty": {
  32402. "description": "p合约平仓数量",
  32403. "type": "number"
  32404. },
  32405. "pdeliveryprice": {
  32406. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  32407. "type": "number"
  32408. },
  32409. "pgoodscode": {
  32410. "description": "商品代码",
  32411. "type": "string"
  32412. },
  32413. "pgoodsid": {
  32414. "description": "p点选合约id",
  32415. "type": "integer"
  32416. },
  32417. "pgoodsname": {
  32418. "description": "商品名称",
  32419. "type": "string"
  32420. },
  32421. "ppricemode": {
  32422. "description": "点价价格方式 - 1:商品价 2:固定值",
  32423. "type": "integer"
  32424. },
  32425. "tradedate": {
  32426. "description": "交易日(yyyymmdd)",
  32427. "type": "string"
  32428. },
  32429. "userid": {
  32430. "description": "用户id",
  32431. "type": "integer"
  32432. },
  32433. "username": {
  32434. "description": "用户名称",
  32435. "type": "string"
  32436. },
  32437. "warehousename": {
  32438. "description": "仓库名称",
  32439. "type": "string"
  32440. },
  32441. "wrfactortypeid": {
  32442. "description": "仓单要素类型ID",
  32443. "type": "string"
  32444. },
  32445. "wrtypename": {
  32446. "description": "商品",
  32447. "type": "string"
  32448. },
  32449. "xdeliverycloseqty": {
  32450. "description": "合约数量",
  32451. "type": "number"
  32452. },
  32453. "xgoodsamount": {
  32454. "description": "期初均价",
  32455. "type": "number"
  32456. },
  32457. "xgoodscode": {
  32458. "description": "商品代码",
  32459. "type": "string"
  32460. },
  32461. "xgoodsid": {
  32462. "description": "x交易合约ID",
  32463. "type": "integer"
  32464. },
  32465. "xgoodsname": {
  32466. "description": "商品名称",
  32467. "type": "string"
  32468. }
  32469. }
  32470. },
  32471. "models.WrDeliveryGoodsSection": {
  32472. "type": "object",
  32473. "properties": {
  32474. "dglst": {
  32475. "description": "板块商品列表",
  32476. "type": "array",
  32477. "items": {
  32478. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  32479. }
  32480. },
  32481. "imagepath": {
  32482. "description": "图片地址",
  32483. "type": "string"
  32484. },
  32485. "orderindex": {
  32486. "description": "排序",
  32487. "type": "integer"
  32488. },
  32489. "sectionid": {
  32490. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  32491. "type": "integer"
  32492. },
  32493. "sectionname": {
  32494. "description": "版块名称",
  32495. "type": "string"
  32496. },
  32497. "sectiontype": {
  32498. "description": "版块类型 - 1:指数版块 2:普通版块",
  32499. "type": "integer"
  32500. }
  32501. }
  32502. },
  32503. "models.WrDeliveryGoodsSectionConfig": {
  32504. "type": "object",
  32505. "properties": {
  32506. "deliverygoodscode": {
  32507. "description": "现货商品代码",
  32508. "type": "string"
  32509. },
  32510. "deliverygoodsid": {
  32511. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  32512. "type": "integer"
  32513. },
  32514. "deliverygoodsname": {
  32515. "description": "现货商品名称",
  32516. "type": "string"
  32517. },
  32518. "orderindex": {
  32519. "description": "排序",
  32520. "type": "integer"
  32521. }
  32522. }
  32523. },
  32524. "models.WrDraftUserInfo": {
  32525. "type": "object",
  32526. "properties": {
  32527. "address": {
  32528. "description": "地址",
  32529. "type": "string"
  32530. },
  32531. "attachment1": {
  32532. "description": "附件1",
  32533. "type": "string"
  32534. },
  32535. "attachment2": {
  32536. "description": "附件2",
  32537. "type": "string"
  32538. },
  32539. "attachment3": {
  32540. "description": "附件3",
  32541. "type": "string"
  32542. },
  32543. "attachment4": {
  32544. "description": "附件4",
  32545. "type": "string"
  32546. },
  32547. "attachment5": {
  32548. "description": "附件5",
  32549. "type": "string"
  32550. },
  32551. "bankaccount": {
  32552. "description": "银行帐号 (加密存储)",
  32553. "type": "string"
  32554. },
  32555. "bankaccountname": {
  32556. "description": "收款人名称",
  32557. "type": "string"
  32558. },
  32559. "bankcardfrontphotourl": {
  32560. "description": "银行卡正面照地址",
  32561. "type": "string"
  32562. },
  32563. "bankid": {
  32564. "description": "银行编码",
  32565. "type": "string"
  32566. },
  32567. "bankname": {
  32568. "description": "银行名称",
  32569. "type": "string"
  32570. },
  32571. "birthday": {
  32572. "description": "生日(个人:年月日)",
  32573. "type": "string"
  32574. },
  32575. "biznature": {
  32576. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32577. "type": "integer"
  32578. },
  32579. "bizscope": {
  32580. "description": "企业经营范围(企业)",
  32581. "type": "string"
  32582. },
  32583. "biztype": {
  32584. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  32585. "type": "integer"
  32586. },
  32587. "cardbackphotourl": {
  32588. "description": "证件背面图片地址",
  32589. "type": "string"
  32590. },
  32591. "cardfrontphotourl": {
  32592. "description": "证件正面图片地址",
  32593. "type": "string"
  32594. },
  32595. "cardnum": {
  32596. "description": "证件号码(加密存储)",
  32597. "type": "string"
  32598. },
  32599. "cardtypeid": {
  32600. "description": "证件类型ID",
  32601. "type": "integer"
  32602. },
  32603. "cityid": {
  32604. "description": "市",
  32605. "type": "integer"
  32606. },
  32607. "company": {
  32608. "description": "公司(个人)",
  32609. "type": "string"
  32610. },
  32611. "contactcardbackphotourl": {
  32612. "description": "联系人证件背面图片地址",
  32613. "type": "string"
  32614. },
  32615. "contactcardfrontphotourl": {
  32616. "description": "联系人证件正面图片地址",
  32617. "type": "string"
  32618. },
  32619. "contactname": {
  32620. "description": "联系人",
  32621. "type": "string"
  32622. },
  32623. "countryid": {
  32624. "description": "国家",
  32625. "type": "integer"
  32626. },
  32627. "createtime": {
  32628. "description": "创建时间",
  32629. "type": "string"
  32630. },
  32631. "creatorid": {
  32632. "description": "创建人",
  32633. "type": "integer"
  32634. },
  32635. "creditquota": {
  32636. "description": "授信额度(金瑞)",
  32637. "type": "number"
  32638. },
  32639. "customername": {
  32640. "description": "客户名称(企业名称)",
  32641. "type": "string"
  32642. },
  32643. "districtid": {
  32644. "description": "地区",
  32645. "type": "integer"
  32646. },
  32647. "email": {
  32648. "description": "邮件(加密存储)",
  32649. "type": "string"
  32650. },
  32651. "fax": {
  32652. "description": "传真(加密存储)",
  32653. "type": "string"
  32654. },
  32655. "halfbodyphotourl": {
  32656. "description": "半身照地址",
  32657. "type": "string"
  32658. },
  32659. "hasencrypt": {
  32660. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32661. "type": "integer"
  32662. },
  32663. "headurl": {
  32664. "description": "头像地址",
  32665. "type": "string"
  32666. },
  32667. "legalcardbackphotourl": {
  32668. "description": "法人身份证背面照地址",
  32669. "type": "string"
  32670. },
  32671. "legalcardfrontphotourl": {
  32672. "description": "法人身份证正面照地址",
  32673. "type": "string"
  32674. },
  32675. "legalpersonname": {
  32676. "description": "法人姓名(企业)",
  32677. "type": "string"
  32678. },
  32679. "mobile": {
  32680. "description": "手机号码(加密存储)",
  32681. "type": "string"
  32682. },
  32683. "mobile2": {
  32684. "description": "手机号码[明文-尚志]",
  32685. "type": "string"
  32686. },
  32687. "modifierid": {
  32688. "description": "修改人",
  32689. "type": "integer"
  32690. },
  32691. "modifiertime": {
  32692. "description": "修改时间",
  32693. "type": "string"
  32694. },
  32695. "needinvoice": {
  32696. "description": "是否需要发票 - 0:不需要 1:需要",
  32697. "type": "integer"
  32698. },
  32699. "nickname": {
  32700. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32701. "type": "string"
  32702. },
  32703. "openmode": {
  32704. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  32705. "type": "integer"
  32706. },
  32707. "otherurl": {
  32708. "description": "其它图片地址[使用分号分隔]",
  32709. "type": "string"
  32710. },
  32711. "postalcode": {
  32712. "description": "邮政编码",
  32713. "type": "string"
  32714. },
  32715. "provinceid": {
  32716. "description": "省",
  32717. "type": "integer"
  32718. },
  32719. "proxystatementurl": {
  32720. "description": "授权委托书",
  32721. "type": "string"
  32722. },
  32723. "qq": {
  32724. "description": "QQ(加密存储",
  32725. "type": "string"
  32726. },
  32727. "remark": {
  32728. "description": "备注",
  32729. "type": "string"
  32730. },
  32731. "sex": {
  32732. "description": "用户性别 0: 女 1: 男",
  32733. "type": "integer"
  32734. },
  32735. "signpdfurl": {
  32736. "description": "签约pdf文件",
  32737. "type": "string"
  32738. },
  32739. "taxpayernum": {
  32740. "description": "纳税人识别号",
  32741. "type": "string"
  32742. },
  32743. "telphone": {
  32744. "description": "联系电话(加密存储)",
  32745. "type": "string"
  32746. },
  32747. "userid": {
  32748. "description": "用户ID",
  32749. "type": "integer"
  32750. },
  32751. "userinfotype": {
  32752. "description": "用户信息类型 - 1:个人 2:企业",
  32753. "type": "integer"
  32754. },
  32755. "userstatus": {
  32756. "description": "用户状态 - 1:正常 2:注销",
  32757. "type": "integer"
  32758. },
  32759. "usertype": {
  32760. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  32761. "type": "integer"
  32762. },
  32763. "wechat": {
  32764. "description": "微信(加密存储)",
  32765. "type": "string"
  32766. },
  32767. "wskhinfo": {
  32768. "description": "开户申请信息(JSON)",
  32769. "type": "string"
  32770. }
  32771. }
  32772. },
  32773. "models.WrFAProductDetail": {
  32774. "type": "object",
  32775. "properties": {
  32776. "accountid": {
  32777. "description": "资金账号",
  32778. "type": "integer"
  32779. },
  32780. "areauserid": {
  32781. "description": "金融机构ID",
  32782. "type": "integer"
  32783. },
  32784. "financingdays": {
  32785. "description": "天数(天)",
  32786. "type": "integer"
  32787. },
  32788. "interestminlen": {
  32789. "description": "最小起息天数",
  32790. "type": "integer"
  32791. },
  32792. "interestrate": {
  32793. "description": "利率",
  32794. "type": "number"
  32795. },
  32796. "interestratemode": {
  32797. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32798. "type": "integer"
  32799. },
  32800. "interestsettlemode": {
  32801. "description": "结息方式 - 1:按日结息 3:按月结息",
  32802. "type": "integer"
  32803. },
  32804. "interestsettlevalue": {
  32805. "description": "结息方式值",
  32806. "type": "integer"
  32807. },
  32808. "isautoloan": {
  32809. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32810. "type": "integer"
  32811. },
  32812. "loantag": {
  32813. "description": "放款标识: \"放款快\" 或者为空",
  32814. "type": "string"
  32815. },
  32816. "marginratio": {
  32817. "description": "保证金比率质押率 - [仓单质押]",
  32818. "type": "number"
  32819. },
  32820. "productdetailid": {
  32821. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32822. "type": "integer"
  32823. },
  32824. "productid": {
  32825. "description": "金融产品ID",
  32826. "type": "integer"
  32827. },
  32828. "productname": {
  32829. "description": "产品名称",
  32830. "type": "string"
  32831. },
  32832. "updatetime": {
  32833. "description": "更新时间",
  32834. "type": "string"
  32835. },
  32836. "username": {
  32837. "description": "融出方",
  32838. "type": "string"
  32839. }
  32840. }
  32841. },
  32842. "models.WrFactorTypeInfo": {
  32843. "type": "object",
  32844. "properties": {
  32845. "deliverygoodscode": {
  32846. "description": "品种代码",
  32847. "type": "string"
  32848. },
  32849. "deliverygoodsname": {
  32850. "description": "品种名称",
  32851. "type": "string"
  32852. },
  32853. "dgfactoryitemid": {
  32854. "description": "选择项id",
  32855. "type": "integer"
  32856. },
  32857. "dgfactoryitemtypeid": {
  32858. "description": "要素选择项ID (1-仓库 2-品牌)",
  32859. "type": "integer"
  32860. },
  32861. "dgfactoryitemvalue": {
  32862. "description": "要素项值",
  32863. "type": "string"
  32864. },
  32865. "itemtypename": {
  32866. "description": "要素项名称",
  32867. "type": "string"
  32868. },
  32869. "optioncompare": {
  32870. "description": "选择比较串",
  32871. "type": "string"
  32872. },
  32873. "warehouseid": {
  32874. "description": "仓库id",
  32875. "type": "integer"
  32876. },
  32877. "wrfactortypeid": {
  32878. "description": "仓单要素ID",
  32879. "type": "string"
  32880. },
  32881. "wrfactortypename": {
  32882. "description": "要素名称",
  32883. "type": "string"
  32884. },
  32885. "wrfactortypename2": {
  32886. "description": "要素名称(不含仓库)",
  32887. "type": "string"
  32888. },
  32889. "wrstandardcode": {
  32890. "description": "品类代码",
  32891. "type": "string"
  32892. },
  32893. "wrstandardid": {
  32894. "description": "品类id",
  32895. "type": "integer"
  32896. },
  32897. "wrstandardname": {
  32898. "description": "品类名称",
  32899. "type": "string"
  32900. }
  32901. }
  32902. },
  32903. "models.WrFilterItem": {
  32904. "type": "object",
  32905. "properties": {
  32906. "itemcode": {
  32907. "description": "代码",
  32908. "type": "string"
  32909. },
  32910. "itemid": {
  32911. "description": "项id",
  32912. "type": "integer"
  32913. },
  32914. "itemname": {
  32915. "description": "名称",
  32916. "type": "string"
  32917. },
  32918. "itemtype": {
  32919. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32920. "type": "integer"
  32921. }
  32922. }
  32923. },
  32924. "models.WrFinanceBuyApply": {
  32925. "type": "object",
  32926. "properties": {
  32927. "applydate": {
  32928. "description": "申请时间",
  32929. "type": "string"
  32930. },
  32931. "applystatus": {
  32932. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32933. "type": "integer"
  32934. },
  32935. "applyuserid": {
  32936. "description": "申请人",
  32937. "type": "integer"
  32938. },
  32939. "auditdate": {
  32940. "description": "审核时间",
  32941. "type": "string"
  32942. },
  32943. "auditremark": {
  32944. "description": "审核备注",
  32945. "type": "string"
  32946. },
  32947. "audituserid": {
  32948. "description": "审核人",
  32949. "type": "integer"
  32950. },
  32951. "buyaccountid": {
  32952. "description": "买方资金账号",
  32953. "type": "integer"
  32954. },
  32955. "buyorsell": {
  32956. "description": "买卖 - 0:买 1:卖",
  32957. "type": "integer"
  32958. },
  32959. "buyuserid": {
  32960. "description": "买方用户ID",
  32961. "type": "integer"
  32962. },
  32963. "buyusername": {
  32964. "description": "买方名称",
  32965. "type": "string"
  32966. },
  32967. "buywrtradeorderid": {
  32968. "description": "融资方买委托单ID",
  32969. "type": "string"
  32970. },
  32971. "deliverygoodscode": {
  32972. "description": "品种代码",
  32973. "type": "string"
  32974. },
  32975. "deliverygoodsid": {
  32976. "description": "品种ID",
  32977. "type": "integer"
  32978. },
  32979. "deliverygoodsname": {
  32980. "description": "品种名称",
  32981. "type": "string"
  32982. },
  32983. "deliverymonth": {
  32984. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32985. "type": "string"
  32986. },
  32987. "enumdicname": {
  32988. "description": "单位名称",
  32989. "type": "string"
  32990. },
  32991. "financeaccountid": {
  32992. "description": "融资方资金帐户ID",
  32993. "type": "integer"
  32994. },
  32995. "financeapplyid": {
  32996. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32997. "type": "string"
  32998. },
  32999. "financeareauserid": {
  33000. "description": "融资方用户ID",
  33001. "type": "string"
  33002. },
  33003. "financename": {
  33004. "description": "融出方名称",
  33005. "type": "string"
  33006. },
  33007. "financetype": {
  33008. "description": "融资类型 1-融资回购",
  33009. "type": "integer"
  33010. },
  33011. "financingdays": {
  33012. "description": "天数(天)",
  33013. "type": "integer"
  33014. },
  33015. "freezebuymargin": {
  33016. "description": "冻结融资保证金(买方)",
  33017. "type": "number"
  33018. },
  33019. "handleremark": {
  33020. "description": "处理备注",
  33021. "type": "string"
  33022. },
  33023. "handlestatus": {
  33024. "description": "处理状态",
  33025. "type": "integer"
  33026. },
  33027. "interestminlen": {
  33028. "description": "最小起息天数",
  33029. "type": "integer"
  33030. },
  33031. "interestrate": {
  33032. "description": "利率",
  33033. "type": "number"
  33034. },
  33035. "interestratemode": {
  33036. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33037. "type": "integer"
  33038. },
  33039. "interestsettlemode": {
  33040. "description": "结息方式 - 1:按日结息 3:按月结息",
  33041. "type": "integer"
  33042. },
  33043. "interestsettlevalue": {
  33044. "description": "结息方式值",
  33045. "type": "integer"
  33046. },
  33047. "isautoloan": {
  33048. "description": "是否自动放款 - 0:手动 1:自动",
  33049. "type": "integer"
  33050. },
  33051. "marginratio": {
  33052. "description": "保证金比率质押率 - [仓单质押]",
  33053. "type": "number"
  33054. },
  33055. "marketid": {
  33056. "description": "市场ID",
  33057. "type": "integer"
  33058. },
  33059. "minivalue": {
  33060. "description": "现货商品最小变动值",
  33061. "type": "integer"
  33062. },
  33063. "optioncompare": {
  33064. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33065. "type": "string"
  33066. },
  33067. "orderqty": {
  33068. "description": "委托数量(商品数量)",
  33069. "type": "number"
  33070. },
  33071. "productdetailid": {
  33072. "description": "产品组合ID",
  33073. "type": "integer"
  33074. },
  33075. "productid": {
  33076. "description": "金融产品ID",
  33077. "type": "integer"
  33078. },
  33079. "productname": {
  33080. "description": "产品名称",
  33081. "type": "string"
  33082. },
  33083. "remark": {
  33084. "description": "备注",
  33085. "type": "string"
  33086. },
  33087. "scfcontractid": {
  33088. "description": "仓单回购合同ID",
  33089. "type": "string"
  33090. },
  33091. "sellaccountid": {
  33092. "description": "卖方资金账号",
  33093. "type": "integer"
  33094. },
  33095. "selluserid": {
  33096. "description": "卖方用户ID",
  33097. "type": "integer"
  33098. },
  33099. "sellwrtradeorderid": {
  33100. "description": "卖方委托单ID",
  33101. "type": "string"
  33102. },
  33103. "tradeamount": {
  33104. "description": "成交金额(借款金额)",
  33105. "type": "number"
  33106. },
  33107. "tradedate": {
  33108. "description": "交易日(yyyyMMdd)",
  33109. "type": "string"
  33110. },
  33111. "tradeprice": {
  33112. "description": "成交价格",
  33113. "type": "number"
  33114. },
  33115. "warehouseid": {
  33116. "description": "仓库ID",
  33117. "type": "integer"
  33118. },
  33119. "warehousename": {
  33120. "description": "仓库名称",
  33121. "type": "string"
  33122. },
  33123. "wrfactortypeid": {
  33124. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33125. "type": "string"
  33126. },
  33127. "wrfactortypename": {
  33128. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33129. "type": "string"
  33130. },
  33131. "wrpricetype": {
  33132. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  33133. "type": "integer"
  33134. },
  33135. "wrstandardcode": {
  33136. "description": "现货商品代码",
  33137. "type": "string"
  33138. },
  33139. "wrstandardid": {
  33140. "description": "现货商品ID",
  33141. "type": "integer"
  33142. },
  33143. "wrstandardname": {
  33144. "description": "商品名称",
  33145. "type": "string"
  33146. },
  33147. "wrtypename": {
  33148. "description": "商品",
  33149. "type": "string"
  33150. }
  33151. }
  33152. },
  33153. "models.WrFriendApply": {
  33154. "type": "object",
  33155. "properties": {
  33156. "applicantid": {
  33157. "description": "申请人",
  33158. "type": "integer"
  33159. },
  33160. "applyname": {
  33161. "description": "申请人名称",
  33162. "type": "string"
  33163. },
  33164. "applysrc": {
  33165. "description": "申请来源 - 1:管理端 2:终端",
  33166. "type": "integer"
  33167. },
  33168. "applystatus": {
  33169. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33170. "type": "integer"
  33171. },
  33172. "applytime": {
  33173. "description": "申请时间",
  33174. "type": "string"
  33175. },
  33176. "auditname": {
  33177. "description": "审核人名称",
  33178. "type": "string"
  33179. },
  33180. "auditorid": {
  33181. "description": "审核人",
  33182. "type": "integer"
  33183. },
  33184. "auditremark": {
  33185. "description": "审核备注",
  33186. "type": "string"
  33187. },
  33188. "auditsrc": {
  33189. "description": "审核来源 - 1:管理端 2:终端",
  33190. "type": "integer"
  33191. },
  33192. "audittime": {
  33193. "description": "审核时间",
  33194. "type": "string"
  33195. },
  33196. "friendapplyid": {
  33197. "description": "申请ID(SEQ_FRIENDAPPLY)",
  33198. "type": "string"
  33199. },
  33200. "friendname": {
  33201. "description": "好友名字(已脱敏)",
  33202. "type": "string"
  33203. },
  33204. "frienduserid": {
  33205. "description": "好友用户ID",
  33206. "type": "string"
  33207. },
  33208. "remark": {
  33209. "description": "备注",
  33210. "type": "string"
  33211. },
  33212. "userid": {
  33213. "description": "申请人用户ID",
  33214. "type": "integer"
  33215. }
  33216. }
  33217. },
  33218. "models.WrFtDeliveryGoods": {
  33219. "type": "object",
  33220. "properties": {
  33221. "deliverygoodscode": {
  33222. "description": "品种代码",
  33223. "type": "string"
  33224. },
  33225. "deliverygoodsid": {
  33226. "description": "品种ID",
  33227. "type": "integer"
  33228. },
  33229. "deliverygoodsname": {
  33230. "description": "品种名称",
  33231. "type": "string"
  33232. },
  33233. "wdlst": {
  33234. "description": "商品列表",
  33235. "type": "array",
  33236. "items": {
  33237. "$ref": "#/definitions/models.WrFtWrstandard"
  33238. }
  33239. }
  33240. }
  33241. },
  33242. "models.WrFtWrstandard": {
  33243. "type": "object",
  33244. "properties": {
  33245. "enumdicname": {
  33246. "description": "单位名称",
  33247. "type": "string"
  33248. },
  33249. "minivalue": {
  33250. "description": "最小变动值",
  33251. "type": "integer"
  33252. },
  33253. "wrstandardcode": {
  33254. "description": "现货商品代码",
  33255. "type": "string"
  33256. },
  33257. "wrstandardid": {
  33258. "description": "现货商品ID",
  33259. "type": "integer"
  33260. },
  33261. "wrstandardname": {
  33262. "description": "商品名称",
  33263. "type": "string"
  33264. }
  33265. }
  33266. },
  33267. "models.WrGoodsInfo": {
  33268. "type": "object",
  33269. "properties": {
  33270. "haswr": {
  33271. "description": "0:仓单预售 1:仓单贸易",
  33272. "type": "integer"
  33273. },
  33274. "lstitem": {
  33275. "description": "商品信息项",
  33276. "type": "array",
  33277. "items": {
  33278. "$ref": "#/definitions/models.WrTypeItem"
  33279. }
  33280. },
  33281. "lststep": {
  33282. "description": "履约规则",
  33283. "type": "array",
  33284. "items": {
  33285. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33286. }
  33287. },
  33288. "marketid": {
  33289. "description": "市场id",
  33290. "type": "integer"
  33291. }
  33292. }
  33293. },
  33294. "models.WrGoodsPerformanceStep": {
  33295. "type": "object",
  33296. "properties": {
  33297. "autoid": {
  33298. "description": "AutoID",
  33299. "type": "integer"
  33300. },
  33301. "isauto": {
  33302. "description": "是否自动 - 0:不自动 1:自动",
  33303. "type": "integer"
  33304. },
  33305. "remark": {
  33306. "description": "备注",
  33307. "type": "string"
  33308. },
  33309. "stepdate": {
  33310. "description": "天数信息(T+N)",
  33311. "type": "string"
  33312. },
  33313. "stepdays": {
  33314. "description": "距离上一步天数",
  33315. "type": "integer"
  33316. },
  33317. "stepindex": {
  33318. "description": "步骤序号",
  33319. "type": "integer"
  33320. },
  33321. "stepinfo": {
  33322. "description": "步骤信息(步骤名称+步骤值)",
  33323. "type": "string"
  33324. },
  33325. "steptypeid": {
  33326. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33327. "type": "integer"
  33328. },
  33329. "steptypename": {
  33330. "description": "步骤名称",
  33331. "type": "string"
  33332. },
  33333. "stepvalue": {
  33334. "description": "期初均价",
  33335. "type": "number"
  33336. },
  33337. "templateid": {
  33338. "description": "履约计划模板ID",
  33339. "type": "integer"
  33340. }
  33341. }
  33342. },
  33343. "models.WrHoldLB": {
  33344. "type": "object",
  33345. "properties": {
  33346. "accountid": {
  33347. "description": "持有人帐户ID",
  33348. "type": "integer"
  33349. },
  33350. "bannerpicurl": {
  33351. "description": "Banner图",
  33352. "type": "string"
  33353. },
  33354. "createtime": {
  33355. "description": "创建时间(过户时间)",
  33356. "type": "string"
  33357. },
  33358. "deliverygoodscode": {
  33359. "description": "品种代码",
  33360. "type": "string"
  33361. },
  33362. "deliverygoodsid": {
  33363. "description": "品种ID",
  33364. "type": "integer"
  33365. },
  33366. "deliverygoodsname": {
  33367. "description": "品种名称",
  33368. "type": "string"
  33369. },
  33370. "enableqty": {
  33371. "description": "可用数量",
  33372. "type": "number"
  33373. },
  33374. "enumdicname": {
  33375. "description": "单位名称",
  33376. "type": "string"
  33377. },
  33378. "freezerqty": {
  33379. "description": "冻结数量",
  33380. "type": "number"
  33381. },
  33382. "ladingbillid": {
  33383. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33384. "type": "string"
  33385. },
  33386. "minivalue": {
  33387. "description": "现货商品最小变动值",
  33388. "type": "integer"
  33389. },
  33390. "optioncompare": {
  33391. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33392. "type": "string"
  33393. },
  33394. "parentsubnum": {
  33395. "description": "拆分父子单号",
  33396. "type": "integer"
  33397. },
  33398. "pledgeqty": {
  33399. "description": "质押数量",
  33400. "type": "number"
  33401. },
  33402. "qty": {
  33403. "description": "数量",
  33404. "type": "number"
  33405. },
  33406. "subnum": {
  33407. "description": "提单子单号",
  33408. "type": "integer"
  33409. },
  33410. "thumurls": {
  33411. "description": "缩略图",
  33412. "type": "string"
  33413. },
  33414. "tradedate": {
  33415. "description": "交易日(yyyyMMdd)",
  33416. "type": "string"
  33417. },
  33418. "userid": {
  33419. "description": "持有人ID",
  33420. "type": "integer"
  33421. },
  33422. "warehouseid": {
  33423. "description": "仓库ID",
  33424. "type": "integer"
  33425. },
  33426. "warehousename": {
  33427. "description": "仓库名称",
  33428. "type": "string"
  33429. },
  33430. "wrfactortypeid": {
  33431. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33432. "type": "string"
  33433. },
  33434. "wrfactortypename": {
  33435. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33436. "type": "string"
  33437. },
  33438. "wrholdeno": {
  33439. "description": "仓单编号",
  33440. "type": "string"
  33441. },
  33442. "wrid": {
  33443. "description": "仓单变更ID",
  33444. "type": "string"
  33445. },
  33446. "wrstandardcode": {
  33447. "description": "现货商品代码",
  33448. "type": "string"
  33449. },
  33450. "wrstandardid": {
  33451. "description": "现货商品ID",
  33452. "type": "integer"
  33453. },
  33454. "wrstandardname": {
  33455. "description": "商品名称",
  33456. "type": "string"
  33457. },
  33458. "wrtypename": {
  33459. "description": "商品",
  33460. "type": "string"
  33461. }
  33462. }
  33463. },
  33464. "models.WrMarketTradeConfig": {
  33465. "type": "object",
  33466. "properties": {
  33467. "basisdownratio": {
  33468. "description": "浮动价基差下限比例(仓单贸易)",
  33469. "type": "number"
  33470. },
  33471. "basisupratio": {
  33472. "description": "浮动价基差上限比例(仓单贸易)",
  33473. "type": "number"
  33474. },
  33475. "buychargealgorithm": {
  33476. "description": "买方手续费收取方式 1:比率 2:固定",
  33477. "type": "integer"
  33478. },
  33479. "buychargealgorithm2": {
  33480. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  33481. "type": "integer"
  33482. },
  33483. "buychargealgorithmvalue": {
  33484. "description": "买方手续费设置值(交易所部分)",
  33485. "type": "number"
  33486. },
  33487. "buychargealgorithmvalue2": {
  33488. "description": "买方手续费设置值(会员部分)",
  33489. "type": "number"
  33490. },
  33491. "buychargealgorithmvalue3": {
  33492. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  33493. "type": "number"
  33494. },
  33495. "buychargealgorithmvalue4": {
  33496. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  33497. "type": "number"
  33498. },
  33499. "buyfirstmarginalgorithm": {
  33500. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  33501. "type": "integer"
  33502. },
  33503. "buyfirstmarginvalue": {
  33504. "description": "买方出价保证金设置值 - [竞拍]",
  33505. "type": "number"
  33506. },
  33507. "buymarginalgorithm": {
  33508. "description": "买方保证金方式 - 1:比率 2:固定",
  33509. "type": "integer"
  33510. },
  33511. "buymarginvalue": {
  33512. "description": "买方保证金设置值",
  33513. "type": "number"
  33514. },
  33515. "buyreleaseratio": {
  33516. "description": "买方释放比率[2:分步履约]",
  33517. "type": "number"
  33518. },
  33519. "executemode": {
  33520. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  33521. "type": "integer"
  33522. },
  33523. "executeside": {
  33524. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  33525. "type": "integer"
  33526. },
  33527. "failedchargealgorithm": {
  33528. "description": "流拍手续费收取方式 1:比率 2:固定",
  33529. "type": "integer"
  33530. },
  33531. "failedchargevalue": {
  33532. "description": "流拍手续费设置值",
  33533. "type": "number"
  33534. },
  33535. "failedchargevalue2": {
  33536. "description": "流拍卖方手续费设置值",
  33537. "type": "number"
  33538. },
  33539. "holddays": {
  33540. "description": "合同期限[2:分步履约]",
  33541. "type": "integer"
  33542. },
  33543. "listingmode": {
  33544. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  33545. "type": "integer"
  33546. },
  33547. "marketid": {
  33548. "description": "市场ID-仓单贸易、竞拍、预售",
  33549. "type": "integer"
  33550. },
  33551. "minqty": {
  33552. "description": "最小执行量[2:分步履约]",
  33553. "type": "number"
  33554. },
  33555. "modifierid": {
  33556. "description": "修改人",
  33557. "type": "integer"
  33558. },
  33559. "nowrquotaflag": {
  33560. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  33561. "type": "integer"
  33562. },
  33563. "performancetempid": {
  33564. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  33565. "type": "integer"
  33566. },
  33567. "performancetempid2": {
  33568. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  33569. "type": "integer"
  33570. },
  33571. "performancetempid2s": {
  33572. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  33573. "type": "string"
  33574. },
  33575. "performancetempids": {
  33576. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  33577. "type": "string"
  33578. },
  33579. "performanceway": {
  33580. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  33581. "type": "integer"
  33582. },
  33583. "sellchargealgorithm": {
  33584. "description": "卖方手续费收取方式 1:比率 2:固定",
  33585. "type": "integer"
  33586. },
  33587. "sellchargealgorithm2": {
  33588. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  33589. "type": "integer"
  33590. },
  33591. "sellchargealgorithmvalue": {
  33592. "description": "卖方手续费设置值(交易所部分)",
  33593. "type": "number"
  33594. },
  33595. "sellchargealgorithmvalue2": {
  33596. "description": "卖方手续费设置值(会员部分)",
  33597. "type": "number"
  33598. },
  33599. "sellchargealgorithmvalue3": {
  33600. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  33601. "type": "number"
  33602. },
  33603. "sellchargealgorithmvalue4": {
  33604. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  33605. "type": "number"
  33606. },
  33607. "sellmarginalgorithm": {
  33608. "description": "卖方保证金方式 - 1:比率 2:固定",
  33609. "type": "integer"
  33610. },
  33611. "sellmarginvalue": {
  33612. "description": "卖方保证金设置值",
  33613. "type": "number"
  33614. },
  33615. "sellmarginvalue2": {
  33616. "description": "卖方保证金设置值(无仓单)",
  33617. "type": "number"
  33618. },
  33619. "sellreleaseratio": {
  33620. "description": "卖方释放比率[2:分步履约]",
  33621. "type": "number"
  33622. },
  33623. "updatetime": {
  33624. "description": "更新时间",
  33625. "type": "string"
  33626. }
  33627. }
  33628. },
  33629. "models.WrOrderDetail": {
  33630. "type": "object",
  33631. "properties": {
  33632. "accountid": {
  33633. "description": "交易账号(资金账号)",
  33634. "type": "integer"
  33635. },
  33636. "allfriendsflag": {
  33637. "description": "是否全好友可见 - 0:否 1:是",
  33638. "type": "integer"
  33639. },
  33640. "amount": {
  33641. "description": "期初均价",
  33642. "type": "number"
  33643. },
  33644. "bannerpicurl": {
  33645. "description": "Banner图",
  33646. "type": "string"
  33647. },
  33648. "begindate": {
  33649. "description": "开始交易日(yyyymmdd)",
  33650. "type": "string"
  33651. },
  33652. "buyorsell": {
  33653. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33654. "type": "integer"
  33655. },
  33656. "canbargain": {
  33657. "description": "是否可议价 - 0:不可 1:可",
  33658. "type": "integer"
  33659. },
  33660. "cancelqty": {
  33661. "description": "撤销数量",
  33662. "type": "number"
  33663. },
  33664. "canpart": {
  33665. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  33666. "type": "integer"
  33667. },
  33668. "delistminqty": {
  33669. "description": "起摘数量",
  33670. "type": "integer"
  33671. },
  33672. "deliverygoodscode": {
  33673. "description": "品种代码",
  33674. "type": "string"
  33675. },
  33676. "deliverygoodsid": {
  33677. "description": "品种ID",
  33678. "type": "integer"
  33679. },
  33680. "deliverygoodsname": {
  33681. "description": "品种名称",
  33682. "type": "string"
  33683. },
  33684. "deliverymonth": {
  33685. "description": "交收月",
  33686. "type": "string"
  33687. },
  33688. "enddate": {
  33689. "description": "结束交易日(yyyymmdd)",
  33690. "type": "string"
  33691. },
  33692. "enumdicname": {
  33693. "description": "单位名称",
  33694. "type": "string"
  33695. },
  33696. "fixedprice": {
  33697. "description": "固定价格 - [挂牌]",
  33698. "type": "number"
  33699. },
  33700. "freezecharge": {
  33701. "description": "期初均价",
  33702. "type": "number"
  33703. },
  33704. "freezemargin": {
  33705. "description": "期初均价",
  33706. "type": "number"
  33707. },
  33708. "futupricemove": {
  33709. "description": "期货升贴水",
  33710. "type": "number"
  33711. },
  33712. "futushow": {
  33713. "description": "期货合约/升贴水",
  33714. "type": "string"
  33715. },
  33716. "goodscode": {
  33717. "description": "期货合约",
  33718. "type": "string"
  33719. },
  33720. "goodsid": {
  33721. "description": "期货商品id",
  33722. "type": "integer"
  33723. },
  33724. "goodsname": {
  33725. "description": "商品名称",
  33726. "type": "string"
  33727. },
  33728. "haswr": {
  33729. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33730. "type": "integer"
  33731. },
  33732. "isspecified": {
  33733. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  33734. "type": "integer"
  33735. },
  33736. "ladingbillid": {
  33737. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33738. "type": "string"
  33739. },
  33740. "marginvalue": {
  33741. "description": "期初均价",
  33742. "type": "number"
  33743. },
  33744. "marketid": {
  33745. "description": "市场ID",
  33746. "type": "integer"
  33747. },
  33748. "matchusername": {
  33749. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  33750. "type": "string"
  33751. },
  33752. "minivalue": {
  33753. "description": "现货商品最小变动值",
  33754. "type": "integer"
  33755. },
  33756. "optioncompare": {
  33757. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33758. "type": "string"
  33759. },
  33760. "orderqty": {
  33761. "description": "委托数量",
  33762. "type": "number"
  33763. },
  33764. "ordertime": {
  33765. "description": "委托时间(挂牌时间)",
  33766. "type": "string"
  33767. },
  33768. "performancetemplateid": {
  33769. "description": "履约模板id",
  33770. "type": "integer"
  33771. },
  33772. "pricemove": {
  33773. "description": "升贴水(浮动价时填写) - [挂牌]",
  33774. "type": "number"
  33775. },
  33776. "taname": {
  33777. "description": "交易用户名称(资金账号名称)",
  33778. "type": "string"
  33779. },
  33780. "thumurls": {
  33781. "description": "缩略图",
  33782. "type": "string"
  33783. },
  33784. "tradedate": {
  33785. "description": "交易日(yyyyMMdd)",
  33786. "type": "string"
  33787. },
  33788. "tradeprice": {
  33789. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33790. "type": "number"
  33791. },
  33792. "tradeqty": {
  33793. "description": "成交数量",
  33794. "type": "number"
  33795. },
  33796. "userid": {
  33797. "description": "用户ID",
  33798. "type": "integer"
  33799. },
  33800. "validtime": {
  33801. "description": "挂牌有效期",
  33802. "type": "string"
  33803. },
  33804. "validtype": {
  33805. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33806. "type": "integer"
  33807. },
  33808. "warehouseid": {
  33809. "description": "仓库ID",
  33810. "type": "integer"
  33811. },
  33812. "warehousename": {
  33813. "description": "仓库名称",
  33814. "type": "string"
  33815. },
  33816. "wrfactortypeid": {
  33817. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33818. "type": "string"
  33819. },
  33820. "wrfactortypename": {
  33821. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33822. "type": "string"
  33823. },
  33824. "wrpricetype": {
  33825. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33826. "type": "integer"
  33827. },
  33828. "wrstandardcode": {
  33829. "description": "现货商品代码",
  33830. "type": "string"
  33831. },
  33832. "wrstandardid": {
  33833. "description": "现货商品ID",
  33834. "type": "integer"
  33835. },
  33836. "wrstandardname": {
  33837. "description": "商品名称",
  33838. "type": "string"
  33839. },
  33840. "wrtradeorderid": {
  33841. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33842. "type": "string"
  33843. },
  33844. "wrtradeorderstatus": {
  33845. "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:撤单解冻贷款失败",
  33846. "type": "integer"
  33847. },
  33848. "wrtradetype": {
  33849. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33850. "type": "integer"
  33851. },
  33852. "wrtypename": {
  33853. "description": "商品",
  33854. "type": "string"
  33855. }
  33856. }
  33857. },
  33858. "models.WrOrderQuote": {
  33859. "type": "object",
  33860. "properties": {
  33861. "bannerpicurl": {
  33862. "description": "Banner图",
  33863. "type": "string"
  33864. },
  33865. "buyprice": {
  33866. "description": "买价",
  33867. "type": "number"
  33868. },
  33869. "buypricemove": {
  33870. "description": "买升贴水(基差)",
  33871. "type": "number"
  33872. },
  33873. "buyqty": {
  33874. "description": "买量",
  33875. "type": "number"
  33876. },
  33877. "deliverygoodscode": {
  33878. "description": "品种代码",
  33879. "type": "string"
  33880. },
  33881. "deliverygoodsid": {
  33882. "description": "品种id",
  33883. "type": "integer"
  33884. },
  33885. "deliverygoodsname": {
  33886. "description": "品种名称",
  33887. "type": "string"
  33888. },
  33889. "deliverymonth": {
  33890. "description": "交收月",
  33891. "type": "string"
  33892. },
  33893. "enumdicname": {
  33894. "description": "单位名称",
  33895. "type": "string"
  33896. },
  33897. "goodscode": {
  33898. "description": "商品合约(浮动价列表才有)",
  33899. "type": "string"
  33900. },
  33901. "goodsid": {
  33902. "description": "商品id(浮动价列表才有)",
  33903. "type": "integer"
  33904. },
  33905. "minivalue": {
  33906. "description": "现货商品最小变动值",
  33907. "type": "integer"
  33908. },
  33909. "pictureurls": {
  33910. "description": "详情图片(逗号分隔)",
  33911. "type": "string"
  33912. },
  33913. "sellprice": {
  33914. "description": "卖价",
  33915. "type": "number"
  33916. },
  33917. "sellpricemove": {
  33918. "description": "卖升贴水(基差)",
  33919. "type": "number"
  33920. },
  33921. "sellqty": {
  33922. "description": "卖量",
  33923. "type": "number"
  33924. },
  33925. "thumurls": {
  33926. "description": "缩略图片(1:1)(逗号分隔)",
  33927. "type": "string"
  33928. },
  33929. "warehousecode": {
  33930. "description": "仓库代码",
  33931. "type": "string"
  33932. },
  33933. "warehouseid": {
  33934. "description": "仓库id",
  33935. "type": "integer"
  33936. },
  33937. "warehousename": {
  33938. "description": "仓库名称",
  33939. "type": "string"
  33940. },
  33941. "wrfactortypeid": {
  33942. "description": "仓单要素id",
  33943. "type": "string"
  33944. },
  33945. "wrfactortypename": {
  33946. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33947. "type": "string"
  33948. },
  33949. "wrgoodsname": {
  33950. "description": "商品(商品名称+仓库要素名称 拼接)",
  33951. "type": "string"
  33952. },
  33953. "wrstandardcode": {
  33954. "description": "商品代码",
  33955. "type": "string"
  33956. },
  33957. "wrstandardid": {
  33958. "description": "商品id",
  33959. "type": "integer"
  33960. },
  33961. "wrstandardname": {
  33962. "description": "商品名称",
  33963. "type": "string"
  33964. }
  33965. }
  33966. },
  33967. "models.WrOrderQuoteDetail": {
  33968. "type": "object",
  33969. "properties": {
  33970. "buyorsell": {
  33971. "description": "买卖 - 0:买 1:卖",
  33972. "type": "integer"
  33973. },
  33974. "delistminqty": {
  33975. "description": "期初均价",
  33976. "type": "number"
  33977. },
  33978. "deliverymonth": {
  33979. "description": "交收月",
  33980. "type": "string"
  33981. },
  33982. "enumdicname": {
  33983. "description": "单位名称",
  33984. "type": "string"
  33985. },
  33986. "fixedprice": {
  33987. "description": "买(卖)价",
  33988. "type": "number"
  33989. },
  33990. "marketid": {
  33991. "description": "市场id",
  33992. "type": "integer"
  33993. },
  33994. "minivalue": {
  33995. "description": "现货商品最小变动值",
  33996. "type": "integer"
  33997. },
  33998. "orderqty": {
  33999. "description": "买(卖)量(=委托量-成交量)",
  34000. "type": "number"
  34001. },
  34002. "ordertime": {
  34003. "description": "委托时间",
  34004. "type": "string"
  34005. },
  34006. "pricemove": {
  34007. "description": "买(卖)升贴水- 基差",
  34008. "type": "number"
  34009. },
  34010. "userid": {
  34011. "description": "购买方(销售方)用户ID",
  34012. "type": "integer"
  34013. },
  34014. "username": {
  34015. "description": "购买方(销售方)",
  34016. "type": "string"
  34017. },
  34018. "wrtradeorderid": {
  34019. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34020. "type": "string"
  34021. }
  34022. }
  34023. },
  34024. "models.WrOutInApply": {
  34025. "type": "object",
  34026. "properties": {
  34027. "applyid": {
  34028. "description": "申请单id",
  34029. "type": "string"
  34030. },
  34031. "applystatus": {
  34032. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  34033. "type": "integer"
  34034. },
  34035. "applytime": {
  34036. "description": "申请时间",
  34037. "type": "string"
  34038. },
  34039. "applytype": {
  34040. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  34041. "type": "integer"
  34042. },
  34043. "bannerpicurl": {
  34044. "description": "Banner图",
  34045. "type": "string"
  34046. },
  34047. "begindate": {
  34048. "description": "开始交易日(yyyymmdd)",
  34049. "type": "string"
  34050. },
  34051. "deliverygoodscode": {
  34052. "description": "品种代码",
  34053. "type": "string"
  34054. },
  34055. "deliverygoodsid": {
  34056. "description": "品种ID",
  34057. "type": "integer"
  34058. },
  34059. "deliverygoodsname": {
  34060. "description": "品种名称",
  34061. "type": "string"
  34062. },
  34063. "enddate": {
  34064. "description": "结束交易日(yyyymmdd)",
  34065. "type": "string"
  34066. },
  34067. "enumdicname": {
  34068. "description": "单位名称",
  34069. "type": "string"
  34070. },
  34071. "expresscompany": {
  34072. "description": "物流公司",
  34073. "type": "string"
  34074. },
  34075. "expressnum": {
  34076. "description": "物流单号",
  34077. "type": "string"
  34078. },
  34079. "minivalue": {
  34080. "description": "现货商品最小变动值",
  34081. "type": "integer"
  34082. },
  34083. "optioncompare": {
  34084. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34085. "type": "string"
  34086. },
  34087. "qty": {
  34088. "description": "数量",
  34089. "type": "integer"
  34090. },
  34091. "userid": {
  34092. "description": "用户id",
  34093. "type": "integer"
  34094. },
  34095. "warehouseid": {
  34096. "description": "仓库ID",
  34097. "type": "integer"
  34098. },
  34099. "warehousename": {
  34100. "description": "仓库名称",
  34101. "type": "string"
  34102. },
  34103. "wrfactortypeid": {
  34104. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34105. "type": "string"
  34106. },
  34107. "wrfactortypename": {
  34108. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34109. "type": "string"
  34110. },
  34111. "wrstandardcode": {
  34112. "description": "现货商品代码",
  34113. "type": "string"
  34114. },
  34115. "wrstandardid": {
  34116. "description": "现货商品ID",
  34117. "type": "integer"
  34118. },
  34119. "wrstandardname": {
  34120. "description": "商品名称",
  34121. "type": "string"
  34122. },
  34123. "wrtypename": {
  34124. "description": "商品",
  34125. "type": "string"
  34126. }
  34127. }
  34128. },
  34129. "models.WrPerformancePlan": {
  34130. "type": "object",
  34131. "required": [
  34132. "userid"
  34133. ],
  34134. "properties": {
  34135. "activatemonth": {
  34136. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  34137. "type": "string"
  34138. },
  34139. "amount": {
  34140. "description": "履约金额(总金额)",
  34141. "type": "number"
  34142. },
  34143. "begindate": {
  34144. "description": "开始交易日(yyyymmdd)",
  34145. "type": "string"
  34146. },
  34147. "buyaccountid": {
  34148. "description": "买方账号",
  34149. "type": "integer"
  34150. },
  34151. "buyerfreezeamount": {
  34152. "description": "履约冻结(买履约)",
  34153. "type": "number"
  34154. },
  34155. "buyerfreezeamountremain": {
  34156. "description": "履约冻结剩余(买履约)",
  34157. "type": "number"
  34158. },
  34159. "buyorsell": {
  34160. "description": "买卖方向 0-买 1-卖",
  34161. "type": "integer"
  34162. },
  34163. "buypaidamount": {
  34164. "description": "买方已冻/已扣金额 (已付金额)",
  34165. "type": "number"
  34166. },
  34167. "buyusername": {
  34168. "description": "买方名字",
  34169. "type": "string"
  34170. },
  34171. "contractid": {
  34172. "description": "合同ID",
  34173. "type": "integer"
  34174. },
  34175. "createtime": {
  34176. "description": "创建时间",
  34177. "type": "string"
  34178. },
  34179. "creatorid": {
  34180. "description": "创建人",
  34181. "type": "integer"
  34182. },
  34183. "curstepdeadline": {
  34184. "description": "当前步骤到期时间",
  34185. "type": "string"
  34186. },
  34187. "curstepid": {
  34188. "description": "当前步骤ID",
  34189. "type": "string"
  34190. },
  34191. "curstepname": {
  34192. "description": "当前步骤名称",
  34193. "type": "string"
  34194. },
  34195. "deliverygoodscode": {
  34196. "description": "品种代码",
  34197. "type": "string"
  34198. },
  34199. "deliverygoodsid": {
  34200. "description": "品种ID",
  34201. "type": "integer"
  34202. },
  34203. "deliverygoodsname": {
  34204. "description": "品种名称",
  34205. "type": "string"
  34206. },
  34207. "enddate": {
  34208. "description": "结束交易日(yyyymmdd)",
  34209. "type": "string"
  34210. },
  34211. "enumdicname": {
  34212. "description": "单位名称",
  34213. "type": "string"
  34214. },
  34215. "expressfee": {
  34216. "description": "运费",
  34217. "type": "number"
  34218. },
  34219. "expressfeeconfirmed": {
  34220. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  34221. "type": "integer"
  34222. },
  34223. "hasovershort": {
  34224. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  34225. "type": "integer"
  34226. },
  34227. "haswr": {
  34228. "description": "类型 0-仓单预售 1-仓单贸易",
  34229. "type": "integer"
  34230. },
  34231. "marketid": {
  34232. "description": "市场ID",
  34233. "type": "integer"
  34234. },
  34235. "middleaccountid": {
  34236. "description": "中间商资金账号ID",
  34237. "type": "integer"
  34238. },
  34239. "middleuserid": {
  34240. "description": "中间商用户ID",
  34241. "type": "integer"
  34242. },
  34243. "minivalue": {
  34244. "description": "现货商品最小变动值",
  34245. "type": "integer"
  34246. },
  34247. "optioncompare": {
  34248. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34249. "type": "string"
  34250. },
  34251. "overshortamount": {
  34252. "description": "溢短金额",
  34253. "type": "number"
  34254. },
  34255. "overshortqty": {
  34256. "description": "溢短数量",
  34257. "type": "number"
  34258. },
  34259. "paymenttype": {
  34260. "description": "付款方式 - 1:冻结 2:扣款",
  34261. "type": "integer"
  34262. },
  34263. "performanceplanid": {
  34264. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  34265. "type": "string"
  34266. },
  34267. "performancestatus": {
  34268. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  34269. "type": "integer"
  34270. },
  34271. "performancetype": {
  34272. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  34273. "type": "integer"
  34274. },
  34275. "qty": {
  34276. "description": "履约数量",
  34277. "type": "number"
  34278. },
  34279. "relatedorderid": {
  34280. "description": "关联单号(履约类型的关联单号)",
  34281. "type": "string"
  34282. },
  34283. "remark": {
  34284. "description": "备注",
  34285. "type": "string"
  34286. },
  34287. "sellaccountid": {
  34288. "description": "卖方账号",
  34289. "type": "integer"
  34290. },
  34291. "sellerfreezeamount": {
  34292. "description": "履约冻结(卖履约)",
  34293. "type": "number"
  34294. },
  34295. "sellerfreezeamountremain": {
  34296. "description": "履约冻结剩余(卖履约)",
  34297. "type": "number"
  34298. },
  34299. "sellreceivedamount": {
  34300. "description": "卖方已收金额",
  34301. "type": "number"
  34302. },
  34303. "sellusername": {
  34304. "description": "卖方名字",
  34305. "type": "string"
  34306. },
  34307. "shipremark": {
  34308. "description": "发货备注[物流单号]",
  34309. "type": "string"
  34310. },
  34311. "starttime": {
  34312. "description": "开始时间",
  34313. "type": "string"
  34314. },
  34315. "steptypeid": {
  34316. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34317. "type": "integer"
  34318. },
  34319. "typename": {
  34320. "description": "履约类型 名称",
  34321. "type": "string"
  34322. },
  34323. "unpaidamount": {
  34324. "description": "期初均价",
  34325. "type": "number"
  34326. },
  34327. "userid": {
  34328. "description": "用户id",
  34329. "type": "integer"
  34330. },
  34331. "warehouseid": {
  34332. "description": "仓库ID",
  34333. "type": "integer"
  34334. },
  34335. "warehousename": {
  34336. "description": "仓库名称",
  34337. "type": "string"
  34338. },
  34339. "wrfactortypeid": {
  34340. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34341. "type": "string"
  34342. },
  34343. "wrfactortypename": {
  34344. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34345. "type": "string"
  34346. },
  34347. "wrstandardcode": {
  34348. "description": "现货商品代码",
  34349. "type": "string"
  34350. },
  34351. "wrstandardid": {
  34352. "description": "现货商品ID",
  34353. "type": "integer"
  34354. },
  34355. "wrstandardname": {
  34356. "description": "商品名称",
  34357. "type": "string"
  34358. },
  34359. "wrtransferuserid": {
  34360. "description": "仓单受让用户",
  34361. "type": "integer"
  34362. },
  34363. "wrtypename": {
  34364. "description": "商品",
  34365. "type": "string"
  34366. }
  34367. }
  34368. },
  34369. "models.WrPerformancePlanStep": {
  34370. "type": "object",
  34371. "properties": {
  34372. "delaydays": {
  34373. "description": "延期申请天数",
  34374. "type": "integer"
  34375. },
  34376. "deliverygoodscode": {
  34377. "description": "品种代码",
  34378. "type": "string"
  34379. },
  34380. "deliverygoodsid": {
  34381. "description": "品种ID",
  34382. "type": "integer"
  34383. },
  34384. "deliverygoodsname": {
  34385. "description": "品种名称",
  34386. "type": "string"
  34387. },
  34388. "endtime": {
  34389. "description": "结束日期",
  34390. "type": "string"
  34391. },
  34392. "enumdicname": {
  34393. "description": "单位名称",
  34394. "type": "string"
  34395. },
  34396. "executeside": {
  34397. "description": "步骤执行方 - 1:买方 2:卖方",
  34398. "type": "integer"
  34399. },
  34400. "handlestatus": {
  34401. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  34402. "type": "integer"
  34403. },
  34404. "isauto": {
  34405. "description": "是否自动 - 0:不自动 1:自动",
  34406. "type": "integer"
  34407. },
  34408. "islastreceivestep": {
  34409. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  34410. "type": "integer"
  34411. },
  34412. "minivalue": {
  34413. "description": "现货商品最小变动值",
  34414. "type": "integer"
  34415. },
  34416. "optioncompare": {
  34417. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34418. "type": "string"
  34419. },
  34420. "overdays": {
  34421. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  34422. "type": "integer"
  34423. },
  34424. "performancestepid": {
  34425. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  34426. "type": "string"
  34427. },
  34428. "planid": {
  34429. "description": "所属履约计划ID",
  34430. "type": "string"
  34431. },
  34432. "realamount": {
  34433. "description": "实际完成金额",
  34434. "type": "number"
  34435. },
  34436. "relatedorderid": {
  34437. "description": "关联单号",
  34438. "type": "string"
  34439. },
  34440. "remaindays": {
  34441. "description": "剩余天数",
  34442. "type": "integer"
  34443. },
  34444. "remark": {
  34445. "description": "错误备注",
  34446. "type": "string"
  34447. },
  34448. "starttime": {
  34449. "description": "开始日期",
  34450. "type": "string"
  34451. },
  34452. "stepamount": {
  34453. "description": "步骤金额",
  34454. "type": "number"
  34455. },
  34456. "stepdays": {
  34457. "description": "距离上一步天数(分钟)",
  34458. "type": "integer"
  34459. },
  34460. "stepindex": {
  34461. "description": "步骤序号",
  34462. "type": "integer"
  34463. },
  34464. "steplanchtype": {
  34465. "description": "步骤启动类型 - 1:系统自动 2:手动",
  34466. "type": "integer"
  34467. },
  34468. "stepremark": {
  34469. "description": "步骤备注",
  34470. "type": "string"
  34471. },
  34472. "stepstatus": {
  34473. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  34474. "type": "integer"
  34475. },
  34476. "steptypeid": {
  34477. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34478. "type": "integer"
  34479. },
  34480. "steptypename": {
  34481. "description": "步骤名称",
  34482. "type": "string"
  34483. },
  34484. "stepvalue": {
  34485. "description": "步骤值",
  34486. "type": "number"
  34487. },
  34488. "warehouseid": {
  34489. "description": "仓库ID",
  34490. "type": "integer"
  34491. },
  34492. "warehousename": {
  34493. "description": "仓库名称",
  34494. "type": "string"
  34495. },
  34496. "wrfactortypeid": {
  34497. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34498. "type": "string"
  34499. },
  34500. "wrfactortypename": {
  34501. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34502. "type": "string"
  34503. },
  34504. "wrstandardcode": {
  34505. "description": "现货商品代码",
  34506. "type": "string"
  34507. },
  34508. "wrstandardid": {
  34509. "description": "现货商品ID",
  34510. "type": "integer"
  34511. },
  34512. "wrstandardname": {
  34513. "description": "商品名称",
  34514. "type": "string"
  34515. },
  34516. "wrtypename": {
  34517. "description": "商品",
  34518. "type": "string"
  34519. }
  34520. }
  34521. },
  34522. "models.WrPerformanceStepType": {
  34523. "type": "object",
  34524. "properties": {
  34525. "canauto": {
  34526. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  34527. "type": "integer"
  34528. },
  34529. "steptypeid": {
  34530. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  34531. "type": "integer"
  34532. },
  34533. "steptypename": {
  34534. "description": "步骤类型名称",
  34535. "type": "string"
  34536. }
  34537. }
  34538. },
  34539. "models.WrPerformanceTemplateEx": {
  34540. "type": "object",
  34541. "properties": {
  34542. "autoid": {
  34543. "description": "AutoID 模板id",
  34544. "type": "integer"
  34545. },
  34546. "createtime": {
  34547. "description": "创建时间",
  34548. "type": "string"
  34549. },
  34550. "creatorid": {
  34551. "description": "创建人",
  34552. "type": "integer"
  34553. },
  34554. "lstStep": {
  34555. "description": "步骤信息列表",
  34556. "type": "array",
  34557. "items": {
  34558. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34559. }
  34560. },
  34561. "paymenttype": {
  34562. "description": "支付方式 - 1:冻结 2:扣款",
  34563. "type": "integer"
  34564. },
  34565. "takemode": {
  34566. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  34567. "type": "integer"
  34568. },
  34569. "templatename": {
  34570. "description": "模板名称",
  34571. "type": "string"
  34572. },
  34573. "templatetype": {
  34574. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  34575. "type": "integer"
  34576. },
  34577. "userid": {
  34578. "description": "所属用户",
  34579. "type": "integer"
  34580. }
  34581. }
  34582. },
  34583. "models.WrPosition": {
  34584. "type": "object",
  34585. "properties": {
  34586. "accountid": {
  34587. "description": "帐户ID",
  34588. "type": "integer"
  34589. },
  34590. "buyexcuteqty": {
  34591. "description": "采购履约中数量",
  34592. "type": "number"
  34593. },
  34594. "creditcurqty": {
  34595. "description": "授信当前数量(预售仓单:预售当前量)",
  34596. "type": "number"
  34597. },
  34598. "creditenableqty": {
  34599. "description": "授信可用数量(预售仓单: 可用数量)",
  34600. "type": "number"
  34601. },
  34602. "creditfreezeqty": {
  34603. "description": "授信冻结数量(预售仓单: 当前数量)",
  34604. "type": "number"
  34605. },
  34606. "credittotalqty": {
  34607. "description": "授信总数量(预售仓单:预售总量)",
  34608. "type": "number"
  34609. },
  34610. "credittradeqty": {
  34611. "description": "授信成交数量(预售仓单:成交总量)",
  34612. "type": "number"
  34613. },
  34614. "deliverygoodscode": {
  34615. "description": "品种代码",
  34616. "type": "string"
  34617. },
  34618. "deliverygoodsid": {
  34619. "description": "品种ID",
  34620. "type": "integer"
  34621. },
  34622. "deliverygoodsname": {
  34623. "description": "品种名称",
  34624. "type": "string"
  34625. },
  34626. "enalbeqty": {
  34627. "description": "可用数量",
  34628. "type": "number"
  34629. },
  34630. "enumdicname": {
  34631. "description": "单位名称",
  34632. "type": "string"
  34633. },
  34634. "freezeqty": {
  34635. "description": "总冻结数量",
  34636. "type": "number"
  34637. },
  34638. "haswr": {
  34639. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34640. "type": "integer"
  34641. },
  34642. "minivalue": {
  34643. "description": "现货商品最小变动值",
  34644. "type": "integer"
  34645. },
  34646. "modifytime": {
  34647. "description": "修改时间(过户时间)",
  34648. "type": "string"
  34649. },
  34650. "optioncompare": {
  34651. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34652. "type": "string"
  34653. },
  34654. "pledgeqty": {
  34655. "description": "质押数量",
  34656. "type": "number"
  34657. },
  34658. "querytype": {
  34659. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  34660. "type": "integer"
  34661. },
  34662. "sellexcuteqty": {
  34663. "description": "销售履约中数量",
  34664. "type": "number"
  34665. },
  34666. "totalqty": {
  34667. "description": "总数量(库存数量)",
  34668. "type": "number"
  34669. },
  34670. "warehouseid": {
  34671. "description": "仓库ID",
  34672. "type": "integer"
  34673. },
  34674. "warehousename": {
  34675. "description": "仓库名称",
  34676. "type": "string"
  34677. },
  34678. "wrfactortypeid": {
  34679. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34680. "type": "string"
  34681. },
  34682. "wrfactortypename": {
  34683. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34684. "type": "string"
  34685. },
  34686. "wrpositionid": {
  34687. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  34688. "type": "string"
  34689. },
  34690. "wrpositionno": {
  34691. "description": "仓单编号",
  34692. "type": "string"
  34693. },
  34694. "wrstandardcode": {
  34695. "description": "现货商品代码",
  34696. "type": "string"
  34697. },
  34698. "wrstandardid": {
  34699. "description": "现货商品ID",
  34700. "type": "integer"
  34701. },
  34702. "wrstandardname": {
  34703. "description": "商品名称",
  34704. "type": "string"
  34705. },
  34706. "wrtypename": {
  34707. "description": "商品",
  34708. "type": "string"
  34709. },
  34710. "wruserid": {
  34711. "description": "持有人ID",
  34712. "type": "integer"
  34713. }
  34714. }
  34715. },
  34716. "models.WrPreSaleInfo": {
  34717. "type": "object",
  34718. "properties": {
  34719. "bannerpicurl": {
  34720. "description": "Banner图",
  34721. "type": "string"
  34722. },
  34723. "baseqty": {
  34724. "description": "中签基数",
  34725. "type": "number"
  34726. },
  34727. "createtime": {
  34728. "description": "创建时间",
  34729. "type": "string"
  34730. },
  34731. "deliverygoodsid": {
  34732. "description": "现货品种ID",
  34733. "type": "integer"
  34734. },
  34735. "enddate": {
  34736. "description": "预售结束日期",
  34737. "type": "string"
  34738. },
  34739. "enumdicname": {
  34740. "description": "单位名称",
  34741. "type": "string"
  34742. },
  34743. "lotteryflag": {
  34744. "description": "摇号标识 - 0:未摇号 1:已摇号",
  34745. "type": "integer"
  34746. },
  34747. "lotteryqty": {
  34748. "description": "摇号总量",
  34749. "type": "number"
  34750. },
  34751. "luckyqty": {
  34752. "description": "已中签量",
  34753. "type": "number"
  34754. },
  34755. "marketid": {
  34756. "description": "市场ID",
  34757. "type": "integer"
  34758. },
  34759. "maxbuyqty": {
  34760. "description": "单人最大申购量",
  34761. "type": "number"
  34762. },
  34763. "maxluckyqty": {
  34764. "description": "单人最大中签量",
  34765. "type": "number"
  34766. },
  34767. "pictureurls": {
  34768. "description": "详情图片(逗号分隔)",
  34769. "type": "string"
  34770. },
  34771. "placeqty": {
  34772. "description": "已配售量",
  34773. "type": "number"
  34774. },
  34775. "presaleapplyid": {
  34776. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  34777. "type": "string",
  34778. "example": "0"
  34779. },
  34780. "presaleqty": {
  34781. "description": "预售总量",
  34782. "type": "number"
  34783. },
  34784. "presalestatus": {
  34785. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  34786. "type": "integer"
  34787. },
  34788. "sellaccountid": {
  34789. "description": "发行方资金账户ID",
  34790. "type": "integer"
  34791. },
  34792. "selluserid": {
  34793. "description": "发行方用户ID",
  34794. "type": "integer"
  34795. },
  34796. "sellwrtradeorderid": {
  34797. "description": "发行方卖委托单ID",
  34798. "type": "string"
  34799. },
  34800. "startdate": {
  34801. "description": "预售开始日期",
  34802. "type": "string"
  34803. },
  34804. "takestartdate": {
  34805. "description": "提货开始日期",
  34806. "type": "string"
  34807. },
  34808. "thumurls": {
  34809. "description": "缩略图片(1:1)(逗号分隔)",
  34810. "type": "string"
  34811. },
  34812. "tradedate": {
  34813. "description": "交易日",
  34814. "type": "string"
  34815. },
  34816. "unitid": {
  34817. "description": "单位ID",
  34818. "type": "integer"
  34819. },
  34820. "unitprice": {
  34821. "description": "商品单价",
  34822. "type": "number"
  34823. },
  34824. "username": {
  34825. "description": "发行方用户名称",
  34826. "type": "string"
  34827. },
  34828. "warehousecode": {
  34829. "description": "仓库代码(仓库简称)",
  34830. "type": "string"
  34831. },
  34832. "warehouseid": {
  34833. "description": "仓库ID",
  34834. "type": "integer"
  34835. },
  34836. "warehousename": {
  34837. "description": "仓库名称",
  34838. "type": "string"
  34839. },
  34840. "wrfactortypeid": {
  34841. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  34842. "type": "string",
  34843. "example": "0"
  34844. },
  34845. "wrstandardid": {
  34846. "description": "现货商品ID",
  34847. "type": "integer"
  34848. },
  34849. "wrstandardname": {
  34850. "description": "现货商品名称",
  34851. "type": "string"
  34852. }
  34853. }
  34854. },
  34855. "models.WrQuoteOrderMyq": {
  34856. "type": "object",
  34857. "properties": {
  34858. "buyorsell": {
  34859. "description": "买卖 - 0:买 1:卖",
  34860. "type": "integer"
  34861. },
  34862. "canbargain": {
  34863. "description": "是否可议价 - 0:不可 1:可",
  34864. "type": "integer"
  34865. },
  34866. "canpart": {
  34867. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  34868. "type": "integer"
  34869. },
  34870. "delistminqty": {
  34871. "description": "期初均价",
  34872. "type": "number"
  34873. },
  34874. "deliverygoodscode": {
  34875. "description": "品种代码",
  34876. "type": "string"
  34877. },
  34878. "deliverygoodsid": {
  34879. "description": "品种ID",
  34880. "type": "integer"
  34881. },
  34882. "deliverygoodsname": {
  34883. "description": "品种名称",
  34884. "type": "string"
  34885. },
  34886. "deliverymonth": {
  34887. "description": "交收月",
  34888. "type": "string"
  34889. },
  34890. "enumdicname": {
  34891. "description": "单位名称",
  34892. "type": "string"
  34893. },
  34894. "fixedprice": {
  34895. "description": "买(卖)价",
  34896. "type": "number"
  34897. },
  34898. "goodscode": {
  34899. "description": "商品合约代码",
  34900. "type": "string"
  34901. },
  34902. "marginflag": {
  34903. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  34904. "type": "integer"
  34905. },
  34906. "marginvalue": {
  34907. "description": "保证金设置值",
  34908. "type": "number"
  34909. },
  34910. "minivalue": {
  34911. "description": "现货商品最小变动值",
  34912. "type": "integer"
  34913. },
  34914. "orderqty": {
  34915. "description": "买(卖)量(=委托量-成交量)",
  34916. "type": "number"
  34917. },
  34918. "ordertime": {
  34919. "description": "委托时间",
  34920. "type": "string"
  34921. },
  34922. "performancetemplateid": {
  34923. "description": "履约模板id",
  34924. "type": "integer"
  34925. },
  34926. "pricemove": {
  34927. "description": "买(卖)升贴水- 基差",
  34928. "type": "number"
  34929. },
  34930. "templatename": {
  34931. "description": "履约模板名称",
  34932. "type": "string"
  34933. },
  34934. "userid": {
  34935. "description": "购买方(销售方)用户ID",
  34936. "type": "integer"
  34937. },
  34938. "username": {
  34939. "description": "购买方(销售方)",
  34940. "type": "string"
  34941. },
  34942. "validtime": {
  34943. "description": "有效期限",
  34944. "type": "string"
  34945. },
  34946. "validtype": {
  34947. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  34948. "type": "integer"
  34949. },
  34950. "warehousename": {
  34951. "description": "仓库名称",
  34952. "type": "string"
  34953. },
  34954. "wrfactortypeid": {
  34955. "description": "仓单要素id",
  34956. "type": "string"
  34957. },
  34958. "wrstandardcode": {
  34959. "description": "现货商品代码",
  34960. "type": "string"
  34961. },
  34962. "wrstandardid": {
  34963. "description": "现货商品ID",
  34964. "type": "integer"
  34965. },
  34966. "wrstandardname": {
  34967. "description": "商品名称",
  34968. "type": "string"
  34969. },
  34970. "wrtradeorderid": {
  34971. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34972. "type": "string"
  34973. },
  34974. "wrtypename": {
  34975. "description": "商品",
  34976. "type": "string"
  34977. }
  34978. }
  34979. },
  34980. "models.WrReckonSpotGoodsTradeSum": {
  34981. "type": "object",
  34982. "properties": {
  34983. "begindate": {
  34984. "description": "开始日期(结果含开始日期) yyyymmdd",
  34985. "type": "string"
  34986. },
  34987. "enddate": {
  34988. "description": "结束日期(结果含结束日期) yyyymmdd",
  34989. "type": "string"
  34990. },
  34991. "istoday": {
  34992. "description": "是否当日",
  34993. "type": "boolean"
  34994. },
  34995. "marketid": {
  34996. "description": "市场ID",
  34997. "type": "integer"
  34998. },
  34999. "price": {
  35000. "description": "价格 = 日成交金额 / 日成交数量",
  35001. "type": "string"
  35002. },
  35003. "reckondate": {
  35004. "description": "日期 格式 yyyymmdd",
  35005. "type": "string"
  35006. },
  35007. "tradeamount": {
  35008. "description": "期初均价",
  35009. "type": "number"
  35010. },
  35011. "tradeqty": {
  35012. "description": "期初均价",
  35013. "type": "number"
  35014. },
  35015. "wrstandardid": {
  35016. "description": "现货商品ID",
  35017. "type": "integer"
  35018. }
  35019. }
  35020. },
  35021. "models.WrScfContract": {
  35022. "type": "object",
  35023. "properties": {
  35024. "borroweruserid": {
  35025. "description": "借款用户ID",
  35026. "type": "integer"
  35027. },
  35028. "buybackwrpositionqty": {
  35029. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35030. "type": "number"
  35031. },
  35032. "closeinterest": {
  35033. "description": "已结利息 -\u003e 已结费用",
  35034. "type": "number"
  35035. },
  35036. "currisklevel": {
  35037. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35038. "type": "integer"
  35039. },
  35040. "deadline": {
  35041. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35042. "type": "string"
  35043. },
  35044. "deliverygoodscode": {
  35045. "description": "品种代码",
  35046. "type": "string"
  35047. },
  35048. "deliverygoodsid": {
  35049. "description": "品种ID",
  35050. "type": "integer"
  35051. },
  35052. "deliverygoodsname": {
  35053. "description": "品种名称",
  35054. "type": "string"
  35055. },
  35056. "enumdicname": {
  35057. "description": "单位名称",
  35058. "type": "string"
  35059. },
  35060. "financingdays": {
  35061. "description": "天数(天)",
  35062. "type": "integer"
  35063. },
  35064. "initmargin": {
  35065. "description": "保证金 - [仓单回购]",
  35066. "type": "number"
  35067. },
  35068. "interestamount": {
  35069. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35070. "type": "number"
  35071. },
  35072. "interestdebt": {
  35073. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35074. "type": "number"
  35075. },
  35076. "interestminlen": {
  35077. "description": "最小起息天数",
  35078. "type": "integer"
  35079. },
  35080. "interestrate": {
  35081. "description": "利率",
  35082. "type": "number"
  35083. },
  35084. "interestratemode": {
  35085. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35086. "type": "integer"
  35087. },
  35088. "interestsettlemode": {
  35089. "description": "结息方式 - 1:按日结息 3:按月结息",
  35090. "type": "integer"
  35091. },
  35092. "interestsettlevalue": {
  35093. "description": "结息方式值",
  35094. "type": "integer"
  35095. },
  35096. "isautoloan": {
  35097. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  35098. "type": "integer"
  35099. },
  35100. "lastcloseinterestday": {
  35101. "description": "最近结息日(yyyyMMdd)",
  35102. "type": "string"
  35103. },
  35104. "lenderamount": {
  35105. "description": "贷款金额 -\u003e 借款金额",
  35106. "type": "number"
  35107. },
  35108. "lenderuserid": {
  35109. "description": "贷款方用户ID -\u003e 融出方用户ID",
  35110. "type": "integer"
  35111. },
  35112. "lenderusername": {
  35113. "description": "融出方",
  35114. "type": "string"
  35115. },
  35116. "marginratio": {
  35117. "description": "保证金比率质押率 - [仓单质押]",
  35118. "type": "number"
  35119. },
  35120. "marketid": {
  35121. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  35122. "type": "integer"
  35123. },
  35124. "minivalue": {
  35125. "description": "现货商品最小变动值",
  35126. "type": "integer"
  35127. },
  35128. "optioncompare": {
  35129. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35130. "type": "string"
  35131. },
  35132. "pricemove": {
  35133. "description": "估值升贴水值",
  35134. "type": "number"
  35135. },
  35136. "productdetailid": {
  35137. "description": "产品组合ID",
  35138. "type": "integer"
  35139. },
  35140. "productid": {
  35141. "description": "金融产品ID",
  35142. "type": "integer"
  35143. },
  35144. "productname": {
  35145. "description": "产品名称",
  35146. "type": "string"
  35147. },
  35148. "remainamount": {
  35149. "description": "合同剩余金额 -\u003e 剩余金额",
  35150. "type": "number"
  35151. },
  35152. "remainwrpositionqty": {
  35153. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  35154. "type": "number"
  35155. },
  35156. "remark": {
  35157. "description": "备注",
  35158. "type": "string"
  35159. },
  35160. "scfcontractid": {
  35161. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35162. "type": "string"
  35163. },
  35164. "scfcontractstatus": {
  35165. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35166. "type": "integer"
  35167. },
  35168. "scfcontracttype": {
  35169. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  35170. "type": "integer"
  35171. },
  35172. "startinterestday": {
  35173. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  35174. "type": "string"
  35175. },
  35176. "totalinterest": {
  35177. "description": "已计利息 -\u003e 已计费用",
  35178. "type": "number"
  35179. },
  35180. "unpaidinterest": {
  35181. "description": "期初均价",
  35182. "type": "number"
  35183. },
  35184. "updatetime": {
  35185. "description": "更新时间",
  35186. "type": "string"
  35187. },
  35188. "warehouseid": {
  35189. "description": "仓库ID",
  35190. "type": "integer"
  35191. },
  35192. "warehousename": {
  35193. "description": "仓库名称",
  35194. "type": "string"
  35195. },
  35196. "wrfactortypeid": {
  35197. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35198. "type": "string"
  35199. },
  35200. "wrfactortypename": {
  35201. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35202. "type": "string"
  35203. },
  35204. "wrqty": {
  35205. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  35206. "type": "number"
  35207. },
  35208. "wrstandardcode": {
  35209. "description": "现货商品代码",
  35210. "type": "string"
  35211. },
  35212. "wrstandardid": {
  35213. "description": "现货商品ID",
  35214. "type": "integer"
  35215. },
  35216. "wrstandardname": {
  35217. "description": "商品名称",
  35218. "type": "string"
  35219. },
  35220. "wrtypename": {
  35221. "description": "商品",
  35222. "type": "string"
  35223. }
  35224. }
  35225. },
  35226. "models.WrScfContractInterest": {
  35227. "type": "object",
  35228. "properties": {
  35229. "closeinterest": {
  35230. "description": "已结利息",
  35231. "type": "number"
  35232. },
  35233. "closeintereststatus": {
  35234. "description": "结息状态 - 1:未结 2:已结",
  35235. "type": "integer"
  35236. },
  35237. "closetime": {
  35238. "description": "结息时间",
  35239. "type": "string"
  35240. },
  35241. "closetradedate": {
  35242. "description": "结息交易日",
  35243. "type": "string"
  35244. },
  35245. "creatorid": {
  35246. "description": "操作人ID",
  35247. "type": "integer"
  35248. },
  35249. "dayrate": {
  35250. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  35251. "type": "number"
  35252. },
  35253. "interest": {
  35254. "description": "利息",
  35255. "type": "number"
  35256. },
  35257. "interestamount": {
  35258. "description": "计息金额",
  35259. "type": "number"
  35260. },
  35261. "interestday": {
  35262. "description": "计息日(yyyyMMdd)",
  35263. "type": "string"
  35264. },
  35265. "scfcontractid": {
  35266. "description": "SCF合同ID",
  35267. "type": "string"
  35268. },
  35269. "scfcontractinterestid": {
  35270. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  35271. "type": "integer"
  35272. },
  35273. "updatetime": {
  35274. "description": "更新时间",
  35275. "type": "string"
  35276. }
  35277. }
  35278. },
  35279. "models.WrSearchUser": {
  35280. "type": "object",
  35281. "required": [
  35282. "username"
  35283. ],
  35284. "properties": {
  35285. "userid": {
  35286. "description": "用户ID",
  35287. "type": "integer"
  35288. },
  35289. "username": {
  35290. "description": "用户名称(已脱敏)",
  35291. "type": "string"
  35292. },
  35293. "username2": {
  35294. "description": "用户名称(未脱敏)",
  35295. "type": "string"
  35296. },
  35297. "usertype": {
  35298. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  35299. "type": "integer"
  35300. }
  35301. }
  35302. },
  35303. "models.WrSiteColumnDetail": {
  35304. "type": "object",
  35305. "properties": {
  35306. "brief": {
  35307. "description": "简介",
  35308. "type": "string"
  35309. },
  35310. "context": {
  35311. "description": "内容",
  35312. "type": "string"
  35313. },
  35314. "coverimage": {
  35315. "description": "封面图片",
  35316. "type": "string"
  35317. },
  35318. "creaedate": {
  35319. "description": "创建时间",
  35320. "type": "string"
  35321. },
  35322. "id": {
  35323. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35324. "type": "integer"
  35325. },
  35326. "istop": {
  35327. "description": "是否置顶 - 0:不置 1:置顶",
  35328. "type": "integer"
  35329. },
  35330. "publishdate": {
  35331. "description": "发布日期",
  35332. "type": "string"
  35333. },
  35334. "title": {
  35335. "description": "标题",
  35336. "type": "string"
  35337. },
  35338. "updatedate": {
  35339. "description": "修改时间",
  35340. "type": "string"
  35341. }
  35342. }
  35343. },
  35344. "models.WrSpecialMatchOrder": {
  35345. "type": "object",
  35346. "properties": {
  35347. "amount": {
  35348. "description": "金额 = 数量 * 价格",
  35349. "type": "number"
  35350. },
  35351. "buyorsell": {
  35352. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35353. "type": "integer"
  35354. },
  35355. "cancelqty": {
  35356. "description": "撤销数量",
  35357. "type": "number"
  35358. },
  35359. "deliverygoodscode": {
  35360. "description": "品种代码",
  35361. "type": "string"
  35362. },
  35363. "deliverygoodsid": {
  35364. "description": "品种ID",
  35365. "type": "integer"
  35366. },
  35367. "deliverygoodsname": {
  35368. "description": "品种名称",
  35369. "type": "string"
  35370. },
  35371. "enumdicname": {
  35372. "description": "单位名称",
  35373. "type": "string"
  35374. },
  35375. "fixedprice": {
  35376. "description": "固定价格(价格)",
  35377. "type": "number"
  35378. },
  35379. "haswr": {
  35380. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35381. "type": "integer"
  35382. },
  35383. "isspecified": {
  35384. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  35385. "type": "integer"
  35386. },
  35387. "marketid": {
  35388. "description": "市场ID",
  35389. "type": "integer"
  35390. },
  35391. "matchuserid": {
  35392. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  35393. "type": "integer"
  35394. },
  35395. "matchusername": {
  35396. "description": "指定方",
  35397. "type": "string"
  35398. },
  35399. "minivalue": {
  35400. "description": "现货商品最小变动值",
  35401. "type": "integer"
  35402. },
  35403. "optioncompare": {
  35404. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35405. "type": "string"
  35406. },
  35407. "orderqty": {
  35408. "description": "委托数量",
  35409. "type": "number"
  35410. },
  35411. "ordertime": {
  35412. "description": "委托时间",
  35413. "type": "string"
  35414. },
  35415. "pricemove": {
  35416. "description": "升贴水(浮动价时填写) - [挂牌]",
  35417. "type": "number"
  35418. },
  35419. "tradedate": {
  35420. "description": "交易日(yyyyMMdd)",
  35421. "type": "string"
  35422. },
  35423. "tradeprice": {
  35424. "description": "成交价格",
  35425. "type": "number"
  35426. },
  35427. "tradeqty": {
  35428. "description": "成交数量",
  35429. "type": "number"
  35430. },
  35431. "userid": {
  35432. "description": "用户ID",
  35433. "type": "integer"
  35434. },
  35435. "username": {
  35436. "description": "发起方",
  35437. "type": "string"
  35438. },
  35439. "warehouseid": {
  35440. "description": "仓库ID",
  35441. "type": "integer"
  35442. },
  35443. "warehousename": {
  35444. "description": "仓库名称",
  35445. "type": "string"
  35446. },
  35447. "wrfactortypeid": {
  35448. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35449. "type": "string"
  35450. },
  35451. "wrfactortypename": {
  35452. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35453. "type": "string"
  35454. },
  35455. "wrpricetype": {
  35456. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35457. "type": "integer"
  35458. },
  35459. "wrstandardcode": {
  35460. "description": "现货商品代码",
  35461. "type": "string"
  35462. },
  35463. "wrstandardid": {
  35464. "description": "现货商品ID",
  35465. "type": "integer"
  35466. },
  35467. "wrstandardname": {
  35468. "description": "商品名称",
  35469. "type": "string"
  35470. },
  35471. "wrtradeorderid": {
  35472. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35473. "type": "string"
  35474. },
  35475. "wrtradeorderstatus": {
  35476. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  35477. "type": "integer"
  35478. },
  35479. "wrtradetype": {
  35480. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35481. "type": "integer"
  35482. },
  35483. "wrtypename": {
  35484. "description": "商品",
  35485. "type": "string"
  35486. }
  35487. }
  35488. },
  35489. "models.WrSpotGroupTradeSum": {
  35490. "type": "object",
  35491. "properties": {
  35492. "deliverygoodscode": {
  35493. "description": "现货品种代码",
  35494. "type": "string"
  35495. },
  35496. "deliverygoodsid": {
  35497. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35498. "type": "integer"
  35499. },
  35500. "deliverygoodsname": {
  35501. "description": "现货品种名称",
  35502. "type": "string"
  35503. },
  35504. "lastavgprice": {
  35505. "description": "上上个交易日价格(前2天价格)",
  35506. "type": "string"
  35507. },
  35508. "lastreckondate": {
  35509. "description": "上上个交易日(前2天交易日)",
  35510. "type": "string"
  35511. },
  35512. "reckondate": {
  35513. "description": "上个交易日(前1天交易日)",
  35514. "type": "string"
  35515. },
  35516. "todayavgprice": {
  35517. "description": "上个交易日价格(前1天价格)",
  35518. "type": "string"
  35519. },
  35520. "updown": {
  35521. "description": "涨跌",
  35522. "type": "string"
  35523. },
  35524. "updownratio": {
  35525. "description": "涨幅(已格式化, 直接显示即可)",
  35526. "type": "string"
  35527. }
  35528. }
  35529. },
  35530. "models.WrSpotGroupTradeSumDetail": {
  35531. "type": "object",
  35532. "properties": {
  35533. "deliverygoodsid": {
  35534. "description": "现货商品id",
  35535. "type": "integer"
  35536. },
  35537. "price": {
  35538. "description": "价格",
  35539. "type": "number"
  35540. },
  35541. "reckondate": {
  35542. "description": "日期(yyymmdd, 如:20211031)",
  35543. "type": "string"
  35544. }
  35545. }
  35546. },
  35547. "models.WrSpotGroupTradeSumEx": {
  35548. "type": "object",
  35549. "properties": {
  35550. "lst": {
  35551. "description": "指数列表",
  35552. "type": "array",
  35553. "items": {
  35554. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  35555. }
  35556. },
  35557. "prereckondate": {
  35558. "description": "上上个交易日(yyymmdd)",
  35559. "type": "string"
  35560. },
  35561. "reckondate": {
  35562. "description": "上个交易日(yyyymmdd)",
  35563. "type": "string"
  35564. }
  35565. }
  35566. },
  35567. "models.WrStandardFactoryItem": {
  35568. "type": "object",
  35569. "properties": {
  35570. "dgfactoryitemid": {
  35571. "description": "选择项id",
  35572. "type": "integer"
  35573. },
  35574. "dgfactoryitemvalue": {
  35575. "description": "要素项值",
  35576. "type": "string"
  35577. },
  35578. "warehouseid": {
  35579. "description": "仓库id",
  35580. "type": "integer"
  35581. }
  35582. }
  35583. },
  35584. "models.WrStandardFactoryItemEx": {
  35585. "type": "object",
  35586. "properties": {
  35587. "dgfactoryitemtypeid": {
  35588. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  35589. "type": "integer"
  35590. },
  35591. "itemlst": {
  35592. "description": "要素项列表",
  35593. "type": "array",
  35594. "items": {
  35595. "$ref": "#/definitions/models.WrStandardFactoryItem"
  35596. }
  35597. },
  35598. "itemtypename": {
  35599. "description": "要素项类型名称",
  35600. "type": "string"
  35601. },
  35602. "wrstandardid": {
  35603. "description": "品类",
  35604. "type": "integer"
  35605. }
  35606. }
  35607. },
  35608. "models.WrTradeDetail": {
  35609. "type": "object",
  35610. "properties": {
  35611. "accountid": {
  35612. "description": "资金账号",
  35613. "type": "integer"
  35614. },
  35615. "bannerpicurl": {
  35616. "description": "Banner图",
  35617. "type": "string"
  35618. },
  35619. "begindate": {
  35620. "description": "开始交易日(yyyymmdd)",
  35621. "type": "string"
  35622. },
  35623. "buyorsell": {
  35624. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35625. "type": "integer"
  35626. },
  35627. "chargevalue": {
  35628. "description": "手续费",
  35629. "type": "number"
  35630. },
  35631. "deliverygoodscode": {
  35632. "description": "品种代码",
  35633. "type": "string"
  35634. },
  35635. "deliverygoodsid": {
  35636. "description": "品种ID",
  35637. "type": "integer"
  35638. },
  35639. "deliverygoodsname": {
  35640. "description": "品种名称",
  35641. "type": "string"
  35642. },
  35643. "deliverymonth": {
  35644. "description": "交收月",
  35645. "type": "string"
  35646. },
  35647. "enddate": {
  35648. "description": "结束交易日(yyyymmdd)",
  35649. "type": "string"
  35650. },
  35651. "enumdicname": {
  35652. "description": "单位名称",
  35653. "type": "string"
  35654. },
  35655. "haswr": {
  35656. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35657. "type": "integer"
  35658. },
  35659. "marketid": {
  35660. "description": "市场ID",
  35661. "type": "integer"
  35662. },
  35663. "matchaccountid": {
  35664. "description": "对手账号",
  35665. "type": "integer"
  35666. },
  35667. "matchusername": {
  35668. "description": "对手方",
  35669. "type": "string"
  35670. },
  35671. "minivalue": {
  35672. "description": "现货商品最小变动值",
  35673. "type": "integer"
  35674. },
  35675. "optioncompare": {
  35676. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35677. "type": "string"
  35678. },
  35679. "thumurls": {
  35680. "description": "缩略图",
  35681. "type": "string"
  35682. },
  35683. "tradedate": {
  35684. "description": "交易日(yyyyMMdd)",
  35685. "type": "string"
  35686. },
  35687. "tradeprice": {
  35688. "description": "成交价格",
  35689. "type": "number"
  35690. },
  35691. "tradeqty": {
  35692. "description": "成交数量",
  35693. "type": "number"
  35694. },
  35695. "tradetime": {
  35696. "description": "成交时间",
  35697. "type": "string"
  35698. },
  35699. "userid": {
  35700. "description": "用户ID",
  35701. "type": "integer"
  35702. },
  35703. "warehouseid": {
  35704. "description": "仓库ID",
  35705. "type": "integer"
  35706. },
  35707. "warehousename": {
  35708. "description": "仓库名称",
  35709. "type": "string"
  35710. },
  35711. "wrfactortypeid": {
  35712. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35713. "type": "string"
  35714. },
  35715. "wrfactortypename": {
  35716. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35717. "type": "string"
  35718. },
  35719. "wrstandardcode": {
  35720. "description": "现货商品代码",
  35721. "type": "string"
  35722. },
  35723. "wrstandardid": {
  35724. "description": "现货商品ID",
  35725. "type": "integer"
  35726. },
  35727. "wrstandardname": {
  35728. "description": "商品名称",
  35729. "type": "string"
  35730. },
  35731. "wrtradedetailid": {
  35732. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35733. "type": "string"
  35734. },
  35735. "wrtradetype": {
  35736. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35737. "type": "integer"
  35738. },
  35739. "wrtypename": {
  35740. "description": "商品",
  35741. "type": "string"
  35742. }
  35743. }
  35744. },
  35745. "models.WrTradeOrderDetail": {
  35746. "type": "object",
  35747. "properties": {
  35748. "buyorsell": {
  35749. "description": "买卖方向 0-买 1-卖",
  35750. "type": "integer"
  35751. },
  35752. "goodsid": {
  35753. "description": "商品id",
  35754. "type": "integer"
  35755. },
  35756. "orderid": {
  35757. "description": "委托单号",
  35758. "type": "string"
  35759. },
  35760. "orderprice": {
  35761. "description": "期初均价",
  35762. "type": "number"
  35763. },
  35764. "orderqty": {
  35765. "description": "委托数量",
  35766. "type": "integer"
  35767. },
  35768. "userid": {
  35769. "description": "用户id",
  35770. "type": "integer"
  35771. },
  35772. "username": {
  35773. "description": "用户名称(已脱敏)",
  35774. "type": "string"
  35775. }
  35776. }
  35777. },
  35778. "models.WrTypeItem": {
  35779. "type": "object",
  35780. "properties": {
  35781. "name": {
  35782. "description": "名称",
  35783. "type": "string"
  35784. },
  35785. "value": {
  35786. "description": "值",
  35787. "type": "string"
  35788. }
  35789. }
  35790. },
  35791. "models.WrUserFriend": {
  35792. "type": "object",
  35793. "properties": {
  35794. "friendname": {
  35795. "description": "朋友名称(已脱敏)",
  35796. "type": "string"
  35797. },
  35798. "frienduserid": {
  35799. "description": "朋友id",
  35800. "type": "integer"
  35801. },
  35802. "isfriend": {
  35803. "description": "是否好友 0-不是 1-是",
  35804. "type": "integer"
  35805. },
  35806. "userid": {
  35807. "description": "用户id",
  35808. "type": "integer"
  35809. }
  35810. }
  35811. },
  35812. "models.WrUserReceiptInfo": {
  35813. "type": "object",
  35814. "properties": {
  35815. "address": {
  35816. "description": "地址[发票类型:企业]",
  35817. "type": "string"
  35818. },
  35819. "autoid": {
  35820. "description": "AutoID",
  35821. "type": "integer"
  35822. },
  35823. "contactinfo": {
  35824. "description": "联系方式",
  35825. "type": "string"
  35826. },
  35827. "idnum": {
  35828. "description": "身份证号码[发票类型:个人]",
  35829. "type": "string"
  35830. },
  35831. "isdefault": {
  35832. "description": "是否默认地址 - 0:否 1:是",
  35833. "type": "integer"
  35834. },
  35835. "receiptaccount": {
  35836. "description": "发票帐号[发票类型:企业]",
  35837. "type": "string"
  35838. },
  35839. "receiptbank": {
  35840. "description": "发票开户行[发票类型:企业]",
  35841. "type": "string"
  35842. },
  35843. "receipttype": {
  35844. "description": "发票类型 - 1:个人 2:企业",
  35845. "type": "integer"
  35846. },
  35847. "taxpayerid": {
  35848. "description": "纳税人识别号",
  35849. "type": "string"
  35850. },
  35851. "userid": {
  35852. "description": "用户ID",
  35853. "type": "integer"
  35854. },
  35855. "username": {
  35856. "description": "户名(个人姓名或企业名称)",
  35857. "type": "string"
  35858. }
  35859. }
  35860. },
  35861. "models.Wrtradetradequote": {
  35862. "type": "object",
  35863. "properties": {
  35864. "begindate": {
  35865. "description": "开始日期(结果含开始日期) yyyymmdd",
  35866. "type": "string"
  35867. },
  35868. "buyaccountid": {
  35869. "description": "买方账号ID",
  35870. "type": "integer"
  35871. },
  35872. "buyuserid": {
  35873. "description": "买方用户ID",
  35874. "type": "integer"
  35875. },
  35876. "deliverygoodsid": {
  35877. "description": "现货品种ID",
  35878. "type": "integer"
  35879. },
  35880. "enddate": {
  35881. "description": "结束日期(结果含结束日期) yyyymmdd",
  35882. "type": "string"
  35883. },
  35884. "marketid": {
  35885. "description": "市场ID",
  35886. "type": "integer"
  35887. },
  35888. "sellaccountid": {
  35889. "description": "卖方账号ID",
  35890. "type": "integer"
  35891. },
  35892. "selluserid": {
  35893. "description": "卖方用户ID",
  35894. "type": "integer"
  35895. },
  35896. "tradeamount": {
  35897. "description": "成交金额",
  35898. "type": "number"
  35899. },
  35900. "tradedate": {
  35901. "description": "交易日(yyyyMMdd)",
  35902. "type": "string"
  35903. },
  35904. "tradeprice": {
  35905. "description": "成交价格",
  35906. "type": "number"
  35907. },
  35908. "tradeqty": {
  35909. "description": "成交数量",
  35910. "type": "integer"
  35911. },
  35912. "tradetime": {
  35913. "description": "成交时间",
  35914. "type": "string"
  35915. },
  35916. "wrfactortypeid": {
  35917. "description": "仓单要素类型ID",
  35918. "type": "integer"
  35919. },
  35920. "wrstandardid": {
  35921. "description": "现货商品ID",
  35922. "type": "integer"
  35923. },
  35924. "wrtradedetailid": {
  35925. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  35926. "type": "string"
  35927. }
  35928. }
  35929. },
  35930. "models.XHBRAND": {
  35931. "type": "object",
  35932. "properties": {
  35933. "brandid": {
  35934. "description": "品牌id",
  35935. "type": "integer"
  35936. },
  35937. "brandname": {
  35938. "description": "品牌名称",
  35939. "type": "string"
  35940. },
  35941. "isvalid": {
  35942. "description": "是否有效 0-无效 1-有效",
  35943. "type": "integer"
  35944. }
  35945. }
  35946. },
  35947. "models.XHDeliveryGoods": {
  35948. "type": "object",
  35949. "properties": {
  35950. "areauserid": {
  35951. "description": "所属机构",
  35952. "type": "integer"
  35953. },
  35954. "bdlst": {
  35955. "description": "品牌列表",
  35956. "type": "array",
  35957. "items": {
  35958. "$ref": "#/definitions/models.XHBRAND"
  35959. }
  35960. },
  35961. "deliverygoodscode": {
  35962. "description": "现货品种代码",
  35963. "type": "string"
  35964. },
  35965. "deliverygoodsid": {
  35966. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35967. "type": "integer"
  35968. },
  35969. "deliverygoodsname": {
  35970. "description": "现货品种名称",
  35971. "type": "string"
  35972. },
  35973. "dgstatus": {
  35974. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  35975. "type": "integer"
  35976. },
  35977. "filterSubEmpty": {
  35978. "description": "过滤下级为空的",
  35979. "type": "integer"
  35980. },
  35981. "isvalid": {
  35982. "description": "是否有效 - 0:无效 1:有效",
  35983. "type": "integer"
  35984. },
  35985. "remark": {
  35986. "description": "备注",
  35987. "type": "string"
  35988. },
  35989. "unitid": {
  35990. "description": "单位id(目前看,数据库中是空值)",
  35991. "type": "integer"
  35992. },
  35993. "wdlst": {
  35994. "description": "品类(现货商品)列表",
  35995. "type": "array",
  35996. "items": {
  35997. "$ref": "#/definitions/models.XHWrstandard"
  35998. }
  35999. }
  36000. }
  36001. },
  36002. "models.XHMiddleGoods": {
  36003. "type": "object",
  36004. "properties": {
  36005. "GPLST": {
  36006. "description": "期货品种列表",
  36007. "type": "array",
  36008. "items": {
  36009. "$ref": "#/definitions/models.TBGoodsGroup"
  36010. }
  36011. },
  36012. "convertratio": {
  36013. "description": "拆算系数",
  36014. "type": "number"
  36015. },
  36016. "costratio": {
  36017. "description": "成本权重",
  36018. "type": "number"
  36019. },
  36020. "deliverygoodsid": {
  36021. "description": "现货商品id",
  36022. "type": "integer"
  36023. },
  36024. "enumdicname": {
  36025. "description": "单位名称",
  36026. "type": "string"
  36027. },
  36028. "middlegoodscode": {
  36029. "description": "套保品种代码",
  36030. "type": "string"
  36031. },
  36032. "middlegoodsid": {
  36033. "description": "套保品种id",
  36034. "type": "integer"
  36035. },
  36036. "middlegoodsname": {
  36037. "description": "套保品种名称",
  36038. "type": "string"
  36039. },
  36040. "unitid": {
  36041. "description": "单位id",
  36042. "type": "integer"
  36043. }
  36044. }
  36045. },
  36046. "models.XHWrstandard": {
  36047. "type": "object",
  36048. "properties": {
  36049. "bannerpicurl": {
  36050. "description": "banner图",
  36051. "type": "string"
  36052. },
  36053. "deliverygoodsid": {
  36054. "description": "品种ID",
  36055. "type": "integer"
  36056. },
  36057. "enumdicname": {
  36058. "description": "单位名称",
  36059. "type": "string"
  36060. },
  36061. "mglst": {
  36062. "description": "套保品列表",
  36063. "type": "array",
  36064. "items": {
  36065. "$ref": "#/definitions/models.XHMiddleGoods"
  36066. }
  36067. },
  36068. "pictureurls": {
  36069. "description": "详情图片(逗号分隔)",
  36070. "type": "string"
  36071. },
  36072. "thumurls": {
  36073. "description": "缩略图片(1:1)(逗号分隔)",
  36074. "type": "string"
  36075. },
  36076. "unitid": {
  36077. "description": "单位id",
  36078. "type": "integer"
  36079. },
  36080. "vatrate": {
  36081. "description": "增值税率",
  36082. "type": "number"
  36083. },
  36084. "wrstandardcode": {
  36085. "description": "现货商品代码",
  36086. "type": "string"
  36087. },
  36088. "wrstandardid": {
  36089. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36090. "type": "integer"
  36091. },
  36092. "wrstandardname": {
  36093. "description": "现货商品名称",
  36094. "type": "string"
  36095. }
  36096. }
  36097. },
  36098. "models.XhcpSellBackApplyEx": {
  36099. "type": "object",
  36100. "required": [
  36101. "userid"
  36102. ],
  36103. "properties": {
  36104. "applyremark": {
  36105. "description": "申请备注",
  36106. "type": "string"
  36107. },
  36108. "expirytype": {
  36109. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  36110. "type": "integer"
  36111. },
  36112. "goodsspec": {
  36113. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  36114. "type": "integer"
  36115. },
  36116. "holeflag": {
  36117. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  36118. "type": "integer"
  36119. },
  36120. "isunopened": {
  36121. "description": "是否原封 - 1:否 2:是",
  36122. "type": "integer"
  36123. },
  36124. "mpflag": {
  36125. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  36126. "type": "integer"
  36127. },
  36128. "openflag": {
  36129. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  36130. "type": "integer"
  36131. },
  36132. "phonenum": {
  36133. "description": "联系电话",
  36134. "type": "string"
  36135. },
  36136. "userid": {
  36137. "description": "所属用户ID",
  36138. "type": "integer"
  36139. },
  36140. "zpflag": {
  36141. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  36142. "type": "integer"
  36143. }
  36144. }
  36145. },
  36146. "models.Xhcpsellbackapply": {
  36147. "type": "object",
  36148. "required": [
  36149. "userid"
  36150. ],
  36151. "properties": {
  36152. "applyid": {
  36153. "description": "申请人",
  36154. "type": "integer"
  36155. },
  36156. "applyremark": {
  36157. "description": "申请备注",
  36158. "type": "string"
  36159. },
  36160. "applysrc": {
  36161. "description": "申请来源 - 1:管理端 2:终端",
  36162. "type": "integer"
  36163. },
  36164. "applystatus": {
  36165. "description": "申请状态 - 1:待确认 2:已处理",
  36166. "type": "integer"
  36167. },
  36168. "applytime": {
  36169. "description": "申请时间",
  36170. "type": "string"
  36171. },
  36172. "auditremark": {
  36173. "description": "审核备注",
  36174. "type": "string"
  36175. },
  36176. "auditsrc": {
  36177. "description": "审核来源 - 1:管理端 2:终端",
  36178. "type": "integer"
  36179. },
  36180. "expirytype": {
  36181. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  36182. "type": "integer"
  36183. },
  36184. "goodsspec": {
  36185. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  36186. "type": "integer"
  36187. },
  36188. "holeflag": {
  36189. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  36190. "type": "integer"
  36191. },
  36192. "isunopened": {
  36193. "description": "是否原封 - 1:否 2:是",
  36194. "type": "integer"
  36195. },
  36196. "mpflag": {
  36197. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  36198. "type": "integer"
  36199. },
  36200. "openflag": {
  36201. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  36202. "type": "integer"
  36203. },
  36204. "phonenum": {
  36205. "description": "联系电话",
  36206. "type": "string"
  36207. },
  36208. "sellbackapplyid": {
  36209. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  36210. "type": "string"
  36211. },
  36212. "userid": {
  36213. "description": "所属用户ID",
  36214. "type": "integer"
  36215. },
  36216. "zpflag": {
  36217. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  36218. "type": "integer"
  36219. }
  36220. }
  36221. },
  36222. "order.QueryHisTradeDetailRsp": {
  36223. "type": "object",
  36224. "required": [
  36225. "accountid",
  36226. "buyorsell",
  36227. "goodsid",
  36228. "histradedate",
  36229. "marketid",
  36230. "memberuserid",
  36231. "orderid",
  36232. "tradeamount",
  36233. "tradedate",
  36234. "tradeid",
  36235. "tradeprice",
  36236. "tradeqty",
  36237. "tradetime"
  36238. ],
  36239. "properties": {
  36240. "accountid": {
  36241. "description": "账户ID[报价币种]",
  36242. "type": "integer"
  36243. },
  36244. "advanceratio": {
  36245. "description": "首付比率",
  36246. "type": "number"
  36247. },
  36248. "buildtype": {
  36249. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36250. "type": "integer"
  36251. },
  36252. "buyorsell": {
  36253. "description": "方向 - 0:买 1:卖",
  36254. "type": "integer"
  36255. },
  36256. "charge": {
  36257. "description": "手续费",
  36258. "type": "number"
  36259. },
  36260. "closecharge": {
  36261. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36262. "type": "number"
  36263. },
  36264. "closeexchagechargevalue": {
  36265. "description": "平仓交易所手续费设置值",
  36266. "type": "number"
  36267. },
  36268. "closefeealgorithm": {
  36269. "description": "平仓手续费收取方式 1:比率 2:固定",
  36270. "type": "integer"
  36271. },
  36272. "closememberchargevalue": {
  36273. "description": "平仓会员手续费设置值",
  36274. "type": "number"
  36275. },
  36276. "closepl": {
  36277. "description": "平仓盈亏",
  36278. "type": "number"
  36279. },
  36280. "closepl2": {
  36281. "description": "平仓盈亏[逐笔]",
  36282. "type": "number"
  36283. },
  36284. "closeqty": {
  36285. "description": "平仓数量(先建后平操作 需要记录)",
  36286. "type": "number"
  36287. },
  36288. "creditamount": {
  36289. "description": "授信金额",
  36290. "type": "number"
  36291. },
  36292. "decimalplace": {
  36293. "description": "商品报价小数位",
  36294. "type": "integer"
  36295. },
  36296. "enumdicname": {
  36297. "description": "单位名称",
  36298. "type": "string"
  36299. },
  36300. "gcaccountid": {
  36301. "description": "账户ID[合约币种]",
  36302. "type": "integer"
  36303. },
  36304. "goodscode": {
  36305. "description": "商品代码",
  36306. "type": "string"
  36307. },
  36308. "goodsid": {
  36309. "description": "商品ID",
  36310. "type": "integer"
  36311. },
  36312. "goodsname": {
  36313. "description": "商品名称",
  36314. "type": "string"
  36315. },
  36316. "goodunitid": {
  36317. "description": "商品单位id",
  36318. "type": "integer"
  36319. },
  36320. "histradedate": {
  36321. "description": "历史交易日",
  36322. "type": "string"
  36323. },
  36324. "intclosepl": {
  36325. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36326. "type": "integer"
  36327. },
  36328. "isconfirmexercise": {
  36329. "description": "是否确认行权- 0:否 1:是",
  36330. "type": "integer"
  36331. },
  36332. "ismain": {
  36333. "description": "是否主单 - 0:不是 1:是",
  36334. "type": "integer"
  36335. },
  36336. "ispreexercise": {
  36337. "description": "是否预申报- 0:否 1:是",
  36338. "type": "integer"
  36339. },
  36340. "isreckoned": {
  36341. "description": "是否结算 - 0:未结算 1:已结算",
  36342. "type": "integer"
  36343. },
  36344. "isvaliddata": {
  36345. "description": "是否有效 - 0:无效 1:有效",
  36346. "type": "integer"
  36347. },
  36348. "listingselecttype": {
  36349. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36350. "type": "integer"
  36351. },
  36352. "marketid": {
  36353. "description": "市场ID",
  36354. "type": "integer"
  36355. },
  36356. "marketname": {
  36357. "description": "市场名称",
  36358. "type": "string"
  36359. },
  36360. "matchaccountid": {
  36361. "description": "对手账号id",
  36362. "type": "integer"
  36363. },
  36364. "memberuserid": {
  36365. "description": "会员id 个人投资者 需要填写",
  36366. "type": "integer"
  36367. },
  36368. "opencharge": {
  36369. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36370. "type": "number"
  36371. },
  36372. "openexchagechargevalue": {
  36373. "description": "建仓交易所手续费设置值",
  36374. "type": "number"
  36375. },
  36376. "openfeealgorithm": {
  36377. "description": "建仓手续费收取方式 1:比率 2:固定",
  36378. "type": "integer"
  36379. },
  36380. "openmemberchargevalue": {
  36381. "description": "建仓会员手续费设置值",
  36382. "type": "number"
  36383. },
  36384. "openqty": {
  36385. "description": "开仓数量(先建后平操作 需要记录)",
  36386. "type": "number"
  36387. },
  36388. "optiontype": {
  36389. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36390. "type": "integer"
  36391. },
  36392. "orderid": {
  36393. "description": "委托单号",
  36394. "type": "string"
  36395. },
  36396. "payamount": {
  36397. "description": "支付金额(付款金额)",
  36398. "type": "number"
  36399. },
  36400. "performanceplanid": {
  36401. "description": "履约计划ID[期权]",
  36402. "type": "integer"
  36403. },
  36404. "performancestatus": {
  36405. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36406. "type": "integer"
  36407. },
  36408. "preexerciseprice": {
  36409. "description": "预申报价格",
  36410. "type": "number"
  36411. },
  36412. "premium": {
  36413. "description": "权利金 - [持仓单的权利金]",
  36414. "type": "number"
  36415. },
  36416. "qtydecimalplace": {
  36417. "description": "商品报价小数位",
  36418. "type": "integer"
  36419. },
  36420. "recvamount": {
  36421. "description": "到账金额 = 成交金额 - 手续费",
  36422. "type": "number"
  36423. },
  36424. "relatedouttradeid": {
  36425. "description": "关联外部成交单ID",
  36426. "type": "integer"
  36427. },
  36428. "status": {
  36429. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36430. "type": "integer"
  36431. },
  36432. "totalamount": {
  36433. "description": "订单总额 = 成交金额 + 手续费",
  36434. "type": "number"
  36435. },
  36436. "tradeamount": {
  36437. "description": "成交金额[账户币种,用于所有权]",
  36438. "type": "number"
  36439. },
  36440. "tradedate": {
  36441. "description": "交易日(yyyyMMdd)",
  36442. "type": "string"
  36443. },
  36444. "tradeid": {
  36445. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36446. "type": "string"
  36447. },
  36448. "trademode": {
  36449. "description": "交易模式",
  36450. "type": "integer"
  36451. },
  36452. "tradeprice": {
  36453. "description": "成交价格",
  36454. "type": "number"
  36455. },
  36456. "tradeproperty": {
  36457. "description": "交易属性",
  36458. "type": "integer"
  36459. },
  36460. "tradeqty": {
  36461. "description": "成交数量",
  36462. "type": "number"
  36463. },
  36464. "tradetime": {
  36465. "description": "成交时间",
  36466. "type": "string"
  36467. },
  36468. "tradetype": {
  36469. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36470. "type": "integer"
  36471. }
  36472. }
  36473. },
  36474. "order.QueryHisTradeOrderDetailRsp": {
  36475. "type": "object",
  36476. "required": [
  36477. "accountid",
  36478. "buildtype",
  36479. "buyorsell",
  36480. "goodsid",
  36481. "histradedate",
  36482. "marketid",
  36483. "memberuserid",
  36484. "operatetype",
  36485. "orderid",
  36486. "orderqty",
  36487. "ordertime",
  36488. "pricemode",
  36489. "tradedate",
  36490. "validtype"
  36491. ],
  36492. "properties": {
  36493. "accountid": {
  36494. "description": "账户ID[报价币种]",
  36495. "type": "integer"
  36496. },
  36497. "buildtype": {
  36498. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36499. "type": "integer"
  36500. },
  36501. "buyorsell": {
  36502. "description": "买卖 - 0:买 1:卖",
  36503. "type": "integer"
  36504. },
  36505. "cancelorderid": {
  36506. "description": "撤单单号(撤单时填写)",
  36507. "type": "string"
  36508. },
  36509. "cancelqty": {
  36510. "description": "撤单数量",
  36511. "type": "number"
  36512. },
  36513. "clientordertime": {
  36514. "description": "客户端委托时间",
  36515. "type": "string"
  36516. },
  36517. "clientticket": {
  36518. "description": "客户端流水号",
  36519. "type": "string"
  36520. },
  36521. "clienttype": {
  36522. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36523. "type": "integer"
  36524. },
  36525. "closeexchagechargevalue": {
  36526. "description": "平仓交易所手续费设置值",
  36527. "type": "number"
  36528. },
  36529. "closefeealgorithm": {
  36530. "description": "平仓手续费收取方式 1:比率 2:固定",
  36531. "type": "integer"
  36532. },
  36533. "closefreezecharge": {
  36534. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36535. "type": "number"
  36536. },
  36537. "closememberchargevalue": {
  36538. "description": "平仓会员手续费设置值",
  36539. "type": "number"
  36540. },
  36541. "closeqty": {
  36542. "description": "平仓数量(先建后平操作 需要记录)",
  36543. "type": "number"
  36544. },
  36545. "closetradeqty": {
  36546. "description": "平仓成交数量(先建后平操作,需要记录)",
  36547. "type": "number"
  36548. },
  36549. "closeunfreezecharge": {
  36550. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36551. "type": "number"
  36552. },
  36553. "decimalplace": {
  36554. "description": "商品报价小数位",
  36555. "type": "integer"
  36556. },
  36557. "delistingtype": {
  36558. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36559. "type": "integer"
  36560. },
  36561. "enumdicname": {
  36562. "description": "单位名称",
  36563. "type": "string"
  36564. },
  36565. "freezecharge": {
  36566. "description": "冻结手续费",
  36567. "type": "number"
  36568. },
  36569. "freezemargin": {
  36570. "description": "冻结保证金(冻结交易金额)",
  36571. "type": "number"
  36572. },
  36573. "gcaccountid": {
  36574. "description": "账户ID[合约币种]",
  36575. "type": "integer"
  36576. },
  36577. "goodscode": {
  36578. "description": "商品代码",
  36579. "type": "string"
  36580. },
  36581. "goodsid": {
  36582. "description": "商品ID",
  36583. "type": "integer"
  36584. },
  36585. "goodsname": {
  36586. "description": "商品名称",
  36587. "type": "string"
  36588. },
  36589. "goodunitid": {
  36590. "description": "商品单位id",
  36591. "type": "integer"
  36592. },
  36593. "histradedate": {
  36594. "description": "历史交易日",
  36595. "type": "string"
  36596. },
  36597. "isconfirmexercise": {
  36598. "description": "是否确认行权- 0:否 1:是",
  36599. "type": "integer"
  36600. },
  36601. "ispreexercise": {
  36602. "description": "是否预申报- 0:否 1:是",
  36603. "type": "integer"
  36604. },
  36605. "isvaliddata": {
  36606. "description": "是否有效 - 0:无效 1:有效",
  36607. "type": "integer"
  36608. },
  36609. "listingselecttype": {
  36610. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36611. "type": "integer"
  36612. },
  36613. "marginalgorithm": {
  36614. "description": "保证金收取方式 1:比率 2:固定",
  36615. "type": "integer"
  36616. },
  36617. "marginvalue": {
  36618. "description": "即市保证金设置值",
  36619. "type": "number"
  36620. },
  36621. "marketid": {
  36622. "description": "市场ID",
  36623. "type": "integer"
  36624. },
  36625. "marketmaxsub": {
  36626. "description": "市价最大偏移范围",
  36627. "type": "number"
  36628. },
  36629. "marketname": {
  36630. "description": "市场名称",
  36631. "type": "string"
  36632. },
  36633. "memberuserid": {
  36634. "description": "所属会员UserID",
  36635. "type": "integer"
  36636. },
  36637. "openexchagechargevalue": {
  36638. "description": "建仓交易所手续费设置值",
  36639. "type": "number"
  36640. },
  36641. "openfeealgorithm": {
  36642. "description": "建仓手续费收取方式 1:比率 2:固定",
  36643. "type": "integer"
  36644. },
  36645. "openfreezecharge": {
  36646. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36647. "type": "number"
  36648. },
  36649. "openmemberchargevalue": {
  36650. "description": "建仓会员手续费设置值",
  36651. "type": "number"
  36652. },
  36653. "openqty": {
  36654. "description": "开仓数量(先建后平操作,需要记录)",
  36655. "type": "number"
  36656. },
  36657. "opentradeqty": {
  36658. "description": "开仓成交数量(先建后平操作,需要记录)",
  36659. "type": "number"
  36660. },
  36661. "openunfreezecharge": {
  36662. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36663. "type": "number"
  36664. },
  36665. "operatetype": {
  36666. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36667. "type": "integer"
  36668. },
  36669. "operatorid": {
  36670. "description": "登录账号(LoginID)",
  36671. "type": "integer"
  36672. },
  36673. "optiontype": {
  36674. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36675. "type": "integer"
  36676. },
  36677. "orderid": {
  36678. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36679. "type": "string"
  36680. },
  36681. "orderprice": {
  36682. "description": "委托价格",
  36683. "type": "number"
  36684. },
  36685. "orderqty": {
  36686. "description": "委托数量",
  36687. "type": "number"
  36688. },
  36689. "ordersrc": {
  36690. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36691. "type": "integer"
  36692. },
  36693. "orderstatus": {
  36694. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36695. "type": "integer"
  36696. },
  36697. "ordertime": {
  36698. "description": "委托时间",
  36699. "type": "string"
  36700. },
  36701. "preexerciseprice": {
  36702. "description": "预申报价格",
  36703. "type": "number"
  36704. },
  36705. "premium": {
  36706. "description": "权利金",
  36707. "type": "number"
  36708. },
  36709. "preorderid": {
  36710. "description": "关联预埋单号(止盈止损单时填写)",
  36711. "type": "string"
  36712. },
  36713. "pricemode": {
  36714. "description": "取价方式 - 1:市价 2: 限价",
  36715. "type": "integer"
  36716. },
  36717. "qtydecimalplace": {
  36718. "description": "成交量小数位",
  36719. "type": "integer"
  36720. },
  36721. "quoteid": {
  36722. "description": "报价单ID",
  36723. "type": "integer"
  36724. },
  36725. "relatedid": {
  36726. "description": "关联单号(交割单)",
  36727. "type": "string"
  36728. },
  36729. "retcode": {
  36730. "description": "错误代码",
  36731. "type": "integer"
  36732. },
  36733. "sessionid": {
  36734. "description": "会话ID",
  36735. "type": "integer"
  36736. },
  36737. "tradedate": {
  36738. "description": "交易日(yyyyMMdd)",
  36739. "type": "string"
  36740. },
  36741. "trademode": {
  36742. "description": "交易模式",
  36743. "type": "integer"
  36744. },
  36745. "tradeproperty": {
  36746. "description": "交易属性",
  36747. "type": "integer"
  36748. },
  36749. "tradeqty": {
  36750. "description": "成交数量",
  36751. "type": "number"
  36752. },
  36753. "unfreezecharge": {
  36754. "description": "解冻手续费",
  36755. "type": "number"
  36756. },
  36757. "unfreezemargin": {
  36758. "description": "解冻保证金",
  36759. "type": "number"
  36760. },
  36761. "updatetime": {
  36762. "description": "更新时间",
  36763. "type": "string"
  36764. },
  36765. "uuid": {
  36766. "description": "发起端唯一id",
  36767. "type": "string"
  36768. },
  36769. "validtime": {
  36770. "description": "有效期限",
  36771. "type": "string"
  36772. },
  36773. "validtype": {
  36774. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  36775. "type": "integer"
  36776. },
  36777. "volumetype": {
  36778. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  36779. "type": "integer"
  36780. }
  36781. }
  36782. },
  36783. "order.QueryTradeDetailRsp": {
  36784. "type": "object",
  36785. "required": [
  36786. "accountid",
  36787. "buyorsell",
  36788. "goodsid",
  36789. "marketid",
  36790. "memberuserid",
  36791. "orderid",
  36792. "tradeamount",
  36793. "tradedate",
  36794. "tradeid",
  36795. "tradeprice",
  36796. "tradeqty",
  36797. "tradetime"
  36798. ],
  36799. "properties": {
  36800. "accountid": {
  36801. "description": "账户ID[报价币种]",
  36802. "type": "integer"
  36803. },
  36804. "advanceratio": {
  36805. "description": "首付比率",
  36806. "type": "number"
  36807. },
  36808. "buildtype": {
  36809. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36810. "type": "integer"
  36811. },
  36812. "buyorsell": {
  36813. "description": "方向 - 0:买 1:卖",
  36814. "type": "integer"
  36815. },
  36816. "charge": {
  36817. "description": "手续费",
  36818. "type": "number"
  36819. },
  36820. "closecharge": {
  36821. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36822. "type": "number"
  36823. },
  36824. "closeexchagechargevalue": {
  36825. "description": "平仓交易所手续费设置值",
  36826. "type": "number"
  36827. },
  36828. "closefeealgorithm": {
  36829. "description": "平仓手续费收取方式 1:比率 2:固定",
  36830. "type": "integer"
  36831. },
  36832. "closememberchargevalue": {
  36833. "description": "平仓会员手续费设置值",
  36834. "type": "number"
  36835. },
  36836. "closepl": {
  36837. "description": "平仓盈亏",
  36838. "type": "number"
  36839. },
  36840. "closepl2": {
  36841. "description": "平仓盈亏[逐笔]",
  36842. "type": "number"
  36843. },
  36844. "closeqty": {
  36845. "description": "平仓数量(先建后平操作 需要记录)",
  36846. "type": "number"
  36847. },
  36848. "creditamount": {
  36849. "description": "授信金额",
  36850. "type": "number"
  36851. },
  36852. "decimalplace": {
  36853. "description": "商品报价小数位",
  36854. "type": "integer"
  36855. },
  36856. "enumdicname": {
  36857. "description": "单位名称",
  36858. "type": "string"
  36859. },
  36860. "gcaccountid": {
  36861. "description": "账户ID[合约币种]",
  36862. "type": "integer"
  36863. },
  36864. "goodscode": {
  36865. "description": "商品代码",
  36866. "type": "string"
  36867. },
  36868. "goodsid": {
  36869. "description": "商品ID",
  36870. "type": "integer"
  36871. },
  36872. "goodsname": {
  36873. "description": "商品名称",
  36874. "type": "string"
  36875. },
  36876. "goodunitid": {
  36877. "description": "商品单位id",
  36878. "type": "integer"
  36879. },
  36880. "intclosepl": {
  36881. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36882. "type": "integer"
  36883. },
  36884. "isconfirmexercise": {
  36885. "description": "是否确认行权- 0:否 1:是",
  36886. "type": "integer"
  36887. },
  36888. "ismain": {
  36889. "description": "是否主单 - 0:不是 1:是",
  36890. "type": "integer"
  36891. },
  36892. "ispreexercise": {
  36893. "description": "是否预申报- 0:否 1:是",
  36894. "type": "integer"
  36895. },
  36896. "isreckoned": {
  36897. "description": "是否结算 - 0:未结算 1:已结算",
  36898. "type": "integer"
  36899. },
  36900. "listingselecttype": {
  36901. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36902. "type": "integer"
  36903. },
  36904. "marketid": {
  36905. "description": "市场ID",
  36906. "type": "integer"
  36907. },
  36908. "marketname": {
  36909. "description": "市场名称",
  36910. "type": "string"
  36911. },
  36912. "matchaccountid": {
  36913. "description": "对手账号id",
  36914. "type": "integer"
  36915. },
  36916. "memberuserid": {
  36917. "description": "会员id 个人投资者 需要填写",
  36918. "type": "integer"
  36919. },
  36920. "opencharge": {
  36921. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36922. "type": "number"
  36923. },
  36924. "openexchagechargevalue": {
  36925. "description": "建仓交易所手续费设置值",
  36926. "type": "number"
  36927. },
  36928. "openfeealgorithm": {
  36929. "description": "建仓手续费收取方式 1:比率 2:固定",
  36930. "type": "integer"
  36931. },
  36932. "openmemberchargevalue": {
  36933. "description": "建仓会员手续费设置值",
  36934. "type": "number"
  36935. },
  36936. "openqty": {
  36937. "description": "开仓数量(先建后平操作 需要记录)",
  36938. "type": "number"
  36939. },
  36940. "optiontype": {
  36941. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36942. "type": "integer"
  36943. },
  36944. "orderid": {
  36945. "description": "委托单号",
  36946. "type": "string"
  36947. },
  36948. "payamount": {
  36949. "description": "支付金额(付款金额)",
  36950. "type": "number"
  36951. },
  36952. "performanceplanid": {
  36953. "description": "履约计划ID[期权]",
  36954. "type": "integer"
  36955. },
  36956. "performancestatus": {
  36957. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36958. "type": "integer"
  36959. },
  36960. "preexerciseprice": {
  36961. "description": "预申报价格",
  36962. "type": "number"
  36963. },
  36964. "premium": {
  36965. "description": "权利金 - [持仓单的权利金]",
  36966. "type": "number"
  36967. },
  36968. "qtydecimalplace": {
  36969. "description": "商品报价小数位",
  36970. "type": "integer"
  36971. },
  36972. "recvamount": {
  36973. "description": "到账金额 = 成交金额 - 手续费",
  36974. "type": "number"
  36975. },
  36976. "relatedouttradeid": {
  36977. "description": "关联外部成交单ID",
  36978. "type": "integer"
  36979. },
  36980. "status": {
  36981. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36982. "type": "integer"
  36983. },
  36984. "totalamount": {
  36985. "description": "订单总额 = 成交金额 + 手续费",
  36986. "type": "number"
  36987. },
  36988. "tradeamount": {
  36989. "description": "成交金额[账户币种,用于所有权]",
  36990. "type": "number"
  36991. },
  36992. "tradedate": {
  36993. "description": "交易日(yyyyMMdd)",
  36994. "type": "string"
  36995. },
  36996. "tradeid": {
  36997. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36998. "type": "string"
  36999. },
  37000. "trademode": {
  37001. "description": "交易模式",
  37002. "type": "integer"
  37003. },
  37004. "tradeprice": {
  37005. "description": "成交价格",
  37006. "type": "number"
  37007. },
  37008. "tradeproperty": {
  37009. "description": "交易属性",
  37010. "type": "integer"
  37011. },
  37012. "tradeqty": {
  37013. "description": "成交数量",
  37014. "type": "number"
  37015. },
  37016. "tradetime": {
  37017. "description": "成交时间",
  37018. "type": "string"
  37019. },
  37020. "tradetype": {
  37021. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37022. "type": "integer"
  37023. }
  37024. }
  37025. },
  37026. "order.QueryTradeOrderDetailRsp": {
  37027. "type": "object",
  37028. "required": [
  37029. "accountid",
  37030. "buildtype",
  37031. "buyorsell",
  37032. "goodsid",
  37033. "marketid",
  37034. "operatetype",
  37035. "orderqty",
  37036. "ordertime",
  37037. "pricemode",
  37038. "tradedate",
  37039. "validtype"
  37040. ],
  37041. "properties": {
  37042. "accountid": {
  37043. "description": "账户ID[报价币种]",
  37044. "type": "integer"
  37045. },
  37046. "buildtype": {
  37047. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37048. "type": "integer"
  37049. },
  37050. "buyorsell": {
  37051. "description": "买卖 - 0:买 1:卖",
  37052. "type": "integer"
  37053. },
  37054. "cancelorderid": {
  37055. "description": "撤单单号(撤单时填写)",
  37056. "type": "string"
  37057. },
  37058. "cancelqty": {
  37059. "description": "撤单数量",
  37060. "type": "number"
  37061. },
  37062. "clienttype": {
  37063. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37064. "type": "integer"
  37065. },
  37066. "closefreezecharge": {
  37067. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37068. "type": "number"
  37069. },
  37070. "closeqty": {
  37071. "description": "平仓数量(先建后平操作 需要记录)",
  37072. "type": "number"
  37073. },
  37074. "closetradeqty": {
  37075. "description": "平仓成交数量(先建后平操作,需要记录)",
  37076. "type": "number"
  37077. },
  37078. "closeunfreezecharge": {
  37079. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37080. "type": "number"
  37081. },
  37082. "decimalplace": {
  37083. "description": "商品报价小数位",
  37084. "type": "integer"
  37085. },
  37086. "delistingtype": {
  37087. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37088. "type": "integer"
  37089. },
  37090. "enableqty": {
  37091. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37092. "type": "number"
  37093. },
  37094. "enumdicname": {
  37095. "description": "单位名称",
  37096. "type": "string"
  37097. },
  37098. "freezecharge": {
  37099. "description": "冻结手续费",
  37100. "type": "number"
  37101. },
  37102. "freezemargin": {
  37103. "description": "冻结保证金(冻结交易金额)",
  37104. "type": "number"
  37105. },
  37106. "goodscode": {
  37107. "description": "商品代码",
  37108. "type": "string"
  37109. },
  37110. "goodsid": {
  37111. "description": "商品ID",
  37112. "type": "integer"
  37113. },
  37114. "goodsname": {
  37115. "description": "商品名称",
  37116. "type": "string"
  37117. },
  37118. "goodunitid": {
  37119. "description": "商品单位id",
  37120. "type": "integer"
  37121. },
  37122. "listingselecttype": {
  37123. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37124. "type": "integer"
  37125. },
  37126. "marketid": {
  37127. "description": "市场ID",
  37128. "type": "integer"
  37129. },
  37130. "marketname": {
  37131. "description": "市场名称",
  37132. "type": "string"
  37133. },
  37134. "openfreezecharge": {
  37135. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37136. "type": "number"
  37137. },
  37138. "openqty": {
  37139. "description": "开仓数量(先建后平操作,需要记录)",
  37140. "type": "number"
  37141. },
  37142. "opentradeqty": {
  37143. "description": "开仓成交数量(先建后平操作,需要记录)",
  37144. "type": "number"
  37145. },
  37146. "openunfreezecharge": {
  37147. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37148. "type": "number"
  37149. },
  37150. "operatetype": {
  37151. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37152. "type": "integer"
  37153. },
  37154. "operatorid": {
  37155. "description": "登录账号(LoginID)",
  37156. "type": "integer"
  37157. },
  37158. "orderid": {
  37159. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37160. "type": "string"
  37161. },
  37162. "orderprice": {
  37163. "description": "委托价格",
  37164. "type": "number"
  37165. },
  37166. "orderqty": {
  37167. "description": "委托数量",
  37168. "type": "number"
  37169. },
  37170. "ordersrc": {
  37171. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37172. "type": "integer"
  37173. },
  37174. "orderstatus": {
  37175. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37176. "type": "integer"
  37177. },
  37178. "ordertime": {
  37179. "description": "委托时间",
  37180. "type": "string"
  37181. },
  37182. "preorderid": {
  37183. "description": "关联预埋单号(止盈止损单时填写)",
  37184. "type": "string"
  37185. },
  37186. "pricemode": {
  37187. "description": "取价方式 - 1:市价 2: 限价",
  37188. "type": "integer"
  37189. },
  37190. "qtydecimalplace": {
  37191. "description": "商品报价小数位",
  37192. "type": "integer"
  37193. },
  37194. "relatedid": {
  37195. "description": "关联单号(交割单)",
  37196. "type": "string"
  37197. },
  37198. "tradedate": {
  37199. "description": "交易日(yyyyMMdd)",
  37200. "type": "string"
  37201. },
  37202. "trademode": {
  37203. "description": "交易模式",
  37204. "type": "integer"
  37205. },
  37206. "tradeqty": {
  37207. "description": "成交数量",
  37208. "type": "number"
  37209. },
  37210. "unfreezecharge": {
  37211. "description": "解冻手续费",
  37212. "type": "number"
  37213. },
  37214. "unfreezemargin": {
  37215. "description": "解冻保证金",
  37216. "type": "number"
  37217. },
  37218. "validtime": {
  37219. "description": "有效期限",
  37220. "type": "string"
  37221. },
  37222. "validtype": {
  37223. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37224. "type": "integer"
  37225. },
  37226. "volumetype": {
  37227. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37228. "type": "integer"
  37229. }
  37230. }
  37231. },
  37232. "order.QueryTradePositionRsp": {
  37233. "type": "object",
  37234. "required": [
  37235. "goodsid"
  37236. ],
  37237. "properties": {
  37238. "accountid": {
  37239. "description": "资金账户",
  37240. "type": "integer"
  37241. },
  37242. "agreeunit": {
  37243. "description": "合约单位",
  37244. "type": "number"
  37245. },
  37246. "averageprice": {
  37247. "description": "持仓均价",
  37248. "type": "number"
  37249. },
  37250. "buyorsell": {
  37251. "description": "方向 - 0:买 1:卖",
  37252. "type": "integer"
  37253. },
  37254. "closetotalqty": {
  37255. "description": "平仓总数量",
  37256. "type": "number"
  37257. },
  37258. "curholderamount": {
  37259. "description": "当前持仓总金额[商品币种]",
  37260. "type": "number"
  37261. },
  37262. "curpositionqty": {
  37263. "description": "当前持仓总数量",
  37264. "type": "number"
  37265. },
  37266. "currencyid": {
  37267. "description": "报价货币ID",
  37268. "type": "integer"
  37269. },
  37270. "curtdposition": {
  37271. "description": "期末今日头寸",
  37272. "type": "number"
  37273. },
  37274. "decimalplace": {
  37275. "description": "报价小数位",
  37276. "type": "integer"
  37277. },
  37278. "enableqty": {
  37279. "description": "可用量",
  37280. "type": "number"
  37281. },
  37282. "fretdposition": {
  37283. "description": "冻结今日头寸",
  37284. "type": "number"
  37285. },
  37286. "frozenqty": {
  37287. "description": "持仓冻结数量",
  37288. "type": "number"
  37289. },
  37290. "goodscode": {
  37291. "description": "商品代码",
  37292. "type": "string"
  37293. },
  37294. "goodsid": {
  37295. "description": "商品Id",
  37296. "type": "integer"
  37297. },
  37298. "goodsname": {
  37299. "description": "商品名称",
  37300. "type": "string"
  37301. },
  37302. "goodunit": {
  37303. "description": "报价单位",
  37304. "type": "string"
  37305. },
  37306. "goodunitid": {
  37307. "description": "报价单位ID",
  37308. "type": "integer"
  37309. },
  37310. "holderamount": {
  37311. "description": "期初持仓总金额[商品币种]",
  37312. "type": "number"
  37313. },
  37314. "lastprice": {
  37315. "description": "最新价",
  37316. "type": "number"
  37317. },
  37318. "marketamount": {
  37319. "description": "市值",
  37320. "type": "number"
  37321. },
  37322. "marketid": {
  37323. "description": "所属市场ID",
  37324. "type": "integer"
  37325. },
  37326. "openreqqty": {
  37327. "description": "开仓申请数量(用于比较最大持仓数量)",
  37328. "type": "number"
  37329. },
  37330. "opentotalqty": {
  37331. "description": "开仓总数量",
  37332. "type": "number"
  37333. },
  37334. "otherfrozenqty": {
  37335. "description": "持仓其他冻结数量(交割冻结)",
  37336. "type": "number"
  37337. },
  37338. "positionpl": {
  37339. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37340. "type": "number"
  37341. },
  37342. "positionplrate": {
  37343. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37344. "type": "number"
  37345. },
  37346. "positionqty": {
  37347. "description": "期初持仓数量",
  37348. "type": "number"
  37349. },
  37350. "qtydecimalplace": {
  37351. "description": "成交量小数位",
  37352. "type": "integer"
  37353. },
  37354. "refgoodscode": {
  37355. "description": "参考商品代码",
  37356. "type": "string"
  37357. },
  37358. "refgoodsid": {
  37359. "description": "参考商品ID",
  37360. "type": "integer"
  37361. },
  37362. "tnqty": {
  37363. "description": "T+N冻结总量",
  37364. "type": "number"
  37365. },
  37366. "tnusedqty": {
  37367. "description": "T+N使用量(可以使用T+N的冻结数量)",
  37368. "type": "number"
  37369. },
  37370. "trademode": {
  37371. "description": "交易模式",
  37372. "type": "integer"
  37373. },
  37374. "tradeproperty": {
  37375. "description": "交易属性",
  37376. "type": "integer"
  37377. },
  37378. "usedmargin": {
  37379. "description": "占用保证金[商品币种]",
  37380. "type": "number"
  37381. }
  37382. }
  37383. },
  37384. "pb.GoodsMarginCfgStruct": {
  37385. "type": "object",
  37386. "properties": {
  37387. "CustomerTypeID": {
  37388. "description": "投资者客户类型",
  37389. "type": "integer"
  37390. },
  37391. "GoodsID": {
  37392. "description": "商品ID",
  37393. "type": "integer"
  37394. },
  37395. "IsDefault": {
  37396. "description": "是否默认标志位",
  37397. "type": "integer"
  37398. },
  37399. "LockMarginValue": {
  37400. "description": "锁仓保证金",
  37401. "type": "number"
  37402. },
  37403. "MarginAlgorithm": {
  37404. "description": "保证金计算方式",
  37405. "type": "integer"
  37406. },
  37407. "MarketMarginValue": {
  37408. "description": "即市保证金值",
  37409. "type": "number"
  37410. },
  37411. "RealMarginAlgorithm": {
  37412. "description": "实付保证金计算方式",
  37413. "type": "integer"
  37414. },
  37415. "RealMarginValue": {
  37416. "description": "实付比例",
  37417. "type": "number"
  37418. },
  37419. "ReckonMarginValue": {
  37420. "description": "结算保证金值",
  37421. "type": "number"
  37422. }
  37423. }
  37424. },
  37425. "quote.HistoryData": {
  37426. "type": "object",
  37427. "properties": {
  37428. "c": {
  37429. "description": "收盘价",
  37430. "type": "number"
  37431. },
  37432. "f": {
  37433. "description": "是否补充数据",
  37434. "type": "boolean"
  37435. },
  37436. "h": {
  37437. "description": "最高价",
  37438. "type": "number"
  37439. },
  37440. "hv": {
  37441. "description": "持仓量",
  37442. "type": "integer"
  37443. },
  37444. "l": {
  37445. "description": "最低价",
  37446. "type": "number"
  37447. },
  37448. "o": {
  37449. "description": "开盘价",
  37450. "type": "number"
  37451. },
  37452. "s": {
  37453. "description": "结算价,日线周期(包括)以上才有",
  37454. "type": "number"
  37455. },
  37456. "ts": {
  37457. "description": "时间",
  37458. "type": "string"
  37459. },
  37460. "tt": {
  37461. "description": "总金额",
  37462. "type": "number"
  37463. },
  37464. "tv": {
  37465. "description": "总量(成交量)",
  37466. "type": "integer"
  37467. }
  37468. }
  37469. },
  37470. "quote.HistoryTikData": {
  37471. "type": "object",
  37472. "properties": {
  37473. "AV": {
  37474. "description": "卖量",
  37475. "type": "integer"
  37476. },
  37477. "Ask": {
  37478. "description": "卖价",
  37479. "type": "number"
  37480. },
  37481. "BV": {
  37482. "description": "买量",
  37483. "type": "integer"
  37484. },
  37485. "Bid": {
  37486. "description": "买价",
  37487. "type": "number"
  37488. },
  37489. "HI": {
  37490. "description": "单笔持仓",
  37491. "type": "integer"
  37492. },
  37493. "HV": {
  37494. "description": "持仓量",
  37495. "type": "integer"
  37496. },
  37497. "PE": {
  37498. "description": "现价",
  37499. "type": "number"
  37500. },
  37501. "TDR": {
  37502. "description": "交易方向,0:买 1:卖",
  37503. "type": "integer"
  37504. },
  37505. "TK": {
  37506. "description": "交易类型",
  37507. "type": "integer"
  37508. },
  37509. "TS": {
  37510. "description": "行情时间文本",
  37511. "type": "string"
  37512. },
  37513. "TT": {
  37514. "description": "现金额",
  37515. "type": "number"
  37516. },
  37517. "Vol": {
  37518. "description": "现量",
  37519. "type": "integer"
  37520. }
  37521. }
  37522. },
  37523. "quote.QueryQuoteDayRsp": {
  37524. "type": "object",
  37525. "properties": {
  37526. "ask": {
  37527. "description": "卖1",
  37528. "type": "number"
  37529. },
  37530. "ask10": {
  37531. "description": "卖10",
  37532. "type": "number"
  37533. },
  37534. "ask2": {
  37535. "description": "卖2",
  37536. "type": "number"
  37537. },
  37538. "ask3": {
  37539. "description": "卖3",
  37540. "type": "number"
  37541. },
  37542. "ask4": {
  37543. "description": "卖4",
  37544. "type": "number"
  37545. },
  37546. "ask5": {
  37547. "description": "卖5",
  37548. "type": "number"
  37549. },
  37550. "ask6": {
  37551. "description": "卖6",
  37552. "type": "number"
  37553. },
  37554. "ask7": {
  37555. "description": "卖7",
  37556. "type": "number"
  37557. },
  37558. "ask8": {
  37559. "description": "卖8",
  37560. "type": "number"
  37561. },
  37562. "ask9": {
  37563. "description": "卖9",
  37564. "type": "number"
  37565. },
  37566. "askorderid": {
  37567. "description": "卖单号1",
  37568. "type": "integer"
  37569. },
  37570. "askorderid2": {
  37571. "description": "卖单号2",
  37572. "type": "integer"
  37573. },
  37574. "askorderid3": {
  37575. "description": "卖单号3",
  37576. "type": "integer"
  37577. },
  37578. "askorderid4": {
  37579. "description": "卖单号4",
  37580. "type": "integer"
  37581. },
  37582. "askorderid5": {
  37583. "description": "卖单号5",
  37584. "type": "integer"
  37585. },
  37586. "askordervolume": {
  37587. "description": "卖单量1",
  37588. "type": "integer"
  37589. },
  37590. "askordervolume10": {
  37591. "description": "卖单量10",
  37592. "type": "integer"
  37593. },
  37594. "askordervolume2": {
  37595. "description": "卖单量2",
  37596. "type": "integer"
  37597. },
  37598. "askordervolume3": {
  37599. "description": "卖单量3",
  37600. "type": "integer"
  37601. },
  37602. "askordervolume4": {
  37603. "description": "卖单量4",
  37604. "type": "integer"
  37605. },
  37606. "askordervolume5": {
  37607. "description": "卖单量5",
  37608. "type": "integer"
  37609. },
  37610. "askordervolume6": {
  37611. "description": "卖单量6",
  37612. "type": "integer"
  37613. },
  37614. "askordervolume7": {
  37615. "description": "卖单量7",
  37616. "type": "integer"
  37617. },
  37618. "askordervolume8": {
  37619. "description": "卖单量8",
  37620. "type": "integer"
  37621. },
  37622. "askordervolume9": {
  37623. "description": "卖单量9",
  37624. "type": "integer"
  37625. },
  37626. "askqueueinfo": {
  37627. "description": "大利市卖港股用",
  37628. "type": "string"
  37629. },
  37630. "askvolume": {
  37631. "description": "卖量1",
  37632. "type": "integer"
  37633. },
  37634. "askvolume10": {
  37635. "description": "卖量10",
  37636. "type": "integer"
  37637. },
  37638. "askvolume2": {
  37639. "description": "卖量2",
  37640. "type": "integer"
  37641. },
  37642. "askvolume3": {
  37643. "description": "卖量3",
  37644. "type": "integer"
  37645. },
  37646. "askvolume4": {
  37647. "description": "卖量4",
  37648. "type": "integer"
  37649. },
  37650. "askvolume5": {
  37651. "description": "卖量5",
  37652. "type": "integer"
  37653. },
  37654. "askvolume6": {
  37655. "description": "卖量6",
  37656. "type": "integer"
  37657. },
  37658. "askvolume7": {
  37659. "description": "卖量7",
  37660. "type": "integer"
  37661. },
  37662. "askvolume8": {
  37663. "description": "卖量8",
  37664. "type": "integer"
  37665. },
  37666. "askvolume9": {
  37667. "description": "卖量9",
  37668. "type": "integer"
  37669. },
  37670. "averageprice": {
  37671. "description": "均价",
  37672. "type": "number"
  37673. },
  37674. "bid": {
  37675. "description": "买1",
  37676. "type": "number"
  37677. },
  37678. "bid10": {
  37679. "description": "买10",
  37680. "type": "number"
  37681. },
  37682. "bid2": {
  37683. "description": "买2",
  37684. "type": "number"
  37685. },
  37686. "bid3": {
  37687. "description": "买3",
  37688. "type": "number"
  37689. },
  37690. "bid4": {
  37691. "description": "买4",
  37692. "type": "number"
  37693. },
  37694. "bid5": {
  37695. "description": "买5",
  37696. "type": "number"
  37697. },
  37698. "bid6": {
  37699. "description": "买6",
  37700. "type": "number"
  37701. },
  37702. "bid7": {
  37703. "description": "买7",
  37704. "type": "number"
  37705. },
  37706. "bid8": {
  37707. "description": "买8",
  37708. "type": "number"
  37709. },
  37710. "bid9": {
  37711. "description": "买9",
  37712. "type": "number"
  37713. },
  37714. "bidorderid": {
  37715. "description": "买单号1",
  37716. "type": "integer"
  37717. },
  37718. "bidorderid2": {
  37719. "description": "买单号2",
  37720. "type": "integer"
  37721. },
  37722. "bidorderid3": {
  37723. "description": "买单号3",
  37724. "type": "integer"
  37725. },
  37726. "bidorderid4": {
  37727. "description": "买单号4",
  37728. "type": "integer"
  37729. },
  37730. "bidorderid5": {
  37731. "description": "买单号5",
  37732. "type": "integer"
  37733. },
  37734. "bidordervolume": {
  37735. "description": "买单量1",
  37736. "type": "integer"
  37737. },
  37738. "bidordervolume10": {
  37739. "description": "买单量10",
  37740. "type": "integer"
  37741. },
  37742. "bidordervolume2": {
  37743. "description": "买单量2",
  37744. "type": "integer"
  37745. },
  37746. "bidordervolume3": {
  37747. "description": "买单量3",
  37748. "type": "integer"
  37749. },
  37750. "bidordervolume4": {
  37751. "description": "买单量4",
  37752. "type": "integer"
  37753. },
  37754. "bidordervolume5": {
  37755. "description": "买单量5",
  37756. "type": "integer"
  37757. },
  37758. "bidordervolume6": {
  37759. "description": "买单量6",
  37760. "type": "integer"
  37761. },
  37762. "bidordervolume7": {
  37763. "description": "买单量7",
  37764. "type": "integer"
  37765. },
  37766. "bidordervolume8": {
  37767. "description": "买单量8",
  37768. "type": "integer"
  37769. },
  37770. "bidordervolume9": {
  37771. "description": "买单量9",
  37772. "type": "integer"
  37773. },
  37774. "bidqueueinfo": {
  37775. "description": "大利市买港股用",
  37776. "type": "string"
  37777. },
  37778. "bidvolume": {
  37779. "description": "买量1",
  37780. "type": "integer"
  37781. },
  37782. "bidvolume10": {
  37783. "description": "买量10",
  37784. "type": "integer"
  37785. },
  37786. "bidvolume2": {
  37787. "description": "买量2",
  37788. "type": "integer"
  37789. },
  37790. "bidvolume3": {
  37791. "description": "买量3",
  37792. "type": "integer"
  37793. },
  37794. "bidvolume4": {
  37795. "description": "买量4",
  37796. "type": "integer"
  37797. },
  37798. "bidvolume5": {
  37799. "description": "买量5",
  37800. "type": "integer"
  37801. },
  37802. "bidvolume6": {
  37803. "description": "买量6",
  37804. "type": "integer"
  37805. },
  37806. "bidvolume7": {
  37807. "description": "买量7",
  37808. "type": "integer"
  37809. },
  37810. "bidvolume8": {
  37811. "description": "买量8",
  37812. "type": "integer"
  37813. },
  37814. "bidvolume9": {
  37815. "description": "买量9",
  37816. "type": "integer"
  37817. },
  37818. "calloptionpremiums": {
  37819. "description": "认购期权1",
  37820. "type": "integer"
  37821. },
  37822. "calloptionpremiums2": {
  37823. "description": "认购期权2",
  37824. "type": "integer"
  37825. },
  37826. "calloptionpremiums3": {
  37827. "description": "认购期权3",
  37828. "type": "integer"
  37829. },
  37830. "calloptionpremiums4": {
  37831. "description": "认购期权4",
  37832. "type": "integer"
  37833. },
  37834. "calloptionpremiums5": {
  37835. "description": "认购期权5",
  37836. "type": "integer"
  37837. },
  37838. "cleartime": {
  37839. "description": "清盘时间",
  37840. "type": "integer"
  37841. },
  37842. "exchangecode": {
  37843. "description": "交易所代码",
  37844. "type": "integer"
  37845. },
  37846. "exchangedate": {
  37847. "description": "交易日",
  37848. "type": "integer"
  37849. },
  37850. "goodscode": {
  37851. "description": "商品代码",
  37852. "type": "string"
  37853. },
  37854. "grepmarketprice": {
  37855. "description": "暗盘价 港股专用",
  37856. "type": "number"
  37857. },
  37858. "highest": {
  37859. "description": "最高价",
  37860. "type": "number"
  37861. },
  37862. "holdincrement": {
  37863. "description": "单笔持仓",
  37864. "type": "integer"
  37865. },
  37866. "holdvolume": {
  37867. "description": "持仓",
  37868. "type": "integer"
  37869. },
  37870. "iep": {
  37871. "description": "平衡价 港股专用",
  37872. "type": "number"
  37873. },
  37874. "iev": {
  37875. "description": "平衡量 港股专用",
  37876. "type": "number"
  37877. },
  37878. "inventory": {
  37879. "description": "库存",
  37880. "type": "integer"
  37881. },
  37882. "iscleared": {
  37883. "description": "是否清盘标志",
  37884. "type": "integer"
  37885. },
  37886. "issettled": {
  37887. "description": "是否结算标志",
  37888. "type": "integer"
  37889. },
  37890. "last": {
  37891. "description": "最新价",
  37892. "type": "number"
  37893. },
  37894. "lastlot": {
  37895. "description": "最新成交手数",
  37896. "type": "integer"
  37897. },
  37898. "lasttime": {
  37899. "description": "行情时间(只有现价变化行情时间才变化)",
  37900. "type": "string"
  37901. },
  37902. "lastturnover": {
  37903. "description": "最新成交金额",
  37904. "type": "number"
  37905. },
  37906. "lastvolume": {
  37907. "description": "最新成交量",
  37908. "type": "integer"
  37909. },
  37910. "limitdown": {
  37911. "description": "跌停价",
  37912. "type": "number"
  37913. },
  37914. "limitup": {
  37915. "description": "涨停价",
  37916. "type": "number"
  37917. },
  37918. "lowest": {
  37919. "description": "最低价",
  37920. "type": "number"
  37921. },
  37922. "nontotalholdervolume": {
  37923. "description": "非交易持仓量",
  37924. "type": "integer"
  37925. },
  37926. "nontotallot": {
  37927. "description": "非交易总手数",
  37928. "type": "integer"
  37929. },
  37930. "nontotalturnover": {
  37931. "description": "非交易总金额",
  37932. "type": "integer"
  37933. },
  37934. "nontotalvolume": {
  37935. "description": "非交易总量",
  37936. "type": "integer"
  37937. },
  37938. "opened": {
  37939. "description": "开盘价",
  37940. "type": "number"
  37941. },
  37942. "opentime": {
  37943. "description": "开盘时间",
  37944. "type": "string"
  37945. },
  37946. "orderid": {
  37947. "description": "序号",
  37948. "type": "integer"
  37949. },
  37950. "preclose": {
  37951. "description": "昨收",
  37952. "type": "number"
  37953. },
  37954. "preholdvolume": {
  37955. "description": "昨持仓",
  37956. "type": "integer"
  37957. },
  37958. "presettle": {
  37959. "description": "昨结价",
  37960. "type": "number"
  37961. },
  37962. "publictradetype": {
  37963. "description": "公共交易标志类型 港股专用",
  37964. "type": "string"
  37965. },
  37966. "putoptionpremiums": {
  37967. "description": "认沽期权1",
  37968. "type": "integer"
  37969. },
  37970. "putoptionpremiums2": {
  37971. "description": "认沽期权2",
  37972. "type": "integer"
  37973. },
  37974. "putoptionpremiums3": {
  37975. "description": "认沽期权3",
  37976. "type": "integer"
  37977. },
  37978. "putoptionpremiums4": {
  37979. "description": "认沽期权4",
  37980. "type": "integer"
  37981. },
  37982. "putoptionpremiums5": {
  37983. "description": "认沽期权5",
  37984. "type": "integer"
  37985. },
  37986. "settle": {
  37987. "description": "结算价",
  37988. "type": "number"
  37989. },
  37990. "strikeprice": {
  37991. "description": "发行价",
  37992. "type": "number"
  37993. },
  37994. "totalaskvolume": {
  37995. "description": "内盘",
  37996. "type": "integer"
  37997. },
  37998. "totalbidvolume": {
  37999. "description": "外盘",
  38000. "type": "integer"
  38001. },
  38002. "totallot": {
  38003. "description": "总手数",
  38004. "type": "integer"
  38005. },
  38006. "totalturnover": {
  38007. "description": "总金额",
  38008. "type": "number"
  38009. },
  38010. "totalvolume": {
  38011. "description": "总量",
  38012. "type": "integer"
  38013. },
  38014. "utclasttime": {
  38015. "description": "utc的行情时间",
  38016. "type": "string"
  38017. }
  38018. }
  38019. },
  38020. "quote.QueryTSDataRsp": {
  38021. "type": "object",
  38022. "properties": {
  38023. "Count": {
  38024. "description": "交易日应有数据个数",
  38025. "type": "integer"
  38026. },
  38027. "decimalPlace": {
  38028. "description": "小数位",
  38029. "type": "integer"
  38030. },
  38031. "endTime": {
  38032. "description": "结束时间",
  38033. "type": "string"
  38034. },
  38035. "goodsCode": {
  38036. "description": "商品代码",
  38037. "type": "string"
  38038. },
  38039. "historyDatas": {
  38040. "description": "历史数据",
  38041. "type": "array",
  38042. "items": {
  38043. "$ref": "#/definitions/quote.HistoryData"
  38044. }
  38045. },
  38046. "outGoodsCode": {
  38047. "description": "外部商品代码",
  38048. "type": "string"
  38049. },
  38050. "preSettle": {
  38051. "description": "昨结价",
  38052. "type": "number"
  38053. },
  38054. "runSteps": {
  38055. "description": "交易日开休市计划",
  38056. "type": "array",
  38057. "items": {
  38058. "$ref": "#/definitions/quote.TSDataRunStep"
  38059. }
  38060. },
  38061. "startTime": {
  38062. "description": "开始时间",
  38063. "type": "string"
  38064. },
  38065. "tradeDate": {
  38066. "description": "交易日",
  38067. "type": "string"
  38068. }
  38069. }
  38070. },
  38071. "quote.TSDataRunStep": {
  38072. "type": "object",
  38073. "properties": {
  38074. "end": {
  38075. "description": "真实结束时间",
  38076. "type": "string"
  38077. },
  38078. "endflag": {
  38079. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38080. "type": "integer"
  38081. },
  38082. "endtime": {
  38083. "description": "结束时间(HH:mm)",
  38084. "type": "string"
  38085. },
  38086. "endweekday": {
  38087. "description": "结束周几",
  38088. "type": "integer"
  38089. },
  38090. "groupid": {
  38091. "description": "分组ID",
  38092. "type": "integer"
  38093. },
  38094. "runstep": {
  38095. "description": "运行阶段 - 2:连续交易",
  38096. "type": "integer"
  38097. },
  38098. "sectionid": {
  38099. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38100. "type": "integer"
  38101. },
  38102. "start": {
  38103. "description": "真实开始时间",
  38104. "type": "string"
  38105. },
  38106. "startflag": {
  38107. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38108. "type": "integer"
  38109. },
  38110. "starttime": {
  38111. "description": "起始时间(HH:mm)",
  38112. "type": "string"
  38113. },
  38114. "startweekday": {
  38115. "description": "起始周几",
  38116. "type": "integer"
  38117. },
  38118. "tradeweekday": {
  38119. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38120. "type": "integer"
  38121. }
  38122. }
  38123. },
  38124. "szdz.QueryConvertLogRsp": {
  38125. "type": "object",
  38126. "required": [
  38127. "logid"
  38128. ],
  38129. "properties": {
  38130. "accountid": {
  38131. "description": "资金账户ID",
  38132. "type": "integer"
  38133. },
  38134. "clientticket": {
  38135. "description": "客户端流水号",
  38136. "type": "string"
  38137. },
  38138. "converttype": {
  38139. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38140. "type": "integer"
  38141. },
  38142. "createtime": {
  38143. "description": "记账时间",
  38144. "type": "string"
  38145. },
  38146. "daymaxvalue": {
  38147. "description": "配置当日最大转入限制",
  38148. "type": "number"
  38149. },
  38150. "daymaxvalue2": {
  38151. "description": "配置当日最大转入限制(转入)",
  38152. "type": "number"
  38153. },
  38154. "goodscode": {
  38155. "description": "商品代码",
  38156. "type": "string"
  38157. },
  38158. "goodsname": {
  38159. "description": "商品名称",
  38160. "type": "string"
  38161. },
  38162. "handlestatus": {
  38163. "description": "处理状态",
  38164. "type": "integer"
  38165. },
  38166. "innergoodsid": {
  38167. "description": "内部商品ID",
  38168. "type": "integer"
  38169. },
  38170. "inratio": {
  38171. "description": "配置转入比值",
  38172. "type": "integer"
  38173. },
  38174. "invalue": {
  38175. "description": "目标值",
  38176. "type": "number"
  38177. },
  38178. "logid": {
  38179. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38180. "type": "integer"
  38181. },
  38182. "mobile": {
  38183. "description": "手机号码(加密存储)",
  38184. "type": "string"
  38185. },
  38186. "outergoodscode": {
  38187. "description": "外部商品代码[JD\\PD]",
  38188. "type": "string"
  38189. },
  38190. "outratio": {
  38191. "description": "配置转出比值",
  38192. "type": "integer"
  38193. },
  38194. "outvalue": {
  38195. "description": "源值",
  38196. "type": "number"
  38197. },
  38198. "pddecimalplace": {
  38199. "description": "PD小数位",
  38200. "type": "integer"
  38201. },
  38202. "qty": {
  38203. "description": "数量",
  38204. "type": "string"
  38205. },
  38206. "remark": {
  38207. "description": "备注",
  38208. "type": "string"
  38209. },
  38210. "sessionid": {
  38211. "description": "会话ID",
  38212. "type": "integer"
  38213. },
  38214. "timemaxvalue": {
  38215. "description": "配置单次最大转入限制",
  38216. "type": "number"
  38217. },
  38218. "timemaxvalue2": {
  38219. "description": "配置单次最大转入限制(转入)",
  38220. "type": "number"
  38221. },
  38222. "timeminvalue": {
  38223. "description": "配置单次最小数量限制",
  38224. "type": "number"
  38225. },
  38226. "timeminvalue2": {
  38227. "description": "配置单次最小数量限制(转入)",
  38228. "type": "number"
  38229. },
  38230. "tradedate": {
  38231. "description": "交易日(yyyyMMdd)",
  38232. "type": "string"
  38233. },
  38234. "userid": {
  38235. "description": "用户ID",
  38236. "type": "integer"
  38237. }
  38238. }
  38239. },
  38240. "szdz.QueryGoodsPickupRsp": {
  38241. "type": "object",
  38242. "required": [
  38243. "takeorderid"
  38244. ],
  38245. "properties": {
  38246. "accountid": {
  38247. "description": "账户ID",
  38248. "type": "integer"
  38249. },
  38250. "address": {
  38251. "description": "提货人详细地址",
  38252. "type": "string"
  38253. },
  38254. "auditer": {
  38255. "description": "审核人",
  38256. "type": "integer"
  38257. },
  38258. "audittime": {
  38259. "description": "审核时间",
  38260. "type": "string"
  38261. },
  38262. "cardnum": {
  38263. "description": "提货人证件号码",
  38264. "type": "string"
  38265. },
  38266. "cardtypeid": {
  38267. "description": "提货人证件类型",
  38268. "type": "integer"
  38269. },
  38270. "checkremark": {
  38271. "description": "审核备注",
  38272. "type": "string"
  38273. },
  38274. "goodscode": {
  38275. "description": "商品代码",
  38276. "type": "string"
  38277. },
  38278. "goodsid": {
  38279. "description": "商品ID",
  38280. "type": "integer"
  38281. },
  38282. "goodsname": {
  38283. "description": "商品名称",
  38284. "type": "string"
  38285. },
  38286. "handlestatus": {
  38287. "description": "处理状态",
  38288. "type": "integer"
  38289. },
  38290. "marketid": {
  38291. "description": "市场ID",
  38292. "type": "integer"
  38293. },
  38294. "phonenum": {
  38295. "description": "提货人联系方式",
  38296. "type": "string"
  38297. },
  38298. "qty": {
  38299. "description": "提货数量",
  38300. "type": "number"
  38301. },
  38302. "recivername": {
  38303. "description": "提货人姓名",
  38304. "type": "string"
  38305. },
  38306. "reqtime": {
  38307. "description": "更新时间",
  38308. "type": "string"
  38309. },
  38310. "takemode": {
  38311. "description": "提货方式 - 2:自提 3:配送",
  38312. "type": "integer"
  38313. },
  38314. "takeorderid": {
  38315. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38316. "type": "string"
  38317. },
  38318. "takeorderstatus": {
  38319. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38320. "type": "integer"
  38321. },
  38322. "takeremark": {
  38323. "description": "提货备注",
  38324. "type": "string"
  38325. },
  38326. "tradedate": {
  38327. "description": "交易日(yyyyMMdd)",
  38328. "type": "string"
  38329. },
  38330. "userid": {
  38331. "description": "用户ID",
  38332. "type": "integer"
  38333. }
  38334. }
  38335. },
  38336. "szdz.QueryRecieptOrderRsp": {
  38337. "type": "object",
  38338. "required": [
  38339. "ordertime"
  38340. ],
  38341. "properties": {
  38342. "accountName": {
  38343. "description": "所属账号名称(已脱敏)",
  38344. "type": "string"
  38345. },
  38346. "accountid": {
  38347. "description": "资金账号",
  38348. "type": "integer"
  38349. },
  38350. "buyorsell": {
  38351. "description": "方向 - 0:买 1:卖",
  38352. "type": "integer"
  38353. },
  38354. "enableqty": {
  38355. "description": "可摘数量",
  38356. "type": "integer"
  38357. },
  38358. "goodscode": {
  38359. "description": "商品代码",
  38360. "type": "string"
  38361. },
  38362. "goodsid": {
  38363. "description": "商品ID",
  38364. "type": "integer"
  38365. },
  38366. "goodsname": {
  38367. "description": "商品名称",
  38368. "type": "string"
  38369. },
  38370. "orderid": {
  38371. "description": "委托单号",
  38372. "type": "string"
  38373. },
  38374. "orderprice": {
  38375. "description": "委托价格",
  38376. "type": "number"
  38377. },
  38378. "ordertime": {
  38379. "description": "委托时间",
  38380. "type": "string"
  38381. },
  38382. "tradedate": {
  38383. "description": "交易日(yyyyMMdd)",
  38384. "type": "string"
  38385. }
  38386. }
  38387. },
  38388. "szdz.QuerySZDZTradePositionRsp": {
  38389. "type": "object",
  38390. "properties": {
  38391. "accountid": {
  38392. "description": "账号Id",
  38393. "type": "integer"
  38394. },
  38395. "agreeunit": {
  38396. "description": "合约单位",
  38397. "type": "number"
  38398. },
  38399. "averageprice": {
  38400. "description": "持仓均价",
  38401. "type": "number"
  38402. },
  38403. "buyorsell": {
  38404. "description": "方向 - 0:买 1:卖",
  38405. "type": "integer"
  38406. },
  38407. "closetotalqty": {
  38408. "description": "平仓总数量",
  38409. "type": "integer"
  38410. },
  38411. "curholderamount": {
  38412. "description": "当前持仓总金额",
  38413. "type": "number"
  38414. },
  38415. "curpositionqty": {
  38416. "description": "当前持仓总数量",
  38417. "type": "integer"
  38418. },
  38419. "currencyid": {
  38420. "description": "报价货币ID",
  38421. "type": "integer"
  38422. },
  38423. "curtdposition": {
  38424. "description": "期末今日头寸",
  38425. "type": "integer"
  38426. },
  38427. "decimalplace": {
  38428. "description": "报价小数位",
  38429. "type": "integer"
  38430. },
  38431. "enableqty": {
  38432. "description": "可用量",
  38433. "type": "integer"
  38434. },
  38435. "fretdposition": {
  38436. "description": "冻结今日头寸",
  38437. "type": "integer"
  38438. },
  38439. "frozenqty": {
  38440. "description": "持仓冻结数量",
  38441. "type": "integer"
  38442. },
  38443. "goodscode": {
  38444. "description": "商品代码(内部)",
  38445. "type": "string"
  38446. },
  38447. "goodsid": {
  38448. "description": "商品Id",
  38449. "type": "integer"
  38450. },
  38451. "goodsname": {
  38452. "description": "商品名称",
  38453. "type": "string"
  38454. },
  38455. "goodunit": {
  38456. "description": "报价单位",
  38457. "type": "string"
  38458. },
  38459. "goodunitid": {
  38460. "description": "报价单位ID",
  38461. "type": "integer"
  38462. },
  38463. "holderamount": {
  38464. "description": "期初持仓总金额",
  38465. "type": "number"
  38466. },
  38467. "marketid": {
  38468. "description": "市场ID",
  38469. "type": "integer"
  38470. },
  38471. "openreqqty": {
  38472. "description": "开仓申请数量",
  38473. "type": "integer"
  38474. },
  38475. "opentotalqty": {
  38476. "description": "开仓总数量",
  38477. "type": "integer"
  38478. },
  38479. "otherfrozenqty": {
  38480. "description": "持仓其他冻结数量(交割冻结)",
  38481. "type": "integer"
  38482. },
  38483. "positionqty": {
  38484. "description": "期初持仓数量",
  38485. "type": "integer"
  38486. },
  38487. "szdz3freezqty": {
  38488. "description": "尚志大宗转换冻结总数量",
  38489. "type": "integer"
  38490. },
  38491. "tnqty": {
  38492. "description": "T+N冻结总量",
  38493. "type": "integer"
  38494. },
  38495. "tnusedqty": {
  38496. "description": "T+N使用量",
  38497. "type": "integer"
  38498. },
  38499. "trademode": {
  38500. "description": "交易模式",
  38501. "type": "integer"
  38502. },
  38503. "usedmargin": {
  38504. "description": "占用保证金",
  38505. "type": "number"
  38506. }
  38507. }
  38508. },
  38509. "taaccount.QueryAmountLogRsp": {
  38510. "type": "object",
  38511. "required": [
  38512. "accountid",
  38513. "amount",
  38514. "amountadjusttype",
  38515. "autoid",
  38516. "balance",
  38517. "createtime",
  38518. "currentbalance",
  38519. "operatetype"
  38520. ],
  38521. "properties": {
  38522. "OPERATETYPENAME": {
  38523. "description": "资金操作类型名称",
  38524. "type": "string"
  38525. },
  38526. "accountid": {
  38527. "description": "资金账户ID",
  38528. "type": "integer"
  38529. },
  38530. "agoodscode": {
  38531. "description": "竞拍商品代码",
  38532. "type": "string"
  38533. },
  38534. "agoodsname": {
  38535. "description": "竞拍商品名称",
  38536. "type": "string"
  38537. },
  38538. "amount": {
  38539. "description": "资金金额",
  38540. "type": "number"
  38541. },
  38542. "amountadjusttype": {
  38543. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38544. "type": "integer"
  38545. },
  38546. "autoid": {
  38547. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38548. "type": "integer"
  38549. },
  38550. "balance": {
  38551. "description": "期初余额",
  38552. "type": "number"
  38553. },
  38554. "businesscode": {
  38555. "description": "业务编号",
  38556. "type": "integer"
  38557. },
  38558. "createtime": {
  38559. "description": "发生时间",
  38560. "type": "string"
  38561. },
  38562. "currencyid": {
  38563. "description": "币种ID",
  38564. "type": "integer"
  38565. },
  38566. "currentbalance": {
  38567. "description": "期末余额(变动后金额)",
  38568. "type": "number"
  38569. },
  38570. "dgoodscode": {
  38571. "description": "交割商品代码",
  38572. "type": "string"
  38573. },
  38574. "dgoodsname": {
  38575. "description": "交割商品名称",
  38576. "type": "string"
  38577. },
  38578. "goodscode": {
  38579. "description": "商品代码",
  38580. "type": "string"
  38581. },
  38582. "goodsid": {
  38583. "description": "商品ID",
  38584. "type": "integer"
  38585. },
  38586. "goodsname": {
  38587. "description": "商品名称",
  38588. "type": "string"
  38589. },
  38590. "marketid": {
  38591. "description": "市场ID",
  38592. "type": "integer"
  38593. },
  38594. "marketname": {
  38595. "description": "市场名称",
  38596. "type": "string"
  38597. },
  38598. "moneyticket": {
  38599. "description": "资金流水号:银行端流水号",
  38600. "type": "integer"
  38601. },
  38602. "operatetype": {
  38603. "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:营销收款",
  38604. "type": "integer"
  38605. },
  38606. "relationorderid": {
  38607. "description": "关联单号",
  38608. "type": "string"
  38609. },
  38610. "remark": {
  38611. "description": "备注",
  38612. "type": "string"
  38613. },
  38614. "trademode": {
  38615. "description": "交易模式",
  38616. "type": "integer"
  38617. }
  38618. }
  38619. },
  38620. "taaccount.QueryHisAmountLogRsp": {
  38621. "type": "object",
  38622. "required": [
  38623. "accountid",
  38624. "amount",
  38625. "amountadjusttype",
  38626. "autoid",
  38627. "balance",
  38628. "createtime",
  38629. "currentbalance",
  38630. "histradedate",
  38631. "operatetype"
  38632. ],
  38633. "properties": {
  38634. "OPERATETYPENAME": {
  38635. "description": "资金操作类型名称",
  38636. "type": "string"
  38637. },
  38638. "accountid": {
  38639. "description": "资金账户ID",
  38640. "type": "integer"
  38641. },
  38642. "agoodscode": {
  38643. "description": "竞拍商品代码",
  38644. "type": "string"
  38645. },
  38646. "agoodsname": {
  38647. "description": "竞拍商品名称",
  38648. "type": "string"
  38649. },
  38650. "amount": {
  38651. "description": "资金金额",
  38652. "type": "number"
  38653. },
  38654. "amountadjusttype": {
  38655. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38656. "type": "integer"
  38657. },
  38658. "autoid": {
  38659. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38660. "type": "integer"
  38661. },
  38662. "balance": {
  38663. "description": "期初余额",
  38664. "type": "number"
  38665. },
  38666. "businesscode": {
  38667. "description": "业务编号",
  38668. "type": "integer"
  38669. },
  38670. "createtime": {
  38671. "description": "发生时间",
  38672. "type": "string"
  38673. },
  38674. "currencyid": {
  38675. "description": "币种ID",
  38676. "type": "integer"
  38677. },
  38678. "currentbalance": {
  38679. "description": "期末余额(变动后金额)",
  38680. "type": "number"
  38681. },
  38682. "dgoodscode": {
  38683. "description": "交割商品代码",
  38684. "type": "string"
  38685. },
  38686. "dgoodsname": {
  38687. "description": "交割商品名称",
  38688. "type": "string"
  38689. },
  38690. "goodscode": {
  38691. "description": "商品代码",
  38692. "type": "string"
  38693. },
  38694. "goodsid": {
  38695. "description": "商品ID",
  38696. "type": "integer"
  38697. },
  38698. "goodsname": {
  38699. "description": "商品名称",
  38700. "type": "string"
  38701. },
  38702. "histradedate": {
  38703. "description": "历史交易日",
  38704. "type": "string"
  38705. },
  38706. "isvaliddata": {
  38707. "description": "是否有效 - 0:无效 1:有效",
  38708. "type": "integer"
  38709. },
  38710. "marketid": {
  38711. "description": "市场ID",
  38712. "type": "integer"
  38713. },
  38714. "marketname": {
  38715. "description": "市场名称",
  38716. "type": "string"
  38717. },
  38718. "moneyticket": {
  38719. "description": "资金流水号:银行端流水号",
  38720. "type": "integer"
  38721. },
  38722. "operatetype": {
  38723. "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:营销收款",
  38724. "type": "integer"
  38725. },
  38726. "relationorderid": {
  38727. "description": "关联单号",
  38728. "type": "string"
  38729. },
  38730. "remark": {
  38731. "description": "备注",
  38732. "type": "string"
  38733. },
  38734. "trademode": {
  38735. "description": "交易模式",
  38736. "type": "integer"
  38737. }
  38738. }
  38739. },
  38740. "trade.QueryRecieptOrderRsp": {
  38741. "type": "object",
  38742. "required": [
  38743. "ordertime"
  38744. ],
  38745. "properties": {
  38746. "accountName": {
  38747. "description": "所属账号名称(已脱敏)",
  38748. "type": "string"
  38749. },
  38750. "accountid": {
  38751. "description": "资金账号",
  38752. "type": "integer"
  38753. },
  38754. "buyorsell": {
  38755. "description": "方向 - 0:买 1:卖",
  38756. "type": "integer"
  38757. },
  38758. "enableqty": {
  38759. "description": "可摘数量",
  38760. "type": "integer"
  38761. },
  38762. "goodscode": {
  38763. "description": "商品代码",
  38764. "type": "string"
  38765. },
  38766. "goodsid": {
  38767. "description": "商品ID",
  38768. "type": "integer"
  38769. },
  38770. "goodsname": {
  38771. "description": "商品名称",
  38772. "type": "string"
  38773. },
  38774. "orderid": {
  38775. "description": "委托单号",
  38776. "type": "string"
  38777. },
  38778. "orderprice": {
  38779. "description": "委托价格",
  38780. "type": "number"
  38781. },
  38782. "ordertime": {
  38783. "description": "委托时间",
  38784. "type": "string"
  38785. },
  38786. "tradedate": {
  38787. "description": "交易日(yyyyMMdd)",
  38788. "type": "string"
  38789. }
  38790. }
  38791. },
  38792. "user.LoginQueryRsp": {
  38793. "type": "object",
  38794. "properties": {
  38795. "areaRoles": {
  38796. "description": "所属角色信息",
  38797. "type": "array",
  38798. "items": {
  38799. "$ref": "#/definitions/models.Arearole"
  38800. }
  38801. },
  38802. "externalExchanges": {
  38803. "description": "外部交易所",
  38804. "type": "array",
  38805. "items": {
  38806. "$ref": "#/definitions/models.Externalexchange"
  38807. }
  38808. },
  38809. "goodsgroups": {
  38810. "description": "商品组",
  38811. "type": "array",
  38812. "items": {
  38813. "$ref": "#/definitions/models.Goodsgroup"
  38814. }
  38815. },
  38816. "loginAccount": {
  38817. "description": "登录账号",
  38818. "$ref": "#/definitions/models.Loginaccount"
  38819. },
  38820. "markets": {
  38821. "description": "市场",
  38822. "type": "array",
  38823. "items": {
  38824. "$ref": "#/definitions/models.Market"
  38825. }
  38826. },
  38827. "systemParams": {
  38828. "description": "系统参数",
  38829. "type": "array",
  38830. "items": {
  38831. "$ref": "#/definitions/models.Systemparam"
  38832. }
  38833. },
  38834. "userAccount": {
  38835. "description": "用户账号",
  38836. "$ref": "#/definitions/models.Useraccount"
  38837. },
  38838. "userInfo": {
  38839. "description": "用户信息",
  38840. "$ref": "#/definitions/models.Userinfo"
  38841. },
  38842. "username": {
  38843. "description": "用户姓名",
  38844. "type": "string"
  38845. }
  38846. }
  38847. }
  38848. },
  38849. "securityDefinitions": {
  38850. "ApiKeyAuth": {
  38851. "type": "apiKey",
  38852. "name": "Authorization",
  38853. "in": "header"
  38854. },
  38855. "Group": {
  38856. "type": "apiKey",
  38857. "name": "Group",
  38858. "in": "header"
  38859. },
  38860. "LoginID": {
  38861. "type": "apiKey",
  38862. "name": "LoginID",
  38863. "in": "header"
  38864. }
  38865. }
  38866. }`
  38867. // SwaggerInfo holds exported Swagger Info so clients can modify it
  38868. var SwaggerInfo = &swag.Spec{
  38869. Version: "1.0",
  38870. Host: "",
  38871. BasePath: "",
  38872. Schemes: []string{},
  38873. Title: "MTP2.0 查询服务 API",
  38874. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  38875. InfoInstanceName: "swagger",
  38876. SwaggerTemplate: docTemplate,
  38877. }
  38878. func init() {
  38879. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  38880. }