docs.go 820 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814
  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. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "OK",
  1216. "schema": {
  1217. "type": "array",
  1218. "items": {
  1219. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1220. }
  1221. }
  1222. },
  1223. "500": {
  1224. "description": "Internal Server Error",
  1225. "schema": {
  1226. "$ref": "#/definitions/app.Response"
  1227. }
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1233. "get": {
  1234. "security": [
  1235. {
  1236. "ApiKeyAuth": []
  1237. }
  1238. ],
  1239. "produces": [
  1240. "application/json"
  1241. ],
  1242. "tags": [
  1243. "企业风险管理(app)"
  1244. ],
  1245. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1246. "parameters": [
  1247. {
  1248. "type": "integer",
  1249. "description": "用户ID",
  1250. "name": "userid",
  1251. "in": "query",
  1252. "required": true
  1253. },
  1254. {
  1255. "type": "integer",
  1256. "description": "账号id",
  1257. "name": "accountid",
  1258. "in": "query"
  1259. }
  1260. ],
  1261. "responses": {
  1262. "200": {
  1263. "description": "OK",
  1264. "schema": {
  1265. "type": "array",
  1266. "items": {
  1267. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1268. }
  1269. }
  1270. },
  1271. "500": {
  1272. "description": "Internal Server Error",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/Ermcp/QueryAccMgrTaaccount": {
  1281. "get": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "produces": [
  1288. "application/json"
  1289. ],
  1290. "tags": [
  1291. "企业风险管理(app)"
  1292. ],
  1293. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1294. "parameters": [
  1295. {
  1296. "type": "integer",
  1297. "description": "用户ID",
  1298. "name": "userid",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "所属机构ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryChangeLog": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询变更记录",
  1378. "parameters": [
  1379. {
  1380. "type": "string",
  1381. "description": "合同ID",
  1382. "name": "RelatedId",
  1383. "in": "query",
  1384. "required": true
  1385. }
  1386. ],
  1387. "responses": {
  1388. "200": {
  1389. "description": "OK",
  1390. "schema": {
  1391. "type": "array",
  1392. "items": {
  1393. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1394. }
  1395. }
  1396. },
  1397. "500": {
  1398. "description": "Internal Server Error",
  1399. "schema": {
  1400. "$ref": "#/definitions/app.Response"
  1401. }
  1402. }
  1403. }
  1404. }
  1405. },
  1406. "/Ermcp/QueryErmcpHisOrderDetails": {
  1407. "get": {
  1408. "security": [
  1409. {
  1410. "ApiKeyAuth": []
  1411. }
  1412. ],
  1413. "produces": [
  1414. "application/json"
  1415. ],
  1416. "tags": [
  1417. "企业风险管理(app)"
  1418. ],
  1419. "summary": "获取企业风管期货历史委托单信息",
  1420. "parameters": [
  1421. {
  1422. "type": "integer",
  1423. "description": "资金账户ID",
  1424. "name": "accountID",
  1425. "in": "query",
  1426. "required": true
  1427. },
  1428. {
  1429. "type": "string",
  1430. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1431. "name": "startDate",
  1432. "in": "query"
  1433. },
  1434. {
  1435. "type": "string",
  1436. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1437. "name": "endDate",
  1438. "in": "query"
  1439. }
  1440. ],
  1441. "responses": {
  1442. "200": {
  1443. "description": "OK",
  1444. "schema": {
  1445. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1446. }
  1447. },
  1448. "500": {
  1449. "description": "Internal Server Error",
  1450. "schema": {
  1451. "$ref": "#/definitions/app.Response"
  1452. }
  1453. }
  1454. }
  1455. }
  1456. },
  1457. "/Ermcp/QueryErmcpHisTradeDetails": {
  1458. "get": {
  1459. "security": [
  1460. {
  1461. "ApiKeyAuth": []
  1462. }
  1463. ],
  1464. "produces": [
  1465. "application/json"
  1466. ],
  1467. "tags": [
  1468. "企业风险管理(app)"
  1469. ],
  1470. "summary": "获取企业风管期货历史成交单信息",
  1471. "parameters": [
  1472. {
  1473. "type": "integer",
  1474. "description": "资金账户ID",
  1475. "name": "accountID",
  1476. "in": "query",
  1477. "required": true
  1478. },
  1479. {
  1480. "type": "integer",
  1481. "description": "商品ID",
  1482. "name": "goodsID",
  1483. "in": "query"
  1484. },
  1485. {
  1486. "type": "integer",
  1487. "description": "买卖方向,0:买 1:卖",
  1488. "name": "buyOrSell",
  1489. "in": "query"
  1490. },
  1491. {
  1492. "type": "integer",
  1493. "description": "关联委托单号",
  1494. "name": "orderID",
  1495. "in": "query"
  1496. },
  1497. {
  1498. "type": "string",
  1499. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1500. "name": "startDate",
  1501. "in": "query"
  1502. },
  1503. {
  1504. "type": "string",
  1505. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1506. "name": "endDate",
  1507. "in": "query"
  1508. }
  1509. ],
  1510. "responses": {
  1511. "200": {
  1512. "description": "OK",
  1513. "schema": {
  1514. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1515. }
  1516. },
  1517. "500": {
  1518. "description": "Internal Server Error",
  1519. "schema": {
  1520. "$ref": "#/definitions/app.Response"
  1521. }
  1522. }
  1523. }
  1524. }
  1525. },
  1526. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1527. "get": {
  1528. "security": [
  1529. {
  1530. "ApiKeyAuth": []
  1531. }
  1532. ],
  1533. "produces": [
  1534. "application/json"
  1535. ],
  1536. "tags": [
  1537. "企业风险管理(app)"
  1538. ],
  1539. "summary": "获取企业风管期货内部持仓单信息",
  1540. "parameters": [
  1541. {
  1542. "type": "integer",
  1543. "description": "资金账户ID",
  1544. "name": "accountID",
  1545. "in": "query",
  1546. "required": true
  1547. },
  1548. {
  1549. "type": "integer",
  1550. "description": "商品ID",
  1551. "name": "goodsID",
  1552. "in": "query"
  1553. },
  1554. {
  1555. "type": "integer",
  1556. "description": "买卖方向,0:买 1:卖",
  1557. "name": "buyOrSell",
  1558. "in": "query"
  1559. }
  1560. ],
  1561. "responses": {
  1562. "200": {
  1563. "description": "OK",
  1564. "schema": {
  1565. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1566. }
  1567. },
  1568. "500": {
  1569. "description": "Internal Server Error",
  1570. "schema": {
  1571. "$ref": "#/definitions/app.Response"
  1572. }
  1573. }
  1574. }
  1575. }
  1576. },
  1577. "/Ermcp/QueryErmcpOrderDetails": {
  1578. "get": {
  1579. "security": [
  1580. {
  1581. "ApiKeyAuth": []
  1582. }
  1583. ],
  1584. "produces": [
  1585. "application/json"
  1586. ],
  1587. "tags": [
  1588. "企业风险管理(app)"
  1589. ],
  1590. "summary": "获取企业风管期货委托单信息",
  1591. "parameters": [
  1592. {
  1593. "type": "integer",
  1594. "description": "资金账户ID",
  1595. "name": "accountID",
  1596. "in": "query",
  1597. "required": true
  1598. }
  1599. ],
  1600. "responses": {
  1601. "200": {
  1602. "description": "OK",
  1603. "schema": {
  1604. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1605. }
  1606. },
  1607. "500": {
  1608. "description": "Internal Server Error",
  1609. "schema": {
  1610. "$ref": "#/definitions/app.Response"
  1611. }
  1612. }
  1613. }
  1614. }
  1615. },
  1616. "/Ermcp/QueryErmcpTradeDetails": {
  1617. "get": {
  1618. "security": [
  1619. {
  1620. "ApiKeyAuth": []
  1621. }
  1622. ],
  1623. "produces": [
  1624. "application/json"
  1625. ],
  1626. "tags": [
  1627. "企业风险管理(app)"
  1628. ],
  1629. "summary": "获取企业风管期货成交单信息",
  1630. "parameters": [
  1631. {
  1632. "type": "integer",
  1633. "description": "资金账户ID",
  1634. "name": "accountID",
  1635. "in": "query",
  1636. "required": true
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "商品ID",
  1641. "name": "goodsID",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "description": "买卖方向,0:买 1:卖",
  1647. "name": "buyOrSell",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": "关联委托单号",
  1653. "name": "orderID",
  1654. "in": "query"
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1662. }
  1663. },
  1664. "500": {
  1665. "description": "Internal Server Error",
  1666. "schema": {
  1667. "$ref": "#/definitions/app.Response"
  1668. }
  1669. }
  1670. }
  1671. }
  1672. },
  1673. "/Ermcp/QueryErmcpTradePosition": {
  1674. "get": {
  1675. "security": [
  1676. {
  1677. "ApiKeyAuth": []
  1678. }
  1679. ],
  1680. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1681. "produces": [
  1682. "application/json"
  1683. ],
  1684. "tags": [
  1685. "企业风险管理(app)"
  1686. ],
  1687. "summary": "获取企业风管期货持仓头寸信息",
  1688. "parameters": [
  1689. {
  1690. "type": "integer",
  1691. "description": "资金账户ID",
  1692. "name": "accountID",
  1693. "in": "query",
  1694. "required": true
  1695. },
  1696. {
  1697. "type": "integer",
  1698. "description": "所属市场ID",
  1699. "name": "marketID",
  1700. "in": "query"
  1701. }
  1702. ],
  1703. "responses": {
  1704. "200": {
  1705. "description": "OK",
  1706. "schema": {
  1707. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1708. }
  1709. },
  1710. "500": {
  1711. "description": "Internal Server Error",
  1712. "schema": {
  1713. "$ref": "#/definitions/app.Response"
  1714. }
  1715. }
  1716. }
  1717. }
  1718. },
  1719. "/Ermcp/QueryExposureDetail": {
  1720. "get": {
  1721. "security": [
  1722. {
  1723. "ApiKeyAuth": []
  1724. }
  1725. ],
  1726. "produces": [
  1727. "application/json"
  1728. ],
  1729. "tags": [
  1730. "企业风险管理(app)"
  1731. ],
  1732. "summary": "查询敞口现货明细",
  1733. "parameters": [
  1734. {
  1735. "type": "integer",
  1736. "description": "所属机构ID",
  1737. "name": "areaUserId",
  1738. "in": "query",
  1739. "required": true
  1740. },
  1741. {
  1742. "type": "integer",
  1743. "description": "套保商品",
  1744. "name": "middleGoodsId",
  1745. "in": "query",
  1746. "required": true
  1747. }
  1748. ],
  1749. "responses": {
  1750. "200": {
  1751. "description": "OK",
  1752. "schema": {
  1753. "type": "array",
  1754. "items": {
  1755. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1756. }
  1757. }
  1758. },
  1759. "500": {
  1760. "description": "Internal Server Error",
  1761. "schema": {
  1762. "$ref": "#/definitions/app.Response"
  1763. }
  1764. }
  1765. }
  1766. }
  1767. },
  1768. "/Ermcp/QueryExposureHedgePosition": {
  1769. "get": {
  1770. "security": [
  1771. {
  1772. "ApiKeyAuth": []
  1773. }
  1774. ],
  1775. "produces": [
  1776. "application/json"
  1777. ],
  1778. "tags": [
  1779. "企业风险管理(app)"
  1780. ],
  1781. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1782. "parameters": [
  1783. {
  1784. "type": "integer",
  1785. "description": "用户id",
  1786. "name": "userid",
  1787. "in": "query",
  1788. "required": true
  1789. }
  1790. ],
  1791. "responses": {
  1792. "200": {
  1793. "description": "OK",
  1794. "schema": {
  1795. "type": "array",
  1796. "items": {
  1797. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1798. }
  1799. }
  1800. },
  1801. "500": {
  1802. "description": "Internal Server Error",
  1803. "schema": {
  1804. "$ref": "#/definitions/app.Response"
  1805. }
  1806. }
  1807. }
  1808. }
  1809. },
  1810. "/Ermcp/QueryExposureHedgePositionDetail": {
  1811. "get": {
  1812. "security": [
  1813. {
  1814. "ApiKeyAuth": []
  1815. }
  1816. ],
  1817. "produces": [
  1818. "application/json"
  1819. ],
  1820. "tags": [
  1821. "企业风险管理(app)"
  1822. ],
  1823. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1824. "parameters": [
  1825. {
  1826. "type": "integer",
  1827. "description": "所属机构ID",
  1828. "name": "userid",
  1829. "in": "query",
  1830. "required": true
  1831. },
  1832. {
  1833. "type": "integer",
  1834. "description": "商品id",
  1835. "name": "goodsId",
  1836. "in": "query",
  1837. "required": true
  1838. }
  1839. ],
  1840. "responses": {
  1841. "200": {
  1842. "description": "OK",
  1843. "schema": {
  1844. "type": "array",
  1845. "items": {
  1846. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1847. }
  1848. }
  1849. },
  1850. "500": {
  1851. "description": "Internal Server Error",
  1852. "schema": {
  1853. "$ref": "#/definitions/app.Response"
  1854. }
  1855. }
  1856. }
  1857. }
  1858. },
  1859. "/Ermcp/QueryExposureSpot": {
  1860. "get": {
  1861. "security": [
  1862. {
  1863. "ApiKeyAuth": []
  1864. }
  1865. ],
  1866. "produces": [
  1867. "application/json"
  1868. ],
  1869. "tags": [
  1870. "企业风险管理(app)"
  1871. ],
  1872. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1873. "parameters": [
  1874. {
  1875. "type": "integer",
  1876. "description": "所属机构ID",
  1877. "name": "areaUserId",
  1878. "in": "query",
  1879. "required": true
  1880. }
  1881. ],
  1882. "responses": {
  1883. "200": {
  1884. "description": "OK",
  1885. "schema": {
  1886. "type": "array",
  1887. "items": {
  1888. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1889. }
  1890. }
  1891. },
  1892. "500": {
  1893. "description": "Internal Server Error",
  1894. "schema": {
  1895. "$ref": "#/definitions/app.Response"
  1896. }
  1897. }
  1898. }
  1899. }
  1900. },
  1901. "/Ermcp/QueryExposureSpotDetail": {
  1902. "get": {
  1903. "security": [
  1904. {
  1905. "ApiKeyAuth": []
  1906. }
  1907. ],
  1908. "produces": [
  1909. "application/json"
  1910. ],
  1911. "tags": [
  1912. "企业风险管理(app)"
  1913. ],
  1914. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1915. "parameters": [
  1916. {
  1917. "type": "integer",
  1918. "description": "所属机构ID",
  1919. "name": "areaUserId",
  1920. "in": "query",
  1921. "required": true
  1922. },
  1923. {
  1924. "type": "integer",
  1925. "description": "现货品种ID",
  1926. "name": "wrstandardId",
  1927. "in": "query",
  1928. "required": true
  1929. }
  1930. ],
  1931. "responses": {
  1932. "200": {
  1933. "description": "OK",
  1934. "schema": {
  1935. "type": "array",
  1936. "items": {
  1937. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1938. }
  1939. }
  1940. },
  1941. "500": {
  1942. "description": "Internal Server Error",
  1943. "schema": {
  1944. "$ref": "#/definitions/app.Response"
  1945. }
  1946. }
  1947. }
  1948. }
  1949. },
  1950. "/Ermcp/QueryFuturesCompany": {
  1951. "get": {
  1952. "security": [
  1953. {
  1954. "ApiKeyAuth": []
  1955. }
  1956. ],
  1957. "produces": [
  1958. "application/json"
  1959. ],
  1960. "tags": [
  1961. "企业风险管理(app)"
  1962. ],
  1963. "summary": "查询期货公司",
  1964. "responses": {
  1965. "200": {
  1966. "description": "OK",
  1967. "schema": {
  1968. "type": "array",
  1969. "items": {
  1970. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  1971. }
  1972. }
  1973. },
  1974. "500": {
  1975. "description": "Internal Server Error",
  1976. "schema": {
  1977. "$ref": "#/definitions/app.Response"
  1978. }
  1979. }
  1980. }
  1981. }
  1982. },
  1983. "/Ermcp/QueryGGConvertConfig": {
  1984. "get": {
  1985. "security": [
  1986. {
  1987. "ApiKeyAuth": []
  1988. }
  1989. ],
  1990. "produces": [
  1991. "application/json"
  1992. ],
  1993. "tags": [
  1994. "企业风险管理(app)"
  1995. ],
  1996. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1997. "parameters": [
  1998. {
  1999. "type": "integer",
  2000. "description": "品种id(不填则查所有)",
  2001. "name": "goodsgroupid",
  2002. "in": "query"
  2003. }
  2004. ],
  2005. "responses": {
  2006. "200": {
  2007. "description": "OK",
  2008. "schema": {
  2009. "type": "array",
  2010. "items": {
  2011. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2012. }
  2013. }
  2014. },
  2015. "500": {
  2016. "description": "Internal Server Error",
  2017. "schema": {
  2018. "$ref": "#/definitions/app.Response"
  2019. }
  2020. }
  2021. }
  2022. }
  2023. },
  2024. "/Ermcp/QueryGoodsBrand": {
  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": "userid",
  2043. "in": "query",
  2044. "required": true
  2045. },
  2046. {
  2047. "type": "integer",
  2048. "description": "现货商品ID",
  2049. "name": "wrstandardid",
  2050. "in": "query"
  2051. }
  2052. ],
  2053. "responses": {
  2054. "200": {
  2055. "description": "OK",
  2056. "schema": {
  2057. "type": "array",
  2058. "items": {
  2059. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2060. }
  2061. }
  2062. },
  2063. "500": {
  2064. "description": "Internal Server Error",
  2065. "schema": {
  2066. "$ref": "#/definitions/app.Response"
  2067. }
  2068. }
  2069. }
  2070. }
  2071. },
  2072. "/Ermcp/QueryGoodsModel": {
  2073. "get": {
  2074. "security": [
  2075. {
  2076. "ApiKeyAuth": []
  2077. }
  2078. ],
  2079. "produces": [
  2080. "application/json"
  2081. ],
  2082. "tags": [
  2083. "企业风险管理(app)"
  2084. ],
  2085. "summary": "查询商品型号",
  2086. "parameters": [
  2087. {
  2088. "type": "integer",
  2089. "description": "用户ID",
  2090. "name": "userid",
  2091. "in": "query",
  2092. "required": true
  2093. }
  2094. ],
  2095. "responses": {
  2096. "200": {
  2097. "description": "OK",
  2098. "schema": {
  2099. "type": "array",
  2100. "items": {
  2101. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2102. }
  2103. }
  2104. },
  2105. "500": {
  2106. "description": "Internal Server Error",
  2107. "schema": {
  2108. "$ref": "#/definitions/app.Response"
  2109. }
  2110. }
  2111. }
  2112. }
  2113. },
  2114. "/Ermcp/QueryHisExposure": {
  2115. "get": {
  2116. "security": [
  2117. {
  2118. "ApiKeyAuth": []
  2119. }
  2120. ],
  2121. "produces": [
  2122. "application/json"
  2123. ],
  2124. "tags": [
  2125. "企业风险管理(app)"
  2126. ],
  2127. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2128. "parameters": [
  2129. {
  2130. "type": "integer",
  2131. "description": "用户id",
  2132. "name": "userid",
  2133. "in": "query",
  2134. "required": true
  2135. },
  2136. {
  2137. "type": "integer",
  2138. "description": "每个品种记录数",
  2139. "name": "lastNum",
  2140. "in": "query",
  2141. "required": true
  2142. }
  2143. ],
  2144. "responses": {
  2145. "200": {
  2146. "description": "OK",
  2147. "schema": {
  2148. "type": "array",
  2149. "items": {
  2150. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2151. }
  2152. }
  2153. },
  2154. "500": {
  2155. "description": "Internal Server Error",
  2156. "schema": {
  2157. "$ref": "#/definitions/app.Response"
  2158. }
  2159. }
  2160. }
  2161. }
  2162. },
  2163. "/Ermcp/QueryMiddleGoods": {
  2164. "get": {
  2165. "security": [
  2166. {
  2167. "ApiKeyAuth": []
  2168. }
  2169. ],
  2170. "produces": [
  2171. "application/json"
  2172. ],
  2173. "tags": [
  2174. "企业风险管理(app)"
  2175. ],
  2176. "summary": "查询套保品种(菜单:套保品种)",
  2177. "parameters": [
  2178. {
  2179. "type": "integer",
  2180. "description": "所属机构ID",
  2181. "name": "userid",
  2182. "in": "query",
  2183. "required": true
  2184. },
  2185. {
  2186. "type": "integer",
  2187. "description": "状态 0-停用 1-正常",
  2188. "name": "status",
  2189. "in": "query",
  2190. "required": true
  2191. }
  2192. ],
  2193. "responses": {
  2194. "200": {
  2195. "description": "OK",
  2196. "schema": {
  2197. "type": "array",
  2198. "items": {
  2199. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2200. }
  2201. }
  2202. },
  2203. "500": {
  2204. "description": "Internal Server Error",
  2205. "schema": {
  2206. "$ref": "#/definitions/app.Response"
  2207. }
  2208. }
  2209. }
  2210. }
  2211. },
  2212. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2213. "get": {
  2214. "security": [
  2215. {
  2216. "ApiKeyAuth": []
  2217. }
  2218. ],
  2219. "produces": [
  2220. "application/json"
  2221. ],
  2222. "tags": [
  2223. "企业风险管理(app)"
  2224. ],
  2225. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2226. "parameters": [
  2227. {
  2228. "type": "integer",
  2229. "description": "所属机构ID",
  2230. "name": "userid",
  2231. "in": "query",
  2232. "required": true
  2233. },
  2234. {
  2235. "type": "integer",
  2236. "description": "套保品种id",
  2237. "name": "middlegoodsid",
  2238. "in": "query",
  2239. "required": true
  2240. }
  2241. ],
  2242. "responses": {
  2243. "200": {
  2244. "description": "OK",
  2245. "schema": {
  2246. "type": "array",
  2247. "items": {
  2248. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2249. }
  2250. }
  2251. },
  2252. "500": {
  2253. "description": "Internal Server Error",
  2254. "schema": {
  2255. "$ref": "#/definitions/app.Response"
  2256. }
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "/Ermcp/QueryMiddleGoodsDetail": {
  2262. "get": {
  2263. "security": [
  2264. {
  2265. "ApiKeyAuth": []
  2266. }
  2267. ],
  2268. "produces": [
  2269. "application/json"
  2270. ],
  2271. "tags": [
  2272. "企业风险管理(app)"
  2273. ],
  2274. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2275. "parameters": [
  2276. {
  2277. "type": "integer",
  2278. "description": "所属机构ID",
  2279. "name": "userid",
  2280. "in": "query",
  2281. "required": true
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "套保品种id",
  2286. "name": "middlegoodsid",
  2287. "in": "query"
  2288. }
  2289. ],
  2290. "responses": {
  2291. "200": {
  2292. "description": "OK",
  2293. "schema": {
  2294. "type": "array",
  2295. "items": {
  2296. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2297. }
  2298. }
  2299. },
  2300. "500": {
  2301. "description": "Internal Server Error",
  2302. "schema": {
  2303. "$ref": "#/definitions/app.Response"
  2304. }
  2305. }
  2306. }
  2307. }
  2308. },
  2309. "/Ermcp/QueryPendingAuditInfo": {
  2310. "get": {
  2311. "security": [
  2312. {
  2313. "ApiKeyAuth": []
  2314. }
  2315. ],
  2316. "produces": [
  2317. "application/json"
  2318. ],
  2319. "tags": [
  2320. "企业风险管理(app)"
  2321. ],
  2322. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2323. "parameters": [
  2324. {
  2325. "type": "integer",
  2326. "description": "用户ID",
  2327. "name": "UserId",
  2328. "in": "query",
  2329. "required": true
  2330. }
  2331. ],
  2332. "responses": {
  2333. "200": {
  2334. "description": "OK",
  2335. "schema": {
  2336. "type": "array",
  2337. "items": {
  2338. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2339. }
  2340. }
  2341. },
  2342. "500": {
  2343. "description": "Internal Server Error",
  2344. "schema": {
  2345. "$ref": "#/definitions/app.Response"
  2346. }
  2347. }
  2348. }
  2349. }
  2350. },
  2351. "/Ermcp/QueryRealtimeExposure": {
  2352. "get": {
  2353. "security": [
  2354. {
  2355. "ApiKeyAuth": []
  2356. }
  2357. ],
  2358. "produces": [
  2359. "application/json"
  2360. ],
  2361. "tags": [
  2362. "企业风险管理(app)"
  2363. ],
  2364. "summary": "查询实时敞口",
  2365. "parameters": [
  2366. {
  2367. "type": "integer",
  2368. "description": "所属机构ID",
  2369. "name": "userid",
  2370. "in": "query",
  2371. "required": true
  2372. }
  2373. ],
  2374. "responses": {
  2375. "200": {
  2376. "description": "OK",
  2377. "schema": {
  2378. "type": "array",
  2379. "items": {
  2380. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2381. }
  2382. }
  2383. },
  2384. "500": {
  2385. "description": "Internal Server Error",
  2386. "schema": {
  2387. "$ref": "#/definitions/app.Response"
  2388. }
  2389. }
  2390. }
  2391. }
  2392. },
  2393. "/Ermcp/QueryRealtimeExposurePosition": {
  2394. "get": {
  2395. "security": [
  2396. {
  2397. "ApiKeyAuth": []
  2398. }
  2399. ],
  2400. "produces": [
  2401. "application/json"
  2402. ],
  2403. "tags": [
  2404. "企业风险管理(app)"
  2405. ],
  2406. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2407. "parameters": [
  2408. {
  2409. "type": "integer",
  2410. "description": "用户id",
  2411. "name": "userid",
  2412. "in": "query",
  2413. "required": true
  2414. },
  2415. {
  2416. "type": "integer",
  2417. "description": "套保商品ID",
  2418. "name": "middleGoodsId",
  2419. "in": "query",
  2420. "required": true
  2421. }
  2422. ],
  2423. "responses": {
  2424. "200": {
  2425. "description": "OK",
  2426. "schema": {
  2427. "type": "array",
  2428. "items": {
  2429. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2430. }
  2431. }
  2432. },
  2433. "500": {
  2434. "description": "Internal Server Error",
  2435. "schema": {
  2436. "$ref": "#/definitions/app.Response"
  2437. }
  2438. }
  2439. }
  2440. }
  2441. },
  2442. "/Ermcp/QueryTradeConfigTMP": {
  2443. "get": {
  2444. "security": [
  2445. {
  2446. "ApiKeyAuth": []
  2447. }
  2448. ],
  2449. "produces": [
  2450. "application/json"
  2451. ],
  2452. "tags": [
  2453. "企业风险管理(app)"
  2454. ],
  2455. "summary": "查询交易模板配置",
  2456. "parameters": [
  2457. {
  2458. "type": "integer",
  2459. "description": "所属机构id",
  2460. "name": "areauserid",
  2461. "in": "query"
  2462. }
  2463. ],
  2464. "responses": {
  2465. "200": {
  2466. "description": "OK",
  2467. "schema": {
  2468. "type": "array",
  2469. "items": {
  2470. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2471. }
  2472. }
  2473. },
  2474. "500": {
  2475. "description": "Internal Server Error",
  2476. "schema": {
  2477. "$ref": "#/definitions/app.Response"
  2478. }
  2479. }
  2480. }
  2481. }
  2482. },
  2483. "/Ermcp/QueryUserInfo": {
  2484. "get": {
  2485. "security": [
  2486. {
  2487. "ApiKeyAuth": []
  2488. }
  2489. ],
  2490. "produces": [
  2491. "application/json"
  2492. ],
  2493. "tags": [
  2494. "企业风险管理(app)"
  2495. ],
  2496. "summary": "查询客户资料",
  2497. "parameters": [
  2498. {
  2499. "type": "integer",
  2500. "description": "所属机构用户ID",
  2501. "name": "MemberUserID",
  2502. "in": "query",
  2503. "required": true
  2504. },
  2505. {
  2506. "type": "integer",
  2507. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2508. "name": "queryType",
  2509. "in": "query",
  2510. "required": true
  2511. }
  2512. ],
  2513. "responses": {
  2514. "200": {
  2515. "description": "OK",
  2516. "schema": {
  2517. "type": "array",
  2518. "items": {
  2519. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2520. }
  2521. }
  2522. },
  2523. "500": {
  2524. "description": "Internal Server Error",
  2525. "schema": {
  2526. "$ref": "#/definitions/app.Response"
  2527. }
  2528. }
  2529. }
  2530. }
  2531. },
  2532. "/Ermcp/QueryWarehouseInfo": {
  2533. "get": {
  2534. "security": [
  2535. {
  2536. "ApiKeyAuth": []
  2537. }
  2538. ],
  2539. "produces": [
  2540. "application/json"
  2541. ],
  2542. "tags": [
  2543. "企业风险管理(app)"
  2544. ],
  2545. "summary": "查询仓库信息",
  2546. "parameters": [
  2547. {
  2548. "type": "integer",
  2549. "description": "用户ID",
  2550. "name": "userid",
  2551. "in": "query",
  2552. "required": true
  2553. },
  2554. {
  2555. "type": "string",
  2556. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2557. "name": "status",
  2558. "in": "query"
  2559. }
  2560. ],
  2561. "responses": {
  2562. "200": {
  2563. "description": "OK",
  2564. "schema": {
  2565. "type": "array",
  2566. "items": {
  2567. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2568. }
  2569. }
  2570. },
  2571. "500": {
  2572. "description": "Internal Server Error",
  2573. "schema": {
  2574. "$ref": "#/definitions/app.Response"
  2575. }
  2576. }
  2577. }
  2578. }
  2579. },
  2580. "/Ermcp3/QryReckonAreaExpourse": {
  2581. "get": {
  2582. "security": [
  2583. {
  2584. "ApiKeyAuth": []
  2585. }
  2586. ],
  2587. "produces": [
  2588. "application/json"
  2589. ],
  2590. "tags": [
  2591. "企业风险管理v3(app)"
  2592. ],
  2593. "summary": "查询敞口日报表(报表/敞口报表/日报表)",
  2594. "parameters": [
  2595. {
  2596. "type": "integer",
  2597. "description": "用户ID",
  2598. "name": "userid",
  2599. "in": "query",
  2600. "required": true
  2601. },
  2602. {
  2603. "type": "string",
  2604. "description": "交易日(YYYYMMDD)",
  2605. "name": "tradedate",
  2606. "in": "query",
  2607. "required": true
  2608. }
  2609. ],
  2610. "responses": {
  2611. "200": {
  2612. "description": "OK",
  2613. "schema": {
  2614. "type": "array",
  2615. "items": {
  2616. "$ref": "#/definitions/models.Ermcp3ReckonExpourse"
  2617. }
  2618. }
  2619. },
  2620. "500": {
  2621. "description": "Internal Server Error",
  2622. "schema": {
  2623. "$ref": "#/definitions/app.Response"
  2624. }
  2625. }
  2626. }
  2627. }
  2628. },
  2629. "/Ermcp3/QryReportAreaExpourse": {
  2630. "get": {
  2631. "security": [
  2632. {
  2633. "ApiKeyAuth": []
  2634. }
  2635. ],
  2636. "produces": [
  2637. "application/json"
  2638. ],
  2639. "tags": [
  2640. "企业风险管理v3(app)"
  2641. ],
  2642. "summary": "查询敞口周期报表(报表/敞口报表/周(月、季、年)报表)",
  2643. "parameters": [
  2644. {
  2645. "type": "integer",
  2646. "description": "用户ID",
  2647. "name": "userid",
  2648. "in": "query",
  2649. "required": true
  2650. },
  2651. {
  2652. "type": "integer",
  2653. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2654. "name": "cycletype",
  2655. "in": "query",
  2656. "required": true
  2657. },
  2658. {
  2659. "type": "string",
  2660. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2661. "name": "cycletime",
  2662. "in": "query",
  2663. "required": true
  2664. }
  2665. ],
  2666. "responses": {
  2667. "200": {
  2668. "description": "OK",
  2669. "schema": {
  2670. "type": "array",
  2671. "items": {
  2672. "$ref": "#/definitions/models.Ermcp3ReportExpourse"
  2673. }
  2674. }
  2675. },
  2676. "500": {
  2677. "description": "Internal Server Error",
  2678. "schema": {
  2679. "$ref": "#/definitions/app.Response"
  2680. }
  2681. }
  2682. }
  2683. }
  2684. },
  2685. "/Ermcp3/QryReportAreaSpotPL": {
  2686. "get": {
  2687. "security": [
  2688. {
  2689. "ApiKeyAuth": []
  2690. }
  2691. ],
  2692. "produces": [
  2693. "application/json"
  2694. ],
  2695. "tags": [
  2696. "企业风险管理v3(app)"
  2697. ],
  2698. "summary": "查询现货损益报表(现货损益报表)",
  2699. "parameters": [
  2700. {
  2701. "type": "integer",
  2702. "description": "用户ID",
  2703. "name": "userid",
  2704. "in": "query",
  2705. "required": true
  2706. },
  2707. {
  2708. "type": "integer",
  2709. "description": "查询类型 1-日报表 2-月报表",
  2710. "name": "querytype",
  2711. "in": "query",
  2712. "required": true
  2713. },
  2714. {
  2715. "type": "string",
  2716. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2717. "name": "querydate",
  2718. "in": "query",
  2719. "required": true
  2720. },
  2721. {
  2722. "type": "integer",
  2723. "description": "现货商品ID",
  2724. "name": "deliverygoodsid",
  2725. "in": "query"
  2726. },
  2727. {
  2728. "type": "integer",
  2729. "description": "品牌ID",
  2730. "name": "spotgoodsbrandid",
  2731. "in": "query"
  2732. },
  2733. {
  2734. "type": "integer",
  2735. "description": "品类ID",
  2736. "name": "wrstandardid",
  2737. "in": "query"
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "OK",
  2743. "schema": {
  2744. "type": "array",
  2745. "items": {
  2746. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  2747. }
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp3/QryReportDayFinanceFp": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理v3(app)"
  2771. ],
  2772. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "用户ID",
  2777. "name": "userid",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "string",
  2783. "description": "交易日(格式:yyyyMMdd)",
  2784. "name": "tradedate",
  2785. "in": "query",
  2786. "required": true
  2787. }
  2788. ],
  2789. "responses": {
  2790. "200": {
  2791. "description": "OK",
  2792. "schema": {
  2793. "type": "array",
  2794. "items": {
  2795. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2796. }
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/Ermcp3/QryReportDayFinanceKx": {
  2809. "get": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "企业风险管理v3(app)"
  2820. ],
  2821. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  2822. "parameters": [
  2823. {
  2824. "type": "integer",
  2825. "description": "用户ID",
  2826. "name": "userid",
  2827. "in": "query",
  2828. "required": true
  2829. },
  2830. {
  2831. "type": "string",
  2832. "description": "交易日(格式:yyyyMMdd)",
  2833. "name": "tradedate",
  2834. "in": "query",
  2835. "required": true
  2836. }
  2837. ],
  2838. "responses": {
  2839. "200": {
  2840. "description": "OK",
  2841. "schema": {
  2842. "type": "array",
  2843. "items": {
  2844. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2845. }
  2846. }
  2847. },
  2848. "500": {
  2849. "description": "Internal Server Error",
  2850. "schema": {
  2851. "$ref": "#/definitions/app.Response"
  2852. }
  2853. }
  2854. }
  2855. }
  2856. },
  2857. "/Ermcp3/QryReportDaySpot": {
  2858. "get": {
  2859. "security": [
  2860. {
  2861. "ApiKeyAuth": []
  2862. }
  2863. ],
  2864. "produces": [
  2865. "application/json"
  2866. ],
  2867. "tags": [
  2868. "企业风险管理v3(app)"
  2869. ],
  2870. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  2871. "parameters": [
  2872. {
  2873. "type": "integer",
  2874. "description": "用户id",
  2875. "name": "userid",
  2876. "in": "query",
  2877. "required": true
  2878. },
  2879. {
  2880. "type": "string",
  2881. "description": "交易日(格式:yyyyMMdd)",
  2882. "name": "reckondate",
  2883. "in": "query",
  2884. "required": true
  2885. },
  2886. {
  2887. "type": "integer",
  2888. "description": "期货账户ID",
  2889. "name": "accountid",
  2890. "in": "query"
  2891. },
  2892. {
  2893. "type": "integer",
  2894. "description": "现货品种ID",
  2895. "name": "deliverygoodsid",
  2896. "in": "query"
  2897. },
  2898. {
  2899. "type": "integer",
  2900. "description": "品类ID",
  2901. "name": "wrstandardid",
  2902. "in": "query"
  2903. },
  2904. {
  2905. "type": "integer",
  2906. "description": "现货品牌ID",
  2907. "name": "spotgoodsbrandid",
  2908. "in": "query"
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "type": "array",
  2916. "items": {
  2917. "$ref": "#/definitions/models.Ermcp3ReckonAreaSpotSub"
  2918. }
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/Ermcp3/QryReportDaySpotDetail": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "企业风险管理v3(app)"
  2942. ],
  2943. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "用户ID",
  2948. "name": "userid",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "integer",
  2954. "description": "现货商品id",
  2955. "name": "deliverygoodsid",
  2956. "in": "query",
  2957. "required": true
  2958. },
  2959. {
  2960. "type": "string",
  2961. "description": "交易日(格式:yyyyMMdd)",
  2962. "name": "tradedate",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "品类ID",
  2969. "name": "wrstandardid",
  2970. "in": "query"
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "现货品牌ID",
  2975. "name": "spotgoodsbrandid",
  2976. "in": "query"
  2977. }
  2978. ],
  2979. "responses": {
  2980. "200": {
  2981. "description": "OK",
  2982. "schema": {
  2983. "type": "array",
  2984. "items": {
  2985. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2986. }
  2987. }
  2988. },
  2989. "500": {
  2990. "description": "Internal Server Error",
  2991. "schema": {
  2992. "$ref": "#/definitions/app.Response"
  2993. }
  2994. }
  2995. }
  2996. }
  2997. },
  2998. "/Ermcp3/QryReportMonthSpot": {
  2999. "get": {
  3000. "security": [
  3001. {
  3002. "ApiKeyAuth": []
  3003. }
  3004. ],
  3005. "produces": [
  3006. "application/json"
  3007. ],
  3008. "tags": [
  3009. "企业风险管理v3(app)"
  3010. ],
  3011. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  3012. "parameters": [
  3013. {
  3014. "type": "integer",
  3015. "description": "用户id",
  3016. "name": "userid",
  3017. "in": "query",
  3018. "required": true
  3019. },
  3020. {
  3021. "type": "integer",
  3022. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3023. "name": "cycletype",
  3024. "in": "query",
  3025. "required": true
  3026. },
  3027. {
  3028. "type": "string",
  3029. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  3030. "name": "cycletime",
  3031. "in": "query",
  3032. "required": true
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "期货账户ID",
  3037. "name": "accountid",
  3038. "in": "query"
  3039. },
  3040. {
  3041. "type": "integer",
  3042. "description": "现货品种ID",
  3043. "name": "deliverygoodsid",
  3044. "in": "query"
  3045. },
  3046. {
  3047. "type": "integer",
  3048. "description": "品类ID",
  3049. "name": "wrstandardid",
  3050. "in": "query"
  3051. },
  3052. {
  3053. "type": "integer",
  3054. "description": "现货品牌ID",
  3055. "name": "spotgoodsbrandid",
  3056. "in": "query"
  3057. }
  3058. ],
  3059. "responses": {
  3060. "200": {
  3061. "description": "OK",
  3062. "schema": {
  3063. "type": "array",
  3064. "items": {
  3065. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  3066. }
  3067. }
  3068. },
  3069. "500": {
  3070. "description": "Internal Server Error",
  3071. "schema": {
  3072. "$ref": "#/definitions/app.Response"
  3073. }
  3074. }
  3075. }
  3076. }
  3077. },
  3078. "/Ermcp3/QryReportMonthSpotDetail": {
  3079. "get": {
  3080. "security": [
  3081. {
  3082. "ApiKeyAuth": []
  3083. }
  3084. ],
  3085. "produces": [
  3086. "application/json"
  3087. ],
  3088. "tags": [
  3089. "企业风险管理v3(app)"
  3090. ],
  3091. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  3092. "parameters": [
  3093. {
  3094. "type": "integer",
  3095. "description": "用户id",
  3096. "name": "userid",
  3097. "in": "query",
  3098. "required": true
  3099. },
  3100. {
  3101. "type": "integer",
  3102. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3103. "name": "cycletype",
  3104. "in": "query",
  3105. "required": true
  3106. },
  3107. {
  3108. "type": "string",
  3109. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  3110. "name": "cycletime",
  3111. "in": "query",
  3112. "required": true
  3113. },
  3114. {
  3115. "type": "integer",
  3116. "description": "期货账户ID",
  3117. "name": "accountid",
  3118. "in": "query"
  3119. },
  3120. {
  3121. "type": "integer",
  3122. "description": "现货品种ID",
  3123. "name": "deliverygoodsid",
  3124. "in": "query"
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "品类ID",
  3129. "name": "wrstandardid",
  3130. "in": "query"
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "现货品牌ID",
  3135. "name": "spotgoodsbrandid",
  3136. "in": "query"
  3137. }
  3138. ],
  3139. "responses": {
  3140. "200": {
  3141. "description": "OK",
  3142. "schema": {
  3143. "type": "array",
  3144. "items": {
  3145. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  3146. }
  3147. }
  3148. },
  3149. "500": {
  3150. "description": "Internal Server Error",
  3151. "schema": {
  3152. "$ref": "#/definitions/app.Response"
  3153. }
  3154. }
  3155. }
  3156. }
  3157. },
  3158. "/Ermcp3/QueryAreaStock": {
  3159. "get": {
  3160. "security": [
  3161. {
  3162. "ApiKeyAuth": []
  3163. }
  3164. ],
  3165. "produces": [
  3166. "application/json"
  3167. ],
  3168. "tags": [
  3169. "企业风险管理v3(app)"
  3170. ],
  3171. "summary": "查询机构库存(库存管理/当前库存)",
  3172. "parameters": [
  3173. {
  3174. "type": "integer",
  3175. "description": "用户ID",
  3176. "name": "userid",
  3177. "in": "query",
  3178. "required": true
  3179. }
  3180. ],
  3181. "responses": {
  3182. "200": {
  3183. "description": "OK",
  3184. "schema": {
  3185. "type": "array",
  3186. "items": {
  3187. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3188. }
  3189. }
  3190. },
  3191. "500": {
  3192. "description": "Internal Server Error",
  3193. "schema": {
  3194. "$ref": "#/definitions/app.Response"
  3195. }
  3196. }
  3197. }
  3198. }
  3199. },
  3200. "/Ermcp3/QueryAreaStockApply": {
  3201. "get": {
  3202. "security": [
  3203. {
  3204. "ApiKeyAuth": []
  3205. }
  3206. ],
  3207. "produces": [
  3208. "application/json"
  3209. ],
  3210. "tags": [
  3211. "企业风险管理v3(app)"
  3212. ],
  3213. "summary": "查询库存申请(出入库记录|库存审核)",
  3214. "parameters": [
  3215. {
  3216. "type": "integer",
  3217. "description": "用户ID",
  3218. "name": "userid",
  3219. "in": "query",
  3220. "required": true
  3221. },
  3222. {
  3223. "type": "integer",
  3224. "description": "现货商品ID",
  3225. "name": "deliverygoodsid",
  3226. "in": "query"
  3227. },
  3228. {
  3229. "type": "string",
  3230. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3231. "name": "inouttype",
  3232. "in": "query"
  3233. },
  3234. {
  3235. "type": "integer",
  3236. "description": "合同ID",
  3237. "name": "spotcontractid",
  3238. "in": "query"
  3239. },
  3240. {
  3241. "type": "integer",
  3242. "description": "品类ID",
  3243. "name": "wrstandardid",
  3244. "in": "query"
  3245. },
  3246. {
  3247. "type": "integer",
  3248. "description": "品牌ID",
  3249. "name": "spotgoodsbrandid",
  3250. "in": "query"
  3251. },
  3252. {
  3253. "type": "integer",
  3254. "description": "仓库ID",
  3255. "name": "warehouseinfoid",
  3256. "in": "query"
  3257. },
  3258. {
  3259. "type": "string",
  3260. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3261. "name": "applystatus",
  3262. "in": "query"
  3263. }
  3264. ],
  3265. "responses": {
  3266. "200": {
  3267. "description": "OK",
  3268. "schema": {
  3269. "type": "array",
  3270. "items": {
  3271. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3272. }
  3273. }
  3274. },
  3275. "500": {
  3276. "description": "Internal Server Error",
  3277. "schema": {
  3278. "$ref": "#/definitions/app.Response"
  3279. }
  3280. }
  3281. }
  3282. }
  3283. },
  3284. "/Ermcp3/QueryAreaStockApplySum": {
  3285. "get": {
  3286. "security": [
  3287. {
  3288. "ApiKeyAuth": []
  3289. }
  3290. ],
  3291. "produces": [
  3292. "application/json"
  3293. ],
  3294. "tags": [
  3295. "企业风险管理v3(app)"
  3296. ],
  3297. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3298. "parameters": [
  3299. {
  3300. "type": "integer",
  3301. "description": "合同ID",
  3302. "name": "spotcontractid",
  3303. "in": "query"
  3304. }
  3305. ],
  3306. "responses": {
  3307. "200": {
  3308. "description": "OK",
  3309. "schema": {
  3310. "type": "array",
  3311. "items": {
  3312. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3313. }
  3314. }
  3315. },
  3316. "500": {
  3317. "description": "Internal Server Error",
  3318. "schema": {
  3319. "$ref": "#/definitions/app.Response"
  3320. }
  3321. }
  3322. }
  3323. }
  3324. },
  3325. "/Ermcp3/QueryAreaStockReport": {
  3326. "get": {
  3327. "security": [
  3328. {
  3329. "ApiKeyAuth": []
  3330. }
  3331. ],
  3332. "produces": [
  3333. "application/json"
  3334. ],
  3335. "tags": [
  3336. "企业风险管理v3(app)"
  3337. ],
  3338. "summary": "查询库存报表",
  3339. "parameters": [
  3340. {
  3341. "type": "integer",
  3342. "description": "用户ID",
  3343. "name": "userid",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "integer",
  3349. "description": "查询类型 1-日报表 2-月报表",
  3350. "name": "querytype",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "string",
  3356. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  3357. "name": "querydate",
  3358. "in": "query",
  3359. "required": true
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "现货商品ID",
  3364. "name": "deliverygoodsid",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "品类ID",
  3370. "name": "wrstandardid",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "品牌ID",
  3376. "name": "spotgoodsbrandid",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": "仓库ID",
  3382. "name": "warehouseinfoid",
  3383. "in": "query"
  3384. }
  3385. ],
  3386. "responses": {
  3387. "200": {
  3388. "description": "OK",
  3389. "schema": {
  3390. "type": "array",
  3391. "items": {
  3392. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  3393. }
  3394. }
  3395. },
  3396. "500": {
  3397. "description": "Internal Server Error",
  3398. "schema": {
  3399. "$ref": "#/definitions/app.Response"
  3400. }
  3401. }
  3402. }
  3403. }
  3404. },
  3405. "/Ermcp3/QueryAreaStockReportDetail": {
  3406. "get": {
  3407. "security": [
  3408. {
  3409. "ApiKeyAuth": []
  3410. }
  3411. ],
  3412. "produces": [
  3413. "application/json"
  3414. ],
  3415. "tags": [
  3416. "企业风险管理v3(app)"
  3417. ],
  3418. "summary": "查询库存报表明细",
  3419. "parameters": [
  3420. {
  3421. "type": "integer",
  3422. "description": "用户ID",
  3423. "name": "userid",
  3424. "in": "query",
  3425. "required": true
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "查询类型 1-日报表明细 2-月报表明细",
  3430. "name": "querytype",
  3431. "in": "query",
  3432. "required": true
  3433. },
  3434. {
  3435. "type": "integer",
  3436. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  3437. "name": "detailtype",
  3438. "in": "query",
  3439. "required": true
  3440. },
  3441. {
  3442. "type": "string",
  3443. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  3444. "name": "querydate",
  3445. "in": "query",
  3446. "required": true
  3447. },
  3448. {
  3449. "type": "integer",
  3450. "description": "现货商品ID",
  3451. "name": "deliverygoodsid",
  3452. "in": "query"
  3453. },
  3454. {
  3455. "type": "integer",
  3456. "description": "品类ID",
  3457. "name": "wrstandardid",
  3458. "in": "query"
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "品牌ID",
  3463. "name": "spotgoodsbrandid",
  3464. "in": "query"
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "仓库ID",
  3469. "name": "warehouseinfoid",
  3470. "in": "query"
  3471. }
  3472. ],
  3473. "responses": {
  3474. "200": {
  3475. "description": "OK",
  3476. "schema": {
  3477. "type": "array",
  3478. "items": {
  3479. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3480. }
  3481. }
  3482. },
  3483. "500": {
  3484. "description": "Internal Server Error",
  3485. "schema": {
  3486. "$ref": "#/definitions/app.Response"
  3487. }
  3488. }
  3489. }
  3490. }
  3491. },
  3492. "/Ermcp3/QueryDGFactoryItem": {
  3493. "get": {
  3494. "security": [
  3495. {
  3496. "ApiKeyAuth": []
  3497. }
  3498. ],
  3499. "produces": [
  3500. "application/json"
  3501. ],
  3502. "tags": [
  3503. "企业风险管理v3(app)"
  3504. ],
  3505. "summary": "查询品种要素定义项",
  3506. "parameters": [
  3507. {
  3508. "type": "integer",
  3509. "description": "用户id",
  3510. "name": "userid",
  3511. "in": "query"
  3512. },
  3513. {
  3514. "type": "integer",
  3515. "description": "用户类型 2-机构 7-企业成员",
  3516. "name": "usertype",
  3517. "in": "query"
  3518. },
  3519. {
  3520. "type": "integer",
  3521. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3522. "name": "dgfactoryitemid",
  3523. "in": "query"
  3524. },
  3525. {
  3526. "type": "integer",
  3527. "description": "现货品种ID",
  3528. "name": "deliverygoodsid",
  3529. "in": "query"
  3530. },
  3531. {
  3532. "type": "integer",
  3533. "description": "要素项类型",
  3534. "name": "dgfactoryitemtypeid",
  3535. "in": "query"
  3536. },
  3537. {
  3538. "type": "integer",
  3539. "description": "顺序",
  3540. "name": "orderindex",
  3541. "in": "query"
  3542. }
  3543. ],
  3544. "responses": {
  3545. "200": {
  3546. "description": "OK",
  3547. "schema": {
  3548. "type": "array",
  3549. "items": {
  3550. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3551. }
  3552. }
  3553. },
  3554. "500": {
  3555. "description": "Internal Server Error",
  3556. "schema": {
  3557. "$ref": "#/definitions/app.Response"
  3558. }
  3559. }
  3560. }
  3561. }
  3562. },
  3563. "/Ermcp3/QueryDeliveryGoods": {
  3564. "get": {
  3565. "security": [
  3566. {
  3567. "ApiKeyAuth": []
  3568. }
  3569. ],
  3570. "produces": [
  3571. "application/json"
  3572. ],
  3573. "tags": [
  3574. "企业风险管理v3(app)"
  3575. ],
  3576. "summary": "查询现货商品",
  3577. "parameters": [
  3578. {
  3579. "type": "integer",
  3580. "description": "用户id",
  3581. "name": "userid",
  3582. "in": "query",
  3583. "required": true
  3584. },
  3585. {
  3586. "type": "integer",
  3587. "description": "用户类型 2-机构 7-企业成员",
  3588. "name": "usertype",
  3589. "in": "query"
  3590. },
  3591. {
  3592. "type": "integer",
  3593. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3594. "name": "excludecfg",
  3595. "in": "query"
  3596. }
  3597. ],
  3598. "responses": {
  3599. "200": {
  3600. "description": "OK",
  3601. "schema": {
  3602. "type": "array",
  3603. "items": {
  3604. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3605. }
  3606. }
  3607. },
  3608. "500": {
  3609. "description": "Internal Server Error",
  3610. "schema": {
  3611. "$ref": "#/definitions/app.Response"
  3612. }
  3613. }
  3614. }
  3615. }
  3616. },
  3617. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3618. "get": {
  3619. "security": [
  3620. {
  3621. "ApiKeyAuth": []
  3622. }
  3623. ],
  3624. "produces": [
  3625. "application/json"
  3626. ],
  3627. "tags": [
  3628. "企业风险管理v3(app)"
  3629. ],
  3630. "summary": "查询现货商品详情",
  3631. "parameters": [
  3632. {
  3633. "type": "integer",
  3634. "description": "用户id",
  3635. "name": "userid",
  3636. "in": "query",
  3637. "required": true
  3638. },
  3639. {
  3640. "type": "integer",
  3641. "description": "用户类型 2-机构 7-企业成员",
  3642. "name": "usertype",
  3643. "in": "query"
  3644. },
  3645. {
  3646. "type": "integer",
  3647. "description": "现货商品id",
  3648. "name": "deliverygoodsid",
  3649. "in": "query"
  3650. }
  3651. ],
  3652. "responses": {
  3653. "200": {
  3654. "description": "OK",
  3655. "schema": {
  3656. "type": "array",
  3657. "items": {
  3658. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3659. }
  3660. }
  3661. },
  3662. "500": {
  3663. "description": "Internal Server Error",
  3664. "schema": {
  3665. "$ref": "#/definitions/app.Response"
  3666. }
  3667. }
  3668. }
  3669. }
  3670. },
  3671. "/Ermcp3/QueryExposureDetail": {
  3672. "get": {
  3673. "security": [
  3674. {
  3675. "ApiKeyAuth": []
  3676. }
  3677. ],
  3678. "produces": [
  3679. "application/json"
  3680. ],
  3681. "tags": [
  3682. "企业风险管理v3(app)"
  3683. ],
  3684. "summary": "查询敞口现货明细",
  3685. "parameters": [
  3686. {
  3687. "type": "integer",
  3688. "description": "用户id",
  3689. "name": "userid",
  3690. "in": "query",
  3691. "required": true
  3692. },
  3693. {
  3694. "type": "integer",
  3695. "description": "用户类型 2-机构 7-企业成员",
  3696. "name": "usertype",
  3697. "in": "query"
  3698. },
  3699. {
  3700. "type": "integer",
  3701. "description": "套保商品",
  3702. "name": "middlegoodsid",
  3703. "in": "query",
  3704. "required": true
  3705. }
  3706. ],
  3707. "responses": {
  3708. "200": {
  3709. "description": "OK",
  3710. "schema": {
  3711. "type": "array",
  3712. "items": {
  3713. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3714. }
  3715. }
  3716. },
  3717. "500": {
  3718. "description": "Internal Server Error",
  3719. "schema": {
  3720. "$ref": "#/definitions/app.Response"
  3721. }
  3722. }
  3723. }
  3724. }
  3725. },
  3726. "/Ermcp3/QueryExposureSpot": {
  3727. "get": {
  3728. "security": [
  3729. {
  3730. "ApiKeyAuth": []
  3731. }
  3732. ],
  3733. "produces": [
  3734. "application/json"
  3735. ],
  3736. "tags": [
  3737. "企业风险管理v3(app)"
  3738. ],
  3739. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3740. "parameters": [
  3741. {
  3742. "type": "integer",
  3743. "description": "用户id",
  3744. "name": "userid",
  3745. "in": "query",
  3746. "required": true
  3747. },
  3748. {
  3749. "type": "integer",
  3750. "description": "用户类型 2-机构 7-企业成员",
  3751. "name": "usertype",
  3752. "in": "query"
  3753. }
  3754. ],
  3755. "responses": {
  3756. "200": {
  3757. "description": "OK",
  3758. "schema": {
  3759. "type": "array",
  3760. "items": {
  3761. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3762. }
  3763. }
  3764. },
  3765. "500": {
  3766. "description": "Internal Server Error",
  3767. "schema": {
  3768. "$ref": "#/definitions/app.Response"
  3769. }
  3770. }
  3771. }
  3772. }
  3773. },
  3774. "/Ermcp3/QueryExposureSpotDetail": {
  3775. "get": {
  3776. "security": [
  3777. {
  3778. "ApiKeyAuth": []
  3779. }
  3780. ],
  3781. "produces": [
  3782. "application/json"
  3783. ],
  3784. "tags": [
  3785. "企业风险管理v3(app)"
  3786. ],
  3787. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3788. "parameters": [
  3789. {
  3790. "type": "integer",
  3791. "description": "用户id",
  3792. "name": "userid",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "用户类型 2-机构 7-企业成员",
  3799. "name": "usertype",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "现货品种ID",
  3805. "name": "deliverygoodsid",
  3806. "in": "query",
  3807. "required": true
  3808. }
  3809. ],
  3810. "responses": {
  3811. "200": {
  3812. "description": "OK",
  3813. "schema": {
  3814. "type": "array",
  3815. "items": {
  3816. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3817. }
  3818. }
  3819. },
  3820. "500": {
  3821. "description": "Internal Server Error",
  3822. "schema": {
  3823. "$ref": "#/definitions/app.Response"
  3824. }
  3825. }
  3826. }
  3827. }
  3828. },
  3829. "/Ermcp3/QueryGoodsGroup": {
  3830. "get": {
  3831. "security": [
  3832. {
  3833. "ApiKeyAuth": []
  3834. }
  3835. ],
  3836. "produces": [
  3837. "application/json"
  3838. ],
  3839. "tags": [
  3840. "企业风险管理v3(app)"
  3841. ],
  3842. "summary": "查询期货商品组",
  3843. "parameters": [
  3844. {
  3845. "type": "integer",
  3846. "description": "用户id",
  3847. "name": "userid",
  3848. "in": "query",
  3849. "required": true
  3850. },
  3851. {
  3852. "type": "integer",
  3853. "description": "用户类型 2-机构 7-企业成员",
  3854. "name": "usertype",
  3855. "in": "query"
  3856. },
  3857. {
  3858. "type": "integer",
  3859. "description": "排除套保品中已关联的商品组 1-排除",
  3860. "name": "excludecfg",
  3861. "in": "query"
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "type": "array",
  3869. "items": {
  3870. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3871. }
  3872. }
  3873. },
  3874. "500": {
  3875. "description": "Internal Server Error",
  3876. "schema": {
  3877. "$ref": "#/definitions/app.Response"
  3878. }
  3879. }
  3880. }
  3881. }
  3882. },
  3883. "/Ermcp3/QueryGoodsWrstandard": {
  3884. "get": {
  3885. "security": [
  3886. {
  3887. "ApiKeyAuth": []
  3888. }
  3889. ],
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "企业风险管理v3(app)"
  3895. ],
  3896. "summary": "查询商品品类",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "用户id",
  3901. "name": "userid",
  3902. "in": "query",
  3903. "required": true
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "用户类型 2-机构 7-企业成员",
  3908. "name": "usertype",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "现货商品id",
  3914. "name": "deliverygoodsid",
  3915. "in": "query"
  3916. }
  3917. ],
  3918. "responses": {
  3919. "200": {
  3920. "description": "OK",
  3921. "schema": {
  3922. "type": "array",
  3923. "items": {
  3924. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3925. }
  3926. }
  3927. },
  3928. "500": {
  3929. "description": "Internal Server Error",
  3930. "schema": {
  3931. "$ref": "#/definitions/app.Response"
  3932. }
  3933. }
  3934. }
  3935. }
  3936. },
  3937. "/Ermcp3/QueryGoodsbrand": {
  3938. "get": {
  3939. "security": [
  3940. {
  3941. "ApiKeyAuth": []
  3942. }
  3943. ],
  3944. "produces": [
  3945. "application/json"
  3946. ],
  3947. "tags": [
  3948. "企业风险管理v3(app)"
  3949. ],
  3950. "summary": "查询商品品牌",
  3951. "parameters": [
  3952. {
  3953. "type": "integer",
  3954. "description": "用户id",
  3955. "name": "userid",
  3956. "in": "query",
  3957. "required": true
  3958. },
  3959. {
  3960. "type": "integer",
  3961. "description": "用户类型 2-机构 7-企业成员",
  3962. "name": "usertype",
  3963. "in": "query"
  3964. }
  3965. ],
  3966. "responses": {
  3967. "200": {
  3968. "description": "OK",
  3969. "schema": {
  3970. "type": "array",
  3971. "items": {
  3972. "$ref": "#/definitions/models.Ermcp3Brand"
  3973. }
  3974. }
  3975. },
  3976. "500": {
  3977. "description": "Internal Server Error",
  3978. "schema": {
  3979. "$ref": "#/definitions/app.Response"
  3980. }
  3981. }
  3982. }
  3983. }
  3984. },
  3985. "/Ermcp3/QueryHedgePlan": {
  3986. "get": {
  3987. "security": [
  3988. {
  3989. "ApiKeyAuth": []
  3990. }
  3991. ],
  3992. "produces": [
  3993. "application/json"
  3994. ],
  3995. "tags": [
  3996. "企业风险管理v3(app)"
  3997. ],
  3998. "summary": "查询套保计划",
  3999. "parameters": [
  4000. {
  4001. "type": "integer",
  4002. "description": "用户ID",
  4003. "name": "userid",
  4004. "in": "query",
  4005. "required": true
  4006. },
  4007. {
  4008. "type": "integer",
  4009. "description": "用户类型 2-机构 7-企业成员",
  4010. "name": "usertype",
  4011. "in": "query"
  4012. },
  4013. {
  4014. "type": "string",
  4015. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4016. "name": "hedgeplanstatus",
  4017. "in": "query",
  4018. "required": true
  4019. }
  4020. ],
  4021. "responses": {
  4022. "200": {
  4023. "description": "OK",
  4024. "schema": {
  4025. "type": "array",
  4026. "items": {
  4027. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4028. }
  4029. }
  4030. },
  4031. "500": {
  4032. "description": "Internal Server Error",
  4033. "schema": {
  4034. "$ref": "#/definitions/app.Response"
  4035. }
  4036. }
  4037. }
  4038. }
  4039. },
  4040. "/Ermcp3/QueryMiddleGoodsDetail": {
  4041. "get": {
  4042. "security": [
  4043. {
  4044. "ApiKeyAuth": []
  4045. }
  4046. ],
  4047. "produces": [
  4048. "application/json"
  4049. ],
  4050. "tags": [
  4051. "企业风险管理v3(app)"
  4052. ],
  4053. "summary": "查询套保品种详情(套保品种/商品详情)",
  4054. "parameters": [
  4055. {
  4056. "type": "integer",
  4057. "description": "用户id",
  4058. "name": "userid",
  4059. "in": "query",
  4060. "required": true
  4061. },
  4062. {
  4063. "type": "integer",
  4064. "description": "用户类型 2-机构 7-企业成员",
  4065. "name": "usertype",
  4066. "in": "query"
  4067. },
  4068. {
  4069. "type": "integer",
  4070. "description": "套保品种id",
  4071. "name": "middlegoodsid",
  4072. "in": "query"
  4073. }
  4074. ],
  4075. "responses": {
  4076. "200": {
  4077. "description": "OK",
  4078. "schema": {
  4079. "type": "array",
  4080. "items": {
  4081. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4082. }
  4083. }
  4084. },
  4085. "500": {
  4086. "description": "Internal Server Error",
  4087. "schema": {
  4088. "$ref": "#/definitions/app.Response"
  4089. }
  4090. }
  4091. }
  4092. }
  4093. },
  4094. "/Ermcp3/QuerySpotContract": {
  4095. "get": {
  4096. "security": [
  4097. {
  4098. "ApiKeyAuth": []
  4099. }
  4100. ],
  4101. "produces": [
  4102. "application/json"
  4103. ],
  4104. "tags": [
  4105. "企业风险管理v3(app)"
  4106. ],
  4107. "summary": "查询现货合同",
  4108. "parameters": [
  4109. {
  4110. "type": "integer",
  4111. "description": "用户id",
  4112. "name": "userid",
  4113. "in": "query",
  4114. "required": true
  4115. },
  4116. {
  4117. "type": "integer",
  4118. "description": "用户类型 2-机构 7-企业成员",
  4119. "name": "usertype",
  4120. "in": "query"
  4121. },
  4122. {
  4123. "type": "integer",
  4124. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4125. "name": "querytype",
  4126. "in": "query",
  4127. "required": true
  4128. },
  4129. {
  4130. "type": "string",
  4131. "description": "合同ID(SpotContractId)",
  4132. "name": "contractid",
  4133. "in": "query"
  4134. }
  4135. ],
  4136. "responses": {
  4137. "200": {
  4138. "description": "OK",
  4139. "schema": {
  4140. "type": "array",
  4141. "items": {
  4142. "$ref": "#/definitions/models.Ermcp3Contract"
  4143. }
  4144. }
  4145. },
  4146. "500": {
  4147. "description": "Internal Server Error",
  4148. "schema": {
  4149. "$ref": "#/definitions/app.Response"
  4150. }
  4151. }
  4152. }
  4153. }
  4154. },
  4155. "/Ermcp3/QuerySpotContractBS": {
  4156. "get": {
  4157. "security": [
  4158. {
  4159. "ApiKeyAuth": []
  4160. }
  4161. ],
  4162. "produces": [
  4163. "application/json"
  4164. ],
  4165. "tags": [
  4166. "企业风险管理v3(app)"
  4167. ],
  4168. "summary": "查询合同(采购/销售)",
  4169. "parameters": [
  4170. {
  4171. "type": "integer",
  4172. "description": "用户id",
  4173. "name": "userid",
  4174. "in": "query",
  4175. "required": true
  4176. },
  4177. {
  4178. "type": "integer",
  4179. "description": "用户类型 2-机构 7-企业成员",
  4180. "name": "usertype",
  4181. "in": "query"
  4182. },
  4183. {
  4184. "type": "integer",
  4185. "description": "合同类型 1-采购, -1-销售",
  4186. "name": "contracttype",
  4187. "in": "query",
  4188. "required": true
  4189. },
  4190. {
  4191. "type": "integer",
  4192. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4193. "name": "querytype",
  4194. "in": "query",
  4195. "required": true
  4196. },
  4197. {
  4198. "type": "string",
  4199. "description": "合同ID(SpotContractId)",
  4200. "name": "contractid",
  4201. "in": "query"
  4202. }
  4203. ],
  4204. "responses": {
  4205. "200": {
  4206. "description": "OK",
  4207. "schema": {
  4208. "type": "array",
  4209. "items": {
  4210. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4211. }
  4212. }
  4213. },
  4214. "500": {
  4215. "description": "Internal Server Error",
  4216. "schema": {
  4217. "$ref": "#/definitions/app.Response"
  4218. }
  4219. }
  4220. }
  4221. }
  4222. },
  4223. "/Ermcp3/QuerySpotGoodsPrice": {
  4224. "get": {
  4225. "security": [
  4226. {
  4227. "ApiKeyAuth": []
  4228. }
  4229. ],
  4230. "produces": [
  4231. "application/json"
  4232. ],
  4233. "tags": [
  4234. "企业风险管理v3(app)"
  4235. ],
  4236. "summary": "查询现货市价(现货市价)",
  4237. "parameters": [
  4238. {
  4239. "type": "integer",
  4240. "description": "用户ID",
  4241. "name": "userid",
  4242. "in": "query",
  4243. "required": true
  4244. }
  4245. ],
  4246. "responses": {
  4247. "200": {
  4248. "description": "OK",
  4249. "schema": {
  4250. "type": "array",
  4251. "items": {
  4252. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4253. }
  4254. }
  4255. },
  4256. "500": {
  4257. "description": "Internal Server Error",
  4258. "schema": {
  4259. "$ref": "#/definitions/app.Response"
  4260. }
  4261. }
  4262. }
  4263. }
  4264. },
  4265. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4266. "get": {
  4267. "security": [
  4268. {
  4269. "ApiKeyAuth": []
  4270. }
  4271. ],
  4272. "produces": [
  4273. "application/json"
  4274. ],
  4275. "tags": [
  4276. "企业风险管理v3(app)"
  4277. ],
  4278. "summary": "查询现货市价详情(现货市价/详情)",
  4279. "parameters": [
  4280. {
  4281. "type": "integer",
  4282. "description": "用户ID",
  4283. "name": "userid",
  4284. "in": "query",
  4285. "required": true
  4286. },
  4287. {
  4288. "type": "integer",
  4289. "description": "现货商品ID",
  4290. "name": "deliverygoodsid",
  4291. "in": "query",
  4292. "required": true
  4293. },
  4294. {
  4295. "type": "integer",
  4296. "description": "品牌ID",
  4297. "name": "brandid",
  4298. "in": "query"
  4299. },
  4300. {
  4301. "type": "integer",
  4302. "description": "品类ID",
  4303. "name": "wrstandardid",
  4304. "in": "query"
  4305. }
  4306. ],
  4307. "responses": {
  4308. "200": {
  4309. "description": "OK",
  4310. "schema": {
  4311. "type": "array",
  4312. "items": {
  4313. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4314. }
  4315. }
  4316. },
  4317. "500": {
  4318. "description": "Internal Server Error",
  4319. "schema": {
  4320. "$ref": "#/definitions/app.Response"
  4321. }
  4322. }
  4323. }
  4324. }
  4325. },
  4326. "/Erms2/QueryArbitrageStrategy": {
  4327. "get": {
  4328. "security": [
  4329. {
  4330. "ApiKeyAuth": []
  4331. }
  4332. ],
  4333. "produces": [
  4334. "application/json"
  4335. ],
  4336. "tags": [
  4337. "风险管理"
  4338. ],
  4339. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4340. "parameters": [
  4341. {
  4342. "type": "integer",
  4343. "description": "账户ID",
  4344. "name": "userid",
  4345. "in": "query",
  4346. "required": true
  4347. },
  4348. {
  4349. "type": "string",
  4350. "description": "商品组ID(品种ID)",
  4351. "name": "goodsgroupid",
  4352. "in": "query"
  4353. }
  4354. ],
  4355. "responses": {
  4356. "200": {
  4357. "description": "OK",
  4358. "schema": {
  4359. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4360. }
  4361. },
  4362. "500": {
  4363. "description": "Internal Server Error",
  4364. "schema": {
  4365. "$ref": "#/definitions/app.Response"
  4366. }
  4367. }
  4368. }
  4369. }
  4370. },
  4371. "/Erms2/QueryInnerTradeDetail": {
  4372. "get": {
  4373. "security": [
  4374. {
  4375. "ApiKeyAuth": []
  4376. }
  4377. ],
  4378. "produces": [
  4379. "application/json"
  4380. ],
  4381. "tags": [
  4382. "风险管理"
  4383. ],
  4384. "summary": "查询内部成交单信息",
  4385. "parameters": [
  4386. {
  4387. "type": "integer",
  4388. "description": "资金账户",
  4389. "name": "accountid",
  4390. "in": "query",
  4391. "required": true
  4392. }
  4393. ],
  4394. "responses": {
  4395. "200": {
  4396. "description": "OK",
  4397. "schema": {
  4398. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4399. }
  4400. },
  4401. "500": {
  4402. "description": "Internal Server Error",
  4403. "schema": {
  4404. "$ref": "#/definitions/app.Response"
  4405. }
  4406. }
  4407. }
  4408. }
  4409. },
  4410. "/Erms2/QuerySpotContract": {
  4411. "get": {
  4412. "security": [
  4413. {
  4414. "ApiKeyAuth": []
  4415. }
  4416. ],
  4417. "produces": [
  4418. "application/json"
  4419. ],
  4420. "tags": [
  4421. "风险管理"
  4422. ],
  4423. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4424. "parameters": [
  4425. {
  4426. "type": "integer",
  4427. "description": "策略申请ID",
  4428. "name": "asapplyid",
  4429. "in": "query",
  4430. "required": true
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "现货合同ID",
  4435. "name": "spotcontractid",
  4436. "in": "query"
  4437. }
  4438. ],
  4439. "responses": {
  4440. "200": {
  4441. "description": "OK",
  4442. "schema": {
  4443. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4444. }
  4445. },
  4446. "500": {
  4447. "description": "Internal Server Error",
  4448. "schema": {
  4449. "$ref": "#/definitions/app.Response"
  4450. }
  4451. }
  4452. }
  4453. }
  4454. },
  4455. "/Erms3/AddErms2ASApply": {
  4456. "post": {
  4457. "security": [
  4458. {
  4459. "ApiKeyAuth": []
  4460. }
  4461. ],
  4462. "produces": [
  4463. "application/json"
  4464. ],
  4465. "tags": [
  4466. "风险管理v3"
  4467. ],
  4468. "summary": "新增期现套利业务申请",
  4469. "parameters": [
  4470. {
  4471. "description": "申请参数",
  4472. "name": "jsonBody",
  4473. "in": "body",
  4474. "required": true,
  4475. "schema": {
  4476. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4477. }
  4478. }
  4479. ],
  4480. "responses": {
  4481. "200": {
  4482. "description": "OK",
  4483. "schema": {
  4484. "$ref": "#/definitions/app.Response"
  4485. }
  4486. },
  4487. "500": {
  4488. "description": "Internal Server Error",
  4489. "schema": {
  4490. "$ref": "#/definitions/app.Response"
  4491. }
  4492. }
  4493. }
  4494. }
  4495. },
  4496. "/Erms3/AddErms2SpotTradeApply": {
  4497. "post": {
  4498. "security": [
  4499. {
  4500. "ApiKeyAuth": []
  4501. }
  4502. ],
  4503. "produces": [
  4504. "application/json"
  4505. ],
  4506. "tags": [
  4507. "风险管理v3"
  4508. ],
  4509. "summary": "新增现货贸易业务申请",
  4510. "parameters": [
  4511. {
  4512. "description": "申请参数",
  4513. "name": "jsonBody",
  4514. "in": "body",
  4515. "required": true,
  4516. "schema": {
  4517. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4518. }
  4519. }
  4520. ],
  4521. "responses": {
  4522. "200": {
  4523. "description": "OK",
  4524. "schema": {
  4525. "$ref": "#/definitions/app.Response"
  4526. }
  4527. },
  4528. "500": {
  4529. "description": "Internal Server Error",
  4530. "schema": {
  4531. "$ref": "#/definitions/app.Response"
  4532. }
  4533. }
  4534. }
  4535. }
  4536. },
  4537. "/Erms3/AddSpotContractApply": {
  4538. "post": {
  4539. "security": [
  4540. {
  4541. "ApiKeyAuth": []
  4542. }
  4543. ],
  4544. "produces": [
  4545. "application/json"
  4546. ],
  4547. "tags": [
  4548. "风险管理v3"
  4549. ],
  4550. "summary": "新增现货合同申请",
  4551. "parameters": [
  4552. {
  4553. "description": "申请参数",
  4554. "name": "jsonBody",
  4555. "in": "body",
  4556. "required": true,
  4557. "schema": {
  4558. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4559. }
  4560. }
  4561. ],
  4562. "responses": {
  4563. "200": {
  4564. "description": "OK",
  4565. "schema": {
  4566. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4567. }
  4568. },
  4569. "500": {
  4570. "description": "Internal Server Error",
  4571. "schema": {
  4572. "$ref": "#/definitions/app.Response"
  4573. }
  4574. }
  4575. }
  4576. }
  4577. },
  4578. "/Erms3/AddUserInfoApply": {
  4579. "post": {
  4580. "security": [
  4581. {
  4582. "ApiKeyAuth": []
  4583. }
  4584. ],
  4585. "produces": [
  4586. "application/json"
  4587. ],
  4588. "tags": [
  4589. "风险管理v3"
  4590. ],
  4591. "summary": "新增客户申请",
  4592. "parameters": [
  4593. {
  4594. "description": "用户信息",
  4595. "name": "jsonBody",
  4596. "in": "body",
  4597. "required": true,
  4598. "schema": {
  4599. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4600. }
  4601. }
  4602. ],
  4603. "responses": {
  4604. "200": {
  4605. "description": "OK",
  4606. "schema": {
  4607. "$ref": "#/definitions/app.Response"
  4608. }
  4609. },
  4610. "500": {
  4611. "description": "Internal Server Error",
  4612. "schema": {
  4613. "$ref": "#/definitions/app.Response"
  4614. }
  4615. }
  4616. }
  4617. }
  4618. },
  4619. "/Erms3/DeleteUserInfoApply": {
  4620. "get": {
  4621. "security": [
  4622. {
  4623. "ApiKeyAuth": []
  4624. }
  4625. ],
  4626. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4627. "produces": [
  4628. "application/json"
  4629. ],
  4630. "tags": [
  4631. "风险管理v3"
  4632. ],
  4633. "summary": "删除客户申请",
  4634. "parameters": [
  4635. {
  4636. "type": "integer",
  4637. "description": "用户ID",
  4638. "name": "userID",
  4639. "in": "query",
  4640. "required": true
  4641. }
  4642. ],
  4643. "responses": {
  4644. "200": {
  4645. "description": "OK",
  4646. "schema": {
  4647. "$ref": "#/definitions/app.Response"
  4648. }
  4649. },
  4650. "500": {
  4651. "description": "Internal Server Error",
  4652. "schema": {
  4653. "$ref": "#/definitions/app.Response"
  4654. }
  4655. }
  4656. }
  4657. }
  4658. },
  4659. "/Erms3/ModifyUserInfoApply": {
  4660. "post": {
  4661. "security": [
  4662. {
  4663. "ApiKeyAuth": []
  4664. }
  4665. ],
  4666. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4667. "produces": [
  4668. "application/json"
  4669. ],
  4670. "tags": [
  4671. "风险管理v3"
  4672. ],
  4673. "summary": "修改客户申请",
  4674. "parameters": [
  4675. {
  4676. "description": "用户信息",
  4677. "name": "jsonBody",
  4678. "in": "body",
  4679. "required": true,
  4680. "schema": {
  4681. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4682. }
  4683. }
  4684. ],
  4685. "responses": {
  4686. "200": {
  4687. "description": "OK",
  4688. "schema": {
  4689. "$ref": "#/definitions/app.Response"
  4690. }
  4691. },
  4692. "500": {
  4693. "description": "Internal Server Error",
  4694. "schema": {
  4695. "$ref": "#/definitions/app.Response"
  4696. }
  4697. }
  4698. }
  4699. }
  4700. },
  4701. "/Erms3/QueryBusinessInfo": {
  4702. "get": {
  4703. "security": [
  4704. {
  4705. "ApiKeyAuth": []
  4706. }
  4707. ],
  4708. "produces": [
  4709. "application/json"
  4710. ],
  4711. "tags": [
  4712. "风险管理v3"
  4713. ],
  4714. "summary": "查询业务表单数据",
  4715. "parameters": [
  4716. {
  4717. "type": "string",
  4718. "description": "资金账号ID列表,用逗号分隔",
  4719. "name": "accountids",
  4720. "in": "query",
  4721. "required": true
  4722. },
  4723. {
  4724. "type": "integer",
  4725. "description": "状态,0为未结束 1为已结束",
  4726. "name": "status",
  4727. "in": "query",
  4728. "required": true
  4729. }
  4730. ],
  4731. "responses": {
  4732. "200": {
  4733. "description": "OK",
  4734. "schema": {
  4735. "type": "array",
  4736. "items": {
  4737. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4738. }
  4739. }
  4740. },
  4741. "500": {
  4742. "description": "Internal Server Error",
  4743. "schema": {
  4744. "$ref": "#/definitions/app.Response"
  4745. }
  4746. }
  4747. }
  4748. }
  4749. },
  4750. "/Erms3/QueryPendingAuditContract": {
  4751. "get": {
  4752. "security": [
  4753. {
  4754. "ApiKeyAuth": []
  4755. }
  4756. ],
  4757. "produces": [
  4758. "application/json"
  4759. ],
  4760. "tags": [
  4761. "风险管理v3"
  4762. ],
  4763. "summary": "查询待审核合同",
  4764. "parameters": [
  4765. {
  4766. "type": "string",
  4767. "description": "资金账号ID列表,逗号隔开",
  4768. "name": "accountids",
  4769. "in": "query",
  4770. "required": true
  4771. },
  4772. {
  4773. "type": "integer",
  4774. "description": "合同类型 1-采购 -1-销售",
  4775. "name": "contracttype",
  4776. "in": "query",
  4777. "required": true
  4778. },
  4779. {
  4780. "type": "integer",
  4781. "description": "合同模式 1-普通 2-回购",
  4782. "name": "contractmode",
  4783. "in": "query",
  4784. "required": true
  4785. }
  4786. ],
  4787. "responses": {
  4788. "200": {
  4789. "description": "OK",
  4790. "schema": {
  4791. "type": "array",
  4792. "items": {
  4793. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4794. }
  4795. }
  4796. },
  4797. "500": {
  4798. "description": "Internal Server Error",
  4799. "schema": {
  4800. "$ref": "#/definitions/app.Response"
  4801. }
  4802. }
  4803. }
  4804. }
  4805. },
  4806. "/Erms3/QueryPendingBusiness": {
  4807. "get": {
  4808. "security": [
  4809. {
  4810. "ApiKeyAuth": []
  4811. }
  4812. ],
  4813. "produces": [
  4814. "application/json"
  4815. ],
  4816. "tags": [
  4817. "风险管理v3"
  4818. ],
  4819. "summary": "查询待审核基差贸易业务",
  4820. "parameters": [
  4821. {
  4822. "type": "string",
  4823. "description": "资金账号ID列表,逗号隔开",
  4824. "name": "accountids",
  4825. "in": "query",
  4826. "required": true
  4827. }
  4828. ],
  4829. "responses": {
  4830. "200": {
  4831. "description": "OK",
  4832. "schema": {
  4833. "type": "array",
  4834. "items": {
  4835. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4836. }
  4837. }
  4838. },
  4839. "500": {
  4840. "description": "Internal Server Error",
  4841. "schema": {
  4842. "$ref": "#/definitions/app.Response"
  4843. }
  4844. }
  4845. }
  4846. }
  4847. },
  4848. "/Erms3/QuerySpotContractAppleForm": {
  4849. "get": {
  4850. "security": [
  4851. {
  4852. "ApiKeyAuth": []
  4853. }
  4854. ],
  4855. "produces": [
  4856. "application/json"
  4857. ],
  4858. "tags": [
  4859. "风险管理v3"
  4860. ],
  4861. "summary": "查询合同申请表单数据",
  4862. "parameters": [
  4863. {
  4864. "type": "integer",
  4865. "description": "登录账号",
  4866. "name": "loginID",
  4867. "in": "query",
  4868. "required": true
  4869. }
  4870. ],
  4871. "responses": {
  4872. "200": {
  4873. "description": "OK",
  4874. "schema": {
  4875. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4876. }
  4877. },
  4878. "500": {
  4879. "description": "Internal Server Error",
  4880. "schema": {
  4881. "$ref": "#/definitions/app.Response"
  4882. }
  4883. }
  4884. }
  4885. }
  4886. },
  4887. "/Erms3/QuerySpotContractDetail": {
  4888. "get": {
  4889. "security": [
  4890. {
  4891. "ApiKeyAuth": []
  4892. }
  4893. ],
  4894. "produces": [
  4895. "application/json"
  4896. ],
  4897. "tags": [
  4898. "风险管理v3"
  4899. ],
  4900. "summary": "查询合同详细信息",
  4901. "parameters": [
  4902. {
  4903. "type": "string",
  4904. "description": "资金账号ID列表,用逗号分隔",
  4905. "name": "accountids",
  4906. "in": "query",
  4907. "required": true
  4908. },
  4909. {
  4910. "type": "integer",
  4911. "description": "合同类型,1为采购合同 -1为销售合同",
  4912. "name": "contracttype",
  4913. "in": "query",
  4914. "required": true
  4915. },
  4916. {
  4917. "type": "integer",
  4918. "description": "合同模式,1为普通合同 2为回购销售合同",
  4919. "name": "contractmode",
  4920. "in": "query",
  4921. "required": true
  4922. },
  4923. {
  4924. "type": "integer",
  4925. "description": "状态,0为履约中 1为已完成",
  4926. "name": "status",
  4927. "in": "query",
  4928. "required": true
  4929. }
  4930. ],
  4931. "responses": {
  4932. "200": {
  4933. "description": "OK",
  4934. "schema": {
  4935. "type": "array",
  4936. "items": {
  4937. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4938. }
  4939. }
  4940. },
  4941. "500": {
  4942. "description": "Internal Server Error",
  4943. "schema": {
  4944. "$ref": "#/definitions/app.Response"
  4945. }
  4946. }
  4947. }
  4948. }
  4949. },
  4950. "/Erms3/QueryUserInfoApplies": {
  4951. "get": {
  4952. "security": [
  4953. {
  4954. "ApiKeyAuth": []
  4955. }
  4956. ],
  4957. "produces": [
  4958. "application/json"
  4959. ],
  4960. "tags": [
  4961. "风险管理v3"
  4962. ],
  4963. "summary": "客户申请信息查询",
  4964. "parameters": [
  4965. {
  4966. "type": "integer",
  4967. "description": "页码",
  4968. "name": "page",
  4969. "in": "query"
  4970. },
  4971. {
  4972. "type": "integer",
  4973. "description": "每页条数",
  4974. "name": "pagesize",
  4975. "in": "query"
  4976. },
  4977. {
  4978. "type": "string",
  4979. "description": "客户名称,支持模糊查询",
  4980. "name": "userName",
  4981. "in": "query"
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/app.Response"
  4995. }
  4996. }
  4997. }
  4998. }
  4999. },
  5000. "/Erms3/QueryUserInfos": {
  5001. "get": {
  5002. "security": [
  5003. {
  5004. "ApiKeyAuth": []
  5005. }
  5006. ],
  5007. "produces": [
  5008. "application/json"
  5009. ],
  5010. "tags": [
  5011. "风险管理v3"
  5012. ],
  5013. "summary": "客户信息查询",
  5014. "parameters": [
  5015. {
  5016. "type": "integer",
  5017. "description": "页码",
  5018. "name": "page",
  5019. "in": "query"
  5020. },
  5021. {
  5022. "type": "integer",
  5023. "description": "每页条数",
  5024. "name": "pagesize",
  5025. "in": "query"
  5026. },
  5027. {
  5028. "type": "string",
  5029. "description": "客户名称,支持模糊查询",
  5030. "name": "userName",
  5031. "in": "query"
  5032. }
  5033. ],
  5034. "responses": {
  5035. "200": {
  5036. "description": "OK",
  5037. "schema": {
  5038. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5039. }
  5040. },
  5041. "500": {
  5042. "description": "Internal Server Error",
  5043. "schema": {
  5044. "$ref": "#/definitions/app.Response"
  5045. }
  5046. }
  5047. }
  5048. }
  5049. },
  5050. "/HSBY/GetHsbyMyCount": {
  5051. "get": {
  5052. "security": [
  5053. {
  5054. "ApiKeyAuth": []
  5055. }
  5056. ],
  5057. "description": "说明: 不包括已完成的数量。",
  5058. "produces": [
  5059. "application/json"
  5060. ],
  5061. "tags": [
  5062. "定制【海商报业】"
  5063. ],
  5064. "summary": "获取我的订单与包裹数量",
  5065. "parameters": [
  5066. {
  5067. "type": "string",
  5068. "description": "资金账户列表,格式:1,2,3",
  5069. "name": "accountIDs",
  5070. "in": "query",
  5071. "required": true
  5072. }
  5073. ],
  5074. "responses": {
  5075. "200": {
  5076. "description": "OK",
  5077. "schema": {
  5078. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5079. }
  5080. },
  5081. "500": {
  5082. "description": "Internal Server Error",
  5083. "schema": {
  5084. "$ref": "#/definitions/app.Response"
  5085. }
  5086. }
  5087. }
  5088. }
  5089. },
  5090. "/HSBY/QueryClientFixedADConfigs": {
  5091. "get": {
  5092. "security": [
  5093. {
  5094. "ApiKeyAuth": []
  5095. }
  5096. ],
  5097. "produces": [
  5098. "application/json"
  5099. ],
  5100. "tags": [
  5101. "定制【海商报业】"
  5102. ],
  5103. "summary": "获取终端固定广告配置",
  5104. "responses": {
  5105. "200": {
  5106. "description": "OK",
  5107. "schema": {
  5108. "$ref": "#/definitions/models.Clientfixedadconfig"
  5109. }
  5110. },
  5111. "500": {
  5112. "description": "Internal Server Error",
  5113. "schema": {
  5114. "$ref": "#/definitions/app.Response"
  5115. }
  5116. }
  5117. }
  5118. }
  5119. },
  5120. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5121. "get": {
  5122. "security": [
  5123. {
  5124. "ApiKeyAuth": []
  5125. }
  5126. ],
  5127. "produces": [
  5128. "application/json"
  5129. ],
  5130. "tags": [
  5131. "定制【海商报业】"
  5132. ],
  5133. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5134. "parameters": [
  5135. {
  5136. "type": "integer",
  5137. "description": "页码",
  5138. "name": "page",
  5139. "in": "query"
  5140. },
  5141. {
  5142. "type": "integer",
  5143. "description": "每页条数",
  5144. "name": "pagesize",
  5145. "in": "query"
  5146. },
  5147. {
  5148. "type": "string",
  5149. "description": "资金账户列表,格式:1,2,3",
  5150. "name": "accountIDs",
  5151. "in": "query",
  5152. "required": true
  5153. }
  5154. ],
  5155. "responses": {
  5156. "200": {
  5157. "description": "OK",
  5158. "schema": {
  5159. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5160. }
  5161. },
  5162. "500": {
  5163. "description": "Internal Server Error",
  5164. "schema": {
  5165. "$ref": "#/definitions/app.Response"
  5166. }
  5167. }
  5168. }
  5169. }
  5170. },
  5171. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5172. "get": {
  5173. "security": [
  5174. {
  5175. "ApiKeyAuth": []
  5176. }
  5177. ],
  5178. "description": "说明:查询结果已按委托价格和委托时间排序",
  5179. "produces": [
  5180. "application/json"
  5181. ],
  5182. "tags": [
  5183. "定制【海商报业】"
  5184. ],
  5185. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5186. "parameters": [
  5187. {
  5188. "type": "integer",
  5189. "description": "商品ID",
  5190. "name": "goodsID",
  5191. "in": "query",
  5192. "required": true
  5193. },
  5194. {
  5195. "type": "string",
  5196. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5197. "name": "accountIDs",
  5198. "in": "query"
  5199. },
  5200. {
  5201. "type": "integer",
  5202. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5203. "name": "buyOrSell",
  5204. "in": "query"
  5205. },
  5206. {
  5207. "type": "number",
  5208. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5209. "name": "price",
  5210. "in": "query"
  5211. },
  5212. {
  5213. "type": "integer",
  5214. "description": "档位,不传则默认为3档",
  5215. "name": "speed",
  5216. "in": "query"
  5217. }
  5218. ],
  5219. "responses": {
  5220. "200": {
  5221. "description": "OK",
  5222. "schema": {
  5223. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5224. }
  5225. },
  5226. "500": {
  5227. "description": "Internal Server Error",
  5228. "schema": {
  5229. "$ref": "#/definitions/app.Response"
  5230. }
  5231. }
  5232. }
  5233. }
  5234. },
  5235. "/HSBY/QueryHsbyListingGoodsDetail": {
  5236. "get": {
  5237. "security": [
  5238. {
  5239. "ApiKeyAuth": []
  5240. }
  5241. ],
  5242. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5243. "produces": [
  5244. "application/json"
  5245. ],
  5246. "tags": [
  5247. "定制【海商报业】"
  5248. ],
  5249. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5250. "parameters": [
  5251. {
  5252. "type": "integer",
  5253. "description": "商品ID",
  5254. "name": "goodsID",
  5255. "in": "query",
  5256. "required": true
  5257. },
  5258. {
  5259. "type": "integer",
  5260. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5261. "name": "accountID",
  5262. "in": "query"
  5263. }
  5264. ],
  5265. "responses": {
  5266. "200": {
  5267. "description": "OK",
  5268. "schema": {
  5269. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5270. }
  5271. },
  5272. "500": {
  5273. "description": "Internal Server Error",
  5274. "schema": {
  5275. "$ref": "#/definitions/app.Response"
  5276. }
  5277. }
  5278. }
  5279. }
  5280. },
  5281. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5282. "get": {
  5283. "security": [
  5284. {
  5285. "ApiKeyAuth": []
  5286. }
  5287. ],
  5288. "produces": [
  5289. "application/json"
  5290. ],
  5291. "tags": [
  5292. "定制【海商报业】"
  5293. ],
  5294. "summary": "查询三级市场(商城)商品信息详情",
  5295. "parameters": [
  5296. {
  5297. "type": "integer",
  5298. "description": "委托单号",
  5299. "name": "orderID",
  5300. "in": "query",
  5301. "required": true
  5302. },
  5303. {
  5304. "type": "integer",
  5305. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5306. "name": "accountID",
  5307. "in": "query"
  5308. }
  5309. ],
  5310. "responses": {
  5311. "200": {
  5312. "description": "OK",
  5313. "schema": {
  5314. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5315. }
  5316. },
  5317. "500": {
  5318. "description": "Internal Server Error",
  5319. "schema": {
  5320. "$ref": "#/definitions/app.Response"
  5321. }
  5322. }
  5323. }
  5324. }
  5325. },
  5326. "/HSBY/QueryHsbyMarketGoodses": {
  5327. "get": {
  5328. "security": [
  5329. {
  5330. "ApiKeyAuth": []
  5331. }
  5332. ],
  5333. "produces": [
  5334. "application/json"
  5335. ],
  5336. "tags": [
  5337. "定制【海商报业】"
  5338. ],
  5339. "summary": "查询特卖商品列表(三级商城)",
  5340. "parameters": [
  5341. {
  5342. "type": "integer",
  5343. "description": "页码",
  5344. "name": "page",
  5345. "in": "query"
  5346. },
  5347. {
  5348. "type": "integer",
  5349. "description": "每页条数",
  5350. "name": "pagesize",
  5351. "in": "query"
  5352. },
  5353. {
  5354. "type": "string",
  5355. "description": "市场ID列表,格式:1,2,3",
  5356. "name": "marketIDs",
  5357. "in": "query",
  5358. "required": true
  5359. },
  5360. {
  5361. "type": "integer",
  5362. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5363. "name": "accountID",
  5364. "in": "query",
  5365. "required": true
  5366. },
  5367. {
  5368. "type": "integer",
  5369. "description": "类别ID",
  5370. "name": "categoryID",
  5371. "in": "query"
  5372. },
  5373. {
  5374. "type": "string",
  5375. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5376. "name": "goodsIDs",
  5377. "in": "query"
  5378. },
  5379. {
  5380. "type": "integer",
  5381. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5382. "name": "couponTypeID",
  5383. "in": "query"
  5384. }
  5385. ],
  5386. "responses": {
  5387. "200": {
  5388. "description": "OK",
  5389. "schema": {
  5390. "$ref": "#/definitions/models.HsbyMarketGoods"
  5391. }
  5392. },
  5393. "500": {
  5394. "description": "Internal Server Error",
  5395. "schema": {
  5396. "$ref": "#/definitions/app.Response"
  5397. }
  5398. }
  5399. }
  5400. }
  5401. },
  5402. "/HSBY/QueryHsbyMarkets": {
  5403. "get": {
  5404. "security": [
  5405. {
  5406. "ApiKeyAuth": []
  5407. }
  5408. ],
  5409. "produces": [
  5410. "application/json"
  5411. ],
  5412. "tags": [
  5413. "定制【海商报业】"
  5414. ],
  5415. "summary": "查询海商报业相关市场信息",
  5416. "responses": {
  5417. "200": {
  5418. "description": "OK",
  5419. "schema": {
  5420. "$ref": "#/definitions/models.HsbyMarketInfo"
  5421. }
  5422. },
  5423. "500": {
  5424. "description": "Internal Server Error",
  5425. "schema": {
  5426. "$ref": "#/definitions/app.Response"
  5427. }
  5428. }
  5429. }
  5430. }
  5431. },
  5432. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5433. "get": {
  5434. "security": [
  5435. {
  5436. "ApiKeyAuth": []
  5437. }
  5438. ],
  5439. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5440. "produces": [
  5441. "application/json"
  5442. ],
  5443. "tags": [
  5444. "定制【海商报业】"
  5445. ],
  5446. "summary": "查询“我的订单”信息",
  5447. "parameters": [
  5448. {
  5449. "type": "string",
  5450. "description": "资金账户列表,格式:1,2,3",
  5451. "name": "accountIDs",
  5452. "in": "query",
  5453. "required": true
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5461. }
  5462. },
  5463. "500": {
  5464. "description": "Internal Server Error",
  5465. "schema": {
  5466. "$ref": "#/definitions/app.Response"
  5467. }
  5468. }
  5469. }
  5470. }
  5471. },
  5472. "/HSBY/QueryHsbyMyGoods": {
  5473. "get": {
  5474. "security": [
  5475. {
  5476. "ApiKeyAuth": []
  5477. }
  5478. ],
  5479. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5480. "produces": [
  5481. "application/json"
  5482. ],
  5483. "tags": [
  5484. "定制【海商报业】"
  5485. ],
  5486. "summary": "查询“我的商品”信息",
  5487. "parameters": [
  5488. {
  5489. "type": "string",
  5490. "description": "资金账户列表,格式:1,2,3",
  5491. "name": "accountIDs",
  5492. "in": "query",
  5493. "required": true
  5494. }
  5495. ],
  5496. "responses": {
  5497. "200": {
  5498. "description": "OK",
  5499. "schema": {
  5500. "$ref": "#/definitions/models.HsbyMyGoods"
  5501. }
  5502. },
  5503. "500": {
  5504. "description": "Internal Server Error",
  5505. "schema": {
  5506. "$ref": "#/definitions/app.Response"
  5507. }
  5508. }
  5509. }
  5510. }
  5511. },
  5512. "/HSBY/QueryHsbyMyPackages": {
  5513. "get": {
  5514. "security": [
  5515. {
  5516. "ApiKeyAuth": []
  5517. }
  5518. ],
  5519. "produces": [
  5520. "application/json"
  5521. ],
  5522. "tags": [
  5523. "定制【海商报业】"
  5524. ],
  5525. "summary": "查询我的包裹信息",
  5526. "parameters": [
  5527. {
  5528. "type": "string",
  5529. "description": "资金账户列表,格式:1,2,3",
  5530. "name": "accountIDs",
  5531. "in": "query",
  5532. "required": true
  5533. },
  5534. {
  5535. "type": "integer",
  5536. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5537. "name": "takeOrderStatus",
  5538. "in": "query"
  5539. }
  5540. ],
  5541. "responses": {
  5542. "200": {
  5543. "description": "OK",
  5544. "schema": {
  5545. "$ref": "#/definitions/models.HsbyMyPackage"
  5546. }
  5547. },
  5548. "500": {
  5549. "description": "Internal Server Error",
  5550. "schema": {
  5551. "$ref": "#/definitions/app.Response"
  5552. }
  5553. }
  5554. }
  5555. }
  5556. },
  5557. "/HSBY/QueryHsbyPreGoodsDetail": {
  5558. "get": {
  5559. "security": [
  5560. {
  5561. "ApiKeyAuth": []
  5562. }
  5563. ],
  5564. "produces": [
  5565. "application/json"
  5566. ],
  5567. "tags": [
  5568. "定制【海商报业】"
  5569. ],
  5570. "summary": "查询一级市场(预售)商品信息详情",
  5571. "parameters": [
  5572. {
  5573. "type": "integer",
  5574. "description": "商品ID",
  5575. "name": "goodsID",
  5576. "in": "query",
  5577. "required": true
  5578. },
  5579. {
  5580. "type": "integer",
  5581. "description": "资金账户,主要用于获取预售商品购买上限",
  5582. "name": "accountID",
  5583. "in": "query"
  5584. }
  5585. ],
  5586. "responses": {
  5587. "200": {
  5588. "description": "OK",
  5589. "schema": {
  5590. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5591. }
  5592. },
  5593. "500": {
  5594. "description": "Internal Server Error",
  5595. "schema": {
  5596. "$ref": "#/definitions/app.Response"
  5597. }
  5598. }
  5599. }
  5600. }
  5601. },
  5602. "/HSBY/QueryHsbyPreGoodses": {
  5603. "get": {
  5604. "security": [
  5605. {
  5606. "ApiKeyAuth": []
  5607. }
  5608. ],
  5609. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5610. "produces": [
  5611. "application/json"
  5612. ],
  5613. "tags": [
  5614. "定制【海商报业】"
  5615. ],
  5616. "summary": "查询新品上市商品列表(一级市场预售)",
  5617. "parameters": [
  5618. {
  5619. "type": "integer",
  5620. "description": "页码",
  5621. "name": "page",
  5622. "in": "query"
  5623. },
  5624. {
  5625. "type": "integer",
  5626. "description": "每页条数",
  5627. "name": "pagesize",
  5628. "in": "query"
  5629. },
  5630. {
  5631. "type": "string",
  5632. "description": "市场ID列表,格式:1,2,3",
  5633. "name": "marketIDs",
  5634. "in": "query",
  5635. "required": true
  5636. },
  5637. {
  5638. "type": "integer",
  5639. "description": "目的地(省)ID",
  5640. "name": "descProvinceID",
  5641. "in": "query"
  5642. },
  5643. {
  5644. "type": "integer",
  5645. "description": "目的地(市)ID",
  5646. "name": "descCityID",
  5647. "in": "query"
  5648. }
  5649. ],
  5650. "responses": {
  5651. "200": {
  5652. "description": "OK",
  5653. "schema": {
  5654. "$ref": "#/definitions/models.HsbyPreGoods"
  5655. }
  5656. },
  5657. "500": {
  5658. "description": "Internal Server Error",
  5659. "schema": {
  5660. "$ref": "#/definitions/app.Response"
  5661. }
  5662. }
  5663. }
  5664. }
  5665. },
  5666. "/HSBY/QueryHsbySellMyDetails": {
  5667. "get": {
  5668. "security": [
  5669. {
  5670. "ApiKeyAuth": []
  5671. }
  5672. ],
  5673. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5674. "produces": [
  5675. "application/json"
  5676. ],
  5677. "tags": [
  5678. "定制【海商报业】"
  5679. ],
  5680. "summary": "查询\"我的闲置\"单据信息",
  5681. "parameters": [
  5682. {
  5683. "type": "integer",
  5684. "description": "页码",
  5685. "name": "page",
  5686. "in": "query"
  5687. },
  5688. {
  5689. "type": "integer",
  5690. "description": "每页条数",
  5691. "name": "pagesize",
  5692. "in": "query"
  5693. },
  5694. {
  5695. "type": "string",
  5696. "description": "资金账户列表,格式:1,2,3",
  5697. "name": "accountIDs",
  5698. "in": "query",
  5699. "required": true
  5700. },
  5701. {
  5702. "type": "integer",
  5703. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5704. "name": "orderType",
  5705. "in": "query"
  5706. }
  5707. ],
  5708. "responses": {
  5709. "200": {
  5710. "description": "OK",
  5711. "schema": {
  5712. "$ref": "#/definitions/models.HsbySellMyDetail"
  5713. }
  5714. },
  5715. "500": {
  5716. "description": "Internal Server Error",
  5717. "schema": {
  5718. "$ref": "#/definitions/app.Response"
  5719. }
  5720. }
  5721. }
  5722. }
  5723. },
  5724. "/HSBY/QueryHsbyTopGoodses": {
  5725. "get": {
  5726. "security": [
  5727. {
  5728. "ApiKeyAuth": []
  5729. }
  5730. ],
  5731. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5732. "produces": [
  5733. "application/json"
  5734. ],
  5735. "tags": [
  5736. "定制【海商报业】"
  5737. ],
  5738. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5739. "parameters": [
  5740. {
  5741. "type": "integer",
  5742. "description": "页码",
  5743. "name": "page",
  5744. "in": "query"
  5745. },
  5746. {
  5747. "type": "integer",
  5748. "description": "每页条数",
  5749. "name": "pagesize",
  5750. "in": "query"
  5751. },
  5752. {
  5753. "type": "string",
  5754. "description": "市场ID列表,格式:1,2,3",
  5755. "name": "marketIDs",
  5756. "in": "query",
  5757. "required": true
  5758. },
  5759. {
  5760. "type": "integer",
  5761. "description": "目的地(省)ID",
  5762. "name": "descProvinceID",
  5763. "in": "query"
  5764. },
  5765. {
  5766. "type": "integer",
  5767. "description": "目的地(市)ID",
  5768. "name": "descCityID",
  5769. "in": "query"
  5770. }
  5771. ],
  5772. "responses": {
  5773. "200": {
  5774. "description": "OK",
  5775. "schema": {
  5776. "$ref": "#/definitions/models.HsbyTopGoods"
  5777. }
  5778. },
  5779. "500": {
  5780. "description": "Internal Server Error",
  5781. "schema": {
  5782. "$ref": "#/definitions/app.Response"
  5783. }
  5784. }
  5785. }
  5786. }
  5787. },
  5788. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5789. "get": {
  5790. "security": [
  5791. {
  5792. "ApiKeyAuth": []
  5793. }
  5794. ],
  5795. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5796. "produces": [
  5797. "application/json"
  5798. ],
  5799. "tags": [
  5800. "定制【海商报业】"
  5801. ],
  5802. "summary": "查询游客三级市场(商城)商品信息详情",
  5803. "parameters": [
  5804. {
  5805. "type": "integer",
  5806. "description": "商品ID",
  5807. "name": "goodsID",
  5808. "in": "query",
  5809. "required": true
  5810. }
  5811. ],
  5812. "responses": {
  5813. "200": {
  5814. "description": "OK",
  5815. "schema": {
  5816. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5817. }
  5818. },
  5819. "500": {
  5820. "description": "Internal Server Error",
  5821. "schema": {
  5822. "$ref": "#/definitions/app.Response"
  5823. }
  5824. }
  5825. }
  5826. }
  5827. },
  5828. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5829. "get": {
  5830. "security": [
  5831. {
  5832. "ApiKeyAuth": []
  5833. }
  5834. ],
  5835. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5836. "produces": [
  5837. "application/json"
  5838. ],
  5839. "tags": [
  5840. "定制【海商报业】"
  5841. ],
  5842. "summary": "查询游客特卖商品列表(三级商城)",
  5843. "parameters": [
  5844. {
  5845. "type": "integer",
  5846. "description": "页码",
  5847. "name": "page",
  5848. "in": "query"
  5849. },
  5850. {
  5851. "type": "integer",
  5852. "description": "每页条数",
  5853. "name": "pagesize",
  5854. "in": "query"
  5855. },
  5856. {
  5857. "type": "string",
  5858. "description": "市场ID列表,格式:1,2,3",
  5859. "name": "marketIDs",
  5860. "in": "query",
  5861. "required": true
  5862. },
  5863. {
  5864. "type": "integer",
  5865. "description": "类别ID",
  5866. "name": "categoryID",
  5867. "in": "query"
  5868. },
  5869. {
  5870. "type": "string",
  5871. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5872. "name": "goodsIDs",
  5873. "in": "query"
  5874. }
  5875. ],
  5876. "responses": {
  5877. "200": {
  5878. "description": "OK",
  5879. "schema": {
  5880. "$ref": "#/definitions/models.HsbyMarketGoods"
  5881. }
  5882. },
  5883. "500": {
  5884. "description": "Internal Server Error",
  5885. "schema": {
  5886. "$ref": "#/definitions/app.Response"
  5887. }
  5888. }
  5889. }
  5890. }
  5891. },
  5892. "/HSBY/QueryMyCollectionOrders": {
  5893. "get": {
  5894. "security": [
  5895. {
  5896. "ApiKeyAuth": []
  5897. }
  5898. ],
  5899. "produces": [
  5900. "application/json"
  5901. ],
  5902. "tags": [
  5903. "定制【海商报业】"
  5904. ],
  5905. "summary": "我的闲置中收款信息查询",
  5906. "parameters": [
  5907. {
  5908. "type": "integer",
  5909. "description": "页码",
  5910. "name": "page",
  5911. "in": "query"
  5912. },
  5913. {
  5914. "type": "integer",
  5915. "description": "每页条数",
  5916. "name": "pagesize",
  5917. "in": "query"
  5918. },
  5919. {
  5920. "type": "string",
  5921. "description": "资金账户,格式:1,2,3",
  5922. "name": "accountIDs",
  5923. "in": "query",
  5924. "required": true
  5925. }
  5926. ],
  5927. "responses": {
  5928. "200": {
  5929. "description": "OK",
  5930. "schema": {
  5931. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5932. }
  5933. },
  5934. "500": {
  5935. "description": "Internal Server Error",
  5936. "schema": {
  5937. "$ref": "#/definitions/app.Response"
  5938. }
  5939. }
  5940. }
  5941. }
  5942. },
  5943. "/HSBY/QueryMyCouponHolds": {
  5944. "get": {
  5945. "security": [
  5946. {
  5947. "ApiKeyAuth": []
  5948. }
  5949. ],
  5950. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5951. "produces": [
  5952. "application/json"
  5953. ],
  5954. "tags": [
  5955. "定制【海商报业】"
  5956. ],
  5957. "summary": "我的优惠卷持仓查询",
  5958. "parameters": [
  5959. {
  5960. "type": "string",
  5961. "description": "资金账户列表,格式:1,2,3",
  5962. "name": "accountIDs",
  5963. "in": "query",
  5964. "required": true
  5965. },
  5966. {
  5967. "type": "string",
  5968. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5969. "name": "holdStatus",
  5970. "in": "query"
  5971. }
  5972. ],
  5973. "responses": {
  5974. "200": {
  5975. "description": "OK",
  5976. "schema": {
  5977. "$ref": "#/definitions/models.MyCouponHold"
  5978. }
  5979. },
  5980. "500": {
  5981. "description": "Internal Server Error",
  5982. "schema": {
  5983. "$ref": "#/definitions/app.Response"
  5984. }
  5985. }
  5986. }
  5987. }
  5988. },
  5989. "/HSBY/QueryMyCoupons": {
  5990. "get": {
  5991. "security": [
  5992. {
  5993. "ApiKeyAuth": []
  5994. }
  5995. ],
  5996. "produces": [
  5997. "application/json"
  5998. ],
  5999. "tags": [
  6000. "定制【海商报业】"
  6001. ],
  6002. "summary": "我的优惠卷查询",
  6003. "parameters": [
  6004. {
  6005. "type": "string",
  6006. "description": "资金账户列表,格式:1,2,3",
  6007. "name": "accountIDs",
  6008. "in": "query",
  6009. "required": true
  6010. },
  6011. {
  6012. "type": "integer",
  6013. "description": "商品ID, 一般与sellUserID配套传入",
  6014. "name": "goodsID",
  6015. "in": "query"
  6016. },
  6017. {
  6018. "type": "integer",
  6019. "description": "卖方UserID",
  6020. "name": "sellUserID",
  6021. "in": "query"
  6022. }
  6023. ],
  6024. "responses": {
  6025. "200": {
  6026. "description": "OK",
  6027. "schema": {
  6028. "$ref": "#/definitions/models.MyCoupon"
  6029. }
  6030. },
  6031. "500": {
  6032. "description": "Internal Server Error",
  6033. "schema": {
  6034. "$ref": "#/definitions/app.Response"
  6035. }
  6036. }
  6037. }
  6038. }
  6039. },
  6040. "/HSBY/QueryMyPayOrders": {
  6041. "get": {
  6042. "security": [
  6043. {
  6044. "ApiKeyAuth": []
  6045. }
  6046. ],
  6047. "produces": [
  6048. "application/json"
  6049. ],
  6050. "tags": [
  6051. "定制【海商报业】"
  6052. ],
  6053. "summary": "获取我的订单中待付款信息",
  6054. "parameters": [
  6055. {
  6056. "type": "integer",
  6057. "description": "页码",
  6058. "name": "page",
  6059. "in": "query"
  6060. },
  6061. {
  6062. "type": "integer",
  6063. "description": "每页条数",
  6064. "name": "pagesize",
  6065. "in": "query"
  6066. },
  6067. {
  6068. "type": "string",
  6069. "description": "资金账户列表,格式:1,2,3",
  6070. "name": "accountIDs",
  6071. "in": "query",
  6072. "required": true
  6073. },
  6074. {
  6075. "type": "integer",
  6076. "description": "买方委托单号",
  6077. "name": "buyOrderID",
  6078. "in": "query"
  6079. },
  6080. {
  6081. "type": "integer",
  6082. "description": "卖方委托单号",
  6083. "name": "sellOrderID",
  6084. "in": "query"
  6085. }
  6086. ],
  6087. "responses": {
  6088. "200": {
  6089. "description": "OK",
  6090. "schema": {
  6091. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6092. }
  6093. },
  6094. "500": {
  6095. "description": "Internal Server Error",
  6096. "schema": {
  6097. "$ref": "#/definitions/app.Response"
  6098. }
  6099. }
  6100. }
  6101. }
  6102. },
  6103. "/HSBY/QueryMyUsedCoupon": {
  6104. "get": {
  6105. "security": [
  6106. {
  6107. "ApiKeyAuth": []
  6108. }
  6109. ],
  6110. "produces": [
  6111. "application/json"
  6112. ],
  6113. "tags": [
  6114. "定制【海商报业】"
  6115. ],
  6116. "summary": "已使用优惠卷查询",
  6117. "parameters": [
  6118. {
  6119. "type": "string",
  6120. "description": "资金账户列表,格式:1,2,3",
  6121. "name": "accountIDs",
  6122. "in": "query",
  6123. "required": true
  6124. }
  6125. ],
  6126. "responses": {
  6127. "200": {
  6128. "description": "OK",
  6129. "schema": {
  6130. "$ref": "#/definitions/models.MyUsedCoupon"
  6131. }
  6132. },
  6133. "500": {
  6134. "description": "Internal Server Error",
  6135. "schema": {
  6136. "$ref": "#/definitions/app.Response"
  6137. }
  6138. }
  6139. }
  6140. }
  6141. },
  6142. "/HSBY/QueryProvincesAndCities": {
  6143. "get": {
  6144. "security": [
  6145. {
  6146. "ApiKeyAuth": []
  6147. }
  6148. ],
  6149. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6150. "produces": [
  6151. "application/json"
  6152. ],
  6153. "tags": [
  6154. "定制【海商报业】"
  6155. ],
  6156. "summary": "查询省市信息(不包括区)",
  6157. "parameters": [
  6158. {
  6159. "type": "integer",
  6160. "description": "省ID",
  6161. "name": "provinceID",
  6162. "in": "query"
  6163. }
  6164. ],
  6165. "responses": {
  6166. "200": {
  6167. "description": "OK",
  6168. "schema": {
  6169. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6170. }
  6171. },
  6172. "500": {
  6173. "description": "Internal Server Error",
  6174. "schema": {
  6175. "$ref": "#/definitions/app.Response"
  6176. }
  6177. }
  6178. }
  6179. }
  6180. },
  6181. "/HSBY/SetHsbyMyPackagesStatus": {
  6182. "post": {
  6183. "security": [
  6184. {
  6185. "ApiKeyAuth": []
  6186. }
  6187. ],
  6188. "produces": [
  6189. "application/json"
  6190. ],
  6191. "tags": [
  6192. "定制【海商报业】"
  6193. ],
  6194. "summary": "设置我的包裹已收货状态",
  6195. "parameters": [
  6196. {
  6197. "type": "string",
  6198. "description": "提货单号",
  6199. "name": "takeOrderID",
  6200. "in": "query",
  6201. "required": true
  6202. },
  6203. {
  6204. "type": "integer",
  6205. "description": "资金账号",
  6206. "name": "accountID",
  6207. "in": "query",
  6208. "required": true
  6209. }
  6210. ],
  6211. "responses": {
  6212. "200": {
  6213. "description": "OK",
  6214. "schema": {
  6215. "$ref": "#/definitions/app.Response"
  6216. }
  6217. },
  6218. "500": {
  6219. "description": "Internal Server Error",
  6220. "schema": {
  6221. "$ref": "#/definitions/app.Response"
  6222. }
  6223. }
  6224. }
  6225. }
  6226. },
  6227. "/Market/QueryGoodsesByLoginID": {
  6228. "get": {
  6229. "security": [
  6230. {
  6231. "ApiKeyAuth": []
  6232. }
  6233. ],
  6234. "produces": [
  6235. "application/json"
  6236. ],
  6237. "tags": [
  6238. "通用市场"
  6239. ],
  6240. "summary": "获取登录账号有权限的商品信息",
  6241. "parameters": [
  6242. {
  6243. "type": "integer",
  6244. "description": "登录账号",
  6245. "name": "loginID",
  6246. "in": "query",
  6247. "required": true
  6248. },
  6249. {
  6250. "type": "string",
  6251. "description": "市场ID列表,格式:1,2,3",
  6252. "name": "marketIDs",
  6253. "in": "query"
  6254. }
  6255. ],
  6256. "responses": {
  6257. "200": {
  6258. "description": "OK",
  6259. "schema": {
  6260. "$ref": "#/definitions/models.Goods"
  6261. }
  6262. },
  6263. "500": {
  6264. "description": "Internal Server Error",
  6265. "schema": {
  6266. "$ref": "#/definitions/app.Response"
  6267. }
  6268. }
  6269. }
  6270. }
  6271. },
  6272. "/Market/QueryMarketRun": {
  6273. "get": {
  6274. "security": [
  6275. {
  6276. "ApiKeyAuth": []
  6277. }
  6278. ],
  6279. "produces": [
  6280. "application/json"
  6281. ],
  6282. "tags": [
  6283. "通用市场"
  6284. ],
  6285. "summary": "查询市场运行信息",
  6286. "parameters": [
  6287. {
  6288. "type": "integer",
  6289. "description": "市场ID,不传返回所有",
  6290. "name": "marketID",
  6291. "in": "query"
  6292. }
  6293. ],
  6294. "responses": {
  6295. "200": {
  6296. "description": "OK",
  6297. "schema": {
  6298. "$ref": "#/definitions/models.Marketrun"
  6299. }
  6300. },
  6301. "500": {
  6302. "description": "Internal Server Error",
  6303. "schema": {
  6304. "$ref": "#/definitions/app.Response"
  6305. }
  6306. }
  6307. }
  6308. }
  6309. },
  6310. "/Market/QueryMarketsByLoginID": {
  6311. "get": {
  6312. "security": [
  6313. {
  6314. "ApiKeyAuth": []
  6315. }
  6316. ],
  6317. "produces": [
  6318. "application/json"
  6319. ],
  6320. "tags": [
  6321. "通用市场"
  6322. ],
  6323. "summary": "获取登录账号有权限的市场信息",
  6324. "parameters": [
  6325. {
  6326. "type": "integer",
  6327. "description": "登录账号",
  6328. "name": "loginID",
  6329. "in": "query",
  6330. "required": true
  6331. }
  6332. ],
  6333. "responses": {
  6334. "200": {
  6335. "description": "OK",
  6336. "schema": {
  6337. "$ref": "#/definitions/models.Market"
  6338. }
  6339. },
  6340. "500": {
  6341. "description": "Internal Server Error",
  6342. "schema": {
  6343. "$ref": "#/definitions/app.Response"
  6344. }
  6345. }
  6346. }
  6347. }
  6348. },
  6349. "/Order/QueryHisTradeDetail": {
  6350. "get": {
  6351. "security": [
  6352. {
  6353. "ApiKeyAuth": []
  6354. }
  6355. ],
  6356. "produces": [
  6357. "application/json"
  6358. ],
  6359. "tags": [
  6360. "通用单据"
  6361. ],
  6362. "summary": "历史成交单查询(合约市场)",
  6363. "parameters": [
  6364. {
  6365. "type": "string",
  6366. "description": "资金账户 - 格式:1,2,3",
  6367. "name": "accountID",
  6368. "in": "query",
  6369. "required": true
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "成交单号",
  6374. "name": "tradeID",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "integer",
  6379. "description": "委托单号",
  6380. "name": "orderID",
  6381. "in": "query"
  6382. },
  6383. {
  6384. "type": "string",
  6385. "description": "交易模式 - 格式:1,2,3",
  6386. "name": "tradeMode",
  6387. "in": "query"
  6388. },
  6389. {
  6390. "type": "integer",
  6391. "description": "委托单据类型",
  6392. "name": "buildType",
  6393. "in": "query"
  6394. },
  6395. {
  6396. "type": "string",
  6397. "description": "成交类别 - 格式:1,2,3",
  6398. "name": "tradeType",
  6399. "in": "query"
  6400. },
  6401. {
  6402. "type": "string",
  6403. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6404. "name": "startDate",
  6405. "in": "query"
  6406. },
  6407. {
  6408. "type": "string",
  6409. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6410. "name": "endDate",
  6411. "in": "query"
  6412. }
  6413. ],
  6414. "responses": {
  6415. "200": {
  6416. "description": "OK",
  6417. "schema": {
  6418. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6419. }
  6420. },
  6421. "500": {
  6422. "description": "Internal Server Error",
  6423. "schema": {
  6424. "$ref": "#/definitions/app.Response"
  6425. }
  6426. }
  6427. }
  6428. }
  6429. },
  6430. "/Order/QueryHisTradeOrderDetail": {
  6431. "get": {
  6432. "security": [
  6433. {
  6434. "ApiKeyAuth": []
  6435. }
  6436. ],
  6437. "produces": [
  6438. "application/json"
  6439. ],
  6440. "tags": [
  6441. "通用单据"
  6442. ],
  6443. "summary": "历史委托单查询请求(合约市场)",
  6444. "parameters": [
  6445. {
  6446. "type": "string",
  6447. "description": "资金账户 - 格式:1,2,3",
  6448. "name": "accountID",
  6449. "in": "query",
  6450. "required": true
  6451. },
  6452. {
  6453. "type": "string",
  6454. "description": "交易模式 - 格式:1,2,3",
  6455. "name": "tradeMode",
  6456. "in": "query"
  6457. },
  6458. {
  6459. "type": "string",
  6460. "description": "委托状态 - 格式:1,2,3",
  6461. "name": "orderStatus",
  6462. "in": "query"
  6463. },
  6464. {
  6465. "type": "integer",
  6466. "description": "委托单号",
  6467. "name": "orderID",
  6468. "in": "query"
  6469. },
  6470. {
  6471. "type": "string",
  6472. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6473. "name": "startDate",
  6474. "in": "query"
  6475. },
  6476. {
  6477. "type": "string",
  6478. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6479. "name": "endDate",
  6480. "in": "query"
  6481. }
  6482. ],
  6483. "responses": {
  6484. "200": {
  6485. "description": "OK",
  6486. "schema": {
  6487. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6488. }
  6489. },
  6490. "500": {
  6491. "description": "Internal Server Error",
  6492. "schema": {
  6493. "$ref": "#/definitions/app.Response"
  6494. }
  6495. }
  6496. }
  6497. }
  6498. },
  6499. "/Order/QueryTradeDetail": {
  6500. "get": {
  6501. "security": [
  6502. {
  6503. "ApiKeyAuth": []
  6504. }
  6505. ],
  6506. "produces": [
  6507. "application/json"
  6508. ],
  6509. "tags": [
  6510. "通用单据"
  6511. ],
  6512. "summary": "成交单查询(合约市场)",
  6513. "parameters": [
  6514. {
  6515. "type": "string",
  6516. "description": "资金账户 - 格式:1,2,3",
  6517. "name": "accountID",
  6518. "in": "query",
  6519. "required": true
  6520. },
  6521. {
  6522. "type": "integer",
  6523. "description": "成交单号",
  6524. "name": "tradeID",
  6525. "in": "query"
  6526. },
  6527. {
  6528. "type": "integer",
  6529. "description": "委托单号",
  6530. "name": "orderID",
  6531. "in": "query"
  6532. },
  6533. {
  6534. "type": "string",
  6535. "description": "交易模式 - 格式:1,2,3",
  6536. "name": "tradeMode",
  6537. "in": "query"
  6538. },
  6539. {
  6540. "type": "integer",
  6541. "description": "委托单据类型",
  6542. "name": "buildType",
  6543. "in": "query"
  6544. },
  6545. {
  6546. "type": "string",
  6547. "description": "成交类别 - 格式:1,2,3",
  6548. "name": "tradeType",
  6549. "in": "query"
  6550. }
  6551. ],
  6552. "responses": {
  6553. "200": {
  6554. "description": "OK",
  6555. "schema": {
  6556. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6557. }
  6558. },
  6559. "500": {
  6560. "description": "Internal Server Error",
  6561. "schema": {
  6562. "$ref": "#/definitions/app.Response"
  6563. }
  6564. }
  6565. }
  6566. }
  6567. },
  6568. "/Order/QueryTradeOrderDetail": {
  6569. "get": {
  6570. "security": [
  6571. {
  6572. "ApiKeyAuth": []
  6573. }
  6574. ],
  6575. "produces": [
  6576. "application/json"
  6577. ],
  6578. "tags": [
  6579. "通用单据"
  6580. ],
  6581. "summary": "委托单查询请求(合约市场)",
  6582. "parameters": [
  6583. {
  6584. "type": "string",
  6585. "description": "资金账户 - 格式:1,2,3",
  6586. "name": "accountID",
  6587. "in": "query",
  6588. "required": true
  6589. },
  6590. {
  6591. "type": "string",
  6592. "description": "交易模式 - 格式:1,2,3",
  6593. "name": "tradeMode",
  6594. "in": "query"
  6595. },
  6596. {
  6597. "type": "string",
  6598. "description": "委托状态 - 格式:1,2,3",
  6599. "name": "orderStatus",
  6600. "in": "query"
  6601. },
  6602. {
  6603. "type": "integer",
  6604. "description": "委托单号",
  6605. "name": "orderID",
  6606. "in": "query"
  6607. }
  6608. ],
  6609. "responses": {
  6610. "200": {
  6611. "description": "OK",
  6612. "schema": {
  6613. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6614. }
  6615. },
  6616. "500": {
  6617. "description": "Internal Server Error",
  6618. "schema": {
  6619. "$ref": "#/definitions/app.Response"
  6620. }
  6621. }
  6622. }
  6623. }
  6624. },
  6625. "/Order/QueryTradePosition": {
  6626. "get": {
  6627. "security": [
  6628. {
  6629. "ApiKeyAuth": []
  6630. }
  6631. ],
  6632. "produces": [
  6633. "application/json"
  6634. ],
  6635. "tags": [
  6636. "通用单据"
  6637. ],
  6638. "summary": "持仓汇总查询(合约市场)",
  6639. "parameters": [
  6640. {
  6641. "type": "string",
  6642. "description": "资金账户 - 格式:1,2,3",
  6643. "name": "accountID",
  6644. "in": "query",
  6645. "required": true
  6646. },
  6647. {
  6648. "type": "string",
  6649. "description": "交易模式 - 格式:1,2,3",
  6650. "name": "tradeMode",
  6651. "in": "query"
  6652. }
  6653. ],
  6654. "responses": {
  6655. "200": {
  6656. "description": "OK",
  6657. "schema": {
  6658. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6659. }
  6660. },
  6661. "500": {
  6662. "description": "Internal Server Error",
  6663. "schema": {
  6664. "$ref": "#/definitions/app.Response"
  6665. }
  6666. }
  6667. }
  6668. }
  6669. },
  6670. "/Quote/QueryHistoryDatas": {
  6671. "get": {
  6672. "security": [
  6673. {
  6674. "ApiKeyAuth": []
  6675. }
  6676. ],
  6677. "produces": [
  6678. "application/json"
  6679. ],
  6680. "tags": [
  6681. "行情服务"
  6682. ],
  6683. "summary": "查询行情历史数据",
  6684. "parameters": [
  6685. {
  6686. "type": "integer",
  6687. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6688. "name": "cycleType",
  6689. "in": "query",
  6690. "required": true
  6691. },
  6692. {
  6693. "type": "string",
  6694. "description": "商品代码",
  6695. "name": "goodsCode",
  6696. "in": "query",
  6697. "required": true
  6698. },
  6699. {
  6700. "type": "string",
  6701. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6702. "name": "startTime",
  6703. "in": "query"
  6704. },
  6705. {
  6706. "type": "string",
  6707. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6708. "name": "endTime",
  6709. "in": "query"
  6710. },
  6711. {
  6712. "type": "integer",
  6713. "description": "条数",
  6714. "name": "count",
  6715. "in": "query"
  6716. },
  6717. {
  6718. "type": "boolean",
  6719. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6720. "name": "isAsc",
  6721. "in": "query"
  6722. }
  6723. ],
  6724. "responses": {
  6725. "200": {
  6726. "description": "OK",
  6727. "schema": {
  6728. "$ref": "#/definitions/quote.HistoryData"
  6729. }
  6730. },
  6731. "500": {
  6732. "description": "Internal Server Error",
  6733. "schema": {
  6734. "$ref": "#/definitions/app.Response"
  6735. }
  6736. }
  6737. }
  6738. }
  6739. },
  6740. "/Quote/QueryHistoryTikDatas": {
  6741. "get": {
  6742. "security": [
  6743. {
  6744. "ApiKeyAuth": []
  6745. }
  6746. ],
  6747. "produces": [
  6748. "application/json"
  6749. ],
  6750. "tags": [
  6751. "行情服务"
  6752. ],
  6753. "summary": "查询行情Tik数据",
  6754. "parameters": [
  6755. {
  6756. "type": "string",
  6757. "description": "商品代码",
  6758. "name": "goodsCode",
  6759. "in": "query",
  6760. "required": true
  6761. },
  6762. {
  6763. "type": "string",
  6764. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6765. "name": "startTime",
  6766. "in": "query"
  6767. },
  6768. {
  6769. "type": "string",
  6770. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6771. "name": "endTime",
  6772. "in": "query"
  6773. },
  6774. {
  6775. "type": "integer",
  6776. "description": "条数",
  6777. "name": "count",
  6778. "in": "query"
  6779. },
  6780. {
  6781. "type": "boolean",
  6782. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6783. "name": "isAsc",
  6784. "in": "query"
  6785. }
  6786. ],
  6787. "responses": {
  6788. "200": {
  6789. "description": "OK",
  6790. "schema": {
  6791. "$ref": "#/definitions/quote.HistoryTikData"
  6792. }
  6793. },
  6794. "500": {
  6795. "description": "Internal Server Error",
  6796. "schema": {
  6797. "$ref": "#/definitions/app.Response"
  6798. }
  6799. }
  6800. }
  6801. }
  6802. },
  6803. "/Quote/QueryQuoteDay": {
  6804. "get": {
  6805. "security": [
  6806. {
  6807. "ApiKeyAuth": []
  6808. }
  6809. ],
  6810. "produces": [
  6811. "application/json"
  6812. ],
  6813. "tags": [
  6814. "行情服务"
  6815. ],
  6816. "summary": "获取商品盘面信息",
  6817. "parameters": [
  6818. {
  6819. "type": "string",
  6820. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6821. "name": "goodsCodes",
  6822. "in": "query",
  6823. "required": true
  6824. }
  6825. ],
  6826. "responses": {
  6827. "200": {
  6828. "description": "OK",
  6829. "schema": {
  6830. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6831. }
  6832. },
  6833. "500": {
  6834. "description": "Internal Server Error",
  6835. "schema": {
  6836. "$ref": "#/definitions/app.Response"
  6837. }
  6838. }
  6839. }
  6840. }
  6841. },
  6842. "/Quote/QueryTSData": {
  6843. "get": {
  6844. "security": [
  6845. {
  6846. "ApiKeyAuth": []
  6847. }
  6848. ],
  6849. "produces": [
  6850. "application/json"
  6851. ],
  6852. "tags": [
  6853. "行情服务"
  6854. ],
  6855. "summary": "分时图数据查询",
  6856. "parameters": [
  6857. {
  6858. "type": "string",
  6859. "description": "商品代码",
  6860. "name": "goodsCode",
  6861. "in": "query",
  6862. "required": true
  6863. }
  6864. ],
  6865. "responses": {
  6866. "200": {
  6867. "description": "OK",
  6868. "schema": {
  6869. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6870. }
  6871. },
  6872. "500": {
  6873. "description": "Internal Server Error",
  6874. "schema": {
  6875. "$ref": "#/definitions/app.Response"
  6876. }
  6877. }
  6878. }
  6879. }
  6880. },
  6881. "/SZDZ/QueryConvertConfig": {
  6882. "get": {
  6883. "security": [
  6884. {
  6885. "ApiKeyAuth": []
  6886. }
  6887. ],
  6888. "produces": [
  6889. "application/json"
  6890. ],
  6891. "tags": [
  6892. "定制【尚志大宗】"
  6893. ],
  6894. "summary": "查询交易系统转换设置",
  6895. "parameters": [
  6896. {
  6897. "type": "integer",
  6898. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6899. "name": "convertType",
  6900. "in": "query"
  6901. },
  6902. {
  6903. "type": "string",
  6904. "description": "外部商品代码[JD\\PD]",
  6905. "name": "outerGoodsCode",
  6906. "in": "query"
  6907. },
  6908. {
  6909. "type": "string",
  6910. "description": "内部商品ID列表[交易],格式:1,2,3",
  6911. "name": "innerGoodsIDs",
  6912. "in": "query"
  6913. }
  6914. ],
  6915. "responses": {
  6916. "200": {
  6917. "description": "OK",
  6918. "schema": {
  6919. "$ref": "#/definitions/models.Szdz3convertconfig"
  6920. }
  6921. },
  6922. "500": {
  6923. "description": "Internal Server Error",
  6924. "schema": {
  6925. "$ref": "#/definitions/app.Response"
  6926. }
  6927. }
  6928. }
  6929. }
  6930. },
  6931. "/SZDZ/QueryConvertLog": {
  6932. "get": {
  6933. "security": [
  6934. {
  6935. "ApiKeyAuth": []
  6936. }
  6937. ],
  6938. "produces": [
  6939. "application/json"
  6940. ],
  6941. "tags": [
  6942. "定制【尚志大宗】"
  6943. ],
  6944. "summary": "交易系统转换流水查询",
  6945. "parameters": [
  6946. {
  6947. "type": "string",
  6948. "description": "资金账户 - 格式:1,2,3",
  6949. "name": "accountID",
  6950. "in": "query",
  6951. "required": true
  6952. },
  6953. {
  6954. "type": "string",
  6955. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6956. "name": "startDate",
  6957. "in": "query"
  6958. },
  6959. {
  6960. "type": "string",
  6961. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6962. "name": "endDate",
  6963. "in": "query"
  6964. }
  6965. ],
  6966. "responses": {
  6967. "200": {
  6968. "description": "OK",
  6969. "schema": {
  6970. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6971. }
  6972. },
  6973. "500": {
  6974. "description": "Internal Server Error",
  6975. "schema": {
  6976. "$ref": "#/definitions/app.Response"
  6977. }
  6978. }
  6979. }
  6980. }
  6981. },
  6982. "/SZDZ/QueryGoodsPickup": {
  6983. "get": {
  6984. "security": [
  6985. {
  6986. "ApiKeyAuth": []
  6987. }
  6988. ],
  6989. "produces": [
  6990. "application/json"
  6991. ],
  6992. "tags": [
  6993. "定制【尚志大宗】"
  6994. ],
  6995. "summary": "商品提货单查询",
  6996. "parameters": [
  6997. {
  6998. "type": "string",
  6999. "description": "资金账户 - 格式:1,2,3",
  7000. "name": "accountID",
  7001. "in": "query",
  7002. "required": true
  7003. },
  7004. {
  7005. "type": "integer",
  7006. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7007. "name": "takeOrderStatus",
  7008. "in": "query"
  7009. }
  7010. ],
  7011. "responses": {
  7012. "200": {
  7013. "description": "OK",
  7014. "schema": {
  7015. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7016. }
  7017. },
  7018. "500": {
  7019. "description": "Internal Server Error",
  7020. "schema": {
  7021. "$ref": "#/definitions/app.Response"
  7022. }
  7023. }
  7024. }
  7025. }
  7026. },
  7027. "/SZDZ/QueryRecieptOrder": {
  7028. "get": {
  7029. "security": [
  7030. {
  7031. "ApiKeyAuth": []
  7032. }
  7033. ],
  7034. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7035. "produces": [
  7036. "application/json"
  7037. ],
  7038. "tags": [
  7039. "定制【尚志大宗】"
  7040. ],
  7041. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7042. "parameters": [
  7043. {
  7044. "type": "integer",
  7045. "description": "页码",
  7046. "name": "page",
  7047. "in": "query"
  7048. },
  7049. {
  7050. "type": "integer",
  7051. "description": "每页条数",
  7052. "name": "pagesize",
  7053. "in": "query"
  7054. },
  7055. {
  7056. "type": "integer",
  7057. "description": "商品ID",
  7058. "name": "goodsID",
  7059. "in": "query",
  7060. "required": true
  7061. },
  7062. {
  7063. "type": "string",
  7064. "description": "所属账户名称",
  7065. "name": "accountName",
  7066. "in": "query"
  7067. },
  7068. {
  7069. "type": "integer",
  7070. "description": "市场ID",
  7071. "name": "marketID",
  7072. "in": "query"
  7073. },
  7074. {
  7075. "type": "integer",
  7076. "description": "方向 - 0:买 1:卖",
  7077. "name": "buyorsell",
  7078. "in": "query",
  7079. "required": true
  7080. }
  7081. ],
  7082. "responses": {
  7083. "200": {
  7084. "description": "OK",
  7085. "schema": {
  7086. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7087. }
  7088. },
  7089. "500": {
  7090. "description": "Internal Server Error",
  7091. "schema": {
  7092. "$ref": "#/definitions/app.Response"
  7093. }
  7094. }
  7095. }
  7096. }
  7097. },
  7098. "/SZDZ/QuerySZDZTradePosition": {
  7099. "get": {
  7100. "security": [
  7101. {
  7102. "ApiKeyAuth": []
  7103. }
  7104. ],
  7105. "produces": [
  7106. "application/json"
  7107. ],
  7108. "tags": [
  7109. "定制【尚志大宗】"
  7110. ],
  7111. "summary": "持仓汇总查询(尚志大宗)",
  7112. "parameters": [
  7113. {
  7114. "type": "integer",
  7115. "description": "资金账户",
  7116. "name": "accountID",
  7117. "in": "query",
  7118. "required": true
  7119. }
  7120. ],
  7121. "responses": {
  7122. "200": {
  7123. "description": "OK",
  7124. "schema": {
  7125. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7126. }
  7127. },
  7128. "500": {
  7129. "description": "Internal Server Error",
  7130. "schema": {
  7131. "$ref": "#/definitions/app.Response"
  7132. }
  7133. }
  7134. }
  7135. }
  7136. },
  7137. "/SZDZ/SearchWhite": {
  7138. "get": {
  7139. "security": [
  7140. {
  7141. "ApiKeyAuth": []
  7142. }
  7143. ],
  7144. "produces": [
  7145. "application/json"
  7146. ],
  7147. "tags": [
  7148. "定制【尚志大宗】"
  7149. ],
  7150. "summary": "搜索白名单",
  7151. "parameters": [
  7152. {
  7153. "type": "integer",
  7154. "description": "用户ID",
  7155. "name": "userID",
  7156. "in": "query",
  7157. "required": true
  7158. }
  7159. ],
  7160. "responses": {
  7161. "200": {
  7162. "description": "OK",
  7163. "schema": {
  7164. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7165. }
  7166. },
  7167. "500": {
  7168. "description": "Internal Server Error",
  7169. "schema": {
  7170. "$ref": "#/definitions/app.Response"
  7171. }
  7172. }
  7173. }
  7174. }
  7175. },
  7176. "/Search/SearchGoodses": {
  7177. "get": {
  7178. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7179. "produces": [
  7180. "application/json"
  7181. ],
  7182. "tags": [
  7183. "检索服务"
  7184. ],
  7185. "summary": "检索商品信息",
  7186. "parameters": [
  7187. {
  7188. "type": "string",
  7189. "description": "检索内容",
  7190. "name": "content",
  7191. "in": "query",
  7192. "required": true
  7193. },
  7194. {
  7195. "type": "string",
  7196. "description": "交易模式,格式:1,2,3",
  7197. "name": "tradeModes",
  7198. "in": "query"
  7199. }
  7200. ],
  7201. "responses": {
  7202. "200": {
  7203. "description": "OK",
  7204. "schema": {
  7205. "$ref": "#/definitions/models.SearchGoods"
  7206. }
  7207. },
  7208. "500": {
  7209. "description": "Internal Server Error",
  7210. "schema": {
  7211. "$ref": "#/definitions/app.Response"
  7212. }
  7213. }
  7214. }
  7215. }
  7216. },
  7217. "/TaAccount/GetTaAccounts": {
  7218. "get": {
  7219. "security": [
  7220. {
  7221. "ApiKeyAuth": []
  7222. }
  7223. ],
  7224. "produces": [
  7225. "application/json"
  7226. ],
  7227. "tags": [
  7228. "资金账户"
  7229. ],
  7230. "summary": "获取资金账户信息",
  7231. "parameters": [
  7232. {
  7233. "type": "integer",
  7234. "description": "登录账户",
  7235. "name": "loginID",
  7236. "in": "query",
  7237. "required": true
  7238. },
  7239. {
  7240. "type": "integer",
  7241. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7242. "name": "taAccountType",
  7243. "in": "query"
  7244. }
  7245. ],
  7246. "responses": {
  7247. "200": {
  7248. "description": "OK",
  7249. "schema": {
  7250. "$ref": "#/definitions/models.Taaccount"
  7251. }
  7252. },
  7253. "500": {
  7254. "description": "Internal Server Error",
  7255. "schema": {
  7256. "$ref": "#/definitions/app.Response"
  7257. }
  7258. }
  7259. }
  7260. }
  7261. },
  7262. "/TaAccount/QueryAmountLog": {
  7263. "get": {
  7264. "security": [
  7265. {
  7266. "ApiKeyAuth": []
  7267. }
  7268. ],
  7269. "produces": [
  7270. "application/json"
  7271. ],
  7272. "tags": [
  7273. "资金账户"
  7274. ],
  7275. "summary": "资金流水查询(当前)",
  7276. "parameters": [
  7277. {
  7278. "type": "integer",
  7279. "description": "页码",
  7280. "name": "page",
  7281. "in": "query"
  7282. },
  7283. {
  7284. "type": "integer",
  7285. "description": "每页条数",
  7286. "name": "pagesize",
  7287. "in": "query"
  7288. },
  7289. {
  7290. "type": "string",
  7291. "description": "资金账户 - 格式:1,2,3",
  7292. "name": "accountID",
  7293. "in": "query",
  7294. "required": true
  7295. },
  7296. {
  7297. "type": "string",
  7298. "description": "资金操作类型 - 格式:1,2,3",
  7299. "name": "OperateType",
  7300. "in": "query"
  7301. }
  7302. ],
  7303. "responses": {
  7304. "200": {
  7305. "description": "OK",
  7306. "schema": {
  7307. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7308. }
  7309. },
  7310. "500": {
  7311. "description": "Internal Server Error",
  7312. "schema": {
  7313. "$ref": "#/definitions/app.Response"
  7314. }
  7315. }
  7316. }
  7317. }
  7318. },
  7319. "/TaAccount/QueryHisAmountLog": {
  7320. "get": {
  7321. "security": [
  7322. {
  7323. "ApiKeyAuth": []
  7324. }
  7325. ],
  7326. "produces": [
  7327. "application/json"
  7328. ],
  7329. "tags": [
  7330. "资金账户"
  7331. ],
  7332. "summary": "资金流水查询(历史)",
  7333. "parameters": [
  7334. {
  7335. "type": "integer",
  7336. "description": "页码",
  7337. "name": "page",
  7338. "in": "query"
  7339. },
  7340. {
  7341. "type": "integer",
  7342. "description": "每页条数",
  7343. "name": "pagesize",
  7344. "in": "query"
  7345. },
  7346. {
  7347. "type": "string",
  7348. "description": "资金账户 - 格式:1,2,3",
  7349. "name": "accountID",
  7350. "in": "query",
  7351. "required": true
  7352. },
  7353. {
  7354. "type": "string",
  7355. "description": "资金操作类型 - 格式:1,2,3",
  7356. "name": "OperateType",
  7357. "in": "query"
  7358. },
  7359. {
  7360. "type": "string",
  7361. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7362. "name": "startDate",
  7363. "in": "query"
  7364. },
  7365. {
  7366. "type": "string",
  7367. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7368. "name": "endDate",
  7369. "in": "query"
  7370. }
  7371. ],
  7372. "responses": {
  7373. "200": {
  7374. "description": "OK",
  7375. "schema": {
  7376. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7377. }
  7378. },
  7379. "500": {
  7380. "description": "Internal Server Error",
  7381. "schema": {
  7382. "$ref": "#/definitions/app.Response"
  7383. }
  7384. }
  7385. }
  7386. }
  7387. },
  7388. "/Trade/QueryRecieptOrder": {
  7389. "get": {
  7390. "security": [
  7391. {
  7392. "ApiKeyAuth": []
  7393. }
  7394. ],
  7395. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7396. "produces": [
  7397. "application/json"
  7398. ],
  7399. "tags": [
  7400. "通用交易"
  7401. ],
  7402. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7403. "parameters": [
  7404. {
  7405. "type": "integer",
  7406. "description": "页码",
  7407. "name": "page",
  7408. "in": "query"
  7409. },
  7410. {
  7411. "type": "integer",
  7412. "description": "每页条数",
  7413. "name": "pagesize",
  7414. "in": "query"
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "商品ID",
  7419. "name": "goodsID",
  7420. "in": "query",
  7421. "required": true
  7422. },
  7423. {
  7424. "type": "string",
  7425. "description": "所属账户名称",
  7426. "name": "accountName",
  7427. "in": "query"
  7428. },
  7429. {
  7430. "type": "integer",
  7431. "description": "市场ID",
  7432. "name": "marketID",
  7433. "in": "query"
  7434. },
  7435. {
  7436. "type": "integer",
  7437. "description": "方向 - 0:买 1:卖",
  7438. "name": "buyorsell",
  7439. "in": "query",
  7440. "required": true
  7441. }
  7442. ],
  7443. "responses": {
  7444. "200": {
  7445. "description": "OK",
  7446. "schema": {
  7447. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7448. }
  7449. },
  7450. "500": {
  7451. "description": "Internal Server Error",
  7452. "schema": {
  7453. "$ref": "#/definitions/app.Response"
  7454. }
  7455. }
  7456. }
  7457. }
  7458. },
  7459. "/User/AddMessageBoard": {
  7460. "post": {
  7461. "security": [
  7462. {
  7463. "ApiKeyAuth": []
  7464. }
  7465. ],
  7466. "produces": [
  7467. "application/json"
  7468. ],
  7469. "tags": [
  7470. "用户信息"
  7471. ],
  7472. "summary": "添加用户留言板信息",
  7473. "parameters": [
  7474. {
  7475. "type": "integer",
  7476. "description": "用户ID",
  7477. "name": "userID",
  7478. "in": "query",
  7479. "required": true
  7480. },
  7481. {
  7482. "type": "string",
  7483. "description": "留言信息",
  7484. "name": "message",
  7485. "in": "query",
  7486. "required": true
  7487. },
  7488. {
  7489. "type": "string",
  7490. "description": "联系电话",
  7491. "name": "contactNum",
  7492. "in": "query",
  7493. "required": true
  7494. }
  7495. ],
  7496. "responses": {
  7497. "200": {
  7498. "description": "OK",
  7499. "schema": {
  7500. "$ref": "#/definitions/app.Response"
  7501. }
  7502. },
  7503. "500": {
  7504. "description": "Internal Server Error",
  7505. "schema": {
  7506. "$ref": "#/definitions/app.Response"
  7507. }
  7508. }
  7509. }
  7510. }
  7511. },
  7512. "/User/AddUserFavoriteGoods": {
  7513. "post": {
  7514. "security": [
  7515. {
  7516. "ApiKeyAuth": []
  7517. }
  7518. ],
  7519. "produces": [
  7520. "application/json"
  7521. ],
  7522. "tags": [
  7523. "用户信息"
  7524. ],
  7525. "summary": "添加用户商品收藏信息",
  7526. "parameters": [
  7527. {
  7528. "type": "integer",
  7529. "description": "用户ID",
  7530. "name": "userID",
  7531. "in": "query",
  7532. "required": true
  7533. },
  7534. {
  7535. "type": "integer",
  7536. "description": "商品ID",
  7537. "name": "goodsID",
  7538. "in": "query",
  7539. "required": true
  7540. }
  7541. ],
  7542. "responses": {
  7543. "200": {
  7544. "description": "OK",
  7545. "schema": {
  7546. "$ref": "#/definitions/app.Response"
  7547. }
  7548. },
  7549. "500": {
  7550. "description": "Internal Server Error",
  7551. "schema": {
  7552. "$ref": "#/definitions/app.Response"
  7553. }
  7554. }
  7555. }
  7556. }
  7557. },
  7558. "/User/GetLoginID": {
  7559. "get": {
  7560. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7561. "produces": [
  7562. "application/json"
  7563. ],
  7564. "tags": [
  7565. "用户信息"
  7566. ],
  7567. "summary": "获取登录ID",
  7568. "parameters": [
  7569. {
  7570. "type": "string",
  7571. "description": "登录代码",
  7572. "name": "username",
  7573. "in": "query",
  7574. "required": true
  7575. }
  7576. ],
  7577. "responses": {
  7578. "200": {
  7579. "description": "OK",
  7580. "schema": {
  7581. "$ref": "#/definitions/app.Response"
  7582. }
  7583. },
  7584. "500": {
  7585. "description": "Internal Server Error",
  7586. "schema": {
  7587. "$ref": "#/definitions/app.Response"
  7588. }
  7589. }
  7590. }
  7591. }
  7592. },
  7593. "/User/GetUserAccount": {
  7594. "get": {
  7595. "security": [
  7596. {
  7597. "ApiKeyAuth": []
  7598. }
  7599. ],
  7600. "produces": [
  7601. "application/json"
  7602. ],
  7603. "tags": [
  7604. "用户信息"
  7605. ],
  7606. "summary": "获取用户账号信息",
  7607. "parameters": [
  7608. {
  7609. "type": "integer",
  7610. "description": "用户ID",
  7611. "name": "userID",
  7612. "in": "query",
  7613. "required": true
  7614. }
  7615. ],
  7616. "responses": {
  7617. "200": {
  7618. "description": "OK",
  7619. "schema": {
  7620. "$ref": "#/definitions/models.Useraccount"
  7621. }
  7622. },
  7623. "500": {
  7624. "description": "Internal Server Error",
  7625. "schema": {
  7626. "$ref": "#/definitions/app.Response"
  7627. }
  7628. }
  7629. }
  7630. }
  7631. },
  7632. "/User/GetUserAuthStatus": {
  7633. "get": {
  7634. "security": [
  7635. {
  7636. "ApiKeyAuth": []
  7637. }
  7638. ],
  7639. "produces": [
  7640. "application/json"
  7641. ],
  7642. "tags": [
  7643. "用户信息"
  7644. ],
  7645. "summary": "获取用户实名认证状态",
  7646. "parameters": [
  7647. {
  7648. "type": "integer",
  7649. "description": "用户ID",
  7650. "name": "userID",
  7651. "in": "query",
  7652. "required": true
  7653. }
  7654. ],
  7655. "responses": {
  7656. "200": {
  7657. "description": "OK",
  7658. "schema": {
  7659. "$ref": "#/definitions/app.Response"
  7660. }
  7661. },
  7662. "500": {
  7663. "description": "Internal Server Error",
  7664. "schema": {
  7665. "$ref": "#/definitions/app.Response"
  7666. }
  7667. }
  7668. }
  7669. }
  7670. },
  7671. "/User/LoginQuery": {
  7672. "get": {
  7673. "security": [
  7674. {
  7675. "ApiKeyAuth": []
  7676. }
  7677. ],
  7678. "produces": [
  7679. "application/json"
  7680. ],
  7681. "tags": [
  7682. "用户信息"
  7683. ],
  7684. "summary": "账户登录后信息查询",
  7685. "parameters": [
  7686. {
  7687. "type": "integer",
  7688. "description": "登录账号",
  7689. "name": "loginID",
  7690. "in": "query",
  7691. "required": true
  7692. }
  7693. ],
  7694. "responses": {
  7695. "200": {
  7696. "description": "OK",
  7697. "schema": {
  7698. "$ref": "#/definitions/user.LoginQueryRsp"
  7699. }
  7700. },
  7701. "500": {
  7702. "description": "Internal Server Error",
  7703. "schema": {
  7704. "$ref": "#/definitions/app.Response"
  7705. }
  7706. }
  7707. }
  7708. }
  7709. },
  7710. "/User/QueryMessageBoard": {
  7711. "get": {
  7712. "security": [
  7713. {
  7714. "ApiKeyAuth": []
  7715. }
  7716. ],
  7717. "produces": [
  7718. "application/json"
  7719. ],
  7720. "tags": [
  7721. "用户信息"
  7722. ],
  7723. "summary": "获取用户留言板信息",
  7724. "parameters": [
  7725. {
  7726. "type": "integer",
  7727. "description": "用户ID",
  7728. "name": "userID",
  7729. "in": "query",
  7730. "required": true
  7731. }
  7732. ],
  7733. "responses": {
  7734. "200": {
  7735. "description": "OK",
  7736. "schema": {
  7737. "$ref": "#/definitions/models.Messageboard"
  7738. }
  7739. },
  7740. "500": {
  7741. "description": "Internal Server Error",
  7742. "schema": {
  7743. "$ref": "#/definitions/app.Response"
  7744. }
  7745. }
  7746. }
  7747. }
  7748. },
  7749. "/User/QueryUserFavoriteGoodses": {
  7750. "get": {
  7751. "security": [
  7752. {
  7753. "ApiKeyAuth": []
  7754. }
  7755. ],
  7756. "produces": [
  7757. "application/json"
  7758. ],
  7759. "tags": [
  7760. "用户信息"
  7761. ],
  7762. "summary": "获取用户商品收藏信息",
  7763. "parameters": [
  7764. {
  7765. "type": "integer",
  7766. "description": "用户ID",
  7767. "name": "userID",
  7768. "in": "query",
  7769. "required": true
  7770. }
  7771. ],
  7772. "responses": {
  7773. "200": {
  7774. "description": "OK",
  7775. "schema": {
  7776. "$ref": "#/definitions/models.Userfavoritegoods"
  7777. }
  7778. },
  7779. "500": {
  7780. "description": "Internal Server Error",
  7781. "schema": {
  7782. "$ref": "#/definitions/app.Response"
  7783. }
  7784. }
  7785. }
  7786. }
  7787. },
  7788. "/User/QueryUserInfo": {
  7789. "get": {
  7790. "security": [
  7791. {
  7792. "ApiKeyAuth": []
  7793. }
  7794. ],
  7795. "produces": [
  7796. "application/json"
  7797. ],
  7798. "tags": [
  7799. "用户信息"
  7800. ],
  7801. "summary": "获取用户信息",
  7802. "parameters": [
  7803. {
  7804. "type": "integer",
  7805. "description": "用户ID",
  7806. "name": "userID",
  7807. "in": "query",
  7808. "required": true
  7809. },
  7810. {
  7811. "type": "boolean",
  7812. "description": "是否解密",
  7813. "name": "isDecrypt",
  7814. "in": "query"
  7815. }
  7816. ],
  7817. "responses": {
  7818. "200": {
  7819. "description": "OK",
  7820. "schema": {
  7821. "$ref": "#/definitions/models.Userinfo"
  7822. }
  7823. },
  7824. "500": {
  7825. "description": "Internal Server Error",
  7826. "schema": {
  7827. "$ref": "#/definitions/app.Response"
  7828. }
  7829. }
  7830. }
  7831. }
  7832. },
  7833. "/User/QueryUserReferNum": {
  7834. "get": {
  7835. "produces": [
  7836. "application/json"
  7837. ],
  7838. "tags": [
  7839. "用户信息"
  7840. ],
  7841. "summary": "获取用户邀请码",
  7842. "parameters": [
  7843. {
  7844. "type": "integer",
  7845. "description": "用户ID",
  7846. "name": "userID",
  7847. "in": "query",
  7848. "required": true
  7849. }
  7850. ],
  7851. "responses": {
  7852. "200": {
  7853. "description": "OK",
  7854. "schema": {
  7855. "$ref": "#/definitions/app.Response"
  7856. }
  7857. },
  7858. "500": {
  7859. "description": "Internal Server Error",
  7860. "schema": {
  7861. "$ref": "#/definitions/app.Response"
  7862. }
  7863. }
  7864. }
  7865. }
  7866. },
  7867. "/User/RemoveUserFavoriteGoods": {
  7868. "post": {
  7869. "security": [
  7870. {
  7871. "ApiKeyAuth": []
  7872. }
  7873. ],
  7874. "produces": [
  7875. "application/json"
  7876. ],
  7877. "tags": [
  7878. "用户信息"
  7879. ],
  7880. "summary": "移除用户商品收藏信息",
  7881. "parameters": [
  7882. {
  7883. "type": "integer",
  7884. "description": "用户ID",
  7885. "name": "userID",
  7886. "in": "query",
  7887. "required": true
  7888. },
  7889. {
  7890. "type": "integer",
  7891. "description": "商品ID",
  7892. "name": "goodsID",
  7893. "in": "query",
  7894. "required": true
  7895. }
  7896. ],
  7897. "responses": {
  7898. "200": {
  7899. "description": "OK",
  7900. "schema": {
  7901. "$ref": "#/definitions/app.Response"
  7902. }
  7903. },
  7904. "500": {
  7905. "description": "Internal Server Error",
  7906. "schema": {
  7907. "$ref": "#/definitions/app.Response"
  7908. }
  7909. }
  7910. }
  7911. }
  7912. },
  7913. "/User/UpdateUserAccountStatus": {
  7914. "post": {
  7915. "security": [
  7916. {
  7917. "ApiKeyAuth": []
  7918. }
  7919. ],
  7920. "produces": [
  7921. "application/json"
  7922. ],
  7923. "tags": [
  7924. "用户信息"
  7925. ],
  7926. "summary": "更新用户状态",
  7927. "parameters": [
  7928. {
  7929. "type": "integer",
  7930. "description": "用户ID",
  7931. "name": "userID",
  7932. "in": "query",
  7933. "required": true
  7934. },
  7935. {
  7936. "type": "integer",
  7937. "description": "账户状态 - 4:正常 6:注销(停用)",
  7938. "name": "accountStatus",
  7939. "in": "query",
  7940. "required": true
  7941. }
  7942. ],
  7943. "responses": {
  7944. "200": {
  7945. "description": "OK",
  7946. "schema": {
  7947. "$ref": "#/definitions/app.Response"
  7948. }
  7949. },
  7950. "500": {
  7951. "description": "Internal Server Error",
  7952. "schema": {
  7953. "$ref": "#/definitions/app.Response"
  7954. }
  7955. }
  7956. }
  7957. }
  7958. },
  7959. "/WRTrade/GetAllDeliveryGoods": {
  7960. "get": {
  7961. "security": [
  7962. {
  7963. "ApiKeyAuth": []
  7964. },
  7965. {
  7966. "ApiKeyAuth": []
  7967. }
  7968. ],
  7969. "produces": [
  7970. "application/json",
  7971. "application/json"
  7972. ],
  7973. "tags": [
  7974. "仓单贸易",
  7975. "仓单贸易"
  7976. ],
  7977. "summary": "获取带仓单分类的种类信息",
  7978. "responses": {
  7979. "200": {
  7980. "description": "OK",
  7981. "schema": {
  7982. "$ref": "#/definitions/app.Response"
  7983. }
  7984. },
  7985. "500": {
  7986. "description": "Internal Server Error",
  7987. "schema": {
  7988. "$ref": "#/definitions/app.Response"
  7989. }
  7990. }
  7991. }
  7992. }
  7993. }
  7994. },
  7995. "definitions": {
  7996. "app.Response": {
  7997. "type": "object",
  7998. "properties": {
  7999. "code": {
  8000. "type": "integer"
  8001. },
  8002. "data": {
  8003. "type": "object"
  8004. },
  8005. "msg": {
  8006. "type": "string"
  8007. },
  8008. "page": {
  8009. "description": "页码",
  8010. "type": "integer"
  8011. },
  8012. "pagesize": {
  8013. "description": "每页条数",
  8014. "type": "integer"
  8015. },
  8016. "total": {
  8017. "description": "总条数",
  8018. "type": "integer"
  8019. }
  8020. }
  8021. },
  8022. "common.ClientMenu": {
  8023. "type": "object",
  8024. "properties": {
  8025. "children": {
  8026. "description": "子菜单列表",
  8027. "type": "array",
  8028. "items": {
  8029. "$ref": "#/definitions/common.ClientMenu"
  8030. }
  8031. },
  8032. "code": {
  8033. "description": "ID",
  8034. "type": "string"
  8035. },
  8036. "isshow": {
  8037. "description": "是否显示",
  8038. "type": "boolean"
  8039. },
  8040. "rulekey": {
  8041. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8042. "type": "string"
  8043. },
  8044. "sort": {
  8045. "description": "排序",
  8046. "type": "integer"
  8047. },
  8048. "title": {
  8049. "description": "标题",
  8050. "type": "string"
  8051. },
  8052. "type": {
  8053. "description": "类型,1:菜单 2:按钮",
  8054. "type": "integer"
  8055. }
  8056. }
  8057. },
  8058. "common.QueryImageConfigsRsp": {
  8059. "type": "object",
  8060. "required": [
  8061. "configid"
  8062. ],
  8063. "properties": {
  8064. "areauserid": {
  8065. "description": "所属机构ID",
  8066. "type": "integer"
  8067. },
  8068. "configid": {
  8069. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8070. "type": "integer"
  8071. },
  8072. "createdate": {
  8073. "description": "创建时间",
  8074. "type": "string"
  8075. },
  8076. "creatorid": {
  8077. "description": "创建人",
  8078. "type": "integer"
  8079. },
  8080. "imagepath": {
  8081. "description": "图片",
  8082. "type": "string"
  8083. },
  8084. "imagetype": {
  8085. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8086. "type": "integer"
  8087. },
  8088. "isshow": {
  8089. "description": "是否展示 - 0:不展示 1:展示",
  8090. "type": "integer"
  8091. },
  8092. "marketid": {
  8093. "description": "市场ID",
  8094. "type": "integer"
  8095. },
  8096. "modifierid": {
  8097. "description": "操作人",
  8098. "type": "integer"
  8099. },
  8100. "sort": {
  8101. "description": "排序",
  8102. "type": "integer"
  8103. },
  8104. "title": {
  8105. "description": "标题",
  8106. "type": "string"
  8107. },
  8108. "trademode": {
  8109. "description": "交易模式",
  8110. "type": "integer"
  8111. },
  8112. "updatedate": {
  8113. "description": "修改时间",
  8114. "type": "string"
  8115. },
  8116. "url": {
  8117. "description": "链接(地址或商品ID)",
  8118. "type": "string"
  8119. },
  8120. "urltype": {
  8121. "description": "链接类型 - 1:直接地址 2:商品ID",
  8122. "type": "integer"
  8123. }
  8124. }
  8125. },
  8126. "common.QueryNoticeRsp": {
  8127. "type": "object",
  8128. "required": [
  8129. "autoid"
  8130. ],
  8131. "properties": {
  8132. "auditoruserid": {
  8133. "description": "审核人",
  8134. "type": "integer"
  8135. },
  8136. "auditremark": {
  8137. "description": "审核备注",
  8138. "type": "string"
  8139. },
  8140. "audittime": {
  8141. "description": "审核日期",
  8142. "type": "string"
  8143. },
  8144. "autoid": {
  8145. "description": "自增ID",
  8146. "type": "integer"
  8147. },
  8148. "content": {
  8149. "description": "内容",
  8150. "type": "string"
  8151. },
  8152. "createtime": {
  8153. "description": "创建时间",
  8154. "type": "string"
  8155. },
  8156. "creatorid": {
  8157. "description": "建仓人",
  8158. "type": "integer"
  8159. },
  8160. "endtime": {
  8161. "description": "结束时间",
  8162. "type": "string"
  8163. },
  8164. "istop": {
  8165. "description": "是否置顶 - 0:不置顶 1:置顶",
  8166. "type": "integer"
  8167. },
  8168. "msgiconurl": {
  8169. "description": "消息图标Url",
  8170. "type": "string"
  8171. },
  8172. "msgtype": {
  8173. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8174. "type": "integer"
  8175. },
  8176. "publisher": {
  8177. "description": "消息发布者",
  8178. "type": "string"
  8179. },
  8180. "readed": {
  8181. "description": "是否已读",
  8182. "type": "boolean"
  8183. },
  8184. "scheduletime": {
  8185. "description": "计划发送时间",
  8186. "type": "string"
  8187. },
  8188. "sendtype": {
  8189. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8190. "type": "integer"
  8191. },
  8192. "sentstatus": {
  8193. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8194. "type": "integer"
  8195. },
  8196. "title": {
  8197. "description": "标题",
  8198. "type": "string"
  8199. },
  8200. "userid": {
  8201. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8202. "type": "integer"
  8203. }
  8204. }
  8205. },
  8206. "common.QueryProvincesAndCitiesRsp": {
  8207. "type": "object",
  8208. "properties": {
  8209. "cities": {
  8210. "description": "市",
  8211. "type": "array",
  8212. "items": {
  8213. "$ref": "#/definitions/models.Division"
  8214. }
  8215. },
  8216. "province": {
  8217. "description": "省",
  8218. "type": "object",
  8219. "$ref": "#/definitions/models.Division"
  8220. }
  8221. }
  8222. },
  8223. "common.QueryTableDefineRsp": {
  8224. "type": "object",
  8225. "required": [
  8226. "tablekey"
  8227. ],
  8228. "properties": {
  8229. "columns": {
  8230. "description": "列头信息数组",
  8231. "type": "array",
  8232. "items": {
  8233. "$ref": "#/definitions/models.Tablecolumnconfig"
  8234. }
  8235. },
  8236. "remark": {
  8237. "description": "Remark",
  8238. "type": "string"
  8239. },
  8240. "tabelmenu": {
  8241. "description": "列表菜单",
  8242. "type": "string"
  8243. },
  8244. "tablekey": {
  8245. "description": "列表Key",
  8246. "type": "string"
  8247. },
  8248. "tablename": {
  8249. "description": "列表名称",
  8250. "type": "string"
  8251. },
  8252. "tabletype": {
  8253. "description": "列表类型 - 1:管理端 2:终端",
  8254. "type": "integer"
  8255. }
  8256. }
  8257. },
  8258. "common.QueryTraderMenuRsp": {
  8259. "type": "object",
  8260. "properties": {
  8261. "OperationMenu": {
  8262. "description": "功能菜单",
  8263. "type": "array",
  8264. "items": {
  8265. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8266. }
  8267. },
  8268. "QuoteMenu": {
  8269. "description": "报价牌分类菜单",
  8270. "type": "array",
  8271. "items": {
  8272. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8273. }
  8274. }
  8275. }
  8276. },
  8277. "cptrade.Cptradepositioncancel": {
  8278. "type": "object",
  8279. "required": [
  8280. "cancelid"
  8281. ],
  8282. "properties": {
  8283. "accountid": {
  8284. "description": "申请人账户ID",
  8285. "type": "integer"
  8286. },
  8287. "applystatus": {
  8288. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8289. "type": "integer"
  8290. },
  8291. "applytime": {
  8292. "description": "申请时间",
  8293. "type": "string"
  8294. },
  8295. "cancelid": {
  8296. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8297. "type": "integer"
  8298. },
  8299. "cancelqty": {
  8300. "description": "注销数量",
  8301. "type": "integer"
  8302. },
  8303. "createtime": {
  8304. "description": "创建时间",
  8305. "type": "string"
  8306. },
  8307. "creatorid": {
  8308. "description": "创建人ID",
  8309. "type": "integer"
  8310. },
  8311. "creatorname": {
  8312. "description": "创建人",
  8313. "type": "string"
  8314. },
  8315. "goodscode": {
  8316. "description": "订单商品代码",
  8317. "type": "string"
  8318. },
  8319. "goodsid": {
  8320. "description": "商品ID",
  8321. "type": "integer"
  8322. },
  8323. "goodsname": {
  8324. "description": "订单商品名称",
  8325. "type": "string"
  8326. },
  8327. "goodunit": {
  8328. "description": "报价单位",
  8329. "type": "string"
  8330. },
  8331. "handlestatus": {
  8332. "description": "处理状态",
  8333. "type": "integer"
  8334. },
  8335. "marketid": {
  8336. "description": "市场ID",
  8337. "type": "integer"
  8338. },
  8339. "marketname": {
  8340. "description": "市场名称",
  8341. "type": "string"
  8342. },
  8343. "tradedate": {
  8344. "description": "交易日(yyyyMMdd)",
  8345. "type": "string"
  8346. },
  8347. "userid": {
  8348. "description": "申请人ID",
  8349. "type": "integer"
  8350. }
  8351. }
  8352. },
  8353. "cptrade.Cptradepresaleapply": {
  8354. "type": "object",
  8355. "required": [
  8356. "applyid"
  8357. ],
  8358. "properties": {
  8359. "accountid": {
  8360. "description": "申请人账户ID",
  8361. "type": "integer"
  8362. },
  8363. "applyid": {
  8364. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8365. "type": "integer"
  8366. },
  8367. "applyremark": {
  8368. "description": "申请备注",
  8369. "type": "string"
  8370. },
  8371. "applystatus": {
  8372. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8373. "type": "integer"
  8374. },
  8375. "applytime": {
  8376. "description": "申请时间",
  8377. "type": "string"
  8378. },
  8379. "attachmenturl": {
  8380. "description": "附件地址",
  8381. "type": "string"
  8382. },
  8383. "endtime": {
  8384. "description": "预售结束时间",
  8385. "type": "string"
  8386. },
  8387. "goodscode": {
  8388. "description": "商品代码",
  8389. "type": "string"
  8390. },
  8391. "goodsid": {
  8392. "description": "商品ID",
  8393. "type": "integer"
  8394. },
  8395. "goodsname": {
  8396. "description": "商品名称",
  8397. "type": "string"
  8398. },
  8399. "goodunit": {
  8400. "description": "报价单位",
  8401. "type": "string"
  8402. },
  8403. "handlestatus": {
  8404. "description": "处理状态",
  8405. "type": "integer"
  8406. },
  8407. "marketid": {
  8408. "description": "预售市场ID",
  8409. "type": "integer"
  8410. },
  8411. "marketname": {
  8412. "description": "预售市场名称",
  8413. "type": "string"
  8414. },
  8415. "presaleqty": {
  8416. "description": "预售数量",
  8417. "type": "integer"
  8418. },
  8419. "relatedgoodscode": {
  8420. "description": "关联交易合约代码",
  8421. "type": "string"
  8422. },
  8423. "relatedgoodsid": {
  8424. "description": "关联交易合约ID",
  8425. "type": "integer"
  8426. },
  8427. "relatedgoodsname": {
  8428. "description": "关联交易合约名称",
  8429. "type": "string"
  8430. },
  8431. "starttime": {
  8432. "description": "预售开始时间",
  8433. "type": "string"
  8434. },
  8435. "tradedate": {
  8436. "description": "交易日(yyyyMMdd)",
  8437. "type": "string"
  8438. },
  8439. "trademode": {
  8440. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8441. "type": "integer"
  8442. },
  8443. "userid": {
  8444. "description": "申请人ID",
  8445. "type": "integer"
  8446. }
  8447. }
  8448. },
  8449. "cptrade.Cptradeusergoodsdata": {
  8450. "type": "object",
  8451. "required": [
  8452. "accountid",
  8453. "goodsid"
  8454. ],
  8455. "properties": {
  8456. "EnabledQty": {
  8457. "description": "可用量",
  8458. "type": "integer"
  8459. },
  8460. "GoodsCode": {
  8461. "description": "订单商品代码",
  8462. "type": "string"
  8463. },
  8464. "GoodsName": {
  8465. "description": "订单商品名称",
  8466. "type": "string"
  8467. },
  8468. "WRStandardCode": {
  8469. "description": "仓单标准代码",
  8470. "type": "string"
  8471. },
  8472. "WRStandardName": {
  8473. "description": "仓单标准名称",
  8474. "type": "string"
  8475. },
  8476. "accountid": {
  8477. "description": "账户ID",
  8478. "type": "integer"
  8479. },
  8480. "cancelqty": {
  8481. "description": "注销量",
  8482. "type": "integer"
  8483. },
  8484. "curpresaleqty": {
  8485. "description": "当前预售量",
  8486. "type": "integer"
  8487. },
  8488. "deliveryqty": {
  8489. "description": "交割量",
  8490. "type": "integer"
  8491. },
  8492. "freezeamount": {
  8493. "description": "冻结金额",
  8494. "type": "number"
  8495. },
  8496. "goodsid": {
  8497. "description": "商品ID",
  8498. "type": "integer"
  8499. },
  8500. "goodunit": {
  8501. "description": "报价单位",
  8502. "type": "string"
  8503. },
  8504. "hasspotfreeze": {
  8505. "description": "是否有现货冻结 - 0:否 1:有",
  8506. "type": "integer"
  8507. },
  8508. "inqty": {
  8509. "description": "转入量(总数量)",
  8510. "type": "integer"
  8511. },
  8512. "marketid": {
  8513. "description": "市场ID",
  8514. "type": "integer"
  8515. },
  8516. "presaledamount": {
  8517. "description": "已预售总金额",
  8518. "type": "integer"
  8519. },
  8520. "presaledqty": {
  8521. "description": "已预售量",
  8522. "type": "integer"
  8523. },
  8524. "userid": {
  8525. "description": "用户ID",
  8526. "type": "integer"
  8527. },
  8528. "wrstandardid": {
  8529. "description": "仓单标准ID",
  8530. "type": "integer"
  8531. }
  8532. }
  8533. },
  8534. "cptrade.QueryCPTradeMyBidRsp": {
  8535. "type": "object",
  8536. "required": [
  8537. "accountid",
  8538. "goodsid",
  8539. "marketid",
  8540. "orderid",
  8541. "orderqty",
  8542. "ordertime",
  8543. "tradeprice",
  8544. "tradeqty"
  8545. ],
  8546. "properties": {
  8547. "accountid": {
  8548. "description": "账户ID[报价币种]",
  8549. "type": "integer"
  8550. },
  8551. "goodsid": {
  8552. "description": "商品ID",
  8553. "type": "integer"
  8554. },
  8555. "goodunit": {
  8556. "description": "报价单位",
  8557. "type": "string"
  8558. },
  8559. "marketid": {
  8560. "description": "市场ID",
  8561. "type": "integer"
  8562. },
  8563. "orderid": {
  8564. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8565. "type": "integer"
  8566. },
  8567. "orderprice": {
  8568. "description": "委托价格",
  8569. "type": "number"
  8570. },
  8571. "orderqty": {
  8572. "description": "委托数量",
  8573. "type": "integer"
  8574. },
  8575. "ordertime": {
  8576. "description": "委托时间",
  8577. "type": "string"
  8578. },
  8579. "ordertotalprice": {
  8580. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8581. "type": "number"
  8582. },
  8583. "ordertotalweight": {
  8584. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8585. "type": "integer"
  8586. },
  8587. "totaltotalprice": {
  8588. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8589. "type": "number"
  8590. },
  8591. "tradeprice": {
  8592. "description": "成交价格",
  8593. "type": "number"
  8594. },
  8595. "tradeqty": {
  8596. "description": "成交数量",
  8597. "type": "integer"
  8598. }
  8599. }
  8600. },
  8601. "cptrade.QueryCPTradeOrderDetailRsq": {
  8602. "type": "object",
  8603. "required": [
  8604. "accountid",
  8605. "buildtype",
  8606. "buyorsell",
  8607. "goodsid",
  8608. "marketid",
  8609. "memberuserid",
  8610. "operatetype",
  8611. "orderqty",
  8612. "ordertime",
  8613. "pricemode",
  8614. "strorderid",
  8615. "tradedate",
  8616. "validtype"
  8617. ],
  8618. "properties": {
  8619. "accountid": {
  8620. "description": "账户ID[报价币种]",
  8621. "type": "integer"
  8622. },
  8623. "buildtype": {
  8624. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8625. "type": "integer"
  8626. },
  8627. "buyorsell": {
  8628. "description": "买卖 - 0:买 1:卖",
  8629. "type": "integer"
  8630. },
  8631. "cancelorderid": {
  8632. "description": "撤单单号(撤单时填写)",
  8633. "type": "integer"
  8634. },
  8635. "cancelqty": {
  8636. "description": "撤单数量",
  8637. "type": "integer"
  8638. },
  8639. "clientordertime": {
  8640. "description": "客户端委托时间",
  8641. "type": "string"
  8642. },
  8643. "clientticket": {
  8644. "description": "客户端流水号",
  8645. "type": "string"
  8646. },
  8647. "clienttype": {
  8648. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8649. "type": "integer"
  8650. },
  8651. "closeexchagechargevalue": {
  8652. "description": "平仓交易所手续费设置值",
  8653. "type": "number"
  8654. },
  8655. "closefeealgorithm": {
  8656. "description": "平仓手续费收取方式 1:比率 2:固定",
  8657. "type": "integer"
  8658. },
  8659. "closefreezecharge": {
  8660. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8661. "type": "number"
  8662. },
  8663. "closememberchargevalue": {
  8664. "description": "平仓会员手续费设置值",
  8665. "type": "number"
  8666. },
  8667. "closeqty": {
  8668. "description": "平仓数量(先建后平操作 需要记录)",
  8669. "type": "integer"
  8670. },
  8671. "closetradeqty": {
  8672. "description": "平仓成交数量(先建后平操作,需要记录)",
  8673. "type": "integer"
  8674. },
  8675. "closeunfreezecharge": {
  8676. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8677. "type": "number"
  8678. },
  8679. "delistingtype": {
  8680. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8681. "type": "integer"
  8682. },
  8683. "freezecharge": {
  8684. "description": "冻结手续费",
  8685. "type": "number"
  8686. },
  8687. "freezemargin": {
  8688. "description": "冻结保证金(冻结交易金额)",
  8689. "type": "number"
  8690. },
  8691. "gcaccountid": {
  8692. "description": "账户ID[合约币种]",
  8693. "type": "integer"
  8694. },
  8695. "goodsid": {
  8696. "description": "商品ID",
  8697. "type": "integer"
  8698. },
  8699. "isconfirmexercise": {
  8700. "description": "是否确认行权- 0:否 1:是",
  8701. "type": "integer"
  8702. },
  8703. "ispreexercise": {
  8704. "description": "是否预申报- 0:否 1:是",
  8705. "type": "integer"
  8706. },
  8707. "listingselecttype": {
  8708. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8709. "type": "integer"
  8710. },
  8711. "marginalgorithm": {
  8712. "description": "保证金收取方式 1:比率 2:固定",
  8713. "type": "integer"
  8714. },
  8715. "marginvalue": {
  8716. "description": "即市保证金设置值",
  8717. "type": "number"
  8718. },
  8719. "marketid": {
  8720. "description": "市场ID",
  8721. "type": "integer"
  8722. },
  8723. "marketmaxsub": {
  8724. "description": "市价最大偏移范围",
  8725. "type": "number"
  8726. },
  8727. "memberuserid": {
  8728. "description": "所属会员UserID",
  8729. "type": "integer"
  8730. },
  8731. "openexchagechargevalue": {
  8732. "description": "建仓交易所手续费设置值",
  8733. "type": "number"
  8734. },
  8735. "openfeealgorithm": {
  8736. "description": "建仓手续费收取方式 1:比率 2:固定",
  8737. "type": "integer"
  8738. },
  8739. "openfreezecharge": {
  8740. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8741. "type": "number"
  8742. },
  8743. "openmemberchargevalue": {
  8744. "description": "建仓会员手续费设置值",
  8745. "type": "number"
  8746. },
  8747. "openqty": {
  8748. "description": "开仓数量(先建后平操作,需要记录)",
  8749. "type": "integer"
  8750. },
  8751. "opentradeqty": {
  8752. "description": "开仓成交数量(先建后平操作,需要记录)",
  8753. "type": "integer"
  8754. },
  8755. "openunfreezecharge": {
  8756. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8757. "type": "number"
  8758. },
  8759. "operatetype": {
  8760. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8761. "type": "integer"
  8762. },
  8763. "operatorid": {
  8764. "description": "登录账号(LoginID)",
  8765. "type": "integer"
  8766. },
  8767. "optiontype": {
  8768. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8769. "type": "integer"
  8770. },
  8771. "orderprice": {
  8772. "description": "委托价格",
  8773. "type": "number"
  8774. },
  8775. "orderqty": {
  8776. "description": "委托数量",
  8777. "type": "integer"
  8778. },
  8779. "ordersrc": {
  8780. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8781. "type": "integer"
  8782. },
  8783. "orderstatus": {
  8784. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8785. "type": "integer"
  8786. },
  8787. "ordertime": {
  8788. "description": "委托时间",
  8789. "type": "string"
  8790. },
  8791. "preexerciseprice": {
  8792. "description": "预申报价格",
  8793. "type": "number"
  8794. },
  8795. "premium": {
  8796. "description": "权利金",
  8797. "type": "number"
  8798. },
  8799. "preorderid": {
  8800. "description": "关联预埋单号(止盈止损单时填写)",
  8801. "type": "integer"
  8802. },
  8803. "pricemode": {
  8804. "description": "取价方式 - 1:市价 2: 限价",
  8805. "type": "integer"
  8806. },
  8807. "quoteid": {
  8808. "description": "报价单ID",
  8809. "type": "integer"
  8810. },
  8811. "relatedid": {
  8812. "description": "关联单号(交割单)",
  8813. "type": "integer"
  8814. },
  8815. "retcode": {
  8816. "description": "错误代码",
  8817. "type": "integer"
  8818. },
  8819. "sessionid": {
  8820. "description": "会话ID",
  8821. "type": "integer"
  8822. },
  8823. "strorderid": {
  8824. "description": "委托单号",
  8825. "type": "string"
  8826. },
  8827. "tradedate": {
  8828. "description": "交易日(yyyyMMdd)",
  8829. "type": "string"
  8830. },
  8831. "tradeproperty": {
  8832. "description": "交易属性",
  8833. "type": "integer"
  8834. },
  8835. "tradeqty": {
  8836. "description": "成交数量",
  8837. "type": "integer"
  8838. },
  8839. "unfreezecharge": {
  8840. "description": "解冻手续费",
  8841. "type": "number"
  8842. },
  8843. "unfreezemargin": {
  8844. "description": "解冻保证金",
  8845. "type": "number"
  8846. },
  8847. "updatetime": {
  8848. "description": "更新时间",
  8849. "type": "string"
  8850. },
  8851. "uuid": {
  8852. "description": "发起端唯一id",
  8853. "type": "string"
  8854. },
  8855. "validtime": {
  8856. "description": "有效期限",
  8857. "type": "string"
  8858. },
  8859. "validtype": {
  8860. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8861. "type": "integer"
  8862. },
  8863. "volumetype": {
  8864. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8865. "type": "integer"
  8866. }
  8867. }
  8868. },
  8869. "cptrade.QueryMyCPTradeGoodsRsp": {
  8870. "type": "object",
  8871. "required": [
  8872. "goodscode",
  8873. "goodsid",
  8874. "goodsname",
  8875. "marketid",
  8876. "relatedgoodscode",
  8877. "relatedgoodsname"
  8878. ],
  8879. "properties": {
  8880. "accountid": {
  8881. "description": "卖方账户ID",
  8882. "type": "integer"
  8883. },
  8884. "agreeunit": {
  8885. "description": "合约单位",
  8886. "type": "number"
  8887. },
  8888. "applyid": {
  8889. "description": "关联申请ID",
  8890. "type": "integer"
  8891. },
  8892. "attachmenturl": {
  8893. "description": "附件地址",
  8894. "type": "string"
  8895. },
  8896. "createtime": {
  8897. "description": "创建时间",
  8898. "type": "string"
  8899. },
  8900. "currencyid": {
  8901. "description": "报价货币ID",
  8902. "type": "integer"
  8903. },
  8904. "decimalplace": {
  8905. "description": "报价小数位",
  8906. "type": "integer"
  8907. },
  8908. "endtime": {
  8909. "description": "预售结束时间",
  8910. "type": "string"
  8911. },
  8912. "floorprice": {
  8913. "description": "底价[大宗式竞拍]",
  8914. "type": "number"
  8915. },
  8916. "goodscode": {
  8917. "description": "商品代码(预售)",
  8918. "type": "string"
  8919. },
  8920. "goodsdetail": {
  8921. "description": "详情[大宗]",
  8922. "type": "string"
  8923. },
  8924. "goodsid": {
  8925. "description": "商品ID(自增ID SEQ_GOODS)",
  8926. "type": "integer"
  8927. },
  8928. "goodsname": {
  8929. "description": "商品名称(预售)",
  8930. "type": "string"
  8931. },
  8932. "goodunit": {
  8933. "description": "报价单位",
  8934. "type": "string"
  8935. },
  8936. "goodunitid": {
  8937. "description": "报价单位ID",
  8938. "type": "integer"
  8939. },
  8940. "marketid": {
  8941. "description": "所属市场ID",
  8942. "type": "integer"
  8943. },
  8944. "marketname": {
  8945. "description": "预售市场名称",
  8946. "type": "string"
  8947. },
  8948. "presaledamount": {
  8949. "description": "已预售总金额(预售结束时更新)",
  8950. "type": "number"
  8951. },
  8952. "presaledqty": {
  8953. "description": "已预售量(预售结束时更新)",
  8954. "type": "integer"
  8955. },
  8956. "presalemode": {
  8957. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8958. "type": "integer"
  8959. },
  8960. "presaleqty": {
  8961. "description": "预售数量",
  8962. "type": "integer"
  8963. },
  8964. "refprice": {
  8965. "description": "参考价格[一口价]",
  8966. "type": "number"
  8967. },
  8968. "relatedgoodscode": {
  8969. "description": "商品代码(订单)",
  8970. "type": "string"
  8971. },
  8972. "relatedgoodsid": {
  8973. "description": "关联交易合约ID",
  8974. "type": "integer"
  8975. },
  8976. "relatedgoodsname": {
  8977. "description": "商品名称(订单)",
  8978. "type": "string"
  8979. },
  8980. "relatedmarketid": {
  8981. "description": "关联交易合约市场ID",
  8982. "type": "integer"
  8983. },
  8984. "sellstatus": {
  8985. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8986. "type": "integer"
  8987. },
  8988. "startprice": {
  8989. "description": "起拍价[大宗式竞拍]",
  8990. "type": "number"
  8991. },
  8992. "starttime": {
  8993. "description": "预售开始时间",
  8994. "type": "string"
  8995. },
  8996. "tradedate": {
  8997. "description": "交易日(yyyyMMdd)",
  8998. "type": "string"
  8999. },
  9000. "tradeprice": {
  9001. "description": "成交价[大宗]",
  9002. "type": "number"
  9003. },
  9004. "userid": {
  9005. "description": "卖方用户ID",
  9006. "type": "integer"
  9007. }
  9008. }
  9009. },
  9010. "cptrade.QueryPresaleGoodsExRsp": {
  9011. "type": "object",
  9012. "required": [
  9013. "goodsid"
  9014. ],
  9015. "properties": {
  9016. "attachmenturl": {
  9017. "description": "附件地址",
  9018. "type": "string"
  9019. },
  9020. "createtime": {
  9021. "description": "创建时间",
  9022. "type": "string"
  9023. },
  9024. "endtime": {
  9025. "description": "预售结束时间",
  9026. "type": "string"
  9027. },
  9028. "floorprice": {
  9029. "description": "底价[大宗式竞拍]",
  9030. "type": "number"
  9031. },
  9032. "goodsdetail": {
  9033. "description": "详情[大宗]",
  9034. "type": "string"
  9035. },
  9036. "goodsid": {
  9037. "description": "商品ID(预售)",
  9038. "type": "integer"
  9039. },
  9040. "goodunit": {
  9041. "description": "报价单位",
  9042. "type": "string"
  9043. },
  9044. "marketid": {
  9045. "description": "预售市场ID - 根据预售模式选择市场",
  9046. "type": "integer"
  9047. },
  9048. "presaledamount": {
  9049. "description": "已预售总金额(预售结束时更新)",
  9050. "type": "number"
  9051. },
  9052. "presaledqty": {
  9053. "description": "已预售量(预售结束时更新)",
  9054. "type": "integer"
  9055. },
  9056. "presalemode": {
  9057. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9058. "type": "integer"
  9059. },
  9060. "presaleqty": {
  9061. "description": "预售数量",
  9062. "type": "integer"
  9063. },
  9064. "refprice": {
  9065. "description": "参考价格[一口价]",
  9066. "type": "number"
  9067. },
  9068. "relatedgoodsid": {
  9069. "description": "关联交易合约ID",
  9070. "type": "integer"
  9071. },
  9072. "relatedmarketid": {
  9073. "description": "关联交易合约市场ID",
  9074. "type": "integer"
  9075. },
  9076. "sellstatus": {
  9077. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9078. "type": "integer"
  9079. },
  9080. "startprice": {
  9081. "description": "起拍价[大宗式竞拍]",
  9082. "type": "number"
  9083. },
  9084. "starttime": {
  9085. "description": "预售开始时间",
  9086. "type": "string"
  9087. },
  9088. "tradedate": {
  9089. "description": "交易日(yyyyMMdd)",
  9090. "type": "string"
  9091. },
  9092. "tradeprice": {
  9093. "description": "成交价[大宗]",
  9094. "type": "number"
  9095. }
  9096. }
  9097. },
  9098. "delivery.QueryDeliveryRelationRsp": {
  9099. "type": "object",
  9100. "required": [
  9101. "begindate",
  9102. "enddate",
  9103. "goodsid",
  9104. "mindeliveryqty",
  9105. "xdeliveryratio"
  9106. ],
  9107. "properties": {
  9108. "begindate": {
  9109. "description": "起始日期(yyyyMMdd)",
  9110. "type": "string"
  9111. },
  9112. "buytemplateid": {
  9113. "description": "买履约计划模板ID",
  9114. "type": "integer"
  9115. },
  9116. "deliverygoodscode": {
  9117. "description": "品种代码",
  9118. "type": "string"
  9119. },
  9120. "deliverygoodsid": {
  9121. "description": "交割商品",
  9122. "type": "integer"
  9123. },
  9124. "deliverygoodsname": {
  9125. "description": "品种名称",
  9126. "type": "string"
  9127. },
  9128. "deliverymode": {
  9129. "description": "交割方式 - 1:点选式 2:申报式",
  9130. "type": "integer"
  9131. },
  9132. "deliverypricerule": {
  9133. "description": "交割价规则- 1:行情价 2:建仓价",
  9134. "type": "integer"
  9135. },
  9136. "deliverytype": {
  9137. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9138. "type": "integer"
  9139. },
  9140. "enddate": {
  9141. "description": "结束日期(yyyyMMdd)",
  9142. "type": "string"
  9143. },
  9144. "goodscode": {
  9145. "description": "商品代码",
  9146. "type": "string"
  9147. },
  9148. "goodsid": {
  9149. "description": "交易合约ID",
  9150. "type": "integer"
  9151. },
  9152. "goodsname": {
  9153. "description": "商品名称",
  9154. "type": "string"
  9155. },
  9156. "marketid": {
  9157. "description": "市场ID",
  9158. "type": "integer"
  9159. },
  9160. "mindeliveryqty": {
  9161. "description": "最小交割系数(K)",
  9162. "type": "integer"
  9163. },
  9164. "p2deliveryprice": {
  9165. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9166. "type": "number"
  9167. },
  9168. "p2deliveryratio": {
  9169. "description": "P2合约系数(p)",
  9170. "type": "integer"
  9171. },
  9172. "p2goodsid": {
  9173. "description": "P2合约ID",
  9174. "type": "integer"
  9175. },
  9176. "p2pricemode": {
  9177. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9178. "type": "integer"
  9179. },
  9180. "pdeliveryprice": {
  9181. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9182. "type": "number"
  9183. },
  9184. "pdeliveryratio": {
  9185. "description": "P合约系数(n)",
  9186. "type": "integer"
  9187. },
  9188. "pgoodsid": {
  9189. "description": "P合约ID",
  9190. "type": "integer"
  9191. },
  9192. "ppricemode": {
  9193. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9194. "type": "integer"
  9195. },
  9196. "rratio": {
  9197. "description": "兑换系数(R)",
  9198. "type": "integer"
  9199. },
  9200. "rratio1": {
  9201. "description": "兑换系数(交易合约)(R1)",
  9202. "type": "integer"
  9203. },
  9204. "rratio2": {
  9205. "description": "兑换系数(仓单标准)(R2)",
  9206. "type": "integer"
  9207. },
  9208. "selltemplateid": {
  9209. "description": "卖履约计划模板ID",
  9210. "type": "integer"
  9211. },
  9212. "wrstandardid": {
  9213. "description": "仓单标准ID",
  9214. "type": "integer"
  9215. },
  9216. "xdeliveryratio": {
  9217. "description": "交易合约系数(m)",
  9218. "type": "integer"
  9219. }
  9220. }
  9221. },
  9222. "ermcp.ExposureDetailRsp": {
  9223. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9224. },
  9225. "ermcp.ExposureHedgePosDetailRsp": {
  9226. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9227. },
  9228. "ermcp.ExposureHedgePositionRsp": {
  9229. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9230. },
  9231. "ermcp.ExposureSpotDetailRsp": {
  9232. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9233. },
  9234. "ermcp.ExposureSpotRsp": {
  9235. "$ref": "#/definitions/models.AreaSpotModel"
  9236. },
  9237. "ermcp.HisExposureRsp": {
  9238. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9239. },
  9240. "ermcp.PendingAuditCntRsp": {
  9241. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9242. },
  9243. "ermcp.QryAvalidGPRsp": {
  9244. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9245. },
  9246. "ermcp.QryGGCovertCfgRsp": {
  9247. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9248. },
  9249. "ermcp.QryMGChangeLogRsp": {
  9250. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9251. },
  9252. "ermcp.QryMiddleGoodsDetailRsp": {
  9253. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9254. },
  9255. "ermcp.QryMiddleGoodsRsp": {
  9256. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9257. },
  9258. "ermcp.QryOPLogRsp": {
  9259. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9260. },
  9261. "ermcp.QryUserInfoRsp": {
  9262. "$ref": "#/definitions/models.ErmcpUserModel"
  9263. },
  9264. "ermcp.QryWarehouseRsp": {
  9265. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9266. },
  9267. "ermcp.QueryErmcpTradePositionRsp": {
  9268. "type": "object",
  9269. "properties": {
  9270. "agreeunit": {
  9271. "description": "合约单位",
  9272. "type": "number"
  9273. },
  9274. "buyorsell": {
  9275. "description": "方向 - 0:买 1:卖",
  9276. "type": "integer"
  9277. },
  9278. "curpositionqty": {
  9279. "description": "持仓(总仓数量, 期末头寸)",
  9280. "type": "integer"
  9281. },
  9282. "curtdposition": {
  9283. "description": "今仓数量(期末今日头寸)",
  9284. "type": "integer"
  9285. },
  9286. "curtdpositionenabled": {
  9287. "description": "今仓可用",
  9288. "type": "integer"
  9289. },
  9290. "decimalplace": {
  9291. "description": "报价小数位",
  9292. "type": "integer"
  9293. },
  9294. "enableqty": {
  9295. "description": "可用(总仓可用)",
  9296. "type": "integer"
  9297. },
  9298. "exexchangename": {
  9299. "description": "外部交易所名称",
  9300. "type": "string"
  9301. },
  9302. "goodscode": {
  9303. "description": "商品代码(内部)",
  9304. "type": "string"
  9305. },
  9306. "goodsid": {
  9307. "description": "商品ID(自增ID SEQ_GOODS)",
  9308. "type": "integer"
  9309. },
  9310. "goodsname": {
  9311. "description": "商品名称",
  9312. "type": "string"
  9313. },
  9314. "last": {
  9315. "description": "现价",
  9316. "type": "number"
  9317. },
  9318. "marketid": {
  9319. "description": "所属市场ID",
  9320. "type": "integer"
  9321. },
  9322. "openaverageprice": {
  9323. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9324. "type": "number"
  9325. },
  9326. "opencost": {
  9327. "description": "开仓成本",
  9328. "type": "number"
  9329. },
  9330. "openpl": {
  9331. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9332. "type": "number"
  9333. },
  9334. "outgoodscode": {
  9335. "description": "商品代码(外部)",
  9336. "type": "string"
  9337. },
  9338. "positionaverageprice": {
  9339. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9340. "type": "number"
  9341. },
  9342. "positioncost": {
  9343. "description": "持仓成本",
  9344. "type": "number"
  9345. },
  9346. "positionpl": {
  9347. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9348. "type": "number"
  9349. },
  9350. "positionplrate": {
  9351. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9352. "type": "number"
  9353. },
  9354. "usedmargin": {
  9355. "description": "占用保证金",
  9356. "type": "number"
  9357. }
  9358. }
  9359. },
  9360. "ermcp.RealtimeExposurePositionRsp": {
  9361. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9362. },
  9363. "ermcp.RealtimeExposureRsp": {
  9364. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9365. },
  9366. "erms2.QueryArbitrageStrategyRsp": {
  9367. "type": "object",
  9368. "required": [
  9369. "asapplyid"
  9370. ],
  9371. "properties": {
  9372. "applybasis": {
  9373. "description": "申请基差",
  9374. "type": "number"
  9375. },
  9376. "asapplyid": {
  9377. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9378. "type": "string"
  9379. },
  9380. "asname": {
  9381. "description": "策略名称",
  9382. "type": "string"
  9383. },
  9384. "asno": {
  9385. "description": "策略编号",
  9386. "type": "string"
  9387. },
  9388. "basischangepl": {
  9389. "description": "基差变动损益[结算更新]",
  9390. "type": "number"
  9391. },
  9392. "biztype": {
  9393. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9394. "type": "integer"
  9395. },
  9396. "closetradedate": {
  9397. "description": "完结交易日(yyyyMMdd)",
  9398. "type": "string"
  9399. },
  9400. "curbasis": {
  9401. "description": "当前基差[结算更新]",
  9402. "type": "number"
  9403. },
  9404. "deliverygoodsid": {
  9405. "description": "现货品种ID",
  9406. "type": "integer"
  9407. },
  9408. "futureavgprice": {
  9409. "description": "期货建仓均价",
  9410. "type": "number"
  9411. },
  9412. "futurecloseamount": {
  9413. "description": "期货平仓金额",
  9414. "type": "number"
  9415. },
  9416. "futurecloseqty": {
  9417. "description": "期货平仓数量",
  9418. "type": "number"
  9419. },
  9420. "futureopenamount": {
  9421. "description": "期货开仓金额",
  9422. "type": "number"
  9423. },
  9424. "futureopenqty": {
  9425. "description": "期货开仓数量",
  9426. "type": "number"
  9427. },
  9428. "futurepl": {
  9429. "description": "期货总盈亏[结算更新]",
  9430. "type": "number"
  9431. },
  9432. "futureqty": {
  9433. "description": "期货持仓数量",
  9434. "type": "number"
  9435. },
  9436. "futurequote": {
  9437. "description": "期货额度",
  9438. "type": "number"
  9439. },
  9440. "goodsgroupid": {
  9441. "description": "期货品种ID",
  9442. "type": "integer"
  9443. },
  9444. "marketid": {
  9445. "description": "市场ID",
  9446. "type": "integer"
  9447. },
  9448. "netexposure": {
  9449. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9450. "type": "number"
  9451. },
  9452. "netexposurepl": {
  9453. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9454. "type": "number"
  9455. },
  9456. "netexposurerate": {
  9457. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9458. "type": "number"
  9459. },
  9460. "openbasis": {
  9461. "description": "建仓基差",
  9462. "type": "number"
  9463. },
  9464. "pricedspotqty": {
  9465. "description": "已定价现货数量",
  9466. "type": "number"
  9467. },
  9468. "pricedspotqtynotax": {
  9469. "description": "已定价现货不含税数量",
  9470. "type": "number"
  9471. },
  9472. "remark": {
  9473. "description": "备注",
  9474. "type": "string"
  9475. },
  9476. "spotavgprice": {
  9477. "description": "现货均价",
  9478. "type": "number"
  9479. },
  9480. "spotbuyamount": {
  9481. "description": "现货采购金额",
  9482. "type": "number"
  9483. },
  9484. "spotbuyqty": {
  9485. "description": "现货采购数量",
  9486. "type": "number"
  9487. },
  9488. "spotpl": {
  9489. "description": "现货总盈亏[结算更新]",
  9490. "type": "number"
  9491. },
  9492. "spotquota": {
  9493. "description": "现货额度",
  9494. "type": "number"
  9495. },
  9496. "spotsellamount": {
  9497. "description": "现货销售金额",
  9498. "type": "number"
  9499. },
  9500. "spotsellqty": {
  9501. "description": "现货销售数量",
  9502. "type": "number"
  9503. },
  9504. "spotusedquota": {
  9505. "description": "现货占用资金",
  9506. "type": "number"
  9507. },
  9508. "strategystatus": {
  9509. "description": "策略状态 - 0:未结束 1:已结束",
  9510. "type": "integer"
  9511. },
  9512. "totalpl": {
  9513. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9514. "type": "number"
  9515. },
  9516. "tradedate": {
  9517. "description": "交易日(yyyyMMdd)",
  9518. "type": "string"
  9519. },
  9520. "updatetime": {
  9521. "description": "更新时间",
  9522. "type": "string"
  9523. },
  9524. "usedquota": {
  9525. "description": "已占用资金",
  9526. "type": "number"
  9527. },
  9528. "userid": {
  9529. "description": "所属机构",
  9530. "type": "integer"
  9531. }
  9532. }
  9533. },
  9534. "erms2.QueryInnerTradeDetailRsp": {
  9535. "type": "object",
  9536. "required": [
  9537. "asapplyid",
  9538. "buyorsell",
  9539. "goodscode",
  9540. "goodsgroupid",
  9541. "goodsgroupname",
  9542. "goodsname",
  9543. "tradeid"
  9544. ],
  9545. "properties": {
  9546. "accountid": {
  9547. "description": "账号ID",
  9548. "type": "integer"
  9549. },
  9550. "agreeunit": {
  9551. "description": "合约单位",
  9552. "type": "number"
  9553. },
  9554. "asapplyid": {
  9555. "description": "策略申请ID",
  9556. "type": "integer"
  9557. },
  9558. "asname": {
  9559. "description": "策略名称",
  9560. "type": "string"
  9561. },
  9562. "asno": {
  9563. "description": "策略编号",
  9564. "type": "string"
  9565. },
  9566. "buyorsell": {
  9567. "description": "方向 - 0:买 1:卖",
  9568. "type": "integer"
  9569. },
  9570. "channelbuildtype": {
  9571. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9572. "type": "integer"
  9573. },
  9574. "closetype": {
  9575. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9576. "type": "integer"
  9577. },
  9578. "decimalplace": {
  9579. "description": "报价小数位",
  9580. "type": "integer"
  9581. },
  9582. "detailtype": {
  9583. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9584. "type": "integer"
  9585. },
  9586. "exexchangecode": {
  9587. "description": "外部交易所代码",
  9588. "type": "string"
  9589. },
  9590. "exexchangename": {
  9591. "description": "外部交易所名称",
  9592. "type": "string"
  9593. },
  9594. "goodscode": {
  9595. "description": "商品代码(合约)",
  9596. "type": "string"
  9597. },
  9598. "goodsgroupid": {
  9599. "description": "商品组ID(品种ID)",
  9600. "type": "integer"
  9601. },
  9602. "goodsgroupname": {
  9603. "description": "商品组名称(品种)",
  9604. "type": "string"
  9605. },
  9606. "goodsid": {
  9607. "description": "商品ID",
  9608. "type": "integer"
  9609. },
  9610. "goodsname": {
  9611. "description": "商品名称(合约)",
  9612. "type": "string"
  9613. },
  9614. "goodunit": {
  9615. "description": "报价单位",
  9616. "type": "string"
  9617. },
  9618. "marketid": {
  9619. "description": "市场ID",
  9620. "type": "integer"
  9621. },
  9622. "orderid": {
  9623. "description": "委托单号",
  9624. "type": "string"
  9625. },
  9626. "outgoodscode": {
  9627. "description": "商品代码(外部)",
  9628. "type": "string"
  9629. },
  9630. "relatedouttradeid": {
  9631. "description": "关联外部成交单ID",
  9632. "type": "string"
  9633. },
  9634. "remark": {
  9635. "description": "备注",
  9636. "type": "string"
  9637. },
  9638. "spotcontractid": {
  9639. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9640. "type": "integer"
  9641. },
  9642. "spotcontractno": {
  9643. "description": "现货合同编号",
  9644. "type": "string"
  9645. },
  9646. "tradeid": {
  9647. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9648. "type": "string"
  9649. },
  9650. "tradeprice": {
  9651. "description": "成交价格",
  9652. "type": "number"
  9653. },
  9654. "tradeqty": {
  9655. "description": "成交数量",
  9656. "type": "integer"
  9657. },
  9658. "tradetime": {
  9659. "description": "成交时间",
  9660. "type": "string"
  9661. },
  9662. "updatetime": {
  9663. "description": "更新时间",
  9664. "type": "string"
  9665. }
  9666. }
  9667. },
  9668. "erms2.QuerySpotContractRsp": {
  9669. "type": "object",
  9670. "required": [
  9671. "spotcontractid"
  9672. ],
  9673. "properties": {
  9674. "accountid": {
  9675. "description": "资金账户ID",
  9676. "type": "integer"
  9677. },
  9678. "areauserid": {
  9679. "description": "所属机构",
  9680. "type": "integer"
  9681. },
  9682. "closedate": {
  9683. "description": "终止日期",
  9684. "type": "string"
  9685. },
  9686. "closeremark": {
  9687. "description": "结束备注",
  9688. "type": "string"
  9689. },
  9690. "closetradedate": {
  9691. "description": "完结交易日(yyyyMMdd)",
  9692. "type": "string"
  9693. },
  9694. "closetype": {
  9695. "description": "终止类型 - 1:违约 2:提前终止",
  9696. "type": "integer"
  9697. },
  9698. "contractamount": {
  9699. "description": "合同金额",
  9700. "type": "number"
  9701. },
  9702. "contractattachment": {
  9703. "description": "合同附件",
  9704. "type": "string"
  9705. },
  9706. "contractno": {
  9707. "description": "现货合同编号",
  9708. "type": "string"
  9709. },
  9710. "contractqty": {
  9711. "description": "合同数量(数值) (用于计算)",
  9712. "type": "number"
  9713. },
  9714. "contractqtychar": {
  9715. "description": "合同数量\\已订价数量 (用于显示)",
  9716. "type": "string"
  9717. },
  9718. "contractstatus": {
  9719. "description": "合同状态 - 0:未结束 1:已结束",
  9720. "type": "integer"
  9721. },
  9722. "contracttype": {
  9723. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9724. "type": "integer"
  9725. },
  9726. "customeraccountid": {
  9727. "description": "客户资金账户ID",
  9728. "type": "integer"
  9729. },
  9730. "customeruserid": {
  9731. "description": "客户ID",
  9732. "type": "integer"
  9733. },
  9734. "deliverygoodsdesc": {
  9735. "description": "品种说明",
  9736. "type": "string"
  9737. },
  9738. "deliverygoodsid": {
  9739. "description": "现货品种ID",
  9740. "type": "integer"
  9741. },
  9742. "handlestatus": {
  9743. "description": "处理状态",
  9744. "type": "integer"
  9745. },
  9746. "invoiceatt": {
  9747. "description": "发票附件",
  9748. "type": "string"
  9749. },
  9750. "invoicedatetime": {
  9751. "description": "开收票更新时间",
  9752. "type": "string"
  9753. },
  9754. "invoiceopentime": {
  9755. "description": "开票时间",
  9756. "type": "string"
  9757. },
  9758. "invoiceremark": {
  9759. "description": "发票备注",
  9760. "type": "string"
  9761. },
  9762. "invoicestatus": {
  9763. "description": "开收票状态 - 0:未开票 1:已开票",
  9764. "type": "integer"
  9765. },
  9766. "lastdate": {
  9767. "description": "交货时间",
  9768. "type": "string"
  9769. },
  9770. "marketid": {
  9771. "description": "市场ID",
  9772. "type": "integer"
  9773. },
  9774. "paydatetime": {
  9775. "description": "收付款更新时间",
  9776. "type": "string"
  9777. },
  9778. "payremark": {
  9779. "description": "收付款备注",
  9780. "type": "string"
  9781. },
  9782. "paystatus": {
  9783. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9784. "type": "integer"
  9785. },
  9786. "positionqty": {
  9787. "description": "头寸数量 - 合同数量去小数部分",
  9788. "type": "integer"
  9789. },
  9790. "producttype": {
  9791. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9792. "type": "integer"
  9793. },
  9794. "relatedqty": {
  9795. "description": "已关联数量",
  9796. "type": "number"
  9797. },
  9798. "relatedstatus": {
  9799. "description": "关联完结状态 - 0:未结束 1:已结束",
  9800. "type": "integer"
  9801. },
  9802. "remark": {
  9803. "description": "备注",
  9804. "type": "string"
  9805. },
  9806. "signdate": {
  9807. "description": "签订日期",
  9808. "type": "string"
  9809. },
  9810. "spotcontractid": {
  9811. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9812. "type": "string"
  9813. },
  9814. "spotdatetime": {
  9815. "description": "收发货更新时间",
  9816. "type": "string"
  9817. },
  9818. "spotprice": {
  9819. "description": "价格",
  9820. "type": "number"
  9821. },
  9822. "spotremark": {
  9823. "description": "收发货备注",
  9824. "type": "string"
  9825. },
  9826. "spotstatus": {
  9827. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9828. "type": "integer"
  9829. },
  9830. "tradedate": {
  9831. "description": "交易日(yyyyMMdd)",
  9832. "type": "string"
  9833. },
  9834. "userid": {
  9835. "description": "业务员用户ID",
  9836. "type": "integer"
  9837. },
  9838. "warehouseid": {
  9839. "description": "仓库ID",
  9840. "type": "integer"
  9841. },
  9842. "wrfactortypeid": {
  9843. "description": "仓单要素类型ID",
  9844. "type": "integer"
  9845. },
  9846. "wrstandardid": {
  9847. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9848. "type": "integer"
  9849. }
  9850. }
  9851. },
  9852. "erms3.AddErms2ASApplyReq": {
  9853. "type": "object",
  9854. "required": [
  9855. "asapplyid"
  9856. ],
  9857. "properties": {
  9858. "applybasis": {
  9859. "description": "申请基差",
  9860. "type": "number"
  9861. },
  9862. "applystatus": {
  9863. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9864. "type": "integer"
  9865. },
  9866. "asapplyid": {
  9867. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9868. "type": "integer"
  9869. },
  9870. "asname": {
  9871. "description": "策略名称",
  9872. "type": "string"
  9873. },
  9874. "asno": {
  9875. "description": "策略编号",
  9876. "type": "string"
  9877. },
  9878. "auditid": {
  9879. "description": "审核人",
  9880. "type": "integer"
  9881. },
  9882. "auditremark": {
  9883. "description": "审核备注",
  9884. "type": "string"
  9885. },
  9886. "audittime": {
  9887. "description": "审核时间",
  9888. "type": "string"
  9889. },
  9890. "biztype": {
  9891. "description": "业务类型 - 1:正向套利 2:反向套利",
  9892. "type": "integer"
  9893. },
  9894. "createtime": {
  9895. "description": "创建时间",
  9896. "type": "string"
  9897. },
  9898. "creatorid": {
  9899. "description": "创建人",
  9900. "type": "integer"
  9901. },
  9902. "deliverygoodsid": {
  9903. "description": "现货品种ID",
  9904. "type": "integer"
  9905. },
  9906. "futurequote": {
  9907. "description": "期货额度",
  9908. "type": "number"
  9909. },
  9910. "goodsgroupid": {
  9911. "description": "期货品种ID",
  9912. "type": "integer"
  9913. },
  9914. "marketid": {
  9915. "description": "市场ID",
  9916. "type": "integer"
  9917. },
  9918. "remark": {
  9919. "description": "备注",
  9920. "type": "string"
  9921. },
  9922. "spotquota": {
  9923. "description": "现货额度",
  9924. "type": "number"
  9925. },
  9926. "tradedate": {
  9927. "description": "交易日(yyyyMMdd)",
  9928. "type": "string"
  9929. },
  9930. "userid": {
  9931. "description": "所属机构",
  9932. "type": "integer"
  9933. }
  9934. }
  9935. },
  9936. "erms3.AddErms2SpotTradeApplyReq": {
  9937. "type": "object",
  9938. "required": [
  9939. "spottradeid"
  9940. ],
  9941. "properties": {
  9942. "applyjsondetail": {
  9943. "description": "申请明细(JSON)",
  9944. "type": "string"
  9945. },
  9946. "applystatus": {
  9947. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9948. "type": "integer"
  9949. },
  9950. "areauserid": {
  9951. "description": "所属机构",
  9952. "type": "integer"
  9953. },
  9954. "auditid": {
  9955. "description": "审核人",
  9956. "type": "integer"
  9957. },
  9958. "auditremark": {
  9959. "description": "审核备注",
  9960. "type": "string"
  9961. },
  9962. "audittime": {
  9963. "description": "审核时间",
  9964. "type": "string"
  9965. },
  9966. "createtime": {
  9967. "description": "创建时间",
  9968. "type": "string"
  9969. },
  9970. "creatorid": {
  9971. "description": "创建人",
  9972. "type": "integer"
  9973. },
  9974. "deliverygoodsid": {
  9975. "description": "现货品种ID",
  9976. "type": "integer"
  9977. },
  9978. "futureaccountid": {
  9979. "description": "期货资金账户",
  9980. "type": "integer"
  9981. },
  9982. "goodsgroupid": {
  9983. "description": "期货品种",
  9984. "type": "integer"
  9985. },
  9986. "marketid": {
  9987. "description": "市场ID",
  9988. "type": "integer"
  9989. },
  9990. "remark": {
  9991. "description": "备注",
  9992. "type": "string"
  9993. },
  9994. "spotaccountid": {
  9995. "description": "现货资金账户",
  9996. "type": "integer"
  9997. },
  9998. "spottradeid": {
  9999. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10000. "type": "integer"
  10001. },
  10002. "spottradename": {
  10003. "description": "业务名称",
  10004. "type": "string"
  10005. },
  10006. "spottradeno": {
  10007. "description": "业务编号",
  10008. "type": "string"
  10009. },
  10010. "tradedate": {
  10011. "description": "交易日(yyyyMMdd)",
  10012. "type": "string"
  10013. },
  10014. "wrstandardid": {
  10015. "description": "仓单标准ID",
  10016. "type": "integer"
  10017. }
  10018. }
  10019. },
  10020. "erms3.AddSpotContractApplyReq": {
  10021. "type": "object",
  10022. "required": [
  10023. "accountid",
  10024. "areauserid",
  10025. "contractno",
  10026. "contracttype",
  10027. "customeraccountid",
  10028. "customeruserid",
  10029. "details",
  10030. "orimargin",
  10031. "signdate"
  10032. ],
  10033. "properties": {
  10034. "accountid": {
  10035. "description": "资金账户ID",
  10036. "type": "integer"
  10037. },
  10038. "areauserid": {
  10039. "description": "所属机构",
  10040. "type": "integer"
  10041. },
  10042. "contractattachment": {
  10043. "description": "合同附件",
  10044. "type": "string"
  10045. },
  10046. "contractno": {
  10047. "description": "现货合同编号",
  10048. "type": "string"
  10049. },
  10050. "contracttype": {
  10051. "description": "现货合同类型 - 1:采购 -1:销售",
  10052. "type": "integer"
  10053. },
  10054. "creatorid": {
  10055. "description": "申请人",
  10056. "type": "integer"
  10057. },
  10058. "customeraccountid": {
  10059. "description": "客户资金账户ID",
  10060. "type": "integer"
  10061. },
  10062. "customeruserid": {
  10063. "description": "客户ID",
  10064. "type": "integer"
  10065. },
  10066. "details": {
  10067. "description": "明细",
  10068. "type": "array",
  10069. "items": {
  10070. "$ref": "#/definitions/erms3.SoptContractDetail"
  10071. }
  10072. },
  10073. "orimargin": {
  10074. "description": "初始保证金",
  10075. "type": "number"
  10076. },
  10077. "remark": {
  10078. "description": "备注",
  10079. "type": "string"
  10080. },
  10081. "signdate": {
  10082. "description": "签订日期",
  10083. "type": "string"
  10084. }
  10085. }
  10086. },
  10087. "erms3.AddSpotContractApplyRsp": {
  10088. "type": "object",
  10089. "required": [
  10090. "contractno"
  10091. ],
  10092. "properties": {
  10093. "contractno": {
  10094. "description": "现货合同编号",
  10095. "type": "string"
  10096. },
  10097. "spotcontractid": {
  10098. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10099. "type": "integer"
  10100. }
  10101. }
  10102. },
  10103. "erms3.AddUserInfoApplyReq": {
  10104. "type": "object",
  10105. "required": [
  10106. "userid"
  10107. ],
  10108. "properties": {
  10109. "accountid": {
  10110. "description": "交易系统帐号Id (加密存储)",
  10111. "type": "integer"
  10112. },
  10113. "areacode": {
  10114. "description": "机构代码",
  10115. "type": "string"
  10116. },
  10117. "areaid": {
  10118. "description": "机构Id",
  10119. "type": "integer"
  10120. },
  10121. "attachment1": {
  10122. "description": "附件1",
  10123. "type": "string"
  10124. },
  10125. "attachment2": {
  10126. "description": "附件2",
  10127. "type": "string"
  10128. },
  10129. "attachment3": {
  10130. "description": "附件3",
  10131. "type": "string"
  10132. },
  10133. "attachment4": {
  10134. "description": "附件4",
  10135. "type": "string"
  10136. },
  10137. "attachment5": {
  10138. "description": "附件5",
  10139. "type": "string"
  10140. },
  10141. "auditedby": {
  10142. "description": "审核人",
  10143. "type": "string"
  10144. },
  10145. "auditime": {
  10146. "description": "审核时间",
  10147. "type": "string"
  10148. },
  10149. "auditsrc": {
  10150. "description": "审核来源 - 1:管理端 2:终端",
  10151. "type": "integer"
  10152. },
  10153. "bankaccount": {
  10154. "description": "银行帐号 (加密存储)",
  10155. "type": "string"
  10156. },
  10157. "bankaccountname": {
  10158. "description": "收款人名称",
  10159. "type": "string"
  10160. },
  10161. "bankcardbackphotourl": {
  10162. "description": "银行卡背面照地址",
  10163. "type": "string"
  10164. },
  10165. "bankcardfrontphotourl": {
  10166. "description": "银行卡正面照地址",
  10167. "type": "string"
  10168. },
  10169. "bankid": {
  10170. "description": "银行编码",
  10171. "type": "string"
  10172. },
  10173. "bankname": {
  10174. "description": "银行名称",
  10175. "type": "string"
  10176. },
  10177. "bankpictureurl": {
  10178. "description": "银行卡正面地址",
  10179. "type": "string"
  10180. },
  10181. "biznature": {
  10182. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10183. "type": "integer"
  10184. },
  10185. "bizscope": {
  10186. "description": "企业经营范围(企业)",
  10187. "type": "string"
  10188. },
  10189. "biztype": {
  10190. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10191. "type": "integer"
  10192. },
  10193. "brokerid": {
  10194. "description": "经纪人ID(加密存储)",
  10195. "type": "string"
  10196. },
  10197. "cardaddress": {
  10198. "description": "证件地址 (加密存储)",
  10199. "type": "string"
  10200. },
  10201. "cardbackphotourl": {
  10202. "description": "背面证件照地址",
  10203. "type": "string"
  10204. },
  10205. "cardfrontphotourl": {
  10206. "description": "正面证件照地址",
  10207. "type": "string"
  10208. },
  10209. "cardnum": {
  10210. "description": "证件号码 (加密存储)",
  10211. "type": "string"
  10212. },
  10213. "cardtype": {
  10214. "description": "证件类型",
  10215. "type": "integer"
  10216. },
  10217. "cityid": {
  10218. "description": "市",
  10219. "type": "integer"
  10220. },
  10221. "company": {
  10222. "description": "公司(个人)",
  10223. "type": "string"
  10224. },
  10225. "contactcardbackphotourl": {
  10226. "description": "联系人证件背面图片地址",
  10227. "type": "string"
  10228. },
  10229. "contactcardfrontphotourl": {
  10230. "description": "联系人证件正面图片地址",
  10231. "type": "string"
  10232. },
  10233. "contactname": {
  10234. "description": "联系人",
  10235. "type": "string"
  10236. },
  10237. "countryid": {
  10238. "description": "国家",
  10239. "type": "integer"
  10240. },
  10241. "createtime": {
  10242. "description": "开户申请时间",
  10243. "type": "string"
  10244. },
  10245. "cusbankid": {
  10246. "description": "签约类型",
  10247. "type": "string"
  10248. },
  10249. "cusbankname": {
  10250. "description": "签约类型名称",
  10251. "type": "string"
  10252. },
  10253. "customername": {
  10254. "description": "客户名称(企业名称)",
  10255. "type": "string"
  10256. },
  10257. "districtid": {
  10258. "description": "地区",
  10259. "type": "integer"
  10260. },
  10261. "email": {
  10262. "description": "Email地址(加密存储)",
  10263. "type": "string"
  10264. },
  10265. "halfbodyphotourl": {
  10266. "description": "半身照地址",
  10267. "type": "string"
  10268. },
  10269. "headurl": {
  10270. "description": "头像地址",
  10271. "type": "string"
  10272. },
  10273. "ipaddress": {
  10274. "description": "IP地址",
  10275. "type": "string"
  10276. },
  10277. "isvalidate": {
  10278. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10279. "type": "string"
  10280. },
  10281. "legalcardbackphotourl": {
  10282. "description": "法人身份证背面照地址",
  10283. "type": "string"
  10284. },
  10285. "legalcardfrontphotourl": {
  10286. "description": "法人身份证正面照地址",
  10287. "type": "string"
  10288. },
  10289. "legalpersonname": {
  10290. "description": "法人姓名(企业)",
  10291. "type": "string"
  10292. },
  10293. "logincode": {
  10294. "description": "登录帐号 (加密存储)",
  10295. "type": "string"
  10296. },
  10297. "memberareaid": {
  10298. "description": "所属会员ID",
  10299. "type": "integer"
  10300. },
  10301. "mobile2": {
  10302. "description": "手机号码[明文-尚志]",
  10303. "type": "string"
  10304. },
  10305. "mobilephone": {
  10306. "description": "手机号码 (加密存储)",
  10307. "type": "string"
  10308. },
  10309. "modifiedby": {
  10310. "description": "修改人帐号",
  10311. "type": "integer"
  10312. },
  10313. "modifiedtime": {
  10314. "description": "修改时间",
  10315. "type": "string"
  10316. },
  10317. "nickname": {
  10318. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10319. "type": "string"
  10320. },
  10321. "openmode": {
  10322. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10323. "type": "integer"
  10324. },
  10325. "otherurl": {
  10326. "description": "其它图片地址[使用分号分隔]",
  10327. "type": "string"
  10328. },
  10329. "postalcode": {
  10330. "description": "邮政编码",
  10331. "type": "string"
  10332. },
  10333. "provinceid": {
  10334. "description": "省",
  10335. "type": "integer"
  10336. },
  10337. "proxystatementurl": {
  10338. "description": "授权委托书",
  10339. "type": "string"
  10340. },
  10341. "qq": {
  10342. "description": "QQ(加密存储",
  10343. "type": "string"
  10344. },
  10345. "referral": {
  10346. "description": "推荐人编码",
  10347. "type": "string"
  10348. },
  10349. "remark": {
  10350. "description": "备注",
  10351. "type": "string"
  10352. },
  10353. "removebeforestatus": {
  10354. "description": "REMOVEBEFORESTATUS",
  10355. "type": "integer"
  10356. },
  10357. "sex": {
  10358. "description": "性别 - 0:女 1:男",
  10359. "type": "integer"
  10360. },
  10361. "signedstatus": {
  10362. "description": "账户一号签签约状态",
  10363. "type": "integer"
  10364. },
  10365. "signpdfurl": {
  10366. "description": "签约pdf文件",
  10367. "type": "string"
  10368. },
  10369. "subbranch": {
  10370. "description": "开户支行",
  10371. "type": "string"
  10372. },
  10373. "taxpayernum": {
  10374. "description": "纳税人识别号",
  10375. "type": "string"
  10376. },
  10377. "telphone": {
  10378. "description": "联系电话(加密存储)",
  10379. "type": "string"
  10380. },
  10381. "userid": {
  10382. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10383. "type": "integer"
  10384. },
  10385. "userinfotype": {
  10386. "description": "用户信息类型 - 1:个人 2:企业",
  10387. "type": "integer"
  10388. },
  10389. "username": {
  10390. "description": "用户姓名",
  10391. "type": "string"
  10392. },
  10393. "userstate": {
  10394. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10395. "type": "integer"
  10396. },
  10397. "usertype": {
  10398. "description": "用户类型 - 1:投资者 2:机构",
  10399. "type": "integer"
  10400. },
  10401. "videourl": {
  10402. "description": "视频地址",
  10403. "type": "string"
  10404. },
  10405. "wechat": {
  10406. "description": "微信号 (加密存储)",
  10407. "type": "string"
  10408. }
  10409. }
  10410. },
  10411. "erms3.CustomerInfo": {
  10412. "type": "object",
  10413. "required": [
  10414. "userid"
  10415. ],
  10416. "properties": {
  10417. "accountids": {
  10418. "description": "资金账户ID列表",
  10419. "type": "array",
  10420. "items": {
  10421. "type": "integer"
  10422. }
  10423. },
  10424. "customername": {
  10425. "description": "名称(企业名称)",
  10426. "type": "string"
  10427. },
  10428. "mobile": {
  10429. "description": "手机号码",
  10430. "type": "string"
  10431. },
  10432. "userid": {
  10433. "description": "用户ID",
  10434. "type": "integer"
  10435. }
  10436. }
  10437. },
  10438. "erms3.ModifyUserInfoApplyReq": {
  10439. "type": "object",
  10440. "required": [
  10441. "userid"
  10442. ],
  10443. "properties": {
  10444. "accountid": {
  10445. "description": "交易系统帐号Id (加密存储)",
  10446. "type": "integer"
  10447. },
  10448. "areacode": {
  10449. "description": "机构代码",
  10450. "type": "string"
  10451. },
  10452. "areaid": {
  10453. "description": "机构Id",
  10454. "type": "integer"
  10455. },
  10456. "attachment1": {
  10457. "description": "附件1",
  10458. "type": "string"
  10459. },
  10460. "attachment2": {
  10461. "description": "附件2",
  10462. "type": "string"
  10463. },
  10464. "attachment3": {
  10465. "description": "附件3",
  10466. "type": "string"
  10467. },
  10468. "attachment4": {
  10469. "description": "附件4",
  10470. "type": "string"
  10471. },
  10472. "attachment5": {
  10473. "description": "附件5",
  10474. "type": "string"
  10475. },
  10476. "auditedby": {
  10477. "description": "审核人",
  10478. "type": "string"
  10479. },
  10480. "auditime": {
  10481. "description": "审核时间",
  10482. "type": "string"
  10483. },
  10484. "auditsrc": {
  10485. "description": "审核来源 - 1:管理端 2:终端",
  10486. "type": "integer"
  10487. },
  10488. "bankaccount": {
  10489. "description": "银行帐号 (加密存储)",
  10490. "type": "string"
  10491. },
  10492. "bankaccountname": {
  10493. "description": "收款人名称",
  10494. "type": "string"
  10495. },
  10496. "bankcardbackphotourl": {
  10497. "description": "银行卡背面照地址",
  10498. "type": "string"
  10499. },
  10500. "bankcardfrontphotourl": {
  10501. "description": "银行卡正面照地址",
  10502. "type": "string"
  10503. },
  10504. "bankid": {
  10505. "description": "银行编码",
  10506. "type": "string"
  10507. },
  10508. "bankname": {
  10509. "description": "银行名称",
  10510. "type": "string"
  10511. },
  10512. "bankpictureurl": {
  10513. "description": "银行卡正面地址",
  10514. "type": "string"
  10515. },
  10516. "biznature": {
  10517. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10518. "type": "integer"
  10519. },
  10520. "bizscope": {
  10521. "description": "企业经营范围(企业)",
  10522. "type": "string"
  10523. },
  10524. "biztype": {
  10525. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10526. "type": "integer"
  10527. },
  10528. "brokerid": {
  10529. "description": "经纪人ID(加密存储)",
  10530. "type": "string"
  10531. },
  10532. "cardaddress": {
  10533. "description": "证件地址 (加密存储)",
  10534. "type": "string"
  10535. },
  10536. "cardbackphotourl": {
  10537. "description": "背面证件照地址",
  10538. "type": "string"
  10539. },
  10540. "cardfrontphotourl": {
  10541. "description": "正面证件照地址",
  10542. "type": "string"
  10543. },
  10544. "cardnum": {
  10545. "description": "证件号码 (加密存储)",
  10546. "type": "string"
  10547. },
  10548. "cardtype": {
  10549. "description": "证件类型",
  10550. "type": "integer"
  10551. },
  10552. "cityid": {
  10553. "description": "市",
  10554. "type": "integer"
  10555. },
  10556. "company": {
  10557. "description": "公司(个人)",
  10558. "type": "string"
  10559. },
  10560. "contactcardbackphotourl": {
  10561. "description": "联系人证件背面图片地址",
  10562. "type": "string"
  10563. },
  10564. "contactcardfrontphotourl": {
  10565. "description": "联系人证件正面图片地址",
  10566. "type": "string"
  10567. },
  10568. "contactname": {
  10569. "description": "联系人",
  10570. "type": "string"
  10571. },
  10572. "countryid": {
  10573. "description": "国家",
  10574. "type": "integer"
  10575. },
  10576. "createtime": {
  10577. "description": "开户申请时间",
  10578. "type": "string"
  10579. },
  10580. "cusbankid": {
  10581. "description": "签约类型",
  10582. "type": "string"
  10583. },
  10584. "cusbankname": {
  10585. "description": "签约类型名称",
  10586. "type": "string"
  10587. },
  10588. "customername": {
  10589. "description": "客户名称(企业名称)",
  10590. "type": "string"
  10591. },
  10592. "districtid": {
  10593. "description": "地区",
  10594. "type": "integer"
  10595. },
  10596. "email": {
  10597. "description": "Email地址(加密存储)",
  10598. "type": "string"
  10599. },
  10600. "halfbodyphotourl": {
  10601. "description": "半身照地址",
  10602. "type": "string"
  10603. },
  10604. "headurl": {
  10605. "description": "头像地址",
  10606. "type": "string"
  10607. },
  10608. "ipaddress": {
  10609. "description": "IP地址",
  10610. "type": "string"
  10611. },
  10612. "isvalidate": {
  10613. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10614. "type": "string"
  10615. },
  10616. "legalcardbackphotourl": {
  10617. "description": "法人身份证背面照地址",
  10618. "type": "string"
  10619. },
  10620. "legalcardfrontphotourl": {
  10621. "description": "法人身份证正面照地址",
  10622. "type": "string"
  10623. },
  10624. "legalpersonname": {
  10625. "description": "法人姓名(企业)",
  10626. "type": "string"
  10627. },
  10628. "logincode": {
  10629. "description": "登录帐号 (加密存储)",
  10630. "type": "string"
  10631. },
  10632. "memberareaid": {
  10633. "description": "所属会员ID",
  10634. "type": "integer"
  10635. },
  10636. "mobile2": {
  10637. "description": "手机号码[明文-尚志]",
  10638. "type": "string"
  10639. },
  10640. "mobilephone": {
  10641. "description": "手机号码 (加密存储)",
  10642. "type": "string"
  10643. },
  10644. "modifiedby": {
  10645. "description": "修改人帐号",
  10646. "type": "integer"
  10647. },
  10648. "modifiedtime": {
  10649. "description": "修改时间",
  10650. "type": "string"
  10651. },
  10652. "nickname": {
  10653. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10654. "type": "string"
  10655. },
  10656. "openmode": {
  10657. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10658. "type": "integer"
  10659. },
  10660. "otherurl": {
  10661. "description": "其它图片地址[使用分号分隔]",
  10662. "type": "string"
  10663. },
  10664. "postalcode": {
  10665. "description": "邮政编码",
  10666. "type": "string"
  10667. },
  10668. "provinceid": {
  10669. "description": "省",
  10670. "type": "integer"
  10671. },
  10672. "proxystatementurl": {
  10673. "description": "授权委托书",
  10674. "type": "string"
  10675. },
  10676. "qq": {
  10677. "description": "QQ(加密存储",
  10678. "type": "string"
  10679. },
  10680. "referral": {
  10681. "description": "推荐人编码",
  10682. "type": "string"
  10683. },
  10684. "remark": {
  10685. "description": "备注",
  10686. "type": "string"
  10687. },
  10688. "removebeforestatus": {
  10689. "description": "REMOVEBEFORESTATUS",
  10690. "type": "integer"
  10691. },
  10692. "sex": {
  10693. "description": "性别 - 0:女 1:男",
  10694. "type": "integer"
  10695. },
  10696. "signedstatus": {
  10697. "description": "账户一号签签约状态",
  10698. "type": "integer"
  10699. },
  10700. "signpdfurl": {
  10701. "description": "签约pdf文件",
  10702. "type": "string"
  10703. },
  10704. "subbranch": {
  10705. "description": "开户支行",
  10706. "type": "string"
  10707. },
  10708. "taxpayernum": {
  10709. "description": "纳税人识别号",
  10710. "type": "string"
  10711. },
  10712. "telphone": {
  10713. "description": "联系电话(加密存储)",
  10714. "type": "string"
  10715. },
  10716. "userid": {
  10717. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10718. "type": "integer"
  10719. },
  10720. "userinfotype": {
  10721. "description": "用户信息类型 - 1:个人 2:企业",
  10722. "type": "integer"
  10723. },
  10724. "username": {
  10725. "description": "用户姓名",
  10726. "type": "string"
  10727. },
  10728. "userstate": {
  10729. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10730. "type": "integer"
  10731. },
  10732. "usertype": {
  10733. "description": "用户类型 - 1:投资者 2:机构",
  10734. "type": "integer"
  10735. },
  10736. "videourl": {
  10737. "description": "视频地址",
  10738. "type": "string"
  10739. },
  10740. "wechat": {
  10741. "description": "微信号 (加密存储)",
  10742. "type": "string"
  10743. }
  10744. }
  10745. },
  10746. "erms3.QryAuditContractRsp": {
  10747. "type": "object",
  10748. "required": [
  10749. "matchcustomername",
  10750. "spotcontractid"
  10751. ],
  10752. "properties": {
  10753. "accountid": {
  10754. "description": "交易员ID",
  10755. "type": "string"
  10756. },
  10757. "applystatus": {
  10758. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10759. "type": "integer"
  10760. },
  10761. "curdeliveryqty": {
  10762. "description": "未交收量",
  10763. "type": "integer"
  10764. },
  10765. "customername": {
  10766. "description": "采购方ID",
  10767. "type": "string"
  10768. },
  10769. "deliverygoodsid": {
  10770. "description": "品种ID",
  10771. "type": "string"
  10772. },
  10773. "deliveryqty": {
  10774. "description": "交收量",
  10775. "type": "integer"
  10776. },
  10777. "enumdicname": {
  10778. "description": "单位名称",
  10779. "type": "string"
  10780. },
  10781. "matchaccountid": {
  10782. "description": "业务员ID",
  10783. "type": "string"
  10784. },
  10785. "matchcustomername": {
  10786. "description": "销售方ID",
  10787. "type": "string"
  10788. },
  10789. "pricedqty": {
  10790. "description": "定价量",
  10791. "type": "number"
  10792. },
  10793. "signdate": {
  10794. "description": "签订日期",
  10795. "type": "string"
  10796. },
  10797. "spotcontractid": {
  10798. "description": "合同ID",
  10799. "type": "string"
  10800. },
  10801. "totaldqty": {
  10802. "description": "合同量",
  10803. "type": "number"
  10804. },
  10805. "unpricedqty": {
  10806. "description": "未定价量",
  10807. "type": "number"
  10808. },
  10809. "wrstandardname": {
  10810. "description": "商品名称",
  10811. "type": "string"
  10812. }
  10813. }
  10814. },
  10815. "erms3.QryPendingBizRsp": {
  10816. "$ref": "#/definitions/models.PendingAuditBizModel"
  10817. },
  10818. "erms3.QueryBusinessInfoRsp": {
  10819. "type": "object",
  10820. "properties": {
  10821. "businessid": {
  10822. "description": "业务ID.",
  10823. "type": "integer"
  10824. },
  10825. "buyamount": {
  10826. "description": "采购额.",
  10827. "type": "number"
  10828. },
  10829. "buyqty": {
  10830. "description": "采购量.",
  10831. "type": "string"
  10832. },
  10833. "futurepl": {
  10834. "description": "期货盈亏.",
  10835. "type": "number"
  10836. },
  10837. "futureqty": {
  10838. "description": "期货敞口.",
  10839. "type": "string"
  10840. },
  10841. "goodsid": {
  10842. "description": "商品名称/商品代码.",
  10843. "type": "string"
  10844. },
  10845. "hedgingqty": {
  10846. "description": "套保量.",
  10847. "type": "string"
  10848. },
  10849. "sellamount": {
  10850. "description": "销售额.",
  10851. "type": "number"
  10852. },
  10853. "sellqty": {
  10854. "description": "销售量.",
  10855. "type": "string"
  10856. },
  10857. "spotmarketvalue": {
  10858. "description": "现货市值.",
  10859. "type": "number"
  10860. },
  10861. "spotpl": {
  10862. "description": "浮动权益.",
  10863. "type": "number"
  10864. },
  10865. "spotqty": {
  10866. "description": "现货量.",
  10867. "type": "string"
  10868. },
  10869. "statu": {
  10870. "description": "状态,0-未结束 1-已结束.",
  10871. "type": "integer"
  10872. },
  10873. "totalpl": {
  10874. "description": "总盈亏.",
  10875. "type": "number"
  10876. },
  10877. "totalqty": {
  10878. "description": "总敞口.",
  10879. "type": "string"
  10880. },
  10881. "type": {
  10882. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10883. "type": "integer"
  10884. }
  10885. }
  10886. },
  10887. "erms3.QuerySpotContractAppleFormRsp": {
  10888. "type": "object",
  10889. "properties": {
  10890. "goodses": {
  10891. "description": "合约列表",
  10892. "type": "array",
  10893. "items": {
  10894. "$ref": "#/definitions/models.GoodsIDAndName"
  10895. }
  10896. },
  10897. "oppositeusers": {
  10898. "description": "对方账号列表",
  10899. "type": "array",
  10900. "items": {
  10901. "$ref": "#/definitions/erms3.CustomerInfo"
  10902. }
  10903. },
  10904. "ouruser": {
  10905. "description": "我方账号",
  10906. "type": "object",
  10907. "$ref": "#/definitions/erms3.CustomerInfo"
  10908. },
  10909. "warehouseinfos": {
  10910. "description": "仓库信息列表",
  10911. "type": "array",
  10912. "items": {
  10913. "$ref": "#/definitions/models.Warehouseinfo"
  10914. }
  10915. },
  10916. "wrstandards": {
  10917. "description": "仓单标准列表",
  10918. "type": "array",
  10919. "items": {
  10920. "$ref": "#/definitions/models.WRStandardInfo"
  10921. }
  10922. }
  10923. }
  10924. },
  10925. "erms3.QuerySpotContractInfoRsp": {
  10926. "type": "object",
  10927. "properties": {
  10928. "accountid": {
  10929. "description": "表示交易员ID.",
  10930. "type": "integer"
  10931. },
  10932. "curdeliveryqty": {
  10933. "description": "表示未交收量.",
  10934. "type": "number"
  10935. },
  10936. "customername": {
  10937. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10938. "type": "string"
  10939. },
  10940. "deliverygoodsid": {
  10941. "description": "表示品种ID.",
  10942. "type": "string"
  10943. },
  10944. "deliveryqty": {
  10945. "description": "表示交收量.",
  10946. "type": "number"
  10947. },
  10948. "matchaccountid": {
  10949. "description": "表示业务员ID.",
  10950. "type": "integer"
  10951. },
  10952. "matchcustomername": {
  10953. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10954. "type": "string"
  10955. },
  10956. "priceqty": {
  10957. "description": "表示定价量.",
  10958. "type": "number"
  10959. },
  10960. "relatedbizid": {
  10961. "description": "表示业务ID.",
  10962. "type": "string"
  10963. },
  10964. "signdate": {
  10965. "description": "表示签订日期.",
  10966. "type": "string"
  10967. },
  10968. "spotcontractid": {
  10969. "description": "合同ID",
  10970. "type": "string"
  10971. },
  10972. "status": {
  10973. "description": "表示状态,0-履约中 1-已完成.",
  10974. "type": "integer"
  10975. },
  10976. "totalqty": {
  10977. "description": "表示合同量.",
  10978. "type": "number"
  10979. },
  10980. "unpricedqty": {
  10981. "description": "表示未定价量.",
  10982. "type": "number"
  10983. },
  10984. "wrstandardname": {
  10985. "description": "表示商品ID.",
  10986. "type": "string"
  10987. }
  10988. }
  10989. },
  10990. "erms3.QueryUserInfoAppliesRsp": {
  10991. "type": "object",
  10992. "required": [
  10993. "userid"
  10994. ],
  10995. "properties": {
  10996. "biznature": {
  10997. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10998. "type": "integer"
  10999. },
  11000. "contactname": {
  11001. "description": "联系人",
  11002. "type": "string"
  11003. },
  11004. "createtime": {
  11005. "description": "开户申请时间",
  11006. "type": "string"
  11007. },
  11008. "userid": {
  11009. "description": "用户ID(自增ID)",
  11010. "type": "integer"
  11011. },
  11012. "userinfotype": {
  11013. "description": "用户信息类型 - 1:个人 2:企业",
  11014. "type": "integer"
  11015. },
  11016. "username": {
  11017. "description": "用户姓名",
  11018. "type": "string"
  11019. },
  11020. "userstate": {
  11021. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11022. "type": "integer"
  11023. }
  11024. }
  11025. },
  11026. "erms3.QueryUserInfosRsp": {
  11027. "type": "object",
  11028. "required": [
  11029. "userid"
  11030. ],
  11031. "properties": {
  11032. "biznature": {
  11033. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11034. "type": "integer"
  11035. },
  11036. "contactname": {
  11037. "description": "联系人",
  11038. "type": "string"
  11039. },
  11040. "customername": {
  11041. "description": "客户名称(企业名称)",
  11042. "type": "string"
  11043. },
  11044. "userid": {
  11045. "description": "用户ID",
  11046. "type": "integer"
  11047. },
  11048. "userinfotype": {
  11049. "description": "用户信息类型 - 1:个人 2:企业",
  11050. "type": "integer"
  11051. },
  11052. "userstatus": {
  11053. "description": "用户状态 - 1:正常 2:注销",
  11054. "type": "integer"
  11055. }
  11056. }
  11057. },
  11058. "erms3.SoptContractDetail": {
  11059. "type": "object",
  11060. "required": [
  11061. "deliverygoodsid",
  11062. "producttype",
  11063. "unitname",
  11064. "warehouseid",
  11065. "wrstandardid",
  11066. "wrstandardname"
  11067. ],
  11068. "properties": {
  11069. "deliverygoodsdesc": {
  11070. "description": "现货品种说明",
  11071. "type": "string"
  11072. },
  11073. "deliverygoodsid": {
  11074. "description": "现货品种ID",
  11075. "type": "integer"
  11076. },
  11077. "deliverygoodsname": {
  11078. "description": "现货品种名称",
  11079. "type": "string"
  11080. },
  11081. "pointdesc": {
  11082. "description": "点价描述",
  11083. "type": "string"
  11084. },
  11085. "producttype": {
  11086. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11087. "type": "integer"
  11088. },
  11089. "producttypename": {
  11090. "description": "产品类型名称",
  11091. "type": "string"
  11092. },
  11093. "spotPointOrderVoList": {
  11094. "description": "点价列表",
  11095. "type": "array",
  11096. "items": {
  11097. "$ref": "#/definitions/erms3.SpotPointOrder"
  11098. }
  11099. },
  11100. "spotPriceOrderList": {
  11101. "description": "定价列表",
  11102. "type": "array",
  11103. "items": {
  11104. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11105. }
  11106. },
  11107. "unitname": {
  11108. "description": "单位名称",
  11109. "type": "string"
  11110. },
  11111. "warehouseid": {
  11112. "description": "仓库ID",
  11113. "type": "integer"
  11114. },
  11115. "warehousename": {
  11116. "description": "仓库名称",
  11117. "type": "string"
  11118. },
  11119. "wrstandardid": {
  11120. "description": "交易标的ID",
  11121. "type": "integer"
  11122. },
  11123. "wrstandardname": {
  11124. "description": "交易标的名称",
  11125. "type": "string"
  11126. }
  11127. }
  11128. },
  11129. "erms3.SpotPointOrder": {
  11130. "type": "object",
  11131. "required": [
  11132. "basic",
  11133. "goodsid",
  11134. "qty"
  11135. ],
  11136. "properties": {
  11137. "basic": {
  11138. "description": "基差",
  11139. "type": "number"
  11140. },
  11141. "deliveryenddate": {
  11142. "description": "交收结束日期",
  11143. "type": "string"
  11144. },
  11145. "deliverystartdate": {
  11146. "description": "交收开始日期",
  11147. "type": "string"
  11148. },
  11149. "enddate": {
  11150. "description": "点价结束日期",
  11151. "type": "string"
  11152. },
  11153. "goodsid": {
  11154. "description": "商品ID",
  11155. "type": "integer"
  11156. },
  11157. "goodsname": {
  11158. "description": "商品名称",
  11159. "type": "string"
  11160. },
  11161. "qty": {
  11162. "description": "数量",
  11163. "type": "number"
  11164. },
  11165. "startdate": {
  11166. "description": "点价开始日期",
  11167. "type": "string"
  11168. }
  11169. }
  11170. },
  11171. "erms3.SpotPriceOrder": {
  11172. "type": "object",
  11173. "required": [
  11174. "amount",
  11175. "price",
  11176. "qty"
  11177. ],
  11178. "properties": {
  11179. "amount": {
  11180. "description": "金额",
  11181. "type": "number"
  11182. },
  11183. "deliveryenddate": {
  11184. "description": "交收结束日期",
  11185. "type": "string"
  11186. },
  11187. "deliverystartdate": {
  11188. "description": "交收开始日期",
  11189. "type": "string"
  11190. },
  11191. "price": {
  11192. "description": "价格",
  11193. "type": "number"
  11194. },
  11195. "qty": {
  11196. "description": "数量",
  11197. "type": "number"
  11198. }
  11199. }
  11200. },
  11201. "hsby.GetHsbyMyCountRsp": {
  11202. "type": "object",
  11203. "properties": {
  11204. "myCouponCount": {
  11205. "description": "我的优惠卷数量",
  11206. "type": "integer"
  11207. },
  11208. "myOrderDetailListingCount": {
  11209. "description": "我的订单求购中数量",
  11210. "type": "integer"
  11211. },
  11212. "myOrderDetailPreCount": {
  11213. "description": "我的订单抢购中数量",
  11214. "type": "integer"
  11215. },
  11216. "myPackageUnReceiveCount": {
  11217. "description": "我的包裹待收货数量",
  11218. "type": "integer"
  11219. },
  11220. "myPackageUnSendCount": {
  11221. "description": "我的包裹待发货数量",
  11222. "type": "integer"
  11223. },
  11224. "myPayOrderCount": {
  11225. "description": "我的订单待付款数量",
  11226. "type": "integer"
  11227. }
  11228. }
  11229. },
  11230. "hsby.QueryProvincesAndCitiesRsp": {
  11231. "type": "object",
  11232. "properties": {
  11233. "cities": {
  11234. "description": "市",
  11235. "type": "array",
  11236. "items": {
  11237. "$ref": "#/definitions/models.Division"
  11238. }
  11239. },
  11240. "province": {
  11241. "description": "省",
  11242. "type": "object",
  11243. "$ref": "#/definitions/models.Division"
  11244. }
  11245. }
  11246. },
  11247. "models.AreaSpotModel": {
  11248. "type": "object",
  11249. "properties": {
  11250. "areauserid": {
  11251. "description": "所属机构",
  11252. "type": "integer"
  11253. },
  11254. "decreaseqty": {
  11255. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11256. "type": "number"
  11257. },
  11258. "increaseqty": {
  11259. "description": "增加数量=销售计划数量+采购已定价数量",
  11260. "type": "number"
  11261. },
  11262. "oritoalspotqty": {
  11263. "description": "昨日数量",
  11264. "type": "number"
  11265. },
  11266. "totalspotqty": {
  11267. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11268. "type": "number"
  11269. },
  11270. "updatetime": {
  11271. "description": "更新时间",
  11272. "type": "string"
  11273. },
  11274. "wrstandardcode": {
  11275. "description": "现货品种代码",
  11276. "type": "string"
  11277. },
  11278. "wrstandardid": {
  11279. "description": "现货商品ID",
  11280. "type": "integer"
  11281. },
  11282. "wrstandardname": {
  11283. "description": "现货品种",
  11284. "type": "string"
  11285. }
  11286. }
  11287. },
  11288. "models.Clientfixedadconfig": {
  11289. "type": "object",
  11290. "required": [
  11291. "adsort",
  11292. "adtype"
  11293. ],
  11294. "properties": {
  11295. "adsort": {
  11296. "description": "排序",
  11297. "type": "integer"
  11298. },
  11299. "adtype": {
  11300. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11301. "type": "integer"
  11302. },
  11303. "areauserid": {
  11304. "description": "所属机构ID",
  11305. "type": "integer"
  11306. },
  11307. "createdate": {
  11308. "description": "创建时间",
  11309. "type": "string"
  11310. },
  11311. "creatorid": {
  11312. "description": "创建人",
  11313. "type": "integer"
  11314. },
  11315. "imagepath": {
  11316. "description": "图片",
  11317. "type": "string"
  11318. },
  11319. "isshow": {
  11320. "description": "是否展示 - 0:不展示 1:展示",
  11321. "type": "integer"
  11322. },
  11323. "modifierid": {
  11324. "description": "操作人",
  11325. "type": "integer"
  11326. },
  11327. "recsize": {
  11328. "description": "推荐尺寸",
  11329. "type": "string"
  11330. },
  11331. "title": {
  11332. "description": "标题",
  11333. "type": "string"
  11334. },
  11335. "updatedate": {
  11336. "description": "更新时间",
  11337. "type": "string"
  11338. },
  11339. "urlcontent": {
  11340. "description": "链接(地址或商品ID)",
  11341. "type": "string"
  11342. },
  11343. "urltype": {
  11344. "description": "链接类型 - 1:直接地址 2:商品ID",
  11345. "type": "integer"
  11346. }
  11347. }
  11348. },
  11349. "models.Division": {
  11350. "type": "object",
  11351. "required": [
  11352. "autoid",
  11353. "divisioncode"
  11354. ],
  11355. "properties": {
  11356. "autoid": {
  11357. "description": "自增ID",
  11358. "type": "integer"
  11359. },
  11360. "divisioncode": {
  11361. "description": "行政代码",
  11362. "type": "string"
  11363. },
  11364. "divisionlevel": {
  11365. "description": "行政级别",
  11366. "type": "string"
  11367. },
  11368. "divisionname": {
  11369. "description": "行政名称",
  11370. "type": "string"
  11371. },
  11372. "modifierid": {
  11373. "description": "修改人",
  11374. "type": "integer"
  11375. },
  11376. "modifytime": {
  11377. "description": "修改时间",
  11378. "type": "string"
  11379. },
  11380. "parentcode": {
  11381. "description": "上级行政代码",
  11382. "type": "string"
  11383. },
  11384. "pathname": {
  11385. "description": "路径名称",
  11386. "type": "string"
  11387. },
  11388. "postcode": {
  11389. "description": "邮政编码",
  11390. "type": "string"
  11391. },
  11392. "separablename": {
  11393. "description": "可拆分的全称",
  11394. "type": "string"
  11395. },
  11396. "shortcode": {
  11397. "description": "地区简码",
  11398. "type": "string"
  11399. }
  11400. }
  11401. },
  11402. "models.Enumdicitem": {
  11403. "type": "object",
  11404. "required": [
  11405. "autoid",
  11406. "enumdiccode",
  11407. "enumdicid",
  11408. "enumitemname"
  11409. ],
  11410. "properties": {
  11411. "autoid": {
  11412. "description": "自增ID",
  11413. "type": "integer"
  11414. },
  11415. "bankmappedvalue": {
  11416. "description": "银行服务对应值",
  11417. "type": "string"
  11418. },
  11419. "enumdiccode": {
  11420. "description": "所属枚举代码",
  11421. "type": "string"
  11422. },
  11423. "enumdicid": {
  11424. "description": "所属枚举ID",
  11425. "type": "integer"
  11426. },
  11427. "enumdicname": {
  11428. "description": "枚举项名称",
  11429. "type": "string"
  11430. },
  11431. "enumitemname": {
  11432. "description": "枚举项值",
  11433. "type": "integer"
  11434. },
  11435. "enumitemstatus": {
  11436. "description": "枚举项状态 - 1.启用 2.不启用",
  11437. "type": "integer"
  11438. },
  11439. "enumitemvalue": {
  11440. "description": "通用值 - [币种通用简写]",
  11441. "type": "string"
  11442. },
  11443. "param1": {
  11444. "description": "参数1[币种:币种小数位]",
  11445. "type": "string"
  11446. },
  11447. "param2": {
  11448. "description": "参数1[币种:币种显示单位]",
  11449. "type": "string"
  11450. },
  11451. "remark": {
  11452. "description": "备注",
  11453. "type": "string"
  11454. }
  11455. }
  11456. },
  11457. "models.Ermcp3AreaSpot": {
  11458. "type": "object",
  11459. "properties": {
  11460. "areauserid": {
  11461. "description": "所属机构",
  11462. "type": "integer"
  11463. },
  11464. "decreaseqty": {
  11465. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11466. "type": "number"
  11467. },
  11468. "deliverygoodscode": {
  11469. "description": "现货品种代码",
  11470. "type": "string"
  11471. },
  11472. "deliverygoodsid": {
  11473. "description": "现货品种id",
  11474. "type": "integer"
  11475. },
  11476. "deliverygoodsname": {
  11477. "description": "现货品种名称",
  11478. "type": "string"
  11479. },
  11480. "enumdicname": {
  11481. "description": "单位名称",
  11482. "type": "string"
  11483. },
  11484. "goodsunitid": {
  11485. "description": "现货品种单位id",
  11486. "type": "integer"
  11487. },
  11488. "increaseqty": {
  11489. "description": "增加数量=销售计划数量+采购已定价数量",
  11490. "type": "number"
  11491. },
  11492. "oritoalspotqty": {
  11493. "description": "昨日数量",
  11494. "type": "number"
  11495. },
  11496. "totalspotqty": {
  11497. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11498. "type": "number"
  11499. },
  11500. "updatetime": {
  11501. "description": "更新时间",
  11502. "type": "string"
  11503. }
  11504. }
  11505. },
  11506. "models.Ermcp3AreaSpotDetail": {
  11507. "type": "object",
  11508. "properties": {
  11509. "contracttype": {
  11510. "description": "合同类型 1-采购 -1-销售",
  11511. "type": "integer"
  11512. },
  11513. "createtime": {
  11514. "description": "创建时间",
  11515. "type": "string"
  11516. },
  11517. "deliverygoodscode": {
  11518. "description": "现货品种代码",
  11519. "type": "string"
  11520. },
  11521. "deliverygoodsid": {
  11522. "description": "现货品种id",
  11523. "type": "integer"
  11524. },
  11525. "deliverygoodsname": {
  11526. "description": "现货品种名称",
  11527. "type": "string"
  11528. },
  11529. "enumdicname": {
  11530. "description": "现货商品单位名称",
  11531. "type": "string"
  11532. },
  11533. "logtype": {
  11534. "description": "记录类型 1-套保 2-现货合同",
  11535. "type": "integer"
  11536. },
  11537. "qty": {
  11538. "description": "数量",
  11539. "type": "number"
  11540. },
  11541. "recordname": {
  11542. "description": "类型名称",
  11543. "type": "string"
  11544. },
  11545. "relatedid": {
  11546. "description": "套保计划ID/现货合同ID",
  11547. "type": "string"
  11548. },
  11549. "relatedno": {
  11550. "description": "编号",
  11551. "type": "string"
  11552. },
  11553. "strtime": {
  11554. "description": "时间",
  11555. "type": "string"
  11556. }
  11557. }
  11558. },
  11559. "models.Ermcp3AreaStock": {
  11560. "type": "object",
  11561. "required": [
  11562. "userid"
  11563. ],
  11564. "properties": {
  11565. "brandname": {
  11566. "description": "品牌名称",
  11567. "type": "string"
  11568. },
  11569. "curstock": {
  11570. "description": "期末库存量(今日量)",
  11571. "type": "number"
  11572. },
  11573. "deliverygoodscode": {
  11574. "description": "现货品种代码",
  11575. "type": "string"
  11576. },
  11577. "deliverygoodsid": {
  11578. "description": "现货品种id",
  11579. "type": "integer"
  11580. },
  11581. "deliverygoodsname": {
  11582. "description": "现货品种名称",
  11583. "type": "string"
  11584. },
  11585. "enumdicname": {
  11586. "description": "单位名称",
  11587. "type": "string"
  11588. },
  11589. "goodsunitid": {
  11590. "description": "现货商品单位id",
  11591. "type": "integer"
  11592. },
  11593. "oristock": {
  11594. "description": "期初库存量(昨日量)",
  11595. "type": "number"
  11596. },
  11597. "spotgoodsbrandid": {
  11598. "description": "现货品牌ID",
  11599. "type": "integer"
  11600. },
  11601. "todaybuyinqty": {
  11602. "description": "今日采购入库量",
  11603. "type": "number"
  11604. },
  11605. "todayproduceinqty": {
  11606. "description": "今日生产入库量",
  11607. "type": "number"
  11608. },
  11609. "todayproduceoutqty": {
  11610. "description": "今日生产出库量",
  11611. "type": "number"
  11612. },
  11613. "todayselloutqty": {
  11614. "description": "今日销售出库量",
  11615. "type": "number"
  11616. },
  11617. "unitid": {
  11618. "description": "单位id",
  11619. "type": "integer"
  11620. },
  11621. "updatetime": {
  11622. "description": "更新时间",
  11623. "type": "string"
  11624. },
  11625. "userid": {
  11626. "description": "机构ID",
  11627. "type": "integer"
  11628. },
  11629. "username": {
  11630. "description": "机构名称",
  11631. "type": "string"
  11632. },
  11633. "warehousecode": {
  11634. "description": "仓库代码",
  11635. "type": "string"
  11636. },
  11637. "warehouseinfoid": {
  11638. "description": "仓库ID",
  11639. "type": "string"
  11640. },
  11641. "warehousename": {
  11642. "description": "仓库名称",
  11643. "type": "string"
  11644. },
  11645. "warehousetype": {
  11646. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11647. "type": "integer"
  11648. },
  11649. "wrstandardcode": {
  11650. "description": "品类代码",
  11651. "type": "string"
  11652. },
  11653. "wrstandardid": {
  11654. "description": "品类ID",
  11655. "type": "string"
  11656. },
  11657. "wrstandardname": {
  11658. "description": "品类名称",
  11659. "type": "string"
  11660. }
  11661. }
  11662. },
  11663. "models.Ermcp3AreaStockApply": {
  11664. "type": "object",
  11665. "properties": {
  11666. "applyid": {
  11667. "description": "申请人",
  11668. "type": "integer"
  11669. },
  11670. "applyname": {
  11671. "description": "申请人名称",
  11672. "type": "string"
  11673. },
  11674. "applyremark": {
  11675. "description": "申请备注",
  11676. "type": "string"
  11677. },
  11678. "applysrc": {
  11679. "description": "申请来源 - 1:管理端 2:终端",
  11680. "type": "integer"
  11681. },
  11682. "applystatus": {
  11683. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11684. "type": "integer"
  11685. },
  11686. "applytime": {
  11687. "description": "申请时间",
  11688. "type": "string"
  11689. },
  11690. "auditid": {
  11691. "description": "审核人",
  11692. "type": "integer"
  11693. },
  11694. "auditname": {
  11695. "description": "审核人名称",
  11696. "type": "string"
  11697. },
  11698. "auditremark": {
  11699. "description": "审核备注",
  11700. "type": "string"
  11701. },
  11702. "auditsrc": {
  11703. "description": "审核来源 - 1:管理端 2:终端",
  11704. "type": "integer"
  11705. },
  11706. "audittime": {
  11707. "description": "审核时间",
  11708. "type": "string"
  11709. },
  11710. "audittradedate": {
  11711. "description": "审核交易日(yyyyMMdd)",
  11712. "type": "string"
  11713. },
  11714. "brandname": {
  11715. "description": "品牌名称",
  11716. "type": "string"
  11717. },
  11718. "buynickname": {
  11719. "description": "采购方昵称",
  11720. "type": "string"
  11721. },
  11722. "buyuserid": {
  11723. "description": "采购方userid",
  11724. "type": "integer"
  11725. },
  11726. "buyusername": {
  11727. "description": "采购方名称",
  11728. "type": "string"
  11729. },
  11730. "contractno": {
  11731. "description": "合同编号",
  11732. "type": "string"
  11733. },
  11734. "contractqty": {
  11735. "description": "合同量",
  11736. "type": "number"
  11737. },
  11738. "contracttype": {
  11739. "description": "现货合同类型 - 1:采购 -1:销售",
  11740. "type": "integer"
  11741. },
  11742. "deliverygoodscode": {
  11743. "description": "现货品种代码",
  11744. "type": "string"
  11745. },
  11746. "deliverygoodsid": {
  11747. "description": "现货品种id",
  11748. "type": "integer"
  11749. },
  11750. "deliverygoodsname": {
  11751. "description": "现货品种名称",
  11752. "type": "string"
  11753. },
  11754. "detailjson": {
  11755. "description": "明细数据",
  11756. "type": "string"
  11757. },
  11758. "enumdicname": {
  11759. "description": "现货商品单位名称",
  11760. "type": "string"
  11761. },
  11762. "inoutapplyid": {
  11763. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11764. "type": "string"
  11765. },
  11766. "inouttype": {
  11767. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  11768. "type": "integer"
  11769. },
  11770. "pricetype": {
  11771. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11772. "type": "integer"
  11773. },
  11774. "qty": {
  11775. "description": "数量",
  11776. "type": "number"
  11777. },
  11778. "sellnickname": {
  11779. "description": "销售方昵称",
  11780. "type": "string"
  11781. },
  11782. "selluserid": {
  11783. "description": "销售方userid",
  11784. "type": "integer"
  11785. },
  11786. "sellusername": {
  11787. "description": "销售方名称",
  11788. "type": "string"
  11789. },
  11790. "spotcontractid": {
  11791. "description": "关联现货合同ID",
  11792. "type": "string"
  11793. },
  11794. "spotgoodsbrandid": {
  11795. "description": "现货品牌ID",
  11796. "type": "integer"
  11797. },
  11798. "unitid": {
  11799. "description": "单位id",
  11800. "type": "integer"
  11801. },
  11802. "userid": {
  11803. "description": "机构ID",
  11804. "type": "integer"
  11805. },
  11806. "warehousecode": {
  11807. "description": "仓库代码",
  11808. "type": "string"
  11809. },
  11810. "warehouseinfoid": {
  11811. "description": "现货仓库ID",
  11812. "type": "string"
  11813. },
  11814. "warehousename": {
  11815. "description": "仓库名称",
  11816. "type": "string"
  11817. },
  11818. "warehousetype": {
  11819. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11820. "type": "integer"
  11821. },
  11822. "wrstandardcode": {
  11823. "description": "品类代码",
  11824. "type": "string"
  11825. },
  11826. "wrstandardid": {
  11827. "description": "品类ID",
  11828. "type": "integer"
  11829. },
  11830. "wrstandardname": {
  11831. "description": "品类名称",
  11832. "type": "string"
  11833. }
  11834. }
  11835. },
  11836. "models.Ermcp3AreaStockApplySum": {
  11837. "type": "object",
  11838. "properties": {
  11839. "brandname": {
  11840. "description": "品牌名称",
  11841. "type": "string"
  11842. },
  11843. "inouttype": {
  11844. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11845. "type": "integer"
  11846. },
  11847. "spotcontractid": {
  11848. "description": "关联现货合同ID",
  11849. "type": "string"
  11850. },
  11851. "spotgoodsbrandid": {
  11852. "description": "品牌id",
  11853. "type": "integer"
  11854. },
  11855. "totalqty": {
  11856. "description": "总数量",
  11857. "type": "number"
  11858. },
  11859. "wrstandardid": {
  11860. "description": "品类id",
  11861. "type": "integer"
  11862. },
  11863. "wrstandardname": {
  11864. "description": "品类名称",
  11865. "type": "string"
  11866. }
  11867. }
  11868. },
  11869. "models.Ermcp3AreaStockReport": {
  11870. "type": "object",
  11871. "properties": {
  11872. "brandname": {
  11873. "description": "品牌名称",
  11874. "type": "string"
  11875. },
  11876. "curstock": {
  11877. "description": "期末库存量",
  11878. "type": "number"
  11879. },
  11880. "deliverygoodscode": {
  11881. "description": "现货品种代码",
  11882. "type": "string"
  11883. },
  11884. "deliverygoodsid": {
  11885. "description": "现货品种id",
  11886. "type": "integer"
  11887. },
  11888. "deliverygoodsname": {
  11889. "description": "现货品种名称",
  11890. "type": "string"
  11891. },
  11892. "enumdicname": {
  11893. "description": "单位名称",
  11894. "type": "string"
  11895. },
  11896. "goodsunitid": {
  11897. "description": "现货单位id",
  11898. "type": "integer"
  11899. },
  11900. "oristock": {
  11901. "description": "期初库存量",
  11902. "type": "number"
  11903. },
  11904. "spotgoodsbrandid": {
  11905. "description": "现货品牌ID",
  11906. "type": "integer"
  11907. },
  11908. "todaybuyinqty": {
  11909. "description": "今日采购入库量",
  11910. "type": "number"
  11911. },
  11912. "todayproduceinqty": {
  11913. "description": "今日生产入库量",
  11914. "type": "number"
  11915. },
  11916. "todayproduceoutqty": {
  11917. "description": "今日生产出库量",
  11918. "type": "number"
  11919. },
  11920. "todayselloutqty": {
  11921. "description": "今日销售出库量",
  11922. "type": "number"
  11923. },
  11924. "unitid": {
  11925. "description": "品类单位id",
  11926. "type": "integer"
  11927. },
  11928. "updatetime": {
  11929. "description": "更新时间",
  11930. "type": "string"
  11931. },
  11932. "userid": {
  11933. "description": "机构ID",
  11934. "type": "integer"
  11935. },
  11936. "username": {
  11937. "description": "机构名称",
  11938. "type": "string"
  11939. },
  11940. "warehousecode": {
  11941. "description": "仓库代码",
  11942. "type": "string"
  11943. },
  11944. "warehouseinfoid": {
  11945. "description": "仓库ID",
  11946. "type": "string"
  11947. },
  11948. "warehousename": {
  11949. "description": "仓库名称",
  11950. "type": "string"
  11951. },
  11952. "warehousetype": {
  11953. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11954. "type": "integer"
  11955. },
  11956. "wrstandardcode": {
  11957. "description": "品类代码",
  11958. "type": "string"
  11959. },
  11960. "wrstandardid": {
  11961. "description": "品类ID",
  11962. "type": "integer"
  11963. },
  11964. "wrstandardname": {
  11965. "description": "品类名称",
  11966. "type": "string"
  11967. }
  11968. }
  11969. },
  11970. "models.Ermcp3Brand": {
  11971. "type": "object",
  11972. "properties": {
  11973. "areauserid": {
  11974. "description": "用户id",
  11975. "type": "integer"
  11976. },
  11977. "brandid": {
  11978. "description": "品牌id",
  11979. "type": "integer"
  11980. },
  11981. "brandname": {
  11982. "description": "品牌名称",
  11983. "type": "string"
  11984. },
  11985. "deliverygoodsid": {
  11986. "description": "品种ID",
  11987. "type": "integer"
  11988. }
  11989. }
  11990. },
  11991. "models.Ermcp3Contract": {
  11992. "type": "object",
  11993. "properties": {
  11994. "accountid": {
  11995. "description": "期货账户id",
  11996. "type": "string"
  11997. },
  11998. "amount": {
  11999. "description": "金额 [1:一口价、3:暂定价]",
  12000. "type": "number"
  12001. },
  12002. "attachment": {
  12003. "description": "附件",
  12004. "type": "string"
  12005. },
  12006. "auditremark": {
  12007. "description": "审核意见",
  12008. "type": "string"
  12009. },
  12010. "audittime": {
  12011. "description": "审核时间",
  12012. "type": "string"
  12013. },
  12014. "biztype": {
  12015. "description": "业务类型 1-套保 2-套利",
  12016. "type": "integer"
  12017. },
  12018. "brandname": {
  12019. "description": "品牌名称",
  12020. "type": "string"
  12021. },
  12022. "buynickname": {
  12023. "description": "销售方昵称",
  12024. "type": "string"
  12025. },
  12026. "buyuserid": {
  12027. "description": "采购方ID",
  12028. "type": "integer"
  12029. },
  12030. "buyusername": {
  12031. "description": "采购方名称",
  12032. "type": "string"
  12033. },
  12034. "contracctstatus": {
  12035. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12036. "type": "integer"
  12037. },
  12038. "contractmargin": {
  12039. "description": "合同保证金",
  12040. "type": "number"
  12041. },
  12042. "contractno": {
  12043. "description": "现货合同编号",
  12044. "type": "string"
  12045. },
  12046. "contracttype": {
  12047. "description": "现货合同类型 - 1:采购 -1:销售",
  12048. "type": "integer"
  12049. },
  12050. "convertfactor": {
  12051. "description": "标仓系数(品类)",
  12052. "type": "number"
  12053. },
  12054. "createtime": {
  12055. "description": "创建时间",
  12056. "type": "string"
  12057. },
  12058. "currencyid": {
  12059. "description": "币种id",
  12060. "type": "integer"
  12061. },
  12062. "currencyname": {
  12063. "description": "币种名称",
  12064. "type": "string"
  12065. },
  12066. "deliveryenddate": {
  12067. "description": "交收期(结束)",
  12068. "type": "string"
  12069. },
  12070. "deliverygoodscode": {
  12071. "description": "现货品种代码",
  12072. "type": "string"
  12073. },
  12074. "deliverygoodsid": {
  12075. "description": "现货品种ID",
  12076. "type": "integer"
  12077. },
  12078. "deliverygoodsname": {
  12079. "description": "现货品种名称",
  12080. "type": "string"
  12081. },
  12082. "deliverystartdate": {
  12083. "description": "交收期(开始)",
  12084. "type": "string"
  12085. },
  12086. "enddate": {
  12087. "description": "点价结束日期 [2:点价 3:暂定价]",
  12088. "type": "string"
  12089. },
  12090. "enumdicname": {
  12091. "description": "单位名称",
  12092. "type": "string"
  12093. },
  12094. "goodscode": {
  12095. "description": "点价合约代码",
  12096. "type": "string"
  12097. },
  12098. "goodsid": {
  12099. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12100. "type": "integer"
  12101. },
  12102. "goodsname": {
  12103. "description": "点价商品名称",
  12104. "type": "string"
  12105. },
  12106. "margin": {
  12107. "description": "当前保证金",
  12108. "type": "number"
  12109. },
  12110. "meruserid": {
  12111. "description": "跟单员id",
  12112. "type": "integer"
  12113. },
  12114. "meruserlogincode": {
  12115. "description": "跟单员登录代码",
  12116. "type": "string"
  12117. },
  12118. "price": {
  12119. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12120. "type": "number"
  12121. },
  12122. "pricemove": {
  12123. "description": "升贴水 [2:点价 3:暂定价]",
  12124. "type": "number"
  12125. },
  12126. "pricetype": {
  12127. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12128. "type": "integer"
  12129. },
  12130. "producttype": {
  12131. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12132. "type": "integer"
  12133. },
  12134. "qty": {
  12135. "description": "数量",
  12136. "type": "number"
  12137. },
  12138. "remark": {
  12139. "description": "备注",
  12140. "type": "string"
  12141. },
  12142. "saleuserid": {
  12143. "description": "业务员id",
  12144. "type": "integer"
  12145. },
  12146. "saleuserlogincode": {
  12147. "description": "业务员登录代码",
  12148. "type": "string"
  12149. },
  12150. "sellnickname": {
  12151. "description": "采购方昵称",
  12152. "type": "string"
  12153. },
  12154. "selluserid": {
  12155. "description": "销售方ID",
  12156. "type": "integer"
  12157. },
  12158. "sellusername": {
  12159. "description": "销售方名称",
  12160. "type": "string"
  12161. },
  12162. "spotcontractid": {
  12163. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12164. "type": "string"
  12165. },
  12166. "spotgoodsbrandid": {
  12167. "description": "现货品牌ID(DGFactoryItem表的ID)",
  12168. "type": "integer"
  12169. },
  12170. "spotgoodsdesc": {
  12171. "description": "商品型号",
  12172. "type": "string"
  12173. },
  12174. "startdate": {
  12175. "description": "点价开始日期 [2:点价 3:暂定价]",
  12176. "type": "string"
  12177. },
  12178. "tradeuserid": {
  12179. "description": "交易员id",
  12180. "type": "integer"
  12181. },
  12182. "tradeuserlogincode": {
  12183. "description": "交易员登录代码",
  12184. "type": "string"
  12185. },
  12186. "tradeusername": {
  12187. "description": "交易员名称",
  12188. "type": "string"
  12189. },
  12190. "unitid": {
  12191. "description": "单位id(取品类上的单位id)",
  12192. "type": "integer"
  12193. },
  12194. "updatetime": {
  12195. "description": "更新时间",
  12196. "type": "string"
  12197. },
  12198. "userid": {
  12199. "description": "所属机构ID",
  12200. "type": "integer"
  12201. },
  12202. "wrstandardcode": {
  12203. "description": "品类代码",
  12204. "type": "string"
  12205. },
  12206. "wrstandardid": {
  12207. "description": "品类ID",
  12208. "type": "integer"
  12209. },
  12210. "wrstandardname": {
  12211. "description": "品类名称",
  12212. "type": "string"
  12213. }
  12214. }
  12215. },
  12216. "models.Ermcp3ExposureDetail": {
  12217. "type": "object",
  12218. "properties": {
  12219. "areauserid": {
  12220. "description": "机构ID",
  12221. "type": "integer"
  12222. },
  12223. "changeQty": {
  12224. "description": "套保变动量",
  12225. "type": "number"
  12226. },
  12227. "contracttype": {
  12228. "description": "现货合同类型 - 1:采购 -1:销售",
  12229. "type": "integer"
  12230. },
  12231. "convertfactor": {
  12232. "description": "标仓系数",
  12233. "type": "number"
  12234. },
  12235. "convertratio": {
  12236. "description": "套保系数",
  12237. "type": "number"
  12238. },
  12239. "createtime": {
  12240. "description": "时间",
  12241. "type": "string"
  12242. },
  12243. "deliverygoodscode": {
  12244. "description": "现货品种代码",
  12245. "type": "string"
  12246. },
  12247. "deliverygoodsid": {
  12248. "description": "现货品种id",
  12249. "type": "integer"
  12250. },
  12251. "deliverygoodsname": {
  12252. "description": "现货品种名称",
  12253. "type": "string"
  12254. },
  12255. "enumdicname": {
  12256. "description": "现货商品单位名称",
  12257. "type": "string"
  12258. },
  12259. "logtype": {
  12260. "description": "类型 - 1:套保计划 2:现货合同",
  12261. "type": "integer"
  12262. },
  12263. "middlegoodsId": {
  12264. "description": "套保商品id",
  12265. "type": "integer"
  12266. },
  12267. "middlegoodscode": {
  12268. "description": "套保商品代码",
  12269. "type": "string"
  12270. },
  12271. "middlegoodsname": {
  12272. "description": "套保商品名称",
  12273. "type": "string"
  12274. },
  12275. "qty": {
  12276. "description": "数量",
  12277. "type": "number"
  12278. },
  12279. "relateNo": {
  12280. "description": "现货合同/套保计划编号",
  12281. "type": "string"
  12282. }
  12283. }
  12284. },
  12285. "models.Ermcp3Goods": {
  12286. "type": "object",
  12287. "properties": {
  12288. "agreeunit": {
  12289. "description": "合约单位(合约乘数)",
  12290. "type": "number"
  12291. },
  12292. "enumdicname": {
  12293. "description": "单位名称",
  12294. "type": "string"
  12295. },
  12296. "exexchangecode": {
  12297. "description": "交易所代码",
  12298. "type": "string"
  12299. },
  12300. "goodscode": {
  12301. "description": "期货商品代码",
  12302. "type": "string"
  12303. },
  12304. "goodsid": {
  12305. "description": "期货商品id",
  12306. "type": "integer"
  12307. },
  12308. "goodsname": {
  12309. "description": "期货商品名称",
  12310. "type": "string"
  12311. }
  12312. }
  12313. },
  12314. "models.Ermcp3GoodsGroup": {
  12315. "type": "object",
  12316. "required": [
  12317. "areauserid"
  12318. ],
  12319. "properties": {
  12320. "agreeunit": {
  12321. "description": "合约单位",
  12322. "type": "number"
  12323. },
  12324. "areauserid": {
  12325. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  12326. "type": "integer"
  12327. },
  12328. "canshort": {
  12329. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12330. "type": "integer"
  12331. },
  12332. "closepricemode": {
  12333. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12334. "type": "integer"
  12335. },
  12336. "createtime": {
  12337. "description": "创建时间",
  12338. "type": "string"
  12339. },
  12340. "creatorid": {
  12341. "description": "创建人",
  12342. "type": "integer"
  12343. },
  12344. "currencyid": {
  12345. "description": "报价货币ID",
  12346. "type": "integer"
  12347. },
  12348. "decimalplace": {
  12349. "description": "报价小数位",
  12350. "type": "integer"
  12351. },
  12352. "enumdicname": {
  12353. "description": "单位名称",
  12354. "type": "string"
  12355. },
  12356. "excludecfg": {
  12357. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  12358. "type": "integer"
  12359. },
  12360. "exexchangeid": {
  12361. "description": "外部交易所ID[通道交易]",
  12362. "type": "integer"
  12363. },
  12364. "goodsgroupid": {
  12365. "description": "商品组ID(自增ID)",
  12366. "type": "integer"
  12367. },
  12368. "goodsgroupname": {
  12369. "description": "商品组名称",
  12370. "type": "string"
  12371. },
  12372. "goodsgroupstatus": {
  12373. "description": "商品组状态 - 1:正常 2:注销",
  12374. "type": "integer"
  12375. },
  12376. "goodunitid": {
  12377. "description": "报价单位ID",
  12378. "type": "integer"
  12379. },
  12380. "groupcategroyid": {
  12381. "description": "品种分类ID",
  12382. "type": "integer"
  12383. },
  12384. "innerdealmode": {
  12385. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12386. "type": "integer"
  12387. },
  12388. "marketid": {
  12389. "description": "所属市场ID",
  12390. "type": "integer"
  12391. },
  12392. "modifierid": {
  12393. "description": "修改人",
  12394. "type": "integer"
  12395. },
  12396. "modifytime": {
  12397. "description": "修改时间",
  12398. "type": "string"
  12399. },
  12400. "outerdealmode": {
  12401. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12402. "type": "integer"
  12403. },
  12404. "outergroupcode": {
  12405. "description": "外部商品组代码[通道交易]",
  12406. "type": "string"
  12407. },
  12408. "quoteminunit": {
  12409. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12410. "type": "integer"
  12411. },
  12412. "quotesourcegroupid": {
  12413. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12414. "type": "integer"
  12415. },
  12416. "syncgoodsqty": {
  12417. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12418. "type": "integer"
  12419. }
  12420. }
  12421. },
  12422. "models.Ermcp3GoodsGroupEx": {
  12423. "type": "object",
  12424. "properties": {
  12425. "convertratio": {
  12426. "description": "折算系数(品种系数)",
  12427. "type": "number"
  12428. },
  12429. "enumdicname": {
  12430. "description": "单位名称",
  12431. "type": "string"
  12432. },
  12433. "exexchangecode": {
  12434. "description": "交易所代码",
  12435. "type": "string"
  12436. },
  12437. "glist": {
  12438. "description": "合约列表",
  12439. "type": "array",
  12440. "items": {
  12441. "$ref": "#/definitions/models.Ermcp3Goods"
  12442. }
  12443. },
  12444. "goodsgroupid": {
  12445. "description": "商品组id",
  12446. "type": "integer"
  12447. },
  12448. "goodsgroupname": {
  12449. "description": "商品组名称",
  12450. "type": "string"
  12451. },
  12452. "goodsunitid": {
  12453. "description": "单位id",
  12454. "type": "integer"
  12455. },
  12456. "middlegoodsid": {
  12457. "description": "套保商品id",
  12458. "type": "integer"
  12459. }
  12460. }
  12461. },
  12462. "models.Ermcp3HedgePlan": {
  12463. "type": "object",
  12464. "properties": {
  12465. "accountid": {
  12466. "description": "资金账号",
  12467. "type": "integer"
  12468. },
  12469. "areauserid": {
  12470. "description": "用户ID",
  12471. "type": "integer"
  12472. },
  12473. "audittime": {
  12474. "description": "审核时间",
  12475. "type": "string"
  12476. },
  12477. "contracttype": {
  12478. "description": "计划类型 - 1:采购 -1:销售",
  12479. "type": "integer"
  12480. },
  12481. "convertfactor": {
  12482. "description": "标仓系数",
  12483. "type": "number"
  12484. },
  12485. "createtime": {
  12486. "description": "创建时间",
  12487. "type": "string"
  12488. },
  12489. "currencyid": {
  12490. "description": "币种id",
  12491. "type": "integer"
  12492. },
  12493. "currencyname": {
  12494. "description": "币种名称",
  12495. "type": "string"
  12496. },
  12497. "deliverygoodscode": {
  12498. "description": "现货品种代码",
  12499. "type": "string"
  12500. },
  12501. "deliverygoodsid": {
  12502. "description": "现货品种ID",
  12503. "type": "integer"
  12504. },
  12505. "deliverygoodsname": {
  12506. "description": "现货品种名称",
  12507. "type": "string"
  12508. },
  12509. "enumdicname": {
  12510. "description": "单位名称(现货商品)",
  12511. "type": "string"
  12512. },
  12513. "hedgeplanid": {
  12514. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  12515. "type": "string"
  12516. },
  12517. "hedgeplanno": {
  12518. "description": "套保计划编号(名称)",
  12519. "type": "string"
  12520. },
  12521. "hedgeplanstatus": {
  12522. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12523. "type": "integer"
  12524. },
  12525. "planqty": {
  12526. "description": "计划数量",
  12527. "type": "number"
  12528. },
  12529. "plantime": {
  12530. "description": "计划时间",
  12531. "type": "string"
  12532. },
  12533. "producttype": {
  12534. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12535. "type": "integer"
  12536. },
  12537. "remark": {
  12538. "description": "备注",
  12539. "type": "string"
  12540. },
  12541. "spotgoodsdesc": {
  12542. "description": "商品型号",
  12543. "type": "string"
  12544. },
  12545. "taaccountname": {
  12546. "description": "资金账号名称",
  12547. "type": "string"
  12548. },
  12549. "tradeuserid": {
  12550. "description": "交易用户id",
  12551. "type": "integer"
  12552. },
  12553. "tradeusername": {
  12554. "description": "交易用户名称",
  12555. "type": "string"
  12556. },
  12557. "unitid": {
  12558. "description": "单位id(现货商品)",
  12559. "type": "integer"
  12560. },
  12561. "updatetime": {
  12562. "description": "更新时间",
  12563. "type": "string"
  12564. },
  12565. "wrstandardcode": {
  12566. "description": "品类代码",
  12567. "type": "string"
  12568. },
  12569. "wrstandardid": {
  12570. "description": "品类id",
  12571. "type": "integer"
  12572. },
  12573. "wrstandardname": {
  12574. "description": "品类名称",
  12575. "type": "string"
  12576. },
  12577. "wrunitid": {
  12578. "description": "品类单位id",
  12579. "type": "integer"
  12580. },
  12581. "wrunitidame": {
  12582. "description": "品类单位名称",
  12583. "type": "string"
  12584. }
  12585. }
  12586. },
  12587. "models.Ermcp3MiddleGoodsDetail2": {
  12588. "type": "object",
  12589. "properties": {
  12590. "convertratio": {
  12591. "description": "套保系数(折算系数)",
  12592. "type": "number"
  12593. },
  12594. "gplist": {
  12595. "description": "关联商品组列表",
  12596. "type": "array",
  12597. "items": {
  12598. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  12599. }
  12600. },
  12601. "mg": {
  12602. "description": "套保商品信息",
  12603. "type": "object",
  12604. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12605. }
  12606. }
  12607. },
  12608. "models.Ermcp3MiddleGoodsDetailEx": {
  12609. "type": "object",
  12610. "properties": {
  12611. "dglist": {
  12612. "description": "关联的现货品种列表",
  12613. "type": "array",
  12614. "items": {
  12615. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  12616. }
  12617. },
  12618. "gplist": {
  12619. "description": "关联商品组列表",
  12620. "type": "array",
  12621. "items": {
  12622. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  12623. }
  12624. },
  12625. "mg": {
  12626. "description": "套保商品信息",
  12627. "type": "object",
  12628. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12629. }
  12630. }
  12631. },
  12632. "models.Ermcp3ReckonAreaSpotSub": {
  12633. "type": "object",
  12634. "required": [
  12635. "areauserid",
  12636. "reckondate"
  12637. ],
  12638. "properties": {
  12639. "accountid": {
  12640. "description": "期货账户ID",
  12641. "type": "integer"
  12642. },
  12643. "accountname": {
  12644. "description": "所属机构名称",
  12645. "type": "string"
  12646. },
  12647. "areauserid": {
  12648. "description": "账户所属机构",
  12649. "type": "integer"
  12650. },
  12651. "biztype": {
  12652. "description": "业务类型 1-套保 2-套利",
  12653. "type": "integer"
  12654. },
  12655. "brandname": {
  12656. "description": "品牌名称",
  12657. "type": "string"
  12658. },
  12659. "buycontractinqty": {
  12660. "description": "采购合同入库量",
  12661. "type": "number"
  12662. },
  12663. "buypricedamount": {
  12664. "description": "采购合同已定价金额",
  12665. "type": "number"
  12666. },
  12667. "buypricedqty": {
  12668. "description": "采购合同已定价数量",
  12669. "type": "number"
  12670. },
  12671. "buyreckonqty": {
  12672. "description": "采购合同交收量",
  12673. "type": "number"
  12674. },
  12675. "currencyid": {
  12676. "description": "币种id",
  12677. "type": "integer"
  12678. },
  12679. "currencyname": {
  12680. "description": "币种名称",
  12681. "type": "string"
  12682. },
  12683. "deliverygoodscode": {
  12684. "description": "现货商品代码",
  12685. "type": "string"
  12686. },
  12687. "deliverygoodsid": {
  12688. "description": "现货品种ID",
  12689. "type": "integer"
  12690. },
  12691. "deliverygoodsname": {
  12692. "description": "现货商品名称",
  12693. "type": "string"
  12694. },
  12695. "enumdicname": {
  12696. "description": "现货商品单位名称",
  12697. "type": "string"
  12698. },
  12699. "goodsunitid": {
  12700. "description": "现货商品单位id",
  12701. "type": "integer"
  12702. },
  12703. "oribuycontractinqty": {
  12704. "description": "期初采购合同入库量",
  12705. "type": "number"
  12706. },
  12707. "oribuypricedamount": {
  12708. "description": "期初采购合同已定价金额",
  12709. "type": "number"
  12710. },
  12711. "oribuypricedqty": {
  12712. "description": "期初采购合同已定价数量",
  12713. "type": "number"
  12714. },
  12715. "oribuyreckonqty": {
  12716. "description": "期初采购合同交收量",
  12717. "type": "number"
  12718. },
  12719. "oriproduceinqty": {
  12720. "description": "期初生产入库量",
  12721. "type": "number"
  12722. },
  12723. "oriproduceoutqty": {
  12724. "description": "期初生产出库量",
  12725. "type": "number"
  12726. },
  12727. "orisellcontractoutqty": {
  12728. "description": "期初销售合同出库量",
  12729. "type": "number"
  12730. },
  12731. "orisellpricedamount": {
  12732. "description": "期初销售合同已定价金额",
  12733. "type": "number"
  12734. },
  12735. "orisellpricedqty": {
  12736. "description": "期初销售合同已定价数量",
  12737. "type": "number"
  12738. },
  12739. "orisellreckonqty": {
  12740. "description": "期初销售合同交收量",
  12741. "type": "number"
  12742. },
  12743. "produceinqty": {
  12744. "description": "生产入库量",
  12745. "type": "number"
  12746. },
  12747. "produceoutqty": {
  12748. "description": "生产出库量",
  12749. "type": "number"
  12750. },
  12751. "reckondate": {
  12752. "description": "日照时期(yyyyMMdd)",
  12753. "type": "string"
  12754. },
  12755. "sellcontractoutqty": {
  12756. "description": "销售合同出库量",
  12757. "type": "number"
  12758. },
  12759. "sellpricedamount": {
  12760. "description": "销售合同已定价金额",
  12761. "type": "number"
  12762. },
  12763. "sellpricedqty": {
  12764. "description": "销售合同已定价数量",
  12765. "type": "number"
  12766. },
  12767. "sellreckonqty": {
  12768. "description": "销售合同交收量",
  12769. "type": "number"
  12770. },
  12771. "spotgoodsbrandid": {
  12772. "description": "现货品牌ID",
  12773. "type": "integer"
  12774. },
  12775. "todaybuyreckonqty": {
  12776. "description": "今日采购合同已确定数量",
  12777. "type": "number"
  12778. },
  12779. "todaysellreckonqty": {
  12780. "description": "今日销售合同已确定数量",
  12781. "type": "number"
  12782. },
  12783. "totalbuypricedqty": {
  12784. "description": "采购定价量 = 期末 - 期初",
  12785. "type": "number"
  12786. },
  12787. "totalsellpricedqty": {
  12788. "description": "销售定价量 = 期末 - 期初",
  12789. "type": "number"
  12790. },
  12791. "totalspotqty": {
  12792. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量",
  12793. "type": "number"
  12794. },
  12795. "updatetime": {
  12796. "description": "更新时间",
  12797. "type": "string"
  12798. },
  12799. "wrfactortypeid": {
  12800. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12801. "type": "integer"
  12802. },
  12803. "wrstandardcode": {
  12804. "description": "品类代码",
  12805. "type": "string"
  12806. },
  12807. "wrstandardid": {
  12808. "description": "现货品类ID",
  12809. "type": "integer"
  12810. },
  12811. "wrstandardname": {
  12812. "description": "品类名称",
  12813. "type": "string"
  12814. }
  12815. }
  12816. },
  12817. "models.Ermcp3ReckonExpourse": {
  12818. "type": "object",
  12819. "properties": {
  12820. "accountid": {
  12821. "description": "期货账户ID (作废, 默认为0)",
  12822. "type": "integer"
  12823. },
  12824. "accountname": {
  12825. "description": "机构名称",
  12826. "type": "string"
  12827. },
  12828. "arbitrageqty": {
  12829. "description": "套利量",
  12830. "type": "number"
  12831. },
  12832. "areauserid": {
  12833. "description": "所属机构\\交易用户ID",
  12834. "type": "integer"
  12835. },
  12836. "buyfutureqty": {
  12837. "description": "买入期货数量",
  12838. "type": "number"
  12839. },
  12840. "buyplanqty": {
  12841. "description": "采购计划数量",
  12842. "type": "number"
  12843. },
  12844. "buypricedqty": {
  12845. "description": "采购合同已定价数量",
  12846. "type": "number"
  12847. },
  12848. "diffexposure": {
  12849. "description": "变动量(套保敞口)",
  12850. "type": "number"
  12851. },
  12852. "difffutuqty": {
  12853. "description": "变动量(期货)",
  12854. "type": "number"
  12855. },
  12856. "diffhedgeqty": {
  12857. "description": "变动量(现货应套保总量)",
  12858. "type": "number"
  12859. },
  12860. "diffmgqtya": {
  12861. "description": "套保变动量",
  12862. "type": "number"
  12863. },
  12864. "diffmgqtyb": {
  12865. "description": "套利变动量",
  12866. "type": "number"
  12867. },
  12868. "diffqty": {
  12869. "description": "变动量(总敞口)",
  12870. "type": "number"
  12871. },
  12872. "diffspotqty": {
  12873. "description": "变动量(现货)",
  12874. "type": "number"
  12875. },
  12876. "enumdicname": {
  12877. "description": "单位名称",
  12878. "type": "string"
  12879. },
  12880. "hedgeqty": {
  12881. "description": "套保量",
  12882. "type": "number"
  12883. },
  12884. "mgneedhedgeratio": {
  12885. "description": "套保比例(套保品的)",
  12886. "type": "number"
  12887. },
  12888. "middlegoodsid": {
  12889. "description": "套保品种ID",
  12890. "type": "integer"
  12891. },
  12892. "middlegoodsnam": {
  12893. "description": "套保商品名称",
  12894. "type": "string"
  12895. },
  12896. "middlgoodscode": {
  12897. "description": "套保商品代码",
  12898. "type": "string"
  12899. },
  12900. "needarbitrageqty": {
  12901. "description": "应套利量",
  12902. "type": "number"
  12903. },
  12904. "needarbitrageratio": {
  12905. "description": "套利比例(套保品的)",
  12906. "type": "number"
  12907. },
  12908. "needhedgeexposoure": {
  12909. "description": "应套保敞口(套保敞口)",
  12910. "type": "number"
  12911. },
  12912. "needhedgeqty": {
  12913. "description": "应套保量",
  12914. "type": "number"
  12915. },
  12916. "needhedgeratio": {
  12917. "description": "应套保敞口比例",
  12918. "type": "number"
  12919. },
  12920. "oriarbitrageqty": {
  12921. "description": "期初套利量",
  12922. "type": "number"
  12923. },
  12924. "oribuyfutureqty": {
  12925. "description": "期初买入期货数量",
  12926. "type": "number"
  12927. },
  12928. "oribuyplanqty": {
  12929. "description": "期初采购计划数量",
  12930. "type": "number"
  12931. },
  12932. "oribuypricedqty": {
  12933. "description": "期初采购合同已定价数量",
  12934. "type": "number"
  12935. },
  12936. "orihedgeqty": {
  12937. "description": "期初套保量",
  12938. "type": "number"
  12939. },
  12940. "orineedarbitrageqty": {
  12941. "description": "期初应套利量",
  12942. "type": "number"
  12943. },
  12944. "orineedhedgeexposoure": {
  12945. "description": "期初应套保敞口",
  12946. "type": "number"
  12947. },
  12948. "orineedhedgeqty": {
  12949. "description": "期初应套保量",
  12950. "type": "number"
  12951. },
  12952. "orisellfutureqty": {
  12953. "description": "期初卖出期货数量",
  12954. "type": "number"
  12955. },
  12956. "orisellplanqty": {
  12957. "description": "期初销售计划数量",
  12958. "type": "number"
  12959. },
  12960. "orisellpricedqty": {
  12961. "description": "期初销售合同已定价数量",
  12962. "type": "number"
  12963. },
  12964. "oritotalexposure": {
  12965. "description": "期初实时总敞口",
  12966. "type": "number"
  12967. },
  12968. "oritotalfutureqty": {
  12969. "description": "期初期货头寸总量",
  12970. "type": "number"
  12971. },
  12972. "oritotalneedhedgeqty": {
  12973. "description": "期初应套保总量",
  12974. "type": "number"
  12975. },
  12976. "oritotalspotqty": {
  12977. "description": "期初现货头寸总量",
  12978. "type": "number"
  12979. },
  12980. "reckondate": {
  12981. "description": "日照时期(yyyyMMdd)",
  12982. "type": "string"
  12983. },
  12984. "sellfutureqty": {
  12985. "description": "卖出期货数量",
  12986. "type": "number"
  12987. },
  12988. "sellplanqty": {
  12989. "description": "销售计划数量",
  12990. "type": "number"
  12991. },
  12992. "sellpricedqty": {
  12993. "description": "销售合同已定价数量",
  12994. "type": "number"
  12995. },
  12996. "totalexposure": {
  12997. "description": "实时总敞口(总敞口)",
  12998. "type": "number"
  12999. },
  13000. "totalfutureqty": {
  13001. "description": "期货头寸总量(期货总量)",
  13002. "type": "number"
  13003. },
  13004. "totalhedgeratio": {
  13005. "description": "敞口比例",
  13006. "type": "number"
  13007. },
  13008. "totalneedhedgeqty": {
  13009. "description": "应套保总量(现货应套保总量)",
  13010. "type": "number"
  13011. },
  13012. "totalspotqty": {
  13013. "description": "现货头寸总量",
  13014. "type": "number"
  13015. },
  13016. "unitid": {
  13017. "description": "单位id",
  13018. "type": "integer"
  13019. },
  13020. "updatetime": {
  13021. "description": "更新时间",
  13022. "type": "string"
  13023. }
  13024. }
  13025. },
  13026. "models.Ermcp3ReportAreaSpotPL": {
  13027. "type": "object",
  13028. "properties": {
  13029. "actualpl": {
  13030. "description": "实际损益",
  13031. "type": "number"
  13032. },
  13033. "areauserid": {
  13034. "description": "所属机构",
  13035. "type": "integer"
  13036. },
  13037. "biztype": {
  13038. "description": "业务类型 1-套保 2-套利",
  13039. "type": "integer"
  13040. },
  13041. "brandname": {
  13042. "description": "品牌名称",
  13043. "type": "string"
  13044. },
  13045. "curamount": {
  13046. "description": "期末额",
  13047. "type": "number"
  13048. },
  13049. "curaverageprice": {
  13050. "description": "期末均价",
  13051. "type": "number"
  13052. },
  13053. "curbuyamount": {
  13054. "description": "期末采购总额(采购额)",
  13055. "type": "number"
  13056. },
  13057. "curbuyqty": {
  13058. "description": "期末采购总量",
  13059. "type": "number"
  13060. },
  13061. "curmarketvalue": {
  13062. "description": "参考市值",
  13063. "type": "number"
  13064. },
  13065. "curqty": {
  13066. "description": "期末量",
  13067. "type": "number"
  13068. },
  13069. "currencyid": {
  13070. "description": "币种id",
  13071. "type": "integer"
  13072. },
  13073. "currencyname": {
  13074. "description": "币种名称",
  13075. "type": "string"
  13076. },
  13077. "cursellamount": {
  13078. "description": "期末销售总额(销售额)",
  13079. "type": "number"
  13080. },
  13081. "cursellqty": {
  13082. "description": "期末销售总量",
  13083. "type": "number"
  13084. },
  13085. "curspotprice": {
  13086. "description": "参考市价",
  13087. "type": "number"
  13088. },
  13089. "deliverygoodscode": {
  13090. "description": "现货品种代码",
  13091. "type": "string"
  13092. },
  13093. "deliverygoodsid": {
  13094. "description": "现货品种id",
  13095. "type": "integer"
  13096. },
  13097. "deliverygoodsname": {
  13098. "description": "现货品种名称",
  13099. "type": "string"
  13100. },
  13101. "enumdicname": {
  13102. "description": "现货商品单位名称",
  13103. "type": "string"
  13104. },
  13105. "floatpl": {
  13106. "description": "浮动损益",
  13107. "type": "number"
  13108. },
  13109. "gbenumdicname": {
  13110. "description": "品类单位名称",
  13111. "type": "string"
  13112. },
  13113. "gbunitid": {
  13114. "description": "现货单位id",
  13115. "type": "integer"
  13116. },
  13117. "modelname": {
  13118. "description": "品类名称",
  13119. "type": "string"
  13120. },
  13121. "oriamount": {
  13122. "description": "期初额",
  13123. "type": "number"
  13124. },
  13125. "oriaverageprice": {
  13126. "description": "期初均价",
  13127. "type": "number"
  13128. },
  13129. "oribuyamount": {
  13130. "description": "期初采购总额",
  13131. "type": "number"
  13132. },
  13133. "oribuyqty": {
  13134. "description": "期初采购总量",
  13135. "type": "number"
  13136. },
  13137. "oriqty": {
  13138. "description": "期初量",
  13139. "type": "number"
  13140. },
  13141. "orisellamount": {
  13142. "description": "期初销售总额",
  13143. "type": "number"
  13144. },
  13145. "orisellqty": {
  13146. "description": "期初销售总量",
  13147. "type": "number"
  13148. },
  13149. "spotgoodsbrandid": {
  13150. "description": "现货品牌ID",
  13151. "type": "integer"
  13152. },
  13153. "todaybuyamount": {
  13154. "description": "今日采购额",
  13155. "type": "number"
  13156. },
  13157. "todaybuyaverageprice": {
  13158. "description": "今日采购均价(采购均价)",
  13159. "type": "number"
  13160. },
  13161. "todaybuyqty": {
  13162. "description": "今日采购量(采购增量)",
  13163. "type": "number"
  13164. },
  13165. "todaysellamount": {
  13166. "description": "今日销售额",
  13167. "type": "number"
  13168. },
  13169. "todaysellaverageprice": {
  13170. "description": "今日销售均价(销售均价)",
  13171. "type": "number"
  13172. },
  13173. "todaysellqty": {
  13174. "description": "今日销售量(销售增量)",
  13175. "type": "number"
  13176. },
  13177. "unitid": {
  13178. "description": "品类单位id",
  13179. "type": "integer"
  13180. },
  13181. "updatetime": {
  13182. "description": "更新时间",
  13183. "type": "string"
  13184. },
  13185. "wrstandardcode": {
  13186. "description": "品类代码",
  13187. "type": "string"
  13188. },
  13189. "wrstandardid": {
  13190. "description": "品类ID",
  13191. "type": "integer"
  13192. },
  13193. "wrstandardname": {
  13194. "description": "品类名称",
  13195. "type": "string"
  13196. }
  13197. }
  13198. },
  13199. "models.Ermcp3ReportAreaSpotSub": {
  13200. "type": "object",
  13201. "required": [
  13202. "areauserid"
  13203. ],
  13204. "properties": {
  13205. "accountid": {
  13206. "description": "期货账户ID",
  13207. "type": "integer"
  13208. },
  13209. "accountname": {
  13210. "description": "所属机构名称",
  13211. "type": "string"
  13212. },
  13213. "areauserid": {
  13214. "description": "账户所属机构",
  13215. "type": "integer"
  13216. },
  13217. "biztype": {
  13218. "description": "业务类型 1-套保 2-套利",
  13219. "type": "integer"
  13220. },
  13221. "brandname": {
  13222. "description": "品牌名称",
  13223. "type": "string"
  13224. },
  13225. "buycontractinqty": {
  13226. "description": "采购合同入库量【期末】",
  13227. "type": "number"
  13228. },
  13229. "buypricedamount": {
  13230. "description": "采购合同已定价金额【期末】",
  13231. "type": "number"
  13232. },
  13233. "buypricedqty": {
  13234. "description": "采购合同已定价数量【期末】",
  13235. "type": "number"
  13236. },
  13237. "buyreckonqty": {
  13238. "description": "采购合同交收量【期末】",
  13239. "type": "number"
  13240. },
  13241. "currencyid": {
  13242. "description": "币种id",
  13243. "type": "integer"
  13244. },
  13245. "currencyname": {
  13246. "description": "币种名称",
  13247. "type": "string"
  13248. },
  13249. "cycletime": {
  13250. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13251. "type": "string"
  13252. },
  13253. "cycletype": {
  13254. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13255. "type": "integer"
  13256. },
  13257. "deliverygoodscode": {
  13258. "description": "现货商品代码",
  13259. "type": "string"
  13260. },
  13261. "deliverygoodsid": {
  13262. "description": "现货品种ID",
  13263. "type": "integer"
  13264. },
  13265. "deliverygoodsname": {
  13266. "description": "现货商品名称",
  13267. "type": "string"
  13268. },
  13269. "enumdicname": {
  13270. "description": "现货商品单位名称",
  13271. "type": "string"
  13272. },
  13273. "goodsunitid": {
  13274. "description": "现货商品单位id",
  13275. "type": "integer"
  13276. },
  13277. "oribuycontractinqty": {
  13278. "description": "期初采购合同入库量【期初】",
  13279. "type": "number"
  13280. },
  13281. "oribuypricedamount": {
  13282. "description": "期初采购合同已定价金额【期初】",
  13283. "type": "number"
  13284. },
  13285. "oribuypricedqty": {
  13286. "description": "期初采购合同已定价数量【期初】",
  13287. "type": "number"
  13288. },
  13289. "oribuyreckonqty": {
  13290. "description": "期初采购合同交收量【期初】",
  13291. "type": "number"
  13292. },
  13293. "oriproduceinqty": {
  13294. "description": "期初生产入库量【期初】",
  13295. "type": "number"
  13296. },
  13297. "oriproduceoutqty": {
  13298. "description": "期初生产出库量【期初】",
  13299. "type": "number"
  13300. },
  13301. "orisellcontractoutqty": {
  13302. "description": "期初销售合同出库量【期初】",
  13303. "type": "number"
  13304. },
  13305. "orisellpricedamount": {
  13306. "description": "期初销售合同已定价金额【期初】",
  13307. "type": "number"
  13308. },
  13309. "orisellpricedqty": {
  13310. "description": "期初销售合同已定价数量【期初】",
  13311. "type": "number"
  13312. },
  13313. "orisellreckonqty": {
  13314. "description": "期初销售合同交收量【期初】",
  13315. "type": "number"
  13316. },
  13317. "produceinqty": {
  13318. "description": "生产入库量【期末】",
  13319. "type": "number"
  13320. },
  13321. "produceoutqty": {
  13322. "description": "生产出库量【期末】",
  13323. "type": "number"
  13324. },
  13325. "sellcontractoutqty": {
  13326. "description": "销售合同出库量【期末】",
  13327. "type": "number"
  13328. },
  13329. "sellpricedamount": {
  13330. "description": "销售合同已定价金额【期末】",
  13331. "type": "number"
  13332. },
  13333. "sellpricedqty": {
  13334. "description": "销售合同已定价数量【期末】",
  13335. "type": "number"
  13336. },
  13337. "sellreckonqty": {
  13338. "description": "销售合同交收量【期末】",
  13339. "type": "number"
  13340. },
  13341. "spotgoodsbrandid": {
  13342. "description": "现货品牌ID",
  13343. "type": "integer"
  13344. },
  13345. "todaybuyreckonqty": {
  13346. "description": "今日采购合同已确定数量【汇总】",
  13347. "type": "number"
  13348. },
  13349. "todaysellreckonqty": {
  13350. "description": "今日销售合同已确定数量【汇总】",
  13351. "type": "number"
  13352. },
  13353. "totalbuypricedqty": {
  13354. "description": "采购定价量 = 期末 - 期初",
  13355. "type": "number"
  13356. },
  13357. "totalsellpricedqty": {
  13358. "description": "销售定价量 = 期末 - 期初",
  13359. "type": "number"
  13360. },
  13361. "totalspotqty": {
  13362. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】",
  13363. "type": "number"
  13364. },
  13365. "updatetime": {
  13366. "description": "更新时间",
  13367. "type": "string"
  13368. },
  13369. "wrfactortypeid": {
  13370. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13371. "type": "integer"
  13372. },
  13373. "wrstandardcode": {
  13374. "description": "品类代码",
  13375. "type": "string"
  13376. },
  13377. "wrstandardid": {
  13378. "description": "品类ID",
  13379. "type": "integer"
  13380. },
  13381. "wrstandardname": {
  13382. "description": "品类名称",
  13383. "type": "string"
  13384. }
  13385. }
  13386. },
  13387. "models.Ermcp3ReportExpourse": {
  13388. "type": "object",
  13389. "properties": {
  13390. "accountid": {
  13391. "description": "期货账户ID (作废, 默认为0)",
  13392. "type": "integer"
  13393. },
  13394. "accountname": {
  13395. "description": "机构名称",
  13396. "type": "string"
  13397. },
  13398. "arbitrageqty": {
  13399. "description": "套利量",
  13400. "type": "number"
  13401. },
  13402. "areauserid": {
  13403. "description": "所属机构\\交易用户ID",
  13404. "type": "integer"
  13405. },
  13406. "buyfutureqty": {
  13407. "description": "买入期货数量",
  13408. "type": "number"
  13409. },
  13410. "buyplanqty": {
  13411. "description": "采购计划数量",
  13412. "type": "number"
  13413. },
  13414. "buypricedqty": {
  13415. "description": "采购合同已定价数量",
  13416. "type": "number"
  13417. },
  13418. "cycletime": {
  13419. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13420. "type": "string"
  13421. },
  13422. "cycletype": {
  13423. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13424. "type": "integer"
  13425. },
  13426. "diffexposure": {
  13427. "description": "变动量(套保敞口)",
  13428. "type": "number"
  13429. },
  13430. "difffutuqty": {
  13431. "description": "变动量(期货)",
  13432. "type": "number"
  13433. },
  13434. "diffhedgeqty": {
  13435. "description": "变动量(现货应套保总量)",
  13436. "type": "number"
  13437. },
  13438. "diffmgqtya": {
  13439. "description": "套保变动量",
  13440. "type": "number"
  13441. },
  13442. "diffmgqtyb": {
  13443. "description": "套利变动量",
  13444. "type": "number"
  13445. },
  13446. "diffqty": {
  13447. "description": "变动量(总敞口)",
  13448. "type": "number"
  13449. },
  13450. "diffspotqty": {
  13451. "description": "变动量(现货)",
  13452. "type": "number"
  13453. },
  13454. "enumdicname": {
  13455. "description": "单位名称",
  13456. "type": "string"
  13457. },
  13458. "hedgeqty": {
  13459. "description": "套保量",
  13460. "type": "number"
  13461. },
  13462. "mgneedhedgeratio": {
  13463. "description": "套保比例(套保品的)",
  13464. "type": "number"
  13465. },
  13466. "middlegoodsid": {
  13467. "description": "套保品种ID",
  13468. "type": "integer"
  13469. },
  13470. "middlegoodsnam": {
  13471. "description": "套保商品名称",
  13472. "type": "string"
  13473. },
  13474. "middlgoodscode": {
  13475. "description": "套保商品代码",
  13476. "type": "string"
  13477. },
  13478. "needarbitrageqty": {
  13479. "description": "应套利量",
  13480. "type": "number"
  13481. },
  13482. "needarbitrageratio": {
  13483. "description": "套利比例(套保品的)",
  13484. "type": "number"
  13485. },
  13486. "needhedgeexposoure": {
  13487. "description": "应套保敞口(套保敞口)",
  13488. "type": "number"
  13489. },
  13490. "needhedgeqty": {
  13491. "description": "应套保量",
  13492. "type": "number"
  13493. },
  13494. "needhedgeratio": {
  13495. "description": "应套保敞口比例",
  13496. "type": "number"
  13497. },
  13498. "oriarbitrageqty": {
  13499. "description": "期初套利量",
  13500. "type": "number"
  13501. },
  13502. "oribuyfutureqty": {
  13503. "description": "期初买入期货数量",
  13504. "type": "number"
  13505. },
  13506. "oribuyplanqty": {
  13507. "description": "期初采购计划数量",
  13508. "type": "number"
  13509. },
  13510. "oribuypricedqty": {
  13511. "description": "期初采购合同已定价数量",
  13512. "type": "number"
  13513. },
  13514. "orihedgeqty": {
  13515. "description": "期初套保量",
  13516. "type": "number"
  13517. },
  13518. "orineedarbitrageqty": {
  13519. "description": "期初应套利量",
  13520. "type": "number"
  13521. },
  13522. "orineedhedgeexposoure": {
  13523. "description": "期初应套保敞口",
  13524. "type": "number"
  13525. },
  13526. "orineedhedgeqty": {
  13527. "description": "期初应套保量",
  13528. "type": "number"
  13529. },
  13530. "orisellfutureqty": {
  13531. "description": "期初卖出期货数量",
  13532. "type": "number"
  13533. },
  13534. "orisellplanqty": {
  13535. "description": "期初销售计划数量",
  13536. "type": "number"
  13537. },
  13538. "orisellpricedqty": {
  13539. "description": "期初销售合同已定价数量",
  13540. "type": "number"
  13541. },
  13542. "oritotalexposure": {
  13543. "description": "期初实时总敞口",
  13544. "type": "number"
  13545. },
  13546. "oritotalfutureqty": {
  13547. "description": "期初期货头寸总量",
  13548. "type": "number"
  13549. },
  13550. "oritotalneedhedgeqty": {
  13551. "description": "期初应套保总量",
  13552. "type": "number"
  13553. },
  13554. "oritotalspotqty": {
  13555. "description": "期初现货头寸总量",
  13556. "type": "number"
  13557. },
  13558. "sellfutureqty": {
  13559. "description": "卖出期货数量",
  13560. "type": "number"
  13561. },
  13562. "sellplanqty": {
  13563. "description": "销售计划数量",
  13564. "type": "number"
  13565. },
  13566. "sellpricedqty": {
  13567. "description": "销售合同已定价数量",
  13568. "type": "number"
  13569. },
  13570. "totalexposure": {
  13571. "description": "实时总敞口(总敞口)",
  13572. "type": "number"
  13573. },
  13574. "totalfutureqty": {
  13575. "description": "期货头寸总量(期货总量)",
  13576. "type": "number"
  13577. },
  13578. "totalhedgeratio": {
  13579. "description": "敞口比例",
  13580. "type": "number"
  13581. },
  13582. "totalneedhedgeqty": {
  13583. "description": "应套保总量(现货应套保总量)",
  13584. "type": "number"
  13585. },
  13586. "totalspotqty": {
  13587. "description": "现货头寸总量",
  13588. "type": "number"
  13589. },
  13590. "unitid": {
  13591. "description": "单位id",
  13592. "type": "integer"
  13593. },
  13594. "updatetime": {
  13595. "description": "更新时间",
  13596. "type": "string"
  13597. }
  13598. }
  13599. },
  13600. "models.Ermcp3ReportOPLog": {
  13601. "type": "object",
  13602. "properties": {
  13603. "applyid": {
  13604. "description": "操作人",
  13605. "type": "integer"
  13606. },
  13607. "applyname": {
  13608. "description": "操作人名称",
  13609. "type": "string"
  13610. },
  13611. "biztype": {
  13612. "description": "业务类型 - 1:套保计划 2:现货合同",
  13613. "type": "integer"
  13614. },
  13615. "brandname": {
  13616. "description": "品牌名称",
  13617. "type": "string"
  13618. },
  13619. "contracttype": {
  13620. "description": "现货合同类型 - 1:采购 -1:销售",
  13621. "type": "integer"
  13622. },
  13623. "deliverygoodscode": {
  13624. "description": "现货品种代码",
  13625. "type": "string"
  13626. },
  13627. "deliverygoodsid": {
  13628. "description": "现货品种id",
  13629. "type": "integer"
  13630. },
  13631. "deliverygoodsname": {
  13632. "description": "现货品种名称",
  13633. "type": "string"
  13634. },
  13635. "enumdicName": {
  13636. "description": "单位名称",
  13637. "type": "string"
  13638. },
  13639. "logdatetime": {
  13640. "description": "流水日期(时间)",
  13641. "type": "string"
  13642. },
  13643. "logid": {
  13644. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  13645. "type": "string"
  13646. },
  13647. "logtypename": {
  13648. "description": "合同类型(名称)",
  13649. "type": "string"
  13650. },
  13651. "logvalue": {
  13652. "description": "数值",
  13653. "type": "string"
  13654. },
  13655. "operatelogtype": {
  13656. "description": "操作流水类型 -",
  13657. "type": "integer"
  13658. },
  13659. "optypename": {
  13660. "description": "流水类型名称",
  13661. "type": "string"
  13662. },
  13663. "relatedid": {
  13664. "description": "现货合同ID\\套保计划",
  13665. "type": "string"
  13666. },
  13667. "relatedno": {
  13668. "description": "合同编号",
  13669. "type": "string"
  13670. },
  13671. "spotgoodsbrandid": {
  13672. "description": "品牌id",
  13673. "type": "integer"
  13674. },
  13675. "tradedate": {
  13676. "description": "交易日(yyyyMMdd)",
  13677. "type": "string"
  13678. },
  13679. "userid": {
  13680. "description": "机构ID",
  13681. "type": "integer"
  13682. },
  13683. "wrstandardcode": {
  13684. "description": "品类代码",
  13685. "type": "string"
  13686. },
  13687. "wrstandardid": {
  13688. "description": "品类id",
  13689. "type": "integer"
  13690. },
  13691. "wrstandardname": {
  13692. "description": "品类名称",
  13693. "type": "string"
  13694. }
  13695. }
  13696. },
  13697. "models.Ermcp3SellBuyContract": {
  13698. "type": "object",
  13699. "properties": {
  13700. "accountname": {
  13701. "description": "账户名称",
  13702. "type": "string"
  13703. },
  13704. "attachment": {
  13705. "description": "附件",
  13706. "type": "string"
  13707. },
  13708. "audittime": {
  13709. "description": "审核时间",
  13710. "type": "string"
  13711. },
  13712. "brandname": {
  13713. "description": "品牌名称",
  13714. "type": "string"
  13715. },
  13716. "contracctstatus": {
  13717. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13718. "type": "integer"
  13719. },
  13720. "contractmargin": {
  13721. "description": "合同保证金",
  13722. "type": "number"
  13723. },
  13724. "contractno": {
  13725. "description": "合同编号",
  13726. "type": "string"
  13727. },
  13728. "contracttype": {
  13729. "description": "合同类型 1-采购, -1-销售",
  13730. "type": "integer"
  13731. },
  13732. "convertfactor": {
  13733. "description": "标仓系数(品类)",
  13734. "type": "number"
  13735. },
  13736. "createtime": {
  13737. "description": "创建时间",
  13738. "type": "string"
  13739. },
  13740. "daikaiamount": {
  13741. "description": "应收(开)票额",
  13742. "type": "number"
  13743. },
  13744. "deliveryenddate": {
  13745. "description": "交割结束日",
  13746. "type": "string"
  13747. },
  13748. "deliverygoodscode": {
  13749. "description": "现货品种代码",
  13750. "type": "string"
  13751. },
  13752. "deliverygoodsid": {
  13753. "description": "现货商品ID",
  13754. "type": "integer"
  13755. },
  13756. "deliverygoodsname": {
  13757. "description": "现货品种名称",
  13758. "type": "string"
  13759. },
  13760. "deliverystartdate": {
  13761. "description": "交割开始日",
  13762. "type": "string"
  13763. },
  13764. "enddate": {
  13765. "description": "点价结束日",
  13766. "type": "string"
  13767. },
  13768. "enumdicname": {
  13769. "description": "单位名称",
  13770. "type": "string"
  13771. },
  13772. "goodscode": {
  13773. "description": "点价商品代码",
  13774. "type": "string"
  13775. },
  13776. "goodsid": {
  13777. "description": "点价商品ID",
  13778. "type": "integer"
  13779. },
  13780. "goodsname": {
  13781. "description": "点价商品名称",
  13782. "type": "string"
  13783. },
  13784. "invoiceamount": {
  13785. "description": "已开票额",
  13786. "type": "number"
  13787. },
  13788. "loanamount": {
  13789. "description": "贷款总额=已定价额+调整金额",
  13790. "type": "number"
  13791. },
  13792. "margin": {
  13793. "description": "保证金",
  13794. "type": "number"
  13795. },
  13796. "nickname": {
  13797. "description": "账户昵称",
  13798. "type": "string"
  13799. },
  13800. "payamount": {
  13801. "description": "已收付额(收款或付款)",
  13802. "type": "number"
  13803. },
  13804. "preinvoiceamount": {
  13805. "description": "预收(开)票额",
  13806. "type": "number"
  13807. },
  13808. "prepayamount": {
  13809. "description": "预收付额",
  13810. "type": "number"
  13811. },
  13812. "price": {
  13813. "description": "价格",
  13814. "type": "number"
  13815. },
  13816. "pricedamount": {
  13817. "description": "已定价额",
  13818. "type": "number"
  13819. },
  13820. "pricedavg": {
  13821. "description": "已点均价",
  13822. "type": "number"
  13823. },
  13824. "pricedqty": {
  13825. "description": "已定价量",
  13826. "type": "number"
  13827. },
  13828. "pricemove": {
  13829. "description": "升贴水",
  13830. "type": "number"
  13831. },
  13832. "pricetype": {
  13833. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13834. "type": "integer"
  13835. },
  13836. "producttype": {
  13837. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13838. "type": "integer"
  13839. },
  13840. "qty": {
  13841. "description": "合同量",
  13842. "type": "number"
  13843. },
  13844. "reckonadjustamount": {
  13845. "description": "调整金额",
  13846. "type": "number"
  13847. },
  13848. "reckonedamount": {
  13849. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  13850. "type": "number"
  13851. },
  13852. "reckonotheramount": {
  13853. "description": "其它费用",
  13854. "type": "number"
  13855. },
  13856. "reckonrealqty": {
  13857. "description": "已确定量",
  13858. "type": "number"
  13859. },
  13860. "remark": {
  13861. "description": "备注",
  13862. "type": "string"
  13863. },
  13864. "spotcontractid": {
  13865. "description": "合同ID",
  13866. "type": "string"
  13867. },
  13868. "spotgoodsbrandid": {
  13869. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13870. "type": "integer"
  13871. },
  13872. "spotgoodsdesc": {
  13873. "description": "商品型号(商品规格)",
  13874. "type": "string"
  13875. },
  13876. "startdate": {
  13877. "description": "点价开始日",
  13878. "type": "string"
  13879. },
  13880. "totalamount": {
  13881. "description": "合计总额",
  13882. "type": "number"
  13883. },
  13884. "unpayamount": {
  13885. "description": "应收付款额(应支付或应收款)",
  13886. "type": "number"
  13887. },
  13888. "unpricedqty": {
  13889. "description": "未定价量",
  13890. "type": "number"
  13891. },
  13892. "unsureqty": {
  13893. "description": "未确定量",
  13894. "type": "number"
  13895. },
  13896. "userid": {
  13897. "description": "机构ID",
  13898. "type": "integer"
  13899. },
  13900. "wrstandardcode": {
  13901. "description": "品类代码",
  13902. "type": "string"
  13903. },
  13904. "wrstandardid": {
  13905. "description": "品类ID",
  13906. "type": "integer"
  13907. },
  13908. "wrstandardname": {
  13909. "description": "品类名称",
  13910. "type": "string"
  13911. }
  13912. }
  13913. },
  13914. "models.Ermcp3SpotGoodsPrice": {
  13915. "type": "object",
  13916. "properties": {
  13917. "areauserid": {
  13918. "description": "所属机构id",
  13919. "type": "integer"
  13920. },
  13921. "brandname": {
  13922. "description": "品牌名称",
  13923. "type": "string"
  13924. },
  13925. "currencyid": {
  13926. "description": "报价货币ID",
  13927. "type": "integer"
  13928. },
  13929. "currencyname": {
  13930. "description": "币种名称",
  13931. "type": "string"
  13932. },
  13933. "deliverygoodscode": {
  13934. "description": "现货商品代码",
  13935. "type": "string"
  13936. },
  13937. "deliverygoodsid": {
  13938. "description": "现货商品id",
  13939. "type": "integer"
  13940. },
  13941. "deliverygoodsname": {
  13942. "description": "现货商品名称",
  13943. "type": "string"
  13944. },
  13945. "enumdicname": {
  13946. "description": "现货商品单位名称",
  13947. "type": "string"
  13948. },
  13949. "gbenumdicname": {
  13950. "description": "品类单位名称",
  13951. "type": "string"
  13952. },
  13953. "gmunitid": {
  13954. "description": "品类单位id",
  13955. "type": "integer"
  13956. },
  13957. "isvalid": {
  13958. "description": "是否有效 - 0:无效 1:有效",
  13959. "type": "integer"
  13960. },
  13961. "operateid": {
  13962. "description": "最后操作人",
  13963. "type": "integer"
  13964. },
  13965. "operatesrc": {
  13966. "description": "最后操作来源 - 1:管理端 2:终端",
  13967. "type": "integer"
  13968. },
  13969. "operatetime": {
  13970. "description": "最后操作时间",
  13971. "type": "string"
  13972. },
  13973. "operatorname": {
  13974. "description": "操作人名称",
  13975. "type": "string"
  13976. },
  13977. "spotgoodsbrandid": {
  13978. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  13979. "type": "integer"
  13980. },
  13981. "spotgoodsprice": {
  13982. "description": "现货价格",
  13983. "type": "number"
  13984. },
  13985. "tradedate": {
  13986. "description": "交易日(yyyyMMdd)",
  13987. "type": "string"
  13988. },
  13989. "unitid": {
  13990. "description": "现货商品单位id",
  13991. "type": "integer"
  13992. },
  13993. "wrstandardcode": {
  13994. "description": "品类代码",
  13995. "type": "string"
  13996. },
  13997. "wrstandardid": {
  13998. "description": "现货品类ID(通用则为0)",
  13999. "type": "integer"
  14000. },
  14001. "wrstandardname": {
  14002. "description": "品类名称",
  14003. "type": "string"
  14004. }
  14005. }
  14006. },
  14007. "models.Ermcp3SpotGoodsPriceLog": {
  14008. "type": "object",
  14009. "properties": {
  14010. "areauserid": {
  14011. "description": "所属机构id",
  14012. "type": "integer"
  14013. },
  14014. "brandname": {
  14015. "description": "品牌名称",
  14016. "type": "string"
  14017. },
  14018. "currencyid": {
  14019. "description": "报价货币ID",
  14020. "type": "integer"
  14021. },
  14022. "deliverygoodscode": {
  14023. "description": "现货商品代码",
  14024. "type": "string"
  14025. },
  14026. "deliverygoodsid": {
  14027. "description": "现货商品id",
  14028. "type": "integer"
  14029. },
  14030. "deliverygoodsname": {
  14031. "description": "现货商品名称",
  14032. "type": "string"
  14033. },
  14034. "enumdicname": {
  14035. "description": "现货商品单位名称",
  14036. "type": "string"
  14037. },
  14038. "gbenumdicname": {
  14039. "description": "品类单位名称",
  14040. "type": "string"
  14041. },
  14042. "gmunitid": {
  14043. "description": "品类单位id",
  14044. "type": "integer"
  14045. },
  14046. "logid": {
  14047. "description": "日志id",
  14048. "type": "integer"
  14049. },
  14050. "operateid": {
  14051. "description": "最后操作人",
  14052. "type": "integer"
  14053. },
  14054. "operatesrc": {
  14055. "description": "最后操作来源 - 1:管理端 2:终端",
  14056. "type": "integer"
  14057. },
  14058. "operatetime": {
  14059. "description": "最后操作时间",
  14060. "type": "string"
  14061. },
  14062. "operatorname": {
  14063. "description": "操作人名称",
  14064. "type": "string"
  14065. },
  14066. "spotgoodsbrandid": {
  14067. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14068. "type": "integer"
  14069. },
  14070. "spotgoodsprice": {
  14071. "description": "现货价格",
  14072. "type": "number"
  14073. },
  14074. "tradedate": {
  14075. "description": "交易日(yyyyMMdd)",
  14076. "type": "string"
  14077. },
  14078. "unitid": {
  14079. "description": "现货商品单位id",
  14080. "type": "integer"
  14081. },
  14082. "wrstandardcode": {
  14083. "description": "品类代码",
  14084. "type": "string"
  14085. },
  14086. "wrstandardid": {
  14087. "description": "现货品类ID(通用则为0)",
  14088. "type": "integer"
  14089. },
  14090. "wrstandardname": {
  14091. "description": "品类名称",
  14092. "type": "string"
  14093. }
  14094. }
  14095. },
  14096. "models.Ermcp3Wrstandard": {
  14097. "type": "object",
  14098. "properties": {
  14099. "areauserid": {
  14100. "description": "所属机构",
  14101. "type": "integer"
  14102. },
  14103. "convertfactor": {
  14104. "description": "标仓系数",
  14105. "type": "number"
  14106. },
  14107. "createtime": {
  14108. "description": "创建时间",
  14109. "type": "string"
  14110. },
  14111. "creatorid": {
  14112. "description": "创建人",
  14113. "type": "integer"
  14114. },
  14115. "deliverygoodsid": {
  14116. "description": "现货品种ID",
  14117. "type": "integer"
  14118. },
  14119. "enumdicname": {
  14120. "description": "品类单位名称",
  14121. "type": "string"
  14122. },
  14123. "isvalid": {
  14124. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14125. "type": "integer"
  14126. },
  14127. "minivalue": {
  14128. "description": "最小变动值",
  14129. "type": "integer"
  14130. },
  14131. "minivaluedp": {
  14132. "description": "最小变动值小数位",
  14133. "type": "integer"
  14134. },
  14135. "realminivalue": {
  14136. "description": "实际最小变动值",
  14137. "type": "integer"
  14138. },
  14139. "realminivaluedp": {
  14140. "description": "实际最小变动值小数位",
  14141. "type": "integer"
  14142. },
  14143. "remark": {
  14144. "description": "备注",
  14145. "type": "string"
  14146. },
  14147. "unitid": {
  14148. "description": "品类单位ID",
  14149. "type": "integer"
  14150. },
  14151. "updatetime": {
  14152. "description": "更新时间",
  14153. "type": "string"
  14154. },
  14155. "wrstandardcode": {
  14156. "description": "品类代码",
  14157. "type": "string"
  14158. },
  14159. "wrstandardid": {
  14160. "description": "品类ID(SEQ_WRSTANDARD)",
  14161. "type": "integer"
  14162. },
  14163. "wrstandardname": {
  14164. "description": "品类名称",
  14165. "type": "string"
  14166. }
  14167. }
  14168. },
  14169. "models.ErmcpAreaSpotDetailModel": {
  14170. "type": "object",
  14171. "properties": {
  14172. "contracttype": {
  14173. "description": "合同类型 1-采购 -1-销售",
  14174. "type": "integer"
  14175. },
  14176. "createtime": {
  14177. "description": "创建时间",
  14178. "type": "string"
  14179. },
  14180. "enumdicname": {
  14181. "description": "现货商品单位名称",
  14182. "type": "string"
  14183. },
  14184. "logtype": {
  14185. "description": "记录类型 1-套保 2-现货合同",
  14186. "type": "integer"
  14187. },
  14188. "qty": {
  14189. "description": "数量",
  14190. "type": "number"
  14191. },
  14192. "recordname": {
  14193. "description": "类型名称",
  14194. "type": "string"
  14195. },
  14196. "relatedid": {
  14197. "description": "套保计划ID/现货合同ID",
  14198. "type": "string"
  14199. },
  14200. "relatedno": {
  14201. "description": "编号",
  14202. "type": "string"
  14203. },
  14204. "strtime": {
  14205. "description": "时间",
  14206. "type": "string"
  14207. },
  14208. "wrstandardcode": {
  14209. "description": "现货商品代码",
  14210. "type": "string"
  14211. },
  14212. "wrstandardname": {
  14213. "description": "现货商品名称",
  14214. "type": "string"
  14215. }
  14216. }
  14217. },
  14218. "models.ErmcpAvalidGoodsGroupModel": {
  14219. "type": "object",
  14220. "properties": {
  14221. "goodsgroupid": {
  14222. "description": "期货品种id",
  14223. "type": "integer"
  14224. },
  14225. "goodsgroupname": {
  14226. "description": "期货品种名称",
  14227. "type": "string"
  14228. },
  14229. "goodunitid": {
  14230. "description": "品种单位id",
  14231. "type": "integer"
  14232. },
  14233. "goodunitname": {
  14234. "description": "品种单位名称",
  14235. "type": "string"
  14236. },
  14237. "outergroupcode": {
  14238. "description": "期货品种代码",
  14239. "type": "string"
  14240. }
  14241. }
  14242. },
  14243. "models.ErmcpBizGroupEx": {
  14244. "type": "object",
  14245. "properties": {
  14246. "acclist": {
  14247. "description": "账号列表",
  14248. "type": "array",
  14249. "items": {
  14250. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  14251. }
  14252. },
  14253. "bizgroupid": {
  14254. "description": "业务分组id",
  14255. "type": "integer"
  14256. },
  14257. "biztype": {
  14258. "description": "业务类型 1-套保 2-套利",
  14259. "type": "integer"
  14260. },
  14261. "wrlist": {
  14262. "description": "现货商品表",
  14263. "type": "array",
  14264. "items": {
  14265. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  14266. }
  14267. }
  14268. }
  14269. },
  14270. "models.ErmcpBizGroupSpotGoods": {
  14271. "type": "object",
  14272. "properties": {
  14273. "areauserid": {
  14274. "description": "所属机构id",
  14275. "type": "integer"
  14276. },
  14277. "bizgroupid": {
  14278. "description": "分组id",
  14279. "type": "integer"
  14280. },
  14281. "biztype": {
  14282. "description": "业务类型 1-套保 2-套利",
  14283. "type": "integer"
  14284. },
  14285. "deliverygoodscode": {
  14286. "description": "现货商品代码",
  14287. "type": "string"
  14288. },
  14289. "deliverygoodsid": {
  14290. "description": "现货商品id",
  14291. "type": "integer"
  14292. },
  14293. "deliverygoodsname": {
  14294. "description": "现货商品名称",
  14295. "type": "string"
  14296. },
  14297. "unitid": {
  14298. "description": "现货商品单位id",
  14299. "type": "integer"
  14300. }
  14301. }
  14302. },
  14303. "models.ErmcpBizGroupTaAccount": {
  14304. "type": "object",
  14305. "properties": {
  14306. "accountid": {
  14307. "description": "账号id",
  14308. "type": "integer"
  14309. },
  14310. "accountname": {
  14311. "description": "账号名称",
  14312. "type": "string"
  14313. },
  14314. "areauserid": {
  14315. "description": "所属机构id",
  14316. "type": "integer"
  14317. },
  14318. "bizgroupid": {
  14319. "description": "业务分组id",
  14320. "type": "integer"
  14321. },
  14322. "ismain": {
  14323. "description": "是否主账号 1-是 0-否",
  14324. "type": "integer"
  14325. }
  14326. }
  14327. },
  14328. "models.ErmcpDGFactoryItem": {
  14329. "type": "object",
  14330. "properties": {
  14331. "areauserid": {
  14332. "description": "用户id",
  14333. "type": "integer"
  14334. },
  14335. "deliverygoodsid": {
  14336. "description": "现货品种ID",
  14337. "type": "integer"
  14338. },
  14339. "dgfactoryitemid": {
  14340. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  14341. "type": "integer"
  14342. },
  14343. "dgfactoryitemtypeid": {
  14344. "description": "要素项类型",
  14345. "type": "integer"
  14346. },
  14347. "dgfactoryitemvalue": {
  14348. "description": "要素项值(类型为仓库时填写仓库名称)",
  14349. "type": "string"
  14350. },
  14351. "isvalid": {
  14352. "description": "是否有效 - 0:无效 1:有效",
  14353. "type": "integer"
  14354. },
  14355. "orderindex": {
  14356. "description": "顺序",
  14357. "type": "integer"
  14358. },
  14359. "warehouseid": {
  14360. "description": "仓库ID(类型为仓库时填写)",
  14361. "type": "integer"
  14362. }
  14363. }
  14364. },
  14365. "models.ErmcpDeliveryGoods": {
  14366. "type": "object",
  14367. "properties": {
  14368. "agreeunit": {
  14369. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  14370. "type": "integer"
  14371. },
  14372. "areauserid": {
  14373. "description": "所属机构",
  14374. "type": "integer"
  14375. },
  14376. "auditflag": {
  14377. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  14378. "type": "integer"
  14379. },
  14380. "categoryid": {
  14381. "description": "类别ID(SEQ_WRCATEGORY)",
  14382. "type": "integer"
  14383. },
  14384. "deliverygoodscode": {
  14385. "description": "现货品种代码",
  14386. "type": "string"
  14387. },
  14388. "deliverygoodsid": {
  14389. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  14390. "type": "integer"
  14391. },
  14392. "deliverygoodsname": {
  14393. "description": "现货品种名称",
  14394. "type": "string"
  14395. },
  14396. "deliverygoodstype": {
  14397. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  14398. "type": "integer"
  14399. },
  14400. "dgstatus": {
  14401. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  14402. "type": "integer"
  14403. },
  14404. "enumdicname": {
  14405. "description": "现货品种单位名称",
  14406. "type": "string"
  14407. },
  14408. "goodsunitid": {
  14409. "description": "现货品种单位ID",
  14410. "type": "integer"
  14411. },
  14412. "isvalid": {
  14413. "description": "是否有效 - 0:无效 1:有效",
  14414. "type": "integer"
  14415. },
  14416. "qtydecimalplace": {
  14417. "description": "成交量小数位",
  14418. "type": "integer"
  14419. },
  14420. "remark": {
  14421. "description": "备注",
  14422. "type": "string"
  14423. },
  14424. "standardqty": {
  14425. "description": "标准数量(库位数量) [标准品特有]",
  14426. "type": "integer"
  14427. },
  14428. "standardqtyrange": {
  14429. "description": "标准数量偏差范围 [标准品特有]",
  14430. "type": "integer"
  14431. }
  14432. }
  14433. },
  14434. "models.ErmcpDeliveryGoodsDetail2": {
  14435. "type": "object",
  14436. "properties": {
  14437. "convertratio": {
  14438. "description": "套保系数(折算系数)",
  14439. "type": "number"
  14440. },
  14441. "data": {
  14442. "description": "现货商品基本信息(交割品种)",
  14443. "type": "object",
  14444. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  14445. },
  14446. "gblist": {
  14447. "description": "品牌列表",
  14448. "type": "array",
  14449. "items": {
  14450. "$ref": "#/definitions/models.Ermcp3Brand"
  14451. }
  14452. },
  14453. "gmlist": {
  14454. "description": "品类列表(仓单标准)",
  14455. "type": "array",
  14456. "items": {
  14457. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  14458. }
  14459. }
  14460. }
  14461. },
  14462. "models.ErmcpDeliveryGoodsDetailEx": {
  14463. "type": "object",
  14464. "properties": {
  14465. "data": {
  14466. "description": "现货商品基本信息(交割品种)",
  14467. "type": "object",
  14468. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  14469. },
  14470. "gblist": {
  14471. "description": "品牌列表",
  14472. "type": "array",
  14473. "items": {
  14474. "$ref": "#/definitions/models.Ermcp3Brand"
  14475. }
  14476. },
  14477. "gmlist": {
  14478. "description": "品类列表(仓单标准)",
  14479. "type": "array",
  14480. "items": {
  14481. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  14482. }
  14483. },
  14484. "mgList": {
  14485. "description": "套保列表",
  14486. "type": "array",
  14487. "items": {
  14488. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  14489. }
  14490. }
  14491. }
  14492. },
  14493. "models.ErmcpExposureDetailModel": {
  14494. "type": "object",
  14495. "properties": {
  14496. "areauserid": {
  14497. "description": "机构ID",
  14498. "type": "integer"
  14499. },
  14500. "changeQty": {
  14501. "description": "套保变动量",
  14502. "type": "number"
  14503. },
  14504. "contracttype": {
  14505. "description": "现货合同类型 - 1:采购 -1:销售",
  14506. "type": "integer"
  14507. },
  14508. "convertfactor": {
  14509. "description": "标仓系数",
  14510. "type": "number"
  14511. },
  14512. "convertratio": {
  14513. "description": "套保系数",
  14514. "type": "number"
  14515. },
  14516. "createtime": {
  14517. "description": "时间",
  14518. "type": "string"
  14519. },
  14520. "enumdicname": {
  14521. "description": "现货商品单位名称",
  14522. "type": "string"
  14523. },
  14524. "logtype": {
  14525. "description": "类型 - 1:套保计划 2:现货合同",
  14526. "type": "integer"
  14527. },
  14528. "middlegoodsId": {
  14529. "description": "套保商品id",
  14530. "type": "integer"
  14531. },
  14532. "middlegoodscode": {
  14533. "description": "套保商品代码",
  14534. "type": "string"
  14535. },
  14536. "middlegoodsname": {
  14537. "description": "套保商品名称",
  14538. "type": "string"
  14539. },
  14540. "qty": {
  14541. "description": "数量",
  14542. "type": "number"
  14543. },
  14544. "relateNo": {
  14545. "description": "现货合同/套保计划编号",
  14546. "type": "string"
  14547. },
  14548. "wrstandardcode": {
  14549. "description": "现货商品代码",
  14550. "type": "string"
  14551. },
  14552. "wrstandardid": {
  14553. "description": "现货商品ID",
  14554. "type": "integer"
  14555. },
  14556. "wrstandardname": {
  14557. "description": "现货商品名称",
  14558. "type": "string"
  14559. }
  14560. }
  14561. },
  14562. "models.ErmcpExposurePostion": {
  14563. "type": "object",
  14564. "properties": {
  14565. "agreeunit": {
  14566. "description": "合约单位",
  14567. "type": "string"
  14568. },
  14569. "areauserid": {
  14570. "description": "所属机构id",
  14571. "type": "integer"
  14572. },
  14573. "convertratio": {
  14574. "description": "期货品种系数(折算系数)",
  14575. "type": "number"
  14576. },
  14577. "curqty": {
  14578. "description": "当前持仓",
  14579. "type": "integer"
  14580. },
  14581. "diffhedgeqty": {
  14582. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  14583. "type": "number"
  14584. },
  14585. "diffqty": {
  14586. "description": "持仓变动量=当前持仓-昨日持仓",
  14587. "type": "integer"
  14588. },
  14589. "goodscode": {
  14590. "description": "商品代码",
  14591. "type": "string"
  14592. },
  14593. "goodsid": {
  14594. "description": "商品id",
  14595. "type": "integer"
  14596. },
  14597. "goodsname": {
  14598. "description": "商品名称",
  14599. "type": "string"
  14600. },
  14601. "middlegoodsid": {
  14602. "description": "套保商品id",
  14603. "type": "integer"
  14604. },
  14605. "ydqty": {
  14606. "description": "昨日持仓",
  14607. "type": "integer"
  14608. }
  14609. }
  14610. },
  14611. "models.ErmcpFuturesCompany": {
  14612. "type": "object",
  14613. "properties": {
  14614. "brokerid": {
  14615. "description": "经纪公司代码",
  14616. "type": "string"
  14617. },
  14618. "channeladdress": {
  14619. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  14620. "type": "string"
  14621. },
  14622. "channelid": {
  14623. "description": "对冲渠道ID",
  14624. "type": "string"
  14625. },
  14626. "createtime": {
  14627. "description": "创建时间",
  14628. "type": "string"
  14629. },
  14630. "creatorid": {
  14631. "description": "创建人",
  14632. "type": "string"
  14633. },
  14634. "fcid": {
  14635. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  14636. "type": "integer"
  14637. },
  14638. "fcname": {
  14639. "description": "期货公司名称",
  14640. "type": "string"
  14641. },
  14642. "isvalid": {
  14643. "description": "是否有效 - 0:无效 1:有效",
  14644. "type": "integer"
  14645. },
  14646. "mhpaddress": {
  14647. "description": "MHP服务地址(IP:Port)",
  14648. "type": "string"
  14649. },
  14650. "riskrulegroupid": {
  14651. "description": "风控规则组ID",
  14652. "type": "string"
  14653. },
  14654. "tradefeetmpid": {
  14655. "description": "手续费模板ID[TradeConfigTmpType为2]",
  14656. "type": "string"
  14657. },
  14658. "trademargintmpid": {
  14659. "description": "保证金模板ID [TradeConfigTmpType为1]",
  14660. "type": "string"
  14661. },
  14662. "traderatetmpid": {
  14663. "description": "汇率模板ID[TradeConfigTmpType为3]",
  14664. "type": "string"
  14665. },
  14666. "updatetime": {
  14667. "description": "更新时间",
  14668. "type": "string"
  14669. },
  14670. "updatorid": {
  14671. "description": "更新人",
  14672. "type": "string"
  14673. }
  14674. }
  14675. },
  14676. "models.ErmcpGGConvertCfg": {
  14677. "type": "object",
  14678. "properties": {
  14679. "convertratio": {
  14680. "description": "折算系数",
  14681. "type": "number"
  14682. },
  14683. "destgoodsgroupid": {
  14684. "description": "目标品种ID",
  14685. "type": "integer"
  14686. },
  14687. "dstcode": {
  14688. "description": "目录品种代码",
  14689. "type": "string"
  14690. },
  14691. "dstexchangecode": {
  14692. "description": "目标期货交易所",
  14693. "type": "string"
  14694. },
  14695. "dstname": {
  14696. "description": "目标品种名称",
  14697. "type": "string"
  14698. },
  14699. "dstunitid": {
  14700. "description": "目标品种单位ID",
  14701. "type": "integer"
  14702. },
  14703. "dstunitidname": {
  14704. "description": "目标品种单位名称",
  14705. "type": "string"
  14706. },
  14707. "modifytime": {
  14708. "description": "修改时间",
  14709. "type": "string"
  14710. },
  14711. "srccode": {
  14712. "description": "源品种代码",
  14713. "type": "string"
  14714. },
  14715. "srcexchangecode": {
  14716. "description": "源期货交易所",
  14717. "type": "string"
  14718. },
  14719. "srcgoodsgroupid": {
  14720. "description": "源品种ID",
  14721. "type": "integer"
  14722. },
  14723. "srcname": {
  14724. "description": "源品种名称",
  14725. "type": "string"
  14726. },
  14727. "srcunitid": {
  14728. "description": "源品种单位ID",
  14729. "type": "integer"
  14730. },
  14731. "srcunitidname": {
  14732. "description": "源品种单位名称",
  14733. "type": "string"
  14734. }
  14735. }
  14736. },
  14737. "models.ErmcpGoodsBrand": {
  14738. "type": "object",
  14739. "properties": {
  14740. "areauserid": {
  14741. "description": "所属机构",
  14742. "type": "integer"
  14743. },
  14744. "brandid": {
  14745. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  14746. "type": "integer"
  14747. },
  14748. "brandname": {
  14749. "description": "品牌名称",
  14750. "type": "string"
  14751. },
  14752. "createtime": {
  14753. "description": "创建时间",
  14754. "type": "string"
  14755. },
  14756. "creatorid": {
  14757. "description": "创建人",
  14758. "type": "integer"
  14759. },
  14760. "creatorsrc": {
  14761. "description": "创建人来源 - 1:管理端 2:终端",
  14762. "type": "integer"
  14763. },
  14764. "deliverygoodsid": {
  14765. "description": "现货品种ID",
  14766. "type": "integer"
  14767. },
  14768. "isvalid": {
  14769. "description": "是否有效 - 0:无效 1:有效",
  14770. "type": "integer"
  14771. },
  14772. "updatetime": {
  14773. "description": "更新时间",
  14774. "type": "string"
  14775. },
  14776. "updatorid": {
  14777. "description": "更新人",
  14778. "type": "integer"
  14779. },
  14780. "updatorsrc": {
  14781. "description": "更新人来源 - 1:管理端 2:终端",
  14782. "type": "integer"
  14783. },
  14784. "wrstandardid": {
  14785. "description": "现货商品ID",
  14786. "type": "integer"
  14787. }
  14788. }
  14789. },
  14790. "models.ErmcpGoodsModel": {
  14791. "type": "object",
  14792. "properties": {
  14793. "areauserid": {
  14794. "description": "所属机构",
  14795. "type": "integer"
  14796. },
  14797. "convertfactor": {
  14798. "description": "标仓系数",
  14799. "type": "number"
  14800. },
  14801. "createtime": {
  14802. "description": "创建时间",
  14803. "type": "string"
  14804. },
  14805. "creatorid": {
  14806. "description": "创建人",
  14807. "type": "integer"
  14808. },
  14809. "creatorsrc": {
  14810. "description": "创建人来源 - 1:管理端 2:终端",
  14811. "type": "integer"
  14812. },
  14813. "deliverygoodsid": {
  14814. "description": "现货品种ID",
  14815. "type": "integer"
  14816. },
  14817. "isvalid": {
  14818. "description": "是否有效 - 0:无效 1:有效",
  14819. "type": "integer"
  14820. },
  14821. "modelid": {
  14822. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  14823. "type": "integer"
  14824. },
  14825. "modelname": {
  14826. "description": "型号名称",
  14827. "type": "string"
  14828. },
  14829. "updatetime": {
  14830. "description": "更新时间",
  14831. "type": "string"
  14832. },
  14833. "updatorid": {
  14834. "description": "更新人",
  14835. "type": "integer"
  14836. },
  14837. "updatorsrc": {
  14838. "description": "更新人来源 - 1:管理端 2:终端",
  14839. "type": "integer"
  14840. },
  14841. "wrstandardid": {
  14842. "description": "现货商品ID",
  14843. "type": "integer"
  14844. }
  14845. }
  14846. },
  14847. "models.ErmcpHedgePosition": {
  14848. "type": "object",
  14849. "properties": {
  14850. "accountid": {
  14851. "description": "资金账号[外部母账户]",
  14852. "type": "integer"
  14853. },
  14854. "curbuyposition": {
  14855. "description": "期末买头寸",
  14856. "type": "integer"
  14857. },
  14858. "cursellposition": {
  14859. "description": "期末卖头寸",
  14860. "type": "integer"
  14861. },
  14862. "curtdbuyposition": {
  14863. "description": "期末今日买头寸",
  14864. "type": "integer"
  14865. },
  14866. "curtdsellposition": {
  14867. "description": "期末今日卖头寸",
  14868. "type": "integer"
  14869. },
  14870. "curydbuyposition": {
  14871. "description": "期末上日买头寸",
  14872. "type": "integer"
  14873. },
  14874. "curydsellposition": {
  14875. "description": "期末上日卖头寸",
  14876. "type": "integer"
  14877. },
  14878. "decreaseqty": {
  14879. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14880. "type": "integer"
  14881. },
  14882. "fretdbuyposition": {
  14883. "description": "冻结今日买头寸",
  14884. "type": "integer"
  14885. },
  14886. "fretdsellposition": {
  14887. "description": "冻结今日卖头寸",
  14888. "type": "integer"
  14889. },
  14890. "freydbuyposition": {
  14891. "description": "冻结上日买头寸",
  14892. "type": "integer"
  14893. },
  14894. "freydsellposition": {
  14895. "description": "冻结上日卖头寸",
  14896. "type": "integer"
  14897. },
  14898. "goodscode": {
  14899. "description": "商品代码",
  14900. "type": "string"
  14901. },
  14902. "goodsid": {
  14903. "description": "商品id",
  14904. "type": "integer"
  14905. },
  14906. "goodsname": {
  14907. "description": "商品名称",
  14908. "type": "string"
  14909. },
  14910. "hedgeaccountcode": {
  14911. "description": "对冲账号",
  14912. "type": "string"
  14913. },
  14914. "hedgegoodsid": {
  14915. "description": "对冲合约ID",
  14916. "type": "integer"
  14917. },
  14918. "increaseqty": {
  14919. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14920. "type": "integer"
  14921. },
  14922. "marketid": {
  14923. "description": "市场ID",
  14924. "type": "integer"
  14925. },
  14926. "relateduserid": {
  14927. "description": "关联用户id",
  14928. "type": "integer"
  14929. },
  14930. "totalcurqty": {
  14931. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14932. "type": "integer"
  14933. },
  14934. "totalydqty": {
  14935. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14936. "type": "integer"
  14937. },
  14938. "tradedate": {
  14939. "description": "交易日(yyyyMMdd)",
  14940. "type": "string"
  14941. },
  14942. "ydbuyposition": {
  14943. "description": "期初买头寸",
  14944. "type": "integer"
  14945. },
  14946. "ydsellposition": {
  14947. "description": "期初卖头寸",
  14948. "type": "integer"
  14949. }
  14950. }
  14951. },
  14952. "models.ErmcpHedgePositionDetail": {
  14953. "type": "object",
  14954. "properties": {
  14955. "buyorsell": {
  14956. "description": "买卖方向 0-买 1-卖",
  14957. "type": "integer"
  14958. },
  14959. "channelbuildtype": {
  14960. "description": "开平方向 1-建仓 2-平仓",
  14961. "type": "integer"
  14962. },
  14963. "goodscode": {
  14964. "description": "商品代码",
  14965. "type": "string"
  14966. },
  14967. "goodsname": {
  14968. "description": "商品名称",
  14969. "type": "string"
  14970. },
  14971. "hedgegoodsid": {
  14972. "description": "商品id",
  14973. "type": "integer"
  14974. },
  14975. "tradeqty": {
  14976. "description": "数量(成交数量)",
  14977. "type": "integer"
  14978. },
  14979. "tradetime": {
  14980. "description": "时间(成交时间)",
  14981. "type": "string"
  14982. }
  14983. }
  14984. },
  14985. "models.ErmcpHisExposure": {
  14986. "type": "object",
  14987. "properties": {
  14988. "needhedgeexposoure": {
  14989. "description": "应套保敞口",
  14990. "type": "number"
  14991. },
  14992. "reckondate": {
  14993. "description": "日照时期(yyyyMMdd)",
  14994. "type": "string"
  14995. },
  14996. "totalexposure": {
  14997. "description": "总敞口",
  14998. "type": "number"
  14999. }
  15000. }
  15001. },
  15002. "models.ErmcpHisExposureS": {
  15003. "type": "object",
  15004. "properties": {
  15005. "data": {
  15006. "description": "历史敞口",
  15007. "type": "array",
  15008. "items": {
  15009. "$ref": "#/definitions/models.ErmcpHisExposure"
  15010. }
  15011. },
  15012. "enumdicname": {
  15013. "description": "单位名称",
  15014. "type": "string"
  15015. },
  15016. "middlegoodscode": {
  15017. "description": "套保品种代码",
  15018. "type": "string"
  15019. },
  15020. "middlegoodsid": {
  15021. "description": "套保品种ID",
  15022. "type": "integer"
  15023. },
  15024. "middlegoodsname": {
  15025. "description": "套保品种名称",
  15026. "type": "string"
  15027. }
  15028. }
  15029. },
  15030. "models.ErmcpLoginTaAccount": {
  15031. "type": "object",
  15032. "properties": {
  15033. "accountid": {
  15034. "description": "账号id",
  15035. "type": "integer"
  15036. },
  15037. "accountname": {
  15038. "description": "账号名称",
  15039. "type": "string"
  15040. }
  15041. }
  15042. },
  15043. "models.ErmcpLoginUser": {
  15044. "type": "object",
  15045. "properties": {
  15046. "acclist": {
  15047. "description": "关联资金账号",
  15048. "type": "array",
  15049. "items": {
  15050. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  15051. }
  15052. },
  15053. "accountname": {
  15054. "description": "用户名称",
  15055. "type": "string"
  15056. },
  15057. "clientroleid": {
  15058. "description": "角色id(usertype=2)",
  15059. "type": "integer"
  15060. },
  15061. "createtime": {
  15062. "description": "创建时间",
  15063. "type": "string"
  15064. },
  15065. "logincode": {
  15066. "description": "登录代码",
  15067. "type": "string"
  15068. },
  15069. "loginid": {
  15070. "description": "登录id(LOGINID)",
  15071. "type": "integer"
  15072. },
  15073. "loginname": {
  15074. "description": "登录名称(loginaccount表中的accountname字段)",
  15075. "type": "string"
  15076. },
  15077. "loginstatus": {
  15078. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15079. "type": "integer"
  15080. },
  15081. "memberuserid": {
  15082. "description": "所属会员id",
  15083. "type": "integer"
  15084. },
  15085. "mobile": {
  15086. "description": "手机号",
  15087. "type": "string"
  15088. },
  15089. "modifytime": {
  15090. "description": "修改时间",
  15091. "type": "string"
  15092. },
  15093. "password": {
  15094. "description": "密码(不可解密)",
  15095. "type": "string"
  15096. },
  15097. "rolename": {
  15098. "description": "角色名称",
  15099. "type": "string"
  15100. },
  15101. "rolestatus": {
  15102. "description": "角色状态 1-启用 2-停用",
  15103. "type": "integer"
  15104. },
  15105. "roletype": {
  15106. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  15107. "type": "string"
  15108. },
  15109. "userid": {
  15110. "description": "用户id",
  15111. "type": "integer"
  15112. },
  15113. "usertype": {
  15114. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15115. "type": "integer"
  15116. }
  15117. }
  15118. },
  15119. "models.ErmcpLoginUserEx": {
  15120. "type": "object",
  15121. "properties": {
  15122. "accountstatus": {
  15123. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15124. "type": "integer"
  15125. },
  15126. "mobile": {
  15127. "description": "手机号",
  15128. "type": "string"
  15129. },
  15130. "querytype": {
  15131. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  15132. "type": "integer"
  15133. },
  15134. "roleid": {
  15135. "description": "角色id(交易账户-\u003e用户id)",
  15136. "type": "integer"
  15137. },
  15138. "rolename": {
  15139. "description": "角色名称(交易账户-\u003e用户名称)",
  15140. "type": "string"
  15141. },
  15142. "userlist": {
  15143. "description": "用户列表",
  15144. "type": "array",
  15145. "items": {
  15146. "$ref": "#/definitions/models.ErmcpLoginUser"
  15147. }
  15148. },
  15149. "usertype": {
  15150. "description": "用户类型 2-机构 7-企业成员(云平台)",
  15151. "type": "integer"
  15152. }
  15153. }
  15154. },
  15155. "models.ErmcpMiddleGoodsChangeLog": {
  15156. "type": "object",
  15157. "properties": {
  15158. "aftervalue": {
  15159. "description": "变更后",
  15160. "type": "number"
  15161. },
  15162. "applyid": {
  15163. "description": "操作人",
  15164. "type": "integer"
  15165. },
  15166. "applyname": {
  15167. "description": "操作人名称",
  15168. "type": "string"
  15169. },
  15170. "applysrc": {
  15171. "description": "操作来源 - 1:管理端 2:终端",
  15172. "type": "integer"
  15173. },
  15174. "beforevalue": {
  15175. "description": "变更前",
  15176. "type": "number"
  15177. },
  15178. "changelogtype": {
  15179. "description": "变更流水类型 - 1:套保比率变更",
  15180. "type": "integer"
  15181. },
  15182. "handlestatus": {
  15183. "description": "处理状态",
  15184. "type": "integer"
  15185. },
  15186. "logdatetime": {
  15187. "description": "流水日期",
  15188. "type": "string"
  15189. },
  15190. "logid": {
  15191. "description": "流水ID",
  15192. "type": "integer"
  15193. },
  15194. "logremark": {
  15195. "description": "流水备注",
  15196. "type": "string"
  15197. },
  15198. "middlegoodsid": {
  15199. "description": "套保品种ID",
  15200. "type": "integer"
  15201. },
  15202. "tradedate": {
  15203. "description": "交易日(yyyyMMdd)",
  15204. "type": "string"
  15205. },
  15206. "updatetime": {
  15207. "description": "更新时间",
  15208. "type": "string"
  15209. }
  15210. }
  15211. },
  15212. "models.ErmcpMiddleGoodsDetail": {
  15213. "type": "object",
  15214. "properties": {
  15215. "cvList": {
  15216. "description": "期货品种折算列表",
  15217. "type": "array",
  15218. "items": {
  15219. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15220. }
  15221. },
  15222. "mg": {
  15223. "description": "套保品种基本信息",
  15224. "type": "object",
  15225. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15226. },
  15227. "wrcList": {
  15228. "description": "现货品种列表(现货商品折算配置)",
  15229. "type": "array",
  15230. "items": {
  15231. "$ref": "#/definitions/models.WRSConverTDetail"
  15232. }
  15233. }
  15234. }
  15235. },
  15236. "models.ErmcpMiddleGoodsModel": {
  15237. "type": "object",
  15238. "properties": {
  15239. "areauserid": {
  15240. "description": "机构用户ID",
  15241. "type": "integer"
  15242. },
  15243. "createtime": {
  15244. "description": "修改时间",
  15245. "type": "string"
  15246. },
  15247. "enumdicname": {
  15248. "description": "单位名称",
  15249. "type": "string"
  15250. },
  15251. "evaluateratio": {
  15252. "description": "估价系数",
  15253. "type": "number"
  15254. },
  15255. "goodsgroupid": {
  15256. "description": "关联期货品种ID",
  15257. "type": "integer"
  15258. },
  15259. "goodsunitid": {
  15260. "description": "单位ID",
  15261. "type": "integer"
  15262. },
  15263. "isvalid": {
  15264. "description": "状态 0-无效(停用) 1-有效(正常)",
  15265. "type": "integer"
  15266. },
  15267. "middlegoodscode": {
  15268. "description": "套保品种代码",
  15269. "type": "string"
  15270. },
  15271. "middlegoodsid": {
  15272. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15273. "type": "integer"
  15274. },
  15275. "middlegoodsname": {
  15276. "description": "套保品种名称",
  15277. "type": "string"
  15278. },
  15279. "modifytime": {
  15280. "description": "修改时间",
  15281. "type": "string"
  15282. },
  15283. "needhedgeratio": {
  15284. "description": "套保比率",
  15285. "type": "number"
  15286. },
  15287. "qtydecimalplace": {
  15288. "description": "数量小数位",
  15289. "type": "integer"
  15290. },
  15291. "relatedgoodsid": {
  15292. "description": "关联交易商品ID",
  15293. "type": "integer"
  15294. },
  15295. "relatedgoodstype": {
  15296. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15297. "type": "integer"
  15298. },
  15299. "remark": {
  15300. "description": "备注",
  15301. "type": "string"
  15302. }
  15303. }
  15304. },
  15305. "models.ErmcpOPLogModel": {
  15306. "type": "object",
  15307. "properties": {
  15308. "aftervalue": {
  15309. "description": "变更后",
  15310. "type": "number"
  15311. },
  15312. "applyid": {
  15313. "description": "操作人ID",
  15314. "type": "string"
  15315. },
  15316. "applyname": {
  15317. "description": "操作人名称",
  15318. "type": "string"
  15319. },
  15320. "beforevalue": {
  15321. "description": "变更前",
  15322. "type": "number"
  15323. },
  15324. "biztype": {
  15325. "description": "业务类型 - 1:套保计划 2:现货合同",
  15326. "type": "integer"
  15327. },
  15328. "contracttype": {
  15329. "description": "现货合同类型 - 1:采购 -1:销售",
  15330. "type": "integer"
  15331. },
  15332. "logvalue": {
  15333. "description": "数值",
  15334. "type": "number"
  15335. },
  15336. "operatelogtype": {
  15337. "description": "操作流水类型",
  15338. "type": "integer"
  15339. },
  15340. "operatelogtypedesc": {
  15341. "description": "操作流水类型名称",
  15342. "type": "string"
  15343. },
  15344. "relatedid": {
  15345. "description": "现货合同ID\\套保计划",
  15346. "type": "string"
  15347. },
  15348. "updatetime": {
  15349. "description": "更新时间",
  15350. "type": "string"
  15351. }
  15352. }
  15353. },
  15354. "models.ErmcpPendingAudit": {
  15355. "type": "object",
  15356. "properties": {
  15357. "areastockqty": {
  15358. "description": "待审核数量: 库存申请",
  15359. "type": "integer"
  15360. },
  15361. "businessdjqty": {
  15362. "description": "待审核数量: 点价",
  15363. "type": "integer"
  15364. },
  15365. "businessfpqty": {
  15366. "description": "待审核数量: 发票",
  15367. "type": "integer"
  15368. },
  15369. "businessjsqty": {
  15370. "description": "待审核数量: 结算",
  15371. "type": "integer"
  15372. },
  15373. "businesskxqty": {
  15374. "description": "待审核数量: 款项",
  15375. "type": "integer"
  15376. },
  15377. "hedgeplanqty": {
  15378. "description": "待审核数量: 套保计划",
  15379. "type": "integer"
  15380. },
  15381. "spotcontractqty": {
  15382. "description": "待审核数量: 现货合同",
  15383. "type": "integer"
  15384. },
  15385. "userqty": {
  15386. "description": "待审核数量: 用户",
  15387. "type": "integer"
  15388. }
  15389. }
  15390. },
  15391. "models.ErmcpRealExposureModel": {
  15392. "type": "object",
  15393. "properties": {
  15394. "AreaUserID": {
  15395. "description": "所属机构",
  15396. "type": "integer"
  15397. },
  15398. "BuyFutureQty": {
  15399. "description": "买入期货数量",
  15400. "type": "number"
  15401. },
  15402. "BuyPlanQty": {
  15403. "description": "采购计划数量",
  15404. "type": "number"
  15405. },
  15406. "BuyPricedQty": {
  15407. "description": "采购合同已定价数量",
  15408. "type": "number"
  15409. },
  15410. "MiddleGoodsCode": {
  15411. "description": "套保品种代码",
  15412. "type": "string"
  15413. },
  15414. "MiddleGoodsHedgeRatio": {
  15415. "description": "应套保比例",
  15416. "type": "number"
  15417. },
  15418. "MiddleGoodsID": {
  15419. "description": "套保品种",
  15420. "type": "integer"
  15421. },
  15422. "MiddleGoodsName": {
  15423. "description": "套保品种名称",
  15424. "type": "string"
  15425. },
  15426. "NeedHedgeExposoure": {
  15427. "description": "应套保敞口",
  15428. "type": "number"
  15429. },
  15430. "NeedHedgeRatio": {
  15431. "description": "应套保敞口比例",
  15432. "type": "number"
  15433. },
  15434. "OriBuyFutureQty": {
  15435. "description": "期初买入期货数量",
  15436. "type": "number"
  15437. },
  15438. "OriBuyPlanQty": {
  15439. "description": "期初采购计划数量",
  15440. "type": "number"
  15441. },
  15442. "OriBuyPricedQty": {
  15443. "description": "期初采购合同已定价数量",
  15444. "type": "number"
  15445. },
  15446. "OriSellFutureQty": {
  15447. "description": "期初卖出期货数量",
  15448. "type": "number"
  15449. },
  15450. "OriSellPlanQty": {
  15451. "description": "期初销售计划数量",
  15452. "type": "number"
  15453. },
  15454. "OriSellPricedQty": {
  15455. "description": "期初销售合同已定价数量",
  15456. "type": "number"
  15457. },
  15458. "SellFutureQty": {
  15459. "description": "卖出期货数量",
  15460. "type": "number"
  15461. },
  15462. "SellPlanQty": {
  15463. "description": "销售计划数量",
  15464. "type": "number"
  15465. },
  15466. "SellPricedQty": {
  15467. "description": "销售合同已定价数量",
  15468. "type": "number"
  15469. },
  15470. "TotalExposure": {
  15471. "description": "总敞口",
  15472. "type": "number"
  15473. },
  15474. "TotalFutureQty": {
  15475. "description": "期货数量",
  15476. "type": "number"
  15477. },
  15478. "TotalHedgeRatio": {
  15479. "description": "敞口比例",
  15480. "type": "number"
  15481. },
  15482. "TotalNeedHedgeQty": {
  15483. "description": "期货应套保量",
  15484. "type": "number"
  15485. },
  15486. "TotalSpotQty": {
  15487. "description": "现货数量",
  15488. "type": "number"
  15489. },
  15490. "diffFutuQty": {
  15491. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  15492. "type": "number"
  15493. },
  15494. "diffSpotQty": {
  15495. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  15496. "type": "number"
  15497. },
  15498. "enumdicname": {
  15499. "description": "单位名称",
  15500. "type": "string"
  15501. },
  15502. "oriTotalFutuQty": {
  15503. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  15504. "type": "number"
  15505. },
  15506. "oriTotalSpotQty": {
  15507. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  15508. "type": "number"
  15509. }
  15510. }
  15511. },
  15512. "models.ErmcpRole": {
  15513. "type": "object",
  15514. "properties": {
  15515. "areauserid": {
  15516. "description": "所属机构",
  15517. "type": "integer"
  15518. },
  15519. "autoid": {
  15520. "description": "角色ID(自增ID)",
  15521. "type": "integer"
  15522. },
  15523. "modifierid": {
  15524. "description": "修改人(创建人)",
  15525. "type": "integer"
  15526. },
  15527. "modifiername": {
  15528. "description": "修改人名称",
  15529. "type": "string"
  15530. },
  15531. "modifytime": {
  15532. "description": "修改时间(创建时间)",
  15533. "type": "string"
  15534. },
  15535. "rolename": {
  15536. "description": "角色名称",
  15537. "type": "string"
  15538. },
  15539. "rolestatus": {
  15540. "description": "角色状态 - 1:启用 2:停用",
  15541. "type": "integer"
  15542. },
  15543. "roletype": {
  15544. "description": "角色类型 - 1- 管理端 2- 交易端",
  15545. "type": "integer"
  15546. }
  15547. }
  15548. },
  15549. "models.ErmcpRoleMenu": {
  15550. "type": "object",
  15551. "properties": {
  15552. "iconame": {
  15553. "description": "菜单图标",
  15554. "type": "string"
  15555. },
  15556. "ishadrole": {
  15557. "description": "是否有权限",
  15558. "type": "boolean"
  15559. },
  15560. "menutype": {
  15561. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  15562. "type": "integer"
  15563. },
  15564. "parentcode": {
  15565. "description": "上级资源代码",
  15566. "type": "string"
  15567. },
  15568. "remark": {
  15569. "description": "菜单备注",
  15570. "type": "string"
  15571. },
  15572. "resourcecode": {
  15573. "description": "菜单代码",
  15574. "type": "string"
  15575. },
  15576. "resourcelevel": {
  15577. "description": "级别",
  15578. "type": "integer"
  15579. },
  15580. "resourcename": {
  15581. "description": "菜单名称",
  15582. "type": "string"
  15583. },
  15584. "roleid": {
  15585. "description": "角色id",
  15586. "type": "integer"
  15587. },
  15588. "sort": {
  15589. "description": "排序",
  15590. "type": "integer"
  15591. },
  15592. "url": {
  15593. "description": "URL",
  15594. "type": "string"
  15595. },
  15596. "userid": {
  15597. "description": "用户id",
  15598. "type": "integer"
  15599. }
  15600. }
  15601. },
  15602. "models.ErmcpRoleMenuEx": {
  15603. "type": "object",
  15604. "properties": {
  15605. "menu": {
  15606. "description": "父级菜单",
  15607. "type": "object",
  15608. "$ref": "#/definitions/models.ErmcpRoleMenu"
  15609. },
  15610. "subMenu": {
  15611. "description": "子级菜单",
  15612. "type": "array",
  15613. "items": {
  15614. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  15615. }
  15616. }
  15617. }
  15618. },
  15619. "models.ErmcpTaAccount": {
  15620. "type": "object",
  15621. "properties": {
  15622. "accountid": {
  15623. "description": "账户id",
  15624. "type": "integer"
  15625. },
  15626. "accountname": {
  15627. "description": "账户名称",
  15628. "type": "string"
  15629. },
  15630. "currencyid": {
  15631. "description": "币种id",
  15632. "type": "integer"
  15633. },
  15634. "hedgeaccountcode": {
  15635. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  15636. "type": "string"
  15637. },
  15638. "ismain": {
  15639. "description": "是否主账户 0-否 1-是",
  15640. "type": "integer"
  15641. },
  15642. "parentaccountid": {
  15643. "description": "父账户id",
  15644. "type": "integer"
  15645. },
  15646. "relateduserid": {
  15647. "description": "关联userid",
  15648. "type": "integer"
  15649. },
  15650. "tradestatus": {
  15651. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15652. "type": "integer"
  15653. },
  15654. "userid": {
  15655. "description": "用户id",
  15656. "type": "integer"
  15657. }
  15658. }
  15659. },
  15660. "models.ErmcpTaAccountEx": {
  15661. "type": "object",
  15662. "properties": {
  15663. "mainAcc": {
  15664. "description": "主账号",
  15665. "type": "object",
  15666. "$ref": "#/definitions/models.ErmcpTaAccountM"
  15667. },
  15668. "subacclist": {
  15669. "description": "子账号列表",
  15670. "type": "array",
  15671. "items": {
  15672. "$ref": "#/definitions/models.ErmcpTaAccount"
  15673. }
  15674. }
  15675. }
  15676. },
  15677. "models.ErmcpTaAccountInfo": {
  15678. "type": "object",
  15679. "properties": {
  15680. "accountid": {
  15681. "description": "资金账户ID",
  15682. "type": "integer"
  15683. },
  15684. "accountname": {
  15685. "description": "账户名称",
  15686. "type": "string"
  15687. },
  15688. "balance": {
  15689. "description": "期初余额",
  15690. "type": "number"
  15691. },
  15692. "capitalbalance": {
  15693. "description": "本金余额[外部子账户实际出入金余额]",
  15694. "type": "number"
  15695. },
  15696. "closepl": {
  15697. "description": "今日平仓盈亏",
  15698. "type": "number"
  15699. },
  15700. "creditdecrease": {
  15701. "description": "今日授信减少",
  15702. "type": "number"
  15703. },
  15704. "creditincrease": {
  15705. "description": "今日授信增加",
  15706. "type": "number"
  15707. },
  15708. "curdebt": {
  15709. "description": "期末欠款",
  15710. "type": "number"
  15711. },
  15712. "currencyid": {
  15713. "description": "货币ID",
  15714. "type": "integer"
  15715. },
  15716. "currentbalance": {
  15717. "description": "期末余额",
  15718. "type": "number"
  15719. },
  15720. "freezecharge": {
  15721. "description": "手续费冻结",
  15722. "type": "number"
  15723. },
  15724. "freezemargin": {
  15725. "description": "冻结保证金",
  15726. "type": "number"
  15727. },
  15728. "fromaccountid": {
  15729. "description": "所属上级账户",
  15730. "type": "integer"
  15731. },
  15732. "inamount": {
  15733. "description": "今日入金金额(包括三方入金)",
  15734. "type": "number"
  15735. },
  15736. "ismain": {
  15737. "description": "是否母账号 0:不是母账户 1:是母账户",
  15738. "type": "integer"
  15739. },
  15740. "mortgagecredit": {
  15741. "description": "授信金额",
  15742. "type": "number"
  15743. },
  15744. "oridebt": {
  15745. "description": "期初欠款",
  15746. "type": "number"
  15747. },
  15748. "orifreezecharge": {
  15749. "description": "期初手续费冻结",
  15750. "type": "number"
  15751. },
  15752. "orifreezemargin": {
  15753. "description": "期初冻结保证金",
  15754. "type": "number"
  15755. },
  15756. "orimortgagecredit": {
  15757. "description": "期初授信金额",
  15758. "type": "number"
  15759. },
  15760. "oriothercredit": {
  15761. "description": "期初其它授信金额",
  15762. "type": "number"
  15763. },
  15764. "oriotherfreezemargin": {
  15765. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15766. "type": "number"
  15767. },
  15768. "orioutamountfreeze": {
  15769. "description": "期初出金冻结",
  15770. "type": "number"
  15771. },
  15772. "oriusedmargin": {
  15773. "description": "期初占用保证金",
  15774. "type": "number"
  15775. },
  15776. "othercredit": {
  15777. "description": "其它授信金额",
  15778. "type": "number"
  15779. },
  15780. "othercreditdecrease": {
  15781. "description": "今日其它授信减少",
  15782. "type": "number"
  15783. },
  15784. "othercreditincrease": {
  15785. "description": "今日其它授信增加",
  15786. "type": "number"
  15787. },
  15788. "otherfreezemargin": {
  15789. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15790. "type": "number"
  15791. },
  15792. "outamount": {
  15793. "description": "今日出金金额(包括三方出金)",
  15794. "type": "number"
  15795. },
  15796. "outamountfreeze": {
  15797. "description": "出金冻结",
  15798. "type": "number"
  15799. },
  15800. "outthreshold": {
  15801. "description": "出金阈值",
  15802. "type": "number"
  15803. },
  15804. "parentaccountid": {
  15805. "description": "所属根账号",
  15806. "type": "integer"
  15807. },
  15808. "paycharge": {
  15809. "description": "今日手续费支出",
  15810. "type": "number"
  15811. },
  15812. "relateduserid": {
  15813. "description": "关联用户",
  15814. "type": "integer"
  15815. },
  15816. "signstatus": {
  15817. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15818. "type": "integer"
  15819. },
  15820. "sublevelpath": {
  15821. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15822. "type": "string"
  15823. },
  15824. "taaccounttype": {
  15825. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15826. "type": "integer"
  15827. },
  15828. "thirdinamount": {
  15829. "description": "今日三方入金",
  15830. "type": "number"
  15831. },
  15832. "thirdoutamount": {
  15833. "description": "今日三方出金",
  15834. "type": "number"
  15835. },
  15836. "tradestatus": {
  15837. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15838. "type": "integer"
  15839. },
  15840. "transferamount": {
  15841. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15842. "type": "number"
  15843. },
  15844. "usedmargin": {
  15845. "description": "占用保证金",
  15846. "type": "number"
  15847. },
  15848. "userid": {
  15849. "description": "用户ID",
  15850. "type": "integer"
  15851. }
  15852. }
  15853. },
  15854. "models.ErmcpTaAccountM": {
  15855. "type": "object",
  15856. "properties": {
  15857. "accountid": {
  15858. "description": "账户id",
  15859. "type": "integer"
  15860. },
  15861. "accountname": {
  15862. "description": "账户名称",
  15863. "type": "string"
  15864. },
  15865. "currencyid": {
  15866. "description": "币种id",
  15867. "type": "integer"
  15868. },
  15869. "fcid": {
  15870. "description": "期货公司id",
  15871. "type": "integer"
  15872. },
  15873. "fcname": {
  15874. "description": "期货公司代码",
  15875. "type": "string"
  15876. },
  15877. "hedgeaccountcode": {
  15878. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  15879. "type": "string"
  15880. },
  15881. "ismain": {
  15882. "description": "是否主账户 0-否 1-是",
  15883. "type": "integer"
  15884. },
  15885. "parentaccountid": {
  15886. "description": "父账户id",
  15887. "type": "integer"
  15888. },
  15889. "relateduserid": {
  15890. "description": "关联userid",
  15891. "type": "integer"
  15892. },
  15893. "tradestatus": {
  15894. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15895. "type": "integer"
  15896. },
  15897. "userid": {
  15898. "description": "用户id",
  15899. "type": "integer"
  15900. }
  15901. }
  15902. },
  15903. "models.ErmcpTradeConfigTMP": {
  15904. "type": "object",
  15905. "properties": {
  15906. "areauserid": {
  15907. "description": "所属机构",
  15908. "type": "integer"
  15909. },
  15910. "basiccurrencyid": {
  15911. "description": "基本币种ID[汇率] - 目标币种",
  15912. "type": "integer"
  15913. },
  15914. "mainaccountid": {
  15915. "description": "主账户ID",
  15916. "type": "integer"
  15917. },
  15918. "modifierid": {
  15919. "description": "修改人",
  15920. "type": "integer"
  15921. },
  15922. "remark": {
  15923. "description": "备注",
  15924. "type": "string"
  15925. },
  15926. "tradeconfigtmpid": {
  15927. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  15928. "type": "integer"
  15929. },
  15930. "tradeconfigtmpname": {
  15931. "description": "交易配置模板名称",
  15932. "type": "string"
  15933. },
  15934. "tradeconfigtmptype": {
  15935. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  15936. "type": "integer"
  15937. },
  15938. "updatetime": {
  15939. "description": "更新时间",
  15940. "type": "string"
  15941. }
  15942. }
  15943. },
  15944. "models.ErmcpUserModel": {
  15945. "type": "object",
  15946. "properties": {
  15947. "address": {
  15948. "description": "通讯地址",
  15949. "type": "string"
  15950. },
  15951. "attachment1": {
  15952. "description": "附件1",
  15953. "type": "string"
  15954. },
  15955. "audittime": {
  15956. "description": "审核时间",
  15957. "type": "string"
  15958. },
  15959. "cardbackphotourl": {
  15960. "description": "证件反面图片地址",
  15961. "type": "string"
  15962. },
  15963. "cardfrontphotourl": {
  15964. "description": "证件正面图片地址",
  15965. "type": "string"
  15966. },
  15967. "cardnum": {
  15968. "description": "证件号码",
  15969. "type": "string"
  15970. },
  15971. "cardtype": {
  15972. "description": "证件类型",
  15973. "type": "integer"
  15974. },
  15975. "cardtypename": {
  15976. "description": "证件类型名称",
  15977. "type": "string"
  15978. },
  15979. "cityid": {
  15980. "description": "市",
  15981. "type": "integer"
  15982. },
  15983. "contactname": {
  15984. "description": "联系人",
  15985. "type": "string"
  15986. },
  15987. "countryid": {
  15988. "description": "国家",
  15989. "type": "integer"
  15990. },
  15991. "createtime": {
  15992. "description": "创建时间",
  15993. "type": "string"
  15994. },
  15995. "customername": {
  15996. "description": "企业名称",
  15997. "type": "string"
  15998. },
  15999. "districtid": {
  16000. "description": "区域",
  16001. "type": "integer"
  16002. },
  16003. "email": {
  16004. "description": "邮件",
  16005. "type": "string"
  16006. },
  16007. "legalpersonname": {
  16008. "description": "法人姓名(企业)",
  16009. "type": "string"
  16010. },
  16011. "memberuserid": {
  16012. "description": "所属机构ID",
  16013. "type": "integer"
  16014. },
  16015. "mobile": {
  16016. "description": "手机号码",
  16017. "type": "string"
  16018. },
  16019. "modifytime": {
  16020. "description": "修改时间",
  16021. "type": "string"
  16022. },
  16023. "nickname": {
  16024. "description": "昵称",
  16025. "type": "string"
  16026. },
  16027. "provinceid": {
  16028. "description": "省",
  16029. "type": "integer"
  16030. },
  16031. "remark": {
  16032. "description": "备注",
  16033. "type": "string"
  16034. },
  16035. "status": {
  16036. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16037. "type": "integer"
  16038. },
  16039. "statusdesc": {
  16040. "description": "账户状态中文描述",
  16041. "type": "string"
  16042. },
  16043. "taxpayernum": {
  16044. "description": "纳税人识别号",
  16045. "type": "string"
  16046. },
  16047. "telphone": {
  16048. "description": "联系电话",
  16049. "type": "string"
  16050. },
  16051. "userid": {
  16052. "description": "用户ID",
  16053. "type": "integer"
  16054. },
  16055. "userinfotype": {
  16056. "description": "客户类型",
  16057. "type": "string"
  16058. }
  16059. }
  16060. },
  16061. "models.ErmcpWareHouseInfo": {
  16062. "type": "object",
  16063. "properties": {
  16064. "address": {
  16065. "description": "详细地址",
  16066. "type": "string"
  16067. },
  16068. "areauserid": {
  16069. "description": "所属机构",
  16070. "type": "integer"
  16071. },
  16072. "autoid": {
  16073. "description": "自增ID(仓库ID)",
  16074. "type": "integer"
  16075. },
  16076. "cityid": {
  16077. "description": "市",
  16078. "type": "integer"
  16079. },
  16080. "contactname": {
  16081. "description": "联系人",
  16082. "type": "string"
  16083. },
  16084. "contactnum": {
  16085. "description": "联系电话",
  16086. "type": "string"
  16087. },
  16088. "countryid": {
  16089. "description": "国家",
  16090. "type": "integer"
  16091. },
  16092. "createtime": {
  16093. "description": "创建时间",
  16094. "type": "string"
  16095. },
  16096. "districtid": {
  16097. "description": "区",
  16098. "type": "integer"
  16099. },
  16100. "hasvideo": {
  16101. "description": "是否有视频 - 0:无 1:有",
  16102. "type": "integer"
  16103. },
  16104. "provinceid": {
  16105. "description": "省",
  16106. "type": "integer"
  16107. },
  16108. "remark": {
  16109. "description": "审核备注",
  16110. "type": "string"
  16111. },
  16112. "videourl": {
  16113. "description": "视频地址",
  16114. "type": "string"
  16115. },
  16116. "warehousecode": {
  16117. "description": "仓库代码",
  16118. "type": "string"
  16119. },
  16120. "warehousename": {
  16121. "description": "仓库名称",
  16122. "type": "string"
  16123. },
  16124. "warehousestatus": {
  16125. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16126. "type": "integer"
  16127. },
  16128. "warehousetype": {
  16129. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16130. "type": "integer"
  16131. }
  16132. }
  16133. },
  16134. "models.Externalexchange": {
  16135. "type": "object",
  16136. "required": [
  16137. "autoid"
  16138. ],
  16139. "properties": {
  16140. "autoid": {
  16141. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  16142. "type": "integer"
  16143. },
  16144. "exchangefullname": {
  16145. "description": "外部交易所全称",
  16146. "type": "string"
  16147. },
  16148. "exexchangecode": {
  16149. "description": "外部交易所代码",
  16150. "type": "string"
  16151. },
  16152. "exexchangename": {
  16153. "description": "外部交易所名称(简称)",
  16154. "type": "string"
  16155. },
  16156. "ismarketprice": {
  16157. "description": "是否支持市价 - 0:不支持 1:支持",
  16158. "type": "integer"
  16159. },
  16160. "quotegear": {
  16161. "description": "行情档位(1-10)",
  16162. "type": "integer"
  16163. },
  16164. "showbrokerflag": {
  16165. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  16166. "type": "integer"
  16167. },
  16168. "updatetime": {
  16169. "description": "更新时间",
  16170. "type": "string"
  16171. }
  16172. }
  16173. },
  16174. "models.Funcmenulist": {
  16175. "type": "object",
  16176. "required": [
  16177. "resourcecode"
  16178. ],
  16179. "properties": {
  16180. "iconame": {
  16181. "description": "菜单图标",
  16182. "type": "string"
  16183. },
  16184. "menutype": {
  16185. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  16186. "type": "integer"
  16187. },
  16188. "parentcode": {
  16189. "description": "上级资源代码",
  16190. "type": "string"
  16191. },
  16192. "remark": {
  16193. "description": "备注",
  16194. "type": "string"
  16195. },
  16196. "resourcecode": {
  16197. "description": "资源代码",
  16198. "type": "string"
  16199. },
  16200. "resourcelevel": {
  16201. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  16202. "type": "integer"
  16203. },
  16204. "resourcename": {
  16205. "description": "资源名",
  16206. "type": "string"
  16207. },
  16208. "sort": {
  16209. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  16210. "type": "integer"
  16211. },
  16212. "url": {
  16213. "description": "URL",
  16214. "type": "string"
  16215. }
  16216. }
  16217. },
  16218. "models.Goods": {
  16219. "type": "object",
  16220. "required": [
  16221. "goodscode",
  16222. "goodsid",
  16223. "goodsname",
  16224. "marketid"
  16225. ],
  16226. "properties": {
  16227. "agreeunit": {
  16228. "description": "合约单位",
  16229. "type": "number"
  16230. },
  16231. "auditaccountid": {
  16232. "description": "审核操作员账号",
  16233. "type": "integer"
  16234. },
  16235. "audittime": {
  16236. "description": "审核时间",
  16237. "type": "string"
  16238. },
  16239. "cancelaccountid": {
  16240. "description": "注销操作员账号",
  16241. "type": "integer"
  16242. },
  16243. "canceltime": {
  16244. "description": "注销时间",
  16245. "type": "string"
  16246. },
  16247. "closepricemode": {
  16248. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16249. "type": "integer"
  16250. },
  16251. "closepriceparam": {
  16252. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16253. "type": "number"
  16254. },
  16255. "createtime": {
  16256. "description": "创建时间",
  16257. "type": "string"
  16258. },
  16259. "creatorid": {
  16260. "description": "创建人",
  16261. "type": "integer"
  16262. },
  16263. "currencyid": {
  16264. "description": "报价货币ID",
  16265. "type": "integer"
  16266. },
  16267. "cutmode": {
  16268. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16269. "type": "integer"
  16270. },
  16271. "decimalplace": {
  16272. "description": "报价小数位",
  16273. "type": "integer"
  16274. },
  16275. "delistingdate": {
  16276. "description": "商品退市时间(状态:退市) -- 已作废",
  16277. "type": "string"
  16278. },
  16279. "delistingmode": {
  16280. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  16281. "type": "integer"
  16282. },
  16283. "deliveryflag": {
  16284. "description": "交割标志 - 0:不可交割 1:可交割",
  16285. "type": "integer"
  16286. },
  16287. "forceclosemode": {
  16288. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  16289. "type": "integer"
  16290. },
  16291. "forceclosevalue": {
  16292. "description": "定期强平参数 [收益权]",
  16293. "type": "integer"
  16294. },
  16295. "goodscode": {
  16296. "description": "商品代码(内部)",
  16297. "type": "string"
  16298. },
  16299. "goodscurrencyid": {
  16300. "description": "合约货币ID",
  16301. "type": "integer"
  16302. },
  16303. "goodsgroupid": {
  16304. "description": "所属商品组ID",
  16305. "type": "integer"
  16306. },
  16307. "goodsid": {
  16308. "description": "商品ID(自增ID SEQ_GOODS)",
  16309. "type": "integer"
  16310. },
  16311. "goodsname": {
  16312. "description": "商品名称",
  16313. "type": "string"
  16314. },
  16315. "goodsquotetype": {
  16316. "description": "合约报价类型: 1-直接报价 2-间接报价",
  16317. "type": "integer"
  16318. },
  16319. "goodsstatus": {
  16320. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16321. "type": "integer"
  16322. },
  16323. "goodstradetype": {
  16324. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  16325. "type": "integer"
  16326. },
  16327. "goodunitid": {
  16328. "description": "报价单位ID",
  16329. "type": "integer"
  16330. },
  16331. "hasquoter": {
  16332. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  16333. "type": "integer"
  16334. },
  16335. "hqprotecttime": {
  16336. "description": "行情保护时间(秒)",
  16337. "type": "integer"
  16338. },
  16339. "innerdealmode": {
  16340. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16341. "type": "integer"
  16342. },
  16343. "isbuylimited": {
  16344. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16345. "type": "integer"
  16346. },
  16347. "lasttradedate": {
  16348. "description": "最后交易日期(状态:待退市)",
  16349. "type": "string"
  16350. },
  16351. "listingdate": {
  16352. "description": "交易开始日期",
  16353. "type": "string"
  16354. },
  16355. "marketid": {
  16356. "description": "所属市场ID",
  16357. "type": "integer"
  16358. },
  16359. "modifierid": {
  16360. "description": "修改人",
  16361. "type": "integer"
  16362. },
  16363. "modifystatus": {
  16364. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  16365. "type": "integer"
  16366. },
  16367. "modifytime": {
  16368. "description": "修改时间",
  16369. "type": "string"
  16370. },
  16371. "outerdealmode": {
  16372. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16373. "type": "integer"
  16374. },
  16375. "outgoodscode": {
  16376. "description": "商品代码(外部)",
  16377. "type": "string"
  16378. },
  16379. "qtydecimalplace": {
  16380. "description": "成交量小数位",
  16381. "type": "integer"
  16382. },
  16383. "quotegear": {
  16384. "description": "行情档位(1-10)",
  16385. "type": "integer"
  16386. },
  16387. "quoteminunit": {
  16388. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16389. "type": "integer"
  16390. },
  16391. "quoteshowtype": {
  16392. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  16393. "type": "integer"
  16394. },
  16395. "quoteshowtypeinterval": {
  16396. "description": "行情报价间隔时间(秒)(成交价时为0)",
  16397. "type": "integer"
  16398. },
  16399. "remark": {
  16400. "description": "备注",
  16401. "type": "string"
  16402. }
  16403. }
  16404. },
  16405. "models.GoodsIDAndName": {
  16406. "type": "object",
  16407. "required": [
  16408. "goodscode",
  16409. "goodsid",
  16410. "goodsname",
  16411. "marketid"
  16412. ],
  16413. "properties": {
  16414. "goodscode": {
  16415. "description": "商品代码(内部)",
  16416. "type": "string"
  16417. },
  16418. "goodsid": {
  16419. "description": "商品ID(自增ID SEQ_GOODS)",
  16420. "type": "integer"
  16421. },
  16422. "goodsname": {
  16423. "description": "商品名称",
  16424. "type": "string"
  16425. },
  16426. "marketid": {
  16427. "description": "所属市场ID",
  16428. "type": "integer"
  16429. }
  16430. }
  16431. },
  16432. "models.Goodsgroup": {
  16433. "type": "object",
  16434. "required": [
  16435. "goodsgroupid",
  16436. "goodsgroupname",
  16437. "goodsgroupstatus",
  16438. "marketid"
  16439. ],
  16440. "properties": {
  16441. "agreeunit": {
  16442. "description": "合约单位",
  16443. "type": "number"
  16444. },
  16445. "canshort": {
  16446. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16447. "type": "integer"
  16448. },
  16449. "closepricemode": {
  16450. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16451. "type": "integer"
  16452. },
  16453. "closepriceparam": {
  16454. "description": "强平最新价浮动比例 - 方式为2时使用",
  16455. "type": "number"
  16456. },
  16457. "createtime": {
  16458. "description": "创建时间",
  16459. "type": "string"
  16460. },
  16461. "creatorid": {
  16462. "description": "创建人",
  16463. "type": "integer"
  16464. },
  16465. "currencyid": {
  16466. "description": "报价货币ID",
  16467. "type": "integer"
  16468. },
  16469. "decimalplace": {
  16470. "description": "报价小数位",
  16471. "type": "integer"
  16472. },
  16473. "exercisetype": {
  16474. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  16475. "type": "integer"
  16476. },
  16477. "exexchangeid": {
  16478. "description": "外部交易所ID[通道交易]",
  16479. "type": "integer"
  16480. },
  16481. "goodsgroupid": {
  16482. "description": "商品组ID(自增ID)",
  16483. "type": "integer"
  16484. },
  16485. "goodsgroupname": {
  16486. "description": "商品组名称",
  16487. "type": "string"
  16488. },
  16489. "goodsgroupstatus": {
  16490. "description": "商品组状态 - 1:正常 2:注销",
  16491. "type": "integer"
  16492. },
  16493. "goodunitid": {
  16494. "description": "报价单位ID",
  16495. "type": "integer"
  16496. },
  16497. "innerdealmode": {
  16498. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16499. "type": "integer"
  16500. },
  16501. "isbuylimited": {
  16502. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16503. "type": "integer"
  16504. },
  16505. "marketid": {
  16506. "description": "所属市场ID",
  16507. "type": "integer"
  16508. },
  16509. "modifierid": {
  16510. "description": "修改人",
  16511. "type": "integer"
  16512. },
  16513. "modifytime": {
  16514. "description": "修改时间",
  16515. "type": "string"
  16516. },
  16517. "outerdealmode": {
  16518. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16519. "type": "integer"
  16520. },
  16521. "outergroupcode": {
  16522. "description": "外部商品组代码[通道交易]",
  16523. "type": "string"
  16524. },
  16525. "premiumdecimalplace": {
  16526. "description": "权利金小数位[场外期权]",
  16527. "type": "integer"
  16528. },
  16529. "premiumspreadalgorithm": {
  16530. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  16531. "type": "integer"
  16532. },
  16533. "premiumspreadvalue": {
  16534. "description": "权利金点差值[场外期权]",
  16535. "type": "number"
  16536. },
  16537. "qtydecimalplace": {
  16538. "description": "成交量小数位",
  16539. "type": "integer"
  16540. },
  16541. "quotegear": {
  16542. "description": "行情档位(1-10)",
  16543. "type": "integer"
  16544. },
  16545. "quoteminunit": {
  16546. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16547. "type": "integer"
  16548. },
  16549. "quoterid": {
  16550. "description": "报价商ID[场外期权]",
  16551. "type": "integer"
  16552. },
  16553. "quotesourcegroupid": {
  16554. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16555. "type": "integer"
  16556. },
  16557. "syncgoodsqty": {
  16558. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16559. "type": "integer"
  16560. }
  16561. }
  16562. },
  16563. "models.Goodssortbypreposition": {
  16564. "type": "object",
  16565. "required": [
  16566. "goodscode",
  16567. "tradedate"
  16568. ],
  16569. "properties": {
  16570. "goodscode": {
  16571. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  16572. "type": "string"
  16573. },
  16574. "goodsgroupcode": {
  16575. "description": "品种代码",
  16576. "type": "string"
  16577. },
  16578. "prepositionqty": {
  16579. "description": "昨持仓量",
  16580. "type": "integer"
  16581. },
  16582. "sortindex": {
  16583. "description": "排序",
  16584. "type": "integer"
  16585. },
  16586. "tradedate": {
  16587. "description": "交易日",
  16588. "type": "string"
  16589. },
  16590. "updatetime": {
  16591. "description": "更新时间",
  16592. "type": "string"
  16593. }
  16594. }
  16595. },
  16596. "models.Hedgeinnerholderdetail": {
  16597. "type": "object",
  16598. "required": [
  16599. "buyorsell",
  16600. "tradeid"
  16601. ],
  16602. "properties": {
  16603. "accountid": {
  16604. "description": "账号ID",
  16605. "type": "integer"
  16606. },
  16607. "buyorsell": {
  16608. "description": "方向 - 0:买 1:卖",
  16609. "type": "integer"
  16610. },
  16611. "freezeqty": {
  16612. "description": "冻结数量 - 按单平使用",
  16613. "type": "integer"
  16614. },
  16615. "goodsid": {
  16616. "description": "商品ID",
  16617. "type": "integer"
  16618. },
  16619. "holderamount": {
  16620. "description": "持仓金额 [商品币种]",
  16621. "type": "number"
  16622. },
  16623. "holderdays": {
  16624. "description": "剩余冻结天数",
  16625. "type": "integer"
  16626. },
  16627. "holderprice": {
  16628. "description": "持仓价格",
  16629. "type": "number"
  16630. },
  16631. "holderqty": {
  16632. "description": "持仓数量",
  16633. "type": "integer"
  16634. },
  16635. "marketid": {
  16636. "description": "市场ID",
  16637. "type": "integer"
  16638. },
  16639. "openprice": {
  16640. "description": "建仓价格",
  16641. "type": "number"
  16642. },
  16643. "openqty": {
  16644. "description": "建仓数量",
  16645. "type": "integer"
  16646. },
  16647. "parentaccountid": {
  16648. "description": "所属母账户",
  16649. "type": "integer"
  16650. },
  16651. "releaseamount": {
  16652. "description": "释放持仓金额[商品币种]",
  16653. "type": "number"
  16654. },
  16655. "tradeamount": {
  16656. "description": "成交金额[账户]",
  16657. "type": "number"
  16658. },
  16659. "tradedate": {
  16660. "description": "交易日(yyyyMMdd)",
  16661. "type": "string"
  16662. },
  16663. "tradeid": {
  16664. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16665. "type": "string"
  16666. },
  16667. "tradetime": {
  16668. "description": "交易时间",
  16669. "type": "string"
  16670. }
  16671. }
  16672. },
  16673. "models.Hedgemarketopenlog": {
  16674. "type": "object",
  16675. "required": [
  16676. "accountid"
  16677. ],
  16678. "properties": {
  16679. "accountid": {
  16680. "description": "资金账号[外部母账户]",
  16681. "type": "integer"
  16682. },
  16683. "fcname": {
  16684. "description": "期货公司名称",
  16685. "type": "string"
  16686. },
  16687. "handlestatus": {
  16688. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  16689. "type": "integer"
  16690. },
  16691. "marketid": {
  16692. "description": "市场ID",
  16693. "type": "integer"
  16694. },
  16695. "status": {
  16696. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  16697. "type": "integer"
  16698. },
  16699. "tradedate": {
  16700. "description": "交易日(yyyyMMdd)",
  16701. "type": "string"
  16702. },
  16703. "updatetime": {
  16704. "description": "更新时间",
  16705. "type": "string"
  16706. }
  16707. }
  16708. },
  16709. "models.HsbyBuyMyPayOrder": {
  16710. "type": "object",
  16711. "required": [
  16712. "goodscode",
  16713. "goodsname",
  16714. "tradeid",
  16715. "trademode"
  16716. ],
  16717. "properties": {
  16718. "agreeunit": {
  16719. "description": "合约单位",
  16720. "type": "number"
  16721. },
  16722. "buyaccountid": {
  16723. "description": "买方账号ID[报价币种]",
  16724. "type": "integer"
  16725. },
  16726. "buyorderid": {
  16727. "description": "买方委托单号",
  16728. "type": "string"
  16729. },
  16730. "createtime": {
  16731. "description": "创建时间",
  16732. "type": "string"
  16733. },
  16734. "currencysign": {
  16735. "description": "货币符号",
  16736. "type": "string"
  16737. },
  16738. "decimalplace": {
  16739. "description": "报价小数位",
  16740. "type": "integer"
  16741. },
  16742. "goodscode": {
  16743. "description": "商品代码(内部)",
  16744. "type": "string"
  16745. },
  16746. "goodsid": {
  16747. "description": "商品ID",
  16748. "type": "integer"
  16749. },
  16750. "goodsname": {
  16751. "description": "商品名称",
  16752. "type": "string"
  16753. },
  16754. "marketid": {
  16755. "description": "市场ID",
  16756. "type": "integer"
  16757. },
  16758. "offamount": {
  16759. "description": "优惠金额",
  16760. "type": "number"
  16761. },
  16762. "originalamount": {
  16763. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  16764. "type": "number"
  16765. },
  16766. "payamount": {
  16767. "description": "支付金额 = TradeAmount + TradeCharge",
  16768. "type": "number"
  16769. },
  16770. "payflag": {
  16771. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16772. "type": "integer"
  16773. },
  16774. "paylimitedtime": {
  16775. "description": "支付期限",
  16776. "type": "string"
  16777. },
  16778. "paytime": {
  16779. "description": "付款时间",
  16780. "type": "string"
  16781. },
  16782. "picurls1": {
  16783. "description": "预售商品介绍图片[多张用逗号分隔]",
  16784. "type": "string"
  16785. },
  16786. "picurls2": {
  16787. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16788. "type": "string"
  16789. },
  16790. "sellaccountid": {
  16791. "description": "卖方账号ID[报价币种]",
  16792. "type": "integer"
  16793. },
  16794. "sellorderid": {
  16795. "description": "卖方委托单号",
  16796. "type": "string"
  16797. },
  16798. "tradeamount": {
  16799. "description": "成交金额",
  16800. "type": "number"
  16801. },
  16802. "tradecharge": {
  16803. "description": "成交手续费(买方)",
  16804. "type": "number"
  16805. },
  16806. "tradedate": {
  16807. "description": "交易日(yyyyMMdd)",
  16808. "type": "string"
  16809. },
  16810. "tradeid": {
  16811. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16812. "type": "string"
  16813. },
  16814. "trademode": {
  16815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16816. "type": "integer"
  16817. },
  16818. "tradeprice": {
  16819. "description": "成交价格",
  16820. "type": "number"
  16821. },
  16822. "tradeqty": {
  16823. "description": "成交数量",
  16824. "type": "integer"
  16825. },
  16826. "vendorname1": {
  16827. "description": "预售商品供应商名称",
  16828. "type": "string"
  16829. },
  16830. "vendorname2": {
  16831. "description": "挂牌商品供应商名称",
  16832. "type": "string"
  16833. }
  16834. }
  16835. },
  16836. "models.HsbyBuyMyTradeDetail": {
  16837. "type": "object",
  16838. "required": [
  16839. "accountid",
  16840. "buyorsell",
  16841. "goodscode",
  16842. "goodsid",
  16843. "goodsname",
  16844. "marketid",
  16845. "orderid",
  16846. "qty",
  16847. "time",
  16848. "trademode"
  16849. ],
  16850. "properties": {
  16851. "accountid": {
  16852. "description": "账户ID[报价币种]",
  16853. "type": "integer"
  16854. },
  16855. "agreeunit": {
  16856. "description": "合约单位",
  16857. "type": "number"
  16858. },
  16859. "amount": {
  16860. "description": "金额 = 价格 * 数量 * 合约单位",
  16861. "type": "number"
  16862. },
  16863. "buyorsell": {
  16864. "description": "买卖 - 0:买 1:卖",
  16865. "type": "integer"
  16866. },
  16867. "currencysign": {
  16868. "description": "货币符号",
  16869. "type": "string"
  16870. },
  16871. "decimalplace": {
  16872. "description": "报价小数位",
  16873. "type": "integer"
  16874. },
  16875. "goodscode": {
  16876. "description": "商品代码(内部)",
  16877. "type": "string"
  16878. },
  16879. "goodsid": {
  16880. "description": "商品ID",
  16881. "type": "integer"
  16882. },
  16883. "goodsname": {
  16884. "description": "商品名称",
  16885. "type": "string"
  16886. },
  16887. "marketid": {
  16888. "description": "市场ID",
  16889. "type": "integer"
  16890. },
  16891. "orderamount": {
  16892. "description": "委托金额",
  16893. "type": "number"
  16894. },
  16895. "orderid": {
  16896. "description": "单号(成交单号)",
  16897. "type": "string"
  16898. },
  16899. "picurls1": {
  16900. "description": "预售商品介绍图片[多张用逗号分隔]",
  16901. "type": "string"
  16902. },
  16903. "picurls2": {
  16904. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16905. "type": "string"
  16906. },
  16907. "price": {
  16908. "description": "价格",
  16909. "type": "number"
  16910. },
  16911. "qty": {
  16912. "description": "数量",
  16913. "type": "integer"
  16914. },
  16915. "time": {
  16916. "description": "时间",
  16917. "type": "string"
  16918. },
  16919. "trademode": {
  16920. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16921. "type": "integer"
  16922. },
  16923. "vendorname1": {
  16924. "description": "预售商品供应商名称",
  16925. "type": "string"
  16926. },
  16927. "vendorname2": {
  16928. "description": "挂牌商品供应商名称",
  16929. "type": "string"
  16930. }
  16931. }
  16932. },
  16933. "models.HsbyGoodsOrderDetail": {
  16934. "type": "object",
  16935. "required": [
  16936. "buyorsell",
  16937. "orderid",
  16938. "ordertime"
  16939. ],
  16940. "properties": {
  16941. "buyorsell": {
  16942. "description": "买卖 - 0:买 1:卖",
  16943. "type": "integer"
  16944. },
  16945. "currencysign": {
  16946. "description": "货币符号",
  16947. "type": "string"
  16948. },
  16949. "customername": {
  16950. "description": "客户名称(企业名称),已脱敏",
  16951. "type": "string"
  16952. },
  16953. "enableqty": {
  16954. "description": "可用数量",
  16955. "type": "integer"
  16956. },
  16957. "goodunit": {
  16958. "description": "报价单位",
  16959. "type": "string"
  16960. },
  16961. "orderid": {
  16962. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16963. "type": "string"
  16964. },
  16965. "orderprice": {
  16966. "description": "委托价格",
  16967. "type": "number"
  16968. },
  16969. "ordertime": {
  16970. "description": "委托时间",
  16971. "type": "string"
  16972. }
  16973. }
  16974. },
  16975. "models.HsbyListingGoodsDetail": {
  16976. "type": "object",
  16977. "required": [
  16978. "goodscode",
  16979. "goodsid",
  16980. "goodsname",
  16981. "marketid",
  16982. "trademode"
  16983. ],
  16984. "properties": {
  16985. "agreeunit": {
  16986. "description": "合约单位",
  16987. "type": "number"
  16988. },
  16989. "buymaxqty": {
  16990. "description": "购买上限 [71] - 0为不限",
  16991. "type": "integer"
  16992. },
  16993. "currency": {
  16994. "description": "货币",
  16995. "type": "string"
  16996. },
  16997. "currencysign": {
  16998. "description": "货币符号",
  16999. "type": "string"
  17000. },
  17001. "decimalplace": {
  17002. "description": "报价小数位",
  17003. "type": "integer"
  17004. },
  17005. "desccityid": {
  17006. "description": "目的地(市)ID",
  17007. "type": "integer"
  17008. },
  17009. "descprovinceid": {
  17010. "description": "目的地(省)ID",
  17011. "type": "integer"
  17012. },
  17013. "goodscode": {
  17014. "description": "商品代码(内部)",
  17015. "type": "string"
  17016. },
  17017. "goodsdesc": {
  17018. "description": "商品详情",
  17019. "type": "string"
  17020. },
  17021. "goodsid": {
  17022. "description": "商品ID(自增ID SEQ_GOODS)",
  17023. "type": "integer"
  17024. },
  17025. "goodsname": {
  17026. "description": "商品名称",
  17027. "type": "string"
  17028. },
  17029. "goodsprice": {
  17030. "description": "商品价格",
  17031. "type": "number"
  17032. },
  17033. "hotindex": {
  17034. "description": "景点热度",
  17035. "type": "integer"
  17036. },
  17037. "last": {
  17038. "description": "现价",
  17039. "type": "number"
  17040. },
  17041. "limitdown": {
  17042. "description": "跌停价",
  17043. "type": "number"
  17044. },
  17045. "limitup": {
  17046. "description": "涨停价",
  17047. "type": "number"
  17048. },
  17049. "lotsize": {
  17050. "description": "手数最小变动单位",
  17051. "type": "integer"
  17052. },
  17053. "marketid": {
  17054. "description": "所属市场ID",
  17055. "type": "integer"
  17056. },
  17057. "picurls": {
  17058. "description": "介绍图片[多张用逗号分隔]",
  17059. "type": "string"
  17060. },
  17061. "quoteminunit": {
  17062. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17063. "type": "integer"
  17064. },
  17065. "stepvalue": {
  17066. "description": "价格最小变动单位",
  17067. "type": "number"
  17068. },
  17069. "trademode": {
  17070. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17071. "type": "integer"
  17072. },
  17073. "vendorattr": {
  17074. "description": "供应商附件(多张,逗号分隔)",
  17075. "type": "string"
  17076. },
  17077. "vendorname": {
  17078. "description": "供应商名称",
  17079. "type": "string"
  17080. },
  17081. "vendorphone": {
  17082. "description": "供应商客服电话",
  17083. "type": "string"
  17084. },
  17085. "videourls": {
  17086. "description": "介绍视频[多张用逗号分隔]",
  17087. "type": "string"
  17088. }
  17089. }
  17090. },
  17091. "models.HsbyMarketGoods": {
  17092. "type": "object",
  17093. "required": [
  17094. "accountid",
  17095. "buyorsell",
  17096. "goodscode",
  17097. "goodsid",
  17098. "goodsname",
  17099. "marketid",
  17100. "orderid",
  17101. "trademode"
  17102. ],
  17103. "properties": {
  17104. "accountid": {
  17105. "description": "账户ID[报价币种]",
  17106. "type": "integer"
  17107. },
  17108. "agreeunit": {
  17109. "description": "合约单位",
  17110. "type": "number"
  17111. },
  17112. "buyorsell": {
  17113. "description": "买卖 - 0:买 1:卖",
  17114. "type": "integer"
  17115. },
  17116. "categoryid": {
  17117. "description": "类别ID(WRCATEGORY)",
  17118. "type": "integer"
  17119. },
  17120. "currency": {
  17121. "description": "货币",
  17122. "type": "string"
  17123. },
  17124. "currencysign": {
  17125. "description": "货币符号",
  17126. "type": "string"
  17127. },
  17128. "customername": {
  17129. "description": "卖家名称",
  17130. "type": "string"
  17131. },
  17132. "decimalplace": {
  17133. "description": "报价小数位",
  17134. "type": "integer"
  17135. },
  17136. "goodscode": {
  17137. "description": "商品代码(内部)",
  17138. "type": "string"
  17139. },
  17140. "goodsid": {
  17141. "description": "商品ID",
  17142. "type": "integer"
  17143. },
  17144. "goodsname": {
  17145. "description": "商品名称",
  17146. "type": "string"
  17147. },
  17148. "goodsprice": {
  17149. "description": "商品价格",
  17150. "type": "number"
  17151. },
  17152. "hascoupon": {
  17153. "description": "是否可用优惠卷",
  17154. "type": "boolean"
  17155. },
  17156. "hotindex": {
  17157. "description": "景点热度",
  17158. "type": "integer"
  17159. },
  17160. "marketid": {
  17161. "description": "市场ID",
  17162. "type": "integer"
  17163. },
  17164. "orderid": {
  17165. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17166. "type": "string"
  17167. },
  17168. "orderprice": {
  17169. "description": "委托价格",
  17170. "type": "number"
  17171. },
  17172. "orderstatus": {
  17173. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17174. "type": "integer"
  17175. },
  17176. "picurls": {
  17177. "description": "介绍图片[多张用逗号分隔]",
  17178. "type": "string"
  17179. },
  17180. "quoteminunit": {
  17181. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17182. "type": "integer"
  17183. },
  17184. "sellUserID": {
  17185. "description": "卖方UserID",
  17186. "type": "integer"
  17187. },
  17188. "trademode": {
  17189. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17190. "type": "integer"
  17191. },
  17192. "videourls": {
  17193. "description": "介绍视频[多张用逗号分隔]",
  17194. "type": "string"
  17195. }
  17196. }
  17197. },
  17198. "models.HsbyMarketGoodsDetail": {
  17199. "type": "object",
  17200. "required": [
  17201. "accountid",
  17202. "buyorsell",
  17203. "goodscode",
  17204. "goodsid",
  17205. "goodsname",
  17206. "marketid",
  17207. "orderid",
  17208. "orderqty",
  17209. "trademode"
  17210. ],
  17211. "properties": {
  17212. "accountid": {
  17213. "description": "账户ID[报价币种]",
  17214. "type": "integer"
  17215. },
  17216. "agreeunit": {
  17217. "description": "合约单位",
  17218. "type": "number"
  17219. },
  17220. "buymaxqty": {
  17221. "description": "购买上限 [71] - 0为不限",
  17222. "type": "integer"
  17223. },
  17224. "buyorsell": {
  17225. "description": "买卖 - 0:买 1:卖",
  17226. "type": "integer"
  17227. },
  17228. "cancelqty": {
  17229. "description": "撤单数量",
  17230. "type": "integer"
  17231. },
  17232. "categoryid": {
  17233. "description": "类别ID(WRCATEGORY)",
  17234. "type": "integer"
  17235. },
  17236. "currency": {
  17237. "description": "货币",
  17238. "type": "string"
  17239. },
  17240. "currencysign": {
  17241. "description": "货币符号",
  17242. "type": "string"
  17243. },
  17244. "customername": {
  17245. "description": "卖家名称",
  17246. "type": "string"
  17247. },
  17248. "decimalplace": {
  17249. "description": "报价小数位",
  17250. "type": "integer"
  17251. },
  17252. "goodscode": {
  17253. "description": "商品代码(内部)",
  17254. "type": "string"
  17255. },
  17256. "goodsdesc": {
  17257. "description": "商品详情",
  17258. "type": "string"
  17259. },
  17260. "goodsid": {
  17261. "description": "商品ID",
  17262. "type": "integer"
  17263. },
  17264. "goodsname": {
  17265. "description": "商品名称",
  17266. "type": "string"
  17267. },
  17268. "goodsprice": {
  17269. "description": "商品价格",
  17270. "type": "number"
  17271. },
  17272. "hotindex": {
  17273. "description": "景点热度",
  17274. "type": "integer"
  17275. },
  17276. "lotsize": {
  17277. "description": "手数最小变动单位",
  17278. "type": "integer"
  17279. },
  17280. "marketid": {
  17281. "description": "市场ID",
  17282. "type": "integer"
  17283. },
  17284. "orderid": {
  17285. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17286. "type": "string"
  17287. },
  17288. "orderprice": {
  17289. "description": "委托价格",
  17290. "type": "number"
  17291. },
  17292. "orderqty": {
  17293. "description": "委托数量",
  17294. "type": "integer"
  17295. },
  17296. "orderstatus": {
  17297. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17298. "type": "integer"
  17299. },
  17300. "picurls": {
  17301. "description": "介绍图片[多张用逗号分隔]",
  17302. "type": "string"
  17303. },
  17304. "quoteminunit": {
  17305. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17306. "type": "integer"
  17307. },
  17308. "sellUserID": {
  17309. "description": "卖方UserID",
  17310. "type": "integer"
  17311. },
  17312. "trademode": {
  17313. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17314. "type": "integer"
  17315. },
  17316. "tradeqty": {
  17317. "description": "成交数量",
  17318. "type": "integer"
  17319. },
  17320. "vendorattr": {
  17321. "description": "供应商附件(多张,逗号分隔)",
  17322. "type": "string"
  17323. },
  17324. "vendorname": {
  17325. "description": "供应商名称",
  17326. "type": "string"
  17327. },
  17328. "vendorphone": {
  17329. "description": "供应商客服电话",
  17330. "type": "string"
  17331. },
  17332. "videourls": {
  17333. "description": "介绍视频[多张用逗号分隔]",
  17334. "type": "string"
  17335. }
  17336. }
  17337. },
  17338. "models.HsbyMarketInfo": {
  17339. "type": "object",
  17340. "required": [
  17341. "marketid",
  17342. "marketstatus",
  17343. "trademode"
  17344. ],
  17345. "properties": {
  17346. "marketid": {
  17347. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17348. "type": "integer"
  17349. },
  17350. "marketname": {
  17351. "description": "市场名称",
  17352. "type": "string"
  17353. },
  17354. "marketstatus": {
  17355. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17356. "type": "integer"
  17357. },
  17358. "trademode": {
  17359. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17360. "type": "integer"
  17361. }
  17362. }
  17363. },
  17364. "models.HsbyMyGoods": {
  17365. "type": "object",
  17366. "required": [
  17367. "accountid",
  17368. "goodscode",
  17369. "goodsid",
  17370. "goodsname",
  17371. "marketid",
  17372. "trademode"
  17373. ],
  17374. "properties": {
  17375. "accountid": {
  17376. "description": "账号Id",
  17377. "type": "integer"
  17378. },
  17379. "agreeunit": {
  17380. "description": "合约单位",
  17381. "type": "number"
  17382. },
  17383. "buyaverageprice": {
  17384. "description": "持仓均价",
  17385. "type": "number"
  17386. },
  17387. "buycurholderamount": {
  17388. "description": "买当前持仓总金额[商品币种]",
  17389. "type": "number"
  17390. },
  17391. "buycurpositionqty": {
  17392. "description": "买当前持仓总数量",
  17393. "type": "integer"
  17394. },
  17395. "buymaxqty": {
  17396. "description": "购买上限 [71] - 0为不限",
  17397. "type": "integer"
  17398. },
  17399. "currencysign": {
  17400. "description": "货币符号",
  17401. "type": "string"
  17402. },
  17403. "decimalplace": {
  17404. "description": "报价小数位",
  17405. "type": "integer"
  17406. },
  17407. "enableqty": {
  17408. "description": "可用数量",
  17409. "type": "integer"
  17410. },
  17411. "goodscode": {
  17412. "description": "商品代码(内部)",
  17413. "type": "string"
  17414. },
  17415. "goodsid": {
  17416. "description": "商品Id",
  17417. "type": "integer"
  17418. },
  17419. "goodsname": {
  17420. "description": "商品名称",
  17421. "type": "string"
  17422. },
  17423. "goodsprice": {
  17424. "description": "商品价格",
  17425. "type": "number"
  17426. },
  17427. "goodsstatus": {
  17428. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17429. "type": "integer"
  17430. },
  17431. "last": {
  17432. "description": "现价(仅使用于挂牌点选)",
  17433. "type": "number"
  17434. },
  17435. "limitdown": {
  17436. "description": "跌停价(仅使用于挂牌点选)",
  17437. "type": "number"
  17438. },
  17439. "limitup": {
  17440. "description": "涨停价(仅使用于挂牌点选)",
  17441. "type": "number"
  17442. },
  17443. "lotsize": {
  17444. "description": "手数最小变动单位",
  17445. "type": "integer"
  17446. },
  17447. "marketid": {
  17448. "description": "所属市场ID",
  17449. "type": "integer"
  17450. },
  17451. "picurls": {
  17452. "description": "介绍图片[多张用逗号分隔]",
  17453. "type": "string"
  17454. },
  17455. "quoteminunit": {
  17456. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17457. "type": "integer"
  17458. },
  17459. "stepvalue": {
  17460. "description": "价格最小变动单位",
  17461. "type": "number"
  17462. },
  17463. "trademode": {
  17464. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17465. "type": "integer"
  17466. }
  17467. }
  17468. },
  17469. "models.HsbyMyPackage": {
  17470. "type": "object",
  17471. "required": [
  17472. "goodscode",
  17473. "goodsname",
  17474. "takeorderid",
  17475. "trademode"
  17476. ],
  17477. "properties": {
  17478. "accountid": {
  17479. "description": "账户ID",
  17480. "type": "integer"
  17481. },
  17482. "address": {
  17483. "description": "提货人详细地址",
  17484. "type": "string"
  17485. },
  17486. "agreeunit": {
  17487. "description": "合约单位",
  17488. "type": "number"
  17489. },
  17490. "amount": {
  17491. "description": "提货金额",
  17492. "type": "number"
  17493. },
  17494. "auditer": {
  17495. "description": "审核人",
  17496. "type": "integer"
  17497. },
  17498. "audittime": {
  17499. "description": "审核时间",
  17500. "type": "string"
  17501. },
  17502. "averageprice": {
  17503. "description": "均价",
  17504. "type": "number"
  17505. },
  17506. "cardnum": {
  17507. "description": "提货人证件号码",
  17508. "type": "string"
  17509. },
  17510. "cardtypeid": {
  17511. "description": "提货人证件类型",
  17512. "type": "integer"
  17513. },
  17514. "checkremark": {
  17515. "description": "审核备注",
  17516. "type": "string"
  17517. },
  17518. "currencysign": {
  17519. "description": "货币符号",
  17520. "type": "string"
  17521. },
  17522. "decimalplace": {
  17523. "description": "报价小数位",
  17524. "type": "integer"
  17525. },
  17526. "goodscode": {
  17527. "description": "商品代码(内部)",
  17528. "type": "string"
  17529. },
  17530. "goodsid": {
  17531. "description": "商品ID",
  17532. "type": "integer"
  17533. },
  17534. "goodsname": {
  17535. "description": "商品名称",
  17536. "type": "string"
  17537. },
  17538. "handlestatus": {
  17539. "description": "处理状态",
  17540. "type": "integer"
  17541. },
  17542. "marketid": {
  17543. "description": "市场ID",
  17544. "type": "integer"
  17545. },
  17546. "phonenum": {
  17547. "description": "提货人联系方式",
  17548. "type": "string"
  17549. },
  17550. "picurls": {
  17551. "description": "介绍图片[多张用逗号分隔]",
  17552. "type": "string"
  17553. },
  17554. "qty": {
  17555. "description": "提货数量",
  17556. "type": "number"
  17557. },
  17558. "recivername": {
  17559. "description": "提货人姓名",
  17560. "type": "string"
  17561. },
  17562. "reqtime": {
  17563. "description": "更新时间",
  17564. "type": "string"
  17565. },
  17566. "takemode": {
  17567. "description": "提货方式 - 2:自提 3:配送",
  17568. "type": "integer"
  17569. },
  17570. "takeorderid": {
  17571. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17572. "type": "string"
  17573. },
  17574. "takeorderstatus": {
  17575. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17576. "type": "integer"
  17577. },
  17578. "takeremark": {
  17579. "description": "提货备注",
  17580. "type": "string"
  17581. },
  17582. "tradedate": {
  17583. "description": "交易日(yyyyMMdd)",
  17584. "type": "string"
  17585. },
  17586. "trademode": {
  17587. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17588. "type": "integer"
  17589. },
  17590. "userid": {
  17591. "description": "用户ID",
  17592. "type": "integer"
  17593. },
  17594. "vendorname": {
  17595. "description": "供应商名称",
  17596. "type": "string"
  17597. }
  17598. }
  17599. },
  17600. "models.HsbyPreGoods": {
  17601. "type": "object",
  17602. "required": [
  17603. "goodscode",
  17604. "goodsid",
  17605. "goodsname",
  17606. "marketid",
  17607. "trademode"
  17608. ],
  17609. "properties": {
  17610. "agreeunit": {
  17611. "description": "合约单位",
  17612. "type": "number"
  17613. },
  17614. "currency": {
  17615. "description": "货币",
  17616. "type": "string"
  17617. },
  17618. "currencysign": {
  17619. "description": "货币符号",
  17620. "type": "string"
  17621. },
  17622. "decimalplace": {
  17623. "description": "报价小数位",
  17624. "type": "integer"
  17625. },
  17626. "desccityid": {
  17627. "description": "目的地(市)",
  17628. "type": "integer"
  17629. },
  17630. "descprovinceid": {
  17631. "description": "目的地(省)",
  17632. "type": "integer"
  17633. },
  17634. "enableqty": {
  17635. "description": "剩余数量",
  17636. "type": "integer"
  17637. },
  17638. "goodscode": {
  17639. "description": "商品代码(内部)",
  17640. "type": "string"
  17641. },
  17642. "goodsid": {
  17643. "description": "商品ID(自增ID SEQ_GOODS)",
  17644. "type": "integer"
  17645. },
  17646. "goodsname": {
  17647. "description": "商品名称",
  17648. "type": "string"
  17649. },
  17650. "goodsstatus": {
  17651. "description": "商品状态- 2:未上市 3:上市",
  17652. "type": "integer"
  17653. },
  17654. "lasttradedate": {
  17655. "description": "最后交易日期(状态:待退市)",
  17656. "type": "string"
  17657. },
  17658. "listingdate": {
  17659. "description": "交易开始日期",
  17660. "type": "string"
  17661. },
  17662. "marketid": {
  17663. "description": "所属市场ID",
  17664. "type": "integer"
  17665. },
  17666. "picurls": {
  17667. "description": "介绍图片[多张用逗号分隔]",
  17668. "type": "string"
  17669. },
  17670. "presaledqty": {
  17671. "description": "已预售量(预售结束时更新)",
  17672. "type": "integer"
  17673. },
  17674. "presaleqty": {
  17675. "description": "预售数量",
  17676. "type": "integer"
  17677. },
  17678. "quoteminunit": {
  17679. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17680. "type": "integer"
  17681. },
  17682. "refprice": {
  17683. "description": "参考价格[一口价]",
  17684. "type": "number"
  17685. },
  17686. "relatedgoodsid": {
  17687. "description": "关联交易合约ID",
  17688. "type": "integer"
  17689. },
  17690. "trademode": {
  17691. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17692. "type": "integer"
  17693. },
  17694. "videourls": {
  17695. "description": "介绍视频[多张用逗号分隔]",
  17696. "type": "string"
  17697. }
  17698. }
  17699. },
  17700. "models.HsbyPreGoodsDetail": {
  17701. "type": "object",
  17702. "required": [
  17703. "goodscode",
  17704. "goodsid",
  17705. "goodsname",
  17706. "marketid",
  17707. "trademode"
  17708. ],
  17709. "properties": {
  17710. "agreeunit": {
  17711. "description": "合约单位",
  17712. "type": "number"
  17713. },
  17714. "buymaxqty": {
  17715. "description": "购买上限 [71] - 0为不限",
  17716. "type": "integer"
  17717. },
  17718. "currency": {
  17719. "description": "货币",
  17720. "type": "string"
  17721. },
  17722. "currencysign": {
  17723. "description": "货币符号",
  17724. "type": "string"
  17725. },
  17726. "customername": {
  17727. "description": "发行单位",
  17728. "type": "string"
  17729. },
  17730. "decimalplace": {
  17731. "description": "报价小数位",
  17732. "type": "integer"
  17733. },
  17734. "desccityid": {
  17735. "description": "目的地(市)ID",
  17736. "type": "integer"
  17737. },
  17738. "descprovinceid": {
  17739. "description": "目的地(省)ID",
  17740. "type": "integer"
  17741. },
  17742. "enableqty": {
  17743. "description": "剩余数量",
  17744. "type": "integer"
  17745. },
  17746. "goodscode": {
  17747. "description": "商品代码(内部)",
  17748. "type": "string"
  17749. },
  17750. "goodsdesc": {
  17751. "description": "商品详情",
  17752. "type": "string"
  17753. },
  17754. "goodsid": {
  17755. "description": "商品ID(自增ID SEQ_GOODS)",
  17756. "type": "integer"
  17757. },
  17758. "goodsname": {
  17759. "description": "商品名称",
  17760. "type": "string"
  17761. },
  17762. "goodsstatus": {
  17763. "description": "商品状态- 2:未上市 3:上市",
  17764. "type": "integer"
  17765. },
  17766. "goodunit": {
  17767. "description": "报价单位",
  17768. "type": "string"
  17769. },
  17770. "lasttradedate": {
  17771. "description": "最后交易日期(状态:待退市)",
  17772. "type": "string"
  17773. },
  17774. "listingdate": {
  17775. "description": "交易开始日期",
  17776. "type": "string"
  17777. },
  17778. "lotsize": {
  17779. "description": "手数最小变动单位",
  17780. "type": "integer"
  17781. },
  17782. "marketid": {
  17783. "description": "所属市场ID",
  17784. "type": "integer"
  17785. },
  17786. "picurls": {
  17787. "description": "介绍图片[多张用逗号分隔]",
  17788. "type": "string"
  17789. },
  17790. "presaledqty": {
  17791. "description": "已预售量(预售结束时更新)",
  17792. "type": "integer"
  17793. },
  17794. "presaleqty": {
  17795. "description": "预售数量",
  17796. "type": "integer"
  17797. },
  17798. "quoteminunit": {
  17799. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17800. "type": "integer"
  17801. },
  17802. "refprice": {
  17803. "description": "参考价格[一口价]",
  17804. "type": "number"
  17805. },
  17806. "relatedgoodsid": {
  17807. "description": "关联交易合约ID",
  17808. "type": "integer"
  17809. },
  17810. "stepvalue": {
  17811. "description": "价格最小变动单位",
  17812. "type": "number"
  17813. },
  17814. "trademode": {
  17815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17816. "type": "integer"
  17817. },
  17818. "vendorattr": {
  17819. "description": "供应商附件(多张,逗号分隔)",
  17820. "type": "string"
  17821. },
  17822. "vendorname": {
  17823. "description": "供应商名称",
  17824. "type": "string"
  17825. },
  17826. "vendorphone": {
  17827. "description": "供应商客服电话",
  17828. "type": "string"
  17829. },
  17830. "videourls": {
  17831. "description": "介绍视频[多张用逗号分隔]",
  17832. "type": "string"
  17833. }
  17834. }
  17835. },
  17836. "models.HsbySellCollectionOrder": {
  17837. "type": "object",
  17838. "required": [
  17839. "goodscode",
  17840. "goodsname",
  17841. "tradeid",
  17842. "trademode"
  17843. ],
  17844. "properties": {
  17845. "agreeunit": {
  17846. "description": "合约单位",
  17847. "type": "number"
  17848. },
  17849. "buyaccountid": {
  17850. "description": "买方账号ID[报价币种]",
  17851. "type": "integer"
  17852. },
  17853. "buyorderid": {
  17854. "description": "买方委托单号",
  17855. "type": "string"
  17856. },
  17857. "createtime": {
  17858. "description": "创建时间",
  17859. "type": "string"
  17860. },
  17861. "currencysign": {
  17862. "description": "货币符号",
  17863. "type": "string"
  17864. },
  17865. "decimalplace": {
  17866. "description": "报价小数位",
  17867. "type": "integer"
  17868. },
  17869. "goodscode": {
  17870. "description": "商品代码(内部)",
  17871. "type": "string"
  17872. },
  17873. "goodsid": {
  17874. "description": "商品ID",
  17875. "type": "integer"
  17876. },
  17877. "goodsname": {
  17878. "description": "商品名称",
  17879. "type": "string"
  17880. },
  17881. "marketid": {
  17882. "description": "市场ID",
  17883. "type": "integer"
  17884. },
  17885. "offamount": {
  17886. "description": "优惠金额",
  17887. "type": "number"
  17888. },
  17889. "payamount": {
  17890. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  17891. "type": "number"
  17892. },
  17893. "payflag": {
  17894. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17895. "type": "integer"
  17896. },
  17897. "paylimitedtime": {
  17898. "description": "支付期限",
  17899. "type": "string"
  17900. },
  17901. "paytime": {
  17902. "description": "付款时间",
  17903. "type": "string"
  17904. },
  17905. "picurls": {
  17906. "description": "商品介绍图片[多张用逗号分隔]",
  17907. "type": "string"
  17908. },
  17909. "sellaccountid": {
  17910. "description": "卖方账号ID[报价币种]",
  17911. "type": "integer"
  17912. },
  17913. "sellorderid": {
  17914. "description": "卖方委托单号",
  17915. "type": "string"
  17916. },
  17917. "tradeamount": {
  17918. "description": "成交金额",
  17919. "type": "number"
  17920. },
  17921. "tradecharge": {
  17922. "description": "成交手续费(买方)",
  17923. "type": "number"
  17924. },
  17925. "tradedate": {
  17926. "description": "交易日(yyyyMMdd)",
  17927. "type": "string"
  17928. },
  17929. "tradeid": {
  17930. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17931. "type": "string"
  17932. },
  17933. "trademode": {
  17934. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17935. "type": "integer"
  17936. },
  17937. "tradeprice": {
  17938. "description": "成交价格",
  17939. "type": "number"
  17940. },
  17941. "tradeqty": {
  17942. "description": "成交数量",
  17943. "type": "integer"
  17944. }
  17945. }
  17946. },
  17947. "models.HsbySellMyDetail": {
  17948. "type": "object",
  17949. "required": [
  17950. "accountid",
  17951. "buyorsell",
  17952. "goodscode",
  17953. "goodsid",
  17954. "goodsname",
  17955. "marketid",
  17956. "orderid",
  17957. "time",
  17958. "trademode"
  17959. ],
  17960. "properties": {
  17961. "accountid": {
  17962. "description": "账户ID[报价币种]",
  17963. "type": "integer"
  17964. },
  17965. "agreeunit": {
  17966. "description": "合约单位",
  17967. "type": "number"
  17968. },
  17969. "buyorsell": {
  17970. "description": "买卖 - 0:买 1:卖",
  17971. "type": "integer"
  17972. },
  17973. "currencysign": {
  17974. "description": "货币符号",
  17975. "type": "string"
  17976. },
  17977. "decimalplace": {
  17978. "description": "报价小数位",
  17979. "type": "integer"
  17980. },
  17981. "goodscode": {
  17982. "description": "商品代码(内部)",
  17983. "type": "string"
  17984. },
  17985. "goodsid": {
  17986. "description": "商品ID",
  17987. "type": "integer"
  17988. },
  17989. "goodsname": {
  17990. "description": "商品名称",
  17991. "type": "string"
  17992. },
  17993. "marketid": {
  17994. "description": "市场ID",
  17995. "type": "integer"
  17996. },
  17997. "orderid": {
  17998. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  17999. "type": "string"
  18000. },
  18001. "ordertype": {
  18002. "description": "单据类型:0 - 发布中, 1 - 已完成",
  18003. "type": "integer"
  18004. },
  18005. "picurls": {
  18006. "description": "介绍图片[多张用逗号分隔]",
  18007. "type": "string"
  18008. },
  18009. "price": {
  18010. "description": "价格",
  18011. "type": "number"
  18012. },
  18013. "qty": {
  18014. "description": "数量",
  18015. "type": "integer"
  18016. },
  18017. "time": {
  18018. "description": "时间",
  18019. "type": "string"
  18020. },
  18021. "trademode": {
  18022. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18023. "type": "integer"
  18024. },
  18025. "vendorname": {
  18026. "description": "供应商名称",
  18027. "type": "string"
  18028. }
  18029. }
  18030. },
  18031. "models.HsbyTopGoods": {
  18032. "type": "object",
  18033. "required": [
  18034. "goodscode",
  18035. "goodsid",
  18036. "goodsname",
  18037. "marketid",
  18038. "trademode"
  18039. ],
  18040. "properties": {
  18041. "agreeunit": {
  18042. "description": "合约单位",
  18043. "type": "number"
  18044. },
  18045. "currency": {
  18046. "description": "货币",
  18047. "type": "string"
  18048. },
  18049. "currencysign": {
  18050. "description": "货币符号",
  18051. "type": "string"
  18052. },
  18053. "decimalplace": {
  18054. "description": "报价小数位",
  18055. "type": "integer"
  18056. },
  18057. "desccityid": {
  18058. "description": "目的地(市)",
  18059. "type": "integer"
  18060. },
  18061. "descprovinceid": {
  18062. "description": "目的地(省)",
  18063. "type": "integer"
  18064. },
  18065. "goodscode": {
  18066. "description": "商品代码(内部)",
  18067. "type": "string"
  18068. },
  18069. "goodsid": {
  18070. "description": "商品ID(自增ID SEQ_GOODS)",
  18071. "type": "integer"
  18072. },
  18073. "goodsname": {
  18074. "description": "商品名称",
  18075. "type": "string"
  18076. },
  18077. "hotindex": {
  18078. "description": "景点热度",
  18079. "type": "integer"
  18080. },
  18081. "last": {
  18082. "description": "现价",
  18083. "type": "number"
  18084. },
  18085. "marketid": {
  18086. "description": "所属市场ID",
  18087. "type": "integer"
  18088. },
  18089. "picurls": {
  18090. "description": "介绍图片[多张用逗号分隔]",
  18091. "type": "string"
  18092. },
  18093. "quoteminunit": {
  18094. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18095. "type": "integer"
  18096. },
  18097. "trademode": {
  18098. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18099. "type": "integer"
  18100. },
  18101. "videourls": {
  18102. "description": "介绍视频[多张用逗号分隔]",
  18103. "type": "string"
  18104. }
  18105. }
  18106. },
  18107. "models.HybsMyBuyOrderDetail": {
  18108. "type": "object",
  18109. "required": [
  18110. "accountid",
  18111. "buyorsell",
  18112. "goodscode",
  18113. "goodsid",
  18114. "goodsname",
  18115. "marketid",
  18116. "orderid",
  18117. "orderqty",
  18118. "ordertime",
  18119. "trademode"
  18120. ],
  18121. "properties": {
  18122. "accountid": {
  18123. "description": "账户ID[报价币种]",
  18124. "type": "integer"
  18125. },
  18126. "agreeunit": {
  18127. "description": "合约单位",
  18128. "type": "number"
  18129. },
  18130. "buyorsell": {
  18131. "description": "买卖 - 0:买 1:卖",
  18132. "type": "integer"
  18133. },
  18134. "cancelqty": {
  18135. "description": "撤单数量",
  18136. "type": "integer"
  18137. },
  18138. "currencysign": {
  18139. "description": "货币符号",
  18140. "type": "string"
  18141. },
  18142. "decimalplace": {
  18143. "description": "报价小数位",
  18144. "type": "integer"
  18145. },
  18146. "goodscode": {
  18147. "description": "商品代码(内部)",
  18148. "type": "string"
  18149. },
  18150. "goodsid": {
  18151. "description": "商品ID",
  18152. "type": "integer"
  18153. },
  18154. "goodsname": {
  18155. "description": "商品名称",
  18156. "type": "string"
  18157. },
  18158. "listingselecttype": {
  18159. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18160. "type": "integer"
  18161. },
  18162. "marketid": {
  18163. "description": "市场ID",
  18164. "type": "integer"
  18165. },
  18166. "mybuystatus": {
  18167. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  18168. "type": "integer"
  18169. },
  18170. "orderamount": {
  18171. "description": "委托金额",
  18172. "type": "number"
  18173. },
  18174. "orderid": {
  18175. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18176. "type": "string"
  18177. },
  18178. "orderprice": {
  18179. "description": "委托价格",
  18180. "type": "number"
  18181. },
  18182. "orderqty": {
  18183. "description": "委托数量",
  18184. "type": "integer"
  18185. },
  18186. "orderstatus": {
  18187. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18188. "type": "integer"
  18189. },
  18190. "ordertime": {
  18191. "description": "委托时间",
  18192. "type": "string"
  18193. },
  18194. "picurls1": {
  18195. "description": "预售商品介绍图片[多张用逗号分隔]",
  18196. "type": "string"
  18197. },
  18198. "picurls2": {
  18199. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18200. "type": "string"
  18201. },
  18202. "trademode": {
  18203. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18204. "type": "integer"
  18205. },
  18206. "tradeqty": {
  18207. "description": "成交数量",
  18208. "type": "integer"
  18209. },
  18210. "vendorname1": {
  18211. "description": "预售商品供应商名称",
  18212. "type": "string"
  18213. },
  18214. "vendorname2": {
  18215. "description": "挂牌商品供应商名称",
  18216. "type": "string"
  18217. }
  18218. }
  18219. },
  18220. "models.Loginaccount": {
  18221. "type": "object",
  18222. "required": [
  18223. "loginid"
  18224. ],
  18225. "properties": {
  18226. "canoutin": {
  18227. "description": "是否可出入金 - 0:不可 1:可",
  18228. "type": "integer"
  18229. },
  18230. "clientroleid": {
  18231. "description": "终端角色ID",
  18232. "type": "integer"
  18233. },
  18234. "haslogined": {
  18235. "description": "是否已登录 - 0:未登录 1:已登录",
  18236. "type": "integer"
  18237. },
  18238. "hasupdatedpwd": {
  18239. "description": "是否已更改密码 - 0:未修改 1:已修改",
  18240. "type": "integer"
  18241. },
  18242. "lastloginip": {
  18243. "description": "最新登录地址",
  18244. "type": "string"
  18245. },
  18246. "lastloginmode": {
  18247. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18248. "type": "integer"
  18249. },
  18250. "lastloginremark": {
  18251. "description": "最新登录描述",
  18252. "type": "string"
  18253. },
  18254. "lastlogintime": {
  18255. "description": "最新登录时间",
  18256. "type": "string"
  18257. },
  18258. "logincode": {
  18259. "description": "登录代码",
  18260. "type": "string"
  18261. },
  18262. "loginfailnum": {
  18263. "description": "连续登录失败次数(登录成功时清零)",
  18264. "type": "integer"
  18265. },
  18266. "loginid": {
  18267. "description": "登陆账号",
  18268. "type": "integer"
  18269. },
  18270. "loginport": {
  18271. "description": "最新登录端口",
  18272. "type": "integer"
  18273. },
  18274. "loginstatus": {
  18275. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  18276. "type": "integer"
  18277. },
  18278. "loginusertype": {
  18279. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  18280. "type": "integer"
  18281. },
  18282. "modifierid": {
  18283. "description": "修改人",
  18284. "type": "integer"
  18285. },
  18286. "modifytime": {
  18287. "description": "修改时间",
  18288. "type": "string"
  18289. },
  18290. "pwdwrongcount": {
  18291. "description": "密码错误次数",
  18292. "type": "integer"
  18293. },
  18294. "taaccountrighttype": {
  18295. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  18296. "type": "integer"
  18297. },
  18298. "unfreezetime": {
  18299. "description": "账户解冻时间",
  18300. "type": "string"
  18301. },
  18302. "userid": {
  18303. "description": "用户ID",
  18304. "type": "integer"
  18305. }
  18306. }
  18307. },
  18308. "models.MainAccountInfo": {
  18309. "type": "object",
  18310. "properties": {
  18311. "accountid": {
  18312. "description": "账号id",
  18313. "type": "integer"
  18314. },
  18315. "accountname": {
  18316. "description": "账号名称(taaccount表中的名称)",
  18317. "type": "string"
  18318. },
  18319. "appid": {
  18320. "description": "AppID",
  18321. "type": "string"
  18322. },
  18323. "authcode": {
  18324. "description": "授权码",
  18325. "type": "string"
  18326. },
  18327. "brokerid": {
  18328. "description": "经纪商id",
  18329. "type": "string"
  18330. },
  18331. "fcid": {
  18332. "description": "期货公司id",
  18333. "type": "integer"
  18334. },
  18335. "fcname": {
  18336. "description": "期货公司代码",
  18337. "type": "string"
  18338. },
  18339. "hedgeaccountcode": {
  18340. "description": "外部账号代码(主账号登录代码)",
  18341. "type": "string"
  18342. },
  18343. "hedgeaccountpwd": {
  18344. "description": "密码",
  18345. "type": "string"
  18346. },
  18347. "ismain": {
  18348. "description": "是否主账号",
  18349. "type": "integer"
  18350. },
  18351. "relateduserid": {
  18352. "description": "关联用户id",
  18353. "type": "integer"
  18354. },
  18355. "userid": {
  18356. "description": "关联用户id",
  18357. "type": "integer"
  18358. }
  18359. }
  18360. },
  18361. "models.Market": {
  18362. "type": "object",
  18363. "required": [
  18364. "marketid",
  18365. "marketstatus",
  18366. "openmethod",
  18367. "reckonpricealgorithm",
  18368. "trademode",
  18369. "tradeproperty"
  18370. ],
  18371. "properties": {
  18372. "auctionwrtype": {
  18373. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  18374. "type": "integer"
  18375. },
  18376. "canacceptquote": {
  18377. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  18378. "type": "integer"
  18379. },
  18380. "cangoodsexercise": {
  18381. "description": "[期权]是否可现货行权- 0:否 1:是",
  18382. "type": "integer"
  18383. },
  18384. "cangoodsexercisetype": {
  18385. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  18386. "type": "integer"
  18387. },
  18388. "canmanualquotestrike": {
  18389. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  18390. "type": "integer"
  18391. },
  18392. "canmutistage": {
  18393. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  18394. "type": "integer"
  18395. },
  18396. "canpreexercise": {
  18397. "description": "[期权]是否可预申报- 0:否 1:是",
  18398. "type": "integer"
  18399. },
  18400. "clearinterval": {
  18401. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  18402. "type": "integer"
  18403. },
  18404. "contracttmp": {
  18405. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  18406. "type": "string"
  18407. },
  18408. "exchareaid": {
  18409. "description": "所属交易所,可以没有",
  18410. "type": "integer"
  18411. },
  18412. "goodstype": {
  18413. "description": "商品类型 - 1:交易商品 2:仓单商品",
  18414. "type": "integer"
  18415. },
  18416. "hasrebate": {
  18417. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  18418. "type": "integer"
  18419. },
  18420. "hastradecredit": {
  18421. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  18422. "type": "integer"
  18423. },
  18424. "haswr": {
  18425. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  18426. "type": "integer"
  18427. },
  18428. "isdeductmargin": {
  18429. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  18430. "type": "integer"
  18431. },
  18432. "isrecordsource": {
  18433. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  18434. "type": "integer"
  18435. },
  18436. "isreleasemargin": {
  18437. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  18438. "type": "integer"
  18439. },
  18440. "marginformula": {
  18441. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  18442. "type": "integer"
  18443. },
  18444. "marginformula2": {
  18445. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  18446. "type": "integer"
  18447. },
  18448. "marketid": {
  18449. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18450. "type": "integer"
  18451. },
  18452. "marketname": {
  18453. "description": "市场名称",
  18454. "type": "string"
  18455. },
  18456. "marketserviceid": {
  18457. "description": "市场服务ID",
  18458. "type": "integer"
  18459. },
  18460. "marketstatus": {
  18461. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18462. "type": "integer"
  18463. },
  18464. "markettype": {
  18465. "description": "市场类型- 1:非交易服务 2:交易服务",
  18466. "type": "integer"
  18467. },
  18468. "matchermode": {
  18469. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  18470. "type": "integer"
  18471. },
  18472. "openmethod": {
  18473. "description": "开盘模式 - 0 自动 1手动",
  18474. "type": "integer"
  18475. },
  18476. "otcuserid": {
  18477. "description": "场外期权做市商[场外期权]",
  18478. "type": "integer"
  18479. },
  18480. "outersynctime": {
  18481. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  18482. "type": "string"
  18483. },
  18484. "pendingflag": {
  18485. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  18486. "type": "integer"
  18487. },
  18488. "pendingtime": {
  18489. "description": "待开市时间[通道交易-对冲](HH:mm)",
  18490. "type": "string"
  18491. },
  18492. "performancetempid": {
  18493. "description": "履约计划模板ID - 作废",
  18494. "type": "integer"
  18495. },
  18496. "premiumquotemode": {
  18497. "description": "权利金报价方式 - 1:自动 2:手动",
  18498. "type": "integer"
  18499. },
  18500. "rebateratio": {
  18501. "description": "返利比率[竞价式]",
  18502. "type": "number"
  18503. },
  18504. "reckonorder": {
  18505. "description": "结算顺序",
  18506. "type": "integer"
  18507. },
  18508. "reckonpricealgorithm": {
  18509. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  18510. "type": "integer"
  18511. },
  18512. "reckonpriceparam": {
  18513. "description": "结算价参数",
  18514. "type": "integer"
  18515. },
  18516. "reckontime": {
  18517. "description": "结算时间[通道交易-对冲](HH:mm)",
  18518. "type": "string"
  18519. },
  18520. "roleprioritytype": {
  18521. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  18522. "type": "integer"
  18523. },
  18524. "selllistingauditflag": {
  18525. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  18526. "type": "integer"
  18527. },
  18528. "trademarkettype": {
  18529. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  18530. "type": "integer"
  18531. },
  18532. "trademode": {
  18533. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18534. "type": "integer"
  18535. },
  18536. "tradeproperty": {
  18537. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  18538. "type": "integer"
  18539. },
  18540. "tradetype": {
  18541. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  18542. "type": "integer"
  18543. }
  18544. }
  18545. },
  18546. "models.Marketrun": {
  18547. "type": "object",
  18548. "required": [
  18549. "marketid",
  18550. "nexttradedate",
  18551. "reckonflag",
  18552. "runstatus",
  18553. "tradedate",
  18554. "tradedate2"
  18555. ],
  18556. "properties": {
  18557. "afternexttradedate": {
  18558. "description": "下下交易日",
  18559. "type": "string"
  18560. },
  18561. "clearquoteflag": {
  18562. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  18563. "type": "integer"
  18564. },
  18565. "lastreckondate": {
  18566. "description": "最新交易日(结算成功)",
  18567. "type": "string"
  18568. },
  18569. "machinedate": {
  18570. "description": "机器时间",
  18571. "type": "string"
  18572. },
  18573. "manualflag": {
  18574. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  18575. "type": "integer"
  18576. },
  18577. "marketid": {
  18578. "description": "市场ID",
  18579. "type": "integer"
  18580. },
  18581. "nexttradedate": {
  18582. "description": "下一交易日",
  18583. "type": "string"
  18584. },
  18585. "pretradedate": {
  18586. "description": "上一交易日",
  18587. "type": "string"
  18588. },
  18589. "reckonflag": {
  18590. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  18591. "type": "integer"
  18592. },
  18593. "runstatus": {
  18594. "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.今日免清算",
  18595. "type": "integer"
  18596. },
  18597. "sectionid": {
  18598. "description": "时间段号[多时段时用]",
  18599. "type": "integer"
  18600. },
  18601. "tradedate": {
  18602. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  18603. "type": "string"
  18604. },
  18605. "tradedate2": {
  18606. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  18607. "type": "string"
  18608. },
  18609. "updatetime": {
  18610. "description": "更新时间",
  18611. "type": "string"
  18612. }
  18613. }
  18614. },
  18615. "models.Messageboard": {
  18616. "type": "object",
  18617. "required": [
  18618. "messageboardid"
  18619. ],
  18620. "properties": {
  18621. "contactnum": {
  18622. "description": "联系电话",
  18623. "type": "string"
  18624. },
  18625. "createtime": {
  18626. "description": "创建时间",
  18627. "type": "string"
  18628. },
  18629. "message": {
  18630. "description": "留言信息",
  18631. "type": "string"
  18632. },
  18633. "messageboardid": {
  18634. "description": "留言簿ID(SEQ_MessageBoard)",
  18635. "type": "integer"
  18636. },
  18637. "userid": {
  18638. "description": "用户ID",
  18639. "type": "integer"
  18640. }
  18641. }
  18642. },
  18643. "models.MyCoupon": {
  18644. "type": "object",
  18645. "required": [
  18646. "accountid",
  18647. "coupontypeid"
  18648. ],
  18649. "properties": {
  18650. "accountid": {
  18651. "description": "资金账户ID",
  18652. "type": "integer"
  18653. },
  18654. "areauserid": {
  18655. "description": "所属机构",
  18656. "type": "integer"
  18657. },
  18658. "conditionvalue": {
  18659. "description": "条件阈值(可为0)",
  18660. "type": "number"
  18661. },
  18662. "couponcategroy": {
  18663. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  18664. "type": "integer"
  18665. },
  18666. "couponname": {
  18667. "description": "优惠券名称",
  18668. "type": "string"
  18669. },
  18670. "coupontypeid": {
  18671. "description": "优惠券类型ID",
  18672. "type": "string"
  18673. },
  18674. "couponvalue": {
  18675. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18676. "type": "number"
  18677. },
  18678. "curfreezeqty": {
  18679. "description": "期末冻结数量",
  18680. "type": "integer"
  18681. },
  18682. "curqty": {
  18683. "description": "期末数量",
  18684. "type": "integer"
  18685. },
  18686. "isgeneral": {
  18687. "description": "是否通用券 - 0:否 1:是",
  18688. "type": "integer"
  18689. },
  18690. "isunusable": {
  18691. "description": "是否不可用",
  18692. "type": "boolean"
  18693. },
  18694. "limitedflag": {
  18695. "description": "是否指定商品 - 0:不限 1:限制",
  18696. "type": "integer"
  18697. },
  18698. "limitedgoodsids": {
  18699. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  18700. "type": "string"
  18701. },
  18702. "orifreezeqty": {
  18703. "description": "期初冻结数量",
  18704. "type": "integer"
  18705. },
  18706. "oriqty": {
  18707. "description": "期初数量",
  18708. "type": "integer"
  18709. },
  18710. "reasontype": {
  18711. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  18712. "type": "integer"
  18713. },
  18714. "todaydecrease": {
  18715. "description": "今日减少",
  18716. "type": "integer"
  18717. },
  18718. "todayincrease": {
  18719. "description": "今日增加",
  18720. "type": "integer"
  18721. },
  18722. "userid": {
  18723. "description": "用户ID",
  18724. "type": "integer"
  18725. },
  18726. "userscope": {
  18727. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  18728. "type": "string"
  18729. }
  18730. }
  18731. },
  18732. "models.MyCouponHold": {
  18733. "type": "object",
  18734. "required": [
  18735. "couponholdid"
  18736. ],
  18737. "properties": {
  18738. "accountid": {
  18739. "description": "资金账户ID",
  18740. "type": "integer"
  18741. },
  18742. "conditionvalue": {
  18743. "description": "条件阈值(可为0)",
  18744. "type": "number"
  18745. },
  18746. "couponcategroy": {
  18747. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  18748. "type": "integer"
  18749. },
  18750. "couponholdid": {
  18751. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  18752. "type": "string"
  18753. },
  18754. "couponname": {
  18755. "description": "优惠券名称",
  18756. "type": "string"
  18757. },
  18758. "coupontypeid": {
  18759. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  18760. "type": "string"
  18761. },
  18762. "couponvalue": {
  18763. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18764. "type": "number"
  18765. },
  18766. "createtime": {
  18767. "description": "创建时间",
  18768. "type": "string"
  18769. },
  18770. "enddate": {
  18771. "description": "结束日期",
  18772. "type": "string"
  18773. },
  18774. "giveapplyid": {
  18775. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  18776. "type": "integer"
  18777. },
  18778. "holdstatus": {
  18779. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  18780. "type": "integer"
  18781. },
  18782. "isgeneral": {
  18783. "description": "是否通用券 - 0:否 1:是",
  18784. "type": "integer"
  18785. },
  18786. "limitedflag": {
  18787. "description": "是否指定商品 - 0:不限 1:限制",
  18788. "type": "integer"
  18789. },
  18790. "limitedgoodsids": {
  18791. "description": "指定商品IDs[逗号分隔]",
  18792. "type": "string"
  18793. },
  18794. "qty": {
  18795. "description": "数量(按1平铺)",
  18796. "type": "integer"
  18797. },
  18798. "startdate": {
  18799. "description": "开始日期",
  18800. "type": "string"
  18801. },
  18802. "userid": {
  18803. "description": "用户ID",
  18804. "type": "integer"
  18805. },
  18806. "userscope": {
  18807. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  18808. "type": "string"
  18809. }
  18810. }
  18811. },
  18812. "models.MyUsedCoupon": {
  18813. "type": "object",
  18814. "required": [
  18815. "coupontypeid",
  18816. "orderid"
  18817. ],
  18818. "properties": {
  18819. "accountid": {
  18820. "description": "资金账户ID(买方)",
  18821. "type": "integer"
  18822. },
  18823. "conditionvalue": {
  18824. "description": "条件阈值(可为0)",
  18825. "type": "number"
  18826. },
  18827. "couponcategroy": {
  18828. "description": "种类 - 1:现金券 2:折扣券",
  18829. "type": "integer"
  18830. },
  18831. "couponname": {
  18832. "description": "优惠券名称",
  18833. "type": "string"
  18834. },
  18835. "coupontypeid": {
  18836. "description": "优惠券类型ID(买方)",
  18837. "type": "string"
  18838. },
  18839. "couponvalue": {
  18840. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  18841. "type": "number"
  18842. },
  18843. "createtime": {
  18844. "description": "创建时间",
  18845. "type": "string"
  18846. },
  18847. "goodsid": {
  18848. "description": "商品ID",
  18849. "type": "integer"
  18850. },
  18851. "handlestatus": {
  18852. "description": "处理状态",
  18853. "type": "integer"
  18854. },
  18855. "marketid": {
  18856. "description": "市场ID",
  18857. "type": "integer"
  18858. },
  18859. "offamount": {
  18860. "description": "优惠金额",
  18861. "type": "number"
  18862. },
  18863. "orderid": {
  18864. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18865. "type": "string"
  18866. },
  18867. "sellaccountid": {
  18868. "description": "资金账户ID(卖方)",
  18869. "type": "integer"
  18870. },
  18871. "tradeamount": {
  18872. "description": "成交金额",
  18873. "type": "number"
  18874. },
  18875. "tradeid": {
  18876. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18877. "type": "string"
  18878. },
  18879. "usedqty": {
  18880. "description": "使用数量",
  18881. "type": "integer"
  18882. }
  18883. }
  18884. },
  18885. "models.OperationPrimaryMenu": {
  18886. "type": "object",
  18887. "properties": {
  18888. "Children": {
  18889. "description": "二级功能菜单",
  18890. "type": "array",
  18891. "items": {
  18892. "$ref": "#/definitions/models.OperationSecondaryMenu"
  18893. }
  18894. },
  18895. "Key": {
  18896. "description": "菜单KEY",
  18897. "type": "string"
  18898. },
  18899. "Label": {
  18900. "description": "菜单标题",
  18901. "type": "string"
  18902. }
  18903. }
  18904. },
  18905. "models.OperationSecondaryMenu": {
  18906. "type": "object",
  18907. "properties": {
  18908. "Key": {
  18909. "description": "菜单KEY",
  18910. "type": "string"
  18911. },
  18912. "Label": {
  18913. "description": "菜单标题",
  18914. "type": "string"
  18915. },
  18916. "TabList": {
  18917. "description": "三级功能菜单",
  18918. "type": "array",
  18919. "items": {
  18920. "$ref": "#/definitions/models.OperationTabMenu"
  18921. }
  18922. }
  18923. }
  18924. },
  18925. "models.OperationTabMenu": {
  18926. "type": "object",
  18927. "properties": {
  18928. "Key": {
  18929. "description": "菜单KEY",
  18930. "type": "string"
  18931. },
  18932. "Label": {
  18933. "description": "菜单标题",
  18934. "type": "string"
  18935. }
  18936. }
  18937. },
  18938. "models.PendingAuditBizModel": {
  18939. "type": "object",
  18940. "properties": {
  18941. "accountid": {
  18942. "description": "现货账户",
  18943. "type": "string"
  18944. },
  18945. "areaname": {
  18946. "description": "所属部门",
  18947. "type": "string"
  18948. },
  18949. "bizid": {
  18950. "description": "业务ID",
  18951. "type": "string"
  18952. },
  18953. "bizname": {
  18954. "description": "业务名称",
  18955. "type": "string"
  18956. },
  18957. "status": {
  18958. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18959. "type": "integer"
  18960. },
  18961. "type": {
  18962. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18963. "type": "integer"
  18964. }
  18965. }
  18966. },
  18967. "models.QueryErrorInfosRsp": {
  18968. "type": "object",
  18969. "required": [
  18970. "errorid"
  18971. ],
  18972. "properties": {
  18973. "description": {
  18974. "description": "异常描述",
  18975. "type": "string"
  18976. },
  18977. "errorcode": {
  18978. "description": "异常代码",
  18979. "type": "string"
  18980. },
  18981. "errorid": {
  18982. "description": "异常ID",
  18983. "type": "integer"
  18984. },
  18985. "modulecode": {
  18986. "description": "所属模块",
  18987. "type": "string"
  18988. },
  18989. "operatecode": {
  18990. "description": "所属操作",
  18991. "type": "string"
  18992. },
  18993. "rownumber": {
  18994. "description": "行号",
  18995. "type": "string"
  18996. }
  18997. }
  18998. },
  18999. "models.QueryHedgeOrderDetailRsp": {
  19000. "type": "object",
  19001. "properties": {
  19002. "accountid": {
  19003. "description": "账户ID",
  19004. "type": "integer"
  19005. },
  19006. "buyorsell": {
  19007. "description": "买卖 - 0:买 1:卖",
  19008. "type": "integer"
  19009. },
  19010. "cancellogincode": {
  19011. "description": "撤单人",
  19012. "type": "string"
  19013. },
  19014. "channelbuildtype": {
  19015. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  19016. "type": "integer"
  19017. },
  19018. "channelinnerorderstatus": {
  19019. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  19020. "type": "integer"
  19021. },
  19022. "channeloperatetype": {
  19023. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  19024. "type": "integer"
  19025. },
  19026. "closetype": {
  19027. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19028. "type": "integer"
  19029. },
  19030. "curexchangerate": {
  19031. "description": "当前汇率",
  19032. "type": "number"
  19033. },
  19034. "exchangefullname": {
  19035. "description": "外部交易所全称",
  19036. "type": "string"
  19037. },
  19038. "goodscode": {
  19039. "description": "商品代码(内部)",
  19040. "type": "string"
  19041. },
  19042. "goodsid": {
  19043. "description": "商品ID",
  19044. "type": "integer"
  19045. },
  19046. "goodsname": {
  19047. "description": "商品名称",
  19048. "type": "string"
  19049. },
  19050. "marketid": {
  19051. "description": "市场ID",
  19052. "type": "integer"
  19053. },
  19054. "openfreezemargin": {
  19055. "description": "冻结保证金(冻结交易金额)",
  19056. "type": "number"
  19057. },
  19058. "orderid": {
  19059. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19060. "type": "string"
  19061. },
  19062. "orderlogincode": {
  19063. "description": "委托人",
  19064. "type": "string"
  19065. },
  19066. "orderprice": {
  19067. "description": "委托价格(账户)",
  19068. "type": "number"
  19069. },
  19070. "orderqty": {
  19071. "description": "委托数量",
  19072. "type": "integer"
  19073. },
  19074. "ordertime": {
  19075. "description": "委托时间",
  19076. "type": "string"
  19077. },
  19078. "pricemode": {
  19079. "description": "取价方式 - 1:市价 2: 限价",
  19080. "type": "integer"
  19081. },
  19082. "tradedate": {
  19083. "description": "交易日(yyyyMMdd)",
  19084. "type": "string"
  19085. },
  19086. "tradeqty": {
  19087. "description": "成交数量",
  19088. "type": "integer"
  19089. }
  19090. }
  19091. },
  19092. "models.QueryHedgeTradeDetailRsp": {
  19093. "type": "object",
  19094. "properties": {
  19095. "accountid": {
  19096. "description": "账号ID",
  19097. "type": "integer"
  19098. },
  19099. "buyorsell": {
  19100. "description": "方向 - 0:买 1:卖",
  19101. "type": "integer"
  19102. },
  19103. "channelbuildtype": {
  19104. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19105. "type": "integer"
  19106. },
  19107. "closecharge": {
  19108. "description": "平仓手续费(账户)",
  19109. "type": "number"
  19110. },
  19111. "closecharge2": {
  19112. "description": "平仓手续费(商品)",
  19113. "type": "number"
  19114. },
  19115. "closepl": {
  19116. "description": "平仓盈亏(账户)",
  19117. "type": "number"
  19118. },
  19119. "closepl2": {
  19120. "description": "平仓盈亏(商品)",
  19121. "type": "number"
  19122. },
  19123. "closepl3": {
  19124. "description": "平仓盈亏(账户)(逐笔)",
  19125. "type": "number"
  19126. },
  19127. "closepl4": {
  19128. "description": "平仓盈亏(商品)(逐笔)",
  19129. "type": "number"
  19130. },
  19131. "closetype": {
  19132. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19133. "type": "integer"
  19134. },
  19135. "curexchangerate": {
  19136. "description": "当前汇率",
  19137. "type": "number"
  19138. },
  19139. "exchangefullname": {
  19140. "description": "外部交易所全称",
  19141. "type": "string"
  19142. },
  19143. "goodscode": {
  19144. "description": "商品代码(内部)",
  19145. "type": "string"
  19146. },
  19147. "goodsid": {
  19148. "description": "商品ID",
  19149. "type": "integer"
  19150. },
  19151. "goodsname": {
  19152. "description": "商品名称",
  19153. "type": "string"
  19154. },
  19155. "marketid": {
  19156. "description": "市场ID",
  19157. "type": "integer"
  19158. },
  19159. "opencharge": {
  19160. "description": "建仓手续费(账户)",
  19161. "type": "number"
  19162. },
  19163. "opencharge2": {
  19164. "description": "建仓手续费(商品)",
  19165. "type": "number"
  19166. },
  19167. "orderid": {
  19168. "description": "委托单号",
  19169. "type": "string"
  19170. },
  19171. "orderlogincode": {
  19172. "description": "委托人",
  19173. "type": "string"
  19174. },
  19175. "tradeamount": {
  19176. "description": "成交金额(账户)",
  19177. "type": "number"
  19178. },
  19179. "tradedate": {
  19180. "description": "交易日(yyyyMMdd)",
  19181. "type": "string"
  19182. },
  19183. "tradeid": {
  19184. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19185. "type": "string"
  19186. },
  19187. "tradeprice": {
  19188. "description": "成交价格",
  19189. "type": "number"
  19190. },
  19191. "tradeqty": {
  19192. "description": "成交数量",
  19193. "type": "integer"
  19194. },
  19195. "tradetime": {
  19196. "description": "成交时间",
  19197. "type": "string"
  19198. },
  19199. "tradetype": {
  19200. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  19201. "type": "integer"
  19202. }
  19203. }
  19204. },
  19205. "models.QuotePrimaryMenu": {
  19206. "type": "object",
  19207. "properties": {
  19208. "Index": {
  19209. "description": "序号",
  19210. "type": "integer"
  19211. },
  19212. "Key": {
  19213. "description": "键名",
  19214. "type": "string"
  19215. },
  19216. "Name": {
  19217. "description": "菜单名称",
  19218. "type": "string"
  19219. },
  19220. "SubMenus": {
  19221. "description": "子菜单",
  19222. "type": "array",
  19223. "items": {
  19224. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  19225. }
  19226. },
  19227. "SubTitleType": {
  19228. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  19229. "type": "integer"
  19230. },
  19231. "TradeModes": {
  19232. "description": "包含市场交易类型",
  19233. "type": "string"
  19234. }
  19235. }
  19236. },
  19237. "models.QuoteSecondaryMenu": {
  19238. "type": "object",
  19239. "properties": {
  19240. "ExExchangeCode": {
  19241. "description": "外部交易所代码",
  19242. "type": "string"
  19243. },
  19244. "ExExchangeID": {
  19245. "description": "外部交易所ID",
  19246. "type": "integer"
  19247. },
  19248. "GoodsGroupIDs": {
  19249. "description": "商品组ID列表",
  19250. "type": "array",
  19251. "items": {
  19252. "type": "integer"
  19253. }
  19254. },
  19255. "Index": {
  19256. "description": "序号",
  19257. "type": "integer"
  19258. },
  19259. "MarketID": {
  19260. "description": "市场ID",
  19261. "type": "integer"
  19262. },
  19263. "MenuTitle": {
  19264. "description": "菜单标题(市场名称或外部交易所名称)",
  19265. "type": "string"
  19266. },
  19267. "TradeMode": {
  19268. "description": "交易模式",
  19269. "type": "integer"
  19270. }
  19271. }
  19272. },
  19273. "models.SearchGoods": {
  19274. "type": "object",
  19275. "required": [
  19276. "goodscode",
  19277. "goodsid",
  19278. "goodsname",
  19279. "marketid",
  19280. "trademode"
  19281. ],
  19282. "properties": {
  19283. "goodscode": {
  19284. "description": "商品代码(内部)",
  19285. "type": "string"
  19286. },
  19287. "goodsid": {
  19288. "description": "商品ID(自增ID SEQ_GOODS)",
  19289. "type": "integer"
  19290. },
  19291. "goodsname": {
  19292. "description": "商品名称",
  19293. "type": "string"
  19294. },
  19295. "marketid": {
  19296. "description": "所属市场ID",
  19297. "type": "integer"
  19298. },
  19299. "marketname": {
  19300. "description": "市场名称",
  19301. "type": "string"
  19302. },
  19303. "trademode": {
  19304. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19305. "type": "integer"
  19306. }
  19307. }
  19308. },
  19309. "models.Systemparam": {
  19310. "type": "object",
  19311. "required": [
  19312. "paramcode"
  19313. ],
  19314. "properties": {
  19315. "loginid": {
  19316. "description": "更新用户账号,登录账号",
  19317. "type": "string"
  19318. },
  19319. "modifyflag": {
  19320. "description": "修改标志0 不允许修改 1 允许修改",
  19321. "type": "integer"
  19322. },
  19323. "paramcode": {
  19324. "description": "参数代码",
  19325. "type": "string"
  19326. },
  19327. "paramname": {
  19328. "description": "参数名",
  19329. "type": "string"
  19330. },
  19331. "paramtype": {
  19332. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  19333. "type": "integer"
  19334. },
  19335. "paramvalue": {
  19336. "description": "参数值",
  19337. "type": "string"
  19338. },
  19339. "paramvalue2": {
  19340. "description": "参数值(CLOB)",
  19341. "type": "string"
  19342. },
  19343. "regexpress": {
  19344. "description": "正则表达式",
  19345. "type": "string"
  19346. },
  19347. "remark": {
  19348. "description": "备注",
  19349. "type": "string"
  19350. },
  19351. "serverip": {
  19352. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  19353. "type": "string"
  19354. },
  19355. "showflag": {
  19356. "description": "是否显示0 不显示 1 显示",
  19357. "type": "integer"
  19358. },
  19359. "updatetime": {
  19360. "description": "更新时间",
  19361. "type": "string"
  19362. },
  19363. "userid": {
  19364. "description": "更新用户ID",
  19365. "type": "integer"
  19366. }
  19367. }
  19368. },
  19369. "models.Szdz3convertconfig": {
  19370. "type": "object",
  19371. "required": [
  19372. "converttype",
  19373. "innergoodsid",
  19374. "outergoodscode"
  19375. ],
  19376. "properties": {
  19377. "canin": {
  19378. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  19379. "type": "integer"
  19380. },
  19381. "canout": {
  19382. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  19383. "type": "integer"
  19384. },
  19385. "converttype": {
  19386. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  19387. "type": "integer"
  19388. },
  19389. "createtime": {
  19390. "description": "创建时间",
  19391. "type": "string"
  19392. },
  19393. "creatorid": {
  19394. "description": "创建人",
  19395. "type": "integer"
  19396. },
  19397. "daymaxvalue": {
  19398. "description": "当日最大转入限制",
  19399. "type": "number"
  19400. },
  19401. "freezedays": {
  19402. "description": "冻结天数 [5:花生米转交易]",
  19403. "type": "integer"
  19404. },
  19405. "innergoodsid": {
  19406. "description": "内部商品ID[交易]",
  19407. "type": "integer"
  19408. },
  19409. "inratio": {
  19410. "description": "目标值",
  19411. "type": "integer"
  19412. },
  19413. "modifierid": {
  19414. "description": "修改人",
  19415. "type": "integer"
  19416. },
  19417. "modifytime": {
  19418. "description": "修改时间",
  19419. "type": "string"
  19420. },
  19421. "outergoodscode": {
  19422. "description": "外部商品代码[JD\\PD]",
  19423. "type": "string"
  19424. },
  19425. "outratio": {
  19426. "description": "源值",
  19427. "type": "integer"
  19428. },
  19429. "pddecimalplace": {
  19430. "description": "PD小数位",
  19431. "type": "integer"
  19432. },
  19433. "timemaxvalue": {
  19434. "description": "单次最大转入限制",
  19435. "type": "number"
  19436. },
  19437. "timeminvalue": {
  19438. "description": "单次最小转入限制",
  19439. "type": "number"
  19440. }
  19441. }
  19442. },
  19443. "models.Szdz3searchwhitelist": {
  19444. "type": "object",
  19445. "required": [
  19446. "userid"
  19447. ],
  19448. "properties": {
  19449. "createtime": {
  19450. "description": "创建时间",
  19451. "type": "string"
  19452. },
  19453. "creatorid": {
  19454. "description": "创建人",
  19455. "type": "integer"
  19456. },
  19457. "modifierid": {
  19458. "description": "修改人",
  19459. "type": "integer"
  19460. },
  19461. "modifytime": {
  19462. "description": "修改时间",
  19463. "type": "string"
  19464. },
  19465. "userid": {
  19466. "description": "用户ID",
  19467. "type": "integer"
  19468. }
  19469. }
  19470. },
  19471. "models.Taaccount": {
  19472. "type": "object",
  19473. "required": [
  19474. "accountid",
  19475. "userid"
  19476. ],
  19477. "properties": {
  19478. "accountflag": {
  19479. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  19480. "type": "integer"
  19481. },
  19482. "accountid": {
  19483. "description": "资金账户ID",
  19484. "type": "integer"
  19485. },
  19486. "accountname": {
  19487. "description": "账户名称",
  19488. "type": "string"
  19489. },
  19490. "balance": {
  19491. "description": "期初余额",
  19492. "type": "number"
  19493. },
  19494. "capitalbalance": {
  19495. "description": "本金余额[外部子账户实际出入金余额]",
  19496. "type": "number"
  19497. },
  19498. "changeflag": {
  19499. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  19500. "type": "integer"
  19501. },
  19502. "changetime": {
  19503. "description": "账户状态变更时间",
  19504. "type": "string"
  19505. },
  19506. "closepl": {
  19507. "description": "今日平仓盈亏",
  19508. "type": "number"
  19509. },
  19510. "creditdecrease": {
  19511. "description": "今日授信减少",
  19512. "type": "number"
  19513. },
  19514. "creditincrease": {
  19515. "description": "今日授信增加",
  19516. "type": "number"
  19517. },
  19518. "currencyid": {
  19519. "description": "货币ID",
  19520. "type": "integer"
  19521. },
  19522. "currentbalance": {
  19523. "description": "期末余额",
  19524. "type": "number"
  19525. },
  19526. "freezecharge": {
  19527. "description": "手续费冻结",
  19528. "type": "number"
  19529. },
  19530. "freezemargin": {
  19531. "description": "冻结保证金",
  19532. "type": "number"
  19533. },
  19534. "fromaccountid": {
  19535. "description": "所属上级账户",
  19536. "type": "integer"
  19537. },
  19538. "inamount": {
  19539. "description": "今日入金金额(包括三方入金)",
  19540. "type": "number"
  19541. },
  19542. "ismain": {
  19543. "description": "是否母账号 0:不是母账户 1:是母账户",
  19544. "type": "integer"
  19545. },
  19546. "ismarketaccount": {
  19547. "description": "是否机构接单账号 0:不是 1:是",
  19548. "type": "integer"
  19549. },
  19550. "isreckonaccount": {
  19551. "description": "是否机构分润账号 0:不是 1:是",
  19552. "type": "integer"
  19553. },
  19554. "mortgagecredit": {
  19555. "description": "授信金额",
  19556. "type": "number"
  19557. },
  19558. "orifreezecharge": {
  19559. "description": "期初手续费冻结",
  19560. "type": "number"
  19561. },
  19562. "orifreezemargin": {
  19563. "description": "期初冻结保证金",
  19564. "type": "number"
  19565. },
  19566. "orimortgagecredit": {
  19567. "description": "期初授信金额",
  19568. "type": "number"
  19569. },
  19570. "oriothercredit": {
  19571. "description": "期初其它授信金额",
  19572. "type": "number"
  19573. },
  19574. "oriotherfreezemargin": {
  19575. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19576. "type": "number"
  19577. },
  19578. "orioutamountfreeze": {
  19579. "description": "期初出金冻结",
  19580. "type": "number"
  19581. },
  19582. "oriusedmargin": {
  19583. "description": "期初占用保证金",
  19584. "type": "number"
  19585. },
  19586. "othercredit": {
  19587. "description": "其它授信金额",
  19588. "type": "number"
  19589. },
  19590. "othercreditdecrease": {
  19591. "description": "今日其它授信减少",
  19592. "type": "number"
  19593. },
  19594. "othercreditincrease": {
  19595. "description": "今日其它授信增加",
  19596. "type": "number"
  19597. },
  19598. "otherfreezemargin": {
  19599. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19600. "type": "number"
  19601. },
  19602. "otherincome": {
  19603. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  19604. "type": "number"
  19605. },
  19606. "otherpay": {
  19607. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  19608. "type": "number"
  19609. },
  19610. "outamount": {
  19611. "description": "今日出金金额(包括三方出金)",
  19612. "type": "number"
  19613. },
  19614. "outamountfreeze": {
  19615. "description": "出金冻结",
  19616. "type": "number"
  19617. },
  19618. "outthreshold": {
  19619. "description": "出金阈值",
  19620. "type": "number"
  19621. },
  19622. "parentaccountid": {
  19623. "description": "所属根账号",
  19624. "type": "integer"
  19625. },
  19626. "paycharge": {
  19627. "description": "今日手续费支出",
  19628. "type": "number"
  19629. },
  19630. "relatedaccountstatus": {
  19631. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  19632. "type": "integer"
  19633. },
  19634. "relateduserid": {
  19635. "description": "关联用户",
  19636. "type": "integer"
  19637. },
  19638. "serivcegroup": {
  19639. "description": "服务分组",
  19640. "type": "integer"
  19641. },
  19642. "signstatus": {
  19643. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19644. "type": "integer"
  19645. },
  19646. "sublevelpath": {
  19647. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19648. "type": "string"
  19649. },
  19650. "taaccounttype": {
  19651. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19652. "type": "integer"
  19653. },
  19654. "thirdinamount": {
  19655. "description": "今日三方入金",
  19656. "type": "number"
  19657. },
  19658. "thirdoutamount": {
  19659. "description": "今日三方出金",
  19660. "type": "number"
  19661. },
  19662. "tradestatus": {
  19663. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19664. "type": "integer"
  19665. },
  19666. "tradestatuschangetime": {
  19667. "description": "激活时间",
  19668. "type": "string"
  19669. },
  19670. "transferamount": {
  19671. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19672. "type": "number"
  19673. },
  19674. "usedmargin": {
  19675. "description": "占用保证金",
  19676. "type": "number"
  19677. },
  19678. "userid": {
  19679. "description": "用户ID",
  19680. "type": "integer"
  19681. }
  19682. }
  19683. },
  19684. "models.Tablecolumnconfig": {
  19685. "type": "object",
  19686. "required": [
  19687. "autoid"
  19688. ],
  19689. "properties": {
  19690. "aligntype": {
  19691. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  19692. "type": "integer"
  19693. },
  19694. "autoid": {
  19695. "description": "AutoID",
  19696. "type": "integer"
  19697. },
  19698. "columnfield": {
  19699. "description": "列字段",
  19700. "type": "string"
  19701. },
  19702. "columntitle": {
  19703. "description": "列Title",
  19704. "type": "string"
  19705. },
  19706. "columnwidth": {
  19707. "description": "列宽",
  19708. "type": "string"
  19709. },
  19710. "formatterstring": {
  19711. "description": "格式化字符",
  19712. "type": "string"
  19713. },
  19714. "formattertype": {
  19715. "description": "格式化类型",
  19716. "type": "string"
  19717. },
  19718. "groupname": {
  19719. "description": "表头分组名称",
  19720. "type": "string"
  19721. },
  19722. "isshow": {
  19723. "description": "是否显示 - 0:不显示 1:显示",
  19724. "type": "integer"
  19725. },
  19726. "needsummary": {
  19727. "description": "是否需要汇总 - 0:不需要 1:需要",
  19728. "type": "integer"
  19729. },
  19730. "orderindex": {
  19731. "description": "顺序",
  19732. "type": "integer"
  19733. },
  19734. "remark": {
  19735. "description": "备注",
  19736. "type": "string"
  19737. },
  19738. "summarytype": {
  19739. "description": "汇总类型 - 1:加总 2:最后一个",
  19740. "type": "integer"
  19741. },
  19742. "tablekey": {
  19743. "description": "列表Key",
  19744. "type": "string"
  19745. }
  19746. }
  19747. },
  19748. "models.Useraccount": {
  19749. "type": "object",
  19750. "required": [
  19751. "userid"
  19752. ],
  19753. "properties": {
  19754. "accountname": {
  19755. "description": "账户名称(机构名称)",
  19756. "type": "string"
  19757. },
  19758. "accountstatus": {
  19759. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19760. "type": "integer"
  19761. },
  19762. "auditremark": {
  19763. "description": "审核备注",
  19764. "type": "string"
  19765. },
  19766. "audittime": {
  19767. "description": "审核时间",
  19768. "type": "string"
  19769. },
  19770. "audituserid": {
  19771. "description": "审核人",
  19772. "type": "integer"
  19773. },
  19774. "broker": {
  19775. "description": "所属经纪人ID",
  19776. "type": "integer"
  19777. },
  19778. "canceltime": {
  19779. "description": "销户时间",
  19780. "type": "string"
  19781. },
  19782. "canceluserid": {
  19783. "description": "销户人",
  19784. "type": "integer"
  19785. },
  19786. "createtime": {
  19787. "description": "创建时间",
  19788. "type": "string"
  19789. },
  19790. "creatorid": {
  19791. "description": "创建人",
  19792. "type": "integer"
  19793. },
  19794. "hasauth": {
  19795. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19796. "type": "integer"
  19797. },
  19798. "isanonymous": {
  19799. "description": "是否匿名下单 - 0:否 1:是",
  19800. "type": "integer"
  19801. },
  19802. "maxinvestornum": {
  19803. "description": "最大用户数(经纪会员下投资者个数)",
  19804. "type": "integer"
  19805. },
  19806. "memberuserid": {
  19807. "description": "所属会员ID",
  19808. "type": "integer"
  19809. },
  19810. "modifierid": {
  19811. "description": "修改人",
  19812. "type": "integer"
  19813. },
  19814. "modifyremark": {
  19815. "description": "变更备注",
  19816. "type": "string"
  19817. },
  19818. "modifystatus": {
  19819. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19820. "type": "integer"
  19821. },
  19822. "modifytime": {
  19823. "description": "修改时间",
  19824. "type": "string"
  19825. },
  19826. "parentuserid": {
  19827. "description": "所属机构ID",
  19828. "type": "integer"
  19829. },
  19830. "reckonaccountid": {
  19831. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19832. "type": "integer"
  19833. },
  19834. "refercount": {
  19835. "description": "推荐总人数",
  19836. "type": "integer"
  19837. },
  19838. "refereeuserid": {
  19839. "description": "推荐人ID",
  19840. "type": "integer"
  19841. },
  19842. "refernum": {
  19843. "description": "推荐码",
  19844. "type": "string"
  19845. },
  19846. "subarealevelpath": {
  19847. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19848. "type": "string"
  19849. },
  19850. "userid": {
  19851. "description": "用户ID",
  19852. "type": "integer"
  19853. },
  19854. "usertype": {
  19855. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19856. "type": "integer"
  19857. }
  19858. }
  19859. },
  19860. "models.Userfavoritegoods": {
  19861. "type": "object",
  19862. "required": [
  19863. "goodsid"
  19864. ],
  19865. "properties": {
  19866. "goodsid": {
  19867. "description": "商品ID",
  19868. "type": "integer"
  19869. }
  19870. }
  19871. },
  19872. "models.Userinfo": {
  19873. "type": "object",
  19874. "required": [
  19875. "userid"
  19876. ],
  19877. "properties": {
  19878. "address": {
  19879. "description": "地址",
  19880. "type": "string"
  19881. },
  19882. "attachment1": {
  19883. "description": "附件1",
  19884. "type": "string"
  19885. },
  19886. "attachment2": {
  19887. "description": "附件2",
  19888. "type": "string"
  19889. },
  19890. "bankaccount": {
  19891. "description": "银行帐号 (加密存储)",
  19892. "type": "string"
  19893. },
  19894. "bankaccountname": {
  19895. "description": "收款人名称",
  19896. "type": "string"
  19897. },
  19898. "bankcardfrontphotourl": {
  19899. "description": "银行卡正面照地址",
  19900. "type": "string"
  19901. },
  19902. "bankid": {
  19903. "description": "银行编码",
  19904. "type": "string"
  19905. },
  19906. "bankname": {
  19907. "description": "银行名称",
  19908. "type": "string"
  19909. },
  19910. "biznature": {
  19911. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19912. "type": "integer"
  19913. },
  19914. "bizscope": {
  19915. "description": "企业经营范围(企业)",
  19916. "type": "string"
  19917. },
  19918. "cardbackphotourl": {
  19919. "description": "证件背面图片地址",
  19920. "type": "string"
  19921. },
  19922. "cardfrontphotourl": {
  19923. "description": "证件正面图片地址",
  19924. "type": "string"
  19925. },
  19926. "cardnum": {
  19927. "description": "证件号码(加密存储)",
  19928. "type": "string"
  19929. },
  19930. "cardtypeid": {
  19931. "description": "证件类型ID",
  19932. "type": "integer"
  19933. },
  19934. "cityid": {
  19935. "description": "市",
  19936. "type": "integer"
  19937. },
  19938. "company": {
  19939. "description": "公司(个人)",
  19940. "type": "string"
  19941. },
  19942. "contactname": {
  19943. "description": "联系人",
  19944. "type": "string"
  19945. },
  19946. "countryid": {
  19947. "description": "国家",
  19948. "type": "integer"
  19949. },
  19950. "createtime": {
  19951. "description": "创建时间",
  19952. "type": "string"
  19953. },
  19954. "creatorid": {
  19955. "description": "创建人",
  19956. "type": "integer"
  19957. },
  19958. "customername": {
  19959. "description": "客户名称(企业名称)",
  19960. "type": "string"
  19961. },
  19962. "districtid": {
  19963. "description": "地区",
  19964. "type": "integer"
  19965. },
  19966. "email": {
  19967. "description": "邮件(加密存储)",
  19968. "type": "string"
  19969. },
  19970. "fax": {
  19971. "description": "传真(加密存储)",
  19972. "type": "string"
  19973. },
  19974. "halfbodyphotourl": {
  19975. "description": "半身照地址",
  19976. "type": "string"
  19977. },
  19978. "hasencrypt": {
  19979. "description": "数据是否已加密 - 0:未加密 1:已加密",
  19980. "type": "integer"
  19981. },
  19982. "headurl": {
  19983. "description": "头像地址",
  19984. "type": "string"
  19985. },
  19986. "legalcardbackphotourl": {
  19987. "description": "法人身份证背面照地址",
  19988. "type": "string"
  19989. },
  19990. "legalcardfrontphotourl": {
  19991. "description": "法人身份证正面照地址",
  19992. "type": "string"
  19993. },
  19994. "legalpersonname": {
  19995. "description": "法人姓名(企业)",
  19996. "type": "string"
  19997. },
  19998. "mobile": {
  19999. "description": "手机号码(加密存储)",
  20000. "type": "string"
  20001. },
  20002. "mobile2": {
  20003. "description": "手机号码[明文-尚志]",
  20004. "type": "string"
  20005. },
  20006. "modifierid": {
  20007. "description": "修改人",
  20008. "type": "integer"
  20009. },
  20010. "modifiertime": {
  20011. "description": "修改时间",
  20012. "type": "string"
  20013. },
  20014. "needinvoice": {
  20015. "description": "是否需要发票 - 0:不需要 1:需要",
  20016. "type": "integer"
  20017. },
  20018. "nickname": {
  20019. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  20020. "type": "string"
  20021. },
  20022. "openmode": {
  20023. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  20024. "type": "integer"
  20025. },
  20026. "otherurl": {
  20027. "description": "其它图片地址[使用分号分隔]",
  20028. "type": "string"
  20029. },
  20030. "postalcode": {
  20031. "description": "邮政编码",
  20032. "type": "string"
  20033. },
  20034. "provinceid": {
  20035. "description": "省",
  20036. "type": "integer"
  20037. },
  20038. "qq": {
  20039. "description": "QQ(加密存储",
  20040. "type": "string"
  20041. },
  20042. "remark": {
  20043. "description": "备注",
  20044. "type": "string"
  20045. },
  20046. "sex": {
  20047. "description": "用户性别 0: 女 1: 男",
  20048. "type": "integer"
  20049. },
  20050. "signpdfurl": {
  20051. "description": "签约pdf文件",
  20052. "type": "string"
  20053. },
  20054. "telphone": {
  20055. "description": "联系电话(加密存储)",
  20056. "type": "string"
  20057. },
  20058. "userid": {
  20059. "description": "用户ID",
  20060. "type": "integer"
  20061. },
  20062. "userinfotype": {
  20063. "description": "用户信息类型 - 1:个人 2:企业",
  20064. "type": "integer"
  20065. },
  20066. "userstatus": {
  20067. "description": "用户状态 - 1:正常 2:注销",
  20068. "type": "integer"
  20069. },
  20070. "usertype": {
  20071. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20072. "type": "integer"
  20073. },
  20074. "wechat": {
  20075. "description": "微信(加密存储)",
  20076. "type": "string"
  20077. },
  20078. "wskhinfo": {
  20079. "description": "开户申请信息(JSON)",
  20080. "type": "string"
  20081. }
  20082. }
  20083. },
  20084. "models.WRSConverTDetail": {
  20085. "type": "object",
  20086. "properties": {
  20087. "convertratio": {
  20088. "description": "套保系数",
  20089. "type": "number"
  20090. },
  20091. "deliverygoodscode": {
  20092. "description": "现货商品代码",
  20093. "type": "string"
  20094. },
  20095. "deliverygoodsid": {
  20096. "description": "现货品种ID",
  20097. "type": "integer"
  20098. },
  20099. "deliverygoodsname": {
  20100. "description": "现货商品名称",
  20101. "type": "string"
  20102. },
  20103. "enumdicname": {
  20104. "description": "单位名称",
  20105. "type": "string"
  20106. },
  20107. "goodsunitid": {
  20108. "description": "套保品种单位id",
  20109. "type": "integer"
  20110. },
  20111. "middlegoodscode": {
  20112. "description": "套保品种代码",
  20113. "type": "string"
  20114. },
  20115. "middlegoodsid": {
  20116. "description": "套保品种ID",
  20117. "type": "integer"
  20118. },
  20119. "middlegoodsname": {
  20120. "description": "套保品种名称",
  20121. "type": "string"
  20122. },
  20123. "modifytime": {
  20124. "description": "修改时间",
  20125. "type": "string"
  20126. },
  20127. "wrstandardid": {
  20128. "description": "品类ID",
  20129. "type": "integer"
  20130. }
  20131. }
  20132. },
  20133. "models.WRStandardInfo": {
  20134. "type": "object",
  20135. "required": [
  20136. "wrstandardid"
  20137. ],
  20138. "properties": {
  20139. "areauserid": {
  20140. "description": "所属机构",
  20141. "type": "integer"
  20142. },
  20143. "convertfactor": {
  20144. "description": "标仓系数",
  20145. "type": "number"
  20146. },
  20147. "createtime": {
  20148. "description": "创建时间",
  20149. "type": "string"
  20150. },
  20151. "creatorid": {
  20152. "description": "创建人",
  20153. "type": "integer"
  20154. },
  20155. "deliverygoodsid": {
  20156. "description": "品种ID",
  20157. "type": "integer"
  20158. },
  20159. "deliverygoodsname": {
  20160. "description": "交割商品名称",
  20161. "type": "string"
  20162. },
  20163. "factoryitemjson": {
  20164. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  20165. "type": "string"
  20166. },
  20167. "isvalid": {
  20168. "description": "是否有效 - 0:无效 1:有效",
  20169. "type": "integer"
  20170. },
  20171. "minivalue": {
  20172. "description": "最小变动值",
  20173. "type": "integer"
  20174. },
  20175. "minivaluedp": {
  20176. "description": "最小变动值小数位",
  20177. "type": "integer"
  20178. },
  20179. "realminivalue": {
  20180. "description": "实际最小变动值",
  20181. "type": "integer"
  20182. },
  20183. "realminivaluedp": {
  20184. "description": "实际最小变动值小数位",
  20185. "type": "integer"
  20186. },
  20187. "remark": {
  20188. "description": "备注",
  20189. "type": "string"
  20190. },
  20191. "unitid": {
  20192. "description": "单位ID",
  20193. "type": "integer"
  20194. },
  20195. "unitname": {
  20196. "description": "单位",
  20197. "type": "string"
  20198. },
  20199. "updatetime": {
  20200. "description": "更新时间",
  20201. "type": "string"
  20202. },
  20203. "updatorid": {
  20204. "description": "更新人",
  20205. "type": "integer"
  20206. },
  20207. "wrsstatus": {
  20208. "description": "状态 - 作废 - 0:未激活 1:正常",
  20209. "type": "integer"
  20210. },
  20211. "wrstandardcode": {
  20212. "description": "现货品类代码",
  20213. "type": "string"
  20214. },
  20215. "wrstandardid": {
  20216. "description": "现货品类ID(SEQ_WRSTANDARD)",
  20217. "type": "integer"
  20218. },
  20219. "wrstandardname": {
  20220. "description": "现货品类名称",
  20221. "type": "string"
  20222. }
  20223. }
  20224. },
  20225. "models.Warehouseinfo": {
  20226. "type": "object",
  20227. "required": [
  20228. "autoid",
  20229. "warehousecode"
  20230. ],
  20231. "properties": {
  20232. "address": {
  20233. "description": "详细地址",
  20234. "type": "string"
  20235. },
  20236. "areauserid": {
  20237. "description": "所属机构",
  20238. "type": "integer"
  20239. },
  20240. "autoid": {
  20241. "description": "自增ID",
  20242. "type": "integer"
  20243. },
  20244. "cityid": {
  20245. "description": "市",
  20246. "type": "integer"
  20247. },
  20248. "contactname": {
  20249. "description": "联系人",
  20250. "type": "string"
  20251. },
  20252. "contactnum": {
  20253. "description": "联系电话",
  20254. "type": "string"
  20255. },
  20256. "countryid": {
  20257. "description": "国家",
  20258. "type": "integer"
  20259. },
  20260. "createtime": {
  20261. "description": "创建时间",
  20262. "type": "string"
  20263. },
  20264. "districtid": {
  20265. "description": "区",
  20266. "type": "integer"
  20267. },
  20268. "hasvideo": {
  20269. "description": "是否有视频 - 0:无 1:有",
  20270. "type": "integer"
  20271. },
  20272. "provinceid": {
  20273. "description": "省",
  20274. "type": "integer"
  20275. },
  20276. "remark": {
  20277. "description": "审核备注",
  20278. "type": "string"
  20279. },
  20280. "videourl": {
  20281. "description": "视频地址",
  20282. "type": "string"
  20283. },
  20284. "warehousecode": {
  20285. "description": "仓库代码",
  20286. "type": "string"
  20287. },
  20288. "warehousename": {
  20289. "description": "仓库名称",
  20290. "type": "string"
  20291. },
  20292. "warehousestatus": {
  20293. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20294. "type": "integer"
  20295. },
  20296. "warehousetype": {
  20297. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20298. "type": "integer"
  20299. }
  20300. }
  20301. },
  20302. "order.QueryHisTradeDetailRsp": {
  20303. "type": "object",
  20304. "required": [
  20305. "accountid",
  20306. "buyorsell",
  20307. "goodsid",
  20308. "histradedate",
  20309. "marketid",
  20310. "memberuserid",
  20311. "orderid",
  20312. "tradeamount",
  20313. "tradedate",
  20314. "tradeid",
  20315. "tradeprice",
  20316. "tradeqty",
  20317. "tradetime"
  20318. ],
  20319. "properties": {
  20320. "accountid": {
  20321. "description": "账户ID[报价币种]",
  20322. "type": "integer"
  20323. },
  20324. "buildtype": {
  20325. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20326. "type": "integer"
  20327. },
  20328. "buyorsell": {
  20329. "description": "方向 - 0:买 1:卖",
  20330. "type": "integer"
  20331. },
  20332. "charge": {
  20333. "description": "手续费",
  20334. "type": "number"
  20335. },
  20336. "closecharge": {
  20337. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20338. "type": "number"
  20339. },
  20340. "closeexchagechargevalue": {
  20341. "description": "平仓交易所手续费设置值",
  20342. "type": "number"
  20343. },
  20344. "closefeealgorithm": {
  20345. "description": "平仓手续费收取方式 1:比率 2:固定",
  20346. "type": "integer"
  20347. },
  20348. "closememberchargevalue": {
  20349. "description": "平仓会员手续费设置值",
  20350. "type": "number"
  20351. },
  20352. "closepl": {
  20353. "description": "平仓盈亏",
  20354. "type": "number"
  20355. },
  20356. "closepl2": {
  20357. "description": "平仓盈亏[逐笔]",
  20358. "type": "number"
  20359. },
  20360. "closeqty": {
  20361. "description": "平仓数量(先建后平操作 需要记录)",
  20362. "type": "integer"
  20363. },
  20364. "creditamount": {
  20365. "description": "授信金额",
  20366. "type": "number"
  20367. },
  20368. "gcaccountid": {
  20369. "description": "账户ID[合约币种]",
  20370. "type": "integer"
  20371. },
  20372. "goodscode": {
  20373. "description": "商品代码",
  20374. "type": "string"
  20375. },
  20376. "goodsid": {
  20377. "description": "商品ID",
  20378. "type": "integer"
  20379. },
  20380. "goodsname": {
  20381. "description": "商品名称",
  20382. "type": "string"
  20383. },
  20384. "histradedate": {
  20385. "description": "历史交易日",
  20386. "type": "string"
  20387. },
  20388. "intclosepl": {
  20389. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20390. "type": "integer"
  20391. },
  20392. "isconfirmexercise": {
  20393. "description": "是否确认行权- 0:否 1:是",
  20394. "type": "integer"
  20395. },
  20396. "ismain": {
  20397. "description": "是否主单 - 0:不是 1:是",
  20398. "type": "integer"
  20399. },
  20400. "ispreexercise": {
  20401. "description": "是否预申报- 0:否 1:是",
  20402. "type": "integer"
  20403. },
  20404. "isreckoned": {
  20405. "description": "是否结算 - 0:未结算 1:已结算",
  20406. "type": "integer"
  20407. },
  20408. "isvaliddata": {
  20409. "description": "是否有效 - 0:无效 1:有效",
  20410. "type": "integer"
  20411. },
  20412. "listingselecttype": {
  20413. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20414. "type": "integer"
  20415. },
  20416. "marketid": {
  20417. "description": "市场ID",
  20418. "type": "integer"
  20419. },
  20420. "marketname": {
  20421. "description": "市场名称",
  20422. "type": "string"
  20423. },
  20424. "matchaccountid": {
  20425. "description": "对手账号id",
  20426. "type": "integer"
  20427. },
  20428. "memberuserid": {
  20429. "description": "会员id 个人投资者 需要填写",
  20430. "type": "integer"
  20431. },
  20432. "opencharge": {
  20433. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20434. "type": "number"
  20435. },
  20436. "openexchagechargevalue": {
  20437. "description": "建仓交易所手续费设置值",
  20438. "type": "number"
  20439. },
  20440. "openfeealgorithm": {
  20441. "description": "建仓手续费收取方式 1:比率 2:固定",
  20442. "type": "integer"
  20443. },
  20444. "openmemberchargevalue": {
  20445. "description": "建仓会员手续费设置值",
  20446. "type": "number"
  20447. },
  20448. "openqty": {
  20449. "description": "开仓数量(先建后平操作 需要记录)",
  20450. "type": "integer"
  20451. },
  20452. "optiontype": {
  20453. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20454. "type": "integer"
  20455. },
  20456. "orderid": {
  20457. "description": "委托单号",
  20458. "type": "string"
  20459. },
  20460. "performanceplanid": {
  20461. "description": "履约计划ID[期权]",
  20462. "type": "integer"
  20463. },
  20464. "performancestatus": {
  20465. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20466. "type": "integer"
  20467. },
  20468. "preexerciseprice": {
  20469. "description": "预申报价格",
  20470. "type": "number"
  20471. },
  20472. "premium": {
  20473. "description": "权利金 - [持仓单的权利金]",
  20474. "type": "number"
  20475. },
  20476. "relatedouttradeid": {
  20477. "description": "关联外部成交单ID",
  20478. "type": "integer"
  20479. },
  20480. "status": {
  20481. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20482. "type": "integer"
  20483. },
  20484. "tradeamount": {
  20485. "description": "成交金额[账户币种,用于所有权]",
  20486. "type": "number"
  20487. },
  20488. "tradedate": {
  20489. "description": "交易日(yyyyMMdd)",
  20490. "type": "string"
  20491. },
  20492. "tradeid": {
  20493. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20494. "type": "string"
  20495. },
  20496. "trademode": {
  20497. "description": "交易模式",
  20498. "type": "integer"
  20499. },
  20500. "tradeprice": {
  20501. "description": "成交价格",
  20502. "type": "number"
  20503. },
  20504. "tradeproperty": {
  20505. "description": "交易属性",
  20506. "type": "integer"
  20507. },
  20508. "tradeqty": {
  20509. "description": "成交数量",
  20510. "type": "integer"
  20511. },
  20512. "tradetime": {
  20513. "description": "成交时间",
  20514. "type": "string"
  20515. },
  20516. "tradetype": {
  20517. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20518. "type": "integer"
  20519. }
  20520. }
  20521. },
  20522. "order.QueryHisTradeOrderDetailRsp": {
  20523. "type": "object",
  20524. "required": [
  20525. "accountid",
  20526. "buildtype",
  20527. "buyorsell",
  20528. "goodsid",
  20529. "histradedate",
  20530. "marketid",
  20531. "memberuserid",
  20532. "operatetype",
  20533. "orderid",
  20534. "orderqty",
  20535. "ordertime",
  20536. "pricemode",
  20537. "tradedate",
  20538. "validtype"
  20539. ],
  20540. "properties": {
  20541. "accountid": {
  20542. "description": "账户ID[报价币种]",
  20543. "type": "integer"
  20544. },
  20545. "buildtype": {
  20546. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20547. "type": "integer"
  20548. },
  20549. "buyorsell": {
  20550. "description": "买卖 - 0:买 1:卖",
  20551. "type": "integer"
  20552. },
  20553. "cancelorderid": {
  20554. "description": "撤单单号(撤单时填写)",
  20555. "type": "string"
  20556. },
  20557. "cancelqty": {
  20558. "description": "撤单数量",
  20559. "type": "integer"
  20560. },
  20561. "clientordertime": {
  20562. "description": "客户端委托时间",
  20563. "type": "string"
  20564. },
  20565. "clientticket": {
  20566. "description": "客户端流水号",
  20567. "type": "string"
  20568. },
  20569. "clienttype": {
  20570. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20571. "type": "integer"
  20572. },
  20573. "closeexchagechargevalue": {
  20574. "description": "平仓交易所手续费设置值",
  20575. "type": "number"
  20576. },
  20577. "closefeealgorithm": {
  20578. "description": "平仓手续费收取方式 1:比率 2:固定",
  20579. "type": "integer"
  20580. },
  20581. "closefreezecharge": {
  20582. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20583. "type": "number"
  20584. },
  20585. "closememberchargevalue": {
  20586. "description": "平仓会员手续费设置值",
  20587. "type": "number"
  20588. },
  20589. "closeqty": {
  20590. "description": "平仓数量(先建后平操作 需要记录)",
  20591. "type": "integer"
  20592. },
  20593. "closetradeqty": {
  20594. "description": "平仓成交数量(先建后平操作,需要记录)",
  20595. "type": "integer"
  20596. },
  20597. "closeunfreezecharge": {
  20598. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20599. "type": "number"
  20600. },
  20601. "delistingtype": {
  20602. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20603. "type": "integer"
  20604. },
  20605. "freezecharge": {
  20606. "description": "冻结手续费",
  20607. "type": "number"
  20608. },
  20609. "freezemargin": {
  20610. "description": "冻结保证金(冻结交易金额)",
  20611. "type": "number"
  20612. },
  20613. "gcaccountid": {
  20614. "description": "账户ID[合约币种]",
  20615. "type": "integer"
  20616. },
  20617. "goodscode": {
  20618. "description": "商品代码",
  20619. "type": "string"
  20620. },
  20621. "goodsid": {
  20622. "description": "商品ID",
  20623. "type": "integer"
  20624. },
  20625. "goodsname": {
  20626. "description": "商品名称",
  20627. "type": "string"
  20628. },
  20629. "histradedate": {
  20630. "description": "历史交易日",
  20631. "type": "string"
  20632. },
  20633. "isconfirmexercise": {
  20634. "description": "是否确认行权- 0:否 1:是",
  20635. "type": "integer"
  20636. },
  20637. "ispreexercise": {
  20638. "description": "是否预申报- 0:否 1:是",
  20639. "type": "integer"
  20640. },
  20641. "isvaliddata": {
  20642. "description": "是否有效 - 0:无效 1:有效",
  20643. "type": "integer"
  20644. },
  20645. "listingselecttype": {
  20646. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20647. "type": "integer"
  20648. },
  20649. "marginalgorithm": {
  20650. "description": "保证金收取方式 1:比率 2:固定",
  20651. "type": "integer"
  20652. },
  20653. "marginvalue": {
  20654. "description": "即市保证金设置值",
  20655. "type": "number"
  20656. },
  20657. "marketid": {
  20658. "description": "市场ID",
  20659. "type": "integer"
  20660. },
  20661. "marketmaxsub": {
  20662. "description": "市价最大偏移范围",
  20663. "type": "number"
  20664. },
  20665. "marketname": {
  20666. "description": "市场名称",
  20667. "type": "string"
  20668. },
  20669. "memberuserid": {
  20670. "description": "所属会员UserID",
  20671. "type": "integer"
  20672. },
  20673. "openexchagechargevalue": {
  20674. "description": "建仓交易所手续费设置值",
  20675. "type": "number"
  20676. },
  20677. "openfeealgorithm": {
  20678. "description": "建仓手续费收取方式 1:比率 2:固定",
  20679. "type": "integer"
  20680. },
  20681. "openfreezecharge": {
  20682. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20683. "type": "number"
  20684. },
  20685. "openmemberchargevalue": {
  20686. "description": "建仓会员手续费设置值",
  20687. "type": "number"
  20688. },
  20689. "openqty": {
  20690. "description": "开仓数量(先建后平操作,需要记录)",
  20691. "type": "integer"
  20692. },
  20693. "opentradeqty": {
  20694. "description": "开仓成交数量(先建后平操作,需要记录)",
  20695. "type": "integer"
  20696. },
  20697. "openunfreezecharge": {
  20698. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20699. "type": "number"
  20700. },
  20701. "operatetype": {
  20702. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20703. "type": "integer"
  20704. },
  20705. "operatorid": {
  20706. "description": "登录账号(LoginID)",
  20707. "type": "integer"
  20708. },
  20709. "optiontype": {
  20710. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20711. "type": "integer"
  20712. },
  20713. "orderid": {
  20714. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20715. "type": "string"
  20716. },
  20717. "orderprice": {
  20718. "description": "委托价格",
  20719. "type": "number"
  20720. },
  20721. "orderqty": {
  20722. "description": "委托数量",
  20723. "type": "integer"
  20724. },
  20725. "ordersrc": {
  20726. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20727. "type": "integer"
  20728. },
  20729. "orderstatus": {
  20730. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20731. "type": "integer"
  20732. },
  20733. "ordertime": {
  20734. "description": "委托时间",
  20735. "type": "string"
  20736. },
  20737. "preexerciseprice": {
  20738. "description": "预申报价格",
  20739. "type": "number"
  20740. },
  20741. "premium": {
  20742. "description": "权利金",
  20743. "type": "number"
  20744. },
  20745. "preorderid": {
  20746. "description": "关联预埋单号(止盈止损单时填写)",
  20747. "type": "string"
  20748. },
  20749. "pricemode": {
  20750. "description": "取价方式 - 1:市价 2: 限价",
  20751. "type": "integer"
  20752. },
  20753. "quoteid": {
  20754. "description": "报价单ID",
  20755. "type": "integer"
  20756. },
  20757. "relatedid": {
  20758. "description": "关联单号(交割单)",
  20759. "type": "string"
  20760. },
  20761. "retcode": {
  20762. "description": "错误代码",
  20763. "type": "integer"
  20764. },
  20765. "sessionid": {
  20766. "description": "会话ID",
  20767. "type": "integer"
  20768. },
  20769. "tradedate": {
  20770. "description": "交易日(yyyyMMdd)",
  20771. "type": "string"
  20772. },
  20773. "trademode": {
  20774. "description": "交易模式",
  20775. "type": "integer"
  20776. },
  20777. "tradeproperty": {
  20778. "description": "交易属性",
  20779. "type": "integer"
  20780. },
  20781. "tradeqty": {
  20782. "description": "成交数量",
  20783. "type": "integer"
  20784. },
  20785. "unfreezecharge": {
  20786. "description": "解冻手续费",
  20787. "type": "number"
  20788. },
  20789. "unfreezemargin": {
  20790. "description": "解冻保证金",
  20791. "type": "number"
  20792. },
  20793. "updatetime": {
  20794. "description": "更新时间",
  20795. "type": "string"
  20796. },
  20797. "uuid": {
  20798. "description": "发起端唯一id",
  20799. "type": "string"
  20800. },
  20801. "validtime": {
  20802. "description": "有效期限",
  20803. "type": "string"
  20804. },
  20805. "validtype": {
  20806. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20807. "type": "integer"
  20808. },
  20809. "volumetype": {
  20810. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20811. "type": "integer"
  20812. }
  20813. }
  20814. },
  20815. "order.QueryTradeDetailRsp": {
  20816. "type": "object",
  20817. "required": [
  20818. "accountid",
  20819. "buyorsell",
  20820. "goodsid",
  20821. "marketid",
  20822. "memberuserid",
  20823. "orderid",
  20824. "tradeamount",
  20825. "tradedate",
  20826. "tradeid",
  20827. "tradeprice",
  20828. "tradeqty",
  20829. "tradetime"
  20830. ],
  20831. "properties": {
  20832. "accountid": {
  20833. "description": "账户ID[报价币种]",
  20834. "type": "integer"
  20835. },
  20836. "buildtype": {
  20837. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20838. "type": "integer"
  20839. },
  20840. "buyorsell": {
  20841. "description": "方向 - 0:买 1:卖",
  20842. "type": "integer"
  20843. },
  20844. "charge": {
  20845. "description": "手续费",
  20846. "type": "number"
  20847. },
  20848. "closecharge": {
  20849. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20850. "type": "number"
  20851. },
  20852. "closeexchagechargevalue": {
  20853. "description": "平仓交易所手续费设置值",
  20854. "type": "number"
  20855. },
  20856. "closefeealgorithm": {
  20857. "description": "平仓手续费收取方式 1:比率 2:固定",
  20858. "type": "integer"
  20859. },
  20860. "closememberchargevalue": {
  20861. "description": "平仓会员手续费设置值",
  20862. "type": "number"
  20863. },
  20864. "closepl": {
  20865. "description": "平仓盈亏",
  20866. "type": "number"
  20867. },
  20868. "closepl2": {
  20869. "description": "平仓盈亏[逐笔]",
  20870. "type": "number"
  20871. },
  20872. "closeqty": {
  20873. "description": "平仓数量(先建后平操作 需要记录)",
  20874. "type": "integer"
  20875. },
  20876. "creditamount": {
  20877. "description": "授信金额",
  20878. "type": "number"
  20879. },
  20880. "gcaccountid": {
  20881. "description": "账户ID[合约币种]",
  20882. "type": "integer"
  20883. },
  20884. "goodscode": {
  20885. "description": "商品代码",
  20886. "type": "string"
  20887. },
  20888. "goodsid": {
  20889. "description": "商品ID",
  20890. "type": "integer"
  20891. },
  20892. "goodsname": {
  20893. "description": "商品名称",
  20894. "type": "string"
  20895. },
  20896. "intclosepl": {
  20897. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20898. "type": "integer"
  20899. },
  20900. "isconfirmexercise": {
  20901. "description": "是否确认行权- 0:否 1:是",
  20902. "type": "integer"
  20903. },
  20904. "ismain": {
  20905. "description": "是否主单 - 0:不是 1:是",
  20906. "type": "integer"
  20907. },
  20908. "ispreexercise": {
  20909. "description": "是否预申报- 0:否 1:是",
  20910. "type": "integer"
  20911. },
  20912. "isreckoned": {
  20913. "description": "是否结算 - 0:未结算 1:已结算",
  20914. "type": "integer"
  20915. },
  20916. "listingselecttype": {
  20917. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20918. "type": "integer"
  20919. },
  20920. "marketid": {
  20921. "description": "市场ID",
  20922. "type": "integer"
  20923. },
  20924. "marketname": {
  20925. "description": "市场名称",
  20926. "type": "string"
  20927. },
  20928. "matchaccountid": {
  20929. "description": "对手账号id",
  20930. "type": "integer"
  20931. },
  20932. "memberuserid": {
  20933. "description": "会员id 个人投资者 需要填写",
  20934. "type": "integer"
  20935. },
  20936. "opencharge": {
  20937. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20938. "type": "number"
  20939. },
  20940. "openexchagechargevalue": {
  20941. "description": "建仓交易所手续费设置值",
  20942. "type": "number"
  20943. },
  20944. "openfeealgorithm": {
  20945. "description": "建仓手续费收取方式 1:比率 2:固定",
  20946. "type": "integer"
  20947. },
  20948. "openmemberchargevalue": {
  20949. "description": "建仓会员手续费设置值",
  20950. "type": "number"
  20951. },
  20952. "openqty": {
  20953. "description": "开仓数量(先建后平操作 需要记录)",
  20954. "type": "integer"
  20955. },
  20956. "optiontype": {
  20957. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20958. "type": "integer"
  20959. },
  20960. "orderid": {
  20961. "description": "委托单号",
  20962. "type": "string"
  20963. },
  20964. "performanceplanid": {
  20965. "description": "履约计划ID[期权]",
  20966. "type": "integer"
  20967. },
  20968. "performancestatus": {
  20969. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20970. "type": "integer"
  20971. },
  20972. "preexerciseprice": {
  20973. "description": "预申报价格",
  20974. "type": "number"
  20975. },
  20976. "premium": {
  20977. "description": "权利金 - [持仓单的权利金]",
  20978. "type": "number"
  20979. },
  20980. "relatedouttradeid": {
  20981. "description": "关联外部成交单ID",
  20982. "type": "integer"
  20983. },
  20984. "status": {
  20985. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20986. "type": "integer"
  20987. },
  20988. "tradeamount": {
  20989. "description": "成交金额[账户币种,用于所有权]",
  20990. "type": "number"
  20991. },
  20992. "tradedate": {
  20993. "description": "交易日(yyyyMMdd)",
  20994. "type": "string"
  20995. },
  20996. "tradeid": {
  20997. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20998. "type": "string"
  20999. },
  21000. "trademode": {
  21001. "description": "交易模式",
  21002. "type": "integer"
  21003. },
  21004. "tradeprice": {
  21005. "description": "成交价格",
  21006. "type": "number"
  21007. },
  21008. "tradeproperty": {
  21009. "description": "交易属性",
  21010. "type": "integer"
  21011. },
  21012. "tradeqty": {
  21013. "description": "成交数量",
  21014. "type": "integer"
  21015. },
  21016. "tradetime": {
  21017. "description": "成交时间",
  21018. "type": "string"
  21019. },
  21020. "tradetype": {
  21021. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21022. "type": "integer"
  21023. }
  21024. }
  21025. },
  21026. "order.QueryTradeOrderDetailRsp": {
  21027. "type": "object",
  21028. "required": [
  21029. "accountid",
  21030. "buildtype",
  21031. "buyorsell",
  21032. "goodsid",
  21033. "marketid",
  21034. "operatetype",
  21035. "orderqty",
  21036. "ordertime",
  21037. "pricemode",
  21038. "tradedate",
  21039. "validtype"
  21040. ],
  21041. "properties": {
  21042. "accountid": {
  21043. "description": "账户ID[报价币种]",
  21044. "type": "integer"
  21045. },
  21046. "buildtype": {
  21047. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21048. "type": "integer"
  21049. },
  21050. "buyorsell": {
  21051. "description": "买卖 - 0:买 1:卖",
  21052. "type": "integer"
  21053. },
  21054. "cancelorderid": {
  21055. "description": "撤单单号(撤单时填写)",
  21056. "type": "string"
  21057. },
  21058. "cancelqty": {
  21059. "description": "撤单数量",
  21060. "type": "integer"
  21061. },
  21062. "clienttype": {
  21063. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21064. "type": "integer"
  21065. },
  21066. "closefreezecharge": {
  21067. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21068. "type": "number"
  21069. },
  21070. "closeqty": {
  21071. "description": "平仓数量(先建后平操作 需要记录)",
  21072. "type": "integer"
  21073. },
  21074. "closetradeqty": {
  21075. "description": "平仓成交数量(先建后平操作,需要记录)",
  21076. "type": "integer"
  21077. },
  21078. "closeunfreezecharge": {
  21079. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21080. "type": "number"
  21081. },
  21082. "delistingtype": {
  21083. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21084. "type": "integer"
  21085. },
  21086. "enableqty": {
  21087. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  21088. "type": "integer"
  21089. },
  21090. "freezecharge": {
  21091. "description": "冻结手续费",
  21092. "type": "number"
  21093. },
  21094. "freezemargin": {
  21095. "description": "冻结保证金(冻结交易金额)",
  21096. "type": "number"
  21097. },
  21098. "goodscode": {
  21099. "description": "商品代码",
  21100. "type": "string"
  21101. },
  21102. "goodsid": {
  21103. "description": "商品ID",
  21104. "type": "integer"
  21105. },
  21106. "goodsname": {
  21107. "description": "商品名称",
  21108. "type": "string"
  21109. },
  21110. "listingselecttype": {
  21111. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21112. "type": "integer"
  21113. },
  21114. "marketid": {
  21115. "description": "市场ID",
  21116. "type": "integer"
  21117. },
  21118. "marketname": {
  21119. "description": "市场名称",
  21120. "type": "string"
  21121. },
  21122. "openfreezecharge": {
  21123. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21124. "type": "number"
  21125. },
  21126. "openqty": {
  21127. "description": "开仓数量(先建后平操作,需要记录)",
  21128. "type": "integer"
  21129. },
  21130. "opentradeqty": {
  21131. "description": "开仓成交数量(先建后平操作,需要记录)",
  21132. "type": "integer"
  21133. },
  21134. "openunfreezecharge": {
  21135. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21136. "type": "number"
  21137. },
  21138. "operatetype": {
  21139. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21140. "type": "integer"
  21141. },
  21142. "operatorid": {
  21143. "description": "登录账号(LoginID)",
  21144. "type": "integer"
  21145. },
  21146. "orderid": {
  21147. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21148. "type": "string"
  21149. },
  21150. "orderprice": {
  21151. "description": "委托价格",
  21152. "type": "number"
  21153. },
  21154. "orderqty": {
  21155. "description": "委托数量",
  21156. "type": "integer"
  21157. },
  21158. "ordersrc": {
  21159. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21160. "type": "integer"
  21161. },
  21162. "orderstatus": {
  21163. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21164. "type": "integer"
  21165. },
  21166. "ordertime": {
  21167. "description": "委托时间",
  21168. "type": "string"
  21169. },
  21170. "preorderid": {
  21171. "description": "关联预埋单号(止盈止损单时填写)",
  21172. "type": "string"
  21173. },
  21174. "pricemode": {
  21175. "description": "取价方式 - 1:市价 2: 限价",
  21176. "type": "integer"
  21177. },
  21178. "relatedid": {
  21179. "description": "关联单号(交割单)",
  21180. "type": "string"
  21181. },
  21182. "tradedate": {
  21183. "description": "交易日(yyyyMMdd)",
  21184. "type": "string"
  21185. },
  21186. "trademode": {
  21187. "description": "交易模式",
  21188. "type": "integer"
  21189. },
  21190. "tradeqty": {
  21191. "description": "成交数量",
  21192. "type": "integer"
  21193. },
  21194. "unfreezecharge": {
  21195. "description": "解冻手续费",
  21196. "type": "number"
  21197. },
  21198. "unfreezemargin": {
  21199. "description": "解冻保证金",
  21200. "type": "number"
  21201. },
  21202. "validtime": {
  21203. "description": "有效期限",
  21204. "type": "string"
  21205. },
  21206. "validtype": {
  21207. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21208. "type": "integer"
  21209. },
  21210. "volumetype": {
  21211. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21212. "type": "integer"
  21213. }
  21214. }
  21215. },
  21216. "order.QueryTradePositionRsp": {
  21217. "type": "object",
  21218. "required": [
  21219. "goodsid"
  21220. ],
  21221. "properties": {
  21222. "accountid": {
  21223. "description": "资金账户",
  21224. "type": "integer"
  21225. },
  21226. "agreeunit": {
  21227. "description": "合约单位",
  21228. "type": "number"
  21229. },
  21230. "averageprice": {
  21231. "description": "持仓均价",
  21232. "type": "number"
  21233. },
  21234. "buyorsell": {
  21235. "description": "方向 - 0:买 1:卖",
  21236. "type": "integer"
  21237. },
  21238. "closetotalqty": {
  21239. "description": "平仓总数量",
  21240. "type": "integer"
  21241. },
  21242. "curholderamount": {
  21243. "description": "当前持仓总金额[商品币种]",
  21244. "type": "number"
  21245. },
  21246. "curpositionqty": {
  21247. "description": "当前持仓总数量",
  21248. "type": "integer"
  21249. },
  21250. "currencyid": {
  21251. "description": "报价货币ID",
  21252. "type": "integer"
  21253. },
  21254. "curtdposition": {
  21255. "description": "期末今日头寸",
  21256. "type": "integer"
  21257. },
  21258. "decimalplace": {
  21259. "description": "报价小数位",
  21260. "type": "integer"
  21261. },
  21262. "enableqty": {
  21263. "description": "可用量",
  21264. "type": "integer"
  21265. },
  21266. "fretdposition": {
  21267. "description": "冻结今日头寸",
  21268. "type": "integer"
  21269. },
  21270. "frozenqty": {
  21271. "description": "持仓冻结数量",
  21272. "type": "integer"
  21273. },
  21274. "goodscode": {
  21275. "description": "商品代码",
  21276. "type": "string"
  21277. },
  21278. "goodsid": {
  21279. "description": "商品Id",
  21280. "type": "integer"
  21281. },
  21282. "goodsname": {
  21283. "description": "商品名称",
  21284. "type": "string"
  21285. },
  21286. "goodunit": {
  21287. "description": "报价单位",
  21288. "type": "string"
  21289. },
  21290. "goodunitid": {
  21291. "description": "报价单位ID",
  21292. "type": "integer"
  21293. },
  21294. "holderamount": {
  21295. "description": "期初持仓总金额[商品币种]",
  21296. "type": "number"
  21297. },
  21298. "marketid": {
  21299. "description": "所属市场ID",
  21300. "type": "integer"
  21301. },
  21302. "openreqqty": {
  21303. "description": "开仓申请数量(用于比较最大持仓数量)",
  21304. "type": "integer"
  21305. },
  21306. "opentotalqty": {
  21307. "description": "开仓总数量",
  21308. "type": "integer"
  21309. },
  21310. "otherfrozenqty": {
  21311. "description": "持仓其他冻结数量(交割冻结)",
  21312. "type": "integer"
  21313. },
  21314. "positionqty": {
  21315. "description": "期初持仓数量",
  21316. "type": "integer"
  21317. },
  21318. "tnqty": {
  21319. "description": "T+N冻结总量",
  21320. "type": "integer"
  21321. },
  21322. "tnusedqty": {
  21323. "description": "T+N使用量(可以使用T+N的冻结数量)",
  21324. "type": "integer"
  21325. },
  21326. "trademode": {
  21327. "description": "交易模式",
  21328. "type": "integer"
  21329. },
  21330. "usedmargin": {
  21331. "description": "占用保证金[商品币种]",
  21332. "type": "number"
  21333. }
  21334. }
  21335. },
  21336. "quote.HistoryData": {
  21337. "type": "object",
  21338. "properties": {
  21339. "c": {
  21340. "description": "收盘价",
  21341. "type": "number"
  21342. },
  21343. "f": {
  21344. "description": "是否补充数据",
  21345. "type": "boolean"
  21346. },
  21347. "h": {
  21348. "description": "最高价",
  21349. "type": "number"
  21350. },
  21351. "hv": {
  21352. "description": "持仓量",
  21353. "type": "integer"
  21354. },
  21355. "l": {
  21356. "description": "最低价",
  21357. "type": "number"
  21358. },
  21359. "o": {
  21360. "description": "开盘价",
  21361. "type": "number"
  21362. },
  21363. "s": {
  21364. "description": "结算价,日线周期(包括)以上才有",
  21365. "type": "number"
  21366. },
  21367. "ts": {
  21368. "description": "时间",
  21369. "type": "string"
  21370. },
  21371. "tt": {
  21372. "description": "总金额",
  21373. "type": "number"
  21374. },
  21375. "tv": {
  21376. "description": "总量",
  21377. "type": "integer"
  21378. }
  21379. }
  21380. },
  21381. "quote.HistoryTikData": {
  21382. "type": "object",
  21383. "properties": {
  21384. "AV": {
  21385. "description": "卖量",
  21386. "type": "integer"
  21387. },
  21388. "Ask": {
  21389. "description": "卖价",
  21390. "type": "number"
  21391. },
  21392. "BV": {
  21393. "description": "买量",
  21394. "type": "integer"
  21395. },
  21396. "Bid": {
  21397. "description": "买价",
  21398. "type": "number"
  21399. },
  21400. "HI": {
  21401. "description": "单笔持仓",
  21402. "type": "integer"
  21403. },
  21404. "HV": {
  21405. "description": "持仓量",
  21406. "type": "integer"
  21407. },
  21408. "PE": {
  21409. "description": "现价",
  21410. "type": "number"
  21411. },
  21412. "TDR": {
  21413. "description": "交易方向,0:买 1:卖",
  21414. "type": "integer"
  21415. },
  21416. "TK": {
  21417. "description": "交易类型",
  21418. "type": "integer"
  21419. },
  21420. "TS": {
  21421. "description": "行情时间文本",
  21422. "type": "string"
  21423. },
  21424. "TT": {
  21425. "description": "现金额",
  21426. "type": "number"
  21427. },
  21428. "Vol": {
  21429. "description": "现量",
  21430. "type": "integer"
  21431. }
  21432. }
  21433. },
  21434. "quote.QueryQuoteDayRsp": {
  21435. "type": "object",
  21436. "properties": {
  21437. "ask": {
  21438. "description": "卖1",
  21439. "type": "number"
  21440. },
  21441. "ask10": {
  21442. "description": "卖10",
  21443. "type": "number"
  21444. },
  21445. "ask2": {
  21446. "description": "卖2",
  21447. "type": "number"
  21448. },
  21449. "ask3": {
  21450. "description": "卖3",
  21451. "type": "number"
  21452. },
  21453. "ask4": {
  21454. "description": "卖4",
  21455. "type": "number"
  21456. },
  21457. "ask5": {
  21458. "description": "卖5",
  21459. "type": "number"
  21460. },
  21461. "ask6": {
  21462. "description": "卖6",
  21463. "type": "number"
  21464. },
  21465. "ask7": {
  21466. "description": "卖7",
  21467. "type": "number"
  21468. },
  21469. "ask8": {
  21470. "description": "卖8",
  21471. "type": "number"
  21472. },
  21473. "ask9": {
  21474. "description": "卖9",
  21475. "type": "number"
  21476. },
  21477. "askorderid": {
  21478. "description": "卖单号1",
  21479. "type": "integer"
  21480. },
  21481. "askorderid2": {
  21482. "description": "卖单号2",
  21483. "type": "integer"
  21484. },
  21485. "askorderid3": {
  21486. "description": "卖单号3",
  21487. "type": "integer"
  21488. },
  21489. "askorderid4": {
  21490. "description": "卖单号4",
  21491. "type": "integer"
  21492. },
  21493. "askorderid5": {
  21494. "description": "卖单号5",
  21495. "type": "integer"
  21496. },
  21497. "askordervolume": {
  21498. "description": "卖单量1",
  21499. "type": "integer"
  21500. },
  21501. "askordervolume10": {
  21502. "description": "卖单量10",
  21503. "type": "integer"
  21504. },
  21505. "askordervolume2": {
  21506. "description": "卖单量2",
  21507. "type": "integer"
  21508. },
  21509. "askordervolume3": {
  21510. "description": "卖单量3",
  21511. "type": "integer"
  21512. },
  21513. "askordervolume4": {
  21514. "description": "卖单量4",
  21515. "type": "integer"
  21516. },
  21517. "askordervolume5": {
  21518. "description": "卖单量5",
  21519. "type": "integer"
  21520. },
  21521. "askordervolume6": {
  21522. "description": "卖单量6",
  21523. "type": "integer"
  21524. },
  21525. "askordervolume7": {
  21526. "description": "卖单量7",
  21527. "type": "integer"
  21528. },
  21529. "askordervolume8": {
  21530. "description": "卖单量8",
  21531. "type": "integer"
  21532. },
  21533. "askordervolume9": {
  21534. "description": "卖单量9",
  21535. "type": "integer"
  21536. },
  21537. "askqueueinfo": {
  21538. "description": "大利市卖港股用",
  21539. "type": "string"
  21540. },
  21541. "askvolume": {
  21542. "description": "卖量1",
  21543. "type": "integer"
  21544. },
  21545. "askvolume10": {
  21546. "description": "卖量10",
  21547. "type": "integer"
  21548. },
  21549. "askvolume2": {
  21550. "description": "卖量2",
  21551. "type": "integer"
  21552. },
  21553. "askvolume3": {
  21554. "description": "卖量3",
  21555. "type": "integer"
  21556. },
  21557. "askvolume4": {
  21558. "description": "卖量4",
  21559. "type": "integer"
  21560. },
  21561. "askvolume5": {
  21562. "description": "卖量5",
  21563. "type": "integer"
  21564. },
  21565. "askvolume6": {
  21566. "description": "卖量6",
  21567. "type": "integer"
  21568. },
  21569. "askvolume7": {
  21570. "description": "卖量7",
  21571. "type": "integer"
  21572. },
  21573. "askvolume8": {
  21574. "description": "卖量8",
  21575. "type": "integer"
  21576. },
  21577. "askvolume9": {
  21578. "description": "卖量9",
  21579. "type": "integer"
  21580. },
  21581. "averageprice": {
  21582. "description": "均价",
  21583. "type": "number"
  21584. },
  21585. "bid": {
  21586. "description": "买1",
  21587. "type": "number"
  21588. },
  21589. "bid10": {
  21590. "description": "买10",
  21591. "type": "number"
  21592. },
  21593. "bid2": {
  21594. "description": "买2",
  21595. "type": "number"
  21596. },
  21597. "bid3": {
  21598. "description": "买3",
  21599. "type": "number"
  21600. },
  21601. "bid4": {
  21602. "description": "买4",
  21603. "type": "number"
  21604. },
  21605. "bid5": {
  21606. "description": "买5",
  21607. "type": "number"
  21608. },
  21609. "bid6": {
  21610. "description": "买6",
  21611. "type": "number"
  21612. },
  21613. "bid7": {
  21614. "description": "买7",
  21615. "type": "number"
  21616. },
  21617. "bid8": {
  21618. "description": "买8",
  21619. "type": "number"
  21620. },
  21621. "bid9": {
  21622. "description": "买9",
  21623. "type": "number"
  21624. },
  21625. "bidorderid": {
  21626. "description": "买单号1",
  21627. "type": "integer"
  21628. },
  21629. "bidorderid2": {
  21630. "description": "买单号2",
  21631. "type": "integer"
  21632. },
  21633. "bidorderid3": {
  21634. "description": "买单号3",
  21635. "type": "integer"
  21636. },
  21637. "bidorderid4": {
  21638. "description": "买单号4",
  21639. "type": "integer"
  21640. },
  21641. "bidorderid5": {
  21642. "description": "买单号5",
  21643. "type": "integer"
  21644. },
  21645. "bidordervolume": {
  21646. "description": "买单量1",
  21647. "type": "integer"
  21648. },
  21649. "bidordervolume10": {
  21650. "description": "买单量10",
  21651. "type": "integer"
  21652. },
  21653. "bidordervolume2": {
  21654. "description": "买单量2",
  21655. "type": "integer"
  21656. },
  21657. "bidordervolume3": {
  21658. "description": "买单量3",
  21659. "type": "integer"
  21660. },
  21661. "bidordervolume4": {
  21662. "description": "买单量4",
  21663. "type": "integer"
  21664. },
  21665. "bidordervolume5": {
  21666. "description": "买单量5",
  21667. "type": "integer"
  21668. },
  21669. "bidordervolume6": {
  21670. "description": "买单量6",
  21671. "type": "integer"
  21672. },
  21673. "bidordervolume7": {
  21674. "description": "买单量7",
  21675. "type": "integer"
  21676. },
  21677. "bidordervolume8": {
  21678. "description": "买单量8",
  21679. "type": "integer"
  21680. },
  21681. "bidordervolume9": {
  21682. "description": "买单量9",
  21683. "type": "integer"
  21684. },
  21685. "bidqueueinfo": {
  21686. "description": "大利市买港股用",
  21687. "type": "string"
  21688. },
  21689. "bidvolume": {
  21690. "description": "买量1",
  21691. "type": "integer"
  21692. },
  21693. "bidvolume10": {
  21694. "description": "买量10",
  21695. "type": "integer"
  21696. },
  21697. "bidvolume2": {
  21698. "description": "买量2",
  21699. "type": "integer"
  21700. },
  21701. "bidvolume3": {
  21702. "description": "买量3",
  21703. "type": "integer"
  21704. },
  21705. "bidvolume4": {
  21706. "description": "买量4",
  21707. "type": "integer"
  21708. },
  21709. "bidvolume5": {
  21710. "description": "买量5",
  21711. "type": "integer"
  21712. },
  21713. "bidvolume6": {
  21714. "description": "买量6",
  21715. "type": "integer"
  21716. },
  21717. "bidvolume7": {
  21718. "description": "买量7",
  21719. "type": "integer"
  21720. },
  21721. "bidvolume8": {
  21722. "description": "买量8",
  21723. "type": "integer"
  21724. },
  21725. "bidvolume9": {
  21726. "description": "买量9",
  21727. "type": "integer"
  21728. },
  21729. "calloptionpremiums": {
  21730. "description": "认购期权1",
  21731. "type": "integer"
  21732. },
  21733. "calloptionpremiums2": {
  21734. "description": "认购期权2",
  21735. "type": "integer"
  21736. },
  21737. "calloptionpremiums3": {
  21738. "description": "认购期权3",
  21739. "type": "integer"
  21740. },
  21741. "calloptionpremiums4": {
  21742. "description": "认购期权4",
  21743. "type": "integer"
  21744. },
  21745. "calloptionpremiums5": {
  21746. "description": "认购期权5",
  21747. "type": "integer"
  21748. },
  21749. "cleartime": {
  21750. "description": "清盘时间",
  21751. "type": "integer"
  21752. },
  21753. "exchangecode": {
  21754. "description": "交易所代码",
  21755. "type": "integer"
  21756. },
  21757. "exchangedate": {
  21758. "description": "交易日",
  21759. "type": "integer"
  21760. },
  21761. "goodscode": {
  21762. "description": "商品代码",
  21763. "type": "string"
  21764. },
  21765. "grepmarketprice": {
  21766. "description": "暗盘价 港股专用",
  21767. "type": "number"
  21768. },
  21769. "highest": {
  21770. "description": "最高价",
  21771. "type": "number"
  21772. },
  21773. "holdincrement": {
  21774. "description": "单笔持仓",
  21775. "type": "integer"
  21776. },
  21777. "holdvolume": {
  21778. "description": "持仓",
  21779. "type": "integer"
  21780. },
  21781. "iep": {
  21782. "description": "平衡价 港股专用",
  21783. "type": "number"
  21784. },
  21785. "iev": {
  21786. "description": "平衡量 港股专用",
  21787. "type": "number"
  21788. },
  21789. "inventory": {
  21790. "description": "库存",
  21791. "type": "integer"
  21792. },
  21793. "iscleared": {
  21794. "description": "是否清盘标志",
  21795. "type": "integer"
  21796. },
  21797. "issettled": {
  21798. "description": "是否结算标志",
  21799. "type": "integer"
  21800. },
  21801. "last": {
  21802. "description": "最新价",
  21803. "type": "number"
  21804. },
  21805. "lastlot": {
  21806. "description": "最新成交手数",
  21807. "type": "integer"
  21808. },
  21809. "lasttime": {
  21810. "description": "行情时间(只有现价变化行情时间才变化)",
  21811. "type": "string"
  21812. },
  21813. "lastturnover": {
  21814. "description": "最新成交金额",
  21815. "type": "number"
  21816. },
  21817. "lastvolume": {
  21818. "description": "最新成交量",
  21819. "type": "integer"
  21820. },
  21821. "limitdown": {
  21822. "description": "跌停价",
  21823. "type": "number"
  21824. },
  21825. "limitup": {
  21826. "description": "涨停价",
  21827. "type": "number"
  21828. },
  21829. "lowest": {
  21830. "description": "最低价",
  21831. "type": "number"
  21832. },
  21833. "nontotalholdervolume": {
  21834. "description": "非交易持仓量",
  21835. "type": "integer"
  21836. },
  21837. "nontotallot": {
  21838. "description": "非交易总手数",
  21839. "type": "integer"
  21840. },
  21841. "nontotalturnover": {
  21842. "description": "非交易总金额",
  21843. "type": "integer"
  21844. },
  21845. "nontotalvolume": {
  21846. "description": "非交易总量",
  21847. "type": "integer"
  21848. },
  21849. "opened": {
  21850. "description": "开盘价",
  21851. "type": "number"
  21852. },
  21853. "opentime": {
  21854. "description": "开盘时间",
  21855. "type": "string"
  21856. },
  21857. "orderid": {
  21858. "description": "序号",
  21859. "type": "integer"
  21860. },
  21861. "preclose": {
  21862. "description": "昨收",
  21863. "type": "number"
  21864. },
  21865. "preholdvolume": {
  21866. "description": "昨持仓",
  21867. "type": "integer"
  21868. },
  21869. "presettle": {
  21870. "description": "昨结价",
  21871. "type": "number"
  21872. },
  21873. "publictradetype": {
  21874. "description": "公共交易标志类型 港股专用",
  21875. "type": "string"
  21876. },
  21877. "putoptionpremiums": {
  21878. "description": "认沽期权1",
  21879. "type": "integer"
  21880. },
  21881. "putoptionpremiums2": {
  21882. "description": "认沽期权2",
  21883. "type": "integer"
  21884. },
  21885. "putoptionpremiums3": {
  21886. "description": "认沽期权3",
  21887. "type": "integer"
  21888. },
  21889. "putoptionpremiums4": {
  21890. "description": "认沽期权4",
  21891. "type": "integer"
  21892. },
  21893. "putoptionpremiums5": {
  21894. "description": "认沽期权5",
  21895. "type": "integer"
  21896. },
  21897. "settle": {
  21898. "description": "结算价",
  21899. "type": "number"
  21900. },
  21901. "strikeprice": {
  21902. "description": "发行价",
  21903. "type": "number"
  21904. },
  21905. "totalaskvolume": {
  21906. "description": "内盘",
  21907. "type": "integer"
  21908. },
  21909. "totalbidvolume": {
  21910. "description": "外盘",
  21911. "type": "integer"
  21912. },
  21913. "totallot": {
  21914. "description": "总手数",
  21915. "type": "integer"
  21916. },
  21917. "totalturnover": {
  21918. "description": "总金额",
  21919. "type": "number"
  21920. },
  21921. "totalvolume": {
  21922. "description": "总量",
  21923. "type": "integer"
  21924. },
  21925. "utclasttime": {
  21926. "description": "utc的行情时间",
  21927. "type": "string"
  21928. }
  21929. }
  21930. },
  21931. "quote.QueryTSDataRsp": {
  21932. "type": "object",
  21933. "properties": {
  21934. "Count": {
  21935. "description": "交易日应有数据个数",
  21936. "type": "integer"
  21937. },
  21938. "decimalPlace": {
  21939. "description": "小数位",
  21940. "type": "integer"
  21941. },
  21942. "endTime": {
  21943. "description": "结束时间",
  21944. "type": "string"
  21945. },
  21946. "goodsCode": {
  21947. "description": "商品代码",
  21948. "type": "string"
  21949. },
  21950. "historyDatas": {
  21951. "description": "历史数据",
  21952. "type": "array",
  21953. "items": {
  21954. "$ref": "#/definitions/quote.HistoryData"
  21955. }
  21956. },
  21957. "outGoodsCode": {
  21958. "description": "外部商品代码",
  21959. "type": "string"
  21960. },
  21961. "preSettle": {
  21962. "description": "昨结价",
  21963. "type": "number"
  21964. },
  21965. "runSteps": {
  21966. "description": "交易日开休市计划",
  21967. "type": "array",
  21968. "items": {
  21969. "$ref": "#/definitions/quote.TSDataRunStep"
  21970. }
  21971. },
  21972. "startTime": {
  21973. "description": "开始时间",
  21974. "type": "string"
  21975. },
  21976. "tradeDate": {
  21977. "description": "交易日",
  21978. "type": "string"
  21979. }
  21980. }
  21981. },
  21982. "quote.TSDataRunStep": {
  21983. "type": "object",
  21984. "properties": {
  21985. "end": {
  21986. "description": "真实结束时间",
  21987. "type": "string"
  21988. },
  21989. "endflag": {
  21990. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  21991. "type": "integer"
  21992. },
  21993. "endtime": {
  21994. "description": "结束时间(HH:mm)",
  21995. "type": "string"
  21996. },
  21997. "endweekday": {
  21998. "description": "结束周几",
  21999. "type": "integer"
  22000. },
  22001. "groupid": {
  22002. "description": "分组ID",
  22003. "type": "integer"
  22004. },
  22005. "runstep": {
  22006. "description": "运行阶段 - 2:连续交易",
  22007. "type": "integer"
  22008. },
  22009. "sectionid": {
  22010. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  22011. "type": "integer"
  22012. },
  22013. "start": {
  22014. "description": "真实开始时间",
  22015. "type": "string"
  22016. },
  22017. "startflag": {
  22018. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  22019. "type": "integer"
  22020. },
  22021. "starttime": {
  22022. "description": "起始时间(HH:mm)",
  22023. "type": "string"
  22024. },
  22025. "startweekday": {
  22026. "description": "起始周几",
  22027. "type": "integer"
  22028. },
  22029. "tradeweekday": {
  22030. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  22031. "type": "integer"
  22032. }
  22033. }
  22034. },
  22035. "szdz.QueryConvertLogRsp": {
  22036. "type": "object",
  22037. "required": [
  22038. "logid"
  22039. ],
  22040. "properties": {
  22041. "accountid": {
  22042. "description": "资金账户ID",
  22043. "type": "integer"
  22044. },
  22045. "clientticket": {
  22046. "description": "客户端流水号",
  22047. "type": "string"
  22048. },
  22049. "converttype": {
  22050. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  22051. "type": "integer"
  22052. },
  22053. "createtime": {
  22054. "description": "记账时间",
  22055. "type": "string"
  22056. },
  22057. "daymaxvalue": {
  22058. "description": "配置当日最大转入限制",
  22059. "type": "number"
  22060. },
  22061. "daymaxvalue2": {
  22062. "description": "配置当日最大转入限制(转入)",
  22063. "type": "number"
  22064. },
  22065. "goodscode": {
  22066. "description": "商品代码",
  22067. "type": "string"
  22068. },
  22069. "goodsname": {
  22070. "description": "商品名称",
  22071. "type": "string"
  22072. },
  22073. "handlestatus": {
  22074. "description": "处理状态",
  22075. "type": "integer"
  22076. },
  22077. "innergoodsid": {
  22078. "description": "内部商品ID",
  22079. "type": "integer"
  22080. },
  22081. "inratio": {
  22082. "description": "配置转入比值",
  22083. "type": "integer"
  22084. },
  22085. "invalue": {
  22086. "description": "目标值",
  22087. "type": "number"
  22088. },
  22089. "logid": {
  22090. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22091. "type": "integer"
  22092. },
  22093. "mobile": {
  22094. "description": "手机号码(加密存储)",
  22095. "type": "string"
  22096. },
  22097. "outergoodscode": {
  22098. "description": "外部商品代码[JD\\PD]",
  22099. "type": "string"
  22100. },
  22101. "outratio": {
  22102. "description": "配置转出比值",
  22103. "type": "integer"
  22104. },
  22105. "outvalue": {
  22106. "description": "源值",
  22107. "type": "number"
  22108. },
  22109. "pddecimalplace": {
  22110. "description": "PD小数位",
  22111. "type": "integer"
  22112. },
  22113. "qty": {
  22114. "description": "数量",
  22115. "type": "string"
  22116. },
  22117. "remark": {
  22118. "description": "备注",
  22119. "type": "string"
  22120. },
  22121. "sessionid": {
  22122. "description": "会话ID",
  22123. "type": "integer"
  22124. },
  22125. "timemaxvalue": {
  22126. "description": "配置单次最大转入限制",
  22127. "type": "number"
  22128. },
  22129. "timemaxvalue2": {
  22130. "description": "配置单次最大转入限制(转入)",
  22131. "type": "number"
  22132. },
  22133. "timeminvalue": {
  22134. "description": "配置单次最小数量限制",
  22135. "type": "number"
  22136. },
  22137. "timeminvalue2": {
  22138. "description": "配置单次最小数量限制(转入)",
  22139. "type": "number"
  22140. },
  22141. "tradedate": {
  22142. "description": "交易日(yyyyMMdd)",
  22143. "type": "string"
  22144. },
  22145. "userid": {
  22146. "description": "用户ID",
  22147. "type": "integer"
  22148. }
  22149. }
  22150. },
  22151. "szdz.QueryGoodsPickupRsp": {
  22152. "type": "object",
  22153. "required": [
  22154. "takeorderid"
  22155. ],
  22156. "properties": {
  22157. "accountid": {
  22158. "description": "账户ID",
  22159. "type": "integer"
  22160. },
  22161. "address": {
  22162. "description": "提货人详细地址",
  22163. "type": "string"
  22164. },
  22165. "auditer": {
  22166. "description": "审核人",
  22167. "type": "integer"
  22168. },
  22169. "audittime": {
  22170. "description": "审核时间",
  22171. "type": "string"
  22172. },
  22173. "cardnum": {
  22174. "description": "提货人证件号码",
  22175. "type": "string"
  22176. },
  22177. "cardtypeid": {
  22178. "description": "提货人证件类型",
  22179. "type": "integer"
  22180. },
  22181. "checkremark": {
  22182. "description": "审核备注",
  22183. "type": "string"
  22184. },
  22185. "goodscode": {
  22186. "description": "商品代码",
  22187. "type": "string"
  22188. },
  22189. "goodsid": {
  22190. "description": "商品ID",
  22191. "type": "integer"
  22192. },
  22193. "goodsname": {
  22194. "description": "商品名称",
  22195. "type": "string"
  22196. },
  22197. "handlestatus": {
  22198. "description": "处理状态",
  22199. "type": "integer"
  22200. },
  22201. "marketid": {
  22202. "description": "市场ID",
  22203. "type": "integer"
  22204. },
  22205. "phonenum": {
  22206. "description": "提货人联系方式",
  22207. "type": "string"
  22208. },
  22209. "qty": {
  22210. "description": "提货数量",
  22211. "type": "number"
  22212. },
  22213. "recivername": {
  22214. "description": "提货人姓名",
  22215. "type": "string"
  22216. },
  22217. "reqtime": {
  22218. "description": "更新时间",
  22219. "type": "string"
  22220. },
  22221. "takemode": {
  22222. "description": "提货方式 - 2:自提 3:配送",
  22223. "type": "integer"
  22224. },
  22225. "takeorderid": {
  22226. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22227. "type": "string"
  22228. },
  22229. "takeorderstatus": {
  22230. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22231. "type": "integer"
  22232. },
  22233. "takeremark": {
  22234. "description": "提货备注",
  22235. "type": "string"
  22236. },
  22237. "tradedate": {
  22238. "description": "交易日(yyyyMMdd)",
  22239. "type": "string"
  22240. },
  22241. "userid": {
  22242. "description": "用户ID",
  22243. "type": "integer"
  22244. }
  22245. }
  22246. },
  22247. "szdz.QueryRecieptOrderRsp": {
  22248. "type": "object",
  22249. "required": [
  22250. "ordertime"
  22251. ],
  22252. "properties": {
  22253. "accountName": {
  22254. "description": "所属账号名称(已脱敏)",
  22255. "type": "string"
  22256. },
  22257. "accountid": {
  22258. "description": "资金账号",
  22259. "type": "integer"
  22260. },
  22261. "buyorsell": {
  22262. "description": "方向 - 0:买 1:卖",
  22263. "type": "integer"
  22264. },
  22265. "enableqty": {
  22266. "description": "可摘数量",
  22267. "type": "integer"
  22268. },
  22269. "goodscode": {
  22270. "description": "商品代码",
  22271. "type": "string"
  22272. },
  22273. "goodsid": {
  22274. "description": "商品ID",
  22275. "type": "integer"
  22276. },
  22277. "goodsname": {
  22278. "description": "商品名称",
  22279. "type": "string"
  22280. },
  22281. "orderid": {
  22282. "description": "委托单号",
  22283. "type": "string"
  22284. },
  22285. "orderprice": {
  22286. "description": "委托价格",
  22287. "type": "number"
  22288. },
  22289. "ordertime": {
  22290. "description": "委托时间",
  22291. "type": "string"
  22292. },
  22293. "tradedate": {
  22294. "description": "交易日(yyyyMMdd)",
  22295. "type": "string"
  22296. }
  22297. }
  22298. },
  22299. "szdz.QuerySZDZTradePositionRsp": {
  22300. "type": "object",
  22301. "properties": {
  22302. "accountid": {
  22303. "description": "账号Id",
  22304. "type": "integer"
  22305. },
  22306. "agreeunit": {
  22307. "description": "合约单位",
  22308. "type": "number"
  22309. },
  22310. "averageprice": {
  22311. "description": "持仓均价",
  22312. "type": "number"
  22313. },
  22314. "buyorsell": {
  22315. "description": "方向 - 0:买 1:卖",
  22316. "type": "integer"
  22317. },
  22318. "closetotalqty": {
  22319. "description": "平仓总数量",
  22320. "type": "integer"
  22321. },
  22322. "curholderamount": {
  22323. "description": "当前持仓总金额",
  22324. "type": "number"
  22325. },
  22326. "curpositionqty": {
  22327. "description": "当前持仓总数量",
  22328. "type": "integer"
  22329. },
  22330. "currencyid": {
  22331. "description": "报价货币ID",
  22332. "type": "integer"
  22333. },
  22334. "curtdposition": {
  22335. "description": "期末今日头寸",
  22336. "type": "integer"
  22337. },
  22338. "decimalplace": {
  22339. "description": "报价小数位",
  22340. "type": "integer"
  22341. },
  22342. "enableqty": {
  22343. "description": "可用量",
  22344. "type": "integer"
  22345. },
  22346. "fretdposition": {
  22347. "description": "冻结今日头寸",
  22348. "type": "integer"
  22349. },
  22350. "frozenqty": {
  22351. "description": "持仓冻结数量",
  22352. "type": "integer"
  22353. },
  22354. "goodscode": {
  22355. "description": "商品代码(内部)",
  22356. "type": "string"
  22357. },
  22358. "goodsid": {
  22359. "description": "商品Id",
  22360. "type": "integer"
  22361. },
  22362. "goodsname": {
  22363. "description": "商品名称",
  22364. "type": "string"
  22365. },
  22366. "goodunit": {
  22367. "description": "报价单位",
  22368. "type": "string"
  22369. },
  22370. "goodunitid": {
  22371. "description": "报价单位ID",
  22372. "type": "integer"
  22373. },
  22374. "holderamount": {
  22375. "description": "期初持仓总金额",
  22376. "type": "number"
  22377. },
  22378. "marketid": {
  22379. "description": "市场ID",
  22380. "type": "integer"
  22381. },
  22382. "openreqqty": {
  22383. "description": "开仓申请数量",
  22384. "type": "integer"
  22385. },
  22386. "opentotalqty": {
  22387. "description": "开仓总数量",
  22388. "type": "integer"
  22389. },
  22390. "otherfrozenqty": {
  22391. "description": "持仓其他冻结数量(交割冻结)",
  22392. "type": "integer"
  22393. },
  22394. "positionqty": {
  22395. "description": "期初持仓数量",
  22396. "type": "integer"
  22397. },
  22398. "szdz3freezqty": {
  22399. "description": "尚志大宗转换冻结总数量",
  22400. "type": "integer"
  22401. },
  22402. "tnqty": {
  22403. "description": "T+N冻结总量",
  22404. "type": "integer"
  22405. },
  22406. "tnusedqty": {
  22407. "description": "T+N使用量",
  22408. "type": "integer"
  22409. },
  22410. "trademode": {
  22411. "description": "交易模式",
  22412. "type": "integer"
  22413. },
  22414. "usedmargin": {
  22415. "description": "占用保证金",
  22416. "type": "number"
  22417. }
  22418. }
  22419. },
  22420. "taaccount.QueryAmountLogRsp": {
  22421. "type": "object",
  22422. "required": [
  22423. "accountid",
  22424. "amount",
  22425. "amountadjusttype",
  22426. "autoid",
  22427. "balance",
  22428. "createtime",
  22429. "currentbalance",
  22430. "operatetype"
  22431. ],
  22432. "properties": {
  22433. "OPERATETYPENAME": {
  22434. "description": "资金操作类型名称",
  22435. "type": "string"
  22436. },
  22437. "accountid": {
  22438. "description": "资金账户ID",
  22439. "type": "integer"
  22440. },
  22441. "agoodscode": {
  22442. "description": "竞拍商品代码",
  22443. "type": "string"
  22444. },
  22445. "agoodsname": {
  22446. "description": "竞拍商品名称",
  22447. "type": "string"
  22448. },
  22449. "amount": {
  22450. "description": "资金金额",
  22451. "type": "number"
  22452. },
  22453. "amountadjusttype": {
  22454. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  22455. "type": "integer"
  22456. },
  22457. "autoid": {
  22458. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  22459. "type": "integer"
  22460. },
  22461. "balance": {
  22462. "description": "期初余额",
  22463. "type": "number"
  22464. },
  22465. "businesscode": {
  22466. "description": "业务编号",
  22467. "type": "integer"
  22468. },
  22469. "createtime": {
  22470. "description": "发生时间",
  22471. "type": "string"
  22472. },
  22473. "currencyid": {
  22474. "description": "币种ID",
  22475. "type": "integer"
  22476. },
  22477. "currentbalance": {
  22478. "description": "期末余额(变动后金额)",
  22479. "type": "number"
  22480. },
  22481. "dgoodscode": {
  22482. "description": "交割商品代码",
  22483. "type": "string"
  22484. },
  22485. "dgoodsname": {
  22486. "description": "交割商品名称",
  22487. "type": "string"
  22488. },
  22489. "goodscode": {
  22490. "description": "商品代码",
  22491. "type": "string"
  22492. },
  22493. "goodsid": {
  22494. "description": "商品ID",
  22495. "type": "integer"
  22496. },
  22497. "goodsname": {
  22498. "description": "商品名称",
  22499. "type": "string"
  22500. },
  22501. "marketid": {
  22502. "description": "市场ID",
  22503. "type": "integer"
  22504. },
  22505. "marketname": {
  22506. "description": "市场名称",
  22507. "type": "string"
  22508. },
  22509. "moneyticket": {
  22510. "description": "资金流水号:银行端流水号",
  22511. "type": "integer"
  22512. },
  22513. "operatetype": {
  22514. "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:营销收款",
  22515. "type": "integer"
  22516. },
  22517. "relationorderid": {
  22518. "description": "关联单号",
  22519. "type": "string"
  22520. },
  22521. "remark": {
  22522. "description": "备注",
  22523. "type": "string"
  22524. },
  22525. "trademode": {
  22526. "description": "交易模式",
  22527. "type": "integer"
  22528. }
  22529. }
  22530. },
  22531. "taaccount.QueryHisAmountLogRsp": {
  22532. "type": "object",
  22533. "required": [
  22534. "accountid",
  22535. "amount",
  22536. "amountadjusttype",
  22537. "autoid",
  22538. "balance",
  22539. "createtime",
  22540. "currentbalance",
  22541. "histradedate",
  22542. "operatetype"
  22543. ],
  22544. "properties": {
  22545. "OPERATETYPENAME": {
  22546. "description": "资金操作类型名称",
  22547. "type": "string"
  22548. },
  22549. "accountid": {
  22550. "description": "资金账户ID",
  22551. "type": "integer"
  22552. },
  22553. "agoodscode": {
  22554. "description": "竞拍商品代码",
  22555. "type": "string"
  22556. },
  22557. "agoodsname": {
  22558. "description": "竞拍商品名称",
  22559. "type": "string"
  22560. },
  22561. "amount": {
  22562. "description": "资金金额",
  22563. "type": "number"
  22564. },
  22565. "amountadjusttype": {
  22566. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  22567. "type": "integer"
  22568. },
  22569. "autoid": {
  22570. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  22571. "type": "integer"
  22572. },
  22573. "balance": {
  22574. "description": "期初余额",
  22575. "type": "number"
  22576. },
  22577. "businesscode": {
  22578. "description": "业务编号",
  22579. "type": "integer"
  22580. },
  22581. "createtime": {
  22582. "description": "发生时间",
  22583. "type": "string"
  22584. },
  22585. "currencyid": {
  22586. "description": "币种ID",
  22587. "type": "integer"
  22588. },
  22589. "currentbalance": {
  22590. "description": "期末余额(变动后金额)",
  22591. "type": "number"
  22592. },
  22593. "dgoodscode": {
  22594. "description": "交割商品代码",
  22595. "type": "string"
  22596. },
  22597. "dgoodsname": {
  22598. "description": "交割商品名称",
  22599. "type": "string"
  22600. },
  22601. "goodscode": {
  22602. "description": "商品代码",
  22603. "type": "string"
  22604. },
  22605. "goodsid": {
  22606. "description": "商品ID",
  22607. "type": "integer"
  22608. },
  22609. "goodsname": {
  22610. "description": "商品名称",
  22611. "type": "string"
  22612. },
  22613. "histradedate": {
  22614. "description": "历史交易日",
  22615. "type": "string"
  22616. },
  22617. "isvaliddata": {
  22618. "description": "是否有效 - 0:无效 1:有效",
  22619. "type": "integer"
  22620. },
  22621. "marketid": {
  22622. "description": "市场ID",
  22623. "type": "integer"
  22624. },
  22625. "marketname": {
  22626. "description": "市场名称",
  22627. "type": "string"
  22628. },
  22629. "moneyticket": {
  22630. "description": "资金流水号:银行端流水号",
  22631. "type": "integer"
  22632. },
  22633. "operatetype": {
  22634. "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:营销收款",
  22635. "type": "integer"
  22636. },
  22637. "relationorderid": {
  22638. "description": "关联单号",
  22639. "type": "string"
  22640. },
  22641. "remark": {
  22642. "description": "备注",
  22643. "type": "string"
  22644. },
  22645. "trademode": {
  22646. "description": "交易模式",
  22647. "type": "integer"
  22648. }
  22649. }
  22650. },
  22651. "trade.QueryRecieptOrderRsp": {
  22652. "type": "object",
  22653. "required": [
  22654. "ordertime"
  22655. ],
  22656. "properties": {
  22657. "accountName": {
  22658. "description": "所属账号名称(已脱敏)",
  22659. "type": "string"
  22660. },
  22661. "accountid": {
  22662. "description": "资金账号",
  22663. "type": "integer"
  22664. },
  22665. "buyorsell": {
  22666. "description": "方向 - 0:买 1:卖",
  22667. "type": "integer"
  22668. },
  22669. "enableqty": {
  22670. "description": "可摘数量",
  22671. "type": "integer"
  22672. },
  22673. "goodscode": {
  22674. "description": "商品代码",
  22675. "type": "string"
  22676. },
  22677. "goodsid": {
  22678. "description": "商品ID",
  22679. "type": "integer"
  22680. },
  22681. "goodsname": {
  22682. "description": "商品名称",
  22683. "type": "string"
  22684. },
  22685. "orderid": {
  22686. "description": "委托单号",
  22687. "type": "string"
  22688. },
  22689. "orderprice": {
  22690. "description": "委托价格",
  22691. "type": "number"
  22692. },
  22693. "ordertime": {
  22694. "description": "委托时间",
  22695. "type": "string"
  22696. },
  22697. "tradedate": {
  22698. "description": "交易日(yyyyMMdd)",
  22699. "type": "string"
  22700. }
  22701. }
  22702. },
  22703. "user.LoginQueryRsp": {
  22704. "type": "object",
  22705. "properties": {
  22706. "externalExchanges": {
  22707. "description": "外部交易所",
  22708. "type": "array",
  22709. "items": {
  22710. "$ref": "#/definitions/models.Externalexchange"
  22711. }
  22712. },
  22713. "goodsgroups": {
  22714. "description": "商品组",
  22715. "type": "array",
  22716. "items": {
  22717. "$ref": "#/definitions/models.Goodsgroup"
  22718. }
  22719. },
  22720. "loginAccount": {
  22721. "description": "登录账号",
  22722. "type": "object",
  22723. "$ref": "#/definitions/models.Loginaccount"
  22724. },
  22725. "markets": {
  22726. "description": "市场",
  22727. "type": "array",
  22728. "items": {
  22729. "$ref": "#/definitions/models.Market"
  22730. }
  22731. },
  22732. "systemParams": {
  22733. "description": "系统参数",
  22734. "type": "array",
  22735. "items": {
  22736. "$ref": "#/definitions/models.Systemparam"
  22737. }
  22738. },
  22739. "userAccount": {
  22740. "description": "用户账号",
  22741. "type": "object",
  22742. "$ref": "#/definitions/models.Useraccount"
  22743. },
  22744. "userInfo": {
  22745. "description": "用户信息",
  22746. "type": "object",
  22747. "$ref": "#/definitions/models.Userinfo"
  22748. },
  22749. "username": {
  22750. "description": "用户姓名",
  22751. "type": "string"
  22752. }
  22753. }
  22754. }
  22755. },
  22756. "securityDefinitions": {
  22757. "ApiKeyAuth": {
  22758. "type": "apiKey",
  22759. "name": "Authorization",
  22760. "in": "header"
  22761. }
  22762. }
  22763. }`
  22764. type swaggerInfo struct {
  22765. Version string
  22766. Host string
  22767. BasePath string
  22768. Schemes []string
  22769. Title string
  22770. Description string
  22771. }
  22772. // SwaggerInfo holds exported Swagger Info so clients can modify it
  22773. var SwaggerInfo = swaggerInfo{
  22774. Version: "1.0",
  22775. Host: "",
  22776. BasePath: "/api",
  22777. Schemes: []string{},
  22778. Title: "MTP2.0 查询服务 API",
  22779. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  22780. }
  22781. type s struct{}
  22782. func (s *s) ReadDoc() string {
  22783. sInfo := SwaggerInfo
  22784. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  22785. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  22786. "marshal": func(v interface{}) string {
  22787. a, _ := json.Marshal(v)
  22788. return string(a)
  22789. },
  22790. }).Parse(doc)
  22791. if err != nil {
  22792. return doc
  22793. }
  22794. var tpl bytes.Buffer
  22795. if err := t.Execute(&tpl, sInfo); err != nil {
  22796. return doc
  22797. }
  22798. return tpl.String()
  22799. }
  22800. func init() {
  22801. swag.Register(swag.Name, &s{})
  22802. }