docs.go 850 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PC 1:Mobile",
  426. "name": "clientType",
  427. "in": "query"
  428. }
  429. ],
  430. "responses": {
  431. "200": {
  432. "description": "OK",
  433. "schema": {
  434. "type": "array",
  435. "items": {
  436. "$ref": "#/definitions/common.ClientMenu"
  437. }
  438. }
  439. },
  440. "500": {
  441. "description": "Internal Server Error",
  442. "schema": {
  443. "$ref": "#/definitions/app.Response"
  444. }
  445. }
  446. }
  447. }
  448. },
  449. "/Common/GetDivisions": {
  450. "get": {
  451. "produces": [
  452. "application/json"
  453. ],
  454. "tags": [
  455. "通用服务"
  456. ],
  457. "summary": "查询区域信息",
  458. "responses": {
  459. "200": {
  460. "description": "OK",
  461. "schema": {
  462. "$ref": "#/definitions/models.Division"
  463. }
  464. },
  465. "500": {
  466. "description": "Internal Server Error",
  467. "schema": {
  468. "$ref": "#/definitions/app.Response"
  469. }
  470. }
  471. }
  472. }
  473. },
  474. "/Common/GetServerTime": {
  475. "get": {
  476. "produces": [
  477. "application/json"
  478. ],
  479. "tags": [
  480. "通用服务"
  481. ],
  482. "summary": "获取服务器时间",
  483. "responses": {
  484. "200": {
  485. "description": "OK",
  486. "schema": {
  487. "$ref": "#/definitions/app.Response"
  488. }
  489. },
  490. "500": {
  491. "description": "Internal Server Error",
  492. "schema": {
  493. "$ref": "#/definitions/app.Response"
  494. }
  495. }
  496. }
  497. }
  498. },
  499. "/Common/NoticeReaded": {
  500. "post": {
  501. "security": [
  502. {
  503. "ApiKeyAuth": []
  504. }
  505. ],
  506. "produces": [
  507. "application/json"
  508. ],
  509. "tags": [
  510. "通用服务"
  511. ],
  512. "summary": "通知公告设置已读请求",
  513. "parameters": [
  514. {
  515. "type": "integer",
  516. "description": "登录账号",
  517. "name": "loginID",
  518. "in": "query",
  519. "required": true
  520. },
  521. {
  522. "type": "integer",
  523. "description": "通知公告ID",
  524. "name": "noticeID",
  525. "in": "query",
  526. "required": true
  527. }
  528. ],
  529. "responses": {
  530. "200": {
  531. "description": "OK",
  532. "schema": {
  533. "$ref": "#/definitions/app.Response"
  534. }
  535. },
  536. "500": {
  537. "description": "Internal Server Error",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. }
  542. }
  543. }
  544. },
  545. "/Common/QueryErrorInfos": {
  546. "get": {
  547. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  548. "produces": [
  549. "application/json"
  550. ],
  551. "tags": [
  552. "通用服务"
  553. ],
  554. "summary": "获取数据库错误信息",
  555. "parameters": [
  556. {
  557. "type": "string",
  558. "description": "起始行号前索引",
  559. "name": "rowNumber",
  560. "in": "query"
  561. }
  562. ],
  563. "responses": {
  564. "200": {
  565. "description": "OK",
  566. "schema": {
  567. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  568. }
  569. },
  570. "500": {
  571. "description": "Internal Server Error",
  572. "schema": {
  573. "$ref": "#/definitions/app.Response"
  574. }
  575. }
  576. }
  577. }
  578. },
  579. "/Common/QueryImageConfigs": {
  580. "get": {
  581. "produces": [
  582. "application/json"
  583. ],
  584. "tags": [
  585. "通用服务"
  586. ],
  587. "summary": "查询轮播图配置信息",
  588. "parameters": [
  589. {
  590. "type": "integer",
  591. "description": "类型 - 1:App首页轮播 2:我的",
  592. "name": "imageType",
  593. "in": "query"
  594. }
  595. ],
  596. "responses": {
  597. "200": {
  598. "description": "OK",
  599. "schema": {
  600. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  601. }
  602. },
  603. "500": {
  604. "description": "Internal Server Error",
  605. "schema": {
  606. "$ref": "#/definitions/app.Response"
  607. }
  608. }
  609. }
  610. }
  611. },
  612. "/Common/QueryNotice": {
  613. "get": {
  614. "security": [
  615. {
  616. "ApiKeyAuth": []
  617. }
  618. ],
  619. "produces": [
  620. "application/json"
  621. ],
  622. "tags": [
  623. "通用服务"
  624. ],
  625. "summary": "通知公告系统消息查询",
  626. "parameters": [
  627. {
  628. "type": "integer",
  629. "description": "页码",
  630. "name": "page",
  631. "in": "query"
  632. },
  633. {
  634. "type": "integer",
  635. "description": "每页条数",
  636. "name": "pagesize",
  637. "in": "query"
  638. },
  639. {
  640. "type": "integer",
  641. "description": "登录账号",
  642. "name": "loginID",
  643. "in": "query",
  644. "required": true
  645. },
  646. {
  647. "type": "integer",
  648. "description": "消息类型 - 1:公告通知 2:系统消息",
  649. "name": "msgType",
  650. "in": "query"
  651. },
  652. {
  653. "type": "boolean",
  654. "description": "是否只获取未读信息",
  655. "name": "onlyUnRead",
  656. "in": "query"
  657. },
  658. {
  659. "type": "integer",
  660. "description": "自增ID,传入后会返回这个ID后面的记录",
  661. "name": "lastID",
  662. "in": "query"
  663. }
  664. ],
  665. "responses": {
  666. "200": {
  667. "description": "OK",
  668. "schema": {
  669. "$ref": "#/definitions/common.QueryNoticeRsp"
  670. }
  671. },
  672. "500": {
  673. "description": "Internal Server Error",
  674. "schema": {
  675. "$ref": "#/definitions/app.Response"
  676. }
  677. }
  678. }
  679. }
  680. },
  681. "/Common/QueryProvincesAndCities": {
  682. "get": {
  683. "produces": [
  684. "application/json"
  685. ],
  686. "tags": [
  687. "通用服务"
  688. ],
  689. "summary": "查询省市信息(不包括区)",
  690. "parameters": [
  691. {
  692. "type": "integer",
  693. "description": "省ID",
  694. "name": "provinceID",
  695. "in": "query"
  696. }
  697. ],
  698. "responses": {
  699. "200": {
  700. "description": "OK",
  701. "schema": {
  702. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  703. }
  704. },
  705. "500": {
  706. "description": "Internal Server Error",
  707. "schema": {
  708. "$ref": "#/definitions/app.Response"
  709. }
  710. }
  711. }
  712. }
  713. },
  714. "/Common/QueryTableDefine": {
  715. "get": {
  716. "produces": [
  717. "application/json"
  718. ],
  719. "tags": [
  720. "通用服务"
  721. ],
  722. "summary": "查询交易端列表头信息",
  723. "parameters": [
  724. {
  725. "type": "string",
  726. "description": "表key",
  727. "name": "tableKey",
  728. "in": "query"
  729. },
  730. {
  731. "type": "integer",
  732. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  733. "name": "tableType",
  734. "in": "query"
  735. }
  736. ],
  737. "responses": {
  738. "200": {
  739. "description": "OK",
  740. "schema": {
  741. "$ref": "#/definitions/common.QueryTableDefineRsp"
  742. }
  743. },
  744. "500": {
  745. "description": "Internal Server Error",
  746. "schema": {
  747. "$ref": "#/definitions/app.Response"
  748. }
  749. }
  750. }
  751. }
  752. },
  753. "/Common/QueryTraderMenu": {
  754. "get": {
  755. "produces": [
  756. "application/json"
  757. ],
  758. "tags": [
  759. "通用服务"
  760. ],
  761. "summary": "查询交易端菜单",
  762. "parameters": [
  763. {
  764. "type": "integer",
  765. "description": "登录账号",
  766. "name": "loginid",
  767. "in": "query",
  768. "required": true
  769. }
  770. ],
  771. "responses": {
  772. "200": {
  773. "description": "OK",
  774. "schema": {
  775. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  776. }
  777. },
  778. "500": {
  779. "description": "Internal Server Error",
  780. "schema": {
  781. "$ref": "#/definitions/app.Response"
  782. }
  783. }
  784. }
  785. }
  786. },
  787. "/Delivery/QueryDeliveryRelation": {
  788. "get": {
  789. "security": [
  790. {
  791. "ApiKeyAuth": []
  792. }
  793. ],
  794. "produces": [
  795. "application/json"
  796. ],
  797. "tags": [
  798. "交割服务"
  799. ],
  800. "summary": "查询商品交割关系表",
  801. "parameters": [
  802. {
  803. "type": "integer",
  804. "description": "商品ID",
  805. "name": "goodsid",
  806. "in": "query"
  807. },
  808. {
  809. "type": "integer",
  810. "description": "品种ID",
  811. "name": "deliverygoodsid",
  812. "in": "query"
  813. },
  814. {
  815. "type": "integer",
  816. "description": "市场ID",
  817. "name": "marketid",
  818. "in": "query"
  819. }
  820. ],
  821. "responses": {
  822. "200": {
  823. "description": "OK",
  824. "schema": {
  825. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  826. }
  827. },
  828. "500": {
  829. "description": "Internal Server Error",
  830. "schema": {
  831. "$ref": "#/definitions/app.Response"
  832. }
  833. }
  834. }
  835. }
  836. },
  837. "/Ermcp/GetErmcpGoods": {
  838. "get": {
  839. "security": [
  840. {
  841. "ApiKeyAuth": []
  842. }
  843. ],
  844. "produces": [
  845. "application/json"
  846. ],
  847. "tags": [
  848. "企业风险管理(app)"
  849. ],
  850. "summary": "查询企业风管期货商品信息",
  851. "parameters": [
  852. {
  853. "type": "string",
  854. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  855. "name": "lastUpdateTime",
  856. "in": "query"
  857. }
  858. ],
  859. "responses": {
  860. "200": {
  861. "description": "OK",
  862. "schema": {
  863. "$ref": "#/definitions/models.Goods"
  864. }
  865. },
  866. "500": {
  867. "description": "Internal Server Error",
  868. "schema": {
  869. "$ref": "#/definitions/app.Response"
  870. }
  871. }
  872. }
  873. }
  874. },
  875. "/Ermcp/GetErmcpGoodsSortByPosition": {
  876. "get": {
  877. "security": [
  878. {
  879. "ApiKeyAuth": []
  880. }
  881. ],
  882. "produces": [
  883. "application/json"
  884. ],
  885. "tags": [
  886. "企业风险管理(app)"
  887. ],
  888. "summary": "查询企业风管期货主力、次主力商品信息",
  889. "parameters": [
  890. {
  891. "type": "string",
  892. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  893. "name": "sortIndex",
  894. "in": "query"
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "$ref": "#/definitions/models.Goodssortbypreposition"
  902. }
  903. },
  904. "500": {
  905. "description": "Internal Server Error",
  906. "schema": {
  907. "$ref": "#/definitions/app.Response"
  908. }
  909. }
  910. }
  911. }
  912. },
  913. "/Ermcp/GetErmcpOutAccountStatus": {
  914. "get": {
  915. "security": [
  916. {
  917. "ApiKeyAuth": []
  918. }
  919. ],
  920. "produces": [
  921. "application/json"
  922. ],
  923. "tags": [
  924. "企业风险管理(app)"
  925. ],
  926. "summary": "获取目标登录账号当前对冲账号在线状态",
  927. "parameters": [
  928. {
  929. "type": "integer",
  930. "description": "登录账号",
  931. "name": "loginID",
  932. "in": "query",
  933. "required": true
  934. }
  935. ],
  936. "responses": {
  937. "200": {
  938. "description": "OK",
  939. "schema": {
  940. "$ref": "#/definitions/models.Hedgemarketopenlog"
  941. }
  942. },
  943. "500": {
  944. "description": "Internal Server Error",
  945. "schema": {
  946. "$ref": "#/definitions/app.Response"
  947. }
  948. }
  949. }
  950. }
  951. },
  952. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  953. "get": {
  954. "security": [
  955. {
  956. "ApiKeyAuth": []
  957. }
  958. ],
  959. "produces": [
  960. "application/json"
  961. ],
  962. "tags": [
  963. "企业风险管理(app)"
  964. ],
  965. "summary": "获取企业风管终端权限",
  966. "parameters": [
  967. {
  968. "type": "integer",
  969. "description": "登录账号",
  970. "name": "loginID",
  971. "in": "query",
  972. "required": true
  973. }
  974. ],
  975. "responses": {
  976. "200": {
  977. "description": "OK",
  978. "schema": {
  979. "$ref": "#/definitions/models.Funcmenulist"
  980. }
  981. },
  982. "500": {
  983. "description": "Internal Server Error",
  984. "schema": {
  985. "$ref": "#/definitions/app.Response"
  986. }
  987. }
  988. }
  989. }
  990. },
  991. "/Ermcp/QueryAccMgrBizGroupSet": {
  992. "get": {
  993. "security": [
  994. {
  995. "ApiKeyAuth": []
  996. }
  997. ],
  998. "produces": [
  999. "application/json"
  1000. ],
  1001. "tags": [
  1002. "企业风险管理(app)"
  1003. ],
  1004. "summary": "查询业务类型分组(账户管理/账户设置)",
  1005. "parameters": [
  1006. {
  1007. "type": "integer",
  1008. "description": "用户ID",
  1009. "name": "userid",
  1010. "in": "query",
  1011. "required": true
  1012. },
  1013. {
  1014. "type": "integer",
  1015. "description": "现货商品id",
  1016. "name": "deliverygoodsid",
  1017. "in": "query"
  1018. }
  1019. ],
  1020. "responses": {
  1021. "200": {
  1022. "description": "OK",
  1023. "schema": {
  1024. "type": "array",
  1025. "items": {
  1026. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1027. }
  1028. }
  1029. },
  1030. "500": {
  1031. "description": "Internal Server Error",
  1032. "schema": {
  1033. "$ref": "#/definitions/app.Response"
  1034. }
  1035. }
  1036. }
  1037. }
  1038. },
  1039. "/Ermcp/QueryAccMgrLoginUser": {
  1040. "get": {
  1041. "security": [
  1042. {
  1043. "ApiKeyAuth": []
  1044. }
  1045. ],
  1046. "produces": [
  1047. "application/json"
  1048. ],
  1049. "tags": [
  1050. "企业风险管理(app)"
  1051. ],
  1052. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1053. "parameters": [
  1054. {
  1055. "type": "integer",
  1056. "description": "用户ID",
  1057. "name": "userid",
  1058. "in": "query",
  1059. "required": true
  1060. },
  1061. {
  1062. "type": "integer",
  1063. "description": "用户类型 2-机构 7-企业成员",
  1064. "name": "usertype",
  1065. "in": "query"
  1066. },
  1067. {
  1068. "type": "integer",
  1069. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1070. "name": "querytype",
  1071. "in": "query",
  1072. "required": true
  1073. }
  1074. ],
  1075. "responses": {
  1076. "200": {
  1077. "description": "OK",
  1078. "schema": {
  1079. "type": "array",
  1080. "items": {
  1081. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1082. }
  1083. }
  1084. },
  1085. "500": {
  1086. "description": "Internal Server Error",
  1087. "schema": {
  1088. "$ref": "#/definitions/app.Response"
  1089. }
  1090. }
  1091. }
  1092. }
  1093. },
  1094. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1095. "get": {
  1096. "security": [
  1097. {
  1098. "ApiKeyAuth": []
  1099. }
  1100. ],
  1101. "produces": [
  1102. "application/json"
  1103. ],
  1104. "tags": [
  1105. "企业风险管理(app)"
  1106. ],
  1107. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1108. "parameters": [
  1109. {
  1110. "type": "integer",
  1111. "description": "用户ID",
  1112. "name": "userid",
  1113. "in": "query"
  1114. },
  1115. {
  1116. "type": "integer",
  1117. "description": "主账号id",
  1118. "name": "accountid",
  1119. "in": "query"
  1120. }
  1121. ],
  1122. "responses": {
  1123. "200": {
  1124. "description": "OK",
  1125. "schema": {
  1126. "type": "array",
  1127. "items": {
  1128. "$ref": "#/definitions/models.MainAccountInfo"
  1129. }
  1130. }
  1131. },
  1132. "500": {
  1133. "description": "Internal Server Error",
  1134. "schema": {
  1135. "$ref": "#/definitions/app.Response"
  1136. }
  1137. }
  1138. }
  1139. }
  1140. },
  1141. "/Ermcp/QueryAccMgrRole": {
  1142. "get": {
  1143. "security": [
  1144. {
  1145. "ApiKeyAuth": []
  1146. }
  1147. ],
  1148. "produces": [
  1149. "application/json"
  1150. ],
  1151. "tags": [
  1152. "企业风险管理(app)"
  1153. ],
  1154. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1155. "parameters": [
  1156. {
  1157. "type": "integer",
  1158. "description": "用户ID",
  1159. "name": "userid",
  1160. "in": "query",
  1161. "required": true
  1162. }
  1163. ],
  1164. "responses": {
  1165. "200": {
  1166. "description": "OK",
  1167. "schema": {
  1168. "type": "array",
  1169. "items": {
  1170. "$ref": "#/definitions/models.ErmcpRole"
  1171. }
  1172. }
  1173. },
  1174. "500": {
  1175. "description": "Internal Server Error",
  1176. "schema": {
  1177. "$ref": "#/definitions/app.Response"
  1178. }
  1179. }
  1180. }
  1181. }
  1182. },
  1183. "/Ermcp/QueryAccMgrRoleMenu": {
  1184. "get": {
  1185. "security": [
  1186. {
  1187. "ApiKeyAuth": []
  1188. }
  1189. ],
  1190. "produces": [
  1191. "application/json"
  1192. ],
  1193. "tags": [
  1194. "企业风险管理(app)"
  1195. ],
  1196. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1197. "parameters": [
  1198. {
  1199. "type": "integer",
  1200. "description": "用户ID",
  1201. "name": "userid",
  1202. "in": "query",
  1203. "required": true
  1204. },
  1205. {
  1206. "type": "string",
  1207. "description": "角色id(可多个,逗号隔开)",
  1208. "name": "roleid",
  1209. "in": "query"
  1210. }
  1211. ],
  1212. "responses": {
  1213. "200": {
  1214. "description": "OK",
  1215. "schema": {
  1216. "type": "array",
  1217. "items": {
  1218. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1219. }
  1220. }
  1221. },
  1222. "500": {
  1223. "description": "Internal Server Error",
  1224. "schema": {
  1225. "$ref": "#/definitions/app.Response"
  1226. }
  1227. }
  1228. }
  1229. }
  1230. },
  1231. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1232. "get": {
  1233. "security": [
  1234. {
  1235. "ApiKeyAuth": []
  1236. }
  1237. ],
  1238. "produces": [
  1239. "application/json"
  1240. ],
  1241. "tags": [
  1242. "企业风险管理(app)"
  1243. ],
  1244. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1245. "parameters": [
  1246. {
  1247. "type": "integer",
  1248. "description": "用户ID",
  1249. "name": "userid",
  1250. "in": "query",
  1251. "required": true
  1252. },
  1253. {
  1254. "type": "integer",
  1255. "description": "账号id",
  1256. "name": "accountid",
  1257. "in": "query"
  1258. }
  1259. ],
  1260. "responses": {
  1261. "200": {
  1262. "description": "OK",
  1263. "schema": {
  1264. "type": "array",
  1265. "items": {
  1266. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1267. }
  1268. }
  1269. },
  1270. "500": {
  1271. "description": "Internal Server Error",
  1272. "schema": {
  1273. "$ref": "#/definitions/app.Response"
  1274. }
  1275. }
  1276. }
  1277. }
  1278. },
  1279. "/Ermcp/QueryAccMgrTaaccount": {
  1280. "get": {
  1281. "security": [
  1282. {
  1283. "ApiKeyAuth": []
  1284. }
  1285. ],
  1286. "produces": [
  1287. "application/json"
  1288. ],
  1289. "tags": [
  1290. "企业风险管理(app)"
  1291. ],
  1292. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1293. "parameters": [
  1294. {
  1295. "type": "integer",
  1296. "description": "用户ID",
  1297. "name": "userid",
  1298. "in": "query",
  1299. "required": true
  1300. }
  1301. ],
  1302. "responses": {
  1303. "200": {
  1304. "description": "OK",
  1305. "schema": {
  1306. "type": "array",
  1307. "items": {
  1308. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1309. }
  1310. }
  1311. },
  1312. "500": {
  1313. "description": "Internal Server Error",
  1314. "schema": {
  1315. "$ref": "#/definitions/app.Response"
  1316. }
  1317. }
  1318. }
  1319. }
  1320. },
  1321. "/Ermcp/QueryAvaildGoodsGroup": {
  1322. "get": {
  1323. "security": [
  1324. {
  1325. "ApiKeyAuth": []
  1326. }
  1327. ],
  1328. "produces": [
  1329. "application/json"
  1330. ],
  1331. "tags": [
  1332. "企业风险管理(app)"
  1333. ],
  1334. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1335. "parameters": [
  1336. {
  1337. "type": "integer",
  1338. "description": "所属机构ID",
  1339. "name": "userid",
  1340. "in": "query",
  1341. "required": true
  1342. }
  1343. ],
  1344. "responses": {
  1345. "200": {
  1346. "description": "OK",
  1347. "schema": {
  1348. "type": "array",
  1349. "items": {
  1350. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1351. }
  1352. }
  1353. },
  1354. "500": {
  1355. "description": "Internal Server Error",
  1356. "schema": {
  1357. "$ref": "#/definitions/app.Response"
  1358. }
  1359. }
  1360. }
  1361. }
  1362. },
  1363. "/Ermcp/QueryBusinessDj": {
  1364. "get": {
  1365. "security": [
  1366. {
  1367. "ApiKeyAuth": []
  1368. }
  1369. ],
  1370. "produces": [
  1371. "application/json"
  1372. ],
  1373. "tags": [
  1374. "企业风险管理(app)"
  1375. ],
  1376. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1377. "parameters": [
  1378. {
  1379. "type": "integer",
  1380. "description": "用户ID",
  1381. "name": "UserId",
  1382. "in": "query",
  1383. "required": true
  1384. },
  1385. {
  1386. "type": "integer",
  1387. "description": "用户类型 2-机构 7-企业成员",
  1388. "name": "usertype",
  1389. "in": "query"
  1390. },
  1391. {
  1392. "type": "string",
  1393. "description": "现货合同ID, 不填则查所有",
  1394. "name": "relatedid",
  1395. "in": "query"
  1396. },
  1397. {
  1398. "type": "string",
  1399. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1400. "name": "applystatus",
  1401. "in": "query"
  1402. }
  1403. ],
  1404. "responses": {
  1405. "200": {
  1406. "description": "OK",
  1407. "schema": {
  1408. "type": "array",
  1409. "items": {
  1410. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1411. }
  1412. }
  1413. },
  1414. "500": {
  1415. "description": "Internal Server Error",
  1416. "schema": {
  1417. "$ref": "#/definitions/app.Response"
  1418. }
  1419. }
  1420. }
  1421. }
  1422. },
  1423. "/Ermcp/QueryBusinessFp": {
  1424. "get": {
  1425. "security": [
  1426. {
  1427. "ApiKeyAuth": []
  1428. }
  1429. ],
  1430. "produces": [
  1431. "application/json"
  1432. ],
  1433. "tags": [
  1434. "企业风险管理(app)"
  1435. ],
  1436. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1437. "parameters": [
  1438. {
  1439. "type": "integer",
  1440. "description": "用户ID",
  1441. "name": "UserId",
  1442. "in": "query",
  1443. "required": true
  1444. },
  1445. {
  1446. "type": "integer",
  1447. "description": "用户类型 2-机构 7-企业成员",
  1448. "name": "usertype",
  1449. "in": "query"
  1450. },
  1451. {
  1452. "type": "string",
  1453. "description": "现货合同ID, 不填则查所有",
  1454. "name": "relatedid",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1460. "name": "applystatus",
  1461. "in": "query"
  1462. }
  1463. ],
  1464. "responses": {
  1465. "200": {
  1466. "description": "OK",
  1467. "schema": {
  1468. "type": "array",
  1469. "items": {
  1470. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1471. }
  1472. }
  1473. },
  1474. "500": {
  1475. "description": "Internal Server Error",
  1476. "schema": {
  1477. "$ref": "#/definitions/app.Response"
  1478. }
  1479. }
  1480. }
  1481. }
  1482. },
  1483. "/Ermcp/QueryBusinessJs": {
  1484. "get": {
  1485. "security": [
  1486. {
  1487. "ApiKeyAuth": []
  1488. }
  1489. ],
  1490. "produces": [
  1491. "application/json"
  1492. ],
  1493. "tags": [
  1494. "企业风险管理(app)"
  1495. ],
  1496. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1497. "parameters": [
  1498. {
  1499. "type": "integer",
  1500. "description": "用户ID",
  1501. "name": "UserId",
  1502. "in": "query",
  1503. "required": true
  1504. },
  1505. {
  1506. "type": "integer",
  1507. "description": "用户类型 2-机构 7-企业成员",
  1508. "name": "usertype",
  1509. "in": "query"
  1510. },
  1511. {
  1512. "type": "string",
  1513. "description": "现货合同ID, 不填则查所有",
  1514. "name": "relatedid",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "操作申请id",
  1520. "name": "operateapplyid",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1526. "name": "applystatus",
  1527. "in": "query"
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "OK",
  1533. "schema": {
  1534. "type": "array",
  1535. "items": {
  1536. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1537. }
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/app.Response"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/Ermcp/QueryBusinessJsEx": {
  1550. "get": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "produces": [
  1557. "application/json"
  1558. ],
  1559. "tags": [
  1560. "企业风险管理(app)"
  1561. ],
  1562. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1563. "parameters": [
  1564. {
  1565. "type": "integer",
  1566. "description": "用户ID",
  1567. "name": "UserId",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "用户类型 2-机构 7-企业成员",
  1574. "name": "usertype",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "现货合同ID, 不填则查所有",
  1580. "name": "relatedid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1586. "name": "applystatus",
  1587. "in": "query"
  1588. }
  1589. ],
  1590. "responses": {
  1591. "200": {
  1592. "description": "OK",
  1593. "schema": {
  1594. "type": "array",
  1595. "items": {
  1596. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1597. }
  1598. }
  1599. },
  1600. "500": {
  1601. "description": "Internal Server Error",
  1602. "schema": {
  1603. "$ref": "#/definitions/app.Response"
  1604. }
  1605. }
  1606. }
  1607. }
  1608. },
  1609. "/Ermcp/QueryBusinessKx": {
  1610. "get": {
  1611. "security": [
  1612. {
  1613. "ApiKeyAuth": []
  1614. }
  1615. ],
  1616. "produces": [
  1617. "application/json"
  1618. ],
  1619. "tags": [
  1620. "企业风险管理(app)"
  1621. ],
  1622. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1623. "parameters": [
  1624. {
  1625. "type": "integer",
  1626. "description": "用户ID",
  1627. "name": "UserId",
  1628. "in": "query",
  1629. "required": true
  1630. },
  1631. {
  1632. "type": "integer",
  1633. "description": "用户类型 2-机构 7-企业成员",
  1634. "name": "usertype",
  1635. "in": "query"
  1636. },
  1637. {
  1638. "type": "string",
  1639. "description": "现货合同ID, 不填则查所有",
  1640. "name": "relatedid",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1646. "name": "applystatus",
  1647. "in": "query"
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Ermcp/QueryChangeLog": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "企业风险管理(app)"
  1681. ],
  1682. "summary": "查询变更记录",
  1683. "parameters": [
  1684. {
  1685. "type": "string",
  1686. "description": "合同ID",
  1687. "name": "RelatedId",
  1688. "in": "query",
  1689. "required": true
  1690. }
  1691. ],
  1692. "responses": {
  1693. "200": {
  1694. "description": "OK",
  1695. "schema": {
  1696. "type": "array",
  1697. "items": {
  1698. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1699. }
  1700. }
  1701. },
  1702. "500": {
  1703. "description": "Internal Server Error",
  1704. "schema": {
  1705. "$ref": "#/definitions/app.Response"
  1706. }
  1707. }
  1708. }
  1709. }
  1710. },
  1711. "/Ermcp/QueryErmcpHisOrderDetails": {
  1712. "get": {
  1713. "security": [
  1714. {
  1715. "ApiKeyAuth": []
  1716. }
  1717. ],
  1718. "produces": [
  1719. "application/json"
  1720. ],
  1721. "tags": [
  1722. "企业风险管理(app)"
  1723. ],
  1724. "summary": "获取企业风管期货历史委托单信息",
  1725. "parameters": [
  1726. {
  1727. "type": "integer",
  1728. "description": "资金账户ID",
  1729. "name": "accountID",
  1730. "in": "query",
  1731. "required": true
  1732. },
  1733. {
  1734. "type": "string",
  1735. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1736. "name": "startDate",
  1737. "in": "query"
  1738. },
  1739. {
  1740. "type": "string",
  1741. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1742. "name": "endDate",
  1743. "in": "query"
  1744. }
  1745. ],
  1746. "responses": {
  1747. "200": {
  1748. "description": "OK",
  1749. "schema": {
  1750. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1751. }
  1752. },
  1753. "500": {
  1754. "description": "Internal Server Error",
  1755. "schema": {
  1756. "$ref": "#/definitions/app.Response"
  1757. }
  1758. }
  1759. }
  1760. }
  1761. },
  1762. "/Ermcp/QueryErmcpHisTradeDetails": {
  1763. "get": {
  1764. "security": [
  1765. {
  1766. "ApiKeyAuth": []
  1767. }
  1768. ],
  1769. "produces": [
  1770. "application/json"
  1771. ],
  1772. "tags": [
  1773. "企业风险管理(app)"
  1774. ],
  1775. "summary": "获取企业风管期货历史成交单信息",
  1776. "parameters": [
  1777. {
  1778. "type": "integer",
  1779. "description": "资金账户ID",
  1780. "name": "accountID",
  1781. "in": "query",
  1782. "required": true
  1783. },
  1784. {
  1785. "type": "integer",
  1786. "description": "商品ID",
  1787. "name": "goodsID",
  1788. "in": "query"
  1789. },
  1790. {
  1791. "type": "integer",
  1792. "description": "买卖方向,0:买 1:卖",
  1793. "name": "buyOrSell",
  1794. "in": "query"
  1795. },
  1796. {
  1797. "type": "integer",
  1798. "description": "关联委托单号",
  1799. "name": "orderID",
  1800. "in": "query"
  1801. },
  1802. {
  1803. "type": "string",
  1804. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1805. "name": "startDate",
  1806. "in": "query"
  1807. },
  1808. {
  1809. "type": "string",
  1810. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1811. "name": "endDate",
  1812. "in": "query"
  1813. }
  1814. ],
  1815. "responses": {
  1816. "200": {
  1817. "description": "OK",
  1818. "schema": {
  1819. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1820. }
  1821. },
  1822. "500": {
  1823. "description": "Internal Server Error",
  1824. "schema": {
  1825. "$ref": "#/definitions/app.Response"
  1826. }
  1827. }
  1828. }
  1829. }
  1830. },
  1831. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1832. "get": {
  1833. "security": [
  1834. {
  1835. "ApiKeyAuth": []
  1836. }
  1837. ],
  1838. "produces": [
  1839. "application/json"
  1840. ],
  1841. "tags": [
  1842. "企业风险管理(app)"
  1843. ],
  1844. "summary": "获取企业风管期货内部持仓单信息",
  1845. "parameters": [
  1846. {
  1847. "type": "integer",
  1848. "description": "资金账户ID",
  1849. "name": "accountID",
  1850. "in": "query",
  1851. "required": true
  1852. },
  1853. {
  1854. "type": "integer",
  1855. "description": "商品ID",
  1856. "name": "goodsID",
  1857. "in": "query"
  1858. },
  1859. {
  1860. "type": "integer",
  1861. "description": "买卖方向,0:买 1:卖",
  1862. "name": "buyOrSell",
  1863. "in": "query"
  1864. }
  1865. ],
  1866. "responses": {
  1867. "200": {
  1868. "description": "OK",
  1869. "schema": {
  1870. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1871. }
  1872. },
  1873. "500": {
  1874. "description": "Internal Server Error",
  1875. "schema": {
  1876. "$ref": "#/definitions/app.Response"
  1877. }
  1878. }
  1879. }
  1880. }
  1881. },
  1882. "/Ermcp/QueryErmcpOrderDetails": {
  1883. "get": {
  1884. "security": [
  1885. {
  1886. "ApiKeyAuth": []
  1887. }
  1888. ],
  1889. "produces": [
  1890. "application/json"
  1891. ],
  1892. "tags": [
  1893. "企业风险管理(app)"
  1894. ],
  1895. "summary": "获取企业风管期货委托单信息",
  1896. "parameters": [
  1897. {
  1898. "type": "integer",
  1899. "description": "资金账户ID",
  1900. "name": "accountID",
  1901. "in": "query",
  1902. "required": true
  1903. }
  1904. ],
  1905. "responses": {
  1906. "200": {
  1907. "description": "OK",
  1908. "schema": {
  1909. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1910. }
  1911. },
  1912. "500": {
  1913. "description": "Internal Server Error",
  1914. "schema": {
  1915. "$ref": "#/definitions/app.Response"
  1916. }
  1917. }
  1918. }
  1919. }
  1920. },
  1921. "/Ermcp/QueryErmcpTradeDetails": {
  1922. "get": {
  1923. "security": [
  1924. {
  1925. "ApiKeyAuth": []
  1926. }
  1927. ],
  1928. "produces": [
  1929. "application/json"
  1930. ],
  1931. "tags": [
  1932. "企业风险管理(app)"
  1933. ],
  1934. "summary": "获取企业风管期货成交单信息",
  1935. "parameters": [
  1936. {
  1937. "type": "integer",
  1938. "description": "资金账户ID",
  1939. "name": "accountID",
  1940. "in": "query",
  1941. "required": true
  1942. },
  1943. {
  1944. "type": "integer",
  1945. "description": "商品ID",
  1946. "name": "goodsID",
  1947. "in": "query"
  1948. },
  1949. {
  1950. "type": "integer",
  1951. "description": "买卖方向,0:买 1:卖",
  1952. "name": "buyOrSell",
  1953. "in": "query"
  1954. },
  1955. {
  1956. "type": "integer",
  1957. "description": "关联委托单号",
  1958. "name": "orderID",
  1959. "in": "query"
  1960. }
  1961. ],
  1962. "responses": {
  1963. "200": {
  1964. "description": "OK",
  1965. "schema": {
  1966. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1967. }
  1968. },
  1969. "500": {
  1970. "description": "Internal Server Error",
  1971. "schema": {
  1972. "$ref": "#/definitions/app.Response"
  1973. }
  1974. }
  1975. }
  1976. }
  1977. },
  1978. "/Ermcp/QueryErmcpTradePosition": {
  1979. "get": {
  1980. "security": [
  1981. {
  1982. "ApiKeyAuth": []
  1983. }
  1984. ],
  1985. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1986. "produces": [
  1987. "application/json"
  1988. ],
  1989. "tags": [
  1990. "企业风险管理(app)"
  1991. ],
  1992. "summary": "获取企业风管期货持仓头寸信息",
  1993. "parameters": [
  1994. {
  1995. "type": "integer",
  1996. "description": "资金账户ID",
  1997. "name": "accountID",
  1998. "in": "query",
  1999. "required": true
  2000. },
  2001. {
  2002. "type": "integer",
  2003. "description": "所属市场ID",
  2004. "name": "marketID",
  2005. "in": "query"
  2006. }
  2007. ],
  2008. "responses": {
  2009. "200": {
  2010. "description": "OK",
  2011. "schema": {
  2012. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2013. }
  2014. },
  2015. "500": {
  2016. "description": "Internal Server Error",
  2017. "schema": {
  2018. "$ref": "#/definitions/app.Response"
  2019. }
  2020. }
  2021. }
  2022. }
  2023. },
  2024. "/Ermcp/QueryExposureDetail": {
  2025. "get": {
  2026. "security": [
  2027. {
  2028. "ApiKeyAuth": []
  2029. }
  2030. ],
  2031. "produces": [
  2032. "application/json"
  2033. ],
  2034. "tags": [
  2035. "企业风险管理(app)"
  2036. ],
  2037. "summary": "查询敞口现货明细",
  2038. "parameters": [
  2039. {
  2040. "type": "integer",
  2041. "description": "所属机构ID",
  2042. "name": "areaUserId",
  2043. "in": "query",
  2044. "required": true
  2045. },
  2046. {
  2047. "type": "integer",
  2048. "description": "套保商品",
  2049. "name": "middleGoodsId",
  2050. "in": "query",
  2051. "required": true
  2052. }
  2053. ],
  2054. "responses": {
  2055. "200": {
  2056. "description": "OK",
  2057. "schema": {
  2058. "type": "array",
  2059. "items": {
  2060. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2061. }
  2062. }
  2063. },
  2064. "500": {
  2065. "description": "Internal Server Error",
  2066. "schema": {
  2067. "$ref": "#/definitions/app.Response"
  2068. }
  2069. }
  2070. }
  2071. }
  2072. },
  2073. "/Ermcp/QueryExposureHedgePosition": {
  2074. "get": {
  2075. "security": [
  2076. {
  2077. "ApiKeyAuth": []
  2078. }
  2079. ],
  2080. "produces": [
  2081. "application/json"
  2082. ],
  2083. "tags": [
  2084. "企业风险管理(app)"
  2085. ],
  2086. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2087. "parameters": [
  2088. {
  2089. "type": "integer",
  2090. "description": "用户id",
  2091. "name": "userid",
  2092. "in": "query",
  2093. "required": true
  2094. }
  2095. ],
  2096. "responses": {
  2097. "200": {
  2098. "description": "OK",
  2099. "schema": {
  2100. "type": "array",
  2101. "items": {
  2102. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2103. }
  2104. }
  2105. },
  2106. "500": {
  2107. "description": "Internal Server Error",
  2108. "schema": {
  2109. "$ref": "#/definitions/app.Response"
  2110. }
  2111. }
  2112. }
  2113. }
  2114. },
  2115. "/Ermcp/QueryExposureHedgePositionDetail": {
  2116. "get": {
  2117. "security": [
  2118. {
  2119. "ApiKeyAuth": []
  2120. }
  2121. ],
  2122. "produces": [
  2123. "application/json"
  2124. ],
  2125. "tags": [
  2126. "企业风险管理(app)"
  2127. ],
  2128. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2129. "parameters": [
  2130. {
  2131. "type": "integer",
  2132. "description": "所属机构ID",
  2133. "name": "userid",
  2134. "in": "query",
  2135. "required": true
  2136. },
  2137. {
  2138. "type": "integer",
  2139. "description": "商品id",
  2140. "name": "goodsId",
  2141. "in": "query",
  2142. "required": true
  2143. }
  2144. ],
  2145. "responses": {
  2146. "200": {
  2147. "description": "OK",
  2148. "schema": {
  2149. "type": "array",
  2150. "items": {
  2151. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2152. }
  2153. }
  2154. },
  2155. "500": {
  2156. "description": "Internal Server Error",
  2157. "schema": {
  2158. "$ref": "#/definitions/app.Response"
  2159. }
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "/Ermcp/QueryExposureSpot": {
  2165. "get": {
  2166. "security": [
  2167. {
  2168. "ApiKeyAuth": []
  2169. }
  2170. ],
  2171. "produces": [
  2172. "application/json"
  2173. ],
  2174. "tags": [
  2175. "企业风险管理(app)"
  2176. ],
  2177. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2178. "parameters": [
  2179. {
  2180. "type": "integer",
  2181. "description": "所属机构ID",
  2182. "name": "areaUserId",
  2183. "in": "query",
  2184. "required": true
  2185. }
  2186. ],
  2187. "responses": {
  2188. "200": {
  2189. "description": "OK",
  2190. "schema": {
  2191. "type": "array",
  2192. "items": {
  2193. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2194. }
  2195. }
  2196. },
  2197. "500": {
  2198. "description": "Internal Server Error",
  2199. "schema": {
  2200. "$ref": "#/definitions/app.Response"
  2201. }
  2202. }
  2203. }
  2204. }
  2205. },
  2206. "/Ermcp/QueryExposureSpotDetail": {
  2207. "get": {
  2208. "security": [
  2209. {
  2210. "ApiKeyAuth": []
  2211. }
  2212. ],
  2213. "produces": [
  2214. "application/json"
  2215. ],
  2216. "tags": [
  2217. "企业风险管理(app)"
  2218. ],
  2219. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2220. "parameters": [
  2221. {
  2222. "type": "integer",
  2223. "description": "所属机构ID",
  2224. "name": "areaUserId",
  2225. "in": "query",
  2226. "required": true
  2227. },
  2228. {
  2229. "type": "integer",
  2230. "description": "现货品种ID",
  2231. "name": "wrstandardId",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryFuturesCompany": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询期货公司",
  2269. "responses": {
  2270. "200": {
  2271. "description": "OK",
  2272. "schema": {
  2273. "type": "array",
  2274. "items": {
  2275. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2276. }
  2277. }
  2278. },
  2279. "500": {
  2280. "description": "Internal Server Error",
  2281. "schema": {
  2282. "$ref": "#/definitions/app.Response"
  2283. }
  2284. }
  2285. }
  2286. }
  2287. },
  2288. "/Ermcp/QueryGGConvertConfig": {
  2289. "get": {
  2290. "security": [
  2291. {
  2292. "ApiKeyAuth": []
  2293. }
  2294. ],
  2295. "produces": [
  2296. "application/json"
  2297. ],
  2298. "tags": [
  2299. "企业风险管理(app)"
  2300. ],
  2301. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2302. "parameters": [
  2303. {
  2304. "type": "integer",
  2305. "description": "品种id(不填则查所有)",
  2306. "name": "goodsgroupid",
  2307. "in": "query"
  2308. }
  2309. ],
  2310. "responses": {
  2311. "200": {
  2312. "description": "OK",
  2313. "schema": {
  2314. "type": "array",
  2315. "items": {
  2316. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2317. }
  2318. }
  2319. },
  2320. "500": {
  2321. "description": "Internal Server Error",
  2322. "schema": {
  2323. "$ref": "#/definitions/app.Response"
  2324. }
  2325. }
  2326. }
  2327. }
  2328. },
  2329. "/Ermcp/QueryGoodsBrand": {
  2330. "get": {
  2331. "security": [
  2332. {
  2333. "ApiKeyAuth": []
  2334. }
  2335. ],
  2336. "produces": [
  2337. "application/json"
  2338. ],
  2339. "tags": [
  2340. "企业风险管理(app)"
  2341. ],
  2342. "summary": "查询商品品牌",
  2343. "parameters": [
  2344. {
  2345. "type": "integer",
  2346. "description": "用户ID",
  2347. "name": "userid",
  2348. "in": "query",
  2349. "required": true
  2350. },
  2351. {
  2352. "type": "integer",
  2353. "description": "现货商品ID",
  2354. "name": "wrstandardid",
  2355. "in": "query"
  2356. }
  2357. ],
  2358. "responses": {
  2359. "200": {
  2360. "description": "OK",
  2361. "schema": {
  2362. "type": "array",
  2363. "items": {
  2364. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2365. }
  2366. }
  2367. },
  2368. "500": {
  2369. "description": "Internal Server Error",
  2370. "schema": {
  2371. "$ref": "#/definitions/app.Response"
  2372. }
  2373. }
  2374. }
  2375. }
  2376. },
  2377. "/Ermcp/QueryGoodsModel": {
  2378. "get": {
  2379. "security": [
  2380. {
  2381. "ApiKeyAuth": []
  2382. }
  2383. ],
  2384. "produces": [
  2385. "application/json"
  2386. ],
  2387. "tags": [
  2388. "企业风险管理(app)"
  2389. ],
  2390. "summary": "查询商品型号",
  2391. "parameters": [
  2392. {
  2393. "type": "integer",
  2394. "description": "用户ID",
  2395. "name": "userid",
  2396. "in": "query",
  2397. "required": true
  2398. }
  2399. ],
  2400. "responses": {
  2401. "200": {
  2402. "description": "OK",
  2403. "schema": {
  2404. "type": "array",
  2405. "items": {
  2406. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2407. }
  2408. }
  2409. },
  2410. "500": {
  2411. "description": "Internal Server Error",
  2412. "schema": {
  2413. "$ref": "#/definitions/app.Response"
  2414. }
  2415. }
  2416. }
  2417. }
  2418. },
  2419. "/Ermcp/QueryHisExposure": {
  2420. "get": {
  2421. "security": [
  2422. {
  2423. "ApiKeyAuth": []
  2424. }
  2425. ],
  2426. "produces": [
  2427. "application/json"
  2428. ],
  2429. "tags": [
  2430. "企业风险管理(app)"
  2431. ],
  2432. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2433. "parameters": [
  2434. {
  2435. "type": "integer",
  2436. "description": "用户id",
  2437. "name": "userid",
  2438. "in": "query",
  2439. "required": true
  2440. },
  2441. {
  2442. "type": "integer",
  2443. "description": "每个品种记录数",
  2444. "name": "lastNum",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryMiddleGoods": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询套保品种(菜单:套保品种)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "所属机构ID",
  2486. "name": "userid",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "状态 0-停用 1-正常",
  2493. "name": "status",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "所属机构ID",
  2535. "name": "userid",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "套保品种id",
  2542. "name": "middlegoodsid",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "type": "array",
  2552. "items": {
  2553. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2554. }
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/Ermcp/QueryMiddleGoodsDetail": {
  2567. "get": {
  2568. "security": [
  2569. {
  2570. "ApiKeyAuth": []
  2571. }
  2572. ],
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "企业风险管理(app)"
  2578. ],
  2579. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2580. "parameters": [
  2581. {
  2582. "type": "integer",
  2583. "description": "所属机构ID",
  2584. "name": "userid",
  2585. "in": "query",
  2586. "required": true
  2587. },
  2588. {
  2589. "type": "integer",
  2590. "description": "套保品种id",
  2591. "name": "middlegoodsid",
  2592. "in": "query"
  2593. }
  2594. ],
  2595. "responses": {
  2596. "200": {
  2597. "description": "OK",
  2598. "schema": {
  2599. "type": "array",
  2600. "items": {
  2601. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2602. }
  2603. }
  2604. },
  2605. "500": {
  2606. "description": "Internal Server Error",
  2607. "schema": {
  2608. "$ref": "#/definitions/app.Response"
  2609. }
  2610. }
  2611. }
  2612. }
  2613. },
  2614. "/Ermcp/QueryPendingAuditInfo": {
  2615. "get": {
  2616. "security": [
  2617. {
  2618. "ApiKeyAuth": []
  2619. }
  2620. ],
  2621. "produces": [
  2622. "application/json"
  2623. ],
  2624. "tags": [
  2625. "企业风险管理(app)"
  2626. ],
  2627. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2628. "parameters": [
  2629. {
  2630. "type": "integer",
  2631. "description": "用户ID",
  2632. "name": "UserId",
  2633. "in": "query",
  2634. "required": true
  2635. }
  2636. ],
  2637. "responses": {
  2638. "200": {
  2639. "description": "OK",
  2640. "schema": {
  2641. "type": "array",
  2642. "items": {
  2643. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2644. }
  2645. }
  2646. },
  2647. "500": {
  2648. "description": "Internal Server Error",
  2649. "schema": {
  2650. "$ref": "#/definitions/app.Response"
  2651. }
  2652. }
  2653. }
  2654. }
  2655. },
  2656. "/Ermcp/QueryRealtimeExposure": {
  2657. "get": {
  2658. "security": [
  2659. {
  2660. "ApiKeyAuth": []
  2661. }
  2662. ],
  2663. "produces": [
  2664. "application/json"
  2665. ],
  2666. "tags": [
  2667. "企业风险管理(app)"
  2668. ],
  2669. "summary": "查询实时敞口",
  2670. "parameters": [
  2671. {
  2672. "type": "integer",
  2673. "description": "所属机构ID",
  2674. "name": "userid",
  2675. "in": "query",
  2676. "required": true
  2677. }
  2678. ],
  2679. "responses": {
  2680. "200": {
  2681. "description": "OK",
  2682. "schema": {
  2683. "type": "array",
  2684. "items": {
  2685. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2686. }
  2687. }
  2688. },
  2689. "500": {
  2690. "description": "Internal Server Error",
  2691. "schema": {
  2692. "$ref": "#/definitions/app.Response"
  2693. }
  2694. }
  2695. }
  2696. }
  2697. },
  2698. "/Ermcp/QueryRealtimeExposurePosition": {
  2699. "get": {
  2700. "security": [
  2701. {
  2702. "ApiKeyAuth": []
  2703. }
  2704. ],
  2705. "produces": [
  2706. "application/json"
  2707. ],
  2708. "tags": [
  2709. "企业风险管理(app)"
  2710. ],
  2711. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2712. "parameters": [
  2713. {
  2714. "type": "integer",
  2715. "description": "用户id",
  2716. "name": "userid",
  2717. "in": "query",
  2718. "required": true
  2719. },
  2720. {
  2721. "type": "integer",
  2722. "description": "套保商品ID",
  2723. "name": "middleGoodsId",
  2724. "in": "query",
  2725. "required": true
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "OK",
  2731. "schema": {
  2732. "type": "array",
  2733. "items": {
  2734. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2735. }
  2736. }
  2737. },
  2738. "500": {
  2739. "description": "Internal Server Error",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. }
  2744. }
  2745. }
  2746. },
  2747. "/Ermcp/QueryTradeConfigTMP": {
  2748. "get": {
  2749. "security": [
  2750. {
  2751. "ApiKeyAuth": []
  2752. }
  2753. ],
  2754. "produces": [
  2755. "application/json"
  2756. ],
  2757. "tags": [
  2758. "企业风险管理(app)"
  2759. ],
  2760. "summary": "查询交易模板配置",
  2761. "parameters": [
  2762. {
  2763. "type": "integer",
  2764. "description": "所属机构id",
  2765. "name": "areauserid",
  2766. "in": "query"
  2767. }
  2768. ],
  2769. "responses": {
  2770. "200": {
  2771. "description": "OK",
  2772. "schema": {
  2773. "type": "array",
  2774. "items": {
  2775. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2776. }
  2777. }
  2778. },
  2779. "500": {
  2780. "description": "Internal Server Error",
  2781. "schema": {
  2782. "$ref": "#/definitions/app.Response"
  2783. }
  2784. }
  2785. }
  2786. }
  2787. },
  2788. "/Ermcp/QueryUserInfo": {
  2789. "get": {
  2790. "security": [
  2791. {
  2792. "ApiKeyAuth": []
  2793. }
  2794. ],
  2795. "produces": [
  2796. "application/json"
  2797. ],
  2798. "tags": [
  2799. "企业风险管理(app)"
  2800. ],
  2801. "summary": "查询客户资料",
  2802. "parameters": [
  2803. {
  2804. "type": "integer",
  2805. "description": "所属机构用户ID",
  2806. "name": "MemberUserID",
  2807. "in": "query",
  2808. "required": true
  2809. },
  2810. {
  2811. "type": "integer",
  2812. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2813. "name": "queryType",
  2814. "in": "query",
  2815. "required": true
  2816. }
  2817. ],
  2818. "responses": {
  2819. "200": {
  2820. "description": "OK",
  2821. "schema": {
  2822. "type": "array",
  2823. "items": {
  2824. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2825. }
  2826. }
  2827. },
  2828. "500": {
  2829. "description": "Internal Server Error",
  2830. "schema": {
  2831. "$ref": "#/definitions/app.Response"
  2832. }
  2833. }
  2834. }
  2835. }
  2836. },
  2837. "/Ermcp/QueryWarehouseInfo": {
  2838. "get": {
  2839. "security": [
  2840. {
  2841. "ApiKeyAuth": []
  2842. }
  2843. ],
  2844. "produces": [
  2845. "application/json"
  2846. ],
  2847. "tags": [
  2848. "企业风险管理(app)"
  2849. ],
  2850. "summary": "查询仓库信息",
  2851. "parameters": [
  2852. {
  2853. "type": "integer",
  2854. "description": "用户ID",
  2855. "name": "userid",
  2856. "in": "query",
  2857. "required": true
  2858. },
  2859. {
  2860. "type": "string",
  2861. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2862. "name": "status",
  2863. "in": "query"
  2864. }
  2865. ],
  2866. "responses": {
  2867. "200": {
  2868. "description": "OK",
  2869. "schema": {
  2870. "type": "array",
  2871. "items": {
  2872. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2873. }
  2874. }
  2875. },
  2876. "500": {
  2877. "description": "Internal Server Error",
  2878. "schema": {
  2879. "$ref": "#/definitions/app.Response"
  2880. }
  2881. }
  2882. }
  2883. }
  2884. },
  2885. "/Ermcp3/QryAreaExpourseContractDetail": {
  2886. "get": {
  2887. "security": [
  2888. {
  2889. "ApiKeyAuth": []
  2890. }
  2891. ],
  2892. "produces": [
  2893. "application/json"
  2894. ],
  2895. "tags": [
  2896. "企业风险管理v3(app)"
  2897. ],
  2898. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2899. "parameters": [
  2900. {
  2901. "type": "integer",
  2902. "description": "用户ID",
  2903. "name": "userid",
  2904. "in": "query",
  2905. "required": true
  2906. },
  2907. {
  2908. "type": "integer",
  2909. "description": "套保商品id",
  2910. "name": "middlegoodsid",
  2911. "in": "query",
  2912. "required": true
  2913. },
  2914. {
  2915. "type": "integer",
  2916. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2917. "name": "cycletype",
  2918. "in": "query",
  2919. "required": true
  2920. },
  2921. {
  2922. "type": "string",
  2923. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2924. "name": "cycletime",
  2925. "in": "query",
  2926. "required": true
  2927. }
  2928. ],
  2929. "responses": {
  2930. "200": {
  2931. "description": "OK",
  2932. "schema": {
  2933. "type": "array",
  2934. "items": {
  2935. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2936. }
  2937. }
  2938. },
  2939. "500": {
  2940. "description": "Internal Server Error",
  2941. "schema": {
  2942. "$ref": "#/definitions/app.Response"
  2943. }
  2944. }
  2945. }
  2946. }
  2947. },
  2948. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2949. "get": {
  2950. "security": [
  2951. {
  2952. "ApiKeyAuth": []
  2953. }
  2954. ],
  2955. "produces": [
  2956. "application/json"
  2957. ],
  2958. "tags": [
  2959. "企业风险管理v3(app)"
  2960. ],
  2961. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2962. "parameters": [
  2963. {
  2964. "type": "integer",
  2965. "description": "用户ID",
  2966. "name": "userid",
  2967. "in": "query",
  2968. "required": true
  2969. },
  2970. {
  2971. "type": "integer",
  2972. "description": "套保商品id",
  2973. "name": "middlegoodsid",
  2974. "in": "query",
  2975. "required": true
  2976. },
  2977. {
  2978. "type": "integer",
  2979. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2980. "name": "cycletype",
  2981. "in": "query",
  2982. "required": true
  2983. },
  2984. {
  2985. "type": "string",
  2986. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2987. "name": "cycletime",
  2988. "in": "query",
  2989. "required": true
  2990. }
  2991. ],
  2992. "responses": {
  2993. "200": {
  2994. "description": "OK",
  2995. "schema": {
  2996. "type": "array",
  2997. "items": {
  2998. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  2999. }
  3000. }
  3001. },
  3002. "500": {
  3003. "description": "Internal Server Error",
  3004. "schema": {
  3005. "$ref": "#/definitions/app.Response"
  3006. }
  3007. }
  3008. }
  3009. }
  3010. },
  3011. "/Ermcp3/QryAreaExpourseReport": {
  3012. "get": {
  3013. "security": [
  3014. {
  3015. "ApiKeyAuth": []
  3016. }
  3017. ],
  3018. "produces": [
  3019. "application/json"
  3020. ],
  3021. "tags": [
  3022. "企业风险管理v3(app)"
  3023. ],
  3024. "summary": "查询敞口报表",
  3025. "parameters": [
  3026. {
  3027. "type": "integer",
  3028. "description": "用户ID",
  3029. "name": "userid",
  3030. "in": "query",
  3031. "required": true
  3032. },
  3033. {
  3034. "type": "integer",
  3035. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3036. "name": "querytype",
  3037. "in": "query",
  3038. "required": true
  3039. },
  3040. {
  3041. "type": "integer",
  3042. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3043. "name": "cycletype",
  3044. "in": "query",
  3045. "required": true
  3046. },
  3047. {
  3048. "type": "string",
  3049. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3050. "name": "cycletime",
  3051. "in": "query",
  3052. "required": true
  3053. }
  3054. ],
  3055. "responses": {
  3056. "200": {
  3057. "description": "OK",
  3058. "schema": {
  3059. "type": "array",
  3060. "items": {
  3061. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3062. }
  3063. }
  3064. },
  3065. "500": {
  3066. "description": "Internal Server Error",
  3067. "schema": {
  3068. "$ref": "#/definitions/app.Response"
  3069. }
  3070. }
  3071. }
  3072. }
  3073. },
  3074. "/Ermcp3/QryAreaSpotplReport": {
  3075. "get": {
  3076. "security": [
  3077. {
  3078. "ApiKeyAuth": []
  3079. }
  3080. ],
  3081. "produces": [
  3082. "application/json"
  3083. ],
  3084. "tags": [
  3085. "企业风险管理v3(app)"
  3086. ],
  3087. "summary": "查询现货报表",
  3088. "parameters": [
  3089. {
  3090. "type": "integer",
  3091. "description": "用户ID",
  3092. "name": "userid",
  3093. "in": "query",
  3094. "required": true
  3095. },
  3096. {
  3097. "type": "integer",
  3098. "description": "查询类型 1-报表 2-报表明细",
  3099. "name": "querytype",
  3100. "in": "query",
  3101. "required": true
  3102. },
  3103. {
  3104. "type": "integer",
  3105. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3106. "name": "cycletype",
  3107. "in": "query",
  3108. "required": true
  3109. },
  3110. {
  3111. "type": "string",
  3112. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3113. "name": "cycletime",
  3114. "in": "query",
  3115. "required": true
  3116. },
  3117. {
  3118. "type": "integer",
  3119. "description": "现货品种id(明细必填)",
  3120. "name": "deliverygoodsid",
  3121. "in": "query"
  3122. },
  3123. {
  3124. "type": "integer",
  3125. "description": "品类id(明细必填)",
  3126. "name": "wrstandardid",
  3127. "in": "query"
  3128. },
  3129. {
  3130. "type": "integer",
  3131. "description": "币种id(明细必填)",
  3132. "name": "currencyid",
  3133. "in": "query"
  3134. }
  3135. ],
  3136. "responses": {
  3137. "200": {
  3138. "description": "OK",
  3139. "schema": {
  3140. "type": "array",
  3141. "items": {
  3142. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3143. }
  3144. }
  3145. },
  3146. "500": {
  3147. "description": "Internal Server Error",
  3148. "schema": {
  3149. "$ref": "#/definitions/app.Response"
  3150. }
  3151. }
  3152. }
  3153. }
  3154. },
  3155. "/Ermcp3/QryAreaStockReport": {
  3156. "get": {
  3157. "security": [
  3158. {
  3159. "ApiKeyAuth": []
  3160. }
  3161. ],
  3162. "produces": [
  3163. "application/json"
  3164. ],
  3165. "tags": [
  3166. "企业风险管理v3(app)"
  3167. ],
  3168. "summary": "查询库存报表",
  3169. "parameters": [
  3170. {
  3171. "type": "integer",
  3172. "description": "用户ID",
  3173. "name": "userid",
  3174. "in": "query",
  3175. "required": true
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "查询类型 1-报表 2-报表明细",
  3180. "name": "querytype",
  3181. "in": "query",
  3182. "required": true
  3183. },
  3184. {
  3185. "type": "integer",
  3186. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3187. "name": "cycletype",
  3188. "in": "query",
  3189. "required": true
  3190. },
  3191. {
  3192. "type": "string",
  3193. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3194. "name": "cycletime",
  3195. "in": "query",
  3196. "required": true
  3197. },
  3198. {
  3199. "type": "string",
  3200. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3201. "name": "sumfields",
  3202. "in": "query"
  3203. },
  3204. {
  3205. "type": "integer",
  3206. "description": "品种ID",
  3207. "name": "deliverygoodsid",
  3208. "in": "query"
  3209. },
  3210. {
  3211. "type": "integer",
  3212. "description": "品类ID",
  3213. "name": "wrstandardid",
  3214. "in": "query"
  3215. },
  3216. {
  3217. "type": "integer",
  3218. "description": "品牌ID",
  3219. "name": "spotgoodsbrandid",
  3220. "in": "query"
  3221. },
  3222. {
  3223. "type": "integer",
  3224. "description": "仓库ID",
  3225. "name": "warehouseinfoid",
  3226. "in": "query"
  3227. }
  3228. ],
  3229. "responses": {
  3230. "200": {
  3231. "description": "OK",
  3232. "schema": {
  3233. "type": "array",
  3234. "items": {
  3235. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3236. }
  3237. }
  3238. },
  3239. "500": {
  3240. "description": "Internal Server Error",
  3241. "schema": {
  3242. "$ref": "#/definitions/app.Response"
  3243. }
  3244. }
  3245. }
  3246. }
  3247. },
  3248. "/Ermcp3/QryAreaSumPL": {
  3249. "get": {
  3250. "security": [
  3251. {
  3252. "ApiKeyAuth": []
  3253. }
  3254. ],
  3255. "produces": [
  3256. "application/json"
  3257. ],
  3258. "tags": [
  3259. "企业风险管理v3(app)"
  3260. ],
  3261. "summary": "查询汇总损益表",
  3262. "parameters": [
  3263. {
  3264. "type": "integer",
  3265. "description": "用户ID",
  3266. "name": "userid",
  3267. "in": "query",
  3268. "required": true
  3269. },
  3270. {
  3271. "type": "integer",
  3272. "description": "查询类型 1-报表 2-报表明细",
  3273. "name": "querytype",
  3274. "in": "query",
  3275. "required": true
  3276. },
  3277. {
  3278. "type": "integer",
  3279. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3280. "name": "cycletype",
  3281. "in": "query",
  3282. "required": true
  3283. },
  3284. {
  3285. "type": "string",
  3286. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3287. "name": "cycletime",
  3288. "in": "query",
  3289. "required": true
  3290. },
  3291. {
  3292. "type": "integer",
  3293. "description": "币种id(明细必填)",
  3294. "name": "currencyid",
  3295. "in": "query"
  3296. }
  3297. ],
  3298. "responses": {
  3299. "200": {
  3300. "description": "OK",
  3301. "schema": {
  3302. "type": "array",
  3303. "items": {
  3304. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3305. }
  3306. }
  3307. },
  3308. "500": {
  3309. "description": "Internal Server Error",
  3310. "schema": {
  3311. "$ref": "#/definitions/app.Response"
  3312. }
  3313. }
  3314. }
  3315. }
  3316. },
  3317. "/Ermcp3/QryFinanceReport": {
  3318. "get": {
  3319. "security": [
  3320. {
  3321. "ApiKeyAuth": []
  3322. }
  3323. ],
  3324. "produces": [
  3325. "application/json"
  3326. ],
  3327. "tags": [
  3328. "企业风险管理v3(app)"
  3329. ],
  3330. "summary": "查询财务报表",
  3331. "parameters": [
  3332. {
  3333. "type": "integer",
  3334. "description": "用户ID",
  3335. "name": "userid",
  3336. "in": "query",
  3337. "required": true
  3338. },
  3339. {
  3340. "type": "integer",
  3341. "description": "查询类型 1-报表 2-报表明细",
  3342. "name": "querytype",
  3343. "in": "query",
  3344. "required": true
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3349. "name": "cycletype",
  3350. "in": "query",
  3351. "required": true
  3352. },
  3353. {
  3354. "type": "string",
  3355. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3356. "name": "cycletime",
  3357. "in": "query",
  3358. "required": true
  3359. },
  3360. {
  3361. "type": "integer",
  3362. "description": "币种id(日报表明细)",
  3363. "name": "currencyid",
  3364. "in": "query"
  3365. }
  3366. ],
  3367. "responses": {
  3368. "200": {
  3369. "description": "OK",
  3370. "schema": {
  3371. "type": "array",
  3372. "items": {
  3373. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3374. }
  3375. }
  3376. },
  3377. "500": {
  3378. "description": "Internal Server Error",
  3379. "schema": {
  3380. "$ref": "#/definitions/app.Response"
  3381. }
  3382. }
  3383. }
  3384. }
  3385. },
  3386. "/Ermcp3/QueryAreaStock": {
  3387. "get": {
  3388. "security": [
  3389. {
  3390. "ApiKeyAuth": []
  3391. }
  3392. ],
  3393. "produces": [
  3394. "application/json"
  3395. ],
  3396. "tags": [
  3397. "企业风险管理v3(app)"
  3398. ],
  3399. "summary": "查询机构库存(库存管理/当前库存)",
  3400. "parameters": [
  3401. {
  3402. "type": "integer",
  3403. "description": "用户ID",
  3404. "name": "userid",
  3405. "in": "query",
  3406. "required": true
  3407. }
  3408. ],
  3409. "responses": {
  3410. "200": {
  3411. "description": "OK",
  3412. "schema": {
  3413. "type": "array",
  3414. "items": {
  3415. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3416. }
  3417. }
  3418. },
  3419. "500": {
  3420. "description": "Internal Server Error",
  3421. "schema": {
  3422. "$ref": "#/definitions/app.Response"
  3423. }
  3424. }
  3425. }
  3426. }
  3427. },
  3428. "/Ermcp3/QueryAreaStockApply": {
  3429. "get": {
  3430. "security": [
  3431. {
  3432. "ApiKeyAuth": []
  3433. }
  3434. ],
  3435. "produces": [
  3436. "application/json"
  3437. ],
  3438. "tags": [
  3439. "企业风险管理v3(app)"
  3440. ],
  3441. "summary": "查询库存申请(出入库记录|库存审核)",
  3442. "parameters": [
  3443. {
  3444. "type": "integer",
  3445. "description": "用户ID",
  3446. "name": "userid",
  3447. "in": "query",
  3448. "required": true
  3449. },
  3450. {
  3451. "type": "integer",
  3452. "description": "用户类型 2-机构 7-企业成员",
  3453. "name": "usertype",
  3454. "in": "query"
  3455. },
  3456. {
  3457. "type": "integer",
  3458. "description": "现货商品ID",
  3459. "name": "deliverygoodsid",
  3460. "in": "query"
  3461. },
  3462. {
  3463. "type": "string",
  3464. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3465. "name": "inouttype",
  3466. "in": "query"
  3467. },
  3468. {
  3469. "type": "integer",
  3470. "description": "合同ID",
  3471. "name": "spotcontractid",
  3472. "in": "query"
  3473. },
  3474. {
  3475. "type": "integer",
  3476. "description": "品类ID",
  3477. "name": "wrstandardid",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品牌ID",
  3483. "name": "spotgoodsbrandid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "仓库ID",
  3489. "name": "warehouseinfoid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "string",
  3494. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3495. "name": "applystatus",
  3496. "in": "query"
  3497. }
  3498. ],
  3499. "responses": {
  3500. "200": {
  3501. "description": "OK",
  3502. "schema": {
  3503. "type": "array",
  3504. "items": {
  3505. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3506. }
  3507. }
  3508. },
  3509. "500": {
  3510. "description": "Internal Server Error",
  3511. "schema": {
  3512. "$ref": "#/definitions/app.Response"
  3513. }
  3514. }
  3515. }
  3516. }
  3517. },
  3518. "/Ermcp3/QueryAreaStockApplySum": {
  3519. "get": {
  3520. "security": [
  3521. {
  3522. "ApiKeyAuth": []
  3523. }
  3524. ],
  3525. "produces": [
  3526. "application/json"
  3527. ],
  3528. "tags": [
  3529. "企业风险管理v3(app)"
  3530. ],
  3531. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3532. "parameters": [
  3533. {
  3534. "type": "integer",
  3535. "description": "合同ID",
  3536. "name": "spotcontractid",
  3537. "in": "query"
  3538. }
  3539. ],
  3540. "responses": {
  3541. "200": {
  3542. "description": "OK",
  3543. "schema": {
  3544. "type": "array",
  3545. "items": {
  3546. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3547. }
  3548. }
  3549. },
  3550. "500": {
  3551. "description": "Internal Server Error",
  3552. "schema": {
  3553. "$ref": "#/definitions/app.Response"
  3554. }
  3555. }
  3556. }
  3557. }
  3558. },
  3559. "/Ermcp3/QueryDGFactoryItem": {
  3560. "get": {
  3561. "security": [
  3562. {
  3563. "ApiKeyAuth": []
  3564. }
  3565. ],
  3566. "produces": [
  3567. "application/json"
  3568. ],
  3569. "tags": [
  3570. "企业风险管理v3(app)"
  3571. ],
  3572. "summary": "查询品种要素定义项",
  3573. "parameters": [
  3574. {
  3575. "type": "integer",
  3576. "description": "用户id",
  3577. "name": "userid",
  3578. "in": "query"
  3579. },
  3580. {
  3581. "type": "integer",
  3582. "description": "用户类型 2-机构 7-企业成员",
  3583. "name": "usertype",
  3584. "in": "query"
  3585. },
  3586. {
  3587. "type": "integer",
  3588. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3589. "name": "dgfactoryitemid",
  3590. "in": "query"
  3591. },
  3592. {
  3593. "type": "integer",
  3594. "description": "现货品种ID",
  3595. "name": "deliverygoodsid",
  3596. "in": "query"
  3597. },
  3598. {
  3599. "type": "integer",
  3600. "description": "要素项类型",
  3601. "name": "dgfactoryitemtypeid",
  3602. "in": "query"
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "顺序",
  3607. "name": "orderindex",
  3608. "in": "query"
  3609. }
  3610. ],
  3611. "responses": {
  3612. "200": {
  3613. "description": "OK",
  3614. "schema": {
  3615. "type": "array",
  3616. "items": {
  3617. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3618. }
  3619. }
  3620. },
  3621. "500": {
  3622. "description": "Internal Server Error",
  3623. "schema": {
  3624. "$ref": "#/definitions/app.Response"
  3625. }
  3626. }
  3627. }
  3628. }
  3629. },
  3630. "/Ermcp3/QueryDeliveryGoods": {
  3631. "get": {
  3632. "security": [
  3633. {
  3634. "ApiKeyAuth": []
  3635. }
  3636. ],
  3637. "produces": [
  3638. "application/json"
  3639. ],
  3640. "tags": [
  3641. "企业风险管理v3(app)"
  3642. ],
  3643. "summary": "查询现货商品",
  3644. "parameters": [
  3645. {
  3646. "type": "integer",
  3647. "description": "用户id",
  3648. "name": "userid",
  3649. "in": "query",
  3650. "required": true
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "用户类型 2-机构 7-企业成员",
  3655. "name": "usertype",
  3656. "in": "query"
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3661. "name": "excludecfg",
  3662. "in": "query"
  3663. }
  3664. ],
  3665. "responses": {
  3666. "200": {
  3667. "description": "OK",
  3668. "schema": {
  3669. "type": "array",
  3670. "items": {
  3671. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3672. }
  3673. }
  3674. },
  3675. "500": {
  3676. "description": "Internal Server Error",
  3677. "schema": {
  3678. "$ref": "#/definitions/app.Response"
  3679. }
  3680. }
  3681. }
  3682. }
  3683. },
  3684. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3685. "get": {
  3686. "security": [
  3687. {
  3688. "ApiKeyAuth": []
  3689. }
  3690. ],
  3691. "produces": [
  3692. "application/json"
  3693. ],
  3694. "tags": [
  3695. "企业风险管理v3(app)"
  3696. ],
  3697. "summary": "查询现货商品详情",
  3698. "parameters": [
  3699. {
  3700. "type": "integer",
  3701. "description": "用户id",
  3702. "name": "userid",
  3703. "in": "query",
  3704. "required": true
  3705. },
  3706. {
  3707. "type": "integer",
  3708. "description": "用户类型 2-机构 7-企业成员",
  3709. "name": "usertype",
  3710. "in": "query"
  3711. },
  3712. {
  3713. "type": "integer",
  3714. "description": "现货商品id",
  3715. "name": "deliverygoodsid",
  3716. "in": "query"
  3717. }
  3718. ],
  3719. "responses": {
  3720. "200": {
  3721. "description": "OK",
  3722. "schema": {
  3723. "type": "array",
  3724. "items": {
  3725. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3726. }
  3727. }
  3728. },
  3729. "500": {
  3730. "description": "Internal Server Error",
  3731. "schema": {
  3732. "$ref": "#/definitions/app.Response"
  3733. }
  3734. }
  3735. }
  3736. }
  3737. },
  3738. "/Ermcp3/QueryExposureDetail": {
  3739. "get": {
  3740. "security": [
  3741. {
  3742. "ApiKeyAuth": []
  3743. }
  3744. ],
  3745. "produces": [
  3746. "application/json"
  3747. ],
  3748. "tags": [
  3749. "企业风险管理v3(app)"
  3750. ],
  3751. "summary": "查询敞口现货明细",
  3752. "parameters": [
  3753. {
  3754. "type": "integer",
  3755. "description": "用户id",
  3756. "name": "userid",
  3757. "in": "query",
  3758. "required": true
  3759. },
  3760. {
  3761. "type": "integer",
  3762. "description": "用户类型 2-机构 7-企业成员",
  3763. "name": "usertype",
  3764. "in": "query"
  3765. },
  3766. {
  3767. "type": "integer",
  3768. "description": "套保商品",
  3769. "name": "middlegoodsid",
  3770. "in": "query",
  3771. "required": true
  3772. }
  3773. ],
  3774. "responses": {
  3775. "200": {
  3776. "description": "OK",
  3777. "schema": {
  3778. "type": "array",
  3779. "items": {
  3780. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3781. }
  3782. }
  3783. },
  3784. "500": {
  3785. "description": "Internal Server Error",
  3786. "schema": {
  3787. "$ref": "#/definitions/app.Response"
  3788. }
  3789. }
  3790. }
  3791. }
  3792. },
  3793. "/Ermcp3/QueryExposureSpot": {
  3794. "get": {
  3795. "security": [
  3796. {
  3797. "ApiKeyAuth": []
  3798. }
  3799. ],
  3800. "produces": [
  3801. "application/json"
  3802. ],
  3803. "tags": [
  3804. "企业风险管理v3(app)"
  3805. ],
  3806. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3807. "parameters": [
  3808. {
  3809. "type": "integer",
  3810. "description": "用户id",
  3811. "name": "userid",
  3812. "in": "query",
  3813. "required": true
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "用户类型 2-机构 7-企业成员",
  3818. "name": "usertype",
  3819. "in": "query"
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "type": "array",
  3827. "items": {
  3828. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3829. }
  3830. }
  3831. },
  3832. "500": {
  3833. "description": "Internal Server Error",
  3834. "schema": {
  3835. "$ref": "#/definitions/app.Response"
  3836. }
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "/Ermcp3/QueryExposureSpotDetail": {
  3842. "get": {
  3843. "security": [
  3844. {
  3845. "ApiKeyAuth": []
  3846. }
  3847. ],
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "企业风险管理v3(app)"
  3853. ],
  3854. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "用户id",
  3859. "name": "userid",
  3860. "in": "query",
  3861. "required": true
  3862. },
  3863. {
  3864. "type": "integer",
  3865. "description": "用户类型 2-机构 7-企业成员",
  3866. "name": "usertype",
  3867. "in": "query"
  3868. },
  3869. {
  3870. "type": "integer",
  3871. "description": "现货品种ID",
  3872. "name": "deliverygoodsid",
  3873. "in": "query",
  3874. "required": true
  3875. }
  3876. ],
  3877. "responses": {
  3878. "200": {
  3879. "description": "OK",
  3880. "schema": {
  3881. "type": "array",
  3882. "items": {
  3883. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3884. }
  3885. }
  3886. },
  3887. "500": {
  3888. "description": "Internal Server Error",
  3889. "schema": {
  3890. "$ref": "#/definitions/app.Response"
  3891. }
  3892. }
  3893. }
  3894. }
  3895. },
  3896. "/Ermcp3/QueryGoodsGroup": {
  3897. "get": {
  3898. "security": [
  3899. {
  3900. "ApiKeyAuth": []
  3901. }
  3902. ],
  3903. "produces": [
  3904. "application/json"
  3905. ],
  3906. "tags": [
  3907. "企业风险管理v3(app)"
  3908. ],
  3909. "summary": "查询期货商品组",
  3910. "parameters": [
  3911. {
  3912. "type": "integer",
  3913. "description": "用户id",
  3914. "name": "userid",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "用户类型 2-机构 7-企业成员",
  3921. "name": "usertype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "排除套保品中已关联的商品组 1-排除",
  3927. "name": "excludecfg",
  3928. "in": "query"
  3929. }
  3930. ],
  3931. "responses": {
  3932. "200": {
  3933. "description": "OK",
  3934. "schema": {
  3935. "type": "array",
  3936. "items": {
  3937. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3938. }
  3939. }
  3940. },
  3941. "500": {
  3942. "description": "Internal Server Error",
  3943. "schema": {
  3944. "$ref": "#/definitions/app.Response"
  3945. }
  3946. }
  3947. }
  3948. }
  3949. },
  3950. "/Ermcp3/QueryGoodsWrstandard": {
  3951. "get": {
  3952. "security": [
  3953. {
  3954. "ApiKeyAuth": []
  3955. }
  3956. ],
  3957. "produces": [
  3958. "application/json"
  3959. ],
  3960. "tags": [
  3961. "企业风险管理v3(app)"
  3962. ],
  3963. "summary": "查询商品品类",
  3964. "parameters": [
  3965. {
  3966. "type": "integer",
  3967. "description": "用户id",
  3968. "name": "userid",
  3969. "in": "query",
  3970. "required": true
  3971. },
  3972. {
  3973. "type": "integer",
  3974. "description": "用户类型 2-机构 7-企业成员",
  3975. "name": "usertype",
  3976. "in": "query"
  3977. },
  3978. {
  3979. "type": "integer",
  3980. "description": "现货商品id",
  3981. "name": "deliverygoodsid",
  3982. "in": "query"
  3983. }
  3984. ],
  3985. "responses": {
  3986. "200": {
  3987. "description": "OK",
  3988. "schema": {
  3989. "type": "array",
  3990. "items": {
  3991. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3992. }
  3993. }
  3994. },
  3995. "500": {
  3996. "description": "Internal Server Error",
  3997. "schema": {
  3998. "$ref": "#/definitions/app.Response"
  3999. }
  4000. }
  4001. }
  4002. }
  4003. },
  4004. "/Ermcp3/QueryGoodsbrand": {
  4005. "get": {
  4006. "security": [
  4007. {
  4008. "ApiKeyAuth": []
  4009. }
  4010. ],
  4011. "produces": [
  4012. "application/json"
  4013. ],
  4014. "tags": [
  4015. "企业风险管理v3(app)"
  4016. ],
  4017. "summary": "查询商品品牌",
  4018. "parameters": [
  4019. {
  4020. "type": "integer",
  4021. "description": "用户id",
  4022. "name": "userid",
  4023. "in": "query",
  4024. "required": true
  4025. },
  4026. {
  4027. "type": "integer",
  4028. "description": "用户类型 2-机构 7-企业成员",
  4029. "name": "usertype",
  4030. "in": "query"
  4031. }
  4032. ],
  4033. "responses": {
  4034. "200": {
  4035. "description": "OK",
  4036. "schema": {
  4037. "type": "array",
  4038. "items": {
  4039. "$ref": "#/definitions/models.Ermcp3Brand"
  4040. }
  4041. }
  4042. },
  4043. "500": {
  4044. "description": "Internal Server Error",
  4045. "schema": {
  4046. "$ref": "#/definitions/app.Response"
  4047. }
  4048. }
  4049. }
  4050. }
  4051. },
  4052. "/Ermcp3/QueryHedgePlan": {
  4053. "get": {
  4054. "security": [
  4055. {
  4056. "ApiKeyAuth": []
  4057. }
  4058. ],
  4059. "produces": [
  4060. "application/json"
  4061. ],
  4062. "tags": [
  4063. "企业风险管理v3(app)"
  4064. ],
  4065. "summary": "查询套保计划",
  4066. "parameters": [
  4067. {
  4068. "type": "integer",
  4069. "description": "用户ID",
  4070. "name": "userid",
  4071. "in": "query",
  4072. "required": true
  4073. },
  4074. {
  4075. "type": "integer",
  4076. "description": "用户类型 2-机构 7-企业成员",
  4077. "name": "usertype",
  4078. "in": "query"
  4079. },
  4080. {
  4081. "type": "string",
  4082. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4083. "name": "hedgeplanstatus",
  4084. "in": "query",
  4085. "required": true
  4086. }
  4087. ],
  4088. "responses": {
  4089. "200": {
  4090. "description": "OK",
  4091. "schema": {
  4092. "type": "array",
  4093. "items": {
  4094. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4095. }
  4096. }
  4097. },
  4098. "500": {
  4099. "description": "Internal Server Error",
  4100. "schema": {
  4101. "$ref": "#/definitions/app.Response"
  4102. }
  4103. }
  4104. }
  4105. }
  4106. },
  4107. "/Ermcp3/QueryMiddleGoodsDetail": {
  4108. "get": {
  4109. "security": [
  4110. {
  4111. "ApiKeyAuth": []
  4112. }
  4113. ],
  4114. "produces": [
  4115. "application/json"
  4116. ],
  4117. "tags": [
  4118. "企业风险管理v3(app)"
  4119. ],
  4120. "summary": "查询套保品种详情(套保品种/商品详情)",
  4121. "parameters": [
  4122. {
  4123. "type": "integer",
  4124. "description": "用户id",
  4125. "name": "userid",
  4126. "in": "query",
  4127. "required": true
  4128. },
  4129. {
  4130. "type": "integer",
  4131. "description": "用户类型 2-机构 7-企业成员",
  4132. "name": "usertype",
  4133. "in": "query"
  4134. },
  4135. {
  4136. "type": "integer",
  4137. "description": "套保品种id",
  4138. "name": "middlegoodsid",
  4139. "in": "query"
  4140. }
  4141. ],
  4142. "responses": {
  4143. "200": {
  4144. "description": "OK",
  4145. "schema": {
  4146. "type": "array",
  4147. "items": {
  4148. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4149. }
  4150. }
  4151. },
  4152. "500": {
  4153. "description": "Internal Server Error",
  4154. "schema": {
  4155. "$ref": "#/definitions/app.Response"
  4156. }
  4157. }
  4158. }
  4159. }
  4160. },
  4161. "/Ermcp3/QuerySpotContract": {
  4162. "get": {
  4163. "security": [
  4164. {
  4165. "ApiKeyAuth": []
  4166. }
  4167. ],
  4168. "produces": [
  4169. "application/json"
  4170. ],
  4171. "tags": [
  4172. "企业风险管理v3(app)"
  4173. ],
  4174. "summary": "查询现货合同",
  4175. "parameters": [
  4176. {
  4177. "type": "integer",
  4178. "description": "用户id",
  4179. "name": "userid",
  4180. "in": "query",
  4181. "required": true
  4182. },
  4183. {
  4184. "type": "integer",
  4185. "description": "用户类型 2-机构 7-企业成员",
  4186. "name": "usertype",
  4187. "in": "query"
  4188. },
  4189. {
  4190. "type": "integer",
  4191. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4192. "name": "querytype",
  4193. "in": "query",
  4194. "required": true
  4195. },
  4196. {
  4197. "type": "string",
  4198. "description": "合同ID(SpotContractId)",
  4199. "name": "contractid",
  4200. "in": "query"
  4201. }
  4202. ],
  4203. "responses": {
  4204. "200": {
  4205. "description": "OK",
  4206. "schema": {
  4207. "type": "array",
  4208. "items": {
  4209. "$ref": "#/definitions/models.Ermcp3Contract"
  4210. }
  4211. }
  4212. },
  4213. "500": {
  4214. "description": "Internal Server Error",
  4215. "schema": {
  4216. "$ref": "#/definitions/app.Response"
  4217. }
  4218. }
  4219. }
  4220. }
  4221. },
  4222. "/Ermcp3/QuerySpotContractBS": {
  4223. "get": {
  4224. "security": [
  4225. {
  4226. "ApiKeyAuth": []
  4227. }
  4228. ],
  4229. "produces": [
  4230. "application/json"
  4231. ],
  4232. "tags": [
  4233. "企业风险管理v3(app)"
  4234. ],
  4235. "summary": "查询合同(采购/销售)",
  4236. "parameters": [
  4237. {
  4238. "type": "integer",
  4239. "description": "用户id",
  4240. "name": "userid",
  4241. "in": "query",
  4242. "required": true
  4243. },
  4244. {
  4245. "type": "integer",
  4246. "description": "用户类型 2-机构 7-企业成员",
  4247. "name": "usertype",
  4248. "in": "query"
  4249. },
  4250. {
  4251. "type": "integer",
  4252. "description": "合同类型 1-采购, -1-销售",
  4253. "name": "contracttype",
  4254. "in": "query",
  4255. "required": true
  4256. },
  4257. {
  4258. "type": "integer",
  4259. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4260. "name": "querytype",
  4261. "in": "query",
  4262. "required": true
  4263. },
  4264. {
  4265. "type": "string",
  4266. "description": "合同ID(SpotContractId)",
  4267. "name": "contractid",
  4268. "in": "query"
  4269. }
  4270. ],
  4271. "responses": {
  4272. "200": {
  4273. "description": "OK",
  4274. "schema": {
  4275. "type": "array",
  4276. "items": {
  4277. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4278. }
  4279. }
  4280. },
  4281. "500": {
  4282. "description": "Internal Server Error",
  4283. "schema": {
  4284. "$ref": "#/definitions/app.Response"
  4285. }
  4286. }
  4287. }
  4288. }
  4289. },
  4290. "/Ermcp3/QuerySpotGoodsPrice": {
  4291. "get": {
  4292. "security": [
  4293. {
  4294. "ApiKeyAuth": []
  4295. }
  4296. ],
  4297. "produces": [
  4298. "application/json"
  4299. ],
  4300. "tags": [
  4301. "企业风险管理v3(app)"
  4302. ],
  4303. "summary": "查询现货市价(现货市价)",
  4304. "parameters": [
  4305. {
  4306. "type": "integer",
  4307. "description": "用户ID",
  4308. "name": "userid",
  4309. "in": "query",
  4310. "required": true
  4311. }
  4312. ],
  4313. "responses": {
  4314. "200": {
  4315. "description": "OK",
  4316. "schema": {
  4317. "type": "array",
  4318. "items": {
  4319. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4320. }
  4321. }
  4322. },
  4323. "500": {
  4324. "description": "Internal Server Error",
  4325. "schema": {
  4326. "$ref": "#/definitions/app.Response"
  4327. }
  4328. }
  4329. }
  4330. }
  4331. },
  4332. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4333. "get": {
  4334. "security": [
  4335. {
  4336. "ApiKeyAuth": []
  4337. }
  4338. ],
  4339. "produces": [
  4340. "application/json"
  4341. ],
  4342. "tags": [
  4343. "企业风险管理v3(app)"
  4344. ],
  4345. "summary": "查询现货市价详情(现货市价/详情)",
  4346. "parameters": [
  4347. {
  4348. "type": "integer",
  4349. "description": "用户ID",
  4350. "name": "userid",
  4351. "in": "query",
  4352. "required": true
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "现货商品ID",
  4357. "name": "deliverygoodsid",
  4358. "in": "query",
  4359. "required": true
  4360. },
  4361. {
  4362. "type": "integer",
  4363. "description": "品牌ID",
  4364. "name": "brandid",
  4365. "in": "query"
  4366. },
  4367. {
  4368. "type": "integer",
  4369. "description": "品类ID",
  4370. "name": "wrstandardid",
  4371. "in": "query"
  4372. }
  4373. ],
  4374. "responses": {
  4375. "200": {
  4376. "description": "OK",
  4377. "schema": {
  4378. "type": "array",
  4379. "items": {
  4380. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4381. }
  4382. }
  4383. },
  4384. "500": {
  4385. "description": "Internal Server Error",
  4386. "schema": {
  4387. "$ref": "#/definitions/app.Response"
  4388. }
  4389. }
  4390. }
  4391. }
  4392. },
  4393. "/Erms2/QueryArbitrageStrategy": {
  4394. "get": {
  4395. "security": [
  4396. {
  4397. "ApiKeyAuth": []
  4398. }
  4399. ],
  4400. "produces": [
  4401. "application/json"
  4402. ],
  4403. "tags": [
  4404. "风险管理"
  4405. ],
  4406. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4407. "parameters": [
  4408. {
  4409. "type": "integer",
  4410. "description": "账户ID",
  4411. "name": "userid",
  4412. "in": "query",
  4413. "required": true
  4414. },
  4415. {
  4416. "type": "string",
  4417. "description": "商品组ID(品种ID)",
  4418. "name": "goodsgroupid",
  4419. "in": "query"
  4420. }
  4421. ],
  4422. "responses": {
  4423. "200": {
  4424. "description": "OK",
  4425. "schema": {
  4426. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4427. }
  4428. },
  4429. "500": {
  4430. "description": "Internal Server Error",
  4431. "schema": {
  4432. "$ref": "#/definitions/app.Response"
  4433. }
  4434. }
  4435. }
  4436. }
  4437. },
  4438. "/Erms2/QueryInnerTradeDetail": {
  4439. "get": {
  4440. "security": [
  4441. {
  4442. "ApiKeyAuth": []
  4443. }
  4444. ],
  4445. "produces": [
  4446. "application/json"
  4447. ],
  4448. "tags": [
  4449. "风险管理"
  4450. ],
  4451. "summary": "查询内部成交单信息",
  4452. "parameters": [
  4453. {
  4454. "type": "integer",
  4455. "description": "资金账户",
  4456. "name": "accountid",
  4457. "in": "query",
  4458. "required": true
  4459. }
  4460. ],
  4461. "responses": {
  4462. "200": {
  4463. "description": "OK",
  4464. "schema": {
  4465. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4466. }
  4467. },
  4468. "500": {
  4469. "description": "Internal Server Error",
  4470. "schema": {
  4471. "$ref": "#/definitions/app.Response"
  4472. }
  4473. }
  4474. }
  4475. }
  4476. },
  4477. "/Erms2/QuerySpotContract": {
  4478. "get": {
  4479. "security": [
  4480. {
  4481. "ApiKeyAuth": []
  4482. }
  4483. ],
  4484. "produces": [
  4485. "application/json"
  4486. ],
  4487. "tags": [
  4488. "风险管理"
  4489. ],
  4490. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4491. "parameters": [
  4492. {
  4493. "type": "integer",
  4494. "description": "策略申请ID",
  4495. "name": "asapplyid",
  4496. "in": "query",
  4497. "required": true
  4498. },
  4499. {
  4500. "type": "integer",
  4501. "description": "现货合同ID",
  4502. "name": "spotcontractid",
  4503. "in": "query"
  4504. }
  4505. ],
  4506. "responses": {
  4507. "200": {
  4508. "description": "OK",
  4509. "schema": {
  4510. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4511. }
  4512. },
  4513. "500": {
  4514. "description": "Internal Server Error",
  4515. "schema": {
  4516. "$ref": "#/definitions/app.Response"
  4517. }
  4518. }
  4519. }
  4520. }
  4521. },
  4522. "/Erms3/AddErms2ASApply": {
  4523. "post": {
  4524. "security": [
  4525. {
  4526. "ApiKeyAuth": []
  4527. }
  4528. ],
  4529. "produces": [
  4530. "application/json"
  4531. ],
  4532. "tags": [
  4533. "风险管理v3"
  4534. ],
  4535. "summary": "新增期现套利业务申请",
  4536. "parameters": [
  4537. {
  4538. "description": "申请参数",
  4539. "name": "jsonBody",
  4540. "in": "body",
  4541. "required": true,
  4542. "schema": {
  4543. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4544. }
  4545. }
  4546. ],
  4547. "responses": {
  4548. "200": {
  4549. "description": "OK",
  4550. "schema": {
  4551. "$ref": "#/definitions/app.Response"
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Erms3/AddErms2SpotTradeApply": {
  4564. "post": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "produces": [
  4571. "application/json"
  4572. ],
  4573. "tags": [
  4574. "风险管理v3"
  4575. ],
  4576. "summary": "新增现货贸易业务申请",
  4577. "parameters": [
  4578. {
  4579. "description": "申请参数",
  4580. "name": "jsonBody",
  4581. "in": "body",
  4582. "required": true,
  4583. "schema": {
  4584. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4585. }
  4586. }
  4587. ],
  4588. "responses": {
  4589. "200": {
  4590. "description": "OK",
  4591. "schema": {
  4592. "$ref": "#/definitions/app.Response"
  4593. }
  4594. },
  4595. "500": {
  4596. "description": "Internal Server Error",
  4597. "schema": {
  4598. "$ref": "#/definitions/app.Response"
  4599. }
  4600. }
  4601. }
  4602. }
  4603. },
  4604. "/Erms3/AddSpotContractApply": {
  4605. "post": {
  4606. "security": [
  4607. {
  4608. "ApiKeyAuth": []
  4609. }
  4610. ],
  4611. "produces": [
  4612. "application/json"
  4613. ],
  4614. "tags": [
  4615. "风险管理v3"
  4616. ],
  4617. "summary": "新增现货合同申请",
  4618. "parameters": [
  4619. {
  4620. "description": "申请参数",
  4621. "name": "jsonBody",
  4622. "in": "body",
  4623. "required": true,
  4624. "schema": {
  4625. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4626. }
  4627. }
  4628. ],
  4629. "responses": {
  4630. "200": {
  4631. "description": "OK",
  4632. "schema": {
  4633. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4634. }
  4635. },
  4636. "500": {
  4637. "description": "Internal Server Error",
  4638. "schema": {
  4639. "$ref": "#/definitions/app.Response"
  4640. }
  4641. }
  4642. }
  4643. }
  4644. },
  4645. "/Erms3/AddUserInfoApply": {
  4646. "post": {
  4647. "security": [
  4648. {
  4649. "ApiKeyAuth": []
  4650. }
  4651. ],
  4652. "produces": [
  4653. "application/json"
  4654. ],
  4655. "tags": [
  4656. "风险管理v3"
  4657. ],
  4658. "summary": "新增客户申请",
  4659. "parameters": [
  4660. {
  4661. "description": "用户信息",
  4662. "name": "jsonBody",
  4663. "in": "body",
  4664. "required": true,
  4665. "schema": {
  4666. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4667. }
  4668. }
  4669. ],
  4670. "responses": {
  4671. "200": {
  4672. "description": "OK",
  4673. "schema": {
  4674. "$ref": "#/definitions/app.Response"
  4675. }
  4676. },
  4677. "500": {
  4678. "description": "Internal Server Error",
  4679. "schema": {
  4680. "$ref": "#/definitions/app.Response"
  4681. }
  4682. }
  4683. }
  4684. }
  4685. },
  4686. "/Erms3/DeleteUserInfoApply": {
  4687. "get": {
  4688. "security": [
  4689. {
  4690. "ApiKeyAuth": []
  4691. }
  4692. ],
  4693. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4694. "produces": [
  4695. "application/json"
  4696. ],
  4697. "tags": [
  4698. "风险管理v3"
  4699. ],
  4700. "summary": "删除客户申请",
  4701. "parameters": [
  4702. {
  4703. "type": "integer",
  4704. "description": "用户ID",
  4705. "name": "userID",
  4706. "in": "query",
  4707. "required": true
  4708. }
  4709. ],
  4710. "responses": {
  4711. "200": {
  4712. "description": "OK",
  4713. "schema": {
  4714. "$ref": "#/definitions/app.Response"
  4715. }
  4716. },
  4717. "500": {
  4718. "description": "Internal Server Error",
  4719. "schema": {
  4720. "$ref": "#/definitions/app.Response"
  4721. }
  4722. }
  4723. }
  4724. }
  4725. },
  4726. "/Erms3/ModifyUserInfoApply": {
  4727. "post": {
  4728. "security": [
  4729. {
  4730. "ApiKeyAuth": []
  4731. }
  4732. ],
  4733. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4734. "produces": [
  4735. "application/json"
  4736. ],
  4737. "tags": [
  4738. "风险管理v3"
  4739. ],
  4740. "summary": "修改客户申请",
  4741. "parameters": [
  4742. {
  4743. "description": "用户信息",
  4744. "name": "jsonBody",
  4745. "in": "body",
  4746. "required": true,
  4747. "schema": {
  4748. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4749. }
  4750. }
  4751. ],
  4752. "responses": {
  4753. "200": {
  4754. "description": "OK",
  4755. "schema": {
  4756. "$ref": "#/definitions/app.Response"
  4757. }
  4758. },
  4759. "500": {
  4760. "description": "Internal Server Error",
  4761. "schema": {
  4762. "$ref": "#/definitions/app.Response"
  4763. }
  4764. }
  4765. }
  4766. }
  4767. },
  4768. "/Erms3/QueryBusinessInfo": {
  4769. "get": {
  4770. "security": [
  4771. {
  4772. "ApiKeyAuth": []
  4773. }
  4774. ],
  4775. "produces": [
  4776. "application/json"
  4777. ],
  4778. "tags": [
  4779. "风险管理v3"
  4780. ],
  4781. "summary": "查询业务表单数据",
  4782. "parameters": [
  4783. {
  4784. "type": "string",
  4785. "description": "资金账号ID列表,用逗号分隔",
  4786. "name": "accountids",
  4787. "in": "query",
  4788. "required": true
  4789. },
  4790. {
  4791. "type": "integer",
  4792. "description": "状态,0为未结束 1为已结束",
  4793. "name": "status",
  4794. "in": "query",
  4795. "required": true
  4796. }
  4797. ],
  4798. "responses": {
  4799. "200": {
  4800. "description": "OK",
  4801. "schema": {
  4802. "type": "array",
  4803. "items": {
  4804. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4805. }
  4806. }
  4807. },
  4808. "500": {
  4809. "description": "Internal Server Error",
  4810. "schema": {
  4811. "$ref": "#/definitions/app.Response"
  4812. }
  4813. }
  4814. }
  4815. }
  4816. },
  4817. "/Erms3/QueryPendingAuditContract": {
  4818. "get": {
  4819. "security": [
  4820. {
  4821. "ApiKeyAuth": []
  4822. }
  4823. ],
  4824. "produces": [
  4825. "application/json"
  4826. ],
  4827. "tags": [
  4828. "风险管理v3"
  4829. ],
  4830. "summary": "查询待审核合同",
  4831. "parameters": [
  4832. {
  4833. "type": "string",
  4834. "description": "资金账号ID列表,逗号隔开",
  4835. "name": "accountids",
  4836. "in": "query",
  4837. "required": true
  4838. },
  4839. {
  4840. "type": "integer",
  4841. "description": "合同类型 1-采购 -1-销售",
  4842. "name": "contracttype",
  4843. "in": "query",
  4844. "required": true
  4845. },
  4846. {
  4847. "type": "integer",
  4848. "description": "合同模式 1-普通 2-回购",
  4849. "name": "contractmode",
  4850. "in": "query",
  4851. "required": true
  4852. }
  4853. ],
  4854. "responses": {
  4855. "200": {
  4856. "description": "OK",
  4857. "schema": {
  4858. "type": "array",
  4859. "items": {
  4860. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4861. }
  4862. }
  4863. },
  4864. "500": {
  4865. "description": "Internal Server Error",
  4866. "schema": {
  4867. "$ref": "#/definitions/app.Response"
  4868. }
  4869. }
  4870. }
  4871. }
  4872. },
  4873. "/Erms3/QueryPendingBusiness": {
  4874. "get": {
  4875. "security": [
  4876. {
  4877. "ApiKeyAuth": []
  4878. }
  4879. ],
  4880. "produces": [
  4881. "application/json"
  4882. ],
  4883. "tags": [
  4884. "风险管理v3"
  4885. ],
  4886. "summary": "查询待审核基差贸易业务",
  4887. "parameters": [
  4888. {
  4889. "type": "string",
  4890. "description": "资金账号ID列表,逗号隔开",
  4891. "name": "accountids",
  4892. "in": "query",
  4893. "required": true
  4894. }
  4895. ],
  4896. "responses": {
  4897. "200": {
  4898. "description": "OK",
  4899. "schema": {
  4900. "type": "array",
  4901. "items": {
  4902. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4903. }
  4904. }
  4905. },
  4906. "500": {
  4907. "description": "Internal Server Error",
  4908. "schema": {
  4909. "$ref": "#/definitions/app.Response"
  4910. }
  4911. }
  4912. }
  4913. }
  4914. },
  4915. "/Erms3/QuerySpotContractAppleForm": {
  4916. "get": {
  4917. "security": [
  4918. {
  4919. "ApiKeyAuth": []
  4920. }
  4921. ],
  4922. "produces": [
  4923. "application/json"
  4924. ],
  4925. "tags": [
  4926. "风险管理v3"
  4927. ],
  4928. "summary": "查询合同申请表单数据",
  4929. "parameters": [
  4930. {
  4931. "type": "integer",
  4932. "description": "登录账号",
  4933. "name": "loginID",
  4934. "in": "query",
  4935. "required": true
  4936. }
  4937. ],
  4938. "responses": {
  4939. "200": {
  4940. "description": "OK",
  4941. "schema": {
  4942. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4943. }
  4944. },
  4945. "500": {
  4946. "description": "Internal Server Error",
  4947. "schema": {
  4948. "$ref": "#/definitions/app.Response"
  4949. }
  4950. }
  4951. }
  4952. }
  4953. },
  4954. "/Erms3/QuerySpotContractDetail": {
  4955. "get": {
  4956. "security": [
  4957. {
  4958. "ApiKeyAuth": []
  4959. }
  4960. ],
  4961. "produces": [
  4962. "application/json"
  4963. ],
  4964. "tags": [
  4965. "风险管理v3"
  4966. ],
  4967. "summary": "查询合同详细信息",
  4968. "parameters": [
  4969. {
  4970. "type": "string",
  4971. "description": "资金账号ID列表,用逗号分隔",
  4972. "name": "accountids",
  4973. "in": "query",
  4974. "required": true
  4975. },
  4976. {
  4977. "type": "integer",
  4978. "description": "合同类型,1为采购合同 -1为销售合同",
  4979. "name": "contracttype",
  4980. "in": "query",
  4981. "required": true
  4982. },
  4983. {
  4984. "type": "integer",
  4985. "description": "合同模式,1为普通合同 2为回购销售合同",
  4986. "name": "contractmode",
  4987. "in": "query",
  4988. "required": true
  4989. },
  4990. {
  4991. "type": "integer",
  4992. "description": "状态,0为履约中 1为已完成",
  4993. "name": "status",
  4994. "in": "query",
  4995. "required": true
  4996. }
  4997. ],
  4998. "responses": {
  4999. "200": {
  5000. "description": "OK",
  5001. "schema": {
  5002. "type": "array",
  5003. "items": {
  5004. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5005. }
  5006. }
  5007. },
  5008. "500": {
  5009. "description": "Internal Server Error",
  5010. "schema": {
  5011. "$ref": "#/definitions/app.Response"
  5012. }
  5013. }
  5014. }
  5015. }
  5016. },
  5017. "/Erms3/QueryUserInfoApplies": {
  5018. "get": {
  5019. "security": [
  5020. {
  5021. "ApiKeyAuth": []
  5022. }
  5023. ],
  5024. "produces": [
  5025. "application/json"
  5026. ],
  5027. "tags": [
  5028. "风险管理v3"
  5029. ],
  5030. "summary": "客户申请信息查询",
  5031. "parameters": [
  5032. {
  5033. "type": "integer",
  5034. "description": "页码",
  5035. "name": "page",
  5036. "in": "query"
  5037. },
  5038. {
  5039. "type": "integer",
  5040. "description": "每页条数",
  5041. "name": "pagesize",
  5042. "in": "query"
  5043. },
  5044. {
  5045. "type": "string",
  5046. "description": "客户名称,支持模糊查询",
  5047. "name": "userName",
  5048. "in": "query"
  5049. }
  5050. ],
  5051. "responses": {
  5052. "200": {
  5053. "description": "OK",
  5054. "schema": {
  5055. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5056. }
  5057. },
  5058. "500": {
  5059. "description": "Internal Server Error",
  5060. "schema": {
  5061. "$ref": "#/definitions/app.Response"
  5062. }
  5063. }
  5064. }
  5065. }
  5066. },
  5067. "/Erms3/QueryUserInfos": {
  5068. "get": {
  5069. "security": [
  5070. {
  5071. "ApiKeyAuth": []
  5072. }
  5073. ],
  5074. "produces": [
  5075. "application/json"
  5076. ],
  5077. "tags": [
  5078. "风险管理v3"
  5079. ],
  5080. "summary": "客户信息查询",
  5081. "parameters": [
  5082. {
  5083. "type": "integer",
  5084. "description": "页码",
  5085. "name": "page",
  5086. "in": "query"
  5087. },
  5088. {
  5089. "type": "integer",
  5090. "description": "每页条数",
  5091. "name": "pagesize",
  5092. "in": "query"
  5093. },
  5094. {
  5095. "type": "string",
  5096. "description": "客户名称,支持模糊查询",
  5097. "name": "userName",
  5098. "in": "query"
  5099. }
  5100. ],
  5101. "responses": {
  5102. "200": {
  5103. "description": "OK",
  5104. "schema": {
  5105. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5106. }
  5107. },
  5108. "500": {
  5109. "description": "Internal Server Error",
  5110. "schema": {
  5111. "$ref": "#/definitions/app.Response"
  5112. }
  5113. }
  5114. }
  5115. }
  5116. },
  5117. "/HSBY/GetHsbyMyCount": {
  5118. "get": {
  5119. "security": [
  5120. {
  5121. "ApiKeyAuth": []
  5122. }
  5123. ],
  5124. "description": "说明: 不包括已完成的数量。",
  5125. "produces": [
  5126. "application/json"
  5127. ],
  5128. "tags": [
  5129. "定制【海商报业】"
  5130. ],
  5131. "summary": "获取我的订单与包裹数量",
  5132. "parameters": [
  5133. {
  5134. "type": "string",
  5135. "description": "资金账户列表,格式:1,2,3",
  5136. "name": "accountIDs",
  5137. "in": "query",
  5138. "required": true
  5139. }
  5140. ],
  5141. "responses": {
  5142. "200": {
  5143. "description": "OK",
  5144. "schema": {
  5145. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5146. }
  5147. },
  5148. "500": {
  5149. "description": "Internal Server Error",
  5150. "schema": {
  5151. "$ref": "#/definitions/app.Response"
  5152. }
  5153. }
  5154. }
  5155. }
  5156. },
  5157. "/HSBY/QueryClientFixedADConfigs": {
  5158. "get": {
  5159. "security": [
  5160. {
  5161. "ApiKeyAuth": []
  5162. }
  5163. ],
  5164. "produces": [
  5165. "application/json"
  5166. ],
  5167. "tags": [
  5168. "定制【海商报业】"
  5169. ],
  5170. "summary": "获取终端固定广告配置",
  5171. "responses": {
  5172. "200": {
  5173. "description": "OK",
  5174. "schema": {
  5175. "$ref": "#/definitions/models.Clientfixedadconfig"
  5176. }
  5177. },
  5178. "500": {
  5179. "description": "Internal Server Error",
  5180. "schema": {
  5181. "$ref": "#/definitions/app.Response"
  5182. }
  5183. }
  5184. }
  5185. }
  5186. },
  5187. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5188. "get": {
  5189. "security": [
  5190. {
  5191. "ApiKeyAuth": []
  5192. }
  5193. ],
  5194. "produces": [
  5195. "application/json"
  5196. ],
  5197. "tags": [
  5198. "定制【海商报业】"
  5199. ],
  5200. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5201. "parameters": [
  5202. {
  5203. "type": "integer",
  5204. "description": "页码",
  5205. "name": "page",
  5206. "in": "query"
  5207. },
  5208. {
  5209. "type": "integer",
  5210. "description": "每页条数",
  5211. "name": "pagesize",
  5212. "in": "query"
  5213. },
  5214. {
  5215. "type": "string",
  5216. "description": "资金账户列表,格式:1,2,3",
  5217. "name": "accountIDs",
  5218. "in": "query",
  5219. "required": true
  5220. }
  5221. ],
  5222. "responses": {
  5223. "200": {
  5224. "description": "OK",
  5225. "schema": {
  5226. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5227. }
  5228. },
  5229. "500": {
  5230. "description": "Internal Server Error",
  5231. "schema": {
  5232. "$ref": "#/definitions/app.Response"
  5233. }
  5234. }
  5235. }
  5236. }
  5237. },
  5238. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5239. "get": {
  5240. "security": [
  5241. {
  5242. "ApiKeyAuth": []
  5243. }
  5244. ],
  5245. "description": "说明:查询结果已按委托价格和委托时间排序",
  5246. "produces": [
  5247. "application/json"
  5248. ],
  5249. "tags": [
  5250. "定制【海商报业】"
  5251. ],
  5252. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5253. "parameters": [
  5254. {
  5255. "type": "integer",
  5256. "description": "商品ID",
  5257. "name": "goodsID",
  5258. "in": "query",
  5259. "required": true
  5260. },
  5261. {
  5262. "type": "string",
  5263. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5264. "name": "accountIDs",
  5265. "in": "query"
  5266. },
  5267. {
  5268. "type": "integer",
  5269. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5270. "name": "buyOrSell",
  5271. "in": "query"
  5272. },
  5273. {
  5274. "type": "number",
  5275. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5276. "name": "price",
  5277. "in": "query"
  5278. },
  5279. {
  5280. "type": "integer",
  5281. "description": "档位,不传则默认为3档",
  5282. "name": "speed",
  5283. "in": "query"
  5284. }
  5285. ],
  5286. "responses": {
  5287. "200": {
  5288. "description": "OK",
  5289. "schema": {
  5290. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5291. }
  5292. },
  5293. "500": {
  5294. "description": "Internal Server Error",
  5295. "schema": {
  5296. "$ref": "#/definitions/app.Response"
  5297. }
  5298. }
  5299. }
  5300. }
  5301. },
  5302. "/HSBY/QueryHsbyListingGoodsDetail": {
  5303. "get": {
  5304. "security": [
  5305. {
  5306. "ApiKeyAuth": []
  5307. }
  5308. ],
  5309. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5310. "produces": [
  5311. "application/json"
  5312. ],
  5313. "tags": [
  5314. "定制【海商报业】"
  5315. ],
  5316. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5317. "parameters": [
  5318. {
  5319. "type": "integer",
  5320. "description": "商品ID",
  5321. "name": "goodsID",
  5322. "in": "query",
  5323. "required": true
  5324. },
  5325. {
  5326. "type": "integer",
  5327. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5328. "name": "accountID",
  5329. "in": "query"
  5330. }
  5331. ],
  5332. "responses": {
  5333. "200": {
  5334. "description": "OK",
  5335. "schema": {
  5336. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5337. }
  5338. },
  5339. "500": {
  5340. "description": "Internal Server Error",
  5341. "schema": {
  5342. "$ref": "#/definitions/app.Response"
  5343. }
  5344. }
  5345. }
  5346. }
  5347. },
  5348. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5349. "get": {
  5350. "security": [
  5351. {
  5352. "ApiKeyAuth": []
  5353. }
  5354. ],
  5355. "produces": [
  5356. "application/json"
  5357. ],
  5358. "tags": [
  5359. "定制【海商报业】"
  5360. ],
  5361. "summary": "查询三级市场(商城)商品信息详情",
  5362. "parameters": [
  5363. {
  5364. "type": "integer",
  5365. "description": "委托单号",
  5366. "name": "orderID",
  5367. "in": "query",
  5368. "required": true
  5369. },
  5370. {
  5371. "type": "integer",
  5372. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5373. "name": "accountID",
  5374. "in": "query"
  5375. }
  5376. ],
  5377. "responses": {
  5378. "200": {
  5379. "description": "OK",
  5380. "schema": {
  5381. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5382. }
  5383. },
  5384. "500": {
  5385. "description": "Internal Server Error",
  5386. "schema": {
  5387. "$ref": "#/definitions/app.Response"
  5388. }
  5389. }
  5390. }
  5391. }
  5392. },
  5393. "/HSBY/QueryHsbyMarketGoodses": {
  5394. "get": {
  5395. "security": [
  5396. {
  5397. "ApiKeyAuth": []
  5398. }
  5399. ],
  5400. "produces": [
  5401. "application/json"
  5402. ],
  5403. "tags": [
  5404. "定制【海商报业】"
  5405. ],
  5406. "summary": "查询特卖商品列表(三级商城)",
  5407. "parameters": [
  5408. {
  5409. "type": "integer",
  5410. "description": "页码",
  5411. "name": "page",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "每页条数",
  5417. "name": "pagesize",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "string",
  5422. "description": "市场ID列表,格式:1,2,3",
  5423. "name": "marketIDs",
  5424. "in": "query",
  5425. "required": true
  5426. },
  5427. {
  5428. "type": "integer",
  5429. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5430. "name": "accountID",
  5431. "in": "query",
  5432. "required": true
  5433. },
  5434. {
  5435. "type": "integer",
  5436. "description": "类别ID",
  5437. "name": "categoryID",
  5438. "in": "query"
  5439. },
  5440. {
  5441. "type": "string",
  5442. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5443. "name": "goodsIDs",
  5444. "in": "query"
  5445. },
  5446. {
  5447. "type": "integer",
  5448. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5449. "name": "couponTypeID",
  5450. "in": "query"
  5451. }
  5452. ],
  5453. "responses": {
  5454. "200": {
  5455. "description": "OK",
  5456. "schema": {
  5457. "$ref": "#/definitions/models.HsbyMarketGoods"
  5458. }
  5459. },
  5460. "500": {
  5461. "description": "Internal Server Error",
  5462. "schema": {
  5463. "$ref": "#/definitions/app.Response"
  5464. }
  5465. }
  5466. }
  5467. }
  5468. },
  5469. "/HSBY/QueryHsbyMarkets": {
  5470. "get": {
  5471. "security": [
  5472. {
  5473. "ApiKeyAuth": []
  5474. }
  5475. ],
  5476. "produces": [
  5477. "application/json"
  5478. ],
  5479. "tags": [
  5480. "定制【海商报业】"
  5481. ],
  5482. "summary": "查询海商报业相关市场信息",
  5483. "responses": {
  5484. "200": {
  5485. "description": "OK",
  5486. "schema": {
  5487. "$ref": "#/definitions/models.HsbyMarketInfo"
  5488. }
  5489. },
  5490. "500": {
  5491. "description": "Internal Server Error",
  5492. "schema": {
  5493. "$ref": "#/definitions/app.Response"
  5494. }
  5495. }
  5496. }
  5497. }
  5498. },
  5499. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5500. "get": {
  5501. "security": [
  5502. {
  5503. "ApiKeyAuth": []
  5504. }
  5505. ],
  5506. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5507. "produces": [
  5508. "application/json"
  5509. ],
  5510. "tags": [
  5511. "定制【海商报业】"
  5512. ],
  5513. "summary": "查询“我的订单”信息",
  5514. "parameters": [
  5515. {
  5516. "type": "string",
  5517. "description": "资金账户列表,格式:1,2,3",
  5518. "name": "accountIDs",
  5519. "in": "query",
  5520. "required": true
  5521. }
  5522. ],
  5523. "responses": {
  5524. "200": {
  5525. "description": "OK",
  5526. "schema": {
  5527. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5528. }
  5529. },
  5530. "500": {
  5531. "description": "Internal Server Error",
  5532. "schema": {
  5533. "$ref": "#/definitions/app.Response"
  5534. }
  5535. }
  5536. }
  5537. }
  5538. },
  5539. "/HSBY/QueryHsbyMyGoods": {
  5540. "get": {
  5541. "security": [
  5542. {
  5543. "ApiKeyAuth": []
  5544. }
  5545. ],
  5546. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5547. "produces": [
  5548. "application/json"
  5549. ],
  5550. "tags": [
  5551. "定制【海商报业】"
  5552. ],
  5553. "summary": "查询“我的商品”信息",
  5554. "parameters": [
  5555. {
  5556. "type": "string",
  5557. "description": "资金账户列表,格式:1,2,3",
  5558. "name": "accountIDs",
  5559. "in": "query",
  5560. "required": true
  5561. }
  5562. ],
  5563. "responses": {
  5564. "200": {
  5565. "description": "OK",
  5566. "schema": {
  5567. "$ref": "#/definitions/models.HsbyMyGoods"
  5568. }
  5569. },
  5570. "500": {
  5571. "description": "Internal Server Error",
  5572. "schema": {
  5573. "$ref": "#/definitions/app.Response"
  5574. }
  5575. }
  5576. }
  5577. }
  5578. },
  5579. "/HSBY/QueryHsbyMyPackages": {
  5580. "get": {
  5581. "security": [
  5582. {
  5583. "ApiKeyAuth": []
  5584. }
  5585. ],
  5586. "produces": [
  5587. "application/json"
  5588. ],
  5589. "tags": [
  5590. "定制【海商报业】"
  5591. ],
  5592. "summary": "查询我的包裹信息",
  5593. "parameters": [
  5594. {
  5595. "type": "string",
  5596. "description": "资金账户列表,格式:1,2,3",
  5597. "name": "accountIDs",
  5598. "in": "query",
  5599. "required": true
  5600. },
  5601. {
  5602. "type": "integer",
  5603. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5604. "name": "takeOrderStatus",
  5605. "in": "query"
  5606. }
  5607. ],
  5608. "responses": {
  5609. "200": {
  5610. "description": "OK",
  5611. "schema": {
  5612. "$ref": "#/definitions/models.HsbyMyPackage"
  5613. }
  5614. },
  5615. "500": {
  5616. "description": "Internal Server Error",
  5617. "schema": {
  5618. "$ref": "#/definitions/app.Response"
  5619. }
  5620. }
  5621. }
  5622. }
  5623. },
  5624. "/HSBY/QueryHsbyPreGoodsDetail": {
  5625. "get": {
  5626. "security": [
  5627. {
  5628. "ApiKeyAuth": []
  5629. }
  5630. ],
  5631. "produces": [
  5632. "application/json"
  5633. ],
  5634. "tags": [
  5635. "定制【海商报业】"
  5636. ],
  5637. "summary": "查询一级市场(预售)商品信息详情",
  5638. "parameters": [
  5639. {
  5640. "type": "integer",
  5641. "description": "商品ID",
  5642. "name": "goodsID",
  5643. "in": "query",
  5644. "required": true
  5645. },
  5646. {
  5647. "type": "integer",
  5648. "description": "资金账户,主要用于获取预售商品购买上限",
  5649. "name": "accountID",
  5650. "in": "query"
  5651. }
  5652. ],
  5653. "responses": {
  5654. "200": {
  5655. "description": "OK",
  5656. "schema": {
  5657. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5658. }
  5659. },
  5660. "500": {
  5661. "description": "Internal Server Error",
  5662. "schema": {
  5663. "$ref": "#/definitions/app.Response"
  5664. }
  5665. }
  5666. }
  5667. }
  5668. },
  5669. "/HSBY/QueryHsbyPreGoodses": {
  5670. "get": {
  5671. "security": [
  5672. {
  5673. "ApiKeyAuth": []
  5674. }
  5675. ],
  5676. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5677. "produces": [
  5678. "application/json"
  5679. ],
  5680. "tags": [
  5681. "定制【海商报业】"
  5682. ],
  5683. "summary": "查询新品上市商品列表(一级市场预售)",
  5684. "parameters": [
  5685. {
  5686. "type": "integer",
  5687. "description": "页码",
  5688. "name": "page",
  5689. "in": "query"
  5690. },
  5691. {
  5692. "type": "integer",
  5693. "description": "每页条数",
  5694. "name": "pagesize",
  5695. "in": "query"
  5696. },
  5697. {
  5698. "type": "string",
  5699. "description": "市场ID列表,格式:1,2,3",
  5700. "name": "marketIDs",
  5701. "in": "query",
  5702. "required": true
  5703. },
  5704. {
  5705. "type": "integer",
  5706. "description": "目的地(省)ID",
  5707. "name": "descProvinceID",
  5708. "in": "query"
  5709. },
  5710. {
  5711. "type": "integer",
  5712. "description": "目的地(市)ID",
  5713. "name": "descCityID",
  5714. "in": "query"
  5715. }
  5716. ],
  5717. "responses": {
  5718. "200": {
  5719. "description": "OK",
  5720. "schema": {
  5721. "$ref": "#/definitions/models.HsbyPreGoods"
  5722. }
  5723. },
  5724. "500": {
  5725. "description": "Internal Server Error",
  5726. "schema": {
  5727. "$ref": "#/definitions/app.Response"
  5728. }
  5729. }
  5730. }
  5731. }
  5732. },
  5733. "/HSBY/QueryHsbySellMyDetails": {
  5734. "get": {
  5735. "security": [
  5736. {
  5737. "ApiKeyAuth": []
  5738. }
  5739. ],
  5740. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5741. "produces": [
  5742. "application/json"
  5743. ],
  5744. "tags": [
  5745. "定制【海商报业】"
  5746. ],
  5747. "summary": "查询\"我的闲置\"单据信息",
  5748. "parameters": [
  5749. {
  5750. "type": "integer",
  5751. "description": "页码",
  5752. "name": "page",
  5753. "in": "query"
  5754. },
  5755. {
  5756. "type": "integer",
  5757. "description": "每页条数",
  5758. "name": "pagesize",
  5759. "in": "query"
  5760. },
  5761. {
  5762. "type": "string",
  5763. "description": "资金账户列表,格式:1,2,3",
  5764. "name": "accountIDs",
  5765. "in": "query",
  5766. "required": true
  5767. },
  5768. {
  5769. "type": "integer",
  5770. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5771. "name": "orderType",
  5772. "in": "query"
  5773. }
  5774. ],
  5775. "responses": {
  5776. "200": {
  5777. "description": "OK",
  5778. "schema": {
  5779. "$ref": "#/definitions/models.HsbySellMyDetail"
  5780. }
  5781. },
  5782. "500": {
  5783. "description": "Internal Server Error",
  5784. "schema": {
  5785. "$ref": "#/definitions/app.Response"
  5786. }
  5787. }
  5788. }
  5789. }
  5790. },
  5791. "/HSBY/QueryHsbyTopGoodses": {
  5792. "get": {
  5793. "security": [
  5794. {
  5795. "ApiKeyAuth": []
  5796. }
  5797. ],
  5798. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5799. "produces": [
  5800. "application/json"
  5801. ],
  5802. "tags": [
  5803. "定制【海商报业】"
  5804. ],
  5805. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5806. "parameters": [
  5807. {
  5808. "type": "integer",
  5809. "description": "页码",
  5810. "name": "page",
  5811. "in": "query"
  5812. },
  5813. {
  5814. "type": "integer",
  5815. "description": "每页条数",
  5816. "name": "pagesize",
  5817. "in": "query"
  5818. },
  5819. {
  5820. "type": "string",
  5821. "description": "市场ID列表,格式:1,2,3",
  5822. "name": "marketIDs",
  5823. "in": "query",
  5824. "required": true
  5825. },
  5826. {
  5827. "type": "integer",
  5828. "description": "目的地(省)ID",
  5829. "name": "descProvinceID",
  5830. "in": "query"
  5831. },
  5832. {
  5833. "type": "integer",
  5834. "description": "目的地(市)ID",
  5835. "name": "descCityID",
  5836. "in": "query"
  5837. }
  5838. ],
  5839. "responses": {
  5840. "200": {
  5841. "description": "OK",
  5842. "schema": {
  5843. "$ref": "#/definitions/models.HsbyTopGoods"
  5844. }
  5845. },
  5846. "500": {
  5847. "description": "Internal Server Error",
  5848. "schema": {
  5849. "$ref": "#/definitions/app.Response"
  5850. }
  5851. }
  5852. }
  5853. }
  5854. },
  5855. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5856. "get": {
  5857. "security": [
  5858. {
  5859. "ApiKeyAuth": []
  5860. }
  5861. ],
  5862. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5863. "produces": [
  5864. "application/json"
  5865. ],
  5866. "tags": [
  5867. "定制【海商报业】"
  5868. ],
  5869. "summary": "查询游客三级市场(商城)商品信息详情",
  5870. "parameters": [
  5871. {
  5872. "type": "integer",
  5873. "description": "商品ID",
  5874. "name": "goodsID",
  5875. "in": "query",
  5876. "required": true
  5877. }
  5878. ],
  5879. "responses": {
  5880. "200": {
  5881. "description": "OK",
  5882. "schema": {
  5883. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5884. }
  5885. },
  5886. "500": {
  5887. "description": "Internal Server Error",
  5888. "schema": {
  5889. "$ref": "#/definitions/app.Response"
  5890. }
  5891. }
  5892. }
  5893. }
  5894. },
  5895. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5896. "get": {
  5897. "security": [
  5898. {
  5899. "ApiKeyAuth": []
  5900. }
  5901. ],
  5902. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5903. "produces": [
  5904. "application/json"
  5905. ],
  5906. "tags": [
  5907. "定制【海商报业】"
  5908. ],
  5909. "summary": "查询游客特卖商品列表(三级商城)",
  5910. "parameters": [
  5911. {
  5912. "type": "integer",
  5913. "description": "页码",
  5914. "name": "page",
  5915. "in": "query"
  5916. },
  5917. {
  5918. "type": "integer",
  5919. "description": "每页条数",
  5920. "name": "pagesize",
  5921. "in": "query"
  5922. },
  5923. {
  5924. "type": "string",
  5925. "description": "市场ID列表,格式:1,2,3",
  5926. "name": "marketIDs",
  5927. "in": "query",
  5928. "required": true
  5929. },
  5930. {
  5931. "type": "integer",
  5932. "description": "类别ID",
  5933. "name": "categoryID",
  5934. "in": "query"
  5935. },
  5936. {
  5937. "type": "string",
  5938. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5939. "name": "goodsIDs",
  5940. "in": "query"
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "$ref": "#/definitions/models.HsbyMarketGoods"
  5948. }
  5949. },
  5950. "500": {
  5951. "description": "Internal Server Error",
  5952. "schema": {
  5953. "$ref": "#/definitions/app.Response"
  5954. }
  5955. }
  5956. }
  5957. }
  5958. },
  5959. "/HSBY/QueryMyCollectionOrders": {
  5960. "get": {
  5961. "security": [
  5962. {
  5963. "ApiKeyAuth": []
  5964. }
  5965. ],
  5966. "produces": [
  5967. "application/json"
  5968. ],
  5969. "tags": [
  5970. "定制【海商报业】"
  5971. ],
  5972. "summary": "我的闲置中收款信息查询",
  5973. "parameters": [
  5974. {
  5975. "type": "integer",
  5976. "description": "页码",
  5977. "name": "page",
  5978. "in": "query"
  5979. },
  5980. {
  5981. "type": "integer",
  5982. "description": "每页条数",
  5983. "name": "pagesize",
  5984. "in": "query"
  5985. },
  5986. {
  5987. "type": "string",
  5988. "description": "资金账户,格式:1,2,3",
  5989. "name": "accountIDs",
  5990. "in": "query",
  5991. "required": true
  5992. }
  5993. ],
  5994. "responses": {
  5995. "200": {
  5996. "description": "OK",
  5997. "schema": {
  5998. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5999. }
  6000. },
  6001. "500": {
  6002. "description": "Internal Server Error",
  6003. "schema": {
  6004. "$ref": "#/definitions/app.Response"
  6005. }
  6006. }
  6007. }
  6008. }
  6009. },
  6010. "/HSBY/QueryMyCouponHolds": {
  6011. "get": {
  6012. "security": [
  6013. {
  6014. "ApiKeyAuth": []
  6015. }
  6016. ],
  6017. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6018. "produces": [
  6019. "application/json"
  6020. ],
  6021. "tags": [
  6022. "定制【海商报业】"
  6023. ],
  6024. "summary": "我的优惠卷持仓查询",
  6025. "parameters": [
  6026. {
  6027. "type": "string",
  6028. "description": "资金账户列表,格式:1,2,3",
  6029. "name": "accountIDs",
  6030. "in": "query",
  6031. "required": true
  6032. },
  6033. {
  6034. "type": "string",
  6035. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6036. "name": "holdStatus",
  6037. "in": "query"
  6038. }
  6039. ],
  6040. "responses": {
  6041. "200": {
  6042. "description": "OK",
  6043. "schema": {
  6044. "$ref": "#/definitions/models.MyCouponHold"
  6045. }
  6046. },
  6047. "500": {
  6048. "description": "Internal Server Error",
  6049. "schema": {
  6050. "$ref": "#/definitions/app.Response"
  6051. }
  6052. }
  6053. }
  6054. }
  6055. },
  6056. "/HSBY/QueryMyCoupons": {
  6057. "get": {
  6058. "security": [
  6059. {
  6060. "ApiKeyAuth": []
  6061. }
  6062. ],
  6063. "produces": [
  6064. "application/json"
  6065. ],
  6066. "tags": [
  6067. "定制【海商报业】"
  6068. ],
  6069. "summary": "我的优惠卷查询",
  6070. "parameters": [
  6071. {
  6072. "type": "string",
  6073. "description": "资金账户列表,格式:1,2,3",
  6074. "name": "accountIDs",
  6075. "in": "query",
  6076. "required": true
  6077. },
  6078. {
  6079. "type": "integer",
  6080. "description": "商品ID, 一般与sellUserID配套传入",
  6081. "name": "goodsID",
  6082. "in": "query"
  6083. },
  6084. {
  6085. "type": "integer",
  6086. "description": "卖方UserID",
  6087. "name": "sellUserID",
  6088. "in": "query"
  6089. }
  6090. ],
  6091. "responses": {
  6092. "200": {
  6093. "description": "OK",
  6094. "schema": {
  6095. "$ref": "#/definitions/models.MyCoupon"
  6096. }
  6097. },
  6098. "500": {
  6099. "description": "Internal Server Error",
  6100. "schema": {
  6101. "$ref": "#/definitions/app.Response"
  6102. }
  6103. }
  6104. }
  6105. }
  6106. },
  6107. "/HSBY/QueryMyPayOrders": {
  6108. "get": {
  6109. "security": [
  6110. {
  6111. "ApiKeyAuth": []
  6112. }
  6113. ],
  6114. "produces": [
  6115. "application/json"
  6116. ],
  6117. "tags": [
  6118. "定制【海商报业】"
  6119. ],
  6120. "summary": "获取我的订单中待付款信息",
  6121. "parameters": [
  6122. {
  6123. "type": "integer",
  6124. "description": "页码",
  6125. "name": "page",
  6126. "in": "query"
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "每页条数",
  6131. "name": "pagesize",
  6132. "in": "query"
  6133. },
  6134. {
  6135. "type": "string",
  6136. "description": "资金账户列表,格式:1,2,3",
  6137. "name": "accountIDs",
  6138. "in": "query",
  6139. "required": true
  6140. },
  6141. {
  6142. "type": "integer",
  6143. "description": "买方委托单号",
  6144. "name": "buyOrderID",
  6145. "in": "query"
  6146. },
  6147. {
  6148. "type": "integer",
  6149. "description": "卖方委托单号",
  6150. "name": "sellOrderID",
  6151. "in": "query"
  6152. }
  6153. ],
  6154. "responses": {
  6155. "200": {
  6156. "description": "OK",
  6157. "schema": {
  6158. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6159. }
  6160. },
  6161. "500": {
  6162. "description": "Internal Server Error",
  6163. "schema": {
  6164. "$ref": "#/definitions/app.Response"
  6165. }
  6166. }
  6167. }
  6168. }
  6169. },
  6170. "/HSBY/QueryMyUsedCoupon": {
  6171. "get": {
  6172. "security": [
  6173. {
  6174. "ApiKeyAuth": []
  6175. }
  6176. ],
  6177. "produces": [
  6178. "application/json"
  6179. ],
  6180. "tags": [
  6181. "定制【海商报业】"
  6182. ],
  6183. "summary": "已使用优惠卷查询",
  6184. "parameters": [
  6185. {
  6186. "type": "string",
  6187. "description": "资金账户列表,格式:1,2,3",
  6188. "name": "accountIDs",
  6189. "in": "query",
  6190. "required": true
  6191. }
  6192. ],
  6193. "responses": {
  6194. "200": {
  6195. "description": "OK",
  6196. "schema": {
  6197. "$ref": "#/definitions/models.MyUsedCoupon"
  6198. }
  6199. },
  6200. "500": {
  6201. "description": "Internal Server Error",
  6202. "schema": {
  6203. "$ref": "#/definitions/app.Response"
  6204. }
  6205. }
  6206. }
  6207. }
  6208. },
  6209. "/HSBY/QueryProvincesAndCities": {
  6210. "get": {
  6211. "security": [
  6212. {
  6213. "ApiKeyAuth": []
  6214. }
  6215. ],
  6216. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6217. "produces": [
  6218. "application/json"
  6219. ],
  6220. "tags": [
  6221. "定制【海商报业】"
  6222. ],
  6223. "summary": "查询省市信息(不包括区)",
  6224. "parameters": [
  6225. {
  6226. "type": "integer",
  6227. "description": "省ID",
  6228. "name": "provinceID",
  6229. "in": "query"
  6230. }
  6231. ],
  6232. "responses": {
  6233. "200": {
  6234. "description": "OK",
  6235. "schema": {
  6236. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6237. }
  6238. },
  6239. "500": {
  6240. "description": "Internal Server Error",
  6241. "schema": {
  6242. "$ref": "#/definitions/app.Response"
  6243. }
  6244. }
  6245. }
  6246. }
  6247. },
  6248. "/HSBY/SetHsbyMyPackagesStatus": {
  6249. "post": {
  6250. "security": [
  6251. {
  6252. "ApiKeyAuth": []
  6253. }
  6254. ],
  6255. "produces": [
  6256. "application/json"
  6257. ],
  6258. "tags": [
  6259. "定制【海商报业】"
  6260. ],
  6261. "summary": "设置我的包裹已收货状态",
  6262. "parameters": [
  6263. {
  6264. "type": "string",
  6265. "description": "提货单号",
  6266. "name": "takeOrderID",
  6267. "in": "query",
  6268. "required": true
  6269. },
  6270. {
  6271. "type": "integer",
  6272. "description": "资金账号",
  6273. "name": "accountID",
  6274. "in": "query",
  6275. "required": true
  6276. }
  6277. ],
  6278. "responses": {
  6279. "200": {
  6280. "description": "OK",
  6281. "schema": {
  6282. "$ref": "#/definitions/app.Response"
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/Market/QueryGoodsesByLoginID": {
  6295. "get": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "通用市场"
  6306. ],
  6307. "summary": "获取登录账号有权限的商品信息",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "登录账号",
  6312. "name": "loginID",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "string",
  6318. "description": "市场ID列表,格式:1,2,3",
  6319. "name": "marketIDs",
  6320. "in": "query"
  6321. }
  6322. ],
  6323. "responses": {
  6324. "200": {
  6325. "description": "OK",
  6326. "schema": {
  6327. "$ref": "#/definitions/models.Goods"
  6328. }
  6329. },
  6330. "500": {
  6331. "description": "Internal Server Error",
  6332. "schema": {
  6333. "$ref": "#/definitions/app.Response"
  6334. }
  6335. }
  6336. }
  6337. }
  6338. },
  6339. "/Market/QueryMarketRun": {
  6340. "get": {
  6341. "security": [
  6342. {
  6343. "ApiKeyAuth": []
  6344. }
  6345. ],
  6346. "produces": [
  6347. "application/json"
  6348. ],
  6349. "tags": [
  6350. "通用市场"
  6351. ],
  6352. "summary": "查询市场运行信息",
  6353. "parameters": [
  6354. {
  6355. "type": "integer",
  6356. "description": "市场ID,不传返回所有",
  6357. "name": "marketID",
  6358. "in": "query"
  6359. }
  6360. ],
  6361. "responses": {
  6362. "200": {
  6363. "description": "OK",
  6364. "schema": {
  6365. "$ref": "#/definitions/models.Marketrun"
  6366. }
  6367. },
  6368. "500": {
  6369. "description": "Internal Server Error",
  6370. "schema": {
  6371. "$ref": "#/definitions/app.Response"
  6372. }
  6373. }
  6374. }
  6375. }
  6376. },
  6377. "/Market/QueryMarketsByLoginID": {
  6378. "get": {
  6379. "security": [
  6380. {
  6381. "ApiKeyAuth": []
  6382. }
  6383. ],
  6384. "produces": [
  6385. "application/json"
  6386. ],
  6387. "tags": [
  6388. "通用市场"
  6389. ],
  6390. "summary": "获取登录账号有权限的市场信息",
  6391. "parameters": [
  6392. {
  6393. "type": "integer",
  6394. "description": "登录账号",
  6395. "name": "loginID",
  6396. "in": "query",
  6397. "required": true
  6398. }
  6399. ],
  6400. "responses": {
  6401. "200": {
  6402. "description": "OK",
  6403. "schema": {
  6404. "$ref": "#/definitions/models.Market"
  6405. }
  6406. },
  6407. "500": {
  6408. "description": "Internal Server Error",
  6409. "schema": {
  6410. "$ref": "#/definitions/app.Response"
  6411. }
  6412. }
  6413. }
  6414. }
  6415. },
  6416. "/Order/QueryHisTradeDetail": {
  6417. "get": {
  6418. "security": [
  6419. {
  6420. "ApiKeyAuth": []
  6421. }
  6422. ],
  6423. "produces": [
  6424. "application/json"
  6425. ],
  6426. "tags": [
  6427. "通用单据"
  6428. ],
  6429. "summary": "历史成交单查询(合约市场)",
  6430. "parameters": [
  6431. {
  6432. "type": "string",
  6433. "description": "资金账户 - 格式:1,2,3",
  6434. "name": "accountID",
  6435. "in": "query",
  6436. "required": true
  6437. },
  6438. {
  6439. "type": "integer",
  6440. "description": "成交单号",
  6441. "name": "tradeID",
  6442. "in": "query"
  6443. },
  6444. {
  6445. "type": "integer",
  6446. "description": "委托单号",
  6447. "name": "orderID",
  6448. "in": "query"
  6449. },
  6450. {
  6451. "type": "string",
  6452. "description": "交易模式 - 格式:1,2,3",
  6453. "name": "tradeMode",
  6454. "in": "query"
  6455. },
  6456. {
  6457. "type": "integer",
  6458. "description": "委托单据类型",
  6459. "name": "buildType",
  6460. "in": "query"
  6461. },
  6462. {
  6463. "type": "string",
  6464. "description": "成交类别 - 格式:1,2,3",
  6465. "name": "tradeType",
  6466. "in": "query"
  6467. },
  6468. {
  6469. "type": "string",
  6470. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6471. "name": "startDate",
  6472. "in": "query"
  6473. },
  6474. {
  6475. "type": "string",
  6476. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6477. "name": "endDate",
  6478. "in": "query"
  6479. }
  6480. ],
  6481. "responses": {
  6482. "200": {
  6483. "description": "OK",
  6484. "schema": {
  6485. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6486. }
  6487. },
  6488. "500": {
  6489. "description": "Internal Server Error",
  6490. "schema": {
  6491. "$ref": "#/definitions/app.Response"
  6492. }
  6493. }
  6494. }
  6495. }
  6496. },
  6497. "/Order/QueryHisTradeOrderDetail": {
  6498. "get": {
  6499. "security": [
  6500. {
  6501. "ApiKeyAuth": []
  6502. }
  6503. ],
  6504. "produces": [
  6505. "application/json"
  6506. ],
  6507. "tags": [
  6508. "通用单据"
  6509. ],
  6510. "summary": "历史委托单查询请求(合约市场)",
  6511. "parameters": [
  6512. {
  6513. "type": "string",
  6514. "description": "资金账户 - 格式:1,2,3",
  6515. "name": "accountID",
  6516. "in": "query",
  6517. "required": true
  6518. },
  6519. {
  6520. "type": "string",
  6521. "description": "交易模式 - 格式:1,2,3",
  6522. "name": "tradeMode",
  6523. "in": "query"
  6524. },
  6525. {
  6526. "type": "string",
  6527. "description": "委托状态 - 格式:1,2,3",
  6528. "name": "orderStatus",
  6529. "in": "query"
  6530. },
  6531. {
  6532. "type": "integer",
  6533. "description": "委托单号",
  6534. "name": "orderID",
  6535. "in": "query"
  6536. },
  6537. {
  6538. "type": "string",
  6539. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6540. "name": "startDate",
  6541. "in": "query"
  6542. },
  6543. {
  6544. "type": "string",
  6545. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6546. "name": "endDate",
  6547. "in": "query"
  6548. }
  6549. ],
  6550. "responses": {
  6551. "200": {
  6552. "description": "OK",
  6553. "schema": {
  6554. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6555. }
  6556. },
  6557. "500": {
  6558. "description": "Internal Server Error",
  6559. "schema": {
  6560. "$ref": "#/definitions/app.Response"
  6561. }
  6562. }
  6563. }
  6564. }
  6565. },
  6566. "/Order/QueryTradeDetail": {
  6567. "get": {
  6568. "security": [
  6569. {
  6570. "ApiKeyAuth": []
  6571. }
  6572. ],
  6573. "produces": [
  6574. "application/json"
  6575. ],
  6576. "tags": [
  6577. "通用单据"
  6578. ],
  6579. "summary": "成交单查询(合约市场)",
  6580. "parameters": [
  6581. {
  6582. "type": "string",
  6583. "description": "资金账户 - 格式:1,2,3",
  6584. "name": "accountID",
  6585. "in": "query",
  6586. "required": true
  6587. },
  6588. {
  6589. "type": "integer",
  6590. "description": "成交单号",
  6591. "name": "tradeID",
  6592. "in": "query"
  6593. },
  6594. {
  6595. "type": "integer",
  6596. "description": "委托单号",
  6597. "name": "orderID",
  6598. "in": "query"
  6599. },
  6600. {
  6601. "type": "string",
  6602. "description": "交易模式 - 格式:1,2,3",
  6603. "name": "tradeMode",
  6604. "in": "query"
  6605. },
  6606. {
  6607. "type": "integer",
  6608. "description": "委托单据类型",
  6609. "name": "buildType",
  6610. "in": "query"
  6611. },
  6612. {
  6613. "type": "string",
  6614. "description": "成交类别 - 格式:1,2,3",
  6615. "name": "tradeType",
  6616. "in": "query"
  6617. }
  6618. ],
  6619. "responses": {
  6620. "200": {
  6621. "description": "OK",
  6622. "schema": {
  6623. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6624. }
  6625. },
  6626. "500": {
  6627. "description": "Internal Server Error",
  6628. "schema": {
  6629. "$ref": "#/definitions/app.Response"
  6630. }
  6631. }
  6632. }
  6633. }
  6634. },
  6635. "/Order/QueryTradeOrderDetail": {
  6636. "get": {
  6637. "security": [
  6638. {
  6639. "ApiKeyAuth": []
  6640. }
  6641. ],
  6642. "produces": [
  6643. "application/json"
  6644. ],
  6645. "tags": [
  6646. "通用单据"
  6647. ],
  6648. "summary": "委托单查询请求(合约市场)",
  6649. "parameters": [
  6650. {
  6651. "type": "string",
  6652. "description": "资金账户 - 格式:1,2,3",
  6653. "name": "accountID",
  6654. "in": "query",
  6655. "required": true
  6656. },
  6657. {
  6658. "type": "string",
  6659. "description": "交易模式 - 格式:1,2,3",
  6660. "name": "tradeMode",
  6661. "in": "query"
  6662. },
  6663. {
  6664. "type": "string",
  6665. "description": "委托状态 - 格式:1,2,3",
  6666. "name": "orderStatus",
  6667. "in": "query"
  6668. },
  6669. {
  6670. "type": "integer",
  6671. "description": "委托单号",
  6672. "name": "orderID",
  6673. "in": "query"
  6674. }
  6675. ],
  6676. "responses": {
  6677. "200": {
  6678. "description": "OK",
  6679. "schema": {
  6680. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6681. }
  6682. },
  6683. "500": {
  6684. "description": "Internal Server Error",
  6685. "schema": {
  6686. "$ref": "#/definitions/app.Response"
  6687. }
  6688. }
  6689. }
  6690. }
  6691. },
  6692. "/Order/QueryTradePosition": {
  6693. "get": {
  6694. "security": [
  6695. {
  6696. "ApiKeyAuth": []
  6697. }
  6698. ],
  6699. "produces": [
  6700. "application/json"
  6701. ],
  6702. "tags": [
  6703. "通用单据"
  6704. ],
  6705. "summary": "持仓汇总查询(合约市场)",
  6706. "parameters": [
  6707. {
  6708. "type": "string",
  6709. "description": "资金账户 - 格式:1,2,3",
  6710. "name": "accountID",
  6711. "in": "query",
  6712. "required": true
  6713. },
  6714. {
  6715. "type": "string",
  6716. "description": "交易模式 - 格式:1,2,3",
  6717. "name": "tradeMode",
  6718. "in": "query"
  6719. }
  6720. ],
  6721. "responses": {
  6722. "200": {
  6723. "description": "OK",
  6724. "schema": {
  6725. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6726. }
  6727. },
  6728. "500": {
  6729. "description": "Internal Server Error",
  6730. "schema": {
  6731. "$ref": "#/definitions/app.Response"
  6732. }
  6733. }
  6734. }
  6735. }
  6736. },
  6737. "/Quote/QueryHistoryDatas": {
  6738. "get": {
  6739. "security": [
  6740. {
  6741. "ApiKeyAuth": []
  6742. }
  6743. ],
  6744. "produces": [
  6745. "application/json"
  6746. ],
  6747. "tags": [
  6748. "行情服务"
  6749. ],
  6750. "summary": "查询行情历史数据",
  6751. "parameters": [
  6752. {
  6753. "type": "integer",
  6754. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6755. "name": "cycleType",
  6756. "in": "query",
  6757. "required": true
  6758. },
  6759. {
  6760. "type": "string",
  6761. "description": "商品代码",
  6762. "name": "goodsCode",
  6763. "in": "query",
  6764. "required": true
  6765. },
  6766. {
  6767. "type": "string",
  6768. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6769. "name": "startTime",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "string",
  6774. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6775. "name": "endTime",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "integer",
  6780. "description": "条数",
  6781. "name": "count",
  6782. "in": "query"
  6783. },
  6784. {
  6785. "type": "boolean",
  6786. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6787. "name": "isAsc",
  6788. "in": "query"
  6789. }
  6790. ],
  6791. "responses": {
  6792. "200": {
  6793. "description": "OK",
  6794. "schema": {
  6795. "$ref": "#/definitions/quote.HistoryData"
  6796. }
  6797. },
  6798. "500": {
  6799. "description": "Internal Server Error",
  6800. "schema": {
  6801. "$ref": "#/definitions/app.Response"
  6802. }
  6803. }
  6804. }
  6805. }
  6806. },
  6807. "/Quote/QueryHistoryTikDatas": {
  6808. "get": {
  6809. "security": [
  6810. {
  6811. "ApiKeyAuth": []
  6812. }
  6813. ],
  6814. "produces": [
  6815. "application/json"
  6816. ],
  6817. "tags": [
  6818. "行情服务"
  6819. ],
  6820. "summary": "查询行情Tik数据",
  6821. "parameters": [
  6822. {
  6823. "type": "string",
  6824. "description": "商品代码",
  6825. "name": "goodsCode",
  6826. "in": "query",
  6827. "required": true
  6828. },
  6829. {
  6830. "type": "string",
  6831. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6832. "name": "startTime",
  6833. "in": "query"
  6834. },
  6835. {
  6836. "type": "string",
  6837. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6838. "name": "endTime",
  6839. "in": "query"
  6840. },
  6841. {
  6842. "type": "integer",
  6843. "description": "条数",
  6844. "name": "count",
  6845. "in": "query"
  6846. },
  6847. {
  6848. "type": "boolean",
  6849. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6850. "name": "isAsc",
  6851. "in": "query"
  6852. }
  6853. ],
  6854. "responses": {
  6855. "200": {
  6856. "description": "OK",
  6857. "schema": {
  6858. "$ref": "#/definitions/quote.HistoryTikData"
  6859. }
  6860. },
  6861. "500": {
  6862. "description": "Internal Server Error",
  6863. "schema": {
  6864. "$ref": "#/definitions/app.Response"
  6865. }
  6866. }
  6867. }
  6868. }
  6869. },
  6870. "/Quote/QueryQuoteDay": {
  6871. "get": {
  6872. "security": [
  6873. {
  6874. "ApiKeyAuth": []
  6875. }
  6876. ],
  6877. "produces": [
  6878. "application/json"
  6879. ],
  6880. "tags": [
  6881. "行情服务"
  6882. ],
  6883. "summary": "获取商品盘面信息",
  6884. "parameters": [
  6885. {
  6886. "type": "string",
  6887. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6888. "name": "goodsCodes",
  6889. "in": "query",
  6890. "required": true
  6891. }
  6892. ],
  6893. "responses": {
  6894. "200": {
  6895. "description": "OK",
  6896. "schema": {
  6897. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6898. }
  6899. },
  6900. "500": {
  6901. "description": "Internal Server Error",
  6902. "schema": {
  6903. "$ref": "#/definitions/app.Response"
  6904. }
  6905. }
  6906. }
  6907. }
  6908. },
  6909. "/Quote/QueryTSData": {
  6910. "get": {
  6911. "security": [
  6912. {
  6913. "ApiKeyAuth": []
  6914. }
  6915. ],
  6916. "produces": [
  6917. "application/json"
  6918. ],
  6919. "tags": [
  6920. "行情服务"
  6921. ],
  6922. "summary": "分时图数据查询",
  6923. "parameters": [
  6924. {
  6925. "type": "string",
  6926. "description": "商品代码",
  6927. "name": "goodsCode",
  6928. "in": "query",
  6929. "required": true
  6930. }
  6931. ],
  6932. "responses": {
  6933. "200": {
  6934. "description": "OK",
  6935. "schema": {
  6936. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6937. }
  6938. },
  6939. "500": {
  6940. "description": "Internal Server Error",
  6941. "schema": {
  6942. "$ref": "#/definitions/app.Response"
  6943. }
  6944. }
  6945. }
  6946. }
  6947. },
  6948. "/SZDZ/QueryConvertConfig": {
  6949. "get": {
  6950. "security": [
  6951. {
  6952. "ApiKeyAuth": []
  6953. }
  6954. ],
  6955. "produces": [
  6956. "application/json"
  6957. ],
  6958. "tags": [
  6959. "定制【尚志大宗】"
  6960. ],
  6961. "summary": "查询交易系统转换设置",
  6962. "parameters": [
  6963. {
  6964. "type": "integer",
  6965. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6966. "name": "convertType",
  6967. "in": "query"
  6968. },
  6969. {
  6970. "type": "string",
  6971. "description": "外部商品代码[JD\\PD]",
  6972. "name": "outerGoodsCode",
  6973. "in": "query"
  6974. },
  6975. {
  6976. "type": "string",
  6977. "description": "内部商品ID列表[交易],格式:1,2,3",
  6978. "name": "innerGoodsIDs",
  6979. "in": "query"
  6980. }
  6981. ],
  6982. "responses": {
  6983. "200": {
  6984. "description": "OK",
  6985. "schema": {
  6986. "$ref": "#/definitions/models.Szdz3convertconfig"
  6987. }
  6988. },
  6989. "500": {
  6990. "description": "Internal Server Error",
  6991. "schema": {
  6992. "$ref": "#/definitions/app.Response"
  6993. }
  6994. }
  6995. }
  6996. }
  6997. },
  6998. "/SZDZ/QueryConvertLog": {
  6999. "get": {
  7000. "security": [
  7001. {
  7002. "ApiKeyAuth": []
  7003. }
  7004. ],
  7005. "produces": [
  7006. "application/json"
  7007. ],
  7008. "tags": [
  7009. "定制【尚志大宗】"
  7010. ],
  7011. "summary": "交易系统转换流水查询",
  7012. "parameters": [
  7013. {
  7014. "type": "string",
  7015. "description": "资金账户 - 格式:1,2,3",
  7016. "name": "accountID",
  7017. "in": "query",
  7018. "required": true
  7019. },
  7020. {
  7021. "type": "string",
  7022. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7023. "name": "startDate",
  7024. "in": "query"
  7025. },
  7026. {
  7027. "type": "string",
  7028. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7029. "name": "endDate",
  7030. "in": "query"
  7031. }
  7032. ],
  7033. "responses": {
  7034. "200": {
  7035. "description": "OK",
  7036. "schema": {
  7037. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7038. }
  7039. },
  7040. "500": {
  7041. "description": "Internal Server Error",
  7042. "schema": {
  7043. "$ref": "#/definitions/app.Response"
  7044. }
  7045. }
  7046. }
  7047. }
  7048. },
  7049. "/SZDZ/QueryGoodsPickup": {
  7050. "get": {
  7051. "security": [
  7052. {
  7053. "ApiKeyAuth": []
  7054. }
  7055. ],
  7056. "produces": [
  7057. "application/json"
  7058. ],
  7059. "tags": [
  7060. "定制【尚志大宗】"
  7061. ],
  7062. "summary": "商品提货单查询",
  7063. "parameters": [
  7064. {
  7065. "type": "string",
  7066. "description": "资金账户 - 格式:1,2,3",
  7067. "name": "accountID",
  7068. "in": "query",
  7069. "required": true
  7070. },
  7071. {
  7072. "type": "integer",
  7073. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7074. "name": "takeOrderStatus",
  7075. "in": "query"
  7076. }
  7077. ],
  7078. "responses": {
  7079. "200": {
  7080. "description": "OK",
  7081. "schema": {
  7082. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7083. }
  7084. },
  7085. "500": {
  7086. "description": "Internal Server Error",
  7087. "schema": {
  7088. "$ref": "#/definitions/app.Response"
  7089. }
  7090. }
  7091. }
  7092. }
  7093. },
  7094. "/SZDZ/QueryRecieptOrder": {
  7095. "get": {
  7096. "security": [
  7097. {
  7098. "ApiKeyAuth": []
  7099. }
  7100. ],
  7101. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "定制【尚志大宗】"
  7107. ],
  7108. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7109. "parameters": [
  7110. {
  7111. "type": "integer",
  7112. "description": "页码",
  7113. "name": "page",
  7114. "in": "query"
  7115. },
  7116. {
  7117. "type": "integer",
  7118. "description": "每页条数",
  7119. "name": "pagesize",
  7120. "in": "query"
  7121. },
  7122. {
  7123. "type": "integer",
  7124. "description": "商品ID",
  7125. "name": "goodsID",
  7126. "in": "query",
  7127. "required": true
  7128. },
  7129. {
  7130. "type": "string",
  7131. "description": "所属账户名称",
  7132. "name": "accountName",
  7133. "in": "query"
  7134. },
  7135. {
  7136. "type": "integer",
  7137. "description": "市场ID",
  7138. "name": "marketID",
  7139. "in": "query"
  7140. },
  7141. {
  7142. "type": "integer",
  7143. "description": "方向 - 0:买 1:卖",
  7144. "name": "buyorsell",
  7145. "in": "query",
  7146. "required": true
  7147. }
  7148. ],
  7149. "responses": {
  7150. "200": {
  7151. "description": "OK",
  7152. "schema": {
  7153. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7154. }
  7155. },
  7156. "500": {
  7157. "description": "Internal Server Error",
  7158. "schema": {
  7159. "$ref": "#/definitions/app.Response"
  7160. }
  7161. }
  7162. }
  7163. }
  7164. },
  7165. "/SZDZ/QuerySZDZTradePosition": {
  7166. "get": {
  7167. "security": [
  7168. {
  7169. "ApiKeyAuth": []
  7170. }
  7171. ],
  7172. "produces": [
  7173. "application/json"
  7174. ],
  7175. "tags": [
  7176. "定制【尚志大宗】"
  7177. ],
  7178. "summary": "持仓汇总查询(尚志大宗)",
  7179. "parameters": [
  7180. {
  7181. "type": "integer",
  7182. "description": "资金账户",
  7183. "name": "accountID",
  7184. "in": "query",
  7185. "required": true
  7186. }
  7187. ],
  7188. "responses": {
  7189. "200": {
  7190. "description": "OK",
  7191. "schema": {
  7192. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7193. }
  7194. },
  7195. "500": {
  7196. "description": "Internal Server Error",
  7197. "schema": {
  7198. "$ref": "#/definitions/app.Response"
  7199. }
  7200. }
  7201. }
  7202. }
  7203. },
  7204. "/SZDZ/SearchWhite": {
  7205. "get": {
  7206. "security": [
  7207. {
  7208. "ApiKeyAuth": []
  7209. }
  7210. ],
  7211. "produces": [
  7212. "application/json"
  7213. ],
  7214. "tags": [
  7215. "定制【尚志大宗】"
  7216. ],
  7217. "summary": "搜索白名单",
  7218. "parameters": [
  7219. {
  7220. "type": "integer",
  7221. "description": "用户ID",
  7222. "name": "userID",
  7223. "in": "query",
  7224. "required": true
  7225. }
  7226. ],
  7227. "responses": {
  7228. "200": {
  7229. "description": "OK",
  7230. "schema": {
  7231. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7232. }
  7233. },
  7234. "500": {
  7235. "description": "Internal Server Error",
  7236. "schema": {
  7237. "$ref": "#/definitions/app.Response"
  7238. }
  7239. }
  7240. }
  7241. }
  7242. },
  7243. "/Search/SearchGoodses": {
  7244. "get": {
  7245. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7246. "produces": [
  7247. "application/json"
  7248. ],
  7249. "tags": [
  7250. "检索服务"
  7251. ],
  7252. "summary": "检索商品信息",
  7253. "parameters": [
  7254. {
  7255. "type": "string",
  7256. "description": "检索内容",
  7257. "name": "content",
  7258. "in": "query",
  7259. "required": true
  7260. },
  7261. {
  7262. "type": "string",
  7263. "description": "交易模式,格式:1,2,3",
  7264. "name": "tradeModes",
  7265. "in": "query"
  7266. }
  7267. ],
  7268. "responses": {
  7269. "200": {
  7270. "description": "OK",
  7271. "schema": {
  7272. "$ref": "#/definitions/models.SearchGoods"
  7273. }
  7274. },
  7275. "500": {
  7276. "description": "Internal Server Error",
  7277. "schema": {
  7278. "$ref": "#/definitions/app.Response"
  7279. }
  7280. }
  7281. }
  7282. }
  7283. },
  7284. "/TaAccount/GetTaAccounts": {
  7285. "get": {
  7286. "security": [
  7287. {
  7288. "ApiKeyAuth": []
  7289. }
  7290. ],
  7291. "produces": [
  7292. "application/json"
  7293. ],
  7294. "tags": [
  7295. "资金账户"
  7296. ],
  7297. "summary": "获取资金账户信息",
  7298. "parameters": [
  7299. {
  7300. "type": "integer",
  7301. "description": "登录账户",
  7302. "name": "loginID",
  7303. "in": "query",
  7304. "required": true
  7305. },
  7306. {
  7307. "type": "integer",
  7308. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7309. "name": "taAccountType",
  7310. "in": "query"
  7311. }
  7312. ],
  7313. "responses": {
  7314. "200": {
  7315. "description": "OK",
  7316. "schema": {
  7317. "$ref": "#/definitions/models.Taaccount"
  7318. }
  7319. },
  7320. "500": {
  7321. "description": "Internal Server Error",
  7322. "schema": {
  7323. "$ref": "#/definitions/app.Response"
  7324. }
  7325. }
  7326. }
  7327. }
  7328. },
  7329. "/TaAccount/QueryAmountLog": {
  7330. "get": {
  7331. "security": [
  7332. {
  7333. "ApiKeyAuth": []
  7334. }
  7335. ],
  7336. "produces": [
  7337. "application/json"
  7338. ],
  7339. "tags": [
  7340. "资金账户"
  7341. ],
  7342. "summary": "资金流水查询(当前)",
  7343. "parameters": [
  7344. {
  7345. "type": "integer",
  7346. "description": "页码",
  7347. "name": "page",
  7348. "in": "query"
  7349. },
  7350. {
  7351. "type": "integer",
  7352. "description": "每页条数",
  7353. "name": "pagesize",
  7354. "in": "query"
  7355. },
  7356. {
  7357. "type": "string",
  7358. "description": "资金账户 - 格式:1,2,3",
  7359. "name": "accountID",
  7360. "in": "query",
  7361. "required": true
  7362. },
  7363. {
  7364. "type": "string",
  7365. "description": "资金操作类型 - 格式:1,2,3",
  7366. "name": "OperateType",
  7367. "in": "query"
  7368. }
  7369. ],
  7370. "responses": {
  7371. "200": {
  7372. "description": "OK",
  7373. "schema": {
  7374. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7375. }
  7376. },
  7377. "500": {
  7378. "description": "Internal Server Error",
  7379. "schema": {
  7380. "$ref": "#/definitions/app.Response"
  7381. }
  7382. }
  7383. }
  7384. }
  7385. },
  7386. "/TaAccount/QueryHisAmountLog": {
  7387. "get": {
  7388. "security": [
  7389. {
  7390. "ApiKeyAuth": []
  7391. }
  7392. ],
  7393. "produces": [
  7394. "application/json"
  7395. ],
  7396. "tags": [
  7397. "资金账户"
  7398. ],
  7399. "summary": "资金流水查询(历史)",
  7400. "parameters": [
  7401. {
  7402. "type": "integer",
  7403. "description": "页码",
  7404. "name": "page",
  7405. "in": "query"
  7406. },
  7407. {
  7408. "type": "integer",
  7409. "description": "每页条数",
  7410. "name": "pagesize",
  7411. "in": "query"
  7412. },
  7413. {
  7414. "type": "string",
  7415. "description": "资金账户 - 格式:1,2,3",
  7416. "name": "accountID",
  7417. "in": "query",
  7418. "required": true
  7419. },
  7420. {
  7421. "type": "string",
  7422. "description": "资金操作类型 - 格式:1,2,3",
  7423. "name": "OperateType",
  7424. "in": "query"
  7425. },
  7426. {
  7427. "type": "string",
  7428. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7429. "name": "startDate",
  7430. "in": "query"
  7431. },
  7432. {
  7433. "type": "string",
  7434. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7435. "name": "endDate",
  7436. "in": "query"
  7437. }
  7438. ],
  7439. "responses": {
  7440. "200": {
  7441. "description": "OK",
  7442. "schema": {
  7443. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7444. }
  7445. },
  7446. "500": {
  7447. "description": "Internal Server Error",
  7448. "schema": {
  7449. "$ref": "#/definitions/app.Response"
  7450. }
  7451. }
  7452. }
  7453. }
  7454. },
  7455. "/Trade/QueryRecieptOrder": {
  7456. "get": {
  7457. "security": [
  7458. {
  7459. "ApiKeyAuth": []
  7460. }
  7461. ],
  7462. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "通用交易"
  7468. ],
  7469. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7470. "parameters": [
  7471. {
  7472. "type": "integer",
  7473. "description": "页码",
  7474. "name": "page",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "integer",
  7479. "description": "每页条数",
  7480. "name": "pagesize",
  7481. "in": "query"
  7482. },
  7483. {
  7484. "type": "integer",
  7485. "description": "商品ID",
  7486. "name": "goodsID",
  7487. "in": "query",
  7488. "required": true
  7489. },
  7490. {
  7491. "type": "string",
  7492. "description": "所属账户名称",
  7493. "name": "accountName",
  7494. "in": "query"
  7495. },
  7496. {
  7497. "type": "integer",
  7498. "description": "市场ID",
  7499. "name": "marketID",
  7500. "in": "query"
  7501. },
  7502. {
  7503. "type": "integer",
  7504. "description": "方向 - 0:买 1:卖",
  7505. "name": "buyorsell",
  7506. "in": "query",
  7507. "required": true
  7508. }
  7509. ],
  7510. "responses": {
  7511. "200": {
  7512. "description": "OK",
  7513. "schema": {
  7514. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7515. }
  7516. },
  7517. "500": {
  7518. "description": "Internal Server Error",
  7519. "schema": {
  7520. "$ref": "#/definitions/app.Response"
  7521. }
  7522. }
  7523. }
  7524. }
  7525. },
  7526. "/User/AddMessageBoard": {
  7527. "post": {
  7528. "security": [
  7529. {
  7530. "ApiKeyAuth": []
  7531. }
  7532. ],
  7533. "produces": [
  7534. "application/json"
  7535. ],
  7536. "tags": [
  7537. "用户信息"
  7538. ],
  7539. "summary": "添加用户留言板信息",
  7540. "parameters": [
  7541. {
  7542. "type": "integer",
  7543. "description": "用户ID",
  7544. "name": "userID",
  7545. "in": "query",
  7546. "required": true
  7547. },
  7548. {
  7549. "type": "string",
  7550. "description": "留言信息",
  7551. "name": "message",
  7552. "in": "query",
  7553. "required": true
  7554. },
  7555. {
  7556. "type": "string",
  7557. "description": "联系电话",
  7558. "name": "contactNum",
  7559. "in": "query",
  7560. "required": true
  7561. }
  7562. ],
  7563. "responses": {
  7564. "200": {
  7565. "description": "OK",
  7566. "schema": {
  7567. "$ref": "#/definitions/app.Response"
  7568. }
  7569. },
  7570. "500": {
  7571. "description": "Internal Server Error",
  7572. "schema": {
  7573. "$ref": "#/definitions/app.Response"
  7574. }
  7575. }
  7576. }
  7577. }
  7578. },
  7579. "/User/AddUserFavoriteGoods": {
  7580. "post": {
  7581. "security": [
  7582. {
  7583. "ApiKeyAuth": []
  7584. }
  7585. ],
  7586. "produces": [
  7587. "application/json"
  7588. ],
  7589. "tags": [
  7590. "用户信息"
  7591. ],
  7592. "summary": "添加用户商品收藏信息",
  7593. "parameters": [
  7594. {
  7595. "type": "integer",
  7596. "description": "用户ID",
  7597. "name": "userID",
  7598. "in": "query",
  7599. "required": true
  7600. },
  7601. {
  7602. "type": "integer",
  7603. "description": "商品ID",
  7604. "name": "goodsID",
  7605. "in": "query",
  7606. "required": true
  7607. }
  7608. ],
  7609. "responses": {
  7610. "200": {
  7611. "description": "OK",
  7612. "schema": {
  7613. "$ref": "#/definitions/app.Response"
  7614. }
  7615. },
  7616. "500": {
  7617. "description": "Internal Server Error",
  7618. "schema": {
  7619. "$ref": "#/definitions/app.Response"
  7620. }
  7621. }
  7622. }
  7623. }
  7624. },
  7625. "/User/GetLoginID": {
  7626. "get": {
  7627. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7628. "produces": [
  7629. "application/json"
  7630. ],
  7631. "tags": [
  7632. "用户信息"
  7633. ],
  7634. "summary": "获取登录ID",
  7635. "parameters": [
  7636. {
  7637. "type": "string",
  7638. "description": "登录代码",
  7639. "name": "username",
  7640. "in": "query",
  7641. "required": true
  7642. }
  7643. ],
  7644. "responses": {
  7645. "200": {
  7646. "description": "OK",
  7647. "schema": {
  7648. "$ref": "#/definitions/app.Response"
  7649. }
  7650. },
  7651. "500": {
  7652. "description": "Internal Server Error",
  7653. "schema": {
  7654. "$ref": "#/definitions/app.Response"
  7655. }
  7656. }
  7657. }
  7658. }
  7659. },
  7660. "/User/GetUserAccount": {
  7661. "get": {
  7662. "security": [
  7663. {
  7664. "ApiKeyAuth": []
  7665. }
  7666. ],
  7667. "produces": [
  7668. "application/json"
  7669. ],
  7670. "tags": [
  7671. "用户信息"
  7672. ],
  7673. "summary": "获取用户账号信息",
  7674. "parameters": [
  7675. {
  7676. "type": "integer",
  7677. "description": "用户ID",
  7678. "name": "userID",
  7679. "in": "query",
  7680. "required": true
  7681. }
  7682. ],
  7683. "responses": {
  7684. "200": {
  7685. "description": "OK",
  7686. "schema": {
  7687. "$ref": "#/definitions/models.Useraccount"
  7688. }
  7689. },
  7690. "500": {
  7691. "description": "Internal Server Error",
  7692. "schema": {
  7693. "$ref": "#/definitions/app.Response"
  7694. }
  7695. }
  7696. }
  7697. }
  7698. },
  7699. "/User/GetUserAuthStatus": {
  7700. "get": {
  7701. "security": [
  7702. {
  7703. "ApiKeyAuth": []
  7704. }
  7705. ],
  7706. "produces": [
  7707. "application/json"
  7708. ],
  7709. "tags": [
  7710. "用户信息"
  7711. ],
  7712. "summary": "获取用户实名认证状态",
  7713. "parameters": [
  7714. {
  7715. "type": "integer",
  7716. "description": "用户ID",
  7717. "name": "userID",
  7718. "in": "query",
  7719. "required": true
  7720. }
  7721. ],
  7722. "responses": {
  7723. "200": {
  7724. "description": "OK",
  7725. "schema": {
  7726. "$ref": "#/definitions/app.Response"
  7727. }
  7728. },
  7729. "500": {
  7730. "description": "Internal Server Error",
  7731. "schema": {
  7732. "$ref": "#/definitions/app.Response"
  7733. }
  7734. }
  7735. }
  7736. }
  7737. },
  7738. "/User/LoginQuery": {
  7739. "get": {
  7740. "security": [
  7741. {
  7742. "ApiKeyAuth": []
  7743. }
  7744. ],
  7745. "produces": [
  7746. "application/json"
  7747. ],
  7748. "tags": [
  7749. "用户信息"
  7750. ],
  7751. "summary": "账户登录后信息查询",
  7752. "parameters": [
  7753. {
  7754. "type": "integer",
  7755. "description": "登录账号",
  7756. "name": "loginID",
  7757. "in": "query",
  7758. "required": true
  7759. }
  7760. ],
  7761. "responses": {
  7762. "200": {
  7763. "description": "OK",
  7764. "schema": {
  7765. "$ref": "#/definitions/user.LoginQueryRsp"
  7766. }
  7767. },
  7768. "500": {
  7769. "description": "Internal Server Error",
  7770. "schema": {
  7771. "$ref": "#/definitions/app.Response"
  7772. }
  7773. }
  7774. }
  7775. }
  7776. },
  7777. "/User/QueryMessageBoard": {
  7778. "get": {
  7779. "security": [
  7780. {
  7781. "ApiKeyAuth": []
  7782. }
  7783. ],
  7784. "produces": [
  7785. "application/json"
  7786. ],
  7787. "tags": [
  7788. "用户信息"
  7789. ],
  7790. "summary": "获取用户留言板信息",
  7791. "parameters": [
  7792. {
  7793. "type": "integer",
  7794. "description": "用户ID",
  7795. "name": "userID",
  7796. "in": "query",
  7797. "required": true
  7798. }
  7799. ],
  7800. "responses": {
  7801. "200": {
  7802. "description": "OK",
  7803. "schema": {
  7804. "$ref": "#/definitions/models.Messageboard"
  7805. }
  7806. },
  7807. "500": {
  7808. "description": "Internal Server Error",
  7809. "schema": {
  7810. "$ref": "#/definitions/app.Response"
  7811. }
  7812. }
  7813. }
  7814. }
  7815. },
  7816. "/User/QueryUserFavoriteGoodses": {
  7817. "get": {
  7818. "security": [
  7819. {
  7820. "ApiKeyAuth": []
  7821. }
  7822. ],
  7823. "produces": [
  7824. "application/json"
  7825. ],
  7826. "tags": [
  7827. "用户信息"
  7828. ],
  7829. "summary": "获取用户商品收藏信息",
  7830. "parameters": [
  7831. {
  7832. "type": "integer",
  7833. "description": "用户ID",
  7834. "name": "userID",
  7835. "in": "query",
  7836. "required": true
  7837. }
  7838. ],
  7839. "responses": {
  7840. "200": {
  7841. "description": "OK",
  7842. "schema": {
  7843. "$ref": "#/definitions/models.Userfavoritegoods"
  7844. }
  7845. },
  7846. "500": {
  7847. "description": "Internal Server Error",
  7848. "schema": {
  7849. "$ref": "#/definitions/app.Response"
  7850. }
  7851. }
  7852. }
  7853. }
  7854. },
  7855. "/User/QueryUserInfo": {
  7856. "get": {
  7857. "security": [
  7858. {
  7859. "ApiKeyAuth": []
  7860. }
  7861. ],
  7862. "produces": [
  7863. "application/json"
  7864. ],
  7865. "tags": [
  7866. "用户信息"
  7867. ],
  7868. "summary": "获取用户信息",
  7869. "parameters": [
  7870. {
  7871. "type": "integer",
  7872. "description": "用户ID",
  7873. "name": "userID",
  7874. "in": "query",
  7875. "required": true
  7876. },
  7877. {
  7878. "type": "boolean",
  7879. "description": "是否解密",
  7880. "name": "isDecrypt",
  7881. "in": "query"
  7882. }
  7883. ],
  7884. "responses": {
  7885. "200": {
  7886. "description": "OK",
  7887. "schema": {
  7888. "$ref": "#/definitions/models.Userinfo"
  7889. }
  7890. },
  7891. "500": {
  7892. "description": "Internal Server Error",
  7893. "schema": {
  7894. "$ref": "#/definitions/app.Response"
  7895. }
  7896. }
  7897. }
  7898. }
  7899. },
  7900. "/User/QueryUserReferNum": {
  7901. "get": {
  7902. "produces": [
  7903. "application/json"
  7904. ],
  7905. "tags": [
  7906. "用户信息"
  7907. ],
  7908. "summary": "获取用户邀请码",
  7909. "parameters": [
  7910. {
  7911. "type": "integer",
  7912. "description": "用户ID",
  7913. "name": "userID",
  7914. "in": "query",
  7915. "required": true
  7916. }
  7917. ],
  7918. "responses": {
  7919. "200": {
  7920. "description": "OK",
  7921. "schema": {
  7922. "$ref": "#/definitions/app.Response"
  7923. }
  7924. },
  7925. "500": {
  7926. "description": "Internal Server Error",
  7927. "schema": {
  7928. "$ref": "#/definitions/app.Response"
  7929. }
  7930. }
  7931. }
  7932. }
  7933. },
  7934. "/User/RemoveUserFavoriteGoods": {
  7935. "post": {
  7936. "security": [
  7937. {
  7938. "ApiKeyAuth": []
  7939. }
  7940. ],
  7941. "produces": [
  7942. "application/json"
  7943. ],
  7944. "tags": [
  7945. "用户信息"
  7946. ],
  7947. "summary": "移除用户商品收藏信息",
  7948. "parameters": [
  7949. {
  7950. "type": "integer",
  7951. "description": "用户ID",
  7952. "name": "userID",
  7953. "in": "query",
  7954. "required": true
  7955. },
  7956. {
  7957. "type": "integer",
  7958. "description": "商品ID",
  7959. "name": "goodsID",
  7960. "in": "query",
  7961. "required": true
  7962. }
  7963. ],
  7964. "responses": {
  7965. "200": {
  7966. "description": "OK",
  7967. "schema": {
  7968. "$ref": "#/definitions/app.Response"
  7969. }
  7970. },
  7971. "500": {
  7972. "description": "Internal Server Error",
  7973. "schema": {
  7974. "$ref": "#/definitions/app.Response"
  7975. }
  7976. }
  7977. }
  7978. }
  7979. },
  7980. "/User/UpdateUserAccountStatus": {
  7981. "post": {
  7982. "security": [
  7983. {
  7984. "ApiKeyAuth": []
  7985. }
  7986. ],
  7987. "produces": [
  7988. "application/json"
  7989. ],
  7990. "tags": [
  7991. "用户信息"
  7992. ],
  7993. "summary": "更新用户状态",
  7994. "parameters": [
  7995. {
  7996. "type": "integer",
  7997. "description": "用户ID",
  7998. "name": "userID",
  7999. "in": "query",
  8000. "required": true
  8001. },
  8002. {
  8003. "type": "integer",
  8004. "description": "账户状态 - 4:正常 6:注销(停用)",
  8005. "name": "accountStatus",
  8006. "in": "query",
  8007. "required": true
  8008. }
  8009. ],
  8010. "responses": {
  8011. "200": {
  8012. "description": "OK",
  8013. "schema": {
  8014. "$ref": "#/definitions/app.Response"
  8015. }
  8016. },
  8017. "500": {
  8018. "description": "Internal Server Error",
  8019. "schema": {
  8020. "$ref": "#/definitions/app.Response"
  8021. }
  8022. }
  8023. }
  8024. }
  8025. },
  8026. "/WRTrade/GetAllDeliveryGoods": {
  8027. "get": {
  8028. "security": [
  8029. {
  8030. "ApiKeyAuth": []
  8031. },
  8032. {
  8033. "ApiKeyAuth": []
  8034. }
  8035. ],
  8036. "produces": [
  8037. "application/json",
  8038. "application/json"
  8039. ],
  8040. "tags": [
  8041. "仓单贸易",
  8042. "仓单贸易"
  8043. ],
  8044. "summary": "获取带仓单分类的种类信息",
  8045. "responses": {
  8046. "200": {
  8047. "description": "OK",
  8048. "schema": {
  8049. "$ref": "#/definitions/app.Response"
  8050. }
  8051. },
  8052. "500": {
  8053. "description": "Internal Server Error",
  8054. "schema": {
  8055. "$ref": "#/definitions/app.Response"
  8056. }
  8057. }
  8058. }
  8059. }
  8060. }
  8061. },
  8062. "definitions": {
  8063. "app.Response": {
  8064. "type": "object",
  8065. "properties": {
  8066. "code": {
  8067. "type": "integer"
  8068. },
  8069. "data": {
  8070. "type": "object"
  8071. },
  8072. "msg": {
  8073. "type": "string"
  8074. },
  8075. "page": {
  8076. "description": "页码",
  8077. "type": "integer"
  8078. },
  8079. "pagesize": {
  8080. "description": "每页条数",
  8081. "type": "integer"
  8082. },
  8083. "total": {
  8084. "description": "总条数",
  8085. "type": "integer"
  8086. }
  8087. }
  8088. },
  8089. "common.ClientMenu": {
  8090. "type": "object",
  8091. "properties": {
  8092. "children": {
  8093. "description": "子菜单列表",
  8094. "type": "array",
  8095. "items": {
  8096. "$ref": "#/definitions/common.ClientMenu"
  8097. }
  8098. },
  8099. "code": {
  8100. "description": "ID",
  8101. "type": "string"
  8102. },
  8103. "isshow": {
  8104. "description": "是否显示",
  8105. "type": "boolean"
  8106. },
  8107. "rulekey": {
  8108. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8109. "type": "string"
  8110. },
  8111. "sort": {
  8112. "description": "排序",
  8113. "type": "integer"
  8114. },
  8115. "title": {
  8116. "description": "标题",
  8117. "type": "string"
  8118. },
  8119. "type": {
  8120. "description": "类型,1:菜单 2:按钮",
  8121. "type": "integer"
  8122. }
  8123. }
  8124. },
  8125. "common.QueryImageConfigsRsp": {
  8126. "type": "object",
  8127. "required": [
  8128. "configid"
  8129. ],
  8130. "properties": {
  8131. "areauserid": {
  8132. "description": "所属机构ID",
  8133. "type": "integer"
  8134. },
  8135. "configid": {
  8136. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8137. "type": "integer"
  8138. },
  8139. "createdate": {
  8140. "description": "创建时间",
  8141. "type": "string"
  8142. },
  8143. "creatorid": {
  8144. "description": "创建人",
  8145. "type": "integer"
  8146. },
  8147. "imagepath": {
  8148. "description": "图片",
  8149. "type": "string"
  8150. },
  8151. "imagetype": {
  8152. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8153. "type": "integer"
  8154. },
  8155. "isshow": {
  8156. "description": "是否展示 - 0:不展示 1:展示",
  8157. "type": "integer"
  8158. },
  8159. "marketid": {
  8160. "description": "市场ID",
  8161. "type": "integer"
  8162. },
  8163. "modifierid": {
  8164. "description": "操作人",
  8165. "type": "integer"
  8166. },
  8167. "sort": {
  8168. "description": "排序",
  8169. "type": "integer"
  8170. },
  8171. "title": {
  8172. "description": "标题",
  8173. "type": "string"
  8174. },
  8175. "trademode": {
  8176. "description": "交易模式",
  8177. "type": "integer"
  8178. },
  8179. "updatedate": {
  8180. "description": "修改时间",
  8181. "type": "string"
  8182. },
  8183. "url": {
  8184. "description": "链接(地址或商品ID)",
  8185. "type": "string"
  8186. },
  8187. "urltype": {
  8188. "description": "链接类型 - 1:直接地址 2:商品ID",
  8189. "type": "integer"
  8190. }
  8191. }
  8192. },
  8193. "common.QueryNoticeRsp": {
  8194. "type": "object",
  8195. "required": [
  8196. "autoid"
  8197. ],
  8198. "properties": {
  8199. "auditoruserid": {
  8200. "description": "审核人",
  8201. "type": "integer"
  8202. },
  8203. "auditremark": {
  8204. "description": "审核备注",
  8205. "type": "string"
  8206. },
  8207. "audittime": {
  8208. "description": "审核日期",
  8209. "type": "string"
  8210. },
  8211. "autoid": {
  8212. "description": "自增ID",
  8213. "type": "integer"
  8214. },
  8215. "content": {
  8216. "description": "内容",
  8217. "type": "string"
  8218. },
  8219. "createtime": {
  8220. "description": "创建时间",
  8221. "type": "string"
  8222. },
  8223. "creatorid": {
  8224. "description": "建仓人",
  8225. "type": "integer"
  8226. },
  8227. "endtime": {
  8228. "description": "结束时间",
  8229. "type": "string"
  8230. },
  8231. "istop": {
  8232. "description": "是否置顶 - 0:不置顶 1:置顶",
  8233. "type": "integer"
  8234. },
  8235. "msgiconurl": {
  8236. "description": "消息图标Url",
  8237. "type": "string"
  8238. },
  8239. "msgtype": {
  8240. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8241. "type": "integer"
  8242. },
  8243. "publisher": {
  8244. "description": "消息发布者",
  8245. "type": "string"
  8246. },
  8247. "readed": {
  8248. "description": "是否已读",
  8249. "type": "boolean"
  8250. },
  8251. "scheduletime": {
  8252. "description": "计划发送时间",
  8253. "type": "string"
  8254. },
  8255. "sendtype": {
  8256. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8257. "type": "integer"
  8258. },
  8259. "sentstatus": {
  8260. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8261. "type": "integer"
  8262. },
  8263. "title": {
  8264. "description": "标题",
  8265. "type": "string"
  8266. },
  8267. "userid": {
  8268. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8269. "type": "integer"
  8270. }
  8271. }
  8272. },
  8273. "common.QueryProvincesAndCitiesRsp": {
  8274. "type": "object",
  8275. "properties": {
  8276. "cities": {
  8277. "description": "市",
  8278. "type": "array",
  8279. "items": {
  8280. "$ref": "#/definitions/models.Division"
  8281. }
  8282. },
  8283. "province": {
  8284. "description": "省",
  8285. "$ref": "#/definitions/models.Division"
  8286. }
  8287. }
  8288. },
  8289. "common.QueryTableDefineRsp": {
  8290. "type": "object",
  8291. "required": [
  8292. "tablekey"
  8293. ],
  8294. "properties": {
  8295. "columns": {
  8296. "description": "列头信息数组",
  8297. "type": "array",
  8298. "items": {
  8299. "$ref": "#/definitions/models.Tablecolumnconfig"
  8300. }
  8301. },
  8302. "remark": {
  8303. "description": "Remark",
  8304. "type": "string"
  8305. },
  8306. "tabelmenu": {
  8307. "description": "列表菜单",
  8308. "type": "string"
  8309. },
  8310. "tablekey": {
  8311. "description": "列表Key",
  8312. "type": "string"
  8313. },
  8314. "tablename": {
  8315. "description": "列表名称",
  8316. "type": "string"
  8317. },
  8318. "tabletype": {
  8319. "description": "列表类型 - 1:管理端 2:终端",
  8320. "type": "integer"
  8321. }
  8322. }
  8323. },
  8324. "common.QueryTraderMenuRsp": {
  8325. "type": "object",
  8326. "properties": {
  8327. "OperationMenu": {
  8328. "description": "功能菜单",
  8329. "type": "array",
  8330. "items": {
  8331. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8332. }
  8333. },
  8334. "QuoteMenu": {
  8335. "description": "报价牌分类菜单",
  8336. "type": "array",
  8337. "items": {
  8338. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8339. }
  8340. }
  8341. }
  8342. },
  8343. "cptrade.Cptradepositioncancel": {
  8344. "type": "object",
  8345. "required": [
  8346. "cancelid"
  8347. ],
  8348. "properties": {
  8349. "accountid": {
  8350. "description": "申请人账户ID",
  8351. "type": "integer"
  8352. },
  8353. "applystatus": {
  8354. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8355. "type": "integer"
  8356. },
  8357. "applytime": {
  8358. "description": "申请时间",
  8359. "type": "string"
  8360. },
  8361. "cancelid": {
  8362. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8363. "type": "integer"
  8364. },
  8365. "cancelqty": {
  8366. "description": "注销数量",
  8367. "type": "integer"
  8368. },
  8369. "createtime": {
  8370. "description": "创建时间",
  8371. "type": "string"
  8372. },
  8373. "creatorid": {
  8374. "description": "创建人ID",
  8375. "type": "integer"
  8376. },
  8377. "creatorname": {
  8378. "description": "创建人",
  8379. "type": "string"
  8380. },
  8381. "goodscode": {
  8382. "description": "订单商品代码",
  8383. "type": "string"
  8384. },
  8385. "goodsid": {
  8386. "description": "商品ID",
  8387. "type": "integer"
  8388. },
  8389. "goodsname": {
  8390. "description": "订单商品名称",
  8391. "type": "string"
  8392. },
  8393. "goodunit": {
  8394. "description": "报价单位",
  8395. "type": "string"
  8396. },
  8397. "handlestatus": {
  8398. "description": "处理状态",
  8399. "type": "integer"
  8400. },
  8401. "marketid": {
  8402. "description": "市场ID",
  8403. "type": "integer"
  8404. },
  8405. "marketname": {
  8406. "description": "市场名称",
  8407. "type": "string"
  8408. },
  8409. "tradedate": {
  8410. "description": "交易日(yyyyMMdd)",
  8411. "type": "string"
  8412. },
  8413. "userid": {
  8414. "description": "申请人ID",
  8415. "type": "integer"
  8416. }
  8417. }
  8418. },
  8419. "cptrade.Cptradepresaleapply": {
  8420. "type": "object",
  8421. "required": [
  8422. "applyid"
  8423. ],
  8424. "properties": {
  8425. "accountid": {
  8426. "description": "申请人账户ID",
  8427. "type": "integer"
  8428. },
  8429. "applyid": {
  8430. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8431. "type": "integer"
  8432. },
  8433. "applyremark": {
  8434. "description": "申请备注",
  8435. "type": "string"
  8436. },
  8437. "applystatus": {
  8438. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8439. "type": "integer"
  8440. },
  8441. "applytime": {
  8442. "description": "申请时间",
  8443. "type": "string"
  8444. },
  8445. "attachmenturl": {
  8446. "description": "附件地址",
  8447. "type": "string"
  8448. },
  8449. "endtime": {
  8450. "description": "预售结束时间",
  8451. "type": "string"
  8452. },
  8453. "goodscode": {
  8454. "description": "商品代码",
  8455. "type": "string"
  8456. },
  8457. "goodsid": {
  8458. "description": "商品ID",
  8459. "type": "integer"
  8460. },
  8461. "goodsname": {
  8462. "description": "商品名称",
  8463. "type": "string"
  8464. },
  8465. "goodunit": {
  8466. "description": "报价单位",
  8467. "type": "string"
  8468. },
  8469. "handlestatus": {
  8470. "description": "处理状态",
  8471. "type": "integer"
  8472. },
  8473. "marketid": {
  8474. "description": "预售市场ID",
  8475. "type": "integer"
  8476. },
  8477. "marketname": {
  8478. "description": "预售市场名称",
  8479. "type": "string"
  8480. },
  8481. "presaleqty": {
  8482. "description": "预售数量",
  8483. "type": "integer"
  8484. },
  8485. "relatedgoodscode": {
  8486. "description": "关联交易合约代码",
  8487. "type": "string"
  8488. },
  8489. "relatedgoodsid": {
  8490. "description": "关联交易合约ID",
  8491. "type": "integer"
  8492. },
  8493. "relatedgoodsname": {
  8494. "description": "关联交易合约名称",
  8495. "type": "string"
  8496. },
  8497. "starttime": {
  8498. "description": "预售开始时间",
  8499. "type": "string"
  8500. },
  8501. "tradedate": {
  8502. "description": "交易日(yyyyMMdd)",
  8503. "type": "string"
  8504. },
  8505. "trademode": {
  8506. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8507. "type": "integer"
  8508. },
  8509. "userid": {
  8510. "description": "申请人ID",
  8511. "type": "integer"
  8512. }
  8513. }
  8514. },
  8515. "cptrade.Cptradeusergoodsdata": {
  8516. "type": "object",
  8517. "required": [
  8518. "accountid",
  8519. "goodsid"
  8520. ],
  8521. "properties": {
  8522. "EnabledQty": {
  8523. "description": "可用量",
  8524. "type": "integer"
  8525. },
  8526. "GoodsCode": {
  8527. "description": "订单商品代码",
  8528. "type": "string"
  8529. },
  8530. "GoodsName": {
  8531. "description": "订单商品名称",
  8532. "type": "string"
  8533. },
  8534. "WRStandardCode": {
  8535. "description": "仓单标准代码",
  8536. "type": "string"
  8537. },
  8538. "WRStandardName": {
  8539. "description": "仓单标准名称",
  8540. "type": "string"
  8541. },
  8542. "accountid": {
  8543. "description": "账户ID",
  8544. "type": "integer"
  8545. },
  8546. "cancelqty": {
  8547. "description": "注销量",
  8548. "type": "integer"
  8549. },
  8550. "curpresaleqty": {
  8551. "description": "当前预售量",
  8552. "type": "integer"
  8553. },
  8554. "deliveryqty": {
  8555. "description": "交割量",
  8556. "type": "integer"
  8557. },
  8558. "freezeamount": {
  8559. "description": "冻结金额",
  8560. "type": "number"
  8561. },
  8562. "goodsid": {
  8563. "description": "商品ID",
  8564. "type": "integer"
  8565. },
  8566. "goodunit": {
  8567. "description": "报价单位",
  8568. "type": "string"
  8569. },
  8570. "hasspotfreeze": {
  8571. "description": "是否有现货冻结 - 0:否 1:有",
  8572. "type": "integer"
  8573. },
  8574. "inqty": {
  8575. "description": "转入量(总数量)",
  8576. "type": "integer"
  8577. },
  8578. "marketid": {
  8579. "description": "市场ID",
  8580. "type": "integer"
  8581. },
  8582. "presaledamount": {
  8583. "description": "已预售总金额",
  8584. "type": "integer"
  8585. },
  8586. "presaledqty": {
  8587. "description": "已预售量",
  8588. "type": "integer"
  8589. },
  8590. "userid": {
  8591. "description": "用户ID",
  8592. "type": "integer"
  8593. },
  8594. "wrstandardid": {
  8595. "description": "仓单标准ID",
  8596. "type": "integer"
  8597. }
  8598. }
  8599. },
  8600. "cptrade.QueryCPTradeMyBidRsp": {
  8601. "type": "object",
  8602. "required": [
  8603. "accountid",
  8604. "goodsid",
  8605. "marketid",
  8606. "orderid",
  8607. "orderqty",
  8608. "ordertime",
  8609. "tradeprice",
  8610. "tradeqty"
  8611. ],
  8612. "properties": {
  8613. "accountid": {
  8614. "description": "账户ID[报价币种]",
  8615. "type": "integer"
  8616. },
  8617. "goodsid": {
  8618. "description": "商品ID",
  8619. "type": "integer"
  8620. },
  8621. "goodunit": {
  8622. "description": "报价单位",
  8623. "type": "string"
  8624. },
  8625. "marketid": {
  8626. "description": "市场ID",
  8627. "type": "integer"
  8628. },
  8629. "orderid": {
  8630. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8631. "type": "integer"
  8632. },
  8633. "orderprice": {
  8634. "description": "委托价格",
  8635. "type": "number"
  8636. },
  8637. "orderqty": {
  8638. "description": "委托数量",
  8639. "type": "integer"
  8640. },
  8641. "ordertime": {
  8642. "description": "委托时间",
  8643. "type": "string"
  8644. },
  8645. "ordertotalprice": {
  8646. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8647. "type": "number"
  8648. },
  8649. "ordertotalweight": {
  8650. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8651. "type": "integer"
  8652. },
  8653. "totaltotalprice": {
  8654. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8655. "type": "number"
  8656. },
  8657. "tradeprice": {
  8658. "description": "成交价格",
  8659. "type": "number"
  8660. },
  8661. "tradeqty": {
  8662. "description": "成交数量",
  8663. "type": "integer"
  8664. }
  8665. }
  8666. },
  8667. "cptrade.QueryCPTradeOrderDetailRsq": {
  8668. "type": "object",
  8669. "required": [
  8670. "accountid",
  8671. "buildtype",
  8672. "buyorsell",
  8673. "goodsid",
  8674. "marketid",
  8675. "memberuserid",
  8676. "operatetype",
  8677. "orderqty",
  8678. "ordertime",
  8679. "pricemode",
  8680. "strorderid",
  8681. "tradedate",
  8682. "validtype"
  8683. ],
  8684. "properties": {
  8685. "accountid": {
  8686. "description": "账户ID[报价币种]",
  8687. "type": "integer"
  8688. },
  8689. "buildtype": {
  8690. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8691. "type": "integer"
  8692. },
  8693. "buyorsell": {
  8694. "description": "买卖 - 0:买 1:卖",
  8695. "type": "integer"
  8696. },
  8697. "cancelorderid": {
  8698. "description": "撤单单号(撤单时填写)",
  8699. "type": "integer"
  8700. },
  8701. "cancelqty": {
  8702. "description": "撤单数量",
  8703. "type": "integer"
  8704. },
  8705. "clientordertime": {
  8706. "description": "客户端委托时间",
  8707. "type": "string"
  8708. },
  8709. "clientticket": {
  8710. "description": "客户端流水号",
  8711. "type": "string"
  8712. },
  8713. "clienttype": {
  8714. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8715. "type": "integer"
  8716. },
  8717. "closeexchagechargevalue": {
  8718. "description": "平仓交易所手续费设置值",
  8719. "type": "number"
  8720. },
  8721. "closefeealgorithm": {
  8722. "description": "平仓手续费收取方式 1:比率 2:固定",
  8723. "type": "integer"
  8724. },
  8725. "closefreezecharge": {
  8726. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8727. "type": "number"
  8728. },
  8729. "closememberchargevalue": {
  8730. "description": "平仓会员手续费设置值",
  8731. "type": "number"
  8732. },
  8733. "closeqty": {
  8734. "description": "平仓数量(先建后平操作 需要记录)",
  8735. "type": "integer"
  8736. },
  8737. "closetradeqty": {
  8738. "description": "平仓成交数量(先建后平操作,需要记录)",
  8739. "type": "integer"
  8740. },
  8741. "closeunfreezecharge": {
  8742. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8743. "type": "number"
  8744. },
  8745. "delistingtype": {
  8746. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8747. "type": "integer"
  8748. },
  8749. "freezecharge": {
  8750. "description": "冻结手续费",
  8751. "type": "number"
  8752. },
  8753. "freezemargin": {
  8754. "description": "冻结保证金(冻结交易金额)",
  8755. "type": "number"
  8756. },
  8757. "gcaccountid": {
  8758. "description": "账户ID[合约币种]",
  8759. "type": "integer"
  8760. },
  8761. "goodsid": {
  8762. "description": "商品ID",
  8763. "type": "integer"
  8764. },
  8765. "isconfirmexercise": {
  8766. "description": "是否确认行权- 0:否 1:是",
  8767. "type": "integer"
  8768. },
  8769. "ispreexercise": {
  8770. "description": "是否预申报- 0:否 1:是",
  8771. "type": "integer"
  8772. },
  8773. "listingselecttype": {
  8774. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8775. "type": "integer"
  8776. },
  8777. "marginalgorithm": {
  8778. "description": "保证金收取方式 1:比率 2:固定",
  8779. "type": "integer"
  8780. },
  8781. "marginvalue": {
  8782. "description": "即市保证金设置值",
  8783. "type": "number"
  8784. },
  8785. "marketid": {
  8786. "description": "市场ID",
  8787. "type": "integer"
  8788. },
  8789. "marketmaxsub": {
  8790. "description": "市价最大偏移范围",
  8791. "type": "number"
  8792. },
  8793. "memberuserid": {
  8794. "description": "所属会员UserID",
  8795. "type": "integer"
  8796. },
  8797. "openexchagechargevalue": {
  8798. "description": "建仓交易所手续费设置值",
  8799. "type": "number"
  8800. },
  8801. "openfeealgorithm": {
  8802. "description": "建仓手续费收取方式 1:比率 2:固定",
  8803. "type": "integer"
  8804. },
  8805. "openfreezecharge": {
  8806. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8807. "type": "number"
  8808. },
  8809. "openmemberchargevalue": {
  8810. "description": "建仓会员手续费设置值",
  8811. "type": "number"
  8812. },
  8813. "openqty": {
  8814. "description": "开仓数量(先建后平操作,需要记录)",
  8815. "type": "integer"
  8816. },
  8817. "opentradeqty": {
  8818. "description": "开仓成交数量(先建后平操作,需要记录)",
  8819. "type": "integer"
  8820. },
  8821. "openunfreezecharge": {
  8822. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8823. "type": "number"
  8824. },
  8825. "operatetype": {
  8826. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8827. "type": "integer"
  8828. },
  8829. "operatorid": {
  8830. "description": "登录账号(LoginID)",
  8831. "type": "integer"
  8832. },
  8833. "optiontype": {
  8834. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8835. "type": "integer"
  8836. },
  8837. "orderprice": {
  8838. "description": "委托价格",
  8839. "type": "number"
  8840. },
  8841. "orderqty": {
  8842. "description": "委托数量",
  8843. "type": "integer"
  8844. },
  8845. "ordersrc": {
  8846. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8847. "type": "integer"
  8848. },
  8849. "orderstatus": {
  8850. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8851. "type": "integer"
  8852. },
  8853. "ordertime": {
  8854. "description": "委托时间",
  8855. "type": "string"
  8856. },
  8857. "preexerciseprice": {
  8858. "description": "预申报价格",
  8859. "type": "number"
  8860. },
  8861. "premium": {
  8862. "description": "权利金",
  8863. "type": "number"
  8864. },
  8865. "preorderid": {
  8866. "description": "关联预埋单号(止盈止损单时填写)",
  8867. "type": "integer"
  8868. },
  8869. "pricemode": {
  8870. "description": "取价方式 - 1:市价 2: 限价",
  8871. "type": "integer"
  8872. },
  8873. "quoteid": {
  8874. "description": "报价单ID",
  8875. "type": "integer"
  8876. },
  8877. "relatedid": {
  8878. "description": "关联单号(交割单)",
  8879. "type": "integer"
  8880. },
  8881. "retcode": {
  8882. "description": "错误代码",
  8883. "type": "integer"
  8884. },
  8885. "sessionid": {
  8886. "description": "会话ID",
  8887. "type": "integer"
  8888. },
  8889. "strorderid": {
  8890. "description": "委托单号",
  8891. "type": "string"
  8892. },
  8893. "tradedate": {
  8894. "description": "交易日(yyyyMMdd)",
  8895. "type": "string"
  8896. },
  8897. "tradeproperty": {
  8898. "description": "交易属性",
  8899. "type": "integer"
  8900. },
  8901. "tradeqty": {
  8902. "description": "成交数量",
  8903. "type": "integer"
  8904. },
  8905. "unfreezecharge": {
  8906. "description": "解冻手续费",
  8907. "type": "number"
  8908. },
  8909. "unfreezemargin": {
  8910. "description": "解冻保证金",
  8911. "type": "number"
  8912. },
  8913. "updatetime": {
  8914. "description": "更新时间",
  8915. "type": "string"
  8916. },
  8917. "uuid": {
  8918. "description": "发起端唯一id",
  8919. "type": "string"
  8920. },
  8921. "validtime": {
  8922. "description": "有效期限",
  8923. "type": "string"
  8924. },
  8925. "validtype": {
  8926. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8927. "type": "integer"
  8928. },
  8929. "volumetype": {
  8930. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8931. "type": "integer"
  8932. }
  8933. }
  8934. },
  8935. "cptrade.QueryMyCPTradeGoodsRsp": {
  8936. "type": "object",
  8937. "required": [
  8938. "goodscode",
  8939. "goodsid",
  8940. "goodsname",
  8941. "marketid",
  8942. "relatedgoodscode",
  8943. "relatedgoodsname"
  8944. ],
  8945. "properties": {
  8946. "accountid": {
  8947. "description": "卖方账户ID",
  8948. "type": "integer"
  8949. },
  8950. "agreeunit": {
  8951. "description": "合约单位",
  8952. "type": "number"
  8953. },
  8954. "applyid": {
  8955. "description": "关联申请ID",
  8956. "type": "integer"
  8957. },
  8958. "attachmenturl": {
  8959. "description": "附件地址",
  8960. "type": "string"
  8961. },
  8962. "createtime": {
  8963. "description": "创建时间",
  8964. "type": "string"
  8965. },
  8966. "currencyid": {
  8967. "description": "报价货币ID",
  8968. "type": "integer"
  8969. },
  8970. "decimalplace": {
  8971. "description": "报价小数位",
  8972. "type": "integer"
  8973. },
  8974. "endtime": {
  8975. "description": "预售结束时间",
  8976. "type": "string"
  8977. },
  8978. "floorprice": {
  8979. "description": "底价[大宗式竞拍]",
  8980. "type": "number"
  8981. },
  8982. "goodscode": {
  8983. "description": "商品代码(预售)",
  8984. "type": "string"
  8985. },
  8986. "goodsdetail": {
  8987. "description": "详情[大宗]",
  8988. "type": "string"
  8989. },
  8990. "goodsid": {
  8991. "description": "商品ID(自增ID SEQ_GOODS)",
  8992. "type": "integer"
  8993. },
  8994. "goodsname": {
  8995. "description": "商品名称(预售)",
  8996. "type": "string"
  8997. },
  8998. "goodunit": {
  8999. "description": "报价单位",
  9000. "type": "string"
  9001. },
  9002. "goodunitid": {
  9003. "description": "报价单位ID",
  9004. "type": "integer"
  9005. },
  9006. "marketid": {
  9007. "description": "所属市场ID",
  9008. "type": "integer"
  9009. },
  9010. "marketname": {
  9011. "description": "预售市场名称",
  9012. "type": "string"
  9013. },
  9014. "presaledamount": {
  9015. "description": "已预售总金额(预售结束时更新)",
  9016. "type": "number"
  9017. },
  9018. "presaledqty": {
  9019. "description": "已预售量(预售结束时更新)",
  9020. "type": "integer"
  9021. },
  9022. "presalemode": {
  9023. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9024. "type": "integer"
  9025. },
  9026. "presaleqty": {
  9027. "description": "预售数量",
  9028. "type": "integer"
  9029. },
  9030. "refprice": {
  9031. "description": "参考价格[一口价]",
  9032. "type": "number"
  9033. },
  9034. "relatedgoodscode": {
  9035. "description": "商品代码(订单)",
  9036. "type": "string"
  9037. },
  9038. "relatedgoodsid": {
  9039. "description": "关联交易合约ID",
  9040. "type": "integer"
  9041. },
  9042. "relatedgoodsname": {
  9043. "description": "商品名称(订单)",
  9044. "type": "string"
  9045. },
  9046. "relatedmarketid": {
  9047. "description": "关联交易合约市场ID",
  9048. "type": "integer"
  9049. },
  9050. "sellstatus": {
  9051. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9052. "type": "integer"
  9053. },
  9054. "startprice": {
  9055. "description": "起拍价[大宗式竞拍]",
  9056. "type": "number"
  9057. },
  9058. "starttime": {
  9059. "description": "预售开始时间",
  9060. "type": "string"
  9061. },
  9062. "tradedate": {
  9063. "description": "交易日(yyyyMMdd)",
  9064. "type": "string"
  9065. },
  9066. "tradeprice": {
  9067. "description": "成交价[大宗]",
  9068. "type": "number"
  9069. },
  9070. "userid": {
  9071. "description": "卖方用户ID",
  9072. "type": "integer"
  9073. }
  9074. }
  9075. },
  9076. "cptrade.QueryPresaleGoodsExRsp": {
  9077. "type": "object",
  9078. "required": [
  9079. "goodsid"
  9080. ],
  9081. "properties": {
  9082. "attachmenturl": {
  9083. "description": "附件地址",
  9084. "type": "string"
  9085. },
  9086. "createtime": {
  9087. "description": "创建时间",
  9088. "type": "string"
  9089. },
  9090. "endtime": {
  9091. "description": "预售结束时间",
  9092. "type": "string"
  9093. },
  9094. "floorprice": {
  9095. "description": "底价[大宗式竞拍]",
  9096. "type": "number"
  9097. },
  9098. "goodsdetail": {
  9099. "description": "详情[大宗]",
  9100. "type": "string"
  9101. },
  9102. "goodsid": {
  9103. "description": "商品ID(预售)",
  9104. "type": "integer"
  9105. },
  9106. "goodunit": {
  9107. "description": "报价单位",
  9108. "type": "string"
  9109. },
  9110. "marketid": {
  9111. "description": "预售市场ID - 根据预售模式选择市场",
  9112. "type": "integer"
  9113. },
  9114. "presaledamount": {
  9115. "description": "已预售总金额(预售结束时更新)",
  9116. "type": "number"
  9117. },
  9118. "presaledqty": {
  9119. "description": "已预售量(预售结束时更新)",
  9120. "type": "integer"
  9121. },
  9122. "presalemode": {
  9123. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9124. "type": "integer"
  9125. },
  9126. "presaleqty": {
  9127. "description": "预售数量",
  9128. "type": "integer"
  9129. },
  9130. "refprice": {
  9131. "description": "参考价格[一口价]",
  9132. "type": "number"
  9133. },
  9134. "relatedgoodsid": {
  9135. "description": "关联交易合约ID",
  9136. "type": "integer"
  9137. },
  9138. "relatedmarketid": {
  9139. "description": "关联交易合约市场ID",
  9140. "type": "integer"
  9141. },
  9142. "sellstatus": {
  9143. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9144. "type": "integer"
  9145. },
  9146. "startprice": {
  9147. "description": "起拍价[大宗式竞拍]",
  9148. "type": "number"
  9149. },
  9150. "starttime": {
  9151. "description": "预售开始时间",
  9152. "type": "string"
  9153. },
  9154. "tradedate": {
  9155. "description": "交易日(yyyyMMdd)",
  9156. "type": "string"
  9157. },
  9158. "tradeprice": {
  9159. "description": "成交价[大宗]",
  9160. "type": "number"
  9161. }
  9162. }
  9163. },
  9164. "delivery.QueryDeliveryRelationRsp": {
  9165. "type": "object",
  9166. "required": [
  9167. "begindate",
  9168. "enddate",
  9169. "goodsid",
  9170. "mindeliveryqty",
  9171. "xdeliveryratio"
  9172. ],
  9173. "properties": {
  9174. "begindate": {
  9175. "description": "起始日期(yyyyMMdd)",
  9176. "type": "string"
  9177. },
  9178. "buytemplateid": {
  9179. "description": "买履约计划模板ID",
  9180. "type": "integer"
  9181. },
  9182. "deliverygoodscode": {
  9183. "description": "品种代码",
  9184. "type": "string"
  9185. },
  9186. "deliverygoodsid": {
  9187. "description": "交割商品",
  9188. "type": "integer"
  9189. },
  9190. "deliverygoodsname": {
  9191. "description": "品种名称",
  9192. "type": "string"
  9193. },
  9194. "deliverymode": {
  9195. "description": "交割方式 - 1:点选式 2:申报式",
  9196. "type": "integer"
  9197. },
  9198. "deliverypricerule": {
  9199. "description": "交割价规则- 1:行情价 2:建仓价",
  9200. "type": "integer"
  9201. },
  9202. "deliverytype": {
  9203. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9204. "type": "integer"
  9205. },
  9206. "enddate": {
  9207. "description": "结束日期(yyyyMMdd)",
  9208. "type": "string"
  9209. },
  9210. "goodscode": {
  9211. "description": "商品代码",
  9212. "type": "string"
  9213. },
  9214. "goodsid": {
  9215. "description": "交易合约ID",
  9216. "type": "integer"
  9217. },
  9218. "goodsname": {
  9219. "description": "商品名称",
  9220. "type": "string"
  9221. },
  9222. "marketid": {
  9223. "description": "市场ID",
  9224. "type": "integer"
  9225. },
  9226. "mindeliveryqty": {
  9227. "description": "最小交割系数(K)",
  9228. "type": "integer"
  9229. },
  9230. "p2deliveryprice": {
  9231. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9232. "type": "number"
  9233. },
  9234. "p2deliveryratio": {
  9235. "description": "P2合约系数(p)",
  9236. "type": "integer"
  9237. },
  9238. "p2goodsid": {
  9239. "description": "P2合约ID",
  9240. "type": "integer"
  9241. },
  9242. "p2pricemode": {
  9243. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9244. "type": "integer"
  9245. },
  9246. "pdeliveryprice": {
  9247. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9248. "type": "number"
  9249. },
  9250. "pdeliveryratio": {
  9251. "description": "P合约系数(n)",
  9252. "type": "integer"
  9253. },
  9254. "pgoodsid": {
  9255. "description": "P合约ID",
  9256. "type": "integer"
  9257. },
  9258. "ppricemode": {
  9259. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9260. "type": "integer"
  9261. },
  9262. "rratio": {
  9263. "description": "兑换系数(R)",
  9264. "type": "integer"
  9265. },
  9266. "rratio1": {
  9267. "description": "兑换系数(交易合约)(R1)",
  9268. "type": "integer"
  9269. },
  9270. "rratio2": {
  9271. "description": "兑换系数(仓单标准)(R2)",
  9272. "type": "integer"
  9273. },
  9274. "selltemplateid": {
  9275. "description": "卖履约计划模板ID",
  9276. "type": "integer"
  9277. },
  9278. "wrstandardid": {
  9279. "description": "仓单标准ID",
  9280. "type": "integer"
  9281. },
  9282. "xdeliveryratio": {
  9283. "description": "交易合约系数(m)",
  9284. "type": "integer"
  9285. }
  9286. }
  9287. },
  9288. "ermcp.ExposureDetailRsp": {
  9289. "type": "object",
  9290. "properties": {
  9291. "areauserid": {
  9292. "description": "机构ID",
  9293. "type": "integer"
  9294. },
  9295. "changeQty": {
  9296. "description": "套保变动量",
  9297. "type": "number"
  9298. },
  9299. "contracttype": {
  9300. "description": "现货合同类型 - 1:采购 -1:销售",
  9301. "type": "integer"
  9302. },
  9303. "convertfactor": {
  9304. "description": "标仓系数",
  9305. "type": "number"
  9306. },
  9307. "convertratio": {
  9308. "description": "套保系数",
  9309. "type": "number"
  9310. },
  9311. "createtime": {
  9312. "description": "时间",
  9313. "type": "string"
  9314. },
  9315. "enumdicname": {
  9316. "description": "现货商品单位名称",
  9317. "type": "string"
  9318. },
  9319. "logtype": {
  9320. "description": "类型 - 1:套保计划 2:现货合同",
  9321. "type": "integer"
  9322. },
  9323. "middlegoodsId": {
  9324. "description": "套保商品id",
  9325. "type": "integer"
  9326. },
  9327. "middlegoodscode": {
  9328. "description": "套保商品代码",
  9329. "type": "string"
  9330. },
  9331. "middlegoodsname": {
  9332. "description": "套保商品名称",
  9333. "type": "string"
  9334. },
  9335. "qty": {
  9336. "description": "数量",
  9337. "type": "number"
  9338. },
  9339. "relateNo": {
  9340. "description": "现货合同/套保计划编号",
  9341. "type": "string"
  9342. },
  9343. "wrstandardcode": {
  9344. "description": "现货商品代码",
  9345. "type": "string"
  9346. },
  9347. "wrstandardid": {
  9348. "description": "现货商品ID",
  9349. "type": "integer"
  9350. },
  9351. "wrstandardname": {
  9352. "description": "现货商品名称",
  9353. "type": "string"
  9354. }
  9355. }
  9356. },
  9357. "ermcp.ExposureHedgePosDetailRsp": {
  9358. "type": "object",
  9359. "properties": {
  9360. "buyorsell": {
  9361. "description": "买卖方向 0-买 1-卖",
  9362. "type": "integer"
  9363. },
  9364. "channelbuildtype": {
  9365. "description": "开平方向 1-建仓 2-平仓",
  9366. "type": "integer"
  9367. },
  9368. "goodscode": {
  9369. "description": "商品代码",
  9370. "type": "string"
  9371. },
  9372. "goodsname": {
  9373. "description": "商品名称",
  9374. "type": "string"
  9375. },
  9376. "hedgegoodsid": {
  9377. "description": "商品id",
  9378. "type": "integer"
  9379. },
  9380. "tradeqty": {
  9381. "description": "数量(成交数量)",
  9382. "type": "integer"
  9383. },
  9384. "tradetime": {
  9385. "description": "时间(成交时间)",
  9386. "type": "string"
  9387. }
  9388. }
  9389. },
  9390. "ermcp.ExposureHedgePositionRsp": {
  9391. "type": "object",
  9392. "properties": {
  9393. "accountid": {
  9394. "description": "资金账号[外部母账户]",
  9395. "type": "integer"
  9396. },
  9397. "curbuyposition": {
  9398. "description": "期末买头寸",
  9399. "type": "integer"
  9400. },
  9401. "cursellposition": {
  9402. "description": "期末卖头寸",
  9403. "type": "integer"
  9404. },
  9405. "curtdbuyposition": {
  9406. "description": "期末今日买头寸",
  9407. "type": "integer"
  9408. },
  9409. "curtdsellposition": {
  9410. "description": "期末今日卖头寸",
  9411. "type": "integer"
  9412. },
  9413. "curydbuyposition": {
  9414. "description": "期末上日买头寸",
  9415. "type": "integer"
  9416. },
  9417. "curydsellposition": {
  9418. "description": "期末上日卖头寸",
  9419. "type": "integer"
  9420. },
  9421. "decreaseqty": {
  9422. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  9423. "type": "integer"
  9424. },
  9425. "fretdbuyposition": {
  9426. "description": "冻结今日买头寸",
  9427. "type": "integer"
  9428. },
  9429. "fretdsellposition": {
  9430. "description": "冻结今日卖头寸",
  9431. "type": "integer"
  9432. },
  9433. "freydbuyposition": {
  9434. "description": "冻结上日买头寸",
  9435. "type": "integer"
  9436. },
  9437. "freydsellposition": {
  9438. "description": "冻结上日卖头寸",
  9439. "type": "integer"
  9440. },
  9441. "goodscode": {
  9442. "description": "商品代码",
  9443. "type": "string"
  9444. },
  9445. "goodsid": {
  9446. "description": "商品id",
  9447. "type": "integer"
  9448. },
  9449. "goodsname": {
  9450. "description": "商品名称",
  9451. "type": "string"
  9452. },
  9453. "hedgeaccountcode": {
  9454. "description": "对冲账号",
  9455. "type": "string"
  9456. },
  9457. "hedgegoodsid": {
  9458. "description": "对冲合约ID",
  9459. "type": "integer"
  9460. },
  9461. "increaseqty": {
  9462. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  9463. "type": "integer"
  9464. },
  9465. "marketid": {
  9466. "description": "市场ID",
  9467. "type": "integer"
  9468. },
  9469. "relateduserid": {
  9470. "description": "关联用户id",
  9471. "type": "integer"
  9472. },
  9473. "totalcurqty": {
  9474. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  9475. "type": "integer"
  9476. },
  9477. "totalydqty": {
  9478. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  9479. "type": "integer"
  9480. },
  9481. "tradedate": {
  9482. "description": "交易日(yyyyMMdd)",
  9483. "type": "string"
  9484. },
  9485. "ydbuyposition": {
  9486. "description": "期初买头寸",
  9487. "type": "integer"
  9488. },
  9489. "ydsellposition": {
  9490. "description": "期初卖头寸",
  9491. "type": "integer"
  9492. }
  9493. }
  9494. },
  9495. "ermcp.ExposureSpotDetailRsp": {
  9496. "type": "object",
  9497. "properties": {
  9498. "contracttype": {
  9499. "description": "合同类型 1-采购 -1-销售",
  9500. "type": "integer"
  9501. },
  9502. "createtime": {
  9503. "description": "创建时间",
  9504. "type": "string"
  9505. },
  9506. "enumdicname": {
  9507. "description": "现货商品单位名称",
  9508. "type": "string"
  9509. },
  9510. "logtype": {
  9511. "description": "记录类型 1-套保 2-现货合同",
  9512. "type": "integer"
  9513. },
  9514. "qty": {
  9515. "description": "数量",
  9516. "type": "number"
  9517. },
  9518. "recordname": {
  9519. "description": "类型名称",
  9520. "type": "string"
  9521. },
  9522. "relatedid": {
  9523. "description": "套保计划ID/现货合同ID",
  9524. "type": "string"
  9525. },
  9526. "relatedno": {
  9527. "description": "编号",
  9528. "type": "string"
  9529. },
  9530. "strtime": {
  9531. "description": "时间",
  9532. "type": "string"
  9533. },
  9534. "wrstandardcode": {
  9535. "description": "现货商品代码",
  9536. "type": "string"
  9537. },
  9538. "wrstandardname": {
  9539. "description": "现货商品名称",
  9540. "type": "string"
  9541. }
  9542. }
  9543. },
  9544. "ermcp.ExposureSpotRsp": {
  9545. "type": "object",
  9546. "properties": {
  9547. "areauserid": {
  9548. "description": "所属机构",
  9549. "type": "integer"
  9550. },
  9551. "decreaseqty": {
  9552. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  9553. "type": "number"
  9554. },
  9555. "increaseqty": {
  9556. "description": "增加数量=销售计划数量+采购已定价数量",
  9557. "type": "number"
  9558. },
  9559. "oritoalspotqty": {
  9560. "description": "昨日数量",
  9561. "type": "number"
  9562. },
  9563. "totalspotqty": {
  9564. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  9565. "type": "number"
  9566. },
  9567. "updatetime": {
  9568. "description": "更新时间",
  9569. "type": "string"
  9570. },
  9571. "wrstandardcode": {
  9572. "description": "现货品种代码",
  9573. "type": "string"
  9574. },
  9575. "wrstandardid": {
  9576. "description": "现货商品ID",
  9577. "type": "integer"
  9578. },
  9579. "wrstandardname": {
  9580. "description": "现货品种",
  9581. "type": "string"
  9582. }
  9583. }
  9584. },
  9585. "ermcp.HisExposureRsp": {
  9586. "type": "object",
  9587. "properties": {
  9588. "data": {
  9589. "description": "历史敞口",
  9590. "type": "array",
  9591. "items": {
  9592. "$ref": "#/definitions/models.ErmcpHisExposure"
  9593. }
  9594. },
  9595. "enumdicname": {
  9596. "description": "单位名称",
  9597. "type": "string"
  9598. },
  9599. "middlegoodscode": {
  9600. "description": "套保品种代码",
  9601. "type": "string"
  9602. },
  9603. "middlegoodsid": {
  9604. "description": "套保品种ID",
  9605. "type": "integer"
  9606. },
  9607. "middlegoodsname": {
  9608. "description": "套保品种名称",
  9609. "type": "string"
  9610. }
  9611. }
  9612. },
  9613. "ermcp.PendingAuditCntRsp": {
  9614. "type": "object",
  9615. "properties": {
  9616. "areastockqty": {
  9617. "description": "待审核数量: 库存申请",
  9618. "type": "integer"
  9619. },
  9620. "businessdjqty": {
  9621. "description": "待审核数量: 点价",
  9622. "type": "integer"
  9623. },
  9624. "businessfpqty": {
  9625. "description": "待审核数量: 发票",
  9626. "type": "integer"
  9627. },
  9628. "businessjsqty": {
  9629. "description": "待审核数量: 结算",
  9630. "type": "integer"
  9631. },
  9632. "businesskxqty": {
  9633. "description": "待审核数量: 款项",
  9634. "type": "integer"
  9635. },
  9636. "hedgeplanqty": {
  9637. "description": "待审核数量: 套保计划",
  9638. "type": "integer"
  9639. },
  9640. "spotcontractqty": {
  9641. "description": "待审核数量: 现货合同",
  9642. "type": "integer"
  9643. },
  9644. "userqty": {
  9645. "description": "待审核数量: 用户",
  9646. "type": "integer"
  9647. }
  9648. }
  9649. },
  9650. "ermcp.QryAvalidGPRsp": {
  9651. "type": "object",
  9652. "properties": {
  9653. "goodsgroupid": {
  9654. "description": "期货品种id",
  9655. "type": "integer"
  9656. },
  9657. "goodsgroupname": {
  9658. "description": "期货品种名称",
  9659. "type": "string"
  9660. },
  9661. "goodunitid": {
  9662. "description": "品种单位id",
  9663. "type": "integer"
  9664. },
  9665. "goodunitname": {
  9666. "description": "品种单位名称",
  9667. "type": "string"
  9668. },
  9669. "outergroupcode": {
  9670. "description": "期货品种代码",
  9671. "type": "string"
  9672. }
  9673. }
  9674. },
  9675. "ermcp.QryBusinessDjRsp": {
  9676. "type": "object",
  9677. "properties": {
  9678. "amount": {
  9679. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9680. "type": "number"
  9681. },
  9682. "applyid": {
  9683. "description": "申请人",
  9684. "type": "string"
  9685. },
  9686. "applyname": {
  9687. "description": "申请人名称",
  9688. "type": "string"
  9689. },
  9690. "applystatus": {
  9691. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9692. "type": "integer"
  9693. },
  9694. "applytime": {
  9695. "description": "申请时间",
  9696. "type": "string"
  9697. },
  9698. "attachurl": {
  9699. "description": "附件",
  9700. "type": "string"
  9701. },
  9702. "auditid": {
  9703. "description": "审核人ID",
  9704. "type": "string"
  9705. },
  9706. "auditname": {
  9707. "description": "审核人名称",
  9708. "type": "string"
  9709. },
  9710. "audittime": {
  9711. "description": "审核时间",
  9712. "type": "string"
  9713. },
  9714. "buyusername": {
  9715. "description": "采购方名称",
  9716. "type": "string"
  9717. },
  9718. "contractno": {
  9719. "description": "合同编号",
  9720. "type": "string"
  9721. },
  9722. "contractstatus": {
  9723. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9724. "type": "integer"
  9725. },
  9726. "contracttype": {
  9727. "description": "现货合同类型 - 1:采购 -1:销售",
  9728. "type": "integer"
  9729. },
  9730. "deliverygoodscode": {
  9731. "description": "现货品种代码",
  9732. "type": "string"
  9733. },
  9734. "deliverygoodsid": {
  9735. "description": "现货商品ID",
  9736. "type": "integer"
  9737. },
  9738. "deliverygoodsname": {
  9739. "description": "现货品种名称",
  9740. "type": "string"
  9741. },
  9742. "enumdicname": {
  9743. "description": "单位名称",
  9744. "type": "string"
  9745. },
  9746. "goodscode": {
  9747. "description": "点价合约",
  9748. "type": "string"
  9749. },
  9750. "goodsname": {
  9751. "description": "商品名称",
  9752. "type": "string"
  9753. },
  9754. "operateapplyid": {
  9755. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9756. "type": "string"
  9757. },
  9758. "operateapplytype": {
  9759. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9760. "type": "integer"
  9761. },
  9762. "pricedPrice": {
  9763. "description": "点价价格(非必填)",
  9764. "type": "number"
  9765. },
  9766. "pricedQty": {
  9767. "description": "点价数量(非必填)",
  9768. "type": "number"
  9769. },
  9770. "pricemove": {
  9771. "description": "升贴水",
  9772. "type": "number"
  9773. },
  9774. "pricetype": {
  9775. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9776. "type": "integer"
  9777. },
  9778. "relatedid": {
  9779. "description": "现货合同ID",
  9780. "type": "string"
  9781. },
  9782. "sellusername": {
  9783. "description": "销售方名字",
  9784. "type": "string"
  9785. },
  9786. "userid": {
  9787. "description": "用户ID",
  9788. "type": "integer"
  9789. },
  9790. "wrstandardcode": {
  9791. "description": "品类代码",
  9792. "type": "string"
  9793. },
  9794. "wrstandardid": {
  9795. "description": "品类id",
  9796. "type": "integer"
  9797. },
  9798. "wrstandardname": {
  9799. "description": "品类名称",
  9800. "type": "string"
  9801. }
  9802. }
  9803. },
  9804. "ermcp.QryBussinessFpRsp": {
  9805. "type": "object",
  9806. "properties": {
  9807. "applyid": {
  9808. "description": "申请人",
  9809. "type": "string"
  9810. },
  9811. "applyname": {
  9812. "description": "申请人名称",
  9813. "type": "string"
  9814. },
  9815. "applystatus": {
  9816. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9817. "type": "integer"
  9818. },
  9819. "applytime": {
  9820. "description": "申请时间",
  9821. "type": "string"
  9822. },
  9823. "attachurl": {
  9824. "description": "附件",
  9825. "type": "string"
  9826. },
  9827. "auditid": {
  9828. "description": "审核人ID",
  9829. "type": "string"
  9830. },
  9831. "auditname": {
  9832. "description": "审核人名称",
  9833. "type": "string"
  9834. },
  9835. "audittime": {
  9836. "description": "审核时间",
  9837. "type": "string"
  9838. },
  9839. "buyusername": {
  9840. "description": "采购方名称",
  9841. "type": "string"
  9842. },
  9843. "contractno": {
  9844. "description": "合同编号",
  9845. "type": "string"
  9846. },
  9847. "contractstatus": {
  9848. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9849. "type": "integer"
  9850. },
  9851. "contracttype": {
  9852. "description": "现货合同类型 - 1:采购 -1:销售",
  9853. "type": "integer"
  9854. },
  9855. "deliverygoodscode": {
  9856. "description": "现货品种代码",
  9857. "type": "string"
  9858. },
  9859. "deliverygoodsid": {
  9860. "description": "现货商品ID",
  9861. "type": "integer"
  9862. },
  9863. "deliverygoodsname": {
  9864. "description": "现货品种名称",
  9865. "type": "string"
  9866. },
  9867. "enumdicname": {
  9868. "description": "单位名称",
  9869. "type": "string"
  9870. },
  9871. "goodscode": {
  9872. "description": "点价合约",
  9873. "type": "string"
  9874. },
  9875. "goodsname": {
  9876. "description": "商品名称",
  9877. "type": "string"
  9878. },
  9879. "invoiceAmount": {
  9880. "description": "已开收票金额(销售为开票,采购为收票)",
  9881. "type": "number"
  9882. },
  9883. "operateapplyid": {
  9884. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9885. "type": "string"
  9886. },
  9887. "operateapplytype": {
  9888. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9889. "type": "integer"
  9890. },
  9891. "pricemove": {
  9892. "description": "升贴水",
  9893. "type": "number"
  9894. },
  9895. "pricetype": {
  9896. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9897. "type": "integer"
  9898. },
  9899. "relatedid": {
  9900. "description": "现货合同ID",
  9901. "type": "string"
  9902. },
  9903. "sellusername": {
  9904. "description": "销售方名字",
  9905. "type": "string"
  9906. },
  9907. "userid": {
  9908. "description": "用户ID",
  9909. "type": "integer"
  9910. },
  9911. "wrstandardcode": {
  9912. "description": "品类代码",
  9913. "type": "string"
  9914. },
  9915. "wrstandardid": {
  9916. "description": "品类id",
  9917. "type": "integer"
  9918. },
  9919. "wrstandardname": {
  9920. "description": "品类名称",
  9921. "type": "string"
  9922. }
  9923. }
  9924. },
  9925. "ermcp.QryBussinessJsExRsp": {
  9926. "type": "object",
  9927. "properties": {
  9928. "applyid": {
  9929. "description": "申请人",
  9930. "type": "string"
  9931. },
  9932. "applyname": {
  9933. "description": "申请人名称",
  9934. "type": "string"
  9935. },
  9936. "applystatus": {
  9937. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9938. "type": "integer"
  9939. },
  9940. "applytime": {
  9941. "description": "申请时间",
  9942. "type": "string"
  9943. },
  9944. "attachurl": {
  9945. "description": "附件",
  9946. "type": "string"
  9947. },
  9948. "auditid": {
  9949. "description": "审核人ID",
  9950. "type": "string"
  9951. },
  9952. "auditname": {
  9953. "description": "审核人名称",
  9954. "type": "string"
  9955. },
  9956. "audittime": {
  9957. "description": "审核时间",
  9958. "type": "string"
  9959. },
  9960. "buyusername": {
  9961. "description": "采购方名称",
  9962. "type": "string"
  9963. },
  9964. "contractno": {
  9965. "description": "合同编号",
  9966. "type": "string"
  9967. },
  9968. "contractstatus": {
  9969. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9970. "type": "integer"
  9971. },
  9972. "contracttype": {
  9973. "description": "现货合同类型 - 1:采购 -1:销售",
  9974. "type": "integer"
  9975. },
  9976. "deliverygoodscode": {
  9977. "description": "现货品种代码",
  9978. "type": "string"
  9979. },
  9980. "deliverygoodsid": {
  9981. "description": "现货商品ID",
  9982. "type": "integer"
  9983. },
  9984. "deliverygoodsname": {
  9985. "description": "现货品种名称",
  9986. "type": "string"
  9987. },
  9988. "enumdicname": {
  9989. "description": "单位名称",
  9990. "type": "string"
  9991. },
  9992. "goodscode": {
  9993. "description": "点价合约",
  9994. "type": "string"
  9995. },
  9996. "goodsname": {
  9997. "description": "商品名称",
  9998. "type": "string"
  9999. },
  10000. "operateapplyid": {
  10001. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10002. "type": "string"
  10003. },
  10004. "operateapplytype": {
  10005. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10006. "type": "integer"
  10007. },
  10008. "pricemove": {
  10009. "description": "升贴水",
  10010. "type": "number"
  10011. },
  10012. "pricetype": {
  10013. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10014. "type": "integer"
  10015. },
  10016. "reckontype": {
  10017. "description": "结算类型",
  10018. "type": "string"
  10019. },
  10020. "reckonvalue": {
  10021. "description": "值",
  10022. "type": "number"
  10023. },
  10024. "relatedid": {
  10025. "description": "现货合同ID",
  10026. "type": "string"
  10027. },
  10028. "sellusername": {
  10029. "description": "销售方名字",
  10030. "type": "string"
  10031. },
  10032. "userid": {
  10033. "description": "用户ID",
  10034. "type": "integer"
  10035. },
  10036. "wrstandardcode": {
  10037. "description": "品类代码",
  10038. "type": "string"
  10039. },
  10040. "wrstandardid": {
  10041. "description": "品类id",
  10042. "type": "integer"
  10043. },
  10044. "wrstandardname": {
  10045. "description": "品类名称",
  10046. "type": "string"
  10047. }
  10048. }
  10049. },
  10050. "ermcp.QryBussinessJsRsp": {
  10051. "type": "object",
  10052. "properties": {
  10053. "addmargin": {
  10054. "description": "追加保证金(非必填)",
  10055. "type": "number"
  10056. },
  10057. "applyid": {
  10058. "description": "申请人",
  10059. "type": "string"
  10060. },
  10061. "applyname": {
  10062. "description": "申请人名称",
  10063. "type": "string"
  10064. },
  10065. "applystatus": {
  10066. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10067. "type": "integer"
  10068. },
  10069. "applytime": {
  10070. "description": "申请时间",
  10071. "type": "string"
  10072. },
  10073. "attachurl": {
  10074. "description": "附件",
  10075. "type": "string"
  10076. },
  10077. "auditid": {
  10078. "description": "审核人ID",
  10079. "type": "string"
  10080. },
  10081. "auditname": {
  10082. "description": "审核人名称",
  10083. "type": "string"
  10084. },
  10085. "audittime": {
  10086. "description": "审核时间",
  10087. "type": "string"
  10088. },
  10089. "buyusername": {
  10090. "description": "采购方名称",
  10091. "type": "string"
  10092. },
  10093. "contractno": {
  10094. "description": "合同编号",
  10095. "type": "string"
  10096. },
  10097. "contractstatus": {
  10098. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10099. "type": "integer"
  10100. },
  10101. "contracttype": {
  10102. "description": "现货合同类型 - 1:采购 -1:销售",
  10103. "type": "integer"
  10104. },
  10105. "decmargin": {
  10106. "description": "减少保证金(非必填)",
  10107. "type": "number"
  10108. },
  10109. "deliverygoodscode": {
  10110. "description": "现货品种代码",
  10111. "type": "string"
  10112. },
  10113. "deliverygoodsid": {
  10114. "description": "现货商品ID",
  10115. "type": "integer"
  10116. },
  10117. "deliverygoodsname": {
  10118. "description": "现货品种名称",
  10119. "type": "string"
  10120. },
  10121. "enumdicname": {
  10122. "description": "单位名称",
  10123. "type": "string"
  10124. },
  10125. "goodscode": {
  10126. "description": "点价合约",
  10127. "type": "string"
  10128. },
  10129. "goodsname": {
  10130. "description": "商品名称",
  10131. "type": "string"
  10132. },
  10133. "operateapplyid": {
  10134. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10135. "type": "string"
  10136. },
  10137. "operateapplytype": {
  10138. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10139. "type": "integer"
  10140. },
  10141. "pricemove": {
  10142. "description": "升贴水",
  10143. "type": "number"
  10144. },
  10145. "pricetype": {
  10146. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10147. "type": "integer"
  10148. },
  10149. "reckonadjustamount": {
  10150. "description": "结算调整金额(非必填)",
  10151. "type": "number"
  10152. },
  10153. "reckonosamount": {
  10154. "description": "结算溢短金额(非必填)",
  10155. "type": "number"
  10156. },
  10157. "reckonotheramount": {
  10158. "description": "结算其他费用(非必填)",
  10159. "type": "number"
  10160. },
  10161. "reckonrealqty": {
  10162. "description": "结算实际数量(非必填)",
  10163. "type": "number"
  10164. },
  10165. "relatedid": {
  10166. "description": "现货合同ID",
  10167. "type": "string"
  10168. },
  10169. "sellusername": {
  10170. "description": "销售方名字",
  10171. "type": "string"
  10172. },
  10173. "userid": {
  10174. "description": "用户ID",
  10175. "type": "integer"
  10176. },
  10177. "wrstandardcode": {
  10178. "description": "品类代码",
  10179. "type": "string"
  10180. },
  10181. "wrstandardid": {
  10182. "description": "品类id",
  10183. "type": "integer"
  10184. },
  10185. "wrstandardname": {
  10186. "description": "品类名称",
  10187. "type": "string"
  10188. }
  10189. }
  10190. },
  10191. "ermcp.QryBussinessKxRsp": {
  10192. "type": "object",
  10193. "properties": {
  10194. "applyid": {
  10195. "description": "申请人",
  10196. "type": "string"
  10197. },
  10198. "applyname": {
  10199. "description": "申请人名称",
  10200. "type": "string"
  10201. },
  10202. "applystatus": {
  10203. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10204. "type": "integer"
  10205. },
  10206. "applytime": {
  10207. "description": "申请时间",
  10208. "type": "string"
  10209. },
  10210. "attachurl": {
  10211. "description": "附件",
  10212. "type": "string"
  10213. },
  10214. "auditid": {
  10215. "description": "审核人ID",
  10216. "type": "string"
  10217. },
  10218. "auditname": {
  10219. "description": "审核人名称",
  10220. "type": "string"
  10221. },
  10222. "audittime": {
  10223. "description": "审核时间",
  10224. "type": "string"
  10225. },
  10226. "buyusername": {
  10227. "description": "采购方名称",
  10228. "type": "string"
  10229. },
  10230. "contractno": {
  10231. "description": "合同编号",
  10232. "type": "string"
  10233. },
  10234. "contractstatus": {
  10235. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10236. "type": "integer"
  10237. },
  10238. "contracttype": {
  10239. "description": "现货合同类型 - 1:采购 -1:销售",
  10240. "type": "integer"
  10241. },
  10242. "deductamount": {
  10243. "description": "退款(非必填)",
  10244. "type": "number"
  10245. },
  10246. "deliverygoodscode": {
  10247. "description": "现货品种代码",
  10248. "type": "string"
  10249. },
  10250. "deliverygoodsid": {
  10251. "description": "现货商品ID",
  10252. "type": "integer"
  10253. },
  10254. "deliverygoodsname": {
  10255. "description": "现货品种名称",
  10256. "type": "string"
  10257. },
  10258. "enumdicname": {
  10259. "description": "单位名称",
  10260. "type": "string"
  10261. },
  10262. "goodscode": {
  10263. "description": "点价合约",
  10264. "type": "string"
  10265. },
  10266. "goodsname": {
  10267. "description": "商品名称",
  10268. "type": "string"
  10269. },
  10270. "kxtype": {
  10271. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10272. "type": "integer"
  10273. },
  10274. "operateapplyid": {
  10275. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10276. "type": "string"
  10277. },
  10278. "operateapplytype": {
  10279. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10280. "type": "integer"
  10281. },
  10282. "payamount": {
  10283. "description": "收付款(非必填)",
  10284. "type": "number"
  10285. },
  10286. "pricemove": {
  10287. "description": "升贴水",
  10288. "type": "number"
  10289. },
  10290. "pricetype": {
  10291. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10292. "type": "integer"
  10293. },
  10294. "relatedid": {
  10295. "description": "现货合同ID",
  10296. "type": "string"
  10297. },
  10298. "sellusername": {
  10299. "description": "销售方名字",
  10300. "type": "string"
  10301. },
  10302. "userid": {
  10303. "description": "用户ID",
  10304. "type": "integer"
  10305. },
  10306. "wrstandardcode": {
  10307. "description": "品类代码",
  10308. "type": "string"
  10309. },
  10310. "wrstandardid": {
  10311. "description": "品类id",
  10312. "type": "integer"
  10313. },
  10314. "wrstandardname": {
  10315. "description": "品类名称",
  10316. "type": "string"
  10317. }
  10318. }
  10319. },
  10320. "ermcp.QryGGCovertCfgRsp": {
  10321. "type": "object",
  10322. "properties": {
  10323. "convertratio": {
  10324. "description": "折算系数",
  10325. "type": "number"
  10326. },
  10327. "destgoodsgroupid": {
  10328. "description": "目标品种ID",
  10329. "type": "integer"
  10330. },
  10331. "dstcode": {
  10332. "description": "目录品种代码",
  10333. "type": "string"
  10334. },
  10335. "dstexchangecode": {
  10336. "description": "目标期货交易所",
  10337. "type": "string"
  10338. },
  10339. "dstname": {
  10340. "description": "目标品种名称",
  10341. "type": "string"
  10342. },
  10343. "dstunitid": {
  10344. "description": "目标品种单位ID",
  10345. "type": "integer"
  10346. },
  10347. "dstunitidname": {
  10348. "description": "目标品种单位名称",
  10349. "type": "string"
  10350. },
  10351. "modifytime": {
  10352. "description": "修改时间",
  10353. "type": "string"
  10354. },
  10355. "srccode": {
  10356. "description": "源品种代码",
  10357. "type": "string"
  10358. },
  10359. "srcexchangecode": {
  10360. "description": "源期货交易所",
  10361. "type": "string"
  10362. },
  10363. "srcgoodsgroupid": {
  10364. "description": "源品种ID",
  10365. "type": "integer"
  10366. },
  10367. "srcname": {
  10368. "description": "源品种名称",
  10369. "type": "string"
  10370. },
  10371. "srcunitid": {
  10372. "description": "源品种单位ID",
  10373. "type": "integer"
  10374. },
  10375. "srcunitidname": {
  10376. "description": "源品种单位名称",
  10377. "type": "string"
  10378. }
  10379. }
  10380. },
  10381. "ermcp.QryMGChangeLogRsp": {
  10382. "type": "object",
  10383. "properties": {
  10384. "aftervalue": {
  10385. "description": "变更后",
  10386. "type": "number"
  10387. },
  10388. "applyid": {
  10389. "description": "操作人",
  10390. "type": "integer"
  10391. },
  10392. "applyname": {
  10393. "description": "操作人名称",
  10394. "type": "string"
  10395. },
  10396. "applysrc": {
  10397. "description": "操作来源 - 1:管理端 2:终端",
  10398. "type": "integer"
  10399. },
  10400. "beforevalue": {
  10401. "description": "变更前",
  10402. "type": "number"
  10403. },
  10404. "changelogtype": {
  10405. "description": "变更流水类型 - 1:套保比率变更",
  10406. "type": "integer"
  10407. },
  10408. "handlestatus": {
  10409. "description": "处理状态",
  10410. "type": "integer"
  10411. },
  10412. "logdatetime": {
  10413. "description": "流水日期",
  10414. "type": "string"
  10415. },
  10416. "logid": {
  10417. "description": "流水ID",
  10418. "type": "integer"
  10419. },
  10420. "logremark": {
  10421. "description": "流水备注",
  10422. "type": "string"
  10423. },
  10424. "middlegoodsid": {
  10425. "description": "套保品种ID",
  10426. "type": "integer"
  10427. },
  10428. "tradedate": {
  10429. "description": "交易日(yyyyMMdd)",
  10430. "type": "string"
  10431. },
  10432. "updatetime": {
  10433. "description": "更新时间",
  10434. "type": "string"
  10435. }
  10436. }
  10437. },
  10438. "ermcp.QryMiddleGoodsDetailRsp": {
  10439. "type": "object",
  10440. "properties": {
  10441. "cvList": {
  10442. "description": "期货品种折算列表",
  10443. "type": "array",
  10444. "items": {
  10445. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10446. }
  10447. },
  10448. "mg": {
  10449. "description": "套保品种基本信息",
  10450. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10451. },
  10452. "wrcList": {
  10453. "description": "现货品种列表(现货商品折算配置)",
  10454. "type": "array",
  10455. "items": {
  10456. "$ref": "#/definitions/models.WRSConverTDetail"
  10457. }
  10458. }
  10459. }
  10460. },
  10461. "ermcp.QryMiddleGoodsRsp": {
  10462. "type": "object",
  10463. "properties": {
  10464. "areauserid": {
  10465. "description": "机构用户ID",
  10466. "type": "integer"
  10467. },
  10468. "createtime": {
  10469. "description": "修改时间",
  10470. "type": "string"
  10471. },
  10472. "enumdicname": {
  10473. "description": "单位名称",
  10474. "type": "string"
  10475. },
  10476. "evaluateratio": {
  10477. "description": "估价系数",
  10478. "type": "number"
  10479. },
  10480. "goodsgroupid": {
  10481. "description": "关联期货品种ID",
  10482. "type": "integer"
  10483. },
  10484. "goodsunitid": {
  10485. "description": "单位ID",
  10486. "type": "integer"
  10487. },
  10488. "isvalid": {
  10489. "description": "状态 0-无效(停用) 1-有效(正常)",
  10490. "type": "integer"
  10491. },
  10492. "middlegoodscode": {
  10493. "description": "套保品种代码",
  10494. "type": "string"
  10495. },
  10496. "middlegoodsid": {
  10497. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  10498. "type": "integer"
  10499. },
  10500. "middlegoodsname": {
  10501. "description": "套保品种名称",
  10502. "type": "string"
  10503. },
  10504. "modifytime": {
  10505. "description": "修改时间",
  10506. "type": "string"
  10507. },
  10508. "needhedgeratio": {
  10509. "description": "套保比率",
  10510. "type": "number"
  10511. },
  10512. "qtydecimalplace": {
  10513. "description": "数量小数位",
  10514. "type": "integer"
  10515. },
  10516. "relatedgoodsid": {
  10517. "description": "关联交易商品ID",
  10518. "type": "integer"
  10519. },
  10520. "relatedgoodstype": {
  10521. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  10522. "type": "integer"
  10523. },
  10524. "remark": {
  10525. "description": "备注",
  10526. "type": "string"
  10527. }
  10528. }
  10529. },
  10530. "ermcp.QryOPLogRsp": {
  10531. "type": "object",
  10532. "properties": {
  10533. "aftervalue": {
  10534. "description": "变更后",
  10535. "type": "number"
  10536. },
  10537. "applyid": {
  10538. "description": "操作人ID",
  10539. "type": "string"
  10540. },
  10541. "applyname": {
  10542. "description": "操作人名称",
  10543. "type": "string"
  10544. },
  10545. "beforevalue": {
  10546. "description": "变更前",
  10547. "type": "number"
  10548. },
  10549. "biztype": {
  10550. "description": "业务类型 - 1:套保计划 2:现货合同",
  10551. "type": "integer"
  10552. },
  10553. "contracttype": {
  10554. "description": "现货合同类型 - 1:采购 -1:销售",
  10555. "type": "integer"
  10556. },
  10557. "logvalue": {
  10558. "description": "数值",
  10559. "type": "number"
  10560. },
  10561. "operatelogtype": {
  10562. "description": "操作流水类型",
  10563. "type": "integer"
  10564. },
  10565. "operatelogtypedesc": {
  10566. "description": "操作流水类型名称",
  10567. "type": "string"
  10568. },
  10569. "relatedid": {
  10570. "description": "现货合同ID\\套保计划",
  10571. "type": "string"
  10572. },
  10573. "updatetime": {
  10574. "description": "更新时间",
  10575. "type": "string"
  10576. }
  10577. }
  10578. },
  10579. "ermcp.QryUserInfoRsp": {
  10580. "type": "object",
  10581. "properties": {
  10582. "address": {
  10583. "description": "通讯地址",
  10584. "type": "string"
  10585. },
  10586. "attachment1": {
  10587. "description": "附件1",
  10588. "type": "string"
  10589. },
  10590. "audittime": {
  10591. "description": "审核时间",
  10592. "type": "string"
  10593. },
  10594. "cardbackphotourl": {
  10595. "description": "证件反面图片地址",
  10596. "type": "string"
  10597. },
  10598. "cardfrontphotourl": {
  10599. "description": "证件正面图片地址",
  10600. "type": "string"
  10601. },
  10602. "cardnum": {
  10603. "description": "证件号码",
  10604. "type": "string"
  10605. },
  10606. "cardtype": {
  10607. "description": "证件类型",
  10608. "type": "integer"
  10609. },
  10610. "cardtypename": {
  10611. "description": "证件类型名称",
  10612. "type": "string"
  10613. },
  10614. "cityid": {
  10615. "description": "市",
  10616. "type": "integer"
  10617. },
  10618. "contactname": {
  10619. "description": "联系人",
  10620. "type": "string"
  10621. },
  10622. "countryid": {
  10623. "description": "国家",
  10624. "type": "integer"
  10625. },
  10626. "createtime": {
  10627. "description": "创建时间",
  10628. "type": "string"
  10629. },
  10630. "customername": {
  10631. "description": "企业名称",
  10632. "type": "string"
  10633. },
  10634. "districtid": {
  10635. "description": "区域",
  10636. "type": "integer"
  10637. },
  10638. "email": {
  10639. "description": "邮件",
  10640. "type": "string"
  10641. },
  10642. "legalpersonname": {
  10643. "description": "法人姓名(企业)",
  10644. "type": "string"
  10645. },
  10646. "memberuserid": {
  10647. "description": "所属机构ID",
  10648. "type": "integer"
  10649. },
  10650. "mobile": {
  10651. "description": "手机号码",
  10652. "type": "string"
  10653. },
  10654. "modifytime": {
  10655. "description": "修改时间",
  10656. "type": "string"
  10657. },
  10658. "nickname": {
  10659. "description": "昵称",
  10660. "type": "string"
  10661. },
  10662. "provinceid": {
  10663. "description": "省",
  10664. "type": "integer"
  10665. },
  10666. "remark": {
  10667. "description": "备注",
  10668. "type": "string"
  10669. },
  10670. "status": {
  10671. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10672. "type": "integer"
  10673. },
  10674. "statusdesc": {
  10675. "description": "账户状态中文描述",
  10676. "type": "string"
  10677. },
  10678. "taxpayernum": {
  10679. "description": "纳税人识别号",
  10680. "type": "string"
  10681. },
  10682. "telphone": {
  10683. "description": "联系电话",
  10684. "type": "string"
  10685. },
  10686. "userid": {
  10687. "description": "用户ID",
  10688. "type": "integer"
  10689. },
  10690. "userinfotype": {
  10691. "description": "客户类型",
  10692. "type": "string"
  10693. }
  10694. }
  10695. },
  10696. "ermcp.QryWarehouseRsp": {
  10697. "type": "object",
  10698. "properties": {
  10699. "address": {
  10700. "description": "详细地址",
  10701. "type": "string"
  10702. },
  10703. "areauserid": {
  10704. "description": "所属机构",
  10705. "type": "integer"
  10706. },
  10707. "autoid": {
  10708. "description": "自增ID(仓库ID)",
  10709. "type": "integer"
  10710. },
  10711. "cityid": {
  10712. "description": "市",
  10713. "type": "integer"
  10714. },
  10715. "contactname": {
  10716. "description": "联系人",
  10717. "type": "string"
  10718. },
  10719. "contactnum": {
  10720. "description": "联系电话",
  10721. "type": "string"
  10722. },
  10723. "countryid": {
  10724. "description": "国家",
  10725. "type": "integer"
  10726. },
  10727. "createtime": {
  10728. "description": "创建时间",
  10729. "type": "string"
  10730. },
  10731. "districtid": {
  10732. "description": "区",
  10733. "type": "integer"
  10734. },
  10735. "hasvideo": {
  10736. "description": "是否有视频 - 0:无 1:有",
  10737. "type": "integer"
  10738. },
  10739. "provinceid": {
  10740. "description": "省",
  10741. "type": "integer"
  10742. },
  10743. "remark": {
  10744. "description": "审核备注",
  10745. "type": "string"
  10746. },
  10747. "videourl": {
  10748. "description": "视频地址",
  10749. "type": "string"
  10750. },
  10751. "warehousecode": {
  10752. "description": "仓库代码",
  10753. "type": "string"
  10754. },
  10755. "warehousename": {
  10756. "description": "仓库名称",
  10757. "type": "string"
  10758. },
  10759. "warehousestatus": {
  10760. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10761. "type": "integer"
  10762. },
  10763. "warehousetype": {
  10764. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10765. "type": "integer"
  10766. }
  10767. }
  10768. },
  10769. "ermcp.QueryErmcpTradePositionRsp": {
  10770. "type": "object",
  10771. "properties": {
  10772. "agreeunit": {
  10773. "description": "合约单位",
  10774. "type": "number"
  10775. },
  10776. "buyorsell": {
  10777. "description": "方向 - 0:买 1:卖",
  10778. "type": "integer"
  10779. },
  10780. "curpositionqty": {
  10781. "description": "持仓(总仓数量, 期末头寸)",
  10782. "type": "integer"
  10783. },
  10784. "curtdposition": {
  10785. "description": "今仓数量(期末今日头寸)",
  10786. "type": "integer"
  10787. },
  10788. "curtdpositionenabled": {
  10789. "description": "今仓可用",
  10790. "type": "integer"
  10791. },
  10792. "decimalplace": {
  10793. "description": "报价小数位",
  10794. "type": "integer"
  10795. },
  10796. "enableqty": {
  10797. "description": "可用(总仓可用)",
  10798. "type": "integer"
  10799. },
  10800. "exexchangename": {
  10801. "description": "外部交易所名称",
  10802. "type": "string"
  10803. },
  10804. "goodscode": {
  10805. "description": "商品代码(内部)",
  10806. "type": "string"
  10807. },
  10808. "goodsid": {
  10809. "description": "商品ID(自增ID SEQ_GOODS)",
  10810. "type": "integer"
  10811. },
  10812. "goodsname": {
  10813. "description": "商品名称",
  10814. "type": "string"
  10815. },
  10816. "last": {
  10817. "description": "现价",
  10818. "type": "number"
  10819. },
  10820. "marketid": {
  10821. "description": "所属市场ID",
  10822. "type": "integer"
  10823. },
  10824. "openaverageprice": {
  10825. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10826. "type": "number"
  10827. },
  10828. "opencost": {
  10829. "description": "开仓成本",
  10830. "type": "number"
  10831. },
  10832. "openpl": {
  10833. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10834. "type": "number"
  10835. },
  10836. "outgoodscode": {
  10837. "description": "商品代码(外部)",
  10838. "type": "string"
  10839. },
  10840. "positionaverageprice": {
  10841. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10842. "type": "number"
  10843. },
  10844. "positioncost": {
  10845. "description": "持仓成本",
  10846. "type": "number"
  10847. },
  10848. "positionpl": {
  10849. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10850. "type": "number"
  10851. },
  10852. "positionplrate": {
  10853. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10854. "type": "number"
  10855. },
  10856. "usedmargin": {
  10857. "description": "占用保证金",
  10858. "type": "number"
  10859. }
  10860. }
  10861. },
  10862. "ermcp.RealtimeExposurePositionRsp": {
  10863. "type": "object",
  10864. "properties": {
  10865. "agreeunit": {
  10866. "description": "合约单位",
  10867. "type": "string"
  10868. },
  10869. "areauserid": {
  10870. "description": "所属机构id",
  10871. "type": "integer"
  10872. },
  10873. "convertratio": {
  10874. "description": "期货品种系数(折算系数)",
  10875. "type": "number"
  10876. },
  10877. "curqty": {
  10878. "description": "当前持仓",
  10879. "type": "integer"
  10880. },
  10881. "diffhedgeqty": {
  10882. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  10883. "type": "number"
  10884. },
  10885. "diffqty": {
  10886. "description": "持仓变动量=当前持仓-昨日持仓",
  10887. "type": "integer"
  10888. },
  10889. "goodscode": {
  10890. "description": "商品代码",
  10891. "type": "string"
  10892. },
  10893. "goodsid": {
  10894. "description": "商品id",
  10895. "type": "integer"
  10896. },
  10897. "goodsname": {
  10898. "description": "商品名称",
  10899. "type": "string"
  10900. },
  10901. "middlegoodsid": {
  10902. "description": "套保商品id",
  10903. "type": "integer"
  10904. },
  10905. "ydqty": {
  10906. "description": "昨日持仓",
  10907. "type": "integer"
  10908. }
  10909. }
  10910. },
  10911. "ermcp.RealtimeExposureRsp": {
  10912. "type": "object",
  10913. "properties": {
  10914. "AreaUserID": {
  10915. "description": "所属机构",
  10916. "type": "integer"
  10917. },
  10918. "BuyFutureQty": {
  10919. "description": "买入期货数量",
  10920. "type": "number"
  10921. },
  10922. "BuyPlanQty": {
  10923. "description": "采购计划数量",
  10924. "type": "number"
  10925. },
  10926. "BuyPricedQty": {
  10927. "description": "采购合同已定价数量",
  10928. "type": "number"
  10929. },
  10930. "MiddleGoodsCode": {
  10931. "description": "套保品种代码",
  10932. "type": "string"
  10933. },
  10934. "MiddleGoodsHedgeRatio": {
  10935. "description": "套保比例",
  10936. "type": "number"
  10937. },
  10938. "MiddleGoodsID": {
  10939. "description": "套保品种",
  10940. "type": "integer"
  10941. },
  10942. "MiddleGoodsName": {
  10943. "description": "套保品种名称",
  10944. "type": "string"
  10945. },
  10946. "NeedHedgeExposoure": {
  10947. "description": "应套保敞口(套保敞口)",
  10948. "type": "number"
  10949. },
  10950. "NeedHedgeRatio": {
  10951. "description": "应套保敞口比例",
  10952. "type": "number"
  10953. },
  10954. "OriBuyFutureQty": {
  10955. "description": "期初买入期货数量",
  10956. "type": "number"
  10957. },
  10958. "OriBuyPlanQty": {
  10959. "description": "期初采购计划数量",
  10960. "type": "number"
  10961. },
  10962. "OriBuyPricedQty": {
  10963. "description": "期初采购合同已定价数量",
  10964. "type": "number"
  10965. },
  10966. "OriSellFutureQty": {
  10967. "description": "期初卖出期货数量",
  10968. "type": "number"
  10969. },
  10970. "OriSellPlanQty": {
  10971. "description": "期初销售计划数量",
  10972. "type": "number"
  10973. },
  10974. "OriSellPricedQty": {
  10975. "description": "期初销售合同已定价数量",
  10976. "type": "number"
  10977. },
  10978. "SellFutureQty": {
  10979. "description": "卖出期货数量",
  10980. "type": "number"
  10981. },
  10982. "SellPlanQty": {
  10983. "description": "销售计划数量",
  10984. "type": "number"
  10985. },
  10986. "SellPricedQty": {
  10987. "description": "销售合同已定价数量",
  10988. "type": "number"
  10989. },
  10990. "TotalExposure": {
  10991. "description": "总敞口",
  10992. "type": "number"
  10993. },
  10994. "TotalFutureQty": {
  10995. "description": "期货总量",
  10996. "type": "number"
  10997. },
  10998. "TotalHedgeRatio": {
  10999. "description": "敞口比例",
  11000. "type": "number"
  11001. },
  11002. "TotalNeedHedgeQty": {
  11003. "description": "应套保总量(现货应套保总量)",
  11004. "type": "number"
  11005. },
  11006. "TotalSpotQty": {
  11007. "description": "现货总量",
  11008. "type": "number"
  11009. },
  11010. "arbitrageqty": {
  11011. "description": "套利量",
  11012. "type": "number"
  11013. },
  11014. "diffArbitrageQty": {
  11015. "description": "套利变动量",
  11016. "type": "number"
  11017. },
  11018. "diffExposoureQty": {
  11019. "description": "变动量(套保敞口)",
  11020. "type": "number"
  11021. },
  11022. "diffFutuQty": {
  11023. "description": "变动量(期货总量)",
  11024. "type": "number"
  11025. },
  11026. "diffHedgeQty": {
  11027. "description": "套保变动量",
  11028. "type": "number"
  11029. },
  11030. "diffQty": {
  11031. "description": "变动量(总敞口)",
  11032. "type": "number"
  11033. },
  11034. "diffSpotHedgeQty": {
  11035. "description": "变动量(现货应套保总量)",
  11036. "type": "number"
  11037. },
  11038. "diffSpotQty": {
  11039. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  11040. "type": "number"
  11041. },
  11042. "enumdicname": {
  11043. "description": "单位名称",
  11044. "type": "string"
  11045. },
  11046. "hedgeqty": {
  11047. "description": "套保量",
  11048. "type": "number"
  11049. },
  11050. "needarbitrageqty": {
  11051. "description": "应套利量",
  11052. "type": "number"
  11053. },
  11054. "needarbitrageratio": {
  11055. "description": "套利比例",
  11056. "type": "number"
  11057. },
  11058. "needhedgeqty": {
  11059. "description": "应套保量",
  11060. "type": "number"
  11061. },
  11062. "oriTotalFutuQty": {
  11063. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11064. "type": "number"
  11065. },
  11066. "oriTotalSpotQty": {
  11067. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11068. "type": "number"
  11069. },
  11070. "oriarbitrageqty": {
  11071. "description": "期初套利量",
  11072. "type": "number"
  11073. },
  11074. "orihedgeqty": {
  11075. "description": "期初套保量",
  11076. "type": "number"
  11077. },
  11078. "orineedhedgeexposoure": {
  11079. "description": "期初套保敞口",
  11080. "type": "number"
  11081. },
  11082. "oritotalexposure": {
  11083. "description": "期初总敞口",
  11084. "type": "number"
  11085. },
  11086. "oritotalfutureqty": {
  11087. "description": "期初期货总量",
  11088. "type": "number"
  11089. },
  11090. "oritotalneedhedgeqty": {
  11091. "description": "期初现货应套保量",
  11092. "type": "number"
  11093. }
  11094. }
  11095. },
  11096. "erms2.QueryArbitrageStrategyRsp": {
  11097. "type": "object",
  11098. "required": [
  11099. "asapplyid"
  11100. ],
  11101. "properties": {
  11102. "applybasis": {
  11103. "description": "申请基差",
  11104. "type": "number"
  11105. },
  11106. "asapplyid": {
  11107. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11108. "type": "string"
  11109. },
  11110. "asname": {
  11111. "description": "策略名称",
  11112. "type": "string"
  11113. },
  11114. "asno": {
  11115. "description": "策略编号",
  11116. "type": "string"
  11117. },
  11118. "basischangepl": {
  11119. "description": "基差变动损益[结算更新]",
  11120. "type": "number"
  11121. },
  11122. "biztype": {
  11123. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11124. "type": "integer"
  11125. },
  11126. "closetradedate": {
  11127. "description": "完结交易日(yyyyMMdd)",
  11128. "type": "string"
  11129. },
  11130. "curbasis": {
  11131. "description": "当前基差[结算更新]",
  11132. "type": "number"
  11133. },
  11134. "deliverygoodsid": {
  11135. "description": "现货品种ID",
  11136. "type": "integer"
  11137. },
  11138. "futureavgprice": {
  11139. "description": "期货建仓均价",
  11140. "type": "number"
  11141. },
  11142. "futurecloseamount": {
  11143. "description": "期货平仓金额",
  11144. "type": "number"
  11145. },
  11146. "futurecloseqty": {
  11147. "description": "期货平仓数量",
  11148. "type": "number"
  11149. },
  11150. "futureopenamount": {
  11151. "description": "期货开仓金额",
  11152. "type": "number"
  11153. },
  11154. "futureopenqty": {
  11155. "description": "期货开仓数量",
  11156. "type": "number"
  11157. },
  11158. "futurepl": {
  11159. "description": "期货总盈亏[结算更新]",
  11160. "type": "number"
  11161. },
  11162. "futureqty": {
  11163. "description": "期货持仓数量",
  11164. "type": "number"
  11165. },
  11166. "futurequote": {
  11167. "description": "期货额度",
  11168. "type": "number"
  11169. },
  11170. "goodsgroupid": {
  11171. "description": "期货品种ID",
  11172. "type": "integer"
  11173. },
  11174. "marketid": {
  11175. "description": "市场ID",
  11176. "type": "integer"
  11177. },
  11178. "netexposure": {
  11179. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11180. "type": "number"
  11181. },
  11182. "netexposurepl": {
  11183. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11184. "type": "number"
  11185. },
  11186. "netexposurerate": {
  11187. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11188. "type": "number"
  11189. },
  11190. "openbasis": {
  11191. "description": "建仓基差",
  11192. "type": "number"
  11193. },
  11194. "pricedspotqty": {
  11195. "description": "已定价现货数量",
  11196. "type": "number"
  11197. },
  11198. "pricedspotqtynotax": {
  11199. "description": "已定价现货不含税数量",
  11200. "type": "number"
  11201. },
  11202. "remark": {
  11203. "description": "备注",
  11204. "type": "string"
  11205. },
  11206. "spotavgprice": {
  11207. "description": "现货均价",
  11208. "type": "number"
  11209. },
  11210. "spotbuyamount": {
  11211. "description": "现货采购金额",
  11212. "type": "number"
  11213. },
  11214. "spotbuyqty": {
  11215. "description": "现货采购数量",
  11216. "type": "number"
  11217. },
  11218. "spotpl": {
  11219. "description": "现货总盈亏[结算更新]",
  11220. "type": "number"
  11221. },
  11222. "spotquota": {
  11223. "description": "现货额度",
  11224. "type": "number"
  11225. },
  11226. "spotsellamount": {
  11227. "description": "现货销售金额",
  11228. "type": "number"
  11229. },
  11230. "spotsellqty": {
  11231. "description": "现货销售数量",
  11232. "type": "number"
  11233. },
  11234. "spotusedquota": {
  11235. "description": "现货占用资金",
  11236. "type": "number"
  11237. },
  11238. "strategystatus": {
  11239. "description": "策略状态 - 0:未结束 1:已结束",
  11240. "type": "integer"
  11241. },
  11242. "totalpl": {
  11243. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11244. "type": "number"
  11245. },
  11246. "tradedate": {
  11247. "description": "交易日(yyyyMMdd)",
  11248. "type": "string"
  11249. },
  11250. "updatetime": {
  11251. "description": "更新时间",
  11252. "type": "string"
  11253. },
  11254. "usedquota": {
  11255. "description": "已占用资金",
  11256. "type": "number"
  11257. },
  11258. "userid": {
  11259. "description": "所属机构",
  11260. "type": "integer"
  11261. }
  11262. }
  11263. },
  11264. "erms2.QueryInnerTradeDetailRsp": {
  11265. "type": "object",
  11266. "required": [
  11267. "asapplyid",
  11268. "buyorsell",
  11269. "goodscode",
  11270. "goodsgroupid",
  11271. "goodsgroupname",
  11272. "goodsname",
  11273. "tradeid"
  11274. ],
  11275. "properties": {
  11276. "accountid": {
  11277. "description": "账号ID",
  11278. "type": "integer"
  11279. },
  11280. "agreeunit": {
  11281. "description": "合约单位",
  11282. "type": "number"
  11283. },
  11284. "asapplyid": {
  11285. "description": "策略申请ID",
  11286. "type": "integer"
  11287. },
  11288. "asname": {
  11289. "description": "策略名称",
  11290. "type": "string"
  11291. },
  11292. "asno": {
  11293. "description": "策略编号",
  11294. "type": "string"
  11295. },
  11296. "buyorsell": {
  11297. "description": "方向 - 0:买 1:卖",
  11298. "type": "integer"
  11299. },
  11300. "channelbuildtype": {
  11301. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11302. "type": "integer"
  11303. },
  11304. "closetype": {
  11305. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11306. "type": "integer"
  11307. },
  11308. "decimalplace": {
  11309. "description": "报价小数位",
  11310. "type": "integer"
  11311. },
  11312. "detailtype": {
  11313. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11314. "type": "integer"
  11315. },
  11316. "exexchangecode": {
  11317. "description": "外部交易所代码",
  11318. "type": "string"
  11319. },
  11320. "exexchangename": {
  11321. "description": "外部交易所名称",
  11322. "type": "string"
  11323. },
  11324. "goodscode": {
  11325. "description": "商品代码(合约)",
  11326. "type": "string"
  11327. },
  11328. "goodsgroupid": {
  11329. "description": "商品组ID(品种ID)",
  11330. "type": "integer"
  11331. },
  11332. "goodsgroupname": {
  11333. "description": "商品组名称(品种)",
  11334. "type": "string"
  11335. },
  11336. "goodsid": {
  11337. "description": "商品ID",
  11338. "type": "integer"
  11339. },
  11340. "goodsname": {
  11341. "description": "商品名称(合约)",
  11342. "type": "string"
  11343. },
  11344. "goodunit": {
  11345. "description": "报价单位",
  11346. "type": "string"
  11347. },
  11348. "marketid": {
  11349. "description": "市场ID",
  11350. "type": "integer"
  11351. },
  11352. "orderid": {
  11353. "description": "委托单号",
  11354. "type": "string"
  11355. },
  11356. "outgoodscode": {
  11357. "description": "商品代码(外部)",
  11358. "type": "string"
  11359. },
  11360. "relatedouttradeid": {
  11361. "description": "关联外部成交单ID",
  11362. "type": "string"
  11363. },
  11364. "remark": {
  11365. "description": "备注",
  11366. "type": "string"
  11367. },
  11368. "spotcontractid": {
  11369. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11370. "type": "integer"
  11371. },
  11372. "spotcontractno": {
  11373. "description": "现货合同编号",
  11374. "type": "string"
  11375. },
  11376. "tradeid": {
  11377. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11378. "type": "string"
  11379. },
  11380. "tradeprice": {
  11381. "description": "成交价格",
  11382. "type": "number"
  11383. },
  11384. "tradeqty": {
  11385. "description": "成交数量",
  11386. "type": "integer"
  11387. },
  11388. "tradetime": {
  11389. "description": "成交时间",
  11390. "type": "string"
  11391. },
  11392. "updatetime": {
  11393. "description": "更新时间",
  11394. "type": "string"
  11395. }
  11396. }
  11397. },
  11398. "erms2.QuerySpotContractRsp": {
  11399. "type": "object",
  11400. "required": [
  11401. "spotcontractid"
  11402. ],
  11403. "properties": {
  11404. "accountid": {
  11405. "description": "资金账户ID",
  11406. "type": "integer"
  11407. },
  11408. "areauserid": {
  11409. "description": "所属机构",
  11410. "type": "integer"
  11411. },
  11412. "closedate": {
  11413. "description": "终止日期",
  11414. "type": "string"
  11415. },
  11416. "closeremark": {
  11417. "description": "结束备注",
  11418. "type": "string"
  11419. },
  11420. "closetradedate": {
  11421. "description": "完结交易日(yyyyMMdd)",
  11422. "type": "string"
  11423. },
  11424. "closetype": {
  11425. "description": "终止类型 - 1:违约 2:提前终止",
  11426. "type": "integer"
  11427. },
  11428. "contractamount": {
  11429. "description": "合同金额",
  11430. "type": "number"
  11431. },
  11432. "contractattachment": {
  11433. "description": "合同附件",
  11434. "type": "string"
  11435. },
  11436. "contractno": {
  11437. "description": "现货合同编号",
  11438. "type": "string"
  11439. },
  11440. "contractqty": {
  11441. "description": "合同数量(数值) (用于计算)",
  11442. "type": "number"
  11443. },
  11444. "contractqtychar": {
  11445. "description": "合同数量\\已订价数量 (用于显示)",
  11446. "type": "string"
  11447. },
  11448. "contractstatus": {
  11449. "description": "合同状态 - 0:未结束 1:已结束",
  11450. "type": "integer"
  11451. },
  11452. "contracttype": {
  11453. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11454. "type": "integer"
  11455. },
  11456. "customeraccountid": {
  11457. "description": "客户资金账户ID",
  11458. "type": "integer"
  11459. },
  11460. "customeruserid": {
  11461. "description": "客户ID",
  11462. "type": "integer"
  11463. },
  11464. "deliverygoodsdesc": {
  11465. "description": "品种说明",
  11466. "type": "string"
  11467. },
  11468. "deliverygoodsid": {
  11469. "description": "现货品种ID",
  11470. "type": "integer"
  11471. },
  11472. "handlestatus": {
  11473. "description": "处理状态",
  11474. "type": "integer"
  11475. },
  11476. "invoiceatt": {
  11477. "description": "发票附件",
  11478. "type": "string"
  11479. },
  11480. "invoicedatetime": {
  11481. "description": "开收票更新时间",
  11482. "type": "string"
  11483. },
  11484. "invoiceopentime": {
  11485. "description": "开票时间",
  11486. "type": "string"
  11487. },
  11488. "invoiceremark": {
  11489. "description": "发票备注",
  11490. "type": "string"
  11491. },
  11492. "invoicestatus": {
  11493. "description": "开收票状态 - 0:未开票 1:已开票",
  11494. "type": "integer"
  11495. },
  11496. "lastdate": {
  11497. "description": "交货时间",
  11498. "type": "string"
  11499. },
  11500. "marketid": {
  11501. "description": "市场ID",
  11502. "type": "integer"
  11503. },
  11504. "paydatetime": {
  11505. "description": "收付款更新时间",
  11506. "type": "string"
  11507. },
  11508. "payremark": {
  11509. "description": "收付款备注",
  11510. "type": "string"
  11511. },
  11512. "paystatus": {
  11513. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11514. "type": "integer"
  11515. },
  11516. "positionqty": {
  11517. "description": "头寸数量 - 合同数量去小数部分",
  11518. "type": "integer"
  11519. },
  11520. "producttype": {
  11521. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11522. "type": "integer"
  11523. },
  11524. "relatedqty": {
  11525. "description": "已关联数量",
  11526. "type": "number"
  11527. },
  11528. "relatedstatus": {
  11529. "description": "关联完结状态 - 0:未结束 1:已结束",
  11530. "type": "integer"
  11531. },
  11532. "remark": {
  11533. "description": "备注",
  11534. "type": "string"
  11535. },
  11536. "signdate": {
  11537. "description": "签订日期",
  11538. "type": "string"
  11539. },
  11540. "spotcontractid": {
  11541. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11542. "type": "string"
  11543. },
  11544. "spotdatetime": {
  11545. "description": "收发货更新时间",
  11546. "type": "string"
  11547. },
  11548. "spotprice": {
  11549. "description": "价格",
  11550. "type": "number"
  11551. },
  11552. "spotremark": {
  11553. "description": "收发货备注",
  11554. "type": "string"
  11555. },
  11556. "spotstatus": {
  11557. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11558. "type": "integer"
  11559. },
  11560. "tradedate": {
  11561. "description": "交易日(yyyyMMdd)",
  11562. "type": "string"
  11563. },
  11564. "userid": {
  11565. "description": "业务员用户ID",
  11566. "type": "integer"
  11567. },
  11568. "warehouseid": {
  11569. "description": "仓库ID",
  11570. "type": "integer"
  11571. },
  11572. "wrfactortypeid": {
  11573. "description": "仓单要素类型ID",
  11574. "type": "integer"
  11575. },
  11576. "wrstandardid": {
  11577. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11578. "type": "integer"
  11579. }
  11580. }
  11581. },
  11582. "erms3.AddErms2ASApplyReq": {
  11583. "type": "object",
  11584. "required": [
  11585. "asapplyid"
  11586. ],
  11587. "properties": {
  11588. "applybasis": {
  11589. "description": "申请基差",
  11590. "type": "number"
  11591. },
  11592. "applystatus": {
  11593. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11594. "type": "integer"
  11595. },
  11596. "asapplyid": {
  11597. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11598. "type": "integer"
  11599. },
  11600. "asname": {
  11601. "description": "策略名称",
  11602. "type": "string"
  11603. },
  11604. "asno": {
  11605. "description": "策略编号",
  11606. "type": "string"
  11607. },
  11608. "auditid": {
  11609. "description": "审核人",
  11610. "type": "integer"
  11611. },
  11612. "auditremark": {
  11613. "description": "审核备注",
  11614. "type": "string"
  11615. },
  11616. "audittime": {
  11617. "description": "审核时间",
  11618. "type": "string"
  11619. },
  11620. "biztype": {
  11621. "description": "业务类型 - 1:正向套利 2:反向套利",
  11622. "type": "integer"
  11623. },
  11624. "createtime": {
  11625. "description": "创建时间",
  11626. "type": "string"
  11627. },
  11628. "creatorid": {
  11629. "description": "创建人",
  11630. "type": "integer"
  11631. },
  11632. "deliverygoodsid": {
  11633. "description": "现货品种ID",
  11634. "type": "integer"
  11635. },
  11636. "futurequote": {
  11637. "description": "期货额度",
  11638. "type": "number"
  11639. },
  11640. "goodsgroupid": {
  11641. "description": "期货品种ID",
  11642. "type": "integer"
  11643. },
  11644. "marketid": {
  11645. "description": "市场ID",
  11646. "type": "integer"
  11647. },
  11648. "remark": {
  11649. "description": "备注",
  11650. "type": "string"
  11651. },
  11652. "spotquota": {
  11653. "description": "现货额度",
  11654. "type": "number"
  11655. },
  11656. "tradedate": {
  11657. "description": "交易日(yyyyMMdd)",
  11658. "type": "string"
  11659. },
  11660. "userid": {
  11661. "description": "所属机构",
  11662. "type": "integer"
  11663. }
  11664. }
  11665. },
  11666. "erms3.AddErms2SpotTradeApplyReq": {
  11667. "type": "object",
  11668. "required": [
  11669. "spottradeid"
  11670. ],
  11671. "properties": {
  11672. "applyjsondetail": {
  11673. "description": "申请明细(JSON)",
  11674. "type": "string"
  11675. },
  11676. "applystatus": {
  11677. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11678. "type": "integer"
  11679. },
  11680. "areauserid": {
  11681. "description": "所属机构",
  11682. "type": "integer"
  11683. },
  11684. "auditid": {
  11685. "description": "审核人",
  11686. "type": "integer"
  11687. },
  11688. "auditremark": {
  11689. "description": "审核备注",
  11690. "type": "string"
  11691. },
  11692. "audittime": {
  11693. "description": "审核时间",
  11694. "type": "string"
  11695. },
  11696. "createtime": {
  11697. "description": "创建时间",
  11698. "type": "string"
  11699. },
  11700. "creatorid": {
  11701. "description": "创建人",
  11702. "type": "integer"
  11703. },
  11704. "deliverygoodsid": {
  11705. "description": "现货品种ID",
  11706. "type": "integer"
  11707. },
  11708. "futureaccountid": {
  11709. "description": "期货资金账户",
  11710. "type": "integer"
  11711. },
  11712. "goodsgroupid": {
  11713. "description": "期货品种",
  11714. "type": "integer"
  11715. },
  11716. "marketid": {
  11717. "description": "市场ID",
  11718. "type": "integer"
  11719. },
  11720. "remark": {
  11721. "description": "备注",
  11722. "type": "string"
  11723. },
  11724. "spotaccountid": {
  11725. "description": "现货资金账户",
  11726. "type": "integer"
  11727. },
  11728. "spottradeid": {
  11729. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11730. "type": "integer"
  11731. },
  11732. "spottradename": {
  11733. "description": "业务名称",
  11734. "type": "string"
  11735. },
  11736. "spottradeno": {
  11737. "description": "业务编号",
  11738. "type": "string"
  11739. },
  11740. "tradedate": {
  11741. "description": "交易日(yyyyMMdd)",
  11742. "type": "string"
  11743. },
  11744. "wrstandardid": {
  11745. "description": "仓单标准ID",
  11746. "type": "integer"
  11747. }
  11748. }
  11749. },
  11750. "erms3.AddSpotContractApplyReq": {
  11751. "type": "object",
  11752. "required": [
  11753. "accountid",
  11754. "areauserid",
  11755. "contractno",
  11756. "contracttype",
  11757. "customeraccountid",
  11758. "customeruserid",
  11759. "details",
  11760. "orimargin",
  11761. "signdate"
  11762. ],
  11763. "properties": {
  11764. "accountid": {
  11765. "description": "资金账户ID",
  11766. "type": "integer"
  11767. },
  11768. "areauserid": {
  11769. "description": "所属机构",
  11770. "type": "integer"
  11771. },
  11772. "contractattachment": {
  11773. "description": "合同附件",
  11774. "type": "string"
  11775. },
  11776. "contractno": {
  11777. "description": "现货合同编号",
  11778. "type": "string"
  11779. },
  11780. "contracttype": {
  11781. "description": "现货合同类型 - 1:采购 -1:销售",
  11782. "type": "integer"
  11783. },
  11784. "creatorid": {
  11785. "description": "申请人",
  11786. "type": "integer"
  11787. },
  11788. "customeraccountid": {
  11789. "description": "客户资金账户ID",
  11790. "type": "integer"
  11791. },
  11792. "customeruserid": {
  11793. "description": "客户ID",
  11794. "type": "integer"
  11795. },
  11796. "details": {
  11797. "description": "明细",
  11798. "type": "array",
  11799. "items": {
  11800. "$ref": "#/definitions/erms3.SoptContractDetail"
  11801. }
  11802. },
  11803. "orimargin": {
  11804. "description": "初始保证金",
  11805. "type": "number"
  11806. },
  11807. "remark": {
  11808. "description": "备注",
  11809. "type": "string"
  11810. },
  11811. "signdate": {
  11812. "description": "签订日期",
  11813. "type": "string"
  11814. }
  11815. }
  11816. },
  11817. "erms3.AddSpotContractApplyRsp": {
  11818. "type": "object",
  11819. "required": [
  11820. "contractno"
  11821. ],
  11822. "properties": {
  11823. "contractno": {
  11824. "description": "现货合同编号",
  11825. "type": "string"
  11826. },
  11827. "spotcontractid": {
  11828. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11829. "type": "integer"
  11830. }
  11831. }
  11832. },
  11833. "erms3.AddUserInfoApplyReq": {
  11834. "type": "object",
  11835. "required": [
  11836. "userid"
  11837. ],
  11838. "properties": {
  11839. "accountid": {
  11840. "description": "交易系统帐号Id (加密存储)",
  11841. "type": "integer"
  11842. },
  11843. "areacode": {
  11844. "description": "机构代码",
  11845. "type": "string"
  11846. },
  11847. "areaid": {
  11848. "description": "机构Id",
  11849. "type": "integer"
  11850. },
  11851. "attachment1": {
  11852. "description": "附件1",
  11853. "type": "string"
  11854. },
  11855. "attachment2": {
  11856. "description": "附件2",
  11857. "type": "string"
  11858. },
  11859. "attachment3": {
  11860. "description": "附件3",
  11861. "type": "string"
  11862. },
  11863. "attachment4": {
  11864. "description": "附件4",
  11865. "type": "string"
  11866. },
  11867. "attachment5": {
  11868. "description": "附件5",
  11869. "type": "string"
  11870. },
  11871. "auditedby": {
  11872. "description": "审核人",
  11873. "type": "string"
  11874. },
  11875. "auditime": {
  11876. "description": "审核时间",
  11877. "type": "string"
  11878. },
  11879. "auditsrc": {
  11880. "description": "审核来源 - 1:管理端 2:终端",
  11881. "type": "integer"
  11882. },
  11883. "bankaccount": {
  11884. "description": "银行帐号 (加密存储)",
  11885. "type": "string"
  11886. },
  11887. "bankaccountname": {
  11888. "description": "收款人名称",
  11889. "type": "string"
  11890. },
  11891. "bankcardbackphotourl": {
  11892. "description": "银行卡背面照地址",
  11893. "type": "string"
  11894. },
  11895. "bankcardfrontphotourl": {
  11896. "description": "银行卡正面照地址",
  11897. "type": "string"
  11898. },
  11899. "bankid": {
  11900. "description": "银行编码",
  11901. "type": "string"
  11902. },
  11903. "bankname": {
  11904. "description": "银行名称",
  11905. "type": "string"
  11906. },
  11907. "bankpictureurl": {
  11908. "description": "银行卡正面地址",
  11909. "type": "string"
  11910. },
  11911. "biznature": {
  11912. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11913. "type": "integer"
  11914. },
  11915. "bizscope": {
  11916. "description": "企业经营范围(企业)",
  11917. "type": "string"
  11918. },
  11919. "biztype": {
  11920. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11921. "type": "integer"
  11922. },
  11923. "brokerid": {
  11924. "description": "经纪人ID(加密存储)",
  11925. "type": "string"
  11926. },
  11927. "cardaddress": {
  11928. "description": "证件地址 (加密存储)",
  11929. "type": "string"
  11930. },
  11931. "cardbackphotourl": {
  11932. "description": "背面证件照地址",
  11933. "type": "string"
  11934. },
  11935. "cardfrontphotourl": {
  11936. "description": "正面证件照地址",
  11937. "type": "string"
  11938. },
  11939. "cardnum": {
  11940. "description": "证件号码 (加密存储)",
  11941. "type": "string"
  11942. },
  11943. "cardtype": {
  11944. "description": "证件类型",
  11945. "type": "integer"
  11946. },
  11947. "cityid": {
  11948. "description": "市",
  11949. "type": "integer"
  11950. },
  11951. "company": {
  11952. "description": "公司(个人)",
  11953. "type": "string"
  11954. },
  11955. "contactcardbackphotourl": {
  11956. "description": "联系人证件背面图片地址",
  11957. "type": "string"
  11958. },
  11959. "contactcardfrontphotourl": {
  11960. "description": "联系人证件正面图片地址",
  11961. "type": "string"
  11962. },
  11963. "contactname": {
  11964. "description": "联系人",
  11965. "type": "string"
  11966. },
  11967. "countryid": {
  11968. "description": "国家",
  11969. "type": "integer"
  11970. },
  11971. "createtime": {
  11972. "description": "开户申请时间",
  11973. "type": "string"
  11974. },
  11975. "cusbankid": {
  11976. "description": "签约类型",
  11977. "type": "string"
  11978. },
  11979. "cusbankname": {
  11980. "description": "签约类型名称",
  11981. "type": "string"
  11982. },
  11983. "customername": {
  11984. "description": "客户名称(企业名称)",
  11985. "type": "string"
  11986. },
  11987. "districtid": {
  11988. "description": "地区",
  11989. "type": "integer"
  11990. },
  11991. "email": {
  11992. "description": "Email地址(加密存储)",
  11993. "type": "string"
  11994. },
  11995. "halfbodyphotourl": {
  11996. "description": "半身照地址",
  11997. "type": "string"
  11998. },
  11999. "headurl": {
  12000. "description": "头像地址",
  12001. "type": "string"
  12002. },
  12003. "ipaddress": {
  12004. "description": "IP地址",
  12005. "type": "string"
  12006. },
  12007. "isvalidate": {
  12008. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12009. "type": "string"
  12010. },
  12011. "legalcardbackphotourl": {
  12012. "description": "法人身份证背面照地址",
  12013. "type": "string"
  12014. },
  12015. "legalcardfrontphotourl": {
  12016. "description": "法人身份证正面照地址",
  12017. "type": "string"
  12018. },
  12019. "legalpersonname": {
  12020. "description": "法人姓名(企业)",
  12021. "type": "string"
  12022. },
  12023. "logincode": {
  12024. "description": "登录帐号 (加密存储)",
  12025. "type": "string"
  12026. },
  12027. "memberareaid": {
  12028. "description": "所属会员ID",
  12029. "type": "integer"
  12030. },
  12031. "mobile2": {
  12032. "description": "手机号码[明文-尚志]",
  12033. "type": "string"
  12034. },
  12035. "mobilephone": {
  12036. "description": "手机号码 (加密存储)",
  12037. "type": "string"
  12038. },
  12039. "modifiedby": {
  12040. "description": "修改人帐号",
  12041. "type": "integer"
  12042. },
  12043. "modifiedtime": {
  12044. "description": "修改时间",
  12045. "type": "string"
  12046. },
  12047. "nickname": {
  12048. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12049. "type": "string"
  12050. },
  12051. "openmode": {
  12052. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12053. "type": "integer"
  12054. },
  12055. "otherurl": {
  12056. "description": "其它图片地址[使用分号分隔]",
  12057. "type": "string"
  12058. },
  12059. "postalcode": {
  12060. "description": "邮政编码",
  12061. "type": "string"
  12062. },
  12063. "provinceid": {
  12064. "description": "省",
  12065. "type": "integer"
  12066. },
  12067. "proxystatementurl": {
  12068. "description": "授权委托书",
  12069. "type": "string"
  12070. },
  12071. "qq": {
  12072. "description": "QQ(加密存储",
  12073. "type": "string"
  12074. },
  12075. "referral": {
  12076. "description": "推荐人编码",
  12077. "type": "string"
  12078. },
  12079. "remark": {
  12080. "description": "备注",
  12081. "type": "string"
  12082. },
  12083. "removebeforestatus": {
  12084. "description": "REMOVEBEFORESTATUS",
  12085. "type": "integer"
  12086. },
  12087. "sex": {
  12088. "description": "性别 - 0:女 1:男",
  12089. "type": "integer"
  12090. },
  12091. "signedstatus": {
  12092. "description": "账户一号签签约状态",
  12093. "type": "integer"
  12094. },
  12095. "signpdfurl": {
  12096. "description": "签约pdf文件",
  12097. "type": "string"
  12098. },
  12099. "subbranch": {
  12100. "description": "开户支行",
  12101. "type": "string"
  12102. },
  12103. "taxpayernum": {
  12104. "description": "纳税人识别号",
  12105. "type": "string"
  12106. },
  12107. "telphone": {
  12108. "description": "联系电话(加密存储)",
  12109. "type": "string"
  12110. },
  12111. "userid": {
  12112. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12113. "type": "integer"
  12114. },
  12115. "userinfotype": {
  12116. "description": "用户信息类型 - 1:个人 2:企业",
  12117. "type": "integer"
  12118. },
  12119. "username": {
  12120. "description": "用户姓名",
  12121. "type": "string"
  12122. },
  12123. "userstate": {
  12124. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12125. "type": "integer"
  12126. },
  12127. "usertype": {
  12128. "description": "用户类型 - 1:投资者 2:机构",
  12129. "type": "integer"
  12130. },
  12131. "videourl": {
  12132. "description": "视频地址",
  12133. "type": "string"
  12134. },
  12135. "wechat": {
  12136. "description": "微信号 (加密存储)",
  12137. "type": "string"
  12138. }
  12139. }
  12140. },
  12141. "erms3.CustomerInfo": {
  12142. "type": "object",
  12143. "required": [
  12144. "userid"
  12145. ],
  12146. "properties": {
  12147. "accountids": {
  12148. "description": "资金账户ID列表",
  12149. "type": "array",
  12150. "items": {
  12151. "type": "integer"
  12152. }
  12153. },
  12154. "customername": {
  12155. "description": "名称(企业名称)",
  12156. "type": "string"
  12157. },
  12158. "mobile": {
  12159. "description": "手机号码",
  12160. "type": "string"
  12161. },
  12162. "userid": {
  12163. "description": "用户ID",
  12164. "type": "integer"
  12165. }
  12166. }
  12167. },
  12168. "erms3.ModifyUserInfoApplyReq": {
  12169. "type": "object",
  12170. "required": [
  12171. "userid"
  12172. ],
  12173. "properties": {
  12174. "accountid": {
  12175. "description": "交易系统帐号Id (加密存储)",
  12176. "type": "integer"
  12177. },
  12178. "areacode": {
  12179. "description": "机构代码",
  12180. "type": "string"
  12181. },
  12182. "areaid": {
  12183. "description": "机构Id",
  12184. "type": "integer"
  12185. },
  12186. "attachment1": {
  12187. "description": "附件1",
  12188. "type": "string"
  12189. },
  12190. "attachment2": {
  12191. "description": "附件2",
  12192. "type": "string"
  12193. },
  12194. "attachment3": {
  12195. "description": "附件3",
  12196. "type": "string"
  12197. },
  12198. "attachment4": {
  12199. "description": "附件4",
  12200. "type": "string"
  12201. },
  12202. "attachment5": {
  12203. "description": "附件5",
  12204. "type": "string"
  12205. },
  12206. "auditedby": {
  12207. "description": "审核人",
  12208. "type": "string"
  12209. },
  12210. "auditime": {
  12211. "description": "审核时间",
  12212. "type": "string"
  12213. },
  12214. "auditsrc": {
  12215. "description": "审核来源 - 1:管理端 2:终端",
  12216. "type": "integer"
  12217. },
  12218. "bankaccount": {
  12219. "description": "银行帐号 (加密存储)",
  12220. "type": "string"
  12221. },
  12222. "bankaccountname": {
  12223. "description": "收款人名称",
  12224. "type": "string"
  12225. },
  12226. "bankcardbackphotourl": {
  12227. "description": "银行卡背面照地址",
  12228. "type": "string"
  12229. },
  12230. "bankcardfrontphotourl": {
  12231. "description": "银行卡正面照地址",
  12232. "type": "string"
  12233. },
  12234. "bankid": {
  12235. "description": "银行编码",
  12236. "type": "string"
  12237. },
  12238. "bankname": {
  12239. "description": "银行名称",
  12240. "type": "string"
  12241. },
  12242. "bankpictureurl": {
  12243. "description": "银行卡正面地址",
  12244. "type": "string"
  12245. },
  12246. "biznature": {
  12247. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12248. "type": "integer"
  12249. },
  12250. "bizscope": {
  12251. "description": "企业经营范围(企业)",
  12252. "type": "string"
  12253. },
  12254. "biztype": {
  12255. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12256. "type": "integer"
  12257. },
  12258. "brokerid": {
  12259. "description": "经纪人ID(加密存储)",
  12260. "type": "string"
  12261. },
  12262. "cardaddress": {
  12263. "description": "证件地址 (加密存储)",
  12264. "type": "string"
  12265. },
  12266. "cardbackphotourl": {
  12267. "description": "背面证件照地址",
  12268. "type": "string"
  12269. },
  12270. "cardfrontphotourl": {
  12271. "description": "正面证件照地址",
  12272. "type": "string"
  12273. },
  12274. "cardnum": {
  12275. "description": "证件号码 (加密存储)",
  12276. "type": "string"
  12277. },
  12278. "cardtype": {
  12279. "description": "证件类型",
  12280. "type": "integer"
  12281. },
  12282. "cityid": {
  12283. "description": "市",
  12284. "type": "integer"
  12285. },
  12286. "company": {
  12287. "description": "公司(个人)",
  12288. "type": "string"
  12289. },
  12290. "contactcardbackphotourl": {
  12291. "description": "联系人证件背面图片地址",
  12292. "type": "string"
  12293. },
  12294. "contactcardfrontphotourl": {
  12295. "description": "联系人证件正面图片地址",
  12296. "type": "string"
  12297. },
  12298. "contactname": {
  12299. "description": "联系人",
  12300. "type": "string"
  12301. },
  12302. "countryid": {
  12303. "description": "国家",
  12304. "type": "integer"
  12305. },
  12306. "createtime": {
  12307. "description": "开户申请时间",
  12308. "type": "string"
  12309. },
  12310. "cusbankid": {
  12311. "description": "签约类型",
  12312. "type": "string"
  12313. },
  12314. "cusbankname": {
  12315. "description": "签约类型名称",
  12316. "type": "string"
  12317. },
  12318. "customername": {
  12319. "description": "客户名称(企业名称)",
  12320. "type": "string"
  12321. },
  12322. "districtid": {
  12323. "description": "地区",
  12324. "type": "integer"
  12325. },
  12326. "email": {
  12327. "description": "Email地址(加密存储)",
  12328. "type": "string"
  12329. },
  12330. "halfbodyphotourl": {
  12331. "description": "半身照地址",
  12332. "type": "string"
  12333. },
  12334. "headurl": {
  12335. "description": "头像地址",
  12336. "type": "string"
  12337. },
  12338. "ipaddress": {
  12339. "description": "IP地址",
  12340. "type": "string"
  12341. },
  12342. "isvalidate": {
  12343. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12344. "type": "string"
  12345. },
  12346. "legalcardbackphotourl": {
  12347. "description": "法人身份证背面照地址",
  12348. "type": "string"
  12349. },
  12350. "legalcardfrontphotourl": {
  12351. "description": "法人身份证正面照地址",
  12352. "type": "string"
  12353. },
  12354. "legalpersonname": {
  12355. "description": "法人姓名(企业)",
  12356. "type": "string"
  12357. },
  12358. "logincode": {
  12359. "description": "登录帐号 (加密存储)",
  12360. "type": "string"
  12361. },
  12362. "memberareaid": {
  12363. "description": "所属会员ID",
  12364. "type": "integer"
  12365. },
  12366. "mobile2": {
  12367. "description": "手机号码[明文-尚志]",
  12368. "type": "string"
  12369. },
  12370. "mobilephone": {
  12371. "description": "手机号码 (加密存储)",
  12372. "type": "string"
  12373. },
  12374. "modifiedby": {
  12375. "description": "修改人帐号",
  12376. "type": "integer"
  12377. },
  12378. "modifiedtime": {
  12379. "description": "修改时间",
  12380. "type": "string"
  12381. },
  12382. "nickname": {
  12383. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12384. "type": "string"
  12385. },
  12386. "openmode": {
  12387. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12388. "type": "integer"
  12389. },
  12390. "otherurl": {
  12391. "description": "其它图片地址[使用分号分隔]",
  12392. "type": "string"
  12393. },
  12394. "postalcode": {
  12395. "description": "邮政编码",
  12396. "type": "string"
  12397. },
  12398. "provinceid": {
  12399. "description": "省",
  12400. "type": "integer"
  12401. },
  12402. "proxystatementurl": {
  12403. "description": "授权委托书",
  12404. "type": "string"
  12405. },
  12406. "qq": {
  12407. "description": "QQ(加密存储",
  12408. "type": "string"
  12409. },
  12410. "referral": {
  12411. "description": "推荐人编码",
  12412. "type": "string"
  12413. },
  12414. "remark": {
  12415. "description": "备注",
  12416. "type": "string"
  12417. },
  12418. "removebeforestatus": {
  12419. "description": "REMOVEBEFORESTATUS",
  12420. "type": "integer"
  12421. },
  12422. "sex": {
  12423. "description": "性别 - 0:女 1:男",
  12424. "type": "integer"
  12425. },
  12426. "signedstatus": {
  12427. "description": "账户一号签签约状态",
  12428. "type": "integer"
  12429. },
  12430. "signpdfurl": {
  12431. "description": "签约pdf文件",
  12432. "type": "string"
  12433. },
  12434. "subbranch": {
  12435. "description": "开户支行",
  12436. "type": "string"
  12437. },
  12438. "taxpayernum": {
  12439. "description": "纳税人识别号",
  12440. "type": "string"
  12441. },
  12442. "telphone": {
  12443. "description": "联系电话(加密存储)",
  12444. "type": "string"
  12445. },
  12446. "userid": {
  12447. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12448. "type": "integer"
  12449. },
  12450. "userinfotype": {
  12451. "description": "用户信息类型 - 1:个人 2:企业",
  12452. "type": "integer"
  12453. },
  12454. "username": {
  12455. "description": "用户姓名",
  12456. "type": "string"
  12457. },
  12458. "userstate": {
  12459. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12460. "type": "integer"
  12461. },
  12462. "usertype": {
  12463. "description": "用户类型 - 1:投资者 2:机构",
  12464. "type": "integer"
  12465. },
  12466. "videourl": {
  12467. "description": "视频地址",
  12468. "type": "string"
  12469. },
  12470. "wechat": {
  12471. "description": "微信号 (加密存储)",
  12472. "type": "string"
  12473. }
  12474. }
  12475. },
  12476. "erms3.QryAuditContractRsp": {
  12477. "type": "object",
  12478. "required": [
  12479. "matchcustomername",
  12480. "spotcontractid"
  12481. ],
  12482. "properties": {
  12483. "accountid": {
  12484. "description": "交易员ID",
  12485. "type": "string"
  12486. },
  12487. "applystatus": {
  12488. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12489. "type": "integer"
  12490. },
  12491. "curdeliveryqty": {
  12492. "description": "未交收量",
  12493. "type": "integer"
  12494. },
  12495. "customername": {
  12496. "description": "采购方ID",
  12497. "type": "string"
  12498. },
  12499. "deliverygoodsid": {
  12500. "description": "品种ID",
  12501. "type": "string"
  12502. },
  12503. "deliveryqty": {
  12504. "description": "交收量",
  12505. "type": "integer"
  12506. },
  12507. "enumdicname": {
  12508. "description": "单位名称",
  12509. "type": "string"
  12510. },
  12511. "matchaccountid": {
  12512. "description": "业务员ID",
  12513. "type": "string"
  12514. },
  12515. "matchcustomername": {
  12516. "description": "销售方ID",
  12517. "type": "string"
  12518. },
  12519. "pricedqty": {
  12520. "description": "定价量",
  12521. "type": "number"
  12522. },
  12523. "signdate": {
  12524. "description": "签订日期",
  12525. "type": "string"
  12526. },
  12527. "spotcontractid": {
  12528. "description": "合同ID",
  12529. "type": "string"
  12530. },
  12531. "totaldqty": {
  12532. "description": "合同量",
  12533. "type": "number"
  12534. },
  12535. "unpricedqty": {
  12536. "description": "未定价量",
  12537. "type": "number"
  12538. },
  12539. "wrstandardname": {
  12540. "description": "商品名称",
  12541. "type": "string"
  12542. }
  12543. }
  12544. },
  12545. "erms3.QryPendingBizRsp": {
  12546. "type": "object",
  12547. "properties": {
  12548. "accountid": {
  12549. "description": "现货账户",
  12550. "type": "string"
  12551. },
  12552. "areaname": {
  12553. "description": "所属部门",
  12554. "type": "string"
  12555. },
  12556. "bizid": {
  12557. "description": "业务ID",
  12558. "type": "string"
  12559. },
  12560. "bizname": {
  12561. "description": "业务名称",
  12562. "type": "string"
  12563. },
  12564. "status": {
  12565. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12566. "type": "integer"
  12567. },
  12568. "type": {
  12569. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12570. "type": "integer"
  12571. }
  12572. }
  12573. },
  12574. "erms3.QueryBusinessInfoRsp": {
  12575. "type": "object",
  12576. "properties": {
  12577. "businessid": {
  12578. "description": "业务ID.",
  12579. "type": "integer"
  12580. },
  12581. "buyamount": {
  12582. "description": "采购额.",
  12583. "type": "number"
  12584. },
  12585. "buyqty": {
  12586. "description": "采购量.",
  12587. "type": "string"
  12588. },
  12589. "futurepl": {
  12590. "description": "期货盈亏.",
  12591. "type": "number"
  12592. },
  12593. "futureqty": {
  12594. "description": "期货敞口.",
  12595. "type": "string"
  12596. },
  12597. "goodsid": {
  12598. "description": "商品名称/商品代码.",
  12599. "type": "string"
  12600. },
  12601. "hedgingqty": {
  12602. "description": "套保量.",
  12603. "type": "string"
  12604. },
  12605. "sellamount": {
  12606. "description": "销售额.",
  12607. "type": "number"
  12608. },
  12609. "sellqty": {
  12610. "description": "销售量.",
  12611. "type": "string"
  12612. },
  12613. "spotmarketvalue": {
  12614. "description": "现货市值.",
  12615. "type": "number"
  12616. },
  12617. "spotpl": {
  12618. "description": "浮动权益.",
  12619. "type": "number"
  12620. },
  12621. "spotqty": {
  12622. "description": "现货量.",
  12623. "type": "string"
  12624. },
  12625. "statu": {
  12626. "description": "状态,0-未结束 1-已结束.",
  12627. "type": "integer"
  12628. },
  12629. "totalpl": {
  12630. "description": "总盈亏.",
  12631. "type": "number"
  12632. },
  12633. "totalqty": {
  12634. "description": "总敞口.",
  12635. "type": "string"
  12636. },
  12637. "type": {
  12638. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12639. "type": "integer"
  12640. }
  12641. }
  12642. },
  12643. "erms3.QuerySpotContractAppleFormRsp": {
  12644. "type": "object",
  12645. "properties": {
  12646. "goodses": {
  12647. "description": "合约列表",
  12648. "type": "array",
  12649. "items": {
  12650. "$ref": "#/definitions/models.GoodsIDAndName"
  12651. }
  12652. },
  12653. "oppositeusers": {
  12654. "description": "对方账号列表",
  12655. "type": "array",
  12656. "items": {
  12657. "$ref": "#/definitions/erms3.CustomerInfo"
  12658. }
  12659. },
  12660. "ouruser": {
  12661. "description": "我方账号",
  12662. "$ref": "#/definitions/erms3.CustomerInfo"
  12663. },
  12664. "warehouseinfos": {
  12665. "description": "仓库信息列表",
  12666. "type": "array",
  12667. "items": {
  12668. "$ref": "#/definitions/models.Warehouseinfo"
  12669. }
  12670. },
  12671. "wrstandards": {
  12672. "description": "仓单标准列表",
  12673. "type": "array",
  12674. "items": {
  12675. "$ref": "#/definitions/models.WRStandardInfo"
  12676. }
  12677. }
  12678. }
  12679. },
  12680. "erms3.QuerySpotContractInfoRsp": {
  12681. "type": "object",
  12682. "properties": {
  12683. "accountid": {
  12684. "description": "表示交易员ID.",
  12685. "type": "integer"
  12686. },
  12687. "curdeliveryqty": {
  12688. "description": "表示未交收量.",
  12689. "type": "number"
  12690. },
  12691. "customername": {
  12692. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12693. "type": "string"
  12694. },
  12695. "deliverygoodsid": {
  12696. "description": "表示品种ID.",
  12697. "type": "string"
  12698. },
  12699. "deliveryqty": {
  12700. "description": "表示交收量.",
  12701. "type": "number"
  12702. },
  12703. "matchaccountid": {
  12704. "description": "表示业务员ID.",
  12705. "type": "integer"
  12706. },
  12707. "matchcustomername": {
  12708. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12709. "type": "string"
  12710. },
  12711. "priceqty": {
  12712. "description": "表示定价量.",
  12713. "type": "number"
  12714. },
  12715. "relatedbizid": {
  12716. "description": "表示业务ID.",
  12717. "type": "string"
  12718. },
  12719. "signdate": {
  12720. "description": "表示签订日期.",
  12721. "type": "string"
  12722. },
  12723. "spotcontractid": {
  12724. "description": "合同ID",
  12725. "type": "string"
  12726. },
  12727. "status": {
  12728. "description": "表示状态,0-履约中 1-已完成.",
  12729. "type": "integer"
  12730. },
  12731. "totalqty": {
  12732. "description": "表示合同量.",
  12733. "type": "number"
  12734. },
  12735. "unpricedqty": {
  12736. "description": "表示未定价量.",
  12737. "type": "number"
  12738. },
  12739. "wrstandardname": {
  12740. "description": "表示商品ID.",
  12741. "type": "string"
  12742. }
  12743. }
  12744. },
  12745. "erms3.QueryUserInfoAppliesRsp": {
  12746. "type": "object",
  12747. "required": [
  12748. "userid"
  12749. ],
  12750. "properties": {
  12751. "biznature": {
  12752. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12753. "type": "integer"
  12754. },
  12755. "contactname": {
  12756. "description": "联系人",
  12757. "type": "string"
  12758. },
  12759. "createtime": {
  12760. "description": "开户申请时间",
  12761. "type": "string"
  12762. },
  12763. "userid": {
  12764. "description": "用户ID(自增ID)",
  12765. "type": "integer"
  12766. },
  12767. "userinfotype": {
  12768. "description": "用户信息类型 - 1:个人 2:企业",
  12769. "type": "integer"
  12770. },
  12771. "username": {
  12772. "description": "用户姓名",
  12773. "type": "string"
  12774. },
  12775. "userstate": {
  12776. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12777. "type": "integer"
  12778. }
  12779. }
  12780. },
  12781. "erms3.QueryUserInfosRsp": {
  12782. "type": "object",
  12783. "required": [
  12784. "userid"
  12785. ],
  12786. "properties": {
  12787. "biznature": {
  12788. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12789. "type": "integer"
  12790. },
  12791. "contactname": {
  12792. "description": "联系人",
  12793. "type": "string"
  12794. },
  12795. "customername": {
  12796. "description": "客户名称(企业名称)",
  12797. "type": "string"
  12798. },
  12799. "userid": {
  12800. "description": "用户ID",
  12801. "type": "integer"
  12802. },
  12803. "userinfotype": {
  12804. "description": "用户信息类型 - 1:个人 2:企业",
  12805. "type": "integer"
  12806. },
  12807. "userstatus": {
  12808. "description": "用户状态 - 1:正常 2:注销",
  12809. "type": "integer"
  12810. }
  12811. }
  12812. },
  12813. "erms3.SoptContractDetail": {
  12814. "type": "object",
  12815. "required": [
  12816. "deliverygoodsid",
  12817. "producttype",
  12818. "unitname",
  12819. "warehouseid",
  12820. "wrstandardid",
  12821. "wrstandardname"
  12822. ],
  12823. "properties": {
  12824. "deliverygoodsdesc": {
  12825. "description": "现货品种说明",
  12826. "type": "string"
  12827. },
  12828. "deliverygoodsid": {
  12829. "description": "现货品种ID",
  12830. "type": "integer"
  12831. },
  12832. "deliverygoodsname": {
  12833. "description": "现货品种名称",
  12834. "type": "string"
  12835. },
  12836. "pointdesc": {
  12837. "description": "点价描述",
  12838. "type": "string"
  12839. },
  12840. "producttype": {
  12841. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12842. "type": "integer"
  12843. },
  12844. "producttypename": {
  12845. "description": "产品类型名称",
  12846. "type": "string"
  12847. },
  12848. "spotPointOrderVoList": {
  12849. "description": "点价列表",
  12850. "type": "array",
  12851. "items": {
  12852. "$ref": "#/definitions/erms3.SpotPointOrder"
  12853. }
  12854. },
  12855. "spotPriceOrderList": {
  12856. "description": "定价列表",
  12857. "type": "array",
  12858. "items": {
  12859. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12860. }
  12861. },
  12862. "unitname": {
  12863. "description": "单位名称",
  12864. "type": "string"
  12865. },
  12866. "warehouseid": {
  12867. "description": "仓库ID",
  12868. "type": "integer"
  12869. },
  12870. "warehousename": {
  12871. "description": "仓库名称",
  12872. "type": "string"
  12873. },
  12874. "wrstandardid": {
  12875. "description": "交易标的ID",
  12876. "type": "integer"
  12877. },
  12878. "wrstandardname": {
  12879. "description": "交易标的名称",
  12880. "type": "string"
  12881. }
  12882. }
  12883. },
  12884. "erms3.SpotPointOrder": {
  12885. "type": "object",
  12886. "required": [
  12887. "basic",
  12888. "goodsid",
  12889. "qty"
  12890. ],
  12891. "properties": {
  12892. "basic": {
  12893. "description": "基差",
  12894. "type": "number"
  12895. },
  12896. "deliveryenddate": {
  12897. "description": "交收结束日期",
  12898. "type": "string"
  12899. },
  12900. "deliverystartdate": {
  12901. "description": "交收开始日期",
  12902. "type": "string"
  12903. },
  12904. "enddate": {
  12905. "description": "点价结束日期",
  12906. "type": "string"
  12907. },
  12908. "goodsid": {
  12909. "description": "商品ID",
  12910. "type": "integer"
  12911. },
  12912. "goodsname": {
  12913. "description": "商品名称",
  12914. "type": "string"
  12915. },
  12916. "qty": {
  12917. "description": "数量",
  12918. "type": "number"
  12919. },
  12920. "startdate": {
  12921. "description": "点价开始日期",
  12922. "type": "string"
  12923. }
  12924. }
  12925. },
  12926. "erms3.SpotPriceOrder": {
  12927. "type": "object",
  12928. "required": [
  12929. "amount",
  12930. "price",
  12931. "qty"
  12932. ],
  12933. "properties": {
  12934. "amount": {
  12935. "description": "金额",
  12936. "type": "number"
  12937. },
  12938. "deliveryenddate": {
  12939. "description": "交收结束日期",
  12940. "type": "string"
  12941. },
  12942. "deliverystartdate": {
  12943. "description": "交收开始日期",
  12944. "type": "string"
  12945. },
  12946. "price": {
  12947. "description": "价格",
  12948. "type": "number"
  12949. },
  12950. "qty": {
  12951. "description": "数量",
  12952. "type": "number"
  12953. }
  12954. }
  12955. },
  12956. "hsby.GetHsbyMyCountRsp": {
  12957. "type": "object",
  12958. "properties": {
  12959. "myCouponCount": {
  12960. "description": "我的优惠卷数量",
  12961. "type": "integer"
  12962. },
  12963. "myOrderDetailListingCount": {
  12964. "description": "我的订单求购中数量",
  12965. "type": "integer"
  12966. },
  12967. "myOrderDetailPreCount": {
  12968. "description": "我的订单抢购中数量",
  12969. "type": "integer"
  12970. },
  12971. "myPackageUnReceiveCount": {
  12972. "description": "我的包裹待收货数量",
  12973. "type": "integer"
  12974. },
  12975. "myPackageUnSendCount": {
  12976. "description": "我的包裹待发货数量",
  12977. "type": "integer"
  12978. },
  12979. "myPayOrderCount": {
  12980. "description": "我的订单待付款数量",
  12981. "type": "integer"
  12982. }
  12983. }
  12984. },
  12985. "hsby.QueryProvincesAndCitiesRsp": {
  12986. "type": "object",
  12987. "properties": {
  12988. "cities": {
  12989. "description": "市",
  12990. "type": "array",
  12991. "items": {
  12992. "$ref": "#/definitions/models.Division"
  12993. }
  12994. },
  12995. "province": {
  12996. "description": "省",
  12997. "$ref": "#/definitions/models.Division"
  12998. }
  12999. }
  13000. },
  13001. "models.Arearole": {
  13002. "type": "object",
  13003. "required": [
  13004. "roletype",
  13005. "userid"
  13006. ],
  13007. "properties": {
  13008. "createtime": {
  13009. "description": "创建时间",
  13010. "type": "string"
  13011. },
  13012. "creatorid": {
  13013. "description": "创建人ID",
  13014. "type": "integer"
  13015. },
  13016. "isreturnscore": {
  13017. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13018. "type": "integer"
  13019. },
  13020. "modifierid": {
  13021. "description": "修改人ID",
  13022. "type": "integer"
  13023. },
  13024. "modifytime": {
  13025. "description": "修改时间",
  13026. "type": "string"
  13027. },
  13028. "orgtype": {
  13029. "description": "组织机构类型 1:机构 2:交易员",
  13030. "type": "integer"
  13031. },
  13032. "outuserid": {
  13033. "description": "外部账户[场外期权做市商]",
  13034. "type": "string"
  13035. },
  13036. "parentuserid": {
  13037. "description": "上级组织机构(组织机构)",
  13038. "type": "integer"
  13039. },
  13040. "roletype": {
  13041. "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:交易员",
  13042. "type": "integer"
  13043. },
  13044. "rootuserid": {
  13045. "description": "顶级组织机构用户ID(组织机构)",
  13046. "type": "integer"
  13047. },
  13048. "shoppassword": {
  13049. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13050. "type": "string"
  13051. },
  13052. "sublevelpath": {
  13053. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13054. "type": "string"
  13055. },
  13056. "tradeaccountid": {
  13057. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13058. "type": "integer"
  13059. },
  13060. "transurl": {
  13061. "description": "物流地址(物流机构)",
  13062. "type": "string"
  13063. },
  13064. "userid": {
  13065. "description": "机构用户ID其他做市关系,都设置为 1",
  13066. "type": "integer"
  13067. }
  13068. }
  13069. },
  13070. "models.Clientfixedadconfig": {
  13071. "type": "object",
  13072. "required": [
  13073. "adsort",
  13074. "adtype"
  13075. ],
  13076. "properties": {
  13077. "adsort": {
  13078. "description": "排序",
  13079. "type": "integer"
  13080. },
  13081. "adtype": {
  13082. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13083. "type": "integer"
  13084. },
  13085. "areauserid": {
  13086. "description": "所属机构ID",
  13087. "type": "integer"
  13088. },
  13089. "createdate": {
  13090. "description": "创建时间",
  13091. "type": "string"
  13092. },
  13093. "creatorid": {
  13094. "description": "创建人",
  13095. "type": "integer"
  13096. },
  13097. "imagepath": {
  13098. "description": "图片",
  13099. "type": "string"
  13100. },
  13101. "isshow": {
  13102. "description": "是否展示 - 0:不展示 1:展示",
  13103. "type": "integer"
  13104. },
  13105. "modifierid": {
  13106. "description": "操作人",
  13107. "type": "integer"
  13108. },
  13109. "recsize": {
  13110. "description": "推荐尺寸",
  13111. "type": "string"
  13112. },
  13113. "title": {
  13114. "description": "标题",
  13115. "type": "string"
  13116. },
  13117. "updatedate": {
  13118. "description": "更新时间",
  13119. "type": "string"
  13120. },
  13121. "urlcontent": {
  13122. "description": "链接(地址或商品ID)",
  13123. "type": "string"
  13124. },
  13125. "urltype": {
  13126. "description": "链接类型 - 1:直接地址 2:商品ID",
  13127. "type": "integer"
  13128. }
  13129. }
  13130. },
  13131. "models.Division": {
  13132. "type": "object",
  13133. "required": [
  13134. "autoid",
  13135. "divisioncode"
  13136. ],
  13137. "properties": {
  13138. "autoid": {
  13139. "description": "自增ID",
  13140. "type": "integer"
  13141. },
  13142. "divisioncode": {
  13143. "description": "行政代码",
  13144. "type": "string"
  13145. },
  13146. "divisionlevel": {
  13147. "description": "行政级别",
  13148. "type": "string"
  13149. },
  13150. "divisionname": {
  13151. "description": "行政名称",
  13152. "type": "string"
  13153. },
  13154. "modifierid": {
  13155. "description": "修改人",
  13156. "type": "integer"
  13157. },
  13158. "modifytime": {
  13159. "description": "修改时间",
  13160. "type": "string"
  13161. },
  13162. "parentcode": {
  13163. "description": "上级行政代码",
  13164. "type": "string"
  13165. },
  13166. "pathname": {
  13167. "description": "路径名称",
  13168. "type": "string"
  13169. },
  13170. "postcode": {
  13171. "description": "邮政编码",
  13172. "type": "string"
  13173. },
  13174. "separablename": {
  13175. "description": "可拆分的全称",
  13176. "type": "string"
  13177. },
  13178. "shortcode": {
  13179. "description": "地区简码",
  13180. "type": "string"
  13181. }
  13182. }
  13183. },
  13184. "models.Enumdicitem": {
  13185. "type": "object",
  13186. "required": [
  13187. "autoid",
  13188. "enumdiccode",
  13189. "enumdicid",
  13190. "enumitemname"
  13191. ],
  13192. "properties": {
  13193. "autoid": {
  13194. "description": "自增ID",
  13195. "type": "integer"
  13196. },
  13197. "bankmappedvalue": {
  13198. "description": "银行服务对应值",
  13199. "type": "string"
  13200. },
  13201. "enumdiccode": {
  13202. "description": "所属枚举代码",
  13203. "type": "string"
  13204. },
  13205. "enumdicid": {
  13206. "description": "所属枚举ID",
  13207. "type": "integer"
  13208. },
  13209. "enumdicname": {
  13210. "description": "枚举项名称",
  13211. "type": "string"
  13212. },
  13213. "enumitemname": {
  13214. "description": "枚举项值",
  13215. "type": "integer"
  13216. },
  13217. "enumitemstatus": {
  13218. "description": "枚举项状态 - 1.启用 2.不启用",
  13219. "type": "integer"
  13220. },
  13221. "enumitemvalue": {
  13222. "description": "通用值 - [币种通用简写]",
  13223. "type": "string"
  13224. },
  13225. "param1": {
  13226. "description": "参数1[币种:币种小数位]",
  13227. "type": "string"
  13228. },
  13229. "param2": {
  13230. "description": "参数1[币种:币种显示单位]",
  13231. "type": "string"
  13232. },
  13233. "remark": {
  13234. "description": "备注",
  13235. "type": "string"
  13236. }
  13237. }
  13238. },
  13239. "models.Ermcp3AreaSpot": {
  13240. "type": "object",
  13241. "properties": {
  13242. "areauserid": {
  13243. "description": "所属机构",
  13244. "type": "integer"
  13245. },
  13246. "decreaseqty": {
  13247. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13248. "type": "number"
  13249. },
  13250. "deliverygoodscode": {
  13251. "description": "现货品种代码",
  13252. "type": "string"
  13253. },
  13254. "deliverygoodsid": {
  13255. "description": "现货品种id",
  13256. "type": "integer"
  13257. },
  13258. "deliverygoodsname": {
  13259. "description": "现货品种名称",
  13260. "type": "string"
  13261. },
  13262. "enumdicname": {
  13263. "description": "单位名称",
  13264. "type": "string"
  13265. },
  13266. "goodsunitid": {
  13267. "description": "现货品种单位id",
  13268. "type": "integer"
  13269. },
  13270. "increaseqty": {
  13271. "description": "增加数量=销售计划数量+采购已定价数量",
  13272. "type": "number"
  13273. },
  13274. "oritoalspotqty": {
  13275. "description": "昨日数量",
  13276. "type": "number"
  13277. },
  13278. "totalspotqty": {
  13279. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13280. "type": "number"
  13281. },
  13282. "updatetime": {
  13283. "description": "更新时间",
  13284. "type": "string"
  13285. }
  13286. }
  13287. },
  13288. "models.Ermcp3AreaSpotDetail": {
  13289. "type": "object",
  13290. "properties": {
  13291. "contracttype": {
  13292. "description": "合同类型 1-采购 -1-销售",
  13293. "type": "integer"
  13294. },
  13295. "createtime": {
  13296. "description": "创建时间",
  13297. "type": "string"
  13298. },
  13299. "deliverygoodscode": {
  13300. "description": "现货品种代码",
  13301. "type": "string"
  13302. },
  13303. "deliverygoodsid": {
  13304. "description": "现货品种id",
  13305. "type": "integer"
  13306. },
  13307. "deliverygoodsname": {
  13308. "description": "现货品种名称",
  13309. "type": "string"
  13310. },
  13311. "enumdicname": {
  13312. "description": "现货商品单位名称",
  13313. "type": "string"
  13314. },
  13315. "logtype": {
  13316. "description": "记录类型 1-套保 2-现货合同",
  13317. "type": "integer"
  13318. },
  13319. "qty": {
  13320. "description": "数量",
  13321. "type": "number"
  13322. },
  13323. "recordname": {
  13324. "description": "类型名称",
  13325. "type": "string"
  13326. },
  13327. "relatedid": {
  13328. "description": "套保计划ID/现货合同ID",
  13329. "type": "string"
  13330. },
  13331. "relatedno": {
  13332. "description": "编号",
  13333. "type": "string"
  13334. },
  13335. "strtime": {
  13336. "description": "时间",
  13337. "type": "string"
  13338. }
  13339. }
  13340. },
  13341. "models.Ermcp3AreaSpotPLReport": {
  13342. "type": "object",
  13343. "properties": {
  13344. "accountid": {
  13345. "description": "期货账户ID (作废, 默认为0)",
  13346. "type": "integer"
  13347. },
  13348. "accountname": {
  13349. "description": "机构名称",
  13350. "type": "string"
  13351. },
  13352. "actualpl": {
  13353. "description": "现货损益",
  13354. "type": "number"
  13355. },
  13356. "areauserid": {
  13357. "description": "所属机构\\交易用户ID",
  13358. "type": "integer"
  13359. },
  13360. "begindate": {
  13361. "description": "开始交易日",
  13362. "type": "string"
  13363. },
  13364. "biztype": {
  13365. "description": "业务类型 - 1:套保 2:套利",
  13366. "type": "integer"
  13367. },
  13368. "brandname": {
  13369. "description": "品牌名称",
  13370. "type": "string"
  13371. },
  13372. "curamount": {
  13373. "description": "期末额",
  13374. "type": "number"
  13375. },
  13376. "curaverageprice": {
  13377. "description": "期末均价",
  13378. "type": "number"
  13379. },
  13380. "curbuyamount": {
  13381. "description": "期末采购总额",
  13382. "type": "number"
  13383. },
  13384. "curbuyqty": {
  13385. "description": "期末采购总量",
  13386. "type": "number"
  13387. },
  13388. "curmarketvalue": {
  13389. "description": "参考市值(期末市值)",
  13390. "type": "number"
  13391. },
  13392. "curqty": {
  13393. "description": "期末量",
  13394. "type": "number"
  13395. },
  13396. "currencyid": {
  13397. "description": "结算币种ID【原值】",
  13398. "type": "integer"
  13399. },
  13400. "currencyname": {
  13401. "description": "币种名称",
  13402. "type": "string"
  13403. },
  13404. "cursellamount": {
  13405. "description": "期末销售总额",
  13406. "type": "number"
  13407. },
  13408. "cursellqty": {
  13409. "description": "期末销售总量",
  13410. "type": "number"
  13411. },
  13412. "curspotprice": {
  13413. "description": "参考市价(最新价)",
  13414. "type": "number"
  13415. },
  13416. "cycletime": {
  13417. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13418. "type": "string"
  13419. },
  13420. "cycletype": {
  13421. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13422. "type": "integer"
  13423. },
  13424. "deliverygoodscode": {
  13425. "description": "现货商品代码",
  13426. "type": "string"
  13427. },
  13428. "deliverygoodsid": {
  13429. "description": "现货品种ID",
  13430. "type": "integer"
  13431. },
  13432. "deliverygoodsname": {
  13433. "description": "现货商品名称",
  13434. "type": "string"
  13435. },
  13436. "enddate": {
  13437. "description": "结束交易日",
  13438. "type": "string"
  13439. },
  13440. "enumdicname": {
  13441. "description": "现货商品单位名称",
  13442. "type": "string"
  13443. },
  13444. "floatpl": {
  13445. "description": "浮动损益",
  13446. "type": "number"
  13447. },
  13448. "goodsunitid": {
  13449. "description": "现货商品单位id",
  13450. "type": "integer"
  13451. },
  13452. "oriamount": {
  13453. "description": "期初额",
  13454. "type": "number"
  13455. },
  13456. "oriaverageprice": {
  13457. "description": "期初均价",
  13458. "type": "number"
  13459. },
  13460. "oribuyamount": {
  13461. "description": "期初采购总额",
  13462. "type": "number"
  13463. },
  13464. "oribuyqty": {
  13465. "description": "期初采购总量",
  13466. "type": "number"
  13467. },
  13468. "oriqty": {
  13469. "description": "期初量",
  13470. "type": "number"
  13471. },
  13472. "orisellamount": {
  13473. "description": "期初销售总额",
  13474. "type": "number"
  13475. },
  13476. "orisellqty": {
  13477. "description": "期初销售总量",
  13478. "type": "number"
  13479. },
  13480. "reckondate": {
  13481. "description": "日照时期(yyyyMMdd)",
  13482. "type": "string"
  13483. },
  13484. "spotgoodsbrandid": {
  13485. "description": "现货品牌ID",
  13486. "type": "integer"
  13487. },
  13488. "todaybuyamount": {
  13489. "description": "今日采购额(今采购额)",
  13490. "type": "number"
  13491. },
  13492. "todaybuyaverageprice": {
  13493. "description": "今日采购均价",
  13494. "type": "number"
  13495. },
  13496. "todaybuyqty": {
  13497. "description": "今日采购量(今采购量)",
  13498. "type": "number"
  13499. },
  13500. "todayinqty": {
  13501. "description": "今日入库量(今入库量)",
  13502. "type": "number"
  13503. },
  13504. "todayoutqty": {
  13505. "description": "今日出库量(今出库量)",
  13506. "type": "number"
  13507. },
  13508. "todaysellamount": {
  13509. "description": "今日销售额(今销售额)",
  13510. "type": "number"
  13511. },
  13512. "todaysellaverageprice": {
  13513. "description": "今日销售均价",
  13514. "type": "number"
  13515. },
  13516. "todaysellqty": {
  13517. "description": "今日销售量(今销售量)",
  13518. "type": "number"
  13519. },
  13520. "unitid": {
  13521. "description": "品类单位id",
  13522. "type": "integer"
  13523. },
  13524. "unitidname": {
  13525. "description": "品类单位名称",
  13526. "type": "string"
  13527. },
  13528. "updatetime": {
  13529. "description": "更新时间",
  13530. "type": "string"
  13531. },
  13532. "wrfactortypeid": {
  13533. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13534. "type": "integer"
  13535. },
  13536. "wrstandardcode": {
  13537. "description": "品类代码",
  13538. "type": "string"
  13539. },
  13540. "wrstandardid": {
  13541. "description": "现货品类ID",
  13542. "type": "integer"
  13543. },
  13544. "wrstandardname": {
  13545. "description": "品类名称",
  13546. "type": "string"
  13547. }
  13548. }
  13549. },
  13550. "models.Ermcp3AreaStock": {
  13551. "type": "object",
  13552. "required": [
  13553. "userid"
  13554. ],
  13555. "properties": {
  13556. "brandname": {
  13557. "description": "品牌名称",
  13558. "type": "string"
  13559. },
  13560. "curstock": {
  13561. "description": "期末库存量(今日量)",
  13562. "type": "number"
  13563. },
  13564. "deliverygoodscode": {
  13565. "description": "现货品种代码",
  13566. "type": "string"
  13567. },
  13568. "deliverygoodsid": {
  13569. "description": "现货品种id",
  13570. "type": "integer"
  13571. },
  13572. "deliverygoodsname": {
  13573. "description": "现货品种名称",
  13574. "type": "string"
  13575. },
  13576. "enumdicname": {
  13577. "description": "单位名称",
  13578. "type": "string"
  13579. },
  13580. "goodsunitid": {
  13581. "description": "现货商品单位id",
  13582. "type": "integer"
  13583. },
  13584. "oristock": {
  13585. "description": "期初库存量(昨日量)",
  13586. "type": "number"
  13587. },
  13588. "spotgoodsbrandid": {
  13589. "description": "现货品牌ID",
  13590. "type": "integer"
  13591. },
  13592. "todaybuyinqty": {
  13593. "description": "今日采购入库量",
  13594. "type": "number"
  13595. },
  13596. "todayproduceinqty": {
  13597. "description": "今日生产入库量",
  13598. "type": "number"
  13599. },
  13600. "todayproduceoutqty": {
  13601. "description": "今日生产出库量",
  13602. "type": "number"
  13603. },
  13604. "todayselloutqty": {
  13605. "description": "今日销售出库量",
  13606. "type": "number"
  13607. },
  13608. "unitid": {
  13609. "description": "单位id",
  13610. "type": "integer"
  13611. },
  13612. "updatetime": {
  13613. "description": "更新时间",
  13614. "type": "string"
  13615. },
  13616. "userid": {
  13617. "description": "机构ID",
  13618. "type": "integer"
  13619. },
  13620. "username": {
  13621. "description": "机构名称",
  13622. "type": "string"
  13623. },
  13624. "warehousecode": {
  13625. "description": "仓库代码",
  13626. "type": "string"
  13627. },
  13628. "warehouseinfoid": {
  13629. "description": "仓库ID",
  13630. "type": "string"
  13631. },
  13632. "warehousename": {
  13633. "description": "仓库名称",
  13634. "type": "string"
  13635. },
  13636. "warehousetype": {
  13637. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13638. "type": "integer"
  13639. },
  13640. "wrstandardcode": {
  13641. "description": "品类代码",
  13642. "type": "string"
  13643. },
  13644. "wrstandardid": {
  13645. "description": "品类ID",
  13646. "type": "string"
  13647. },
  13648. "wrstandardname": {
  13649. "description": "品类名称",
  13650. "type": "string"
  13651. }
  13652. }
  13653. },
  13654. "models.Ermcp3AreaStockApply": {
  13655. "type": "object",
  13656. "properties": {
  13657. "applyid": {
  13658. "description": "申请人",
  13659. "type": "integer"
  13660. },
  13661. "applyname": {
  13662. "description": "申请人名称",
  13663. "type": "string"
  13664. },
  13665. "applyremark": {
  13666. "description": "申请备注",
  13667. "type": "string"
  13668. },
  13669. "applysrc": {
  13670. "description": "申请来源 - 1:管理端 2:终端",
  13671. "type": "integer"
  13672. },
  13673. "applystatus": {
  13674. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13675. "type": "integer"
  13676. },
  13677. "applytime": {
  13678. "description": "申请时间",
  13679. "type": "string"
  13680. },
  13681. "auditid": {
  13682. "description": "审核人",
  13683. "type": "integer"
  13684. },
  13685. "auditname": {
  13686. "description": "审核人名称",
  13687. "type": "string"
  13688. },
  13689. "auditremark": {
  13690. "description": "审核备注",
  13691. "type": "string"
  13692. },
  13693. "auditsrc": {
  13694. "description": "审核来源 - 1:管理端 2:终端",
  13695. "type": "integer"
  13696. },
  13697. "audittime": {
  13698. "description": "审核时间",
  13699. "type": "string"
  13700. },
  13701. "audittradedate": {
  13702. "description": "审核交易日(yyyyMMdd)",
  13703. "type": "string"
  13704. },
  13705. "brandname": {
  13706. "description": "品牌名称",
  13707. "type": "string"
  13708. },
  13709. "buynickname": {
  13710. "description": "采购方昵称",
  13711. "type": "string"
  13712. },
  13713. "buyuserid": {
  13714. "description": "采购方userid",
  13715. "type": "integer"
  13716. },
  13717. "buyusername": {
  13718. "description": "采购方名称",
  13719. "type": "string"
  13720. },
  13721. "contractno": {
  13722. "description": "合同编号",
  13723. "type": "string"
  13724. },
  13725. "contractqty": {
  13726. "description": "合同量",
  13727. "type": "number"
  13728. },
  13729. "contracttype": {
  13730. "description": "现货合同类型 - 1:采购 -1:销售",
  13731. "type": "integer"
  13732. },
  13733. "deliverygoodscode": {
  13734. "description": "现货品种代码",
  13735. "type": "string"
  13736. },
  13737. "deliverygoodsid": {
  13738. "description": "现货品种id",
  13739. "type": "integer"
  13740. },
  13741. "deliverygoodsname": {
  13742. "description": "现货品种名称",
  13743. "type": "string"
  13744. },
  13745. "detailjson": {
  13746. "description": "明细数据",
  13747. "type": "string"
  13748. },
  13749. "enumdicname": {
  13750. "description": "现货商品单位名称",
  13751. "type": "string"
  13752. },
  13753. "inoutapplyid": {
  13754. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13755. "type": "string"
  13756. },
  13757. "inouttype": {
  13758. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13759. "type": "integer"
  13760. },
  13761. "pricetype": {
  13762. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13763. "type": "integer"
  13764. },
  13765. "qty": {
  13766. "description": "数量",
  13767. "type": "number"
  13768. },
  13769. "sellnickname": {
  13770. "description": "销售方昵称",
  13771. "type": "string"
  13772. },
  13773. "selluserid": {
  13774. "description": "销售方userid",
  13775. "type": "integer"
  13776. },
  13777. "sellusername": {
  13778. "description": "销售方名称",
  13779. "type": "string"
  13780. },
  13781. "spotcontractid": {
  13782. "description": "关联现货合同ID",
  13783. "type": "string"
  13784. },
  13785. "spotgoodsbrandid": {
  13786. "description": "现货品牌ID",
  13787. "type": "integer"
  13788. },
  13789. "unitid": {
  13790. "description": "单位id",
  13791. "type": "integer"
  13792. },
  13793. "userid": {
  13794. "description": "机构ID",
  13795. "type": "integer"
  13796. },
  13797. "warehousecode": {
  13798. "description": "仓库代码",
  13799. "type": "string"
  13800. },
  13801. "warehouseinfoid": {
  13802. "description": "现货仓库ID",
  13803. "type": "string"
  13804. },
  13805. "warehousename": {
  13806. "description": "仓库名称",
  13807. "type": "string"
  13808. },
  13809. "warehousetype": {
  13810. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13811. "type": "integer"
  13812. },
  13813. "wrstandardcode": {
  13814. "description": "品类代码",
  13815. "type": "string"
  13816. },
  13817. "wrstandardid": {
  13818. "description": "品类ID",
  13819. "type": "integer"
  13820. },
  13821. "wrstandardname": {
  13822. "description": "品类名称",
  13823. "type": "string"
  13824. }
  13825. }
  13826. },
  13827. "models.Ermcp3AreaStockApplySum": {
  13828. "type": "object",
  13829. "properties": {
  13830. "brandname": {
  13831. "description": "品牌名称",
  13832. "type": "string"
  13833. },
  13834. "inouttype": {
  13835. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13836. "type": "integer"
  13837. },
  13838. "spotcontractid": {
  13839. "description": "关联现货合同ID",
  13840. "type": "string"
  13841. },
  13842. "spotgoodsbrandid": {
  13843. "description": "品牌id",
  13844. "type": "integer"
  13845. },
  13846. "totalqty": {
  13847. "description": "总数量",
  13848. "type": "number"
  13849. },
  13850. "wrstandardid": {
  13851. "description": "品类id",
  13852. "type": "integer"
  13853. },
  13854. "wrstandardname": {
  13855. "description": "品类名称",
  13856. "type": "string"
  13857. }
  13858. }
  13859. },
  13860. "models.Ermcp3AreaStockReportEx": {
  13861. "type": "object",
  13862. "properties": {
  13863. "begindate": {
  13864. "description": "开始交易日",
  13865. "type": "string"
  13866. },
  13867. "brandname": {
  13868. "description": "品牌名称",
  13869. "type": "string"
  13870. },
  13871. "curstock": {
  13872. "description": "期末库存量",
  13873. "type": "number"
  13874. },
  13875. "cycletime": {
  13876. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13877. "type": "string"
  13878. },
  13879. "cycletype": {
  13880. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13881. "type": "integer"
  13882. },
  13883. "deliverygoodscode": {
  13884. "description": "现货品种代码",
  13885. "type": "string"
  13886. },
  13887. "deliverygoodsid": {
  13888. "description": "现货品种id",
  13889. "type": "integer"
  13890. },
  13891. "deliverygoodsname": {
  13892. "description": "现货品种名称",
  13893. "type": "string"
  13894. },
  13895. "diffqty": {
  13896. "description": "库存变化量 = 期末 - 期初",
  13897. "type": "number"
  13898. },
  13899. "enddate": {
  13900. "description": "结束交易日",
  13901. "type": "string"
  13902. },
  13903. "enumdicname": {
  13904. "description": "单位名称",
  13905. "type": "string"
  13906. },
  13907. "goodsunitid": {
  13908. "description": "现货单位id",
  13909. "type": "integer"
  13910. },
  13911. "oristock": {
  13912. "description": "期初库存量",
  13913. "type": "number"
  13914. },
  13915. "reckondate": {
  13916. "description": "日照时期(yyyyMMdd)",
  13917. "type": "string"
  13918. },
  13919. "spotgoodsbrandid": {
  13920. "description": "现货品牌ID",
  13921. "type": "integer"
  13922. },
  13923. "todaybuyinqty": {
  13924. "description": "今采购入库量",
  13925. "type": "number"
  13926. },
  13927. "todayproduceinqty": {
  13928. "description": "今内部入库量",
  13929. "type": "number"
  13930. },
  13931. "todayproduceoutqty": {
  13932. "description": "今内部出库量",
  13933. "type": "number"
  13934. },
  13935. "todayselloutqty": {
  13936. "description": "今销售出库量",
  13937. "type": "number"
  13938. },
  13939. "unbuyinqty": {
  13940. "description": "采购未入库量(数据库未找到相关字段?)",
  13941. "type": "number"
  13942. },
  13943. "unitid": {
  13944. "description": "品类单位id",
  13945. "type": "integer"
  13946. },
  13947. "unselloutqty": {
  13948. "description": "销售未出库量(数据库未找到相关字段?)",
  13949. "type": "number"
  13950. },
  13951. "updatetime": {
  13952. "description": "更新时间",
  13953. "type": "string"
  13954. },
  13955. "userid": {
  13956. "description": "机构ID",
  13957. "type": "integer"
  13958. },
  13959. "username": {
  13960. "description": "机构名称",
  13961. "type": "string"
  13962. },
  13963. "warehousecode": {
  13964. "description": "仓库代码",
  13965. "type": "string"
  13966. },
  13967. "warehouseinfoid": {
  13968. "description": "仓库ID",
  13969. "type": "string"
  13970. },
  13971. "warehousename": {
  13972. "description": "仓库名称",
  13973. "type": "string"
  13974. },
  13975. "warehousetype": {
  13976. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13977. "type": "integer"
  13978. },
  13979. "wrstandardcode": {
  13980. "description": "品类代码",
  13981. "type": "string"
  13982. },
  13983. "wrstandardid": {
  13984. "description": "品类ID",
  13985. "type": "integer"
  13986. },
  13987. "wrstandardname": {
  13988. "description": "品类名称",
  13989. "type": "string"
  13990. }
  13991. }
  13992. },
  13993. "models.Ermcp3ArealSumPL": {
  13994. "type": "object",
  13995. "properties": {
  13996. "areauserid": {
  13997. "description": "所属机构\\交易用户ID",
  13998. "type": "integer"
  13999. },
  14000. "begindate": {
  14001. "description": "开始交易日",
  14002. "type": "string"
  14003. },
  14004. "currencyid": {
  14005. "description": "结算币种ID",
  14006. "type": "integer"
  14007. },
  14008. "currencyname": {
  14009. "description": "币种名称",
  14010. "type": "string"
  14011. },
  14012. "cycletime": {
  14013. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14014. "type": "string"
  14015. },
  14016. "cycletype": {
  14017. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14018. "type": "integer"
  14019. },
  14020. "enddate": {
  14021. "description": "结束交易日",
  14022. "type": "string"
  14023. },
  14024. "futureactualpl": {
  14025. "description": "期货损益",
  14026. "type": "number"
  14027. },
  14028. "futurefloatpl": {
  14029. "description": "期货浮动损益",
  14030. "type": "number"
  14031. },
  14032. "middlegoodsid": {
  14033. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14034. "type": "integer"
  14035. },
  14036. "reckondate": {
  14037. "description": "日照时期(yyyyMMdd)",
  14038. "type": "string"
  14039. },
  14040. "spotactualpl": {
  14041. "description": "现货损益",
  14042. "type": "number"
  14043. },
  14044. "spotfloatpl": {
  14045. "description": "现货浮动损益",
  14046. "type": "number"
  14047. },
  14048. "sumactualpl": {
  14049. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14050. "type": "number"
  14051. },
  14052. "sumpl": {
  14053. "description": "汇总损益",
  14054. "type": "number"
  14055. },
  14056. "updatetime": {
  14057. "description": "更新时间",
  14058. "type": "string"
  14059. }
  14060. }
  14061. },
  14062. "models.Ermcp3Brand": {
  14063. "type": "object",
  14064. "properties": {
  14065. "areauserid": {
  14066. "description": "用户id",
  14067. "type": "integer"
  14068. },
  14069. "brandid": {
  14070. "description": "品牌id",
  14071. "type": "integer"
  14072. },
  14073. "brandname": {
  14074. "description": "品牌名称",
  14075. "type": "string"
  14076. },
  14077. "deliverygoodsid": {
  14078. "description": "品种ID",
  14079. "type": "integer"
  14080. }
  14081. }
  14082. },
  14083. "models.Ermcp3Contract": {
  14084. "type": "object",
  14085. "properties": {
  14086. "accountid": {
  14087. "description": "期货账户id",
  14088. "type": "string"
  14089. },
  14090. "amount": {
  14091. "description": "金额 [1:一口价、3:暂定价]",
  14092. "type": "number"
  14093. },
  14094. "attachment": {
  14095. "description": "附件",
  14096. "type": "string"
  14097. },
  14098. "auditremark": {
  14099. "description": "审核意见",
  14100. "type": "string"
  14101. },
  14102. "audittime": {
  14103. "description": "审核时间",
  14104. "type": "string"
  14105. },
  14106. "biztype": {
  14107. "description": "业务类型 1-套保 2-套利",
  14108. "type": "integer"
  14109. },
  14110. "brandname": {
  14111. "description": "品牌名称",
  14112. "type": "string"
  14113. },
  14114. "buynickname": {
  14115. "description": "销售方昵称",
  14116. "type": "string"
  14117. },
  14118. "buyuserid": {
  14119. "description": "采购方ID",
  14120. "type": "integer"
  14121. },
  14122. "buyusername": {
  14123. "description": "采购方名称",
  14124. "type": "string"
  14125. },
  14126. "contracctstatus": {
  14127. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14128. "type": "integer"
  14129. },
  14130. "contractmargin": {
  14131. "description": "合同保证金",
  14132. "type": "number"
  14133. },
  14134. "contractno": {
  14135. "description": "现货合同编号",
  14136. "type": "string"
  14137. },
  14138. "contracttype": {
  14139. "description": "现货合同类型 - 1:采购 -1:销售",
  14140. "type": "integer"
  14141. },
  14142. "convertfactor": {
  14143. "description": "标仓系数(品类)",
  14144. "type": "number"
  14145. },
  14146. "createtime": {
  14147. "description": "创建时间",
  14148. "type": "string"
  14149. },
  14150. "currencyid": {
  14151. "description": "币种id",
  14152. "type": "integer"
  14153. },
  14154. "currencyname": {
  14155. "description": "币种名称",
  14156. "type": "string"
  14157. },
  14158. "deliveryenddate": {
  14159. "description": "交收期(结束)",
  14160. "type": "string"
  14161. },
  14162. "deliverygoodscode": {
  14163. "description": "现货品种代码",
  14164. "type": "string"
  14165. },
  14166. "deliverygoodsid": {
  14167. "description": "现货品种ID",
  14168. "type": "integer"
  14169. },
  14170. "deliverygoodsname": {
  14171. "description": "现货品种名称",
  14172. "type": "string"
  14173. },
  14174. "deliverystartdate": {
  14175. "description": "交收期(开始)",
  14176. "type": "string"
  14177. },
  14178. "enddate": {
  14179. "description": "点价结束日期 [2:点价 3:暂定价]",
  14180. "type": "string"
  14181. },
  14182. "enumdicname": {
  14183. "description": "单位名称",
  14184. "type": "string"
  14185. },
  14186. "goodscode": {
  14187. "description": "点价合约代码",
  14188. "type": "string"
  14189. },
  14190. "goodsid": {
  14191. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14192. "type": "integer"
  14193. },
  14194. "goodsname": {
  14195. "description": "点价商品名称",
  14196. "type": "string"
  14197. },
  14198. "margin": {
  14199. "description": "当前保证金",
  14200. "type": "number"
  14201. },
  14202. "meruserid": {
  14203. "description": "跟单员id",
  14204. "type": "integer"
  14205. },
  14206. "meruserlogincode": {
  14207. "description": "跟单员登录代码",
  14208. "type": "string"
  14209. },
  14210. "price": {
  14211. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14212. "type": "number"
  14213. },
  14214. "pricemove": {
  14215. "description": "升贴水 [2:点价 3:暂定价]",
  14216. "type": "number"
  14217. },
  14218. "pricetype": {
  14219. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14220. "type": "integer"
  14221. },
  14222. "producttype": {
  14223. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14224. "type": "integer"
  14225. },
  14226. "qty": {
  14227. "description": "数量",
  14228. "type": "number"
  14229. },
  14230. "remark": {
  14231. "description": "备注",
  14232. "type": "string"
  14233. },
  14234. "saleuserid": {
  14235. "description": "业务员id",
  14236. "type": "integer"
  14237. },
  14238. "saleuserlogincode": {
  14239. "description": "业务员登录代码",
  14240. "type": "string"
  14241. },
  14242. "sellnickname": {
  14243. "description": "采购方昵称",
  14244. "type": "string"
  14245. },
  14246. "selluserid": {
  14247. "description": "销售方ID",
  14248. "type": "integer"
  14249. },
  14250. "sellusername": {
  14251. "description": "销售方名称",
  14252. "type": "string"
  14253. },
  14254. "spotcontractid": {
  14255. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14256. "type": "string"
  14257. },
  14258. "spotgoodsbrandid": {
  14259. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14260. "type": "integer"
  14261. },
  14262. "spotgoodsdesc": {
  14263. "description": "商品型号",
  14264. "type": "string"
  14265. },
  14266. "startdate": {
  14267. "description": "点价开始日期 [2:点价 3:暂定价]",
  14268. "type": "string"
  14269. },
  14270. "tradeuserid": {
  14271. "description": "交易员id",
  14272. "type": "integer"
  14273. },
  14274. "tradeuserlogincode": {
  14275. "description": "交易员登录代码",
  14276. "type": "string"
  14277. },
  14278. "tradeusername": {
  14279. "description": "交易员名称",
  14280. "type": "string"
  14281. },
  14282. "unitid": {
  14283. "description": "单位id(取品类上的单位id)",
  14284. "type": "integer"
  14285. },
  14286. "updatetime": {
  14287. "description": "更新时间",
  14288. "type": "string"
  14289. },
  14290. "userid": {
  14291. "description": "所属机构ID",
  14292. "type": "integer"
  14293. },
  14294. "wrstandardcode": {
  14295. "description": "品类代码",
  14296. "type": "string"
  14297. },
  14298. "wrstandardid": {
  14299. "description": "品类ID",
  14300. "type": "integer"
  14301. },
  14302. "wrstandardname": {
  14303. "description": "品类名称",
  14304. "type": "string"
  14305. }
  14306. }
  14307. },
  14308. "models.Ermcp3ExposureContractDetail": {
  14309. "type": "object",
  14310. "properties": {
  14311. "biztype": {
  14312. "description": "业务类型 1-套保 2-套利",
  14313. "type": "integer"
  14314. },
  14315. "brandname": {
  14316. "description": "品牌名称",
  14317. "type": "string"
  14318. },
  14319. "buyuserid": {
  14320. "description": "采购方id",
  14321. "type": "integer"
  14322. },
  14323. "buyusername": {
  14324. "description": "采购方名称",
  14325. "type": "string"
  14326. },
  14327. "contractno": {
  14328. "description": "合同编号",
  14329. "type": "string"
  14330. },
  14331. "contracttype": {
  14332. "description": "现货合同类型 - 1:采购 -1:销售",
  14333. "type": "integer"
  14334. },
  14335. "convertratio": {
  14336. "description": "折算系数(套保品种)",
  14337. "type": "number"
  14338. },
  14339. "curqty": {
  14340. "description": "今定价量",
  14341. "type": "number"
  14342. },
  14343. "deliverygoodscode": {
  14344. "description": "现货商品代码",
  14345. "type": "string"
  14346. },
  14347. "deliverygoodsid": {
  14348. "description": "现货商品id",
  14349. "type": "integer"
  14350. },
  14351. "deliverygoodsname": {
  14352. "description": "现货商品名称",
  14353. "type": "string"
  14354. },
  14355. "diffqty": {
  14356. "description": "套保品种今变动量",
  14357. "type": "number"
  14358. },
  14359. "enumdicname": {
  14360. "description": "单位名称",
  14361. "type": "string"
  14362. },
  14363. "middlegoodscode": {
  14364. "description": "套保品种代码",
  14365. "type": "string"
  14366. },
  14367. "middlegoodsid": {
  14368. "description": "套保品种id",
  14369. "type": "integer"
  14370. },
  14371. "middlegoodsname": {
  14372. "description": "套保品种名称",
  14373. "type": "string"
  14374. },
  14375. "needarbitrageratio": {
  14376. "description": "应套利比例",
  14377. "type": "number"
  14378. },
  14379. "needhedgeratio": {
  14380. "description": "应套保比例",
  14381. "type": "number"
  14382. },
  14383. "pricedqty": {
  14384. "description": "已定价量",
  14385. "type": "number"
  14386. },
  14387. "qty": {
  14388. "description": "合同量",
  14389. "type": "number"
  14390. },
  14391. "selluserid": {
  14392. "description": "销售方id",
  14393. "type": "integer"
  14394. },
  14395. "sellusername": {
  14396. "description": "销售方名称",
  14397. "type": "string"
  14398. },
  14399. "spotcontractid": {
  14400. "description": "合同id",
  14401. "type": "string"
  14402. },
  14403. "tradedate": {
  14404. "description": "交易日",
  14405. "type": "string"
  14406. },
  14407. "unitid": {
  14408. "description": "品类单位id",
  14409. "type": "integer"
  14410. },
  14411. "userid": {
  14412. "description": "机构id",
  14413. "type": "integer"
  14414. },
  14415. "wrstandardcode": {
  14416. "description": "品类代码",
  14417. "type": "string"
  14418. },
  14419. "wrstandardid": {
  14420. "description": "品类id",
  14421. "type": "integer"
  14422. },
  14423. "wrstandardname": {
  14424. "description": "品类名称",
  14425. "type": "string"
  14426. }
  14427. }
  14428. },
  14429. "models.Ermcp3ExposureDetail": {
  14430. "type": "object",
  14431. "properties": {
  14432. "areauserid": {
  14433. "description": "机构ID",
  14434. "type": "integer"
  14435. },
  14436. "changeQty": {
  14437. "description": "套保变动量",
  14438. "type": "number"
  14439. },
  14440. "contracttype": {
  14441. "description": "现货合同类型 - 1:采购 -1:销售",
  14442. "type": "integer"
  14443. },
  14444. "convertfactor": {
  14445. "description": "标仓系数",
  14446. "type": "number"
  14447. },
  14448. "convertratio": {
  14449. "description": "套保系数",
  14450. "type": "number"
  14451. },
  14452. "createtime": {
  14453. "description": "时间",
  14454. "type": "string"
  14455. },
  14456. "deliverygoodscode": {
  14457. "description": "现货品种代码",
  14458. "type": "string"
  14459. },
  14460. "deliverygoodsid": {
  14461. "description": "现货品种id",
  14462. "type": "integer"
  14463. },
  14464. "deliverygoodsname": {
  14465. "description": "现货品种名称",
  14466. "type": "string"
  14467. },
  14468. "enumdicname": {
  14469. "description": "现货商品单位名称",
  14470. "type": "string"
  14471. },
  14472. "logtype": {
  14473. "description": "类型 - 1:套保计划 2:现货合同",
  14474. "type": "integer"
  14475. },
  14476. "mgunitid": {
  14477. "description": "套保品种单位id",
  14478. "type": "integer"
  14479. },
  14480. "mgunitidname": {
  14481. "description": "套保品种单位名称",
  14482. "type": "string"
  14483. },
  14484. "middlegoodsId": {
  14485. "description": "套保商品id",
  14486. "type": "integer"
  14487. },
  14488. "middlegoodscode": {
  14489. "description": "套保商品代码",
  14490. "type": "string"
  14491. },
  14492. "middlegoodsname": {
  14493. "description": "套保商品名称",
  14494. "type": "string"
  14495. },
  14496. "qty": {
  14497. "description": "数量",
  14498. "type": "number"
  14499. },
  14500. "relateNo": {
  14501. "description": "现货合同/套保计划编号",
  14502. "type": "string"
  14503. }
  14504. }
  14505. },
  14506. "models.Ermcp3ExposureHedgeplanDetail": {
  14507. "type": "object",
  14508. "properties": {
  14509. "biztype": {
  14510. "description": "业务类型 1-套保 2-套利",
  14511. "type": "integer"
  14512. },
  14513. "changqty": {
  14514. "description": "应套保总量变化量",
  14515. "type": "number"
  14516. },
  14517. "contracttype": {
  14518. "description": "计划类型 - 1:采购 -1:销售",
  14519. "type": "integer"
  14520. },
  14521. "convertratio": {
  14522. "description": "折算系数(套保品种)",
  14523. "type": "number"
  14524. },
  14525. "deliverygoodsid": {
  14526. "description": "现货商品id",
  14527. "type": "integer"
  14528. },
  14529. "diffqty": {
  14530. "description": "套保品种今变动量",
  14531. "type": "number"
  14532. },
  14533. "enumdicname": {
  14534. "description": "单位名称(品类)",
  14535. "type": "string"
  14536. },
  14537. "hedgeplanid": {
  14538. "description": "套保计划id",
  14539. "type": "string"
  14540. },
  14541. "hedgeplanno": {
  14542. "description": "套保计划编号",
  14543. "type": "string"
  14544. },
  14545. "hedgeplanstatus": {
  14546. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14547. "type": "integer"
  14548. },
  14549. "mgunitidname": {
  14550. "description": "单位名称(套保商品)",
  14551. "type": "string"
  14552. },
  14553. "middlegoodscode": {
  14554. "description": "套保品种代码",
  14555. "type": "string"
  14556. },
  14557. "middlegoodsid": {
  14558. "description": "套保品种id",
  14559. "type": "integer"
  14560. },
  14561. "middlegoodsname": {
  14562. "description": "套保品种名称",
  14563. "type": "string"
  14564. },
  14565. "needarbitrageratio": {
  14566. "description": "应套利比例",
  14567. "type": "number"
  14568. },
  14569. "needhedgeratio": {
  14570. "description": "应套保比例",
  14571. "type": "number"
  14572. },
  14573. "pricedqty": {
  14574. "description": "已定价量",
  14575. "type": "number"
  14576. },
  14577. "qty": {
  14578. "description": "合同量",
  14579. "type": "number"
  14580. },
  14581. "tradedate": {
  14582. "description": "交易日(登记日)",
  14583. "type": "string"
  14584. },
  14585. "unitid": {
  14586. "description": "品类单位id",
  14587. "type": "integer"
  14588. },
  14589. "userid": {
  14590. "description": "机构id",
  14591. "type": "integer"
  14592. },
  14593. "wrstandardcode": {
  14594. "description": "品类代码",
  14595. "type": "string"
  14596. },
  14597. "wrstandardid": {
  14598. "description": "品类id",
  14599. "type": "integer"
  14600. },
  14601. "wrstandardname": {
  14602. "description": "品类名称",
  14603. "type": "string"
  14604. }
  14605. }
  14606. },
  14607. "models.Ermcp3ExpourseReport": {
  14608. "type": "object",
  14609. "properties": {
  14610. "accountid": {
  14611. "description": "期货账户ID (作废, 默认为0)",
  14612. "type": "integer"
  14613. },
  14614. "accountname": {
  14615. "description": "机构名称",
  14616. "type": "string"
  14617. },
  14618. "arbitrageqty": {
  14619. "description": "套利量",
  14620. "type": "number"
  14621. },
  14622. "areauserid": {
  14623. "description": "所属机构\\交易用户ID",
  14624. "type": "integer"
  14625. },
  14626. "begindate": {
  14627. "description": "开始交易日",
  14628. "type": "string"
  14629. },
  14630. "buyfutureqty": {
  14631. "description": "买入期货数量",
  14632. "type": "number"
  14633. },
  14634. "buyplanqty": {
  14635. "description": "采购计划数量",
  14636. "type": "number"
  14637. },
  14638. "buypricedqty": {
  14639. "description": "采购合同已定价数量",
  14640. "type": "number"
  14641. },
  14642. "cycletime": {
  14643. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14644. "type": "string"
  14645. },
  14646. "cycletype": {
  14647. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14648. "type": "integer"
  14649. },
  14650. "diffexposure": {
  14651. "description": "变动量(套保敞口)",
  14652. "type": "number"
  14653. },
  14654. "difffutuqty": {
  14655. "description": "变动量(期货)",
  14656. "type": "number"
  14657. },
  14658. "diffhedgeqty": {
  14659. "description": "变动量(现货应套保总量)",
  14660. "type": "number"
  14661. },
  14662. "diffmgqtya": {
  14663. "description": "套保变动量",
  14664. "type": "number"
  14665. },
  14666. "diffmgqtyb": {
  14667. "description": "套利变动量",
  14668. "type": "number"
  14669. },
  14670. "diffqty": {
  14671. "description": "变动量(总敞口)",
  14672. "type": "number"
  14673. },
  14674. "diffspotqty": {
  14675. "description": "变动量(现货)",
  14676. "type": "number"
  14677. },
  14678. "enddate": {
  14679. "description": "结束交易日",
  14680. "type": "string"
  14681. },
  14682. "enumdicname": {
  14683. "description": "单位名称",
  14684. "type": "string"
  14685. },
  14686. "hedgeqty": {
  14687. "description": "套保量",
  14688. "type": "number"
  14689. },
  14690. "mgneedhedgeratio": {
  14691. "description": "套保比例(套保品的)",
  14692. "type": "number"
  14693. },
  14694. "middlegoodsid": {
  14695. "description": "套保品种ID",
  14696. "type": "integer"
  14697. },
  14698. "middlegoodsname": {
  14699. "description": "套保商品名称",
  14700. "type": "string"
  14701. },
  14702. "middlgoodscode": {
  14703. "description": "套保商品代码",
  14704. "type": "string"
  14705. },
  14706. "needarbitrageqty": {
  14707. "description": "应套利量",
  14708. "type": "number"
  14709. },
  14710. "needarbitrageratio": {
  14711. "description": "套利比例(套保品的)",
  14712. "type": "number"
  14713. },
  14714. "needhedgeexposoure": {
  14715. "description": "应套保敞口(套保敞口)",
  14716. "type": "number"
  14717. },
  14718. "needhedgeqty": {
  14719. "description": "应套保量",
  14720. "type": "number"
  14721. },
  14722. "needhedgeratio": {
  14723. "description": "应套保敞口比例",
  14724. "type": "number"
  14725. },
  14726. "oriarbitrageqty": {
  14727. "description": "期初套利量",
  14728. "type": "number"
  14729. },
  14730. "oribuyfutureqty": {
  14731. "description": "期初买入期货数量",
  14732. "type": "number"
  14733. },
  14734. "oribuyplanqty": {
  14735. "description": "期初采购计划数量",
  14736. "type": "number"
  14737. },
  14738. "oribuypricedqty": {
  14739. "description": "期初采购合同已定价数量",
  14740. "type": "number"
  14741. },
  14742. "orihedgeqty": {
  14743. "description": "期初套保量",
  14744. "type": "number"
  14745. },
  14746. "orineedarbitrageqty": {
  14747. "description": "期初应套利量",
  14748. "type": "number"
  14749. },
  14750. "orineedhedgeexposoure": {
  14751. "description": "期初应套保敞口",
  14752. "type": "number"
  14753. },
  14754. "orineedhedgeqty": {
  14755. "description": "期初应套保量",
  14756. "type": "number"
  14757. },
  14758. "orisellfutureqty": {
  14759. "description": "期初卖出期货数量",
  14760. "type": "number"
  14761. },
  14762. "orisellplanqty": {
  14763. "description": "期初销售计划数量",
  14764. "type": "number"
  14765. },
  14766. "orisellpricedqty": {
  14767. "description": "期初销售合同已定价数量",
  14768. "type": "number"
  14769. },
  14770. "oritotalexposure": {
  14771. "description": "期初实时总敞口",
  14772. "type": "number"
  14773. },
  14774. "oritotalfutureqty": {
  14775. "description": "期初期货头寸总量",
  14776. "type": "number"
  14777. },
  14778. "oritotalneedhedgeqty": {
  14779. "description": "期初应套保总量",
  14780. "type": "number"
  14781. },
  14782. "oritotalspotqty": {
  14783. "description": "期初现货头寸总量",
  14784. "type": "number"
  14785. },
  14786. "reckondate": {
  14787. "description": "日照时期(yyyyMMdd)",
  14788. "type": "string"
  14789. },
  14790. "sellfutureqty": {
  14791. "description": "卖出期货数量",
  14792. "type": "number"
  14793. },
  14794. "sellplanqty": {
  14795. "description": "销售计划数量",
  14796. "type": "number"
  14797. },
  14798. "sellpricedqty": {
  14799. "description": "销售合同已定价数量",
  14800. "type": "number"
  14801. },
  14802. "totalexposure": {
  14803. "description": "实时总敞口(总敞口)",
  14804. "type": "number"
  14805. },
  14806. "totalfutureqty": {
  14807. "description": "期货头寸总量(期货总量)",
  14808. "type": "number"
  14809. },
  14810. "totalhedgeratio": {
  14811. "description": "敞口比例",
  14812. "type": "number"
  14813. },
  14814. "totalneedhedgeqty": {
  14815. "description": "应套保总量(现货应套保总量)",
  14816. "type": "number"
  14817. },
  14818. "totalspotqty": {
  14819. "description": "现货头寸总量",
  14820. "type": "number"
  14821. },
  14822. "unitid": {
  14823. "description": "单位id",
  14824. "type": "integer"
  14825. },
  14826. "updatetime": {
  14827. "description": "更新时间",
  14828. "type": "string"
  14829. }
  14830. }
  14831. },
  14832. "models.Ermcp3FinanceReport": {
  14833. "type": "object",
  14834. "properties": {
  14835. "areauserid": {
  14836. "description": "所属机构\\交易用户ID",
  14837. "type": "integer"
  14838. },
  14839. "begindate": {
  14840. "description": "开始交易日",
  14841. "type": "string"
  14842. },
  14843. "biztype": {
  14844. "description": "业务类型 - 1:套保 2:套利",
  14845. "type": "integer"
  14846. },
  14847. "brandname": {
  14848. "description": "品牌名称",
  14849. "type": "string"
  14850. },
  14851. "buypreinvoicedamount": {
  14852. "description": "采购预收票额(预收票额)",
  14853. "type": "number"
  14854. },
  14855. "buyprepaidamount": {
  14856. "description": "采购预付款额(预付货款额)",
  14857. "type": "number"
  14858. },
  14859. "buytodayinvoiceamount": {
  14860. "description": "采购今收票额(今收票额)",
  14861. "type": "number"
  14862. },
  14863. "buytodayrefundamount": {
  14864. "description": "采购今收退款额(今收退款额)",
  14865. "type": "number"
  14866. },
  14867. "buytodaysettleamount": {
  14868. "description": "采购今付款额(今付货款额)",
  14869. "type": "number"
  14870. },
  14871. "buyuninvoicedamount": {
  14872. "description": "采购应收票额(应收票额)",
  14873. "type": "number"
  14874. },
  14875. "buyunpaidamount": {
  14876. "description": "采购应付款额(应付货款额)",
  14877. "type": "number"
  14878. },
  14879. "currencyid": {
  14880. "description": "结算币种ID",
  14881. "type": "integer"
  14882. },
  14883. "currencyname": {
  14884. "description": "币种名称",
  14885. "type": "string"
  14886. },
  14887. "cycletime": {
  14888. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14889. "type": "string"
  14890. },
  14891. "cycletype": {
  14892. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14893. "type": "integer"
  14894. },
  14895. "deliverygoodscode": {
  14896. "description": "现货品种代码",
  14897. "type": "string"
  14898. },
  14899. "deliverygoodsid": {
  14900. "description": "现货品种ID",
  14901. "type": "integer"
  14902. },
  14903. "deliverygoodsname": {
  14904. "description": "现货品种名称",
  14905. "type": "string"
  14906. },
  14907. "enddate": {
  14908. "description": "结束交易日",
  14909. "type": "string"
  14910. },
  14911. "reckondate": {
  14912. "description": "日照时期(yyyyMMdd)",
  14913. "type": "string"
  14914. },
  14915. "sellpreinvoicedamount": {
  14916. "description": "销售预开票额(预开票额)",
  14917. "type": "number"
  14918. },
  14919. "sellprepaidamount": {
  14920. "description": "销售预收款额(预收货款额)",
  14921. "type": "number"
  14922. },
  14923. "selltodayinvoiceamount": {
  14924. "description": "销售今开票额(今开票额)",
  14925. "type": "number"
  14926. },
  14927. "selltodayrefundamount": {
  14928. "description": "销售今付退款额(今付退款额)",
  14929. "type": "number"
  14930. },
  14931. "selltodaysettleamount": {
  14932. "description": "销售今收款额(今收货款额)",
  14933. "type": "number"
  14934. },
  14935. "selluninvoicedamount": {
  14936. "description": "销售应开票额(应开票额)",
  14937. "type": "number"
  14938. },
  14939. "sellunpaidamount": {
  14940. "description": "销售应收款额(应收货款额)",
  14941. "type": "number"
  14942. },
  14943. "spotgoodsbrandid": {
  14944. "description": "现货品牌ID",
  14945. "type": "integer"
  14946. },
  14947. "todaypaysum": {
  14948. "description": "今付款合计",
  14949. "type": "number"
  14950. },
  14951. "todayreceivesum": {
  14952. "description": "今收款合计",
  14953. "type": "number"
  14954. },
  14955. "updatetime": {
  14956. "description": "更新时间",
  14957. "type": "string"
  14958. },
  14959. "wrfactortypeid": {
  14960. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14961. "type": "integer"
  14962. },
  14963. "wrstandardcode": {
  14964. "description": "品类代码",
  14965. "type": "string"
  14966. },
  14967. "wrstandardid": {
  14968. "description": "现货商品ID",
  14969. "type": "integer"
  14970. },
  14971. "wrstandardname": {
  14972. "description": "品类名称",
  14973. "type": "string"
  14974. }
  14975. }
  14976. },
  14977. "models.Ermcp3Goods": {
  14978. "type": "object",
  14979. "properties": {
  14980. "agreeunit": {
  14981. "description": "合约单位(合约乘数)",
  14982. "type": "number"
  14983. },
  14984. "enumdicname": {
  14985. "description": "单位名称",
  14986. "type": "string"
  14987. },
  14988. "exexchangecode": {
  14989. "description": "交易所代码",
  14990. "type": "string"
  14991. },
  14992. "goodscode": {
  14993. "description": "期货商品代码",
  14994. "type": "string"
  14995. },
  14996. "goodsid": {
  14997. "description": "期货商品id",
  14998. "type": "integer"
  14999. },
  15000. "goodsname": {
  15001. "description": "期货商品名称",
  15002. "type": "string"
  15003. }
  15004. }
  15005. },
  15006. "models.Ermcp3GoodsGroup": {
  15007. "type": "object",
  15008. "required": [
  15009. "areauserid"
  15010. ],
  15011. "properties": {
  15012. "agreeunit": {
  15013. "description": "合约单位",
  15014. "type": "number"
  15015. },
  15016. "areauserid": {
  15017. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15018. "type": "integer"
  15019. },
  15020. "canshort": {
  15021. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15022. "type": "integer"
  15023. },
  15024. "closepricemode": {
  15025. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15026. "type": "integer"
  15027. },
  15028. "createtime": {
  15029. "description": "创建时间",
  15030. "type": "string"
  15031. },
  15032. "creatorid": {
  15033. "description": "创建人",
  15034. "type": "integer"
  15035. },
  15036. "currencyid": {
  15037. "description": "报价货币ID",
  15038. "type": "integer"
  15039. },
  15040. "decimalplace": {
  15041. "description": "报价小数位",
  15042. "type": "integer"
  15043. },
  15044. "enumdicname": {
  15045. "description": "单位名称",
  15046. "type": "string"
  15047. },
  15048. "excludecfg": {
  15049. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15050. "type": "integer"
  15051. },
  15052. "exexchangeid": {
  15053. "description": "外部交易所ID[通道交易]",
  15054. "type": "integer"
  15055. },
  15056. "goodsgroupid": {
  15057. "description": "商品组ID(自增ID)",
  15058. "type": "integer"
  15059. },
  15060. "goodsgroupname": {
  15061. "description": "商品组名称",
  15062. "type": "string"
  15063. },
  15064. "goodsgroupstatus": {
  15065. "description": "商品组状态 - 1:正常 2:注销",
  15066. "type": "integer"
  15067. },
  15068. "goodunitid": {
  15069. "description": "报价单位ID",
  15070. "type": "integer"
  15071. },
  15072. "groupcategroyid": {
  15073. "description": "品种分类ID",
  15074. "type": "integer"
  15075. },
  15076. "innerdealmode": {
  15077. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15078. "type": "integer"
  15079. },
  15080. "marketid": {
  15081. "description": "所属市场ID",
  15082. "type": "integer"
  15083. },
  15084. "modifierid": {
  15085. "description": "修改人",
  15086. "type": "integer"
  15087. },
  15088. "modifytime": {
  15089. "description": "修改时间",
  15090. "type": "string"
  15091. },
  15092. "outerdealmode": {
  15093. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15094. "type": "integer"
  15095. },
  15096. "outergroupcode": {
  15097. "description": "外部商品组代码[通道交易]",
  15098. "type": "string"
  15099. },
  15100. "quoteminunit": {
  15101. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15102. "type": "integer"
  15103. },
  15104. "quotesourcegroupid": {
  15105. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15106. "type": "integer"
  15107. },
  15108. "syncgoodsqty": {
  15109. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15110. "type": "integer"
  15111. }
  15112. }
  15113. },
  15114. "models.Ermcp3GoodsGroupEx": {
  15115. "type": "object",
  15116. "properties": {
  15117. "convertratio": {
  15118. "description": "折算系数(品种系数)",
  15119. "type": "number"
  15120. },
  15121. "enumdicname": {
  15122. "description": "单位名称",
  15123. "type": "string"
  15124. },
  15125. "exexchangecode": {
  15126. "description": "交易所代码",
  15127. "type": "string"
  15128. },
  15129. "glist": {
  15130. "description": "合约列表",
  15131. "type": "array",
  15132. "items": {
  15133. "$ref": "#/definitions/models.Ermcp3Goods"
  15134. }
  15135. },
  15136. "goodsgroupid": {
  15137. "description": "商品组id",
  15138. "type": "integer"
  15139. },
  15140. "goodsgroupname": {
  15141. "description": "商品组名称",
  15142. "type": "string"
  15143. },
  15144. "goodsunitid": {
  15145. "description": "单位id",
  15146. "type": "integer"
  15147. },
  15148. "middlegoodsid": {
  15149. "description": "套保商品id",
  15150. "type": "integer"
  15151. }
  15152. }
  15153. },
  15154. "models.Ermcp3HedgePlan": {
  15155. "type": "object",
  15156. "properties": {
  15157. "accountid": {
  15158. "description": "资金账号",
  15159. "type": "integer"
  15160. },
  15161. "areauserid": {
  15162. "description": "用户ID",
  15163. "type": "integer"
  15164. },
  15165. "audittime": {
  15166. "description": "审核时间",
  15167. "type": "string"
  15168. },
  15169. "contracttype": {
  15170. "description": "计划类型 - 1:采购 -1:销售",
  15171. "type": "integer"
  15172. },
  15173. "convertfactor": {
  15174. "description": "标仓系数",
  15175. "type": "number"
  15176. },
  15177. "createtime": {
  15178. "description": "创建时间",
  15179. "type": "string"
  15180. },
  15181. "currencyid": {
  15182. "description": "币种id",
  15183. "type": "integer"
  15184. },
  15185. "currencyname": {
  15186. "description": "币种名称",
  15187. "type": "string"
  15188. },
  15189. "deliverygoodscode": {
  15190. "description": "现货品种代码",
  15191. "type": "string"
  15192. },
  15193. "deliverygoodsid": {
  15194. "description": "现货品种ID",
  15195. "type": "integer"
  15196. },
  15197. "deliverygoodsname": {
  15198. "description": "现货品种名称",
  15199. "type": "string"
  15200. },
  15201. "enumdicname": {
  15202. "description": "单位名称(现货商品)",
  15203. "type": "string"
  15204. },
  15205. "hedgeplanid": {
  15206. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15207. "type": "string"
  15208. },
  15209. "hedgeplanno": {
  15210. "description": "套保计划编号(名称)",
  15211. "type": "string"
  15212. },
  15213. "hedgeplanstatus": {
  15214. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15215. "type": "integer"
  15216. },
  15217. "planqty": {
  15218. "description": "计划数量",
  15219. "type": "number"
  15220. },
  15221. "plantime": {
  15222. "description": "计划时间",
  15223. "type": "string"
  15224. },
  15225. "producttype": {
  15226. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15227. "type": "integer"
  15228. },
  15229. "remark": {
  15230. "description": "备注",
  15231. "type": "string"
  15232. },
  15233. "spotgoodsdesc": {
  15234. "description": "商品型号",
  15235. "type": "string"
  15236. },
  15237. "taaccountname": {
  15238. "description": "资金账号名称",
  15239. "type": "string"
  15240. },
  15241. "tradeuserid": {
  15242. "description": "交易用户id",
  15243. "type": "integer"
  15244. },
  15245. "tradeusername": {
  15246. "description": "交易用户名称",
  15247. "type": "string"
  15248. },
  15249. "unitid": {
  15250. "description": "单位id(现货商品)",
  15251. "type": "integer"
  15252. },
  15253. "updatetime": {
  15254. "description": "更新时间",
  15255. "type": "string"
  15256. },
  15257. "wrstandardcode": {
  15258. "description": "品类代码",
  15259. "type": "string"
  15260. },
  15261. "wrstandardid": {
  15262. "description": "品类id",
  15263. "type": "integer"
  15264. },
  15265. "wrstandardname": {
  15266. "description": "品类名称",
  15267. "type": "string"
  15268. },
  15269. "wrunitid": {
  15270. "description": "品类单位id",
  15271. "type": "integer"
  15272. },
  15273. "wrunitidame": {
  15274. "description": "品类单位名称",
  15275. "type": "string"
  15276. }
  15277. }
  15278. },
  15279. "models.Ermcp3MiddleGoodsDetail2": {
  15280. "type": "object",
  15281. "properties": {
  15282. "convertratio": {
  15283. "description": "套保系数(折算系数)",
  15284. "type": "number"
  15285. },
  15286. "gplist": {
  15287. "description": "关联商品组列表",
  15288. "type": "array",
  15289. "items": {
  15290. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15291. }
  15292. },
  15293. "mg": {
  15294. "description": "套保商品信息",
  15295. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15296. }
  15297. }
  15298. },
  15299. "models.Ermcp3MiddleGoodsDetailEx": {
  15300. "type": "object",
  15301. "properties": {
  15302. "dglist": {
  15303. "description": "关联的现货品种列表",
  15304. "type": "array",
  15305. "items": {
  15306. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  15307. }
  15308. },
  15309. "gplist": {
  15310. "description": "关联商品组列表",
  15311. "type": "array",
  15312. "items": {
  15313. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15314. }
  15315. },
  15316. "mg": {
  15317. "description": "套保商品信息",
  15318. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15319. }
  15320. }
  15321. },
  15322. "models.Ermcp3SellBuyContract": {
  15323. "type": "object",
  15324. "properties": {
  15325. "accountid": {
  15326. "description": "期货账户id",
  15327. "type": "string"
  15328. },
  15329. "accountname": {
  15330. "description": "账户名称",
  15331. "type": "string"
  15332. },
  15333. "attachment": {
  15334. "description": "附件",
  15335. "type": "string"
  15336. },
  15337. "audittime": {
  15338. "description": "审核时间",
  15339. "type": "string"
  15340. },
  15341. "biztype": {
  15342. "description": "业务类型 1-套保 2-套利",
  15343. "type": "integer"
  15344. },
  15345. "brandname": {
  15346. "description": "品牌名称",
  15347. "type": "string"
  15348. },
  15349. "contracctstatus": {
  15350. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15351. "type": "integer"
  15352. },
  15353. "contractmargin": {
  15354. "description": "合同保证金",
  15355. "type": "number"
  15356. },
  15357. "contractno": {
  15358. "description": "合同编号",
  15359. "type": "string"
  15360. },
  15361. "contracttype": {
  15362. "description": "合同类型 1-采购, -1-销售",
  15363. "type": "integer"
  15364. },
  15365. "convertfactor": {
  15366. "description": "标仓系数(品类)",
  15367. "type": "number"
  15368. },
  15369. "createtime": {
  15370. "description": "创建时间",
  15371. "type": "string"
  15372. },
  15373. "currencyid": {
  15374. "description": "币种id",
  15375. "type": "integer"
  15376. },
  15377. "currencyname": {
  15378. "description": "币种名称",
  15379. "type": "string"
  15380. },
  15381. "daikaiamount": {
  15382. "description": "应收(开)票额",
  15383. "type": "number"
  15384. },
  15385. "deliveryenddate": {
  15386. "description": "交割结束日",
  15387. "type": "string"
  15388. },
  15389. "deliverygoodscode": {
  15390. "description": "现货品种代码",
  15391. "type": "string"
  15392. },
  15393. "deliverygoodsid": {
  15394. "description": "现货商品ID",
  15395. "type": "integer"
  15396. },
  15397. "deliverygoodsname": {
  15398. "description": "现货品种名称",
  15399. "type": "string"
  15400. },
  15401. "deliverystartdate": {
  15402. "description": "交割开始日",
  15403. "type": "string"
  15404. },
  15405. "enddate": {
  15406. "description": "点价结束日",
  15407. "type": "string"
  15408. },
  15409. "enumdicname": {
  15410. "description": "单位名称",
  15411. "type": "string"
  15412. },
  15413. "goodscode": {
  15414. "description": "点价商品代码",
  15415. "type": "string"
  15416. },
  15417. "goodsid": {
  15418. "description": "点价商品ID",
  15419. "type": "integer"
  15420. },
  15421. "goodsname": {
  15422. "description": "点价商品名称",
  15423. "type": "string"
  15424. },
  15425. "invoiceamount": {
  15426. "description": "已开票额",
  15427. "type": "number"
  15428. },
  15429. "loanamount": {
  15430. "description": "贷款总额=已定价额+调整金额",
  15431. "type": "number"
  15432. },
  15433. "margin": {
  15434. "description": "保证金",
  15435. "type": "number"
  15436. },
  15437. "meruserid": {
  15438. "description": "跟单员id",
  15439. "type": "integer"
  15440. },
  15441. "meruserlogincode": {
  15442. "description": "跟单员登录代码",
  15443. "type": "string"
  15444. },
  15445. "nickname": {
  15446. "description": "账户昵称",
  15447. "type": "string"
  15448. },
  15449. "payamount": {
  15450. "description": "已收付额(收款或付款)",
  15451. "type": "number"
  15452. },
  15453. "preinvoiceamount": {
  15454. "description": "预收(开)票额",
  15455. "type": "number"
  15456. },
  15457. "prepayamount": {
  15458. "description": "预收付额",
  15459. "type": "number"
  15460. },
  15461. "price": {
  15462. "description": "价格",
  15463. "type": "number"
  15464. },
  15465. "pricedamount": {
  15466. "description": "已定价额",
  15467. "type": "number"
  15468. },
  15469. "pricedavg": {
  15470. "description": "已点均价",
  15471. "type": "number"
  15472. },
  15473. "pricedqty": {
  15474. "description": "已定价量",
  15475. "type": "number"
  15476. },
  15477. "pricemove": {
  15478. "description": "升贴水",
  15479. "type": "number"
  15480. },
  15481. "pricetype": {
  15482. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15483. "type": "integer"
  15484. },
  15485. "producttype": {
  15486. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15487. "type": "integer"
  15488. },
  15489. "qty": {
  15490. "description": "合同量",
  15491. "type": "number"
  15492. },
  15493. "reckonadjustamount": {
  15494. "description": "调整金额",
  15495. "type": "number"
  15496. },
  15497. "reckonedamount": {
  15498. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15499. "type": "number"
  15500. },
  15501. "reckonotheramount": {
  15502. "description": "其它费用",
  15503. "type": "number"
  15504. },
  15505. "reckonrealqty": {
  15506. "description": "已确定量",
  15507. "type": "number"
  15508. },
  15509. "remark": {
  15510. "description": "备注",
  15511. "type": "string"
  15512. },
  15513. "saleuserid": {
  15514. "description": "业务员id",
  15515. "type": "integer"
  15516. },
  15517. "saleuserlogincode": {
  15518. "description": "业务员登录代码",
  15519. "type": "string"
  15520. },
  15521. "spotcontractid": {
  15522. "description": "合同ID",
  15523. "type": "string"
  15524. },
  15525. "spotgoodsbrandid": {
  15526. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15527. "type": "integer"
  15528. },
  15529. "spotgoodsdesc": {
  15530. "description": "商品型号(商品规格)",
  15531. "type": "string"
  15532. },
  15533. "startdate": {
  15534. "description": "点价开始日",
  15535. "type": "string"
  15536. },
  15537. "totalamount": {
  15538. "description": "合计总额",
  15539. "type": "number"
  15540. },
  15541. "tradeuserid": {
  15542. "description": "交易员id",
  15543. "type": "integer"
  15544. },
  15545. "tradeuserlogincode": {
  15546. "description": "交易员登录代码",
  15547. "type": "string"
  15548. },
  15549. "tradeusername": {
  15550. "description": "交易员名称",
  15551. "type": "string"
  15552. },
  15553. "unpayamount": {
  15554. "description": "应收付款额(应支付或应收款)",
  15555. "type": "number"
  15556. },
  15557. "unpricedqty": {
  15558. "description": "未定价量",
  15559. "type": "number"
  15560. },
  15561. "unsureqty": {
  15562. "description": "未确定量",
  15563. "type": "number"
  15564. },
  15565. "userid": {
  15566. "description": "机构ID",
  15567. "type": "integer"
  15568. },
  15569. "wrstandardcode": {
  15570. "description": "品类代码",
  15571. "type": "string"
  15572. },
  15573. "wrstandardid": {
  15574. "description": "品类ID",
  15575. "type": "integer"
  15576. },
  15577. "wrstandardname": {
  15578. "description": "品类名称",
  15579. "type": "string"
  15580. }
  15581. }
  15582. },
  15583. "models.Ermcp3SpotGoodsPrice": {
  15584. "type": "object",
  15585. "properties": {
  15586. "areauserid": {
  15587. "description": "所属机构id",
  15588. "type": "integer"
  15589. },
  15590. "brandname": {
  15591. "description": "品牌名称",
  15592. "type": "string"
  15593. },
  15594. "currencyid": {
  15595. "description": "报价货币ID",
  15596. "type": "integer"
  15597. },
  15598. "currencyname": {
  15599. "description": "币种名称",
  15600. "type": "string"
  15601. },
  15602. "deliverygoodscode": {
  15603. "description": "现货商品代码",
  15604. "type": "string"
  15605. },
  15606. "deliverygoodsid": {
  15607. "description": "现货商品id",
  15608. "type": "integer"
  15609. },
  15610. "deliverygoodsname": {
  15611. "description": "现货商品名称",
  15612. "type": "string"
  15613. },
  15614. "enumdicname": {
  15615. "description": "现货商品单位名称",
  15616. "type": "string"
  15617. },
  15618. "gbenumdicname": {
  15619. "description": "品类单位名称",
  15620. "type": "string"
  15621. },
  15622. "gmunitid": {
  15623. "description": "品类单位id",
  15624. "type": "integer"
  15625. },
  15626. "isvalid": {
  15627. "description": "是否有效 - 0:无效 1:有效",
  15628. "type": "integer"
  15629. },
  15630. "operateid": {
  15631. "description": "最后操作人",
  15632. "type": "integer"
  15633. },
  15634. "operatesrc": {
  15635. "description": "最后操作来源 - 1:管理端 2:终端",
  15636. "type": "integer"
  15637. },
  15638. "operatetime": {
  15639. "description": "最后操作时间",
  15640. "type": "string"
  15641. },
  15642. "operatorname": {
  15643. "description": "操作人名称",
  15644. "type": "string"
  15645. },
  15646. "spotgoodsbrandid": {
  15647. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15648. "type": "integer"
  15649. },
  15650. "spotgoodsprice": {
  15651. "description": "现货价格",
  15652. "type": "number"
  15653. },
  15654. "tradedate": {
  15655. "description": "交易日(yyyyMMdd)",
  15656. "type": "string"
  15657. },
  15658. "unitid": {
  15659. "description": "现货商品单位id",
  15660. "type": "integer"
  15661. },
  15662. "wrstandardcode": {
  15663. "description": "品类代码",
  15664. "type": "string"
  15665. },
  15666. "wrstandardid": {
  15667. "description": "现货品类ID(通用则为0)",
  15668. "type": "integer"
  15669. },
  15670. "wrstandardname": {
  15671. "description": "品类名称",
  15672. "type": "string"
  15673. }
  15674. }
  15675. },
  15676. "models.Ermcp3SpotGoodsPriceLog": {
  15677. "type": "object",
  15678. "properties": {
  15679. "areauserid": {
  15680. "description": "所属机构id",
  15681. "type": "integer"
  15682. },
  15683. "brandname": {
  15684. "description": "品牌名称",
  15685. "type": "string"
  15686. },
  15687. "currencyid": {
  15688. "description": "报价货币ID",
  15689. "type": "integer"
  15690. },
  15691. "deliverygoodscode": {
  15692. "description": "现货商品代码",
  15693. "type": "string"
  15694. },
  15695. "deliverygoodsid": {
  15696. "description": "现货商品id",
  15697. "type": "integer"
  15698. },
  15699. "deliverygoodsname": {
  15700. "description": "现货商品名称",
  15701. "type": "string"
  15702. },
  15703. "enumdicname": {
  15704. "description": "现货商品单位名称",
  15705. "type": "string"
  15706. },
  15707. "gbenumdicname": {
  15708. "description": "品类单位名称",
  15709. "type": "string"
  15710. },
  15711. "gmunitid": {
  15712. "description": "品类单位id",
  15713. "type": "integer"
  15714. },
  15715. "logid": {
  15716. "description": "日志id",
  15717. "type": "integer"
  15718. },
  15719. "operateid": {
  15720. "description": "最后操作人",
  15721. "type": "integer"
  15722. },
  15723. "operatesrc": {
  15724. "description": "最后操作来源 - 1:管理端 2:终端",
  15725. "type": "integer"
  15726. },
  15727. "operatetime": {
  15728. "description": "最后操作时间",
  15729. "type": "string"
  15730. },
  15731. "operatorname": {
  15732. "description": "操作人名称",
  15733. "type": "string"
  15734. },
  15735. "spotgoodsbrandid": {
  15736. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15737. "type": "integer"
  15738. },
  15739. "spotgoodsprice": {
  15740. "description": "现货价格",
  15741. "type": "number"
  15742. },
  15743. "tradedate": {
  15744. "description": "交易日(yyyyMMdd)",
  15745. "type": "string"
  15746. },
  15747. "unitid": {
  15748. "description": "现货商品单位id",
  15749. "type": "integer"
  15750. },
  15751. "wrstandardcode": {
  15752. "description": "品类代码",
  15753. "type": "string"
  15754. },
  15755. "wrstandardid": {
  15756. "description": "现货品类ID(通用则为0)",
  15757. "type": "integer"
  15758. },
  15759. "wrstandardname": {
  15760. "description": "品类名称",
  15761. "type": "string"
  15762. }
  15763. }
  15764. },
  15765. "models.Ermcp3Wrstandard": {
  15766. "type": "object",
  15767. "properties": {
  15768. "areauserid": {
  15769. "description": "所属机构",
  15770. "type": "integer"
  15771. },
  15772. "convertfactor": {
  15773. "description": "标仓系数",
  15774. "type": "number"
  15775. },
  15776. "createtime": {
  15777. "description": "创建时间",
  15778. "type": "string"
  15779. },
  15780. "creatorid": {
  15781. "description": "创建人",
  15782. "type": "integer"
  15783. },
  15784. "deliverygoodsid": {
  15785. "description": "现货品种ID",
  15786. "type": "integer"
  15787. },
  15788. "enumdicname": {
  15789. "description": "品类单位名称",
  15790. "type": "string"
  15791. },
  15792. "isvalid": {
  15793. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15794. "type": "integer"
  15795. },
  15796. "minivalue": {
  15797. "description": "最小变动值",
  15798. "type": "integer"
  15799. },
  15800. "minivaluedp": {
  15801. "description": "最小变动值小数位",
  15802. "type": "integer"
  15803. },
  15804. "realminivalue": {
  15805. "description": "实际最小变动值",
  15806. "type": "integer"
  15807. },
  15808. "realminivaluedp": {
  15809. "description": "实际最小变动值小数位",
  15810. "type": "integer"
  15811. },
  15812. "remark": {
  15813. "description": "备注",
  15814. "type": "string"
  15815. },
  15816. "unitid": {
  15817. "description": "品类单位ID",
  15818. "type": "integer"
  15819. },
  15820. "updatetime": {
  15821. "description": "更新时间",
  15822. "type": "string"
  15823. },
  15824. "wrstandardcode": {
  15825. "description": "品类代码",
  15826. "type": "string"
  15827. },
  15828. "wrstandardid": {
  15829. "description": "品类ID(SEQ_WRSTANDARD)",
  15830. "type": "integer"
  15831. },
  15832. "wrstandardname": {
  15833. "description": "品类名称",
  15834. "type": "string"
  15835. }
  15836. }
  15837. },
  15838. "models.ErmcpBizGroupEx": {
  15839. "type": "object",
  15840. "properties": {
  15841. "acclist": {
  15842. "description": "账号列表",
  15843. "type": "array",
  15844. "items": {
  15845. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15846. }
  15847. },
  15848. "bizgroupid": {
  15849. "description": "业务分组id",
  15850. "type": "integer"
  15851. },
  15852. "biztype": {
  15853. "description": "业务类型 1-套保 2-套利",
  15854. "type": "integer"
  15855. },
  15856. "wrlist": {
  15857. "description": "现货商品表",
  15858. "type": "array",
  15859. "items": {
  15860. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15861. }
  15862. }
  15863. }
  15864. },
  15865. "models.ErmcpBizGroupSpotGoods": {
  15866. "type": "object",
  15867. "properties": {
  15868. "areauserid": {
  15869. "description": "所属机构id",
  15870. "type": "integer"
  15871. },
  15872. "bizgroupid": {
  15873. "description": "分组id",
  15874. "type": "integer"
  15875. },
  15876. "biztype": {
  15877. "description": "业务类型 1-套保 2-套利",
  15878. "type": "integer"
  15879. },
  15880. "deliverygoodscode": {
  15881. "description": "现货商品代码",
  15882. "type": "string"
  15883. },
  15884. "deliverygoodsid": {
  15885. "description": "现货商品id",
  15886. "type": "integer"
  15887. },
  15888. "deliverygoodsname": {
  15889. "description": "现货商品名称",
  15890. "type": "string"
  15891. },
  15892. "unitid": {
  15893. "description": "现货商品单位id",
  15894. "type": "integer"
  15895. }
  15896. }
  15897. },
  15898. "models.ErmcpBizGroupTaAccount": {
  15899. "type": "object",
  15900. "properties": {
  15901. "accountid": {
  15902. "description": "账号id",
  15903. "type": "integer"
  15904. },
  15905. "accountname": {
  15906. "description": "账号名称",
  15907. "type": "string"
  15908. },
  15909. "areauserid": {
  15910. "description": "所属机构id",
  15911. "type": "integer"
  15912. },
  15913. "bizgroupid": {
  15914. "description": "业务分组id",
  15915. "type": "integer"
  15916. },
  15917. "ismain": {
  15918. "description": "是否主账号 1-是 0-否",
  15919. "type": "integer"
  15920. }
  15921. }
  15922. },
  15923. "models.ErmcpDGFactoryItem": {
  15924. "type": "object",
  15925. "properties": {
  15926. "areauserid": {
  15927. "description": "用户id",
  15928. "type": "integer"
  15929. },
  15930. "deliverygoodsid": {
  15931. "description": "现货品种ID",
  15932. "type": "integer"
  15933. },
  15934. "dgfactoryitemid": {
  15935. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15936. "type": "integer"
  15937. },
  15938. "dgfactoryitemtypeid": {
  15939. "description": "要素项类型",
  15940. "type": "integer"
  15941. },
  15942. "dgfactoryitemvalue": {
  15943. "description": "要素项值(类型为仓库时填写仓库名称)",
  15944. "type": "string"
  15945. },
  15946. "isvalid": {
  15947. "description": "是否有效 - 0:无效 1:有效",
  15948. "type": "integer"
  15949. },
  15950. "orderindex": {
  15951. "description": "顺序",
  15952. "type": "integer"
  15953. },
  15954. "warehouseid": {
  15955. "description": "仓库ID(类型为仓库时填写)",
  15956. "type": "integer"
  15957. }
  15958. }
  15959. },
  15960. "models.ErmcpDeliveryGoods": {
  15961. "type": "object",
  15962. "properties": {
  15963. "agreeunit": {
  15964. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15965. "type": "integer"
  15966. },
  15967. "areauserid": {
  15968. "description": "所属机构",
  15969. "type": "integer"
  15970. },
  15971. "auditflag": {
  15972. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15973. "type": "integer"
  15974. },
  15975. "categoryid": {
  15976. "description": "类别ID(SEQ_WRCATEGORY)",
  15977. "type": "integer"
  15978. },
  15979. "deliverygoodscode": {
  15980. "description": "现货品种代码",
  15981. "type": "string"
  15982. },
  15983. "deliverygoodsid": {
  15984. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15985. "type": "integer"
  15986. },
  15987. "deliverygoodsname": {
  15988. "description": "现货品种名称",
  15989. "type": "string"
  15990. },
  15991. "deliverygoodstype": {
  15992. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15993. "type": "integer"
  15994. },
  15995. "dgstatus": {
  15996. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15997. "type": "integer"
  15998. },
  15999. "enumdicname": {
  16000. "description": "现货品种单位名称",
  16001. "type": "string"
  16002. },
  16003. "goodsunitid": {
  16004. "description": "现货品种单位ID",
  16005. "type": "integer"
  16006. },
  16007. "isvalid": {
  16008. "description": "是否有效 - 0:无效 1:有效",
  16009. "type": "integer"
  16010. },
  16011. "qtydecimalplace": {
  16012. "description": "成交量小数位",
  16013. "type": "integer"
  16014. },
  16015. "remark": {
  16016. "description": "备注",
  16017. "type": "string"
  16018. },
  16019. "standardqty": {
  16020. "description": "标准数量(库位数量) [标准品特有]",
  16021. "type": "integer"
  16022. },
  16023. "standardqtyrange": {
  16024. "description": "标准数量偏差范围 [标准品特有]",
  16025. "type": "integer"
  16026. }
  16027. }
  16028. },
  16029. "models.ErmcpDeliveryGoodsDetail2": {
  16030. "type": "object",
  16031. "properties": {
  16032. "convertratio": {
  16033. "description": "套保系数(折算系数)",
  16034. "type": "number"
  16035. },
  16036. "data": {
  16037. "description": "现货商品基本信息(交割品种)",
  16038. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16039. },
  16040. "gblist": {
  16041. "description": "品牌列表",
  16042. "type": "array",
  16043. "items": {
  16044. "$ref": "#/definitions/models.Ermcp3Brand"
  16045. }
  16046. },
  16047. "gmlist": {
  16048. "description": "品类列表(仓单标准)",
  16049. "type": "array",
  16050. "items": {
  16051. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16052. }
  16053. }
  16054. }
  16055. },
  16056. "models.ErmcpDeliveryGoodsDetailEx": {
  16057. "type": "object",
  16058. "properties": {
  16059. "data": {
  16060. "description": "现货商品基本信息(交割品种)",
  16061. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16062. },
  16063. "gblist": {
  16064. "description": "品牌列表",
  16065. "type": "array",
  16066. "items": {
  16067. "$ref": "#/definitions/models.Ermcp3Brand"
  16068. }
  16069. },
  16070. "gmlist": {
  16071. "description": "品类列表(仓单标准)",
  16072. "type": "array",
  16073. "items": {
  16074. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16075. }
  16076. },
  16077. "mgList": {
  16078. "description": "套保列表",
  16079. "type": "array",
  16080. "items": {
  16081. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16082. }
  16083. }
  16084. }
  16085. },
  16086. "models.ErmcpFuturesCompany": {
  16087. "type": "object",
  16088. "properties": {
  16089. "brokerid": {
  16090. "description": "经纪公司代码",
  16091. "type": "string"
  16092. },
  16093. "channeladdress": {
  16094. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16095. "type": "string"
  16096. },
  16097. "channelid": {
  16098. "description": "对冲渠道ID",
  16099. "type": "string"
  16100. },
  16101. "createtime": {
  16102. "description": "创建时间",
  16103. "type": "string"
  16104. },
  16105. "creatorid": {
  16106. "description": "创建人",
  16107. "type": "string"
  16108. },
  16109. "fcid": {
  16110. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16111. "type": "integer"
  16112. },
  16113. "fcname": {
  16114. "description": "期货公司名称",
  16115. "type": "string"
  16116. },
  16117. "isvalid": {
  16118. "description": "是否有效 - 0:无效 1:有效",
  16119. "type": "integer"
  16120. },
  16121. "mhpaddress": {
  16122. "description": "MHP服务地址(IP:Port)",
  16123. "type": "string"
  16124. },
  16125. "riskrulegroupid": {
  16126. "description": "风控规则组ID",
  16127. "type": "string"
  16128. },
  16129. "tradefeetmpid": {
  16130. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16131. "type": "string"
  16132. },
  16133. "trademargintmpid": {
  16134. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16135. "type": "string"
  16136. },
  16137. "traderatetmpid": {
  16138. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16139. "type": "string"
  16140. },
  16141. "updatetime": {
  16142. "description": "更新时间",
  16143. "type": "string"
  16144. },
  16145. "updatorid": {
  16146. "description": "更新人",
  16147. "type": "string"
  16148. }
  16149. }
  16150. },
  16151. "models.ErmcpGGConvertCfg": {
  16152. "type": "object",
  16153. "properties": {
  16154. "convertratio": {
  16155. "description": "折算系数",
  16156. "type": "number"
  16157. },
  16158. "destgoodsgroupid": {
  16159. "description": "目标品种ID",
  16160. "type": "integer"
  16161. },
  16162. "dstcode": {
  16163. "description": "目录品种代码",
  16164. "type": "string"
  16165. },
  16166. "dstexchangecode": {
  16167. "description": "目标期货交易所",
  16168. "type": "string"
  16169. },
  16170. "dstname": {
  16171. "description": "目标品种名称",
  16172. "type": "string"
  16173. },
  16174. "dstunitid": {
  16175. "description": "目标品种单位ID",
  16176. "type": "integer"
  16177. },
  16178. "dstunitidname": {
  16179. "description": "目标品种单位名称",
  16180. "type": "string"
  16181. },
  16182. "modifytime": {
  16183. "description": "修改时间",
  16184. "type": "string"
  16185. },
  16186. "srccode": {
  16187. "description": "源品种代码",
  16188. "type": "string"
  16189. },
  16190. "srcexchangecode": {
  16191. "description": "源期货交易所",
  16192. "type": "string"
  16193. },
  16194. "srcgoodsgroupid": {
  16195. "description": "源品种ID",
  16196. "type": "integer"
  16197. },
  16198. "srcname": {
  16199. "description": "源品种名称",
  16200. "type": "string"
  16201. },
  16202. "srcunitid": {
  16203. "description": "源品种单位ID",
  16204. "type": "integer"
  16205. },
  16206. "srcunitidname": {
  16207. "description": "源品种单位名称",
  16208. "type": "string"
  16209. }
  16210. }
  16211. },
  16212. "models.ErmcpGoodsBrand": {
  16213. "type": "object",
  16214. "properties": {
  16215. "areauserid": {
  16216. "description": "所属机构",
  16217. "type": "integer"
  16218. },
  16219. "brandid": {
  16220. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16221. "type": "integer"
  16222. },
  16223. "brandname": {
  16224. "description": "品牌名称",
  16225. "type": "string"
  16226. },
  16227. "createtime": {
  16228. "description": "创建时间",
  16229. "type": "string"
  16230. },
  16231. "creatorid": {
  16232. "description": "创建人",
  16233. "type": "integer"
  16234. },
  16235. "creatorsrc": {
  16236. "description": "创建人来源 - 1:管理端 2:终端",
  16237. "type": "integer"
  16238. },
  16239. "deliverygoodsid": {
  16240. "description": "现货品种ID",
  16241. "type": "integer"
  16242. },
  16243. "isvalid": {
  16244. "description": "是否有效 - 0:无效 1:有效",
  16245. "type": "integer"
  16246. },
  16247. "updatetime": {
  16248. "description": "更新时间",
  16249. "type": "string"
  16250. },
  16251. "updatorid": {
  16252. "description": "更新人",
  16253. "type": "integer"
  16254. },
  16255. "updatorsrc": {
  16256. "description": "更新人来源 - 1:管理端 2:终端",
  16257. "type": "integer"
  16258. },
  16259. "wrstandardid": {
  16260. "description": "现货商品ID",
  16261. "type": "integer"
  16262. }
  16263. }
  16264. },
  16265. "models.ErmcpGoodsModel": {
  16266. "type": "object",
  16267. "properties": {
  16268. "areauserid": {
  16269. "description": "所属机构",
  16270. "type": "integer"
  16271. },
  16272. "convertfactor": {
  16273. "description": "标仓系数",
  16274. "type": "number"
  16275. },
  16276. "createtime": {
  16277. "description": "创建时间",
  16278. "type": "string"
  16279. },
  16280. "creatorid": {
  16281. "description": "创建人",
  16282. "type": "integer"
  16283. },
  16284. "creatorsrc": {
  16285. "description": "创建人来源 - 1:管理端 2:终端",
  16286. "type": "integer"
  16287. },
  16288. "deliverygoodsid": {
  16289. "description": "现货品种ID",
  16290. "type": "integer"
  16291. },
  16292. "isvalid": {
  16293. "description": "是否有效 - 0:无效 1:有效",
  16294. "type": "integer"
  16295. },
  16296. "modelid": {
  16297. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16298. "type": "integer"
  16299. },
  16300. "modelname": {
  16301. "description": "型号名称",
  16302. "type": "string"
  16303. },
  16304. "updatetime": {
  16305. "description": "更新时间",
  16306. "type": "string"
  16307. },
  16308. "updatorid": {
  16309. "description": "更新人",
  16310. "type": "integer"
  16311. },
  16312. "updatorsrc": {
  16313. "description": "更新人来源 - 1:管理端 2:终端",
  16314. "type": "integer"
  16315. },
  16316. "wrstandardid": {
  16317. "description": "现货商品ID",
  16318. "type": "integer"
  16319. }
  16320. }
  16321. },
  16322. "models.ErmcpHisExposure": {
  16323. "type": "object",
  16324. "properties": {
  16325. "needhedgeexposoure": {
  16326. "description": "应套保敞口",
  16327. "type": "number"
  16328. },
  16329. "reckondate": {
  16330. "description": "日照时期(yyyyMMdd)",
  16331. "type": "string"
  16332. },
  16333. "totalexposure": {
  16334. "description": "总敞口",
  16335. "type": "number"
  16336. }
  16337. }
  16338. },
  16339. "models.ErmcpLoginTaAccount": {
  16340. "type": "object",
  16341. "properties": {
  16342. "accountid": {
  16343. "description": "账号id",
  16344. "type": "integer"
  16345. },
  16346. "accountname": {
  16347. "description": "账号名称",
  16348. "type": "string"
  16349. }
  16350. }
  16351. },
  16352. "models.ErmcpLoginUser": {
  16353. "type": "object",
  16354. "properties": {
  16355. "acclist": {
  16356. "description": "关联资金账号",
  16357. "type": "array",
  16358. "items": {
  16359. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  16360. }
  16361. },
  16362. "accountname": {
  16363. "description": "用户名称",
  16364. "type": "string"
  16365. },
  16366. "clientroleid": {
  16367. "description": "角色id(usertype=2)",
  16368. "type": "integer"
  16369. },
  16370. "createtime": {
  16371. "description": "创建时间",
  16372. "type": "string"
  16373. },
  16374. "logincode": {
  16375. "description": "登录代码",
  16376. "type": "string"
  16377. },
  16378. "loginid": {
  16379. "description": "登录id(LOGINID)",
  16380. "type": "integer"
  16381. },
  16382. "loginname": {
  16383. "description": "登录名称(loginaccount表中的accountname字段)",
  16384. "type": "string"
  16385. },
  16386. "loginstatus": {
  16387. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16388. "type": "integer"
  16389. },
  16390. "memberuserid": {
  16391. "description": "所属会员id",
  16392. "type": "integer"
  16393. },
  16394. "mobile": {
  16395. "description": "手机号",
  16396. "type": "string"
  16397. },
  16398. "modifytime": {
  16399. "description": "修改时间",
  16400. "type": "string"
  16401. },
  16402. "password": {
  16403. "description": "密码(不可解密)",
  16404. "type": "string"
  16405. },
  16406. "rolename": {
  16407. "description": "角色名称",
  16408. "type": "string"
  16409. },
  16410. "rolestatus": {
  16411. "description": "角色状态 1-启用 2-停用",
  16412. "type": "integer"
  16413. },
  16414. "roletype": {
  16415. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16416. "type": "string"
  16417. },
  16418. "userid": {
  16419. "description": "用户id",
  16420. "type": "integer"
  16421. },
  16422. "usertype": {
  16423. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16424. "type": "integer"
  16425. }
  16426. }
  16427. },
  16428. "models.ErmcpLoginUserEx": {
  16429. "type": "object",
  16430. "properties": {
  16431. "accountstatus": {
  16432. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16433. "type": "integer"
  16434. },
  16435. "mobile": {
  16436. "description": "手机号",
  16437. "type": "string"
  16438. },
  16439. "querytype": {
  16440. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  16441. "type": "integer"
  16442. },
  16443. "roleid": {
  16444. "description": "角色id(交易账户-\u003e用户id)",
  16445. "type": "integer"
  16446. },
  16447. "rolename": {
  16448. "description": "角色名称(交易账户-\u003e用户名称)",
  16449. "type": "string"
  16450. },
  16451. "userlist": {
  16452. "description": "用户列表",
  16453. "type": "array",
  16454. "items": {
  16455. "$ref": "#/definitions/models.ErmcpLoginUser"
  16456. }
  16457. },
  16458. "usertype": {
  16459. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16460. "type": "integer"
  16461. }
  16462. }
  16463. },
  16464. "models.ErmcpMiddleGoodsModel": {
  16465. "type": "object",
  16466. "properties": {
  16467. "areauserid": {
  16468. "description": "机构用户ID",
  16469. "type": "integer"
  16470. },
  16471. "createtime": {
  16472. "description": "修改时间",
  16473. "type": "string"
  16474. },
  16475. "enumdicname": {
  16476. "description": "单位名称",
  16477. "type": "string"
  16478. },
  16479. "evaluateratio": {
  16480. "description": "估价系数",
  16481. "type": "number"
  16482. },
  16483. "goodsgroupid": {
  16484. "description": "关联期货品种ID",
  16485. "type": "integer"
  16486. },
  16487. "goodsunitid": {
  16488. "description": "单位ID",
  16489. "type": "integer"
  16490. },
  16491. "isvalid": {
  16492. "description": "状态 0-无效(停用) 1-有效(正常)",
  16493. "type": "integer"
  16494. },
  16495. "middlegoodscode": {
  16496. "description": "套保品种代码",
  16497. "type": "string"
  16498. },
  16499. "middlegoodsid": {
  16500. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16501. "type": "integer"
  16502. },
  16503. "middlegoodsname": {
  16504. "description": "套保品种名称",
  16505. "type": "string"
  16506. },
  16507. "modifytime": {
  16508. "description": "修改时间",
  16509. "type": "string"
  16510. },
  16511. "needhedgeratio": {
  16512. "description": "套保比率",
  16513. "type": "number"
  16514. },
  16515. "qtydecimalplace": {
  16516. "description": "数量小数位",
  16517. "type": "integer"
  16518. },
  16519. "relatedgoodsid": {
  16520. "description": "关联交易商品ID",
  16521. "type": "integer"
  16522. },
  16523. "relatedgoodstype": {
  16524. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16525. "type": "integer"
  16526. },
  16527. "remark": {
  16528. "description": "备注",
  16529. "type": "string"
  16530. }
  16531. }
  16532. },
  16533. "models.ErmcpRole": {
  16534. "type": "object",
  16535. "properties": {
  16536. "areauserid": {
  16537. "description": "所属机构",
  16538. "type": "integer"
  16539. },
  16540. "autoid": {
  16541. "description": "角色ID(自增ID)",
  16542. "type": "integer"
  16543. },
  16544. "modifierid": {
  16545. "description": "修改人(创建人)",
  16546. "type": "integer"
  16547. },
  16548. "modifiername": {
  16549. "description": "修改人名称",
  16550. "type": "string"
  16551. },
  16552. "modifytime": {
  16553. "description": "修改时间(创建时间)",
  16554. "type": "string"
  16555. },
  16556. "rolename": {
  16557. "description": "角色名称",
  16558. "type": "string"
  16559. },
  16560. "rolestatus": {
  16561. "description": "角色状态 - 1:启用 2:停用",
  16562. "type": "integer"
  16563. },
  16564. "roletype": {
  16565. "description": "角色类型 - 1- 管理端 2- 交易端",
  16566. "type": "integer"
  16567. }
  16568. }
  16569. },
  16570. "models.ErmcpRoleMenu": {
  16571. "type": "object",
  16572. "properties": {
  16573. "iconame": {
  16574. "description": "菜单图标",
  16575. "type": "string"
  16576. },
  16577. "ishadrole": {
  16578. "description": "是否有权限",
  16579. "type": "boolean"
  16580. },
  16581. "menutype": {
  16582. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16583. "type": "integer"
  16584. },
  16585. "parentcode": {
  16586. "description": "上级资源代码",
  16587. "type": "string"
  16588. },
  16589. "remark": {
  16590. "description": "菜单备注",
  16591. "type": "string"
  16592. },
  16593. "resourcecode": {
  16594. "description": "菜单代码",
  16595. "type": "string"
  16596. },
  16597. "resourcelevel": {
  16598. "description": "级别",
  16599. "type": "integer"
  16600. },
  16601. "resourcename": {
  16602. "description": "菜单名称",
  16603. "type": "string"
  16604. },
  16605. "roleid": {
  16606. "description": "角色id",
  16607. "type": "integer"
  16608. },
  16609. "sort": {
  16610. "description": "排序",
  16611. "type": "integer"
  16612. },
  16613. "url": {
  16614. "description": "URL",
  16615. "type": "string"
  16616. },
  16617. "userid": {
  16618. "description": "用户id",
  16619. "type": "integer"
  16620. }
  16621. }
  16622. },
  16623. "models.ErmcpRoleMenuEx": {
  16624. "type": "object",
  16625. "properties": {
  16626. "menu": {
  16627. "description": "父级菜单",
  16628. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16629. },
  16630. "subMenu": {
  16631. "description": "子级菜单",
  16632. "type": "array",
  16633. "items": {
  16634. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16635. }
  16636. }
  16637. }
  16638. },
  16639. "models.ErmcpTaAccount": {
  16640. "type": "object",
  16641. "properties": {
  16642. "accountid": {
  16643. "description": "账户id",
  16644. "type": "integer"
  16645. },
  16646. "accountname": {
  16647. "description": "账户名称",
  16648. "type": "string"
  16649. },
  16650. "currencyid": {
  16651. "description": "币种id",
  16652. "type": "integer"
  16653. },
  16654. "hedgeaccountcode": {
  16655. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16656. "type": "string"
  16657. },
  16658. "ismain": {
  16659. "description": "是否主账户 0-否 1-是",
  16660. "type": "integer"
  16661. },
  16662. "parentaccountid": {
  16663. "description": "父账户id",
  16664. "type": "integer"
  16665. },
  16666. "relateduserid": {
  16667. "description": "关联userid",
  16668. "type": "integer"
  16669. },
  16670. "tradestatus": {
  16671. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16672. "type": "integer"
  16673. },
  16674. "userid": {
  16675. "description": "用户id",
  16676. "type": "integer"
  16677. }
  16678. }
  16679. },
  16680. "models.ErmcpTaAccountEx": {
  16681. "type": "object",
  16682. "properties": {
  16683. "mainAcc": {
  16684. "description": "主账号",
  16685. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16686. },
  16687. "subacclist": {
  16688. "description": "子账号列表",
  16689. "type": "array",
  16690. "items": {
  16691. "$ref": "#/definitions/models.ErmcpTaAccount"
  16692. }
  16693. }
  16694. }
  16695. },
  16696. "models.ErmcpTaAccountInfo": {
  16697. "type": "object",
  16698. "properties": {
  16699. "accountid": {
  16700. "description": "资金账户ID",
  16701. "type": "integer"
  16702. },
  16703. "accountname": {
  16704. "description": "账户名称",
  16705. "type": "string"
  16706. },
  16707. "balance": {
  16708. "description": "期初余额",
  16709. "type": "number"
  16710. },
  16711. "capitalbalance": {
  16712. "description": "本金余额[外部子账户实际出入金余额]",
  16713. "type": "number"
  16714. },
  16715. "closepl": {
  16716. "description": "今日平仓盈亏",
  16717. "type": "number"
  16718. },
  16719. "creditdecrease": {
  16720. "description": "今日授信减少",
  16721. "type": "number"
  16722. },
  16723. "creditincrease": {
  16724. "description": "今日授信增加",
  16725. "type": "number"
  16726. },
  16727. "curdebt": {
  16728. "description": "期末欠款",
  16729. "type": "number"
  16730. },
  16731. "currencyid": {
  16732. "description": "货币ID",
  16733. "type": "integer"
  16734. },
  16735. "currentbalance": {
  16736. "description": "期末余额",
  16737. "type": "number"
  16738. },
  16739. "freezecharge": {
  16740. "description": "手续费冻结",
  16741. "type": "number"
  16742. },
  16743. "freezemargin": {
  16744. "description": "冻结保证金",
  16745. "type": "number"
  16746. },
  16747. "fromaccountid": {
  16748. "description": "所属上级账户",
  16749. "type": "integer"
  16750. },
  16751. "inamount": {
  16752. "description": "今日入金金额(包括三方入金)",
  16753. "type": "number"
  16754. },
  16755. "ismain": {
  16756. "description": "是否母账号 0:不是母账户 1:是母账户",
  16757. "type": "integer"
  16758. },
  16759. "mortgagecredit": {
  16760. "description": "授信金额",
  16761. "type": "number"
  16762. },
  16763. "oridebt": {
  16764. "description": "期初欠款",
  16765. "type": "number"
  16766. },
  16767. "orifreezecharge": {
  16768. "description": "期初手续费冻结",
  16769. "type": "number"
  16770. },
  16771. "orifreezemargin": {
  16772. "description": "期初冻结保证金",
  16773. "type": "number"
  16774. },
  16775. "orimortgagecredit": {
  16776. "description": "期初授信金额",
  16777. "type": "number"
  16778. },
  16779. "oriothercredit": {
  16780. "description": "期初其它授信金额",
  16781. "type": "number"
  16782. },
  16783. "oriotherfreezemargin": {
  16784. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16785. "type": "number"
  16786. },
  16787. "orioutamountfreeze": {
  16788. "description": "期初出金冻结",
  16789. "type": "number"
  16790. },
  16791. "oriusedmargin": {
  16792. "description": "期初占用保证金",
  16793. "type": "number"
  16794. },
  16795. "othercredit": {
  16796. "description": "其它授信金额",
  16797. "type": "number"
  16798. },
  16799. "othercreditdecrease": {
  16800. "description": "今日其它授信减少",
  16801. "type": "number"
  16802. },
  16803. "othercreditincrease": {
  16804. "description": "今日其它授信增加",
  16805. "type": "number"
  16806. },
  16807. "otherfreezemargin": {
  16808. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16809. "type": "number"
  16810. },
  16811. "outamount": {
  16812. "description": "今日出金金额(包括三方出金)",
  16813. "type": "number"
  16814. },
  16815. "outamountfreeze": {
  16816. "description": "出金冻结",
  16817. "type": "number"
  16818. },
  16819. "outthreshold": {
  16820. "description": "出金阈值",
  16821. "type": "number"
  16822. },
  16823. "parentaccountid": {
  16824. "description": "所属根账号",
  16825. "type": "integer"
  16826. },
  16827. "paycharge": {
  16828. "description": "今日手续费支出",
  16829. "type": "number"
  16830. },
  16831. "relateduserid": {
  16832. "description": "关联用户",
  16833. "type": "integer"
  16834. },
  16835. "signstatus": {
  16836. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16837. "type": "integer"
  16838. },
  16839. "sublevelpath": {
  16840. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16841. "type": "string"
  16842. },
  16843. "taaccounttype": {
  16844. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16845. "type": "integer"
  16846. },
  16847. "thirdinamount": {
  16848. "description": "今日三方入金",
  16849. "type": "number"
  16850. },
  16851. "thirdoutamount": {
  16852. "description": "今日三方出金",
  16853. "type": "number"
  16854. },
  16855. "tradestatus": {
  16856. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16857. "type": "integer"
  16858. },
  16859. "transferamount": {
  16860. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16861. "type": "number"
  16862. },
  16863. "usedmargin": {
  16864. "description": "占用保证金",
  16865. "type": "number"
  16866. },
  16867. "userid": {
  16868. "description": "用户ID",
  16869. "type": "integer"
  16870. }
  16871. }
  16872. },
  16873. "models.ErmcpTaAccountM": {
  16874. "type": "object",
  16875. "properties": {
  16876. "accountid": {
  16877. "description": "账户id",
  16878. "type": "integer"
  16879. },
  16880. "accountname": {
  16881. "description": "账户名称",
  16882. "type": "string"
  16883. },
  16884. "currencyid": {
  16885. "description": "币种id",
  16886. "type": "integer"
  16887. },
  16888. "fcid": {
  16889. "description": "期货公司id",
  16890. "type": "integer"
  16891. },
  16892. "fcname": {
  16893. "description": "期货公司代码",
  16894. "type": "string"
  16895. },
  16896. "hedgeaccountcode": {
  16897. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16898. "type": "string"
  16899. },
  16900. "ismain": {
  16901. "description": "是否主账户 0-否 1-是",
  16902. "type": "integer"
  16903. },
  16904. "parentaccountid": {
  16905. "description": "父账户id",
  16906. "type": "integer"
  16907. },
  16908. "relateduserid": {
  16909. "description": "关联userid",
  16910. "type": "integer"
  16911. },
  16912. "tradestatus": {
  16913. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16914. "type": "integer"
  16915. },
  16916. "userid": {
  16917. "description": "用户id",
  16918. "type": "integer"
  16919. }
  16920. }
  16921. },
  16922. "models.ErmcpTradeConfigTMP": {
  16923. "type": "object",
  16924. "properties": {
  16925. "areauserid": {
  16926. "description": "所属机构",
  16927. "type": "integer"
  16928. },
  16929. "basiccurrencyid": {
  16930. "description": "基本币种ID[汇率] - 目标币种",
  16931. "type": "integer"
  16932. },
  16933. "mainaccountid": {
  16934. "description": "主账户ID",
  16935. "type": "integer"
  16936. },
  16937. "modifierid": {
  16938. "description": "修改人",
  16939. "type": "integer"
  16940. },
  16941. "remark": {
  16942. "description": "备注",
  16943. "type": "string"
  16944. },
  16945. "tradeconfigtmpid": {
  16946. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  16947. "type": "integer"
  16948. },
  16949. "tradeconfigtmpname": {
  16950. "description": "交易配置模板名称",
  16951. "type": "string"
  16952. },
  16953. "tradeconfigtmptype": {
  16954. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  16955. "type": "integer"
  16956. },
  16957. "updatetime": {
  16958. "description": "更新时间",
  16959. "type": "string"
  16960. }
  16961. }
  16962. },
  16963. "models.Externalexchange": {
  16964. "type": "object",
  16965. "required": [
  16966. "autoid"
  16967. ],
  16968. "properties": {
  16969. "autoid": {
  16970. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  16971. "type": "integer"
  16972. },
  16973. "exchangefullname": {
  16974. "description": "外部交易所全称",
  16975. "type": "string"
  16976. },
  16977. "exexchangecode": {
  16978. "description": "外部交易所代码",
  16979. "type": "string"
  16980. },
  16981. "exexchangename": {
  16982. "description": "外部交易所名称(简称)",
  16983. "type": "string"
  16984. },
  16985. "ismarketprice": {
  16986. "description": "是否支持市价 - 0:不支持 1:支持",
  16987. "type": "integer"
  16988. },
  16989. "quotegear": {
  16990. "description": "行情档位(1-10)",
  16991. "type": "integer"
  16992. },
  16993. "showbrokerflag": {
  16994. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  16995. "type": "integer"
  16996. },
  16997. "updatetime": {
  16998. "description": "更新时间",
  16999. "type": "string"
  17000. }
  17001. }
  17002. },
  17003. "models.Funcmenulist": {
  17004. "type": "object",
  17005. "required": [
  17006. "resourcecode"
  17007. ],
  17008. "properties": {
  17009. "iconame": {
  17010. "description": "菜单图标",
  17011. "type": "string"
  17012. },
  17013. "menutype": {
  17014. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17015. "type": "integer"
  17016. },
  17017. "parentcode": {
  17018. "description": "上级资源代码",
  17019. "type": "string"
  17020. },
  17021. "remark": {
  17022. "description": "备注",
  17023. "type": "string"
  17024. },
  17025. "resourcecode": {
  17026. "description": "资源代码",
  17027. "type": "string"
  17028. },
  17029. "resourcelevel": {
  17030. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17031. "type": "integer"
  17032. },
  17033. "resourcename": {
  17034. "description": "资源名",
  17035. "type": "string"
  17036. },
  17037. "sort": {
  17038. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17039. "type": "integer"
  17040. },
  17041. "url": {
  17042. "description": "URL",
  17043. "type": "string"
  17044. }
  17045. }
  17046. },
  17047. "models.Goods": {
  17048. "type": "object",
  17049. "required": [
  17050. "goodscode",
  17051. "goodsid",
  17052. "goodsname",
  17053. "marketid"
  17054. ],
  17055. "properties": {
  17056. "agreeunit": {
  17057. "description": "合约单位",
  17058. "type": "number"
  17059. },
  17060. "auditaccountid": {
  17061. "description": "审核操作员账号",
  17062. "type": "integer"
  17063. },
  17064. "audittime": {
  17065. "description": "审核时间",
  17066. "type": "string"
  17067. },
  17068. "cancelaccountid": {
  17069. "description": "注销操作员账号",
  17070. "type": "integer"
  17071. },
  17072. "canceltime": {
  17073. "description": "注销时间",
  17074. "type": "string"
  17075. },
  17076. "closepricemode": {
  17077. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17078. "type": "integer"
  17079. },
  17080. "closepriceparam": {
  17081. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17082. "type": "number"
  17083. },
  17084. "createtime": {
  17085. "description": "创建时间",
  17086. "type": "string"
  17087. },
  17088. "creatorid": {
  17089. "description": "创建人",
  17090. "type": "integer"
  17091. },
  17092. "currencyid": {
  17093. "description": "报价货币ID",
  17094. "type": "integer"
  17095. },
  17096. "cutmode": {
  17097. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17098. "type": "integer"
  17099. },
  17100. "decimalplace": {
  17101. "description": "报价小数位",
  17102. "type": "integer"
  17103. },
  17104. "delistingdate": {
  17105. "description": "商品退市时间(状态:退市) -- 已作废",
  17106. "type": "string"
  17107. },
  17108. "delistingmode": {
  17109. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17110. "type": "integer"
  17111. },
  17112. "deliveryflag": {
  17113. "description": "交割标志 - 0:不可交割 1:可交割",
  17114. "type": "integer"
  17115. },
  17116. "forceclosemode": {
  17117. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17118. "type": "integer"
  17119. },
  17120. "forceclosevalue": {
  17121. "description": "定期强平参数 [收益权]",
  17122. "type": "integer"
  17123. },
  17124. "goodscode": {
  17125. "description": "商品代码(内部)",
  17126. "type": "string"
  17127. },
  17128. "goodscurrencyid": {
  17129. "description": "合约货币ID",
  17130. "type": "integer"
  17131. },
  17132. "goodsgroupid": {
  17133. "description": "所属商品组ID",
  17134. "type": "integer"
  17135. },
  17136. "goodsid": {
  17137. "description": "商品ID(自增ID SEQ_GOODS)",
  17138. "type": "integer"
  17139. },
  17140. "goodsname": {
  17141. "description": "商品名称",
  17142. "type": "string"
  17143. },
  17144. "goodsquotetype": {
  17145. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17146. "type": "integer"
  17147. },
  17148. "goodsstatus": {
  17149. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17150. "type": "integer"
  17151. },
  17152. "goodstradetype": {
  17153. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17154. "type": "integer"
  17155. },
  17156. "goodunitid": {
  17157. "description": "报价单位ID",
  17158. "type": "integer"
  17159. },
  17160. "hasquoter": {
  17161. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17162. "type": "integer"
  17163. },
  17164. "hqprotecttime": {
  17165. "description": "行情保护时间(秒)",
  17166. "type": "integer"
  17167. },
  17168. "innerdealmode": {
  17169. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17170. "type": "integer"
  17171. },
  17172. "isbuylimited": {
  17173. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17174. "type": "integer"
  17175. },
  17176. "lasttradedate": {
  17177. "description": "最后交易日期(状态:待退市)",
  17178. "type": "string"
  17179. },
  17180. "listingdate": {
  17181. "description": "交易开始日期",
  17182. "type": "string"
  17183. },
  17184. "marketid": {
  17185. "description": "所属市场ID",
  17186. "type": "integer"
  17187. },
  17188. "modifierid": {
  17189. "description": "修改人",
  17190. "type": "integer"
  17191. },
  17192. "modifystatus": {
  17193. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17194. "type": "integer"
  17195. },
  17196. "modifytime": {
  17197. "description": "修改时间",
  17198. "type": "string"
  17199. },
  17200. "outerdealmode": {
  17201. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17202. "type": "integer"
  17203. },
  17204. "outgoodscode": {
  17205. "description": "商品代码(外部)",
  17206. "type": "string"
  17207. },
  17208. "qtydecimalplace": {
  17209. "description": "成交量小数位",
  17210. "type": "integer"
  17211. },
  17212. "quotegear": {
  17213. "description": "行情档位(1-10)",
  17214. "type": "integer"
  17215. },
  17216. "quoteminunit": {
  17217. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17218. "type": "integer"
  17219. },
  17220. "quoteshowtype": {
  17221. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17222. "type": "integer"
  17223. },
  17224. "quoteshowtypeinterval": {
  17225. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17226. "type": "integer"
  17227. },
  17228. "remark": {
  17229. "description": "备注",
  17230. "type": "string"
  17231. }
  17232. }
  17233. },
  17234. "models.GoodsIDAndName": {
  17235. "type": "object",
  17236. "required": [
  17237. "goodscode",
  17238. "goodsid",
  17239. "goodsname",
  17240. "marketid"
  17241. ],
  17242. "properties": {
  17243. "goodscode": {
  17244. "description": "商品代码(内部)",
  17245. "type": "string"
  17246. },
  17247. "goodsid": {
  17248. "description": "商品ID(自增ID SEQ_GOODS)",
  17249. "type": "integer"
  17250. },
  17251. "goodsname": {
  17252. "description": "商品名称",
  17253. "type": "string"
  17254. },
  17255. "marketid": {
  17256. "description": "所属市场ID",
  17257. "type": "integer"
  17258. }
  17259. }
  17260. },
  17261. "models.Goodsgroup": {
  17262. "type": "object",
  17263. "required": [
  17264. "goodsgroupid",
  17265. "goodsgroupname",
  17266. "goodsgroupstatus",
  17267. "marketid"
  17268. ],
  17269. "properties": {
  17270. "agreeunit": {
  17271. "description": "合约单位",
  17272. "type": "number"
  17273. },
  17274. "canshort": {
  17275. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17276. "type": "integer"
  17277. },
  17278. "closepricemode": {
  17279. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17280. "type": "integer"
  17281. },
  17282. "closepriceparam": {
  17283. "description": "强平最新价浮动比例 - 方式为2时使用",
  17284. "type": "number"
  17285. },
  17286. "createtime": {
  17287. "description": "创建时间",
  17288. "type": "string"
  17289. },
  17290. "creatorid": {
  17291. "description": "创建人",
  17292. "type": "integer"
  17293. },
  17294. "currencyid": {
  17295. "description": "报价货币ID",
  17296. "type": "integer"
  17297. },
  17298. "decimalplace": {
  17299. "description": "报价小数位",
  17300. "type": "integer"
  17301. },
  17302. "exercisetype": {
  17303. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17304. "type": "integer"
  17305. },
  17306. "exexchangeid": {
  17307. "description": "外部交易所ID[通道交易]",
  17308. "type": "integer"
  17309. },
  17310. "goodsgroupid": {
  17311. "description": "商品组ID(自增ID)",
  17312. "type": "integer"
  17313. },
  17314. "goodsgroupname": {
  17315. "description": "商品组名称",
  17316. "type": "string"
  17317. },
  17318. "goodsgroupstatus": {
  17319. "description": "商品组状态 - 1:正常 2:注销",
  17320. "type": "integer"
  17321. },
  17322. "goodunitid": {
  17323. "description": "报价单位ID",
  17324. "type": "integer"
  17325. },
  17326. "innerdealmode": {
  17327. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17328. "type": "integer"
  17329. },
  17330. "isbuylimited": {
  17331. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17332. "type": "integer"
  17333. },
  17334. "marketid": {
  17335. "description": "所属市场ID",
  17336. "type": "integer"
  17337. },
  17338. "modifierid": {
  17339. "description": "修改人",
  17340. "type": "integer"
  17341. },
  17342. "modifytime": {
  17343. "description": "修改时间",
  17344. "type": "string"
  17345. },
  17346. "outerdealmode": {
  17347. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17348. "type": "integer"
  17349. },
  17350. "outergroupcode": {
  17351. "description": "外部商品组代码[通道交易]",
  17352. "type": "string"
  17353. },
  17354. "premiumdecimalplace": {
  17355. "description": "权利金小数位[场外期权]",
  17356. "type": "integer"
  17357. },
  17358. "premiumspreadalgorithm": {
  17359. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17360. "type": "integer"
  17361. },
  17362. "premiumspreadvalue": {
  17363. "description": "权利金点差值[场外期权]",
  17364. "type": "number"
  17365. },
  17366. "qtydecimalplace": {
  17367. "description": "成交量小数位",
  17368. "type": "integer"
  17369. },
  17370. "quotegear": {
  17371. "description": "行情档位(1-10)",
  17372. "type": "integer"
  17373. },
  17374. "quoteminunit": {
  17375. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17376. "type": "integer"
  17377. },
  17378. "quoterid": {
  17379. "description": "报价商ID[场外期权]",
  17380. "type": "integer"
  17381. },
  17382. "quotesourcegroupid": {
  17383. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17384. "type": "integer"
  17385. },
  17386. "syncgoodsqty": {
  17387. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17388. "type": "integer"
  17389. }
  17390. }
  17391. },
  17392. "models.Goodssortbypreposition": {
  17393. "type": "object",
  17394. "required": [
  17395. "goodscode",
  17396. "tradedate"
  17397. ],
  17398. "properties": {
  17399. "goodscode": {
  17400. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17401. "type": "string"
  17402. },
  17403. "goodsgroupcode": {
  17404. "description": "品种代码",
  17405. "type": "string"
  17406. },
  17407. "prepositionqty": {
  17408. "description": "昨持仓量",
  17409. "type": "integer"
  17410. },
  17411. "sortindex": {
  17412. "description": "排序",
  17413. "type": "integer"
  17414. },
  17415. "tradedate": {
  17416. "description": "交易日",
  17417. "type": "string"
  17418. },
  17419. "updatetime": {
  17420. "description": "更新时间",
  17421. "type": "string"
  17422. }
  17423. }
  17424. },
  17425. "models.Hedgeinnerholderdetail": {
  17426. "type": "object",
  17427. "required": [
  17428. "buyorsell",
  17429. "tradeid"
  17430. ],
  17431. "properties": {
  17432. "accountid": {
  17433. "description": "账号ID",
  17434. "type": "integer"
  17435. },
  17436. "buyorsell": {
  17437. "description": "方向 - 0:买 1:卖",
  17438. "type": "integer"
  17439. },
  17440. "freezeqty": {
  17441. "description": "冻结数量 - 按单平使用",
  17442. "type": "integer"
  17443. },
  17444. "goodsid": {
  17445. "description": "商品ID",
  17446. "type": "integer"
  17447. },
  17448. "holderamount": {
  17449. "description": "持仓金额 [商品币种]",
  17450. "type": "number"
  17451. },
  17452. "holderdays": {
  17453. "description": "剩余冻结天数",
  17454. "type": "integer"
  17455. },
  17456. "holderprice": {
  17457. "description": "持仓价格",
  17458. "type": "number"
  17459. },
  17460. "holderqty": {
  17461. "description": "持仓数量",
  17462. "type": "integer"
  17463. },
  17464. "marketid": {
  17465. "description": "市场ID",
  17466. "type": "integer"
  17467. },
  17468. "openprice": {
  17469. "description": "建仓价格",
  17470. "type": "number"
  17471. },
  17472. "openqty": {
  17473. "description": "建仓数量",
  17474. "type": "integer"
  17475. },
  17476. "parentaccountid": {
  17477. "description": "所属母账户",
  17478. "type": "integer"
  17479. },
  17480. "releaseamount": {
  17481. "description": "释放持仓金额[商品币种]",
  17482. "type": "number"
  17483. },
  17484. "tradeamount": {
  17485. "description": "成交金额[账户]",
  17486. "type": "number"
  17487. },
  17488. "tradedate": {
  17489. "description": "交易日(yyyyMMdd)",
  17490. "type": "string"
  17491. },
  17492. "tradeid": {
  17493. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17494. "type": "string"
  17495. },
  17496. "tradetime": {
  17497. "description": "交易时间",
  17498. "type": "string"
  17499. }
  17500. }
  17501. },
  17502. "models.Hedgemarketopenlog": {
  17503. "type": "object",
  17504. "required": [
  17505. "accountid"
  17506. ],
  17507. "properties": {
  17508. "accountid": {
  17509. "description": "资金账号[外部母账户]",
  17510. "type": "integer"
  17511. },
  17512. "fcname": {
  17513. "description": "期货公司名称",
  17514. "type": "string"
  17515. },
  17516. "handlestatus": {
  17517. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17518. "type": "integer"
  17519. },
  17520. "marketid": {
  17521. "description": "市场ID",
  17522. "type": "integer"
  17523. },
  17524. "status": {
  17525. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17526. "type": "integer"
  17527. },
  17528. "tradedate": {
  17529. "description": "交易日(yyyyMMdd)",
  17530. "type": "string"
  17531. },
  17532. "updatetime": {
  17533. "description": "更新时间",
  17534. "type": "string"
  17535. }
  17536. }
  17537. },
  17538. "models.HsbyBuyMyPayOrder": {
  17539. "type": "object",
  17540. "required": [
  17541. "goodscode",
  17542. "goodsname",
  17543. "tradeid",
  17544. "trademode"
  17545. ],
  17546. "properties": {
  17547. "agreeunit": {
  17548. "description": "合约单位",
  17549. "type": "number"
  17550. },
  17551. "buyaccountid": {
  17552. "description": "买方账号ID[报价币种]",
  17553. "type": "integer"
  17554. },
  17555. "buyorderid": {
  17556. "description": "买方委托单号",
  17557. "type": "string"
  17558. },
  17559. "createtime": {
  17560. "description": "创建时间",
  17561. "type": "string"
  17562. },
  17563. "currencysign": {
  17564. "description": "货币符号",
  17565. "type": "string"
  17566. },
  17567. "decimalplace": {
  17568. "description": "报价小数位",
  17569. "type": "integer"
  17570. },
  17571. "goodscode": {
  17572. "description": "商品代码(内部)",
  17573. "type": "string"
  17574. },
  17575. "goodsid": {
  17576. "description": "商品ID",
  17577. "type": "integer"
  17578. },
  17579. "goodsname": {
  17580. "description": "商品名称",
  17581. "type": "string"
  17582. },
  17583. "marketid": {
  17584. "description": "市场ID",
  17585. "type": "integer"
  17586. },
  17587. "offamount": {
  17588. "description": "优惠金额",
  17589. "type": "number"
  17590. },
  17591. "originalamount": {
  17592. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17593. "type": "number"
  17594. },
  17595. "payamount": {
  17596. "description": "支付金额 = TradeAmount + TradeCharge",
  17597. "type": "number"
  17598. },
  17599. "payflag": {
  17600. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17601. "type": "integer"
  17602. },
  17603. "paylimitedtime": {
  17604. "description": "支付期限",
  17605. "type": "string"
  17606. },
  17607. "paytime": {
  17608. "description": "付款时间",
  17609. "type": "string"
  17610. },
  17611. "picurls1": {
  17612. "description": "预售商品介绍图片[多张用逗号分隔]",
  17613. "type": "string"
  17614. },
  17615. "picurls2": {
  17616. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17617. "type": "string"
  17618. },
  17619. "sellaccountid": {
  17620. "description": "卖方账号ID[报价币种]",
  17621. "type": "integer"
  17622. },
  17623. "sellorderid": {
  17624. "description": "卖方委托单号",
  17625. "type": "string"
  17626. },
  17627. "tradeamount": {
  17628. "description": "成交金额",
  17629. "type": "number"
  17630. },
  17631. "tradecharge": {
  17632. "description": "成交手续费(买方)",
  17633. "type": "number"
  17634. },
  17635. "tradedate": {
  17636. "description": "交易日(yyyyMMdd)",
  17637. "type": "string"
  17638. },
  17639. "tradeid": {
  17640. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17641. "type": "string"
  17642. },
  17643. "trademode": {
  17644. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17645. "type": "integer"
  17646. },
  17647. "tradeprice": {
  17648. "description": "成交价格",
  17649. "type": "number"
  17650. },
  17651. "tradeqty": {
  17652. "description": "成交数量",
  17653. "type": "integer"
  17654. },
  17655. "vendorname1": {
  17656. "description": "预售商品供应商名称",
  17657. "type": "string"
  17658. },
  17659. "vendorname2": {
  17660. "description": "挂牌商品供应商名称",
  17661. "type": "string"
  17662. }
  17663. }
  17664. },
  17665. "models.HsbyBuyMyTradeDetail": {
  17666. "type": "object",
  17667. "required": [
  17668. "accountid",
  17669. "buyorsell",
  17670. "goodscode",
  17671. "goodsid",
  17672. "goodsname",
  17673. "marketid",
  17674. "orderid",
  17675. "qty",
  17676. "time",
  17677. "trademode"
  17678. ],
  17679. "properties": {
  17680. "accountid": {
  17681. "description": "账户ID[报价币种]",
  17682. "type": "integer"
  17683. },
  17684. "agreeunit": {
  17685. "description": "合约单位",
  17686. "type": "number"
  17687. },
  17688. "amount": {
  17689. "description": "金额 = 价格 * 数量 * 合约单位",
  17690. "type": "number"
  17691. },
  17692. "buyorsell": {
  17693. "description": "买卖 - 0:买 1:卖",
  17694. "type": "integer"
  17695. },
  17696. "currencysign": {
  17697. "description": "货币符号",
  17698. "type": "string"
  17699. },
  17700. "decimalplace": {
  17701. "description": "报价小数位",
  17702. "type": "integer"
  17703. },
  17704. "goodscode": {
  17705. "description": "商品代码(内部)",
  17706. "type": "string"
  17707. },
  17708. "goodsid": {
  17709. "description": "商品ID",
  17710. "type": "integer"
  17711. },
  17712. "goodsname": {
  17713. "description": "商品名称",
  17714. "type": "string"
  17715. },
  17716. "marketid": {
  17717. "description": "市场ID",
  17718. "type": "integer"
  17719. },
  17720. "orderamount": {
  17721. "description": "委托金额",
  17722. "type": "number"
  17723. },
  17724. "orderid": {
  17725. "description": "单号(成交单号)",
  17726. "type": "string"
  17727. },
  17728. "picurls1": {
  17729. "description": "预售商品介绍图片[多张用逗号分隔]",
  17730. "type": "string"
  17731. },
  17732. "picurls2": {
  17733. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17734. "type": "string"
  17735. },
  17736. "price": {
  17737. "description": "价格",
  17738. "type": "number"
  17739. },
  17740. "qty": {
  17741. "description": "数量",
  17742. "type": "integer"
  17743. },
  17744. "time": {
  17745. "description": "时间",
  17746. "type": "string"
  17747. },
  17748. "trademode": {
  17749. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17750. "type": "integer"
  17751. },
  17752. "vendorname1": {
  17753. "description": "预售商品供应商名称",
  17754. "type": "string"
  17755. },
  17756. "vendorname2": {
  17757. "description": "挂牌商品供应商名称",
  17758. "type": "string"
  17759. }
  17760. }
  17761. },
  17762. "models.HsbyGoodsOrderDetail": {
  17763. "type": "object",
  17764. "required": [
  17765. "buyorsell",
  17766. "orderid",
  17767. "ordertime"
  17768. ],
  17769. "properties": {
  17770. "buyorsell": {
  17771. "description": "买卖 - 0:买 1:卖",
  17772. "type": "integer"
  17773. },
  17774. "currencysign": {
  17775. "description": "货币符号",
  17776. "type": "string"
  17777. },
  17778. "customername": {
  17779. "description": "客户名称(企业名称),已脱敏",
  17780. "type": "string"
  17781. },
  17782. "enableqty": {
  17783. "description": "可用数量",
  17784. "type": "integer"
  17785. },
  17786. "goodunit": {
  17787. "description": "报价单位",
  17788. "type": "string"
  17789. },
  17790. "orderid": {
  17791. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17792. "type": "string"
  17793. },
  17794. "orderprice": {
  17795. "description": "委托价格",
  17796. "type": "number"
  17797. },
  17798. "ordertime": {
  17799. "description": "委托时间",
  17800. "type": "string"
  17801. }
  17802. }
  17803. },
  17804. "models.HsbyListingGoodsDetail": {
  17805. "type": "object",
  17806. "required": [
  17807. "goodscode",
  17808. "goodsid",
  17809. "goodsname",
  17810. "marketid",
  17811. "trademode"
  17812. ],
  17813. "properties": {
  17814. "agreeunit": {
  17815. "description": "合约单位",
  17816. "type": "number"
  17817. },
  17818. "buymaxqty": {
  17819. "description": "购买上限 [71] - 0为不限",
  17820. "type": "integer"
  17821. },
  17822. "currency": {
  17823. "description": "货币",
  17824. "type": "string"
  17825. },
  17826. "currencysign": {
  17827. "description": "货币符号",
  17828. "type": "string"
  17829. },
  17830. "decimalplace": {
  17831. "description": "报价小数位",
  17832. "type": "integer"
  17833. },
  17834. "desccityid": {
  17835. "description": "目的地(市)ID",
  17836. "type": "integer"
  17837. },
  17838. "descprovinceid": {
  17839. "description": "目的地(省)ID",
  17840. "type": "integer"
  17841. },
  17842. "goodscode": {
  17843. "description": "商品代码(内部)",
  17844. "type": "string"
  17845. },
  17846. "goodsdesc": {
  17847. "description": "商品详情",
  17848. "type": "string"
  17849. },
  17850. "goodsid": {
  17851. "description": "商品ID(自增ID SEQ_GOODS)",
  17852. "type": "integer"
  17853. },
  17854. "goodsname": {
  17855. "description": "商品名称",
  17856. "type": "string"
  17857. },
  17858. "goodsprice": {
  17859. "description": "商品价格",
  17860. "type": "number"
  17861. },
  17862. "hotindex": {
  17863. "description": "景点热度",
  17864. "type": "integer"
  17865. },
  17866. "last": {
  17867. "description": "现价",
  17868. "type": "number"
  17869. },
  17870. "limitdown": {
  17871. "description": "跌停价",
  17872. "type": "number"
  17873. },
  17874. "limitup": {
  17875. "description": "涨停价",
  17876. "type": "number"
  17877. },
  17878. "lotsize": {
  17879. "description": "手数最小变动单位",
  17880. "type": "integer"
  17881. },
  17882. "marketid": {
  17883. "description": "所属市场ID",
  17884. "type": "integer"
  17885. },
  17886. "picurls": {
  17887. "description": "介绍图片[多张用逗号分隔]",
  17888. "type": "string"
  17889. },
  17890. "quoteminunit": {
  17891. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17892. "type": "integer"
  17893. },
  17894. "stepvalue": {
  17895. "description": "价格最小变动单位",
  17896. "type": "number"
  17897. },
  17898. "trademode": {
  17899. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17900. "type": "integer"
  17901. },
  17902. "vendorattr": {
  17903. "description": "供应商附件(多张,逗号分隔)",
  17904. "type": "string"
  17905. },
  17906. "vendorname": {
  17907. "description": "供应商名称",
  17908. "type": "string"
  17909. },
  17910. "vendorphone": {
  17911. "description": "供应商客服电话",
  17912. "type": "string"
  17913. },
  17914. "videourls": {
  17915. "description": "介绍视频[多张用逗号分隔]",
  17916. "type": "string"
  17917. }
  17918. }
  17919. },
  17920. "models.HsbyMarketGoods": {
  17921. "type": "object",
  17922. "required": [
  17923. "accountid",
  17924. "buyorsell",
  17925. "goodscode",
  17926. "goodsid",
  17927. "goodsname",
  17928. "marketid",
  17929. "orderid",
  17930. "trademode"
  17931. ],
  17932. "properties": {
  17933. "accountid": {
  17934. "description": "账户ID[报价币种]",
  17935. "type": "integer"
  17936. },
  17937. "agreeunit": {
  17938. "description": "合约单位",
  17939. "type": "number"
  17940. },
  17941. "buyorsell": {
  17942. "description": "买卖 - 0:买 1:卖",
  17943. "type": "integer"
  17944. },
  17945. "categoryid": {
  17946. "description": "类别ID(WRCATEGORY)",
  17947. "type": "integer"
  17948. },
  17949. "currency": {
  17950. "description": "货币",
  17951. "type": "string"
  17952. },
  17953. "currencysign": {
  17954. "description": "货币符号",
  17955. "type": "string"
  17956. },
  17957. "customername": {
  17958. "description": "卖家名称",
  17959. "type": "string"
  17960. },
  17961. "decimalplace": {
  17962. "description": "报价小数位",
  17963. "type": "integer"
  17964. },
  17965. "goodscode": {
  17966. "description": "商品代码(内部)",
  17967. "type": "string"
  17968. },
  17969. "goodsid": {
  17970. "description": "商品ID",
  17971. "type": "integer"
  17972. },
  17973. "goodsname": {
  17974. "description": "商品名称",
  17975. "type": "string"
  17976. },
  17977. "goodsprice": {
  17978. "description": "商品价格",
  17979. "type": "number"
  17980. },
  17981. "hascoupon": {
  17982. "description": "是否可用优惠卷",
  17983. "type": "boolean"
  17984. },
  17985. "hotindex": {
  17986. "description": "景点热度",
  17987. "type": "integer"
  17988. },
  17989. "marketid": {
  17990. "description": "市场ID",
  17991. "type": "integer"
  17992. },
  17993. "orderid": {
  17994. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17995. "type": "string"
  17996. },
  17997. "orderprice": {
  17998. "description": "委托价格",
  17999. "type": "number"
  18000. },
  18001. "orderstatus": {
  18002. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18003. "type": "integer"
  18004. },
  18005. "picurls": {
  18006. "description": "介绍图片[多张用逗号分隔]",
  18007. "type": "string"
  18008. },
  18009. "quoteminunit": {
  18010. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18011. "type": "integer"
  18012. },
  18013. "sellUserID": {
  18014. "description": "卖方UserID",
  18015. "type": "integer"
  18016. },
  18017. "trademode": {
  18018. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18019. "type": "integer"
  18020. },
  18021. "videourls": {
  18022. "description": "介绍视频[多张用逗号分隔]",
  18023. "type": "string"
  18024. }
  18025. }
  18026. },
  18027. "models.HsbyMarketGoodsDetail": {
  18028. "type": "object",
  18029. "required": [
  18030. "accountid",
  18031. "buyorsell",
  18032. "goodscode",
  18033. "goodsid",
  18034. "goodsname",
  18035. "marketid",
  18036. "orderid",
  18037. "orderqty",
  18038. "trademode"
  18039. ],
  18040. "properties": {
  18041. "accountid": {
  18042. "description": "账户ID[报价币种]",
  18043. "type": "integer"
  18044. },
  18045. "agreeunit": {
  18046. "description": "合约单位",
  18047. "type": "number"
  18048. },
  18049. "buymaxqty": {
  18050. "description": "购买上限 [71] - 0为不限",
  18051. "type": "integer"
  18052. },
  18053. "buyorsell": {
  18054. "description": "买卖 - 0:买 1:卖",
  18055. "type": "integer"
  18056. },
  18057. "cancelqty": {
  18058. "description": "撤单数量",
  18059. "type": "integer"
  18060. },
  18061. "categoryid": {
  18062. "description": "类别ID(WRCATEGORY)",
  18063. "type": "integer"
  18064. },
  18065. "currency": {
  18066. "description": "货币",
  18067. "type": "string"
  18068. },
  18069. "currencysign": {
  18070. "description": "货币符号",
  18071. "type": "string"
  18072. },
  18073. "customername": {
  18074. "description": "卖家名称",
  18075. "type": "string"
  18076. },
  18077. "decimalplace": {
  18078. "description": "报价小数位",
  18079. "type": "integer"
  18080. },
  18081. "goodscode": {
  18082. "description": "商品代码(内部)",
  18083. "type": "string"
  18084. },
  18085. "goodsdesc": {
  18086. "description": "商品详情",
  18087. "type": "string"
  18088. },
  18089. "goodsid": {
  18090. "description": "商品ID",
  18091. "type": "integer"
  18092. },
  18093. "goodsname": {
  18094. "description": "商品名称",
  18095. "type": "string"
  18096. },
  18097. "goodsprice": {
  18098. "description": "商品价格",
  18099. "type": "number"
  18100. },
  18101. "hotindex": {
  18102. "description": "景点热度",
  18103. "type": "integer"
  18104. },
  18105. "lotsize": {
  18106. "description": "手数最小变动单位",
  18107. "type": "integer"
  18108. },
  18109. "marketid": {
  18110. "description": "市场ID",
  18111. "type": "integer"
  18112. },
  18113. "orderid": {
  18114. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18115. "type": "string"
  18116. },
  18117. "orderprice": {
  18118. "description": "委托价格",
  18119. "type": "number"
  18120. },
  18121. "orderqty": {
  18122. "description": "委托数量",
  18123. "type": "integer"
  18124. },
  18125. "orderstatus": {
  18126. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18127. "type": "integer"
  18128. },
  18129. "picurls": {
  18130. "description": "介绍图片[多张用逗号分隔]",
  18131. "type": "string"
  18132. },
  18133. "quoteminunit": {
  18134. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18135. "type": "integer"
  18136. },
  18137. "sellUserID": {
  18138. "description": "卖方UserID",
  18139. "type": "integer"
  18140. },
  18141. "trademode": {
  18142. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18143. "type": "integer"
  18144. },
  18145. "tradeqty": {
  18146. "description": "成交数量",
  18147. "type": "integer"
  18148. },
  18149. "vendorattr": {
  18150. "description": "供应商附件(多张,逗号分隔)",
  18151. "type": "string"
  18152. },
  18153. "vendorname": {
  18154. "description": "供应商名称",
  18155. "type": "string"
  18156. },
  18157. "vendorphone": {
  18158. "description": "供应商客服电话",
  18159. "type": "string"
  18160. },
  18161. "videourls": {
  18162. "description": "介绍视频[多张用逗号分隔]",
  18163. "type": "string"
  18164. }
  18165. }
  18166. },
  18167. "models.HsbyMarketInfo": {
  18168. "type": "object",
  18169. "required": [
  18170. "marketid",
  18171. "marketstatus",
  18172. "trademode"
  18173. ],
  18174. "properties": {
  18175. "marketid": {
  18176. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18177. "type": "integer"
  18178. },
  18179. "marketname": {
  18180. "description": "市场名称",
  18181. "type": "string"
  18182. },
  18183. "marketstatus": {
  18184. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18185. "type": "integer"
  18186. },
  18187. "trademode": {
  18188. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18189. "type": "integer"
  18190. }
  18191. }
  18192. },
  18193. "models.HsbyMyGoods": {
  18194. "type": "object",
  18195. "required": [
  18196. "accountid",
  18197. "goodscode",
  18198. "goodsid",
  18199. "goodsname",
  18200. "marketid",
  18201. "trademode"
  18202. ],
  18203. "properties": {
  18204. "accountid": {
  18205. "description": "账号Id",
  18206. "type": "integer"
  18207. },
  18208. "agreeunit": {
  18209. "description": "合约单位",
  18210. "type": "number"
  18211. },
  18212. "buyaverageprice": {
  18213. "description": "持仓均价",
  18214. "type": "number"
  18215. },
  18216. "buycurholderamount": {
  18217. "description": "买当前持仓总金额[商品币种]",
  18218. "type": "number"
  18219. },
  18220. "buycurpositionqty": {
  18221. "description": "买当前持仓总数量",
  18222. "type": "integer"
  18223. },
  18224. "buymaxqty": {
  18225. "description": "购买上限 [71] - 0为不限",
  18226. "type": "integer"
  18227. },
  18228. "currencysign": {
  18229. "description": "货币符号",
  18230. "type": "string"
  18231. },
  18232. "decimalplace": {
  18233. "description": "报价小数位",
  18234. "type": "integer"
  18235. },
  18236. "enableqty": {
  18237. "description": "可用数量",
  18238. "type": "integer"
  18239. },
  18240. "goodscode": {
  18241. "description": "商品代码(内部)",
  18242. "type": "string"
  18243. },
  18244. "goodsid": {
  18245. "description": "商品Id",
  18246. "type": "integer"
  18247. },
  18248. "goodsname": {
  18249. "description": "商品名称",
  18250. "type": "string"
  18251. },
  18252. "goodsprice": {
  18253. "description": "商品价格",
  18254. "type": "number"
  18255. },
  18256. "goodsstatus": {
  18257. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18258. "type": "integer"
  18259. },
  18260. "last": {
  18261. "description": "现价(仅使用于挂牌点选)",
  18262. "type": "number"
  18263. },
  18264. "limitdown": {
  18265. "description": "跌停价(仅使用于挂牌点选)",
  18266. "type": "number"
  18267. },
  18268. "limitup": {
  18269. "description": "涨停价(仅使用于挂牌点选)",
  18270. "type": "number"
  18271. },
  18272. "lotsize": {
  18273. "description": "手数最小变动单位",
  18274. "type": "integer"
  18275. },
  18276. "marketid": {
  18277. "description": "所属市场ID",
  18278. "type": "integer"
  18279. },
  18280. "picurls": {
  18281. "description": "介绍图片[多张用逗号分隔]",
  18282. "type": "string"
  18283. },
  18284. "quoteminunit": {
  18285. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18286. "type": "integer"
  18287. },
  18288. "stepvalue": {
  18289. "description": "价格最小变动单位",
  18290. "type": "number"
  18291. },
  18292. "trademode": {
  18293. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18294. "type": "integer"
  18295. }
  18296. }
  18297. },
  18298. "models.HsbyMyPackage": {
  18299. "type": "object",
  18300. "required": [
  18301. "goodscode",
  18302. "goodsname",
  18303. "takeorderid",
  18304. "trademode"
  18305. ],
  18306. "properties": {
  18307. "accountid": {
  18308. "description": "账户ID",
  18309. "type": "integer"
  18310. },
  18311. "address": {
  18312. "description": "提货人详细地址",
  18313. "type": "string"
  18314. },
  18315. "agreeunit": {
  18316. "description": "合约单位",
  18317. "type": "number"
  18318. },
  18319. "amount": {
  18320. "description": "提货金额",
  18321. "type": "number"
  18322. },
  18323. "auditer": {
  18324. "description": "审核人",
  18325. "type": "integer"
  18326. },
  18327. "audittime": {
  18328. "description": "审核时间",
  18329. "type": "string"
  18330. },
  18331. "averageprice": {
  18332. "description": "均价",
  18333. "type": "number"
  18334. },
  18335. "cardnum": {
  18336. "description": "提货人证件号码",
  18337. "type": "string"
  18338. },
  18339. "cardtypeid": {
  18340. "description": "提货人证件类型",
  18341. "type": "integer"
  18342. },
  18343. "checkremark": {
  18344. "description": "审核备注",
  18345. "type": "string"
  18346. },
  18347. "currencysign": {
  18348. "description": "货币符号",
  18349. "type": "string"
  18350. },
  18351. "decimalplace": {
  18352. "description": "报价小数位",
  18353. "type": "integer"
  18354. },
  18355. "goodscode": {
  18356. "description": "商品代码(内部)",
  18357. "type": "string"
  18358. },
  18359. "goodsid": {
  18360. "description": "商品ID",
  18361. "type": "integer"
  18362. },
  18363. "goodsname": {
  18364. "description": "商品名称",
  18365. "type": "string"
  18366. },
  18367. "handlestatus": {
  18368. "description": "处理状态",
  18369. "type": "integer"
  18370. },
  18371. "marketid": {
  18372. "description": "市场ID",
  18373. "type": "integer"
  18374. },
  18375. "phonenum": {
  18376. "description": "提货人联系方式",
  18377. "type": "string"
  18378. },
  18379. "picurls": {
  18380. "description": "介绍图片[多张用逗号分隔]",
  18381. "type": "string"
  18382. },
  18383. "qty": {
  18384. "description": "提货数量",
  18385. "type": "number"
  18386. },
  18387. "recivername": {
  18388. "description": "提货人姓名",
  18389. "type": "string"
  18390. },
  18391. "reqtime": {
  18392. "description": "更新时间",
  18393. "type": "string"
  18394. },
  18395. "takemode": {
  18396. "description": "提货方式 - 2:自提 3:配送",
  18397. "type": "integer"
  18398. },
  18399. "takeorderid": {
  18400. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18401. "type": "string"
  18402. },
  18403. "takeorderstatus": {
  18404. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18405. "type": "integer"
  18406. },
  18407. "takeremark": {
  18408. "description": "提货备注",
  18409. "type": "string"
  18410. },
  18411. "tradedate": {
  18412. "description": "交易日(yyyyMMdd)",
  18413. "type": "string"
  18414. },
  18415. "trademode": {
  18416. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18417. "type": "integer"
  18418. },
  18419. "userid": {
  18420. "description": "用户ID",
  18421. "type": "integer"
  18422. },
  18423. "vendorname": {
  18424. "description": "供应商名称",
  18425. "type": "string"
  18426. }
  18427. }
  18428. },
  18429. "models.HsbyPreGoods": {
  18430. "type": "object",
  18431. "required": [
  18432. "goodscode",
  18433. "goodsid",
  18434. "goodsname",
  18435. "marketid",
  18436. "trademode"
  18437. ],
  18438. "properties": {
  18439. "agreeunit": {
  18440. "description": "合约单位",
  18441. "type": "number"
  18442. },
  18443. "currency": {
  18444. "description": "货币",
  18445. "type": "string"
  18446. },
  18447. "currencysign": {
  18448. "description": "货币符号",
  18449. "type": "string"
  18450. },
  18451. "decimalplace": {
  18452. "description": "报价小数位",
  18453. "type": "integer"
  18454. },
  18455. "desccityid": {
  18456. "description": "目的地(市)",
  18457. "type": "integer"
  18458. },
  18459. "descprovinceid": {
  18460. "description": "目的地(省)",
  18461. "type": "integer"
  18462. },
  18463. "enableqty": {
  18464. "description": "剩余数量",
  18465. "type": "integer"
  18466. },
  18467. "goodscode": {
  18468. "description": "商品代码(内部)",
  18469. "type": "string"
  18470. },
  18471. "goodsid": {
  18472. "description": "商品ID(自增ID SEQ_GOODS)",
  18473. "type": "integer"
  18474. },
  18475. "goodsname": {
  18476. "description": "商品名称",
  18477. "type": "string"
  18478. },
  18479. "goodsstatus": {
  18480. "description": "商品状态- 2:未上市 3:上市",
  18481. "type": "integer"
  18482. },
  18483. "lasttradedate": {
  18484. "description": "最后交易日期(状态:待退市)",
  18485. "type": "string"
  18486. },
  18487. "listingdate": {
  18488. "description": "交易开始日期",
  18489. "type": "string"
  18490. },
  18491. "marketid": {
  18492. "description": "所属市场ID",
  18493. "type": "integer"
  18494. },
  18495. "picurls": {
  18496. "description": "介绍图片[多张用逗号分隔]",
  18497. "type": "string"
  18498. },
  18499. "presaledqty": {
  18500. "description": "已预售量(预售结束时更新)",
  18501. "type": "integer"
  18502. },
  18503. "presaleqty": {
  18504. "description": "预售数量",
  18505. "type": "integer"
  18506. },
  18507. "quoteminunit": {
  18508. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18509. "type": "integer"
  18510. },
  18511. "refprice": {
  18512. "description": "参考价格[一口价]",
  18513. "type": "number"
  18514. },
  18515. "relatedgoodsid": {
  18516. "description": "关联交易合约ID",
  18517. "type": "integer"
  18518. },
  18519. "trademode": {
  18520. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18521. "type": "integer"
  18522. },
  18523. "videourls": {
  18524. "description": "介绍视频[多张用逗号分隔]",
  18525. "type": "string"
  18526. }
  18527. }
  18528. },
  18529. "models.HsbyPreGoodsDetail": {
  18530. "type": "object",
  18531. "required": [
  18532. "goodscode",
  18533. "goodsid",
  18534. "goodsname",
  18535. "marketid",
  18536. "trademode"
  18537. ],
  18538. "properties": {
  18539. "agreeunit": {
  18540. "description": "合约单位",
  18541. "type": "number"
  18542. },
  18543. "buymaxqty": {
  18544. "description": "购买上限 [71] - 0为不限",
  18545. "type": "integer"
  18546. },
  18547. "currency": {
  18548. "description": "货币",
  18549. "type": "string"
  18550. },
  18551. "currencysign": {
  18552. "description": "货币符号",
  18553. "type": "string"
  18554. },
  18555. "customername": {
  18556. "description": "发行单位",
  18557. "type": "string"
  18558. },
  18559. "decimalplace": {
  18560. "description": "报价小数位",
  18561. "type": "integer"
  18562. },
  18563. "desccityid": {
  18564. "description": "目的地(市)ID",
  18565. "type": "integer"
  18566. },
  18567. "descprovinceid": {
  18568. "description": "目的地(省)ID",
  18569. "type": "integer"
  18570. },
  18571. "enableqty": {
  18572. "description": "剩余数量",
  18573. "type": "integer"
  18574. },
  18575. "goodscode": {
  18576. "description": "商品代码(内部)",
  18577. "type": "string"
  18578. },
  18579. "goodsdesc": {
  18580. "description": "商品详情",
  18581. "type": "string"
  18582. },
  18583. "goodsid": {
  18584. "description": "商品ID(自增ID SEQ_GOODS)",
  18585. "type": "integer"
  18586. },
  18587. "goodsname": {
  18588. "description": "商品名称",
  18589. "type": "string"
  18590. },
  18591. "goodsstatus": {
  18592. "description": "商品状态- 2:未上市 3:上市",
  18593. "type": "integer"
  18594. },
  18595. "goodunit": {
  18596. "description": "报价单位",
  18597. "type": "string"
  18598. },
  18599. "lasttradedate": {
  18600. "description": "最后交易日期(状态:待退市)",
  18601. "type": "string"
  18602. },
  18603. "listingdate": {
  18604. "description": "交易开始日期",
  18605. "type": "string"
  18606. },
  18607. "lotsize": {
  18608. "description": "手数最小变动单位",
  18609. "type": "integer"
  18610. },
  18611. "marketid": {
  18612. "description": "所属市场ID",
  18613. "type": "integer"
  18614. },
  18615. "picurls": {
  18616. "description": "介绍图片[多张用逗号分隔]",
  18617. "type": "string"
  18618. },
  18619. "presaledqty": {
  18620. "description": "已预售量(预售结束时更新)",
  18621. "type": "integer"
  18622. },
  18623. "presaleqty": {
  18624. "description": "预售数量",
  18625. "type": "integer"
  18626. },
  18627. "quoteminunit": {
  18628. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18629. "type": "integer"
  18630. },
  18631. "refprice": {
  18632. "description": "参考价格[一口价]",
  18633. "type": "number"
  18634. },
  18635. "relatedgoodsid": {
  18636. "description": "关联交易合约ID",
  18637. "type": "integer"
  18638. },
  18639. "stepvalue": {
  18640. "description": "价格最小变动单位",
  18641. "type": "number"
  18642. },
  18643. "trademode": {
  18644. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18645. "type": "integer"
  18646. },
  18647. "vendorattr": {
  18648. "description": "供应商附件(多张,逗号分隔)",
  18649. "type": "string"
  18650. },
  18651. "vendorname": {
  18652. "description": "供应商名称",
  18653. "type": "string"
  18654. },
  18655. "vendorphone": {
  18656. "description": "供应商客服电话",
  18657. "type": "string"
  18658. },
  18659. "videourls": {
  18660. "description": "介绍视频[多张用逗号分隔]",
  18661. "type": "string"
  18662. }
  18663. }
  18664. },
  18665. "models.HsbySellCollectionOrder": {
  18666. "type": "object",
  18667. "required": [
  18668. "goodscode",
  18669. "goodsname",
  18670. "tradeid",
  18671. "trademode"
  18672. ],
  18673. "properties": {
  18674. "agreeunit": {
  18675. "description": "合约单位",
  18676. "type": "number"
  18677. },
  18678. "buyaccountid": {
  18679. "description": "买方账号ID[报价币种]",
  18680. "type": "integer"
  18681. },
  18682. "buyorderid": {
  18683. "description": "买方委托单号",
  18684. "type": "string"
  18685. },
  18686. "createtime": {
  18687. "description": "创建时间",
  18688. "type": "string"
  18689. },
  18690. "currencysign": {
  18691. "description": "货币符号",
  18692. "type": "string"
  18693. },
  18694. "decimalplace": {
  18695. "description": "报价小数位",
  18696. "type": "integer"
  18697. },
  18698. "goodscode": {
  18699. "description": "商品代码(内部)",
  18700. "type": "string"
  18701. },
  18702. "goodsid": {
  18703. "description": "商品ID",
  18704. "type": "integer"
  18705. },
  18706. "goodsname": {
  18707. "description": "商品名称",
  18708. "type": "string"
  18709. },
  18710. "marketid": {
  18711. "description": "市场ID",
  18712. "type": "integer"
  18713. },
  18714. "offamount": {
  18715. "description": "优惠金额",
  18716. "type": "number"
  18717. },
  18718. "payamount": {
  18719. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  18720. "type": "number"
  18721. },
  18722. "payflag": {
  18723. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18724. "type": "integer"
  18725. },
  18726. "paylimitedtime": {
  18727. "description": "支付期限",
  18728. "type": "string"
  18729. },
  18730. "paytime": {
  18731. "description": "付款时间",
  18732. "type": "string"
  18733. },
  18734. "picurls": {
  18735. "description": "商品介绍图片[多张用逗号分隔]",
  18736. "type": "string"
  18737. },
  18738. "sellaccountid": {
  18739. "description": "卖方账号ID[报价币种]",
  18740. "type": "integer"
  18741. },
  18742. "sellorderid": {
  18743. "description": "卖方委托单号",
  18744. "type": "string"
  18745. },
  18746. "tradeamount": {
  18747. "description": "成交金额",
  18748. "type": "number"
  18749. },
  18750. "tradecharge": {
  18751. "description": "成交手续费(买方)",
  18752. "type": "number"
  18753. },
  18754. "tradedate": {
  18755. "description": "交易日(yyyyMMdd)",
  18756. "type": "string"
  18757. },
  18758. "tradeid": {
  18759. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18760. "type": "string"
  18761. },
  18762. "trademode": {
  18763. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18764. "type": "integer"
  18765. },
  18766. "tradeprice": {
  18767. "description": "成交价格",
  18768. "type": "number"
  18769. },
  18770. "tradeqty": {
  18771. "description": "成交数量",
  18772. "type": "integer"
  18773. }
  18774. }
  18775. },
  18776. "models.HsbySellMyDetail": {
  18777. "type": "object",
  18778. "required": [
  18779. "accountid",
  18780. "buyorsell",
  18781. "goodscode",
  18782. "goodsid",
  18783. "goodsname",
  18784. "marketid",
  18785. "orderid",
  18786. "time",
  18787. "trademode"
  18788. ],
  18789. "properties": {
  18790. "accountid": {
  18791. "description": "账户ID[报价币种]",
  18792. "type": "integer"
  18793. },
  18794. "agreeunit": {
  18795. "description": "合约单位",
  18796. "type": "number"
  18797. },
  18798. "buyorsell": {
  18799. "description": "买卖 - 0:买 1:卖",
  18800. "type": "integer"
  18801. },
  18802. "currencysign": {
  18803. "description": "货币符号",
  18804. "type": "string"
  18805. },
  18806. "decimalplace": {
  18807. "description": "报价小数位",
  18808. "type": "integer"
  18809. },
  18810. "goodscode": {
  18811. "description": "商品代码(内部)",
  18812. "type": "string"
  18813. },
  18814. "goodsid": {
  18815. "description": "商品ID",
  18816. "type": "integer"
  18817. },
  18818. "goodsname": {
  18819. "description": "商品名称",
  18820. "type": "string"
  18821. },
  18822. "marketid": {
  18823. "description": "市场ID",
  18824. "type": "integer"
  18825. },
  18826. "orderid": {
  18827. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  18828. "type": "string"
  18829. },
  18830. "ordertype": {
  18831. "description": "单据类型:0 - 发布中, 1 - 已完成",
  18832. "type": "integer"
  18833. },
  18834. "picurls": {
  18835. "description": "介绍图片[多张用逗号分隔]",
  18836. "type": "string"
  18837. },
  18838. "price": {
  18839. "description": "价格",
  18840. "type": "number"
  18841. },
  18842. "qty": {
  18843. "description": "数量",
  18844. "type": "integer"
  18845. },
  18846. "time": {
  18847. "description": "时间",
  18848. "type": "string"
  18849. },
  18850. "trademode": {
  18851. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18852. "type": "integer"
  18853. },
  18854. "vendorname": {
  18855. "description": "供应商名称",
  18856. "type": "string"
  18857. }
  18858. }
  18859. },
  18860. "models.HsbyTopGoods": {
  18861. "type": "object",
  18862. "required": [
  18863. "goodscode",
  18864. "goodsid",
  18865. "goodsname",
  18866. "marketid",
  18867. "trademode"
  18868. ],
  18869. "properties": {
  18870. "agreeunit": {
  18871. "description": "合约单位",
  18872. "type": "number"
  18873. },
  18874. "currency": {
  18875. "description": "货币",
  18876. "type": "string"
  18877. },
  18878. "currencysign": {
  18879. "description": "货币符号",
  18880. "type": "string"
  18881. },
  18882. "decimalplace": {
  18883. "description": "报价小数位",
  18884. "type": "integer"
  18885. },
  18886. "desccityid": {
  18887. "description": "目的地(市)",
  18888. "type": "integer"
  18889. },
  18890. "descprovinceid": {
  18891. "description": "目的地(省)",
  18892. "type": "integer"
  18893. },
  18894. "goodscode": {
  18895. "description": "商品代码(内部)",
  18896. "type": "string"
  18897. },
  18898. "goodsid": {
  18899. "description": "商品ID(自增ID SEQ_GOODS)",
  18900. "type": "integer"
  18901. },
  18902. "goodsname": {
  18903. "description": "商品名称",
  18904. "type": "string"
  18905. },
  18906. "hotindex": {
  18907. "description": "景点热度",
  18908. "type": "integer"
  18909. },
  18910. "last": {
  18911. "description": "现价",
  18912. "type": "number"
  18913. },
  18914. "marketid": {
  18915. "description": "所属市场ID",
  18916. "type": "integer"
  18917. },
  18918. "picurls": {
  18919. "description": "介绍图片[多张用逗号分隔]",
  18920. "type": "string"
  18921. },
  18922. "quoteminunit": {
  18923. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18924. "type": "integer"
  18925. },
  18926. "trademode": {
  18927. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18928. "type": "integer"
  18929. },
  18930. "videourls": {
  18931. "description": "介绍视频[多张用逗号分隔]",
  18932. "type": "string"
  18933. }
  18934. }
  18935. },
  18936. "models.HybsMyBuyOrderDetail": {
  18937. "type": "object",
  18938. "required": [
  18939. "accountid",
  18940. "buyorsell",
  18941. "goodscode",
  18942. "goodsid",
  18943. "goodsname",
  18944. "marketid",
  18945. "orderid",
  18946. "orderqty",
  18947. "ordertime",
  18948. "trademode"
  18949. ],
  18950. "properties": {
  18951. "accountid": {
  18952. "description": "账户ID[报价币种]",
  18953. "type": "integer"
  18954. },
  18955. "agreeunit": {
  18956. "description": "合约单位",
  18957. "type": "number"
  18958. },
  18959. "buyorsell": {
  18960. "description": "买卖 - 0:买 1:卖",
  18961. "type": "integer"
  18962. },
  18963. "cancelqty": {
  18964. "description": "撤单数量",
  18965. "type": "integer"
  18966. },
  18967. "currencysign": {
  18968. "description": "货币符号",
  18969. "type": "string"
  18970. },
  18971. "decimalplace": {
  18972. "description": "报价小数位",
  18973. "type": "integer"
  18974. },
  18975. "goodscode": {
  18976. "description": "商品代码(内部)",
  18977. "type": "string"
  18978. },
  18979. "goodsid": {
  18980. "description": "商品ID",
  18981. "type": "integer"
  18982. },
  18983. "goodsname": {
  18984. "description": "商品名称",
  18985. "type": "string"
  18986. },
  18987. "listingselecttype": {
  18988. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18989. "type": "integer"
  18990. },
  18991. "marketid": {
  18992. "description": "市场ID",
  18993. "type": "integer"
  18994. },
  18995. "mybuystatus": {
  18996. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  18997. "type": "integer"
  18998. },
  18999. "orderamount": {
  19000. "description": "委托金额",
  19001. "type": "number"
  19002. },
  19003. "orderid": {
  19004. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19005. "type": "string"
  19006. },
  19007. "orderprice": {
  19008. "description": "委托价格",
  19009. "type": "number"
  19010. },
  19011. "orderqty": {
  19012. "description": "委托数量",
  19013. "type": "integer"
  19014. },
  19015. "orderstatus": {
  19016. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19017. "type": "integer"
  19018. },
  19019. "ordertime": {
  19020. "description": "委托时间",
  19021. "type": "string"
  19022. },
  19023. "picurls1": {
  19024. "description": "预售商品介绍图片[多张用逗号分隔]",
  19025. "type": "string"
  19026. },
  19027. "picurls2": {
  19028. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19029. "type": "string"
  19030. },
  19031. "trademode": {
  19032. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19033. "type": "integer"
  19034. },
  19035. "tradeqty": {
  19036. "description": "成交数量",
  19037. "type": "integer"
  19038. },
  19039. "vendorname1": {
  19040. "description": "预售商品供应商名称",
  19041. "type": "string"
  19042. },
  19043. "vendorname2": {
  19044. "description": "挂牌商品供应商名称",
  19045. "type": "string"
  19046. }
  19047. }
  19048. },
  19049. "models.Loginaccount": {
  19050. "type": "object",
  19051. "required": [
  19052. "loginid"
  19053. ],
  19054. "properties": {
  19055. "canoutin": {
  19056. "description": "是否可出入金 - 0:不可 1:可",
  19057. "type": "integer"
  19058. },
  19059. "clientroleid": {
  19060. "description": "终端角色ID",
  19061. "type": "integer"
  19062. },
  19063. "haslogined": {
  19064. "description": "是否已登录 - 0:未登录 1:已登录",
  19065. "type": "integer"
  19066. },
  19067. "hasupdatedpwd": {
  19068. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19069. "type": "integer"
  19070. },
  19071. "lastloginip": {
  19072. "description": "最新登录地址",
  19073. "type": "string"
  19074. },
  19075. "lastloginmode": {
  19076. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19077. "type": "integer"
  19078. },
  19079. "lastloginremark": {
  19080. "description": "最新登录描述",
  19081. "type": "string"
  19082. },
  19083. "lastlogintime": {
  19084. "description": "最新登录时间",
  19085. "type": "string"
  19086. },
  19087. "logincode": {
  19088. "description": "登录代码",
  19089. "type": "string"
  19090. },
  19091. "loginfailnum": {
  19092. "description": "连续登录失败次数(登录成功时清零)",
  19093. "type": "integer"
  19094. },
  19095. "loginid": {
  19096. "description": "登陆账号",
  19097. "type": "integer"
  19098. },
  19099. "loginport": {
  19100. "description": "最新登录端口",
  19101. "type": "integer"
  19102. },
  19103. "loginstatus": {
  19104. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19105. "type": "integer"
  19106. },
  19107. "loginusertype": {
  19108. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19109. "type": "integer"
  19110. },
  19111. "modifierid": {
  19112. "description": "修改人",
  19113. "type": "integer"
  19114. },
  19115. "modifytime": {
  19116. "description": "修改时间",
  19117. "type": "string"
  19118. },
  19119. "pwdwrongcount": {
  19120. "description": "密码错误次数",
  19121. "type": "integer"
  19122. },
  19123. "taaccountrighttype": {
  19124. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19125. "type": "integer"
  19126. },
  19127. "unfreezetime": {
  19128. "description": "账户解冻时间",
  19129. "type": "string"
  19130. },
  19131. "userid": {
  19132. "description": "用户ID",
  19133. "type": "integer"
  19134. }
  19135. }
  19136. },
  19137. "models.MainAccountInfo": {
  19138. "type": "object",
  19139. "properties": {
  19140. "accountid": {
  19141. "description": "账号id",
  19142. "type": "integer"
  19143. },
  19144. "accountname": {
  19145. "description": "账号名称(taaccount表中的名称)",
  19146. "type": "string"
  19147. },
  19148. "appid": {
  19149. "description": "AppID",
  19150. "type": "string"
  19151. },
  19152. "authcode": {
  19153. "description": "授权码",
  19154. "type": "string"
  19155. },
  19156. "brokerid": {
  19157. "description": "经纪商id",
  19158. "type": "string"
  19159. },
  19160. "fcid": {
  19161. "description": "期货公司id",
  19162. "type": "integer"
  19163. },
  19164. "fcname": {
  19165. "description": "期货公司代码",
  19166. "type": "string"
  19167. },
  19168. "hedgeaccountcode": {
  19169. "description": "外部账号代码(主账号登录代码)",
  19170. "type": "string"
  19171. },
  19172. "hedgeaccountpwd": {
  19173. "description": "密码",
  19174. "type": "string"
  19175. },
  19176. "ismain": {
  19177. "description": "是否主账号",
  19178. "type": "integer"
  19179. },
  19180. "relateduserid": {
  19181. "description": "关联用户id",
  19182. "type": "integer"
  19183. },
  19184. "userid": {
  19185. "description": "关联用户id",
  19186. "type": "integer"
  19187. }
  19188. }
  19189. },
  19190. "models.Market": {
  19191. "type": "object",
  19192. "required": [
  19193. "marketid",
  19194. "marketstatus",
  19195. "openmethod",
  19196. "reckonpricealgorithm",
  19197. "trademode",
  19198. "tradeproperty"
  19199. ],
  19200. "properties": {
  19201. "auctionwrtype": {
  19202. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19203. "type": "integer"
  19204. },
  19205. "canacceptquote": {
  19206. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19207. "type": "integer"
  19208. },
  19209. "cangoodsexercise": {
  19210. "description": "[期权]是否可现货行权- 0:否 1:是",
  19211. "type": "integer"
  19212. },
  19213. "cangoodsexercisetype": {
  19214. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19215. "type": "integer"
  19216. },
  19217. "canmanualquotestrike": {
  19218. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19219. "type": "integer"
  19220. },
  19221. "canmutistage": {
  19222. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19223. "type": "integer"
  19224. },
  19225. "canpreexercise": {
  19226. "description": "[期权]是否可预申报- 0:否 1:是",
  19227. "type": "integer"
  19228. },
  19229. "clearinterval": {
  19230. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19231. "type": "integer"
  19232. },
  19233. "contracttmp": {
  19234. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19235. "type": "string"
  19236. },
  19237. "exchareaid": {
  19238. "description": "所属交易所,可以没有",
  19239. "type": "integer"
  19240. },
  19241. "goodstype": {
  19242. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19243. "type": "integer"
  19244. },
  19245. "hasrebate": {
  19246. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19247. "type": "integer"
  19248. },
  19249. "hastradecredit": {
  19250. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19251. "type": "integer"
  19252. },
  19253. "haswr": {
  19254. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19255. "type": "integer"
  19256. },
  19257. "isdeductmargin": {
  19258. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19259. "type": "integer"
  19260. },
  19261. "isrecordsource": {
  19262. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19263. "type": "integer"
  19264. },
  19265. "isreleasemargin": {
  19266. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19267. "type": "integer"
  19268. },
  19269. "marginformula": {
  19270. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19271. "type": "integer"
  19272. },
  19273. "marginformula2": {
  19274. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19275. "type": "integer"
  19276. },
  19277. "marketid": {
  19278. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19279. "type": "integer"
  19280. },
  19281. "marketname": {
  19282. "description": "市场名称",
  19283. "type": "string"
  19284. },
  19285. "marketserviceid": {
  19286. "description": "市场服务ID",
  19287. "type": "integer"
  19288. },
  19289. "marketstatus": {
  19290. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19291. "type": "integer"
  19292. },
  19293. "markettype": {
  19294. "description": "市场类型- 1:非交易服务 2:交易服务",
  19295. "type": "integer"
  19296. },
  19297. "matchermode": {
  19298. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19299. "type": "integer"
  19300. },
  19301. "openmethod": {
  19302. "description": "开盘模式 - 0 自动 1手动",
  19303. "type": "integer"
  19304. },
  19305. "otcuserid": {
  19306. "description": "场外期权做市商[场外期权]",
  19307. "type": "integer"
  19308. },
  19309. "outersynctime": {
  19310. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19311. "type": "string"
  19312. },
  19313. "pendingflag": {
  19314. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19315. "type": "integer"
  19316. },
  19317. "pendingtime": {
  19318. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19319. "type": "string"
  19320. },
  19321. "performancetempid": {
  19322. "description": "履约计划模板ID - 作废",
  19323. "type": "integer"
  19324. },
  19325. "premiumquotemode": {
  19326. "description": "权利金报价方式 - 1:自动 2:手动",
  19327. "type": "integer"
  19328. },
  19329. "rebateratio": {
  19330. "description": "返利比率[竞价式]",
  19331. "type": "number"
  19332. },
  19333. "reckonorder": {
  19334. "description": "结算顺序",
  19335. "type": "integer"
  19336. },
  19337. "reckonpricealgorithm": {
  19338. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19339. "type": "integer"
  19340. },
  19341. "reckonpriceparam": {
  19342. "description": "结算价参数",
  19343. "type": "integer"
  19344. },
  19345. "reckontime": {
  19346. "description": "结算时间[通道交易-对冲](HH:mm)",
  19347. "type": "string"
  19348. },
  19349. "roleprioritytype": {
  19350. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19351. "type": "integer"
  19352. },
  19353. "selllistingauditflag": {
  19354. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19355. "type": "integer"
  19356. },
  19357. "trademarkettype": {
  19358. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19359. "type": "integer"
  19360. },
  19361. "trademode": {
  19362. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19363. "type": "integer"
  19364. },
  19365. "tradeproperty": {
  19366. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19367. "type": "integer"
  19368. },
  19369. "tradetype": {
  19370. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19371. "type": "integer"
  19372. }
  19373. }
  19374. },
  19375. "models.Marketrun": {
  19376. "type": "object",
  19377. "required": [
  19378. "marketid",
  19379. "nexttradedate",
  19380. "reckonflag",
  19381. "runstatus",
  19382. "tradedate",
  19383. "tradedate2"
  19384. ],
  19385. "properties": {
  19386. "afternexttradedate": {
  19387. "description": "下下交易日",
  19388. "type": "string"
  19389. },
  19390. "clearquoteflag": {
  19391. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19392. "type": "integer"
  19393. },
  19394. "lastreckondate": {
  19395. "description": "最新交易日(结算成功)",
  19396. "type": "string"
  19397. },
  19398. "machinedate": {
  19399. "description": "机器时间",
  19400. "type": "string"
  19401. },
  19402. "manualflag": {
  19403. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19404. "type": "integer"
  19405. },
  19406. "marketid": {
  19407. "description": "市场ID",
  19408. "type": "integer"
  19409. },
  19410. "nexttradedate": {
  19411. "description": "下一交易日",
  19412. "type": "string"
  19413. },
  19414. "pretradedate": {
  19415. "description": "上一交易日",
  19416. "type": "string"
  19417. },
  19418. "reckonflag": {
  19419. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19420. "type": "integer"
  19421. },
  19422. "runstatus": {
  19423. "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.今日免清算",
  19424. "type": "integer"
  19425. },
  19426. "sectionid": {
  19427. "description": "时间段号[多时段时用]",
  19428. "type": "integer"
  19429. },
  19430. "tradedate": {
  19431. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19432. "type": "string"
  19433. },
  19434. "tradedate2": {
  19435. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19436. "type": "string"
  19437. },
  19438. "updatetime": {
  19439. "description": "更新时间",
  19440. "type": "string"
  19441. }
  19442. }
  19443. },
  19444. "models.Messageboard": {
  19445. "type": "object",
  19446. "required": [
  19447. "messageboardid"
  19448. ],
  19449. "properties": {
  19450. "contactnum": {
  19451. "description": "联系电话",
  19452. "type": "string"
  19453. },
  19454. "createtime": {
  19455. "description": "创建时间",
  19456. "type": "string"
  19457. },
  19458. "message": {
  19459. "description": "留言信息",
  19460. "type": "string"
  19461. },
  19462. "messageboardid": {
  19463. "description": "留言簿ID(SEQ_MessageBoard)",
  19464. "type": "integer"
  19465. },
  19466. "userid": {
  19467. "description": "用户ID",
  19468. "type": "integer"
  19469. }
  19470. }
  19471. },
  19472. "models.MyCoupon": {
  19473. "type": "object",
  19474. "required": [
  19475. "accountid",
  19476. "coupontypeid"
  19477. ],
  19478. "properties": {
  19479. "accountid": {
  19480. "description": "资金账户ID",
  19481. "type": "integer"
  19482. },
  19483. "areauserid": {
  19484. "description": "所属机构",
  19485. "type": "integer"
  19486. },
  19487. "conditionvalue": {
  19488. "description": "条件阈值(可为0)",
  19489. "type": "number"
  19490. },
  19491. "couponcategroy": {
  19492. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19493. "type": "integer"
  19494. },
  19495. "couponname": {
  19496. "description": "优惠券名称",
  19497. "type": "string"
  19498. },
  19499. "coupontypeid": {
  19500. "description": "优惠券类型ID",
  19501. "type": "string"
  19502. },
  19503. "couponvalue": {
  19504. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19505. "type": "number"
  19506. },
  19507. "curfreezeqty": {
  19508. "description": "期末冻结数量",
  19509. "type": "integer"
  19510. },
  19511. "curqty": {
  19512. "description": "期末数量",
  19513. "type": "integer"
  19514. },
  19515. "isgeneral": {
  19516. "description": "是否通用券 - 0:否 1:是",
  19517. "type": "integer"
  19518. },
  19519. "isunusable": {
  19520. "description": "是否不可用",
  19521. "type": "boolean"
  19522. },
  19523. "limitedflag": {
  19524. "description": "是否指定商品 - 0:不限 1:限制",
  19525. "type": "integer"
  19526. },
  19527. "limitedgoodsids": {
  19528. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19529. "type": "string"
  19530. },
  19531. "orifreezeqty": {
  19532. "description": "期初冻结数量",
  19533. "type": "integer"
  19534. },
  19535. "oriqty": {
  19536. "description": "期初数量",
  19537. "type": "integer"
  19538. },
  19539. "reasontype": {
  19540. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19541. "type": "integer"
  19542. },
  19543. "todaydecrease": {
  19544. "description": "今日减少",
  19545. "type": "integer"
  19546. },
  19547. "todayincrease": {
  19548. "description": "今日增加",
  19549. "type": "integer"
  19550. },
  19551. "userid": {
  19552. "description": "用户ID",
  19553. "type": "integer"
  19554. },
  19555. "userscope": {
  19556. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19557. "type": "string"
  19558. }
  19559. }
  19560. },
  19561. "models.MyCouponHold": {
  19562. "type": "object",
  19563. "required": [
  19564. "couponholdid"
  19565. ],
  19566. "properties": {
  19567. "accountid": {
  19568. "description": "资金账户ID",
  19569. "type": "integer"
  19570. },
  19571. "conditionvalue": {
  19572. "description": "条件阈值(可为0)",
  19573. "type": "number"
  19574. },
  19575. "couponcategroy": {
  19576. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19577. "type": "integer"
  19578. },
  19579. "couponholdid": {
  19580. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19581. "type": "string"
  19582. },
  19583. "couponname": {
  19584. "description": "优惠券名称",
  19585. "type": "string"
  19586. },
  19587. "coupontypeid": {
  19588. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19589. "type": "string"
  19590. },
  19591. "couponvalue": {
  19592. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19593. "type": "number"
  19594. },
  19595. "createtime": {
  19596. "description": "创建时间",
  19597. "type": "string"
  19598. },
  19599. "enddate": {
  19600. "description": "结束日期",
  19601. "type": "string"
  19602. },
  19603. "giveapplyid": {
  19604. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19605. "type": "integer"
  19606. },
  19607. "holdstatus": {
  19608. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19609. "type": "integer"
  19610. },
  19611. "isgeneral": {
  19612. "description": "是否通用券 - 0:否 1:是",
  19613. "type": "integer"
  19614. },
  19615. "limitedflag": {
  19616. "description": "是否指定商品 - 0:不限 1:限制",
  19617. "type": "integer"
  19618. },
  19619. "limitedgoodsids": {
  19620. "description": "指定商品IDs[逗号分隔]",
  19621. "type": "string"
  19622. },
  19623. "qty": {
  19624. "description": "数量(按1平铺)",
  19625. "type": "integer"
  19626. },
  19627. "startdate": {
  19628. "description": "开始日期",
  19629. "type": "string"
  19630. },
  19631. "userid": {
  19632. "description": "用户ID",
  19633. "type": "integer"
  19634. },
  19635. "userscope": {
  19636. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19637. "type": "string"
  19638. }
  19639. }
  19640. },
  19641. "models.MyUsedCoupon": {
  19642. "type": "object",
  19643. "required": [
  19644. "coupontypeid",
  19645. "orderid"
  19646. ],
  19647. "properties": {
  19648. "accountid": {
  19649. "description": "资金账户ID(买方)",
  19650. "type": "integer"
  19651. },
  19652. "conditionvalue": {
  19653. "description": "条件阈值(可为0)",
  19654. "type": "number"
  19655. },
  19656. "couponcategroy": {
  19657. "description": "种类 - 1:现金券 2:折扣券",
  19658. "type": "integer"
  19659. },
  19660. "couponname": {
  19661. "description": "优惠券名称",
  19662. "type": "string"
  19663. },
  19664. "coupontypeid": {
  19665. "description": "优惠券类型ID(买方)",
  19666. "type": "string"
  19667. },
  19668. "couponvalue": {
  19669. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  19670. "type": "number"
  19671. },
  19672. "createtime": {
  19673. "description": "创建时间",
  19674. "type": "string"
  19675. },
  19676. "goodsid": {
  19677. "description": "商品ID",
  19678. "type": "integer"
  19679. },
  19680. "handlestatus": {
  19681. "description": "处理状态",
  19682. "type": "integer"
  19683. },
  19684. "marketid": {
  19685. "description": "市场ID",
  19686. "type": "integer"
  19687. },
  19688. "offamount": {
  19689. "description": "优惠金额",
  19690. "type": "number"
  19691. },
  19692. "orderid": {
  19693. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19694. "type": "string"
  19695. },
  19696. "sellaccountid": {
  19697. "description": "资金账户ID(卖方)",
  19698. "type": "integer"
  19699. },
  19700. "tradeamount": {
  19701. "description": "成交金额",
  19702. "type": "number"
  19703. },
  19704. "tradeid": {
  19705. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19706. "type": "string"
  19707. },
  19708. "usedqty": {
  19709. "description": "使用数量",
  19710. "type": "integer"
  19711. }
  19712. }
  19713. },
  19714. "models.OperationPrimaryMenu": {
  19715. "type": "object",
  19716. "properties": {
  19717. "Children": {
  19718. "description": "二级功能菜单",
  19719. "type": "array",
  19720. "items": {
  19721. "$ref": "#/definitions/models.OperationSecondaryMenu"
  19722. }
  19723. },
  19724. "Key": {
  19725. "description": "菜单KEY",
  19726. "type": "string"
  19727. },
  19728. "Label": {
  19729. "description": "菜单标题",
  19730. "type": "string"
  19731. }
  19732. }
  19733. },
  19734. "models.OperationSecondaryMenu": {
  19735. "type": "object",
  19736. "properties": {
  19737. "Key": {
  19738. "description": "菜单KEY",
  19739. "type": "string"
  19740. },
  19741. "Label": {
  19742. "description": "菜单标题",
  19743. "type": "string"
  19744. },
  19745. "TabList": {
  19746. "description": "三级功能菜单",
  19747. "type": "array",
  19748. "items": {
  19749. "$ref": "#/definitions/models.OperationTabMenu"
  19750. }
  19751. }
  19752. }
  19753. },
  19754. "models.OperationTabMenu": {
  19755. "type": "object",
  19756. "properties": {
  19757. "Key": {
  19758. "description": "菜单KEY",
  19759. "type": "string"
  19760. },
  19761. "Label": {
  19762. "description": "菜单标题",
  19763. "type": "string"
  19764. }
  19765. }
  19766. },
  19767. "models.QueryErrorInfosRsp": {
  19768. "type": "object",
  19769. "required": [
  19770. "errorid"
  19771. ],
  19772. "properties": {
  19773. "description": {
  19774. "description": "异常描述",
  19775. "type": "string"
  19776. },
  19777. "errorcode": {
  19778. "description": "异常代码",
  19779. "type": "string"
  19780. },
  19781. "errorid": {
  19782. "description": "异常ID",
  19783. "type": "integer"
  19784. },
  19785. "modulecode": {
  19786. "description": "所属模块",
  19787. "type": "string"
  19788. },
  19789. "operatecode": {
  19790. "description": "所属操作",
  19791. "type": "string"
  19792. },
  19793. "rownumber": {
  19794. "description": "行号",
  19795. "type": "string"
  19796. }
  19797. }
  19798. },
  19799. "models.QueryHedgeOrderDetailRsp": {
  19800. "type": "object",
  19801. "properties": {
  19802. "accountid": {
  19803. "description": "账户ID",
  19804. "type": "integer"
  19805. },
  19806. "buyorsell": {
  19807. "description": "买卖 - 0:买 1:卖",
  19808. "type": "integer"
  19809. },
  19810. "cancellogincode": {
  19811. "description": "撤单人",
  19812. "type": "string"
  19813. },
  19814. "channelbuildtype": {
  19815. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  19816. "type": "integer"
  19817. },
  19818. "channelinnerorderstatus": {
  19819. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  19820. "type": "integer"
  19821. },
  19822. "channeloperatetype": {
  19823. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  19824. "type": "integer"
  19825. },
  19826. "closetype": {
  19827. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19828. "type": "integer"
  19829. },
  19830. "curexchangerate": {
  19831. "description": "当前汇率",
  19832. "type": "number"
  19833. },
  19834. "exchangefullname": {
  19835. "description": "外部交易所全称",
  19836. "type": "string"
  19837. },
  19838. "goodscode": {
  19839. "description": "商品代码(内部)",
  19840. "type": "string"
  19841. },
  19842. "goodsid": {
  19843. "description": "商品ID",
  19844. "type": "integer"
  19845. },
  19846. "goodsname": {
  19847. "description": "商品名称",
  19848. "type": "string"
  19849. },
  19850. "marketid": {
  19851. "description": "市场ID",
  19852. "type": "integer"
  19853. },
  19854. "openfreezemargin": {
  19855. "description": "冻结保证金(冻结交易金额)",
  19856. "type": "number"
  19857. },
  19858. "orderid": {
  19859. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19860. "type": "string"
  19861. },
  19862. "orderlogincode": {
  19863. "description": "委托人",
  19864. "type": "string"
  19865. },
  19866. "orderprice": {
  19867. "description": "委托价格(账户)",
  19868. "type": "number"
  19869. },
  19870. "orderqty": {
  19871. "description": "委托数量",
  19872. "type": "integer"
  19873. },
  19874. "ordertime": {
  19875. "description": "委托时间",
  19876. "type": "string"
  19877. },
  19878. "pricemode": {
  19879. "description": "取价方式 - 1:市价 2: 限价",
  19880. "type": "integer"
  19881. },
  19882. "tradedate": {
  19883. "description": "交易日(yyyyMMdd)",
  19884. "type": "string"
  19885. },
  19886. "tradeqty": {
  19887. "description": "成交数量",
  19888. "type": "integer"
  19889. }
  19890. }
  19891. },
  19892. "models.QueryHedgeTradeDetailRsp": {
  19893. "type": "object",
  19894. "properties": {
  19895. "accountid": {
  19896. "description": "账号ID",
  19897. "type": "integer"
  19898. },
  19899. "buyorsell": {
  19900. "description": "方向 - 0:买 1:卖",
  19901. "type": "integer"
  19902. },
  19903. "channelbuildtype": {
  19904. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19905. "type": "integer"
  19906. },
  19907. "closecharge": {
  19908. "description": "平仓手续费(账户)",
  19909. "type": "number"
  19910. },
  19911. "closecharge2": {
  19912. "description": "平仓手续费(商品)",
  19913. "type": "number"
  19914. },
  19915. "closepl": {
  19916. "description": "平仓盈亏(账户)",
  19917. "type": "number"
  19918. },
  19919. "closepl2": {
  19920. "description": "平仓盈亏(商品)",
  19921. "type": "number"
  19922. },
  19923. "closepl3": {
  19924. "description": "平仓盈亏(账户)(逐笔)",
  19925. "type": "number"
  19926. },
  19927. "closepl4": {
  19928. "description": "平仓盈亏(商品)(逐笔)",
  19929. "type": "number"
  19930. },
  19931. "closetype": {
  19932. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19933. "type": "integer"
  19934. },
  19935. "curexchangerate": {
  19936. "description": "当前汇率",
  19937. "type": "number"
  19938. },
  19939. "exchangefullname": {
  19940. "description": "外部交易所全称",
  19941. "type": "string"
  19942. },
  19943. "goodscode": {
  19944. "description": "商品代码(内部)",
  19945. "type": "string"
  19946. },
  19947. "goodsid": {
  19948. "description": "商品ID",
  19949. "type": "integer"
  19950. },
  19951. "goodsname": {
  19952. "description": "商品名称",
  19953. "type": "string"
  19954. },
  19955. "marketid": {
  19956. "description": "市场ID",
  19957. "type": "integer"
  19958. },
  19959. "opencharge": {
  19960. "description": "建仓手续费(账户)",
  19961. "type": "number"
  19962. },
  19963. "opencharge2": {
  19964. "description": "建仓手续费(商品)",
  19965. "type": "number"
  19966. },
  19967. "orderid": {
  19968. "description": "委托单号",
  19969. "type": "string"
  19970. },
  19971. "orderlogincode": {
  19972. "description": "委托人",
  19973. "type": "string"
  19974. },
  19975. "tradeamount": {
  19976. "description": "成交金额(账户)",
  19977. "type": "number"
  19978. },
  19979. "tradedate": {
  19980. "description": "交易日(yyyyMMdd)",
  19981. "type": "string"
  19982. },
  19983. "tradeid": {
  19984. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19985. "type": "string"
  19986. },
  19987. "tradeprice": {
  19988. "description": "成交价格",
  19989. "type": "number"
  19990. },
  19991. "tradeqty": {
  19992. "description": "成交数量",
  19993. "type": "integer"
  19994. },
  19995. "tradetime": {
  19996. "description": "成交时间",
  19997. "type": "string"
  19998. },
  19999. "tradetype": {
  20000. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  20001. "type": "integer"
  20002. }
  20003. }
  20004. },
  20005. "models.QuotePrimaryMenu": {
  20006. "type": "object",
  20007. "properties": {
  20008. "Index": {
  20009. "description": "序号",
  20010. "type": "integer"
  20011. },
  20012. "Key": {
  20013. "description": "键名",
  20014. "type": "string"
  20015. },
  20016. "Name": {
  20017. "description": "菜单名称",
  20018. "type": "string"
  20019. },
  20020. "SubMenus": {
  20021. "description": "子菜单",
  20022. "type": "array",
  20023. "items": {
  20024. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  20025. }
  20026. },
  20027. "SubTitleType": {
  20028. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  20029. "type": "integer"
  20030. },
  20031. "TradeModes": {
  20032. "description": "包含市场交易类型",
  20033. "type": "string"
  20034. }
  20035. }
  20036. },
  20037. "models.QuoteSecondaryMenu": {
  20038. "type": "object",
  20039. "properties": {
  20040. "ExExchangeCode": {
  20041. "description": "外部交易所代码",
  20042. "type": "string"
  20043. },
  20044. "ExExchangeID": {
  20045. "description": "外部交易所ID",
  20046. "type": "integer"
  20047. },
  20048. "GoodsGroupIDs": {
  20049. "description": "商品组ID列表",
  20050. "type": "array",
  20051. "items": {
  20052. "type": "integer"
  20053. }
  20054. },
  20055. "Index": {
  20056. "description": "序号",
  20057. "type": "integer"
  20058. },
  20059. "MarketID": {
  20060. "description": "市场ID",
  20061. "type": "integer"
  20062. },
  20063. "MenuTitle": {
  20064. "description": "菜单标题(市场名称或外部交易所名称)",
  20065. "type": "string"
  20066. },
  20067. "TradeMode": {
  20068. "description": "交易模式",
  20069. "type": "integer"
  20070. }
  20071. }
  20072. },
  20073. "models.SearchGoods": {
  20074. "type": "object",
  20075. "required": [
  20076. "goodscode",
  20077. "goodsid",
  20078. "goodsname",
  20079. "marketid",
  20080. "trademode"
  20081. ],
  20082. "properties": {
  20083. "goodscode": {
  20084. "description": "商品代码(内部)",
  20085. "type": "string"
  20086. },
  20087. "goodsid": {
  20088. "description": "商品ID(自增ID SEQ_GOODS)",
  20089. "type": "integer"
  20090. },
  20091. "goodsname": {
  20092. "description": "商品名称",
  20093. "type": "string"
  20094. },
  20095. "marketid": {
  20096. "description": "所属市场ID",
  20097. "type": "integer"
  20098. },
  20099. "marketname": {
  20100. "description": "市场名称",
  20101. "type": "string"
  20102. },
  20103. "trademode": {
  20104. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20105. "type": "integer"
  20106. }
  20107. }
  20108. },
  20109. "models.Systemparam": {
  20110. "type": "object",
  20111. "required": [
  20112. "paramcode"
  20113. ],
  20114. "properties": {
  20115. "loginid": {
  20116. "description": "更新用户账号,登录账号",
  20117. "type": "string"
  20118. },
  20119. "modifyflag": {
  20120. "description": "修改标志0 不允许修改 1 允许修改",
  20121. "type": "integer"
  20122. },
  20123. "paramcode": {
  20124. "description": "参数代码",
  20125. "type": "string"
  20126. },
  20127. "paramname": {
  20128. "description": "参数名",
  20129. "type": "string"
  20130. },
  20131. "paramtype": {
  20132. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  20133. "type": "integer"
  20134. },
  20135. "paramvalue": {
  20136. "description": "参数值",
  20137. "type": "string"
  20138. },
  20139. "paramvalue2": {
  20140. "description": "参数值(CLOB)",
  20141. "type": "string"
  20142. },
  20143. "regexpress": {
  20144. "description": "正则表达式",
  20145. "type": "string"
  20146. },
  20147. "remark": {
  20148. "description": "备注",
  20149. "type": "string"
  20150. },
  20151. "serverip": {
  20152. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  20153. "type": "string"
  20154. },
  20155. "showflag": {
  20156. "description": "是否显示0 不显示 1 显示",
  20157. "type": "integer"
  20158. },
  20159. "updatetime": {
  20160. "description": "更新时间",
  20161. "type": "string"
  20162. },
  20163. "userid": {
  20164. "description": "更新用户ID",
  20165. "type": "integer"
  20166. }
  20167. }
  20168. },
  20169. "models.Szdz3convertconfig": {
  20170. "type": "object",
  20171. "required": [
  20172. "converttype",
  20173. "innergoodsid",
  20174. "outergoodscode"
  20175. ],
  20176. "properties": {
  20177. "canin": {
  20178. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  20179. "type": "integer"
  20180. },
  20181. "canout": {
  20182. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  20183. "type": "integer"
  20184. },
  20185. "converttype": {
  20186. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  20187. "type": "integer"
  20188. },
  20189. "createtime": {
  20190. "description": "创建时间",
  20191. "type": "string"
  20192. },
  20193. "creatorid": {
  20194. "description": "创建人",
  20195. "type": "integer"
  20196. },
  20197. "daymaxvalue": {
  20198. "description": "当日最大转入限制",
  20199. "type": "number"
  20200. },
  20201. "freezedays": {
  20202. "description": "冻结天数 [5:花生米转交易]",
  20203. "type": "integer"
  20204. },
  20205. "innergoodsid": {
  20206. "description": "内部商品ID[交易]",
  20207. "type": "integer"
  20208. },
  20209. "inratio": {
  20210. "description": "目标值",
  20211. "type": "integer"
  20212. },
  20213. "modifierid": {
  20214. "description": "修改人",
  20215. "type": "integer"
  20216. },
  20217. "modifytime": {
  20218. "description": "修改时间",
  20219. "type": "string"
  20220. },
  20221. "outergoodscode": {
  20222. "description": "外部商品代码[JD\\PD]",
  20223. "type": "string"
  20224. },
  20225. "outratio": {
  20226. "description": "源值",
  20227. "type": "integer"
  20228. },
  20229. "pddecimalplace": {
  20230. "description": "PD小数位",
  20231. "type": "integer"
  20232. },
  20233. "timemaxvalue": {
  20234. "description": "单次最大转入限制",
  20235. "type": "number"
  20236. },
  20237. "timeminvalue": {
  20238. "description": "单次最小转入限制",
  20239. "type": "number"
  20240. }
  20241. }
  20242. },
  20243. "models.Szdz3searchwhitelist": {
  20244. "type": "object",
  20245. "required": [
  20246. "userid"
  20247. ],
  20248. "properties": {
  20249. "createtime": {
  20250. "description": "创建时间",
  20251. "type": "string"
  20252. },
  20253. "creatorid": {
  20254. "description": "创建人",
  20255. "type": "integer"
  20256. },
  20257. "modifierid": {
  20258. "description": "修改人",
  20259. "type": "integer"
  20260. },
  20261. "modifytime": {
  20262. "description": "修改时间",
  20263. "type": "string"
  20264. },
  20265. "userid": {
  20266. "description": "用户ID",
  20267. "type": "integer"
  20268. }
  20269. }
  20270. },
  20271. "models.Taaccount": {
  20272. "type": "object",
  20273. "required": [
  20274. "accountid",
  20275. "userid"
  20276. ],
  20277. "properties": {
  20278. "accountflag": {
  20279. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  20280. "type": "integer"
  20281. },
  20282. "accountid": {
  20283. "description": "资金账户ID",
  20284. "type": "integer"
  20285. },
  20286. "accountname": {
  20287. "description": "账户名称",
  20288. "type": "string"
  20289. },
  20290. "balance": {
  20291. "description": "期初余额",
  20292. "type": "number"
  20293. },
  20294. "capitalbalance": {
  20295. "description": "本金余额[外部子账户实际出入金余额]",
  20296. "type": "number"
  20297. },
  20298. "changeflag": {
  20299. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  20300. "type": "integer"
  20301. },
  20302. "changetime": {
  20303. "description": "账户状态变更时间",
  20304. "type": "string"
  20305. },
  20306. "closepl": {
  20307. "description": "今日平仓盈亏",
  20308. "type": "number"
  20309. },
  20310. "creditdecrease": {
  20311. "description": "今日授信减少",
  20312. "type": "number"
  20313. },
  20314. "creditincrease": {
  20315. "description": "今日授信增加",
  20316. "type": "number"
  20317. },
  20318. "currencyid": {
  20319. "description": "货币ID",
  20320. "type": "integer"
  20321. },
  20322. "currentbalance": {
  20323. "description": "期末余额",
  20324. "type": "number"
  20325. },
  20326. "freezecharge": {
  20327. "description": "手续费冻结",
  20328. "type": "number"
  20329. },
  20330. "freezemargin": {
  20331. "description": "冻结保证金",
  20332. "type": "number"
  20333. },
  20334. "fromaccountid": {
  20335. "description": "所属上级账户",
  20336. "type": "integer"
  20337. },
  20338. "inamount": {
  20339. "description": "今日入金金额(包括三方入金)",
  20340. "type": "number"
  20341. },
  20342. "ismain": {
  20343. "description": "是否母账号 0:不是母账户 1:是母账户",
  20344. "type": "integer"
  20345. },
  20346. "ismarketaccount": {
  20347. "description": "是否机构接单账号 0:不是 1:是",
  20348. "type": "integer"
  20349. },
  20350. "isreckonaccount": {
  20351. "description": "是否机构分润账号 0:不是 1:是",
  20352. "type": "integer"
  20353. },
  20354. "mortgagecredit": {
  20355. "description": "授信金额",
  20356. "type": "number"
  20357. },
  20358. "orifreezecharge": {
  20359. "description": "期初手续费冻结",
  20360. "type": "number"
  20361. },
  20362. "orifreezemargin": {
  20363. "description": "期初冻结保证金",
  20364. "type": "number"
  20365. },
  20366. "orimortgagecredit": {
  20367. "description": "期初授信金额",
  20368. "type": "number"
  20369. },
  20370. "oriothercredit": {
  20371. "description": "期初其它授信金额",
  20372. "type": "number"
  20373. },
  20374. "oriotherfreezemargin": {
  20375. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20376. "type": "number"
  20377. },
  20378. "orioutamountfreeze": {
  20379. "description": "期初出金冻结",
  20380. "type": "number"
  20381. },
  20382. "oriusedmargin": {
  20383. "description": "期初占用保证金",
  20384. "type": "number"
  20385. },
  20386. "othercredit": {
  20387. "description": "其它授信金额",
  20388. "type": "number"
  20389. },
  20390. "othercreditdecrease": {
  20391. "description": "今日其它授信减少",
  20392. "type": "number"
  20393. },
  20394. "othercreditincrease": {
  20395. "description": "今日其它授信增加",
  20396. "type": "number"
  20397. },
  20398. "otherfreezemargin": {
  20399. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20400. "type": "number"
  20401. },
  20402. "otherincome": {
  20403. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  20404. "type": "number"
  20405. },
  20406. "otherpay": {
  20407. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  20408. "type": "number"
  20409. },
  20410. "outamount": {
  20411. "description": "今日出金金额(包括三方出金)",
  20412. "type": "number"
  20413. },
  20414. "outamountfreeze": {
  20415. "description": "出金冻结",
  20416. "type": "number"
  20417. },
  20418. "outthreshold": {
  20419. "description": "出金阈值",
  20420. "type": "number"
  20421. },
  20422. "parentaccountid": {
  20423. "description": "所属根账号",
  20424. "type": "integer"
  20425. },
  20426. "paycharge": {
  20427. "description": "今日手续费支出",
  20428. "type": "number"
  20429. },
  20430. "relatedaccountstatus": {
  20431. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  20432. "type": "integer"
  20433. },
  20434. "relateduserid": {
  20435. "description": "关联用户",
  20436. "type": "integer"
  20437. },
  20438. "serivcegroup": {
  20439. "description": "服务分组",
  20440. "type": "integer"
  20441. },
  20442. "signstatus": {
  20443. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20444. "type": "integer"
  20445. },
  20446. "sublevelpath": {
  20447. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20448. "type": "string"
  20449. },
  20450. "taaccounttype": {
  20451. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20452. "type": "integer"
  20453. },
  20454. "thirdinamount": {
  20455. "description": "今日三方入金",
  20456. "type": "number"
  20457. },
  20458. "thirdoutamount": {
  20459. "description": "今日三方出金",
  20460. "type": "number"
  20461. },
  20462. "tradestatus": {
  20463. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20464. "type": "integer"
  20465. },
  20466. "tradestatuschangetime": {
  20467. "description": "激活时间",
  20468. "type": "string"
  20469. },
  20470. "transferamount": {
  20471. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20472. "type": "number"
  20473. },
  20474. "usedmargin": {
  20475. "description": "占用保证金",
  20476. "type": "number"
  20477. },
  20478. "userid": {
  20479. "description": "用户ID",
  20480. "type": "integer"
  20481. }
  20482. }
  20483. },
  20484. "models.Tablecolumnconfig": {
  20485. "type": "object",
  20486. "required": [
  20487. "autoid"
  20488. ],
  20489. "properties": {
  20490. "aligntype": {
  20491. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  20492. "type": "integer"
  20493. },
  20494. "autoid": {
  20495. "description": "AutoID",
  20496. "type": "integer"
  20497. },
  20498. "columnfield": {
  20499. "description": "列字段",
  20500. "type": "string"
  20501. },
  20502. "columntitle": {
  20503. "description": "列Title",
  20504. "type": "string"
  20505. },
  20506. "columnwidth": {
  20507. "description": "列宽",
  20508. "type": "string"
  20509. },
  20510. "formatterstring": {
  20511. "description": "格式化字符",
  20512. "type": "string"
  20513. },
  20514. "formattertype": {
  20515. "description": "格式化类型",
  20516. "type": "string"
  20517. },
  20518. "groupname": {
  20519. "description": "表头分组名称",
  20520. "type": "string"
  20521. },
  20522. "isshow": {
  20523. "description": "是否显示 - 0:不显示 1:显示",
  20524. "type": "integer"
  20525. },
  20526. "needsummary": {
  20527. "description": "是否需要汇总 - 0:不需要 1:需要",
  20528. "type": "integer"
  20529. },
  20530. "orderindex": {
  20531. "description": "顺序",
  20532. "type": "integer"
  20533. },
  20534. "remark": {
  20535. "description": "备注",
  20536. "type": "string"
  20537. },
  20538. "summarytype": {
  20539. "description": "汇总类型 - 1:加总 2:最后一个",
  20540. "type": "integer"
  20541. },
  20542. "tablekey": {
  20543. "description": "列表Key",
  20544. "type": "string"
  20545. }
  20546. }
  20547. },
  20548. "models.Useraccount": {
  20549. "type": "object",
  20550. "required": [
  20551. "userid"
  20552. ],
  20553. "properties": {
  20554. "accountname": {
  20555. "description": "账户名称(机构名称)",
  20556. "type": "string"
  20557. },
  20558. "accountstatus": {
  20559. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20560. "type": "integer"
  20561. },
  20562. "auditremark": {
  20563. "description": "审核备注",
  20564. "type": "string"
  20565. },
  20566. "audittime": {
  20567. "description": "审核时间",
  20568. "type": "string"
  20569. },
  20570. "audituserid": {
  20571. "description": "审核人",
  20572. "type": "integer"
  20573. },
  20574. "broker": {
  20575. "description": "所属经纪人ID",
  20576. "type": "integer"
  20577. },
  20578. "canceltime": {
  20579. "description": "销户时间",
  20580. "type": "string"
  20581. },
  20582. "canceluserid": {
  20583. "description": "销户人",
  20584. "type": "integer"
  20585. },
  20586. "createtime": {
  20587. "description": "创建时间",
  20588. "type": "string"
  20589. },
  20590. "creatorid": {
  20591. "description": "创建人",
  20592. "type": "integer"
  20593. },
  20594. "hasauth": {
  20595. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  20596. "type": "integer"
  20597. },
  20598. "isanonymous": {
  20599. "description": "是否匿名下单 - 0:否 1:是",
  20600. "type": "integer"
  20601. },
  20602. "maxinvestornum": {
  20603. "description": "最大用户数(经纪会员下投资者个数)",
  20604. "type": "integer"
  20605. },
  20606. "memberuserid": {
  20607. "description": "所属会员ID",
  20608. "type": "integer"
  20609. },
  20610. "modifierid": {
  20611. "description": "修改人",
  20612. "type": "integer"
  20613. },
  20614. "modifyremark": {
  20615. "description": "变更备注",
  20616. "type": "string"
  20617. },
  20618. "modifystatus": {
  20619. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  20620. "type": "integer"
  20621. },
  20622. "modifytime": {
  20623. "description": "修改时间",
  20624. "type": "string"
  20625. },
  20626. "parentuserid": {
  20627. "description": "所属机构ID",
  20628. "type": "integer"
  20629. },
  20630. "reckonaccountid": {
  20631. "description": "默认结算资金账号ID(机构分润使用) 作废",
  20632. "type": "integer"
  20633. },
  20634. "refercount": {
  20635. "description": "推荐总人数",
  20636. "type": "integer"
  20637. },
  20638. "refereeuserid": {
  20639. "description": "推荐人ID",
  20640. "type": "integer"
  20641. },
  20642. "refernum": {
  20643. "description": "推荐码",
  20644. "type": "string"
  20645. },
  20646. "subarealevelpath": {
  20647. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  20648. "type": "string"
  20649. },
  20650. "userid": {
  20651. "description": "用户ID",
  20652. "type": "integer"
  20653. },
  20654. "usertype": {
  20655. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20656. "type": "integer"
  20657. }
  20658. }
  20659. },
  20660. "models.Userfavoritegoods": {
  20661. "type": "object",
  20662. "required": [
  20663. "goodsid"
  20664. ],
  20665. "properties": {
  20666. "goodsid": {
  20667. "description": "商品ID",
  20668. "type": "integer"
  20669. }
  20670. }
  20671. },
  20672. "models.Userinfo": {
  20673. "type": "object",
  20674. "required": [
  20675. "userid"
  20676. ],
  20677. "properties": {
  20678. "address": {
  20679. "description": "地址",
  20680. "type": "string"
  20681. },
  20682. "attachment1": {
  20683. "description": "附件1",
  20684. "type": "string"
  20685. },
  20686. "attachment2": {
  20687. "description": "附件2",
  20688. "type": "string"
  20689. },
  20690. "bankaccount": {
  20691. "description": "银行帐号 (加密存储)",
  20692. "type": "string"
  20693. },
  20694. "bankaccountname": {
  20695. "description": "收款人名称",
  20696. "type": "string"
  20697. },
  20698. "bankcardfrontphotourl": {
  20699. "description": "银行卡正面照地址",
  20700. "type": "string"
  20701. },
  20702. "bankid": {
  20703. "description": "银行编码",
  20704. "type": "string"
  20705. },
  20706. "bankname": {
  20707. "description": "银行名称",
  20708. "type": "string"
  20709. },
  20710. "biznature": {
  20711. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20712. "type": "integer"
  20713. },
  20714. "bizscope": {
  20715. "description": "企业经营范围(企业)",
  20716. "type": "string"
  20717. },
  20718. "cardbackphotourl": {
  20719. "description": "证件背面图片地址",
  20720. "type": "string"
  20721. },
  20722. "cardfrontphotourl": {
  20723. "description": "证件正面图片地址",
  20724. "type": "string"
  20725. },
  20726. "cardnum": {
  20727. "description": "证件号码(加密存储)",
  20728. "type": "string"
  20729. },
  20730. "cardtypeid": {
  20731. "description": "证件类型ID",
  20732. "type": "integer"
  20733. },
  20734. "cityid": {
  20735. "description": "市",
  20736. "type": "integer"
  20737. },
  20738. "company": {
  20739. "description": "公司(个人)",
  20740. "type": "string"
  20741. },
  20742. "contactname": {
  20743. "description": "联系人",
  20744. "type": "string"
  20745. },
  20746. "countryid": {
  20747. "description": "国家",
  20748. "type": "integer"
  20749. },
  20750. "createtime": {
  20751. "description": "创建时间",
  20752. "type": "string"
  20753. },
  20754. "creatorid": {
  20755. "description": "创建人",
  20756. "type": "integer"
  20757. },
  20758. "customername": {
  20759. "description": "客户名称(企业名称)",
  20760. "type": "string"
  20761. },
  20762. "districtid": {
  20763. "description": "地区",
  20764. "type": "integer"
  20765. },
  20766. "email": {
  20767. "description": "邮件(加密存储)",
  20768. "type": "string"
  20769. },
  20770. "fax": {
  20771. "description": "传真(加密存储)",
  20772. "type": "string"
  20773. },
  20774. "halfbodyphotourl": {
  20775. "description": "半身照地址",
  20776. "type": "string"
  20777. },
  20778. "hasencrypt": {
  20779. "description": "数据是否已加密 - 0:未加密 1:已加密",
  20780. "type": "integer"
  20781. },
  20782. "headurl": {
  20783. "description": "头像地址",
  20784. "type": "string"
  20785. },
  20786. "legalcardbackphotourl": {
  20787. "description": "法人身份证背面照地址",
  20788. "type": "string"
  20789. },
  20790. "legalcardfrontphotourl": {
  20791. "description": "法人身份证正面照地址",
  20792. "type": "string"
  20793. },
  20794. "legalpersonname": {
  20795. "description": "法人姓名(企业)",
  20796. "type": "string"
  20797. },
  20798. "mobile": {
  20799. "description": "手机号码(加密存储)",
  20800. "type": "string"
  20801. },
  20802. "mobile2": {
  20803. "description": "手机号码[明文-尚志]",
  20804. "type": "string"
  20805. },
  20806. "modifierid": {
  20807. "description": "修改人",
  20808. "type": "integer"
  20809. },
  20810. "modifiertime": {
  20811. "description": "修改时间",
  20812. "type": "string"
  20813. },
  20814. "needinvoice": {
  20815. "description": "是否需要发票 - 0:不需要 1:需要",
  20816. "type": "integer"
  20817. },
  20818. "nickname": {
  20819. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  20820. "type": "string"
  20821. },
  20822. "openmode": {
  20823. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  20824. "type": "integer"
  20825. },
  20826. "otherurl": {
  20827. "description": "其它图片地址[使用分号分隔]",
  20828. "type": "string"
  20829. },
  20830. "postalcode": {
  20831. "description": "邮政编码",
  20832. "type": "string"
  20833. },
  20834. "provinceid": {
  20835. "description": "省",
  20836. "type": "integer"
  20837. },
  20838. "qq": {
  20839. "description": "QQ(加密存储",
  20840. "type": "string"
  20841. },
  20842. "remark": {
  20843. "description": "备注",
  20844. "type": "string"
  20845. },
  20846. "sex": {
  20847. "description": "用户性别 0: 女 1: 男",
  20848. "type": "integer"
  20849. },
  20850. "signpdfurl": {
  20851. "description": "签约pdf文件",
  20852. "type": "string"
  20853. },
  20854. "telphone": {
  20855. "description": "联系电话(加密存储)",
  20856. "type": "string"
  20857. },
  20858. "userid": {
  20859. "description": "用户ID",
  20860. "type": "integer"
  20861. },
  20862. "userinfotype": {
  20863. "description": "用户信息类型 - 1:个人 2:企业",
  20864. "type": "integer"
  20865. },
  20866. "userstatus": {
  20867. "description": "用户状态 - 1:正常 2:注销",
  20868. "type": "integer"
  20869. },
  20870. "usertype": {
  20871. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20872. "type": "integer"
  20873. },
  20874. "wechat": {
  20875. "description": "微信(加密存储)",
  20876. "type": "string"
  20877. },
  20878. "wskhinfo": {
  20879. "description": "开户申请信息(JSON)",
  20880. "type": "string"
  20881. }
  20882. }
  20883. },
  20884. "models.WRSConverTDetail": {
  20885. "type": "object",
  20886. "properties": {
  20887. "convertratio": {
  20888. "description": "套保系数",
  20889. "type": "number"
  20890. },
  20891. "deliverygoodscode": {
  20892. "description": "现货商品代码",
  20893. "type": "string"
  20894. },
  20895. "deliverygoodsid": {
  20896. "description": "现货品种ID",
  20897. "type": "integer"
  20898. },
  20899. "deliverygoodsname": {
  20900. "description": "现货商品名称",
  20901. "type": "string"
  20902. },
  20903. "enumdicname": {
  20904. "description": "单位名称",
  20905. "type": "string"
  20906. },
  20907. "goodsunitid": {
  20908. "description": "套保品种单位id",
  20909. "type": "integer"
  20910. },
  20911. "middlegoodscode": {
  20912. "description": "套保品种代码",
  20913. "type": "string"
  20914. },
  20915. "middlegoodsid": {
  20916. "description": "套保品种ID",
  20917. "type": "integer"
  20918. },
  20919. "middlegoodsname": {
  20920. "description": "套保品种名称",
  20921. "type": "string"
  20922. },
  20923. "modifytime": {
  20924. "description": "修改时间",
  20925. "type": "string"
  20926. },
  20927. "wrstandardid": {
  20928. "description": "品类ID",
  20929. "type": "integer"
  20930. }
  20931. }
  20932. },
  20933. "models.WRStandardInfo": {
  20934. "type": "object",
  20935. "required": [
  20936. "wrstandardid"
  20937. ],
  20938. "properties": {
  20939. "areauserid": {
  20940. "description": "所属机构",
  20941. "type": "integer"
  20942. },
  20943. "convertfactor": {
  20944. "description": "标仓系数",
  20945. "type": "number"
  20946. },
  20947. "createtime": {
  20948. "description": "创建时间",
  20949. "type": "string"
  20950. },
  20951. "creatorid": {
  20952. "description": "创建人",
  20953. "type": "integer"
  20954. },
  20955. "deliverygoodsid": {
  20956. "description": "品种ID",
  20957. "type": "integer"
  20958. },
  20959. "deliverygoodsname": {
  20960. "description": "交割商品名称",
  20961. "type": "string"
  20962. },
  20963. "factoryitemjson": {
  20964. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  20965. "type": "string"
  20966. },
  20967. "isvalid": {
  20968. "description": "是否有效 - 0:无效 1:有效",
  20969. "type": "integer"
  20970. },
  20971. "minivalue": {
  20972. "description": "最小变动值",
  20973. "type": "integer"
  20974. },
  20975. "minivaluedp": {
  20976. "description": "最小变动值小数位",
  20977. "type": "integer"
  20978. },
  20979. "realminivalue": {
  20980. "description": "实际最小变动值",
  20981. "type": "integer"
  20982. },
  20983. "realminivaluedp": {
  20984. "description": "实际最小变动值小数位",
  20985. "type": "integer"
  20986. },
  20987. "remark": {
  20988. "description": "备注",
  20989. "type": "string"
  20990. },
  20991. "unitid": {
  20992. "description": "单位ID",
  20993. "type": "integer"
  20994. },
  20995. "unitname": {
  20996. "description": "单位",
  20997. "type": "string"
  20998. },
  20999. "updatetime": {
  21000. "description": "更新时间",
  21001. "type": "string"
  21002. },
  21003. "updatorid": {
  21004. "description": "更新人",
  21005. "type": "integer"
  21006. },
  21007. "wrsstatus": {
  21008. "description": "状态 - 作废 - 0:未激活 1:正常",
  21009. "type": "integer"
  21010. },
  21011. "wrstandardcode": {
  21012. "description": "现货品类代码",
  21013. "type": "string"
  21014. },
  21015. "wrstandardid": {
  21016. "description": "现货品类ID(SEQ_WRSTANDARD)",
  21017. "type": "integer"
  21018. },
  21019. "wrstandardname": {
  21020. "description": "现货品类名称",
  21021. "type": "string"
  21022. }
  21023. }
  21024. },
  21025. "models.Warehouseinfo": {
  21026. "type": "object",
  21027. "required": [
  21028. "autoid",
  21029. "warehousecode"
  21030. ],
  21031. "properties": {
  21032. "address": {
  21033. "description": "详细地址",
  21034. "type": "string"
  21035. },
  21036. "areauserid": {
  21037. "description": "所属机构",
  21038. "type": "integer"
  21039. },
  21040. "autoid": {
  21041. "description": "自增ID",
  21042. "type": "integer"
  21043. },
  21044. "cityid": {
  21045. "description": "市",
  21046. "type": "integer"
  21047. },
  21048. "contactname": {
  21049. "description": "联系人",
  21050. "type": "string"
  21051. },
  21052. "contactnum": {
  21053. "description": "联系电话",
  21054. "type": "string"
  21055. },
  21056. "countryid": {
  21057. "description": "国家",
  21058. "type": "integer"
  21059. },
  21060. "createtime": {
  21061. "description": "创建时间",
  21062. "type": "string"
  21063. },
  21064. "districtid": {
  21065. "description": "区",
  21066. "type": "integer"
  21067. },
  21068. "hasvideo": {
  21069. "description": "是否有视频 - 0:无 1:有",
  21070. "type": "integer"
  21071. },
  21072. "provinceid": {
  21073. "description": "省",
  21074. "type": "integer"
  21075. },
  21076. "remark": {
  21077. "description": "审核备注",
  21078. "type": "string"
  21079. },
  21080. "videourl": {
  21081. "description": "视频地址",
  21082. "type": "string"
  21083. },
  21084. "warehousecode": {
  21085. "description": "仓库代码",
  21086. "type": "string"
  21087. },
  21088. "warehousename": {
  21089. "description": "仓库名称",
  21090. "type": "string"
  21091. },
  21092. "warehousestatus": {
  21093. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21094. "type": "integer"
  21095. },
  21096. "warehousetype": {
  21097. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21098. "type": "integer"
  21099. }
  21100. }
  21101. },
  21102. "order.QueryHisTradeDetailRsp": {
  21103. "type": "object",
  21104. "required": [
  21105. "accountid",
  21106. "buyorsell",
  21107. "goodsid",
  21108. "histradedate",
  21109. "marketid",
  21110. "memberuserid",
  21111. "orderid",
  21112. "tradeamount",
  21113. "tradedate",
  21114. "tradeid",
  21115. "tradeprice",
  21116. "tradeqty",
  21117. "tradetime"
  21118. ],
  21119. "properties": {
  21120. "accountid": {
  21121. "description": "账户ID[报价币种]",
  21122. "type": "integer"
  21123. },
  21124. "buildtype": {
  21125. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21126. "type": "integer"
  21127. },
  21128. "buyorsell": {
  21129. "description": "方向 - 0:买 1:卖",
  21130. "type": "integer"
  21131. },
  21132. "charge": {
  21133. "description": "手续费",
  21134. "type": "number"
  21135. },
  21136. "closecharge": {
  21137. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21138. "type": "number"
  21139. },
  21140. "closeexchagechargevalue": {
  21141. "description": "平仓交易所手续费设置值",
  21142. "type": "number"
  21143. },
  21144. "closefeealgorithm": {
  21145. "description": "平仓手续费收取方式 1:比率 2:固定",
  21146. "type": "integer"
  21147. },
  21148. "closememberchargevalue": {
  21149. "description": "平仓会员手续费设置值",
  21150. "type": "number"
  21151. },
  21152. "closepl": {
  21153. "description": "平仓盈亏",
  21154. "type": "number"
  21155. },
  21156. "closepl2": {
  21157. "description": "平仓盈亏[逐笔]",
  21158. "type": "number"
  21159. },
  21160. "closeqty": {
  21161. "description": "平仓数量(先建后平操作 需要记录)",
  21162. "type": "integer"
  21163. },
  21164. "creditamount": {
  21165. "description": "授信金额",
  21166. "type": "number"
  21167. },
  21168. "gcaccountid": {
  21169. "description": "账户ID[合约币种]",
  21170. "type": "integer"
  21171. },
  21172. "goodscode": {
  21173. "description": "商品代码",
  21174. "type": "string"
  21175. },
  21176. "goodsid": {
  21177. "description": "商品ID",
  21178. "type": "integer"
  21179. },
  21180. "goodsname": {
  21181. "description": "商品名称",
  21182. "type": "string"
  21183. },
  21184. "histradedate": {
  21185. "description": "历史交易日",
  21186. "type": "string"
  21187. },
  21188. "intclosepl": {
  21189. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21190. "type": "integer"
  21191. },
  21192. "isconfirmexercise": {
  21193. "description": "是否确认行权- 0:否 1:是",
  21194. "type": "integer"
  21195. },
  21196. "ismain": {
  21197. "description": "是否主单 - 0:不是 1:是",
  21198. "type": "integer"
  21199. },
  21200. "ispreexercise": {
  21201. "description": "是否预申报- 0:否 1:是",
  21202. "type": "integer"
  21203. },
  21204. "isreckoned": {
  21205. "description": "是否结算 - 0:未结算 1:已结算",
  21206. "type": "integer"
  21207. },
  21208. "isvaliddata": {
  21209. "description": "是否有效 - 0:无效 1:有效",
  21210. "type": "integer"
  21211. },
  21212. "listingselecttype": {
  21213. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21214. "type": "integer"
  21215. },
  21216. "marketid": {
  21217. "description": "市场ID",
  21218. "type": "integer"
  21219. },
  21220. "marketname": {
  21221. "description": "市场名称",
  21222. "type": "string"
  21223. },
  21224. "matchaccountid": {
  21225. "description": "对手账号id",
  21226. "type": "integer"
  21227. },
  21228. "memberuserid": {
  21229. "description": "会员id 个人投资者 需要填写",
  21230. "type": "integer"
  21231. },
  21232. "opencharge": {
  21233. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21234. "type": "number"
  21235. },
  21236. "openexchagechargevalue": {
  21237. "description": "建仓交易所手续费设置值",
  21238. "type": "number"
  21239. },
  21240. "openfeealgorithm": {
  21241. "description": "建仓手续费收取方式 1:比率 2:固定",
  21242. "type": "integer"
  21243. },
  21244. "openmemberchargevalue": {
  21245. "description": "建仓会员手续费设置值",
  21246. "type": "number"
  21247. },
  21248. "openqty": {
  21249. "description": "开仓数量(先建后平操作 需要记录)",
  21250. "type": "integer"
  21251. },
  21252. "optiontype": {
  21253. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21254. "type": "integer"
  21255. },
  21256. "orderid": {
  21257. "description": "委托单号",
  21258. "type": "string"
  21259. },
  21260. "performanceplanid": {
  21261. "description": "履约计划ID[期权]",
  21262. "type": "integer"
  21263. },
  21264. "performancestatus": {
  21265. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21266. "type": "integer"
  21267. },
  21268. "preexerciseprice": {
  21269. "description": "预申报价格",
  21270. "type": "number"
  21271. },
  21272. "premium": {
  21273. "description": "权利金 - [持仓单的权利金]",
  21274. "type": "number"
  21275. },
  21276. "relatedouttradeid": {
  21277. "description": "关联外部成交单ID",
  21278. "type": "integer"
  21279. },
  21280. "status": {
  21281. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21282. "type": "integer"
  21283. },
  21284. "tradeamount": {
  21285. "description": "成交金额[账户币种,用于所有权]",
  21286. "type": "number"
  21287. },
  21288. "tradedate": {
  21289. "description": "交易日(yyyyMMdd)",
  21290. "type": "string"
  21291. },
  21292. "tradeid": {
  21293. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21294. "type": "string"
  21295. },
  21296. "trademode": {
  21297. "description": "交易模式",
  21298. "type": "integer"
  21299. },
  21300. "tradeprice": {
  21301. "description": "成交价格",
  21302. "type": "number"
  21303. },
  21304. "tradeproperty": {
  21305. "description": "交易属性",
  21306. "type": "integer"
  21307. },
  21308. "tradeqty": {
  21309. "description": "成交数量",
  21310. "type": "integer"
  21311. },
  21312. "tradetime": {
  21313. "description": "成交时间",
  21314. "type": "string"
  21315. },
  21316. "tradetype": {
  21317. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21318. "type": "integer"
  21319. }
  21320. }
  21321. },
  21322. "order.QueryHisTradeOrderDetailRsp": {
  21323. "type": "object",
  21324. "required": [
  21325. "accountid",
  21326. "buildtype",
  21327. "buyorsell",
  21328. "goodsid",
  21329. "histradedate",
  21330. "marketid",
  21331. "memberuserid",
  21332. "operatetype",
  21333. "orderid",
  21334. "orderqty",
  21335. "ordertime",
  21336. "pricemode",
  21337. "tradedate",
  21338. "validtype"
  21339. ],
  21340. "properties": {
  21341. "accountid": {
  21342. "description": "账户ID[报价币种]",
  21343. "type": "integer"
  21344. },
  21345. "buildtype": {
  21346. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21347. "type": "integer"
  21348. },
  21349. "buyorsell": {
  21350. "description": "买卖 - 0:买 1:卖",
  21351. "type": "integer"
  21352. },
  21353. "cancelorderid": {
  21354. "description": "撤单单号(撤单时填写)",
  21355. "type": "string"
  21356. },
  21357. "cancelqty": {
  21358. "description": "撤单数量",
  21359. "type": "integer"
  21360. },
  21361. "clientordertime": {
  21362. "description": "客户端委托时间",
  21363. "type": "string"
  21364. },
  21365. "clientticket": {
  21366. "description": "客户端流水号",
  21367. "type": "string"
  21368. },
  21369. "clienttype": {
  21370. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21371. "type": "integer"
  21372. },
  21373. "closeexchagechargevalue": {
  21374. "description": "平仓交易所手续费设置值",
  21375. "type": "number"
  21376. },
  21377. "closefeealgorithm": {
  21378. "description": "平仓手续费收取方式 1:比率 2:固定",
  21379. "type": "integer"
  21380. },
  21381. "closefreezecharge": {
  21382. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21383. "type": "number"
  21384. },
  21385. "closememberchargevalue": {
  21386. "description": "平仓会员手续费设置值",
  21387. "type": "number"
  21388. },
  21389. "closeqty": {
  21390. "description": "平仓数量(先建后平操作 需要记录)",
  21391. "type": "integer"
  21392. },
  21393. "closetradeqty": {
  21394. "description": "平仓成交数量(先建后平操作,需要记录)",
  21395. "type": "integer"
  21396. },
  21397. "closeunfreezecharge": {
  21398. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21399. "type": "number"
  21400. },
  21401. "delistingtype": {
  21402. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21403. "type": "integer"
  21404. },
  21405. "freezecharge": {
  21406. "description": "冻结手续费",
  21407. "type": "number"
  21408. },
  21409. "freezemargin": {
  21410. "description": "冻结保证金(冻结交易金额)",
  21411. "type": "number"
  21412. },
  21413. "gcaccountid": {
  21414. "description": "账户ID[合约币种]",
  21415. "type": "integer"
  21416. },
  21417. "goodscode": {
  21418. "description": "商品代码",
  21419. "type": "string"
  21420. },
  21421. "goodsid": {
  21422. "description": "商品ID",
  21423. "type": "integer"
  21424. },
  21425. "goodsname": {
  21426. "description": "商品名称",
  21427. "type": "string"
  21428. },
  21429. "histradedate": {
  21430. "description": "历史交易日",
  21431. "type": "string"
  21432. },
  21433. "isconfirmexercise": {
  21434. "description": "是否确认行权- 0:否 1:是",
  21435. "type": "integer"
  21436. },
  21437. "ispreexercise": {
  21438. "description": "是否预申报- 0:否 1:是",
  21439. "type": "integer"
  21440. },
  21441. "isvaliddata": {
  21442. "description": "是否有效 - 0:无效 1:有效",
  21443. "type": "integer"
  21444. },
  21445. "listingselecttype": {
  21446. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21447. "type": "integer"
  21448. },
  21449. "marginalgorithm": {
  21450. "description": "保证金收取方式 1:比率 2:固定",
  21451. "type": "integer"
  21452. },
  21453. "marginvalue": {
  21454. "description": "即市保证金设置值",
  21455. "type": "number"
  21456. },
  21457. "marketid": {
  21458. "description": "市场ID",
  21459. "type": "integer"
  21460. },
  21461. "marketmaxsub": {
  21462. "description": "市价最大偏移范围",
  21463. "type": "number"
  21464. },
  21465. "marketname": {
  21466. "description": "市场名称",
  21467. "type": "string"
  21468. },
  21469. "memberuserid": {
  21470. "description": "所属会员UserID",
  21471. "type": "integer"
  21472. },
  21473. "openexchagechargevalue": {
  21474. "description": "建仓交易所手续费设置值",
  21475. "type": "number"
  21476. },
  21477. "openfeealgorithm": {
  21478. "description": "建仓手续费收取方式 1:比率 2:固定",
  21479. "type": "integer"
  21480. },
  21481. "openfreezecharge": {
  21482. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21483. "type": "number"
  21484. },
  21485. "openmemberchargevalue": {
  21486. "description": "建仓会员手续费设置值",
  21487. "type": "number"
  21488. },
  21489. "openqty": {
  21490. "description": "开仓数量(先建后平操作,需要记录)",
  21491. "type": "integer"
  21492. },
  21493. "opentradeqty": {
  21494. "description": "开仓成交数量(先建后平操作,需要记录)",
  21495. "type": "integer"
  21496. },
  21497. "openunfreezecharge": {
  21498. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21499. "type": "number"
  21500. },
  21501. "operatetype": {
  21502. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21503. "type": "integer"
  21504. },
  21505. "operatorid": {
  21506. "description": "登录账号(LoginID)",
  21507. "type": "integer"
  21508. },
  21509. "optiontype": {
  21510. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21511. "type": "integer"
  21512. },
  21513. "orderid": {
  21514. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21515. "type": "string"
  21516. },
  21517. "orderprice": {
  21518. "description": "委托价格",
  21519. "type": "number"
  21520. },
  21521. "orderqty": {
  21522. "description": "委托数量",
  21523. "type": "integer"
  21524. },
  21525. "ordersrc": {
  21526. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21527. "type": "integer"
  21528. },
  21529. "orderstatus": {
  21530. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21531. "type": "integer"
  21532. },
  21533. "ordertime": {
  21534. "description": "委托时间",
  21535. "type": "string"
  21536. },
  21537. "preexerciseprice": {
  21538. "description": "预申报价格",
  21539. "type": "number"
  21540. },
  21541. "premium": {
  21542. "description": "权利金",
  21543. "type": "number"
  21544. },
  21545. "preorderid": {
  21546. "description": "关联预埋单号(止盈止损单时填写)",
  21547. "type": "string"
  21548. },
  21549. "pricemode": {
  21550. "description": "取价方式 - 1:市价 2: 限价",
  21551. "type": "integer"
  21552. },
  21553. "quoteid": {
  21554. "description": "报价单ID",
  21555. "type": "integer"
  21556. },
  21557. "relatedid": {
  21558. "description": "关联单号(交割单)",
  21559. "type": "string"
  21560. },
  21561. "retcode": {
  21562. "description": "错误代码",
  21563. "type": "integer"
  21564. },
  21565. "sessionid": {
  21566. "description": "会话ID",
  21567. "type": "integer"
  21568. },
  21569. "tradedate": {
  21570. "description": "交易日(yyyyMMdd)",
  21571. "type": "string"
  21572. },
  21573. "trademode": {
  21574. "description": "交易模式",
  21575. "type": "integer"
  21576. },
  21577. "tradeproperty": {
  21578. "description": "交易属性",
  21579. "type": "integer"
  21580. },
  21581. "tradeqty": {
  21582. "description": "成交数量",
  21583. "type": "integer"
  21584. },
  21585. "unfreezecharge": {
  21586. "description": "解冻手续费",
  21587. "type": "number"
  21588. },
  21589. "unfreezemargin": {
  21590. "description": "解冻保证金",
  21591. "type": "number"
  21592. },
  21593. "updatetime": {
  21594. "description": "更新时间",
  21595. "type": "string"
  21596. },
  21597. "uuid": {
  21598. "description": "发起端唯一id",
  21599. "type": "string"
  21600. },
  21601. "validtime": {
  21602. "description": "有效期限",
  21603. "type": "string"
  21604. },
  21605. "validtype": {
  21606. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21607. "type": "integer"
  21608. },
  21609. "volumetype": {
  21610. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21611. "type": "integer"
  21612. }
  21613. }
  21614. },
  21615. "order.QueryTradeDetailRsp": {
  21616. "type": "object",
  21617. "required": [
  21618. "accountid",
  21619. "buyorsell",
  21620. "goodsid",
  21621. "marketid",
  21622. "memberuserid",
  21623. "orderid",
  21624. "tradeamount",
  21625. "tradedate",
  21626. "tradeid",
  21627. "tradeprice",
  21628. "tradeqty",
  21629. "tradetime"
  21630. ],
  21631. "properties": {
  21632. "accountid": {
  21633. "description": "账户ID[报价币种]",
  21634. "type": "integer"
  21635. },
  21636. "buildtype": {
  21637. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21638. "type": "integer"
  21639. },
  21640. "buyorsell": {
  21641. "description": "方向 - 0:买 1:卖",
  21642. "type": "integer"
  21643. },
  21644. "charge": {
  21645. "description": "手续费",
  21646. "type": "number"
  21647. },
  21648. "closecharge": {
  21649. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21650. "type": "number"
  21651. },
  21652. "closeexchagechargevalue": {
  21653. "description": "平仓交易所手续费设置值",
  21654. "type": "number"
  21655. },
  21656. "closefeealgorithm": {
  21657. "description": "平仓手续费收取方式 1:比率 2:固定",
  21658. "type": "integer"
  21659. },
  21660. "closememberchargevalue": {
  21661. "description": "平仓会员手续费设置值",
  21662. "type": "number"
  21663. },
  21664. "closepl": {
  21665. "description": "平仓盈亏",
  21666. "type": "number"
  21667. },
  21668. "closepl2": {
  21669. "description": "平仓盈亏[逐笔]",
  21670. "type": "number"
  21671. },
  21672. "closeqty": {
  21673. "description": "平仓数量(先建后平操作 需要记录)",
  21674. "type": "integer"
  21675. },
  21676. "creditamount": {
  21677. "description": "授信金额",
  21678. "type": "number"
  21679. },
  21680. "gcaccountid": {
  21681. "description": "账户ID[合约币种]",
  21682. "type": "integer"
  21683. },
  21684. "goodscode": {
  21685. "description": "商品代码",
  21686. "type": "string"
  21687. },
  21688. "goodsid": {
  21689. "description": "商品ID",
  21690. "type": "integer"
  21691. },
  21692. "goodsname": {
  21693. "description": "商品名称",
  21694. "type": "string"
  21695. },
  21696. "intclosepl": {
  21697. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21698. "type": "integer"
  21699. },
  21700. "isconfirmexercise": {
  21701. "description": "是否确认行权- 0:否 1:是",
  21702. "type": "integer"
  21703. },
  21704. "ismain": {
  21705. "description": "是否主单 - 0:不是 1:是",
  21706. "type": "integer"
  21707. },
  21708. "ispreexercise": {
  21709. "description": "是否预申报- 0:否 1:是",
  21710. "type": "integer"
  21711. },
  21712. "isreckoned": {
  21713. "description": "是否结算 - 0:未结算 1:已结算",
  21714. "type": "integer"
  21715. },
  21716. "listingselecttype": {
  21717. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21718. "type": "integer"
  21719. },
  21720. "marketid": {
  21721. "description": "市场ID",
  21722. "type": "integer"
  21723. },
  21724. "marketname": {
  21725. "description": "市场名称",
  21726. "type": "string"
  21727. },
  21728. "matchaccountid": {
  21729. "description": "对手账号id",
  21730. "type": "integer"
  21731. },
  21732. "memberuserid": {
  21733. "description": "会员id 个人投资者 需要填写",
  21734. "type": "integer"
  21735. },
  21736. "opencharge": {
  21737. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21738. "type": "number"
  21739. },
  21740. "openexchagechargevalue": {
  21741. "description": "建仓交易所手续费设置值",
  21742. "type": "number"
  21743. },
  21744. "openfeealgorithm": {
  21745. "description": "建仓手续费收取方式 1:比率 2:固定",
  21746. "type": "integer"
  21747. },
  21748. "openmemberchargevalue": {
  21749. "description": "建仓会员手续费设置值",
  21750. "type": "number"
  21751. },
  21752. "openqty": {
  21753. "description": "开仓数量(先建后平操作 需要记录)",
  21754. "type": "integer"
  21755. },
  21756. "optiontype": {
  21757. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21758. "type": "integer"
  21759. },
  21760. "orderid": {
  21761. "description": "委托单号",
  21762. "type": "string"
  21763. },
  21764. "performanceplanid": {
  21765. "description": "履约计划ID[期权]",
  21766. "type": "integer"
  21767. },
  21768. "performancestatus": {
  21769. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21770. "type": "integer"
  21771. },
  21772. "preexerciseprice": {
  21773. "description": "预申报价格",
  21774. "type": "number"
  21775. },
  21776. "premium": {
  21777. "description": "权利金 - [持仓单的权利金]",
  21778. "type": "number"
  21779. },
  21780. "relatedouttradeid": {
  21781. "description": "关联外部成交单ID",
  21782. "type": "integer"
  21783. },
  21784. "status": {
  21785. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21786. "type": "integer"
  21787. },
  21788. "tradeamount": {
  21789. "description": "成交金额[账户币种,用于所有权]",
  21790. "type": "number"
  21791. },
  21792. "tradedate": {
  21793. "description": "交易日(yyyyMMdd)",
  21794. "type": "string"
  21795. },
  21796. "tradeid": {
  21797. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21798. "type": "string"
  21799. },
  21800. "trademode": {
  21801. "description": "交易模式",
  21802. "type": "integer"
  21803. },
  21804. "tradeprice": {
  21805. "description": "成交价格",
  21806. "type": "number"
  21807. },
  21808. "tradeproperty": {
  21809. "description": "交易属性",
  21810. "type": "integer"
  21811. },
  21812. "tradeqty": {
  21813. "description": "成交数量",
  21814. "type": "integer"
  21815. },
  21816. "tradetime": {
  21817. "description": "成交时间",
  21818. "type": "string"
  21819. },
  21820. "tradetype": {
  21821. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21822. "type": "integer"
  21823. }
  21824. }
  21825. },
  21826. "order.QueryTradeOrderDetailRsp": {
  21827. "type": "object",
  21828. "required": [
  21829. "accountid",
  21830. "buildtype",
  21831. "buyorsell",
  21832. "goodsid",
  21833. "marketid",
  21834. "operatetype",
  21835. "orderqty",
  21836. "ordertime",
  21837. "pricemode",
  21838. "tradedate",
  21839. "validtype"
  21840. ],
  21841. "properties": {
  21842. "accountid": {
  21843. "description": "账户ID[报价币种]",
  21844. "type": "integer"
  21845. },
  21846. "buildtype": {
  21847. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21848. "type": "integer"
  21849. },
  21850. "buyorsell": {
  21851. "description": "买卖 - 0:买 1:卖",
  21852. "type": "integer"
  21853. },
  21854. "cancelorderid": {
  21855. "description": "撤单单号(撤单时填写)",
  21856. "type": "string"
  21857. },
  21858. "cancelqty": {
  21859. "description": "撤单数量",
  21860. "type": "integer"
  21861. },
  21862. "clienttype": {
  21863. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21864. "type": "integer"
  21865. },
  21866. "closefreezecharge": {
  21867. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21868. "type": "number"
  21869. },
  21870. "closeqty": {
  21871. "description": "平仓数量(先建后平操作 需要记录)",
  21872. "type": "integer"
  21873. },
  21874. "closetradeqty": {
  21875. "description": "平仓成交数量(先建后平操作,需要记录)",
  21876. "type": "integer"
  21877. },
  21878. "closeunfreezecharge": {
  21879. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21880. "type": "number"
  21881. },
  21882. "delistingtype": {
  21883. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21884. "type": "integer"
  21885. },
  21886. "enableqty": {
  21887. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  21888. "type": "integer"
  21889. },
  21890. "freezecharge": {
  21891. "description": "冻结手续费",
  21892. "type": "number"
  21893. },
  21894. "freezemargin": {
  21895. "description": "冻结保证金(冻结交易金额)",
  21896. "type": "number"
  21897. },
  21898. "goodscode": {
  21899. "description": "商品代码",
  21900. "type": "string"
  21901. },
  21902. "goodsid": {
  21903. "description": "商品ID",
  21904. "type": "integer"
  21905. },
  21906. "goodsname": {
  21907. "description": "商品名称",
  21908. "type": "string"
  21909. },
  21910. "listingselecttype": {
  21911. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21912. "type": "integer"
  21913. },
  21914. "marketid": {
  21915. "description": "市场ID",
  21916. "type": "integer"
  21917. },
  21918. "marketname": {
  21919. "description": "市场名称",
  21920. "type": "string"
  21921. },
  21922. "openfreezecharge": {
  21923. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21924. "type": "number"
  21925. },
  21926. "openqty": {
  21927. "description": "开仓数量(先建后平操作,需要记录)",
  21928. "type": "integer"
  21929. },
  21930. "opentradeqty": {
  21931. "description": "开仓成交数量(先建后平操作,需要记录)",
  21932. "type": "integer"
  21933. },
  21934. "openunfreezecharge": {
  21935. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21936. "type": "number"
  21937. },
  21938. "operatetype": {
  21939. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21940. "type": "integer"
  21941. },
  21942. "operatorid": {
  21943. "description": "登录账号(LoginID)",
  21944. "type": "integer"
  21945. },
  21946. "orderid": {
  21947. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21948. "type": "string"
  21949. },
  21950. "orderprice": {
  21951. "description": "委托价格",
  21952. "type": "number"
  21953. },
  21954. "orderqty": {
  21955. "description": "委托数量",
  21956. "type": "integer"
  21957. },
  21958. "ordersrc": {
  21959. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21960. "type": "integer"
  21961. },
  21962. "orderstatus": {
  21963. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21964. "type": "integer"
  21965. },
  21966. "ordertime": {
  21967. "description": "委托时间",
  21968. "type": "string"
  21969. },
  21970. "preorderid": {
  21971. "description": "关联预埋单号(止盈止损单时填写)",
  21972. "type": "string"
  21973. },
  21974. "pricemode": {
  21975. "description": "取价方式 - 1:市价 2: 限价",
  21976. "type": "integer"
  21977. },
  21978. "relatedid": {
  21979. "description": "关联单号(交割单)",
  21980. "type": "string"
  21981. },
  21982. "tradedate": {
  21983. "description": "交易日(yyyyMMdd)",
  21984. "type": "string"
  21985. },
  21986. "trademode": {
  21987. "description": "交易模式",
  21988. "type": "integer"
  21989. },
  21990. "tradeqty": {
  21991. "description": "成交数量",
  21992. "type": "integer"
  21993. },
  21994. "unfreezecharge": {
  21995. "description": "解冻手续费",
  21996. "type": "number"
  21997. },
  21998. "unfreezemargin": {
  21999. "description": "解冻保证金",
  22000. "type": "number"
  22001. },
  22002. "validtime": {
  22003. "description": "有效期限",
  22004. "type": "string"
  22005. },
  22006. "validtype": {
  22007. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22008. "type": "integer"
  22009. },
  22010. "volumetype": {
  22011. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22012. "type": "integer"
  22013. }
  22014. }
  22015. },
  22016. "order.QueryTradePositionRsp": {
  22017. "type": "object",
  22018. "required": [
  22019. "goodsid"
  22020. ],
  22021. "properties": {
  22022. "accountid": {
  22023. "description": "资金账户",
  22024. "type": "integer"
  22025. },
  22026. "agreeunit": {
  22027. "description": "合约单位",
  22028. "type": "number"
  22029. },
  22030. "averageprice": {
  22031. "description": "持仓均价",
  22032. "type": "number"
  22033. },
  22034. "buyorsell": {
  22035. "description": "方向 - 0:买 1:卖",
  22036. "type": "integer"
  22037. },
  22038. "closetotalqty": {
  22039. "description": "平仓总数量",
  22040. "type": "integer"
  22041. },
  22042. "curholderamount": {
  22043. "description": "当前持仓总金额[商品币种]",
  22044. "type": "number"
  22045. },
  22046. "curpositionqty": {
  22047. "description": "当前持仓总数量",
  22048. "type": "integer"
  22049. },
  22050. "currencyid": {
  22051. "description": "报价货币ID",
  22052. "type": "integer"
  22053. },
  22054. "curtdposition": {
  22055. "description": "期末今日头寸",
  22056. "type": "integer"
  22057. },
  22058. "decimalplace": {
  22059. "description": "报价小数位",
  22060. "type": "integer"
  22061. },
  22062. "enableqty": {
  22063. "description": "可用量",
  22064. "type": "integer"
  22065. },
  22066. "fretdposition": {
  22067. "description": "冻结今日头寸",
  22068. "type": "integer"
  22069. },
  22070. "frozenqty": {
  22071. "description": "持仓冻结数量",
  22072. "type": "integer"
  22073. },
  22074. "goodscode": {
  22075. "description": "商品代码",
  22076. "type": "string"
  22077. },
  22078. "goodsid": {
  22079. "description": "商品Id",
  22080. "type": "integer"
  22081. },
  22082. "goodsname": {
  22083. "description": "商品名称",
  22084. "type": "string"
  22085. },
  22086. "goodunit": {
  22087. "description": "报价单位",
  22088. "type": "string"
  22089. },
  22090. "goodunitid": {
  22091. "description": "报价单位ID",
  22092. "type": "integer"
  22093. },
  22094. "holderamount": {
  22095. "description": "期初持仓总金额[商品币种]",
  22096. "type": "number"
  22097. },
  22098. "marketid": {
  22099. "description": "所属市场ID",
  22100. "type": "integer"
  22101. },
  22102. "openreqqty": {
  22103. "description": "开仓申请数量(用于比较最大持仓数量)",
  22104. "type": "integer"
  22105. },
  22106. "opentotalqty": {
  22107. "description": "开仓总数量",
  22108. "type": "integer"
  22109. },
  22110. "otherfrozenqty": {
  22111. "description": "持仓其他冻结数量(交割冻结)",
  22112. "type": "integer"
  22113. },
  22114. "positionqty": {
  22115. "description": "期初持仓数量",
  22116. "type": "integer"
  22117. },
  22118. "tnqty": {
  22119. "description": "T+N冻结总量",
  22120. "type": "integer"
  22121. },
  22122. "tnusedqty": {
  22123. "description": "T+N使用量(可以使用T+N的冻结数量)",
  22124. "type": "integer"
  22125. },
  22126. "trademode": {
  22127. "description": "交易模式",
  22128. "type": "integer"
  22129. },
  22130. "usedmargin": {
  22131. "description": "占用保证金[商品币种]",
  22132. "type": "number"
  22133. }
  22134. }
  22135. },
  22136. "quote.HistoryData": {
  22137. "type": "object",
  22138. "properties": {
  22139. "c": {
  22140. "description": "收盘价",
  22141. "type": "number"
  22142. },
  22143. "f": {
  22144. "description": "是否补充数据",
  22145. "type": "boolean"
  22146. },
  22147. "h": {
  22148. "description": "最高价",
  22149. "type": "number"
  22150. },
  22151. "hv": {
  22152. "description": "持仓量",
  22153. "type": "integer"
  22154. },
  22155. "l": {
  22156. "description": "最低价",
  22157. "type": "number"
  22158. },
  22159. "o": {
  22160. "description": "开盘价",
  22161. "type": "number"
  22162. },
  22163. "s": {
  22164. "description": "结算价,日线周期(包括)以上才有",
  22165. "type": "number"
  22166. },
  22167. "ts": {
  22168. "description": "时间",
  22169. "type": "string"
  22170. },
  22171. "tt": {
  22172. "description": "总金额",
  22173. "type": "number"
  22174. },
  22175. "tv": {
  22176. "description": "总量",
  22177. "type": "integer"
  22178. }
  22179. }
  22180. },
  22181. "quote.HistoryTikData": {
  22182. "type": "object",
  22183. "properties": {
  22184. "AV": {
  22185. "description": "卖量",
  22186. "type": "integer"
  22187. },
  22188. "Ask": {
  22189. "description": "卖价",
  22190. "type": "number"
  22191. },
  22192. "BV": {
  22193. "description": "买量",
  22194. "type": "integer"
  22195. },
  22196. "Bid": {
  22197. "description": "买价",
  22198. "type": "number"
  22199. },
  22200. "HI": {
  22201. "description": "单笔持仓",
  22202. "type": "integer"
  22203. },
  22204. "HV": {
  22205. "description": "持仓量",
  22206. "type": "integer"
  22207. },
  22208. "PE": {
  22209. "description": "现价",
  22210. "type": "number"
  22211. },
  22212. "TDR": {
  22213. "description": "交易方向,0:买 1:卖",
  22214. "type": "integer"
  22215. },
  22216. "TK": {
  22217. "description": "交易类型",
  22218. "type": "integer"
  22219. },
  22220. "TS": {
  22221. "description": "行情时间文本",
  22222. "type": "string"
  22223. },
  22224. "TT": {
  22225. "description": "现金额",
  22226. "type": "number"
  22227. },
  22228. "Vol": {
  22229. "description": "现量",
  22230. "type": "integer"
  22231. }
  22232. }
  22233. },
  22234. "quote.QueryQuoteDayRsp": {
  22235. "type": "object",
  22236. "properties": {
  22237. "ask": {
  22238. "description": "卖1",
  22239. "type": "number"
  22240. },
  22241. "ask10": {
  22242. "description": "卖10",
  22243. "type": "number"
  22244. },
  22245. "ask2": {
  22246. "description": "卖2",
  22247. "type": "number"
  22248. },
  22249. "ask3": {
  22250. "description": "卖3",
  22251. "type": "number"
  22252. },
  22253. "ask4": {
  22254. "description": "卖4",
  22255. "type": "number"
  22256. },
  22257. "ask5": {
  22258. "description": "卖5",
  22259. "type": "number"
  22260. },
  22261. "ask6": {
  22262. "description": "卖6",
  22263. "type": "number"
  22264. },
  22265. "ask7": {
  22266. "description": "卖7",
  22267. "type": "number"
  22268. },
  22269. "ask8": {
  22270. "description": "卖8",
  22271. "type": "number"
  22272. },
  22273. "ask9": {
  22274. "description": "卖9",
  22275. "type": "number"
  22276. },
  22277. "askorderid": {
  22278. "description": "卖单号1",
  22279. "type": "integer"
  22280. },
  22281. "askorderid2": {
  22282. "description": "卖单号2",
  22283. "type": "integer"
  22284. },
  22285. "askorderid3": {
  22286. "description": "卖单号3",
  22287. "type": "integer"
  22288. },
  22289. "askorderid4": {
  22290. "description": "卖单号4",
  22291. "type": "integer"
  22292. },
  22293. "askorderid5": {
  22294. "description": "卖单号5",
  22295. "type": "integer"
  22296. },
  22297. "askordervolume": {
  22298. "description": "卖单量1",
  22299. "type": "integer"
  22300. },
  22301. "askordervolume10": {
  22302. "description": "卖单量10",
  22303. "type": "integer"
  22304. },
  22305. "askordervolume2": {
  22306. "description": "卖单量2",
  22307. "type": "integer"
  22308. },
  22309. "askordervolume3": {
  22310. "description": "卖单量3",
  22311. "type": "integer"
  22312. },
  22313. "askordervolume4": {
  22314. "description": "卖单量4",
  22315. "type": "integer"
  22316. },
  22317. "askordervolume5": {
  22318. "description": "卖单量5",
  22319. "type": "integer"
  22320. },
  22321. "askordervolume6": {
  22322. "description": "卖单量6",
  22323. "type": "integer"
  22324. },
  22325. "askordervolume7": {
  22326. "description": "卖单量7",
  22327. "type": "integer"
  22328. },
  22329. "askordervolume8": {
  22330. "description": "卖单量8",
  22331. "type": "integer"
  22332. },
  22333. "askordervolume9": {
  22334. "description": "卖单量9",
  22335. "type": "integer"
  22336. },
  22337. "askqueueinfo": {
  22338. "description": "大利市卖港股用",
  22339. "type": "string"
  22340. },
  22341. "askvolume": {
  22342. "description": "卖量1",
  22343. "type": "integer"
  22344. },
  22345. "askvolume10": {
  22346. "description": "卖量10",
  22347. "type": "integer"
  22348. },
  22349. "askvolume2": {
  22350. "description": "卖量2",
  22351. "type": "integer"
  22352. },
  22353. "askvolume3": {
  22354. "description": "卖量3",
  22355. "type": "integer"
  22356. },
  22357. "askvolume4": {
  22358. "description": "卖量4",
  22359. "type": "integer"
  22360. },
  22361. "askvolume5": {
  22362. "description": "卖量5",
  22363. "type": "integer"
  22364. },
  22365. "askvolume6": {
  22366. "description": "卖量6",
  22367. "type": "integer"
  22368. },
  22369. "askvolume7": {
  22370. "description": "卖量7",
  22371. "type": "integer"
  22372. },
  22373. "askvolume8": {
  22374. "description": "卖量8",
  22375. "type": "integer"
  22376. },
  22377. "askvolume9": {
  22378. "description": "卖量9",
  22379. "type": "integer"
  22380. },
  22381. "averageprice": {
  22382. "description": "均价",
  22383. "type": "number"
  22384. },
  22385. "bid": {
  22386. "description": "买1",
  22387. "type": "number"
  22388. },
  22389. "bid10": {
  22390. "description": "买10",
  22391. "type": "number"
  22392. },
  22393. "bid2": {
  22394. "description": "买2",
  22395. "type": "number"
  22396. },
  22397. "bid3": {
  22398. "description": "买3",
  22399. "type": "number"
  22400. },
  22401. "bid4": {
  22402. "description": "买4",
  22403. "type": "number"
  22404. },
  22405. "bid5": {
  22406. "description": "买5",
  22407. "type": "number"
  22408. },
  22409. "bid6": {
  22410. "description": "买6",
  22411. "type": "number"
  22412. },
  22413. "bid7": {
  22414. "description": "买7",
  22415. "type": "number"
  22416. },
  22417. "bid8": {
  22418. "description": "买8",
  22419. "type": "number"
  22420. },
  22421. "bid9": {
  22422. "description": "买9",
  22423. "type": "number"
  22424. },
  22425. "bidorderid": {
  22426. "description": "买单号1",
  22427. "type": "integer"
  22428. },
  22429. "bidorderid2": {
  22430. "description": "买单号2",
  22431. "type": "integer"
  22432. },
  22433. "bidorderid3": {
  22434. "description": "买单号3",
  22435. "type": "integer"
  22436. },
  22437. "bidorderid4": {
  22438. "description": "买单号4",
  22439. "type": "integer"
  22440. },
  22441. "bidorderid5": {
  22442. "description": "买单号5",
  22443. "type": "integer"
  22444. },
  22445. "bidordervolume": {
  22446. "description": "买单量1",
  22447. "type": "integer"
  22448. },
  22449. "bidordervolume10": {
  22450. "description": "买单量10",
  22451. "type": "integer"
  22452. },
  22453. "bidordervolume2": {
  22454. "description": "买单量2",
  22455. "type": "integer"
  22456. },
  22457. "bidordervolume3": {
  22458. "description": "买单量3",
  22459. "type": "integer"
  22460. },
  22461. "bidordervolume4": {
  22462. "description": "买单量4",
  22463. "type": "integer"
  22464. },
  22465. "bidordervolume5": {
  22466. "description": "买单量5",
  22467. "type": "integer"
  22468. },
  22469. "bidordervolume6": {
  22470. "description": "买单量6",
  22471. "type": "integer"
  22472. },
  22473. "bidordervolume7": {
  22474. "description": "买单量7",
  22475. "type": "integer"
  22476. },
  22477. "bidordervolume8": {
  22478. "description": "买单量8",
  22479. "type": "integer"
  22480. },
  22481. "bidordervolume9": {
  22482. "description": "买单量9",
  22483. "type": "integer"
  22484. },
  22485. "bidqueueinfo": {
  22486. "description": "大利市买港股用",
  22487. "type": "string"
  22488. },
  22489. "bidvolume": {
  22490. "description": "买量1",
  22491. "type": "integer"
  22492. },
  22493. "bidvolume10": {
  22494. "description": "买量10",
  22495. "type": "integer"
  22496. },
  22497. "bidvolume2": {
  22498. "description": "买量2",
  22499. "type": "integer"
  22500. },
  22501. "bidvolume3": {
  22502. "description": "买量3",
  22503. "type": "integer"
  22504. },
  22505. "bidvolume4": {
  22506. "description": "买量4",
  22507. "type": "integer"
  22508. },
  22509. "bidvolume5": {
  22510. "description": "买量5",
  22511. "type": "integer"
  22512. },
  22513. "bidvolume6": {
  22514. "description": "买量6",
  22515. "type": "integer"
  22516. },
  22517. "bidvolume7": {
  22518. "description": "买量7",
  22519. "type": "integer"
  22520. },
  22521. "bidvolume8": {
  22522. "description": "买量8",
  22523. "type": "integer"
  22524. },
  22525. "bidvolume9": {
  22526. "description": "买量9",
  22527. "type": "integer"
  22528. },
  22529. "calloptionpremiums": {
  22530. "description": "认购期权1",
  22531. "type": "integer"
  22532. },
  22533. "calloptionpremiums2": {
  22534. "description": "认购期权2",
  22535. "type": "integer"
  22536. },
  22537. "calloptionpremiums3": {
  22538. "description": "认购期权3",
  22539. "type": "integer"
  22540. },
  22541. "calloptionpremiums4": {
  22542. "description": "认购期权4",
  22543. "type": "integer"
  22544. },
  22545. "calloptionpremiums5": {
  22546. "description": "认购期权5",
  22547. "type": "integer"
  22548. },
  22549. "cleartime": {
  22550. "description": "清盘时间",
  22551. "type": "integer"
  22552. },
  22553. "exchangecode": {
  22554. "description": "交易所代码",
  22555. "type": "integer"
  22556. },
  22557. "exchangedate": {
  22558. "description": "交易日",
  22559. "type": "integer"
  22560. },
  22561. "goodscode": {
  22562. "description": "商品代码",
  22563. "type": "string"
  22564. },
  22565. "grepmarketprice": {
  22566. "description": "暗盘价 港股专用",
  22567. "type": "number"
  22568. },
  22569. "highest": {
  22570. "description": "最高价",
  22571. "type": "number"
  22572. },
  22573. "holdincrement": {
  22574. "description": "单笔持仓",
  22575. "type": "integer"
  22576. },
  22577. "holdvolume": {
  22578. "description": "持仓",
  22579. "type": "integer"
  22580. },
  22581. "iep": {
  22582. "description": "平衡价 港股专用",
  22583. "type": "number"
  22584. },
  22585. "iev": {
  22586. "description": "平衡量 港股专用",
  22587. "type": "number"
  22588. },
  22589. "inventory": {
  22590. "description": "库存",
  22591. "type": "integer"
  22592. },
  22593. "iscleared": {
  22594. "description": "是否清盘标志",
  22595. "type": "integer"
  22596. },
  22597. "issettled": {
  22598. "description": "是否结算标志",
  22599. "type": "integer"
  22600. },
  22601. "last": {
  22602. "description": "最新价",
  22603. "type": "number"
  22604. },
  22605. "lastlot": {
  22606. "description": "最新成交手数",
  22607. "type": "integer"
  22608. },
  22609. "lasttime": {
  22610. "description": "行情时间(只有现价变化行情时间才变化)",
  22611. "type": "string"
  22612. },
  22613. "lastturnover": {
  22614. "description": "最新成交金额",
  22615. "type": "number"
  22616. },
  22617. "lastvolume": {
  22618. "description": "最新成交量",
  22619. "type": "integer"
  22620. },
  22621. "limitdown": {
  22622. "description": "跌停价",
  22623. "type": "number"
  22624. },
  22625. "limitup": {
  22626. "description": "涨停价",
  22627. "type": "number"
  22628. },
  22629. "lowest": {
  22630. "description": "最低价",
  22631. "type": "number"
  22632. },
  22633. "nontotalholdervolume": {
  22634. "description": "非交易持仓量",
  22635. "type": "integer"
  22636. },
  22637. "nontotallot": {
  22638. "description": "非交易总手数",
  22639. "type": "integer"
  22640. },
  22641. "nontotalturnover": {
  22642. "description": "非交易总金额",
  22643. "type": "integer"
  22644. },
  22645. "nontotalvolume": {
  22646. "description": "非交易总量",
  22647. "type": "integer"
  22648. },
  22649. "opened": {
  22650. "description": "开盘价",
  22651. "type": "number"
  22652. },
  22653. "opentime": {
  22654. "description": "开盘时间",
  22655. "type": "string"
  22656. },
  22657. "orderid": {
  22658. "description": "序号",
  22659. "type": "integer"
  22660. },
  22661. "preclose": {
  22662. "description": "昨收",
  22663. "type": "number"
  22664. },
  22665. "preholdvolume": {
  22666. "description": "昨持仓",
  22667. "type": "integer"
  22668. },
  22669. "presettle": {
  22670. "description": "昨结价",
  22671. "type": "number"
  22672. },
  22673. "publictradetype": {
  22674. "description": "公共交易标志类型 港股专用",
  22675. "type": "string"
  22676. },
  22677. "putoptionpremiums": {
  22678. "description": "认沽期权1",
  22679. "type": "integer"
  22680. },
  22681. "putoptionpremiums2": {
  22682. "description": "认沽期权2",
  22683. "type": "integer"
  22684. },
  22685. "putoptionpremiums3": {
  22686. "description": "认沽期权3",
  22687. "type": "integer"
  22688. },
  22689. "putoptionpremiums4": {
  22690. "description": "认沽期权4",
  22691. "type": "integer"
  22692. },
  22693. "putoptionpremiums5": {
  22694. "description": "认沽期权5",
  22695. "type": "integer"
  22696. },
  22697. "settle": {
  22698. "description": "结算价",
  22699. "type": "number"
  22700. },
  22701. "strikeprice": {
  22702. "description": "发行价",
  22703. "type": "number"
  22704. },
  22705. "totalaskvolume": {
  22706. "description": "内盘",
  22707. "type": "integer"
  22708. },
  22709. "totalbidvolume": {
  22710. "description": "外盘",
  22711. "type": "integer"
  22712. },
  22713. "totallot": {
  22714. "description": "总手数",
  22715. "type": "integer"
  22716. },
  22717. "totalturnover": {
  22718. "description": "总金额",
  22719. "type": "number"
  22720. },
  22721. "totalvolume": {
  22722. "description": "总量",
  22723. "type": "integer"
  22724. },
  22725. "utclasttime": {
  22726. "description": "utc的行情时间",
  22727. "type": "string"
  22728. }
  22729. }
  22730. },
  22731. "quote.QueryTSDataRsp": {
  22732. "type": "object",
  22733. "properties": {
  22734. "Count": {
  22735. "description": "交易日应有数据个数",
  22736. "type": "integer"
  22737. },
  22738. "decimalPlace": {
  22739. "description": "小数位",
  22740. "type": "integer"
  22741. },
  22742. "endTime": {
  22743. "description": "结束时间",
  22744. "type": "string"
  22745. },
  22746. "goodsCode": {
  22747. "description": "商品代码",
  22748. "type": "string"
  22749. },
  22750. "historyDatas": {
  22751. "description": "历史数据",
  22752. "type": "array",
  22753. "items": {
  22754. "$ref": "#/definitions/quote.HistoryData"
  22755. }
  22756. },
  22757. "outGoodsCode": {
  22758. "description": "外部商品代码",
  22759. "type": "string"
  22760. },
  22761. "preSettle": {
  22762. "description": "昨结价",
  22763. "type": "number"
  22764. },
  22765. "runSteps": {
  22766. "description": "交易日开休市计划",
  22767. "type": "array",
  22768. "items": {
  22769. "$ref": "#/definitions/quote.TSDataRunStep"
  22770. }
  22771. },
  22772. "startTime": {
  22773. "description": "开始时间",
  22774. "type": "string"
  22775. },
  22776. "tradeDate": {
  22777. "description": "交易日",
  22778. "type": "string"
  22779. }
  22780. }
  22781. },
  22782. "quote.TSDataRunStep": {
  22783. "type": "object",
  22784. "properties": {
  22785. "end": {
  22786. "description": "真实结束时间",
  22787. "type": "string"
  22788. },
  22789. "endflag": {
  22790. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  22791. "type": "integer"
  22792. },
  22793. "endtime": {
  22794. "description": "结束时间(HH:mm)",
  22795. "type": "string"
  22796. },
  22797. "endweekday": {
  22798. "description": "结束周几",
  22799. "type": "integer"
  22800. },
  22801. "groupid": {
  22802. "description": "分组ID",
  22803. "type": "integer"
  22804. },
  22805. "runstep": {
  22806. "description": "运行阶段 - 2:连续交易",
  22807. "type": "integer"
  22808. },
  22809. "sectionid": {
  22810. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  22811. "type": "integer"
  22812. },
  22813. "start": {
  22814. "description": "真实开始时间",
  22815. "type": "string"
  22816. },
  22817. "startflag": {
  22818. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  22819. "type": "integer"
  22820. },
  22821. "starttime": {
  22822. "description": "起始时间(HH:mm)",
  22823. "type": "string"
  22824. },
  22825. "startweekday": {
  22826. "description": "起始周几",
  22827. "type": "integer"
  22828. },
  22829. "tradeweekday": {
  22830. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  22831. "type": "integer"
  22832. }
  22833. }
  22834. },
  22835. "szdz.QueryConvertLogRsp": {
  22836. "type": "object",
  22837. "required": [
  22838. "logid"
  22839. ],
  22840. "properties": {
  22841. "accountid": {
  22842. "description": "资金账户ID",
  22843. "type": "integer"
  22844. },
  22845. "clientticket": {
  22846. "description": "客户端流水号",
  22847. "type": "string"
  22848. },
  22849. "converttype": {
  22850. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  22851. "type": "integer"
  22852. },
  22853. "createtime": {
  22854. "description": "记账时间",
  22855. "type": "string"
  22856. },
  22857. "daymaxvalue": {
  22858. "description": "配置当日最大转入限制",
  22859. "type": "number"
  22860. },
  22861. "daymaxvalue2": {
  22862. "description": "配置当日最大转入限制(转入)",
  22863. "type": "number"
  22864. },
  22865. "goodscode": {
  22866. "description": "商品代码",
  22867. "type": "string"
  22868. },
  22869. "goodsname": {
  22870. "description": "商品名称",
  22871. "type": "string"
  22872. },
  22873. "handlestatus": {
  22874. "description": "处理状态",
  22875. "type": "integer"
  22876. },
  22877. "innergoodsid": {
  22878. "description": "内部商品ID",
  22879. "type": "integer"
  22880. },
  22881. "inratio": {
  22882. "description": "配置转入比值",
  22883. "type": "integer"
  22884. },
  22885. "invalue": {
  22886. "description": "目标值",
  22887. "type": "number"
  22888. },
  22889. "logid": {
  22890. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22891. "type": "integer"
  22892. },
  22893. "mobile": {
  22894. "description": "手机号码(加密存储)",
  22895. "type": "string"
  22896. },
  22897. "outergoodscode": {
  22898. "description": "外部商品代码[JD\\PD]",
  22899. "type": "string"
  22900. },
  22901. "outratio": {
  22902. "description": "配置转出比值",
  22903. "type": "integer"
  22904. },
  22905. "outvalue": {
  22906. "description": "源值",
  22907. "type": "number"
  22908. },
  22909. "pddecimalplace": {
  22910. "description": "PD小数位",
  22911. "type": "integer"
  22912. },
  22913. "qty": {
  22914. "description": "数量",
  22915. "type": "string"
  22916. },
  22917. "remark": {
  22918. "description": "备注",
  22919. "type": "string"
  22920. },
  22921. "sessionid": {
  22922. "description": "会话ID",
  22923. "type": "integer"
  22924. },
  22925. "timemaxvalue": {
  22926. "description": "配置单次最大转入限制",
  22927. "type": "number"
  22928. },
  22929. "timemaxvalue2": {
  22930. "description": "配置单次最大转入限制(转入)",
  22931. "type": "number"
  22932. },
  22933. "timeminvalue": {
  22934. "description": "配置单次最小数量限制",
  22935. "type": "number"
  22936. },
  22937. "timeminvalue2": {
  22938. "description": "配置单次最小数量限制(转入)",
  22939. "type": "number"
  22940. },
  22941. "tradedate": {
  22942. "description": "交易日(yyyyMMdd)",
  22943. "type": "string"
  22944. },
  22945. "userid": {
  22946. "description": "用户ID",
  22947. "type": "integer"
  22948. }
  22949. }
  22950. },
  22951. "szdz.QueryGoodsPickupRsp": {
  22952. "type": "object",
  22953. "required": [
  22954. "takeorderid"
  22955. ],
  22956. "properties": {
  22957. "accountid": {
  22958. "description": "账户ID",
  22959. "type": "integer"
  22960. },
  22961. "address": {
  22962. "description": "提货人详细地址",
  22963. "type": "string"
  22964. },
  22965. "auditer": {
  22966. "description": "审核人",
  22967. "type": "integer"
  22968. },
  22969. "audittime": {
  22970. "description": "审核时间",
  22971. "type": "string"
  22972. },
  22973. "cardnum": {
  22974. "description": "提货人证件号码",
  22975. "type": "string"
  22976. },
  22977. "cardtypeid": {
  22978. "description": "提货人证件类型",
  22979. "type": "integer"
  22980. },
  22981. "checkremark": {
  22982. "description": "审核备注",
  22983. "type": "string"
  22984. },
  22985. "goodscode": {
  22986. "description": "商品代码",
  22987. "type": "string"
  22988. },
  22989. "goodsid": {
  22990. "description": "商品ID",
  22991. "type": "integer"
  22992. },
  22993. "goodsname": {
  22994. "description": "商品名称",
  22995. "type": "string"
  22996. },
  22997. "handlestatus": {
  22998. "description": "处理状态",
  22999. "type": "integer"
  23000. },
  23001. "marketid": {
  23002. "description": "市场ID",
  23003. "type": "integer"
  23004. },
  23005. "phonenum": {
  23006. "description": "提货人联系方式",
  23007. "type": "string"
  23008. },
  23009. "qty": {
  23010. "description": "提货数量",
  23011. "type": "number"
  23012. },
  23013. "recivername": {
  23014. "description": "提货人姓名",
  23015. "type": "string"
  23016. },
  23017. "reqtime": {
  23018. "description": "更新时间",
  23019. "type": "string"
  23020. },
  23021. "takemode": {
  23022. "description": "提货方式 - 2:自提 3:配送",
  23023. "type": "integer"
  23024. },
  23025. "takeorderid": {
  23026. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23027. "type": "string"
  23028. },
  23029. "takeorderstatus": {
  23030. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23031. "type": "integer"
  23032. },
  23033. "takeremark": {
  23034. "description": "提货备注",
  23035. "type": "string"
  23036. },
  23037. "tradedate": {
  23038. "description": "交易日(yyyyMMdd)",
  23039. "type": "string"
  23040. },
  23041. "userid": {
  23042. "description": "用户ID",
  23043. "type": "integer"
  23044. }
  23045. }
  23046. },
  23047. "szdz.QueryRecieptOrderRsp": {
  23048. "type": "object",
  23049. "required": [
  23050. "ordertime"
  23051. ],
  23052. "properties": {
  23053. "accountName": {
  23054. "description": "所属账号名称(已脱敏)",
  23055. "type": "string"
  23056. },
  23057. "accountid": {
  23058. "description": "资金账号",
  23059. "type": "integer"
  23060. },
  23061. "buyorsell": {
  23062. "description": "方向 - 0:买 1:卖",
  23063. "type": "integer"
  23064. },
  23065. "enableqty": {
  23066. "description": "可摘数量",
  23067. "type": "integer"
  23068. },
  23069. "goodscode": {
  23070. "description": "商品代码",
  23071. "type": "string"
  23072. },
  23073. "goodsid": {
  23074. "description": "商品ID",
  23075. "type": "integer"
  23076. },
  23077. "goodsname": {
  23078. "description": "商品名称",
  23079. "type": "string"
  23080. },
  23081. "orderid": {
  23082. "description": "委托单号",
  23083. "type": "string"
  23084. },
  23085. "orderprice": {
  23086. "description": "委托价格",
  23087. "type": "number"
  23088. },
  23089. "ordertime": {
  23090. "description": "委托时间",
  23091. "type": "string"
  23092. },
  23093. "tradedate": {
  23094. "description": "交易日(yyyyMMdd)",
  23095. "type": "string"
  23096. }
  23097. }
  23098. },
  23099. "szdz.QuerySZDZTradePositionRsp": {
  23100. "type": "object",
  23101. "properties": {
  23102. "accountid": {
  23103. "description": "账号Id",
  23104. "type": "integer"
  23105. },
  23106. "agreeunit": {
  23107. "description": "合约单位",
  23108. "type": "number"
  23109. },
  23110. "averageprice": {
  23111. "description": "持仓均价",
  23112. "type": "number"
  23113. },
  23114. "buyorsell": {
  23115. "description": "方向 - 0:买 1:卖",
  23116. "type": "integer"
  23117. },
  23118. "closetotalqty": {
  23119. "description": "平仓总数量",
  23120. "type": "integer"
  23121. },
  23122. "curholderamount": {
  23123. "description": "当前持仓总金额",
  23124. "type": "number"
  23125. },
  23126. "curpositionqty": {
  23127. "description": "当前持仓总数量",
  23128. "type": "integer"
  23129. },
  23130. "currencyid": {
  23131. "description": "报价货币ID",
  23132. "type": "integer"
  23133. },
  23134. "curtdposition": {
  23135. "description": "期末今日头寸",
  23136. "type": "integer"
  23137. },
  23138. "decimalplace": {
  23139. "description": "报价小数位",
  23140. "type": "integer"
  23141. },
  23142. "enableqty": {
  23143. "description": "可用量",
  23144. "type": "integer"
  23145. },
  23146. "fretdposition": {
  23147. "description": "冻结今日头寸",
  23148. "type": "integer"
  23149. },
  23150. "frozenqty": {
  23151. "description": "持仓冻结数量",
  23152. "type": "integer"
  23153. },
  23154. "goodscode": {
  23155. "description": "商品代码(内部)",
  23156. "type": "string"
  23157. },
  23158. "goodsid": {
  23159. "description": "商品Id",
  23160. "type": "integer"
  23161. },
  23162. "goodsname": {
  23163. "description": "商品名称",
  23164. "type": "string"
  23165. },
  23166. "goodunit": {
  23167. "description": "报价单位",
  23168. "type": "string"
  23169. },
  23170. "goodunitid": {
  23171. "description": "报价单位ID",
  23172. "type": "integer"
  23173. },
  23174. "holderamount": {
  23175. "description": "期初持仓总金额",
  23176. "type": "number"
  23177. },
  23178. "marketid": {
  23179. "description": "市场ID",
  23180. "type": "integer"
  23181. },
  23182. "openreqqty": {
  23183. "description": "开仓申请数量",
  23184. "type": "integer"
  23185. },
  23186. "opentotalqty": {
  23187. "description": "开仓总数量",
  23188. "type": "integer"
  23189. },
  23190. "otherfrozenqty": {
  23191. "description": "持仓其他冻结数量(交割冻结)",
  23192. "type": "integer"
  23193. },
  23194. "positionqty": {
  23195. "description": "期初持仓数量",
  23196. "type": "integer"
  23197. },
  23198. "szdz3freezqty": {
  23199. "description": "尚志大宗转换冻结总数量",
  23200. "type": "integer"
  23201. },
  23202. "tnqty": {
  23203. "description": "T+N冻结总量",
  23204. "type": "integer"
  23205. },
  23206. "tnusedqty": {
  23207. "description": "T+N使用量",
  23208. "type": "integer"
  23209. },
  23210. "trademode": {
  23211. "description": "交易模式",
  23212. "type": "integer"
  23213. },
  23214. "usedmargin": {
  23215. "description": "占用保证金",
  23216. "type": "number"
  23217. }
  23218. }
  23219. },
  23220. "taaccount.QueryAmountLogRsp": {
  23221. "type": "object",
  23222. "required": [
  23223. "accountid",
  23224. "amount",
  23225. "amountadjusttype",
  23226. "autoid",
  23227. "balance",
  23228. "createtime",
  23229. "currentbalance",
  23230. "operatetype"
  23231. ],
  23232. "properties": {
  23233. "OPERATETYPENAME": {
  23234. "description": "资金操作类型名称",
  23235. "type": "string"
  23236. },
  23237. "accountid": {
  23238. "description": "资金账户ID",
  23239. "type": "integer"
  23240. },
  23241. "agoodscode": {
  23242. "description": "竞拍商品代码",
  23243. "type": "string"
  23244. },
  23245. "agoodsname": {
  23246. "description": "竞拍商品名称",
  23247. "type": "string"
  23248. },
  23249. "amount": {
  23250. "description": "资金金额",
  23251. "type": "number"
  23252. },
  23253. "amountadjusttype": {
  23254. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23255. "type": "integer"
  23256. },
  23257. "autoid": {
  23258. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23259. "type": "integer"
  23260. },
  23261. "balance": {
  23262. "description": "期初余额",
  23263. "type": "number"
  23264. },
  23265. "businesscode": {
  23266. "description": "业务编号",
  23267. "type": "integer"
  23268. },
  23269. "createtime": {
  23270. "description": "发生时间",
  23271. "type": "string"
  23272. },
  23273. "currencyid": {
  23274. "description": "币种ID",
  23275. "type": "integer"
  23276. },
  23277. "currentbalance": {
  23278. "description": "期末余额(变动后金额)",
  23279. "type": "number"
  23280. },
  23281. "dgoodscode": {
  23282. "description": "交割商品代码",
  23283. "type": "string"
  23284. },
  23285. "dgoodsname": {
  23286. "description": "交割商品名称",
  23287. "type": "string"
  23288. },
  23289. "goodscode": {
  23290. "description": "商品代码",
  23291. "type": "string"
  23292. },
  23293. "goodsid": {
  23294. "description": "商品ID",
  23295. "type": "integer"
  23296. },
  23297. "goodsname": {
  23298. "description": "商品名称",
  23299. "type": "string"
  23300. },
  23301. "marketid": {
  23302. "description": "市场ID",
  23303. "type": "integer"
  23304. },
  23305. "marketname": {
  23306. "description": "市场名称",
  23307. "type": "string"
  23308. },
  23309. "moneyticket": {
  23310. "description": "资金流水号:银行端流水号",
  23311. "type": "integer"
  23312. },
  23313. "operatetype": {
  23314. "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:营销收款",
  23315. "type": "integer"
  23316. },
  23317. "relationorderid": {
  23318. "description": "关联单号",
  23319. "type": "string"
  23320. },
  23321. "remark": {
  23322. "description": "备注",
  23323. "type": "string"
  23324. },
  23325. "trademode": {
  23326. "description": "交易模式",
  23327. "type": "integer"
  23328. }
  23329. }
  23330. },
  23331. "taaccount.QueryHisAmountLogRsp": {
  23332. "type": "object",
  23333. "required": [
  23334. "accountid",
  23335. "amount",
  23336. "amountadjusttype",
  23337. "autoid",
  23338. "balance",
  23339. "createtime",
  23340. "currentbalance",
  23341. "histradedate",
  23342. "operatetype"
  23343. ],
  23344. "properties": {
  23345. "OPERATETYPENAME": {
  23346. "description": "资金操作类型名称",
  23347. "type": "string"
  23348. },
  23349. "accountid": {
  23350. "description": "资金账户ID",
  23351. "type": "integer"
  23352. },
  23353. "agoodscode": {
  23354. "description": "竞拍商品代码",
  23355. "type": "string"
  23356. },
  23357. "agoodsname": {
  23358. "description": "竞拍商品名称",
  23359. "type": "string"
  23360. },
  23361. "amount": {
  23362. "description": "资金金额",
  23363. "type": "number"
  23364. },
  23365. "amountadjusttype": {
  23366. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23367. "type": "integer"
  23368. },
  23369. "autoid": {
  23370. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23371. "type": "integer"
  23372. },
  23373. "balance": {
  23374. "description": "期初余额",
  23375. "type": "number"
  23376. },
  23377. "businesscode": {
  23378. "description": "业务编号",
  23379. "type": "integer"
  23380. },
  23381. "createtime": {
  23382. "description": "发生时间",
  23383. "type": "string"
  23384. },
  23385. "currencyid": {
  23386. "description": "币种ID",
  23387. "type": "integer"
  23388. },
  23389. "currentbalance": {
  23390. "description": "期末余额(变动后金额)",
  23391. "type": "number"
  23392. },
  23393. "dgoodscode": {
  23394. "description": "交割商品代码",
  23395. "type": "string"
  23396. },
  23397. "dgoodsname": {
  23398. "description": "交割商品名称",
  23399. "type": "string"
  23400. },
  23401. "goodscode": {
  23402. "description": "商品代码",
  23403. "type": "string"
  23404. },
  23405. "goodsid": {
  23406. "description": "商品ID",
  23407. "type": "integer"
  23408. },
  23409. "goodsname": {
  23410. "description": "商品名称",
  23411. "type": "string"
  23412. },
  23413. "histradedate": {
  23414. "description": "历史交易日",
  23415. "type": "string"
  23416. },
  23417. "isvaliddata": {
  23418. "description": "是否有效 - 0:无效 1:有效",
  23419. "type": "integer"
  23420. },
  23421. "marketid": {
  23422. "description": "市场ID",
  23423. "type": "integer"
  23424. },
  23425. "marketname": {
  23426. "description": "市场名称",
  23427. "type": "string"
  23428. },
  23429. "moneyticket": {
  23430. "description": "资金流水号:银行端流水号",
  23431. "type": "integer"
  23432. },
  23433. "operatetype": {
  23434. "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:营销收款",
  23435. "type": "integer"
  23436. },
  23437. "relationorderid": {
  23438. "description": "关联单号",
  23439. "type": "string"
  23440. },
  23441. "remark": {
  23442. "description": "备注",
  23443. "type": "string"
  23444. },
  23445. "trademode": {
  23446. "description": "交易模式",
  23447. "type": "integer"
  23448. }
  23449. }
  23450. },
  23451. "trade.QueryRecieptOrderRsp": {
  23452. "type": "object",
  23453. "required": [
  23454. "ordertime"
  23455. ],
  23456. "properties": {
  23457. "accountName": {
  23458. "description": "所属账号名称(已脱敏)",
  23459. "type": "string"
  23460. },
  23461. "accountid": {
  23462. "description": "资金账号",
  23463. "type": "integer"
  23464. },
  23465. "buyorsell": {
  23466. "description": "方向 - 0:买 1:卖",
  23467. "type": "integer"
  23468. },
  23469. "enableqty": {
  23470. "description": "可摘数量",
  23471. "type": "integer"
  23472. },
  23473. "goodscode": {
  23474. "description": "商品代码",
  23475. "type": "string"
  23476. },
  23477. "goodsid": {
  23478. "description": "商品ID",
  23479. "type": "integer"
  23480. },
  23481. "goodsname": {
  23482. "description": "商品名称",
  23483. "type": "string"
  23484. },
  23485. "orderid": {
  23486. "description": "委托单号",
  23487. "type": "string"
  23488. },
  23489. "orderprice": {
  23490. "description": "委托价格",
  23491. "type": "number"
  23492. },
  23493. "ordertime": {
  23494. "description": "委托时间",
  23495. "type": "string"
  23496. },
  23497. "tradedate": {
  23498. "description": "交易日(yyyyMMdd)",
  23499. "type": "string"
  23500. }
  23501. }
  23502. },
  23503. "user.LoginQueryRsp": {
  23504. "type": "object",
  23505. "properties": {
  23506. "areaRoles": {
  23507. "description": "所属角色信息",
  23508. "type": "array",
  23509. "items": {
  23510. "$ref": "#/definitions/models.Arearole"
  23511. }
  23512. },
  23513. "externalExchanges": {
  23514. "description": "外部交易所",
  23515. "type": "array",
  23516. "items": {
  23517. "$ref": "#/definitions/models.Externalexchange"
  23518. }
  23519. },
  23520. "goodsgroups": {
  23521. "description": "商品组",
  23522. "type": "array",
  23523. "items": {
  23524. "$ref": "#/definitions/models.Goodsgroup"
  23525. }
  23526. },
  23527. "loginAccount": {
  23528. "description": "登录账号",
  23529. "$ref": "#/definitions/models.Loginaccount"
  23530. },
  23531. "markets": {
  23532. "description": "市场",
  23533. "type": "array",
  23534. "items": {
  23535. "$ref": "#/definitions/models.Market"
  23536. }
  23537. },
  23538. "systemParams": {
  23539. "description": "系统参数",
  23540. "type": "array",
  23541. "items": {
  23542. "$ref": "#/definitions/models.Systemparam"
  23543. }
  23544. },
  23545. "userAccount": {
  23546. "description": "用户账号",
  23547. "$ref": "#/definitions/models.Useraccount"
  23548. },
  23549. "userInfo": {
  23550. "description": "用户信息",
  23551. "$ref": "#/definitions/models.Userinfo"
  23552. },
  23553. "username": {
  23554. "description": "用户姓名",
  23555. "type": "string"
  23556. }
  23557. }
  23558. }
  23559. },
  23560. "securityDefinitions": {
  23561. "ApiKeyAuth": {
  23562. "type": "apiKey",
  23563. "name": "Authorization",
  23564. "in": "header"
  23565. }
  23566. }
  23567. }`
  23568. type swaggerInfo struct {
  23569. Version string
  23570. Host string
  23571. BasePath string
  23572. Schemes []string
  23573. Title string
  23574. Description string
  23575. }
  23576. // SwaggerInfo holds exported Swagger Info so clients can modify it
  23577. var SwaggerInfo = swaggerInfo{
  23578. Version: "1.0",
  23579. Host: "",
  23580. BasePath: "/api",
  23581. Schemes: []string{},
  23582. Title: "MTP2.0 查询服务 API",
  23583. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  23584. }
  23585. type s struct{}
  23586. func (s *s) ReadDoc() string {
  23587. sInfo := SwaggerInfo
  23588. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  23589. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  23590. "marshal": func(v interface{}) string {
  23591. a, _ := json.Marshal(v)
  23592. return string(a)
  23593. },
  23594. }).Parse(doc)
  23595. if err != nil {
  23596. return doc
  23597. }
  23598. var tpl bytes.Buffer
  23599. if err := t.Execute(&tpl, sInfo); err != nil {
  23600. return doc
  23601. }
  23602. return tpl.String()
  23603. }
  23604. func init() {
  23605. swag.Register(swag.Name, &s{})
  23606. }