docs.go 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613
  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. "type": "string",
  7854. "description": "开始交易日(yyyymmdd)",
  7855. "name": "begindate",
  7856. "in": "query"
  7857. },
  7858. {
  7859. "type": "string",
  7860. "description": "结束交易日(yyyymmdd)",
  7861. "name": "enddate",
  7862. "in": "query"
  7863. }
  7864. ],
  7865. "responses": {
  7866. "200": {
  7867. "description": "OK",
  7868. "schema": {
  7869. "type": "array",
  7870. "items": {
  7871. "$ref": "#/definitions/models.MyBuyOrder"
  7872. }
  7873. }
  7874. },
  7875. "500": {
  7876. "description": "Internal Server Error",
  7877. "schema": {
  7878. "$ref": "#/definitions/app.Response"
  7879. }
  7880. }
  7881. }
  7882. }
  7883. },
  7884. "/Guangzuan/QueryMyDeListing": {
  7885. "get": {
  7886. "security": [
  7887. {
  7888. "ApiKeyAuth": []
  7889. },
  7890. {
  7891. "LoginID": []
  7892. },
  7893. {
  7894. "Group": []
  7895. }
  7896. ],
  7897. "produces": [
  7898. "application/json"
  7899. ],
  7900. "tags": [
  7901. "广钻"
  7902. ],
  7903. "summary": "查询我的摘牌",
  7904. "parameters": [
  7905. {
  7906. "type": "integer",
  7907. "description": "用户ID",
  7908. "name": "userid",
  7909. "in": "query",
  7910. "required": true
  7911. },
  7912. {
  7913. "type": "integer",
  7914. "description": "页码",
  7915. "name": "page",
  7916. "in": "query"
  7917. },
  7918. {
  7919. "type": "integer",
  7920. "description": "每页条数",
  7921. "name": "pagesize",
  7922. "in": "query"
  7923. },
  7924. {
  7925. "type": "string",
  7926. "description": "商品(查询字段-模糊查询)",
  7927. "name": "zsallproperties",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "string",
  7932. "description": "钻石分类, 格式:1,2,3",
  7933. "name": "zscategorys",
  7934. "in": "query"
  7935. },
  7936. {
  7937. "type": "integer",
  7938. "description": "成交单号",
  7939. "name": "wrtradedetailid",
  7940. "in": "query"
  7941. },
  7942. {
  7943. "type": "integer",
  7944. "description": "方向,0-购买 1-出售",
  7945. "name": "buyorsell",
  7946. "in": "query"
  7947. },
  7948. {
  7949. "type": "string",
  7950. "description": "对手方(模糊匹配)",
  7951. "name": "matchusername",
  7952. "in": "query"
  7953. },
  7954. {
  7955. "type": "string",
  7956. "description": "开始交易日(yyyymmdd)",
  7957. "name": "begindate",
  7958. "in": "query"
  7959. },
  7960. {
  7961. "type": "string",
  7962. "description": "结束交易日(yyyymmdd)",
  7963. "name": "enddate",
  7964. "in": "query"
  7965. }
  7966. ],
  7967. "responses": {
  7968. "200": {
  7969. "description": "OK",
  7970. "schema": {
  7971. "type": "array",
  7972. "items": {
  7973. "$ref": "#/definitions/models.MyDeListing"
  7974. }
  7975. }
  7976. },
  7977. "500": {
  7978. "description": "Internal Server Error",
  7979. "schema": {
  7980. "$ref": "#/definitions/app.Response"
  7981. }
  7982. }
  7983. }
  7984. }
  7985. },
  7986. "/Guangzuan/QueryMyDelistingApply": {
  7987. "get": {
  7988. "security": [
  7989. {
  7990. "ApiKeyAuth": []
  7991. },
  7992. {
  7993. "LoginID": []
  7994. },
  7995. {
  7996. "Group": []
  7997. }
  7998. ],
  7999. "produces": [
  8000. "application/json"
  8001. ],
  8002. "tags": [
  8003. "广钻"
  8004. ],
  8005. "summary": "查询我的询价-出售",
  8006. "parameters": [
  8007. {
  8008. "type": "integer",
  8009. "description": "用户ID",
  8010. "name": "userid",
  8011. "in": "query",
  8012. "required": true
  8013. },
  8014. {
  8015. "type": "integer",
  8016. "description": "页码",
  8017. "name": "page",
  8018. "in": "query"
  8019. },
  8020. {
  8021. "type": "integer",
  8022. "description": "每页条数",
  8023. "name": "pagesize",
  8024. "in": "query"
  8025. },
  8026. {
  8027. "type": "integer",
  8028. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8029. "name": "applystatus",
  8030. "in": "query"
  8031. }
  8032. ],
  8033. "responses": {
  8034. "200": {
  8035. "description": "OK",
  8036. "schema": {
  8037. "type": "array",
  8038. "items": {
  8039. "$ref": "#/definitions/models.MyDelistingApply"
  8040. }
  8041. }
  8042. },
  8043. "500": {
  8044. "description": "Internal Server Error",
  8045. "schema": {
  8046. "$ref": "#/definitions/app.Response"
  8047. }
  8048. }
  8049. }
  8050. }
  8051. },
  8052. "/Guangzuan/QueryMyFavorite": {
  8053. "get": {
  8054. "security": [
  8055. {
  8056. "ApiKeyAuth": []
  8057. },
  8058. {
  8059. "LoginID": []
  8060. },
  8061. {
  8062. "Group": []
  8063. }
  8064. ],
  8065. "produces": [
  8066. "application/json"
  8067. ],
  8068. "tags": [
  8069. "广钻"
  8070. ],
  8071. "summary": "查询我的收藏",
  8072. "parameters": [
  8073. {
  8074. "type": "integer",
  8075. "description": "用户ID",
  8076. "name": "userid",
  8077. "in": "query",
  8078. "required": true
  8079. },
  8080. {
  8081. "type": "integer",
  8082. "description": "页码",
  8083. "name": "page",
  8084. "in": "query"
  8085. },
  8086. {
  8087. "type": "integer",
  8088. "description": "每页条数",
  8089. "name": "pagesize",
  8090. "in": "query"
  8091. },
  8092. {
  8093. "type": "string",
  8094. "description": "钻石分类, 格式:1,2,3",
  8095. "name": "zscategorys",
  8096. "in": "query"
  8097. }
  8098. ],
  8099. "responses": {
  8100. "200": {
  8101. "description": "OK",
  8102. "schema": {
  8103. "type": "array",
  8104. "items": {
  8105. "$ref": "#/definitions/models.MyFavorite"
  8106. }
  8107. }
  8108. },
  8109. "500": {
  8110. "description": "Internal Server Error",
  8111. "schema": {
  8112. "$ref": "#/definitions/app.Response"
  8113. }
  8114. }
  8115. }
  8116. }
  8117. },
  8118. "/Guangzuan/QueryMyPerformanc": {
  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": "用户ID",
  8142. "name": "userid",
  8143. "in": "query",
  8144. "required": true
  8145. },
  8146. {
  8147. "type": "integer",
  8148. "description": "页码",
  8149. "name": "page",
  8150. "in": "query"
  8151. },
  8152. {
  8153. "type": "integer",
  8154. "description": "每页条数",
  8155. "name": "pagesize",
  8156. "in": "query"
  8157. },
  8158. {
  8159. "type": "string",
  8160. "description": "商品(查询字段-模糊查询)",
  8161. "name": "zsallproperties",
  8162. "in": "query"
  8163. },
  8164. {
  8165. "type": "integer",
  8166. "description": "方向,0-买 1-卖",
  8167. "name": "buyorsell",
  8168. "in": "query"
  8169. },
  8170. {
  8171. "type": "boolean",
  8172. "description": "是否历史查询",
  8173. "name": "ishis",
  8174. "in": "query"
  8175. },
  8176. {
  8177. "type": "string",
  8178. "description": "开始交易日(yyyymmdd)",
  8179. "name": "begindate",
  8180. "in": "query"
  8181. },
  8182. {
  8183. "type": "string",
  8184. "description": "结束交易日(yyyymmdd)",
  8185. "name": "enddate",
  8186. "in": "query"
  8187. }
  8188. ],
  8189. "responses": {
  8190. "200": {
  8191. "description": "OK",
  8192. "schema": {
  8193. "type": "array",
  8194. "items": {
  8195. "$ref": "#/definitions/models.MyPerformanc"
  8196. }
  8197. }
  8198. },
  8199. "500": {
  8200. "description": "Internal Server Error",
  8201. "schema": {
  8202. "$ref": "#/definitions/app.Response"
  8203. }
  8204. }
  8205. }
  8206. }
  8207. },
  8208. "/Guangzuan/QueryMySellOrder": {
  8209. "get": {
  8210. "security": [
  8211. {
  8212. "ApiKeyAuth": []
  8213. },
  8214. {
  8215. "LoginID": []
  8216. },
  8217. {
  8218. "Group": []
  8219. }
  8220. ],
  8221. "produces": [
  8222. "application/json"
  8223. ],
  8224. "tags": [
  8225. "广钻"
  8226. ],
  8227. "summary": "查询我的出售",
  8228. "parameters": [
  8229. {
  8230. "type": "integer",
  8231. "description": "用户ID",
  8232. "name": "userid",
  8233. "in": "query",
  8234. "required": true
  8235. },
  8236. {
  8237. "type": "integer",
  8238. "description": "页码",
  8239. "name": "page",
  8240. "in": "query"
  8241. },
  8242. {
  8243. "type": "integer",
  8244. "description": "每页条数",
  8245. "name": "pagesize",
  8246. "in": "query"
  8247. },
  8248. {
  8249. "type": "string",
  8250. "description": "商品(查询字段-模糊查询)",
  8251. "name": "zsallproperties",
  8252. "in": "query"
  8253. },
  8254. {
  8255. "type": "string",
  8256. "description": "钻石分类, 格式:1,2,3",
  8257. "name": "zscategorys",
  8258. "in": "query"
  8259. },
  8260. {
  8261. "type": "integer",
  8262. "description": "委托单号",
  8263. "name": "wrtradeorderid",
  8264. "in": "query"
  8265. },
  8266. {
  8267. "type": "boolean",
  8268. "description": "是否历史查询",
  8269. "name": "ishis",
  8270. "in": "query"
  8271. },
  8272. {
  8273. "type": "string",
  8274. "description": "开始交易日(yyyymmdd)",
  8275. "name": "begindate",
  8276. "in": "query"
  8277. },
  8278. {
  8279. "type": "string",
  8280. "description": "结束交易日(yyyymmdd)",
  8281. "name": "enddate",
  8282. "in": "query"
  8283. }
  8284. ],
  8285. "responses": {
  8286. "200": {
  8287. "description": "OK",
  8288. "schema": {
  8289. "type": "array",
  8290. "items": {
  8291. "$ref": "#/definitions/models.MySellOrder"
  8292. }
  8293. }
  8294. },
  8295. "500": {
  8296. "description": "Internal Server Error",
  8297. "schema": {
  8298. "$ref": "#/definitions/app.Response"
  8299. }
  8300. }
  8301. }
  8302. }
  8303. },
  8304. "/Guangzuan/QueryMyWRPosition": {
  8305. "get": {
  8306. "security": [
  8307. {
  8308. "ApiKeyAuth": []
  8309. },
  8310. {
  8311. "LoginID": []
  8312. },
  8313. {
  8314. "Group": []
  8315. }
  8316. ],
  8317. "produces": [
  8318. "application/json"
  8319. ],
  8320. "tags": [
  8321. "广钻"
  8322. ],
  8323. "summary": "查询我的库存",
  8324. "parameters": [
  8325. {
  8326. "type": "integer",
  8327. "description": "页码",
  8328. "name": "page",
  8329. "in": "query"
  8330. },
  8331. {
  8332. "type": "integer",
  8333. "description": "每页条数",
  8334. "name": "pagesize",
  8335. "in": "query"
  8336. },
  8337. {
  8338. "type": "integer",
  8339. "description": "登录用户ID",
  8340. "name": "wruserid",
  8341. "in": "query",
  8342. "required": true
  8343. },
  8344. {
  8345. "type": "string",
  8346. "description": "商品(查询字段-模糊查询)",
  8347. "name": "zsallproperties",
  8348. "in": "query"
  8349. },
  8350. {
  8351. "type": "string",
  8352. "description": "钻石分类, 格式:1,2,3",
  8353. "name": "zscategorys",
  8354. "in": "query"
  8355. },
  8356. {
  8357. "type": "integer",
  8358. "description": "仓库ID",
  8359. "name": "warehouseid",
  8360. "in": "query"
  8361. },
  8362. {
  8363. "type": "integer",
  8364. "description": "是否上架,0-全部 1-是 2-否",
  8365. "name": "marketflag",
  8366. "in": "query"
  8367. }
  8368. ],
  8369. "responses": {
  8370. "200": {
  8371. "description": "OK",
  8372. "schema": {
  8373. "type": "array",
  8374. "items": {
  8375. "$ref": "#/definitions/models.MyWRPosition"
  8376. }
  8377. }
  8378. },
  8379. "500": {
  8380. "description": "Internal Server Error",
  8381. "schema": {
  8382. "$ref": "#/definitions/app.Response"
  8383. }
  8384. }
  8385. }
  8386. }
  8387. },
  8388. "/Guangzuan/QuerySellOrder": {
  8389. "get": {
  8390. "security": [
  8391. {
  8392. "ApiKeyAuth": []
  8393. },
  8394. {
  8395. "LoginID": []
  8396. },
  8397. {
  8398. "Group": []
  8399. }
  8400. ],
  8401. "produces": [
  8402. "application/json"
  8403. ],
  8404. "tags": [
  8405. "广钻"
  8406. ],
  8407. "summary": "查询出售大厅委托单",
  8408. "parameters": [
  8409. {
  8410. "type": "integer",
  8411. "description": "页码",
  8412. "name": "page",
  8413. "in": "query"
  8414. },
  8415. {
  8416. "type": "integer",
  8417. "description": "每页条数",
  8418. "name": "pagesize",
  8419. "in": "query"
  8420. },
  8421. {
  8422. "type": "string",
  8423. "description": "商品(查询字段-模糊查询)",
  8424. "name": "zsallproperties",
  8425. "in": "query"
  8426. },
  8427. {
  8428. "type": "string",
  8429. "description": "钻石分类, 格式:1,2,3",
  8430. "name": "zscategorys",
  8431. "in": "query"
  8432. },
  8433. {
  8434. "type": "integer",
  8435. "description": "委托单号",
  8436. "name": "wrtradeorderid",
  8437. "in": "query"
  8438. },
  8439. {
  8440. "type": "string",
  8441. "description": "卖方(查询字段-模糊查询)",
  8442. "name": "buyusername",
  8443. "in": "query"
  8444. }
  8445. ],
  8446. "responses": {
  8447. "200": {
  8448. "description": "OK",
  8449. "schema": {
  8450. "type": "array",
  8451. "items": {
  8452. "$ref": "#/definitions/models.SellOrder"
  8453. }
  8454. }
  8455. },
  8456. "500": {
  8457. "description": "Internal Server Error",
  8458. "schema": {
  8459. "$ref": "#/definitions/app.Response"
  8460. }
  8461. }
  8462. }
  8463. }
  8464. },
  8465. "/Guangzuan/QueryWarehouseInfo": {
  8466. "get": {
  8467. "security": [
  8468. {
  8469. "ApiKeyAuth": []
  8470. },
  8471. {
  8472. "LoginID": []
  8473. },
  8474. {
  8475. "Group": []
  8476. }
  8477. ],
  8478. "produces": [
  8479. "application/json"
  8480. ],
  8481. "tags": [
  8482. "广钻"
  8483. ],
  8484. "summary": "查询仓库信息",
  8485. "parameters": [
  8486. {
  8487. "type": "integer",
  8488. "description": "页码",
  8489. "name": "page",
  8490. "in": "query"
  8491. },
  8492. {
  8493. "type": "integer",
  8494. "description": "每页条数",
  8495. "name": "pagesize",
  8496. "in": "query"
  8497. },
  8498. {
  8499. "type": "integer",
  8500. "description": "用户ID",
  8501. "name": "userid",
  8502. "in": "query",
  8503. "required": true
  8504. },
  8505. {
  8506. "type": "string",
  8507. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8508. "name": "status",
  8509. "in": "query"
  8510. },
  8511. {
  8512. "type": "boolean",
  8513. "description": "是返回交易所仓库",
  8514. "name": "isincludeexchange",
  8515. "in": "query"
  8516. }
  8517. ],
  8518. "responses": {
  8519. "200": {
  8520. "description": "OK",
  8521. "schema": {
  8522. "type": "array",
  8523. "items": {
  8524. "$ref": "#/definitions/models.GZWarehouseinfo"
  8525. }
  8526. }
  8527. },
  8528. "500": {
  8529. "description": "Internal Server Error",
  8530. "schema": {
  8531. "$ref": "#/definitions/app.Response"
  8532. }
  8533. }
  8534. }
  8535. }
  8536. },
  8537. "/Market/GetAllExExchanges": {
  8538. "get": {
  8539. "security": [
  8540. {
  8541. "ApiKeyAuth": []
  8542. }
  8543. ],
  8544. "produces": [
  8545. "application/json"
  8546. ],
  8547. "tags": [
  8548. "通用市场"
  8549. ],
  8550. "summary": "获取所有外部交易所信息",
  8551. "responses": {
  8552. "200": {
  8553. "description": "OK",
  8554. "schema": {
  8555. "$ref": "#/definitions/models.Goods"
  8556. }
  8557. },
  8558. "500": {
  8559. "description": "Internal Server Error",
  8560. "schema": {
  8561. "$ref": "#/definitions/app.Response"
  8562. }
  8563. }
  8564. }
  8565. }
  8566. },
  8567. "/Market/QueryGoodsesByLoginID": {
  8568. "get": {
  8569. "security": [
  8570. {
  8571. "ApiKeyAuth": []
  8572. }
  8573. ],
  8574. "produces": [
  8575. "application/json"
  8576. ],
  8577. "tags": [
  8578. "通用市场"
  8579. ],
  8580. "summary": "获取登录账号有权限的商品信息",
  8581. "parameters": [
  8582. {
  8583. "type": "integer",
  8584. "description": "登录账号",
  8585. "name": "loginID",
  8586. "in": "query",
  8587. "required": true
  8588. },
  8589. {
  8590. "type": "string",
  8591. "description": "市场ID列表,格式:1,2,3",
  8592. "name": "marketIDs",
  8593. "in": "query"
  8594. }
  8595. ],
  8596. "responses": {
  8597. "200": {
  8598. "description": "OK",
  8599. "schema": {
  8600. "$ref": "#/definitions/models.Goods"
  8601. }
  8602. },
  8603. "500": {
  8604. "description": "Internal Server Error",
  8605. "schema": {
  8606. "$ref": "#/definitions/app.Response"
  8607. }
  8608. }
  8609. }
  8610. }
  8611. },
  8612. "/Market/QueryMarketRun": {
  8613. "get": {
  8614. "security": [
  8615. {
  8616. "ApiKeyAuth": []
  8617. }
  8618. ],
  8619. "produces": [
  8620. "application/json"
  8621. ],
  8622. "tags": [
  8623. "通用市场"
  8624. ],
  8625. "summary": "查询市场运行信息",
  8626. "parameters": [
  8627. {
  8628. "type": "integer",
  8629. "description": "市场ID,不传返回所有",
  8630. "name": "marketID",
  8631. "in": "query"
  8632. }
  8633. ],
  8634. "responses": {
  8635. "200": {
  8636. "description": "OK",
  8637. "schema": {
  8638. "$ref": "#/definitions/models.Marketrun"
  8639. }
  8640. },
  8641. "500": {
  8642. "description": "Internal Server Error",
  8643. "schema": {
  8644. "$ref": "#/definitions/app.Response"
  8645. }
  8646. }
  8647. }
  8648. }
  8649. },
  8650. "/Market/QueryMarketsByLoginID": {
  8651. "get": {
  8652. "security": [
  8653. {
  8654. "ApiKeyAuth": []
  8655. }
  8656. ],
  8657. "produces": [
  8658. "application/json"
  8659. ],
  8660. "tags": [
  8661. "通用市场"
  8662. ],
  8663. "summary": "获取登录账号有权限的市场信息",
  8664. "parameters": [
  8665. {
  8666. "type": "integer",
  8667. "description": "登录账号",
  8668. "name": "loginID",
  8669. "in": "query",
  8670. "required": true
  8671. }
  8672. ],
  8673. "responses": {
  8674. "200": {
  8675. "description": "OK",
  8676. "schema": {
  8677. "$ref": "#/definitions/models.Market"
  8678. }
  8679. },
  8680. "500": {
  8681. "description": "Internal Server Error",
  8682. "schema": {
  8683. "$ref": "#/definitions/app.Response"
  8684. }
  8685. }
  8686. }
  8687. }
  8688. },
  8689. "/Order/QueryHisTradeDetail": {
  8690. "get": {
  8691. "security": [
  8692. {
  8693. "ApiKeyAuth": []
  8694. }
  8695. ],
  8696. "produces": [
  8697. "application/json"
  8698. ],
  8699. "tags": [
  8700. "通用单据"
  8701. ],
  8702. "summary": "历史成交单查询(合约市场)",
  8703. "parameters": [
  8704. {
  8705. "type": "string",
  8706. "description": "资金账户 - 格式:1,2,3",
  8707. "name": "accountID",
  8708. "in": "query",
  8709. "required": true
  8710. },
  8711. {
  8712. "type": "integer",
  8713. "description": "成交单号",
  8714. "name": "tradeID",
  8715. "in": "query"
  8716. },
  8717. {
  8718. "type": "integer",
  8719. "description": "委托单号",
  8720. "name": "orderID",
  8721. "in": "query"
  8722. },
  8723. {
  8724. "type": "integer",
  8725. "description": "商品ID",
  8726. "name": "goodsID",
  8727. "in": "query"
  8728. },
  8729. {
  8730. "type": "string",
  8731. "description": "交易模式 - 格式:1,2,3",
  8732. "name": "tradeMode",
  8733. "in": "query"
  8734. },
  8735. {
  8736. "type": "integer",
  8737. "description": "委托单据类型",
  8738. "name": "buildType",
  8739. "in": "query"
  8740. },
  8741. {
  8742. "type": "string",
  8743. "description": "成交类别 - 格式:1,2,3",
  8744. "name": "tradeType",
  8745. "in": "query"
  8746. },
  8747. {
  8748. "type": "string",
  8749. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8750. "name": "startDate",
  8751. "in": "query"
  8752. },
  8753. {
  8754. "type": "string",
  8755. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8756. "name": "endDate",
  8757. "in": "query"
  8758. }
  8759. ],
  8760. "responses": {
  8761. "200": {
  8762. "description": "OK",
  8763. "schema": {
  8764. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8765. }
  8766. },
  8767. "500": {
  8768. "description": "Internal Server Error",
  8769. "schema": {
  8770. "$ref": "#/definitions/app.Response"
  8771. }
  8772. }
  8773. }
  8774. }
  8775. },
  8776. "/Order/QueryHisTradeOrderDetail": {
  8777. "get": {
  8778. "security": [
  8779. {
  8780. "ApiKeyAuth": []
  8781. }
  8782. ],
  8783. "produces": [
  8784. "application/json"
  8785. ],
  8786. "tags": [
  8787. "通用单据"
  8788. ],
  8789. "summary": "历史委托单查询请求(合约市场)",
  8790. "parameters": [
  8791. {
  8792. "type": "string",
  8793. "description": "资金账户 - 格式:1,2,3",
  8794. "name": "accountID",
  8795. "in": "query",
  8796. "required": true
  8797. },
  8798. {
  8799. "type": "string",
  8800. "description": "交易模式 - 格式:1,2,3",
  8801. "name": "tradeMode",
  8802. "in": "query"
  8803. },
  8804. {
  8805. "type": "string",
  8806. "description": "委托状态 - 格式:1,2,3",
  8807. "name": "orderStatus",
  8808. "in": "query"
  8809. },
  8810. {
  8811. "type": "integer",
  8812. "description": "委托单号",
  8813. "name": "orderID",
  8814. "in": "query"
  8815. },
  8816. {
  8817. "type": "string",
  8818. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8819. "name": "startDate",
  8820. "in": "query"
  8821. },
  8822. {
  8823. "type": "string",
  8824. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8825. "name": "endDate",
  8826. "in": "query"
  8827. }
  8828. ],
  8829. "responses": {
  8830. "200": {
  8831. "description": "OK",
  8832. "schema": {
  8833. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8834. }
  8835. },
  8836. "500": {
  8837. "description": "Internal Server Error",
  8838. "schema": {
  8839. "$ref": "#/definitions/app.Response"
  8840. }
  8841. }
  8842. }
  8843. }
  8844. },
  8845. "/Order/QueryTradeDetail": {
  8846. "get": {
  8847. "security": [
  8848. {
  8849. "ApiKeyAuth": []
  8850. }
  8851. ],
  8852. "produces": [
  8853. "application/json"
  8854. ],
  8855. "tags": [
  8856. "通用单据"
  8857. ],
  8858. "summary": "成交单查询(合约市场)",
  8859. "parameters": [
  8860. {
  8861. "type": "string",
  8862. "description": "资金账户 - 格式:1,2,3",
  8863. "name": "accountID",
  8864. "in": "query",
  8865. "required": true
  8866. },
  8867. {
  8868. "type": "integer",
  8869. "description": "成交单号",
  8870. "name": "tradeID",
  8871. "in": "query"
  8872. },
  8873. {
  8874. "type": "integer",
  8875. "description": "委托单号",
  8876. "name": "orderID",
  8877. "in": "query"
  8878. },
  8879. {
  8880. "type": "string",
  8881. "description": "交易模式 - 格式:1,2,3",
  8882. "name": "tradeMode",
  8883. "in": "query"
  8884. },
  8885. {
  8886. "type": "integer",
  8887. "description": "委托单据类型",
  8888. "name": "buildType",
  8889. "in": "query"
  8890. },
  8891. {
  8892. "type": "string",
  8893. "description": "成交类别 - 格式:1,2,3",
  8894. "name": "tradeType",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "integer",
  8899. "description": "商品ID",
  8900. "name": "goodsID",
  8901. "in": "query"
  8902. }
  8903. ],
  8904. "responses": {
  8905. "200": {
  8906. "description": "OK",
  8907. "schema": {
  8908. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8909. }
  8910. },
  8911. "500": {
  8912. "description": "Internal Server Error",
  8913. "schema": {
  8914. "$ref": "#/definitions/app.Response"
  8915. }
  8916. }
  8917. }
  8918. }
  8919. },
  8920. "/Order/QueryTradeHolderDetail": {
  8921. "get": {
  8922. "security": [
  8923. {
  8924. "ApiKeyAuth": []
  8925. }
  8926. ],
  8927. "produces": [
  8928. "application/json"
  8929. ],
  8930. "tags": [
  8931. "通用单据"
  8932. ],
  8933. "summary": "查询持仓明细",
  8934. "parameters": [
  8935. {
  8936. "type": "integer",
  8937. "description": "用户id",
  8938. "name": "userid",
  8939. "in": "query"
  8940. },
  8941. {
  8942. "type": "string",
  8943. "description": "资金账号, 格式 1,2,3",
  8944. "name": "accids",
  8945. "in": "query"
  8946. },
  8947. {
  8948. "type": "string",
  8949. "description": "交易模式, 格式 1,2,3",
  8950. "name": "trademodes",
  8951. "in": "query"
  8952. },
  8953. {
  8954. "type": "string",
  8955. "description": "市场id, 格式 1,2,3",
  8956. "name": "marketids",
  8957. "in": "query"
  8958. },
  8959. {
  8960. "type": "integer",
  8961. "description": "商品id",
  8962. "name": "goodsid",
  8963. "in": "query"
  8964. },
  8965. {
  8966. "type": "integer",
  8967. "description": "买卖方向 0-买 1-卖",
  8968. "name": "buyorsell",
  8969. "in": "query"
  8970. }
  8971. ],
  8972. "responses": {
  8973. "200": {
  8974. "description": "OK",
  8975. "schema": {
  8976. "type": "array",
  8977. "items": {
  8978. "$ref": "#/definitions/models.TradeHolderDetail"
  8979. }
  8980. }
  8981. },
  8982. "500": {
  8983. "description": "Internal Server Error",
  8984. "schema": {
  8985. "$ref": "#/definitions/app.Response"
  8986. }
  8987. }
  8988. }
  8989. }
  8990. },
  8991. "/Order/QueryTradeOrderDetail": {
  8992. "get": {
  8993. "security": [
  8994. {
  8995. "ApiKeyAuth": []
  8996. }
  8997. ],
  8998. "produces": [
  8999. "application/json"
  9000. ],
  9001. "tags": [
  9002. "通用单据"
  9003. ],
  9004. "summary": "委托单查询请求(合约市场)",
  9005. "parameters": [
  9006. {
  9007. "type": "string",
  9008. "description": "资金账户 - 格式:1,2,3",
  9009. "name": "accountID",
  9010. "in": "query",
  9011. "required": true
  9012. },
  9013. {
  9014. "type": "string",
  9015. "description": "交易模式 - 格式:1,2,3",
  9016. "name": "tradeMode",
  9017. "in": "query"
  9018. },
  9019. {
  9020. "type": "string",
  9021. "description": "委托状态 - 格式:1,2,3",
  9022. "name": "orderStatus",
  9023. "in": "query"
  9024. },
  9025. {
  9026. "type": "integer",
  9027. "description": "委托单号",
  9028. "name": "orderID",
  9029. "in": "query"
  9030. }
  9031. ],
  9032. "responses": {
  9033. "200": {
  9034. "description": "OK",
  9035. "schema": {
  9036. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9037. }
  9038. },
  9039. "500": {
  9040. "description": "Internal Server Error",
  9041. "schema": {
  9042. "$ref": "#/definitions/app.Response"
  9043. }
  9044. }
  9045. }
  9046. }
  9047. },
  9048. "/Order/QueryTradePosition": {
  9049. "get": {
  9050. "security": [
  9051. {
  9052. "ApiKeyAuth": []
  9053. }
  9054. ],
  9055. "produces": [
  9056. "application/json"
  9057. ],
  9058. "tags": [
  9059. "通用单据"
  9060. ],
  9061. "summary": "持仓汇总查询(合约市场)",
  9062. "parameters": [
  9063. {
  9064. "type": "string",
  9065. "description": "资金账户 - 格式:1,2,3",
  9066. "name": "accountID",
  9067. "in": "query",
  9068. "required": true
  9069. },
  9070. {
  9071. "type": "string",
  9072. "description": "交易模式 - 格式:1,2,3",
  9073. "name": "tradeMode",
  9074. "in": "query"
  9075. }
  9076. ],
  9077. "responses": {
  9078. "200": {
  9079. "description": "OK",
  9080. "schema": {
  9081. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9082. }
  9083. },
  9084. "500": {
  9085. "description": "Internal Server Error",
  9086. "schema": {
  9087. "$ref": "#/definitions/app.Response"
  9088. }
  9089. }
  9090. }
  9091. }
  9092. },
  9093. "/Quote/QueryHistoryDatas": {
  9094. "get": {
  9095. "security": [
  9096. {
  9097. "ApiKeyAuth": []
  9098. }
  9099. ],
  9100. "produces": [
  9101. "application/json"
  9102. ],
  9103. "tags": [
  9104. "行情服务"
  9105. ],
  9106. "summary": "查询行情历史数据",
  9107. "parameters": [
  9108. {
  9109. "type": "integer",
  9110. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  9111. "name": "cycleType",
  9112. "in": "query",
  9113. "required": true
  9114. },
  9115. {
  9116. "type": "string",
  9117. "description": "商品代码",
  9118. "name": "goodsCode",
  9119. "in": "query",
  9120. "required": true
  9121. },
  9122. {
  9123. "type": "string",
  9124. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9125. "name": "startTime",
  9126. "in": "query"
  9127. },
  9128. {
  9129. "type": "string",
  9130. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9131. "name": "endTime",
  9132. "in": "query"
  9133. },
  9134. {
  9135. "type": "integer",
  9136. "description": "条数",
  9137. "name": "count",
  9138. "in": "query"
  9139. },
  9140. {
  9141. "type": "boolean",
  9142. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9143. "name": "isAsc",
  9144. "in": "query"
  9145. }
  9146. ],
  9147. "responses": {
  9148. "200": {
  9149. "description": "OK",
  9150. "schema": {
  9151. "$ref": "#/definitions/quote.HistoryData"
  9152. }
  9153. },
  9154. "500": {
  9155. "description": "Internal Server Error",
  9156. "schema": {
  9157. "$ref": "#/definitions/app.Response"
  9158. }
  9159. }
  9160. }
  9161. }
  9162. },
  9163. "/Quote/QueryHistoryTikDatas": {
  9164. "get": {
  9165. "security": [
  9166. {
  9167. "ApiKeyAuth": []
  9168. }
  9169. ],
  9170. "produces": [
  9171. "application/json"
  9172. ],
  9173. "tags": [
  9174. "行情服务"
  9175. ],
  9176. "summary": "查询行情Tik数据",
  9177. "parameters": [
  9178. {
  9179. "type": "string",
  9180. "description": "商品代码",
  9181. "name": "goodsCode",
  9182. "in": "query",
  9183. "required": true
  9184. },
  9185. {
  9186. "type": "string",
  9187. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9188. "name": "startTime",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9194. "name": "endTime",
  9195. "in": "query"
  9196. },
  9197. {
  9198. "type": "integer",
  9199. "description": "条数",
  9200. "name": "count",
  9201. "in": "query"
  9202. },
  9203. {
  9204. "type": "boolean",
  9205. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9206. "name": "isAsc",
  9207. "in": "query"
  9208. }
  9209. ],
  9210. "responses": {
  9211. "200": {
  9212. "description": "OK",
  9213. "schema": {
  9214. "$ref": "#/definitions/quote.HistoryTikData"
  9215. }
  9216. },
  9217. "500": {
  9218. "description": "Internal Server Error",
  9219. "schema": {
  9220. "$ref": "#/definitions/app.Response"
  9221. }
  9222. }
  9223. }
  9224. }
  9225. },
  9226. "/Quote/QueryQuoteDay": {
  9227. "get": {
  9228. "security": [
  9229. {
  9230. "ApiKeyAuth": []
  9231. }
  9232. ],
  9233. "produces": [
  9234. "application/json"
  9235. ],
  9236. "tags": [
  9237. "行情服务"
  9238. ],
  9239. "summary": "获取商品盘面信息",
  9240. "parameters": [
  9241. {
  9242. "type": "string",
  9243. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  9244. "name": "goodsCodes",
  9245. "in": "query"
  9246. }
  9247. ],
  9248. "responses": {
  9249. "200": {
  9250. "description": "OK",
  9251. "schema": {
  9252. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9253. }
  9254. },
  9255. "500": {
  9256. "description": "Internal Server Error",
  9257. "schema": {
  9258. "$ref": "#/definitions/app.Response"
  9259. }
  9260. }
  9261. }
  9262. }
  9263. },
  9264. "/Quote/QueryTSData": {
  9265. "get": {
  9266. "security": [
  9267. {
  9268. "ApiKeyAuth": []
  9269. }
  9270. ],
  9271. "produces": [
  9272. "application/json"
  9273. ],
  9274. "tags": [
  9275. "行情服务"
  9276. ],
  9277. "summary": "分时图数据查询",
  9278. "parameters": [
  9279. {
  9280. "type": "string",
  9281. "description": "商品代码",
  9282. "name": "goodsCode",
  9283. "in": "query",
  9284. "required": true
  9285. }
  9286. ],
  9287. "responses": {
  9288. "200": {
  9289. "description": "OK",
  9290. "schema": {
  9291. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9292. }
  9293. },
  9294. "500": {
  9295. "description": "Internal Server Error",
  9296. "schema": {
  9297. "$ref": "#/definitions/app.Response"
  9298. }
  9299. }
  9300. }
  9301. }
  9302. },
  9303. "/SZDZ/QueryConvertConfig": {
  9304. "get": {
  9305. "security": [
  9306. {
  9307. "ApiKeyAuth": []
  9308. }
  9309. ],
  9310. "produces": [
  9311. "application/json"
  9312. ],
  9313. "tags": [
  9314. "定制【尚志大宗】"
  9315. ],
  9316. "summary": "查询交易系统转换设置",
  9317. "parameters": [
  9318. {
  9319. "type": "integer",
  9320. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9321. "name": "convertType",
  9322. "in": "query"
  9323. },
  9324. {
  9325. "type": "string",
  9326. "description": "外部商品代码[JD\\PD]",
  9327. "name": "outerGoodsCode",
  9328. "in": "query"
  9329. },
  9330. {
  9331. "type": "string",
  9332. "description": "内部商品ID列表[交易],格式:1,2,3",
  9333. "name": "innerGoodsIDs",
  9334. "in": "query"
  9335. }
  9336. ],
  9337. "responses": {
  9338. "200": {
  9339. "description": "OK",
  9340. "schema": {
  9341. "$ref": "#/definitions/models.Szdz3convertconfig"
  9342. }
  9343. },
  9344. "500": {
  9345. "description": "Internal Server Error",
  9346. "schema": {
  9347. "$ref": "#/definitions/app.Response"
  9348. }
  9349. }
  9350. }
  9351. }
  9352. },
  9353. "/SZDZ/QueryConvertLog": {
  9354. "get": {
  9355. "security": [
  9356. {
  9357. "ApiKeyAuth": []
  9358. }
  9359. ],
  9360. "produces": [
  9361. "application/json"
  9362. ],
  9363. "tags": [
  9364. "定制【尚志大宗】"
  9365. ],
  9366. "summary": "交易系统转换流水查询",
  9367. "parameters": [
  9368. {
  9369. "type": "string",
  9370. "description": "资金账户 - 格式:1,2,3",
  9371. "name": "accountID",
  9372. "in": "query",
  9373. "required": true
  9374. },
  9375. {
  9376. "type": "string",
  9377. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9378. "name": "startDate",
  9379. "in": "query"
  9380. },
  9381. {
  9382. "type": "string",
  9383. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9384. "name": "endDate",
  9385. "in": "query"
  9386. }
  9387. ],
  9388. "responses": {
  9389. "200": {
  9390. "description": "OK",
  9391. "schema": {
  9392. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9393. }
  9394. },
  9395. "500": {
  9396. "description": "Internal Server Error",
  9397. "schema": {
  9398. "$ref": "#/definitions/app.Response"
  9399. }
  9400. }
  9401. }
  9402. }
  9403. },
  9404. "/SZDZ/QueryGoodsPickup": {
  9405. "get": {
  9406. "security": [
  9407. {
  9408. "ApiKeyAuth": []
  9409. }
  9410. ],
  9411. "produces": [
  9412. "application/json"
  9413. ],
  9414. "tags": [
  9415. "定制【尚志大宗】"
  9416. ],
  9417. "summary": "商品提货单查询",
  9418. "parameters": [
  9419. {
  9420. "type": "string",
  9421. "description": "资金账户 - 格式:1,2,3",
  9422. "name": "accountID",
  9423. "in": "query",
  9424. "required": true
  9425. },
  9426. {
  9427. "type": "integer",
  9428. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9429. "name": "takeOrderStatus",
  9430. "in": "query"
  9431. }
  9432. ],
  9433. "responses": {
  9434. "200": {
  9435. "description": "OK",
  9436. "schema": {
  9437. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9438. }
  9439. },
  9440. "500": {
  9441. "description": "Internal Server Error",
  9442. "schema": {
  9443. "$ref": "#/definitions/app.Response"
  9444. }
  9445. }
  9446. }
  9447. }
  9448. },
  9449. "/SZDZ/QueryRecieptOrder": {
  9450. "get": {
  9451. "security": [
  9452. {
  9453. "ApiKeyAuth": []
  9454. }
  9455. ],
  9456. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9457. "produces": [
  9458. "application/json"
  9459. ],
  9460. "tags": [
  9461. "定制【尚志大宗】"
  9462. ],
  9463. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9464. "parameters": [
  9465. {
  9466. "type": "integer",
  9467. "description": "页码",
  9468. "name": "page",
  9469. "in": "query"
  9470. },
  9471. {
  9472. "type": "integer",
  9473. "description": "每页条数",
  9474. "name": "pagesize",
  9475. "in": "query"
  9476. },
  9477. {
  9478. "type": "integer",
  9479. "description": "商品ID",
  9480. "name": "goodsID",
  9481. "in": "query",
  9482. "required": true
  9483. },
  9484. {
  9485. "type": "string",
  9486. "description": "所属账户名称",
  9487. "name": "accountName",
  9488. "in": "query"
  9489. },
  9490. {
  9491. "type": "integer",
  9492. "description": "市场ID",
  9493. "name": "marketID",
  9494. "in": "query"
  9495. },
  9496. {
  9497. "type": "integer",
  9498. "description": "方向 - 0:买 1:卖",
  9499. "name": "buyorsell",
  9500. "in": "query",
  9501. "required": true
  9502. }
  9503. ],
  9504. "responses": {
  9505. "200": {
  9506. "description": "OK",
  9507. "schema": {
  9508. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9509. }
  9510. },
  9511. "500": {
  9512. "description": "Internal Server Error",
  9513. "schema": {
  9514. "$ref": "#/definitions/app.Response"
  9515. }
  9516. }
  9517. }
  9518. }
  9519. },
  9520. "/SZDZ/QuerySZDZTradePosition": {
  9521. "get": {
  9522. "security": [
  9523. {
  9524. "ApiKeyAuth": []
  9525. }
  9526. ],
  9527. "produces": [
  9528. "application/json"
  9529. ],
  9530. "tags": [
  9531. "定制【尚志大宗】"
  9532. ],
  9533. "summary": "持仓汇总查询(尚志大宗)",
  9534. "parameters": [
  9535. {
  9536. "type": "integer",
  9537. "description": "资金账户",
  9538. "name": "accountID",
  9539. "in": "query",
  9540. "required": true
  9541. }
  9542. ],
  9543. "responses": {
  9544. "200": {
  9545. "description": "OK",
  9546. "schema": {
  9547. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9548. }
  9549. },
  9550. "500": {
  9551. "description": "Internal Server Error",
  9552. "schema": {
  9553. "$ref": "#/definitions/app.Response"
  9554. }
  9555. }
  9556. }
  9557. }
  9558. },
  9559. "/SZDZ/SearchWhite": {
  9560. "get": {
  9561. "security": [
  9562. {
  9563. "ApiKeyAuth": []
  9564. }
  9565. ],
  9566. "produces": [
  9567. "application/json"
  9568. ],
  9569. "tags": [
  9570. "定制【尚志大宗】"
  9571. ],
  9572. "summary": "搜索白名单",
  9573. "parameters": [
  9574. {
  9575. "type": "integer",
  9576. "description": "用户ID",
  9577. "name": "userID",
  9578. "in": "query",
  9579. "required": true
  9580. }
  9581. ],
  9582. "responses": {
  9583. "200": {
  9584. "description": "OK",
  9585. "schema": {
  9586. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9587. }
  9588. },
  9589. "500": {
  9590. "description": "Internal Server Error",
  9591. "schema": {
  9592. "$ref": "#/definitions/app.Response"
  9593. }
  9594. }
  9595. }
  9596. }
  9597. },
  9598. "/Search/SearchGoodses": {
  9599. "get": {
  9600. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9601. "produces": [
  9602. "application/json"
  9603. ],
  9604. "tags": [
  9605. "检索服务"
  9606. ],
  9607. "summary": "检索商品信息",
  9608. "parameters": [
  9609. {
  9610. "type": "string",
  9611. "description": "检索内容",
  9612. "name": "content",
  9613. "in": "query",
  9614. "required": true
  9615. },
  9616. {
  9617. "type": "string",
  9618. "description": "交易模式,格式:1,2,3",
  9619. "name": "tradeModes",
  9620. "in": "query"
  9621. }
  9622. ],
  9623. "responses": {
  9624. "200": {
  9625. "description": "OK",
  9626. "schema": {
  9627. "$ref": "#/definitions/models.SearchGoods"
  9628. }
  9629. },
  9630. "500": {
  9631. "description": "Internal Server Error",
  9632. "schema": {
  9633. "$ref": "#/definitions/app.Response"
  9634. }
  9635. }
  9636. }
  9637. }
  9638. },
  9639. "/TaAccount/GetTaAccounts": {
  9640. "get": {
  9641. "security": [
  9642. {
  9643. "ApiKeyAuth": []
  9644. }
  9645. ],
  9646. "produces": [
  9647. "application/json"
  9648. ],
  9649. "tags": [
  9650. "资金账户"
  9651. ],
  9652. "summary": "获取资金账户信息",
  9653. "parameters": [
  9654. {
  9655. "type": "integer",
  9656. "description": "登录账户",
  9657. "name": "loginID",
  9658. "in": "query",
  9659. "required": true
  9660. },
  9661. {
  9662. "type": "integer",
  9663. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9664. "name": "taAccountType",
  9665. "in": "query"
  9666. }
  9667. ],
  9668. "responses": {
  9669. "200": {
  9670. "description": "OK",
  9671. "schema": {
  9672. "$ref": "#/definitions/models.Taaccount"
  9673. }
  9674. },
  9675. "500": {
  9676. "description": "Internal Server Error",
  9677. "schema": {
  9678. "$ref": "#/definitions/app.Response"
  9679. }
  9680. }
  9681. }
  9682. }
  9683. },
  9684. "/TaAccount/QueryAmountLog": {
  9685. "get": {
  9686. "security": [
  9687. {
  9688. "ApiKeyAuth": []
  9689. }
  9690. ],
  9691. "produces": [
  9692. "application/json"
  9693. ],
  9694. "tags": [
  9695. "资金账户"
  9696. ],
  9697. "summary": "资金流水查询(当前)",
  9698. "parameters": [
  9699. {
  9700. "type": "integer",
  9701. "description": "页码",
  9702. "name": "page",
  9703. "in": "query"
  9704. },
  9705. {
  9706. "type": "integer",
  9707. "description": "每页条数",
  9708. "name": "pagesize",
  9709. "in": "query"
  9710. },
  9711. {
  9712. "type": "string",
  9713. "description": "资金账户 - 格式:1,2,3",
  9714. "name": "accountID",
  9715. "in": "query",
  9716. "required": true
  9717. },
  9718. {
  9719. "type": "string",
  9720. "description": "资金操作类型 - 格式:1,2,3",
  9721. "name": "OperateType",
  9722. "in": "query"
  9723. }
  9724. ],
  9725. "responses": {
  9726. "200": {
  9727. "description": "OK",
  9728. "schema": {
  9729. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9730. }
  9731. },
  9732. "500": {
  9733. "description": "Internal Server Error",
  9734. "schema": {
  9735. "$ref": "#/definitions/app.Response"
  9736. }
  9737. }
  9738. }
  9739. }
  9740. },
  9741. "/TaAccount/QueryHisAmountLog": {
  9742. "get": {
  9743. "security": [
  9744. {
  9745. "ApiKeyAuth": []
  9746. }
  9747. ],
  9748. "produces": [
  9749. "application/json"
  9750. ],
  9751. "tags": [
  9752. "资金账户"
  9753. ],
  9754. "summary": "资金流水查询(历史)",
  9755. "parameters": [
  9756. {
  9757. "type": "integer",
  9758. "description": "页码",
  9759. "name": "page",
  9760. "in": "query"
  9761. },
  9762. {
  9763. "type": "integer",
  9764. "description": "每页条数",
  9765. "name": "pagesize",
  9766. "in": "query"
  9767. },
  9768. {
  9769. "type": "string",
  9770. "description": "资金账户 - 格式:1,2,3",
  9771. "name": "accountID",
  9772. "in": "query",
  9773. "required": true
  9774. },
  9775. {
  9776. "type": "string",
  9777. "description": "资金操作类型 - 格式:1,2,3",
  9778. "name": "OperateType",
  9779. "in": "query"
  9780. },
  9781. {
  9782. "type": "string",
  9783. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9784. "name": "startDate",
  9785. "in": "query"
  9786. },
  9787. {
  9788. "type": "string",
  9789. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9790. "name": "endDate",
  9791. "in": "query"
  9792. }
  9793. ],
  9794. "responses": {
  9795. "200": {
  9796. "description": "OK",
  9797. "schema": {
  9798. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9799. }
  9800. },
  9801. "500": {
  9802. "description": "Internal Server Error",
  9803. "schema": {
  9804. "$ref": "#/definitions/app.Response"
  9805. }
  9806. }
  9807. }
  9808. }
  9809. },
  9810. "/TaAccount/QueryRelatedTaAccount": {
  9811. "get": {
  9812. "security": [
  9813. {
  9814. "ApiKeyAuth": []
  9815. }
  9816. ],
  9817. "produces": [
  9818. "application/json"
  9819. ],
  9820. "tags": [
  9821. "资金账户"
  9822. ],
  9823. "summary": "查询关联资金账户信息",
  9824. "parameters": [
  9825. {
  9826. "type": "integer",
  9827. "description": "关联UserID",
  9828. "name": "relateduserid",
  9829. "in": "query",
  9830. "required": true
  9831. }
  9832. ],
  9833. "responses": {
  9834. "200": {
  9835. "description": "OK",
  9836. "schema": {
  9837. "type": "array",
  9838. "items": {
  9839. "$ref": "#/definitions/models.RelatedTaAccount"
  9840. }
  9841. }
  9842. },
  9843. "500": {
  9844. "description": "Internal Server Error",
  9845. "schema": {
  9846. "$ref": "#/definitions/app.Response"
  9847. }
  9848. }
  9849. }
  9850. }
  9851. },
  9852. "/Tjmd/QueryQuoteGoodsList": {
  9853. "get": {
  9854. "security": [
  9855. {
  9856. "ApiKeyAuth": []
  9857. }
  9858. ],
  9859. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  9860. "produces": [
  9861. "application/json"
  9862. ],
  9863. "tags": [
  9864. "天津麦顿"
  9865. ],
  9866. "summary": "查询掉期报价列表",
  9867. "parameters": [
  9868. {
  9869. "type": "integer",
  9870. "description": "用户类型",
  9871. "name": "usertype",
  9872. "in": "query",
  9873. "required": true
  9874. },
  9875. {
  9876. "type": "string",
  9877. "description": "市场id, 格式 1,2,3",
  9878. "name": "marketids",
  9879. "in": "query"
  9880. },
  9881. {
  9882. "type": "integer",
  9883. "description": "商品组id",
  9884. "name": "goodsgroupid",
  9885. "in": "query"
  9886. },
  9887. {
  9888. "type": "integer",
  9889. "description": "商品id",
  9890. "name": "goodsid",
  9891. "in": "query"
  9892. }
  9893. ],
  9894. "responses": {
  9895. "200": {
  9896. "description": "OK",
  9897. "schema": {
  9898. "type": "array",
  9899. "items": {
  9900. "$ref": "#/definitions/models.TjmdQuoteGoods"
  9901. }
  9902. }
  9903. },
  9904. "500": {
  9905. "description": "Internal Server Error",
  9906. "schema": {
  9907. "$ref": "#/definitions/app.Response"
  9908. }
  9909. }
  9910. }
  9911. }
  9912. },
  9913. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  9914. "get": {
  9915. "security": [
  9916. {
  9917. "ApiKeyAuth": []
  9918. }
  9919. ],
  9920. "produces": [
  9921. "application/json"
  9922. ],
  9923. "tags": [
  9924. "天津麦顿"
  9925. ],
  9926. "summary": "掉期商品订单详情(交易确认书)",
  9927. "parameters": [
  9928. {
  9929. "type": "string",
  9930. "description": "成交单号",
  9931. "name": "tradeid",
  9932. "in": "query",
  9933. "required": true
  9934. }
  9935. ],
  9936. "responses": {
  9937. "200": {
  9938. "description": "OK",
  9939. "schema": {
  9940. "type": "array",
  9941. "items": {
  9942. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  9943. }
  9944. }
  9945. },
  9946. "500": {
  9947. "description": "Internal Server Error",
  9948. "schema": {
  9949. "$ref": "#/definitions/app.Response"
  9950. }
  9951. }
  9952. }
  9953. }
  9954. },
  9955. "/Tjmd/QueryTjmdMarketSection": {
  9956. "get": {
  9957. "security": [
  9958. {
  9959. "ApiKeyAuth": []
  9960. }
  9961. ],
  9962. "produces": [
  9963. "application/json"
  9964. ],
  9965. "tags": [
  9966. "天津麦顿"
  9967. ],
  9968. "summary": "查询市场板块",
  9969. "responses": {
  9970. "200": {
  9971. "description": "OK",
  9972. "schema": {
  9973. "type": "array",
  9974. "items": {
  9975. "$ref": "#/definitions/models.TjmdMarketSection"
  9976. }
  9977. }
  9978. },
  9979. "500": {
  9980. "description": "Internal Server Error",
  9981. "schema": {
  9982. "$ref": "#/definitions/app.Response"
  9983. }
  9984. }
  9985. }
  9986. }
  9987. },
  9988. "/Tjmd/QueryTjmdTodayAccountMargin": {
  9989. "get": {
  9990. "security": [
  9991. {
  9992. "ApiKeyAuth": []
  9993. }
  9994. ],
  9995. "produces": [
  9996. "application/json"
  9997. ],
  9998. "tags": [
  9999. "天津麦顿"
  10000. ],
  10001. "summary": "查询今日账户保证金配置",
  10002. "parameters": [
  10003. {
  10004. "type": "string",
  10005. "description": "市场id",
  10006. "name": "marketid",
  10007. "in": "query"
  10008. },
  10009. {
  10010. "type": "string",
  10011. "description": "商品id",
  10012. "name": "goodsid",
  10013. "in": "query"
  10014. },
  10015. {
  10016. "type": "string",
  10017. "description": "资金账号",
  10018. "name": "accountid",
  10019. "in": "query"
  10020. }
  10021. ],
  10022. "responses": {
  10023. "200": {
  10024. "description": "OK",
  10025. "schema": {
  10026. "type": "array",
  10027. "items": {
  10028. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  10029. }
  10030. }
  10031. },
  10032. "500": {
  10033. "description": "Internal Server Error",
  10034. "schema": {
  10035. "$ref": "#/definitions/app.Response"
  10036. }
  10037. }
  10038. }
  10039. }
  10040. },
  10041. "/Tjmd/QueryTjmdTradeOrderDetail": {
  10042. "get": {
  10043. "security": [
  10044. {
  10045. "ApiKeyAuth": []
  10046. }
  10047. ],
  10048. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  10049. "produces": [
  10050. "application/json"
  10051. ],
  10052. "tags": [
  10053. "天津麦顿"
  10054. ],
  10055. "summary": "查询掉期买卖大厅",
  10056. "parameters": [
  10057. {
  10058. "type": "integer",
  10059. "description": "页码",
  10060. "name": "page",
  10061. "in": "query"
  10062. },
  10063. {
  10064. "type": "integer",
  10065. "description": "每页条数",
  10066. "name": "pagesize",
  10067. "in": "query"
  10068. },
  10069. {
  10070. "type": "integer",
  10071. "description": "用户id",
  10072. "name": "userid",
  10073. "in": "query",
  10074. "required": true
  10075. },
  10076. {
  10077. "type": "integer",
  10078. "description": "用户类型",
  10079. "name": "usertype",
  10080. "in": "query",
  10081. "required": true
  10082. },
  10083. {
  10084. "type": "string",
  10085. "description": "市场id, 格式 1,2,3",
  10086. "name": "marketids",
  10087. "in": "query"
  10088. },
  10089. {
  10090. "type": "integer",
  10091. "description": "商品id",
  10092. "name": "goodsid",
  10093. "in": "query",
  10094. "required": true
  10095. },
  10096. {
  10097. "type": "integer",
  10098. "description": "买卖方向 0-买 1-卖",
  10099. "name": "buyorsell",
  10100. "in": "query",
  10101. "required": true
  10102. }
  10103. ],
  10104. "responses": {
  10105. "200": {
  10106. "description": "OK",
  10107. "schema": {
  10108. "type": "array",
  10109. "items": {
  10110. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  10111. }
  10112. }
  10113. },
  10114. "500": {
  10115. "description": "Internal Server Error",
  10116. "schema": {
  10117. "$ref": "#/definitions/app.Response"
  10118. }
  10119. }
  10120. }
  10121. }
  10122. },
  10123. "/Tjmd/QueryTjmdTransferApply": {
  10124. "get": {
  10125. "security": [
  10126. {
  10127. "ApiKeyAuth": []
  10128. }
  10129. ],
  10130. "produces": [
  10131. "application/json"
  10132. ],
  10133. "tags": [
  10134. "天津麦顿"
  10135. ],
  10136. "summary": "查询掉期协议单",
  10137. "parameters": [
  10138. {
  10139. "type": "integer",
  10140. "description": "类型 1-我的申请 2-对方申请",
  10141. "name": "applytype",
  10142. "in": "query",
  10143. "required": true
  10144. },
  10145. {
  10146. "type": "string",
  10147. "description": "市场id, 格式 1,2,3",
  10148. "name": "marketids",
  10149. "in": "query"
  10150. },
  10151. {
  10152. "type": "string",
  10153. "description": "资金账号, 格式 25000000001,25000000003",
  10154. "name": "accountids",
  10155. "in": "query"
  10156. },
  10157. {
  10158. "type": "string",
  10159. "description": "开始交易日(yyyymmdd)",
  10160. "name": "begindate",
  10161. "in": "query"
  10162. },
  10163. {
  10164. "type": "string",
  10165. "description": "结束交易日(yyyymmdd)",
  10166. "name": "enddate",
  10167. "in": "query"
  10168. }
  10169. ],
  10170. "responses": {
  10171. "200": {
  10172. "description": "OK",
  10173. "schema": {
  10174. "type": "array",
  10175. "items": {
  10176. "$ref": "#/definitions/models.TjmdTransferApply"
  10177. }
  10178. }
  10179. },
  10180. "500": {
  10181. "description": "Internal Server Error",
  10182. "schema": {
  10183. "$ref": "#/definitions/app.Response"
  10184. }
  10185. }
  10186. }
  10187. }
  10188. },
  10189. "/Trade/QueryRecieptOrder": {
  10190. "get": {
  10191. "security": [
  10192. {
  10193. "ApiKeyAuth": []
  10194. }
  10195. ],
  10196. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10197. "produces": [
  10198. "application/json"
  10199. ],
  10200. "tags": [
  10201. "通用交易"
  10202. ],
  10203. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10204. "parameters": [
  10205. {
  10206. "type": "integer",
  10207. "description": "页码",
  10208. "name": "page",
  10209. "in": "query"
  10210. },
  10211. {
  10212. "type": "integer",
  10213. "description": "每页条数",
  10214. "name": "pagesize",
  10215. "in": "query"
  10216. },
  10217. {
  10218. "type": "integer",
  10219. "description": "商品ID",
  10220. "name": "goodsID",
  10221. "in": "query",
  10222. "required": true
  10223. },
  10224. {
  10225. "type": "string",
  10226. "description": "所属账户名称",
  10227. "name": "accountName",
  10228. "in": "query"
  10229. },
  10230. {
  10231. "type": "integer",
  10232. "description": "市场ID",
  10233. "name": "marketID",
  10234. "in": "query"
  10235. },
  10236. {
  10237. "type": "integer",
  10238. "description": "方向 - 0:买 1:卖",
  10239. "name": "buyorsell",
  10240. "in": "query",
  10241. "required": true
  10242. }
  10243. ],
  10244. "responses": {
  10245. "200": {
  10246. "description": "OK",
  10247. "schema": {
  10248. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10249. }
  10250. },
  10251. "500": {
  10252. "description": "Internal Server Error",
  10253. "schema": {
  10254. "$ref": "#/definitions/app.Response"
  10255. }
  10256. }
  10257. }
  10258. }
  10259. },
  10260. "/User/AddMessageBoard": {
  10261. "post": {
  10262. "security": [
  10263. {
  10264. "ApiKeyAuth": []
  10265. }
  10266. ],
  10267. "produces": [
  10268. "application/json"
  10269. ],
  10270. "tags": [
  10271. "用户信息"
  10272. ],
  10273. "summary": "添加用户留言板信息",
  10274. "parameters": [
  10275. {
  10276. "type": "integer",
  10277. "description": "用户ID",
  10278. "name": "userID",
  10279. "in": "query",
  10280. "required": true
  10281. },
  10282. {
  10283. "type": "string",
  10284. "description": "留言信息",
  10285. "name": "message",
  10286. "in": "query",
  10287. "required": true
  10288. },
  10289. {
  10290. "type": "string",
  10291. "description": "联系电话",
  10292. "name": "contactNum",
  10293. "in": "query",
  10294. "required": true
  10295. }
  10296. ],
  10297. "responses": {
  10298. "200": {
  10299. "description": "OK",
  10300. "schema": {
  10301. "$ref": "#/definitions/app.Response"
  10302. }
  10303. },
  10304. "500": {
  10305. "description": "Internal Server Error",
  10306. "schema": {
  10307. "$ref": "#/definitions/app.Response"
  10308. }
  10309. }
  10310. }
  10311. }
  10312. },
  10313. "/User/AddUserFavoriteGoods": {
  10314. "post": {
  10315. "security": [
  10316. {
  10317. "ApiKeyAuth": []
  10318. }
  10319. ],
  10320. "produces": [
  10321. "application/json"
  10322. ],
  10323. "tags": [
  10324. "用户信息"
  10325. ],
  10326. "summary": "添加用户商品收藏信息",
  10327. "parameters": [
  10328. {
  10329. "type": "integer",
  10330. "description": "用户ID",
  10331. "name": "userID",
  10332. "in": "query",
  10333. "required": true
  10334. },
  10335. {
  10336. "type": "integer",
  10337. "description": "商品ID",
  10338. "name": "goodsID",
  10339. "in": "query",
  10340. "required": true
  10341. }
  10342. ],
  10343. "responses": {
  10344. "200": {
  10345. "description": "OK",
  10346. "schema": {
  10347. "$ref": "#/definitions/app.Response"
  10348. }
  10349. },
  10350. "500": {
  10351. "description": "Internal Server Error",
  10352. "schema": {
  10353. "$ref": "#/definitions/app.Response"
  10354. }
  10355. }
  10356. }
  10357. }
  10358. },
  10359. "/User/GetLoginID": {
  10360. "get": {
  10361. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10362. "produces": [
  10363. "application/json"
  10364. ],
  10365. "tags": [
  10366. "用户信息"
  10367. ],
  10368. "summary": "获取登录ID",
  10369. "parameters": [
  10370. {
  10371. "type": "string",
  10372. "description": "登录代码",
  10373. "name": "username",
  10374. "in": "query",
  10375. "required": true
  10376. }
  10377. ],
  10378. "responses": {
  10379. "200": {
  10380. "description": "OK",
  10381. "schema": {
  10382. "$ref": "#/definitions/app.Response"
  10383. }
  10384. },
  10385. "500": {
  10386. "description": "Internal Server Error",
  10387. "schema": {
  10388. "$ref": "#/definitions/app.Response"
  10389. }
  10390. }
  10391. }
  10392. }
  10393. },
  10394. "/User/GetUserAccount": {
  10395. "get": {
  10396. "security": [
  10397. {
  10398. "ApiKeyAuth": []
  10399. }
  10400. ],
  10401. "produces": [
  10402. "application/json"
  10403. ],
  10404. "tags": [
  10405. "用户信息"
  10406. ],
  10407. "summary": "获取用户账号信息",
  10408. "parameters": [
  10409. {
  10410. "type": "integer",
  10411. "description": "用户ID",
  10412. "name": "userID",
  10413. "in": "query",
  10414. "required": true
  10415. }
  10416. ],
  10417. "responses": {
  10418. "200": {
  10419. "description": "OK",
  10420. "schema": {
  10421. "$ref": "#/definitions/models.Useraccount"
  10422. }
  10423. },
  10424. "500": {
  10425. "description": "Internal Server Error",
  10426. "schema": {
  10427. "$ref": "#/definitions/app.Response"
  10428. }
  10429. }
  10430. }
  10431. }
  10432. },
  10433. "/User/GetUserAuthStatus": {
  10434. "get": {
  10435. "security": [
  10436. {
  10437. "ApiKeyAuth": []
  10438. }
  10439. ],
  10440. "produces": [
  10441. "application/json"
  10442. ],
  10443. "tags": [
  10444. "用户信息"
  10445. ],
  10446. "summary": "获取用户实名认证状态",
  10447. "parameters": [
  10448. {
  10449. "type": "integer",
  10450. "description": "用户ID",
  10451. "name": "userID",
  10452. "in": "query",
  10453. "required": true
  10454. }
  10455. ],
  10456. "responses": {
  10457. "200": {
  10458. "description": "OK",
  10459. "schema": {
  10460. "$ref": "#/definitions/app.Response"
  10461. }
  10462. },
  10463. "500": {
  10464. "description": "Internal Server Error",
  10465. "schema": {
  10466. "$ref": "#/definitions/app.Response"
  10467. }
  10468. }
  10469. }
  10470. }
  10471. },
  10472. "/User/LoginQuery": {
  10473. "get": {
  10474. "security": [
  10475. {
  10476. "ApiKeyAuth": []
  10477. }
  10478. ],
  10479. "produces": [
  10480. "application/json"
  10481. ],
  10482. "tags": [
  10483. "用户信息"
  10484. ],
  10485. "summary": "账户登录后信息查询",
  10486. "parameters": [
  10487. {
  10488. "type": "integer",
  10489. "description": "登录账号",
  10490. "name": "loginID",
  10491. "in": "query",
  10492. "required": true
  10493. }
  10494. ],
  10495. "responses": {
  10496. "200": {
  10497. "description": "OK",
  10498. "schema": {
  10499. "$ref": "#/definitions/user.LoginQueryRsp"
  10500. }
  10501. },
  10502. "500": {
  10503. "description": "Internal Server Error",
  10504. "schema": {
  10505. "$ref": "#/definitions/app.Response"
  10506. }
  10507. }
  10508. }
  10509. }
  10510. },
  10511. "/User/QueryMessageBoard": {
  10512. "get": {
  10513. "security": [
  10514. {
  10515. "ApiKeyAuth": []
  10516. }
  10517. ],
  10518. "produces": [
  10519. "application/json"
  10520. ],
  10521. "tags": [
  10522. "用户信息"
  10523. ],
  10524. "summary": "获取用户留言板信息",
  10525. "parameters": [
  10526. {
  10527. "type": "integer",
  10528. "description": "用户ID",
  10529. "name": "userID",
  10530. "in": "query",
  10531. "required": true
  10532. }
  10533. ],
  10534. "responses": {
  10535. "200": {
  10536. "description": "OK",
  10537. "schema": {
  10538. "$ref": "#/definitions/models.Messageboard"
  10539. }
  10540. },
  10541. "500": {
  10542. "description": "Internal Server Error",
  10543. "schema": {
  10544. "$ref": "#/definitions/app.Response"
  10545. }
  10546. }
  10547. }
  10548. }
  10549. },
  10550. "/User/QueryUserFavoriteGoodses": {
  10551. "get": {
  10552. "security": [
  10553. {
  10554. "ApiKeyAuth": []
  10555. }
  10556. ],
  10557. "produces": [
  10558. "application/json"
  10559. ],
  10560. "tags": [
  10561. "用户信息"
  10562. ],
  10563. "summary": "获取用户商品收藏信息",
  10564. "parameters": [
  10565. {
  10566. "type": "integer",
  10567. "description": "用户ID",
  10568. "name": "userID",
  10569. "in": "query",
  10570. "required": true
  10571. }
  10572. ],
  10573. "responses": {
  10574. "200": {
  10575. "description": "OK",
  10576. "schema": {
  10577. "$ref": "#/definitions/models.Userfavoritegoods"
  10578. }
  10579. },
  10580. "500": {
  10581. "description": "Internal Server Error",
  10582. "schema": {
  10583. "$ref": "#/definitions/app.Response"
  10584. }
  10585. }
  10586. }
  10587. }
  10588. },
  10589. "/User/QueryUserInfo": {
  10590. "get": {
  10591. "security": [
  10592. {
  10593. "ApiKeyAuth": []
  10594. }
  10595. ],
  10596. "produces": [
  10597. "application/json"
  10598. ],
  10599. "tags": [
  10600. "用户信息"
  10601. ],
  10602. "summary": "获取用户信息",
  10603. "parameters": [
  10604. {
  10605. "type": "integer",
  10606. "description": "用户ID",
  10607. "name": "userID",
  10608. "in": "query",
  10609. "required": true
  10610. },
  10611. {
  10612. "type": "boolean",
  10613. "description": "是否解密",
  10614. "name": "isDecrypt",
  10615. "in": "query"
  10616. }
  10617. ],
  10618. "responses": {
  10619. "200": {
  10620. "description": "OK",
  10621. "schema": {
  10622. "$ref": "#/definitions/models.Userinfo"
  10623. }
  10624. },
  10625. "500": {
  10626. "description": "Internal Server Error",
  10627. "schema": {
  10628. "$ref": "#/definitions/app.Response"
  10629. }
  10630. }
  10631. }
  10632. }
  10633. },
  10634. "/User/QueryUserReferNum": {
  10635. "get": {
  10636. "produces": [
  10637. "application/json"
  10638. ],
  10639. "tags": [
  10640. "用户信息"
  10641. ],
  10642. "summary": "获取用户邀请码",
  10643. "parameters": [
  10644. {
  10645. "type": "integer",
  10646. "description": "用户ID",
  10647. "name": "userID",
  10648. "in": "query",
  10649. "required": true
  10650. }
  10651. ],
  10652. "responses": {
  10653. "200": {
  10654. "description": "OK",
  10655. "schema": {
  10656. "$ref": "#/definitions/app.Response"
  10657. }
  10658. },
  10659. "500": {
  10660. "description": "Internal Server Error",
  10661. "schema": {
  10662. "$ref": "#/definitions/app.Response"
  10663. }
  10664. }
  10665. }
  10666. }
  10667. },
  10668. "/User/RemoveUserFavoriteGoods": {
  10669. "post": {
  10670. "security": [
  10671. {
  10672. "ApiKeyAuth": []
  10673. }
  10674. ],
  10675. "produces": [
  10676. "application/json"
  10677. ],
  10678. "tags": [
  10679. "用户信息"
  10680. ],
  10681. "summary": "移除用户商品收藏信息",
  10682. "parameters": [
  10683. {
  10684. "type": "integer",
  10685. "description": "用户ID",
  10686. "name": "userID",
  10687. "in": "query",
  10688. "required": true
  10689. },
  10690. {
  10691. "type": "integer",
  10692. "description": "商品ID",
  10693. "name": "goodsID",
  10694. "in": "query",
  10695. "required": true
  10696. }
  10697. ],
  10698. "responses": {
  10699. "200": {
  10700. "description": "OK",
  10701. "schema": {
  10702. "$ref": "#/definitions/app.Response"
  10703. }
  10704. },
  10705. "500": {
  10706. "description": "Internal Server Error",
  10707. "schema": {
  10708. "$ref": "#/definitions/app.Response"
  10709. }
  10710. }
  10711. }
  10712. }
  10713. },
  10714. "/User/UpdateUserAccountStatus": {
  10715. "post": {
  10716. "security": [
  10717. {
  10718. "ApiKeyAuth": []
  10719. }
  10720. ],
  10721. "produces": [
  10722. "application/json"
  10723. ],
  10724. "tags": [
  10725. "用户信息"
  10726. ],
  10727. "summary": "更新用户状态",
  10728. "parameters": [
  10729. {
  10730. "type": "integer",
  10731. "description": "用户ID",
  10732. "name": "userID",
  10733. "in": "query",
  10734. "required": true
  10735. },
  10736. {
  10737. "type": "integer",
  10738. "description": "账户状态 - 4:正常 6:注销(停用)",
  10739. "name": "accountStatus",
  10740. "in": "query",
  10741. "required": true
  10742. }
  10743. ],
  10744. "responses": {
  10745. "200": {
  10746. "description": "OK",
  10747. "schema": {
  10748. "$ref": "#/definitions/app.Response"
  10749. }
  10750. },
  10751. "500": {
  10752. "description": "Internal Server Error",
  10753. "schema": {
  10754. "$ref": "#/definitions/app.Response"
  10755. }
  10756. }
  10757. }
  10758. }
  10759. },
  10760. "/WRTrade/GetAllDeliveryGoods": {
  10761. "get": {
  10762. "security": [
  10763. {
  10764. "ApiKeyAuth": []
  10765. }
  10766. ],
  10767. "produces": [
  10768. "application/json"
  10769. ],
  10770. "tags": [
  10771. "仓单贸易",
  10772. "仓单贸易"
  10773. ],
  10774. "summary": "获取带仓单分类的种类信息",
  10775. "responses": {
  10776. "200": {
  10777. "description": "OK",
  10778. "schema": {
  10779. "$ref": "#/definitions/app.Response"
  10780. }
  10781. },
  10782. "500": {
  10783. "description": "Internal Server Error",
  10784. "schema": {
  10785. "$ref": "#/definitions/app.Response"
  10786. }
  10787. }
  10788. }
  10789. }
  10790. },
  10791. "/WrTrade2/InsertXhcpSellBackApply": {
  10792. "post": {
  10793. "security": [
  10794. {
  10795. "ApiKeyAuth": []
  10796. }
  10797. ],
  10798. "produces": [
  10799. "application/json"
  10800. ],
  10801. "tags": [
  10802. "仓单贸易v2"
  10803. ],
  10804. "summary": "新增回收申请(新会陈皮)",
  10805. "parameters": [
  10806. {
  10807. "description": "回收申请",
  10808. "name": "jsonBody",
  10809. "in": "body",
  10810. "required": true,
  10811. "schema": {
  10812. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  10813. }
  10814. }
  10815. ],
  10816. "responses": {
  10817. "200": {
  10818. "description": "OK",
  10819. "schema": {
  10820. "$ref": "#/definitions/app.Response"
  10821. }
  10822. },
  10823. "500": {
  10824. "description": "Internal Server Error",
  10825. "schema": {
  10826. "$ref": "#/definitions/app.Response"
  10827. }
  10828. }
  10829. }
  10830. }
  10831. },
  10832. "/WrTrade2/QueryDeliveryGoodsSection": {
  10833. "get": {
  10834. "security": [
  10835. {
  10836. "ApiKeyAuth": []
  10837. }
  10838. ],
  10839. "produces": [
  10840. "application/json"
  10841. ],
  10842. "tags": [
  10843. "仓单贸易v2"
  10844. ],
  10845. "summary": "查询板块(分类)",
  10846. "responses": {
  10847. "200": {
  10848. "description": "OK",
  10849. "schema": {
  10850. "type": "array",
  10851. "items": {
  10852. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  10853. }
  10854. }
  10855. },
  10856. "500": {
  10857. "description": "Internal Server Error",
  10858. "schema": {
  10859. "$ref": "#/definitions/app.Response"
  10860. }
  10861. }
  10862. }
  10863. }
  10864. },
  10865. "/WrTrade2/QueryFaProductDetail": {
  10866. "get": {
  10867. "security": [
  10868. {
  10869. "ApiKeyAuth": []
  10870. }
  10871. ],
  10872. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10873. "produces": [
  10874. "application/json"
  10875. ],
  10876. "tags": [
  10877. "仓单贸易v2"
  10878. ],
  10879. "summary": "查询融资产品列表",
  10880. "parameters": [
  10881. {
  10882. "type": "integer",
  10883. "description": "仓单要素id",
  10884. "name": "wrfactortypeid",
  10885. "in": "query",
  10886. "required": true
  10887. }
  10888. ],
  10889. "responses": {
  10890. "200": {
  10891. "description": "OK",
  10892. "schema": {
  10893. "type": "array",
  10894. "items": {
  10895. "$ref": "#/definitions/models.WrFAProductDetail"
  10896. }
  10897. }
  10898. },
  10899. "500": {
  10900. "description": "Internal Server Error",
  10901. "schema": {
  10902. "$ref": "#/definitions/app.Response"
  10903. }
  10904. }
  10905. }
  10906. }
  10907. },
  10908. "/WrTrade2/QueryFilterItem": {
  10909. "get": {
  10910. "security": [
  10911. {
  10912. "ApiKeyAuth": []
  10913. }
  10914. ],
  10915. "produces": [
  10916. "application/json"
  10917. ],
  10918. "tags": [
  10919. "仓单贸易v2"
  10920. ],
  10921. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  10922. "parameters": [
  10923. {
  10924. "type": "string",
  10925. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10926. "name": "itype",
  10927. "in": "query",
  10928. "required": true
  10929. }
  10930. ],
  10931. "responses": {
  10932. "200": {
  10933. "description": "OK",
  10934. "schema": {
  10935. "type": "array",
  10936. "items": {
  10937. "$ref": "#/definitions/models.WrFilterItem"
  10938. }
  10939. }
  10940. },
  10941. "500": {
  10942. "description": "Internal Server Error",
  10943. "schema": {
  10944. "$ref": "#/definitions/app.Response"
  10945. }
  10946. }
  10947. }
  10948. }
  10949. },
  10950. "/WrTrade2/QueryFtDeliveryGoods": {
  10951. "get": {
  10952. "security": [
  10953. {
  10954. "ApiKeyAuth": []
  10955. }
  10956. ],
  10957. "produces": [
  10958. "application/json"
  10959. ],
  10960. "tags": [
  10961. "仓单贸易v2"
  10962. ],
  10963. "summary": "查询品种品类筛选框列表",
  10964. "responses": {
  10965. "200": {
  10966. "description": "OK",
  10967. "schema": {
  10968. "type": "array",
  10969. "items": {
  10970. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  10971. }
  10972. }
  10973. },
  10974. "500": {
  10975. "description": "Internal Server Error",
  10976. "schema": {
  10977. "$ref": "#/definitions/app.Response"
  10978. }
  10979. }
  10980. }
  10981. }
  10982. },
  10983. "/WrTrade2/QueryHoldLB": {
  10984. "get": {
  10985. "security": [
  10986. {
  10987. "ApiKeyAuth": []
  10988. }
  10989. ],
  10990. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  10991. "produces": [
  10992. "application/json"
  10993. ],
  10994. "tags": [
  10995. "仓单贸易v2"
  10996. ],
  10997. "summary": "查询仓单持有记录",
  10998. "parameters": [
  10999. {
  11000. "type": "integer",
  11001. "description": "资金账号",
  11002. "name": "accountid",
  11003. "in": "query",
  11004. "required": true
  11005. },
  11006. {
  11007. "type": "integer",
  11008. "description": "仓库id",
  11009. "name": "warehouseid",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "integer",
  11014. "description": "品种id",
  11015. "name": "deliverygoodsid",
  11016. "in": "query"
  11017. },
  11018. {
  11019. "type": "integer",
  11020. "description": "品类id",
  11021. "name": "wrstandardid",
  11022. "in": "query"
  11023. },
  11024. {
  11025. "type": "integer",
  11026. "description": "仓单要素id",
  11027. "name": "wrfactortypeid",
  11028. "in": "query"
  11029. },
  11030. {
  11031. "type": "string",
  11032. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11033. "name": "dgitemname",
  11034. "in": "query"
  11035. }
  11036. ],
  11037. "responses": {
  11038. "200": {
  11039. "description": "OK",
  11040. "schema": {
  11041. "type": "array",
  11042. "items": {
  11043. "$ref": "#/definitions/models.WrHoldLB"
  11044. }
  11045. }
  11046. },
  11047. "500": {
  11048. "description": "Internal Server Error",
  11049. "schema": {
  11050. "$ref": "#/definitions/app.Response"
  11051. }
  11052. }
  11053. }
  11054. }
  11055. },
  11056. "/WrTrade2/QueryOrderQuote": {
  11057. "get": {
  11058. "security": [
  11059. {
  11060. "ApiKeyAuth": []
  11061. }
  11062. ],
  11063. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11064. "produces": [
  11065. "application/json"
  11066. ],
  11067. "tags": [
  11068. "仓单贸易v2"
  11069. ],
  11070. "summary": "查询大厅行情列表",
  11071. "parameters": [
  11072. {
  11073. "type": "integer",
  11074. "description": "页码",
  11075. "name": "page",
  11076. "in": "query"
  11077. },
  11078. {
  11079. "type": "integer",
  11080. "description": "每页条数",
  11081. "name": "pagesize",
  11082. "in": "query"
  11083. },
  11084. {
  11085. "type": "integer",
  11086. "description": "仓单贸易市场id",
  11087. "name": "marketid",
  11088. "in": "query"
  11089. },
  11090. {
  11091. "type": "integer",
  11092. "description": "价格方式 - 1:固定价 2-浮动价",
  11093. "name": "wrpricetype",
  11094. "in": "query",
  11095. "required": true
  11096. },
  11097. {
  11098. "type": "integer",
  11099. "description": "0:仓单预售 1:仓单贸易",
  11100. "name": "haswr",
  11101. "in": "query"
  11102. },
  11103. {
  11104. "type": "string",
  11105. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11106. "name": "dgitemname",
  11107. "in": "query"
  11108. },
  11109. {
  11110. "type": "integer",
  11111. "description": "仓库id(筛选条件)",
  11112. "name": "warehouseid",
  11113. "in": "query"
  11114. },
  11115. {
  11116. "type": "integer",
  11117. "description": "品种id",
  11118. "name": "deliverygoodsid",
  11119. "in": "query"
  11120. },
  11121. {
  11122. "type": "integer",
  11123. "description": "品类id",
  11124. "name": "wrstandardid",
  11125. "in": "query"
  11126. },
  11127. {
  11128. "type": "integer",
  11129. "description": "品牌id(dgfactoryitemid)",
  11130. "name": "brandid",
  11131. "in": "query"
  11132. },
  11133. {
  11134. "type": "integer",
  11135. "description": "年份id(dgfactoryitemid)",
  11136. "name": "yearsid",
  11137. "in": "query"
  11138. },
  11139. {
  11140. "type": "integer",
  11141. "description": "仓单要素id",
  11142. "name": "wrfactortypeid",
  11143. "in": "query"
  11144. },
  11145. {
  11146. "type": "string",
  11147. "description": "交收月(yyyy-mm) 仓单预售填写",
  11148. "name": "deliverymonth",
  11149. "in": "query"
  11150. }
  11151. ],
  11152. "responses": {
  11153. "200": {
  11154. "description": "OK",
  11155. "schema": {
  11156. "type": "array",
  11157. "items": {
  11158. "$ref": "#/definitions/models.WrOrderQuote"
  11159. }
  11160. }
  11161. },
  11162. "500": {
  11163. "description": "Internal Server Error",
  11164. "schema": {
  11165. "$ref": "#/definitions/app.Response"
  11166. }
  11167. }
  11168. }
  11169. }
  11170. },
  11171. "/WrTrade2/QueryOrderQuoteDetail": {
  11172. "get": {
  11173. "security": [
  11174. {
  11175. "ApiKeyAuth": []
  11176. }
  11177. ],
  11178. "produces": [
  11179. "application/json"
  11180. ],
  11181. "tags": [
  11182. "仓单贸易v2"
  11183. ],
  11184. "summary": "查询买卖大厅",
  11185. "parameters": [
  11186. {
  11187. "type": "integer",
  11188. "description": "页码",
  11189. "name": "page",
  11190. "in": "query"
  11191. },
  11192. {
  11193. "type": "integer",
  11194. "description": "每页条数",
  11195. "name": "pagesize",
  11196. "in": "query"
  11197. },
  11198. {
  11199. "type": "integer",
  11200. "description": "仓单贸易市场id",
  11201. "name": "marketid",
  11202. "in": "query"
  11203. },
  11204. {
  11205. "type": "integer",
  11206. "description": "价格方式 - 1:固定价 2-浮动价",
  11207. "name": "wrpricetype",
  11208. "in": "query",
  11209. "required": true
  11210. },
  11211. {
  11212. "type": "integer",
  11213. "description": "0:仓单预售 1:仓单贸易",
  11214. "name": "haswr",
  11215. "in": "query"
  11216. },
  11217. {
  11218. "type": "integer",
  11219. "description": "仓单要素id",
  11220. "name": "wrfactortypeid",
  11221. "in": "query",
  11222. "required": true
  11223. },
  11224. {
  11225. "type": "integer",
  11226. "description": "期货商品id(浮动价方式时填)",
  11227. "name": "goodsid",
  11228. "in": "query"
  11229. },
  11230. {
  11231. "type": "integer",
  11232. "description": "买卖方向 0-买 1-卖",
  11233. "name": "buyorsell",
  11234. "in": "query",
  11235. "required": true
  11236. },
  11237. {
  11238. "type": "string",
  11239. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11240. "name": "deliverymonth",
  11241. "in": "query"
  11242. }
  11243. ],
  11244. "responses": {
  11245. "200": {
  11246. "description": "OK",
  11247. "schema": {
  11248. "type": "array",
  11249. "items": {
  11250. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11251. }
  11252. }
  11253. },
  11254. "500": {
  11255. "description": "Internal Server Error",
  11256. "schema": {
  11257. "$ref": "#/definitions/app.Response"
  11258. }
  11259. }
  11260. }
  11261. }
  11262. },
  11263. "/WrTrade2/QueryOrderQuoteMyq": {
  11264. "get": {
  11265. "security": [
  11266. {
  11267. "ApiKeyAuth": []
  11268. }
  11269. ],
  11270. "produces": [
  11271. "application/json"
  11272. ],
  11273. "tags": [
  11274. "仓单贸易v2"
  11275. ],
  11276. "summary": "查询贸易圈挂牌大厅",
  11277. "parameters": [
  11278. {
  11279. "type": "integer",
  11280. "description": "页码",
  11281. "name": "page",
  11282. "in": "query"
  11283. },
  11284. {
  11285. "type": "integer",
  11286. "description": "每页条数",
  11287. "name": "pagesize",
  11288. "in": "query"
  11289. },
  11290. {
  11291. "type": "integer",
  11292. "description": "用户id",
  11293. "name": "userid",
  11294. "in": "query",
  11295. "required": true
  11296. },
  11297. {
  11298. "type": "integer",
  11299. "description": "仓单贸易市场id",
  11300. "name": "marketid",
  11301. "in": "query"
  11302. },
  11303. {
  11304. "type": "integer",
  11305. "description": "0:仓单预售 1:仓单贸易",
  11306. "name": "haswr",
  11307. "in": "query"
  11308. },
  11309. {
  11310. "type": "integer",
  11311. "description": "买卖方向 0-买 1-卖",
  11312. "name": "buyorsell",
  11313. "in": "query",
  11314. "required": true
  11315. },
  11316. {
  11317. "type": "integer",
  11318. "description": "品种id",
  11319. "name": "deliverygoodsid",
  11320. "in": "query"
  11321. },
  11322. {
  11323. "type": "integer",
  11324. "description": "品类id",
  11325. "name": "wrstandardid",
  11326. "in": "query"
  11327. },
  11328. {
  11329. "type": "string",
  11330. "description": "交收月(yyyy-mm) 仓单预售填写",
  11331. "name": "deliverymonth",
  11332. "in": "query"
  11333. },
  11334. {
  11335. "type": "string",
  11336. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11337. "name": "dgitemname",
  11338. "in": "query"
  11339. }
  11340. ],
  11341. "responses": {
  11342. "200": {
  11343. "description": "OK",
  11344. "schema": {
  11345. "type": "array",
  11346. "items": {
  11347. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11348. }
  11349. }
  11350. },
  11351. "500": {
  11352. "description": "Internal Server Error",
  11353. "schema": {
  11354. "$ref": "#/definitions/app.Response"
  11355. }
  11356. }
  11357. }
  11358. }
  11359. },
  11360. "/WrTrade2/QueryPerformancePlan": {
  11361. "get": {
  11362. "security": [
  11363. {
  11364. "ApiKeyAuth": []
  11365. }
  11366. ],
  11367. "produces": [
  11368. "application/json"
  11369. ],
  11370. "tags": [
  11371. "仓单贸易v2"
  11372. ],
  11373. "summary": "查询履约信息",
  11374. "parameters": [
  11375. {
  11376. "type": "integer",
  11377. "description": "用户id",
  11378. "name": "userid",
  11379. "in": "query",
  11380. "required": true
  11381. },
  11382. {
  11383. "type": "integer",
  11384. "description": "买卖方向 0-买 1-卖",
  11385. "name": "buyorsell",
  11386. "in": "query",
  11387. "required": true
  11388. },
  11389. {
  11390. "type": "string",
  11391. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  11392. "name": "status",
  11393. "in": "query"
  11394. },
  11395. {
  11396. "type": "string",
  11397. "description": "开始交易日(yyyymmdd)",
  11398. "name": "begindate",
  11399. "in": "query"
  11400. },
  11401. {
  11402. "type": "string",
  11403. "description": "结束交易日(yyyymmdd)",
  11404. "name": "enddate",
  11405. "in": "query"
  11406. }
  11407. ],
  11408. "responses": {
  11409. "200": {
  11410. "description": "OK",
  11411. "schema": {
  11412. "type": "array",
  11413. "items": {
  11414. "$ref": "#/definitions/models.WrPerformancePlan"
  11415. }
  11416. }
  11417. },
  11418. "500": {
  11419. "description": "Internal Server Error",
  11420. "schema": {
  11421. "$ref": "#/definitions/app.Response"
  11422. }
  11423. }
  11424. }
  11425. }
  11426. },
  11427. "/WrTrade2/QueryPermancePlanTmp": {
  11428. "get": {
  11429. "security": [
  11430. {
  11431. "ApiKeyAuth": []
  11432. }
  11433. ],
  11434. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  11435. "produces": [
  11436. "application/json"
  11437. ],
  11438. "tags": [
  11439. "仓单贸易v2"
  11440. ],
  11441. "summary": "查询履约模板",
  11442. "parameters": [
  11443. {
  11444. "type": "integer",
  11445. "description": "用户id",
  11446. "name": "userid",
  11447. "in": "query"
  11448. },
  11449. {
  11450. "type": "string",
  11451. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11452. "name": "tmptype",
  11453. "in": "query"
  11454. },
  11455. {
  11456. "type": "integer",
  11457. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11458. "name": "includepub",
  11459. "in": "query"
  11460. },
  11461. {
  11462. "type": "integer",
  11463. "description": "市场id(天津麦顿指定此参数,其它不用)",
  11464. "name": "marketid",
  11465. "in": "query"
  11466. }
  11467. ],
  11468. "responses": {
  11469. "200": {
  11470. "description": "OK",
  11471. "schema": {
  11472. "type": "array",
  11473. "items": {
  11474. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11475. }
  11476. }
  11477. },
  11478. "500": {
  11479. "description": "Internal Server Error",
  11480. "schema": {
  11481. "$ref": "#/definitions/app.Response"
  11482. }
  11483. }
  11484. }
  11485. }
  11486. },
  11487. "/WrTrade2/QuerySiteColumnDetail": {
  11488. "get": {
  11489. "security": [
  11490. {
  11491. "ApiKeyAuth": []
  11492. }
  11493. ],
  11494. "produces": [
  11495. "application/json"
  11496. ],
  11497. "tags": [
  11498. "仓单贸易v2"
  11499. ],
  11500. "summary": "查询资讯",
  11501. "parameters": [
  11502. {
  11503. "type": "integer",
  11504. "description": "页码",
  11505. "name": "page",
  11506. "in": "query"
  11507. },
  11508. {
  11509. "type": "integer",
  11510. "description": "每页条数",
  11511. "name": "pagesize",
  11512. "in": "query"
  11513. },
  11514. {
  11515. "type": "integer",
  11516. "description": "所属栏目id",
  11517. "name": "columnid",
  11518. "in": "query"
  11519. }
  11520. ],
  11521. "responses": {
  11522. "200": {
  11523. "description": "OK",
  11524. "schema": {
  11525. "type": "array",
  11526. "items": {
  11527. "$ref": "#/definitions/models.WrSiteColumnDetail"
  11528. }
  11529. }
  11530. },
  11531. "500": {
  11532. "description": "Internal Server Error",
  11533. "schema": {
  11534. "$ref": "#/definitions/app.Response"
  11535. }
  11536. }
  11537. }
  11538. }
  11539. },
  11540. "/WrTrade2/QuerySpotGroupTradeSum": {
  11541. "get": {
  11542. "security": [
  11543. {
  11544. "ApiKeyAuth": []
  11545. }
  11546. ],
  11547. "produces": [
  11548. "application/json"
  11549. ],
  11550. "tags": [
  11551. "仓单贸易v2"
  11552. ],
  11553. "summary": "查询指数",
  11554. "responses": {
  11555. "200": {
  11556. "description": "OK",
  11557. "schema": {
  11558. "type": "array",
  11559. "items": {
  11560. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  11561. }
  11562. }
  11563. },
  11564. "500": {
  11565. "description": "Internal Server Error",
  11566. "schema": {
  11567. "$ref": "#/definitions/app.Response"
  11568. }
  11569. }
  11570. }
  11571. }
  11572. },
  11573. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  11574. "get": {
  11575. "security": [
  11576. {
  11577. "ApiKeyAuth": []
  11578. }
  11579. ],
  11580. "description": "查询的结果将会按日期 从小到大 排序",
  11581. "produces": [
  11582. "application/json"
  11583. ],
  11584. "tags": [
  11585. "仓单贸易v2"
  11586. ],
  11587. "summary": "查询指数详细(价格走势图)",
  11588. "parameters": [
  11589. {
  11590. "type": "integer",
  11591. "description": "现货商品id",
  11592. "name": "deliverygoodsid",
  11593. "in": "query",
  11594. "required": true
  11595. },
  11596. {
  11597. "type": "integer",
  11598. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  11599. "name": "lastnum",
  11600. "in": "query"
  11601. }
  11602. ],
  11603. "responses": {
  11604. "200": {
  11605. "description": "OK",
  11606. "schema": {
  11607. "type": "array",
  11608. "items": {
  11609. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  11610. }
  11611. }
  11612. },
  11613. "500": {
  11614. "description": "Internal Server Error",
  11615. "schema": {
  11616. "$ref": "#/definitions/app.Response"
  11617. }
  11618. }
  11619. }
  11620. }
  11621. },
  11622. "/WrTrade2/QueryWrAverageTradePrice": {
  11623. "get": {
  11624. "security": [
  11625. {
  11626. "ApiKeyAuth": []
  11627. }
  11628. ],
  11629. "produces": [
  11630. "application/json"
  11631. ],
  11632. "tags": [
  11633. "仓单贸易v2"
  11634. ],
  11635. "summary": "查询成交价(历史走势)",
  11636. "parameters": [
  11637. {
  11638. "type": "integer",
  11639. "description": "页码",
  11640. "name": "page",
  11641. "in": "query"
  11642. },
  11643. {
  11644. "type": "integer",
  11645. "description": "每页条数",
  11646. "name": "pagesize",
  11647. "in": "query"
  11648. },
  11649. {
  11650. "type": "integer",
  11651. "description": "0:仓单预售 1:仓单贸易",
  11652. "name": "haswr",
  11653. "in": "query",
  11654. "required": true
  11655. },
  11656. {
  11657. "type": "integer",
  11658. "description": "仓单要素id",
  11659. "name": "wrfactortypeid",
  11660. "in": "query",
  11661. "required": true
  11662. }
  11663. ],
  11664. "responses": {
  11665. "200": {
  11666. "description": "OK",
  11667. "schema": {
  11668. "type": "array",
  11669. "items": {
  11670. "$ref": "#/definitions/models.WrAverageTradePrice"
  11671. }
  11672. }
  11673. },
  11674. "500": {
  11675. "description": "Internal Server Error",
  11676. "schema": {
  11677. "$ref": "#/definitions/app.Response"
  11678. }
  11679. }
  11680. }
  11681. }
  11682. },
  11683. "/WrTrade2/QueryWrBrandAndYears": {
  11684. "get": {
  11685. "security": [
  11686. {
  11687. "ApiKeyAuth": []
  11688. }
  11689. ],
  11690. "produces": [
  11691. "application/json"
  11692. ],
  11693. "tags": [
  11694. "仓单贸易v2"
  11695. ],
  11696. "summary": "查询品牌和年份",
  11697. "responses": {
  11698. "200": {
  11699. "description": "OK",
  11700. "schema": {
  11701. "type": "array",
  11702. "items": {
  11703. "$ref": "#/definitions/models.WrBrandAndYears"
  11704. }
  11705. }
  11706. },
  11707. "500": {
  11708. "description": "Internal Server Error",
  11709. "schema": {
  11710. "$ref": "#/definitions/app.Response"
  11711. }
  11712. }
  11713. }
  11714. }
  11715. },
  11716. "/WrTrade2/QueryWrBsGoodsInfo": {
  11717. "get": {
  11718. "security": [
  11719. {
  11720. "ApiKeyAuth": []
  11721. }
  11722. ],
  11723. "description": "合约交易/买卖大厅/详情",
  11724. "produces": [
  11725. "application/json"
  11726. ],
  11727. "tags": [
  11728. "仓单贸易v2"
  11729. ],
  11730. "summary": "查询合约交易买卖大厅详情",
  11731. "parameters": [
  11732. {
  11733. "type": "integer",
  11734. "description": "商品id",
  11735. "name": "goodsid",
  11736. "in": "query",
  11737. "required": true
  11738. }
  11739. ],
  11740. "responses": {
  11741. "200": {
  11742. "description": "OK",
  11743. "schema": {
  11744. "type": "array",
  11745. "items": {
  11746. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11747. }
  11748. }
  11749. },
  11750. "500": {
  11751. "description": "Internal Server Error",
  11752. "schema": {
  11753. "$ref": "#/definitions/app.Response"
  11754. }
  11755. }
  11756. }
  11757. }
  11758. },
  11759. "/WrTrade2/QueryWrBuybackDetail": {
  11760. "get": {
  11761. "security": [
  11762. {
  11763. "ApiKeyAuth": []
  11764. }
  11765. ],
  11766. "produces": [
  11767. "application/json"
  11768. ],
  11769. "tags": [
  11770. "仓单贸易v2"
  11771. ],
  11772. "summary": "查询仓单回购明细",
  11773. "parameters": [
  11774. {
  11775. "type": "integer",
  11776. "description": "融资合同id",
  11777. "name": "scfcontractid",
  11778. "in": "query"
  11779. }
  11780. ],
  11781. "responses": {
  11782. "200": {
  11783. "description": "OK",
  11784. "schema": {
  11785. "type": "array",
  11786. "items": {
  11787. "$ref": "#/definitions/models.WrBuybackDetail"
  11788. }
  11789. }
  11790. },
  11791. "500": {
  11792. "description": "Internal Server Error",
  11793. "schema": {
  11794. "$ref": "#/definitions/app.Response"
  11795. }
  11796. }
  11797. }
  11798. }
  11799. },
  11800. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  11801. "get": {
  11802. "security": [
  11803. {
  11804. "ApiKeyAuth": []
  11805. }
  11806. ],
  11807. "produces": [
  11808. "application/json"
  11809. ],
  11810. "tags": [
  11811. "仓单贸易v2"
  11812. ],
  11813. "summary": "查询固定广告配置",
  11814. "responses": {
  11815. "200": {
  11816. "description": "OK",
  11817. "schema": {
  11818. "type": "array",
  11819. "items": {
  11820. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  11821. }
  11822. }
  11823. },
  11824. "500": {
  11825. "description": "Internal Server Error",
  11826. "schema": {
  11827. "$ref": "#/definitions/app.Response"
  11828. }
  11829. }
  11830. }
  11831. }
  11832. },
  11833. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  11834. "get": {
  11835. "security": [
  11836. {
  11837. "ApiKeyAuth": []
  11838. }
  11839. ],
  11840. "produces": [
  11841. "application/json"
  11842. ],
  11843. "tags": [
  11844. "仓单贸易v2"
  11845. ],
  11846. "summary": "查询合约交收可点选仓单",
  11847. "parameters": [
  11848. {
  11849. "type": "integer",
  11850. "description": "资金账号",
  11851. "name": "accountid",
  11852. "in": "query",
  11853. "required": true
  11854. },
  11855. {
  11856. "type": "integer",
  11857. "description": "商品id",
  11858. "name": "goodsid",
  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.WrDeliveryAvalidHoldLB"
  11870. }
  11871. }
  11872. },
  11873. "500": {
  11874. "description": "Internal Server Error",
  11875. "schema": {
  11876. "$ref": "#/definitions/app.Response"
  11877. }
  11878. }
  11879. }
  11880. }
  11881. },
  11882. "/WrTrade2/QueryWrDeliveryDetail": {
  11883. "get": {
  11884. "security": [
  11885. {
  11886. "ApiKeyAuth": []
  11887. }
  11888. ],
  11889. "produces": [
  11890. "application/json"
  11891. ],
  11892. "tags": [
  11893. "仓单贸易v2"
  11894. ],
  11895. "summary": "查询交收",
  11896. "parameters": [
  11897. {
  11898. "type": "integer",
  11899. "description": "用户id",
  11900. "name": "userid",
  11901. "in": "query",
  11902. "required": true
  11903. },
  11904. {
  11905. "type": "integer",
  11906. "description": "资金账号id",
  11907. "name": "accountid",
  11908. "in": "query"
  11909. },
  11910. {
  11911. "type": "string",
  11912. "description": "开始交易日(yyyymmdd)",
  11913. "name": "begindate",
  11914. "in": "query"
  11915. },
  11916. {
  11917. "type": "string",
  11918. "description": "结束交易日(yyyymmdd)",
  11919. "name": "enddate",
  11920. "in": "query"
  11921. }
  11922. ],
  11923. "responses": {
  11924. "200": {
  11925. "description": "OK",
  11926. "schema": {
  11927. "type": "array",
  11928. "items": {
  11929. "$ref": "#/definitions/models.WrDeliveryDetail"
  11930. }
  11931. }
  11932. },
  11933. "500": {
  11934. "description": "Internal Server Error",
  11935. "schema": {
  11936. "$ref": "#/definitions/app.Response"
  11937. }
  11938. }
  11939. }
  11940. }
  11941. },
  11942. "/WrTrade2/QueryWrDraftUserInfo": {
  11943. "get": {
  11944. "security": [
  11945. {
  11946. "ApiKeyAuth": []
  11947. }
  11948. ],
  11949. "produces": [
  11950. "application/json"
  11951. ],
  11952. "tags": [
  11953. "仓单贸易v2"
  11954. ],
  11955. "summary": "查询实名认证信息",
  11956. "parameters": [
  11957. {
  11958. "type": "integer",
  11959. "description": "用户ID",
  11960. "name": "userid",
  11961. "in": "query",
  11962. "required": true
  11963. },
  11964. {
  11965. "type": "integer",
  11966. "description": "用户状态 1:正常 2:注销",
  11967. "name": "userstatus",
  11968. "in": "query"
  11969. }
  11970. ],
  11971. "responses": {
  11972. "200": {
  11973. "description": "OK",
  11974. "schema": {
  11975. "type": "array",
  11976. "items": {
  11977. "$ref": "#/definitions/models.WrDraftUserInfo"
  11978. }
  11979. }
  11980. },
  11981. "500": {
  11982. "description": "Internal Server Error",
  11983. "schema": {
  11984. "$ref": "#/definitions/app.Response"
  11985. }
  11986. }
  11987. }
  11988. }
  11989. },
  11990. "/WrTrade2/QueryWrFactorTypeInfo": {
  11991. "get": {
  11992. "security": [
  11993. {
  11994. "ApiKeyAuth": []
  11995. }
  11996. ],
  11997. "produces": [
  11998. "application/json"
  11999. ],
  12000. "tags": [
  12001. "仓单贸易v2"
  12002. ],
  12003. "summary": "查询仓单要素详细信息",
  12004. "parameters": [
  12005. {
  12006. "type": "integer",
  12007. "description": "仓单要素id",
  12008. "name": "wrfactortypeid",
  12009. "in": "query",
  12010. "required": true
  12011. }
  12012. ],
  12013. "responses": {
  12014. "200": {
  12015. "description": "OK",
  12016. "schema": {
  12017. "type": "array",
  12018. "items": {
  12019. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12020. }
  12021. }
  12022. },
  12023. "500": {
  12024. "description": "Internal Server Error",
  12025. "schema": {
  12026. "$ref": "#/definitions/app.Response"
  12027. }
  12028. }
  12029. }
  12030. }
  12031. },
  12032. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12033. "get": {
  12034. "security": [
  12035. {
  12036. "ApiKeyAuth": []
  12037. }
  12038. ],
  12039. "produces": [
  12040. "application/json"
  12041. ],
  12042. "tags": [
  12043. "仓单贸易v2"
  12044. ],
  12045. "summary": "查询仓单要素详细信息列表项",
  12046. "parameters": [
  12047. {
  12048. "type": "integer",
  12049. "description": "仓单要素id",
  12050. "name": "wrfactortypeid",
  12051. "in": "query",
  12052. "required": true
  12053. }
  12054. ],
  12055. "responses": {
  12056. "200": {
  12057. "description": "OK",
  12058. "schema": {
  12059. "type": "array",
  12060. "items": {
  12061. "$ref": "#/definitions/models.WrTypeItem"
  12062. }
  12063. }
  12064. },
  12065. "500": {
  12066. "description": "Internal Server Error",
  12067. "schema": {
  12068. "$ref": "#/definitions/app.Response"
  12069. }
  12070. }
  12071. }
  12072. }
  12073. },
  12074. "/WrTrade2/QueryWrFinanceBuyApply": {
  12075. "get": {
  12076. "security": [
  12077. {
  12078. "ApiKeyAuth": []
  12079. }
  12080. ],
  12081. "description": "页面 融资信息+ / 申请单",
  12082. "produces": [
  12083. "application/json"
  12084. ],
  12085. "tags": [
  12086. "仓单贸易v2"
  12087. ],
  12088. "summary": "查询融资购买申请",
  12089. "parameters": [
  12090. {
  12091. "type": "integer",
  12092. "description": "用户id",
  12093. "name": "userid",
  12094. "in": "query",
  12095. "required": true
  12096. }
  12097. ],
  12098. "responses": {
  12099. "200": {
  12100. "description": "OK",
  12101. "schema": {
  12102. "type": "array",
  12103. "items": {
  12104. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12105. }
  12106. }
  12107. },
  12108. "500": {
  12109. "description": "Internal Server Error",
  12110. "schema": {
  12111. "$ref": "#/definitions/app.Response"
  12112. }
  12113. }
  12114. }
  12115. }
  12116. },
  12117. "/WrTrade2/QueryWrFriendApply": {
  12118. "get": {
  12119. "security": [
  12120. {
  12121. "ApiKeyAuth": []
  12122. }
  12123. ],
  12124. "produces": [
  12125. "application/json"
  12126. ],
  12127. "tags": [
  12128. "仓单贸易v2"
  12129. ],
  12130. "summary": "查询好友申请记录",
  12131. "parameters": [
  12132. {
  12133. "type": "integer",
  12134. "description": "用户id",
  12135. "name": "userid",
  12136. "in": "query",
  12137. "required": true
  12138. }
  12139. ],
  12140. "responses": {
  12141. "200": {
  12142. "description": "OK",
  12143. "schema": {
  12144. "type": "array",
  12145. "items": {
  12146. "$ref": "#/definitions/models.WrFriendApply"
  12147. }
  12148. }
  12149. },
  12150. "500": {
  12151. "description": "Internal Server Error",
  12152. "schema": {
  12153. "$ref": "#/definitions/app.Response"
  12154. }
  12155. }
  12156. }
  12157. }
  12158. },
  12159. "/WrTrade2/QueryWrGoodsInfo": {
  12160. "get": {
  12161. "security": [
  12162. {
  12163. "ApiKeyAuth": []
  12164. }
  12165. ],
  12166. "produces": [
  12167. "application/json"
  12168. ],
  12169. "tags": [
  12170. "仓单贸易v2"
  12171. ],
  12172. "summary": "查询仓单商品信息",
  12173. "parameters": [
  12174. {
  12175. "type": "integer",
  12176. "description": "仓单贸易市场id",
  12177. "name": "marketid",
  12178. "in": "query"
  12179. },
  12180. {
  12181. "type": "integer",
  12182. "description": "0:仓单预售 1:仓单贸易",
  12183. "name": "haswr",
  12184. "in": "query",
  12185. "required": true
  12186. },
  12187. {
  12188. "type": "integer",
  12189. "description": "仓单要素id",
  12190. "name": "wrfactortypeid",
  12191. "in": "query",
  12192. "required": true
  12193. },
  12194. {
  12195. "type": "integer",
  12196. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12197. "name": "tmplateid",
  12198. "in": "query"
  12199. }
  12200. ],
  12201. "responses": {
  12202. "200": {
  12203. "description": "OK",
  12204. "schema": {
  12205. "type": "array",
  12206. "items": {
  12207. "$ref": "#/definitions/models.WrGoodsInfo"
  12208. }
  12209. }
  12210. },
  12211. "500": {
  12212. "description": "Internal Server Error",
  12213. "schema": {
  12214. "$ref": "#/definitions/app.Response"
  12215. }
  12216. }
  12217. }
  12218. }
  12219. },
  12220. "/WrTrade2/QueryWrMarketTradeConfig": {
  12221. "get": {
  12222. "security": [
  12223. {
  12224. "ApiKeyAuth": []
  12225. }
  12226. ],
  12227. "produces": [
  12228. "application/json"
  12229. ],
  12230. "tags": [
  12231. "仓单贸易v2"
  12232. ],
  12233. "summary": "查询市场交易参数配置",
  12234. "parameters": [
  12235. {
  12236. "type": "integer",
  12237. "description": "市场id",
  12238. "name": "marketid",
  12239. "in": "query"
  12240. }
  12241. ],
  12242. "responses": {
  12243. "200": {
  12244. "description": "OK",
  12245. "schema": {
  12246. "type": "array",
  12247. "items": {
  12248. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12249. }
  12250. }
  12251. },
  12252. "500": {
  12253. "description": "Internal Server Error",
  12254. "schema": {
  12255. "$ref": "#/definitions/app.Response"
  12256. }
  12257. }
  12258. }
  12259. }
  12260. },
  12261. "/WrTrade2/QueryWrOrderDetail": {
  12262. "get": {
  12263. "security": [
  12264. {
  12265. "ApiKeyAuth": []
  12266. }
  12267. ],
  12268. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  12269. "produces": [
  12270. "application/json"
  12271. ],
  12272. "tags": [
  12273. "仓单贸易v2"
  12274. ],
  12275. "summary": "查询仓单委托单",
  12276. "parameters": [
  12277. {
  12278. "type": "integer",
  12279. "description": "页码",
  12280. "name": "page",
  12281. "in": "query"
  12282. },
  12283. {
  12284. "type": "integer",
  12285. "description": "每页条数",
  12286. "name": "pagesize",
  12287. "in": "query"
  12288. },
  12289. {
  12290. "type": "integer",
  12291. "description": "用户id",
  12292. "name": "userid",
  12293. "in": "query",
  12294. "required": true
  12295. },
  12296. {
  12297. "type": "integer",
  12298. "description": "仓单贸易市场id",
  12299. "name": "marketid",
  12300. "in": "query"
  12301. },
  12302. {
  12303. "type": "integer",
  12304. "description": "0:仓单预售 1:仓单贸易",
  12305. "name": "haswr",
  12306. "in": "query",
  12307. "required": true
  12308. },
  12309. {
  12310. "type": "integer",
  12311. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  12312. "name": "bcancel",
  12313. "in": "query"
  12314. },
  12315. {
  12316. "type": "integer",
  12317. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  12318. "name": "wrtradetype",
  12319. "in": "query"
  12320. },
  12321. {
  12322. "type": "string",
  12323. "description": "开始交易日(yyyymmdd)",
  12324. "name": "begindate",
  12325. "in": "query"
  12326. },
  12327. {
  12328. "type": "string",
  12329. "description": "结束交易日(yyyymmdd)",
  12330. "name": "enddate",
  12331. "in": "query"
  12332. }
  12333. ],
  12334. "responses": {
  12335. "200": {
  12336. "description": "OK",
  12337. "schema": {
  12338. "type": "array",
  12339. "items": {
  12340. "$ref": "#/definitions/models.WrOrderDetail"
  12341. }
  12342. }
  12343. },
  12344. "500": {
  12345. "description": "Internal Server Error",
  12346. "schema": {
  12347. "$ref": "#/definitions/app.Response"
  12348. }
  12349. }
  12350. }
  12351. }
  12352. },
  12353. "/WrTrade2/QueryWrOutInApply": {
  12354. "get": {
  12355. "security": [
  12356. {
  12357. "ApiKeyAuth": []
  12358. }
  12359. ],
  12360. "produces": [
  12361. "application/json"
  12362. ],
  12363. "tags": [
  12364. "仓单贸易v2"
  12365. ],
  12366. "summary": "查询提货申请",
  12367. "parameters": [
  12368. {
  12369. "type": "integer",
  12370. "description": "页码",
  12371. "name": "page",
  12372. "in": "query"
  12373. },
  12374. {
  12375. "type": "integer",
  12376. "description": "每页条数",
  12377. "name": "pagesize",
  12378. "in": "query"
  12379. },
  12380. {
  12381. "type": "integer",
  12382. "description": "用户id",
  12383. "name": "userid",
  12384. "in": "query",
  12385. "required": true
  12386. },
  12387. {
  12388. "type": "string",
  12389. "description": "开始交易日(yyyymmdd)",
  12390. "name": "begindate",
  12391. "in": "query"
  12392. },
  12393. {
  12394. "type": "string",
  12395. "description": "结束交易日(yyyymmdd)",
  12396. "name": "enddate",
  12397. "in": "query"
  12398. }
  12399. ],
  12400. "responses": {
  12401. "200": {
  12402. "description": "OK",
  12403. "schema": {
  12404. "type": "array",
  12405. "items": {
  12406. "$ref": "#/definitions/models.WrOutInApply"
  12407. }
  12408. }
  12409. },
  12410. "500": {
  12411. "description": "Internal Server Error",
  12412. "schema": {
  12413. "$ref": "#/definitions/app.Response"
  12414. }
  12415. }
  12416. }
  12417. }
  12418. },
  12419. "/WrTrade2/QueryWrPerformancePlanStep": {
  12420. "get": {
  12421. "security": [
  12422. {
  12423. "ApiKeyAuth": []
  12424. }
  12425. ],
  12426. "produces": [
  12427. "application/json"
  12428. ],
  12429. "tags": [
  12430. "仓单贸易v2"
  12431. ],
  12432. "summary": "查询履约信息详情",
  12433. "parameters": [
  12434. {
  12435. "type": "integer",
  12436. "description": "履约计划id(performanceplanid)",
  12437. "name": "planid",
  12438. "in": "query",
  12439. "required": true
  12440. },
  12441. {
  12442. "type": "integer",
  12443. "description": "当前步骤id",
  12444. "name": "curstepid",
  12445. "in": "query"
  12446. }
  12447. ],
  12448. "responses": {
  12449. "200": {
  12450. "description": "OK",
  12451. "schema": {
  12452. "type": "array",
  12453. "items": {
  12454. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12455. }
  12456. }
  12457. },
  12458. "500": {
  12459. "description": "Internal Server Error",
  12460. "schema": {
  12461. "$ref": "#/definitions/app.Response"
  12462. }
  12463. }
  12464. }
  12465. }
  12466. },
  12467. "/WrTrade2/QueryWrPerformanceStepType": {
  12468. "get": {
  12469. "security": [
  12470. {
  12471. "ApiKeyAuth": []
  12472. }
  12473. ],
  12474. "produces": [
  12475. "application/json"
  12476. ],
  12477. "tags": [
  12478. "仓单贸易v2"
  12479. ],
  12480. "summary": "查询履约步骤枚举",
  12481. "responses": {
  12482. "200": {
  12483. "description": "OK",
  12484. "schema": {
  12485. "type": "array",
  12486. "items": {
  12487. "$ref": "#/definitions/models.WrPerformanceStepType"
  12488. }
  12489. }
  12490. },
  12491. "500": {
  12492. "description": "Internal Server Error",
  12493. "schema": {
  12494. "$ref": "#/definitions/app.Response"
  12495. }
  12496. }
  12497. }
  12498. }
  12499. },
  12500. "/WrTrade2/QueryWrPosition": {
  12501. "get": {
  12502. "security": [
  12503. {
  12504. "ApiKeyAuth": []
  12505. }
  12506. ],
  12507. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12508. "produces": [
  12509. "application/json"
  12510. ],
  12511. "tags": [
  12512. "仓单贸易v2"
  12513. ],
  12514. "summary": "查询现货(预售)仓单持仓",
  12515. "parameters": [
  12516. {
  12517. "type": "integer",
  12518. "description": "用户id",
  12519. "name": "userid",
  12520. "in": "query",
  12521. "required": true
  12522. },
  12523. {
  12524. "type": "integer",
  12525. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12526. "name": "querytype",
  12527. "in": "query",
  12528. "required": true
  12529. },
  12530. {
  12531. "type": "integer",
  12532. "description": "0:仓单预售 1:仓单贸易",
  12533. "name": "haswr",
  12534. "in": "query",
  12535. "required": true
  12536. },
  12537. {
  12538. "type": "string",
  12539. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12540. "name": "dgitemname",
  12541. "in": "query"
  12542. },
  12543. {
  12544. "type": "integer",
  12545. "description": "仓库id(筛选条件)",
  12546. "name": "warehouseid",
  12547. "in": "query"
  12548. },
  12549. {
  12550. "type": "integer",
  12551. "description": "品种id",
  12552. "name": "deliverygoodsid",
  12553. "in": "query"
  12554. },
  12555. {
  12556. "type": "integer",
  12557. "description": "品类id",
  12558. "name": "wrstandardid",
  12559. "in": "query"
  12560. }
  12561. ],
  12562. "responses": {
  12563. "200": {
  12564. "description": "OK",
  12565. "schema": {
  12566. "type": "array",
  12567. "items": {
  12568. "$ref": "#/definitions/models.WrPosition"
  12569. }
  12570. }
  12571. },
  12572. "500": {
  12573. "description": "Internal Server Error",
  12574. "schema": {
  12575. "$ref": "#/definitions/app.Response"
  12576. }
  12577. }
  12578. }
  12579. }
  12580. },
  12581. "/WrTrade2/QueryWrPreSaleInfo": {
  12582. "get": {
  12583. "security": [
  12584. {
  12585. "ApiKeyAuth": []
  12586. }
  12587. ],
  12588. "produces": [
  12589. "application/json"
  12590. ],
  12591. "tags": [
  12592. "仓单贸易v2"
  12593. ],
  12594. "summary": "查询新品发布",
  12595. "parameters": [
  12596. {
  12597. "type": "integer",
  12598. "description": "市场id",
  12599. "name": "marketid",
  12600. "in": "query"
  12601. },
  12602. {
  12603. "type": "string",
  12604. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  12605. "name": "presalestatus",
  12606. "in": "query"
  12607. },
  12608. {
  12609. "type": "integer",
  12610. "description": "摇号标识 - 0:未摇号 1:已摇号",
  12611. "name": "lotteryflag",
  12612. "in": "query"
  12613. },
  12614. {
  12615. "type": "integer",
  12616. "description": "最近多少条记录(按创建时间倒序)",
  12617. "name": "lastnum",
  12618. "in": "query"
  12619. }
  12620. ],
  12621. "responses": {
  12622. "200": {
  12623. "description": "OK",
  12624. "schema": {
  12625. "type": "array",
  12626. "items": {
  12627. "$ref": "#/definitions/models.WrPreSaleInfo"
  12628. }
  12629. }
  12630. },
  12631. "500": {
  12632. "description": "Internal Server Error",
  12633. "schema": {
  12634. "$ref": "#/definitions/app.Response"
  12635. }
  12636. }
  12637. }
  12638. }
  12639. },
  12640. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  12641. "get": {
  12642. "security": [
  12643. {
  12644. "ApiKeyAuth": []
  12645. }
  12646. ],
  12647. "produces": [
  12648. "application/json"
  12649. ],
  12650. "tags": [
  12651. "仓单贸易v2"
  12652. ],
  12653. "summary": "查询价格走势",
  12654. "parameters": [
  12655. {
  12656. "type": "integer",
  12657. "description": "市场id",
  12658. "name": "marketid",
  12659. "in": "query",
  12660. "required": true
  12661. },
  12662. {
  12663. "type": "integer",
  12664. "description": "现货商品id",
  12665. "name": "wrstandardid",
  12666. "in": "query",
  12667. "required": true
  12668. },
  12669. {
  12670. "type": "string",
  12671. "description": "开始交易日(yyyymmdd)",
  12672. "name": "begindate",
  12673. "in": "query"
  12674. },
  12675. {
  12676. "type": "string",
  12677. "description": "结束交易日(yyyymmdd)",
  12678. "name": "enddate",
  12679. "in": "query"
  12680. },
  12681. {
  12682. "type": "integer",
  12683. "description": "最近多少条记录(按交易日倒序)",
  12684. "name": "lastnum",
  12685. "in": "query"
  12686. },
  12687. {
  12688. "type": "boolean",
  12689. "description": "是否今日",
  12690. "name": "istoday",
  12691. "in": "query"
  12692. }
  12693. ],
  12694. "responses": {
  12695. "200": {
  12696. "description": "OK",
  12697. "schema": {
  12698. "type": "array",
  12699. "items": {
  12700. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  12701. }
  12702. }
  12703. },
  12704. "500": {
  12705. "description": "Internal Server Error",
  12706. "schema": {
  12707. "$ref": "#/definitions/app.Response"
  12708. }
  12709. }
  12710. }
  12711. }
  12712. },
  12713. "/WrTrade2/QueryWrScfContract": {
  12714. "get": {
  12715. "security": [
  12716. {
  12717. "ApiKeyAuth": []
  12718. }
  12719. ],
  12720. "produces": [
  12721. "application/json"
  12722. ],
  12723. "tags": [
  12724. "仓单贸易v2"
  12725. ],
  12726. "summary": "查询仓单贸易融资合同",
  12727. "parameters": [
  12728. {
  12729. "type": "integer",
  12730. "description": "用户id",
  12731. "name": "userid",
  12732. "in": "query",
  12733. "required": true
  12734. },
  12735. {
  12736. "type": "integer",
  12737. "description": "融资合同id",
  12738. "name": "scfcontractid",
  12739. "in": "query"
  12740. }
  12741. ],
  12742. "responses": {
  12743. "200": {
  12744. "description": "OK",
  12745. "schema": {
  12746. "type": "array",
  12747. "items": {
  12748. "$ref": "#/definitions/models.WrScfContract"
  12749. }
  12750. }
  12751. },
  12752. "500": {
  12753. "description": "Internal Server Error",
  12754. "schema": {
  12755. "$ref": "#/definitions/app.Response"
  12756. }
  12757. }
  12758. }
  12759. }
  12760. },
  12761. "/WrTrade2/QueryWrScfContractInterest": {
  12762. "get": {
  12763. "security": [
  12764. {
  12765. "ApiKeyAuth": []
  12766. }
  12767. ],
  12768. "produces": [
  12769. "application/json"
  12770. ],
  12771. "tags": [
  12772. "仓单贸易v2"
  12773. ],
  12774. "summary": "查询融资合同费用明细",
  12775. "parameters": [
  12776. {
  12777. "type": "integer",
  12778. "description": "融资合同id",
  12779. "name": "scfcontractid",
  12780. "in": "query"
  12781. }
  12782. ],
  12783. "responses": {
  12784. "200": {
  12785. "description": "OK",
  12786. "schema": {
  12787. "type": "array",
  12788. "items": {
  12789. "$ref": "#/definitions/models.WrScfContractInterest"
  12790. }
  12791. }
  12792. },
  12793. "500": {
  12794. "description": "Internal Server Error",
  12795. "schema": {
  12796. "$ref": "#/definitions/app.Response"
  12797. }
  12798. }
  12799. }
  12800. }
  12801. },
  12802. "/WrTrade2/QueryWrSearchUser": {
  12803. "get": {
  12804. "security": [
  12805. {
  12806. "ApiKeyAuth": []
  12807. }
  12808. ],
  12809. "produces": [
  12810. "application/json"
  12811. ],
  12812. "tags": [
  12813. "仓单贸易v2"
  12814. ],
  12815. "summary": "查询用户",
  12816. "parameters": [
  12817. {
  12818. "type": "string",
  12819. "description": "用户名称(模糊匹配)",
  12820. "name": "username",
  12821. "in": "query",
  12822. "required": true
  12823. }
  12824. ],
  12825. "responses": {
  12826. "200": {
  12827. "description": "OK",
  12828. "schema": {
  12829. "type": "array",
  12830. "items": {
  12831. "$ref": "#/definitions/models.WrSearchUser"
  12832. }
  12833. }
  12834. },
  12835. "500": {
  12836. "description": "Internal Server Error",
  12837. "schema": {
  12838. "$ref": "#/definitions/app.Response"
  12839. }
  12840. }
  12841. }
  12842. }
  12843. },
  12844. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12845. "get": {
  12846. "security": [
  12847. {
  12848. "ApiKeyAuth": []
  12849. }
  12850. ],
  12851. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12852. "produces": [
  12853. "application/json"
  12854. ],
  12855. "tags": [
  12856. "仓单贸易v2"
  12857. ],
  12858. "summary": "查询指定成交",
  12859. "parameters": [
  12860. {
  12861. "type": "integer",
  12862. "description": "页码",
  12863. "name": "page",
  12864. "in": "query"
  12865. },
  12866. {
  12867. "type": "integer",
  12868. "description": "每页条数",
  12869. "name": "pagesize",
  12870. "in": "query"
  12871. },
  12872. {
  12873. "type": "integer",
  12874. "description": "用户id",
  12875. "name": "userid",
  12876. "in": "query",
  12877. "required": true
  12878. },
  12879. {
  12880. "type": "integer",
  12881. "description": "仓单贸易市场id",
  12882. "name": "marketid",
  12883. "in": "query"
  12884. },
  12885. {
  12886. "type": "integer",
  12887. "description": "0:仓单预售 1:仓单贸易",
  12888. "name": "haswr",
  12889. "in": "query",
  12890. "required": true
  12891. },
  12892. {
  12893. "type": "integer",
  12894. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  12895. "name": "isspecified",
  12896. "in": "query"
  12897. }
  12898. ],
  12899. "responses": {
  12900. "200": {
  12901. "description": "OK",
  12902. "schema": {
  12903. "type": "array",
  12904. "items": {
  12905. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12906. }
  12907. }
  12908. },
  12909. "500": {
  12910. "description": "Internal Server Error",
  12911. "schema": {
  12912. "$ref": "#/definitions/app.Response"
  12913. }
  12914. }
  12915. }
  12916. }
  12917. },
  12918. "/WrTrade2/QueryWrStandardFactoryItem": {
  12919. "get": {
  12920. "security": [
  12921. {
  12922. "ApiKeyAuth": []
  12923. }
  12924. ],
  12925. "produces": [
  12926. "application/json"
  12927. ],
  12928. "tags": [
  12929. "仓单贸易v2"
  12930. ],
  12931. "summary": "查询品类要素定义项",
  12932. "parameters": [
  12933. {
  12934. "type": "integer",
  12935. "description": "品类id",
  12936. "name": "wrstandardid",
  12937. "in": "query",
  12938. "required": true
  12939. }
  12940. ],
  12941. "responses": {
  12942. "200": {
  12943. "description": "OK",
  12944. "schema": {
  12945. "type": "array",
  12946. "items": {
  12947. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12948. }
  12949. }
  12950. },
  12951. "500": {
  12952. "description": "Internal Server Error",
  12953. "schema": {
  12954. "$ref": "#/definitions/app.Response"
  12955. }
  12956. }
  12957. }
  12958. }
  12959. },
  12960. "/WrTrade2/QueryWrTradeBargainApply": {
  12961. "get": {
  12962. "security": [
  12963. {
  12964. "ApiKeyAuth": []
  12965. }
  12966. ],
  12967. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  12968. "produces": [
  12969. "application/json"
  12970. ],
  12971. "tags": [
  12972. "仓单贸易v2"
  12973. ],
  12974. "summary": "查询议价单",
  12975. "parameters": [
  12976. {
  12977. "type": "integer",
  12978. "description": "议价人id(摘牌方)",
  12979. "name": "userid",
  12980. "in": "query"
  12981. },
  12982. {
  12983. "type": "integer",
  12984. "description": "挂牌方id(查对方议价时,填写此项)",
  12985. "name": "matchuserid",
  12986. "in": "query"
  12987. },
  12988. {
  12989. "type": "integer",
  12990. "description": "关联委托单id",
  12991. "name": "wrtradeorderid",
  12992. "in": "query"
  12993. },
  12994. {
  12995. "type": "integer",
  12996. "description": "0:仓单预售 1:仓单贸易",
  12997. "name": "haswr",
  12998. "in": "query",
  12999. "required": true
  13000. },
  13001. {
  13002. "type": "string",
  13003. "description": "开始交易日(yyyymmdd)",
  13004. "name": "begindate",
  13005. "in": "query"
  13006. },
  13007. {
  13008. "type": "string",
  13009. "description": "结束交易日(yyyymmdd)",
  13010. "name": "enddate",
  13011. "in": "query"
  13012. }
  13013. ],
  13014. "responses": {
  13015. "200": {
  13016. "description": "OK",
  13017. "schema": {
  13018. "type": "array",
  13019. "items": {
  13020. "$ref": "#/definitions/models.WRTradeBargainApply"
  13021. }
  13022. }
  13023. },
  13024. "500": {
  13025. "description": "Internal Server Error",
  13026. "schema": {
  13027. "$ref": "#/definitions/app.Response"
  13028. }
  13029. }
  13030. }
  13031. }
  13032. },
  13033. "/WrTrade2/QueryWrTradeDetail": {
  13034. "get": {
  13035. "security": [
  13036. {
  13037. "ApiKeyAuth": []
  13038. }
  13039. ],
  13040. "produces": [
  13041. "application/json"
  13042. ],
  13043. "tags": [
  13044. "仓单贸易v2"
  13045. ],
  13046. "summary": "查询仓单成交明细",
  13047. "parameters": [
  13048. {
  13049. "type": "integer",
  13050. "description": "页码",
  13051. "name": "page",
  13052. "in": "query"
  13053. },
  13054. {
  13055. "type": "integer",
  13056. "description": "每页条数",
  13057. "name": "pagesize",
  13058. "in": "query"
  13059. },
  13060. {
  13061. "type": "integer",
  13062. "description": "用户id",
  13063. "name": "userid",
  13064. "in": "query",
  13065. "required": true
  13066. },
  13067. {
  13068. "type": "integer",
  13069. "description": "仓单贸易市场id",
  13070. "name": "marketid",
  13071. "in": "query"
  13072. },
  13073. {
  13074. "type": "integer",
  13075. "description": "0:仓单预售 1:仓单贸易",
  13076. "name": "haswr",
  13077. "in": "query",
  13078. "required": true
  13079. },
  13080. {
  13081. "type": "string",
  13082. "description": "开始交易日(yyyymmdd)",
  13083. "name": "begindate",
  13084. "in": "query"
  13085. },
  13086. {
  13087. "type": "string",
  13088. "description": "结束交易日(yyyymmdd)",
  13089. "name": "enddate",
  13090. "in": "query"
  13091. }
  13092. ],
  13093. "responses": {
  13094. "200": {
  13095. "description": "OK",
  13096. "schema": {
  13097. "type": "array",
  13098. "items": {
  13099. "$ref": "#/definitions/models.WrTradeDetail"
  13100. }
  13101. }
  13102. },
  13103. "500": {
  13104. "description": "Internal Server Error",
  13105. "schema": {
  13106. "$ref": "#/definitions/app.Response"
  13107. }
  13108. }
  13109. }
  13110. }
  13111. },
  13112. "/WrTrade2/QueryWrTradeOrderDetail": {
  13113. "get": {
  13114. "security": [
  13115. {
  13116. "ApiKeyAuth": []
  13117. }
  13118. ],
  13119. "produces": [
  13120. "application/json"
  13121. ],
  13122. "tags": [
  13123. "仓单贸易v2"
  13124. ],
  13125. "summary": "查询合约交易买卖大厅",
  13126. "parameters": [
  13127. {
  13128. "type": "integer",
  13129. "description": "页码",
  13130. "name": "page",
  13131. "in": "query"
  13132. },
  13133. {
  13134. "type": "integer",
  13135. "description": "每页条数",
  13136. "name": "pagesize",
  13137. "in": "query"
  13138. },
  13139. {
  13140. "type": "integer",
  13141. "description": "商品id",
  13142. "name": "goodsid",
  13143. "in": "query",
  13144. "required": true
  13145. },
  13146. {
  13147. "type": "integer",
  13148. "description": "买卖方向 0-买 1-卖",
  13149. "name": "buyorsell",
  13150. "in": "query",
  13151. "required": true
  13152. }
  13153. ],
  13154. "responses": {
  13155. "200": {
  13156. "description": "OK",
  13157. "schema": {
  13158. "type": "array",
  13159. "items": {
  13160. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13161. }
  13162. }
  13163. },
  13164. "500": {
  13165. "description": "Internal Server Error",
  13166. "schema": {
  13167. "$ref": "#/definitions/app.Response"
  13168. }
  13169. }
  13170. }
  13171. }
  13172. },
  13173. "/WrTrade2/QueryWrTradeQuote": {
  13174. "get": {
  13175. "security": [
  13176. {
  13177. "ApiKeyAuth": []
  13178. }
  13179. ],
  13180. "produces": [
  13181. "application/json"
  13182. ],
  13183. "tags": [
  13184. "仓单贸易v2"
  13185. ],
  13186. "summary": "查询仓单贸易成交行情",
  13187. "parameters": [
  13188. {
  13189. "type": "integer",
  13190. "description": "现货商品id",
  13191. "name": "wrstandardid",
  13192. "in": "query",
  13193. "required": true
  13194. },
  13195. {
  13196. "type": "string",
  13197. "description": "开始日期(yyyymmdd)",
  13198. "name": "begindate",
  13199. "in": "query",
  13200. "required": true
  13201. },
  13202. {
  13203. "type": "string",
  13204. "description": "结束日期(yyyymmdd)",
  13205. "name": "enddate",
  13206. "in": "query",
  13207. "required": true
  13208. },
  13209. {
  13210. "type": "integer",
  13211. "description": "市场id",
  13212. "name": "marketid",
  13213. "in": "query"
  13214. }
  13215. ],
  13216. "responses": {
  13217. "200": {
  13218. "description": "OK",
  13219. "schema": {
  13220. "type": "array",
  13221. "items": {
  13222. "$ref": "#/definitions/models.Wrtradetradequote"
  13223. }
  13224. }
  13225. },
  13226. "500": {
  13227. "description": "Internal Server Error",
  13228. "schema": {
  13229. "$ref": "#/definitions/app.Response"
  13230. }
  13231. }
  13232. }
  13233. }
  13234. },
  13235. "/WrTrade2/QueryWrUserFriend": {
  13236. "get": {
  13237. "security": [
  13238. {
  13239. "ApiKeyAuth": []
  13240. }
  13241. ],
  13242. "produces": [
  13243. "application/json"
  13244. ],
  13245. "tags": [
  13246. "仓单贸易v2"
  13247. ],
  13248. "summary": "查询我的朋友",
  13249. "parameters": [
  13250. {
  13251. "type": "integer",
  13252. "description": "用户id",
  13253. "name": "userid",
  13254. "in": "query",
  13255. "required": true
  13256. },
  13257. {
  13258. "type": "integer",
  13259. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13260. "name": "newuserid",
  13261. "in": "query"
  13262. }
  13263. ],
  13264. "responses": {
  13265. "200": {
  13266. "description": "OK",
  13267. "schema": {
  13268. "type": "array",
  13269. "items": {
  13270. "$ref": "#/definitions/models.WrUserFriend"
  13271. }
  13272. }
  13273. },
  13274. "500": {
  13275. "description": "Internal Server Error",
  13276. "schema": {
  13277. "$ref": "#/definitions/app.Response"
  13278. }
  13279. }
  13280. }
  13281. }
  13282. },
  13283. "/WrTrade2/QueryWrUserReceiptInfo": {
  13284. "get": {
  13285. "security": [
  13286. {
  13287. "ApiKeyAuth": []
  13288. }
  13289. ],
  13290. "produces": [
  13291. "application/json"
  13292. ],
  13293. "tags": [
  13294. "仓单贸易v2"
  13295. ],
  13296. "summary": "查询发票信息",
  13297. "parameters": [
  13298. {
  13299. "type": "integer",
  13300. "description": "用户id",
  13301. "name": "userid",
  13302. "in": "query"
  13303. },
  13304. {
  13305. "type": "integer",
  13306. "description": "发票类型 - 1:个人 2:企业",
  13307. "name": "receipttype",
  13308. "in": "query"
  13309. }
  13310. ],
  13311. "responses": {
  13312. "200": {
  13313. "description": "OK",
  13314. "schema": {
  13315. "type": "array",
  13316. "items": {
  13317. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13318. }
  13319. }
  13320. },
  13321. "500": {
  13322. "description": "Internal Server Error",
  13323. "schema": {
  13324. "$ref": "#/definitions/app.Response"
  13325. }
  13326. }
  13327. }
  13328. }
  13329. },
  13330. "/WrTrade2/QueryXhcpSellBackApply": {
  13331. "get": {
  13332. "security": [
  13333. {
  13334. "ApiKeyAuth": []
  13335. }
  13336. ],
  13337. "produces": [
  13338. "application/json"
  13339. ],
  13340. "tags": [
  13341. "仓单贸易v2"
  13342. ],
  13343. "summary": "查询我的回收申请(新会陈皮)",
  13344. "parameters": [
  13345. {
  13346. "type": "integer",
  13347. "description": "用户ID",
  13348. "name": "userid",
  13349. "in": "query",
  13350. "required": true
  13351. }
  13352. ],
  13353. "responses": {
  13354. "200": {
  13355. "description": "OK",
  13356. "schema": {
  13357. "type": "array",
  13358. "items": {
  13359. "$ref": "#/definitions/models.Xhcpsellbackapply"
  13360. }
  13361. }
  13362. },
  13363. "500": {
  13364. "description": "Internal Server Error",
  13365. "schema": {
  13366. "$ref": "#/definitions/app.Response"
  13367. }
  13368. }
  13369. }
  13370. }
  13371. },
  13372. "/ZJ/GetBankTip": {
  13373. "get": {
  13374. "produces": [
  13375. "application/json"
  13376. ],
  13377. "tags": [
  13378. "中江"
  13379. ],
  13380. "summary": "获取中江网银端出入金提示信息",
  13381. "responses": {
  13382. "200": {
  13383. "description": "OK",
  13384. "schema": {
  13385. "type": "string"
  13386. }
  13387. },
  13388. "500": {
  13389. "description": "Internal Server Error",
  13390. "schema": {
  13391. "$ref": "#/definitions/app.Response"
  13392. }
  13393. }
  13394. }
  13395. }
  13396. },
  13397. "/ZJ/GetCusBankChannels": {
  13398. "get": {
  13399. "produces": [
  13400. "application/json"
  13401. ],
  13402. "tags": [
  13403. "中江"
  13404. ],
  13405. "summary": "获取中江出入金渠道显示列表",
  13406. "responses": {
  13407. "200": {
  13408. "description": "OK",
  13409. "schema": {
  13410. "type": "array",
  13411. "items": {
  13412. "type": "string"
  13413. }
  13414. }
  13415. },
  13416. "500": {
  13417. "description": "Internal Server Error",
  13418. "schema": {
  13419. "$ref": "#/definitions/app.Response"
  13420. }
  13421. }
  13422. }
  13423. }
  13424. }
  13425. },
  13426. "definitions": {
  13427. "app.Response": {
  13428. "type": "object",
  13429. "properties": {
  13430. "code": {
  13431. "type": "integer"
  13432. },
  13433. "data": {},
  13434. "msg": {
  13435. "type": "string"
  13436. },
  13437. "page": {
  13438. "description": "页码",
  13439. "type": "integer"
  13440. },
  13441. "pagesize": {
  13442. "description": "每页条数",
  13443. "type": "integer"
  13444. },
  13445. "total": {
  13446. "description": "总条数",
  13447. "type": "integer"
  13448. }
  13449. }
  13450. },
  13451. "common.ClientMenu": {
  13452. "type": "object",
  13453. "properties": {
  13454. "children": {
  13455. "description": "子菜单列表",
  13456. "type": "array",
  13457. "items": {
  13458. "$ref": "#/definitions/common.ClientMenu"
  13459. }
  13460. },
  13461. "code": {
  13462. "description": "ID",
  13463. "type": "string"
  13464. },
  13465. "isshow": {
  13466. "description": "是否显示",
  13467. "type": "boolean"
  13468. },
  13469. "remark": {
  13470. "description": "备注",
  13471. "type": "string"
  13472. },
  13473. "rulekey": {
  13474. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13475. "type": "string"
  13476. },
  13477. "sort": {
  13478. "description": "排序",
  13479. "type": "integer"
  13480. },
  13481. "title": {
  13482. "description": "标题",
  13483. "type": "string"
  13484. },
  13485. "type": {
  13486. "description": "类型,1:菜单 2:按钮",
  13487. "type": "integer"
  13488. },
  13489. "url": {
  13490. "description": "URL",
  13491. "type": "string"
  13492. }
  13493. }
  13494. },
  13495. "common.PCWebMenu": {
  13496. "type": "object",
  13497. "properties": {
  13498. "auth": {
  13499. "description": "页面权限列表",
  13500. "type": "array",
  13501. "items": {
  13502. "$ref": "#/definitions/common.PCWebMenuAuth"
  13503. }
  13504. },
  13505. "children": {
  13506. "description": "子菜单列表",
  13507. "type": "array",
  13508. "items": {
  13509. "$ref": "#/definitions/common.PCWebMenu"
  13510. }
  13511. },
  13512. "code": {
  13513. "description": "ID,新版本中权限KEY也是这个字段",
  13514. "type": "string"
  13515. },
  13516. "component": {
  13517. "description": "路由组件",
  13518. "type": "string"
  13519. },
  13520. "isshow": {
  13521. "description": "是否显示",
  13522. "type": "boolean"
  13523. },
  13524. "path": {
  13525. "description": "路由路径",
  13526. "type": "string"
  13527. },
  13528. "remark": {
  13529. "description": "备注",
  13530. "type": "string"
  13531. },
  13532. "rulekey": {
  13533. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  13534. "type": "string"
  13535. },
  13536. "sort": {
  13537. "description": "排序",
  13538. "type": "integer"
  13539. },
  13540. "title": {
  13541. "description": "标题",
  13542. "type": "string"
  13543. },
  13544. "url": {
  13545. "description": "URL",
  13546. "type": "string"
  13547. }
  13548. }
  13549. },
  13550. "common.PCWebMenuAuth": {
  13551. "type": "object",
  13552. "properties": {
  13553. "code": {
  13554. "description": "ID,新版本中权限KEY也是这个字段",
  13555. "type": "string"
  13556. },
  13557. "isshow": {
  13558. "description": "是否显示",
  13559. "type": "boolean"
  13560. },
  13561. "label": {
  13562. "description": "标题",
  13563. "type": "string"
  13564. },
  13565. "remark": {
  13566. "description": "备注",
  13567. "type": "string"
  13568. },
  13569. "rulekey": {
  13570. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  13571. "type": "string"
  13572. }
  13573. }
  13574. },
  13575. "common.QueryImageConfigsRsp": {
  13576. "type": "object",
  13577. "required": [
  13578. "configid"
  13579. ],
  13580. "properties": {
  13581. "areauserid": {
  13582. "description": "所属机构ID",
  13583. "type": "integer"
  13584. },
  13585. "configid": {
  13586. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13587. "type": "integer"
  13588. },
  13589. "createdate": {
  13590. "description": "创建时间",
  13591. "type": "string"
  13592. },
  13593. "creatorid": {
  13594. "description": "创建人",
  13595. "type": "integer"
  13596. },
  13597. "imagedetailpath": {
  13598. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  13599. "type": "string"
  13600. },
  13601. "imagepath": {
  13602. "description": "图片",
  13603. "type": "string"
  13604. },
  13605. "imagetype": {
  13606. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13607. "type": "integer"
  13608. },
  13609. "isshow": {
  13610. "description": "是否展示 - 0:不展示 1:展示",
  13611. "type": "integer"
  13612. },
  13613. "marketid": {
  13614. "description": "市场ID",
  13615. "type": "integer"
  13616. },
  13617. "modifierid": {
  13618. "description": "操作人",
  13619. "type": "integer"
  13620. },
  13621. "sort": {
  13622. "description": "排序",
  13623. "type": "integer"
  13624. },
  13625. "title": {
  13626. "description": "标题",
  13627. "type": "string"
  13628. },
  13629. "trademode": {
  13630. "description": "交易模式",
  13631. "type": "integer"
  13632. },
  13633. "updatedate": {
  13634. "description": "修改时间",
  13635. "type": "string"
  13636. },
  13637. "url": {
  13638. "description": "链接(地址或商品ID)",
  13639. "type": "string"
  13640. },
  13641. "urltype": {
  13642. "description": "链接类型 - 1:直接地址 2:商品ID",
  13643. "type": "integer"
  13644. }
  13645. }
  13646. },
  13647. "common.QueryNoticeRsp": {
  13648. "type": "object",
  13649. "required": [
  13650. "autoid"
  13651. ],
  13652. "properties": {
  13653. "auditoruserid": {
  13654. "description": "审核人",
  13655. "type": "integer"
  13656. },
  13657. "auditremark": {
  13658. "description": "审核备注",
  13659. "type": "string"
  13660. },
  13661. "audittime": {
  13662. "description": "审核日期",
  13663. "type": "string"
  13664. },
  13665. "autoid": {
  13666. "description": "自增ID",
  13667. "type": "integer"
  13668. },
  13669. "content": {
  13670. "description": "内容",
  13671. "type": "string"
  13672. },
  13673. "createtime": {
  13674. "description": "创建时间",
  13675. "type": "string"
  13676. },
  13677. "creatorid": {
  13678. "description": "建仓人",
  13679. "type": "integer"
  13680. },
  13681. "endtime": {
  13682. "description": "结束时间",
  13683. "type": "string"
  13684. },
  13685. "istop": {
  13686. "description": "是否置顶 - 0:不置顶 1:置顶",
  13687. "type": "integer"
  13688. },
  13689. "msgiconurl": {
  13690. "description": "消息图标Url",
  13691. "type": "string"
  13692. },
  13693. "msgtype": {
  13694. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13695. "type": "integer"
  13696. },
  13697. "publisher": {
  13698. "description": "消息发布者",
  13699. "type": "string"
  13700. },
  13701. "readed": {
  13702. "description": "是否已读",
  13703. "type": "boolean"
  13704. },
  13705. "scheduletime": {
  13706. "description": "计划发送时间",
  13707. "type": "string"
  13708. },
  13709. "sendtype": {
  13710. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13711. "type": "integer"
  13712. },
  13713. "sentstatus": {
  13714. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13715. "type": "integer"
  13716. },
  13717. "title": {
  13718. "description": "标题",
  13719. "type": "string"
  13720. },
  13721. "userid": {
  13722. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13723. "type": "integer"
  13724. }
  13725. }
  13726. },
  13727. "common.QueryProvincesAndCitiesRsp": {
  13728. "type": "object",
  13729. "properties": {
  13730. "cities": {
  13731. "description": "市",
  13732. "type": "array",
  13733. "items": {
  13734. "$ref": "#/definitions/models.Division"
  13735. }
  13736. },
  13737. "province": {
  13738. "description": "省",
  13739. "$ref": "#/definitions/models.Division"
  13740. }
  13741. }
  13742. },
  13743. "common.QueryTableDefineRsp": {
  13744. "type": "object",
  13745. "required": [
  13746. "tablekey"
  13747. ],
  13748. "properties": {
  13749. "columns": {
  13750. "description": "列头信息数组",
  13751. "type": "array",
  13752. "items": {
  13753. "$ref": "#/definitions/models.Tablecolumnconfig"
  13754. }
  13755. },
  13756. "remark": {
  13757. "description": "Remark",
  13758. "type": "string"
  13759. },
  13760. "tabelmenu": {
  13761. "description": "列表菜单",
  13762. "type": "string"
  13763. },
  13764. "tablekey": {
  13765. "description": "列表Key",
  13766. "type": "string"
  13767. },
  13768. "tablename": {
  13769. "description": "列表名称",
  13770. "type": "string"
  13771. },
  13772. "tabletype": {
  13773. "description": "列表类型 - 1:管理端 2:终端",
  13774. "type": "integer"
  13775. }
  13776. }
  13777. },
  13778. "common.QueryTraderMenuRsp": {
  13779. "type": "object",
  13780. "properties": {
  13781. "OperationMenu": {
  13782. "description": "功能菜单",
  13783. "type": "array",
  13784. "items": {
  13785. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13786. }
  13787. },
  13788. "QuoteMenu": {
  13789. "description": "报价牌分类菜单",
  13790. "type": "array",
  13791. "items": {
  13792. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13793. }
  13794. }
  13795. }
  13796. },
  13797. "cptrade.Cptradepositioncancel": {
  13798. "type": "object",
  13799. "required": [
  13800. "cancelid"
  13801. ],
  13802. "properties": {
  13803. "accountid": {
  13804. "description": "申请人账户ID",
  13805. "type": "integer"
  13806. },
  13807. "applystatus": {
  13808. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13809. "type": "integer"
  13810. },
  13811. "applytime": {
  13812. "description": "申请时间",
  13813. "type": "string"
  13814. },
  13815. "cancelid": {
  13816. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13817. "type": "integer"
  13818. },
  13819. "cancelqty": {
  13820. "description": "注销数量",
  13821. "type": "integer"
  13822. },
  13823. "createtime": {
  13824. "description": "创建时间",
  13825. "type": "string"
  13826. },
  13827. "creatorid": {
  13828. "description": "创建人ID",
  13829. "type": "integer"
  13830. },
  13831. "creatorname": {
  13832. "description": "创建人",
  13833. "type": "string"
  13834. },
  13835. "goodscode": {
  13836. "description": "订单商品代码",
  13837. "type": "string"
  13838. },
  13839. "goodsid": {
  13840. "description": "商品ID",
  13841. "type": "integer"
  13842. },
  13843. "goodsname": {
  13844. "description": "订单商品名称",
  13845. "type": "string"
  13846. },
  13847. "goodunit": {
  13848. "description": "报价单位",
  13849. "type": "string"
  13850. },
  13851. "handlestatus": {
  13852. "description": "处理状态",
  13853. "type": "integer"
  13854. },
  13855. "marketid": {
  13856. "description": "市场ID",
  13857. "type": "integer"
  13858. },
  13859. "marketname": {
  13860. "description": "市场名称",
  13861. "type": "string"
  13862. },
  13863. "tradedate": {
  13864. "description": "交易日(yyyyMMdd)",
  13865. "type": "string"
  13866. },
  13867. "userid": {
  13868. "description": "申请人ID",
  13869. "type": "integer"
  13870. }
  13871. }
  13872. },
  13873. "cptrade.Cptradepresaleapply": {
  13874. "type": "object",
  13875. "required": [
  13876. "applyid"
  13877. ],
  13878. "properties": {
  13879. "accountid": {
  13880. "description": "申请人账户ID",
  13881. "type": "integer"
  13882. },
  13883. "applyid": {
  13884. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13885. "type": "integer"
  13886. },
  13887. "applyremark": {
  13888. "description": "申请备注",
  13889. "type": "string"
  13890. },
  13891. "applystatus": {
  13892. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13893. "type": "integer"
  13894. },
  13895. "applytime": {
  13896. "description": "申请时间",
  13897. "type": "string"
  13898. },
  13899. "attachmenturl": {
  13900. "description": "附件地址",
  13901. "type": "string"
  13902. },
  13903. "endtime": {
  13904. "description": "预售结束时间",
  13905. "type": "string"
  13906. },
  13907. "goodscode": {
  13908. "description": "商品代码",
  13909. "type": "string"
  13910. },
  13911. "goodsid": {
  13912. "description": "商品ID",
  13913. "type": "integer"
  13914. },
  13915. "goodsname": {
  13916. "description": "商品名称",
  13917. "type": "string"
  13918. },
  13919. "goodunit": {
  13920. "description": "报价单位",
  13921. "type": "string"
  13922. },
  13923. "handlestatus": {
  13924. "description": "处理状态",
  13925. "type": "integer"
  13926. },
  13927. "marketid": {
  13928. "description": "预售市场ID",
  13929. "type": "integer"
  13930. },
  13931. "marketname": {
  13932. "description": "预售市场名称",
  13933. "type": "string"
  13934. },
  13935. "presaleqty": {
  13936. "description": "预售数量",
  13937. "type": "integer"
  13938. },
  13939. "relatedgoodscode": {
  13940. "description": "关联交易合约代码",
  13941. "type": "string"
  13942. },
  13943. "relatedgoodsid": {
  13944. "description": "关联交易合约ID",
  13945. "type": "integer"
  13946. },
  13947. "relatedgoodsname": {
  13948. "description": "关联交易合约名称",
  13949. "type": "string"
  13950. },
  13951. "starttime": {
  13952. "description": "预售开始时间",
  13953. "type": "string"
  13954. },
  13955. "tradedate": {
  13956. "description": "交易日(yyyyMMdd)",
  13957. "type": "string"
  13958. },
  13959. "trademode": {
  13960. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13961. "type": "integer"
  13962. },
  13963. "userid": {
  13964. "description": "申请人ID",
  13965. "type": "integer"
  13966. }
  13967. }
  13968. },
  13969. "cptrade.Cptradeusergoodsdata": {
  13970. "type": "object",
  13971. "required": [
  13972. "accountid",
  13973. "goodsid"
  13974. ],
  13975. "properties": {
  13976. "EnabledQty": {
  13977. "description": "可用量",
  13978. "type": "integer"
  13979. },
  13980. "GoodsCode": {
  13981. "description": "订单商品代码",
  13982. "type": "string"
  13983. },
  13984. "GoodsName": {
  13985. "description": "订单商品名称",
  13986. "type": "string"
  13987. },
  13988. "WRStandardCode": {
  13989. "description": "仓单标准代码",
  13990. "type": "string"
  13991. },
  13992. "WRStandardName": {
  13993. "description": "仓单标准名称",
  13994. "type": "string"
  13995. },
  13996. "accountid": {
  13997. "description": "账户ID",
  13998. "type": "integer"
  13999. },
  14000. "cancelqty": {
  14001. "description": "注销量",
  14002. "type": "integer"
  14003. },
  14004. "curpresaleqty": {
  14005. "description": "当前预售量",
  14006. "type": "integer"
  14007. },
  14008. "deliveryqty": {
  14009. "description": "交割量",
  14010. "type": "integer"
  14011. },
  14012. "freezeamount": {
  14013. "description": "冻结金额",
  14014. "type": "number"
  14015. },
  14016. "goodsid": {
  14017. "description": "商品ID",
  14018. "type": "integer"
  14019. },
  14020. "goodunit": {
  14021. "description": "报价单位",
  14022. "type": "string"
  14023. },
  14024. "hasspotfreeze": {
  14025. "description": "是否有现货冻结 - 0:否 1:有",
  14026. "type": "integer"
  14027. },
  14028. "inqty": {
  14029. "description": "转入量(总数量)",
  14030. "type": "integer"
  14031. },
  14032. "marketid": {
  14033. "description": "市场ID",
  14034. "type": "integer"
  14035. },
  14036. "presaledamount": {
  14037. "description": "已预售总金额",
  14038. "type": "integer"
  14039. },
  14040. "presaledqty": {
  14041. "description": "已预售量",
  14042. "type": "integer"
  14043. },
  14044. "userid": {
  14045. "description": "用户ID",
  14046. "type": "integer"
  14047. },
  14048. "wrstandardid": {
  14049. "description": "仓单标准ID",
  14050. "type": "integer"
  14051. }
  14052. }
  14053. },
  14054. "cptrade.QueryCPTradeMyBidRsp": {
  14055. "type": "object",
  14056. "required": [
  14057. "accountid",
  14058. "goodsid",
  14059. "marketid",
  14060. "orderid",
  14061. "orderqty",
  14062. "ordertime",
  14063. "tradeprice",
  14064. "tradeqty"
  14065. ],
  14066. "properties": {
  14067. "accountid": {
  14068. "description": "账户ID[报价币种]",
  14069. "type": "integer"
  14070. },
  14071. "goodsid": {
  14072. "description": "商品ID",
  14073. "type": "integer"
  14074. },
  14075. "goodunit": {
  14076. "description": "报价单位",
  14077. "type": "string"
  14078. },
  14079. "marketid": {
  14080. "description": "市场ID",
  14081. "type": "integer"
  14082. },
  14083. "orderid": {
  14084. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14085. "type": "integer"
  14086. },
  14087. "orderprice": {
  14088. "description": "委托价格",
  14089. "type": "number"
  14090. },
  14091. "orderqty": {
  14092. "description": "委托数量",
  14093. "type": "integer"
  14094. },
  14095. "ordertime": {
  14096. "description": "委托时间",
  14097. "type": "string"
  14098. },
  14099. "ordertotalprice": {
  14100. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14101. "type": "number"
  14102. },
  14103. "ordertotalweight": {
  14104. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14105. "type": "integer"
  14106. },
  14107. "totaltotalprice": {
  14108. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14109. "type": "number"
  14110. },
  14111. "tradeprice": {
  14112. "description": "成交价格",
  14113. "type": "number"
  14114. },
  14115. "tradeqty": {
  14116. "description": "成交数量",
  14117. "type": "integer"
  14118. }
  14119. }
  14120. },
  14121. "cptrade.QueryCPTradeOrderDetailRsq": {
  14122. "type": "object",
  14123. "required": [
  14124. "accountid",
  14125. "buildtype",
  14126. "buyorsell",
  14127. "goodsid",
  14128. "marketid",
  14129. "memberuserid",
  14130. "operatetype",
  14131. "orderqty",
  14132. "ordertime",
  14133. "pricemode",
  14134. "strorderid",
  14135. "tradedate",
  14136. "validtype"
  14137. ],
  14138. "properties": {
  14139. "accountid": {
  14140. "description": "账户ID[报价币种]",
  14141. "type": "integer"
  14142. },
  14143. "buildtype": {
  14144. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14145. "type": "integer"
  14146. },
  14147. "buyorsell": {
  14148. "description": "买卖 - 0:买 1:卖",
  14149. "type": "integer"
  14150. },
  14151. "cancelorderid": {
  14152. "description": "撤单单号(撤单时填写)",
  14153. "type": "integer"
  14154. },
  14155. "cancelqty": {
  14156. "description": "撤单数量",
  14157. "type": "integer"
  14158. },
  14159. "clientordertime": {
  14160. "description": "客户端委托时间",
  14161. "type": "string"
  14162. },
  14163. "clientticket": {
  14164. "description": "客户端流水号",
  14165. "type": "string"
  14166. },
  14167. "clienttype": {
  14168. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14169. "type": "integer"
  14170. },
  14171. "closeexchagechargevalue": {
  14172. "description": "平仓交易所手续费设置值",
  14173. "type": "number"
  14174. },
  14175. "closefeealgorithm": {
  14176. "description": "平仓手续费收取方式 1:比率 2:固定",
  14177. "type": "integer"
  14178. },
  14179. "closefreezecharge": {
  14180. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14181. "type": "number"
  14182. },
  14183. "closememberchargevalue": {
  14184. "description": "平仓会员手续费设置值",
  14185. "type": "number"
  14186. },
  14187. "closeqty": {
  14188. "description": "平仓数量(先建后平操作 需要记录)",
  14189. "type": "integer"
  14190. },
  14191. "closetradeqty": {
  14192. "description": "平仓成交数量(先建后平操作,需要记录)",
  14193. "type": "integer"
  14194. },
  14195. "closeunfreezecharge": {
  14196. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14197. "type": "number"
  14198. },
  14199. "delistingtype": {
  14200. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14201. "type": "integer"
  14202. },
  14203. "freezecharge": {
  14204. "description": "冻结手续费",
  14205. "type": "number"
  14206. },
  14207. "freezemargin": {
  14208. "description": "冻结保证金(冻结交易金额)",
  14209. "type": "number"
  14210. },
  14211. "gcaccountid": {
  14212. "description": "账户ID[合约币种]",
  14213. "type": "integer"
  14214. },
  14215. "goodsid": {
  14216. "description": "商品ID",
  14217. "type": "integer"
  14218. },
  14219. "isconfirmexercise": {
  14220. "description": "是否确认行权- 0:否 1:是",
  14221. "type": "integer"
  14222. },
  14223. "ispreexercise": {
  14224. "description": "是否预申报- 0:否 1:是",
  14225. "type": "integer"
  14226. },
  14227. "listingselecttype": {
  14228. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14229. "type": "integer"
  14230. },
  14231. "marginalgorithm": {
  14232. "description": "保证金收取方式 1:比率 2:固定",
  14233. "type": "integer"
  14234. },
  14235. "marginvalue": {
  14236. "description": "即市保证金设置值",
  14237. "type": "number"
  14238. },
  14239. "marketid": {
  14240. "description": "市场ID",
  14241. "type": "integer"
  14242. },
  14243. "marketmaxsub": {
  14244. "description": "市价最大偏移范围",
  14245. "type": "number"
  14246. },
  14247. "memberuserid": {
  14248. "description": "所属会员UserID",
  14249. "type": "integer"
  14250. },
  14251. "openexchagechargevalue": {
  14252. "description": "建仓交易所手续费设置值",
  14253. "type": "number"
  14254. },
  14255. "openfeealgorithm": {
  14256. "description": "建仓手续费收取方式 1:比率 2:固定",
  14257. "type": "integer"
  14258. },
  14259. "openfreezecharge": {
  14260. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14261. "type": "number"
  14262. },
  14263. "openmemberchargevalue": {
  14264. "description": "建仓会员手续费设置值",
  14265. "type": "number"
  14266. },
  14267. "openqty": {
  14268. "description": "开仓数量(先建后平操作,需要记录)",
  14269. "type": "integer"
  14270. },
  14271. "opentradeqty": {
  14272. "description": "开仓成交数量(先建后平操作,需要记录)",
  14273. "type": "integer"
  14274. },
  14275. "openunfreezecharge": {
  14276. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14277. "type": "number"
  14278. },
  14279. "operatetype": {
  14280. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14281. "type": "integer"
  14282. },
  14283. "operatorid": {
  14284. "description": "登录账号(LoginID)",
  14285. "type": "integer"
  14286. },
  14287. "optiontype": {
  14288. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14289. "type": "integer"
  14290. },
  14291. "orderprice": {
  14292. "description": "委托价格",
  14293. "type": "number"
  14294. },
  14295. "orderqty": {
  14296. "description": "委托数量",
  14297. "type": "integer"
  14298. },
  14299. "ordersrc": {
  14300. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14301. "type": "integer"
  14302. },
  14303. "orderstatus": {
  14304. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14305. "type": "integer"
  14306. },
  14307. "ordertime": {
  14308. "description": "委托时间",
  14309. "type": "string"
  14310. },
  14311. "preexerciseprice": {
  14312. "description": "预申报价格",
  14313. "type": "number"
  14314. },
  14315. "premium": {
  14316. "description": "权利金",
  14317. "type": "number"
  14318. },
  14319. "preorderid": {
  14320. "description": "关联预埋单号(止盈止损单时填写)",
  14321. "type": "integer"
  14322. },
  14323. "pricemode": {
  14324. "description": "取价方式 - 1:市价 2: 限价",
  14325. "type": "integer"
  14326. },
  14327. "quoteid": {
  14328. "description": "报价单ID",
  14329. "type": "integer"
  14330. },
  14331. "relatedid": {
  14332. "description": "关联单号(交割单)",
  14333. "type": "integer"
  14334. },
  14335. "retcode": {
  14336. "description": "错误代码",
  14337. "type": "integer"
  14338. },
  14339. "sessionid": {
  14340. "description": "会话ID",
  14341. "type": "integer"
  14342. },
  14343. "strorderid": {
  14344. "description": "委托单号",
  14345. "type": "string"
  14346. },
  14347. "tradedate": {
  14348. "description": "交易日(yyyyMMdd)",
  14349. "type": "string"
  14350. },
  14351. "tradeproperty": {
  14352. "description": "交易属性",
  14353. "type": "integer"
  14354. },
  14355. "tradeqty": {
  14356. "description": "成交数量",
  14357. "type": "integer"
  14358. },
  14359. "unfreezecharge": {
  14360. "description": "解冻手续费",
  14361. "type": "number"
  14362. },
  14363. "unfreezemargin": {
  14364. "description": "解冻保证金",
  14365. "type": "number"
  14366. },
  14367. "updatetime": {
  14368. "description": "更新时间",
  14369. "type": "string"
  14370. },
  14371. "uuid": {
  14372. "description": "发起端唯一id",
  14373. "type": "string"
  14374. },
  14375. "validtime": {
  14376. "description": "有效期限",
  14377. "type": "string"
  14378. },
  14379. "validtype": {
  14380. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14381. "type": "integer"
  14382. },
  14383. "volumetype": {
  14384. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14385. "type": "integer"
  14386. }
  14387. }
  14388. },
  14389. "cptrade.QueryMyCPTradeGoodsRsp": {
  14390. "type": "object",
  14391. "required": [
  14392. "goodscode",
  14393. "goodsid",
  14394. "goodsname",
  14395. "marketid",
  14396. "relatedgoodscode",
  14397. "relatedgoodsname"
  14398. ],
  14399. "properties": {
  14400. "accountid": {
  14401. "description": "卖方账户ID",
  14402. "type": "integer"
  14403. },
  14404. "agreeunit": {
  14405. "description": "合约单位",
  14406. "type": "number"
  14407. },
  14408. "applyid": {
  14409. "description": "关联申请ID",
  14410. "type": "integer"
  14411. },
  14412. "attachmenturl": {
  14413. "description": "附件地址",
  14414. "type": "string"
  14415. },
  14416. "createtime": {
  14417. "description": "创建时间",
  14418. "type": "string"
  14419. },
  14420. "currencyid": {
  14421. "description": "报价货币ID",
  14422. "type": "integer"
  14423. },
  14424. "decimalplace": {
  14425. "description": "报价小数位",
  14426. "type": "integer"
  14427. },
  14428. "endtime": {
  14429. "description": "预售结束时间",
  14430. "type": "string"
  14431. },
  14432. "floorprice": {
  14433. "description": "底价[大宗式竞拍]",
  14434. "type": "number"
  14435. },
  14436. "goodscode": {
  14437. "description": "商品代码(预售)",
  14438. "type": "string"
  14439. },
  14440. "goodsdetail": {
  14441. "description": "详情[大宗]",
  14442. "type": "string"
  14443. },
  14444. "goodsid": {
  14445. "description": "商品ID(自增ID SEQ_GOODS)",
  14446. "type": "integer"
  14447. },
  14448. "goodsname": {
  14449. "description": "商品名称(预售)",
  14450. "type": "string"
  14451. },
  14452. "goodunit": {
  14453. "description": "报价单位",
  14454. "type": "string"
  14455. },
  14456. "goodunitid": {
  14457. "description": "报价单位ID",
  14458. "type": "integer"
  14459. },
  14460. "marketid": {
  14461. "description": "所属市场ID",
  14462. "type": "integer"
  14463. },
  14464. "marketname": {
  14465. "description": "预售市场名称",
  14466. "type": "string"
  14467. },
  14468. "presaledamount": {
  14469. "description": "已预售总金额(预售结束时更新)",
  14470. "type": "number"
  14471. },
  14472. "presaledqty": {
  14473. "description": "已预售量(预售结束时更新)",
  14474. "type": "integer"
  14475. },
  14476. "presalemode": {
  14477. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14478. "type": "integer"
  14479. },
  14480. "presaleqty": {
  14481. "description": "预售数量",
  14482. "type": "integer"
  14483. },
  14484. "refprice": {
  14485. "description": "参考价格[一口价]",
  14486. "type": "number"
  14487. },
  14488. "relatedgoodscode": {
  14489. "description": "商品代码(订单)",
  14490. "type": "string"
  14491. },
  14492. "relatedgoodsid": {
  14493. "description": "关联交易合约ID",
  14494. "type": "integer"
  14495. },
  14496. "relatedgoodsname": {
  14497. "description": "商品名称(订单)",
  14498. "type": "string"
  14499. },
  14500. "relatedmarketid": {
  14501. "description": "关联交易合约市场ID",
  14502. "type": "integer"
  14503. },
  14504. "sellstatus": {
  14505. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14506. "type": "integer"
  14507. },
  14508. "startprice": {
  14509. "description": "起拍价[大宗式竞拍]",
  14510. "type": "number"
  14511. },
  14512. "starttime": {
  14513. "description": "预售开始时间",
  14514. "type": "string"
  14515. },
  14516. "tradedate": {
  14517. "description": "交易日(yyyyMMdd)",
  14518. "type": "string"
  14519. },
  14520. "tradeprice": {
  14521. "description": "成交价[大宗]",
  14522. "type": "number"
  14523. },
  14524. "userid": {
  14525. "description": "卖方用户ID",
  14526. "type": "integer"
  14527. }
  14528. }
  14529. },
  14530. "cptrade.QueryPresaleGoodsExRsp": {
  14531. "type": "object",
  14532. "required": [
  14533. "goodsid"
  14534. ],
  14535. "properties": {
  14536. "attachmenturl": {
  14537. "description": "附件地址",
  14538. "type": "string"
  14539. },
  14540. "createtime": {
  14541. "description": "创建时间",
  14542. "type": "string"
  14543. },
  14544. "endtime": {
  14545. "description": "预售结束时间",
  14546. "type": "string"
  14547. },
  14548. "floorprice": {
  14549. "description": "底价[大宗式竞拍]",
  14550. "type": "number"
  14551. },
  14552. "goodsdetail": {
  14553. "description": "详情[大宗]",
  14554. "type": "string"
  14555. },
  14556. "goodsid": {
  14557. "description": "商品ID(预售)",
  14558. "type": "integer"
  14559. },
  14560. "goodunit": {
  14561. "description": "报价单位",
  14562. "type": "string"
  14563. },
  14564. "marketid": {
  14565. "description": "预售市场ID - 根据预售模式选择市场",
  14566. "type": "integer"
  14567. },
  14568. "presaledamount": {
  14569. "description": "已预售总金额(预售结束时更新)",
  14570. "type": "number"
  14571. },
  14572. "presaledqty": {
  14573. "description": "已预售量(预售结束时更新)",
  14574. "type": "integer"
  14575. },
  14576. "presalemode": {
  14577. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14578. "type": "integer"
  14579. },
  14580. "presaleqty": {
  14581. "description": "预售数量",
  14582. "type": "integer"
  14583. },
  14584. "refprice": {
  14585. "description": "参考价格[一口价]",
  14586. "type": "number"
  14587. },
  14588. "relatedgoodsid": {
  14589. "description": "关联交易合约ID",
  14590. "type": "integer"
  14591. },
  14592. "relatedmarketid": {
  14593. "description": "关联交易合约市场ID",
  14594. "type": "integer"
  14595. },
  14596. "sellstatus": {
  14597. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14598. "type": "integer"
  14599. },
  14600. "startprice": {
  14601. "description": "起拍价[大宗式竞拍]",
  14602. "type": "number"
  14603. },
  14604. "starttime": {
  14605. "description": "预售开始时间",
  14606. "type": "string"
  14607. },
  14608. "tradedate": {
  14609. "description": "交易日(yyyyMMdd)",
  14610. "type": "string"
  14611. },
  14612. "tradeprice": {
  14613. "description": "成交价[大宗]",
  14614. "type": "number"
  14615. }
  14616. }
  14617. },
  14618. "delivery.QueryDeliveryRelationRsp": {
  14619. "type": "object",
  14620. "required": [
  14621. "begindate",
  14622. "enddate",
  14623. "goodsid",
  14624. "mindeliveryqty",
  14625. "xdeliveryratio"
  14626. ],
  14627. "properties": {
  14628. "begindate": {
  14629. "description": "起始日期(yyyyMMdd)",
  14630. "type": "string"
  14631. },
  14632. "buytemplateid": {
  14633. "description": "买履约计划模板ID",
  14634. "type": "integer"
  14635. },
  14636. "deliverygoodscode": {
  14637. "description": "品种代码",
  14638. "type": "string"
  14639. },
  14640. "deliverygoodsid": {
  14641. "description": "交割商品",
  14642. "type": "integer"
  14643. },
  14644. "deliverygoodsname": {
  14645. "description": "品种名称",
  14646. "type": "string"
  14647. },
  14648. "deliverymode": {
  14649. "description": "交割方式 - 1:点选式 2:申报式",
  14650. "type": "integer"
  14651. },
  14652. "deliverypricerule": {
  14653. "description": "交割价规则- 1:行情价 2:建仓价",
  14654. "type": "integer"
  14655. },
  14656. "deliverytype": {
  14657. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14658. "type": "integer"
  14659. },
  14660. "enddate": {
  14661. "description": "结束日期(yyyyMMdd)",
  14662. "type": "string"
  14663. },
  14664. "enumdicname": {
  14665. "description": "品类单位名称",
  14666. "type": "string"
  14667. },
  14668. "goodscode": {
  14669. "description": "商品代码",
  14670. "type": "string"
  14671. },
  14672. "goodsid": {
  14673. "description": "交易合约ID",
  14674. "type": "integer"
  14675. },
  14676. "goodsname": {
  14677. "description": "商品名称",
  14678. "type": "string"
  14679. },
  14680. "marketid": {
  14681. "description": "市场ID",
  14682. "type": "integer"
  14683. },
  14684. "mindeliveryqty": {
  14685. "description": "最小交割系数(K)",
  14686. "type": "integer"
  14687. },
  14688. "p2deliveryprice": {
  14689. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14690. "type": "number"
  14691. },
  14692. "p2deliveryratio": {
  14693. "description": "P2合约系数(p)",
  14694. "type": "integer"
  14695. },
  14696. "p2goodsid": {
  14697. "description": "P2合约ID",
  14698. "type": "integer"
  14699. },
  14700. "p2pricemode": {
  14701. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14702. "type": "integer"
  14703. },
  14704. "pdeliveryprice": {
  14705. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14706. "type": "number"
  14707. },
  14708. "pdeliveryratio": {
  14709. "description": "P合约系数(n)",
  14710. "type": "integer"
  14711. },
  14712. "pgoodscode": {
  14713. "description": "p合约代码",
  14714. "type": "string"
  14715. },
  14716. "pgoodsid": {
  14717. "description": "P合约ID",
  14718. "type": "integer"
  14719. },
  14720. "ppricemode": {
  14721. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14722. "type": "integer"
  14723. },
  14724. "rratio": {
  14725. "description": "兑换系数(R)",
  14726. "type": "integer"
  14727. },
  14728. "rratio1": {
  14729. "description": "兑换系数(交易合约)(R1)",
  14730. "type": "integer"
  14731. },
  14732. "rratio2": {
  14733. "description": "兑换系数(仓单标准)(R2)",
  14734. "type": "integer"
  14735. },
  14736. "selltemplateid": {
  14737. "description": "卖履约计划模板ID",
  14738. "type": "integer"
  14739. },
  14740. "wrstandardid": {
  14741. "description": "仓单标准ID",
  14742. "type": "integer"
  14743. },
  14744. "xdeliveryratio": {
  14745. "description": "交易合约系数(m)",
  14746. "type": "integer"
  14747. }
  14748. }
  14749. },
  14750. "ermcp.ExposureDetailRsp": {
  14751. "type": "object",
  14752. "properties": {
  14753. "areauserid": {
  14754. "description": "机构ID",
  14755. "type": "integer"
  14756. },
  14757. "changeQty": {
  14758. "description": "套保变动量",
  14759. "type": "number"
  14760. },
  14761. "contracttype": {
  14762. "description": "现货合同类型 - 1:采购 -1:销售",
  14763. "type": "integer"
  14764. },
  14765. "convertfactor": {
  14766. "description": "标仓系数",
  14767. "type": "number"
  14768. },
  14769. "convertratio": {
  14770. "description": "套保系数",
  14771. "type": "number"
  14772. },
  14773. "createtime": {
  14774. "description": "时间",
  14775. "type": "string"
  14776. },
  14777. "enumdicname": {
  14778. "description": "现货商品单位名称",
  14779. "type": "string"
  14780. },
  14781. "logtype": {
  14782. "description": "类型 - 1:套保计划 2:现货合同",
  14783. "type": "integer"
  14784. },
  14785. "middlegoodsId": {
  14786. "description": "套保商品id",
  14787. "type": "integer"
  14788. },
  14789. "middlegoodscode": {
  14790. "description": "套保商品代码",
  14791. "type": "string"
  14792. },
  14793. "middlegoodsname": {
  14794. "description": "套保商品名称",
  14795. "type": "string"
  14796. },
  14797. "qty": {
  14798. "description": "数量",
  14799. "type": "number"
  14800. },
  14801. "relateNo": {
  14802. "description": "现货合同/套保计划编号",
  14803. "type": "string"
  14804. },
  14805. "wrstandardcode": {
  14806. "description": "现货商品代码",
  14807. "type": "string"
  14808. },
  14809. "wrstandardid": {
  14810. "description": "现货商品ID",
  14811. "type": "integer"
  14812. },
  14813. "wrstandardname": {
  14814. "description": "现货商品名称",
  14815. "type": "string"
  14816. }
  14817. }
  14818. },
  14819. "ermcp.ExposureHedgePosDetailRsp": {
  14820. "type": "object",
  14821. "properties": {
  14822. "buyorsell": {
  14823. "description": "买卖方向 0-买 1-卖",
  14824. "type": "integer"
  14825. },
  14826. "channelbuildtype": {
  14827. "description": "开平方向 1-建仓 2-平仓",
  14828. "type": "integer"
  14829. },
  14830. "goodscode": {
  14831. "description": "商品代码",
  14832. "type": "string"
  14833. },
  14834. "goodsname": {
  14835. "description": "商品名称",
  14836. "type": "string"
  14837. },
  14838. "hedgegoodsid": {
  14839. "description": "商品id",
  14840. "type": "integer"
  14841. },
  14842. "tradeqty": {
  14843. "description": "数量(成交数量)",
  14844. "type": "integer"
  14845. },
  14846. "tradetime": {
  14847. "description": "时间(成交时间)",
  14848. "type": "string"
  14849. }
  14850. }
  14851. },
  14852. "ermcp.ExposureHedgePositionRsp": {
  14853. "type": "object",
  14854. "properties": {
  14855. "accountid": {
  14856. "description": "资金账号[外部母账户]",
  14857. "type": "integer"
  14858. },
  14859. "curbuyposition": {
  14860. "description": "期末买头寸",
  14861. "type": "integer"
  14862. },
  14863. "cursellposition": {
  14864. "description": "期末卖头寸",
  14865. "type": "integer"
  14866. },
  14867. "curtdbuyposition": {
  14868. "description": "期末今日买头寸",
  14869. "type": "integer"
  14870. },
  14871. "curtdsellposition": {
  14872. "description": "期末今日卖头寸",
  14873. "type": "integer"
  14874. },
  14875. "curydbuyposition": {
  14876. "description": "期末上日买头寸",
  14877. "type": "integer"
  14878. },
  14879. "curydsellposition": {
  14880. "description": "期末上日卖头寸",
  14881. "type": "integer"
  14882. },
  14883. "decreaseqty": {
  14884. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14885. "type": "integer"
  14886. },
  14887. "fretdbuyposition": {
  14888. "description": "冻结今日买头寸",
  14889. "type": "integer"
  14890. },
  14891. "fretdsellposition": {
  14892. "description": "冻结今日卖头寸",
  14893. "type": "integer"
  14894. },
  14895. "freydbuyposition": {
  14896. "description": "冻结上日买头寸",
  14897. "type": "integer"
  14898. },
  14899. "freydsellposition": {
  14900. "description": "冻结上日卖头寸",
  14901. "type": "integer"
  14902. },
  14903. "goodscode": {
  14904. "description": "商品代码",
  14905. "type": "string"
  14906. },
  14907. "goodsid": {
  14908. "description": "商品id",
  14909. "type": "integer"
  14910. },
  14911. "goodsname": {
  14912. "description": "商品名称",
  14913. "type": "string"
  14914. },
  14915. "hedgeaccountcode": {
  14916. "description": "对冲账号",
  14917. "type": "string"
  14918. },
  14919. "hedgegoodsid": {
  14920. "description": "对冲合约ID",
  14921. "type": "integer"
  14922. },
  14923. "increaseqty": {
  14924. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14925. "type": "integer"
  14926. },
  14927. "marketid": {
  14928. "description": "市场ID",
  14929. "type": "integer"
  14930. },
  14931. "relateduserid": {
  14932. "description": "关联用户id",
  14933. "type": "integer"
  14934. },
  14935. "totalcurqty": {
  14936. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14937. "type": "integer"
  14938. },
  14939. "totalydqty": {
  14940. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14941. "type": "integer"
  14942. },
  14943. "tradedate": {
  14944. "description": "交易日(yyyyMMdd)",
  14945. "type": "string"
  14946. },
  14947. "ydbuyposition": {
  14948. "description": "期初买头寸",
  14949. "type": "integer"
  14950. },
  14951. "ydsellposition": {
  14952. "description": "期初卖头寸",
  14953. "type": "integer"
  14954. }
  14955. }
  14956. },
  14957. "ermcp.ExposureSpotDetailRsp": {
  14958. "type": "object",
  14959. "properties": {
  14960. "contracttype": {
  14961. "description": "合同类型 1-采购 -1-销售",
  14962. "type": "integer"
  14963. },
  14964. "createtime": {
  14965. "description": "创建时间",
  14966. "type": "string"
  14967. },
  14968. "enumdicname": {
  14969. "description": "现货商品单位名称",
  14970. "type": "string"
  14971. },
  14972. "logtype": {
  14973. "description": "记录类型 1-套保 2-现货合同",
  14974. "type": "integer"
  14975. },
  14976. "qty": {
  14977. "description": "数量",
  14978. "type": "number"
  14979. },
  14980. "recordname": {
  14981. "description": "类型名称",
  14982. "type": "string"
  14983. },
  14984. "relatedid": {
  14985. "description": "套保计划ID/现货合同ID",
  14986. "type": "string"
  14987. },
  14988. "relatedno": {
  14989. "description": "编号",
  14990. "type": "string"
  14991. },
  14992. "strtime": {
  14993. "description": "时间",
  14994. "type": "string"
  14995. },
  14996. "wrstandardcode": {
  14997. "description": "现货商品代码",
  14998. "type": "string"
  14999. },
  15000. "wrstandardname": {
  15001. "description": "现货商品名称",
  15002. "type": "string"
  15003. }
  15004. }
  15005. },
  15006. "ermcp.ExposureSpotRsp": {
  15007. "type": "object",
  15008. "properties": {
  15009. "areauserid": {
  15010. "description": "所属机构",
  15011. "type": "integer"
  15012. },
  15013. "decreaseqty": {
  15014. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15015. "type": "number"
  15016. },
  15017. "increaseqty": {
  15018. "description": "增加数量=销售计划数量+采购已定价数量",
  15019. "type": "number"
  15020. },
  15021. "oritoalspotqty": {
  15022. "description": "昨日数量",
  15023. "type": "number"
  15024. },
  15025. "totalspotqty": {
  15026. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15027. "type": "number"
  15028. },
  15029. "updatetime": {
  15030. "description": "更新时间",
  15031. "type": "string"
  15032. },
  15033. "wrstandardcode": {
  15034. "description": "现货品种代码",
  15035. "type": "string"
  15036. },
  15037. "wrstandardid": {
  15038. "description": "现货商品ID",
  15039. "type": "integer"
  15040. },
  15041. "wrstandardname": {
  15042. "description": "现货品种",
  15043. "type": "string"
  15044. }
  15045. }
  15046. },
  15047. "ermcp.HisExposureRsp": {
  15048. "type": "object",
  15049. "properties": {
  15050. "data": {
  15051. "description": "历史敞口",
  15052. "type": "array",
  15053. "items": {
  15054. "$ref": "#/definitions/models.ErmcpHisExposure"
  15055. }
  15056. },
  15057. "enumdicname": {
  15058. "description": "单位名称",
  15059. "type": "string"
  15060. },
  15061. "middlegoodscode": {
  15062. "description": "套保品种代码",
  15063. "type": "string"
  15064. },
  15065. "middlegoodsid": {
  15066. "description": "套保品种ID",
  15067. "type": "integer"
  15068. },
  15069. "middlegoodsname": {
  15070. "description": "套保品种名称",
  15071. "type": "string"
  15072. }
  15073. }
  15074. },
  15075. "ermcp.PendingAuditCntRsp": {
  15076. "type": "object",
  15077. "properties": {
  15078. "areastockqty": {
  15079. "description": "待审核数量: 库存申请",
  15080. "type": "integer"
  15081. },
  15082. "businessdjqty": {
  15083. "description": "待审核数量: 点价",
  15084. "type": "integer"
  15085. },
  15086. "businessfpqty": {
  15087. "description": "待审核数量: 发票",
  15088. "type": "integer"
  15089. },
  15090. "businessjsqty": {
  15091. "description": "待审核数量: 结算",
  15092. "type": "integer"
  15093. },
  15094. "businesskxqty": {
  15095. "description": "待审核数量: 款项",
  15096. "type": "integer"
  15097. },
  15098. "hedgeplanqty": {
  15099. "description": "待审核数量: 套保计划",
  15100. "type": "integer"
  15101. },
  15102. "spotcontractqty": {
  15103. "description": "待审核数量: 现货合同",
  15104. "type": "integer"
  15105. },
  15106. "userqty": {
  15107. "description": "待审核数量: 用户",
  15108. "type": "integer"
  15109. }
  15110. }
  15111. },
  15112. "ermcp.QryAvalidGPRsp": {
  15113. "type": "object",
  15114. "properties": {
  15115. "goodsgroupid": {
  15116. "description": "期货品种id",
  15117. "type": "integer"
  15118. },
  15119. "goodsgroupname": {
  15120. "description": "期货品种名称",
  15121. "type": "string"
  15122. },
  15123. "goodunitid": {
  15124. "description": "品种单位id",
  15125. "type": "integer"
  15126. },
  15127. "goodunitname": {
  15128. "description": "品种单位名称",
  15129. "type": "string"
  15130. },
  15131. "outergroupcode": {
  15132. "description": "期货品种代码",
  15133. "type": "string"
  15134. }
  15135. }
  15136. },
  15137. "ermcp.QryBusinessDjRsp": {
  15138. "type": "object",
  15139. "properties": {
  15140. "amount": {
  15141. "description": "期初均价",
  15142. "type": "number"
  15143. },
  15144. "applyid": {
  15145. "description": "申请人",
  15146. "type": "string"
  15147. },
  15148. "applyname": {
  15149. "description": "申请人名称",
  15150. "type": "string"
  15151. },
  15152. "applystatus": {
  15153. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15154. "type": "integer"
  15155. },
  15156. "applytime": {
  15157. "description": "申请时间",
  15158. "type": "string"
  15159. },
  15160. "attachurl": {
  15161. "description": "附件",
  15162. "type": "string"
  15163. },
  15164. "auditid": {
  15165. "description": "审核人ID",
  15166. "type": "string"
  15167. },
  15168. "auditname": {
  15169. "description": "审核人名称",
  15170. "type": "string"
  15171. },
  15172. "auditremark": {
  15173. "description": "审核备注",
  15174. "type": "string"
  15175. },
  15176. "audittime": {
  15177. "description": "审核时间",
  15178. "type": "string"
  15179. },
  15180. "buyusername": {
  15181. "description": "采购方名称",
  15182. "type": "string"
  15183. },
  15184. "contractno": {
  15185. "description": "合同编号",
  15186. "type": "string"
  15187. },
  15188. "contractstatus": {
  15189. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15190. "type": "integer"
  15191. },
  15192. "contracttype": {
  15193. "description": "现货合同类型 - 1:采购 -1:销售",
  15194. "type": "integer"
  15195. },
  15196. "deliverygoodscode": {
  15197. "description": "现货品种代码",
  15198. "type": "string"
  15199. },
  15200. "deliverygoodsid": {
  15201. "description": "现货商品ID",
  15202. "type": "integer"
  15203. },
  15204. "deliverygoodsname": {
  15205. "description": "现货品种名称",
  15206. "type": "string"
  15207. },
  15208. "enumdicname": {
  15209. "description": "单位名称",
  15210. "type": "string"
  15211. },
  15212. "goodscode": {
  15213. "description": "点价合约",
  15214. "type": "string"
  15215. },
  15216. "goodsname": {
  15217. "description": "商品名称",
  15218. "type": "string"
  15219. },
  15220. "operateapplyid": {
  15221. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15222. "type": "string"
  15223. },
  15224. "operateapplytype": {
  15225. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15226. "type": "integer"
  15227. },
  15228. "pricedPrice": {
  15229. "description": "点价价格(非必填)",
  15230. "type": "number"
  15231. },
  15232. "pricedQty": {
  15233. "description": "点价数量(非必填)",
  15234. "type": "number"
  15235. },
  15236. "pricemove": {
  15237. "description": "升贴水",
  15238. "type": "number"
  15239. },
  15240. "pricetype": {
  15241. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15242. "type": "integer"
  15243. },
  15244. "relatedid": {
  15245. "description": "现货合同ID",
  15246. "type": "string"
  15247. },
  15248. "sellusername": {
  15249. "description": "销售方名字",
  15250. "type": "string"
  15251. },
  15252. "userid": {
  15253. "description": "用户ID",
  15254. "type": "integer"
  15255. },
  15256. "wrstandardcode": {
  15257. "description": "品类代码",
  15258. "type": "string"
  15259. },
  15260. "wrstandardid": {
  15261. "description": "品类id",
  15262. "type": "integer"
  15263. },
  15264. "wrstandardname": {
  15265. "description": "品类名称",
  15266. "type": "string"
  15267. }
  15268. }
  15269. },
  15270. "ermcp.QryBussinessFpRsp": {
  15271. "type": "object",
  15272. "properties": {
  15273. "applyid": {
  15274. "description": "申请人",
  15275. "type": "string"
  15276. },
  15277. "applyname": {
  15278. "description": "申请人名称",
  15279. "type": "string"
  15280. },
  15281. "applystatus": {
  15282. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15283. "type": "integer"
  15284. },
  15285. "applytime": {
  15286. "description": "申请时间",
  15287. "type": "string"
  15288. },
  15289. "attachurl": {
  15290. "description": "附件",
  15291. "type": "string"
  15292. },
  15293. "auditid": {
  15294. "description": "审核人ID",
  15295. "type": "string"
  15296. },
  15297. "auditname": {
  15298. "description": "审核人名称",
  15299. "type": "string"
  15300. },
  15301. "auditremark": {
  15302. "description": "审核备注",
  15303. "type": "string"
  15304. },
  15305. "audittime": {
  15306. "description": "审核时间",
  15307. "type": "string"
  15308. },
  15309. "buyusername": {
  15310. "description": "采购方名称",
  15311. "type": "string"
  15312. },
  15313. "contractno": {
  15314. "description": "合同编号",
  15315. "type": "string"
  15316. },
  15317. "contractstatus": {
  15318. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15319. "type": "integer"
  15320. },
  15321. "contracttype": {
  15322. "description": "现货合同类型 - 1:采购 -1:销售",
  15323. "type": "integer"
  15324. },
  15325. "deliverygoodscode": {
  15326. "description": "现货品种代码",
  15327. "type": "string"
  15328. },
  15329. "deliverygoodsid": {
  15330. "description": "现货商品ID",
  15331. "type": "integer"
  15332. },
  15333. "deliverygoodsname": {
  15334. "description": "现货品种名称",
  15335. "type": "string"
  15336. },
  15337. "enumdicname": {
  15338. "description": "单位名称",
  15339. "type": "string"
  15340. },
  15341. "goodscode": {
  15342. "description": "点价合约",
  15343. "type": "string"
  15344. },
  15345. "goodsname": {
  15346. "description": "商品名称",
  15347. "type": "string"
  15348. },
  15349. "invoiceamount": {
  15350. "description": "已开收票金额(销售为开票,采购为收票)",
  15351. "type": "number"
  15352. },
  15353. "operateapplyid": {
  15354. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15355. "type": "string"
  15356. },
  15357. "operateapplytype": {
  15358. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15359. "type": "integer"
  15360. },
  15361. "pricemove": {
  15362. "description": "升贴水",
  15363. "type": "number"
  15364. },
  15365. "pricetype": {
  15366. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15367. "type": "integer"
  15368. },
  15369. "relatedid": {
  15370. "description": "现货合同ID",
  15371. "type": "string"
  15372. },
  15373. "sellusername": {
  15374. "description": "销售方名字",
  15375. "type": "string"
  15376. },
  15377. "userid": {
  15378. "description": "用户ID",
  15379. "type": "integer"
  15380. },
  15381. "wrstandardcode": {
  15382. "description": "品类代码",
  15383. "type": "string"
  15384. },
  15385. "wrstandardid": {
  15386. "description": "品类id",
  15387. "type": "integer"
  15388. },
  15389. "wrstandardname": {
  15390. "description": "品类名称",
  15391. "type": "string"
  15392. }
  15393. }
  15394. },
  15395. "ermcp.QryBussinessJsExRsp": {
  15396. "type": "object",
  15397. "properties": {
  15398. "applyid": {
  15399. "description": "申请人",
  15400. "type": "string"
  15401. },
  15402. "applyname": {
  15403. "description": "申请人名称",
  15404. "type": "string"
  15405. },
  15406. "applystatus": {
  15407. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15408. "type": "integer"
  15409. },
  15410. "applytime": {
  15411. "description": "申请时间",
  15412. "type": "string"
  15413. },
  15414. "attachurl": {
  15415. "description": "附件",
  15416. "type": "string"
  15417. },
  15418. "auditid": {
  15419. "description": "审核人ID",
  15420. "type": "string"
  15421. },
  15422. "auditname": {
  15423. "description": "审核人名称",
  15424. "type": "string"
  15425. },
  15426. "auditremark": {
  15427. "description": "审核备注",
  15428. "type": "string"
  15429. },
  15430. "audittime": {
  15431. "description": "审核时间",
  15432. "type": "string"
  15433. },
  15434. "buyusername": {
  15435. "description": "采购方名称",
  15436. "type": "string"
  15437. },
  15438. "contractno": {
  15439. "description": "合同编号",
  15440. "type": "string"
  15441. },
  15442. "contractstatus": {
  15443. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15444. "type": "integer"
  15445. },
  15446. "contracttype": {
  15447. "description": "现货合同类型 - 1:采购 -1:销售",
  15448. "type": "integer"
  15449. },
  15450. "deliverygoodscode": {
  15451. "description": "现货品种代码",
  15452. "type": "string"
  15453. },
  15454. "deliverygoodsid": {
  15455. "description": "现货商品ID",
  15456. "type": "integer"
  15457. },
  15458. "deliverygoodsname": {
  15459. "description": "现货品种名称",
  15460. "type": "string"
  15461. },
  15462. "enumdicname": {
  15463. "description": "单位名称",
  15464. "type": "string"
  15465. },
  15466. "goodscode": {
  15467. "description": "点价合约",
  15468. "type": "string"
  15469. },
  15470. "goodsname": {
  15471. "description": "商品名称",
  15472. "type": "string"
  15473. },
  15474. "operateapplyid": {
  15475. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15476. "type": "string"
  15477. },
  15478. "operateapplytype": {
  15479. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15480. "type": "integer"
  15481. },
  15482. "pricemove": {
  15483. "description": "升贴水",
  15484. "type": "number"
  15485. },
  15486. "pricetype": {
  15487. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15488. "type": "integer"
  15489. },
  15490. "reckontype": {
  15491. "description": "结算类型",
  15492. "type": "string"
  15493. },
  15494. "reckonvalue": {
  15495. "description": "值",
  15496. "type": "number"
  15497. },
  15498. "relatedid": {
  15499. "description": "现货合同ID",
  15500. "type": "string"
  15501. },
  15502. "sellusername": {
  15503. "description": "销售方名字",
  15504. "type": "string"
  15505. },
  15506. "userid": {
  15507. "description": "用户ID",
  15508. "type": "integer"
  15509. },
  15510. "wrstandardcode": {
  15511. "description": "品类代码",
  15512. "type": "string"
  15513. },
  15514. "wrstandardid": {
  15515. "description": "品类id",
  15516. "type": "integer"
  15517. },
  15518. "wrstandardname": {
  15519. "description": "品类名称",
  15520. "type": "string"
  15521. }
  15522. }
  15523. },
  15524. "ermcp.QryBussinessJsRsp": {
  15525. "type": "object",
  15526. "properties": {
  15527. "addmargin": {
  15528. "description": "追加保证金(非必填)",
  15529. "type": "number"
  15530. },
  15531. "applyid": {
  15532. "description": "申请人",
  15533. "type": "string"
  15534. },
  15535. "applyname": {
  15536. "description": "申请人名称",
  15537. "type": "string"
  15538. },
  15539. "applystatus": {
  15540. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15541. "type": "integer"
  15542. },
  15543. "applytime": {
  15544. "description": "申请时间",
  15545. "type": "string"
  15546. },
  15547. "attachurl": {
  15548. "description": "附件",
  15549. "type": "string"
  15550. },
  15551. "auditid": {
  15552. "description": "审核人ID",
  15553. "type": "string"
  15554. },
  15555. "auditname": {
  15556. "description": "审核人名称",
  15557. "type": "string"
  15558. },
  15559. "auditremark": {
  15560. "description": "审核备注",
  15561. "type": "string"
  15562. },
  15563. "audittime": {
  15564. "description": "审核时间",
  15565. "type": "string"
  15566. },
  15567. "buyusername": {
  15568. "description": "采购方名称",
  15569. "type": "string"
  15570. },
  15571. "contractno": {
  15572. "description": "合同编号",
  15573. "type": "string"
  15574. },
  15575. "contractstatus": {
  15576. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15577. "type": "integer"
  15578. },
  15579. "contracttype": {
  15580. "description": "现货合同类型 - 1:采购 -1:销售",
  15581. "type": "integer"
  15582. },
  15583. "decmargin": {
  15584. "description": "减少保证金(非必填)",
  15585. "type": "number"
  15586. },
  15587. "deliverygoodscode": {
  15588. "description": "现货品种代码",
  15589. "type": "string"
  15590. },
  15591. "deliverygoodsid": {
  15592. "description": "现货商品ID",
  15593. "type": "integer"
  15594. },
  15595. "deliverygoodsname": {
  15596. "description": "现货品种名称",
  15597. "type": "string"
  15598. },
  15599. "enumdicname": {
  15600. "description": "单位名称",
  15601. "type": "string"
  15602. },
  15603. "goodscode": {
  15604. "description": "点价合约",
  15605. "type": "string"
  15606. },
  15607. "goodsname": {
  15608. "description": "商品名称",
  15609. "type": "string"
  15610. },
  15611. "operateapplyid": {
  15612. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15613. "type": "string"
  15614. },
  15615. "operateapplytype": {
  15616. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15617. "type": "integer"
  15618. },
  15619. "pricemove": {
  15620. "description": "升贴水",
  15621. "type": "number"
  15622. },
  15623. "pricetype": {
  15624. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15625. "type": "integer"
  15626. },
  15627. "reckonadjustamount": {
  15628. "description": "结算调整金额(非必填)",
  15629. "type": "number"
  15630. },
  15631. "reckonosamount": {
  15632. "description": "结算溢短金额(非必填)",
  15633. "type": "number"
  15634. },
  15635. "reckonotheramount": {
  15636. "description": "结算其他费用(非必填)",
  15637. "type": "number"
  15638. },
  15639. "reckonrealqty": {
  15640. "description": "结算实际数量(非必填)",
  15641. "type": "number"
  15642. },
  15643. "relatedid": {
  15644. "description": "现货合同ID",
  15645. "type": "string"
  15646. },
  15647. "sellusername": {
  15648. "description": "销售方名字",
  15649. "type": "string"
  15650. },
  15651. "userid": {
  15652. "description": "用户ID",
  15653. "type": "integer"
  15654. },
  15655. "wrstandardcode": {
  15656. "description": "品类代码",
  15657. "type": "string"
  15658. },
  15659. "wrstandardid": {
  15660. "description": "品类id",
  15661. "type": "integer"
  15662. },
  15663. "wrstandardname": {
  15664. "description": "品类名称",
  15665. "type": "string"
  15666. }
  15667. }
  15668. },
  15669. "ermcp.QryBussinessKxRsp": {
  15670. "type": "object",
  15671. "properties": {
  15672. "applyid": {
  15673. "description": "申请人",
  15674. "type": "string"
  15675. },
  15676. "applyname": {
  15677. "description": "申请人名称",
  15678. "type": "string"
  15679. },
  15680. "applystatus": {
  15681. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15682. "type": "integer"
  15683. },
  15684. "applytime": {
  15685. "description": "申请时间",
  15686. "type": "string"
  15687. },
  15688. "attachurl": {
  15689. "description": "附件",
  15690. "type": "string"
  15691. },
  15692. "auditid": {
  15693. "description": "审核人ID",
  15694. "type": "string"
  15695. },
  15696. "auditname": {
  15697. "description": "审核人名称",
  15698. "type": "string"
  15699. },
  15700. "auditremark": {
  15701. "description": "审核备注",
  15702. "type": "string"
  15703. },
  15704. "audittime": {
  15705. "description": "审核时间",
  15706. "type": "string"
  15707. },
  15708. "buyusername": {
  15709. "description": "采购方名称",
  15710. "type": "string"
  15711. },
  15712. "contractno": {
  15713. "description": "合同编号",
  15714. "type": "string"
  15715. },
  15716. "contractstatus": {
  15717. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15718. "type": "integer"
  15719. },
  15720. "contracttype": {
  15721. "description": "现货合同类型 - 1:采购 -1:销售",
  15722. "type": "integer"
  15723. },
  15724. "deductamount": {
  15725. "description": "期初均价",
  15726. "type": "number"
  15727. },
  15728. "deliverygoodscode": {
  15729. "description": "现货品种代码",
  15730. "type": "string"
  15731. },
  15732. "deliverygoodsid": {
  15733. "description": "现货商品ID",
  15734. "type": "integer"
  15735. },
  15736. "deliverygoodsname": {
  15737. "description": "现货品种名称",
  15738. "type": "string"
  15739. },
  15740. "enumdicname": {
  15741. "description": "单位名称",
  15742. "type": "string"
  15743. },
  15744. "goodscode": {
  15745. "description": "点价合约",
  15746. "type": "string"
  15747. },
  15748. "goodsname": {
  15749. "description": "商品名称",
  15750. "type": "string"
  15751. },
  15752. "kxtype": {
  15753. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15754. "type": "integer"
  15755. },
  15756. "operateapplyid": {
  15757. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15758. "type": "string"
  15759. },
  15760. "operateapplytype": {
  15761. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15762. "type": "integer"
  15763. },
  15764. "payamount": {
  15765. "description": "期初均价",
  15766. "type": "number"
  15767. },
  15768. "pricemove": {
  15769. "description": "升贴水",
  15770. "type": "number"
  15771. },
  15772. "pricetype": {
  15773. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15774. "type": "integer"
  15775. },
  15776. "relatedid": {
  15777. "description": "现货合同ID",
  15778. "type": "string"
  15779. },
  15780. "sellusername": {
  15781. "description": "销售方名字",
  15782. "type": "string"
  15783. },
  15784. "userid": {
  15785. "description": "用户ID",
  15786. "type": "integer"
  15787. },
  15788. "wrstandardcode": {
  15789. "description": "品类代码",
  15790. "type": "string"
  15791. },
  15792. "wrstandardid": {
  15793. "description": "品类id",
  15794. "type": "integer"
  15795. },
  15796. "wrstandardname": {
  15797. "description": "品类名称",
  15798. "type": "string"
  15799. }
  15800. }
  15801. },
  15802. "ermcp.QryGGCovertCfgRsp": {
  15803. "type": "object",
  15804. "properties": {
  15805. "convertratio": {
  15806. "description": "折算系数",
  15807. "type": "number"
  15808. },
  15809. "destgoodsgroupid": {
  15810. "description": "目标品种ID",
  15811. "type": "integer"
  15812. },
  15813. "dstcode": {
  15814. "description": "目录品种代码",
  15815. "type": "string"
  15816. },
  15817. "dstexchangecode": {
  15818. "description": "目标期货交易所",
  15819. "type": "string"
  15820. },
  15821. "dstname": {
  15822. "description": "目标品种名称",
  15823. "type": "string"
  15824. },
  15825. "dstunitid": {
  15826. "description": "目标品种单位ID",
  15827. "type": "integer"
  15828. },
  15829. "dstunitidname": {
  15830. "description": "目标品种单位名称",
  15831. "type": "string"
  15832. },
  15833. "modifytime": {
  15834. "description": "修改时间",
  15835. "type": "string"
  15836. },
  15837. "srccode": {
  15838. "description": "源品种代码",
  15839. "type": "string"
  15840. },
  15841. "srcexchangecode": {
  15842. "description": "源期货交易所",
  15843. "type": "string"
  15844. },
  15845. "srcgoodsgroupid": {
  15846. "description": "源品种ID",
  15847. "type": "integer"
  15848. },
  15849. "srcname": {
  15850. "description": "源品种名称",
  15851. "type": "string"
  15852. },
  15853. "srcunitid": {
  15854. "description": "源品种单位ID",
  15855. "type": "integer"
  15856. },
  15857. "srcunitidname": {
  15858. "description": "源品种单位名称",
  15859. "type": "string"
  15860. }
  15861. }
  15862. },
  15863. "ermcp.QryMGChangeLogRsp": {
  15864. "type": "object",
  15865. "properties": {
  15866. "aftervalue": {
  15867. "description": "变更后",
  15868. "type": "number"
  15869. },
  15870. "applyid": {
  15871. "description": "操作人",
  15872. "type": "integer"
  15873. },
  15874. "applyname": {
  15875. "description": "操作人名称",
  15876. "type": "string"
  15877. },
  15878. "applysrc": {
  15879. "description": "操作来源 - 1:管理端 2:终端",
  15880. "type": "integer"
  15881. },
  15882. "beforevalue": {
  15883. "description": "变更前",
  15884. "type": "number"
  15885. },
  15886. "changelogtype": {
  15887. "description": "变更流水类型 - 1:套保比率变更",
  15888. "type": "integer"
  15889. },
  15890. "handlestatus": {
  15891. "description": "处理状态",
  15892. "type": "integer"
  15893. },
  15894. "logdatetime": {
  15895. "description": "流水日期",
  15896. "type": "string"
  15897. },
  15898. "logid": {
  15899. "description": "流水ID",
  15900. "type": "integer"
  15901. },
  15902. "logremark": {
  15903. "description": "流水备注",
  15904. "type": "string"
  15905. },
  15906. "middlegoodsid": {
  15907. "description": "套保品种ID",
  15908. "type": "integer"
  15909. },
  15910. "tradedate": {
  15911. "description": "交易日(yyyyMMdd)",
  15912. "type": "string"
  15913. },
  15914. "updatetime": {
  15915. "description": "更新时间",
  15916. "type": "string"
  15917. }
  15918. }
  15919. },
  15920. "ermcp.QryMiddleGoodsDetailRsp": {
  15921. "type": "object",
  15922. "properties": {
  15923. "cvList": {
  15924. "description": "期货品种折算列表",
  15925. "type": "array",
  15926. "items": {
  15927. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15928. }
  15929. },
  15930. "mg": {
  15931. "description": "套保品种基本信息",
  15932. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15933. },
  15934. "wrcList": {
  15935. "description": "现货品种列表(现货商品折算配置)",
  15936. "type": "array",
  15937. "items": {
  15938. "$ref": "#/definitions/models.WRSConverTDetail"
  15939. }
  15940. }
  15941. }
  15942. },
  15943. "ermcp.QryMiddleGoodsRsp": {
  15944. "type": "object",
  15945. "properties": {
  15946. "areauserid": {
  15947. "description": "机构用户ID",
  15948. "type": "integer"
  15949. },
  15950. "createtime": {
  15951. "description": "修改时间",
  15952. "type": "string"
  15953. },
  15954. "enumdicname": {
  15955. "description": "单位名称",
  15956. "type": "string"
  15957. },
  15958. "evaluateratio": {
  15959. "description": "估价系数",
  15960. "type": "number"
  15961. },
  15962. "goodsgroupid": {
  15963. "description": "关联期货品种ID",
  15964. "type": "integer"
  15965. },
  15966. "goodsunitid": {
  15967. "description": "单位ID",
  15968. "type": "integer"
  15969. },
  15970. "isvalid": {
  15971. "description": "状态 0-无效(停用) 1-有效(正常)",
  15972. "type": "integer"
  15973. },
  15974. "middlegoodscode": {
  15975. "description": "套保品种代码",
  15976. "type": "string"
  15977. },
  15978. "middlegoodsid": {
  15979. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15980. "type": "integer"
  15981. },
  15982. "middlegoodsname": {
  15983. "description": "套保品种名称",
  15984. "type": "string"
  15985. },
  15986. "modifytime": {
  15987. "description": "修改时间",
  15988. "type": "string"
  15989. },
  15990. "needarbitrageratio": {
  15991. "description": "套利比例",
  15992. "type": "number"
  15993. },
  15994. "needhedgeratio": {
  15995. "description": "套保比率",
  15996. "type": "number"
  15997. },
  15998. "qtydecimalplace": {
  15999. "description": "数量小数位",
  16000. "type": "integer"
  16001. },
  16002. "relatedgoodsid": {
  16003. "description": "关联交易商品ID",
  16004. "type": "integer"
  16005. },
  16006. "relatedgoodstype": {
  16007. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16008. "type": "integer"
  16009. },
  16010. "remark": {
  16011. "description": "备注",
  16012. "type": "string"
  16013. }
  16014. }
  16015. },
  16016. "ermcp.QryOPLogRsp": {
  16017. "type": "object",
  16018. "properties": {
  16019. "aftervalue": {
  16020. "description": "变更后",
  16021. "type": "number"
  16022. },
  16023. "applyid": {
  16024. "description": "操作人ID",
  16025. "type": "string"
  16026. },
  16027. "applyname": {
  16028. "description": "操作人名称",
  16029. "type": "string"
  16030. },
  16031. "beforevalue": {
  16032. "description": "变更前",
  16033. "type": "number"
  16034. },
  16035. "biztype": {
  16036. "description": "业务类型 - 1:套保计划 2:现货合同",
  16037. "type": "integer"
  16038. },
  16039. "contracttype": {
  16040. "description": "现货合同类型 - 1:采购 -1:销售",
  16041. "type": "integer"
  16042. },
  16043. "logvalue": {
  16044. "description": "数值",
  16045. "type": "number"
  16046. },
  16047. "operatelogtype": {
  16048. "description": "操作流水类型",
  16049. "type": "integer"
  16050. },
  16051. "operatelogtypedesc": {
  16052. "description": "操作流水类型名称",
  16053. "type": "string"
  16054. },
  16055. "relatedid": {
  16056. "description": "现货合同ID\\套保计划",
  16057. "type": "string"
  16058. },
  16059. "updatetime": {
  16060. "description": "更新时间",
  16061. "type": "string"
  16062. }
  16063. }
  16064. },
  16065. "ermcp.QryUserInfoRsp": {
  16066. "type": "object",
  16067. "properties": {
  16068. "address": {
  16069. "description": "通讯地址",
  16070. "type": "string"
  16071. },
  16072. "attachment1": {
  16073. "description": "附件1",
  16074. "type": "string"
  16075. },
  16076. "audittime": {
  16077. "description": "审核时间",
  16078. "type": "string"
  16079. },
  16080. "cardbackphotourl": {
  16081. "description": "证件反面图片地址",
  16082. "type": "string"
  16083. },
  16084. "cardfrontphotourl": {
  16085. "description": "证件正面图片地址",
  16086. "type": "string"
  16087. },
  16088. "cardnum": {
  16089. "description": "证件号码",
  16090. "type": "string"
  16091. },
  16092. "cardtype": {
  16093. "description": "证件类型",
  16094. "type": "integer"
  16095. },
  16096. "cardtypename": {
  16097. "description": "证件类型名称",
  16098. "type": "string"
  16099. },
  16100. "cityid": {
  16101. "description": "市",
  16102. "type": "integer"
  16103. },
  16104. "contactname": {
  16105. "description": "联系人",
  16106. "type": "string"
  16107. },
  16108. "countryid": {
  16109. "description": "国家",
  16110. "type": "integer"
  16111. },
  16112. "createtime": {
  16113. "description": "创建时间",
  16114. "type": "string"
  16115. },
  16116. "customername": {
  16117. "description": "企业名称",
  16118. "type": "string"
  16119. },
  16120. "districtid": {
  16121. "description": "区域",
  16122. "type": "integer"
  16123. },
  16124. "email": {
  16125. "description": "邮件",
  16126. "type": "string"
  16127. },
  16128. "legalpersonname": {
  16129. "description": "法人姓名(企业)",
  16130. "type": "string"
  16131. },
  16132. "memberuserid": {
  16133. "description": "所属机构ID",
  16134. "type": "integer"
  16135. },
  16136. "mobile": {
  16137. "description": "手机号码",
  16138. "type": "string"
  16139. },
  16140. "modifytime": {
  16141. "description": "修改时间",
  16142. "type": "string"
  16143. },
  16144. "nickname": {
  16145. "description": "昵称",
  16146. "type": "string"
  16147. },
  16148. "provinceid": {
  16149. "description": "省",
  16150. "type": "integer"
  16151. },
  16152. "remark": {
  16153. "description": "备注",
  16154. "type": "string"
  16155. },
  16156. "status": {
  16157. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16158. "type": "integer"
  16159. },
  16160. "statusdesc": {
  16161. "description": "账户状态中文描述",
  16162. "type": "string"
  16163. },
  16164. "taxpayernum": {
  16165. "description": "纳税人识别号",
  16166. "type": "string"
  16167. },
  16168. "telphone": {
  16169. "description": "联系电话",
  16170. "type": "string"
  16171. },
  16172. "userid": {
  16173. "description": "用户ID",
  16174. "type": "integer"
  16175. },
  16176. "userinfotype": {
  16177. "description": "客户类型",
  16178. "type": "string"
  16179. }
  16180. }
  16181. },
  16182. "ermcp.QryWarehouseRsp": {
  16183. "type": "object",
  16184. "properties": {
  16185. "address": {
  16186. "description": "详细地址",
  16187. "type": "string"
  16188. },
  16189. "areauserid": {
  16190. "description": "所属机构",
  16191. "type": "integer"
  16192. },
  16193. "autoid": {
  16194. "description": "自增ID(仓库ID)",
  16195. "type": "integer"
  16196. },
  16197. "cityid": {
  16198. "description": "市",
  16199. "type": "integer"
  16200. },
  16201. "contactname": {
  16202. "description": "联系人",
  16203. "type": "string"
  16204. },
  16205. "contactnum": {
  16206. "description": "联系电话",
  16207. "type": "string"
  16208. },
  16209. "countryid": {
  16210. "description": "国家",
  16211. "type": "integer"
  16212. },
  16213. "createtime": {
  16214. "description": "创建时间",
  16215. "type": "string"
  16216. },
  16217. "districtid": {
  16218. "description": "区",
  16219. "type": "integer"
  16220. },
  16221. "hasvideo": {
  16222. "description": "是否有视频 - 0:无 1:有",
  16223. "type": "integer"
  16224. },
  16225. "provinceid": {
  16226. "description": "省",
  16227. "type": "integer"
  16228. },
  16229. "remark": {
  16230. "description": "审核备注",
  16231. "type": "string"
  16232. },
  16233. "videourl": {
  16234. "description": "视频地址",
  16235. "type": "string"
  16236. },
  16237. "warehousecode": {
  16238. "description": "仓库代码",
  16239. "type": "string"
  16240. },
  16241. "warehousename": {
  16242. "description": "仓库名称",
  16243. "type": "string"
  16244. },
  16245. "warehousestatus": {
  16246. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16247. "type": "integer"
  16248. },
  16249. "warehousetype": {
  16250. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16251. "type": "integer"
  16252. }
  16253. }
  16254. },
  16255. "ermcp.QueryErmcpTradePositionRsp": {
  16256. "type": "object",
  16257. "properties": {
  16258. "agreeunit": {
  16259. "description": "合约单位",
  16260. "type": "number"
  16261. },
  16262. "buyorsell": {
  16263. "description": "方向 - 0:买 1:卖",
  16264. "type": "integer"
  16265. },
  16266. "curpositionqty": {
  16267. "description": "持仓(总仓数量, 期末头寸)",
  16268. "type": "integer"
  16269. },
  16270. "curtdposition": {
  16271. "description": "今仓数量(期末今日头寸)",
  16272. "type": "integer"
  16273. },
  16274. "curtdpositionenabled": {
  16275. "description": "今仓可用",
  16276. "type": "integer"
  16277. },
  16278. "decimalplace": {
  16279. "description": "报价小数位",
  16280. "type": "integer"
  16281. },
  16282. "enableqty": {
  16283. "description": "可用(总仓可用)",
  16284. "type": "integer"
  16285. },
  16286. "exexchangename": {
  16287. "description": "外部交易所名称",
  16288. "type": "string"
  16289. },
  16290. "exexehangecode": {
  16291. "description": "外部交易所代码",
  16292. "type": "string"
  16293. },
  16294. "exexehangeid": {
  16295. "description": "外部交易所id",
  16296. "type": "integer"
  16297. },
  16298. "goodscode": {
  16299. "description": "商品代码(内部)",
  16300. "type": "string"
  16301. },
  16302. "goodsid": {
  16303. "description": "商品ID(自增ID SEQ_GOODS)",
  16304. "type": "integer"
  16305. },
  16306. "goodsname": {
  16307. "description": "商品名称",
  16308. "type": "string"
  16309. },
  16310. "last": {
  16311. "description": "现价",
  16312. "type": "number"
  16313. },
  16314. "marketid": {
  16315. "description": "所属市场ID",
  16316. "type": "integer"
  16317. },
  16318. "openaverageprice": {
  16319. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16320. "type": "number"
  16321. },
  16322. "opencost": {
  16323. "description": "开仓成本",
  16324. "type": "number"
  16325. },
  16326. "openpl": {
  16327. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16328. "type": "number"
  16329. },
  16330. "outgoodscode": {
  16331. "description": "商品代码(外部)",
  16332. "type": "string"
  16333. },
  16334. "positionaverageprice": {
  16335. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16336. "type": "number"
  16337. },
  16338. "positioncost": {
  16339. "description": "持仓成本",
  16340. "type": "number"
  16341. },
  16342. "positionpl": {
  16343. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16344. "type": "number"
  16345. },
  16346. "positionplrate": {
  16347. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16348. "type": "number"
  16349. },
  16350. "usedmargin": {
  16351. "description": "占用保证金",
  16352. "type": "number"
  16353. }
  16354. }
  16355. },
  16356. "ermcp.RealtimeExposurePositionRsp": {
  16357. "type": "object",
  16358. "properties": {
  16359. "agreeunit": {
  16360. "description": "合约单位",
  16361. "type": "string"
  16362. },
  16363. "areauserid": {
  16364. "description": "所属机构id",
  16365. "type": "integer"
  16366. },
  16367. "convertratio": {
  16368. "description": "期货品种系数(折算系数)",
  16369. "type": "number"
  16370. },
  16371. "curhedgeqty": {
  16372. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  16373. "type": "number"
  16374. },
  16375. "curqty": {
  16376. "description": "当前持仓",
  16377. "type": "integer"
  16378. },
  16379. "diffhedgeqty": {
  16380. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16381. "type": "number"
  16382. },
  16383. "diffqty": {
  16384. "description": "持仓变动量=当前持仓-昨日持仓",
  16385. "type": "integer"
  16386. },
  16387. "goodscode": {
  16388. "description": "商品代码",
  16389. "type": "string"
  16390. },
  16391. "goodsid": {
  16392. "description": "商品id",
  16393. "type": "integer"
  16394. },
  16395. "goodsname": {
  16396. "description": "商品名称",
  16397. "type": "string"
  16398. },
  16399. "hedgeaccountcode": {
  16400. "description": "对冲账号(只有外部账号才有值)",
  16401. "type": "string"
  16402. },
  16403. "middlegoodscode": {
  16404. "description": "套保商品代码",
  16405. "type": "string"
  16406. },
  16407. "middlegoodsid": {
  16408. "description": "套保商品id",
  16409. "type": "integer"
  16410. },
  16411. "middlegoodsname": {
  16412. "description": "套保商品名称",
  16413. "type": "string"
  16414. },
  16415. "ydqty": {
  16416. "description": "昨日持仓",
  16417. "type": "integer"
  16418. }
  16419. }
  16420. },
  16421. "ermcp.RealtimeExposureRsp": {
  16422. "type": "object",
  16423. "properties": {
  16424. "AreaUserID": {
  16425. "description": "所属机构",
  16426. "type": "integer"
  16427. },
  16428. "BuyFutureQty": {
  16429. "description": "买入期货数量",
  16430. "type": "number"
  16431. },
  16432. "BuyPlanQty": {
  16433. "description": "采购计划数量",
  16434. "type": "number"
  16435. },
  16436. "BuyPricedQty": {
  16437. "description": "采购合同已定价数量",
  16438. "type": "number"
  16439. },
  16440. "MiddleGoodsCode": {
  16441. "description": "套保品种代码",
  16442. "type": "string"
  16443. },
  16444. "MiddleGoodsHedgeRatio": {
  16445. "description": "套保比例",
  16446. "type": "number"
  16447. },
  16448. "MiddleGoodsID": {
  16449. "description": "套保品种",
  16450. "type": "integer"
  16451. },
  16452. "MiddleGoodsName": {
  16453. "description": "套保品种名称",
  16454. "type": "string"
  16455. },
  16456. "NeedHedgeExposoure": {
  16457. "description": "应套保敞口(套保敞口)",
  16458. "type": "number"
  16459. },
  16460. "NeedHedgeRatio": {
  16461. "description": "应套保敞口比例",
  16462. "type": "number"
  16463. },
  16464. "OriBuyFutureQty": {
  16465. "description": "期初买入期货数量",
  16466. "type": "number"
  16467. },
  16468. "OriBuyPlanQty": {
  16469. "description": "期初采购计划数量",
  16470. "type": "number"
  16471. },
  16472. "OriBuyPricedQty": {
  16473. "description": "期初采购合同已定价数量",
  16474. "type": "number"
  16475. },
  16476. "OriSellFutureQty": {
  16477. "description": "期初卖出期货数量",
  16478. "type": "number"
  16479. },
  16480. "OriSellPlanQty": {
  16481. "description": "期初销售计划数量",
  16482. "type": "number"
  16483. },
  16484. "OriSellPricedQty": {
  16485. "description": "期初销售合同已定价数量",
  16486. "type": "number"
  16487. },
  16488. "OriTotalSpotQty": {
  16489. "description": "期初现货总量",
  16490. "type": "number"
  16491. },
  16492. "SellFutureQty": {
  16493. "description": "卖出期货数量",
  16494. "type": "number"
  16495. },
  16496. "SellPlanQty": {
  16497. "description": "销售计划数量",
  16498. "type": "number"
  16499. },
  16500. "SellPricedQty": {
  16501. "description": "销售合同已定价数量",
  16502. "type": "number"
  16503. },
  16504. "TotalExposure": {
  16505. "description": "总敞口 平安:净敞口",
  16506. "type": "number"
  16507. },
  16508. "TotalFutureQty": {
  16509. "description": "期货总量 平安:保值净持仓量",
  16510. "type": "number"
  16511. },
  16512. "TotalHedgeRatio": {
  16513. "description": "敞口比例",
  16514. "type": "number"
  16515. },
  16516. "TotalNeedHedgeQty": {
  16517. "description": "应套保总量(现货应套保总量)",
  16518. "type": "number"
  16519. },
  16520. "TotalSpotQty": {
  16521. "description": "现货总量 平安:采销定价净值",
  16522. "type": "number"
  16523. },
  16524. "arbitrageqty": {
  16525. "description": "套利量",
  16526. "type": "number"
  16527. },
  16528. "diffArbitrageQty": {
  16529. "description": "期初均价",
  16530. "type": "number"
  16531. },
  16532. "diffExposoureQty": {
  16533. "description": "期初均价",
  16534. "type": "number"
  16535. },
  16536. "diffFutuQty": {
  16537. "description": "期初均价",
  16538. "type": "number"
  16539. },
  16540. "diffHedgeQty": {
  16541. "description": "期初均价",
  16542. "type": "number"
  16543. },
  16544. "diffQty": {
  16545. "description": "期初均价",
  16546. "type": "number"
  16547. },
  16548. "diffSpotHedgeQty": {
  16549. "description": "期初均价",
  16550. "type": "number"
  16551. },
  16552. "diffSpotQty": {
  16553. "description": "期初均价",
  16554. "type": "number"
  16555. },
  16556. "enumdicname": {
  16557. "description": "单位名称",
  16558. "type": "string"
  16559. },
  16560. "hedgeqty": {
  16561. "description": "套保量",
  16562. "type": "number"
  16563. },
  16564. "needarbitrageqty": {
  16565. "description": "应套利量",
  16566. "type": "number"
  16567. },
  16568. "needarbitrageratio": {
  16569. "description": "套利比例",
  16570. "type": "number"
  16571. },
  16572. "needhedgeqty": {
  16573. "description": "应套保量",
  16574. "type": "number"
  16575. },
  16576. "oriarbitrageqty": {
  16577. "description": "期初套利量",
  16578. "type": "number"
  16579. },
  16580. "orihedgeqty": {
  16581. "description": "期初套保量",
  16582. "type": "number"
  16583. },
  16584. "orineedhedgeexposoure": {
  16585. "description": "期初套保敞口",
  16586. "type": "number"
  16587. },
  16588. "oritotalexposure": {
  16589. "description": "期初总敞口",
  16590. "type": "number"
  16591. },
  16592. "oritotalfutureqty": {
  16593. "description": "期初期货总量",
  16594. "type": "number"
  16595. },
  16596. "oritotalneedhedgeqty": {
  16597. "description": "期初现货应套保量",
  16598. "type": "number"
  16599. }
  16600. }
  16601. },
  16602. "erms2.QueryArbitrageStrategyRsp": {
  16603. "type": "object",
  16604. "required": [
  16605. "asapplyid"
  16606. ],
  16607. "properties": {
  16608. "applybasis": {
  16609. "description": "申请基差",
  16610. "type": "number"
  16611. },
  16612. "asapplyid": {
  16613. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16614. "type": "string"
  16615. },
  16616. "asname": {
  16617. "description": "策略名称",
  16618. "type": "string"
  16619. },
  16620. "asno": {
  16621. "description": "策略编号",
  16622. "type": "string"
  16623. },
  16624. "basischangepl": {
  16625. "description": "基差变动损益[结算更新]",
  16626. "type": "number"
  16627. },
  16628. "biztype": {
  16629. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16630. "type": "integer"
  16631. },
  16632. "closetradedate": {
  16633. "description": "完结交易日(yyyyMMdd)",
  16634. "type": "string"
  16635. },
  16636. "curbasis": {
  16637. "description": "当前基差[结算更新]",
  16638. "type": "number"
  16639. },
  16640. "deliverygoodsid": {
  16641. "description": "现货品种ID",
  16642. "type": "integer"
  16643. },
  16644. "futureavgprice": {
  16645. "description": "期货建仓均价",
  16646. "type": "number"
  16647. },
  16648. "futurecloseamount": {
  16649. "description": "期货平仓金额",
  16650. "type": "number"
  16651. },
  16652. "futurecloseqty": {
  16653. "description": "期货平仓数量",
  16654. "type": "number"
  16655. },
  16656. "futureopenamount": {
  16657. "description": "期货开仓金额",
  16658. "type": "number"
  16659. },
  16660. "futureopenqty": {
  16661. "description": "期货开仓数量",
  16662. "type": "number"
  16663. },
  16664. "futurepl": {
  16665. "description": "期货总盈亏[结算更新]",
  16666. "type": "number"
  16667. },
  16668. "futureqty": {
  16669. "description": "期货持仓数量",
  16670. "type": "number"
  16671. },
  16672. "futurequote": {
  16673. "description": "期货额度",
  16674. "type": "number"
  16675. },
  16676. "goodsgroupid": {
  16677. "description": "期货品种ID",
  16678. "type": "integer"
  16679. },
  16680. "marketid": {
  16681. "description": "市场ID",
  16682. "type": "integer"
  16683. },
  16684. "netexposure": {
  16685. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  16686. "type": "number"
  16687. },
  16688. "netexposurepl": {
  16689. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  16690. "type": "number"
  16691. },
  16692. "netexposurerate": {
  16693. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  16694. "type": "number"
  16695. },
  16696. "openbasis": {
  16697. "description": "建仓基差",
  16698. "type": "number"
  16699. },
  16700. "pricedspotqty": {
  16701. "description": "已定价现货数量",
  16702. "type": "number"
  16703. },
  16704. "pricedspotqtynotax": {
  16705. "description": "已定价现货不含税数量",
  16706. "type": "number"
  16707. },
  16708. "remark": {
  16709. "description": "备注",
  16710. "type": "string"
  16711. },
  16712. "spotavgprice": {
  16713. "description": "现货均价",
  16714. "type": "number"
  16715. },
  16716. "spotbuyamount": {
  16717. "description": "现货采购金额",
  16718. "type": "number"
  16719. },
  16720. "spotbuyqty": {
  16721. "description": "现货采购数量",
  16722. "type": "number"
  16723. },
  16724. "spotpl": {
  16725. "description": "现货总盈亏[结算更新]",
  16726. "type": "number"
  16727. },
  16728. "spotquota": {
  16729. "description": "现货额度",
  16730. "type": "number"
  16731. },
  16732. "spotsellamount": {
  16733. "description": "现货销售金额",
  16734. "type": "number"
  16735. },
  16736. "spotsellqty": {
  16737. "description": "现货销售数量",
  16738. "type": "number"
  16739. },
  16740. "spotusedquota": {
  16741. "description": "现货占用资金",
  16742. "type": "number"
  16743. },
  16744. "strategystatus": {
  16745. "description": "策略状态 - 0:未结束 1:已结束",
  16746. "type": "integer"
  16747. },
  16748. "totalpl": {
  16749. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  16750. "type": "number"
  16751. },
  16752. "tradedate": {
  16753. "description": "交易日(yyyyMMdd)",
  16754. "type": "string"
  16755. },
  16756. "updatetime": {
  16757. "description": "更新时间",
  16758. "type": "string"
  16759. },
  16760. "usedquota": {
  16761. "description": "已占用资金",
  16762. "type": "number"
  16763. },
  16764. "userid": {
  16765. "description": "所属机构",
  16766. "type": "integer"
  16767. }
  16768. }
  16769. },
  16770. "erms2.QueryInnerTradeDetailRsp": {
  16771. "type": "object",
  16772. "required": [
  16773. "asapplyid",
  16774. "buyorsell",
  16775. "goodscode",
  16776. "goodsgroupid",
  16777. "goodsgroupname",
  16778. "goodsname",
  16779. "tradeid"
  16780. ],
  16781. "properties": {
  16782. "accountid": {
  16783. "description": "账号ID",
  16784. "type": "integer"
  16785. },
  16786. "agreeunit": {
  16787. "description": "合约单位",
  16788. "type": "number"
  16789. },
  16790. "asapplyid": {
  16791. "description": "策略申请ID",
  16792. "type": "integer"
  16793. },
  16794. "asname": {
  16795. "description": "策略名称",
  16796. "type": "string"
  16797. },
  16798. "asno": {
  16799. "description": "策略编号",
  16800. "type": "string"
  16801. },
  16802. "buyorsell": {
  16803. "description": "方向 - 0:买 1:卖",
  16804. "type": "integer"
  16805. },
  16806. "channelbuildtype": {
  16807. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16808. "type": "integer"
  16809. },
  16810. "closetype": {
  16811. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16812. "type": "integer"
  16813. },
  16814. "decimalplace": {
  16815. "description": "报价小数位",
  16816. "type": "integer"
  16817. },
  16818. "detailtype": {
  16819. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  16820. "type": "integer"
  16821. },
  16822. "exexchangecode": {
  16823. "description": "外部交易所代码",
  16824. "type": "string"
  16825. },
  16826. "exexchangename": {
  16827. "description": "外部交易所名称",
  16828. "type": "string"
  16829. },
  16830. "goodscode": {
  16831. "description": "商品代码(合约)",
  16832. "type": "string"
  16833. },
  16834. "goodsgroupid": {
  16835. "description": "商品组ID(品种ID)",
  16836. "type": "integer"
  16837. },
  16838. "goodsgroupname": {
  16839. "description": "商品组名称(品种)",
  16840. "type": "string"
  16841. },
  16842. "goodsid": {
  16843. "description": "商品ID",
  16844. "type": "integer"
  16845. },
  16846. "goodsname": {
  16847. "description": "商品名称(合约)",
  16848. "type": "string"
  16849. },
  16850. "goodunit": {
  16851. "description": "报价单位",
  16852. "type": "string"
  16853. },
  16854. "marketid": {
  16855. "description": "市场ID",
  16856. "type": "integer"
  16857. },
  16858. "orderid": {
  16859. "description": "委托单号",
  16860. "type": "string"
  16861. },
  16862. "outgoodscode": {
  16863. "description": "商品代码(外部)",
  16864. "type": "string"
  16865. },
  16866. "relatedouttradeid": {
  16867. "description": "关联外部成交单ID",
  16868. "type": "string"
  16869. },
  16870. "remark": {
  16871. "description": "备注",
  16872. "type": "string"
  16873. },
  16874. "spotcontractid": {
  16875. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  16876. "type": "integer"
  16877. },
  16878. "spotcontractno": {
  16879. "description": "现货合同编号",
  16880. "type": "string"
  16881. },
  16882. "tradeid": {
  16883. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16884. "type": "string"
  16885. },
  16886. "tradeprice": {
  16887. "description": "成交价格",
  16888. "type": "number"
  16889. },
  16890. "tradeqty": {
  16891. "description": "成交数量",
  16892. "type": "integer"
  16893. },
  16894. "tradetime": {
  16895. "description": "成交时间",
  16896. "type": "string"
  16897. },
  16898. "updatetime": {
  16899. "description": "更新时间",
  16900. "type": "string"
  16901. }
  16902. }
  16903. },
  16904. "erms2.QuerySpotContractRsp": {
  16905. "type": "object",
  16906. "required": [
  16907. "spotcontractid"
  16908. ],
  16909. "properties": {
  16910. "accountid": {
  16911. "description": "资金账户ID",
  16912. "type": "integer"
  16913. },
  16914. "areauserid": {
  16915. "description": "所属机构",
  16916. "type": "integer"
  16917. },
  16918. "closedate": {
  16919. "description": "终止日期",
  16920. "type": "string"
  16921. },
  16922. "closeremark": {
  16923. "description": "结束备注",
  16924. "type": "string"
  16925. },
  16926. "closetradedate": {
  16927. "description": "完结交易日(yyyyMMdd)",
  16928. "type": "string"
  16929. },
  16930. "closetype": {
  16931. "description": "终止类型 - 1:违约 2:提前终止",
  16932. "type": "integer"
  16933. },
  16934. "contractamount": {
  16935. "description": "合同金额",
  16936. "type": "number"
  16937. },
  16938. "contractattachment": {
  16939. "description": "合同附件",
  16940. "type": "string"
  16941. },
  16942. "contractno": {
  16943. "description": "现货合同编号",
  16944. "type": "string"
  16945. },
  16946. "contractqty": {
  16947. "description": "合同数量(数值) (用于计算)",
  16948. "type": "number"
  16949. },
  16950. "contractqtychar": {
  16951. "description": "合同数量\\已订价数量 (用于显示)",
  16952. "type": "string"
  16953. },
  16954. "contractstatus": {
  16955. "description": "合同状态 - 0:未结束 1:已结束",
  16956. "type": "integer"
  16957. },
  16958. "contracttype": {
  16959. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  16960. "type": "integer"
  16961. },
  16962. "customeraccountid": {
  16963. "description": "客户资金账户ID",
  16964. "type": "integer"
  16965. },
  16966. "customeruserid": {
  16967. "description": "客户ID",
  16968. "type": "integer"
  16969. },
  16970. "deliverygoodsdesc": {
  16971. "description": "品种说明",
  16972. "type": "string"
  16973. },
  16974. "deliverygoodsid": {
  16975. "description": "现货品种ID",
  16976. "type": "integer"
  16977. },
  16978. "handlestatus": {
  16979. "description": "处理状态",
  16980. "type": "integer"
  16981. },
  16982. "invoiceatt": {
  16983. "description": "发票附件",
  16984. "type": "string"
  16985. },
  16986. "invoicedatetime": {
  16987. "description": "开收票更新时间",
  16988. "type": "string"
  16989. },
  16990. "invoiceopentime": {
  16991. "description": "开票时间",
  16992. "type": "string"
  16993. },
  16994. "invoiceremark": {
  16995. "description": "发票备注",
  16996. "type": "string"
  16997. },
  16998. "invoicestatus": {
  16999. "description": "开收票状态 - 0:未开票 1:已开票",
  17000. "type": "integer"
  17001. },
  17002. "lastdate": {
  17003. "description": "交货时间",
  17004. "type": "string"
  17005. },
  17006. "marketid": {
  17007. "description": "市场ID",
  17008. "type": "integer"
  17009. },
  17010. "paydatetime": {
  17011. "description": "收付款更新时间",
  17012. "type": "string"
  17013. },
  17014. "payremark": {
  17015. "description": "收付款备注",
  17016. "type": "string"
  17017. },
  17018. "paystatus": {
  17019. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17020. "type": "integer"
  17021. },
  17022. "positionqty": {
  17023. "description": "头寸数量 - 合同数量去小数部分",
  17024. "type": "integer"
  17025. },
  17026. "producttype": {
  17027. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17028. "type": "integer"
  17029. },
  17030. "relatedqty": {
  17031. "description": "已关联数量",
  17032. "type": "number"
  17033. },
  17034. "relatedstatus": {
  17035. "description": "关联完结状态 - 0:未结束 1:已结束",
  17036. "type": "integer"
  17037. },
  17038. "remark": {
  17039. "description": "备注",
  17040. "type": "string"
  17041. },
  17042. "signdate": {
  17043. "description": "签订日期",
  17044. "type": "string"
  17045. },
  17046. "spotcontractid": {
  17047. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17048. "type": "string"
  17049. },
  17050. "spotdatetime": {
  17051. "description": "收发货更新时间",
  17052. "type": "string"
  17053. },
  17054. "spotprice": {
  17055. "description": "价格",
  17056. "type": "number"
  17057. },
  17058. "spotremark": {
  17059. "description": "收发货备注",
  17060. "type": "string"
  17061. },
  17062. "spotstatus": {
  17063. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17064. "type": "integer"
  17065. },
  17066. "tradedate": {
  17067. "description": "交易日(yyyyMMdd)",
  17068. "type": "string"
  17069. },
  17070. "userid": {
  17071. "description": "业务员用户ID",
  17072. "type": "integer"
  17073. },
  17074. "warehouseid": {
  17075. "description": "仓库ID",
  17076. "type": "integer"
  17077. },
  17078. "wrfactortypeid": {
  17079. "description": "仓单要素类型ID",
  17080. "type": "integer"
  17081. },
  17082. "wrstandardid": {
  17083. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17084. "type": "integer"
  17085. }
  17086. }
  17087. },
  17088. "erms3.AddErms2ASApplyReq": {
  17089. "type": "object",
  17090. "required": [
  17091. "asapplyid"
  17092. ],
  17093. "properties": {
  17094. "applybasis": {
  17095. "description": "申请基差",
  17096. "type": "number"
  17097. },
  17098. "applystatus": {
  17099. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17100. "type": "integer"
  17101. },
  17102. "asapplyid": {
  17103. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17104. "type": "integer"
  17105. },
  17106. "asname": {
  17107. "description": "策略名称",
  17108. "type": "string"
  17109. },
  17110. "asno": {
  17111. "description": "策略编号",
  17112. "type": "string"
  17113. },
  17114. "auditid": {
  17115. "description": "审核人",
  17116. "type": "integer"
  17117. },
  17118. "auditremark": {
  17119. "description": "审核备注",
  17120. "type": "string"
  17121. },
  17122. "audittime": {
  17123. "description": "审核时间",
  17124. "type": "string"
  17125. },
  17126. "biztype": {
  17127. "description": "业务类型 - 1:正向套利 2:反向套利",
  17128. "type": "integer"
  17129. },
  17130. "createtime": {
  17131. "description": "创建时间",
  17132. "type": "string"
  17133. },
  17134. "creatorid": {
  17135. "description": "创建人",
  17136. "type": "integer"
  17137. },
  17138. "deliverygoodsid": {
  17139. "description": "现货品种ID",
  17140. "type": "integer"
  17141. },
  17142. "futurequote": {
  17143. "description": "期货额度",
  17144. "type": "number"
  17145. },
  17146. "goodsgroupid": {
  17147. "description": "期货品种ID",
  17148. "type": "integer"
  17149. },
  17150. "marketid": {
  17151. "description": "市场ID",
  17152. "type": "integer"
  17153. },
  17154. "remark": {
  17155. "description": "备注",
  17156. "type": "string"
  17157. },
  17158. "spotquota": {
  17159. "description": "现货额度",
  17160. "type": "number"
  17161. },
  17162. "tradedate": {
  17163. "description": "交易日(yyyyMMdd)",
  17164. "type": "string"
  17165. },
  17166. "userid": {
  17167. "description": "所属机构",
  17168. "type": "integer"
  17169. }
  17170. }
  17171. },
  17172. "erms3.AddErms2SpotTradeApplyReq": {
  17173. "type": "object",
  17174. "required": [
  17175. "spottradeid"
  17176. ],
  17177. "properties": {
  17178. "applyjsondetail": {
  17179. "description": "申请明细(JSON)",
  17180. "type": "string"
  17181. },
  17182. "applystatus": {
  17183. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17184. "type": "integer"
  17185. },
  17186. "areauserid": {
  17187. "description": "所属机构",
  17188. "type": "integer"
  17189. },
  17190. "auditid": {
  17191. "description": "审核人",
  17192. "type": "integer"
  17193. },
  17194. "auditremark": {
  17195. "description": "审核备注",
  17196. "type": "string"
  17197. },
  17198. "audittime": {
  17199. "description": "审核时间",
  17200. "type": "string"
  17201. },
  17202. "createtime": {
  17203. "description": "创建时间",
  17204. "type": "string"
  17205. },
  17206. "creatorid": {
  17207. "description": "创建人",
  17208. "type": "integer"
  17209. },
  17210. "deliverygoodsid": {
  17211. "description": "现货品种ID",
  17212. "type": "integer"
  17213. },
  17214. "futureaccountid": {
  17215. "description": "期货资金账户",
  17216. "type": "integer"
  17217. },
  17218. "goodsgroupid": {
  17219. "description": "期货品种",
  17220. "type": "integer"
  17221. },
  17222. "marketid": {
  17223. "description": "市场ID",
  17224. "type": "integer"
  17225. },
  17226. "remark": {
  17227. "description": "备注",
  17228. "type": "string"
  17229. },
  17230. "spotaccountid": {
  17231. "description": "现货资金账户",
  17232. "type": "integer"
  17233. },
  17234. "spottradeid": {
  17235. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17236. "type": "integer"
  17237. },
  17238. "spottradename": {
  17239. "description": "业务名称",
  17240. "type": "string"
  17241. },
  17242. "spottradeno": {
  17243. "description": "业务编号",
  17244. "type": "string"
  17245. },
  17246. "tradedate": {
  17247. "description": "交易日(yyyyMMdd)",
  17248. "type": "string"
  17249. },
  17250. "wrstandardid": {
  17251. "description": "仓单标准ID",
  17252. "type": "integer"
  17253. }
  17254. }
  17255. },
  17256. "erms3.AddSpotContractApplyReq": {
  17257. "type": "object",
  17258. "required": [
  17259. "accountid",
  17260. "areauserid",
  17261. "contractno",
  17262. "contracttype",
  17263. "customeraccountid",
  17264. "customeruserid",
  17265. "details",
  17266. "orimargin",
  17267. "signdate"
  17268. ],
  17269. "properties": {
  17270. "accountid": {
  17271. "description": "资金账户ID",
  17272. "type": "integer"
  17273. },
  17274. "areauserid": {
  17275. "description": "所属机构",
  17276. "type": "integer"
  17277. },
  17278. "contractattachment": {
  17279. "description": "合同附件",
  17280. "type": "string"
  17281. },
  17282. "contractno": {
  17283. "description": "现货合同编号",
  17284. "type": "string"
  17285. },
  17286. "contracttype": {
  17287. "description": "现货合同类型 - 1:采购 -1:销售",
  17288. "type": "integer"
  17289. },
  17290. "creatorid": {
  17291. "description": "申请人",
  17292. "type": "integer"
  17293. },
  17294. "customeraccountid": {
  17295. "description": "客户资金账户ID",
  17296. "type": "integer"
  17297. },
  17298. "customeruserid": {
  17299. "description": "客户ID",
  17300. "type": "integer"
  17301. },
  17302. "details": {
  17303. "description": "明细",
  17304. "type": "array",
  17305. "items": {
  17306. "$ref": "#/definitions/erms3.SoptContractDetail"
  17307. }
  17308. },
  17309. "orimargin": {
  17310. "description": "初始保证金",
  17311. "type": "number"
  17312. },
  17313. "remark": {
  17314. "description": "备注",
  17315. "type": "string"
  17316. },
  17317. "signdate": {
  17318. "description": "签订日期",
  17319. "type": "string"
  17320. }
  17321. }
  17322. },
  17323. "erms3.AddSpotContractApplyRsp": {
  17324. "type": "object",
  17325. "required": [
  17326. "contractno"
  17327. ],
  17328. "properties": {
  17329. "contractno": {
  17330. "description": "现货合同编号",
  17331. "type": "string"
  17332. },
  17333. "spotcontractid": {
  17334. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17335. "type": "integer"
  17336. }
  17337. }
  17338. },
  17339. "erms3.AddUserInfoApplyReq": {
  17340. "type": "object",
  17341. "required": [
  17342. "userid"
  17343. ],
  17344. "properties": {
  17345. "accountid": {
  17346. "description": "交易系统帐号Id (加密存储)",
  17347. "type": "integer"
  17348. },
  17349. "areacode": {
  17350. "description": "机构代码",
  17351. "type": "string"
  17352. },
  17353. "areaid": {
  17354. "description": "机构Id",
  17355. "type": "integer"
  17356. },
  17357. "attachment1": {
  17358. "description": "附件1",
  17359. "type": "string"
  17360. },
  17361. "attachment2": {
  17362. "description": "附件2",
  17363. "type": "string"
  17364. },
  17365. "attachment3": {
  17366. "description": "附件3",
  17367. "type": "string"
  17368. },
  17369. "attachment4": {
  17370. "description": "附件4",
  17371. "type": "string"
  17372. },
  17373. "attachment5": {
  17374. "description": "附件5",
  17375. "type": "string"
  17376. },
  17377. "auditedby": {
  17378. "description": "审核人",
  17379. "type": "string"
  17380. },
  17381. "auditime": {
  17382. "description": "审核时间",
  17383. "type": "string"
  17384. },
  17385. "auditsrc": {
  17386. "description": "审核来源 - 1:管理端 2:终端",
  17387. "type": "integer"
  17388. },
  17389. "bankaccount": {
  17390. "description": "银行帐号 (加密存储)",
  17391. "type": "string"
  17392. },
  17393. "bankaccountname": {
  17394. "description": "收款人名称",
  17395. "type": "string"
  17396. },
  17397. "bankcardbackphotourl": {
  17398. "description": "银行卡背面照地址",
  17399. "type": "string"
  17400. },
  17401. "bankcardfrontphotourl": {
  17402. "description": "银行卡正面照地址",
  17403. "type": "string"
  17404. },
  17405. "bankid": {
  17406. "description": "银行编码",
  17407. "type": "string"
  17408. },
  17409. "bankname": {
  17410. "description": "银行名称",
  17411. "type": "string"
  17412. },
  17413. "bankpictureurl": {
  17414. "description": "银行卡正面地址",
  17415. "type": "string"
  17416. },
  17417. "biznature": {
  17418. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17419. "type": "integer"
  17420. },
  17421. "bizscope": {
  17422. "description": "企业经营范围(企业)",
  17423. "type": "string"
  17424. },
  17425. "biztype": {
  17426. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17427. "type": "integer"
  17428. },
  17429. "brokerid": {
  17430. "description": "经纪人ID(加密存储)",
  17431. "type": "string"
  17432. },
  17433. "cardaddress": {
  17434. "description": "证件地址 (加密存储)",
  17435. "type": "string"
  17436. },
  17437. "cardbackphotourl": {
  17438. "description": "背面证件照地址",
  17439. "type": "string"
  17440. },
  17441. "cardfrontphotourl": {
  17442. "description": "正面证件照地址",
  17443. "type": "string"
  17444. },
  17445. "cardnum": {
  17446. "description": "证件号码 (加密存储)",
  17447. "type": "string"
  17448. },
  17449. "cardtype": {
  17450. "description": "证件类型",
  17451. "type": "integer"
  17452. },
  17453. "cityid": {
  17454. "description": "市",
  17455. "type": "integer"
  17456. },
  17457. "company": {
  17458. "description": "公司(个人)",
  17459. "type": "string"
  17460. },
  17461. "contactcardbackphotourl": {
  17462. "description": "联系人证件背面图片地址",
  17463. "type": "string"
  17464. },
  17465. "contactcardfrontphotourl": {
  17466. "description": "联系人证件正面图片地址",
  17467. "type": "string"
  17468. },
  17469. "contactname": {
  17470. "description": "联系人",
  17471. "type": "string"
  17472. },
  17473. "countryid": {
  17474. "description": "国家",
  17475. "type": "integer"
  17476. },
  17477. "createtime": {
  17478. "description": "开户申请时间",
  17479. "type": "string"
  17480. },
  17481. "cusbankid": {
  17482. "description": "签约类型",
  17483. "type": "string"
  17484. },
  17485. "cusbankname": {
  17486. "description": "签约类型名称",
  17487. "type": "string"
  17488. },
  17489. "customername": {
  17490. "description": "客户名称(企业名称)",
  17491. "type": "string"
  17492. },
  17493. "districtid": {
  17494. "description": "地区",
  17495. "type": "integer"
  17496. },
  17497. "email": {
  17498. "description": "Email地址(加密存储)",
  17499. "type": "string"
  17500. },
  17501. "halfbodyphotourl": {
  17502. "description": "半身照地址",
  17503. "type": "string"
  17504. },
  17505. "headurl": {
  17506. "description": "头像地址",
  17507. "type": "string"
  17508. },
  17509. "ipaddress": {
  17510. "description": "IP地址",
  17511. "type": "string"
  17512. },
  17513. "isvalidate": {
  17514. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17515. "type": "string"
  17516. },
  17517. "legalcardbackphotourl": {
  17518. "description": "法人身份证背面照地址",
  17519. "type": "string"
  17520. },
  17521. "legalcardfrontphotourl": {
  17522. "description": "法人身份证正面照地址",
  17523. "type": "string"
  17524. },
  17525. "legalpersonname": {
  17526. "description": "法人姓名(企业)",
  17527. "type": "string"
  17528. },
  17529. "logincode": {
  17530. "description": "登录帐号 (加密存储)",
  17531. "type": "string"
  17532. },
  17533. "memberareaid": {
  17534. "description": "所属会员ID",
  17535. "type": "integer"
  17536. },
  17537. "mobile2": {
  17538. "description": "手机号码[明文-尚志]",
  17539. "type": "string"
  17540. },
  17541. "mobilephone": {
  17542. "description": "手机号码 (加密存储)",
  17543. "type": "string"
  17544. },
  17545. "modifiedby": {
  17546. "description": "修改人帐号",
  17547. "type": "integer"
  17548. },
  17549. "modifiedtime": {
  17550. "description": "修改时间",
  17551. "type": "string"
  17552. },
  17553. "nickname": {
  17554. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17555. "type": "string"
  17556. },
  17557. "openmode": {
  17558. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17559. "type": "integer"
  17560. },
  17561. "otherurl": {
  17562. "description": "其它图片地址[使用分号分隔]",
  17563. "type": "string"
  17564. },
  17565. "postalcode": {
  17566. "description": "邮政编码",
  17567. "type": "string"
  17568. },
  17569. "provinceid": {
  17570. "description": "省",
  17571. "type": "integer"
  17572. },
  17573. "proxystatementurl": {
  17574. "description": "授权委托书",
  17575. "type": "string"
  17576. },
  17577. "qq": {
  17578. "description": "QQ(加密存储",
  17579. "type": "string"
  17580. },
  17581. "referral": {
  17582. "description": "推荐人编码",
  17583. "type": "string"
  17584. },
  17585. "remark": {
  17586. "description": "备注",
  17587. "type": "string"
  17588. },
  17589. "removebeforestatus": {
  17590. "description": "REMOVEBEFORESTATUS",
  17591. "type": "integer"
  17592. },
  17593. "sex": {
  17594. "description": "性别 - 0:女 1:男",
  17595. "type": "integer"
  17596. },
  17597. "signedstatus": {
  17598. "description": "账户一号签签约状态",
  17599. "type": "integer"
  17600. },
  17601. "signpdfurl": {
  17602. "description": "签约pdf文件",
  17603. "type": "string"
  17604. },
  17605. "subbranch": {
  17606. "description": "开户支行",
  17607. "type": "string"
  17608. },
  17609. "taxpayernum": {
  17610. "description": "纳税人识别号",
  17611. "type": "string"
  17612. },
  17613. "telphone": {
  17614. "description": "联系电话(加密存储)",
  17615. "type": "string"
  17616. },
  17617. "userid": {
  17618. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17619. "type": "integer"
  17620. },
  17621. "userinfotype": {
  17622. "description": "用户信息类型 - 1:个人 2:企业",
  17623. "type": "integer"
  17624. },
  17625. "username": {
  17626. "description": "用户姓名",
  17627. "type": "string"
  17628. },
  17629. "userstate": {
  17630. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17631. "type": "integer"
  17632. },
  17633. "usertype": {
  17634. "description": "用户类型 - 1:投资者 2:机构",
  17635. "type": "integer"
  17636. },
  17637. "videourl": {
  17638. "description": "视频地址",
  17639. "type": "string"
  17640. },
  17641. "wechat": {
  17642. "description": "微信号 (加密存储)",
  17643. "type": "string"
  17644. }
  17645. }
  17646. },
  17647. "erms3.CustomerInfo": {
  17648. "type": "object",
  17649. "required": [
  17650. "userid"
  17651. ],
  17652. "properties": {
  17653. "accountids": {
  17654. "description": "资金账户ID列表",
  17655. "type": "array",
  17656. "items": {
  17657. "type": "integer"
  17658. }
  17659. },
  17660. "customername": {
  17661. "description": "名称(企业名称)",
  17662. "type": "string"
  17663. },
  17664. "mobile": {
  17665. "description": "手机号码",
  17666. "type": "string"
  17667. },
  17668. "userid": {
  17669. "description": "用户ID",
  17670. "type": "integer"
  17671. }
  17672. }
  17673. },
  17674. "erms3.ModifyUserInfoApplyReq": {
  17675. "type": "object",
  17676. "required": [
  17677. "userid"
  17678. ],
  17679. "properties": {
  17680. "accountid": {
  17681. "description": "交易系统帐号Id (加密存储)",
  17682. "type": "integer"
  17683. },
  17684. "areacode": {
  17685. "description": "机构代码",
  17686. "type": "string"
  17687. },
  17688. "areaid": {
  17689. "description": "机构Id",
  17690. "type": "integer"
  17691. },
  17692. "attachment1": {
  17693. "description": "附件1",
  17694. "type": "string"
  17695. },
  17696. "attachment2": {
  17697. "description": "附件2",
  17698. "type": "string"
  17699. },
  17700. "attachment3": {
  17701. "description": "附件3",
  17702. "type": "string"
  17703. },
  17704. "attachment4": {
  17705. "description": "附件4",
  17706. "type": "string"
  17707. },
  17708. "attachment5": {
  17709. "description": "附件5",
  17710. "type": "string"
  17711. },
  17712. "auditedby": {
  17713. "description": "审核人",
  17714. "type": "string"
  17715. },
  17716. "auditime": {
  17717. "description": "审核时间",
  17718. "type": "string"
  17719. },
  17720. "auditsrc": {
  17721. "description": "审核来源 - 1:管理端 2:终端",
  17722. "type": "integer"
  17723. },
  17724. "bankaccount": {
  17725. "description": "银行帐号 (加密存储)",
  17726. "type": "string"
  17727. },
  17728. "bankaccountname": {
  17729. "description": "收款人名称",
  17730. "type": "string"
  17731. },
  17732. "bankcardbackphotourl": {
  17733. "description": "银行卡背面照地址",
  17734. "type": "string"
  17735. },
  17736. "bankcardfrontphotourl": {
  17737. "description": "银行卡正面照地址",
  17738. "type": "string"
  17739. },
  17740. "bankid": {
  17741. "description": "银行编码",
  17742. "type": "string"
  17743. },
  17744. "bankname": {
  17745. "description": "银行名称",
  17746. "type": "string"
  17747. },
  17748. "bankpictureurl": {
  17749. "description": "银行卡正面地址",
  17750. "type": "string"
  17751. },
  17752. "biznature": {
  17753. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17754. "type": "integer"
  17755. },
  17756. "bizscope": {
  17757. "description": "企业经营范围(企业)",
  17758. "type": "string"
  17759. },
  17760. "biztype": {
  17761. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17762. "type": "integer"
  17763. },
  17764. "brokerid": {
  17765. "description": "经纪人ID(加密存储)",
  17766. "type": "string"
  17767. },
  17768. "cardaddress": {
  17769. "description": "证件地址 (加密存储)",
  17770. "type": "string"
  17771. },
  17772. "cardbackphotourl": {
  17773. "description": "背面证件照地址",
  17774. "type": "string"
  17775. },
  17776. "cardfrontphotourl": {
  17777. "description": "正面证件照地址",
  17778. "type": "string"
  17779. },
  17780. "cardnum": {
  17781. "description": "证件号码 (加密存储)",
  17782. "type": "string"
  17783. },
  17784. "cardtype": {
  17785. "description": "证件类型",
  17786. "type": "integer"
  17787. },
  17788. "cityid": {
  17789. "description": "市",
  17790. "type": "integer"
  17791. },
  17792. "company": {
  17793. "description": "公司(个人)",
  17794. "type": "string"
  17795. },
  17796. "contactcardbackphotourl": {
  17797. "description": "联系人证件背面图片地址",
  17798. "type": "string"
  17799. },
  17800. "contactcardfrontphotourl": {
  17801. "description": "联系人证件正面图片地址",
  17802. "type": "string"
  17803. },
  17804. "contactname": {
  17805. "description": "联系人",
  17806. "type": "string"
  17807. },
  17808. "countryid": {
  17809. "description": "国家",
  17810. "type": "integer"
  17811. },
  17812. "createtime": {
  17813. "description": "开户申请时间",
  17814. "type": "string"
  17815. },
  17816. "cusbankid": {
  17817. "description": "签约类型",
  17818. "type": "string"
  17819. },
  17820. "cusbankname": {
  17821. "description": "签约类型名称",
  17822. "type": "string"
  17823. },
  17824. "customername": {
  17825. "description": "客户名称(企业名称)",
  17826. "type": "string"
  17827. },
  17828. "districtid": {
  17829. "description": "地区",
  17830. "type": "integer"
  17831. },
  17832. "email": {
  17833. "description": "Email地址(加密存储)",
  17834. "type": "string"
  17835. },
  17836. "halfbodyphotourl": {
  17837. "description": "半身照地址",
  17838. "type": "string"
  17839. },
  17840. "headurl": {
  17841. "description": "头像地址",
  17842. "type": "string"
  17843. },
  17844. "ipaddress": {
  17845. "description": "IP地址",
  17846. "type": "string"
  17847. },
  17848. "isvalidate": {
  17849. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17850. "type": "string"
  17851. },
  17852. "legalcardbackphotourl": {
  17853. "description": "法人身份证背面照地址",
  17854. "type": "string"
  17855. },
  17856. "legalcardfrontphotourl": {
  17857. "description": "法人身份证正面照地址",
  17858. "type": "string"
  17859. },
  17860. "legalpersonname": {
  17861. "description": "法人姓名(企业)",
  17862. "type": "string"
  17863. },
  17864. "logincode": {
  17865. "description": "登录帐号 (加密存储)",
  17866. "type": "string"
  17867. },
  17868. "memberareaid": {
  17869. "description": "所属会员ID",
  17870. "type": "integer"
  17871. },
  17872. "mobile2": {
  17873. "description": "手机号码[明文-尚志]",
  17874. "type": "string"
  17875. },
  17876. "mobilephone": {
  17877. "description": "手机号码 (加密存储)",
  17878. "type": "string"
  17879. },
  17880. "modifiedby": {
  17881. "description": "修改人帐号",
  17882. "type": "integer"
  17883. },
  17884. "modifiedtime": {
  17885. "description": "修改时间",
  17886. "type": "string"
  17887. },
  17888. "nickname": {
  17889. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17890. "type": "string"
  17891. },
  17892. "openmode": {
  17893. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17894. "type": "integer"
  17895. },
  17896. "otherurl": {
  17897. "description": "其它图片地址[使用分号分隔]",
  17898. "type": "string"
  17899. },
  17900. "postalcode": {
  17901. "description": "邮政编码",
  17902. "type": "string"
  17903. },
  17904. "provinceid": {
  17905. "description": "省",
  17906. "type": "integer"
  17907. },
  17908. "proxystatementurl": {
  17909. "description": "授权委托书",
  17910. "type": "string"
  17911. },
  17912. "qq": {
  17913. "description": "QQ(加密存储",
  17914. "type": "string"
  17915. },
  17916. "referral": {
  17917. "description": "推荐人编码",
  17918. "type": "string"
  17919. },
  17920. "remark": {
  17921. "description": "备注",
  17922. "type": "string"
  17923. },
  17924. "removebeforestatus": {
  17925. "description": "REMOVEBEFORESTATUS",
  17926. "type": "integer"
  17927. },
  17928. "sex": {
  17929. "description": "性别 - 0:女 1:男",
  17930. "type": "integer"
  17931. },
  17932. "signedstatus": {
  17933. "description": "账户一号签签约状态",
  17934. "type": "integer"
  17935. },
  17936. "signpdfurl": {
  17937. "description": "签约pdf文件",
  17938. "type": "string"
  17939. },
  17940. "subbranch": {
  17941. "description": "开户支行",
  17942. "type": "string"
  17943. },
  17944. "taxpayernum": {
  17945. "description": "纳税人识别号",
  17946. "type": "string"
  17947. },
  17948. "telphone": {
  17949. "description": "联系电话(加密存储)",
  17950. "type": "string"
  17951. },
  17952. "userid": {
  17953. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17954. "type": "integer"
  17955. },
  17956. "userinfotype": {
  17957. "description": "用户信息类型 - 1:个人 2:企业",
  17958. "type": "integer"
  17959. },
  17960. "username": {
  17961. "description": "用户姓名",
  17962. "type": "string"
  17963. },
  17964. "userstate": {
  17965. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17966. "type": "integer"
  17967. },
  17968. "usertype": {
  17969. "description": "用户类型 - 1:投资者 2:机构",
  17970. "type": "integer"
  17971. },
  17972. "videourl": {
  17973. "description": "视频地址",
  17974. "type": "string"
  17975. },
  17976. "wechat": {
  17977. "description": "微信号 (加密存储)",
  17978. "type": "string"
  17979. }
  17980. }
  17981. },
  17982. "erms3.QryAuditContractRsp": {
  17983. "type": "object",
  17984. "required": [
  17985. "matchcustomername",
  17986. "spotcontractid"
  17987. ],
  17988. "properties": {
  17989. "accountid": {
  17990. "description": "交易员ID",
  17991. "type": "string"
  17992. },
  17993. "applystatus": {
  17994. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17995. "type": "integer"
  17996. },
  17997. "curdeliveryqty": {
  17998. "description": "未交收量",
  17999. "type": "integer"
  18000. },
  18001. "customername": {
  18002. "description": "采购方ID",
  18003. "type": "string"
  18004. },
  18005. "deliverygoodsid": {
  18006. "description": "品种ID",
  18007. "type": "string"
  18008. },
  18009. "deliveryqty": {
  18010. "description": "交收量",
  18011. "type": "integer"
  18012. },
  18013. "enumdicname": {
  18014. "description": "单位名称",
  18015. "type": "string"
  18016. },
  18017. "matchaccountid": {
  18018. "description": "业务员ID",
  18019. "type": "string"
  18020. },
  18021. "matchcustomername": {
  18022. "description": "销售方ID",
  18023. "type": "string"
  18024. },
  18025. "pricedqty": {
  18026. "description": "定价量",
  18027. "type": "number"
  18028. },
  18029. "signdate": {
  18030. "description": "签订日期",
  18031. "type": "string"
  18032. },
  18033. "spotcontractid": {
  18034. "description": "合同ID",
  18035. "type": "string"
  18036. },
  18037. "totaldqty": {
  18038. "description": "合同量",
  18039. "type": "number"
  18040. },
  18041. "unpricedqty": {
  18042. "description": "未定价量",
  18043. "type": "number"
  18044. },
  18045. "wrstandardname": {
  18046. "description": "商品名称",
  18047. "type": "string"
  18048. }
  18049. }
  18050. },
  18051. "erms3.QryPendingBizRsp": {
  18052. "type": "object",
  18053. "properties": {
  18054. "accountid": {
  18055. "description": "现货账户",
  18056. "type": "string"
  18057. },
  18058. "areaname": {
  18059. "description": "所属部门",
  18060. "type": "string"
  18061. },
  18062. "bizid": {
  18063. "description": "业务ID",
  18064. "type": "string"
  18065. },
  18066. "bizname": {
  18067. "description": "业务名称",
  18068. "type": "string"
  18069. },
  18070. "status": {
  18071. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18072. "type": "integer"
  18073. },
  18074. "type": {
  18075. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18076. "type": "integer"
  18077. }
  18078. }
  18079. },
  18080. "erms3.QueryBusinessInfoRsp": {
  18081. "type": "object",
  18082. "properties": {
  18083. "businessid": {
  18084. "description": "业务ID.",
  18085. "type": "integer"
  18086. },
  18087. "buyamount": {
  18088. "description": "采购额.",
  18089. "type": "number"
  18090. },
  18091. "buyqty": {
  18092. "description": "采购量.",
  18093. "type": "string"
  18094. },
  18095. "futurepl": {
  18096. "description": "期货盈亏.",
  18097. "type": "number"
  18098. },
  18099. "futureqty": {
  18100. "description": "期货敞口.",
  18101. "type": "string"
  18102. },
  18103. "goodsid": {
  18104. "description": "商品名称/商品代码.",
  18105. "type": "string"
  18106. },
  18107. "hedgingqty": {
  18108. "description": "套保量.",
  18109. "type": "string"
  18110. },
  18111. "sellamount": {
  18112. "description": "销售额.",
  18113. "type": "number"
  18114. },
  18115. "sellqty": {
  18116. "description": "销售量.",
  18117. "type": "string"
  18118. },
  18119. "spotmarketvalue": {
  18120. "description": "现货市值.",
  18121. "type": "number"
  18122. },
  18123. "spotpl": {
  18124. "description": "浮动权益.",
  18125. "type": "number"
  18126. },
  18127. "spotqty": {
  18128. "description": "现货量.",
  18129. "type": "string"
  18130. },
  18131. "statu": {
  18132. "description": "状态,0-未结束 1-已结束.",
  18133. "type": "integer"
  18134. },
  18135. "totalpl": {
  18136. "description": "总盈亏.",
  18137. "type": "number"
  18138. },
  18139. "totalqty": {
  18140. "description": "总敞口.",
  18141. "type": "string"
  18142. },
  18143. "type": {
  18144. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18145. "type": "integer"
  18146. }
  18147. }
  18148. },
  18149. "erms3.QuerySpotContractAppleFormRsp": {
  18150. "type": "object",
  18151. "properties": {
  18152. "goodses": {
  18153. "description": "合约列表",
  18154. "type": "array",
  18155. "items": {
  18156. "$ref": "#/definitions/models.GoodsIDAndName"
  18157. }
  18158. },
  18159. "oppositeusers": {
  18160. "description": "对方账号列表",
  18161. "type": "array",
  18162. "items": {
  18163. "$ref": "#/definitions/erms3.CustomerInfo"
  18164. }
  18165. },
  18166. "ouruser": {
  18167. "description": "我方账号",
  18168. "$ref": "#/definitions/erms3.CustomerInfo"
  18169. },
  18170. "warehouseinfos": {
  18171. "description": "仓库信息列表",
  18172. "type": "array",
  18173. "items": {
  18174. "$ref": "#/definitions/models.Warehouseinfo"
  18175. }
  18176. },
  18177. "wrstandards": {
  18178. "description": "仓单标准列表",
  18179. "type": "array",
  18180. "items": {
  18181. "$ref": "#/definitions/models.WRStandardInfo"
  18182. }
  18183. }
  18184. }
  18185. },
  18186. "erms3.QuerySpotContractInfoRsp": {
  18187. "type": "object",
  18188. "properties": {
  18189. "accountid": {
  18190. "description": "表示交易员ID.",
  18191. "type": "integer"
  18192. },
  18193. "curdeliveryqty": {
  18194. "description": "表示未交收量.",
  18195. "type": "number"
  18196. },
  18197. "customername": {
  18198. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18199. "type": "string"
  18200. },
  18201. "deliverygoodsid": {
  18202. "description": "表示品种ID.",
  18203. "type": "string"
  18204. },
  18205. "deliveryqty": {
  18206. "description": "表示交收量.",
  18207. "type": "number"
  18208. },
  18209. "matchaccountid": {
  18210. "description": "表示业务员ID.",
  18211. "type": "integer"
  18212. },
  18213. "matchcustomername": {
  18214. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18215. "type": "string"
  18216. },
  18217. "priceqty": {
  18218. "description": "表示定价量.",
  18219. "type": "number"
  18220. },
  18221. "relatedbizid": {
  18222. "description": "表示业务ID.",
  18223. "type": "string"
  18224. },
  18225. "signdate": {
  18226. "description": "表示签订日期.",
  18227. "type": "string"
  18228. },
  18229. "spotcontractid": {
  18230. "description": "合同ID",
  18231. "type": "string"
  18232. },
  18233. "status": {
  18234. "description": "表示状态,0-履约中 1-已完成.",
  18235. "type": "integer"
  18236. },
  18237. "totalqty": {
  18238. "description": "表示合同量.",
  18239. "type": "number"
  18240. },
  18241. "unpricedqty": {
  18242. "description": "表示未定价量.",
  18243. "type": "number"
  18244. },
  18245. "wrstandardname": {
  18246. "description": "表示商品ID.",
  18247. "type": "string"
  18248. }
  18249. }
  18250. },
  18251. "erms3.QueryUserInfoAppliesRsp": {
  18252. "type": "object",
  18253. "required": [
  18254. "userid"
  18255. ],
  18256. "properties": {
  18257. "biznature": {
  18258. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18259. "type": "integer"
  18260. },
  18261. "contactname": {
  18262. "description": "联系人",
  18263. "type": "string"
  18264. },
  18265. "createtime": {
  18266. "description": "开户申请时间",
  18267. "type": "string"
  18268. },
  18269. "userid": {
  18270. "description": "用户ID(自增ID)",
  18271. "type": "integer"
  18272. },
  18273. "userinfotype": {
  18274. "description": "用户信息类型 - 1:个人 2:企业",
  18275. "type": "integer"
  18276. },
  18277. "username": {
  18278. "description": "用户姓名",
  18279. "type": "string"
  18280. },
  18281. "userstate": {
  18282. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18283. "type": "integer"
  18284. }
  18285. }
  18286. },
  18287. "erms3.QueryUserInfosRsp": {
  18288. "type": "object",
  18289. "required": [
  18290. "userid"
  18291. ],
  18292. "properties": {
  18293. "biznature": {
  18294. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18295. "type": "integer"
  18296. },
  18297. "contactname": {
  18298. "description": "联系人",
  18299. "type": "string"
  18300. },
  18301. "customername": {
  18302. "description": "客户名称(企业名称)",
  18303. "type": "string"
  18304. },
  18305. "userid": {
  18306. "description": "用户ID",
  18307. "type": "integer"
  18308. },
  18309. "userinfotype": {
  18310. "description": "用户信息类型 - 1:个人 2:企业",
  18311. "type": "integer"
  18312. },
  18313. "userstatus": {
  18314. "description": "用户状态 - 1:正常 2:注销",
  18315. "type": "integer"
  18316. }
  18317. }
  18318. },
  18319. "erms3.SoptContractDetail": {
  18320. "type": "object",
  18321. "required": [
  18322. "deliverygoodsid",
  18323. "producttype",
  18324. "unitname",
  18325. "warehouseid",
  18326. "wrstandardid",
  18327. "wrstandardname"
  18328. ],
  18329. "properties": {
  18330. "deliverygoodsdesc": {
  18331. "description": "现货品种说明",
  18332. "type": "string"
  18333. },
  18334. "deliverygoodsid": {
  18335. "description": "现货品种ID",
  18336. "type": "integer"
  18337. },
  18338. "deliverygoodsname": {
  18339. "description": "现货品种名称",
  18340. "type": "string"
  18341. },
  18342. "pointdesc": {
  18343. "description": "点价描述",
  18344. "type": "string"
  18345. },
  18346. "producttype": {
  18347. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18348. "type": "integer"
  18349. },
  18350. "producttypename": {
  18351. "description": "产品类型名称",
  18352. "type": "string"
  18353. },
  18354. "spotPointOrderVoList": {
  18355. "description": "点价列表",
  18356. "type": "array",
  18357. "items": {
  18358. "$ref": "#/definitions/erms3.SpotPointOrder"
  18359. }
  18360. },
  18361. "spotPriceOrderList": {
  18362. "description": "定价列表",
  18363. "type": "array",
  18364. "items": {
  18365. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18366. }
  18367. },
  18368. "unitname": {
  18369. "description": "单位名称",
  18370. "type": "string"
  18371. },
  18372. "warehouseid": {
  18373. "description": "仓库ID",
  18374. "type": "integer"
  18375. },
  18376. "warehousename": {
  18377. "description": "仓库名称",
  18378. "type": "string"
  18379. },
  18380. "wrstandardid": {
  18381. "description": "交易标的ID",
  18382. "type": "integer"
  18383. },
  18384. "wrstandardname": {
  18385. "description": "交易标的名称",
  18386. "type": "string"
  18387. }
  18388. }
  18389. },
  18390. "erms3.SpotPointOrder": {
  18391. "type": "object",
  18392. "required": [
  18393. "basic",
  18394. "goodsid",
  18395. "qty"
  18396. ],
  18397. "properties": {
  18398. "basic": {
  18399. "description": "基差",
  18400. "type": "number"
  18401. },
  18402. "deliveryenddate": {
  18403. "description": "交收结束日期",
  18404. "type": "string"
  18405. },
  18406. "deliverystartdate": {
  18407. "description": "交收开始日期",
  18408. "type": "string"
  18409. },
  18410. "enddate": {
  18411. "description": "点价结束日期",
  18412. "type": "string"
  18413. },
  18414. "goodsid": {
  18415. "description": "商品ID",
  18416. "type": "integer"
  18417. },
  18418. "goodsname": {
  18419. "description": "商品名称",
  18420. "type": "string"
  18421. },
  18422. "qty": {
  18423. "description": "数量",
  18424. "type": "number"
  18425. },
  18426. "startdate": {
  18427. "description": "点价开始日期",
  18428. "type": "string"
  18429. }
  18430. }
  18431. },
  18432. "erms3.SpotPriceOrder": {
  18433. "type": "object",
  18434. "required": [
  18435. "amount",
  18436. "price",
  18437. "qty"
  18438. ],
  18439. "properties": {
  18440. "amount": {
  18441. "description": "金额",
  18442. "type": "number"
  18443. },
  18444. "deliveryenddate": {
  18445. "description": "交收结束日期",
  18446. "type": "string"
  18447. },
  18448. "deliverystartdate": {
  18449. "description": "交收开始日期",
  18450. "type": "string"
  18451. },
  18452. "price": {
  18453. "description": "价格",
  18454. "type": "number"
  18455. },
  18456. "qty": {
  18457. "description": "数量",
  18458. "type": "number"
  18459. }
  18460. }
  18461. },
  18462. "models.Arearole": {
  18463. "type": "object",
  18464. "required": [
  18465. "roletype",
  18466. "userid"
  18467. ],
  18468. "properties": {
  18469. "createtime": {
  18470. "description": "创建时间",
  18471. "type": "string"
  18472. },
  18473. "creatorid": {
  18474. "description": "创建人ID",
  18475. "type": "integer"
  18476. },
  18477. "fromuserid": {
  18478. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18479. "type": "integer"
  18480. },
  18481. "isreturnscore": {
  18482. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18483. "type": "integer"
  18484. },
  18485. "modifierid": {
  18486. "description": "修改人ID",
  18487. "type": "integer"
  18488. },
  18489. "modifytime": {
  18490. "description": "修改时间",
  18491. "type": "string"
  18492. },
  18493. "orgtype": {
  18494. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18495. "type": "integer"
  18496. },
  18497. "outuserid": {
  18498. "description": "外部账户[场外期权做市商]",
  18499. "type": "string"
  18500. },
  18501. "parentuserid": {
  18502. "description": "上级组织机构(组织机构)",
  18503. "type": "integer"
  18504. },
  18505. "roletype": {
  18506. "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:门店",
  18507. "type": "integer"
  18508. },
  18509. "rootuserid": {
  18510. "description": "顶级组织机构用户ID(组织机构)",
  18511. "type": "integer"
  18512. },
  18513. "shoppassword": {
  18514. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18515. "type": "string"
  18516. },
  18517. "sublevelpath": {
  18518. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18519. "type": "string"
  18520. },
  18521. "suborgtype": {
  18522. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18523. "type": "integer"
  18524. },
  18525. "tradeaccountid": {
  18526. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18527. "type": "integer"
  18528. },
  18529. "transurl": {
  18530. "description": "物流地址(物流机构)",
  18531. "type": "string"
  18532. },
  18533. "userid": {
  18534. "description": "机构用户ID其他做市关系,都设置为 1",
  18535. "type": "integer"
  18536. }
  18537. }
  18538. },
  18539. "models.BuyOrder": {
  18540. "type": "object",
  18541. "properties": {
  18542. "accountid": {
  18543. "description": "资金账户ID",
  18544. "type": "integer"
  18545. },
  18546. "buyusername": {
  18547. "description": "买方",
  18548. "type": "string"
  18549. },
  18550. "marketid": {
  18551. "description": "市场ID",
  18552. "type": "integer"
  18553. },
  18554. "ordertime": {
  18555. "description": "委托时间",
  18556. "type": "string"
  18557. },
  18558. "origin": {
  18559. "description": "原产地",
  18560. "type": "string"
  18561. },
  18562. "remark": {
  18563. "description": "备注",
  18564. "type": "string"
  18565. },
  18566. "userid": {
  18567. "description": "用户ID",
  18568. "type": "integer"
  18569. },
  18570. "validtime": {
  18571. "description": "有效期限",
  18572. "type": "string"
  18573. },
  18574. "warehouseids": {
  18575. "description": "仓库ID - 多个, 逗号分隔",
  18576. "type": "string"
  18577. },
  18578. "warehouseinfosdisplay": {
  18579. "type": "string"
  18580. },
  18581. "wrtradeorderid": {
  18582. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  18583. "type": "string"
  18584. },
  18585. "wrtradeorderstatus": {
  18586. "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、",
  18587. "type": "integer"
  18588. },
  18589. "zscategory": {
  18590. "description": "钻石分类 - 枚举”ZSCategory“",
  18591. "type": "integer"
  18592. },
  18593. "zscategorydisplay": {
  18594. "type": "string"
  18595. },
  18596. "zsclaritytype": {
  18597. "description": "净度 - 两个, 逗号分隔",
  18598. "type": "string"
  18599. },
  18600. "zsclaritytypedisplay": {
  18601. "type": "string"
  18602. },
  18603. "zscolortype": {
  18604. "description": "颜色 - 两个, 逗号分隔",
  18605. "type": "string"
  18606. },
  18607. "zscolortypedisplay": {
  18608. "type": "string"
  18609. },
  18610. "zscrystaltype": {
  18611. "description": "晶型 - 多个,逗号分隔",
  18612. "type": "string"
  18613. },
  18614. "zscrystaltypedisplay": {
  18615. "type": "string"
  18616. },
  18617. "zscurrencytype": {
  18618. "description": "货币类型 - 多个, 逗号分隔",
  18619. "type": "string"
  18620. },
  18621. "zscurrencytypedisplay": {
  18622. "type": "string"
  18623. },
  18624. "zscuttype": {
  18625. "description": "切工 - 两个, 逗号分隔",
  18626. "type": "string"
  18627. },
  18628. "zscuttypedisplay": {
  18629. "type": "string"
  18630. },
  18631. "zsczcolor1type": {
  18632. "description": "彩钻颜色1, 逗号分隔",
  18633. "type": "string"
  18634. },
  18635. "zsczcolor1typedisplay": {
  18636. "type": "string"
  18637. },
  18638. "zsczcolor2type": {
  18639. "description": "彩钻颜色2, 逗号分隔",
  18640. "type": "string"
  18641. },
  18642. "zsczcolor2typedisplay": {
  18643. "type": "string"
  18644. },
  18645. "zsczcolor3type": {
  18646. "description": "彩钻颜色3, 逗号分隔",
  18647. "type": "string"
  18648. },
  18649. "zsczcolor3typedisplay": {
  18650. "type": "string"
  18651. },
  18652. "zsfluorescencetype": {
  18653. "description": "荧光 - 多个, 逗号分隔",
  18654. "type": "string"
  18655. },
  18656. "zsfluorescencetypedisplay": {
  18657. "type": "string"
  18658. },
  18659. "zspolishtype": {
  18660. "description": "抛光度 - 两个, 逗号分隔",
  18661. "type": "string"
  18662. },
  18663. "zspolishtypedisplay": {
  18664. "type": "string"
  18665. },
  18666. "zsshapetype": {
  18667. "description": "形状 - 多个, 逗号分隔",
  18668. "type": "string"
  18669. },
  18670. "zsshapetypedisplay": {
  18671. "type": "string"
  18672. },
  18673. "zssize": {
  18674. "description": "尺寸 - 两个小数, 逗号分隔",
  18675. "type": "string"
  18676. },
  18677. "zsstyletype": {
  18678. "description": "款式 - 多个, 逗号分隔",
  18679. "type": "string"
  18680. },
  18681. "zsstyletypedisplay": {
  18682. "type": "string"
  18683. },
  18684. "zssymmetrytype": {
  18685. "description": "对称度 - 两个, 逗号分隔",
  18686. "type": "string"
  18687. },
  18688. "zssymmetrytypedisplay": {
  18689. "type": "string"
  18690. },
  18691. "zstabledisplay": {
  18692. "description": "求购信息",
  18693. "type": "string"
  18694. }
  18695. }
  18696. },
  18697. "models.DgFactoryItem": {
  18698. "type": "object",
  18699. "properties": {
  18700. "dgfactoryitemid": {
  18701. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18702. "type": "integer"
  18703. },
  18704. "dgfactoryitemtypeid": {
  18705. "description": "要素项类型",
  18706. "type": "integer"
  18707. },
  18708. "dgfactoryitemvalue": {
  18709. "description": "要素项值(类型为仓库时填写仓库名称)",
  18710. "type": "string"
  18711. },
  18712. "orderindex": {
  18713. "description": "顺序",
  18714. "type": "integer"
  18715. }
  18716. }
  18717. },
  18718. "models.Division": {
  18719. "type": "object",
  18720. "required": [
  18721. "autoid",
  18722. "divisioncode"
  18723. ],
  18724. "properties": {
  18725. "autoid": {
  18726. "description": "自增ID",
  18727. "type": "integer"
  18728. },
  18729. "divisioncode": {
  18730. "description": "行政代码",
  18731. "type": "string"
  18732. },
  18733. "divisionlevel": {
  18734. "description": "行政级别",
  18735. "type": "string"
  18736. },
  18737. "divisionname": {
  18738. "description": "行政名称",
  18739. "type": "string"
  18740. },
  18741. "modifierid": {
  18742. "description": "修改人",
  18743. "type": "integer"
  18744. },
  18745. "modifytime": {
  18746. "description": "修改时间",
  18747. "type": "string"
  18748. },
  18749. "parentcode": {
  18750. "description": "上级行政代码",
  18751. "type": "string"
  18752. },
  18753. "pathname": {
  18754. "description": "路径名称",
  18755. "type": "string"
  18756. },
  18757. "postcode": {
  18758. "description": "邮政编码",
  18759. "type": "string"
  18760. },
  18761. "separablename": {
  18762. "description": "可拆分的全称",
  18763. "type": "string"
  18764. },
  18765. "shortcode": {
  18766. "description": "地区简码",
  18767. "type": "string"
  18768. }
  18769. }
  18770. },
  18771. "models.Enumdicitem": {
  18772. "type": "object",
  18773. "required": [
  18774. "autoid",
  18775. "enumdiccode",
  18776. "enumdicid",
  18777. "enumitemname"
  18778. ],
  18779. "properties": {
  18780. "autoid": {
  18781. "description": "自增ID",
  18782. "type": "integer"
  18783. },
  18784. "bankmappedvalue": {
  18785. "description": "银行服务对应值",
  18786. "type": "string"
  18787. },
  18788. "enumdiccode": {
  18789. "description": "所属枚举代码",
  18790. "type": "string"
  18791. },
  18792. "enumdicid": {
  18793. "description": "所属枚举ID",
  18794. "type": "integer"
  18795. },
  18796. "enumdicname": {
  18797. "description": "枚举项名称",
  18798. "type": "string"
  18799. },
  18800. "enumitemname": {
  18801. "description": "枚举项值",
  18802. "type": "integer"
  18803. },
  18804. "enumitemstatus": {
  18805. "description": "枚举项状态 - 1.启用 2.不启用",
  18806. "type": "integer"
  18807. },
  18808. "enumitemvalue": {
  18809. "description": "通用值 - [币种通用简写]",
  18810. "type": "string"
  18811. },
  18812. "param1": {
  18813. "description": "参数1[币种:币种小数位]",
  18814. "type": "string"
  18815. },
  18816. "param2": {
  18817. "description": "参数1[币种:币种显示单位]",
  18818. "type": "string"
  18819. },
  18820. "remark": {
  18821. "description": "备注",
  18822. "type": "string"
  18823. }
  18824. }
  18825. },
  18826. "models.Ermcp2AreaExposure": {
  18827. "type": "object",
  18828. "properties": {
  18829. "areauserid": {
  18830. "description": "所属机构",
  18831. "type": "integer"
  18832. },
  18833. "enumdicname": {
  18834. "description": "单位",
  18835. "type": "string"
  18836. },
  18837. "futureqty": {
  18838. "description": "期货套期量",
  18839. "type": "number"
  18840. },
  18841. "futureqtychange": {
  18842. "description": "期货变动量 = FutureQty - OriFutureQty",
  18843. "type": "number"
  18844. },
  18845. "goodsunitid": {
  18846. "description": "单位ID",
  18847. "type": "integer"
  18848. },
  18849. "hedgedspotexposure": {
  18850. "description": "被套期现货敞口量",
  18851. "type": "number"
  18852. },
  18853. "hedgedspratio": {
  18854. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  18855. "type": "number"
  18856. },
  18857. "hedgedtotalexposourechange": {
  18858. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  18859. "type": "number"
  18860. },
  18861. "hedgedtotalexposure": {
  18862. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  18863. "type": "number"
  18864. },
  18865. "hedgeplanqty": {
  18866. "description": "套期计划量",
  18867. "type": "number"
  18868. },
  18869. "hedgeplanqtychange": {
  18870. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  18871. "type": "number"
  18872. },
  18873. "hedgespotqty": {
  18874. "description": "被套期现货量",
  18875. "type": "number"
  18876. },
  18877. "middlegoodsid": {
  18878. "description": "套保品种",
  18879. "type": "integer"
  18880. },
  18881. "middlegoodsname": {
  18882. "description": "套保品种名称",
  18883. "type": "string"
  18884. },
  18885. "orifutureqty": {
  18886. "description": "期初期货套期量",
  18887. "type": "number"
  18888. },
  18889. "orihedgedspotexposure": {
  18890. "description": "期初被套期现货敞口量",
  18891. "type": "number"
  18892. },
  18893. "orihedgedtotalexposure": {
  18894. "description": "期初套期敞口量",
  18895. "type": "number"
  18896. },
  18897. "orihedgeplanqty": {
  18898. "description": "期初套期计划量",
  18899. "type": "number"
  18900. },
  18901. "orihedgespotqty": {
  18902. "description": "期初被套期现货量",
  18903. "type": "number"
  18904. },
  18905. "orispotexposure": {
  18906. "description": "期初现货敞口量",
  18907. "type": "number"
  18908. },
  18909. "orispotqty": {
  18910. "description": "期初现货总量",
  18911. "type": "number"
  18912. },
  18913. "oritotalexposure": {
  18914. "description": "期初总敞口量",
  18915. "type": "number"
  18916. },
  18917. "spotexposure": {
  18918. "description": "现货敞口量",
  18919. "type": "number"
  18920. },
  18921. "spotqty": {
  18922. "description": "现货总量",
  18923. "type": "number"
  18924. },
  18925. "spotqtychange": {
  18926. "description": "现货变动量 = SpotQty - OriSpotQty",
  18927. "type": "number"
  18928. },
  18929. "spratio": {
  18930. "description": "总期现比例 = 期货套期量/现货敞口量",
  18931. "type": "number"
  18932. },
  18933. "totalexposure": {
  18934. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  18935. "type": "number"
  18936. },
  18937. "totalexposurechange": {
  18938. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  18939. "type": "number"
  18940. },
  18941. "updatetime": {
  18942. "description": "更新时间 --DATE",
  18943. "type": "string"
  18944. }
  18945. }
  18946. },
  18947. "models.Ermcp2hedgeditem": {
  18948. "type": "object",
  18949. "properties": {
  18950. "accountname": {
  18951. "description": "套期主体",
  18952. "type": "string"
  18953. },
  18954. "applyid": {
  18955. "description": "申请人",
  18956. "type": "integer"
  18957. },
  18958. "applysrc": {
  18959. "description": "申请来源 - 1:管理端 2:终端",
  18960. "type": "integer"
  18961. },
  18962. "areauserid": {
  18963. "description": "企业ID",
  18964. "type": "integer"
  18965. },
  18966. "auditid": {
  18967. "description": "审核人",
  18968. "type": "integer"
  18969. },
  18970. "auditremark": {
  18971. "description": "审核备注",
  18972. "type": "string"
  18973. },
  18974. "auditsrc": {
  18975. "description": "审核来源 - 1:管理端 2:终端",
  18976. "type": "integer"
  18977. },
  18978. "audittime": {
  18979. "description": "审核时间",
  18980. "type": "string"
  18981. },
  18982. "audittradedate": {
  18983. "description": "审核交易日(yyyyMMdd)",
  18984. "type": "string"
  18985. },
  18986. "createtime": {
  18987. "description": "申请时间",
  18988. "type": "string"
  18989. },
  18990. "curprice": {
  18991. "description": "当前市场价",
  18992. "type": "number"
  18993. },
  18994. "curstock": {
  18995. "description": "期末库存量 = 采购总量 - 销售总量",
  18996. "type": "number"
  18997. },
  18998. "deliverygoodsid": {
  18999. "description": "现货品种ID",
  19000. "type": "integer"
  19001. },
  19002. "enddate": {
  19003. "description": "完成日期",
  19004. "type": "string"
  19005. },
  19006. "endtradedate": {
  19007. "description": "完成交易日",
  19008. "type": "string"
  19009. },
  19010. "enumdicname": {
  19011. "description": "单位",
  19012. "type": "string"
  19013. },
  19014. "exeamount": {
  19015. "description": "执行市价总额",
  19016. "type": "number"
  19017. },
  19018. "exeavgprice": {
  19019. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  19020. "type": "number"
  19021. },
  19022. "execontractamount": {
  19023. "description": "执行定价总额",
  19024. "type": "number"
  19025. },
  19026. "exeqty": {
  19027. "description": "执行现货量",
  19028. "type": "number"
  19029. },
  19030. "exerestamount": {
  19031. "description": "执行剩余市价总额【现货贸易】",
  19032. "type": "number"
  19033. },
  19034. "futurefloatpl": {
  19035. "description": "期货浮动损益",
  19036. "type": "number"
  19037. },
  19038. "futurehedgepl": {
  19039. "description": "期货实际损益",
  19040. "type": "number"
  19041. },
  19042. "futurehedgeplchange": {
  19043. "description": "期货实际损益变动",
  19044. "type": "number"
  19045. },
  19046. "futurepl": {
  19047. "description": "期货套期损益",
  19048. "type": "number"
  19049. },
  19050. "futureplchange": {
  19051. "description": "期货套期损益变动",
  19052. "type": "number"
  19053. },
  19054. "hedgeamount": {
  19055. "description": "套期市价总额",
  19056. "type": "number"
  19057. },
  19058. "hedgecontractamount": {
  19059. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  19060. "type": "number"
  19061. },
  19062. "hedgeditemid": {
  19063. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  19064. "type": "string"
  19065. },
  19066. "hedgeditemname": {
  19067. "description": "项目名称",
  19068. "type": "string"
  19069. },
  19070. "hedgeditemnum": {
  19071. "description": "项目编号",
  19072. "type": "string"
  19073. },
  19074. "hedgeditemstatus": {
  19075. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19076. "type": "integer"
  19077. },
  19078. "hedgedtype": {
  19079. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19080. "type": "integer"
  19081. },
  19082. "hedgeqty": {
  19083. "description": "套期现货量",
  19084. "type": "number"
  19085. },
  19086. "hedgerate": {
  19087. "description": "套保比率",
  19088. "type": "number"
  19089. },
  19090. "hedgerestamount": {
  19091. "description": "套期剩余市价总额【现货贸易】",
  19092. "type": "number"
  19093. },
  19094. "hedgesumpl": {
  19095. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  19096. "type": "number"
  19097. },
  19098. "middlegoodslist": {
  19099. "description": "套期商品列表",
  19100. "type": "array",
  19101. "items": {
  19102. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  19103. }
  19104. },
  19105. "oriavgprice": {
  19106. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  19107. "type": "number"
  19108. },
  19109. "orifuturehedgepl": {
  19110. "description": "期初期货实际损益",
  19111. "type": "number"
  19112. },
  19113. "orifuturepl": {
  19114. "description": "期初期货套期损益",
  19115. "type": "number"
  19116. },
  19117. "orispothedgepl": {
  19118. "description": "期初现货实际损益",
  19119. "type": "number"
  19120. },
  19121. "orispotpl": {
  19122. "description": "期初现货套期损益",
  19123. "type": "number"
  19124. },
  19125. "planenddate": {
  19126. "description": "计划结束日期",
  19127. "type": "string"
  19128. },
  19129. "planstartdate": {
  19130. "description": "计划开始日期",
  19131. "type": "string"
  19132. },
  19133. "remark": {
  19134. "description": "备注",
  19135. "type": "string"
  19136. },
  19137. "spotbookamount": {
  19138. "description": "现货账面总额",
  19139. "type": "number"
  19140. },
  19141. "spotfloatpl": {
  19142. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  19143. "type": "number"
  19144. },
  19145. "spothedgepl": {
  19146. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  19147. "type": "number"
  19148. },
  19149. "spothedgeplchange": {
  19150. "description": "现货实际损益变动",
  19151. "type": "number"
  19152. },
  19153. "spotpl": {
  19154. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  19155. "type": "number"
  19156. },
  19157. "spotplchange": {
  19158. "description": "现货套期损益变动",
  19159. "type": "number"
  19160. },
  19161. "spottradepl": {
  19162. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  19163. "type": "number"
  19164. },
  19165. "sumobspl": {
  19166. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  19167. "type": "number"
  19168. },
  19169. "tradeuserid": {
  19170. "description": "交易用户ID",
  19171. "type": "integer"
  19172. },
  19173. "unexeqty": {
  19174. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  19175. "type": "number"
  19176. },
  19177. "updatetime": {
  19178. "description": "更新时间",
  19179. "type": "string"
  19180. },
  19181. "vatpl": {
  19182. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  19183. "type": "number"
  19184. },
  19185. "vatrate": {
  19186. "description": "增值税",
  19187. "type": "number"
  19188. },
  19189. "wrstandardid": {
  19190. "description": "现货商品ID",
  19191. "type": "integer"
  19192. },
  19193. "wrstandardname": {
  19194. "description": "商品名称",
  19195. "type": "string"
  19196. }
  19197. }
  19198. },
  19199. "models.Ermcp2hedgeditemlink": {
  19200. "type": "object",
  19201. "required": [
  19202. "relatedspotcontractid"
  19203. ],
  19204. "properties": {
  19205. "areauserid": {
  19206. "description": "企业ID",
  19207. "type": "integer"
  19208. },
  19209. "createtime": {
  19210. "description": "[关联时间]创建时间",
  19211. "type": "string"
  19212. },
  19213. "customeruserid": {
  19214. "description": "对手方 【3:采购合同 4:销售合同】",
  19215. "type": "integer"
  19216. },
  19217. "deliverygoodsid": {
  19218. "description": "现货品种ID",
  19219. "type": "integer"
  19220. },
  19221. "enumdicname": {
  19222. "description": "单位",
  19223. "type": "string"
  19224. },
  19225. "hedgeditemid": {
  19226. "description": "被套期项目ID",
  19227. "type": "integer"
  19228. },
  19229. "hedgeditemlinkid": {
  19230. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  19231. "type": "integer"
  19232. },
  19233. "hedgeditemnum": {
  19234. "description": "项目编号",
  19235. "type": "string"
  19236. },
  19237. "hedgedtype": {
  19238. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19239. "type": "integer"
  19240. },
  19241. "relatedamount": {
  19242. "description": "市价总额 = 关联数量 * 期初市场价",
  19243. "type": "number"
  19244. },
  19245. "relatedhedgeplanid": {
  19246. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19247. "type": "integer"
  19248. },
  19249. "relatedqty": {
  19250. "description": "关联数量",
  19251. "type": "number"
  19252. },
  19253. "relatedspotcontractid": {
  19254. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19255. "type": "integer"
  19256. },
  19257. "relatedtype": {
  19258. "description": "关联类型 - 1:套期关联 2:执行关联",
  19259. "type": "integer"
  19260. },
  19261. "spotgoodsbrandid": {
  19262. "description": "现货品牌ID",
  19263. "type": "integer"
  19264. },
  19265. "spotpricedamount": {
  19266. "description": "[关联定价总额]定价总额",
  19267. "type": "number"
  19268. },
  19269. "spotpricedavgprice": {
  19270. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  19271. "type": "number"
  19272. },
  19273. "spottype": {
  19274. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19275. "type": "integer"
  19276. },
  19277. "tradeuserid": {
  19278. "description": "交易用户ID",
  19279. "type": "integer"
  19280. },
  19281. "unexeqty": {
  19282. "description": "未执行现货量【项目关联时值】",
  19283. "type": "number"
  19284. },
  19285. "wrstandardid": {
  19286. "description": "现货商品ID",
  19287. "type": "integer"
  19288. },
  19289. "wrstandardname": {
  19290. "description": "现货商品",
  19291. "type": "string"
  19292. }
  19293. }
  19294. },
  19295. "models.Ermcp2hedgeditemsDetail": {
  19296. "type": "object",
  19297. "properties": {
  19298. "accountname": {
  19299. "description": "套期主体",
  19300. "type": "string"
  19301. },
  19302. "areauserid": {
  19303. "description": "企业ID",
  19304. "type": "integer"
  19305. },
  19306. "createtime": {
  19307. "description": "[日期时间]创建时间",
  19308. "type": "string"
  19309. },
  19310. "customeruserid": {
  19311. "description": "对手方 【3:采购合同 4:销售合同】",
  19312. "type": "integer"
  19313. },
  19314. "deliverygoodsid": {
  19315. "description": "现货品种ID",
  19316. "type": "integer"
  19317. },
  19318. "enumdicname": {
  19319. "description": "单位",
  19320. "type": "string"
  19321. },
  19322. "hedgeditemid": {
  19323. "description": "被套期项目ID",
  19324. "type": "string"
  19325. },
  19326. "hedgeditemspotid": {
  19327. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19328. "type": "string"
  19329. },
  19330. "hedgedtype": {
  19331. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19332. "type": "integer"
  19333. },
  19334. "hedgeplanno": {
  19335. "description": "计划编号",
  19336. "type": "string"
  19337. },
  19338. "middlegoodschange": {
  19339. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  19340. "type": "number"
  19341. },
  19342. "oriavgprice": {
  19343. "description": "期初市场价[当初市场价]",
  19344. "type": "number"
  19345. },
  19346. "relatedamount": {
  19347. "description": "市价总额 = 关联数量 * 期初市场价",
  19348. "type": "number"
  19349. },
  19350. "relatedhedgeplanid": {
  19351. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19352. "type": "integer"
  19353. },
  19354. "relatedqty": {
  19355. "description": "[期间变化量]关联数量",
  19356. "type": "number"
  19357. },
  19358. "relatedspotcontractid": {
  19359. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19360. "type": "integer"
  19361. },
  19362. "relatedtype": {
  19363. "description": "关联类型 - 1:套期关联 2:执行关联",
  19364. "type": "integer"
  19365. },
  19366. "spotgoodsbrandid": {
  19367. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19368. "type": "integer"
  19369. },
  19370. "spotpricedamount": {
  19371. "description": "定价总额",
  19372. "type": "number"
  19373. },
  19374. "spotpricedavgprice": {
  19375. "description": "现货均价 = 定价总额 / 关联数量",
  19376. "type": "number"
  19377. },
  19378. "spottype": {
  19379. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19380. "type": "integer"
  19381. },
  19382. "tradeuserid": {
  19383. "description": "交易用户ID",
  19384. "type": "integer"
  19385. },
  19386. "unexeqty": {
  19387. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  19388. "type": "number"
  19389. },
  19390. "wrstandardid": {
  19391. "description": "现货商品ID",
  19392. "type": "integer"
  19393. },
  19394. "wrstandardname": {
  19395. "description": "现货商品",
  19396. "type": "string"
  19397. }
  19398. }
  19399. },
  19400. "models.Ermcp2hedgeditemspot": {
  19401. "type": "object",
  19402. "required": [
  19403. "hedgeditemid"
  19404. ],
  19405. "properties": {
  19406. "areauserid": {
  19407. "description": "企业ID",
  19408. "type": "integer"
  19409. },
  19410. "createtime": {
  19411. "description": "创建时间",
  19412. "type": "string"
  19413. },
  19414. "customeruserid": {
  19415. "description": "对手方 【3:采购合同 4:销售合同】",
  19416. "type": "integer"
  19417. },
  19418. "deliverygoodsid": {
  19419. "description": "现货品种ID",
  19420. "type": "integer"
  19421. },
  19422. "enumdicname": {
  19423. "description": "单位",
  19424. "type": "string"
  19425. },
  19426. "hedgeditemid": {
  19427. "description": "被套期项目ID",
  19428. "type": "string"
  19429. },
  19430. "hedgeditemspotid": {
  19431. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19432. "type": "string"
  19433. },
  19434. "hedgedtype": {
  19435. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19436. "type": "integer"
  19437. },
  19438. "hedgeplanno": {
  19439. "description": "计划编号",
  19440. "type": "string"
  19441. },
  19442. "oriavgprice": {
  19443. "description": "期初市场价[当初市场价]",
  19444. "type": "number"
  19445. },
  19446. "relatedamount": {
  19447. "description": "市价总额 = 关联数量 * 期初市场价",
  19448. "type": "number"
  19449. },
  19450. "relatedhedgeplanid": {
  19451. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19452. "type": "integer"
  19453. },
  19454. "relatedqty": {
  19455. "description": "关联数量[数量]",
  19456. "type": "number"
  19457. },
  19458. "relatedspotcontractid": {
  19459. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19460. "type": "integer"
  19461. },
  19462. "relatedtype": {
  19463. "description": "关联类型 - 1:套期关联 2:执行关联",
  19464. "type": "integer"
  19465. },
  19466. "spotgoodsbrandid": {
  19467. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19468. "type": "integer"
  19469. },
  19470. "spotpricedamount": {
  19471. "description": "定价总额",
  19472. "type": "number"
  19473. },
  19474. "spotpricedavgprice": {
  19475. "description": "现货均价 = 定价总额 / 关联数量",
  19476. "type": "number"
  19477. },
  19478. "spottype": {
  19479. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19480. "type": "integer"
  19481. },
  19482. "tradeuserid": {
  19483. "description": "交易用户ID",
  19484. "type": "integer"
  19485. },
  19486. "wrstandardid": {
  19487. "description": "现货商品ID",
  19488. "type": "integer"
  19489. },
  19490. "wrstandardname": {
  19491. "description": "现货商品",
  19492. "type": "string"
  19493. }
  19494. }
  19495. },
  19496. "models.Ermcp2hedgeditemspotDetail": {
  19497. "type": "object",
  19498. "required": [
  19499. "hedgeditemid"
  19500. ],
  19501. "properties": {
  19502. "accountname": {
  19503. "description": "对手方",
  19504. "type": "string"
  19505. },
  19506. "areauserid": {
  19507. "description": "企业ID",
  19508. "type": "integer"
  19509. },
  19510. "brandname": {
  19511. "description": "品牌",
  19512. "type": "string"
  19513. },
  19514. "contractno": {
  19515. "description": "合同编号",
  19516. "type": "string"
  19517. },
  19518. "createtime": {
  19519. "description": "创建时间",
  19520. "type": "string"
  19521. },
  19522. "customeruserid": {
  19523. "description": "对手方 【3:采购合同 4:销售合同】",
  19524. "type": "integer"
  19525. },
  19526. "deliverygoodsid": {
  19527. "description": "现货品种ID",
  19528. "type": "integer"
  19529. },
  19530. "enumdicname": {
  19531. "description": "单位",
  19532. "type": "string"
  19533. },
  19534. "hedgeditemid": {
  19535. "description": "被套期项目ID",
  19536. "type": "string"
  19537. },
  19538. "hedgeditemspotid": {
  19539. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  19540. "type": "string"
  19541. },
  19542. "hedgedtype": {
  19543. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  19544. "type": "integer"
  19545. },
  19546. "oriavgprice": {
  19547. "description": "期初市场价[当初市场价]",
  19548. "type": "number"
  19549. },
  19550. "relatedamount": {
  19551. "description": "市价总额 = 关联数量 * 期初市场价",
  19552. "type": "number"
  19553. },
  19554. "relatedhedgeplanid": {
  19555. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  19556. "type": "integer"
  19557. },
  19558. "relatedqty": {
  19559. "description": "关联数量[数量]",
  19560. "type": "number"
  19561. },
  19562. "relatedspotcontractid": {
  19563. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  19564. "type": "integer"
  19565. },
  19566. "relatedtype": {
  19567. "description": "关联类型 - 1:套期关联 2:执行关联",
  19568. "type": "integer"
  19569. },
  19570. "spotgoodsbrandid": {
  19571. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  19572. "type": "integer"
  19573. },
  19574. "spotpricedamount": {
  19575. "description": "定价总额[金额]",
  19576. "type": "number"
  19577. },
  19578. "spotpricedavgprice": {
  19579. "description": "现货均价 = 定价总额 / 关联数量",
  19580. "type": "number"
  19581. },
  19582. "spottype": {
  19583. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  19584. "type": "integer"
  19585. },
  19586. "tradeuserid": {
  19587. "description": "交易用户ID",
  19588. "type": "integer"
  19589. },
  19590. "wrstandardid": {
  19591. "description": "现货商品ID",
  19592. "type": "integer"
  19593. },
  19594. "wrstandardname": {
  19595. "description": "现货商品",
  19596. "type": "string"
  19597. }
  19598. }
  19599. },
  19600. "models.Ermcp2himiddlegoods": {
  19601. "type": "object",
  19602. "required": [
  19603. "hedgeditemid",
  19604. "middlegoodsid"
  19605. ],
  19606. "properties": {
  19607. "futurehedgeqty": {
  19608. "description": "期货持仓套期量",
  19609. "type": "number"
  19610. },
  19611. "hedgeditemid": {
  19612. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  19613. "type": "integer"
  19614. },
  19615. "hiexpsoure": {
  19616. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  19617. "type": "number"
  19618. },
  19619. "middlegoodscode": {
  19620. "description": "套保商品代码",
  19621. "type": "string"
  19622. },
  19623. "middlegoodsid": {
  19624. "description": "套保品种ID",
  19625. "type": "integer"
  19626. },
  19627. "middlegoodsname": {
  19628. "description": "套保商品名称",
  19629. "type": "string"
  19630. },
  19631. "unexehedgeqty": {
  19632. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  19633. "type": "number"
  19634. }
  19635. }
  19636. },
  19637. "models.Ermcp2stockspotchangelog": {
  19638. "type": "object",
  19639. "properties": {
  19640. "accountname": {
  19641. "description": "套期主体",
  19642. "type": "string"
  19643. },
  19644. "aftervalue": {
  19645. "description": "现货量",
  19646. "type": "number"
  19647. },
  19648. "beforevalue": {
  19649. "description": "变更前现货量",
  19650. "type": "number"
  19651. },
  19652. "contractno": {
  19653. "description": "[编号]现货合同编号",
  19654. "type": "string"
  19655. },
  19656. "contracttype": {
  19657. "description": "现货合同类型 - 1:采购 -1:销售",
  19658. "type": "integer"
  19659. },
  19660. "createtime": {
  19661. "description": "创建时间",
  19662. "type": "string"
  19663. },
  19664. "customerusername": {
  19665. "description": "对手方",
  19666. "type": "string"
  19667. },
  19668. "deliverygoodsid": {
  19669. "description": "现货品种ID",
  19670. "type": "integer"
  19671. },
  19672. "exetype": {
  19673. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  19674. "type": "integer"
  19675. },
  19676. "logid": {
  19677. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  19678. "type": "string"
  19679. },
  19680. "logvalue": {
  19681. "description": "[期间变化量]现货量变更值",
  19682. "type": "number"
  19683. },
  19684. "middlegoodschange": {
  19685. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  19686. "type": "number"
  19687. },
  19688. "operatelogtype": {
  19689. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  19690. "type": "integer"
  19691. },
  19692. "relatedid": {
  19693. "description": "现货合同ID",
  19694. "type": "integer"
  19695. },
  19696. "spotgoodsbrandid": {
  19697. "description": "现货品牌ID",
  19698. "type": "integer"
  19699. },
  19700. "tradedate": {
  19701. "description": "交易日(yyyyMMdd)",
  19702. "type": "string"
  19703. },
  19704. "userid": {
  19705. "description": "机构ID",
  19706. "type": "integer"
  19707. },
  19708. "warehouseinfoid": {
  19709. "description": "仓库ID",
  19710. "type": "integer"
  19711. },
  19712. "wrfactortypeid": {
  19713. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19714. "type": "integer"
  19715. },
  19716. "wrstandardid": {
  19717. "description": "现货商品ID",
  19718. "type": "integer"
  19719. },
  19720. "wrstandardname": {
  19721. "description": "商品名称",
  19722. "type": "string"
  19723. }
  19724. }
  19725. },
  19726. "models.Ermcp3AreaSpot": {
  19727. "type": "object",
  19728. "properties": {
  19729. "areauserid": {
  19730. "description": "所属机构",
  19731. "type": "integer"
  19732. },
  19733. "convertratio": {
  19734. "description": "套保系数",
  19735. "type": "number"
  19736. },
  19737. "decreaseqty": {
  19738. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19739. "type": "number"
  19740. },
  19741. "enumdicname": {
  19742. "description": "单位名称",
  19743. "type": "string"
  19744. },
  19745. "increaseqty": {
  19746. "description": "增加数量=销售计划数量+采购已定价数量",
  19747. "type": "number"
  19748. },
  19749. "oritoalspotqty": {
  19750. "description": "昨日数量",
  19751. "type": "number"
  19752. },
  19753. "totalspotqty": {
  19754. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19755. "type": "number"
  19756. },
  19757. "unitid": {
  19758. "description": "现货商品单位id",
  19759. "type": "integer"
  19760. },
  19761. "updatetime": {
  19762. "description": "更新时间",
  19763. "type": "string"
  19764. },
  19765. "wrstandardcode": {
  19766. "description": "现货商品代码",
  19767. "type": "string"
  19768. },
  19769. "wrstandardid": {
  19770. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19771. "type": "integer"
  19772. },
  19773. "wrstandardname": {
  19774. "description": "现货商品名称",
  19775. "type": "string"
  19776. }
  19777. }
  19778. },
  19779. "models.Ermcp3AreaSpotDetail": {
  19780. "type": "object",
  19781. "properties": {
  19782. "contracttype": {
  19783. "description": "合同类型 1-采购 -1-销售",
  19784. "type": "integer"
  19785. },
  19786. "createtime": {
  19787. "description": "创建时间",
  19788. "type": "string"
  19789. },
  19790. "enumdicname": {
  19791. "description": "现货商品单位名称",
  19792. "type": "string"
  19793. },
  19794. "logtype": {
  19795. "description": "记录类型 1-套保 2-现货合同",
  19796. "type": "integer"
  19797. },
  19798. "qty": {
  19799. "description": "数量",
  19800. "type": "number"
  19801. },
  19802. "recordname": {
  19803. "description": "类型名称",
  19804. "type": "string"
  19805. },
  19806. "relatedid": {
  19807. "description": "套保计划ID/现货合同ID",
  19808. "type": "string"
  19809. },
  19810. "relatedno": {
  19811. "description": "编号",
  19812. "type": "string"
  19813. },
  19814. "strtime": {
  19815. "description": "时间",
  19816. "type": "string"
  19817. },
  19818. "wrstandardcode": {
  19819. "description": "现货商品代码",
  19820. "type": "string"
  19821. },
  19822. "wrstandardid": {
  19823. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19824. "type": "integer"
  19825. },
  19826. "wrstandardname": {
  19827. "description": "现货商品名称",
  19828. "type": "string"
  19829. }
  19830. }
  19831. },
  19832. "models.Ermcp3AreaSpotPLReport": {
  19833. "type": "object",
  19834. "properties": {
  19835. "accountid": {
  19836. "description": "期货账户ID (作废, 默认为0)",
  19837. "type": "integer"
  19838. },
  19839. "accountname": {
  19840. "description": "机构名称",
  19841. "type": "string"
  19842. },
  19843. "actualpl": {
  19844. "description": "现货损益",
  19845. "type": "number"
  19846. },
  19847. "areauserid": {
  19848. "description": "所属机构\\交易用户ID",
  19849. "type": "integer"
  19850. },
  19851. "begindate": {
  19852. "description": "开始交易日",
  19853. "type": "string"
  19854. },
  19855. "biztype": {
  19856. "description": "业务类型 - 1:套保 2:套利",
  19857. "type": "integer"
  19858. },
  19859. "brandname": {
  19860. "description": "品牌名称",
  19861. "type": "string"
  19862. },
  19863. "curamount": {
  19864. "description": "期末额",
  19865. "type": "number"
  19866. },
  19867. "curaverageprice": {
  19868. "description": "期初均价",
  19869. "type": "number"
  19870. },
  19871. "curbuyamount": {
  19872. "description": "期末采购总额",
  19873. "type": "number"
  19874. },
  19875. "curbuyqty": {
  19876. "description": "期末采购总量",
  19877. "type": "number"
  19878. },
  19879. "curmarketvalue": {
  19880. "description": "期初均价",
  19881. "type": "number"
  19882. },
  19883. "curqty": {
  19884. "description": "期末量",
  19885. "type": "number"
  19886. },
  19887. "currencyid": {
  19888. "description": "结算币种ID【原值】",
  19889. "type": "integer"
  19890. },
  19891. "currencyname": {
  19892. "description": "币种名称",
  19893. "type": "string"
  19894. },
  19895. "cursellamount": {
  19896. "description": "期末销售总额",
  19897. "type": "number"
  19898. },
  19899. "cursellqty": {
  19900. "description": "期末销售总量",
  19901. "type": "number"
  19902. },
  19903. "curspotprice": {
  19904. "description": "期初均价",
  19905. "type": "number"
  19906. },
  19907. "cycletime": {
  19908. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19909. "type": "string"
  19910. },
  19911. "cycletype": {
  19912. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19913. "type": "integer"
  19914. },
  19915. "deliverygoodscode": {
  19916. "description": "现货品种代码",
  19917. "type": "string"
  19918. },
  19919. "deliverygoodsid": {
  19920. "description": "现货品种ID",
  19921. "type": "integer"
  19922. },
  19923. "deliverygoodsname": {
  19924. "description": "现货品种名称",
  19925. "type": "string"
  19926. },
  19927. "enddate": {
  19928. "description": "结束交易日",
  19929. "type": "string"
  19930. },
  19931. "enumdicname": {
  19932. "description": "现货品种单位名称(作废)",
  19933. "type": "string"
  19934. },
  19935. "floatpl": {
  19936. "description": "期初均价",
  19937. "type": "number"
  19938. },
  19939. "goodsunitid": {
  19940. "description": "现货品种单位id(作废)",
  19941. "type": "integer"
  19942. },
  19943. "oriamount": {
  19944. "description": "期初额",
  19945. "type": "number"
  19946. },
  19947. "oriaverageprice": {
  19948. "description": "期初均价",
  19949. "type": "number"
  19950. },
  19951. "oribuyamount": {
  19952. "description": "期初采购总额",
  19953. "type": "number"
  19954. },
  19955. "oribuyqty": {
  19956. "description": "期初采购总量",
  19957. "type": "number"
  19958. },
  19959. "oriqty": {
  19960. "description": "期初量",
  19961. "type": "number"
  19962. },
  19963. "orisellamount": {
  19964. "description": "期初销售总额",
  19965. "type": "number"
  19966. },
  19967. "orisellqty": {
  19968. "description": "期初销售总量",
  19969. "type": "number"
  19970. },
  19971. "reckondate": {
  19972. "description": "日照时期(yyyyMMdd)",
  19973. "type": "string"
  19974. },
  19975. "spotgoodsbrandid": {
  19976. "description": "现货品牌ID",
  19977. "type": "integer"
  19978. },
  19979. "todaybuyamount": {
  19980. "description": "今日采购额(今采购额)",
  19981. "type": "number"
  19982. },
  19983. "todaybuyaverageprice": {
  19984. "description": "期初均价",
  19985. "type": "number"
  19986. },
  19987. "todaybuyqty": {
  19988. "description": "今日采购量(今采购量)",
  19989. "type": "number"
  19990. },
  19991. "todayinqty": {
  19992. "description": "今日入库量(今入库量)",
  19993. "type": "number"
  19994. },
  19995. "todayoutqty": {
  19996. "description": "今日出库量(今出库量)",
  19997. "type": "number"
  19998. },
  19999. "todaysellamount": {
  20000. "description": "今日销售额(今销售额)",
  20001. "type": "number"
  20002. },
  20003. "todaysellaverageprice": {
  20004. "description": "期初均价",
  20005. "type": "number"
  20006. },
  20007. "todaysellqty": {
  20008. "description": "今日销售量(今销售量)",
  20009. "type": "number"
  20010. },
  20011. "unitid": {
  20012. "description": "品类单位id",
  20013. "type": "integer"
  20014. },
  20015. "unitidname": {
  20016. "description": "品类单位名称",
  20017. "type": "string"
  20018. },
  20019. "updatetime": {
  20020. "description": "更新时间",
  20021. "type": "string"
  20022. },
  20023. "wrfactortypeid": {
  20024. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20025. "type": "integer"
  20026. },
  20027. "wrstandardcode": {
  20028. "description": "现货商品(品类)代码",
  20029. "type": "string"
  20030. },
  20031. "wrstandardid": {
  20032. "description": "现货品类ID",
  20033. "type": "integer"
  20034. },
  20035. "wrstandardname": {
  20036. "description": "现货商品(品类)名称",
  20037. "type": "string"
  20038. }
  20039. }
  20040. },
  20041. "models.Ermcp3AreaStock": {
  20042. "type": "object",
  20043. "required": [
  20044. "userid"
  20045. ],
  20046. "properties": {
  20047. "brandname": {
  20048. "description": "品牌名称",
  20049. "type": "string"
  20050. },
  20051. "curstock": {
  20052. "description": "期末库存量(今日量)",
  20053. "type": "number"
  20054. },
  20055. "deliverygoodscode": {
  20056. "description": "现货品种代码",
  20057. "type": "string"
  20058. },
  20059. "deliverygoodsid": {
  20060. "description": "现货品种id",
  20061. "type": "integer"
  20062. },
  20063. "deliverygoodsname": {
  20064. "description": "现货品种名称",
  20065. "type": "string"
  20066. },
  20067. "enumdicname": {
  20068. "description": "单位名称",
  20069. "type": "string"
  20070. },
  20071. "goodsunitid": {
  20072. "description": "现货商品单位id",
  20073. "type": "integer"
  20074. },
  20075. "oristock": {
  20076. "description": "期初库存量(昨日量)",
  20077. "type": "number"
  20078. },
  20079. "spotgoodsbrandid": {
  20080. "description": "现货品牌ID",
  20081. "type": "integer"
  20082. },
  20083. "todaybuyinqty": {
  20084. "description": "今日采购入库量",
  20085. "type": "number"
  20086. },
  20087. "todayproduceinqty": {
  20088. "description": "今日生产入库量",
  20089. "type": "number"
  20090. },
  20091. "todayproduceoutqty": {
  20092. "description": "今日生产出库量",
  20093. "type": "number"
  20094. },
  20095. "todayselloutqty": {
  20096. "description": "今日销售出库量",
  20097. "type": "number"
  20098. },
  20099. "unitid": {
  20100. "description": "单位id",
  20101. "type": "integer"
  20102. },
  20103. "updatetime": {
  20104. "description": "更新时间",
  20105. "type": "string"
  20106. },
  20107. "userid": {
  20108. "description": "机构ID",
  20109. "type": "integer"
  20110. },
  20111. "username": {
  20112. "description": "机构名称",
  20113. "type": "string"
  20114. },
  20115. "warehousecode": {
  20116. "description": "仓库代码",
  20117. "type": "string"
  20118. },
  20119. "warehouseinfoid": {
  20120. "description": "仓库ID",
  20121. "type": "string"
  20122. },
  20123. "warehousename": {
  20124. "description": "仓库名称",
  20125. "type": "string"
  20126. },
  20127. "warehousetype": {
  20128. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20129. "type": "integer"
  20130. },
  20131. "wrstandardcode": {
  20132. "description": "品类代码",
  20133. "type": "string"
  20134. },
  20135. "wrstandardid": {
  20136. "description": "品类ID",
  20137. "type": "string"
  20138. },
  20139. "wrstandardname": {
  20140. "description": "品类名称",
  20141. "type": "string"
  20142. }
  20143. }
  20144. },
  20145. "models.Ermcp3AreaStockApply": {
  20146. "type": "object",
  20147. "properties": {
  20148. "applyid": {
  20149. "description": "申请人",
  20150. "type": "integer"
  20151. },
  20152. "applyname": {
  20153. "description": "申请人名称",
  20154. "type": "string"
  20155. },
  20156. "applyremark": {
  20157. "description": "申请备注",
  20158. "type": "string"
  20159. },
  20160. "applysrc": {
  20161. "description": "申请来源 - 1:管理端 2:终端",
  20162. "type": "integer"
  20163. },
  20164. "applystatus": {
  20165. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  20166. "type": "integer"
  20167. },
  20168. "applytime": {
  20169. "description": "申请时间",
  20170. "type": "string"
  20171. },
  20172. "auditid": {
  20173. "description": "审核人",
  20174. "type": "integer"
  20175. },
  20176. "auditname": {
  20177. "description": "审核人名称",
  20178. "type": "string"
  20179. },
  20180. "auditremark": {
  20181. "description": "审核备注",
  20182. "type": "string"
  20183. },
  20184. "auditsrc": {
  20185. "description": "审核来源 - 1:管理端 2:终端",
  20186. "type": "integer"
  20187. },
  20188. "audittime": {
  20189. "description": "审核时间",
  20190. "type": "string"
  20191. },
  20192. "audittradedate": {
  20193. "description": "审核交易日(yyyyMMdd)",
  20194. "type": "string"
  20195. },
  20196. "brandname": {
  20197. "description": "品牌名称",
  20198. "type": "string"
  20199. },
  20200. "buynickname": {
  20201. "description": "采购方昵称",
  20202. "type": "string"
  20203. },
  20204. "buyuserid": {
  20205. "description": "采购方userid",
  20206. "type": "integer"
  20207. },
  20208. "buyusername": {
  20209. "description": "采购方名称",
  20210. "type": "string"
  20211. },
  20212. "contractno": {
  20213. "description": "合同编号",
  20214. "type": "string"
  20215. },
  20216. "contractqty": {
  20217. "description": "合同量",
  20218. "type": "number"
  20219. },
  20220. "contracttype": {
  20221. "description": "现货合同类型 - 1:采购 -1:销售",
  20222. "type": "integer"
  20223. },
  20224. "deliverygoodscode": {
  20225. "description": "现货品种代码",
  20226. "type": "string"
  20227. },
  20228. "deliverygoodsid": {
  20229. "description": "现货品种id",
  20230. "type": "integer"
  20231. },
  20232. "deliverygoodsname": {
  20233. "description": "现货品种名称",
  20234. "type": "string"
  20235. },
  20236. "detailjson": {
  20237. "description": "明细数据",
  20238. "type": "string"
  20239. },
  20240. "enumdicname": {
  20241. "description": "现货商品单位名称",
  20242. "type": "string"
  20243. },
  20244. "inoutapplyid": {
  20245. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20246. "type": "string"
  20247. },
  20248. "inouttype": {
  20249. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20250. "type": "integer"
  20251. },
  20252. "pricetype": {
  20253. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20254. "type": "integer"
  20255. },
  20256. "qty": {
  20257. "description": "数量",
  20258. "type": "number"
  20259. },
  20260. "sellnickname": {
  20261. "description": "销售方昵称",
  20262. "type": "string"
  20263. },
  20264. "selluserid": {
  20265. "description": "销售方userid",
  20266. "type": "integer"
  20267. },
  20268. "sellusername": {
  20269. "description": "销售方名称",
  20270. "type": "string"
  20271. },
  20272. "spotcontractid": {
  20273. "description": "关联现货合同ID",
  20274. "type": "string"
  20275. },
  20276. "spotgoodsbrandid": {
  20277. "description": "现货品牌ID",
  20278. "type": "integer"
  20279. },
  20280. "unitid": {
  20281. "description": "单位id",
  20282. "type": "integer"
  20283. },
  20284. "userid": {
  20285. "description": "机构ID",
  20286. "type": "integer"
  20287. },
  20288. "warehousecode": {
  20289. "description": "仓库代码",
  20290. "type": "string"
  20291. },
  20292. "warehouseinfoid": {
  20293. "description": "现货仓库ID",
  20294. "type": "string"
  20295. },
  20296. "warehousename": {
  20297. "description": "仓库名称",
  20298. "type": "string"
  20299. },
  20300. "warehousetype": {
  20301. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20302. "type": "integer"
  20303. },
  20304. "wrstandardcode": {
  20305. "description": "品类代码",
  20306. "type": "string"
  20307. },
  20308. "wrstandardid": {
  20309. "description": "品类ID",
  20310. "type": "integer"
  20311. },
  20312. "wrstandardname": {
  20313. "description": "品类名称",
  20314. "type": "string"
  20315. }
  20316. }
  20317. },
  20318. "models.Ermcp3AreaStockApplySum": {
  20319. "type": "object",
  20320. "properties": {
  20321. "brandname": {
  20322. "description": "品牌名称",
  20323. "type": "string"
  20324. },
  20325. "inouttype": {
  20326. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20327. "type": "integer"
  20328. },
  20329. "spotcontractid": {
  20330. "description": "关联现货合同ID",
  20331. "type": "string"
  20332. },
  20333. "spotgoodsbrandid": {
  20334. "description": "品牌id",
  20335. "type": "integer"
  20336. },
  20337. "totalqty": {
  20338. "description": "总数量",
  20339. "type": "number"
  20340. },
  20341. "wrstandardid": {
  20342. "description": "品类id",
  20343. "type": "integer"
  20344. },
  20345. "wrstandardname": {
  20346. "description": "品类名称",
  20347. "type": "string"
  20348. }
  20349. }
  20350. },
  20351. "models.Ermcp3AreaStockReportEx": {
  20352. "type": "object",
  20353. "properties": {
  20354. "begindate": {
  20355. "description": "开始交易日",
  20356. "type": "string"
  20357. },
  20358. "brandname": {
  20359. "description": "品牌名称",
  20360. "type": "string"
  20361. },
  20362. "curstock": {
  20363. "description": "期末库存量",
  20364. "type": "number"
  20365. },
  20366. "cycletime": {
  20367. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20368. "type": "string"
  20369. },
  20370. "cycletype": {
  20371. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20372. "type": "integer"
  20373. },
  20374. "deliverygoodscode": {
  20375. "description": "现货品种代码",
  20376. "type": "string"
  20377. },
  20378. "deliverygoodsid": {
  20379. "description": "现货品种id",
  20380. "type": "integer"
  20381. },
  20382. "deliverygoodsname": {
  20383. "description": "现货品种名称",
  20384. "type": "string"
  20385. },
  20386. "diffqty": {
  20387. "description": "库存变化量 = 期末 - 期初",
  20388. "type": "number"
  20389. },
  20390. "enddate": {
  20391. "description": "结束交易日",
  20392. "type": "string"
  20393. },
  20394. "enumdicname": {
  20395. "description": "单位名称",
  20396. "type": "string"
  20397. },
  20398. "goodsunitid": {
  20399. "description": "现货单位id",
  20400. "type": "integer"
  20401. },
  20402. "oristock": {
  20403. "description": "期初库存量",
  20404. "type": "number"
  20405. },
  20406. "reckondate": {
  20407. "description": "日照时期(yyyyMMdd)",
  20408. "type": "string"
  20409. },
  20410. "spotgoodsbrandid": {
  20411. "description": "现货品牌ID",
  20412. "type": "integer"
  20413. },
  20414. "todaybuyinqty": {
  20415. "description": "今采购入库量",
  20416. "type": "number"
  20417. },
  20418. "todayproduceinqty": {
  20419. "description": "今内部入库量",
  20420. "type": "number"
  20421. },
  20422. "todayproduceoutqty": {
  20423. "description": "今内部出库量",
  20424. "type": "number"
  20425. },
  20426. "todayselloutqty": {
  20427. "description": "今销售出库量",
  20428. "type": "number"
  20429. },
  20430. "unbuyinqty": {
  20431. "description": "采购未入库量(数据库未找到相关字段?)",
  20432. "type": "number"
  20433. },
  20434. "unitid": {
  20435. "description": "品类单位id",
  20436. "type": "integer"
  20437. },
  20438. "unselloutqty": {
  20439. "description": "销售未出库量(数据库未找到相关字段?)",
  20440. "type": "number"
  20441. },
  20442. "updatetime": {
  20443. "description": "更新时间",
  20444. "type": "string"
  20445. },
  20446. "userid": {
  20447. "description": "机构ID",
  20448. "type": "integer"
  20449. },
  20450. "username": {
  20451. "description": "机构名称",
  20452. "type": "string"
  20453. },
  20454. "warehousecode": {
  20455. "description": "仓库代码",
  20456. "type": "string"
  20457. },
  20458. "warehouseinfoid": {
  20459. "description": "仓库ID",
  20460. "type": "string"
  20461. },
  20462. "warehousename": {
  20463. "description": "仓库名称",
  20464. "type": "string"
  20465. },
  20466. "warehousetype": {
  20467. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20468. "type": "integer"
  20469. },
  20470. "wrstandardcode": {
  20471. "description": "品类代码",
  20472. "type": "string"
  20473. },
  20474. "wrstandardid": {
  20475. "description": "品类ID",
  20476. "type": "integer"
  20477. },
  20478. "wrstandardname": {
  20479. "description": "品类名称",
  20480. "type": "string"
  20481. }
  20482. }
  20483. },
  20484. "models.Ermcp3ArealSumPL": {
  20485. "type": "object",
  20486. "properties": {
  20487. "accountname": {
  20488. "description": "机构名称",
  20489. "type": "string"
  20490. },
  20491. "areauserid": {
  20492. "description": "所属机构\\交易用户ID",
  20493. "type": "integer"
  20494. },
  20495. "begindate": {
  20496. "description": "开始交易日",
  20497. "type": "string"
  20498. },
  20499. "currencyid": {
  20500. "description": "结算币种ID",
  20501. "type": "integer"
  20502. },
  20503. "currencyname": {
  20504. "description": "币种名称",
  20505. "type": "string"
  20506. },
  20507. "cycletime": {
  20508. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20509. "type": "string"
  20510. },
  20511. "cycletype": {
  20512. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20513. "type": "integer"
  20514. },
  20515. "enddate": {
  20516. "description": "结束交易日",
  20517. "type": "string"
  20518. },
  20519. "enumdicname": {
  20520. "description": "单位名称(套保品种)",
  20521. "type": "string"
  20522. },
  20523. "futureactualpl": {
  20524. "description": "期货损益",
  20525. "type": "number"
  20526. },
  20527. "futurefloatpl": {
  20528. "description": "期货浮动损益",
  20529. "type": "number"
  20530. },
  20531. "futurespotratio": {
  20532. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20533. "type": "number"
  20534. },
  20535. "goodsunitid": {
  20536. "description": "套保品种单位id",
  20537. "type": "integer"
  20538. },
  20539. "hedgeexposurepl": {
  20540. "description": "套保敞口损益",
  20541. "type": "number"
  20542. },
  20543. "middlegoodscode": {
  20544. "description": "套保品种代码",
  20545. "type": "string"
  20546. },
  20547. "middlegoodsid": {
  20548. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20549. "type": "integer"
  20550. },
  20551. "middlegoodsname": {
  20552. "description": "套保品种名称",
  20553. "type": "string"
  20554. },
  20555. "reckondate": {
  20556. "description": "日照时期(yyyyMMdd)",
  20557. "type": "string"
  20558. },
  20559. "spotactualpl": {
  20560. "description": "现货损益",
  20561. "type": "number"
  20562. },
  20563. "spotfloatpl": {
  20564. "description": "现货浮动损益",
  20565. "type": "number"
  20566. },
  20567. "sumactualpl": {
  20568. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20569. "type": "number"
  20570. },
  20571. "sumpl": {
  20572. "description": "总敞口损益 | 汇总损益",
  20573. "type": "number"
  20574. },
  20575. "totalfutureqty": {
  20576. "description": "期货头寸总量",
  20577. "type": "number"
  20578. },
  20579. "totalneedhedgeqty": {
  20580. "description": "应套保总量",
  20581. "type": "number"
  20582. },
  20583. "totalspotqty": {
  20584. "description": "现货头寸总量",
  20585. "type": "number"
  20586. },
  20587. "updatetime": {
  20588. "description": "更新时间",
  20589. "type": "string"
  20590. }
  20591. }
  20592. },
  20593. "models.Ermcp3Brand": {
  20594. "type": "object",
  20595. "properties": {
  20596. "areauserid": {
  20597. "description": "用户id",
  20598. "type": "integer"
  20599. },
  20600. "brandid": {
  20601. "description": "品牌id",
  20602. "type": "integer"
  20603. },
  20604. "brandname": {
  20605. "description": "品牌名称",
  20606. "type": "string"
  20607. },
  20608. "deliverygoodsid": {
  20609. "description": "品种ID",
  20610. "type": "integer"
  20611. },
  20612. "isvalid": {
  20613. "description": "是否有效",
  20614. "type": "integer"
  20615. }
  20616. }
  20617. },
  20618. "models.Ermcp3Contract": {
  20619. "type": "object",
  20620. "properties": {
  20621. "accountid": {
  20622. "description": "期货账户id",
  20623. "type": "string"
  20624. },
  20625. "amount": {
  20626. "description": "金额 [1:一口价、3:暂定价]",
  20627. "type": "number"
  20628. },
  20629. "attachment": {
  20630. "description": "附件",
  20631. "type": "string"
  20632. },
  20633. "auditremark": {
  20634. "description": "审核意见",
  20635. "type": "string"
  20636. },
  20637. "audittime": {
  20638. "description": "审核时间",
  20639. "type": "string"
  20640. },
  20641. "biztype": {
  20642. "description": "业务类型 1-套保 2-套利",
  20643. "type": "integer"
  20644. },
  20645. "brandname": {
  20646. "description": "品牌名称",
  20647. "type": "string"
  20648. },
  20649. "buynickname": {
  20650. "description": "销售方昵称",
  20651. "type": "string"
  20652. },
  20653. "buyuserid": {
  20654. "description": "采购方ID",
  20655. "type": "integer"
  20656. },
  20657. "buyusername": {
  20658. "description": "采购方名称",
  20659. "type": "string"
  20660. },
  20661. "contracctstatus": {
  20662. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20663. "type": "integer"
  20664. },
  20665. "contractmargin": {
  20666. "description": "合同保证金",
  20667. "type": "number"
  20668. },
  20669. "contractno": {
  20670. "description": "现货合同编号",
  20671. "type": "string"
  20672. },
  20673. "contracttype": {
  20674. "description": "现货合同类型 - 1:采购 -1:销售",
  20675. "type": "integer"
  20676. },
  20677. "convertfactor": {
  20678. "description": "标仓系数(品类)",
  20679. "type": "number"
  20680. },
  20681. "createtime": {
  20682. "description": "创建时间",
  20683. "type": "string"
  20684. },
  20685. "currencyid": {
  20686. "description": "币种id",
  20687. "type": "integer"
  20688. },
  20689. "currencyname": {
  20690. "description": "币种名称",
  20691. "type": "string"
  20692. },
  20693. "deliveryenddate": {
  20694. "description": "交收期(结束)",
  20695. "type": "string"
  20696. },
  20697. "deliverygoodscode": {
  20698. "description": "现货品种代码",
  20699. "type": "string"
  20700. },
  20701. "deliverygoodsid": {
  20702. "description": "现货品种ID",
  20703. "type": "integer"
  20704. },
  20705. "deliverygoodsname": {
  20706. "description": "现货品种名称",
  20707. "type": "string"
  20708. },
  20709. "deliverystartdate": {
  20710. "description": "交收期(开始)",
  20711. "type": "string"
  20712. },
  20713. "enddate": {
  20714. "description": "点价结束日期 [2:点价 3:暂定价]",
  20715. "type": "string"
  20716. },
  20717. "enumdicname": {
  20718. "description": "单位名称",
  20719. "type": "string"
  20720. },
  20721. "goodscode": {
  20722. "description": "点价合约代码",
  20723. "type": "string"
  20724. },
  20725. "goodsid": {
  20726. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20727. "type": "integer"
  20728. },
  20729. "goodsname": {
  20730. "description": "点价商品名称",
  20731. "type": "string"
  20732. },
  20733. "margin": {
  20734. "description": "当前保证金",
  20735. "type": "number"
  20736. },
  20737. "meruserid": {
  20738. "description": "跟单员id",
  20739. "type": "integer"
  20740. },
  20741. "meruserlogincode": {
  20742. "description": "跟单员登录代码",
  20743. "type": "string"
  20744. },
  20745. "merusername": {
  20746. "description": "跟单员名称",
  20747. "type": "string"
  20748. },
  20749. "pointdesc": {
  20750. "description": "点价备注",
  20751. "type": "string"
  20752. },
  20753. "price": {
  20754. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20755. "type": "number"
  20756. },
  20757. "pricemove": {
  20758. "description": "升贴水 [2:点价 3:暂定价]",
  20759. "type": "number"
  20760. },
  20761. "pricetype": {
  20762. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20763. "type": "integer"
  20764. },
  20765. "producttype": {
  20766. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20767. "type": "integer"
  20768. },
  20769. "qty": {
  20770. "description": "数量",
  20771. "type": "number"
  20772. },
  20773. "remark": {
  20774. "description": "备注",
  20775. "type": "string"
  20776. },
  20777. "saleuserid": {
  20778. "description": "业务员id",
  20779. "type": "integer"
  20780. },
  20781. "saleuserlogincode": {
  20782. "description": "业务员登录代码",
  20783. "type": "string"
  20784. },
  20785. "saleusername": {
  20786. "description": "业务员名称",
  20787. "type": "string"
  20788. },
  20789. "sellnickname": {
  20790. "description": "采购方昵称",
  20791. "type": "string"
  20792. },
  20793. "selluserid": {
  20794. "description": "销售方ID",
  20795. "type": "integer"
  20796. },
  20797. "sellusername": {
  20798. "description": "销售方名称",
  20799. "type": "string"
  20800. },
  20801. "spotcontractid": {
  20802. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20803. "type": "string"
  20804. },
  20805. "spotgoodsbrandid": {
  20806. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20807. "type": "integer"
  20808. },
  20809. "spotgoodsdesc": {
  20810. "description": "商品型号",
  20811. "type": "string"
  20812. },
  20813. "startdate": {
  20814. "description": "点价开始日期 [2:点价 3:暂定价]",
  20815. "type": "string"
  20816. },
  20817. "subjectid": {
  20818. "description": "交易主体ID",
  20819. "type": "integer"
  20820. },
  20821. "subjectname": {
  20822. "description": "交易主体名称",
  20823. "type": "string"
  20824. },
  20825. "tradeuserid": {
  20826. "description": "交易员id",
  20827. "type": "integer"
  20828. },
  20829. "tradeuserlogincode": {
  20830. "description": "交易员登录代码",
  20831. "type": "string"
  20832. },
  20833. "tradeusername": {
  20834. "description": "交易员名称",
  20835. "type": "string"
  20836. },
  20837. "unitid": {
  20838. "description": "单位id(取品类上的单位id)",
  20839. "type": "integer"
  20840. },
  20841. "updatetime": {
  20842. "description": "更新时间",
  20843. "type": "string"
  20844. },
  20845. "userid": {
  20846. "description": "所属机构ID",
  20847. "type": "integer"
  20848. },
  20849. "vatrate": {
  20850. "description": "增值税率",
  20851. "type": "number"
  20852. },
  20853. "wrstandardcode": {
  20854. "description": "品类代码",
  20855. "type": "string"
  20856. },
  20857. "wrstandardid": {
  20858. "description": "品类ID",
  20859. "type": "integer"
  20860. },
  20861. "wrstandardname": {
  20862. "description": "品类名称",
  20863. "type": "string"
  20864. }
  20865. }
  20866. },
  20867. "models.Ermcp3ContractMiddleGoodsCfg": {
  20868. "type": "object",
  20869. "properties": {
  20870. "agreeunit": {
  20871. "description": "合约乘数",
  20872. "type": "number"
  20873. },
  20874. "convertratio": {
  20875. "description": "期货品种系数",
  20876. "type": "number"
  20877. },
  20878. "covertqty": {
  20879. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  20880. "type": "integer"
  20881. },
  20882. "middlegoodsid": {
  20883. "description": "套保品种ID",
  20884. "type": "integer"
  20885. },
  20886. "middlegoodspricedqty3": {
  20887. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  20888. "type": "string",
  20889. "example": "0"
  20890. },
  20891. "pendingpricedqty": {
  20892. "description": "待点价量",
  20893. "type": "string",
  20894. "example": "0"
  20895. },
  20896. "relatedmiddlegoodsqty": {
  20897. "description": "已关联量(套保品种-期货)",
  20898. "type": "string",
  20899. "example": "0"
  20900. },
  20901. "spotcontractid": {
  20902. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20903. "type": "string"
  20904. }
  20905. }
  20906. },
  20907. "models.Ermcp3ExposureContractDetail": {
  20908. "type": "object",
  20909. "properties": {
  20910. "biztype": {
  20911. "description": "业务类型 1-套保 2-套利",
  20912. "type": "integer"
  20913. },
  20914. "brandname": {
  20915. "description": "品牌名称",
  20916. "type": "string"
  20917. },
  20918. "buyuserid": {
  20919. "description": "采购方id",
  20920. "type": "integer"
  20921. },
  20922. "buyusername": {
  20923. "description": "采购方名称",
  20924. "type": "string"
  20925. },
  20926. "contractno": {
  20927. "description": "合同编号",
  20928. "type": "string"
  20929. },
  20930. "contracttype": {
  20931. "description": "现货合同类型 - 1:采购 -1:销售",
  20932. "type": "integer"
  20933. },
  20934. "convertfactor": {
  20935. "description": "标仓系数",
  20936. "type": "number"
  20937. },
  20938. "convertratio": {
  20939. "description": "折算系数(套保品种)",
  20940. "type": "number"
  20941. },
  20942. "curqty": {
  20943. "description": "今定价量",
  20944. "type": "number"
  20945. },
  20946. "deliverygoodscode": {
  20947. "description": "现货品种代码",
  20948. "type": "string"
  20949. },
  20950. "deliverygoodsid": {
  20951. "description": "现货品种id",
  20952. "type": "integer"
  20953. },
  20954. "deliverygoodsname": {
  20955. "description": "现货品种名称",
  20956. "type": "string"
  20957. },
  20958. "diffhedgeqty": {
  20959. "description": "套保变动量",
  20960. "type": "number"
  20961. },
  20962. "diffneedhedgeqty": {
  20963. "description": "应套保变动量",
  20964. "type": "number"
  20965. },
  20966. "diffqty": {
  20967. "description": "套保品种今变动量",
  20968. "type": "number"
  20969. },
  20970. "enumdicname": {
  20971. "description": "单位名称",
  20972. "type": "string"
  20973. },
  20974. "mgunitname": {
  20975. "description": "套保品种单位名称",
  20976. "type": "string"
  20977. },
  20978. "middlegoodscode": {
  20979. "description": "套保品种代码",
  20980. "type": "string"
  20981. },
  20982. "middlegoodsid": {
  20983. "description": "套保品种id",
  20984. "type": "integer"
  20985. },
  20986. "middlegoodsname": {
  20987. "description": "套保品种名称",
  20988. "type": "string"
  20989. },
  20990. "needarbitrageratio": {
  20991. "description": "应套利比例",
  20992. "type": "number"
  20993. },
  20994. "needhedgeratio": {
  20995. "description": "应套保比例",
  20996. "type": "number"
  20997. },
  20998. "pricedqty": {
  20999. "description": "已定价量",
  21000. "type": "number"
  21001. },
  21002. "qty": {
  21003. "description": "合同量",
  21004. "type": "number"
  21005. },
  21006. "reckondate": {
  21007. "description": "交易日(reckondate)",
  21008. "type": "string"
  21009. },
  21010. "selluserid": {
  21011. "description": "销售方id",
  21012. "type": "integer"
  21013. },
  21014. "sellusername": {
  21015. "description": "销售方名称",
  21016. "type": "string"
  21017. },
  21018. "spotcontractid": {
  21019. "description": "合同id",
  21020. "type": "string"
  21021. },
  21022. "todaypricedqty": {
  21023. "description": "今定价量",
  21024. "type": "number"
  21025. },
  21026. "tradedate": {
  21027. "description": "交易日",
  21028. "type": "string"
  21029. },
  21030. "unitid": {
  21031. "description": "品类单位id",
  21032. "type": "integer"
  21033. },
  21034. "userid": {
  21035. "description": "机构id",
  21036. "type": "integer"
  21037. },
  21038. "username": {
  21039. "description": "交易用户",
  21040. "type": "string"
  21041. },
  21042. "wrstandardcode": {
  21043. "description": "现货商品代码",
  21044. "type": "string"
  21045. },
  21046. "wrstandardid": {
  21047. "description": "现货商品id",
  21048. "type": "integer"
  21049. },
  21050. "wrstandardname": {
  21051. "description": "现货商品名称",
  21052. "type": "string"
  21053. }
  21054. }
  21055. },
  21056. "models.Ermcp3ExposureDetail": {
  21057. "type": "object",
  21058. "properties": {
  21059. "areauserid": {
  21060. "description": "机构ID",
  21061. "type": "integer"
  21062. },
  21063. "changeQty": {
  21064. "description": "套保变动量",
  21065. "type": "number"
  21066. },
  21067. "contracttype": {
  21068. "description": "现货合同类型 - 1:采购 -1:销售",
  21069. "type": "integer"
  21070. },
  21071. "convertfactor": {
  21072. "description": "标仓系数",
  21073. "type": "number"
  21074. },
  21075. "convertratio": {
  21076. "description": "折算系数",
  21077. "type": "number"
  21078. },
  21079. "createtime": {
  21080. "description": "时间",
  21081. "type": "string"
  21082. },
  21083. "enumdicname": {
  21084. "description": "现货商品单位名称",
  21085. "type": "string"
  21086. },
  21087. "logtype": {
  21088. "description": "类型 - 1:套保计划 2:现货合同",
  21089. "type": "integer"
  21090. },
  21091. "mgunitid": {
  21092. "description": "套保品种单位id",
  21093. "type": "integer"
  21094. },
  21095. "mgunitidname": {
  21096. "description": "套保品种单位名称",
  21097. "type": "string"
  21098. },
  21099. "middlegoodsId": {
  21100. "description": "套保商品id",
  21101. "type": "integer"
  21102. },
  21103. "middlegoodscode": {
  21104. "description": "套保商品代码",
  21105. "type": "string"
  21106. },
  21107. "middlegoodsname": {
  21108. "description": "套保商品名称",
  21109. "type": "string"
  21110. },
  21111. "qty": {
  21112. "description": "数量",
  21113. "type": "number"
  21114. },
  21115. "relateNo": {
  21116. "description": "现货合同/套保计划编号",
  21117. "type": "string"
  21118. },
  21119. "unitid": {
  21120. "description": "现货商品单位id",
  21121. "type": "integer"
  21122. },
  21123. "wrstandardcode": {
  21124. "description": "现货商品代码",
  21125. "type": "string"
  21126. },
  21127. "wrstandardid": {
  21128. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21129. "type": "integer"
  21130. },
  21131. "wrstandardname": {
  21132. "description": "现货商品名称",
  21133. "type": "string"
  21134. }
  21135. }
  21136. },
  21137. "models.Ermcp3ExposureFutuDetail": {
  21138. "type": "object",
  21139. "properties": {
  21140. "accountid": {
  21141. "description": "交易账户id",
  21142. "type": "integer"
  21143. },
  21144. "accountname": {
  21145. "description": "交易账户",
  21146. "type": "string"
  21147. },
  21148. "begindate": {
  21149. "description": "开始交易日",
  21150. "type": "string"
  21151. },
  21152. "buyorsell": {
  21153. "description": "方向 0-买 1-卖",
  21154. "type": "integer"
  21155. },
  21156. "diffmgqty": {
  21157. "description": "套保品种今变化量",
  21158. "type": "number"
  21159. },
  21160. "diffneedqty": {
  21161. "description": "应套保总量变化量",
  21162. "type": "number"
  21163. },
  21164. "difftradeqty": {
  21165. "description": "交易品种今变化量",
  21166. "type": "number"
  21167. },
  21168. "enddate": {
  21169. "description": "结束交易日",
  21170. "type": "string"
  21171. },
  21172. "enumdicname": {
  21173. "description": "单位名称",
  21174. "type": "string"
  21175. },
  21176. "goodscode": {
  21177. "description": "商品代码",
  21178. "type": "string"
  21179. },
  21180. "goodsid": {
  21181. "description": "商品id",
  21182. "type": "integer"
  21183. },
  21184. "goodsname": {
  21185. "description": "商品名称",
  21186. "type": "string"
  21187. },
  21188. "holdqty": {
  21189. "description": "期末持仓量",
  21190. "type": "number"
  21191. },
  21192. "middlegoodscode": {
  21193. "description": "套保商品代码",
  21194. "type": "string"
  21195. },
  21196. "middlegoodsid": {
  21197. "description": "套保商品id",
  21198. "type": "integer"
  21199. },
  21200. "middlegoodsname": {
  21201. "description": "套保商品名称",
  21202. "type": "string"
  21203. },
  21204. "oriholdqty": {
  21205. "description": "期初持仓量",
  21206. "type": "number"
  21207. },
  21208. "reckondate": {
  21209. "description": "交易日(RECKONDATE)",
  21210. "type": "string"
  21211. },
  21212. "todaycloseqty": {
  21213. "description": "今平仓量",
  21214. "type": "number"
  21215. },
  21216. "todayopenqty": {
  21217. "description": "今开仓量",
  21218. "type": "number"
  21219. },
  21220. "tradedate": {
  21221. "description": "交易日(RECKONDATE)",
  21222. "type": "string"
  21223. },
  21224. "username": {
  21225. "description": "用户名称(交易用户)",
  21226. "type": "string"
  21227. }
  21228. }
  21229. },
  21230. "models.Ermcp3ExposureHedgeplanDetail": {
  21231. "type": "object",
  21232. "properties": {
  21233. "biztype": {
  21234. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  21235. "type": "integer"
  21236. },
  21237. "changqty": {
  21238. "description": "应套保总量变化量",
  21239. "type": "number"
  21240. },
  21241. "contracttype": {
  21242. "description": "计划类型 - 1:采购 -1:销售",
  21243. "type": "integer"
  21244. },
  21245. "convertratio": {
  21246. "description": "折算系数(套保品种)",
  21247. "type": "number"
  21248. },
  21249. "deliverygoodscode": {
  21250. "description": "现货商品代码",
  21251. "type": "string"
  21252. },
  21253. "deliverygoodsid": {
  21254. "description": "现货商品id",
  21255. "type": "integer"
  21256. },
  21257. "deliverygoodsname": {
  21258. "description": "现货商吕名称",
  21259. "type": "string"
  21260. },
  21261. "dgunitid": {
  21262. "description": "现货商品单位id",
  21263. "type": "integer"
  21264. },
  21265. "dgunitidname": {
  21266. "description": "单位名称(现货商品)",
  21267. "type": "string"
  21268. },
  21269. "diffqty": {
  21270. "description": "套保品种今变动量",
  21271. "type": "number"
  21272. },
  21273. "enumdicname": {
  21274. "description": "单位名称(品类)",
  21275. "type": "string"
  21276. },
  21277. "hedgeplanid": {
  21278. "description": "套保计划id",
  21279. "type": "string"
  21280. },
  21281. "hedgeplanno": {
  21282. "description": "套保计划名称",
  21283. "type": "string"
  21284. },
  21285. "hedgeplanstatus": {
  21286. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21287. "type": "integer"
  21288. },
  21289. "mgunitidname": {
  21290. "description": "单位名称(套保商品)",
  21291. "type": "string"
  21292. },
  21293. "middlegoodscode": {
  21294. "description": "套保品种代码",
  21295. "type": "string"
  21296. },
  21297. "middlegoodsid": {
  21298. "description": "套保品种id",
  21299. "type": "integer"
  21300. },
  21301. "middlegoodsname": {
  21302. "description": "套保品种名称",
  21303. "type": "string"
  21304. },
  21305. "needarbitrageratio": {
  21306. "description": "应套利比例",
  21307. "type": "number"
  21308. },
  21309. "needhedgeratio": {
  21310. "description": "应套保比例",
  21311. "type": "number"
  21312. },
  21313. "pricedqty": {
  21314. "description": "已定价量",
  21315. "type": "number"
  21316. },
  21317. "qty": {
  21318. "description": "合同量",
  21319. "type": "number"
  21320. },
  21321. "reckondate": {
  21322. "description": "交易日(reckondate)",
  21323. "type": "string"
  21324. },
  21325. "tradedate": {
  21326. "description": "交易日(登记日)",
  21327. "type": "string"
  21328. },
  21329. "unitid": {
  21330. "description": "品类单位id",
  21331. "type": "integer"
  21332. },
  21333. "userid": {
  21334. "description": "机构id",
  21335. "type": "integer"
  21336. },
  21337. "wrstandardcode": {
  21338. "description": "品类代码",
  21339. "type": "string"
  21340. },
  21341. "wrstandardid": {
  21342. "description": "品类id",
  21343. "type": "integer"
  21344. },
  21345. "wrstandardname": {
  21346. "description": "品类名称",
  21347. "type": "string"
  21348. }
  21349. }
  21350. },
  21351. "models.Ermcp3ExposureParamChLog": {
  21352. "type": "object",
  21353. "properties": {
  21354. "accountid": {
  21355. "description": "期货账户ID (作废, 默认为0)",
  21356. "type": "integer"
  21357. },
  21358. "aftervalue": {
  21359. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21360. "type": "number"
  21361. },
  21362. "areauserid": {
  21363. "description": "所属机构\\交易用户ID",
  21364. "type": "integer"
  21365. },
  21366. "beforevalue": {
  21367. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21368. "type": "number"
  21369. },
  21370. "begindate": {
  21371. "description": "开始交易日",
  21372. "type": "string"
  21373. },
  21374. "changelogtype": {
  21375. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21376. "type": "integer"
  21377. },
  21378. "curvalue": {
  21379. "description": "当前套保\\套利量(套保总量|套利总量)",
  21380. "type": "number"
  21381. },
  21382. "diffvalue": {
  21383. "description": "应套保总量变化量",
  21384. "type": "number"
  21385. },
  21386. "enddate": {
  21387. "description": "结束交易日",
  21388. "type": "string"
  21389. },
  21390. "logdatetime": {
  21391. "description": "流水日期",
  21392. "type": "string"
  21393. },
  21394. "logid": {
  21395. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21396. "type": "string"
  21397. },
  21398. "middlegoodscode": {
  21399. "description": "套保品种代码",
  21400. "type": "string"
  21401. },
  21402. "middlegoodsid": {
  21403. "description": "套保品种",
  21404. "type": "integer"
  21405. },
  21406. "middlegoodsname": {
  21407. "description": "套保品种名称",
  21408. "type": "string"
  21409. },
  21410. "paramaftervalue": {
  21411. "description": "参数变更后(调整后参数值)",
  21412. "type": "number"
  21413. },
  21414. "parambeforevalue": {
  21415. "description": "参数变更前(调整前参数值)",
  21416. "type": "number"
  21417. },
  21418. "reckondate": {
  21419. "description": "交易日(reckondate)",
  21420. "type": "string"
  21421. },
  21422. "tradedate": {
  21423. "description": "交易日(yyyyMMdd)",
  21424. "type": "string"
  21425. }
  21426. }
  21427. },
  21428. "models.Ermcp3ExpourseReport": {
  21429. "type": "object",
  21430. "properties": {
  21431. "accountid": {
  21432. "description": "期货账户ID (作废, 默认为0)",
  21433. "type": "integer"
  21434. },
  21435. "accountname": {
  21436. "description": "机构名称",
  21437. "type": "string"
  21438. },
  21439. "arbitrageqty": {
  21440. "description": "套利量",
  21441. "type": "number"
  21442. },
  21443. "areauserid": {
  21444. "description": "所属机构\\交易用户ID",
  21445. "type": "integer"
  21446. },
  21447. "begindate": {
  21448. "description": "开始交易日",
  21449. "type": "string"
  21450. },
  21451. "buyfutureqty": {
  21452. "description": "买入期货数量",
  21453. "type": "number"
  21454. },
  21455. "buyplanqty": {
  21456. "description": "采购计划数量",
  21457. "type": "number"
  21458. },
  21459. "buypricedqty": {
  21460. "description": "采购合同已定价数量",
  21461. "type": "number"
  21462. },
  21463. "cycletime": {
  21464. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21465. "type": "string"
  21466. },
  21467. "cycletype": {
  21468. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21469. "type": "integer"
  21470. },
  21471. "diffexposure": {
  21472. "description": "变动量(套保敞口)",
  21473. "type": "number"
  21474. },
  21475. "difffutuqty": {
  21476. "description": "变动量(期货)",
  21477. "type": "number"
  21478. },
  21479. "diffhedgeqty": {
  21480. "description": "变动量(现货应套保总量)",
  21481. "type": "number"
  21482. },
  21483. "diffmgqtya": {
  21484. "description": "套保变动量",
  21485. "type": "number"
  21486. },
  21487. "diffmgqtyb": {
  21488. "description": "套利变动量",
  21489. "type": "number"
  21490. },
  21491. "diffneedqty": {
  21492. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  21493. "type": "number"
  21494. },
  21495. "diffqty": {
  21496. "description": "变动量(总敞口)",
  21497. "type": "number"
  21498. },
  21499. "diffspotqty": {
  21500. "description": "变动量(现货) | 除税变动量",
  21501. "type": "number"
  21502. },
  21503. "enddate": {
  21504. "description": "结束交易日",
  21505. "type": "string"
  21506. },
  21507. "enumdicname": {
  21508. "description": "单位名称",
  21509. "type": "string"
  21510. },
  21511. "hedgeqty": {
  21512. "description": "套保量",
  21513. "type": "number"
  21514. },
  21515. "mgneedhedgeratio": {
  21516. "description": "套保比例(套保品的)",
  21517. "type": "number"
  21518. },
  21519. "middlegoodsid": {
  21520. "description": "套保品种ID",
  21521. "type": "integer"
  21522. },
  21523. "middlegoodsname": {
  21524. "description": "套保商品名称",
  21525. "type": "string"
  21526. },
  21527. "middlgoodscode": {
  21528. "description": "套保商品代码",
  21529. "type": "string"
  21530. },
  21531. "needarbitrageqty": {
  21532. "description": "应套利量",
  21533. "type": "number"
  21534. },
  21535. "needarbitrageratio": {
  21536. "description": "套利比例(套保品的)",
  21537. "type": "number"
  21538. },
  21539. "needhedgeexposoure": {
  21540. "description": "应套保敞口(套保敞口)",
  21541. "type": "number"
  21542. },
  21543. "needhedgeqty": {
  21544. "description": "应套保量",
  21545. "type": "number"
  21546. },
  21547. "needhedgeratio": {
  21548. "description": "应套保敞口比例",
  21549. "type": "number"
  21550. },
  21551. "needqty": {
  21552. "description": "应套总量 = 应套保量 + 应套利量",
  21553. "type": "number"
  21554. },
  21555. "oriarbitrageqty": {
  21556. "description": "期初套利量",
  21557. "type": "number"
  21558. },
  21559. "oribuyfutureqty": {
  21560. "description": "期初买入期货数量",
  21561. "type": "number"
  21562. },
  21563. "oribuyplanqty": {
  21564. "description": "期初采购计划数量",
  21565. "type": "number"
  21566. },
  21567. "oribuypricedqty": {
  21568. "description": "期初采购合同已定价数量",
  21569. "type": "number"
  21570. },
  21571. "orihedgeqty": {
  21572. "description": "期初套保量",
  21573. "type": "number"
  21574. },
  21575. "orineedarbitrageqty": {
  21576. "description": "期初应套利量",
  21577. "type": "number"
  21578. },
  21579. "orineedhedgeexposoure": {
  21580. "description": "期初应套保敞口",
  21581. "type": "number"
  21582. },
  21583. "orineedhedgeqty": {
  21584. "description": "期初应套保量",
  21585. "type": "number"
  21586. },
  21587. "orisellfutureqty": {
  21588. "description": "期初卖出期货数量",
  21589. "type": "number"
  21590. },
  21591. "orisellplanqty": {
  21592. "description": "期初销售计划数量",
  21593. "type": "number"
  21594. },
  21595. "orisellpricedqty": {
  21596. "description": "期初销售合同已定价数量",
  21597. "type": "number"
  21598. },
  21599. "oritotalexposure": {
  21600. "description": "期初实时总敞口",
  21601. "type": "number"
  21602. },
  21603. "oritotalfutureqty": {
  21604. "description": "期初期货头寸总量",
  21605. "type": "number"
  21606. },
  21607. "oritotalneedhedgeqty": {
  21608. "description": "期初应套保总量",
  21609. "type": "number"
  21610. },
  21611. "oritotalspotqty": {
  21612. "description": "期初现货头寸总量",
  21613. "type": "number"
  21614. },
  21615. "reckondate": {
  21616. "description": "日照时期(yyyyMMdd)",
  21617. "type": "string"
  21618. },
  21619. "sellfutureqty": {
  21620. "description": "卖出期货数量",
  21621. "type": "number"
  21622. },
  21623. "sellplanqty": {
  21624. "description": "销售计划数量",
  21625. "type": "number"
  21626. },
  21627. "sellpricedqty": {
  21628. "description": "销售合同已定价数量",
  21629. "type": "number"
  21630. },
  21631. "totalexposure": {
  21632. "description": "实时总敞口(总敞口)",
  21633. "type": "number"
  21634. },
  21635. "totalfutureqty": {
  21636. "description": "期货头寸总量(期货总量)",
  21637. "type": "number"
  21638. },
  21639. "totalhedgeratio": {
  21640. "description": "敞口比例",
  21641. "type": "number"
  21642. },
  21643. "totalneedhedgeqty": {
  21644. "description": "应套保总量(现货应套保总量)",
  21645. "type": "number"
  21646. },
  21647. "totalspotqty": {
  21648. "description": "现货头寸总量 | 除税总量",
  21649. "type": "number"
  21650. },
  21651. "unitid": {
  21652. "description": "单位id",
  21653. "type": "integer"
  21654. },
  21655. "updatetime": {
  21656. "description": "更新时间",
  21657. "type": "string"
  21658. }
  21659. }
  21660. },
  21661. "models.Ermcp3FinanceReport": {
  21662. "type": "object",
  21663. "properties": {
  21664. "accountname": {
  21665. "description": "机构名称",
  21666. "type": "string"
  21667. },
  21668. "areauserid": {
  21669. "description": "所属机构\\交易用户ID",
  21670. "type": "integer"
  21671. },
  21672. "begindate": {
  21673. "description": "开始交易日",
  21674. "type": "string"
  21675. },
  21676. "biztype": {
  21677. "description": "业务类型 - 1:套保 2:套利",
  21678. "type": "integer"
  21679. },
  21680. "brandname": {
  21681. "description": "品牌名称",
  21682. "type": "string"
  21683. },
  21684. "buypreinvoicedamount": {
  21685. "description": "采购预收票额(预收票额)",
  21686. "type": "number"
  21687. },
  21688. "buyprepaidamount": {
  21689. "description": "采购预付款额(预付货款额)",
  21690. "type": "number"
  21691. },
  21692. "buytodayinvoiceamount": {
  21693. "description": "采购今收票额(今收票额)",
  21694. "type": "number"
  21695. },
  21696. "buytodayrefundamount": {
  21697. "description": "采购今收退款额(今收退款额)",
  21698. "type": "number"
  21699. },
  21700. "buytodaysettleamount": {
  21701. "description": "采购今付款额(今付货款额)",
  21702. "type": "number"
  21703. },
  21704. "buyuninvoicedamount": {
  21705. "description": "采购应收票额(应收票额)",
  21706. "type": "number"
  21707. },
  21708. "buyunpaidamount": {
  21709. "description": "采购应付款额(应付货款额)",
  21710. "type": "number"
  21711. },
  21712. "currencyid": {
  21713. "description": "结算币种ID",
  21714. "type": "integer"
  21715. },
  21716. "currencyname": {
  21717. "description": "币种名称",
  21718. "type": "string"
  21719. },
  21720. "cycletime": {
  21721. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21722. "type": "string"
  21723. },
  21724. "cycletype": {
  21725. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21726. "type": "integer"
  21727. },
  21728. "deliverygoodscode": {
  21729. "description": "现货品种代码",
  21730. "type": "string"
  21731. },
  21732. "deliverygoodsid": {
  21733. "description": "现货品种ID",
  21734. "type": "integer"
  21735. },
  21736. "deliverygoodsname": {
  21737. "description": "现货品种名称",
  21738. "type": "string"
  21739. },
  21740. "enddate": {
  21741. "description": "结束交易日",
  21742. "type": "string"
  21743. },
  21744. "reckondate": {
  21745. "description": "日照时期(yyyyMMdd)",
  21746. "type": "string"
  21747. },
  21748. "sellpreinvoicedamount": {
  21749. "description": "销售预开票额(预开票额)",
  21750. "type": "number"
  21751. },
  21752. "sellprepaidamount": {
  21753. "description": "销售预收款额(预收货款额)",
  21754. "type": "number"
  21755. },
  21756. "selltodayinvoiceamount": {
  21757. "description": "销售今开票额(今开票额)",
  21758. "type": "number"
  21759. },
  21760. "selltodayrefundamount": {
  21761. "description": "销售今付退款额(今付退款额)",
  21762. "type": "number"
  21763. },
  21764. "selltodaysettleamount": {
  21765. "description": "销售今收款额(今收货款额)",
  21766. "type": "number"
  21767. },
  21768. "selluninvoicedamount": {
  21769. "description": "销售应开票额(应开票额)",
  21770. "type": "number"
  21771. },
  21772. "sellunpaidamount": {
  21773. "description": "销售应收款额(应收货款额)",
  21774. "type": "number"
  21775. },
  21776. "spotgoodsbrandid": {
  21777. "description": "现货品牌ID",
  21778. "type": "integer"
  21779. },
  21780. "todaypaysum": {
  21781. "description": "今付款合计",
  21782. "type": "number"
  21783. },
  21784. "todayreceivesum": {
  21785. "description": "今收款合计",
  21786. "type": "number"
  21787. },
  21788. "updatetime": {
  21789. "description": "更新时间",
  21790. "type": "string"
  21791. },
  21792. "wrfactortypeid": {
  21793. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21794. "type": "integer"
  21795. },
  21796. "wrstandardcode": {
  21797. "description": "品类代码",
  21798. "type": "string"
  21799. },
  21800. "wrstandardid": {
  21801. "description": "现货商品ID",
  21802. "type": "integer"
  21803. },
  21804. "wrstandardname": {
  21805. "description": "品类名称",
  21806. "type": "string"
  21807. }
  21808. }
  21809. },
  21810. "models.Ermcp3GoodsGroup": {
  21811. "type": "object",
  21812. "required": [
  21813. "areauserid"
  21814. ],
  21815. "properties": {
  21816. "agreeunit": {
  21817. "description": "合约单位",
  21818. "type": "number"
  21819. },
  21820. "areauserid": {
  21821. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21822. "type": "integer"
  21823. },
  21824. "canshort": {
  21825. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21826. "type": "integer"
  21827. },
  21828. "closepricemode": {
  21829. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21830. "type": "integer"
  21831. },
  21832. "createtime": {
  21833. "description": "创建时间",
  21834. "type": "string"
  21835. },
  21836. "creatorid": {
  21837. "description": "创建人",
  21838. "type": "integer"
  21839. },
  21840. "currencyid": {
  21841. "description": "报价货币ID",
  21842. "type": "integer"
  21843. },
  21844. "decimalplace": {
  21845. "description": "报价小数位",
  21846. "type": "integer"
  21847. },
  21848. "enumdicname": {
  21849. "description": "单位名称",
  21850. "type": "string"
  21851. },
  21852. "exchangefullname": {
  21853. "description": "交易所全称",
  21854. "type": "string"
  21855. },
  21856. "excludecfg": {
  21857. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21858. "type": "integer"
  21859. },
  21860. "exexchangecode": {
  21861. "description": "交易所代码",
  21862. "type": "string"
  21863. },
  21864. "exexchangeid": {
  21865. "description": "外部交易所ID[通道交易]",
  21866. "type": "integer"
  21867. },
  21868. "exexchangename": {
  21869. "description": "交易所名称",
  21870. "type": "string"
  21871. },
  21872. "goodsgroupid": {
  21873. "description": "商品组ID(自增ID)",
  21874. "type": "integer"
  21875. },
  21876. "goodsgroupname": {
  21877. "description": "商品组名称",
  21878. "type": "string"
  21879. },
  21880. "goodsgroupstatus": {
  21881. "description": "商品组状态 - 1:正常 2:注销",
  21882. "type": "integer"
  21883. },
  21884. "goodunitid": {
  21885. "description": "报价单位ID",
  21886. "type": "integer"
  21887. },
  21888. "groupcategroyid": {
  21889. "description": "品种分类ID",
  21890. "type": "integer"
  21891. },
  21892. "innerdealmode": {
  21893. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21894. "type": "integer"
  21895. },
  21896. "marketid": {
  21897. "description": "所属市场ID",
  21898. "type": "integer"
  21899. },
  21900. "modifierid": {
  21901. "description": "修改人",
  21902. "type": "integer"
  21903. },
  21904. "modifytime": {
  21905. "description": "修改时间",
  21906. "type": "string"
  21907. },
  21908. "outerdealmode": {
  21909. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21910. "type": "integer"
  21911. },
  21912. "outergroupcode": {
  21913. "description": "外部商品组代码[通道交易]",
  21914. "type": "string"
  21915. },
  21916. "quoteminunit": {
  21917. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21918. "type": "integer"
  21919. },
  21920. "quotesourcegroupid": {
  21921. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21922. "type": "integer"
  21923. },
  21924. "syncgoodsqty": {
  21925. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21926. "type": "integer"
  21927. }
  21928. }
  21929. },
  21930. "models.Ermcp3HPMiddleGoods": {
  21931. "type": "object",
  21932. "properties": {
  21933. "biztype": {
  21934. "description": "业务类型 1:套保 2:套利",
  21935. "type": "integer"
  21936. },
  21937. "contracttype": {
  21938. "description": "合同类型 1:采购 -1:销售",
  21939. "type": "integer"
  21940. },
  21941. "convertratio": {
  21942. "description": "折算系数",
  21943. "type": "number"
  21944. },
  21945. "customername": {
  21946. "description": "对手手名称",
  21947. "type": "string"
  21948. },
  21949. "customeruserid": {
  21950. "description": "对手id",
  21951. "type": "integer"
  21952. },
  21953. "enumdicname": {
  21954. "description": "现货单位名称",
  21955. "type": "string"
  21956. },
  21957. "hedgeplanid": {
  21958. "description": "计划id",
  21959. "type": "string"
  21960. },
  21961. "hedgeplanno": {
  21962. "description": "计划编号",
  21963. "type": "string"
  21964. },
  21965. "middlegoodsid": {
  21966. "description": "套保品种ID",
  21967. "type": "integer"
  21968. },
  21969. "middlegoodsplanqty3": {
  21970. "description": "应套保计划量",
  21971. "type": "number"
  21972. },
  21973. "needhedgeratio": {
  21974. "description": "套保比例",
  21975. "type": "number"
  21976. },
  21977. "pricedqty": {
  21978. "description": "已定价量",
  21979. "type": "number"
  21980. },
  21981. "relatedmiddlegoodsqty": {
  21982. "description": "已关联量(套保品种)(期货)",
  21983. "type": "number"
  21984. },
  21985. "unitid": {
  21986. "description": "现货单位id",
  21987. "type": "integer"
  21988. },
  21989. "userid": {
  21990. "description": "用户id",
  21991. "type": "integer"
  21992. },
  21993. "vatrate": {
  21994. "description": "增值税率",
  21995. "type": "number"
  21996. },
  21997. "wrstandardcode": {
  21998. "description": "现货商品代码",
  21999. "type": "string"
  22000. },
  22001. "wrstandardid": {
  22002. "description": "现货商品id",
  22003. "type": "integer"
  22004. },
  22005. "wrstandardname": {
  22006. "description": "现货商品名称",
  22007. "type": "string"
  22008. }
  22009. }
  22010. },
  22011. "models.Ermcp3HedgePlan": {
  22012. "type": "object",
  22013. "properties": {
  22014. "accountid": {
  22015. "description": "资金账号",
  22016. "type": "integer"
  22017. },
  22018. "areauserid": {
  22019. "description": "用户ID",
  22020. "type": "integer"
  22021. },
  22022. "auditid": {
  22023. "description": "审核id",
  22024. "type": "integer"
  22025. },
  22026. "auditname": {
  22027. "description": "审核人名称",
  22028. "type": "string"
  22029. },
  22030. "auditremark": {
  22031. "description": "审核备注",
  22032. "type": "string"
  22033. },
  22034. "auditsrc": {
  22035. "description": "审核来源 1-管理端 2-终端",
  22036. "type": "integer"
  22037. },
  22038. "audittime": {
  22039. "description": "审核时间",
  22040. "type": "string"
  22041. },
  22042. "contracttype": {
  22043. "description": "计划类型 - 1:采购 -1:销售",
  22044. "type": "integer"
  22045. },
  22046. "convertfactor": {
  22047. "description": "标仓系数",
  22048. "type": "number"
  22049. },
  22050. "createtime": {
  22051. "description": "创建时间",
  22052. "type": "string"
  22053. },
  22054. "currencyid": {
  22055. "description": "币种id",
  22056. "type": "integer"
  22057. },
  22058. "currencyname": {
  22059. "description": "币种名称",
  22060. "type": "string"
  22061. },
  22062. "deliverygoodscode": {
  22063. "description": "现货品种代码",
  22064. "type": "string"
  22065. },
  22066. "deliverygoodsid": {
  22067. "description": "现货品种ID",
  22068. "type": "integer"
  22069. },
  22070. "deliverygoodsname": {
  22071. "description": "现货品种名称",
  22072. "type": "string"
  22073. },
  22074. "enumdicname": {
  22075. "description": "单位名称(现货商品)",
  22076. "type": "string"
  22077. },
  22078. "hedgeplanid": {
  22079. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  22080. "type": "string"
  22081. },
  22082. "hedgeplanno": {
  22083. "description": "套保计划编号(名称)",
  22084. "type": "string"
  22085. },
  22086. "hedgeplanstatus": {
  22087. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22088. "type": "integer"
  22089. },
  22090. "planqty": {
  22091. "description": "计划数量",
  22092. "type": "number"
  22093. },
  22094. "plantime": {
  22095. "description": "计划时间",
  22096. "type": "string"
  22097. },
  22098. "producttype": {
  22099. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22100. "type": "integer"
  22101. },
  22102. "remark": {
  22103. "description": "备注",
  22104. "type": "string"
  22105. },
  22106. "spotgoodsdesc": {
  22107. "description": "商品型号",
  22108. "type": "string"
  22109. },
  22110. "taaccountname": {
  22111. "description": "资金账号名称",
  22112. "type": "string"
  22113. },
  22114. "tradeuserid": {
  22115. "description": "交易用户id",
  22116. "type": "integer"
  22117. },
  22118. "tradeusername": {
  22119. "description": "交易用户名称",
  22120. "type": "string"
  22121. },
  22122. "unitid": {
  22123. "description": "单位id(现货商品)",
  22124. "type": "integer"
  22125. },
  22126. "updatetime": {
  22127. "description": "更新时间",
  22128. "type": "string"
  22129. },
  22130. "vatrate": {
  22131. "description": "增值税率",
  22132. "type": "number"
  22133. },
  22134. "wrstandardcode": {
  22135. "description": "品类代码",
  22136. "type": "string"
  22137. },
  22138. "wrstandardid": {
  22139. "description": "品类id",
  22140. "type": "integer"
  22141. },
  22142. "wrstandardname": {
  22143. "description": "品类名称",
  22144. "type": "string"
  22145. },
  22146. "wrunitid": {
  22147. "description": "品类单位id",
  22148. "type": "integer"
  22149. },
  22150. "wrunitidame": {
  22151. "description": "品类单位名称",
  22152. "type": "string"
  22153. }
  22154. }
  22155. },
  22156. "models.Ermcp3InnerTradeLink": {
  22157. "type": "object",
  22158. "properties": {
  22159. "accountid": {
  22160. "description": "期货账号代码 | 资金账号ID",
  22161. "type": "integer"
  22162. },
  22163. "buyorsell": {
  22164. "description": "方向 - 0:买 1:卖",
  22165. "type": "integer"
  22166. },
  22167. "channelbuildtype": {
  22168. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22169. "type": "integer"
  22170. },
  22171. "currencyid": {
  22172. "description": "币种id",
  22173. "type": "integer"
  22174. },
  22175. "currencyname": {
  22176. "description": "结算币种 名称",
  22177. "type": "string"
  22178. },
  22179. "goodscode": {
  22180. "description": "商品代码",
  22181. "type": "string"
  22182. },
  22183. "goodsid": {
  22184. "description": "商品ID",
  22185. "type": "integer"
  22186. },
  22187. "goodsname": {
  22188. "description": "商品名称",
  22189. "type": "string"
  22190. },
  22191. "outtradeid": {
  22192. "description": "外部成交单号",
  22193. "type": "string"
  22194. },
  22195. "taname": {
  22196. "description": "期货账户名称",
  22197. "type": "string"
  22198. },
  22199. "tradeid": {
  22200. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22201. "type": "string"
  22202. },
  22203. "tradeprice": {
  22204. "description": "成交价格",
  22205. "type": "number"
  22206. },
  22207. "tradeqty": {
  22208. "description": "期货成交数量",
  22209. "type": "integer"
  22210. },
  22211. "tradetime": {
  22212. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  22213. "type": "string"
  22214. },
  22215. "username": {
  22216. "description": "用户名称",
  22217. "type": "string"
  22218. }
  22219. }
  22220. },
  22221. "models.Ermcp3OutTradeLink": {
  22222. "type": "object",
  22223. "properties": {
  22224. "buyorsell": {
  22225. "description": "买卖方向 - 0:买 1:卖",
  22226. "type": "integer"
  22227. },
  22228. "channelbuildtype": {
  22229. "description": "开平标志- 0:无 1:建仓 2:平仓",
  22230. "type": "integer"
  22231. },
  22232. "currencyname": {
  22233. "description": "币种名称",
  22234. "type": "string"
  22235. },
  22236. "exexchangecode": {
  22237. "description": "交易所代码",
  22238. "type": "string"
  22239. },
  22240. "exexchangename": {
  22241. "description": "交易所名称",
  22242. "type": "string"
  22243. },
  22244. "goodscode": {
  22245. "description": "合约代码",
  22246. "type": "string"
  22247. },
  22248. "goodsid": {
  22249. "description": "合约id",
  22250. "type": "integer"
  22251. },
  22252. "goodsname": {
  22253. "description": "合约名称",
  22254. "type": "string"
  22255. },
  22256. "hasinnerorder": {
  22257. "description": "是否有内部单关联 - 0:无 1:有",
  22258. "type": "integer"
  22259. },
  22260. "hedgeaccountcode": {
  22261. "description": "外部账号 | 对冲账号",
  22262. "type": "string"
  22263. },
  22264. "outtradeid": {
  22265. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22266. "type": "string"
  22267. },
  22268. "tradeprice": {
  22269. "description": "成交价格",
  22270. "type": "number"
  22271. },
  22272. "tradeqty": {
  22273. "description": "成交数量",
  22274. "type": "integer"
  22275. },
  22276. "tradetime": {
  22277. "description": "成交时间",
  22278. "type": "string"
  22279. }
  22280. }
  22281. },
  22282. "models.Ermcp3PaAreaAuditCfg": {
  22283. "type": "object",
  22284. "properties": {
  22285. "areauserid": {
  22286. "description": "用户ID",
  22287. "type": "integer"
  22288. },
  22289. "buyinauditflag": {
  22290. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  22291. "type": "integer"
  22292. },
  22293. "costratioauditflag": {
  22294. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  22295. "type": "integer"
  22296. },
  22297. "customerauditflag": {
  22298. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  22299. "type": "integer"
  22300. },
  22301. "deliveryauditflag": {
  22302. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22303. "type": "integer"
  22304. },
  22305. "invoiceauditflag": {
  22306. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22307. "type": "integer"
  22308. },
  22309. "mgneedhedgeratioauditflag": {
  22310. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22311. "type": "integer"
  22312. },
  22313. "moneyauditflag": {
  22314. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22315. "type": "integer"
  22316. },
  22317. "operatorid": {
  22318. "description": "操作人",
  22319. "type": "integer"
  22320. },
  22321. "operatorsrc": {
  22322. "description": "操作来源 - 1:管理端 2:终端",
  22323. "type": "integer"
  22324. },
  22325. "pointpriceauditflag": {
  22326. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22327. "type": "integer"
  22328. },
  22329. "produceinauditflag": {
  22330. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22331. "type": "integer"
  22332. },
  22333. "produceoutauditflag": {
  22334. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22335. "type": "integer"
  22336. },
  22337. "selloutauditflag": {
  22338. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22339. "type": "integer"
  22340. },
  22341. "sgconvertratioauditflag": {
  22342. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22343. "type": "integer"
  22344. },
  22345. "sgvtaratioauditflag": {
  22346. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22347. "type": "integer"
  22348. },
  22349. "spotcontractauditflag": {
  22350. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22351. "type": "integer"
  22352. },
  22353. "updatetime": {
  22354. "description": "更新时间",
  22355. "type": "string"
  22356. }
  22357. }
  22358. },
  22359. "models.Ermcp3PaAreaSubject": {
  22360. "type": "object",
  22361. "properties": {
  22362. "areauserid": {
  22363. "description": "所属机构",
  22364. "type": "integer"
  22365. },
  22366. "canmodify": {
  22367. "description": "是否可修改 - 0:否 1:是",
  22368. "type": "integer"
  22369. },
  22370. "createtime": {
  22371. "description": "创建时间",
  22372. "type": "string"
  22373. },
  22374. "creatorid": {
  22375. "description": "创建人ID",
  22376. "type": "string"
  22377. },
  22378. "creatorsrc": {
  22379. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22380. "type": "integer"
  22381. },
  22382. "modifierid": {
  22383. "description": "修改人",
  22384. "type": "string"
  22385. },
  22386. "modifiersrc": {
  22387. "description": "修改人来源 - 1:管理端 2:终端",
  22388. "type": "integer"
  22389. },
  22390. "modifytime": {
  22391. "description": "修改时间",
  22392. "type": "string"
  22393. },
  22394. "parentsubjectid": {
  22395. "description": "上级主体ID",
  22396. "type": "string"
  22397. },
  22398. "remark": {
  22399. "description": "备注",
  22400. "type": "string"
  22401. },
  22402. "subjectid": {
  22403. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22404. "type": "integer"
  22405. },
  22406. "subjectname": {
  22407. "description": "主体名称",
  22408. "type": "string"
  22409. },
  22410. "subjectstatus": {
  22411. "description": "主体状态 - 1:正常 2: 停用",
  22412. "type": "integer"
  22413. },
  22414. "subjecttype": {
  22415. "description": "主体类型 - 1:交易主体 2:业务部门",
  22416. "type": "integer"
  22417. }
  22418. }
  22419. },
  22420. "models.Ermcp3PaTradeLink": {
  22421. "type": "object",
  22422. "properties": {
  22423. "accountid": {
  22424. "description": "期货账户代码 | 账号ID",
  22425. "type": "integer"
  22426. },
  22427. "agreeunit": {
  22428. "description": "合约乘数",
  22429. "type": "number"
  22430. },
  22431. "buyorsell": {
  22432. "description": "方向 - 0:买 1:卖",
  22433. "type": "integer"
  22434. },
  22435. "channelbuildtype": {
  22436. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22437. "type": "integer"
  22438. },
  22439. "charge": {
  22440. "description": "手续费",
  22441. "type": "number"
  22442. },
  22443. "closepl": {
  22444. "description": "平仓盈亏",
  22445. "type": "number"
  22446. },
  22447. "closetype": {
  22448. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22449. "type": "integer"
  22450. },
  22451. "convertratio": {
  22452. "description": "折算系数",
  22453. "type": "number"
  22454. },
  22455. "enumdicname": {
  22456. "description": "单位名称",
  22457. "type": "string"
  22458. },
  22459. "executeprice": {
  22460. "description": "执行价 [期权]",
  22461. "type": "integer"
  22462. },
  22463. "goodscode": {
  22464. "description": "合约代码",
  22465. "type": "string"
  22466. },
  22467. "goodsgroupid": {
  22468. "description": "对冲品种ID[期货合约商品组ID]",
  22469. "type": "integer"
  22470. },
  22471. "goodsid": {
  22472. "description": "商品ID",
  22473. "type": "integer"
  22474. },
  22475. "goodsname": {
  22476. "description": "合约名称",
  22477. "type": "string"
  22478. },
  22479. "goodunitid": {
  22480. "description": "单位id",
  22481. "type": "integer"
  22482. },
  22483. "hedgeflag": {
  22484. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22485. "type": "integer"
  22486. },
  22487. "marketid": {
  22488. "description": "市场ID",
  22489. "type": "integer"
  22490. },
  22491. "middlegoodsid": {
  22492. "description": "套保品种ID",
  22493. "type": "integer"
  22494. },
  22495. "middlegoodsqty": {
  22496. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22497. "type": "number"
  22498. },
  22499. "optioncode": {
  22500. "description": "期权代码 [期权]",
  22501. "type": "string"
  22502. },
  22503. "ordertype": {
  22504. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22505. "type": "integer"
  22506. },
  22507. "ordertypename": {
  22508. "description": "订单类型",
  22509. "type": "string"
  22510. },
  22511. "parentaccountid": {
  22512. "description": "所属母账户",
  22513. "type": "integer"
  22514. },
  22515. "premium": {
  22516. "description": "权利金 [期权]",
  22517. "type": "number"
  22518. },
  22519. "relatedlot": {
  22520. "description": "已关联数量(已关联数量手) | db:关联手数",
  22521. "type": "number"
  22522. },
  22523. "relatedouttradeid": {
  22524. "description": "关联外部成交单ID",
  22525. "type": "string"
  22526. },
  22527. "relatedqty": {
  22528. "description": "关联数量",
  22529. "type": "number"
  22530. },
  22531. "spotcontractid": {
  22532. "description": "现货合同ID [4:套期保值\\10\\11]",
  22533. "type": "string"
  22534. },
  22535. "taname": {
  22536. "description": "期货账户名称",
  22537. "type": "string"
  22538. },
  22539. "tradeamount": {
  22540. "description": "成交金额(账户)",
  22541. "type": "number"
  22542. },
  22543. "tradedate": {
  22544. "description": "交易日(yyyyMMdd)",
  22545. "type": "string"
  22546. },
  22547. "tradeid": {
  22548. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22549. "type": "string"
  22550. },
  22551. "tradelot": {
  22552. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22553. "type": "integer"
  22554. },
  22555. "tradeprice": {
  22556. "description": "成交价格",
  22557. "type": "number"
  22558. },
  22559. "tradetime": {
  22560. "description": "时间 | db:成交时间",
  22561. "type": "string"
  22562. },
  22563. "tradetype": {
  22564. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22565. "type": "integer"
  22566. },
  22567. "userid": {
  22568. "description": "所属机构 - 所属母账户的UserID",
  22569. "type": "string"
  22570. },
  22571. "username": {
  22572. "description": "用户名称",
  22573. "type": "string"
  22574. }
  22575. }
  22576. },
  22577. "models.Ermcp3ParamChangeApp": {
  22578. "type": "object",
  22579. "properties": {
  22580. "aftervalue": {
  22581. "description": "变更后",
  22582. "type": "number"
  22583. },
  22584. "applicationid": {
  22585. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22586. "type": "string"
  22587. },
  22588. "applyid": {
  22589. "description": "申请人",
  22590. "type": "string"
  22591. },
  22592. "applyname": {
  22593. "description": "申请人名称(代码)",
  22594. "type": "string"
  22595. },
  22596. "applyremark": {
  22597. "description": "申请备注",
  22598. "type": "string"
  22599. },
  22600. "applysrc": {
  22601. "description": "申请来源 - 1:管理端 2:终端",
  22602. "type": "integer"
  22603. },
  22604. "applystatus": {
  22605. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22606. "type": "integer"
  22607. },
  22608. "applytime": {
  22609. "description": "申请时间",
  22610. "type": "string"
  22611. },
  22612. "areauserid": {
  22613. "description": "所属机构用户ID",
  22614. "type": "integer"
  22615. },
  22616. "auditid": {
  22617. "description": "审核人",
  22618. "type": "string"
  22619. },
  22620. "auditname": {
  22621. "description": "审核人名称(代码)",
  22622. "type": "string"
  22623. },
  22624. "auditremark": {
  22625. "description": "审核备注",
  22626. "type": "string"
  22627. },
  22628. "auditsrc": {
  22629. "description": "审核来源 - 1:管理端 2:终端",
  22630. "type": "integer"
  22631. },
  22632. "audittime": {
  22633. "description": "审核时间",
  22634. "type": "string"
  22635. },
  22636. "audittradedate": {
  22637. "description": "审核交易日(yyyyMMdd)",
  22638. "type": "string"
  22639. },
  22640. "beforevalue": {
  22641. "description": "变更前",
  22642. "type": "number"
  22643. },
  22644. "deliverygoodscode": {
  22645. "description": "品种代码",
  22646. "type": "string"
  22647. },
  22648. "deliverygoodsid": {
  22649. "description": "品种id",
  22650. "type": "integer"
  22651. },
  22652. "deliverygoodsname": {
  22653. "description": "品种名称",
  22654. "type": "string"
  22655. },
  22656. "middlegoodscode": {
  22657. "description": "套保品种代码",
  22658. "type": "string"
  22659. },
  22660. "middlegoodsid": {
  22661. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22662. "type": "integer"
  22663. },
  22664. "middlegoodsname": {
  22665. "description": "套保品种名称",
  22666. "type": "string"
  22667. },
  22668. "operatetype": {
  22669. "description": "操作类型 - 1:新增 2:修改",
  22670. "type": "integer"
  22671. },
  22672. "paramchangetype": {
  22673. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22674. "type": "integer"
  22675. },
  22676. "wrstandardcode": {
  22677. "description": "现货商品代码",
  22678. "type": "string"
  22679. },
  22680. "wrstandardid": {
  22681. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22682. "type": "integer"
  22683. },
  22684. "wrstandardname": {
  22685. "description": "现货商品名称",
  22686. "type": "string"
  22687. }
  22688. }
  22689. },
  22690. "models.Ermcp3RootUserAccount": {
  22691. "type": "object",
  22692. "properties": {
  22693. "accountname": {
  22694. "description": "账户名称(机构名称)",
  22695. "type": "string"
  22696. },
  22697. "accountstatus": {
  22698. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22699. "type": "integer"
  22700. },
  22701. "applysrc": {
  22702. "description": "申请来源 - 1:管理端 2:终端",
  22703. "type": "integer"
  22704. },
  22705. "auditremark": {
  22706. "description": "审核备注",
  22707. "type": "string"
  22708. },
  22709. "auditsrc": {
  22710. "description": "审核来源 - 1:管理端 2:终端",
  22711. "type": "integer"
  22712. },
  22713. "audittime": {
  22714. "description": "审核时间",
  22715. "type": "string"
  22716. },
  22717. "audituserid": {
  22718. "description": "审核人",
  22719. "type": "integer"
  22720. },
  22721. "broker": {
  22722. "description": "所属经纪人ID",
  22723. "type": "integer"
  22724. },
  22725. "canceltime": {
  22726. "description": "销户时间",
  22727. "type": "string"
  22728. },
  22729. "canceluserid": {
  22730. "description": "销户人",
  22731. "type": "integer"
  22732. },
  22733. "canrecommend": {
  22734. "description": "是否可推荐 - 0:不可 1;可",
  22735. "type": "integer"
  22736. },
  22737. "createtime": {
  22738. "description": "创建时间",
  22739. "type": "string"
  22740. },
  22741. "creatorid": {
  22742. "description": "创建人",
  22743. "type": "integer"
  22744. },
  22745. "hasauth": {
  22746. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22747. "type": "integer"
  22748. },
  22749. "isanonymous": {
  22750. "description": "是否匿名下单 - 0:否 1:是",
  22751. "type": "integer"
  22752. },
  22753. "maxinvestornum": {
  22754. "description": "最大用户数(经纪会员下投资者个数)",
  22755. "type": "integer"
  22756. },
  22757. "memberuserid": {
  22758. "description": "所属会员ID",
  22759. "type": "integer"
  22760. },
  22761. "modifierid": {
  22762. "description": "修改人",
  22763. "type": "integer"
  22764. },
  22765. "modifyremark": {
  22766. "description": "变更备注",
  22767. "type": "string"
  22768. },
  22769. "modifystatus": {
  22770. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22771. "type": "integer"
  22772. },
  22773. "modifytime": {
  22774. "description": "修改时间",
  22775. "type": "string"
  22776. },
  22777. "nickname": {
  22778. "description": "昵称",
  22779. "type": "string"
  22780. },
  22781. "parenttopuser": {
  22782. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22783. "type": "string"
  22784. },
  22785. "parentuserid": {
  22786. "description": "所属机构ID",
  22787. "type": "integer"
  22788. },
  22789. "reckonaccountid": {
  22790. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22791. "type": "integer"
  22792. },
  22793. "refercount": {
  22794. "description": "推荐总人数",
  22795. "type": "integer"
  22796. },
  22797. "refereeuserid": {
  22798. "description": "推荐人ID",
  22799. "type": "integer"
  22800. },
  22801. "refernum": {
  22802. "description": "推荐码",
  22803. "type": "string"
  22804. },
  22805. "rootuserid": {
  22806. "description": "根用户ID",
  22807. "type": "integer"
  22808. },
  22809. "subaccountlevel": {
  22810. "description": "子账户层数",
  22811. "type": "integer"
  22812. },
  22813. "subarealevelpath": {
  22814. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22815. "type": "string"
  22816. },
  22817. "userid": {
  22818. "description": "用户ID",
  22819. "type": "integer"
  22820. },
  22821. "usertype": {
  22822. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22823. "type": "integer"
  22824. }
  22825. }
  22826. },
  22827. "models.Ermcp3SCMiddleGoods": {
  22828. "type": "object",
  22829. "properties": {
  22830. "biztype": {
  22831. "description": "业务类型 1:套保 2:套利",
  22832. "type": "integer"
  22833. },
  22834. "contractno": {
  22835. "description": "合同编号",
  22836. "type": "string"
  22837. },
  22838. "contracttype": {
  22839. "description": "合同类型 1:采购 -1:销售",
  22840. "type": "integer"
  22841. },
  22842. "convertratio": {
  22843. "description": "折算系数",
  22844. "type": "number"
  22845. },
  22846. "customername": {
  22847. "description": "对手手名称",
  22848. "type": "string"
  22849. },
  22850. "customeruserid": {
  22851. "description": "对手id",
  22852. "type": "integer"
  22853. },
  22854. "deliverygoodscode": {
  22855. "description": "现货品种代码",
  22856. "type": "string"
  22857. },
  22858. "deliverygoodsid": {
  22859. "description": "现货品种ID",
  22860. "type": "integer"
  22861. },
  22862. "deliverygoodsname": {
  22863. "description": "现货品种名称",
  22864. "type": "string"
  22865. },
  22866. "enumdicname": {
  22867. "description": "现货单位名称",
  22868. "type": "string"
  22869. },
  22870. "middlegoodsid": {
  22871. "description": "套保品种ID",
  22872. "type": "integer"
  22873. },
  22874. "middlegoodspricedqty3": {
  22875. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22876. "type": "number"
  22877. },
  22878. "needhedgeratio": {
  22879. "description": "套保比例",
  22880. "type": "number"
  22881. },
  22882. "pricedqty": {
  22883. "description": "已定价量",
  22884. "type": "number"
  22885. },
  22886. "relatedmiddlegoodsqty": {
  22887. "description": "已关联量(套保品种)(期货)",
  22888. "type": "number"
  22889. },
  22890. "spotcontractid": {
  22891. "description": "合同编号",
  22892. "type": "string"
  22893. },
  22894. "unitid": {
  22895. "description": "现货单位id",
  22896. "type": "integer"
  22897. },
  22898. "userid": {
  22899. "description": "用户id",
  22900. "type": "integer"
  22901. },
  22902. "vatrate": {
  22903. "description": "增值税率",
  22904. "type": "number"
  22905. },
  22906. "wrstandardcode": {
  22907. "description": "现货商品代码",
  22908. "type": "string"
  22909. },
  22910. "wrstandardid": {
  22911. "description": "现货商品id",
  22912. "type": "integer"
  22913. },
  22914. "wrstandardname": {
  22915. "description": "现货商品名称",
  22916. "type": "string"
  22917. }
  22918. }
  22919. },
  22920. "models.Ermcp3SCMiddleGoodsReport": {
  22921. "type": "object",
  22922. "properties": {
  22923. "begindate": {
  22924. "description": "开始交易日",
  22925. "type": "string"
  22926. },
  22927. "contractno": {
  22928. "description": "合同编号",
  22929. "type": "string"
  22930. },
  22931. "contracttype": {
  22932. "description": "合同类型 1:采购 -1:销售",
  22933. "type": "integer"
  22934. },
  22935. "convertratio": {
  22936. "description": "期初均价",
  22937. "type": "number"
  22938. },
  22939. "cycletime": {
  22940. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22941. "type": "string"
  22942. },
  22943. "cycletype": {
  22944. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22945. "type": "integer"
  22946. },
  22947. "deliverygoodscode": {
  22948. "description": "品种代码",
  22949. "type": "string"
  22950. },
  22951. "deliverygoodsid": {
  22952. "description": "现货品种ID",
  22953. "type": "integer"
  22954. },
  22955. "deliverygoodsname": {
  22956. "description": "品种名称",
  22957. "type": "string"
  22958. },
  22959. "diffprice": {
  22960. "description": "期初均价",
  22961. "type": "number"
  22962. },
  22963. "diffqty": {
  22964. "description": "期初均价",
  22965. "type": "number"
  22966. },
  22967. "enddate": {
  22968. "description": "结束交易日",
  22969. "type": "string"
  22970. },
  22971. "hedgeplanqty": {
  22972. "description": "期初均价",
  22973. "type": "number"
  22974. },
  22975. "matchname": {
  22976. "description": "交易对手方(个人:用户名称 企业:简称)",
  22977. "type": "string"
  22978. },
  22979. "matchnickname": {
  22980. "description": "交易对手方昵称",
  22981. "type": "string"
  22982. },
  22983. "middlegoodscode": {
  22984. "description": "套保品种代码",
  22985. "type": "string"
  22986. },
  22987. "middlegoodsid": {
  22988. "description": "套保品种ID",
  22989. "type": "integer"
  22990. },
  22991. "middlegoodsname": {
  22992. "description": "套保品种名称",
  22993. "type": "string"
  22994. },
  22995. "middlegoodspricedqty": {
  22996. "description": "期初均价",
  22997. "type": "number"
  22998. },
  22999. "middlegoodspricedqty2": {
  23000. "description": "期初均价",
  23001. "type": "number"
  23002. },
  23003. "middlegoodspricedqty3": {
  23004. "description": "期初均价",
  23005. "type": "number"
  23006. },
  23007. "needhedgeratio": {
  23008. "description": "期初均价",
  23009. "type": "number"
  23010. },
  23011. "pricedamount": {
  23012. "description": "期初均价",
  23013. "type": "number"
  23014. },
  23015. "pricedamount2": {
  23016. "description": "期初均价",
  23017. "type": "number"
  23018. },
  23019. "pricedqty": {
  23020. "description": "期初均价",
  23021. "type": "number"
  23022. },
  23023. "reckondate": {
  23024. "description": "日照时期(yyyyMMdd)",
  23025. "type": "string"
  23026. },
  23027. "relatedmiddlegoodsamount": {
  23028. "description": "期初均价",
  23029. "type": "number"
  23030. },
  23031. "relatedmiddlegoodsqty": {
  23032. "description": "期初均价",
  23033. "type": "number"
  23034. },
  23035. "spotcontractid": {
  23036. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23037. "type": "string"
  23038. },
  23039. "todayavgfutuprice": {
  23040. "description": "期初均价",
  23041. "type": "number"
  23042. },
  23043. "todayavgprice": {
  23044. "description": "期初均价",
  23045. "type": "number"
  23046. },
  23047. "todayavgprice2": {
  23048. "description": "期初均价",
  23049. "type": "number"
  23050. },
  23051. "todaypricedamount": {
  23052. "description": "期初均价",
  23053. "type": "number"
  23054. },
  23055. "todaypricedamount2": {
  23056. "description": "期初均价",
  23057. "type": "number"
  23058. },
  23059. "todaypricedqty": {
  23060. "description": "期初均价",
  23061. "type": "number"
  23062. },
  23063. "todayrelatedfutureqty": {
  23064. "description": "期初均价",
  23065. "type": "number"
  23066. },
  23067. "todayrelatedmiddlegoodsamount": {
  23068. "description": "期初均价",
  23069. "type": "number"
  23070. },
  23071. "todayrelatedmiddlegoodsqty": {
  23072. "description": "期初均价",
  23073. "type": "number"
  23074. },
  23075. "updatetime": {
  23076. "description": "更新时间",
  23077. "type": "string"
  23078. },
  23079. "userid": {
  23080. "description": "合同所属用户id",
  23081. "type": "integer"
  23082. },
  23083. "vatrate": {
  23084. "description": "期初均价",
  23085. "type": "number"
  23086. },
  23087. "wrstandardcode": {
  23088. "description": "商品(品类) 代码",
  23089. "type": "string"
  23090. },
  23091. "wrstandardid": {
  23092. "description": "现货商品ID",
  23093. "type": "integer"
  23094. },
  23095. "wrstandardname": {
  23096. "description": "商品(品类) 名称",
  23097. "type": "string"
  23098. }
  23099. }
  23100. },
  23101. "models.Ermcp3SellBuyContract": {
  23102. "type": "object",
  23103. "properties": {
  23104. "accountid": {
  23105. "description": "期货账户id",
  23106. "type": "string"
  23107. },
  23108. "accountname": {
  23109. "description": "账户名称",
  23110. "type": "string"
  23111. },
  23112. "attachment": {
  23113. "description": "附件",
  23114. "type": "string"
  23115. },
  23116. "audittime": {
  23117. "description": "审核时间",
  23118. "type": "string"
  23119. },
  23120. "bizsubjectid": {
  23121. "description": "归属业务部门ID - SubjectID",
  23122. "type": "integer"
  23123. },
  23124. "biztype": {
  23125. "description": "业务类型 1-套保 2-套利",
  23126. "type": "integer"
  23127. },
  23128. "brandname": {
  23129. "description": "品牌名称",
  23130. "type": "string"
  23131. },
  23132. "contracctstatus": {
  23133. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23134. "type": "integer"
  23135. },
  23136. "contractmargin": {
  23137. "description": "合同保证金",
  23138. "type": "number"
  23139. },
  23140. "contractno": {
  23141. "description": "合同编号",
  23142. "type": "string"
  23143. },
  23144. "contracttype": {
  23145. "description": "合同类型 1-采购, -1-销售",
  23146. "type": "integer"
  23147. },
  23148. "convertfactor": {
  23149. "description": "标仓系数(品类)",
  23150. "type": "number"
  23151. },
  23152. "createtime": {
  23153. "description": "创建时间",
  23154. "type": "string"
  23155. },
  23156. "currencyid": {
  23157. "description": "币种id",
  23158. "type": "integer"
  23159. },
  23160. "currencyname": {
  23161. "description": "币种名称",
  23162. "type": "string"
  23163. },
  23164. "daikaiamount": {
  23165. "description": "应收(开)票额 | 未收票额",
  23166. "type": "number"
  23167. },
  23168. "deliveryenddate": {
  23169. "description": "交割结束日",
  23170. "type": "string"
  23171. },
  23172. "deliverygoodscode": {
  23173. "description": "现货品种代码",
  23174. "type": "string"
  23175. },
  23176. "deliverygoodsid": {
  23177. "description": "现货商品ID",
  23178. "type": "integer"
  23179. },
  23180. "deliverygoodsname": {
  23181. "description": "现货品种名称",
  23182. "type": "string"
  23183. },
  23184. "deliverystartdate": {
  23185. "description": "交割开始日",
  23186. "type": "string"
  23187. },
  23188. "enddate": {
  23189. "description": "点价结束日",
  23190. "type": "string"
  23191. },
  23192. "enumdicname": {
  23193. "description": "单位名称",
  23194. "type": "string"
  23195. },
  23196. "goodscode": {
  23197. "description": "点价商品代码",
  23198. "type": "string"
  23199. },
  23200. "goodsgroupid": {
  23201. "description": "点价商品组id",
  23202. "type": "integer"
  23203. },
  23204. "goodsid": {
  23205. "description": "点价商品ID",
  23206. "type": "integer"
  23207. },
  23208. "goodsname": {
  23209. "description": "点价商品名称",
  23210. "type": "string"
  23211. },
  23212. "invoiceamount": {
  23213. "description": "已开票额",
  23214. "type": "number"
  23215. },
  23216. "loanamount": {
  23217. "description": "贷款总额=已定价额+调整金额",
  23218. "type": "number"
  23219. },
  23220. "margin": {
  23221. "description": "保证金",
  23222. "type": "number"
  23223. },
  23224. "meruserid": {
  23225. "description": "跟单员id",
  23226. "type": "integer"
  23227. },
  23228. "meruserlogincode": {
  23229. "description": "跟单员登录代码",
  23230. "type": "string"
  23231. },
  23232. "merusername": {
  23233. "description": "跟单员名称",
  23234. "type": "string"
  23235. },
  23236. "nickname": {
  23237. "description": "账户昵称",
  23238. "type": "string"
  23239. },
  23240. "orireckonrealqty": {
  23241. "description": "应交收量",
  23242. "type": "number"
  23243. },
  23244. "payamount": {
  23245. "description": "已收付额(收款或付款)",
  23246. "type": "number"
  23247. },
  23248. "preinvoiceamount": {
  23249. "description": "预收(开)票额",
  23250. "type": "number"
  23251. },
  23252. "prepayamount": {
  23253. "description": "预收付额",
  23254. "type": "number"
  23255. },
  23256. "price": {
  23257. "description": "价格",
  23258. "type": "number"
  23259. },
  23260. "pricedamount": {
  23261. "description": "已定价额",
  23262. "type": "number"
  23263. },
  23264. "pricedavg": {
  23265. "description": "已点均价",
  23266. "type": "number"
  23267. },
  23268. "pricedqty": {
  23269. "description": "已定价量",
  23270. "type": "number"
  23271. },
  23272. "pricemove": {
  23273. "description": "升贴水",
  23274. "type": "number"
  23275. },
  23276. "pricetype": {
  23277. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23278. "type": "integer"
  23279. },
  23280. "producttype": {
  23281. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23282. "type": "integer"
  23283. },
  23284. "qty": {
  23285. "description": "合同量",
  23286. "type": "number"
  23287. },
  23288. "reckonadjustamount": {
  23289. "description": "调整金额",
  23290. "type": "number"
  23291. },
  23292. "reckonedamount": {
  23293. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  23294. "type": "number"
  23295. },
  23296. "reckonotheramount": {
  23297. "description": "其它费用",
  23298. "type": "number"
  23299. },
  23300. "reckonrealqty": {
  23301. "description": "已交收量",
  23302. "type": "number"
  23303. },
  23304. "remark": {
  23305. "description": "备注",
  23306. "type": "string"
  23307. },
  23308. "saleuserid": {
  23309. "description": "业务员id",
  23310. "type": "integer"
  23311. },
  23312. "saleuserlogincode": {
  23313. "description": "业务员登录代码",
  23314. "type": "string"
  23315. },
  23316. "saleusername": {
  23317. "description": "业务员名称",
  23318. "type": "string"
  23319. },
  23320. "spotcontractid": {
  23321. "description": "合同ID",
  23322. "type": "string"
  23323. },
  23324. "spotgoodsbrandid": {
  23325. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23326. "type": "integer"
  23327. },
  23328. "spotgoodsdesc": {
  23329. "description": "商品型号(商品规格)",
  23330. "type": "string"
  23331. },
  23332. "startdate": {
  23333. "description": "点价开始日",
  23334. "type": "string"
  23335. },
  23336. "subjectid": {
  23337. "description": "交易主体ID",
  23338. "type": "integer"
  23339. },
  23340. "subjectname": {
  23341. "description": "交易主体名称",
  23342. "type": "string"
  23343. },
  23344. "totalamount": {
  23345. "description": "合计总额",
  23346. "type": "number"
  23347. },
  23348. "tradeuserid": {
  23349. "description": "交易员id",
  23350. "type": "integer"
  23351. },
  23352. "tradeuserlogincode": {
  23353. "description": "交易员登录代码",
  23354. "type": "string"
  23355. },
  23356. "tradeusername": {
  23357. "description": "交易员名称",
  23358. "type": "string"
  23359. },
  23360. "unpayamount": {
  23361. "description": "应收付款额(应支付或应收款) | 未付款额",
  23362. "type": "number"
  23363. },
  23364. "unpricedqty": {
  23365. "description": "未定价量",
  23366. "type": "number"
  23367. },
  23368. "unsureqty": {
  23369. "description": "未确定量 | 未交收量",
  23370. "type": "number"
  23371. },
  23372. "userid": {
  23373. "description": "机构ID",
  23374. "type": "integer"
  23375. },
  23376. "vatrate": {
  23377. "description": "增值税率",
  23378. "type": "number"
  23379. },
  23380. "wrstandardcode": {
  23381. "description": "品类代码",
  23382. "type": "string"
  23383. },
  23384. "wrstandardid": {
  23385. "description": "品类ID",
  23386. "type": "integer"
  23387. },
  23388. "wrstandardname": {
  23389. "description": "品类名称",
  23390. "type": "string"
  23391. }
  23392. }
  23393. },
  23394. "models.Ermcp3SpotGoodsPrice": {
  23395. "type": "object",
  23396. "properties": {
  23397. "areauserid": {
  23398. "description": "所属机构id",
  23399. "type": "integer"
  23400. },
  23401. "brandname": {
  23402. "description": "品牌名称",
  23403. "type": "string"
  23404. },
  23405. "currencyid": {
  23406. "description": "报价货币ID",
  23407. "type": "integer"
  23408. },
  23409. "currencyname": {
  23410. "description": "币种名称",
  23411. "type": "string"
  23412. },
  23413. "deliverygoodscode": {
  23414. "description": "现货商品代码",
  23415. "type": "string"
  23416. },
  23417. "deliverygoodsid": {
  23418. "description": "现货商品id",
  23419. "type": "integer"
  23420. },
  23421. "deliverygoodsname": {
  23422. "description": "现货商品名称",
  23423. "type": "string"
  23424. },
  23425. "enumdicname": {
  23426. "description": "现货商品单位名称",
  23427. "type": "string"
  23428. },
  23429. "gbenumdicname": {
  23430. "description": "品类单位名称",
  23431. "type": "string"
  23432. },
  23433. "gmunitid": {
  23434. "description": "品类单位id",
  23435. "type": "integer"
  23436. },
  23437. "isvalid": {
  23438. "description": "是否有效 - 0:无效 1:有效",
  23439. "type": "integer"
  23440. },
  23441. "operateid": {
  23442. "description": "最后操作人",
  23443. "type": "integer"
  23444. },
  23445. "operatesrc": {
  23446. "description": "最后操作来源 - 1:管理端 2:终端",
  23447. "type": "integer"
  23448. },
  23449. "operatetime": {
  23450. "description": "最后操作时间",
  23451. "type": "string"
  23452. },
  23453. "operatorname": {
  23454. "description": "操作人名称",
  23455. "type": "string"
  23456. },
  23457. "spotgoodsbrandid": {
  23458. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23459. "type": "integer"
  23460. },
  23461. "spotgoodsprice": {
  23462. "description": "现货价格",
  23463. "type": "number"
  23464. },
  23465. "tradedate": {
  23466. "description": "交易日(yyyyMMdd)",
  23467. "type": "string"
  23468. },
  23469. "unitid": {
  23470. "description": "现货商品单位id",
  23471. "type": "integer"
  23472. },
  23473. "wrstandardcode": {
  23474. "description": "品类代码",
  23475. "type": "string"
  23476. },
  23477. "wrstandardid": {
  23478. "description": "现货品类ID(通用则为0)",
  23479. "type": "integer"
  23480. },
  23481. "wrstandardname": {
  23482. "description": "品类名称",
  23483. "type": "string"
  23484. }
  23485. }
  23486. },
  23487. "models.Ermcp3SpotGoodsPriceLog": {
  23488. "type": "object",
  23489. "properties": {
  23490. "areauserid": {
  23491. "description": "所属机构id",
  23492. "type": "integer"
  23493. },
  23494. "brandname": {
  23495. "description": "品牌名称",
  23496. "type": "string"
  23497. },
  23498. "currencyid": {
  23499. "description": "报价货币ID",
  23500. "type": "integer"
  23501. },
  23502. "deliverygoodscode": {
  23503. "description": "现货商品代码",
  23504. "type": "string"
  23505. },
  23506. "deliverygoodsid": {
  23507. "description": "现货商品id",
  23508. "type": "integer"
  23509. },
  23510. "deliverygoodsname": {
  23511. "description": "现货商品名称",
  23512. "type": "string"
  23513. },
  23514. "enumdicname": {
  23515. "description": "现货商品单位名称",
  23516. "type": "string"
  23517. },
  23518. "gbenumdicname": {
  23519. "description": "品类单位名称",
  23520. "type": "string"
  23521. },
  23522. "gmunitid": {
  23523. "description": "品类单位id",
  23524. "type": "integer"
  23525. },
  23526. "logid": {
  23527. "description": "日志id",
  23528. "type": "integer"
  23529. },
  23530. "operateid": {
  23531. "description": "最后操作人",
  23532. "type": "integer"
  23533. },
  23534. "operatesrc": {
  23535. "description": "最后操作来源 - 1:管理端 2:终端",
  23536. "type": "integer"
  23537. },
  23538. "operatetime": {
  23539. "description": "最后操作时间",
  23540. "type": "string"
  23541. },
  23542. "operatorname": {
  23543. "description": "操作人名称",
  23544. "type": "string"
  23545. },
  23546. "spotgoodsbrandid": {
  23547. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23548. "type": "integer"
  23549. },
  23550. "spotgoodsprice": {
  23551. "description": "现货价格",
  23552. "type": "number"
  23553. },
  23554. "tradedate": {
  23555. "description": "交易日(yyyyMMdd)",
  23556. "type": "string"
  23557. },
  23558. "unitid": {
  23559. "description": "现货商品单位id",
  23560. "type": "integer"
  23561. },
  23562. "wrstandardcode": {
  23563. "description": "品类代码",
  23564. "type": "string"
  23565. },
  23566. "wrstandardid": {
  23567. "description": "现货品类ID(通用则为0)",
  23568. "type": "integer"
  23569. },
  23570. "wrstandardname": {
  23571. "description": "品类名称",
  23572. "type": "string"
  23573. }
  23574. }
  23575. },
  23576. "models.Ermcp3SubTaaccount": {
  23577. "type": "object",
  23578. "properties": {
  23579. "accountid": {
  23580. "description": "资金账户ID",
  23581. "type": "integer"
  23582. },
  23583. "parentaccountcode": {
  23584. "description": "所属根账号代码(母账号代码)",
  23585. "type": "string"
  23586. },
  23587. "parentaccountid": {
  23588. "description": "所属根账号(母账号)",
  23589. "type": "integer"
  23590. },
  23591. "taname": {
  23592. "description": "资金账号名称",
  23593. "type": "string"
  23594. },
  23595. "tradestatus": {
  23596. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23597. "type": "integer"
  23598. },
  23599. "username": {
  23600. "description": "交易用户",
  23601. "type": "string"
  23602. }
  23603. }
  23604. },
  23605. "models.Ermcp3TaFutuReDataReport": {
  23606. "type": "object",
  23607. "properties": {
  23608. "accountid": {
  23609. "description": "交易账户",
  23610. "type": "integer"
  23611. },
  23612. "accountname": {
  23613. "description": "交易账号名称",
  23614. "type": "string"
  23615. },
  23616. "agreeunit": {
  23617. "description": "商品合约单位",
  23618. "type": "number"
  23619. },
  23620. "begindate": {
  23621. "description": "开始交易日",
  23622. "type": "string"
  23623. },
  23624. "buyorsell": {
  23625. "description": "持仓方向",
  23626. "type": "integer"
  23627. },
  23628. "charge": {
  23629. "description": "手续费",
  23630. "type": "number"
  23631. },
  23632. "closeavgprice": {
  23633. "description": "期初均价",
  23634. "type": "number"
  23635. },
  23636. "closepl": {
  23637. "description": "平仓损益",
  23638. "type": "number"
  23639. },
  23640. "currencyid": {
  23641. "description": "结算币种ID",
  23642. "type": "integer"
  23643. },
  23644. "currencyname": {
  23645. "description": "币种名称",
  23646. "type": "string"
  23647. },
  23648. "cycletime": {
  23649. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23650. "type": "string"
  23651. },
  23652. "cycletype": {
  23653. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23654. "type": "integer"
  23655. },
  23656. "enddate": {
  23657. "description": "结束交易日",
  23658. "type": "string"
  23659. },
  23660. "enumdicname": {
  23661. "description": "单位名称",
  23662. "type": "string"
  23663. },
  23664. "floatpl": {
  23665. "description": "浮动损益",
  23666. "type": "number"
  23667. },
  23668. "goodscode": {
  23669. "description": "交易合约代码",
  23670. "type": "string"
  23671. },
  23672. "goodsgroupid": {
  23673. "description": "交易品种",
  23674. "type": "integer"
  23675. },
  23676. "goodsgroupname": {
  23677. "description": "交易品种名称",
  23678. "type": "string"
  23679. },
  23680. "goodsgroupspotqty": {
  23681. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23682. "type": "number"
  23683. },
  23684. "goodsid": {
  23685. "description": "交易合约",
  23686. "type": "integer"
  23687. },
  23688. "goodsname": {
  23689. "description": "交易合约名称",
  23690. "type": "string"
  23691. },
  23692. "goodunitid": {
  23693. "description": "交易合约单位id",
  23694. "type": "integer"
  23695. },
  23696. "holdamount": {
  23697. "description": "期末持仓额",
  23698. "type": "number"
  23699. },
  23700. "holdqty": {
  23701. "description": "期初均价",
  23702. "type": "number"
  23703. },
  23704. "lastholdamount": {
  23705. "description": "当前持仓额",
  23706. "type": "number"
  23707. },
  23708. "lastprice": {
  23709. "description": "最新价",
  23710. "type": "number"
  23711. },
  23712. "middlegoodsid": {
  23713. "description": "套保品种id",
  23714. "type": "integer"
  23715. },
  23716. "middlegoodsname": {
  23717. "description": "套保商品名称",
  23718. "type": "string"
  23719. },
  23720. "middlegoodsqty": {
  23721. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23722. "type": "number"
  23723. },
  23724. "middlgoodscode": {
  23725. "description": "套保商品代码",
  23726. "type": "string"
  23727. },
  23728. "openamount": {
  23729. "description": "期末开仓额",
  23730. "type": "number"
  23731. },
  23732. "openavgprice": {
  23733. "description": "期初均价",
  23734. "type": "number"
  23735. },
  23736. "oriholdamount": {
  23737. "description": "期初持仓额",
  23738. "type": "number"
  23739. },
  23740. "oriholdqty": {
  23741. "description": "期初均价",
  23742. "type": "number"
  23743. },
  23744. "oriopenamount": {
  23745. "description": "期初开仓额",
  23746. "type": "number"
  23747. },
  23748. "outergroupcode": {
  23749. "description": "交易品种代码",
  23750. "type": "string"
  23751. },
  23752. "qtydecimalplace": {
  23753. "description": "成交量小数位",
  23754. "type": "integer"
  23755. },
  23756. "reckondate": {
  23757. "description": "日照时期(yyyyMMdd)",
  23758. "type": "string"
  23759. },
  23760. "reckonholdamount": {
  23761. "description": "结算持仓额",
  23762. "type": "number"
  23763. },
  23764. "reckonpl": {
  23765. "description": "结算损益",
  23766. "type": "number"
  23767. },
  23768. "reckonpl2": {
  23769. "description": "结算逐笔盈亏",
  23770. "type": "number"
  23771. },
  23772. "reckonprice": {
  23773. "description": "结算价",
  23774. "type": "number"
  23775. },
  23776. "relateduserid": {
  23777. "description": "账户关联用户ID",
  23778. "type": "integer"
  23779. },
  23780. "todaycloseamount": {
  23781. "description": "今平仓额",
  23782. "type": "number"
  23783. },
  23784. "todaycloseqty": {
  23785. "description": "期初均价",
  23786. "type": "number"
  23787. },
  23788. "todaygoodsgroupspotqty": {
  23789. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23790. "type": "number"
  23791. },
  23792. "todaymiddlegoodsqty": {
  23793. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23794. "type": "number"
  23795. },
  23796. "todayopenamount": {
  23797. "description": "今开仓额",
  23798. "type": "number"
  23799. },
  23800. "todayopenqty": {
  23801. "description": "期初均价",
  23802. "type": "number"
  23803. },
  23804. "userid": {
  23805. "description": "账户所属用户ID",
  23806. "type": "integer"
  23807. }
  23808. }
  23809. },
  23810. "models.Ermcp3TradeLinkDetail": {
  23811. "type": "object",
  23812. "properties": {
  23813. "accountid": {
  23814. "description": "资金账号",
  23815. "type": "integer"
  23816. },
  23817. "agreeunit": {
  23818. "description": "合约乘数",
  23819. "type": "number"
  23820. },
  23821. "areauserid": {
  23822. "description": "所属机构",
  23823. "type": "string"
  23824. },
  23825. "bizsubjectid": {
  23826. "description": "归属业务部门ID - SubjectID",
  23827. "type": "string"
  23828. },
  23829. "buyorsell": {
  23830. "description": "方向 - 0:买 1:卖",
  23831. "type": "integer"
  23832. },
  23833. "channelbuildtype": {
  23834. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23835. "type": "integer"
  23836. },
  23837. "contractno": {
  23838. "description": "现货编号 (合同编号)",
  23839. "type": "string"
  23840. },
  23841. "convertratio": {
  23842. "description": "折算系数",
  23843. "type": "number"
  23844. },
  23845. "createtime": {
  23846. "description": "关联时间 | 创建时间",
  23847. "type": "string"
  23848. },
  23849. "creatorid": {
  23850. "description": "创建人ID",
  23851. "type": "string"
  23852. },
  23853. "creatorsrc": {
  23854. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23855. "type": "integer"
  23856. },
  23857. "enumdicname": {
  23858. "description": "单位名称",
  23859. "type": "string"
  23860. },
  23861. "goodscode": {
  23862. "description": "合约代码",
  23863. "type": "string"
  23864. },
  23865. "goodsgroupid": {
  23866. "description": "对冲品种ID[期货合约商品组ID]",
  23867. "type": "integer"
  23868. },
  23869. "goodsid": {
  23870. "description": "商品ID",
  23871. "type": "integer"
  23872. },
  23873. "goodsname": {
  23874. "description": "合约名称",
  23875. "type": "string"
  23876. },
  23877. "hedgeflag": {
  23878. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23879. "type": "integer"
  23880. },
  23881. "linkdetailid": {
  23882. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23883. "type": "string"
  23884. },
  23885. "linkstatus": {
  23886. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23887. "type": "integer"
  23888. },
  23889. "middlegoodscode": {
  23890. "description": "套保品种代码",
  23891. "type": "string"
  23892. },
  23893. "middlegoodsid": {
  23894. "description": "套保品种ID",
  23895. "type": "integer"
  23896. },
  23897. "middlegoodsname": {
  23898. "description": "套保品种名称",
  23899. "type": "string"
  23900. },
  23901. "relatedlot": {
  23902. "description": "关联手数",
  23903. "type": "number"
  23904. },
  23905. "relatedmode": {
  23906. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23907. "type": "integer"
  23908. },
  23909. "relatedqty": {
  23910. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23911. "type": "number"
  23912. },
  23913. "retcode": {
  23914. "description": "返回码",
  23915. "type": "integer"
  23916. },
  23917. "saleuserid": {
  23918. "description": "业务员ID",
  23919. "type": "string"
  23920. },
  23921. "spotcontractid": {
  23922. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23923. "type": "string"
  23924. },
  23925. "taname": {
  23926. "description": "期货账户",
  23927. "type": "string"
  23928. },
  23929. "tradedate": {
  23930. "description": "关联交易日(yyyyMMdd)",
  23931. "type": "string"
  23932. },
  23933. "tradeid": {
  23934. "description": "期货订单号 | 内部成交单ID",
  23935. "type": "string"
  23936. },
  23937. "tradelot": {
  23938. "description": "成交数量 | 成交手数",
  23939. "type": "integer"
  23940. },
  23941. "tradeprice": {
  23942. "description": "成交价格",
  23943. "type": "number"
  23944. },
  23945. "tradetime": {
  23946. "description": "期货成交时间",
  23947. "type": "string"
  23948. },
  23949. "tradetradedate": {
  23950. "description": "成交交易日(yyyyMMdd)",
  23951. "type": "string"
  23952. },
  23953. "username": {
  23954. "description": "用户名称",
  23955. "type": "string"
  23956. }
  23957. }
  23958. },
  23959. "models.Ermcp3Wrstandard": {
  23960. "type": "object",
  23961. "properties": {
  23962. "areauserid": {
  23963. "description": "所属机构",
  23964. "type": "integer"
  23965. },
  23966. "cantrade": {
  23967. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23968. "type": "integer"
  23969. },
  23970. "convertfactor": {
  23971. "description": "标仓系数",
  23972. "type": "number"
  23973. },
  23974. "createtime": {
  23975. "description": "创建时间",
  23976. "type": "string"
  23977. },
  23978. "creatorid": {
  23979. "description": "创建人",
  23980. "type": "integer"
  23981. },
  23982. "deliverygoodsid": {
  23983. "description": "现货品种ID",
  23984. "type": "integer"
  23985. },
  23986. "enumdicname": {
  23987. "description": "品类单位名称",
  23988. "type": "string"
  23989. },
  23990. "isvalid": {
  23991. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23992. "type": "integer"
  23993. },
  23994. "minivalue": {
  23995. "description": "最小变动值",
  23996. "type": "integer"
  23997. },
  23998. "minivaluedp": {
  23999. "description": "最小变动值小数位",
  24000. "type": "integer"
  24001. },
  24002. "realminivalue": {
  24003. "description": "实际最小变动值",
  24004. "type": "integer"
  24005. },
  24006. "realminivaluedp": {
  24007. "description": "实际最小变动值小数位",
  24008. "type": "integer"
  24009. },
  24010. "remark": {
  24011. "description": "备注",
  24012. "type": "string"
  24013. },
  24014. "unitid": {
  24015. "description": "品类单位ID",
  24016. "type": "integer"
  24017. },
  24018. "updatetime": {
  24019. "description": "更新时间",
  24020. "type": "string"
  24021. },
  24022. "wrstandardcode": {
  24023. "description": "品类代码",
  24024. "type": "string"
  24025. },
  24026. "wrstandardid": {
  24027. "description": "品类ID(SEQ_WRSTANDARD)",
  24028. "type": "integer"
  24029. },
  24030. "wrstandardname": {
  24031. "description": "品类名称",
  24032. "type": "string"
  24033. }
  24034. }
  24035. },
  24036. "models.Ermcp8EnableHedgeditem": {
  24037. "type": "object",
  24038. "properties": {
  24039. "accountname": {
  24040. "description": "套期主体",
  24041. "type": "string"
  24042. },
  24043. "hedgeditemid": {
  24044. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  24045. "type": "string"
  24046. },
  24047. "hedgeditemname": {
  24048. "description": "项目名称",
  24049. "type": "string"
  24050. },
  24051. "hedgeditemnum": {
  24052. "description": "项目编号",
  24053. "type": "string"
  24054. },
  24055. "hedgedtype": {
  24056. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  24057. "type": "integer"
  24058. },
  24059. "planenddate": {
  24060. "description": "计划结束日期",
  24061. "type": "string"
  24062. },
  24063. "planstartdate": {
  24064. "description": "计划开始日期",
  24065. "type": "string"
  24066. },
  24067. "wrstandardid": {
  24068. "description": "现货商品ID",
  24069. "type": "integer"
  24070. },
  24071. "wrstandardname": {
  24072. "description": "现货商品",
  24073. "type": "string"
  24074. }
  24075. }
  24076. },
  24077. "models.Ermcp8HedgeditemReport": {
  24078. "type": "object",
  24079. "properties": {
  24080. "accountname": {
  24081. "description": "套期主体",
  24082. "type": "string"
  24083. },
  24084. "areauserid": {
  24085. "description": "企业ID",
  24086. "type": "integer"
  24087. },
  24088. "curprice": {
  24089. "description": "[当日现货市场价]当前市场价",
  24090. "type": "number"
  24091. },
  24092. "enumdicname": {
  24093. "description": "单位",
  24094. "type": "string"
  24095. },
  24096. "exeamount": {
  24097. "description": "[执行现货金额]执行市价总额",
  24098. "type": "number"
  24099. },
  24100. "exeavgprice": {
  24101. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  24102. "type": "number"
  24103. },
  24104. "exeqty": {
  24105. "description": "[执行数量]执行现货量",
  24106. "type": "number"
  24107. },
  24108. "futurehedgepl": {
  24109. "description": "期货实际损益",
  24110. "type": "number"
  24111. },
  24112. "futurehedgeplchange": {
  24113. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  24114. "type": "number"
  24115. },
  24116. "futurepl": {
  24117. "description": "期货套期损益",
  24118. "type": "number"
  24119. },
  24120. "futureplchange": {
  24121. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  24122. "type": "number"
  24123. },
  24124. "hedgeamount": {
  24125. "description": "[套期现货金额]套期市价总额",
  24126. "type": "number"
  24127. },
  24128. "hedgeditemnum": {
  24129. "description": "项目编号,模糊查询",
  24130. "type": "string"
  24131. },
  24132. "hedgeditemstatus": {
  24133. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24134. "type": "integer"
  24135. },
  24136. "hedgedtype": {
  24137. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  24138. "type": "integer"
  24139. },
  24140. "hedgeqty": {
  24141. "description": "[套期数量]套期现货量",
  24142. "type": "number"
  24143. },
  24144. "oriavgprice": {
  24145. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  24146. "type": "number"
  24147. },
  24148. "orifuturehedgepl": {
  24149. "description": "期初期货实际损益",
  24150. "type": "number"
  24151. },
  24152. "orifuturepl": {
  24153. "description": "期初期货套期损益",
  24154. "type": "number"
  24155. },
  24156. "orispothedgepl": {
  24157. "description": "期初现货实际损益",
  24158. "type": "number"
  24159. },
  24160. "orispotpl": {
  24161. "description": "期初现货套期损益",
  24162. "type": "number"
  24163. },
  24164. "planenddate": {
  24165. "description": "计划结束日期",
  24166. "type": "string"
  24167. },
  24168. "planstartdate": {
  24169. "description": "计划开始日期",
  24170. "type": "string"
  24171. },
  24172. "spothedgepl": {
  24173. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24174. "type": "number"
  24175. },
  24176. "spothedgeplchange": {
  24177. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  24178. "type": "number"
  24179. },
  24180. "spotpl": {
  24181. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  24182. "type": "number"
  24183. },
  24184. "spotplchange": {
  24185. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  24186. "type": "number"
  24187. },
  24188. "tradeuserid": {
  24189. "description": "交易用户ID",
  24190. "type": "integer"
  24191. },
  24192. "unexeqty": {
  24193. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  24194. "type": "number"
  24195. },
  24196. "wrstandardcode": {
  24197. "description": "现货品类代码",
  24198. "type": "string"
  24199. },
  24200. "wrstandardid": {
  24201. "description": "现货商品ID",
  24202. "type": "integer"
  24203. },
  24204. "wrstandardname": {
  24205. "description": "[现货商品]现货品类名称",
  24206. "type": "string"
  24207. }
  24208. }
  24209. },
  24210. "models.Ermcp8RunningHedgeditem": {
  24211. "type": "object",
  24212. "properties": {
  24213. "accountname": {
  24214. "description": "套期主体",
  24215. "type": "string"
  24216. },
  24217. "applyid": {
  24218. "description": "申请人",
  24219. "type": "integer"
  24220. },
  24221. "applysrc": {
  24222. "description": "申请来源 - 1:管理端 2:终端",
  24223. "type": "integer"
  24224. },
  24225. "areauserid": {
  24226. "description": "企业ID",
  24227. "type": "integer"
  24228. },
  24229. "auditid": {
  24230. "description": "审核人",
  24231. "type": "integer"
  24232. },
  24233. "auditremark": {
  24234. "description": "审核备注",
  24235. "type": "string"
  24236. },
  24237. "auditsrc": {
  24238. "description": "审核来源 - 1:管理端 2:终端",
  24239. "type": "integer"
  24240. },
  24241. "audittime": {
  24242. "description": "审核时间",
  24243. "type": "string"
  24244. },
  24245. "audittradedate": {
  24246. "description": "审核交易日(yyyyMMdd)",
  24247. "type": "string"
  24248. },
  24249. "createtime": {
  24250. "description": "申请时间",
  24251. "type": "string"
  24252. },
  24253. "curprice": {
  24254. "description": "当前市场价",
  24255. "type": "number"
  24256. },
  24257. "curstock": {
  24258. "description": "期末库存量 = 采购总量 - 销售总量",
  24259. "type": "number"
  24260. },
  24261. "deliverygoodsid": {
  24262. "description": "现货品种ID",
  24263. "type": "integer"
  24264. },
  24265. "enddate": {
  24266. "description": "完成日期",
  24267. "type": "string"
  24268. },
  24269. "endtradedate": {
  24270. "description": "完成交易日",
  24271. "type": "string"
  24272. },
  24273. "enumdicname": {
  24274. "description": "单位",
  24275. "type": "string"
  24276. },
  24277. "exeamount": {
  24278. "description": "执行市价总额",
  24279. "type": "number"
  24280. },
  24281. "exeavgprice": {
  24282. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  24283. "type": "number"
  24284. },
  24285. "execontractamount": {
  24286. "description": "执行定价总额",
  24287. "type": "number"
  24288. },
  24289. "exeqty": {
  24290. "description": "执行现货量",
  24291. "type": "number"
  24292. },
  24293. "exerestamount": {
  24294. "description": "执行剩余市价总额【现货贸易】",
  24295. "type": "number"
  24296. },
  24297. "futurefloatpl": {
  24298. "description": "期货浮动损益",
  24299. "type": "number"
  24300. },
  24301. "futurehedgepl": {
  24302. "description": "期货实际损益",
  24303. "type": "number"
  24304. },
  24305. "futurehedgeplchange": {
  24306. "description": "期货实际损益变动",
  24307. "type": "number"
  24308. },
  24309. "futurepl": {
  24310. "description": "期货套期损益",
  24311. "type": "number"
  24312. },
  24313. "futureplchange": {
  24314. "description": "期货套期损益变动",
  24315. "type": "number"
  24316. },
  24317. "hedgeamount": {
  24318. "description": "套期市价总额",
  24319. "type": "number"
  24320. },
  24321. "hedgecontractamount": {
  24322. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  24323. "type": "number"
  24324. },
  24325. "hedgeditemid": {
  24326. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  24327. "type": "string"
  24328. },
  24329. "hedgeditemname": {
  24330. "description": "项目名称",
  24331. "type": "string"
  24332. },
  24333. "hedgeditemnum": {
  24334. "description": "项目编号",
  24335. "type": "string"
  24336. },
  24337. "hedgeditemstatus": {
  24338. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24339. "type": "integer"
  24340. },
  24341. "hedgedtype": {
  24342. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  24343. "type": "integer"
  24344. },
  24345. "hedgeqty": {
  24346. "description": "套期现货量",
  24347. "type": "number"
  24348. },
  24349. "hedgerate": {
  24350. "description": "套保比率",
  24351. "type": "number"
  24352. },
  24353. "hedgerestamount": {
  24354. "description": "套期剩余市价总额【现货贸易】",
  24355. "type": "number"
  24356. },
  24357. "hedgesumpl": {
  24358. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  24359. "type": "number"
  24360. },
  24361. "middlegoodslist": {
  24362. "description": "套期商品列表",
  24363. "type": "array",
  24364. "items": {
  24365. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  24366. }
  24367. },
  24368. "oriavgprice": {
  24369. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  24370. "type": "number"
  24371. },
  24372. "orifuturehedgepl": {
  24373. "description": "期初期货实际损益",
  24374. "type": "number"
  24375. },
  24376. "orifuturepl": {
  24377. "description": "期初期货套期损益",
  24378. "type": "number"
  24379. },
  24380. "orispothedgepl": {
  24381. "description": "期初现货实际损益",
  24382. "type": "number"
  24383. },
  24384. "orispotpl": {
  24385. "description": "期初现货套期损益",
  24386. "type": "number"
  24387. },
  24388. "planenddate": {
  24389. "description": "计划结束日期",
  24390. "type": "string"
  24391. },
  24392. "planstartdate": {
  24393. "description": "计划开始日期",
  24394. "type": "string"
  24395. },
  24396. "remark": {
  24397. "description": "备注",
  24398. "type": "string"
  24399. },
  24400. "spotbookamount": {
  24401. "description": "现货账面总额",
  24402. "type": "number"
  24403. },
  24404. "spotfloatpl": {
  24405. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24406. "type": "number"
  24407. },
  24408. "spothedgepl": {
  24409. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  24410. "type": "number"
  24411. },
  24412. "spothedgeplchange": {
  24413. "description": "现货实际损益变动",
  24414. "type": "number"
  24415. },
  24416. "spotpl": {
  24417. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  24418. "type": "number"
  24419. },
  24420. "spotplchange": {
  24421. "description": "现货套期损益变动",
  24422. "type": "number"
  24423. },
  24424. "spottradepl": {
  24425. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  24426. "type": "number"
  24427. },
  24428. "sumobspl": {
  24429. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  24430. "type": "number"
  24431. },
  24432. "tradeuserid": {
  24433. "description": "交易用户ID",
  24434. "type": "integer"
  24435. },
  24436. "unexeqty": {
  24437. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  24438. "type": "number"
  24439. },
  24440. "updatetime": {
  24441. "description": "更新时间",
  24442. "type": "string"
  24443. },
  24444. "vatpl": {
  24445. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  24446. "type": "number"
  24447. },
  24448. "vatrate": {
  24449. "description": "增值税",
  24450. "type": "number"
  24451. },
  24452. "wrstandardid": {
  24453. "description": "现货商品ID",
  24454. "type": "integer"
  24455. },
  24456. "wrstandardname": {
  24457. "description": "商品名称",
  24458. "type": "string"
  24459. }
  24460. }
  24461. },
  24462. "models.ErmcpBizGroupEx": {
  24463. "type": "object",
  24464. "properties": {
  24465. "acclist": {
  24466. "description": "账号列表",
  24467. "type": "array",
  24468. "items": {
  24469. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  24470. }
  24471. },
  24472. "bizgroupid": {
  24473. "description": "业务分组id",
  24474. "type": "integer"
  24475. },
  24476. "biztype": {
  24477. "description": "业务类型 1-套保 2-套利",
  24478. "type": "integer"
  24479. },
  24480. "wrlist": {
  24481. "description": "现货商品表",
  24482. "type": "array",
  24483. "items": {
  24484. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  24485. }
  24486. }
  24487. }
  24488. },
  24489. "models.ErmcpBizGroupSpotGoods": {
  24490. "type": "object",
  24491. "properties": {
  24492. "areauserid": {
  24493. "description": "所属机构id",
  24494. "type": "integer"
  24495. },
  24496. "bizgroupid": {
  24497. "description": "分组id",
  24498. "type": "integer"
  24499. },
  24500. "biztype": {
  24501. "description": "业务类型 1-套保 2-套利",
  24502. "type": "integer"
  24503. },
  24504. "deliverygoodscode": {
  24505. "description": "现货商品代码",
  24506. "type": "string"
  24507. },
  24508. "deliverygoodsid": {
  24509. "description": "现货商品id",
  24510. "type": "integer"
  24511. },
  24512. "deliverygoodsname": {
  24513. "description": "现货商品名称",
  24514. "type": "string"
  24515. },
  24516. "unitid": {
  24517. "description": "现货商品单位id",
  24518. "type": "integer"
  24519. }
  24520. }
  24521. },
  24522. "models.ErmcpBizGroupTaAccount": {
  24523. "type": "object",
  24524. "properties": {
  24525. "accountid": {
  24526. "description": "账号id",
  24527. "type": "integer"
  24528. },
  24529. "accountname": {
  24530. "description": "账号名称",
  24531. "type": "string"
  24532. },
  24533. "areauserid": {
  24534. "description": "所属机构id",
  24535. "type": "integer"
  24536. },
  24537. "bizgroupid": {
  24538. "description": "业务分组id",
  24539. "type": "integer"
  24540. },
  24541. "ismain": {
  24542. "description": "是否主账号 1-是 0-否",
  24543. "type": "integer"
  24544. }
  24545. }
  24546. },
  24547. "models.ErmcpDGFactoryItem": {
  24548. "type": "object",
  24549. "properties": {
  24550. "areauserid": {
  24551. "description": "用户id",
  24552. "type": "integer"
  24553. },
  24554. "deliverygoodsid": {
  24555. "description": "现货品种ID",
  24556. "type": "integer"
  24557. },
  24558. "dgfactoryitemid": {
  24559. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24560. "type": "integer"
  24561. },
  24562. "dgfactoryitemtypeid": {
  24563. "description": "要素项类型",
  24564. "type": "integer"
  24565. },
  24566. "dgfactoryitemvalue": {
  24567. "description": "要素项值(类型为仓库时填写仓库名称)",
  24568. "type": "string"
  24569. },
  24570. "isvalid": {
  24571. "description": "是否有效 - 0:无效 1:有效",
  24572. "type": "integer"
  24573. },
  24574. "orderindex": {
  24575. "description": "顺序",
  24576. "type": "integer"
  24577. },
  24578. "warehouseid": {
  24579. "description": "仓库ID(类型为仓库时填写)",
  24580. "type": "integer"
  24581. }
  24582. }
  24583. },
  24584. "models.ErmcpDeliveryGoods": {
  24585. "type": "object",
  24586. "properties": {
  24587. "agreeunit": {
  24588. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  24589. "type": "integer"
  24590. },
  24591. "areauserid": {
  24592. "description": "所属机构",
  24593. "type": "integer"
  24594. },
  24595. "auditflag": {
  24596. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  24597. "type": "integer"
  24598. },
  24599. "categoryid": {
  24600. "description": "类别ID(SEQ_WRCATEGORY)",
  24601. "type": "integer"
  24602. },
  24603. "deliverygoodscode": {
  24604. "description": "现货品种代码",
  24605. "type": "string"
  24606. },
  24607. "deliverygoodsid": {
  24608. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  24609. "type": "integer"
  24610. },
  24611. "deliverygoodsname": {
  24612. "description": "现货品种名称",
  24613. "type": "string"
  24614. },
  24615. "deliverygoodstype": {
  24616. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24617. "type": "integer"
  24618. },
  24619. "dgstatus": {
  24620. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24621. "type": "integer"
  24622. },
  24623. "enumdicname": {
  24624. "description": "现货品种单位名称",
  24625. "type": "string"
  24626. },
  24627. "goodsunitid": {
  24628. "description": "现货品种单位ID",
  24629. "type": "integer"
  24630. },
  24631. "isvalid": {
  24632. "description": "是否有效 - 0:无效 1:有效",
  24633. "type": "integer"
  24634. },
  24635. "qtydecimalplace": {
  24636. "description": "成交量小数位",
  24637. "type": "integer"
  24638. },
  24639. "remark": {
  24640. "description": "备注",
  24641. "type": "string"
  24642. },
  24643. "standardqty": {
  24644. "description": "标准数量(库位数量) [标准品特有]",
  24645. "type": "integer"
  24646. },
  24647. "standardqtyrange": {
  24648. "description": "标准数量偏差范围 [标准品特有]",
  24649. "type": "integer"
  24650. }
  24651. }
  24652. },
  24653. "models.ErmcpFuturesCompany": {
  24654. "type": "object",
  24655. "properties": {
  24656. "brokerid": {
  24657. "description": "经纪公司代码",
  24658. "type": "string"
  24659. },
  24660. "channeladdress": {
  24661. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24662. "type": "string"
  24663. },
  24664. "channelid": {
  24665. "description": "对冲渠道ID",
  24666. "type": "string"
  24667. },
  24668. "createtime": {
  24669. "description": "创建时间",
  24670. "type": "string"
  24671. },
  24672. "creatorid": {
  24673. "description": "创建人",
  24674. "type": "string"
  24675. },
  24676. "fcid": {
  24677. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24678. "type": "integer"
  24679. },
  24680. "fcname": {
  24681. "description": "期货公司名称",
  24682. "type": "string"
  24683. },
  24684. "isvalid": {
  24685. "description": "是否有效 - 0:无效 1:有效",
  24686. "type": "integer"
  24687. },
  24688. "mhpaddress": {
  24689. "description": "MHP服务地址(IP:Port)",
  24690. "type": "string"
  24691. },
  24692. "riskrulegroupid": {
  24693. "description": "风控规则组ID",
  24694. "type": "string"
  24695. },
  24696. "tradefeetmpid": {
  24697. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24698. "type": "string"
  24699. },
  24700. "trademargintmpid": {
  24701. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24702. "type": "string"
  24703. },
  24704. "traderatetmpid": {
  24705. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24706. "type": "string"
  24707. },
  24708. "updatetime": {
  24709. "description": "更新时间",
  24710. "type": "string"
  24711. },
  24712. "updatorid": {
  24713. "description": "更新人",
  24714. "type": "string"
  24715. }
  24716. }
  24717. },
  24718. "models.ErmcpGGConvertCfg": {
  24719. "type": "object",
  24720. "properties": {
  24721. "convertratio": {
  24722. "description": "折算系数",
  24723. "type": "number"
  24724. },
  24725. "destgoodsgroupid": {
  24726. "description": "目标品种ID",
  24727. "type": "integer"
  24728. },
  24729. "dstcode": {
  24730. "description": "目录品种代码",
  24731. "type": "string"
  24732. },
  24733. "dstexchangecode": {
  24734. "description": "目标期货交易所",
  24735. "type": "string"
  24736. },
  24737. "dstname": {
  24738. "description": "目标品种名称",
  24739. "type": "string"
  24740. },
  24741. "dstunitid": {
  24742. "description": "目标品种单位ID",
  24743. "type": "integer"
  24744. },
  24745. "dstunitidname": {
  24746. "description": "目标品种单位名称",
  24747. "type": "string"
  24748. },
  24749. "modifytime": {
  24750. "description": "修改时间",
  24751. "type": "string"
  24752. },
  24753. "srccode": {
  24754. "description": "源品种代码",
  24755. "type": "string"
  24756. },
  24757. "srcexchangecode": {
  24758. "description": "源期货交易所",
  24759. "type": "string"
  24760. },
  24761. "srcgoodsgroupid": {
  24762. "description": "源品种ID",
  24763. "type": "integer"
  24764. },
  24765. "srcname": {
  24766. "description": "源品种名称",
  24767. "type": "string"
  24768. },
  24769. "srcunitid": {
  24770. "description": "源品种单位ID",
  24771. "type": "integer"
  24772. },
  24773. "srcunitidname": {
  24774. "description": "源品种单位名称",
  24775. "type": "string"
  24776. }
  24777. }
  24778. },
  24779. "models.ErmcpGoods": {
  24780. "type": "object",
  24781. "required": [
  24782. "goodscode",
  24783. "goodsid",
  24784. "goodsname",
  24785. "marketid"
  24786. ],
  24787. "properties": {
  24788. "agreeunit": {
  24789. "description": "合约单位",
  24790. "type": "number"
  24791. },
  24792. "areauserid": {
  24793. "description": "所属机构",
  24794. "type": "integer"
  24795. },
  24796. "auditaccountid": {
  24797. "description": "审核操作员账号",
  24798. "type": "integer"
  24799. },
  24800. "audittime": {
  24801. "description": "审核时间",
  24802. "type": "string"
  24803. },
  24804. "cancelaccountid": {
  24805. "description": "注销操作员账号",
  24806. "type": "integer"
  24807. },
  24808. "canceltime": {
  24809. "description": "注销时间",
  24810. "type": "string"
  24811. },
  24812. "closepricemode": {
  24813. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24814. "type": "integer"
  24815. },
  24816. "closepriceparam": {
  24817. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24818. "type": "number"
  24819. },
  24820. "createtime": {
  24821. "description": "创建时间",
  24822. "type": "string"
  24823. },
  24824. "creatorid": {
  24825. "description": "创建人",
  24826. "type": "integer"
  24827. },
  24828. "currencyid": {
  24829. "description": "报价货币ID",
  24830. "type": "integer"
  24831. },
  24832. "cutmode": {
  24833. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24834. "type": "integer"
  24835. },
  24836. "decimalplace": {
  24837. "description": "报价小数位",
  24838. "type": "integer"
  24839. },
  24840. "delistingdate": {
  24841. "description": "商品退市时间(状态:退市) -- 已作废",
  24842. "type": "string"
  24843. },
  24844. "delistingmode": {
  24845. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24846. "type": "integer"
  24847. },
  24848. "deliveryflag": {
  24849. "description": "交割标志 - 0:不可交割 1:可交割",
  24850. "type": "integer"
  24851. },
  24852. "enumdicname": {
  24853. "description": "单位名称",
  24854. "type": "string"
  24855. },
  24856. "forceclosemode": {
  24857. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24858. "type": "integer"
  24859. },
  24860. "forceclosevalue": {
  24861. "description": "定期强平参数 [收益权]",
  24862. "type": "integer"
  24863. },
  24864. "goodscode": {
  24865. "description": "商品代码(内部)",
  24866. "type": "string"
  24867. },
  24868. "goodscurrencyid": {
  24869. "description": "合约货币ID",
  24870. "type": "integer"
  24871. },
  24872. "goodsgroupid": {
  24873. "description": "所属商品组ID",
  24874. "type": "integer"
  24875. },
  24876. "goodsid": {
  24877. "description": "商品ID(自增ID SEQ_GOODS)",
  24878. "type": "integer"
  24879. },
  24880. "goodsname": {
  24881. "description": "商品名称",
  24882. "type": "string"
  24883. },
  24884. "goodsquotetype": {
  24885. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24886. "type": "integer"
  24887. },
  24888. "goodsstatus": {
  24889. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24890. "type": "integer"
  24891. },
  24892. "goodstradetype": {
  24893. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24894. "type": "integer"
  24895. },
  24896. "goodunitid": {
  24897. "description": "报价单位ID",
  24898. "type": "integer"
  24899. },
  24900. "hasquoter": {
  24901. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24902. "type": "integer"
  24903. },
  24904. "hqprotecttime": {
  24905. "description": "行情保护时间(秒)",
  24906. "type": "integer"
  24907. },
  24908. "innerdealmode": {
  24909. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24910. "type": "integer"
  24911. },
  24912. "isbuylimited": {
  24913. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24914. "type": "integer"
  24915. },
  24916. "isvisible": {
  24917. "description": "游客是否可见 - 0:不可见 1:可见",
  24918. "type": "integer"
  24919. },
  24920. "lasttradedate": {
  24921. "description": "最后交易日期(状态:待退市)",
  24922. "type": "string"
  24923. },
  24924. "listingdate": {
  24925. "description": "交易开始日期",
  24926. "type": "string"
  24927. },
  24928. "marketid": {
  24929. "description": "所属市场ID",
  24930. "type": "integer"
  24931. },
  24932. "modifierid": {
  24933. "description": "修改人",
  24934. "type": "integer"
  24935. },
  24936. "modifystatus": {
  24937. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24938. "type": "integer"
  24939. },
  24940. "modifytime": {
  24941. "description": "修改时间",
  24942. "type": "string"
  24943. },
  24944. "outerdealmode": {
  24945. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24946. "type": "integer"
  24947. },
  24948. "outgoodscode": {
  24949. "description": "商品代码(外部)",
  24950. "type": "string"
  24951. },
  24952. "pictureurl": {
  24953. "description": "商品图片",
  24954. "type": "string"
  24955. },
  24956. "qtydecimalplace": {
  24957. "description": "成交量小数位",
  24958. "type": "integer"
  24959. },
  24960. "quotegear": {
  24961. "description": "行情档位(1-10)",
  24962. "type": "integer"
  24963. },
  24964. "quoteminunit": {
  24965. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24966. "type": "integer"
  24967. },
  24968. "quoteshowtype": {
  24969. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24970. "type": "integer"
  24971. },
  24972. "quoteshowtypeinterval": {
  24973. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24974. "type": "integer"
  24975. },
  24976. "relatedgoodsid": {
  24977. "description": "关联参考商品ID",
  24978. "type": "integer"
  24979. },
  24980. "remark": {
  24981. "description": "备注",
  24982. "type": "string"
  24983. },
  24984. "trademode": {
  24985. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24986. "type": "integer"
  24987. }
  24988. }
  24989. },
  24990. "models.ErmcpGoodsBrand": {
  24991. "type": "object",
  24992. "properties": {
  24993. "areauserid": {
  24994. "description": "所属机构",
  24995. "type": "integer"
  24996. },
  24997. "brandid": {
  24998. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24999. "type": "integer"
  25000. },
  25001. "brandname": {
  25002. "description": "品牌名称",
  25003. "type": "string"
  25004. },
  25005. "createtime": {
  25006. "description": "创建时间",
  25007. "type": "string"
  25008. },
  25009. "creatorid": {
  25010. "description": "创建人",
  25011. "type": "integer"
  25012. },
  25013. "creatorsrc": {
  25014. "description": "创建人来源 - 1:管理端 2:终端",
  25015. "type": "integer"
  25016. },
  25017. "deliverygoodsid": {
  25018. "description": "现货品种ID",
  25019. "type": "integer"
  25020. },
  25021. "isvalid": {
  25022. "description": "是否有效 - 0:无效 1:有效",
  25023. "type": "integer"
  25024. },
  25025. "updatetime": {
  25026. "description": "更新时间",
  25027. "type": "string"
  25028. },
  25029. "updatorid": {
  25030. "description": "更新人",
  25031. "type": "integer"
  25032. },
  25033. "updatorsrc": {
  25034. "description": "更新人来源 - 1:管理端 2:终端",
  25035. "type": "integer"
  25036. },
  25037. "wrstandardid": {
  25038. "description": "现货商品ID",
  25039. "type": "integer"
  25040. }
  25041. }
  25042. },
  25043. "models.ErmcpGoodsModel": {
  25044. "type": "object",
  25045. "properties": {
  25046. "areauserid": {
  25047. "description": "所属机构",
  25048. "type": "integer"
  25049. },
  25050. "convertfactor": {
  25051. "description": "标仓系数",
  25052. "type": "number"
  25053. },
  25054. "createtime": {
  25055. "description": "创建时间",
  25056. "type": "string"
  25057. },
  25058. "creatorid": {
  25059. "description": "创建人",
  25060. "type": "integer"
  25061. },
  25062. "creatorsrc": {
  25063. "description": "创建人来源 - 1:管理端 2:终端",
  25064. "type": "integer"
  25065. },
  25066. "deliverygoodsid": {
  25067. "description": "现货品种ID",
  25068. "type": "integer"
  25069. },
  25070. "isvalid": {
  25071. "description": "是否有效 - 0:无效 1:有效",
  25072. "type": "integer"
  25073. },
  25074. "modelid": {
  25075. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  25076. "type": "integer"
  25077. },
  25078. "modelname": {
  25079. "description": "型号名称",
  25080. "type": "string"
  25081. },
  25082. "updatetime": {
  25083. "description": "更新时间",
  25084. "type": "string"
  25085. },
  25086. "updatorid": {
  25087. "description": "更新人",
  25088. "type": "integer"
  25089. },
  25090. "updatorsrc": {
  25091. "description": "更新人来源 - 1:管理端 2:终端",
  25092. "type": "integer"
  25093. },
  25094. "wrstandardid": {
  25095. "description": "现货商品ID",
  25096. "type": "integer"
  25097. }
  25098. }
  25099. },
  25100. "models.ErmcpHisExposure": {
  25101. "type": "object",
  25102. "properties": {
  25103. "needhedgeexposoure": {
  25104. "description": "应套保敞口",
  25105. "type": "number"
  25106. },
  25107. "reckondate": {
  25108. "description": "日照时期(yyyyMMdd)",
  25109. "type": "string"
  25110. },
  25111. "totalexposure": {
  25112. "description": "总敞口",
  25113. "type": "number"
  25114. }
  25115. }
  25116. },
  25117. "models.ErmcpLoginTaAccount": {
  25118. "type": "object",
  25119. "properties": {
  25120. "accountid": {
  25121. "description": "账号id",
  25122. "type": "integer"
  25123. },
  25124. "accountname": {
  25125. "description": "账号名称",
  25126. "type": "string"
  25127. }
  25128. }
  25129. },
  25130. "models.ErmcpLoginUser": {
  25131. "type": "object",
  25132. "properties": {
  25133. "acclist": {
  25134. "description": "关联资金账号",
  25135. "type": "array",
  25136. "items": {
  25137. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  25138. }
  25139. },
  25140. "accountname": {
  25141. "description": "用户名称",
  25142. "type": "string"
  25143. },
  25144. "clientroleid": {
  25145. "description": "角色id(usertype=2)",
  25146. "type": "integer"
  25147. },
  25148. "createtime": {
  25149. "description": "创建时间",
  25150. "type": "string"
  25151. },
  25152. "logincode": {
  25153. "description": "登录代码",
  25154. "type": "string"
  25155. },
  25156. "loginid": {
  25157. "description": "登录id(LOGINID)",
  25158. "type": "integer"
  25159. },
  25160. "loginname": {
  25161. "description": "登录名称(loginaccount表中的accountname字段)",
  25162. "type": "string"
  25163. },
  25164. "loginstatus": {
  25165. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  25166. "type": "integer"
  25167. },
  25168. "memberuserid": {
  25169. "description": "所属会员id",
  25170. "type": "integer"
  25171. },
  25172. "mobile": {
  25173. "description": "手机号",
  25174. "type": "string"
  25175. },
  25176. "modifytime": {
  25177. "description": "修改时间",
  25178. "type": "string"
  25179. },
  25180. "password": {
  25181. "description": "密码(不可解密)",
  25182. "type": "string"
  25183. },
  25184. "rolename": {
  25185. "description": "角色名称",
  25186. "type": "string"
  25187. },
  25188. "rolestatus": {
  25189. "description": "角色状态 1-启用 2-停用",
  25190. "type": "integer"
  25191. },
  25192. "roletype": {
  25193. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  25194. "type": "string"
  25195. },
  25196. "userid": {
  25197. "description": "用户id",
  25198. "type": "integer"
  25199. },
  25200. "usertype": {
  25201. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25202. "type": "integer"
  25203. }
  25204. }
  25205. },
  25206. "models.ErmcpLoginUserEx": {
  25207. "type": "object",
  25208. "properties": {
  25209. "accountstatus": {
  25210. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25211. "type": "integer"
  25212. },
  25213. "mobile": {
  25214. "description": "手机号",
  25215. "type": "string"
  25216. },
  25217. "querytype": {
  25218. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  25219. "type": "integer"
  25220. },
  25221. "roleid": {
  25222. "description": "角色id(交易账户-\u003e用户id)",
  25223. "type": "integer"
  25224. },
  25225. "rolename": {
  25226. "description": "角色名称(交易账户-\u003e用户名称)",
  25227. "type": "string"
  25228. },
  25229. "userlist": {
  25230. "description": "用户列表",
  25231. "type": "array",
  25232. "items": {
  25233. "$ref": "#/definitions/models.ErmcpLoginUser"
  25234. }
  25235. },
  25236. "usertype": {
  25237. "description": "用户类型 2-机构 7-企业成员(云平台)",
  25238. "type": "integer"
  25239. }
  25240. }
  25241. },
  25242. "models.ErmcpMiddleGoodsModel": {
  25243. "type": "object",
  25244. "properties": {
  25245. "areauserid": {
  25246. "description": "机构用户ID",
  25247. "type": "integer"
  25248. },
  25249. "createtime": {
  25250. "description": "修改时间",
  25251. "type": "string"
  25252. },
  25253. "enumdicname": {
  25254. "description": "单位名称",
  25255. "type": "string"
  25256. },
  25257. "evaluateratio": {
  25258. "description": "估价系数",
  25259. "type": "number"
  25260. },
  25261. "goodsgroupid": {
  25262. "description": "关联期货品种ID",
  25263. "type": "integer"
  25264. },
  25265. "goodsunitid": {
  25266. "description": "单位ID",
  25267. "type": "integer"
  25268. },
  25269. "isvalid": {
  25270. "description": "状态 0-无效(停用) 1-有效(正常)",
  25271. "type": "integer"
  25272. },
  25273. "middlegoodscode": {
  25274. "description": "套保品种代码",
  25275. "type": "string"
  25276. },
  25277. "middlegoodsid": {
  25278. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  25279. "type": "integer"
  25280. },
  25281. "middlegoodsname": {
  25282. "description": "套保品种名称",
  25283. "type": "string"
  25284. },
  25285. "modifytime": {
  25286. "description": "修改时间",
  25287. "type": "string"
  25288. },
  25289. "needarbitrageratio": {
  25290. "description": "套利比例",
  25291. "type": "number"
  25292. },
  25293. "needhedgeratio": {
  25294. "description": "套保比率",
  25295. "type": "number"
  25296. },
  25297. "qtydecimalplace": {
  25298. "description": "数量小数位",
  25299. "type": "integer"
  25300. },
  25301. "relatedgoodsid": {
  25302. "description": "关联交易商品ID",
  25303. "type": "integer"
  25304. },
  25305. "relatedgoodstype": {
  25306. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  25307. "type": "integer"
  25308. },
  25309. "remark": {
  25310. "description": "备注",
  25311. "type": "string"
  25312. }
  25313. }
  25314. },
  25315. "models.ErmcpMiddlegoodsRelateGoods": {
  25316. "type": "object",
  25317. "properties": {
  25318. "agreeunit": {
  25319. "description": "合约乘数",
  25320. "type": "number"
  25321. },
  25322. "convertratio": {
  25323. "description": "折算系数",
  25324. "type": "number"
  25325. },
  25326. "enumdicname": {
  25327. "description": "单位名称(交易商品)",
  25328. "type": "string"
  25329. },
  25330. "goodscode": {
  25331. "description": "交易商品代码",
  25332. "type": "string"
  25333. },
  25334. "goodsgroupid": {
  25335. "description": "交易品种id",
  25336. "type": "integer"
  25337. },
  25338. "goodsid": {
  25339. "description": "商品Id",
  25340. "type": "integer"
  25341. },
  25342. "goodsname": {
  25343. "description": "交易商品名称",
  25344. "type": "string"
  25345. },
  25346. "goodunitid": {
  25347. "description": "交易商品单位id",
  25348. "type": "integer"
  25349. },
  25350. "middlegoodsid": {
  25351. "description": "套保商品id",
  25352. "type": "integer"
  25353. },
  25354. "middlegoodsname": {
  25355. "description": "套保商品名称",
  25356. "type": "string"
  25357. },
  25358. "middlegoodsswcode": {
  25359. "description": "套保商品代码",
  25360. "type": "string"
  25361. },
  25362. "needarbitrageratio": {
  25363. "description": "应套利比例",
  25364. "type": "number"
  25365. },
  25366. "needhedgeratio": {
  25367. "description": "应套保比例",
  25368. "type": "number"
  25369. }
  25370. }
  25371. },
  25372. "models.ErmcpRole": {
  25373. "type": "object",
  25374. "properties": {
  25375. "areauserid": {
  25376. "description": "所属机构",
  25377. "type": "integer"
  25378. },
  25379. "autoid": {
  25380. "description": "角色ID(自增ID)",
  25381. "type": "integer"
  25382. },
  25383. "modifierid": {
  25384. "description": "修改人(创建人)",
  25385. "type": "integer"
  25386. },
  25387. "modifiername": {
  25388. "description": "修改人名称",
  25389. "type": "string"
  25390. },
  25391. "modifytime": {
  25392. "description": "修改时间(创建时间)",
  25393. "type": "string"
  25394. },
  25395. "rolename": {
  25396. "description": "角色名称",
  25397. "type": "string"
  25398. },
  25399. "rolestatus": {
  25400. "description": "角色状态 - 1:启用 2:停用",
  25401. "type": "integer"
  25402. },
  25403. "roletype": {
  25404. "description": "角色类型 - 1- 管理端 2- 交易端",
  25405. "type": "integer"
  25406. }
  25407. }
  25408. },
  25409. "models.ErmcpRoleMenu": {
  25410. "type": "object",
  25411. "properties": {
  25412. "iconame": {
  25413. "description": "菜单图标",
  25414. "type": "string"
  25415. },
  25416. "ishadrole": {
  25417. "description": "是否有权限",
  25418. "type": "boolean"
  25419. },
  25420. "menutype": {
  25421. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  25422. "type": "integer"
  25423. },
  25424. "parentcode": {
  25425. "description": "上级资源代码",
  25426. "type": "string"
  25427. },
  25428. "remark": {
  25429. "description": "菜单备注",
  25430. "type": "string"
  25431. },
  25432. "resourcecode": {
  25433. "description": "菜单代码",
  25434. "type": "string"
  25435. },
  25436. "resourcelevel": {
  25437. "description": "级别",
  25438. "type": "integer"
  25439. },
  25440. "resourcename": {
  25441. "description": "菜单名称",
  25442. "type": "string"
  25443. },
  25444. "roleid": {
  25445. "description": "角色id",
  25446. "type": "integer"
  25447. },
  25448. "sort": {
  25449. "description": "排序",
  25450. "type": "integer"
  25451. },
  25452. "url": {
  25453. "description": "URL",
  25454. "type": "string"
  25455. },
  25456. "userid": {
  25457. "description": "用户id",
  25458. "type": "integer"
  25459. }
  25460. }
  25461. },
  25462. "models.ErmcpRoleMenuEx": {
  25463. "type": "object",
  25464. "properties": {
  25465. "menu": {
  25466. "description": "父级菜单",
  25467. "$ref": "#/definitions/models.ErmcpRoleMenu"
  25468. },
  25469. "subMenu": {
  25470. "description": "子级菜单",
  25471. "type": "array",
  25472. "items": {
  25473. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  25474. }
  25475. }
  25476. }
  25477. },
  25478. "models.ErmcpSpotContractModelEx": {
  25479. "type": "object",
  25480. "properties": {
  25481. "accountname": {
  25482. "description": "套期主体",
  25483. "type": "string"
  25484. },
  25485. "amount": {
  25486. "description": "金额 [1:一口价、3:暂定价]",
  25487. "type": "number"
  25488. },
  25489. "attachment": {
  25490. "description": "附件",
  25491. "type": "string"
  25492. },
  25493. "auditremark": {
  25494. "description": "审核意见",
  25495. "type": "string"
  25496. },
  25497. "audittime": {
  25498. "description": "审核时间",
  25499. "type": "string"
  25500. },
  25501. "avgprice": {
  25502. "description": "定价均价 = 已定价金额 / 已定价量",
  25503. "type": "number"
  25504. },
  25505. "brandname": {
  25506. "description": "品牌名称",
  25507. "type": "string"
  25508. },
  25509. "buyuserid": {
  25510. "description": "采购方ID",
  25511. "type": "integer"
  25512. },
  25513. "buyusername": {
  25514. "description": "采购方名称",
  25515. "type": "string"
  25516. },
  25517. "contracctstatus": {
  25518. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25519. "type": "integer"
  25520. },
  25521. "contractmargin": {
  25522. "description": "合同保证金",
  25523. "type": "number"
  25524. },
  25525. "contractno": {
  25526. "description": "[合同编号]现货合同编号",
  25527. "type": "string"
  25528. },
  25529. "contracttype": {
  25530. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  25531. "type": "integer"
  25532. },
  25533. "convertfactor": {
  25534. "description": "标仓系数",
  25535. "type": "number"
  25536. },
  25537. "createtime": {
  25538. "description": "创建时间",
  25539. "type": "string"
  25540. },
  25541. "customername": {
  25542. "description": "对手方",
  25543. "type": "string"
  25544. },
  25545. "customeruserid": {
  25546. "description": "客户ID",
  25547. "type": "integer"
  25548. },
  25549. "deliveryenddate": {
  25550. "description": "交收期(结束)",
  25551. "type": "string"
  25552. },
  25553. "deliverygoodscode": {
  25554. "description": "现货品种代码",
  25555. "type": "string"
  25556. },
  25557. "deliverygoodsid": {
  25558. "description": "现货品种ID",
  25559. "type": "integer"
  25560. },
  25561. "deliverygoodsname": {
  25562. "description": "现货品种名称",
  25563. "type": "string"
  25564. },
  25565. "deliverystartdate": {
  25566. "description": "交收期(开始)",
  25567. "type": "string"
  25568. },
  25569. "enddate": {
  25570. "description": "点价结束日期 [2:点价 3:暂定价]",
  25571. "type": "string"
  25572. },
  25573. "enumdicname": {
  25574. "description": "单位名称",
  25575. "type": "string"
  25576. },
  25577. "goodscode": {
  25578. "description": "点价合约代码",
  25579. "type": "string"
  25580. },
  25581. "goodsid": {
  25582. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  25583. "type": "integer"
  25584. },
  25585. "goodsname": {
  25586. "description": "点价商品名称",
  25587. "type": "string"
  25588. },
  25589. "isrelated": {
  25590. "description": "是否已关联计划项目 - 0:否 1:是",
  25591. "type": "integer"
  25592. },
  25593. "isrelated2": {
  25594. "description": "是否已关联现货项目 - 0:否 1:是",
  25595. "type": "integer"
  25596. },
  25597. "margin": {
  25598. "description": "当前保证金",
  25599. "type": "number"
  25600. },
  25601. "modelname": {
  25602. "description": "型号名称",
  25603. "type": "string"
  25604. },
  25605. "price": {
  25606. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  25607. "type": "number"
  25608. },
  25609. "pricedamount": {
  25610. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  25611. "type": "number"
  25612. },
  25613. "pricedqty": {
  25614. "description": "已定价量",
  25615. "type": "number"
  25616. },
  25617. "pricemove": {
  25618. "description": "升贴水 [2:点价 3:暂定价]",
  25619. "type": "number"
  25620. },
  25621. "pricetype": {
  25622. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25623. "type": "integer"
  25624. },
  25625. "producttype": {
  25626. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25627. "type": "integer"
  25628. },
  25629. "qty": {
  25630. "description": "[合同数量]数量",
  25631. "type": "number"
  25632. },
  25633. "remark": {
  25634. "description": "备注",
  25635. "type": "string"
  25636. },
  25637. "selluserid": {
  25638. "description": "销售方ID",
  25639. "type": "integer"
  25640. },
  25641. "sellusername": {
  25642. "description": "销售方名称",
  25643. "type": "string"
  25644. },
  25645. "spotamount": {
  25646. "description": "合同现货金额 [不含升贴水]",
  25647. "type": "number"
  25648. },
  25649. "spotavgprice": {
  25650. "description": "现货均价 = 合同现货金额 / 已定价量",
  25651. "type": "number"
  25652. },
  25653. "spotcontractid": {
  25654. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25655. "type": "string"
  25656. },
  25657. "spotgoodsbrandid": {
  25658. "description": "现货品牌ID",
  25659. "type": "integer"
  25660. },
  25661. "spotgoodsdesc": {
  25662. "description": "商品型号",
  25663. "type": "string"
  25664. },
  25665. "spotgoodsmodelid": {
  25666. "description": "现货型号ID",
  25667. "type": "integer"
  25668. },
  25669. "startdate": {
  25670. "description": "点价开始日期 [2:点价 3:暂定价]",
  25671. "type": "string"
  25672. },
  25673. "tradeuserid": {
  25674. "description": "交易用户ID",
  25675. "type": "integer"
  25676. },
  25677. "unpricedqty": {
  25678. "description": "未定价量 = 合同数量 - 已定价量",
  25679. "type": "number"
  25680. },
  25681. "updatetime": {
  25682. "description": "更新时间",
  25683. "type": "string"
  25684. },
  25685. "userid": {
  25686. "description": "机构ID",
  25687. "type": "integer"
  25688. },
  25689. "wrstandardcode": {
  25690. "description": "现货商品代码",
  25691. "type": "string"
  25692. },
  25693. "wrstandardid": {
  25694. "description": "现货商品ID",
  25695. "type": "integer"
  25696. },
  25697. "wrstandardname": {
  25698. "description": "[现货商品]现货商品名称",
  25699. "type": "string"
  25700. }
  25701. }
  25702. },
  25703. "models.ErmcpTaAccount": {
  25704. "type": "object",
  25705. "properties": {
  25706. "accountid": {
  25707. "description": "账户id",
  25708. "type": "integer"
  25709. },
  25710. "accountname": {
  25711. "description": "账户名称",
  25712. "type": "string"
  25713. },
  25714. "currencyid": {
  25715. "description": "币种id",
  25716. "type": "integer"
  25717. },
  25718. "hedgeaccountcode": {
  25719. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25720. "type": "string"
  25721. },
  25722. "ismain": {
  25723. "description": "是否主账户 0-否 1-是",
  25724. "type": "integer"
  25725. },
  25726. "parentaccountid": {
  25727. "description": "父账户id",
  25728. "type": "integer"
  25729. },
  25730. "relateduserid": {
  25731. "description": "关联userid",
  25732. "type": "integer"
  25733. },
  25734. "tradefeetmpid": {
  25735. "description": "手续费模板id",
  25736. "type": "integer"
  25737. },
  25738. "tradefeetmpname": {
  25739. "description": "手续费模板名称",
  25740. "type": "string"
  25741. },
  25742. "trademargintmpid": {
  25743. "description": "保证金模板id",
  25744. "type": "integer"
  25745. },
  25746. "trademargintmpname": {
  25747. "description": "保证金模板名称",
  25748. "type": "string"
  25749. },
  25750. "traderatetmpid": {
  25751. "description": "汇率模板id",
  25752. "type": "integer"
  25753. },
  25754. "traderatetmpname": {
  25755. "description": "汇率模板名称",
  25756. "type": "string"
  25757. },
  25758. "tradestatus": {
  25759. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25760. "type": "integer"
  25761. },
  25762. "userid": {
  25763. "description": "用户id",
  25764. "type": "integer"
  25765. }
  25766. }
  25767. },
  25768. "models.ErmcpTaAccountEx": {
  25769. "type": "object",
  25770. "properties": {
  25771. "mainAcc": {
  25772. "description": "主账号",
  25773. "$ref": "#/definitions/models.ErmcpTaAccountM"
  25774. },
  25775. "subacclist": {
  25776. "description": "子账号列表",
  25777. "type": "array",
  25778. "items": {
  25779. "$ref": "#/definitions/models.ErmcpTaAccount"
  25780. }
  25781. }
  25782. }
  25783. },
  25784. "models.ErmcpTaAccountInfo": {
  25785. "type": "object",
  25786. "properties": {
  25787. "accountid": {
  25788. "description": "资金账户ID",
  25789. "type": "integer"
  25790. },
  25791. "accountname": {
  25792. "description": "账户名称",
  25793. "type": "string"
  25794. },
  25795. "balance": {
  25796. "description": "期初余额",
  25797. "type": "number"
  25798. },
  25799. "capitalbalance": {
  25800. "description": "本金余额[外部子账户实际出入金余额]",
  25801. "type": "number"
  25802. },
  25803. "closepl": {
  25804. "description": "今日平仓盈亏",
  25805. "type": "number"
  25806. },
  25807. "creditdecrease": {
  25808. "description": "今日授信减少",
  25809. "type": "number"
  25810. },
  25811. "creditincrease": {
  25812. "description": "今日授信增加",
  25813. "type": "number"
  25814. },
  25815. "curdebt": {
  25816. "description": "期末欠款",
  25817. "type": "number"
  25818. },
  25819. "currencyid": {
  25820. "description": "货币ID",
  25821. "type": "integer"
  25822. },
  25823. "currentbalance": {
  25824. "description": "期末余额",
  25825. "type": "number"
  25826. },
  25827. "freezecharge": {
  25828. "description": "手续费冻结",
  25829. "type": "number"
  25830. },
  25831. "freezemargin": {
  25832. "description": "冻结保证金",
  25833. "type": "number"
  25834. },
  25835. "fromaccountid": {
  25836. "description": "所属上级账户",
  25837. "type": "integer"
  25838. },
  25839. "inamount": {
  25840. "description": "今日入金金额(包括三方入金)",
  25841. "type": "number"
  25842. },
  25843. "ismain": {
  25844. "description": "是否母账号 0:不是母账户 1:是母账户",
  25845. "type": "integer"
  25846. },
  25847. "mortgagecredit": {
  25848. "description": "授信金额",
  25849. "type": "number"
  25850. },
  25851. "oridebt": {
  25852. "description": "期初欠款",
  25853. "type": "number"
  25854. },
  25855. "orifreezecharge": {
  25856. "description": "期初手续费冻结",
  25857. "type": "number"
  25858. },
  25859. "orifreezemargin": {
  25860. "description": "期初冻结保证金",
  25861. "type": "number"
  25862. },
  25863. "orimortgagecredit": {
  25864. "description": "期初授信金额",
  25865. "type": "number"
  25866. },
  25867. "oriothercredit": {
  25868. "description": "期初其它授信金额",
  25869. "type": "number"
  25870. },
  25871. "oriotherfreezemargin": {
  25872. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25873. "type": "number"
  25874. },
  25875. "orioutamountfreeze": {
  25876. "description": "期初出金冻结",
  25877. "type": "number"
  25878. },
  25879. "oriusedmargin": {
  25880. "description": "期初占用保证金",
  25881. "type": "number"
  25882. },
  25883. "othercredit": {
  25884. "description": "其它授信金额",
  25885. "type": "number"
  25886. },
  25887. "othercreditdecrease": {
  25888. "description": "今日其它授信减少",
  25889. "type": "number"
  25890. },
  25891. "othercreditincrease": {
  25892. "description": "今日其它授信增加",
  25893. "type": "number"
  25894. },
  25895. "otherfreezemargin": {
  25896. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25897. "type": "number"
  25898. },
  25899. "outamount": {
  25900. "description": "今日出金金额(包括三方出金)",
  25901. "type": "number"
  25902. },
  25903. "outamountfreeze": {
  25904. "description": "出金冻结",
  25905. "type": "number"
  25906. },
  25907. "outthreshold": {
  25908. "description": "出金阈值",
  25909. "type": "number"
  25910. },
  25911. "parentaccountid": {
  25912. "description": "所属根账号",
  25913. "type": "integer"
  25914. },
  25915. "paycharge": {
  25916. "description": "今日手续费支出",
  25917. "type": "number"
  25918. },
  25919. "relateduserid": {
  25920. "description": "关联用户",
  25921. "type": "integer"
  25922. },
  25923. "signstatus": {
  25924. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25925. "type": "integer"
  25926. },
  25927. "sublevelpath": {
  25928. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25929. "type": "string"
  25930. },
  25931. "taaccounttype": {
  25932. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25933. "type": "integer"
  25934. },
  25935. "thirdinamount": {
  25936. "description": "今日三方入金",
  25937. "type": "number"
  25938. },
  25939. "thirdoutamount": {
  25940. "description": "今日三方出金",
  25941. "type": "number"
  25942. },
  25943. "tradestatus": {
  25944. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25945. "type": "integer"
  25946. },
  25947. "transferamount": {
  25948. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25949. "type": "number"
  25950. },
  25951. "usedmargin": {
  25952. "description": "占用保证金",
  25953. "type": "number"
  25954. },
  25955. "userid": {
  25956. "description": "用户ID",
  25957. "type": "integer"
  25958. }
  25959. }
  25960. },
  25961. "models.ErmcpTaAccountM": {
  25962. "type": "object",
  25963. "properties": {
  25964. "accountid": {
  25965. "description": "账户id",
  25966. "type": "integer"
  25967. },
  25968. "accountname": {
  25969. "description": "账户名称",
  25970. "type": "string"
  25971. },
  25972. "currencyid": {
  25973. "description": "币种id",
  25974. "type": "integer"
  25975. },
  25976. "fcid": {
  25977. "description": "期货公司id",
  25978. "type": "integer"
  25979. },
  25980. "fcname": {
  25981. "description": "期货公司代码",
  25982. "type": "string"
  25983. },
  25984. "hedgeaccountcode": {
  25985. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25986. "type": "string"
  25987. },
  25988. "ismain": {
  25989. "description": "是否主账户 0-否 1-是",
  25990. "type": "integer"
  25991. },
  25992. "parentaccountid": {
  25993. "description": "父账户id",
  25994. "type": "integer"
  25995. },
  25996. "relateduserid": {
  25997. "description": "关联userid",
  25998. "type": "integer"
  25999. },
  26000. "tradefeetmpid": {
  26001. "description": "手续费模板id",
  26002. "type": "integer"
  26003. },
  26004. "tradefeetmpname": {
  26005. "description": "手续费模板名称",
  26006. "type": "string"
  26007. },
  26008. "trademargintmpid": {
  26009. "description": "保证金模板id",
  26010. "type": "integer"
  26011. },
  26012. "trademargintmpname": {
  26013. "description": "保证金模板名称",
  26014. "type": "string"
  26015. },
  26016. "traderatetmpid": {
  26017. "description": "汇率模板id",
  26018. "type": "integer"
  26019. },
  26020. "traderatetmpname": {
  26021. "description": "汇率模板名称",
  26022. "type": "string"
  26023. },
  26024. "tradestatus": {
  26025. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26026. "type": "integer"
  26027. },
  26028. "userid": {
  26029. "description": "用户id",
  26030. "type": "integer"
  26031. }
  26032. }
  26033. },
  26034. "models.ErmcpTradeConfigTMP": {
  26035. "type": "object",
  26036. "properties": {
  26037. "areauserid": {
  26038. "description": "所属机构",
  26039. "type": "integer"
  26040. },
  26041. "basiccurrencyid": {
  26042. "description": "基本币种ID[汇率] - 目标币种",
  26043. "type": "integer"
  26044. },
  26045. "mainaccountid": {
  26046. "description": "主账户ID",
  26047. "type": "integer"
  26048. },
  26049. "modifierid": {
  26050. "description": "修改人",
  26051. "type": "integer"
  26052. },
  26053. "remark": {
  26054. "description": "备注",
  26055. "type": "string"
  26056. },
  26057. "tradeconfigtmpid": {
  26058. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  26059. "type": "integer"
  26060. },
  26061. "tradeconfigtmpname": {
  26062. "description": "交易配置模板名称",
  26063. "type": "string"
  26064. },
  26065. "tradeconfigtmptype": {
  26066. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  26067. "type": "integer"
  26068. },
  26069. "updatetime": {
  26070. "description": "更新时间",
  26071. "type": "string"
  26072. }
  26073. }
  26074. },
  26075. "models.Ermcpjrlinkpos": {
  26076. "type": "object",
  26077. "required": [
  26078. "spotcontractid"
  26079. ],
  26080. "properties": {
  26081. "areauserid": {
  26082. "description": "所属企业",
  26083. "type": "integer"
  26084. },
  26085. "averageprice": {
  26086. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  26087. "type": "number"
  26088. },
  26089. "closepl": {
  26090. "description": "总平仓盈亏 [期货损益]",
  26091. "type": "number"
  26092. },
  26093. "executeprice": {
  26094. "description": "执行价 - 1:期货单 为 0",
  26095. "type": "integer"
  26096. },
  26097. "futurehedgeqty": {
  26098. "description": "期货套期量",
  26099. "type": "number"
  26100. },
  26101. "goodsid": {
  26102. "description": "期货合约",
  26103. "type": "integer"
  26104. },
  26105. "middlegoodscode": {
  26106. "description": "套保商品代码",
  26107. "type": "string"
  26108. },
  26109. "middlegoodsname": {
  26110. "description": "套保商品名称",
  26111. "type": "string"
  26112. },
  26113. "netqty": {
  26114. "description": "净头寸",
  26115. "type": "number"
  26116. },
  26117. "optioncode": {
  26118. "description": "期权代码",
  26119. "type": "string"
  26120. },
  26121. "ordertype": {
  26122. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  26123. "type": "integer"
  26124. },
  26125. "reckonpl": {
  26126. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  26127. "type": "number"
  26128. },
  26129. "spotcontractid": {
  26130. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  26131. "type": "string"
  26132. },
  26133. "todayfutureclosepl": {
  26134. "description": "今日平仓盈亏",
  26135. "type": "number"
  26136. },
  26137. "totalbuyamount": {
  26138. "description": "买金额 [期货]",
  26139. "type": "number"
  26140. },
  26141. "totalbuyholdamount": {
  26142. "description": "买持仓总金额[期货]",
  26143. "type": "number"
  26144. },
  26145. "totalbuyqty": {
  26146. "description": "买数量",
  26147. "type": "number"
  26148. },
  26149. "totalcharge": {
  26150. "description": "手续费",
  26151. "type": "number"
  26152. },
  26153. "totalpremium": {
  26154. "description": "权利金 [期权]",
  26155. "type": "number"
  26156. },
  26157. "totalsellamount": {
  26158. "description": "卖金额 [期货]",
  26159. "type": "number"
  26160. },
  26161. "totalsellholdamount": {
  26162. "description": "卖持仓总金额[期货]",
  26163. "type": "number"
  26164. },
  26165. "totalsellqty": {
  26166. "description": "卖数量",
  26167. "type": "number"
  26168. },
  26169. "updatetime": {
  26170. "description": "更新时间",
  26171. "type": "string"
  26172. }
  26173. }
  26174. },
  26175. "models.Ermcppatradelinkdetail": {
  26176. "type": "object",
  26177. "required": [
  26178. "hedgeditemid"
  26179. ],
  26180. "properties": {
  26181. "agreeunit": {
  26182. "description": "合约乘数",
  26183. "type": "number"
  26184. },
  26185. "amount": {
  26186. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  26187. "type": "number"
  26188. },
  26189. "areauserid": {
  26190. "description": "所属机构",
  26191. "type": "integer"
  26192. },
  26193. "bizsubjectid": {
  26194. "description": "归属业务部门ID - SubjectID",
  26195. "type": "integer"
  26196. },
  26197. "buyorsell": {
  26198. "description": "方向 - 0:买 1:卖",
  26199. "type": "integer"
  26200. },
  26201. "convertratio": {
  26202. "description": "品种系数",
  26203. "type": "number"
  26204. },
  26205. "createtime": {
  26206. "description": "创建时间",
  26207. "type": "string"
  26208. },
  26209. "creatorid": {
  26210. "description": "创建人ID",
  26211. "type": "integer"
  26212. },
  26213. "creatorsrc": {
  26214. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26215. "type": "integer"
  26216. },
  26217. "goodsgroupid": {
  26218. "description": "对冲品种ID[期货合约商品组ID]",
  26219. "type": "integer"
  26220. },
  26221. "goodsid": {
  26222. "description": "商品ID",
  26223. "type": "integer"
  26224. },
  26225. "hedgeditemid": {
  26226. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  26227. "type": "integer"
  26228. },
  26229. "hedgeflag": {
  26230. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  26231. "type": "integer"
  26232. },
  26233. "linkdetailid": {
  26234. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26235. "type": "string"
  26236. },
  26237. "linkstatus": {
  26238. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26239. "type": "integer"
  26240. },
  26241. "middlegoodsid": {
  26242. "description": "套保品种ID",
  26243. "type": "integer"
  26244. },
  26245. "name": {
  26246. "description": "账户名/子账户",
  26247. "type": "string"
  26248. },
  26249. "optioncode": {
  26250. "description": "[期货合约]期权代码 [期权]",
  26251. "type": "string"
  26252. },
  26253. "ordertype": {
  26254. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  26255. "type": "integer"
  26256. },
  26257. "relatedlot": {
  26258. "description": "[数量]关联手数",
  26259. "type": "number"
  26260. },
  26261. "relatedmode": {
  26262. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26263. "type": "integer"
  26264. },
  26265. "relatedqty": {
  26266. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26267. "type": "number"
  26268. },
  26269. "retcode": {
  26270. "description": "返回码",
  26271. "type": "integer"
  26272. },
  26273. "saleuserid": {
  26274. "description": "业务员ID",
  26275. "type": "integer"
  26276. },
  26277. "tradedate": {
  26278. "description": "关联交易日(yyyyMMdd)",
  26279. "type": "string"
  26280. },
  26281. "tradeid": {
  26282. "description": "[成交单号]内部成交单ID",
  26283. "type": "string"
  26284. },
  26285. "tradelot": {
  26286. "description": "成交手数",
  26287. "type": "integer"
  26288. },
  26289. "tradeprice": {
  26290. "description": "[价格]成交价格",
  26291. "type": "number"
  26292. },
  26293. "tradetime": {
  26294. "description": "日期时间",
  26295. "type": "string"
  26296. },
  26297. "tradetradedate": {
  26298. "description": "成交交易日(yyyyMMdd)",
  26299. "type": "string"
  26300. }
  26301. }
  26302. },
  26303. "models.Exchangerateconfig": {
  26304. "type": "object",
  26305. "properties": {
  26306. "descurrencyid": {
  26307. "description": "目标币种ID",
  26308. "type": "integer"
  26309. },
  26310. "exchangerate": {
  26311. "description": "汇率",
  26312. "type": "number"
  26313. },
  26314. "oricurrencyid": {
  26315. "description": "源币种ID",
  26316. "type": "integer"
  26317. },
  26318. "remark": {
  26319. "description": "备注",
  26320. "type": "string"
  26321. }
  26322. }
  26323. },
  26324. "models.Externalexchange": {
  26325. "type": "object",
  26326. "required": [
  26327. "autoid"
  26328. ],
  26329. "properties": {
  26330. "autoid": {
  26331. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  26332. "type": "integer"
  26333. },
  26334. "exchangefullname": {
  26335. "description": "外部交易所全称",
  26336. "type": "string"
  26337. },
  26338. "exexchangecode": {
  26339. "description": "外部交易所代码",
  26340. "type": "string"
  26341. },
  26342. "exexchangename": {
  26343. "description": "外部交易所名称(简称)",
  26344. "type": "string"
  26345. },
  26346. "ismarketprice": {
  26347. "description": "是否支持市价 - 0:不支持 1:支持",
  26348. "type": "integer"
  26349. },
  26350. "quotegear": {
  26351. "description": "行情档位(1-10)",
  26352. "type": "integer"
  26353. },
  26354. "showbrokerflag": {
  26355. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  26356. "type": "integer"
  26357. },
  26358. "updatetime": {
  26359. "description": "更新时间",
  26360. "type": "string"
  26361. }
  26362. }
  26363. },
  26364. "models.Funcmenulist": {
  26365. "type": "object",
  26366. "required": [
  26367. "resourcecode"
  26368. ],
  26369. "properties": {
  26370. "iconame": {
  26371. "description": "菜单图标",
  26372. "type": "string"
  26373. },
  26374. "menutype": {
  26375. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  26376. "type": "integer"
  26377. },
  26378. "parentcode": {
  26379. "description": "上级资源代码",
  26380. "type": "string"
  26381. },
  26382. "remark": {
  26383. "description": "备注",
  26384. "type": "string"
  26385. },
  26386. "resourcecode": {
  26387. "description": "资源代码",
  26388. "type": "string"
  26389. },
  26390. "resourcelevel": {
  26391. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  26392. "type": "integer"
  26393. },
  26394. "resourcename": {
  26395. "description": "资源名",
  26396. "type": "string"
  26397. },
  26398. "sort": {
  26399. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  26400. "type": "integer"
  26401. },
  26402. "url": {
  26403. "description": "URL",
  26404. "type": "string"
  26405. }
  26406. }
  26407. },
  26408. "models.GZGoods": {
  26409. "type": "object",
  26410. "required": [
  26411. "goodsno"
  26412. ],
  26413. "properties": {
  26414. "cerno": {
  26415. "description": "证书编号 - 类型:2,4,5",
  26416. "type": "string"
  26417. },
  26418. "cpcertno": {
  26419. "description": "金伯利证书编号 - 类型:3",
  26420. "type": "string"
  26421. },
  26422. "goodsno": {
  26423. "description": "商品编号",
  26424. "type": "string"
  26425. },
  26426. "imagepath": {
  26427. "description": "商品照片(相对地址)",
  26428. "type": "string"
  26429. },
  26430. "isvalid": {
  26431. "description": "是否有效 - 0:无效 1:有效",
  26432. "type": "integer"
  26433. },
  26434. "kppath": {
  26435. "description": "金伯利证书图片(相对地址) - 类型:3",
  26436. "type": "string"
  26437. },
  26438. "kpweight": {
  26439. "description": "金伯利证书重量 - 类型:3",
  26440. "type": "string"
  26441. },
  26442. "marketprice": {
  26443. "description": "市场价",
  26444. "type": "string"
  26445. },
  26446. "mobile": {
  26447. "description": "手机号码",
  26448. "type": "string"
  26449. },
  26450. "origin": {
  26451. "description": "原产地 - 类型:3",
  26452. "type": "string"
  26453. },
  26454. "price": {
  26455. "description": "总价(价格) - 类型:1,2,3,4,5",
  26456. "type": "number"
  26457. },
  26458. "priceper": {
  26459. "description": "克拉单价 - 类型:1,2,3,5",
  26460. "type": "string"
  26461. },
  26462. "remark": {
  26463. "description": "备注",
  26464. "type": "string"
  26465. },
  26466. "sellusername": {
  26467. "description": "账户名称(机构名称)",
  26468. "type": "string"
  26469. },
  26470. "settingmaterial": {
  26471. "description": "镶嵌材料 - 类型:4",
  26472. "type": "string"
  26473. },
  26474. "size1": {
  26475. "description": "尺寸1 - 类型:2,4,5",
  26476. "type": "string"
  26477. },
  26478. "size2": {
  26479. "description": "尺寸2 - 类型:2,4,5",
  26480. "type": "string"
  26481. },
  26482. "size3": {
  26483. "description": "尺寸3 - 类型:2,4,5",
  26484. "type": "string"
  26485. },
  26486. "stonedesc": {
  26487. "description": "配石描述 - 类型:4",
  26488. "type": "string"
  26489. },
  26490. "userid": {
  26491. "description": "用户ID",
  26492. "type": "integer"
  26493. },
  26494. "warehouseid": {
  26495. "description": "仓库ID",
  26496. "type": "integer"
  26497. },
  26498. "warehousenamedisplay": {
  26499. "type": "string"
  26500. },
  26501. "weight": {
  26502. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  26503. "type": "number"
  26504. },
  26505. "weightavg": {
  26506. "description": "平均单颗重量 - 类型:1,3",
  26507. "type": "number"
  26508. },
  26509. "wrpath": {
  26510. "description": "仓单扫描件(相对地址)",
  26511. "type": "string"
  26512. },
  26513. "wrstandardid": {
  26514. "description": "现货商品ID",
  26515. "type": "integer"
  26516. },
  26517. "wrtradeorderid": {
  26518. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  26519. "type": "string"
  26520. },
  26521. "zscategory": {
  26522. "description": "钻石分类 - 枚举”ZSCategory“",
  26523. "type": "integer"
  26524. },
  26525. "zscategorydisplay": {
  26526. "type": "string"
  26527. },
  26528. "zscerttype": {
  26529. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  26530. "type": "integer"
  26531. },
  26532. "zscerttypedisplay": {
  26533. "type": "string"
  26534. },
  26535. "zsclaritytype1": {
  26536. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  26537. "type": "integer"
  26538. },
  26539. "zsclaritytype1display": {
  26540. "type": "string"
  26541. },
  26542. "zsclaritytype2": {
  26543. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  26544. "type": "integer"
  26545. },
  26546. "zsclaritytype2display": {
  26547. "type": "string"
  26548. },
  26549. "zscolortype1": {
  26550. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  26551. "type": "integer"
  26552. },
  26553. "zscolortype1display": {
  26554. "type": "string"
  26555. },
  26556. "zscolortype2": {
  26557. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  26558. "type": "integer"
  26559. },
  26560. "zscolortype2display": {
  26561. "type": "string"
  26562. },
  26563. "zscrystaltype": {
  26564. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  26565. "type": "string"
  26566. },
  26567. "zscrystaltypedisplay": {
  26568. "type": "string"
  26569. },
  26570. "zscurrencytype": {
  26571. "description": "货币类型 - 枚举“ZSCurrencyType”",
  26572. "type": "integer"
  26573. },
  26574. "zscurrencytypedisplay": {
  26575. "type": "string"
  26576. },
  26577. "zscurrencytypedisplayunit": {
  26578. "type": "string"
  26579. },
  26580. "zscuttype1": {
  26581. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  26582. "type": "integer"
  26583. },
  26584. "zscuttype1display": {
  26585. "type": "string"
  26586. },
  26587. "zscuttype2": {
  26588. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  26589. "type": "integer"
  26590. },
  26591. "zscuttype2display": {
  26592. "type": "string"
  26593. },
  26594. "zsczcolor1type": {
  26595. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  26596. "type": "integer"
  26597. },
  26598. "zsczcolor1typedisplay": {
  26599. "type": "string"
  26600. },
  26601. "zsczcolor2type": {
  26602. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  26603. "type": "integer"
  26604. },
  26605. "zsczcolor2typedisplay": {
  26606. "type": "string"
  26607. },
  26608. "zsczcolor3type": {
  26609. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  26610. "type": "integer"
  26611. },
  26612. "zsczcolor3typedisplay": {
  26613. "type": "string"
  26614. },
  26615. "zsfluorescencetype1": {
  26616. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  26617. "type": "integer"
  26618. },
  26619. "zsfluorescencetype1display": {
  26620. "type": "string"
  26621. },
  26622. "zsfluorescencetype2": {
  26623. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  26624. "type": "integer"
  26625. },
  26626. "zsfluorescencetype2display": {
  26627. "type": "string"
  26628. },
  26629. "zspolishtype1": {
  26630. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  26631. "type": "integer"
  26632. },
  26633. "zspolishtype1display": {
  26634. "type": "string"
  26635. },
  26636. "zspolishtype2": {
  26637. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  26638. "type": "integer"
  26639. },
  26640. "zspolishtype2display": {
  26641. "type": "string"
  26642. },
  26643. "zsshapetype": {
  26644. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  26645. "type": "string"
  26646. },
  26647. "zsshapetypedisplay": {
  26648. "type": "string"
  26649. },
  26650. "zsstyletype": {
  26651. "description": "款式 - 类型:4",
  26652. "type": "integer"
  26653. },
  26654. "zsstyletypedisplay": {
  26655. "type": "string"
  26656. },
  26657. "zssymmetrytype1": {
  26658. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  26659. "type": "integer"
  26660. },
  26661. "zssymmetrytype1display": {
  26662. "type": "string"
  26663. },
  26664. "zssymmetrytype2": {
  26665. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  26666. "type": "integer"
  26667. },
  26668. "zssymmetrytype2display": {
  26669. "type": "string"
  26670. }
  26671. }
  26672. },
  26673. "models.GZWarehouseinfo": {
  26674. "type": "object",
  26675. "properties": {
  26676. "address": {
  26677. "description": "详细地址",
  26678. "type": "string"
  26679. },
  26680. "areauserid": {
  26681. "description": "所属机构",
  26682. "type": "integer"
  26683. },
  26684. "autoid": {
  26685. "description": "自增ID",
  26686. "type": "integer"
  26687. },
  26688. "cityid": {
  26689. "description": "市",
  26690. "type": "integer"
  26691. },
  26692. "contactname": {
  26693. "description": "联系人",
  26694. "type": "string"
  26695. },
  26696. "contactnum": {
  26697. "description": "联系电话",
  26698. "type": "string"
  26699. },
  26700. "countryid": {
  26701. "description": "国家",
  26702. "type": "integer"
  26703. },
  26704. "createtime": {
  26705. "description": "创建时间",
  26706. "type": "string"
  26707. },
  26708. "districtid": {
  26709. "description": "区",
  26710. "type": "integer"
  26711. },
  26712. "hasvideo": {
  26713. "description": "是否有视频 - 0:无 1:有",
  26714. "type": "integer"
  26715. },
  26716. "provinceid": {
  26717. "description": "省",
  26718. "type": "integer"
  26719. },
  26720. "remark": {
  26721. "description": "审核备注",
  26722. "type": "string"
  26723. },
  26724. "videourl": {
  26725. "description": "视频地址",
  26726. "type": "string"
  26727. },
  26728. "warehousecode": {
  26729. "description": "仓库代码",
  26730. "type": "string"
  26731. },
  26732. "warehousename": {
  26733. "description": "仓库名称",
  26734. "type": "string"
  26735. },
  26736. "warehousestatus": {
  26737. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  26738. "type": "integer"
  26739. },
  26740. "warehousetype": {
  26741. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26742. "type": "integer"
  26743. }
  26744. }
  26745. },
  26746. "models.Goods": {
  26747. "type": "object",
  26748. "required": [
  26749. "goodscode",
  26750. "goodsid",
  26751. "goodsname",
  26752. "marketid"
  26753. ],
  26754. "properties": {
  26755. "agreeunit": {
  26756. "description": "合约单位",
  26757. "type": "number"
  26758. },
  26759. "areauserid": {
  26760. "description": "所属机构",
  26761. "type": "integer"
  26762. },
  26763. "auditaccountid": {
  26764. "description": "审核操作员账号",
  26765. "type": "integer"
  26766. },
  26767. "audittime": {
  26768. "description": "审核时间",
  26769. "type": "string"
  26770. },
  26771. "cancelaccountid": {
  26772. "description": "注销操作员账号",
  26773. "type": "integer"
  26774. },
  26775. "canceltime": {
  26776. "description": "注销时间",
  26777. "type": "string"
  26778. },
  26779. "closepricemode": {
  26780. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26781. "type": "integer"
  26782. },
  26783. "closepriceparam": {
  26784. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26785. "type": "number"
  26786. },
  26787. "createtime": {
  26788. "description": "创建时间",
  26789. "type": "string"
  26790. },
  26791. "creatorid": {
  26792. "description": "创建人",
  26793. "type": "integer"
  26794. },
  26795. "currencyid": {
  26796. "description": "报价货币ID",
  26797. "type": "integer"
  26798. },
  26799. "cutmode": {
  26800. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26801. "type": "integer"
  26802. },
  26803. "decimalplace": {
  26804. "description": "报价小数位",
  26805. "type": "integer"
  26806. },
  26807. "delistingdate": {
  26808. "description": "商品退市时间(状态:退市) -- 已作废",
  26809. "type": "string"
  26810. },
  26811. "delistingmode": {
  26812. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26813. "type": "integer"
  26814. },
  26815. "deliveryflag": {
  26816. "description": "交割标志 - 0:不可交割 1:可交割",
  26817. "type": "integer"
  26818. },
  26819. "forceclosemode": {
  26820. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26821. "type": "integer"
  26822. },
  26823. "forceclosevalue": {
  26824. "description": "定期强平参数 [收益权]",
  26825. "type": "integer"
  26826. },
  26827. "goodscode": {
  26828. "description": "商品代码(内部)",
  26829. "type": "string"
  26830. },
  26831. "goodscurrencyid": {
  26832. "description": "合约货币ID",
  26833. "type": "integer"
  26834. },
  26835. "goodsgroupid": {
  26836. "description": "所属商品组ID",
  26837. "type": "integer"
  26838. },
  26839. "goodsid": {
  26840. "description": "商品ID(自增ID SEQ_GOODS)",
  26841. "type": "integer"
  26842. },
  26843. "goodsname": {
  26844. "description": "商品名称",
  26845. "type": "string"
  26846. },
  26847. "goodsquotetype": {
  26848. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26849. "type": "integer"
  26850. },
  26851. "goodsstatus": {
  26852. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26853. "type": "integer"
  26854. },
  26855. "goodstradetype": {
  26856. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26857. "type": "integer"
  26858. },
  26859. "goodunitid": {
  26860. "description": "报价单位ID",
  26861. "type": "integer"
  26862. },
  26863. "hasquoter": {
  26864. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26865. "type": "integer"
  26866. },
  26867. "hqprotecttime": {
  26868. "description": "行情保护时间(秒)",
  26869. "type": "integer"
  26870. },
  26871. "innerdealmode": {
  26872. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26873. "type": "integer"
  26874. },
  26875. "isbuylimited": {
  26876. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26877. "type": "integer"
  26878. },
  26879. "isvisible": {
  26880. "description": "游客是否可见 - 0:不可见 1:可见",
  26881. "type": "integer"
  26882. },
  26883. "lasttradedate": {
  26884. "description": "最后交易日期(状态:待退市)",
  26885. "type": "string"
  26886. },
  26887. "listingdate": {
  26888. "description": "交易开始日期",
  26889. "type": "string"
  26890. },
  26891. "marketid": {
  26892. "description": "所属市场ID",
  26893. "type": "integer"
  26894. },
  26895. "modifierid": {
  26896. "description": "修改人",
  26897. "type": "integer"
  26898. },
  26899. "modifystatus": {
  26900. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26901. "type": "integer"
  26902. },
  26903. "modifytime": {
  26904. "description": "修改时间",
  26905. "type": "string"
  26906. },
  26907. "outerdealmode": {
  26908. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26909. "type": "integer"
  26910. },
  26911. "outgoodscode": {
  26912. "description": "商品代码(外部)",
  26913. "type": "string"
  26914. },
  26915. "pictureurl": {
  26916. "description": "商品图片",
  26917. "type": "string"
  26918. },
  26919. "qtydecimalplace": {
  26920. "description": "成交量小数位",
  26921. "type": "integer"
  26922. },
  26923. "quotegear": {
  26924. "description": "行情档位(1-10)",
  26925. "type": "integer"
  26926. },
  26927. "quoteminunit": {
  26928. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26929. "type": "integer"
  26930. },
  26931. "quoteshowtype": {
  26932. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  26933. "type": "integer"
  26934. },
  26935. "quoteshowtypeinterval": {
  26936. "description": "行情报价间隔时间(秒)(成交价时为0)",
  26937. "type": "integer"
  26938. },
  26939. "remark": {
  26940. "description": "备注",
  26941. "type": "string"
  26942. }
  26943. }
  26944. },
  26945. "models.GoodsIDAndName": {
  26946. "type": "object",
  26947. "required": [
  26948. "goodscode",
  26949. "goodsid",
  26950. "goodsname",
  26951. "marketid"
  26952. ],
  26953. "properties": {
  26954. "goodscode": {
  26955. "description": "商品代码(内部)",
  26956. "type": "string"
  26957. },
  26958. "goodsid": {
  26959. "description": "商品ID(自增ID SEQ_GOODS)",
  26960. "type": "integer"
  26961. },
  26962. "goodsname": {
  26963. "description": "商品名称",
  26964. "type": "string"
  26965. },
  26966. "marketid": {
  26967. "description": "所属市场ID",
  26968. "type": "integer"
  26969. }
  26970. }
  26971. },
  26972. "models.Goodsgroup": {
  26973. "type": "object",
  26974. "required": [
  26975. "goodsgroupid",
  26976. "goodsgroupname",
  26977. "goodsgroupstatus",
  26978. "marketid"
  26979. ],
  26980. "properties": {
  26981. "agreeunit": {
  26982. "description": "合约单位",
  26983. "type": "number"
  26984. },
  26985. "canshort": {
  26986. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  26987. "type": "integer"
  26988. },
  26989. "closepricemode": {
  26990. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26991. "type": "integer"
  26992. },
  26993. "closepriceparam": {
  26994. "description": "强平最新价浮动比例 - 方式为2时使用",
  26995. "type": "number"
  26996. },
  26997. "createtime": {
  26998. "description": "创建时间",
  26999. "type": "string"
  27000. },
  27001. "creatorid": {
  27002. "description": "创建人",
  27003. "type": "integer"
  27004. },
  27005. "currencyid": {
  27006. "description": "报价货币ID",
  27007. "type": "integer"
  27008. },
  27009. "decimalplace": {
  27010. "description": "报价小数位",
  27011. "type": "integer"
  27012. },
  27013. "exercisetype": {
  27014. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  27015. "type": "integer"
  27016. },
  27017. "exexchangeid": {
  27018. "description": "外部交易所ID[通道交易]",
  27019. "type": "integer"
  27020. },
  27021. "goodsgroupid": {
  27022. "description": "商品组ID(自增ID)",
  27023. "type": "integer"
  27024. },
  27025. "goodsgroupname": {
  27026. "description": "商品组名称",
  27027. "type": "string"
  27028. },
  27029. "goodsgroupstatus": {
  27030. "description": "商品组状态 - 1:正常 2:注销",
  27031. "type": "integer"
  27032. },
  27033. "goodunitid": {
  27034. "description": "报价单位ID",
  27035. "type": "integer"
  27036. },
  27037. "innerdealmode": {
  27038. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27039. "type": "integer"
  27040. },
  27041. "isbuylimited": {
  27042. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27043. "type": "integer"
  27044. },
  27045. "marketid": {
  27046. "description": "所属市场ID",
  27047. "type": "integer"
  27048. },
  27049. "modifierid": {
  27050. "description": "修改人",
  27051. "type": "integer"
  27052. },
  27053. "modifytime": {
  27054. "description": "修改时间",
  27055. "type": "string"
  27056. },
  27057. "outerdealmode": {
  27058. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27059. "type": "integer"
  27060. },
  27061. "outergroupcode": {
  27062. "description": "外部商品组代码[通道交易]",
  27063. "type": "string"
  27064. },
  27065. "premiumdecimalplace": {
  27066. "description": "权利金小数位[场外期权]",
  27067. "type": "integer"
  27068. },
  27069. "premiumspreadalgorithm": {
  27070. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  27071. "type": "integer"
  27072. },
  27073. "premiumspreadvalue": {
  27074. "description": "权利金点差值[场外期权]",
  27075. "type": "number"
  27076. },
  27077. "qtydecimalplace": {
  27078. "description": "成交量小数位",
  27079. "type": "integer"
  27080. },
  27081. "quotegear": {
  27082. "description": "行情档位(1-10)",
  27083. "type": "integer"
  27084. },
  27085. "quoteminunit": {
  27086. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27087. "type": "integer"
  27088. },
  27089. "quoterid": {
  27090. "description": "报价商ID[场外期权]",
  27091. "type": "integer"
  27092. },
  27093. "quotesourcegroupid": {
  27094. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  27095. "type": "integer"
  27096. },
  27097. "syncgoodsqty": {
  27098. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  27099. "type": "integer"
  27100. }
  27101. }
  27102. },
  27103. "models.Goodssortbypreposition": {
  27104. "type": "object",
  27105. "required": [
  27106. "goodscode",
  27107. "tradedate"
  27108. ],
  27109. "properties": {
  27110. "goodscode": {
  27111. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  27112. "type": "string"
  27113. },
  27114. "goodsgroupcode": {
  27115. "description": "品种代码",
  27116. "type": "string"
  27117. },
  27118. "prepositionqty": {
  27119. "description": "昨持仓量",
  27120. "type": "integer"
  27121. },
  27122. "sortindex": {
  27123. "description": "排序",
  27124. "type": "integer"
  27125. },
  27126. "tradedate": {
  27127. "description": "交易日",
  27128. "type": "string"
  27129. },
  27130. "updatetime": {
  27131. "description": "更新时间",
  27132. "type": "string"
  27133. }
  27134. }
  27135. },
  27136. "models.Hedgeinnerholderdetail": {
  27137. "type": "object",
  27138. "required": [
  27139. "buyorsell",
  27140. "tradeid"
  27141. ],
  27142. "properties": {
  27143. "accountid": {
  27144. "description": "账号ID",
  27145. "type": "integer"
  27146. },
  27147. "buyorsell": {
  27148. "description": "方向 - 0:买 1:卖",
  27149. "type": "integer"
  27150. },
  27151. "freezeqty": {
  27152. "description": "冻结数量 - 按单平使用",
  27153. "type": "integer"
  27154. },
  27155. "goodsid": {
  27156. "description": "商品ID",
  27157. "type": "integer"
  27158. },
  27159. "holderamount": {
  27160. "description": "持仓金额 [商品币种]",
  27161. "type": "number"
  27162. },
  27163. "holderdays": {
  27164. "description": "剩余冻结天数",
  27165. "type": "integer"
  27166. },
  27167. "holderprice": {
  27168. "description": "持仓价格",
  27169. "type": "number"
  27170. },
  27171. "holderqty": {
  27172. "description": "持仓数量",
  27173. "type": "integer"
  27174. },
  27175. "marketid": {
  27176. "description": "市场ID",
  27177. "type": "integer"
  27178. },
  27179. "openprice": {
  27180. "description": "建仓价格",
  27181. "type": "number"
  27182. },
  27183. "openqty": {
  27184. "description": "建仓数量",
  27185. "type": "integer"
  27186. },
  27187. "parentaccountid": {
  27188. "description": "所属母账户",
  27189. "type": "integer"
  27190. },
  27191. "releaseamount": {
  27192. "description": "释放持仓金额[商品币种]",
  27193. "type": "number"
  27194. },
  27195. "tradeamount": {
  27196. "description": "成交金额[账户]",
  27197. "type": "number"
  27198. },
  27199. "tradedate": {
  27200. "description": "交易日(yyyyMMdd)",
  27201. "type": "string"
  27202. },
  27203. "tradeid": {
  27204. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27205. "type": "string"
  27206. },
  27207. "tradetime": {
  27208. "description": "交易时间",
  27209. "type": "string"
  27210. }
  27211. }
  27212. },
  27213. "models.Hedgemarketopenlog": {
  27214. "type": "object",
  27215. "required": [
  27216. "accountid"
  27217. ],
  27218. "properties": {
  27219. "accountid": {
  27220. "description": "资金账号[外部母账户]",
  27221. "type": "integer"
  27222. },
  27223. "fcname": {
  27224. "description": "期货公司名称",
  27225. "type": "string"
  27226. },
  27227. "handlestatus": {
  27228. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  27229. "type": "integer"
  27230. },
  27231. "marketid": {
  27232. "description": "市场ID",
  27233. "type": "integer"
  27234. },
  27235. "status": {
  27236. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  27237. "type": "integer"
  27238. },
  27239. "tradedate": {
  27240. "description": "交易日(yyyyMMdd)",
  27241. "type": "string"
  27242. },
  27243. "updatetime": {
  27244. "description": "更新时间",
  27245. "type": "string"
  27246. }
  27247. }
  27248. },
  27249. "models.InternalEnableTradeDetail": {
  27250. "type": "object",
  27251. "required": [
  27252. "areauserid",
  27253. "goodsid",
  27254. "tradeuserid"
  27255. ],
  27256. "properties": {
  27257. "agreeunit": {
  27258. "description": "合约乘数",
  27259. "type": "number"
  27260. },
  27261. "areauserid": {
  27262. "description": "企业ID",
  27263. "type": "integer"
  27264. },
  27265. "convertratio": {
  27266. "description": "品种系数",
  27267. "type": "number"
  27268. },
  27269. "deliverygoodscode": {
  27270. "description": "现货品种代码",
  27271. "type": "string"
  27272. },
  27273. "deliverygoodsid": {
  27274. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27275. "type": "integer"
  27276. },
  27277. "deliverygoodsname": {
  27278. "description": "现货品种名称",
  27279. "type": "string"
  27280. },
  27281. "futurehedgeqty": {
  27282. "description": "[已关联数量]期货持仓套期量",
  27283. "type": "number"
  27284. },
  27285. "goodsid": {
  27286. "description": "期货合约ID",
  27287. "type": "integer"
  27288. },
  27289. "hedgeditemid": {
  27290. "description": "被套期项目ID",
  27291. "type": "string"
  27292. },
  27293. "hedgeditemnum": {
  27294. "description": "项目编号",
  27295. "type": "string"
  27296. },
  27297. "tradeuserid": {
  27298. "description": "交易用户ID",
  27299. "type": "integer"
  27300. },
  27301. "unexehedgeqty": {
  27302. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  27303. "type": "number"
  27304. },
  27305. "unexespotqty": {
  27306. "description": "未执行现货量",
  27307. "type": "number"
  27308. },
  27309. "wrstandardcode": {
  27310. "description": "现货品类代码",
  27311. "type": "string"
  27312. },
  27313. "wrstandardid": {
  27314. "description": "现货品类ID(SEQ_WRSTANDARD)",
  27315. "type": "integer"
  27316. },
  27317. "wrstandardname": {
  27318. "description": "现货品类名称",
  27319. "type": "string"
  27320. }
  27321. }
  27322. },
  27323. "models.InternalUncorrelatedTradeDetail": {
  27324. "type": "object",
  27325. "properties": {
  27326. "accountid": {
  27327. "description": "账号ID",
  27328. "type": "integer"
  27329. },
  27330. "accountname": {
  27331. "description": "套期主体",
  27332. "type": "string"
  27333. },
  27334. "agreeunit": {
  27335. "description": "合约乘数",
  27336. "type": "number"
  27337. },
  27338. "areauserid": {
  27339. "description": "所属机构",
  27340. "type": "integer"
  27341. },
  27342. "bizsubjectid": {
  27343. "description": "归属业务部门ID - SubjectID",
  27344. "type": "integer"
  27345. },
  27346. "buyorsell": {
  27347. "description": "方向 - 0:买 1:卖",
  27348. "type": "integer"
  27349. },
  27350. "channelbuildtype": {
  27351. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27352. "type": "integer"
  27353. },
  27354. "convertratio": {
  27355. "description": "品种系数",
  27356. "type": "number"
  27357. },
  27358. "createtime": {
  27359. "description": "创建时间",
  27360. "type": "string"
  27361. },
  27362. "creatorid": {
  27363. "description": "创建人ID",
  27364. "type": "integer"
  27365. },
  27366. "creatorsrc": {
  27367. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  27368. "type": "integer"
  27369. },
  27370. "enableqty": {
  27371. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  27372. "type": "number"
  27373. },
  27374. "enumdicname": {
  27375. "description": "单位",
  27376. "type": "string"
  27377. },
  27378. "goodscode": {
  27379. "description": "合约代码",
  27380. "type": "string"
  27381. },
  27382. "goodsgroupid": {
  27383. "description": "对冲品种ID[期货合约商品组ID]",
  27384. "type": "integer"
  27385. },
  27386. "goodsid": {
  27387. "description": "商品ID",
  27388. "type": "integer"
  27389. },
  27390. "goodsname": {
  27391. "description": "合约名称",
  27392. "type": "string"
  27393. },
  27394. "hedgeditemid": {
  27395. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  27396. "type": "integer"
  27397. },
  27398. "hedgeflag": {
  27399. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  27400. "type": "integer"
  27401. },
  27402. "linkdetailid": {
  27403. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  27404. "type": "string"
  27405. },
  27406. "linkstatus": {
  27407. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  27408. "type": "integer"
  27409. },
  27410. "middlegoodsid": {
  27411. "description": "套保品种ID",
  27412. "type": "integer"
  27413. },
  27414. "middlegoodsqty": {
  27415. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  27416. "type": "number"
  27417. },
  27418. "relatedlot": {
  27419. "description": "[数量]关联手数",
  27420. "type": "number"
  27421. },
  27422. "relatedmode": {
  27423. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  27424. "type": "integer"
  27425. },
  27426. "relatedqty": {
  27427. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  27428. "type": "number"
  27429. },
  27430. "retcode": {
  27431. "description": "返回码",
  27432. "type": "integer"
  27433. },
  27434. "saleuserid": {
  27435. "description": "业务员ID",
  27436. "type": "integer"
  27437. },
  27438. "tradedate": {
  27439. "description": "关联交易日(yyyyMMdd)",
  27440. "type": "string"
  27441. },
  27442. "tradeid": {
  27443. "description": "成交单号",
  27444. "type": "string"
  27445. },
  27446. "tradelot": {
  27447. "description": "成交手数",
  27448. "type": "integer"
  27449. },
  27450. "tradeprice": {
  27451. "description": "成交价",
  27452. "type": "number"
  27453. },
  27454. "tradetime": {
  27455. "description": "成交时间",
  27456. "type": "string"
  27457. },
  27458. "tradetradedate": {
  27459. "description": "成交交易日(yyyyMMdd)",
  27460. "type": "string"
  27461. },
  27462. "tradeuserid": {
  27463. "description": "交易用户ID",
  27464. "type": "integer"
  27465. }
  27466. }
  27467. },
  27468. "models.Loginaccount": {
  27469. "type": "object",
  27470. "required": [
  27471. "loginid"
  27472. ],
  27473. "properties": {
  27474. "accountname": {
  27475. "description": "账户名称",
  27476. "type": "string"
  27477. },
  27478. "canoutin": {
  27479. "description": "是否可出入金 - 0:不可 1:可",
  27480. "type": "integer"
  27481. },
  27482. "clientroleid": {
  27483. "description": "终端角色ID",
  27484. "type": "integer"
  27485. },
  27486. "haslogined": {
  27487. "description": "是否已登录 - 0:未登录 1:已登录",
  27488. "type": "integer"
  27489. },
  27490. "hasupdatedpwd": {
  27491. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27492. "type": "integer"
  27493. },
  27494. "lastloginip": {
  27495. "description": "最新登录地址",
  27496. "type": "string"
  27497. },
  27498. "lastloginmode": {
  27499. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27500. "type": "integer"
  27501. },
  27502. "lastloginremark": {
  27503. "description": "最新登录描述",
  27504. "type": "string"
  27505. },
  27506. "lastlogintime": {
  27507. "description": "最新登录时间",
  27508. "type": "string"
  27509. },
  27510. "logincode": {
  27511. "description": "登录代码",
  27512. "type": "string"
  27513. },
  27514. "loginfailnum": {
  27515. "description": "连续登录失败次数(登录成功时清零)",
  27516. "type": "integer"
  27517. },
  27518. "loginid": {
  27519. "description": "登陆账号",
  27520. "type": "integer"
  27521. },
  27522. "loginport": {
  27523. "description": "最新登录端口",
  27524. "type": "integer"
  27525. },
  27526. "loginstatus": {
  27527. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27528. "type": "integer"
  27529. },
  27530. "loginusertype": {
  27531. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27532. "type": "integer"
  27533. },
  27534. "mobile": {
  27535. "description": "手机号码(加密存储)",
  27536. "type": "string"
  27537. },
  27538. "modifierid": {
  27539. "description": "修改人",
  27540. "type": "integer"
  27541. },
  27542. "modifysrc": {
  27543. "description": "审核来源 - 1:管理端 2:终端",
  27544. "type": "integer"
  27545. },
  27546. "modifytime": {
  27547. "description": "修改时间",
  27548. "type": "string"
  27549. },
  27550. "password": {
  27551. "description": "登陆密码",
  27552. "type": "string"
  27553. },
  27554. "pwdwrongcount": {
  27555. "description": "密码错误次数",
  27556. "type": "integer"
  27557. },
  27558. "relateduserid": {
  27559. "description": "关联用户ID(机构)",
  27560. "type": "integer"
  27561. },
  27562. "taaccountrighttype": {
  27563. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27564. "type": "integer"
  27565. },
  27566. "unfreezetime": {
  27567. "description": "账户解冻时间",
  27568. "type": "string"
  27569. },
  27570. "userid": {
  27571. "description": "用户ID",
  27572. "type": "integer"
  27573. }
  27574. }
  27575. },
  27576. "models.MainAccountInfo": {
  27577. "type": "object",
  27578. "properties": {
  27579. "accountid": {
  27580. "description": "账号id",
  27581. "type": "integer"
  27582. },
  27583. "accountname": {
  27584. "description": "账号名称(taaccount表中的名称)",
  27585. "type": "string"
  27586. },
  27587. "appid": {
  27588. "description": "AppID",
  27589. "type": "string"
  27590. },
  27591. "authcode": {
  27592. "description": "授权码",
  27593. "type": "string"
  27594. },
  27595. "brokerid": {
  27596. "description": "经纪商id",
  27597. "type": "string"
  27598. },
  27599. "fcid": {
  27600. "description": "期货公司id",
  27601. "type": "integer"
  27602. },
  27603. "fcname": {
  27604. "description": "期货公司代码",
  27605. "type": "string"
  27606. },
  27607. "hedgeaccountcode": {
  27608. "description": "外部账号代码(主账号登录代码)",
  27609. "type": "string"
  27610. },
  27611. "hedgeaccountpwd": {
  27612. "description": "密码",
  27613. "type": "string"
  27614. },
  27615. "ismain": {
  27616. "description": "是否主账号",
  27617. "type": "integer"
  27618. },
  27619. "relateduserid": {
  27620. "description": "关联用户id",
  27621. "type": "integer"
  27622. },
  27623. "userid": {
  27624. "description": "关联用户id",
  27625. "type": "integer"
  27626. }
  27627. }
  27628. },
  27629. "models.Market": {
  27630. "type": "object",
  27631. "required": [
  27632. "marketid",
  27633. "marketstatus",
  27634. "openmethod",
  27635. "reckonpricealgorithm",
  27636. "trademode",
  27637. "tradeproperty"
  27638. ],
  27639. "properties": {
  27640. "auctionwrtype": {
  27641. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27642. "type": "integer"
  27643. },
  27644. "canacceptquote": {
  27645. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27646. "type": "integer"
  27647. },
  27648. "cangoodsexercise": {
  27649. "description": "[期权]是否可现货行权- 0:否 1:是",
  27650. "type": "integer"
  27651. },
  27652. "cangoodsexercisetype": {
  27653. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27654. "type": "integer"
  27655. },
  27656. "canmanualquotestrike": {
  27657. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27658. "type": "integer"
  27659. },
  27660. "canmutistage": {
  27661. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27662. "type": "integer"
  27663. },
  27664. "canpreexercise": {
  27665. "description": "[期权]是否可预申报- 0:否 1:是",
  27666. "type": "integer"
  27667. },
  27668. "clearinterval": {
  27669. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27670. "type": "integer"
  27671. },
  27672. "contracttmp": {
  27673. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27674. "type": "string"
  27675. },
  27676. "exchareaid": {
  27677. "description": "所属交易所,可以没有",
  27678. "type": "integer"
  27679. },
  27680. "goodstype": {
  27681. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27682. "type": "integer"
  27683. },
  27684. "hasrebate": {
  27685. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27686. "type": "integer"
  27687. },
  27688. "hastradecredit": {
  27689. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27690. "type": "integer"
  27691. },
  27692. "haswr": {
  27693. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27694. "type": "integer"
  27695. },
  27696. "isdeductmargin": {
  27697. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27698. "type": "integer"
  27699. },
  27700. "isrecordsource": {
  27701. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27702. "type": "integer"
  27703. },
  27704. "isreleasemargin": {
  27705. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27706. "type": "integer"
  27707. },
  27708. "marginformula": {
  27709. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27710. "type": "integer"
  27711. },
  27712. "marginformula2": {
  27713. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27714. "type": "integer"
  27715. },
  27716. "marketid": {
  27717. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27718. "type": "integer"
  27719. },
  27720. "marketname": {
  27721. "description": "市场名称",
  27722. "type": "string"
  27723. },
  27724. "marketserviceid": {
  27725. "description": "市场服务ID",
  27726. "type": "integer"
  27727. },
  27728. "marketstatus": {
  27729. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27730. "type": "integer"
  27731. },
  27732. "markettype": {
  27733. "description": "市场类型- 1:非交易服务 2:交易服务",
  27734. "type": "integer"
  27735. },
  27736. "matchermode": {
  27737. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27738. "type": "integer"
  27739. },
  27740. "openmethod": {
  27741. "description": "开盘模式 - 0 自动 1手动",
  27742. "type": "integer"
  27743. },
  27744. "otcuserid": {
  27745. "description": "场外期权做市商[场外期权]",
  27746. "type": "integer"
  27747. },
  27748. "outersynctime": {
  27749. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27750. "type": "string"
  27751. },
  27752. "pendingflag": {
  27753. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27754. "type": "integer"
  27755. },
  27756. "pendingtime": {
  27757. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27758. "type": "string"
  27759. },
  27760. "performancetempid": {
  27761. "description": "履约计划模板ID - 作废",
  27762. "type": "integer"
  27763. },
  27764. "premiumquotemode": {
  27765. "description": "权利金报价方式 - 1:自动 2:手动",
  27766. "type": "integer"
  27767. },
  27768. "rebateratio": {
  27769. "description": "返利比率[竞价式]",
  27770. "type": "number"
  27771. },
  27772. "reckonorder": {
  27773. "description": "结算顺序",
  27774. "type": "integer"
  27775. },
  27776. "reckonpricealgorithm": {
  27777. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27778. "type": "integer"
  27779. },
  27780. "reckonpriceparam": {
  27781. "description": "结算价参数",
  27782. "type": "integer"
  27783. },
  27784. "reckontime": {
  27785. "description": "结算时间[通道交易-对冲](HH:mm)",
  27786. "type": "string"
  27787. },
  27788. "roleprioritytype": {
  27789. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27790. "type": "integer"
  27791. },
  27792. "selllistingauditflag": {
  27793. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27794. "type": "integer"
  27795. },
  27796. "trademarkettype": {
  27797. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27798. "type": "integer"
  27799. },
  27800. "trademode": {
  27801. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27802. "type": "integer"
  27803. },
  27804. "tradeproperty": {
  27805. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27806. "type": "integer"
  27807. },
  27808. "tradetype": {
  27809. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27810. "type": "integer"
  27811. }
  27812. }
  27813. },
  27814. "models.Marketcalendar": {
  27815. "type": "object",
  27816. "properties": {
  27817. "holidaydate": {
  27818. "description": "节假日期(yyyy-MM-dd)",
  27819. "type": "string"
  27820. },
  27821. "marketid": {
  27822. "description": "市场ID",
  27823. "type": "integer"
  27824. }
  27825. }
  27826. },
  27827. "models.Marketrun": {
  27828. "type": "object",
  27829. "required": [
  27830. "marketid",
  27831. "nexttradedate",
  27832. "reckonflag",
  27833. "runstatus",
  27834. "tradedate",
  27835. "tradedate2"
  27836. ],
  27837. "properties": {
  27838. "afternexttradedate": {
  27839. "description": "下下交易日",
  27840. "type": "string"
  27841. },
  27842. "clearquoteflag": {
  27843. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27844. "type": "integer"
  27845. },
  27846. "lastreckondate": {
  27847. "description": "最新交易日(结算成功)",
  27848. "type": "string"
  27849. },
  27850. "machinedate": {
  27851. "description": "机器时间",
  27852. "type": "string"
  27853. },
  27854. "manualflag": {
  27855. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27856. "type": "integer"
  27857. },
  27858. "marketid": {
  27859. "description": "市场ID",
  27860. "type": "integer"
  27861. },
  27862. "nexttradedate": {
  27863. "description": "下一交易日",
  27864. "type": "string"
  27865. },
  27866. "pretradedate": {
  27867. "description": "上一交易日",
  27868. "type": "string"
  27869. },
  27870. "reckonflag": {
  27871. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27872. "type": "integer"
  27873. },
  27874. "runstatus": {
  27875. "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.今日免清算",
  27876. "type": "integer"
  27877. },
  27878. "sectionid": {
  27879. "description": "时间段号[多时段时用]",
  27880. "type": "integer"
  27881. },
  27882. "tradedate": {
  27883. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27884. "type": "string"
  27885. },
  27886. "tradedate2": {
  27887. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27888. "type": "string"
  27889. },
  27890. "updatetime": {
  27891. "description": "更新时间",
  27892. "type": "string"
  27893. }
  27894. }
  27895. },
  27896. "models.Messageboard": {
  27897. "type": "object",
  27898. "required": [
  27899. "messageboardid"
  27900. ],
  27901. "properties": {
  27902. "contactnum": {
  27903. "description": "联系电话",
  27904. "type": "string"
  27905. },
  27906. "createtime": {
  27907. "description": "创建时间",
  27908. "type": "string"
  27909. },
  27910. "message": {
  27911. "description": "留言信息",
  27912. "type": "string"
  27913. },
  27914. "messageboardid": {
  27915. "description": "留言簿ID(SEQ_MessageBoard)",
  27916. "type": "integer"
  27917. },
  27918. "userid": {
  27919. "description": "用户ID",
  27920. "type": "integer"
  27921. }
  27922. }
  27923. },
  27924. "models.MyBargainApply": {
  27925. "type": "object",
  27926. "required": [
  27927. "userid"
  27928. ],
  27929. "properties": {
  27930. "accountid": {
  27931. "description": "摘牌资金账号",
  27932. "type": "integer"
  27933. },
  27934. "applyprice": {
  27935. "description": "申请价格",
  27936. "type": "string"
  27937. },
  27938. "applyremark": {
  27939. "description": "申请备注",
  27940. "type": "string"
  27941. },
  27942. "applystatus": {
  27943. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  27944. "type": "integer"
  27945. },
  27946. "applytime": {
  27947. "description": "申请时间",
  27948. "type": "string"
  27949. },
  27950. "buyorsell": {
  27951. "description": "买卖 - 0:买 1:卖",
  27952. "type": "integer"
  27953. },
  27954. "confirmprice": {
  27955. "description": "可接受价格(拒绝时填写)-作废",
  27956. "type": "number"
  27957. },
  27958. "confirmqty": {
  27959. "description": "可接受数量(拒绝时填写)-作废",
  27960. "type": "integer"
  27961. },
  27962. "confirmremark": {
  27963. "description": "确认备注",
  27964. "type": "string"
  27965. },
  27966. "confirmtime": {
  27967. "description": "确认时间",
  27968. "type": "string"
  27969. },
  27970. "confirmuserid": {
  27971. "description": "确认人",
  27972. "type": "integer"
  27973. },
  27974. "handlestatus": {
  27975. "description": "处理状态",
  27976. "type": "integer"
  27977. },
  27978. "ladingbillid": {
  27979. "description": "摘牌方提单ID [卖]",
  27980. "type": "integer"
  27981. },
  27982. "marketid": {
  27983. "description": "市场ID",
  27984. "type": "integer"
  27985. },
  27986. "matchaccountid": {
  27987. "description": "挂牌方资金账号",
  27988. "type": "integer"
  27989. },
  27990. "matchuserid": {
  27991. "description": "挂牌方用户ID",
  27992. "type": "integer"
  27993. },
  27994. "price": {
  27995. "description": "价格",
  27996. "type": "number"
  27997. },
  27998. "priceper": {
  27999. "description": "克拉单价 - 类型:1,2,3,5",
  28000. "type": "string"
  28001. },
  28002. "qty": {
  28003. "description": "申请数量",
  28004. "type": "number"
  28005. },
  28006. "refprice": {
  28007. "description": "参考价格",
  28008. "type": "string"
  28009. },
  28010. "retcode": {
  28011. "description": "委托返回代码",
  28012. "type": "integer"
  28013. },
  28014. "sellusername": {
  28015. "description": "卖方",
  28016. "type": "string"
  28017. },
  28018. "sizedisplay": {
  28019. "description": "尺寸",
  28020. "type": "string"
  28021. },
  28022. "subnum": {
  28023. "description": "摘牌方提单子单号 [卖]",
  28024. "type": "integer"
  28025. },
  28026. "tradedate": {
  28027. "description": "交易日(yyyyMMdd)",
  28028. "type": "string"
  28029. },
  28030. "userid": {
  28031. "description": "摘牌人用户ID",
  28032. "type": "integer"
  28033. },
  28034. "warehousenamedisplay": {
  28035. "type": "string"
  28036. },
  28037. "wrbargainid": {
  28038. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  28039. "type": "string"
  28040. },
  28041. "wrtradeorderid": {
  28042. "description": "关联委托单ID",
  28043. "type": "integer"
  28044. },
  28045. "zscerttypedisplay": {
  28046. "type": "string"
  28047. },
  28048. "zsclaritytype1display": {
  28049. "type": "string"
  28050. },
  28051. "zsclaritytype2display": {
  28052. "type": "string"
  28053. },
  28054. "zscolortype1display": {
  28055. "type": "string"
  28056. },
  28057. "zscolortype2display": {
  28058. "type": "string"
  28059. },
  28060. "zscrystaltypedisplay": {
  28061. "type": "string"
  28062. },
  28063. "zscurrencytypedisplay": {
  28064. "type": "string"
  28065. },
  28066. "zscurrencytypedisplayunit": {
  28067. "type": "string"
  28068. },
  28069. "zscuttype1display": {
  28070. "type": "string"
  28071. },
  28072. "zscuttype2display": {
  28073. "type": "string"
  28074. },
  28075. "zsczcolor1typedisplay": {
  28076. "type": "string"
  28077. },
  28078. "zsczcolor2typedisplay": {
  28079. "type": "string"
  28080. },
  28081. "zsczcolor3typedisplay": {
  28082. "type": "string"
  28083. },
  28084. "zsfluorescencetype1display": {
  28085. "type": "string"
  28086. },
  28087. "zsfluorescencetype2display": {
  28088. "type": "string"
  28089. },
  28090. "zspolishtype1display": {
  28091. "type": "string"
  28092. },
  28093. "zspolishtype2display": {
  28094. "type": "string"
  28095. },
  28096. "zsshapetypedisplay": {
  28097. "type": "string"
  28098. },
  28099. "zsstyletypedisplay": {
  28100. "type": "string"
  28101. },
  28102. "zssymmetrytype1display": {
  28103. "type": "string"
  28104. },
  28105. "zssymmetrytype2display": {
  28106. "type": "string"
  28107. }
  28108. }
  28109. },
  28110. "models.MyBuyOrder": {
  28111. "type": "object",
  28112. "required": [
  28113. "userid"
  28114. ],
  28115. "properties": {
  28116. "accountid": {
  28117. "description": "资金账户ID",
  28118. "type": "integer"
  28119. },
  28120. "marketid": {
  28121. "description": "市场ID",
  28122. "type": "integer"
  28123. },
  28124. "ordertime": {
  28125. "description": "委托时间",
  28126. "type": "string"
  28127. },
  28128. "origin": {
  28129. "description": "原产地",
  28130. "type": "string"
  28131. },
  28132. "remark": {
  28133. "description": "备注",
  28134. "type": "string"
  28135. },
  28136. "userid": {
  28137. "description": "用户ID",
  28138. "type": "integer"
  28139. },
  28140. "validtime": {
  28141. "description": "有效期限",
  28142. "type": "string"
  28143. },
  28144. "warehouseids": {
  28145. "description": "仓库ID - 多个, 逗号分隔",
  28146. "type": "string"
  28147. },
  28148. "warehouseinfosdisplay": {
  28149. "type": "string"
  28150. },
  28151. "wrtradeorderid": {
  28152. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  28153. "type": "string"
  28154. },
  28155. "wrtradeorderstatus": {
  28156. "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、",
  28157. "type": "integer"
  28158. },
  28159. "zscategory": {
  28160. "description": "钻石分类 - 枚举”ZSCategory“",
  28161. "type": "integer"
  28162. },
  28163. "zscategorydisplay": {
  28164. "type": "string"
  28165. },
  28166. "zsclaritytype": {
  28167. "description": "净度 - 两个, 逗号分隔",
  28168. "type": "string"
  28169. },
  28170. "zsclaritytypedisplay": {
  28171. "type": "string"
  28172. },
  28173. "zscolortype": {
  28174. "description": "颜色 - 两个, 逗号分隔",
  28175. "type": "string"
  28176. },
  28177. "zscolortypedisplay": {
  28178. "type": "string"
  28179. },
  28180. "zscrystaltype": {
  28181. "description": "晶型 - 多个,逗号分隔",
  28182. "type": "string"
  28183. },
  28184. "zscrystaltypedisplay": {
  28185. "type": "string"
  28186. },
  28187. "zscurrencytype": {
  28188. "description": "货币类型 - 多个, 逗号分隔",
  28189. "type": "string"
  28190. },
  28191. "zscurrencytypedisplay": {
  28192. "type": "string"
  28193. },
  28194. "zscuttype": {
  28195. "description": "切工 - 两个, 逗号分隔",
  28196. "type": "string"
  28197. },
  28198. "zscuttypedisplay": {
  28199. "type": "string"
  28200. },
  28201. "zsczcolor1type": {
  28202. "description": "彩钻颜色1, 逗号分隔",
  28203. "type": "string"
  28204. },
  28205. "zsczcolor1typedisplay": {
  28206. "type": "string"
  28207. },
  28208. "zsczcolor2type": {
  28209. "description": "彩钻颜色2, 逗号分隔",
  28210. "type": "string"
  28211. },
  28212. "zsczcolor2typedisplay": {
  28213. "type": "string"
  28214. },
  28215. "zsczcolor3type": {
  28216. "description": "彩钻颜色3, 逗号分隔",
  28217. "type": "string"
  28218. },
  28219. "zsczcolor3typedisplay": {
  28220. "type": "string"
  28221. },
  28222. "zsfluorescencetype": {
  28223. "description": "荧光 - 多个, 逗号分隔",
  28224. "type": "string"
  28225. },
  28226. "zsfluorescencetypedisplay": {
  28227. "type": "string"
  28228. },
  28229. "zspolishtype": {
  28230. "description": "抛光度 - 两个, 逗号分隔",
  28231. "type": "string"
  28232. },
  28233. "zspolishtypedisplay": {
  28234. "type": "string"
  28235. },
  28236. "zsshapetype": {
  28237. "description": "形状 - 多个, 逗号分隔",
  28238. "type": "string"
  28239. },
  28240. "zsshapetypedisplay": {
  28241. "type": "string"
  28242. },
  28243. "zssize": {
  28244. "description": "尺寸 - 两个小数, 逗号分隔",
  28245. "type": "string"
  28246. },
  28247. "zsstyletype": {
  28248. "description": "款式 - 多个, 逗号分隔",
  28249. "type": "string"
  28250. },
  28251. "zsstyletypedisplay": {
  28252. "type": "string"
  28253. },
  28254. "zssymmetrytype": {
  28255. "description": "对称度 - 两个, 逗号分隔",
  28256. "type": "string"
  28257. },
  28258. "zssymmetrytypedisplay": {
  28259. "type": "string"
  28260. },
  28261. "zstabledisplay": {
  28262. "description": "求购信息",
  28263. "type": "string"
  28264. }
  28265. }
  28266. },
  28267. "models.MyDeListing": {
  28268. "type": "object",
  28269. "required": [
  28270. "userid"
  28271. ],
  28272. "properties": {
  28273. "buyaccountid": {
  28274. "description": "买方账号ID",
  28275. "type": "integer"
  28276. },
  28277. "buychargevalue": {
  28278. "description": "买方手续费",
  28279. "type": "number"
  28280. },
  28281. "buyorsell": {
  28282. "description": "方向 - 0:买 1:卖",
  28283. "type": "integer"
  28284. },
  28285. "buyuserid": {
  28286. "description": "买方用户ID",
  28287. "type": "integer"
  28288. },
  28289. "deliverygoodsid": {
  28290. "description": "现货品种ID",
  28291. "type": "integer"
  28292. },
  28293. "exchangerate": {
  28294. "description": "汇率",
  28295. "type": "number"
  28296. },
  28297. "goodsno": {
  28298. "description": "商品编号",
  28299. "type": "string"
  28300. },
  28301. "marketid": {
  28302. "description": "市场ID",
  28303. "type": "integer"
  28304. },
  28305. "matchusername": {
  28306. "description": "对手方",
  28307. "type": "string"
  28308. },
  28309. "oritradeamount": {
  28310. "description": "成交金额[商品币种]",
  28311. "type": "number"
  28312. },
  28313. "performanceplanid": {
  28314. "description": "履约计划ID/合同ID",
  28315. "type": "integer"
  28316. },
  28317. "price": {
  28318. "description": "价格",
  28319. "type": "number"
  28320. },
  28321. "qty": {
  28322. "description": "成交重量",
  28323. "type": "number"
  28324. },
  28325. "sellaccountid": {
  28326. "description": "卖方账号ID",
  28327. "type": "integer"
  28328. },
  28329. "sellchargevalue": {
  28330. "description": "卖方手续费",
  28331. "type": "number"
  28332. },
  28333. "selluserid": {
  28334. "description": "卖方用户ID",
  28335. "type": "integer"
  28336. },
  28337. "sizedisplay": {
  28338. "description": "尺寸",
  28339. "type": "string"
  28340. },
  28341. "tradeamount": {
  28342. "description": "成交金额",
  28343. "type": "number"
  28344. },
  28345. "tradedate": {
  28346. "description": "交易日(yyyyMMdd)",
  28347. "type": "string"
  28348. },
  28349. "tradeprice": {
  28350. "description": "成交价格",
  28351. "type": "number"
  28352. },
  28353. "tradetime": {
  28354. "description": "成交时间",
  28355. "type": "string"
  28356. },
  28357. "userid": {
  28358. "description": "用户ID",
  28359. "type": "integer"
  28360. },
  28361. "warehousenamedisplay": {
  28362. "type": "string"
  28363. },
  28364. "wrfactortypeid": {
  28365. "description": "仓单要素类型ID",
  28366. "type": "integer"
  28367. },
  28368. "wrstandardid": {
  28369. "description": "现货商品ID",
  28370. "type": "integer"
  28371. },
  28372. "wrtradedetailid": {
  28373. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  28374. "type": "string"
  28375. },
  28376. "zscategory": {
  28377. "description": "钻石分类 - 枚举”ZSCategory“",
  28378. "type": "integer"
  28379. },
  28380. "zscategorydisplay": {
  28381. "type": "string"
  28382. },
  28383. "zscerttypedisplay": {
  28384. "type": "string"
  28385. },
  28386. "zsclaritytype1display": {
  28387. "type": "string"
  28388. },
  28389. "zsclaritytype2display": {
  28390. "type": "string"
  28391. },
  28392. "zscolortype1display": {
  28393. "type": "string"
  28394. },
  28395. "zscolortype2display": {
  28396. "type": "string"
  28397. },
  28398. "zscrystaltypedisplay": {
  28399. "type": "string"
  28400. },
  28401. "zscurrencytype": {
  28402. "description": "货币类型 - 枚举“ZSCurrencyType”",
  28403. "type": "integer"
  28404. },
  28405. "zscurrencytypedisplay": {
  28406. "type": "string"
  28407. },
  28408. "zscurrencytypedisplayunit": {
  28409. "type": "string"
  28410. },
  28411. "zscuttype1display": {
  28412. "type": "string"
  28413. },
  28414. "zscuttype2display": {
  28415. "type": "string"
  28416. },
  28417. "zsczcolor1typedisplay": {
  28418. "type": "string"
  28419. },
  28420. "zsczcolor2typedisplay": {
  28421. "type": "string"
  28422. },
  28423. "zsczcolor3typedisplay": {
  28424. "type": "string"
  28425. },
  28426. "zsfluorescencetype1display": {
  28427. "type": "string"
  28428. },
  28429. "zsfluorescencetype2display": {
  28430. "type": "string"
  28431. },
  28432. "zspolishtype1display": {
  28433. "type": "string"
  28434. },
  28435. "zspolishtype2display": {
  28436. "type": "string"
  28437. },
  28438. "zsshapetypedisplay": {
  28439. "type": "string"
  28440. },
  28441. "zsstyletypedisplay": {
  28442. "type": "string"
  28443. },
  28444. "zssymmetrytype1display": {
  28445. "type": "string"
  28446. },
  28447. "zssymmetrytype2display": {
  28448. "type": "string"
  28449. }
  28450. }
  28451. },
  28452. "models.MyDelistingApply": {
  28453. "type": "object",
  28454. "required": [
  28455. "selluserid"
  28456. ],
  28457. "properties": {
  28458. "applyprice": {
  28459. "description": "申请价格",
  28460. "type": "number"
  28461. },
  28462. "applyqty": {
  28463. "description": "申请数量",
  28464. "type": "number"
  28465. },
  28466. "applyremark": {
  28467. "description": "申请备注",
  28468. "type": "string"
  28469. },
  28470. "applystatus": {
  28471. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  28472. "type": "integer"
  28473. },
  28474. "applytime": {
  28475. "description": "申请时间",
  28476. "type": "string"
  28477. },
  28478. "auditremark": {
  28479. "description": "确认备注",
  28480. "type": "string"
  28481. },
  28482. "audittime": {
  28483. "description": "确认时间",
  28484. "type": "string"
  28485. },
  28486. "buyuserid": {
  28487. "description": "买方用户ID",
  28488. "type": "integer"
  28489. },
  28490. "buyusername": {
  28491. "type": "string"
  28492. },
  28493. "buywrtradeorderid": {
  28494. "description": "买委托单ID",
  28495. "type": "string"
  28496. },
  28497. "goodsno": {
  28498. "description": "-- view_GZ_WRStandard_Ex_Query --",
  28499. "type": "string"
  28500. },
  28501. "ladingbillid": {
  28502. "description": "卖方提单ID",
  28503. "type": "string"
  28504. },
  28505. "marketid": {
  28506. "description": "市场ID",
  28507. "type": "integer"
  28508. },
  28509. "price": {
  28510. "description": "价格",
  28511. "type": "number"
  28512. },
  28513. "sellaccountid": {
  28514. "description": "卖方账户ID",
  28515. "type": "integer"
  28516. },
  28517. "selldelistingapplyid": {
  28518. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  28519. "type": "string"
  28520. },
  28521. "selltradeorderid": {
  28522. "description": "卖方委托ID(买方确认成交后更新)",
  28523. "type": "string"
  28524. },
  28525. "selluserid": {
  28526. "description": "卖方用户ID",
  28527. "type": "integer"
  28528. },
  28529. "subnum": {
  28530. "description": "卖方提单子单号",
  28531. "type": "integer"
  28532. },
  28533. "warehouseinfosdisplay": {
  28534. "type": "string"
  28535. },
  28536. "weight": {
  28537. "description": "克拉重量",
  28538. "type": "number"
  28539. },
  28540. "wrfactortypeid": {
  28541. "description": "仓单要素类型ID",
  28542. "type": "string"
  28543. },
  28544. "wrstandardid": {
  28545. "description": "现货商品ID",
  28546. "type": "integer"
  28547. },
  28548. "zsallproperties": {
  28549. "description": "-- VIEW_GZ_BUYORDERDETAIL_QUERY",
  28550. "type": "string"
  28551. },
  28552. "zscategorydisplay": {
  28553. "type": "string"
  28554. },
  28555. "zsclaritytypedisplay": {
  28556. "type": "string"
  28557. },
  28558. "zscolortypedisplay": {
  28559. "type": "string"
  28560. },
  28561. "zscrystaltypedisplay": {
  28562. "type": "string"
  28563. },
  28564. "zscurrencytypedisplay": {
  28565. "type": "string"
  28566. },
  28567. "zscuttypedisplay": {
  28568. "type": "string"
  28569. },
  28570. "zsczcolor1typedisplay": {
  28571. "type": "string"
  28572. },
  28573. "zsczcolor2typedisplay": {
  28574. "type": "string"
  28575. },
  28576. "zsczcolor3typedisplay": {
  28577. "type": "string"
  28578. },
  28579. "zsfluorescencetypedisplay": {
  28580. "type": "string"
  28581. },
  28582. "zspolishtypedisplay": {
  28583. "type": "string"
  28584. },
  28585. "zsshapetypedisplay": {
  28586. "type": "string"
  28587. },
  28588. "zssizedisplay": {
  28589. "type": "string"
  28590. },
  28591. "zsstyletypedisplay": {
  28592. "type": "string"
  28593. },
  28594. "zssymmetrytypedisplay": {
  28595. "type": "string"
  28596. },
  28597. "zstabledisplay": {
  28598. "type": "string"
  28599. }
  28600. }
  28601. },
  28602. "models.MyFavorite": {
  28603. "type": "object",
  28604. "required": [
  28605. "userid"
  28606. ],
  28607. "properties": {
  28608. "buyorsell": {
  28609. "description": "买卖 - 0:买 1:卖",
  28610. "type": "integer"
  28611. },
  28612. "favoritestatus": {
  28613. "description": "收藏状态 - 1:正常 2:失效",
  28614. "type": "integer"
  28615. },
  28616. "marketid": {
  28617. "description": "市场ID",
  28618. "type": "integer"
  28619. },
  28620. "price": {
  28621. "description": "价格",
  28622. "type": "number"
  28623. },
  28624. "priceper": {
  28625. "description": "克拉单价",
  28626. "type": "string"
  28627. },
  28628. "sizedisplay": {
  28629. "description": "尺寸",
  28630. "type": "string"
  28631. },
  28632. "userid": {
  28633. "description": "用户ID",
  28634. "type": "integer"
  28635. },
  28636. "warehousenamedisplay": {
  28637. "type": "string"
  28638. },
  28639. "wrfactortypeid": {
  28640. "description": "仓单要素类型ID/商品ID(77)",
  28641. "type": "string"
  28642. },
  28643. "wrstandardid": {
  28644. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  28645. "type": "integer"
  28646. },
  28647. "wrtradeorderid": {
  28648. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  28649. "type": "string"
  28650. },
  28651. "zscategorydisplay": {
  28652. "type": "string"
  28653. },
  28654. "zscerttypedisplay": {
  28655. "type": "string"
  28656. },
  28657. "zsclaritytype1display": {
  28658. "type": "string"
  28659. },
  28660. "zsclaritytype2display": {
  28661. "type": "string"
  28662. },
  28663. "zscolortype1display": {
  28664. "type": "string"
  28665. },
  28666. "zscolortype2display": {
  28667. "type": "string"
  28668. },
  28669. "zscrystaltypedisplay": {
  28670. "type": "string"
  28671. },
  28672. "zscurrencytypedisplay": {
  28673. "type": "string"
  28674. },
  28675. "zscurrencytypedisplayunit": {
  28676. "type": "string"
  28677. },
  28678. "zscuttype1display": {
  28679. "type": "string"
  28680. },
  28681. "zscuttype2display": {
  28682. "type": "string"
  28683. },
  28684. "zsczcolor1typedisplay": {
  28685. "type": "string"
  28686. },
  28687. "zsczcolor2typedisplay": {
  28688. "type": "string"
  28689. },
  28690. "zsczcolor3typedisplay": {
  28691. "type": "string"
  28692. },
  28693. "zsfluorescencetype1display": {
  28694. "type": "string"
  28695. },
  28696. "zsfluorescencetype2display": {
  28697. "type": "string"
  28698. },
  28699. "zspolishtype1display": {
  28700. "type": "string"
  28701. },
  28702. "zspolishtype2display": {
  28703. "type": "string"
  28704. },
  28705. "zsshapetypedisplay": {
  28706. "type": "string"
  28707. },
  28708. "zsstyletypedisplay": {
  28709. "type": "string"
  28710. },
  28711. "zssymmetrytype1display": {
  28712. "type": "string"
  28713. },
  28714. "zssymmetrytype2display": {
  28715. "type": "string"
  28716. }
  28717. }
  28718. },
  28719. "models.MyPerformanc": {
  28720. "type": "object",
  28721. "properties": {
  28722. "accountname": {
  28723. "description": "useraccount",
  28724. "type": "string"
  28725. },
  28726. "amount": {
  28727. "description": "履约金额",
  28728. "type": "number"
  28729. },
  28730. "buyerfreezeamount": {
  28731. "description": "买方履约前冻结资金",
  28732. "type": "number"
  28733. },
  28734. "buyerfreezeamountremain": {
  28735. "description": "买方履约前冻结资金剩余",
  28736. "type": "number"
  28737. },
  28738. "buyerinfo": {
  28739. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  28740. "type": "string"
  28741. },
  28742. "buyorsell": {
  28743. "description": "方向 - 0:买 1:卖",
  28744. "type": "integer"
  28745. },
  28746. "buypaidamount": {
  28747. "description": "买方已冻/已扣金额",
  28748. "type": "number"
  28749. },
  28750. "curstepid": {
  28751. "description": "当前步骤ID",
  28752. "type": "string"
  28753. },
  28754. "overshortamount": {
  28755. "description": "溢短金额",
  28756. "type": "number"
  28757. },
  28758. "paymenttype": {
  28759. "description": "买方支付方式 - 1:冻结 2:扣款",
  28760. "type": "integer"
  28761. },
  28762. "performanceplanid": {
  28763. "description": "PerformancePlan",
  28764. "type": "string"
  28765. },
  28766. "performancestatus": {
  28767. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  28768. "type": "integer"
  28769. },
  28770. "price": {
  28771. "description": "价格",
  28772. "type": "number"
  28773. },
  28774. "priceper": {
  28775. "description": "克拉单价",
  28776. "type": "string"
  28777. },
  28778. "relatedorderid": {
  28779. "description": "关联单号(履约类型的关联单号)",
  28780. "type": "string"
  28781. },
  28782. "sellerfreezeamount": {
  28783. "description": "卖方履约前冻结资金",
  28784. "type": "number"
  28785. },
  28786. "sellerfreezeamountremain": {
  28787. "description": "卖方履约前冻结资金剩余",
  28788. "type": "number"
  28789. },
  28790. "sellerinfo": {
  28791. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  28792. "type": "string"
  28793. },
  28794. "sellreceivedamount": {
  28795. "description": "卖方已收金额",
  28796. "type": "number"
  28797. },
  28798. "sizedisplay": {
  28799. "description": "尺寸",
  28800. "type": "string"
  28801. },
  28802. "steptypeid": {
  28803. "description": "PerformanceStep",
  28804. "type": "integer"
  28805. },
  28806. "warehousenamedisplay": {
  28807. "type": "string"
  28808. },
  28809. "zscategorydisplay": {
  28810. "type": "string"
  28811. },
  28812. "zscerttypedisplay": {
  28813. "type": "string"
  28814. },
  28815. "zsclaritytype1display": {
  28816. "type": "string"
  28817. },
  28818. "zsclaritytype2display": {
  28819. "type": "string"
  28820. },
  28821. "zscolortype1display": {
  28822. "type": "string"
  28823. },
  28824. "zscolortype2display": {
  28825. "type": "string"
  28826. },
  28827. "zscrystaltypedisplay": {
  28828. "type": "string"
  28829. },
  28830. "zscurrencytypedisplay": {
  28831. "type": "string"
  28832. },
  28833. "zscurrencytypedisplayunit": {
  28834. "type": "string"
  28835. },
  28836. "zscuttype1display": {
  28837. "type": "string"
  28838. },
  28839. "zscuttype2display": {
  28840. "type": "string"
  28841. },
  28842. "zsczcolor1typedisplay": {
  28843. "type": "string"
  28844. },
  28845. "zsczcolor2typedisplay": {
  28846. "type": "string"
  28847. },
  28848. "zsczcolor3typedisplay": {
  28849. "type": "string"
  28850. },
  28851. "zsfluorescencetype1display": {
  28852. "type": "string"
  28853. },
  28854. "zsfluorescencetype2display": {
  28855. "type": "string"
  28856. },
  28857. "zspolishtype1display": {
  28858. "type": "string"
  28859. },
  28860. "zspolishtype2display": {
  28861. "type": "string"
  28862. },
  28863. "zsshapetypedisplay": {
  28864. "type": "string"
  28865. },
  28866. "zsstyletypedisplay": {
  28867. "type": "string"
  28868. },
  28869. "zssymmetrytype1display": {
  28870. "type": "string"
  28871. },
  28872. "zssymmetrytype2display": {
  28873. "type": "string"
  28874. }
  28875. }
  28876. },
  28877. "models.MySellOrder": {
  28878. "type": "object",
  28879. "required": [
  28880. "userid"
  28881. ],
  28882. "properties": {
  28883. "accountid": {
  28884. "description": "资金账号",
  28885. "type": "integer"
  28886. },
  28887. "applyid": {
  28888. "description": "申请单ID",
  28889. "type": "integer"
  28890. },
  28891. "attachment1": {
  28892. "description": "附件1",
  28893. "type": "string"
  28894. },
  28895. "attachment2": {
  28896. "description": "附件2",
  28897. "type": "string"
  28898. },
  28899. "buyorsell": {
  28900. "description": "买卖 - 0:买 1:卖",
  28901. "type": "integer"
  28902. },
  28903. "canbargain": {
  28904. "description": "是否可议价 - 0:不可 1:可",
  28905. "type": "integer"
  28906. },
  28907. "cancelqty": {
  28908. "description": "撤销数量",
  28909. "type": "integer"
  28910. },
  28911. "canceltime": {
  28912. "description": "撤销时间",
  28913. "type": "string"
  28914. },
  28915. "cerno": {
  28916. "type": "string"
  28917. },
  28918. "chargealgorithm": {
  28919. "description": "手续费收取方式 1:比率 2:固定",
  28920. "type": "integer"
  28921. },
  28922. "chargealgorithmvalue": {
  28923. "description": "手续费设置值(交易所部分)",
  28924. "type": "number"
  28925. },
  28926. "chargealgorithmvalue2": {
  28927. "description": "手续费设置值(会员部分)",
  28928. "type": "number"
  28929. },
  28930. "clientordertime": {
  28931. "description": "客户端委托时间",
  28932. "type": "string"
  28933. },
  28934. "cpcertno": {
  28935. "type": "string"
  28936. },
  28937. "exchangerate": {
  28938. "description": "汇率[67]",
  28939. "type": "number"
  28940. },
  28941. "firstratio": {
  28942. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  28943. "type": "number"
  28944. },
  28945. "fixedprice": {
  28946. "description": "[克拉单价]固定价格 - [挂牌]",
  28947. "type": "number"
  28948. },
  28949. "freezecharge": {
  28950. "description": "冻结手续费",
  28951. "type": "number"
  28952. },
  28953. "freezefirstamount": {
  28954. "description": "冻结首付金额 - [摘牌]",
  28955. "type": "number"
  28956. },
  28957. "freezemargin": {
  28958. "description": "冻结保证金",
  28959. "type": "number"
  28960. },
  28961. "goodsno": {
  28962. "description": "商品编号",
  28963. "type": "string"
  28964. },
  28965. "imagepath": {
  28966. "type": "string"
  28967. },
  28968. "isspecified": {
  28969. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  28970. "type": "integer"
  28971. },
  28972. "kppath": {
  28973. "type": "string"
  28974. },
  28975. "kpweight": {
  28976. "type": "string"
  28977. },
  28978. "marginalgorithm": {
  28979. "description": "保证金方式 - 1:比率 2:固定",
  28980. "type": "integer"
  28981. },
  28982. "marginvalue": {
  28983. "description": "保证金设置值",
  28984. "type": "number"
  28985. },
  28986. "marketid": {
  28987. "description": "市场ID",
  28988. "type": "integer"
  28989. },
  28990. "marketprice": {
  28991. "type": "string"
  28992. },
  28993. "orderamount": {
  28994. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  28995. "type": "number"
  28996. },
  28997. "ordertime": {
  28998. "description": "委托时间",
  28999. "type": "string"
  29000. },
  29001. "performancetemplateid": {
  29002. "description": "履约计划模板ID",
  29003. "type": "integer"
  29004. },
  29005. "price": {
  29006. "description": "价格",
  29007. "type": "number"
  29008. },
  29009. "pricefactor": {
  29010. "description": "价格系数(浮动价时填写) - [挂牌]",
  29011. "type": "number"
  29012. },
  29013. "pricemove": {
  29014. "description": "升贴水(浮动价时填写) - [挂牌]",
  29015. "type": "number"
  29016. },
  29017. "priceper": {
  29018. "type": "string"
  29019. },
  29020. "relatedwrtradeorderid": {
  29021. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  29022. "type": "integer"
  29023. },
  29024. "remark": {
  29025. "type": "string"
  29026. },
  29027. "retcode": {
  29028. "description": "错误代码",
  29029. "type": "integer"
  29030. },
  29031. "selledqty": {
  29032. "description": "成交重量",
  29033. "type": "number"
  29034. },
  29035. "settingmaterial": {
  29036. "type": "string"
  29037. },
  29038. "size1": {
  29039. "type": "string"
  29040. },
  29041. "size2": {
  29042. "type": "string"
  29043. },
  29044. "size3": {
  29045. "type": "string"
  29046. },
  29047. "stonedesc": {
  29048. "type": "string"
  29049. },
  29050. "totalqty": {
  29051. "description": "总重量",
  29052. "type": "number"
  29053. },
  29054. "tradedate": {
  29055. "description": "交易日(yyyyMMdd)",
  29056. "type": "string"
  29057. },
  29058. "tradeprice": {
  29059. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29060. "type": "number"
  29061. },
  29062. "unfreezecharge": {
  29063. "description": "解冻手续费",
  29064. "type": "number"
  29065. },
  29066. "unfreezefirstamount": {
  29067. "description": "解冻首付金额 - [摘牌]",
  29068. "type": "number"
  29069. },
  29070. "unfreezemargin": {
  29071. "description": "解冻保证金",
  29072. "type": "number"
  29073. },
  29074. "userid": {
  29075. "description": "用户ID",
  29076. "type": "integer"
  29077. },
  29078. "uuid": {
  29079. "description": "发起端唯一id",
  29080. "type": "string"
  29081. },
  29082. "validtime": {
  29083. "description": "有效期限",
  29084. "type": "string"
  29085. },
  29086. "validtype": {
  29087. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  29088. "type": "integer"
  29089. },
  29090. "warehousenamedisplay": {
  29091. "type": "string"
  29092. },
  29093. "wrbargainid": {
  29094. "description": "议价申请单ID",
  29095. "type": "integer"
  29096. },
  29097. "wrfactortypeid": {
  29098. "description": "仓单要素类型ID/商品ID(77)",
  29099. "type": "integer"
  29100. },
  29101. "wrpath": {
  29102. "type": "string"
  29103. },
  29104. "wrpricetype": {
  29105. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29106. "type": "integer"
  29107. },
  29108. "wrstandardid": {
  29109. "description": "现货商品ID",
  29110. "type": "integer"
  29111. },
  29112. "wrtradeorderid": {
  29113. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29114. "type": "string"
  29115. },
  29116. "wrtradeorderstatus": {
  29117. "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:撤单解冻贷款失败",
  29118. "type": "integer"
  29119. },
  29120. "wrtradetype": {
  29121. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29122. "type": "integer"
  29123. },
  29124. "wrtransferuserid": {
  29125. "description": "仓单受让用户 - [摘牌]",
  29126. "type": "integer"
  29127. },
  29128. "zscategory": {
  29129. "description": "钻石分类 - 枚举”ZSCategory“",
  29130. "type": "integer"
  29131. },
  29132. "zscategorydisplay": {
  29133. "description": "钻石分类 - 描述",
  29134. "type": "string"
  29135. },
  29136. "zscerttypedisplay": {
  29137. "type": "string"
  29138. },
  29139. "zsclaritytype1display": {
  29140. "type": "string"
  29141. },
  29142. "zsclaritytype2display": {
  29143. "type": "string"
  29144. },
  29145. "zscolortype1display": {
  29146. "type": "string"
  29147. },
  29148. "zscolortype2display": {
  29149. "type": "string"
  29150. },
  29151. "zscrystaltype": {
  29152. "type": "string"
  29153. },
  29154. "zscrystaltypedisplay": {
  29155. "type": "string"
  29156. },
  29157. "zscurrencytype": {
  29158. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29159. "type": "integer"
  29160. },
  29161. "zscurrencytypedisplay": {
  29162. "type": "string"
  29163. },
  29164. "zscurrencytypedisplayunit": {
  29165. "type": "string"
  29166. },
  29167. "zscuttype1display": {
  29168. "type": "string"
  29169. },
  29170. "zscuttype2display": {
  29171. "type": "string"
  29172. },
  29173. "zsczcolor1typedisplay": {
  29174. "type": "string"
  29175. },
  29176. "zsczcolor2typedisplay": {
  29177. "type": "string"
  29178. },
  29179. "zsczcolor3typedisplay": {
  29180. "type": "string"
  29181. },
  29182. "zsfluorescencetype1display": {
  29183. "type": "string"
  29184. },
  29185. "zsfluorescencetype2display": {
  29186. "type": "string"
  29187. },
  29188. "zspolishtype1display": {
  29189. "type": "string"
  29190. },
  29191. "zspolishtype2display": {
  29192. "type": "string"
  29193. },
  29194. "zsshapetypedisplay": {
  29195. "type": "string"
  29196. },
  29197. "zsstyletypedisplay": {
  29198. "type": "string"
  29199. },
  29200. "zssymmetrytype1display": {
  29201. "type": "string"
  29202. },
  29203. "zssymmetrytype2display": {
  29204. "type": "string"
  29205. }
  29206. }
  29207. },
  29208. "models.MyWRPosition": {
  29209. "type": "object",
  29210. "required": [
  29211. "wruserid"
  29212. ],
  29213. "properties": {
  29214. "cerno": {
  29215. "description": "证书编号 - 类型:2,4,5",
  29216. "type": "string"
  29217. },
  29218. "cpcertno": {
  29219. "description": "金伯利证书编号 - 类型:3",
  29220. "type": "string"
  29221. },
  29222. "ffreezeqty": {
  29223. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  29224. "type": "number"
  29225. },
  29226. "ftotalqty": {
  29227. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  29228. "type": "number"
  29229. },
  29230. "goodsno": {
  29231. "description": "商品编号",
  29232. "type": "string"
  29233. },
  29234. "imagepath": {
  29235. "description": "商品照片(相对地址)",
  29236. "type": "string"
  29237. },
  29238. "isvalid": {
  29239. "description": "是否有效 - 0:无效 1:有效",
  29240. "type": "integer"
  29241. },
  29242. "kppath": {
  29243. "description": "金伯利证书图片(相对地址) - 类型:3",
  29244. "type": "string"
  29245. },
  29246. "kpweight": {
  29247. "description": "金伯利证书重量 - 类型:3",
  29248. "type": "string"
  29249. },
  29250. "ladingbillid": {
  29251. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  29252. "type": "string"
  29253. },
  29254. "marketflag": {
  29255. "description": "是否上架,0-全部 1-是 2-否",
  29256. "type": "integer"
  29257. },
  29258. "marketprice": {
  29259. "description": "市场价",
  29260. "type": "string"
  29261. },
  29262. "origin": {
  29263. "description": "原产地 - 类型:3",
  29264. "type": "string"
  29265. },
  29266. "price": {
  29267. "description": "总价(价格) - 类型:1,2,3,4,5",
  29268. "type": "number"
  29269. },
  29270. "priceper": {
  29271. "description": "克拉单价 - 类型:1,2,3,5",
  29272. "type": "string"
  29273. },
  29274. "remark": {
  29275. "description": "备注",
  29276. "type": "string"
  29277. },
  29278. "sellmobile": {
  29279. "description": "手机号码(加密存储)",
  29280. "type": "string"
  29281. },
  29282. "sellusername": {
  29283. "description": "账户名称(机构名称)",
  29284. "type": "string"
  29285. },
  29286. "settingmaterial": {
  29287. "description": "镶嵌材料 - 类型:4",
  29288. "type": "string"
  29289. },
  29290. "size1": {
  29291. "description": "尺寸1 - 类型:2,4,5",
  29292. "type": "string"
  29293. },
  29294. "size2": {
  29295. "description": "尺寸2 - 类型:2,4,5",
  29296. "type": "string"
  29297. },
  29298. "size3": {
  29299. "description": "尺寸3 - 类型:2,4,5",
  29300. "type": "string"
  29301. },
  29302. "stonedesc": {
  29303. "description": "配石描述 - 类型:4",
  29304. "type": "string"
  29305. },
  29306. "subnum": {
  29307. "description": "提单子单号",
  29308. "type": "integer"
  29309. },
  29310. "userid": {
  29311. "description": "用户ID",
  29312. "type": "integer"
  29313. },
  29314. "warehouseid": {
  29315. "description": "仓库ID",
  29316. "type": "integer"
  29317. },
  29318. "warehousenamedisplay": {
  29319. "type": "string"
  29320. },
  29321. "weight": {
  29322. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  29323. "type": "number"
  29324. },
  29325. "weightavg": {
  29326. "description": "平均单颗重量 - 类型:1,3",
  29327. "type": "number"
  29328. },
  29329. "wrpath": {
  29330. "description": "仓单扫描件(相对地址)",
  29331. "type": "string"
  29332. },
  29333. "wrstandardid": {
  29334. "description": "现货商品ID",
  29335. "type": "integer"
  29336. },
  29337. "wrtradeorderid": {
  29338. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29339. "type": "string"
  29340. },
  29341. "wruserid": {
  29342. "description": "登录用户ID",
  29343. "type": "integer"
  29344. },
  29345. "zscategory": {
  29346. "description": "钻石分类 - 枚举”ZSCategory“",
  29347. "type": "integer"
  29348. },
  29349. "zscategorydisplay": {
  29350. "type": "string"
  29351. },
  29352. "zscerttype": {
  29353. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  29354. "type": "integer"
  29355. },
  29356. "zscerttypedisplay": {
  29357. "type": "string"
  29358. },
  29359. "zsclaritytype1": {
  29360. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  29361. "type": "integer"
  29362. },
  29363. "zsclaritytype1display": {
  29364. "type": "string"
  29365. },
  29366. "zsclaritytype2": {
  29367. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  29368. "type": "integer"
  29369. },
  29370. "zsclaritytype2display": {
  29371. "type": "string"
  29372. },
  29373. "zscolortype1": {
  29374. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  29375. "type": "integer"
  29376. },
  29377. "zscolortype1display": {
  29378. "type": "string"
  29379. },
  29380. "zscolortype2": {
  29381. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  29382. "type": "integer"
  29383. },
  29384. "zscolortype2display": {
  29385. "type": "string"
  29386. },
  29387. "zscrystaltype": {
  29388. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  29389. "type": "string"
  29390. },
  29391. "zscrystaltypedisplay": {
  29392. "type": "string"
  29393. },
  29394. "zscurrencytype": {
  29395. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29396. "type": "integer"
  29397. },
  29398. "zscurrencytypedisplay": {
  29399. "type": "string"
  29400. },
  29401. "zscurrencytypedisplayunit": {
  29402. "type": "string"
  29403. },
  29404. "zscuttype1": {
  29405. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  29406. "type": "integer"
  29407. },
  29408. "zscuttype1display": {
  29409. "type": "string"
  29410. },
  29411. "zscuttype2": {
  29412. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  29413. "type": "integer"
  29414. },
  29415. "zscuttype2display": {
  29416. "type": "string"
  29417. },
  29418. "zsczcolor1type": {
  29419. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  29420. "type": "integer"
  29421. },
  29422. "zsczcolor1typedisplay": {
  29423. "type": "string"
  29424. },
  29425. "zsczcolor2type": {
  29426. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  29427. "type": "integer"
  29428. },
  29429. "zsczcolor2typedisplay": {
  29430. "type": "string"
  29431. },
  29432. "zsczcolor3type": {
  29433. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  29434. "type": "integer"
  29435. },
  29436. "zsczcolor3typedisplay": {
  29437. "type": "string"
  29438. },
  29439. "zsfluorescencetype1": {
  29440. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  29441. "type": "integer"
  29442. },
  29443. "zsfluorescencetype1display": {
  29444. "type": "string"
  29445. },
  29446. "zsfluorescencetype2": {
  29447. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  29448. "type": "integer"
  29449. },
  29450. "zsfluorescencetype2display": {
  29451. "type": "string"
  29452. },
  29453. "zspolishtype1": {
  29454. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  29455. "type": "integer"
  29456. },
  29457. "zspolishtype1display": {
  29458. "type": "string"
  29459. },
  29460. "zspolishtype2": {
  29461. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  29462. "type": "integer"
  29463. },
  29464. "zspolishtype2display": {
  29465. "type": "string"
  29466. },
  29467. "zsshapetype": {
  29468. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29469. "type": "string"
  29470. },
  29471. "zsshapetypedisplay": {
  29472. "type": "string"
  29473. },
  29474. "zsstyletype": {
  29475. "description": "款式 - 类型:4",
  29476. "type": "integer"
  29477. },
  29478. "zsstyletypedisplay": {
  29479. "type": "string"
  29480. },
  29481. "zssymmetrytype1": {
  29482. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  29483. "type": "integer"
  29484. },
  29485. "zssymmetrytype1display": {
  29486. "type": "string"
  29487. },
  29488. "zssymmetrytype2": {
  29489. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  29490. "type": "integer"
  29491. },
  29492. "zssymmetrytype2display": {
  29493. "type": "string"
  29494. }
  29495. }
  29496. },
  29497. "models.NewFuncmenulist": {
  29498. "type": "object",
  29499. "required": [
  29500. "resourcecode"
  29501. ],
  29502. "properties": {
  29503. "authtype": {
  29504. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  29505. "type": "integer"
  29506. },
  29507. "buttonname": {
  29508. "description": "按钮名称",
  29509. "type": "string"
  29510. },
  29511. "buttontype": {
  29512. "description": "按钮类型 - 存按钮样式",
  29513. "type": "string"
  29514. },
  29515. "component": {
  29516. "description": "组件名或组件地址",
  29517. "type": "string"
  29518. },
  29519. "hidden": {
  29520. "description": "是否隐藏 - 0:显示 1:隐藏",
  29521. "type": "integer"
  29522. },
  29523. "iconame": {
  29524. "description": "菜单图标",
  29525. "type": "string"
  29526. },
  29527. "menutype": {
  29528. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  29529. "type": "integer"
  29530. },
  29531. "parentcode": {
  29532. "description": "上级资源代码",
  29533. "type": "string"
  29534. },
  29535. "remark": {
  29536. "description": "Remark",
  29537. "type": "string"
  29538. },
  29539. "resourcecode": {
  29540. "description": "资源代码",
  29541. "type": "string"
  29542. },
  29543. "resourcelevel": {
  29544. "description": "级别1-一级 2-二级 3-三级4-四级",
  29545. "type": "integer"
  29546. },
  29547. "resourcename": {
  29548. "description": "资源名(Title)",
  29549. "type": "string"
  29550. },
  29551. "sort": {
  29552. "description": "排序",
  29553. "type": "integer"
  29554. },
  29555. "url": {
  29556. "description": "Url",
  29557. "type": "string"
  29558. },
  29559. "urltype": {
  29560. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  29561. "type": "integer"
  29562. }
  29563. }
  29564. },
  29565. "models.OperationPrimaryMenu": {
  29566. "type": "object",
  29567. "properties": {
  29568. "Children": {
  29569. "description": "二级功能菜单",
  29570. "type": "array",
  29571. "items": {
  29572. "$ref": "#/definitions/models.OperationSecondaryMenu"
  29573. }
  29574. },
  29575. "Key": {
  29576. "description": "菜单KEY",
  29577. "type": "string"
  29578. },
  29579. "Label": {
  29580. "description": "菜单标题",
  29581. "type": "string"
  29582. }
  29583. }
  29584. },
  29585. "models.OperationSecondaryMenu": {
  29586. "type": "object",
  29587. "properties": {
  29588. "Key": {
  29589. "description": "菜单KEY",
  29590. "type": "string"
  29591. },
  29592. "Label": {
  29593. "description": "菜单标题",
  29594. "type": "string"
  29595. },
  29596. "TabList": {
  29597. "description": "三级功能菜单",
  29598. "type": "array",
  29599. "items": {
  29600. "$ref": "#/definitions/models.OperationTabMenu"
  29601. }
  29602. }
  29603. }
  29604. },
  29605. "models.OperationTabMenu": {
  29606. "type": "object",
  29607. "properties": {
  29608. "Key": {
  29609. "description": "菜单KEY",
  29610. "type": "string"
  29611. },
  29612. "Label": {
  29613. "description": "菜单标题",
  29614. "type": "string"
  29615. }
  29616. }
  29617. },
  29618. "models.Patradelinkdetail": {
  29619. "type": "object",
  29620. "properties": {
  29621. "accountname": {
  29622. "description": "套期主体",
  29623. "type": "string"
  29624. },
  29625. "agreeunit": {
  29626. "description": "合约乘数",
  29627. "type": "number"
  29628. },
  29629. "amount": {
  29630. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  29631. "type": "number"
  29632. },
  29633. "areauserid": {
  29634. "description": "所属机构",
  29635. "type": "integer"
  29636. },
  29637. "bizsubjectid": {
  29638. "description": "归属业务部门ID - SubjectID",
  29639. "type": "integer"
  29640. },
  29641. "buyorsell": {
  29642. "description": "方向 - 0:买 1:卖",
  29643. "type": "integer"
  29644. },
  29645. "convertratio": {
  29646. "description": "品种系数",
  29647. "type": "number"
  29648. },
  29649. "convertratiochange": {
  29650. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  29651. "type": "number"
  29652. },
  29653. "createtime": {
  29654. "description": "[日期时间]创建时间",
  29655. "type": "string"
  29656. },
  29657. "creatorid": {
  29658. "description": "创建人ID",
  29659. "type": "integer"
  29660. },
  29661. "creatorsrc": {
  29662. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29663. "type": "integer"
  29664. },
  29665. "goodscode": {
  29666. "description": "商品代码(内部)",
  29667. "type": "string"
  29668. },
  29669. "goodsgroupid": {
  29670. "description": "对冲品种ID[期货合约商品组ID]",
  29671. "type": "integer"
  29672. },
  29673. "goodsid": {
  29674. "description": "商品ID",
  29675. "type": "integer"
  29676. },
  29677. "hedgeditemid": {
  29678. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29679. "type": "integer"
  29680. },
  29681. "hedgeflag": {
  29682. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29683. "type": "integer"
  29684. },
  29685. "linkdetailid": {
  29686. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29687. "type": "string"
  29688. },
  29689. "linkstatus": {
  29690. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29691. "type": "integer"
  29692. },
  29693. "middlegoodsid": {
  29694. "description": "套保品种ID",
  29695. "type": "integer"
  29696. },
  29697. "name": {
  29698. "description": "账户名/子账户",
  29699. "type": "string"
  29700. },
  29701. "optioncode": {
  29702. "description": "[期货合约]期权代码 [期权]",
  29703. "type": "string"
  29704. },
  29705. "ordertype": {
  29706. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29707. "type": "integer"
  29708. },
  29709. "relatedlot": {
  29710. "description": "[数量]关联手数",
  29711. "type": "number"
  29712. },
  29713. "relatedmode": {
  29714. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29715. "type": "integer"
  29716. },
  29717. "relatedqty": {
  29718. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29719. "type": "number"
  29720. },
  29721. "retcode": {
  29722. "description": "返回码",
  29723. "type": "integer"
  29724. },
  29725. "saleuserid": {
  29726. "description": "业务员ID",
  29727. "type": "integer"
  29728. },
  29729. "tradedate": {
  29730. "description": "关联交易日(yyyyMMdd)",
  29731. "type": "string"
  29732. },
  29733. "tradeid": {
  29734. "description": "[成交单号]内部成交单ID",
  29735. "type": "string"
  29736. },
  29737. "tradelot": {
  29738. "description": "成交手数",
  29739. "type": "integer"
  29740. },
  29741. "tradeprice": {
  29742. "description": "[价格]成交价格",
  29743. "type": "number"
  29744. },
  29745. "tradetradedate": {
  29746. "description": "成交交易日(yyyyMMdd)",
  29747. "type": "string"
  29748. }
  29749. }
  29750. },
  29751. "models.QueryErrorInfosRsp": {
  29752. "type": "object",
  29753. "required": [
  29754. "errorid"
  29755. ],
  29756. "properties": {
  29757. "description": {
  29758. "description": "异常描述",
  29759. "type": "string"
  29760. },
  29761. "errorcode": {
  29762. "description": "异常代码",
  29763. "type": "string"
  29764. },
  29765. "errorid": {
  29766. "description": "异常ID",
  29767. "type": "integer"
  29768. },
  29769. "modulecode": {
  29770. "description": "所属模块",
  29771. "type": "string"
  29772. },
  29773. "operatecode": {
  29774. "description": "所属操作",
  29775. "type": "string"
  29776. },
  29777. "rownumber": {
  29778. "description": "行号",
  29779. "type": "string"
  29780. }
  29781. }
  29782. },
  29783. "models.QueryHedgeOrderDetailRsp": {
  29784. "type": "object",
  29785. "properties": {
  29786. "accountid": {
  29787. "description": "账户ID",
  29788. "type": "integer"
  29789. },
  29790. "buyorsell": {
  29791. "description": "买卖 - 0:买 1:卖",
  29792. "type": "integer"
  29793. },
  29794. "cancellogincode": {
  29795. "description": "撤单人",
  29796. "type": "string"
  29797. },
  29798. "channelbuildtype": {
  29799. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29800. "type": "integer"
  29801. },
  29802. "channelinnerorderstatus": {
  29803. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29804. "type": "integer"
  29805. },
  29806. "channeloperatetype": {
  29807. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29808. "type": "integer"
  29809. },
  29810. "closetype": {
  29811. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29812. "type": "integer"
  29813. },
  29814. "curexchangerate": {
  29815. "description": "当前汇率",
  29816. "type": "number"
  29817. },
  29818. "decimalplace": {
  29819. "description": "商品报价小数位",
  29820. "type": "integer"
  29821. },
  29822. "exchangefullname": {
  29823. "description": "外部交易所全称",
  29824. "type": "string"
  29825. },
  29826. "goodscode": {
  29827. "description": "商品代码(内部)",
  29828. "type": "string"
  29829. },
  29830. "goodsid": {
  29831. "description": "商品ID",
  29832. "type": "integer"
  29833. },
  29834. "goodsname": {
  29835. "description": "商品名称",
  29836. "type": "string"
  29837. },
  29838. "marketid": {
  29839. "description": "市场ID",
  29840. "type": "integer"
  29841. },
  29842. "openfreezemargin": {
  29843. "description": "冻结保证金(冻结交易金额)",
  29844. "type": "number"
  29845. },
  29846. "orderid": {
  29847. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29848. "type": "string"
  29849. },
  29850. "orderlogincode": {
  29851. "description": "委托人",
  29852. "type": "string"
  29853. },
  29854. "orderprice": {
  29855. "description": "委托价格(账户)",
  29856. "type": "number"
  29857. },
  29858. "orderqty": {
  29859. "description": "委托数量",
  29860. "type": "integer"
  29861. },
  29862. "ordertime": {
  29863. "description": "委托时间",
  29864. "type": "string"
  29865. },
  29866. "pricemode": {
  29867. "description": "取价方式 - 1:市价 2: 限价",
  29868. "type": "integer"
  29869. },
  29870. "tradedate": {
  29871. "description": "交易日(yyyyMMdd)",
  29872. "type": "string"
  29873. },
  29874. "tradeqty": {
  29875. "description": "成交数量",
  29876. "type": "integer"
  29877. }
  29878. }
  29879. },
  29880. "models.QueryHedgeTradeDetailRsp": {
  29881. "type": "object",
  29882. "properties": {
  29883. "accountid": {
  29884. "description": "账号ID",
  29885. "type": "integer"
  29886. },
  29887. "buyorsell": {
  29888. "description": "方向 - 0:买 1:卖",
  29889. "type": "integer"
  29890. },
  29891. "channelbuildtype": {
  29892. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29893. "type": "integer"
  29894. },
  29895. "closecharge": {
  29896. "description": "平仓手续费(账户)",
  29897. "type": "number"
  29898. },
  29899. "closecharge2": {
  29900. "description": "平仓手续费(商品)",
  29901. "type": "number"
  29902. },
  29903. "closepl": {
  29904. "description": "平仓盈亏(账户)",
  29905. "type": "number"
  29906. },
  29907. "closepl2": {
  29908. "description": "平仓盈亏(商品)",
  29909. "type": "number"
  29910. },
  29911. "closepl3": {
  29912. "description": "平仓盈亏(账户)(逐笔)",
  29913. "type": "number"
  29914. },
  29915. "closepl4": {
  29916. "description": "平仓盈亏(商品)(逐笔)",
  29917. "type": "number"
  29918. },
  29919. "closetype": {
  29920. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29921. "type": "integer"
  29922. },
  29923. "curexchangerate": {
  29924. "description": "当前汇率",
  29925. "type": "number"
  29926. },
  29927. "decimalplace": {
  29928. "description": "商品报价小数位",
  29929. "type": "integer"
  29930. },
  29931. "exchangefullname": {
  29932. "description": "外部交易所全称",
  29933. "type": "string"
  29934. },
  29935. "goodscode": {
  29936. "description": "商品代码(内部)",
  29937. "type": "string"
  29938. },
  29939. "goodsid": {
  29940. "description": "商品ID",
  29941. "type": "integer"
  29942. },
  29943. "goodsname": {
  29944. "description": "商品名称",
  29945. "type": "string"
  29946. },
  29947. "marketid": {
  29948. "description": "市场ID",
  29949. "type": "integer"
  29950. },
  29951. "opencharge": {
  29952. "description": "建仓手续费(账户)",
  29953. "type": "number"
  29954. },
  29955. "opencharge2": {
  29956. "description": "建仓手续费(商品)",
  29957. "type": "number"
  29958. },
  29959. "orderid": {
  29960. "description": "委托单号",
  29961. "type": "string"
  29962. },
  29963. "orderlogincode": {
  29964. "description": "委托人",
  29965. "type": "string"
  29966. },
  29967. "tradeamount": {
  29968. "description": "成交金额(账户)",
  29969. "type": "number"
  29970. },
  29971. "tradedate": {
  29972. "description": "交易日(yyyyMMdd)",
  29973. "type": "string"
  29974. },
  29975. "tradeid": {
  29976. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29977. "type": "string"
  29978. },
  29979. "tradeprice": {
  29980. "description": "成交价格",
  29981. "type": "number"
  29982. },
  29983. "tradeqty": {
  29984. "description": "成交数量",
  29985. "type": "integer"
  29986. },
  29987. "tradetime": {
  29988. "description": "成交时间",
  29989. "type": "string"
  29990. },
  29991. "tradetype": {
  29992. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29993. "type": "integer"
  29994. }
  29995. }
  29996. },
  29997. "models.QuotePrimaryMenu": {
  29998. "type": "object",
  29999. "properties": {
  30000. "Index": {
  30001. "description": "序号",
  30002. "type": "integer"
  30003. },
  30004. "Key": {
  30005. "description": "键名",
  30006. "type": "string"
  30007. },
  30008. "Name": {
  30009. "description": "菜单名称",
  30010. "type": "string"
  30011. },
  30012. "SubMenus": {
  30013. "description": "子菜单",
  30014. "type": "array",
  30015. "items": {
  30016. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  30017. }
  30018. },
  30019. "SubTitleType": {
  30020. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  30021. "type": "integer"
  30022. },
  30023. "TradeModes": {
  30024. "description": "包含市场交易类型",
  30025. "type": "string"
  30026. }
  30027. }
  30028. },
  30029. "models.QuoteSecondaryMenu": {
  30030. "type": "object",
  30031. "properties": {
  30032. "ExExchangeCode": {
  30033. "description": "外部交易所代码",
  30034. "type": "string"
  30035. },
  30036. "ExExchangeID": {
  30037. "description": "外部交易所ID",
  30038. "type": "integer"
  30039. },
  30040. "GoodsGroupIDs": {
  30041. "description": "商品组ID列表",
  30042. "type": "array",
  30043. "items": {
  30044. "type": "integer"
  30045. }
  30046. },
  30047. "Index": {
  30048. "description": "序号",
  30049. "type": "integer"
  30050. },
  30051. "MarketID": {
  30052. "description": "市场ID",
  30053. "type": "integer"
  30054. },
  30055. "MenuTitle": {
  30056. "description": "菜单标题(市场名称或外部交易所名称)",
  30057. "type": "string"
  30058. },
  30059. "TradeMode": {
  30060. "description": "交易模式",
  30061. "type": "integer"
  30062. }
  30063. }
  30064. },
  30065. "models.RelatedTaAccount": {
  30066. "type": "object",
  30067. "properties": {
  30068. "accountid": {
  30069. "description": "资金账户ID",
  30070. "type": "integer"
  30071. }
  30072. }
  30073. },
  30074. "models.RoleMenu": {
  30075. "type": "object",
  30076. "properties": {
  30077. "hasright": {
  30078. "description": "是否有权限 0-没有权限 1-有权限",
  30079. "type": "integer"
  30080. },
  30081. "iconame": {
  30082. "description": "菜单图标",
  30083. "type": "string"
  30084. },
  30085. "menutype": {
  30086. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  30087. "type": "integer"
  30088. },
  30089. "parentcode": {
  30090. "description": "上级资源代码",
  30091. "type": "string"
  30092. },
  30093. "remark": {
  30094. "description": "菜单备注",
  30095. "type": "string"
  30096. },
  30097. "resourcecode": {
  30098. "description": "菜单代码",
  30099. "type": "string"
  30100. },
  30101. "resourcelevel": {
  30102. "description": "级别",
  30103. "type": "integer"
  30104. },
  30105. "resourcename": {
  30106. "description": "菜单名称",
  30107. "type": "string"
  30108. },
  30109. "roleid": {
  30110. "description": "角色id",
  30111. "type": "integer"
  30112. },
  30113. "sort": {
  30114. "description": "排序",
  30115. "type": "integer"
  30116. },
  30117. "subMenu": {
  30118. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  30119. "type": "array",
  30120. "items": {
  30121. "$ref": "#/definitions/models.RoleMenu"
  30122. }
  30123. },
  30124. "url": {
  30125. "description": "URL",
  30126. "type": "string"
  30127. },
  30128. "userid": {
  30129. "description": "用户id",
  30130. "type": "integer"
  30131. }
  30132. }
  30133. },
  30134. "models.SearchGoods": {
  30135. "type": "object",
  30136. "required": [
  30137. "goodscode",
  30138. "goodsid",
  30139. "goodsname",
  30140. "marketid",
  30141. "trademode"
  30142. ],
  30143. "properties": {
  30144. "goodscode": {
  30145. "description": "商品代码(内部)",
  30146. "type": "string"
  30147. },
  30148. "goodsid": {
  30149. "description": "商品ID(自增ID SEQ_GOODS)",
  30150. "type": "integer"
  30151. },
  30152. "goodsname": {
  30153. "description": "商品名称",
  30154. "type": "string"
  30155. },
  30156. "marketid": {
  30157. "description": "所属市场ID",
  30158. "type": "integer"
  30159. },
  30160. "marketname": {
  30161. "description": "市场名称",
  30162. "type": "string"
  30163. },
  30164. "trademode": {
  30165. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30166. "type": "integer"
  30167. }
  30168. }
  30169. },
  30170. "models.SellOrder": {
  30171. "type": "object",
  30172. "properties": {
  30173. "accountid": {
  30174. "description": "资金账号",
  30175. "type": "integer"
  30176. },
  30177. "applyid": {
  30178. "description": "申请单ID",
  30179. "type": "integer"
  30180. },
  30181. "attachment1": {
  30182. "description": "附件1",
  30183. "type": "string"
  30184. },
  30185. "attachment2": {
  30186. "description": "附件2",
  30187. "type": "string"
  30188. },
  30189. "buyorsell": {
  30190. "description": "买卖 - 0:买 1:卖",
  30191. "type": "integer"
  30192. },
  30193. "canbargain": {
  30194. "description": "是否可议价 - 0:不可 1:可",
  30195. "type": "integer"
  30196. },
  30197. "cancelqty": {
  30198. "description": "撤销数量",
  30199. "type": "integer"
  30200. },
  30201. "canceltime": {
  30202. "description": "撤销时间",
  30203. "type": "string"
  30204. },
  30205. "cerno": {
  30206. "type": "string"
  30207. },
  30208. "chargealgorithm": {
  30209. "description": "手续费收取方式 1:比率 2:固定",
  30210. "type": "integer"
  30211. },
  30212. "chargealgorithmvalue": {
  30213. "description": "手续费设置值(交易所部分)",
  30214. "type": "number"
  30215. },
  30216. "chargealgorithmvalue2": {
  30217. "description": "手续费设置值(会员部分)",
  30218. "type": "number"
  30219. },
  30220. "clientordertime": {
  30221. "description": "客户端委托时间",
  30222. "type": "string"
  30223. },
  30224. "cpcertno": {
  30225. "type": "string"
  30226. },
  30227. "exchangerate": {
  30228. "description": "汇率[67]",
  30229. "type": "number"
  30230. },
  30231. "firstratio": {
  30232. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  30233. "type": "number"
  30234. },
  30235. "fixedprice": {
  30236. "description": "[克拉单价]固定价格 - [挂牌]",
  30237. "type": "number"
  30238. },
  30239. "freezecharge": {
  30240. "description": "冻结手续费",
  30241. "type": "number"
  30242. },
  30243. "freezefirstamount": {
  30244. "description": "冻结首付金额 - [摘牌]",
  30245. "type": "number"
  30246. },
  30247. "freezemargin": {
  30248. "description": "冻结保证金",
  30249. "type": "number"
  30250. },
  30251. "goodsno": {
  30252. "description": "商品编号",
  30253. "type": "string"
  30254. },
  30255. "imagepath": {
  30256. "type": "string"
  30257. },
  30258. "isQueryDiamond": {
  30259. "description": "是否钻石查询",
  30260. "type": "boolean"
  30261. },
  30262. "isspecified": {
  30263. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  30264. "type": "integer"
  30265. },
  30266. "kppath": {
  30267. "type": "string"
  30268. },
  30269. "kpweight": {
  30270. "type": "string"
  30271. },
  30272. "marginalgorithm": {
  30273. "description": "保证金方式 - 1:比率 2:固定",
  30274. "type": "integer"
  30275. },
  30276. "marginvalue": {
  30277. "description": "保证金设置值",
  30278. "type": "number"
  30279. },
  30280. "marketid": {
  30281. "description": "市场ID",
  30282. "type": "integer"
  30283. },
  30284. "marketprice": {
  30285. "type": "string"
  30286. },
  30287. "orderamount": {
  30288. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  30289. "type": "number"
  30290. },
  30291. "ordertime": {
  30292. "description": "委托时间",
  30293. "type": "string"
  30294. },
  30295. "performancetemplateid": {
  30296. "description": "履约计划模板ID",
  30297. "type": "integer"
  30298. },
  30299. "price": {
  30300. "description": "价格",
  30301. "type": "number"
  30302. },
  30303. "pricefactor": {
  30304. "description": "价格系数(浮动价时填写) - [挂牌]",
  30305. "type": "number"
  30306. },
  30307. "pricemove": {
  30308. "description": "升贴水(浮动价时填写) - [挂牌]",
  30309. "type": "number"
  30310. },
  30311. "priceper": {
  30312. "type": "string"
  30313. },
  30314. "relatedwrtradeorderid": {
  30315. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  30316. "type": "integer"
  30317. },
  30318. "remainqty": {
  30319. "description": "剩余重量",
  30320. "type": "number"
  30321. },
  30322. "remark": {
  30323. "type": "string"
  30324. },
  30325. "retcode": {
  30326. "description": "错误代码",
  30327. "type": "integer"
  30328. },
  30329. "sellusername": {
  30330. "description": "卖方(查询字段-模糊查询)",
  30331. "type": "string"
  30332. },
  30333. "settingmaterial": {
  30334. "type": "string"
  30335. },
  30336. "size1": {
  30337. "type": "string"
  30338. },
  30339. "size2": {
  30340. "type": "string"
  30341. },
  30342. "size3": {
  30343. "type": "string"
  30344. },
  30345. "sizedisplay": {
  30346. "description": "尺寸",
  30347. "type": "string"
  30348. },
  30349. "stonedesc": {
  30350. "type": "string"
  30351. },
  30352. "totalqty": {
  30353. "description": "总重量",
  30354. "type": "number"
  30355. },
  30356. "tradedate": {
  30357. "description": "交易日(yyyyMMdd)",
  30358. "type": "string"
  30359. },
  30360. "tradeprice": {
  30361. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  30362. "type": "number"
  30363. },
  30364. "unfreezecharge": {
  30365. "description": "解冻手续费",
  30366. "type": "number"
  30367. },
  30368. "unfreezefirstamount": {
  30369. "description": "解冻首付金额 - [摘牌]",
  30370. "type": "number"
  30371. },
  30372. "unfreezemargin": {
  30373. "description": "解冻保证金",
  30374. "type": "number"
  30375. },
  30376. "userid": {
  30377. "description": "用户ID",
  30378. "type": "integer"
  30379. },
  30380. "uuid": {
  30381. "description": "发起端唯一id",
  30382. "type": "string"
  30383. },
  30384. "validtime": {
  30385. "description": "有效期限",
  30386. "type": "string"
  30387. },
  30388. "validtype": {
  30389. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  30390. "type": "integer"
  30391. },
  30392. "warehousenamedisplay": {
  30393. "type": "string"
  30394. },
  30395. "wrbargainid": {
  30396. "description": "议价申请单ID",
  30397. "type": "integer"
  30398. },
  30399. "wrfactortypeid": {
  30400. "description": "仓单要素类型ID/商品ID(77)",
  30401. "type": "integer"
  30402. },
  30403. "wrpath": {
  30404. "type": "string"
  30405. },
  30406. "wrpricetype": {
  30407. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  30408. "type": "integer"
  30409. },
  30410. "wrstandardid": {
  30411. "description": "现货商品ID",
  30412. "type": "integer"
  30413. },
  30414. "wrtradeorderid": {
  30415. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30416. "type": "string"
  30417. },
  30418. "wrtradeorderstatus": {
  30419. "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:撤单解冻贷款失败",
  30420. "type": "integer"
  30421. },
  30422. "wrtradetype": {
  30423. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30424. "type": "integer"
  30425. },
  30426. "wrtransferuserid": {
  30427. "description": "仓单受让用户 - [摘牌]",
  30428. "type": "integer"
  30429. },
  30430. "zscategory": {
  30431. "description": "钻石分类 - 枚举”ZSCategory“",
  30432. "type": "integer"
  30433. },
  30434. "zscategorydisplay": {
  30435. "description": "钻石分类 - 描述",
  30436. "type": "string"
  30437. },
  30438. "zscerttypedisplay": {
  30439. "type": "string"
  30440. },
  30441. "zsclaritytype1display": {
  30442. "type": "string"
  30443. },
  30444. "zsclaritytype2display": {
  30445. "type": "string"
  30446. },
  30447. "zscolortype1display": {
  30448. "type": "string"
  30449. },
  30450. "zscolortype2display": {
  30451. "type": "string"
  30452. },
  30453. "zscrystaltype": {
  30454. "type": "string"
  30455. },
  30456. "zscrystaltypedisplay": {
  30457. "type": "string"
  30458. },
  30459. "zscurrencytype": {
  30460. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30461. "type": "integer"
  30462. },
  30463. "zscurrencytypedisplay": {
  30464. "type": "string"
  30465. },
  30466. "zscurrencytypedisplayunit": {
  30467. "type": "string"
  30468. },
  30469. "zscuttype1display": {
  30470. "type": "string"
  30471. },
  30472. "zscuttype2display": {
  30473. "type": "string"
  30474. },
  30475. "zsczcolor1typedisplay": {
  30476. "type": "string"
  30477. },
  30478. "zsczcolor2typedisplay": {
  30479. "type": "string"
  30480. },
  30481. "zsczcolor3typedisplay": {
  30482. "type": "string"
  30483. },
  30484. "zsfluorescencetype1display": {
  30485. "type": "string"
  30486. },
  30487. "zsfluorescencetype2display": {
  30488. "type": "string"
  30489. },
  30490. "zspolishtype1display": {
  30491. "type": "string"
  30492. },
  30493. "zspolishtype2display": {
  30494. "type": "string"
  30495. },
  30496. "zsshapetypedisplay": {
  30497. "type": "string"
  30498. },
  30499. "zsstyletypedisplay": {
  30500. "type": "string"
  30501. },
  30502. "zssymmetrytype1display": {
  30503. "type": "string"
  30504. },
  30505. "zssymmetrytype2display": {
  30506. "type": "string"
  30507. }
  30508. }
  30509. },
  30510. "models.SellOrderQueryReq": {
  30511. "type": "object",
  30512. "required": [
  30513. "zscategory"
  30514. ],
  30515. "properties": {
  30516. "origin": {
  30517. "description": "原产地",
  30518. "type": "string"
  30519. },
  30520. "page": {
  30521. "description": "页码",
  30522. "type": "integer"
  30523. },
  30524. "pagesize": {
  30525. "description": "每页大小",
  30526. "type": "integer"
  30527. },
  30528. "total": {
  30529. "description": "总条数",
  30530. "type": "integer"
  30531. },
  30532. "warehouseid": {
  30533. "description": "仓库ID",
  30534. "type": "integer"
  30535. },
  30536. "weight1": {
  30537. "description": "总重量(克拉重量)-从",
  30538. "type": "number"
  30539. },
  30540. "weight2": {
  30541. "description": "总重量(克拉重量)-至",
  30542. "type": "number"
  30543. },
  30544. "weightavg1": {
  30545. "description": "平均单颗重量-从",
  30546. "type": "number"
  30547. },
  30548. "weightavg2": {
  30549. "description": "平均单颗重量-至",
  30550. "type": "number"
  30551. },
  30552. "zscategory": {
  30553. "description": "钻石分类 - 枚举”ZSCategory“",
  30554. "type": "integer"
  30555. },
  30556. "zscerttype": {
  30557. "description": "证书类型",
  30558. "type": "array",
  30559. "items": {
  30560. "type": "string"
  30561. }
  30562. },
  30563. "zsclaritytype": {
  30564. "description": "净度",
  30565. "type": "array",
  30566. "items": {
  30567. "type": "integer"
  30568. }
  30569. },
  30570. "zscolortype": {
  30571. "description": "颜色",
  30572. "type": "array",
  30573. "items": {
  30574. "type": "integer"
  30575. }
  30576. },
  30577. "zscurrencytype": {
  30578. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30579. "type": "array",
  30580. "items": {
  30581. "type": "string"
  30582. }
  30583. },
  30584. "zscuttype": {
  30585. "description": "切工",
  30586. "type": "array",
  30587. "items": {
  30588. "type": "integer"
  30589. }
  30590. },
  30591. "zsczcolor1type": {
  30592. "description": "彩钻颜色1",
  30593. "type": "array",
  30594. "items": {
  30595. "type": "string"
  30596. }
  30597. },
  30598. "zsfluorescencetype": {
  30599. "description": "荧光",
  30600. "type": "array",
  30601. "items": {
  30602. "type": "integer"
  30603. }
  30604. },
  30605. "zspolishtype": {
  30606. "description": "抛光度",
  30607. "type": "array",
  30608. "items": {
  30609. "type": "integer"
  30610. }
  30611. },
  30612. "zsshapetype": {
  30613. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  30614. "type": "array",
  30615. "items": {
  30616. "type": "string"
  30617. }
  30618. },
  30619. "zsstyletype": {
  30620. "description": "款式",
  30621. "type": "array",
  30622. "items": {
  30623. "type": "string"
  30624. }
  30625. },
  30626. "zssymmetrytype": {
  30627. "description": "对称度",
  30628. "type": "array",
  30629. "items": {
  30630. "type": "integer"
  30631. }
  30632. }
  30633. }
  30634. },
  30635. "models.Systemparam": {
  30636. "type": "object",
  30637. "required": [
  30638. "paramcode"
  30639. ],
  30640. "properties": {
  30641. "loginid": {
  30642. "description": "更新用户账号,登录账号",
  30643. "type": "string"
  30644. },
  30645. "modifyflag": {
  30646. "description": "修改标志0 不允许修改 1 允许修改",
  30647. "type": "integer"
  30648. },
  30649. "paramcode": {
  30650. "description": "参数代码",
  30651. "type": "string"
  30652. },
  30653. "paramname": {
  30654. "description": "参数名",
  30655. "type": "string"
  30656. },
  30657. "paramtype": {
  30658. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  30659. "type": "integer"
  30660. },
  30661. "paramvalue": {
  30662. "description": "参数值",
  30663. "type": "string"
  30664. },
  30665. "paramvalue2": {
  30666. "description": "参数值(CLOB)",
  30667. "type": "string"
  30668. },
  30669. "regexpress": {
  30670. "description": "正则表达式",
  30671. "type": "string"
  30672. },
  30673. "remark": {
  30674. "description": "备注",
  30675. "type": "string"
  30676. },
  30677. "serverip": {
  30678. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  30679. "type": "string"
  30680. },
  30681. "showflag": {
  30682. "description": "是否显示0 不显示 1 显示",
  30683. "type": "integer"
  30684. },
  30685. "updatetime": {
  30686. "description": "更新时间",
  30687. "type": "string"
  30688. },
  30689. "userid": {
  30690. "description": "更新用户ID",
  30691. "type": "integer"
  30692. }
  30693. }
  30694. },
  30695. "models.Szdz3convertconfig": {
  30696. "type": "object",
  30697. "required": [
  30698. "converttype",
  30699. "innergoodsid",
  30700. "outergoodscode"
  30701. ],
  30702. "properties": {
  30703. "canin": {
  30704. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  30705. "type": "integer"
  30706. },
  30707. "canout": {
  30708. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  30709. "type": "integer"
  30710. },
  30711. "converttype": {
  30712. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  30713. "type": "integer"
  30714. },
  30715. "createtime": {
  30716. "description": "创建时间",
  30717. "type": "string"
  30718. },
  30719. "creatorid": {
  30720. "description": "创建人",
  30721. "type": "integer"
  30722. },
  30723. "daymaxvalue": {
  30724. "description": "当日最大转入限制",
  30725. "type": "number"
  30726. },
  30727. "freezedays": {
  30728. "description": "冻结天数 [5:花生米转交易]",
  30729. "type": "integer"
  30730. },
  30731. "innergoodsid": {
  30732. "description": "内部商品ID[交易]",
  30733. "type": "integer"
  30734. },
  30735. "inratio": {
  30736. "description": "目标值",
  30737. "type": "integer"
  30738. },
  30739. "modifierid": {
  30740. "description": "修改人",
  30741. "type": "integer"
  30742. },
  30743. "modifytime": {
  30744. "description": "修改时间",
  30745. "type": "string"
  30746. },
  30747. "outergoodscode": {
  30748. "description": "外部商品代码[JD\\PD]",
  30749. "type": "string"
  30750. },
  30751. "outratio": {
  30752. "description": "源值",
  30753. "type": "integer"
  30754. },
  30755. "pddecimalplace": {
  30756. "description": "PD小数位",
  30757. "type": "integer"
  30758. },
  30759. "timemaxvalue": {
  30760. "description": "单次最大转入限制",
  30761. "type": "number"
  30762. },
  30763. "timeminvalue": {
  30764. "description": "单次最小转入限制",
  30765. "type": "number"
  30766. }
  30767. }
  30768. },
  30769. "models.Szdz3searchwhitelist": {
  30770. "type": "object",
  30771. "required": [
  30772. "userid"
  30773. ],
  30774. "properties": {
  30775. "createtime": {
  30776. "description": "创建时间",
  30777. "type": "string"
  30778. },
  30779. "creatorid": {
  30780. "description": "创建人",
  30781. "type": "integer"
  30782. },
  30783. "modifierid": {
  30784. "description": "修改人",
  30785. "type": "integer"
  30786. },
  30787. "modifytime": {
  30788. "description": "修改时间",
  30789. "type": "string"
  30790. },
  30791. "userid": {
  30792. "description": "用户ID",
  30793. "type": "integer"
  30794. }
  30795. }
  30796. },
  30797. "models.TBGoods": {
  30798. "type": "object",
  30799. "properties": {
  30800. "agreeunit": {
  30801. "description": "合约乘数",
  30802. "type": "number"
  30803. },
  30804. "enumdicname": {
  30805. "description": "单位名称",
  30806. "type": "string"
  30807. },
  30808. "goodscode": {
  30809. "description": "商品代码(内部)",
  30810. "type": "string"
  30811. },
  30812. "goodsid": {
  30813. "description": "商品ID(自增ID SEQ_GOODS)",
  30814. "type": "integer"
  30815. },
  30816. "goodsname": {
  30817. "description": "商品名称",
  30818. "type": "string"
  30819. }
  30820. }
  30821. },
  30822. "models.TBGoodsGroup": {
  30823. "type": "object",
  30824. "properties": {
  30825. "GDLST": {
  30826. "description": "商品列表",
  30827. "type": "array",
  30828. "items": {
  30829. "$ref": "#/definitions/models.TBGoods"
  30830. }
  30831. },
  30832. "convertratio": {
  30833. "description": "折算系数",
  30834. "type": "number"
  30835. },
  30836. "enumdicname": {
  30837. "description": "单位名称",
  30838. "type": "string"
  30839. },
  30840. "exexchangecode": {
  30841. "description": "交易所代码",
  30842. "type": "string"
  30843. },
  30844. "exexchangename": {
  30845. "description": "交易所名称",
  30846. "type": "string"
  30847. },
  30848. "goodsgroupid": {
  30849. "description": "商品组ID(自增ID)",
  30850. "type": "integer"
  30851. },
  30852. "goodsgroupname": {
  30853. "description": "商品组名称",
  30854. "type": "string"
  30855. },
  30856. "goodunitid": {
  30857. "description": "报价单位ID",
  30858. "type": "integer"
  30859. }
  30860. }
  30861. },
  30862. "models.TBMiddleGoods": {
  30863. "type": "object",
  30864. "properties": {
  30865. "GPLST": {
  30866. "description": "期货品种列表",
  30867. "type": "array",
  30868. "items": {
  30869. "$ref": "#/definitions/models.TBGoodsGroup"
  30870. }
  30871. },
  30872. "WDLST": {
  30873. "description": "商品信息列表(现货品类)",
  30874. "type": "array",
  30875. "items": {
  30876. "$ref": "#/definitions/models.TBWrstandard"
  30877. }
  30878. },
  30879. "areauserid": {
  30880. "description": "机构用户ID",
  30881. "type": "integer"
  30882. },
  30883. "enumdicname": {
  30884. "description": "单位名称",
  30885. "type": "string"
  30886. },
  30887. "goodsunitid": {
  30888. "description": "套保品种单位id",
  30889. "type": "integer"
  30890. },
  30891. "middlegoodscode": {
  30892. "description": "套保品种代码",
  30893. "type": "string"
  30894. },
  30895. "middlegoodsid": {
  30896. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  30897. "type": "integer"
  30898. },
  30899. "middlegoodsname": {
  30900. "description": "套保品种名称",
  30901. "type": "string"
  30902. },
  30903. "needarbitrageratio": {
  30904. "description": "套利比率",
  30905. "type": "number"
  30906. },
  30907. "needhedgeratio": {
  30908. "description": "套保比率",
  30909. "type": "number"
  30910. }
  30911. }
  30912. },
  30913. "models.TBWrstandard": {
  30914. "type": "object",
  30915. "properties": {
  30916. "convertratio": {
  30917. "description": "折算系数",
  30918. "type": "number"
  30919. },
  30920. "deliverygoodsname": {
  30921. "description": "品种名称",
  30922. "type": "string"
  30923. },
  30924. "enumdicname": {
  30925. "description": "单位名称",
  30926. "type": "string"
  30927. },
  30928. "vatrate": {
  30929. "description": "增值税率",
  30930. "type": "number"
  30931. },
  30932. "wrstandardcode": {
  30933. "description": "现货商品代码",
  30934. "type": "string"
  30935. },
  30936. "wrstandardid": {
  30937. "description": "现货商品ID(SEQ_WRSTANDARD)",
  30938. "type": "integer"
  30939. },
  30940. "wrstandardname": {
  30941. "description": "现货商品名称",
  30942. "type": "string"
  30943. }
  30944. }
  30945. },
  30946. "models.Taaccount": {
  30947. "type": "object",
  30948. "required": [
  30949. "accountid",
  30950. "userid"
  30951. ],
  30952. "properties": {
  30953. "accountflag": {
  30954. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  30955. "type": "integer"
  30956. },
  30957. "accountid": {
  30958. "description": "资金账户ID",
  30959. "type": "integer"
  30960. },
  30961. "accountname": {
  30962. "description": "账户名称",
  30963. "type": "string"
  30964. },
  30965. "balance": {
  30966. "description": "期初余额",
  30967. "type": "number"
  30968. },
  30969. "capitalbalance": {
  30970. "description": "本金余额[外部子账户实际出入金余额]",
  30971. "type": "number"
  30972. },
  30973. "changeflag": {
  30974. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  30975. "type": "integer"
  30976. },
  30977. "changetime": {
  30978. "description": "账户状态变更时间",
  30979. "type": "string"
  30980. },
  30981. "closepl": {
  30982. "description": "今日平仓盈亏",
  30983. "type": "number"
  30984. },
  30985. "creditdecrease": {
  30986. "description": "今日授信减少",
  30987. "type": "number"
  30988. },
  30989. "creditincrease": {
  30990. "description": "今日授信增加",
  30991. "type": "number"
  30992. },
  30993. "curamount": {
  30994. "description": "总市值(从持仓中统计)",
  30995. "type": "number"
  30996. },
  30997. "currencyid": {
  30998. "description": "货币ID",
  30999. "type": "integer"
  31000. },
  31001. "currentbalance": {
  31002. "description": "期末余额",
  31003. "type": "number"
  31004. },
  31005. "freezecharge": {
  31006. "description": "手续费冻结",
  31007. "type": "number"
  31008. },
  31009. "freezemargin": {
  31010. "description": "冻结保证金",
  31011. "type": "number"
  31012. },
  31013. "fromaccountid": {
  31014. "description": "所属上级账户",
  31015. "type": "integer"
  31016. },
  31017. "inamount": {
  31018. "description": "今日入金金额(包括三方入金)",
  31019. "type": "number"
  31020. },
  31021. "ismain": {
  31022. "description": "是否母账号 0:不是母账户 1:是母账户",
  31023. "type": "integer"
  31024. },
  31025. "ismarketaccount": {
  31026. "description": "是否机构接单账号 0:不是 1:是",
  31027. "type": "integer"
  31028. },
  31029. "isreckonaccount": {
  31030. "description": "是否机构分润账号 0:不是 1:是",
  31031. "type": "integer"
  31032. },
  31033. "mortgagecredit": {
  31034. "description": "授信金额",
  31035. "type": "number"
  31036. },
  31037. "orifreezecharge": {
  31038. "description": "期初手续费冻结",
  31039. "type": "number"
  31040. },
  31041. "orifreezemargin": {
  31042. "description": "期初冻结保证金",
  31043. "type": "number"
  31044. },
  31045. "orimortgagecredit": {
  31046. "description": "期初授信金额",
  31047. "type": "number"
  31048. },
  31049. "oriothercredit": {
  31050. "description": "期初其它授信金额",
  31051. "type": "number"
  31052. },
  31053. "oriotherfreezemargin": {
  31054. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  31055. "type": "number"
  31056. },
  31057. "orioutamountfreeze": {
  31058. "description": "期初出金冻结",
  31059. "type": "number"
  31060. },
  31061. "oriusedmargin": {
  31062. "description": "期初占用保证金",
  31063. "type": "number"
  31064. },
  31065. "othercredit": {
  31066. "description": "其它授信金额",
  31067. "type": "number"
  31068. },
  31069. "othercreditdecrease": {
  31070. "description": "今日其它授信减少",
  31071. "type": "number"
  31072. },
  31073. "othercreditincrease": {
  31074. "description": "今日其它授信增加",
  31075. "type": "number"
  31076. },
  31077. "otherfreezemargin": {
  31078. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  31079. "type": "number"
  31080. },
  31081. "otherincome": {
  31082. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  31083. "type": "number"
  31084. },
  31085. "otherpay": {
  31086. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  31087. "type": "number"
  31088. },
  31089. "outamount": {
  31090. "description": "今日出金金额(包括三方出金)",
  31091. "type": "number"
  31092. },
  31093. "outamountfreeze": {
  31094. "description": "出金冻结",
  31095. "type": "number"
  31096. },
  31097. "outthreshold": {
  31098. "description": "出金阈值",
  31099. "type": "number"
  31100. },
  31101. "parentaccountid": {
  31102. "description": "所属根账号",
  31103. "type": "integer"
  31104. },
  31105. "paycharge": {
  31106. "description": "今日手续费支出",
  31107. "type": "number"
  31108. },
  31109. "relatedaccountstatus": {
  31110. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  31111. "type": "integer"
  31112. },
  31113. "relateduserid": {
  31114. "description": "关联用户",
  31115. "type": "integer"
  31116. },
  31117. "remainamount": {
  31118. "description": "融资额(从融资合同中统计)",
  31119. "type": "number"
  31120. },
  31121. "serivcegroup": {
  31122. "description": "服务分组",
  31123. "type": "integer"
  31124. },
  31125. "signstatus": {
  31126. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  31127. "type": "integer"
  31128. },
  31129. "sublevelpath": {
  31130. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  31131. "type": "string"
  31132. },
  31133. "taaccounttype": {
  31134. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  31135. "type": "integer"
  31136. },
  31137. "thirdinamount": {
  31138. "description": "今日三方入金",
  31139. "type": "number"
  31140. },
  31141. "thirdoutamount": {
  31142. "description": "今日三方出金",
  31143. "type": "number"
  31144. },
  31145. "tradestatus": {
  31146. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  31147. "type": "integer"
  31148. },
  31149. "tradestatuschangetime": {
  31150. "description": "激活时间",
  31151. "type": "string"
  31152. },
  31153. "transferamount": {
  31154. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  31155. "type": "number"
  31156. },
  31157. "usedmargin": {
  31158. "description": "占用保证金",
  31159. "type": "number"
  31160. },
  31161. "userid": {
  31162. "description": "用户ID",
  31163. "type": "integer"
  31164. }
  31165. }
  31166. },
  31167. "models.Tablecolumnconfig": {
  31168. "type": "object",
  31169. "required": [
  31170. "autoid"
  31171. ],
  31172. "properties": {
  31173. "aligntype": {
  31174. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  31175. "type": "integer"
  31176. },
  31177. "autoid": {
  31178. "description": "AutoID",
  31179. "type": "integer"
  31180. },
  31181. "columnfield": {
  31182. "description": "列字段",
  31183. "type": "string"
  31184. },
  31185. "columntitle": {
  31186. "description": "列Title",
  31187. "type": "string"
  31188. },
  31189. "columnwidth": {
  31190. "description": "列宽",
  31191. "type": "string"
  31192. },
  31193. "fixed": {
  31194. "description": "固定类型 - 空 | left | right",
  31195. "type": "string"
  31196. },
  31197. "formatterstring": {
  31198. "description": "格式化字符",
  31199. "type": "string"
  31200. },
  31201. "formattertype": {
  31202. "description": "格式化类型",
  31203. "type": "string"
  31204. },
  31205. "groupname": {
  31206. "description": "表头分组名称",
  31207. "type": "string"
  31208. },
  31209. "ismerge": {
  31210. "description": "是否合并显示 - 0:不合并 1:合并",
  31211. "type": "integer"
  31212. },
  31213. "isshow": {
  31214. "description": "是否显示 - 0:不显示 1:显示",
  31215. "type": "integer"
  31216. },
  31217. "needsummary": {
  31218. "description": "是否需要汇总 - 0:不需要 1:需要",
  31219. "type": "integer"
  31220. },
  31221. "orderindex": {
  31222. "description": "顺序",
  31223. "type": "integer"
  31224. },
  31225. "remark": {
  31226. "description": "备注",
  31227. "type": "string"
  31228. },
  31229. "summarytype": {
  31230. "description": "汇总类型 - 1:加总 2:最后一个",
  31231. "type": "integer"
  31232. },
  31233. "tablekey": {
  31234. "description": "列表Key",
  31235. "type": "string"
  31236. }
  31237. }
  31238. },
  31239. "models.TjmdHolderDetailTradeInfo": {
  31240. "type": "object",
  31241. "properties": {
  31242. "agreeunit": {
  31243. "description": "合约乘数",
  31244. "type": "number"
  31245. },
  31246. "buyaccountid": {
  31247. "description": "买方账户",
  31248. "type": "string"
  31249. },
  31250. "buyusername": {
  31251. "description": "买方",
  31252. "type": "string"
  31253. },
  31254. "delistingdate": {
  31255. "description": "最后结算日",
  31256. "type": "string"
  31257. },
  31258. "expiredate": {
  31259. "description": "到期结算价定价日",
  31260. "type": "string"
  31261. },
  31262. "exprieprice": {
  31263. "description": "到期清算价格",
  31264. "type": "string"
  31265. },
  31266. "goodscode": {
  31267. "description": "商品代码",
  31268. "type": "string"
  31269. },
  31270. "goodsid": {
  31271. "description": "商品ID",
  31272. "type": "integer"
  31273. },
  31274. "goodsname": {
  31275. "description": "商品名称(交易标的)",
  31276. "type": "string"
  31277. },
  31278. "lasttradedate": {
  31279. "description": "最后交易日",
  31280. "type": "string"
  31281. },
  31282. "listingdate": {
  31283. "description": "开始交易日",
  31284. "type": "string"
  31285. },
  31286. "openprice": {
  31287. "description": "成交价",
  31288. "type": "number"
  31289. },
  31290. "openqty": {
  31291. "description": "交易数量",
  31292. "type": "integer"
  31293. },
  31294. "sellaccountid": {
  31295. "description": "卖方账户",
  31296. "type": "string"
  31297. },
  31298. "sellusername": {
  31299. "description": "卖方",
  31300. "type": "string"
  31301. },
  31302. "tradeamount": {
  31303. "description": "初始名义价值",
  31304. "type": "number"
  31305. },
  31306. "tradedate": {
  31307. "description": "成交日期",
  31308. "type": "string"
  31309. },
  31310. "tradeid": {
  31311. "description": "成交编号",
  31312. "type": "string"
  31313. }
  31314. }
  31315. },
  31316. "models.TjmdMarketSection": {
  31317. "type": "object",
  31318. "properties": {
  31319. "marketsectionid": {
  31320. "description": "市场版块ID(SEQ_MARKETSECTION)",
  31321. "type": "integer"
  31322. },
  31323. "marketsectionname": {
  31324. "description": "市场版块名称",
  31325. "type": "string"
  31326. },
  31327. "mlist": {
  31328. "description": "市场列表(板块下面有多少个市场)",
  31329. "type": "array",
  31330. "items": {
  31331. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  31332. }
  31333. },
  31334. "orderindex": {
  31335. "description": "排序",
  31336. "type": "integer"
  31337. },
  31338. "pictureurl": {
  31339. "description": "图片url, 规格(90*90)",
  31340. "type": "string"
  31341. },
  31342. "remark": {
  31343. "description": "备注",
  31344. "type": "string"
  31345. }
  31346. }
  31347. },
  31348. "models.TjmdMarketSectionConfig": {
  31349. "type": "object",
  31350. "properties": {
  31351. "auctionwrtype": {
  31352. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  31353. "type": "integer"
  31354. },
  31355. "canacceptquote": {
  31356. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31357. "type": "integer"
  31358. },
  31359. "cangoodsexercise": {
  31360. "description": "[期权]是否可现货行权- 0:否 1:是",
  31361. "type": "integer"
  31362. },
  31363. "cangoodsexercisetype": {
  31364. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31365. "type": "integer"
  31366. },
  31367. "canmanualquotestrike": {
  31368. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31369. "type": "integer"
  31370. },
  31371. "canmutistage": {
  31372. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  31373. "type": "integer"
  31374. },
  31375. "canpreexercise": {
  31376. "description": "[期权]是否可预申报- 0:否 1:是",
  31377. "type": "integer"
  31378. },
  31379. "clearinterval": {
  31380. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  31381. "type": "integer"
  31382. },
  31383. "contracttmp": {
  31384. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  31385. "type": "string"
  31386. },
  31387. "exchareaid": {
  31388. "description": "所属交易所,可以没有",
  31389. "type": "integer"
  31390. },
  31391. "financemarketid": {
  31392. "description": "融资回购市场ID [仓单贸易]",
  31393. "type": "integer"
  31394. },
  31395. "goodstype": {
  31396. "description": "商品类型 - 1:交易商品 2:仓单商品",
  31397. "type": "integer"
  31398. },
  31399. "hasrebate": {
  31400. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  31401. "type": "integer"
  31402. },
  31403. "hastradecredit": {
  31404. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  31405. "type": "integer"
  31406. },
  31407. "haswr": {
  31408. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  31409. "type": "integer"
  31410. },
  31411. "isdeductmargin": {
  31412. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  31413. "type": "integer"
  31414. },
  31415. "isrecordsource": {
  31416. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  31417. "type": "integer"
  31418. },
  31419. "isreleasemargin": {
  31420. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  31421. "type": "integer"
  31422. },
  31423. "isupdatereckonprice": {
  31424. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  31425. "type": "integer"
  31426. },
  31427. "listingmode": {
  31428. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  31429. "type": "integer"
  31430. },
  31431. "marginformula": {
  31432. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31433. "type": "integer"
  31434. },
  31435. "marginformula2": {
  31436. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31437. "type": "integer"
  31438. },
  31439. "marketid": {
  31440. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  31441. "type": "integer"
  31442. },
  31443. "marketname": {
  31444. "description": "市场名称",
  31445. "type": "string"
  31446. },
  31447. "marketsectionid": {
  31448. "description": "市场版块ID(SEQ_MARKETSECTION)",
  31449. "type": "integer"
  31450. },
  31451. "marketserviceid": {
  31452. "description": "市场服务ID",
  31453. "type": "integer"
  31454. },
  31455. "marketstatus": {
  31456. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  31457. "type": "integer"
  31458. },
  31459. "markettype": {
  31460. "description": "市场类型- 1:非交易服务 2:交易服务",
  31461. "type": "integer"
  31462. },
  31463. "matchermode": {
  31464. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  31465. "type": "integer"
  31466. },
  31467. "nowrquotaflag": {
  31468. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  31469. "type": "integer"
  31470. },
  31471. "openmethod": {
  31472. "description": "开盘模式 - 0 自动 1手动",
  31473. "type": "integer"
  31474. },
  31475. "orderindex": {
  31476. "description": "排序",
  31477. "type": "integer"
  31478. },
  31479. "otcuserid": {
  31480. "description": "场外期权做市商[场外期权]",
  31481. "type": "integer"
  31482. },
  31483. "outersynctime": {
  31484. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  31485. "type": "string"
  31486. },
  31487. "paylaterflag": {
  31488. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  31489. "type": "integer"
  31490. },
  31491. "pendingflag": {
  31492. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  31493. "type": "integer"
  31494. },
  31495. "pendingtime": {
  31496. "description": "待开市时间[通道交易-对冲](HH:mm)",
  31497. "type": "string"
  31498. },
  31499. "performancetempid": {
  31500. "description": "履约计划模板ID - 作废",
  31501. "type": "integer"
  31502. },
  31503. "premiumquotemode": {
  31504. "description": "权利金报价方式 - 1:自动 2:手动",
  31505. "type": "integer"
  31506. },
  31507. "rebateratio": {
  31508. "description": "返利比率[竞价式]",
  31509. "type": "number"
  31510. },
  31511. "reckonorder": {
  31512. "description": "结算顺序",
  31513. "type": "integer"
  31514. },
  31515. "reckonpricealgorithm": {
  31516. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  31517. "type": "integer"
  31518. },
  31519. "reckonpriceparam": {
  31520. "description": "结算价参数",
  31521. "type": "integer"
  31522. },
  31523. "reckontime": {
  31524. "description": "结算时间[通道交易-对冲](HH:mm)",
  31525. "type": "string"
  31526. },
  31527. "roleprioritytype": {
  31528. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  31529. "type": "integer"
  31530. },
  31531. "selllistingauditflag": {
  31532. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  31533. "type": "integer"
  31534. },
  31535. "trademarkettype": {
  31536. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  31537. "type": "integer"
  31538. },
  31539. "trademode": {
  31540. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31541. "type": "integer"
  31542. },
  31543. "tradeproperty": {
  31544. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  31545. "type": "integer"
  31546. },
  31547. "tradetype": {
  31548. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  31549. "type": "integer"
  31550. },
  31551. "updatereckonpriceinterval": {
  31552. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  31553. "type": "integer"
  31554. }
  31555. }
  31556. },
  31557. "models.TjmdQuoteGoods": {
  31558. "type": "object",
  31559. "properties": {
  31560. "buyqty": {
  31561. "description": "买量(暂不做, 无值, 保留字段)",
  31562. "type": "number"
  31563. },
  31564. "decimalplace": {
  31565. "description": "报价小数位",
  31566. "type": "integer"
  31567. },
  31568. "goodscode": {
  31569. "description": "合约代码",
  31570. "type": "string"
  31571. },
  31572. "goodsgroupid": {
  31573. "description": "商品组ID(自增ID)",
  31574. "type": "integer"
  31575. },
  31576. "goodsgroupname": {
  31577. "description": "商品组名称",
  31578. "type": "string"
  31579. },
  31580. "goodsid": {
  31581. "description": "合约id",
  31582. "type": "integer"
  31583. },
  31584. "goodsname": {
  31585. "description": "合约名称",
  31586. "type": "string"
  31587. },
  31588. "refgoodscode": {
  31589. "description": "标的合约代码",
  31590. "type": "string"
  31591. },
  31592. "refgoodsid": {
  31593. "description": "标的合约id",
  31594. "type": "integer"
  31595. },
  31596. "refgoodsname": {
  31597. "description": "标的合约名称",
  31598. "type": "string"
  31599. },
  31600. "sellqty": {
  31601. "description": "卖量(暂不做, 无值, 保留字段)",
  31602. "type": "number"
  31603. }
  31604. }
  31605. },
  31606. "models.TjmdTodayAccountMargin": {
  31607. "type": "object",
  31608. "properties": {
  31609. "accountid": {
  31610. "description": "账号ID",
  31611. "type": "integer"
  31612. },
  31613. "goodsid": {
  31614. "description": "商品ID",
  31615. "type": "integer"
  31616. },
  31617. "infoc": {
  31618. "description": "配置参数",
  31619. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  31620. },
  31621. "marketid": {
  31622. "description": "市场ID",
  31623. "type": "integer"
  31624. }
  31625. }
  31626. },
  31627. "models.TjmdTradeOrderDetail": {
  31628. "type": "object",
  31629. "properties": {
  31630. "buyorsell": {
  31631. "description": "买卖方向 0-买 1-卖",
  31632. "type": "integer"
  31633. },
  31634. "goodsid": {
  31635. "description": "商品id",
  31636. "type": "integer"
  31637. },
  31638. "marketmaxsub": {
  31639. "description": "市价最大偏移范围 [浮动价 - 点差]",
  31640. "type": "number"
  31641. },
  31642. "orderid": {
  31643. "description": "委托单号",
  31644. "type": "string"
  31645. },
  31646. "orderprice": {
  31647. "description": "期初均价",
  31648. "type": "number"
  31649. },
  31650. "orderqty": {
  31651. "description": "委托数量",
  31652. "type": "integer"
  31653. },
  31654. "pricemode": {
  31655. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  31656. "type": "integer"
  31657. },
  31658. "userid": {
  31659. "description": "用户id",
  31660. "type": "integer"
  31661. },
  31662. "username": {
  31663. "description": "用户名称(已脱敏)",
  31664. "type": "string"
  31665. }
  31666. }
  31667. },
  31668. "models.TjmdTransferApply": {
  31669. "type": "object",
  31670. "properties": {
  31671. "applyid": {
  31672. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  31673. "type": "integer"
  31674. },
  31675. "applystatus": {
  31676. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  31677. "type": "integer"
  31678. },
  31679. "applytime": {
  31680. "description": "申请时间(时间)",
  31681. "type": "string"
  31682. },
  31683. "auditremark": {
  31684. "description": "审核备注(拒绝原因?)",
  31685. "type": "string"
  31686. },
  31687. "begindate": {
  31688. "description": "开始交易日(yyyymmdd)",
  31689. "type": "string"
  31690. },
  31691. "buyorsell": {
  31692. "description": "买卖 - 0:买 1:卖",
  31693. "type": "integer"
  31694. },
  31695. "enddate": {
  31696. "description": "结束交易日(yyyymmdd)",
  31697. "type": "string"
  31698. },
  31699. "goodscode": {
  31700. "description": "商品代码",
  31701. "type": "string"
  31702. },
  31703. "goodsid": {
  31704. "description": "商品ID",
  31705. "type": "integer"
  31706. },
  31707. "goodsname": {
  31708. "description": "商品名称",
  31709. "type": "string"
  31710. },
  31711. "marketid": {
  31712. "description": "市场ID",
  31713. "type": "integer"
  31714. },
  31715. "qty": {
  31716. "description": "期初均价",
  31717. "type": "number"
  31718. },
  31719. "tradeid": {
  31720. "description": "成交单号(关联持仓)",
  31721. "type": "string"
  31722. },
  31723. "transferamount": {
  31724. "description": "转让总金额(金额)",
  31725. "type": "number"
  31726. },
  31727. "transferprice": {
  31728. "description": "转让价格(协议价格)",
  31729. "type": "number"
  31730. }
  31731. }
  31732. },
  31733. "models.TradeHolderDetail": {
  31734. "type": "object",
  31735. "properties": {
  31736. "accountid": {
  31737. "description": "账号ID",
  31738. "type": "integer"
  31739. },
  31740. "agreeunit": {
  31741. "description": "合约乘数",
  31742. "type": "number"
  31743. },
  31744. "buyorsell": {
  31745. "description": "方向 - 0:买 1:卖",
  31746. "type": "integer"
  31747. },
  31748. "currencyid": {
  31749. "description": "商品币种id",
  31750. "type": "integer"
  31751. },
  31752. "currencyname": {
  31753. "description": "币种名称",
  31754. "type": "string"
  31755. },
  31756. "decimalplace": {
  31757. "description": "商品价格小数位",
  31758. "type": "integer"
  31759. },
  31760. "enumdicname": {
  31761. "description": "商品单位名称",
  31762. "type": "string"
  31763. },
  31764. "expirecycle": {
  31765. "description": "行权周期(天) - 1:滚动行权时填写",
  31766. "type": "integer"
  31767. },
  31768. "expiredate": {
  31769. "description": "行权日(yyyyMMdd) - 到期日",
  31770. "type": "string"
  31771. },
  31772. "expiretype": {
  31773. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  31774. "type": "integer"
  31775. },
  31776. "freezeqty": {
  31777. "description": "期初均价",
  31778. "type": "number"
  31779. },
  31780. "goodscode": {
  31781. "description": "商品代码",
  31782. "type": "string"
  31783. },
  31784. "goodsid": {
  31785. "description": "商品ID",
  31786. "type": "integer"
  31787. },
  31788. "goodsname": {
  31789. "description": "商品名称",
  31790. "type": "string"
  31791. },
  31792. "goodunitid": {
  31793. "description": "商品单位id",
  31794. "type": "integer"
  31795. },
  31796. "holderamount": {
  31797. "description": "持仓金额",
  31798. "type": "number"
  31799. },
  31800. "holdercredit": {
  31801. "description": "持仓授信金额",
  31802. "type": "number"
  31803. },
  31804. "holderdays": {
  31805. "description": "剩余冻结天数",
  31806. "type": "integer"
  31807. },
  31808. "holderprice": {
  31809. "description": "持仓价格",
  31810. "type": "number"
  31811. },
  31812. "holderqty": {
  31813. "description": "期初均价",
  31814. "type": "number"
  31815. },
  31816. "isconfirmexercise": {
  31817. "description": "是否确认行权- 0:否 1:是",
  31818. "type": "integer"
  31819. },
  31820. "ispreexercise": {
  31821. "description": "是否预申报- 0:否 1:是 2:不可行权",
  31822. "type": "integer"
  31823. },
  31824. "marketid": {
  31825. "description": "市场id",
  31826. "type": "integer"
  31827. },
  31828. "marketname": {
  31829. "description": "市场名称",
  31830. "type": "string"
  31831. },
  31832. "openprice": {
  31833. "description": "建仓价格",
  31834. "type": "number"
  31835. },
  31836. "openqty": {
  31837. "description": "期初均价",
  31838. "type": "number"
  31839. },
  31840. "optiontype": {
  31841. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31842. "type": "integer"
  31843. },
  31844. "preexerciseprice": {
  31845. "description": "预申报价格",
  31846. "type": "number"
  31847. },
  31848. "premium": {
  31849. "description": "权利金",
  31850. "type": "number"
  31851. },
  31852. "qtydecimalplace": {
  31853. "description": "商品成交量小数位",
  31854. "type": "integer"
  31855. },
  31856. "refgoodscode": {
  31857. "description": "标的合约代码",
  31858. "type": "string"
  31859. },
  31860. "refgoodsid": {
  31861. "description": "标的合约id",
  31862. "type": "integer"
  31863. },
  31864. "releaseamount": {
  31865. "description": "释放持仓金额",
  31866. "type": "number"
  31867. },
  31868. "releaseholdercredit": {
  31869. "description": "释放持仓授信金额",
  31870. "type": "number"
  31871. },
  31872. "taname": {
  31873. "description": "资金账号名称",
  31874. "type": "string"
  31875. },
  31876. "tradeamount": {
  31877. "description": "成交金额",
  31878. "type": "number"
  31879. },
  31880. "tradedate": {
  31881. "description": "交易日(yyyyMMdd)",
  31882. "type": "string"
  31883. },
  31884. "tradeid": {
  31885. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31886. "type": "string"
  31887. },
  31888. "trademode": {
  31889. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  31890. "type": "integer"
  31891. },
  31892. "tradeproperty": {
  31893. "description": "交易属性",
  31894. "type": "integer"
  31895. },
  31896. "tradetime": {
  31897. "description": "交易时间",
  31898. "type": "string"
  31899. },
  31900. "userid": {
  31901. "description": "用户id",
  31902. "type": "integer"
  31903. },
  31904. "username": {
  31905. "description": "用户名称",
  31906. "type": "string"
  31907. }
  31908. }
  31909. },
  31910. "models.Unlinkermcphedgeplan": {
  31911. "type": "object",
  31912. "required": [
  31913. "areauserid"
  31914. ],
  31915. "properties": {
  31916. "accountid": {
  31917. "description": "期货账户ID - 作废",
  31918. "type": "integer"
  31919. },
  31920. "accountname": {
  31921. "description": "交易用户",
  31922. "type": "string"
  31923. },
  31924. "applyid": {
  31925. "description": "申请人",
  31926. "type": "integer"
  31927. },
  31928. "applysrc": {
  31929. "description": "申请来源 - 1:管理端 2:终端",
  31930. "type": "integer"
  31931. },
  31932. "applytime": {
  31933. "description": "申请时间",
  31934. "type": "string"
  31935. },
  31936. "areauserid": {
  31937. "description": "[企业ID]机构ID",
  31938. "type": "integer"
  31939. },
  31940. "auditid": {
  31941. "description": "审核人",
  31942. "type": "integer"
  31943. },
  31944. "auditremark": {
  31945. "description": "审核备注",
  31946. "type": "string"
  31947. },
  31948. "auditsrc": {
  31949. "description": "审核来源 - 1:管理端 2:终端",
  31950. "type": "integer"
  31951. },
  31952. "audittime": {
  31953. "description": "审核时间",
  31954. "type": "string"
  31955. },
  31956. "audittradedate": {
  31957. "description": "审核交易日(yyyyMMdd)",
  31958. "type": "string"
  31959. },
  31960. "biztype": {
  31961. "description": "业务类型 - 1:套保",
  31962. "type": "integer"
  31963. },
  31964. "contracttype": {
  31965. "description": "计划类型 - 1:采购 -1:销售",
  31966. "type": "integer"
  31967. },
  31968. "convertfactor": {
  31969. "description": "标仓系数 - 作废",
  31970. "type": "number"
  31971. },
  31972. "createtime": {
  31973. "description": "创建时间",
  31974. "type": "string"
  31975. },
  31976. "currencyid": {
  31977. "description": "结算币种ID - 作废",
  31978. "type": "integer"
  31979. },
  31980. "deliverygoodsid": {
  31981. "description": "现货品种ID",
  31982. "type": "integer"
  31983. },
  31984. "enumdicname": {
  31985. "description": "结算币种",
  31986. "type": "string"
  31987. },
  31988. "hedgeplanid": {
  31989. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  31990. "type": "string"
  31991. },
  31992. "hedgeplanno": {
  31993. "description": "[计划编号]套保计划编号,模糊查询",
  31994. "type": "string"
  31995. },
  31996. "hedgeplanstatus": {
  31997. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  31998. "type": "integer"
  31999. },
  32000. "isrelated": {
  32001. "description": "是否已关联计划项目 - 0:否 1:是",
  32002. "type": "integer"
  32003. },
  32004. "planqty": {
  32005. "description": "[计划量]计划数量",
  32006. "type": "number"
  32007. },
  32008. "plantime": {
  32009. "description": "计划时间",
  32010. "type": "string"
  32011. },
  32012. "producttype": {
  32013. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  32014. "type": "integer"
  32015. },
  32016. "remark": {
  32017. "description": "备注",
  32018. "type": "string"
  32019. },
  32020. "spotgoodsdesc": {
  32021. "description": "商品型号",
  32022. "type": "string"
  32023. },
  32024. "tradedate": {
  32025. "description": "交易日(yyyyMMdd)",
  32026. "type": "string"
  32027. },
  32028. "tradeuserid": {
  32029. "description": "交易用户ID",
  32030. "type": "integer"
  32031. },
  32032. "updatetime": {
  32033. "description": "更新时间",
  32034. "type": "string"
  32035. },
  32036. "wrstandardid": {
  32037. "description": "现货商品ID",
  32038. "type": "integer"
  32039. },
  32040. "wrstandardname": {
  32041. "description": "现货商品,模糊查询",
  32042. "type": "string"
  32043. }
  32044. }
  32045. },
  32046. "models.Useraccount": {
  32047. "type": "object",
  32048. "required": [
  32049. "userid"
  32050. ],
  32051. "properties": {
  32052. "accountname": {
  32053. "description": "账户名称(机构名称)",
  32054. "type": "string"
  32055. },
  32056. "accountstatus": {
  32057. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32058. "type": "integer"
  32059. },
  32060. "applysrc": {
  32061. "description": "申请来源 - 1:管理端 2:终端",
  32062. "type": "integer"
  32063. },
  32064. "auditremark": {
  32065. "description": "审核备注",
  32066. "type": "string"
  32067. },
  32068. "auditsrc": {
  32069. "description": "审核来源 - 1:管理端 2:终端",
  32070. "type": "integer"
  32071. },
  32072. "audittime": {
  32073. "description": "审核时间",
  32074. "type": "string"
  32075. },
  32076. "audituserid": {
  32077. "description": "审核人",
  32078. "type": "integer"
  32079. },
  32080. "broker": {
  32081. "description": "所属经纪人ID",
  32082. "type": "integer"
  32083. },
  32084. "canceltime": {
  32085. "description": "销户时间",
  32086. "type": "string"
  32087. },
  32088. "canceluserid": {
  32089. "description": "销户人",
  32090. "type": "integer"
  32091. },
  32092. "canrecommend": {
  32093. "description": "是否可推荐 - 0:不可 1;可",
  32094. "type": "integer"
  32095. },
  32096. "createtime": {
  32097. "description": "创建时间",
  32098. "type": "string"
  32099. },
  32100. "creatorid": {
  32101. "description": "创建人",
  32102. "type": "integer"
  32103. },
  32104. "hasauth": {
  32105. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32106. "type": "integer"
  32107. },
  32108. "isanonymous": {
  32109. "description": "是否匿名下单 - 0:否 1:是",
  32110. "type": "integer"
  32111. },
  32112. "maxinvestornum": {
  32113. "description": "最大用户数(经纪会员下投资者个数)",
  32114. "type": "integer"
  32115. },
  32116. "memberuserid": {
  32117. "description": "所属会员ID",
  32118. "type": "integer"
  32119. },
  32120. "modifierid": {
  32121. "description": "修改人",
  32122. "type": "integer"
  32123. },
  32124. "modifyremark": {
  32125. "description": "变更备注",
  32126. "type": "string"
  32127. },
  32128. "modifystatus": {
  32129. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32130. "type": "integer"
  32131. },
  32132. "modifytime": {
  32133. "description": "修改时间",
  32134. "type": "string"
  32135. },
  32136. "parenttopuser": {
  32137. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32138. "type": "string"
  32139. },
  32140. "parentuserid": {
  32141. "description": "所属机构ID",
  32142. "type": "integer"
  32143. },
  32144. "reckonaccountid": {
  32145. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32146. "type": "integer"
  32147. },
  32148. "refercount": {
  32149. "description": "推荐总人数",
  32150. "type": "integer"
  32151. },
  32152. "refereeuserid": {
  32153. "description": "推荐人ID",
  32154. "type": "integer"
  32155. },
  32156. "refernum": {
  32157. "description": "推荐码",
  32158. "type": "string"
  32159. },
  32160. "rootuserid": {
  32161. "description": "根用户ID",
  32162. "type": "integer"
  32163. },
  32164. "subaccountlevel": {
  32165. "description": "子账户层数",
  32166. "type": "integer"
  32167. },
  32168. "subarealevelpath": {
  32169. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32170. "type": "string"
  32171. },
  32172. "userid": {
  32173. "description": "用户ID",
  32174. "type": "integer"
  32175. },
  32176. "usertype": {
  32177. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32178. "type": "integer"
  32179. }
  32180. }
  32181. },
  32182. "models.Userfavoritegoods": {
  32183. "type": "object",
  32184. "required": [
  32185. "goodsid"
  32186. ],
  32187. "properties": {
  32188. "goodsid": {
  32189. "description": "商品ID",
  32190. "type": "integer"
  32191. }
  32192. }
  32193. },
  32194. "models.Userinfo": {
  32195. "type": "object",
  32196. "required": [
  32197. "userid"
  32198. ],
  32199. "properties": {
  32200. "address": {
  32201. "description": "地址",
  32202. "type": "string"
  32203. },
  32204. "attachment1": {
  32205. "description": "附件1",
  32206. "type": "string"
  32207. },
  32208. "attachment2": {
  32209. "description": "附件2",
  32210. "type": "string"
  32211. },
  32212. "bankaccount": {
  32213. "description": "银行帐号 (加密存储)",
  32214. "type": "string"
  32215. },
  32216. "bankaccountname": {
  32217. "description": "收款人名称",
  32218. "type": "string"
  32219. },
  32220. "bankcardfrontphotourl": {
  32221. "description": "银行卡正面照地址",
  32222. "type": "string"
  32223. },
  32224. "bankid": {
  32225. "description": "银行编码",
  32226. "type": "string"
  32227. },
  32228. "bankname": {
  32229. "description": "银行名称",
  32230. "type": "string"
  32231. },
  32232. "biznature": {
  32233. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32234. "type": "integer"
  32235. },
  32236. "bizscope": {
  32237. "description": "企业经营范围(企业)",
  32238. "type": "string"
  32239. },
  32240. "cardbackphotourl": {
  32241. "description": "证件背面图片地址",
  32242. "type": "string"
  32243. },
  32244. "cardfrontphotourl": {
  32245. "description": "证件正面图片地址",
  32246. "type": "string"
  32247. },
  32248. "cardnum": {
  32249. "description": "证件号码(加密存储)",
  32250. "type": "string"
  32251. },
  32252. "cardtypeid": {
  32253. "description": "证件类型ID",
  32254. "type": "integer"
  32255. },
  32256. "cityid": {
  32257. "description": "市",
  32258. "type": "integer"
  32259. },
  32260. "company": {
  32261. "description": "公司(个人)",
  32262. "type": "string"
  32263. },
  32264. "contactname": {
  32265. "description": "联系人",
  32266. "type": "string"
  32267. },
  32268. "countryid": {
  32269. "description": "国家",
  32270. "type": "integer"
  32271. },
  32272. "createtime": {
  32273. "description": "创建时间",
  32274. "type": "string"
  32275. },
  32276. "creatorid": {
  32277. "description": "创建人",
  32278. "type": "integer"
  32279. },
  32280. "customername": {
  32281. "description": "客户名称(企业名称)",
  32282. "type": "string"
  32283. },
  32284. "districtid": {
  32285. "description": "地区",
  32286. "type": "integer"
  32287. },
  32288. "email": {
  32289. "description": "邮件(加密存储)",
  32290. "type": "string"
  32291. },
  32292. "fax": {
  32293. "description": "传真(加密存储)",
  32294. "type": "string"
  32295. },
  32296. "halfbodyphotourl": {
  32297. "description": "半身照地址",
  32298. "type": "string"
  32299. },
  32300. "hasencrypt": {
  32301. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32302. "type": "integer"
  32303. },
  32304. "headurl": {
  32305. "description": "头像地址",
  32306. "type": "string"
  32307. },
  32308. "legalcardbackphotourl": {
  32309. "description": "法人身份证背面照地址",
  32310. "type": "string"
  32311. },
  32312. "legalcardfrontphotourl": {
  32313. "description": "法人身份证正面照地址",
  32314. "type": "string"
  32315. },
  32316. "legalpersonname": {
  32317. "description": "法人姓名(企业)",
  32318. "type": "string"
  32319. },
  32320. "mobile": {
  32321. "description": "手机号码(加密存储)",
  32322. "type": "string"
  32323. },
  32324. "mobile2": {
  32325. "description": "手机号码[明文-尚志]",
  32326. "type": "string"
  32327. },
  32328. "modifierid": {
  32329. "description": "修改人",
  32330. "type": "integer"
  32331. },
  32332. "modifiertime": {
  32333. "description": "修改时间",
  32334. "type": "string"
  32335. },
  32336. "needinvoice": {
  32337. "description": "是否需要发票 - 0:不需要 1:需要",
  32338. "type": "integer"
  32339. },
  32340. "nickname": {
  32341. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32342. "type": "string"
  32343. },
  32344. "openmode": {
  32345. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  32346. "type": "integer"
  32347. },
  32348. "otherurl": {
  32349. "description": "其它图片地址[使用分号分隔]",
  32350. "type": "string"
  32351. },
  32352. "postalcode": {
  32353. "description": "邮政编码",
  32354. "type": "string"
  32355. },
  32356. "provinceid": {
  32357. "description": "省",
  32358. "type": "integer"
  32359. },
  32360. "qq": {
  32361. "description": "QQ(加密存储",
  32362. "type": "string"
  32363. },
  32364. "remark": {
  32365. "description": "备注",
  32366. "type": "string"
  32367. },
  32368. "sex": {
  32369. "description": "用户性别 0: 女 1: 男",
  32370. "type": "integer"
  32371. },
  32372. "signpdfurl": {
  32373. "description": "签约pdf文件",
  32374. "type": "string"
  32375. },
  32376. "telphone": {
  32377. "description": "联系电话(加密存储)",
  32378. "type": "string"
  32379. },
  32380. "userid": {
  32381. "description": "用户ID",
  32382. "type": "integer"
  32383. },
  32384. "userinfotype": {
  32385. "description": "用户信息类型 - 1:个人 2:企业",
  32386. "type": "integer"
  32387. },
  32388. "userstatus": {
  32389. "description": "用户状态 - 1:正常 2:注销",
  32390. "type": "integer"
  32391. },
  32392. "usertype": {
  32393. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  32394. "type": "integer"
  32395. },
  32396. "wechat": {
  32397. "description": "微信(加密存储)",
  32398. "type": "string"
  32399. },
  32400. "wskhinfo": {
  32401. "description": "开户申请信息(JSON)",
  32402. "type": "string"
  32403. }
  32404. }
  32405. },
  32406. "models.WRSConverTDetail": {
  32407. "type": "object",
  32408. "properties": {
  32409. "convertratio": {
  32410. "description": "套保系数",
  32411. "type": "number"
  32412. },
  32413. "deliverygoodscode": {
  32414. "description": "现货商品代码",
  32415. "type": "string"
  32416. },
  32417. "deliverygoodsid": {
  32418. "description": "现货品种ID",
  32419. "type": "integer"
  32420. },
  32421. "deliverygoodsname": {
  32422. "description": "现货商品名称",
  32423. "type": "string"
  32424. },
  32425. "enumdicname": {
  32426. "description": "单位名称",
  32427. "type": "string"
  32428. },
  32429. "goodsunitid": {
  32430. "description": "套保品种单位id",
  32431. "type": "integer"
  32432. },
  32433. "middlegoodscode": {
  32434. "description": "套保品种代码",
  32435. "type": "string"
  32436. },
  32437. "middlegoodsid": {
  32438. "description": "套保品种ID",
  32439. "type": "integer"
  32440. },
  32441. "middlegoodsname": {
  32442. "description": "套保品种名称",
  32443. "type": "string"
  32444. },
  32445. "modifytime": {
  32446. "description": "修改时间",
  32447. "type": "string"
  32448. },
  32449. "wrstandardid": {
  32450. "description": "品类ID",
  32451. "type": "integer"
  32452. }
  32453. }
  32454. },
  32455. "models.WRStandardInfo": {
  32456. "type": "object",
  32457. "required": [
  32458. "wrstandardid"
  32459. ],
  32460. "properties": {
  32461. "areauserid": {
  32462. "description": "所属机构",
  32463. "type": "integer"
  32464. },
  32465. "convertfactor": {
  32466. "description": "标仓系数",
  32467. "type": "number"
  32468. },
  32469. "createtime": {
  32470. "description": "创建时间",
  32471. "type": "string"
  32472. },
  32473. "creatorid": {
  32474. "description": "创建人",
  32475. "type": "integer"
  32476. },
  32477. "deliverygoodsid": {
  32478. "description": "品种ID",
  32479. "type": "integer"
  32480. },
  32481. "deliverygoodsname": {
  32482. "description": "交割商品名称",
  32483. "type": "string"
  32484. },
  32485. "factoryitemjson": {
  32486. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  32487. "type": "string"
  32488. },
  32489. "isvalid": {
  32490. "description": "是否有效 - 0:无效 1:有效",
  32491. "type": "integer"
  32492. },
  32493. "minivalue": {
  32494. "description": "最小变动值",
  32495. "type": "integer"
  32496. },
  32497. "minivaluedp": {
  32498. "description": "最小变动值小数位",
  32499. "type": "integer"
  32500. },
  32501. "realminivalue": {
  32502. "description": "实际最小变动值",
  32503. "type": "integer"
  32504. },
  32505. "realminivaluedp": {
  32506. "description": "实际最小变动值小数位",
  32507. "type": "integer"
  32508. },
  32509. "remark": {
  32510. "description": "备注",
  32511. "type": "string"
  32512. },
  32513. "unitid": {
  32514. "description": "单位ID",
  32515. "type": "integer"
  32516. },
  32517. "unitname": {
  32518. "description": "单位",
  32519. "type": "string"
  32520. },
  32521. "updatetime": {
  32522. "description": "更新时间",
  32523. "type": "string"
  32524. },
  32525. "updatorid": {
  32526. "description": "更新人",
  32527. "type": "integer"
  32528. },
  32529. "wrsstatus": {
  32530. "description": "状态 - 作废 - 0:未激活 1:正常",
  32531. "type": "integer"
  32532. },
  32533. "wrstandardcode": {
  32534. "description": "现货品类代码",
  32535. "type": "string"
  32536. },
  32537. "wrstandardid": {
  32538. "description": "现货品类ID(SEQ_WRSTANDARD)",
  32539. "type": "integer"
  32540. },
  32541. "wrstandardname": {
  32542. "description": "现货品类名称",
  32543. "type": "string"
  32544. }
  32545. }
  32546. },
  32547. "models.WRTradeBargainApply": {
  32548. "type": "object",
  32549. "properties": {
  32550. "accountid": {
  32551. "description": "摘牌资金账号",
  32552. "type": "integer"
  32553. },
  32554. "applyprice": {
  32555. "description": "申请价格(议价价格)",
  32556. "type": "string"
  32557. },
  32558. "applyqty": {
  32559. "description": "摘牌数量(议价数量)",
  32560. "type": "number"
  32561. },
  32562. "applyremark": {
  32563. "description": "申请备注",
  32564. "type": "string"
  32565. },
  32566. "applystatus": {
  32567. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32568. "type": "integer"
  32569. },
  32570. "applytime": {
  32571. "description": "申请时间(议价时间)",
  32572. "type": "string"
  32573. },
  32574. "begindate": {
  32575. "description": "开始交易日(yyyymmdd)",
  32576. "type": "string"
  32577. },
  32578. "buyorsell": {
  32579. "description": "买卖(挂牌类型) - 0:买 1:卖",
  32580. "type": "integer"
  32581. },
  32582. "confirmremark": {
  32583. "description": "确认备注",
  32584. "type": "string"
  32585. },
  32586. "confirmtime": {
  32587. "description": "确认时间",
  32588. "type": "string"
  32589. },
  32590. "confirmuserid": {
  32591. "description": "确认人",
  32592. "type": "integer"
  32593. },
  32594. "deliverygoodscode": {
  32595. "description": "品种代码",
  32596. "type": "string"
  32597. },
  32598. "deliverygoodsid": {
  32599. "description": "品种ID",
  32600. "type": "integer"
  32601. },
  32602. "deliverygoodsname": {
  32603. "description": "品种名称",
  32604. "type": "string"
  32605. },
  32606. "deliverymonth": {
  32607. "description": "交收月",
  32608. "type": "string"
  32609. },
  32610. "enddate": {
  32611. "description": "结束交易日(yyyymmdd)",
  32612. "type": "string"
  32613. },
  32614. "enumdicname": {
  32615. "description": "单位名称",
  32616. "type": "string"
  32617. },
  32618. "fixedprice": {
  32619. "description": "期初均价",
  32620. "type": "number"
  32621. },
  32622. "handlestatus": {
  32623. "description": "处理状态",
  32624. "type": "integer"
  32625. },
  32626. "marginvalue": {
  32627. "description": "期初均价",
  32628. "type": "number"
  32629. },
  32630. "marketid": {
  32631. "description": "市场ID",
  32632. "type": "integer"
  32633. },
  32634. "matchaccountid": {
  32635. "description": "挂牌方资金账号",
  32636. "type": "integer"
  32637. },
  32638. "matchuserid": {
  32639. "description": "挂牌方用户id",
  32640. "type": "integer"
  32641. },
  32642. "matchusername": {
  32643. "description": "挂牌方用户名称(已脱敏)",
  32644. "type": "string"
  32645. },
  32646. "minivalue": {
  32647. "description": "现货商品最小变动值",
  32648. "type": "integer"
  32649. },
  32650. "optioncompare": {
  32651. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32652. "type": "string"
  32653. },
  32654. "orderqty": {
  32655. "description": "挂牌数量",
  32656. "type": "integer"
  32657. },
  32658. "refprice": {
  32659. "description": "参考价格",
  32660. "type": "string"
  32661. },
  32662. "retcode": {
  32663. "description": "委托返回代码",
  32664. "type": "integer"
  32665. },
  32666. "templatename": {
  32667. "description": "履约方式(履约模板名称)",
  32668. "type": "string"
  32669. },
  32670. "tradedate": {
  32671. "description": "交易日(yyyyMMdd)",
  32672. "type": "string"
  32673. },
  32674. "userid": {
  32675. "description": "摘牌人用户ID(议价人ID)",
  32676. "type": "integer"
  32677. },
  32678. "username": {
  32679. "description": "议价人名字(已脱敏)",
  32680. "type": "string"
  32681. },
  32682. "validtime": {
  32683. "description": "有效期限",
  32684. "type": "string"
  32685. },
  32686. "warehouseid": {
  32687. "description": "仓库ID",
  32688. "type": "integer"
  32689. },
  32690. "warehousename": {
  32691. "description": "仓库名称",
  32692. "type": "string"
  32693. },
  32694. "wrbargainid": {
  32695. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  32696. "type": "string"
  32697. },
  32698. "wrfactortypeid": {
  32699. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32700. "type": "string"
  32701. },
  32702. "wrfactortypename": {
  32703. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32704. "type": "string"
  32705. },
  32706. "wrstandardcode": {
  32707. "description": "现货商品代码",
  32708. "type": "string"
  32709. },
  32710. "wrstandardid": {
  32711. "description": "现货商品ID",
  32712. "type": "integer"
  32713. },
  32714. "wrstandardname": {
  32715. "description": "商品名称",
  32716. "type": "string"
  32717. },
  32718. "wrtradeorderid": {
  32719. "description": "关联委托单ID",
  32720. "type": "string"
  32721. },
  32722. "wrtypename": {
  32723. "description": "商品",
  32724. "type": "string"
  32725. }
  32726. }
  32727. },
  32728. "models.Warehouseinfo": {
  32729. "type": "object",
  32730. "required": [
  32731. "autoid",
  32732. "warehousecode"
  32733. ],
  32734. "properties": {
  32735. "address": {
  32736. "description": "详细地址",
  32737. "type": "string"
  32738. },
  32739. "areauserid": {
  32740. "description": "所属机构",
  32741. "type": "integer"
  32742. },
  32743. "autoid": {
  32744. "description": "自增ID",
  32745. "type": "integer"
  32746. },
  32747. "cityid": {
  32748. "description": "市",
  32749. "type": "integer"
  32750. },
  32751. "contactname": {
  32752. "description": "联系人",
  32753. "type": "string"
  32754. },
  32755. "contactnum": {
  32756. "description": "联系电话",
  32757. "type": "string"
  32758. },
  32759. "countryid": {
  32760. "description": "国家",
  32761. "type": "integer"
  32762. },
  32763. "createtime": {
  32764. "description": "创建时间",
  32765. "type": "string"
  32766. },
  32767. "districtid": {
  32768. "description": "区",
  32769. "type": "integer"
  32770. },
  32771. "hasvideo": {
  32772. "description": "是否有视频 - 0:无 1:有",
  32773. "type": "integer"
  32774. },
  32775. "provinceid": {
  32776. "description": "省",
  32777. "type": "integer"
  32778. },
  32779. "remark": {
  32780. "description": "审核备注",
  32781. "type": "string"
  32782. },
  32783. "videourl": {
  32784. "description": "视频地址",
  32785. "type": "string"
  32786. },
  32787. "warehousecode": {
  32788. "description": "仓库代码",
  32789. "type": "string"
  32790. },
  32791. "warehousename": {
  32792. "description": "仓库名称",
  32793. "type": "string"
  32794. },
  32795. "warehousestatus": {
  32796. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  32797. "type": "integer"
  32798. },
  32799. "warehousetype": {
  32800. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  32801. "type": "integer"
  32802. }
  32803. }
  32804. },
  32805. "models.WrAverageTradePrice": {
  32806. "type": "object",
  32807. "properties": {
  32808. "averageprice": {
  32809. "description": "期初均价",
  32810. "type": "number"
  32811. },
  32812. "tradedate": {
  32813. "description": "交易日yyyymm",
  32814. "type": "string"
  32815. }
  32816. }
  32817. },
  32818. "models.WrBrandAndYears": {
  32819. "type": "object",
  32820. "properties": {
  32821. "brandlst": {
  32822. "description": "品牌列表",
  32823. "type": "array",
  32824. "items": {
  32825. "$ref": "#/definitions/models.DgFactoryItem"
  32826. }
  32827. },
  32828. "yearslst": {
  32829. "description": "年份列表",
  32830. "type": "array",
  32831. "items": {
  32832. "$ref": "#/definitions/models.DgFactoryItem"
  32833. }
  32834. }
  32835. }
  32836. },
  32837. "models.WrBsGoodsInfo": {
  32838. "type": "object",
  32839. "properties": {
  32840. "buyorsell": {
  32841. "description": "买卖方向 0-买 1-卖",
  32842. "type": "integer"
  32843. },
  32844. "goodsid": {
  32845. "description": "交易合约ID",
  32846. "type": "integer"
  32847. },
  32848. "lstitem": {
  32849. "description": "商品信息项",
  32850. "type": "array",
  32851. "items": {
  32852. "$ref": "#/definitions/models.WrTypeItem"
  32853. }
  32854. },
  32855. "lststep": {
  32856. "description": "履约规则",
  32857. "type": "array",
  32858. "items": {
  32859. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32860. }
  32861. }
  32862. }
  32863. },
  32864. "models.WrBuybackDetail": {
  32865. "type": "object",
  32866. "properties": {
  32867. "buybackamount": {
  32868. "description": "回购金额",
  32869. "type": "number"
  32870. },
  32871. "buybackqty": {
  32872. "description": "回购数量",
  32873. "type": "number"
  32874. },
  32875. "buybackreleasemargin": {
  32876. "description": "回购释放保证金",
  32877. "type": "number"
  32878. },
  32879. "buybacktime": {
  32880. "description": "回购时间",
  32881. "type": "string"
  32882. },
  32883. "errordesc": {
  32884. "description": "错误描述",
  32885. "type": "string"
  32886. },
  32887. "handlestatus": {
  32888. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  32889. "type": "integer"
  32890. },
  32891. "relatedwrid": {
  32892. "description": "关联仓单ID",
  32893. "type": "integer"
  32894. },
  32895. "scfcontractid": {
  32896. "description": "SCF合同ID",
  32897. "type": "string"
  32898. },
  32899. "scfwrbuybackid": {
  32900. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  32901. "type": "integer"
  32902. },
  32903. "tradedate": {
  32904. "description": "交易日(yyyyMMdd)",
  32905. "type": "string"
  32906. }
  32907. }
  32908. },
  32909. "models.WrClientAdSpaceConfig": {
  32910. "type": "object",
  32911. "properties": {
  32912. "adspaceid": {
  32913. "description": "广告位ID",
  32914. "type": "integer"
  32915. },
  32916. "adspacename": {
  32917. "description": "广告位名称",
  32918. "type": "string"
  32919. },
  32920. "adspacetype": {
  32921. "description": "广告位类型 - 1:固定广告位",
  32922. "type": "integer"
  32923. },
  32924. "areauserid": {
  32925. "description": "所属机构ID",
  32926. "type": "integer"
  32927. },
  32928. "createdate": {
  32929. "description": "创建时间",
  32930. "type": "string"
  32931. },
  32932. "imagepath": {
  32933. "description": "图片",
  32934. "type": "string"
  32935. },
  32936. "modifierid": {
  32937. "description": "操作人",
  32938. "type": "integer"
  32939. },
  32940. "recsize": {
  32941. "description": "推荐尺寸",
  32942. "type": "string"
  32943. },
  32944. "title": {
  32945. "description": "标题",
  32946. "type": "string"
  32947. },
  32948. "updatedate": {
  32949. "description": "更新时间",
  32950. "type": "string"
  32951. },
  32952. "urlcontent": {
  32953. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  32954. "type": "string"
  32955. },
  32956. "urltype": {
  32957. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  32958. "type": "integer"
  32959. }
  32960. }
  32961. },
  32962. "models.WrDeliveryAvalidHoldLB": {
  32963. "type": "object",
  32964. "properties": {
  32965. "accountid": {
  32966. "description": "资金账号",
  32967. "type": "integer"
  32968. },
  32969. "avalidqty": {
  32970. "description": "数量(可点选数量)",
  32971. "type": "number"
  32972. },
  32973. "deliverygoodsid": {
  32974. "description": "品种id",
  32975. "type": "integer"
  32976. },
  32977. "enumdicname": {
  32978. "description": "单位名称",
  32979. "type": "string"
  32980. },
  32981. "goodsid": {
  32982. "description": "x合约商品id",
  32983. "type": "integer"
  32984. },
  32985. "ladingbillid": {
  32986. "description": "提单id",
  32987. "type": "string"
  32988. },
  32989. "pgoodscode": {
  32990. "description": "p商品代码(点价合约)",
  32991. "type": "string"
  32992. },
  32993. "pgoodsid": {
  32994. "description": "p商品id(点价合约)",
  32995. "type": "integer"
  32996. },
  32997. "pgoodsname": {
  32998. "description": "p商品名称(点价合约)",
  32999. "type": "string"
  33000. },
  33001. "pricemove": {
  33002. "description": "升贴水",
  33003. "type": "number"
  33004. },
  33005. "subnum": {
  33006. "description": "提单子id",
  33007. "type": "integer"
  33008. },
  33009. "userid": {
  33010. "description": "用户id",
  33011. "type": "integer"
  33012. },
  33013. "username": {
  33014. "description": "仓单持有人",
  33015. "type": "string"
  33016. },
  33017. "warehousecode": {
  33018. "description": "仓库代码",
  33019. "type": "string"
  33020. },
  33021. "warehouseid": {
  33022. "description": "仓库id",
  33023. "type": "integer"
  33024. },
  33025. "warehousename": {
  33026. "description": "仓库名称",
  33027. "type": "string"
  33028. },
  33029. "wrfactortypeid": {
  33030. "description": "仓单要素id",
  33031. "type": "string"
  33032. },
  33033. "wrstandardcode": {
  33034. "description": "品代码",
  33035. "type": "string"
  33036. },
  33037. "wrstandardid": {
  33038. "description": "品类d",
  33039. "type": "integer"
  33040. },
  33041. "wrstandardname": {
  33042. "description": "品类名称",
  33043. "type": "string"
  33044. },
  33045. "wrtypename": {
  33046. "description": "商品",
  33047. "type": "string"
  33048. },
  33049. "xgoodscode": {
  33050. "description": "x合约代码",
  33051. "type": "string"
  33052. },
  33053. "xgoodsname": {
  33054. "description": "x合约名称",
  33055. "type": "string"
  33056. }
  33057. }
  33058. },
  33059. "models.WrDeliveryDetail": {
  33060. "type": "object",
  33061. "properties": {
  33062. "accountid": {
  33063. "description": "账号ID",
  33064. "type": "integer"
  33065. },
  33066. "averageprice": {
  33067. "description": "期初均价",
  33068. "type": "number"
  33069. },
  33070. "begindate": {
  33071. "description": "开始交易日(yyyymmdd)",
  33072. "type": "string"
  33073. },
  33074. "buyorsell": {
  33075. "description": "方向 - 0:买 1:卖",
  33076. "type": "integer"
  33077. },
  33078. "deliveryamount": {
  33079. "description": "货款金额(X总货款+P总货款)",
  33080. "type": "number"
  33081. },
  33082. "deliveryid": {
  33083. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33084. "type": "string"
  33085. },
  33086. "deliveryorderid": {
  33087. "description": "申报单号",
  33088. "type": "string"
  33089. },
  33090. "deliverypricemove": {
  33091. "description": "升贴水(升贴水总额)",
  33092. "type": "number"
  33093. },
  33094. "deliveryqty": {
  33095. "description": "交收数量(点选数量)",
  33096. "type": "number"
  33097. },
  33098. "deliverystatus": {
  33099. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33100. "type": "integer"
  33101. },
  33102. "deliverytime": {
  33103. "description": "交割时间",
  33104. "type": "string"
  33105. },
  33106. "deliverytotalamount": {
  33107. "description": "交收金额",
  33108. "type": "number"
  33109. },
  33110. "enddate": {
  33111. "description": "结束交易日(yyyymmdd)",
  33112. "type": "string"
  33113. },
  33114. "enumdicname": {
  33115. "description": "单位名称",
  33116. "type": "string"
  33117. },
  33118. "matchaccountid": {
  33119. "description": "对手账号ID",
  33120. "type": "integer"
  33121. },
  33122. "matchusername": {
  33123. "description": "对手方名称(仓单持有人)",
  33124. "type": "string"
  33125. },
  33126. "p1goodsremainamount": {
  33127. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33128. "type": "number"
  33129. },
  33130. "pdeliverycloseqty": {
  33131. "description": "p合约平仓数量",
  33132. "type": "number"
  33133. },
  33134. "pdeliveryprice": {
  33135. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33136. "type": "number"
  33137. },
  33138. "pgoodscode": {
  33139. "description": "商品代码",
  33140. "type": "string"
  33141. },
  33142. "pgoodsid": {
  33143. "description": "p点选合约id",
  33144. "type": "integer"
  33145. },
  33146. "pgoodsname": {
  33147. "description": "商品名称",
  33148. "type": "string"
  33149. },
  33150. "ppricemode": {
  33151. "description": "点价价格方式 - 1:商品价 2:固定值",
  33152. "type": "integer"
  33153. },
  33154. "tradedate": {
  33155. "description": "交易日(yyyymmdd)",
  33156. "type": "string"
  33157. },
  33158. "userid": {
  33159. "description": "用户id",
  33160. "type": "integer"
  33161. },
  33162. "username": {
  33163. "description": "用户名称",
  33164. "type": "string"
  33165. },
  33166. "warehousename": {
  33167. "description": "仓库名称",
  33168. "type": "string"
  33169. },
  33170. "wrfactortypeid": {
  33171. "description": "仓单要素类型ID",
  33172. "type": "string"
  33173. },
  33174. "wrtypename": {
  33175. "description": "商品",
  33176. "type": "string"
  33177. },
  33178. "xdeliverycloseqty": {
  33179. "description": "合约数量",
  33180. "type": "number"
  33181. },
  33182. "xgoodsamount": {
  33183. "description": "期初均价",
  33184. "type": "number"
  33185. },
  33186. "xgoodscode": {
  33187. "description": "商品代码",
  33188. "type": "string"
  33189. },
  33190. "xgoodsid": {
  33191. "description": "x交易合约ID",
  33192. "type": "integer"
  33193. },
  33194. "xgoodsname": {
  33195. "description": "商品名称",
  33196. "type": "string"
  33197. }
  33198. }
  33199. },
  33200. "models.WrDeliveryGoodsSection": {
  33201. "type": "object",
  33202. "properties": {
  33203. "dglst": {
  33204. "description": "板块商品列表",
  33205. "type": "array",
  33206. "items": {
  33207. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  33208. }
  33209. },
  33210. "imagepath": {
  33211. "description": "图片地址",
  33212. "type": "string"
  33213. },
  33214. "orderindex": {
  33215. "description": "排序",
  33216. "type": "integer"
  33217. },
  33218. "sectionid": {
  33219. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  33220. "type": "integer"
  33221. },
  33222. "sectionname": {
  33223. "description": "版块名称",
  33224. "type": "string"
  33225. },
  33226. "sectiontype": {
  33227. "description": "版块类型 - 1:指数版块 2:普通版块",
  33228. "type": "integer"
  33229. }
  33230. }
  33231. },
  33232. "models.WrDeliveryGoodsSectionConfig": {
  33233. "type": "object",
  33234. "properties": {
  33235. "deliverygoodscode": {
  33236. "description": "现货商品代码",
  33237. "type": "string"
  33238. },
  33239. "deliverygoodsid": {
  33240. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  33241. "type": "integer"
  33242. },
  33243. "deliverygoodsname": {
  33244. "description": "现货商品名称",
  33245. "type": "string"
  33246. },
  33247. "orderindex": {
  33248. "description": "排序",
  33249. "type": "integer"
  33250. }
  33251. }
  33252. },
  33253. "models.WrDraftUserInfo": {
  33254. "type": "object",
  33255. "properties": {
  33256. "address": {
  33257. "description": "地址",
  33258. "type": "string"
  33259. },
  33260. "attachment1": {
  33261. "description": "附件1",
  33262. "type": "string"
  33263. },
  33264. "attachment2": {
  33265. "description": "附件2",
  33266. "type": "string"
  33267. },
  33268. "attachment3": {
  33269. "description": "附件3",
  33270. "type": "string"
  33271. },
  33272. "attachment4": {
  33273. "description": "附件4",
  33274. "type": "string"
  33275. },
  33276. "attachment5": {
  33277. "description": "附件5",
  33278. "type": "string"
  33279. },
  33280. "bankaccount": {
  33281. "description": "银行帐号 (加密存储)",
  33282. "type": "string"
  33283. },
  33284. "bankaccountname": {
  33285. "description": "收款人名称",
  33286. "type": "string"
  33287. },
  33288. "bankcardfrontphotourl": {
  33289. "description": "银行卡正面照地址",
  33290. "type": "string"
  33291. },
  33292. "bankid": {
  33293. "description": "银行编码",
  33294. "type": "string"
  33295. },
  33296. "bankname": {
  33297. "description": "银行名称",
  33298. "type": "string"
  33299. },
  33300. "birthday": {
  33301. "description": "生日(个人:年月日)",
  33302. "type": "string"
  33303. },
  33304. "biznature": {
  33305. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33306. "type": "integer"
  33307. },
  33308. "bizscope": {
  33309. "description": "企业经营范围(企业)",
  33310. "type": "string"
  33311. },
  33312. "biztype": {
  33313. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  33314. "type": "integer"
  33315. },
  33316. "cardbackphotourl": {
  33317. "description": "证件背面图片地址",
  33318. "type": "string"
  33319. },
  33320. "cardfrontphotourl": {
  33321. "description": "证件正面图片地址",
  33322. "type": "string"
  33323. },
  33324. "cardnum": {
  33325. "description": "证件号码(加密存储)",
  33326. "type": "string"
  33327. },
  33328. "cardtypeid": {
  33329. "description": "证件类型ID",
  33330. "type": "integer"
  33331. },
  33332. "cityid": {
  33333. "description": "市",
  33334. "type": "integer"
  33335. },
  33336. "company": {
  33337. "description": "公司(个人)",
  33338. "type": "string"
  33339. },
  33340. "contactcardbackphotourl": {
  33341. "description": "联系人证件背面图片地址",
  33342. "type": "string"
  33343. },
  33344. "contactcardfrontphotourl": {
  33345. "description": "联系人证件正面图片地址",
  33346. "type": "string"
  33347. },
  33348. "contactname": {
  33349. "description": "联系人",
  33350. "type": "string"
  33351. },
  33352. "countryid": {
  33353. "description": "国家",
  33354. "type": "integer"
  33355. },
  33356. "createtime": {
  33357. "description": "创建时间",
  33358. "type": "string"
  33359. },
  33360. "creatorid": {
  33361. "description": "创建人",
  33362. "type": "integer"
  33363. },
  33364. "creditquota": {
  33365. "description": "授信额度(金瑞)",
  33366. "type": "number"
  33367. },
  33368. "customername": {
  33369. "description": "客户名称(企业名称)",
  33370. "type": "string"
  33371. },
  33372. "districtid": {
  33373. "description": "地区",
  33374. "type": "integer"
  33375. },
  33376. "email": {
  33377. "description": "邮件(加密存储)",
  33378. "type": "string"
  33379. },
  33380. "fax": {
  33381. "description": "传真(加密存储)",
  33382. "type": "string"
  33383. },
  33384. "halfbodyphotourl": {
  33385. "description": "半身照地址",
  33386. "type": "string"
  33387. },
  33388. "hasencrypt": {
  33389. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33390. "type": "integer"
  33391. },
  33392. "headurl": {
  33393. "description": "头像地址",
  33394. "type": "string"
  33395. },
  33396. "legalcardbackphotourl": {
  33397. "description": "法人身份证背面照地址",
  33398. "type": "string"
  33399. },
  33400. "legalcardfrontphotourl": {
  33401. "description": "法人身份证正面照地址",
  33402. "type": "string"
  33403. },
  33404. "legalpersonname": {
  33405. "description": "法人姓名(企业)",
  33406. "type": "string"
  33407. },
  33408. "mobile": {
  33409. "description": "手机号码(加密存储)",
  33410. "type": "string"
  33411. },
  33412. "mobile2": {
  33413. "description": "手机号码[明文-尚志]",
  33414. "type": "string"
  33415. },
  33416. "modifierid": {
  33417. "description": "修改人",
  33418. "type": "integer"
  33419. },
  33420. "modifiertime": {
  33421. "description": "修改时间",
  33422. "type": "string"
  33423. },
  33424. "needinvoice": {
  33425. "description": "是否需要发票 - 0:不需要 1:需要",
  33426. "type": "integer"
  33427. },
  33428. "nickname": {
  33429. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33430. "type": "string"
  33431. },
  33432. "openmode": {
  33433. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  33434. "type": "integer"
  33435. },
  33436. "otherurl": {
  33437. "description": "其它图片地址[使用分号分隔]",
  33438. "type": "string"
  33439. },
  33440. "postalcode": {
  33441. "description": "邮政编码",
  33442. "type": "string"
  33443. },
  33444. "provinceid": {
  33445. "description": "省",
  33446. "type": "integer"
  33447. },
  33448. "proxystatementurl": {
  33449. "description": "授权委托书",
  33450. "type": "string"
  33451. },
  33452. "qq": {
  33453. "description": "QQ(加密存储",
  33454. "type": "string"
  33455. },
  33456. "remark": {
  33457. "description": "备注",
  33458. "type": "string"
  33459. },
  33460. "sex": {
  33461. "description": "用户性别 0: 女 1: 男",
  33462. "type": "integer"
  33463. },
  33464. "signpdfurl": {
  33465. "description": "签约pdf文件",
  33466. "type": "string"
  33467. },
  33468. "taxpayernum": {
  33469. "description": "纳税人识别号",
  33470. "type": "string"
  33471. },
  33472. "telphone": {
  33473. "description": "联系电话(加密存储)",
  33474. "type": "string"
  33475. },
  33476. "userid": {
  33477. "description": "用户ID",
  33478. "type": "integer"
  33479. },
  33480. "userinfotype": {
  33481. "description": "用户信息类型 - 1:个人 2:企业",
  33482. "type": "integer"
  33483. },
  33484. "userstatus": {
  33485. "description": "用户状态 - 1:正常 2:注销",
  33486. "type": "integer"
  33487. },
  33488. "usertype": {
  33489. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  33490. "type": "integer"
  33491. },
  33492. "wechat": {
  33493. "description": "微信(加密存储)",
  33494. "type": "string"
  33495. },
  33496. "wskhinfo": {
  33497. "description": "开户申请信息(JSON)",
  33498. "type": "string"
  33499. }
  33500. }
  33501. },
  33502. "models.WrFAProductDetail": {
  33503. "type": "object",
  33504. "properties": {
  33505. "accountid": {
  33506. "description": "资金账号",
  33507. "type": "integer"
  33508. },
  33509. "areauserid": {
  33510. "description": "金融机构ID",
  33511. "type": "integer"
  33512. },
  33513. "financingdays": {
  33514. "description": "天数(天)",
  33515. "type": "integer"
  33516. },
  33517. "interestminlen": {
  33518. "description": "最小起息天数",
  33519. "type": "integer"
  33520. },
  33521. "interestrate": {
  33522. "description": "利率",
  33523. "type": "number"
  33524. },
  33525. "interestratemode": {
  33526. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33527. "type": "integer"
  33528. },
  33529. "interestsettlemode": {
  33530. "description": "结息方式 - 1:按日结息 3:按月结息",
  33531. "type": "integer"
  33532. },
  33533. "interestsettlevalue": {
  33534. "description": "结息方式值",
  33535. "type": "integer"
  33536. },
  33537. "isautoloan": {
  33538. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  33539. "type": "integer"
  33540. },
  33541. "loantag": {
  33542. "description": "放款标识: \"放款快\" 或者为空",
  33543. "type": "string"
  33544. },
  33545. "marginratio": {
  33546. "description": "保证金比率质押率 - [仓单质押]",
  33547. "type": "number"
  33548. },
  33549. "productdetailid": {
  33550. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  33551. "type": "integer"
  33552. },
  33553. "productid": {
  33554. "description": "金融产品ID",
  33555. "type": "integer"
  33556. },
  33557. "productname": {
  33558. "description": "产品名称",
  33559. "type": "string"
  33560. },
  33561. "updatetime": {
  33562. "description": "更新时间",
  33563. "type": "string"
  33564. },
  33565. "username": {
  33566. "description": "融出方",
  33567. "type": "string"
  33568. }
  33569. }
  33570. },
  33571. "models.WrFactorTypeInfo": {
  33572. "type": "object",
  33573. "properties": {
  33574. "deliverygoodscode": {
  33575. "description": "品种代码",
  33576. "type": "string"
  33577. },
  33578. "deliverygoodsname": {
  33579. "description": "品种名称",
  33580. "type": "string"
  33581. },
  33582. "dgfactoryitemid": {
  33583. "description": "选择项id",
  33584. "type": "integer"
  33585. },
  33586. "dgfactoryitemtypeid": {
  33587. "description": "要素选择项ID (1-仓库 2-品牌)",
  33588. "type": "integer"
  33589. },
  33590. "dgfactoryitemvalue": {
  33591. "description": "要素项值",
  33592. "type": "string"
  33593. },
  33594. "itemtypename": {
  33595. "description": "要素项名称",
  33596. "type": "string"
  33597. },
  33598. "optioncompare": {
  33599. "description": "选择比较串",
  33600. "type": "string"
  33601. },
  33602. "warehouseid": {
  33603. "description": "仓库id",
  33604. "type": "integer"
  33605. },
  33606. "wrfactortypeid": {
  33607. "description": "仓单要素ID",
  33608. "type": "string"
  33609. },
  33610. "wrfactortypename": {
  33611. "description": "要素名称",
  33612. "type": "string"
  33613. },
  33614. "wrfactortypename2": {
  33615. "description": "要素名称(不含仓库)",
  33616. "type": "string"
  33617. },
  33618. "wrstandardcode": {
  33619. "description": "品类代码",
  33620. "type": "string"
  33621. },
  33622. "wrstandardid": {
  33623. "description": "品类id",
  33624. "type": "integer"
  33625. },
  33626. "wrstandardname": {
  33627. "description": "品类名称",
  33628. "type": "string"
  33629. }
  33630. }
  33631. },
  33632. "models.WrFilterItem": {
  33633. "type": "object",
  33634. "properties": {
  33635. "itemcode": {
  33636. "description": "代码",
  33637. "type": "string"
  33638. },
  33639. "itemid": {
  33640. "description": "项id",
  33641. "type": "integer"
  33642. },
  33643. "itemname": {
  33644. "description": "名称",
  33645. "type": "string"
  33646. },
  33647. "itemtype": {
  33648. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  33649. "type": "integer"
  33650. }
  33651. }
  33652. },
  33653. "models.WrFinanceBuyApply": {
  33654. "type": "object",
  33655. "properties": {
  33656. "applydate": {
  33657. "description": "申请时间",
  33658. "type": "string"
  33659. },
  33660. "applystatus": {
  33661. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  33662. "type": "integer"
  33663. },
  33664. "applyuserid": {
  33665. "description": "申请人",
  33666. "type": "integer"
  33667. },
  33668. "auditdate": {
  33669. "description": "审核时间",
  33670. "type": "string"
  33671. },
  33672. "auditremark": {
  33673. "description": "审核备注",
  33674. "type": "string"
  33675. },
  33676. "audituserid": {
  33677. "description": "审核人",
  33678. "type": "integer"
  33679. },
  33680. "buyaccountid": {
  33681. "description": "买方资金账号",
  33682. "type": "integer"
  33683. },
  33684. "buyorsell": {
  33685. "description": "买卖 - 0:买 1:卖",
  33686. "type": "integer"
  33687. },
  33688. "buyuserid": {
  33689. "description": "买方用户ID",
  33690. "type": "integer"
  33691. },
  33692. "buyusername": {
  33693. "description": "买方名称",
  33694. "type": "string"
  33695. },
  33696. "buywrtradeorderid": {
  33697. "description": "融资方买委托单ID",
  33698. "type": "string"
  33699. },
  33700. "deliverygoodscode": {
  33701. "description": "品种代码",
  33702. "type": "string"
  33703. },
  33704. "deliverygoodsid": {
  33705. "description": "品种ID",
  33706. "type": "integer"
  33707. },
  33708. "deliverygoodsname": {
  33709. "description": "品种名称",
  33710. "type": "string"
  33711. },
  33712. "deliverymonth": {
  33713. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  33714. "type": "string"
  33715. },
  33716. "enumdicname": {
  33717. "description": "单位名称",
  33718. "type": "string"
  33719. },
  33720. "financeaccountid": {
  33721. "description": "融资方资金帐户ID",
  33722. "type": "integer"
  33723. },
  33724. "financeapplyid": {
  33725. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33726. "type": "string"
  33727. },
  33728. "financeareauserid": {
  33729. "description": "融资方用户ID",
  33730. "type": "string"
  33731. },
  33732. "financename": {
  33733. "description": "融出方名称",
  33734. "type": "string"
  33735. },
  33736. "financetype": {
  33737. "description": "融资类型 1-融资回购",
  33738. "type": "integer"
  33739. },
  33740. "financingdays": {
  33741. "description": "天数(天)",
  33742. "type": "integer"
  33743. },
  33744. "freezebuymargin": {
  33745. "description": "冻结融资保证金(买方)",
  33746. "type": "number"
  33747. },
  33748. "handleremark": {
  33749. "description": "处理备注",
  33750. "type": "string"
  33751. },
  33752. "handlestatus": {
  33753. "description": "处理状态",
  33754. "type": "integer"
  33755. },
  33756. "interestminlen": {
  33757. "description": "最小起息天数",
  33758. "type": "integer"
  33759. },
  33760. "interestrate": {
  33761. "description": "利率",
  33762. "type": "number"
  33763. },
  33764. "interestratemode": {
  33765. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33766. "type": "integer"
  33767. },
  33768. "interestsettlemode": {
  33769. "description": "结息方式 - 1:按日结息 3:按月结息",
  33770. "type": "integer"
  33771. },
  33772. "interestsettlevalue": {
  33773. "description": "结息方式值",
  33774. "type": "integer"
  33775. },
  33776. "isautoloan": {
  33777. "description": "是否自动放款 - 0:手动 1:自动",
  33778. "type": "integer"
  33779. },
  33780. "marginratio": {
  33781. "description": "保证金比率质押率 - [仓单质押]",
  33782. "type": "number"
  33783. },
  33784. "marketid": {
  33785. "description": "市场ID",
  33786. "type": "integer"
  33787. },
  33788. "minivalue": {
  33789. "description": "现货商品最小变动值",
  33790. "type": "integer"
  33791. },
  33792. "optioncompare": {
  33793. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33794. "type": "string"
  33795. },
  33796. "orderqty": {
  33797. "description": "委托数量(商品数量)",
  33798. "type": "number"
  33799. },
  33800. "productdetailid": {
  33801. "description": "产品组合ID",
  33802. "type": "integer"
  33803. },
  33804. "productid": {
  33805. "description": "金融产品ID",
  33806. "type": "integer"
  33807. },
  33808. "productname": {
  33809. "description": "产品名称",
  33810. "type": "string"
  33811. },
  33812. "remark": {
  33813. "description": "备注",
  33814. "type": "string"
  33815. },
  33816. "scfcontractid": {
  33817. "description": "仓单回购合同ID",
  33818. "type": "string"
  33819. },
  33820. "sellaccountid": {
  33821. "description": "卖方资金账号",
  33822. "type": "integer"
  33823. },
  33824. "selluserid": {
  33825. "description": "卖方用户ID",
  33826. "type": "integer"
  33827. },
  33828. "sellwrtradeorderid": {
  33829. "description": "卖方委托单ID",
  33830. "type": "string"
  33831. },
  33832. "tradeamount": {
  33833. "description": "成交金额(借款金额)",
  33834. "type": "number"
  33835. },
  33836. "tradedate": {
  33837. "description": "交易日(yyyyMMdd)",
  33838. "type": "string"
  33839. },
  33840. "tradeprice": {
  33841. "description": "成交价格",
  33842. "type": "number"
  33843. },
  33844. "warehouseid": {
  33845. "description": "仓库ID",
  33846. "type": "integer"
  33847. },
  33848. "warehousename": {
  33849. "description": "仓库名称",
  33850. "type": "string"
  33851. },
  33852. "wrfactortypeid": {
  33853. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33854. "type": "string"
  33855. },
  33856. "wrfactortypename": {
  33857. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33858. "type": "string"
  33859. },
  33860. "wrpricetype": {
  33861. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  33862. "type": "integer"
  33863. },
  33864. "wrstandardcode": {
  33865. "description": "现货商品代码",
  33866. "type": "string"
  33867. },
  33868. "wrstandardid": {
  33869. "description": "现货商品ID",
  33870. "type": "integer"
  33871. },
  33872. "wrstandardname": {
  33873. "description": "商品名称",
  33874. "type": "string"
  33875. },
  33876. "wrtypename": {
  33877. "description": "商品",
  33878. "type": "string"
  33879. }
  33880. }
  33881. },
  33882. "models.WrFriendApply": {
  33883. "type": "object",
  33884. "properties": {
  33885. "applicantid": {
  33886. "description": "申请人",
  33887. "type": "integer"
  33888. },
  33889. "applyname": {
  33890. "description": "申请人名称",
  33891. "type": "string"
  33892. },
  33893. "applysrc": {
  33894. "description": "申请来源 - 1:管理端 2:终端",
  33895. "type": "integer"
  33896. },
  33897. "applystatus": {
  33898. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33899. "type": "integer"
  33900. },
  33901. "applytime": {
  33902. "description": "申请时间",
  33903. "type": "string"
  33904. },
  33905. "auditname": {
  33906. "description": "审核人名称",
  33907. "type": "string"
  33908. },
  33909. "auditorid": {
  33910. "description": "审核人",
  33911. "type": "integer"
  33912. },
  33913. "auditremark": {
  33914. "description": "审核备注",
  33915. "type": "string"
  33916. },
  33917. "auditsrc": {
  33918. "description": "审核来源 - 1:管理端 2:终端",
  33919. "type": "integer"
  33920. },
  33921. "audittime": {
  33922. "description": "审核时间",
  33923. "type": "string"
  33924. },
  33925. "friendapplyid": {
  33926. "description": "申请ID(SEQ_FRIENDAPPLY)",
  33927. "type": "string"
  33928. },
  33929. "friendname": {
  33930. "description": "好友名字(已脱敏)",
  33931. "type": "string"
  33932. },
  33933. "frienduserid": {
  33934. "description": "好友用户ID",
  33935. "type": "string"
  33936. },
  33937. "remark": {
  33938. "description": "备注",
  33939. "type": "string"
  33940. },
  33941. "userid": {
  33942. "description": "申请人用户ID",
  33943. "type": "integer"
  33944. }
  33945. }
  33946. },
  33947. "models.WrFtDeliveryGoods": {
  33948. "type": "object",
  33949. "properties": {
  33950. "deliverygoodscode": {
  33951. "description": "品种代码",
  33952. "type": "string"
  33953. },
  33954. "deliverygoodsid": {
  33955. "description": "品种ID",
  33956. "type": "integer"
  33957. },
  33958. "deliverygoodsname": {
  33959. "description": "品种名称",
  33960. "type": "string"
  33961. },
  33962. "wdlst": {
  33963. "description": "商品列表",
  33964. "type": "array",
  33965. "items": {
  33966. "$ref": "#/definitions/models.WrFtWrstandard"
  33967. }
  33968. }
  33969. }
  33970. },
  33971. "models.WrFtWrstandard": {
  33972. "type": "object",
  33973. "properties": {
  33974. "enumdicname": {
  33975. "description": "单位名称",
  33976. "type": "string"
  33977. },
  33978. "minivalue": {
  33979. "description": "最小变动值",
  33980. "type": "integer"
  33981. },
  33982. "wrstandardcode": {
  33983. "description": "现货商品代码",
  33984. "type": "string"
  33985. },
  33986. "wrstandardid": {
  33987. "description": "现货商品ID",
  33988. "type": "integer"
  33989. },
  33990. "wrstandardname": {
  33991. "description": "商品名称",
  33992. "type": "string"
  33993. }
  33994. }
  33995. },
  33996. "models.WrGoodsInfo": {
  33997. "type": "object",
  33998. "properties": {
  33999. "haswr": {
  34000. "description": "0:仓单预售 1:仓单贸易",
  34001. "type": "integer"
  34002. },
  34003. "lstitem": {
  34004. "description": "商品信息项",
  34005. "type": "array",
  34006. "items": {
  34007. "$ref": "#/definitions/models.WrTypeItem"
  34008. }
  34009. },
  34010. "lststep": {
  34011. "description": "履约规则",
  34012. "type": "array",
  34013. "items": {
  34014. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34015. }
  34016. },
  34017. "marketid": {
  34018. "description": "市场id",
  34019. "type": "integer"
  34020. }
  34021. }
  34022. },
  34023. "models.WrGoodsPerformanceStep": {
  34024. "type": "object",
  34025. "properties": {
  34026. "autoid": {
  34027. "description": "AutoID",
  34028. "type": "integer"
  34029. },
  34030. "isauto": {
  34031. "description": "是否自动 - 0:不自动 1:自动",
  34032. "type": "integer"
  34033. },
  34034. "remark": {
  34035. "description": "备注",
  34036. "type": "string"
  34037. },
  34038. "stepdate": {
  34039. "description": "天数信息(T+N)",
  34040. "type": "string"
  34041. },
  34042. "stepdays": {
  34043. "description": "距离上一步天数",
  34044. "type": "integer"
  34045. },
  34046. "stepindex": {
  34047. "description": "步骤序号",
  34048. "type": "integer"
  34049. },
  34050. "stepinfo": {
  34051. "description": "步骤信息(步骤名称+步骤值)",
  34052. "type": "string"
  34053. },
  34054. "steptypeid": {
  34055. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34056. "type": "integer"
  34057. },
  34058. "steptypename": {
  34059. "description": "步骤名称",
  34060. "type": "string"
  34061. },
  34062. "stepvalue": {
  34063. "description": "期初均价",
  34064. "type": "number"
  34065. },
  34066. "templateid": {
  34067. "description": "履约计划模板ID",
  34068. "type": "integer"
  34069. }
  34070. }
  34071. },
  34072. "models.WrHoldLB": {
  34073. "type": "object",
  34074. "properties": {
  34075. "accountid": {
  34076. "description": "持有人帐户ID",
  34077. "type": "integer"
  34078. },
  34079. "bannerpicurl": {
  34080. "description": "Banner图",
  34081. "type": "string"
  34082. },
  34083. "createtime": {
  34084. "description": "创建时间(过户时间)",
  34085. "type": "string"
  34086. },
  34087. "deliverygoodscode": {
  34088. "description": "品种代码",
  34089. "type": "string"
  34090. },
  34091. "deliverygoodsid": {
  34092. "description": "品种ID",
  34093. "type": "integer"
  34094. },
  34095. "deliverygoodsname": {
  34096. "description": "品种名称",
  34097. "type": "string"
  34098. },
  34099. "enableqty": {
  34100. "description": "可用数量",
  34101. "type": "number"
  34102. },
  34103. "enumdicname": {
  34104. "description": "单位名称",
  34105. "type": "string"
  34106. },
  34107. "freezerqty": {
  34108. "description": "冻结数量",
  34109. "type": "number"
  34110. },
  34111. "ladingbillid": {
  34112. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34113. "type": "string"
  34114. },
  34115. "minivalue": {
  34116. "description": "现货商品最小变动值",
  34117. "type": "integer"
  34118. },
  34119. "optioncompare": {
  34120. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34121. "type": "string"
  34122. },
  34123. "parentsubnum": {
  34124. "description": "拆分父子单号",
  34125. "type": "integer"
  34126. },
  34127. "pledgeqty": {
  34128. "description": "质押数量",
  34129. "type": "number"
  34130. },
  34131. "qty": {
  34132. "description": "数量",
  34133. "type": "number"
  34134. },
  34135. "subnum": {
  34136. "description": "提单子单号",
  34137. "type": "integer"
  34138. },
  34139. "thumurls": {
  34140. "description": "缩略图",
  34141. "type": "string"
  34142. },
  34143. "tradedate": {
  34144. "description": "交易日(yyyyMMdd)",
  34145. "type": "string"
  34146. },
  34147. "userid": {
  34148. "description": "持有人ID",
  34149. "type": "integer"
  34150. },
  34151. "warehouseid": {
  34152. "description": "仓库ID",
  34153. "type": "integer"
  34154. },
  34155. "warehousename": {
  34156. "description": "仓库名称",
  34157. "type": "string"
  34158. },
  34159. "wrfactortypeid": {
  34160. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34161. "type": "string"
  34162. },
  34163. "wrfactortypename": {
  34164. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34165. "type": "string"
  34166. },
  34167. "wrholdeno": {
  34168. "description": "仓单编号",
  34169. "type": "string"
  34170. },
  34171. "wrid": {
  34172. "description": "仓单变更ID",
  34173. "type": "string"
  34174. },
  34175. "wrstandardcode": {
  34176. "description": "现货商品代码",
  34177. "type": "string"
  34178. },
  34179. "wrstandardid": {
  34180. "description": "现货商品ID",
  34181. "type": "integer"
  34182. },
  34183. "wrstandardname": {
  34184. "description": "商品名称",
  34185. "type": "string"
  34186. },
  34187. "wrtypename": {
  34188. "description": "商品",
  34189. "type": "string"
  34190. }
  34191. }
  34192. },
  34193. "models.WrMarketTradeConfig": {
  34194. "type": "object",
  34195. "properties": {
  34196. "basisdownratio": {
  34197. "description": "浮动价基差下限比例(仓单贸易)",
  34198. "type": "number"
  34199. },
  34200. "basisupratio": {
  34201. "description": "浮动价基差上限比例(仓单贸易)",
  34202. "type": "number"
  34203. },
  34204. "buychargealgorithm": {
  34205. "description": "买方手续费收取方式 1:比率 2:固定",
  34206. "type": "integer"
  34207. },
  34208. "buychargealgorithm2": {
  34209. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34210. "type": "integer"
  34211. },
  34212. "buychargealgorithmvalue": {
  34213. "description": "买方手续费设置值(交易所部分)",
  34214. "type": "number"
  34215. },
  34216. "buychargealgorithmvalue2": {
  34217. "description": "买方手续费设置值(会员部分)",
  34218. "type": "number"
  34219. },
  34220. "buychargealgorithmvalue3": {
  34221. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34222. "type": "number"
  34223. },
  34224. "buychargealgorithmvalue4": {
  34225. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34226. "type": "number"
  34227. },
  34228. "buyfirstmarginalgorithm": {
  34229. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34230. "type": "integer"
  34231. },
  34232. "buyfirstmarginvalue": {
  34233. "description": "买方出价保证金设置值 - [竞拍]",
  34234. "type": "number"
  34235. },
  34236. "buymarginalgorithm": {
  34237. "description": "买方保证金方式 - 1:比率 2:固定",
  34238. "type": "integer"
  34239. },
  34240. "buymarginvalue": {
  34241. "description": "买方保证金设置值",
  34242. "type": "number"
  34243. },
  34244. "buyreleaseratio": {
  34245. "description": "买方释放比率[2:分步履约]",
  34246. "type": "number"
  34247. },
  34248. "executemode": {
  34249. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34250. "type": "integer"
  34251. },
  34252. "executeside": {
  34253. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34254. "type": "integer"
  34255. },
  34256. "failedchargealgorithm": {
  34257. "description": "流拍手续费收取方式 1:比率 2:固定",
  34258. "type": "integer"
  34259. },
  34260. "failedchargevalue": {
  34261. "description": "流拍手续费设置值",
  34262. "type": "number"
  34263. },
  34264. "failedchargevalue2": {
  34265. "description": "流拍卖方手续费设置值",
  34266. "type": "number"
  34267. },
  34268. "holddays": {
  34269. "description": "合同期限[2:分步履约]",
  34270. "type": "integer"
  34271. },
  34272. "listingmode": {
  34273. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  34274. "type": "integer"
  34275. },
  34276. "marketid": {
  34277. "description": "市场ID-仓单贸易、竞拍、预售",
  34278. "type": "integer"
  34279. },
  34280. "minqty": {
  34281. "description": "最小执行量[2:分步履约]",
  34282. "type": "number"
  34283. },
  34284. "modifierid": {
  34285. "description": "修改人",
  34286. "type": "integer"
  34287. },
  34288. "nowrquotaflag": {
  34289. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  34290. "type": "integer"
  34291. },
  34292. "performancetempid": {
  34293. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34294. "type": "integer"
  34295. },
  34296. "performancetempid2": {
  34297. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34298. "type": "integer"
  34299. },
  34300. "performancetempid2s": {
  34301. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34302. "type": "string"
  34303. },
  34304. "performancetempids": {
  34305. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34306. "type": "string"
  34307. },
  34308. "performanceway": {
  34309. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34310. "type": "integer"
  34311. },
  34312. "sellchargealgorithm": {
  34313. "description": "卖方手续费收取方式 1:比率 2:固定",
  34314. "type": "integer"
  34315. },
  34316. "sellchargealgorithm2": {
  34317. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34318. "type": "integer"
  34319. },
  34320. "sellchargealgorithmvalue": {
  34321. "description": "卖方手续费设置值(交易所部分)",
  34322. "type": "number"
  34323. },
  34324. "sellchargealgorithmvalue2": {
  34325. "description": "卖方手续费设置值(会员部分)",
  34326. "type": "number"
  34327. },
  34328. "sellchargealgorithmvalue3": {
  34329. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34330. "type": "number"
  34331. },
  34332. "sellchargealgorithmvalue4": {
  34333. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34334. "type": "number"
  34335. },
  34336. "sellmarginalgorithm": {
  34337. "description": "卖方保证金方式 - 1:比率 2:固定",
  34338. "type": "integer"
  34339. },
  34340. "sellmarginvalue": {
  34341. "description": "卖方保证金设置值",
  34342. "type": "number"
  34343. },
  34344. "sellmarginvalue2": {
  34345. "description": "卖方保证金设置值(无仓单)",
  34346. "type": "number"
  34347. },
  34348. "sellreleaseratio": {
  34349. "description": "卖方释放比率[2:分步履约]",
  34350. "type": "number"
  34351. },
  34352. "updatetime": {
  34353. "description": "更新时间",
  34354. "type": "string"
  34355. }
  34356. }
  34357. },
  34358. "models.WrOrderDetail": {
  34359. "type": "object",
  34360. "properties": {
  34361. "accountid": {
  34362. "description": "交易账号(资金账号)",
  34363. "type": "integer"
  34364. },
  34365. "allfriendsflag": {
  34366. "description": "是否全好友可见 - 0:否 1:是",
  34367. "type": "integer"
  34368. },
  34369. "amount": {
  34370. "description": "期初均价",
  34371. "type": "number"
  34372. },
  34373. "bannerpicurl": {
  34374. "description": "Banner图",
  34375. "type": "string"
  34376. },
  34377. "begindate": {
  34378. "description": "开始交易日(yyyymmdd)",
  34379. "type": "string"
  34380. },
  34381. "buyorsell": {
  34382. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34383. "type": "integer"
  34384. },
  34385. "canbargain": {
  34386. "description": "是否可议价 - 0:不可 1:可",
  34387. "type": "integer"
  34388. },
  34389. "cancelqty": {
  34390. "description": "撤销数量",
  34391. "type": "number"
  34392. },
  34393. "canpart": {
  34394. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34395. "type": "integer"
  34396. },
  34397. "delistminqty": {
  34398. "description": "起摘数量",
  34399. "type": "integer"
  34400. },
  34401. "deliverygoodscode": {
  34402. "description": "品种代码",
  34403. "type": "string"
  34404. },
  34405. "deliverygoodsid": {
  34406. "description": "品种ID",
  34407. "type": "integer"
  34408. },
  34409. "deliverygoodsname": {
  34410. "description": "品种名称",
  34411. "type": "string"
  34412. },
  34413. "deliverymonth": {
  34414. "description": "交收月",
  34415. "type": "string"
  34416. },
  34417. "enddate": {
  34418. "description": "结束交易日(yyyymmdd)",
  34419. "type": "string"
  34420. },
  34421. "enumdicname": {
  34422. "description": "单位名称",
  34423. "type": "string"
  34424. },
  34425. "fixedprice": {
  34426. "description": "固定价格 - [挂牌]",
  34427. "type": "number"
  34428. },
  34429. "freezecharge": {
  34430. "description": "期初均价",
  34431. "type": "number"
  34432. },
  34433. "freezemargin": {
  34434. "description": "期初均价",
  34435. "type": "number"
  34436. },
  34437. "futupricemove": {
  34438. "description": "期货升贴水",
  34439. "type": "number"
  34440. },
  34441. "futushow": {
  34442. "description": "期货合约/升贴水",
  34443. "type": "string"
  34444. },
  34445. "goodscode": {
  34446. "description": "期货合约",
  34447. "type": "string"
  34448. },
  34449. "goodsid": {
  34450. "description": "期货商品id",
  34451. "type": "integer"
  34452. },
  34453. "goodsname": {
  34454. "description": "商品名称",
  34455. "type": "string"
  34456. },
  34457. "haswr": {
  34458. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34459. "type": "integer"
  34460. },
  34461. "isspecified": {
  34462. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34463. "type": "integer"
  34464. },
  34465. "ladingbillid": {
  34466. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34467. "type": "string"
  34468. },
  34469. "marginvalue": {
  34470. "description": "期初均价",
  34471. "type": "number"
  34472. },
  34473. "marketid": {
  34474. "description": "市场ID",
  34475. "type": "integer"
  34476. },
  34477. "matchusername": {
  34478. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34479. "type": "string"
  34480. },
  34481. "minivalue": {
  34482. "description": "现货商品最小变动值",
  34483. "type": "integer"
  34484. },
  34485. "optioncompare": {
  34486. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34487. "type": "string"
  34488. },
  34489. "orderqty": {
  34490. "description": "委托数量",
  34491. "type": "number"
  34492. },
  34493. "ordertime": {
  34494. "description": "委托时间(挂牌时间)",
  34495. "type": "string"
  34496. },
  34497. "performancetemplateid": {
  34498. "description": "履约模板id",
  34499. "type": "integer"
  34500. },
  34501. "pricemove": {
  34502. "description": "升贴水(浮动价时填写) - [挂牌]",
  34503. "type": "number"
  34504. },
  34505. "taname": {
  34506. "description": "交易用户名称(资金账号名称)",
  34507. "type": "string"
  34508. },
  34509. "thumurls": {
  34510. "description": "缩略图",
  34511. "type": "string"
  34512. },
  34513. "tradedate": {
  34514. "description": "交易日(yyyyMMdd)",
  34515. "type": "string"
  34516. },
  34517. "tradeprice": {
  34518. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34519. "type": "number"
  34520. },
  34521. "tradeqty": {
  34522. "description": "成交数量",
  34523. "type": "number"
  34524. },
  34525. "userid": {
  34526. "description": "用户ID",
  34527. "type": "integer"
  34528. },
  34529. "validtime": {
  34530. "description": "挂牌有效期",
  34531. "type": "string"
  34532. },
  34533. "validtype": {
  34534. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  34535. "type": "integer"
  34536. },
  34537. "warehouseid": {
  34538. "description": "仓库ID",
  34539. "type": "integer"
  34540. },
  34541. "warehousename": {
  34542. "description": "仓库名称",
  34543. "type": "string"
  34544. },
  34545. "wrfactortypeid": {
  34546. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34547. "type": "string"
  34548. },
  34549. "wrfactortypename": {
  34550. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34551. "type": "string"
  34552. },
  34553. "wrpricetype": {
  34554. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34555. "type": "integer"
  34556. },
  34557. "wrstandardcode": {
  34558. "description": "现货商品代码",
  34559. "type": "string"
  34560. },
  34561. "wrstandardid": {
  34562. "description": "现货商品ID",
  34563. "type": "integer"
  34564. },
  34565. "wrstandardname": {
  34566. "description": "商品名称",
  34567. "type": "string"
  34568. },
  34569. "wrtradeorderid": {
  34570. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34571. "type": "string"
  34572. },
  34573. "wrtradeorderstatus": {
  34574. "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:撤单解冻贷款失败",
  34575. "type": "integer"
  34576. },
  34577. "wrtradetype": {
  34578. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34579. "type": "integer"
  34580. },
  34581. "wrtypename": {
  34582. "description": "商品",
  34583. "type": "string"
  34584. }
  34585. }
  34586. },
  34587. "models.WrOrderQuote": {
  34588. "type": "object",
  34589. "properties": {
  34590. "bannerpicurl": {
  34591. "description": "Banner图",
  34592. "type": "string"
  34593. },
  34594. "buyprice": {
  34595. "description": "买价",
  34596. "type": "number"
  34597. },
  34598. "buypricemove": {
  34599. "description": "买升贴水(基差)",
  34600. "type": "number"
  34601. },
  34602. "buyqty": {
  34603. "description": "买量",
  34604. "type": "number"
  34605. },
  34606. "deliverygoodscode": {
  34607. "description": "品种代码",
  34608. "type": "string"
  34609. },
  34610. "deliverygoodsid": {
  34611. "description": "品种id",
  34612. "type": "integer"
  34613. },
  34614. "deliverygoodsname": {
  34615. "description": "品种名称",
  34616. "type": "string"
  34617. },
  34618. "deliverymonth": {
  34619. "description": "交收月",
  34620. "type": "string"
  34621. },
  34622. "enumdicname": {
  34623. "description": "单位名称",
  34624. "type": "string"
  34625. },
  34626. "goodscode": {
  34627. "description": "商品合约(浮动价列表才有)",
  34628. "type": "string"
  34629. },
  34630. "goodsid": {
  34631. "description": "商品id(浮动价列表才有)",
  34632. "type": "integer"
  34633. },
  34634. "minivalue": {
  34635. "description": "现货商品最小变动值",
  34636. "type": "integer"
  34637. },
  34638. "pictureurls": {
  34639. "description": "详情图片(逗号分隔)",
  34640. "type": "string"
  34641. },
  34642. "sellprice": {
  34643. "description": "卖价",
  34644. "type": "number"
  34645. },
  34646. "sellpricemove": {
  34647. "description": "卖升贴水(基差)",
  34648. "type": "number"
  34649. },
  34650. "sellqty": {
  34651. "description": "卖量",
  34652. "type": "number"
  34653. },
  34654. "thumurls": {
  34655. "description": "缩略图片(1:1)(逗号分隔)",
  34656. "type": "string"
  34657. },
  34658. "warehousecode": {
  34659. "description": "仓库代码",
  34660. "type": "string"
  34661. },
  34662. "warehouseid": {
  34663. "description": "仓库id",
  34664. "type": "integer"
  34665. },
  34666. "warehousename": {
  34667. "description": "仓库名称",
  34668. "type": "string"
  34669. },
  34670. "wrfactortypeid": {
  34671. "description": "仓单要素id",
  34672. "type": "string"
  34673. },
  34674. "wrfactortypename": {
  34675. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34676. "type": "string"
  34677. },
  34678. "wrgoodsname": {
  34679. "description": "商品(商品名称+仓库要素名称 拼接)",
  34680. "type": "string"
  34681. },
  34682. "wrstandardcode": {
  34683. "description": "商品代码",
  34684. "type": "string"
  34685. },
  34686. "wrstandardid": {
  34687. "description": "商品id",
  34688. "type": "integer"
  34689. },
  34690. "wrstandardname": {
  34691. "description": "商品名称",
  34692. "type": "string"
  34693. }
  34694. }
  34695. },
  34696. "models.WrOrderQuoteDetail": {
  34697. "type": "object",
  34698. "properties": {
  34699. "buyorsell": {
  34700. "description": "买卖 - 0:买 1:卖",
  34701. "type": "integer"
  34702. },
  34703. "delistminqty": {
  34704. "description": "期初均价",
  34705. "type": "number"
  34706. },
  34707. "deliverymonth": {
  34708. "description": "交收月",
  34709. "type": "string"
  34710. },
  34711. "enumdicname": {
  34712. "description": "单位名称",
  34713. "type": "string"
  34714. },
  34715. "fixedprice": {
  34716. "description": "买(卖)价",
  34717. "type": "number"
  34718. },
  34719. "marketid": {
  34720. "description": "市场id",
  34721. "type": "integer"
  34722. },
  34723. "minivalue": {
  34724. "description": "现货商品最小变动值",
  34725. "type": "integer"
  34726. },
  34727. "orderqty": {
  34728. "description": "买(卖)量(=委托量-成交量)",
  34729. "type": "number"
  34730. },
  34731. "ordertime": {
  34732. "description": "委托时间",
  34733. "type": "string"
  34734. },
  34735. "pricemove": {
  34736. "description": "买(卖)升贴水- 基差",
  34737. "type": "number"
  34738. },
  34739. "userid": {
  34740. "description": "购买方(销售方)用户ID",
  34741. "type": "integer"
  34742. },
  34743. "username": {
  34744. "description": "购买方(销售方)",
  34745. "type": "string"
  34746. },
  34747. "wrtradeorderid": {
  34748. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34749. "type": "string"
  34750. }
  34751. }
  34752. },
  34753. "models.WrOutInApply": {
  34754. "type": "object",
  34755. "properties": {
  34756. "applyid": {
  34757. "description": "申请单id",
  34758. "type": "string"
  34759. },
  34760. "applystatus": {
  34761. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  34762. "type": "integer"
  34763. },
  34764. "applytime": {
  34765. "description": "申请时间",
  34766. "type": "string"
  34767. },
  34768. "applytype": {
  34769. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  34770. "type": "integer"
  34771. },
  34772. "bannerpicurl": {
  34773. "description": "Banner图",
  34774. "type": "string"
  34775. },
  34776. "begindate": {
  34777. "description": "开始交易日(yyyymmdd)",
  34778. "type": "string"
  34779. },
  34780. "deliverygoodscode": {
  34781. "description": "品种代码",
  34782. "type": "string"
  34783. },
  34784. "deliverygoodsid": {
  34785. "description": "品种ID",
  34786. "type": "integer"
  34787. },
  34788. "deliverygoodsname": {
  34789. "description": "品种名称",
  34790. "type": "string"
  34791. },
  34792. "enddate": {
  34793. "description": "结束交易日(yyyymmdd)",
  34794. "type": "string"
  34795. },
  34796. "enumdicname": {
  34797. "description": "单位名称",
  34798. "type": "string"
  34799. },
  34800. "expresscompany": {
  34801. "description": "物流公司",
  34802. "type": "string"
  34803. },
  34804. "expressnum": {
  34805. "description": "物流单号",
  34806. "type": "string"
  34807. },
  34808. "minivalue": {
  34809. "description": "现货商品最小变动值",
  34810. "type": "integer"
  34811. },
  34812. "optioncompare": {
  34813. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34814. "type": "string"
  34815. },
  34816. "qty": {
  34817. "description": "数量",
  34818. "type": "integer"
  34819. },
  34820. "userid": {
  34821. "description": "用户id",
  34822. "type": "integer"
  34823. },
  34824. "warehouseid": {
  34825. "description": "仓库ID",
  34826. "type": "integer"
  34827. },
  34828. "warehousename": {
  34829. "description": "仓库名称",
  34830. "type": "string"
  34831. },
  34832. "wrfactortypeid": {
  34833. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34834. "type": "string"
  34835. },
  34836. "wrfactortypename": {
  34837. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34838. "type": "string"
  34839. },
  34840. "wrstandardcode": {
  34841. "description": "现货商品代码",
  34842. "type": "string"
  34843. },
  34844. "wrstandardid": {
  34845. "description": "现货商品ID",
  34846. "type": "integer"
  34847. },
  34848. "wrstandardname": {
  34849. "description": "商品名称",
  34850. "type": "string"
  34851. },
  34852. "wrtypename": {
  34853. "description": "商品",
  34854. "type": "string"
  34855. }
  34856. }
  34857. },
  34858. "models.WrPerformancePlan": {
  34859. "type": "object",
  34860. "required": [
  34861. "userid"
  34862. ],
  34863. "properties": {
  34864. "activatemonth": {
  34865. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  34866. "type": "string"
  34867. },
  34868. "amount": {
  34869. "description": "履约金额(总金额)",
  34870. "type": "number"
  34871. },
  34872. "begindate": {
  34873. "description": "开始交易日(yyyymmdd)",
  34874. "type": "string"
  34875. },
  34876. "buyaccountid": {
  34877. "description": "买方账号",
  34878. "type": "integer"
  34879. },
  34880. "buyerfreezeamount": {
  34881. "description": "履约冻结(买履约)",
  34882. "type": "number"
  34883. },
  34884. "buyerfreezeamountremain": {
  34885. "description": "履约冻结剩余(买履约)",
  34886. "type": "number"
  34887. },
  34888. "buyorsell": {
  34889. "description": "买卖方向 0-买 1-卖",
  34890. "type": "integer"
  34891. },
  34892. "buypaidamount": {
  34893. "description": "买方已冻/已扣金额 (已付金额)",
  34894. "type": "number"
  34895. },
  34896. "buyusername": {
  34897. "description": "买方名字",
  34898. "type": "string"
  34899. },
  34900. "contractid": {
  34901. "description": "合同ID",
  34902. "type": "integer"
  34903. },
  34904. "createtime": {
  34905. "description": "创建时间",
  34906. "type": "string"
  34907. },
  34908. "creatorid": {
  34909. "description": "创建人",
  34910. "type": "integer"
  34911. },
  34912. "curstepdeadline": {
  34913. "description": "当前步骤到期时间",
  34914. "type": "string"
  34915. },
  34916. "curstepid": {
  34917. "description": "当前步骤ID",
  34918. "type": "string"
  34919. },
  34920. "curstepname": {
  34921. "description": "当前步骤名称",
  34922. "type": "string"
  34923. },
  34924. "deliverygoodscode": {
  34925. "description": "品种代码",
  34926. "type": "string"
  34927. },
  34928. "deliverygoodsid": {
  34929. "description": "品种ID",
  34930. "type": "integer"
  34931. },
  34932. "deliverygoodsname": {
  34933. "description": "品种名称",
  34934. "type": "string"
  34935. },
  34936. "enddate": {
  34937. "description": "结束交易日(yyyymmdd)",
  34938. "type": "string"
  34939. },
  34940. "enumdicname": {
  34941. "description": "单位名称",
  34942. "type": "string"
  34943. },
  34944. "expressfee": {
  34945. "description": "运费",
  34946. "type": "number"
  34947. },
  34948. "expressfeeconfirmed": {
  34949. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  34950. "type": "integer"
  34951. },
  34952. "hasovershort": {
  34953. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  34954. "type": "integer"
  34955. },
  34956. "haswr": {
  34957. "description": "类型 0-仓单预售 1-仓单贸易",
  34958. "type": "integer"
  34959. },
  34960. "marketid": {
  34961. "description": "市场ID",
  34962. "type": "integer"
  34963. },
  34964. "middleaccountid": {
  34965. "description": "中间商资金账号ID",
  34966. "type": "integer"
  34967. },
  34968. "middleuserid": {
  34969. "description": "中间商用户ID",
  34970. "type": "integer"
  34971. },
  34972. "minivalue": {
  34973. "description": "现货商品最小变动值",
  34974. "type": "integer"
  34975. },
  34976. "optioncompare": {
  34977. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34978. "type": "string"
  34979. },
  34980. "overshortamount": {
  34981. "description": "溢短金额",
  34982. "type": "number"
  34983. },
  34984. "overshortqty": {
  34985. "description": "溢短数量",
  34986. "type": "number"
  34987. },
  34988. "paymenttype": {
  34989. "description": "付款方式 - 1:冻结 2:扣款",
  34990. "type": "integer"
  34991. },
  34992. "performanceplanid": {
  34993. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  34994. "type": "string"
  34995. },
  34996. "performancestatus": {
  34997. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  34998. "type": "integer"
  34999. },
  35000. "performancetype": {
  35001. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35002. "type": "integer"
  35003. },
  35004. "qty": {
  35005. "description": "履约数量",
  35006. "type": "number"
  35007. },
  35008. "relatedorderid": {
  35009. "description": "关联单号(履约类型的关联单号)",
  35010. "type": "string"
  35011. },
  35012. "remark": {
  35013. "description": "备注",
  35014. "type": "string"
  35015. },
  35016. "sellaccountid": {
  35017. "description": "卖方账号",
  35018. "type": "integer"
  35019. },
  35020. "sellerfreezeamount": {
  35021. "description": "履约冻结(卖履约)",
  35022. "type": "number"
  35023. },
  35024. "sellerfreezeamountremain": {
  35025. "description": "履约冻结剩余(卖履约)",
  35026. "type": "number"
  35027. },
  35028. "sellreceivedamount": {
  35029. "description": "卖方已收金额",
  35030. "type": "number"
  35031. },
  35032. "sellusername": {
  35033. "description": "卖方名字",
  35034. "type": "string"
  35035. },
  35036. "shipremark": {
  35037. "description": "发货备注[物流单号]",
  35038. "type": "string"
  35039. },
  35040. "starttime": {
  35041. "description": "开始时间",
  35042. "type": "string"
  35043. },
  35044. "steptypeid": {
  35045. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35046. "type": "integer"
  35047. },
  35048. "typename": {
  35049. "description": "履约类型 名称",
  35050. "type": "string"
  35051. },
  35052. "unpaidamount": {
  35053. "description": "期初均价",
  35054. "type": "number"
  35055. },
  35056. "userid": {
  35057. "description": "用户id",
  35058. "type": "integer"
  35059. },
  35060. "warehouseid": {
  35061. "description": "仓库ID",
  35062. "type": "integer"
  35063. },
  35064. "warehousename": {
  35065. "description": "仓库名称",
  35066. "type": "string"
  35067. },
  35068. "wrfactortypeid": {
  35069. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35070. "type": "string"
  35071. },
  35072. "wrfactortypename": {
  35073. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35074. "type": "string"
  35075. },
  35076. "wrstandardcode": {
  35077. "description": "现货商品代码",
  35078. "type": "string"
  35079. },
  35080. "wrstandardid": {
  35081. "description": "现货商品ID",
  35082. "type": "integer"
  35083. },
  35084. "wrstandardname": {
  35085. "description": "商品名称",
  35086. "type": "string"
  35087. },
  35088. "wrtransferuserid": {
  35089. "description": "仓单受让用户",
  35090. "type": "integer"
  35091. },
  35092. "wrtypename": {
  35093. "description": "商品",
  35094. "type": "string"
  35095. }
  35096. }
  35097. },
  35098. "models.WrPerformancePlanStep": {
  35099. "type": "object",
  35100. "properties": {
  35101. "delaydays": {
  35102. "description": "延期申请天数",
  35103. "type": "integer"
  35104. },
  35105. "deliverygoodscode": {
  35106. "description": "品种代码",
  35107. "type": "string"
  35108. },
  35109. "deliverygoodsid": {
  35110. "description": "品种ID",
  35111. "type": "integer"
  35112. },
  35113. "deliverygoodsname": {
  35114. "description": "品种名称",
  35115. "type": "string"
  35116. },
  35117. "endtime": {
  35118. "description": "结束日期",
  35119. "type": "string"
  35120. },
  35121. "enumdicname": {
  35122. "description": "单位名称",
  35123. "type": "string"
  35124. },
  35125. "executeside": {
  35126. "description": "步骤执行方 - 1:买方 2:卖方",
  35127. "type": "integer"
  35128. },
  35129. "handlestatus": {
  35130. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35131. "type": "integer"
  35132. },
  35133. "isauto": {
  35134. "description": "是否自动 - 0:不自动 1:自动",
  35135. "type": "integer"
  35136. },
  35137. "islastreceivestep": {
  35138. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35139. "type": "integer"
  35140. },
  35141. "minivalue": {
  35142. "description": "现货商品最小变动值",
  35143. "type": "integer"
  35144. },
  35145. "optioncompare": {
  35146. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35147. "type": "string"
  35148. },
  35149. "overdays": {
  35150. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35151. "type": "integer"
  35152. },
  35153. "performancestepid": {
  35154. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35155. "type": "string"
  35156. },
  35157. "planid": {
  35158. "description": "所属履约计划ID",
  35159. "type": "string"
  35160. },
  35161. "realamount": {
  35162. "description": "实际完成金额",
  35163. "type": "number"
  35164. },
  35165. "relatedorderid": {
  35166. "description": "关联单号",
  35167. "type": "string"
  35168. },
  35169. "remaindays": {
  35170. "description": "剩余天数",
  35171. "type": "integer"
  35172. },
  35173. "remark": {
  35174. "description": "错误备注",
  35175. "type": "string"
  35176. },
  35177. "starttime": {
  35178. "description": "开始日期",
  35179. "type": "string"
  35180. },
  35181. "stepamount": {
  35182. "description": "步骤金额",
  35183. "type": "number"
  35184. },
  35185. "stepdays": {
  35186. "description": "距离上一步天数(分钟)",
  35187. "type": "integer"
  35188. },
  35189. "stepindex": {
  35190. "description": "步骤序号",
  35191. "type": "integer"
  35192. },
  35193. "steplanchtype": {
  35194. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35195. "type": "integer"
  35196. },
  35197. "stepremark": {
  35198. "description": "步骤备注",
  35199. "type": "string"
  35200. },
  35201. "stepstatus": {
  35202. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35203. "type": "integer"
  35204. },
  35205. "steptypeid": {
  35206. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35207. "type": "integer"
  35208. },
  35209. "steptypename": {
  35210. "description": "步骤名称",
  35211. "type": "string"
  35212. },
  35213. "stepvalue": {
  35214. "description": "步骤值",
  35215. "type": "number"
  35216. },
  35217. "warehouseid": {
  35218. "description": "仓库ID",
  35219. "type": "integer"
  35220. },
  35221. "warehousename": {
  35222. "description": "仓库名称",
  35223. "type": "string"
  35224. },
  35225. "wrfactortypeid": {
  35226. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35227. "type": "string"
  35228. },
  35229. "wrfactortypename": {
  35230. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35231. "type": "string"
  35232. },
  35233. "wrstandardcode": {
  35234. "description": "现货商品代码",
  35235. "type": "string"
  35236. },
  35237. "wrstandardid": {
  35238. "description": "现货商品ID",
  35239. "type": "integer"
  35240. },
  35241. "wrstandardname": {
  35242. "description": "商品名称",
  35243. "type": "string"
  35244. },
  35245. "wrtypename": {
  35246. "description": "商品",
  35247. "type": "string"
  35248. }
  35249. }
  35250. },
  35251. "models.WrPerformanceStepType": {
  35252. "type": "object",
  35253. "properties": {
  35254. "canauto": {
  35255. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35256. "type": "integer"
  35257. },
  35258. "steptypeid": {
  35259. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35260. "type": "integer"
  35261. },
  35262. "steptypename": {
  35263. "description": "步骤类型名称",
  35264. "type": "string"
  35265. }
  35266. }
  35267. },
  35268. "models.WrPerformanceTemplateEx": {
  35269. "type": "object",
  35270. "properties": {
  35271. "autoid": {
  35272. "description": "AutoID 模板id",
  35273. "type": "integer"
  35274. },
  35275. "createtime": {
  35276. "description": "创建时间",
  35277. "type": "string"
  35278. },
  35279. "creatorid": {
  35280. "description": "创建人",
  35281. "type": "integer"
  35282. },
  35283. "lstStep": {
  35284. "description": "步骤信息列表",
  35285. "type": "array",
  35286. "items": {
  35287. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35288. }
  35289. },
  35290. "paymenttype": {
  35291. "description": "支付方式 - 1:冻结 2:扣款",
  35292. "type": "integer"
  35293. },
  35294. "takemode": {
  35295. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35296. "type": "integer"
  35297. },
  35298. "templatename": {
  35299. "description": "模板名称",
  35300. "type": "string"
  35301. },
  35302. "templatetype": {
  35303. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35304. "type": "integer"
  35305. },
  35306. "userid": {
  35307. "description": "所属用户",
  35308. "type": "integer"
  35309. }
  35310. }
  35311. },
  35312. "models.WrPosition": {
  35313. "type": "object",
  35314. "properties": {
  35315. "accountid": {
  35316. "description": "帐户ID",
  35317. "type": "integer"
  35318. },
  35319. "buyexcuteqty": {
  35320. "description": "采购履约中数量",
  35321. "type": "number"
  35322. },
  35323. "creditcurqty": {
  35324. "description": "授信当前数量(预售仓单:预售当前量)",
  35325. "type": "number"
  35326. },
  35327. "creditenableqty": {
  35328. "description": "授信可用数量(预售仓单: 可用数量)",
  35329. "type": "number"
  35330. },
  35331. "creditfreezeqty": {
  35332. "description": "授信冻结数量(预售仓单: 当前数量)",
  35333. "type": "number"
  35334. },
  35335. "credittotalqty": {
  35336. "description": "授信总数量(预售仓单:预售总量)",
  35337. "type": "number"
  35338. },
  35339. "credittradeqty": {
  35340. "description": "授信成交数量(预售仓单:成交总量)",
  35341. "type": "number"
  35342. },
  35343. "deliverygoodscode": {
  35344. "description": "品种代码",
  35345. "type": "string"
  35346. },
  35347. "deliverygoodsid": {
  35348. "description": "品种ID",
  35349. "type": "integer"
  35350. },
  35351. "deliverygoodsname": {
  35352. "description": "品种名称",
  35353. "type": "string"
  35354. },
  35355. "enalbeqty": {
  35356. "description": "可用数量",
  35357. "type": "number"
  35358. },
  35359. "enumdicname": {
  35360. "description": "单位名称",
  35361. "type": "string"
  35362. },
  35363. "freezeqty": {
  35364. "description": "总冻结数量",
  35365. "type": "number"
  35366. },
  35367. "haswr": {
  35368. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35369. "type": "integer"
  35370. },
  35371. "minivalue": {
  35372. "description": "现货商品最小变动值",
  35373. "type": "integer"
  35374. },
  35375. "modifytime": {
  35376. "description": "修改时间(过户时间)",
  35377. "type": "string"
  35378. },
  35379. "optioncompare": {
  35380. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35381. "type": "string"
  35382. },
  35383. "pledgeqty": {
  35384. "description": "质押数量",
  35385. "type": "number"
  35386. },
  35387. "querytype": {
  35388. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35389. "type": "integer"
  35390. },
  35391. "sellexcuteqty": {
  35392. "description": "销售履约中数量",
  35393. "type": "number"
  35394. },
  35395. "totalqty": {
  35396. "description": "总数量(库存数量)",
  35397. "type": "number"
  35398. },
  35399. "warehouseid": {
  35400. "description": "仓库ID",
  35401. "type": "integer"
  35402. },
  35403. "warehousename": {
  35404. "description": "仓库名称",
  35405. "type": "string"
  35406. },
  35407. "wrfactortypeid": {
  35408. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35409. "type": "string"
  35410. },
  35411. "wrfactortypename": {
  35412. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35413. "type": "string"
  35414. },
  35415. "wrpositionid": {
  35416. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35417. "type": "string"
  35418. },
  35419. "wrpositionno": {
  35420. "description": "仓单编号",
  35421. "type": "string"
  35422. },
  35423. "wrstandardcode": {
  35424. "description": "现货商品代码",
  35425. "type": "string"
  35426. },
  35427. "wrstandardid": {
  35428. "description": "现货商品ID",
  35429. "type": "integer"
  35430. },
  35431. "wrstandardname": {
  35432. "description": "商品名称",
  35433. "type": "string"
  35434. },
  35435. "wrtypename": {
  35436. "description": "商品",
  35437. "type": "string"
  35438. },
  35439. "wruserid": {
  35440. "description": "持有人ID",
  35441. "type": "integer"
  35442. }
  35443. }
  35444. },
  35445. "models.WrPreSaleInfo": {
  35446. "type": "object",
  35447. "properties": {
  35448. "bannerpicurl": {
  35449. "description": "Banner图",
  35450. "type": "string"
  35451. },
  35452. "baseqty": {
  35453. "description": "中签基数",
  35454. "type": "number"
  35455. },
  35456. "createtime": {
  35457. "description": "创建时间",
  35458. "type": "string"
  35459. },
  35460. "deliverygoodsid": {
  35461. "description": "现货品种ID",
  35462. "type": "integer"
  35463. },
  35464. "enddate": {
  35465. "description": "预售结束日期",
  35466. "type": "string"
  35467. },
  35468. "enumdicname": {
  35469. "description": "单位名称",
  35470. "type": "string"
  35471. },
  35472. "lotteryflag": {
  35473. "description": "摇号标识 - 0:未摇号 1:已摇号",
  35474. "type": "integer"
  35475. },
  35476. "lotteryqty": {
  35477. "description": "摇号总量",
  35478. "type": "number"
  35479. },
  35480. "luckyqty": {
  35481. "description": "已中签量",
  35482. "type": "number"
  35483. },
  35484. "marketid": {
  35485. "description": "市场ID",
  35486. "type": "integer"
  35487. },
  35488. "maxbuyqty": {
  35489. "description": "单人最大申购量",
  35490. "type": "number"
  35491. },
  35492. "maxluckyqty": {
  35493. "description": "单人最大中签量",
  35494. "type": "number"
  35495. },
  35496. "pictureurls": {
  35497. "description": "详情图片(逗号分隔)",
  35498. "type": "string"
  35499. },
  35500. "placeqty": {
  35501. "description": "已配售量",
  35502. "type": "number"
  35503. },
  35504. "presaleapplyid": {
  35505. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  35506. "type": "string",
  35507. "example": "0"
  35508. },
  35509. "presaleqty": {
  35510. "description": "预售总量",
  35511. "type": "number"
  35512. },
  35513. "presalestatus": {
  35514. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  35515. "type": "integer"
  35516. },
  35517. "sellaccountid": {
  35518. "description": "发行方资金账户ID",
  35519. "type": "integer"
  35520. },
  35521. "selluserid": {
  35522. "description": "发行方用户ID",
  35523. "type": "integer"
  35524. },
  35525. "sellwrtradeorderid": {
  35526. "description": "发行方卖委托单ID",
  35527. "type": "string"
  35528. },
  35529. "startdate": {
  35530. "description": "预售开始日期",
  35531. "type": "string"
  35532. },
  35533. "takestartdate": {
  35534. "description": "提货开始日期",
  35535. "type": "string"
  35536. },
  35537. "thumurls": {
  35538. "description": "缩略图片(1:1)(逗号分隔)",
  35539. "type": "string"
  35540. },
  35541. "tradedate": {
  35542. "description": "交易日",
  35543. "type": "string"
  35544. },
  35545. "unitid": {
  35546. "description": "单位ID",
  35547. "type": "integer"
  35548. },
  35549. "unitprice": {
  35550. "description": "商品单价",
  35551. "type": "number"
  35552. },
  35553. "username": {
  35554. "description": "发行方用户名称",
  35555. "type": "string"
  35556. },
  35557. "warehousecode": {
  35558. "description": "仓库代码(仓库简称)",
  35559. "type": "string"
  35560. },
  35561. "warehouseid": {
  35562. "description": "仓库ID",
  35563. "type": "integer"
  35564. },
  35565. "warehousename": {
  35566. "description": "仓库名称",
  35567. "type": "string"
  35568. },
  35569. "wrfactortypeid": {
  35570. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  35571. "type": "string",
  35572. "example": "0"
  35573. },
  35574. "wrstandardid": {
  35575. "description": "现货商品ID",
  35576. "type": "integer"
  35577. },
  35578. "wrstandardname": {
  35579. "description": "现货商品名称",
  35580. "type": "string"
  35581. }
  35582. }
  35583. },
  35584. "models.WrQuoteOrderMyq": {
  35585. "type": "object",
  35586. "properties": {
  35587. "buyorsell": {
  35588. "description": "买卖 - 0:买 1:卖",
  35589. "type": "integer"
  35590. },
  35591. "canbargain": {
  35592. "description": "是否可议价 - 0:不可 1:可",
  35593. "type": "integer"
  35594. },
  35595. "canpart": {
  35596. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35597. "type": "integer"
  35598. },
  35599. "delistminqty": {
  35600. "description": "期初均价",
  35601. "type": "number"
  35602. },
  35603. "deliverygoodscode": {
  35604. "description": "品种代码",
  35605. "type": "string"
  35606. },
  35607. "deliverygoodsid": {
  35608. "description": "品种ID",
  35609. "type": "integer"
  35610. },
  35611. "deliverygoodsname": {
  35612. "description": "品种名称",
  35613. "type": "string"
  35614. },
  35615. "deliverymonth": {
  35616. "description": "交收月",
  35617. "type": "string"
  35618. },
  35619. "enumdicname": {
  35620. "description": "单位名称",
  35621. "type": "string"
  35622. },
  35623. "fixedprice": {
  35624. "description": "买(卖)价",
  35625. "type": "number"
  35626. },
  35627. "goodscode": {
  35628. "description": "商品合约代码",
  35629. "type": "string"
  35630. },
  35631. "marginflag": {
  35632. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35633. "type": "integer"
  35634. },
  35635. "marginvalue": {
  35636. "description": "保证金设置值",
  35637. "type": "number"
  35638. },
  35639. "minivalue": {
  35640. "description": "现货商品最小变动值",
  35641. "type": "integer"
  35642. },
  35643. "orderqty": {
  35644. "description": "买(卖)量(=委托量-成交量)",
  35645. "type": "number"
  35646. },
  35647. "ordertime": {
  35648. "description": "委托时间",
  35649. "type": "string"
  35650. },
  35651. "performancetemplateid": {
  35652. "description": "履约模板id",
  35653. "type": "integer"
  35654. },
  35655. "pricemove": {
  35656. "description": "买(卖)升贴水- 基差",
  35657. "type": "number"
  35658. },
  35659. "templatename": {
  35660. "description": "履约模板名称",
  35661. "type": "string"
  35662. },
  35663. "userid": {
  35664. "description": "购买方(销售方)用户ID",
  35665. "type": "integer"
  35666. },
  35667. "username": {
  35668. "description": "购买方(销售方)",
  35669. "type": "string"
  35670. },
  35671. "validtime": {
  35672. "description": "有效期限",
  35673. "type": "string"
  35674. },
  35675. "validtype": {
  35676. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35677. "type": "integer"
  35678. },
  35679. "warehousename": {
  35680. "description": "仓库名称",
  35681. "type": "string"
  35682. },
  35683. "wrfactortypeid": {
  35684. "description": "仓单要素id",
  35685. "type": "string"
  35686. },
  35687. "wrstandardcode": {
  35688. "description": "现货商品代码",
  35689. "type": "string"
  35690. },
  35691. "wrstandardid": {
  35692. "description": "现货商品ID",
  35693. "type": "integer"
  35694. },
  35695. "wrstandardname": {
  35696. "description": "商品名称",
  35697. "type": "string"
  35698. },
  35699. "wrtradeorderid": {
  35700. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35701. "type": "string"
  35702. },
  35703. "wrtypename": {
  35704. "description": "商品",
  35705. "type": "string"
  35706. }
  35707. }
  35708. },
  35709. "models.WrReckonSpotGoodsTradeSum": {
  35710. "type": "object",
  35711. "properties": {
  35712. "begindate": {
  35713. "description": "开始日期(结果含开始日期) yyyymmdd",
  35714. "type": "string"
  35715. },
  35716. "enddate": {
  35717. "description": "结束日期(结果含结束日期) yyyymmdd",
  35718. "type": "string"
  35719. },
  35720. "istoday": {
  35721. "description": "是否当日",
  35722. "type": "boolean"
  35723. },
  35724. "marketid": {
  35725. "description": "市场ID",
  35726. "type": "integer"
  35727. },
  35728. "price": {
  35729. "description": "价格 = 日成交金额 / 日成交数量",
  35730. "type": "string"
  35731. },
  35732. "reckondate": {
  35733. "description": "日期 格式 yyyymmdd",
  35734. "type": "string"
  35735. },
  35736. "tradeamount": {
  35737. "description": "期初均价",
  35738. "type": "number"
  35739. },
  35740. "tradeqty": {
  35741. "description": "期初均价",
  35742. "type": "number"
  35743. },
  35744. "wrstandardid": {
  35745. "description": "现货商品ID",
  35746. "type": "integer"
  35747. }
  35748. }
  35749. },
  35750. "models.WrScfContract": {
  35751. "type": "object",
  35752. "properties": {
  35753. "borroweruserid": {
  35754. "description": "借款用户ID",
  35755. "type": "integer"
  35756. },
  35757. "buybackwrpositionqty": {
  35758. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35759. "type": "number"
  35760. },
  35761. "closeinterest": {
  35762. "description": "已结利息 -\u003e 已结费用",
  35763. "type": "number"
  35764. },
  35765. "currisklevel": {
  35766. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35767. "type": "integer"
  35768. },
  35769. "deadline": {
  35770. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35771. "type": "string"
  35772. },
  35773. "deliverygoodscode": {
  35774. "description": "品种代码",
  35775. "type": "string"
  35776. },
  35777. "deliverygoodsid": {
  35778. "description": "品种ID",
  35779. "type": "integer"
  35780. },
  35781. "deliverygoodsname": {
  35782. "description": "品种名称",
  35783. "type": "string"
  35784. },
  35785. "enumdicname": {
  35786. "description": "单位名称",
  35787. "type": "string"
  35788. },
  35789. "financingdays": {
  35790. "description": "天数(天)",
  35791. "type": "integer"
  35792. },
  35793. "initmargin": {
  35794. "description": "保证金 - [仓单回购]",
  35795. "type": "number"
  35796. },
  35797. "interestamount": {
  35798. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35799. "type": "number"
  35800. },
  35801. "interestdebt": {
  35802. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35803. "type": "number"
  35804. },
  35805. "interestminlen": {
  35806. "description": "最小起息天数",
  35807. "type": "integer"
  35808. },
  35809. "interestrate": {
  35810. "description": "利率",
  35811. "type": "number"
  35812. },
  35813. "interestratemode": {
  35814. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35815. "type": "integer"
  35816. },
  35817. "interestsettlemode": {
  35818. "description": "结息方式 - 1:按日结息 3:按月结息",
  35819. "type": "integer"
  35820. },
  35821. "interestsettlevalue": {
  35822. "description": "结息方式值",
  35823. "type": "integer"
  35824. },
  35825. "isautoloan": {
  35826. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  35827. "type": "integer"
  35828. },
  35829. "lastcloseinterestday": {
  35830. "description": "最近结息日(yyyyMMdd)",
  35831. "type": "string"
  35832. },
  35833. "lenderamount": {
  35834. "description": "贷款金额 -\u003e 借款金额",
  35835. "type": "number"
  35836. },
  35837. "lenderuserid": {
  35838. "description": "贷款方用户ID -\u003e 融出方用户ID",
  35839. "type": "integer"
  35840. },
  35841. "lenderusername": {
  35842. "description": "融出方",
  35843. "type": "string"
  35844. },
  35845. "marginratio": {
  35846. "description": "保证金比率质押率 - [仓单质押]",
  35847. "type": "number"
  35848. },
  35849. "marketid": {
  35850. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  35851. "type": "integer"
  35852. },
  35853. "minivalue": {
  35854. "description": "现货商品最小变动值",
  35855. "type": "integer"
  35856. },
  35857. "optioncompare": {
  35858. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35859. "type": "string"
  35860. },
  35861. "pricemove": {
  35862. "description": "估值升贴水值",
  35863. "type": "number"
  35864. },
  35865. "productdetailid": {
  35866. "description": "产品组合ID",
  35867. "type": "integer"
  35868. },
  35869. "productid": {
  35870. "description": "金融产品ID",
  35871. "type": "integer"
  35872. },
  35873. "productname": {
  35874. "description": "产品名称",
  35875. "type": "string"
  35876. },
  35877. "remainamount": {
  35878. "description": "合同剩余金额 -\u003e 剩余金额",
  35879. "type": "number"
  35880. },
  35881. "remainwrpositionqty": {
  35882. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  35883. "type": "number"
  35884. },
  35885. "remark": {
  35886. "description": "备注",
  35887. "type": "string"
  35888. },
  35889. "scfcontractid": {
  35890. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35891. "type": "string"
  35892. },
  35893. "scfcontractstatus": {
  35894. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35895. "type": "integer"
  35896. },
  35897. "scfcontracttype": {
  35898. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  35899. "type": "integer"
  35900. },
  35901. "startinterestday": {
  35902. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  35903. "type": "string"
  35904. },
  35905. "totalinterest": {
  35906. "description": "已计利息 -\u003e 已计费用",
  35907. "type": "number"
  35908. },
  35909. "unpaidinterest": {
  35910. "description": "期初均价",
  35911. "type": "number"
  35912. },
  35913. "updatetime": {
  35914. "description": "更新时间",
  35915. "type": "string"
  35916. },
  35917. "warehouseid": {
  35918. "description": "仓库ID",
  35919. "type": "integer"
  35920. },
  35921. "warehousename": {
  35922. "description": "仓库名称",
  35923. "type": "string"
  35924. },
  35925. "wrfactortypeid": {
  35926. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35927. "type": "string"
  35928. },
  35929. "wrfactortypename": {
  35930. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35931. "type": "string"
  35932. },
  35933. "wrqty": {
  35934. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  35935. "type": "number"
  35936. },
  35937. "wrstandardcode": {
  35938. "description": "现货商品代码",
  35939. "type": "string"
  35940. },
  35941. "wrstandardid": {
  35942. "description": "现货商品ID",
  35943. "type": "integer"
  35944. },
  35945. "wrstandardname": {
  35946. "description": "商品名称",
  35947. "type": "string"
  35948. },
  35949. "wrtypename": {
  35950. "description": "商品",
  35951. "type": "string"
  35952. }
  35953. }
  35954. },
  35955. "models.WrScfContractInterest": {
  35956. "type": "object",
  35957. "properties": {
  35958. "closeinterest": {
  35959. "description": "已结利息",
  35960. "type": "number"
  35961. },
  35962. "closeintereststatus": {
  35963. "description": "结息状态 - 1:未结 2:已结",
  35964. "type": "integer"
  35965. },
  35966. "closetime": {
  35967. "description": "结息时间",
  35968. "type": "string"
  35969. },
  35970. "closetradedate": {
  35971. "description": "结息交易日",
  35972. "type": "string"
  35973. },
  35974. "creatorid": {
  35975. "description": "操作人ID",
  35976. "type": "integer"
  35977. },
  35978. "dayrate": {
  35979. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  35980. "type": "number"
  35981. },
  35982. "interest": {
  35983. "description": "利息",
  35984. "type": "number"
  35985. },
  35986. "interestamount": {
  35987. "description": "计息金额",
  35988. "type": "number"
  35989. },
  35990. "interestday": {
  35991. "description": "计息日(yyyyMMdd)",
  35992. "type": "string"
  35993. },
  35994. "scfcontractid": {
  35995. "description": "SCF合同ID",
  35996. "type": "string"
  35997. },
  35998. "scfcontractinterestid": {
  35999. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36000. "type": "integer"
  36001. },
  36002. "updatetime": {
  36003. "description": "更新时间",
  36004. "type": "string"
  36005. }
  36006. }
  36007. },
  36008. "models.WrSearchUser": {
  36009. "type": "object",
  36010. "required": [
  36011. "username"
  36012. ],
  36013. "properties": {
  36014. "userid": {
  36015. "description": "用户ID",
  36016. "type": "integer"
  36017. },
  36018. "username": {
  36019. "description": "用户名称(已脱敏)",
  36020. "type": "string"
  36021. },
  36022. "username2": {
  36023. "description": "用户名称(未脱敏)",
  36024. "type": "string"
  36025. },
  36026. "usertype": {
  36027. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36028. "type": "integer"
  36029. }
  36030. }
  36031. },
  36032. "models.WrSiteColumnDetail": {
  36033. "type": "object",
  36034. "properties": {
  36035. "brief": {
  36036. "description": "简介",
  36037. "type": "string"
  36038. },
  36039. "context": {
  36040. "description": "内容",
  36041. "type": "string"
  36042. },
  36043. "coverimage": {
  36044. "description": "封面图片",
  36045. "type": "string"
  36046. },
  36047. "creaedate": {
  36048. "description": "创建时间",
  36049. "type": "string"
  36050. },
  36051. "id": {
  36052. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36053. "type": "integer"
  36054. },
  36055. "istop": {
  36056. "description": "是否置顶 - 0:不置 1:置顶",
  36057. "type": "integer"
  36058. },
  36059. "publishdate": {
  36060. "description": "发布日期",
  36061. "type": "string"
  36062. },
  36063. "title": {
  36064. "description": "标题",
  36065. "type": "string"
  36066. },
  36067. "updatedate": {
  36068. "description": "修改时间",
  36069. "type": "string"
  36070. }
  36071. }
  36072. },
  36073. "models.WrSpecialMatchOrder": {
  36074. "type": "object",
  36075. "properties": {
  36076. "amount": {
  36077. "description": "金额 = 数量 * 价格",
  36078. "type": "number"
  36079. },
  36080. "buyorsell": {
  36081. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36082. "type": "integer"
  36083. },
  36084. "cancelqty": {
  36085. "description": "撤销数量",
  36086. "type": "number"
  36087. },
  36088. "deliverygoodscode": {
  36089. "description": "品种代码",
  36090. "type": "string"
  36091. },
  36092. "deliverygoodsid": {
  36093. "description": "品种ID",
  36094. "type": "integer"
  36095. },
  36096. "deliverygoodsname": {
  36097. "description": "品种名称",
  36098. "type": "string"
  36099. },
  36100. "enumdicname": {
  36101. "description": "单位名称",
  36102. "type": "string"
  36103. },
  36104. "fixedprice": {
  36105. "description": "固定价格(价格)",
  36106. "type": "number"
  36107. },
  36108. "haswr": {
  36109. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36110. "type": "integer"
  36111. },
  36112. "isspecified": {
  36113. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36114. "type": "integer"
  36115. },
  36116. "marketid": {
  36117. "description": "市场ID",
  36118. "type": "integer"
  36119. },
  36120. "matchuserid": {
  36121. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36122. "type": "integer"
  36123. },
  36124. "matchusername": {
  36125. "description": "指定方",
  36126. "type": "string"
  36127. },
  36128. "minivalue": {
  36129. "description": "现货商品最小变动值",
  36130. "type": "integer"
  36131. },
  36132. "optioncompare": {
  36133. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36134. "type": "string"
  36135. },
  36136. "orderqty": {
  36137. "description": "委托数量",
  36138. "type": "number"
  36139. },
  36140. "ordertime": {
  36141. "description": "委托时间",
  36142. "type": "string"
  36143. },
  36144. "pricemove": {
  36145. "description": "升贴水(浮动价时填写) - [挂牌]",
  36146. "type": "number"
  36147. },
  36148. "tradedate": {
  36149. "description": "交易日(yyyyMMdd)",
  36150. "type": "string"
  36151. },
  36152. "tradeprice": {
  36153. "description": "成交价格",
  36154. "type": "number"
  36155. },
  36156. "tradeqty": {
  36157. "description": "成交数量",
  36158. "type": "number"
  36159. },
  36160. "userid": {
  36161. "description": "用户ID",
  36162. "type": "integer"
  36163. },
  36164. "username": {
  36165. "description": "发起方",
  36166. "type": "string"
  36167. },
  36168. "warehouseid": {
  36169. "description": "仓库ID",
  36170. "type": "integer"
  36171. },
  36172. "warehousename": {
  36173. "description": "仓库名称",
  36174. "type": "string"
  36175. },
  36176. "wrfactortypeid": {
  36177. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36178. "type": "string"
  36179. },
  36180. "wrfactortypename": {
  36181. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36182. "type": "string"
  36183. },
  36184. "wrpricetype": {
  36185. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36186. "type": "integer"
  36187. },
  36188. "wrstandardcode": {
  36189. "description": "现货商品代码",
  36190. "type": "string"
  36191. },
  36192. "wrstandardid": {
  36193. "description": "现货商品ID",
  36194. "type": "integer"
  36195. },
  36196. "wrstandardname": {
  36197. "description": "商品名称",
  36198. "type": "string"
  36199. },
  36200. "wrtradeorderid": {
  36201. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36202. "type": "string"
  36203. },
  36204. "wrtradeorderstatus": {
  36205. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36206. "type": "integer"
  36207. },
  36208. "wrtradetype": {
  36209. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36210. "type": "integer"
  36211. },
  36212. "wrtypename": {
  36213. "description": "商品",
  36214. "type": "string"
  36215. }
  36216. }
  36217. },
  36218. "models.WrSpotGroupTradeSum": {
  36219. "type": "object",
  36220. "properties": {
  36221. "deliverygoodscode": {
  36222. "description": "现货品种代码",
  36223. "type": "string"
  36224. },
  36225. "deliverygoodsid": {
  36226. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36227. "type": "integer"
  36228. },
  36229. "deliverygoodsname": {
  36230. "description": "现货品种名称",
  36231. "type": "string"
  36232. },
  36233. "lastavgprice": {
  36234. "description": "上上个交易日价格(前2天价格)",
  36235. "type": "string"
  36236. },
  36237. "lastreckondate": {
  36238. "description": "上上个交易日(前2天交易日)",
  36239. "type": "string"
  36240. },
  36241. "reckondate": {
  36242. "description": "上个交易日(前1天交易日)",
  36243. "type": "string"
  36244. },
  36245. "todayavgprice": {
  36246. "description": "上个交易日价格(前1天价格)",
  36247. "type": "string"
  36248. },
  36249. "updown": {
  36250. "description": "涨跌",
  36251. "type": "string"
  36252. },
  36253. "updownratio": {
  36254. "description": "涨幅(已格式化, 直接显示即可)",
  36255. "type": "string"
  36256. }
  36257. }
  36258. },
  36259. "models.WrSpotGroupTradeSumDetail": {
  36260. "type": "object",
  36261. "properties": {
  36262. "deliverygoodsid": {
  36263. "description": "现货商品id",
  36264. "type": "integer"
  36265. },
  36266. "price": {
  36267. "description": "价格",
  36268. "type": "number"
  36269. },
  36270. "reckondate": {
  36271. "description": "日期(yyymmdd, 如:20211031)",
  36272. "type": "string"
  36273. }
  36274. }
  36275. },
  36276. "models.WrSpotGroupTradeSumEx": {
  36277. "type": "object",
  36278. "properties": {
  36279. "lst": {
  36280. "description": "指数列表",
  36281. "type": "array",
  36282. "items": {
  36283. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36284. }
  36285. },
  36286. "prereckondate": {
  36287. "description": "上上个交易日(yyymmdd)",
  36288. "type": "string"
  36289. },
  36290. "reckondate": {
  36291. "description": "上个交易日(yyyymmdd)",
  36292. "type": "string"
  36293. }
  36294. }
  36295. },
  36296. "models.WrStandardFactoryItem": {
  36297. "type": "object",
  36298. "properties": {
  36299. "dgfactoryitemid": {
  36300. "description": "选择项id",
  36301. "type": "integer"
  36302. },
  36303. "dgfactoryitemvalue": {
  36304. "description": "要素项值",
  36305. "type": "string"
  36306. },
  36307. "warehouseid": {
  36308. "description": "仓库id",
  36309. "type": "integer"
  36310. }
  36311. }
  36312. },
  36313. "models.WrStandardFactoryItemEx": {
  36314. "type": "object",
  36315. "properties": {
  36316. "dgfactoryitemtypeid": {
  36317. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36318. "type": "integer"
  36319. },
  36320. "itemlst": {
  36321. "description": "要素项列表",
  36322. "type": "array",
  36323. "items": {
  36324. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36325. }
  36326. },
  36327. "itemtypename": {
  36328. "description": "要素项类型名称",
  36329. "type": "string"
  36330. },
  36331. "wrstandardid": {
  36332. "description": "品类",
  36333. "type": "integer"
  36334. }
  36335. }
  36336. },
  36337. "models.WrTradeDetail": {
  36338. "type": "object",
  36339. "properties": {
  36340. "accountid": {
  36341. "description": "资金账号",
  36342. "type": "integer"
  36343. },
  36344. "bannerpicurl": {
  36345. "description": "Banner图",
  36346. "type": "string"
  36347. },
  36348. "begindate": {
  36349. "description": "开始交易日(yyyymmdd)",
  36350. "type": "string"
  36351. },
  36352. "buyorsell": {
  36353. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36354. "type": "integer"
  36355. },
  36356. "chargevalue": {
  36357. "description": "手续费",
  36358. "type": "number"
  36359. },
  36360. "deliverygoodscode": {
  36361. "description": "品种代码",
  36362. "type": "string"
  36363. },
  36364. "deliverygoodsid": {
  36365. "description": "品种ID",
  36366. "type": "integer"
  36367. },
  36368. "deliverygoodsname": {
  36369. "description": "品种名称",
  36370. "type": "string"
  36371. },
  36372. "deliverymonth": {
  36373. "description": "交收月",
  36374. "type": "string"
  36375. },
  36376. "enddate": {
  36377. "description": "结束交易日(yyyymmdd)",
  36378. "type": "string"
  36379. },
  36380. "enumdicname": {
  36381. "description": "单位名称",
  36382. "type": "string"
  36383. },
  36384. "haswr": {
  36385. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36386. "type": "integer"
  36387. },
  36388. "marketid": {
  36389. "description": "市场ID",
  36390. "type": "integer"
  36391. },
  36392. "matchaccountid": {
  36393. "description": "对手账号",
  36394. "type": "integer"
  36395. },
  36396. "matchusername": {
  36397. "description": "对手方",
  36398. "type": "string"
  36399. },
  36400. "minivalue": {
  36401. "description": "现货商品最小变动值",
  36402. "type": "integer"
  36403. },
  36404. "optioncompare": {
  36405. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36406. "type": "string"
  36407. },
  36408. "thumurls": {
  36409. "description": "缩略图",
  36410. "type": "string"
  36411. },
  36412. "tradedate": {
  36413. "description": "交易日(yyyyMMdd)",
  36414. "type": "string"
  36415. },
  36416. "tradeprice": {
  36417. "description": "成交价格",
  36418. "type": "number"
  36419. },
  36420. "tradeqty": {
  36421. "description": "成交数量",
  36422. "type": "number"
  36423. },
  36424. "tradetime": {
  36425. "description": "成交时间",
  36426. "type": "string"
  36427. },
  36428. "userid": {
  36429. "description": "用户ID",
  36430. "type": "integer"
  36431. },
  36432. "warehouseid": {
  36433. "description": "仓库ID",
  36434. "type": "integer"
  36435. },
  36436. "warehousename": {
  36437. "description": "仓库名称",
  36438. "type": "string"
  36439. },
  36440. "wrfactortypeid": {
  36441. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36442. "type": "string"
  36443. },
  36444. "wrfactortypename": {
  36445. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36446. "type": "string"
  36447. },
  36448. "wrstandardcode": {
  36449. "description": "现货商品代码",
  36450. "type": "string"
  36451. },
  36452. "wrstandardid": {
  36453. "description": "现货商品ID",
  36454. "type": "integer"
  36455. },
  36456. "wrstandardname": {
  36457. "description": "商品名称",
  36458. "type": "string"
  36459. },
  36460. "wrtradedetailid": {
  36461. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36462. "type": "string"
  36463. },
  36464. "wrtradetype": {
  36465. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36466. "type": "integer"
  36467. },
  36468. "wrtypename": {
  36469. "description": "商品",
  36470. "type": "string"
  36471. }
  36472. }
  36473. },
  36474. "models.WrTradeOrderDetail": {
  36475. "type": "object",
  36476. "properties": {
  36477. "buyorsell": {
  36478. "description": "买卖方向 0-买 1-卖",
  36479. "type": "integer"
  36480. },
  36481. "goodsid": {
  36482. "description": "商品id",
  36483. "type": "integer"
  36484. },
  36485. "orderid": {
  36486. "description": "委托单号",
  36487. "type": "string"
  36488. },
  36489. "orderprice": {
  36490. "description": "期初均价",
  36491. "type": "number"
  36492. },
  36493. "orderqty": {
  36494. "description": "委托数量",
  36495. "type": "integer"
  36496. },
  36497. "userid": {
  36498. "description": "用户id",
  36499. "type": "integer"
  36500. },
  36501. "username": {
  36502. "description": "用户名称(已脱敏)",
  36503. "type": "string"
  36504. }
  36505. }
  36506. },
  36507. "models.WrTypeItem": {
  36508. "type": "object",
  36509. "properties": {
  36510. "name": {
  36511. "description": "名称",
  36512. "type": "string"
  36513. },
  36514. "value": {
  36515. "description": "值",
  36516. "type": "string"
  36517. }
  36518. }
  36519. },
  36520. "models.WrUserFriend": {
  36521. "type": "object",
  36522. "properties": {
  36523. "friendname": {
  36524. "description": "朋友名称(已脱敏)",
  36525. "type": "string"
  36526. },
  36527. "frienduserid": {
  36528. "description": "朋友id",
  36529. "type": "integer"
  36530. },
  36531. "isfriend": {
  36532. "description": "是否好友 0-不是 1-是",
  36533. "type": "integer"
  36534. },
  36535. "userid": {
  36536. "description": "用户id",
  36537. "type": "integer"
  36538. }
  36539. }
  36540. },
  36541. "models.WrUserReceiptInfo": {
  36542. "type": "object",
  36543. "properties": {
  36544. "address": {
  36545. "description": "地址[发票类型:企业]",
  36546. "type": "string"
  36547. },
  36548. "autoid": {
  36549. "description": "AutoID",
  36550. "type": "integer"
  36551. },
  36552. "contactinfo": {
  36553. "description": "联系方式",
  36554. "type": "string"
  36555. },
  36556. "idnum": {
  36557. "description": "身份证号码[发票类型:个人]",
  36558. "type": "string"
  36559. },
  36560. "isdefault": {
  36561. "description": "是否默认地址 - 0:否 1:是",
  36562. "type": "integer"
  36563. },
  36564. "receiptaccount": {
  36565. "description": "发票帐号[发票类型:企业]",
  36566. "type": "string"
  36567. },
  36568. "receiptbank": {
  36569. "description": "发票开户行[发票类型:企业]",
  36570. "type": "string"
  36571. },
  36572. "receipttype": {
  36573. "description": "发票类型 - 1:个人 2:企业",
  36574. "type": "integer"
  36575. },
  36576. "taxpayerid": {
  36577. "description": "纳税人识别号",
  36578. "type": "string"
  36579. },
  36580. "userid": {
  36581. "description": "用户ID",
  36582. "type": "integer"
  36583. },
  36584. "username": {
  36585. "description": "户名(个人姓名或企业名称)",
  36586. "type": "string"
  36587. }
  36588. }
  36589. },
  36590. "models.Wrtradetradequote": {
  36591. "type": "object",
  36592. "properties": {
  36593. "begindate": {
  36594. "description": "开始日期(结果含开始日期) yyyymmdd",
  36595. "type": "string"
  36596. },
  36597. "buyaccountid": {
  36598. "description": "买方账号ID",
  36599. "type": "integer"
  36600. },
  36601. "buyuserid": {
  36602. "description": "买方用户ID",
  36603. "type": "integer"
  36604. },
  36605. "deliverygoodsid": {
  36606. "description": "现货品种ID",
  36607. "type": "integer"
  36608. },
  36609. "enddate": {
  36610. "description": "结束日期(结果含结束日期) yyyymmdd",
  36611. "type": "string"
  36612. },
  36613. "marketid": {
  36614. "description": "市场ID",
  36615. "type": "integer"
  36616. },
  36617. "sellaccountid": {
  36618. "description": "卖方账号ID",
  36619. "type": "integer"
  36620. },
  36621. "selluserid": {
  36622. "description": "卖方用户ID",
  36623. "type": "integer"
  36624. },
  36625. "tradeamount": {
  36626. "description": "成交金额",
  36627. "type": "number"
  36628. },
  36629. "tradedate": {
  36630. "description": "交易日(yyyyMMdd)",
  36631. "type": "string"
  36632. },
  36633. "tradeprice": {
  36634. "description": "成交价格",
  36635. "type": "number"
  36636. },
  36637. "tradeqty": {
  36638. "description": "成交数量",
  36639. "type": "integer"
  36640. },
  36641. "tradetime": {
  36642. "description": "成交时间",
  36643. "type": "string"
  36644. },
  36645. "wrfactortypeid": {
  36646. "description": "仓单要素类型ID",
  36647. "type": "integer"
  36648. },
  36649. "wrstandardid": {
  36650. "description": "现货商品ID",
  36651. "type": "integer"
  36652. },
  36653. "wrtradedetailid": {
  36654. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36655. "type": "string"
  36656. }
  36657. }
  36658. },
  36659. "models.XHBRAND": {
  36660. "type": "object",
  36661. "properties": {
  36662. "brandid": {
  36663. "description": "品牌id",
  36664. "type": "integer"
  36665. },
  36666. "brandname": {
  36667. "description": "品牌名称",
  36668. "type": "string"
  36669. },
  36670. "isvalid": {
  36671. "description": "是否有效 0-无效 1-有效",
  36672. "type": "integer"
  36673. }
  36674. }
  36675. },
  36676. "models.XHDeliveryGoods": {
  36677. "type": "object",
  36678. "properties": {
  36679. "areauserid": {
  36680. "description": "所属机构",
  36681. "type": "integer"
  36682. },
  36683. "bdlst": {
  36684. "description": "品牌列表",
  36685. "type": "array",
  36686. "items": {
  36687. "$ref": "#/definitions/models.XHBRAND"
  36688. }
  36689. },
  36690. "deliverygoodscode": {
  36691. "description": "现货品种代码",
  36692. "type": "string"
  36693. },
  36694. "deliverygoodsid": {
  36695. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36696. "type": "integer"
  36697. },
  36698. "deliverygoodsname": {
  36699. "description": "现货品种名称",
  36700. "type": "string"
  36701. },
  36702. "dgstatus": {
  36703. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36704. "type": "integer"
  36705. },
  36706. "filterSubEmpty": {
  36707. "description": "过滤下级为空的",
  36708. "type": "integer"
  36709. },
  36710. "isvalid": {
  36711. "description": "是否有效 - 0:无效 1:有效",
  36712. "type": "integer"
  36713. },
  36714. "remark": {
  36715. "description": "备注",
  36716. "type": "string"
  36717. },
  36718. "unitid": {
  36719. "description": "单位id(目前看,数据库中是空值)",
  36720. "type": "integer"
  36721. },
  36722. "wdlst": {
  36723. "description": "品类(现货商品)列表",
  36724. "type": "array",
  36725. "items": {
  36726. "$ref": "#/definitions/models.XHWrstandard"
  36727. }
  36728. }
  36729. }
  36730. },
  36731. "models.XHMiddleGoods": {
  36732. "type": "object",
  36733. "properties": {
  36734. "GPLST": {
  36735. "description": "期货品种列表",
  36736. "type": "array",
  36737. "items": {
  36738. "$ref": "#/definitions/models.TBGoodsGroup"
  36739. }
  36740. },
  36741. "convertratio": {
  36742. "description": "拆算系数",
  36743. "type": "number"
  36744. },
  36745. "costratio": {
  36746. "description": "成本权重",
  36747. "type": "number"
  36748. },
  36749. "deliverygoodsid": {
  36750. "description": "现货商品id",
  36751. "type": "integer"
  36752. },
  36753. "enumdicname": {
  36754. "description": "单位名称",
  36755. "type": "string"
  36756. },
  36757. "middlegoodscode": {
  36758. "description": "套保品种代码",
  36759. "type": "string"
  36760. },
  36761. "middlegoodsid": {
  36762. "description": "套保品种id",
  36763. "type": "integer"
  36764. },
  36765. "middlegoodsname": {
  36766. "description": "套保品种名称",
  36767. "type": "string"
  36768. },
  36769. "unitid": {
  36770. "description": "单位id",
  36771. "type": "integer"
  36772. }
  36773. }
  36774. },
  36775. "models.XHWrstandard": {
  36776. "type": "object",
  36777. "properties": {
  36778. "bannerpicurl": {
  36779. "description": "banner图",
  36780. "type": "string"
  36781. },
  36782. "deliverygoodsid": {
  36783. "description": "品种ID",
  36784. "type": "integer"
  36785. },
  36786. "enumdicname": {
  36787. "description": "单位名称",
  36788. "type": "string"
  36789. },
  36790. "mglst": {
  36791. "description": "套保品列表",
  36792. "type": "array",
  36793. "items": {
  36794. "$ref": "#/definitions/models.XHMiddleGoods"
  36795. }
  36796. },
  36797. "pictureurls": {
  36798. "description": "详情图片(逗号分隔)",
  36799. "type": "string"
  36800. },
  36801. "thumurls": {
  36802. "description": "缩略图片(1:1)(逗号分隔)",
  36803. "type": "string"
  36804. },
  36805. "unitid": {
  36806. "description": "单位id",
  36807. "type": "integer"
  36808. },
  36809. "vatrate": {
  36810. "description": "增值税率",
  36811. "type": "number"
  36812. },
  36813. "wrstandardcode": {
  36814. "description": "现货商品代码",
  36815. "type": "string"
  36816. },
  36817. "wrstandardid": {
  36818. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36819. "type": "integer"
  36820. },
  36821. "wrstandardname": {
  36822. "description": "现货商品名称",
  36823. "type": "string"
  36824. }
  36825. }
  36826. },
  36827. "models.XhcpSellBackApplyEx": {
  36828. "type": "object",
  36829. "required": [
  36830. "userid"
  36831. ],
  36832. "properties": {
  36833. "applyremark": {
  36834. "description": "申请备注",
  36835. "type": "string"
  36836. },
  36837. "expirytype": {
  36838. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  36839. "type": "integer"
  36840. },
  36841. "goodsspec": {
  36842. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  36843. "type": "integer"
  36844. },
  36845. "holeflag": {
  36846. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  36847. "type": "integer"
  36848. },
  36849. "isunopened": {
  36850. "description": "是否原封 - 1:否 2:是",
  36851. "type": "integer"
  36852. },
  36853. "mpflag": {
  36854. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  36855. "type": "integer"
  36856. },
  36857. "openflag": {
  36858. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  36859. "type": "integer"
  36860. },
  36861. "phonenum": {
  36862. "description": "联系电话",
  36863. "type": "string"
  36864. },
  36865. "userid": {
  36866. "description": "所属用户ID",
  36867. "type": "integer"
  36868. },
  36869. "zpflag": {
  36870. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  36871. "type": "integer"
  36872. }
  36873. }
  36874. },
  36875. "models.Xhcpsellbackapply": {
  36876. "type": "object",
  36877. "required": [
  36878. "userid"
  36879. ],
  36880. "properties": {
  36881. "applyid": {
  36882. "description": "申请人",
  36883. "type": "integer"
  36884. },
  36885. "applyremark": {
  36886. "description": "申请备注",
  36887. "type": "string"
  36888. },
  36889. "applysrc": {
  36890. "description": "申请来源 - 1:管理端 2:终端",
  36891. "type": "integer"
  36892. },
  36893. "applystatus": {
  36894. "description": "申请状态 - 1:待确认 2:已处理",
  36895. "type": "integer"
  36896. },
  36897. "applytime": {
  36898. "description": "申请时间",
  36899. "type": "string"
  36900. },
  36901. "auditremark": {
  36902. "description": "审核备注",
  36903. "type": "string"
  36904. },
  36905. "auditsrc": {
  36906. "description": "审核来源 - 1:管理端 2:终端",
  36907. "type": "integer"
  36908. },
  36909. "expirytype": {
  36910. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  36911. "type": "integer"
  36912. },
  36913. "goodsspec": {
  36914. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  36915. "type": "integer"
  36916. },
  36917. "holeflag": {
  36918. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  36919. "type": "integer"
  36920. },
  36921. "isunopened": {
  36922. "description": "是否原封 - 1:否 2:是",
  36923. "type": "integer"
  36924. },
  36925. "mpflag": {
  36926. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  36927. "type": "integer"
  36928. },
  36929. "openflag": {
  36930. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  36931. "type": "integer"
  36932. },
  36933. "phonenum": {
  36934. "description": "联系电话",
  36935. "type": "string"
  36936. },
  36937. "sellbackapplyid": {
  36938. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  36939. "type": "string"
  36940. },
  36941. "userid": {
  36942. "description": "所属用户ID",
  36943. "type": "integer"
  36944. },
  36945. "zpflag": {
  36946. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  36947. "type": "integer"
  36948. }
  36949. }
  36950. },
  36951. "order.QueryHisTradeDetailRsp": {
  36952. "type": "object",
  36953. "required": [
  36954. "accountid",
  36955. "buyorsell",
  36956. "goodsid",
  36957. "histradedate",
  36958. "marketid",
  36959. "memberuserid",
  36960. "orderid",
  36961. "tradeamount",
  36962. "tradedate",
  36963. "tradeid",
  36964. "tradeprice",
  36965. "tradeqty",
  36966. "tradetime"
  36967. ],
  36968. "properties": {
  36969. "accountid": {
  36970. "description": "账户ID[报价币种]",
  36971. "type": "integer"
  36972. },
  36973. "advanceratio": {
  36974. "description": "首付比率",
  36975. "type": "number"
  36976. },
  36977. "buildtype": {
  36978. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36979. "type": "integer"
  36980. },
  36981. "buyorsell": {
  36982. "description": "方向 - 0:买 1:卖",
  36983. "type": "integer"
  36984. },
  36985. "charge": {
  36986. "description": "手续费",
  36987. "type": "number"
  36988. },
  36989. "closecharge": {
  36990. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36991. "type": "number"
  36992. },
  36993. "closeexchagechargevalue": {
  36994. "description": "平仓交易所手续费设置值",
  36995. "type": "number"
  36996. },
  36997. "closefeealgorithm": {
  36998. "description": "平仓手续费收取方式 1:比率 2:固定",
  36999. "type": "integer"
  37000. },
  37001. "closememberchargevalue": {
  37002. "description": "平仓会员手续费设置值",
  37003. "type": "number"
  37004. },
  37005. "closepl": {
  37006. "description": "平仓盈亏",
  37007. "type": "number"
  37008. },
  37009. "closepl2": {
  37010. "description": "平仓盈亏[逐笔]",
  37011. "type": "number"
  37012. },
  37013. "closeqty": {
  37014. "description": "平仓数量(先建后平操作 需要记录)",
  37015. "type": "number"
  37016. },
  37017. "creditamount": {
  37018. "description": "授信金额",
  37019. "type": "number"
  37020. },
  37021. "decimalplace": {
  37022. "description": "商品报价小数位",
  37023. "type": "integer"
  37024. },
  37025. "enumdicname": {
  37026. "description": "单位名称",
  37027. "type": "string"
  37028. },
  37029. "gcaccountid": {
  37030. "description": "账户ID[合约币种]",
  37031. "type": "integer"
  37032. },
  37033. "goodscode": {
  37034. "description": "商品代码",
  37035. "type": "string"
  37036. },
  37037. "goodsid": {
  37038. "description": "商品ID",
  37039. "type": "integer"
  37040. },
  37041. "goodsname": {
  37042. "description": "商品名称",
  37043. "type": "string"
  37044. },
  37045. "goodunitid": {
  37046. "description": "商品单位id",
  37047. "type": "integer"
  37048. },
  37049. "histradedate": {
  37050. "description": "历史交易日",
  37051. "type": "string"
  37052. },
  37053. "intclosepl": {
  37054. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37055. "type": "integer"
  37056. },
  37057. "isconfirmexercise": {
  37058. "description": "是否确认行权- 0:否 1:是",
  37059. "type": "integer"
  37060. },
  37061. "ismain": {
  37062. "description": "是否主单 - 0:不是 1:是",
  37063. "type": "integer"
  37064. },
  37065. "ispreexercise": {
  37066. "description": "是否预申报- 0:否 1:是",
  37067. "type": "integer"
  37068. },
  37069. "isreckoned": {
  37070. "description": "是否结算 - 0:未结算 1:已结算",
  37071. "type": "integer"
  37072. },
  37073. "isvaliddata": {
  37074. "description": "是否有效 - 0:无效 1:有效",
  37075. "type": "integer"
  37076. },
  37077. "listingselecttype": {
  37078. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37079. "type": "integer"
  37080. },
  37081. "marketid": {
  37082. "description": "市场ID",
  37083. "type": "integer"
  37084. },
  37085. "marketname": {
  37086. "description": "市场名称",
  37087. "type": "string"
  37088. },
  37089. "matchaccountid": {
  37090. "description": "对手账号id",
  37091. "type": "integer"
  37092. },
  37093. "memberuserid": {
  37094. "description": "会员id 个人投资者 需要填写",
  37095. "type": "integer"
  37096. },
  37097. "opencharge": {
  37098. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37099. "type": "number"
  37100. },
  37101. "openexchagechargevalue": {
  37102. "description": "建仓交易所手续费设置值",
  37103. "type": "number"
  37104. },
  37105. "openfeealgorithm": {
  37106. "description": "建仓手续费收取方式 1:比率 2:固定",
  37107. "type": "integer"
  37108. },
  37109. "openmemberchargevalue": {
  37110. "description": "建仓会员手续费设置值",
  37111. "type": "number"
  37112. },
  37113. "openqty": {
  37114. "description": "开仓数量(先建后平操作 需要记录)",
  37115. "type": "number"
  37116. },
  37117. "optiontype": {
  37118. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37119. "type": "integer"
  37120. },
  37121. "orderid": {
  37122. "description": "委托单号",
  37123. "type": "string"
  37124. },
  37125. "payamount": {
  37126. "description": "支付金额(付款金额)",
  37127. "type": "number"
  37128. },
  37129. "performanceplanid": {
  37130. "description": "履约计划ID[期权]",
  37131. "type": "integer"
  37132. },
  37133. "performancestatus": {
  37134. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37135. "type": "integer"
  37136. },
  37137. "preexerciseprice": {
  37138. "description": "预申报价格",
  37139. "type": "number"
  37140. },
  37141. "premium": {
  37142. "description": "权利金 - [持仓单的权利金]",
  37143. "type": "number"
  37144. },
  37145. "qtydecimalplace": {
  37146. "description": "商品报价小数位",
  37147. "type": "integer"
  37148. },
  37149. "recvamount": {
  37150. "description": "到账金额 = 成交金额 - 手续费",
  37151. "type": "number"
  37152. },
  37153. "relatedouttradeid": {
  37154. "description": "关联外部成交单ID",
  37155. "type": "integer"
  37156. },
  37157. "status": {
  37158. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37159. "type": "integer"
  37160. },
  37161. "totalamount": {
  37162. "description": "订单总额 = 成交金额 + 手续费",
  37163. "type": "number"
  37164. },
  37165. "tradeamount": {
  37166. "description": "成交金额[账户币种,用于所有权]",
  37167. "type": "number"
  37168. },
  37169. "tradedate": {
  37170. "description": "交易日(yyyyMMdd)",
  37171. "type": "string"
  37172. },
  37173. "tradeid": {
  37174. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37175. "type": "string"
  37176. },
  37177. "trademode": {
  37178. "description": "交易模式",
  37179. "type": "integer"
  37180. },
  37181. "tradeprice": {
  37182. "description": "成交价格",
  37183. "type": "number"
  37184. },
  37185. "tradeproperty": {
  37186. "description": "交易属性",
  37187. "type": "integer"
  37188. },
  37189. "tradeqty": {
  37190. "description": "成交数量",
  37191. "type": "number"
  37192. },
  37193. "tradetime": {
  37194. "description": "成交时间",
  37195. "type": "string"
  37196. },
  37197. "tradetype": {
  37198. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37199. "type": "integer"
  37200. }
  37201. }
  37202. },
  37203. "order.QueryHisTradeOrderDetailRsp": {
  37204. "type": "object",
  37205. "required": [
  37206. "accountid",
  37207. "buildtype",
  37208. "buyorsell",
  37209. "goodsid",
  37210. "histradedate",
  37211. "marketid",
  37212. "memberuserid",
  37213. "operatetype",
  37214. "orderid",
  37215. "orderqty",
  37216. "ordertime",
  37217. "pricemode",
  37218. "tradedate",
  37219. "validtype"
  37220. ],
  37221. "properties": {
  37222. "accountid": {
  37223. "description": "账户ID[报价币种]",
  37224. "type": "integer"
  37225. },
  37226. "buildtype": {
  37227. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37228. "type": "integer"
  37229. },
  37230. "buyorsell": {
  37231. "description": "买卖 - 0:买 1:卖",
  37232. "type": "integer"
  37233. },
  37234. "cancelorderid": {
  37235. "description": "撤单单号(撤单时填写)",
  37236. "type": "string"
  37237. },
  37238. "cancelqty": {
  37239. "description": "撤单数量",
  37240. "type": "number"
  37241. },
  37242. "clientordertime": {
  37243. "description": "客户端委托时间",
  37244. "type": "string"
  37245. },
  37246. "clientticket": {
  37247. "description": "客户端流水号",
  37248. "type": "string"
  37249. },
  37250. "clienttype": {
  37251. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37252. "type": "integer"
  37253. },
  37254. "closeexchagechargevalue": {
  37255. "description": "平仓交易所手续费设置值",
  37256. "type": "number"
  37257. },
  37258. "closefeealgorithm": {
  37259. "description": "平仓手续费收取方式 1:比率 2:固定",
  37260. "type": "integer"
  37261. },
  37262. "closefreezecharge": {
  37263. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37264. "type": "number"
  37265. },
  37266. "closememberchargevalue": {
  37267. "description": "平仓会员手续费设置值",
  37268. "type": "number"
  37269. },
  37270. "closeqty": {
  37271. "description": "平仓数量(先建后平操作 需要记录)",
  37272. "type": "number"
  37273. },
  37274. "closetradeqty": {
  37275. "description": "平仓成交数量(先建后平操作,需要记录)",
  37276. "type": "number"
  37277. },
  37278. "closeunfreezecharge": {
  37279. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37280. "type": "number"
  37281. },
  37282. "decimalplace": {
  37283. "description": "商品报价小数位",
  37284. "type": "integer"
  37285. },
  37286. "delistingtype": {
  37287. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37288. "type": "integer"
  37289. },
  37290. "enumdicname": {
  37291. "description": "单位名称",
  37292. "type": "string"
  37293. },
  37294. "freezecharge": {
  37295. "description": "冻结手续费",
  37296. "type": "number"
  37297. },
  37298. "freezemargin": {
  37299. "description": "冻结保证金(冻结交易金额)",
  37300. "type": "number"
  37301. },
  37302. "gcaccountid": {
  37303. "description": "账户ID[合约币种]",
  37304. "type": "integer"
  37305. },
  37306. "goodscode": {
  37307. "description": "商品代码",
  37308. "type": "string"
  37309. },
  37310. "goodsid": {
  37311. "description": "商品ID",
  37312. "type": "integer"
  37313. },
  37314. "goodsname": {
  37315. "description": "商品名称",
  37316. "type": "string"
  37317. },
  37318. "goodunitid": {
  37319. "description": "商品单位id",
  37320. "type": "integer"
  37321. },
  37322. "histradedate": {
  37323. "description": "历史交易日",
  37324. "type": "string"
  37325. },
  37326. "isconfirmexercise": {
  37327. "description": "是否确认行权- 0:否 1:是",
  37328. "type": "integer"
  37329. },
  37330. "ispreexercise": {
  37331. "description": "是否预申报- 0:否 1:是",
  37332. "type": "integer"
  37333. },
  37334. "isvaliddata": {
  37335. "description": "是否有效 - 0:无效 1:有效",
  37336. "type": "integer"
  37337. },
  37338. "listingselecttype": {
  37339. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37340. "type": "integer"
  37341. },
  37342. "marginalgorithm": {
  37343. "description": "保证金收取方式 1:比率 2:固定",
  37344. "type": "integer"
  37345. },
  37346. "marginvalue": {
  37347. "description": "即市保证金设置值",
  37348. "type": "number"
  37349. },
  37350. "marketid": {
  37351. "description": "市场ID",
  37352. "type": "integer"
  37353. },
  37354. "marketmaxsub": {
  37355. "description": "市价最大偏移范围",
  37356. "type": "number"
  37357. },
  37358. "marketname": {
  37359. "description": "市场名称",
  37360. "type": "string"
  37361. },
  37362. "memberuserid": {
  37363. "description": "所属会员UserID",
  37364. "type": "integer"
  37365. },
  37366. "openexchagechargevalue": {
  37367. "description": "建仓交易所手续费设置值",
  37368. "type": "number"
  37369. },
  37370. "openfeealgorithm": {
  37371. "description": "建仓手续费收取方式 1:比率 2:固定",
  37372. "type": "integer"
  37373. },
  37374. "openfreezecharge": {
  37375. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37376. "type": "number"
  37377. },
  37378. "openmemberchargevalue": {
  37379. "description": "建仓会员手续费设置值",
  37380. "type": "number"
  37381. },
  37382. "openqty": {
  37383. "description": "开仓数量(先建后平操作,需要记录)",
  37384. "type": "number"
  37385. },
  37386. "opentradeqty": {
  37387. "description": "开仓成交数量(先建后平操作,需要记录)",
  37388. "type": "number"
  37389. },
  37390. "openunfreezecharge": {
  37391. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37392. "type": "number"
  37393. },
  37394. "operatetype": {
  37395. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37396. "type": "integer"
  37397. },
  37398. "operatorid": {
  37399. "description": "登录账号(LoginID)",
  37400. "type": "integer"
  37401. },
  37402. "optiontype": {
  37403. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37404. "type": "integer"
  37405. },
  37406. "orderid": {
  37407. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37408. "type": "string"
  37409. },
  37410. "orderprice": {
  37411. "description": "委托价格",
  37412. "type": "number"
  37413. },
  37414. "orderqty": {
  37415. "description": "委托数量",
  37416. "type": "number"
  37417. },
  37418. "ordersrc": {
  37419. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37420. "type": "integer"
  37421. },
  37422. "orderstatus": {
  37423. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37424. "type": "integer"
  37425. },
  37426. "ordertime": {
  37427. "description": "委托时间",
  37428. "type": "string"
  37429. },
  37430. "preexerciseprice": {
  37431. "description": "预申报价格",
  37432. "type": "number"
  37433. },
  37434. "premium": {
  37435. "description": "权利金",
  37436. "type": "number"
  37437. },
  37438. "preorderid": {
  37439. "description": "关联预埋单号(止盈止损单时填写)",
  37440. "type": "string"
  37441. },
  37442. "pricemode": {
  37443. "description": "取价方式 - 1:市价 2: 限价",
  37444. "type": "integer"
  37445. },
  37446. "qtydecimalplace": {
  37447. "description": "成交量小数位",
  37448. "type": "integer"
  37449. },
  37450. "quoteid": {
  37451. "description": "报价单ID",
  37452. "type": "integer"
  37453. },
  37454. "relatedid": {
  37455. "description": "关联单号(交割单)",
  37456. "type": "string"
  37457. },
  37458. "retcode": {
  37459. "description": "错误代码",
  37460. "type": "integer"
  37461. },
  37462. "sessionid": {
  37463. "description": "会话ID",
  37464. "type": "integer"
  37465. },
  37466. "tradedate": {
  37467. "description": "交易日(yyyyMMdd)",
  37468. "type": "string"
  37469. },
  37470. "trademode": {
  37471. "description": "交易模式",
  37472. "type": "integer"
  37473. },
  37474. "tradeproperty": {
  37475. "description": "交易属性",
  37476. "type": "integer"
  37477. },
  37478. "tradeqty": {
  37479. "description": "成交数量",
  37480. "type": "number"
  37481. },
  37482. "unfreezecharge": {
  37483. "description": "解冻手续费",
  37484. "type": "number"
  37485. },
  37486. "unfreezemargin": {
  37487. "description": "解冻保证金",
  37488. "type": "number"
  37489. },
  37490. "updatetime": {
  37491. "description": "更新时间",
  37492. "type": "string"
  37493. },
  37494. "uuid": {
  37495. "description": "发起端唯一id",
  37496. "type": "string"
  37497. },
  37498. "validtime": {
  37499. "description": "有效期限",
  37500. "type": "string"
  37501. },
  37502. "validtype": {
  37503. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37504. "type": "integer"
  37505. },
  37506. "volumetype": {
  37507. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37508. "type": "integer"
  37509. }
  37510. }
  37511. },
  37512. "order.QueryTradeDetailRsp": {
  37513. "type": "object",
  37514. "required": [
  37515. "accountid",
  37516. "buyorsell",
  37517. "goodsid",
  37518. "marketid",
  37519. "memberuserid",
  37520. "orderid",
  37521. "tradeamount",
  37522. "tradedate",
  37523. "tradeid",
  37524. "tradeprice",
  37525. "tradeqty",
  37526. "tradetime"
  37527. ],
  37528. "properties": {
  37529. "accountid": {
  37530. "description": "账户ID[报价币种]",
  37531. "type": "integer"
  37532. },
  37533. "advanceratio": {
  37534. "description": "首付比率",
  37535. "type": "number"
  37536. },
  37537. "buildtype": {
  37538. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37539. "type": "integer"
  37540. },
  37541. "buyorsell": {
  37542. "description": "方向 - 0:买 1:卖",
  37543. "type": "integer"
  37544. },
  37545. "charge": {
  37546. "description": "手续费",
  37547. "type": "number"
  37548. },
  37549. "closecharge": {
  37550. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37551. "type": "number"
  37552. },
  37553. "closeexchagechargevalue": {
  37554. "description": "平仓交易所手续费设置值",
  37555. "type": "number"
  37556. },
  37557. "closefeealgorithm": {
  37558. "description": "平仓手续费收取方式 1:比率 2:固定",
  37559. "type": "integer"
  37560. },
  37561. "closememberchargevalue": {
  37562. "description": "平仓会员手续费设置值",
  37563. "type": "number"
  37564. },
  37565. "closepl": {
  37566. "description": "平仓盈亏",
  37567. "type": "number"
  37568. },
  37569. "closepl2": {
  37570. "description": "平仓盈亏[逐笔]",
  37571. "type": "number"
  37572. },
  37573. "closeqty": {
  37574. "description": "平仓数量(先建后平操作 需要记录)",
  37575. "type": "number"
  37576. },
  37577. "creditamount": {
  37578. "description": "授信金额",
  37579. "type": "number"
  37580. },
  37581. "decimalplace": {
  37582. "description": "商品报价小数位",
  37583. "type": "integer"
  37584. },
  37585. "enumdicname": {
  37586. "description": "单位名称",
  37587. "type": "string"
  37588. },
  37589. "gcaccountid": {
  37590. "description": "账户ID[合约币种]",
  37591. "type": "integer"
  37592. },
  37593. "goodscode": {
  37594. "description": "商品代码",
  37595. "type": "string"
  37596. },
  37597. "goodsid": {
  37598. "description": "商品ID",
  37599. "type": "integer"
  37600. },
  37601. "goodsname": {
  37602. "description": "商品名称",
  37603. "type": "string"
  37604. },
  37605. "goodunitid": {
  37606. "description": "商品单位id",
  37607. "type": "integer"
  37608. },
  37609. "intclosepl": {
  37610. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37611. "type": "integer"
  37612. },
  37613. "isconfirmexercise": {
  37614. "description": "是否确认行权- 0:否 1:是",
  37615. "type": "integer"
  37616. },
  37617. "ismain": {
  37618. "description": "是否主单 - 0:不是 1:是",
  37619. "type": "integer"
  37620. },
  37621. "ispreexercise": {
  37622. "description": "是否预申报- 0:否 1:是",
  37623. "type": "integer"
  37624. },
  37625. "isreckoned": {
  37626. "description": "是否结算 - 0:未结算 1:已结算",
  37627. "type": "integer"
  37628. },
  37629. "listingselecttype": {
  37630. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37631. "type": "integer"
  37632. },
  37633. "marketid": {
  37634. "description": "市场ID",
  37635. "type": "integer"
  37636. },
  37637. "marketname": {
  37638. "description": "市场名称",
  37639. "type": "string"
  37640. },
  37641. "matchaccountid": {
  37642. "description": "对手账号id",
  37643. "type": "integer"
  37644. },
  37645. "memberuserid": {
  37646. "description": "会员id 个人投资者 需要填写",
  37647. "type": "integer"
  37648. },
  37649. "opencharge": {
  37650. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37651. "type": "number"
  37652. },
  37653. "openexchagechargevalue": {
  37654. "description": "建仓交易所手续费设置值",
  37655. "type": "number"
  37656. },
  37657. "openfeealgorithm": {
  37658. "description": "建仓手续费收取方式 1:比率 2:固定",
  37659. "type": "integer"
  37660. },
  37661. "openmemberchargevalue": {
  37662. "description": "建仓会员手续费设置值",
  37663. "type": "number"
  37664. },
  37665. "openqty": {
  37666. "description": "开仓数量(先建后平操作 需要记录)",
  37667. "type": "number"
  37668. },
  37669. "optiontype": {
  37670. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37671. "type": "integer"
  37672. },
  37673. "orderid": {
  37674. "description": "委托单号",
  37675. "type": "string"
  37676. },
  37677. "payamount": {
  37678. "description": "支付金额(付款金额)",
  37679. "type": "number"
  37680. },
  37681. "performanceplanid": {
  37682. "description": "履约计划ID[期权]",
  37683. "type": "integer"
  37684. },
  37685. "performancestatus": {
  37686. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37687. "type": "integer"
  37688. },
  37689. "preexerciseprice": {
  37690. "description": "预申报价格",
  37691. "type": "number"
  37692. },
  37693. "premium": {
  37694. "description": "权利金 - [持仓单的权利金]",
  37695. "type": "number"
  37696. },
  37697. "qtydecimalplace": {
  37698. "description": "商品报价小数位",
  37699. "type": "integer"
  37700. },
  37701. "recvamount": {
  37702. "description": "到账金额 = 成交金额 - 手续费",
  37703. "type": "number"
  37704. },
  37705. "relatedouttradeid": {
  37706. "description": "关联外部成交单ID",
  37707. "type": "integer"
  37708. },
  37709. "status": {
  37710. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37711. "type": "integer"
  37712. },
  37713. "totalamount": {
  37714. "description": "订单总额 = 成交金额 + 手续费",
  37715. "type": "number"
  37716. },
  37717. "tradeamount": {
  37718. "description": "成交金额[账户币种,用于所有权]",
  37719. "type": "number"
  37720. },
  37721. "tradedate": {
  37722. "description": "交易日(yyyyMMdd)",
  37723. "type": "string"
  37724. },
  37725. "tradeid": {
  37726. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37727. "type": "string"
  37728. },
  37729. "trademode": {
  37730. "description": "交易模式",
  37731. "type": "integer"
  37732. },
  37733. "tradeprice": {
  37734. "description": "成交价格",
  37735. "type": "number"
  37736. },
  37737. "tradeproperty": {
  37738. "description": "交易属性",
  37739. "type": "integer"
  37740. },
  37741. "tradeqty": {
  37742. "description": "成交数量",
  37743. "type": "number"
  37744. },
  37745. "tradetime": {
  37746. "description": "成交时间",
  37747. "type": "string"
  37748. },
  37749. "tradetype": {
  37750. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37751. "type": "integer"
  37752. }
  37753. }
  37754. },
  37755. "order.QueryTradeOrderDetailRsp": {
  37756. "type": "object",
  37757. "required": [
  37758. "accountid",
  37759. "buildtype",
  37760. "buyorsell",
  37761. "goodsid",
  37762. "marketid",
  37763. "operatetype",
  37764. "orderqty",
  37765. "ordertime",
  37766. "pricemode",
  37767. "tradedate",
  37768. "validtype"
  37769. ],
  37770. "properties": {
  37771. "accountid": {
  37772. "description": "账户ID[报价币种]",
  37773. "type": "integer"
  37774. },
  37775. "buildtype": {
  37776. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37777. "type": "integer"
  37778. },
  37779. "buyorsell": {
  37780. "description": "买卖 - 0:买 1:卖",
  37781. "type": "integer"
  37782. },
  37783. "cancelorderid": {
  37784. "description": "撤单单号(撤单时填写)",
  37785. "type": "string"
  37786. },
  37787. "cancelqty": {
  37788. "description": "撤单数量",
  37789. "type": "number"
  37790. },
  37791. "clienttype": {
  37792. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37793. "type": "integer"
  37794. },
  37795. "closefreezecharge": {
  37796. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37797. "type": "number"
  37798. },
  37799. "closeqty": {
  37800. "description": "平仓数量(先建后平操作 需要记录)",
  37801. "type": "number"
  37802. },
  37803. "closetradeqty": {
  37804. "description": "平仓成交数量(先建后平操作,需要记录)",
  37805. "type": "number"
  37806. },
  37807. "closeunfreezecharge": {
  37808. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37809. "type": "number"
  37810. },
  37811. "decimalplace": {
  37812. "description": "商品报价小数位",
  37813. "type": "integer"
  37814. },
  37815. "delistingtype": {
  37816. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37817. "type": "integer"
  37818. },
  37819. "enableqty": {
  37820. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37821. "type": "number"
  37822. },
  37823. "enumdicname": {
  37824. "description": "单位名称",
  37825. "type": "string"
  37826. },
  37827. "freezecharge": {
  37828. "description": "冻结手续费",
  37829. "type": "number"
  37830. },
  37831. "freezemargin": {
  37832. "description": "冻结保证金(冻结交易金额)",
  37833. "type": "number"
  37834. },
  37835. "goodscode": {
  37836. "description": "商品代码",
  37837. "type": "string"
  37838. },
  37839. "goodsid": {
  37840. "description": "商品ID",
  37841. "type": "integer"
  37842. },
  37843. "goodsname": {
  37844. "description": "商品名称",
  37845. "type": "string"
  37846. },
  37847. "goodunitid": {
  37848. "description": "商品单位id",
  37849. "type": "integer"
  37850. },
  37851. "listingselecttype": {
  37852. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37853. "type": "integer"
  37854. },
  37855. "marketid": {
  37856. "description": "市场ID",
  37857. "type": "integer"
  37858. },
  37859. "marketname": {
  37860. "description": "市场名称",
  37861. "type": "string"
  37862. },
  37863. "openfreezecharge": {
  37864. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37865. "type": "number"
  37866. },
  37867. "openqty": {
  37868. "description": "开仓数量(先建后平操作,需要记录)",
  37869. "type": "number"
  37870. },
  37871. "opentradeqty": {
  37872. "description": "开仓成交数量(先建后平操作,需要记录)",
  37873. "type": "number"
  37874. },
  37875. "openunfreezecharge": {
  37876. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37877. "type": "number"
  37878. },
  37879. "operatetype": {
  37880. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37881. "type": "integer"
  37882. },
  37883. "operatorid": {
  37884. "description": "登录账号(LoginID)",
  37885. "type": "integer"
  37886. },
  37887. "orderid": {
  37888. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37889. "type": "string"
  37890. },
  37891. "orderprice": {
  37892. "description": "委托价格",
  37893. "type": "number"
  37894. },
  37895. "orderqty": {
  37896. "description": "委托数量",
  37897. "type": "number"
  37898. },
  37899. "ordersrc": {
  37900. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37901. "type": "integer"
  37902. },
  37903. "orderstatus": {
  37904. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37905. "type": "integer"
  37906. },
  37907. "ordertime": {
  37908. "description": "委托时间",
  37909. "type": "string"
  37910. },
  37911. "preorderid": {
  37912. "description": "关联预埋单号(止盈止损单时填写)",
  37913. "type": "string"
  37914. },
  37915. "pricemode": {
  37916. "description": "取价方式 - 1:市价 2: 限价",
  37917. "type": "integer"
  37918. },
  37919. "qtydecimalplace": {
  37920. "description": "商品报价小数位",
  37921. "type": "integer"
  37922. },
  37923. "relatedid": {
  37924. "description": "关联单号(交割单)",
  37925. "type": "string"
  37926. },
  37927. "tradedate": {
  37928. "description": "交易日(yyyyMMdd)",
  37929. "type": "string"
  37930. },
  37931. "trademode": {
  37932. "description": "交易模式",
  37933. "type": "integer"
  37934. },
  37935. "tradeqty": {
  37936. "description": "成交数量",
  37937. "type": "number"
  37938. },
  37939. "unfreezecharge": {
  37940. "description": "解冻手续费",
  37941. "type": "number"
  37942. },
  37943. "unfreezemargin": {
  37944. "description": "解冻保证金",
  37945. "type": "number"
  37946. },
  37947. "validtime": {
  37948. "description": "有效期限",
  37949. "type": "string"
  37950. },
  37951. "validtype": {
  37952. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37953. "type": "integer"
  37954. },
  37955. "volumetype": {
  37956. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37957. "type": "integer"
  37958. }
  37959. }
  37960. },
  37961. "order.QueryTradePositionRsp": {
  37962. "type": "object",
  37963. "required": [
  37964. "goodsid"
  37965. ],
  37966. "properties": {
  37967. "accountid": {
  37968. "description": "资金账户",
  37969. "type": "integer"
  37970. },
  37971. "agreeunit": {
  37972. "description": "合约单位",
  37973. "type": "number"
  37974. },
  37975. "averageprice": {
  37976. "description": "持仓均价",
  37977. "type": "number"
  37978. },
  37979. "buyorsell": {
  37980. "description": "方向 - 0:买 1:卖",
  37981. "type": "integer"
  37982. },
  37983. "closetotalqty": {
  37984. "description": "平仓总数量",
  37985. "type": "number"
  37986. },
  37987. "curholderamount": {
  37988. "description": "当前持仓总金额[商品币种]",
  37989. "type": "number"
  37990. },
  37991. "curpositionqty": {
  37992. "description": "当前持仓总数量",
  37993. "type": "number"
  37994. },
  37995. "currencyid": {
  37996. "description": "报价货币ID",
  37997. "type": "integer"
  37998. },
  37999. "curtdposition": {
  38000. "description": "期末今日头寸",
  38001. "type": "number"
  38002. },
  38003. "decimalplace": {
  38004. "description": "报价小数位",
  38005. "type": "integer"
  38006. },
  38007. "enableqty": {
  38008. "description": "可用量",
  38009. "type": "number"
  38010. },
  38011. "fretdposition": {
  38012. "description": "冻结今日头寸",
  38013. "type": "number"
  38014. },
  38015. "frozenqty": {
  38016. "description": "持仓冻结数量",
  38017. "type": "number"
  38018. },
  38019. "goodscode": {
  38020. "description": "商品代码",
  38021. "type": "string"
  38022. },
  38023. "goodsid": {
  38024. "description": "商品Id",
  38025. "type": "integer"
  38026. },
  38027. "goodsname": {
  38028. "description": "商品名称",
  38029. "type": "string"
  38030. },
  38031. "goodunit": {
  38032. "description": "报价单位",
  38033. "type": "string"
  38034. },
  38035. "goodunitid": {
  38036. "description": "报价单位ID",
  38037. "type": "integer"
  38038. },
  38039. "holderamount": {
  38040. "description": "期初持仓总金额[商品币种]",
  38041. "type": "number"
  38042. },
  38043. "lastprice": {
  38044. "description": "最新价",
  38045. "type": "number"
  38046. },
  38047. "marketamount": {
  38048. "description": "市值",
  38049. "type": "number"
  38050. },
  38051. "marketid": {
  38052. "description": "所属市场ID",
  38053. "type": "integer"
  38054. },
  38055. "openreqqty": {
  38056. "description": "开仓申请数量(用于比较最大持仓数量)",
  38057. "type": "number"
  38058. },
  38059. "opentotalqty": {
  38060. "description": "开仓总数量",
  38061. "type": "number"
  38062. },
  38063. "otherfrozenqty": {
  38064. "description": "持仓其他冻结数量(交割冻结)",
  38065. "type": "number"
  38066. },
  38067. "positionpl": {
  38068. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38069. "type": "number"
  38070. },
  38071. "positionplrate": {
  38072. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38073. "type": "number"
  38074. },
  38075. "positionqty": {
  38076. "description": "期初持仓数量",
  38077. "type": "number"
  38078. },
  38079. "qtydecimalplace": {
  38080. "description": "成交量小数位",
  38081. "type": "integer"
  38082. },
  38083. "refgoodscode": {
  38084. "description": "参考商品代码",
  38085. "type": "string"
  38086. },
  38087. "refgoodsid": {
  38088. "description": "参考商品ID",
  38089. "type": "integer"
  38090. },
  38091. "tnqty": {
  38092. "description": "T+N冻结总量",
  38093. "type": "number"
  38094. },
  38095. "tnusedqty": {
  38096. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38097. "type": "number"
  38098. },
  38099. "trademode": {
  38100. "description": "交易模式",
  38101. "type": "integer"
  38102. },
  38103. "tradeproperty": {
  38104. "description": "交易属性",
  38105. "type": "integer"
  38106. },
  38107. "usedmargin": {
  38108. "description": "占用保证金[商品币种]",
  38109. "type": "number"
  38110. }
  38111. }
  38112. },
  38113. "pb.GoodsMarginCfgStruct": {
  38114. "type": "object",
  38115. "properties": {
  38116. "CustomerTypeID": {
  38117. "description": "投资者客户类型",
  38118. "type": "integer"
  38119. },
  38120. "GoodsID": {
  38121. "description": "商品ID",
  38122. "type": "integer"
  38123. },
  38124. "IsDefault": {
  38125. "description": "是否默认标志位",
  38126. "type": "integer"
  38127. },
  38128. "LockMarginValue": {
  38129. "description": "锁仓保证金",
  38130. "type": "number"
  38131. },
  38132. "MarginAlgorithm": {
  38133. "description": "保证金计算方式",
  38134. "type": "integer"
  38135. },
  38136. "MarketMarginValue": {
  38137. "description": "即市保证金值",
  38138. "type": "number"
  38139. },
  38140. "RealMarginAlgorithm": {
  38141. "description": "实付保证金计算方式",
  38142. "type": "integer"
  38143. },
  38144. "RealMarginValue": {
  38145. "description": "实付比例",
  38146. "type": "number"
  38147. },
  38148. "ReckonMarginValue": {
  38149. "description": "结算保证金值",
  38150. "type": "number"
  38151. }
  38152. }
  38153. },
  38154. "quote.HistoryData": {
  38155. "type": "object",
  38156. "properties": {
  38157. "c": {
  38158. "description": "收盘价",
  38159. "type": "number"
  38160. },
  38161. "f": {
  38162. "description": "是否补充数据",
  38163. "type": "boolean"
  38164. },
  38165. "h": {
  38166. "description": "最高价",
  38167. "type": "number"
  38168. },
  38169. "hv": {
  38170. "description": "持仓量",
  38171. "type": "integer"
  38172. },
  38173. "l": {
  38174. "description": "最低价",
  38175. "type": "number"
  38176. },
  38177. "o": {
  38178. "description": "开盘价",
  38179. "type": "number"
  38180. },
  38181. "s": {
  38182. "description": "结算价,日线周期(包括)以上才有",
  38183. "type": "number"
  38184. },
  38185. "ts": {
  38186. "description": "时间",
  38187. "type": "string"
  38188. },
  38189. "tt": {
  38190. "description": "总金额",
  38191. "type": "number"
  38192. },
  38193. "tv": {
  38194. "description": "总量(成交量)",
  38195. "type": "integer"
  38196. }
  38197. }
  38198. },
  38199. "quote.HistoryTikData": {
  38200. "type": "object",
  38201. "properties": {
  38202. "AV": {
  38203. "description": "卖量",
  38204. "type": "integer"
  38205. },
  38206. "Ask": {
  38207. "description": "卖价",
  38208. "type": "number"
  38209. },
  38210. "BV": {
  38211. "description": "买量",
  38212. "type": "integer"
  38213. },
  38214. "Bid": {
  38215. "description": "买价",
  38216. "type": "number"
  38217. },
  38218. "HI": {
  38219. "description": "单笔持仓",
  38220. "type": "integer"
  38221. },
  38222. "HV": {
  38223. "description": "持仓量",
  38224. "type": "integer"
  38225. },
  38226. "PE": {
  38227. "description": "现价",
  38228. "type": "number"
  38229. },
  38230. "TDR": {
  38231. "description": "交易方向,0:买 1:卖",
  38232. "type": "integer"
  38233. },
  38234. "TK": {
  38235. "description": "交易类型",
  38236. "type": "integer"
  38237. },
  38238. "TS": {
  38239. "description": "行情时间文本",
  38240. "type": "string"
  38241. },
  38242. "TT": {
  38243. "description": "现金额",
  38244. "type": "number"
  38245. },
  38246. "Vol": {
  38247. "description": "现量",
  38248. "type": "integer"
  38249. }
  38250. }
  38251. },
  38252. "quote.QueryQuoteDayRsp": {
  38253. "type": "object",
  38254. "properties": {
  38255. "ask": {
  38256. "description": "卖1",
  38257. "type": "number"
  38258. },
  38259. "ask10": {
  38260. "description": "卖10",
  38261. "type": "number"
  38262. },
  38263. "ask2": {
  38264. "description": "卖2",
  38265. "type": "number"
  38266. },
  38267. "ask3": {
  38268. "description": "卖3",
  38269. "type": "number"
  38270. },
  38271. "ask4": {
  38272. "description": "卖4",
  38273. "type": "number"
  38274. },
  38275. "ask5": {
  38276. "description": "卖5",
  38277. "type": "number"
  38278. },
  38279. "ask6": {
  38280. "description": "卖6",
  38281. "type": "number"
  38282. },
  38283. "ask7": {
  38284. "description": "卖7",
  38285. "type": "number"
  38286. },
  38287. "ask8": {
  38288. "description": "卖8",
  38289. "type": "number"
  38290. },
  38291. "ask9": {
  38292. "description": "卖9",
  38293. "type": "number"
  38294. },
  38295. "askorderid": {
  38296. "description": "卖单号1",
  38297. "type": "integer"
  38298. },
  38299. "askorderid2": {
  38300. "description": "卖单号2",
  38301. "type": "integer"
  38302. },
  38303. "askorderid3": {
  38304. "description": "卖单号3",
  38305. "type": "integer"
  38306. },
  38307. "askorderid4": {
  38308. "description": "卖单号4",
  38309. "type": "integer"
  38310. },
  38311. "askorderid5": {
  38312. "description": "卖单号5",
  38313. "type": "integer"
  38314. },
  38315. "askordervolume": {
  38316. "description": "卖单量1",
  38317. "type": "integer"
  38318. },
  38319. "askordervolume10": {
  38320. "description": "卖单量10",
  38321. "type": "integer"
  38322. },
  38323. "askordervolume2": {
  38324. "description": "卖单量2",
  38325. "type": "integer"
  38326. },
  38327. "askordervolume3": {
  38328. "description": "卖单量3",
  38329. "type": "integer"
  38330. },
  38331. "askordervolume4": {
  38332. "description": "卖单量4",
  38333. "type": "integer"
  38334. },
  38335. "askordervolume5": {
  38336. "description": "卖单量5",
  38337. "type": "integer"
  38338. },
  38339. "askordervolume6": {
  38340. "description": "卖单量6",
  38341. "type": "integer"
  38342. },
  38343. "askordervolume7": {
  38344. "description": "卖单量7",
  38345. "type": "integer"
  38346. },
  38347. "askordervolume8": {
  38348. "description": "卖单量8",
  38349. "type": "integer"
  38350. },
  38351. "askordervolume9": {
  38352. "description": "卖单量9",
  38353. "type": "integer"
  38354. },
  38355. "askqueueinfo": {
  38356. "description": "大利市卖港股用",
  38357. "type": "string"
  38358. },
  38359. "askvolume": {
  38360. "description": "卖量1",
  38361. "type": "integer"
  38362. },
  38363. "askvolume10": {
  38364. "description": "卖量10",
  38365. "type": "integer"
  38366. },
  38367. "askvolume2": {
  38368. "description": "卖量2",
  38369. "type": "integer"
  38370. },
  38371. "askvolume3": {
  38372. "description": "卖量3",
  38373. "type": "integer"
  38374. },
  38375. "askvolume4": {
  38376. "description": "卖量4",
  38377. "type": "integer"
  38378. },
  38379. "askvolume5": {
  38380. "description": "卖量5",
  38381. "type": "integer"
  38382. },
  38383. "askvolume6": {
  38384. "description": "卖量6",
  38385. "type": "integer"
  38386. },
  38387. "askvolume7": {
  38388. "description": "卖量7",
  38389. "type": "integer"
  38390. },
  38391. "askvolume8": {
  38392. "description": "卖量8",
  38393. "type": "integer"
  38394. },
  38395. "askvolume9": {
  38396. "description": "卖量9",
  38397. "type": "integer"
  38398. },
  38399. "averageprice": {
  38400. "description": "均价",
  38401. "type": "number"
  38402. },
  38403. "bid": {
  38404. "description": "买1",
  38405. "type": "number"
  38406. },
  38407. "bid10": {
  38408. "description": "买10",
  38409. "type": "number"
  38410. },
  38411. "bid2": {
  38412. "description": "买2",
  38413. "type": "number"
  38414. },
  38415. "bid3": {
  38416. "description": "买3",
  38417. "type": "number"
  38418. },
  38419. "bid4": {
  38420. "description": "买4",
  38421. "type": "number"
  38422. },
  38423. "bid5": {
  38424. "description": "买5",
  38425. "type": "number"
  38426. },
  38427. "bid6": {
  38428. "description": "买6",
  38429. "type": "number"
  38430. },
  38431. "bid7": {
  38432. "description": "买7",
  38433. "type": "number"
  38434. },
  38435. "bid8": {
  38436. "description": "买8",
  38437. "type": "number"
  38438. },
  38439. "bid9": {
  38440. "description": "买9",
  38441. "type": "number"
  38442. },
  38443. "bidorderid": {
  38444. "description": "买单号1",
  38445. "type": "integer"
  38446. },
  38447. "bidorderid2": {
  38448. "description": "买单号2",
  38449. "type": "integer"
  38450. },
  38451. "bidorderid3": {
  38452. "description": "买单号3",
  38453. "type": "integer"
  38454. },
  38455. "bidorderid4": {
  38456. "description": "买单号4",
  38457. "type": "integer"
  38458. },
  38459. "bidorderid5": {
  38460. "description": "买单号5",
  38461. "type": "integer"
  38462. },
  38463. "bidordervolume": {
  38464. "description": "买单量1",
  38465. "type": "integer"
  38466. },
  38467. "bidordervolume10": {
  38468. "description": "买单量10",
  38469. "type": "integer"
  38470. },
  38471. "bidordervolume2": {
  38472. "description": "买单量2",
  38473. "type": "integer"
  38474. },
  38475. "bidordervolume3": {
  38476. "description": "买单量3",
  38477. "type": "integer"
  38478. },
  38479. "bidordervolume4": {
  38480. "description": "买单量4",
  38481. "type": "integer"
  38482. },
  38483. "bidordervolume5": {
  38484. "description": "买单量5",
  38485. "type": "integer"
  38486. },
  38487. "bidordervolume6": {
  38488. "description": "买单量6",
  38489. "type": "integer"
  38490. },
  38491. "bidordervolume7": {
  38492. "description": "买单量7",
  38493. "type": "integer"
  38494. },
  38495. "bidordervolume8": {
  38496. "description": "买单量8",
  38497. "type": "integer"
  38498. },
  38499. "bidordervolume9": {
  38500. "description": "买单量9",
  38501. "type": "integer"
  38502. },
  38503. "bidqueueinfo": {
  38504. "description": "大利市买港股用",
  38505. "type": "string"
  38506. },
  38507. "bidvolume": {
  38508. "description": "买量1",
  38509. "type": "integer"
  38510. },
  38511. "bidvolume10": {
  38512. "description": "买量10",
  38513. "type": "integer"
  38514. },
  38515. "bidvolume2": {
  38516. "description": "买量2",
  38517. "type": "integer"
  38518. },
  38519. "bidvolume3": {
  38520. "description": "买量3",
  38521. "type": "integer"
  38522. },
  38523. "bidvolume4": {
  38524. "description": "买量4",
  38525. "type": "integer"
  38526. },
  38527. "bidvolume5": {
  38528. "description": "买量5",
  38529. "type": "integer"
  38530. },
  38531. "bidvolume6": {
  38532. "description": "买量6",
  38533. "type": "integer"
  38534. },
  38535. "bidvolume7": {
  38536. "description": "买量7",
  38537. "type": "integer"
  38538. },
  38539. "bidvolume8": {
  38540. "description": "买量8",
  38541. "type": "integer"
  38542. },
  38543. "bidvolume9": {
  38544. "description": "买量9",
  38545. "type": "integer"
  38546. },
  38547. "calloptionpremiums": {
  38548. "description": "认购期权1",
  38549. "type": "integer"
  38550. },
  38551. "calloptionpremiums2": {
  38552. "description": "认购期权2",
  38553. "type": "integer"
  38554. },
  38555. "calloptionpremiums3": {
  38556. "description": "认购期权3",
  38557. "type": "integer"
  38558. },
  38559. "calloptionpremiums4": {
  38560. "description": "认购期权4",
  38561. "type": "integer"
  38562. },
  38563. "calloptionpremiums5": {
  38564. "description": "认购期权5",
  38565. "type": "integer"
  38566. },
  38567. "cleartime": {
  38568. "description": "清盘时间",
  38569. "type": "integer"
  38570. },
  38571. "exchangecode": {
  38572. "description": "交易所代码",
  38573. "type": "integer"
  38574. },
  38575. "exchangedate": {
  38576. "description": "交易日",
  38577. "type": "integer"
  38578. },
  38579. "goodscode": {
  38580. "description": "商品代码",
  38581. "type": "string"
  38582. },
  38583. "grepmarketprice": {
  38584. "description": "暗盘价 港股专用",
  38585. "type": "number"
  38586. },
  38587. "highest": {
  38588. "description": "最高价",
  38589. "type": "number"
  38590. },
  38591. "holdincrement": {
  38592. "description": "单笔持仓",
  38593. "type": "integer"
  38594. },
  38595. "holdvolume": {
  38596. "description": "持仓",
  38597. "type": "integer"
  38598. },
  38599. "iep": {
  38600. "description": "平衡价 港股专用",
  38601. "type": "number"
  38602. },
  38603. "iev": {
  38604. "description": "平衡量 港股专用",
  38605. "type": "number"
  38606. },
  38607. "inventory": {
  38608. "description": "库存",
  38609. "type": "integer"
  38610. },
  38611. "iscleared": {
  38612. "description": "是否清盘标志",
  38613. "type": "integer"
  38614. },
  38615. "issettled": {
  38616. "description": "是否结算标志",
  38617. "type": "integer"
  38618. },
  38619. "last": {
  38620. "description": "最新价",
  38621. "type": "number"
  38622. },
  38623. "lastlot": {
  38624. "description": "最新成交手数",
  38625. "type": "integer"
  38626. },
  38627. "lasttime": {
  38628. "description": "行情时间(只有现价变化行情时间才变化)",
  38629. "type": "string"
  38630. },
  38631. "lastturnover": {
  38632. "description": "最新成交金额",
  38633. "type": "number"
  38634. },
  38635. "lastvolume": {
  38636. "description": "最新成交量",
  38637. "type": "integer"
  38638. },
  38639. "limitdown": {
  38640. "description": "跌停价",
  38641. "type": "number"
  38642. },
  38643. "limitup": {
  38644. "description": "涨停价",
  38645. "type": "number"
  38646. },
  38647. "lowest": {
  38648. "description": "最低价",
  38649. "type": "number"
  38650. },
  38651. "nontotalholdervolume": {
  38652. "description": "非交易持仓量",
  38653. "type": "integer"
  38654. },
  38655. "nontotallot": {
  38656. "description": "非交易总手数",
  38657. "type": "integer"
  38658. },
  38659. "nontotalturnover": {
  38660. "description": "非交易总金额",
  38661. "type": "integer"
  38662. },
  38663. "nontotalvolume": {
  38664. "description": "非交易总量",
  38665. "type": "integer"
  38666. },
  38667. "opened": {
  38668. "description": "开盘价",
  38669. "type": "number"
  38670. },
  38671. "opentime": {
  38672. "description": "开盘时间",
  38673. "type": "string"
  38674. },
  38675. "orderid": {
  38676. "description": "序号",
  38677. "type": "integer"
  38678. },
  38679. "preclose": {
  38680. "description": "昨收",
  38681. "type": "number"
  38682. },
  38683. "preholdvolume": {
  38684. "description": "昨持仓",
  38685. "type": "integer"
  38686. },
  38687. "presettle": {
  38688. "description": "昨结价",
  38689. "type": "number"
  38690. },
  38691. "publictradetype": {
  38692. "description": "公共交易标志类型 港股专用",
  38693. "type": "string"
  38694. },
  38695. "putoptionpremiums": {
  38696. "description": "认沽期权1",
  38697. "type": "integer"
  38698. },
  38699. "putoptionpremiums2": {
  38700. "description": "认沽期权2",
  38701. "type": "integer"
  38702. },
  38703. "putoptionpremiums3": {
  38704. "description": "认沽期权3",
  38705. "type": "integer"
  38706. },
  38707. "putoptionpremiums4": {
  38708. "description": "认沽期权4",
  38709. "type": "integer"
  38710. },
  38711. "putoptionpremiums5": {
  38712. "description": "认沽期权5",
  38713. "type": "integer"
  38714. },
  38715. "settle": {
  38716. "description": "结算价",
  38717. "type": "number"
  38718. },
  38719. "strikeprice": {
  38720. "description": "发行价",
  38721. "type": "number"
  38722. },
  38723. "totalaskvolume": {
  38724. "description": "内盘",
  38725. "type": "integer"
  38726. },
  38727. "totalbidvolume": {
  38728. "description": "外盘",
  38729. "type": "integer"
  38730. },
  38731. "totallot": {
  38732. "description": "总手数",
  38733. "type": "integer"
  38734. },
  38735. "totalturnover": {
  38736. "description": "总金额",
  38737. "type": "number"
  38738. },
  38739. "totalvolume": {
  38740. "description": "总量",
  38741. "type": "integer"
  38742. },
  38743. "utclasttime": {
  38744. "description": "utc的行情时间",
  38745. "type": "string"
  38746. }
  38747. }
  38748. },
  38749. "quote.QueryTSDataRsp": {
  38750. "type": "object",
  38751. "properties": {
  38752. "Count": {
  38753. "description": "交易日应有数据个数",
  38754. "type": "integer"
  38755. },
  38756. "decimalPlace": {
  38757. "description": "小数位",
  38758. "type": "integer"
  38759. },
  38760. "endTime": {
  38761. "description": "结束时间",
  38762. "type": "string"
  38763. },
  38764. "goodsCode": {
  38765. "description": "商品代码",
  38766. "type": "string"
  38767. },
  38768. "historyDatas": {
  38769. "description": "历史数据",
  38770. "type": "array",
  38771. "items": {
  38772. "$ref": "#/definitions/quote.HistoryData"
  38773. }
  38774. },
  38775. "outGoodsCode": {
  38776. "description": "外部商品代码",
  38777. "type": "string"
  38778. },
  38779. "preSettle": {
  38780. "description": "昨结价",
  38781. "type": "number"
  38782. },
  38783. "runSteps": {
  38784. "description": "交易日开休市计划",
  38785. "type": "array",
  38786. "items": {
  38787. "$ref": "#/definitions/quote.TSDataRunStep"
  38788. }
  38789. },
  38790. "startTime": {
  38791. "description": "开始时间",
  38792. "type": "string"
  38793. },
  38794. "tradeDate": {
  38795. "description": "交易日",
  38796. "type": "string"
  38797. }
  38798. }
  38799. },
  38800. "quote.TSDataRunStep": {
  38801. "type": "object",
  38802. "properties": {
  38803. "end": {
  38804. "description": "真实结束时间",
  38805. "type": "string"
  38806. },
  38807. "endflag": {
  38808. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38809. "type": "integer"
  38810. },
  38811. "endtime": {
  38812. "description": "结束时间(HH:mm)",
  38813. "type": "string"
  38814. },
  38815. "endweekday": {
  38816. "description": "结束周几",
  38817. "type": "integer"
  38818. },
  38819. "groupid": {
  38820. "description": "分组ID",
  38821. "type": "integer"
  38822. },
  38823. "runstep": {
  38824. "description": "运行阶段 - 2:连续交易",
  38825. "type": "integer"
  38826. },
  38827. "sectionid": {
  38828. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38829. "type": "integer"
  38830. },
  38831. "start": {
  38832. "description": "真实开始时间",
  38833. "type": "string"
  38834. },
  38835. "startflag": {
  38836. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38837. "type": "integer"
  38838. },
  38839. "starttime": {
  38840. "description": "起始时间(HH:mm)",
  38841. "type": "string"
  38842. },
  38843. "startweekday": {
  38844. "description": "起始周几",
  38845. "type": "integer"
  38846. },
  38847. "tradeweekday": {
  38848. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38849. "type": "integer"
  38850. }
  38851. }
  38852. },
  38853. "szdz.QueryConvertLogRsp": {
  38854. "type": "object",
  38855. "required": [
  38856. "logid"
  38857. ],
  38858. "properties": {
  38859. "accountid": {
  38860. "description": "资金账户ID",
  38861. "type": "integer"
  38862. },
  38863. "clientticket": {
  38864. "description": "客户端流水号",
  38865. "type": "string"
  38866. },
  38867. "converttype": {
  38868. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38869. "type": "integer"
  38870. },
  38871. "createtime": {
  38872. "description": "记账时间",
  38873. "type": "string"
  38874. },
  38875. "daymaxvalue": {
  38876. "description": "配置当日最大转入限制",
  38877. "type": "number"
  38878. },
  38879. "daymaxvalue2": {
  38880. "description": "配置当日最大转入限制(转入)",
  38881. "type": "number"
  38882. },
  38883. "goodscode": {
  38884. "description": "商品代码",
  38885. "type": "string"
  38886. },
  38887. "goodsname": {
  38888. "description": "商品名称",
  38889. "type": "string"
  38890. },
  38891. "handlestatus": {
  38892. "description": "处理状态",
  38893. "type": "integer"
  38894. },
  38895. "innergoodsid": {
  38896. "description": "内部商品ID",
  38897. "type": "integer"
  38898. },
  38899. "inratio": {
  38900. "description": "配置转入比值",
  38901. "type": "integer"
  38902. },
  38903. "invalue": {
  38904. "description": "目标值",
  38905. "type": "number"
  38906. },
  38907. "logid": {
  38908. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38909. "type": "integer"
  38910. },
  38911. "mobile": {
  38912. "description": "手机号码(加密存储)",
  38913. "type": "string"
  38914. },
  38915. "outergoodscode": {
  38916. "description": "外部商品代码[JD\\PD]",
  38917. "type": "string"
  38918. },
  38919. "outratio": {
  38920. "description": "配置转出比值",
  38921. "type": "integer"
  38922. },
  38923. "outvalue": {
  38924. "description": "源值",
  38925. "type": "number"
  38926. },
  38927. "pddecimalplace": {
  38928. "description": "PD小数位",
  38929. "type": "integer"
  38930. },
  38931. "qty": {
  38932. "description": "数量",
  38933. "type": "string"
  38934. },
  38935. "remark": {
  38936. "description": "备注",
  38937. "type": "string"
  38938. },
  38939. "sessionid": {
  38940. "description": "会话ID",
  38941. "type": "integer"
  38942. },
  38943. "timemaxvalue": {
  38944. "description": "配置单次最大转入限制",
  38945. "type": "number"
  38946. },
  38947. "timemaxvalue2": {
  38948. "description": "配置单次最大转入限制(转入)",
  38949. "type": "number"
  38950. },
  38951. "timeminvalue": {
  38952. "description": "配置单次最小数量限制",
  38953. "type": "number"
  38954. },
  38955. "timeminvalue2": {
  38956. "description": "配置单次最小数量限制(转入)",
  38957. "type": "number"
  38958. },
  38959. "tradedate": {
  38960. "description": "交易日(yyyyMMdd)",
  38961. "type": "string"
  38962. },
  38963. "userid": {
  38964. "description": "用户ID",
  38965. "type": "integer"
  38966. }
  38967. }
  38968. },
  38969. "szdz.QueryGoodsPickupRsp": {
  38970. "type": "object",
  38971. "required": [
  38972. "takeorderid"
  38973. ],
  38974. "properties": {
  38975. "accountid": {
  38976. "description": "账户ID",
  38977. "type": "integer"
  38978. },
  38979. "address": {
  38980. "description": "提货人详细地址",
  38981. "type": "string"
  38982. },
  38983. "auditer": {
  38984. "description": "审核人",
  38985. "type": "integer"
  38986. },
  38987. "audittime": {
  38988. "description": "审核时间",
  38989. "type": "string"
  38990. },
  38991. "cardnum": {
  38992. "description": "提货人证件号码",
  38993. "type": "string"
  38994. },
  38995. "cardtypeid": {
  38996. "description": "提货人证件类型",
  38997. "type": "integer"
  38998. },
  38999. "checkremark": {
  39000. "description": "审核备注",
  39001. "type": "string"
  39002. },
  39003. "goodscode": {
  39004. "description": "商品代码",
  39005. "type": "string"
  39006. },
  39007. "goodsid": {
  39008. "description": "商品ID",
  39009. "type": "integer"
  39010. },
  39011. "goodsname": {
  39012. "description": "商品名称",
  39013. "type": "string"
  39014. },
  39015. "handlestatus": {
  39016. "description": "处理状态",
  39017. "type": "integer"
  39018. },
  39019. "marketid": {
  39020. "description": "市场ID",
  39021. "type": "integer"
  39022. },
  39023. "phonenum": {
  39024. "description": "提货人联系方式",
  39025. "type": "string"
  39026. },
  39027. "qty": {
  39028. "description": "提货数量",
  39029. "type": "number"
  39030. },
  39031. "recivername": {
  39032. "description": "提货人姓名",
  39033. "type": "string"
  39034. },
  39035. "reqtime": {
  39036. "description": "更新时间",
  39037. "type": "string"
  39038. },
  39039. "takemode": {
  39040. "description": "提货方式 - 2:自提 3:配送",
  39041. "type": "integer"
  39042. },
  39043. "takeorderid": {
  39044. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39045. "type": "string"
  39046. },
  39047. "takeorderstatus": {
  39048. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39049. "type": "integer"
  39050. },
  39051. "takeremark": {
  39052. "description": "提货备注",
  39053. "type": "string"
  39054. },
  39055. "tradedate": {
  39056. "description": "交易日(yyyyMMdd)",
  39057. "type": "string"
  39058. },
  39059. "userid": {
  39060. "description": "用户ID",
  39061. "type": "integer"
  39062. }
  39063. }
  39064. },
  39065. "szdz.QueryRecieptOrderRsp": {
  39066. "type": "object",
  39067. "required": [
  39068. "ordertime"
  39069. ],
  39070. "properties": {
  39071. "accountName": {
  39072. "description": "所属账号名称(已脱敏)",
  39073. "type": "string"
  39074. },
  39075. "accountid": {
  39076. "description": "资金账号",
  39077. "type": "integer"
  39078. },
  39079. "buyorsell": {
  39080. "description": "方向 - 0:买 1:卖",
  39081. "type": "integer"
  39082. },
  39083. "enableqty": {
  39084. "description": "可摘数量",
  39085. "type": "integer"
  39086. },
  39087. "goodscode": {
  39088. "description": "商品代码",
  39089. "type": "string"
  39090. },
  39091. "goodsid": {
  39092. "description": "商品ID",
  39093. "type": "integer"
  39094. },
  39095. "goodsname": {
  39096. "description": "商品名称",
  39097. "type": "string"
  39098. },
  39099. "orderid": {
  39100. "description": "委托单号",
  39101. "type": "string"
  39102. },
  39103. "orderprice": {
  39104. "description": "委托价格",
  39105. "type": "number"
  39106. },
  39107. "ordertime": {
  39108. "description": "委托时间",
  39109. "type": "string"
  39110. },
  39111. "tradedate": {
  39112. "description": "交易日(yyyyMMdd)",
  39113. "type": "string"
  39114. }
  39115. }
  39116. },
  39117. "szdz.QuerySZDZTradePositionRsp": {
  39118. "type": "object",
  39119. "properties": {
  39120. "accountid": {
  39121. "description": "账号Id",
  39122. "type": "integer"
  39123. },
  39124. "agreeunit": {
  39125. "description": "合约单位",
  39126. "type": "number"
  39127. },
  39128. "averageprice": {
  39129. "description": "持仓均价",
  39130. "type": "number"
  39131. },
  39132. "buyorsell": {
  39133. "description": "方向 - 0:买 1:卖",
  39134. "type": "integer"
  39135. },
  39136. "closetotalqty": {
  39137. "description": "平仓总数量",
  39138. "type": "integer"
  39139. },
  39140. "curholderamount": {
  39141. "description": "当前持仓总金额",
  39142. "type": "number"
  39143. },
  39144. "curpositionqty": {
  39145. "description": "当前持仓总数量",
  39146. "type": "integer"
  39147. },
  39148. "currencyid": {
  39149. "description": "报价货币ID",
  39150. "type": "integer"
  39151. },
  39152. "curtdposition": {
  39153. "description": "期末今日头寸",
  39154. "type": "integer"
  39155. },
  39156. "decimalplace": {
  39157. "description": "报价小数位",
  39158. "type": "integer"
  39159. },
  39160. "enableqty": {
  39161. "description": "可用量",
  39162. "type": "integer"
  39163. },
  39164. "fretdposition": {
  39165. "description": "冻结今日头寸",
  39166. "type": "integer"
  39167. },
  39168. "frozenqty": {
  39169. "description": "持仓冻结数量",
  39170. "type": "integer"
  39171. },
  39172. "goodscode": {
  39173. "description": "商品代码(内部)",
  39174. "type": "string"
  39175. },
  39176. "goodsid": {
  39177. "description": "商品Id",
  39178. "type": "integer"
  39179. },
  39180. "goodsname": {
  39181. "description": "商品名称",
  39182. "type": "string"
  39183. },
  39184. "goodunit": {
  39185. "description": "报价单位",
  39186. "type": "string"
  39187. },
  39188. "goodunitid": {
  39189. "description": "报价单位ID",
  39190. "type": "integer"
  39191. },
  39192. "holderamount": {
  39193. "description": "期初持仓总金额",
  39194. "type": "number"
  39195. },
  39196. "marketid": {
  39197. "description": "市场ID",
  39198. "type": "integer"
  39199. },
  39200. "openreqqty": {
  39201. "description": "开仓申请数量",
  39202. "type": "integer"
  39203. },
  39204. "opentotalqty": {
  39205. "description": "开仓总数量",
  39206. "type": "integer"
  39207. },
  39208. "otherfrozenqty": {
  39209. "description": "持仓其他冻结数量(交割冻结)",
  39210. "type": "integer"
  39211. },
  39212. "positionqty": {
  39213. "description": "期初持仓数量",
  39214. "type": "integer"
  39215. },
  39216. "szdz3freezqty": {
  39217. "description": "尚志大宗转换冻结总数量",
  39218. "type": "integer"
  39219. },
  39220. "tnqty": {
  39221. "description": "T+N冻结总量",
  39222. "type": "integer"
  39223. },
  39224. "tnusedqty": {
  39225. "description": "T+N使用量",
  39226. "type": "integer"
  39227. },
  39228. "trademode": {
  39229. "description": "交易模式",
  39230. "type": "integer"
  39231. },
  39232. "usedmargin": {
  39233. "description": "占用保证金",
  39234. "type": "number"
  39235. }
  39236. }
  39237. },
  39238. "taaccount.QueryAmountLogRsp": {
  39239. "type": "object",
  39240. "required": [
  39241. "accountid",
  39242. "amount",
  39243. "amountadjusttype",
  39244. "autoid",
  39245. "balance",
  39246. "createtime",
  39247. "currentbalance",
  39248. "operatetype"
  39249. ],
  39250. "properties": {
  39251. "OPERATETYPENAME": {
  39252. "description": "资金操作类型名称",
  39253. "type": "string"
  39254. },
  39255. "accountid": {
  39256. "description": "资金账户ID",
  39257. "type": "integer"
  39258. },
  39259. "agoodscode": {
  39260. "description": "竞拍商品代码",
  39261. "type": "string"
  39262. },
  39263. "agoodsname": {
  39264. "description": "竞拍商品名称",
  39265. "type": "string"
  39266. },
  39267. "amount": {
  39268. "description": "资金金额",
  39269. "type": "number"
  39270. },
  39271. "amountadjusttype": {
  39272. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39273. "type": "integer"
  39274. },
  39275. "autoid": {
  39276. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39277. "type": "integer"
  39278. },
  39279. "balance": {
  39280. "description": "期初余额",
  39281. "type": "number"
  39282. },
  39283. "businesscode": {
  39284. "description": "业务编号",
  39285. "type": "integer"
  39286. },
  39287. "createtime": {
  39288. "description": "发生时间",
  39289. "type": "string"
  39290. },
  39291. "currencyid": {
  39292. "description": "币种ID",
  39293. "type": "integer"
  39294. },
  39295. "currentbalance": {
  39296. "description": "期末余额(变动后金额)",
  39297. "type": "number"
  39298. },
  39299. "dgoodscode": {
  39300. "description": "交割商品代码",
  39301. "type": "string"
  39302. },
  39303. "dgoodsname": {
  39304. "description": "交割商品名称",
  39305. "type": "string"
  39306. },
  39307. "goodscode": {
  39308. "description": "商品代码",
  39309. "type": "string"
  39310. },
  39311. "goodsid": {
  39312. "description": "商品ID",
  39313. "type": "integer"
  39314. },
  39315. "goodsname": {
  39316. "description": "商品名称",
  39317. "type": "string"
  39318. },
  39319. "marketid": {
  39320. "description": "市场ID",
  39321. "type": "integer"
  39322. },
  39323. "marketname": {
  39324. "description": "市场名称",
  39325. "type": "string"
  39326. },
  39327. "moneyticket": {
  39328. "description": "资金流水号:银行端流水号",
  39329. "type": "integer"
  39330. },
  39331. "operatetype": {
  39332. "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:营销收款",
  39333. "type": "integer"
  39334. },
  39335. "relationorderid": {
  39336. "description": "关联单号",
  39337. "type": "string"
  39338. },
  39339. "remark": {
  39340. "description": "备注",
  39341. "type": "string"
  39342. },
  39343. "trademode": {
  39344. "description": "交易模式",
  39345. "type": "integer"
  39346. }
  39347. }
  39348. },
  39349. "taaccount.QueryHisAmountLogRsp": {
  39350. "type": "object",
  39351. "required": [
  39352. "accountid",
  39353. "amount",
  39354. "amountadjusttype",
  39355. "autoid",
  39356. "balance",
  39357. "createtime",
  39358. "currentbalance",
  39359. "histradedate",
  39360. "operatetype"
  39361. ],
  39362. "properties": {
  39363. "OPERATETYPENAME": {
  39364. "description": "资金操作类型名称",
  39365. "type": "string"
  39366. },
  39367. "accountid": {
  39368. "description": "资金账户ID",
  39369. "type": "integer"
  39370. },
  39371. "agoodscode": {
  39372. "description": "竞拍商品代码",
  39373. "type": "string"
  39374. },
  39375. "agoodsname": {
  39376. "description": "竞拍商品名称",
  39377. "type": "string"
  39378. },
  39379. "amount": {
  39380. "description": "资金金额",
  39381. "type": "number"
  39382. },
  39383. "amountadjusttype": {
  39384. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39385. "type": "integer"
  39386. },
  39387. "autoid": {
  39388. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39389. "type": "integer"
  39390. },
  39391. "balance": {
  39392. "description": "期初余额",
  39393. "type": "number"
  39394. },
  39395. "businesscode": {
  39396. "description": "业务编号",
  39397. "type": "integer"
  39398. },
  39399. "createtime": {
  39400. "description": "发生时间",
  39401. "type": "string"
  39402. },
  39403. "currencyid": {
  39404. "description": "币种ID",
  39405. "type": "integer"
  39406. },
  39407. "currentbalance": {
  39408. "description": "期末余额(变动后金额)",
  39409. "type": "number"
  39410. },
  39411. "dgoodscode": {
  39412. "description": "交割商品代码",
  39413. "type": "string"
  39414. },
  39415. "dgoodsname": {
  39416. "description": "交割商品名称",
  39417. "type": "string"
  39418. },
  39419. "goodscode": {
  39420. "description": "商品代码",
  39421. "type": "string"
  39422. },
  39423. "goodsid": {
  39424. "description": "商品ID",
  39425. "type": "integer"
  39426. },
  39427. "goodsname": {
  39428. "description": "商品名称",
  39429. "type": "string"
  39430. },
  39431. "histradedate": {
  39432. "description": "历史交易日",
  39433. "type": "string"
  39434. },
  39435. "isvaliddata": {
  39436. "description": "是否有效 - 0:无效 1:有效",
  39437. "type": "integer"
  39438. },
  39439. "marketid": {
  39440. "description": "市场ID",
  39441. "type": "integer"
  39442. },
  39443. "marketname": {
  39444. "description": "市场名称",
  39445. "type": "string"
  39446. },
  39447. "moneyticket": {
  39448. "description": "资金流水号:银行端流水号",
  39449. "type": "integer"
  39450. },
  39451. "operatetype": {
  39452. "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:营销收款",
  39453. "type": "integer"
  39454. },
  39455. "relationorderid": {
  39456. "description": "关联单号",
  39457. "type": "string"
  39458. },
  39459. "remark": {
  39460. "description": "备注",
  39461. "type": "string"
  39462. },
  39463. "trademode": {
  39464. "description": "交易模式",
  39465. "type": "integer"
  39466. }
  39467. }
  39468. },
  39469. "trade.QueryRecieptOrderRsp": {
  39470. "type": "object",
  39471. "required": [
  39472. "ordertime"
  39473. ],
  39474. "properties": {
  39475. "accountName": {
  39476. "description": "所属账号名称(已脱敏)",
  39477. "type": "string"
  39478. },
  39479. "accountid": {
  39480. "description": "资金账号",
  39481. "type": "integer"
  39482. },
  39483. "buyorsell": {
  39484. "description": "方向 - 0:买 1:卖",
  39485. "type": "integer"
  39486. },
  39487. "enableqty": {
  39488. "description": "可摘数量",
  39489. "type": "integer"
  39490. },
  39491. "goodscode": {
  39492. "description": "商品代码",
  39493. "type": "string"
  39494. },
  39495. "goodsid": {
  39496. "description": "商品ID",
  39497. "type": "integer"
  39498. },
  39499. "goodsname": {
  39500. "description": "商品名称",
  39501. "type": "string"
  39502. },
  39503. "orderid": {
  39504. "description": "委托单号",
  39505. "type": "string"
  39506. },
  39507. "orderprice": {
  39508. "description": "委托价格",
  39509. "type": "number"
  39510. },
  39511. "ordertime": {
  39512. "description": "委托时间",
  39513. "type": "string"
  39514. },
  39515. "tradedate": {
  39516. "description": "交易日(yyyyMMdd)",
  39517. "type": "string"
  39518. }
  39519. }
  39520. },
  39521. "user.LoginQueryRsp": {
  39522. "type": "object",
  39523. "properties": {
  39524. "areaRoles": {
  39525. "description": "所属角色信息",
  39526. "type": "array",
  39527. "items": {
  39528. "$ref": "#/definitions/models.Arearole"
  39529. }
  39530. },
  39531. "externalExchanges": {
  39532. "description": "外部交易所",
  39533. "type": "array",
  39534. "items": {
  39535. "$ref": "#/definitions/models.Externalexchange"
  39536. }
  39537. },
  39538. "goodsgroups": {
  39539. "description": "商品组",
  39540. "type": "array",
  39541. "items": {
  39542. "$ref": "#/definitions/models.Goodsgroup"
  39543. }
  39544. },
  39545. "loginAccount": {
  39546. "description": "登录账号",
  39547. "$ref": "#/definitions/models.Loginaccount"
  39548. },
  39549. "markets": {
  39550. "description": "市场",
  39551. "type": "array",
  39552. "items": {
  39553. "$ref": "#/definitions/models.Market"
  39554. }
  39555. },
  39556. "systemParams": {
  39557. "description": "系统参数",
  39558. "type": "array",
  39559. "items": {
  39560. "$ref": "#/definitions/models.Systemparam"
  39561. }
  39562. },
  39563. "userAccount": {
  39564. "description": "用户账号",
  39565. "$ref": "#/definitions/models.Useraccount"
  39566. },
  39567. "userInfo": {
  39568. "description": "用户信息",
  39569. "$ref": "#/definitions/models.Userinfo"
  39570. },
  39571. "username": {
  39572. "description": "用户姓名",
  39573. "type": "string"
  39574. }
  39575. }
  39576. }
  39577. },
  39578. "securityDefinitions": {
  39579. "ApiKeyAuth": {
  39580. "type": "apiKey",
  39581. "name": "Authorization",
  39582. "in": "header"
  39583. },
  39584. "Group": {
  39585. "type": "apiKey",
  39586. "name": "Group",
  39587. "in": "header"
  39588. },
  39589. "LoginID": {
  39590. "type": "apiKey",
  39591. "name": "LoginID",
  39592. "in": "header"
  39593. }
  39594. }
  39595. }`
  39596. // SwaggerInfo holds exported Swagger Info so clients can modify it
  39597. var SwaggerInfo = &swag.Spec{
  39598. Version: "1.0",
  39599. Host: "",
  39600. BasePath: "",
  39601. Schemes: []string{},
  39602. Title: "MTP2.0 查询服务 API",
  39603. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  39604. InfoInstanceName: "swagger",
  39605. SwaggerTemplate: docTemplate,
  39606. }
  39607. func init() {
  39608. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  39609. }